@strapi/admin 4.6.0-beta.2 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/src/components/ConfigurationsProvider/index.js +21 -18
- package/admin/src/components/ConfigurationsProvider/reducer.js +1 -0
- package/admin/src/components/LeftMenu/index.js +53 -50
- package/admin/src/components/UnauthenticatedLogo/index.js +1 -1
- package/admin/src/content-manager/components/Hint/index.js +4 -17
- package/admin/src/content-manager/components/InputUID/index.js +3 -14
- package/admin/src/content-manager/components/PreviewWysiwyg/Wrapper.js +22 -27
- package/admin/src/content-manager/components/Wysiwyg/EditorLayout.js +19 -28
- package/admin/src/content-manager/components/Wysiwyg/index.js +4 -8
- package/admin/src/content-manager/pages/App/LeftMenu/index.js +3 -8
- package/admin/src/content-manager/pages/App/LeftMenu/utils/index.js +1 -0
- package/admin/src/content-manager/pages/App/LeftMenu/utils/matchByTitle.js +24 -0
- package/admin/src/content-manager/pages/EditView/{Informations → Information}/index.js +55 -39
- package/admin/src/content-manager/pages/EditView/{Informations → Information}/utils/getUnits.js +0 -0
- package/admin/src/content-manager/pages/EditView/index.js +3 -3
- package/admin/src/core/store/configureStore.js +22 -4
- package/admin/src/core/utils/axiosInstance.js +4 -2
- package/admin/src/hooks/useSettingsMenu/init.js +2 -25
- package/admin/src/hooks/useSettingsMenu/utils/adminLinks.js +4 -0
- package/admin/src/hooks/useSettingsMenu/utils/customAdminLinks.js +1 -0
- package/admin/src/hooks/useSettingsMenu/utils/defaultAdminLinks.js +21 -0
- package/admin/src/index.js +3 -3
- package/admin/src/pages/App/index.js +6 -2
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/components/CustomizationInfos/index.js +142 -0
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/components/{Form → CustomizationInfos}/init.js +3 -0
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/components/{Form → CustomizationInfos}/reducer.js +20 -0
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/components/LogoInput/index.js +21 -17
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/index.js +68 -42
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/utils/api.js +5 -1
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/EventInput/index.js +1 -1
- package/admin/src/pages/SettingsPage/utils/defaultRoutes.js +0 -11
- package/admin/src/permissions/defaultPermissions.js +4 -0
- package/admin/src/translations/en.json +22 -16
- package/build/2607.ce06608e.chunk.js +66 -0
- package/build/{2743.692b1f21.chunk.js → 2743.dea372fb.chunk.js} +14 -14
- package/build/3075.03ebe93d.chunk.js +115 -0
- package/build/3632.963ac97d.chunk.js +138 -0
- package/build/{4318.87affaf2.chunk.js → 4318.8cb388a5.chunk.js} +1 -1
- package/build/4656.a0d43cca.chunk.js +159 -0
- package/build/{5015.f5e15fdb.chunk.js → 5015.8e3fe50b.chunk.js} +1 -1
- package/build/{3557.e7115160.chunk.js → 5910.a5374848.chunk.js} +130 -90
- package/build/{8633.6f546066.chunk.js → 8633.4af74a50.chunk.js} +1 -1
- package/build/9641.a311b612.chunk.js +276 -0
- package/build/9707.62831b4d.chunk.js +101 -0
- package/build/Admin-authenticatedApp.50dc27f9.chunk.js +75 -0
- package/build/Admin_homePage.79ab880c.chunk.js +77 -0
- package/build/Admin_marketplace.eabf21b2.chunk.js +26 -0
- package/build/{Admin_pluginsPage.d2a9a619.chunk.js → Admin_pluginsPage.953e796b.chunk.js} +1 -1
- package/build/{Admin_profilePage.5e830ceb.chunk.js → Admin_profilePage.5c2efda5.chunk.js} +1 -1
- package/build/Admin_settingsPage.19cfb9ca.chunk.js +178 -0
- package/build/{Upload_ConfigureTheView.9bdf41b5.chunk.js → Upload_ConfigureTheView.3f2b6e6a.chunk.js} +1 -1
- package/build/admin-app.34295b50.chunk.js +112 -0
- package/build/{admin-edit-roles-page.32bfe5ea.chunk.js → admin-edit-roles-page.d50d9654.chunk.js} +1 -1
- package/build/admin-edit-users.912b856d.chunk.js +10 -0
- package/build/admin-users.e36e7111.chunk.js +11 -0
- package/build/{api-tokens-list-page.a55e427c.chunk.js → api-tokens-list-page.1cd86136.chunk.js} +1 -1
- package/build/audit-logs-settings-page.308a6250.chunk.js +1 -0
- package/build/{content-manager.ad929a94.chunk.js → content-manager.851f40ce.chunk.js} +128 -132
- package/build/content-type-builder-list-view.4243b2b1.chunk.js +198 -0
- package/build/{content-type-builder-translation-de-json.29df67b8.chunk.js → content-type-builder-translation-de-json.0979cccb.chunk.js} +1 -1
- package/build/{content-type-builder-translation-dk-json.e22d2527.chunk.js → content-type-builder-translation-dk-json.e05583e9.chunk.js} +1 -1
- package/build/content-type-builder-translation-en-json.e577d595.chunk.js +1 -0
- package/build/{content-type-builder-translation-es-json.1044b252.chunk.js → content-type-builder-translation-es-json.fe4daad8.chunk.js} +1 -1
- package/build/{content-type-builder-translation-fr-json.2183e6b3.chunk.js → content-type-builder-translation-fr-json.b1eb52f6.chunk.js} +1 -1
- package/build/{content-type-builder-translation-id-json.ba3e8891.chunk.js → content-type-builder-translation-id-json.ee3b36bb.chunk.js} +1 -1
- package/build/{content-type-builder-translation-it-json.d4661201.chunk.js → content-type-builder-translation-it-json.13b3c26a.chunk.js} +1 -1
- package/build/{content-type-builder-translation-ko-json.57ff7f51.chunk.js → content-type-builder-translation-ko-json.8a274be5.chunk.js} +1 -1
- package/build/{content-type-builder-translation-pl-json.a057b51e.chunk.js → content-type-builder-translation-pl-json.24a34349.chunk.js} +1 -1
- package/build/{content-type-builder-translation-pt-BR-json.446df9da.chunk.js → content-type-builder-translation-pt-BR-json.97f71a9d.chunk.js} +1 -1
- package/build/{content-type-builder-translation-ru-json.8c51843e.chunk.js → content-type-builder-translation-ru-json.54d11230.chunk.js} +1 -1
- package/build/{content-type-builder-translation-sv-json.af6ecca1.chunk.js → content-type-builder-translation-sv-json.59f5e1e5.chunk.js} +1 -1
- package/build/{content-type-builder-translation-tr-json.da83a07e.chunk.js → content-type-builder-translation-tr-json.cea4d226.chunk.js} +1 -1
- package/build/{content-type-builder-translation-zh-json.42f94cb3.chunk.js → content-type-builder-translation-zh-json.faedd610.chunk.js} +1 -1
- package/build/content-type-builder.365b6bf4.chunk.js +125 -0
- package/build/email-settings-page.379552b1.chunk.js +15 -0
- package/build/en-json.38d182e5.chunk.js +1 -0
- package/build/i18n-settings-page.3ab28b1a.chunk.js +65 -0
- package/build/{i18n-translation-de-json.dc876c08.chunk.js → i18n-translation-de-json.362384a6.chunk.js} +1 -1
- package/build/{i18n-translation-dk-json.49aaf933.chunk.js → i18n-translation-dk-json.89401417.chunk.js} +1 -1
- package/build/{i18n-translation-en-json.ac9ebc1b.chunk.js → i18n-translation-en-json.60af6722.chunk.js} +1 -1
- package/build/{i18n-translation-es-json.57072ed3.chunk.js → i18n-translation-es-json.87b494d1.chunk.js} +1 -1
- package/build/{i18n-translation-fr-json.84733f34.chunk.js → i18n-translation-fr-json.57ddc77e.chunk.js} +1 -1
- package/build/{i18n-translation-ko-json.fc73fe20.chunk.js → i18n-translation-ko-json.ef4f9471.chunk.js} +1 -1
- package/build/{i18n-translation-pl-json.16e5df90.chunk.js → i18n-translation-pl-json.dfac513d.chunk.js} +1 -1
- package/build/{i18n-translation-tr-json.cb39c048.chunk.js → i18n-translation-tr-json.10f0600d.chunk.js} +1 -1
- package/build/{i18n-translation-zh-Hans-json.2cf82d2d.chunk.js → i18n-translation-zh-Hans-json.757ce62d.chunk.js} +1 -1
- package/build/{i18n-translation-zh-json.ed1d272e.chunk.js → i18n-translation-zh-json.bef2dc07.chunk.js} +1 -1
- package/build/index.html +1 -1
- package/build/main.9f31732e.js +4454 -0
- package/build/runtime~main.2b8e2318.js +2 -0
- package/build/sso-settings-page.b64a44e8.chunk.js +41 -0
- package/build/upload-settings.6c26ff37.chunk.js +89 -0
- package/build/upload.2c69d238.chunk.js +38 -0
- package/build/users-advanced-settings-page.c4270682.chunk.js +13 -0
- package/build/users-email-settings-page.60422a2f.chunk.js +28 -0
- package/build/users-providers-settings-page.e1834060.chunk.js +104 -0
- package/build/{users-roles-settings-page.ad28ab42.chunk.js → users-roles-settings-page.3ef35132.chunk.js} +1 -1
- package/build/webhook-edit-page.c0080dc1.chunk.js +75 -0
- package/build/webhook-list-page.f75ba3f2.chunk.js +42 -0
- package/ee/admin/hooks/useSettingsMenu/utils/customAdminLinks.js +17 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/Modal/ActionBody.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/Modal/ActionItem.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/Modal/index.js +5 -1
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/PaginationFooter/index.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/TableRows/index.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/hooks/useFormatTimeStamp.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/index.js +7 -7
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/utils/getActionTypesDefaultMessages.js +3 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ListView/utils/tableHeaders.js +0 -0
- package/{admin/src → ee/admin}/pages/SettingsPage/pages/AuditLogs/ProtectedListPage/index.js +1 -1
- package/ee/admin/pages/SettingsPage/{SingleSignOn → pages/SingleSignOn}/index.js +3 -3
- package/ee/admin/pages/SettingsPage/{SingleSignOn → pages/SingleSignOn}/utils/schema.js +0 -0
- package/ee/admin/pages/SettingsPage/utils/customRoutes.js +28 -16
- package/ee/server/bootstrap.js +2 -0
- package/ee/server/routes/index.js +94 -10
- package/ee/server/services/audit-logs.js +19 -1
- package/ee/server/services/passport/sso.js +13 -1
- package/ee/server/services/passport.js +1 -4
- package/package.json +11 -16
- package/server/controllers/admin.js +3 -2
- package/server/register.js +7 -7
- package/server/services/project-settings.js +10 -6
- package/server/services/user.js +3 -1
- package/server/validation/project-settings.js +19 -10
- package/strapi-server.js +1 -1
- package/admin/src/core/store/createReducer.js +0 -5
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/components/Form/index.js +0 -85
- package/build/2235.746d3cf7.chunk.js +0 -106
- package/build/2598.01c96bd5.chunk.js +0 -159
- package/build/4958.1979bbf5.chunk.js +0 -276
- package/build/5052.c2eacff2.chunk.js +0 -65
- package/build/7295.4e2dfbbb.chunk.js +0 -114
- package/build/805.da20168c.chunk.js +0 -138
- package/build/874.be41e4b3.chunk.js +0 -104
- package/build/9707.a07db355.chunk.js +0 -101
- package/build/Admin-authenticatedApp.9933974c.chunk.js +0 -75
- package/build/Admin_homePage.045bb0c8.chunk.js +0 -77
- package/build/Admin_marketplace.bf3ac090.chunk.js +0 -26
- package/build/Admin_settingsPage.53fa00a4.chunk.js +0 -178
- package/build/admin-app.8ed108ca.chunk.js +0 -112
- package/build/admin-audit-logs.68f833bf.chunk.js +0 -1
- package/build/admin-edit-users.795f155c.chunk.js +0 -10
- package/build/admin-users.cbd9bcf7.chunk.js +0 -11
- package/build/content-type-builder-list-view.3048854d.chunk.js +0 -198
- package/build/content-type-builder-translation-en-json.08e28f4e.chunk.js +0 -1
- package/build/content-type-builder.4edd1c22.chunk.js +0 -127
- package/build/email-settings-page.7c9e6c5e.chunk.js +0 -15
- package/build/en-json.d65a13ef.chunk.js +0 -1
- package/build/i18n-settings-page.fbccdf12.chunk.js +0 -1
- package/build/main.6bbf9950.js +0 -4417
- package/build/runtime~main.c2bf62af.js +0 -2
- package/build/sso-settings-page.4031de9e.chunk.js +0 -41
- package/build/upload-settings.657790fd.chunk.js +0 -89
- package/build/upload.608a9856.chunk.js +0 -38
- package/build/users-advanced-settings-page.e3ab865f.chunk.js +0 -13
- package/build/users-email-settings-page.57adf9b7.chunk.js +0 -28
- package/build/users-providers-settings-page.7d1fb45c.chunk.js +0 -1
- package/build/webhook-edit-page.1dd6d040.chunk.js +0 -75
- package/build/webhook-list-page.98afa3ea.chunk.js +0 -42
- package/ee/server/routes/features-routes.js +0 -66
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[7295],{93994:function(T,g,e){var i=e(33795);function u(h,a){for(var o=-1,n=a.length,t=Array(n),l=h==null;++o<n;)t[o]=l?void 0:i(h,a[o]);return t}T.exports=u},88311:function(T,g,e){var i=e(93994),u=e(83368),h=u(i);T.exports=h},65923:function(T,g,e){"use strict";const i=e(52138),u=Symbol("max"),h=Symbol("length"),a=Symbol("lengthCalculator"),o=Symbol("allowStale"),n=Symbol("maxAge"),t=Symbol("dispose"),l=Symbol("noDisposeOnSet"),c=Symbol("lruList"),s=Symbol("cache"),r=Symbol("updateAgeOnGet"),f=()=>1;class m{constructor(d){if(typeof d=="number"&&(d={max:d}),d||(d={}),d.max&&(typeof d.max!="number"||d.max<0))throw new TypeError("max must be a non-negative number");const I=this[u]=d.max||1/0,p=d.length||f;if(this[a]=typeof p!="function"?f:p,this[o]=d.stale||!1,d.maxAge&&typeof d.maxAge!="number")throw new TypeError("maxAge must be a number");this[n]=d.maxAge||0,this[t]=d.dispose,this[l]=d.noDisposeOnSet||!1,this[r]=d.updateAgeOnGet||!1,this.reset()}set max(d){if(typeof d!="number"||d<0)throw new TypeError("max must be a non-negative number");this[u]=d||1/0,R(this)}get max(){return this[u]}set allowStale(d){this[o]=!!d}get allowStale(){return this[o]}set maxAge(d){if(typeof d!="number")throw new TypeError("maxAge must be a non-negative number");this[n]=d,R(this)}get maxAge(){return this[n]}set lengthCalculator(d){typeof d!="function"&&(d=f),d!==this[a]&&(this[a]=d,this[h]=0,this[c].forEach(I=>{I.length=this[a](I.value,I.key),this[h]+=I.length})),R(this)}get lengthCalculator(){return this[a]}get length(){return this[h]}get itemCount(){return this[c].length}rforEach(d,I){I=I||this;for(let p=this[c].tail;p!==null;){const A=p.prev;P(this,d,p,I),p=A}}forEach(d,I){I=I||this;for(let p=this[c].head;p!==null;){const A=p.next;P(this,d,p,I),p=A}}keys(){return this[c].toArray().map(d=>d.key)}values(){return this[c].toArray().map(d=>d.value)}reset(){this[t]&&this[c]&&this[c].length&&this[c].forEach(d=>this[t](d.key,d.value)),this[s]=new Map,this[c]=new i,this[h]=0}dump(){return this[c].map(d=>v(this,d)?!1:{k:d.key,v:d.value,e:d.now+(d.maxAge||0)}).toArray().filter(d=>d)}dumpLru(){return this[c]}set(d,I,p){if(p=p||this[n],p&&typeof p!="number")throw new TypeError("maxAge must be a number");const A=p?Date.now():0,M=this[a](I,d);if(this[s].has(d)){if(M>this[u])return D(this,this[s].get(d)),!1;const N=this[s].get(d).value;return this[t]&&(this[l]||this[t](d,N.value)),N.now=A,N.maxAge=p,N.value=I,this[h]+=M-N.length,N.length=M,this.get(d),R(this),!0}const b=new y(d,I,M,A,p);return b.length>this[u]?(this[t]&&this[t](d,I),!1):(this[h]+=b.length,this[c].unshift(b),this[s].set(d,this[c].head),R(this),!0)}has(d){if(!this[s].has(d))return!1;const I=this[s].get(d).value;return!v(this,I)}get(d){return E(this,d,!0)}peek(d){return E(this,d,!1)}pop(){const d=this[c].tail;return d?(D(this,d),d.value):null}del(d){D(this,this[s].get(d))}load(d){this.reset();const I=Date.now();for(let p=d.length-1;p>=0;p--){const A=d[p],M=A.e||0;if(M===0)this.set(A.k,A.v);else{const b=M-I;b>0&&this.set(A.k,A.v,b)}}}prune(){this[s].forEach((d,I)=>E(this,I,!1))}}const E=(O,d,I)=>{const p=O[s].get(d);if(p){const A=p.value;if(v(O,A)){if(D(O,p),!O[o])return}else I&&(O[r]&&(p.value.now=Date.now()),O[c].unshiftNode(p));return A.value}},v=(O,d)=>{if(!d||!d.maxAge&&!O[n])return!1;const I=Date.now()-d.now;return d.maxAge?I>d.maxAge:O[n]&&I>O[n]},R=O=>{if(O[h]>O[u])for(let d=O[c].tail;O[h]>O[u]&&d!==null;){const I=d.prev;D(O,d),d=I}},D=(O,d)=>{if(d){const I=d.value;O[t]&&O[t](I.key,I.value),O[h]-=I.length,O[s].delete(I.key),O[c].removeNode(d)}};class y{constructor(d,I,p,A,M){this.key=d,this.value=I,this.length=p,this.now=A,this.maxAge=M||0}}const P=(O,d,I,p)=>{let A=I.value;v(O,A)&&(D(O,I),O[o]||(A=void 0)),A&&d.call(p,A.value,A.key,O)};T.exports=m},13272:function(T,g,e){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.isSafari=g.isFirefox=void 0;var i=e(17611);const u=i.memoize(()=>/firefox/i.test(navigator.userAgent));g.isFirefox=u;const h=i.memoize(()=>Boolean(window.safari));g.isSafari=h},24284:function(T,g,e){"use strict";Object.defineProperty(g,"__esModule",{value:!0});var i=e(17611);class u{enter(a){const o=this.entered.length,n=t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(a));return this.entered=i.union(this.entered.filter(n),[a]),o===0&&this.entered.length>0}leave(a){const o=this.entered.length;return this.entered=i.without(this.entered.filter(this.isNodeInDocument),a),o>0&&this.entered.length===0}reset(){this.entered=[]}constructor(a){this.entered=[],this.isNodeInDocument=a}}g.EnterLeaveCounter=u},32022:function(T,g,e){"use strict";Object.defineProperty(g,"__esModule",{value:!0});var i=e(24284),u=e(5782),h=e(54935),a=t(e(9689)),o=e(44444);function n(s,r,f){return r in s?Object.defineProperty(s,r,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[r]=f,s}function t(s){if(s&&s.__esModule)return s;var r={};if(s!=null){for(var f in s)if(Object.prototype.hasOwnProperty.call(s,f)){var m=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(s,f):{};m.get||m.set?Object.defineProperty(r,f,m):r[f]=s[f]}}return r.default=s,r}function l(s){for(var r=1;r<arguments.length;r++){var f=arguments[r]!=null?arguments[r]:{},m=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&(m=m.concat(Object.getOwnPropertySymbols(f).filter(function(E){return Object.getOwnPropertyDescriptor(f,E).enumerable}))),m.forEach(function(E){n(s,E,f[E])})}return s}class c{profile(){var r,f;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((r=this.dragStartSourceIds)===null||r===void 0?void 0:r.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((f=this.dragOverTargetIds)===null||f===void 0?void 0:f.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const r=this.rootElement;if(r!==void 0){if(r.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");r.__isReactDndBackendSetUp=!0,this.addEventListeners(r)}}teardown(){const r=this.rootElement;if(r!==void 0&&(r.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var f;(f=this.window)===null||f===void 0||f.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(r,f,m){return this.sourcePreviewNodeOptions.set(r,m),this.sourcePreviewNodes.set(r,f),()=>{this.sourcePreviewNodes.delete(r),this.sourcePreviewNodeOptions.delete(r)}}connectDragSource(r,f,m){this.sourceNodes.set(r,f),this.sourceNodeOptions.set(r,m);const E=R=>this.handleDragStart(R,r),v=R=>this.handleSelectStart(R);return f.setAttribute("draggable","true"),f.addEventListener("dragstart",E),f.addEventListener("selectstart",v),()=>{this.sourceNodes.delete(r),this.sourceNodeOptions.delete(r),f.removeEventListener("dragstart",E),f.removeEventListener("selectstart",v),f.setAttribute("draggable","false")}}connectDropTarget(r,f){const m=R=>this.handleDragEnter(R,r),E=R=>this.handleDragOver(R,r),v=R=>this.handleDrop(R,r);return f.addEventListener("dragenter",m),f.addEventListener("dragover",E),f.addEventListener("drop",v),()=>{f.removeEventListener("dragenter",m),f.removeEventListener("dragover",E),f.removeEventListener("drop",v)}}addEventListeners(r){!r.addEventListener||(r.addEventListener("dragstart",this.handleTopDragStart),r.addEventListener("dragstart",this.handleTopDragStartCapture,!0),r.addEventListener("dragend",this.handleTopDragEndCapture,!0),r.addEventListener("dragenter",this.handleTopDragEnter),r.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),r.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),r.addEventListener("dragover",this.handleTopDragOver),r.addEventListener("dragover",this.handleTopDragOverCapture,!0),r.addEventListener("drop",this.handleTopDrop),r.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(r){!r.removeEventListener||(r.removeEventListener("dragstart",this.handleTopDragStart),r.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),r.removeEventListener("dragend",this.handleTopDragEndCapture,!0),r.removeEventListener("dragenter",this.handleTopDragEnter),r.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),r.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),r.removeEventListener("dragover",this.handleTopDragOver),r.removeEventListener("dragover",this.handleTopDragOverCapture,!0),r.removeEventListener("drop",this.handleTopDrop),r.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const r=this.monitor.getSourceId(),f=this.sourceNodeOptions.get(r);return l({dropEffect:this.altKeyPressed?"copy":"move"},f||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const r=this.monitor.getSourceId(),f=this.sourcePreviewNodeOptions.get(r);return l({anchorX:.5,anchorY:.5,captureDraggingState:!1},f||{})}isDraggingNativeItem(){const r=this.monitor.getItemType();return Object.keys(a).some(f=>a[f]===r)}beginDragNativeItem(r,f){this.clearCurrentDragSourceNode(),this.currentNativeSource=h.createNativeDragSource(r,f),this.currentNativeHandle=this.registry.addSource(r,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(r){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=r;const f=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var m;return(m=this.rootElement)===null||m===void 0?void 0:m.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},f)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var r;(r=this.window)===null||r===void 0||r.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(r,f){r.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(f))}handleDragEnter(r,f){this.dragEnterTargetIds.unshift(f)}handleDragOver(r,f){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(f)}handleDrop(r,f){this.dropTargetIds.unshift(f)}constructor(r,f,m){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=E=>{const v=this.sourceNodes.get(E);return v&&u.getNodeClientOffset(v)||null},this.endDragNativeItem=()=>{!this.isDraggingNativeItem()||(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=E=>Boolean(E&&this.document&&this.document.body&&this.document.body.contains(E)),this.endDragIfSourceWasRemovedFromDOM=()=>{const E=this.currentDragSourceNode;E==null||this.isNodeInDocument(E)||this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag()},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=E=>{if(E.defaultPrevented)return;const{dragStartSourceIds:v}=this;this.dragStartSourceIds=null;const R=u.getEventClientOffset(E);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(v||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:R});const{dataTransfer:D}=E,y=h.matchNativeItemType(D);if(this.monitor.isDragging()){if(D&&typeof D.setDragImage=="function"){const O=this.monitor.getSourceId(),d=this.sourceNodes.get(O),I=this.sourcePreviewNodes.get(O)||d;if(I){const{anchorX:p,anchorY:A,offsetX:M,offsetY:b}=this.getCurrentSourcePreviewNodeOptions(),K={anchorX:p,anchorY:A},N={offsetX:M,offsetY:b},L=u.getDragPreviewOffset(d,I,R,K,N);D.setDragImage(I,L.x,L.y)}}try{D?.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(E.target);const{captureDraggingState:P}=this.getCurrentSourcePreviewNodeOptions();P?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(y)this.beginDragNativeItem(y);else{if(D&&!D.types&&(E.target&&!E.target.hasAttribute||!E.target.hasAttribute("draggable")))return;E.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag()},this.handleTopDragEnterCapture=E=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var v;(v=this.currentNativeSource)===null||v===void 0||v.loadDataTransfer(E.dataTransfer)}if(!this.enterLeaveCounter.enter(E.target)||this.monitor.isDragging())return;const{dataTransfer:D}=E,y=h.matchNativeItemType(D);y&&this.beginDragNativeItem(y,D)},this.handleTopDragEnter=E=>{const{dragEnterTargetIds:v}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=E.altKey,v.length>0&&this.actions.hover(v,{clientOffset:u.getEventClientOffset(E)}),v.some(D=>this.monitor.canDropOnTarget(D))&&(E.preventDefault(),E.dataTransfer&&(E.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=E=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var v;(v=this.currentNativeSource)===null||v===void 0||v.loadDataTransfer(E.dataTransfer)}},this.handleTopDragOver=E=>{const{dragOverTargetIds:v}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){E.preventDefault(),E.dataTransfer&&(E.dataTransfer.dropEffect="none");return}this.altKeyPressed=E.altKey,this.lastClientOffset=u.getEventClientOffset(E),this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(v||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null})),(v||[]).some(D=>this.monitor.canDropOnTarget(D))?(E.preventDefault(),E.dataTransfer&&(E.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?E.preventDefault():(E.preventDefault(),E.dataTransfer&&(E.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=E=>{this.isDraggingNativeItem()&&E.preventDefault(),!!this.enterLeaveCounter.leave(E.target)&&this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0)},this.handleTopDropCapture=E=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var v;E.preventDefault(),(v=this.currentNativeSource)===null||v===void 0||v.loadDataTransfer(E.dataTransfer)}else h.matchNativeItemType(E.dataTransfer)&&E.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=E=>{const{dropTargetIds:v}=this;this.dropTargetIds=[],this.actions.hover(v,{clientOffset:u.getEventClientOffset(E)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag()},this.handleSelectStart=E=>{const v=E.target;typeof v.dragDrop=="function"&&(v.tagName==="INPUT"||v.tagName==="SELECT"||v.tagName==="TEXTAREA"||v.isContentEditable||(E.preventDefault(),v.dragDrop()))},this.options=new o.OptionsReader(f,m),this.actions=r.getActions(),this.monitor=r.getMonitor(),this.registry=r.getRegistry(),this.enterLeaveCounter=new i.EnterLeaveCounter(this.isNodeInDocument)}}g.HTML5BackendImpl=c},80557:function(T,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0});class e{interpolate(u){const{xs:h,ys:a,c1s:o,c2s:n,c3s:t}=this;let l=h.length-1;if(u===h[l])return a[l];let c=0,s=t.length-1,r;for(;c<=s;){r=Math.floor(.5*(c+s));const E=h[r];if(E<u)c=r+1;else if(E>u)s=r-1;else return a[r]}l=Math.max(0,s);const f=u-h[l],m=f*f;return a[l]+o[l]*f+n[l]*m+t[l]*f*m}constructor(u,h){const{length:a}=u,o=[];for(let v=0;v<a;v++)o.push(v);o.sort((v,R)=>u[v]<u[R]?-1:1);const n=[],t=[],l=[];let c,s;for(let v=0;v<a-1;v++)c=u[v+1]-u[v],s=h[v+1]-h[v],t.push(c),n.push(s),l.push(s/c);const r=[l[0]];for(let v=0;v<t.length-1;v++){const R=l[v],D=l[v+1];if(R*D<=0)r.push(0);else{c=t[v];const y=t[v+1],P=c+y;r.push(3*P/((P+y)/R+(P+c)/D))}}r.push(l[l.length-1]);const f=[],m=[];let E;for(let v=0;v<r.length-1;v++){E=l[v];const R=r[v],D=1/t[v],y=R+r[v+1]-E-E;f.push((E-R-y)*D),m.push(y*D*D)}this.xs=u,this.ys=h,this.c1s=r,this.c2s=f,this.c3s=m}}g.MonotonicInterpolant=e},81061:function(T,g,e){"use strict";var i=e(98399);Object.defineProperty(g,"__esModule",{value:!0});class u{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(a=>{Object.defineProperty(this.item,a,{configurable:!0,enumerable:!0,get(){return i.warn(`Browser doesn't allow reading "${a}" until the drop event.`),null}})})}loadDataTransfer(a){if(a){const o={};Object.keys(this.config.exposeProperties).forEach(n=>{const t=this.config.exposeProperties[n];t!=null&&(o[n]={value:t(a,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,o)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(a,o){return o===a.getSourceId()}endDrag(){}constructor(a){this.config=a,this.item={},this.initializeExposedProperties()}}g.NativeDragSource=u},17892:function(T,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.getDataFromDataTransfer=e;function e(i,u,h){const a=u.reduce((o,n)=>o||i.getData(n),"");return a??h}},54935:function(T,g,e){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.createNativeDragSource=h,g.matchNativeItemType=a;var i=e(66826),u=e(81061);function h(o,n){const t=i.nativeTypesConfig[o];if(!t)throw new Error(`native type ${o} has no configuration`);const l=new u.NativeDragSource(t);return l.loadDataTransfer(n),l}function a(o){if(!o)return null;const n=Array.prototype.slice.call(o.types||[]);return Object.keys(i.nativeTypesConfig).filter(t=>{const l=i.nativeTypesConfig[t];return l?.matchesTypes?l.matchesTypes.some(c=>n.indexOf(c)>-1):!1})[0]||null}},66826:function(T,g,e){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.nativeTypesConfig=void 0;var i=h(e(9689)),u=e(17892);function h(o){if(o&&o.__esModule)return o;var n={};if(o!=null){for(var t in o)if(Object.prototype.hasOwnProperty.call(o,t)){var l=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(o,t):{};l.get||l.set?Object.defineProperty(n,t,l):n[t]=o[t]}}return n.default=o,n}const a={[i.FILE]:{exposeProperties:{files:o=>Array.prototype.slice.call(o.files),items:o=>o.items,dataTransfer:o=>o},matchesTypes:["Files"]},[i.HTML]:{exposeProperties:{html:(o,n)=>u.getDataFromDataTransfer(o,n,""),dataTransfer:o=>o},matchesTypes:["Html","text/html"]},[i.URL]:{exposeProperties:{urls:(o,n)=>u.getDataFromDataTransfer(o,n,"").split(`
|
|
2
|
-
`),dataTransfer:o=>o},matchesTypes:["Url","text/uri-list"]},[i.TEXT]:{exposeProperties:{text:(o,n)=>u.getDataFromDataTransfer(o,n,""),dataTransfer:o=>o},matchesTypes:["Text","text/plain"]}};g.nativeTypesConfig=a},9689:function(T,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.HTML=g.TEXT=g.URL=g.FILE=void 0;const e="__NATIVE_FILE__";g.FILE=e;const i="__NATIVE_URL__";g.URL=i;const u="__NATIVE_TEXT__";g.TEXT=u;const h="__NATIVE_HTML__";g.HTML=h},5782:function(T,g,e){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.getNodeClientOffset=a,g.getEventClientOffset=o,g.getDragPreviewOffset=l;var i=e(13272),u=e(80557);const h=1;function a(c){const s=c.nodeType===h?c:c.parentElement;if(!s)return null;const{top:r,left:f}=s.getBoundingClientRect();return{x:f,y:r}}function o(c){return{x:c.clientX,y:c.clientY}}function n(c){var s;return c.nodeName==="IMG"&&(i.isFirefox()||!(!((s=document.documentElement)===null||s===void 0)&&s.contains(c)))}function t(c,s,r,f){let m=c?s.width:r,E=c?s.height:f;return i.isSafari()&&c&&(E/=window.devicePixelRatio,m/=window.devicePixelRatio),{dragPreviewWidth:m,dragPreviewHeight:E}}function l(c,s,r,f,m){const E=n(s),R=a(E?c:s),D={x:r.x-R.x,y:r.y-R.y},{offsetWidth:y,offsetHeight:P}=c,{anchorX:O,anchorY:d}=f,{dragPreviewWidth:I,dragPreviewHeight:p}=t(E,s,y,P),A=()=>{let $=new u.MonotonicInterpolant([0,.5,1],[D.y,D.y/P*p,D.y+p-P]).interpolate(d);return i.isSafari()&&E&&($+=(window.devicePixelRatio-1)*p),$},M=()=>new u.MonotonicInterpolant([0,.5,1],[D.x,D.x/y*I,D.x+I-y]).interpolate(O),{offsetX:b,offsetY:K}=m,N=b===0||b,L=K===0||K;return{x:N?b:M(),y:L?K:A()}}},44444:function(T,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0});class e{get window(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}get document(){var u;return!((u=this.globalContext)===null||u===void 0)&&u.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var u;return((u=this.optionsArgs)===null||u===void 0?void 0:u.rootElement)||this.window}constructor(u,h){this.ownerDocument=null,this.globalContext=u,this.optionsArgs=h}}g.OptionsReader=e},15970:function(T,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.getEmptyImage=i;let e;function i(){return e||(e=new Image,e.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),e}},51968:function(T,g,e){"use strict";var i;i={value:!0},Object.defineProperty(g,"rX",{enumerable:!0,get:function(){return a.getEmptyImage}}),g.PD=i=void 0;var u=e(32022),h=o(e(9689)),a=e(15970);function o(t){if(t&&t.__esModule)return t;var l={};if(t!=null){for(var c in t)if(Object.prototype.hasOwnProperty.call(t,c)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,c):{};s.get||s.set?Object.defineProperty(l,c,s):l[c]=t[c]}}return l.default=t,l}i=h;const n=function(l,c,s){return new u.HTML5BackendImpl(l,c,s)};g.PD=n},17611:function(T,g){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.memoize=e,g.without=i,g.union=u;function e(h){let a=null;return()=>(a==null&&(a=h()),a)}function i(h,a){return h.filter(o=>o!==a)}function u(h,a){const o=new Set,n=l=>o.add(l);h.forEach(n),a.forEach(n);const t=[];return o.forEach(l=>t.push(l)),t}},84074:function(T,g,e){const i=Symbol("SemVer ANY");class u{static get ANY(){return i}constructor(r,f){if(f=h(f),r instanceof u){if(r.loose===!!f.loose)return r;r=r.value}t("comparator",r,f),this.options=f,this.loose=!!f.loose,this.parse(r),this.semver===i?this.value="":this.value=this.operator+this.semver.version,t("comp",this)}parse(r){const f=this.options.loose?a[o.COMPARATORLOOSE]:a[o.COMPARATOR],m=r.match(f);if(!m)throw new TypeError(`Invalid comparator: ${r}`);this.operator=m[1]!==void 0?m[1]:"",this.operator==="="&&(this.operator=""),m[2]?this.semver=new l(m[2],this.options.loose):this.semver=i}toString(){return this.value}test(r){if(t("Comparator.test",r,this.options.loose),this.semver===i||r===i)return!0;if(typeof r=="string")try{r=new l(r,this.options)}catch{return!1}return n(r,this.operator,this.semver,this.options)}intersects(r,f){if(!(r instanceof u))throw new TypeError("a Comparator is required");if((!f||typeof f!="object")&&(f={loose:!!f,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new c(r.value,f).test(this.value);if(r.operator==="")return r.value===""?!0:new c(this.value,f).test(r.semver);const m=(this.operator===">="||this.operator===">")&&(r.operator===">="||r.operator===">"),E=(this.operator==="<="||this.operator==="<")&&(r.operator==="<="||r.operator==="<"),v=this.semver.version===r.semver.version,R=(this.operator===">="||this.operator==="<=")&&(r.operator===">="||r.operator==="<="),D=n(this.semver,"<",r.semver,f)&&(this.operator===">="||this.operator===">")&&(r.operator==="<="||r.operator==="<"),y=n(this.semver,">",r.semver,f)&&(this.operator==="<="||this.operator==="<")&&(r.operator===">="||r.operator===">");return m||E||v&&R||D||y}}T.exports=u;const h=e(30156),{re:a,t:o}=e(90887),n=e(62401),t=e(33843),l=e(39405),c=e(14355)},14355:function(T,g,e){class i{constructor(L,x){if(x=a(x),L instanceof i)return L.loose===!!x.loose&&L.includePrerelease===!!x.includePrerelease?L:new i(L.raw,x);if(L instanceof o)return this.raw=L.value,this.set=[[L]],this.format(),this;if(this.options=x,this.loose=!!x.loose,this.includePrerelease=!!x.includePrerelease,this.raw=L,this.set=L.split("||").map($=>this.parseRange($.trim())).filter($=>$.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${L}`);if(this.set.length>1){const $=this.set[0];if(this.set=this.set.filter(C=>!m(C[0])),this.set.length===0)this.set=[$];else if(this.set.length>1){for(const C of this.set)if(C.length===1&&E(C[0])){this.set=[C];break}}}this.format()}format(){return this.range=this.set.map(L=>L.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(L){L=L.trim();const $=`parseRange:${Object.keys(this.options).join(",")}:${L}`,C=h.get($);if(C)return C;const S=this.options.loose,_=S?l[c.HYPHENRANGELOOSE]:l[c.HYPHENRANGE];L=L.replace(_,b(this.options.includePrerelease)),n("hyphen replace",L),L=L.replace(l[c.COMPARATORTRIM],s),n("comparator trim",L),L=L.replace(l[c.TILDETRIM],r),L=L.replace(l[c.CARETTRIM],f),L=L.split(/\s+/).join(" ");let j=L.split(" ").map(U=>R(U,this.options)).join(" ").split(/\s+/).map(U=>M(U,this.options));S&&(j=j.filter(U=>(n("loose invalid filter",U,this.options),!!U.match(l[c.COMPARATORLOOSE])))),n("range list",j);const w=new Map,B=j.map(U=>new o(U,this.options));for(const U of B){if(m(U))return[U];w.set(U.value,U)}w.size>1&&w.has("")&&w.delete("");const F=[...w.values()];return h.set($,F),F}intersects(L,x){if(!(L instanceof i))throw new TypeError("a Range is required");return this.set.some($=>v($,x)&&L.set.some(C=>v(C,x)&&$.every(S=>C.every(_=>S.intersects(_,x)))))}test(L){if(!L)return!1;if(typeof L=="string")try{L=new t(L,this.options)}catch{return!1}for(let x=0;x<this.set.length;x++)if(K(this.set[x],L,this.options))return!0;return!1}}T.exports=i;const u=e(65923),h=new u({max:1e3}),a=e(30156),o=e(84074),n=e(33843),t=e(39405),{re:l,t:c,comparatorTrimReplace:s,tildeTrimReplace:r,caretTrimReplace:f}=e(90887),m=N=>N.value==="<0.0.0-0",E=N=>N.value==="",v=(N,L)=>{let x=!0;const $=N.slice();let C=$.pop();for(;x&&$.length;)x=$.every(S=>C.intersects(S,L)),C=$.pop();return x},R=(N,L)=>(n("comp",N,L),N=O(N,L),n("caret",N),N=y(N,L),n("tildes",N),N=I(N,L),n("xrange",N),N=A(N,L),n("stars",N),N),D=N=>!N||N.toLowerCase()==="x"||N==="*",y=(N,L)=>N.trim().split(/\s+/).map(x=>P(x,L)).join(" "),P=(N,L)=>{const x=L.loose?l[c.TILDELOOSE]:l[c.TILDE];return N.replace(x,($,C,S,_,j)=>{n("tilde",N,$,C,S,_,j);let w;return D(C)?w="":D(S)?w=`>=${C}.0.0 <${+C+1}.0.0-0`:D(_)?w=`>=${C}.${S}.0 <${C}.${+S+1}.0-0`:j?(n("replaceTilde pr",j),w=`>=${C}.${S}.${_}-${j} <${C}.${+S+1}.0-0`):w=`>=${C}.${S}.${_} <${C}.${+S+1}.0-0`,n("tilde return",w),w})},O=(N,L)=>N.trim().split(/\s+/).map(x=>d(x,L)).join(" "),d=(N,L)=>{n("caret",N,L);const x=L.loose?l[c.CARETLOOSE]:l[c.CARET],$=L.includePrerelease?"-0":"";return N.replace(x,(C,S,_,j,w)=>{n("caret",N,C,S,_,j,w);let B;return D(S)?B="":D(_)?B=`>=${S}.0.0${$} <${+S+1}.0.0-0`:D(j)?S==="0"?B=`>=${S}.${_}.0${$} <${S}.${+_+1}.0-0`:B=`>=${S}.${_}.0${$} <${+S+1}.0.0-0`:w?(n("replaceCaret pr",w),S==="0"?_==="0"?B=`>=${S}.${_}.${j}-${w} <${S}.${_}.${+j+1}-0`:B=`>=${S}.${_}.${j}-${w} <${S}.${+_+1}.0-0`:B=`>=${S}.${_}.${j}-${w} <${+S+1}.0.0-0`):(n("no pr"),S==="0"?_==="0"?B=`>=${S}.${_}.${j}${$} <${S}.${_}.${+j+1}-0`:B=`>=${S}.${_}.${j}${$} <${S}.${+_+1}.0-0`:B=`>=${S}.${_}.${j} <${+S+1}.0.0-0`),n("caret return",B),B})},I=(N,L)=>(n("replaceXRanges",N,L),N.split(/\s+/).map(x=>p(x,L)).join(" ")),p=(N,L)=>{N=N.trim();const x=L.loose?l[c.XRANGELOOSE]:l[c.XRANGE];return N.replace(x,($,C,S,_,j,w)=>{n("xRange",N,$,C,S,_,j,w);const B=D(S),F=B||D(_),U=F||D(j),W=U;return C==="="&&W&&(C=""),w=L.includePrerelease?"-0":"",B?C===">"||C==="<"?$="<0.0.0-0":$="*":C&&W?(F&&(_=0),j=0,C===">"?(C=">=",F?(S=+S+1,_=0,j=0):(_=+_+1,j=0)):C==="<="&&(C="<",F?S=+S+1:_=+_+1),C==="<"&&(w="-0"),$=`${C+S}.${_}.${j}${w}`):F?$=`>=${S}.0.0${w} <${+S+1}.0.0-0`:U&&($=`>=${S}.${_}.0${w} <${S}.${+_+1}.0-0`),n("xRange return",$),$})},A=(N,L)=>(n("replaceStars",N,L),N.trim().replace(l[c.STAR],"")),M=(N,L)=>(n("replaceGTE0",N,L),N.trim().replace(l[L.includePrerelease?c.GTE0PRE:c.GTE0],"")),b=N=>(L,x,$,C,S,_,j,w,B,F,U,W,G)=>(D($)?x="":D(C)?x=`>=${$}.0.0${N?"-0":""}`:D(S)?x=`>=${$}.${C}.0${N?"-0":""}`:_?x=`>=${x}`:x=`>=${x}${N?"-0":""}`,D(B)?w="":D(F)?w=`<${+B+1}.0.0-0`:D(U)?w=`<${B}.${+F+1}.0-0`:W?w=`<=${B}.${F}.${U}-${W}`:N?w=`<${B}.${F}.${+U+1}-0`:w=`<=${w}`,`${x} ${w}`.trim()),K=(N,L,x)=>{for(let $=0;$<N.length;$++)if(!N[$].test(L))return!1;if(L.prerelease.length&&!x.includePrerelease){for(let $=0;$<N.length;$++)if(n(N[$].semver),N[$].semver!==o.ANY&&N[$].semver.prerelease.length>0){const C=N[$].semver;if(C.major===L.major&&C.minor===L.minor&&C.patch===L.patch)return!0}return!1}return!0}},39405:function(T,g,e){const i=e(33843),{MAX_LENGTH:u,MAX_SAFE_INTEGER:h}=e(88202),{re:a,t:o}=e(90887),n=e(30156),{compareIdentifiers:t}=e(31630);class l{constructor(s,r){if(r=n(r),s instanceof l){if(s.loose===!!r.loose&&s.includePrerelease===!!r.includePrerelease)return s;s=s.version}else if(typeof s!="string")throw new TypeError(`Invalid Version: ${s}`);if(s.length>u)throw new TypeError(`version is longer than ${u} characters`);i("SemVer",s,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const f=s.trim().match(r.loose?a[o.LOOSE]:a[o.FULL]);if(!f)throw new TypeError(`Invalid Version: ${s}`);if(this.raw=s,this.major=+f[1],this.minor=+f[2],this.patch=+f[3],this.major>h||this.major<0)throw new TypeError("Invalid major version");if(this.minor>h||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>h||this.patch<0)throw new TypeError("Invalid patch version");f[4]?this.prerelease=f[4].split(".").map(m=>{if(/^[0-9]+$/.test(m)){const E=+m;if(E>=0&&E<h)return E}return m}):this.prerelease=[],this.build=f[5]?f[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(s){if(i("SemVer.compare",this.version,this.options,s),!(s instanceof l)){if(typeof s=="string"&&s===this.version)return 0;s=new l(s,this.options)}return s.version===this.version?0:this.compareMain(s)||this.comparePre(s)}compareMain(s){return s instanceof l||(s=new l(s,this.options)),t(this.major,s.major)||t(this.minor,s.minor)||t(this.patch,s.patch)}comparePre(s){if(s instanceof l||(s=new l(s,this.options)),this.prerelease.length&&!s.prerelease.length)return-1;if(!this.prerelease.length&&s.prerelease.length)return 1;if(!this.prerelease.length&&!s.prerelease.length)return 0;let r=0;do{const f=this.prerelease[r],m=s.prerelease[r];if(i("prerelease compare",r,f,m),f===void 0&&m===void 0)return 0;if(m===void 0)return 1;if(f===void 0)return-1;if(f===m)continue;return t(f,m)}while(++r)}compareBuild(s){s instanceof l||(s=new l(s,this.options));let r=0;do{const f=this.build[r],m=s.build[r];if(i("prerelease compare",r,f,m),f===void 0&&m===void 0)return 0;if(m===void 0)return 1;if(f===void 0)return-1;if(f===m)continue;return t(f,m)}while(++r)}inc(s,r){switch(s){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r),this.inc("pre",r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r),this.inc("pre",r);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":if(this.prerelease.length===0)this.prerelease=[0];else{let f=this.prerelease.length;for(;--f>=0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);f===-1&&this.prerelease.push(0)}r&&(t(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=[r,0]):this.prerelease=[r,0]);break;default:throw new Error(`invalid increment argument: ${s}`)}return this.format(),this.raw=this.version,this}}T.exports=l},10953:function(T,g,e){const i=e(15497),u=(h,a)=>{const o=i(h.trim().replace(/^[=v]+/,""),a);return o?o.version:null};T.exports=u},62401:function(T,g,e){const i=e(38896),u=e(38378),h=e(99261),a=e(56647),o=e(63433),n=e(64622),t=(l,c,s,r)=>{switch(c){case"===":return typeof l=="object"&&(l=l.version),typeof s=="object"&&(s=s.version),l===s;case"!==":return typeof l=="object"&&(l=l.version),typeof s=="object"&&(s=s.version),l!==s;case"":case"=":case"==":return i(l,s,r);case"!=":return u(l,s,r);case">":return h(l,s,r);case">=":return a(l,s,r);case"<":return o(l,s,r);case"<=":return n(l,s,r);default:throw new TypeError(`Invalid operator: ${c}`)}};T.exports=t},36839:function(T,g,e){const i=e(39405),u=e(15497),{re:h,t:a}=e(90887),o=(n,t)=>{if(n instanceof i)return n;if(typeof n=="number"&&(n=String(n)),typeof n!="string")return null;t=t||{};let l=null;if(!t.rtl)l=n.match(h[a.COERCE]);else{let c;for(;(c=h[a.COERCERTL].exec(n))&&(!l||l.index+l[0].length!==n.length);)(!l||c.index+c[0].length!==l.index+l[0].length)&&(l=c),h[a.COERCERTL].lastIndex=c.index+c[1].length+c[2].length;h[a.COERCERTL].lastIndex=-1}return l===null?null:u(`${l[2]}.${l[3]||"0"}.${l[4]||"0"}`,t)};T.exports=o},6218:function(T,g,e){const i=e(39405),u=(h,a,o)=>{const n=new i(h,o),t=new i(a,o);return n.compare(t)||n.compareBuild(t)};T.exports=u},9643:function(T,g,e){const i=e(73308),u=(h,a)=>i(h,a,!0);T.exports=u},73308:function(T,g,e){const i=e(39405),u=(h,a,o)=>new i(h,o).compare(new i(a,o));T.exports=u},93948:function(T,g,e){const i=e(15497),u=e(38896),h=(a,o)=>{if(u(a,o))return null;{const n=i(a),t=i(o),l=n.prerelease.length||t.prerelease.length,c=l?"pre":"",s=l?"prerelease":"";for(const r in n)if((r==="major"||r==="minor"||r==="patch")&&n[r]!==t[r])return c+r;return s}};T.exports=h},38896:function(T,g,e){const i=e(73308),u=(h,a,o)=>i(h,a,o)===0;T.exports=u},99261:function(T,g,e){const i=e(73308),u=(h,a,o)=>i(h,a,o)>0;T.exports=u},56647:function(T,g,e){const i=e(73308),u=(h,a,o)=>i(h,a,o)>=0;T.exports=u},35791:function(T,g,e){const i=e(39405),u=(h,a,o,n)=>{typeof o=="string"&&(n=o,o=void 0);try{return new i(h instanceof i?h.version:h,o).inc(a,n).version}catch{return null}};T.exports=u},63433:function(T,g,e){const i=e(73308),u=(h,a,o)=>i(h,a,o)<0;T.exports=u},64622:function(T,g,e){const i=e(73308),u=(h,a,o)=>i(h,a,o)<=0;T.exports=u},60629:function(T,g,e){const i=e(39405),u=(h,a)=>new i(h,a).major;T.exports=u},59986:function(T,g,e){const i=e(39405),u=(h,a)=>new i(h,a).minor;T.exports=u},38378:function(T,g,e){const i=e(73308),u=(h,a,o)=>i(h,a,o)!==0;T.exports=u},15497:function(T,g,e){const{MAX_LENGTH:i}=e(88202),{re:u,t:h}=e(90887),a=e(39405),o=e(30156),n=(t,l)=>{if(l=o(l),t instanceof a)return t;if(typeof t!="string"||t.length>i||!(l.loose?u[h.LOOSE]:u[h.FULL]).test(t))return null;try{return new a(t,l)}catch{return null}};T.exports=n},89800:function(T,g,e){const i=e(39405),u=(h,a)=>new i(h,a).patch;T.exports=u},44408:function(T,g,e){const i=e(15497),u=(h,a)=>{const o=i(h,a);return o&&o.prerelease.length?o.prerelease:null};T.exports=u},80762:function(T,g,e){const i=e(73308),u=(h,a,o)=>i(a,h,o);T.exports=u},72743:function(T,g,e){const i=e(6218),u=(h,a)=>h.sort((o,n)=>i(n,o,a));T.exports=u},15312:function(T,g,e){const i=e(14355),u=(h,a,o)=>{try{a=new i(a,o)}catch{return!1}return a.test(h)};T.exports=u},52354:function(T,g,e){const i=e(6218),u=(h,a)=>h.sort((o,n)=>i(o,n,a));T.exports=u},21410:function(T,g,e){const i=e(15497),u=(h,a)=>{const o=i(h,a);return o?o.version:null};T.exports=u},54770:function(T,g,e){const i=e(90887),u=e(88202),h=e(39405),a=e(31630),o=e(15497),n=e(21410),t=e(10953),l=e(35791),c=e(93948),s=e(60629),r=e(59986),f=e(89800),m=e(44408),E=e(73308),v=e(80762),R=e(9643),D=e(6218),y=e(52354),P=e(72743),O=e(99261),d=e(63433),I=e(38896),p=e(38378),A=e(56647),M=e(64622),b=e(62401),K=e(36839),N=e(84074),L=e(14355),x=e(15312),$=e(59663),C=e(94931),S=e(65891),_=e(24925),j=e(69965),w=e(93260),B=e(60715),F=e(30006),U=e(9560),W=e(77795),G=e(57732);T.exports={parse:o,valid:n,clean:t,inc:l,diff:c,major:s,minor:r,patch:f,prerelease:m,compare:E,rcompare:v,compareLoose:R,compareBuild:D,sort:y,rsort:P,gt:O,lt:d,eq:I,neq:p,gte:A,lte:M,cmp:b,coerce:K,Comparator:N,Range:L,satisfies:x,toComparators:$,maxSatisfying:C,minSatisfying:S,minVersion:_,validRange:j,outside:w,gtr:B,ltr:F,intersects:U,simplifyRange:W,subset:G,SemVer:h,re:i.re,src:i.src,tokens:i.t,SEMVER_SPEC_VERSION:u.SEMVER_SPEC_VERSION,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},88202:function(T){const g="2.0.0",i=Number.MAX_SAFE_INTEGER||9007199254740991,u=16;T.exports={SEMVER_SPEC_VERSION:g,MAX_LENGTH:256,MAX_SAFE_INTEGER:i,MAX_SAFE_COMPONENT_LENGTH:u}},33843:function(T,g,e){var i=e(13158),u=e(98399);const h=typeof i=="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)?(...a)=>u.error("SEMVER",...a):()=>{};T.exports=h},31630:function(T){const g=/^[0-9]+$/,e=(u,h)=>{const a=g.test(u),o=g.test(h);return a&&o&&(u=+u,h=+h),u===h?0:a&&!o?-1:o&&!a?1:u<h?-1:1},i=(u,h)=>e(h,u);T.exports={compareIdentifiers:e,rcompareIdentifiers:i}},30156:function(T){const g=["includePrerelease","loose","rtl"],e=i=>i?typeof i!="object"?{loose:!0}:g.filter(u=>i[u]).reduce((u,h)=>(u[h]=!0,u),{}):{};T.exports=e},90887:function(T,g,e){const{MAX_SAFE_COMPONENT_LENGTH:i}=e(88202),u=e(33843);g=T.exports={};const h=g.re=[],a=g.src=[],o=g.t={};let n=0;const t=(l,c,s)=>{const r=n++;u(l,r,c),o[l]=r,a[r]=c,h[r]=new RegExp(c,s?"g":void 0)};t("NUMERICIDENTIFIER","0|[1-9]\\d*"),t("NUMERICIDENTIFIERLOOSE","[0-9]+"),t("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),t("MAINVERSION",`(${a[o.NUMERICIDENTIFIER]})\\.(${a[o.NUMERICIDENTIFIER]})\\.(${a[o.NUMERICIDENTIFIER]})`),t("MAINVERSIONLOOSE",`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.(${a[o.NUMERICIDENTIFIERLOOSE]})\\.(${a[o.NUMERICIDENTIFIERLOOSE]})`),t("PRERELEASEIDENTIFIER",`(?:${a[o.NUMERICIDENTIFIER]}|${a[o.NONNUMERICIDENTIFIER]})`),t("PRERELEASEIDENTIFIERLOOSE",`(?:${a[o.NUMERICIDENTIFIERLOOSE]}|${a[o.NONNUMERICIDENTIFIER]})`),t("PRERELEASE",`(?:-(${a[o.PRERELEASEIDENTIFIER]}(?:\\.${a[o.PRERELEASEIDENTIFIER]})*))`),t("PRERELEASELOOSE",`(?:-?(${a[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[o.PRERELEASEIDENTIFIERLOOSE]})*))`),t("BUILDIDENTIFIER","[0-9A-Za-z-]+"),t("BUILD",`(?:\\+(${a[o.BUILDIDENTIFIER]}(?:\\.${a[o.BUILDIDENTIFIER]})*))`),t("FULLPLAIN",`v?${a[o.MAINVERSION]}${a[o.PRERELEASE]}?${a[o.BUILD]}?`),t("FULL",`^${a[o.FULLPLAIN]}$`),t("LOOSEPLAIN",`[v=\\s]*${a[o.MAINVERSIONLOOSE]}${a[o.PRERELEASELOOSE]}?${a[o.BUILD]}?`),t("LOOSE",`^${a[o.LOOSEPLAIN]}$`),t("GTLT","((?:<|>)?=?)"),t("XRANGEIDENTIFIERLOOSE",`${a[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),t("XRANGEIDENTIFIER",`${a[o.NUMERICIDENTIFIER]}|x|X|\\*`),t("XRANGEPLAIN",`[v=\\s]*(${a[o.XRANGEIDENTIFIER]})(?:\\.(${a[o.XRANGEIDENTIFIER]})(?:\\.(${a[o.XRANGEIDENTIFIER]})(?:${a[o.PRERELEASE]})?${a[o.BUILD]}?)?)?`),t("XRANGEPLAINLOOSE",`[v=\\s]*(${a[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})(?:${a[o.PRERELEASELOOSE]})?${a[o.BUILD]}?)?)?`),t("XRANGE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAIN]}$`),t("XRANGELOOSE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAINLOOSE]}$`),t("COERCE",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?(?:$|[^\\d])`),t("COERCERTL",a[o.COERCE],!0),t("LONETILDE","(?:~>?)"),t("TILDETRIM",`(\\s*)${a[o.LONETILDE]}\\s+`,!0),g.tildeTrimReplace="$1~",t("TILDE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAIN]}$`),t("TILDELOOSE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAINLOOSE]}$`),t("LONECARET","(?:\\^)"),t("CARETTRIM",`(\\s*)${a[o.LONECARET]}\\s+`,!0),g.caretTrimReplace="$1^",t("CARET",`^${a[o.LONECARET]}${a[o.XRANGEPLAIN]}$`),t("CARETLOOSE",`^${a[o.LONECARET]}${a[o.XRANGEPLAINLOOSE]}$`),t("COMPARATORLOOSE",`^${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]})$|^$`),t("COMPARATOR",`^${a[o.GTLT]}\\s*(${a[o.FULLPLAIN]})$|^$`),t("COMPARATORTRIM",`(\\s*)${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]}|${a[o.XRANGEPLAIN]})`,!0),g.comparatorTrimReplace="$1$2$3",t("HYPHENRANGE",`^\\s*(${a[o.XRANGEPLAIN]})\\s+-\\s+(${a[o.XRANGEPLAIN]})\\s*$`),t("HYPHENRANGELOOSE",`^\\s*(${a[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[o.XRANGEPLAINLOOSE]})\\s*$`),t("STAR","(<|>)?=?\\s*\\*"),t("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),t("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},60715:function(T,g,e){const i=e(93260),u=(h,a,o)=>i(h,a,">",o);T.exports=u},9560:function(T,g,e){const i=e(14355),u=(h,a,o)=>(h=new i(h,o),a=new i(a,o),h.intersects(a));T.exports=u},30006:function(T,g,e){const i=e(93260),u=(h,a,o)=>i(h,a,"<",o);T.exports=u},94931:function(T,g,e){const i=e(39405),u=e(14355),h=(a,o,n)=>{let t=null,l=null,c=null;try{c=new u(o,n)}catch{return null}return a.forEach(s=>{c.test(s)&&(!t||l.compare(s)===-1)&&(t=s,l=new i(t,n))}),t};T.exports=h},65891:function(T,g,e){const i=e(39405),u=e(14355),h=(a,o,n)=>{let t=null,l=null,c=null;try{c=new u(o,n)}catch{return null}return a.forEach(s=>{c.test(s)&&(!t||l.compare(s)===1)&&(t=s,l=new i(t,n))}),t};T.exports=h},24925:function(T,g,e){const i=e(39405),u=e(14355),h=e(99261),a=(o,n)=>{o=new u(o,n);let t=new i("0.0.0");if(o.test(t)||(t=new i("0.0.0-0"),o.test(t)))return t;t=null;for(let l=0;l<o.set.length;++l){const c=o.set[l];let s=null;c.forEach(r=>{const f=new i(r.semver.version);switch(r.operator){case">":f.prerelease.length===0?f.patch++:f.prerelease.push(0),f.raw=f.format();case"":case">=":(!s||h(f,s))&&(s=f);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${r.operator}`)}}),s&&(!t||h(t,s))&&(t=s)}return t&&o.test(t)?t:null};T.exports=a},93260:function(T,g,e){const i=e(39405),u=e(84074),{ANY:h}=u,a=e(14355),o=e(15312),n=e(99261),t=e(63433),l=e(64622),c=e(56647),s=(r,f,m,E)=>{r=new i(r,E),f=new a(f,E);let v,R,D,y,P;switch(m){case">":v=n,R=l,D=t,y=">",P=">=";break;case"<":v=t,R=c,D=n,y="<",P="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(r,f,E))return!1;for(let O=0;O<f.set.length;++O){const d=f.set[O];let I=null,p=null;if(d.forEach(A=>{A.semver===h&&(A=new u(">=0.0.0")),I=I||A,p=p||A,v(A.semver,I.semver,E)?I=A:D(A.semver,p.semver,E)&&(p=A)}),I.operator===y||I.operator===P||(!p.operator||p.operator===y)&&R(r,p.semver))return!1;if(p.operator===P&&D(r,p.semver))return!1}return!0};T.exports=s},77795:function(T,g,e){const i=e(15312),u=e(73308);T.exports=(h,a,o)=>{const n=[];let t=null,l=null;const c=h.sort((m,E)=>u(m,E,o));for(const m of c)i(m,a,o)?(l=m,t||(t=m)):(l&&n.push([t,l]),l=null,t=null);t&&n.push([t,null]);const s=[];for(const[m,E]of n)m===E?s.push(m):!E&&m===c[0]?s.push("*"):E?m===c[0]?s.push(`<=${E}`):s.push(`${m} - ${E}`):s.push(`>=${m}`);const r=s.join(" || "),f=typeof a.raw=="string"?a.raw:String(a);return r.length<f.length?r:a}},57732:function(T,g,e){const i=e(14355),u=e(84074),{ANY:h}=u,a=e(15312),o=e(73308),n=(s,r,f={})=>{if(s===r)return!0;s=new i(s,f),r=new i(r,f);let m=!1;e:for(const E of s.set){for(const v of r.set){const R=t(E,v,f);if(m=m||R!==null,R)continue e}if(m)return!1}return!0},t=(s,r,f)=>{if(s===r)return!0;if(s.length===1&&s[0].semver===h){if(r.length===1&&r[0].semver===h)return!0;f.includePrerelease?s=[new u(">=0.0.0-0")]:s=[new u(">=0.0.0")]}if(r.length===1&&r[0].semver===h){if(f.includePrerelease)return!0;r=[new u(">=0.0.0")]}const m=new Set;let E,v;for(const p of s)p.operator===">"||p.operator===">="?E=l(E,p,f):p.operator==="<"||p.operator==="<="?v=c(v,p,f):m.add(p.semver);if(m.size>1)return null;let R;if(E&&v){if(R=o(E.semver,v.semver,f),R>0)return null;if(R===0&&(E.operator!==">="||v.operator!=="<="))return null}for(const p of m){if(E&&!a(p,String(E),f)||v&&!a(p,String(v),f))return null;for(const A of r)if(!a(p,String(A),f))return!1;return!0}let D,y,P,O,d=v&&!f.includePrerelease&&v.semver.prerelease.length?v.semver:!1,I=E&&!f.includePrerelease&&E.semver.prerelease.length?E.semver:!1;d&&d.prerelease.length===1&&v.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(const p of r){if(O=O||p.operator===">"||p.operator===">=",P=P||p.operator==="<"||p.operator==="<=",E){if(I&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===I.major&&p.semver.minor===I.minor&&p.semver.patch===I.patch&&(I=!1),p.operator===">"||p.operator===">="){if(D=l(E,p,f),D===p&&D!==E)return!1}else if(E.operator===">="&&!a(E.semver,String(p),f))return!1}if(v){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(y=c(v,p,f),y===p&&y!==v)return!1}else if(v.operator==="<="&&!a(v.semver,String(p),f))return!1}if(!p.operator&&(v||E)&&R!==0)return!1}return!(E&&P&&!v&&R!==0||v&&O&&!E&&R!==0||I||d)},l=(s,r,f)=>{if(!s)return r;const m=o(s.semver,r.semver,f);return m>0?s:m<0||r.operator===">"&&s.operator===">="?r:s},c=(s,r,f)=>{if(!s)return r;const m=o(s.semver,r.semver,f);return m<0?s:m>0||r.operator==="<"&&s.operator==="<="?r:s};T.exports=n},59663:function(T,g,e){const i=e(14355),u=(h,a)=>new i(h,a).set.map(o=>o.map(n=>n.value).join(" ").trim().split(" "));T.exports=u},69965:function(T,g,e){const i=e(14355),u=(h,a)=>{try{return new i(h,a).range||"*"}catch{return null}};T.exports=u},19961:function(T){"use strict";T.exports=function(g){g.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},52138:function(T,g,e){"use strict";T.exports=i,i.Node=o,i.create=i;function i(n){var t=this;if(t instanceof i||(t=new i),t.tail=null,t.head=null,t.length=0,n&&typeof n.forEach=="function")n.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var l=0,c=arguments.length;l<c;l++)t.push(arguments[l]);return t}i.prototype.removeNode=function(n){if(n.list!==this)throw new Error("removing node which does not belong to this list");var t=n.next,l=n.prev;return t&&(t.prev=l),l&&(l.next=t),n===this.head&&(this.head=t),n===this.tail&&(this.tail=l),n.list.length--,n.next=null,n.prev=null,n.list=null,t},i.prototype.unshiftNode=function(n){if(n!==this.head){n.list&&n.list.removeNode(n);var t=this.head;n.list=this,n.next=t,t&&(t.prev=n),this.head=n,this.tail||(this.tail=n),this.length++}},i.prototype.pushNode=function(n){if(n!==this.tail){n.list&&n.list.removeNode(n);var t=this.tail;n.list=this,n.prev=t,t&&(t.next=n),this.tail=n,this.head||(this.head=n),this.length++}},i.prototype.push=function(){for(var n=0,t=arguments.length;n<t;n++)h(this,arguments[n]);return this.length},i.prototype.unshift=function(){for(var n=0,t=arguments.length;n<t;n++)a(this,arguments[n]);return this.length},i.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}},i.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}},i.prototype.forEach=function(n,t){t=t||this;for(var l=this.head,c=0;l!==null;c++)n.call(t,l.value,c,this),l=l.next},i.prototype.forEachReverse=function(n,t){t=t||this;for(var l=this.tail,c=this.length-1;l!==null;c--)n.call(t,l.value,c,this),l=l.prev},i.prototype.get=function(n){for(var t=0,l=this.head;l!==null&&t<n;t++)l=l.next;if(t===n&&l!==null)return l.value},i.prototype.getReverse=function(n){for(var t=0,l=this.tail;l!==null&&t<n;t++)l=l.prev;if(t===n&&l!==null)return l.value},i.prototype.map=function(n,t){t=t||this;for(var l=new i,c=this.head;c!==null;)l.push(n.call(t,c.value,this)),c=c.next;return l},i.prototype.mapReverse=function(n,t){t=t||this;for(var l=new i,c=this.tail;c!==null;)l.push(n.call(t,c.value,this)),c=c.prev;return l},i.prototype.reduce=function(n,t){var l,c=this.head;if(arguments.length>1)l=t;else if(this.head)c=this.head.next,l=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;c!==null;s++)l=n(l,c.value,s),c=c.next;return l},i.prototype.reduceReverse=function(n,t){var l,c=this.tail;if(arguments.length>1)l=t;else if(this.tail)c=this.tail.prev,l=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;c!==null;s--)l=n(l,c.value,s),c=c.prev;return l},i.prototype.toArray=function(){for(var n=new Array(this.length),t=0,l=this.head;l!==null;t++)n[t]=l.value,l=l.next;return n},i.prototype.toArrayReverse=function(){for(var n=new Array(this.length),t=0,l=this.tail;l!==null;t++)n[t]=l.value,l=l.prev;return n},i.prototype.slice=function(n,t){t=t||this.length,t<0&&(t+=this.length),n=n||0,n<0&&(n+=this.length);var l=new i;if(t<n||t<0)return l;n<0&&(n=0),t>this.length&&(t=this.length);for(var c=0,s=this.head;s!==null&&c<n;c++)s=s.next;for(;s!==null&&c<t;c++,s=s.next)l.push(s.value);return l},i.prototype.sliceReverse=function(n,t){t=t||this.length,t<0&&(t+=this.length),n=n||0,n<0&&(n+=this.length);var l=new i;if(t<n||t<0)return l;n<0&&(n=0),t>this.length&&(t=this.length);for(var c=this.length,s=this.tail;s!==null&&c>t;c--)s=s.prev;for(;s!==null&&c>n;c--,s=s.prev)l.push(s.value);return l},i.prototype.splice=function(n,t,...l){n>this.length&&(n=this.length-1),n<0&&(n=this.length+n);for(var c=0,s=this.head;s!==null&&c<n;c++)s=s.next;for(var r=[],c=0;s&&c<t;c++)r.push(s.value),s=this.removeNode(s);s===null&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev);for(var c=0;c<l.length;c++)s=u(this,s,l[c]);return r},i.prototype.reverse=function(){for(var n=this.head,t=this.tail,l=n;l!==null;l=l.prev){var c=l.prev;l.prev=l.next,l.next=c}return this.head=t,this.tail=n,this};function u(n,t,l){var c=t===n.head?new o(l,null,t,n):new o(l,t,t.next,n);return c.next===null&&(n.tail=c),c.prev===null&&(n.head=c),n.length++,c}function h(n,t){n.tail=new o(t,n.tail,null,n),n.head||(n.head=n.tail),n.length++}function a(n,t){n.head=new o(t,null,n.head,n),n.tail||(n.tail=n.head),n.length++}function o(n,t,l,c){if(!(this instanceof o))return new o(n,t,l,c);this.list=c,this.value=n,t?(t.next=this,this.prev=t):this.prev=null,l?(l.prev=this,this.next=l):this.next=null}try{e(19961)(i)}catch{}},15300:function(T,g,e){"use strict";e.d(g,{$:function(){return E}});var i=e(32735),u=e(83292),h=e(60216),a=e(15335),o=e(82875),n=Object.defineProperty,t=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,s=(v,R,D)=>R in v?n(v,R,{enumerable:!0,configurable:!0,writable:!0,value:D}):v[R]=D,r=(v,R)=>{for(var D in R||(R={}))l.call(R,D)&&s(v,D,R[D]);if(t)for(var D of t(R))c.call(R,D)&&s(v,D,R[D]);return v},f=(v,R)=>{var D={};for(var y in v)l.call(v,y)&&R.indexOf(y)<0&&(D[y]=v[y]);if(v!=null&&t)for(var y of t(v))R.indexOf(y)<0&&c.call(v,y)&&(D[y]=v[y]);return D};const m=(0,u.default)(a.r)`
|
|
3
|
-
width: ${({condensed:v})=>v?"max-content":`${224/16}rem`};
|
|
4
|
-
background: ${({theme:v})=>v.colors.neutral0};
|
|
5
|
-
position: sticky;
|
|
6
|
-
top: 0;
|
|
7
|
-
height: 100vh;
|
|
8
|
-
z-index: 2;
|
|
9
|
-
border-right: 1px solid ${({theme:v})=>v.colors.neutral150};
|
|
10
|
-
`,E=v=>{var R=v,{condensed:D}=R,y=f(R,["condensed"]);return i.createElement(o.f.Provider,{value:D},i.createElement(m,r({as:"nav",condensed:D},y)))};E.defaultProps={condensed:!1},E.propTypes={condensed:h.bool}},82875:function(T,g,e){"use strict";e.d(g,{S:function(){return h},f:function(){return u}});var i=e(32735);const u=(0,i.createContext)(),h=()=>(0,i.useContext)(u)},61450:function(T,g,e){"use strict";e.d(g,{D:function(){return P}});var i=e(32735),u=e(60216),h=e(83292),a=e(62345),o=e(88860),n=e(36320),t=e(82875),l=e(3685),c=e(62499),s=Object.defineProperty,r=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,E=(O,d,I)=>d in O?s(O,d,{enumerable:!0,configurable:!0,writable:!0,value:I}):O[d]=I,v=(O,d)=>{for(var I in d||(d={}))f.call(d,I)&&E(O,I,d[I]);if(r)for(var I of r(d))m.call(d,I)&&E(O,I,d[I]);return O},R=(O,d)=>{var I={};for(var p in O)f.call(O,p)&&d.indexOf(p)<0&&(I[p]=O[p]);if(O!=null&&r)for(var p of r(O))d.indexOf(p)<0&&m.call(O,p)&&(I[p]=O[p]);return I};const D=h.default.div`
|
|
11
|
-
border-radius: ${({theme:O})=>O.borderRadius};
|
|
12
|
-
|
|
13
|
-
svg,
|
|
14
|
-
img {
|
|
15
|
-
height: ${({condensed:O})=>O?`${40/16}rem`:`${32/16}rem`};
|
|
16
|
-
width: ${({condensed:O})=>O?`${40/16}rem`:`${32/16}rem`};
|
|
17
|
-
}
|
|
18
|
-
`,y=(0,h.default)(c.f)`
|
|
19
|
-
text-decoration: unset;
|
|
20
|
-
color: inherit;
|
|
21
|
-
`,P=i.forwardRef((O,d)=>{var I=O,{workplace:p,title:A,icon:M}=I,b=R(I,["workplace","title","icon"]);return(0,t.S)()?i.createElement(c.f,v({ref:d},b),i.createElement(a.x,{paddingLeft:3,paddingRight:3,paddingTop:4,paddingBottom:4},i.createElement(D,{condensed:!0},M,i.createElement(l.T,null,i.createElement("span",null,A),i.createElement("span",null,p))))):i.createElement(y,v({ref:d},b),i.createElement(a.x,{paddingLeft:3,paddingRight:3,paddingTop:4,paddingBottom:4},i.createElement(n.k,null,i.createElement(D,{"aria-hidden":!0,tabIndex:-1},M),i.createElement(a.x,{paddingLeft:2},i.createElement(o.Z,{fontWeight:"bold",textColor:"neutral800",as:"span"},A,i.createElement(l.T,{as:"span"},p)),i.createElement(o.Z,{variant:"pi",as:"p",textColor:"neutral600","aria-hidden":!0},p)))))});P.displayName="NavBrand",P.defaultProps={to:"/"},P.propTypes={icon:u.node.isRequired,title:u.string.isRequired,to:u.string,workplace:u.string.isRequired}},9371:function(T,g,e){"use strict";e.d(g,{w:function(){return D}});var i=e(32735),u=e(60216),h=e(83292),a=e(77277),o=e(76913),n=e(99140),t=e(3685),l=e(82875),c=Object.defineProperty,s=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(y,P,O)=>P in y?c(y,P,{enumerable:!0,configurable:!0,writable:!0,value:O}):y[P]=O,E=(y,P)=>{for(var O in P||(P={}))r.call(P,O)&&m(y,O,P[O]);if(s)for(var O of s(P))f.call(P,O)&&m(y,O,P[O]);return y},v=(y,P)=>{var O={};for(var d in y)r.call(y,d)&&P.indexOf(d)<0&&(O[d]=y[d]);if(y!=null&&s)for(var d of s(y))P.indexOf(d)<0&&f.call(y,d)&&(O[d]=y[d]);return O};const R=h.default.button`
|
|
22
|
-
background: ${({theme:y})=>y.colors.neutral0};
|
|
23
|
-
border: 1px solid ${({theme:y})=>y.colors.neutral150};
|
|
24
|
-
border-radius: ${({theme:y})=>y.borderRadius};
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
position: absolute;
|
|
29
|
-
bottom: ${(9+4)/16}rem; // 9 is the height of the svg and 4 is the padding below
|
|
30
|
-
right: ${({theme:y,condensed:P})=>P?0:y.spaces[5]};
|
|
31
|
-
transform: ${({condensed:y})=>y?"translateX(50%)":void 0};
|
|
32
|
-
z-index: 2;
|
|
33
|
-
width: ${18/16}rem;
|
|
34
|
-
height: ${25/16}rem;
|
|
35
|
-
|
|
36
|
-
svg {
|
|
37
|
-
width: ${6/16}rem;
|
|
38
|
-
height: ${9/16}rem;
|
|
39
|
-
}
|
|
40
|
-
`,D=y=>{var P=y,{children:O}=P,d=v(P,["children"]);const I=(0,l.S)();return i.createElement(R,E({as:"button",condensed:I},d),i.createElement(n.J,{as:I?a.default:o.default,"aria-hidden":!0,color:"neutral600"}),i.createElement(t.T,null,O))};D.propTypes={children:u.string.isRequired}},78464:function(T,g,e){"use strict";e.d(g,{O:function(){return I}});var i=e(32735),u=e(83292),h=e(60216),a=e(62345),o=e(36320),n=e(88860),t=e(82875),l=e(63919),c=e(6518),s=e(62499),r=Object.defineProperty,f=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,v=(p,A,M)=>A in p?r(p,A,{enumerable:!0,configurable:!0,writable:!0,value:M}):p[A]=M,R=(p,A)=>{for(var M in A||(A={}))m.call(A,M)&&v(p,M,A[M]);if(f)for(var M of f(A))E.call(A,M)&&v(p,M,A[M]);return p},D=(p,A)=>{var M={};for(var b in p)m.call(p,b)&&A.indexOf(b)<0&&(M[b]=p[b]);if(p!=null&&f)for(var b of f(p))A.indexOf(b)<0&&E.call(p,b)&&(M[b]=p[b]);return M};const y=(0,u.default)(a.x)`
|
|
41
|
-
svg {
|
|
42
|
-
width: 1rem;
|
|
43
|
-
height: 1rem;
|
|
44
|
-
}
|
|
45
|
-
`,P=(0,u.default)(s.f)`
|
|
46
|
-
position: relative;
|
|
47
|
-
text-decoration: none;
|
|
48
|
-
display: block;
|
|
49
|
-
border-radius: ${({theme:p})=>p.borderRadius};
|
|
50
|
-
background: ${({theme:p})=>p.colors.neutral0};
|
|
51
|
-
|
|
52
|
-
${n.Z} {
|
|
53
|
-
color: ${({theme:p})=>p.colors.neutral600};
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
svg path {
|
|
57
|
-
fill: ${({theme:p})=>p.colors.neutral500};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:hover {
|
|
61
|
-
background: ${({theme:p})=>p.colors.neutral100};
|
|
62
|
-
|
|
63
|
-
${n.Z} {
|
|
64
|
-
color: ${({theme:p})=>p.colors.neutral700};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
svg path {
|
|
68
|
-
fill: ${({theme:p})=>p.colors.neutral600};
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&.active {
|
|
73
|
-
background: ${({theme:p})=>p.colors.primary100};
|
|
74
|
-
|
|
75
|
-
svg path {
|
|
76
|
-
fill: ${({theme:p})=>p.colors.primary600};
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
${n.Z} {
|
|
80
|
-
color: ${({theme:p})=>p.colors.primary600};
|
|
81
|
-
font-weight: 500;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
`,O=(0,u.default)(o.k)`
|
|
85
|
-
padding: ${({theme:p})=>`${p.spaces[2]} ${p.spaces[3]}`};
|
|
86
|
-
`,d=(0,u.default)(c.C)`
|
|
87
|
-
${({condensed:p})=>p&&`
|
|
88
|
-
position: absolute;
|
|
89
|
-
transform: translate(35%, -50%);
|
|
90
|
-
top: 0;
|
|
91
|
-
right: 0;
|
|
92
|
-
`}
|
|
93
|
-
|
|
94
|
-
${n.Z} {
|
|
95
|
-
//find a solution to remove !important
|
|
96
|
-
color: ${({theme:p})=>p.colors.neutral0} !important;
|
|
97
|
-
line-height: 0;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
display: flex;
|
|
101
|
-
justify-content: center;
|
|
102
|
-
align-items: center;
|
|
103
|
-
min-width: ${({theme:p})=>p.spaces[6]};
|
|
104
|
-
height: ${({theme:p})=>p.spaces[5]};
|
|
105
|
-
padding: ${({theme:p})=>`0 ${p.spaces[2]}`};
|
|
106
|
-
border-radius: ${({theme:p})=>p.spaces[10]};
|
|
107
|
-
background: ${({theme:p})=>p.colors.primary600};
|
|
108
|
-
`,I=i.forwardRef((p,A)=>{var M=p,{children:b,icon:K,badgeContent:N,badgeAriaLabel:L}=M,x=D(M,["children","icon","badgeContent","badgeAriaLabel"]);return(0,t.S)()?i.createElement(P,R({ref:A},x),i.createElement(l.u,{position:"right",label:b},i.createElement(O,{as:"span",justifyContent:"center"},i.createElement(y,{"aria-hidden":!0,paddingRight:0,as:"span"},K),N&&i.createElement(d,{condensed:!0,"aria-label":L},N)))):i.createElement(P,R({ref:A},x),i.createElement(O,{as:"span",justifyContent:"space-between"},i.createElement(o.k,null,i.createElement(y,{"aria-hidden":!0,paddingRight:3,as:"span"},K),i.createElement(n.Z,null,b)),N&&i.createElement(d,{justifyContent:"center","aria-label":L},N)))});I.displayName="NavLink",I.defaultProps={badgeContent:void 0,badgeAriaLabel:void 0},I.propTypes={badgeAriaLabel:h.string,badgeContent:h.oneOfType([h.string,h.number]),children:h.string.isRequired,icon:h.node.isRequired}},42889:function(T,g,e){"use strict";e.d(g,{y:function(){return R}});var i=e(32735),u=e(60216),h=e(62345),a=e(88860),o=e(27677),n=e(82875),t=e(3685),l=e(9026),c=Object.defineProperty,s=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(D,y,P)=>y in D?c(D,y,{enumerable:!0,configurable:!0,writable:!0,value:P}):D[y]=P,E=(D,y)=>{for(var P in y||(y={}))r.call(y,P)&&m(D,P,y[P]);if(s)for(var P of s(y))f.call(y,P)&&m(D,P,y[P]);return D},v=(D,y)=>{var P={};for(var O in D)r.call(D,O)&&y.indexOf(O)<0&&(P[O]=D[O]);if(D!=null&&s)for(var O of s(D))y.indexOf(O)<0&&f.call(D,O)&&(P[O]=D[O]);return P};const R=D=>{var y=D,{label:P,children:O}=y,d=v(y,["label","children"]);return(0,n.S)()?i.createElement(o.K,{spacing:2},i.createElement(h.x,{paddingTop:1,paddingBottom:1,background:"neutral0",hasRadius:!0,as:"span"},i.createElement(l.i,null),i.createElement(t.T,null,i.createElement("span",null,P))),i.createElement(o.K,E({as:"ul",spacing:2},d),i.Children.map(O,(I,p)=>i.createElement("li",{key:p},I)))):i.createElement(o.K,{spacing:2},i.createElement(h.x,{paddingTop:1,paddingBottom:1,background:"neutral0",paddingRight:3,paddingLeft:3,hasRadius:!0,as:"span"},i.createElement(a.Z,{variant:"sigma",textColor:"neutral600"},P)),i.createElement(o.K,E({as:"ul",spacing:2},d),i.Children.map(O,(I,p)=>i.createElement("li",{key:p},I))))};R.propTypes={children:u.node.isRequired,label:u.string.isRequired}},1897:function(T,g,e){"use strict";e.d(g,{_:function(){return f}});var i=e(32735),u=e(60216),h=e(27677),a=e(62345),o=Object.defineProperty,n=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(m,E,v)=>E in m?o(m,E,{enumerable:!0,configurable:!0,writable:!0,value:v}):m[E]=v,s=(m,E)=>{for(var v in E||(E={}))t.call(E,v)&&c(m,v,E[v]);if(n)for(var v of n(E))l.call(E,v)&&c(m,v,E[v]);return m},r=(m,E)=>{var v={};for(var R in m)t.call(m,R)&&E.indexOf(R)<0&&(v[R]=m[R]);if(m!=null&&n)for(var R of n(m))E.indexOf(R)<0&&l.call(m,R)&&(v[R]=m[R]);return v};const f=m=>{var E=m,{children:v}=E,R=r(E,["children"]);return i.createElement(a.x,{paddingLeft:3,paddingRight:2,paddingTop:3},i.createElement(h.K,s({as:"ul",spacing:4},R),i.Children.map(v,(D,y)=>i.createElement("li",{key:y},D))))};f.propTypes={children:u.node.isRequired}},64838:function(T,g,e){"use strict";e.d(g,{r:function(){return y}});var i=e(32735),u=e(60216),h=e(83292),a=e(69033),o=e(88860),n=e(36320),t=e(62345),l=e(82875),c=e(3685),s=Object.defineProperty,r=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,E=(P,O,d)=>O in P?s(P,O,{enumerable:!0,configurable:!0,writable:!0,value:d}):P[O]=d,v=(P,O)=>{for(var d in O||(O={}))f.call(O,d)&&E(P,d,O[d]);if(r)for(var d of r(O))m.call(O,d)&&E(P,d,O[d]);return P},R=(P,O)=>{var d={};for(var I in P)f.call(P,I)&&O.indexOf(I)<0&&(d[I]=P[I]);if(P!=null&&r)for(var I of r(P))O.indexOf(I)<0&&m.call(P,I)&&(d[I]=P[I]);return d};const D=(0,h.default)(t.x)`
|
|
109
|
-
text-decoration: none;
|
|
110
|
-
position: absolute;
|
|
111
|
-
bottom: 0;
|
|
112
|
-
width: 100%;
|
|
113
|
-
border-top: 1px solid ${({theme:P})=>P.colors.neutral150};
|
|
114
|
-
`,y=i.forwardRef((P,O)=>{var d=P,{src:I,children:p,initials:A}=d,M=R(d,["src","children","initials"]);const b=(0,l.S)();return i.createElement(D,v({paddingTop:3,paddingBottom:3,paddingLeft:5,paddingRight:5},M),i.createElement(n.k,{as:"button",justifyContent:b?"center":void 0,ref:O},I?i.createElement(a.q,{src:I,alt:"","aria-hidden":!0}):i.createElement(a.L,null,A),b?i.createElement(c.T,null,i.createElement("span",null,p)):i.createElement(t.x,{width:`${130/16}rem`,paddingLeft:2,as:"span"},i.createElement(o.Z,{ellipsis:!0,textColor:"neutral600"},p))))});y.displayName="NavUser",y.defaultProps={src:void 0,initials:void 0},y.propTypes={children:u.node.isRequired,initials:u.node,src:u.string}},92967:function(T,g,e){"use strict";e.d(g,{Z:function(){return l}});var i=e(32735),u=Object.defineProperty,h=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,n=(c,s,r)=>s in c?u(c,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[s]=r,t=(c,s)=>{for(var r in s||(s={}))a.call(s,r)&&n(c,r,s[r]);if(h)for(var r of h(s))o.call(s,r)&&n(c,r,s[r]);return c};function l(c){return i.createElement("svg",t({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c),i.createElement("path",{d:"M11.987 23.036v-.964H1.876V1.876h10.111V0H0v24h11.987v-.964z",fill:"#212134"}),i.createElement("path",{d:"M8 11.2c0-.11.09-.2.2-.2h11.973l-5.445-5.445a.2.2 0 010-.283l1.13-1.13a.2.2 0 01.283 0l7.718 7.717a.2.2 0 010 .282L16.14 19.86a.2.2 0 01-.282 0l-1.13-1.13a.2.2 0 010-.284L20.172 13H8.2a.2.2 0 01-.2-.2v-1.6z",fill:"#212134"}))}},73165:function(T,g,e){"use strict";e.d(g,{Z:function(){return l}});var i=e(32735),u=Object.defineProperty,h=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,n=(c,s,r)=>s in c?u(c,s,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[s]=r,t=(c,s)=>{for(var r in s||(s={}))a.call(s,r)&&n(c,r,s[r]);if(h)for(var r of h(s))o.call(s,r)&&n(c,r,s[r]);return c};function l(c){return i.createElement("svg",t({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.707.297A1 1 0 0023 .004h-2a13.907 13.907 0 00-5.38 1.077 1 1 0 00-.615.923V4.92a.035.035 0 01-.022.038l-2-1.47a1 1 0 00-1.265.052A14 14 0 007 14.004v1.585l-2.707 2.707a1 1 0 101.415 1.415l2.707-2.708H10a14.014 14.014 0 0014-14v-2a1 1 0 00-.293-.706zM18 23.999H3a3 3 0 01-3-3V6A3 3 0 013 3h3a1 1 0 110 2H3a1 1 0 00-1 1v15a1 1 0 001 1h15a1 1 0 001-1v-3a1 1 0 112 0v3a3 3 0 01-3 3z",fill:"#212134"}))}}}]);
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[805],{84802:function(B){function M(e,t,a,u){for(var m=-1,O=e==null?0:e.length;++m<O;){var s=e[m];t(u,s,a(s),e)}return u}B.exports=M},62435:function(B,M,e){var t=e(56671);function a(u,m,O,s){return t(u,function(y,g,v){m(s,y,O(y),v)}),s}B.exports=a},85580:function(B,M,e){var t=e(84802),a=e(62435),u=e(88904),m=e(77236);function O(s,y){return function(g,v){var p=m(g)?t:a,P=y?y():{};return p(g,s,u(v,2),P)}}B.exports=O},3704:function(B,M,e){var t=e(40314),a=e(37213);function u(m,O){return t(a(m,O),1)}B.exports=u},81346:function(B,M,e){var t=e(40999),a=e(85580),u=Object.prototype,m=u.hasOwnProperty,O=a(function(s,y,g){m.call(s,g)?s[g].push(y):t(s,g,[y])});B.exports=O},37213:function(B,M,e){var t=e(26460),a=e(88904),u=e(52920),m=e(77236);function O(s,y){var g=m(s)?t:u;return g(s,a(y,3))}B.exports=O},83828:function(B,M,e){"use strict";e.d(M,{U:function(){return D},y:function(){return p}});var t=e(32735),a=e(60216),u=e(83292),m=e(88860),O=e(91045),s=e(59002),y=e(62345),g=e(36320);const v=({theme:n,expanded:i,variant:r,disabled:l,error:d})=>d?`1px solid ${n.colors.danger600} !important`:l?`1px solid ${n.colors.neutral150}`:i?`1px solid ${n.colors.primary600}`:r==="primary"?`1px solid ${n.colors.neutral0}`:`1px solid ${n.colors.neutral100}`,p=(0,u.default)(m.Z)``,P=(0,u.default)(y.x)`
|
|
2
|
-
border: ${v};
|
|
3
|
-
|
|
4
|
-
&:hover:not([aria-disabled='true']) {
|
|
5
|
-
border: 1px solid ${({theme:n})=>n.colors.primary600};
|
|
6
|
-
|
|
7
|
-
${p} {
|
|
8
|
-
color: ${({theme:n,expanded:i})=>i?void 0:n.colors.primary700};
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
${m.Z} {
|
|
12
|
-
color: ${({theme:n,expanded:i})=>i?void 0:n.colors.primary600};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
& > ${g.k} {
|
|
16
|
-
background: ${({theme:n})=>n.colors.primary100};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
[data-strapi-dropdown='true'] {
|
|
20
|
-
background: ${({theme:n})=>n.colors.primary200};
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
`,D=({children:n,expanded:i,id:r,size:l,variant:d,disabled:E,error:_,hasErrorMessage:o,onToggle:c,toggle:f})=>{const b=(0,s.M)("accordion",r);return t.createElement(O.S.Provider,{value:{expanded:i,onToggle:c,toggle:f,id:b,size:l,variant:d,disabled:E}},t.createElement(P,{"data-strapi-expanded":i,disabled:E,"aria-disabled":E,expanded:i,hasRadius:!0,variant:d,error:_},n),_&&o&&t.createElement(y.x,{paddingTop:1},t.createElement(m.Z,{variant:"pi",textColor:"danger600"},_)))};D.defaultProps={disabled:!1,error:void 0,expanded:!1,hasErrorMessage:!0,id:void 0,toggle:void 0,size:"M",variant:"primary",onToggle:void 0},D.propTypes={children:a.node.isRequired,disabled:a.bool,error:a.string,expanded:a.bool,hasErrorMessage:a.bool,id:a.string,onToggle:a.func,size:a.oneOf(["S","M"]),toggle:a.func,variant:a.oneOf(["primary","secondary"])}},89966:function(B,M,e){"use strict";e.d(M,{v:function(){return D}});var t=e(32735),a=e(60216),u=e(91045),m=e(62345),O=Object.defineProperty,s=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,v=(n,i,r)=>i in n?O(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,p=(n,i)=>{for(var r in i||(i={}))y.call(i,r)&&v(n,r,i[r]);if(s)for(var r of s(i))g.call(i,r)&&v(n,r,i[r]);return n},P=(n,i)=>{var r={};for(var l in n)y.call(n,l)&&i.indexOf(l)<0&&(r[l]=n[l]);if(n!=null&&s)for(var l of s(n))i.indexOf(l)<0&&g.call(n,l)&&(r[l]=n[l]);return r};const D=n=>{var i=n,{children:r}=i,l=P(i,["children"]);const{expanded:d,id:E}=(0,u.A)();if(!d)return null;const _=`accordion-content-${E}`,o=`accordion-label-${E}`,c=`accordion-desc-${E}`;return t.createElement(m.x,p({role:"region",id:_,"aria-labelledby":o,"aria-describedby":c},l),r)};D.propTypes={children:a.node.isRequired}},91045:function(B,M,e){"use strict";e.d(M,{A:function(){return u},S:function(){return a}});var t=e(32735);const a=(0,t.createContext)(),u=()=>(0,t.useContext)(a)},61762:function(B,M,e){"use strict";e.d(M,{B:function(){return b}});var t=e(32735),a=e(60216),u=e(16899),m=e(83292),O=e(7563),s=e(88860),y=e(83828),g=e(91045),v=e(36320),p=e(27677),P=e(99140);const D=({expanded:h,disabled:x,variant:C})=>{let T;return h?T="primary100":x?T="neutral150":C==="primary"?T="neutral0":T="neutral100",T};var n=e(98399),i=Object.defineProperty,r=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(h,x,C)=>x in h?i(h,x,{enumerable:!0,configurable:!0,writable:!0,value:C}):h[x]=C,_=(h,x)=>{for(var C in x||(x={}))l.call(x,C)&&E(h,C,x[C]);if(r)for(var C of r(x))d.call(x,C)&&E(h,C,x[C]);return h},o=(h,x)=>{var C={};for(var T in h)l.call(h,T)&&x.indexOf(T)<0&&(C[T]=h[T]);if(h!=null&&r)for(var T of r(h))x.indexOf(T)<0&&d.call(h,T)&&(C[T]=h[T]);return C};const c=(0,m.default)(O.A)`
|
|
24
|
-
text-align: left;
|
|
25
|
-
|
|
26
|
-
// necessary to make the ellipsis prop work on the title
|
|
27
|
-
> span {
|
|
28
|
-
max-width: 100%;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
svg {
|
|
32
|
-
width: ${14/16}rem;
|
|
33
|
-
height: ${14/16}rem;
|
|
34
|
-
|
|
35
|
-
path {
|
|
36
|
-
fill: ${({theme:h,expanded:x})=>x?h.colors.primary600:h.colors.neutral500};
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
`,f=(0,m.default)(v.k)`
|
|
40
|
-
min-height: ${({theme:h,size:x})=>h.sizes.accordions[x]};
|
|
41
|
-
border-radius: ${({theme:h,expanded:x})=>x?`${h.borderRadius} ${h.borderRadius} 0 0`:h.borderRadius};
|
|
42
|
-
|
|
43
|
-
&:hover {
|
|
44
|
-
svg {
|
|
45
|
-
path {
|
|
46
|
-
fill: ${({theme:h})=>h.colors.primary600};
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
`,b=h=>{var x=h,{title:C,description:T,as:I,togglePosition:K,action:$}=x,W=o(x,["title","description","as","togglePosition","action"]);const U=(0,t.useRef)(null),{onToggle:S,toggle:w,expanded:R,id:L,size:A,variant:G,disabled:j}=(0,g.A)(),J=`accordion-content-${L}`,Z=`accordion-label-${L}`,X=`accordion-desc-${L}`,F=A==="M"?6:4,z=A==="M"?F:F-2,Y=D({expanded:R,disabled:j,variant:G}),Q={as:I,fontWeight:A==="S"?"bold":void 0,id:Z,textColor:R?"primary600":"neutral700",ellipsis:!0,variant:A==="M"?"delta":void 0},k=R?"primary600":"neutral600",q=R?"primary200":"neutral200",N=A==="M"?`${32/16}rem`:`${24/16}rem`,ee=()=>{j||(w&&!S?(n.warn('Deprecation warning: Usage of "toggle" prop in Accordion component is deprecated. This is discouraged and will be removed in the next major release. Please use "onToggle" instead'),w()):S())},H=t.createElement(v.k,{justifyContent:"center",borderRadius:"50%",height:N,width:N,transform:R?"rotate(180deg)":void 0,"data-strapi-dropdown":!0,disabled:j,"aria-hidden":!0,as:"span",background:q,cursor:j?"not-allowed":"pointer",onClick:()=>{var V;return(V=U?.current)==null?void 0:V.click()},shrink:0},t.createElement(P.J,{as:u.default,width:A==="M"?`${11/16}rem`:`${8/16}rem`,color:R?"primary600":"neutral600"}));return t.createElement(f,{paddingBottom:z,paddingLeft:F,paddingRight:F,paddingTop:z,background:Y,expanded:R,size:A,justifyContent:"space-between",cursor:j?"not-allowed":""},t.createElement(p.K,{horizontal:!0,spacing:3,flex:1,maxWidth:"100%"},K==="left"&&H,t.createElement(c,_({ref:U,onClick:ee,"aria-disabled":j,"aria-expanded":R,"aria-controls":J,"aria-labelledby":Z,"data-strapi-accordion-toggle":!0,expanded:R,type:"button",flex:1,minWidth:0},W),t.createElement(t.Fragment,null,t.createElement(y.y,_({},Q),C),T&&t.createElement(s.Z,{as:"p",id:X,textColor:k},T))),K==="right"&&t.createElement(p.K,{horizontal:!0,spacing:3},H,$),K==="left"&&$))};b.defaultProps={action:void 0,as:"span",description:void 0,variant:"primary",togglePosition:"right"},b.propTypes={action:a.node,as:a.string,description:a.string,title:a.string.isRequired,togglePosition:a.oneOf(["right","left"]),variant:a.oneOf(["primary","secondary"])}},11299:function(B,M,e){"use strict";e.d(M,{$:function(){return d},O:function(){return _}});var t=e(32735),a=e(60216),u=e(83292),m=e(77277),O=e(88860),s=e(62345),y=e(36320),g=e(3685),v=Object.defineProperty,p=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,n=(o,c,f)=>c in o?v(o,c,{enumerable:!0,configurable:!0,writable:!0,value:f}):o[c]=f,i=(o,c)=>{for(var f in c||(c={}))P.call(c,f)&&n(o,f,c[f]);if(p)for(var f of p(c))D.call(c,f)&&n(o,f,c[f]);return o},r=(o,c)=>{var f={};for(var b in o)P.call(o,b)&&c.indexOf(b)<0&&(f[b]=o[b]);if(o!=null&&p)for(var b of p(o))c.indexOf(b)<0&&D.call(o,b)&&(f[b]=o[b]);return f};const l=(0,u.default)(y.k)`
|
|
51
|
-
svg {
|
|
52
|
-
height: ${10/16}rem;
|
|
53
|
-
width: ${10/16}rem;
|
|
54
|
-
path {
|
|
55
|
-
fill: ${({theme:o})=>o.colors.neutral500};
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
:last-of-type ${s.x} {
|
|
59
|
-
display: none;
|
|
60
|
-
}
|
|
61
|
-
:last-of-type ${O.Z} {
|
|
62
|
-
color: ${({theme:o})=>o.colors.neutral800};
|
|
63
|
-
font-weight: ${({theme:o})=>o.fontWeights.bold};
|
|
64
|
-
}
|
|
65
|
-
`,d=({children:o})=>t.createElement(l,{inline:!0,as:"li"},t.createElement(O.Z,{variant:"pi",textColor:"neutral600"},o),t.createElement(s.x,{"aria-hidden":!0,paddingLeft:3,paddingRight:3},t.createElement(m.default,null)));d.displayName="Crumb",d.propTypes={children:a.node.isRequired};const E=a.shape({type:a.oneOf([d])}),_=o=>{var c=o,{children:f,label:b}=c,h=r(c,["children","label"]);return t.createElement(y.k,i({},h),t.createElement(g.T,null,b),t.createElement("ol",{"aria-hidden":!0},f))};_.displayName="Breadcrumbs",_.propTypes={children:a.oneOfType([a.arrayOf(E),E]).isRequired,label:a.string.isRequired}},99223:function(B,M,e){"use strict";e.d(M,{Z:function(){return g}});var t=e(32735),a=e(60216),u=e(83292),m=e(62345),O=e(36320);const s=(0,u.default)(O.k)`
|
|
66
|
-
& > * + * {
|
|
67
|
-
margin-left: ${({theme:v})=>v.spaces[2]};
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
margin-left: ${({pullRight:v})=>v?"auto":void 0};
|
|
71
|
-
`,y=(0,u.default)(s)`
|
|
72
|
-
flex-shrink: 0;
|
|
73
|
-
`,g=({startActions:v,endActions:p})=>v||p?t.createElement(m.x,{paddingLeft:10,paddingRight:10},t.createElement(m.x,{paddingBottom:4},t.createElement(O.k,{justifyContent:"space-between",alignItems:"flex-start"},v&&t.createElement(s,{wrap:"wrap"},v),p&&t.createElement(y,{pullRight:!0},p)))):null;g.defaultProps={endActions:void 0,startActions:void 0},g.propTypes={endActions:a.node,startActions:a.node}},90700:function(B,M,e){"use strict";e.d(M,{m:function(){return i}});var t=e(32735),a=e(83292),u=e(60216),m=e(15335),O=Object.defineProperty,s=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,v=(r,l,d)=>l in r?O(r,l,{enumerable:!0,configurable:!0,writable:!0,value:d}):r[l]=d,p=(r,l)=>{for(var d in l||(l={}))y.call(l,d)&&v(r,d,l[d]);if(s)for(var d of s(l))g.call(l,d)&&v(r,d,l[d]);return r},P=(r,l)=>{var d={};for(var E in r)y.call(r,E)&&l.indexOf(E)<0&&(d[E]=r[E]);if(r!=null&&s)for(var E of s(r))l.indexOf(E)<0&&g.call(r,E)&&(d[E]=r[E]);return d};const D=`${232/16}rem`,n=(0,a.default)(m.r)`
|
|
74
|
-
width: ${D};
|
|
75
|
-
background: ${({theme:r})=>r.colors.neutral100};
|
|
76
|
-
position: sticky;
|
|
77
|
-
top: 0;
|
|
78
|
-
height: 100vh;
|
|
79
|
-
overflow-y: auto;
|
|
80
|
-
border-right: 1px solid ${({theme:r})=>r.colors.neutral200};
|
|
81
|
-
z-index: 1;
|
|
82
|
-
`,i=r=>{var l=r,{ariaLabel:d}=l,E=P(l,["ariaLabel"]);return t.createElement(n,p({"aria-label":d,as:"nav"},E))};i.propTypes={ariaLabel:u.string.isRequired}},8598:function(B,M,e){"use strict";e.d(M,{p:function(){return l}});var t=e(32735),a=e(60216),u=e(83292),m=e(6792),O=e(36320),s=e(88860),y=e(50563),g=e(62345),v=e(9026),p=e(61774),P=e(89252),D=e(59002);const n=d=>{const E=(0,t.useRef)();return(0,t.useEffect)(()=>{E.current=d}),E.current};var i=e(94486);const r=(0,u.default)(v.i)`
|
|
83
|
-
width: ${24/16}rem;
|
|
84
|
-
background-color: ${({theme:d})=>d.colors.neutral200};
|
|
85
|
-
`,l=({as:d,label:E,searchLabel:_,searchable:o,onChange:c,value:f,onClear:b,onSubmit:h,id:x})=>{const[C,T]=(0,t.useState)(!1),I=n(C),K=(0,D.M)("subnav-searchbar-clear",x),$=(0,t.useRef)(),W=(0,t.useRef)();(0,t.useEffect)(()=>{C&&$.current&&$.current.focus(),I&&!C&&W.current&&W.current.focus()},[C,I]);const U=()=>{T(L=>!L)},S=L=>{b(L),$.current.focus()},w=L=>{var A;((A=L.relatedTarget)==null?void 0:A.id)!==K&&T(!1)},R=L=>{L.key===i.y.ESCAPE&&T(!1)};return C?t.createElement(g.x,{paddingLeft:4,paddingTop:5,paddingBottom:2,paddingRight:4},t.createElement(P.U,null,t.createElement(p.w,{name:"searchbar",value:f,onChange:c,placeholder:"e.g: strapi-plugin-abcd",onKeyDown:R,ref:$,onBlur:w,onClear:S,onSubmit:h,clearLabel:"Clear",size:"S"},_)),t.createElement(g.x,{paddingLeft:2,paddingTop:4},t.createElement(r,null))):t.createElement(g.x,{paddingLeft:6,paddingTop:6,paddingBottom:2,paddingRight:4},t.createElement(O.k,{justifyContent:"space-between",alignItems:"flex-start"},t.createElement(s.Z,{variant:"beta",as:d},E),o&&t.createElement(y.h,{ref:W,onClick:U,label:_,icon:t.createElement(m.default,null)})),t.createElement(g.x,{paddingTop:4},t.createElement(r,null)))};l.defaultProps={as:"h2",searchable:!1,onChange(){},onClear(){},onSubmit(){},value:"",searchLabel:"",id:void 0},l.propTypes={as:a.string,id:a.string,label:a.string.isRequired,onChange:a.func,onClear:a.func,onSubmit:a.func,searchLabel:a.string,searchable:a.bool,value:a.string}},66618:function(B,M,e){"use strict";e.d(M,{E:function(){return _}});var t=e(32735),a=e(60216),u=e(83292),m=e(56243),O=e(62345),s=e(88860),y=e(36320),g=e(62499),v=Object.defineProperty,p=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,n=(o,c,f)=>c in o?v(o,c,{enumerable:!0,configurable:!0,writable:!0,value:f}):o[c]=f,i=(o,c)=>{for(var f in c||(c={}))P.call(c,f)&&n(o,f,c[f]);if(p)for(var f of p(c))D.call(c,f)&&n(o,f,c[f]);return o},r=(o,c)=>{var f={};for(var b in o)P.call(o,b)&&c.indexOf(b)<0&&(f[b]=o[b]);if(o!=null&&p)for(var b of p(o))c.indexOf(b)<0&&D.call(o,b)&&(f[b]=o[b]);return f};const l=(0,u.default)(O.x)`
|
|
86
|
-
display: flex;
|
|
87
|
-
align-items: center;
|
|
88
|
-
justify-content: space-between;
|
|
89
|
-
text-decoration: none;
|
|
90
|
-
color: ${({theme:o})=>o.colors.neutral800};
|
|
91
|
-
svg > * {
|
|
92
|
-
fill: ${({theme:o})=>o.colors.neutral600};
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&.active {
|
|
96
|
-
${({theme:o})=>`
|
|
97
|
-
background-color: ${o.colors.primary100};
|
|
98
|
-
border-right: 2px solid ${o.colors.primary600};
|
|
99
|
-
svg > * {
|
|
100
|
-
fill: ${o.colors.primary700};
|
|
101
|
-
}
|
|
102
|
-
${s.Z} {
|
|
103
|
-
color: ${o.colors.primary700};
|
|
104
|
-
font-weight: 500;
|
|
105
|
-
}
|
|
106
|
-
`}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&:focus-visible {
|
|
110
|
-
outline-offset: -2px;
|
|
111
|
-
}
|
|
112
|
-
`,d=(0,u.default)(m.default)`
|
|
113
|
-
width: ${12/16}rem;
|
|
114
|
-
height: ${4/16}rem;
|
|
115
|
-
* {
|
|
116
|
-
fill: ${({theme:o,$active:c})=>c?o.colors.primary600:o.colors.neutral600};
|
|
117
|
-
}
|
|
118
|
-
`,E=u.default.div`
|
|
119
|
-
svg {
|
|
120
|
-
height: ${12/16}rem;
|
|
121
|
-
width: ${12/16}rem;
|
|
122
|
-
}
|
|
123
|
-
`,_=t.forwardRef((o,c)=>{var f=o,{children:b,icon:h,withBullet:x,as:C,isSubSectionChild:T}=f,I=r(f,["children","icon","withBullet","as","isSubSectionChild"]);return t.createElement(l,i({as:C,icon:h,background:"neutral100",paddingLeft:T?9:7,paddingBottom:2,paddingTop:2,ref:c},I),t.createElement(y.k,null,h?t.createElement(E,null,h):t.createElement(d,null),t.createElement(O.x,{paddingLeft:2},t.createElement(s.Z,{as:"span"},b))),x&&t.createElement(O.x,{as:y.k,paddingRight:4},t.createElement(d,{$active:!0})))});_.displayName="SubNavLink",_.defaultProps={as:g.f,icon:null,isSubSectionChild:!1,withBullet:!1},_.propTypes={as:a.elementType,children:a.node.isRequired,icon:a.element,isSubSectionChild:a.bool,withBullet:a.bool}},79318:function(B,M,e){"use strict";e.d(M,{D:function(){return r}});var t=e(32735),a=e(60216),u=e(83292),m=e(62345),O=e(6518),s=e(27677),y=e(16899),g=e(88860),v=e(36320);const p=(0,u.default)(v.k)`
|
|
124
|
-
border: none;
|
|
125
|
-
padding: 0;
|
|
126
|
-
background: transparent;
|
|
127
|
-
`,P=u.default.div`
|
|
128
|
-
display: flex;
|
|
129
|
-
align-items: center;
|
|
130
|
-
transform: rotateX(${({rotated:l})=>l?"0deg":"180deg"});
|
|
131
|
-
`,D=({collapsable:l,label:d,onClick:E,ariaExpanded:_,ariaControls:o})=>l?t.createElement(p,{as:"button",onClick:E,"aria-expanded":_,"aria-controls":o,textAlign:"left"},t.createElement(m.x,{paddingRight:1},t.createElement(g.Z,{variant:"sigma",textColor:"neutral600"},d)),l&&t.createElement(P,{rotated:_},t.createElement(y.default,{"aria-hidden":!0}))):t.createElement(p,null,t.createElement(m.x,{paddingRight:1},t.createElement(g.Z,{variant:"sigma",textColor:"neutral600"},d)));D.defaultProps={ariaControls:null,ariaExpanded:null,collapsable:!1,onClick(){}},D.propTypes={ariaControls:a.string,ariaExpanded:a.bool,collapsable:a.bool,label:a.string.isRequired,onClick:a.func};var n=e(59002);const i=(0,u.default)(m.x)`
|
|
132
|
-
svg {
|
|
133
|
-
height: ${4/16}rem;
|
|
134
|
-
path {
|
|
135
|
-
fill: ${({theme:l})=>l.colors.neutral500};
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
`,r=({collapsable:l,label:d,badgeLabel:E,children:_,id:o})=>{const[c,f]=(0,t.useState)(!0),b=(0,n.M)("subnav-list",o),h=()=>{f(x=>!x)};return t.createElement(s.K,{spacing:1},t.createElement(i,{paddingLeft:6,paddingTop:2,paddingBottom:2,paddingRight:4},t.createElement(m.x,{position:"relative",paddingRight:E?6:0},t.createElement(D,{onClick:h,ariaExpanded:c,ariaControls:b,collapsable:l,label:d}),E&&t.createElement(O.C,{backgroundColor:"neutral150",textColor:"neutral600",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},E))),(!l||c)&&t.createElement("ol",{id:b},t.Children.map(_,(x,C)=>t.createElement("li",{key:C},x))))};r.defaultProps={badgeLabel:null,collapsable:!1,id:void 0},r.propTypes={badgeLabel:a.string,children:a.node.isRequired,collapsable:a.bool,id:a.string,label:a.string.isRequired}},77013:function(B,M,e){"use strict";e.d(M,{Z:function(){return D}});var t=e(32735),a=e(60216),u=e(27677),m=e(62345),O=Object.defineProperty,s=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,v=(n,i,r)=>i in n?O(n,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[i]=r,p=(n,i)=>{for(var r in i||(i={}))y.call(i,r)&&v(n,r,i[r]);if(s)for(var r of s(i))g.call(i,r)&&v(n,r,i[r]);return n},P=(n,i)=>{var r={};for(var l in n)y.call(n,l)&&i.indexOf(l)<0&&(r[l]=n[l]);if(n!=null&&s)for(var l of s(n))i.indexOf(l)<0&&g.call(n,l)&&(r[l]=n[l]);return r};const D=n=>{var i=n,{children:r}=i,l=P(i,["children"]);return t.createElement(m.x,{paddingTop:2,paddingBottom:4},t.createElement(u.K,p({as:"ol",spacing:2},l),t.Children.map(r,(d,E)=>t.createElement("li",{key:E},d))))};D.propTypes={children:a.node.isRequired}},29439:function(B,M,e){"use strict";e.d(M,{Z:function(){return g}});var t=e(32735),a=Object.defineProperty,u=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,s=(v,p,P)=>p in v?a(v,p,{enumerable:!0,configurable:!0,writable:!0,value:P}):v[p]=P,y=(v,p)=>{for(var P in p||(p={}))m.call(p,P)&&s(v,P,p[P]);if(u)for(var P of u(p))O.call(p,P)&&s(v,P,p[P]);return v};function g(v){return t.createElement("svg",y({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v),t.createElement("path",{d:"M24 13.3a.2.2 0 01-.2.2H5.74l8.239 8.239a.2.2 0 010 .282L12.14 23.86a.2.2 0 01-.282 0L.14 12.14a.2.2 0 010-.282L11.86.14a.2.2 0 01.282 0L13.98 1.98a.2.2 0 010 .282L5.74 10.5H23.8c.11 0 .2.09.2.2v2.6z",fill:"#212134"}))}}}]);
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[874],{11299:function(k,M,t){t.d(M,{$:function(){return _},O:function(){return I}});var e=t(32735),m=t(60216),n=t(83292),x=t(77277),h=t(88860),P=t(62345),T=t(36320),C=t(3685),j=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,v=(r,o,s)=>o in r?j(r,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[o]=s,y=(r,o)=>{for(var s in o||(o={}))A.call(o,s)&&v(r,s,o[s]);if(R)for(var s of R(o))L.call(o,s)&&v(r,s,o[s]);return r},g=(r,o)=>{var s={};for(var f in r)A.call(r,f)&&o.indexOf(f)<0&&(s[f]=r[f]);if(r!=null&&R)for(var f of R(r))o.indexOf(f)<0&&L.call(r,f)&&(s[f]=r[f]);return s};const O=(0,n.default)(T.k)`
|
|
2
|
-
svg {
|
|
3
|
-
height: ${10/16}rem;
|
|
4
|
-
width: ${10/16}rem;
|
|
5
|
-
path {
|
|
6
|
-
fill: ${({theme:r})=>r.colors.neutral500};
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
:last-of-type ${P.x} {
|
|
10
|
-
display: none;
|
|
11
|
-
}
|
|
12
|
-
:last-of-type ${h.Z} {
|
|
13
|
-
color: ${({theme:r})=>r.colors.neutral800};
|
|
14
|
-
font-weight: ${({theme:r})=>r.fontWeights.bold};
|
|
15
|
-
}
|
|
16
|
-
`,_=({children:r})=>e.createElement(O,{inline:!0,as:"li"},e.createElement(h.Z,{variant:"pi",textColor:"neutral600"},r),e.createElement(P.x,{"aria-hidden":!0,paddingLeft:3,paddingRight:3},e.createElement(x.default,null)));_.displayName="Crumb",_.propTypes={children:m.node.isRequired};const K=m.shape({type:m.oneOf([_])}),I=r=>{var o=r,{children:s,label:f}=o,l=g(o,["children","label"]);return e.createElement(T.k,y({},l),e.createElement(C.T,null,f),e.createElement("ol",{"aria-hidden":!0},s))};I.displayName="Breadcrumbs",I.propTypes={children:m.oneOfType([m.arrayOf(K),K]).isRequired,label:m.string.isRequired}},17e3:function(k,M,t){t.d(M,{D:function(){return x}});var e=t(32735),m=t(60216),n=t(62345);const x=({children:h})=>e.createElement(n.x,{paddingLeft:10,paddingRight:10},h);x.propTypes={children:m.node.isRequired}},28356:function(k,M,t){t.d(M,{T:function(){return o}});var e=t(32735),m=t(83292),n=t(60216),x=t(88860),h=t(62345),P=t(36320);const T=l=>{const c=(0,e.useRef)(null),[u,p]=(0,e.useState)(!0),b=([D])=>{p(D.isIntersecting)};return(0,e.useEffect)(()=>{const D=c.current,B=new IntersectionObserver(b,l);return D&&B.observe(c.current),()=>{D&&B.disconnect()}},[c,l]),[c,u]};var C=t(81002);const j=(l,c)=>{const u=(0,C.useCallbackRef)(c);(0,e.useLayoutEffect)(()=>{const p=new ResizeObserver(u);return Array.isArray(l)?l.forEach(b=>{b.current&&p.observe(b.current)}):l.current&&p.observe(l.current),()=>{p.disconnect()}},[l,u])};var R=Object.defineProperty,A=Object.defineProperties,L=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,O=(l,c,u)=>c in l?R(l,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):l[c]=u,_=(l,c)=>{for(var u in c||(c={}))y.call(c,u)&&O(l,u,c[u]);if(v)for(var u of v(c))g.call(c,u)&&O(l,u,c[u]);return l},K=(l,c)=>A(l,L(c)),I=(l,c)=>{var u={};for(var p in l)y.call(l,p)&&c.indexOf(p)<0&&(u[p]=l[p]);if(l!=null&&v)for(var p of v(l))c.indexOf(p)<0&&g.call(l,p)&&(u[p]=l[p]);return u};const r=()=>{const l=(0,e.useRef)(null),[c,u]=(0,e.useState)(null),[p,b]=T({root:null,rootMargin:"0px",threshold:0});return j(p,()=>{p.current&&u(p.current.getBoundingClientRect())}),(0,e.useEffect)(()=>{l.current&&u(l.current.getBoundingClientRect())},[l]),{containerRef:p,isVisible:b,baseHeaderLayoutRef:l,headerSize:c}},o=l=>{const{containerRef:c,isVisible:u,baseHeaderLayoutRef:p,headerSize:b}=r();return e.createElement(e.Fragment,null,e.createElement("div",{style:{height:b?.height},ref:c},u&&e.createElement(f,_({ref:p},l))),!u&&e.createElement(f,K(_({},l),{sticky:!0,width:b?.width})))};o.displayName="HeaderLayout";const s=(0,m.default)(h.x)`
|
|
17
|
-
position: fixed;
|
|
18
|
-
top: 0;
|
|
19
|
-
right: 0;
|
|
20
|
-
width: ${l=>l.width}px;
|
|
21
|
-
z-index: 4;
|
|
22
|
-
box-shadow: ${({theme:l})=>l.shadows.tableShadow};
|
|
23
|
-
`,f=e.forwardRef((l,c)=>{var u=l,{navigationAction:p,primaryAction:b,secondaryAction:D,subtitle:B,title:U,sticky:z,width:Q}=u,$=I(u,["navigationAction","primaryAction","secondaryAction","subtitle","title","sticky","width"]);const S=typeof B=="string";return z?e.createElement(s,{paddingLeft:6,paddingRight:6,paddingTop:3,paddingBottom:3,background:"neutral0",width:Q,"data-strapi-header-sticky":!0},e.createElement(P.k,{justifyContent:"space-between"},e.createElement(P.k,null,p&&e.createElement(h.x,{paddingRight:3},p),e.createElement(h.x,null,e.createElement(x.Z,_({variant:"beta",as:"h1"},$),U),S?e.createElement(x.Z,{variant:"pi",textColor:"neutral600"},B):B),D?e.createElement(h.x,{paddingLeft:4},D):null),e.createElement(P.k,null,b?e.createElement(h.x,{paddingLeft:2},b):void 0))):e.createElement(h.x,{ref:c,paddingLeft:10,paddingRight:10,paddingBottom:8,paddingTop:p?6:8,background:"neutral100","data-strapi-header":!0},p?e.createElement(h.x,{paddingBottom:2},p):null,e.createElement(P.k,{justifyContent:"space-between"},e.createElement(P.k,null,e.createElement(x.Z,_({as:"h1",variant:"alpha"},$),U),D?e.createElement(h.x,{paddingLeft:4},D):null),b),S?e.createElement(x.Z,{variant:"epsilon",textColor:"neutral600",as:"p"},B):B)});f.displayName="BaseHeaderLayout",f.defaultProps={navigationAction:void 0,primaryAction:void 0,secondaryAction:void 0,subtitle:void 0,sticky:!1,width:void 0},f.propTypes={navigationAction:n.node,primaryAction:n.node,secondaryAction:n.node,sticky:n.bool,subtitle:n.oneOfType([n.string,n.node]),title:n.string.isRequired,width:n.number},o.defaultProps={navigationAction:void 0,primaryAction:void 0,secondaryAction:void 0,subtitle:void 0},o.propTypes={navigationAction:n.node,primaryAction:n.node,secondaryAction:n.node,subtitle:n.oneOfType([n.string,n.node]),title:n.string.isRequired}},96709:function(k,M,t){t.d(M,{A:function(){return T}});var e=t(32735),m=t(60216),n=t(83292),x=t(62345);const h=(0,n.default)(x.x)`
|
|
24
|
-
display: grid;
|
|
25
|
-
grid-template-columns: ${({hasSideNav:C})=>C?"auto 1fr":"1fr"};
|
|
26
|
-
`,P=(0,n.default)(x.x)`
|
|
27
|
-
overflow-x: hidden;
|
|
28
|
-
`,T=({sideNav:C,children:j})=>e.createElement(h,{hasSideNav:Boolean(C)},C,e.createElement(P,{paddingBottom:10},j));T.defaultProps={sideNav:void 0},T.propTypes={children:m.node.isRequired,sideNav:m.node}},27649:function(k,M,t){t.d(M,{o:function(){return L}});var e=t(32735),m=t(60216),n=t(83292),x=Object.defineProperty,h=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,C=(v,y,g)=>y in v?x(v,y,{enumerable:!0,configurable:!0,writable:!0,value:g}):v[y]=g,j=(v,y)=>{for(var g in y||(y={}))P.call(y,g)&&C(v,g,y[g]);if(h)for(var g of h(y))T.call(y,g)&&C(v,g,y[g]);return v},R=(v,y)=>{var g={};for(var O in v)P.call(v,O)&&y.indexOf(O)<0&&(g[O]=v[O]);if(v!=null&&h)for(var O of h(v))y.indexOf(O)<0&&T.call(v,O)&&(g[O]=v[O]);return g};const A=n.default.main`
|
|
29
|
-
// To prevent global outline on focus visible to force an outline when Main is focused
|
|
30
|
-
&:focus-visible {
|
|
31
|
-
outline: none;
|
|
32
|
-
}
|
|
33
|
-
`,L=v=>{var y=v,{labelledBy:g}=y,O=R(y,["labelledBy"]);const _=g||"main-content-title";return e.createElement(A,j({"aria-labelledby":_,id:"main-content",tabIndex:-1},O))};L.defaultProps={labelledBy:void 0},L.propTypes={labelledBy:m.string}},7563:function(k,M,t){t.d(M,{A:function(){return I}});var e=t(32735),m=t(60216),n=t(83292),x=t(27169),h=t(62345),P=t(88860),T=t(36320),C=t(30350),j=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,v=(r,o,s)=>o in r?j(r,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[o]=s,y=(r,o)=>{for(var s in o||(o={}))A.call(o,s)&&v(r,s,o[s]);if(R)for(var s of R(o))L.call(o,s)&&v(r,s,o[s]);return r},g=(r,o)=>{var s={};for(var f in r)A.call(r,f)&&o.indexOf(f)<0&&(s[f]=r[f]);if(r!=null&&R)for(var f of R(r))o.indexOf(f)<0&&L.call(r,f)&&(s[f]=r[f]);return s};const O=n.keyframes`
|
|
34
|
-
from {
|
|
35
|
-
transform: rotate(0deg);
|
|
36
|
-
}
|
|
37
|
-
to {
|
|
38
|
-
transform: rotate(359deg);
|
|
39
|
-
}
|
|
40
|
-
`,_=n.default.div`
|
|
41
|
-
animation: ${O} 2s infinite linear;
|
|
42
|
-
will-change: transform;
|
|
43
|
-
`,K=(0,n.default)(T.k)`
|
|
44
|
-
background: transparent;
|
|
45
|
-
border: none;
|
|
46
|
-
|
|
47
|
-
&[aria-disabled='true'] {
|
|
48
|
-
pointer-events: none;
|
|
49
|
-
svg path {
|
|
50
|
-
fill: ${({theme:r})=>r.colors.neutral600};
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
svg {
|
|
55
|
-
display: flex;
|
|
56
|
-
font-size: ${10/16}rem;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
svg path {
|
|
60
|
-
fill: ${({theme:r})=>r.colors.primary600};
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
${C.BF}
|
|
64
|
-
`,I=e.forwardRef((r,o)=>{var s=r,{children:f,startIcon:l,endIcon:c,onClick:u,disabled:p,loading:b}=s,D=g(s,["children","startIcon","endIcon","onClick","disabled","loading"]);const B=u&&!p?u:void 0,U=p||b;return e.createElement(K,y({ref:o,"aria-disabled":U,onClick:B,as:"button",type:"button"},D),(l||b)&&e.createElement(h.x,{as:"span",paddingRight:2,"aria-hidden":!0},b?e.createElement(_,null,e.createElement(x.default,null)):l),e.createElement(P.Z,{variant:"pi",textColor:U?"neutral600":"primary600"},f),c&&e.createElement(h.x,{as:"span",paddingLeft:2,"aria-hidden":!0},c))});I.displayName="TextButton",I.defaultProps={disabled:!1,startIcon:void 0,endIcon:void 0,loading:!1,onClick:void 0},I.propTypes={children:m.node.isRequired,disabled:m.bool,endIcon:m.element,loading:m.bool,onClick:m.func,startIcon:m.element}},9139:function(k,M,t){t.d(M,{s:function(){return H}});var e=t(32735),m=t(83292),n=t(60216),x=t(78542),h=t(59002),P=t(87107),T=t(76437),C=t(67014),j=t(47851),R=t(27677),A=t(36320),L=t(7563),v=t(30350),y=t(88860),g=t(3685),O=t(62345),_=t(76144),K=Object.defineProperty,I=Object.defineProperties,r=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(a,i,d)=>i in a?K(a,i,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[i]=d,c=(a,i)=>{for(var d in i||(i={}))s.call(i,d)&&l(a,d,i[d]);if(o)for(var d of o(i))f.call(i,d)&&l(a,d,i[d]);return a},u=(a,i)=>I(a,r(i)),p=(a,i)=>{var d={};for(var E in a)s.call(a,E)&&i.indexOf(E)<0&&(d[E]=a[E]);if(a!=null&&o)for(var E of o(a))i.indexOf(E)<0&&f.call(a,E)&&(d[E]=a[E]);return d};const b=m.default.label`
|
|
65
|
-
position: relative;
|
|
66
|
-
display: inline-block;
|
|
67
|
-
z-index: 0;
|
|
68
|
-
width: 100%;
|
|
69
|
-
`,D=(0,m.default)(O.x)`
|
|
70
|
-
cursor: ${({disabled:a})=>a?"not-allowed":void 0};
|
|
71
|
-
// Masks the background of each value
|
|
72
|
-
overflow: hidden;
|
|
73
|
-
flex-wrap: wrap;
|
|
74
|
-
|
|
75
|
-
${(0,v.k3)()}
|
|
76
|
-
`,B=(0,m.default)(A.k).attrs({hasRadius:!0})`
|
|
77
|
-
background-color: ${({theme:a,checked:i,disabled:d})=>i?d?a.colors.neutral200:a.colors.neutral0:"transparent"};
|
|
78
|
-
border: 1px solid
|
|
79
|
-
${({theme:a,checked:i,disabled:d})=>i&&i!==null?d?a.colors.neutral300:a.colors.neutral200:d?a.colors.neutral150:a.colors.neutral100};
|
|
80
|
-
position: relative;
|
|
81
|
-
user-select: none;
|
|
82
|
-
z-index: 2;
|
|
83
|
-
flex: 1 1 50%;
|
|
84
|
-
/**
|
|
85
|
-
We declare the defined value because we want the height of the input when
|
|
86
|
-
the values are in a row to be 40px. But defining a height on the label
|
|
87
|
-
would break the input when it wraps.
|
|
88
|
-
*/
|
|
89
|
-
padding-top: ${({size:a})=>`${a==="S"?"2px":"6px"}`};
|
|
90
|
-
padding-bottom: ${({size:a})=>`${a==="S"?"2px":"6px"}`};
|
|
91
|
-
`,U=m.default.input`
|
|
92
|
-
height: 100%;
|
|
93
|
-
left: 0;
|
|
94
|
-
opacity: 0;
|
|
95
|
-
position: absolute;
|
|
96
|
-
top: 0;
|
|
97
|
-
z-index: 1;
|
|
98
|
-
width: 100%;
|
|
99
|
-
`,z=e.forwardRef((a,i)=>{var d=a,{size:E,onLabel:G,offLabel:X,children:N,checked:W,disabled:w,onChange:Y}=d,q=p(d,["size","onLabel","offLabel","children","checked","disabled","onChange"]);const{name:Z,required:V}=(0,_.U)(),F="neutral600";let ee=!W&&W!==null?"danger700":F,J=W?"primary600":F;const de=te=>{w||Y(te)};return e.createElement(b,null,e.createElement(g.T,null,N),e.createElement(D,{hasRadius:!0,disabled:w,padding:1,display:"flex",background:w?"neutral150":"neutral100",borderStyle:"solid",borderWidth:"1px",borderColor:"neutral200"},e.createElement(B,{size:E,paddingLeft:3,paddingRight:3,justifyContent:"center",alignItems:"center","aria-hidden":!0,checked:W===null?!1:!W,disabled:w},e.createElement(y.Z,{variant:"pi",fontWeight:"bold",textTransform:"uppercase",textColor:w?"neutral700":ee},X)),e.createElement(B,{size:E,paddingLeft:3,paddingRight:3,justifyContent:"center",alignItems:"center","aria-hidden":!0,checked:W===null?!1:W,disabled:w},e.createElement(y.Z,{variant:"pi",fontWeight:"bold",textTransform:"uppercase",textColor:w?"neutral700":J},G)),e.createElement(U,u(c({type:"checkbox","aria-disabled":w,onChange:te=>de(te),name:Z,ref:i,"aria-required":V},q),{checked:!(W===null||!W)}))))});z.displayName="ToggleCheckbox",z.defaultProps={disabled:!1,checked:!1,onChange:void 0,size:"M"},z.propTypes={checked:n.bool,children:n.string.isRequired,disabled:n.bool,offLabel:n.string.isRequired,onChange:n.func,onLabel:n.string.isRequired,size:n.oneOf(Object.keys(x.J.input))};var Q=Object.defineProperty,$=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(a,i,d)=>i in a?Q(a,i,{enumerable:!0,configurable:!0,writable:!0,value:d}):a[i]=d,ae=(a,i)=>{for(var d in i||(i={}))S.call(i,d)&&re(a,d,i[d]);if($)for(var d of $(i))ne.call(i,d)&&re(a,d,i[d]);return a},le=(a,i)=>{var d={};for(var E in a)S.call(a,E)&&i.indexOf(E)<0&&(d[E]=a[E]);if(a!=null&&$)for(var E of $(a))i.indexOf(E)<0&&ne.call(a,E)&&(d[E]=a[E]);return d};const oe=(0,m.default)(P.g)`
|
|
100
|
-
max-width: 320px;
|
|
101
|
-
`,ie=(0,m.default)(L.A)`
|
|
102
|
-
align-self: flex-end;
|
|
103
|
-
margin-left: auto;
|
|
104
|
-
`,H=a=>{var i=a,{disabled:d,size:E,error:G,hint:X,label:N,name:W,labelAction:w,required:Y,id:q,onClear:Z,clearLabel:V,checked:F}=i,ee=le(i,["disabled","size","error","hint","label","name","labelAction","required","id","onClear","clearLabel","checked"]);const J=(0,h.M)("toggleinput",q);return e.createElement(oe,{name:W,hint:X,error:G,id:J,required:Y},e.createElement(R.K,{spacing:1},e.createElement(A.k,null,e.createElement(T.Q,{action:w},N),V&&Z&&F!==null&&!d&&e.createElement(ie,{onClick:Z},V)),e.createElement(z,ae({id:J,size:E,checked:F,disabled:d},ee),N),e.createElement(C.J,null),e.createElement(j.c,null)))};H.displayName="ToggleInput",H.defaultProps={checked:!1,clearLabel:void 0,disabled:!1,error:void 0,hint:void 0,id:void 0,label:"",labelAction:void 0,name:"",onClear:void 0,required:!1,size:"M"},H.propTypes={checked:n.bool,clearLabel:n.string,disabled:n.bool,error:n.string,hint:n.oneOfType([n.string,n.node,n.arrayOf(n.node)]),id:n.string,label:n.string,labelAction:n.node,name:n.string,onClear:n.func,required:n.bool,size:n.oneOf(Object.keys(x.J.input))}}}]);
|