@strapi/admin 4.14.2 → 4.14.4

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.
Files changed (173) hide show
  1. package/.eslintrc.js +4 -1
  2. package/admin/.eslintrc.js +16 -0
  3. package/admin/custom.d.ts +8 -0
  4. package/admin/src/components/AuthenticatedApp/index.js +3 -7
  5. package/admin/src/components/AuthenticatedApp/utils/api.js +1 -39
  6. package/admin/src/components/AuthenticatedApp/utils/checkLatestStrapiVersion.ts +13 -0
  7. package/admin/src/{hooks/useReleaseNotification/utils/api.js → components/AuthenticatedApp/utils/fetchStrapiLatestRelease.ts} +2 -3
  8. package/admin/src/components/{DragLayer/DragLayer.js → DragLayer.tsx} +18 -10
  9. package/admin/src/components/PrivateRoute.tsx +42 -0
  10. package/admin/src/components/Providers/index.js +2 -2
  11. package/admin/src/components/Theme.tsx +39 -0
  12. package/admin/src/components/ThemeToggleProvider.tsx +50 -0
  13. package/admin/src/components/{UnauthenticatedLogo/index.js → UnauthenticatedLogo.tsx} +2 -4
  14. package/admin/src/content-manager/components/BlocksEditor/BlocksInput/index.js +22 -3
  15. package/admin/src/content-manager/components/BlocksEditor/Toolbar/index.js +263 -134
  16. package/admin/src/content-manager/components/BlocksEditor/hooks/useBlocksStore.js +362 -95
  17. package/admin/src/content-manager/components/BlocksEditor/hooks/useModifiersStore.js +15 -0
  18. package/admin/src/content-manager/components/BlocksEditor/index.js +99 -9
  19. package/admin/src/content-manager/components/BlocksEditor/plugins/index.js +4 -0
  20. package/admin/src/content-manager/components/BlocksEditor/plugins/withLinks.js +61 -0
  21. package/admin/src/content-manager/components/BlocksEditor/plugins/withStrapiSchema.js +33 -0
  22. package/admin/src/content-manager/components/BlocksEditor/utils/links.js +90 -0
  23. package/admin/src/content-manager/components/InputUID/index.js +1 -1
  24. package/admin/src/content-manager/hooks/useAllowedAttributes.js +9 -1
  25. package/admin/src/content-manager/hooks/useRelation/useRelation.js +1 -0
  26. package/admin/src/content-manager/pages/EditSettingsView/index.js +1 -0
  27. package/admin/src/content-manager/pages/EditSettingsView/utils/createPossibleMainFieldsForModelsAndComponents.js +1 -0
  28. package/admin/src/content-manager/pages/ListSettingsView/constants.js +1 -0
  29. package/admin/src/content-manager/pages/ListView/index.js +2 -1
  30. package/admin/src/content-manager/utils/checkIfAttributeIsDisplayable.js +1 -1
  31. package/admin/src/content-manager/utils/schema.js +2 -2
  32. package/admin/src/contexts/configuration.ts +15 -0
  33. package/admin/src/contexts/index.js +1 -2
  34. package/admin/src/contexts/themeToggle.ts +16 -0
  35. package/admin/src/hooks/{useConfigurations/__mocks__/index.js → __mocks__/useConfigurations.ts} +4 -2
  36. package/admin/src/hooks/index.js +1 -5
  37. package/admin/src/hooks/useConfigurations.ts +5 -0
  38. package/admin/src/hooks/useDebounce.ts +17 -0
  39. package/admin/src/hooks/useLicenseLimitNotification.ts +3 -0
  40. package/admin/src/hooks/useThemeToggle.ts +9 -0
  41. package/admin/src/pages/App/index.js +1 -1
  42. package/admin/src/pages/AuthPage/components/ForgotPassword/index.js +1 -1
  43. package/admin/src/pages/AuthPage/components/ForgotPasswordSuccess/index.js +1 -1
  44. package/admin/src/pages/AuthPage/components/Login/BaseLogin.js +1 -1
  45. package/admin/src/pages/AuthPage/components/Oops/index.js +1 -1
  46. package/admin/src/pages/AuthPage/components/Register/index.js +1 -1
  47. package/admin/src/pages/AuthPage/components/ResetPassword/index.js +1 -1
  48. package/admin/src/pages/MarketplacePage/components/NpmPackageCard/index.js +0 -2
  49. package/admin/src/pages/MarketplacePage/hooks/__mocks__/useNavigatorOnline.ts +1 -0
  50. package/admin/src/{hooks/useNavigatorOnLine/index.js → pages/MarketplacePage/hooks/useNavigatorOnline.ts} +4 -6
  51. package/admin/src/pages/MarketplacePage/index.js +3 -3
  52. package/admin/src/pages/ProfilePage/index.js +1 -1
  53. package/admin/src/pages/SettingsPage/components/Tokens/Regenerate/index.js +1 -1
  54. package/admin/src/{hooks/useRegenerate/index.js → pages/SettingsPage/hooks/useRegenerate.ts} +13 -7
  55. package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/Regenerate/index.js +1 -1
  56. package/admin/src/pages/UseCasePage/index.js +1 -1
  57. package/admin/src/translations/en.json +8 -0
  58. package/admin/tsconfig.json +5 -0
  59. package/build/1049.f7aed23d.chunk.js +1 -0
  60. package/build/{1227.969e24e6.chunk.js → 1227.f9c74718.chunk.js} +1 -1
  61. package/build/{1386.db9a2795.chunk.js → 1386.6b8819c6.chunk.js} +2 -2
  62. package/build/2224.8af54440.chunk.js +138 -0
  63. package/build/2225.d1bcf7e3.chunk.js +79 -0
  64. package/build/2379.f0baf826.chunk.js +1 -0
  65. package/build/{2395.f6ac2863.chunk.js → 2395.aca6ce66.chunk.js} +1 -1
  66. package/build/2421.a478ba24.chunk.js +105 -0
  67. package/build/2801.c49f88a1.chunk.js +1 -0
  68. package/build/{3483.f6b2439f.chunk.js → 3483.5df8e010.chunk.js} +1 -1
  69. package/build/3911.d4fada48.chunk.js +95 -0
  70. package/build/412.72afdf0c.chunk.js +689 -0
  71. package/build/{4174.3e13fb26.chunk.js → 4174.df9aa09a.chunk.js} +1 -1
  72. package/build/502.8666bbef.chunk.js +25 -0
  73. package/build/570.2f3b4c56.chunk.js +1 -0
  74. package/build/5702.5b433d50.chunk.js +1 -0
  75. package/build/6186.c33ce082.chunk.js +116 -0
  76. package/build/7464.43a4527c.chunk.js +1 -0
  77. package/build/7818.d2196a53.chunk.js +29 -0
  78. package/build/7897.5c03247b.chunk.js +25 -0
  79. package/build/{8276.951e198e.chunk.js → 8276.d4426fd8.chunk.js} +3 -3
  80. package/build/8690.33243bba.chunk.js +38 -0
  81. package/build/{9832.65ed5a44.chunk.js → 8743.31c921b1.chunk.js} +139 -123
  82. package/build/9218.8bc01ab9.chunk.js +1 -0
  83. package/build/Admin-authenticatedApp.27545a1b.chunk.js +112 -0
  84. package/build/{Admin_InternalErrorPage.b3163562.chunk.js → Admin_InternalErrorPage.b66ee9c1.chunk.js} +1 -1
  85. package/build/Admin_homePage.a6281dd6.chunk.js +124 -0
  86. package/build/Admin_marketplace.31b962b8.chunk.js +44 -0
  87. package/build/{Admin_pluginsPage.b9fa2947.chunk.js → Admin_pluginsPage.9217101d.chunk.js} +1 -1
  88. package/build/{Admin_profilePage.a4d41380.chunk.js → Admin_profilePage.680123d9.chunk.js} +2 -2
  89. package/build/{Admin_settingsPage.6dc2af9f.chunk.js → Admin_settingsPage.33378310.chunk.js} +1 -1
  90. package/build/{Upload_ConfigureTheView.cc7ca628.chunk.js → Upload_ConfigureTheView.b40eea4d.chunk.js} +1 -1
  91. package/build/admin-app.e8c52c37.chunk.js +36 -0
  92. package/build/admin-edit-roles-page.fcf056bf.chunk.js +275 -0
  93. package/build/{admin-edit-users.9b42cc9e.chunk.js → admin-edit-users.89efe3c4.chunk.js} +2 -2
  94. package/build/{admin-roles-list.cf964578.chunk.js → admin-roles-list.8b77704a.chunk.js} +3 -3
  95. package/build/admin-users.e3f1be14.chunk.js +19 -0
  96. package/build/{api-tokens-create-page.2f25ddf6.chunk.js → api-tokens-create-page.0dd63e91.chunk.js} +1 -1
  97. package/build/{api-tokens-edit-page.45faac16.chunk.js → api-tokens-edit-page.78d877f8.chunk.js} +1 -1
  98. package/build/{api-tokens-list-page.5baabf1a.chunk.js → api-tokens-list-page.ae13346c.chunk.js} +2 -2
  99. package/build/audit-logs-settings-page.e9c92a75.chunk.js +9 -0
  100. package/build/content-manager.5849dbe3.chunk.js +1226 -0
  101. package/build/{content-type-builder-list-view.aa8a5d1a.chunk.js → content-type-builder-list-view.3fffae65.chunk.js} +1 -1
  102. package/build/{content-type-builder-translation-en-json.b9e5cacd.chunk.js → content-type-builder-translation-en-json.43f9d7bc.chunk.js} +1 -1
  103. package/build/{content-type-builder.885f2cad.chunk.js → content-type-builder.98c71164.chunk.js} +14 -14
  104. package/build/{email-settings-page.6bd7b280.chunk.js → email-settings-page.ecfec9b3.chunk.js} +1 -1
  105. package/build/{en-json.a3973ff5.chunk.js → en-json.bd611a8e.chunk.js} +1 -1
  106. package/build/{i18n-settings-page.6c0157e7.chunk.js → i18n-settings-page.a9708926.chunk.js} +1 -1
  107. package/build/index.html +1 -1
  108. package/build/main.3abb6f34.js +3278 -0
  109. package/build/{review-workflows-settings-create-view.ae369a88.chunk.js → review-workflows-settings-create-view.b7b0c6c5.chunk.js} +1 -1
  110. package/build/{review-workflows-settings-edit-view.9a61c69f.chunk.js → review-workflows-settings-edit-view.c331b3fe.chunk.js} +1 -1
  111. package/build/review-workflows-settings-list-view.70218dc1.chunk.js +75 -0
  112. package/build/{runtime~main.cec66cd9.js → runtime~main.450561b1.js} +1 -1
  113. package/build/{sso-settings-page.a29e6c38.chunk.js → sso-settings-page.1a9e7f8f.chunk.js} +1 -1
  114. package/build/{transfer-tokens-create-page.6e1b8cee.chunk.js → transfer-tokens-create-page.e7f541d3.chunk.js} +1 -1
  115. package/build/{transfer-tokens-edit-page.10bb22e2.chunk.js → transfer-tokens-edit-page.bd1276c2.chunk.js} +1 -1
  116. package/build/{transfer-tokens-list-page.0306652c.chunk.js → transfer-tokens-list-page.5de6bb9f.chunk.js} +2 -2
  117. package/build/upload-settings.97ef4c92.chunk.js +14 -0
  118. package/build/{upload.19e14c8e.chunk.js → upload.f08715a1.chunk.js} +1 -1
  119. package/build/{users-advanced-settings-page.ed69812f.chunk.js → users-advanced-settings-page.36a3c363.chunk.js} +1 -1
  120. package/build/users-email-settings-page.47b47962.chunk.js +149 -0
  121. package/build/users-providers-settings-page.1e0c8376.chunk.js +154 -0
  122. package/build/{users-roles-settings-page.afab5a0d.chunk.js → users-roles-settings-page.d5a8e8a1.chunk.js} +4 -4
  123. package/build/{webhook-edit-page.4c037da4.chunk.js → webhook-edit-page.87456194.chunk.js} +3 -3
  124. package/build/{webhook-list-page.56c82f4a.chunk.js → webhook-list-page.c88a382b.chunk.js} +3 -3
  125. package/ee/admin/hooks/{useLicenseLimitNotification.js → useLicenseLimitNotification.ts} +4 -4
  126. package/ee/admin/pages/AuthPage/components/Providers/index.js +1 -1
  127. package/ee/admin/pages/SettingsPage/pages/Users/ListPage/index.js +1 -3
  128. package/package.json +13 -12
  129. package/scripts/build.js +6 -2
  130. package/webpack.config.js +1 -0
  131. package/admin/src/components/AuthenticatedApp/utils/checkLatestStrapiVersion.js +0 -11
  132. package/admin/src/components/DragLayer/index.js +0 -1
  133. package/admin/src/components/GlobalStyle/index.js +0 -9
  134. package/admin/src/components/PrivateRoute/index.js +0 -46
  135. package/admin/src/components/Theme/index.js +0 -26
  136. package/admin/src/components/ThemeToggleProvider/index.js +0 -79
  137. package/admin/src/contexts/Configurations/index.js +0 -5
  138. package/admin/src/contexts/ThemeToggle/index.js +0 -5
  139. package/admin/src/hooks/useConfigurations/index.js +0 -11
  140. package/admin/src/hooks/useDebounce/index.js +0 -19
  141. package/admin/src/hooks/useLicenseLimitNotification/index.js +0 -5
  142. package/admin/src/hooks/useReleaseNotification/index.js +0 -31
  143. package/admin/src/hooks/useReleaseNotification/utils/checkLatestStrapiVersion.js +0 -11
  144. package/admin/src/hooks/useThemeToggle/index.js +0 -11
  145. package/admin/src/tsconfig.json +0 -10
  146. package/build/1049.acb0e730.chunk.js +0 -1
  147. package/build/2225.78fb9b89.chunk.js +0 -79
  148. package/build/2379.906334f0.chunk.js +0 -1
  149. package/build/2614.3e088d3e.chunk.js +0 -35
  150. package/build/2659.cb94f1e7.chunk.js +0 -105
  151. package/build/2801.2afb4757.chunk.js +0 -1
  152. package/build/2950.216f2e89.chunk.js +0 -1
  153. package/build/3021.33ad47fb.chunk.js +0 -103
  154. package/build/3911.488fbde3.chunk.js +0 -95
  155. package/build/4546.1203ac95.chunk.js +0 -1
  156. package/build/502.9918bff7.chunk.js +0 -1
  157. package/build/5158.c85f841a.chunk.js +0 -1
  158. package/build/6266.e8990811.chunk.js +0 -146
  159. package/build/7464.0280cf59.chunk.js +0 -1
  160. package/build/7897.4a39de37.chunk.js +0 -6
  161. package/build/Admin-authenticatedApp.08f32723.chunk.js +0 -112
  162. package/build/Admin_homePage.6cb51f18.chunk.js +0 -81
  163. package/build/Admin_marketplace.3eb5e132.chunk.js +0 -55
  164. package/build/admin-app.98cdf43a.chunk.js +0 -36
  165. package/build/admin-edit-roles-page.418bb1c5.chunk.js +0 -267
  166. package/build/admin-users.8385dd73.chunk.js +0 -11
  167. package/build/audit-logs-settings-page.91489670.chunk.js +0 -1
  168. package/build/content-manager.0d2b4a60.chunk.js +0 -1199
  169. package/build/main.105dcf23.js +0 -2665
  170. package/build/review-workflows-settings-list-view.067e0c35.chunk.js +0 -56
  171. package/build/upload-settings.0af6edc5.chunk.js +0 -14
  172. package/build/users-email-settings-page.131a00fb.chunk.js +0 -9
  173. package/build/users-providers-settings-page.b3dca41d.chunk.js +0 -14
