@bluealba/pae-ui-react-core 4.0.1-feature-add-documentation-templat-1205 → 4.0.1-feature-add-documentation-templat-1206
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.systemjs.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/src/hooks/applications/useApplicationMenu.d.ts +1 -3
- package/dist/src/hooks/applications/useModuleMenu.d.ts +11 -0
- package/dist/src/hooks/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/src/hooks/applications/useApplicationMenuWithDocumentation.d.ts +0 -9
package/dist/index.cjs.js
CHANGED
|
@@ -274,4 +274,4 @@ to {
|
|
|
274
274
|
|
|
275
275
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
276
276
|
|
|
277
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return m.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},uv="DialogDescriptionWarning",dv=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${au(uv).contentName}}.`;return m.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},fv=Ql,hv=Zl,pv=Xl,mv=Jl,gv=tu,yv=ru,vv=su;const bv="Overlay__M5Z83",wv="Content__wAkP4",pa={Overlay:bv,Content:wv},Cv="Header__VHxNf",xv="Content__I04qM",Ev="Close__xSN-7",Sv="Title__Dznh6",_v="Footer__-8gzQ",Rv="Actions__kKF2Q",Ut={Header:Cv,Content:xv,Close:Ev,Title:Sv,Footer:_v,Actions:Rv},cu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Header,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});cu.displayName="Header";const lu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Content,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});lu.displayName="Content";const uu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Footer,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});uu.displayName="Footer";const du=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Title,t);return l.jsx(gv,{ref:r,className:o,...n,children:e})});du.displayName="Title";const fu=_.forwardRef(({className:e,...t},n)=>{const r=D(Ut.Close,e);return l.jsx(vv,{ref:n,asChild:!0,className:r,...t,children:l.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:l.jsx("path",{d:"M11 1L1 11M1 1L11 11",stroke:"#A9A9A9",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})});fu.displayName="Close";const hu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Actions,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});hu.displayName="Actions";const pu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Description,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});pu.displayName="Description";const ie=({children:e,onClose:t,open:n=!1,className:r})=>{const o=()=>{t==null||t()};return l.jsx(fv,{onOpenChange:o,open:n,children:l.jsxs(hv,{children:[l.jsx(pv,{className:pa.Overlay}),l.jsxs(mv,{children:[l.jsx(yv,{}),l.jsx("div",{className:D(pa.Content,r),children:e})]})]})})};ie.displayName="Dialog";ie.Header=cu;ie.Content=lu;ie.Footer=uu;ie.Actions=hu;ie.Title=du;ie.Description=pu;ie.Close=fu;const Tv="pill__vtGwB",Av="pill--solid__F-mR4",Pv="pill--outline__gC-mh",ma={pill:Tv,"pill--solid":"pill--solid__F-mR4",pillSolid:Av,"pill--outline":"pill--outline__gC-mh",pillOutline:Pv},Ov=({children:e,variant:t="solid",className:n})=>{const r=D(ma.pill,ma[`pill--${t}`],n);return l.jsx("div",{className:r,children:e})},jv="DialogContent__-WjG9",Dv="Message__AUgVP",ga={DialogContent:jv,Message:Dv},mu=({loading:e,title:t,children:n,className:r,onClose:o,onConfirm:s,...i})=>l.jsxs(ie,{...i,className:D(ga.DialogContent,r),children:[l.jsxs(ie.Header,{children:[l.jsx(ie.Title,{children:t}),l.jsx(ie.Close,{onClick:o})]}),l.jsx(ie.Content,{children:typeof n=="string"?l.jsx("p",{className:ga.Message,children:n}):n}),l.jsx(ie.Footer,{children:l.jsxs(ie.Actions,{children:[l.jsx(jr,{onClick:o,disabled:e,variant:"outlined",children:"Cancel"}),l.jsx(jr,{onClick:s,disabled:e,loading:e,variant:"contained",children:"Confirm"})]})})]});mu.displayName="ConfirmDialog";const kv="container__AjtYJ",Lv="title__A2vCu",Iv="description__bP6Ig",Nv="mailToText__SdlsE",pr={container:kv,title:Lv,description:Iv,mailToText:Nv},gu=()=>l.jsxs("svg",{width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("path",{d:"M184.415 152.221C183.936 151.406 183.401 150.621 182.892 149.824C181.61 147.817 180.327 145.809 179.045 143.801C177.102 140.759 175.159 137.717 173.215 134.676C170.766 130.841 168.316 127.006 165.866 123.171C163.068 118.79 160.27 114.41 157.472 110.03C154.484 105.352 151.496 100.674 148.508 95.9965C145.474 91.2464 142.439 86.4963 139.405 81.7463C136.513 77.2189 133.621 72.6915 130.729 68.1641C128.123 64.084 125.517 60.0039 122.91 55.9238C120.748 52.5389 118.586 49.1541 116.424 45.7692C114.864 43.3273 113.304 40.8854 111.744 38.4436C110.943 37.1899 110.142 35.9362 109.342 34.6825C108.765 33.7802 108.096 32.9744 107.292 32.2572C104.604 29.8584 100.572 29.2302 97.2301 30.5252C94.5951 31.5463 92.6177 33.3853 91.0923 35.7373C90.8768 36.0696 90.6658 36.405 90.4526 36.7387C89.3951 38.3941 88.3378 40.0494 87.2803 41.7049C85.5124 44.4725 83.7444 47.2402 81.9765 50.0079C79.644 53.6594 77.3114 57.3111 74.9788 60.9626C72.2632 65.2138 69.5477 69.465 66.8321 73.7162C63.8817 78.3349 60.9313 82.9536 57.9811 87.5722C54.9542 92.3106 51.9274 97.0491 48.9006 101.787C45.9557 106.398 43.0107 111.008 40.0658 115.618C37.3487 119.872 34.6316 124.125 31.9145 128.379C29.6106 131.986 27.3067 135.592 25.0028 139.199C23.2565 141.933 21.5101 144.667 19.7639 147.4C18.7335 149.013 17.7031 150.626 16.6728 152.239C14.8665 155.067 13.7231 158.171 14.23 161.595C14.9672 166.576 19.2366 170.131 24.2215 170.137C25.559 170.139 26.8963 170.137 28.2338 170.137C30.9198 170.137 33.6058 170.137 36.2918 170.137C40.0725 170.137 43.8533 170.137 47.6341 170.137C52.2557 170.137 56.8772 170.137 61.4989 170.137C66.7339 170.137 71.969 170.137 77.204 170.137C82.7467 170.137 88.2894 170.137 93.8322 170.137C99.4529 170.137 105.074 170.137 110.694 170.137C116.139 170.137 121.584 170.137 127.029 170.137C132.044 170.137 137.06 170.137 142.075 170.137C146.425 170.137 150.776 170.137 155.127 170.137C158.516 170.137 161.904 170.137 165.293 170.137C167.49 170.137 169.686 170.137 171.883 170.137C172.633 170.137 173.384 170.137 174.135 170.137C178.404 170.087 182.136 167.627 184.212 163.932C186.248 160.307 186.562 155.866 184.415 152.221ZM94.0937 37.3471C94.0897 37.3539 94.0862 37.3597 94.0824 37.3661C94.0826 37.3652 94.0831 37.3642 94.0833 37.3632C94.0844 37.3581 94.0909 37.3518 94.0937 37.3471ZM178.584 164.489C178.476 164.538 178.524 164.516 178.584 164.489V164.489ZM180.937 162.79C180.979 162.72 181.118 162.485 181.127 162.498C181.145 162.528 181.058 162.647 180.937 162.79ZM181.821 160.333C181.806 160.446 181.782 160.646 181.773 160.697C181.736 160.919 181.686 161.139 181.637 161.359C181.637 161.359 181.637 161.359 181.637 161.359C181.629 161.377 181.621 161.399 181.61 161.426C181.54 161.604 181.472 161.785 181.406 161.965C181.402 161.977 181.398 161.988 181.394 161.999C181.304 162.16 181.219 162.323 181.123 162.481C181.074 162.562 181.016 162.641 180.97 162.724C180.949 162.762 180.936 162.785 180.93 162.798C180.727 163.035 180.436 163.332 180.388 163.385C180.696 163.049 180.535 163.229 180.318 163.42C180.172 163.548 180.018 163.666 179.869 163.79C179.848 163.807 179.831 163.822 179.816 163.835C179.797 163.845 179.775 163.857 179.747 163.873C179.576 163.97 179.411 164.078 179.238 164.171C179.043 164.277 178.844 164.373 178.642 164.463C178.556 164.494 178.471 164.526 178.384 164.553C177.532 164.819 176.835 164.945 176.084 164.954C175.296 164.954 174.508 164.954 173.719 164.954C171.519 164.954 169.318 164.954 167.118 164.954C163.751 164.954 160.385 164.954 157.019 164.954C152.756 164.954 148.493 164.954 144.231 164.954C139.275 164.954 134.319 164.954 129.364 164.954C123.981 164.954 118.598 164.954 113.215 164.954C107.651 164.954 102.086 164.954 96.5224 164.954C91.024 164.954 85.5255 164.954 80.0271 164.954C74.8407 164.954 69.6543 164.954 64.4679 164.954C59.8401 164.954 55.2123 164.954 50.5846 164.954C46.7784 164.954 42.9721 164.954 39.166 164.954C36.3891 164.954 33.6122 164.954 30.8354 164.954C29.3555 164.954 27.8756 164.954 26.3957 164.954C25.9641 164.954 25.534 164.958 25.1029 164.922C23.4511 164.785 22.11 164.207 20.7626 163.127C20.3445 162.792 19.7301 162.074 19.3142 161.434C19.2096 161.273 19.1102 161.109 19.0161 160.942C18.9707 160.861 18.8013 160.534 18.8105 160.558C18.7451 160.414 18.5329 159.846 18.4422 159.537C18.3467 159.211 18.2692 158.879 18.2129 158.544C18.2174 158.545 18.1876 158.285 18.1815 158.192C18.1669 157.964 18.1617 157.736 18.1651 157.508C18.166 157.455 18.1793 157.245 18.185 157.131C18.2055 157.005 18.2441 156.74 18.2591 156.662C18.2913 156.493 18.3319 156.326 18.3726 156.16C18.2821 156.539 18.4099 156.072 18.4891 155.866C18.518 155.79 18.6652 155.487 18.6846 155.432C18.7383 155.339 18.7932 155.243 18.8125 155.21C18.8692 155.114 18.9282 155.019 18.9875 154.924C19.0003 154.904 19.0137 154.884 19.0265 154.863C19.2211 154.554 19.4201 154.247 19.617 153.939C20.6335 152.348 21.6501 150.756 22.6667 149.165C24.3869 146.472 26.107 143.779 27.8271 141.086C30.0848 137.552 32.3425 134.017 34.6001 130.483C37.2646 126.312 39.9291 122.141 42.5935 117.97C45.5011 113.418 48.4086 108.866 51.3161 104.315C54.3131 99.6229 57.31 94.9312 60.3069 90.2397C63.2394 85.6489 66.172 81.058 69.1045 76.4672C71.819 72.2178 74.5334 67.9683 77.2479 63.719C79.5904 60.0517 81.9331 56.3844 84.2756 52.7172C86.0852 49.8842 87.8948 47.0513 89.7044 44.2184C90.8459 42.4315 91.9873 40.6446 93.1287 38.8578C93.3976 38.4368 93.6701 38.0178 93.9356 37.5945C93.9507 37.5705 93.9737 37.5416 93.9972 37.511C93.8744 37.7231 94.1597 37.2638 94.301 37.0921C94.4017 36.9695 94.5483 36.8114 94.5423 36.8113C94.6372 36.721 94.7333 36.6319 94.8323 36.546C94.9866 36.4121 95.1478 36.2876 95.3084 36.1615C94.9392 36.4513 95.3917 36.1121 95.5441 36.0212C96.7591 35.2961 98.1095 34.9498 99.7068 35.0725C101.356 35.1993 102.702 35.7434 104.07 36.8307C104.685 37.3192 105.311 38.1542 105.817 38.9457C106.592 40.1592 107.367 41.3727 108.142 42.5862C109.667 44.9733 111.192 47.3605 112.717 49.7476C114.838 53.0679 116.959 56.3881 119.08 59.7083C121.629 63.6999 124.179 67.6913 126.729 71.6829C129.579 76.1455 132.43 80.6082 135.281 85.0709C138.267 89.7458 141.253 94.4206 144.239 99.0955C147.207 103.742 150.176 108.388 153.144 113.035C155.94 117.412 158.736 121.789 161.532 126.167C164.002 130.034 166.473 133.902 168.943 137.769C170.935 140.886 172.926 144.003 174.917 147.12C176.27 149.239 177.623 151.357 178.976 153.475C179.551 154.376 180.134 155.272 180.702 156.177C181.138 156.872 181.311 157.219 181.54 157.972C181.6 158.167 181.652 158.363 181.697 158.561C181.711 158.623 181.759 158.873 181.78 158.97C181.787 159.063 181.815 159.319 181.819 159.383C181.831 159.579 181.836 159.775 181.834 159.972C181.834 160.022 181.825 160.217 181.821 160.333Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M98.5821 122.507C99.019 122.759 99.6307 122.629 100.038 122.389C101.205 121.703 101.925 120.275 102.041 118.92C103.115 106.361 106.514 75.1051 106.514 68.3062C106.514 59.902 92.8134 60.6835 92.0664 71.3279C91.6887 76.7103 97.5083 119.581 97.8266 121.187C97.9188 121.652 98.1423 122.253 98.5821 122.507Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M101.841 133.945C101.826 133.94 101.812 133.934 101.797 133.929C98.2767 132.6 94.4012 134.976 93.9964 138.717C93.9765 138.901 93.9636 139.086 93.958 139.272C93.8552 142.712 96.4467 146.126 99.8464 146.664C103.245 147.201 106.896 144.494 107.099 141.059C107.285 137.909 104.789 135.072 101.841 133.945Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M161.729 131.662C161.873 131.367 162.082 130.81 161.71 130.584C161.365 130.375 160.901 130.836 160.768 131.107C156.804 139.201 152.84 147.295 148.877 155.389C147.759 157.67 146.642 159.952 145.525 162.233C145.38 162.528 145.171 163.085 145.543 163.311C145.888 163.52 146.352 163.059 146.485 162.788C150.449 154.694 154.413 146.6 158.377 138.506C159.494 136.225 160.611 133.943 161.729 131.662Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M144.786 152.64C144.441 152.43 143.977 152.891 143.844 153.163C142.363 156.187 140.882 159.21 139.402 162.234C139.257 162.528 139.048 163.085 139.42 163.311C139.765 163.521 140.229 163.06 140.362 162.788C141.843 159.764 143.323 156.741 144.804 153.717C144.948 153.423 145.158 152.866 144.786 152.64Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M136.792 156.459C136.447 156.25 135.983 156.711 135.85 156.982C134.993 158.733 134.136 160.483 133.279 162.233C133.134 162.528 132.925 163.085 133.297 163.311C133.642 163.52 134.106 163.06 134.239 162.788C135.096 161.037 135.953 159.287 136.81 157.537C136.955 157.242 137.164 156.685 136.792 156.459Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M129.1 159.663C128.755 159.454 128.291 159.915 128.158 160.186C127.824 160.869 127.49 161.551 127.155 162.234C127.011 162.528 126.802 163.086 127.174 163.311C127.519 163.521 127.983 163.06 128.116 162.788C128.45 162.106 128.784 161.423 129.118 160.741C129.263 160.447 129.472 159.889 129.1 159.663Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M165.835 137.946C165.979 137.652 166.188 137.094 165.816 136.868C165.471 136.659 165.007 137.12 164.874 137.392C161.72 143.832 158.566 150.273 155.412 156.713C154.511 158.553 153.609 160.393 152.708 162.233C152.564 162.528 152.355 163.085 152.726 163.311C153.071 163.52 153.535 163.06 153.669 162.788C156.823 156.347 159.977 149.907 163.131 143.466C164.032 141.626 164.933 139.786 165.835 137.946Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M169.923 143.153C169.578 142.943 169.114 143.404 168.98 143.676C165.951 149.862 162.921 156.048 159.892 162.234C159.748 162.528 159.538 163.086 159.91 163.311C160.255 163.521 160.719 163.06 160.852 162.788C163.882 156.602 166.911 150.416 169.941 144.23C170.085 143.936 170.294 143.378 169.923 143.153Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M174.332 148.821C173.987 148.611 173.523 149.072 173.39 149.344C171.286 153.64 169.182 157.937 167.077 162.234C166.933 162.528 166.724 163.086 167.095 163.311C167.44 163.521 167.905 163.06 168.038 162.788C170.142 158.492 172.246 154.195 174.351 149.898C174.495 149.604 174.704 149.046 174.332 148.821Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M178.197 155.597C177.852 155.387 177.388 155.848 177.255 156.12C176.257 158.158 175.259 160.196 174.261 162.233C174.117 162.528 173.907 163.085 174.279 163.311C174.624 163.52 175.088 163.06 175.221 162.788C176.219 160.75 177.217 158.712 178.215 156.674C178.36 156.38 178.569 155.823 178.197 155.597Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M97.1962 40.2135C97.3477 39.9803 97.4773 39.477 97.1807 39.2971C96.8678 39.1072 96.5194 39.5265 96.3794 39.7419C94.7034 42.3205 93.0556 44.9176 91.4179 47.5205C88.1743 52.6759 84.976 57.8633 81.9271 63.1367C80.4155 65.7509 78.9283 68.3855 77.5879 71.0925C77.4642 71.3423 77.2879 71.8174 77.6034 72.0088C77.8975 72.1874 78.2905 71.7947 78.4047 71.564C80.9657 66.3919 83.9726 61.4308 86.9671 56.5018C89.7369 51.9427 92.5713 47.4226 95.4474 42.9297C96.0279 42.0228 96.6094 41.1164 97.1962 40.2135Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M75.3224 76.1247C75.0193 75.9408 74.6477 76.3459 74.521 76.5695C74.1645 77.1991 73.808 77.8286 73.4515 78.4581C73.3144 78.7003 73.1605 79.1884 73.467 79.3744C73.77 79.5583 74.1416 79.1532 74.2684 78.9296C74.6248 78.3001 74.9814 77.6705 75.3378 77.0411C75.475 76.7988 75.6288 76.3107 75.3224 76.1247Z",fill:"var(--pae-shell-color-secondary)"})]});gu.displayName="WarningIcon";const Mv="support@bluealba.com",$v="@bluealba/pae-shell-ui",Bs=()=>{const{supportEmail:e=Mv}=Wa($v),t=`mailto:${e}?Subject=Support`;return l.jsxs("div",{className:pr.container,children:[l.jsx(gu,{}),l.jsx("div",{className:pr.title,children:"Oops! Something went wrong"}),l.jsxs("div",{className:pr.description,children:["If the error persists, ",l.jsx("a",{className:pr.mailToText,href:t,children:"contact the administrator."})]})]})};Bs.displayName="ErrorState";const Fv="List__h09XG",Bv="List__h09XG",Uv="Item__YMy2i",Hv="Item__YMy2i",Wv="List--primary__J2pbx",qv="List--secondary__gi1ao",zv="Item--selected__yRWow",Vv="Title__RJmEW",Gv="Title__RJmEW",Qv="Description__DGyX2",Kv="Description__DGyX2",Yv="Actions__UHP5l",Zv="Actions__UHP5l",Xv="Action__q-R1I",Jv="Action__q-R1I",e0="Item--disabled__Ke1u-",t0="List--small__ijoSR",n0="List--medium__E1FEY",r0="List--large__T8tfz",o0="Icon__dFr-L",s0="Icon__dFr-L",Re={List:Fv,list:Bv,Item:Uv,item:Hv,"List--primary":"List--primary__J2pbx",listPrimary:Wv,"List--secondary":"List--secondary__gi1ao",listSecondary:qv,"Item--selected":"Item--selected__yRWow",itemSelected:zv,Title:Vv,title:Gv,Description:Qv,description:Kv,Actions:Yv,actions:Zv,Action:Xv,action:Jv,"Item--disabled":"Item--disabled__Ke1u-",itemDisabled:e0,"List--small":"List--small__ijoSR",listSmall:t0,"List--medium":"List--medium__E1FEY",listMedium:n0,"List--large":"List--large__T8tfz",listLarge:r0,Icon:o0,icon:s0},yu=_.forwardRef(({children:e,className:t,selected:n,disabled:r=!1,...o},s)=>{const i=D(Re.Item,{[Re["Item--selected"]]:n,[Re["Item--disabled"]]:r},t);return l.jsx("li",{ref:s,className:i,role:"listitem","aria-disabled":r,...o,children:e})});yu.displayName="Item";const vu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Re.Title,t);return l.jsx("h3",{ref:r,className:o,...n,children:e})});vu.displayName="Title";const bu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Re.Description,t);return l.jsx("p",{ref:r,className:o,...n,children:e})});bu.displayName="Description";const Us=({className:e,...t})=>l.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,...t,children:[l.jsx("path",{d:"M6 6.5C6.27614 6.5 6.5 6.27614 6.5 6C6.5 5.72386 6.27614 5.5 6 5.5C5.72386 5.5 5.5 5.72386 5.5 6C5.5 6.27614 5.72386 6.5 6 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M9.5 6.5C9.77614 6.5 10 6.27614 10 6C10 5.72386 9.77614 5.5 9.5 5.5C9.22386 5.5 9 5.72386 9 6C9 6.27614 9.22386 6.5 9.5 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M2.5 6.5C2.77614 6.5 3 6.27614 3 6C3 5.72386 2.77614 5.5 2.5 5.5C2.22386 5.5 2 5.72386 2 6C2 6.27614 2.22386 6.5 2.5 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"})]});Us.displayName="HorizontalDots";const wu=_.forwardRef(({children:e,className:t,onClick:n,...r},o)=>{const s=_.useRef(null),[i,a]=_.useState(!1),c=D(Re.Actions,t),u=()=>{const w=Rt["DropdownList--open"],f=Rt["DropdownList--closed"];document.querySelectorAll(`.${w}`).forEach(C=>{C!==s.current&&(C.classList.remove(w),C.classList.add(f))})},d=w=>{w.stopPropagation(),i?p():(a(!0),n==null||n(w))},p=()=>{a(!1)},h=w=>{w.key==="Escape"&&p()},g=w=>{s.current&&!s.current.contains(w.target)&&p()};return _.useEffect(()=>(i?(u(),document.addEventListener("keydown",h),document.addEventListener("click",g)):(document.removeEventListener("keydown",h),document.removeEventListener("click",g)),()=>{document.removeEventListener("keydown",h),document.removeEventListener("click",g)}),[i]),l.jsxs("div",{ref:o,className:c,onClick:d,role:"button",tabIndex:0,"data-testid":"actions",...r,children:[l.jsx(Us,{}),l.jsx(Vr,{align:"left",ref:s,open:i,"data-testid":"actions-dropdown",role:"menu","aria-label":"Actions",children:e})]})});wu.displayName="Actions";const Cu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Re.Action,t);return l.jsx("button",{ref:r,className:o,...n,children:e})});Cu.displayName="Action";const xu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Re.Icon,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});xu.displayName="Icon";const Be=_.forwardRef(({children:e,className:t,size:n="medium",variant:r,...o},s)=>{const i=D(Re.List,{[Re[`List--${n}`]]:n,[Re[`List--${r}`]]:r},t);return l.jsx("ul",{ref:s,className:i,role:"list",...o,children:e})});Be.displayName="List";Be.Item=yu;Be.Badges=vs;Be.Badge=ys;Be.Title=vu;Be.Description=bu;Be.Actions=wu;Be.Action=Cu;Be.Icon=xu;const i0="Navigation__uylxk",a0="PaginationContent__UpLw0",c0="PaginationEllipsis__perWk",l0="PaginationLink__GVUZj",u0="Active__u1Ahy",d0="Disabled__8WM0y",f0="Prev__wp4hc",h0="Next__eVyL5",Ze={Navigation:i0,PaginationContent:a0,PaginationEllipsis:c0,PaginationLink:l0,Active:u0,Disabled:d0,Prev:f0,Next:h0},Eu=({className:e,...t})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,...t,children:[l.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),l.jsx("path",{d:"M9 6l6 6l-6 6"})]});Eu.displayName="ChevronRight";const Su=({className:e,...t})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,...t,children:[l.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),l.jsx("path",{d:"M15 6l-6 6l6 6"})]});Su.displayName="ChevronLeft";const Hs=({className:e,...t})=>l.jsx("nav",{role:"navigation","aria-label":"pagination",className:D(Ze.Navigation,e),...t});Hs.displayName="Pagination";const Ws=m.forwardRef(({className:e,...t},n)=>l.jsx("ul",{ref:n,className:D(Ze.PaginationContent,e),...t}));Ws.displayName="PaginationContent";const Rn=m.forwardRef(({className:e,...t},n)=>l.jsx("li",{ref:n,className:e,...t}));Rn.displayName="PaginationItem";const Hn=({className:e,isActive:t,...n})=>l.jsx("a",{"aria-current":t?"page":void 0,className:D(Ze.PaginationLink,t&&Ze.Active,e),...n});Hn.displayName="PaginationLink";const qs=({className:e,disabled:t,...n})=>l.jsxs(Hn,{"aria-label":"Go to previous page",className:D(t&&Ze.Disabled,Ze.Prev,e),...n,children:[l.jsx(Su,{}),l.jsx("span",{children:"Previous"})]});qs.displayName="PaginationPrevious";const zs=({className:e,disabled:t,...n})=>l.jsxs(Hn,{"aria-label":"Go to next page",className:D(t&&Ze.Disabled,Ze.Next,e),...n,children:[l.jsx("span",{children:"Next"}),l.jsx(Eu,{})]});zs.displayName="PaginationNext";const Vs=({className:e,...t})=>l.jsx("span",{"aria-hidden":!0,className:D(Ze.PaginationEllipsis,e),...t,children:l.jsx(Us,{})});Vs.displayName="PaginationEllipsis";function p0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _u={exports:{}};(function(e,t){(function(n,r){typeof p0=="function"?e.exports=r():n.pluralize=r()})(ad,function(){var n=[],r=[],o={},s={},i={};function a(f){return typeof f=="string"?new RegExp("^"+f+"$","i"):f}function c(f,y){return f===y?y:f===f.toLowerCase()?y.toLowerCase():f===f.toUpperCase()?y.toUpperCase():f[0]===f[0].toUpperCase()?y.charAt(0).toUpperCase()+y.substr(1).toLowerCase():y.toLowerCase()}function u(f,y){return f.replace(/\$(\d{1,2})/g,function(C,x){return y[x]||""})}function d(f,y){return f.replace(y[0],function(C,x){var S=u(y[1],arguments);return c(C===""?f[x-1]:C,S)})}function p(f,y,C){if(!f.length||o.hasOwnProperty(f))return y;for(var x=C.length;x--;){var S=C[x];if(S[0].test(y))return d(y,S)}return y}function h(f,y,C){return function(x){var S=x.toLowerCase();return y.hasOwnProperty(S)?c(x,S):f.hasOwnProperty(S)?c(x,f[S]):p(S,x,C)}}function g(f,y,C,x){return function(S){var E=S.toLowerCase();return y.hasOwnProperty(E)?!0:f.hasOwnProperty(E)?!1:p(E,E,C)===E}}function w(f,y,C){var x=y===1?w.singular(f):w.plural(f);return(C?y+" ":"")+x}return w.plural=h(i,s,n),w.isPlural=g(i,s,n),w.singular=h(s,i,r),w.isSingular=g(s,i,r),w.addPluralRule=function(f,y){n.push([a(f),y])},w.addSingularRule=function(f,y){r.push([a(f),y])},w.addUncountableRule=function(f){if(typeof f=="string"){o[f.toLowerCase()]=!0;return}w.addPluralRule(f,"$0"),w.addSingularRule(f,"$0")},w.addIrregularRule=function(f,y){y=y.toLowerCase(),f=f.toLowerCase(),i[f]=y,s[y]=f},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(f){return w.addIrregularRule(f[0],f[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(f){return w.addPluralRule(f[0],f[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(f){return w.addSingularRule(f[0],f[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(w.addUncountableRule),w})})(_u);var m0=_u.exports;const g0=cd(m0),Gs=({count:e,singularText:t,children:n=(r,o)=>`${r} ${o}`})=>l.jsx(l.Fragment,{children:n(e,g0(t,e))});Gs.displayName="PluralizeCounter";const y0="TableContainer__osh6Z",v0="TableHeader__sYa-8",b0="Table__2cIs3",w0="selectable__WsGg1",C0="Cell__ZEv-K",x0="Right__YoM1V",E0="Center__CF3tr",S0="Sortable__JIV1V",_0="SortIcon__f0bBy",R0="Active__rJjxB",T0="Rotate__7cwTK",A0="Pagination__sbqMP",P0="PointerNone__kQdQS",fe={TableContainer:y0,TableHeader:v0,Table:b0,selectable:w0,Cell:C0,Right:x0,Center:E0,Sortable:S0,SortIcon:_0,Active:R0,Rotate:T0,Pagination:A0,PointerNone:P0},O0="EmptyStateContainer__Q9FEb",j0="Message__IHK6M",ya={EmptyStateContainer:O0,Message:j0},Ru=({size:e=64})=>l.jsxs("svg",{width:e,height:e,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsxs("g",{clipPath:"url(#clip-path)",children:[l.jsx("mask",{id:"mask0_1070_8032",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"64",height:"64",children:l.jsx("path",{d:"M64 0H0V64H64V0Z",fill:"white"})}),l.jsx("g",{mask:"url(#mask0_1070_8032)",children:l.jsx("path",{d:"M40 10.6673H13.3333V53.334H50.6667V21.334H40V10.6673ZM8 7.97932C8 6.51798 9.192 5.33398 10.664 5.33398H42.6667L56 18.6673V55.982C56.0024 56.3321 55.936 56.6793 55.8043 57.0039C55.6725 57.3284 55.4781 57.6239 55.2323 57.8732C54.9864 58.1225 54.6936 58.3209 54.3712 58.4572C54.0485 58.5935 53.7021 58.6649 53.352 58.6673H10.648C9.94768 58.6625 9.27739 58.3823 8.78192 57.8873C8.28645 57.3924 8.00557 56.7223 8 56.022V7.97932ZM36.0773 38.5233C33.8408 39.83 31.2056 40.2788 28.6627 39.786C26.1197 39.2929 23.8428 37.8921 22.2566 35.8444C20.6704 33.7966 19.883 31.2417 20.0414 28.6564C20.1998 26.071 21.293 23.6315 23.1173 21.7927C24.9532 19.9571 27.3955 18.8541 29.9864 18.6904C32.5773 18.5267 35.1389 19.3134 37.1912 20.9032C39.2435 22.493 40.6456 24.7767 41.1347 27.3263C41.6237 29.8759 41.1664 32.5164 39.848 34.7527L45.7413 40.646L41.9707 44.4193L36.0773 38.5233ZM34.4293 33.1047C34.9387 32.6126 35.3451 32.0241 35.6245 31.3735C35.904 30.7228 36.0512 30.0231 36.0573 29.3148C36.0635 28.6065 35.9285 27.9044 35.6603 27.2489C35.3923 26.5935 34.9963 25.998 34.4955 25.4972C33.9947 24.9964 33.3992 24.6004 32.7437 24.3323C32.0883 24.0641 31.3861 23.9292 30.6779 23.9353C29.9696 23.9415 29.2699 24.0886 28.6192 24.3681C27.9685 24.6476 27.38 25.0539 26.888 25.5633C25.9165 26.5692 25.3789 27.9164 25.3911 29.3148C25.4032 30.7132 25.9641 32.0508 26.9531 33.0396C27.9419 34.0287 29.2795 34.5895 30.6779 34.6015C32.0763 34.6137 33.4235 34.0761 34.4293 33.1047Z",fill:"currentColor"})})]}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip-path",children:l.jsx("rect",{width:"64",height:"64",fill:"white"})})})]});Ru.displayName="EmptyStateIcon";const Qs=({message:e="No results found"})=>l.jsxs("div",{className:D(ya.EmptyStateContainer),children:[l.jsx(Ru,{}),l.jsx("p",{className:ya.Message,children:e})]});Qs.displayName="EmptyState";const D0=(e,t,n=1)=>{if(e<=1)return["1"];const r=[],o=s=>{(r.length===0||r[r.length-1]!==s)&&r.push(s)};o(1),t-n>2&&o("...");for(let s=Math.max(2,t-n);s<=Math.min(e-1,t+n);s++)o(s);return t+n<e-1&&o("..."),o(e),r.map(String)},Tu=({page:e,totalPages:t,onPageChange:n})=>{const r=e===1,o=e===t;return l.jsx(Hs,{className:fe.Pagination,children:l.jsxs(Ws,{children:[l.jsx(Rn,{children:l.jsx(qs,{className:D({[fe.PointerNone]:r}),onClick:()=>!r&&n(e-1)})}),D0(t,e).map((s,i)=>l.jsxs(Rn,{children:[s==="..."&&l.jsx(Vs,{}),s!=="..."&&l.jsx(Hn,{isActive:+s===e,onClick:()=>+s!==e&&n(+s),children:s})]},i)),l.jsx(Rn,{children:l.jsx(zs,{className:D({[fe.PointerNone]:o}),onClick:()=>!o&&n(e+1)})})]})})};Tu.displayName="TablePagination";const Au=({className:e,...t})=>l.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,...t,children:l.jsx("path",{d:"M6 2.5V9.5M6 9.5L9.5 6M6 9.5L2.5 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});Au.displayName="ArrowDown";const Pu=({columns:e,data:t,isLoading:n,totalCount:r=0,headerLabel:o,sort:s,loadingConfig:i,pagination:a,onRowClick:c})=>{const{count:u=5,height:d=40}=i||{},p=y=>y.sortName??y.name,h=y=>D({[fe.Cell]:!0,[fe.Center]:y.align==="center",[fe.Right]:y.align==="right",[fe.Sortable]:y.isSortable}),g=y=>{if(!s)return"";const C=p(y);return D({[fe.SortIcon]:!0,[fe.Active]:y.isSortable&&s.field===C,[fe.Rotate]:s.field===C&&s.direction==="asc"})},w=y=>()=>c==null?void 0:c(y),f=y=>()=>{if(!s||!y.isSortable)return;const{field:C,direction:x,onSort:S}=s,E=p(y);C===E?S(E,x==="asc"?"desc":"asc"):S(E,"asc")};return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:fe.TableContainer,children:[o&&l.jsx("div",{className:fe.TableHeader,children:l.jsx(Gs,{count:r,singularText:o,children:(y,C)=>`${y} ${C}`})}),l.jsxs("table",{className:fe.Table,children:[l.jsx("thead",{children:l.jsx("tr",{children:e.map(y=>l.jsx("th",{children:l.jsxs("div",{className:h(y),onClick:f(y),children:[l.jsx("span",{children:y.displayName}),y.isSortable&&l.jsx(Au,{className:g(y)})]})},y.name))})}),l.jsx("tbody",{children:l.jsxs(ft,{children:[l.jsx(ft.When,{condition:n,children:[...Array(u).keys()].map(y=>l.jsx("tr",{children:l.jsx("td",{colSpan:e.length,style:{padding:4},children:l.jsx(Gr,{height:d})})},y))}),l.jsx(ft.When,{condition:!t.length,children:l.jsx("tr",{children:l.jsx("td",{colSpan:e.length,children:l.jsx(Qs,{})})})}),l.jsx(ft.Else,{children:t.map((y,C)=>l.jsx("tr",{className:c&&fe.selectable,onClick:w(y),children:e.map(x=>l.jsx("td",{style:x.width?{width:x.width}:{},children:l.jsx("div",{className:h(x),children:x.cellRenderer?x.cellRenderer(y):x.valueGetter?x.valueGetter(y):y[x.name]})},`${x.name}-${C}`))},C))})]})})]})]}),a&&l.jsx(Tu,{...a})]})};Pu.displayName="Table";const k0="alert__LblpE",L0="destructive__bLNSM",I0="alertTitle__gblKf",N0="alertDescription__BuVHV",Mr={alert:k0,default:"default__mgO6A",destructive:L0,alertTitle:I0,alertDescription:N0},to=({className:e,variant:t="default",children:n,...r})=>l.jsx("div",{"data-slot":"alert",role:"alert",className:D(Mr.alert,Mr[t],e),...r,children:n}),M0=m.forwardRef(({children:e,className:t,...n},r)=>l.jsx("div",{ref:r,"data-slot":"alert-title",className:D(Mr.alertTitle,t),...n,children:e})),$0=m.forwardRef(({children:e,className:t,...n},r)=>l.jsx("div",{ref:r,"data-slot":"alert-description",className:D(Mr.alertDescription,t),...n,children:e}));to.displayName="Alert";to.Title=M0;to.Description=$0;function va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function $r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?va(Object(n),!0).forEach(function(r){F0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):va(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ou(e){return(Ou=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function F0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function os(e){return(os=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function ju(e,t){var n;if(typeof(n=t.domElement?function(){return t.domElement}:t.domElementGetter?t.domElementGetter:e.domElementGetter?e.domElementGetter:function(r){var o=r.appName||r.name;if(!o)throw Error("single-spa's dom-element-getter-helpers was not given an application name as a prop, so it can't make a unique dom element container for the react application");var s="single-spa-application:".concat(o);return function(){var i=document.getElementById(s);return i||((i=document.createElement("div")).id=s,document.body.appendChild(i)),i}}(t))!="function")throw Error("single-spa's dom-element-getter-helpers was given an invalid domElementGetter for application or parcel '".concat(t.name,"'. Expected a function, received ").concat(os(n)));return function(){var r=n(t);if(!(r instanceof HTMLElement))throw Error("single-spa's dom-element-getter-helpers: domElementGetter returned an invalid dom element for application or parcel '".concat(t.name,"'. Expected HTMLElement, received ").concat(os(r)));return r}}var Dn=null;try{Dn=require("react").createContext()}catch{}var B0={React:null,ReactDOM:null,ReactDOMClient:null,rootComponent:null,loadRootComponent:null,errorBoundary:null,errorBoundaryClass:null,domElementGetter:null,parcelCanUpdate:!0,suppressComponentDidCatchWarning:!1,domElements:{},renderResults:{},updateResolves:{},unmountResolves:{}};function U0(e){if(Ou(e)!=="object")throw new Error("single-spa-react requires a configuration object");var t,n=$r($r({},B0),e);if(!n.React)throw new Error("single-spa-react must be passed opts.React");if(!n.ReactDOM&&!n.ReactDOMClient)throw new Error("single-spa-react must be passed opts.ReactDOM or opts.ReactDOMClient");if(n.renderType||((t=n.ReactDOMClient)!==null&&t!==void 0&&t.createRoot?n.renderType="createRoot":n.renderType="render"),!n.rootComponent&&!n.loadRootComponent)throw new Error("single-spa-react must be passed opts.rootComponent or opts.loadRootComponent");if(n.errorBoundary&&typeof n.errorBoundary!="function")throw Error("The errorBoundary opt for single-spa-react must either be omitted or be a function that returns React elements");!Dn&&n.React.createContext&&(Dn=n.React.createContext()),n.SingleSpaRoot=function(o){function s(i){s.displayName="SingleSpaRoot(".concat(i.name,")")}return s.prototype=Object.create(o.React.Component.prototype),s.prototype.componentDidMount=function(){setTimeout(this.props.mountFinished)},s.prototype.componentWillUnmount=function(){setTimeout(this.props.unmountFinished)},s.prototype.render=function(){return setTimeout(this.props.updateFinished),this.props.children},s}(n);var r={bootstrap:H0.bind(null,n),mount:W0.bind(null,n),unmount:q0.bind(null,n)};return n.parcelCanUpdate&&(r.update=z0.bind(null,n)),r}function H0(e,t){return e.rootComponent?Promise.resolve():e.loadRootComponent(t).then(function(n){e.rootComponent=n})}function W0(e,t){return new Promise(function(n,r){e.suppressComponentDidCatchWarning||!function(a){if(!(a&&typeof a.version=="string"&&a.version.indexOf(".")>=0))return!1;var c=a.version.slice(0,a.version.indexOf("."));try{return Number(c)>=16}catch{return!1}}(e.React)||e.errorBoundary||e.errorBoundaryClass||(e.rootComponent.prototype?e.rootComponent.prototype.componentDidCatch||console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent should implement componentDidCatch to avoid accidentally unmounting the entire single-spa application.")):console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent does not implement an error boundary. If using a functional component, consider providing an opts.errorBoundary to singleSpaReact(opts).")));var o=Du(e,t,function(){n(this)}),s=ju(e,t)(),i=function(a){var c=a.reactDom,u=a.renderType,d=a.elementToRender,p=a.domElement,h=c[u];if(typeof h!="function")throw new Error('renderType "'.concat(u,'" did not return a function.'));switch(u){case"createRoot":case"unstable_createRoot":case"createBlockingRoot":case"unstable_createBlockingRoot":var g=h(p);return g.render(d),g;case"hydrateRoot":return h(p,d);case"hydrate":default:return h(d,p),null}}({elementToRender:o,domElement:s,reactDom:Ks(e),renderType:V0(e)});e.domElements[t.name]=s,e.renderResults[t.name]=i})}function q0(e,t){return new Promise(function(n){e.unmountResolves[t.name]=n;var r=e.renderResults[t.name];r&&r.unmount?r.unmount():Ks(e).unmountComponentAtNode(e.domElements[t.name]),delete e.domElements[t.name],delete e.renderResults[t.name]})}function z0(e,t){return new Promise(function(n){e.updateResolves[t.name]||(e.updateResolves[t.name]=[]),e.updateResolves[t.name].push(n);var r=Du(e,t,null),o=e.renderResults[t.name];if(o&&o.render)o.render(r);else{var s=ju(e,t)();Ks(e).render(r,s)}})}function Ks(e){return e.ReactDOMClient||e.ReactDOM}function V0(e){return typeof e.renderType=="function"?e.renderType():e.renderType}function Du(e,t,n){var r=e.React.createElement(e.rootComponent,t),o=Dn?e.React.createElement(Dn.Provider,{value:t},r):r;return(e.errorBoundary||t.errorBoundary||e.errorBoundaryClass||t.errorBoundaryClass)&&(e.errorBoundaryClass=e.errorBoundaryClass||t.errorBoundaryClass||function(s,i){function a(c){s.React.Component.apply(this,arguments),this.state={caughtError:null,caughtErrorInfo:null},a.displayName="SingleSpaReactErrorBoundary(".concat(c.name,")")}return a.prototype=Object.create(s.React.Component.prototype),a.prototype.render=function(){return this.state.caughtError?(s.errorBoundary||i.errorBoundary)(this.state.caughtError,this.state.caughtErrorInfo,this.props):this.props.children},a.prototype.componentDidCatch=function(c,u){this.setState({caughtError:c,caughtErrorInfo:u})},a}(e,t),o=e.React.createElement(e.errorBoundaryClass,t,o)),o=e.React.createElement(e.SingleSpaRoot,$r($r({},t),{},{mountFinished:n,updateFinished:function(){e.updateResolves[t.name]&&(e.updateResolves[t.name].forEach(function(s){return s()}),delete e.updateResolves[t.name])},unmountFinished:function(){e.unmountResolves[t.name]&&(e.unmountResolves[t.name](),delete e.unmountResolves[t.name])}}),o)}const G0=e=>{const t=new vh;return function(r){if(!r)throw new Error("Microfrontend did not receive any properties !!");const o=as(r.module.name);return l.jsx($a,{module:o,children:l.jsxs(Eh,{client:t,children:[l.jsx(e,{...r}),l.jsx(nh,{position:"top-right",reverseOrder:!0})]})})}},Q0=({rootComponent:e,...t})=>U0({errorBoundary(n){return console.error(n),l.jsx(Bs,{})},...t,rootComponent:G0(e)}),K0=e=>{const t={authUser:{id:"testuser",username:"testuser",displayName:"Test User",applications:[]},catalog:[],authentication:{passwordMethodEnabled:!0,registerEnabled:!0,invitationsEnabled:!0,resetPasswordExpiration:3e4,passwordConstraints:{lowerCaseRequired:!1,upperCaseRequired:!1,symbolRequired:!1,digitRequired:!1,minLength:0,maxLength:8},sessionExpiration:864e5,jwtSecret:"",sessionIncludeOrigUser:!1,impersonationMode:"cookie",canImpersonateNonExistentUsers:!1,providers:[]},platformVersion:"0.0.0"};Object.defineProperty(window,Tn,{value:e?Ld(t,e):t})};exports.Alert=to;exports.ApplicationIcon=Nc;exports.Authorized=gs;exports.Badge=ys;exports.Badges=vs;exports.Button=jr;exports.ClipboardCheckIcon=Fc;exports.ClipboardIcon=$c;exports.ConfirmDialog=mu;exports.CopyToClipboardButton=kp;exports.Dialog=ie;exports.DropdownList=Vr;exports.EmptyState=Qs;exports.ErrorState=Bs;exports.ExtendExtensionPoint=Zh;exports.ExtensionPoint=jc;exports.EyeIcon=Nl;exports.FieldGroup=Bc;exports.Input=zr;exports.InputError=Uc;exports.Label=Hc;exports.List=Be;exports.ModulePlaceHolder=Ic;exports.Pagination=Hs;exports.PaginationContent=Ws;exports.PaginationEllipsis=Vs;exports.PaginationItem=Rn;exports.PaginationLink=Hn;exports.PaginationNext=zs;exports.PaginationPrevious=qs;exports.PasswordInput=cy;exports.Pill=Ov;exports.PlatformEventListener=op;exports.PlatformEvents=td;exports.PluralizeCounter=Gs;exports.SearchAutocomplete=Vc;exports.SearchInput=ws;exports.Select=bs;exports.Show=ft;exports.Skeleton=Gr;exports.SkeletonList=Yc;exports.Spinner=kl;exports.Switch=Ll;exports.Table=Pu;exports.Tabs=ny;exports.TabsContent=sy;exports.TabsList=ry;exports.TabsTrigger=oy;exports.TextArea=qc;exports.Tooltip=Dl;exports.authorized=ip;exports.dropdownListStyles=Rt;exports.extensionPoint=Jh;exports.getApplications=is;exports.getInitials=yd;exports.getOperations=Fa;exports.hasAccess=Ua;exports.initializeMicroFrontend=Q0;exports.isPlatformCustomizationCompleted=ff;exports.isValidEmail=gd;exports.logout=hd;exports.navigateTo=pd;exports.platformHaveAnyCustomization=df;exports.setupTestEnvironment=K0;exports.useApplicationIcon=Ka;exports.useApplicationJSModule=Hr;exports.useApplicationMenu=Ya;exports.useApplicationMenuWithDocumentation=Od;exports.useApplicationUIModule=Qa;exports.useApplications=Va;exports.useAuth=Br;exports.useCatalog=mn;exports.useCurrentApplication=ls;exports.useCurrentApplicationName=ec;exports.useCurrentJSModule=$d;exports.useDocumentationMenuItems=Ja;exports.useDynamicFonts=ac;exports.useDynamicStyleSheet=ic;exports.useExtendExtensionPoint=oc;exports.useExtensionPoint=rc;exports.useGetPlatformTheme=uf;exports.useHasNoSession=ud;exports.useLocation=Ia;exports.useModule=as;exports.useModuleCommonPaths=fd;exports.useModuleConfig=Ha;exports.useModuleConfigByName=Wa;exports.useModuleMetadata=Mn;exports.useMutableCatalog=id;exports.useNotifications=ds;exports.useOperations=Ba;exports.usePAECustomizationsLoadingState=lf;exports.usePAEState=Fr;exports.usePlatformCustomization=cf;exports.usePlatformEventListener=sc;exports.useResource=Ih;exports.useResourceActions=Pc;exports.useServiceBaseURL=tc;exports.useServiceInvoker=us;exports.useTenants=Qh;exports.useTrackEvent=Wd;exports.useTrackEvents=nc;exports.useUIApplications=Ga;exports.useUserState=Yh;
|
|
277
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return m.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},uv="DialogDescriptionWarning",dv=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${au(uv).contentName}}.`;return m.useEffect(()=>{var s;const o=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},fv=Ql,hv=Zl,pv=Xl,mv=Jl,gv=tu,yv=ru,vv=su;const bv="Overlay__M5Z83",wv="Content__wAkP4",pa={Overlay:bv,Content:wv},Cv="Header__VHxNf",xv="Content__I04qM",Ev="Close__xSN-7",Sv="Title__Dznh6",_v="Footer__-8gzQ",Rv="Actions__kKF2Q",Ut={Header:Cv,Content:xv,Close:Ev,Title:Sv,Footer:_v,Actions:Rv},cu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Header,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});cu.displayName="Header";const lu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Content,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});lu.displayName="Content";const uu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Footer,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});uu.displayName="Footer";const du=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Title,t);return l.jsx(gv,{ref:r,className:o,...n,children:e})});du.displayName="Title";const fu=_.forwardRef(({className:e,...t},n)=>{const r=D(Ut.Close,e);return l.jsx(vv,{ref:n,asChild:!0,className:r,...t,children:l.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:l.jsx("path",{d:"M11 1L1 11M1 1L11 11",stroke:"#A9A9A9",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})});fu.displayName="Close";const hu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Actions,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});hu.displayName="Actions";const pu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Ut.Description,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});pu.displayName="Description";const ie=({children:e,onClose:t,open:n=!1,className:r})=>{const o=()=>{t==null||t()};return l.jsx(fv,{onOpenChange:o,open:n,children:l.jsxs(hv,{children:[l.jsx(pv,{className:pa.Overlay}),l.jsxs(mv,{children:[l.jsx(yv,{}),l.jsx("div",{className:D(pa.Content,r),children:e})]})]})})};ie.displayName="Dialog";ie.Header=cu;ie.Content=lu;ie.Footer=uu;ie.Actions=hu;ie.Title=du;ie.Description=pu;ie.Close=fu;const Tv="pill__vtGwB",Av="pill--solid__F-mR4",Pv="pill--outline__gC-mh",ma={pill:Tv,"pill--solid":"pill--solid__F-mR4",pillSolid:Av,"pill--outline":"pill--outline__gC-mh",pillOutline:Pv},Ov=({children:e,variant:t="solid",className:n})=>{const r=D(ma.pill,ma[`pill--${t}`],n);return l.jsx("div",{className:r,children:e})},jv="DialogContent__-WjG9",Dv="Message__AUgVP",ga={DialogContent:jv,Message:Dv},mu=({loading:e,title:t,children:n,className:r,onClose:o,onConfirm:s,...i})=>l.jsxs(ie,{...i,className:D(ga.DialogContent,r),children:[l.jsxs(ie.Header,{children:[l.jsx(ie.Title,{children:t}),l.jsx(ie.Close,{onClick:o})]}),l.jsx(ie.Content,{children:typeof n=="string"?l.jsx("p",{className:ga.Message,children:n}):n}),l.jsx(ie.Footer,{children:l.jsxs(ie.Actions,{children:[l.jsx(jr,{onClick:o,disabled:e,variant:"outlined",children:"Cancel"}),l.jsx(jr,{onClick:s,disabled:e,loading:e,variant:"contained",children:"Confirm"})]})})]});mu.displayName="ConfirmDialog";const kv="container__AjtYJ",Lv="title__A2vCu",Iv="description__bP6Ig",Nv="mailToText__SdlsE",pr={container:kv,title:Lv,description:Iv,mailToText:Nv},gu=()=>l.jsxs("svg",{width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("path",{d:"M184.415 152.221C183.936 151.406 183.401 150.621 182.892 149.824C181.61 147.817 180.327 145.809 179.045 143.801C177.102 140.759 175.159 137.717 173.215 134.676C170.766 130.841 168.316 127.006 165.866 123.171C163.068 118.79 160.27 114.41 157.472 110.03C154.484 105.352 151.496 100.674 148.508 95.9965C145.474 91.2464 142.439 86.4963 139.405 81.7463C136.513 77.2189 133.621 72.6915 130.729 68.1641C128.123 64.084 125.517 60.0039 122.91 55.9238C120.748 52.5389 118.586 49.1541 116.424 45.7692C114.864 43.3273 113.304 40.8854 111.744 38.4436C110.943 37.1899 110.142 35.9362 109.342 34.6825C108.765 33.7802 108.096 32.9744 107.292 32.2572C104.604 29.8584 100.572 29.2302 97.2301 30.5252C94.5951 31.5463 92.6177 33.3853 91.0923 35.7373C90.8768 36.0696 90.6658 36.405 90.4526 36.7387C89.3951 38.3941 88.3378 40.0494 87.2803 41.7049C85.5124 44.4725 83.7444 47.2402 81.9765 50.0079C79.644 53.6594 77.3114 57.3111 74.9788 60.9626C72.2632 65.2138 69.5477 69.465 66.8321 73.7162C63.8817 78.3349 60.9313 82.9536 57.9811 87.5722C54.9542 92.3106 51.9274 97.0491 48.9006 101.787C45.9557 106.398 43.0107 111.008 40.0658 115.618C37.3487 119.872 34.6316 124.125 31.9145 128.379C29.6106 131.986 27.3067 135.592 25.0028 139.199C23.2565 141.933 21.5101 144.667 19.7639 147.4C18.7335 149.013 17.7031 150.626 16.6728 152.239C14.8665 155.067 13.7231 158.171 14.23 161.595C14.9672 166.576 19.2366 170.131 24.2215 170.137C25.559 170.139 26.8963 170.137 28.2338 170.137C30.9198 170.137 33.6058 170.137 36.2918 170.137C40.0725 170.137 43.8533 170.137 47.6341 170.137C52.2557 170.137 56.8772 170.137 61.4989 170.137C66.7339 170.137 71.969 170.137 77.204 170.137C82.7467 170.137 88.2894 170.137 93.8322 170.137C99.4529 170.137 105.074 170.137 110.694 170.137C116.139 170.137 121.584 170.137 127.029 170.137C132.044 170.137 137.06 170.137 142.075 170.137C146.425 170.137 150.776 170.137 155.127 170.137C158.516 170.137 161.904 170.137 165.293 170.137C167.49 170.137 169.686 170.137 171.883 170.137C172.633 170.137 173.384 170.137 174.135 170.137C178.404 170.087 182.136 167.627 184.212 163.932C186.248 160.307 186.562 155.866 184.415 152.221ZM94.0937 37.3471C94.0897 37.3539 94.0862 37.3597 94.0824 37.3661C94.0826 37.3652 94.0831 37.3642 94.0833 37.3632C94.0844 37.3581 94.0909 37.3518 94.0937 37.3471ZM178.584 164.489C178.476 164.538 178.524 164.516 178.584 164.489V164.489ZM180.937 162.79C180.979 162.72 181.118 162.485 181.127 162.498C181.145 162.528 181.058 162.647 180.937 162.79ZM181.821 160.333C181.806 160.446 181.782 160.646 181.773 160.697C181.736 160.919 181.686 161.139 181.637 161.359C181.637 161.359 181.637 161.359 181.637 161.359C181.629 161.377 181.621 161.399 181.61 161.426C181.54 161.604 181.472 161.785 181.406 161.965C181.402 161.977 181.398 161.988 181.394 161.999C181.304 162.16 181.219 162.323 181.123 162.481C181.074 162.562 181.016 162.641 180.97 162.724C180.949 162.762 180.936 162.785 180.93 162.798C180.727 163.035 180.436 163.332 180.388 163.385C180.696 163.049 180.535 163.229 180.318 163.42C180.172 163.548 180.018 163.666 179.869 163.79C179.848 163.807 179.831 163.822 179.816 163.835C179.797 163.845 179.775 163.857 179.747 163.873C179.576 163.97 179.411 164.078 179.238 164.171C179.043 164.277 178.844 164.373 178.642 164.463C178.556 164.494 178.471 164.526 178.384 164.553C177.532 164.819 176.835 164.945 176.084 164.954C175.296 164.954 174.508 164.954 173.719 164.954C171.519 164.954 169.318 164.954 167.118 164.954C163.751 164.954 160.385 164.954 157.019 164.954C152.756 164.954 148.493 164.954 144.231 164.954C139.275 164.954 134.319 164.954 129.364 164.954C123.981 164.954 118.598 164.954 113.215 164.954C107.651 164.954 102.086 164.954 96.5224 164.954C91.024 164.954 85.5255 164.954 80.0271 164.954C74.8407 164.954 69.6543 164.954 64.4679 164.954C59.8401 164.954 55.2123 164.954 50.5846 164.954C46.7784 164.954 42.9721 164.954 39.166 164.954C36.3891 164.954 33.6122 164.954 30.8354 164.954C29.3555 164.954 27.8756 164.954 26.3957 164.954C25.9641 164.954 25.534 164.958 25.1029 164.922C23.4511 164.785 22.11 164.207 20.7626 163.127C20.3445 162.792 19.7301 162.074 19.3142 161.434C19.2096 161.273 19.1102 161.109 19.0161 160.942C18.9707 160.861 18.8013 160.534 18.8105 160.558C18.7451 160.414 18.5329 159.846 18.4422 159.537C18.3467 159.211 18.2692 158.879 18.2129 158.544C18.2174 158.545 18.1876 158.285 18.1815 158.192C18.1669 157.964 18.1617 157.736 18.1651 157.508C18.166 157.455 18.1793 157.245 18.185 157.131C18.2055 157.005 18.2441 156.74 18.2591 156.662C18.2913 156.493 18.3319 156.326 18.3726 156.16C18.2821 156.539 18.4099 156.072 18.4891 155.866C18.518 155.79 18.6652 155.487 18.6846 155.432C18.7383 155.339 18.7932 155.243 18.8125 155.21C18.8692 155.114 18.9282 155.019 18.9875 154.924C19.0003 154.904 19.0137 154.884 19.0265 154.863C19.2211 154.554 19.4201 154.247 19.617 153.939C20.6335 152.348 21.6501 150.756 22.6667 149.165C24.3869 146.472 26.107 143.779 27.8271 141.086C30.0848 137.552 32.3425 134.017 34.6001 130.483C37.2646 126.312 39.9291 122.141 42.5935 117.97C45.5011 113.418 48.4086 108.866 51.3161 104.315C54.3131 99.6229 57.31 94.9312 60.3069 90.2397C63.2394 85.6489 66.172 81.058 69.1045 76.4672C71.819 72.2178 74.5334 67.9683 77.2479 63.719C79.5904 60.0517 81.9331 56.3844 84.2756 52.7172C86.0852 49.8842 87.8948 47.0513 89.7044 44.2184C90.8459 42.4315 91.9873 40.6446 93.1287 38.8578C93.3976 38.4368 93.6701 38.0178 93.9356 37.5945C93.9507 37.5705 93.9737 37.5416 93.9972 37.511C93.8744 37.7231 94.1597 37.2638 94.301 37.0921C94.4017 36.9695 94.5483 36.8114 94.5423 36.8113C94.6372 36.721 94.7333 36.6319 94.8323 36.546C94.9866 36.4121 95.1478 36.2876 95.3084 36.1615C94.9392 36.4513 95.3917 36.1121 95.5441 36.0212C96.7591 35.2961 98.1095 34.9498 99.7068 35.0725C101.356 35.1993 102.702 35.7434 104.07 36.8307C104.685 37.3192 105.311 38.1542 105.817 38.9457C106.592 40.1592 107.367 41.3727 108.142 42.5862C109.667 44.9733 111.192 47.3605 112.717 49.7476C114.838 53.0679 116.959 56.3881 119.08 59.7083C121.629 63.6999 124.179 67.6913 126.729 71.6829C129.579 76.1455 132.43 80.6082 135.281 85.0709C138.267 89.7458 141.253 94.4206 144.239 99.0955C147.207 103.742 150.176 108.388 153.144 113.035C155.94 117.412 158.736 121.789 161.532 126.167C164.002 130.034 166.473 133.902 168.943 137.769C170.935 140.886 172.926 144.003 174.917 147.12C176.27 149.239 177.623 151.357 178.976 153.475C179.551 154.376 180.134 155.272 180.702 156.177C181.138 156.872 181.311 157.219 181.54 157.972C181.6 158.167 181.652 158.363 181.697 158.561C181.711 158.623 181.759 158.873 181.78 158.97C181.787 159.063 181.815 159.319 181.819 159.383C181.831 159.579 181.836 159.775 181.834 159.972C181.834 160.022 181.825 160.217 181.821 160.333Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M98.5821 122.507C99.019 122.759 99.6307 122.629 100.038 122.389C101.205 121.703 101.925 120.275 102.041 118.92C103.115 106.361 106.514 75.1051 106.514 68.3062C106.514 59.902 92.8134 60.6835 92.0664 71.3279C91.6887 76.7103 97.5083 119.581 97.8266 121.187C97.9188 121.652 98.1423 122.253 98.5821 122.507Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M101.841 133.945C101.826 133.94 101.812 133.934 101.797 133.929C98.2767 132.6 94.4012 134.976 93.9964 138.717C93.9765 138.901 93.9636 139.086 93.958 139.272C93.8552 142.712 96.4467 146.126 99.8464 146.664C103.245 147.201 106.896 144.494 107.099 141.059C107.285 137.909 104.789 135.072 101.841 133.945Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M161.729 131.662C161.873 131.367 162.082 130.81 161.71 130.584C161.365 130.375 160.901 130.836 160.768 131.107C156.804 139.201 152.84 147.295 148.877 155.389C147.759 157.67 146.642 159.952 145.525 162.233C145.38 162.528 145.171 163.085 145.543 163.311C145.888 163.52 146.352 163.059 146.485 162.788C150.449 154.694 154.413 146.6 158.377 138.506C159.494 136.225 160.611 133.943 161.729 131.662Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M144.786 152.64C144.441 152.43 143.977 152.891 143.844 153.163C142.363 156.187 140.882 159.21 139.402 162.234C139.257 162.528 139.048 163.085 139.42 163.311C139.765 163.521 140.229 163.06 140.362 162.788C141.843 159.764 143.323 156.741 144.804 153.717C144.948 153.423 145.158 152.866 144.786 152.64Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M136.792 156.459C136.447 156.25 135.983 156.711 135.85 156.982C134.993 158.733 134.136 160.483 133.279 162.233C133.134 162.528 132.925 163.085 133.297 163.311C133.642 163.52 134.106 163.06 134.239 162.788C135.096 161.037 135.953 159.287 136.81 157.537C136.955 157.242 137.164 156.685 136.792 156.459Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M129.1 159.663C128.755 159.454 128.291 159.915 128.158 160.186C127.824 160.869 127.49 161.551 127.155 162.234C127.011 162.528 126.802 163.086 127.174 163.311C127.519 163.521 127.983 163.06 128.116 162.788C128.45 162.106 128.784 161.423 129.118 160.741C129.263 160.447 129.472 159.889 129.1 159.663Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M165.835 137.946C165.979 137.652 166.188 137.094 165.816 136.868C165.471 136.659 165.007 137.12 164.874 137.392C161.72 143.832 158.566 150.273 155.412 156.713C154.511 158.553 153.609 160.393 152.708 162.233C152.564 162.528 152.355 163.085 152.726 163.311C153.071 163.52 153.535 163.06 153.669 162.788C156.823 156.347 159.977 149.907 163.131 143.466C164.032 141.626 164.933 139.786 165.835 137.946Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M169.923 143.153C169.578 142.943 169.114 143.404 168.98 143.676C165.951 149.862 162.921 156.048 159.892 162.234C159.748 162.528 159.538 163.086 159.91 163.311C160.255 163.521 160.719 163.06 160.852 162.788C163.882 156.602 166.911 150.416 169.941 144.23C170.085 143.936 170.294 143.378 169.923 143.153Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M174.332 148.821C173.987 148.611 173.523 149.072 173.39 149.344C171.286 153.64 169.182 157.937 167.077 162.234C166.933 162.528 166.724 163.086 167.095 163.311C167.44 163.521 167.905 163.06 168.038 162.788C170.142 158.492 172.246 154.195 174.351 149.898C174.495 149.604 174.704 149.046 174.332 148.821Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M178.197 155.597C177.852 155.387 177.388 155.848 177.255 156.12C176.257 158.158 175.259 160.196 174.261 162.233C174.117 162.528 173.907 163.085 174.279 163.311C174.624 163.52 175.088 163.06 175.221 162.788C176.219 160.75 177.217 158.712 178.215 156.674C178.36 156.38 178.569 155.823 178.197 155.597Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M97.1962 40.2135C97.3477 39.9803 97.4773 39.477 97.1807 39.2971C96.8678 39.1072 96.5194 39.5265 96.3794 39.7419C94.7034 42.3205 93.0556 44.9176 91.4179 47.5205C88.1743 52.6759 84.976 57.8633 81.9271 63.1367C80.4155 65.7509 78.9283 68.3855 77.5879 71.0925C77.4642 71.3423 77.2879 71.8174 77.6034 72.0088C77.8975 72.1874 78.2905 71.7947 78.4047 71.564C80.9657 66.3919 83.9726 61.4308 86.9671 56.5018C89.7369 51.9427 92.5713 47.4226 95.4474 42.9297C96.0279 42.0228 96.6094 41.1164 97.1962 40.2135Z",fill:"var(--pae-shell-color-secondary)"}),l.jsx("path",{d:"M75.3224 76.1247C75.0193 75.9408 74.6477 76.3459 74.521 76.5695C74.1645 77.1991 73.808 77.8286 73.4515 78.4581C73.3144 78.7003 73.1605 79.1884 73.467 79.3744C73.77 79.5583 74.1416 79.1532 74.2684 78.9296C74.6248 78.3001 74.9814 77.6705 75.3378 77.0411C75.475 76.7988 75.6288 76.3107 75.3224 76.1247Z",fill:"var(--pae-shell-color-secondary)"})]});gu.displayName="WarningIcon";const Mv="support@bluealba.com",$v="@bluealba/pae-shell-ui",Bs=()=>{const{supportEmail:e=Mv}=Wa($v),t=`mailto:${e}?Subject=Support`;return l.jsxs("div",{className:pr.container,children:[l.jsx(gu,{}),l.jsx("div",{className:pr.title,children:"Oops! Something went wrong"}),l.jsxs("div",{className:pr.description,children:["If the error persists, ",l.jsx("a",{className:pr.mailToText,href:t,children:"contact the administrator."})]})]})};Bs.displayName="ErrorState";const Fv="List__h09XG",Bv="List__h09XG",Uv="Item__YMy2i",Hv="Item__YMy2i",Wv="List--primary__J2pbx",qv="List--secondary__gi1ao",zv="Item--selected__yRWow",Vv="Title__RJmEW",Gv="Title__RJmEW",Qv="Description__DGyX2",Kv="Description__DGyX2",Yv="Actions__UHP5l",Zv="Actions__UHP5l",Xv="Action__q-R1I",Jv="Action__q-R1I",e0="Item--disabled__Ke1u-",t0="List--small__ijoSR",n0="List--medium__E1FEY",r0="List--large__T8tfz",o0="Icon__dFr-L",s0="Icon__dFr-L",Re={List:Fv,list:Bv,Item:Uv,item:Hv,"List--primary":"List--primary__J2pbx",listPrimary:Wv,"List--secondary":"List--secondary__gi1ao",listSecondary:qv,"Item--selected":"Item--selected__yRWow",itemSelected:zv,Title:Vv,title:Gv,Description:Qv,description:Kv,Actions:Yv,actions:Zv,Action:Xv,action:Jv,"Item--disabled":"Item--disabled__Ke1u-",itemDisabled:e0,"List--small":"List--small__ijoSR",listSmall:t0,"List--medium":"List--medium__E1FEY",listMedium:n0,"List--large":"List--large__T8tfz",listLarge:r0,Icon:o0,icon:s0},yu=_.forwardRef(({children:e,className:t,selected:n,disabled:r=!1,...o},s)=>{const i=D(Re.Item,{[Re["Item--selected"]]:n,[Re["Item--disabled"]]:r},t);return l.jsx("li",{ref:s,className:i,role:"listitem","aria-disabled":r,...o,children:e})});yu.displayName="Item";const vu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Re.Title,t);return l.jsx("h3",{ref:r,className:o,...n,children:e})});vu.displayName="Title";const bu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Re.Description,t);return l.jsx("p",{ref:r,className:o,...n,children:e})});bu.displayName="Description";const Us=({className:e,...t})=>l.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,...t,children:[l.jsx("path",{d:"M6 6.5C6.27614 6.5 6.5 6.27614 6.5 6C6.5 5.72386 6.27614 5.5 6 5.5C5.72386 5.5 5.5 5.72386 5.5 6C5.5 6.27614 5.72386 6.5 6 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M9.5 6.5C9.77614 6.5 10 6.27614 10 6C10 5.72386 9.77614 5.5 9.5 5.5C9.22386 5.5 9 5.72386 9 6C9 6.27614 9.22386 6.5 9.5 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M2.5 6.5C2.77614 6.5 3 6.27614 3 6C3 5.72386 2.77614 5.5 2.5 5.5C2.22386 5.5 2 5.72386 2 6C2 6.27614 2.22386 6.5 2.5 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"})]});Us.displayName="HorizontalDots";const wu=_.forwardRef(({children:e,className:t,onClick:n,...r},o)=>{const s=_.useRef(null),[i,a]=_.useState(!1),c=D(Re.Actions,t),u=()=>{const w=Rt["DropdownList--open"],f=Rt["DropdownList--closed"];document.querySelectorAll(`.${w}`).forEach(C=>{C!==s.current&&(C.classList.remove(w),C.classList.add(f))})},d=w=>{w.stopPropagation(),i?p():(a(!0),n==null||n(w))},p=()=>{a(!1)},h=w=>{w.key==="Escape"&&p()},g=w=>{s.current&&!s.current.contains(w.target)&&p()};return _.useEffect(()=>(i?(u(),document.addEventListener("keydown",h),document.addEventListener("click",g)):(document.removeEventListener("keydown",h),document.removeEventListener("click",g)),()=>{document.removeEventListener("keydown",h),document.removeEventListener("click",g)}),[i]),l.jsxs("div",{ref:o,className:c,onClick:d,role:"button",tabIndex:0,"data-testid":"actions",...r,children:[l.jsx(Us,{}),l.jsx(Vr,{align:"left",ref:s,open:i,"data-testid":"actions-dropdown",role:"menu","aria-label":"Actions",children:e})]})});wu.displayName="Actions";const Cu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Re.Action,t);return l.jsx("button",{ref:r,className:o,...n,children:e})});Cu.displayName="Action";const xu=_.forwardRef(({children:e,className:t,...n},r)=>{const o=D(Re.Icon,t);return l.jsx("div",{ref:r,className:o,...n,children:e})});xu.displayName="Icon";const Be=_.forwardRef(({children:e,className:t,size:n="medium",variant:r,...o},s)=>{const i=D(Re.List,{[Re[`List--${n}`]]:n,[Re[`List--${r}`]]:r},t);return l.jsx("ul",{ref:s,className:i,role:"list",...o,children:e})});Be.displayName="List";Be.Item=yu;Be.Badges=vs;Be.Badge=ys;Be.Title=vu;Be.Description=bu;Be.Actions=wu;Be.Action=Cu;Be.Icon=xu;const i0="Navigation__uylxk",a0="PaginationContent__UpLw0",c0="PaginationEllipsis__perWk",l0="PaginationLink__GVUZj",u0="Active__u1Ahy",d0="Disabled__8WM0y",f0="Prev__wp4hc",h0="Next__eVyL5",Ze={Navigation:i0,PaginationContent:a0,PaginationEllipsis:c0,PaginationLink:l0,Active:u0,Disabled:d0,Prev:f0,Next:h0},Eu=({className:e,...t})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,...t,children:[l.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),l.jsx("path",{d:"M9 6l6 6l-6 6"})]});Eu.displayName="ChevronRight";const Su=({className:e,...t})=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,...t,children:[l.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),l.jsx("path",{d:"M15 6l-6 6l6 6"})]});Su.displayName="ChevronLeft";const Hs=({className:e,...t})=>l.jsx("nav",{role:"navigation","aria-label":"pagination",className:D(Ze.Navigation,e),...t});Hs.displayName="Pagination";const Ws=m.forwardRef(({className:e,...t},n)=>l.jsx("ul",{ref:n,className:D(Ze.PaginationContent,e),...t}));Ws.displayName="PaginationContent";const Rn=m.forwardRef(({className:e,...t},n)=>l.jsx("li",{ref:n,className:e,...t}));Rn.displayName="PaginationItem";const Hn=({className:e,isActive:t,...n})=>l.jsx("a",{"aria-current":t?"page":void 0,className:D(Ze.PaginationLink,t&&Ze.Active,e),...n});Hn.displayName="PaginationLink";const qs=({className:e,disabled:t,...n})=>l.jsxs(Hn,{"aria-label":"Go to previous page",className:D(t&&Ze.Disabled,Ze.Prev,e),...n,children:[l.jsx(Su,{}),l.jsx("span",{children:"Previous"})]});qs.displayName="PaginationPrevious";const zs=({className:e,disabled:t,...n})=>l.jsxs(Hn,{"aria-label":"Go to next page",className:D(t&&Ze.Disabled,Ze.Next,e),...n,children:[l.jsx("span",{children:"Next"}),l.jsx(Eu,{})]});zs.displayName="PaginationNext";const Vs=({className:e,...t})=>l.jsx("span",{"aria-hidden":!0,className:D(Ze.PaginationEllipsis,e),...t,children:l.jsx(Us,{})});Vs.displayName="PaginationEllipsis";function p0(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _u={exports:{}};(function(e,t){(function(n,r){typeof p0=="function"?e.exports=r():n.pluralize=r()})(ad,function(){var n=[],r=[],o={},s={},i={};function a(f){return typeof f=="string"?new RegExp("^"+f+"$","i"):f}function c(f,y){return f===y?y:f===f.toLowerCase()?y.toLowerCase():f===f.toUpperCase()?y.toUpperCase():f[0]===f[0].toUpperCase()?y.charAt(0).toUpperCase()+y.substr(1).toLowerCase():y.toLowerCase()}function u(f,y){return f.replace(/\$(\d{1,2})/g,function(C,x){return y[x]||""})}function d(f,y){return f.replace(y[0],function(C,x){var S=u(y[1],arguments);return c(C===""?f[x-1]:C,S)})}function p(f,y,C){if(!f.length||o.hasOwnProperty(f))return y;for(var x=C.length;x--;){var S=C[x];if(S[0].test(y))return d(y,S)}return y}function h(f,y,C){return function(x){var S=x.toLowerCase();return y.hasOwnProperty(S)?c(x,S):f.hasOwnProperty(S)?c(x,f[S]):p(S,x,C)}}function g(f,y,C,x){return function(S){var E=S.toLowerCase();return y.hasOwnProperty(E)?!0:f.hasOwnProperty(E)?!1:p(E,E,C)===E}}function w(f,y,C){var x=y===1?w.singular(f):w.plural(f);return(C?y+" ":"")+x}return w.plural=h(i,s,n),w.isPlural=g(i,s,n),w.singular=h(s,i,r),w.isSingular=g(s,i,r),w.addPluralRule=function(f,y){n.push([a(f),y])},w.addSingularRule=function(f,y){r.push([a(f),y])},w.addUncountableRule=function(f){if(typeof f=="string"){o[f.toLowerCase()]=!0;return}w.addPluralRule(f,"$0"),w.addSingularRule(f,"$0")},w.addIrregularRule=function(f,y){y=y.toLowerCase(),f=f.toLowerCase(),i[f]=y,s[y]=f},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(f){return w.addIrregularRule(f[0],f[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(f){return w.addPluralRule(f[0],f[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(f){return w.addSingularRule(f[0],f[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(w.addUncountableRule),w})})(_u);var m0=_u.exports;const g0=cd(m0),Gs=({count:e,singularText:t,children:n=(r,o)=>`${r} ${o}`})=>l.jsx(l.Fragment,{children:n(e,g0(t,e))});Gs.displayName="PluralizeCounter";const y0="TableContainer__osh6Z",v0="TableHeader__sYa-8",b0="Table__2cIs3",w0="selectable__WsGg1",C0="Cell__ZEv-K",x0="Right__YoM1V",E0="Center__CF3tr",S0="Sortable__JIV1V",_0="SortIcon__f0bBy",R0="Active__rJjxB",T0="Rotate__7cwTK",A0="Pagination__sbqMP",P0="PointerNone__kQdQS",fe={TableContainer:y0,TableHeader:v0,Table:b0,selectable:w0,Cell:C0,Right:x0,Center:E0,Sortable:S0,SortIcon:_0,Active:R0,Rotate:T0,Pagination:A0,PointerNone:P0},O0="EmptyStateContainer__Q9FEb",j0="Message__IHK6M",ya={EmptyStateContainer:O0,Message:j0},Ru=({size:e=64})=>l.jsxs("svg",{width:e,height:e,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsxs("g",{clipPath:"url(#clip-path)",children:[l.jsx("mask",{id:"mask0_1070_8032",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"64",height:"64",children:l.jsx("path",{d:"M64 0H0V64H64V0Z",fill:"white"})}),l.jsx("g",{mask:"url(#mask0_1070_8032)",children:l.jsx("path",{d:"M40 10.6673H13.3333V53.334H50.6667V21.334H40V10.6673ZM8 7.97932C8 6.51798 9.192 5.33398 10.664 5.33398H42.6667L56 18.6673V55.982C56.0024 56.3321 55.936 56.6793 55.8043 57.0039C55.6725 57.3284 55.4781 57.6239 55.2323 57.8732C54.9864 58.1225 54.6936 58.3209 54.3712 58.4572C54.0485 58.5935 53.7021 58.6649 53.352 58.6673H10.648C9.94768 58.6625 9.27739 58.3823 8.78192 57.8873C8.28645 57.3924 8.00557 56.7223 8 56.022V7.97932ZM36.0773 38.5233C33.8408 39.83 31.2056 40.2788 28.6627 39.786C26.1197 39.2929 23.8428 37.8921 22.2566 35.8444C20.6704 33.7966 19.883 31.2417 20.0414 28.6564C20.1998 26.071 21.293 23.6315 23.1173 21.7927C24.9532 19.9571 27.3955 18.8541 29.9864 18.6904C32.5773 18.5267 35.1389 19.3134 37.1912 20.9032C39.2435 22.493 40.6456 24.7767 41.1347 27.3263C41.6237 29.8759 41.1664 32.5164 39.848 34.7527L45.7413 40.646L41.9707 44.4193L36.0773 38.5233ZM34.4293 33.1047C34.9387 32.6126 35.3451 32.0241 35.6245 31.3735C35.904 30.7228 36.0512 30.0231 36.0573 29.3148C36.0635 28.6065 35.9285 27.9044 35.6603 27.2489C35.3923 26.5935 34.9963 25.998 34.4955 25.4972C33.9947 24.9964 33.3992 24.6004 32.7437 24.3323C32.0883 24.0641 31.3861 23.9292 30.6779 23.9353C29.9696 23.9415 29.2699 24.0886 28.6192 24.3681C27.9685 24.6476 27.38 25.0539 26.888 25.5633C25.9165 26.5692 25.3789 27.9164 25.3911 29.3148C25.4032 30.7132 25.9641 32.0508 26.9531 33.0396C27.9419 34.0287 29.2795 34.5895 30.6779 34.6015C32.0763 34.6137 33.4235 34.0761 34.4293 33.1047Z",fill:"currentColor"})})]}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip-path",children:l.jsx("rect",{width:"64",height:"64",fill:"white"})})})]});Ru.displayName="EmptyStateIcon";const Qs=({message:e="No results found"})=>l.jsxs("div",{className:D(ya.EmptyStateContainer),children:[l.jsx(Ru,{}),l.jsx("p",{className:ya.Message,children:e})]});Qs.displayName="EmptyState";const D0=(e,t,n=1)=>{if(e<=1)return["1"];const r=[],o=s=>{(r.length===0||r[r.length-1]!==s)&&r.push(s)};o(1),t-n>2&&o("...");for(let s=Math.max(2,t-n);s<=Math.min(e-1,t+n);s++)o(s);return t+n<e-1&&o("..."),o(e),r.map(String)},Tu=({page:e,totalPages:t,onPageChange:n})=>{const r=e===1,o=e===t;return l.jsx(Hs,{className:fe.Pagination,children:l.jsxs(Ws,{children:[l.jsx(Rn,{children:l.jsx(qs,{className:D({[fe.PointerNone]:r}),onClick:()=>!r&&n(e-1)})}),D0(t,e).map((s,i)=>l.jsxs(Rn,{children:[s==="..."&&l.jsx(Vs,{}),s!=="..."&&l.jsx(Hn,{isActive:+s===e,onClick:()=>+s!==e&&n(+s),children:s})]},i)),l.jsx(Rn,{children:l.jsx(zs,{className:D({[fe.PointerNone]:o}),onClick:()=>!o&&n(e+1)})})]})})};Tu.displayName="TablePagination";const Au=({className:e,...t})=>l.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,...t,children:l.jsx("path",{d:"M6 2.5V9.5M6 9.5L9.5 6M6 9.5L2.5 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});Au.displayName="ArrowDown";const Pu=({columns:e,data:t,isLoading:n,totalCount:r=0,headerLabel:o,sort:s,loadingConfig:i,pagination:a,onRowClick:c})=>{const{count:u=5,height:d=40}=i||{},p=y=>y.sortName??y.name,h=y=>D({[fe.Cell]:!0,[fe.Center]:y.align==="center",[fe.Right]:y.align==="right",[fe.Sortable]:y.isSortable}),g=y=>{if(!s)return"";const C=p(y);return D({[fe.SortIcon]:!0,[fe.Active]:y.isSortable&&s.field===C,[fe.Rotate]:s.field===C&&s.direction==="asc"})},w=y=>()=>c==null?void 0:c(y),f=y=>()=>{if(!s||!y.isSortable)return;const{field:C,direction:x,onSort:S}=s,E=p(y);C===E?S(E,x==="asc"?"desc":"asc"):S(E,"asc")};return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:fe.TableContainer,children:[o&&l.jsx("div",{className:fe.TableHeader,children:l.jsx(Gs,{count:r,singularText:o,children:(y,C)=>`${y} ${C}`})}),l.jsxs("table",{className:fe.Table,children:[l.jsx("thead",{children:l.jsx("tr",{children:e.map(y=>l.jsx("th",{children:l.jsxs("div",{className:h(y),onClick:f(y),children:[l.jsx("span",{children:y.displayName}),y.isSortable&&l.jsx(Au,{className:g(y)})]})},y.name))})}),l.jsx("tbody",{children:l.jsxs(ft,{children:[l.jsx(ft.When,{condition:n,children:[...Array(u).keys()].map(y=>l.jsx("tr",{children:l.jsx("td",{colSpan:e.length,style:{padding:4},children:l.jsx(Gr,{height:d})})},y))}),l.jsx(ft.When,{condition:!t.length,children:l.jsx("tr",{children:l.jsx("td",{colSpan:e.length,children:l.jsx(Qs,{})})})}),l.jsx(ft.Else,{children:t.map((y,C)=>l.jsx("tr",{className:c&&fe.selectable,onClick:w(y),children:e.map(x=>l.jsx("td",{style:x.width?{width:x.width}:{},children:l.jsx("div",{className:h(x),children:x.cellRenderer?x.cellRenderer(y):x.valueGetter?x.valueGetter(y):y[x.name]})},`${x.name}-${C}`))},C))})]})})]})]}),a&&l.jsx(Tu,{...a})]})};Pu.displayName="Table";const k0="alert__LblpE",L0="destructive__bLNSM",I0="alertTitle__gblKf",N0="alertDescription__BuVHV",Mr={alert:k0,default:"default__mgO6A",destructive:L0,alertTitle:I0,alertDescription:N0},to=({className:e,variant:t="default",children:n,...r})=>l.jsx("div",{"data-slot":"alert",role:"alert",className:D(Mr.alert,Mr[t],e),...r,children:n}),M0=m.forwardRef(({children:e,className:t,...n},r)=>l.jsx("div",{ref:r,"data-slot":"alert-title",className:D(Mr.alertTitle,t),...n,children:e})),$0=m.forwardRef(({children:e,className:t,...n},r)=>l.jsx("div",{ref:r,"data-slot":"alert-description",className:D(Mr.alertDescription,t),...n,children:e}));to.displayName="Alert";to.Title=M0;to.Description=$0;function va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function $r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?va(Object(n),!0).forEach(function(r){F0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):va(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ou(e){return(Ou=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function F0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function os(e){return(os=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function ju(e,t){var n;if(typeof(n=t.domElement?function(){return t.domElement}:t.domElementGetter?t.domElementGetter:e.domElementGetter?e.domElementGetter:function(r){var o=r.appName||r.name;if(!o)throw Error("single-spa's dom-element-getter-helpers was not given an application name as a prop, so it can't make a unique dom element container for the react application");var s="single-spa-application:".concat(o);return function(){var i=document.getElementById(s);return i||((i=document.createElement("div")).id=s,document.body.appendChild(i)),i}}(t))!="function")throw Error("single-spa's dom-element-getter-helpers was given an invalid domElementGetter for application or parcel '".concat(t.name,"'. Expected a function, received ").concat(os(n)));return function(){var r=n(t);if(!(r instanceof HTMLElement))throw Error("single-spa's dom-element-getter-helpers: domElementGetter returned an invalid dom element for application or parcel '".concat(t.name,"'. Expected HTMLElement, received ").concat(os(r)));return r}}var Dn=null;try{Dn=require("react").createContext()}catch{}var B0={React:null,ReactDOM:null,ReactDOMClient:null,rootComponent:null,loadRootComponent:null,errorBoundary:null,errorBoundaryClass:null,domElementGetter:null,parcelCanUpdate:!0,suppressComponentDidCatchWarning:!1,domElements:{},renderResults:{},updateResolves:{},unmountResolves:{}};function U0(e){if(Ou(e)!=="object")throw new Error("single-spa-react requires a configuration object");var t,n=$r($r({},B0),e);if(!n.React)throw new Error("single-spa-react must be passed opts.React");if(!n.ReactDOM&&!n.ReactDOMClient)throw new Error("single-spa-react must be passed opts.ReactDOM or opts.ReactDOMClient");if(n.renderType||((t=n.ReactDOMClient)!==null&&t!==void 0&&t.createRoot?n.renderType="createRoot":n.renderType="render"),!n.rootComponent&&!n.loadRootComponent)throw new Error("single-spa-react must be passed opts.rootComponent or opts.loadRootComponent");if(n.errorBoundary&&typeof n.errorBoundary!="function")throw Error("The errorBoundary opt for single-spa-react must either be omitted or be a function that returns React elements");!Dn&&n.React.createContext&&(Dn=n.React.createContext()),n.SingleSpaRoot=function(o){function s(i){s.displayName="SingleSpaRoot(".concat(i.name,")")}return s.prototype=Object.create(o.React.Component.prototype),s.prototype.componentDidMount=function(){setTimeout(this.props.mountFinished)},s.prototype.componentWillUnmount=function(){setTimeout(this.props.unmountFinished)},s.prototype.render=function(){return setTimeout(this.props.updateFinished),this.props.children},s}(n);var r={bootstrap:H0.bind(null,n),mount:W0.bind(null,n),unmount:q0.bind(null,n)};return n.parcelCanUpdate&&(r.update=z0.bind(null,n)),r}function H0(e,t){return e.rootComponent?Promise.resolve():e.loadRootComponent(t).then(function(n){e.rootComponent=n})}function W0(e,t){return new Promise(function(n,r){e.suppressComponentDidCatchWarning||!function(a){if(!(a&&typeof a.version=="string"&&a.version.indexOf(".")>=0))return!1;var c=a.version.slice(0,a.version.indexOf("."));try{return Number(c)>=16}catch{return!1}}(e.React)||e.errorBoundary||e.errorBoundaryClass||(e.rootComponent.prototype?e.rootComponent.prototype.componentDidCatch||console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent should implement componentDidCatch to avoid accidentally unmounting the entire single-spa application.")):console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent does not implement an error boundary. If using a functional component, consider providing an opts.errorBoundary to singleSpaReact(opts).")));var o=Du(e,t,function(){n(this)}),s=ju(e,t)(),i=function(a){var c=a.reactDom,u=a.renderType,d=a.elementToRender,p=a.domElement,h=c[u];if(typeof h!="function")throw new Error('renderType "'.concat(u,'" did not return a function.'));switch(u){case"createRoot":case"unstable_createRoot":case"createBlockingRoot":case"unstable_createBlockingRoot":var g=h(p);return g.render(d),g;case"hydrateRoot":return h(p,d);case"hydrate":default:return h(d,p),null}}({elementToRender:o,domElement:s,reactDom:Ks(e),renderType:V0(e)});e.domElements[t.name]=s,e.renderResults[t.name]=i})}function q0(e,t){return new Promise(function(n){e.unmountResolves[t.name]=n;var r=e.renderResults[t.name];r&&r.unmount?r.unmount():Ks(e).unmountComponentAtNode(e.domElements[t.name]),delete e.domElements[t.name],delete e.renderResults[t.name]})}function z0(e,t){return new Promise(function(n){e.updateResolves[t.name]||(e.updateResolves[t.name]=[]),e.updateResolves[t.name].push(n);var r=Du(e,t,null),o=e.renderResults[t.name];if(o&&o.render)o.render(r);else{var s=ju(e,t)();Ks(e).render(r,s)}})}function Ks(e){return e.ReactDOMClient||e.ReactDOM}function V0(e){return typeof e.renderType=="function"?e.renderType():e.renderType}function Du(e,t,n){var r=e.React.createElement(e.rootComponent,t),o=Dn?e.React.createElement(Dn.Provider,{value:t},r):r;return(e.errorBoundary||t.errorBoundary||e.errorBoundaryClass||t.errorBoundaryClass)&&(e.errorBoundaryClass=e.errorBoundaryClass||t.errorBoundaryClass||function(s,i){function a(c){s.React.Component.apply(this,arguments),this.state={caughtError:null,caughtErrorInfo:null},a.displayName="SingleSpaReactErrorBoundary(".concat(c.name,")")}return a.prototype=Object.create(s.React.Component.prototype),a.prototype.render=function(){return this.state.caughtError?(s.errorBoundary||i.errorBoundary)(this.state.caughtError,this.state.caughtErrorInfo,this.props):this.props.children},a.prototype.componentDidCatch=function(c,u){this.setState({caughtError:c,caughtErrorInfo:u})},a}(e,t),o=e.React.createElement(e.errorBoundaryClass,t,o)),o=e.React.createElement(e.SingleSpaRoot,$r($r({},t),{},{mountFinished:n,updateFinished:function(){e.updateResolves[t.name]&&(e.updateResolves[t.name].forEach(function(s){return s()}),delete e.updateResolves[t.name])},unmountFinished:function(){e.unmountResolves[t.name]&&(e.unmountResolves[t.name](),delete e.unmountResolves[t.name])}}),o)}const G0=e=>{const t=new vh;return function(r){if(!r)throw new Error("Microfrontend did not receive any properties !!");const o=as(r.module.name);return l.jsx($a,{module:o,children:l.jsxs(Eh,{client:t,children:[l.jsx(e,{...r}),l.jsx(nh,{position:"top-right",reverseOrder:!0})]})})}},Q0=({rootComponent:e,...t})=>U0({errorBoundary(n){return console.error(n),l.jsx(Bs,{})},...t,rootComponent:G0(e)}),K0=e=>{const t={authUser:{id:"testuser",username:"testuser",displayName:"Test User",applications:[]},catalog:[],authentication:{passwordMethodEnabled:!0,registerEnabled:!0,invitationsEnabled:!0,resetPasswordExpiration:3e4,passwordConstraints:{lowerCaseRequired:!1,upperCaseRequired:!1,symbolRequired:!1,digitRequired:!1,minLength:0,maxLength:8},sessionExpiration:864e5,jwtSecret:"",sessionIncludeOrigUser:!1,impersonationMode:"cookie",canImpersonateNonExistentUsers:!1,providers:[]},platformVersion:"0.0.0"};Object.defineProperty(window,Tn,{value:e?Ld(t,e):t})};exports.Alert=to;exports.ApplicationIcon=Nc;exports.Authorized=gs;exports.Badge=ys;exports.Badges=vs;exports.Button=jr;exports.ClipboardCheckIcon=Fc;exports.ClipboardIcon=$c;exports.ConfirmDialog=mu;exports.CopyToClipboardButton=kp;exports.Dialog=ie;exports.DropdownList=Vr;exports.EmptyState=Qs;exports.ErrorState=Bs;exports.ExtendExtensionPoint=Zh;exports.ExtensionPoint=jc;exports.EyeIcon=Nl;exports.FieldGroup=Bc;exports.Input=zr;exports.InputError=Uc;exports.Label=Hc;exports.List=Be;exports.ModulePlaceHolder=Ic;exports.Pagination=Hs;exports.PaginationContent=Ws;exports.PaginationEllipsis=Vs;exports.PaginationItem=Rn;exports.PaginationLink=Hn;exports.PaginationNext=zs;exports.PaginationPrevious=qs;exports.PasswordInput=cy;exports.Pill=Ov;exports.PlatformEventListener=op;exports.PlatformEvents=td;exports.PluralizeCounter=Gs;exports.SearchAutocomplete=Vc;exports.SearchInput=ws;exports.Select=bs;exports.Show=ft;exports.Skeleton=Gr;exports.SkeletonList=Yc;exports.Spinner=kl;exports.Switch=Ll;exports.Table=Pu;exports.Tabs=ny;exports.TabsContent=sy;exports.TabsList=ry;exports.TabsTrigger=oy;exports.TextArea=qc;exports.Tooltip=Dl;exports.authorized=ip;exports.dropdownListStyles=Rt;exports.extensionPoint=Jh;exports.getApplications=is;exports.getInitials=yd;exports.getOperations=Fa;exports.hasAccess=Ua;exports.initializeMicroFrontend=Q0;exports.isPlatformCustomizationCompleted=ff;exports.isValidEmail=gd;exports.logout=hd;exports.navigateTo=pd;exports.platformHaveAnyCustomization=df;exports.setupTestEnvironment=K0;exports.useApplicationIcon=Ka;exports.useApplicationJSModule=Hr;exports.useApplicationMenu=Od;exports.useApplicationUIModule=Qa;exports.useApplications=Va;exports.useAuth=Br;exports.useCatalog=mn;exports.useCurrentApplication=ls;exports.useCurrentApplicationName=ec;exports.useCurrentJSModule=$d;exports.useDocumentationMenuItems=Ja;exports.useDynamicFonts=ac;exports.useDynamicStyleSheet=ic;exports.useExtendExtensionPoint=oc;exports.useExtensionPoint=rc;exports.useGetPlatformTheme=uf;exports.useHasNoSession=ud;exports.useLocation=Ia;exports.useModule=as;exports.useModuleCommonPaths=fd;exports.useModuleConfig=Ha;exports.useModuleConfigByName=Wa;exports.useModuleMenu=Ya;exports.useModuleMetadata=Mn;exports.useMutableCatalog=id;exports.useNotifications=ds;exports.useOperations=Ba;exports.usePAECustomizationsLoadingState=lf;exports.usePAEState=Fr;exports.usePlatformCustomization=cf;exports.usePlatformEventListener=sc;exports.useResource=Ih;exports.useResourceActions=Pc;exports.useServiceBaseURL=tc;exports.useServiceInvoker=us;exports.useTenants=Qh;exports.useTrackEvent=Wd;exports.useTrackEvents=nc;exports.useUIApplications=Ga;exports.useUserState=Yh;
|
package/dist/index.esm.js
CHANGED
|
@@ -9837,8 +9837,7 @@ export {
|
|
|
9837
9837
|
m2 as setupTestEnvironment,
|
|
9838
9838
|
Zu as useApplicationIcon,
|
|
9839
9839
|
as as useApplicationJSModule,
|
|
9840
|
-
|
|
9841
|
-
H0 as useApplicationMenuWithDocumentation,
|
|
9840
|
+
H0 as useApplicationMenu,
|
|
9842
9841
|
Qu as useApplicationUIModule,
|
|
9843
9842
|
Vu as useApplications,
|
|
9844
9843
|
is as useAuth,
|
|
@@ -9858,6 +9857,7 @@ export {
|
|
|
9858
9857
|
M0 as useModuleCommonPaths,
|
|
9859
9858
|
Bu as useModuleConfig,
|
|
9860
9859
|
Uu as useModuleConfigByName,
|
|
9860
|
+
Xu as useModuleMenu,
|
|
9861
9861
|
Br as useModuleMetadata,
|
|
9862
9862
|
N0 as useMutableCatalog,
|
|
9863
9863
|
Va as useNotifications,
|
package/dist/index.systemjs.js
CHANGED
|
@@ -20,7 +20,7 @@ Check the top-level render call using <`+k+">.")}return A}}function iu(y,A){{if(
|
|
|
20
20
|
<%s {...props} />
|
|
21
21
|
React keys must be passed directly to JSX without using spread:
|
|
22
22
|
let props = %s;
|
|
23
|
-
<%s key={someKey} {...props} />`,Ni,qt,ev,qt),au[qt+Ni]=!0}}return y===r?Yg(ie):Qg(ie),ie}}function Kg(y,A,k){return cu(y,A,k,!0)}function Zg(y,A,k){return cu(y,A,k,!1)}var Xg=Zg,Jg=Kg;Rn.Fragment=r,Rn.jsx=Xg,Rn.jsxs=Jg}(),Rn}Ji.exports=yu();var l=Ji.exports;const ts=ro(null),ns=({module:e,children:t})=>l.jsx(ts.Provider,{value:e,children:t});ns.displayName="PAEModule";const Kn=C("useModuleMetadata",()=>{const e=oo(ts);if(!e)throw new Error("Module metadata was not setup yet !!");return e});function fo(){if(!window[An])throw new Error("PAE Global state not found.");return window[An]}const rs=C("getApplications",()=>{const{authUser:{applications:e}}=fo();return e||[]}),bu=C("getOperations",e=>rs().filter(t=>t.isGlobal||t.name===e).flatMap(t=>t.operations)),wu=C("useOperations",()=>{const{application:e}=Kn();return Re(()=>bu(e),[e])}),_u=C("hasAccess",e=>(...t)=>t.every(n=>e.some(r=>r.name===n))),po=C("useAuth",()=>{const[{authUser:e}]=uo(),t=wu();return{authUser:e,hasAccess:Re(()=>_u(t),[t])}}),ov=C("useHasNoSession",()=>{const{authUser:e}=po();return!e||e.id==="anon"}),xu=C("useModuleConfig",()=>{var e;return((e=Kn().ui)==null?void 0:e.customProps)??{}}),os=C("useModule",e=>{const t=Pn();return Re(()=>{const n=t.find(r=>r.name===e);if(!n)throw new Error(`Could not find the module [${e}] in the local catalog !`);return n},[t,e])}),Cu=C("useModuleConfigByName",e=>{var t,n;return((n=(t=os(e))==null?void 0:t.ui)==null?void 0:n.customProps)??{}}),Eu=e=>e.replace(/\/+/g,"/"),iv=C("useModuleCommonPaths",(e,t="only-base-path")=>{const{apiDocs:n,health:r,version:o,changelog:i}=(e==null?void 0:e.commonPaths)||{},s=(a,c="")=>{if(a===void 0&&!c)return;const u=a??c;if(t==="only-base-path")return u;const d=Eu(`${e.baseUrl}/${u}`);return t==="with-module-base"?d:`${document.location.origin}${d}`};return{apiDocsPath:s(n,"/api-docs-json"),healthPath:s(r,"/health"),versionPath:s(o,"/version"),changelogPath:s(i,"/changelog")}});function Su(){window.open(du,"_self")}const sv=C("navigateTo",e=>Qi(e)),Tu=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/,av=C("isValidEmail",e=>Tu.test(e)),cv=C("getInitials",(e,t=2)=>{if(!e)return"";const n=e.split(" ");return n.length===1?n.join("").slice(0,t):n.map(r=>r[0]).join("").slice(0,t)}),is=e=>e.type==="app",Au=e=>e.modules.some(is)&&e.route&&e.route!=="/",ss=e=>{const{catalog:t}=fo();return Zn(t.filter(n=>n.application===e))},Zn=(e=[])=>e.find(t=>{var n;return is(t)&&((n=t.ui)==null?void 0:n.route)!=="/"}),Pu=C("useApplications",()=>{const e=Pn();return Re(()=>rs().map(n=>{var i,s,a;const r=Ru(e,n.name),o=Zn(r);return{name:n.name,displayName:((s=(i=o==null?void 0:o.ui)==null?void 0:i.customProps)==null?void 0:s.overrideApplicationDisplayName)??n.displayName,modules:r,route:(a=o==null?void 0:o.ui)==null?void 0:a.route,roles:[],operations:n.operations}}),[e])}),Ru=(e,t)=>e.filter(n=>n.application===t)||[],Ou=C("useUIApplications",()=>{const e=Pu();return Re(()=>e.filter(Au),[e])}),ku=C("useApplicationUIModule",e=>Re(()=>e?ss(e.name):void 0,[e])),it=new Map,ju=e=>{try{const{catalog:t}=fo(),n=t.find(r=>r.name===e);return n!=null&&n.version?`${e}@${n.version}`:e}catch{return e}},ho=C("useApplicationJSModule",e=>{const[t,n]=F(null);return K(()=>{(async()=>{if(!e){n(null);return}try{const o=ju(e);if(it.has(o)){const s=it.get(o);n(s);return}const i=await System.import(e);it.set(o,i),n(i)}catch(o){console.error(`Error importing module ${e}: ${o.message}`),n(null)}})()},[e,n]),t}),Du=e=>{e?(Array.from(it.keys()).filter(n=>n.startsWith(e)).forEach(n=>it.delete(n)),console.log(`[useApplicationJSModule] Cleared cache for module: ${e}`)):(it.clear(),console.log("[useApplicationJSModule] Cleared all module cache"))};typeof window<"u"&&(window.PAE={...window.PAE,clearModuleCache:Du,getModuleCacheSize:()=>it.size,getModuleCacheKeys:()=>Array.from(it.keys())});const Lu=C("useApplicationIcon",e=>{const t=typeof e=="string"?ss(e):Zn(e==null?void 0:e.modules),n=ho(t==null?void 0:t.name);return n==null?void 0:n.icon}),Iu=C("
|
|
23
|
+
<%s key={someKey} {...props} />`,Ni,qt,ev,qt),au[qt+Ni]=!0}}return y===r?Yg(ie):Qg(ie),ie}}function Kg(y,A,k){return cu(y,A,k,!0)}function Zg(y,A,k){return cu(y,A,k,!1)}var Xg=Zg,Jg=Kg;Rn.Fragment=r,Rn.jsx=Xg,Rn.jsxs=Jg}(),Rn}Ji.exports=yu();var l=Ji.exports;const ts=ro(null),ns=({module:e,children:t})=>l.jsx(ts.Provider,{value:e,children:t});ns.displayName="PAEModule";const Kn=C("useModuleMetadata",()=>{const e=oo(ts);if(!e)throw new Error("Module metadata was not setup yet !!");return e});function fo(){if(!window[An])throw new Error("PAE Global state not found.");return window[An]}const rs=C("getApplications",()=>{const{authUser:{applications:e}}=fo();return e||[]}),bu=C("getOperations",e=>rs().filter(t=>t.isGlobal||t.name===e).flatMap(t=>t.operations)),wu=C("useOperations",()=>{const{application:e}=Kn();return Re(()=>bu(e),[e])}),_u=C("hasAccess",e=>(...t)=>t.every(n=>e.some(r=>r.name===n))),po=C("useAuth",()=>{const[{authUser:e}]=uo(),t=wu();return{authUser:e,hasAccess:Re(()=>_u(t),[t])}}),ov=C("useHasNoSession",()=>{const{authUser:e}=po();return!e||e.id==="anon"}),xu=C("useModuleConfig",()=>{var e;return((e=Kn().ui)==null?void 0:e.customProps)??{}}),os=C("useModule",e=>{const t=Pn();return Re(()=>{const n=t.find(r=>r.name===e);if(!n)throw new Error(`Could not find the module [${e}] in the local catalog !`);return n},[t,e])}),Cu=C("useModuleConfigByName",e=>{var t,n;return((n=(t=os(e))==null?void 0:t.ui)==null?void 0:n.customProps)??{}}),Eu=e=>e.replace(/\/+/g,"/"),iv=C("useModuleCommonPaths",(e,t="only-base-path")=>{const{apiDocs:n,health:r,version:o,changelog:i}=(e==null?void 0:e.commonPaths)||{},s=(a,c="")=>{if(a===void 0&&!c)return;const u=a??c;if(t==="only-base-path")return u;const d=Eu(`${e.baseUrl}/${u}`);return t==="with-module-base"?d:`${document.location.origin}${d}`};return{apiDocsPath:s(n,"/api-docs-json"),healthPath:s(r,"/health"),versionPath:s(o,"/version"),changelogPath:s(i,"/changelog")}});function Su(){window.open(du,"_self")}const sv=C("navigateTo",e=>Qi(e)),Tu=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/,av=C("isValidEmail",e=>Tu.test(e)),cv=C("getInitials",(e,t=2)=>{if(!e)return"";const n=e.split(" ");return n.length===1?n.join("").slice(0,t):n.map(r=>r[0]).join("").slice(0,t)}),is=e=>e.type==="app",Au=e=>e.modules.some(is)&&e.route&&e.route!=="/",ss=e=>{const{catalog:t}=fo();return Zn(t.filter(n=>n.application===e))},Zn=(e=[])=>e.find(t=>{var n;return is(t)&&((n=t.ui)==null?void 0:n.route)!=="/"}),Pu=C("useApplications",()=>{const e=Pn();return Re(()=>rs().map(n=>{var i,s,a;const r=Ru(e,n.name),o=Zn(r);return{name:n.name,displayName:((s=(i=o==null?void 0:o.ui)==null?void 0:i.customProps)==null?void 0:s.overrideApplicationDisplayName)??n.displayName,modules:r,route:(a=o==null?void 0:o.ui)==null?void 0:a.route,roles:[],operations:n.operations}}),[e])}),Ru=(e,t)=>e.filter(n=>n.application===t)||[],Ou=C("useUIApplications",()=>{const e=Pu();return Re(()=>e.filter(Au),[e])}),ku=C("useApplicationUIModule",e=>Re(()=>e?ss(e.name):void 0,[e])),it=new Map,ju=e=>{try{const{catalog:t}=fo(),n=t.find(r=>r.name===e);return n!=null&&n.version?`${e}@${n.version}`:e}catch{return e}},ho=C("useApplicationJSModule",e=>{const[t,n]=F(null);return K(()=>{(async()=>{if(!e){n(null);return}try{const o=ju(e);if(it.has(o)){const s=it.get(o);n(s);return}const i=await System.import(e);it.set(o,i),n(i)}catch(o){console.error(`Error importing module ${e}: ${o.message}`),n(null)}})()},[e,n]),t}),Du=e=>{e?(Array.from(it.keys()).filter(n=>n.startsWith(e)).forEach(n=>it.delete(n)),console.log(`[useApplicationJSModule] Cleared cache for module: ${e}`)):(it.clear(),console.log("[useApplicationJSModule] Cleared all module cache"))};typeof window<"u"&&(window.PAE={...window.PAE,clearModuleCache:Du,getModuleCacheSize:()=>it.size,getModuleCacheKeys:()=>Array.from(it.keys())});const Lu=C("useApplicationIcon",e=>{const t=typeof e=="string"?ss(e):Zn(e==null?void 0:e.modules),n=ho(t==null?void 0:t.name);return n==null?void 0:n.icon}),Iu=C("useModuleMenu",e=>{const t=Zn(e==null?void 0:e.modules),n=ho(t==null?void 0:t.name),[r,o]=F(!1),[i,s]=F({}),a=async()=>(typeof(n==null?void 0:n.menu)=="function"?await n.menu():n==null?void 0:n.menu)||[],c=async()=>{if(!(n!=null&&n.menu))return[];o(!0);const h=as((e==null?void 0:e.operations)||[]),p=(await a()).map(g=>{const{operations:w,items:f,path:v}=g;if(w!=null&&w.length&&!h(w))return null;const _=(f||[]).filter(x=>{var S;return!((S=x==null?void 0:x.operations)!=null&&S.length)||h(x.operations)});return!_.length&&!v?null:{...g,items:_}}).filter(Boolean);return o(!1),p},u=async()=>{const h=await c();e&&s(p=>({...p,[e.name]:h}))};K(()=>{u()},[n==null?void 0:n.menu]);const d=Re(()=>e?i[e.name]||[]:[],[i,e]);return{loading:r,menu:d}}),as=e=>t=>t.every(n=>e.some(r=>r.name===n));/**
|
|
24
24
|
* @license lucide-react v0.511.0 - ISC
|
|
25
25
|
*
|
|
26
26
|
* This source code is licensed under the ISC license.
|
|
@@ -45,7 +45,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
45
45
|
*
|
|
46
46
|
* This source code is licensed under the ISC license.
|
|
47
47
|
* See the LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/const zu=Uu("book-text",[["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"}]]),Hu=C("useDocumentationMenuItems",e=>{const t=Pn();return Re(()=>{if(!e)return[];const n=t.filter(o=>o.type==="documentation"&&o.application===e.name),r=as(e.operations||[]);return n.filter(o=>{var i,s;return(s=(i=o.authorization)==null?void 0:i.operations)!=null&&s.length?r(o.authorization.operations):!0}).map(o=>{var i;return{label:o.displayName,externalUrl:o.baseUrl,target:"_blank",align:"bottom",Icon:Tn(zu,{size:20}),operations:((i=o.authorization)==null?void 0:i.operations)||[]}})},[t,e])}),uv=C("
|
|
48
|
+
*/const zu=Uu("book-text",[["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"}]]),Hu=C("useDocumentationMenuItems",e=>{const t=Pn();return Re(()=>{if(!e)return[];const n=t.filter(o=>o.type==="documentation"&&o.application===e.name),r=as(e.operations||[]);return n.filter(o=>{var i,s;return(s=(i=o.authorization)==null?void 0:i.operations)!=null&&s.length?r(o.authorization.operations):!0}).map(o=>{var i;return{label:o.displayName,externalUrl:o.baseUrl,target:"_blank",align:"bottom",Icon:Tn(zu,{size:20}),operations:((i=o.authorization)==null?void 0:i.operations)||[]}})},[t,e])}),uv=C("useApplicationMenu",e=>{const{menu:t,loading:n}=Iu(e),r=Hu(e),o=Re(()=>[...t,...r],[t,r]);return{loading:n,menu:o}});function ee(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}function St(e){return function t(n){return arguments.length===0||ee(n)?t:e.apply(this,arguments)}}function st(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return ee(n)?t:St(function(o){return e(n,o)});default:return ee(n)&&ee(r)?t:ee(n)?St(function(o){return e(o,r)}):ee(r)?St(function(o){return e(n,o)}):e(n,r)}}}function mo(e){return function t(n,r,o){switch(arguments.length){case 0:return t;case 1:return ee(n)?t:st(function(i,s){return e(n,i,s)});case 2:return ee(n)&&ee(r)?t:ee(n)?st(function(i,s){return e(i,r,s)}):ee(r)?st(function(i,s){return e(n,i,s)}):St(function(i){return e(n,r,i)});default:return ee(n)&&ee(r)&&ee(o)?t:ee(n)&&ee(r)?st(function(i,s){return e(i,s,o)}):ee(n)&&ee(o)?st(function(i,s){return e(i,r,s)}):ee(r)&&ee(o)?st(function(i,s){return e(n,i,s)}):ee(n)?St(function(i){return e(i,r,o)}):ee(r)?St(function(i){return e(n,i,o)}):ee(o)?St(function(i){return e(n,r,i)}):e(n,r,o)}}}function Xn(e,t){return Object.prototype.hasOwnProperty.call(t,e)}function us(e){return Object.prototype.toString.call(e)==="[object Object]"}var Wu=mo(function(t,n,r){var o=t(n),i=t(r);return o>i?-1:o<i?1:0}),Vu=mo(function(t,n,r){var o={},i;n=n||{},r=r||{};for(i in n)Xn(i,n)&&(o[i]=Xn(i,r)?t(i,n[i],r[i]):n[i]);for(i in r)Xn(i,r)&&!Xn(i,o)&&(o[i]=r[i]);return o}),Gu=mo(function e(t,n,r){return Vu(function(o,i,s){return us(i)&&us(s)?e(t,i,s):t(o,i,s)},n,r)}),qu=st(function(t,n){return Gu(function(r,o,i){return i},t,n)}),Qu=st(function(t,n){return Array.prototype.slice.call(n,0).sort(function(r,o){for(var i=0,s=0;i===0&&s<t.length;)i=t[s](r,o),s+=1;return i})});const ds=C("useCurrentApplication",()=>{const e=mu(),t=Ou();return Re(()=>Yu(e,t),[e,t])}),Yu=(e,t)=>Qu([Wu(Ku)],t).find(n=>n.route&&e.startsWith(n.route)),Ku=e=>{var t;return((t=e==null?void 0:e.route)==null?void 0:t.length)||-1},Zu=C("useCurrentApplicationName",()=>{var e;return(e=ds())==null?void 0:e.name}),dv=C("useCurrentJSModule",()=>{const e=ds(),t=ku(e);return ho(t==null?void 0:t.name)}),Xu=C("useServiceBaseURL",(e,t)=>{const r=Pn().find(o=>o.name===e);if(!r){if(t)return null;throw new Error(`Service with name [${e}] not available in the catalog`)}return r.baseUrl}),fs=C("useServiceInvoker",(e,t)=>{const n=Xu(e,!!t)??t;return ue((r,o)=>{const s={Accept:"application/json",...(o==null?void 0:o.body)instanceof FormData?{}:{"Content-Type":"application/json"},...o==null?void 0:o.headers};return fetch(Ju(`${n}${r}`),{...o,headers:s})},[n])}),Ju=e=>e.replace(/\/+/g,"/"),ed=(e,t)=>n=>({timestamp:new Date(new Date().toUTCString()).toISOString(),module:t.name,moduleVersion:t.version,application:t.application,user:e.username,...n}),td=(e,t,n)=>async r=>{if(r.length===0)throw new Error("Invalid call to trackEvents with an empty array of events!");const o=await e("/event",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r.map(ed(t,n)))});if(!o.ok)throw new Error(`Error publishing habits event ${o.statusText}`)},nd="@bluealba/pae-habits-service",rd=C("useTrackEvents",()=>{const{authUser:e}=po(),t=Kn(),n=fs(nd);return ue(td(n,e,t),[n,e,t])}),fv=C("useTrackEvent",()=>{const e=rd();return ue((t,n)=>e([{name:t,data:n}]),[e])}),od=C("useExtensionPoint",e=>{const t=Kn(),n=window[Zi],[r,o]=F(null);return K(()=>n.defineExtensionPoint(t,e,i=>{o(()=>i)}),[o]),r}),id=C("useExtendExtensionPoint",(e,t,n)=>{K(()=>window[Zi].setExtensionPoint(e,t,n),[])}),sd=C("usePlatformEventListener",(e,t)=>{K(()=>(window.addEventListener(e,t),()=>window.removeEventListener(e,t)),[e,t])}),ad=C("useDynamicStyleSheet",e=>{const{cssCustomizationLoadingDelay:t=1e3}=xu();K(()=>{if(!e)return;const n=document.createElement("style");return setTimeout(()=>{n.innerHTML=e,document.head.append(n)},t),()=>n&&n.remove()},[e])}),cd=e=>{var t;return(t=e.split(/[#?]/)[0].split(".").pop())==null?void 0:t.trim()},ld={woff2:"woff2",woff:"woff",ttf:"truetype",otf:"opentype",eot:"embedded-opentype",svg:"svg"},ud=e=>{const t=cd(e);return t?ld[t]:void 0},dd=(e,t)=>{const n=t??ud(e);return n?`format(${n})`:""};function ps(e){const[t,n]=F(!1);return K(()=>{if(!(e!=null&&e.length))return;const r=document.createElement("style");r.setAttribute("data-generated-fonts","true");const o=e.flatMap(({fontFamily:s,variants:a})=>a.map(({path:c,fontWeight:u,format:d})=>`
|
|
49
49
|
@font-face {
|
|
50
50
|
font-family: "${s}";
|
|
51
51
|
src: url("${c}") ${dd(c,d)};
|
package/dist/index.umd.js
CHANGED
|
@@ -275,4 +275,4 @@ to {
|
|
|
275
275
|
|
|
276
276
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
277
277
|
|
|
278
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return m.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Cg="DialogDescriptionWarning",Eg=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Lc(Cg).contentName}}.`;return m.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Sg=_c,Tg=Ec,Ag=Sc,Pg=Tc,Og=Pc,kg=kc,Rg=jc;const Ic={Overlay:"Overlay__M5Z83",Content:"Content__wAkP4"},kt={Header:"Header__VHxNf",Content:"Content__I04qM",Close:"Close__xSN-7",Title:"Title__Dznh6",Footer:"Footer__-8gzQ",Actions:"Actions__kKF2Q"},Nc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Header,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});Nc.displayName="Header";const Mc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Content,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});Mc.displayName="Content";const $c=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Footer,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});$c.displayName="Footer";const Fc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Title,t);return c.jsx(Og,{ref:n,className:o,...r,children:e})});Fc.displayName="Title";const Bc=C.forwardRef(({className:e,...t},r)=>{const n=D(kt.Close,e);return c.jsx(Rg,{ref:r,asChild:!0,className:n,...t,children:c.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"M11 1L1 11M1 1L11 11",stroke:"#A9A9A9",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})});Bc.displayName="Close";const Uc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Actions,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});Uc.displayName="Actions";const zc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Description,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});zc.displayName="Description";const ae=({children:e,onClose:t,open:r=!1,className:n})=>{const o=()=>{t==null||t()};return c.jsx(Sg,{onOpenChange:o,open:r,children:c.jsxs(Tg,{children:[c.jsx(Ag,{className:Ic.Overlay}),c.jsxs(Pg,{children:[c.jsx(kg,{}),c.jsx("div",{className:D(Ic.Content,n),children:e})]})]})})};ae.displayName="Dialog",ae.Header=Nc,ae.Content=Mc,ae.Footer=$c,ae.Actions=Uc,ae.Title=Fc,ae.Description=zc,ae.Close=Bc;const Hc={pill:"pill__vtGwB","pill--solid":"pill--solid__F-mR4",pillSolid:"pill--solid__F-mR4","pill--outline":"pill--outline__gC-mh",pillOutline:"pill--outline__gC-mh"},jg=({children:e,variant:t="solid",className:r})=>{const n=D(Hc.pill,Hc[`pill--${t}`],r);return c.jsx("div",{className:n,children:e})},Wc={DialogContent:"DialogContent__-WjG9",Message:"Message__AUgVP"},Vc=({loading:e,title:t,children:r,className:n,onClose:o,onConfirm:i,...s})=>c.jsxs(ae,{...s,className:D(Wc.DialogContent,n),children:[c.jsxs(ae.Header,{children:[c.jsx(ae.Title,{children:t}),c.jsx(ae.Close,{onClick:o})]}),c.jsx(ae.Content,{children:typeof r=="string"?c.jsx("p",{className:Wc.Message,children:r}):r}),c.jsx(ae.Footer,{children:c.jsxs(ae.Actions,{children:[c.jsx(bn,{onClick:o,disabled:e,variant:"outlined",children:"Cancel"}),c.jsx(bn,{onClick:i,disabled:e,loading:e,variant:"contained",children:"Confirm"})]})})]});Vc.displayName="ConfirmDialog";const qn={container:"container__AjtYJ",title:"title__A2vCu",description:"description__bP6Ig",mailToText:"mailToText__SdlsE"},Gc=()=>c.jsxs("svg",{width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M184.415 152.221C183.936 151.406 183.401 150.621 182.892 149.824C181.61 147.817 180.327 145.809 179.045 143.801C177.102 140.759 175.159 137.717 173.215 134.676C170.766 130.841 168.316 127.006 165.866 123.171C163.068 118.79 160.27 114.41 157.472 110.03C154.484 105.352 151.496 100.674 148.508 95.9965C145.474 91.2464 142.439 86.4963 139.405 81.7463C136.513 77.2189 133.621 72.6915 130.729 68.1641C128.123 64.084 125.517 60.0039 122.91 55.9238C120.748 52.5389 118.586 49.1541 116.424 45.7692C114.864 43.3273 113.304 40.8854 111.744 38.4436C110.943 37.1899 110.142 35.9362 109.342 34.6825C108.765 33.7802 108.096 32.9744 107.292 32.2572C104.604 29.8584 100.572 29.2302 97.2301 30.5252C94.5951 31.5463 92.6177 33.3853 91.0923 35.7373C90.8768 36.0696 90.6658 36.405 90.4526 36.7387C89.3951 38.3941 88.3378 40.0494 87.2803 41.7049C85.5124 44.4725 83.7444 47.2402 81.9765 50.0079C79.644 53.6594 77.3114 57.3111 74.9788 60.9626C72.2632 65.2138 69.5477 69.465 66.8321 73.7162C63.8817 78.3349 60.9313 82.9536 57.9811 87.5722C54.9542 92.3106 51.9274 97.0491 48.9006 101.787C45.9557 106.398 43.0107 111.008 40.0658 115.618C37.3487 119.872 34.6316 124.125 31.9145 128.379C29.6106 131.986 27.3067 135.592 25.0028 139.199C23.2565 141.933 21.5101 144.667 19.7639 147.4C18.7335 149.013 17.7031 150.626 16.6728 152.239C14.8665 155.067 13.7231 158.171 14.23 161.595C14.9672 166.576 19.2366 170.131 24.2215 170.137C25.559 170.139 26.8963 170.137 28.2338 170.137C30.9198 170.137 33.6058 170.137 36.2918 170.137C40.0725 170.137 43.8533 170.137 47.6341 170.137C52.2557 170.137 56.8772 170.137 61.4989 170.137C66.7339 170.137 71.969 170.137 77.204 170.137C82.7467 170.137 88.2894 170.137 93.8322 170.137C99.4529 170.137 105.074 170.137 110.694 170.137C116.139 170.137 121.584 170.137 127.029 170.137C132.044 170.137 137.06 170.137 142.075 170.137C146.425 170.137 150.776 170.137 155.127 170.137C158.516 170.137 161.904 170.137 165.293 170.137C167.49 170.137 169.686 170.137 171.883 170.137C172.633 170.137 173.384 170.137 174.135 170.137C178.404 170.087 182.136 167.627 184.212 163.932C186.248 160.307 186.562 155.866 184.415 152.221ZM94.0937 37.3471C94.0897 37.3539 94.0862 37.3597 94.0824 37.3661C94.0826 37.3652 94.0831 37.3642 94.0833 37.3632C94.0844 37.3581 94.0909 37.3518 94.0937 37.3471ZM178.584 164.489C178.476 164.538 178.524 164.516 178.584 164.489V164.489ZM180.937 162.79C180.979 162.72 181.118 162.485 181.127 162.498C181.145 162.528 181.058 162.647 180.937 162.79ZM181.821 160.333C181.806 160.446 181.782 160.646 181.773 160.697C181.736 160.919 181.686 161.139 181.637 161.359C181.637 161.359 181.637 161.359 181.637 161.359C181.629 161.377 181.621 161.399 181.61 161.426C181.54 161.604 181.472 161.785 181.406 161.965C181.402 161.977 181.398 161.988 181.394 161.999C181.304 162.16 181.219 162.323 181.123 162.481C181.074 162.562 181.016 162.641 180.97 162.724C180.949 162.762 180.936 162.785 180.93 162.798C180.727 163.035 180.436 163.332 180.388 163.385C180.696 163.049 180.535 163.229 180.318 163.42C180.172 163.548 180.018 163.666 179.869 163.79C179.848 163.807 179.831 163.822 179.816 163.835C179.797 163.845 179.775 163.857 179.747 163.873C179.576 163.97 179.411 164.078 179.238 164.171C179.043 164.277 178.844 164.373 178.642 164.463C178.556 164.494 178.471 164.526 178.384 164.553C177.532 164.819 176.835 164.945 176.084 164.954C175.296 164.954 174.508 164.954 173.719 164.954C171.519 164.954 169.318 164.954 167.118 164.954C163.751 164.954 160.385 164.954 157.019 164.954C152.756 164.954 148.493 164.954 144.231 164.954C139.275 164.954 134.319 164.954 129.364 164.954C123.981 164.954 118.598 164.954 113.215 164.954C107.651 164.954 102.086 164.954 96.5224 164.954C91.024 164.954 85.5255 164.954 80.0271 164.954C74.8407 164.954 69.6543 164.954 64.4679 164.954C59.8401 164.954 55.2123 164.954 50.5846 164.954C46.7784 164.954 42.9721 164.954 39.166 164.954C36.3891 164.954 33.6122 164.954 30.8354 164.954C29.3555 164.954 27.8756 164.954 26.3957 164.954C25.9641 164.954 25.534 164.958 25.1029 164.922C23.4511 164.785 22.11 164.207 20.7626 163.127C20.3445 162.792 19.7301 162.074 19.3142 161.434C19.2096 161.273 19.1102 161.109 19.0161 160.942C18.9707 160.861 18.8013 160.534 18.8105 160.558C18.7451 160.414 18.5329 159.846 18.4422 159.537C18.3467 159.211 18.2692 158.879 18.2129 158.544C18.2174 158.545 18.1876 158.285 18.1815 158.192C18.1669 157.964 18.1617 157.736 18.1651 157.508C18.166 157.455 18.1793 157.245 18.185 157.131C18.2055 157.005 18.2441 156.74 18.2591 156.662C18.2913 156.493 18.3319 156.326 18.3726 156.16C18.2821 156.539 18.4099 156.072 18.4891 155.866C18.518 155.79 18.6652 155.487 18.6846 155.432C18.7383 155.339 18.7932 155.243 18.8125 155.21C18.8692 155.114 18.9282 155.019 18.9875 154.924C19.0003 154.904 19.0137 154.884 19.0265 154.863C19.2211 154.554 19.4201 154.247 19.617 153.939C20.6335 152.348 21.6501 150.756 22.6667 149.165C24.3869 146.472 26.107 143.779 27.8271 141.086C30.0848 137.552 32.3425 134.017 34.6001 130.483C37.2646 126.312 39.9291 122.141 42.5935 117.97C45.5011 113.418 48.4086 108.866 51.3161 104.315C54.3131 99.6229 57.31 94.9312 60.3069 90.2397C63.2394 85.6489 66.172 81.058 69.1045 76.4672C71.819 72.2178 74.5334 67.9683 77.2479 63.719C79.5904 60.0517 81.9331 56.3844 84.2756 52.7172C86.0852 49.8842 87.8948 47.0513 89.7044 44.2184C90.8459 42.4315 91.9873 40.6446 93.1287 38.8578C93.3976 38.4368 93.6701 38.0178 93.9356 37.5945C93.9507 37.5705 93.9737 37.5416 93.9972 37.511C93.8744 37.7231 94.1597 37.2638 94.301 37.0921C94.4017 36.9695 94.5483 36.8114 94.5423 36.8113C94.6372 36.721 94.7333 36.6319 94.8323 36.546C94.9866 36.4121 95.1478 36.2876 95.3084 36.1615C94.9392 36.4513 95.3917 36.1121 95.5441 36.0212C96.7591 35.2961 98.1095 34.9498 99.7068 35.0725C101.356 35.1993 102.702 35.7434 104.07 36.8307C104.685 37.3192 105.311 38.1542 105.817 38.9457C106.592 40.1592 107.367 41.3727 108.142 42.5862C109.667 44.9733 111.192 47.3605 112.717 49.7476C114.838 53.0679 116.959 56.3881 119.08 59.7083C121.629 63.6999 124.179 67.6913 126.729 71.6829C129.579 76.1455 132.43 80.6082 135.281 85.0709C138.267 89.7458 141.253 94.4206 144.239 99.0955C147.207 103.742 150.176 108.388 153.144 113.035C155.94 117.412 158.736 121.789 161.532 126.167C164.002 130.034 166.473 133.902 168.943 137.769C170.935 140.886 172.926 144.003 174.917 147.12C176.27 149.239 177.623 151.357 178.976 153.475C179.551 154.376 180.134 155.272 180.702 156.177C181.138 156.872 181.311 157.219 181.54 157.972C181.6 158.167 181.652 158.363 181.697 158.561C181.711 158.623 181.759 158.873 181.78 158.97C181.787 159.063 181.815 159.319 181.819 159.383C181.831 159.579 181.836 159.775 181.834 159.972C181.834 160.022 181.825 160.217 181.821 160.333Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M98.5821 122.507C99.019 122.759 99.6307 122.629 100.038 122.389C101.205 121.703 101.925 120.275 102.041 118.92C103.115 106.361 106.514 75.1051 106.514 68.3062C106.514 59.902 92.8134 60.6835 92.0664 71.3279C91.6887 76.7103 97.5083 119.581 97.8266 121.187C97.9188 121.652 98.1423 122.253 98.5821 122.507Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M101.841 133.945C101.826 133.94 101.812 133.934 101.797 133.929C98.2767 132.6 94.4012 134.976 93.9964 138.717C93.9765 138.901 93.9636 139.086 93.958 139.272C93.8552 142.712 96.4467 146.126 99.8464 146.664C103.245 147.201 106.896 144.494 107.099 141.059C107.285 137.909 104.789 135.072 101.841 133.945Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M161.729 131.662C161.873 131.367 162.082 130.81 161.71 130.584C161.365 130.375 160.901 130.836 160.768 131.107C156.804 139.201 152.84 147.295 148.877 155.389C147.759 157.67 146.642 159.952 145.525 162.233C145.38 162.528 145.171 163.085 145.543 163.311C145.888 163.52 146.352 163.059 146.485 162.788C150.449 154.694 154.413 146.6 158.377 138.506C159.494 136.225 160.611 133.943 161.729 131.662Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M144.786 152.64C144.441 152.43 143.977 152.891 143.844 153.163C142.363 156.187 140.882 159.21 139.402 162.234C139.257 162.528 139.048 163.085 139.42 163.311C139.765 163.521 140.229 163.06 140.362 162.788C141.843 159.764 143.323 156.741 144.804 153.717C144.948 153.423 145.158 152.866 144.786 152.64Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M136.792 156.459C136.447 156.25 135.983 156.711 135.85 156.982C134.993 158.733 134.136 160.483 133.279 162.233C133.134 162.528 132.925 163.085 133.297 163.311C133.642 163.52 134.106 163.06 134.239 162.788C135.096 161.037 135.953 159.287 136.81 157.537C136.955 157.242 137.164 156.685 136.792 156.459Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M129.1 159.663C128.755 159.454 128.291 159.915 128.158 160.186C127.824 160.869 127.49 161.551 127.155 162.234C127.011 162.528 126.802 163.086 127.174 163.311C127.519 163.521 127.983 163.06 128.116 162.788C128.45 162.106 128.784 161.423 129.118 160.741C129.263 160.447 129.472 159.889 129.1 159.663Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M165.835 137.946C165.979 137.652 166.188 137.094 165.816 136.868C165.471 136.659 165.007 137.12 164.874 137.392C161.72 143.832 158.566 150.273 155.412 156.713C154.511 158.553 153.609 160.393 152.708 162.233C152.564 162.528 152.355 163.085 152.726 163.311C153.071 163.52 153.535 163.06 153.669 162.788C156.823 156.347 159.977 149.907 163.131 143.466C164.032 141.626 164.933 139.786 165.835 137.946Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M169.923 143.153C169.578 142.943 169.114 143.404 168.98 143.676C165.951 149.862 162.921 156.048 159.892 162.234C159.748 162.528 159.538 163.086 159.91 163.311C160.255 163.521 160.719 163.06 160.852 162.788C163.882 156.602 166.911 150.416 169.941 144.23C170.085 143.936 170.294 143.378 169.923 143.153Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M174.332 148.821C173.987 148.611 173.523 149.072 173.39 149.344C171.286 153.64 169.182 157.937 167.077 162.234C166.933 162.528 166.724 163.086 167.095 163.311C167.44 163.521 167.905 163.06 168.038 162.788C170.142 158.492 172.246 154.195 174.351 149.898C174.495 149.604 174.704 149.046 174.332 148.821Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M178.197 155.597C177.852 155.387 177.388 155.848 177.255 156.12C176.257 158.158 175.259 160.196 174.261 162.233C174.117 162.528 173.907 163.085 174.279 163.311C174.624 163.52 175.088 163.06 175.221 162.788C176.219 160.75 177.217 158.712 178.215 156.674C178.36 156.38 178.569 155.823 178.197 155.597Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M97.1962 40.2135C97.3477 39.9803 97.4773 39.477 97.1807 39.2971C96.8678 39.1072 96.5194 39.5265 96.3794 39.7419C94.7034 42.3205 93.0556 44.9176 91.4179 47.5205C88.1743 52.6759 84.976 57.8633 81.9271 63.1367C80.4155 65.7509 78.9283 68.3855 77.5879 71.0925C77.4642 71.3423 77.2879 71.8174 77.6034 72.0088C77.8975 72.1874 78.2905 71.7947 78.4047 71.564C80.9657 66.3919 83.9726 61.4308 86.9671 56.5018C89.7369 51.9427 92.5713 47.4226 95.4474 42.9297C96.0279 42.0228 96.6094 41.1164 97.1962 40.2135Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M75.3224 76.1247C75.0193 75.9408 74.6477 76.3459 74.521 76.5695C74.1645 77.1991 73.808 77.8286 73.4515 78.4581C73.3144 78.7003 73.1605 79.1884 73.467 79.3744C73.77 79.5583 74.1416 79.1532 74.2684 78.9296C74.6248 78.3001 74.9814 77.6705 75.3378 77.0411C75.475 76.7988 75.6288 76.3107 75.3224 76.1247Z",fill:"var(--pae-shell-color-secondary)"})]});Gc.displayName="WarningIcon";const Dg="support@bluealba.com",Lg="@bluealba/pae-shell-ui",Ti=()=>{const{supportEmail:e=Dg}=ps(Lg),t=`mailto:${e}?Subject=Support`;return c.jsxs("div",{className:qn.container,children:[c.jsx(Gc,{}),c.jsx("div",{className:qn.title,children:"Oops! Something went wrong"}),c.jsxs("div",{className:qn.description,children:["If the error persists, ",c.jsx("a",{className:qn.mailToText,href:t,children:"contact the administrator."})]})]})};Ti.displayName="ErrorState";const ke={List:"List__h09XG",list:"List__h09XG",Item:"Item__YMy2i",item:"Item__YMy2i","List--primary":"List--primary__J2pbx",listPrimary:"List--primary__J2pbx","List--secondary":"List--secondary__gi1ao",listSecondary:"List--secondary__gi1ao","Item--selected":"Item--selected__yRWow",itemSelected:"Item--selected__yRWow",Title:"Title__RJmEW",title:"Title__RJmEW",Description:"Description__DGyX2",description:"Description__DGyX2",Actions:"Actions__UHP5l",actions:"Actions__UHP5l",Action:"Action__q-R1I",action:"Action__q-R1I","Item--disabled":"Item--disabled__Ke1u-",itemDisabled:"Item--disabled__Ke1u-","List--small":"List--small__ijoSR",listSmall:"List--small__ijoSR","List--medium":"List--medium__E1FEY",listMedium:"List--medium__E1FEY","List--large":"List--large__T8tfz",listLarge:"List--large__T8tfz",Icon:"Icon__dFr-L",icon:"Icon__dFr-L"},qc=C.forwardRef(({children:e,className:t,selected:r,disabled:n=!1,...o},i)=>{const s=D(ke.Item,{[ke["Item--selected"]]:r,[ke["Item--disabled"]]:n},t);return c.jsx("li",{ref:i,className:s,role:"listitem","aria-disabled":n,...o,children:e})});qc.displayName="Item";const Qc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(ke.Title,t);return c.jsx("h3",{ref:n,className:o,...r,children:e})});Qc.displayName="Title";const Yc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(ke.Description,t);return c.jsx("p",{ref:n,className:o,...r,children:e})});Yc.displayName="Description";const Ai=({className:e,...t})=>c.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,...t,children:[c.jsx("path",{d:"M6 6.5C6.27614 6.5 6.5 6.27614 6.5 6C6.5 5.72386 6.27614 5.5 6 5.5C5.72386 5.5 5.5 5.72386 5.5 6C5.5 6.27614 5.72386 6.5 6 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"}),c.jsx("path",{d:"M9.5 6.5C9.77614 6.5 10 6.27614 10 6C10 5.72386 9.77614 5.5 9.5 5.5C9.22386 5.5 9 5.72386 9 6C9 6.27614 9.22386 6.5 9.5 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"}),c.jsx("path",{d:"M2.5 6.5C2.77614 6.5 3 6.27614 3 6C3 5.72386 2.77614 5.5 2.5 5.5C2.22386 5.5 2 5.72386 2 6C2 6.27614 2.22386 6.5 2.5 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"})]});Ai.displayName="HorizontalDots";const Kc=C.forwardRef(({children:e,className:t,onClick:r,...n},o)=>{const i=C.useRef(null),[s,a]=C.useState(!1),l=D(ke.Actions,t),u=()=>{const w=At["DropdownList--open"],f=At["DropdownList--closed"];document.querySelectorAll(`.${w}`).forEach(_=>{_!==i.current&&(_.classList.remove(w),_.classList.add(f))})},d=w=>{w.stopPropagation(),s?h():(a(!0),r==null||r(w))},h=()=>{a(!1)},p=w=>{w.key==="Escape"&&h()},g=w=>{i.current&&!i.current.contains(w.target)&&h()};return C.useEffect(()=>(s?(u(),document.addEventListener("keydown",p),document.addEventListener("click",g)):(document.removeEventListener("keydown",p),document.removeEventListener("click",g)),()=>{document.removeEventListener("keydown",p),document.removeEventListener("click",g)}),[s]),c.jsxs("div",{ref:o,className:l,onClick:d,role:"button",tabIndex:0,"data-testid":"actions",...n,children:[c.jsx(Ai,{}),c.jsx(xn,{align:"left",ref:i,open:s,"data-testid":"actions-dropdown",role:"menu","aria-label":"Actions",children:e})]})});Kc.displayName="Actions";const Zc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(ke.Action,t);return c.jsx("button",{ref:n,className:o,...r,children:e})});Zc.displayName="Action";const Xc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(ke.Icon,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});Xc.displayName="Icon";const Fe=C.forwardRef(({children:e,className:t,size:r="medium",variant:n,...o},i)=>{const s=D(ke.List,{[ke[`List--${r}`]]:r,[ke[`List--${n}`]]:n},t);return c.jsx("ul",{ref:i,className:s,role:"list",...o,children:e})});Fe.displayName="List",Fe.Item=qc,Fe.Badges=Uo,Fe.Badge=Bo,Fe.Title=Qc,Fe.Description=Yc,Fe.Actions=Kc,Fe.Action=Zc,Fe.Icon=Xc;const Qe={Navigation:"Navigation__uylxk",PaginationContent:"PaginationContent__UpLw0",PaginationEllipsis:"PaginationEllipsis__perWk",PaginationLink:"PaginationLink__GVUZj",Active:"Active__u1Ahy",Disabled:"Disabled__8WM0y",Prev:"Prev__wp4hc",Next:"Next__eVyL5"},Jc=({className:e,...t})=>c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,...t,children:[c.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),c.jsx("path",{d:"M9 6l6 6l-6 6"})]});Jc.displayName="ChevronRight";const eu=({className:e,...t})=>c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,...t,children:[c.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),c.jsx("path",{d:"M15 6l-6 6l6 6"})]});eu.displayName="ChevronLeft";const Pi=({className:e,...t})=>c.jsx("nav",{role:"navigation","aria-label":"pagination",className:D(Qe.Navigation,e),...t});Pi.displayName="Pagination";const Oi=m.forwardRef(({className:e,...t},r)=>c.jsx("ul",{ref:r,className:D(Qe.PaginationContent,e),...t}));Oi.displayName="PaginationContent";const Ir=m.forwardRef(({className:e,...t},r)=>c.jsx("li",{ref:r,className:e,...t}));Ir.displayName="PaginationItem";const Nr=({className:e,isActive:t,...r})=>c.jsx("a",{"aria-current":t?"page":void 0,className:D(Qe.PaginationLink,t&&Qe.Active,e),...r});Nr.displayName="PaginationLink";const ki=({className:e,disabled:t,...r})=>c.jsxs(Nr,{"aria-label":"Go to previous page",className:D(t&&Qe.Disabled,Qe.Prev,e),...r,children:[c.jsx(eu,{}),c.jsx("span",{children:"Previous"})]});ki.displayName="PaginationPrevious";const Ri=({className:e,disabled:t,...r})=>c.jsxs(Nr,{"aria-label":"Go to next page",className:D(t&&Qe.Disabled,Qe.Next,e),...r,children:[c.jsx("span",{children:"Next"}),c.jsx(Jc,{})]});Ri.displayName="PaginationNext";const ji=({className:e,...t})=>c.jsx("span",{"aria-hidden":!0,className:D(Qe.PaginationEllipsis,e),...t,children:c.jsx(Ai,{})});ji.displayName="PaginationEllipsis";function Ig(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var tu={exports:{}};(function(e,t){(function(r,n){typeof Ig=="function"?e.exports=n():r.pluralize=n()})(Uu,function(){var r=[],n=[],o={},i={},s={};function a(f){return typeof f=="string"?new RegExp("^"+f+"$","i"):f}function l(f,v){return f===v?v:f===f.toLowerCase()?v.toLowerCase():f===f.toUpperCase()?v.toUpperCase():f[0]===f[0].toUpperCase()?v.charAt(0).toUpperCase()+v.substr(1).toLowerCase():v.toLowerCase()}function u(f,v){return f.replace(/\$(\d{1,2})/g,function(_,x){return v[x]||""})}function d(f,v){return f.replace(v[0],function(_,x){var T=u(v[1],arguments);return l(_===""?f[x-1]:_,T)})}function h(f,v,_){if(!f.length||o.hasOwnProperty(f))return v;for(var x=_.length;x--;){var T=_[x];if(T[0].test(v))return d(v,T)}return v}function p(f,v,_){return function(x){var T=x.toLowerCase();return v.hasOwnProperty(T)?l(x,T):f.hasOwnProperty(T)?l(x,f[T]):h(T,x,_)}}function g(f,v,_,x){return function(T){var S=T.toLowerCase();return v.hasOwnProperty(S)?!0:f.hasOwnProperty(S)?!1:h(S,S,_)===S}}function w(f,v,_){var x=v===1?w.singular(f):w.plural(f);return(_?v+" ":"")+x}return w.plural=p(s,i,r),w.isPlural=g(s,i,r),w.singular=p(i,s,n),w.isSingular=g(i,s,n),w.addPluralRule=function(f,v){r.push([a(f),v])},w.addSingularRule=function(f,v){n.push([a(f),v])},w.addUncountableRule=function(f){if(typeof f=="string"){o[f.toLowerCase()]=!0;return}w.addPluralRule(f,"$0"),w.addSingularRule(f,"$0")},w.addIrregularRule=function(f,v){v=v.toLowerCase(),f=f.toLowerCase(),s[f]=v,i[v]=f},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(f){return w.addIrregularRule(f[0],f[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(f){return w.addPluralRule(f[0],f[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(f){return w.addSingularRule(f[0],f[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(w.addUncountableRule),w})})(tu);var Ng=tu.exports;const Mg=zu(Ng),Di=({count:e,singularText:t,children:r=(n,o)=>`${n} ${o}`})=>c.jsx(c.Fragment,{children:r(e,Mg(t,e))});Di.displayName="PluralizeCounter";const me={TableContainer:"TableContainer__osh6Z",TableHeader:"TableHeader__sYa-8",Table:"Table__2cIs3",selectable:"selectable__WsGg1",Cell:"Cell__ZEv-K",Right:"Right__YoM1V",Center:"Center__CF3tr",Sortable:"Sortable__JIV1V",SortIcon:"SortIcon__f0bBy",Active:"Active__rJjxB",Rotate:"Rotate__7cwTK",Pagination:"Pagination__sbqMP",PointerNone:"PointerNone__kQdQS"},ru={EmptyStateContainer:"EmptyStateContainer__Q9FEb",Message:"Message__IHK6M"},nu=({size:e=64})=>c.jsxs("svg",{width:e,height:e,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsxs("g",{clipPath:"url(#clip-path)",children:[c.jsx("mask",{id:"mask0_1070_8032",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"64",height:"64",children:c.jsx("path",{d:"M64 0H0V64H64V0Z",fill:"white"})}),c.jsx("g",{mask:"url(#mask0_1070_8032)",children:c.jsx("path",{d:"M40 10.6673H13.3333V53.334H50.6667V21.334H40V10.6673ZM8 7.97932C8 6.51798 9.192 5.33398 10.664 5.33398H42.6667L56 18.6673V55.982C56.0024 56.3321 55.936 56.6793 55.8043 57.0039C55.6725 57.3284 55.4781 57.6239 55.2323 57.8732C54.9864 58.1225 54.6936 58.3209 54.3712 58.4572C54.0485 58.5935 53.7021 58.6649 53.352 58.6673H10.648C9.94768 58.6625 9.27739 58.3823 8.78192 57.8873C8.28645 57.3924 8.00557 56.7223 8 56.022V7.97932ZM36.0773 38.5233C33.8408 39.83 31.2056 40.2788 28.6627 39.786C26.1197 39.2929 23.8428 37.8921 22.2566 35.8444C20.6704 33.7966 19.883 31.2417 20.0414 28.6564C20.1998 26.071 21.293 23.6315 23.1173 21.7927C24.9532 19.9571 27.3955 18.8541 29.9864 18.6904C32.5773 18.5267 35.1389 19.3134 37.1912 20.9032C39.2435 22.493 40.6456 24.7767 41.1347 27.3263C41.6237 29.8759 41.1664 32.5164 39.848 34.7527L45.7413 40.646L41.9707 44.4193L36.0773 38.5233ZM34.4293 33.1047C34.9387 32.6126 35.3451 32.0241 35.6245 31.3735C35.904 30.7228 36.0512 30.0231 36.0573 29.3148C36.0635 28.6065 35.9285 27.9044 35.6603 27.2489C35.3923 26.5935 34.9963 25.998 34.4955 25.4972C33.9947 24.9964 33.3992 24.6004 32.7437 24.3323C32.0883 24.0641 31.3861 23.9292 30.6779 23.9353C29.9696 23.9415 29.2699 24.0886 28.6192 24.3681C27.9685 24.6476 27.38 25.0539 26.888 25.5633C25.9165 26.5692 25.3789 27.9164 25.3911 29.3148C25.4032 30.7132 25.9641 32.0508 26.9531 33.0396C27.9419 34.0287 29.2795 34.5895 30.6779 34.6015C32.0763 34.6137 33.4235 34.0761 34.4293 33.1047Z",fill:"currentColor"})})]}),c.jsx("defs",{children:c.jsx("clipPath",{id:"clip-path",children:c.jsx("rect",{width:"64",height:"64",fill:"white"})})})]});nu.displayName="EmptyStateIcon";const Li=({message:e="No results found"})=>c.jsxs("div",{className:D(ru.EmptyStateContainer),children:[c.jsx(nu,{}),c.jsx("p",{className:ru.Message,children:e})]});Li.displayName="EmptyState";const $g=(e,t,r=1)=>{if(e<=1)return["1"];const n=[],o=i=>{(n.length===0||n[n.length-1]!==i)&&n.push(i)};o(1),t-r>2&&o("...");for(let i=Math.max(2,t-r);i<=Math.min(e-1,t+r);i++)o(i);return t+r<e-1&&o("..."),o(e),n.map(String)},ou=({page:e,totalPages:t,onPageChange:r})=>{const n=e===1,o=e===t;return c.jsx(Pi,{className:me.Pagination,children:c.jsxs(Oi,{children:[c.jsx(Ir,{children:c.jsx(ki,{className:D({[me.PointerNone]:n}),onClick:()=>!n&&r(e-1)})}),$g(t,e).map((i,s)=>c.jsxs(Ir,{children:[i==="..."&&c.jsx(ji,{}),i!=="..."&&c.jsx(Nr,{isActive:+i===e,onClick:()=>+i!==e&&r(+i),children:i})]},s)),c.jsx(Ir,{children:c.jsx(Ri,{className:D({[me.PointerNone]:o}),onClick:()=>!o&&r(e+1)})})]})})};ou.displayName="TablePagination";const iu=({className:e,...t})=>c.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,...t,children:c.jsx("path",{d:"M6 2.5V9.5M6 9.5L9.5 6M6 9.5L2.5 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});iu.displayName="ArrowDown";const su=({columns:e,data:t,isLoading:r,totalCount:n=0,headerLabel:o,sort:i,loadingConfig:s,pagination:a,onRowClick:l})=>{const{count:u=5,height:d=40}=s||{},h=v=>v.sortName??v.name,p=v=>D({[me.Cell]:!0,[me.Center]:v.align==="center",[me.Right]:v.align==="right",[me.Sortable]:v.isSortable}),g=v=>{if(!i)return"";const _=h(v);return D({[me.SortIcon]:!0,[me.Active]:v.isSortable&&i.field===_,[me.Rotate]:i.field===_&&i.direction==="asc"})},w=v=>()=>l==null?void 0:l(v),f=v=>()=>{if(!i||!v.isSortable)return;const{field:_,direction:x,onSort:T}=i,S=h(v);_===S?T(S,x==="asc"?"desc":"asc"):T(S,"asc")};return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:me.TableContainer,children:[o&&c.jsx("div",{className:me.TableHeader,children:c.jsx(Di,{count:n,singularText:o,children:(v,_)=>`${v} ${_}`})}),c.jsxs("table",{className:me.Table,children:[c.jsx("thead",{children:c.jsx("tr",{children:e.map(v=>c.jsx("th",{children:c.jsxs("div",{className:p(v),onClick:f(v),children:[c.jsx("span",{children:v.displayName}),v.isSortable&&c.jsx(iu,{className:g(v)})]})},v.name))})}),c.jsx("tbody",{children:c.jsxs(it,{children:[c.jsx(it.When,{condition:r,children:[...Array(u).keys()].map(v=>c.jsx("tr",{children:c.jsx("td",{colSpan:e.length,style:{padding:4},children:c.jsx(Cn,{height:d})})},v))}),c.jsx(it.When,{condition:!t.length,children:c.jsx("tr",{children:c.jsx("td",{colSpan:e.length,children:c.jsx(Li,{})})})}),c.jsx(it.Else,{children:t.map((v,_)=>c.jsx("tr",{className:l&&me.selectable,onClick:w(v),children:e.map(x=>c.jsx("td",{style:x.width?{width:x.width}:{},children:c.jsx("div",{className:p(x),children:x.cellRenderer?x.cellRenderer(v):x.valueGetter?x.valueGetter(v):v[x.name]})},`${x.name}-${_}`))},_))})]})})]})]}),a&&c.jsx(ou,{...a})]})};su.displayName="Table";const Qn={alert:"alert__LblpE",default:"default__mgO6A",destructive:"destructive__bLNSM",alertTitle:"alertTitle__gblKf",alertDescription:"alertDescription__BuVHV"},Yn=({className:e,variant:t="default",children:r,...n})=>c.jsx("div",{"data-slot":"alert",role:"alert",className:D(Qn.alert,Qn[t],e),...n,children:r}),Fg=m.forwardRef(({children:e,className:t,...r},n)=>c.jsx("div",{ref:n,"data-slot":"alert-title",className:D(Qn.alertTitle,t),...r,children:e})),Bg=m.forwardRef(({children:e,className:t,...r},n)=>c.jsx("div",{ref:n,"data-slot":"alert-description",className:D(Qn.alertDescription,t),...r,children:e}));Yn.displayName="Alert",Yn.Title=Fg,Yn.Description=Bg;function au(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Kn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?au(Object(r),!0).forEach(function(n){Ug(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):au(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function lu(e){return(lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Ug(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ii(e){return(Ii=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function cu(e,t){var r;if(typeof(r=t.domElement?function(){return t.domElement}:t.domElementGetter?t.domElementGetter:e.domElementGetter?e.domElementGetter:function(n){var o=n.appName||n.name;if(!o)throw Error("single-spa's dom-element-getter-helpers was not given an application name as a prop, so it can't make a unique dom element container for the react application");var i="single-spa-application:".concat(o);return function(){var s=document.getElementById(i);return s||((s=document.createElement("div")).id=i,document.body.appendChild(s)),s}}(t))!="function")throw Error("single-spa's dom-element-getter-helpers was given an invalid domElementGetter for application or parcel '".concat(t.name,"'. Expected a function, received ").concat(Ii(r)));return function(){var n=r(t);if(!(n instanceof HTMLElement))throw Error("single-spa's dom-element-getter-helpers: domElementGetter returned an invalid dom element for application or parcel '".concat(t.name,"'. Expected HTMLElement, received ").concat(Ii(n)));return n}}var Mr=null;try{Mr=require("react").createContext()}catch{}var zg={React:null,ReactDOM:null,ReactDOMClient:null,rootComponent:null,loadRootComponent:null,errorBoundary:null,errorBoundaryClass:null,domElementGetter:null,parcelCanUpdate:!0,suppressComponentDidCatchWarning:!1,domElements:{},renderResults:{},updateResolves:{},unmountResolves:{}};function Hg(e){if(lu(e)!=="object")throw new Error("single-spa-react requires a configuration object");var t,r=Kn(Kn({},zg),e);if(!r.React)throw new Error("single-spa-react must be passed opts.React");if(!r.ReactDOM&&!r.ReactDOMClient)throw new Error("single-spa-react must be passed opts.ReactDOM or opts.ReactDOMClient");if(r.renderType||((t=r.ReactDOMClient)!==null&&t!==void 0&&t.createRoot?r.renderType="createRoot":r.renderType="render"),!r.rootComponent&&!r.loadRootComponent)throw new Error("single-spa-react must be passed opts.rootComponent or opts.loadRootComponent");if(r.errorBoundary&&typeof r.errorBoundary!="function")throw Error("The errorBoundary opt for single-spa-react must either be omitted or be a function that returns React elements");!Mr&&r.React.createContext&&(Mr=r.React.createContext()),r.SingleSpaRoot=function(o){function i(s){i.displayName="SingleSpaRoot(".concat(s.name,")")}return i.prototype=Object.create(o.React.Component.prototype),i.prototype.componentDidMount=function(){setTimeout(this.props.mountFinished)},i.prototype.componentWillUnmount=function(){setTimeout(this.props.unmountFinished)},i.prototype.render=function(){return setTimeout(this.props.updateFinished),this.props.children},i}(r);var n={bootstrap:Wg.bind(null,r),mount:Vg.bind(null,r),unmount:Gg.bind(null,r)};return r.parcelCanUpdate&&(n.update=qg.bind(null,r)),n}function Wg(e,t){return e.rootComponent?Promise.resolve():e.loadRootComponent(t).then(function(r){e.rootComponent=r})}function Vg(e,t){return new Promise(function(r,n){e.suppressComponentDidCatchWarning||!function(a){if(!(a&&typeof a.version=="string"&&a.version.indexOf(".")>=0))return!1;var l=a.version.slice(0,a.version.indexOf("."));try{return Number(l)>=16}catch{return!1}}(e.React)||e.errorBoundary||e.errorBoundaryClass||(e.rootComponent.prototype?e.rootComponent.prototype.componentDidCatch||console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent should implement componentDidCatch to avoid accidentally unmounting the entire single-spa application.")):console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent does not implement an error boundary. If using a functional component, consider providing an opts.errorBoundary to singleSpaReact(opts).")));var o=uu(e,t,function(){r(this)}),i=cu(e,t)(),s=function(a){var l=a.reactDom,u=a.renderType,d=a.elementToRender,h=a.domElement,p=l[u];if(typeof p!="function")throw new Error('renderType "'.concat(u,'" did not return a function.'));switch(u){case"createRoot":case"unstable_createRoot":case"createBlockingRoot":case"unstable_createBlockingRoot":var g=p(h);return g.render(d),g;case"hydrateRoot":return p(h,d);case"hydrate":default:return p(d,h),null}}({elementToRender:o,domElement:i,reactDom:Ni(e),renderType:Qg(e)});e.domElements[t.name]=i,e.renderResults[t.name]=s})}function Gg(e,t){return new Promise(function(r){e.unmountResolves[t.name]=r;var n=e.renderResults[t.name];n&&n.unmount?n.unmount():Ni(e).unmountComponentAtNode(e.domElements[t.name]),delete e.domElements[t.name],delete e.renderResults[t.name]})}function qg(e,t){return new Promise(function(r){e.updateResolves[t.name]||(e.updateResolves[t.name]=[]),e.updateResolves[t.name].push(r);var n=uu(e,t,null),o=e.renderResults[t.name];if(o&&o.render)o.render(n);else{var i=cu(e,t)();Ni(e).render(n,i)}})}function Ni(e){return e.ReactDOMClient||e.ReactDOM}function Qg(e){return typeof e.renderType=="function"?e.renderType():e.renderType}function uu(e,t,r){var n=e.React.createElement(e.rootComponent,t),o=Mr?e.React.createElement(Mr.Provider,{value:t},n):n;return(e.errorBoundary||t.errorBoundary||e.errorBoundaryClass||t.errorBoundaryClass)&&(e.errorBoundaryClass=e.errorBoundaryClass||t.errorBoundaryClass||function(i,s){function a(l){i.React.Component.apply(this,arguments),this.state={caughtError:null,caughtErrorInfo:null},a.displayName="SingleSpaReactErrorBoundary(".concat(l.name,")")}return a.prototype=Object.create(i.React.Component.prototype),a.prototype.render=function(){return this.state.caughtError?(i.errorBoundary||s.errorBoundary)(this.state.caughtError,this.state.caughtErrorInfo,this.props):this.props.children},a.prototype.componentDidCatch=function(l,u){this.setState({caughtError:l,caughtErrorInfo:u})},a}(e,t),o=e.React.createElement(e.errorBoundaryClass,t,o)),o=e.React.createElement(e.SingleSpaRoot,Kn(Kn({},t),{},{mountFinished:r,updateFinished:function(){e.updateResolves[t.name]&&(e.updateResolves[t.name].forEach(function(i){return i()}),delete e.updateResolves[t.name])},unmountFinished:function(){e.unmountResolves[t.name]&&(e.unmountResolves[t.name](),delete e.unmountResolves[t.name])}}),o)}const Yg=e=>{const t=new Zf;return function(n){if(!n)throw new Error("Microfrontend did not receive any properties !!");const o=co(n.module.name);return c.jsx(ls,{module:o,children:c.jsxs(rp,{client:t,children:[c.jsx(e,{...n}),c.jsx(If,{position:"top-right",reverseOrder:!0})]})})}},Kg=({rootComponent:e,...t})=>Hg({errorBoundary(r){return console.error(r),c.jsx(Ti,{})},...t,rootComponent:Yg(e)}),Zg=e=>{const t={authUser:{id:"testuser",username:"testuser",displayName:"Test User",applications:[]},catalog:[],authentication:{passwordMethodEnabled:!0,registerEnabled:!0,invitationsEnabled:!0,resetPasswordExpiration:3e4,passwordConstraints:{lowerCaseRequired:!1,upperCaseRequired:!1,symbolRequired:!1,digitRequired:!1,minLength:0,maxLength:8},sessionExpiration:864e5,jwtSecret:"",sessionIncludeOrigUser:!1,impersonationMode:"cookie",canImpersonateNonExistentUsers:!1,providers:[]},platformVersion:"0.0.0"};Object.defineProperty(window,xr,{value:e?pd(t,e):t})};E.Alert=Yn,E.ApplicationIcon=ja,E.Authorized=Fo,E.Badge=Bo,E.Badges=Uo,E.Button=bn,E.ClipboardCheckIcon=Ma,E.ClipboardIcon=Na,E.ConfirmDialog=Vc,E.CopyToClipboardButton=Hp,E.Dialog=ae,E.DropdownList=xn,E.EmptyState=Li,E.ErrorState=Ti,E.ExtendExtensionPoint=kp,E.ExtensionPoint=Sa,E.EyeIcon=Xl,E.FieldGroup=Fa,E.Input=_n,E.InputError=Ua,E.Label=Ha,E.List=Fe,E.ModulePlaceHolder=Ra,E.Pagination=Pi,E.PaginationContent=Oi,E.PaginationEllipsis=ji,E.PaginationItem=Ir,E.PaginationLink=Nr,E.PaginationNext=Ri,E.PaginationPrevious=ki,E.PasswordInput=_m,E.Pill=jg,E.PlatformEventListener=Mp,E.PlatformEvents=Iu,E.PluralizeCounter=Di,E.SearchAutocomplete=qa,E.SearchInput=Wo,E.Select=Ho,E.Show=it,E.Skeleton=Cn,E.SkeletonList=Xa,E.Spinner=Yl,E.Switch=Kl,E.Table=su,E.Tabs=vm,E.TabsContent=wm,E.TabsList=ym,E.TabsTrigger=bm,E.TextArea=Va,E.Tooltip=ql,E.authorized=Fp,E.dropdownListStyles=At,E.extensionPoint=jp,E.getApplications=lo,E.getInitials=Zu,E.getOperations=cs,E.hasAccess=ds,E.initializeMicroFrontend=Kg,E.isPlatformCustomizationCompleted=Wd,E.isValidEmail=Ku,E.logout=qu,E.navigateTo=Qu,E.platformHaveAnyCustomization=Hd,E.setupTestEnvironment=Zg,E.useApplicationIcon=bs,E.useApplicationJSModule=Yr,E.useApplicationMenu=ws,E.useApplicationMenuWithDocumentation=cd,E.useApplicationUIModule=ys,E.useApplications=gs,E.useAuth=qr,E.useCatalog=Vt,E.useCurrentApplication=fo,E.useCurrentApplicationName=Ts,E.useCurrentJSModule=vd,E.useDocumentationMenuItems=Es,E.useDynamicFonts=Ds,E.useDynamicStyleSheet=js,E.useExtendExtensionPoint=ks,E.useExtensionPoint=Os,E.useGetPlatformTheme=zd,E.useHasNoSession=Wu,E.useLocation=os,E.useModule=co,E.useModuleCommonPaths=Gu,E.useModuleConfig=fs,E.useModuleConfigByName=ps,E.useModuleMetadata=Er,E.useMutableCatalog=Bu,E.useNotifications=Eo,E.useOperations=us,E.usePAECustomizationsLoadingState=Ud,E.usePAEState=Gr,E.usePlatformCustomization=Bd,E.usePlatformEventListener=Rs,E.useResource=hp,E.useResourceActions=wa,E.useServiceBaseURL=As,E.useServiceInvoker=po,E.useTenants=Ap,E.useTrackEvent=xd,E.useTrackEvents=Ps,E.useUIApplications=vs,E.useUserState=Op,Object.defineProperty(E,Symbol.toStringTag,{value:"Module"})});
|
|
278
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return m.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Cg="DialogDescriptionWarning",Eg=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Lc(Cg).contentName}}.`;return m.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},Sg=_c,Tg=Ec,Ag=Sc,Pg=Tc,Og=Pc,kg=kc,Rg=jc;const Ic={Overlay:"Overlay__M5Z83",Content:"Content__wAkP4"},kt={Header:"Header__VHxNf",Content:"Content__I04qM",Close:"Close__xSN-7",Title:"Title__Dznh6",Footer:"Footer__-8gzQ",Actions:"Actions__kKF2Q"},Nc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Header,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});Nc.displayName="Header";const Mc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Content,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});Mc.displayName="Content";const $c=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Footer,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});$c.displayName="Footer";const Fc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Title,t);return c.jsx(Og,{ref:n,className:o,...r,children:e})});Fc.displayName="Title";const Bc=C.forwardRef(({className:e,...t},r)=>{const n=D(kt.Close,e);return c.jsx(Rg,{ref:r,asChild:!0,className:n,...t,children:c.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"M11 1L1 11M1 1L11 11",stroke:"#A9A9A9",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})});Bc.displayName="Close";const Uc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Actions,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});Uc.displayName="Actions";const zc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(kt.Description,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});zc.displayName="Description";const ae=({children:e,onClose:t,open:r=!1,className:n})=>{const o=()=>{t==null||t()};return c.jsx(Sg,{onOpenChange:o,open:r,children:c.jsxs(Tg,{children:[c.jsx(Ag,{className:Ic.Overlay}),c.jsxs(Pg,{children:[c.jsx(kg,{}),c.jsx("div",{className:D(Ic.Content,n),children:e})]})]})})};ae.displayName="Dialog",ae.Header=Nc,ae.Content=Mc,ae.Footer=$c,ae.Actions=Uc,ae.Title=Fc,ae.Description=zc,ae.Close=Bc;const Hc={pill:"pill__vtGwB","pill--solid":"pill--solid__F-mR4",pillSolid:"pill--solid__F-mR4","pill--outline":"pill--outline__gC-mh",pillOutline:"pill--outline__gC-mh"},jg=({children:e,variant:t="solid",className:r})=>{const n=D(Hc.pill,Hc[`pill--${t}`],r);return c.jsx("div",{className:n,children:e})},Wc={DialogContent:"DialogContent__-WjG9",Message:"Message__AUgVP"},Vc=({loading:e,title:t,children:r,className:n,onClose:o,onConfirm:i,...s})=>c.jsxs(ae,{...s,className:D(Wc.DialogContent,n),children:[c.jsxs(ae.Header,{children:[c.jsx(ae.Title,{children:t}),c.jsx(ae.Close,{onClick:o})]}),c.jsx(ae.Content,{children:typeof r=="string"?c.jsx("p",{className:Wc.Message,children:r}):r}),c.jsx(ae.Footer,{children:c.jsxs(ae.Actions,{children:[c.jsx(bn,{onClick:o,disabled:e,variant:"outlined",children:"Cancel"}),c.jsx(bn,{onClick:i,disabled:e,loading:e,variant:"contained",children:"Confirm"})]})})]});Vc.displayName="ConfirmDialog";const qn={container:"container__AjtYJ",title:"title__A2vCu",description:"description__bP6Ig",mailToText:"mailToText__SdlsE"},Gc=()=>c.jsxs("svg",{width:"200",height:"200",viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M184.415 152.221C183.936 151.406 183.401 150.621 182.892 149.824C181.61 147.817 180.327 145.809 179.045 143.801C177.102 140.759 175.159 137.717 173.215 134.676C170.766 130.841 168.316 127.006 165.866 123.171C163.068 118.79 160.27 114.41 157.472 110.03C154.484 105.352 151.496 100.674 148.508 95.9965C145.474 91.2464 142.439 86.4963 139.405 81.7463C136.513 77.2189 133.621 72.6915 130.729 68.1641C128.123 64.084 125.517 60.0039 122.91 55.9238C120.748 52.5389 118.586 49.1541 116.424 45.7692C114.864 43.3273 113.304 40.8854 111.744 38.4436C110.943 37.1899 110.142 35.9362 109.342 34.6825C108.765 33.7802 108.096 32.9744 107.292 32.2572C104.604 29.8584 100.572 29.2302 97.2301 30.5252C94.5951 31.5463 92.6177 33.3853 91.0923 35.7373C90.8768 36.0696 90.6658 36.405 90.4526 36.7387C89.3951 38.3941 88.3378 40.0494 87.2803 41.7049C85.5124 44.4725 83.7444 47.2402 81.9765 50.0079C79.644 53.6594 77.3114 57.3111 74.9788 60.9626C72.2632 65.2138 69.5477 69.465 66.8321 73.7162C63.8817 78.3349 60.9313 82.9536 57.9811 87.5722C54.9542 92.3106 51.9274 97.0491 48.9006 101.787C45.9557 106.398 43.0107 111.008 40.0658 115.618C37.3487 119.872 34.6316 124.125 31.9145 128.379C29.6106 131.986 27.3067 135.592 25.0028 139.199C23.2565 141.933 21.5101 144.667 19.7639 147.4C18.7335 149.013 17.7031 150.626 16.6728 152.239C14.8665 155.067 13.7231 158.171 14.23 161.595C14.9672 166.576 19.2366 170.131 24.2215 170.137C25.559 170.139 26.8963 170.137 28.2338 170.137C30.9198 170.137 33.6058 170.137 36.2918 170.137C40.0725 170.137 43.8533 170.137 47.6341 170.137C52.2557 170.137 56.8772 170.137 61.4989 170.137C66.7339 170.137 71.969 170.137 77.204 170.137C82.7467 170.137 88.2894 170.137 93.8322 170.137C99.4529 170.137 105.074 170.137 110.694 170.137C116.139 170.137 121.584 170.137 127.029 170.137C132.044 170.137 137.06 170.137 142.075 170.137C146.425 170.137 150.776 170.137 155.127 170.137C158.516 170.137 161.904 170.137 165.293 170.137C167.49 170.137 169.686 170.137 171.883 170.137C172.633 170.137 173.384 170.137 174.135 170.137C178.404 170.087 182.136 167.627 184.212 163.932C186.248 160.307 186.562 155.866 184.415 152.221ZM94.0937 37.3471C94.0897 37.3539 94.0862 37.3597 94.0824 37.3661C94.0826 37.3652 94.0831 37.3642 94.0833 37.3632C94.0844 37.3581 94.0909 37.3518 94.0937 37.3471ZM178.584 164.489C178.476 164.538 178.524 164.516 178.584 164.489V164.489ZM180.937 162.79C180.979 162.72 181.118 162.485 181.127 162.498C181.145 162.528 181.058 162.647 180.937 162.79ZM181.821 160.333C181.806 160.446 181.782 160.646 181.773 160.697C181.736 160.919 181.686 161.139 181.637 161.359C181.637 161.359 181.637 161.359 181.637 161.359C181.629 161.377 181.621 161.399 181.61 161.426C181.54 161.604 181.472 161.785 181.406 161.965C181.402 161.977 181.398 161.988 181.394 161.999C181.304 162.16 181.219 162.323 181.123 162.481C181.074 162.562 181.016 162.641 180.97 162.724C180.949 162.762 180.936 162.785 180.93 162.798C180.727 163.035 180.436 163.332 180.388 163.385C180.696 163.049 180.535 163.229 180.318 163.42C180.172 163.548 180.018 163.666 179.869 163.79C179.848 163.807 179.831 163.822 179.816 163.835C179.797 163.845 179.775 163.857 179.747 163.873C179.576 163.97 179.411 164.078 179.238 164.171C179.043 164.277 178.844 164.373 178.642 164.463C178.556 164.494 178.471 164.526 178.384 164.553C177.532 164.819 176.835 164.945 176.084 164.954C175.296 164.954 174.508 164.954 173.719 164.954C171.519 164.954 169.318 164.954 167.118 164.954C163.751 164.954 160.385 164.954 157.019 164.954C152.756 164.954 148.493 164.954 144.231 164.954C139.275 164.954 134.319 164.954 129.364 164.954C123.981 164.954 118.598 164.954 113.215 164.954C107.651 164.954 102.086 164.954 96.5224 164.954C91.024 164.954 85.5255 164.954 80.0271 164.954C74.8407 164.954 69.6543 164.954 64.4679 164.954C59.8401 164.954 55.2123 164.954 50.5846 164.954C46.7784 164.954 42.9721 164.954 39.166 164.954C36.3891 164.954 33.6122 164.954 30.8354 164.954C29.3555 164.954 27.8756 164.954 26.3957 164.954C25.9641 164.954 25.534 164.958 25.1029 164.922C23.4511 164.785 22.11 164.207 20.7626 163.127C20.3445 162.792 19.7301 162.074 19.3142 161.434C19.2096 161.273 19.1102 161.109 19.0161 160.942C18.9707 160.861 18.8013 160.534 18.8105 160.558C18.7451 160.414 18.5329 159.846 18.4422 159.537C18.3467 159.211 18.2692 158.879 18.2129 158.544C18.2174 158.545 18.1876 158.285 18.1815 158.192C18.1669 157.964 18.1617 157.736 18.1651 157.508C18.166 157.455 18.1793 157.245 18.185 157.131C18.2055 157.005 18.2441 156.74 18.2591 156.662C18.2913 156.493 18.3319 156.326 18.3726 156.16C18.2821 156.539 18.4099 156.072 18.4891 155.866C18.518 155.79 18.6652 155.487 18.6846 155.432C18.7383 155.339 18.7932 155.243 18.8125 155.21C18.8692 155.114 18.9282 155.019 18.9875 154.924C19.0003 154.904 19.0137 154.884 19.0265 154.863C19.2211 154.554 19.4201 154.247 19.617 153.939C20.6335 152.348 21.6501 150.756 22.6667 149.165C24.3869 146.472 26.107 143.779 27.8271 141.086C30.0848 137.552 32.3425 134.017 34.6001 130.483C37.2646 126.312 39.9291 122.141 42.5935 117.97C45.5011 113.418 48.4086 108.866 51.3161 104.315C54.3131 99.6229 57.31 94.9312 60.3069 90.2397C63.2394 85.6489 66.172 81.058 69.1045 76.4672C71.819 72.2178 74.5334 67.9683 77.2479 63.719C79.5904 60.0517 81.9331 56.3844 84.2756 52.7172C86.0852 49.8842 87.8948 47.0513 89.7044 44.2184C90.8459 42.4315 91.9873 40.6446 93.1287 38.8578C93.3976 38.4368 93.6701 38.0178 93.9356 37.5945C93.9507 37.5705 93.9737 37.5416 93.9972 37.511C93.8744 37.7231 94.1597 37.2638 94.301 37.0921C94.4017 36.9695 94.5483 36.8114 94.5423 36.8113C94.6372 36.721 94.7333 36.6319 94.8323 36.546C94.9866 36.4121 95.1478 36.2876 95.3084 36.1615C94.9392 36.4513 95.3917 36.1121 95.5441 36.0212C96.7591 35.2961 98.1095 34.9498 99.7068 35.0725C101.356 35.1993 102.702 35.7434 104.07 36.8307C104.685 37.3192 105.311 38.1542 105.817 38.9457C106.592 40.1592 107.367 41.3727 108.142 42.5862C109.667 44.9733 111.192 47.3605 112.717 49.7476C114.838 53.0679 116.959 56.3881 119.08 59.7083C121.629 63.6999 124.179 67.6913 126.729 71.6829C129.579 76.1455 132.43 80.6082 135.281 85.0709C138.267 89.7458 141.253 94.4206 144.239 99.0955C147.207 103.742 150.176 108.388 153.144 113.035C155.94 117.412 158.736 121.789 161.532 126.167C164.002 130.034 166.473 133.902 168.943 137.769C170.935 140.886 172.926 144.003 174.917 147.12C176.27 149.239 177.623 151.357 178.976 153.475C179.551 154.376 180.134 155.272 180.702 156.177C181.138 156.872 181.311 157.219 181.54 157.972C181.6 158.167 181.652 158.363 181.697 158.561C181.711 158.623 181.759 158.873 181.78 158.97C181.787 159.063 181.815 159.319 181.819 159.383C181.831 159.579 181.836 159.775 181.834 159.972C181.834 160.022 181.825 160.217 181.821 160.333Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M98.5821 122.507C99.019 122.759 99.6307 122.629 100.038 122.389C101.205 121.703 101.925 120.275 102.041 118.92C103.115 106.361 106.514 75.1051 106.514 68.3062C106.514 59.902 92.8134 60.6835 92.0664 71.3279C91.6887 76.7103 97.5083 119.581 97.8266 121.187C97.9188 121.652 98.1423 122.253 98.5821 122.507Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M101.841 133.945C101.826 133.94 101.812 133.934 101.797 133.929C98.2767 132.6 94.4012 134.976 93.9964 138.717C93.9765 138.901 93.9636 139.086 93.958 139.272C93.8552 142.712 96.4467 146.126 99.8464 146.664C103.245 147.201 106.896 144.494 107.099 141.059C107.285 137.909 104.789 135.072 101.841 133.945Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M161.729 131.662C161.873 131.367 162.082 130.81 161.71 130.584C161.365 130.375 160.901 130.836 160.768 131.107C156.804 139.201 152.84 147.295 148.877 155.389C147.759 157.67 146.642 159.952 145.525 162.233C145.38 162.528 145.171 163.085 145.543 163.311C145.888 163.52 146.352 163.059 146.485 162.788C150.449 154.694 154.413 146.6 158.377 138.506C159.494 136.225 160.611 133.943 161.729 131.662Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M144.786 152.64C144.441 152.43 143.977 152.891 143.844 153.163C142.363 156.187 140.882 159.21 139.402 162.234C139.257 162.528 139.048 163.085 139.42 163.311C139.765 163.521 140.229 163.06 140.362 162.788C141.843 159.764 143.323 156.741 144.804 153.717C144.948 153.423 145.158 152.866 144.786 152.64Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M136.792 156.459C136.447 156.25 135.983 156.711 135.85 156.982C134.993 158.733 134.136 160.483 133.279 162.233C133.134 162.528 132.925 163.085 133.297 163.311C133.642 163.52 134.106 163.06 134.239 162.788C135.096 161.037 135.953 159.287 136.81 157.537C136.955 157.242 137.164 156.685 136.792 156.459Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M129.1 159.663C128.755 159.454 128.291 159.915 128.158 160.186C127.824 160.869 127.49 161.551 127.155 162.234C127.011 162.528 126.802 163.086 127.174 163.311C127.519 163.521 127.983 163.06 128.116 162.788C128.45 162.106 128.784 161.423 129.118 160.741C129.263 160.447 129.472 159.889 129.1 159.663Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M165.835 137.946C165.979 137.652 166.188 137.094 165.816 136.868C165.471 136.659 165.007 137.12 164.874 137.392C161.72 143.832 158.566 150.273 155.412 156.713C154.511 158.553 153.609 160.393 152.708 162.233C152.564 162.528 152.355 163.085 152.726 163.311C153.071 163.52 153.535 163.06 153.669 162.788C156.823 156.347 159.977 149.907 163.131 143.466C164.032 141.626 164.933 139.786 165.835 137.946Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M169.923 143.153C169.578 142.943 169.114 143.404 168.98 143.676C165.951 149.862 162.921 156.048 159.892 162.234C159.748 162.528 159.538 163.086 159.91 163.311C160.255 163.521 160.719 163.06 160.852 162.788C163.882 156.602 166.911 150.416 169.941 144.23C170.085 143.936 170.294 143.378 169.923 143.153Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M174.332 148.821C173.987 148.611 173.523 149.072 173.39 149.344C171.286 153.64 169.182 157.937 167.077 162.234C166.933 162.528 166.724 163.086 167.095 163.311C167.44 163.521 167.905 163.06 168.038 162.788C170.142 158.492 172.246 154.195 174.351 149.898C174.495 149.604 174.704 149.046 174.332 148.821Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M178.197 155.597C177.852 155.387 177.388 155.848 177.255 156.12C176.257 158.158 175.259 160.196 174.261 162.233C174.117 162.528 173.907 163.085 174.279 163.311C174.624 163.52 175.088 163.06 175.221 162.788C176.219 160.75 177.217 158.712 178.215 156.674C178.36 156.38 178.569 155.823 178.197 155.597Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M97.1962 40.2135C97.3477 39.9803 97.4773 39.477 97.1807 39.2971C96.8678 39.1072 96.5194 39.5265 96.3794 39.7419C94.7034 42.3205 93.0556 44.9176 91.4179 47.5205C88.1743 52.6759 84.976 57.8633 81.9271 63.1367C80.4155 65.7509 78.9283 68.3855 77.5879 71.0925C77.4642 71.3423 77.2879 71.8174 77.6034 72.0088C77.8975 72.1874 78.2905 71.7947 78.4047 71.564C80.9657 66.3919 83.9726 61.4308 86.9671 56.5018C89.7369 51.9427 92.5713 47.4226 95.4474 42.9297C96.0279 42.0228 96.6094 41.1164 97.1962 40.2135Z",fill:"var(--pae-shell-color-secondary)"}),c.jsx("path",{d:"M75.3224 76.1247C75.0193 75.9408 74.6477 76.3459 74.521 76.5695C74.1645 77.1991 73.808 77.8286 73.4515 78.4581C73.3144 78.7003 73.1605 79.1884 73.467 79.3744C73.77 79.5583 74.1416 79.1532 74.2684 78.9296C74.6248 78.3001 74.9814 77.6705 75.3378 77.0411C75.475 76.7988 75.6288 76.3107 75.3224 76.1247Z",fill:"var(--pae-shell-color-secondary)"})]});Gc.displayName="WarningIcon";const Dg="support@bluealba.com",Lg="@bluealba/pae-shell-ui",Ti=()=>{const{supportEmail:e=Dg}=ps(Lg),t=`mailto:${e}?Subject=Support`;return c.jsxs("div",{className:qn.container,children:[c.jsx(Gc,{}),c.jsx("div",{className:qn.title,children:"Oops! Something went wrong"}),c.jsxs("div",{className:qn.description,children:["If the error persists, ",c.jsx("a",{className:qn.mailToText,href:t,children:"contact the administrator."})]})]})};Ti.displayName="ErrorState";const ke={List:"List__h09XG",list:"List__h09XG",Item:"Item__YMy2i",item:"Item__YMy2i","List--primary":"List--primary__J2pbx",listPrimary:"List--primary__J2pbx","List--secondary":"List--secondary__gi1ao",listSecondary:"List--secondary__gi1ao","Item--selected":"Item--selected__yRWow",itemSelected:"Item--selected__yRWow",Title:"Title__RJmEW",title:"Title__RJmEW",Description:"Description__DGyX2",description:"Description__DGyX2",Actions:"Actions__UHP5l",actions:"Actions__UHP5l",Action:"Action__q-R1I",action:"Action__q-R1I","Item--disabled":"Item--disabled__Ke1u-",itemDisabled:"Item--disabled__Ke1u-","List--small":"List--small__ijoSR",listSmall:"List--small__ijoSR","List--medium":"List--medium__E1FEY",listMedium:"List--medium__E1FEY","List--large":"List--large__T8tfz",listLarge:"List--large__T8tfz",Icon:"Icon__dFr-L",icon:"Icon__dFr-L"},qc=C.forwardRef(({children:e,className:t,selected:r,disabled:n=!1,...o},i)=>{const s=D(ke.Item,{[ke["Item--selected"]]:r,[ke["Item--disabled"]]:n},t);return c.jsx("li",{ref:i,className:s,role:"listitem","aria-disabled":n,...o,children:e})});qc.displayName="Item";const Qc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(ke.Title,t);return c.jsx("h3",{ref:n,className:o,...r,children:e})});Qc.displayName="Title";const Yc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(ke.Description,t);return c.jsx("p",{ref:n,className:o,...r,children:e})});Yc.displayName="Description";const Ai=({className:e,...t})=>c.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,...t,children:[c.jsx("path",{d:"M6 6.5C6.27614 6.5 6.5 6.27614 6.5 6C6.5 5.72386 6.27614 5.5 6 5.5C5.72386 5.5 5.5 5.72386 5.5 6C5.5 6.27614 5.72386 6.5 6 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"}),c.jsx("path",{d:"M9.5 6.5C9.77614 6.5 10 6.27614 10 6C10 5.72386 9.77614 5.5 9.5 5.5C9.22386 5.5 9 5.72386 9 6C9 6.27614 9.22386 6.5 9.5 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"}),c.jsx("path",{d:"M2.5 6.5C2.77614 6.5 3 6.27614 3 6C3 5.72386 2.77614 5.5 2.5 5.5C2.22386 5.5 2 5.72386 2 6C2 6.27614 2.22386 6.5 2.5 6.5Z",stroke:"#A9A9A9",strokeLinecap:"round",strokeLinejoin:"round"})]});Ai.displayName="HorizontalDots";const Kc=C.forwardRef(({children:e,className:t,onClick:r,...n},o)=>{const i=C.useRef(null),[s,a]=C.useState(!1),l=D(ke.Actions,t),u=()=>{const w=At["DropdownList--open"],f=At["DropdownList--closed"];document.querySelectorAll(`.${w}`).forEach(_=>{_!==i.current&&(_.classList.remove(w),_.classList.add(f))})},d=w=>{w.stopPropagation(),s?h():(a(!0),r==null||r(w))},h=()=>{a(!1)},p=w=>{w.key==="Escape"&&h()},g=w=>{i.current&&!i.current.contains(w.target)&&h()};return C.useEffect(()=>(s?(u(),document.addEventListener("keydown",p),document.addEventListener("click",g)):(document.removeEventListener("keydown",p),document.removeEventListener("click",g)),()=>{document.removeEventListener("keydown",p),document.removeEventListener("click",g)}),[s]),c.jsxs("div",{ref:o,className:l,onClick:d,role:"button",tabIndex:0,"data-testid":"actions",...n,children:[c.jsx(Ai,{}),c.jsx(xn,{align:"left",ref:i,open:s,"data-testid":"actions-dropdown",role:"menu","aria-label":"Actions",children:e})]})});Kc.displayName="Actions";const Zc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(ke.Action,t);return c.jsx("button",{ref:n,className:o,...r,children:e})});Zc.displayName="Action";const Xc=C.forwardRef(({children:e,className:t,...r},n)=>{const o=D(ke.Icon,t);return c.jsx("div",{ref:n,className:o,...r,children:e})});Xc.displayName="Icon";const Fe=C.forwardRef(({children:e,className:t,size:r="medium",variant:n,...o},i)=>{const s=D(ke.List,{[ke[`List--${r}`]]:r,[ke[`List--${n}`]]:n},t);return c.jsx("ul",{ref:i,className:s,role:"list",...o,children:e})});Fe.displayName="List",Fe.Item=qc,Fe.Badges=Uo,Fe.Badge=Bo,Fe.Title=Qc,Fe.Description=Yc,Fe.Actions=Kc,Fe.Action=Zc,Fe.Icon=Xc;const Qe={Navigation:"Navigation__uylxk",PaginationContent:"PaginationContent__UpLw0",PaginationEllipsis:"PaginationEllipsis__perWk",PaginationLink:"PaginationLink__GVUZj",Active:"Active__u1Ahy",Disabled:"Disabled__8WM0y",Prev:"Prev__wp4hc",Next:"Next__eVyL5"},Jc=({className:e,...t})=>c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,...t,children:[c.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),c.jsx("path",{d:"M9 6l6 6l-6 6"})]});Jc.displayName="ChevronRight";const eu=({className:e,...t})=>c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:e,...t,children:[c.jsx("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),c.jsx("path",{d:"M15 6l-6 6l6 6"})]});eu.displayName="ChevronLeft";const Pi=({className:e,...t})=>c.jsx("nav",{role:"navigation","aria-label":"pagination",className:D(Qe.Navigation,e),...t});Pi.displayName="Pagination";const Oi=m.forwardRef(({className:e,...t},r)=>c.jsx("ul",{ref:r,className:D(Qe.PaginationContent,e),...t}));Oi.displayName="PaginationContent";const Ir=m.forwardRef(({className:e,...t},r)=>c.jsx("li",{ref:r,className:e,...t}));Ir.displayName="PaginationItem";const Nr=({className:e,isActive:t,...r})=>c.jsx("a",{"aria-current":t?"page":void 0,className:D(Qe.PaginationLink,t&&Qe.Active,e),...r});Nr.displayName="PaginationLink";const ki=({className:e,disabled:t,...r})=>c.jsxs(Nr,{"aria-label":"Go to previous page",className:D(t&&Qe.Disabled,Qe.Prev,e),...r,children:[c.jsx(eu,{}),c.jsx("span",{children:"Previous"})]});ki.displayName="PaginationPrevious";const Ri=({className:e,disabled:t,...r})=>c.jsxs(Nr,{"aria-label":"Go to next page",className:D(t&&Qe.Disabled,Qe.Next,e),...r,children:[c.jsx("span",{children:"Next"}),c.jsx(Jc,{})]});Ri.displayName="PaginationNext";const ji=({className:e,...t})=>c.jsx("span",{"aria-hidden":!0,className:D(Qe.PaginationEllipsis,e),...t,children:c.jsx(Ai,{})});ji.displayName="PaginationEllipsis";function Ig(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var tu={exports:{}};(function(e,t){(function(r,n){typeof Ig=="function"?e.exports=n():r.pluralize=n()})(Uu,function(){var r=[],n=[],o={},i={},s={};function a(f){return typeof f=="string"?new RegExp("^"+f+"$","i"):f}function l(f,v){return f===v?v:f===f.toLowerCase()?v.toLowerCase():f===f.toUpperCase()?v.toUpperCase():f[0]===f[0].toUpperCase()?v.charAt(0).toUpperCase()+v.substr(1).toLowerCase():v.toLowerCase()}function u(f,v){return f.replace(/\$(\d{1,2})/g,function(_,x){return v[x]||""})}function d(f,v){return f.replace(v[0],function(_,x){var T=u(v[1],arguments);return l(_===""?f[x-1]:_,T)})}function h(f,v,_){if(!f.length||o.hasOwnProperty(f))return v;for(var x=_.length;x--;){var T=_[x];if(T[0].test(v))return d(v,T)}return v}function p(f,v,_){return function(x){var T=x.toLowerCase();return v.hasOwnProperty(T)?l(x,T):f.hasOwnProperty(T)?l(x,f[T]):h(T,x,_)}}function g(f,v,_,x){return function(T){var S=T.toLowerCase();return v.hasOwnProperty(S)?!0:f.hasOwnProperty(S)?!1:h(S,S,_)===S}}function w(f,v,_){var x=v===1?w.singular(f):w.plural(f);return(_?v+" ":"")+x}return w.plural=p(s,i,r),w.isPlural=g(s,i,r),w.singular=p(i,s,n),w.isSingular=g(i,s,n),w.addPluralRule=function(f,v){r.push([a(f),v])},w.addSingularRule=function(f,v){n.push([a(f),v])},w.addUncountableRule=function(f){if(typeof f=="string"){o[f.toLowerCase()]=!0;return}w.addPluralRule(f,"$0"),w.addSingularRule(f,"$0")},w.addIrregularRule=function(f,v){v=v.toLowerCase(),f=f.toLowerCase(),s[f]=v,i[v]=f},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(f){return w.addIrregularRule(f[0],f[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(f){return w.addPluralRule(f[0],f[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(f){return w.addSingularRule(f[0],f[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(w.addUncountableRule),w})})(tu);var Ng=tu.exports;const Mg=zu(Ng),Di=({count:e,singularText:t,children:r=(n,o)=>`${n} ${o}`})=>c.jsx(c.Fragment,{children:r(e,Mg(t,e))});Di.displayName="PluralizeCounter";const me={TableContainer:"TableContainer__osh6Z",TableHeader:"TableHeader__sYa-8",Table:"Table__2cIs3",selectable:"selectable__WsGg1",Cell:"Cell__ZEv-K",Right:"Right__YoM1V",Center:"Center__CF3tr",Sortable:"Sortable__JIV1V",SortIcon:"SortIcon__f0bBy",Active:"Active__rJjxB",Rotate:"Rotate__7cwTK",Pagination:"Pagination__sbqMP",PointerNone:"PointerNone__kQdQS"},ru={EmptyStateContainer:"EmptyStateContainer__Q9FEb",Message:"Message__IHK6M"},nu=({size:e=64})=>c.jsxs("svg",{width:e,height:e,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsxs("g",{clipPath:"url(#clip-path)",children:[c.jsx("mask",{id:"mask0_1070_8032",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"64",height:"64",children:c.jsx("path",{d:"M64 0H0V64H64V0Z",fill:"white"})}),c.jsx("g",{mask:"url(#mask0_1070_8032)",children:c.jsx("path",{d:"M40 10.6673H13.3333V53.334H50.6667V21.334H40V10.6673ZM8 7.97932C8 6.51798 9.192 5.33398 10.664 5.33398H42.6667L56 18.6673V55.982C56.0024 56.3321 55.936 56.6793 55.8043 57.0039C55.6725 57.3284 55.4781 57.6239 55.2323 57.8732C54.9864 58.1225 54.6936 58.3209 54.3712 58.4572C54.0485 58.5935 53.7021 58.6649 53.352 58.6673H10.648C9.94768 58.6625 9.27739 58.3823 8.78192 57.8873C8.28645 57.3924 8.00557 56.7223 8 56.022V7.97932ZM36.0773 38.5233C33.8408 39.83 31.2056 40.2788 28.6627 39.786C26.1197 39.2929 23.8428 37.8921 22.2566 35.8444C20.6704 33.7966 19.883 31.2417 20.0414 28.6564C20.1998 26.071 21.293 23.6315 23.1173 21.7927C24.9532 19.9571 27.3955 18.8541 29.9864 18.6904C32.5773 18.5267 35.1389 19.3134 37.1912 20.9032C39.2435 22.493 40.6456 24.7767 41.1347 27.3263C41.6237 29.8759 41.1664 32.5164 39.848 34.7527L45.7413 40.646L41.9707 44.4193L36.0773 38.5233ZM34.4293 33.1047C34.9387 32.6126 35.3451 32.0241 35.6245 31.3735C35.904 30.7228 36.0512 30.0231 36.0573 29.3148C36.0635 28.6065 35.9285 27.9044 35.6603 27.2489C35.3923 26.5935 34.9963 25.998 34.4955 25.4972C33.9947 24.9964 33.3992 24.6004 32.7437 24.3323C32.0883 24.0641 31.3861 23.9292 30.6779 23.9353C29.9696 23.9415 29.2699 24.0886 28.6192 24.3681C27.9685 24.6476 27.38 25.0539 26.888 25.5633C25.9165 26.5692 25.3789 27.9164 25.3911 29.3148C25.4032 30.7132 25.9641 32.0508 26.9531 33.0396C27.9419 34.0287 29.2795 34.5895 30.6779 34.6015C32.0763 34.6137 33.4235 34.0761 34.4293 33.1047Z",fill:"currentColor"})})]}),c.jsx("defs",{children:c.jsx("clipPath",{id:"clip-path",children:c.jsx("rect",{width:"64",height:"64",fill:"white"})})})]});nu.displayName="EmptyStateIcon";const Li=({message:e="No results found"})=>c.jsxs("div",{className:D(ru.EmptyStateContainer),children:[c.jsx(nu,{}),c.jsx("p",{className:ru.Message,children:e})]});Li.displayName="EmptyState";const $g=(e,t,r=1)=>{if(e<=1)return["1"];const n=[],o=i=>{(n.length===0||n[n.length-1]!==i)&&n.push(i)};o(1),t-r>2&&o("...");for(let i=Math.max(2,t-r);i<=Math.min(e-1,t+r);i++)o(i);return t+r<e-1&&o("..."),o(e),n.map(String)},ou=({page:e,totalPages:t,onPageChange:r})=>{const n=e===1,o=e===t;return c.jsx(Pi,{className:me.Pagination,children:c.jsxs(Oi,{children:[c.jsx(Ir,{children:c.jsx(ki,{className:D({[me.PointerNone]:n}),onClick:()=>!n&&r(e-1)})}),$g(t,e).map((i,s)=>c.jsxs(Ir,{children:[i==="..."&&c.jsx(ji,{}),i!=="..."&&c.jsx(Nr,{isActive:+i===e,onClick:()=>+i!==e&&r(+i),children:i})]},s)),c.jsx(Ir,{children:c.jsx(Ri,{className:D({[me.PointerNone]:o}),onClick:()=>!o&&r(e+1)})})]})})};ou.displayName="TablePagination";const iu=({className:e,...t})=>c.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,...t,children:c.jsx("path",{d:"M6 2.5V9.5M6 9.5L9.5 6M6 9.5L2.5 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});iu.displayName="ArrowDown";const su=({columns:e,data:t,isLoading:r,totalCount:n=0,headerLabel:o,sort:i,loadingConfig:s,pagination:a,onRowClick:l})=>{const{count:u=5,height:d=40}=s||{},h=v=>v.sortName??v.name,p=v=>D({[me.Cell]:!0,[me.Center]:v.align==="center",[me.Right]:v.align==="right",[me.Sortable]:v.isSortable}),g=v=>{if(!i)return"";const _=h(v);return D({[me.SortIcon]:!0,[me.Active]:v.isSortable&&i.field===_,[me.Rotate]:i.field===_&&i.direction==="asc"})},w=v=>()=>l==null?void 0:l(v),f=v=>()=>{if(!i||!v.isSortable)return;const{field:_,direction:x,onSort:T}=i,S=h(v);_===S?T(S,x==="asc"?"desc":"asc"):T(S,"asc")};return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:me.TableContainer,children:[o&&c.jsx("div",{className:me.TableHeader,children:c.jsx(Di,{count:n,singularText:o,children:(v,_)=>`${v} ${_}`})}),c.jsxs("table",{className:me.Table,children:[c.jsx("thead",{children:c.jsx("tr",{children:e.map(v=>c.jsx("th",{children:c.jsxs("div",{className:p(v),onClick:f(v),children:[c.jsx("span",{children:v.displayName}),v.isSortable&&c.jsx(iu,{className:g(v)})]})},v.name))})}),c.jsx("tbody",{children:c.jsxs(it,{children:[c.jsx(it.When,{condition:r,children:[...Array(u).keys()].map(v=>c.jsx("tr",{children:c.jsx("td",{colSpan:e.length,style:{padding:4},children:c.jsx(Cn,{height:d})})},v))}),c.jsx(it.When,{condition:!t.length,children:c.jsx("tr",{children:c.jsx("td",{colSpan:e.length,children:c.jsx(Li,{})})})}),c.jsx(it.Else,{children:t.map((v,_)=>c.jsx("tr",{className:l&&me.selectable,onClick:w(v),children:e.map(x=>c.jsx("td",{style:x.width?{width:x.width}:{},children:c.jsx("div",{className:p(x),children:x.cellRenderer?x.cellRenderer(v):x.valueGetter?x.valueGetter(v):v[x.name]})},`${x.name}-${_}`))},_))})]})})]})]}),a&&c.jsx(ou,{...a})]})};su.displayName="Table";const Qn={alert:"alert__LblpE",default:"default__mgO6A",destructive:"destructive__bLNSM",alertTitle:"alertTitle__gblKf",alertDescription:"alertDescription__BuVHV"},Yn=({className:e,variant:t="default",children:r,...n})=>c.jsx("div",{"data-slot":"alert",role:"alert",className:D(Qn.alert,Qn[t],e),...n,children:r}),Fg=m.forwardRef(({children:e,className:t,...r},n)=>c.jsx("div",{ref:n,"data-slot":"alert-title",className:D(Qn.alertTitle,t),...r,children:e})),Bg=m.forwardRef(({children:e,className:t,...r},n)=>c.jsx("div",{ref:n,"data-slot":"alert-description",className:D(Qn.alertDescription,t),...r,children:e}));Yn.displayName="Alert",Yn.Title=Fg,Yn.Description=Bg;function au(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Kn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?au(Object(r),!0).forEach(function(n){Ug(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):au(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function lu(e){return(lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Ug(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ii(e){return(Ii=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function cu(e,t){var r;if(typeof(r=t.domElement?function(){return t.domElement}:t.domElementGetter?t.domElementGetter:e.domElementGetter?e.domElementGetter:function(n){var o=n.appName||n.name;if(!o)throw Error("single-spa's dom-element-getter-helpers was not given an application name as a prop, so it can't make a unique dom element container for the react application");var i="single-spa-application:".concat(o);return function(){var s=document.getElementById(i);return s||((s=document.createElement("div")).id=i,document.body.appendChild(s)),s}}(t))!="function")throw Error("single-spa's dom-element-getter-helpers was given an invalid domElementGetter for application or parcel '".concat(t.name,"'. Expected a function, received ").concat(Ii(r)));return function(){var n=r(t);if(!(n instanceof HTMLElement))throw Error("single-spa's dom-element-getter-helpers: domElementGetter returned an invalid dom element for application or parcel '".concat(t.name,"'. Expected HTMLElement, received ").concat(Ii(n)));return n}}var Mr=null;try{Mr=require("react").createContext()}catch{}var zg={React:null,ReactDOM:null,ReactDOMClient:null,rootComponent:null,loadRootComponent:null,errorBoundary:null,errorBoundaryClass:null,domElementGetter:null,parcelCanUpdate:!0,suppressComponentDidCatchWarning:!1,domElements:{},renderResults:{},updateResolves:{},unmountResolves:{}};function Hg(e){if(lu(e)!=="object")throw new Error("single-spa-react requires a configuration object");var t,r=Kn(Kn({},zg),e);if(!r.React)throw new Error("single-spa-react must be passed opts.React");if(!r.ReactDOM&&!r.ReactDOMClient)throw new Error("single-spa-react must be passed opts.ReactDOM or opts.ReactDOMClient");if(r.renderType||((t=r.ReactDOMClient)!==null&&t!==void 0&&t.createRoot?r.renderType="createRoot":r.renderType="render"),!r.rootComponent&&!r.loadRootComponent)throw new Error("single-spa-react must be passed opts.rootComponent or opts.loadRootComponent");if(r.errorBoundary&&typeof r.errorBoundary!="function")throw Error("The errorBoundary opt for single-spa-react must either be omitted or be a function that returns React elements");!Mr&&r.React.createContext&&(Mr=r.React.createContext()),r.SingleSpaRoot=function(o){function i(s){i.displayName="SingleSpaRoot(".concat(s.name,")")}return i.prototype=Object.create(o.React.Component.prototype),i.prototype.componentDidMount=function(){setTimeout(this.props.mountFinished)},i.prototype.componentWillUnmount=function(){setTimeout(this.props.unmountFinished)},i.prototype.render=function(){return setTimeout(this.props.updateFinished),this.props.children},i}(r);var n={bootstrap:Wg.bind(null,r),mount:Vg.bind(null,r),unmount:Gg.bind(null,r)};return r.parcelCanUpdate&&(n.update=qg.bind(null,r)),n}function Wg(e,t){return e.rootComponent?Promise.resolve():e.loadRootComponent(t).then(function(r){e.rootComponent=r})}function Vg(e,t){return new Promise(function(r,n){e.suppressComponentDidCatchWarning||!function(a){if(!(a&&typeof a.version=="string"&&a.version.indexOf(".")>=0))return!1;var l=a.version.slice(0,a.version.indexOf("."));try{return Number(l)>=16}catch{return!1}}(e.React)||e.errorBoundary||e.errorBoundaryClass||(e.rootComponent.prototype?e.rootComponent.prototype.componentDidCatch||console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent should implement componentDidCatch to avoid accidentally unmounting the entire single-spa application.")):console.warn("single-spa-react: ".concat(t.name||t.appName||t.childAppName,"'s rootComponent does not implement an error boundary. If using a functional component, consider providing an opts.errorBoundary to singleSpaReact(opts).")));var o=uu(e,t,function(){r(this)}),i=cu(e,t)(),s=function(a){var l=a.reactDom,u=a.renderType,d=a.elementToRender,h=a.domElement,p=l[u];if(typeof p!="function")throw new Error('renderType "'.concat(u,'" did not return a function.'));switch(u){case"createRoot":case"unstable_createRoot":case"createBlockingRoot":case"unstable_createBlockingRoot":var g=p(h);return g.render(d),g;case"hydrateRoot":return p(h,d);case"hydrate":default:return p(d,h),null}}({elementToRender:o,domElement:i,reactDom:Ni(e),renderType:Qg(e)});e.domElements[t.name]=i,e.renderResults[t.name]=s})}function Gg(e,t){return new Promise(function(r){e.unmountResolves[t.name]=r;var n=e.renderResults[t.name];n&&n.unmount?n.unmount():Ni(e).unmountComponentAtNode(e.domElements[t.name]),delete e.domElements[t.name],delete e.renderResults[t.name]})}function qg(e,t){return new Promise(function(r){e.updateResolves[t.name]||(e.updateResolves[t.name]=[]),e.updateResolves[t.name].push(r);var n=uu(e,t,null),o=e.renderResults[t.name];if(o&&o.render)o.render(n);else{var i=cu(e,t)();Ni(e).render(n,i)}})}function Ni(e){return e.ReactDOMClient||e.ReactDOM}function Qg(e){return typeof e.renderType=="function"?e.renderType():e.renderType}function uu(e,t,r){var n=e.React.createElement(e.rootComponent,t),o=Mr?e.React.createElement(Mr.Provider,{value:t},n):n;return(e.errorBoundary||t.errorBoundary||e.errorBoundaryClass||t.errorBoundaryClass)&&(e.errorBoundaryClass=e.errorBoundaryClass||t.errorBoundaryClass||function(i,s){function a(l){i.React.Component.apply(this,arguments),this.state={caughtError:null,caughtErrorInfo:null},a.displayName="SingleSpaReactErrorBoundary(".concat(l.name,")")}return a.prototype=Object.create(i.React.Component.prototype),a.prototype.render=function(){return this.state.caughtError?(i.errorBoundary||s.errorBoundary)(this.state.caughtError,this.state.caughtErrorInfo,this.props):this.props.children},a.prototype.componentDidCatch=function(l,u){this.setState({caughtError:l,caughtErrorInfo:u})},a}(e,t),o=e.React.createElement(e.errorBoundaryClass,t,o)),o=e.React.createElement(e.SingleSpaRoot,Kn(Kn({},t),{},{mountFinished:r,updateFinished:function(){e.updateResolves[t.name]&&(e.updateResolves[t.name].forEach(function(i){return i()}),delete e.updateResolves[t.name])},unmountFinished:function(){e.unmountResolves[t.name]&&(e.unmountResolves[t.name](),delete e.unmountResolves[t.name])}}),o)}const Yg=e=>{const t=new Zf;return function(n){if(!n)throw new Error("Microfrontend did not receive any properties !!");const o=co(n.module.name);return c.jsx(ls,{module:o,children:c.jsxs(rp,{client:t,children:[c.jsx(e,{...n}),c.jsx(If,{position:"top-right",reverseOrder:!0})]})})}},Kg=({rootComponent:e,...t})=>Hg({errorBoundary(r){return console.error(r),c.jsx(Ti,{})},...t,rootComponent:Yg(e)}),Zg=e=>{const t={authUser:{id:"testuser",username:"testuser",displayName:"Test User",applications:[]},catalog:[],authentication:{passwordMethodEnabled:!0,registerEnabled:!0,invitationsEnabled:!0,resetPasswordExpiration:3e4,passwordConstraints:{lowerCaseRequired:!1,upperCaseRequired:!1,symbolRequired:!1,digitRequired:!1,minLength:0,maxLength:8},sessionExpiration:864e5,jwtSecret:"",sessionIncludeOrigUser:!1,impersonationMode:"cookie",canImpersonateNonExistentUsers:!1,providers:[]},platformVersion:"0.0.0"};Object.defineProperty(window,xr,{value:e?pd(t,e):t})};E.Alert=Yn,E.ApplicationIcon=ja,E.Authorized=Fo,E.Badge=Bo,E.Badges=Uo,E.Button=bn,E.ClipboardCheckIcon=Ma,E.ClipboardIcon=Na,E.ConfirmDialog=Vc,E.CopyToClipboardButton=Hp,E.Dialog=ae,E.DropdownList=xn,E.EmptyState=Li,E.ErrorState=Ti,E.ExtendExtensionPoint=kp,E.ExtensionPoint=Sa,E.EyeIcon=Xl,E.FieldGroup=Fa,E.Input=_n,E.InputError=Ua,E.Label=Ha,E.List=Fe,E.ModulePlaceHolder=Ra,E.Pagination=Pi,E.PaginationContent=Oi,E.PaginationEllipsis=ji,E.PaginationItem=Ir,E.PaginationLink=Nr,E.PaginationNext=Ri,E.PaginationPrevious=ki,E.PasswordInput=_m,E.Pill=jg,E.PlatformEventListener=Mp,E.PlatformEvents=Iu,E.PluralizeCounter=Di,E.SearchAutocomplete=qa,E.SearchInput=Wo,E.Select=Ho,E.Show=it,E.Skeleton=Cn,E.SkeletonList=Xa,E.Spinner=Yl,E.Switch=Kl,E.Table=su,E.Tabs=vm,E.TabsContent=wm,E.TabsList=ym,E.TabsTrigger=bm,E.TextArea=Va,E.Tooltip=ql,E.authorized=Fp,E.dropdownListStyles=At,E.extensionPoint=jp,E.getApplications=lo,E.getInitials=Zu,E.getOperations=cs,E.hasAccess=ds,E.initializeMicroFrontend=Kg,E.isPlatformCustomizationCompleted=Wd,E.isValidEmail=Ku,E.logout=qu,E.navigateTo=Qu,E.platformHaveAnyCustomization=Hd,E.setupTestEnvironment=Zg,E.useApplicationIcon=bs,E.useApplicationJSModule=Yr,E.useApplicationMenu=cd,E.useApplicationUIModule=ys,E.useApplications=gs,E.useAuth=qr,E.useCatalog=Vt,E.useCurrentApplication=fo,E.useCurrentApplicationName=Ts,E.useCurrentJSModule=vd,E.useDocumentationMenuItems=Es,E.useDynamicFonts=Ds,E.useDynamicStyleSheet=js,E.useExtendExtensionPoint=ks,E.useExtensionPoint=Os,E.useGetPlatformTheme=zd,E.useHasNoSession=Wu,E.useLocation=os,E.useModule=co,E.useModuleCommonPaths=Gu,E.useModuleConfig=fs,E.useModuleConfigByName=ps,E.useModuleMenu=ws,E.useModuleMetadata=Er,E.useMutableCatalog=Bu,E.useNotifications=Eo,E.useOperations=us,E.usePAECustomizationsLoadingState=Ud,E.usePAEState=Gr,E.usePlatformCustomization=Bd,E.usePlatformEventListener=Rs,E.useResource=hp,E.useResourceActions=wa,E.useServiceBaseURL=As,E.useServiceInvoker=po,E.useTenants=Ap,E.useTrackEvent=xd,E.useTrackEvents=Ps,E.useUIApplications=vs,E.useUserState=Op,Object.defineProperty(E,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ApplicationMenu } from './ApplicationMenu';
|
|
2
1
|
import { PlatformApplication } from './PlatformApplication';
|
|
3
|
-
import {
|
|
2
|
+
import { ApplicationMenu } from './ApplicationMenu';
|
|
4
3
|
|
|
5
4
|
type UseApplicationMenuReturnType = {
|
|
6
5
|
loading: boolean;
|
|
@@ -8,4 +7,3 @@ type UseApplicationMenuReturnType = {
|
|
|
8
7
|
};
|
|
9
8
|
export declare const useApplicationMenu: (application: PlatformApplication | undefined) => UseApplicationMenuReturnType;
|
|
10
9
|
export default useApplicationMenu;
|
|
11
|
-
export declare const hasAccess: (authorizedOperations: Operation[]) => (operations: string[]) => boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Operation } from '@bluealba/pae-core';
|
|
2
|
+
import { ApplicationMenu } from './ApplicationMenu';
|
|
3
|
+
import { PlatformApplication } from './PlatformApplication';
|
|
4
|
+
|
|
5
|
+
type UseModuleMenuReturnType = {
|
|
6
|
+
loading: boolean;
|
|
7
|
+
menu: ApplicationMenu;
|
|
8
|
+
};
|
|
9
|
+
export declare const useModuleMenu: (application: PlatformApplication | undefined) => UseModuleMenuReturnType;
|
|
10
|
+
export default useModuleMenu;
|
|
11
|
+
export declare const hasAccess: (authorizedOperations: Operation[]) => (operations: string[]) => boolean;
|
|
@@ -12,9 +12,9 @@ export { useApplications } from './applications/useApplications';
|
|
|
12
12
|
export { useUIApplications } from './useUIApplications';
|
|
13
13
|
export { useApplicationUIModule } from './applications/useApplicationUIModule';
|
|
14
14
|
export { useApplicationIcon } from './applications/useApplicationIcon';
|
|
15
|
-
export {
|
|
15
|
+
export { useModuleMenu } from './applications/useModuleMenu';
|
|
16
16
|
export { useDocumentationMenuItems } from './applications/useDocumentationMenuItems';
|
|
17
|
-
export {
|
|
17
|
+
export { useApplicationMenu } from './applications/useApplicationMenu';
|
|
18
18
|
export { useCurrentApplicationName } from './applications/useCurrentApplicationName';
|
|
19
19
|
export { useApplicationJSModule } from './applications/useApplicationJSModule';
|
|
20
20
|
export { useCurrentApplication } from './applications/useCurrentApplication';
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PlatformApplication } from './PlatformApplication';
|
|
2
|
-
import { ApplicationMenu } from './ApplicationMenu';
|
|
3
|
-
|
|
4
|
-
type UseApplicationMenuWithDocumentationReturnType = {
|
|
5
|
-
loading: boolean;
|
|
6
|
-
menu: ApplicationMenu;
|
|
7
|
-
};
|
|
8
|
-
export declare const useApplicationMenuWithDocumentation: (application: PlatformApplication | undefined) => UseApplicationMenuWithDocumentationReturnType;
|
|
9
|
-
export default useApplicationMenuWithDocumentation;
|