@strapi/admin 4.10.4 → 4.11.0-alpha.0

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 (82) hide show
  1. package/admin/src/content-manager/components/DynamicTable/BulkActionsBar/index.js +307 -0
  2. package/admin/src/content-manager/components/DynamicTable/index.js +20 -4
  3. package/admin/src/content-manager/components/EditViewDataManagerProvider/index.js +3 -2
  4. package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/index.js +0 -1
  5. package/admin/src/content-manager/pages/ListView/index.js +118 -2
  6. package/admin/src/content-manager/utils/index.js +2 -0
  7. package/admin/src/content-manager/{components/EditViewDataManagerProvider/utils → utils}/schema.js +1 -1
  8. package/admin/src/injectionZones.js +6 -1
  9. package/admin/src/translations/en.json +5 -1
  10. package/build/{1387.437eb420.chunk.js → 1387.84b454d3.chunk.js} +1 -1
  11. package/build/{1657.85034334.chunk.js → 1657.45231968.chunk.js} +52 -52
  12. package/build/3081.bcf9a12f.chunk.js +108 -0
  13. package/build/3562.57745ccd.chunk.js +50 -0
  14. package/build/462.8fff7f3b.chunk.js +71 -0
  15. package/build/{4628.9cbb6df5.chunk.js → 4628.20631dd1.chunk.js} +1 -1
  16. package/build/5542.b8240e3f.chunk.js +70 -0
  17. package/build/{5563.44e0ef15.chunk.js → 5563.986609ed.chunk.js} +22 -22
  18. package/build/6404.68405699.chunk.js +100 -0
  19. package/build/6970.5159b068.chunk.js +1 -0
  20. package/build/{7259.3ed2b60e.chunk.js → 7259.7a48aa2f.chunk.js} +1 -1
  21. package/build/7725.1633e06f.chunk.js +213 -0
  22. package/build/{Admin-authenticatedApp.dbb99d34.chunk.js → Admin-authenticatedApp.27a2329f.chunk.js} +2 -2
  23. package/build/Admin_homePage.9f7c0bb1.chunk.js +73 -0
  24. package/build/Admin_marketplace.5f7b89e5.chunk.js +55 -0
  25. package/build/Admin_pluginsPage.9e6fa51c.chunk.js +6 -0
  26. package/build/{Admin_profilePage.1687246a.chunk.js → Admin_profilePage.1b337b73.chunk.js} +1 -1
  27. package/build/Admin_settingsPage.9d0419bc.chunk.js +79 -0
  28. package/build/{Upload_ConfigureTheView.aa64ed9a.chunk.js → Upload_ConfigureTheView.d429a7fc.chunk.js} +1 -1
  29. package/build/{admin-app.d4fd9379.chunk.js → admin-app.8e1f56bc.chunk.js} +5 -5
  30. package/build/{admin-edit-roles-page.6fe9de49.chunk.js → admin-edit-roles-page.d0c9497b.chunk.js} +41 -43
  31. package/build/{admin-edit-users.49363035.chunk.js → admin-edit-users.2aae89f5.chunk.js} +2 -2
  32. package/build/admin-roles-list.c759daa3.chunk.js +31 -0
  33. package/build/{admin-users.16bb6e77.chunk.js → admin-users.04a823ca.chunk.js} +15 -15
  34. package/build/audit-logs-settings-page.45cb4fb5.chunk.js +76 -0
  35. package/build/content-manager.cf467ecc.chunk.js +1123 -0
  36. package/build/content-type-builder-list-view.5ff685ec.chunk.js +214 -0
  37. package/build/{content-type-builder.51c64fe5.chunk.js → content-type-builder.4737a30c.chunk.js} +4 -4
  38. package/build/email-settings-page.dc07d518.chunk.js +10 -0
  39. package/build/{en-json.1f6af924.chunk.js → en-json.7edb00f6.chunk.js} +1 -1
  40. package/build/i18n-settings-page.8219dd99.chunk.js +60 -0
  41. package/build/i18n-translation-en-json.1ec7becf.chunk.js +1 -0
  42. package/build/index.html +1 -1
  43. package/build/main.14dca275.js +2592 -0
  44. package/build/{review-workflows-settings.26409ce4.chunk.js → review-workflows-settings.6a662ebd.chunk.js} +2 -2
  45. package/build/{runtime~main.a096f3d0.js → runtime~main.1074f2bb.js} +2 -2
  46. package/build/{sso-settings-page.c9d7c8df.chunk.js → sso-settings-page.f44d95d8.chunk.js} +1 -1
  47. package/build/upload-settings.dd2d987c.chunk.js +13 -0
  48. package/build/upload.c8479232.chunk.js +33 -0
  49. package/build/users-advanced-settings-page.c36cfd59.chunk.js +8 -0
  50. package/build/users-email-settings-page.2716ce8e.chunk.js +23 -0
  51. package/build/users-providers-settings-page.0d6304a5.chunk.js +28 -0
  52. package/build/webhook-edit-page.f4db86f3.chunk.js +75 -0
  53. package/build/webhook-list-page.30d73114.chunk.js +71 -0
  54. package/ee/admin/content-manager/components/DynamicTable/CellContent/ReviewWorkflowsStage/getTableColumn.js +6 -1
  55. package/package.json +11 -11
  56. package/admin/src/content-manager/components/DynamicTable/ConfirmDialogDeleteAll/index.js +0 -73
  57. package/build/3081.c2cdfac8.chunk.js +0 -108
  58. package/build/3816.2b58bc1a.chunk.js +0 -214
  59. package/build/462.a073ff1f.chunk.js +0 -71
  60. package/build/5542.5328b662.chunk.js +0 -71
  61. package/build/617.ce23dea8.chunk.js +0 -155
  62. package/build/6858.85d76858.chunk.js +0 -50
  63. package/build/6970.e8422af3.chunk.js +0 -1
  64. package/build/Admin_homePage.e15dcf28.chunk.js +0 -73
  65. package/build/Admin_marketplace.87f51b29.chunk.js +0 -55
  66. package/build/Admin_pluginsPage.7df6b5a9.chunk.js +0 -6
  67. package/build/Admin_settingsPage.20884a40.chunk.js +0 -79
  68. package/build/admin-roles-list.a323aa9f.chunk.js +0 -31
  69. package/build/audit-logs-settings-page.48b921f9.chunk.js +0 -129
  70. package/build/content-manager.a837bfcd.chunk.js +0 -1123
  71. package/build/content-type-builder-list-view.1e821eb9.chunk.js +0 -215
  72. package/build/email-settings-page.5bc22e5a.chunk.js +0 -11
  73. package/build/i18n-settings-page.1581894e.chunk.js +0 -114
  74. package/build/i18n-translation-en-json.60af6722.chunk.js +0 -1
  75. package/build/main.31bdf27e.js +0 -2679
  76. package/build/upload-settings.4d962053.chunk.js +0 -14
  77. package/build/upload.4dcd513f.chunk.js +0 -34
  78. package/build/users-advanced-settings-page.dd2a4954.chunk.js +0 -9
  79. package/build/users-email-settings-page.510648ab.chunk.js +0 -24
  80. package/build/users-providers-settings-page.0ee7d54f.chunk.js +0 -29
  81. package/build/webhook-edit-page.36c9f20d.chunk.js +0 -128
  82. package/build/webhook-list-page.0983d83f.chunk.js +0 -71
