@strapi/admin 4.11.0-exp.9xg4-3qfm-9w8f.1 → 4.11.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.
- package/admin/src/components/Providers/index.js +32 -32
- package/admin/src/components/Theme/index.js +5 -3
- package/admin/src/content-manager/components/ComponentIcon/ComponentIcon.js +16 -26
- package/admin/src/content-manager/components/ComponentIcon/constants.js +133 -0
- package/admin/src/content-manager/components/DynamicTable/BulkActionsBar/index.js +307 -0
- package/admin/src/content-manager/components/DynamicTable/index.js +20 -4
- package/admin/src/content-manager/components/DynamicZone/components/AddComponentButton.js +32 -95
- package/admin/src/content-manager/components/DynamicZone/components/ComponentCard.js +10 -2
- package/admin/src/content-manager/components/DynamicZone/components/ComponentCategory.js +63 -15
- package/admin/src/content-manager/components/DynamicZone/components/ComponentPicker.js +50 -63
- package/admin/src/content-manager/components/DynamicZone/components/DynamicComponent.js +132 -58
- package/admin/src/content-manager/components/DynamicZone/components/DynamicZoneLabel.js +29 -37
- package/admin/src/content-manager/components/DynamicZone/index.js +131 -83
- package/admin/src/content-manager/components/EditViewDataManagerProvider/index.js +12 -4
- package/admin/src/content-manager/components/EditViewDataManagerProvider/reducer.js +18 -6
- package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/index.js +0 -1
- package/admin/src/content-manager/components/Inputs/index.js +18 -11
- package/admin/src/content-manager/components/Inputs/utils/index.js +0 -1
- package/admin/src/content-manager/pages/EditSettingsView/components/DynamicZoneList.js +7 -1
- package/admin/src/content-manager/pages/EditView/index.js +1 -1
- package/admin/src/content-manager/pages/ListView/index.js +118 -2
- package/admin/src/content-manager/utils/index.js +2 -0
- package/admin/src/content-manager/{components/EditViewDataManagerProvider/utils → utils}/schema.js +1 -1
- package/admin/src/injectionZones.js +6 -1
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/EventTable/EventTableCE.js +13 -0
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/EventTable/index.js +3 -0
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/Events/index.js +331 -0
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/HeadersInput/Combobox.js +54 -4
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/HeadersInput/index.js +12 -23
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/WebhookForm/index.js +129 -116
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/WebhookForm/utils/makeWebhookValidationSchema.js +62 -0
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/index.js +59 -64
- package/admin/src/translations/en.json +11 -1
- package/build/3562.e0b1a0b3.chunk.js +50 -0
- package/build/371.6e4e2c1f.chunk.js +71 -0
- package/build/5297.31c9ffdc.chunk.js +39 -0
- package/build/{5563.79950369.chunk.js → 5563.badbffde.chunk.js} +2 -2
- package/build/{3081.7e9329cb.chunk.js → 6691.f7a3b5ac.chunk.js} +2 -2
- package/build/6970.d456705f.chunk.js +1 -0
- package/build/{7259.5cc67413.chunk.js → 7259.5d0de931.chunk.js} +1 -1
- package/build/8976.0022f5a3.chunk.js +50 -0
- package/build/{1657.3f2b2c11.chunk.js → 9932.5ef475c5.chunk.js} +54 -54
- package/build/Admin-authenticatedApp.ab2b5910.chunk.js +79 -0
- package/build/{Admin_InternalErrorPage.96ceaae1.chunk.js → Admin_InternalErrorPage.f25f04f3.chunk.js} +1 -1
- package/build/{Admin_homePage.94dc81b1.chunk.js → Admin_homePage.05063e43.chunk.js} +16 -16
- package/build/{Admin_marketplace.1b0c3d3b.chunk.js → Admin_marketplace.005d2d5b.chunk.js} +11 -11
- package/build/{Admin_pluginsPage.a28b96d5.chunk.js → Admin_pluginsPage.5d9d4060.chunk.js} +1 -1
- package/build/{Admin_profilePage.a8fa3a56.chunk.js → Admin_profilePage.ab7b94d7.chunk.js} +2 -2
- package/build/{Admin_settingsPage.ee76d19e.chunk.js → Admin_settingsPage.07a6a5f0.chunk.js} +2 -2
- package/build/{Upload_ConfigureTheView.aa64ed9a.chunk.js → Upload_ConfigureTheView.121deffb.chunk.js} +1 -1
- package/build/{admin-app.bd209f08.chunk.js → admin-app.7cc667be.chunk.js} +10 -10
- package/build/{admin-edit-roles-page.0d12b741.chunk.js → admin-edit-roles-page.bfe3304d.chunk.js} +3 -3
- package/build/{admin-edit-users.f9ce7844.chunk.js → admin-edit-users.6efe0382.chunk.js} +2 -2
- package/build/{admin-roles-list.af53b372.chunk.js → admin-roles-list.b2577370.chunk.js} +1 -1
- package/build/{admin-users.0fc77b35.chunk.js → admin-users.4af49ccf.chunk.js} +2 -2
- package/build/{api-tokens-create-page.973d2816.chunk.js → api-tokens-create-page.65411a36.chunk.js} +1 -1
- package/build/{api-tokens-edit-page.29725c5e.chunk.js → api-tokens-edit-page.60312cb6.chunk.js} +1 -1
- package/build/{api-tokens-list-page.66c4fbdd.chunk.js → api-tokens-list-page.01a4d5cd.chunk.js} +2 -2
- package/build/audit-logs-settings-page.b165679b.chunk.js +16 -0
- package/build/content-manager.8cc6c3f9.chunk.js +1094 -0
- package/build/content-type-builder-list-view.58f9ed20.chunk.js +211 -0
- package/build/{content-type-builder-translation-en-json.af293c9e.chunk.js → content-type-builder-translation-en-json.f592325b.chunk.js} +1 -1
- package/build/content-type-builder.baeb0413.chunk.js +132 -0
- package/build/{email-settings-page.63f269ff.chunk.js → email-settings-page.8caad83f.chunk.js} +1 -1
- package/build/en-json.a8f34002.chunk.js +1 -0
- package/build/i18n-settings-page.579d5eab.chunk.js +9 -0
- package/build/i18n-translation-en-json.1ec7becf.chunk.js +1 -0
- package/build/index.html +1 -1
- package/build/main.1d678f7b.js +2926 -0
- package/build/{review-workflows-settings.56cab253.chunk.js → review-workflows-settings.3a7bae25.chunk.js} +2 -2
- package/build/{runtime~main.0dfc909e.js → runtime~main.9dbd4553.js} +2 -2
- package/build/{sso-settings-page.265e3d72.chunk.js → sso-settings-page.4bb073e0.chunk.js} +1 -1
- package/build/{transfer-tokens-create-page.170acee6.chunk.js → transfer-tokens-create-page.9ec277d7.chunk.js} +1 -1
- package/build/{transfer-tokens-edit-page.6cf23295.chunk.js → transfer-tokens-edit-page.fa5ade14.chunk.js} +1 -1
- package/build/{transfer-tokens-list-page.c3fec4c1.chunk.js → transfer-tokens-list-page.5d68d590.chunk.js} +2 -2
- package/build/{upload-settings.1d187578.chunk.js → upload-settings.2c1565d6.chunk.js} +1 -1
- package/build/{upload.bc340679.chunk.js → upload.257b2aef.chunk.js} +1 -1
- package/build/{users-advanced-settings-page.7b4bf63a.chunk.js → users-advanced-settings-page.ddd29040.chunk.js} +1 -1
- package/build/{users-email-settings-page.035a026c.chunk.js → users-email-settings-page.717e2a51.chunk.js} +1 -1
- package/build/{users-providers-settings-page.6873dce9.chunk.js → users-providers-settings-page.c7eae829.chunk.js} +1 -1
- package/build/{users-roles-settings-page.2549794b.chunk.js → users-roles-settings-page.63cf2838.chunk.js} +1 -1
- package/build/webhook-edit-page.8576742e.chunk.js +31 -0
- package/build/{webhook-list-page.0861d3e9.chunk.js → webhook-list-page.abf5747c.chunk.js} +1 -1
- package/ee/admin/pages/SettingsPage/pages/Webhooks/EditView/components/EventTable/EventTableEE.js +23 -0
- package/ee/admin/pages/SettingsPage/pages/Webhooks/EditView/components/EventTable/index.js +3 -0
- package/package.json +13 -13
- package/admin/src/content-manager/components/DynamicTable/ConfirmDialogDeleteAll/index.js +0 -73
- package/admin/src/content-manager/components/DynamicZone/utils/connect.js +0 -12
- package/admin/src/content-manager/components/DynamicZone/utils/select.js +0 -53
- package/admin/src/content-manager/components/Inputs/utils/getStep.js +0 -13
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/EventInput/EventRow.js +0 -70
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/EventInput/index.js +0 -174
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/HeadersInput/keys.js +0 -39
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/utils/fieldsRegex.js +0 -4
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/utils/schema.js +0 -35
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/reducer.js +0 -100
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/utils/formatData.js +0 -20
- package/build/462.6f8cbd19.chunk.js +0 -71
- package/build/617.0518c0ba.chunk.js +0 -155
- package/build/6858.85d76858.chunk.js +0 -50
- package/build/6970.6a329e15.chunk.js +0 -1
- package/build/9036.f7ce35cc.chunk.js +0 -211
- package/build/Admin-authenticatedApp.e7ca2959.chunk.js +0 -79
- package/build/audit-logs-settings-page.6bc76e7d.chunk.js +0 -121
- package/build/content-manager.8bfce7f0.chunk.js +0 -1123
- package/build/content-type-builder-list-view.26aab6f3.chunk.js +0 -215
- package/build/content-type-builder.b10576e7.chunk.js +0 -126
- package/build/en-json.ba3290b8.chunk.js +0 -1
- package/build/i18n-settings-page.2ac4ca58.chunk.js +0 -114
- package/build/i18n-translation-en-json.60af6722.chunk.js +0 -1
- package/build/main.aca47de6.js +0 -2633
- package/build/webhook-edit-page.0bc97587.chunk.js +0 -128
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const cleanData = (data) => {
|
|
2
|
-
return { ...data, headers: unformatHeaders(data.headers) };
|
|
3
|
-
};
|
|
4
|
-
|
|
5
|
-
const unformatHeaders = (headers) => {
|
|
6
|
-
return headers.reduce((acc, current) => {
|
|
7
|
-
const { key, value } = current;
|
|
8
|
-
|
|
9
|
-
if (key !== '') {
|
|
10
|
-
return {
|
|
11
|
-
...acc,
|
|
12
|
-
[key]: value,
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
return acc;
|
|
17
|
-
}, {});
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export default cleanData;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[462],{84802:function(i){function o(t,e,r,n){for(var s=-1,c=t==null?0:t.length;++s<c;){var l=t[s];e(n,l,r(l),t)}return n}i.exports=o},88058:function(i,o,t){var e=t(87650);function r(n,s){var c=n==null?0:n.length;return!!c&&e(n,s,0)>-1}i.exports=r},37431:function(i){function o(t,e,r){for(var n=-1,s=t==null?0:t.length;++n<s;)if(r(e,t[n]))return!0;return!1}i.exports=o},23089:function(i,o,t){var e=t(61712),r=e("length");i.exports=r},62435:function(i,o,t){var e=t(56671);function r(n,s,c,l){return e(n,function(d,E,g){s(l,d,c(d),g)}),l}i.exports=r},60528:function(i){function o(t,e,r,n){for(var s=t.length,c=r+(n?1:-1);n?c--:++c<s;)if(e(t[c],c,t))return c;return-1}i.exports=o},87650:function(i,o,t){var e=t(60528),r=t(25556),n=t(54256);function s(c,l,d){return l===l?n(c,l,d):e(c,r,d)}i.exports=s},25556:function(i){function o(t){return t!==t}i.exports=o},84351:function(i,o,t){var e=t(61124),r=t(88058),n=t(37431),s=t(30555),c=t(58491),l=t(66350),d=200;function E(g,w,m){var h=-1,a=r,u=g.length,_=!0,p=[],v=p;if(m)_=!1,a=n;else if(u>=d){var x=w?null:c(g);if(x)return l(x);_=!1,a=s,v=new e}else v=w?[]:p;t:for(;++h<u;){var f=g[h],j=w?w(f):f;if(f=m||f!==0?f:0,_&&j===j){for(var Z=v.length;Z--;)if(v[Z]===j)continue t;w&&v.push(j),p.push(f)}else a(v,j,m)||(v!==p&&v.push(j),p.push(f))}return p}i.exports=E},85580:function(i,o,t){var e=t(84802),r=t(62435),n=t(88904),s=t(77236);function c(l,d){return function(E,g){var w=s(E)?e:r,m=d?d():{};return w(E,l,n(g,2),m)}}i.exports=c},58491:function(i,o,t){var e=t(69902),r=t(13581),n=t(66350),s=1/0,c=e&&1/n(new e([,-0]))[1]==s?function(l){return new e(l)}:r;i.exports=c},54256:function(i){function o(t,e,r){for(var n=r-1,s=t.length;++n<s;)if(t[n]===e)return n;return-1}i.exports=o},38788:function(i,o,t){var e=t(23089),r=t(34327),n=t(71286);function s(c){return r(c)?n(c):e(c)}i.exports=s},71286:function(i){var o="\\ud800-\\udfff",t="\\u0300-\\u036f",e="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",n=t+e+r,s="\\ufe0e\\ufe0f",c="["+o+"]",l="["+n+"]",d="\\ud83c[\\udffb-\\udfff]",E="(?:"+l+"|"+d+")",g="[^"+o+"]",w="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",h="\\u200d",a=E+"?",u="["+s+"]?",_="(?:"+h+"(?:"+[g,w,m].join("|")+")"+u+a+")*",p=u+a+_,v="(?:"+[g+l+"?",l,w,m,c].join("|")+")",x=RegExp(d+"(?="+d+")|"+v+p,"g");function f(j){for(var Z=x.lastIndex=0;x.test(j);)++Z;return Z}i.exports=f},81346:function(i,o,t){var e=t(40999),r=t(85580),n=Object.prototype,s=n.hasOwnProperty,c=r(function(l,d,E){s.call(l,E)?l[E].push(d):e(l,E,[d])});i.exports=c},34461:function(i,o,t){var e=t(94318),r=t(77236),n=t(3387),s="[object String]";function c(l){return typeof l=="string"||!r(l)&&n(l)&&e(l)==s}i.exports=c},13581:function(i){function o(){}i.exports=o},61868:function(i,o,t){var e=t(78803),r=t(26686),n=t(81580),s=t(34461),c=t(38788),l="[object Map]",d="[object Set]";function E(g){if(g==null)return 0;if(n(g))return s(g)?c(g):g.length;var w=r(g);return w==l||w==d?g.size:e(g).length}i.exports=E},59578:function(i,o,t){var e=t(41119);function r(n){return e(n).toLowerCase()}i.exports=r},91815:function(i,o,t){var e=t(84351);function r(n){return n&&n.length?e(n):[]}i.exports=r},98178:function(i,o,t){"use strict";t.d(o,{P1:function(){return g}});var e="NOT_FOUND";function r(m){var h;return{get:function(u){return h&&m(h.key,u)?h.value:e},put:function(u,_){h={key:u,value:_}},getEntries:function(){return h?[h]:[]},clear:function(){h=void 0}}}function n(m,h){var a=[];function u(x){var f=a.findIndex(function(Z){return h(x,Z.key)});if(f>-1){var j=a[f];return f>0&&(a.splice(f,1),a.unshift(j)),j.value}return e}function _(x,f){u(x)===e&&(a.unshift({key:x,value:f}),a.length>m&&a.pop())}function p(){return a}function v(){a=[]}return{get:u,put:_,getEntries:p,clear:v}}var s=function(h,a){return h===a};function c(m){return function(a,u){if(a===null||u===null||a.length!==u.length)return!1;for(var _=a.length,p=0;p<_;p++)if(!m(a[p],u[p]))return!1;return!0}}function l(m,h){var a=typeof h=="object"?h:{equalityCheck:h},u=a.equalityCheck,_=u===void 0?s:u,p=a.maxSize,v=p===void 0?1:p,x=a.resultEqualityCheck,f=c(_),j=v===1?r(f):n(v,f);function Z(){var M=j.get(arguments);if(M===e){if(M=m.apply(null,arguments),x){var C=j.getEntries(),P=C.find(function(B){return x(B.value,M)});P&&(M=P.value)}j.put(arguments,M)}return M}return Z.clearCache=function(){return j.clear()},Z}function d(m){var h=Array.isArray(m[0])?m[0]:m;if(!h.every(function(u){return typeof u=="function"})){var a=h.map(function(u){return typeof u=="function"?"function "+(u.name||"unnamed")+"()":typeof u}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+a+"]")}return h}function E(m){for(var h=arguments.length,a=new Array(h>1?h-1:0),u=1;u<h;u++)a[u-1]=arguments[u];var _=function(){for(var v=arguments.length,x=new Array(v),f=0;f<v;f++)x[f]=arguments[f];var j=0,Z,M={memoizeOptions:void 0},C=x.pop();if(typeof C=="object"&&(M=C,C=x.pop()),typeof C!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof C+"]");var P=M,B=P.memoizeOptions,O=B===void 0?a:B,b=Array.isArray(O)?O:[O],R=d(x),I=m.apply(void 0,[function(){return j++,C.apply(null,arguments)}].concat(b)),A=m(function(){for(var S=[],T=R.length,F=0;F<T;F++)S.push(R[F].apply(null,arguments));return Z=I.apply(null,S),Z});return Object.assign(A,{resultFunc:C,memoizedResultFunc:I,dependencies:R,lastResult:function(){return Z},recomputations:function(){return j},resetRecomputations:function(){return j=0}}),A};return _}var g=E(l),w=function(h,a){if(a===void 0&&(a=g),typeof h!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof h));var u=Object.keys(h),_=a(u.map(function(p){return h[p]}),function(){for(var p=arguments.length,v=new Array(p),x=0;x<p;x++)v[x]=arguments[x];return v.reduce(function(f,j,Z){return f[u[Z]]=j,f},{})});return _}},96709:function(i,o,t){"use strict";t.d(o,{A:function(){return l}});var e=t(74512),r=t(8471),n=t(72850);const s=(0,r.ZP)(n.x)`
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-template-columns: ${({hasSideNav:d})=>d?"auto 1fr":"1fr"};
|
|
4
|
-
`,c=(0,r.ZP)(n.x)`
|
|
5
|
-
overflow-x: hidden;
|
|
6
|
-
`,l=({sideNav:d,children:E})=>(0,e.jsxs)(s,{hasSideNav:!!d,children:[d,(0,e.jsx)(c,{paddingBottom:10,children:E})]})},90700:function(i,o,t){"use strict";t.d(o,{m:function(){return l}});var e=t(74512),r=t(8471),n=t(15335);const s=`${232/16}rem`,c=(0,r.ZP)(n.r)`
|
|
7
|
-
width: ${s};
|
|
8
|
-
background: ${({theme:d})=>d.colors.neutral100};
|
|
9
|
-
position: sticky;
|
|
10
|
-
top: 0;
|
|
11
|
-
height: 100vh;
|
|
12
|
-
overflow-y: auto;
|
|
13
|
-
border-right: 1px solid ${({theme:d})=>d.colors.neutral200};
|
|
14
|
-
z-index: 1;
|
|
15
|
-
`,l=({ariaLabel:d,...E})=>(0,e.jsx)(c,{"aria-label":d,as:"nav",...E})},78090:function(i,o,t){"use strict";t.d(o,{p:function(){return p}});var e=t(74512),r=t(32735),n=t(6792),s=t(8471),c=t(94486),l=t(74971);const d=v=>{const x=(0,r.useRef)();return(0,r.useEffect)(()=>{x.current=v}),x.current};var E=t(9026),g=t(72850),w=t(89252),m=t(61774),h=t(87933),a=t(49372),u=t(50563);const _=(0,s.ZP)(E.i)`
|
|
16
|
-
width: ${24/16}rem;
|
|
17
|
-
background-color: ${({theme:v})=>v.colors.neutral200};
|
|
18
|
-
`,p=({as:v="h2",label:x,searchLabel:f="",searchable:j=!1,onChange:Z=()=>{},value:M="",onClear:C=()=>{},onSubmit:P=()=>{},id:B})=>{const[O,b]=(0,r.useState)(!1),R=d(O),I=(0,l.M)(B),A=(0,r.useRef)(void 0),D=(0,r.useRef)(void 0);(0,r.useEffect)(()=>{O&&A.current&&A.current.focus(),R&&!O&&D.current&&D.current.focus()},[O,R]);const S=()=>{b(y=>!y)},T=y=>{C(y),A.current.focus()},F=y=>{y.relatedTarget?.id!==I&&b(!1)},L=y=>{y.key===c.y.ESCAPE&&b(!1)};return O?(0,e.jsxs)(g.x,{paddingLeft:4,paddingTop:5,paddingBottom:2,paddingRight:4,children:[(0,e.jsx)(w.U,{children:(0,e.jsx)(m.w,{name:"searchbar",value:M,onChange:Z,placeholder:"e.g: strapi-plugin-abcd",onKeyDown:L,ref:A,onBlur:F,onClear:T,onSubmit:P,clearLabel:"Clear",size:"S",children:f})}),(0,e.jsx)(g.x,{paddingLeft:2,paddingTop:4,children:(0,e.jsx)(_,{})})]}):(0,e.jsxs)(g.x,{paddingLeft:6,paddingTop:6,paddingBottom:2,paddingRight:4,children:[(0,e.jsxs)(h.k,{justifyContent:"space-between",alignItems:"flex-start",children:[(0,e.jsx)(a.Z,{variant:"beta",as:v,children:x}),j&&(0,e.jsx)(u.h,{ref:D,onClick:S,label:f,icon:(0,e.jsx)(n.Z,{})})]}),(0,e.jsx)(g.x,{paddingTop:4,children:(0,e.jsx)(_,{})})]})}},66618:function(i,o,t){"use strict";t.d(o,{E:function(){return h}});var e=t(74512),r=t(32735),n=t(56243),s=t(8471),c=t(72850),l=t(49372),d=t(87933),E=t(62499);const g=(0,s.ZP)(c.x)`
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
justify-content: space-between;
|
|
22
|
-
text-decoration: none;
|
|
23
|
-
color: ${({theme:a})=>a.colors.neutral800};
|
|
24
|
-
svg > * {
|
|
25
|
-
fill: ${({theme:a})=>a.colors.neutral600};
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.active {
|
|
29
|
-
${({theme:a})=>`
|
|
30
|
-
background-color: ${a.colors.primary100};
|
|
31
|
-
border-right: 2px solid ${a.colors.primary600};
|
|
32
|
-
svg > * {
|
|
33
|
-
fill: ${a.colors.primary700};
|
|
34
|
-
}
|
|
35
|
-
${l.Z} {
|
|
36
|
-
color: ${a.colors.primary700};
|
|
37
|
-
font-weight: 500;
|
|
38
|
-
}
|
|
39
|
-
`}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:focus-visible {
|
|
43
|
-
outline-offset: -2px;
|
|
44
|
-
}
|
|
45
|
-
`,w=(0,s.ZP)(n.Z)`
|
|
46
|
-
width: ${12/16}rem;
|
|
47
|
-
height: ${4/16}rem;
|
|
48
|
-
* {
|
|
49
|
-
fill: ${({theme:a,$active:u})=>u?a.colors.primary600:a.colors.neutral600};
|
|
50
|
-
}
|
|
51
|
-
`,m=s.ZP.div`
|
|
52
|
-
svg {
|
|
53
|
-
height: ${12/16}rem;
|
|
54
|
-
width: ${12/16}rem;
|
|
55
|
-
}
|
|
56
|
-
`,h=r.forwardRef(({children:a,icon:u=null,withBullet:_=!1,as:p=E.f,isSubSectionChild:v=!1,...x},f)=>(0,e.jsxs)(g,{as:p,icon:u,background:"neutral100",paddingLeft:v?9:7,paddingBottom:2,paddingTop:2,ref:f,...x,children:[(0,e.jsxs)(d.k,{children:[u?(0,e.jsx)(m,{children:u}):(0,e.jsx)(w,{}),(0,e.jsx)(c.x,{paddingLeft:2,children:(0,e.jsx)(l.Z,{as:"span",children:a})})]}),_&&(0,e.jsx)(c.x,{as:d.k,paddingRight:4,children:(0,e.jsx)(w,{$active:!0})})]}))},79318:function(i,o,t){"use strict";t.d(o,{D:function(){return u}});var e=t(74512),r=t(32735),n=t(8471),s=t(16899),c=t(87933),l=t(72850),d=t(49372);const E=(0,n.ZP)(c.k)`
|
|
57
|
-
border: none;
|
|
58
|
-
padding: 0;
|
|
59
|
-
background: transparent;
|
|
60
|
-
`,g=n.ZP.div`
|
|
61
|
-
display: flex;
|
|
62
|
-
align-items: center;
|
|
63
|
-
transform: rotateX(${({rotated:_})=>_?"0deg":"180deg"});
|
|
64
|
-
`,w=({collapsable:_=!1,label:p,onClick:v=()=>{},ariaExpanded:x,ariaControls:f})=>_?(0,e.jsxs)(E,{as:"button",onClick:v,"aria-expanded":x,"aria-controls":f,textAlign:"left",children:[(0,e.jsx)(l.x,{paddingRight:1,children:(0,e.jsx)(d.Z,{variant:"sigma",textColor:"neutral600",children:p})}),_&&(0,e.jsx)(g,{rotated:x,children:(0,e.jsx)(s.Z,{"aria-hidden":!0})})]}):(0,e.jsx)(E,{children:(0,e.jsx)(l.x,{paddingRight:1,children:(0,e.jsx)(d.Z,{variant:"sigma",textColor:"neutral600",children:p})})});var m=t(74971),h=t(6518);const a=(0,n.ZP)(l.x)`
|
|
65
|
-
svg {
|
|
66
|
-
height: ${4/16}rem;
|
|
67
|
-
path {
|
|
68
|
-
fill: ${({theme:_})=>_.colors.neutral500};
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
`,u=({collapsable:_=!1,label:p,badgeLabel:v,children:x,id:f})=>{const[j,Z]=(0,r.useState)(!0),M=(0,m.M)(f);return(0,e.jsxs)(c.k,{direction:"column",alignItems:"stretch",gap:1,children:[(0,e.jsx)(a,{paddingLeft:6,paddingTop:2,paddingBottom:2,paddingRight:4,children:(0,e.jsxs)(l.x,{position:"relative",paddingRight:v?6:0,children:[(0,e.jsx)(w,{onClick:()=>{Z(C=>!C)},ariaExpanded:j,ariaControls:M,collapsable:_,label:p}),v&&(0,e.jsx)(h.C,{backgroundColor:"neutral150",textColor:"neutral600",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:v})]})}),(!_||j)&&(0,e.jsx)("ol",{id:M,children:r.Children.map(x,(C,P)=>(0,e.jsx)("li",{children:C},P))})]})}},77013:function(i,o,t){"use strict";t.d(o,{Z:function(){return c}});var e=t(74512),r=t(32735),n=t(72850),s=t(87933);const c=({children:l,spacing:d=2,horizontal:E=!1,...g})=>(0,e.jsx)(n.x,{paddingTop:2,paddingBottom:4,children:(0,e.jsx)(s.k,{as:"ol",gap:d,direction:E?"row":"column",alignItems:E?"center":"stretch",...g,children:r.Children.map(l,(w,m)=>(0,e.jsx)("li",{children:w},m))})})},73779:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#EAFBE7",stroke:"#C6F0C2",rx:2.5}),(0,e.jsx)("path",{fill:"#328048",d:"M19.5 7h-7A4.505 4.505 0 0 0 8 11.5c0 2.481 2.019 4.5 4.5 4.5h7c2.481 0 4.5-2.019 4.5-4.5S21.981 7 19.5 7Zm0 8a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7Z"})]}),n=r},1176:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#F6F6F9",stroke:"#DCDCE4",rx:2.5}),(0,e.jsx)("path",{fill:"#666687",fillRule:"evenodd",d:"M13.535 8.768c0 .116-.011.229-.032.339l3.013 1.776 2.985-1.76a1.768 1.768 0 1 1 .519.93l-2.982 1.757v2.477a1.768 1.768 0 1 1-1.048-.044v-2.435l-2.997-1.767a1.768 1.768 0 1 1 .542-1.274Z",clipRule:"evenodd"}),(0,e.jsx)("path",{fill:"#666687",d:"m13.503 9.107-.05-.01-.006.035.03.018.026-.043Zm3.013 1.776-.025.043.025.014.025-.014-.025-.043Zm2.985-1.76.025.044.031-.018-.007-.035-.05.01Zm.518.93.035-.036-.027-.026-.033.02.026.042Zm-2.98 1.757-.026-.043-.025.014v.029h.05Zm0 2.477h-.05v.035l.032.012.017-.047Zm-1.049-.044.013.048.037-.01v-.038h-.05Zm0-2.435h.05v-.029l-.024-.014-.026.043Zm-2.997-1.767.025-.043-.033-.019-.027.027.035.035Zm.559-.925c.022-.113.033-.23.033-.348h-.1c0 .112-.01.223-.031.33l.098.018Zm2.99 1.723-3.014-1.775-.05.086 3.013 1.775.05-.086Zm2.933-1.758-2.984 1.758.05.086 2.985-1.758-.05-.086Zm-.06-.313c0 .125.013.247.037.366l.098-.02a1.723 1.723 0 0 1-.035-.346h-.1Zm1.818-1.818a1.818 1.818 0 0 0-1.818 1.818h.1c0-.949.769-1.718 1.718-1.718v-.1Zm1.817 1.818a1.818 1.818 0 0 0-1.817-1.818v.1c.948 0 1.717.769 1.717 1.718h.1Zm-1.817 1.817a1.818 1.818 0 0 0 1.817-1.817h-.1c0 .948-.769 1.717-1.717 1.717v.1Zm-1.248-.495c.326.307.765.495 1.248.495v-.1c-.457 0-.872-.178-1.18-.468l-.068.073Zm-2.921 1.763 2.98-1.757-.05-.086-2.981 1.757.05.086Zm.024 2.434V11.81h-.1v2.477h.1Zm-.067.047a1.718 1.718 0 0 1 1.14 1.618h.1c0-.79-.503-1.46-1.206-1.712l-.034.094Zm1.14 1.618c0 .948-.77 1.717-1.718 1.717v.1a1.817 1.817 0 0 0 1.817-1.817h-.1Zm-1.718 1.717a1.718 1.718 0 0 1-1.718-1.717h-.1c0 1.004.814 1.817 1.818 1.817v-.1Zm-1.718-1.717c0-.797.543-1.467 1.278-1.66l-.026-.098a1.818 1.818 0 0 0-1.352 1.758h.1Zm1.215-4.144v2.435h.1v-2.435h-.1Zm-2.973-1.723 2.998 1.766.05-.086-2.997-1.767-.05.087Zm-1.2.5c.49 0 .934-.193 1.26-.507l-.069-.072c-.309.296-.728.48-1.19.48v.1ZM9.95 8.768c0 1.003.814 1.817 1.818 1.817v-.1a1.718 1.718 0 0 1-1.718-1.717h-.1Zm1.818-1.818A1.818 1.818 0 0 0 9.95 8.768h.1c0-.949.769-1.718 1.717-1.718v-.1Zm1.817 1.818a1.818 1.818 0 0 0-1.818-1.818v.1c.95 0 1.718.769 1.718 1.718h.1Z"})]}),n=r},88675:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.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,e.jsx)("path",{fill:"#D9822F",fillRule:"evenodd",d:"M11.934 7.495V6h1.45v1.495h5.232V6h1.45v1.495h.314c1.385 0 1.602.249 1.62 1.463V16.5c0 1.062-.096 1.5-1.4 1.5h-9.19c-1.306 0-1.41-.318-1.41-1.607V9.105c.018-1.025.117-1.61 1.5-1.61h.434Zm-.774 8.687c0 .406.123.433.388.433h8.953c.265 0 .34-.007.34-.413v-6.087c-.008-.314-.11-.369-.316-.369h-9.072c-.206 0-.296.045-.293.287v6.15Z",clipRule:"evenodd"})]}),n=r},56243:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 4 4",...s,children:(0,e.jsx)("rect",{width:4,height:4,fill:"#A5A5BA",rx:2})}),n=r},15431:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#F6F6F9",stroke:"#DCDCE4",rx:2.5}),(0,e.jsx)("path",{fill:"#666687",d:"M20.573 8c-1.484 0-2.666.745-3.397 1.37l-.026.023-.416.452.919 1.51.68-.682c.711-.6 1.506-.93 2.24-.93 1.48 0 2.685 1.171 2.685 2.612 0 1.44-1.205 2.613-2.685 2.613-2.25 0-3.78-2.974-3.795-3.004C16.69 11.784 14.75 8 11.428 8 8.985 8 7 9.954 7 12.355c0 2.401 1.986 4.355 4.427 4.355 1.196 0 2.373-.476 3.404-1.376l.022-.02.413-.45-.919-1.51-.683.686c-.712.616-1.465.928-2.237.928-1.48 0-2.685-1.172-2.685-2.613 0-1.44 1.205-2.613 2.685-2.613 2.25 0 3.78 2.974 3.795 3.004.088.18 2.028 3.964 5.35 3.964 2.442 0 4.428-1.954 4.428-4.355C25 9.954 23.014 8 20.573 8Z"})]}),n=r},22348:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#FCECEA",stroke:"#F5C0B8",rx:2.5}),(0,e.jsx)("path",{fill:"#D02B20",d:"M16.767 17.49c.724 0 1.428-.089 1.962-.253v-1.093c-.383.143-1.128.239-1.86.239-2.905 0-4.744-1.764-4.744-4.546v-.014c0-2.734 1.839-4.641 4.484-4.641 2.598 0 4.307 1.62 4.307 4.088v.013c0 1.402-.444 2.304-1.135 2.304-.417 0-.656-.287-.656-.772V9.157h-1.38v.82h-.124c-.273-.608-.868-.97-1.6-.97-1.367 0-2.296 1.135-2.296 2.789v.014c0 1.73.943 2.884 2.365 2.884.793 0 1.353-.362 1.64-1.052h.123l.007.04c.158.636.78 1.033 1.62 1.033 1.655 0 2.687-1.367 2.687-3.534v-.014c0-3.008-2.242-5.072-5.517-5.072-3.418 0-5.776 2.324-5.776 5.694v.014c0 3.431 2.331 5.687 5.893 5.687Zm-.342-4.053c-.718 0-1.149-.602-1.149-1.586v-.014c0-.991.431-1.586 1.156-1.586.724 0 1.182.608 1.182 1.586v.014c0 .977-.458 1.585-1.19 1.585Z"})]}),n=r},7184:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#F6ECFC",stroke:"#E0C1F4",rx:2.5}),(0,e.jsx)("path",{fill:"#9736E8",fillRule:"evenodd",d:"M10.167 7a1.167 1.167 0 1 0 0 2.333 1.167 1.167 0 0 0 0-2.333Zm0 4.03a1.167 1.167 0 1 0 0 2.334 1.167 1.167 0 0 0 0-2.334ZM9 16.23a1.167 1.167 0 1 1 2.333 0 1.167 1.167 0 0 1-2.333 0Zm4.005-9.02a.4.4 0 0 0-.4.4v1.11c0 .22.18.4.4.4H22.6a.4.4 0 0 0 .4-.4V7.61a.4.4 0 0 0-.4-.4h-9.594Zm-.399 4.432a.4.4 0 0 1 .4-.4H22.6c.22 0 .4.18.4.4v1.11a.4.4 0 0 1-.4.4h-9.594a.4.4 0 0 1-.4-.4v-1.11Zm.4 3.63a.4.4 0 0 0-.4.4v1.11c0 .22.18.4.4.4H22.6a.4.4 0 0 0 .4-.4v-1.11a.4.4 0 0 0-.4-.4h-9.594Z",clipRule:"evenodd"})]}),n=r},872:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#EAF5FF",stroke:"#B8E1FF",rx:2.5}),(0,e.jsx)("path",{fill:"#0C75AF",fillRule:"evenodd",d:"M8.243 11.907v.157c.835.093 1.287.516 1.287 1.223V14.5c0 .693.236.959.855.959h.216V16.5h-.364c-1.459 0-2.078-.56-2.078-1.857v-.973c0-.722-.314-.992-1.159-1.002v-1.366c.84-.005 1.16-.275 1.16-1.002v-.968c0-1.282.618-1.832 2.077-1.832h.364v1.041h-.216c-.624 0-.855.266-.855.958v1.184c0 .713-.452 1.135-1.287 1.224Zm15.804.181v-.157c-.835-.088-1.287-.51-1.287-1.223V9.495c0-.693-.236-.954-.855-.954h-.216V7.5h.363c1.454 0 2.073.56 2.073 1.852v.973c0 .722.32.997 1.165 1.002v1.366c-.845.005-1.165.28-1.165 1.002v.973c0 1.282-.613 1.832-2.073 1.832h-.363v-1.046h.216c.619 0 .855-.26.855-.954v-1.188c0-.708.452-1.13 1.287-1.224ZM13.15 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"})]}),n=r},43475:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#F6ECFC",stroke:"#E0C1F4",rx:2.5}),(0,e.jsx)("path",{fill:"#9736E8",fillRule:"evenodd",d:"M22 8.759a2 2 0 0 0-2-2h-8c-1.105 0-2 .902-2 2.006v6.068a2 2 0 0 0 .985 1.724l3.66-3.74 3.31 3.381 1.471-1.502 1.731 1.769c.51-.363.843-.958.843-1.632V8.76ZM18.5 9c-.84 0-1.5.66-1.5 1.5s.66 1.5 1.5 1.5 1.5-.66 1.5-1.5S19.34 9 18.5 9Z",clipRule:"evenodd"})]}),n=r},32031:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#FCECEA",stroke:"#F5C0B8",rx:2.5}),(0,e.jsx)("path",{fill:"#D02B20",d:"M9.815 16h1.475V8.954H9.82L8 10.22v1.328l1.729-1.201h.087V16Zm3.394 0h5.083v-1.187h-3.106v-.112l1.304-1.216c1.284-1.186 1.7-1.85 1.7-2.651v-.015c0-1.215-1.016-2.046-2.466-2.046-1.543 0-2.598.928-2.598 2.28l.005.02h1.362v-.024c0-.67.474-1.128 1.162-1.128.674 0 1.084.42 1.084 1.02v.015c0 .493-.268.85-1.26 1.812l-2.27 2.24V16Zm9.067.156c1.646 0 2.744-.864 2.744-2.143v-.01c0-.957-.683-1.563-1.733-1.66v-.03c.825-.17 1.47-.742 1.47-1.62v-.01c0-1.123-.977-1.885-2.49-1.885-1.48 0-2.471.82-2.574 2.08l-.005.059h1.358l.005-.044c.058-.586.522-.962 1.216-.962.693 0 1.098.361 1.098.947v.01c0 .571-.478.962-1.22.962h-.787v1.05h.806c.855 0 1.357.37 1.357 1.044v.01c0 .596-.493 1.016-1.245 1.016-.761 0-1.264-.39-1.328-.938l-.005-.053h-1.41l.004.063c.098 1.26 1.148 2.114 2.74 2.114Z"})]}),n=r},82512:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("path",{fill:"#F0F0FF",stroke:"#D9D8FF",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,e.jsx)("path",{fill:"#4945FF",fillRule:"evenodd",d:"M21.375 16.316c.417-.407.625-.904.625-1.492 0-.589-.206-1.089-.618-1.5l-1.53-1.53a2.042 2.042 0 0 0-1.5-.617 2.06 2.06 0 0 0-1.529.646l-.646-.646c.43-.422.646-.934.646-1.537a2.03 2.03 0 0 0-.61-1.493l-1.515-1.522a2.014 2.014 0 0 0-1.5-.625 2.03 2.03 0 0 0-1.492.61l-1.081 1.074A2.006 2.006 0 0 0 10 9.176c0 .589.206 1.089.618 1.5l1.53 1.53c.41.412.91.617 1.5.617a2.06 2.06 0 0 0 1.529-.646l.646.646a2.069 2.069 0 0 0-.646 1.537c0 .588.203 1.086.61 1.493l1.514 1.522c.407.417.907.625 1.5.625a2.03 2.03 0 0 0 1.493-.61l1.081-1.074Zm-5.956-6.678a.68.68 0 0 0-.205-.5l-1.515-1.522a.68.68 0 0 0-.5-.206.71.71 0 0 0-.5.199l-1.081 1.073a.672.672 0 0 0-.206.493.68.68 0 0 0 .206.5l1.53 1.53a.678.678 0 0 0 .5.198.71.71 0 0 0 .529-.228l-.14-.136a4.46 4.46 0 0 1-.158-.158 1.756 1.756 0 0 1-.11-.14.593.593 0 0 1-.122-.39.68.68 0 0 1 .206-.5.68.68 0 0 1 .5-.206.59.59 0 0 1 .39.121c.064.047.11.084.14.111.03.027.082.08.158.158l.136.14a.713.713 0 0 0 .242-.537Zm5.168 5.187a.68.68 0 0 0-.206-.5l-1.529-1.53a.68.68 0 0 0-.5-.205.7.7 0 0 0-.53.235l.14.136c.079.076.132.129.159.158.027.03.063.076.11.14a.591.591 0 0 1 .121.39.681.681 0 0 1-.206.5.681.681 0 0 1-.5.206.591.591 0 0 1-.39-.121 1.746 1.746 0 0 1-.14-.111 4.395 4.395 0 0 1-.157-.158 20.642 20.642 0 0 0-.136-.14.714.714 0 0 0-.037 1.037l1.515 1.522a.678.678 0 0 0 .5.198.708.708 0 0 0 .5-.19l1.08-1.074a.672.672 0 0 0 .206-.493Z",clipRule:"evenodd"})]}),n=r},83218:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#EAFBE7",stroke:"#C6F0C2",rx:2.5}),(0,e.jsx)("path",{fill:"#328048",d:"M8.62 16h1.857l.627-2.05h2.982l.627 2.05h1.863l-2.941-8.455h-2.08L8.619 16Zm3.925-6.768h.105l1.032 3.393h-2.174l1.037-3.393ZM21.65 16.1c1.612 0 2.62-1.26 2.62-3.323v-.011c0-2.075-.985-3.323-2.62-3.323-.884 0-1.605.434-1.933 1.137h-.106V7.082h-1.71V16h1.71v-1.002h.106c.334.697 1.02 1.102 1.933 1.102Zm-.585-1.418c-.903 0-1.471-.715-1.471-1.899v-.011c0-1.184.574-1.91 1.47-1.91.903 0 1.465.726 1.465 1.904v.011c0 1.19-.556 1.905-1.465 1.905Z"})]}),n=r},17757:function(i,o,t){"use strict";t.d(o,{Z:function(){return n}});var e=t(74512);const r=s=>(0,e.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...s,children:[(0,e.jsx)("path",{fill:"#F0F0FF",stroke:"#D9D8FF",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,e.jsx)("path",{fill:"#4945FF",d:"M14.907 9.438c0 .375 0 .738.118 1.078-1.243 1.46-4.526 5.317-4.832 5.611a.582.582 0 0 0-.193.433c0 .245.15.481.277.614.19.2 1.004.952 1.154.808.444-.433.533-.548.715-.727.274-.268-.029-.816.066-1.039.096-.222.197-.265.361-.3.165-.034.456.084.684.087.24.003.369-.098.548-.265.144-.133.248-.257.25-.45.007-.26-.368-.603-.089-.877.28-.274.684.178.981.144.297-.035.658-.447.695-.623.038-.176-.337-.629-.28-.886.02-.086.197-.288.33-.317.132-.029.72.199.853.17.162-.034.35-.205.502-.3.447.193.854.271 1.376.271C20.4 12.87 22 11.33 22 9.432 22 7.534 20.399 6 18.423 6s-3.516 1.54-3.516 3.438Zm5.247-.669a.923.923 0 1 1-1.847 0 .923.923 0 0 1 1.847 0Z"})]}),n=r}}]);
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[617],{56671:function(_,i,e){var n=e(35897),l=e(74741),s=l(n);_.exports=s},91131:function(_,i,e){var n=e(94318),l=e(3387),s="[object RegExp]";function t(a){return l(a)&&n(a)==s}_.exports=t},52920:function(_,i,e){var n=e(56671),l=e(81580);function s(t,a){var o=-1,d=l(t)?Array(t.length):[];return n(t,function(h,c,g){d[++o]=a(h,c,g)}),d}_.exports=s},50690:function(_,i,e){var n=e(26460),l=e(80166),s=e(88904),t=e(52920),a=e(36024),o=e(76535),d=e(1397),h=e(15362),c=e(77236);function g(u,f,m){f.length?f=n(f,function(x){return c(x)?function(M){return l(M,x.length===1?x[0]:x)}:x}):f=[h];var E=-1;f=n(f,o(s));var p=t(u,function(x,M,v){var C=n(f,function(j){return j(x)});return{criteria:C,index:++E,value:x}});return a(p,function(x,M){return d(x,M,m)})}_.exports=g},36024:function(_){function i(e,n){var l=e.length;for(e.sort(n);l--;)e[l]=e[l].value;return e}_.exports=i},40709:function(_,i,e){var n=e(22945);function l(s,t){if(s!==t){var a=s!==void 0,o=s===null,d=s===s,h=n(s),c=t!==void 0,g=t===null,u=t===t,f=n(t);if(!g&&!f&&!h&&s>t||h&&c&&u&&!g&&!f||o&&c&&u||!a&&u||!d)return 1;if(!o&&!h&&!f&&s<t||f&&a&&d&&!o&&!h||g&&a&&d||!c&&d||!u)return-1}return 0}_.exports=l},1397:function(_,i,e){var n=e(40709);function l(s,t,a){for(var o=-1,d=s.criteria,h=t.criteria,c=d.length,g=a.length;++o<c;){var u=n(d[o],h[o]);if(u){if(o>=g)return u;var f=a[o];return u*(f=="desc"?-1:1)}}return s.index-t.index}_.exports=l},74741:function(_,i,e){var n=e(81580);function l(s,t){return function(a,o){if(a==null)return a;if(!n(a))return s(a,o);for(var d=a.length,h=t?d:-1,c=Object(a);(t?h--:++h<d)&&o(c[h],h,c)!==!1;);return a}}_.exports=l},52654:function(_,i,e){var n=e(91131),l=e(76535),s=e(91782),t=s&&s.isRegExp,a=t?l(t):n;_.exports=a},98978:function(_,i,e){var n=e(40314),l=e(50690),s=e(94569),t=e(63108),a=s(function(o,d){if(o==null)return[];var h=d.length;return h>1&&t(o,d[0],d[1])?d=[]:h>2&&t(d[0],d[1],d[2])&&(d=[d[0]]),l(o,n(d,1),[])});_.exports=a},51382:function(_,i,e){var n=e(90454),l=e(24793),s=e(34327),t=e(85973),a=e(52654),o=e(38788),d=e(51119),h=e(25225),c=e(41119),g=30,u="...",f=/\w*$/;function m(E,p){var x=g,M=u;if(t(p)){var v="separator"in p?p.separator:v;x="length"in p?h(p.length):x,M="omission"in p?n(p.omission):M}E=c(E);var C=E.length;if(s(E)){var j=d(E);C=j.length}if(x>=C)return E;var P=x-o(M);if(P<1)return M;var O=j?l(j,0,P).join(""):E.slice(0,P);if(v===void 0)return O+M;if(j&&(P+=O.length-P),a(v)){if(E.slice(P).search(v)){var B,R=O;for(v.global||(v=RegExp(v.source,c(f.exec(v))+"g")),v.lastIndex=0;B=v.exec(R);)var A=B.index;O=O.slice(0,A===void 0?P:A)}}else if(E.indexOf(n(v),P)!=P){var U=O.lastIndexOf(v);U>-1&&(O=O.slice(0,U))}return O+M}_.exports=m},11299:function(_,i,e){"use strict";e.d(i,{$:function(){return c},O:function(){return g}});var n=e(74512),l=e(77277),s=e(8471),t=e(3685),a=e(87933),o=e(72850),d=e(49372);const h=(0,s.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)(h,{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)(l.Z,{})})]});c.displayName="Crumb";const g=({children:u,label:f,...m})=>(0,n.jsxs)(a.k,{...m,children:[(0,n.jsx)(t.T,{children:f}),(0,n.jsx)("ol",{"aria-hidden":!0,children:u})]});g.displayName="Breadcrumbs"},21428:function(_,i,e){"use strict";e.d(i,{Wx:function(){return l0},XU:function(){return P},hQ:function(){return j}});var n=e(74512),l=e(32735),s=e(35331),t=e(16899),a=e(77840),o=e(8471),d=e(14268),h=e(95976),c=e(74971),g=e(36971),u=e(30350),f=e(23866),m=e(72850),E=e(49372),p=e(87107),x=e(87933),M=e(28847),v=e(67014),C=e(47851);const j=({children:r,clearLabel:Z="clear",creatable:L=!1,createMessage:b=I=>`Create "${I}"`,defaultFilterValue:w,defaultTextValue:K,defaultOpen:r0=!1,open:a0,onOpenChange:i0,disabled:y=!1,error:F,filterValue:o0,hasMoreItems:d0=!1,hint:h0,id:_0,label:c0,labelAction:u0,loading:H=!1,loadingMessage:x0="Loading content...",noOptionsMessage:f0=()=>"No results found",onChange:Q,onClear:V,onCreateOption:S,onFilterValueChange:E0,onInputChange:z,onTextValueChange:v0,onLoadMore:N,placeholder:g0="Select or enter a value",required:k=!1,startIcon:G,textValue:M0,value:J})=>{const[I,m0]=(0,h.T)({prop:a0,defaultProp:r0,onChange:i0}),[T,X]=(0,h.T)({prop:M0,defaultProp:K,onChange:v0}),[p0,Y]=(0,h.T)({prop:o0,defaultProp:w,onChange:E0}),q=l.useRef(null),e0=l.useRef(null),j0=l.useRef(null),W=(0,c.M)(_0),P0=D=>{V&&!y&&(X(""),Y(""),V(D),e0.current.focus())},O0=D=>{m0(D)},D0=D=>{X(D)},C0=D=>{Y(D)},Z0=D=>{z&&z(D)},B0=D=>{Q&&Q(D)},R0=(0,c.M)(),n0=`intersection-${(0,d.B)(R0)}`,T0=D=>{N&&d0&&!H&&N(D)},t0=()=>{S&&T&&S(T)};(0,g.s)(q,T0,{selectorToWatch:`#${n0}`,skipWhen:!I});const L0=`${W}-hint`,A0=`${W}-error`;return(0,n.jsx)(p.g,{hint:h0,error:F,id:W,required:k,children:(0,n.jsxs)(x.k,{direction:"column",alignItems:"stretch",gap:1,children:[(0,n.jsx)(M.Q,{action:u0,children:c0}),(0,n.jsxs)(a.hQ.Root,{autocomplete:L?"list":"both",open:I,onOpenChange:O0,onTextValueChange:D0,textValue:T,allowCustomValue:!0,disabled:y,required:k,value:J===null?void 0:J,onValueChange:B0,filterValue:p0,onFilterValueChange:C0,children:[(0,n.jsxs)(B,{$hasError:!!F,children:[(0,n.jsxs)(x.k,{flex:"1",as:"span",gap:3,children:[G?(0,n.jsx)(m.x,{as:"span","aria-hidden":!0,children:G}):null,(0,n.jsx)(R,{placeholder:g0,id:W,"aria-invalid":!!F,"aria-labelledby":`${L0} ${A0}`,onChange:Z0,ref:e0})]}),(0,n.jsxs)(x.k,{as:"span",gap:3,children:[T&&V?(0,n.jsx)(O,{as:"button",hasRadius:!0,background:"transparent",type:"button",onClick:P0,"aria-disabled":y,"aria-label":Z,title:Z,ref:j0,children:(0,n.jsx)(s.Z,{})}):null,(0,n.jsx)(A,{children:(0,n.jsx)(t.Z,{})})]})]}),(0,n.jsx)(a.hQ.Portal,{children:(0,n.jsx)(U,{sideOffset:4,children:(0,n.jsxs)(s0,{ref:q,children:[r,L?(0,n.jsx)(a.hQ.CreateItem,{onPointerUp:t0,onClick:t0,asChild:!0,children:(0,n.jsx)($,{children:(0,n.jsx)(E.Z,{children:b(T??"")})})}):null,!L&&!H?(0,n.jsx)(a.hQ.NoValueFound,{asChild:!0,children:(0,n.jsx)($,{$hasHover:!1,children:(0,n.jsx)(E.Z,{children:f0(T??"")})})}):null,H?(0,n.jsx)(x.k,{justifyContent:"center",alignItems:"center",paddingTop:2,paddingBottom:2,children:(0,n.jsx)(f.a,{small:!0,children:x0})}):null,(0,n.jsx)(m.x,{id:n0,width:"100%",height:"1px"})]})})})]}),(0,n.jsx)(v.J,{}),(0,n.jsx)(C.c,{})]})})},P=r=>(0,n.jsx)(j,{...r,creatable:!0}),O=(0,o.ZP)(m.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:r})=>r.colors.neutral600};
|
|
26
|
-
}
|
|
27
|
-
`,B=(0,o.ZP)(a.hQ.Trigger)`
|
|
28
|
-
position: relative;
|
|
29
|
-
border: 1px solid ${({theme:r,$hasError:Z})=>Z?r.colors.danger600:r.colors.neutral200};
|
|
30
|
-
padding-right: ${({theme:r})=>r.spaces[3]};
|
|
31
|
-
padding-left: ${({theme:r})=>r.spaces[3]};
|
|
32
|
-
border-radius: ${({theme:r})=>r.borderRadius};
|
|
33
|
-
background: ${({theme:r})=>r.colors.neutral0};
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
gap: ${({theme:r})=>r.spaces[4]};
|
|
39
|
-
|
|
40
|
-
&[data-disabled] {
|
|
41
|
-
color: ${({theme:r})=>r.colors.neutral600};
|
|
42
|
-
background: ${({theme:r})=>r.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:r,$hasError:Z})=>(0,u.k3)()({theme:r,hasError:Z})};
|
|
52
|
-
`,R=(0,o.ZP)(a.hQ.TextInput)`
|
|
53
|
-
width: 100%;
|
|
54
|
-
font-size: ${14/16}rem;
|
|
55
|
-
color: ${({theme:r})=>r.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
|
-
`,A=(0,o.ZP)(a.hQ.Icon)`
|
|
68
|
-
& > svg {
|
|
69
|
-
width: ${6/16}rem;
|
|
70
|
-
|
|
71
|
-
& > path {
|
|
72
|
-
fill: ${({theme:r})=>r.colors.neutral600};
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&[aria-disabled='true'] {
|
|
77
|
-
cursor: inherit;
|
|
78
|
-
}
|
|
79
|
-
`,U=(0,o.ZP)(a.hQ.Content)`
|
|
80
|
-
background: ${({theme:r})=>r.colors.neutral0};
|
|
81
|
-
box-shadow: ${({theme:r})=>r.shadows.filterShadow};
|
|
82
|
-
border: 1px solid ${({theme:r})=>r.colors.neutral150};
|
|
83
|
-
border-radius: ${({theme:r})=>r.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:r})=>r.zIndices[1]};
|
|
88
|
-
`,s0=(0,o.ZP)(a.hQ.Viewport)`
|
|
89
|
-
padding: ${({theme:r})=>r.spaces[1]};
|
|
90
|
-
`,l0=l.forwardRef(({children:r,value:Z,disabled:L,textValue:b,...w},K)=>(0,n.jsx)(a.hQ.ComboboxItem,{asChild:!0,value:Z,disabled:L,textValue:b,children:(0,n.jsx)($,{ref:K,...w,children:(0,n.jsx)(a.hQ.ItemText,{asChild:!0,children:(0,n.jsx)(E.Z,{children:r})})})})),$=o.ZP.div`
|
|
91
|
-
width: 100%;
|
|
92
|
-
border: none;
|
|
93
|
-
text-align: left;
|
|
94
|
-
outline-offset: -3px;
|
|
95
|
-
padding: ${({theme:r})=>r.spaces[2]} ${({theme:r})=>r.spaces[4]};
|
|
96
|
-
background-color: ${({theme:r})=>r.colors.neutral0};
|
|
97
|
-
border-radius: ${({theme:r})=>r.borderRadius};
|
|
98
|
-
user-select: none;
|
|
99
|
-
|
|
100
|
-
&[data-selected] {
|
|
101
|
-
background-color: ${({theme:r})=>r.colors.primary100};
|
|
102
|
-
|
|
103
|
-
${E.Z} {
|
|
104
|
-
color: ${({theme:r})=>r.colors.primary600};
|
|
105
|
-
font-weight: bold;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&:hover,
|
|
110
|
-
&[data-highlighted] {
|
|
111
|
-
outline: none;
|
|
112
|
-
background-color: ${({theme:r,$hasHover:Z=!0})=>Z?r.colors.primary100:r.colors.neutral0};
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&[data-highlighted] {
|
|
116
|
-
${E.Z} {
|
|
117
|
-
color: ${({theme:r})=>r.colors.primary600};
|
|
118
|
-
font-weight: bold;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
`},90333:function(_,i,e){"use strict";e.d(i,{O:function(){return l}});var n=e(21428);const l=n.Wx},25148:function(_,i,e){"use strict";e.d(i,{Q:function(){return g}});var n=e(74512),l=e(32735),s=e(14911),t=e(8471),a=e(73342),o=e(69783),d=e(87933),h=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=l.forwardRef(({variant:u="default",startIcon:f,endIcon:m,disabled:E=!1,children:p,size:x="S",href:M,to:v,...C},j)=>{const P=M?"_blank":void 0,O=M?"noreferrer noopener":void 0,B=x==="S"?2:"10px",R=4;return(0,n.jsxs)(c,{ref:j,"aria-disabled":E,size:x,variant:u,target:P,rel:O,to:E?void 0:v,href:E?"#":M,background:"buttonPrimary600",borderColor:"buttonPrimary600",hasRadius:!0,gap:2,inline:!0,paddingBottom:B,paddingLeft:R,paddingRight:R,paddingTop:B,pointerEvents:E?"none":void 0,...C,as:v&&!E?s.OL:"a",children:[f&&(0,n.jsx)(d.k,{"aria-hidden":!0,children:f}),(0,n.jsx)(h.Z,{variant:x==="S"?"pi":void 0,fontWeight:"bold",textColor:"buttonNeutral0",children:p}),m&&(0,n.jsx)(d.k,{"aria-hidden":!0,children:m})]})})},27799:function(_,i,e){"use strict";e.d(i,{Q:function(){return t}});var n=e(74512),l=e(8471),s=e(6407);const t=({options:o,...d})=>(0,n.jsx)(s.NU,{...d,children:o.map(h=>"children"in h?(0,n.jsx)(s.Ab,{label:h.label,values:h.children.map(c=>c.value.toString()),children:h.children.map(c=>(0,n.jsx)(a,{value:c.value,children:c.label},c.value))},h.label):(0,n.jsx)(s.ML,{value:h.value,children:h.label},h.value))}),a=(0,l.ZP)(s.ML)`
|
|
136
|
-
padding-left: ${({theme:o})=>o.spaces[7]};
|
|
137
|
-
`},28832:function(_,i,e){"use strict";e.d(i,{z:function(){return f}});var n=e(74512),l=e(32735),s=e(16899),t=e(8471),a=e(74971),o=e(72850),d=e(87933),h=e(49372);const c=(0,t.ZP)(o.x)`
|
|
138
|
-
svg {
|
|
139
|
-
height: ${4/16}rem;
|
|
140
|
-
path {
|
|
141
|
-
fill: ${({theme:m})=>m.colors.neutral700};
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
`,g=t.ZP.button`
|
|
145
|
-
border: none;
|
|
146
|
-
padding: 0;
|
|
147
|
-
background: transparent;
|
|
148
|
-
display: flex;
|
|
149
|
-
align-items: center;
|
|
150
|
-
`,u=t.ZP.div`
|
|
151
|
-
display: flex;
|
|
152
|
-
align-items: center;
|
|
153
|
-
width: ${12/16}rem;
|
|
154
|
-
transform: rotateX(${({rotated:m})=>m?"0deg":"180deg"});
|
|
155
|
-
`,f=({label:m,children:E,id:p})=>{const[x,M]=(0,l.useState)(!0),v=(0,a.M)(p);return(0,n.jsxs)(o.x,{children:[(0,n.jsx)(c,{paddingLeft:7,paddingTop:2,paddingBottom:2,paddingRight:4,children:(0,n.jsx)(d.k,{justifyContent:"space-between",children:(0,n.jsxs)(g,{onClick:()=>{M(C=>!C)},"aria-expanded":x,"aria-controls":v,children:[(0,n.jsx)(u,{rotated:x,children:(0,n.jsx)(s.Z,{"aria-hidden":!0})}),(0,n.jsx)(o.x,{paddingLeft:2,children:(0,n.jsx)(h.Z,{as:"span",fontWeight:"semiBold",textColor:"neutral800",children:m})})]})})}),x&&(0,n.jsx)("ul",{id:v,children:l.Children.map(E,(C,j)=>(0,n.jsx)("li",{children:C},j))})]})}},35071:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=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"})]}),s=l},26253:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=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"})]}),s=l},79634:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=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"})]}),s=l},32548:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=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"})]}),s=l},7733:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=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"})]}),s=l},10168:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=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"})]}),s=l},25449:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=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"})}),s=l},89135:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=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"})]}),s=l},61642:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=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"})]}),s=l},58656:function(_,i,e){"use strict";e.d(i,{Z:function(){return s}});var n=e(74512);const l=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"})]}),s=l}}]);
|
|
@@ -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,p,e){e.d(p,{r:function(){return g}});var o=e(32735),l=e(60216),m=e.n(l),h=e(74506),v=e(72850);function E(c,T,a){if(!c||!T)return{display:"none"};const{x:d,y:C}=a;return{transform:`translate(${d}px, ${C}px)`}}function g({renderItem:c}){const{itemType:T,isDragging:a,item:d,initialOffset:C,currentOffset:k,mouseOffset:B}=(0,h.useDragLayer)(P=>({item:P.getItem(),itemType:P.getItemType(),initialOffset:P.getInitialSourceClientOffset(),currentOffset:P.getSourceClientOffset(),isDragging:P.isDragging(),mouseOffset:P.getClientOffset()}));return a?o.createElement(v.x,{height:"100%",left:0,position:"fixed",pointerEvents:"none",top:0,zIndex:100,width:"100%"},o.createElement(v.x,{style:E(C,k,B)},c({type:T,item:d}))):null}g.propTypes={renderItem:m().func.isRequired}},73386:function(U,p,e){var o=e(32735);const l=(0,o.createContext)();var m=null},56327:function(U,p,e){e.d(p,{PL:function(){return v},Y9:function(){return Te.Y},zE:function(){return J},Ky:function(){return r},fi:function(){return D},zH:function(){return ge},r5:function(){return V}});var o=e(32735),l=e(15062),m=e(70031),v=()=>{const t=(0,l.v9)(m.Z),s=(0,o.useCallback)(n=>t?.components?.[n]??{},[t]);return{...t,getComponentLayout:s}},E=e(84306),g=e(24989),c=e(99381),T=e.n(c),a=e(33795),d=e.n(a),C=e(3040),k=e.n(C),B=e(95952);const P=(t,s)=>s.find(n=>n.uid===t),G=(t,s)=>{const n=w(t,s),i=H(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 A=H(n.components[f],s);k()(n,["components",f,"layouts","edit"],A)}),n},w=(t,s)=>{const n=(0,B.w8)(T()(t),s,"contentType"),{components:i,contentType:O}=n,f=A=>Object.keys(A.metadatas).reduce((W,I)=>{const b=d()(A,["attributes",I],{});let x=A.metadatas[I];if(b.type==="relation"){const fe=P(b.targetModel,s),j=x.edit.mainField,z={name:j,schema:d()(fe,["attributes",j])};x={list:{...x.list,mainField:z},edit:{...x.edit,mainField:z}}}return W[I]=x,W},{});return k()(n,["contentType","metadatas"],f(O)),Object.keys(i).forEach(A=>{const W=i[A],I=f(W);k()(n,["components",A,"metadatas"],I)}),n},H=(t,s)=>t.layouts.edit.reduce((n,i)=>{const O=i.map(f=>{const A=d()(t,["attributes",f.name],{}),W={...f,fieldSchema:A,metadatas:d()(t,["metadatas",f.name,"edit"],{})};if(A.type==="relation"){const b=P(A.targetModel,s).pluginOptions||{};k()(W,"targetModelPluginOptions",b),k()(W,"queryInfos",{shouldDisplayRelationLink:re(t,f.name,s)})}return W});return n.push(O),n},[]),q=(t,s)=>t.layouts.list.reduce((i,O)=>{const f=d()(t,["attributes",O],{}),A=d()(t,["metadatas",O,"list"],{}),W=f.type;if(W==="relation")return i.push({key:`__${O}_key__`,name:O,fieldSchema:f,metadatas:A}),i;if(W==="component"){const I=s[f.component],b=I.settings.mainField,x=I.attributes[b];return i.push({key:`__${O}_key__`,name:O,fieldSchema:f,metadatas:{...A,mainField:{...x,name:b}}}),i}return i.push({key:`__${O}_key__`,name:O,fieldSchema:f,metadatas:A}),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 X=G,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}}),Y=e(42882),J=t=>{const[{error:s,isLoading:n,layout:i,layouts:O},f]=(0,o.useReducer)(Q,K),A=(0,o.useMemo)(Y.Vo,[]),{schemas:W}=(0,l.v9)(j=>A(j),l.wU),I=(0,o.useRef)(!0),{get:b}=(0,g.kY)(),x=(0,o.useCallback)(async(j,z)=>{if(O[j]){f({type:"SET_LAYOUT_FROM_STATE",uid:j});return}f({type:"GET_DATA"});try{const{data:{data:oe}}=await b(`/content-manager/content-types/${j}/configuration`,{cancelToken:z.token});f({type:"GET_DATA_SUCCEEDED",data:X(oe,W)})}catch(oe){if(E.default.isCancel(oe))return;I.current&&console.error(oe),I.current&&f({type:"GET_DATA_ERROR",error:oe})}},[O,W,b]);(0,o.useEffect)(()=>()=>{I.current=!1},[]),(0,o.useEffect)(()=>{const z=E.default.CancelToken.source();return x(t,z),()=>{z.cancel("Operation canceled by the user.")}},[t,x]);const fe=(0,o.useCallback)(j=>{f({type:"UPDATE_LAYOUT",newLayout:X(j,W)})},[W]);return{error:s,isLoading:n,layout:i,updateLayout:fe}},_=t=>t["content-manager_app"].collectionTypeLinks,Z=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:x})=>x.includes(s));if(!i)return"/";const{to:O,search:f}=i,A=(0,Z.parse)(f),W=(0,Z.parse)(n.substring(1)),I=ue(A,W);return`${O}?${(0,Z.stringify)(I,{encode:!1})}`},r=t=>{const[{rawQuery:s}]=(0,g.Kx)(),n=(0,l.v9)(_);return ye(n,t,s)},u=e(53038),D=()=>{const{search:t}=(0,u.TH)(),s=t?(0,Z.parse)(t.substring(1)):{};return s.plugins?(0,Z.stringify)({plugins:s.plugins},{encode:!1}):""},F=e(89334);const N=(t,s,n)=>({type:F.m,permissions:t,__meta__:{plugins:s,containerName:n}}),R=()=>({type:F.Q}),L=t=>t["content-manager_rbacManager"].permissions,M=t=>t.rbacProvider.collectionTypesRelatedPermissions;var V=(t,s,n="listView")=>{const i=(0,l.v9)(M),O=(0,l.v9)(L),f=(0,l.I0)(),A=i[s];return(0,o.useEffect)(()=>A?(f(N(A,t?t.plugins:null,n)),()=>{f(R())}):()=>{},[A,f,t,n]),O},ce=e(73386);const $=()=>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),ve=e(18777)},90553:function(U,p,e){e.d(p,{Y:function(){return v}});var o=e(32735),l=e(74506),m=e.n(l),h=e(18777);const v=(E,{type:g="STRAPI_DND",index:c,item:T={},onStart:a,onEnd:d,onGrabItem:C,onDropItem:k,onCancel:B,onMoveItem:P,dropSensitivity:G="regular"})=>{const w=(0,o.useRef)(null),[{handlerId:H},q]=(0,l.useDrop)({accept:g,collect(K){return{handlerId:K.getHandlerId()}},hover(K,ae){if(!w.current)return;const Q=K.index,Y=c;if(Q!==Y){if(G==="regular"){const ne=w.current.getBoundingClientRect(),J=(ne.bottom-ne.top)/2,_=ae.getClientOffset().y-ne.top;if(Q<Y&&_<J||Q>Y&&_>J)return}P(Y,Q),K.index=Y}}}),[{isDragging:re},ee,X]=(0,l.useDrag)({type:g,item(){a&&a();const{width:K}=w.current?.getBoundingClientRect()??{};return{index:c,width:K,...T}},end(){d&&d()},canDrag:E,isDragging:T.id?K=>T.id===K.getItem().id:void 0,collect:K=>({isDragging:K.isDragging()})}),te=(0,h.A)(E,c,{onGrabItem:C,onDropItem:k,onCancel:B,onMoveItem:P});return[{handlerId:H,isDragging:re,handleKeyDown:te},w,q,ee,X]}},18777:function(U,p,e){e.d(p,{A:function(){return l}});var o=e(32735);const l=(m,h,{onCancel:v,onDropItem:E,onGrabItem:g,onMoveItem:c})=>{const[T,a]=(0,o.useState)(!1),d=P=>{T&&(P==="UP"?c(h-1,h):P==="DOWN"&&c(h+1,h))},C=()=>{T?(E&&E(h),a(!1)):(g&&g(h),a(!0))},k=()=>{T&&(a(!1),v&&v(h))};return P=>{if(m&&!(P.key==="Tab"&&!T))switch(P.preventDefault(),P.key){case" ":case"Enter":C();break;case"Escape":k();break;case"ArrowDown":case"ArrowRight":d("DOWN");break;case"ArrowUp":case"ArrowLeft":d("UP");break;default:}}}},42882:function(U,p,e){e.d(p,{Jg:function(){return c},KQ:function(){return E},Vo:function(){return g},Yg:function(){return m}});var o=e(98178),l=e(34947);const m=()=>a=>a["content-manager_app"]||l.E,h=()=>createSelector(m(),a=>a),v=()=>createSelector(m(),a=>a.models),E=()=>(0,o.P1)(m(),a=>({collectionTypeLinks:a.collectionTypeLinks,singleTypeLinks:a.singleTypeLinks})),g=()=>(0,o.P1)(m(),({components:a,models:d})=>({schemas:[...a,...d]})),c=(0,o.P1)(m(),a=>a.fieldSizes);var T=null},70031:function(U,p){const e=o=>o["content-manager_editViewLayoutManager"].currentLayout;p.Z=e},25708:function(U,p){p.Z={COMPONENT:"component",EDIT_FIELD:"editField",FIELD:"field",DYNAMIC_ZONE:"dynamicZone",RELATION:"relation"}},47510:function(U,p){const e=o=>`content-manager.${o}`;p.Z=e},95952:function(U,p,e){e.d(p,{_Q:function(){return _.Z},W3:function(){return h},ko:function(){return c},FE:function(){return a},Di:function(){return B},du:function(){return H},TA:function(){return ee},Ts:function(){return ae},Uo:function(){return Y},IF:function(){return J},OB:function(){return de.Z},w8:function(){return ue},kc:function(){return pe}});var o=e(99381),l=e.n(o),h=(r,u,y)=>{if(Array.isArray(r)&&u>=0&&y>=0&&u<=r.length-1&&y<=r.length-1){const D=l()(r),F=D.splice(u,1);return D.splice(y,0,F[0]),D}return r},v=e(59578),E=e.n(v),c=r=>{const u=r.type;return u==="relation"?!E()(r.relationType).includes("morph"):!["json","dynamiczone","richtext","password"].includes(u)&&!!u};const T=(r,u)=>{typeof r=="function"?r(u):r!=null&&(r.current=u)},a=(...r)=>u=>r.forEach(y=>T(y,u));var d=e(33795),C=e.n(d);const k=(r,u)=>Object.keys(r).reduce((y,D)=>{const F=C()(r,[D],{}),{default:N,component:R,type:L,required:M,min:S,repeatable:V}=F;if(N!==void 0&&(y[D]=N),L==="component"){const ce=u?.[R]?.attributes??{},$=k(ce,u);if(M===!0&&(y[D]=V===!0?[]:$),S&&V===!0&&M){y[D]=[];for(let se=0;se<S;se+=1)y[D].push($)}}return L==="dynamiczone"&&M===!0&&(y[D]=[]),y},{});var B=k,P=e(9086),G=e.n(P),H=({layouts:r,metadatas:u,...y})=>{const D=r.list.map(R=>R.name?R.name:R),F=Object.keys(u).reduce((R,L)=>{const M=C()(u,[L],{});let S=M.edit;return S.mainField&&(S={...S,mainField:M.edit.mainField.name}),{...R,[L]:{edit:S,list:G()(M.list,["mainField"])}}},{}),N=r.edit.map(R=>R.map(({name:L,size:M})=>({name:L,size:M})));return{...y,layouts:{edit:N,list:D},metadatas:F}};const q=(r,u)=>r.map(y=>({...y,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((y,D)=>(y[D]=q(u[D],r),y),{})},X=e(95919),te=e.n(X),ae=r=>r.split(".").filter(u=>te()(parseInt(u,10))),Y=r=>{if(r.length===0)return-1;const u=Math.max.apply(Math,r.map(y=>y.__temp_key__??0));return Number.isNaN(u)?-1:u},J=r=>`/content-manager/${r}`,de=e(47510),_=e(25708),Z=e(3040),ie=e.n(Z),ue=(r,u,y)=>{const D=L=>u.find(M=>M.uid===L),F=Object.assign({},r),N=r[y].uid,R=D(N);return ie()(F,[y],{...r[y],...R}),Object.keys(r.components).forEach(L=>{const M=D(L);ie()(F,["components",L],{...r.components[L],...M})}),F},le=e(24989),pe=(r,u,y)=>{const D=(F,N)=>Object.keys(F).reduce((R,L)=>{const M=(0,le.UN)(N,L),S=C()(F,L),V=(0,le.k2)(N,[L,"component"]),ce=(0,le.k2)(N,[L,"repeatable"]);return M==="dynamiczone"?(R[L]=S.map($=>D($,y[$.__component])),R):M==="component"?(ce?R[L]=S&&S.map($=>D($,y[V])):R[L]=S&&D(S,y[V]),R):(M!=="password"&&(R[L]=S),R)},{});return D(r,u)}},28315:function(U,p,e){e.d(p,{K:function(){return c}});var o=e(32735),l=e(60216),m=e.n(l),h=e(67582),v=e(87933),E=e(49372),g=e(54504);function c({children:T,...a}){const{color:d}=a.data,{themeColorName:C}=(0,g.k)(d);return o.createElement(h.c.Option,{...a},o.createElement(v.k,{alignItems:"center",gap:2},o.createElement(v.k,{height:2,background:d,borderColor:C==="neutral0"?"neutral150":"transparent",hasRadius:!0,shrink:0,width:2}),o.createElement(E.Z,{textColor:"neutral800",ellipsis:!0},T)))}c.propTypes={children:m().node.isRequired,data:m().shape({color:m().string}).isRequired}},8445:function(U,p,e){e.d(p,{R:function(){return c}});var o=e(32735),l=e(60216),m=e.n(l),h=e(67582),v=e(87933),E=e(49372),g=e(54504);function c({children:T,...a}){const{color:d}=a.data,{themeColorName:C}=d?(0,g.k)(d):{};return o.createElement(h.c.SingleValue,{...a},o.createElement(v.k,{alignItems:"center",gap:2},o.createElement(v.k,{height:2,background:d,borderColor:C==="neutral0"?"neutral150":"transparent",hasRadius:!0,shrink:0,width:2}),o.createElement(E.Z,{textColor:"neutral800",ellipsis:!0},T)))}c.defaultProps={children:null},c.propTypes={children:m().node,data:m().shape({color:m().string}).isRequired}},61937:function(U,p,e){e.d(p,{$k:function(){return g},FT:function(){return T},Nj:function(){return E},Ot:function(){return v},QM:function(){return m},lv:function(){return c},sN:function(){return l},uL:function(){return a},x4:function(){return h}});var o=e(12301);const l="settings_review-workflows",m="Settings/Review_Workflows/SET_WORKFLOWS",h="Settings/Review_Workflows/WORKFLOW_DELETE_STAGE",v="Settings/Review_Workflows/WORKFLOW_ADD_STAGE",E="Settings/Review_Workflows/WORKFLOW_UPDATE_STAGE",g="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"},T=o.W.colors.primary600,a={STAGE:"stage"}},67350:function(U,p,e){e.d(p,{n:function(){return v}});var o=e(20108),l=e(24989),m=e(33348),h=e.n(m);function v(E={}){const{id:g="",...c}=E,T={populate:"stages"},{get:a}=(0,l.kY)(),d=(0,m.stringify)({...T,...c},{encode:!1}),{data:C,isLoading:k,status:B,refetch:P}=(0,o.useQuery)(["review-workflows","workflows",g],async()=>{try{const{data:{data:w}}=await a(`/admin/review-workflows/workflows/${g}${d?`?${d}`:""}`);return w}catch{return null}});let G=[];return g&&C?G=[C]:Array.isArray(C)&&(G=C),{workflows:G,isLoading:k,status:B,refetch:P}}},54504:function(U,p,e){e.d(p,{k:function(){return m},s:function(){return h}});var o=e(12301),l=e(61937);function m(v){if(!v)return null;const g=Object.entries(o.W.colors).filter(([,c])=>c.toUpperCase()===v.toUpperCase()).reduce((c,[T])=>(l.lv?.[T]&&(c=T),c),null);return g?{themeColorName:g,name:l.lv[g]}:null}function h(){return Object.entries(l.lv).map(([v,E])=>({hex:o.W.colors[v].toUpperCase(),name:E}))}}}]);
|