@@ -0,0 +1,689 @@
1
+ (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[412],{91131:function($,c,t){var n=t(94318),o=t(3387),s="[object RegExp]";function a(f){return o(f)&&n(f)==s}$.exports=a},63349:function($,c,t){var n=t(5720),o=/^\s+/;function s(a){return a&&a.slice(0,n(a)+1).replace(o,"")}$.exports=s},5720:function($){var c=/\s/;function t(n){for(var o=n.length;o--&&c.test(n.charAt(o)););return o}$.exports=t},52654:function($,c,t){var n=t(91131),o=t(76535),s=t(91782),a=s&&s.isRegExp,f=a?o(a):n;$.exports=f},78746:function($,c,t){var n=t(63349),o=t(85973),s=t(22945),a=0/0,f=/^[-+]0x[0-9a-f]+$/i,e=/^0b[01]+$/i,i=/^0o[0-7]+$/i,h=parseInt;function E(p){if(typeof p=="number")return p;if(s(p))return a;if(o(p)){var _=typeof p.valueOf=="function"?p.valueOf():p;p=o(_)?_+"":_}if(typeof p!="string")return p===0?p:+p;p=n(p);var w=e.test(p);return w||i.test(p)?h(p.slice(2),w?2:8):f.test(p)?a:+p}$.exports=E},51382:function($,c,t){var n=t(90454),o=t(24793),s=t(34327),a=t(85973),f=t(52654),e=t(38788),i=t(51119),h=t(25225),E=t(41119),p=30,_="...",w=/\w*$/;function b(P,m){var u=p,M=_;if(a(m)){var j="separator"in m?m.separator:j;u="length"in m?h(m.length):u,M="omission"in m?n(m.omission):M}P=E(P);var y=P.length;if(s(P)){var R=i(P);y=R.length}if(u>=y)return P;var O=u-e(M);if(O<1)return M;var T=R?o(R,0,O).join(""):P.slice(0,O);if(j===void 0)return T+M;if(R&&(O+=T.length-O),f(j)){if(P.slice(O).search(j)){var L,W=T;for(j.global||(j=RegExp(j.source,E(w.exec(j))+"g")),j.lastIndex=0;L=j.exec(W);)var N=L.index;T=T.slice(0,N===void 0?O:N)}}else if(P.indexOf(n(j),O)!=O){var A=T.lastIndexOf(j);A>-1&&(T=T.slice(0,A))}return T+M}$.exports=b},18101:function($,c,t){"use strict";t.d(c,{Q:function(){return p}});var n=t(74512),o=t(32735),s=t(14911),a=t(8471),f=t(73290),e=t(65351),i=t(84642),h=t(8365);const E=(0,a.ZP)(e.G)`
2
+ &[aria-disabled='true'] {
3
+ ${f.sg}
4
+ &:active {
5
+ ${f.sg}
6
+ }
7
+ }
8
+ &:hover {
9
+ ${f.yP}
10
+ }
11
+ &:active {
12
+ ${f.tB}
13
+ }
14
+ ${f.PD}
15
+ `,p=o.forwardRef(({variant:_="default",startIcon:w,endIcon:b,disabled:P=!1,children:m,size:u="S",href:M,to:j,...y},R)=>{const O=M?"_blank":void 0,T=M?"noreferrer noopener":void 0,L=u==="S"?2:"10px",W=4;return(0,n.jsxs)(E,{ref:R,"aria-disabled":P,size:u,variant:_,target:O,rel:T,to:P?void 0:j,href:P?"#":M,background:"buttonPrimary600",borderColor:"buttonPrimary600",hasRadius:!0,gap:2,inline:!0,paddingBottom:L,paddingLeft:W,paddingRight:W,paddingTop:L,pointerEvents:P?"none":void 0,...y,as:j&&!P?s.OL:"a",children:[w&&(0,n.jsx)(i.k,{"aria-hidden":!0,children:w}),(0,n.jsx)(h.Z,{variant:u==="S"?"pi":void 0,fontWeight:"bold",textColor:"buttonNeutral0",children:m}),b&&(0,n.jsx)(i.k,{"aria-hidden":!0,children:b})]})})},63057:function($,c,t){"use strict";t.d(c,{Q:function(){return a}});var n=t(74512),o=t(8471),s=t(74323);const a=({options:e,...i})=>(0,n.jsx)(s.NU,{...i,children:e.map(h=>"children"in h?(0,n.jsx)(s.Ab,{label:h.label,values:h.children.map(E=>E.value.toString()),children:h.children.map(E=>(0,n.jsx)(f,{value:E.value,children:E.label},E.value))},h.label):(0,n.jsx)(s.ML,{value:h.value,children:h.label},h.value))}),f=(0,o.ZP)(s.ML)`
16
+ padding-left: ${({theme:e})=>e.spaces[7]};
17
+ `},70788:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...a,children:(0,n.jsx)("path",{fill:"#212134",d:"M24 13.3a.2.2 0 0 1-.2.2H5.74l8.239 8.239a.2.2 0 0 1 0 .282L12.14 23.86a.2.2 0 0 1-.282 0L.14 12.14a.2.2 0 0 1 0-.282L11.86.14a.2.2 0 0 1 .282 0L13.98 1.98a.2.2 0 0 1 0 .282L5.74 10.5H23.8c.11 0 .2.09.2.2v2.6Z"})}),s=o},90984:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 34 25",...a,children:[(0,n.jsx)("rect",{width:33,height:23,x:.5,y:1,fill:"#EAF5FF",stroke:"#B8E1FF",rx:2.5}),(0,n.jsx)("path",{fill:"#0C75AF",d:"M18.901 9.828a1.043 1.043 0 1 0 0-2.086 1.043 1.043 0 0 0 0 2.086Z"}),(0,n.jsx)("path",{fill:"#0C75AF",d:"M19.703 8.785a.81.81 0 0 1-.512.748.814.814 0 0 1-.91-.239.804.804 0 0 1 .753-1.301.814.814 0 0 1 .669.792c.005.311.487.311.483 0a1.308 1.308 0 0 0-.867-1.215 1.288 1.288 0 0 0-1.4.39 1.296 1.296 0 0 0-.119 1.489c.283.468.83.697 1.364.596.597-.113 1.012-.664 1.021-1.258.005-.314-.477-.314-.482-.002ZM18.901 13.488a1.043 1.043 0 1 0 0-2.086 1.043 1.043 0 0 0 0 2.086Z"}),(0,n.jsx)("path",{fill:"#0C75AF",d:"M19.703 12.445a.81.81 0 0 1-.512.748.814.814 0 0 1-.91-.239.804.804 0 0 1 .753-1.301.812.812 0 0 1 .669.792c.005.311.487.311.483 0a1.307 1.307 0 0 0-.867-1.215 1.288 1.288 0 0 0-1.4.39 1.296 1.296 0 0 0-.119 1.489c.283.468.83.697 1.364.596.597-.113 1.012-.664 1.021-1.258.005-.314-.477-.314-.482-.002ZM18.901 17.247a1.043 1.043 0 1 0 0-2.086 1.043 1.043 0 0 0 0 2.086Z"}),(0,n.jsx)("path",{fill:"#0C75AF",d:"M19.703 16.204a.81.81 0 0 1-.512.748.814.814 0 0 1-.91-.239.804.804 0 0 1 .753-1.301.812.812 0 0 1 .669.792c.005.311.487.311.483 0a1.308 1.308 0 0 0-.867-1.215 1.288 1.288 0 0 0-1.4.39 1.296 1.296 0 0 0-.119 1.489c.283.468.83.698 1.364.596.597-.113 1.012-.664 1.021-1.258.005-.313-.477-.313-.482-.002ZM15.075 9.842a1.043 1.043 0 1 0 0-2.086 1.043 1.043 0 0 0 0 2.086Z"}),(0,n.jsx)("path",{fill:"#0C75AF",d:"M15.876 8.8a.81.81 0 0 1-.512.748.814.814 0 0 1-.91-.24.804.804 0 0 1 .753-1.301.81.81 0 0 1 .669.792c.005.312.488.312.483 0a1.308 1.308 0 0 0-.867-1.214 1.288 1.288 0 0 0-1.4.389 1.296 1.296 0 0 0-.119 1.49c.283.468.831.697 1.365.596.596-.114 1.011-.664 1.02-1.258.006-.314-.477-.314-.482-.003ZM15.075 13.503a1.043 1.043 0 1 0 0-2.086 1.043 1.043 0 0 0 0 2.086Z"}),(0,n.jsx)("path",{fill:"#0C75AF",d:"M15.876 12.46a.81.81 0 0 1-.512.748.814.814 0 0 1-.91-.24.804.804 0 0 1 .753-1.301.81.81 0 0 1 .669.792c.005.312.488.312.483 0a1.308 1.308 0 0 0-.867-1.214 1.288 1.288 0 0 0-1.4.389 1.296 1.296 0 0 0-.119 1.49c.283.468.831.697 1.365.596.596-.114 1.011-.664 1.02-1.258.006-.314-.477-.314-.482-.003ZM15.075 17.261a1.043 1.043 0 1 0 0-2.086 1.043 1.043 0 0 0 0 2.086Z"}),(0,n.jsx)("path",{fill:"#0C75AF",d:"M15.876 16.218a.81.81 0 0 1-.512.749.814.814 0 0 1-.91-.24.804.804 0 0 1 .753-1.301.808.808 0 0 1 .669.792c.005.312.488.312.483 0a1.308 1.308 0 0 0-.867-1.214 1.288 1.288 0 0 0-1.4.389 1.293 1.293 0 0 0-.119 1.487c.283.468.831.698 1.365.596.596-.113 1.011-.664 1.02-1.258.006-.311-.477-.311-.482 0Z"})]}),s=o},19999:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...a,children:(0,n.jsx)("path",{fill:"#212134",d:"M13 21v2.5l-3-2-3 2V21h-.5A3.5 3.5 0 0 1 3 17.5V5a3 3 0 0 1 3-3h14a1 1 0 0 1 1 1v17a1 1 0 0 1-1 1h-7Zm-6-2v-2h6v2h6v-3H6.5a1.5 1.5 0 1 0 0 3H7ZM7 5v2h2V5H7Zm0 3v2h2V8H7Zm0 3v2h2v-2H7Z"})}),s=o},23673:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...a,children:[(0,n.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#4945FF",stroke:"#4945FF",rx:2.5}),(0,n.jsx)("path",{fill:"#fff",d:"M15.328 10.54h1.723c.012-.089.012-.165.012-.253 0-1.676-1.471-2.959-3.41-2.959-2.696 0-4.647 2.22-4.647 5.344 0 2.15 1.383 3.545 3.504 3.545 2.045 0 3.597-1.154 3.967-2.936h-1.752c-.276.826-1.102 1.371-2.063 1.371-1.137 0-1.846-.802-1.846-2.103 0-2.08 1.19-3.65 2.725-3.65 1.037 0 1.746.62 1.787 1.558v.082ZM21.053 16l1.488-6.943h2.531l.31-1.512H18.54l-.31 1.512h2.53L19.272 16h1.782Z"})]}),s=o},32880:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...a,children:[(0,n.jsx)("path",{fill:"#212134",d:"M11.987 23.036v-.964H1.876V1.876h10.111V0H0v24h11.987v-.964Z"}),(0,n.jsx)("path",{fill:"#212134",d:"M8 11.2c0-.11.09-.2.2-.2h11.973l-5.445-5.445a.2.2 0 0 1 0-.283l1.13-1.13a.2.2 0 0 1 .283 0l7.718 7.717a.2.2 0 0 1 0 .282L16.14 19.86a.2.2 0 0 1-.282 0l-1.13-1.13a.2.2 0 0 1 0-.284L20.172 13H8.2a.2.2 0 0 1-.2-.2v-1.6Z"})]}),s=o},18981:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...a,children:(0,n.jsx)("path",{fill:"#212134",d:"M6.455 19 2 22.5V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6.455ZM7 10v2h2v-2H7Zm4 0v2h2v-2h-2Zm4 0v2h2v-2h-2Z"})}),s=o},39544:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...a,children:(0,n.jsx)("path",{fill:"#212134",d:"M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.53-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685Z"})}),s=o},60389:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...a,children:[(0,n.jsx)("path",{fill:"#FDF4DC",stroke:"#FAE7B9",d:"M.5 3A2.5 2.5 0 0 1 3 .5h26A2.5 2.5 0 0 1 31.5 3v18a2.5 2.5 0 0 1-2.5 2.5H3A2.5 2.5 0 0 1 .5 21V3Z"}),(0,n.jsx)("path",{fill:"#D9822F",d:"M20.158 11.995c0-.591-.463-1.073-1.045-1.11H13.53V9.245a2.05 2.05 0 0 1 2.046-2.049c1.13 0 2.048.784 2.049 1.913 0 .24.194.433.433.433h.33a.433.433 0 0 0 .433-.433C18.82 7.32 17.365 5.999 15.577 6a3.246 3.246 0 0 0-3.241 3.244v1.642h-.223c-.615 0-1.113.499-1.113 1.114v4.887c.001.615.5 1.113 1.115 1.113l6.93-.003c.616 0 1.114-.5 1.114-1.115l-.001-4.887Z"})]}),s=o},58518:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 8 8",...a,children:(0,n.jsx)("path",{fill:"#212134",d:"M2 .93c0-.4.45-.63.78-.41l4.6 3.06c.3.2.3.64 0 .84l-4.6 3.06A.5.5 0 0 1 2 7.07V.93Z"})}),s=o},47372:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 15 14",...a,children:(0,n.jsx)("path",{fill:"#212134",d:"M5.08 4.1c0-1.19 1.18-2.17 2.42-2.17s2.43.98 2.43 2.17c0 1.1-.56 1.61-1.31 2.28l-.03.03c-.75.65-1.66 1.47-1.66 3.09a.57.57 0 1 0 1.15 0c0-1.08.55-1.6 1.3-2.26l.02-.02c.75-.66 1.67-1.48 1.67-3.12C11.07 2.13 9.22.78 7.5.78 5.78.78 3.93 2.13 3.93 4.1a.57.57 0 1 0 1.15 0Zm2.42 9.26a.88.88 0 1 0 0-1.75.88.88 0 0 0 0 1.75Z"})}),s=o},53226:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...a,children:[(0,n.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#EAF5FF",stroke:"#B8E1FF",rx:2.5}),(0,n.jsx)("path",{fill:"#0C75AF",fillRule:"evenodd",d:"M19.286 9.286v-.857a.397.397 0 0 0-.138-.302A.465.465 0 0 0 18.82 8h-8.357a.465.465 0 0 0-.326.127.397.397 0 0 0-.138.302v.857c0 .116.046.216.138.301.092.085.2.127.326.127h8.357a.465.465 0 0 0 .327-.127.397.397 0 0 0 .138-.301Zm2.785 2.713v.857a.397.397 0 0 1-.137.301.465.465 0 0 1-.327.128H10.464a.465.465 0 0 1-.326-.128.397.397 0 0 1-.138-.301v-.857c0-.116.046-.217.138-.302a.465.465 0 0 1 .326-.127h11.143c.126 0 .235.043.327.127a.397.397 0 0 1 .137.302Zm-1.857 3.574v.857a.397.397 0 0 1-.137.302.465.465 0 0 1-.327.127h-9.286a.465.465 0 0 1-.326-.127.397.397 0 0 1-.138-.302v-.857c0-.116.046-.216.138-.301a.465.465 0 0 1 .326-.127h9.286c.126 0 .235.042.326.127a.397.397 0 0 1 .138.301Z",clipRule:"evenodd"})]}),s=o},12171:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...a,children:[(0,n.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#0C75AF",stroke:"#0C75AF",rx:2.5}),(0,n.jsx)("path",{fill:"#fff",d:"M8.523 13.586c.106 1.64 1.418 2.63 3.34 2.63 2.098 0 3.516-1.113 3.516-2.788 0-1.143-.65-1.846-2.086-2.297l-.867-.27c-.797-.252-1.137-.597-1.137-1.066 0-.598.633-1.031 1.459-1.031.873 0 1.512.474 1.617 1.183h1.67c-.053-1.54-1.36-2.619-3.217-2.619-1.91 0-3.328 1.131-3.328 2.678 0 1.09.715 1.922 1.963 2.309l.879.275c.914.287 1.266.592 1.266 1.084 0 .662-.657 1.107-1.606 1.107-.914 0-1.635-.469-1.758-1.195h-1.71ZM20.107 16l1.489-6.943h2.531l.31-1.512h-6.843l-.31 1.512h2.53L18.326 16h1.781Z"})]}),s=o},22356:function($,c,t){"use strict";t.d(c,{Z:function(){return s}});var n=t(74512);const o=a=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...a,children:(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M23.707.297A1 1 0 0 0 23 .004h-2a13.907 13.907 0 0 0-5.38 1.077 1 1 0 0 0-.615.923V4.92a.035.035 0 0 1-.022.038l-2-1.47a1 1 0 0 0-1.265.052A14 14 0 0 0 7 14.004v1.585l-2.707 2.707a1 1 0 1 0 1.415 1.415l2.707-2.708H10a14.014 14.014 0 0 0 14-14v-2a1 1 0 0 0-.293-.706ZM18 23.999H3a3 3 0 0 1-3-3V6A3 3 0 0 1 3 3h3a1 1 0 1 1 0 2H3a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-3a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3Z",clipRule:"evenodd"})}),s=o},83819:function($,c,t){"use strict";t.d(c,{Y:function(){return i}});var n=t(74512),o=t(32735),s=t(8471),a=t(69549),f=t(5717);const e=(0,s.ZP)(f.k)`
18
+ > svg {
19
+ height: ${({theme:h})=>h.spaces[3]};
20
+ width: ${({theme:h})=>h.spaces[3]};
21
+
22
+ > g,
23
+ path {
24
+ fill: ${({theme:h})=>h.colors.neutral0};
25
+ }
26
+ }
27
+
28
+ &[aria-disabled='true'] {
29
+ pointer-events: none;
30
+ }
31
+
32
+ ${a.BF}
33
+ `,i=o.forwardRef(({disabled:h,children:E,background:p="neutral0",..._},w)=>(0,n.jsx)(e,{ref:w,"aria-disabled":h,as:"button",type:"button",disabled:h,padding:2,hasRadius:!0,background:p,borderColor:"neutral200",cursor:"pointer",..._,children:E}));i.displayName="BaseButton"},55171:function($,c,t){"use strict";t.d(c,{f:function(){return a}});var n=t(74512),o=t(32735),s=t(16833);const a=o.forwardRef(({href:f,rel:e="noreferrer noopener",target:i="_self",disabled:h=!1,isExternal:E=!1,...p},_)=>(0,n.jsx)(s.x,{as:"a",ref:_,target:E?"_blank":i,rel:E?e:void 0,href:h?"#":f,"aria-disabled":h,cursor:"pointer",...p}));a.displayName="BaseLink"},16833:function($,c,t){"use strict";t.d(c,{x:function(){return f}});var n=t(8471),o=t(40041),s=t(40187);const a={color:!0,cursor:!0,height:!0,width:!0},f=n.ZP.div.withConfig({shouldForwardProp:(e,i)=>!a[e]&&i(e)})`
34
+ // Font
35
+ font-size: ${({fontSize:e,theme:i})=>(0,s.$)(i.fontSizes,e,e)};
36
+
37
+ // Colors
38
+ background: ${({theme:e,background:i})=>(0,s.$)(e.colors,i,i)};
39
+ color: ${({theme:e,color:i})=>(0,s.$)(e.colors,i,void 0)};
40
+
41
+ // Spaces
42
+ ${({theme:e,padding:i})=>(0,o.Z)("padding",i,e)}
43
+ ${({theme:e,paddingTop:i})=>(0,o.Z)("padding-top",i,e)}
44
+ ${({theme:e,paddingRight:i})=>(0,o.Z)("padding-right",i,e)}
45
+ ${({theme:e,paddingBottom:i})=>(0,o.Z)("padding-bottom",i,e)}
46
+ ${({theme:e,paddingLeft:i})=>(0,o.Z)("padding-left",i,e)}
47
+ ${({theme:e,marginLeft:i})=>(0,o.Z)("margin-left",i,e)}
48
+ ${({theme:e,marginRight:i})=>(0,o.Z)("margin-right",i,e)}
49
+ ${({theme:e,marginTop:i})=>(0,o.Z)("margin-top",i,e)}
50
+ ${({theme:e,marginBottom:i})=>(0,o.Z)("margin-bottom",i,e)}
51
+
52
+ // Responsive hiding
53
+ ${({theme:e,hiddenS:i})=>i?`${e.mediaQueries.tablet} { display: none; }`:void 0}
54
+ ${({theme:e,hiddenXS:i})=>i?`${e.mediaQueries.mobile} { display: none; }`:void 0}
55
+
56
+
57
+ // Borders
58
+ border-radius: ${({theme:e,hasRadius:i,borderRadius:h})=>i?e.borderRadius:h};
59
+ border-style: ${({borderStyle:e})=>e};
60
+ border-width: ${({borderWidth:e})=>e};
61
+ border-color: ${({borderColor:e,theme:i})=>(0,s.$)(i.colors,e,void 0)};
62
+ border: ${({theme:e,borderColor:i,borderStyle:h,borderWidth:E})=>{if(i&&!h&&typeof E>"u")return`1px solid ${e.colors[i]}`}};
63
+
64
+ // Shadows
65
+ box-shadow: ${({theme:e,shadow:i})=>(0,s.$)(e.shadows,i,void 0)};
66
+
67
+ // Handlers
68
+ pointer-events: ${({pointerEvents:e})=>e};
69
+ &:hover {
70
+ ${({_hover:e,theme:i})=>e?e(i):void 0}
71
+ }
72
+
73
+ // Display
74
+ display: ${({display:e})=>e};
75
+
76
+ // Position
77
+ position: ${({position:e})=>e};
78
+ left: ${({left:e,theme:i})=>(0,s.$)(i.spaces,e,e)};
79
+ right: ${({right:e,theme:i})=>(0,s.$)(i.spaces,e,e)};
80
+ top: ${({top:e,theme:i})=>(0,s.$)(i.spaces,e,e)};
81
+ bottom: ${({bottom:e,theme:i})=>(0,s.$)(i.spaces,e,e)};
82
+ z-index: ${({zIndex:e})=>e};
83
+ overflow: ${({overflow:e})=>e};
84
+
85
+ // Size
86
+ width: ${({width:e,theme:i})=>(0,s.$)(i.spaces,e,e)};
87
+ max-width: ${({maxWidth:e,theme:i})=>(0,s.$)(i.spaces,e,e)};
88
+ min-width: ${({minWidth:e,theme:i})=>(0,s.$)(i.spaces,e,e)};
89
+ height: ${({height:e,theme:i})=>(0,s.$)(i.spaces,e,e)};
90
+ max-height: ${({maxHeight:e,theme:i})=>(0,s.$)(i.spaces,e,e)};
91
+ min-height: ${({minHeight:e,theme:i})=>(0,s.$)(i.spaces,e,e)};
92
+
93
+ // Animation
94
+ transition: ${({transition:e})=>e};
95
+ transform: ${({transform:e})=>e};
96
+ animation: ${({animation:e})=>e};
97
+
98
+ //Flexbox children props
99
+ flex-shrink: ${({shrink:e})=>e};
100
+ flex-grow: ${({grow:e})=>e};
101
+ flex-basis: ${({basis:e})=>e};
102
+ flex: ${({flex:e})=>e};
103
+
104
+ // Text
105
+ text-align: ${({textAlign:e})=>e};
106
+ text-transform: ${({textTransform:e})=>e};
107
+ line-height: ${({theme:e,lineHeight:i})=>(0,s.$)(e.lineHeights,i,i)};
108
+
109
+ // Cursor
110
+ cursor: ${({cursor:e})=>e};
111
+ `},5717:function($,c,t){"use strict";t.d(c,{k:function(){return f}});var n=t(8471),o=t(40041),s=t(16833);const a={direction:!0},f=(0,n.ZP)(s.x).withConfig({shouldForwardProp:(e,i)=>!a[e]&&i(e)})`
112
+ align-items: ${({alignItems:e="center"})=>e};
113
+ display: ${({display:e="flex",inline:i})=>i?"inline-flex":e};
114
+ flex-direction: ${({direction:e="row"})=>e};
115
+ flex-shrink: ${({shrink:e})=>e};
116
+ flex-wrap: ${({wrap:e})=>e};
117
+ ${({gap:e,theme:i})=>(0,o.Z)("gap",e,i)};
118
+ justify-content: ${({justifyContent:e})=>e};
119
+ `},17856:function($,c,t){"use strict";t.d(c,{Z:function(){return P}});var n=t(8471);const o="alpha",s="beta",a="delta",f="epsilon",e="omega",i="pi",h="sigma",E=[o,s,a,f,e,i,h],p=({ellipsis:m=!1})=>m&&`
120
+ display: block;
121
+ white-space: nowrap;
122
+ overflow: hidden;
123
+ text-overflow: ellipsis;
124
+ `,_=({variant:m=e,theme:u})=>{switch(m){case o:return`
125
+ font-weight: ${u.fontWeights.bold};
126
+ font-size: ${u.fontSizes[5]};
127
+ line-height: ${u.lineHeights[2]};
128
+ `;case s:return`
129
+ font-weight: ${u.fontWeights.bold};
130
+ font-size: ${u.fontSizes[4]};
131
+ line-height: ${u.lineHeights[1]};
132
+ `;case a:return`
133
+ font-weight: ${u.fontWeights.semiBold};
134
+ font-size: ${u.fontSizes[3]};
135
+ line-height: ${u.lineHeights[2]};
136
+ `;case f:return`
137
+ font-size: ${u.fontSizes[3]};
138
+ line-height: ${u.lineHeights[6]};
139
+ `;case e:return`
140
+ font-size: ${u.fontSizes[2]};
141
+ line-height: ${u.lineHeights[4]};
142
+ `;case i:return`
143
+ font-size: ${u.fontSizes[1]};
144
+ line-height: ${u.lineHeights[3]};
145
+ `;case h:return`
146
+ font-weight: ${u.fontWeights.bold};
147
+ font-size: ${u.fontSizes[0]};
148
+ line-height: ${u.lineHeights[5]};
149
+ text-transform: uppercase;
150
+ `;default:return`
151
+ font-size: ${u.fontSizes[2]};
152
+ `}};var w=t(40187);const b={fontSize:!0,fontWeight:!0},P=n.ZP.span.withConfig({shouldForwardProp:(m,u)=>!b[m]&&u(m)})`
153
+ ${_}
154
+ ${p}
155
+
156
+ // These properties need to come after {variantStyle}, because they might
157
+ // overwrite a variant attribute
158
+ font-weight: ${({theme:m,fontWeight:u})=>(0,w.$)(m.fontWeights,u,void 0)};
159
+ font-size: ${({theme:m,fontSize:u})=>(0,w.$)(m.fontSizes,u,void 0)};
160
+ line-height: ${({theme:m,lineHeight:u})=>(0,w.$)(m.lineHeights,u,u)};
161
+ color: ${({theme:m,textColor:u})=>m.colors[u||"neutral800"]};
162
+ text-align: ${({textAlign:m})=>m};
163
+ text-decoration: ${({textDecoration:m})=>m};
164
+ text-transform: ${({textTransform:m})=>m};
165
+ `},40041:function($,c,t){"use strict";t.d(c,{Z:function(){return n}});const n=(o,s,a)=>{if(!s)return;let f=Array.isArray(s)?s:[];if(!Array.isArray(s)&&typeof s=="object"&&(f=[s?.desktop,s?.tablet,s?.mobile]),f.length>0)return f.reduce((h,E,p)=>{if(E)switch(p){case 0:return`${h}${o}: ${a.spaces[E]};`;case 1:return`${h}${a.mediaQueries.tablet}{${o}: ${a.spaces[E]};}`;case 2:return`${h}${a.mediaQueries.mobile}{${o}: ${a.spaces[E]};}`;default:return h}return h},"");const e=a.spaces[s]||s;return`${o}: ${e};`}},40187:function($,c,t){"use strict";t.d(c,{$:function(){return s}});function n(a,f){return typeof a=="string"?!1:f in a}function o(a){return a&&typeof a=="object"&&!Array.isArray(a)}function s(a,f,e){return f&&n(a,f)?a[f]:e}},77062:function($,c,t){"use strict";t.d(c,{M:function(){return a}});var n=t(32735);const o=n["useId".toString()]||(()=>{});let s=0;const a=f=>{const[e,i]=(0,n.useState)(o());return(0,n.useLayoutEffect)(()=>{f||i(h=>h??String(s++))},[f]),f?.toString()??(e||"")}},69549:function($,c,t){"use strict";t.d(c,{BF:function(){return a},k3:function(){return s}});var n=t(8471);const o=f=>({theme:e,size:i})=>e.sizes[f][i],s=(f="&")=>({theme:e,hasError:i=!1})=>(0,n.iv)`
166
+ outline: none;
167
+ box-shadow: 0;
168
+ transition-property: border-color, box-shadow, fill;
169
+ transition-duration: 0.2s;
170
+
171
+ ${f}:focus-within {
172
+ border: 1px solid ${i?e.colors.danger600:e.colors.primary600};
173
+ box-shadow: ${i?e.colors.danger600:e.colors.primary600} 0px 0px 0px 2px;
174
+ }
175
+ `,a=({theme:f})=>(0,n.iv)`
176
+ position: relative;
177
+ outline: none;
178
+
179
+ &:after {
180
+ transition-property: all;
181
+ transition-duration: 0.2s;
182
+ border-radius: 8px;
183
+ content: '';
184
+ position: absolute;
185
+ top: -4px;
186
+ bottom: -4px;
187
+ left: -4px;
188
+ right: -4px;
189
+ border: 2px solid transparent;
190
+ }
191
+
192
+ &:focus-visible {
193
+ outline: none;
194
+ &:after {
195
+ border-radius: 8px;
196
+ content: '';
197
+ position: absolute;
198
+ top: -5px;
199
+ bottom: -5px;
200
+ left: -5px;
201
+ right: -5px;
202
+ border: 2px solid ${f.colors.primary600};
203
+ }
204
+ }
205
+ `},30181:function($,c,t){"use strict";t.d(c,{O:function(){return E}});var n=t(74512),o=t(32735),s=t(8471),a=t(16833),f=t(17856);const e=()=>(0,n.jsx)(a.x,{"aria-hidden":!0,paddingLeft:1,paddingRight:1,children:(0,n.jsx)(f.Z,{variant:"pi",textColor:"neutral500",children:"/"})});e.displayName="Divider";var i=t(5717);const h=(0,s.ZP)(i.k)`
206
+ // CrumbLinks do have padding-x, because they need to have a
207
+ // interaction effect, which mis-aligns the breadcrumbs on the left.
208
+ // This normalizes the behavior by moving the first item to left by
209
+ // the same amount it has inner padding
210
+ :first-child {
211
+ margin-left: ${({theme:p})=>`calc(-1*${p.spaces[2]})`};
212
+ }
213
+ `,E=({label:p,children:_,...w})=>{const b=o.Children.toArray(_);return(0,n.jsx)(a.x,{"aria-label":p,...w,children:(0,n.jsx)(h,{as:"ol",children:o.Children.map(b,(P,m)=>{const u=b.length>1&&m+1<b.length;return(0,n.jsxs)(i.k,{inline:!0,as:"li",children:[P,u&&(0,n.jsx)(e,{})]})})})})};E.displayName="Breadcrumbs"},15290:function($,c,t){"use strict";t.d(c,{$:function(){return a}});var n=t(74512),o=t(16833),s=t(17856);const a=({children:f,isCurrent:e=!1,...i})=>(0,n.jsx)(o.x,{paddingLeft:2,paddingRight:2,paddingTop:1,paddingBottom:1,children:(0,n.jsx)(s.Z,{variant:"pi",textColor:"neutral800",fontWeight:e?"bold":"normal","aria-current":e,...i,children:f})});a.displayName="Crumb"},53083:function($,c,t){"use strict";t.d(c,{VY:function(){return $n},ck:function(){return mn},fC:function(){return vn},xz:function(){return z}});var n=t(74512),o=t(32735),s=t(5904),a=t(91917),f=t(51939),e=t(8471),i=t(40187),h=t(95441),E=t(69549),p=t(55171),_=t(17856);const w=(0,e.ZP)(p.f)`
214
+ display: inline-flex;
215
+ align-items: center;
216
+ text-decoration: none;
217
+ gap: ${({theme:d})=>d.spaces[2]};
218
+ pointer-events: ${({disabled:d})=>d?"none":void 0};
219
+
220
+ svg {
221
+ font-size: ${10/16}rem;
222
+
223
+ path {
224
+ fill: ${({disabled:d,theme:r})=>d?r.colors.neutral600:r.colors.primary600};
225
+ }
226
+ }
227
+
228
+ &:hover {
229
+ color: ${({theme:d})=>d.colors.primary500};
230
+ }
231
+
232
+ &:active {
233
+ color: ${({theme:d})=>d.colors.primary700};
234
+ }
235
+
236
+ ${E.BF};
237
+ `,b=o.forwardRef(({children:d,href:r,disabled:l=!1,startIcon:x,endIcon:g,isExternal:v=!0,...C},D)=>(0,n.jsxs)(w,{ref:D,href:r,disabled:l,isExternal:v,...C,children:[x,(0,n.jsx)(_.Z,{textColor:l?"neutral600":"primary600",children:d}),g,r&&!g&&v&&(0,n.jsx)(h.Z,{})]}));b.displayName="Link";var P=t(75760);const m="success-light",u="danger-light",M="default",j="tertiary",y="secondary",R="danger",O="success",T="ghost",L=[m,u],W=[M,j,y,R,O,T,...L],N=["S","M","L"],A=d=>d===m||d===u?`${d.substring(0,d.lastIndexOf("-"))}`:d===j?"neutral":d===M||d===y||W.every(r=>r!==d)?"primary":`${d}`,J=({theme:d})=>`
238
+ border: 1px solid ${d.colors.neutral200};
239
+ background: ${d.colors.neutral150};
240
+ ${_.Z} {
241
+ color: ${d.colors.neutral600};
242
+ }
243
+ svg {
244
+ > g, path {
245
+ fill: ${d.colors.neutral600};
246
+ }
247
+ }
248
+ `,en=({theme:d,variant:r})=>[...L,y].includes(r)?`
249
+ background-color: ${d.colors.neutral0};
250
+ `:r===j?`
251
+ background-color: ${d.colors.neutral100};
252
+ `:r===T?`
253
+ background-color: ${d.colors.neutral100};
254
+ `:r===M?`
255
+ border: 1px solid ${d.colors.buttonPrimary500};
256
+ background: ${d.colors.buttonPrimary500};
257
+ `:`
258
+ border: 1px solid ${d.colors[`${A(r)}500`]};
259
+ background: ${d.colors[`${A(r)}500`]};
260
+ `,rn=({theme:d,variant:r})=>[...L,y].includes(r)?`
261
+ background-color: ${d.colors.neutral0};
262
+ border: 1px solid ${d.colors[`${A(r)}600`]};
263
+ ${_.Z} {
264
+ color: ${d.colors[`${A(r)}600`]};
265
+ }
266
+ svg {
267
+ > g, path {
268
+ fill: ${d.colors[`${A(r)}600`]};
269
+ }
270
+ }
271
+ `:r===j?`
272
+ background-color: ${d.colors.neutral150};
273
+ `:`
274
+ border: 1px solid ${d.colors[`${A(r)}600`]};
275
+ background: ${d.colors[`${A(r)}600`]};
276
+ `,G=({theme:d,variant:r})=>{switch(r){case u:case m:case y:return`
277
+ border: 1px solid ${d.colors[`${A(r)}200`]};
278
+ background: ${d.colors[`${A(r)}100`]};
279
+ ${_.Z} {
280
+ color: ${d.colors[`${A(r)}700`]};
281
+ }
282
+ svg {
283
+ > g, path {
284
+ fill: ${d.colors[`${A(r)}700`]};
285
+ }
286
+ }
287
+ `;case j:return`
288
+ border: 1px solid ${d.colors.neutral200};
289
+ background: ${d.colors.neutral0};
290
+ ${_.Z} {
291
+ color: ${d.colors.neutral800};
292
+ }
293
+ svg {
294
+ > g, path {
295
+ fill: ${d.colors.neutral800};
296
+ }
297
+ }
298
+ `;case T:return`
299
+ border: 1px solid transparent;
300
+ background: transparent;
301
+
302
+ ${_.Z} {
303
+ color: ${d.colors.neutral800};
304
+ }
305
+
306
+ svg {
307
+ > g, path {
308
+ fill: ${d.colors.neutral500};
309
+ }
310
+ }
311
+ `;case O:case R:return`
312
+ border: 1px solid ${d.colors[`${A(r)}600`]};
313
+ background: ${d.colors[`${A(r)}600`]};
314
+ ${_.Z} {
315
+ color: ${d.colors.neutral0};
316
+ }
317
+ `;default:return`
318
+ svg {
319
+ > g, path {
320
+ fill: ${d.colors.buttonNeutral0};
321
+ }
322
+ }
323
+ `}};var on=t(83819),q=t(16833),Y=t(5717);const sn=(0,e.F4)`
324
+ from {
325
+ transform: rotate(0deg);
326
+ }
327
+ to {
328
+ transform: rotate(359deg);
329
+ }
330
+ `,an=(0,e.ZP)(P.Z)`
331
+ animation: ${sn} 2s infinite linear;
332
+ will-change: transform;
333
+ `,ln=(0,e.ZP)(on.Y)`
334
+ height: ${({theme:d,size:r})=>d.sizes.button[r]};
335
+
336
+ svg {
337
+ height: ${12/16}rem;
338
+ width: auto;
339
+ }
340
+
341
+ &[aria-disabled='true'] {
342
+ ${J}
343
+
344
+ &:active {
345
+ ${J}
346
+ }
347
+ }
348
+
349
+ &:hover {
350
+ ${en}
351
+ }
352
+
353
+ &:active {
354
+ ${rn}
355
+ }
356
+
357
+ ${G}
358
+ `,Q=o.forwardRef(({variant:d=M,startIcon:r,endIcon:l,disabled:x=!1,children:g,onClick:v,size:C=N[0],loading:D=!1,fullWidth:B=!1,...I},Z)=>{const S=x||D,F=U=>{!S&&v&&v(U)};return(0,n.jsxs)(ln,{ref:Z,"aria-disabled":S,disabled:S,size:C,variant:d,onClick:F,fullWidth:B,alignItems:"center",background:"buttonPrimary600",borderColor:"buttonPrimary600",gap:2,inline:B,justifyContent:B?"center":void 0,paddingLeft:4,paddingRight:4,width:B?"100%":void 0,...I,children:[(r||D)&&(0,n.jsx)(q.x,{"aria-hidden":!0,children:D?(0,n.jsx)(an,{}):r}),(0,n.jsx)(_.Z,{variant:C==="S"?"pi":void 0,fontWeight:"bold",textColor:"buttonNeutral0",children:g}),l&&(0,n.jsx)(Y.k,{"aria-hidden":!0,children:l})]})});Q.displayName="Button";const dn=s.fC,cn=(0,o.forwardRef)(({size:d,endIcon:r=(0,n.jsx)(a.Z,{width:`${6/16}rem`,height:`${4/16}rem`,"aria-hidden":!0}),...l},x)=>(0,n.jsx)(s.xz,{asChild:!0,children:(0,n.jsx)(Q,{ref:x,type:"button",variant:"ghost",endIcon:r,paddingTop:d==="S"?1:2,paddingBottom:d==="S"?1:2,paddingLeft:d==="S"?3:4,paddingRight:d==="S"?3:4,...l})})),un=(0,o.forwardRef)(({children:d,intersectionId:r,popoverPlacement:l="bottom-start",...x},g)=>{const[v,C]=l.split("-");return(0,n.jsx)(s.Uv,{children:(0,n.jsx)(s.VY,{align:C,side:v,loop:!0,asChild:!0,children:(0,n.jsxs)(k,{ref:g,direction:"column",borderStyle:"solid",borderWidth:"1px",borderColor:"neutral150",hasRadius:!0,background:"neutral0",shadow:"filterShadow",maxHeight:"15rem",padding:1,alignItems:"flex-start",position:"relative",overflow:"auto",...x,children:[d,(0,n.jsx)(q.x,{id:r,width:"100%",height:"1px"})]})})})}),k=(0,e.ZP)(Y.k)`
359
+ scrollbar-width: none;
360
+ -ms-overflow-style: none;
361
+ -webkit-overflow-scrolling: touch;
362
+
363
+ &::-webkit-scrollbar {
364
+ display: none;
365
+ }
366
+ `,fn=({onSelect:d,disabled:r=!1,...l})=>(0,n.jsx)(s.ck,{asChild:!0,onSelect:d,disabled:r,children:l.isLink||l.isExternal?(0,n.jsx)(hn,{color:"neutral800",...l,isExternal:l.isExternal??!1,children:(0,n.jsx)(_.Z,{children:l.children})}):(0,n.jsx)(tn,{cursor:"pointer",color:"neutral800",background:"transparent",borderStyle:"none",...l,children:(0,n.jsx)(_.Z,{children:l.children})})}),nn=({theme:d})=>(0,e.iv)`
367
+ text-align: left;
368
+ width: 100%;
369
+ border-radius: ${d.borderRadius};
370
+ padding: ${d.spaces[2]} ${d.spaces[4]};
371
+
372
+ ${_.Z} {
373
+ color: inherit;
374
+ }
375
+
376
+ &[aria-disabled] {
377
+ cursor: not-allowed;
378
+
379
+ ${_.Z} {
380
+ color: ${d.colors.neutral500};
381
+ }
382
+ }
383
+
384
+ &[data-highlighted] {
385
+ background-color: ${d.colors.primary100};
386
+ }
387
+
388
+ &:focus-visible {
389
+ outline: none;
390
+
391
+ &:after {
392
+ content: none;
393
+ }
394
+ }
395
+ `,tn=(0,e.ZP)(Y.k)`
396
+ ${nn}
397
+ `,hn=(0,e.ZP)(b)`
398
+ /* We include this here again because typically when people use OptionLink they provide an as prop which cancels the Box props */
399
+ color: ${({theme:d,color:r})=>(0,i.$)(d.colors,r,void 0)};
400
+ text-decoration: none;
401
+
402
+ &:hover {
403
+ color: unset;
404
+ }
405
+
406
+ svg > path,
407
+ &:focus-visible svg > path {
408
+ fill: currentColor;
409
+ }
410
+
411
+ ${nn}
412
+ `,jn=(0,o.forwardRef)((d,r)=>(0,n.jsx)(s.__,{asChild:!0,children:(0,n.jsx)(pn,{ref:r,variant:"sigma",textColor:"neutral600",...d})})),pn=(0,e.ZP)(_.Z)`
413
+ padding: ${({theme:d})=>d.spaces[2]} ${({theme:d})=>d.spaces[4]};
414
+ `,Pn=s.Tr,xn=(0,o.forwardRef)(({disabled:d=!1,...r},l)=>(0,n.jsx)(s.fF,{asChild:!0,disabled:d,children:(0,n.jsxs)(gn,{ref:l,color:"neutral800",as:"button",type:"button",background:"transparent",borderStyle:"none",gap:5,...r,children:[(0,n.jsx)(_.Z,{children:r.children}),(0,n.jsx)(_n,{height:12,width:12})]})})),gn=(0,e.ZP)(tn)`
415
+ &[data-state='open'] {
416
+ background-color: ${({theme:d})=>d.colors.primary100};
417
+ }
418
+ `,_n=(0,e.ZP)(f.Z)`
419
+ path {
420
+ fill: ${({theme:d})=>d.colors.neutral500};
421
+ }
422
+ `,Mn=(0,o.forwardRef)((d,r)=>(0,n.jsx)(s.Uv,{children:(0,n.jsx)(s.tu,{sideOffset:8,asChild:!0,children:(0,n.jsx)(k,{ref:r,direction:"column",borderStyle:"solid",borderWidth:"1px",borderColor:"neutral150",hasRadius:!0,background:"neutral0",shadow:"filterShadow",maxHeight:"15rem",padding:1,alignItems:"flex-start",overflow:"auto",...d})})})),vn=dn,z=cn,$n=un,mn=fn,wn=null,En=null,yn=null,bn=null},43240:function($,c,t){"use strict";t.d(c,{m:function(){return E}});var n=t(74512),o=t(8471),s=t(40041),a=t(16833);const f=(0,o.ZP)(a.x)`
423
+ display: grid;
424
+ grid-template-columns: repeat(${({gridCols:p})=>p}, 1fr);
425
+ ${({theme:p,gap:_})=>(0,s.Z)("gap",_,p)}
426
+ `,e=p=>{const{gap:_="0",gridCols:w=12,...b}=p;return(0,n.jsx)(f,{gap:_,gridCols:w,...b})},i=`${232/16}rem`,h=(0,o.ZP)(e)`
427
+ width: ${i};
428
+ background: ${({theme:p})=>p.colors.neutral100};
429
+ position: sticky;
430
+ top: 0;
431
+ height: 100vh;
432
+ overflow-y: auto;
433
+ border-right: 1px solid ${({theme:p})=>p.colors.neutral200};
434
+ z-index: 1;
435
+ `,E=({ariaLabel:p,..._})=>(0,n.jsx)(h,{"aria-label":p,as:"nav",..._})},40465:function($,c,t){"use strict";t.d(c,{p:function(){return d}});var n=t(74512),o=t(32735),s=t(17229),a=t(8471);const f={DOWN:"ArrowDown",UP:"ArrowUp",RIGHT:"ArrowRight",LEFT:"ArrowLeft",ESCAPE:"Escape",ENTER:"Enter",SPACE:" ",TAB:"Tab",END:"End",HOME:"Home",DELETE:"Delete",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",BACKSPACE:"Backspace",CLEAR:"Clear"};var e=t(77062);const i=r=>{const l=(0,o.useRef)();return(0,o.useEffect)(()=>{l.current=r}),l.current};var h=t(16833);const E=(0,a.ZP)(h.x)`
436
+ height: 1px;
437
+ border: none;
438
+ /* If contained in a Flex parent we want to prevent the Divider to shink */
439
+ flex-shrink: 0;
440
+ ${({unsetMargin:r})=>r?"margin: 0;":""}
441
+ `,p=({unsetMargin:r=!0,...l})=>(0,n.jsx)(E,{...l,background:"neutral150",as:"hr",unsetMargin:r}),_=r=>(0,n.jsx)("form",{...r,role:"search"});var w=t(98610);function b(r,l){typeof r=="function"?r(l):r!=null&&(r.current=l)}function P(...r){return l=>r.forEach(x=>b(x,l))}function m(...r){return React.useCallback(P(...r),r)}var u=t(69549);const M=(0,o.createContext)({id:"",required:!1}),j=()=>(0,o.useContext)(M);var y=t(5717);const R={S:6.5,M:10.5},O=(0,o.forwardRef)(({endAction:r,startAction:l,disabled:x=!1,onChange:g,size:v="M",...C},D)=>{const{id:B,error:I,hint:Z,name:S,required:F}=j();let U;I?U=`${B}-error`:Z&&(U=`${B}-hint`);const K=Boolean(I),H=X=>{!x&&g&&g(X)};return(0,n.jsxs)(L,{justifyContent:"space-between",hasError:K,disabled:x,children:[l?(0,n.jsx)(h.x,{paddingLeft:3,paddingRight:2,children:l}):null,(0,n.jsx)(T,{id:B,name:S,ref:D,"aria-describedby":U,"aria-invalid":K,"aria-disabled":x,disabled:x,"data-disabled":x?"":void 0,hasLeftAction:Boolean(l),hasRightAction:Boolean(r),onChange:H,"aria-required":F,$size:v,...C}),r?(0,n.jsx)(h.x,{paddingLeft:2,paddingRight:3,children:r}):null]})}),T=a.ZP.input`
442
+ border: none;
443
+ border-radius: ${({theme:r})=>r.borderRadius};
444
+ padding-bottom: ${({$size:r})=>`${R[r]/16}rem`};
445
+ padding-left: ${({theme:r,hasLeftAction:l})=>l?0:r.spaces[4]};
446
+ padding-right: ${({theme:r,hasRightAction:l})=>l?0:r.spaces[4]};
447
+ padding-top: ${({$size:r})=>`${R[r]/16}rem`};
448
+ cursor: ${r=>r["aria-disabled"]?"not-allowed":void 0};
449
+
450
+ color: ${({theme:r})=>r.colors.neutral800};
451
+ font-weight: 400;
452
+ font-size: ${r=>r.theme.fontSizes[2]};
453
+ display: block;
454
+ width: 100%;
455
+ background: inherit;
456
+
457
+ ::placeholder {
458
+ color: ${({theme:r})=>r.colors.neutral500};
459
+ opacity: 1;
460
+ }
461
+
462
+ &[aria-disabled='true'] {
463
+ color: inherit;
464
+ }
465
+
466
+ //focus managed by InputWrapper
467
+ &:focus {
468
+ outline: none;
469
+ box-shadow: none;
470
+ }
471
+ `,L=(0,a.ZP)(y.k)`
472
+ border: 1px solid ${({theme:r,hasError:l})=>l?r.colors.danger600:r.colors.neutral200};
473
+ border-radius: ${({theme:r})=>r.borderRadius};
474
+ background: ${({theme:r})=>r.colors.neutral0};
475
+ ${(0,u.k3)()}
476
+
477
+ ${({theme:r,disabled:l})=>l?(0,a.iv)`
478
+ color: ${r.colors.neutral600};
479
+ background: ${r.colors.neutral150};
480
+ `:void 0}
481
+ `,W=a.ZP.div`
482
+ border: 0;
483
+ clip: rect(0 0 0 0);
484
+ height: 1px;
485
+ margin: -1px;
486
+ overflow: hidden;
487
+ padding: 0;
488
+ position: absolute;
489
+ width: 1px;
490
+ `,N=(0,a.ZP)(y.k)`
491
+ font-size: 1.6rem;
492
+ padding: 0;
493
+ `,A=(0,o.forwardRef)(({label:r,children:l,...x},g)=>(0,n.jsxs)(N,{justifyContent:"unset",background:"transparent",borderStyle:"none",type:"button",...x,as:"button",ref:g,children:[(0,n.jsx)(W,{as:"span",children:r}),(0,o.cloneElement)(l,{"aria-hidden":!0,focusable:!1})]})),J=(0,o.forwardRef)(({children:r,name:l,error:x,hint:g,id:v,required:C=!1,...D},B)=>{const I=(0,e.M)(v),Z=(0,o.useMemo)(()=>({name:l,id:I,error:x,hint:g,required:C}),[x,I,g,l,C]);return(0,n.jsx)(h.x,{ref:B,...D,children:(0,n.jsx)(M.Provider,{value:Z,children:r})})}),en="[@strapi/design-system]:",rn=r=>{const l=r;let x=!1;if(typeof l!="function")throw new TypeError(`${en} once requires a function parameter`);return(...g)=>{x||(l(...g),x=!0)}};var G=t(17856);const on=rn(console.warn),q=(0,o.forwardRef)(({children:r,action:l,required:x,...g},v)=>{const{id:C,required:D}=j(),B=D||x;return x!==void 0&&on('Deprecation warning: Usage of "required" prop in FieldLabel component is deprecated. This is discouraged and will be removed in the next major release. Please use the Field component to share the required prop.'),(0,n.jsxs)(Y,{ref:v,variant:"pi",textColor:"neutral800",htmlFor:C,fontWeight:"bold",as:"label",...g,children:[r,B&&(0,n.jsx)(sn,{textColor:"danger600",children:"*"}),l&&(0,n.jsx)(an,{marginLeft:1,children:l})]})}),Y=(0,a.ZP)(G.Z)`
494
+ display: flex;
495
+ align-items: center;
496
+ `,sn=(0,a.ZP)(G.Z)`
497
+ line-height: 0;
498
+ `,an=(0,a.ZP)(y.k)`
499
+ line-height: 0;
500
+
501
+ svg path {
502
+ fill: ${({theme:r})=>r.colors.neutral500};
503
+ }
504
+ `,ln=(0,a.ZP)(w.Z)`
505
+ font-size: 0.5rem;
506
+ path {
507
+ fill: ${({theme:r})=>r.colors.neutral400};
508
+ }
509
+ `,Q=(0,a.ZP)(s.Z)`
510
+ font-size: 0.8rem;
511
+ path {
512
+ fill: ${({theme:r})=>r.colors.neutral800};
513
+ }
514
+ `,dn=a.ZP.div`
515
+ border-radius: ${({theme:r})=>r.borderRadius};
516
+ box-shadow: ${({theme:r})=>r.shadows.filterShadow};
517
+
518
+ &:focus-within {
519
+ ${Q} {
520
+ path {
521
+ fill: ${({theme:r})=>r.colors.primary600};
522
+ }
523
+ }
524
+ }
525
+
526
+ ${L} {
527
+ border: 1px solid transparent;
528
+ }
529
+
530
+ ${(0,u.k3)(L)}
531
+ `,cn=(0,o.forwardRef)(({name:r,size:l="M",children:x,value:g="",onClear:v,clearLabel:C,...D},B)=>{const I=(0,o.useRef)(null),Z=g.length>0,S=U=>{v(U),I.current.focus()},F=P(B,I);return(0,n.jsx)(dn,{children:(0,n.jsxs)(J,{name:r,children:[(0,n.jsx)(W,{children:(0,n.jsx)(q,{children:x})}),(0,n.jsx)(O,{ref:F,value:g,startAction:(0,n.jsx)(Q,{"aria-hidden":!0}),size:l,endAction:Z?(0,n.jsx)(A,{label:C,onClick:S,children:(0,n.jsx)(ln,{})}):void 0,...D})]})})}),un=r=>{const[l,x]=(0,o.useState)(!1),g=(0,o.useRef)(null),v=()=>{typeof g.current=="number"&&(clearTimeout(g.current),g.current=null)};return(0,o.useEffect)(()=>()=>{v()},[]),{visible:l,onFocus:()=>{x(!0)},onBlur:()=>{x(!1)},onMouseEnter:()=>{g.current=setTimeout(()=>{x(!0)},r)},onMouseLeave:()=>{v(),x(!1)}}},k=8,fn=(r,l)=>{const x=(r.width-l.width)/2,g=l.left-x,v=l.top+l.height+k+window.pageYOffset;return{left:g,top:v}},nn=(r,l)=>{const x=(r.height-l.height)/2,g=l.left+l.width+k,v=l.top-x+window.pageYOffset;return{left:g,top:v}},tn=(r,l)=>{const x=(r.height-l.height)/2,g=l.left-r.width-k,v=l.top-x+window.pageYOffset;return{left:g,top:v}},hn=(r,l)=>{const x=(r.width-l.width)/2;let g=l.left-x,v=l.top-r.height-k+window.pageYOffset;const C=window.innerWidth-l.right;return l.left+r.width-C>window.innerWidth?(g=l.left-r.width-k,v=l.top+window.scrollY-l.height/2):g<0?(g=l.width+l.left+k,v=l.top+window.scrollY-r.height/2+k):v<0&&g>0&&(v=l.top+l.height+k),{left:g,top:v}},jn=(r,l,x)=>{const g=r.getBoundingClientRect(),v=l.getBoundingClientRect();return x==="bottom"?fn(g,v):x==="right"?nn(g,v):x==="left"?tn(g,v):hn(g,v)},pn=(r,l)=>{const x=(0,o.useRef)(null),g=(0,o.useRef)(null);return(0,o.useLayoutEffect)(()=>{if(r){const v=x.current,C=g.current;if(v&&C){const D=jn(v,C,l);v.style.left=`${D.left}px`,v.style.top=`${D.top}px`}}},[l,r]),{tooltipWrapperRef:x,toggleSourceRef:g}};var Pn=t(12788);const xn=o.forwardRef(({container:r=globalThis?.document?.body,...l},x)=>r?(0,Pn.createPortal)((0,n.jsx)(h.x,{ref:x,...l}),r):null);xn.displayName="Portal";const gn=(0,a.ZP)(h.x)`
532
+ /* z-index exist because of its position inside Modals */
533
+ z-index: 4;
534
+ display: ${({visible:r})=>r?"revert":"none"};
535
+ `,_n=({children:r,label:l,description:x,delay:g=500,position:v="top",id:C,...D})=>{const B=(0,e.M)(C),I=(0,e.M)(),{visible:Z,...S}=un(g),{tooltipWrapperRef:F,toggleSourceRef:U}=pn(Z,v),K=o.cloneElement(r,{tabIndex:0,"aria-labelledby":l?B:void 0,"aria-describedby":x?B:void 0,...S});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(xn,{children:(0,n.jsxs)(gn,{id:B,background:"neutral900",hasRadius:!0,padding:2,role:"tooltip",ref:F,visible:Z,position:"absolute",...D,children:[Z&&(0,n.jsx)(W,{id:I,children:x}),(0,n.jsx)(G.Z,{as:"p",variant:"pi",fontWeight:"bold",textColor:"neutral0",children:l||x})]})}),(0,n.jsx)("span",{ref:U,children:K})]})};var Mn=t(83819);const vn="tertiary",z="secondary",$n=["S","M","L"],mn=[vn,z],wn=o.forwardRef(({label:r,background:l,borderWidth:x,noBorder:g=!1,children:v,icon:C,disabled:D=!1,onClick:B,size:I=$n[0],"aria-label":Z,variant:S=mn[0],...F},U)=>{const K=X=>{!D&&B&&B(X)},H=(0,n.jsxs)(En,{"aria-disabled":D,background:D?"neutral150":l,borderWidth:g?0:x,justifyContent:"center",...F,ref:U,size:I,onClick:K,variant:S,children:[(0,n.jsx)(W,{as:"span",children:r??Z}),o.cloneElement(C||v,{"aria-hidden":!0,focusable:!1})]});return r?(0,n.jsx)(_n,{label:r,children:H}):H}),En=(0,a.ZP)(Mn.Y)`
536
+ background-color: ${({theme:r,variant:l})=>{if(l===z)return r.colors.primary100}};
537
+ border-color: ${({theme:r,variant:l})=>l===z?r.colors.primary200:r.colors.neutral200};
538
+ height: ${({theme:r,size:l})=>r.sizes.button[l]};
539
+ width: ${({theme:r,size:l})=>r.sizes.button[l]};
540
+
541
+ svg {
542
+ g,
543
+ path {
544
+ fill: ${({theme:r,variant:l})=>l===z?r.colors.primary500:r.colors.neutral500};
545
+ }
546
+ }
547
+
548
+ :hover,
549
+ :focus {
550
+ svg {
551
+ g,
552
+ path {
553
+ fill: ${({theme:r,variant:l})=>l===z?r.colors.primary600:r.colors.neutral600};
554
+ }
555
+ }
556
+ }
557
+
558
+ &[aria-disabled='true'] {
559
+ svg {
560
+ path {
561
+ fill: ${({theme:r})=>r.colors.neutral600};
562
+ }
563
+ }
564
+ }
565
+ `,yn=(0,a.ZP)(y.k)`
566
+ & span:first-child button {
567
+ border-left: 1px solid ${({theme:r})=>r.colors.neutral200};
568
+ border-radius: ${({theme:r})=>`${r.borderRadius} 0 0 ${r.borderRadius}`};
569
+ }
570
+
571
+ & span:last-child button {
572
+ border-radius: ${({theme:r})=>`0 ${r.borderRadius} ${r.borderRadius} 0`};
573
+ }
574
+
575
+ & ${En} {
576
+ border-radius: 0;
577
+ border-left: none;
578
+
579
+ svg {
580
+ path {
581
+ fill: ${({theme:r})=>r.colors.neutral700};
582
+ }
583
+ }
584
+
585
+ &:hover {
586
+ background-color: ${({theme:r})=>r.colors.neutral100};
587
+
588
+ svg {
589
+ path {
590
+ fill: ${({theme:r})=>r.colors.neutral800};
591
+ }
592
+ }
593
+ }
594
+
595
+ &:active {
596
+ background-color: ${({theme:r})=>r.colors.neutral150};
597
+ svg {
598
+ path {
599
+ fill: ${({theme:r})=>r.colors.neutral900};
600
+ }
601
+ }
602
+ }
603
+
604
+ &[aria-disabled='true'] {
605
+ svg {
606
+ path {
607
+ fill: ${({theme:r})=>r.colors.neutral600};
608
+ }
609
+ }
610
+ }
611
+ }
612
+ `,bn=(0,a.ZP)(p)`
613
+ width: ${24/16}rem;
614
+ background-color: ${({theme:r})=>r.colors.neutral200};
615
+ `,d=({as:r="h2",label:l,searchLabel:x="",searchable:g=!1,onChange:v=()=>{},value:C="",onClear:D=()=>{},onSubmit:B=()=>{},id:I})=>{const[Z,S]=(0,o.useState)(!1),F=i(Z),U=(0,e.M)(I),K=(0,o.useRef)(void 0),H=(0,o.useRef)(void 0);(0,o.useEffect)(()=>{Z&&K.current&&K.current.focus(),F&&!Z&&H.current&&H.current.focus()},[Z,F]);const X=()=>{S(V=>!V)},Cn=V=>{D(V),K.current.focus()},Dn=V=>{V.relatedTarget?.id!==U&&S(!1)},Bn=V=>{V.key===f.ESCAPE&&S(!1)};return Z?(0,n.jsxs)(h.x,{paddingLeft:4,paddingTop:5,paddingBottom:2,paddingRight:4,children:[(0,n.jsx)(_,{children:(0,n.jsx)(cn,{name:"searchbar",value:C,onChange:v,placeholder:"e.g: strapi-plugin-abcd",onKeyDown:Bn,ref:K,onBlur:Dn,onClear:Cn,onSubmit:B,clearLabel:"Clear",size:"S",children:x})}),(0,n.jsx)(h.x,{paddingLeft:2,paddingTop:4,children:(0,n.jsx)(bn,{})})]}):(0,n.jsxs)(h.x,{paddingLeft:6,paddingTop:6,paddingBottom:2,paddingRight:4,children:[(0,n.jsxs)(y.k,{justifyContent:"space-between",alignItems:"flex-start",children:[(0,n.jsx)(G.Z,{variant:"beta",as:r,children:l}),g&&(0,n.jsx)(wn,{ref:H,onClick:X,label:x,icon:(0,n.jsx)(s.Z,{})})]}),(0,n.jsx)(h.x,{paddingTop:4,children:(0,n.jsx)(bn,{})})]})}},49211:function($,c,t){"use strict";t.d(c,{E:function(){return w}});var n=t(74512),o=t(32735),s=t(48715),a=t(8471),f=t(16833),e=t(17856),i=t(5717),h=t(55171);const E=(0,a.ZP)(f.x)`
616
+ display: flex;
617
+ align-items: center;
618
+ justify-content: space-between;
619
+ text-decoration: none;
620
+ color: ${({theme:b})=>b.colors.neutral800};
621
+ svg > * {
622
+ fill: ${({theme:b})=>b.colors.neutral600};
623
+ }
624
+
625
+ &.active {
626
+ ${({theme:b})=>`
627
+ background-color: ${b.colors.primary100};
628
+ border-right: 2px solid ${b.colors.primary600};
629
+ svg > * {
630
+ fill: ${b.colors.primary700};
631
+ }
632
+ ${e.Z} {
633
+ color: ${b.colors.primary700};
634
+ font-weight: 500;
635
+ }
636
+ `}
637
+ }
638
+
639
+ &:focus-visible {
640
+ outline-offset: -2px;
641
+ }
642
+ `,p=(0,a.ZP)(s.Z)`
643
+ width: ${12/16}rem;
644
+ height: ${4/16}rem;
645
+ * {
646
+ fill: ${({theme:b,$active:P})=>P?b.colors.primary600:b.colors.neutral600};
647
+ }
648
+ `,_=a.ZP.div`
649
+ svg {
650
+ height: ${12/16}rem;
651
+ width: ${12/16}rem;
652
+ }
653
+ `,w=o.forwardRef(({children:b,icon:P=null,withBullet:m=!1,as:u=h.f,isSubSectionChild:M=!1,...j},y)=>(0,n.jsxs)(E,{as:u,icon:P,background:"neutral100",paddingLeft:M?9:7,paddingBottom:2,paddingTop:2,ref:y,...j,children:[(0,n.jsxs)(i.k,{children:[P?(0,n.jsx)(_,{children:P}):(0,n.jsx)(p,{}),(0,n.jsx)(f.x,{paddingLeft:2,children:(0,n.jsx)(e.Z,{as:"span",children:b})})]}),m&&(0,n.jsx)(f.x,{as:i.k,paddingRight:4,children:(0,n.jsx)(p,{$active:!0})})]}))},97614:function($,c,t){"use strict";t.d(c,{z:function(){return w}});var n=t(74512),o=t(32735),s=t(91917),a=t(8471),f=t(77062),e=t(16833),i=t(5717),h=t(17856);const E=(0,a.ZP)(e.x)`
654
+ svg {
655
+ height: ${4/16}rem;
656
+ path {
657
+ fill: ${({theme:b})=>b.colors.neutral700};
658
+ }
659
+ }
660
+ `,p=a.ZP.button`
661
+ border: none;
662
+ padding: 0;
663
+ background: transparent;
664
+ display: flex;
665
+ align-items: center;
666
+ `,_=a.ZP.div`
667
+ display: flex;
668
+ align-items: center;
669
+ width: ${12/16}rem;
670
+ transform: rotateX(${({rotated:b})=>b?"0deg":"180deg"});
671
+ `,w=({label:b,children:P,id:m})=>{const[u,M]=(0,o.useState)(!0),j=(0,f.M)(m),y=()=>{M(R=>!R)};return(0,n.jsxs)(e.x,{children:[(0,n.jsx)(E,{paddingLeft:7,paddingTop:2,paddingBottom:2,paddingRight:4,children:(0,n.jsx)(i.k,{justifyContent:"space-between",children:(0,n.jsxs)(p,{onClick:y,"aria-expanded":u,"aria-controls":j,children:[(0,n.jsx)(_,{rotated:u,children:(0,n.jsx)(s.Z,{"aria-hidden":!0})}),(0,n.jsx)(e.x,{paddingLeft:2,children:(0,n.jsx)(h.Z,{as:"span",fontWeight:"semiBold",textColor:"neutral800",children:b})})]})})}),u&&(0,n.jsx)("ul",{id:j,children:o.Children.map(P,(R,O)=>(0,n.jsx)("li",{children:R},O))})]})}},24164:function($,c,t){"use strict";t.d(c,{D:function(){return m}});var n=t(74512),o=t(32735),s=t(8471),a=t(91917),f=t(5717),e=t(16833),i=t(17856);const h=(0,s.ZP)(f.k)`
672
+ border: none;
673
+ padding: 0;
674
+ background: transparent;
675
+ `,E=s.ZP.div`
676
+ display: flex;
677
+ align-items: center;
678
+ transform: rotateX(${({rotated:u})=>u?"0deg":"180deg"});
679
+ `,p=({collapsable:u=!1,label:M,onClick:j=()=>{},ariaExpanded:y,ariaControls:R})=>u?(0,n.jsxs)(h,{as:"button",onClick:j,"aria-expanded":y,"aria-controls":R,textAlign:"left",children:[(0,n.jsx)(e.x,{paddingRight:1,children:(0,n.jsx)(i.Z,{variant:"sigma",textColor:"neutral600",children:M})}),u&&(0,n.jsx)(E,{rotated:y,children:(0,n.jsx)(a.Z,{"aria-hidden":!0})})]}):(0,n.jsx)(h,{children:(0,n.jsx)(e.x,{paddingRight:1,children:(0,n.jsx)(i.Z,{variant:"sigma",textColor:"neutral600",children:M})})});var _=t(77062);const w=(0,s.ZP)(f.k)`
680
+ border-radius: ${({theme:u,size:M})=>M==="S"?"2px":u.borderRadius};
681
+ height: ${({size:u,theme:M})=>M.sizes.badge[u]};
682
+ `,b=({active:u=!1,size:M="M",textColor:j="neutral600",backgroundColor:y="neutral150",children:R,minWidth:O=5,...T})=>{const L=M==="S"?1:2;return(0,n.jsx)(w,{inline:!0,alignItem:"center",justifyContent:"center",minWidth:O,paddingLeft:L,paddingRight:L,background:u?"primary200":y,size:M,...T,children:(0,n.jsx)(i.Z,{variant:"sigma",textColor:u?"primary600":j,children:R})})},P=(0,s.ZP)(e.x)`
683
+ svg {
684
+ height: ${4/16}rem;
685
+ path {
686
+ fill: ${({theme:u})=>u.colors.neutral500};
687
+ }
688
+ }
689
+ `,m=({collapsable:u=!1,label:M,badgeLabel:j,children:y,id:R})=>{const[O,T]=(0,o.useState)(!0),L=(0,_.M)(R),W=()=>{T(N=>!N)};return(0,n.jsxs)(f.k,{direction:"column",alignItems:"stretch",gap:1,children:[(0,n.jsx)(P,{paddingLeft:6,paddingTop:2,paddingBottom:2,paddingRight:4,children:(0,n.jsxs)(e.x,{position:"relative",paddingRight:j?6:0,children:[(0,n.jsx)(p,{onClick:W,ariaExpanded:O,ariaControls:L,collapsable:u,label:M}),j&&(0,n.jsx)(b,{backgroundColor:"neutral150",textColor:"neutral600",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:j})]})}),(!u||O)&&(0,n.jsx)("ol",{id:L,children:o.Children.map(y,(N,A)=>(0,n.jsx)("li",{children:N},A))})]})}},31327:function($,c,t){"use strict";t.d(c,{Z:function(){return f}});var n=t(74512),o=t(32735),s=t(16833),a=t(5717);const f=({children:e,spacing:i=2,horizontal:h=!1,...E})=>(0,n.jsx)(s.x,{paddingTop:2,paddingBottom:4,children:(0,n.jsx)(a.k,{as:"ol",gap:i,direction:h?"row":"column",alignItems:h?"center":"stretch",...E,children:o.Children.map(e,(p,_)=>(0,n.jsx)("li",{children:p},_))})})}}]);