@strapi/admin 4.3.8 → 4.3.9

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 (37) hide show
  1. package/admin/src/StrapiApp.js +2 -0
  2. package/admin/src/components/AuthenticatedApp/index.js +2 -2
  3. package/admin/src/components/LanguageProvider/index.js +1 -0
  4. package/admin/src/components/ThemeToggleProvider/index.js +21 -10
  5. package/admin/src/content-manager/components/DynamicTable/index.js +2 -2
  6. package/admin/src/content-manager/components/InputJSON/index.js +2 -0
  7. package/admin/src/pages/AuthPage/utils/forms.js +2 -2
  8. package/admin/src/pages/SettingsPage/pages/Users/ListPage/ModalForm/utils/schema.js +1 -1
  9. package/admin/src/pages/SettingsPage/pages/Users/utils/validations/users/profile.js +2 -2
  10. package/admin/src/translations/fr.json +32 -0
  11. package/admin/src/translations/zh-Hans.json +0 -1
  12. package/build/2077.c935ee42.chunk.js +205 -0
  13. package/build/{4715.3f6cac0a.chunk.js → 4715.58cd558f.chunk.js} +32 -31
  14. package/build/4982.05eda880.chunk.js +324 -0
  15. package/build/{7866.c793a31d.chunk.js → 7866.1201afbd.chunk.js} +2 -2
  16. package/build/{8773.eccaa5f3.chunk.js → 8773.c06c24c0.chunk.js} +2 -2
  17. package/build/{Admin-authenticatedApp.bfcfab14.chunk.js → Admin-authenticatedApp.18341333.chunk.js} +6 -6
  18. package/build/{Admin_profilePage.8617313a.chunk.js → Admin_profilePage.9d50ac44.chunk.js} +4 -4
  19. package/build/{admin-app.05edc328.chunk.js → admin-app.4f7618a9.chunk.js} +7 -7
  20. package/build/{admin-edit-users.5bebf473.chunk.js → admin-edit-users.c585212f.chunk.js} +2 -2
  21. package/build/{admin-users.dccd5f4c.chunk.js → admin-users.97a08630.chunk.js} +1 -1
  22. package/build/{content-manager.fb5ee865.chunk.js → content-manager.94730292.chunk.js} +19 -19
  23. package/build/content-type-builder.684df7a4.chunk.js +142 -0
  24. package/build/{fr-json.6d5a7e14.chunk.js → fr-json.4ed1fc2c.chunk.js} +1 -1
  25. package/build/index.html +1 -1
  26. package/build/{main.e73468bf.js → main.c810738a.js} +1452 -1436
  27. package/build/{runtime~main.518f0488.js → runtime~main.f9882bd5.js} +1 -1
  28. package/build/{zh-Hans-json.77a42bc5.chunk.js → zh-Hans-json.9c99f8d4.chunk.js} +1 -1
  29. package/package.json +9 -9
  30. package/scripts/build.js +2 -4
  31. package/server/services/permission/permissions-manager/query-builers.js +3 -2
  32. package/server/services/permission/queries.js +1 -1
  33. package/server/validation/common-functions/check-fields-are-correctly-nested.js +1 -1
  34. package/server/validation/common-validators.js +1 -1
  35. package/build/2077.61cebc93.chunk.js +0 -195
  36. package/build/4982.c6f88c5d.chunk.js +0 -314
  37. package/build/content-type-builder.42cecba9.chunk.js +0 -142
