exports.id=1780,exports.ids=[1780],exports.modules={41780:(e,t,r)=>{"use strict";r.d(t,{Z:()=>y});var o=r(33339),n=r(2614),s=r(83982),a=r(29746),c=r(41325),i=r(27791),l=r.n(i),p=r(6133);let d={EmptyState:p.Z};var u=r(91716),f=r(20997);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){var o;o=r[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let useErrorState=()=>{let e=(0,o.useRouter)(),{query:{errorId:t,fromUrl:r},pathname:n,asPath:s}=e;return{errorId:t,fromUrl:r??s??n}},m=(0,u.B)("EmptyState",function({title:e,titleIcon:t,children:r,subtitle:o,errorState:i,showLoader:p=!1}){let{EmptyState:d}=(0,a.r3)(),{errorId:u,fromUrl:m}=useErrorState(),y=t?.icon?f.jsx(n.Z,{name:t?.icon,"aria-label":t?.alt,width:56,height:56,weight:"thin"}):d.props.titleIcon;return f.jsx(c.Z,{className:`${l().section} section-empty-state`,children:(0,f.jsxs)(d.Component,_objectSpread(_objectSpread({bkgColor:"light"},d.props),{},{title:e??d.props.title,titleIcon:y,children:[!!o&&f.jsx("h2",{children:o}),!!i?.errorId?.show&&f.jsx("p",{children:`${i?.errorId?.description} ${u}`}),!!i?.fromUrl?.show&&f.jsx("p",{children:`${i?.fromUrl?.description} ${m}`}),p&&f.jsx(s.Z,{}),r]}))})},d),y=m},27791:e=>{e.exports={section:"section_section__KG_b8",load:"section_load__DKeod"}},6133:(e,t,r)=>{"use strict";r.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var o=r(16689),n=r.n(o);let __WEBPACK_DEFAULT_EXPORT__=function({testId:e="fs-empty-state",title:t,titleIcon:r,variant:o="default",bkgColor:s="default",children:a,...c}){return n().createElement("section",{"data-fs-empty-state":!0,"data-fs-empty-state-variant":o,"data-fs-empty-state-bkg-color":s,"data-fs-content":"empty-state","data-testid":e,...c},t&&n().createElement("header",{"data-fs-empty-state-title":!0},r&&n().createElement(n().Fragment,null,r),n().createElement("p",null,t)),a)}}};