1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9278],{5441:(e,a,t)=>{"use strict";function s(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e)}t.d(a,{v:()=>s})},8634:(e,a,t)=>{"use strict";t.d(a,{P:()=>x,i:()=>g});var s=t(71346),n=t(61782),l=t(43118),i=t(90167),r=t(35075),o=t(73076),d=t(68121),c=t(91841),m=t(83707),u=t(19752),p=t(92850);function g(e){for(let a of x){if(a.id===e)return a.label;for(let t of a.subSkills)if(t.id===e)return t.label}return(e.includes(":")?e.split(":")[1]:e).replace(/_/g," ").replace(/\b\w/g,e=>e.toUpperCase())}let x=[{id:"office_and_admin",label:"Office and Admin",icon:(0,s.jsx)(n.A,{className:"w-3 h-3"}),subSkills:[{id:"office_and_admin:calendar_management",label:"Calendar Management"},{id:"office_and_admin:data_entry",label:"Data Entry"},{id:"office_and_admin:email_management",label:"Email Management"},{id:"office_and_admin:travel_booking",label:"Travel Booking"},{id:"office_and_admin:filing_and_organization",label:"Filing & Organization"},{id:"office_and_admin:meeting_coordination",label:"Meeting Coordination"},{id:"office_and_admin:document_preparation",label:"Document Preparation"},{id:"office_and_admin:inventory_management",label:"Inventory Management"}]},{id:"writing",label:"Writing",icon:(0,s.jsx)(l.A,{className:"w-3 h-3"}),subSkills:[{id:"writing:blog_writing",label:"Blog Writing"},{id:"writing:copywriting",label:"Copywriting"},{id:"writing:technical_writing",label:"Technical Writing"},{id:"writing:editing_and_proofreading",label:"Editing & Proofreading"},{id:"writing:content_strategy",label:"Content Strategy"},{id:"writing:ghostwriting",label:"Ghostwriting"},{id:"writing:seo_writing",label:"SEO Writing"},{id:"writing:grant_writing",label:"Grant Writing"}]},{id:"software_and_mobile_development",label:"Software and Mobile Development",icon:(0,s.jsx)(i.A,{className:"w-3 h-3"}),subSkills:[{id:"software_and_mobile_development:ios_development",label:"iOS Development"},{id:"software_and_mobile_development:android_development",label:"Android Development"},{id:"software_and_mobile_development:react_native",label:"React Native"},{id:"software_and_mobile_development:flutter",label:"Flutter"},{id:"software_and_mobile_development:swift",label:"Swift"},{id:"software_and_mobile_development:kotlin",label:"Kotlin"},{id:"software_and_mobile_development:mobile_ui_ux",label:"Mobile UI/UX"},{id:"software_and_mobile_development:app_testing",label:"App Testing"}]},{id:"web_development",label:"Web Development",icon:(0,s.jsx)(r.A,{className:"w-3 h-3"}),subSkills:[{id:"web_development:react",label:"React"},{id:"web_development:angular",label:"Angular"},{id:"web_development:vue_js",label:"Vue.js"},{id:"web_development:node_js",label:"Node.js"},{id:"web_development:php",label:"PHP"},{id:"web_development:python_django",label:"Python/Django"},{id:"web_development:ruby_on_rails",label:"Ruby on Rails"},{id:"web_development:wordpress",label:"WordPress"},{id:"web_development:html_css",label:"HTML/CSS"},{id:"web_development:typescript",label:"TypeScript"},{id:"web_development:next_js",label:"Next.js"},{id:"web_development:tailwind_css",label:"Tailwind CSS"}]},{id:"marketing_and_sales",label:"Marketing & Sales",icon:(0,s.jsx)(o.A,{className:"w-3 h-3"}),subSkills:[{id:"marketing_and_sales:social_media_marketing",label:"Social Media Marketing"},{id:"marketing_and_sales:seo_sem",label:"SEO/SEM"},{id:"marketing_and_sales:email_marketing",label:"Email Marketing"},{id:"marketing_and_sales:ppc_advertising",label:"PPC Advertising"},{id:"marketing_and_sales:content_marketing",label:"Content Marketing"},{id:"marketing_and_sales:lead_generation",label:"Lead Generation"},{id:"marketing_and_sales:crm_management",label:"CRM Management"},{id:"marketing_and_sales:market_research",label:"Market Research"}]},{id:"graphics_and_multimedia",label:"Graphics & Multimedia",icon:(0,s.jsx)(d.A,{className:"w-3 h-3"}),subSkills:[{id:"graphics_and_multimedia:graphic_design",label:"Graphic Design"},{id:"graphics_and_multimedia:video_editing",label:"Video Editing"},{id:"graphics_and_multimedia:animation",label:"Animation"},{id:"graphics_and_multimedia:ui_ux_design",label:"UI/UX Design"}
1,{id:"graphics_and_multimedia:photo_editing",label:"Photo Editing"},{id:"graphics_and_multimedia:illustration",label:"Illustration"},{id:"graphics_and_multimedia:brand_identity",label:"Brand Identity"},{id:"graphics_and_multimedia:3d_modeling",label:"3D Modeling"}]},{id:"professional_services",label:"Professional Services",icon:(0,s.jsx)(c.A,{className:"w-3 h-3"}),subSkills:[{id:"professional_services:legal_research",label:"Legal Research"},{id:"professional_services:accounting",label:"Accounting"},{id:"professional_services:bookkeeping",label:"Bookkeeping"},{id:"professional_services:hr_support",label:"HR Support"},{id:"professional_services:consulting",label:"Consulting"},{id:"professional_services:project_management",label:"Project Management"},{id:"professional_services:translation",label:"Translation"},{id:"professional_services:transcription",label:"Transcription"}]},{id:"e_commerce",label:"E-Commerce",icon:(0,s.jsx)(m.A,{className:"w-3 h-3"}),subSkills:[{id:"e_commerce:shopify_management",label:"Shopify Management"},{id:"e_commerce:amazon_fba",label:"Amazon FBA"},{id:"e_commerce:product_listing",label:"Product Listing"},{id:"e_commerce:order_management",label:"Order Management"},{id:"e_commerce:inventory_tracking",label:"Inventory Tracking"},{id:"e_commerce:dropshipping",label:"Dropshipping"},{id:"e_commerce:product_photography",label:"Product Photography"},{id:"e_commerce:pricing_strategy",label:"Pricing Strategy"}]},{id:"customer_service_and_admin_support",label:"Customer Service & Admin Support",icon:(0,s.jsx)(u.A,{className:"w-3 h-3"}),subSkills:[{id:"customer_service_and_admin_support:live_chat_support",label:"Live Chat Support"},{id:"customer_service_and_admin_support:phone_support",label:"Phone Support"},{id:"customer_service_and_admin_support:ticket_management",label:"Ticket Management"},{id:"customer_service_and_admin_support:knowledge_base",label:"Knowledge Base"},{id:"customer_service_and_admin_support:customer_onboarding",label:"Customer Onboarding"},{id:"customer_service_and_admin_support:complaint_resolution",label:"Complaint Resolution"},{id:"customer_service_and_admin_support:help_desk",label:"Help Desk"},{id:"customer_service_and_admin_support:social_media_support",label:"Social Media Support"}]},{id:"finance_and_management",label:"Finance & Management",icon:(0,s.jsx)(p.A,{className:"w-3 h-3"}),subSkills:[{id:"finance_and_management:financial_analysis",label:"Financial Analysis"},{id:"finance_and_management:budgeting",label:"Budgeting"},{id:"finance_and_management:payroll",label:"Payroll"},{id:"finance_and_management:tax_preparation",label:"Tax Preparation"},{id:"finance_and_management:invoicing",label:"Invoicing"},{id:"finance_and_management:financial_reporting",label:"Financial Reporting"},{id:"finance_and_management:expense_management",label:"Expense Management"},{id:"finance_and_management:audit_support",label:"Audit Support"}]}]},11524:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>B});var s=t(71346),n=t(34901),l=t(51303),i=t(9082),r=t(87967),o=t(35192),d=t(72588),c=t(31345),m=t(78049),u=t(54616),p=t(95994),g=t(94090),x=t(37814),h=t(42867),f=t(37138),b=t(54052),_=t(8634);function v(){var e,a,t,v,j,w,N;let y=(0,u.useRouter)(),k=(0,u.useSearchParams)(),S=(null===(e=k.get("jobTypes"))||void 0===e?void 0:e.split(","))||[],C=k.get("location")||"worldwide",A=null!==(v=k.get("minSalary"))&&void 0!==v?v:"",M=null!==(j=k.get("maxSalary"))&&void 0!==j?j:"",z=null!==(w=k.get("hoursFrom"))&&void 0!==w?w:"",F=null!==(N=k.get("hoursTo"))&&void 0!==N?N:"",L=(0,p.useCallback)((e,a)=>{let t=new URLSearchParams(k.toString());return a?t.set(e,a):t.delete(e),t.toString()},[k]),P=(e,a)=>{let t=new Set(S);a?t.add(e):t.delete(e);let s=Array.from(t).join(",");y.push("?".concat(L("jobTypes",s)))},T=e=>{y.push("?".concat(L("location",e)))},E=e=>a=>{y.push("?".concat(L(e,a.target.value)))},[D,B]=(0,p.useState)(!1),[R,W]=(0,p.useState)(""),[I,H]=(0,p.useState)([]),J=_.P.filter(e=>e.label.toLowerCase().includes(R.toLowerCase())),$=e=>{H([...I,e])},G=e=>{H(I.filter(a=>a!==e))};return(0,s.jsxs)(n.Zp,{className:"col-span-1 h-fit",children:[(0,s.jsxs)(n.aR,{className:"flex flex-row justify-between items-center",children:[(0,s.jsx)(n.ZB,{className:"text-2xl font-semibold",children:"Filters"}),(0,s.jsxs)(l.$,{variant:"destructive",size:"sm",className:"h-8",onClick:()=>{y.push("/workers")},children:[(0,s.jsx)("span",{className:"cursor-pointer",children:"Clear All"}),(0,s.jsx)(i.A,{className:"w-4 h-4"})]})]}),(0,s.jsx)(d.w,{}),(0,s.jsxs)(n.Wu,{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)(r.J,{className:"text-lg font-semibold",children:"Job Type"}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-4",children:["full-time","part-time","one-time"].map(e=>(0,s.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,s.jsx)(o.S,{defaultChecked:!0,id:e.toLowerCase(),checked:S.includes(e),onCheckedChange:a=>P(e,a)}),(0,s.jsx)(r.J,{className:"textsm font-medium",htmlFor:e,children:e})]},e))})]}),(0,s.jsx)(d.w,{}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)(r.J,{className:"text-lg font-semibold",children:"Location"}),(0,s.jsxs)(x.AM,{children:[(0,s.jsx)(x.Wv,{asChild:!0,children:(0,s.jsxs)(l.$,{variant:"outline",role:"combobox",className:"w-full justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{children:"worldwide"===C?"\uD83C\uDF0D":null===(a=c.H.find(e=>e.name===C))||void 0===a?void 0:a.flagEmoji}),(0,s.jsx)("span",{children:"worldwide"===C?"Worldwide":null===(t=c.H.find(e=>e.name===C))||void 0===t?void 0:t.name})]}),(0,s.jsx)(h.A,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),(0,s.jsx)(x.hl,{className:"min-w-[var(--radix-popover-trigger-width)] p-0",children:(0,s.jsxs)(g.uB,{className:"w-full",children:[(0,s.jsx)(g.G7,{placeholder:"Search location..."}),(0,s.jsxs)(g.oI,{className:"w-full",children:[(0,s.jsx)(g.xL,{children:"No location found."}),(0,s.jsx)(g.L$,{className:"w-full",children:(0,s.jsxs)(g.h_,{value:"worldwide",onSelect:()=>T("worldwide"),children:[(0,s.jsx)(f.A,{className:(0,b.cn)("mr-2 h-4 w-4","worldwide"===C?"opacity-100":"opacity-0")}),(0,s.jsx)("span",{children:"\uD83C\uDF0D"}),(0,s.jsx)("span",{className:"pl-2",children:"Worldwide"})]})}),(0,s.jsx)(g.fx,{}),(0,s.jsx)(g.L$,{className:"w-full",children:c.H.map(e=>(0,s.jsxs)(g.h_,{value:e.name,onSelect:()=>T(e.name),children:[(0,s.jsx)(f.A,{className:(0,b.cn)("mr-2 h-4 w-4",C===e.name?"opacity-100":"opacity-0")}),(0,s.jsx)("span",{children:e.flagEmoji}),(0,s.jsx)("span",{className:"pl-2",children:e.name})]},e.code))})]})]})})]})]}),(0,s.jsx)(d.w,{}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)(r.J,{className:"text-lg font-semibold",children:"Hourly salary"}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(r.J,{htmlFor:"minSalary",children:"Min Salary"}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("span",{className:"flex items-center justify-center px-3 border border-r-0 border-input rounded-l-md bg-muted text-muted-foreground text-sm",children:"$"}),(0,s.jsx)(m.p,{id:"minSalary",type:"number",placeholder:"0",value:A,onChange:E("minSalary"),className:"rounded-l-none w-full"})]})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(r.J,{htmlFor:"maxSalary",children:"Max Salary"}),(0,s.jsxs)("div",{className:"flex",children:[(0,s.jsx)("span",{className:"flex items-center justify-center px-3 border border-r-0 border-input rounded-l-md bg-muted text-muted-foreground text-sm",children:"$"}),(0,s.jsx)(m.p,{id:"maxSalary",type:"number",placeholder:"100",value:M,onChange:E("maxSalary"),className:"rounded-l-none w-full"})]})]})]})]}),(0,s.jsx)(d.w,{}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)(r.J,{className:"text-lg font-semibold",children:"Hours per day"}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(r.J,{htmlFor:"hoursFrom",children:"Min Hours"}),(0,s.jsx)(m.p,{id:"hoursFrom",type:"number",placeholder:"0",value:z,onChange:E("hoursFrom"),className:"w-full"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(r.J,{htmlFor:"hoursTo",children:"Max Hours"}),(0,s.jsx)(m.p,{id:"hoursTo",type:"number",placeholder:"12",value:F,onChange:E("hoursTo"),className:"w-full"})]})]})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)(r.J,{className:"text-lg font-semibold",children:"Skills"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"flex flex-wrap gap-2 mb-2",children:I.map(e=>{var a,t;let n=_.P.find(a=>a.id===e);return(0,s.jsxs)("span",{className:"inline-flex items-center px-2 py-1 rounded bg-muted text-sm font-medium",children:[null!==(a=null==n?void 0:n.label)&&void 0!==a?a:e,(0,s.jsx)("button",{type:"button",className:"ml-1 text-muted-foreground hover:text-destructive",onClick:()=>G(e),"aria-label":"Remove ".concat(null!==(t=null==n?void 0:n.label)&&void 0!==t?t:e),children:"\xd7"})]},e)})}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsxs)(x.AM,{open:D,onOpenChange:B,children:[(0,s.jsx)(x.Wv,{asChild:!0,children:(0,s.jsxs)(l.$,{variant:"outline",role:"combobox",className:"w-full justify-between",children:["Select skills",(0,s.jsx)(h.A,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"})]})}),(0,s.jsx)(x.hl,{className:"w-full p-0",children:(0,s.jsxs)(g.uB,{children:[(0,s.jsx)(g.G7,{placeholder:"Search skills...",value:R,onValueChange:W}),(0,s.jsx)(g.xL,{children:"No skills found."}),(0,s.jsx)(g.L$,{className:"max-h-48 overflow-auto",children:J.map(e=>(0,s.jsxs)(g.h_,{onSelect:()=>{$(e.id),B(!1)},children:[(0,s.jsx)(f.A,{className:(0,b.cn)("mr-2 h-4 w-4",I.includes(e.id)?"opacity-100":"opacity-0")}),e.label]},e.id))})]})})]})})]})]})]})]})}var j=t(44438),w=t(63833),N=t(41899),y=t(40391),k=t.n(y),S=t(64160),C=t(86170),A=t(72675),M=t(85560),z=t(5441);let F=e=>{let{id:a,createdAt:t,name:l,title:i,about:r,image:o,employmentType:d,location:c,salary:m}=e;return(0,s.jsx)(k(),{href:"/worker/".concat(a),children:(0,s.jsx)(n.Zp,{className:"hover:shadow-lg transition-all duration-300 hover:border-primary relative",children:(0,s.jsxs)(n.aR,{children:[(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-4",children:[o?(0,s.jsx)(A.default,{src:o,alt:l,width:48,height:48,className:"size-12 rounded-lg object-cover"}):(0,s.jsx)("div",{className:"bg-red-500 size-12 rounded-lg flex items-center justify-center",children:(0,s.jsx)(S.A,{className:"size-6 text-white"})}),(0,s.jsxs)("div",{className:"flex flex-col flex-grow",children:[(0,s.jsx)("h1",{className:"text-xl md:text-2xl font-bold",children:i}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,s.jsx)("span",{className:"hidden md:inline text-muted-foreground",children:"â¢"}),(0,s.jsx)(M.E,{className:"rounded-full",variant:"secondary",children:d}),(0,s.jsx)("span",{className:"hidden md:inline text-muted-foreground",children:"â¢"}),(0,s.jsx)(M.E,{className:"rounded-full",children:c}),(0,s.jsx)("span",{className:"hidden md:inline text-muted-foreground",children:"â¢"}),(0,s.jsxs)("p",{className:"text-sm text-muted-foreground",children:[(0,z.v)(m),"/hr"]})]})]}),(0,s.jsxs)("div",{className:"md:ml-auto",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(C.A,{className:"size-4"}),(0,s.jsx)("h1",{className:"text-base md:text-lg font-semibold whitespace-nowrap",children:c})]}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground md:text-right"})]})]}),(0,s.jsx)("div",{className:"!mt-5",children:(0,s.jsx)("p",{className:"text-base text-muted-foreground line-clamp-2",children:r})})]})})})};var L=t(5752),P=t(64803),T=t(48763);function E(e){let{jobTypes:a,location:t,minSalary:n,maxSalary:i,hoursFrom:r,hoursTo:o,search:d}=e,c=(0,P.y3)(T.FH.workers.searchWorkers),[m,u]=(0,p.useState)(null),[g,x]=(0,p.useState)(!1),h=!!d.trim(),{results:f,status:b,loadMore:_}=(0,P.fz)(T.FH.workers.getPaginated,h?"skip":{jobTypes:a,location:t,minSalary:n,maxSalary:i,hoursFrom:r,hoursTo:o,search:d},{initialNumItems:7});if((0,p.useEffect)(()=>{let e=!1;return async function(){if(!h){u(null),x(!1);return}x(!0);try{let s=await c({paginationOpts:{numItems:7,cursor:null},jobTypes:a,location:t,minSalary:n,maxSalary:i,hoursFrom:r,hoursTo:o,search:d});e||u(s)}catch(e){console.error("Search error:",e)}finally{e||x(!1)}}(),()=>{e=!0}},[d,a,t,n,i,r,o,c,h]),h&&g||!h&&"LoadingFirstPage"===b)return(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)(L.A,{className:"animate-spin"})});let v=h?null==m?void 0:m.page:f;return v&&0!==v.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flex flex-col gap-6",children:v.map(e=>(0,s.jsx)(F,{id:e._id,createdAt:new Date(e._creationTime),title:e.title||"",image:e.image||"",...e},e._id))}),!h&&"CanLoadMore"===b&&(0,s.jsx)("div",{className:"flex justify-center mt-6",children:(0,s.jsx)(l.$,{variant:"outline",onClick:()=>_(7),children:"Load More"})})]}):(0,s.jsx)(N.p,{title:"No workers found",description:"Try searching for a different worker or location",buttonText:"Clear all filters",href:"/"})}var D=t(38098);let B=()=>{var e,a;let t=(0,u.useSearchParams)(),n=(0,u.useRouter)(),{data:i}=(0,D.W)(),o=Number(t.get("page"))||1,d=(null===(e=t.get("jobTypes"))||void 0===e?void 0:e.split(","))||[],c=t.get("location")||"worldwide",g=Number(t.get("minSalary"))||0,x=Number(t.get("maxSalary"))||100,h=Number(t.get("hoursFrom"))||0,f=Number(t.get("hoursTo"))||12,b=t.get("search")||"";"page=".concat(o,";types=").concat(d.join(","),";location=").concat(c,";minSalary=").concat(g,";maxSalary=").concat(x,";hoursFrom=").concat(h,";hoursTo=").concat(f,";search=").concat(b);let _=(0,p.useCallback)((e,a)=>{let s=new URLSearchParams(t.toString());return a?s.set(e,a):s.delete(e),s.toString()},[t]);return(0,s.jsx)("div",{className:"max-w-6xl mx-auto py-16 sm:px-10 px-5",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8 w-full",children:[(0,s.jsx)("div",{className:"col-span-1",children:(0,s.jsx)(v,{})}),(0,s.jsxs)("div",{className:"col-span-1 lg:col-span-2 w-full flex flex-col gap-6",children:[(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault();let a=new FormData(e.currentTarget).get("search");n.push("?".concat(_("search",a)))},className:"flex items-center gap-2",children:[(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)(r.J,{htmlFor:"search",className:"sr-only",children:"Search"}),(0,s.jsx)(m.p,{id:"search",name:"search",placeholder:"Search for a
1worker",className:"h-8 pl-7",defaultValue:b}),(0,s.jsx)(j.A,{className:"pointer-events-none absolute top-1/2 left-2 size-4 -translate-y-1/2 opacity-50 select-none"})]}),(0,s.jsx)(l.$,{size:"sm",className:"h-8",children:"Search"})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsx)(l.$,{asChild:!0,className:"w-fit",children:(0,s.jsxs)(k(),{href:"/workspace/".concat(null==i?void 0:null===(a=i[0])||void 0===a?void 0:a._id,"/post-job"),children:[(0,s.jsx)(w.A,{className:"size-4 mr-2"}),"Create a job post"]})}),(0,s.jsx)(E,{currentPage:o,jobTypes:d,location:c,minSalary:g,maxSalary:x,hoursFrom:h,hoursTo:f,search:b})]})]})]})})}},34901:(e,a,t)=>{"use strict";t.d(a,{BT:()=>o,Wu:()=>d,ZB:()=>r,Zp:()=>l,aR:()=>i,wL:()=>c});var s=t(71346);t(95994);var n=t(54052);function l(e){let{className:a,...t}=e;return(0,s.jsx)("div",{"data-slot":"card",className:(0,n.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",a),...t})}function i(e){let{className:a,...t}=e;return(0,s.jsx)("div",{"data-slot":"card-header",className:(0,n.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a),...t})}function r(e){let{className:a,...t}=e;return(0,s.jsx)("div",{"data-slot":"card-title",className:(0,n.cn)("leading-none font-semibold",a),...t})}function o(e){let{className:a,...t}=e;return(0,s.jsx)("div",{"data-slot":"card-description",className:(0,n.cn)("text-muted-foreground text-sm",a),...t})}function d(e){let{className:a,...t}=e;return(0,s.jsx)("div",{"data-slot":"card-content",className:(0,n.cn)("px-6",a),...t})}function c(e){let{className:a,...t}=e;return(0,s.jsx)("div",{"data-slot":"card-footer",className:(0,n.cn)("flex items-center px-6 [.border-t]:pt-6",a),...t})}},35192:(e,a,t)=>{"use strict";t.d(a,{S:()=>r});var s=t(71346);t(95994);var n=t(35453),l=t(37138),i=t(54052);function r(e){let{className:a,...t}=e;return(0,s.jsx)(n.bL,{"data-slot":"checkbox",className:(0,i.cn)("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",a),...t,children:(0,s.jsx)(n.C1,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:(0,s.jsx)(l.A,{className:"size-3.5"})})})}},35431:(e,a,t)=>{Promise.resolve().then(t.bind(t,11524))},37814:(e,a,t)=>{"use strict";t.d(a,{AM:()=>i,Wv:()=>r,hl:()=>o});var s=t(71346);t(95994);var n=t(74652),l=t(54052);function i(e){let{...a}=e;return(0,s.jsx)(n.bL,{"data-slot":"popover",...a})}function r(e){let{...a}=e;return(0,s.jsx)(n.l9,{"data-slot":"popover-trigger",...a})}function o(e){let{className:a,align:t="center",sideOffset:i=4,...r}=e;return(0,s.jsx)(n.ZL,{children:(0,s.jsx)(n.UC,{"data-slot":"popover-content",align:t,sideOffset:i,className:(0,l.cn)("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 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",a),...r})})}},38098:(e,a,t)=>{"use strict";t.d(a,{W:()=>l});var s=t(64803),n=t(48763);let l=()=>{let e=(0,s.IT)(n.FH.workspaces.get);return{data:e,isLoading:void 0===e}}},41899:(e,a,t)=>{"use strict";t.d(a,{p:()=>d});var s=t(71346),n=t(51303),l=t(88087),i=t(63833),r=t(40391),o=t.n(r);function d(e){let{buttonText:a,description:t,href:r,title:d}=e;return(0,s.jsxs)("div",{className:"flex flex-col flex-1 h-full items-center justify-center rounded-md border border-dashed p-8 text-center animate-in fade-in-50",children:[(0,s.jsx)("div",{className:"flex size-20 items-center justify-center rounded-full bg-primary/10",children:(0,s.jsx)(l.A,{className:"size-10 text-primary"})}),(0,s.jsx)("h2",{className:"mt-6 text-xl font-semibold text-accent-foreground",children:d}),(0,s.jsx)("p",{className:"mb-8 mt-2 text-center text-sm leading-tight text-muted-foreground max-w-sm mx-auto",children:t}),(0,s.jsx)(n.$,{asChild:!0,children:(0,s.jsxs)(o(),{href:r,children:[(0,s.jsx)(i.A,{className:"size-4 mr-2"}),a]})})]})}},72588:(e,a,t)=>{"use strict";t.d(a,{w:()=>i});var s=t(71346);t(95994);var n=t(8971),l=t(54052);function i(e){let{className:a,orientation:t="horizontal",decorative:i=!0,...r}=e;return(0,s.jsx)(n.b,{"data-slot":"separator-root",decorative:i,orientation:t,className:(0,l.cn)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",a),...r})}},78049:(e,a,t)=>{"use strict";t.d(a,{p:()=>i});var s=t(71346),n=t(95994),l=t(54052);let i=n.forwardRef((e,a)=>{let{className:t,type:n,...i}=e;return(0,s.jsx)("input",{type:n,className:(0,l.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...i})});i.displayName="Input"},85560:(e,a,t)=>{"use strict";t.d(a,{E:()=>o});var s=t(71346);t(95994);var n=t(74164),l=t(282),i=t(54052);let r=(0,l.F)("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-hidden",{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 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",todo:"border-transparent bg-red-400 text-black hover:bg-red-400/80",in_progress:"border-transparent bg-yellow-400 text-black hover:bg-yellow-400/80",in_review:"border-transparent bg-blue-400 text-black hover:bg-blue-400/80",done:"border-transparent bg-emerald-400 text-black hover:bg-emerald-400/80",backlog:"border-transparent bg-pink-400 text-black hover:bg-pink-400/80"}},defaultVariants:{variant:"default"}});function o(e){let{className:a,variant:t,asChild:l=!1,...o}=e,d=l?n.DX:"span";return(0,s.jsx)(d,{"data-slot":"badge",className:(0,i.cn)(r({variant:t}),a),...o})}},87967:(e,a,t)=>{"use strict";t.d(a,{J:()=>d});var s=t(71346),n=t(95994),l=t(67689),i=t(282),r=t(54052);let o=(0,i.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=n.forwardRef((e,a)=>{let{className:t,...n}=e;return(0,s.jsx)(l.b,{ref:a,className:(0,r.cn)(o(),t),...n})});d.displayName=l.b.displayName},88635:(e,a,t)=>{"use strict";t.d(a,{Cf:()=>u,Es:()=>g,HM:()=>c,L3:()=>x,c7:()=>p,lG:()=>r,rr:()=>h,zM:()=>o});var s=t(71346);t(95994);var n=t(62762),l=t(9082),i=t(54052);function r(e){let{...a}=e;return(0,s.jsx)(n.bL,{"data-slot":"dialog",...a})}function o(e){let{...a}=e;return(0,s.jsx)(n.l9,{"data-slot":"dialog-trigger",...a})}function d(e){let{...a}=e;return(0,s.jsx)(n.ZL,{"data-slot":"dialog-portal",...a})}function c(e){let{...a}=e;return(0,s.jsx)(n.bm,{"data-slot":"dialog-close",...a})}function m(e){let{className:a,...t}=e;return(0,s.jsx)(n.hJ,{"data-slot":"dialog-overlay",className:(0,i.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",a),...t})}function u(e){let{className:a,children:t,hideClose:r=!1,...o}=e;return(0,s.jsxs)(d,{"data-slot":"dialog-portal",children:[(0,s.jsx)(m,{}),(0,s.jsxs)(n.UC,{"data-slot":"dialog-content",className:(0,i.cn)("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",a),...o,children:[t,!r&&(0,s.jsxs)(n.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,s.jsx)(l.A,{}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function p(e){let{className:a,...t}=e;return(0,s.jsx)("div",{"data-slot":"dialog-header",className:(0,i.cn)("flex flex-col gap-2 text-center sm:text-left",a),...t})}function g(e){let{className:a,...t}=e;return(0,s.jsx)("div",{"data-slot":"dialog-footer",className:(0,i.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...t})}function x(e){let{className:a,...t}=e;return(0,s.jsx)(n.hE,{"data-slot":"dialog-title",className:(0,i.cn)("text-lg leading-none font-semibold",a),...t})}function h(e){let{className:a,...t}=e;return(0,s.jsx)(n.VY,{"data-slot":"dialog-description",className:(0,i.cn)("text-muted-foreground text-sm",a),...t})}},94090:(e,a,t)=>{"use strict";t.d(a,{G7:()=>c,Gj:()=>d,L$:()=>p,fx:()=>g,h_:()=>x,oI:()=>m,uB:()=>o,xL:()=>u});var s=t(71346);t(95994);var n=t(12012),l=t(44438),i=t(54052),r=t(88635);function o(e){let{className:a,...t}=e;return(0,s.jsx)(n.uB,{"data-slot":"command",className:(0,i.cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",a),...t})}function d(e){let{title:a="Command Palette",description:t="Search for a command to run...",children:n,...l}=e;return(0,s.jsxs)(r.lG,{...l,children:[(0,s.jsxs)(r.c7,{className:"sr-only",children:[(0,s.jsx)(r.L3,{children:a}),(0,s.jsx)(r.rr,{children:t})]}),(0,s.jsx)(r.Cf,{className:"overflow-hidden p-0",children:(0,s.jsx)(o,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:n})})]})}function c(e){let{className:a,...t}=e;return(0,s.jsxs)("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[(0,s.jsx)(l.A,{className:"size-4 shrink-0 opacity-50"}),(0,s.jsx)(n.uB.Input,{"data-slot":"command-input",className:(0,i.cn)("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",a),...t})]})}function m(e){let{className:a,...t}=e;return(0,s.jsx)(n.uB.List,{"data-slot":"command-list",className:(0,i.cn)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",a),...t})}function u(e){let{...a}=e;return(0,s.jsx)(n.uB.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...a})}function p(e){let{className:a,...t}=e;return(0,s.jsx)(n.uB.Group,{"data-slot":"command-group",className:(0,i.cn)("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",a),...t})}function g(e){let{className:a,...t}=e;return(0,s.jsx)(n.uB.Separator,{"data-slot":"command-separator",className:(0,i.cn)("bg-border -mx-1 h-px",a),...t})}function x(e){let{className:a,...t}=e;return(0,s.jsx)(n.uB.Item,{"data-slot":"command-item",className:(0,i.cn)("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),...t})}}},e=>{var a=a=>e(e.s=a);e.O(0,[150,1614,7684,2315,391,151,6720,4829,3023,6020,293,2832,7577,7358],()=>a(35431)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.