@strapi/admin 4.4.0-alpha.0 → 4.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/src/StrapiApp.js +12 -4
- package/admin/src/components/Providers/index.js +10 -14
- package/admin/src/content-manager/components/DynamicTable/CellContent/RelationSingle/index.js +1 -1
- package/admin/src/content-manager/components/FieldTypeIcon/index.js +1 -31
- package/admin/src/content-manager/components/Inputs/index.js +10 -30
- package/admin/src/content-manager/components/SelectMany/index.js +3 -0
- package/admin/src/content-manager/components/SelectOne/SingleValue.js +2 -2
- package/admin/src/content-manager/components/SelectOne/index.js +3 -0
- package/admin/src/content-manager/components/SelectWrapper/Option.js +2 -2
- package/admin/src/content-manager/components/SelectWrapper/index.js +6 -0
- package/admin/src/content-manager/pages/EditSettingsView/components/FormModal.js +2 -7
- package/admin/src/content-manager/pages/EditSettingsView/index.js +1 -2
- package/admin/src/content-manager/pages/EditView/index.js +84 -91
- package/admin/src/content-manager/pages/ListSettingsView/index.js +1 -1
- package/admin/src/contexts/ApiTokenPermissions/index.js +24 -0
- package/admin/src/core/apis/index.js +0 -1
- package/admin/src/hooks/index.js +1 -0
- package/admin/src/hooks/useRegenerate/index.js +34 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/ActionBoundRoutes/index.js +56 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/BoundRoute/getMethodColor.js +41 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/BoundRoute/index.js +72 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/CollapsableContentType/CheckBoxWrapper.js +30 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/CollapsableContentType/index.js +150 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/ContenTypesSection/index.js +37 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/Permissions/index.js +40 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/Regenerate/index.js +68 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/index.js +452 -180
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/init.js +13 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/reducer.js +55 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/utils/getDateOfExpiration.js +16 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/utils/index.js +5 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/utils/schema.js +2 -1
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/utils/transformPermissionsData.js +36 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/DynamicTable/DefaultButton/index.js +63 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/DynamicTable/DeleteButton/index.js +1 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/DynamicTable/ReadButton/index.js +19 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/DynamicTable/UpdateButton/index.js +3 -36
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/DynamicTable/index.js +13 -11
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/index.js +4 -3
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/utils/tableHeaders.js +8 -8
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ProtectedEditView/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Roles/ListPage/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/EventInput/index.js +10 -10
- package/admin/src/pages/SettingsPage/pages/Webhooks/ListView/index.js +1 -1
- package/admin/src/permissions/defaultPermissions.js +2 -6
- package/admin/src/translations/en.json +18 -0
- package/admin/src/translations/es.json +1 -1
- package/admin/src/translations/fr.json +33 -0
- package/build/1669.d1b29c28.chunk.js +1 -0
- package/build/{1856.d3da2fcd.chunk.js → 1856.47226450.chunk.js} +6 -6
- package/build/{2077.b25a0b57.chunk.js → 2077.61cebc93.chunk.js} +4 -4
- package/build/{2912.da8a70aa.chunk.js → 2912.a015078a.chunk.js} +10 -10
- package/build/4235.982b5799.chunk.js +30 -0
- package/build/{4715.3787be19.chunk.js → 4715.3f6cac0a.chunk.js} +30 -30
- package/build/{4800.d3ebc81d.chunk.js → 4800.d09f1225.chunk.js} +1 -1
- package/build/{4982.a4e36c9a.chunk.js → 4982.c6f88c5d.chunk.js} +8 -8
- package/build/611.a91aff91.chunk.js +158 -0
- package/build/7379.d246dd38.chunk.js +1 -0
- package/build/{7841.922b96eb.chunk.js → 7841.91f793dc.chunk.js} +9 -9
- package/build/{7866.22e3c9f8.chunk.js → 7866.c793a31d.chunk.js} +23 -23
- package/build/{8380.ab3939f3.chunk.js → 8380.8789ff76.chunk.js} +8 -8
- package/build/{8549.0e30f86d.chunk.js → 8549.133c4473.chunk.js} +5 -5
- package/build/{8773.4e36117f.chunk.js → 8773.eccaa5f3.chunk.js} +9 -9
- package/build/{9066.2847fdff.chunk.js → 9066.08049eb1.chunk.js} +4 -4
- package/build/{9166.280c7521.chunk.js → 9166.037339e0.chunk.js} +2 -2
- package/build/{9420.ee1ccff7.chunk.js → 9420.43a86e7c.chunk.js} +30 -30
- package/build/{Admin-authenticatedApp.aaa66872.chunk.js → Admin-authenticatedApp.3a31a087.chunk.js} +3 -3
- package/build/{Admin_homePage.118926e0.chunk.js → Admin_homePage.6d5e3236.chunk.js} +1 -1
- package/build/{Admin_marketplace.2d181ad7.chunk.js → Admin_marketplace.82c0570b.chunk.js} +1 -1
- package/build/{Admin_profilePage.8617313a.chunk.js → Admin_profilePage.83991a6c.chunk.js} +1 -1
- package/build/{Admin_settingsPage.e58753c8.chunk.js → Admin_settingsPage.fc9c607a.chunk.js} +16 -16
- package/build/admin-app.41b6472c.chunk.js +112 -0
- package/build/admin-edit-roles-page.4dd6bcb9.chunk.js +1 -0
- package/build/{admin-users.1d0aa7a0.chunk.js → admin-users.dccd5f4c.chunk.js} +2 -2
- package/build/api-tokens-create-page.29cc87b6.chunk.js +1 -0
- package/build/api-tokens-edit-page.c294a88f.chunk.js +1 -0
- package/build/api-tokens-list-page.bb36535f.chunk.js +16 -0
- package/build/content-manager.fb5ee865.chunk.js +1178 -0
- package/build/content-type-builder-list-view.8cc534e0.chunk.js +194 -0
- package/build/content-type-builder-translation-en-json.201bfb78.chunk.js +1 -0
- package/build/content-type-builder.42cecba9.chunk.js +142 -0
- package/build/{email-settings-page.818761d5.chunk.js → email-settings-page.64037147.chunk.js} +5 -5
- package/build/en-json.a9918c93.chunk.js +1 -0
- package/build/{es-json.bb1fc425.chunk.js → es-json.3a9c7c09.chunk.js} +1 -1
- package/build/fr-json.4ed1fc2c.chunk.js +1 -0
- package/build/{i18n-settings-page.bf1304b0.chunk.js → i18n-settings-page.0b73785d.chunk.js} +5 -5
- package/build/index.html +1 -1
- package/build/{main.7db3414f.js → main.cdfda31e.js} +1235 -1235
- package/build/{runtime~main.c1c5510b.js → runtime~main.fa8f8898.js} +1 -1
- package/build/sso-settings-page.9ceb0140.chunk.js +1 -0
- package/build/{upload-settings.5dfe0fe2.chunk.js → upload-settings.80ff0974.chunk.js} +7 -7
- package/build/upload-translation-ca-json.db8ed7ba.chunk.js +1 -0
- package/build/{users-advanced-settings-page.f11c8af4.chunk.js → users-advanced-settings-page.a02f4806.chunk.js} +5 -5
- package/build/{users-roles-settings-page.cafb4fe5.chunk.js → users-roles-settings-page.b33ec5e5.chunk.js} +1 -1
- package/build/{webhook-edit-page.9aba79b2.chunk.js → webhook-edit-page.9e46fc3f.chunk.js} +3 -3
- package/build/{webhook-list-page.912becb8.chunk.js → webhook-list-page.2775a683.chunk.js} +5 -5
- package/ee/admin/pages/SettingsPage/pages/Roles/ListPage/index.js +1 -1
- package/package.json +14 -13
- package/scripts/build.js +2 -4
- package/server/bootstrap.js +19 -1
- package/server/config/admin-actions.js +20 -0
- package/server/content-types/api-token-permission.js +36 -0
- package/server/content-types/api-token.js +25 -1
- package/server/content-types/index.js +1 -0
- package/server/controllers/api-token.js +24 -1
- package/server/controllers/content-api.js +15 -0
- package/server/controllers/index.js +1 -0
- package/server/routes/api-tokens.js +11 -0
- package/server/routes/content-api.js +20 -0
- package/server/routes/index.js +2 -0
- package/server/services/api-token.js +310 -29
- package/server/services/constants.js +10 -0
- package/server/services/permission/engine.js +36 -226
- package/server/services/permission/permissions-manager/query-builers.js +3 -2
- package/server/services/permission/queries.js +1 -1
- package/server/services/permission.js +4 -1
- package/server/strategies/admin.js +7 -1
- package/server/strategies/api-token.js +71 -11
- package/server/validation/api-tokens.js +12 -2
- package/server/validation/common-functions/check-fields-are-correctly-nested.js +1 -1
- package/admin/src/core/apis/CustomFields.js +0 -80
- package/build/1669.4ce92b2f.chunk.js +0 -1
- package/build/524.2437fb56.chunk.js +0 -644
- package/build/admin-app.1f9e13f8.chunk.js +0 -112
- package/build/admin-edit-roles-page.554ba3fa.chunk.js +0 -1
- package/build/api-tokens-create-page.b4a9987d.chunk.js +0 -1
- package/build/api-tokens-edit-page.6f5b4e26.chunk.js +0 -1
- package/build/api-tokens-list-page.06938769.chunk.js +0 -15
- package/build/content-manager.86f7594d.chunk.js +0 -1178
- package/build/content-type-builder-list-view.9b874fd4.chunk.js +0 -194
- package/build/content-type-builder-translation-en-json.f985c9c4.chunk.js +0 -1
- package/build/content-type-builder.47ab07ad.chunk.js +0 -145
- package/build/en-json.1bf20384.chunk.js +0 -1
- package/build/fr-json.a3cf2e0b.chunk.js +0 -1
- package/build/sso-settings-page.445184e0.chunk.js +0 -1
- package/build/upload-translation-ca-json.00dc1f33.chunk.js +0 -1
- package/server/services/permission/engine-hooks.js +0 -82
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[9066],{16540:(g,O,d)=>{"use strict";g.exports=d(67468)},67468:function(g,O,d){(function(m,h){g.exports=h(d(32735),d(19615))})(this,function(m,h){return function(n){var i={};function e(o){if(i[o])return i[o].exports;var t=i[o]={i:o,l:!1,exports:{}};return n[o].call(t.exports,t,t.exports,e),t.l=!0,t.exports}return e.m=n,e.c=i,e.d=function(o,t,s){e.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:s})},e.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},e.t=function(o,t){if(1&t&&(o=e(o)),8&t||4&t&&typeof o=="object"&&o&&o.__esModule)return o;var s=Object.create(null);if(e.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:o}),2&t&&typeof o!="string")for(var u in o)e.d(s,u,function(f){return o[f]}.bind(null,u));return s},e.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return e.d(t,"a",t),t},e.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},e.p="",e(e.s=110)}({0:function(n,i,e){n.exports=e(19)()},1:function(n,i){n.exports=m},10:function(n,i,e){var o=e(25),t=e(26),s=e(22),u=e(27);n.exports=function(f,p){return o(f)||t(f,p)||s(f,p)||u()},n.exports.default=n.exports,n.exports.__esModule=!0},110:function(n,i,e){"use strict";e.r(i),e.d(i,"Main",function(){return r}),e.d(i,"SkipToContent",function(){return P});var o,t=e(
|
|
1
|
+
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[9066],{16540:(g,O,d)=>{"use strict";g.exports=d(67468)},67468:function(g,O,d){(function(m,h){g.exports=h(d(32735),d(19615))})(this,function(m,h){return function(n){var i={};function e(o){if(i[o])return i[o].exports;var t=i[o]={i:o,l:!1,exports:{}};return n[o].call(t.exports,t,t.exports,e),t.l=!0,t.exports}return e.m=n,e.c=i,e.d=function(o,t,s){e.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:s})},e.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},e.t=function(o,t){if(1&t&&(o=e(o)),8&t||4&t&&typeof o=="object"&&o&&o.__esModule)return o;var s=Object.create(null);if(e.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:o}),2&t&&typeof o!="string")for(var u in o)e.d(s,u,function(f){return o[f]}.bind(null,u));return s},e.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return e.d(t,"a",t),t},e.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},e.p="",e(e.s=110)}({0:function(n,i,e){n.exports=e(19)()},1:function(n,i){n.exports=m},10:function(n,i,e){var o=e(25),t=e(26),s=e(22),u=e(27);n.exports=function(f,p){return o(f)||t(f,p)||s(f,p)||u()},n.exports.default=n.exports,n.exports.__esModule=!0},110:function(n,i,e){"use strict";e.r(i),e.d(i,"Main",function(){return r}),e.d(i,"SkipToContent",function(){return P});var o,t=e(6),s=e.n(t),u=e(4),f=e.n(u),p=e(3),l=e.n(p),v=e(1),j=e.n(v),c=e(0),x=e.n(c),y=e(2),w=e.n(y),S=["labelledBy"],T=w.a.main(o||(o=l()([`
|
|
2
2
|
// To prevent global outline on focus visible to force an outline when Main is focused
|
|
3
3
|
&:focus-visible {
|
|
4
4
|
outline: none;
|
|
5
5
|
}
|
|
6
|
-
`]))),r=function(M){var k=M.labelledBy,B=f()(M,S),A=k||"main-content-title";return j.a.createElement(T,s()({"aria-labelledby":A,id:"main-content",tabIndex:-1},B))};r.defaultProps={labelledBy:void 0},r.propTypes={labelledBy:x.a.string};var a,b=e(
|
|
6
|
+
`]))),r=function(M){var k=M.labelledBy,B=f()(M,S),A=k||"main-content-title";return j.a.createElement(T,s()({"aria-labelledby":A,id:"main-content",tabIndex:-1},B))};r.defaultProps={labelledBy:void 0},r.propTypes={labelledBy:x.a.string};var a,b=e(5),_=w()(b.Box)(a||(a=l()([`
|
|
7
7
|
text-decoration: none;
|
|
8
8
|
position: absolute;
|
|
9
9
|
z-index: 9999;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
top: `,`;
|
|
16
16
|
}
|
|
17
17
|
`])),function(M){return M.theme.spaces[3]},function(M){return M.theme.spaces[3]}),P=function(M){var k=M.children;return j.a.createElement(_,{as:"a",href:"#main-content",background:"primary600",color:"neutral0",padding:3,hasRadius:!0},k)};P.propTypes={children:x.a.node.isRequired}},13:function(n,i){function e(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?(n.exports=e=function(t){return typeof t},n.exports.default=n.exports,n.exports.__esModule=!0):(n.exports=e=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n.exports.default=n.exports,n.exports.__esModule=!0),e(o)}n.exports=e,n.exports.default=n.exports,n.exports.__esModule=!0},19:function(n,i,e){"use strict";var o=e(20);function t(){}function s(){}s.resetWarningCache=t,n.exports=function(){function u(l,v,j,c,x,y){if(y!==o){var w=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw w.name="Invariant Violation",w}}function f(){return u}u.isRequired=u;var p={array:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:f,element:u,elementType:u,instanceOf:f,node:u,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:s,resetWarningCache:t};return p.PropTypes=p,p}},2:function(n,i){n.exports=h},20:function(n,i,e){"use strict";n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},21:function(n,i){n.exports=function(e,o){(o==null||o>e.length)&&(o=e.length);for(var t=0,s=new Array(o);t<o;t++)s[t]=e[t];return s},n.exports.default=n.exports,n.exports.__esModule=!0},22:function(n,i,e){var o=e(21);n.exports=function(t,s){if(t){if(typeof t=="string")return o(t,s);var u=Object.prototype.toString.call(t).slice(8,-1);return u==="Object"&&t.constructor&&(u=t.constructor.name),u==="Map"||u==="Set"?Array.from(t):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?o(t,s):void 0}},n.exports.default=n.exports,n.exports.__esModule=!0},24:function(n,i){n.exports=function(e,o){if(e==null)return{};var t,s,u={},f=Object.keys(e);for(s=0;s<f.length;s++)t=f[s],o.indexOf(t)>=0||(u[t]=e[t]);return u},n.exports.default=n.exports,n.exports.__esModule=!0},25:function(n,i){n.exports=function(e){if(Array.isArray(e))return e},n.exports.default=n.exports,n.exports.__esModule=!0},26:function(n,i){n.exports=function(e,o){var t=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var s,u,f=[],p=!0,l=!1;try{for(t=t.call(e);!(p=(s=t.next()).done)&&(f.push(s.value),!o||f.length!==o);p=!0);}catch(v){l=!0,u=v}finally{try{p||t.return==null||t.return()}finally{if(l)throw u}}return f}},n.exports.default=n.exports,n.exports.__esModule=!0},27:function(n,i){n.exports=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
18
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},n.exports.default=n.exports,n.exports.__esModule=!0},3:function(n,i){n.exports=function(e,o){return o||(o=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(o)}}))},n.exports.default=n.exports,n.exports.__esModule=!0},4:function(n,i,e){var o=e(24);n.exports=function(t,s){if(t==null)return{};var u,f,p=o(t,s);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(f=0;f<l.length;f++)u=l[f],s.indexOf(u)>=0||Object.prototype.propertyIsEnumerable.call(t,u)&&(p[u]=t[u])}return p},n.exports.default=n.exports,n.exports.__esModule=!0},5:function(n,i
|
|
18
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},n.exports.default=n.exports,n.exports.__esModule=!0},3:function(n,i){n.exports=function(e,o){return o||(o=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(o)}}))},n.exports.default=n.exports,n.exports.__esModule=!0},4:function(n,i,e){var o=e(24);n.exports=function(t,s){if(t==null)return{};var u,f,p=o(t,s);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(f=0;f<l.length;f++)u=l[f],s.indexOf(u)>=0||Object.prototype.propertyIsEnumerable.call(t,u)&&(p[u]=t[u])}return p},n.exports.default=n.exports,n.exports.__esModule=!0},5:function(n,i,e){"use strict";e.r(i),e.d(i,"Box",function(){return T});var o,t=e(3),s=e.n(t),u=e(2),f=e.n(u),p=e(7),l=e(1),v=e.n(l),j=e(0),c=e.n(j),x=function(r){return v.a.createElement("div",r)},y={background:void 0,borderColor:void 0,color:void 0,hiddenS:!1,hiddenXS:!1,padding:void 0,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,hasRadius:!1,shadow:void 0,children:null,shrink:void 0,grow:void 0,basis:void 0,flex:void 0,_hover:function(){}},w={_hover:c.a.func,background:c.a.string,basis:c.a.oneOfType([c.a.string,c.a.string]),borderColor:c.a.string,children:c.a.oneOfType([c.a.node,c.a.string]),color:c.a.string,flex:c.a.oneOfType([c.a.string,c.a.string]),grow:c.a.oneOfType([c.a.string,c.a.string]),hasRadius:c.a.bool,hiddenS:c.a.bool,hiddenXS:c.a.bool,padding:c.a.oneOfType([c.a.number,c.a.arrayOf(c.a.number)]),paddingBottom:c.a.oneOfType([c.a.number,c.a.arrayOf(c.a.number)]),paddingLeft:c.a.oneOfType([c.a.number,c.a.arrayOf(c.a.number)]),paddingRight:c.a.oneOfType([c.a.number,c.a.arrayOf(c.a.number)]),paddingTop:c.a.oneOfType([c.a.number,c.a.arrayOf(c.a.number)]),shadow:c.a.string,shrink:c.a.oneOfType([c.a.string,c.a.string])};x.defaultProps=y,x.propTypes=w;var S={color:!0},T=f.a.div.withConfig({shouldForwardProp:function(r,a){return!S[r]&&a(r)}})(o||(o=s()([`
|
|
19
19
|
// Font
|
|
20
20
|
font-size: `,`;
|
|
21
21
|
|
|
@@ -94,7 +94,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
94
94
|
|
|
95
95
|
// Cursor
|
|
96
96
|
cursor: `,`;
|
|
97
|
-
`])),function(r){var a=r.fontSize;return r.theme.fontSizes[a]||a},function(r){var a=r.theme,b=r.background;return a.colors[b]},function(r){var a=r.theme,b=r.color;return a.colors[b]},function(r){var a=r.theme,b=r.padding;return Object(p.a)("padding",b,a)},function(r){var a=r.theme,b=r.paddingTop;return Object(p.a)("padding-top",b,a)},function(r){var a=r.theme,b=r.paddingRight;return Object(p.a)("padding-right",b,a)},function(r){var a=r.theme,b=r.paddingBottom;return Object(p.a)("padding-bottom",b,a)},function(r){var a=r.theme,b=r.paddingLeft;return Object(p.a)("padding-left",b,a)},function(r){var a=r.theme,b=r.marginLeft;return Object(p.a)("margin-left",b,a)},function(r){var a=r.theme,b=r.marginRight;return Object(p.a)("margin-right",b,a)},function(r){var a=r.theme,b=r.marginTop;return Object(p.a)("margin-top",b,a)},function(r){var a=r.theme,b=r.marginBottom;return Object(p.a)("margin-bottom",b,a)},function(r){var a=r.theme;return r.hiddenS?"".concat(a.mediaQueries.tablet," { display: none; }"):void 0},function(r){var a=r.theme;return r.hiddenXS?"".concat(a.mediaQueries.mobile," { display: none; }"):void 0},function(r){var a=r.theme,b=r.hasRadius,_=r.borderRadius;return b?a.borderRadius:_},function(r){return r.borderStyle},function(r){return r.borderWidth},function(r){var a=r.borderColor;return r.theme.colors[a]},function(r){var a=r.theme,b=r.borderColor,_=r.borderStyle,P=r.borderWidth;if(b&&!_&&!P)return"1px solid ".concat(a.colors[b])},function(r){var a=r.theme,b=r.shadow;return a.shadows[b]},function(r){return r.pointerEvents},function(r){var a=r._hover,b=r.theme;return a?a(b):void 0},function(r){return r.display},function(r){return r.position},function(r){var a=r.left;return r.theme.spaces[a]||a},function(r){var a=r.right;return r.theme.spaces[a]||a},function(r){var a=r.top;return r.theme.spaces[a]||a},function(r){var a=r.bottom;return r.theme.spaces[a]||a},function(r){return r.zIndex},function(r){return r.overflow},function(r){return r.cursor},function(r){var a=r.width;return r.theme.spaces[a]||a},function(r){var a=r.maxWidth;return r.theme.spaces[a]||a},function(r){var a=r.minWidth;return r.theme.spaces[a]||a},function(r){var a=r.height;return r.theme.spaces[a]||a},function(r){var a=r.maxHeight;return r.theme.spaces[a]||a},function(r){var a=r.minHeight;return r.theme.spaces[a]||a},function(r){return r.transition},function(r){return r.transform},function(r){return r.animation},function(r){return r.shrink},function(r){return r.grow},function(r){return r.basis},function(r){return r.flex},function(r){return r.textAlign},function(r){return r.textTransform},function(r){return r.lineHeight},function(r){return r.cursor});T.defaultProps=y,T.propTypes=w},7:function(n,i,e){"use strict";var o=e(10),t=e.n(o),s=e(13),u=e.n(s);i.a=function(f,p,l){var v=p;if(Array.isArray(p)||u()(p)!=="object"||(v=[p==null?void 0:p.desktop,p==null?void 0:p.tablet,p==null?void 0:p.mobile]),v!==void 0){if(Array.isArray(v)){var j=v,c=t()(j,3),x=c[0],y=c[1],w=c[2],S="".concat(f,": ").concat(l.spaces[x],";");return y!==void 0&&(S+="".concat(l.mediaQueries.tablet,`{
|
|
97
|
+
`])),function(r){var a=r.fontSize;return r.theme.fontSizes[a]||a},function(r){var a=r.theme,b=r.background;return a.colors[b]},function(r){var a=r.theme,b=r.color;return a.colors[b]},function(r){var a=r.theme,b=r.padding;return Object(p.a)("padding",b,a)},function(r){var a=r.theme,b=r.paddingTop;return Object(p.a)("padding-top",b,a)},function(r){var a=r.theme,b=r.paddingRight;return Object(p.a)("padding-right",b,a)},function(r){var a=r.theme,b=r.paddingBottom;return Object(p.a)("padding-bottom",b,a)},function(r){var a=r.theme,b=r.paddingLeft;return Object(p.a)("padding-left",b,a)},function(r){var a=r.theme,b=r.marginLeft;return Object(p.a)("margin-left",b,a)},function(r){var a=r.theme,b=r.marginRight;return Object(p.a)("margin-right",b,a)},function(r){var a=r.theme,b=r.marginTop;return Object(p.a)("margin-top",b,a)},function(r){var a=r.theme,b=r.marginBottom;return Object(p.a)("margin-bottom",b,a)},function(r){var a=r.theme;return r.hiddenS?"".concat(a.mediaQueries.tablet," { display: none; }"):void 0},function(r){var a=r.theme;return r.hiddenXS?"".concat(a.mediaQueries.mobile," { display: none; }"):void 0},function(r){var a=r.theme,b=r.hasRadius,_=r.borderRadius;return b?a.borderRadius:_},function(r){return r.borderStyle},function(r){return r.borderWidth},function(r){var a=r.borderColor;return r.theme.colors[a]},function(r){var a=r.theme,b=r.borderColor,_=r.borderStyle,P=r.borderWidth;if(b&&!_&&!P)return"1px solid ".concat(a.colors[b])},function(r){var a=r.theme,b=r.shadow;return a.shadows[b]},function(r){return r.pointerEvents},function(r){var a=r._hover,b=r.theme;return a?a(b):void 0},function(r){return r.display},function(r){return r.position},function(r){var a=r.left;return r.theme.spaces[a]||a},function(r){var a=r.right;return r.theme.spaces[a]||a},function(r){var a=r.top;return r.theme.spaces[a]||a},function(r){var a=r.bottom;return r.theme.spaces[a]||a},function(r){return r.zIndex},function(r){return r.overflow},function(r){return r.cursor},function(r){var a=r.width;return r.theme.spaces[a]||a},function(r){var a=r.maxWidth;return r.theme.spaces[a]||a},function(r){var a=r.minWidth;return r.theme.spaces[a]||a},function(r){var a=r.height;return r.theme.spaces[a]||a},function(r){var a=r.maxHeight;return r.theme.spaces[a]||a},function(r){var a=r.minHeight;return r.theme.spaces[a]||a},function(r){return r.transition},function(r){return r.transform},function(r){return r.animation},function(r){return r.shrink},function(r){return r.grow},function(r){return r.basis},function(r){return r.flex},function(r){return r.textAlign},function(r){return r.textTransform},function(r){return r.lineHeight},function(r){return r.cursor});T.defaultProps=y,T.propTypes=w},6:function(n,i){function e(){return n.exports=e=Object.assign||function(o){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(o[u]=s[u])}return o},n.exports.default=n.exports,n.exports.__esModule=!0,e.apply(this,arguments)}n.exports=e,n.exports.default=n.exports,n.exports.__esModule=!0},7:function(n,i,e){"use strict";var o=e(10),t=e.n(o),s=e(13),u=e.n(s);i.a=function(f,p,l){var v=p;if(Array.isArray(p)||u()(p)!=="object"||(v=[p==null?void 0:p.desktop,p==null?void 0:p.tablet,p==null?void 0:p.mobile]),v!==void 0){if(Array.isArray(v)){var j=v,c=t()(j,3),x=c[0],y=c[1],w=c[2],S="".concat(f,": ").concat(l.spaces[x],";");return y!==void 0&&(S+="".concat(l.mediaQueries.tablet,`{
|
|
98
98
|
`).concat(f,": ").concat(l.spaces[y],`;
|
|
99
99
|
}`)),w!==void 0&&(S+="".concat(l.mediaQueries.mobile,`{
|
|
100
100
|
`).concat(f,": ").concat(l.spaces[w],`;
|
|
@@ -303,7 +303,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
303
303
|
span {
|
|
304
304
|
line-height: 0;
|
|
305
305
|
}
|
|
306
|
-
`]))),L1=function(y){var F=y.children;return o.a.createElement(O1,{borderRadius:"50%",width:"".concat(26,"px"),height:"".concat(26,"px"),background:"primary600",justifyContent:"center"},o.a.createElement(x.a,{fontWeight:"bold",textColor:"buttonNeutral0",fontSize:0,textTransform:"uppercase"},F))};L1.propTypes={children:M.a.
|
|
306
|
+
`]))),L1=function(y){var F=y.children;return o.a.createElement(O1,{borderRadius:"50%",width:"".concat(26,"px"),height:"".concat(26,"px"),background:"primary600",justifyContent:"center"},o.a.createElement(x.a,{fontWeight:"bold",textColor:"buttonNeutral0",fontSize:0,textTransform:"uppercase"},F))};L1.propTypes={children:M.a.node.isRequired},H1.defaultProps={preview:void 0},H1.propTypes={alt:M.a.string.isRequired,preview:M.a.oneOfType([M.a.string,M.a.bool]),src:M.a.string.isRequired},m()(D.a)(g1||(g1=V()([`
|
|
307
307
|
& > * + * {
|
|
308
308
|
margin-left: -`,`px;
|
|
309
309
|
}
|
|
@@ -337,5 +337,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
337
337
|
width: `,`rem;
|
|
338
338
|
height: `,`rem;
|
|
339
339
|
}
|
|
340
|
-
`])),function(y){return y.theme.colors.neutral0},function(y){return y.theme.colors.neutral150},function(y){return y.theme.borderRadius},13/16,function(y){var F=y.theme;return y.condensed?0:F.spaces[5]},function(y){return y.condensed?"translateX(50%)":void 0},1.125,25/16,6/16,9/16),S1=function(y){var F=y.children,q=d()(y,Z1),j=v();return o.a.createElement(G1,u()({as:"button",condensed:j},q),o.a.createElement(d1,{as:j?B1.a:F1.a,"aria-hidden":!0,color:"neutral600"}),o.a.createElement(k.a,null,F))};S1.propTypes={children:M.a.string.isRequired}}])})},70258:function(S,A,c){(function(z,C){S.exports=C(c(32735))})(this,function(z){return function(C){var h={};function t(r){if(h[r])return h[r].exports;var i=h[r]={i:r,l:!1,exports:{}};return C[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=C,t.c=h,t.d=function(r,i,e){t.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:e})},t.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,i){if(1&i&&(r=t(r)),8&i||4&i&&typeof r=="object"&&r&&r.__esModule)return r;var e=Object.create(null);if(t.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&i&&typeof r!="string")for(var f in r)t.d(e,f,function(a){return r[a]}.bind(null,f));return e},t.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(i,"a",i),i},t.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},t.p="",t(t.s=70)}({0:function(C,h){C.exports=z},70:function(C,h,t){"use strict";t.r(h);var r=t(0);function i(){return(i=Object.assign||function(e){for(var f=1;f<arguments.length;f++){var a=arguments[f];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}h.default=function(e){return r.createElement("svg",i({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.createElement("path",{d:"M11.987 23.036v-.964H1.876V1.876h10.111V0H0v24h11.987v-.964z",fill:"#212134"}),r.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"}))}}})})},82926:function(S,A,c){(function(z,C){S.exports=C(c(32735))})(this,function(z){return function(C){var h={};function t(r){if(h[r])return h[r].exports;var i=h[r]={i:r,l:!1,exports:{}};return C[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=C,t.c=h,t.d=function(r,i,e){t.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:e})},t.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,i){if(1&i&&(r=t(r)),8&i||4&i&&typeof r=="object"&&r&&r.__esModule)return r;var e=Object.create(null);if(t.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&i&&typeof r!="string")for(var f in r)t.d(e,f,function(a){return r[a]}.bind(null,f));return e},t.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(i,"a",i),i},t.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},t.p="",t(t.s=193)}({0:function(C,h){C.exports=z},193:function(C,h,t){"use strict";t.r(h);var r=t(0);function i(){return(i=Object.assign||function(e){for(var f=1;f<arguments.length;f++){var a=arguments[f];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}h.default=function(e){return r.createElement("svg",i({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.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"}))}}})})},93994:(S,A,c)=>{var z=c(33795);function C(h,t){for(var r=-1,i=t.length,e=Array(i),f=h==null;++r<i;)e[r]=f?void 0:z(h,t[r]);return e}S.exports=C},88311:(S,A,c)=>{var z=c(93994),C=c(83368),h=C(z);S.exports=h},65923:(S,A,c)=>{"use strict";const z=c(52138),C=Symbol("max"),h=Symbol("length"),t=Symbol("lengthCalculator"),r=Symbol("allowStale"),i=Symbol("maxAge"),e=Symbol("dispose"),f=Symbol("noDisposeOnSet"),a=Symbol("lruList"),n=Symbol("cache"),l=Symbol("updateAgeOnGet"),u=()=>1;class H{constructor(s){if(typeof s=="number"&&(s={max:s}),s||(s={}),s.max&&(typeof s.max!="number"||s.max<0))throw new TypeError("max must be a non-negative number");const M=this[C]=s.max||1/0,N=s.length||u;if(this[t]=typeof N!="function"?u:N,this[r]=s.stale||!1,s.maxAge&&typeof s.maxAge!="number")throw new TypeError("maxAge must be a number");this[i]=s.maxAge||0,this[e]=s.dispose,this[f]=s.noDisposeOnSet||!1,this[l]=s.updateAgeOnGet||!1,this.reset()}set max(s){if(typeof s!="number"||s<0)throw new TypeError("max must be a non-negative number");this[C]=s||1/0,V(this)}get max(){return this[C]}set allowStale(s){this[r]=!!s}get allowStale(){return this[r]}set maxAge(s){if(typeof s!="number")throw new TypeError("maxAge must be a non-negative number");this[i]=s,V(this)}get maxAge(){return this[i]}set lengthCalculator(s){typeof s!="function"&&(s=u),s!==this[t]&&(this[t]=s,this[h]=0,this[a].forEach(M=>{M.length=this[t](M.value,M.key),this[h]+=M.length})),V(this)}get lengthCalculator(){return this[t]}get length(){return this[h]}get itemCount(){return this[a].length}rforEach(s,M){M=M||this;for(let N=this[a].tail;N!==null;){const T=N.prev;p(this,s,N,M),N=T}}forEach(s,M){M=M||this;for(let N=this[a].head;N!==null;){const T=N.next;p(this,s,N,M),N=T}}keys(){return this[a].toArray().map(s=>s.key)}values(){return this[a].toArray().map(s=>s.value)}reset(){this[e]&&this[a]&&this[a].length&&this[a].forEach(s=>this[e](s.key,s.value)),this[n]=new Map,this[a]=new z,this[h]=0}dump(){return this[a].map(s=>b(this,s)?!1:{k:s.key,v:s.value,e:s.now+(s.maxAge||0)}).toArray().filter(s=>s)}dumpLru(){return this[a]}set(s,M,N){if(N=N||this[i],N&&typeof N!="number")throw new TypeError("maxAge must be a number");const T=N?Date.now():0,v=this[t](M,s);if(this[n].has(s)){if(v>this[C])return g(this,this[n].get(s)),!1;const w=this[n].get(s).value;return this[e]&&(this[f]||this[e](s,w.value)),w.now=T,w.maxAge=N,w.value=M,this[h]+=v-w.length,w.length=v,this.get(s),V(this),!0}const L=new o(s,M,v,T,N);return L.length>this[C]?(this[e]&&this[e](s,M),!1):(this[h]+=L.length,this[a].unshift(L),this[n].set(s,this[a].head),V(this),!0)}has(s){if(!this[n].has(s))return!1;const M=this[n].get(s).value;return!b(this,M)}get(s){return d(this,s,!0)}peek(s){return d(this,s,!1)}pop(){const s=this[a].tail;return s?(g(this,s),s.value):null}del(s){g(this,this[n].get(s))}load(s){this.reset();const M=Date.now();for(let N=s.length-1;N>=0;N--){const T=s[N],v=T.e||0;if(v===0)this.set(T.k,T.v);else{const L=v-M;L>0&&this.set(T.k,T.v,L)}}}prune(){this[n].forEach((s,M)=>d(this,M,!1))}}const d=(m,s,M)=>{const N=m[n].get(s);if(N){const T=N.value;if(b(m,T)){if(g(m,N),!m[r])return}else M&&(m[l]&&(N.value.now=Date.now()),m[a].unshiftNode(N));return T.value}},b=(m,s)=>{if(!s||!s.maxAge&&!m[i])return!1;const M=Date.now()-s.now;return s.maxAge?M>s.maxAge:m[i]&&M>m[i]},V=m=>{if(m[h]>m[C])for(let s=m[a].tail;m[h]>m[C]&&s!==null;){const M=s.prev;g(m,s),s=M}},g=(m,s)=>{if(s){const M=s.value;m[e]&&m[e](M.key,M.value),m[h]-=M.length,m[n].delete(M.key),m[a].removeNode(s)}};class o{constructor(s,M,N,T,v){this.key=s,this.value=M,this.length=N,this.now=T,this.maxAge=v||0}}const p=(m,s,M,N)=>{let T=M.value;b(m,T)&&(g(m,M),m[r]||(T=void 0)),T&&s.call(N,T.value,T.key,m)};S.exports=H},13272:(S,A,c)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.isSafari=A.isFirefox=void 0;var z=c(17611),C=(0,z.memoize)(function(){return/firefox/i.test(navigator.userAgent)});A.isFirefox=C;var h=(0,z.memoize)(function(){return Boolean(window.safari)});A.isSafari=h},24284:(S,A,c)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.EnterLeaveCounter=void 0;var z=c(17611);function C(e,f){if(!(e instanceof f))throw new TypeError("Cannot call a class as a function")}function h(e,f){for(var a=0;a<f.length;a++){var n=f[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,f,a){return f&&h(e.prototype,f),a&&h(e,a),e}function r(e,f,a){return f in e?Object.defineProperty(e,f,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[f]=a,e}var i=function(){function e(f){C(this,e),r(this,"entered",[]),r(this,"isNodeInDocument",void 0),this.isNodeInDocument=f}return t(e,[{key:"enter",value:function(a){var n=this,l=this.entered.length,u=function(d){return n.isNodeInDocument(d)&&(!d.contains||d.contains(a))};return this.entered=(0,z.union)(this.entered.filter(u),[a]),l===0&&this.entered.length>0}},{key:"leave",value:function(a){var n=this.entered.length;return this.entered=(0,z.without)(this.entered.filter(this.isNodeInDocument),a),n>0&&this.entered.length===0}},{key:"reset",value:function(){this.entered=[]}}]),e}();A.EnterLeaveCounter=i},32022:(S,A,c)=>{"use strict";function z(V){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(o){return typeof o}:z=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},z(V)}Object.defineProperty(A,"__esModule",{value:!0}),A.HTML5BackendImpl=void 0;var C=c(24284),h=c(5782),t=c(54935),r=f(c(9689)),i=c(44444);function e(V){if(typeof WeakMap!="function")return null;var g=new WeakMap,o=new WeakMap;return(e=function(m){return m?o:g})(V)}function f(V,g){if(!g&&V&&V.__esModule)return V;if(V===null||z(V)!=="object"&&typeof V!="function")return{default:V};var o=e(g);if(o&&o.has(V))return o.get(V);var p={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in V)if(s!=="default"&&Object.prototype.hasOwnProperty.call(V,s)){var M=m?Object.getOwnPropertyDescriptor(V,s):null;M&&(M.get||M.set)?Object.defineProperty(p,s,M):p[s]=V[s]}return p.default=V,o&&o.set(V,p),p}function a(V,g){var o=Object.keys(V);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(V);g&&(p=p.filter(function(m){return Object.getOwnPropertyDescriptor(V,m).enumerable})),o.push.apply(o,p)}return o}function n(V){for(var g=1;g<arguments.length;g++){var o=arguments[g]!=null?arguments[g]:{};g%2?a(Object(o),!0).forEach(function(p){d(V,p,o[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach(function(p){Object.defineProperty(V,p,Object.getOwnPropertyDescriptor(o,p))})}return V}function l(V,g){if(!(V instanceof g))throw new TypeError("Cannot call a class as a function")}function u(V,g){for(var o=0;o<g.length;o++){var p=g[o];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(V,p.key,p)}}function H(V,g,o){return g&&u(V.prototype,g),o&&u(V,o),V}function d(V,g,o){return g in V?Object.defineProperty(V,g,{value:o,enumerable:!0,configurable:!0,writable:!0}):V[g]=o,V}var b=function(){function V(g,o,p){var m=this;l(this,V),d(this,"options",void 0),d(this,"actions",void 0),d(this,"monitor",void 0),d(this,"registry",void 0),d(this,"enterLeaveCounter",void 0),d(this,"sourcePreviewNodes",new Map),d(this,"sourcePreviewNodeOptions",new Map),d(this,"sourceNodes",new Map),d(this,"sourceNodeOptions",new Map),d(this,"dragStartSourceIds",null),d(this,"dropTargetIds",[]),d(this,"dragEnterTargetIds",[]),d(this,"currentNativeSource",null),d(this,"currentNativeHandle",null),d(this,"currentDragSourceNode",null),d(this,"altKeyPressed",!1),d(this,"mouseMoveTimeoutTimer",null),d(this,"asyncEndDragFrameId",null),d(this,"dragOverTargetIds",null),d(this,"lastClientOffset",null),d(this,"hoverRafId",null),d(this,"getSourceClientOffset",function(s){var M=m.sourceNodes.get(s);return M&&(0,h.getNodeClientOffset)(M)||null}),d(this,"endDragNativeItem",function(){!m.isDraggingNativeItem()||(m.actions.endDrag(),m.currentNativeHandle&&m.registry.removeSource(m.currentNativeHandle),m.currentNativeHandle=null,m.currentNativeSource=null)}),d(this,"isNodeInDocument",function(s){return Boolean(s&&m.document&&m.document.body&&m.document.body.contains(s))}),d(this,"endDragIfSourceWasRemovedFromDOM",function(){var s=m.currentDragSourceNode;s==null||m.isNodeInDocument(s)||m.clearCurrentDragSourceNode()&&m.monitor.isDragging()&&m.actions.endDrag()}),d(this,"handleTopDragStartCapture",function(){m.clearCurrentDragSourceNode(),m.dragStartSourceIds=[]}),d(this,"handleTopDragStart",function(s){if(!s.defaultPrevented){var M=m.dragStartSourceIds;m.dragStartSourceIds=null;var N=(0,h.getEventClientOffset)(s);m.monitor.isDragging()&&m.actions.endDrag(),m.actions.beginDrag(M||[],{publishSource:!1,getSourceClientOffset:m.getSourceClientOffset,clientOffset:N});var T=s.dataTransfer,v=(0,t.matchNativeItemType)(T);if(m.monitor.isDragging()){if(T&&typeof T.setDragImage=="function"){var L=m.monitor.getSourceId(),P=m.sourceNodes.get(L),w=m.sourcePreviewNodes.get(L)||P;if(w){var E=m.getCurrentSourcePreviewNodeOptions(),R=E.anchorX,O=E.anchorY,x=E.offsetX,D=E.offsetY,k={anchorX:R,anchorY:O},B={offsetX:x,offsetY:D},I=(0,h.getDragPreviewOffset)(P,w,N,k,B);T.setDragImage(w,I.x,I.y)}}try{T==null||T.setData("application/json",{})}catch(G){}m.setCurrentDragSourceNode(s.target);var Z=m.getCurrentSourcePreviewNodeOptions(),U=Z.captureDraggingState;U?m.actions.publishDragSource():setTimeout(function(){return m.actions.publishDragSource()},0)}else if(v)m.beginDragNativeItem(v);else{if(T&&!T.types&&(s.target&&!s.target.hasAttribute||!s.target.hasAttribute("draggable")))return;s.preventDefault()}}}),d(this,"handleTopDragEndCapture",function(){m.clearCurrentDragSourceNode()&&m.monitor.isDragging()&&m.actions.endDrag()}),d(this,"handleTopDragEnterCapture",function(s){m.dragEnterTargetIds=[];var M=m.enterLeaveCounter.enter(s.target);if(!(!M||m.monitor.isDragging())){var N=s.dataTransfer,T=(0,t.matchNativeItemType)(N);T&&m.beginDragNativeItem(T,N)}}),d(this,"handleTopDragEnter",function(s){var M=m.dragEnterTargetIds;if(m.dragEnterTargetIds=[],!!m.monitor.isDragging()){m.altKeyPressed=s.altKey,M.length>0&&m.actions.hover(M,{clientOffset:(0,h.getEventClientOffset)(s)});var N=M.some(function(T){return m.monitor.canDropOnTarget(T)});N&&(s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect=m.getCurrentDropEffect()))}}),d(this,"handleTopDragOverCapture",function(){m.dragOverTargetIds=[]}),d(this,"handleTopDragOver",function(s){var M=m.dragOverTargetIds;if(m.dragOverTargetIds=[],!m.monitor.isDragging()){s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect="none");return}m.altKeyPressed=s.altKey,m.lastClientOffset=(0,h.getEventClientOffset)(s),m.hoverRafId===null&&typeof requestAnimationFrame!="undefined"&&(m.hoverRafId=requestAnimationFrame(function(){m.monitor.isDragging()&&m.actions.hover(M||[],{clientOffset:m.lastClientOffset}),m.hoverRafId=null}));var N=(M||[]).some(function(T){return m.monitor.canDropOnTarget(T)});N?(s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect=m.getCurrentDropEffect())):m.isDraggingNativeItem()?s.preventDefault():(s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect="none"))}),d(this,"handleTopDragLeaveCapture",function(s){m.isDraggingNativeItem()&&s.preventDefault();var M=m.enterLeaveCounter.leave(s.target);!M||m.isDraggingNativeItem()&&setTimeout(function(){return m.endDragNativeItem()},0)}),d(this,"handleTopDropCapture",function(s){if(m.dropTargetIds=[],m.isDraggingNativeItem()){var M;s.preventDefault(),(M=m.currentNativeSource)===null||M===void 0||M.loadDataTransfer(s.dataTransfer)}else(0,t.matchNativeItemType)(s.dataTransfer)&&s.preventDefault();m.enterLeaveCounter.reset()}),d(this,"handleTopDrop",function(s){var M=m.dropTargetIds;m.dropTargetIds=[],m.actions.hover(M,{clientOffset:(0,h.getEventClientOffset)(s)}),m.actions.drop({dropEffect:m.getCurrentDropEffect()}),m.isDraggingNativeItem()?m.endDragNativeItem():m.monitor.isDragging()&&m.actions.endDrag()}),d(this,"handleSelectStart",function(s){var M=s.target;typeof M.dragDrop=="function"&&(M.tagName==="INPUT"||M.tagName==="SELECT"||M.tagName==="TEXTAREA"||M.isContentEditable||(s.preventDefault(),M.dragDrop()))}),this.options=new i.OptionsReader(o,p),this.actions=g.getActions(),this.monitor=g.getMonitor(),this.registry=g.getRegistry(),this.enterLeaveCounter=new C.EnterLeaveCounter(this.isNodeInDocument)}return H(V,[{key:"profile",value:function(){var o,p;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((o=this.dragStartSourceIds)===null||o===void 0?void 0:o.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((p=this.dragOverTargetIds)===null||p===void 0?void 0:p.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var o=this.rootElement;if(o!==void 0){if(o.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");o.__isReactDndBackendSetUp=!0,this.addEventListeners(o)}}},{key:"teardown",value:function(){var o=this.rootElement;if(o!==void 0&&(o.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var p;(p=this.window)===null||p===void 0||p.cancelAnimationFrame(this.asyncEndDragFrameId)}}},{key:"connectDragPreview",value:function(o,p,m){var s=this;return this.sourcePreviewNodeOptions.set(o,m),this.sourcePreviewNodes.set(o,p),function(){s.sourcePreviewNodes.delete(o),s.sourcePreviewNodeOptions.delete(o)}}},{key:"connectDragSource",value:function(o,p,m){var s=this;this.sourceNodes.set(o,p),this.sourceNodeOptions.set(o,m);var M=function(v){return s.handleDragStart(v,o)},N=function(v){return s.handleSelectStart(v)};return p.setAttribute("draggable","true"),p.addEventListener("dragstart",M),p.addEventListener("selectstart",N),function(){s.sourceNodes.delete(o),s.sourceNodeOptions.delete(o),p.removeEventListener("dragstart",M),p.removeEventListener("selectstart",N),p.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(o,p){var m=this,s=function(v){return m.handleDragEnter(v,o)},M=function(v){return m.handleDragOver(v,o)},N=function(v){return m.handleDrop(v,o)};return p.addEventListener("dragenter",s),p.addEventListener("dragover",M),p.addEventListener("drop",N),function(){p.removeEventListener("dragenter",s),p.removeEventListener("dragover",M),p.removeEventListener("drop",N)}}},{key:"addEventListeners",value:function(o){!o.addEventListener||(o.addEventListener("dragstart",this.handleTopDragStart),o.addEventListener("dragstart",this.handleTopDragStartCapture,!0),o.addEventListener("dragend",this.handleTopDragEndCapture,!0),o.addEventListener("dragenter",this.handleTopDragEnter),o.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),o.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),o.addEventListener("dragover",this.handleTopDragOver),o.addEventListener("dragover",this.handleTopDragOverCapture,!0),o.addEventListener("drop",this.handleTopDrop),o.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(o){!o.removeEventListener||(o.removeEventListener("dragstart",this.handleTopDragStart),o.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),o.removeEventListener("dragend",this.handleTopDragEndCapture,!0),o.removeEventListener("dragenter",this.handleTopDragEnter),o.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),o.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),o.removeEventListener("dragover",this.handleTopDragOver),o.removeEventListener("dragover",this.handleTopDragOverCapture,!0),o.removeEventListener("drop",this.handleTopDrop),o.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var o=this.monitor.getSourceId(),p=this.sourceNodeOptions.get(o);return n({dropEffect:this.altKeyPressed?"copy":"move"},p||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var o=this.monitor.getSourceId(),p=this.sourcePreviewNodeOptions.get(o);return n({anchorX:.5,anchorY:.5,captureDraggingState:!1},p||{})}},{key:"isDraggingNativeItem",value:function(){var o=this.monitor.getItemType();return Object.keys(r).some(function(p){return r[p]===o})}},{key:"beginDragNativeItem",value:function(o,p){this.clearCurrentDragSourceNode(),this.currentNativeSource=(0,t.createNativeDragSource)(o,p),this.currentNativeHandle=this.registry.addSource(o,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(o){var p=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=o;var m=1e3;this.mouseMoveTimeoutTimer=setTimeout(function(){var s;return(s=p.rootElement)===null||s===void 0?void 0:s.addEventListener("mousemove",p.endDragIfSourceWasRemovedFromDOM,!0)},m)}},{key:"clearCurrentDragSourceNode",value:function(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var o;(o=this.window)===null||o===void 0||o.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}},{key:"handleDragStart",value:function(o,p){o.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(p))}},{key:"handleDragEnter",value:function(o,p){this.dragEnterTargetIds.unshift(p)}},{key:"handleDragOver",value:function(o,p){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(p)}},{key:"handleDrop",value:function(o,p){this.dropTargetIds.unshift(p)}}]),V}();A.HTML5BackendImpl=b},80557:(S,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.MonotonicInterpolant=void 0;function c(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}function z(r,i){for(var e=0;e<i.length;e++){var f=i[e];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(r,f.key,f)}}function C(r,i,e){return i&&z(r.prototype,i),e&&z(r,e),r}function h(r,i,e){return i in r?Object.defineProperty(r,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[i]=e,r}var t=function(){function r(i,e){c(this,r),h(this,"xs",void 0),h(this,"ys",void 0),h(this,"c1s",void 0),h(this,"c2s",void 0),h(this,"c3s",void 0);for(var f=i.length,a=[],n=0;n<f;n++)a.push(n);a.sort(function(R,O){return i[R]<i[O]?-1:1});for(var l=[],u=[],H=[],d,b,V=0;V<f-1;V++)d=i[V+1]-i[V],b=e[V+1]-e[V],u.push(d),l.push(b),H.push(b/d);for(var g=[H[0]],o=0;o<u.length-1;o++){var p=H[o],m=H[o+1];if(p*m<=0)g.push(0);else{d=u[o];var s=u[o+1],M=d+s;g.push(3*M/((M+s)/p+(M+d)/m))}}g.push(H[H.length-1]);for(var N=[],T=[],v,L=0;L<g.length-1;L++){v=H[L];var P=g[L],w=1/u[L],E=P+g[L+1]-v-v;N.push((v-P-E)*w),T.push(E*w*w)}this.xs=i,this.ys=e,this.c1s=g,this.c2s=N,this.c3s=T}return C(r,[{key:"interpolate",value:function(e){var f=this.xs,a=this.ys,n=this.c1s,l=this.c2s,u=this.c3s,H=f.length-1;if(e===f[H])return a[H];for(var d=0,b=u.length-1,V;d<=b;){V=Math.floor(.5*(d+b));var g=f[V];if(g<e)d=V+1;else if(g>e)b=V-1;else return a[V]}H=Math.max(0,b);var o=e-f[H],p=o*o;return a[H]+n[H]*o+l[H]*p+u[H]*o*p}}]),r}();A.MonotonicInterpolant=t},81061:(S,A,c)=>{"use strict";var z=c(98399);Object.defineProperty(A,"__esModule",{value:!0}),A.NativeDragSource=void 0;function C(e,f){if(!(e instanceof f))throw new TypeError("Cannot call a class as a function")}function h(e,f){for(var a=0;a<f.length;a++){var n=f[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,f,a){return f&&h(e.prototype,f),a&&h(e,a),e}function r(e,f,a){return f in e?Object.defineProperty(e,f,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[f]=a,e}var i=function(){function e(f){C(this,e),r(this,"item",void 0),r(this,"config",void 0),this.config=f,this.item={},this.initializeExposedProperties()}return t(e,[{key:"initializeExposedProperties",value:function(){var a=this;Object.keys(this.config.exposeProperties).forEach(function(n){Object.defineProperty(a.item,n,{configurable:!0,enumerable:!0,get:function(){return z.warn(`Browser doesn't allow reading "`.concat(n,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(a){var n=this;if(a){var l={};Object.keys(this.config.exposeProperties).forEach(function(u){l[u]={value:n.config.exposeProperties[u](a,n.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,l)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(a,n){return n===a.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();A.NativeDragSource=i},17892:(S,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getDataFromDataTransfer=c;function c(z,C,h){var t=C.reduce(function(r,i){return r||z.getData(i)},"");return t!=null?t:h}},54935:(S,A,c)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.createNativeDragSource=h,A.matchNativeItemType=t;var z=c(66826),C=c(81061);function h(r,i){var e=new C.NativeDragSource(z.nativeTypesConfig[r]);return e.loadDataTransfer(i),e}function t(r){if(!r)return null;var i=Array.prototype.slice.call(r.types||[]);return Object.keys(z.nativeTypesConfig).filter(function(e){var f=z.nativeTypesConfig[e].matchesTypes;return f.some(function(a){return i.indexOf(a)>-1})})[0]||null}},66826:(S,A,c)=>{"use strict";function z(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(l){return typeof l}:z=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},z(a)}Object.defineProperty(A,"__esModule",{value:!0}),A.nativeTypesConfig=void 0;var C=i(c(9689)),h=c(17892),t;function r(a){if(typeof WeakMap!="function")return null;var n=new WeakMap,l=new WeakMap;return(r=function(H){return H?l:n})(a)}function i(a,n){if(!n&&a&&a.__esModule)return a;if(a===null||z(a)!=="object"&&typeof a!="function")return{default:a};var l=r(n);if(l&&l.has(a))return l.get(a);var u={},H=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in a)if(d!=="default"&&Object.prototype.hasOwnProperty.call(a,d)){var b=H?Object.getOwnPropertyDescriptor(a,d):null;b&&(b.get||b.set)?Object.defineProperty(u,d,b):u[d]=a[d]}return u.default=a,l&&l.set(a,u),u}function e(a,n,l){return n in a?Object.defineProperty(a,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[n]=l,a}var f=(t={},e(t,C.FILE,{exposeProperties:{files:function(n){return Array.prototype.slice.call(n.files)},items:function(n){return n.items},dataTransfer:function(n){return n}},matchesTypes:["Files"]}),e(t,C.HTML,{exposeProperties:{html:function(n,l){return(0,h.getDataFromDataTransfer)(n,l,"")},dataTransfer:function(n){return n}},matchesTypes:["Html","text/html"]}),e(t,C.URL,{exposeProperties:{urls:function(n,l){return(0,h.getDataFromDataTransfer)(n,l,"").split(`
|
|
340
|
+
`])),function(y){return y.theme.colors.neutral0},function(y){return y.theme.colors.neutral150},function(y){return y.theme.borderRadius},13/16,function(y){var F=y.theme;return y.condensed?0:F.spaces[5]},function(y){return y.condensed?"translateX(50%)":void 0},1.125,25/16,6/16,9/16),S1=function(y){var F=y.children,q=d()(y,Z1),j=v();return o.a.createElement(G1,u()({as:"button",condensed:j},q),o.a.createElement(d1,{as:j?B1.a:F1.a,"aria-hidden":!0,color:"neutral600"}),o.a.createElement(k.a,null,F))};S1.propTypes={children:M.a.string.isRequired}}])})},70258:function(S,A,c){(function(z,C){S.exports=C(c(32735))})(this,function(z){return function(C){var h={};function t(r){if(h[r])return h[r].exports;var i=h[r]={i:r,l:!1,exports:{}};return C[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=C,t.c=h,t.d=function(r,i,e){t.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:e})},t.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,i){if(1&i&&(r=t(r)),8&i||4&i&&typeof r=="object"&&r&&r.__esModule)return r;var e=Object.create(null);if(t.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&i&&typeof r!="string")for(var f in r)t.d(e,f,function(a){return r[a]}.bind(null,f));return e},t.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(i,"a",i),i},t.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},t.p="",t(t.s=71)}({0:function(C,h){C.exports=z},71:function(C,h,t){"use strict";t.r(h);var r=t(0);function i(){return(i=Object.assign||function(e){for(var f=1;f<arguments.length;f++){var a=arguments[f];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}h.default=function(e){return r.createElement("svg",i({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.createElement("path",{d:"M11.987 23.036v-.964H1.876V1.876h10.111V0H0v24h11.987v-.964z",fill:"#212134"}),r.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"}))}}})})},82926:function(S,A,c){(function(z,C){S.exports=C(c(32735))})(this,function(z){return function(C){var h={};function t(r){if(h[r])return h[r].exports;var i=h[r]={i:r,l:!1,exports:{}};return C[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=C,t.c=h,t.d=function(r,i,e){t.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:e})},t.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,i){if(1&i&&(r=t(r)),8&i||4&i&&typeof r=="object"&&r&&r.__esModule)return r;var e=Object.create(null);if(t.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&i&&typeof r!="string")for(var f in r)t.d(e,f,function(a){return r[a]}.bind(null,f));return e},t.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(i,"a",i),i},t.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},t.p="",t(t.s=194)}({0:function(C,h){C.exports=z},194:function(C,h,t){"use strict";t.r(h);var r=t(0);function i(){return(i=Object.assign||function(e){for(var f=1;f<arguments.length;f++){var a=arguments[f];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}h.default=function(e){return r.createElement("svg",i({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r.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"}))}}})})},93994:(S,A,c)=>{var z=c(33795);function C(h,t){for(var r=-1,i=t.length,e=Array(i),f=h==null;++r<i;)e[r]=f?void 0:z(h,t[r]);return e}S.exports=C},88311:(S,A,c)=>{var z=c(93994),C=c(83368),h=C(z);S.exports=h},65923:(S,A,c)=>{"use strict";const z=c(52138),C=Symbol("max"),h=Symbol("length"),t=Symbol("lengthCalculator"),r=Symbol("allowStale"),i=Symbol("maxAge"),e=Symbol("dispose"),f=Symbol("noDisposeOnSet"),a=Symbol("lruList"),n=Symbol("cache"),l=Symbol("updateAgeOnGet"),u=()=>1;class H{constructor(s){if(typeof s=="number"&&(s={max:s}),s||(s={}),s.max&&(typeof s.max!="number"||s.max<0))throw new TypeError("max must be a non-negative number");const M=this[C]=s.max||1/0,N=s.length||u;if(this[t]=typeof N!="function"?u:N,this[r]=s.stale||!1,s.maxAge&&typeof s.maxAge!="number")throw new TypeError("maxAge must be a number");this[i]=s.maxAge||0,this[e]=s.dispose,this[f]=s.noDisposeOnSet||!1,this[l]=s.updateAgeOnGet||!1,this.reset()}set max(s){if(typeof s!="number"||s<0)throw new TypeError("max must be a non-negative number");this[C]=s||1/0,V(this)}get max(){return this[C]}set allowStale(s){this[r]=!!s}get allowStale(){return this[r]}set maxAge(s){if(typeof s!="number")throw new TypeError("maxAge must be a non-negative number");this[i]=s,V(this)}get maxAge(){return this[i]}set lengthCalculator(s){typeof s!="function"&&(s=u),s!==this[t]&&(this[t]=s,this[h]=0,this[a].forEach(M=>{M.length=this[t](M.value,M.key),this[h]+=M.length})),V(this)}get lengthCalculator(){return this[t]}get length(){return this[h]}get itemCount(){return this[a].length}rforEach(s,M){M=M||this;for(let N=this[a].tail;N!==null;){const T=N.prev;p(this,s,N,M),N=T}}forEach(s,M){M=M||this;for(let N=this[a].head;N!==null;){const T=N.next;p(this,s,N,M),N=T}}keys(){return this[a].toArray().map(s=>s.key)}values(){return this[a].toArray().map(s=>s.value)}reset(){this[e]&&this[a]&&this[a].length&&this[a].forEach(s=>this[e](s.key,s.value)),this[n]=new Map,this[a]=new z,this[h]=0}dump(){return this[a].map(s=>b(this,s)?!1:{k:s.key,v:s.value,e:s.now+(s.maxAge||0)}).toArray().filter(s=>s)}dumpLru(){return this[a]}set(s,M,N){if(N=N||this[i],N&&typeof N!="number")throw new TypeError("maxAge must be a number");const T=N?Date.now():0,v=this[t](M,s);if(this[n].has(s)){if(v>this[C])return g(this,this[n].get(s)),!1;const w=this[n].get(s).value;return this[e]&&(this[f]||this[e](s,w.value)),w.now=T,w.maxAge=N,w.value=M,this[h]+=v-w.length,w.length=v,this.get(s),V(this),!0}const L=new o(s,M,v,T,N);return L.length>this[C]?(this[e]&&this[e](s,M),!1):(this[h]+=L.length,this[a].unshift(L),this[n].set(s,this[a].head),V(this),!0)}has(s){if(!this[n].has(s))return!1;const M=this[n].get(s).value;return!b(this,M)}get(s){return d(this,s,!0)}peek(s){return d(this,s,!1)}pop(){const s=this[a].tail;return s?(g(this,s),s.value):null}del(s){g(this,this[n].get(s))}load(s){this.reset();const M=Date.now();for(let N=s.length-1;N>=0;N--){const T=s[N],v=T.e||0;if(v===0)this.set(T.k,T.v);else{const L=v-M;L>0&&this.set(T.k,T.v,L)}}}prune(){this[n].forEach((s,M)=>d(this,M,!1))}}const d=(m,s,M)=>{const N=m[n].get(s);if(N){const T=N.value;if(b(m,T)){if(g(m,N),!m[r])return}else M&&(m[l]&&(N.value.now=Date.now()),m[a].unshiftNode(N));return T.value}},b=(m,s)=>{if(!s||!s.maxAge&&!m[i])return!1;const M=Date.now()-s.now;return s.maxAge?M>s.maxAge:m[i]&&M>m[i]},V=m=>{if(m[h]>m[C])for(let s=m[a].tail;m[h]>m[C]&&s!==null;){const M=s.prev;g(m,s),s=M}},g=(m,s)=>{if(s){const M=s.value;m[e]&&m[e](M.key,M.value),m[h]-=M.length,m[n].delete(M.key),m[a].removeNode(s)}};class o{constructor(s,M,N,T,v){this.key=s,this.value=M,this.length=N,this.now=T,this.maxAge=v||0}}const p=(m,s,M,N)=>{let T=M.value;b(m,T)&&(g(m,M),m[r]||(T=void 0)),T&&s.call(N,T.value,T.key,m)};S.exports=H},13272:(S,A,c)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.isSafari=A.isFirefox=void 0;var z=c(17611),C=(0,z.memoize)(function(){return/firefox/i.test(navigator.userAgent)});A.isFirefox=C;var h=(0,z.memoize)(function(){return Boolean(window.safari)});A.isSafari=h},24284:(S,A,c)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.EnterLeaveCounter=void 0;var z=c(17611);function C(e,f){if(!(e instanceof f))throw new TypeError("Cannot call a class as a function")}function h(e,f){for(var a=0;a<f.length;a++){var n=f[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,f,a){return f&&h(e.prototype,f),a&&h(e,a),e}function r(e,f,a){return f in e?Object.defineProperty(e,f,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[f]=a,e}var i=function(){function e(f){C(this,e),r(this,"entered",[]),r(this,"isNodeInDocument",void 0),this.isNodeInDocument=f}return t(e,[{key:"enter",value:function(a){var n=this,l=this.entered.length,u=function(d){return n.isNodeInDocument(d)&&(!d.contains||d.contains(a))};return this.entered=(0,z.union)(this.entered.filter(u),[a]),l===0&&this.entered.length>0}},{key:"leave",value:function(a){var n=this.entered.length;return this.entered=(0,z.without)(this.entered.filter(this.isNodeInDocument),a),n>0&&this.entered.length===0}},{key:"reset",value:function(){this.entered=[]}}]),e}();A.EnterLeaveCounter=i},32022:(S,A,c)=>{"use strict";function z(V){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(o){return typeof o}:z=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},z(V)}Object.defineProperty(A,"__esModule",{value:!0}),A.HTML5BackendImpl=void 0;var C=c(24284),h=c(5782),t=c(54935),r=f(c(9689)),i=c(44444);function e(V){if(typeof WeakMap!="function")return null;var g=new WeakMap,o=new WeakMap;return(e=function(m){return m?o:g})(V)}function f(V,g){if(!g&&V&&V.__esModule)return V;if(V===null||z(V)!=="object"&&typeof V!="function")return{default:V};var o=e(g);if(o&&o.has(V))return o.get(V);var p={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in V)if(s!=="default"&&Object.prototype.hasOwnProperty.call(V,s)){var M=m?Object.getOwnPropertyDescriptor(V,s):null;M&&(M.get||M.set)?Object.defineProperty(p,s,M):p[s]=V[s]}return p.default=V,o&&o.set(V,p),p}function a(V,g){var o=Object.keys(V);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(V);g&&(p=p.filter(function(m){return Object.getOwnPropertyDescriptor(V,m).enumerable})),o.push.apply(o,p)}return o}function n(V){for(var g=1;g<arguments.length;g++){var o=arguments[g]!=null?arguments[g]:{};g%2?a(Object(o),!0).forEach(function(p){d(V,p,o[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach(function(p){Object.defineProperty(V,p,Object.getOwnPropertyDescriptor(o,p))})}return V}function l(V,g){if(!(V instanceof g))throw new TypeError("Cannot call a class as a function")}function u(V,g){for(var o=0;o<g.length;o++){var p=g[o];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(V,p.key,p)}}function H(V,g,o){return g&&u(V.prototype,g),o&&u(V,o),V}function d(V,g,o){return g in V?Object.defineProperty(V,g,{value:o,enumerable:!0,configurable:!0,writable:!0}):V[g]=o,V}var b=function(){function V(g,o,p){var m=this;l(this,V),d(this,"options",void 0),d(this,"actions",void 0),d(this,"monitor",void 0),d(this,"registry",void 0),d(this,"enterLeaveCounter",void 0),d(this,"sourcePreviewNodes",new Map),d(this,"sourcePreviewNodeOptions",new Map),d(this,"sourceNodes",new Map),d(this,"sourceNodeOptions",new Map),d(this,"dragStartSourceIds",null),d(this,"dropTargetIds",[]),d(this,"dragEnterTargetIds",[]),d(this,"currentNativeSource",null),d(this,"currentNativeHandle",null),d(this,"currentDragSourceNode",null),d(this,"altKeyPressed",!1),d(this,"mouseMoveTimeoutTimer",null),d(this,"asyncEndDragFrameId",null),d(this,"dragOverTargetIds",null),d(this,"lastClientOffset",null),d(this,"hoverRafId",null),d(this,"getSourceClientOffset",function(s){var M=m.sourceNodes.get(s);return M&&(0,h.getNodeClientOffset)(M)||null}),d(this,"endDragNativeItem",function(){!m.isDraggingNativeItem()||(m.actions.endDrag(),m.currentNativeHandle&&m.registry.removeSource(m.currentNativeHandle),m.currentNativeHandle=null,m.currentNativeSource=null)}),d(this,"isNodeInDocument",function(s){return Boolean(s&&m.document&&m.document.body&&m.document.body.contains(s))}),d(this,"endDragIfSourceWasRemovedFromDOM",function(){var s=m.currentDragSourceNode;s==null||m.isNodeInDocument(s)||m.clearCurrentDragSourceNode()&&m.monitor.isDragging()&&m.actions.endDrag()}),d(this,"handleTopDragStartCapture",function(){m.clearCurrentDragSourceNode(),m.dragStartSourceIds=[]}),d(this,"handleTopDragStart",function(s){if(!s.defaultPrevented){var M=m.dragStartSourceIds;m.dragStartSourceIds=null;var N=(0,h.getEventClientOffset)(s);m.monitor.isDragging()&&m.actions.endDrag(),m.actions.beginDrag(M||[],{publishSource:!1,getSourceClientOffset:m.getSourceClientOffset,clientOffset:N});var T=s.dataTransfer,v=(0,t.matchNativeItemType)(T);if(m.monitor.isDragging()){if(T&&typeof T.setDragImage=="function"){var L=m.monitor.getSourceId(),P=m.sourceNodes.get(L),w=m.sourcePreviewNodes.get(L)||P;if(w){var E=m.getCurrentSourcePreviewNodeOptions(),R=E.anchorX,O=E.anchorY,x=E.offsetX,D=E.offsetY,k={anchorX:R,anchorY:O},B={offsetX:x,offsetY:D},I=(0,h.getDragPreviewOffset)(P,w,N,k,B);T.setDragImage(w,I.x,I.y)}}try{T==null||T.setData("application/json",{})}catch(G){}m.setCurrentDragSourceNode(s.target);var Z=m.getCurrentSourcePreviewNodeOptions(),U=Z.captureDraggingState;U?m.actions.publishDragSource():setTimeout(function(){return m.actions.publishDragSource()},0)}else if(v)m.beginDragNativeItem(v);else{if(T&&!T.types&&(s.target&&!s.target.hasAttribute||!s.target.hasAttribute("draggable")))return;s.preventDefault()}}}),d(this,"handleTopDragEndCapture",function(){m.clearCurrentDragSourceNode()&&m.monitor.isDragging()&&m.actions.endDrag()}),d(this,"handleTopDragEnterCapture",function(s){m.dragEnterTargetIds=[];var M=m.enterLeaveCounter.enter(s.target);if(!(!M||m.monitor.isDragging())){var N=s.dataTransfer,T=(0,t.matchNativeItemType)(N);T&&m.beginDragNativeItem(T,N)}}),d(this,"handleTopDragEnter",function(s){var M=m.dragEnterTargetIds;if(m.dragEnterTargetIds=[],!!m.monitor.isDragging()){m.altKeyPressed=s.altKey,M.length>0&&m.actions.hover(M,{clientOffset:(0,h.getEventClientOffset)(s)});var N=M.some(function(T){return m.monitor.canDropOnTarget(T)});N&&(s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect=m.getCurrentDropEffect()))}}),d(this,"handleTopDragOverCapture",function(){m.dragOverTargetIds=[]}),d(this,"handleTopDragOver",function(s){var M=m.dragOverTargetIds;if(m.dragOverTargetIds=[],!m.monitor.isDragging()){s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect="none");return}m.altKeyPressed=s.altKey,m.lastClientOffset=(0,h.getEventClientOffset)(s),m.hoverRafId===null&&typeof requestAnimationFrame!="undefined"&&(m.hoverRafId=requestAnimationFrame(function(){m.monitor.isDragging()&&m.actions.hover(M||[],{clientOffset:m.lastClientOffset}),m.hoverRafId=null}));var N=(M||[]).some(function(T){return m.monitor.canDropOnTarget(T)});N?(s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect=m.getCurrentDropEffect())):m.isDraggingNativeItem()?s.preventDefault():(s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect="none"))}),d(this,"handleTopDragLeaveCapture",function(s){m.isDraggingNativeItem()&&s.preventDefault();var M=m.enterLeaveCounter.leave(s.target);!M||m.isDraggingNativeItem()&&setTimeout(function(){return m.endDragNativeItem()},0)}),d(this,"handleTopDropCapture",function(s){if(m.dropTargetIds=[],m.isDraggingNativeItem()){var M;s.preventDefault(),(M=m.currentNativeSource)===null||M===void 0||M.loadDataTransfer(s.dataTransfer)}else(0,t.matchNativeItemType)(s.dataTransfer)&&s.preventDefault();m.enterLeaveCounter.reset()}),d(this,"handleTopDrop",function(s){var M=m.dropTargetIds;m.dropTargetIds=[],m.actions.hover(M,{clientOffset:(0,h.getEventClientOffset)(s)}),m.actions.drop({dropEffect:m.getCurrentDropEffect()}),m.isDraggingNativeItem()?m.endDragNativeItem():m.monitor.isDragging()&&m.actions.endDrag()}),d(this,"handleSelectStart",function(s){var M=s.target;typeof M.dragDrop=="function"&&(M.tagName==="INPUT"||M.tagName==="SELECT"||M.tagName==="TEXTAREA"||M.isContentEditable||(s.preventDefault(),M.dragDrop()))}),this.options=new i.OptionsReader(o,p),this.actions=g.getActions(),this.monitor=g.getMonitor(),this.registry=g.getRegistry(),this.enterLeaveCounter=new C.EnterLeaveCounter(this.isNodeInDocument)}return H(V,[{key:"profile",value:function(){var o,p;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((o=this.dragStartSourceIds)===null||o===void 0?void 0:o.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((p=this.dragOverTargetIds)===null||p===void 0?void 0:p.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var o=this.rootElement;if(o!==void 0){if(o.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");o.__isReactDndBackendSetUp=!0,this.addEventListeners(o)}}},{key:"teardown",value:function(){var o=this.rootElement;if(o!==void 0&&(o.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var p;(p=this.window)===null||p===void 0||p.cancelAnimationFrame(this.asyncEndDragFrameId)}}},{key:"connectDragPreview",value:function(o,p,m){var s=this;return this.sourcePreviewNodeOptions.set(o,m),this.sourcePreviewNodes.set(o,p),function(){s.sourcePreviewNodes.delete(o),s.sourcePreviewNodeOptions.delete(o)}}},{key:"connectDragSource",value:function(o,p,m){var s=this;this.sourceNodes.set(o,p),this.sourceNodeOptions.set(o,m);var M=function(v){return s.handleDragStart(v,o)},N=function(v){return s.handleSelectStart(v)};return p.setAttribute("draggable","true"),p.addEventListener("dragstart",M),p.addEventListener("selectstart",N),function(){s.sourceNodes.delete(o),s.sourceNodeOptions.delete(o),p.removeEventListener("dragstart",M),p.removeEventListener("selectstart",N),p.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(o,p){var m=this,s=function(v){return m.handleDragEnter(v,o)},M=function(v){return m.handleDragOver(v,o)},N=function(v){return m.handleDrop(v,o)};return p.addEventListener("dragenter",s),p.addEventListener("dragover",M),p.addEventListener("drop",N),function(){p.removeEventListener("dragenter",s),p.removeEventListener("dragover",M),p.removeEventListener("drop",N)}}},{key:"addEventListeners",value:function(o){!o.addEventListener||(o.addEventListener("dragstart",this.handleTopDragStart),o.addEventListener("dragstart",this.handleTopDragStartCapture,!0),o.addEventListener("dragend",this.handleTopDragEndCapture,!0),o.addEventListener("dragenter",this.handleTopDragEnter),o.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),o.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),o.addEventListener("dragover",this.handleTopDragOver),o.addEventListener("dragover",this.handleTopDragOverCapture,!0),o.addEventListener("drop",this.handleTopDrop),o.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(o){!o.removeEventListener||(o.removeEventListener("dragstart",this.handleTopDragStart),o.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),o.removeEventListener("dragend",this.handleTopDragEndCapture,!0),o.removeEventListener("dragenter",this.handleTopDragEnter),o.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),o.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),o.removeEventListener("dragover",this.handleTopDragOver),o.removeEventListener("dragover",this.handleTopDragOverCapture,!0),o.removeEventListener("drop",this.handleTopDrop),o.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var o=this.monitor.getSourceId(),p=this.sourceNodeOptions.get(o);return n({dropEffect:this.altKeyPressed?"copy":"move"},p||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var o=this.monitor.getSourceId(),p=this.sourcePreviewNodeOptions.get(o);return n({anchorX:.5,anchorY:.5,captureDraggingState:!1},p||{})}},{key:"isDraggingNativeItem",value:function(){var o=this.monitor.getItemType();return Object.keys(r).some(function(p){return r[p]===o})}},{key:"beginDragNativeItem",value:function(o,p){this.clearCurrentDragSourceNode(),this.currentNativeSource=(0,t.createNativeDragSource)(o,p),this.currentNativeHandle=this.registry.addSource(o,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(o){var p=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=o;var m=1e3;this.mouseMoveTimeoutTimer=setTimeout(function(){var s;return(s=p.rootElement)===null||s===void 0?void 0:s.addEventListener("mousemove",p.endDragIfSourceWasRemovedFromDOM,!0)},m)}},{key:"clearCurrentDragSourceNode",value:function(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var o;(o=this.window)===null||o===void 0||o.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}},{key:"handleDragStart",value:function(o,p){o.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(p))}},{key:"handleDragEnter",value:function(o,p){this.dragEnterTargetIds.unshift(p)}},{key:"handleDragOver",value:function(o,p){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(p)}},{key:"handleDrop",value:function(o,p){this.dropTargetIds.unshift(p)}}]),V}();A.HTML5BackendImpl=b},80557:(S,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.MonotonicInterpolant=void 0;function c(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}function z(r,i){for(var e=0;e<i.length;e++){var f=i[e];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(r,f.key,f)}}function C(r,i,e){return i&&z(r.prototype,i),e&&z(r,e),r}function h(r,i,e){return i in r?Object.defineProperty(r,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[i]=e,r}var t=function(){function r(i,e){c(this,r),h(this,"xs",void 0),h(this,"ys",void 0),h(this,"c1s",void 0),h(this,"c2s",void 0),h(this,"c3s",void 0);for(var f=i.length,a=[],n=0;n<f;n++)a.push(n);a.sort(function(R,O){return i[R]<i[O]?-1:1});for(var l=[],u=[],H=[],d,b,V=0;V<f-1;V++)d=i[V+1]-i[V],b=e[V+1]-e[V],u.push(d),l.push(b),H.push(b/d);for(var g=[H[0]],o=0;o<u.length-1;o++){var p=H[o],m=H[o+1];if(p*m<=0)g.push(0);else{d=u[o];var s=u[o+1],M=d+s;g.push(3*M/((M+s)/p+(M+d)/m))}}g.push(H[H.length-1]);for(var N=[],T=[],v,L=0;L<g.length-1;L++){v=H[L];var P=g[L],w=1/u[L],E=P+g[L+1]-v-v;N.push((v-P-E)*w),T.push(E*w*w)}this.xs=i,this.ys=e,this.c1s=g,this.c2s=N,this.c3s=T}return C(r,[{key:"interpolate",value:function(e){var f=this.xs,a=this.ys,n=this.c1s,l=this.c2s,u=this.c3s,H=f.length-1;if(e===f[H])return a[H];for(var d=0,b=u.length-1,V;d<=b;){V=Math.floor(.5*(d+b));var g=f[V];if(g<e)d=V+1;else if(g>e)b=V-1;else return a[V]}H=Math.max(0,b);var o=e-f[H],p=o*o;return a[H]+n[H]*o+l[H]*p+u[H]*o*p}}]),r}();A.MonotonicInterpolant=t},81061:(S,A,c)=>{"use strict";var z=c(98399);Object.defineProperty(A,"__esModule",{value:!0}),A.NativeDragSource=void 0;function C(e,f){if(!(e instanceof f))throw new TypeError("Cannot call a class as a function")}function h(e,f){for(var a=0;a<f.length;a++){var n=f[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(e,f,a){return f&&h(e.prototype,f),a&&h(e,a),e}function r(e,f,a){return f in e?Object.defineProperty(e,f,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[f]=a,e}var i=function(){function e(f){C(this,e),r(this,"item",void 0),r(this,"config",void 0),this.config=f,this.item={},this.initializeExposedProperties()}return t(e,[{key:"initializeExposedProperties",value:function(){var a=this;Object.keys(this.config.exposeProperties).forEach(function(n){Object.defineProperty(a.item,n,{configurable:!0,enumerable:!0,get:function(){return z.warn(`Browser doesn't allow reading "`.concat(n,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(a){var n=this;if(a){var l={};Object.keys(this.config.exposeProperties).forEach(function(u){l[u]={value:n.config.exposeProperties[u](a,n.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,l)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(a,n){return n===a.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();A.NativeDragSource=i},17892:(S,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getDataFromDataTransfer=c;function c(z,C,h){var t=C.reduce(function(r,i){return r||z.getData(i)},"");return t!=null?t:h}},54935:(S,A,c)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.createNativeDragSource=h,A.matchNativeItemType=t;var z=c(66826),C=c(81061);function h(r,i){var e=new C.NativeDragSource(z.nativeTypesConfig[r]);return e.loadDataTransfer(i),e}function t(r){if(!r)return null;var i=Array.prototype.slice.call(r.types||[]);return Object.keys(z.nativeTypesConfig).filter(function(e){var f=z.nativeTypesConfig[e].matchesTypes;return f.some(function(a){return i.indexOf(a)>-1})})[0]||null}},66826:(S,A,c)=>{"use strict";function z(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(l){return typeof l}:z=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},z(a)}Object.defineProperty(A,"__esModule",{value:!0}),A.nativeTypesConfig=void 0;var C=i(c(9689)),h=c(17892),t;function r(a){if(typeof WeakMap!="function")return null;var n=new WeakMap,l=new WeakMap;return(r=function(H){return H?l:n})(a)}function i(a,n){if(!n&&a&&a.__esModule)return a;if(a===null||z(a)!=="object"&&typeof a!="function")return{default:a};var l=r(n);if(l&&l.has(a))return l.get(a);var u={},H=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in a)if(d!=="default"&&Object.prototype.hasOwnProperty.call(a,d)){var b=H?Object.getOwnPropertyDescriptor(a,d):null;b&&(b.get||b.set)?Object.defineProperty(u,d,b):u[d]=a[d]}return u.default=a,l&&l.set(a,u),u}function e(a,n,l){return n in a?Object.defineProperty(a,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[n]=l,a}var f=(t={},e(t,C.FILE,{exposeProperties:{files:function(n){return Array.prototype.slice.call(n.files)},items:function(n){return n.items},dataTransfer:function(n){return n}},matchesTypes:["Files"]}),e(t,C.HTML,{exposeProperties:{html:function(n,l){return(0,h.getDataFromDataTransfer)(n,l,"")},dataTransfer:function(n){return n}},matchesTypes:["Html","text/html"]}),e(t,C.URL,{exposeProperties:{urls:function(n,l){return(0,h.getDataFromDataTransfer)(n,l,"").split(`
|
|
341
341
|
`)},dataTransfer:function(n){return n}},matchesTypes:["Url","text/uri-list"]}),e(t,C.TEXT,{exposeProperties:{text:function(n,l){return(0,h.getDataFromDataTransfer)(n,l,"")},dataTransfer:function(n){return n}},matchesTypes:["Text","text/plain"]}),t);A.nativeTypesConfig=f},9689:(S,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.HTML=A.TEXT=A.URL=A.FILE=void 0;var c="__NATIVE_FILE__";A.FILE=c;var z="__NATIVE_URL__";A.URL=z;var C="__NATIVE_TEXT__";A.TEXT=C;var h="__NATIVE_HTML__";A.HTML=h},5782:(S,A,c)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getNodeClientOffset=t,A.getEventClientOffset=r,A.getDragPreviewOffset=f;var z=c(13272),C=c(80557),h=1;function t(a){var n=a.nodeType===h?a:a.parentElement;if(!n)return null;var l=n.getBoundingClientRect(),u=l.top,H=l.left;return{x:H,y:u}}function r(a){return{x:a.clientX,y:a.clientY}}function i(a){var n;return a.nodeName==="IMG"&&((0,z.isFirefox)()||!((n=document.documentElement)!==null&&n!==void 0&&n.contains(a)))}function e(a,n,l,u){var H=a?n.width:l,d=a?n.height:u;return(0,z.isSafari)()&&a&&(d/=window.devicePixelRatio,H/=window.devicePixelRatio),{dragPreviewWidth:H,dragPreviewHeight:d}}function f(a,n,l,u,H){var d=i(n),b=d?a:n,V=t(b),g={x:l.x-V.x,y:l.y-V.y},o=a.offsetWidth,p=a.offsetHeight,m=u.anchorX,s=u.anchorY,M=e(d,n,o,p),N=M.dragPreviewWidth,T=M.dragPreviewHeight,v=function(){var x=new C.MonotonicInterpolant([0,.5,1],[g.y,g.y/p*T,g.y+T-p]),D=x.interpolate(s);return(0,z.isSafari)()&&d&&(D+=(window.devicePixelRatio-1)*T),D},L=function(){var x=new C.MonotonicInterpolant([0,.5,1],[g.x,g.x/o*N,g.x+N-o]);return x.interpolate(m)},P=H.offsetX,w=H.offsetY,E=P===0||P,R=w===0||w;return{x:E?P:L(),y:R?w:v()}}},44444:(S,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.OptionsReader=void 0;function c(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}function z(r,i){for(var e=0;e<i.length;e++){var f=i[e];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(r,f.key,f)}}function C(r,i,e){return i&&z(r.prototype,i),e&&z(r,e),r}function h(r,i,e){return i in r?Object.defineProperty(r,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[i]=e,r}var t=function(){function r(i,e){c(this,r),h(this,"ownerDocument",null),h(this,"globalContext",void 0),h(this,"optionsArgs",void 0),this.globalContext=i,this.optionsArgs=e}return C(r,[{key:"window",get:function(){if(this.globalContext)return this.globalContext;if(typeof window!="undefined")return window}},{key:"document",get:function(){var e;return(e=this.globalContext)!==null&&e!==void 0&&e.document?this.globalContext.document:this.window?this.window.document:void 0}},{key:"rootElement",get:function(){var e;return((e=this.optionsArgs)===null||e===void 0?void 0:e.rootElement)||this.window}}]),r}();A.OptionsReader=t},15970:(S,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.getEmptyImage=z;var c;function z(){return c||(c=new Image,c.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),c}},51968:(S,A,c)=>{"use strict";var z;function C(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(l){return typeof l}:C=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},C(a)}z={value:!0},Object.defineProperty(A,"rX",{enumerable:!0,get:function(){return r.getEmptyImage}}),z=A.PD=void 0;var h=c(32022),t=e(c(9689));z=t;var r=c(15970);function i(a){if(typeof WeakMap!="function")return null;var n=new WeakMap,l=new WeakMap;return(i=function(H){return H?l:n})(a)}function e(a,n){if(!n&&a&&a.__esModule)return a;if(a===null||C(a)!=="object"&&typeof a!="function")return{default:a};var l=i(n);if(l&&l.has(a))return l.get(a);var u={},H=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in a)if(d!=="default"&&Object.prototype.hasOwnProperty.call(a,d)){var b=H?Object.getOwnPropertyDescriptor(a,d):null;b&&(b.get||b.set)?Object.defineProperty(u,d,b):u[d]=a[d]}return u.default=a,l&&l.set(a,u),u}var f=function(n,l,u){return new h.HTML5BackendImpl(n,l,u)};A.PD=f},17611:(S,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.memoize=c,A.without=z,A.union=C;function c(h){var t=null,r=function(){return t==null&&(t=h()),t};return r}function z(h,t){return h.filter(function(r){return r!==t})}function C(h,t){var r=new Set,i=function(a){return r.add(a)};h.forEach(i),t.forEach(i);var e=[];return r.forEach(function(f){return e.push(f)}),e}},84074:(S,A,c)=>{const z=Symbol("SemVer ANY");class C{static get ANY(){return z}constructor(l,u){if(u=h(u),l instanceof C){if(l.loose===!!u.loose)return l;l=l.value}e("comparator",l,u),this.options=u,this.loose=!!u.loose,this.parse(l),this.semver===z?this.value="":this.value=this.operator+this.semver.version,e("comp",this)}parse(l){const u=this.options.loose?t[r.COMPARATORLOOSE]:t[r.COMPARATOR],H=l.match(u);if(!H)throw new TypeError(`Invalid comparator: ${l}`);this.operator=H[1]!==void 0?H[1]:"",this.operator==="="&&(this.operator=""),H[2]?this.semver=new f(H[2],this.options.loose):this.semver=z}toString(){return this.value}test(l){if(e("Comparator.test",l,this.options.loose),this.semver===z||l===z)return!0;if(typeof l=="string")try{l=new f(l,this.options)}catch(u){return!1}return i(l,this.operator,this.semver,this.options)}intersects(l,u){if(!(l instanceof C))throw new TypeError("a Comparator is required");if((!u||typeof u!="object")&&(u={loose:!!u,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new a(l.value,u).test(this.value);if(l.operator==="")return l.value===""?!0:new a(this.value,u).test(l.semver);const H=(this.operator===">="||this.operator===">")&&(l.operator===">="||l.operator===">"),d=(this.operator==="<="||this.operator==="<")&&(l.operator==="<="||l.operator==="<"),b=this.semver.version===l.semver.version,V=(this.operator===">="||this.operator==="<=")&&(l.operator===">="||l.operator==="<="),g=i(this.semver,"<",l.semver,u)&&(this.operator===">="||this.operator===">")&&(l.operator==="<="||l.operator==="<"),o=i(this.semver,">",l.semver,u)&&(this.operator==="<="||this.operator==="<")&&(l.operator===">="||l.operator===">");return H||d||b&&V||g||o}}S.exports=C;const h=c(30156),{re:t,t:r}=c(90887),i=c(62401),e=c(33843),f=c(39405),a=c(14355)},14355:(S,A,c)=>{class z{constructor(E,R){if(R=t(R),E instanceof z)return E.loose===!!R.loose&&E.includePrerelease===!!R.includePrerelease?E:new z(E.raw,R);if(E instanceof r)return this.raw=E.value,this.set=[[E]],this.format(),this;if(this.options=R,this.loose=!!R.loose,this.includePrerelease=!!R.includePrerelease,this.raw=E,this.set=E.split("||").map(O=>this.parseRange(O.trim())).filter(O=>O.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${E}`);if(this.set.length>1){const O=this.set[0];if(this.set=this.set.filter(x=>!H(x[0])),this.set.length===0)this.set=[O];else if(this.set.length>1){for(const x of this.set)if(x.length===1&&d(x[0])){this.set=[x];break}}}this.format()}format(){return this.range=this.set.map(E=>E.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(E){E=E.trim();const O=`parseRange:${Object.keys(this.options).join(",")}:${E}`,x=h.get(O);if(x)return x;const D=this.options.loose,k=D?f[a.HYPHENRANGELOOSE]:f[a.HYPHENRANGE];E=E.replace(k,L(this.options.includePrerelease)),i("hyphen replace",E),E=E.replace(f[a.COMPARATORTRIM],n),i("comparator trim",E),E=E.replace(f[a.TILDETRIM],l),E=E.replace(f[a.CARETTRIM],u),E=E.split(/\s+/).join(" ");let B=E.split(" ").map(G=>V(G,this.options)).join(" ").split(/\s+/).map(G=>v(G,this.options));D&&(B=B.filter(G=>(i("loose invalid filter",G,this.options),!!G.match(f[a.COMPARATORLOOSE])))),i("range list",B);const I=new Map,Z=B.map(G=>new r(G,this.options));for(const G of Z){if(H(G))return[G];I.set(G.value,G)}I.size>1&&I.has("")&&I.delete("");const U=[...I.values()];return h.set(O,U),U}intersects(E,R){if(!(E instanceof z))throw new TypeError("a Range is required");return this.set.some(O=>b(O,R)&&E.set.some(x=>b(x,R)&&O.every(D=>x.every(k=>D.intersects(k,R)))))}test(E){if(!E)return!1;if(typeof E=="string")try{E=new e(E,this.options)}catch(R){return!1}for(let R=0;R<this.set.length;R++)if(P(this.set[R],E,this.options))return!0;return!1}}S.exports=z;const C=c(65923),h=new C({max:1e3}),t=c(30156),r=c(84074),i=c(33843),e=c(39405),{re:f,t:a,comparatorTrimReplace:n,tildeTrimReplace:l,caretTrimReplace:u}=c(90887),H=w=>w.value==="<0.0.0-0",d=w=>w.value==="",b=(w,E)=>{let R=!0;const O=w.slice();let x=O.pop();for(;R&&O.length;)R=O.every(D=>x.intersects(D,E)),x=O.pop();return R},V=(w,E)=>(i("comp",w,E),w=m(w,E),i("caret",w),w=o(w,E),i("tildes",w),w=M(w,E),i("xrange",w),w=T(w,E),i("stars",w),w),g=w=>!w||w.toLowerCase()==="x"||w==="*",o=(w,E)=>w.trim().split(/\s+/).map(R=>p(R,E)).join(" "),p=(w,E)=>{const R=E.loose?f[a.TILDELOOSE]:f[a.TILDE];return w.replace(R,(O,x,D,k,B)=>{i("tilde",w,O,x,D,k,B);let I;return g(x)?I="":g(D)?I=`>=${x}.0.0 <${+x+1}.0.0-0`:g(k)?I=`>=${x}.${D}.0 <${x}.${+D+1}.0-0`:B?(i("replaceTilde pr",B),I=`>=${x}.${D}.${k}-${B} <${x}.${+D+1}.0-0`):I=`>=${x}.${D}.${k} <${x}.${+D+1}.0-0`,i("tilde return",I),I})},m=(w,E)=>w.trim().split(/\s+/).map(R=>s(R,E)).join(" "),s=(w,E)=>{i("caret",w,E);const R=E.loose?f[a.CARETLOOSE]:f[a.CARET],O=E.includePrerelease?"-0":"";return w.replace(R,(x,D,k,B,I)=>{i("caret",w,x,D,k,B,I);let Z;return g(D)?Z="":g(k)?Z=`>=${D}.0.0${O} <${+D+1}.0.0-0`:g(B)?D==="0"?Z=`>=${D}.${k}.0${O} <${D}.${+k+1}.0-0`:Z=`>=${D}.${k}.0${O} <${+D+1}.0.0-0`:I?(i("replaceCaret pr",I),D==="0"?k==="0"?Z=`>=${D}.${k}.${B}-${I} <${D}.${k}.${+B+1}-0`:Z=`>=${D}.${k}.${B}-${I} <${D}.${+k+1}.0-0`:Z=`>=${D}.${k}.${B}-${I} <${+D+1}.0.0-0`):(i("no pr"),D==="0"?k==="0"?Z=`>=${D}.${k}.${B}${O} <${D}.${k}.${+B+1}-0`:Z=`>=${D}.${k}.${B}${O} <${D}.${+k+1}.0-0`:Z=`>=${D}.${k}.${B} <${+D+1}.0.0-0`),i("caret return",Z),Z})},M=(w,E)=>(i("replaceXRanges",w,E),w.split(/\s+/).map(R=>N(R,E)).join(" ")),N=(w,E)=>{w=w.trim();const R=E.loose?f[a.XRANGELOOSE]:f[a.XRANGE];return w.replace(R,(O,x,D,k,B,I)=>{i("xRange",w,O,x,D,k,B,I);const Z=g(D),U=Z||g(k),G=U||g(B),W=G;return x==="="&&W&&(x=""),I=E.includePrerelease?"-0":"",Z?x===">"||x==="<"?O="<0.0.0-0":O="*":x&&W?(U&&(k=0),B=0,x===">"?(x=">=",U?(D=+D+1,k=0,B=0):(k=+k+1,B=0)):x==="<="&&(x="<",U?D=+D+1:k=+k+1),x==="<"&&(I="-0"),O=`${x+D}.${k}.${B}${I}`):U?O=`>=${D}.0.0${I} <${+D+1}.0.0-0`:G&&(O=`>=${D}.${k}.0${I} <${D}.${+k+1}.0-0`),i("xRange return",O),O})},T=(w,E)=>(i("replaceStars",w,E),w.trim().replace(f[a.STAR],"")),v=(w,E)=>(i("replaceGTE0",w,E),w.trim().replace(f[E.includePrerelease?a.GTE0PRE:a.GTE0],"")),L=w=>(E,R,O,x,D,k,B,I,Z,U,G,W,Y)=>(g(O)?R="":g(x)?R=`>=${O}.0.0${w?"-0":""}`:g(D)?R=`>=${O}.${x}.0${w?"-0":""}`:k?R=`>=${R}`:R=`>=${R}${w?"-0":""}`,g(Z)?I="":g(U)?I=`<${+Z+1}.0.0-0`:g(G)?I=`<${Z}.${+U+1}.0-0`:W?I=`<=${Z}.${U}.${G}-${W}`:w?I=`<${Z}.${U}.${+G+1}-0`:I=`<=${I}`,`${R} ${I}`.trim()),P=(w,E,R)=>{for(let O=0;O<w.length;O++)if(!w[O].test(E))return!1;if(E.prerelease.length&&!R.includePrerelease){for(let O=0;O<w.length;O++)if(i(w[O].semver),w[O].semver!==r.ANY&&w[O].semver.prerelease.length>0){const x=w[O].semver;if(x.major===E.major&&x.minor===E.minor&&x.patch===E.patch)return!0}return!1}return!0}},39405:(S,A,c)=>{const z=c(33843),{MAX_LENGTH:C,MAX_SAFE_INTEGER:h}=c(88202),{re:t,t:r}=c(90887),i=c(30156),{compareIdentifiers:e}=c(31630);class f{constructor(n,l){if(l=i(l),n instanceof f){if(n.loose===!!l.loose&&n.includePrerelease===!!l.includePrerelease)return n;n=n.version}else if(typeof n!="string")throw new TypeError(`Invalid Version: ${n}`);if(n.length>C)throw new TypeError(`version is longer than ${C} characters`);z("SemVer",n,l),this.options=l,this.loose=!!l.loose,this.includePrerelease=!!l.includePrerelease;const u=n.trim().match(l.loose?t[r.LOOSE]:t[r.FULL]);if(!u)throw new TypeError(`Invalid Version: ${n}`);if(this.raw=n,this.major=+u[1],this.minor=+u[2],this.patch=+u[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");u[4]?this.prerelease=u[4].split(".").map(H=>{if(/^[0-9]+$/.test(H)){const d=+H;if(d>=0&&d<h)return d}return H}):this.prerelease=[],this.build=u[5]?u[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(n){if(z("SemVer.compare",this.version,this.options,n),!(n instanceof f)){if(typeof n=="string"&&n===this.version)return 0;n=new f(n,this.options)}return n.version===this.version?0:this.compareMain(n)||this.comparePre(n)}compareMain(n){return n instanceof f||(n=new f(n,this.options)),e(this.major,n.major)||e(this.minor,n.minor)||e(this.patch,n.patch)}comparePre(n){if(n instanceof f||(n=new f(n,this.options)),this.prerelease.length&&!n.prerelease.length)return-1;if(!this.prerelease.length&&n.prerelease.length)return 1;if(!this.prerelease.length&&!n.prerelease.length)return 0;let l=0;do{const u=this.prerelease[l],H=n.prerelease[l];if(z("prerelease compare",l,u,H),u===void 0&&H===void 0)return 0;if(H===void 0)return 1;if(u===void 0)return-1;if(u===H)continue;return e(u,H)}while(++l)}compareBuild(n){n instanceof f||(n=new f(n,this.options));let l=0;do{const u=this.build[l],H=n.build[l];if(z("prerelease compare",l,u,H),u===void 0&&H===void 0)return 0;if(H===void 0)return 1;if(u===void 0)return-1;if(u===H)continue;return e(u,H)}while(++l)}inc(n,l){switch(n){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",l);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",l);break;case"prepatch":this.prerelease.length=0,this.inc("patch",l),this.inc("pre",l);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",l),this.inc("pre",l);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let u=this.prerelease.length;for(;--u>=0;)typeof this.prerelease[u]=="number"&&(this.prerelease[u]++,u=-2);u===-1&&this.prerelease.push(0)}l&&(e(this.prerelease[0],l)===0?isNaN(this.prerelease[1])&&(this.prerelease=[l,0]):this.prerelease=[l,0]);break;default:throw new Error(`invalid increment argument: ${n}`)}return this.format(),this.raw=this.version,this}}S.exports=f},10953:(S,A,c)=>{const z=c(15497),C=(h,t)=>{const r=z(h.trim().replace(/^[=v]+/,""),t);return r?r.version:null};S.exports=C},62401:(S,A,c)=>{const z=c(38896),C=c(38378),h=c(99261),t=c(56647),r=c(63433),i=c(64622),e=(f,a,n,l)=>{switch(a){case"===":return typeof f=="object"&&(f=f.version),typeof n=="object"&&(n=n.version),f===n;case"!==":return typeof f=="object"&&(f=f.version),typeof n=="object"&&(n=n.version),f!==n;case"":case"=":case"==":return z(f,n,l);case"!=":return C(f,n,l);case">":return h(f,n,l);case">=":return t(f,n,l);case"<":return r(f,n,l);case"<=":return i(f,n,l);default:throw new TypeError(`Invalid operator: ${a}`)}};S.exports=e},36839:(S,A,c)=>{const z=c(39405),C=c(15497),{re:h,t}=c(90887),r=(i,e)=>{if(i instanceof z)return i;if(typeof i=="number"&&(i=String(i)),typeof i!="string")return null;e=e||{};let f=null;if(!e.rtl)f=i.match(h[t.COERCE]);else{let a;for(;(a=h[t.COERCERTL].exec(i))&&(!f||f.index+f[0].length!==i.length);)(!f||a.index+a[0].length!==f.index+f[0].length)&&(f=a),h[t.COERCERTL].lastIndex=a.index+a[1].length+a[2].length;h[t.COERCERTL].lastIndex=-1}return f===null?null:C(`${f[2]}.${f[3]||"0"}.${f[4]||"0"}`,e)};S.exports=r},6218:(S,A,c)=>{const z=c(39405),C=(h,t,r)=>{const i=new z(h,r),e=new z(t,r);return i.compare(e)||i.compareBuild(e)};S.exports=C},9643:(S,A,c)=>{const z=c(73308),C=(h,t)=>z(h,t,!0);S.exports=C},73308:(S,A,c)=>{const z=c(39405),C=(h,t,r)=>new z(h,r).compare(new z(t,r));S.exports=C},93948:(S,A,c)=>{const z=c(15497),C=c(38896),h=(t,r)=>{if(C(t,r))return null;{const i=z(t),e=z(r),f=i.prerelease.length||e.prerelease.length,a=f?"pre":"",n=f?"prerelease":"";for(const l in i)if((l==="major"||l==="minor"||l==="patch")&&i[l]!==e[l])return a+l;return n}};S.exports=h},38896:(S,A,c)=>{const z=c(73308),C=(h,t,r)=>z(h,t,r)===0;S.exports=C},99261:(S,A,c)=>{const z=c(73308),C=(h,t,r)=>z(h,t,r)>0;S.exports=C},56647:(S,A,c)=>{const z=c(73308),C=(h,t,r)=>z(h,t,r)>=0;S.exports=C},35791:(S,A,c)=>{const z=c(39405),C=(h,t,r,i)=>{typeof r=="string"&&(i=r,r=void 0);try{return new z(h instanceof z?h.version:h,r).inc(t,i).version}catch(e){return null}};S.exports=C},63433:(S,A,c)=>{const z=c(73308),C=(h,t,r)=>z(h,t,r)<0;S.exports=C},64622:(S,A,c)=>{const z=c(73308),C=(h,t,r)=>z(h,t,r)<=0;S.exports=C},60629:(S,A,c)=>{const z=c(39405),C=(h,t)=>new z(h,t).major;S.exports=C},59986:(S,A,c)=>{const z=c(39405),C=(h,t)=>new z(h,t).minor;S.exports=C},38378:(S,A,c)=>{const z=c(73308),C=(h,t,r)=>z(h,t,r)!==0;S.exports=C},15497:(S,A,c)=>{const{MAX_LENGTH:z}=c(88202),{re:C,t:h}=c(90887),t=c(39405),r=c(30156),i=(e,f)=>{if(f=r(f),e instanceof t)return e;if(typeof e!="string"||e.length>z||!(f.loose?C[h.LOOSE]:C[h.FULL]).test(e))return null;try{return new t(e,f)}catch(n){return null}};S.exports=i},89800:(S,A,c)=>{const z=c(39405),C=(h,t)=>new z(h,t).patch;S.exports=C},44408:(S,A,c)=>{const z=c(15497),C=(h,t)=>{const r=z(h,t);return r&&r.prerelease.length?r.prerelease:null};S.exports=C},80762:(S,A,c)=>{const z=c(73308),C=(h,t,r)=>z(t,h,r);S.exports=C},72743:(S,A,c)=>{const z=c(6218),C=(h,t)=>h.sort((r,i)=>z(i,r,t));S.exports=C},15312:(S,A,c)=>{const z=c(14355),C=(h,t,r)=>{try{t=new z(t,r)}catch(i){return!1}return t.test(h)};S.exports=C},52354:(S,A,c)=>{const z=c(6218),C=(h,t)=>h.sort((r,i)=>z(r,i,t));S.exports=C},21410:(S,A,c)=>{const z=c(15497),C=(h,t)=>{const r=z(h,t);return r?r.version:null};S.exports=C},54770:(S,A,c)=>{const z=c(90887);S.exports={re:z.re,src:z.src,tokens:z.t,SEMVER_SPEC_VERSION:c(88202).SEMVER_SPEC_VERSION,SemVer:c(39405),compareIdentifiers:c(31630).compareIdentifiers,rcompareIdentifiers:c(31630).rcompareIdentifiers,parse:c(15497),valid:c(21410),clean:c(10953),inc:c(35791),diff:c(93948),major:c(60629),minor:c(59986),patch:c(89800),prerelease:c(44408),compare:c(73308),rcompare:c(80762),compareLoose:c(9643),compareBuild:c(6218),sort:c(52354),rsort:c(72743),gt:c(99261),lt:c(63433),eq:c(38896),neq:c(38378),gte:c(56647),lte:c(64622),cmp:c(62401),coerce:c(36839),Comparator:c(84074),Range:c(14355),satisfies:c(15312),toComparators:c(59663),maxSatisfying:c(94931),minSatisfying:c(65891),minVersion:c(24925),validRange:c(69965),outside:c(93260),gtr:c(60715),ltr:c(30006),intersects:c(9560),simplifyRange:c(77795),subset:c(57732)}},88202:S=>{const A="2.0.0",z=Number.MAX_SAFE_INTEGER||9007199254740991,C=16;S.exports={SEMVER_SPEC_VERSION:A,MAX_LENGTH:256,MAX_SAFE_INTEGER:z,MAX_SAFE_COMPONENT_LENGTH:C}},33843:(S,A,c)=>{var z=c(13158),C=c(98399);const h=typeof z=="object"&&{ADMIN_PATH:"/admin/",NODE_ENV:"production",STRAPI_ADMIN_BACKEND_URL:"http://localhost:1337"}&&{ADMIN_PATH:"/admin/",NODE_ENV:"production",STRAPI_ADMIN_BACKEND_URL:"http://localhost:1337"}.NODE_DEBUG&&/\bsemver\b/i.test({ADMIN_PATH:"/admin/",NODE_ENV:"production",STRAPI_ADMIN_BACKEND_URL:"http://localhost:1337"}.NODE_DEBUG)?(...t)=>C.error("SEMVER",...t):()=>{};S.exports=h},31630:S=>{const A=/^[0-9]+$/,c=(C,h)=>{const t=A.test(C),r=A.test(h);return t&&r&&(C=+C,h=+h),C===h?0:t&&!r?-1:r&&!t?1:C<h?-1:1},z=(C,h)=>c(h,C);S.exports={compareIdentifiers:c,rcompareIdentifiers:z}},30156:S=>{const A=["includePrerelease","loose","rtl"],c=z=>z?typeof z!="object"?{loose:!0}:A.filter(C=>z[C]).reduce((C,h)=>(C[h]=!0,C),{}):{};S.exports=c},90887:(S,A,c)=>{const{MAX_SAFE_COMPONENT_LENGTH:z}=c(88202),C=c(33843);A=S.exports={};const h=A.re=[],t=A.src=[],r=A.t={};let i=0;const e=(f,a,n)=>{const l=i++;C(f,l,a),r[f]=l,t[l]=a,h[l]=new RegExp(a,n?"g":void 0)};e("NUMERICIDENTIFIER","0|[1-9]\\d*"),e("NUMERICIDENTIFIERLOOSE","[0-9]+"),e("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),e("MAINVERSION",`(${t[r.NUMERICIDENTIFIER]})\\.(${t[r.NUMERICIDENTIFIER]})\\.(${t[r.NUMERICIDENTIFIER]})`),e("MAINVERSIONLOOSE",`(${t[r.NUMERICIDENTIFIERLOOSE]})\\.(${t[r.NUMERICIDENTIFIERLOOSE]})\\.(${t[r.NUMERICIDENTIFIERLOOSE]})`),e("PRERELEASEIDENTIFIER",`(?:${t[r.NUMERICIDENTIFIER]}|${t[r.NONNUMERICIDENTIFIER]})`),e("PRERELEASEIDENTIFIERLOOSE",`(?:${t[r.NUMERICIDENTIFIERLOOSE]}|${t[r.NONNUMERICIDENTIFIER]})`),e("PRERELEASE",`(?:-(${t[r.PRERELEASEIDENTIFIER]}(?:\\.${t[r.PRERELEASEIDENTIFIER]})*))`),e("PRERELEASELOOSE",`(?:-?(${t[r.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${t[r.PRERELEASEIDENTIFIERLOOSE]})*))`),e("BUILDIDENTIFIER","[0-9A-Za-z-]+"),e("BUILD",`(?:\\+(${t[r.BUILDIDENTIFIER]}(?:\\.${t[r.BUILDIDENTIFIER]})*))`),e("FULLPLAIN",`v?${t[r.MAINVERSION]}${t[r.PRERELEASE]}?${t[r.BUILD]}?`),e("FULL",`^${t[r.FULLPLAIN]}$`),e("LOOSEPLAIN",`[v=\\s]*${t[r.MAINVERSIONLOOSE]}${t[r.PRERELEASELOOSE]}?${t[r.BUILD]}?`),e("LOOSE",`^${t[r.LOOSEPLAIN]}$`),e("GTLT","((?:<|>)?=?)"),e("XRANGEIDENTIFIERLOOSE",`${t[r.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),e("XRANGEIDENTIFIER",`${t[r.NUMERICIDENTIFIER]}|x|X|\\*`),e("XRANGEPLAIN",`[v=\\s]*(${t[r.XRANGEIDENTIFIER]})(?:\\.(${t[r.XRANGEIDENTIFIER]})(?:\\.(${t[r.XRANGEIDENTIFIER]})(?:${t[r.PRERELEASE]})?${t[r.BUILD]}?)?)?`),e("XRANGEPLAINLOOSE",`[v=\\s]*(${t[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${t[r.XRANGEIDENTIFIERLOOSE]})(?:${t[r.PRERELEASELOOSE]})?${t[r.BUILD]}?)?)?`),e("XRANGE",`^${t[r.GTLT]}\\s*${t[r.XRANGEPLAIN]}$`),e("XRANGELOOSE",`^${t[r.GTLT]}\\s*${t[r.XRANGEPLAINLOOSE]}$`),e("COERCE",`(^|[^\\d])(\\d{1,${z}})(?:\\.(\\d{1,${z}}))?(?:\\.(\\d{1,${z}}))?(?:$|[^\\d])`),e("COERCERTL",t[r.COERCE],!0),e("LONETILDE","(?:~>?)"),e("TILDETRIM",`(\\s*)${t[r.LONETILDE]}\\s+`,!0),A.tildeTrimReplace="$1~",e("TILDE",`^${t[r.LONETILDE]}${t[r.XRANGEPLAIN]}$`),e("TILDELOOSE",`^${t[r.LONETILDE]}${t[r.XRANGEPLAINLOOSE]}$`),e("LONECARET","(?:\\^)"),e("CARETTRIM",`(\\s*)${t[r.LONECARET]}\\s+`,!0),A.caretTrimReplace="$1^",e("CARET",`^${t[r.LONECARET]}${t[r.XRANGEPLAIN]}$`),e("CARETLOOSE",`^${t[r.LONECARET]}${t[r.XRANGEPLAINLOOSE]}$`),e("COMPARATORLOOSE",`^${t[r.GTLT]}\\s*(${t[r.LOOSEPLAIN]})$|^$`),e("COMPARATOR",`^${t[r.GTLT]}\\s*(${t[r.FULLPLAIN]})$|^$`),e("COMPARATORTRIM",`(\\s*)${t[r.GTLT]}\\s*(${t[r.LOOSEPLAIN]}|${t[r.XRANGEPLAIN]})`,!0),A.comparatorTrimReplace="$1$2$3",e("HYPHENRANGE",`^\\s*(${t[r.XRANGEPLAIN]})\\s+-\\s+(${t[r.XRANGEPLAIN]})\\s*$`),e("HYPHENRANGELOOSE",`^\\s*(${t[r.XRANGEPLAINLOOSE]})\\s+-\\s+(${t[r.XRANGEPLAINLOOSE]})\\s*$`),e("STAR","(<|>)?=?\\s*\\*"),e("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),e("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},60715:(S,A,c)=>{const z=c(93260),C=(h,t,r)=>z(h,t,">",r);S.exports=C},9560:(S,A,c)=>{const z=c(14355),C=(h,t,r)=>(h=new z(h,r),t=new z(t,r),h.intersects(t));S.exports=C},30006:(S,A,c)=>{const z=c(93260),C=(h,t,r)=>z(h,t,"<",r);S.exports=C},94931:(S,A,c)=>{const z=c(39405),C=c(14355),h=(t,r,i)=>{let e=null,f=null,a=null;try{a=new C(r,i)}catch(n){return null}return t.forEach(n=>{a.test(n)&&(!e||f.compare(n)===-1)&&(e=n,f=new z(e,i))}),e};S.exports=h},65891:(S,A,c)=>{const z=c(39405),C=c(14355),h=(t,r,i)=>{let e=null,f=null,a=null;try{a=new C(r,i)}catch(n){return null}return t.forEach(n=>{a.test(n)&&(!e||f.compare(n)===1)&&(e=n,f=new z(e,i))}),e};S.exports=h},24925:(S,A,c)=>{const z=c(39405),C=c(14355),h=c(99261),t=(r,i)=>{r=new C(r,i);let e=new z("0.0.0");if(r.test(e)||(e=new z("0.0.0-0"),r.test(e)))return e;e=null;for(let f=0;f<r.set.length;++f){const a=r.set[f];let n=null;a.forEach(l=>{const u=new z(l.semver.version);switch(l.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!n||h(u,n))&&(n=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${l.operator}`)}}),n&&(!e||h(e,n))&&(e=n)}return e&&r.test(e)?e:null};S.exports=t},93260:(S,A,c)=>{const z=c(39405),C=c(84074),{ANY:h}=C,t=c(14355),r=c(15312),i=c(99261),e=c(63433),f=c(64622),a=c(56647),n=(l,u,H,d)=>{l=new z(l,d),u=new t(u,d);let b,V,g,o,p;switch(H){case">":b=i,V=f,g=e,o=">",p=">=";break;case"<":b=e,V=a,g=i,o="<",p="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(r(l,u,d))return!1;for(let m=0;m<u.set.length;++m){const s=u.set[m];let M=null,N=null;if(s.forEach(T=>{T.semver===h&&(T=new C(">=0.0.0")),M=M||T,N=N||T,b(T.semver,M.semver,d)?M=T:g(T.semver,N.semver,d)&&(N=T)}),M.operator===o||M.operator===p||(!N.operator||N.operator===o)&&V(l,N.semver))return!1;if(N.operator===p&&g(l,N.semver))return!1}return!0};S.exports=n},77795:(S,A,c)=>{const z=c(15312),C=c(73308);S.exports=(h,t,r)=>{const i=[];let e=null,f=null;const a=h.sort((H,d)=>C(H,d,r));for(const H of a)z(H,t,r)?(f=H,e||(e=H)):(f&&i.push([e,f]),f=null,e=null);e&&i.push([e,null]);const n=[];for(const[H,d]of i)H===d?n.push(H):!d&&H===a[0]?n.push("*"):d?H===a[0]?n.push(`<=${d}`):n.push(`${H} - ${d}`):n.push(`>=${H}`);const l=n.join(" || "),u=typeof t.raw=="string"?t.raw:String(t);return l.length<u.length?l:t}},57732:(S,A,c)=>{const z=c(14355),C=c(84074),{ANY:h}=C,t=c(15312),r=c(73308),i=(n,l,u={})=>{if(n===l)return!0;n=new z(n,u),l=new z(l,u);let H=!1;c:for(const d of n.set){for(const b of l.set){const V=e(d,b,u);if(H=H||V!==null,V)continue c}if(H)return!1}return!0},e=(n,l,u)=>{if(n===l)return!0;if(n.length===1&&n[0].semver===h){if(l.length===1&&l[0].semver===h)return!0;u.includePrerelease?n=[new C(">=0.0.0-0")]:n=[new C(">=0.0.0")]}if(l.length===1&&l[0].semver===h){if(u.includePrerelease)return!0;l=[new C(">=0.0.0")]}const H=new Set;let d,b;for(const N of n)N.operator===">"||N.operator===">="?d=f(d,N,u):N.operator==="<"||N.operator==="<="?b=a(b,N,u):H.add(N.semver);if(H.size>1)return null;let V;if(d&&b){if(V=r(d.semver,b.semver,u),V>0)return null;if(V===0&&(d.operator!==">="||b.operator!=="<="))return null}for(const N of H){if(d&&!t(N,String(d),u)||b&&!t(N,String(b),u))return null;for(const T of l)if(!t(N,String(T),u))return!1;return!0}let g,o,p,m,s=b&&!u.includePrerelease&&b.semver.prerelease.length?b.semver:!1,M=d&&!u.includePrerelease&&d.semver.prerelease.length?d.semver:!1;s&&s.prerelease.length===1&&b.operator==="<"&&s.prerelease[0]===0&&(s=!1);for(const N of l){if(m=m||N.operator===">"||N.operator===">=",p=p||N.operator==="<"||N.operator==="<=",d){if(M&&N.semver.prerelease&&N.semver.prerelease.length&&N.semver.major===M.major&&N.semver.minor===M.minor&&N.semver.patch===M.patch&&(M=!1),N.operator===">"||N.operator===">="){if(g=f(d,N,u),g===N&&g!==d)return!1}else if(d.operator===">="&&!t(d.semver,String(N),u))return!1}if(b){if(s&&N.semver.prerelease&&N.semver.prerelease.length&&N.semver.major===s.major&&N.semver.minor===s.minor&&N.semver.patch===s.patch&&(s=!1),N.operator==="<"||N.operator==="<="){if(o=a(b,N,u),o===N&&o!==b)return!1}else if(b.operator==="<="&&!t(b.semver,String(N),u))return!1}if(!N.operator&&(b||d)&&V!==0)return!1}return!(d&&p&&!b&&V!==0||b&&m&&!d&&V!==0||M||s)},f=(n,l,u)=>{if(!n)return l;const H=r(n.semver,l.semver,u);return H>0?n:H<0||l.operator===">"&&n.operator===">="?l:n},a=(n,l,u)=>{if(!n)return l;const H=r(n.semver,l.semver,u);return H<0?n:H>0||l.operator==="<"&&n.operator==="<="?l:n};S.exports=i},59663:(S,A,c)=>{const z=c(14355),C=(h,t)=>new z(h,t).set.map(r=>r.map(i=>i.value).join(" ").trim().split(" "));S.exports=C},69965:(S,A,c)=>{const z=c(14355),C=(h,t)=>{try{return new z(h,t).range||"*"}catch(r){return null}};S.exports=C},19961:S=>{"use strict";S.exports=function(A){A.prototype[Symbol.iterator]=function*(){for(let c=this.head;c;c=c.next)yield c.value}}},52138:(S,A,c)=>{"use strict";S.exports=z,z.Node=r,z.create=z;function z(i){var e=this;if(e instanceof z||(e=new z),e.tail=null,e.head=null,e.length=0,i&&typeof i.forEach=="function")i.forEach(function(n){e.push(n)});else if(arguments.length>0)for(var f=0,a=arguments.length;f<a;f++)e.push(arguments[f]);return e}z.prototype.removeNode=function(i){if(i.list!==this)throw new Error("removing node which does not belong to this list");var e=i.next,f=i.prev;return e&&(e.prev=f),f&&(f.next=e),i===this.head&&(this.head=e),i===this.tail&&(this.tail=f),i.list.length--,i.next=null,i.prev=null,i.list=null,e},z.prototype.unshiftNode=function(i){if(i!==this.head){i.list&&i.list.removeNode(i);var e=this.head;i.list=this,i.next=e,e&&(e.prev=i),this.head=i,this.tail||(this.tail=i),this.length++}},z.prototype.pushNode=function(i){if(i!==this.tail){i.list&&i.list.removeNode(i);var e=this.tail;i.list=this,i.prev=e,e&&(e.next=i),this.tail=i,this.head||(this.head=i),this.length++}},z.prototype.push=function(){for(var i=0,e=arguments.length;i<e;i++)h(this,arguments[i]);return this.length},z.prototype.unshift=function(){for(var i=0,e=arguments.length;i<e;i++)t(this,arguments[i]);return this.length},z.prototype.pop=function(){if(!!this.tail){var i=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,i}},z.prototype.shift=function(){if(!!this.head){var i=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,i}},z.prototype.forEach=function(i,e){e=e||this;for(var f=this.head,a=0;f!==null;a++)i.call(e,f.value,a,this),f=f.next},z.prototype.forEachReverse=function(i,e){e=e||this;for(var f=this.tail,a=this.length-1;f!==null;a--)i.call(e,f.value,a,this),f=f.prev},z.prototype.get=function(i){for(var e=0,f=this.head;f!==null&&e<i;e++)f=f.next;if(e===i&&f!==null)return f.value},z.prototype.getReverse=function(i){for(var e=0,f=this.tail;f!==null&&e<i;e++)f=f.prev;if(e===i&&f!==null)return f.value},z.prototype.map=function(i,e){e=e||this;for(var f=new z,a=this.head;a!==null;)f.push(i.call(e,a.value,this)),a=a.next;return f},z.prototype.mapReverse=function(i,e){e=e||this;for(var f=new z,a=this.tail;a!==null;)f.push(i.call(e,a.value,this)),a=a.prev;return f},z.prototype.reduce=function(i,e){var f,a=this.head;if(arguments.length>1)f=e;else if(this.head)a=this.head.next,f=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=0;a!==null;n++)f=i(f,a.value,n),a=a.next;return f},z.prototype.reduceReverse=function(i,e){var f,a=this.tail;if(arguments.length>1)f=e;else if(this.tail)a=this.tail.prev,f=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var n=this.length-1;a!==null;n--)f=i(f,a.value,n),a=a.prev;return f},z.prototype.toArray=function(){for(var i=new Array(this.length),e=0,f=this.head;f!==null;e++)i[e]=f.value,f=f.next;return i},z.prototype.toArrayReverse=function(){for(var i=new Array(this.length),e=0,f=this.tail;f!==null;e++)i[e]=f.value,f=f.prev;return i},z.prototype.slice=function(i,e){e=e||this.length,e<0&&(e+=this.length),i=i||0,i<0&&(i+=this.length);var f=new z;if(e<i||e<0)return f;i<0&&(i=0),e>this.length&&(e=this.length);for(var a=0,n=this.head;n!==null&&a<i;a++)n=n.next;for(;n!==null&&a<e;a++,n=n.next)f.push(n.value);return f},z.prototype.sliceReverse=function(i,e){e=e||this.length,e<0&&(e+=this.length),i=i||0,i<0&&(i+=this.length);var f=new z;if(e<i||e<0)return f;i<0&&(i=0),e>this.length&&(e=this.length);for(var a=this.length,n=this.tail;n!==null&&a>e;a--)n=n.prev;for(;n!==null&&a>i;a--,n=n.prev)f.push(n.value);return f},z.prototype.splice=function(i,e,...f){i>this.length&&(i=this.length-1),i<0&&(i=this.length+i);for(var a=0,n=this.head;n!==null&&a<i;a++)n=n.next;for(var l=[],a=0;n&&a<e;a++)l.push(n.value),n=this.removeNode(n);n===null&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev);for(var a=0;a<f.length;a++)n=C(this,n,f[a]);return l},z.prototype.reverse=function(){for(var i=this.head,e=this.tail,f=i;f!==null;f=f.prev){var a=f.prev;f.prev=f.next,f.next=a}return this.head=e,this.tail=i,this};function C(i,e,f){var a=e===i.head?new r(f,null,e,i):new r(f,e,e.next,i);return a.next===null&&(i.tail=a),a.prev===null&&(i.head=a),i.length++,a}function h(i,e){i.tail=new r(e,i.tail,null,i),i.head||(i.head=i.tail),i.length++}function t(i,e){i.head=new r(e,null,i.head,i),i.tail||(i.tail=i.head),i.length++}function r(i,e,f,a){if(!(this instanceof r))return new r(i,e,f,a);this.list=a,this.value=i,e?(e.next=this,this.prev=e):this.prev=null,f?(f.prev=this,this.next=f):this.next=null}try{c(19961)(z)}catch(i){}}}]);
|