@@ -1,195 +0,0 @@
1
- (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[2077],{74201:(v,j,g)=>{"use strict";v.exports=g(45214)},45214:function(v,j,g){(function(m,b){v.exports=b(g(32735),g(19615))})(this,function(m,b){return function(t){var f={};function e(i){if(f[i])return f[i].exports;var r=f[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return e.m=t,e.c=f,e.d=function(i,r,c){e.o(i,r)||Object.defineProperty(i,r,{enumerable:!0,get:c})},e.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},e.t=function(i,r){if(1&r&&(i=e(i)),8&r||4&r&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(e.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),2&r&&typeof i!="string")for(var a in i)e.d(c,a,function(d){return i[d]}.bind(null,a));return c},e.n=function(i){var r=i&&i.__esModule?function(){return i.default}:function(){return i};return e.d(r,"a",r),r},e.o=function(i,r){return Object.prototype.hasOwnProperty.call(i,r)},e.p="",e(e.s=64)}([function(t,f,e){t.exports=e(19)()},function(t,f){t.exports=m},function(t,f){t.exports=b},function(t,f){t.exports=function(e,i){return i||(i=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(i)}}))},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,f,e){var i=e(24);t.exports=function(r,c){if(r==null)return{};var a,d,p=i(r,c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(r);for(d=0;d<h.length;d++)a=h[d],c.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(r,a)&&(p[a]=r[a])}return p},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,f,e){"use strict";e.r(f),e.d(f,"Box",function(){return S});var i,r=e(3),c=e.n(r),a=e(2),d=e.n(a),p=e(7),h=e(1),y=e.n(h),w=e(0),u=e.n(w),l=function(n){return y.a.createElement("div",n)},x={background:void 0,borderColor:void 0,color:void 0,hiddenS:!1,hiddenXS:!1,padding:void 0,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,hasRadius:!1,shadow:void 0,children:null,shrink:void 0,grow:void 0,basis:void 0,flex:void 0,_hover:function(){}},O={_hover:u.a.func,background:u.a.string,basis:u.a.oneOfType([u.a.string,u.a.string]),borderColor:u.a.string,children:u.a.oneOfType([u.a.node,u.a.string]),color:u.a.string,flex:u.a.oneOfType([u.a.string,u.a.string]),grow:u.a.oneOfType([u.a.string,u.a.string]),hasRadius:u.a.bool,hiddenS:u.a.bool,hiddenXS:u.a.bool,padding:u.a.oneOfType([u.a.number,u.a.arrayOf(u.a.number)]),paddingBottom:u.a.oneOfType([u.a.number,u.a.arrayOf(u.a.number)]),paddingLeft:u.a.oneOfType([u.a.number,u.a.arrayOf(u.a.number)]),paddingRight:u.a.oneOfType([u.a.number,u.a.arrayOf(u.a.number)]),paddingTop:u.a.oneOfType([u.a.number,u.a.arrayOf(u.a.number)]),shadow:u.a.string,shrink:u.a.oneOfType([u.a.string,u.a.string])};l.defaultProps=x,l.propTypes=O;var T={color:!0},S=d.a.div.withConfig({shouldForwardProp:function(n,o){return!T[n]&&o(n)}})(i||(i=c()([`
2
- // Font
3
- font-size: `,`;
4
-
5
- // Colors
6
- background: `,`;
7
- color: `,`;
8
-
9
- // Spaces
10
- `,`
11
- `,`
12
- `,`
13
- `,`
14
- `,`
15
- `,`
16
- `,`
17
- `,`
18
- `,`
19
-
20
- // Responsive hiding
21
- `,`
22
- `,`
23
-
24
-
25
- // Borders
26
- border-radius: `,`;
27
- border-style: `,`;
28
- border-width: `,`;
29
- border-color: `,`;
30
- border: `,`;
31
-
32
- // Shadows
33
- box-shadow: `,`;
34
-
35
- // Handlers
36
- pointer-events: `,`;
37
- &:hover {
38
- `,`
39
- }
40
-
41
- // Display
42
- display: `,`;
43
-
44
- // Position
45
- position: `,`;
46
- left: `,`;
47
- right: `,`;
48
- top: `,`;
49
- bottom: `,`;
50
- z-index: `,`;
51
- overflow: `,`;
52
- cursor: `,`;
53
-
54
- // Size
55
- width: `,`;
56
- max-width: `,`;
57
- min-width: `,`;
58
- height: `,`;
59
- max-height: `,`;
60
- min-height: `,`;
61
-
62
- // Animation
63
- transition: `,`;
64
- transform: `,`;
65
- animation: `,`;
66
-
67
- //Flexbox children props
68
- flex-shrink: `,`;
69
- flex-grow: `,`;
70
- flex-basis: `,`;
71
- flex: `,`;
72
-
73
- // Text
74
- text-align: `,`;
75
- text-transform: `,`;
76
- line-height: `,`;
77
-
78
- // Cursor
79
- cursor: `,`;
80
- `])),function(n){var o=n.fontSize;return n.theme.fontSizes[o]||o},function(n){var o=n.theme,s=n.background;return o.colors[s]},function(n){var o=n.theme,s=n.color;return o.colors[s]},function(n){var o=n.theme,s=n.padding;return Object(p.a)("padding",s,o)},function(n){var o=n.theme,s=n.paddingTop;return Object(p.a)("padding-top",s,o)},function(n){var o=n.theme,s=n.paddingRight;return Object(p.a)("padding-right",s,o)},function(n){var o=n.theme,s=n.paddingBottom;return Object(p.a)("padding-bottom",s,o)},function(n){var o=n.theme,s=n.paddingLeft;return Object(p.a)("padding-left",s,o)},function(n){var o=n.theme,s=n.marginLeft;return Object(p.a)("margin-left",s,o)},function(n){var o=n.theme,s=n.marginRight;return Object(p.a)("margin-right",s,o)},function(n){var o=n.theme,s=n.marginTop;return Object(p.a)("margin-top",s,o)},function(n){var o=n.theme,s=n.marginBottom;return Object(p.a)("margin-bottom",s,o)},function(n){var o=n.theme;return n.hiddenS?"".concat(o.mediaQueries.tablet," { display: none; }"):void 0},function(n){var o=n.theme;return n.hiddenXS?"".concat(o.mediaQueries.mobile," { display: none; }"):void 0},function(n){var o=n.theme,s=n.hasRadius,C=n.borderRadius;return s?o.borderRadius:C},function(n){return n.borderStyle},function(n){return n.borderWidth},function(n){var o=n.borderColor;return n.theme.colors[o]},function(n){var o=n.theme,s=n.borderColor,C=n.borderStyle,k=n.borderWidth;if(s&&!C&&!k)return"1px solid ".concat(o.colors[s])},function(n){var o=n.theme,s=n.shadow;return o.shadows[s]},function(n){return n.pointerEvents},function(n){var o=n._hover,s=n.theme;return o?o(s):void 0},function(n){return n.display},function(n){return n.position},function(n){var o=n.left;return n.theme.spaces[o]||o},function(n){var o=n.right;return n.theme.spaces[o]||o},function(n){var o=n.top;return n.theme.spaces[o]||o},function(n){var o=n.bottom;return n.theme.spaces[o]||o},function(n){return n.zIndex},function(n){return n.overflow},function(n){return n.cursor},function(n){var o=n.width;return n.theme.spaces[o]||o},function(n){var o=n.maxWidth;return n.theme.spaces[o]||o},function(n){var o=n.minWidth;return n.theme.spaces[o]||o},function(n){var o=n.height;return n.theme.spaces[o]||o},function(n){var o=n.maxHeight;return n.theme.spaces[o]||o},function(n){var o=n.minHeight;return n.theme.spaces[o]||o},function(n){return n.transition},function(n){return n.transform},function(n){return n.animation},function(n){return n.shrink},function(n){return n.grow},function(n){return n.basis},function(n){return n.flex},function(n){return n.textAlign},function(n){return n.textTransform},function(n){return n.lineHeight},function(n){return n.cursor});S.defaultProps=x,S.propTypes=O},function(t,f){function e(){return t.exports=e=Object.assign||function(i){for(var r=1;r<arguments.length;r++){var c=arguments[r];for(var a in c)Object.prototype.hasOwnProperty.call(c,a)&&(i[a]=c[a])}return i},t.exports.default=t.exports,t.exports.__esModule=!0,e.apply(this,arguments)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,f,e){"use strict";var i=e(10),r=e.n(i),c=e(13),a=e.n(c);f.a=function(d,p,h){var y=p;if(Array.isArray(p)||a()(p)!=="object"||(y=[p==null?void 0:p.desktop,p==null?void 0:p.tablet,p==null?void 0:p.mobile]),y!==void 0){if(Array.isArray(y)){var w=y,u=r()(w,3),l=u[0],x=u[1],O=u[2],T="".concat(d,": ").concat(h.spaces[l],";");return x!==void 0&&(T+="".concat(h.mediaQueries.tablet,`{
81
- `).concat(d,": ").concat(h.spaces[x],`;
82
- }`)),O!==void 0&&(T+="".concat(h.mediaQueries.mobile,`{
83
- `).concat(d,": ").concat(h.spaces[O],`;
84
- }`)),T}var S=h.spaces[y]||y;return"".concat(d,": ").concat(S,";")}}},function(t,f,e){"use strict";e.r(f),e.d(f,"Typography",function(){return S});var i,r=e(3),c=e.n(r),a=e(2),d=e.n(a),p=["alpha","beta","delta","epsilon","omega","pi","sigma"],h=e(1),y=e.n(h),w=e(0),u=e.n(w),l=function(n){return y.a.createElement("div",n)},x={ellipsis:!1,fontWeight:void 0,fontSize:void 0,lineHeight:void 0,textColor:void 0,textTransform:void 0,variant:"omega"},O={ellipsis:u.a.bool,fontSize:u.a.oneOfType([u.a.number,u.a.string]),fontWeight:u.a.string,lineHeight:u.a.oneOfType([u.a.number,u.a.string]),textColor:u.a.string,textTransform:u.a.string,variant:u.a.oneOf(p)};l.defaultProps=x,l.propTypes=O;var T={fontSize:!0,fontWeight:!0},S=d.a.span.withConfig({shouldForwardProp:function(n,o){return!T[n]&&o(n)}})(i||(i=c()([`
85
- font-weight: `,`;
86
- font-size: `,`;
87
- line-height: `,`;
88
- color: `,`;
89
- text-transform: `,`;
90
- `,`
91
- `,`
92
- `])),function(n){var o=n.theme,s=n.fontWeight;return o.fontWeights[s]},function(n){var o=n.theme,s=n.fontSize;return o.fontSizes[s]},function(n){var o=n.theme,s=n.lineHeight;return o.lineHeights[s]},function(n){var o=n.theme,s=n.textColor;return o.colors[s||"neutral800"]},function(n){return n.textTransform},function(n){return n.ellipsis&&`
93
- display: block;
94
- white-space: nowrap;
95
- overflow: hidden;
96
- text-overflow: ellipsis;
97
- `},function(n){var o=n.variant,s=n.theme;switch(o){case"alpha":return`
98
- font-weight: `.concat(s.fontWeights.bold,`;
99
- font-size: `).concat(s.fontSizes[5],`;
100
- line-height: `).concat(s.lineHeights[2],`;
101
- `);case"beta":return`
102
- font-weight: `.concat(s.fontWeights.bold,`;
103
- font-size: `).concat(s.fontSizes[4],`;
104
- line-height: `).concat(s.lineHeights[1],`;
105
- `);case"delta":return`
106
- font-weight: `.concat(s.fontWeights.semiBold,`;
107
- font-size: `).concat(s.fontSizes[3],`;
108
- line-height: `).concat(s.lineHeights[2],`;
109
- `);case"epsilon":return`
110
- font-size: `.concat(s.fontSizes[3],`;
111
- line-height: `).concat(s.lineHeights[6],`;
112
- `);case"omega":return`
113
- font-size: `.concat(s.fontSizes[2],`;
114
- line-height: `).concat(s.lineHeights[4],`;
115
- `);case"pi":return`
116
- font-size: `.concat(s.fontSizes[1],`;
117
- line-height: `).concat(s.lineHeights[3],`;
118
- `);case"sigma":return`
119
- font-weight: `.concat(s.fontWeights.bold,`;
120
- font-size: `).concat(s.fontSizes[0],`;
121
- line-height: `).concat(s.lineHeights[5],`;
122
- text-transform: uppercase;
123
- `);default:return`
124
- font-size: `.concat(s.fontSizes[2],`;
125
- `)}});S.defaultProps=x,S.propTypes=O},function(t,f,e){"use strict";e.r(f),e.d(f,"Flex",function(){return n});var i,r=e(3),c=e.n(r),a=e(2),d=e.n(a),p=e(5),h=e(7),y=e(1),w=e.n(y),u=e(0),l=e.n(u),x=function(o){return w.a.createElement("div",o)},O={alignItems:"center",basis:void 0,direction:"row",gap:void 0,inline:!1,justifyContent:void 0,reverse:!1,wrap:void 0},T={alignItems:l.a.string,basis:l.a.oneOfType([l.a.string,l.a.number]),direction:l.a.string,gap:l.a.oneOfType([l.a.shape({desktop:l.a.number,mobile:l.a.number,tablet:l.a.number}),l.a.number,l.a.arrayOf(l.a.number),l.a.string]),inline:l.a.bool,justifyContent:l.a.string,reverse:l.a.bool,shrink:l.a.number,wrap:l.a.string};x.defaultProps=O,x.propTypes=T;var S={direction:!0},n=d()(p.Box).withConfig({shouldForwardProp:function(o,s){return!S[o]&&s(o)}})(i||(i=c()([`
126
- align-items: `,`;
127
- display: `,`;
128
- flex-direction: `,`;
129
- flex-shrink: `,`;
130
- flex-wrap: `,`;
131
- `,`};
132
- justify-content: `,`;
133
- `])),function(o){return o.alignItems},function(o){return o.inline?"inline-flex":"flex"},function(o){return o.direction},function(o){return o.shrink},function(o){return o.wrap},function(o){var s=o.gap,C=o.theme;return Object(h.a)("gap",s,C)},function(o){return o.justifyContent});n.defaultProps=O,n.propTypes=T},function(t,f,e){var i=e(25),r=e(26),c=e(22),a=e(27);t.exports=function(d,p){return i(d)||r(d,p)||c(d,p)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},,,function(t,f){function e(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?(t.exports=e=function(r){return typeof r},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},t.exports.default=t.exports,t.exports.__esModule=!0),e(i)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0},,,function(t,f,e){"use strict";e.d(f,"b",function(){return i}),e.d(f,"c",function(){return r}),e.d(f,"a",function(){return c});var i=function(a){return function(d){var p=d.theme,h=d.size;return p.sizes[a][h]}},r=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"&";return function(d){var p=d.theme,h=d.hasError;return`
134
- outline: none;
135
- box-shadow: 0;
136
- transition-property: border-color, box-shadow, fill;
137
- transition-duration: 0.2s;
138
-
139
- `.concat(a,`:focus-within {
140
- border: 1px solid `).concat(h?p.colors.danger600:p.colors.primary600,`;
141
- box-shadow: `).concat(h?p.colors.danger600:p.colors.primary600,` 0px 0px 0px 2px;
142
- }
143
- `)}},c=function(a){var d=a.theme;return`
144
- position: relative;
145
- outline: none;
146
-
147
- &:after {
148
- transition-property: all;
149
- transition-duration: 0.2s;
150
- border-radius: 8px;
151
- content: '';
152
- position: absolute;
153
- top: -4px;
154
- bottom: -4px;
155
- left: -4px;
156
- right: -4px;
157
- border: 2px solid transparent;
158
- }
159
-
160
- &:focus-visible {
161
- outline: none;
162
- &:after {
163
- border-radius: 8px;
164
- content: '';
165
- position: absolute;
166
- top: -5px;
167
- bottom: -5px;
168
- left: -5px;
169
- right: -5px;
170
- border: 2px solid `.concat(d.colors.primary600,`;
171
- }
172
- }
173
- `)}},,,function(t,f,e){"use strict";var i=e(20);function r(){}function c(){}c.resetWarningCache=r,t.exports=function(){function a(h,y,w,u,l,x){if(x!==i){var O=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw O.name="Invariant Violation",O}}function d(){return a}a.isRequired=a;var p={array:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:d,element:a,elementType:a,instanceOf:d,node:a,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:c,resetWarningCache:r};return p.PropTypes=p,p}},function(t,f,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,f){t.exports=function(e,i){(i==null||i>e.length)&&(i=e.length);for(var r=0,c=new Array(i);r<i;r++)c[r]=e[r];return c},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,f,e){var i=e(21);t.exports=function(r,c){if(r){if(typeof r=="string")return i(r,c);var a=Object.prototype.toString.call(r).slice(8,-1);return a==="Object"&&r.constructor&&(a=r.constructor.name),a==="Map"||a==="Set"?Array.from(r):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?i(r,c):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},,function(t,f){t.exports=function(e,i){if(e==null)return{};var r,c,a={},d=Object.keys(e);for(c=0;c<d.length;c++)r=d[c],i.indexOf(r)>=0||(a[r]=e[r]);return a},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,f){t.exports=function(e){if(Array.isArray(e))return e},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,f){t.exports=function(e,i){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var c,a,d=[],p=!0,h=!1;try{for(r=r.call(e);!(p=(c=r.next()).done)&&(d.push(c.value),!i||d.length!==i);p=!0);}catch(y){h=!0,a=y}finally{try{p||r.return==null||r.return()}finally{if(h)throw a}}return d}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,f){t.exports=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
174
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},t.exports.default=t.exports,t.exports.__esModule=!0},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,f,e){"use strict";e.r(f),e.d(f,"TextButton",function(){return k});var i,r=e(6),c=e.n(r),a=e(4),d=e.n(a),p=e(3),h=e.n(p),y=e(1),w=e.n(y),u=e(0),l=e.n(u),x=e(2),O=e.n(x),T=e(5),S=e(8),n=e(9),o=e(16),s=["children","startIcon","endIcon","onClick","disabled"],C=O()(n.Flex)(i||(i=h()([`
175
- background: transparent;
176
- border: none;
177
-
178
- &[aria-disabled='true'] {
179
- pointer-events: none;
180
- svg path {
181
- fill: `,`;
182
- }
183
- }
184
-
185
- svg {
186
- display: flex;
187
- font-size: `,`rem;
188
- }
189
-
190
- svg path {
191
- fill: `,`;
192
- }
193
-
194
- `,`
195
- `])),function(z){return z.theme.colors.neutral600},.625,function(z){return z.theme.colors.primary600},o.a),k=w.a.forwardRef(function(z,A){var H=z.children,M=z.startIcon,B=z.endIcon,E=z.onClick,P=z.disabled,W=d()(z,s),_=E&&!P?E:void 0;return w.a.createElement(C,c()({ref:A,"aria-disabled":P,onClick:_,as:"button",type:"button"},W),M&&w.a.createElement(T.Box,{as:"span",paddingRight:2,"aria-hidden":!0},M),w.a.createElement(S.Typography,{variant:"pi",textColor:P?"neutral600":"primary600"},H),B&&w.a.createElement(T.Box,{as:"span",paddingLeft:2,"aria-hidden":!0},B))});k.displayName="TextButton",k.defaultProps={disabled:!1,startIcon:void 0,endIcon:void 0,onClick:void 0},k.propTypes={children:l.a.node.isRequired,disabled:l.a.bool,endIcon:l.a.element,onClick:l.a.func,startIcon:l.a.element}}])})},56671:(v,j,g)=>{var m=g(35897),b=g(74741),t=b(m);v.exports=t},52920:(v,j,g)=>{var m=g(56671),b=g(81580);function t(f,e){var i=-1,r=b(f)?Array(f.length):[];return m(f,function(c,a,d){r[++i]=e(c,a,d)}),r}v.exports=t},50690:(v,j,g)=>{var m=g(26460),b=g(80166),t=g(88904),f=g(52920),e=g(36024),i=g(76535),r=g(1397),c=g(15362),a=g(77236);function d(p,h,y){h.length?h=m(h,function(l){return a(l)?function(x){return b(x,l.length===1?l[0]:l)}:l}):h=[c];var w=-1;h=m(h,i(t));var u=f(p,function(l,x,O){var T=m(h,function(S){return S(l)});return{criteria:T,index:++w,value:l}});return e(u,function(l,x){return r(l,x,y)})}v.exports=d},36024:v=>{function j(g,m){var b=g.length;for(g.sort(m);b--;)g[b]=g[b].value;return g}v.exports=j},40709:(v,j,g)=>{var m=g(22945);function b(t,f){if(t!==f){var e=t!==void 0,i=t===null,r=t===t,c=m(t),a=f!==void 0,d=f===null,p=f===f,h=m(f);if(!d&&!h&&!c&&t>f||c&&a&&p&&!d&&!h||i&&a&&p||!e&&p||!r)return 1;if(!i&&!c&&!h&&t<f||h&&e&&r&&!i&&!c||d&&e&&r||!a&&r||!p)return-1}return 0}v.exports=b},1397:(v,j,g)=>{var m=g(40709);function b(t,f,e){for(var i=-1,r=t.criteria,c=f.criteria,a=r.length,d=e.length;++i<a;){var p=m(r[i],c[i]);if(p){if(i>=d)return p;var h=e[i];return p*(h=="desc"?-1:1)}}return t.index-f.index}v.exports=b},74741:(v,j,g)=>{var m=g(81580);function b(t,f){return function(e,i){if(e==null)return e;if(!m(e))return t(e,i);for(var r=e.length,c=f?r:-1,a=Object(e);(f?c--:++c<r)&&i(a[c],c,a)!==!1;);return e}}v.exports=b},98978:(v,j,g)=>{var m=g(40314),b=g(50690),t=g(94569),f=g(63108),e=t(function(i,r){if(i==null)return[];var c=r.length;return c>1&&f(i,r[0],r[1])?r=[]:c>2&&f(r[0],r[1],r[2])&&(r=[r[0]]),b(i,m(r,1),[])});v.exports=e}}]);
@@ -1,314 +0,0 @@
1
- (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[4982],{12001:(K,ee,k)=>{"use strict";K.exports=k(27901)},27901:function(K,ee,k){var Q=k(98399);(function(R,z){K.exports=z(k(32735),k(19615),k(60672))})(this,function(R,z,E){return function(r){var u={};function e(o){if(u[o])return u[o].exports;var a=u[o]={i:o,l:!1,exports:{}};return r[o].call(a.exports,a,a.exports,e),a.l=!0,a.exports}return e.m=r,e.c=u,e.d=function(o,a,d){e.o(o,a)||Object.defineProperty(o,a,{enumerable:!0,get:d})},e.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},e.t=function(o,a){if(1&a&&(o=e(o)),8&a||4&a&&typeof o=="object"&&o&&o.__esModule)return o;var d=Object.create(null);if(e.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:o}),2&a&&typeof o!="string")for(var l in o)e.d(d,l,function(p){return o[p]}.bind(null,l));return d},e.n=function(o){var a=o&&o.__esModule?function(){return o.default}:function(){return o};return e.d(a,"a",a),a},e.o=function(o,a){return Object.prototype.hasOwnProperty.call(o,a)},e.p="",e(e.s=99)}([function(r,u,e){r.exports=e(19)()},function(r,u){r.exports=R},function(r,u){r.exports=z},function(r,u){r.exports=function(e,o){return o||(o=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(o)}}))},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u,e){var o=e(24);r.exports=function(a,d){if(a==null)return{};var l,p,f=o(a,d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(a);for(p=0;p<b.length;p++)l=b[p],d.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(a,l)&&(f[l]=a[l])}return f},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u,e){"use strict";e.r(u),e.d(u,"Box",function(){return w});var o,a=e(3),d=e.n(a),l=e(2),p=e.n(l),f=e(7),b=e(1),g=e.n(b),O=e(0),i=e.n(O),h=function(n){return g.a.createElement("div",n)},v={background:void 0,borderColor:void 0,color:void 0,hiddenS:!1,hiddenXS:!1,padding:void 0,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,hasRadius:!1,shadow:void 0,children:null,shrink:void 0,grow:void 0,basis:void 0,flex:void 0,_hover:function(){}},x={_hover:i.a.func,background:i.a.string,basis:i.a.oneOfType([i.a.string,i.a.string]),borderColor:i.a.string,children:i.a.oneOfType([i.a.node,i.a.string]),color:i.a.string,flex:i.a.oneOfType([i.a.string,i.a.string]),grow:i.a.oneOfType([i.a.string,i.a.string]),hasRadius:i.a.bool,hiddenS:i.a.bool,hiddenXS:i.a.bool,padding:i.a.oneOfType([i.a.number,i.a.arrayOf(i.a.number)]),paddingBottom:i.a.oneOfType([i.a.number,i.a.arrayOf(i.a.number)]),paddingLeft:i.a.oneOfType([i.a.number,i.a.arrayOf(i.a.number)]),paddingRight:i.a.oneOfType([i.a.number,i.a.arrayOf(i.a.number)]),paddingTop:i.a.oneOfType([i.a.number,i.a.arrayOf(i.a.number)]),shadow:i.a.string,shrink:i.a.oneOfType([i.a.string,i.a.string])};h.defaultProps=v,h.propTypes=x;var y={color:!0},w=p.a.div.withConfig({shouldForwardProp:function(n,t){return!y[n]&&t(n)}})(o||(o=d()([`
2
- // Font
3
- font-size: `,`;
4
-
5
- // Colors
6
- background: `,`;
7
- color: `,`;
8
-
9
- // Spaces
10
- `,`
11
- `,`
12
- `,`
13
- `,`
14
- `,`
15
- `,`
16
- `,`
17
- `,`
18
- `,`
19
-
20
- // Responsive hiding
21
- `,`
22
- `,`
23
-
24
-
25
- // Borders
26
- border-radius: `,`;
27
- border-style: `,`;
28
- border-width: `,`;
29
- border-color: `,`;
30
- border: `,`;
31
-
32
- // Shadows
33
- box-shadow: `,`;
34
-
35
- // Handlers
36
- pointer-events: `,`;
37
- &:hover {
38
- `,`
39
- }
40
-
41
- // Display
42
- display: `,`;
43
-
44
- // Position
45
- position: `,`;
46
- left: `,`;
47
- right: `,`;
48
- top: `,`;
49
- bottom: `,`;
50
- z-index: `,`;
51
- overflow: `,`;
52
- cursor: `,`;
53
-
54
- // Size
55
- width: `,`;
56
- max-width: `,`;
57
- min-width: `,`;
58
- height: `,`;
59
- max-height: `,`;
60
- min-height: `,`;
61
-
62
- // Animation
63
- transition: `,`;
64
- transform: `,`;
65
- animation: `,`;
66
-
67
- //Flexbox children props
68
- flex-shrink: `,`;
69
- flex-grow: `,`;
70
- flex-basis: `,`;
71
- flex: `,`;
72
-
73
- // Text
74
- text-align: `,`;
75
- text-transform: `,`;
76
- line-height: `,`;
77
-
78
- // Cursor
79
- cursor: `,`;
80
- `])),function(n){var t=n.fontSize;return n.theme.fontSizes[t]||t},function(n){var t=n.theme,c=n.background;return t.colors[c]},function(n){var t=n.theme,c=n.color;return t.colors[c]},function(n){var t=n.theme,c=n.padding;return Object(f.a)("padding",c,t)},function(n){var t=n.theme,c=n.paddingTop;return Object(f.a)("padding-top",c,t)},function(n){var t=n.theme,c=n.paddingRight;return Object(f.a)("padding-right",c,t)},function(n){var t=n.theme,c=n.paddingBottom;return Object(f.a)("padding-bottom",c,t)},function(n){var t=n.theme,c=n.paddingLeft;return Object(f.a)("padding-left",c,t)},function(n){var t=n.theme,c=n.marginLeft;return Object(f.a)("margin-left",c,t)},function(n){var t=n.theme,c=n.marginRight;return Object(f.a)("margin-right",c,t)},function(n){var t=n.theme,c=n.marginTop;return Object(f.a)("margin-top",c,t)},function(n){var t=n.theme,c=n.marginBottom;return Object(f.a)("margin-bottom",c,t)},function(n){var t=n.theme;return n.hiddenS?"".concat(t.mediaQueries.tablet," { display: none; }"):void 0},function(n){var t=n.theme;return n.hiddenXS?"".concat(t.mediaQueries.mobile," { display: none; }"):void 0},function(n){var t=n.theme,c=n.hasRadius,S=n.borderRadius;return c?t.borderRadius:S},function(n){return n.borderStyle},function(n){return n.borderWidth},function(n){var t=n.borderColor;return n.theme.colors[t]},function(n){var t=n.theme,c=n.borderColor,S=n.borderStyle,j=n.borderWidth;if(c&&!S&&!j)return"1px solid ".concat(t.colors[c])},function(n){var t=n.theme,c=n.shadow;return t.shadows[c]},function(n){return n.pointerEvents},function(n){var t=n._hover,c=n.theme;return t?t(c):void 0},function(n){return n.display},function(n){return n.position},function(n){var t=n.left;return n.theme.spaces[t]||t},function(n){var t=n.right;return n.theme.spaces[t]||t},function(n){var t=n.top;return n.theme.spaces[t]||t},function(n){var t=n.bottom;return n.theme.spaces[t]||t},function(n){return n.zIndex},function(n){return n.overflow},function(n){return n.cursor},function(n){var t=n.width;return n.theme.spaces[t]||t},function(n){var t=n.maxWidth;return n.theme.spaces[t]||t},function(n){var t=n.minWidth;return n.theme.spaces[t]||t},function(n){var t=n.height;return n.theme.spaces[t]||t},function(n){var t=n.maxHeight;return n.theme.spaces[t]||t},function(n){var t=n.minHeight;return n.theme.spaces[t]||t},function(n){return n.transition},function(n){return n.transform},function(n){return n.animation},function(n){return n.shrink},function(n){return n.grow},function(n){return n.basis},function(n){return n.flex},function(n){return n.textAlign},function(n){return n.textTransform},function(n){return n.lineHeight},function(n){return n.cursor});w.defaultProps=v,w.propTypes=x},function(r,u){function e(){return r.exports=e=Object.assign||function(o){for(var a=1;a<arguments.length;a++){var d=arguments[a];for(var l in d)Object.prototype.hasOwnProperty.call(d,l)&&(o[l]=d[l])}return o},r.exports.default=r.exports,r.exports.__esModule=!0,e.apply(this,arguments)}r.exports=e,r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u,e){"use strict";var o=e(10),a=e.n(o),d=e(13),l=e.n(d);u.a=function(p,f,b){var g=f;if(Array.isArray(f)||l()(f)!=="object"||(g=[f==null?void 0:f.desktop,f==null?void 0:f.tablet,f==null?void 0:f.mobile]),g!==void 0){if(Array.isArray(g)){var O=g,i=a()(O,3),h=i[0],v=i[1],x=i[2],y="".concat(p,": ").concat(b.spaces[h],";");return v!==void 0&&(y+="".concat(b.mediaQueries.tablet,`{
81
- `).concat(p,": ").concat(b.spaces[v],`;
82
- }`)),x!==void 0&&(y+="".concat(b.mediaQueries.mobile,`{
83
- `).concat(p,": ").concat(b.spaces[x],`;
84
- }`)),y}var w=b.spaces[g]||g;return"".concat(p,": ").concat(w,";")}}},function(r,u,e){"use strict";e.r(u),e.d(u,"Typography",function(){return w});var o,a=e(3),d=e.n(a),l=e(2),p=e.n(l),f=["alpha","beta","delta","epsilon","omega","pi","sigma"],b=e(1),g=e.n(b),O=e(0),i=e.n(O),h=function(n){return g.a.createElement("div",n)},v={ellipsis:!1,fontWeight:void 0,fontSize:void 0,lineHeight:void 0,textColor:void 0,textTransform:void 0,variant:"omega"},x={ellipsis:i.a.bool,fontSize:i.a.oneOfType([i.a.number,i.a.string]),fontWeight:i.a.string,lineHeight:i.a.oneOfType([i.a.number,i.a.string]),textColor:i.a.string,textTransform:i.a.string,variant:i.a.oneOf(f)};h.defaultProps=v,h.propTypes=x;var y={fontSize:!0,fontWeight:!0},w=p.a.span.withConfig({shouldForwardProp:function(n,t){return!y[n]&&t(n)}})(o||(o=d()([`
85
- font-weight: `,`;
86
- font-size: `,`;
87
- line-height: `,`;
88
- color: `,`;
89
- text-transform: `,`;
90
- `,`
91
- `,`
92
- `])),function(n){var t=n.theme,c=n.fontWeight;return t.fontWeights[c]},function(n){var t=n.theme,c=n.fontSize;return t.fontSizes[c]},function(n){var t=n.theme,c=n.lineHeight;return t.lineHeights[c]},function(n){var t=n.theme,c=n.textColor;return t.colors[c||"neutral800"]},function(n){return n.textTransform},function(n){return n.ellipsis&&`
93
- display: block;
94
- white-space: nowrap;
95
- overflow: hidden;
96
- text-overflow: ellipsis;
97
- `},function(n){var t=n.variant,c=n.theme;switch(t){case"alpha":return`
98
- font-weight: `.concat(c.fontWeights.bold,`;
99
- font-size: `).concat(c.fontSizes[5],`;
100
- line-height: `).concat(c.lineHeights[2],`;
101
- `);case"beta":return`
102
- font-weight: `.concat(c.fontWeights.bold,`;
103
- font-size: `).concat(c.fontSizes[4],`;
104
- line-height: `).concat(c.lineHeights[1],`;
105
- `);case"delta":return`
106
- font-weight: `.concat(c.fontWeights.semiBold,`;
107
- font-size: `).concat(c.fontSizes[3],`;
108
- line-height: `).concat(c.lineHeights[2],`;
109
- `);case"epsilon":return`
110
- font-size: `.concat(c.fontSizes[3],`;
111
- line-height: `).concat(c.lineHeights[6],`;
112
- `);case"omega":return`
113
- font-size: `.concat(c.fontSizes[2],`;
114
- line-height: `).concat(c.lineHeights[4],`;
115
- `);case"pi":return`
116
- font-size: `.concat(c.fontSizes[1],`;
117
- line-height: `).concat(c.lineHeights[3],`;
118
- `);case"sigma":return`
119
- font-weight: `.concat(c.fontWeights.bold,`;
120
- font-size: `).concat(c.fontSizes[0],`;
121
- line-height: `).concat(c.lineHeights[5],`;
122
- text-transform: uppercase;
123
- `);default:return`
124
- font-size: `.concat(c.fontSizes[2],`;
125
- `)}});w.defaultProps=v,w.propTypes=x},function(r,u,e){"use strict";e.r(u),e.d(u,"Flex",function(){return n});var o,a=e(3),d=e.n(a),l=e(2),p=e.n(l),f=e(5),b=e(7),g=e(1),O=e.n(g),i=e(0),h=e.n(i),v=function(t){return O.a.createElement("div",t)},x={alignItems:"center",basis:void 0,direction:"row",gap:void 0,inline:!1,justifyContent:void 0,reverse:!1,wrap:void 0},y={alignItems:h.a.string,basis:h.a.oneOfType([h.a.string,h.a.number]),direction:h.a.string,gap:h.a.oneOfType([h.a.shape({desktop:h.a.number,mobile:h.a.number,tablet:h.a.number}),h.a.number,h.a.arrayOf(h.a.number),h.a.string]),inline:h.a.bool,justifyContent:h.a.string,reverse:h.a.bool,shrink:h.a.number,wrap:h.a.string};v.defaultProps=x,v.propTypes=y;var w={direction:!0},n=p()(f.Box).withConfig({shouldForwardProp:function(t,c){return!w[t]&&c(t)}})(o||(o=d()([`
126
- align-items: `,`;
127
- display: `,`;
128
- flex-direction: `,`;
129
- flex-shrink: `,`;
130
- flex-wrap: `,`;
131
- `,`};
132
- justify-content: `,`;
133
- `])),function(t){return t.alignItems},function(t){return t.inline?"inline-flex":"flex"},function(t){return t.direction},function(t){return t.shrink},function(t){return t.wrap},function(t){var c=t.gap,S=t.theme;return Object(b.a)("gap",c,S)},function(t){return t.justifyContent});n.defaultProps=x,n.propTypes=y},function(r,u,e){var o=e(25),a=e(26),d=e(22),l=e(27);r.exports=function(p,f){return o(p)||a(p,f)||d(p,f)||l()},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u,e){"use strict";e.d(u,"a",function(){return o});var o={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"}},,function(r,u){function e(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?(r.exports=e=function(a){return typeof a},r.exports.default=r.exports,r.exports.__esModule=!0):(r.exports=e=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},r.exports.default=r.exports,r.exports.__esModule=!0),e(o)}r.exports=e,r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u,e){"use strict";e.d(u,"a",function(){return d});var o=e(1),a=0,d=function(l,p){return Object(o.useRef)(p||"".concat(l,"-").concat(++a)).current}},,function(r,u,e){"use strict";e.d(u,"b",function(){return o}),e.d(u,"c",function(){return a}),e.d(u,"a",function(){return d});var o=function(l){return function(p){var f=p.theme,b=p.size;return f.sizes[l][b]}},a=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"&";return function(p){var f=p.theme,b=p.hasError;return`
134
- outline: none;
135
- box-shadow: 0;
136
- transition-property: border-color, box-shadow, fill;
137
- transition-duration: 0.2s;
138
-
139
- `.concat(l,`:focus-within {
140
- border: 1px solid `).concat(b?f.colors.danger600:f.colors.primary600,`;
141
- box-shadow: `).concat(b?f.colors.danger600:f.colors.primary600,` 0px 0px 0px 2px;
142
- }
143
- `)}},d=function(l){var p=l.theme;return`
144
- position: relative;
145
- outline: none;
146
-
147
- &:after {
148
- transition-property: all;
149
- transition-duration: 0.2s;
150
- border-radius: 8px;
151
- content: '';
152
- position: absolute;
153
- top: -4px;
154
- bottom: -4px;
155
- left: -4px;
156
- right: -4px;
157
- border: 2px solid transparent;
158
- }
159
-
160
- &:focus-visible {
161
- outline: none;
162
- &:after {
163
- border-radius: 8px;
164
- content: '';
165
- position: absolute;
166
- top: -5px;
167
- bottom: -5px;
168
- left: -5px;
169
- right: -5px;
170
- border: 2px solid `.concat(p.colors.primary600,`;
171
- }
172
- }
173
- `)}},,,function(r,u,e){"use strict";var o=e(20);function a(){}function d(){}d.resetWarningCache=a,r.exports=function(){function l(b,g,O,i,h,v){if(v!==o){var x=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw x.name="Invariant Violation",x}}function p(){return l}l.isRequired=l;var f={array:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:p,element:l,elementType:l,instanceOf:p,node:l,objectOf:p,oneOf:p,oneOfType:p,shape:p,exact:p,checkPropTypes:d,resetWarningCache:a};return f.PropTypes=f,f}},function(r,u,e){"use strict";r.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(r,u){r.exports=function(e,o){(o==null||o>e.length)&&(o=e.length);for(var a=0,d=new Array(o);a<o;a++)d[a]=e[a];return d},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u,e){var o=e(21);r.exports=function(a,d){if(a){if(typeof a=="string")return o(a,d);var l=Object.prototype.toString.call(a).slice(8,-1);return l==="Object"&&a.constructor&&(l=a.constructor.name),l==="Map"||l==="Set"?Array.from(a):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?o(a,d):void 0}},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u,e){"use strict";e.r(u),e.d(u,"Stack",function(){return j});var o,a,d=e(6),l=e.n(d),p=e(4),f=e.n(p),b=e(3),g=e.n(b),O=e(1),i=e.n(O),h=e(0),v=e.n(h),x=e(2),y=e.n(x),w=e(9),n=["horizontal","spacing","size"],t={size:!0},c=y()(w.Flex).withConfig({shouldForwardProp:function(m,_){return!t[m]&&_(m)}})(o||(o=g()([`
174
- & > * {
175
- margin-top: 0;
176
- margin-bottom: 0;
177
- }
178
-
179
- & > * + * {
180
- margin-top: `,`;
181
- }
182
- `])),function(m){var _=m.theme,C=m.spacing;return _.spaces[C]}),S=y()(w.Flex).withConfig({shouldForwardProp:function(m,_){return!t[m]&&_(m)}})(a||(a=g()([`
183
- & > * {
184
- margin-left: 0;
185
- margin-right: 0;
186
- }
187
-
188
- & > * + * {
189
- margin-left: `,`;
190
- }
191
- `])),function(m){var _=m.theme,C=m.spacing;return _.spaces[C]}),j=Object(O.forwardRef)(function(m,_){var C=m.horizontal,L=m.spacing,I=m.size,B=f()(m,n);return I&&Q.warn('Deprecation warning: Usage of "size" prop in Stack component is deprecated. This is discouraged and will be removed in the next major release. Please use "spacing" instead'),C?i.a.createElement(S,l()({ref:_,spacing:L||I},B)):i.a.createElement(c,l()({direction:"column",alignItems:"stretch",ref:_,spacing:L||I},B))});j.displayName="Stack",j.defaultProps={horizontal:!1,size:void 0,spacing:void 0},j.propTypes={horizontal:v.a.bool,size:v.a.number,spacing:v.a.number}},function(r,u){r.exports=function(e,o){if(e==null)return{};var a,d,l={},p=Object.keys(e);for(d=0;d<p.length;d++)a=p[d],o.indexOf(a)>=0||(l[a]=e[a]);return l},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u){r.exports=function(e){if(Array.isArray(e))return e},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u){r.exports=function(e,o){var a=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var d,l,p=[],f=!0,b=!1;try{for(a=a.call(e);!(f=(d=a.next()).done)&&(p.push(d.value),!o||p.length!==o);f=!0);}catch(g){b=!0,l=g}finally{try{f||a.return==null||a.return()}finally{if(b)throw l}}return p}},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u){r.exports=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
192
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},r.exports.default=r.exports,r.exports.__esModule=!0},,function(r,u,e){var o=e(42),a=e(43),d=e(22),l=e(44);r.exports=function(p){return o(p)||a(p)||d(p)||l()},r.exports.default=r.exports,r.exports.__esModule=!0},,function(r,u){r.exports=function(e,o,a){return o in e?Object.defineProperty(e,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[o]=a,e},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u){r.exports=E},,,,,,,,,function(r,u,e){"use strict";e.r(u),e.d(u,"Icon",function(){return x});var o,a=e(6),d=e.n(a),l=e(3),p=e.n(l),f=e(1),b=e.n(f),g=e(0),O=e.n(g),i=e(5),h=e(2),v=e.n(h)()(i.Box)(o||(o=p()([`
193
- path {
194
- fill: `,`;
195
- }
196
- `,`
197
- `])),function(y){var w=y.color;return y.theme.colors[w]},function(y){var w=y.theme;return(0,y.colors)(w)}),x=b.a.forwardRef(function(y,w){return b.a.createElement(v,d()({ref:w},y))});x.displayName="Icon",x.defaultProps={color:"neutral600",colors:function(){}},x.propTypes={color:O.a.string,colors:O.a.func}},function(r,u,e){var o=e(21);r.exports=function(a){if(Array.isArray(a))return o(a)},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u){r.exports=function(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)},r.exports.default=r.exports,r.exports.__esModule=!0},function(r,u){r.exports=function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
198
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},r.exports.default=r.exports,r.exports.__esModule=!0},,,,,,,,,,,,,,,,,,,,function(r,u,e){"use strict";e.r(u),e.d(u,"TextButton",function(){return j});var o,a=e(6),d=e.n(a),l=e(4),p=e.n(l),f=e(3),b=e.n(f),g=e(1),O=e.n(g),i=e(0),h=e.n(i),v=e(2),x=e.n(v),y=e(5),w=e(8),n=e(9),t=e(16),c=["children","startIcon","endIcon","onClick","disabled"],S=x()(n.Flex)(o||(o=b()([`
199
- background: transparent;
200
- border: none;
201
-
202
- &[aria-disabled='true'] {
203
- pointer-events: none;
204
- svg path {
205
- fill: `,`;
206
- }
207
- }
208
-
209
- svg {
210
- display: flex;
211
- font-size: `,`rem;
212
- }
213
-
214
- svg path {
215
- fill: `,`;
216
- }
217
-
218
- `,`
219
- `])),function(m){return m.theme.colors.neutral600},.625,function(m){return m.theme.colors.primary600},t.a),j=O.a.forwardRef(function(m,_){var C=m.children,L=m.startIcon,I=m.endIcon,B=m.onClick,F=m.disabled,X=p()(m,c),G=B&&!F?B:void 0;return O.a.createElement(S,d()({ref:_,"aria-disabled":F,onClick:G,as:"button",type:"button"},X),L&&O.a.createElement(y.Box,{as:"span",paddingRight:2,"aria-hidden":!0},L),O.a.createElement(w.Typography,{variant:"pi",textColor:F?"neutral600":"primary600"},C),I&&O.a.createElement(y.Box,{as:"span",paddingLeft:2,"aria-hidden":!0},I))});j.displayName="TextButton",j.defaultProps={disabled:!1,startIcon:void 0,endIcon:void 0,onClick:void 0},j.propTypes={children:h.a.node.isRequired,disabled:h.a.bool,endIcon:h.a.element,onClick:h.a.func,startIcon:h.a.element}},,,,,,,,,,,,,,,,function(r,u,e){"use strict";e.r(u),e.d(u,"KeyboardNavigable",function(){return y});var o=e(6),a=e.n(o),d=e(29),l=e.n(d),p=e(4),f=e.n(p),b=e(1),g=e.n(b),O=e(0),i=e.n(O),h=e(5),v=e(11),x=["tagName","attributeName"],y=function(w){var n=w.tagName,t=w.attributeName,c=f()(w,x),S=function(){var m=document.activeElement;return n?m.tagName.toLowerCase()===n:m.hasAttribute(t)},j=function(m){return n?m.querySelectorAll(n):m.querySelectorAll("[".concat(t,"]"))};return g.a.createElement(h.Box,a()({onKeyDown:function(m){switch(m.key){case v.a.RIGHT:case v.a.DOWN:m.preventDefault();var _=document.activeElement;if(S()){m.preventDefault();var C=l()(j(m.currentTarget)),L=C.findIndex(function(G){return G===_});C[L+1<C.length?L+1:0].focus()}break;case v.a.LEFT:case v.a.UP:m.preventDefault();var I=document.activeElement;if(S()){m.preventDefault();var B=l()(j(m.currentTarget)),F=B.findIndex(function(G){return G===I});B[F-1>-1?F-1:B.length-1].focus()}break;case v.a.HOME:S()&&(m.preventDefault(),j(m.currentTarget).item(0).focus());break;case v.a.END:if(S()){m.preventDefault();var X=j(m.currentTarget);X.item(X.length-1).focus()}}}},c))};y.defaultProps={attributeName:void 0,tagName:void 0},y.propTypes={attributeName:i.a.string,tagName:i.a.string}},,,,,,,,,,,,,,,,,,,function(r,u,e){"use strict";e.r(u),e.d(u,"AccordionTypography",function(){return S}),e.d(u,"Accordion",function(){return m}),e.d(u,"AccordionContent",function(){return F}),e.d(u,"AccordionToggle",function(){return ne}),e.d(u,"AccordionGroup",function(){return re});var o,a,d=e(31),l=e.n(d),p=e(3),f=e.n(p),b=e(1),g=e.n(b),O=e(0),i=e.n(O),h=e(2),v=e.n(h),x=e(8),y=Object(b.createContext)(),w=function(){return Object(b.useContext)(y)},n=e(14),t=e(5),c=e(9),S=v()(x.Typography)(o||(o=f()([""]))),j=v()(t.Box)(a||(a=f()([`
220
- border: `,`;
221
-
222
- &:hover:not([aria-disabled='true']) {
223
- border: 1px solid `,`;
224
-
225
- `,` {
226
- color: `,`;
227
- }
228
-
229
- `,` {
230
- color: `,`;
231
- }
232
-
233
- & > `,` {
234
- background: `,`;
235
- }
236
-
237
- [data-strapi-dropdown='true'] {
238
- background: `,`;
239
- }
240
- }
241
- `])),function(s){var T=s.theme,P=s.expanded,H=s.variant,M=s.disabled;return s.error?"1px solid ".concat(T.colors.danger600," !important"):"1px solid ".concat(M?T.colors.neutral150:P?T.colors.primary600:H==="primary"?T.colors.neutral0:T.colors.neutral100)},function(s){return s.theme.colors.primary600},S,function(s){var T=s.theme;return s.expanded?void 0:T.colors.primary700},x.Typography,function(s){var T=s.theme;return s.expanded?void 0:T.colors.primary600},c.Flex,function(s){return s.theme.colors.primary100},function(s){return s.theme.colors.primary200}),m=function(s){var T=s.children,P=s.expanded,H=s.id,M=s.size,A=s.variant,U=s.disabled,W=s.error,N=s.hasErrorMessage,$=s.onToggle,J=s.toggle,D=Object(n.a)("accordion",H);return g.a.createElement(y.Provider,{value:{expanded:P,onToggle:$,toggle:J,id:D,size:M,variant:A,disabled:U}},g.a.createElement(j,{"data-strapi-expanded":P,disabled:U,"aria-disabled":U,expanded:P,hasRadius:!0,variant:A,error:W},T),W&&N&&g.a.createElement(t.Box,{paddingTop:1},g.a.createElement(x.Typography,{variant:"pi",textColor:"danger600"},W)))};m.defaultProps=l()({disabled:!1,error:void 0,expanded:!1,hasErrorMessage:!0,id:void 0,toggle:!1,size:"M",variant:"primary",onToggle:void 0},"toggle",void 0),m.propTypes={children:i.a.node.isRequired,disabled:i.a.bool,error:i.a.string,expanded:i.a.bool,hasErrorMessage:i.a.bool,id:i.a.string,onToggle:i.a.func,size:i.a.oneOf(["S","M"]),toggle:i.a.func,variant:i.a.oneOf(["primary","secondary"])};var _=e(6),C=e.n(_),L=e(4),I=e.n(L),B=["children"],F=function(s){var T=s.children,P=I()(s,B),H=w(),M=H.expanded,A=H.id;if(!M)return null;var U="accordion-content-".concat(A),W="accordion-label-".concat(A),N="accordion-desc-".concat(A);return g.a.createElement(t.Box,C()({role:"region",id:U,"aria-labelledby":W,"aria-describedby":N},P),T)};F.propTypes={children:i.a.node.isRequired};var X,G,pe=e(32),fe=e.n(pe),me=e(64),oe=e(23),ge=e(41),he=["title","description","as","togglePosition","action"],be=v()(me.TextButton)(X||(X=f()([`
242
- text-align: left;
243
-
244
- // necessary to make the ellipsis prop work on the title
245
- > span {
246
- max-width: 100%;
247
- }
248
-
249
- svg {
250
- width: `,`rem;
251
- height: `,`rem;
252
-
253
- path {
254
- fill: `,`;
255
- }
256
- }
257
- `])),.875,.875,function(s){var T=s.theme;return s.expanded?T.colors.primary600:T.colors.neutral500}),ve=v()(c.Flex)(G||(G=f()([`
258
- min-height: `,`;
259
- border-radius: `,`;
260
-
261
- &:hover {
262
- svg {
263
- path {
264
- fill: `,`;
265
- }
266
- }
267
- }
268
- `])),function(s){var T=s.theme,P=s.size;return T.sizes.accordions[P]},function(s){var T=s.theme;return s.expanded?"".concat(T.borderRadius," ").concat(T.borderRadius," 0 0"):T.borderRadius},function(s){return s.theme.colors.primary600}),ne=function(s){var T=s.title,P=s.description,H=s.as,M=s.togglePosition,A=s.action,U=I()(s,he),W=Object(b.useRef)(null),N=w(),$=N.onToggle,J=N.toggle,D=N.expanded,te=N.id,q=N.size,Oe=N.variant,Y=N.disabled,Ee="accordion-content-".concat(te),se="accordion-label-".concat(te),Se="accordion-desc-".concat(te),Z=q==="M"?6:4,ce=q==="M"?Z:Z-2,je=function(V){var Ce=V.expanded,ke=V.disabled,Re=V.variant;return Ce?"primary100":ke?"neutral150":Re==="primary"?"neutral0":"neutral100"}({expanded:D,disabled:Y,variant:Oe}),Pe={as:H,fontWeight:q==="S"?"bold":void 0,id:se,textColor:D?"primary600":"neutral700",ellipsis:!0,variant:q==="M"?"delta":void 0},_e=D?"primary600":"neutral600",ze=D?"primary200":"neutral200",le="".concat(q==="M"?2:1.5,"rem"),de=g.a.createElement(c.Flex,{justifyContent:"center",borderRadius:"50%",height:le,width:le,transform:D?"rotate(180deg)":void 0,"data-strapi-dropdown":!0,disabled:Y,"aria-hidden":!0,as:"span",background:ze,cursor:Y?"not-allowed":"pointer",onClick:function(){var V;return W==null||(V=W.current)===null||V===void 0?void 0:V.click()},shrink:0},g.a.createElement(ge.Icon,{as:fe.a,width:"".concat(q==="M"?11/16:.5,"rem"),color:D?"primary600":"neutral600"}));return g.a.createElement(ve,{paddingBottom:ce,paddingLeft:Z,paddingRight:Z,paddingTop:ce,background:je,expanded:D,size:q,justifyContent:"space-between",cursor:Y?"not-allowed":""},g.a.createElement(oe.Stack,{horizontal:!0,spacing:3,flex:1,maxWidth:"100%"},M==="left"&&de,g.a.createElement(be,C()({ref:W,onClick:function(){Y||(J&&!$?(Q.warn('Deprecation warning: Usage of "toggle" prop in Accordion component is deprecated. This is discouraged and will be removed in the next major release. Please use "onToggle" instead'),J()):$())},"aria-disabled":Y,"aria-expanded":D,"aria-controls":Ee,"aria-labelledby":se,"data-strapi-accordion-toggle":!0,expanded:D,type:"button",flex:1,minWidth:0},U),g.a.createElement(g.a.Fragment,null,g.a.createElement(S,Pe,T),P&&g.a.createElement(x.Typography,{as:"p",id:Se,textColor:_e},P))),M==="right"&&g.a.createElement(oe.Stack,{horizontal:!0,spacing:3},de,A),M==="left"&&A))};ne.defaultProps={action:void 0,as:"span",description:void 0,variant:"primary",togglePosition:"right"},ne.propTypes={action:i.a.node,as:i.a.string,description:i.a.string,title:i.a.string.isRequired,togglePosition:i.a.oneOf(["right","left"]),variant:i.a.oneOf(["primary","secondary"])};var ae,ie,ue,xe=e(80),ye=v()(t.Box)(ae||(ae=f()([`
269
- border-bottom: 1px solid `,`;
270
- border-right: 1px solid `,`;
271
- border-left: 1px solid `,`;
272
- border-radius: 0 0 `," ",`;
273
- `])),function(s){return s.theme.colors.neutral200},function(s){return s.theme.colors.neutral200},function(s){return s.theme.colors.neutral200},function(s){return s.theme.borderRadius},function(s){return s.theme.borderRadius}),we=v()(t.Box)(ie||(ie=f()([`
274
- & > * {
275
- & > * {
276
- border-radius: unset;
277
- }
278
- }
279
-
280
- & > * {
281
- border-radius: unset;
282
- border-right: 1px solid `,`;
283
- border-left: 1px solid `,`;
284
- border-bottom: 1px solid `,`;
285
- }
286
-
287
- & > *:first-of-type {
288
- border-top: 1px solid `,`;
289
- border-radius: `," ",` 0 0;
290
- & > * {
291
- border-radius: `," ",` 0 0;
292
- }
293
-
294
- &:hover {
295
- border-top: 1px solid `,`;
296
- }
297
- }
298
-
299
- & [data-strapi-expanded='true'] {
300
- border: 1px solid `,`;
301
- }
302
-
303
- `,`
304
- `])),function(s){return s.theme.colors.neutral200},function(s){return s.theme.colors.neutral200},function(s){return s.theme.colors.neutral200},function(s){return s.theme.colors.neutral200},function(s){return s.theme.borderRadius},function(s){return s.theme.borderRadius},function(s){return s.theme.borderRadius},function(s){return s.theme.borderRadius},function(s){return s.theme.colors.primary600},function(s){return s.theme.colors.primary600},function(s){var T=s.theme,P=s.footer;return`
305
- &:not(`.concat(P,`) {
306
- & > *:last-of-type {
307
- border-radius: 0 0 `).concat(T.borderRadius," ").concat(T.borderRadius,`;
308
- }
309
- }
310
- `)}),Te=v()(t.Box)(ue||(ue=f()([`
311
- svg path {
312
- fill: `,`;
313
- }
314
- `])),function(s){return s.theme.colors.neutral500}),re=function(s){var T=s.children,P=s.footer,H=s.label,M=s.labelAction,A=s.error,U=b.Children.toArray(T).map(function(W){return Object(b.cloneElement)(W,{hasErrorMessage:!1})});return g.a.createElement(xe.KeyboardNavigable,{attributeName:"data-strapi-accordion-toggle"},H&&g.a.createElement(c.Flex,{paddingBottom:1},g.a.createElement(x.Typography,{variant:"pi",as:"label",textColor:"neutral800",fontWeight:"bold"},H),M&&g.a.createElement(Te,{paddingLeft:1},M)),g.a.createElement(we,{footer:P},U),P&&g.a.createElement(ye,null,P),A&&g.a.createElement(t.Box,{paddingTop:1},g.a.createElement(x.Typography,{variant:"pi",textColor:"danger600"},A)))};re.defaultProps={footer:null,error:void 0,label:null,labelAction:void 0},re.propTypes={children:i.a.node.isRequired,error:i.a.string,footer:i.a.node,label:i.a.string,labelAction:i.a.node}}])})},98599:function(K,ee,k){(function(Q,R){K.exports=R(k(32735))})(this,function(Q){return function(R){var z={};function E(r){if(z[r])return z[r].exports;var u=z[r]={i:r,l:!1,exports:{}};return R[r].call(u.exports,u,u.exports,E),u.l=!0,u.exports}return E.m=R,E.c=z,E.d=function(r,u,e){E.o(r,u)||Object.defineProperty(r,u,{enumerable:!0,get:e})},E.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},E.t=function(r,u){if(1&u&&(r=E(r)),8&u||4&u&&typeof r=="object"&&r&&r.__esModule)return r;var e=Object.create(null);if(E.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&u&&typeof r!="string")for(var o in r)E.d(e,o,function(a){return r[a]}.bind(null,o));return e},E.n=function(r){var u=r&&r.__esModule?function(){return r.default}:function(){return r};return E.d(u,"a",u),u},E.o=function(r,u){return Object.prototype.hasOwnProperty.call(r,u)},E.p="",E(E.s=5)}({0:function(R,z){R.exports=Q},5:function(R,z,E){"use strict";E.r(z);var r=E(0);function u(){return(u=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(e[d]=a[d])}return e}).apply(this,arguments)}z.default=function(e){return r.createElement("svg",u({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.createElement("path",{d:"M24 13.3a.2.2 0 01-.2.2H5.74l8.239 8.239a.2.2 0 010 .282L12.14 23.86a.2.2 0 01-.282 0L.14 12.14a.2.2 0 010-.282L11.86.14a.2.2 0 01.282 0L13.98 1.98a.2.2 0 010 .282L5.74 10.5H23.8c.11 0 .2.09.2.2v2.6z",fill:"#212134"}))}}})})},37213:(K,ee,k)=>{var Q=k(26460),R=k(88904),z=k(52920),E=k(77236);function r(u,e){var o=E(u)?Q:z;return o(u,R(e,3))}K.exports=r}}]);