@@ -1,71 +0,0 @@
1
- (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[5542],{88058:function(a,u,n){var t=n(87650);function i(e,r){var o=e==null?0:e.length;return!!o&&t(e,r,0)>-1}a.exports=i},37431:function(a){function u(n,t,i){for(var e=-1,r=n==null?0:n.length;++e<r;)if(i(t,n[e]))return!0;return!1}a.exports=u},91096:function(a,u,n){var t=n(61124),i=n(88058),e=n(37431),r=n(26460),o=n(76535),s=n(30555),c=200;function l(x,p,v,E){var M=-1,g=i,d=!0,h=x.length,f=[],y=p.length;if(!h)return f;v&&(p=r(p,o(v))),E?(g=e,d=!1):p.length>=c&&(g=s,d=!1,p=new t(p));n:for(;++M<h;){var m=x[M],P=v==null?m:v(m);if(m=E||m!==0?m:0,d&&P===P){for(var O=y;O--;)if(p[O]===P)continue n;f.push(m)}else g(p,P,E)||f.push(m)}return f}a.exports=l},56671:function(a,u,n){var t=n(35897),i=n(74741),e=i(t);a.exports=e},60528:function(a){function u(n,t,i,e){for(var r=n.length,o=i+(e?1:-1);e?o--:++o<r;)if(t(n[o],o,n))return o;return-1}a.exports=u},87650:function(a,u,n){var t=n(60528),i=n(25556),e=n(54256);function r(o,s,c){return s===s?e(o,s,c):t(o,i,c)}a.exports=r},25556:function(a){function u(n){return n!==n}a.exports=u},52920:function(a,u,n){var t=n(56671),i=n(81580);function e(r,o){var s=-1,c=i(r)?Array(r.length):[];return t(r,function(l,x,p){c[++s]=o(l,x,p)}),c}a.exports=e},50690:function(a,u,n){var t=n(26460),i=n(80166),e=n(88904),r=n(52920),o=n(36024),s=n(76535),c=n(1397),l=n(15362),x=n(77236);function p(v,E,M){E.length?E=t(E,function(h){return x(h)?function(f){return i(f,h.length===1?h[0]:h)}:h}):E=[l];var g=-1;E=t(E,s(e));var d=r(v,function(h,f,y){var m=t(E,function(P){return P(h)});return{criteria:m,index:++g,value:h}});return o(d,function(h,f){return c(h,f,M)})}a.exports=p},36024:function(a){function u(n,t){var i=n.length;for(n.sort(t);i--;)n[i]=n[i].value;return n}a.exports=u},40709:function(a,u,n){var t=n(22945);function i(e,r){if(e!==r){var o=e!==void 0,s=e===null,c=e===e,l=t(e),x=r!==void 0,p=r===null,v=r===r,E=t(r);if(!p&&!E&&!l&&e>r||l&&x&&v&&!p&&!E||s&&x&&v||!o&&v||!c)return 1;if(!s&&!l&&!E&&e<r||E&&o&&c&&!s&&!l||p&&o&&c||!x&&c||!v)return-1}return 0}a.exports=i},1397:function(a,u,n){var t=n(40709);function i(e,r,o){for(var s=-1,c=e.criteria,l=r.criteria,x=c.length,p=o.length;++s<x;){var v=t(c[s],l[s]);if(v){if(s>=p)return v;var E=o[s];return v*(E=="desc"?-1:1)}}return e.index-r.index}a.exports=i},74741:function(a,u,n){var t=n(81580);function i(e,r){return function(o,s){if(o==null)return o;if(!t(o))return e(o,s);for(var c=o.length,l=r?c:-1,x=Object(o);(r?l--:++l<c)&&s(x[l],l,x)!==!1;);return o}}a.exports=i},54256:function(a){function u(n,t,i){for(var e=i-1,r=n.length;++e<r;)if(n[e]===t)return e;return-1}a.exports=u},37213:function(a,u,n){var t=n(26460),i=n(88904),e=n(52920),r=n(77236);function o(s,c){var l=r(s)?t:e;return l(s,i(c,3))}a.exports=o},98978:function(a,u,n){var t=n(40314),i=n(50690),e=n(94569),r=n(63108),o=e(function(s,c){if(s==null)return[];var l=c.length;return l>1&&r(s,c[0],c[1])?c=[]:l>2&&r(c[0],c[1],c[2])&&(c=[c[0]]),i(s,t(c,1),[])});a.exports=o},15738:function(a,u,n){var t=n(4293);function i(e){var r=e==null?0:e.length;return r?t(e,1,r):[]}a.exports=i},88708:function(a,u,n){var t=n(4293),i=n(25225);function e(r,o,s){return r&&r.length?(o=s||o===void 0?1:i(o),t(r,0,o<0?0:o)):[]}a.exports=e},86205:function(a,u,n){var t=n(91096),i=n(94569),e=n(99747),r=i(function(o,s){return e(o)?t(o,s):[]});a.exports=r},83828:function(a,u,n){"use strict";n.d(u,{U:function(){return E},y:function(){return p}});var t=n(74512),i=n(32735),e=n(8471),r=n(91045),o=n(74971),s=n(49372),c=n(87933),l=n(72850);const x=({theme:M,expanded:g,variant:d,disabled:h,error:f})=>f?`1px solid ${M.colors.danger600} !important`:h?`1px solid ${M.colors.neutral150}`:g?`1px solid ${M.colors.primary600}`:d==="primary"?`1px solid ${M.colors.neutral0}`:`1px solid ${M.colors.neutral100}`,p=(0,e.ZP)(s.Z)``,v=(0,e.ZP)(l.x)`
2
- border: ${x};
3
-
4
- &:hover:not([aria-disabled='true']) {
5
- border: 1px solid ${({theme:M})=>M.colors.primary600};
6
-
7
- ${p} {
8
- color: ${({theme:M,expanded:g})=>g?void 0:M.colors.primary700};
9
- }
10
-
11
- ${s.Z} {
12
- color: ${({theme:M,expanded:g})=>g?void 0:M.colors.primary600};
13
- }
14
-
15
- & > ${c.k} {
16
- background: ${({theme:M})=>M.colors.primary100};
17
- }
18
-
19
- [data-strapi-dropdown='true'] {
20
- background: ${({theme:M})=>M.colors.primary200};
21
- }
22
- }
23
- `,E=({children:M,disabled:g=!1,error:d,expanded:h=!1,hasErrorMessage:f=!0,id:y,onToggle:m,toggle:P,size:O="M",variant:j="primary",shadow:A})=>{const _=(0,o.M)(y),C=i.useMemo(()=>({expanded:h,onToggle:m,toggle:P,id:_,size:O,variant:j,disabled:g}),[g,h,_,m,O,P,j]);return(0,t.jsxs)(r.S.Provider,{value:C,children:[(0,t.jsx)(v,{"data-strapi-expanded":h,disabled:g,"aria-disabled":g,expanded:h,hasRadius:!0,variant:j,error:d,shadow:A,children:M}),d&&f&&(0,t.jsx)(l.x,{paddingTop:1,children:(0,t.jsx)(s.Z,{variant:"pi",textColor:"danger600",children:d})})]})}},89966:function(a,u,n){"use strict";n.d(u,{v:function(){return r}});var t=n(74512),i=n(91045),e=n(72850);const r=({children:o,...s})=>{const{expanded:c,id:l}=(0,i.A)();if(!c)return null;const x=`accordion-content-${l}`,p=`accordion-label-${l}`,v=`accordion-desc-${l}`;return(0,t.jsx)(e.x,{role:"region",id:x,"aria-labelledby":p,"aria-describedby":v,...s,children:o})}},91045:function(a,u,n){"use strict";n.d(u,{A:function(){return e},S:function(){return i}});var t=n(32735);const i=(0,t.createContext)({disabled:!1,expanded:!1,id:"",size:"M",variant:"primary"}),e=()=>(0,t.useContext)(i)},61762:function(a,u,n){"use strict";n.d(u,{B:function(){return M}});var t=n(74512),i=n(16899),e=n(8471),r=n(83828),o=n(91045);const s=({expanded:g,disabled:d,variant:h})=>{let f="neutral100";return g?f="primary100":d?f="neutral150":h==="primary"&&(f="neutral0"),f};var c=n(7563),l=n(99140),x=n(87933),p=n(49372);const v=(0,e.ZP)(c.A)`
24
- text-align: left;
25
-
26
- // necessary to make the ellipsis prop work on the title
27
- > span {
28
- max-width: 100%;
29
- }
30
-
31
- svg {
32
- width: ${14/16}rem;
33
- height: ${14/16}rem;
34
-
35
- path {
36
- fill: ${({theme:g,expanded:d})=>d?g.colors.primary600:g.colors.neutral500};
37
- }
38
- }
39
- `,E=(0,e.ZP)(x.k)`
40
- min-height: ${({theme:g,size:d})=>g.sizes.accordions[d]};
41
- border-radius: ${({theme:g,expanded:d})=>d?`${g.borderRadius} ${g.borderRadius} 0 0`:g.borderRadius};
42
-
43
- &:hover {
44
- svg {
45
- path {
46
- fill: ${({theme:g})=>g.colors.primary600};
47
- }
48
- }
49
- }
50
- `,M=({title:g,description:d,as:h="span",togglePosition:f="right",action:y,...m})=>{const{onToggle:P,toggle:O,expanded:j,id:A,size:_,variant:C,disabled:B}=(0,o.A)(),U=`accordion-content-${A}`,L=`accordion-label-${A}`,$=`accordion-desc-${A}`,D=_==="M"?6:4,b=_==="M"?D:D-2,I=s({expanded:j,disabled:B,variant:C}),K={as:h,fontWeight:_==="S"?"bold":void 0,id:L,textColor:j?"primary600":"neutral700",ellipsis:!0,variant:_==="M"?"delta":void 0},Z=j?"primary600":"neutral600",w=j?"primary200":"neutral200",R=_==="M"?`${32/16}rem`:`${24/16}rem`,T=()=>{B||(O&&!P?(console.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'),O()):P&&P())},W=(0,t.jsx)(x.k,{justifyContent:"center",borderRadius:"50%",height:R,width:R,transform:j?"rotate(180deg)":void 0,"data-strapi-dropdown":!0,"aria-hidden":!0,as:"span",background:w,cursor:B?"not-allowed":"pointer",onClick:T,shrink:0,children:(0,t.jsx)(l.J,{as:i.Z,width:_==="M"?`${11/16}rem`:`${8/16}rem`,color:j?"primary600":"neutral600"})});return(0,t.jsx)(E,{paddingBottom:b,paddingLeft:D,paddingRight:D,paddingTop:b,background:I,expanded:j,size:_,justifyContent:"space-between",cursor:B?"not-allowed":"",children:(0,t.jsxs)(x.k,{gap:3,flex:1,maxWidth:"100%",children:[f==="left"&&W,(0,t.jsx)(v,{onClick:T,"aria-disabled":B,"aria-expanded":j,"aria-controls":U,"aria-labelledby":L,"data-strapi-accordion-toggle":!0,expanded:j,type:"button",flex:1,minWidth:0,...m,children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.y,{...K,children:g}),d&&(0,t.jsx)(p.Z,{as:"p",id:$,textColor:Z,children:d})]})}),f==="right"&&(0,t.jsxs)(x.k,{gap:3,children:[W,y]}),f==="left"&&y]})})}},99223:function(a,u,n){"use strict";n.d(u,{Z:function(){return x}});var t=n(74512),i=n(32735),e=n(60216),r=n(8471),o=n(87933),s=n(72850);const c=(0,r.ZP)(o.k)`
51
- & > * + * {
52
- margin-left: ${({theme:p})=>p.spaces[2]};
53
- }
54
-
55
- margin-left: ${({pullRight:p})=>p?"auto":void 0};
56
- `,l=(0,r.ZP)(c)`
57
- flex-shrink: 0;
58
- `,x=({startActions:p,endActions:v})=>p||v?(0,t.jsx)(s.x,{paddingLeft:10,paddingRight:10,children:(0,t.jsx)(s.x,{paddingBottom:4,children:(0,t.jsxs)(o.k,{justifyContent:"space-between",alignItems:"flex-start",children:[p&&(0,t.jsx)(c,{wrap:"wrap",children:p}),v&&(0,t.jsx)(l,{pullRight:!0,children:v})]})})}):null;x.defaultProps={endActions:void 0,startActions:void 0},x.propTypes={endActions:e.node,startActions:e.node}},17e3:function(a,u,n){"use strict";n.d(u,{D:function(){return o}});var t=n(74512),i=n(32735),e=n(60216),r=n(72850);const o=({children:s})=>(0,t.jsx)(r.x,{paddingLeft:10,paddingRight:10,children:s});o.propTypes={children:e.node.isRequired}},82055:function(a,u,n){"use strict";n.d(u,{T:function(){return E}});var t=n(74512),i=n(32735),e=n(60216),r=n(8471);const o=d=>{const h=(0,i.useRef)(null),[f,y]=(0,i.useState)(!0),m=([P])=>{y(P.isIntersecting)};return(0,i.useEffect)(()=>{const P=h.current,O=new IntersectionObserver(m,d);return P&&O.observe(h.current),()=>{P&&O.disconnect()}},[h,d]),[h,f]};var s=n(63060);const c=(d,h)=>{const f=(0,s.W)(h);(0,i.useLayoutEffect)(()=>{const y=new ResizeObserver(f);return Array.isArray(d)?d.forEach(m=>{m.current&&y.observe(m.current)}):d.current&&y.observe(d.current),()=>{y.disconnect()}},[d,f])};var l=n(72850),x=n(87933),p=n(49372);const v=()=>{const d=(0,i.useRef)(null),[h,f]=(0,i.useState)(null),[y,m]=o({root:null,rootMargin:"0px",threshold:0});return c(y,()=>{y.current&&f(y.current.getBoundingClientRect())}),(0,i.useEffect)(()=>{d.current&&f(d.current.getBoundingClientRect())},[d]),{containerRef:y,isVisible:m,baseHeaderLayoutRef:d,headerSize:h}},E=d=>{const{containerRef:h,isVisible:f,baseHeaderLayoutRef:y,headerSize:m}=v();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{style:{height:m?.height},ref:h,children:f&&(0,t.jsx)(g,{ref:y,...d})}),!f&&(0,t.jsx)(g,{...d,sticky:!0,width:m?.width})]})};E.displayName="HeaderLayout";const M=(0,r.ZP)(l.x)`
59
- width: ${d=>d.width}px;
60
- z-index: ${({theme:d})=>d.zIndices[1]};
61
- `,g=i.forwardRef(({navigationAction:d,primaryAction:h,secondaryAction:f,subtitle:y,title:m,sticky:P,width:O,...j},A)=>{const _=typeof y=="string";return P?(0,t.jsx)(M,{paddingLeft:6,paddingRight:6,paddingTop:3,paddingBottom:3,position:"fixed",top:0,right:0,background:"neutral0",shadow:"tableShadow",width:O,"data-strapi-header-sticky":!0,children:(0,t.jsxs)(x.k,{justifyContent:"space-between",children:[(0,t.jsxs)(x.k,{children:[d&&(0,t.jsx)(l.x,{paddingRight:3,children:d}),(0,t.jsxs)(l.x,{children:[(0,t.jsx)(p.Z,{variant:"beta",as:"h1",...j,children:m}),_?(0,t.jsx)(p.Z,{variant:"pi",textColor:"neutral600",children:y}):y]}),f?(0,t.jsx)(l.x,{paddingLeft:4,children:f}):null]}),(0,t.jsx)(x.k,{children:h?(0,t.jsx)(l.x,{paddingLeft:2,children:h}):void 0})]})}):(0,t.jsxs)(l.x,{ref:A,paddingLeft:10,paddingRight:10,paddingBottom:8,paddingTop:d?6:8,background:"neutral100","data-strapi-header":!0,children:[d?(0,t.jsx)(l.x,{paddingBottom:2,children:d}):null,(0,t.jsxs)(x.k,{justifyContent:"space-between",children:[(0,t.jsxs)(x.k,{minWidth:0,children:[(0,t.jsx)(p.Z,{as:"h1",variant:"alpha",...j,children:m}),f?(0,t.jsx)(l.x,{paddingLeft:4,children:f}):null]}),h]}),_?(0,t.jsx)(p.Z,{variant:"epsilon",textColor:"neutral600",as:"p",children:y}):y]})});g.displayName="BaseHeaderLayout",g.defaultProps={navigationAction:void 0,primaryAction:void 0,secondaryAction:void 0,subtitle:void 0,sticky:!1,width:void 0},g.propTypes={navigationAction:e.node,primaryAction:e.node,secondaryAction:e.node,sticky:e.bool,subtitle:e.oneOfType([e.string,e.node]),title:e.string.isRequired,width:e.number},E.defaultProps={navigationAction:void 0,primaryAction:void 0,secondaryAction:void 0,subtitle:void 0},E.propTypes={navigationAction:e.node,primaryAction:e.node,secondaryAction:e.node,subtitle:e.oneOfType([e.string,e.node]),title:e.string.isRequired}},96709:function(a,u,n){"use strict";n.d(u,{A:function(){return l}});var t=n(74512),i=n(32735),e=n(60216),r=n(8471),o=n(72850);const s=(0,r.ZP)(o.x)`
62
- display: grid;
63
- grid-template-columns: ${({hasSideNav:x})=>x?"auto 1fr":"1fr"};
64
- `,c=(0,r.ZP)(o.x)`
65
- overflow-x: hidden;
66
- `,l=({sideNav:x,children:p})=>(0,t.jsxs)(s,{hasSideNav:!!x,children:[x,(0,t.jsx)(c,{paddingBottom:10,children:p})]});l.defaultProps={sideNav:void 0},l.propTypes={children:e.node.isRequired,sideNav:e.node}},27649:function(a,u,n){"use strict";n.d(u,{o:function(){return s}});var t=n(74512),i=n(32735),e=n(60216),r=n(8471);const o=r.ZP.main`
67
- // To prevent global outline on focus visible to force an outline when Main is focused
68
- &:focus-visible {
69
- outline: none;
70
- }
71
- `,s=({labelledBy:c,...l})=>(0,t.jsx)(o,{"aria-labelledby":c||"main-content-title",id:"main-content",tabIndex:-1,...l});s.defaultProps={labelledBy:void 0},s.propTypes={labelledBy:e.string}},29439:function(a,u,n){"use strict";n.d(u,{Z:function(){return e}});var t=n(74512);const i=r=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...r,children:(0,t.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"})}),e=i},45112:function(a,u,n){"use strict";n.d(u,{Z:function(){return e}});var t=n(74512);const i=r=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...r,children:(0,t.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M2.68 9.192c-.6.276-2.114 1.18-2.306 1.303a.792.792 0 0 0-.374.68v1.65a.797.797 0 0 0 .384.687c.254.16 1.73 1.042 2.306 1.303l.744 1.8c-.24.634-.67 2.333-.72 2.554a.797.797 0 0 0 .216.744l1.167 1.166a.801.801 0 0 0 .744.216l.03-.008c.36-.092 1.946-.498 2.523-.712l1.8.744c.276.6 1.181 2.115 1.304 2.307a.805.805 0 0 0 .679.374h1.649a.797.797 0 0 0 .686-.384c.16-.254 1.042-1.73 1.303-2.306l1.8-.744c.634.24 2.333.67 2.554.72a.797.797 0 0 0 .744-.216l1.166-1.167a.803.803 0 0 0 .216-.744l-.008-.03c-.092-.36-.498-1.946-.712-2.523l.744-1.8c.6-.276 2.115-1.181 2.307-1.304a.804.804 0 0 0 .374-.679v-1.649a.796.796 0 0 0-.382-.679c-.254-.16-1.73-1.041-2.306-1.303l-.744-1.8c.24-.634.67-2.333.72-2.554a.796.796 0 0 0-.216-.744l-1.166-1.173a.802.802 0 0 0-.744-.216l-.03.008c-.361.092-1.947.498-2.524.712l-1.8-.744c-.276-.6-1.18-2.115-1.303-2.307a.803.803 0 0 0-.68-.374h-1.65a.797.797 0 0 0-.68.382c-.16.254-1.041 1.73-1.303 2.306l-1.8.744c-.634-.24-2.333-.67-2.554-.72a.797.797 0 0 0-.744.216L2.921 4.094a.802.802 0 0 0-.216.744l.008.03c.092.361.498 1.947.712 2.524l-.744 1.8ZM12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z",clipRule:"evenodd"})}),e=i}}]);
@@ -1,155 +0,0 @@
1
- (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[617],{56671:function(h,i,e){var n=e(35897),s=e(74741),r=s(n);h.exports=r},91131:function(h,i,e){var n=e(94318),s=e(3387),r="[object RegExp]";function t(a){return s(a)&&n(a)==r}h.exports=t},52920:function(h,i,e){var n=e(56671),s=e(81580);function r(t,a){var o=-1,d=s(t)?Array(t.length):[];return n(t,function(_,c,g){d[++o]=a(_,c,g)}),d}h.exports=r},50690:function(h,i,e){var n=e(26460),s=e(80166),r=e(88904),t=e(52920),a=e(36024),o=e(76535),d=e(1397),_=e(15362),c=e(77236);function g(u,x,M){x.length?x=n(x,function(E){return c(E)?function(v){return s(v,E.length===1?E[0]:E)}:E}):x=[_];var f=-1;x=n(x,o(r));var p=t(u,function(E,v,m){var C=n(x,function(P){return P(E)});return{criteria:C,index:++f,value:E}});return a(p,function(E,v){return d(E,v,M)})}h.exports=g},36024:function(h){function i(e,n){var s=e.length;for(e.sort(n);s--;)e[s]=e[s].value;return e}h.exports=i},40709:function(h,i,e){var n=e(22945);function s(r,t){if(r!==t){var a=r!==void 0,o=r===null,d=r===r,_=n(r),c=t!==void 0,g=t===null,u=t===t,x=n(t);if(!g&&!x&&!_&&r>t||_&&c&&u&&!g&&!x||o&&c&&u||!a&&u||!d)return 1;if(!o&&!_&&!x&&r<t||x&&a&&d&&!o&&!_||g&&a&&d||!c&&d||!u)return-1}return 0}h.exports=s},1397:function(h,i,e){var n=e(40709);function s(r,t,a){for(var o=-1,d=r.criteria,_=t.criteria,c=d.length,g=a.length;++o<c;){var u=n(d[o],_[o]);if(u){if(o>=g)return u;var x=a[o];return u*(x=="desc"?-1:1)}}return r.index-t.index}h.exports=s},74741:function(h,i,e){var n=e(81580);function s(r,t){return function(a,o){if(a==null)return a;if(!n(a))return r(a,o);for(var d=a.length,_=t?d:-1,c=Object(a);(t?_--:++_<d)&&o(c[_],_,c)!==!1;);return a}}h.exports=s},52654:function(h,i,e){var n=e(91131),s=e(76535),r=e(91782),t=r&&r.isRegExp,a=t?s(t):n;h.exports=a},98978:function(h,i,e){var n=e(40314),s=e(50690),r=e(94569),t=e(63108),a=r(function(o,d){if(o==null)return[];var _=d.length;return _>1&&t(o,d[0],d[1])?d=[]:_>2&&t(d[0],d[1],d[2])&&(d=[d[0]]),s(o,n(d,1),[])});h.exports=a},51382:function(h,i,e){var n=e(90454),s=e(24793),r=e(34327),t=e(85973),a=e(52654),o=e(38788),d=e(51119),_=e(25225),c=e(41119),g=30,u="...",x=/\w*$/;function M(f,p){var E=g,v=u;if(t(p)){var m="separator"in p?p.separator:m;E="length"in p?_(p.length):E,v="omission"in p?n(p.omission):v}f=c(f);var C=f.length;if(r(f)){var P=d(f);C=P.length}if(E>=C)return f;var j=E-o(v);if(j<1)return v;var O=P?s(P,0,j).join(""):f.slice(0,j);if(m===void 0)return O+v;if(P&&(j+=O.length-j),a(m)){if(f.slice(j).search(m)){var B,R=O;for(m.global||(m=RegExp(m.source,c(x.exec(m))+"g")),m.lastIndex=0;B=m.exec(R);)var W=B.index;O=O.slice(0,W===void 0?j:W)}}else if(f.indexOf(n(m),j)!=j){var $=O.lastIndexOf(m);$>-1&&(O=O.slice(0,$))}return O+v}h.exports=M},11299:function(h,i,e){"use strict";e.d(i,{$:function(){return c},O:function(){return g}});var n=e(74512),s=e(77277),r=e(8471),t=e(3685),a=e(87933),o=e(72850),d=e(49372);const _=(0,r.ZP)(a.k)`
2
- svg {
3
- height: ${10/16}rem;
4
- width: ${10/16}rem;
5
- path {
6
- fill: ${({theme:u})=>u.colors.neutral500};
7
- }
8
- }
9
- :last-of-type ${o.x} {
10
- display: none;
11
- }
12
- :last-of-type ${d.Z} {
13
- color: ${({theme:u})=>u.colors.neutral800};
14
- font-weight: ${({theme:u})=>u.fontWeights.bold};
15
- }
16
- `,c=({children:u})=>(0,n.jsxs)(_,{inline:!0,as:"li",children:[(0,n.jsx)(d.Z,{variant:"pi",textColor:"neutral600",children:u}),(0,n.jsx)(o.x,{"aria-hidden":!0,paddingLeft:3,paddingRight:3,children:(0,n.jsx)(s.Z,{})})]});c.displayName="Crumb";const g=({children:u,label:x,...M})=>(0,n.jsxs)(a.k,{...M,children:[(0,n.jsx)(t.T,{children:x}),(0,n.jsx)("ol",{"aria-hidden":!0,children:u})]});g.displayName="Breadcrumbs"},21428:function(h,i,e){"use strict";e.d(i,{Wx:function(){return n0},XU:function(){return P},hQ:function(){return C}});var n=e(74512),s=e(32735),r=e(35331),t=e(16899),a=e(79405),o=e(8471),d=e(95976),_=e(74971),c=e(36971),g=e(30350),u=e(23866),x=e(72850),M=e(49372),f=e(87107),p=e(87933),E=e(28847),v=e(67014),m=e(47851);const C=({children:l,clearLabel:Z="clear",creatable:L=!1,createMessage:b=H=>`Create "${H}"`,defaultTextValue:w,disabled:A=!1,error:K,hasMoreItems:t0=!1,hint:s0,id:r0,label:l0,labelAction:a0,loading:y=!1,loadingMessage:i0="Loading content...",noOptionsMessage:d0=()=>"No results found",onChange:S,onClear:F,onCreateOption:V,onInputChange:z,onLoadMore:N,placeholder:o0="Select or enter a value",required:G=!1,startIcon:Q,textValue:h0,value:_0})=>{const[H,c0]=s.useState(!1),[T,k]=(0,d.T)({prop:h0,defaultProp:w}),[u0,X]=s.useState(""),J=s.useRef(null),Y=s.useRef(null),x0=s.useRef(null),U=(0,_.M)(r0),f0=D=>{F&&!A&&(k(""),X(""),F(D),Y.current.focus())},E0=D=>{c0(D)},v0=D=>{k(D)},g0=D=>{X(D)},m0=D=>{z&&z(D)},M0=D=>{S&&S(D)},q=`intersection-${CSS.escape(U)}`,p0=D=>{N&&t0&&!y&&N(D)},e0=()=>{V&&T&&V(T)};(0,c.s)(J,p0,{selectorToWatch:`#${q}`,skipWhen:!H});const j0=`${U}-hint`,P0=`${U}-error`;return(0,n.jsx)(f.g,{hint:s0,error:K,id:U,required:G,children:(0,n.jsxs)(p.k,{direction:"column",alignItems:"stretch",gap:1,children:[(0,n.jsx)(E.Q,{action:a0,children:l0}),(0,n.jsxs)(a.h.Root,{autocomplete:L?"list":"both",onOpenChange:E0,onTextValueChange:v0,textValue:T,allowCustomValue:!0,disabled:A,required:G,value:_0,onValueChange:M0,filterValue:u0,onFilterValueChange:g0,children:[(0,n.jsxs)(O,{$hasError:!!K,children:[(0,n.jsxs)(p.k,{flex:"1",as:"span",gap:3,children:[Q?(0,n.jsx)(x.x,{as:"span","aria-hidden":!0,children:Q}):null,(0,n.jsx)(B,{placeholder:o0,id:U,"aria-invalid":!!K,"aria-labelledby":`${j0} ${P0}`,onChange:m0,ref:Y})]}),(0,n.jsxs)(p.k,{as:"span",gap:3,children:[T&&F?(0,n.jsx)(j,{as:"button",hasRadius:!0,background:"transparent",type:"button",onClick:f0,"aria-disabled":A,"aria-label":Z,title:Z,ref:x0,children:(0,n.jsx)(r.Z,{})}):null,(0,n.jsx)(R,{children:(0,n.jsx)(t.Z,{})})]})]}),(0,n.jsx)(a.h.Portal,{children:(0,n.jsx)(W,{sideOffset:4,children:(0,n.jsxs)($,{ref:J,children:[l,L?(0,n.jsx)(a.h.CreateItem,{onPointerUp:e0,onClick:e0,asChild:!0,children:(0,n.jsx)(I,{children:(0,n.jsx)(M.Z,{children:b(T??"")})})}):null,!L&&!y?(0,n.jsx)(a.h.NoValueFound,{asChild:!0,children:(0,n.jsx)(I,{$hasHover:!1,children:(0,n.jsx)(M.Z,{children:d0(T??"")})})}):null,y?(0,n.jsx)(p.k,{justifyContent:"center",alignItems:"center",paddingTop:2,paddingBottom:2,children:(0,n.jsx)(u.a,{small:!0,children:i0})}):null,(0,n.jsx)(x.x,{id:q,width:"100%",height:"1px"})]})})})]}),(0,n.jsx)(v.J,{}),(0,n.jsx)(m.c,{})]})})},P=l=>(0,n.jsx)(C,{...l,creatable:!0}),j=(0,o.ZP)(x.x)`
17
- border: none;
18
-
19
- svg {
20
- height: ${11/16}rem;
21
- width: ${11/16}rem;
22
- }
23
-
24
- svg path {
25
- fill: ${({theme:l})=>l.colors.neutral600};
26
- }
27
- `,O=(0,o.ZP)(a.h.Trigger)`
28
- position: relative;
29
- border: 1px solid ${({theme:l,$hasError:Z})=>Z?l.colors.danger600:l.colors.neutral200};
30
- padding-right: ${({theme:l})=>l.spaces[3]};
31
- padding-left: ${({theme:l})=>l.spaces[3]};
32
- border-radius: ${({theme:l})=>l.borderRadius};
33
- background: ${({theme:l})=>l.colors.neutral0};
34
- overflow: hidden;
35
- display: flex;
36
- align-items: center;
37
- justify-content: space-between;
38
- gap: ${({theme:l})=>l.spaces[4]};
39
-
40
- &[data-disabled] {
41
- color: ${({theme:l})=>l.colors.neutral600};
42
- background: ${({theme:l})=>l.colors.neutral150};
43
- cursor: not-allowed;
44
- }
45
-
46
- /* Required to ensure the below inputFocusStyles are adhered too */
47
- &:focus-visible {
48
- outline: none;
49
- }
50
-
51
- ${({theme:l,$hasError:Z})=>(0,g.k3)()({theme:l,hasError:Z})};
52
- `,B=(0,o.ZP)(a.h.TextInput)`
53
- width: 100%;
54
- font-size: ${14/16}rem;
55
- color: ${({theme:l})=>l.colors.neutral800};
56
- min-height: ${40/16}rem;
57
- border: none;
58
- background-color: transparent;
59
-
60
- &:focus-visible {
61
- outline: none;
62
- }
63
-
64
- &[aria-disabled='true'] {
65
- cursor: inherit;
66
- }
67
- `,R=(0,o.ZP)(a.h.Icon)`
68
- & > svg {
69
- width: ${6/16}rem;
70
-
71
- & > path {
72
- fill: ${({theme:l})=>l.colors.neutral600};
73
- }
74
- }
75
-
76
- &[aria-disabled='true'] {
77
- cursor: inherit;
78
- }
79
- `,W=(0,o.ZP)(a.h.Content)`
80
- background: ${({theme:l})=>l.colors.neutral0};
81
- box-shadow: ${({theme:l})=>l.shadows.filterShadow};
82
- border: 1px solid ${({theme:l})=>l.colors.neutral150};
83
- border-radius: ${({theme:l})=>l.borderRadius};
84
- width: var(--radix-combobox-trigger-width);
85
- /* This is from the design-system figma file. */
86
- max-height: 15rem;
87
- z-index: ${({theme:l})=>l.zIndices[1]};
88
- `,$=(0,o.ZP)(a.h.Viewport)`
89
- padding: ${({theme:l})=>l.spaces[1]};
90
- `,n0=s.forwardRef(({children:l,value:Z,disabled:L,textValue:b,...w},A)=>(0,n.jsx)(a.h.ComboboxItem,{asChild:!0,value:Z,disabled:L,textValue:b,children:(0,n.jsx)(I,{ref:A,...w,children:(0,n.jsx)(a.h.ItemText,{asChild:!0,children:(0,n.jsx)(M.Z,{children:l})})})})),I=o.ZP.div`
91
- width: 100%;
92
- border: none;
93
- text-align: left;
94
- outline-offset: -3px;
95
- padding: ${({theme:l})=>l.spaces[2]} ${({theme:l})=>l.spaces[4]};
96
- background-color: ${({theme:l})=>l.colors.neutral0};
97
- border-radius: ${({theme:l})=>l.borderRadius};
98
- user-select: none;
99
-
100
- &[data-selected] {
101
- background-color: ${({theme:l})=>l.colors.primary100};
102
-
103
- ${M.Z} {
104
- color: ${({theme:l})=>l.colors.primary600};
105
- font-weight: bold;
106
- }
107
- }
108
-
109
- &:hover,
110
- &[data-highlighted] {
111
- outline: none;
112
- background-color: ${({theme:l,$hasHover:Z=!0})=>Z?l.colors.primary100:l.colors.neutral0};
113
- }
114
-
115
- &[data-highlighted] {
116
- ${M.Z} {
117
- color: ${({theme:l})=>l.colors.primary600};
118
- font-weight: bold;
119
- }
120
- }
121
- `},90333:function(h,i,e){"use strict";e.d(i,{O:function(){return s}});var n=e(21428);const s=n.Wx},25148:function(h,i,e){"use strict";e.d(i,{Q:function(){return g}});var n=e(74512),s=e(32735),r=e(14911),t=e(8471),a=e(73342),o=e(69783),d=e(87933),_=e(49372);const c=(0,t.ZP)(o.G)`
122
- &[aria-disabled='true'] {
123
- ${a.sg}
124
- &:active {
125
- ${a.sg}
126
- }
127
- }
128
- &:hover {
129
- ${a.yP}
130
- }
131
- &:active {
132
- ${a.tB}
133
- }
134
- ${a.PD}
135
- `,g=s.forwardRef(({variant:u="default",startIcon:x,endIcon:M,disabled:f=!1,children:p,size:E="S",href:v,to:m,...C},P)=>{const j=v?"_blank":void 0,O=v?"noreferrer noopener":void 0,B=E==="S"?2:"10px",R=4;return(0,n.jsxs)(c,{ref:P,"aria-disabled":f,size:E,variant:u,target:j,rel:O,to:f?void 0:m,href:f?"#":v,background:"buttonPrimary600",borderColor:"buttonPrimary600",hasRadius:!0,gap:2,inline:!0,paddingBottom:B,paddingLeft:R,paddingRight:R,paddingTop:B,pointerEvents:f?"none":void 0,...C,as:m&&!f?r.OL:"a",children:[x&&(0,n.jsx)(d.k,{"aria-hidden":!0,children:x}),(0,n.jsx)(_.Z,{variant:E==="S"?"pi":void 0,fontWeight:"bold",textColor:"buttonNeutral0",children:p}),M&&(0,n.jsx)(d.k,{"aria-hidden":!0,children:M})]})})},27799:function(h,i,e){"use strict";e.d(i,{Q:function(){return t}});var n=e(74512),s=e(8471),r=e(6407);const t=({options:o,...d})=>(0,n.jsx)(r.NU,{...d,children:o.map(_=>"children"in _?(0,n.jsx)(r.Ab,{label:_.label,values:_.children.map(c=>c.value.toString()),children:_.children.map(c=>(0,n.jsx)(a,{value:c.value,children:c.label},c.value))},_.label):(0,n.jsx)(r.ML,{value:_.value,children:_.label},_.value))}),a=(0,s.ZP)(r.ML)`
136
- padding-left: ${({theme:o})=>o.spaces[7]};
137
- `},28832:function(h,i,e){"use strict";e.d(i,{z:function(){return M}});var n=e(74512),s=e(32735),r=e(16899),t=e(60216),a=e(8471),o=e(74971),d=e(72850),_=e(87933),c=e(49372);const g=(0,a.ZP)(d.x)`
138
- svg {
139
- height: ${4/16}rem;
140
- path {
141
- fill: ${({theme:f})=>f.colors.neutral700};
142
- }
143
- }
144
- `,u=a.ZP.button`
145
- border: none;
146
- padding: 0;
147
- background: transparent;
148
- display: flex;
149
- align-items: center;
150
- `,x=a.ZP.div`
151
- display: flex;
152
- align-items: center;
153
- width: ${12/16}rem;
154
- transform: rotateX(${({rotated:f})=>f?"0deg":"180deg"});
155
- `,M=({label:f,children:p,id:E})=>{const[v,m]=(0,s.useState)(!0),C=(0,o.M)(E);return(0,n.jsxs)(d.x,{children:[(0,n.jsx)(g,{paddingLeft:7,paddingTop:2,paddingBottom:2,paddingRight:4,children:(0,n.jsx)(_.k,{justifyContent:"space-between",children:(0,n.jsxs)(u,{onClick:()=>{m(P=>!P)},"aria-expanded":v,"aria-controls":C,children:[(0,n.jsx)(x,{rotated:v,children:(0,n.jsx)(r.Z,{"aria-hidden":!0})}),(0,n.jsx)(d.x,{paddingLeft:2,children:(0,n.jsx)(c.Z,{as:"span",fontWeight:"semiBold",textColor:"neutral800",children:f})})]})})}),v&&(0,n.jsx)("ul",{id:C,children:s.Children.map(p,(P,j)=>(0,n.jsx)("li",{children:P},j))})]})};M.defaultProps={id:void 0},M.propTypes={children:t.node.isRequired,id:t.string,label:t.string.isRequired}},35071:function(h,i,e){"use strict";e.d(i,{Z:function(){return r}});var n=e(74512);const s=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...t,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"})]}),r=s},26253:function(h,i,e){"use strict";e.d(i,{Z:function(){return r}});var n=e(74512);const s=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:[(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M20.4 14.4a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM3.6 14.4a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 22.8a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 6a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#212134",d:"M6.24 11.28H18v1.44H6.24v-1.44Z"}),(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 22.8a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM3.6 6a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#212134",d:"M18.328 13.863 6.49 19.765l-.652-1.307 11.838-5.902.652 1.307ZM18.358 10.078 6.398 4.115l-.646 1.294 11.961 5.963.645-1.294Z"}),(0,n.jsx)("path",{fill:"#212134",d:"M18.323 18.83 6.252 12.813l-.643 1.29 12.071 6.019.643-1.29ZM18.136 5.228 6.207 11.176l-.653-1.311 11.928-5.948.654 1.311Z"})]}),r=s},79634:function(h,i,e){"use strict";e.d(i,{Z:function(){return r}});var n=e(74512);const s=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 25",...t,children:[(0,n.jsx)("path",{fill:"#212134",d:"M17.76 11.28H6v1.44h11.76v-1.44Z"}),(0,n.jsx)("path",{fill:"#212134",d:"M18.129 10.699 9.782 4.523l-.86 1.162 8.347 6.177.86-1.163ZM18.101 13.354 9.755 19.53l-.864-1.167 8.347-6.176.863 1.167Z"}),(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M20.4 14.399a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM3.6 14.399a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM7.2 22.8a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM7.2 6a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2Z",clipRule:"evenodd"})]}),r=s},32548:function(h,i,e){"use strict";e.d(i,{Z:function(){return r}});var n=e(74512);const s=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:[(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 14.132a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#212134",d:"M6.24 11.011h13.44v1.44H6.24v-1.44Z"}),(0,n.jsx)("path",{fill:"#212134",d:"m5.872 10.43 8.347-6.176.86 1.163-8.347 6.176-.86-1.162ZM5.9 13.087l8.346 6.177.864-1.168-8.347-6.176-.864 1.167ZM18.72 8.613l5.28 3.12-5.28 3.12v-6.24Z"}),(0,n.jsx)("path",{fill:"#212134",d:"M12.72 2.633 18.82 2 16.43 7.649 12.72 2.633ZM12.72 21.307l6.1.633-2.389-5.649-3.711 5.016Z"})]}),r=s},7733:function(h,i,e){"use strict";e.d(i,{Z:function(){return r}});var n=e(74512);const s=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 25",...t,children:[(0,n.jsx)("path",{fill:"#212134",d:"M6.24 11.28H18v1.44H6.24v-1.44Z"}),(0,n.jsx)("path",{fill:"#212134",d:"m5.871 10.699 8.347-6.176.86 1.162-8.347 6.177-.86-1.163ZM5.899 13.354l8.346 6.176.864-1.167-8.347-6.176-.863 1.167Z"}),(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 14.399a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 14.399a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM16.8 22.8a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM16.8 6a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"})]}),r=s},10168:function(h,i,e){"use strict";e.d(i,{Z:function(){return r}});var n=e(74512);const s=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:[(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 14a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 14a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"}),(0,n.jsx)("path",{fill:"#212134",d:"M6.24 10.881H18v1.44H6.24v-1.44Z"})]}),r=s},25449:function(h,i,e){"use strict";e.d(i,{Z:function(){return r}});var n=e(74512);const s=t=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:(0,n.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M7.128 12.321a3.601 3.601 0 1 1 0-1.44H18.72v-2.4L24 11.6l-5.28 3.12v-2.4H7.128ZM6 11.6a2.4 2.4 0 1 1-4.8 0 2.4 2.4 0 0 1 4.8 0Z",clipRule:"evenodd"})}),r=s},89135:function(h,i,e){"use strict";e.d(i,{Z:function(){return r}});var n=e(74512);const s=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...t,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"})]}),r=s},61642:function(h,i,e){"use strict";e.d(i,{Z:function(){return r}});var n=e(74512);const s=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...t,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"})]}),r=s},58656:function(h,i,e){"use strict";e.d(i,{Z:function(){return r}});var n=e(74512);const s=t=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...t,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"})]}),r=s}}]);
@@ -1,50 +0,0 @@
1
- (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[6858],{95919:function(y,m,n){var r=n(80022);function f(c){return r(c)&&c!=+c}y.exports=f},80022:function(y,m,n){var r=n(94318),f=n(3387),c="[object Number]";function _(E){return typeof E=="number"||f(E)&&r(E)==c}y.exports=_},59578:function(y,m,n){var r=n(41119);function f(c){return r(c).toLowerCase()}y.exports=f},98178:function(y,m,n){"use strict";n.d(m,{P1:function(){return M}});var r="NOT_FOUND";function f(u){var a;return{get:function(t){return a&&u(a.key,t)?a.value:r},put:function(t,o){a={key:t,value:o}},getEntries:function(){return a?[a]:[]},clear:function(){a=void 0}}}function c(u,a){var e=[];function t(l){var p=e.findIndex(function(v){return a(l,v.key)});if(p>-1){var h=e[p];return p>0&&(e.splice(p,1),e.unshift(h)),h.value}return r}function o(l,p){t(l)===r&&(e.unshift({key:l,value:p}),e.length>u&&e.pop())}function i(){return e}function s(){e=[]}return{get:t,put:o,getEntries:i,clear:s}}var _=function(a,e){return a===e};function E(u){return function(e,t){if(e===null||t===null||e.length!==t.length)return!1;for(var o=e.length,i=0;i<o;i++)if(!u(e[i],t[i]))return!1;return!0}}function b(u,a){var e=typeof a=="object"?a:{equalityCheck:a},t=e.equalityCheck,o=t===void 0?_:t,i=e.maxSize,s=i===void 0?1:i,l=e.resultEqualityCheck,p=E(o),h=s===1?f(p):c(s,p);function v(){var d=h.get(arguments);if(d===r){if(d=u.apply(null,arguments),l){var g=h.getEntries(),x=g.find(function(O){return l(O.value,d)});x&&(d=x.value)}h.put(arguments,d)}return d}return v.clearCache=function(){return h.clear()},v}function P(u){var a=Array.isArray(u[0])?u[0]:u;if(!a.every(function(t){return typeof t=="function"})){var e=a.map(function(t){return typeof t=="function"?"function "+(t.name||"unnamed")+"()":typeof t}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+e+"]")}return a}function j(u){for(var a=arguments.length,e=new Array(a>1?a-1:0),t=1;t<a;t++)e[t-1]=arguments[t];var o=function(){for(var s=arguments.length,l=new Array(s),p=0;p<s;p++)l[p]=arguments[p];var h=0,v,d={memoizeOptions:void 0},g=l.pop();if(typeof g=="object"&&(d=g,g=l.pop()),typeof g!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof g+"]");var x=d,O=x.memoizeOptions,C=O===void 0?e:O,Z=Array.isArray(C)?C:[C],D=P(l),R=u.apply(void 0,[function(){return h++,g.apply(null,arguments)}].concat(Z)),A=u(function(){for(var B=[],S=D.length,T=0;T<S;T++)B.push(D[T].apply(null,arguments));return v=R.apply(null,B),v});return Object.assign(A,{resultFunc:g,memoizedResultFunc:R,dependencies:D,lastResult:function(){return v},recomputations:function(){return h},resetRecomputations:function(){return h=0}}),A};return o}var M=j(b),w=function(a,e){if(e===void 0&&(e=M),typeof a!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof a));var t=Object.keys(a),o=e(t.map(function(i){return a[i]}),function(){for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return s.reduce(function(p,h,v){return p[t[v]]=h,p},{})});return o}},83828:function(y,m,n){"use strict";n.d(m,{U:function(){return a},y:function(){return w}});var r=n(74512),f=n(32735),c=n(8471),_=n(91045),E=n(74971),b=n(49372),P=n(87933),j=n(72850);const M=({theme:e,expanded:t,variant:o,disabled:i,error:s})=>s?`1px solid ${e.colors.danger600} !important`:i?`1px solid ${e.colors.neutral150}`:t?`1px solid ${e.colors.primary600}`:o==="primary"?`1px solid ${e.colors.neutral0}`:`1px solid ${e.colors.neutral100}`,w=(0,c.ZP)(b.Z)``,u=(0,c.ZP)(j.x)`
2
- border: ${M};
3
-
4
- &:hover:not([aria-disabled='true']) {
5
- border: 1px solid ${({theme:e})=>e.colors.primary600};
6
-
7
- ${w} {
8
- color: ${({theme:e,expanded:t})=>t?void 0:e.colors.primary700};
9
- }
10
-
11
- ${b.Z} {
12
- color: ${({theme:e,expanded:t})=>t?void 0:e.colors.primary600};
13
- }
14
-
15
- & > ${P.k} {
16
- background: ${({theme:e})=>e.colors.primary100};
17
- }
18
-
19
- [data-strapi-dropdown='true'] {
20
- background: ${({theme:e})=>e.colors.primary200};
21
- }
22
- }
23
- `,a=({children:e,disabled:t=!1,error:o,expanded:i=!1,hasErrorMessage:s=!0,id:l,onToggle:p,toggle:h,size:v="M",variant:d="primary",shadow:g})=>{const x=(0,E.M)(l),O=f.useMemo(()=>({expanded:i,onToggle:p,toggle:h,id:x,size:v,variant:d,disabled:t}),[t,i,x,p,v,h,d]);return(0,r.jsxs)(_.S.Provider,{value:O,children:[(0,r.jsx)(u,{"data-strapi-expanded":i,disabled:t,"aria-disabled":t,expanded:i,hasRadius:!0,variant:d,error:o,shadow:g,children:e}),o&&s&&(0,r.jsx)(j.x,{paddingTop:1,children:(0,r.jsx)(b.Z,{variant:"pi",textColor:"danger600",children:o})})]})}},89966:function(y,m,n){"use strict";n.d(m,{v:function(){return _}});var r=n(74512),f=n(91045),c=n(72850);const _=({children:E,...b})=>{const{expanded:P,id:j}=(0,f.A)();if(!P)return null;const M=`accordion-content-${j}`,w=`accordion-label-${j}`,u=`accordion-desc-${j}`;return(0,r.jsx)(c.x,{role:"region",id:M,"aria-labelledby":w,"aria-describedby":u,...b,children:E})}},91045:function(y,m,n){"use strict";n.d(m,{A:function(){return c},S:function(){return f}});var r=n(32735);const f=(0,r.createContext)({disabled:!1,expanded:!1,id:"",size:"M",variant:"primary"}),c=()=>(0,r.useContext)(f)},61762:function(y,m,n){"use strict";n.d(m,{B:function(){return e}});var r=n(74512),f=n(16899),c=n(8471),_=n(83828),E=n(91045);const b=({expanded:t,disabled:o,variant:i})=>{let s="neutral100";return t?s="primary100":o?s="neutral150":i==="primary"&&(s="neutral0"),s};var P=n(7563),j=n(99140),M=n(87933),w=n(49372);const u=(0,c.ZP)(P.A)`
24
- text-align: left;
25
-
26
- // necessary to make the ellipsis prop work on the title
27
- > span {
28
- max-width: 100%;
29
- }
30
-
31
- svg {
32
- width: ${14/16}rem;
33
- height: ${14/16}rem;
34
-
35
- path {
36
- fill: ${({theme:t,expanded:o})=>o?t.colors.primary600:t.colors.neutral500};
37
- }
38
- }
39
- `,a=(0,c.ZP)(M.k)`
40
- min-height: ${({theme:t,size:o})=>t.sizes.accordions[o]};
41
- border-radius: ${({theme:t,expanded:o})=>o?`${t.borderRadius} ${t.borderRadius} 0 0`:t.borderRadius};
42
-
43
- &:hover {
44
- svg {
45
- path {
46
- fill: ${({theme:t})=>t.colors.primary600};
47
- }
48
- }
49
- }
50
- `,e=({title:t,description:o,as:i="span",togglePosition:s="right",action:l,...p})=>{const{onToggle:h,toggle:v,expanded:d,id:g,size:x,variant:O,disabled:C}=(0,E.A)(),Z=`accordion-content-${g}`,D=`accordion-label-${g}`,R=`accordion-desc-${g}`,A=x==="M"?6:4,$=x==="M"?A:A-2,B=b({expanded:d,disabled:C,variant:O}),S={as:i,fontWeight:x==="S"?"bold":void 0,id:D,textColor:d?"primary600":"neutral700",ellipsis:!0,variant:x==="M"?"delta":void 0},T=d?"primary600":"neutral600",W=d?"primary200":"neutral200",L=x==="M"?`${32/16}rem`:`${24/16}rem`,I=()=>{C||(v&&!h?(console.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'),v()):h&&h())},U=(0,r.jsx)(M.k,{justifyContent:"center",borderRadius:"50%",height:L,width:L,transform:d?"rotate(180deg)":void 0,"data-strapi-dropdown":!0,"aria-hidden":!0,as:"span",background:W,cursor:C?"not-allowed":"pointer",onClick:I,shrink:0,children:(0,r.jsx)(j.J,{as:f.Z,width:x==="M"?`${11/16}rem`:`${8/16}rem`,color:d?"primary600":"neutral600"})});return(0,r.jsx)(a,{paddingBottom:$,paddingLeft:A,paddingRight:A,paddingTop:$,background:B,expanded:d,size:x,justifyContent:"space-between",cursor:C?"not-allowed":"",children:(0,r.jsxs)(M.k,{gap:3,flex:1,maxWidth:"100%",children:[s==="left"&&U,(0,r.jsx)(u,{onClick:I,"aria-disabled":C,"aria-expanded":d,"aria-controls":Z,"aria-labelledby":D,"data-strapi-accordion-toggle":!0,expanded:d,type:"button",flex:1,minWidth:0,...p,children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(_.y,{...S,children:t}),o&&(0,r.jsx)(w.Z,{as:"p",id:R,textColor:T,children:o})]})}),s==="right"&&(0,r.jsxs)(M.k,{gap:3,children:[U,l]}),s==="left"&&l]})})}},47081:function(y,m,n){"use strict";n.d(m,{Z:function(){return c}});var r=n(74512);const f=_=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",..._,children:[(0,r.jsx)("path",{fill:"#212134",d:"M16.563 5.587a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M18.487 3.083c-.012.788-.487 1.513-1.229 1.797a1.954 1.954 0 0 1-2.184-.574A1.943 1.943 0 0 1 14.9 2.11c.4-.684 1.2-1.066 1.981-.927a1.954 1.954 0 0 1 1.606 1.9c.011.748 1.17.748 1.158 0A3.138 3.138 0 0 0 17.565.17c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.284 3.575.678 1.124 1.993 1.674 3.273 1.431 1.432-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.158-.006ZM16.563 14.372a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M18.487 11.867c-.012.789-.487 1.513-1.229 1.797a1.954 1.954 0 0 1-2.184-.574 1.943 1.943 0 0 1-.174-2.196c.4-.684 1.2-1.066 1.981-.927.928.156 1.588.968 1.606 1.9.011.748 1.17.748 1.158 0a3.138 3.138 0 0 0-2.08-2.914c-1.176-.423-2.567-.029-3.36.933-.83 1.002-.968 2.45-.284 3.575.678 1.124 1.993 1.675 3.273 1.431 1.432-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.158-.005ZM16.563 23.392a2.503 2.503 0 1 0 0-5.006 2.503 2.503 0 0 0 0 5.006Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M18.487 20.89c-.012.787-.487 1.512-1.229 1.796a1.954 1.954 0 0 1-2.184-.574 1.943 1.943 0 0 1-.174-2.196c.4-.684 1.2-1.066 1.981-.927.928.156 1.588.967 1.606 1.9.011.748 1.17.748 1.158 0a3.138 3.138 0 0 0-2.08-2.914c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.284 3.575.678 1.124 1.993 1.674 3.273 1.431 1.432-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.158-.006ZM7.378 5.622a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M9.302 3.119c-.011.788-.486 1.512-1.228 1.796a1.954 1.954 0 0 1-2.185-.574 1.943 1.943 0 0 1-.173-2.196c.4-.684 1.199-1.066 1.981-.927a1.943 1.943 0 0 1 1.605 1.9c.012.748 1.17.748 1.16 0A3.138 3.138 0 0 0 8.38.205c-1.176-.423-2.567-.029-3.36.933-.83 1.002-.968 2.45-.285 3.575.678 1.124 1.994 1.675 3.274 1.431 1.431-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.159-.005ZM7.378 14.406a2.503 2.503 0 1 0 0-5.006 2.503 2.503 0 0 0 0 5.006Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M9.302 11.902c-.011.788-.486 1.513-1.228 1.797a1.954 1.954 0 0 1-2.185-.574 1.943 1.943 0 0 1-.173-2.196c.4-.684 1.199-1.066 1.981-.927a1.943 1.943 0 0 1 1.605 1.9c.012.748 1.17.748 1.16 0A3.138 3.138 0 0 0 8.38 8.988c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.285 3.575.678 1.124 1.994 1.674 3.274 1.431 1.431-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.159-.006ZM7.378 23.427a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,r.jsx)("path",{fill:"#212134",d:"M9.302 20.924c-.011.788-.486 1.513-1.228 1.797a1.954 1.954 0 0 1-2.185-.574 1.943 1.943 0 0 1-.173-2.196c.4-.684 1.199-1.066 1.981-.927.933.156 1.594.967 1.605 1.9.012.748 1.17.748 1.16 0A3.139 3.139 0 0 0 8.38 18.01c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.285 3.569.678 1.124 1.994 1.675 3.274 1.431 1.431-.272 2.428-1.593 2.451-3.019.012-.747-1.147-.747-1.159 0Z"})]}),c=f},86308:function(y,m,n){"use strict";n.d(m,{Z:function(){return c}});var r=n(74512);const f=_=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",..._,children:[(0,r.jsx)("circle",{cx:12,cy:12,r:12,fill:"#212134"}),(0,r.jsx)("path",{fill:"#F6F6F9",d:"M17 12.569c0 .124-.1.224-.225.224h-3.981v3.982c0 .124-.101.225-.226.225h-1.136a.225.225 0 0 1-.226-.225v-3.981H7.226A.225.225 0 0 1 7 12.567v-1.136c0-.125.1-.226.225-.226h3.982V7.226c0-.124.1-.225.224-.225h1.138c.124 0 .224.1.224.225v3.982h3.982c.124 0 .225.1.225.224v1.138Z"})]}),c=f}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[6970],{55433:function(U,g,e){e.d(g,{r:function(){return E}});var o=e(32735),l=e(60216),y=e.n(l),D=e(74506),T=e(72850);function v(c,p,a){if(!c||!p)return{display:"none"};const{x:d,y:M}=a;return{transform:`translate(${d}px, ${M}px)`}}function E({renderItem:c}){const{itemType:p,isDragging:a,item:d,initialOffset:M,currentOffset:k,mouseOffset:N}=(0,D.useDragLayer)(R=>({item:R.getItem(),itemType:R.getItemType(),initialOffset:R.getInitialSourceClientOffset(),currentOffset:R.getSourceClientOffset(),isDragging:R.isDragging(),mouseOffset:R.getClientOffset()}));return a?o.createElement(T.x,{height:"100%",left:0,position:"fixed",pointerEvents:"none",top:0,zIndex:100,width:"100%"},o.createElement(T.x,{style:v(M,k,N)},c({type:p,item:d}))):null}E.propTypes={renderItem:y().func.isRequired}},73386:function(U,g,e){var o=e(32735);const l=(0,o.createContext)();var y=null},56327:function(U,g,e){e.d(g,{PL:function(){return T},Y9:function(){return Te.Y},zE:function(){return X},Ky:function(){return r},fi:function(){return h},zH:function(){return ge},r5:function(){return Z}});var o=e(32735),l=e(15062),y=e(70031),T=()=>{const t=(0,l.v9)(y.Z),s=(0,o.useCallback)(n=>t?.components?.[n]??{},[t]);return{...t,getComponentLayout:s}},v=e(84306),E=e(24989),c=e(99381),p=e.n(c),a=e(33795),d=e.n(a),M=e(3040),k=e.n(M),N=e(95952);const R=(t,s)=>s.find(n=>n.uid===t),_=(t,s)=>{const n=Y(t,s),i=z(n.contentType,s),O=q(n.contentType,n.components);return k()(n,["contentType","layouts","edit"],i),k()(n,["contentType","layouts","list"],O),Object.keys(n.components).forEach(f=>{const L=z(n.components[f],s);k()(n,["components",f,"layouts","edit"],L)}),n},Y=(t,s)=>{const n=(0,N.w8)(p()(t),s,"contentType"),{components:i,contentType:O}=n,f=L=>Object.keys(L.metadatas).reduce((S,I)=>{const w=d()(L,["attributes",I],{});let b=L.metadatas[I];if(w.type==="relation"){const fe=R(w.targetModel,s),j=b.edit.mainField,V={name:j,schema:d()(fe,["attributes",j])};b={list:{...b.list,mainField:V},edit:{...b.edit,mainField:V}}}return S[I]=b,S},{});return k()(n,["contentType","metadatas"],f(O)),Object.keys(i).forEach(L=>{const S=i[L],I=f(S);k()(n,["components",L,"metadatas"],I)}),n},z=(t,s)=>t.layouts.edit.reduce((n,i)=>{const O=i.map(f=>{const L=d()(t,["attributes",f.name],{}),S={...f,fieldSchema:L,metadatas:d()(t,["metadatas",f.name,"edit"],{})};if(L.type==="relation"){const w=R(L.targetModel,s).pluginOptions||{};k()(S,"targetModelPluginOptions",w),k()(S,"queryInfos",{shouldDisplayRelationLink:re(t,f.name,s)})}return S});return n.push(O),n},[]),q=(t,s)=>t.layouts.list.reduce((i,O)=>{const f=d()(t,["attributes",O],{}),L=d()(t,["metadatas",O,"list"],{}),S=f.type;if(S==="relation")return i.push({key:`__${O}_key__`,name:O,fieldSchema:f,metadatas:L}),i;if(S==="component"){const I=s[f.component],w=I.settings.mainField,b=I.attributes[w];return i.push({key:`__${O}_key__`,name:O,fieldSchema:f,metadatas:{...L,mainField:{...b,name:w}}}),i}return i.push({key:`__${O}_key__`,name:O,fieldSchema:f,metadatas:L}),i},[]),re=(t,s,n)=>{const i=d()(t,["attributes",s,"targetModel"],"");return ee(n).includes(i)},ee=t=>t.filter(s=>s.isDisplayed).map(({uid:s})=>s);var H=_,te=e(97889);const K={error:null,isLoading:!0,layout:{},layouts:{}};var Q=(t,s)=>(0,te.ZP)(t,n=>{switch(s.type){case"GET_DATA":{n.isLoading=!0,n.error=null,n.layout={};break}case"GET_DATA_SUCCEEDED":{const i=s.data.contentType.uid;n.layout=s.data,n.layouts[i]=s.data,n.isLoading=!1;break}case"GET_DATA_ERROR":{n.isLoading=!1,n.error=s.error;break}case"SET_LAYOUT_FROM_STATE":{n.error=null,n.layout=t.layouts[s.uid];break}case"UPDATE_LAYOUT":{const i=t.layout;n.layout={...i,contentType:{uid:i.contentType.uid,...s.newLayout.contentType}},n.layouts[i.contentType.uid]={...i,contentType:{uid:i.contentType.uid,...s.newLayout.contentType}};break}default:return n}}),B=e(42882),X=t=>{const[{error:s,isLoading:n,layout:i,layouts:O},f]=(0,o.useReducer)(Q,K),L=(0,o.useMemo)(B.Vo,[]),{schemas:S}=(0,l.v9)(j=>L(j),l.wU),I=(0,o.useRef)(!0),{get:w}=(0,E.kY)(),b=(0,o.useCallback)(async(j,V)=>{if(O[j]){f({type:"SET_LAYOUT_FROM_STATE",uid:j});return}f({type:"GET_DATA"});try{const oe=(0,N.IF)(`content-types/${j}/configuration`),{data:{data:ve}}=await w(oe,{cancelToken:V.token});f({type:"GET_DATA_SUCCEEDED",data:H(ve,S)})}catch(oe){if(v.default.isCancel(oe))return;I.current&&console.error(oe),I.current&&f({type:"GET_DATA_ERROR",error:oe})}},[O,S,w]);(0,o.useEffect)(()=>()=>{I.current=!1},[]),(0,o.useEffect)(()=>{const V=v.default.CancelToken.source();return b(t,V),()=>{V.cancel("Operation canceled by the user.")}},[t,b]);const fe=(0,o.useCallback)(j=>{f({type:"UPDATE_LAYOUT",newLayout:H(j,S)})},[S]);return{error:s,isLoading:n,layout:i,updateLayout:fe}},J=t=>t["content-manager_app"].collectionTypeLinks,$=e(33348),ie=e(85973),me=e.n(ie);const ue=(t,s)=>Object.keys(t).reduce((n,i)=>{const O=t[i],f=d()(s,[i],O);return me()(O)?{...n,[i]:ue(O,f)}:(n[i]=f,n)},{});var ye=(t,s,n)=>{const i=t.find(({to:b})=>b.includes(s));if(!i)return"/";const{to:O,search:f}=i,L=(0,$.parse)(f),S=(0,$.parse)(n.substring(1)),I=ue(L,S);return`${O}?${(0,$.stringify)(I,{encode:!1})}`},r=t=>{const[{rawQuery:s}]=(0,E.Kx)(),n=(0,l.v9)(J);return ye(n,t,s)},u=e(53038),h=()=>{const{search:t}=(0,u.TH)(),s=t?(0,$.parse)(t.substring(1)):{};return s.plugins?(0,$.stringify)({plugins:s.plugins},{encode:!1}):""},F=e(89334);const x=(t,s,n)=>({type:F.m,permissions:t,__meta__:{plugins:s,containerName:n}}),C=()=>({type:F.Q}),A=t=>t["content-manager_rbacManager"].permissions,P=t=>t.rbacProvider.collectionTypesRelatedPermissions;var Z=(t,s,n="listView")=>{const i=(0,l.v9)(P),O=(0,l.v9)(A),f=(0,l.I0)(),L=i[s];return(0,o.useEffect)(()=>L?(f(x(L,t?t.plugins:null,n)),()=>{f(C())}):()=>{},[L,f,t,n]),O},ce=e(73386);const G=()=>useContext(WysiwygContext);var se=null;const ge=t=>{const s=(0,o.useRef)();return(0,o.useEffect)(()=>{s.current=t},[t]),s.current};var Te=e(90553),Ee=e(18777)},90553:function(U,g,e){e.d(g,{Y:function(){return T}});var o=e(32735),l=e(74506),y=e.n(l),D=e(18777);const T=(v,{type:E="STRAPI_DND",index:c,item:p={},onStart:a,onEnd:d,onGrabItem:M,onDropItem:k,onCancel:N,onMoveItem:R,dropSensitivity:_="regular"})=>{const Y=(0,o.useRef)(null),[{handlerId:z},q]=(0,l.useDrop)({accept:E,collect(K){return{handlerId:K.getHandlerId()}},hover(K,ae){if(!Y.current)return;const Q=K.index,B=c;if(Q!==B){if(_==="regular"){const ne=Y.current.getBoundingClientRect(),X=(ne.bottom-ne.top)/2,J=ae.getClientOffset().y-ne.top;if(Q<B&&J<X||Q>B&&J>X)return}R(B,Q),K.index=B}}}),[{isDragging:re},ee,H]=(0,l.useDrag)({type:E,item(){a&&a();const{width:K}=Y.current?.getBoundingClientRect()??{};return{index:c,width:K,...p}},end(){d&&d()},canDrag:v,isDragging:p.id?K=>p.id===K.getItem().id:void 0,collect:K=>({isDragging:K.isDragging()})}),te=(0,D.A)(v,c,{onGrabItem:M,onDropItem:k,onCancel:N,onMoveItem:R});return[{handlerId:z,isDragging:re,handleKeyDown:te},Y,q,ee,H]}},18777:function(U,g,e){e.d(g,{A:function(){return l}});var o=e(32735);const l=(y,D,{onCancel:T,onDropItem:v,onGrabItem:E,onMoveItem:c})=>{const[p,a]=(0,o.useState)(!1),d=R=>{p&&(R==="UP"?c(D-1,D):R==="DOWN"&&c(D+1,D))},M=()=>{p?(v&&v(D),a(!1)):(E&&E(D),a(!0))},k=()=>{p&&(a(!1),T&&T(D))};return R=>{if(y&&!(R.key==="Tab"&&!p))switch(R.preventDefault(),R.key){case" ":case"Enter":M();break;case"Escape":k();break;case"ArrowDown":case"ArrowRight":d("DOWN");break;case"ArrowUp":case"ArrowLeft":d("UP");break;default:}}}},42882:function(U,g,e){e.d(g,{Jg:function(){return c},KQ:function(){return v},Vo:function(){return E},Yg:function(){return y}});var o=e(98178),l=e(34947);const y=()=>a=>a["content-manager_app"]||l.E,D=()=>createSelector(y(),a=>a),T=()=>createSelector(y(),a=>a.models),v=()=>(0,o.P1)(y(),a=>({collectionTypeLinks:a.collectionTypeLinks,singleTypeLinks:a.singleTypeLinks})),E=()=>(0,o.P1)(y(),({components:a,models:d})=>({schemas:[...a,...d]})),c=(0,o.P1)(y(),a=>a.fieldSizes);var p=null},70031:function(U,g){const e=o=>o["content-manager_editViewLayoutManager"].currentLayout;g.Z=e},25708:function(U,g){g.Z={COMPONENT:"component",EDIT_FIELD:"editField",FIELD:"field",DYNAMIC_ZONE:"dynamicZone",RELATION:"relation"}},47510:function(U,g){const e=o=>`content-manager.${o}`;g.Z=e},95952:function(U,g,e){e.d(g,{_Q:function(){return J.Z},W3:function(){return D},ko:function(){return c},FE:function(){return a},Di:function(){return N},du:function(){return z},TA:function(){return ee},Ts:function(){return ae},Uo:function(){return B},IF:function(){return X},OB:function(){return de.Z},w8:function(){return ue},kc:function(){return pe}});var o=e(99381),l=e.n(o),D=(r,u,m)=>{if(Array.isArray(r)&&u>=0&&m>=0&&u<=r.length-1&&m<=r.length-1){const h=l()(r),F=h.splice(u,1);return h.splice(m,0,F[0]),h}return r},T=e(59578),v=e.n(T),c=r=>{const u=r.type;return u==="relation"?!v()(r.relationType).includes("morph"):!["json","dynamiczone","richtext","password"].includes(u)&&!!u};const p=(r,u)=>{typeof r=="function"?r(u):r!=null&&(r.current=u)},a=(...r)=>u=>r.forEach(m=>p(m,u));var d=e(33795),M=e.n(d);const k=(r,u)=>Object.keys(r).reduce((m,h)=>{const F=M()(r,[h],{}),{default:x,component:C,type:A,required:P,min:W,repeatable:Z}=F;if(x!==void 0&&(m[h]=x),A==="component"){const ce=u?.[C]?.attributes??{},G=k(ce,u);if(P===!0&&(m[h]=Z===!0?[]:G),W&&Z===!0&&P){m[h]=[];for(let se=0;se<W;se+=1)m[h].push(G)}}return A==="dynamiczone"&&P===!0&&(m[h]=[]),m},{});var N=k,R=e(9086),_=e.n(R),z=({layouts:r,metadatas:u,...m})=>{const h=r.list.map(C=>C.name?C.name:C),F=Object.keys(u).reduce((C,A)=>{const P=M()(u,[A],{});let W=P.edit;return W.mainField&&(W={...W,mainField:P.edit.mainField.name}),{...C,[A]:{edit:W,list:_()(P.list,["mainField"])}}},{}),x=r.edit.map(C=>C.map(({name:A,size:P})=>({name:A,size:P})));return{...m,layouts:{edit:x,list:h},metadatas:F}};const q=(r,u)=>r.map(m=>({...m,subject:u}));var ee=r=>{const u={create:[{action:"plugin::content-manager.explorer.create",subject:null}],delete:[{action:"plugin::content-manager.explorer.delete",subject:null}],publish:[{action:"plugin::content-manager.explorer.publish",subject:null}],read:[{action:"plugin::content-manager.explorer.read",subject:null}],update:[{action:"plugin::content-manager.explorer.update",subject:null}]};return Object.keys(u).reduce((m,h)=>(m[h]=q(u[h],r),m),{})},H=e(95919),te=e.n(H),ae=r=>r.split(".").filter(u=>te()(parseInt(u,10))),B=r=>{if(r.length===0)return-1;const u=Math.max.apply(Math,r.map(m=>m.__temp_key__??0));return Number.isNaN(u)?-1:u},X=r=>`/content-manager/${r}`,de=e(47510),J=e(25708),$=e(3040),ie=e.n($),ue=(r,u,m)=>{const h=A=>u.find(P=>P.uid===A),F=Object.assign({},r),x=r[m].uid,C=h(x);return ie()(F,[m],{...r[m],...C}),Object.keys(r.components).forEach(A=>{const P=h(A);ie()(F,["components",A],{...r.components[A],...P})}),F},le=e(24989),pe=(r,u,m)=>{const h=(F,x)=>Object.keys(F).reduce((C,A)=>{const P=(0,le.UN)(x,A),W=M()(F,A),Z=(0,le.k2)(x,[A,"component"]),ce=(0,le.k2)(x,[A,"repeatable"]);return P==="dynamiczone"?(C[A]=W.map(G=>h(G,m[G.__component])),C):P==="component"?(ce?C[A]=W&&W.map(G=>h(G,m[Z])):C[A]=W&&h(W,m[Z]),C):(P!=="password"&&(C[A]=W),C)},{});return h(r,u)}},28315:function(U,g,e){e.d(g,{K:function(){return c}});var o=e(32735),l=e(60216),y=e.n(l),D=e(67582),T=e(87933),v=e(49372),E=e(54504);function c({children:p,...a}){const{color:d}=a.data,{themeColorName:M}=(0,E.k)(d);return o.createElement(D.c.Option,{...a},o.createElement(T.k,{alignItems:"center",gap:2},o.createElement(T.k,{height:2,background:d,borderColor:M==="neutral0"?"neutral150":"transparent",hasRadius:!0,shrink:0,width:2}),o.createElement(v.Z,{textColor:"neutral800",ellipsis:!0},p)))}c.propTypes={children:y().node.isRequired,data:y().shape({color:y().string}).isRequired}},8445:function(U,g,e){e.d(g,{R:function(){return c}});var o=e(32735),l=e(60216),y=e.n(l),D=e(67582),T=e(87933),v=e(49372),E=e(54504);function c({children:p,...a}){const{color:d}=a.data,{themeColorName:M}=d?(0,E.k)(d):{};return o.createElement(D.c.SingleValue,{...a},o.createElement(T.k,{alignItems:"center",gap:2},o.createElement(T.k,{height:2,background:d,borderColor:M==="neutral0"?"neutral150":"transparent",hasRadius:!0,shrink:0,width:2}),o.createElement(v.Z,{textColor:"neutral800",ellipsis:!0},p)))}c.defaultProps={children:null},c.propTypes={children:y().node,data:y().shape({color:y().string}).isRequired}},61937:function(U,g,e){e.d(g,{$k:function(){return E},FT:function(){return p},Nj:function(){return v},Ot:function(){return T},QM:function(){return y},lv:function(){return c},sN:function(){return l},uL:function(){return a},x4:function(){return D}});var o=e(12301);const l="settings_review-workflows",y="Settings/Review_Workflows/SET_WORKFLOWS",D="Settings/Review_Workflows/WORKFLOW_DELETE_STAGE",T="Settings/Review_Workflows/WORKFLOW_ADD_STAGE",v="Settings/Review_Workflows/WORKFLOW_UPDATE_STAGE",E="Settings/Review_Workflows/WORKFLOW_UPDATE_STAGE_POSITION",c={primary600:"Blue",primary200:"Lilac",alternative600:"Violet",alternative200:"Lavender",success600:"Green",success200:"Pale Green",danger500:"Cherry",danger200:"Pink",warning600:"Orange",warning200:"Yellow",secondary600:"Teal",secondary200:"Baby Blue",neutral400:"Gray",neutral0:"White"},p=o.W.colors.primary600,a={STAGE:"stage"}},67350:function(U,g,e){e.d(g,{n:function(){return T}});var o=e(20108),l=e(24989);const y="review-workflows",D="/admin/review-workflows";function T(v){const{get:E}=(0,l.kY)(),c=(0,o.useQueryClient)(),p=[y,v??"default"];async function a({params:k={populate:"stages"}}){try{const{data:{data:N}}=await E(`${D}/workflows/${v??""}`,{params:k});return N}catch{return null}}async function d(){await c.refetchQueries(p)}return{workflows:(0,o.useQuery)(p,a),refetchWorkflow:d}}},54504:function(U,g,e){e.d(g,{k:function(){return y},s:function(){return D}});var o=e(12301),l=e(61937);function y(T){if(!T)return null;const E=Object.entries(o.W.colors).filter(([,c])=>c.toUpperCase()===T.toUpperCase()).reduce((c,[p])=>(l.lv?.[p]&&(c=p),c),null);return E?{themeColorName:E,name:l.lv[E]}:null}function D(){return Object.entries(l.lv).map(([T,v])=>({hex:o.W.colors[T].toUpperCase(),name:v}))}}}]);
@@ -1,73 +0,0 @@
1
- "use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[3981],{55129:function(H,x,n){n.r(x),n.d(x,{default:function(){return Ke}});var e=n(32735),k=n(31191),p=n(67879),y=n(42447);function b(t,l){var o=t.values,i=(0,k._T)(t,["values"]),d=l.values,g=(0,k._T)(l,["values"]);return(0,y.wU)(d,o)&&(0,y.wU)(i,g)}function S(t){var l=(0,p.Z)(),o=l.formatMessage,i=l.textComponent,d=i===void 0?e.Fragment:i,g=t.id,w=t.description,Z=t.defaultMessage,v=t.values,h=t.children,E=t.tagName,T=E===void 0?d:E,W=t.ignoreTag,Qe={id:g,description:w,defaultMessage:Z},P=o(Qe,v,{ignoreTag:W});return typeof h=="function"?h(Array.isArray(P)?P:[P]):T?e.createElement(T,null,e.Children.toArray(P)):e.createElement(e.Fragment,null,P)}S.displayName="FormattedMessage";var B=e.memo(S,b);B.displayName="MemoizedFormattedMessage";var C=B,r=n(8471),R=n(74758),U=n(53038),s=n(24989),u=n(72850),z=n(96709),K=n(27649),F=n(15335),j=n(5803),Q=n.p+"7e9af4fb7e723fcebf1f.svg",$=n(67927),Y=t=>Object.entries(t).every(([,l])=>Object.entries(l).every(([,o])=>o)),m=n(87933),M=n(49372),V=n(41415),G=n(8482),J=n(60216),c=n.n(J),X=n(14317),q=n(78024),f=n(23678);const A=({type:t,title:l,number:o,content:i,hasLine:d})=>{const{formatMessage:g}=(0,p.Z)();return e.createElement(u.x,null,e.createElement(m.k,null,e.createElement(u.x,{minWidth:(0,s.Q1)(30),marginRight:5},e.createElement(X.Z,{type:t,number:o})),e.createElement(M.Z,{variant:"delta",as:"h3"},g(l))),e.createElement(m.k,{alignItems:"flex-start"},e.createElement(m.k,{justifyContent:"center",minWidth:(0,s.Q1)(30),marginBottom:3,marginTop:3,marginRight:5},d&&e.createElement(q.Z,{type:t,minHeight:t===f.lW?(0,s.Q1)(85):(0,s.Q1)(65)})),e.createElement(u.x,{marginTop:2},t===f.lW&&i)))};A.defaultProps={content:void 0,number:void 0,type:f.VM,hasLine:!0},A.propTypes={content:c().node,number:c().number,title:c().shape({id:c().string,defaultMessage:c().string}).isRequired,type:c().oneOf([f.lW,f.hx,f.VM]),hasLine:c().bool};var _=A;const ee=(t,l)=>t===-1||l<t?f.hx:l>t?f.VM:f.lW,D=({sections:t,currentSectionKey:l})=>{const o=t.findIndex(i=>i.key===l);return e.createElement(u.x,null,t.map((i,d)=>e.createElement(_,{key:i.key,title:i.title,content:i.content,number:d+1,type:ee(o,d),hasLine:d!==t.length-1})))};D.defaultProps={currentSectionKey:void 0},D.propTypes={sections:c().arrayOf(c().shape({key:c().string.isRequired,title:c().shape({id:c().string,defaultMessage:c().string}).isRequired,content:c().node})).isRequired,currentSectionKey:c().string};var te=D,ne=n(58107),ae=()=>{const{guidedTourState:t,setSkipped:l}=(0,s.c1)(),{formatMessage:o}=(0,p.Z)(),{trackUsage:i}=(0,s.rS)(),d=Object.entries(ne.Z).map(([v,h])=>({key:v,title:h.home.title,content:e.createElement(s.Qj,{onClick:()=>i(h.home.trackingEvent),to:h.home.cta.target,endIcon:e.createElement(G.Z,null)},o(h.home.cta.title))})),w=d.map(v=>({isDone:Object.entries(t[v.key]).every(([,h])=>h),...v})).find(v=>!v.isDone)?.key,Z=()=>{l(!0),i("didSkipGuidedtour")};return e.createElement(u.x,{hasRadius:!0,shadow:"tableShadow",paddingTop:7,paddingRight:4,paddingLeft:7,paddingBottom:4,background:"neutral0"},e.createElement(m.k,{direction:"column",alignItems:"stretch",gap:6},e.createElement(M.Z,{variant:"beta",as:"h2"},o({id:"app.components.GuidedTour.title",defaultMessage:"3 steps to get started"})),e.createElement(te,{sections:d,currentSectionKey:w})),e.createElement(m.k,{justifyContent:"flex-end"},e.createElement(V.z,{variant:"tertiary",onClick:Z},o({id:"app.components.GuidedTour.skip",defaultMessage:"Skip the tour"}))))},oe=n(95489),N=n(41502),a=n(74512);const le=t=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:(0,a.jsx)("path",{fill:"#7289DA",d:"M20.04 0H3.96A2.464 2.464 0 0 0 1.5 2.468v16.2a2.464 2.464 0 0 0 2.46 2.469h13.608l-.636-2.217 1.536 1.426 1.452 1.342 2.58 2.277V2.468A2.464 2.464 0 0 0 20.04 0Zm-4.632 15.65s-.432-.516-.792-.972c1.572-.443 2.172-1.425 2.172-1.425-.492.323-.96.55-1.38.707-.6.251-1.176.419-1.74.515a8.417 8.417 0 0 1-3.108-.012 10.086 10.086 0 0 1-1.764-.515 7.053 7.053 0 0 1-.876-.408c-.036-.024-.072-.036-.108-.06a.166.166 0 0 1-.048-.036 4.202 4.202 0 0 1-.336-.203s.576.958 2.1 1.414c-.36.455-.804.994-.804.994-2.652-.084-3.66-1.821-3.66-1.821 0-3.859 1.728-6.986 1.728-6.986 1.728-1.294 3.372-1.258 3.372-1.258l.12.144c-2.16.623-3.156 1.57-3.156 1.57s.264-.144.708-.348c1.284-.563 2.304-.72 2.724-.755.072-.012.132-.024.204-.024A9.792 9.792 0 0 1 16.8 7.297s-.948-.898-2.988-1.521l.168-.192s1.644-.036 3.372 1.258c0 0 1.728 3.127 1.728 6.986 0 0-1.02 1.737-3.672 1.821Zm-5.58-5.597c-.684 0-1.224.6-1.224 1.33 0 .731.552 1.33 1.224 1.33.684 0 1.224-.599 1.224-1.33.012-.73-.54-1.33-1.224-1.33Zm4.38 0c-.684 0-1.224.6-1.224 1.33 0 .731.552 1.33 1.224 1.33.684 0 1.224-.599 1.224-1.33 0-.73-.54-1.33-1.224-1.33Z"})}),ie=le,re=t=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:(0,a.jsx)("path",{fill:"#FF4500",fillRule:"evenodd",d:"M23.634 12.018c0 6.583-5.263 11.92-11.754 11.92C5.388 23.938.125 18.6.125 12.018S5.388.098 11.88.098c6.491 0 11.754 5.337 11.754 11.92ZM17.94 10.34a1.73 1.73 0 0 1 1.779 1.677c.012.67-.36 1.286-.95 1.585.012.175.012.35 0 .524 0 2.673-3.067 4.842-6.851 4.842s-6.852-2.172-6.852-4.842a3.925 3.925 0 0 1 0-.524 1.662 1.662 0 0 1-.461-.314 1.756 1.756 0 0 1-.076-2.46 1.697 1.697 0 0 1 2.425-.076 8.339 8.339 0 0 1 4.584-1.467l.868-4.136v-.006a.364.364 0 0 1 .435-.282l2.881.584c.184-.326.517-.545.888-.584a1.18 1.18 0 0 1 1.295 1.058 1.188 1.188 0 0 1-1.044 1.313 1.18 1.18 0 0 1-1.294-1.058l-2.515-.536-.763 3.718a8.277 8.277 0 0 1 4.526 1.467 1.71 1.71 0 0 1 1.125-.483Zm-8.798 1.677c-.648 0-1.177.536-1.177 1.194a1.19 1.19 0 0 0 1.177 1.194c.649 0 1.178-.536 1.178-1.194 0-.658-.53-1.194-1.178-1.194Zm2.747 5.39a4.47 4.47 0 0 0 2.904-.919v.047a.339.339 0 0 0 .006-.47.327.327 0 0 0-.465-.007 3.83 3.83 0 0 1-2.457.726 3.802 3.802 0 0 1-2.446-.75.314.314 0 0 0-.403 0 .327.327 0 0 0-.044.454 4.47 4.47 0 0 0 2.905.918Zm1.516-4.155c0 .658.529 1.194 1.178 1.194l-.01.045h.06a1.186 1.186 0 0 0 1.127-1.239c0-.657-.529-1.194-1.178-1.194-.648 0-1.177.537-1.177 1.194Z",clipRule:"evenodd"})}),se=re,ce=t=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 80 80",...t,children:[(0,a.jsx)("path",{fill:"#4945FF",d:"M0 27.7c0-13 0-19.6 4-23.6C8.2 0 14.8 0 27.8 0h24.6C65.4 0 72 0 76 4c4 4.2 4 10.8 4 23.8v24.6c0 13 0 19.6-4 23.6-4.2 4-10.8 4-23.8 4H27.7c-13 0-19.6 0-23.6-4C0 71.8 0 65.2 0 52.2V27.7Z"}),(0,a.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M55.2 24.3h-27V38H42v13.7h13.7V24.8c0-.3-.2-.5-.5-.5Z",clipRule:"evenodd"}),(0,a.jsx)("path",{fill:"#fff",d:"M41.5 38h.5v.5h-.5z"}),(0,a.jsx)("path",{fill:"#9593FF",d:"M28.3 38h13.2c.3 0 .5.2.5.5v13.2H28.8a.5.5 0 0 1-.5-.5V38ZM42 51.7h13.7L42.5 65c-.2.2-.5 0-.5-.2v-13ZM28.3 38H15.2a.3.3 0 0 1-.2-.5l13.3-13.2V38Z"})]}),de=ce,me=t=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:(0,a.jsx)("path",{fill:"#1DA1F2",d:"M24 4.557a9.83 9.83 0 0 1-2.828.775 4.932 4.932 0 0 0 2.165-2.724 9.864 9.864 0 0 1-3.127 1.195 4.916 4.916 0 0 0-3.594-1.555c-3.179 0-5.515 2.966-4.797 6.045A13.978 13.978 0 0 1 1.671 3.149a4.93 4.93 0 0 0 1.523 6.574 4.903 4.903 0 0 1-2.229-.616c-.054 2.281 1.581 4.415 3.949 4.89a4.935 4.935 0 0 1-2.224.084 4.928 4.928 0 0 0 4.6 3.419A9.9 9.9 0 0 1 0 19.54a13.94 13.94 0 0 0 7.548 2.212c9.142 0 14.307-7.721 13.995-14.646A10.025 10.025 0 0 0 24 4.557Z"})}),pe=me,ue=t=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...t,children:[(0,a.jsx)("path",{fill:"#231F20",d:"M12.103 0C5.533 0 0 5.278 0 11.79V24l12.1-.012c6.57 0 11.9-5.481 11.9-11.992C24 5.486 18.666 0 12.103 0Z"}),(0,a.jsx)("path",{fill:"#FFF9AE",d:"M12.22 4.564a7.43 7.43 0 0 0-3.644.956 7.346 7.346 0 0 0-2.692 2.614 7.26 7.26 0 0 0-.149 7.22L4.4 19.606l4.793-1.072a7.433 7.433 0 0 0 6.355-.14 7.36 7.36 0 0 0 2.513-2.057 7.28 7.28 0 0 0 1.372-2.93 7.243 7.243 0 0 0-.035-3.228A7.281 7.281 0 0 0 17.96 7.28a7.365 7.365 0 0 0-2.557-2.002 7.432 7.432 0 0 0-3.178-.715h-.007Z"}),(0,a.jsx)("path",{fill:"#00AEEF",d:"M18.071 7.426a7.262 7.262 0 0 1 1.51 4.499 7.264 7.264 0 0 1-1.595 4.47 7.38 7.38 0 0 1-4.028 2.558 7.437 7.437 0 0 1-4.765-.43L4.4 19.61l4.88-.571a7.432 7.432 0 0 0 5.181.858 7.381 7.381 0 0 0 4.443-2.778 7.258 7.258 0 0 0-.833-9.693Z"}),(0,a.jsx)("path",{fill:"#00A94F",d:"M16.713 6.078a7.253 7.253 0 0 1 .86 8.928 7.361 7.361 0 0 1-3.736 2.962 7.437 7.437 0 0 1-4.784.065L4.4 19.61l4.793-1.075a7.436 7.436 0 0 0 5.24.313 7.362 7.362 0 0 0 4.123-3.22 7.249 7.249 0 0 0 .914-5.123 7.296 7.296 0 0 0-2.757-4.427Z"}),(0,a.jsx)("path",{fill:"#F15D22",d:"M6.176 15.515a7.246 7.246 0 0 1-.26-4.876 7.312 7.312 0 0 1 2.9-3.95 7.427 7.427 0 0 1 9.26.735 7.387 7.387 0 0 0-4.603-2.771 7.431 7.431 0 0 0-5.277 1.068A7.311 7.311 0 0 0 5.06 10.06a7.249 7.249 0 0 0 .676 5.294L4.4 19.607l1.776-4.092Z"}),(0,a.jsx)("path",{fill:"#E31B23",d:"M5.735 15.353a7.25 7.25 0 0 1-.764-4.818 7.294 7.294 0 0 1 2.465-4.222 7.415 7.415 0 0 1 4.596-1.744 7.42 7.42 0 0 1 4.681 1.509 7.404 7.404 0 0 0-4.865-2.26 7.421 7.421 0 0 0-5.12 1.61 7.293 7.293 0 0 0-2.66 4.626A7.256 7.256 0 0 0 5.28 15.24l-.877 4.37 1.332-4.257Z"})]}),ge=ue;var he=n(33904),fe=n(47361);const ve=(0,r.ZP)(ie)`
2
- path {
3
- fill: #7289da !important;
4
- }
5
- `,Ee=(0,r.ZP)(se)`
6
- > path:first-child {
7
- fill: #ff4500;
8
- }
9
- `,I=(0,r.ZP)(de)`
10
- > path:first-child {
11
- fill: #4945ff;
12
- }
13
- > path:nth-child(2) {
14
- fill: #fff;
15
- }
16
- > path:nth-child(4) {
17
- fill: #9593ff;
18
- }
19
- `,xe=(0,r.ZP)(pe)`
20
- path {
21
- fill: #1da1f2 !important;
22
- }
23
- `,Me=(0,r.ZP)(ge)`
24
- > path:first-child {
25
- fill: #231f20;
26
- }
27
- > path:nth-child(2) {
28
- fill: #fff9ae;
29
- }
30
- > path:nth-child(3) {
31
- fill: #00aeef;
32
- }
33
- > path:nth-child(4) {
34
- fill: #00a94f;
35
- }
36
- > path:nth-child(5) {
37
- fill: #f15d22;
38
- }
39
- > path:nth-child(6) {
40
- fill: #e31b23;
41
- }
42
- `,ye=[{name:{id:"app.components.HomePage.community.links.github",defaultMessage:"Github"},link:"https://github.com/strapi/strapi/",icon:e.createElement(he.Z,{fill:"#7289DA"}),alt:"github"},{name:{id:"app.components.HomePage.community.links.discord",defaultMessage:"Discord"},link:"https://discord.strapi.io/",icon:e.createElement(ve,null),alt:"discord"},{name:{id:"app.components.HomePage.community.links.reddit",defaultMessage:"Reddit"},link:"https://www.reddit.com/r/Strapi/",icon:e.createElement(Ee,null),alt:"reddit"},{name:{id:"app.components.HomePage.community.links.twitter",defaultMessage:"Twitter"},link:"https://twitter.com/strapijs",icon:e.createElement(xe,null),alt:"twitter"},{name:{id:"app.components.HomePage.community.links.forum",defaultMessage:"Forum"},link:"https://forum.strapi.io",icon:e.createElement(Me,null),alt:"forum"},{name:{id:"app.components.HomePage.community.links.blog",defaultMessage:"Blog"},link:"https://strapi.io/blog?utm_source=referral&utm_medium=admin&utm_campaign=career%20page",icon:e.createElement(I,null),alt:"blog"},{name:{id:"app.components.HomePage.community.links.career",defaultMessage:"We are hiring!"},link:"https://strapi.io/careers?utm_source=referral&utm_medium=admin&utm_campaign=blog",icon:e.createElement(I,null),alt:"career"}],ke=(0,r.ZP)(oe.Q)`
43
- display: flex;
44
- align-items: center;
45
- border: none;
46
-
47
- svg {
48
- width: ${({theme:t})=>t.spaces[6]};
49
- height: ${({theme:t})=>t.spaces[6]};
50
- }
51
-
52
- span {
53
- word-break: keep-all;
54
- }
55
- `,Ce=(0,r.ZP)(F.r)`
56
- row-gap: ${({theme:t})=>t.spaces[2]};
57
- column-gap: ${({theme:t})=>t.spaces[4]};
58
- `;var we=()=>{const{formatMessage:t}=(0,p.Z)(),{communityEdition:l}=(0,s.L7)(),o=[...ye,{icon:e.createElement(I,null),link:l?"https://discord.strapi.io":"https://support.strapi.io/support/home",name:{id:"Settings.application.get-help",defaultMessage:"Get help"}}];return e.createElement(u.x,{as:"aside","aria-labelledby":"join-the-community",background:"neutral0",hasRadius:!0,paddingRight:5,paddingLeft:5,paddingTop:6,paddingBottom:6,shadow:"tableShadow"},e.createElement(u.x,{paddingBottom:7},e.createElement(m.k,{direction:"column",alignItems:"stretch",gap:5},e.createElement(m.k,{direction:"column",alignItems:"stretch",gap:3},e.createElement(M.Z,{variant:"delta",as:"h2",id:"join-the-community"},t({id:"app.components.HomePage.community",defaultMessage:"Join the community"})),e.createElement(M.Z,{textColor:"neutral600"},t({id:"app.components.HomePage.community.content",defaultMessage:"Discuss with team members, contributors and developers on different channels"}))),e.createElement(N.r,{href:"https://feedback.strapi.io/",isExternal:!0,endIcon:e.createElement(fe.Z,null)},t({id:"app.components.HomePage.roadmap",defaultMessage:"See our road map"})))),e.createElement(Ce,null,o.map(({icon:i,link:d,name:g})=>e.createElement(j.P,{col:6,s:12,key:g.id},e.createElement(ke,{size:"L",startIcon:i,variant:"tertiary",href:d,isExternal:!0},t(g))))))};const Ze=(0,r.ZP)(M.Z)`
59
- word-break: break-word;
60
- `,O=({hasCreatedContentType:t,onCreateCT:l})=>{const{formatMessage:o}=(0,p.Z)();return e.createElement("div",null,e.createElement(u.x,{paddingLeft:6,paddingBottom:10},e.createElement(m.k,{direction:"column",alignItems:"flex-start",gap:5},e.createElement(M.Z,{as:"h1",variant:"alpha"},o(t?{id:"app.components.HomePage.welcome.again",defaultMessage:"Welcome \u{1F44B}"}:{id:"app.components.HomePage.welcome",defaultMessage:"Welcome on board!"})),e.createElement(Ze,{textColor:"neutral600",variant:"epsilon"},o(t?{id:"app.components.HomePage.welcomeBlock.content.again",defaultMessage:"We hope you are making progress on your project! Feel free to read the latest news about Strapi. We are giving our best to improve the product based on your feedback."}:{id:"app.components.HomePage.welcomeBlock.content",defaultMessage:"Congrats! You are logged as the first administrator. To discover the powerful features provided by Strapi, we recommend you to create your first Content type!"})),t?e.createElement(N.r,{isExternal:!0,href:"https://strapi.io/blog"},o({id:"app.components.HomePage.button.blog",defaultMessage:"See more on the blog"})):e.createElement(V.z,{size:"L",onClick:l,endIcon:e.createElement(G.Z,null)},o({id:"app.components.HomePage.create",defaultMessage:"Create your first Content type"})))))};O.defaultProps={hasCreatedContentType:void 0,onCreateCT:void 0},O.propTypes={hasCreatedContentType:c().bool,onCreateCT:c().func};var Pe=O;const be=t=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 32",...t,children:[(0,a.jsx)("path",{fill:"#4945FF",d:"M0 4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z"}),(0,a.jsx)("path",{fill:"#fff",d:"M15.733 8c.343 0 .678.108.963.31.285.202.507.49.639.826.13.337.165.707.098 1.064a1.879 1.879 0 0 1-.474.942 1.705 1.705 0 0 1-.887.504 1.64 1.64 0 0 1-1.002-.105 1.76 1.76 0 0 1-.778-.678A1.924 1.924 0 0 1 14 9.841a1.9 1.9 0 0 1 .508-1.302c.325-.345.766-.539 1.225-.539ZM20 24h-8v-2.265h2.933v-6.23H12.8v-2.266h4.267v8.495H20V24Z"})]}),Se=be,Be=t=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 32",...t,children:[(0,a.jsx)("path",{fill:"#D9822F",d:"M0 4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z"}),(0,a.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M17.143 18.659v2.912l6.856-3.878v-2.815L17.143 11v2.906l4.16 2.38-4.16 2.373Zm-2.287 0-4.16-2.374 4.16-2.38V11L8 14.877v2.816l6.856 3.878v-2.912Z",clipRule:"evenodd"})]}),je=Be,Le=t=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 32",...t,children:[(0,a.jsx)("path",{fill:"#66B7F1",d:"M0 4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z"}),(0,a.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M12 10.921a.5.5 0 0 1 .773-.419l8.582 5.579a.5.5 0 0 1 0 .838l-8.582 5.579a.5.5 0 0 1-.773-.42V10.922Z",clipRule:"evenodd"})]}),Te=Le,He=t=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 32",...t,children:[(0,a.jsx)("path",{fill:"#9736E8",d:"M0 4a4 4 0 0 1 4-4h24a4 4 0 0 1 4 4v24a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z"}),(0,a.jsx)("path",{fill:"#fff",d:"M18.037 11.774a28.578 28.578 0 0 0-2.948 2.706c-1.995 2.109-3.55 4.093-4.761 6.06-.289.469-.574.945-.855 1.418a9.074 9.074 0 0 0-.463 1.536c-.074.37.275.68.577.395.312-.299.587-.64.851-.985.467-.608.906-1.237 1.342-1.867 3.37.242 7.27-2.048 8.933-4.857a.196.196 0 0 0 .017-.167.183.183 0 0 0-.114-.118c-.809-.27-1.798-.44-2.207-.462-.017 0-.034-.014-.037-.035a.039.039 0 0 1 .024-.043c1.113-.58 1.924-.647 2.877-.505.07.01.134-.046.16-.114.095-.217.356-.87.537-1.404a.201.201 0 0 0-.087-.239c-.71-.384-1.656-.643-2.035-.682-.017 0-.03-.018-.034-.036a.039.039 0 0 1 .024-.043c1.1-.483 1.485-.497 2.364-.302.087.018.17-.05.19-.142.433-1.714.574-3.197.608-3.68a.21.21 0 0 0-.057-.157.177.177 0 0 0-.148-.05c-2.444.356-4.403.865-6.093 1.55-.057.022-.11.072-.11.136.144.551-.242 1.209-.845 1.703a.042.042 0 0 1-.044.018.046.046 0 0 1-.027-.043c.004-.046.158-.665.067-1.116-.013-.064-.033-.125-.084-.16a.173.173 0 0 0-.17-.014c-7.924 3.811-5.922 10.098-5.922 10.098.01.004.02.004.03.007.895-1.86 1.904-3.232 3.49-5.035 1.178-1.337 2.331-2.425 3.525-3.325.75-.565 2.448-1.738 3.51-2.144a.285.285 0 0 1 .105-.021c.097 0 .177.064.2.16a.264.264 0 0 1-.046.228l-2.344 1.731Z"})]}),Re=He;var Fe=n.p+"27d16aefee06412db90a.png",Ae=n.p+"bb3108f7fd1e6179bde1.svg",De=n.p+"bb4d0d527bdfb161bc5a.svg";const Ie=r.ZP.a`
61
- text-decoration: none;
62
- `,Oe=(0,r.ZP)(u.x)`
63
- background-image: url(${({backgroundImage:t})=>t});
64
- `,We=(0,r.ZP)(m.k)`
65
- background: rgba(255, 255, 255, 0.3);
66
- `;var Ve=()=>{const{formatMessage:t}=(0,p.Z)(),{trackUsage:l}=(0,s.rS)();return e.createElement(Ie,{href:"https://cloud.strapi.io",target:"_blank",rel:"noopener noreferrer nofollow",onClick:()=>{l("didClickOnTryStrapiCloudSection")}},e.createElement(m.k,{shadow:"tableShadow",hasRadius:!0,padding:6,background:"neutral0",position:"relative",gap:6},e.createElement(Oe,{backgroundImage:Fe,hasRadius:!0,padding:3},e.createElement(We,{width:(0,s.Q1)(32),height:(0,s.Q1)(32),justifyContent:"center",hasRadius:!0,alignItems:"center"},e.createElement("img",{src:Ae,alt:t({id:"app.components.BlockLink.cloud",defaultMessage:"Strapi Cloud"})}))),e.createElement(m.k,{gap:1,direction:"column",alignItems:"start"},e.createElement(m.k,null,e.createElement(M.Z,{fontWeight:"semiBold",variant:"pi"},t({id:"app.components.BlockLink.cloud",defaultMessage:"Strapi Cloud"}))),e.createElement(M.Z,{textColor:"neutral600"},t({id:"app.components.BlockLink.cloud.content",defaultMessage:"A fully composable, and collaborative platform to boost your team velocity."})),e.createElement(u.x,{src:De,position:"absolute",top:0,right:0,as:"img"}))))};const L=r.ZP.a`
67
- text-decoration: none;
68
- `;var Ge=()=>{const{formatMessage:t}=(0,p.Z)(),{trackUsage:l}=(0,s.rS)(),o=i=>{l(i)};return e.createElement(m.k,{direction:"column",alignItems:"stretch",gap:5},e.createElement(Ve,null),e.createElement(L,{href:"https://strapi.io/resource-center",target:"_blank",rel:"noopener noreferrer nofollow",onClick:()=>o("didClickonReadTheDocumentationSection")},e.createElement(s.Y_,{title:t({id:"global.documentation",defaultMessage:"Documentation"}),subtitle:t({id:"app.components.BlockLink.documentation.content",defaultMessage:"Discover the essential concepts, guides and instructions."}),icon:e.createElement(Se,null),iconBackground:"primary100"})),e.createElement(L,{href:"https://strapi.io/starters",target:"_blank",rel:"noopener noreferrer nofollow",onClick:()=>o("didClickonCodeExampleSection")},e.createElement(s.Y_,{title:t({id:"app.components.BlockLink.code",defaultMessage:"Code example"}),subtitle:t({id:"app.components.BlockLink.code.content",defaultMessage:"Learn by using ready-made starters for your projects."}),icon:e.createElement(je,null),iconBackground:"warning100"})),e.createElement(L,{href:"https://strapi.io/blog/categories/tutorials",target:"_blank",rel:"noopener noreferrer nofollow",onClick:()=>o("didClickonTutorialSection")},e.createElement(s.Y_,{title:t({id:"app.components.BlockLink.tutorial",defaultMessage:"Tutorials"}),subtitle:t({id:"app.components.BlockLink.tutorial.content",defaultMessage:"Follow step-by-step instructions to use and customize Strapi."}),icon:e.createElement(Te,null),iconBackground:"secondary100"})),e.createElement(L,{href:"https://strapi.io/blog",target:"_blank",rel:"noopener noreferrer nofollow",onClick:()=>o("didClickonBlogSection")},e.createElement(s.Y_,{title:t({id:"app.components.BlockLink.blog",defaultMessage:"Blog"}),subtitle:t({id:"app.components.BlockLink.blog.content",defaultMessage:"Read the latest news about Strapi and the ecosystem."}),icon:e.createElement(Re,null),iconBackground:"alternative100"})))};const Ne=(()=>window&&window.strapi&&window.strapi.isEE?n(21306).Z:n(83119).Z)(),Ue=(0,r.ZP)(u.x).withConfig({displayName:"HomePage__LogoContainer",componentId:"sc-1md9zz4-0"})(["position:absolute;top:0;right:0;img{width:","rem;}"],150/16),ze=()=>{const{collectionTypes:t,singleTypes:l,isLoading:o}=(0,$.bP)(),{guidedTourState:i,isGuidedTourVisible:d,isSkipped:g}=(0,s.c1)();Ne();const w=!Y(i)&&d&&!g,{push:Z}=(0,U.k6)(),v=E=>{E.preventDefault(),Z("/plugins/content-type-builder/content-types/create-content-type")},h=(0,e.useMemo)(()=>{const E=T=>T.filter(W=>W.isDisplayed);return E(t).length>1||E(l).length>0},[t,l]);return o?e.createElement(s.dO,null):e.createElement(z.A,null,e.createElement(C,{id:"HomePage.helmet.title",defaultMessage:"Homepage"},E=>e.createElement(R.q,{title:E[0]})),e.createElement(K.o,null,e.createElement(Ue,null,e.createElement("img",{alt:"","aria-hidden":!0,src:Q})),e.createElement(u.x,{padding:10},e.createElement(F.r,null,e.createElement(j.P,{col:8,s:12},e.createElement(Pe,{onCreateCT:v,hasCreatedContentType:h}))),e.createElement(F.r,{gap:6},e.createElement(j.P,{col:8,s:12},w?e.createElement(ae,null):e.createElement(Ge,null)),e.createElement(j.P,{col:4,s:12},e.createElement(we,null))))))};var Ke=(0,e.memo)(ze)},83119:function(H,x){const n=()=>null;x.Z=n},96709:function(H,x,n){n.d(x,{A:function(){return C}});var e=n(74512),k=n(32735),p=n(60216),y=n(8471),b=n(72850);const S=(0,y.ZP)(b.x)`
69
- display: grid;
70
- grid-template-columns: ${({hasSideNav:r})=>r?"auto 1fr":"1fr"};
71
- `,B=(0,y.ZP)(b.x)`
72
- overflow-x: hidden;
73
- `,C=({sideNav:r,children:R})=>(0,e.jsxs)(S,{hasSideNav:!!r,children:[r,(0,e.jsx)(B,{paddingBottom:10,children:R})]});C.defaultProps={sideNav:void 0},C.propTypes={children:p.node.isRequired,sideNav:p.node}},33904:function(H,x,n){n.d(x,{Z:function(){return p}});var e=n(74512);const k=y=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...y,children:(0,e.jsx)("path",{fill:"#161614",d:"M12 0C5.373 0 0 5.501 0 12.288c0 5.43 3.438 10.035 8.206 11.66.6.114.82-.266.82-.59 0-.294-.01-1.262-.016-2.289-3.338.744-4.043-1.45-4.043-1.45-.546-1.42-1.332-1.797-1.332-1.797-1.089-.763.082-.747.082-.747 1.205.086 1.84 1.266 1.84 1.266 1.07 1.878 2.807 1.335 3.491 1.021.108-.794.42-1.336.762-1.643-2.665-.31-5.467-1.364-5.467-6.073 0-1.341.469-2.437 1.236-3.298-.124-.31-.535-1.56.117-3.252 0 0 1.007-.33 3.3 1.26A11.25 11.25 0 0 1 12 5.942c1.02.005 2.047.141 3.006.414 2.29-1.59 3.297-1.26 3.297-1.26.653 1.693.242 2.943.118 3.252.77.86 1.235 1.957 1.235 3.298 0 4.72-2.808 5.76-5.48 6.063.43.382.814 1.13.814 2.276 0 1.644-.014 2.967-.014 3.372 0 .327.216.71.825.59C20.566 22.32 24 17.715 24 12.288 24 5.501 18.627 0 12 0Z"})}),p=k}}]);