@strapi/admin 4.12.4 → 4.12.6
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/StrapiApp.js +1 -1
- package/admin/src/components/AuthenticatedApp.js +229 -0
- package/admin/src/components/GuidedTour/Modal/index.js +1 -3
- package/admin/src/content-manager/components/Wysiwyg/WysiwygNav.js +7 -30
- package/admin/src/content-manager/hooks/useSyncRbac/index.js +10 -2
- package/admin/src/content-manager/pages/App/index.js +5 -16
- package/admin/src/content-manager/pages/CollectionTypeRecursivePath/index.js +1 -1
- package/admin/src/content-manager/pages/EditView/Information/index.js +1 -1
- package/admin/src/content-manager/pages/EditViewLayoutManager/index.js +2 -2
- package/admin/src/content-manager/pages/ListSettingsView/index.js +16 -41
- package/admin/src/content-manager/pages/ListView/components/BulkActionButtons/SelectedEntriesModal/index.js +2 -2
- package/admin/src/content-manager/pages/ListView/components/TableRows/index.js +1 -1
- package/admin/src/content-manager/pages/ListView/index.js +27 -1
- package/admin/src/content-manager/pages/ListViewLayoutManager/index.js +2 -2
- package/admin/src/hooks/useSettingsForm/index.js +14 -3
- package/admin/src/hooks/useSettingsMenu/index.js +2 -2
- package/admin/src/hooks/useSettingsMenu/utils/formatLinks.js +1 -3
- package/admin/src/hooks/useSettingsMenu/utils/sortLinks.js +1 -3
- package/admin/src/index.js +1 -1
- package/admin/src/pages/Admin/Onboarding/index.js +1 -3
- package/admin/src/pages/Admin/index.js +80 -74
- package/admin/src/pages/App/constants.js +1 -1
- package/admin/src/pages/App/index.js +160 -122
- package/admin/src/pages/AuthPage/index.js +2 -4
- package/admin/src/pages/HomePage/index.js +1 -3
- package/admin/src/pages/InstalledPluginsPage/index.js +1 -3
- package/admin/src/pages/{InternalErrorPage/index.js → InternalErrorPage.js} +3 -4
- package/admin/src/pages/MarketplacePage/index.js +0 -1
- package/admin/src/pages/{NotFoundPage/index.js → NotFoundPage.js} +1 -3
- package/admin/src/pages/ProfilePage/index.js +2 -4
- package/admin/src/pages/SettingsPage/components/SettingsNav/index.js +3 -3
- package/admin/src/pages/SettingsPage/constants.js +67 -132
- package/admin/src/pages/SettingsPage/index.js +31 -36
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/index.js +24 -31
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/index.js +69 -35
- package/admin/src/pages/SettingsPage/pages/TransferTokens/EditView/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/TransferTokens/ListView/index.js +11 -6
- package/admin/src/pages/SettingsPage/pages/Users/EditPage/index.js +4 -1
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/DynamicTable/TableRows/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/index.js +1 -0
- package/admin/src/pages/UseCasePage.js +174 -0
- package/admin/src/translations/zh-Hans.json +918 -902
- package/admin/src/utils/createRoute.js +5 -7
- package/admin/src/utils/formatAPIErrors.js +1 -3
- package/admin/src/utils/getFullName.js +1 -1
- package/admin/src/utils/sortLinks.js +1 -3
- package/admin/src/utils/uniqueAdminHash.js +2 -9
- package/build/{1049.f76cb14b.chunk.js → 1049.9d69d231.chunk.js} +1 -1
- package/build/1504.eff012f7.chunk.js +95 -0
- package/build/2166.c837469a.chunk.js +1 -0
- package/build/2225.33287e1b.chunk.js +79 -0
- package/build/2237.03792b63.chunk.js +114 -0
- package/build/2379.401f56f3.chunk.js +1 -0
- package/build/2395.e6a79fbb.chunk.js +26 -0
- package/build/{9806.3392505e.chunk.js → 2747.d1442a90.chunk.js} +78 -70
- package/build/2801.31393ffe.chunk.js +1 -0
- package/build/3483.8517171f.chunk.js +1 -0
- package/build/4546.7a3c0d03.chunk.js +1 -0
- package/build/502.8dd074ff.chunk.js +1 -0
- package/build/5483.5bfbb00d.chunk.js +6 -0
- package/build/7464.592a9295.chunk.js +1 -0
- package/build/748.fd2e5afd.chunk.js +105 -0
- package/build/773.6381d62d.chunk.js +18 -0
- package/build/7826.399afe81.chunk.js +103 -0
- package/build/8261.2525d35c.chunk.js +7 -0
- package/build/8276.e519a707.chunk.js +26 -0
- package/build/8299.62b67c72.chunk.js +1 -0
- package/build/Admin-AuthPage.90d64342.chunk.js +35 -0
- package/build/Admin-AuthenticatedApp.379ac945.chunk.js +24 -0
- package/build/Admin-UseCasePage.1f757db5.chunk.js +13 -0
- package/build/Admin_GuidedTourModal.8ccf1fbc.chunk.js +12 -0
- package/build/Admin_InternalErrorPage.9de92c6d.chunk.js +9 -0
- package/build/Admin_NotFoundPage.21620424.chunk.js +9 -0
- package/build/Admin_Onboarding.dbfa32f6.chunk.js +43 -0
- package/build/Admin_homePage.2000cbe9.chunk.js +86 -0
- package/build/Admin_marketplace.ec80e29b.chunk.js +63 -0
- package/build/Admin_pluginsPage.0c6851f8.chunk.js +14 -0
- package/build/Admin_profilePage.78cd8495.chunk.js +21 -0
- package/build/Admin_settingsPage.1760c3ce.chunk.js +119 -0
- package/build/StrapiApp.221fac30.chunk.js +5 -0
- package/build/{admin-edit-roles-page.6d567273.chunk.js → admin-edit-roles-page.24bdf746.chunk.js} +1 -1
- package/build/admin-edit-users.5d10d444.chunk.js +10 -0
- package/build/admin-users.2b3e4305.chunk.js +11 -0
- package/build/api-tokens-list-page.0af7d431.chunk.js +16 -0
- package/build/audit-logs-settings-page.0f73ccf8.chunk.js +1 -0
- package/build/content-manager.fb0833bd.chunk.js +1099 -0
- package/build/{content-type-builder.40534de5.chunk.js → content-type-builder.66066281.chunk.js} +18 -18
- package/build/email-settings-page.2f7e35c0.chunk.js +11 -0
- package/build/i18n-translation-ru-json.a3dbc125.chunk.js +1 -0
- package/build/index.html +1 -1
- package/build/main.ee3c1938.js +2859 -0
- package/build/review-workflows-settings-create-view.d24a32b9.chunk.js +1 -0
- package/build/review-workflows-settings-edit-view.6044b022.chunk.js +1 -0
- package/build/review-workflows-settings-list-view.3f0ef4bc.chunk.js +56 -0
- package/build/runtime~main.397ee447.js +2 -0
- package/build/{sso-settings-page.12b6d8ae.chunk.js → sso-settings-page.4dba0670.chunk.js} +1 -1
- package/build/transfer-tokens-list-page.d6986b03.chunk.js +16 -0
- package/build/users-advanced-settings-page.17052d72.chunk.js +9 -0
- package/build/users-email-settings-page.3de8ea50.chunk.js +9 -0
- package/build/users-permissions-translation-zh-Hans-json.8d82c809.chunk.js +1 -0
- package/build/users-providers-settings-page.0eaa916d.chunk.js +14 -0
- package/build/users-roles-settings-page.957ad48b.chunk.js +55 -0
- package/build/webhook-edit-page.665210af.chunk.js +33 -0
- package/build/zh-Hans-json.97efd015.chunk.js +1 -0
- package/ee/admin/hooks/useAuthProviders.js +25 -0
- package/ee/admin/hooks/{useLicenseLimitNotification/index.js → useLicenseLimitNotification.js} +2 -4
- package/ee/admin/hooks/{useLicenseLimits/useLicenseLimits.js → useLicenseLimits.js} +4 -1
- package/ee/admin/pages/App/constants.js +6 -5
- package/ee/admin/pages/AuthPage/components/Login/index.js +8 -4
- package/ee/admin/pages/AuthPage/components/Providers/index.js +8 -5
- package/ee/admin/pages/HomePage/index.js +1 -1
- package/ee/admin/pages/SettingsPage/constants.js +27 -42
- package/ee/admin/pages/SettingsPage/pages/ReviewWorkflows/pages/CreateView/CreateView.js +1 -1
- package/ee/admin/pages/SettingsPage/pages/ReviewWorkflows/pages/EditView/EditView.js +1 -1
- package/ee/admin/pages/SettingsPage/pages/ReviewWorkflows/pages/ListView/ListView.js +1 -1
- package/ee/admin/pages/SettingsPage/pages/Users/ListPage/CreateAction/index.js +1 -1
- package/ee/admin/pages/SettingsPage/pages/Users/ListPage/index.js +1 -1
- package/package.json +10 -10
- package/admin/src/components/AuthenticatedApp/index.js +0 -118
- package/admin/src/components/AuthenticatedApp/utils/api.js +0 -85
- package/admin/src/components/AuthenticatedApp/utils/checkLatestStrapiVersion.js +0 -11
- package/admin/src/components/PluginsInitializer/index.js +0 -68
- package/admin/src/components/PluginsInitializer/init.js +0 -11
- package/admin/src/components/PluginsInitializer/reducer.js +0 -22
- package/admin/src/layouts/AppLayout/index.js +0 -33
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/utils/api.js +0 -23
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/utils/prefixAllUrls.js +0 -17
- package/admin/src/pages/SettingsPage/utils/createSectionsRoutes.js +0 -11
- package/admin/src/pages/SettingsPage/utils/getSectionsToDisplay.js +0 -5
- package/admin/src/pages/SettingsPage/utils/index.js +0 -2
- package/admin/src/pages/UseCasePage/index.js +0 -175
- package/admin/src/utils/checkFormValidity.js +0 -15
- package/admin/src/utils/getAttributesToDisplay.js +0 -19
- package/admin/src/utils/getExistingActions.js +0 -32
- package/admin/src/utils/index.js +0 -9
- package/admin/src/utils/makeUniqueRoutes.js +0 -6
- package/build/1386.879bcd90.chunk.js +0 -7
- package/build/2225.c6244756.chunk.js +0 -79
- package/build/2379.f1641312.chunk.js +0 -1
- package/build/2395.46f8d0c1.chunk.js +0 -26
- package/build/2801.5cef5ec8.chunk.js +0 -1
- package/build/3483.03c24f96.chunk.js +0 -1
- package/build/3739.63e352f1.chunk.js +0 -103
- package/build/3929.5632f24d.chunk.js +0 -114
- package/build/448.829e1344.chunk.js +0 -1
- package/build/4546.cfafae68.chunk.js +0 -1
- package/build/502.8ae8ef60.chunk.js +0 -1
- package/build/5483.6dd2e776.chunk.js +0 -6
- package/build/5542.2415a393.chunk.js +0 -63
- package/build/6691.4985ef22.chunk.js +0 -105
- package/build/7464.3e64a1d5.chunk.js +0 -1
- package/build/8276.10a3f883.chunk.js +0 -26
- package/build/9944.7af075a5.chunk.js +0 -26
- package/build/Admin-authenticatedApp.f5ece8ff.chunk.js +0 -79
- package/build/Admin_InternalErrorPage.f45f2462.chunk.js +0 -1
- package/build/Admin_homePage.ac9dfb86.chunk.js +0 -81
- package/build/Admin_marketplace.dde9c148.chunk.js +0 -55
- package/build/Admin_pluginsPage.bbe79434.chunk.js +0 -6
- package/build/Admin_profilePage.192edc52.chunk.js +0 -13
- package/build/Admin_settingsPage.97cb9d41.chunk.js +0 -111
- package/build/admin-app.91898385.chunk.js +0 -36
- package/build/admin-edit-users.79eeb125.chunk.js +0 -10
- package/build/admin-users.123aa08e.chunk.js +0 -11
- package/build/api-tokens-list-page.505bf7e0.chunk.js +0 -16
- package/build/audit-logs-settings-page.4b422831.chunk.js +0 -1
- package/build/content-manager.2af15f57.chunk.js +0 -1099
- package/build/email-settings-page.d494d1eb.chunk.js +0 -11
- package/build/i18n-translation-ru-json.401bc498.chunk.js +0 -1
- package/build/main.f13fc96c.js +0 -2856
- package/build/review-workflows-settings-create-view.cb08cfa2.chunk.js +0 -1
- package/build/review-workflows-settings-edit-view.3c7cbe63.chunk.js +0 -1
- package/build/review-workflows-settings-list-view.1611dc1f.chunk.js +0 -56
- package/build/runtime~main.bb4efc54.js +0 -2
- package/build/transfer-tokens-list-page.22147d2c.chunk.js +0 -16
- package/build/users-advanced-settings-page.f0760eb8.chunk.js +0 -9
- package/build/users-email-settings-page.ff4b32f3.chunk.js +0 -9
- package/build/users-permissions-translation-zh-Hans-json.6ab714ee.chunk.js +0 -1
- package/build/users-providers-settings-page.48de0306.chunk.js +0 -14
- package/build/users-roles-settings-page.3f9f063e.chunk.js +0 -30
- package/build/webhook-edit-page.6cb479ff.chunk.js +0 -33
- package/build/zh-Hans-json.937b395b.chunk.js +0 -1
- package/ee/admin/hooks/index.js +0 -4
- package/ee/admin/hooks/useAuthProviders/index.js +0 -50
- package/ee/admin/hooks/useAuthProviders/reducer.js +0 -26
- package/ee/admin/hooks/useLicenseLimits/index.js +0 -1
- /package/ee/admin/hooks/{useLicenseLimits/__mocks__/index.js → __mocks__/useLicenseLimits.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[2801],{50711:function(g,s,t){t.d(s,{a:function(){return f}});var n=t(32735),a=t(19565),o=t(36866),r=t.n(o),c=t(67879),d=t(53038),l=t(98866);const E="strapi-notification-seat-limit",L="https://cloud.strapi.io/profile/billing",_="https://strapi.io/billing/request-seats",f=()=>{const{formatMessage:e}=(0,c.Z)();let{license:m,isError:u,isLoading:D}=(0,l.q)();const T=(0,a.lm)(),{pathname:M}=(0,d.TH)(),{enforcementUserCount:C,permittedSeats:O,licenseLimitStatus:i,isHostedOnStrapiCloud:I}=m;(0,n.useEffect)(()=>{if(u||D)return;const A=!r()(O)&&!window.sessionStorage.getItem(`${E}-${M}`)&&(i==="AT_LIMIT"||i==="OVER_LIMIT");let P;i==="OVER_LIMIT"?P="warning":i==="AT_LIMIT"&&(P="softWarning"),A&&T({type:P,message:e({id:"notification.ee.warning.over-.message",defaultMessage:"Add seats to {licenseLimitStatus, select, OVER_LIMIT {invite} other {re-enable}} Users. If you already did it but it's not reflected in Strapi yet, make sure to restart your app."},{licenseLimitStatus:i}),title:e({id:"notification.ee.warning.at-seat-limit.title",defaultMessage:"{licenseLimitStatus, select, OVER_LIMIT {Over} other {At}} seat limit ({enforcementUserCount}/{permittedSeats})"},{licenseLimitStatus:i,enforcementUserCount:C,permittedSeats:O}),link:{url:I?L:_,label:e({id:"notification.ee.warning.seat-limit.link",defaultMessage:"{isHostedOnStrapiCloud, select, true {ADD SEATS} other {CONTACT SALES}}"},{isHostedOnStrapiCloud:I})},blockTransition:!0,onClose(){window.sessionStorage.setItem(`${E}-${M}`,!0)}})},[T,m,M,e,D,O,i,C,I,u])}},98866:function(g,s,t){t.d(s,{q:function(){return r}});var n=t(32735),a=t(19565),o=t(20108);function r({enabled:c}={enabled:!0}){const{get:d}=(0,a.kY)(),{data:l,isError:E,isLoading:L}=(0,o.useQuery)(["ee","license-limit-info"],async()=>{const{data:{data:e}}=await d("/admin/license-limit-information");return e},{enabled:c}),_=n.useMemo(()=>l??{},[l]),f=n.useCallback(e=>(_?.features??[]).find(u=>u.name===e)?.options??{},[_?.features]);return{license:_,getFeature:f,isError:E,isLoading:L}}},12801:function(g,s,t){t.r(s),t.d(s,{UserListPageEE:function(){return r}});var n=t(32735),a=t(99528),o=t(50711);function r(){return(0,o.a)(),n.createElement(a.W,null)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[3483],{11009:function(d,s,n){n.r(s),n.d(s,{SETTINGS_ROUTES_EE:function(){return o}});var t=n(32735);const o=[...window.strapi.features.isEnabled(window.strapi.features.AUDIT_LOGS)?[{component:t.lazy(()=>n.e(2812).then(n.bind(n,1487))),path:"/settings/audit-logs"}]:[],...window.strapi.features.isEnabled(window.strapi.features.REVIEW_WORKFLOWS)?[{component:t.lazy(()=>n.e(349).then(n.bind(n,32033))),path:"/settings/review-workflows"},{component:t.lazy(()=>Promise.all([n.e(4546),n.e(2237),n.e(8936)]).then(n.bind(n,80252))),path:"/settings/review-workflows/create"},{component:t.lazy(()=>Promise.all([n.e(4546),n.e(2237),n.e(4409)]).then(n.bind(n,45696))),path:"/settings/review-workflows/:workflowId"}]:[],...window.strapi.features.isEnabled(window.strapi.features.SSO)?[{component:t.lazy(()=>n.e(302).then(n.bind(n,68951))),path:"/settings/single-sign-on"}]:[]]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[4546],{17379:function(W,v,n){n.d(v,{r:function(){return P}});var m=n(32735),E=n(72850),C=n(60216),I=n.n(C),K=n(74506);function x(M,O,h){if(!M||!O)return{display:"none"};const{x:A,y:U}=h;return{transform:`translate(${A}px, ${U}px)`}}function P({renderItem:M}){const{itemType:O,isDragging:h,item:A,initialOffset:U,currentOffset:Z,mouseOffset:Y}=(0,K.useDragLayer)(L=>({item:L.getItem(),itemType:L.getItemType(),initialOffset:L.getInitialSourceClientOffset(),currentOffset:L.getSourceClientOffset(),isDragging:L.isDragging(),mouseOffset:L.getClientOffset()}));return h?m.createElement(E.x,{height:"100%",left:0,position:"fixed",pointerEvents:"none",top:0,zIndex:100,width:"100%"},m.createElement(E.x,{style:x(U,Z,Y)},M({type:O,item:A}))):null}P.propTypes={renderItem:I().func.isRequired}},75430:function(W,v,n){var m=n(32735);const E=(0,m.createContext)();var C=null},69242:function(W,v,n){n.d(v,{PL:function(){return K},Y9:function(){return x.Y},zE:function(){return ae},Ky:function(){return X},fi:function(){return re},zH:function(){return de},r5:function(){return o}});var m=n(32735),E=n(15062),C=n(53634),K=()=>{const e=(0,E.v9)(C.Z),r=(0,m.useCallback)(t=>e?.components?.[t]??{},[e]);return{...e,getComponentLayout:r}},x=n(77622),P=n(19565),M=n(84306),O=n(20716),h=n(97889);const A={error:null,isLoading:!0,layout:{},layouts:{}};var Z=(e,r)=>(0,h.ZP)(e,t=>{switch(r.type){case"GET_DATA":{t.isLoading=!0,t.error=null,t.layout={};break}case"GET_DATA_SUCCEEDED":{const i=r.data.contentType.uid;t.layout=r.data,t.layouts[i]=r.data,t.isLoading=!1;break}case"GET_DATA_ERROR":{t.isLoading=!1,t.error=r.error;break}case"SET_LAYOUT_FROM_STATE":{t.error=null,t.layout=e.layouts[r.uid];break}case"UPDATE_LAYOUT":{const i=e.layout;t.layout={...i,contentType:{uid:i.contentType.uid,...r.newLayout.contentType}},t.layouts[i.contentType.uid]={...i,contentType:{uid:i.contentType.uid,...r.newLayout.contentType}};break}default:return t}}),Y=n(99381),L=n.n(Y),q=n(33795),R=n.n(q),oe=n(3040),S=n.n(oe),_=n(69997);const Q=(e,r)=>r.find(t=>t.uid===e),ie=(e,r)=>{const t=ee(e,r),i=k(t.contentType,r),f=te(t.contentType,t.components);return S()(t,["contentType","layouts","edit"],i),S()(t,["contentType","layouts","list"],f),Object.keys(t.components).forEach(l=>{const p=k(t.components[l],r);S()(t,["components",l,"layouts","edit"],p)}),t},ee=(e,r)=>{const t=(0,_.w8)(L()(e),r,"contentType"),{components:i,contentType:f}=t,l=p=>Object.keys(p.metadatas).reduce((y,b)=>{const N=R()(p,["attributes",b],{});let F=p.metadatas[b];if(N.type==="relation"){const ye=Q(N.targetModel,r),j=F.edit.mainField,G={name:j,schema:R()(ye,["attributes",j])};F={list:{...F.list,mainField:G},edit:{...F.edit,mainField:G}}}return y[b]=F,y},{});return S()(t,["contentType","metadatas"],l(f)),Object.keys(i).forEach(p=>{const y=i[p],b=l(y);S()(t,["components",p,"metadatas"],b)}),t},k=(e,r)=>e.layouts.edit.reduce((t,i)=>{const f=i.map(l=>{const p=R()(e,["attributes",l.name],{}),y={...l,fieldSchema:p,metadatas:R()(e,["metadatas",l.name,"edit"],{})};if(p.type==="relation"){const N=Q(p.targetModel,r).pluginOptions||{};S()(y,"targetModelPluginOptions",N),S()(y,"queryInfos",{shouldDisplayRelationLink:V(e,l.name,r)})}return y});return t.push(f),t},[]),te=(e,r)=>e.layouts.list.reduce((i,f)=>{const l=R()(e,["attributes",f],{}),p=R()(e,["metadatas",f,"list"],{}),y=l.type;if(y==="relation")return i.push({key:`__${f}_key__`,name:f,fieldSchema:l,metadatas:p}),i;if(y==="component"){const b=r[l.component],N=b.settings.mainField,F=b.attributes[N];return i.push({key:`__${f}_key__`,name:f,fieldSchema:l,metadatas:{...p,mainField:{...F,name:N}}}),i}return i.push({key:`__${f}_key__`,name:f,fieldSchema:l,metadatas:p}),i},[]),V=(e,r,t)=>{const i=R()(e,["attributes",r,"targetModel"],"");return B(t).includes(i)},B=e=>e.filter(r=>r.isDisplayed).map(({uid:r})=>r);var z=ie,ae=e=>{const[{error:r,isLoading:t,layout:i,layouts:f},l]=(0,m.useReducer)(Z,A),p=(0,m.useMemo)(O.Vo,[]),{schemas:y}=(0,E.v9)(j=>p(j),E.wU),b=(0,m.useRef)(!0),{get:N}=(0,P.kY)(),F=(0,m.useCallback)(async(j,G)=>{if(f[j]){l({type:"SET_LAYOUT_FROM_STATE",uid:j});return}l({type:"GET_DATA"});try{const{data:{data:se}}=await N(`/content-manager/content-types/${j}/configuration`,{cancelToken:G.token});l({type:"GET_DATA_SUCCEEDED",data:z(se,y)})}catch(se){if(M.default.isCancel(se))return;b.current&&console.error(se),b.current&&l({type:"GET_DATA_ERROR",error:se})}},[f,y,N]);(0,m.useEffect)(()=>()=>{b.current=!1},[]),(0,m.useEffect)(()=>{const G=M.default.CancelToken.source();return F(e,G),()=>{G.cancel("Operation canceled by the user.")}},[e,F]);const ye=(0,m.useCallback)(j=>{l({type:"UPDATE_LAYOUT",newLayout:z(j,y)})},[y]);return{error:r,isLoading:t,layout:i,updateLayout:ye}},ge=e=>e["content-manager_app"].collectionTypeLinks,ce=n(85973),T=n.n(ce),H=n(33348);const ue=(e,r)=>Object.keys(e).reduce((t,i)=>{const f=e[i],l=R()(r,[i],f);return T()(f)?{...t,[i]:ue(f,l)}:(t[i]=l,t)},{});var le=(e,r,t)=>{const i=e.find(({to:F})=>F.includes(r));if(!i)return"/";const{to:f,search:l}=i,p=(0,H.parse)(l),y=(0,H.parse)(t.substring(1)),b=ue(p,y);return`${f}?${(0,H.stringify)(b,{encode:!1})}`},X=e=>{const[{rawQuery:r}]=(0,P.Kx)(),t=(0,E.v9)(ge);return le(t,e,r)},Te=n(15655),$=n(53038),re=()=>{const{search:e}=(0,$.TH)(),r=e?(0,H.parse)(e.substring(1)):{};return r.plugins?(0,H.stringify)({plugins:r.plugins},{encode:!1}):""};const de=e=>{const r=(0,m.useRef)();return(0,m.useEffect)(()=>{r.current=e},[e]),r.current};var J=n(85149);const fe=(e,r,t)=>({type:J.m,permissions:e,__meta__:{plugins:r,containerName:t}}),me=()=>({type:J.Q}),s=e=>e["content-manager_rbacManager"].permissions,u=e=>e.rbacProvider.collectionTypesRelatedPermissions;var o=(e,r,t="listView")=>{const i=(0,E.I0)(),f=(0,E.v9)(u),l=(0,E.v9)(s),p=f[r];(0,m.useEffect)(()=>p?(i(fe(p,e?e.plugins:null,t)),()=>{i(me())}):()=>{},[p,i,e,t]);const y=l?.some(b=>b.subject!==r)??!0;return{isValid:l&&!y,permissions:l}},d=n(75430);const g=()=>useContext(WysiwygContext);var c=null},77622:function(W,v,n){n.d(v,{Y:function(){return K}});var m=n(32735),E=n(74506),C=n.n(E),I=n(15655);const K=(x,{type:P="STRAPI_DND",index:M,item:O={},onStart:h,onEnd:A,onGrabItem:U,onDropItem:Z,onCancel:Y,onMoveItem:L,dropSensitivity:q="regular"})=>{const R=(0,m.useRef)(null),[{handlerId:oe},S]=(0,E.useDrop)({accept:P,collect(k){return{handlerId:k.getHandlerId()}},hover(k,te){if(!R.current)return;const V=k.index,B=M;if(V!==B){if(q==="regular"){const z=R.current.getBoundingClientRect(),ne=(z.bottom-z.top)/2,w=te.getClientOffset().y-z.top;if(V<B&&w<ne||V>B&&w>ne)return}L(B,V),k.index=B}}}),[{isDragging:_},Q,ie]=(0,E.useDrag)({type:P,item(){h&&h();const{width:k}=R.current?.getBoundingClientRect()??{};return{index:M,width:k,...O}},end(){A&&A()},canDrag:x,isDragging:O.id?k=>O.id===k.getItem().id:void 0,collect:k=>({isDragging:k.isDragging()})}),ee=(0,I.A)(x,M,{onGrabItem:U,onDropItem:Z,onCancel:Y,onMoveItem:L});return[{handlerId:oe,isDragging:_,handleKeyDown:ee},R,S,Q,ie]}},15655:function(W,v,n){n.d(v,{A:function(){return E}});var m=n(32735);const E=(C,I,{onCancel:K,onDropItem:x,onGrabItem:P,onMoveItem:M})=>{const[O,h]=(0,m.useState)(!1),A=L=>{O&&(L==="UP"?M(I-1,I):L==="DOWN"&&M(I+1,I))},U=()=>{O?(x&&x(I),h(!1)):(P&&P(I),h(!0))},Z=()=>{O&&(h(!1),K&&K(I))};return L=>{if(C&&!(L.key==="Tab"&&!O))switch(L.preventDefault(),L.key){case" ":case"Enter":U();break;case"Escape":Z();break;case"ArrowDown":case"ArrowRight":A("DOWN");break;case"ArrowUp":case"ArrowLeft":A("UP");break;default:}}}},20716:function(W,v,n){n.d(v,{Jg:function(){return M},KQ:function(){return x},Vo:function(){return P},Yg:function(){return C}});var m=n(98178),E=n(60371);const C=()=>h=>h["content-manager_app"]||E.E,I=()=>createSelector(C(),h=>h),K=()=>createSelector(C(),h=>h.models),x=()=>(0,m.P1)(C(),h=>({collectionTypeLinks:h.collectionTypeLinks,singleTypeLinks:h.singleTypeLinks})),P=()=>(0,m.P1)(C(),({components:h,models:A})=>({schemas:[...h,...A]})),M=(0,m.P1)(C(),h=>h.fieldSizes);var O=null},53634:function(W,v){const n=m=>m["content-manager_editViewLayoutManager"].currentLayout;v.Z=n},24381:function(W,v){v.Z={COMPONENT:"component",EDIT_FIELD:"editField",FIELD:"field",DYNAMIC_ZONE:"dynamicZone",RELATION:"relation"}},7921:function(W,v){const n=m=>`content-manager.${m}`;v.Z=n},69997:function(W,v,n){n.d(v,{_Q:function(){return B.Z},W3:function(){return I},ko:function(){return x},FE:function(){return M},Di:function(){return U},Ex:function(){return me},du:function(){return q},TA:function(){return S},Ts:function(){return ee},Uo:function(){return te},OB:function(){return V.Z},w8:function(){return ce},kc:function(){return ue}});var m=n(99381),E=n.n(m),I=(s,u,a)=>{if(Array.isArray(s)&&u>=0&&a>=0&&u<=s.length-1&&a<=s.length-1){const o=E()(s),d=o.splice(u,1);return o.splice(a,0,d[0]),o}return s},x=s=>{const{type:u}=s;return u==="relation"?!(s?.relationType??"").toLowerCase().includes("morph"):!["json","dynamiczone","richtext","password"].includes(u)&&!!u};const P=(s,u)=>{typeof s=="function"?s(u):s!=null&&(s.current=u)},M=(...s)=>u=>s.forEach(a=>P(a,u));var O=n(33795),h=n.n(O);const A=(s,u)=>Object.keys(s).reduce((a,o)=>{const d=h()(s,[o],{}),{default:g,component:c,type:e,required:r,min:t,repeatable:i}=d;if(g!==void 0&&(a[o]=g),e==="component"){const f=u?.[c]?.attributes??{},l=A(f,u);if(r===!0&&(a[o]=i===!0?[]:l),t&&i===!0&&r){a[o]=[];for(let p=0;p<t;p+=1)a[o].push(l)}}return e==="dynamiczone"&&r===!0&&(a[o]=[]),a},{});var U=A,Z=n(9086),Y=n.n(Z),q=({layouts:s,metadatas:u,...a})=>{const o=s.list.map(c=>c.name?c.name:c),d=Object.keys(u).reduce((c,e)=>{const r=h()(u,[e],{});let t=r.edit;return t.mainField&&(t={...t,mainField:r.edit.mainField.name}),{...c,[e]:{edit:t,list:Y()(r.list,["mainField"])}}},{}),g=s.edit.map(c=>c.map(({name:e,size:r})=>({name:e,size:r})));return{...a,layouts:{edit:g,list:o},metadatas:d}};const R=(s,u)=>s.map(a=>({...a,subject:u}));var S=s=>{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((a,o)=>(a[o]=R(u[o],s),a),{})},_=n(95919),Q=n.n(_),ee=s=>s.split(".").filter(u=>Q()(parseInt(u,10))),te=s=>{if(s.length===0)return-1;const u=Math.max.apply(Math,s.map(a=>a.__temp_key__??0));return Number.isNaN(u)?-1:u},V=n(7921),B=n(24381),z=n(86349),ne=n.n(z),ae=n(3040),w=n.n(ae),ce=(s,u,a)=>{const o=e=>u.find(r=>r.uid===e),d=Object.assign({},s),g=s[a].uid,c=o(g);return w()(d,[a],ne()({},c,s[a])),Object.keys(s.components).forEach(e=>{const r=o(e);w()(d,["components",e],{...s.components[e],...r})}),d},T=n(19565),ue=(s,u,a)=>{const o=(d,g)=>Object.keys(d).reduce((c,e)=>{const r=(0,T.UN)(g,e),t=h()(d,e),i=(0,T.k2)(g,[e,"component"]),f=(0,T.k2)(g,[e,"repeatable"]);return r==="dynamiczone"?(c[e]=t.map(l=>o(l,a[l.__component])),c):r==="component"?(f?c[e]=t&&t.map(l=>o(l,a[i])):c[e]=t&&o(t,a[i]),c):(r!=="password"&&(c[e]=t),c)},{});return o(s,u)},pe=n(51355),le=n.n(pe),he=n(86834),X=n.n(he),Te=n(78746),$=n.n(Te),D=n(24346),re=n(73347);D.kM(D.nK,"defined",function(){return this.test("defined",T.I0.required,s=>s!==void 0)}),D.kM(D.IX,"notEmptyMin",function(s){return this.test("notEmptyMin",T.I0.min,u=>X()(u)?!0:u.length>=s)}),D.kM(D.Z_,"isInferior",function(s,u){return this.test("isInferior",s,function(a){return!a||Number.isNaN($()(a))?!0:$()(u)>=$()(a)})}),D.kM(D.Z_,"isSuperior",function(s,u){return this.test("isSuperior",s,function(a){return!a||Number.isNaN($()(a))?!0:$()(a)>=$()(u)})});const de=s=>h()(s,["attributes"],{}),J=(s,{components:u},a={isCreatingEntry:!0,isDraft:!0,isFromComponent:!1})=>{const o=de(s);return D.Ry().shape(Object.keys(o).reduce((d,g)=>{const c=o[g];if(c.type!=="relation"&&c.type!=="component"&&c.type!=="dynamiczone"){const e=fe(c.type,c,a);d[g]=e}if(c.type==="relation"&&(d[g]=["oneWay","oneToOne","manyToOne","oneToManyMorph","oneToOneMorph"].includes(c.relationType)?D.Ry().nullable():D.IX().nullable()),c.type==="component"){const e=J(u[c.component],{components:u},{...a,isFromComponent:!0});if(c.repeatable===!0){const{min:t,max:i,required:f}=c;let l=D.Vo(p=>{let y=D.IX().of(e);return t?f?y=y.min(t,T.I0.min):f!==!0&&X()(p)?y=y.nullable():y=y.min(t,T.I0.min):f&&!a.isDraft&&(y=y.min(1,T.I0.required)),i&&(y=y.max(i,T.I0.max)),y});return d[g]=l,d}const r=D.Vo(t=>t!==void 0?c.required===!0&&!a.isDraft?e.defined():e.nullable():c.required===!0?D.Ry().defined():D.Ry().nullable());return d[g]=r,d}if(c.type==="dynamiczone"){let e=D.IX().of(D.Vo(({__component:i})=>J(u[i],{components:u},{...a,isFromComponent:!0})));const{max:r,min:t}=c;t?c.required?e=e.test("min",T.I0.min,i=>a.isCreatingEntry?i&&i.length>=t:i===void 0?!0:i!==null&&i.length>=t).test("required",T.I0.required,i=>a.isCreatingEntry?i!==null||i!==void 0:i===void 0?!0:i!==null):e=e.notEmptyMin(t):c.required&&!a.isDraft&&(e=e.test("required",T.I0.required,i=>a.isCreatingEntry?i!==null||i!==void 0:i===void 0?!0:i!==null)),r&&(e=e.max(r,T.I0.max)),d[g]=e}return d},{}))},fe=(s,u,a)=>{let o=D.nK();return["string","uid","text","richtext","email","password","enumeration"].includes(s)&&(o=D.Z_()),s==="json"&&(o=D.nK(T.I0.json).test("isJSON",T.I0.json,d=>{if(!d||!d.length)return!0;try{return JSON.parse(d),!0}catch{return!1}}).nullable().test("required",T.I0.required,d=>!(u.required&&(!d||!d.length)))),s==="email"&&(o=o.email(T.I0.email)),["number","integer","float","decimal"].includes(s)&&(o=D.Rx().transform(d=>Q()(d)?void 0:d).typeError()),s==="biginteger"&&(o=D.Z_().matches(/^-?\d*$/)),["date","datetime"].includes(s)&&(o=D.hT()),Object.keys(u).forEach(d=>{const g=u[d];if(g||!le()(g)&&Number.isInteger(Math.floor(g))||g===0)switch(d){case"required":{a.isDraft||(s==="password"&&a.isCreatingEntry&&(o=o.required(T.I0.required)),s!=="password"&&(a.isCreatingEntry?o=o.required(T.I0.required):o=o.test("required",T.I0.required,c=>c===void 0&&!a.isFromComponent?!0:(0,re.Z)(s)?c===0?!0:!!c:s==="boolean"?c!=null:s==="date"||s==="datetime"?typeof c=="string"?!X()(c):!X()(c?.toString()):!X()(c))));break}case"max":{s==="biginteger"?o=o.isInferior(T.I0.max,g):o=o.max(g,T.I0.max);break}case"maxLength":o=o.max(g,T.I0.maxLength);break;case"min":{s==="biginteger"?o=o.isSuperior(T.I0.min,g):o=o.min(g,T.I0.min);break}case"minLength":{a.isDraft||(o=o.min(g,T.I0.minLength));break}case"regex":o=o.matches(new RegExp(g),{message:T.I0.regex,excludeEmptyString:!u.required});break;case"lowercase":["text","textarea","email","string"].includes(s)&&(o=o.strict().lowercase());break;case"uppercase":["text","textarea","email","string"].includes(s)&&(o=o.strict().uppercase());break;case"positive":(0,re.Z)(s)&&(o=o.positive());break;case"negative":(0,re.Z)(s)&&(o=o.negative());break;default:o=o.nullable()}}),o};var me=J},73347:function(W,v,n){n.d(v,{Z:function(){return m}});function m(E){return["integer","biginteger","decimal","float","number"].includes(E)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[502],{98866:function(C,_,t){t.d(_,{q:function(){return o}});var e=t(32735),l=t(19565),s=t(20108);function o({enabled:d}={enabled:!0}){const{get:c}=(0,l.kY)(),{data:r,isError:n,isLoading:m}=(0,s.useQuery)(["ee","license-limit-info"],async()=>{const{data:{data:i}}=await c("/admin/license-limit-information");return i},{enabled:d}),a=e.useMemo(()=>r??{},[r]),u=e.useCallback(i=>(a?.features??[]).find(M=>M.name===i)?.options??{},[a?.features]);return{license:a,getFeature:u,isError:n,isLoading:m}}},50502:function(C,_,t){t.r(_),t.d(_,{AdminSeatInfoEE:function(){return I}});var e=t(32735),l=t(5803),s=t(49372),o=t(87933),d=t(63919),c=t(99140),r=t(41502),n=t(19565),m=t(69932),a=t(47361),u=t(67879),i=t(15062),O=t(30305),M=t(98866);const p="https://cloud.strapi.io/profile/billing",f="https://strapi.io/billing/request-seats",I=()=>{const{formatMessage:E}=(0,u.Z)(),A=(0,i.v9)(O._),{isLoading:D,allowedActions:{canRead:R,canCreate:U,canUpdate:v,canDelete:B}}=(0,n.ss)(A.settings.users),{license:{licenseLimitStatus:T,enforcementUserCount:g,permittedSeats:L,isHostedOnStrapiCloud:P},isError:W,isLoading:K}=(0,M.q)({enabled:!D&&R&&U&&v&&B});return W||(D||K)||!L?null:e.createElement(l.P,{col:6,s:12},e.createElement(s.Z,{variant:"sigma",textColor:"neutral600"},E({id:"Settings.application.admin-seats",defaultMessage:"Admin seats"})),e.createElement(o.k,{gap:2},e.createElement(o.k,null,e.createElement(s.Z,{as:"p"},E({id:"Settings.application.ee.admin-seats.count",defaultMessage:"<text>{enforcementUserCount}</text>/{permittedSeats}"},{permittedSeats:L,enforcementUserCount:g,text:h=>e.createElement(s.Z,{fontWeight:"semiBold",textColor:g>L?"danger500":null},h)}))),T==="OVER_LIMIT"&&e.createElement(d.u,{description:E({id:"Settings.application.ee.admin-seats.at-limit-tooltip",defaultMessage:"At limit: add seats to invite more users"})},e.createElement(c.J,{width:`${(0,n.Q1)(14)}rem`,height:`${(0,n.Q1)(14)}rem`,color:"danger500",as:m.Z}))),e.createElement(r.r,{href:P?p:f,isExternal:!0,endIcon:e.createElement(a.Z,null)},E({id:"Settings.application.ee.admin-seats.add-seats",defaultMessage:"{isHostedOnStrapiCloud, select, true {Add seats} other {Contact sales}}"},{isHostedOnStrapiCloud:P})))}}}]);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[5483],{90978:function(h,f,e){e.r(f),e.d(f,{InformationBoxEE:function(){return I}});var t=e(32735),r=e(77035),s=e(87933),E=e(49372),u=e(23866),a=e(19565),c=e(67879),l=e(20108),n=e(98865),m=e(98866),o=e(90562),i=e(2121),g=e(32329),v=e(68886);const w="strapi_stage";function I(){const{initialData:A,isCreatingEntry:R,layout:{uid:y,options:D},isSingleType:P,onChange:C}=(0,a.Wq)(),{put:d}=(0,a.kY)(),T=A?.[w]??null,k=D?.reviewWorkflows??!1,{formatMessage:p}=(0,c.Z)(),{formatAPIError:x}=(0,a.So)(),G=(0,a.lm)(),{getFeature:Z}=(0,m.q)(),[F,L]=t.useState(!1),{meta:$,workflows:[B],isLoading:Y}=(0,g.n)({filters:{contentTypes:y}}),{error:K,isLoading:j,mutateAsync:H}=(0,l.useMutation)(async({entityId:O,stageId:W,uid:M})=>{const N=P?"single-types":"collection-types",{data:{data:U}}=await d(`/admin/content-manager/${N}/${M}/${O}/stage`,{data:{id:W}});return C({target:{name:w,value:U[w]}},!0),U},{onSuccess(){G({type:"success",message:{id:"content-manager.reviewWorkflows.stage.notification.saved",defaultMessage:"Review stage updated"}})}}),S=Z("review-workflows"),Q=K&&x(K)||null,X=async({value:O})=>{try{S?.[i.Ef]&&parseInt(S[i.Ef],10)<$.workflowCount?L("workflow"):S?.[i._X]&&parseInt(S[i._X],10)<B.stages.length?L("stage"):await H({entityId:A.id,stageId:O,uid:y})}catch{}},{themeColorName:V}=T?.color?(0,v.k)(T?.color):{};return t.createElement(n.d.Root,null,t.createElement(n.d.Title,null),k&&!R&&t.createElement(r.q4,{error:Q,name:w,id:w,value:T?.id,onChange:O=>X({value:O}),label:p({id:"content-manager.reviewWorkflows.stage.label",defaultMessage:"Review stage"}),startIcon:t.createElement(s.k,{as:"span",height:2,background:T?.color,borderColor:V==="neutral0"?"neutral150":"transparent",hasRadius:!0,shrink:0,width:2,marginRight:"-3px"}),customizeContent:()=>t.createElement(s.k,{as:"span",justifyContent:"space-between",alignItems:"center",width:"100%"},t.createElement(E.Z,{textColor:"neutral800",ellipsis:!0},T?.name),Y||j?t.createElement(u.a,{small:!0,style:{display:"flex"}}):null)},B?B.stages.map(({id:O,color:W,name:M})=>{const{themeColorName:N}=(0,v.k)(W);return t.createElement(r.ag,{startIcon:t.createElement(s.k,{height:2,background:W,borderColor:N==="neutral0"?"neutral150":"transparent",hasRadius:!0,shrink:0,width:2}),value:O,textValue:M},M)}):[]),t.createElement(n.d.Body,null),t.createElement(o.fC,{isOpen:F==="workflow",onClose:()=>L(!1)},t.createElement(o.Dx,null,p({id:"content-manager.reviewWorkflows.workflows.limit.title",defaultMessage:"You\u2019ve reached the limit of workflows in your plan"})),t.createElement(o.uT,null,p({id:"content-manager.reviewWorkflows.workflows.limit.body",defaultMessage:"Delete a workflow or contact Sales to enable more workflows."}))),t.createElement(o.fC,{isOpen:F==="stage",onClose:()=>L(!1)},t.createElement(o.Dx,null,p({id:"content-manager.reviewWorkflows.stages.limit.title",defaultMessage:"You have reached the limit of stages for this workflow in your plan"})),t.createElement(o.uT,null,p({id:"content-manager.reviewWorkflows.stages.limit.body",defaultMessage:"Try deleting some stages or contact Sales to enable more stages."}))))}},98866:function(h,f,e){e.d(f,{q:function(){return E}});var t=e(32735),r=e(19565),s=e(20108);function E({enabled:u}={enabled:!0}){const{get:a}=(0,r.kY)(),{data:c,isError:l,isLoading:n}=(0,s.useQuery)(["ee","license-limit-info"],async()=>{const{data:{data:i}}=await a("/admin/license-limit-information");return i},{enabled:u}),m=t.useMemo(()=>c??{},[c]),o=t.useCallback(i=>(m?.features??[]).find(v=>v.name===i)?.options??{},[m?.features]);return{license:m,getFeature:o,isError:l,isLoading:n}}},90562:function(h,f,e){e.d(f,{uT:function(){return y},fC:function(){return C},Dx:function(){return R}});var t=e(32735),r=e(49372),s=e(87933),E=e(85025),u=e(31600),a=e(72850),c=e(50563),l=e(95489),n=e(35331),m=e(60216),o=e.n(m),i=e(67879),g=e(8471),v=e.p+"0cd5f8915b265d5b1856.png";const w="limits-title",I="https://strapi.io/pricing-cloud",A="https://strapi.io/contact-sales";function R({children:d}){return t.createElement(r.Z,{variant:"alpha",id:w},d)}R.propTypes={children:o().node.isRequired};function y({children:d}){return t.createElement(r.Z,{variant:"omega"},d)}y.propTypes={children:o().node.isRequired};function D(){const{formatMessage:d}=(0,i.Z)();return t.createElement(s.k,{gap:2,paddingTop:4},t.createElement(l.Q,{variant:"default",isExternal:!0,href:I},d({id:"Settings.review-workflows.limit.cta.learn",defaultMessage:"Learn more"})),t.createElement(l.Q,{variant:"tertiary",isExternal:!0,href:A},d({id:"Settings.review-workflows.limit.cta.sales",defaultMessage:"Contact Sales"})))}const P=g.ZP.img`
|
|
2
|
+
// Margin top|right reverse the padding of ModalBody
|
|
3
|
+
margin-right: ${({theme:d})=>`-${d.spaces[7]}`};
|
|
4
|
+
margin-top: ${({theme:d})=>`-${d.spaces[7]}`};
|
|
5
|
+
width: 360px;
|
|
6
|
+
`;function C({children:d,isOpen:T,onClose:k}){const{formatMessage:p}=(0,i.Z)();return T?t.createElement(E.P,{labelledBy:w},t.createElement(u.f,null,t.createElement(s.k,{gap:2,paddingLeft:7,position:"relative"},t.createElement(s.k,{alignItems:"start",direction:"column",gap:2,width:"60%"},d,t.createElement(D,null)),t.createElement(s.k,{justifyContent:"end",height:"100%",width:"40%"},t.createElement(P,{src:v,"aria-hidden":!0,alt:"",loading:"lazy"}),t.createElement(a.x,{display:"flex",position:"absolute",right:0,top:0},t.createElement(c.h,{icon:t.createElement(n.Z,null),"aria-label":p({id:"global.close",defaultMessage:"Close"}),onClick:k})))))):null}C.defaultProps={isOpen:!1},C.propTypes={children:o().node.isRequired,isOpen:o().bool,onClose:o().func.isRequired}},2121:function(h,f,e){e.d(f,{$k:function(){return l},Ef:function(){return g},FT:function(){return o},Nj:function(){return c},Ot:function(){return a},VS:function(){return n},_X:function(){return v},gu:function(){return s},lv:function(){return m},qZ:function(){return E},sN:function(){return r},uL:function(){return i},x4:function(){return u}});var t=e(12301);const r="settings_review-workflows",s="Settings/Review_Workflows/RESET_WORKFLOW",E="Settings/Review_Workflows/SET_WORKFLOW",u="Settings/Review_Workflows/WORKFLOW_DELETE_STAGE",a="Settings/Review_Workflows/WORKFLOW_ADD_STAGE",c="Settings/Review_Workflows/WORKFLOW_UPDATE_STAGE",l="Settings/Review_Workflows/WORKFLOW_UPDATE_STAGE_POSITION",n="Settings/Review_Workflows/WORKFLOW_UPDATE",m={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"},o=t.W.colors.primary600,i={STAGE:"stage"},g="numberOfWorkflows",v="stagesPerWorkflow"},32329:function(h,f,e){e.d(f,{n:function(){return s}});var t=e(19565),r=e(20108);function s(E={}){const{get:u}=(0,t.kY)(),{id:a="",...c}=E,l={populate:"stages"},{data:n,isLoading:m,status:o,refetch:i}=(0,r.useQuery)(["review-workflows","workflows",a],async()=>(await u(`/admin/review-workflows/workflows/${a}`,{params:{...l,...c}})).data);let g=[];return a&&n?.data?g=[n.data]:Array.isArray(n?.data)&&(g=n.data),{meta:n?.meta??{},workflows:g,isLoading:m,status:o,refetch:i}}},68886:function(h,f,e){e.d(f,{k:function(){return s},s:function(){return E}});var t=e(12301),r=e(2121);function s(u){if(!u)return null;const c=Object.entries(t.W.colors).filter(([,l])=>l.toUpperCase()===u.toUpperCase()).reduce((l,[n])=>(r.lv?.[n]&&(l=n),l),null);return c?{themeColorName:c,name:r.lv[c]}:null}function E(){return Object.entries(r.lv).map(([u,a])=>({hex:t.W.colors[u].toUpperCase(),name:a}))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[7464],{50711:function(D,n,t){t.d(n,{a:function(){return m}});var s=t(32735),a=t(19565),o=t(36866),r=t.n(o),c=t(67879),d=t(53038),_=t(98866);const E="strapi-notification-seat-limit",f="https://cloud.strapi.io/profile/billing",l="https://strapi.io/billing/request-seats",m=()=>{const{formatMessage:e}=(0,c.Z)();let{license:L,isError:u,isLoading:T}=(0,_.q)();const g=(0,a.lm)(),{pathname:M}=(0,d.TH)(),{enforcementUserCount:C,permittedSeats:O,licenseLimitStatus:i,isHostedOnStrapiCloud:I}=L;(0,s.useEffect)(()=>{if(u||T)return;const A=!r()(O)&&!window.sessionStorage.getItem(`${E}-${M}`)&&(i==="AT_LIMIT"||i==="OVER_LIMIT");let P;i==="OVER_LIMIT"?P="warning":i==="AT_LIMIT"&&(P="softWarning"),A&&g({type:P,message:e({id:"notification.ee.warning.over-.message",defaultMessage:"Add seats to {licenseLimitStatus, select, OVER_LIMIT {invite} other {re-enable}} Users. If you already did it but it's not reflected in Strapi yet, make sure to restart your app."},{licenseLimitStatus:i}),title:e({id:"notification.ee.warning.at-seat-limit.title",defaultMessage:"{licenseLimitStatus, select, OVER_LIMIT {Over} other {At}} seat limit ({enforcementUserCount}/{permittedSeats})"},{licenseLimitStatus:i,enforcementUserCount:C,permittedSeats:O}),link:{url:I?f:l,label:e({id:"notification.ee.warning.seat-limit.link",defaultMessage:"{isHostedOnStrapiCloud, select, true {ADD SEATS} other {CONTACT SALES}}"},{isHostedOnStrapiCloud:I})},blockTransition:!0,onClose(){window.sessionStorage.setItem(`${E}-${M}`,!0)}})},[g,L,M,e,T,O,i,C,I,u])}},98866:function(D,n,t){t.d(n,{q:function(){return r}});var s=t(32735),a=t(19565),o=t(20108);function r({enabled:c}={enabled:!0}){const{get:d}=(0,a.kY)(),{data:_,isError:E,isLoading:f}=(0,o.useQuery)(["ee","license-limit-info"],async()=>{const{data:{data:e}}=await d("/admin/license-limit-information");return e},{enabled:c}),l=s.useMemo(()=>_??{},[_]),m=s.useCallback(e=>(l?.features??[]).find(u=>u.name===e)?.options??{},[l?.features]);return{license:l,getFeature:m,isError:E,isLoading:f}}},37363:function(D,n,t){t.r(n),t.d(n,{HomePageEE:function(){return r}});var s=t(32735),a=t(83555),o=t(50711);function r(){return(0,o.a)(),s.createElement(a.HomePageCE,null)}}}]);
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[748],{65923:function(v,E,r){"use strict";const s=r(52138),a=Symbol("max"),u=Symbol("length"),d=Symbol("lengthCalculator"),c=Symbol("allowStale"),n=Symbol("maxAge"),e=Symbol("dispose"),t=Symbol("noDisposeOnSet"),h=Symbol("lruList"),o=Symbol("cache"),i=Symbol("updateAgeOnGet"),l=()=>1;class f{constructor(T){if(typeof T=="number"&&(T={max:T}),T||(T={}),T.max&&(typeof T.max!="number"||T.max<0))throw new TypeError("max must be a non-negative number");const L=this[a]=T.max||1/0,R=T.length||l;if(this[d]=typeof R!="function"?l:R,this[c]=T.stale||!1,T.maxAge&&typeof T.maxAge!="number")throw new TypeError("maxAge must be a number");this[n]=T.maxAge||0,this[e]=T.dispose,this[t]=T.noDisposeOnSet||!1,this[i]=T.updateAgeOnGet||!1,this.reset()}set max(T){if(typeof T!="number"||T<0)throw new TypeError("max must be a non-negative number");this[a]=T||1/0,g(this)}get max(){return this[a]}set allowStale(T){this[c]=!!T}get allowStale(){return this[c]}set maxAge(T){if(typeof T!="number")throw new TypeError("maxAge must be a non-negative number");this[n]=T,g(this)}get maxAge(){return this[n]}set lengthCalculator(T){typeof T!="function"&&(T=l),T!==this[d]&&(this[d]=T,this[u]=0,this[h].forEach(L=>{L.length=this[d](L.value,L.key),this[u]+=L.length})),g(this)}get lengthCalculator(){return this[d]}get length(){return this[u]}get itemCount(){return this[h].length}rforEach(T,L){L=L||this;for(let R=this[h].tail;R!==null;){const S=R.prev;C(this,T,R,L),R=S}}forEach(T,L){L=L||this;for(let R=this[h].head;R!==null;){const S=R.next;C(this,T,R,L),R=S}}keys(){return this[h].toArray().map(T=>T.key)}values(){return this[h].toArray().map(T=>T.value)}reset(){this[e]&&this[h]&&this[h].length&&this[h].forEach(T=>this[e](T.key,T.value)),this[o]=new Map,this[h]=new s,this[u]=0}dump(){return this[h].map(T=>m(this,T)?!1:{k:T.key,v:T.value,e:T.now+(T.maxAge||0)}).toArray().filter(T=>T)}dumpLru(){return this[h]}set(T,L,R){if(R=R||this[n],R&&typeof R!="number")throw new TypeError("maxAge must be a number");const S=R?Date.now():0,N=this[d](L,T);if(this[o].has(T)){if(N>this[a])return D(this,this[o].get(T)),!1;const H=this[o].get(T).value;return this[e]&&(this[t]||this[e](T,H.value)),H.now=S,H.maxAge=R,H.value=L,this[u]+=N-H.length,H.length=N,this.get(T),g(this),!0}const F=new _(T,L,N,S,R);return F.length>this[a]?(this[e]&&this[e](T,L),!1):(this[u]+=F.length,this[h].unshift(F),this[o].set(T,this[h].head),g(this),!0)}has(T){if(!this[o].has(T))return!1;const L=this[o].get(T).value;return!m(this,L)}get(T){return p(this,T,!0)}peek(T){return p(this,T,!1)}pop(){const T=this[h].tail;return T?(D(this,T),T.value):null}del(T){D(this,this[o].get(T))}load(T){this.reset();const L=Date.now();for(let R=T.length-1;R>=0;R--){const S=T[R],N=S.e||0;if(N===0)this.set(S.k,S.v);else{const F=N-L;F>0&&this.set(S.k,S.v,F)}}}prune(){this[o].forEach((T,L)=>p(this,L,!1))}}const p=(x,T,L)=>{const R=x[o].get(T);if(R){const S=R.value;if(m(x,S)){if(D(x,R),!x[c])return}else L&&(x[i]&&(R.value.now=Date.now()),x[h].unshiftNode(R));return S.value}},m=(x,T)=>{if(!T||!T.maxAge&&!x[n])return!1;const L=Date.now()-T.now;return T.maxAge?L>T.maxAge:x[n]&&L>x[n]},g=x=>{if(x[u]>x[a])for(let T=x[h].tail;x[u]>x[a]&&T!==null;){const L=T.prev;D(x,T),T=L}},D=(x,T)=>{if(T){const L=T.value;x[e]&&x[e](L.key,L.value),x[u]-=L.length,x[o].delete(L.key),x[h].removeNode(T)}};class _{constructor(T,L,R,S,N){this.key=T,this.value=L,this.length=R,this.now=S,this.maxAge=N||0}}const C=(x,T,L,R)=>{let S=L.value;m(x,S)&&(D(x,L),x[c]||(S=void 0)),S&&T.call(R,S.value,S.key,x)};v.exports=f},13272:function(v,E,r){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.isSafari=E.isFirefox=void 0;var s=r(17611);const a=s.memoize(()=>/firefox/i.test(navigator.userAgent));E.isFirefox=a;const u=s.memoize(()=>Boolean(window.safari));E.isSafari=u},24284:function(v,E,r){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var s=r(17611);class a{enter(d){const c=this.entered.length,n=e=>this.isNodeInDocument(e)&&(!e.contains||e.contains(d));return this.entered=s.union(this.entered.filter(n),[d]),c===0&&this.entered.length>0}leave(d){const c=this.entered.length;return this.entered=s.without(this.entered.filter(this.isNodeInDocument),d),c>0&&this.entered.length===0}reset(){this.entered=[]}constructor(d){this.entered=[],this.isNodeInDocument=d}}E.EnterLeaveCounter=a},32022:function(v,E,r){"use strict";Object.defineProperty(E,"__esModule",{value:!0});var s=r(24284),a=r(5782),u=r(54935),d=e(r(9689)),c=r(44444);function n(o,i,l){return i in o?Object.defineProperty(o,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):o[i]=l,o}function e(o){if(o&&o.__esModule)return o;var i={};if(o!=null){for(var l in o)if(Object.prototype.hasOwnProperty.call(o,l)){var f=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(o,l):{};f.get||f.set?Object.defineProperty(i,l,f):i[l]=o[l]}}return i.default=o,i}function t(o){for(var i=1;i<arguments.length;i++){var l=arguments[i]!=null?arguments[i]:{},f=Object.keys(l);typeof Object.getOwnPropertySymbols=="function"&&(f=f.concat(Object.getOwnPropertySymbols(l).filter(function(p){return Object.getOwnPropertyDescriptor(l,p).enumerable}))),f.forEach(function(p){n(o,p,l[p])})}return o}class h{profile(){var i,l;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((i=this.dragStartSourceIds)===null||i===void 0?void 0:i.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((l=this.dragOverTargetIds)===null||l===void 0?void 0:l.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const i=this.rootElement;if(i!==void 0){if(i.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");i.__isReactDndBackendSetUp=!0,this.addEventListeners(i)}}teardown(){const i=this.rootElement;if(i!==void 0&&(i.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var l;(l=this.window)===null||l===void 0||l.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(i,l,f){return this.sourcePreviewNodeOptions.set(i,f),this.sourcePreviewNodes.set(i,l),()=>{this.sourcePreviewNodes.delete(i),this.sourcePreviewNodeOptions.delete(i)}}connectDragSource(i,l,f){this.sourceNodes.set(i,l),this.sourceNodeOptions.set(i,f);const p=g=>this.handleDragStart(g,i),m=g=>this.handleSelectStart(g);return l.setAttribute("draggable","true"),l.addEventListener("dragstart",p),l.addEventListener("selectstart",m),()=>{this.sourceNodes.delete(i),this.sourceNodeOptions.delete(i),l.removeEventListener("dragstart",p),l.removeEventListener("selectstart",m),l.setAttribute("draggable","false")}}connectDropTarget(i,l){const f=g=>this.handleDragEnter(g,i),p=g=>this.handleDragOver(g,i),m=g=>this.handleDrop(g,i);return l.addEventListener("dragenter",f),l.addEventListener("dragover",p),l.addEventListener("drop",m),()=>{l.removeEventListener("dragenter",f),l.removeEventListener("dragover",p),l.removeEventListener("drop",m)}}addEventListeners(i){i.addEventListener&&(i.addEventListener("dragstart",this.handleTopDragStart),i.addEventListener("dragstart",this.handleTopDragStartCapture,!0),i.addEventListener("dragend",this.handleTopDragEndCapture,!0),i.addEventListener("dragenter",this.handleTopDragEnter),i.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),i.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),i.addEventListener("dragover",this.handleTopDragOver),i.addEventListener("dragover",this.handleTopDragOverCapture,!0),i.addEventListener("drop",this.handleTopDrop),i.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(i){i.removeEventListener&&(i.removeEventListener("dragstart",this.handleTopDragStart),i.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),i.removeEventListener("dragend",this.handleTopDragEndCapture,!0),i.removeEventListener("dragenter",this.handleTopDragEnter),i.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),i.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),i.removeEventListener("dragover",this.handleTopDragOver),i.removeEventListener("dragover",this.handleTopDragOverCapture,!0),i.removeEventListener("drop",this.handleTopDrop),i.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const i=this.monitor.getSourceId(),l=this.sourceNodeOptions.get(i);return t({dropEffect:this.altKeyPressed?"copy":"move"},l||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const i=this.monitor.getSourceId(),l=this.sourcePreviewNodeOptions.get(i);return t({anchorX:.5,anchorY:.5,captureDraggingState:!1},l||{})}isDraggingNativeItem(){const i=this.monitor.getItemType();return Object.keys(d).some(l=>d[l]===i)}beginDragNativeItem(i,l){this.clearCurrentDragSourceNode(),this.currentNativeSource=u.createNativeDragSource(i,l),this.currentNativeHandle=this.registry.addSource(i,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(i){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=i;const l=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var f;return(f=this.rootElement)===null||f===void 0?void 0:f.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},l)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var i;(i=this.window)===null||i===void 0||i.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(i,l){i.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(l))}handleDragEnter(i,l){this.dragEnterTargetIds.unshift(l)}handleDragOver(i,l){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(l)}handleDrop(i,l){this.dropTargetIds.unshift(l)}constructor(i,l,f){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=p=>{const m=this.sourceNodes.get(p);return m&&a.getNodeClientOffset(m)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=p=>Boolean(p&&this.document&&this.document.body&&this.document.body.contains(p)),this.endDragIfSourceWasRemovedFromDOM=()=>{const p=this.currentDragSourceNode;p==null||this.isNodeInDocument(p)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=p=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(p||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=p=>{if(p.defaultPrevented)return;const{dragStartSourceIds:m}=this;this.dragStartSourceIds=null;const g=a.getEventClientOffset(p);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(m||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:g});const{dataTransfer:D}=p,_=u.matchNativeItemType(D);if(this.monitor.isDragging()){if(D&&typeof D.setDragImage=="function"){const x=this.monitor.getSourceId(),T=this.sourceNodes.get(x),L=this.sourcePreviewNodes.get(x)||T;if(L){const{anchorX:R,anchorY:S,offsetX:N,offsetY:F}=this.getCurrentSourcePreviewNodeOptions(),G={anchorX:R,anchorY:S},H={offsetX:N,offsetY:F},K=a.getDragPreviewOffset(T,L,g,G,H);D.setDragImage(L,K.x,K.y)}}try{D?.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(p.target);const{captureDraggingState:C}=this.getCurrentSourcePreviewNodeOptions();C?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(_)this.beginDragNativeItem(_);else{if(D&&!D.types&&(p.target&&!p.target.hasAttribute||!p.target.hasAttribute("draggable")))return;p.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=p=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var m;(m=this.currentNativeSource)===null||m===void 0||m.loadDataTransfer(p.dataTransfer)}if(!this.enterLeaveCounter.enter(p.target)||this.monitor.isDragging())return;const{dataTransfer:D}=p,_=u.matchNativeItemType(D);_&&this.beginDragNativeItem(_,D)},this.handleTopDragEnter=p=>{const{dragEnterTargetIds:m}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=p.altKey,m.length>0&&this.actions.hover(m,{clientOffset:a.getEventClientOffset(p)}),m.some(D=>this.monitor.canDropOnTarget(D))&&(p.preventDefault(),p.dataTransfer&&(p.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=p=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var m;(m=this.currentNativeSource)===null||m===void 0||m.loadDataTransfer(p.dataTransfer)}},this.handleTopDragOver=p=>{const{dragOverTargetIds:m}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){p.preventDefault(),p.dataTransfer&&(p.dataTransfer.dropEffect="none");return}this.altKeyPressed=p.altKey,this.lastClientOffset=a.getEventClientOffset(p),this.scheduleHover(m),(m||[]).some(D=>this.monitor.canDropOnTarget(D))?(p.preventDefault(),p.dataTransfer&&(p.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?p.preventDefault():(p.preventDefault(),p.dataTransfer&&(p.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=p=>{this.isDraggingNativeItem()&&p.preventDefault(),this.enterLeaveCounter.leave(p.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=p=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var m;p.preventDefault(),(m=this.currentNativeSource)===null||m===void 0||m.loadDataTransfer(p.dataTransfer)}else u.matchNativeItemType(p.dataTransfer)&&p.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=p=>{const{dropTargetIds:m}=this;this.dropTargetIds=[],this.actions.hover(m,{clientOffset:a.getEventClientOffset(p)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=p=>{const m=p.target;typeof m.dragDrop=="function"&&(m.tagName==="INPUT"||m.tagName==="SELECT"||m.tagName==="TEXTAREA"||m.isContentEditable||(p.preventDefault(),m.dragDrop()))},this.options=new c.OptionsReader(l,f),this.actions=i.getActions(),this.monitor=i.getMonitor(),this.registry=i.getRegistry(),this.enterLeaveCounter=new s.EnterLeaveCounter(this.isNodeInDocument)}}E.HTML5BackendImpl=h},80557:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0});class r{interpolate(a){const{xs:u,ys:d,c1s:c,c2s:n,c3s:e}=this;let t=u.length-1;if(a===u[t])return d[t];let h=0,o=e.length-1,i;for(;h<=o;){i=Math.floor(.5*(h+o));const p=u[i];if(p<a)h=i+1;else if(p>a)o=i-1;else return d[i]}t=Math.max(0,o);const l=a-u[t],f=l*l;return d[t]+c[t]*l+n[t]*f+e[t]*l*f}constructor(a,u){const{length:d}=a,c=[];for(let m=0;m<d;m++)c.push(m);c.sort((m,g)=>a[m]<a[g]?-1:1);const n=[],e=[],t=[];let h,o;for(let m=0;m<d-1;m++)h=a[m+1]-a[m],o=u[m+1]-u[m],e.push(h),n.push(o),t.push(o/h);const i=[t[0]];for(let m=0;m<e.length-1;m++){const g=t[m],D=t[m+1];if(g*D<=0)i.push(0);else{h=e[m];const _=e[m+1],C=h+_;i.push(3*C/((C+_)/g+(C+h)/D))}}i.push(t[t.length-1]);const l=[],f=[];let p;for(let m=0;m<i.length-1;m++){p=t[m];const g=i[m],D=1/e[m],_=g+i[m+1]-p-p;l.push((p-g-_)*D),f.push(_*D*D)}this.xs=a,this.ys=u,this.c1s=i,this.c2s=l,this.c3s=f}}E.MonotonicInterpolant=r},81061:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0});class r{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(a=>{Object.defineProperty(this.item,a,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${a}" until the drop event.`),null}})})}loadDataTransfer(a){if(a){const u={};Object.keys(this.config.exposeProperties).forEach(d=>{const c=this.config.exposeProperties[d];c!=null&&(u[d]={value:c(a,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,u)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(a,u){return u===a.getSourceId()}endDrag(){}constructor(a){this.config=a,this.item={},this.initializeExposedProperties()}}E.NativeDragSource=r},17892:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.getDataFromDataTransfer=r;function r(s,a,u){const d=a.reduce((c,n)=>c||s.getData(n),"");return d??u}},54935:function(v,E,r){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.createNativeDragSource=u,E.matchNativeItemType=d;var s=r(66826),a=r(81061);function u(c,n){const e=s.nativeTypesConfig[c];if(!e)throw new Error(`native type ${c} has no configuration`);const t=new a.NativeDragSource(e);return t.loadDataTransfer(n),t}function d(c){if(!c)return null;const n=Array.prototype.slice.call(c.types||[]);return Object.keys(s.nativeTypesConfig).filter(e=>{const t=s.nativeTypesConfig[e];return t?.matchesTypes?t.matchesTypes.some(h=>n.indexOf(h)>-1):!1})[0]||null}},66826:function(v,E,r){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.nativeTypesConfig=void 0;var s=u(r(9689)),a=r(17892);function u(c){if(c&&c.__esModule)return c;var n={};if(c!=null){for(var e in c)if(Object.prototype.hasOwnProperty.call(c,e)){var t=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(c,e):{};t.get||t.set?Object.defineProperty(n,e,t):n[e]=c[e]}}return n.default=c,n}const d={[s.FILE]:{exposeProperties:{files:c=>Array.prototype.slice.call(c.files),items:c=>c.items,dataTransfer:c=>c},matchesTypes:["Files"]},[s.HTML]:{exposeProperties:{html:(c,n)=>a.getDataFromDataTransfer(c,n,""),dataTransfer:c=>c},matchesTypes:["Html","text/html"]},[s.URL]:{exposeProperties:{urls:(c,n)=>a.getDataFromDataTransfer(c,n,"").split(`
|
|
2
|
+
`),dataTransfer:c=>c},matchesTypes:["Url","text/uri-list"]},[s.TEXT]:{exposeProperties:{text:(c,n)=>a.getDataFromDataTransfer(c,n,""),dataTransfer:c=>c},matchesTypes:["Text","text/plain"]}};E.nativeTypesConfig=d},9689:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.HTML=E.TEXT=E.URL=E.FILE=void 0;const r="__NATIVE_FILE__";E.FILE=r;const s="__NATIVE_URL__";E.URL=s;const a="__NATIVE_TEXT__";E.TEXT=a;const u="__NATIVE_HTML__";E.HTML=u},5782:function(v,E,r){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.getNodeClientOffset=d,E.getEventClientOffset=c,E.getDragPreviewOffset=t;var s=r(13272),a=r(80557);const u=1;function d(h){const o=h.nodeType===u?h:h.parentElement;if(!o)return null;const{top:i,left:l}=o.getBoundingClientRect();return{x:l,y:i}}function c(h){return{x:h.clientX,y:h.clientY}}function n(h){var o;return h.nodeName==="IMG"&&(s.isFirefox()||!(!((o=document.documentElement)===null||o===void 0)&&o.contains(h)))}function e(h,o,i,l){let f=h?o.width:i,p=h?o.height:l;return s.isSafari()&&h&&(p/=window.devicePixelRatio,f/=window.devicePixelRatio),{dragPreviewWidth:f,dragPreviewHeight:p}}function t(h,o,i,l,f){const p=n(o),g=d(p?h:o),D={x:i.x-g.x,y:i.y-g.y},{offsetWidth:_,offsetHeight:C}=h,{anchorX:x,anchorY:T}=l,{dragPreviewWidth:L,dragPreviewHeight:R}=e(p,o,_,C),S=()=>{let O=new a.MonotonicInterpolant([0,.5,1],[D.y,D.y/C*R,D.y+R-C]).interpolate(T);return s.isSafari()&&p&&(O+=(window.devicePixelRatio-1)*R),O},N=()=>new a.MonotonicInterpolant([0,.5,1],[D.x,D.x/_*L,D.x+L-_]).interpolate(x),{offsetX:F,offsetY:G}=f,H=F===0||F,K=G===0||G;return{x:H?F:N(),y:K?G:S()}}},44444:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0});class r{get window(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}get document(){var a;return!((a=this.globalContext)===null||a===void 0)&&a.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var a;return((a=this.optionsArgs)===null||a===void 0?void 0:a.rootElement)||this.window}constructor(a,u){this.ownerDocument=null,this.globalContext=a,this.optionsArgs=u}}E.OptionsReader=r},15970:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.getEmptyImage=s;let r;function s(){return r||(r=new Image,r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r}},51968:function(v,E,r){"use strict";var s;s={value:!0},Object.defineProperty(E,"rX",{enumerable:!0,get:function(){return d.getEmptyImage}}),E.PD=s=void 0;var a=r(32022),u=c(r(9689)),d=r(15970);s=u;function c(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var h in e)if(Object.prototype.hasOwnProperty.call(e,h)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,h):{};o.get||o.set?Object.defineProperty(t,h,o):t[h]=e[h]}}return t.default=e,t}const n=function(t,h,o){return new a.HTML5BackendImpl(t,h,o)};E.PD=n},17611:function(v,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.memoize=r,E.without=s,E.union=a;function r(u){let d=null;return()=>(d==null&&(d=u()),d)}function s(u,d){return u.filter(c=>c!==d)}function a(u,d){const c=new Set,n=t=>c.add(t);u.forEach(n),d.forEach(n);const e=[];return c.forEach(t=>e.push(t)),e}},84074:function(v,E,r){const s=Symbol("SemVer ANY");class a{static get ANY(){return s}constructor(i,l){if(l=u(l),i instanceof a){if(i.loose===!!l.loose)return i;i=i.value}i=i.trim().split(/\s+/).join(" "),e("comparator",i,l),this.options=l,this.loose=!!l.loose,this.parse(i),this.semver===s?this.value="":this.value=this.operator+this.semver.version,e("comp",this)}parse(i){const l=this.options.loose?d[c.COMPARATORLOOSE]:d[c.COMPARATOR],f=i.match(l);if(!f)throw new TypeError(`Invalid comparator: ${i}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new t(f[2],this.options.loose):this.semver=s}toString(){return this.value}test(i){if(e("Comparator.test",i,this.options.loose),this.semver===s||i===s)return!0;if(typeof i=="string")try{i=new t(i,this.options)}catch{return!1}return n(i,this.operator,this.semver,this.options)}intersects(i,l){if(!(i instanceof a))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new h(i.value,l).test(this.value):i.operator===""?i.value===""?!0:new h(this.value,l).test(i.semver):(l=u(l),l.includePrerelease&&(this.value==="<0.0.0-0"||i.value==="<0.0.0-0")||!l.includePrerelease&&(this.value.startsWith("<0.0.0")||i.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&i.operator.startsWith(">")||this.operator.startsWith("<")&&i.operator.startsWith("<")||this.semver.version===i.semver.version&&this.operator.includes("=")&&i.operator.includes("=")||n(this.semver,"<",i.semver,l)&&this.operator.startsWith(">")&&i.operator.startsWith("<")||n(this.semver,">",i.semver,l)&&this.operator.startsWith("<")&&i.operator.startsWith(">")))}}v.exports=a;const u=r(30156),{safeRe:d,t:c}=r(90887),n=r(62401),e=r(33843),t=r(39405),h=r(14355)},14355:function(v,E,r){class s{constructor(O,y){if(y=d(y),O instanceof s)return O.loose===!!y.loose&&O.includePrerelease===!!y.includePrerelease?O:new s(O.raw,y);if(O instanceof c)return this.raw=O.value,this.set=[[O]],this.format(),this;if(this.options=y,this.loose=!!y.loose,this.includePrerelease=!!y.includePrerelease,this.raw=O.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(A=>this.parseRange(A.trim())).filter(A=>A.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const A=this.set[0];if(this.set=this.set.filter($=>!m($[0])),this.set.length===0)this.set=[A];else if(this.set.length>1){for(const $ of this.set)if($.length===1&&g($[0])){this.set=[$];break}}}this.format()}format(){return this.range=this.set.map(O=>O.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(O){const A=((this.options.includePrerelease&&f)|(this.options.loose&&p))+":"+O,$=u.get(A);if($)return $;const P=this.options.loose,M=P?t[h.HYPHENRANGELOOSE]:t[h.HYPHENRANGE];O=O.replace(M,H(this.options.includePrerelease)),n("hyphen replace",O),O=O.replace(t[h.COMPARATORTRIM],o),n("comparator trim",O),O=O.replace(t[h.TILDETRIM],i),n("tilde trim",O),O=O.replace(t[h.CARETTRIM],l),n("caret trim",O);let w=O.split(" ").map(B=>_(B,this.options)).join(" ").split(/\s+/).map(B=>G(B,this.options));P&&(w=w.filter(B=>(n("loose invalid filter",B,this.options),!!B.match(t[h.COMPARATORLOOSE])))),n("range list",w);const j=new Map,U=w.map(B=>new c(B,this.options));for(const B of U){if(m(B))return[B];j.set(B.value,B)}j.size>1&&j.has("")&&j.delete("");const W=[...j.values()];return u.set(A,W),W}intersects(O,y){if(!(O instanceof s))throw new TypeError("a Range is required");return this.set.some(A=>D(A,y)&&O.set.some($=>D($,y)&&A.every(P=>$.every(M=>P.intersects(M,y)))))}test(O){if(!O)return!1;if(typeof O=="string")try{O=new e(O,this.options)}catch{return!1}for(let y=0;y<this.set.length;y++)if(K(this.set[y],O,this.options))return!0;return!1}}v.exports=s;const a=r(65923),u=new a({max:1e3}),d=r(30156),c=r(84074),n=r(33843),e=r(39405),{safeRe:t,t:h,comparatorTrimReplace:o,tildeTrimReplace:i,caretTrimReplace:l}=r(90887),{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:p}=r(88202),m=I=>I.value==="<0.0.0-0",g=I=>I.value==="",D=(I,O)=>{let y=!0;const A=I.slice();let $=A.pop();for(;y&&A.length;)y=A.every(P=>$.intersects(P,O)),$=A.pop();return y},_=(I,O)=>(n("comp",I,O),I=L(I,O),n("caret",I),I=x(I,O),n("tildes",I),I=S(I,O),n("xrange",I),I=F(I,O),n("stars",I),I),C=I=>!I||I.toLowerCase()==="x"||I==="*",x=(I,O)=>I.trim().split(/\s+/).map(y=>T(y,O)).join(" "),T=(I,O)=>{const y=O.loose?t[h.TILDELOOSE]:t[h.TILDE];return I.replace(y,(A,$,P,M,w)=>{n("tilde",I,A,$,P,M,w);let j;return C($)?j="":C(P)?j=`>=${$}.0.0 <${+$+1}.0.0-0`:C(M)?j=`>=${$}.${P}.0 <${$}.${+P+1}.0-0`:w?(n("replaceTilde pr",w),j=`>=${$}.${P}.${M}-${w} <${$}.${+P+1}.0-0`):j=`>=${$}.${P}.${M} <${$}.${+P+1}.0-0`,n("tilde return",j),j})},L=(I,O)=>I.trim().split(/\s+/).map(y=>R(y,O)).join(" "),R=(I,O)=>{n("caret",I,O);const y=O.loose?t[h.CARETLOOSE]:t[h.CARET],A=O.includePrerelease?"-0":"";return I.replace(y,($,P,M,w,j)=>{n("caret",I,$,P,M,w,j);let U;return C(P)?U="":C(M)?U=`>=${P}.0.0${A} <${+P+1}.0.0-0`:C(w)?P==="0"?U=`>=${P}.${M}.0${A} <${P}.${+M+1}.0-0`:U=`>=${P}.${M}.0${A} <${+P+1}.0.0-0`:j?(n("replaceCaret pr",j),P==="0"?M==="0"?U=`>=${P}.${M}.${w}-${j} <${P}.${M}.${+w+1}-0`:U=`>=${P}.${M}.${w}-${j} <${P}.${+M+1}.0-0`:U=`>=${P}.${M}.${w}-${j} <${+P+1}.0.0-0`):(n("no pr"),P==="0"?M==="0"?U=`>=${P}.${M}.${w}${A} <${P}.${M}.${+w+1}-0`:U=`>=${P}.${M}.${w}${A} <${P}.${+M+1}.0-0`:U=`>=${P}.${M}.${w} <${+P+1}.0.0-0`),n("caret return",U),U})},S=(I,O)=>(n("replaceXRanges",I,O),I.split(/\s+/).map(y=>N(y,O)).join(" ")),N=(I,O)=>{I=I.trim();const y=O.loose?t[h.XRANGELOOSE]:t[h.XRANGE];return I.replace(y,(A,$,P,M,w,j)=>{n("xRange",I,A,$,P,M,w,j);const U=C(P),W=U||C(M),B=W||C(w),X=B;return $==="="&&X&&($=""),j=O.includePrerelease?"-0":"",U?$===">"||$==="<"?A="<0.0.0-0":A="*":$&&X?(W&&(M=0),w=0,$===">"?($=">=",W?(P=+P+1,M=0,w=0):(M=+M+1,w=0)):$==="<="&&($="<",W?P=+P+1:M=+M+1),$==="<"&&(j="-0"),A=`${$+P}.${M}.${w}${j}`):W?A=`>=${P}.0.0${j} <${+P+1}.0.0-0`:B&&(A=`>=${P}.${M}.0${j} <${P}.${+M+1}.0-0`),n("xRange return",A),A})},F=(I,O)=>(n("replaceStars",I,O),I.trim().replace(t[h.STAR],"")),G=(I,O)=>(n("replaceGTE0",I,O),I.trim().replace(t[O.includePrerelease?h.GTE0PRE:h.GTE0],"")),H=I=>(O,y,A,$,P,M,w,j,U,W,B,X,b)=>(C(A)?y="":C($)?y=`>=${A}.0.0${I?"-0":""}`:C(P)?y=`>=${A}.${$}.0${I?"-0":""}`:M?y=`>=${y}`:y=`>=${y}${I?"-0":""}`,C(U)?j="":C(W)?j=`<${+U+1}.0.0-0`:C(B)?j=`<${U}.${+W+1}.0-0`:X?j=`<=${U}.${W}.${B}-${X}`:I?j=`<${U}.${W}.${+B+1}-0`:j=`<=${j}`,`${y} ${j}`.trim()),K=(I,O,y)=>{for(let A=0;A<I.length;A++)if(!I[A].test(O))return!1;if(O.prerelease.length&&!y.includePrerelease){for(let A=0;A<I.length;A++)if(n(I[A].semver),I[A].semver!==c.ANY&&I[A].semver.prerelease.length>0){const $=I[A].semver;if($.major===O.major&&$.minor===O.minor&&$.patch===O.patch)return!0}return!1}return!0}},39405:function(v,E,r){const s=r(33843),{MAX_LENGTH:a,MAX_SAFE_INTEGER:u}=r(88202),{safeRe:d,t:c}=r(90887),n=r(30156),{compareIdentifiers:e}=r(31630);class t{constructor(o,i){if(i=n(i),o instanceof t){if(o.loose===!!i.loose&&o.includePrerelease===!!i.includePrerelease)return o;o=o.version}else if(typeof o!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof o}".`);if(o.length>a)throw new TypeError(`version is longer than ${a} characters`);s("SemVer",o,i),this.options=i,this.loose=!!i.loose,this.includePrerelease=!!i.includePrerelease;const l=o.trim().match(i.loose?d[c.LOOSE]:d[c.FULL]);if(!l)throw new TypeError(`Invalid Version: ${o}`);if(this.raw=o,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>u||this.major<0)throw new TypeError("Invalid major version");if(this.minor>u||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>u||this.patch<0)throw new TypeError("Invalid patch version");l[4]?this.prerelease=l[4].split(".").map(f=>{if(/^[0-9]+$/.test(f)){const p=+f;if(p>=0&&p<u)return p}return f}):this.prerelease=[],this.build=l[5]?l[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(o){if(s("SemVer.compare",this.version,this.options,o),!(o instanceof t)){if(typeof o=="string"&&o===this.version)return 0;o=new t(o,this.options)}return o.version===this.version?0:this.compareMain(o)||this.comparePre(o)}compareMain(o){return o instanceof t||(o=new t(o,this.options)),e(this.major,o.major)||e(this.minor,o.minor)||e(this.patch,o.patch)}comparePre(o){if(o instanceof t||(o=new t(o,this.options)),this.prerelease.length&&!o.prerelease.length)return-1;if(!this.prerelease.length&&o.prerelease.length)return 1;if(!this.prerelease.length&&!o.prerelease.length)return 0;let i=0;do{const l=this.prerelease[i],f=o.prerelease[i];if(s("prerelease compare",i,l,f),l===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(l===void 0)return-1;if(l===f)continue;return e(l,f)}while(++i)}compareBuild(o){o instanceof t||(o=new t(o,this.options));let i=0;do{const l=this.build[i],f=o.build[i];if(s("prerelease compare",i,l,f),l===void 0&&f===void 0)return 0;if(f===void 0)return 1;if(l===void 0)return-1;if(l===f)continue;return e(l,f)}while(++i)}inc(o,i,l){switch(o){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",i,l);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",i,l);break;case"prepatch":this.prerelease.length=0,this.inc("patch",i,l),this.inc("pre",i,l);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",i,l),this.inc("pre",i,l);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const f=Number(l)?1:0;if(!i&&l===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[f];else{let p=this.prerelease.length;for(;--p>=0;)typeof this.prerelease[p]=="number"&&(this.prerelease[p]++,p=-2);if(p===-1){if(i===this.prerelease.join(".")&&l===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(f)}}if(i){let p=[i,f];l===!1&&(p=[i]),e(this.prerelease[0],i)===0?isNaN(this.prerelease[1])&&(this.prerelease=p):this.prerelease=p}break}default:throw new Error(`invalid increment argument: ${o}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}v.exports=t},10953:function(v,E,r){const s=r(15497),a=(u,d)=>{const c=s(u.trim().replace(/^[=v]+/,""),d);return c?c.version:null};v.exports=a},62401:function(v,E,r){const s=r(38896),a=r(38378),u=r(99261),d=r(56647),c=r(63433),n=r(64622),e=(t,h,o,i)=>{switch(h){case"===":return typeof t=="object"&&(t=t.version),typeof o=="object"&&(o=o.version),t===o;case"!==":return typeof t=="object"&&(t=t.version),typeof o=="object"&&(o=o.version),t!==o;case"":case"=":case"==":return s(t,o,i);case"!=":return a(t,o,i);case">":return u(t,o,i);case">=":return d(t,o,i);case"<":return c(t,o,i);case"<=":return n(t,o,i);default:throw new TypeError(`Invalid operator: ${h}`)}};v.exports=e},36839:function(v,E,r){const s=r(39405),a=r(15497),{safeRe:u,t:d}=r(90887),c=(n,e)=>{if(n instanceof s)return n;if(typeof n=="number"&&(n=String(n)),typeof n!="string")return null;e=e||{};let t=null;if(!e.rtl)t=n.match(u[d.COERCE]);else{let h;for(;(h=u[d.COERCERTL].exec(n))&&(!t||t.index+t[0].length!==n.length);)(!t||h.index+h[0].length!==t.index+t[0].length)&&(t=h),u[d.COERCERTL].lastIndex=h.index+h[1].length+h[2].length;u[d.COERCERTL].lastIndex=-1}return t===null?null:a(`${t[2]}.${t[3]||"0"}.${t[4]||"0"}`,e)};v.exports=c},6218:function(v,E,r){const s=r(39405),a=(u,d,c)=>{const n=new s(u,c),e=new s(d,c);return n.compare(e)||n.compareBuild(e)};v.exports=a},9643:function(v,E,r){const s=r(73308),a=(u,d)=>s(u,d,!0);v.exports=a},73308:function(v,E,r){const s=r(39405),a=(u,d,c)=>new s(u,c).compare(new s(d,c));v.exports=a},93948:function(v,E,r){const s=r(15497),a=(u,d)=>{const c=s(u,null,!0),n=s(d,null,!0),e=c.compare(n);if(e===0)return null;const t=e>0,h=t?c:n,o=t?n:c,i=!!h.prerelease.length;if(!!o.prerelease.length&&!i)return!o.patch&&!o.minor?"major":h.patch?"patch":h.minor?"minor":"major";const f=i?"pre":"";return c.major!==n.major?f+"major":c.minor!==n.minor?f+"minor":c.patch!==n.patch?f+"patch":"prerelease"};v.exports=a},38896:function(v,E,r){const s=r(73308),a=(u,d,c)=>s(u,d,c)===0;v.exports=a},99261:function(v,E,r){const s=r(73308),a=(u,d,c)=>s(u,d,c)>0;v.exports=a},56647:function(v,E,r){const s=r(73308),a=(u,d,c)=>s(u,d,c)>=0;v.exports=a},35791:function(v,E,r){const s=r(39405),a=(u,d,c,n,e)=>{typeof c=="string"&&(e=n,n=c,c=void 0);try{return new s(u instanceof s?u.version:u,c).inc(d,n,e).version}catch{return null}};v.exports=a},63433:function(v,E,r){const s=r(73308),a=(u,d,c)=>s(u,d,c)<0;v.exports=a},64622:function(v,E,r){const s=r(73308),a=(u,d,c)=>s(u,d,c)<=0;v.exports=a},60629:function(v,E,r){const s=r(39405),a=(u,d)=>new s(u,d).major;v.exports=a},59986:function(v,E,r){const s=r(39405),a=(u,d)=>new s(u,d).minor;v.exports=a},38378:function(v,E,r){const s=r(73308),a=(u,d,c)=>s(u,d,c)!==0;v.exports=a},15497:function(v,E,r){const s=r(39405),a=(u,d,c=!1)=>{if(u instanceof s)return u;try{return new s(u,d)}catch(n){if(!c)return null;throw n}};v.exports=a},89800:function(v,E,r){const s=r(39405),a=(u,d)=>new s(u,d).patch;v.exports=a},44408:function(v,E,r){const s=r(15497),a=(u,d)=>{const c=s(u,d);return c&&c.prerelease.length?c.prerelease:null};v.exports=a},80762:function(v,E,r){const s=r(73308),a=(u,d,c)=>s(d,u,c);v.exports=a},72743:function(v,E,r){const s=r(6218),a=(u,d)=>u.sort((c,n)=>s(n,c,d));v.exports=a},15312:function(v,E,r){const s=r(14355),a=(u,d,c)=>{try{d=new s(d,c)}catch{return!1}return d.test(u)};v.exports=a},52354:function(v,E,r){const s=r(6218),a=(u,d)=>u.sort((c,n)=>s(c,n,d));v.exports=a},34512:function(v,E,r){const s=r(15497),a=(u,d)=>{const c=s(u,d);return c?c.version:null};v.exports=a},54770:function(v,E,r){const s=r(90887),a=r(88202),u=r(39405),d=r(31630),c=r(15497),n=r(34512),e=r(10953),t=r(35791),h=r(93948),o=r(60629),i=r(59986),l=r(89800),f=r(44408),p=r(73308),m=r(80762),g=r(9643),D=r(6218),_=r(52354),C=r(72743),x=r(99261),T=r(63433),L=r(38896),R=r(38378),S=r(56647),N=r(64622),F=r(62401),G=r(36839),H=r(84074),K=r(14355),I=r(15312),O=r(59663),y=r(94931),A=r(65891),$=r(24925),P=r(69965),M=r(93260),w=r(60715),j=r(30006),U=r(9560),W=r(77795),B=r(57732);v.exports={parse:c,valid:n,clean:e,inc:t,diff:h,major:o,minor:i,patch:l,prerelease:f,compare:p,rcompare:m,compareLoose:g,compareBuild:D,sort:_,rsort:C,gt:x,lt:T,eq:L,neq:R,gte:S,lte:N,cmp:F,coerce:G,Comparator:H,Range:K,satisfies:I,toComparators:O,maxSatisfying:y,minSatisfying:A,minVersion:$,validRange:P,outside:M,gtr:w,ltr:j,intersects:U,simplifyRange:W,subset:B,SemVer:u,re:s.re,src:s.src,tokens:s.t,SEMVER_SPEC_VERSION:a.SEMVER_SPEC_VERSION,RELEASE_TYPES:a.RELEASE_TYPES,compareIdentifiers:d.compareIdentifiers,rcompareIdentifiers:d.rcompareIdentifiers}},88202:function(v){const E="2.0.0",s=Number.MAX_SAFE_INTEGER||9007199254740991,a=16,u=256-6,d=["major","premajor","minor","preminor","patch","prepatch","prerelease"];v.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:a,MAX_SAFE_BUILD_LENGTH:u,MAX_SAFE_INTEGER:s,RELEASE_TYPES:d,SEMVER_SPEC_VERSION:E,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},33843:function(v){const E=typeof process=="object"&&{ADMIN_PATH:"/admin/",NODE_ENV:"production",STRAPI_ADMIN_BACKEND_URL:"http://localhost:1337",STRAPI_TELEMETRY_DISABLED:!1}&&{ADMIN_PATH:"/admin/",NODE_ENV:"production",STRAPI_ADMIN_BACKEND_URL:"http://localhost:1337",STRAPI_TELEMETRY_DISABLED:!1}.NODE_DEBUG&&/\bsemver\b/i.test({ADMIN_PATH:"/admin/",NODE_ENV:"production",STRAPI_ADMIN_BACKEND_URL:"http://localhost:1337",STRAPI_TELEMETRY_DISABLED:!1}.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};v.exports=E},31630:function(v){const E=/^[0-9]+$/,r=(a,u)=>{const d=E.test(a),c=E.test(u);return d&&c&&(a=+a,u=+u),a===u?0:d&&!c?-1:c&&!d?1:a<u?-1:1},s=(a,u)=>r(u,a);v.exports={compareIdentifiers:r,rcompareIdentifiers:s}},30156:function(v){const E=Object.freeze({loose:!0}),r=Object.freeze({}),s=a=>a?typeof a!="object"?E:a:r;v.exports=s},90887:function(v,E,r){const{MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:u}=r(88202),d=r(33843);E=v.exports={};const c=E.re=[],n=E.safeRe=[],e=E.src=[],t=E.t={};let h=0;const o="[a-zA-Z0-9-]",i=[["\\s",1],["\\d",u],[o,a]],l=p=>{for(const[m,g]of i)p=p.split(`${m}*`).join(`${m}{0,${g}}`).split(`${m}+`).join(`${m}{1,${g}}`);return p},f=(p,m,g)=>{const D=l(m),_=h++;d(p,_,m),t[p]=_,e[_]=m,c[_]=new RegExp(m,g?"g":void 0),n[_]=new RegExp(D,g?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${o}*`),f("MAINVERSION",`(${e[t.NUMERICIDENTIFIER]})\\.(${e[t.NUMERICIDENTIFIER]})\\.(${e[t.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${e[t.NUMERICIDENTIFIERLOOSE]})\\.(${e[t.NUMERICIDENTIFIERLOOSE]})\\.(${e[t.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${e[t.NUMERICIDENTIFIER]}|${e[t.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${e[t.NUMERICIDENTIFIERLOOSE]}|${e[t.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${e[t.PRERELEASEIDENTIFIER]}(?:\\.${e[t.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${e[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${e[t.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${o}+`),f("BUILD",`(?:\\+(${e[t.BUILDIDENTIFIER]}(?:\\.${e[t.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${e[t.MAINVERSION]}${e[t.PRERELEASE]}?${e[t.BUILD]}?`),f("FULL",`^${e[t.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${e[t.MAINVERSIONLOOSE]}${e[t.PRERELEASELOOSE]}?${e[t.BUILD]}?`),f("LOOSE",`^${e[t.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${e[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${e[t.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${e[t.XRANGEIDENTIFIER]})(?:\\.(${e[t.XRANGEIDENTIFIER]})(?:\\.(${e[t.XRANGEIDENTIFIER]})(?:${e[t.PRERELEASE]})?${e[t.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${e[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[t.XRANGEIDENTIFIERLOOSE]})(?:${e[t.PRERELEASELOOSE]})?${e[t.BUILD]}?)?)?`),f("XRANGE",`^${e[t.GTLT]}\\s*${e[t.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${e[t.GTLT]}\\s*${e[t.XRANGEPLAINLOOSE]}$`),f("COERCE",`(^|[^\\d])(\\d{1,${s}})(?:\\.(\\d{1,${s}}))?(?:\\.(\\d{1,${s}}))?(?:$|[^\\d])`),f("COERCERTL",e[t.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${e[t.LONETILDE]}\\s+`,!0),E.tildeTrimReplace="$1~",f("TILDE",`^${e[t.LONETILDE]}${e[t.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${e[t.LONETILDE]}${e[t.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${e[t.LONECARET]}\\s+`,!0),E.caretTrimReplace="$1^",f("CARET",`^${e[t.LONECARET]}${e[t.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${e[t.LONECARET]}${e[t.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${e[t.GTLT]}\\s*(${e[t.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${e[t.GTLT]}\\s*(${e[t.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${e[t.GTLT]}\\s*(${e[t.LOOSEPLAIN]}|${e[t.XRANGEPLAIN]})`,!0),E.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${e[t.XRANGEPLAIN]})\\s+-\\s+(${e[t.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${e[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${e[t.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},60715:function(v,E,r){const s=r(93260),a=(u,d,c)=>s(u,d,">",c);v.exports=a},9560:function(v,E,r){const s=r(14355),a=(u,d,c)=>(u=new s(u,c),d=new s(d,c),u.intersects(d,c));v.exports=a},30006:function(v,E,r){const s=r(93260),a=(u,d,c)=>s(u,d,"<",c);v.exports=a},94931:function(v,E,r){const s=r(39405),a=r(14355),u=(d,c,n)=>{let e=null,t=null,h=null;try{h=new a(c,n)}catch{return null}return d.forEach(o=>{h.test(o)&&(!e||t.compare(o)===-1)&&(e=o,t=new s(e,n))}),e};v.exports=u},65891:function(v,E,r){const s=r(39405),a=r(14355),u=(d,c,n)=>{let e=null,t=null,h=null;try{h=new a(c,n)}catch{return null}return d.forEach(o=>{h.test(o)&&(!e||t.compare(o)===1)&&(e=o,t=new s(e,n))}),e};v.exports=u},24925:function(v,E,r){const s=r(39405),a=r(14355),u=r(99261),d=(c,n)=>{c=new a(c,n);let e=new s("0.0.0");if(c.test(e)||(e=new s("0.0.0-0"),c.test(e)))return e;e=null;for(let t=0;t<c.set.length;++t){const h=c.set[t];let o=null;h.forEach(i=>{const l=new s(i.semver.version);switch(i.operator){case">":l.prerelease.length===0?l.patch++:l.prerelease.push(0),l.raw=l.format();case"":case">=":(!o||u(l,o))&&(o=l);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!e||u(e,o))&&(e=o)}return e&&c.test(e)?e:null};v.exports=d},93260:function(v,E,r){const s=r(39405),a=r(84074),{ANY:u}=a,d=r(14355),c=r(15312),n=r(99261),e=r(63433),t=r(64622),h=r(56647),o=(i,l,f,p)=>{i=new s(i,p),l=new d(l,p);let m,g,D,_,C;switch(f){case">":m=n,g=t,D=e,_=">",C=">=";break;case"<":m=e,g=h,D=n,_="<",C="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(c(i,l,p))return!1;for(let x=0;x<l.set.length;++x){const T=l.set[x];let L=null,R=null;if(T.forEach(S=>{S.semver===u&&(S=new a(">=0.0.0")),L=L||S,R=R||S,m(S.semver,L.semver,p)?L=S:D(S.semver,R.semver,p)&&(R=S)}),L.operator===_||L.operator===C||(!R.operator||R.operator===_)&&g(i,R.semver))return!1;if(R.operator===C&&D(i,R.semver))return!1}return!0};v.exports=o},77795:function(v,E,r){const s=r(15312),a=r(73308);v.exports=(u,d,c)=>{const n=[];let e=null,t=null;const h=u.sort((f,p)=>a(f,p,c));for(const f of h)s(f,d,c)?(t=f,e||(e=f)):(t&&n.push([e,t]),t=null,e=null);e&&n.push([e,null]);const o=[];for(const[f,p]of n)f===p?o.push(f):!p&&f===h[0]?o.push("*"):p?f===h[0]?o.push(`<=${p}`):o.push(`${f} - ${p}`):o.push(`>=${f}`);const i=o.join(" || "),l=typeof d.raw=="string"?d.raw:String(d);return i.length<l.length?i:d}},57732:function(v,E,r){const s=r(14355),a=r(84074),{ANY:u}=a,d=r(15312),c=r(73308),n=(l,f,p={})=>{if(l===f)return!0;l=new s(l,p),f=new s(f,p);let m=!1;e:for(const g of l.set){for(const D of f.set){const _=h(g,D,p);if(m=m||_!==null,_)continue e}if(m)return!1}return!0},e=[new a(">=0.0.0-0")],t=[new a(">=0.0.0")],h=(l,f,p)=>{if(l===f)return!0;if(l.length===1&&l[0].semver===u){if(f.length===1&&f[0].semver===u)return!0;p.includePrerelease?l=e:l=t}if(f.length===1&&f[0].semver===u){if(p.includePrerelease)return!0;f=t}const m=new Set;let g,D;for(const N of l)N.operator===">"||N.operator===">="?g=o(g,N,p):N.operator==="<"||N.operator==="<="?D=i(D,N,p):m.add(N.semver);if(m.size>1)return null;let _;if(g&&D){if(_=c(g.semver,D.semver,p),_>0)return null;if(_===0&&(g.operator!==">="||D.operator!=="<="))return null}for(const N of m){if(g&&!d(N,String(g),p)||D&&!d(N,String(D),p))return null;for(const F of f)if(!d(N,String(F),p))return!1;return!0}let C,x,T,L,R=D&&!p.includePrerelease&&D.semver.prerelease.length?D.semver:!1,S=g&&!p.includePrerelease&&g.semver.prerelease.length?g.semver:!1;R&&R.prerelease.length===1&&D.operator==="<"&&R.prerelease[0]===0&&(R=!1);for(const N of f){if(L=L||N.operator===">"||N.operator===">=",T=T||N.operator==="<"||N.operator==="<=",g){if(S&&N.semver.prerelease&&N.semver.prerelease.length&&N.semver.major===S.major&&N.semver.minor===S.minor&&N.semver.patch===S.patch&&(S=!1),N.operator===">"||N.operator===">="){if(C=o(g,N,p),C===N&&C!==g)return!1}else if(g.operator===">="&&!d(g.semver,String(N),p))return!1}if(D){if(R&&N.semver.prerelease&&N.semver.prerelease.length&&N.semver.major===R.major&&N.semver.minor===R.minor&&N.semver.patch===R.patch&&(R=!1),N.operator==="<"||N.operator==="<="){if(x=i(D,N,p),x===N&&x!==D)return!1}else if(D.operator==="<="&&!d(D.semver,String(N),p))return!1}if(!N.operator&&(D||g)&&_!==0)return!1}return!(g&&T&&!D&&_!==0||D&&L&&!g&&_!==0||S||R)},o=(l,f,p)=>{if(!l)return f;const m=c(l.semver,f.semver,p);return m>0?l:m<0||f.operator===">"&&l.operator===">="?f:l},i=(l,f,p)=>{if(!l)return f;const m=c(l.semver,f.semver,p);return m<0?l:m>0||f.operator==="<"&&l.operator==="<="?f:l};v.exports=n},59663:function(v,E,r){const s=r(14355),a=(u,d)=>new s(u,d).set.map(c=>c.map(n=>n.value).join(" ").trim().split(" "));v.exports=a},69965:function(v,E,r){const s=r(14355),a=(u,d)=>{try{return new s(u,d).range||"*"}catch{return null}};v.exports=a},19961:function(v){"use strict";v.exports=function(E){E.prototype[Symbol.iterator]=function*(){for(let r=this.head;r;r=r.next)yield r.value}}},52138:function(v,E,r){"use strict";v.exports=s,s.Node=c,s.create=s;function s(n){var e=this;if(e instanceof s||(e=new s),e.tail=null,e.head=null,e.length=0,n&&typeof n.forEach=="function")n.forEach(function(o){e.push(o)});else if(arguments.length>0)for(var t=0,h=arguments.length;t<h;t++)e.push(arguments[t]);return e}s.prototype.removeNode=function(n){if(n.list!==this)throw new Error("removing node which does not belong to this list");var e=n.next,t=n.prev;return e&&(e.prev=t),t&&(t.next=e),n===this.head&&(this.head=e),n===this.tail&&(this.tail=t),n.list.length--,n.next=null,n.prev=null,n.list=null,e},s.prototype.unshiftNode=function(n){if(n!==this.head){n.list&&n.list.removeNode(n);var e=this.head;n.list=this,n.next=e,e&&(e.prev=n),this.head=n,this.tail||(this.tail=n),this.length++}},s.prototype.pushNode=function(n){if(n!==this.tail){n.list&&n.list.removeNode(n);var e=this.tail;n.list=this,n.prev=e,e&&(e.next=n),this.tail=n,this.head||(this.head=n),this.length++}},s.prototype.push=function(){for(var n=0,e=arguments.length;n<e;n++)u(this,arguments[n]);return this.length},s.prototype.unshift=function(){for(var n=0,e=arguments.length;n<e;n++)d(this,arguments[n]);return this.length},s.prototype.pop=function(){if(this.tail){var n=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,n}},s.prototype.shift=function(){if(this.head){var n=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,n}},s.prototype.forEach=function(n,e){e=e||this;for(var t=this.head,h=0;t!==null;h++)n.call(e,t.value,h,this),t=t.next},s.prototype.forEachReverse=function(n,e){e=e||this;for(var t=this.tail,h=this.length-1;t!==null;h--)n.call(e,t.value,h,this),t=t.prev},s.prototype.get=function(n){for(var e=0,t=this.head;t!==null&&e<n;e++)t=t.next;if(e===n&&t!==null)return t.value},s.prototype.getReverse=function(n){for(var e=0,t=this.tail;t!==null&&e<n;e++)t=t.prev;if(e===n&&t!==null)return t.value},s.prototype.map=function(n,e){e=e||this;for(var t=new s,h=this.head;h!==null;)t.push(n.call(e,h.value,this)),h=h.next;return t},s.prototype.mapReverse=function(n,e){e=e||this;for(var t=new s,h=this.tail;h!==null;)t.push(n.call(e,h.value,this)),h=h.prev;return t},s.prototype.reduce=function(n,e){var t,h=this.head;if(arguments.length>1)t=e;else if(this.head)h=this.head.next,t=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;h!==null;o++)t=n(t,h.value,o),h=h.next;return t},s.prototype.reduceReverse=function(n,e){var t,h=this.tail;if(arguments.length>1)t=e;else if(this.tail)h=this.tail.prev,t=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;h!==null;o--)t=n(t,h.value,o),h=h.prev;return t},s.prototype.toArray=function(){for(var n=new Array(this.length),e=0,t=this.head;t!==null;e++)n[e]=t.value,t=t.next;return n},s.prototype.toArrayReverse=function(){for(var n=new Array(this.length),e=0,t=this.tail;t!==null;e++)n[e]=t.value,t=t.prev;return n},s.prototype.slice=function(n,e){e=e||this.length,e<0&&(e+=this.length),n=n||0,n<0&&(n+=this.length);var t=new s;if(e<n||e<0)return t;n<0&&(n=0),e>this.length&&(e=this.length);for(var h=0,o=this.head;o!==null&&h<n;h++)o=o.next;for(;o!==null&&h<e;h++,o=o.next)t.push(o.value);return t},s.prototype.sliceReverse=function(n,e){e=e||this.length,e<0&&(e+=this.length),n=n||0,n<0&&(n+=this.length);var t=new s;if(e<n||e<0)return t;n<0&&(n=0),e>this.length&&(e=this.length);for(var h=this.length,o=this.tail;o!==null&&h>e;h--)o=o.prev;for(;o!==null&&h>n;h--,o=o.prev)t.push(o.value);return t},s.prototype.splice=function(n,e,...t){n>this.length&&(n=this.length-1),n<0&&(n=this.length+n);for(var h=0,o=this.head;o!==null&&h<n;h++)o=o.next;for(var i=[],h=0;o&&h<e;h++)i.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var h=0;h<t.length;h++)o=a(this,o,t[h]);return i},s.prototype.reverse=function(){for(var n=this.head,e=this.tail,t=n;t!==null;t=t.prev){var h=t.prev;t.prev=t.next,t.next=h}return this.head=e,this.tail=n,this};function a(n,e,t){var h=e===n.head?new c(t,null,e,n):new c(t,e,e.next,n);return h.next===null&&(n.tail=h),h.prev===null&&(n.head=h),n.length++,h}function u(n,e){n.tail=new c(e,n.tail,null,n),n.head||(n.head=n.tail),n.length++}function d(n,e){n.head=new c(e,null,n.head,n),n.tail||(n.tail=n.head),n.length++}function c(n,e,t,h){if(!(this instanceof c))return new c(n,e,t,h);this.list=h,this.value=n,e?(e.next=this,this.prev=e):this.prev=null,t?(t.prev=this,this.next=t):this.next=null}try{r(19961)(s)}catch{}},15300:function(v,E,r){"use strict";r.d(E,{$:function(){return n}});var s=r(74512),a=r(8471),u=r(82875),d=r(87933);const c=(0,a.ZP)(d.k)`
|
|
3
|
+
width: ${({condensed:e})=>e?"max-content":`${224/16}rem`};
|
|
4
|
+
border-right: 1px solid ${({theme:e})=>e.colors.neutral150};
|
|
5
|
+
`,n=({condensed:e=!1,...t})=>(0,s.jsx)(u.f.Provider,{value:e,children:(0,s.jsx)(c,{alignItems:"normal",as:"nav",background:"neutral0",condensed:e,direction:"column",height:"100vh",position:"sticky",top:0,zIndex:2,...t})})},82875:function(v,E,r){"use strict";r.d(E,{S:function(){return u},f:function(){return a}});var s=r(32735);const a=(0,s.createContext)(!1),u=()=>(0,s.useContext)(a)},61450:function(v,E,r){"use strict";r.d(E,{D:function(){return l}});var s=r(74512),a=r(32735),u=r(8471),d=r(82875),c=r(62499),n=r(72850),e=r(3685),t=r(87933),h=r(49372);const o=u.ZP.div`
|
|
6
|
+
border-radius: ${({theme:f})=>f.borderRadius};
|
|
7
|
+
|
|
8
|
+
svg,
|
|
9
|
+
img {
|
|
10
|
+
height: ${({condensed:f})=>f?`${40/16}rem`:`${32/16}rem`};
|
|
11
|
+
width: ${({condensed:f})=>f?`${40/16}rem`:`${32/16}rem`};
|
|
12
|
+
}
|
|
13
|
+
`,i=(0,u.ZP)(c.f)`
|
|
14
|
+
text-decoration: unset;
|
|
15
|
+
color: inherit;
|
|
16
|
+
`,l=a.forwardRef(({workplace:f,title:p,icon:m,...g},D)=>{const _=(0,d.S)();return g.to=g?.to??"/",_?(0,s.jsx)(c.f,{ref:D,...g,children:(0,s.jsx)(n.x,{paddingLeft:3,paddingRight:3,paddingTop:4,paddingBottom:4,children:(0,s.jsxs)(o,{condensed:!0,children:[m,(0,s.jsxs)(e.T,{children:[(0,s.jsx)("span",{children:p}),(0,s.jsx)("span",{children:f})]})]})})}):(0,s.jsx)(i,{ref:D,...g,children:(0,s.jsx)(n.x,{paddingLeft:3,paddingRight:3,paddingTop:4,paddingBottom:4,children:(0,s.jsxs)(t.k,{children:[(0,s.jsx)(o,{"aria-hidden":!0,tabIndex:-1,children:m}),(0,s.jsxs)(n.x,{paddingLeft:2,children:[(0,s.jsxs)(h.Z,{fontWeight:"bold",textColor:"neutral800",as:"span",children:[p,(0,s.jsx)(e.T,{as:"span",children:f})]}),(0,s.jsx)(h.Z,{variant:"pi",as:"p",textColor:"neutral600","aria-hidden":!0,children:f})]})]})})})})},9371:function(v,E,r){"use strict";r.d(E,{w:function(){return o}});var s=r(74512),a=r(77277),u=r(76913),d=r(8471),c=r(82875),n=r(87933),e=r(99140),t=r(3685);const h=(0,d.ZP)(n.k).attrs(i=>({justifyContent:"center",...i}))`
|
|
17
|
+
background: ${({theme:i})=>i.colors.neutral0};
|
|
18
|
+
border: 1px solid ${({theme:i})=>i.colors.neutral150};
|
|
19
|
+
border-radius: ${({theme:i})=>i.borderRadius};
|
|
20
|
+
position: absolute;
|
|
21
|
+
bottom: ${(9+4)/16}rem; // 9 is the height of the svg and 4 is the padding below
|
|
22
|
+
right: ${({theme:i,condensed:l})=>l?0:i.spaces[5]};
|
|
23
|
+
transform: ${({condensed:i})=>i?"translateX(50%)":void 0};
|
|
24
|
+
z-index: 2;
|
|
25
|
+
width: ${18/16}rem;
|
|
26
|
+
height: ${25/16}rem;
|
|
27
|
+
|
|
28
|
+
svg {
|
|
29
|
+
width: ${6/16}rem;
|
|
30
|
+
height: ${9/16}rem;
|
|
31
|
+
}
|
|
32
|
+
`,o=({children:i,...l})=>{const f=(0,c.S)();return(0,s.jsxs)(h,{as:"button",condensed:f,...l,children:[(0,s.jsx)(e.J,{as:f?a.Z:u.Z,"aria-hidden":!0,color:"neutral600"}),(0,s.jsx)(t.T,{children:i})]})}},25390:function(v,E,r){"use strict";r.d(E,{q:function(){return u}});var s=r(74512),a=r(72850);const u=({children:d})=>(0,s.jsx)(a.x,{position:"relative",children:d})},78464:function(v,E,r){"use strict";r.d(E,{O:function(){return m}});var s=r(74512),a=r(32735),u=r(8471),d=r(82875),c=r(72850),n=r(62499),e=r(49372),t=r(87933),h=r(6518),o=r(63919);const i=(0,u.ZP)(c.x)`
|
|
33
|
+
svg {
|
|
34
|
+
width: 1rem;
|
|
35
|
+
height: 1rem;
|
|
36
|
+
}
|
|
37
|
+
`,l=(0,u.ZP)(n.f)`
|
|
38
|
+
position: relative;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
display: block;
|
|
41
|
+
border-radius: ${({theme:g})=>g.borderRadius};
|
|
42
|
+
background: ${({theme:g})=>g.colors.neutral0};
|
|
43
|
+
|
|
44
|
+
${e.Z} {
|
|
45
|
+
color: ${({theme:g})=>g.colors.neutral600};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
svg path {
|
|
49
|
+
fill: ${({theme:g})=>g.colors.neutral500};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
background: ${({theme:g})=>g.colors.neutral100};
|
|
54
|
+
|
|
55
|
+
${e.Z} {
|
|
56
|
+
color: ${({theme:g})=>g.colors.neutral700};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
svg path {
|
|
60
|
+
fill: ${({theme:g})=>g.colors.neutral600};
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.active {
|
|
65
|
+
background: ${({theme:g})=>g.colors.primary100};
|
|
66
|
+
|
|
67
|
+
svg path {
|
|
68
|
+
fill: ${({theme:g})=>g.colors.primary600};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
${e.Z} {
|
|
72
|
+
color: ${({theme:g})=>g.colors.primary600};
|
|
73
|
+
font-weight: 500;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
`,f=(0,u.ZP)(t.k)`
|
|
77
|
+
padding: ${({theme:g})=>`${g.spaces[2]} ${g.spaces[3]}`};
|
|
78
|
+
`,p=(0,u.ZP)(h.C)`
|
|
79
|
+
${({theme:g,condensed:D})=>D&&`
|
|
80
|
+
position: absolute;
|
|
81
|
+
// Values based on visual aspect
|
|
82
|
+
top: -${g.spaces[3]};
|
|
83
|
+
right: -${g.spaces[1]};
|
|
84
|
+
`}
|
|
85
|
+
|
|
86
|
+
${e.Z} {
|
|
87
|
+
//find a solution to remove !important
|
|
88
|
+
color: ${({theme:g})=>g.colors.neutral0} !important;
|
|
89
|
+
line-height: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
display: flex;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
align-items: center;
|
|
95
|
+
min-width: ${({theme:g})=>g.spaces[6]};
|
|
96
|
+
height: ${({theme:g})=>g.spaces[5]};
|
|
97
|
+
padding: ${({theme:g})=>`0 ${g.spaces[2]}`};
|
|
98
|
+
border-radius: ${({theme:g})=>g.spaces[10]};
|
|
99
|
+
background: ${({theme:g})=>g.colors.primary600};
|
|
100
|
+
`,m=a.forwardRef(({children:g,icon:D,badgeContent:_,badgeAriaLabel:C,...x},T)=>(0,d.S)()?(0,s.jsx)(l,{ref:T,...x,children:(0,s.jsx)(o.u,{position:"right",label:g,children:(0,s.jsxs)(f,{as:"span",justifyContent:"center",children:[(0,s.jsx)(i,{"aria-hidden":!0,paddingRight:0,as:"span",children:D}),_&&(0,s.jsx)(p,{condensed:!0,"aria-label":C,children:_})]})})}):(0,s.jsx)(l,{ref:T,...x,children:(0,s.jsxs)(f,{as:"span",justifyContent:"space-between",children:[(0,s.jsxs)(t.k,{children:[(0,s.jsx)(i,{"aria-hidden":!0,paddingRight:3,as:"span",children:D}),(0,s.jsx)(e.Z,{children:g})]}),_&&(0,s.jsx)(p,{justifyContent:"center","aria-label":C,children:_})]})}))},42889:function(v,E,r){"use strict";r.d(E,{y:function(){return h}});var s=r(74512),a=r(32735),u=r(82875),d=r(87933),c=r(72850),n=r(9026),e=r(3685),t=r(49372);const h=({label:o,children:i,horizontal:l=!1,spacing:f=2,...p})=>(0,u.S)()?(0,s.jsxs)(d.k,{direction:"column",alignItems:"stretch",gap:2,children:[(0,s.jsxs)(c.x,{paddingTop:1,paddingBottom:1,background:"neutral0",hasRadius:!0,as:"span",children:[(0,s.jsx)(n.i,{}),(0,s.jsx)(e.T,{children:(0,s.jsx)("span",{children:o})})]}),(0,s.jsx)(d.k,{as:"ul",gap:f,direction:l?"row":"column",alignItems:l?"center":"stretch",...p,children:a.Children.map(i,(m,g)=>(0,s.jsx)("li",{children:m},g))})]}):(0,s.jsxs)(d.k,{direction:"column",alignItems:"stretch",gap:2,children:[(0,s.jsx)(c.x,{paddingTop:1,paddingBottom:1,background:"neutral0",paddingRight:3,paddingLeft:3,hasRadius:!0,as:"span",children:(0,s.jsx)(t.Z,{variant:"sigma",textColor:"neutral600",children:o})}),(0,s.jsx)(d.k,{as:"ul",gap:f,direction:l?"row":"column",alignItems:l?"center":"stretch",...p,children:a.Children.map(i,(m,g)=>(0,s.jsx)("li",{children:m},g))})]})},1897:function(v,E,r){"use strict";r.d(E,{_:function(){return e}});var s=r(74512),a=r(32735),u=r(8471),d=r(72850),c=r(87933);const n=(0,u.ZP)(d.x)`
|
|
101
|
+
flex-grow: 1;
|
|
102
|
+
overflow-y: auto;
|
|
103
|
+
`,e=({children:t,spacing:h=4,horizontal:o=!1,...i})=>(0,s.jsx)(n,{paddingLeft:3,paddingRight:2,paddingTop:3,paddingBottom:8,children:(0,s.jsx)(c.k,{as:"ul",gap:h,direction:o?"row":"column",alignItems:o?"center":"stretch",...i,children:a.Children.map(t,(l,f)=>(0,s.jsx)("li",{children:l},f))})})},64838:function(v,E,r){"use strict";r.d(E,{r:function(){return i}});var s=r(74512),a=r(32735),u=r(8471),d=r(82875),c=r(72850),n=r(87933),e=r(69033),t=r(3685),h=r(49372);const o=(0,u.ZP)(c.x)`
|
|
104
|
+
border-top: 1px solid ${({theme:l})=>l.colors.neutral150};
|
|
105
|
+
`,i=a.forwardRef(({src:l,children:f,initials:p,...m},g)=>{const D=(0,d.S)();return(0,s.jsx)(o,{paddingTop:3,paddingBottom:3,paddingLeft:5,paddingRight:5,...m,children:(0,s.jsxs)(n.k,{as:"button",justifyContent:D?"center":void 0,ref:g,children:[l?(0,s.jsx)(e.q,{src:l,alt:"","aria-hidden":!0}):(0,s.jsx)(e.L,{children:p}),D?(0,s.jsx)(t.T,{children:(0,s.jsx)("span",{children:f})}):(0,s.jsx)(c.x,{width:`${130/16}rem`,paddingLeft:2,as:"span",children:(0,s.jsx)(h.Z,{ellipsis:!0,textColor:"neutral600",children:f})})]})})})},92967:function(v,E,r){"use strict";r.d(E,{Z:function(){return u}});var s=r(74512);const a=d=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...d,children:[(0,s.jsx)("path",{fill:"#212134",d:"M11.987 23.036v-.964H1.876V1.876h10.111V0H0v24h11.987v-.964Z"}),(0,s.jsx)("path",{fill:"#212134",d:"M8 11.2c0-.11.09-.2.2-.2h11.973l-5.445-5.445a.2.2 0 0 1 0-.283l1.13-1.13a.2.2 0 0 1 .283 0l7.718 7.717a.2.2 0 0 1 0 .282L16.14 19.86a.2.2 0 0 1-.282 0l-1.13-1.13a.2.2 0 0 1 0-.284L20.172 13H8.2a.2.2 0 0 1-.2-.2v-1.6Z"})]}),u=a},73165:function(v,E,r){"use strict";r.d(E,{Z:function(){return u}});var s=r(74512);const a=d=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...d,children:(0,s.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M23.707.297A1 1 0 0 0 23 .004h-2a13.907 13.907 0 0 0-5.38 1.077 1 1 0 0 0-.615.923V4.92a.035.035 0 0 1-.022.038l-2-1.47a1 1 0 0 0-1.265.052A14 14 0 0 0 7 14.004v1.585l-2.707 2.707a1 1 0 1 0 1.415 1.415l2.707-2.708H10a14.014 14.014 0 0 0 14-14v-2a1 1 0 0 0-.293-.706ZM18 23.999H3a3 3 0 0 1-3-3V6A3 3 0 0 1 3 3h3a1 1 0 1 1 0 2H3a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-3a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3Z",clipRule:"evenodd"})}),u=a}}]);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[773],{37410:function(y,E,s){var l=s(96621),g=s(33646);function v(u,p){return l(u,p,function(h,d){return g(u,d)})}y.exports=v},72245:function(y,E,s){var l=s(63920),g=s(85973);function v(u,p,h,d,j,S){return g(u)&&g(p)&&(S.set(p,u),l(u,p,void 0,v,S),S.delete(p)),u}y.exports=v},58732:function(y,E,s){var l=s(85198),g=s(94569),v=s(72245),u=s(54754),p=g(function(h){return h.push(void 0,v),l(u,void 0,h)});y.exports=p},54754:function(y,E,s){var l=s(63920),g=s(32544),v=g(function(u,p,h,d){l(u,p,h,d)});y.exports=v},88423:function(y,E,s){var l=s(37410),g=s(83368),v=g(function(u,p){return u==null?{}:l(u,p)});y.exports=v},56236:function(y,E,s){var l=s(69386);function g(v,u){return v==null?!0:l(v,u)}y.exports=g},78023:function(y,E,s){"use strict";s.d(E,{Z:function(){return vt}});var l=s(31191),g=s(32735),v=s(72067),u=s(42447),p=s(26356),h=s(75461),d=s(68833),j=s(20552);function S(t,o){return Object.keys(t).reduce(function(r,e){return r[e]=(0,l.pi)({timeZone:o},t[e]),r},{})}function A(t,o){var r=Object.keys((0,l.pi)((0,l.pi)({},t),o));return r.reduce(function(e,n){return e[n]=(0,l.pi)((0,l.pi)({},t[n]||{}),o[n]||{}),e},{})}function C(t,o){if(!o)return t;var r=h.C.formats;return(0,l.pi)((0,l.pi)((0,l.pi)({},r),t),{date:A(S(r.date,o),S(t.date||{},o)),time:A(S(r.time,o),S(t.time||{},o))})}var M=function(t,o,r,e,n){var a=t.locale,i=t.formats,f=t.messages,m=t.defaultLocale,x=t.defaultFormats,c=t.fallbackOnEmptyString,P=t.onError,w=t.timeZone,G=t.defaultRichTextElements;r===void 0&&(r={id:""});var $=r.id,I=r.defaultMessage;(0,p.kG)(!!$,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var F=String($),T=f&&Object.prototype.hasOwnProperty.call(f,F)&&f[F];if(Array.isArray(T)&&T.length===1&&T[0].type===j.wD.literal)return T[0].value;if(!e&&T&&typeof T=="string"&&!G)return T.replace(/'\{(.*?)\}'/gi,"{$1}");if(e=(0,l.pi)((0,l.pi)({},G),e||{}),i=C(i,w),x=C(x,w),!T){if(c===!1&&T==="")return T;if((!I||a&&a.toLowerCase()!==m.toLowerCase())&&P(new d.$6(r,a)),I)try{var D=o.getMessageFormat(I,m,x,n);return D.format(e)}catch(L){return P(new d.X9('Error formatting default message for: "'.concat(F,'", rendering default message verbatim'),a,r,L)),typeof I=="string"?I:F}return F}try{var D=o.getMessageFormat(T,a,i,(0,l.pi)({formatters:o},n||{}));return D.format(e)}catch(L){P(new d.X9('Error formatting message: "'.concat(F,'", using ').concat(I?"default message":"id"," as fallback."),a,r,L))}if(I)try{var D=o.getMessageFormat(I,m,x,n);return D.format(e)}catch(L){P(new d.X9('Error formatting the default message for: "'.concat(F,'", rendering message verbatim'),a,r,L))}return typeof T=="string"?T:typeof I=="string"?I:F},b=s(32409),X=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Z(t,o,r){var e=t.locale,n=t.formats,a=t.onError;r===void 0&&(r={});var i=r.format,f=i&&(0,b.TB)(n,"number",i,a)||{},m=(0,b.L6)(r,X,f);return o(e,m)}function z(t,o,r,e){e===void 0&&(e={});try{return Z(t,o,e).format(r)}catch(n){t.onError(new d.Qe("Error formatting number.",t.locale,n))}return String(r)}function Y(t,o,r,e){e===void 0&&(e={});try{return Z(t,o,e).formatToParts(r)}catch(n){t.onError(new d.Qe("Error formatting number.",t.locale,n))}return[]}var O=s(14979),H=["numeric","style"];function J(t,o,r){var e=t.locale,n=t.formats,a=t.onError;r===void 0&&(r={});var i=r.format,f=!!i&&(0,b.TB)(n,"relative",i,a)||{},m=(0,b.L6)(r,H,f);return o(e,m)}function V(t,o,r,e,n){n===void 0&&(n={}),e||(e="second");var a=Intl.RelativeTimeFormat;a||t.onError(new O.u_(`Intl.RelativeTimeFormat is not available in this environment.
|
|
2
|
+
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
3
|
+
`,O.jK.MISSING_INTL_API));try{return J(t,o,n).format(r,e)}catch(i){t.onError(new d.Qe("Error formatting relative time.",t.locale,i))}return String(r)}var k=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function R(t,o,r,e){var n=t.locale,a=t.formats,i=t.onError,f=t.timeZone;e===void 0&&(e={});var m=e.format,x=(0,l.pi)((0,l.pi)({},f&&{timeZone:f}),m&&(0,b.TB)(a,o,m,i)),c=(0,b.L6)(e,k,x);return o==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle&&(c=(0,l.pi)((0,l.pi)({},c),{hour:"numeric",minute:"numeric"})),r(n,c)}function q(t,o){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];var n=r[0],a=r[1],i=a===void 0?{}:a,f=typeof n=="string"?new Date(n||0):n;try{return R(t,"date",o,i).format(f)}catch(m){t.onError(new d.Qe("Error formatting date.",t.locale,m))}return String(f)}function _(t,o){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];var n=r[0],a=r[1],i=a===void 0?{}:a,f=typeof n=="string"?new Date(n||0):n;try{return R(t,"time",o,i).format(f)}catch(m){t.onError(new d.Qe("Error formatting time.",t.locale,m))}return String(f)}function tt(t,o){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];var n=r[0],a=r[1],i=r[2],f=i===void 0?{}:i,m=t.timeZone,x=t.locale,c=t.onError,P=(0,b.L6)(f,k,m?{timeZone:m}:{});try{return o(x,P).formatRange(n,a)}catch(w){c(new d.Qe("Error formatting date time range.",t.locale,w))}return String(n)}function et(t,o){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];var n=r[0],a=r[1],i=a===void 0?{}:a,f=typeof n=="string"?new Date(n||0):n;try{return R(t,"date",o,i).formatToParts(f)}catch(m){t.onError(new d.Qe("Error formatting date.",t.locale,m))}return[]}function rt(t,o){for(var r=[],e=2;e<arguments.length;e++)r[e-2]=arguments[e];var n=r[0],a=r[1],i=a===void 0?{}:a,f=typeof n=="string"?new Date(n||0):n;try{return R(t,"time",o,i).formatToParts(f)}catch(m){t.onError(new d.Qe("Error formatting time.",t.locale,m))}return[]}var at=["type"];function nt(t,o,r,e){var n=t.locale,a=t.onError;e===void 0&&(e={}),Intl.PluralRules||a(new O.u_(`Intl.PluralRules is not available in this environment.
|
|
4
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
5
|
+
`,O.jK.MISSING_INTL_API));var i=(0,b.L6)(e,at);try{return o(n,i).select(r)}catch(f){a(new d.Qe("Error formatting plural.",n,f))}return"other"}var ot=["type","style"],Q=Date.now();function it(t){return"".concat(Q,"_").concat(t,"_").concat(Q)}function lt(t,o,r,e){e===void 0&&(e={});var n=B(t,o,r,e).reduce(function(a,i){var f=i.value;return typeof f!="string"?a.push(f):typeof a[a.length-1]=="string"?a[a.length-1]+=f:a.push(f),a},[]);return n.length===1?n[0]:n.length===0?"":n}function B(t,o,r,e){var n=t.locale,a=t.onError;e===void 0&&(e={});var i=Intl.ListFormat;i||a(new O.u_(`Intl.ListFormat is not available in this environment.
|
|
6
|
+
Try polyfilling it using "@formatjs/intl-listformat"
|
|
7
|
+
`,O.jK.MISSING_INTL_API));var f=(0,b.L6)(e,ot);try{var m={},x=r.map(function(c,P){if(typeof c=="object"){var w=it(P);return m[w]=c,w}return String(c)});return o(n,f).formatToParts(x).map(function(c){return c.type==="literal"?c:(0,l.pi)((0,l.pi)({},c),{value:m[c.value]||c.value})})}catch(c){a(new d.Qe("Error formatting list.",n,c))}return r}var st=["style","type","fallback","languageDisplay"];function ft(t,o,r,e){var n=t.locale,a=t.onError,i=Intl.DisplayNames;i||a(new O.u_(`Intl.DisplayNames is not available in this environment.
|
|
8
|
+
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
9
|
+
`,O.jK.MISSING_INTL_API));var f=(0,b.L6)(e,st);try{return o(n,f).of(r)}catch(m){a(new d.Qe("Error formatting display name.",n,m))}}function ut(t){var o=t?t[Object.keys(t)[0]]:void 0;return typeof o=="string"}function mt(t){t.onWarn&&t.defaultRichTextElements&&ut(t.messages||{})&&t.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
10
|
+
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
11
|
+
For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function ct(t,o){var r=(0,b.ax)(o),e=(0,l.pi)((0,l.pi)({},b.Z0),t),n=e.locale,a=e.defaultLocale,i=e.onError;return n?!Intl.NumberFormat.supportedLocalesOf(n).length&&i?i(new d.gb('Missing locale data for locale: "'.concat(n,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(n).length&&i&&i(new d.gb('Missing locale data for locale: "'.concat(n,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(i&&i(new d.OV('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),e.locale=e.defaultLocale||"en"),mt(e),(0,l.pi)((0,l.pi)({},e),{formatters:r,formatNumber:z.bind(null,e,r.getNumberFormat),formatNumberToParts:Y.bind(null,e,r.getNumberFormat),formatRelativeTime:V.bind(null,e,r.getRelativeTimeFormat),formatDate:q.bind(null,e,r.getDateTimeFormat),formatDateToParts:et.bind(null,e,r.getDateTimeFormat),formatTime:_.bind(null,e,r.getDateTimeFormat),formatDateTimeRange:tt.bind(null,e,r.getDateTimeFormat),formatTimeToParts:rt.bind(null,e,r.getDateTimeFormat),formatPlural:nt.bind(null,e,r.getPluralRules),formatMessage:M.bind(null,e,r),$t:M.bind(null,e,r),formatList:lt.bind(null,e,r.getListFormat),formatListToParts:B.bind(null,e,r.getListFormat),formatDisplayName:ft.bind(null,e,r.getDisplayNames)})}var dt=s(33961);function N(t){return{locale:t.locale,timeZone:t.timeZone,fallbackOnEmptyString:t.fallbackOnEmptyString,formats:t.formats,textComponent:t.textComponent,messages:t.messages,defaultLocale:t.defaultLocale,defaultFormats:t.defaultFormats,onError:t.onError,onWarn:t.onWarn,wrapRichTextChunksInFragment:t.wrapRichTextChunksInFragment,defaultRichTextElements:t.defaultRichTextElements}}function U(t){return t&&Object.keys(t).reduce(function(o,r){var e=t[r];return o[r]=(0,dt.Gt)(e)?(0,u.dt)(e):e,o},{})}var W=function(t,o,r,e){for(var n=[],a=4;a<arguments.length;a++)n[a-4]=arguments[a];var i=U(e),f=M.apply(void 0,(0,l.ev)([t,o,r,i],n,!1));return Array.isArray(f)?g.Children.toArray(f):f},K=function(t,o){var r=t.defaultRichTextElements,e=(0,l._T)(t,["defaultRichTextElements"]),n=U(r),a=ct((0,l.pi)((0,l.pi)((0,l.pi)({},u.Z0),e),{defaultRichTextElements:n}),o),i={locale:a.locale,timeZone:a.timeZone,fallbackOnEmptyString:a.fallbackOnEmptyString,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:n};return(0,l.pi)((0,l.pi)({},a),{formatMessage:W.bind(null,i,a.formatters),$t:W.bind(null,i,a.formatters)})},gt=function(t){(0,l.ZT)(o,t);function o(){var r=t!==null&&t.apply(this,arguments)||this;return r.cache=(0,b.Sn)(),r.state={cache:r.cache,intl:K(N(r.props),r.cache),prevConfig:N(r.props)},r}return o.getDerivedStateFromProps=function(r,e){var n=e.prevConfig,a=e.cache,i=N(r);return(0,u.wU)(n,i)?null:{intl:K(i,a),prevConfig:i}},o.prototype.render=function(){return(0,u.lq)(this.state.intl),g.createElement(v.zt,{value:this.state.intl},this.props.children)},o.displayName="IntlProvider",o.defaultProps=u.Z0,o}(g.PureComponent),vt=gt},10728:function(y,E,s){"use strict";s.d(E,{z:function(){return p}});var l=s(74512),g=s(8471),v=s(72850);const u=(0,g.ZP)(v.x)`
|
|
12
|
+
text-decoration: none;
|
|
13
|
+
|
|
14
|
+
&:focus {
|
|
15
|
+
left: ${({theme:h})=>h.spaces[3]};
|
|
16
|
+
top: ${({theme:h})=>h.spaces[3]};
|
|
17
|
+
}
|
|
18
|
+
`,p=({children:h})=>(0,l.jsx)(u,{as:"a",href:"#main-content",background:"primary600",color:"neutral0",left:"-100%",padding:3,position:"absolute",top:"-100%",hasRadius:!0,zIndex:9999,children:h})},65810:function(y,E,s){"use strict";s.d(E,{$:function(){return u}});const l={color:{alternative100:"#181826",alternative200:"#4a4a6a",alternative500:"#ac73e6",alternative600:"#ac73e6",alternative700:"#e0c1f4",buttonNeutral0:"#ffffff",buttonPrimary500:"#7b79ff",buttonPrimary600:"#4945ff",danger100:"#181826",danger200:"#4a4a6a",danger500:"#ee5e52",danger600:"#ee5e52",danger700:"#ee5e52",neutral0:"#212134",neutral100:"#181826",neutral1000:"#ffffff",neutral150:"#32324d",neutral200:"#4a4a6a",neutral300:"#666687",neutral400:"#a5a5ba",neutral500:"#c0c0cf",neutral600:"#a5a5ba",neutral700:"#eaeaef",neutral800:"#ffffff",neutral900:"#ffffff",primary100:"#181826",primary200:"#4a4a6a",primary500:"#4945ff",primary600:"#7b79ff",primary700:"#7b79ff",secondary100:"#181826",secondary200:"#4a4a6a",secondary500:"#66b7f1",secondary600:"#66b7f1",secondary700:"#b8e1ff",success100:"#181826",success200:"#4a4a6a",success500:"#5cb176",success600:"#5cb176",success700:"#c6f0c2",warning100:"#181826",warning200:"#4a4a6a",warning500:"#f29d41",warning600:"#f29d41",warning700:"#fae7b9"}},g={shadow:{filterShadow:"1px 1px 10px rgba(3, 3, 5, 0.35)",focus:"inset 2px 0px 0px rgb(39, 31, 224), inset 0px 2px 0px rgb(39, 31, 224), inset -2px 0px 0px rgb(39, 31, 224), inset 0px -2px 0px rgb(39, 31, 224)",focusShadow:"0px 0px 6px rgba(76, 191, 255, 0.75)",popupShadow:"1px 1px 10px rgba(3, 3, 5, 0.35)",tableShadow:"1px 1px 10px rgba(3, 3, 5, 0.2)"}};var v=s(37930);const u={colors:l.color,shadows:g.shadow,...v.x}}}]);
|