(self.webpackChunk_digicms_admin=self.webpackChunk_digicms_admin||[]).push([[3343],{84802:function(p){function l(e,t,n,a){for(var s=-1,d=e==null?0:e.length;++s<d;){var o=e[s];t(a,o,n(o),e)}return a}p.exports=l},62435:function(p,l,e){var t=e(56671);function n(a,s,d,o){return t(a,function(i,r,c){s(o,i,d(i),c)}),o}p.exports=n},85580:function(p,l,e){var t=e(84802),n=e(62435),a=e(88904),s=e(77236);function d(o,i){return function(r,c){var v=s(r)?t:n,g=i?i():{};return v(r,o,a(c,2),g)}}p.exports=d},3704:function(p,l,e){var t=e(40314),n=e(37213);function a(s,d){return t(n(s,d),1)}p.exports=a},81346:function(p,l,e){var t=e(40999),n=e(85580),a=Object.prototype,s=a.hasOwnProperty,d=n(function(o,i,r){s.call(o,r)?o[r].push(i):t(o,r,[i])});p.exports=d},37213:function(p,l,e){var t=e(26460),n=e(88904),a=e(52920),s=e(77236);function d(o,i){var r=s(o)?t:a;return r(o,n(i,3))}p.exports=d},83828:function(p,l,e){"use strict";e.d(l,{U:function(){return g},y:function(){return c}});var t=e(74512),n=e(83292),a=e(49372),s=e(59002),d=e(72850),o=e(87933),i=e(91045);const r=({theme:u,expanded:x,variant:y,disabled:M,error:h})=>h?`1px solid ${u.colors.danger600} !important`:M?`1px solid ${u.colors.neutral150}`:x?`1px solid ${u.colors.primary600}`:y==="primary"?`1px solid ${u.colors.neutral0}`:`1px solid ${u.colors.neutral100}`,c=(0,n.default)(a.Z)``,v=(0,n.default)(d.x)`
  border: ${r};

  &:hover:not([aria-disabled='true']) {
    border: 1px solid ${({theme:u})=>u.colors.primary600};

    ${c} {
      color: ${({theme:u,expanded:x})=>x?void 0:u.colors.primary700};
    }

    ${a.Z} {
      color: ${({theme:u,expanded:x})=>x?void 0:u.colors.primary600};
    }

    & > ${o.k} {
      background: ${({theme:u})=>u.colors.primary100};
    }

    [data-strapi-dropdown='true'] {
      background: ${({theme:u})=>u.colors.primary200};
    }
  }
`,g=({children:u,disabled:x=!1,error:y,expanded:M=!1,hasErrorMessage:h=!0,id:m,onToggle:P,toggle:E,size:A="M",variant:T="primary"})=>{const C=(0,s.M)("accordion",m);return(0,t.jsxs)(i.S.Provider,{value:{expanded:M,onToggle:P,toggle:E,id:C,size:A,variant:T,disabled:x},children:[(0,t.jsx)(v,{"data-strapi-expanded":M,disabled:x,"aria-disabled":x,expanded:M,hasRadius:!0,variant:T,error:y,children:u}),y&&h&&(0,t.jsx)(d.x,{paddingTop:1,children:(0,t.jsx)(a.Z,{variant:"pi",textColor:"danger600",children:y})})]})}},89966:function(p,l,e){"use strict";e.d(l,{v:function(){return s}});var t=e(74512),n=e(72850),a=e(91045);const s=({children:d,...o})=>{const{expanded:i,id:r}=(0,a.A)();if(!i)return null;const c=`accordion-content-${r}`,v=`accordion-label-${r}`,g=`accordion-desc-${r}`;return(0,t.jsx)(n.x,{role:"region",id:c,"aria-labelledby":v,"aria-describedby":g,...o,children:d})}},91045:function(p,l,e){"use strict";e.d(l,{A:function(){return a},S:function(){return n}});var t=e(32735);const n=(0,t.createContext)({disabled:!1,expanded:!1,id:"",size:"M",variant:"primary"}),a=()=>(0,t.useContext)(n)},61762:function(p,l,e){"use strict";e.d(l,{B:function(){return M}});var t=e(74512),n=e(57269),a=e(83292),s=e(7563),d=e(49372),o=e(87933),i=e(27677),r=e(99140),c=e(83828),v=e(91045);const g=({expanded:h,disabled:m,variant:P})=>{let E="neutral100";return h?E="primary100":m?E="neutral150":P==="primary"&&(E="neutral0"),E};var u=e(98399);const x=(0,a.default)(s.A)`
  text-align: left;

  // necessary to make the ellipsis prop work on the title
  > span {
    max-width: 100%;
  }

  svg {
    width: ${14/16}rem;
    height: ${14/16}rem;

    path {
      fill: ${({theme:h,expanded:m})=>m?h.colors.primary600:h.colors.neutral500};
    }
  }
`,y=(0,a.default)(o.k)`
  min-height: ${({theme:h,size:m})=>h.sizes.accordions[m]};
  border-radius: ${({theme:h,expanded:m})=>m?`${h.borderRadius} ${h.borderRadius} 0 0`:h.borderRadius};

  &:hover {
    svg {
      path {
        fill: ${({theme:h})=>h.colors.primary600};
      }
    }
  }
`,M=({title:h,description:m,as:P="span",togglePosition:E="right",action:A,...T})=>{const{onToggle:C,toggle:b,expanded:_,id:R,size:f,variant:L,disabled:O}=(0,v.A)(),K=`accordion-content-${R}`,B=`accordion-label-${R}`,$=`accordion-desc-${R}`,j=f==="M"?6:4,I=f==="M"?j:j-2,U=g({expanded:_,disabled:O,variant:L}),W={as:P,fontWeight:f==="S"?"bold":void 0,id:B,textColor:_?"primary600":"neutral700",ellipsis:!0,variant:f==="M"?"delta":void 0},D=_?"primary600":"neutral600",Z=_?"primary200":"neutral200",S=f==="M"?`${32/16}rem`:`${24/16}rem`,z=()=>{O||(b&&!C?(u.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'),b()):C&&C())},F=(0,t.jsx)(o.k,{justifyContent:"center",borderRadius:"50%",height:S,width:S,transform:_?"rotate(180deg)":void 0,"data-strapi-dropdown":!0,"aria-hidden":!0,as:"span",background:Z,cursor:O?"not-allowed":"pointer",onClick:z,shrink:0,children:(0,t.jsx)(r.J,{as:n.CarretDown,width:f==="M"?`${11/16}rem`:`${8/16}rem`,color:_?"primary600":"neutral600"})});return(0,t.jsx)(y,{paddingBottom:I,paddingLeft:j,paddingRight:j,paddingTop:I,background:U,expanded:_,size:f,justifyContent:"space-between",cursor:O?"not-allowed":"",children:(0,t.jsxs)(i.K,{horizontal:!0,spacing:3,flex:1,maxWidth:"100%",children:[E==="left"&&F,(0,t.jsx)(x,{onClick:z,"aria-disabled":O,"aria-expanded":_,"aria-controls":K,"aria-labelledby":B,"data-strapi-accordion-toggle":!0,expanded:_,type:"button",flex:1,minWidth:0,...T,children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.y,{...W,children:h}),m&&(0,t.jsx)(d.Z,{as:"p",id:$,textColor:D,children:m})]})}),E==="right"&&(0,t.jsxs)(i.K,{horizontal:!0,spacing:3,children:[F,A]}),E==="left"&&A]})})}},11299:function(p,l,e){"use strict";e.d(l,{$:function(){return c},O:function(){return v}});var t=e(74512),n=e(83292),a=e(57269),s=e(49372),d=e(72850),o=e(87933),i=e(3685);const r=(0,n.default)(o.k)`
  svg {
    height: ${10/16}rem;
    width: ${10/16}rem;
    path {
      fill: ${({theme:g})=>g.colors.neutral500};
    }
  }
  :last-of-type ${d.x} {
    display: none;
  }
  :last-of-type ${s.Z} {
    color: ${({theme:g})=>g.colors.neutral800};
    font-weight: ${({theme:g})=>g.fontWeights.bold};
  }
`,c=({children:g})=>(0,t.jsxs)(r,{inline:!0,as:"li",children:[(0,t.jsx)(s.Z,{variant:"pi",textColor:"neutral600",children:g}),(0,t.jsx)(d.x,{"aria-hidden":!0,paddingLeft:3,paddingRight:3,children:(0,t.jsx)(a.ChevronRight,{})})]});c.displayName="Crumb";const v=({children:g,label:u,...x})=>(0,t.jsxs)(o.k,{...x,children:[(0,t.jsx)(i.T,{children:u}),(0,t.jsx)("ol",{"aria-hidden":!0,children:g})]});v.displayName="Breadcrumbs"},99223:function(p,l,e){"use strict";e.d(l,{Z:function(){return r}});var t=e(32735),n=e(60216),a=e(83292),s=e(72850),d=e(87933);const o=(0,a.default)(d.k)`
  & > * + * {
    margin-left: ${({theme:c})=>c.spaces[2]};
  }

  margin-left: ${({pullRight:c})=>c?"auto":void 0};
`,i=(0,a.default)(o)`
  flex-shrink: 0;
`,r=({startActions:c,endActions:v})=>c||v?t.createElement(s.x,{paddingLeft:10,paddingRight:10},t.createElement(s.x,{paddingBottom:4},t.createElement(d.k,{justifyContent:"space-between",alignItems:"flex-start"},c&&t.createElement(o,{wrap:"wrap"},c),v&&t.createElement(i,{pullRight:!0},v)))):null;r.defaultProps={endActions:void 0,startActions:void 0},r.propTypes={endActions:n.node,startActions:n.node}},96709:function(p,l,e){"use strict";e.d(l,{A:function(){return i}});var t=e(32735),n=e(60216),a=e(83292),s=e(72850);const d=(0,a.default)(s.x)`
  display: grid;
  grid-template-columns: ${({hasSideNav:r})=>r?"auto 1fr":"1fr"};
`,o=(0,a.default)(s.x)`
  overflow-x: hidden;
`,i=({sideNav:r,children:c})=>t.createElement(d,{hasSideNav:Boolean(r)},r,t.createElement(o,{paddingBottom:10},c));i.defaultProps={sideNav:void 0},i.propTypes={children:n.node.isRequired,sideNav:n.node}},90700:function(p,l,e){"use strict";e.d(l,{m:function(){return i}});var t=e(32735),n=e(83292),a=e(60216),s=e(15335);const d=`${232/16}rem`,o=(0,n.default)(s.r)`
  width: ${d};
  background: ${({theme:r})=>r.colors.neutral100};
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid ${({theme:r})=>r.colors.neutral200};
  z-index: 1;
`,i=({ariaLabel:r,...c})=>t.createElement(o,{"aria-label":r,as:"nav",...c});i.propTypes={ariaLabel:a.string.isRequired}},8598:function(p,l,e){"use strict";e.d(l,{p:function(){return h}});var t=e(32735),n=e(60216),a=e(83292),s=e(57269),d=e(87933),o=e(49372),i=e(50563),r=e(72850),c=e(9026),v=e(61774),g=e(89252),u=e(59002);const x=m=>{const P=(0,t.useRef)();return(0,t.useEffect)(()=>{P.current=m}),P.current};var y=e(94486);const M=(0,a.default)(c.i)`
  width: ${24/16}rem;
  background-color: ${({theme:m})=>m.colors.neutral200};
`,h=({as:m,label:P,searchLabel:E,searchable:A,onChange:T,value:C,onClear:b,onSubmit:_,id:R})=>{const[f,L]=(0,t.useState)(!1),O=x(f),K=(0,u.M)("subnav-searchbar-clear",R),B=(0,t.useRef)(),$=(0,t.useRef)();(0,t.useEffect)(()=>{f&&B.current&&B.current.focus(),O&&!f&&$.current&&$.current.focus()},[f,O]);const j=()=>{L(D=>!D)},I=D=>{b(D),B.current.focus()},U=D=>{D.relatedTarget?.id!==K&&L(!1)},W=D=>{D.key===y.y.ESCAPE&&L(!1)};return f?t.createElement(r.x,{paddingLeft:4,paddingTop:5,paddingBottom:2,paddingRight:4},t.createElement(g.U,null,t.createElement(v.w,{name:"searchbar",value:C,onChange:T,placeholder:"e.g: strapi-plugin-abcd",onKeyDown:W,ref:B,onBlur:U,onClear:I,onSubmit:_,clearLabel:"Clear",size:"S"},E)),t.createElement(r.x,{paddingLeft:2,paddingTop:4},t.createElement(M,null))):t.createElement(r.x,{paddingLeft:6,paddingTop:6,paddingBottom:2,paddingRight:4},t.createElement(d.k,{justifyContent:"space-between",alignItems:"flex-start"},t.createElement(o.Z,{variant:"beta",as:m},P),A&&t.createElement(i.h,{ref:$,onClick:j,label:E,icon:t.createElement(s.Search,null)})),t.createElement(r.x,{paddingTop:4},t.createElement(M,null)))};h.defaultProps={as:"h2",searchable:!1,onChange(){},onClear(){},onSubmit(){},value:"",searchLabel:"",id:void 0},h.propTypes={as:n.string,id:n.string,label:n.string.isRequired,onChange:n.func,onClear:n.func,onSubmit:n.func,searchLabel:n.string,searchable:n.bool,value:n.string}},29439:function(p,l,e){"use strict";e.d(l,{Z:function(){return n}});var t=e(74512);function n(a){return(0,t.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a,children:(0,t.jsx)("path",{d:"M24 13.3a.2.2 0 01-.2.2H5.74l8.239 8.239a.2.2 0 010 .282L12.14 23.86a.2.2 0 01-.282 0L.14 12.14a.2.2 0 010-.282L11.86.14a.2.2 0 01.282 0L13.98 1.98a.2.2 0 010 .282L5.74 10.5H23.8c.11 0 .2.09.2.2v2.6z",fill:"#212134"})})}},47361:function(p,l,e){"use strict";e.d(l,{Z:function(){return n}});var t=e(74512);function n(a){return(0,t.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a,children:(0,t.jsx)("path",{d:"M16.235 2.824a1.412 1.412 0 010-2.824h6.353C23.368 0 24 .633 24 1.412v6.353a1.412 1.412 0 01-2.823 0V4.82l-8.179 8.178a1.412 1.412 0 01-1.996-1.996l8.178-8.178h-2.945zm4.942 10.588a1.412 1.412 0 012.823 0v9.176c0 .78-.632 1.412-1.412 1.412H1.412C.632 24 0 23.368 0 22.588V1.412C0 .632.632 0 1.412 0h9.176a1.412 1.412 0 010 2.824H2.824v18.353h18.353v-7.765z",fill:"#32324D"})})}}}]);
