module.exports=[62701,a=>{"use strict";var b=a.i(87924),c=a.i(50944),d=a.i(96438),e=a.i(71133);a.s(["default",0,function({image:a="/images/error-state.svg",title:f="Something went wrong",description:g="We couldn't complete your request. Please try again or return to the home page.",buttonText:h="Return to Home",buttonHref:i="/",onClick:j,loading:k=!1,className:l,variant:m="page",retryText:n="Try again",onRetry:o}){let p=(0,c.usePathname)(),q="page"===m?p.includes("/admin")?"min-h-[calc(100vh-4rem)] lg:min-h-[calc(100vh-5rem)]":"pb-8 pt-36 md:pt-40 xl:pt-44 2xl:pt-48":"section"===m?"rounded-2xl glass-card-v2 px-6 py-10 md:px-8 md:py-12":"rounded-xl border border-[#E5DFFF] bg-white/70 px-4 py-5";return(0,b.jsx)("section",{className:`relative flex w-full items-center justify-center px-4 ${q} ${l??""}`,role:"status","aria-live":"polite",children:(0,b.jsxs)("div",{className:"mx-auto w-full max-w-2xl text-center",children:[(0,b.jsx)("div",{className:"mb-6 flex justify-center sm:mb-8",children:(0,b.jsx)(e.default,{src:a,alt:"","aria-hidden":"true",width:280,height:280,priority:"page"===m,className:`h-auto ${"page"===m?"w-40 sm:w-48 md:w-56 lg:w-64 xl:w-72":"w-24 sm:w-28 md:w-32"}`})}),(0,b.jsx)("h2",{className:`mt-4 font-heading font-medium capitalize leading-tight text-heading ${"page"===m?"text-2xl lg:text-3xl 2xl:text-4xl 2xl:leading-11":"section"===m?"text-xl md:text-2xl":"text-lg md:text-xl"}`,children:f}),(0,b.jsx)("p",{className:`mx-auto mt-4 text-text md:mt-5 ${"page"===m?"text-base sm:text-lg 2xl:text-lg 2xl:leading-7":"text-sm md:text-base"}`,children:g}),(o||h)&&(0,b.jsxs)("div",{className:"mt-8 flex flex-col justify-center gap-3 sm:flex-row",children:[o&&(0,b.jsx)(d.default,{onClick:o,loading:k,className:"w-full sm:w-auto",buttonClassName:"w-full min-w-0 sm:min-w-[180px]",children:n}),h&&(0,b.jsx)(d.default,{href:i,onClick:j,className:"w-full sm:w-auto",buttonClassName:"w-full min-w-0 sm:min-w-[180px]",children:h})]})]})})}])},61719,a=>{"use strict";var b=a.i(72131);let c={page:1,limit:10,searchQuery:"",sortBy:void 0,sortDirection:void 0};a.s(["useAppPagination",0,function({initialState:a}={}){let[d,e]=(0,b.useState)({...c,...a}),f=(0,b.useMemo)(()=>d.sortBy?[{id:d.sortBy,desc:"desc"===d.sortDirection}]:[],[d.sortBy,d.sortDirection]),g=(0,b.useCallback)(a=>{let b=a[0];e(a=>({...a,sortBy:b?.id,sortDirection:b?b.desc?"desc":"asc":void 0,page:1}))},[]);return{params:d,set:(a,b)=>{e(c=>({...c,[a]:b}))},patch:a=>{e(b=>({...b,...a}))},reset:()=>{e({...c,...a})},sortingConfig:(0,b.useMemo)(()=>({state:f,onChange:g}),[f,g])}}])},38939,a=>{"use strict";var b=a.i(87924);a.s(["HeadingToolbar",0,function({title:a,subTitle:c,titleClassName:d="",subTitleClassName:e=""}){return(0,b.jsxs)("div",{children:[a&&(0,b.jsx)("div",{className:`
            font-body text-base lg:text-lg xl:text-xl 2xl:text-2xl font-semibold xl:leading-8.5 text-heading
            ${d}
          `,children:a}),c&&(0,b.jsx)("p",{className:`
            2xl:mt-0.5 font-body text-sm 2xl:text-base font-normal text-text
            ${e}
          `,children:c})]})}])}];

//# sourceMappingURL=src_08ozyue._.js.map