"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),a=require("lucide-react"),c=require("../styles/EmptyRuleState.module.css.js");exports.default=function(i){var t=i.onCreate,n=i.title,l=i.desc,o=i.button,d=i.canCreateRule,u=i.noAccessTitle,r=void 0===u?"You don't have access":u,f=i.noAccessDesc,_=void 0===f?"Request access to create a Global scope for this application.":f,j=i.requestAccessButton,x=void 0===j?"Request Access":j,v=i.onRequestAccess,m=null!=d&&d,h=!m;return s.jsx("div",e.__assign({className:c.default.container},{children:s.jsxs("div",e.__assign({className:c.default.card},{children:[s.jsxs("div",e.__assign({className:c.default.iconContainer},{children:[s.jsxs("div",e.__assign({className:c.default.iconLines},{children:[s.jsx("div",{className:"".concat(c.default.iconLine," ").concat(c.default.iconLineLong)}),s.jsx("div",{className:"".concat(c.default.iconLine," ").concat(c.default.iconLineLong)}),s.jsx("div",{className:"".concat(c.default.iconLine," ").concat(c.default.iconLineShort)})]})),s.jsx("div",e.__assign({className:c.default.iconBadge},{children:s.jsx(a.Plus,{size:22})}))]})),s.jsx("h2",e.__assign({className:c.default.title},{children:h?r:n})),s.jsx("p",e.__assign({className:c.default.description},{children:h?_:l})),s.jsxs("button",e.__assign({onClick:h?v:t,className:c.default.createButton,disabled:!m&&!h},{children:[h?s.jsx(a.KeyRound,{size:16}):s.jsx(a.Plus,{size:16}),h?x:o]}))]}))}))};
//# sourceMappingURL=EmptyLearningState.js.map
