@strapi/admin 4.6.0 → 4.7.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +2 -1
- package/admin/src/assets/images/onboarding-preview.png +0 -0
- package/admin/src/components/AuthenticatedApp/utils/api.js +5 -4
- package/admin/src/components/LeftMenu/index.js +9 -3
- package/admin/src/content-manager/components/CollectionTypeFormWrapper/index.js +18 -16
- package/admin/src/content-manager/components/DynamicTable/CellContent/RelationMultiple/index.js +5 -5
- package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/findLeafByPathAndReplace.js +1 -3
- package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/schema.js +6 -5
- package/admin/src/content-manager/components/InputUID/index.js +4 -4
- package/admin/src/content-manager/components/Inputs/index.js +0 -2
- package/admin/src/content-manager/components/SingleTypeFormWrapper/index.js +35 -14
- package/admin/src/content-manager/hooks/useFetchContentTypeLayout/index.js +4 -3
- package/admin/src/content-manager/hooks/useLazyComponents/index.js +9 -13
- package/admin/src/content-manager/hooks/useRelation/useRelation.js +4 -4
- package/admin/src/content-manager/pages/App/useModels.js +8 -3
- package/admin/src/content-manager/pages/App/utils/getContentTypeLinks.js +3 -2
- package/admin/src/content-manager/pages/ComponentSetttingsView/index.js +4 -4
- package/admin/src/content-manager/pages/EditSettingsView/utils/api.js +4 -2
- package/admin/src/content-manager/pages/ListSettingsView/utils/api.js +4 -2
- package/admin/src/content-manager/pages/ListView/index.js +9 -9
- package/admin/src/core/utils/index.js +0 -1
- package/admin/src/hooks/useFetchEnabledPlugins/utils/api.js +3 -2
- package/admin/src/hooks/useInjectReducer/index.js +1 -0
- package/admin/src/hooks/useInjectReducer/useInjectReducer.js +19 -0
- package/admin/src/hooks/useRegenerate/index.js +4 -4
- package/admin/src/hooks/useRolesList/index.js +5 -3
- package/admin/src/hooks/useSettingsMenu/utils/defaultGlobalLinks.js +7 -0
- package/admin/src/index.js +4 -3
- package/admin/src/pages/Admin/Onboarding/constants.js +46 -0
- package/admin/src/pages/Admin/Onboarding/index.js +161 -89
- package/admin/src/pages/Admin/index.js +5 -2
- package/admin/src/pages/ProfilePage/utils/api.js +5 -3
- package/admin/src/pages/SettingsPage/{pages/Users/ListPage → components}/Filters/index.js +0 -0
- package/admin/src/pages/SettingsPage/{pages/ApiTokens/EditView/components → components/Tokens}/FormHead/index.js +36 -19
- package/admin/src/pages/SettingsPage/components/Tokens/FormiTokenContainer/LifeSpanInput.js +96 -0
- package/admin/src/pages/SettingsPage/components/Tokens/LifeSpanInput/index.js +98 -0
- package/admin/src/pages/SettingsPage/components/Tokens/Regenerate/index.js +73 -0
- package/admin/src/pages/SettingsPage/{pages/ApiTokens/ListView/DynamicTable → components/Tokens/Table}/DefaultButton/index.js +1 -1
- package/admin/src/pages/SettingsPage/{pages/ApiTokens/ListView/DynamicTable → components/Tokens/Table}/DeleteButton/index.js +1 -1
- package/admin/src/pages/SettingsPage/{pages/ApiTokens/ListView/DynamicTable → components/Tokens/Table}/ReadButton/index.js +0 -0
- package/admin/src/pages/SettingsPage/{pages/ApiTokens/ListView/DynamicTable → components/Tokens/Table}/UpdateButton/index.js +0 -0
- package/admin/src/pages/SettingsPage/components/Tokens/Table/index.js +135 -0
- package/admin/src/pages/SettingsPage/{pages/ApiTokens/EditView/components/ContentBox → components/Tokens/TokenBox}/index.js +17 -17
- package/admin/src/pages/SettingsPage/components/Tokens/TokenDescription/index.js +51 -0
- package/admin/src/pages/SettingsPage/components/Tokens/TokenName/index.js +46 -0
- package/admin/src/pages/SettingsPage/components/Tokens/TokenTypeSelect/index.js +69 -0
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/CollapsableContentType/index.js +5 -3
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/FormApiTokenContainer/index.js +52 -142
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/Regenerate/index.js +5 -1
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/index.js +43 -19
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/index.js +9 -16
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/utils/api.js +5 -3
- package/admin/src/pages/SettingsPage/pages/TransferTokens/EditView/components/FormTransferTokenContainer/index.js +105 -0
- package/admin/src/pages/SettingsPage/pages/TransferTokens/EditView/components/LoadingView/index.js +50 -0
- package/admin/src/pages/SettingsPage/pages/TransferTokens/EditView/index.js +201 -0
- package/admin/src/pages/SettingsPage/pages/TransferTokens/EditView/utils/getDateOfExpiration.js +16 -0
- package/admin/src/pages/SettingsPage/pages/TransferTokens/EditView/utils/index.js +4 -0
- package/admin/src/pages/SettingsPage/pages/TransferTokens/EditView/utils/schema.js +10 -0
- package/admin/src/pages/SettingsPage/pages/TransferTokens/ListView/index.js +182 -0
- package/admin/src/pages/SettingsPage/pages/TransferTokens/ListView/utils/tableHeaders.js +48 -0
- package/admin/src/pages/SettingsPage/pages/TransferTokens/ProtectedCreateView/index.js +14 -0
- package/admin/src/pages/SettingsPage/pages/TransferTokens/ProtectedEditView/index.js +14 -0
- package/admin/src/pages/SettingsPage/pages/TransferTokens/ProtectedListView/index.js +12 -0
- package/admin/src/pages/SettingsPage/pages/Users/EditPage/utils/api.js +6 -3
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/ModalForm/index.js +9 -3
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/utils/api.js +6 -3
- package/admin/src/pages/SettingsPage/pages/Users/components/SelectRoles/index.js +3 -2
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/index.js +3 -2
- package/admin/src/pages/SettingsPage/utils/defaultRoutes.js +33 -0
- package/admin/src/permissions/defaultPermissions.js +8 -0
- package/admin/src/translations/en.json +25 -6
- package/admin/src/translations/eu.json +796 -0
- package/admin/src/translations/languageNativeNames.js +1 -0
- package/admin/src/translations/ru.json +9 -9
- package/build/1412.936ed920.chunk.js +159 -0
- package/build/1683.c8aa7b7c.chunk.js +268 -0
- package/build/19eb2dfcf2603eb55733.png +0 -0
- package/build/2607.2e48dbf8.chunk.js +66 -0
- package/build/2743.6d1632f9.chunk.js +45 -0
- package/build/3075.dc3894fe.chunk.js +108 -0
- package/build/3632.0317b618.chunk.js +138 -0
- package/build/4649.15cc0afe.chunk.js +30 -0
- package/build/{5910.a5374848.chunk.js → 4855.bd092921.chunk.js} +65 -65
- package/build/7259.aa68d808.chunk.js +1 -0
- package/build/7407.883fb1f5.chunk.js +1 -0
- package/build/9707.7290fd92.chunk.js +96 -0
- package/build/Admin-authenticatedApp.f29f6021.chunk.js +79 -0
- package/build/{Admin_homePage.79ab880c.chunk.js → Admin_homePage.b1730882.chunk.js} +1 -1
- package/build/{Admin_marketplace.eabf21b2.chunk.js → Admin_marketplace.ea0316c2.chunk.js} +2 -2
- package/build/Admin_pluginsPage.5c24f963.chunk.js +6 -0
- package/build/Admin_profilePage.59af1978.chunk.js +15 -0
- package/build/Admin_settingsPage.178dc6e3.chunk.js +178 -0
- package/build/admin-app.77a50e1f.chunk.js +112 -0
- package/build/admin-edit-roles-page.446b69dc.chunk.js +1 -0
- package/build/admin-edit-users.2ed69bfd.chunk.js +10 -0
- package/build/admin-users.fc003b10.chunk.js +11 -0
- package/build/{api-tokens-create-page.0e686c30.chunk.js → api-tokens-create-page.0db3aec1.chunk.js} +1 -1
- package/build/{api-tokens-edit-page.d6c7487b.chunk.js → api-tokens-edit-page.671e0e26.chunk.js} +1 -1
- package/build/api-tokens-list-page.7387102c.chunk.js +16 -0
- package/build/audit-logs-settings-page.c3dce30d.chunk.js +1 -0
- package/build/content-manager.42b24d46.chunk.js +1139 -0
- package/build/{content-type-builder-list-view.4243b2b1.chunk.js → content-type-builder-list-view.79e84b36.chunk.js} +1 -6
- package/build/{content-type-builder.365b6bf4.chunk.js → content-type-builder.855db321.chunk.js} +16 -15
- package/build/{email-settings-page.379552b1.chunk.js → email-settings-page.d1fcc7a3.chunk.js} +4 -9
- package/build/en-json.b0748970.chunk.js +1 -0
- package/build/eu-json.fceecd8b.chunk.js +1 -0
- package/build/i18n-settings-page.b8d8753e.chunk.js +60 -0
- package/build/index.html +1 -1
- package/build/main.1022ed01.js +4393 -0
- package/build/ru-json.aa5cd123.chunk.js +1 -0
- package/build/runtime~main.84941a97.js +2 -0
- package/build/sso-settings-page.b85ad080.chunk.js +41 -0
- package/build/transfer-tokens-create-page.16e23791.chunk.js +1 -0
- package/build/transfer-tokens-edit-page.3886c973.chunk.js +1 -0
- package/build/transfer-tokens-list-page.e8010a89.chunk.js +16 -0
- package/build/upload-settings.ef64bbf9.chunk.js +84 -0
- package/build/upload.c5730dfa.chunk.js +33 -0
- package/build/users-advanced-settings-page.fce9908e.chunk.js +8 -0
- package/build/users-email-settings-page.343d0ad2.chunk.js +23 -0
- package/build/users-providers-settings-page.e5a9a3f1.chunk.js +99 -0
- package/build/users-roles-settings-page.66312f31.chunk.js +30 -0
- package/build/webhook-edit-page.73e51e64.chunk.js +75 -0
- package/build/{webhook-list-page.f75ba3f2.chunk.js → webhook-list-page.1134f130.chunk.js} +1 -1
- package/ee/admin/pages/SettingsPage/pages/AuditLogs/ListView/ComboboxFilter/index.js +41 -0
- package/ee/admin/pages/SettingsPage/pages/AuditLogs/ListView/Modal/ActionBody.js +1 -3
- package/ee/admin/pages/SettingsPage/pages/AuditLogs/ListView/TableRows/index.js +1 -1
- package/ee/admin/pages/SettingsPage/pages/AuditLogs/ListView/hooks/useAuditLogsData.js +47 -0
- package/ee/admin/pages/SettingsPage/pages/AuditLogs/ListView/index.js +30 -31
- package/ee/admin/pages/SettingsPage/pages/AuditLogs/ListView/utils/getActionTypesDefaultMessages.js +7 -9
- package/ee/admin/pages/SettingsPage/pages/AuditLogs/ListView/utils/getDisplayedFilters.js +88 -0
- package/ee/admin/pages/SettingsPage/pages/Roles/ListPage/index.js +4 -2
- package/ee/server/migrations/audit-logs-table.js +45 -0
- package/ee/server/register.js +2 -0
- package/ee/server/services/audit-logs.js +11 -1
- package/package.json +30 -30
- package/server/bootstrap.js +2 -0
- package/server/config/admin-actions.js +48 -0
- package/server/content-types/index.js +2 -0
- package/server/content-types/transfer-token-permission.js +36 -0
- package/server/content-types/transfer-token.js +66 -0
- package/server/controllers/admin.js +16 -0
- package/server/controllers/api-token.js +4 -5
- package/server/controllers/index.js +1 -0
- package/server/controllers/transfer/index.js +13 -0
- package/server/controllers/transfer/runner.js +24 -0
- package/server/controllers/transfer/token.js +131 -0
- package/server/register.js +2 -9
- package/server/routes/index.js +2 -0
- package/server/routes/transfer.js +95 -0
- package/server/services/api-token.js +2 -3
- package/server/services/constants.js +6 -0
- package/server/services/index.js +1 -0
- package/server/services/transfer/index.js +6 -0
- package/server/services/transfer/permission.js +22 -0
- package/server/services/transfer/token.js +409 -0
- package/server/strategies/api-token.js +4 -2
- package/server/strategies/data-transfer.js +107 -0
- package/server/strategies/index.js +1 -0
- package/server/utils/index.d.ts +2 -0
- package/server/validation/api-tokens.js +1 -6
- package/server/validation/transfer/index.js +5 -0
- package/server/validation/transfer/token.js +34 -0
- package/admin/src/content-manager/components/InputJSON/FieldWrapper.js +0 -40
- package/admin/src/content-manager/components/InputJSON/Label.js +0 -35
- package/admin/src/content-manager/components/InputJSON/components.js +0 -36
- package/admin/src/content-manager/components/InputJSON/index.js +0 -223
- package/admin/src/content-manager/components/InputJSON/jsonlint.js +0 -680
- package/admin/src/core/utils/axiosInstance.js +0 -40
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/FormBody/index.js +0 -78
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/DynamicTable/index.js +0 -112
- package/build/2607.ce06608e.chunk.js +0 -66
- package/build/2743.dea372fb.chunk.js +0 -42
- package/build/3075.03ebe93d.chunk.js +0 -115
- package/build/3632.963ac97d.chunk.js +0 -138
- package/build/4318.8cb388a5.chunk.js +0 -30
- package/build/4656.a0d43cca.chunk.js +0 -159
- package/build/8633.4af74a50.chunk.js +0 -1
- package/build/9641.a311b612.chunk.js +0 -276
- package/build/9707.62831b4d.chunk.js +0 -101
- package/build/Admin-authenticatedApp.50dc27f9.chunk.js +0 -75
- package/build/Admin_pluginsPage.953e796b.chunk.js +0 -6
- package/build/Admin_profilePage.5c2efda5.chunk.js +0 -15
- package/build/Admin_settingsPage.19cfb9ca.chunk.js +0 -178
- package/build/admin-app.34295b50.chunk.js +0 -112
- package/build/admin-edit-roles-page.d50d9654.chunk.js +0 -1
- package/build/admin-edit-users.912b856d.chunk.js +0 -10
- package/build/admin-users.e36e7111.chunk.js +0 -11
- package/build/api-tokens-list-page.1cd86136.chunk.js +0 -16
- package/build/audit-logs-settings-page.308a6250.chunk.js +0 -1
- package/build/codemirror-addon-closebrackets.71aa4bbd.chunk.js +0 -2
- package/build/codemirror-addon-lint-js.405f70fb.chunk.js +0 -1
- package/build/codemirror-addon-lint.8487ad3d.chunk.js +0 -1
- package/build/codemirror-addon-mark-selection.1928c849.chunk.js +0 -1
- package/build/codemirror-css.359a2a4b.chunk.js +0 -345
- package/build/codemirror-javacript.af237b68.chunk.js +0 -1
- package/build/codemirror-theme.2fe63a16.chunk.js +0 -33
- package/build/content-manager.851f40ce.chunk.js +0 -1170
- package/build/en-json.38d182e5.chunk.js +0 -1
- package/build/i18n-settings-page.3ab28b1a.chunk.js +0 -65
- package/build/main.9f31732e.js +0 -4454
- package/build/ru-json.3b411a39.chunk.js +0 -1
- package/build/runtime~main.2b8e2318.js +0 -2
- package/build/sso-settings-page.b64a44e8.chunk.js +0 -41
- package/build/upload-settings.6c26ff37.chunk.js +0 -89
- package/build/upload.2c69d238.chunk.js +0 -38
- package/build/users-advanced-settings-page.c4270682.chunk.js +0 -13
- package/build/users-email-settings-page.60422a2f.chunk.js +0 -28
- package/build/users-providers-settings-page.e1834060.chunk.js +0 -104
- package/build/users-roles-settings-page.3ef35132.chunk.js +0 -30
- package/build/webhook-edit-page.c0080dc1.chunk.js +0 -75
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[3973],{43470:function(l,o,r){var t=r(42026),d=r.n(t),s=r(23382),a=r.n(s),e=a()(d());e.push([l.id,`/* BASICS */
|
|
2
|
-
|
|
3
|
-
.CodeMirror {
|
|
4
|
-
/* Set height, width, borders, and global font properties here */
|
|
5
|
-
font-family: monospace;
|
|
6
|
-
height: 300px;
|
|
7
|
-
color: black;
|
|
8
|
-
direction: ltr;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/* PADDING */
|
|
12
|
-
|
|
13
|
-
.CodeMirror-lines {
|
|
14
|
-
padding: 4px 0; /* Vertical padding around content */
|
|
15
|
-
}
|
|
16
|
-
.CodeMirror pre.CodeMirror-line,
|
|
17
|
-
.CodeMirror pre.CodeMirror-line-like {
|
|
18
|
-
padding: 0 4px; /* Horizontal padding of content */
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
|
22
|
-
background-color: white; /* The little square between H and V scrollbars */
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* GUTTER */
|
|
26
|
-
|
|
27
|
-
.CodeMirror-gutters {
|
|
28
|
-
border-right: 1px solid #ddd;
|
|
29
|
-
background-color: #f7f7f7;
|
|
30
|
-
white-space: nowrap;
|
|
31
|
-
}
|
|
32
|
-
.CodeMirror-linenumbers {}
|
|
33
|
-
.CodeMirror-linenumber {
|
|
34
|
-
padding: 0 3px 0 5px;
|
|
35
|
-
min-width: 20px;
|
|
36
|
-
text-align: right;
|
|
37
|
-
color: #999;
|
|
38
|
-
white-space: nowrap;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.CodeMirror-guttermarker { color: black; }
|
|
42
|
-
.CodeMirror-guttermarker-subtle { color: #999; }
|
|
43
|
-
|
|
44
|
-
/* CURSOR */
|
|
45
|
-
|
|
46
|
-
.CodeMirror-cursor {
|
|
47
|
-
border-left: 1px solid black;
|
|
48
|
-
border-right: none;
|
|
49
|
-
width: 0;
|
|
50
|
-
}
|
|
51
|
-
/* Shown when moving in bi-directional text */
|
|
52
|
-
.CodeMirror div.CodeMirror-secondarycursor {
|
|
53
|
-
border-left: 1px solid silver;
|
|
54
|
-
}
|
|
55
|
-
.cm-fat-cursor .CodeMirror-cursor {
|
|
56
|
-
width: auto;
|
|
57
|
-
border: 0 !important;
|
|
58
|
-
background: #7e7;
|
|
59
|
-
}
|
|
60
|
-
.cm-fat-cursor div.CodeMirror-cursors {
|
|
61
|
-
z-index: 1;
|
|
62
|
-
}
|
|
63
|
-
.cm-fat-cursor .CodeMirror-line::selection,
|
|
64
|
-
.cm-fat-cursor .CodeMirror-line > span::selection,
|
|
65
|
-
.cm-fat-cursor .CodeMirror-line > span > span::selection { background: transparent; }
|
|
66
|
-
.cm-fat-cursor .CodeMirror-line::-moz-selection,
|
|
67
|
-
.cm-fat-cursor .CodeMirror-line > span::-moz-selection,
|
|
68
|
-
.cm-fat-cursor .CodeMirror-line > span > span::-moz-selection { background: transparent; }
|
|
69
|
-
.cm-fat-cursor { caret-color: transparent; }
|
|
70
|
-
@-moz-keyframes blink {
|
|
71
|
-
0% {}
|
|
72
|
-
50% { background-color: transparent; }
|
|
73
|
-
100% {}
|
|
74
|
-
}
|
|
75
|
-
@-webkit-keyframes blink {
|
|
76
|
-
0% {}
|
|
77
|
-
50% { background-color: transparent; }
|
|
78
|
-
100% {}
|
|
79
|
-
}
|
|
80
|
-
@keyframes blink {
|
|
81
|
-
0% {}
|
|
82
|
-
50% { background-color: transparent; }
|
|
83
|
-
100% {}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* Can style cursor different in overwrite (non-insert) mode */
|
|
87
|
-
.CodeMirror-overwrite .CodeMirror-cursor {}
|
|
88
|
-
|
|
89
|
-
.cm-tab { display: inline-block; text-decoration: inherit; }
|
|
90
|
-
|
|
91
|
-
.CodeMirror-rulers {
|
|
92
|
-
position: absolute;
|
|
93
|
-
left: 0; right: 0; top: -50px; bottom: 0;
|
|
94
|
-
overflow: hidden;
|
|
95
|
-
}
|
|
96
|
-
.CodeMirror-ruler {
|
|
97
|
-
border-left: 1px solid #ccc;
|
|
98
|
-
top: 0; bottom: 0;
|
|
99
|
-
position: absolute;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* DEFAULT THEME */
|
|
103
|
-
|
|
104
|
-
.cm-s-default .cm-header {color: blue;}
|
|
105
|
-
.cm-s-default .cm-quote {color: #090;}
|
|
106
|
-
.cm-negative {color: #d44;}
|
|
107
|
-
.cm-positive {color: #292;}
|
|
108
|
-
.cm-header, .cm-strong {font-weight: bold;}
|
|
109
|
-
.cm-em {font-style: italic;}
|
|
110
|
-
.cm-link {text-decoration: underline;}
|
|
111
|
-
.cm-strikethrough {text-decoration: line-through;}
|
|
112
|
-
|
|
113
|
-
.cm-s-default .cm-keyword {color: #708;}
|
|
114
|
-
.cm-s-default .cm-atom {color: #219;}
|
|
115
|
-
.cm-s-default .cm-number {color: #164;}
|
|
116
|
-
.cm-s-default .cm-def {color: #00f;}
|
|
117
|
-
.cm-s-default .cm-variable,
|
|
118
|
-
.cm-s-default .cm-punctuation,
|
|
119
|
-
.cm-s-default .cm-property,
|
|
120
|
-
.cm-s-default .cm-operator {}
|
|
121
|
-
.cm-s-default .cm-variable-2 {color: #05a;}
|
|
122
|
-
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
|
|
123
|
-
.cm-s-default .cm-comment {color: #a50;}
|
|
124
|
-
.cm-s-default .cm-string {color: #a11;}
|
|
125
|
-
.cm-s-default .cm-string-2 {color: #f50;}
|
|
126
|
-
.cm-s-default .cm-meta {color: #555;}
|
|
127
|
-
.cm-s-default .cm-qualifier {color: #555;}
|
|
128
|
-
.cm-s-default .cm-builtin {color: #30a;}
|
|
129
|
-
.cm-s-default .cm-bracket {color: #997;}
|
|
130
|
-
.cm-s-default .cm-tag {color: #170;}
|
|
131
|
-
.cm-s-default .cm-attribute {color: #00c;}
|
|
132
|
-
.cm-s-default .cm-hr {color: #999;}
|
|
133
|
-
.cm-s-default .cm-link {color: #00c;}
|
|
134
|
-
|
|
135
|
-
.cm-s-default .cm-error {color: #f00;}
|
|
136
|
-
.cm-invalidchar {color: #f00;}
|
|
137
|
-
|
|
138
|
-
.CodeMirror-composing { border-bottom: 2px solid; }
|
|
139
|
-
|
|
140
|
-
/* Default styles for common addons */
|
|
141
|
-
|
|
142
|
-
div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
|
|
143
|
-
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
|
144
|
-
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
|
|
145
|
-
.CodeMirror-activeline-background {background: #e8f2ff;}
|
|
146
|
-
|
|
147
|
-
/* STOP */
|
|
148
|
-
|
|
149
|
-
/* The rest of this file contains styles related to the mechanics of
|
|
150
|
-
the editor. You probably shouldn't touch them. */
|
|
151
|
-
|
|
152
|
-
.CodeMirror {
|
|
153
|
-
position: relative;
|
|
154
|
-
overflow: hidden;
|
|
155
|
-
background: white;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.CodeMirror-scroll {
|
|
159
|
-
overflow: scroll !important; /* Things will break if this is overridden */
|
|
160
|
-
/* 50px is the magic margin used to hide the element's real scrollbars */
|
|
161
|
-
/* See overflow: hidden in .CodeMirror */
|
|
162
|
-
margin-bottom: -50px; margin-right: -50px;
|
|
163
|
-
padding-bottom: 50px;
|
|
164
|
-
height: 100%;
|
|
165
|
-
outline: none; /* Prevent dragging from highlighting the element */
|
|
166
|
-
position: relative;
|
|
167
|
-
z-index: 0;
|
|
168
|
-
}
|
|
169
|
-
.CodeMirror-sizer {
|
|
170
|
-
position: relative;
|
|
171
|
-
border-right: 50px solid transparent;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
|
175
|
-
before actual scrolling happens, thus preventing shaking and
|
|
176
|
-
flickering artifacts. */
|
|
177
|
-
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
|
178
|
-
position: absolute;
|
|
179
|
-
z-index: 6;
|
|
180
|
-
display: none;
|
|
181
|
-
outline: none;
|
|
182
|
-
}
|
|
183
|
-
.CodeMirror-vscrollbar {
|
|
184
|
-
right: 0; top: 0;
|
|
185
|
-
overflow-x: hidden;
|
|
186
|
-
overflow-y: scroll;
|
|
187
|
-
}
|
|
188
|
-
.CodeMirror-hscrollbar {
|
|
189
|
-
bottom: 0; left: 0;
|
|
190
|
-
overflow-y: hidden;
|
|
191
|
-
overflow-x: scroll;
|
|
192
|
-
}
|
|
193
|
-
.CodeMirror-scrollbar-filler {
|
|
194
|
-
right: 0; bottom: 0;
|
|
195
|
-
}
|
|
196
|
-
.CodeMirror-gutter-filler {
|
|
197
|
-
left: 0; bottom: 0;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.CodeMirror-gutters {
|
|
201
|
-
position: absolute; left: 0; top: 0;
|
|
202
|
-
min-height: 100%;
|
|
203
|
-
z-index: 3;
|
|
204
|
-
}
|
|
205
|
-
.CodeMirror-gutter {
|
|
206
|
-
white-space: normal;
|
|
207
|
-
height: 100%;
|
|
208
|
-
display: inline-block;
|
|
209
|
-
vertical-align: top;
|
|
210
|
-
margin-bottom: -50px;
|
|
211
|
-
}
|
|
212
|
-
.CodeMirror-gutter-wrapper {
|
|
213
|
-
position: absolute;
|
|
214
|
-
z-index: 4;
|
|
215
|
-
background: none !important;
|
|
216
|
-
border: none !important;
|
|
217
|
-
}
|
|
218
|
-
.CodeMirror-gutter-background {
|
|
219
|
-
position: absolute;
|
|
220
|
-
top: 0; bottom: 0;
|
|
221
|
-
z-index: 4;
|
|
222
|
-
}
|
|
223
|
-
.CodeMirror-gutter-elt {
|
|
224
|
-
position: absolute;
|
|
225
|
-
cursor: default;
|
|
226
|
-
z-index: 4;
|
|
227
|
-
}
|
|
228
|
-
.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
|
|
229
|
-
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
|
|
230
|
-
|
|
231
|
-
.CodeMirror-lines {
|
|
232
|
-
cursor: text;
|
|
233
|
-
min-height: 1px; /* prevents collapsing before first draw */
|
|
234
|
-
}
|
|
235
|
-
.CodeMirror pre.CodeMirror-line,
|
|
236
|
-
.CodeMirror pre.CodeMirror-line-like {
|
|
237
|
-
/* Reset some styles that the rest of the page might have set */
|
|
238
|
-
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
|
|
239
|
-
border-width: 0;
|
|
240
|
-
background: transparent;
|
|
241
|
-
font-family: inherit;
|
|
242
|
-
font-size: inherit;
|
|
243
|
-
margin: 0;
|
|
244
|
-
white-space: pre;
|
|
245
|
-
word-wrap: normal;
|
|
246
|
-
line-height: inherit;
|
|
247
|
-
color: inherit;
|
|
248
|
-
z-index: 2;
|
|
249
|
-
position: relative;
|
|
250
|
-
overflow: visible;
|
|
251
|
-
-webkit-tap-highlight-color: transparent;
|
|
252
|
-
-webkit-font-variant-ligatures: contextual;
|
|
253
|
-
font-variant-ligatures: contextual;
|
|
254
|
-
}
|
|
255
|
-
.CodeMirror-wrap pre.CodeMirror-line,
|
|
256
|
-
.CodeMirror-wrap pre.CodeMirror-line-like {
|
|
257
|
-
word-wrap: break-word;
|
|
258
|
-
white-space: pre-wrap;
|
|
259
|
-
word-break: normal;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.CodeMirror-linebackground {
|
|
263
|
-
position: absolute;
|
|
264
|
-
left: 0; right: 0; top: 0; bottom: 0;
|
|
265
|
-
z-index: 0;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.CodeMirror-linewidget {
|
|
269
|
-
position: relative;
|
|
270
|
-
z-index: 2;
|
|
271
|
-
padding: 0.1px; /* Force widget margins to stay inside of the container */
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.CodeMirror-widget {}
|
|
275
|
-
|
|
276
|
-
.CodeMirror-rtl pre { direction: rtl; }
|
|
277
|
-
|
|
278
|
-
.CodeMirror-code {
|
|
279
|
-
outline: none;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/* Force content-box sizing for the elements where we expect it */
|
|
283
|
-
.CodeMirror-scroll,
|
|
284
|
-
.CodeMirror-sizer,
|
|
285
|
-
.CodeMirror-gutter,
|
|
286
|
-
.CodeMirror-gutters,
|
|
287
|
-
.CodeMirror-linenumber {
|
|
288
|
-
-moz-box-sizing: content-box;
|
|
289
|
-
box-sizing: content-box;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.CodeMirror-measure {
|
|
293
|
-
position: absolute;
|
|
294
|
-
width: 100%;
|
|
295
|
-
height: 0;
|
|
296
|
-
overflow: hidden;
|
|
297
|
-
visibility: hidden;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.CodeMirror-cursor {
|
|
301
|
-
position: absolute;
|
|
302
|
-
pointer-events: none;
|
|
303
|
-
}
|
|
304
|
-
.CodeMirror-measure pre { position: static; }
|
|
305
|
-
|
|
306
|
-
div.CodeMirror-cursors {
|
|
307
|
-
visibility: hidden;
|
|
308
|
-
position: relative;
|
|
309
|
-
z-index: 3;
|
|
310
|
-
}
|
|
311
|
-
div.CodeMirror-dragcursors {
|
|
312
|
-
visibility: visible;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.CodeMirror-focused div.CodeMirror-cursors {
|
|
316
|
-
visibility: visible;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.CodeMirror-selected { background: #d9d9d9; }
|
|
320
|
-
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
|
321
|
-
.CodeMirror-crosshair { cursor: crosshair; }
|
|
322
|
-
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
|
|
323
|
-
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
|
324
|
-
|
|
325
|
-
.cm-searching {
|
|
326
|
-
background-color: #ffa;
|
|
327
|
-
background-color: rgba(255, 255, 0, .4);
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/* Used to force a border model for a node */
|
|
331
|
-
.cm-force-border { padding-right: .1px; }
|
|
332
|
-
|
|
333
|
-
@media print {
|
|
334
|
-
/* Hide the cursor when printing */
|
|
335
|
-
.CodeMirror div.CodeMirror-cursors {
|
|
336
|
-
visibility: hidden;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
/* See issue #2901 */
|
|
341
|
-
.cm-tab-wrap-hack:after { content: ''; }
|
|
342
|
-
|
|
343
|
-
/* Help users use markselection to safely style text background */
|
|
344
|
-
span.CodeMirror-selectedtext { background: none; }
|
|
345
|
-
`,""]),o.Z=e},65701:function(l,o,r){r.r(o);var t=r(93379),d=r.n(t),s=r(7795),a=r.n(s),e=r(90569),c=r.n(e),_=r(3565),m=r.n(_),u=r(19216),p=r.n(u),g=r(44589),f=r.n(g),i=r(43470),n={};n.styleTagTransform=f(),n.setAttributes=m(),n.insert=c().bind(null,"head"),n.domAPI=a(),n.insertStyleElement=p();var M=d()(i.Z,n);o.default=i.Z&&i.Z.locals?i.Z.locals:void 0}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[3860],{87541:function(be,we,Nr){(function(h){h(Nr(27509))})(function(h){"use strict";h.defineMode("javascript",function(Br,g){var N=Br.indentUnit,br=g.statementIndent,X=g.jsonld,S=g.json||X,wr=g.trackScope!==!1,p=g.typescript,Y=g.wordCharacters||/[\w$\xa1-\uffff]/,hr=function(){function r(v){return{type:v,style:"keyword"}}var e=r("keyword a"),t=r("keyword b"),f=r("keyword c"),u=r("keyword d"),l=r("operator"),m={type:"atom",style:"atom"};return{if:r("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:u,break:u,continue:u,new:r("new"),delete:f,void:f,throw:f,debugger:r("debugger"),var:r("var"),const:r("var"),let:r("var"),function:r("function"),catch:r("catch"),for:r("for"),switch:r("switch"),case:r("case"),default:r("default"),in:l,typeof:l,instanceof:l,true:m,false:m,null:m,undefined:m,NaN:m,Infinity:m,this:r("this"),class:r("class"),super:r("atom"),yield:f,export:r("export"),import:r("import"),extends:f,await:f}}(),xr=/[+\-*&%=<>!?|~^@]/,Fr=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Pr(r){for(var e=!1,t,f=!1;(t=r.next())!=null;){if(!e){if(t=="/"&&!f)return;t=="["?f=!0:f&&t=="]"&&(f=!1)}e=!e&&t=="\\"}}var R,Z;function b(r,e,t){return R=r,Z=t,e}function z(r,e){var t=r.next();if(t=='"'||t=="'")return e.tokenize=Jr(t),e.tokenize(r,e);if(t=="."&&r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return b("number","number");if(t=="."&&r.match(".."))return b("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(t))return b(t);if(t=="="&&r.eat(">"))return b("=>","operator");if(t=="0"&&r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return b("number","number");if(/\d/.test(t))return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),b("number","number");if(t=="/")return r.eat("*")?(e.tokenize=C,C(r,e)):r.eat("/")?(r.skipToEnd(),b("comment","comment")):Or(r,e,1)?(Pr(r),r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),b("regexp","string-2")):(r.eat("="),b("operator","operator",r.current()));if(t=="`")return e.tokenize=U,U(r,e);if(t=="#"&&r.peek()=="!")return r.skipToEnd(),b("meta","meta");if(t=="#"&&r.eatWhile(Y))return b("variable","property");if(t=="<"&&r.match("!--")||t=="-"&&r.match("->")&&!/\S/.test(r.string.slice(0,r.start)))return r.skipToEnd(),b("comment","comment");if(xr.test(t))return(t!=">"||!e.lexical||e.lexical.type!=">")&&(r.eat("=")?(t=="!"||t=="=")&&r.eat("="):/[<>*+\-|&?]/.test(t)&&(r.eat(t),t==">"&&r.eat(t))),t=="?"&&r.eat(".")?b("."):b("operator","operator",r.current());if(Y.test(t)){r.eatWhile(Y);var f=r.current();if(e.lastType!="."){if(hr.propertyIsEnumerable(f)){var u=hr[f];return b(u.type,u.style,f)}if(f=="async"&&r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return b("async","keyword",f)}return b("variable","variable",f)}}function Jr(r){return function(e,t){var f=!1,u;if(X&&e.peek()=="@"&&e.match(Fr))return t.tokenize=z,b("jsonld-keyword","meta");for(;(u=e.next())!=null&&!(u==r&&!f);)f=!f&&u=="\\";return f||(t.tokenize=z),b("string","string")}}function C(r,e){for(var t=!1,f;f=r.next();){if(f=="/"&&t){e.tokenize=z;break}t=f=="*"}return b("comment","comment")}function U(r,e){for(var t=!1,f;(f=r.next())!=null;){if(!t&&(f=="`"||f=="$"&&r.eat("{"))){e.tokenize=z;break}t=!t&&f=="\\"}return b("quasi","string-2",r.current())}var Lr="([{}])";function or(r,e){e.fatArrowAt&&(e.fatArrowAt=null);var t=r.string.indexOf("=>",r.start);if(!(t<0)){if(p){var f=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start,t));f&&(t=f.index)}for(var u=0,l=!1,m=t-1;m>=0;--m){var v=r.string.charAt(m),E=Lr.indexOf(v);if(E>=0&&E<3){if(!u){++m;break}if(--u==0){v=="("&&(l=!0);break}}else if(E>=3&&E<6)++u;else if(Y.test(v))l=!0;else if(/["'\/`]/.test(v))for(;;--m){if(m==0)return;var ke=r.string.charAt(m-1);if(ke==v&&r.string.charAt(m-2)!="\\"){m--;break}}else if(l&&!u){++m;break}}l&&!u&&(e.fatArrowAt=m)}}var Qr={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function vr(r,e,t,f,u,l){this.indented=r,this.column=e,this.type=t,this.prev=u,this.info=l,f!=null&&(this.align=f)}function Rr(r,e){if(!wr)return!1;for(var t=r.localVars;t;t=t.next)if(t.name==e)return!0;for(var f=r.context;f;f=f.prev)for(var t=f.vars;t;t=t.next)if(t.name==e)return!0}function gr(r,e,t,f,u){var l=r.cc;for(i.state=r,i.stream=u,i.marked=null,i.cc=l,i.style=e,r.lexical.hasOwnProperty("align")||(r.lexical.align=!0);;){var m=l.length?l.pop():S?k:w;if(m(t,f)){for(;l.length&&l[l.length-1].lex;)l.pop()();return i.marked?i.marked:t=="variable"&&Rr(r,f)?"variable-2":e}}}var i={state:null,column:null,marked:null,cc:null};function o(){for(var r=arguments.length-1;r>=0;r--)i.cc.push(arguments[r])}function n(){return o.apply(null,arguments),!0}function sr(r,e){for(var t=e;t;t=t.next)if(t.name==r)return!0;return!1}function B(r){var e=i.state;if(i.marked="def",!!wr){if(e.context){if(e.lexical.info=="var"&&e.context&&e.context.block){var t=yr(r,e.context);if(t!=null){e.context=t;return}}else if(!sr(r,e.localVars)){e.localVars=new D(r,e.localVars);return}}g.globalVars&&!sr(r,e.globalVars)&&(e.globalVars=new D(r,e.globalVars))}}function yr(r,e){if(e)if(e.block){var t=yr(r,e.prev);return t?t==e.prev?e:new W(t,e.vars,!0):null}else return sr(r,e.vars)?e:new W(e.prev,new D(r,e.vars),!1);else return null}function rr(r){return r=="public"||r=="private"||r=="protected"||r=="abstract"||r=="readonly"}function W(r,e,t){this.prev=r,this.vars=e,this.block=t}function D(r,e){this.name=r,this.next=e}var Ur=new D("this",new D("arguments",null));function M(){i.state.context=new W(i.state.context,i.state.localVars,!1),i.state.localVars=Ur}function er(){i.state.context=new W(i.state.context,i.state.localVars,!0),i.state.localVars=null}M.lex=er.lex=!0;function j(){i.state.localVars=i.state.context.vars,i.state.context=i.state.context.prev}j.lex=!0;function s(r,e){var t=function(){var f=i.state,u=f.indented;if(f.lexical.type=="stat")u=f.lexical.indented;else for(var l=f.lexical;l&&l.type==")"&&l.align;l=l.prev)u=l.indented;f.lexical=new vr(u,i.stream.column(),r,null,f.lexical,e)};return t.lex=!0,t}function a(){var r=i.state;r.lexical.prev&&(r.lexical.type==")"&&(r.indented=r.lexical.indented),r.lexical=r.lexical.prev)}a.lex=!0;function c(r){function e(t){return t==r?n():r==";"||t=="}"||t==")"||t=="]"?o():n(e)}return e}function w(r,e){return r=="var"?n(s("vardef",e),pr,c(";"),a):r=="keyword a"?n(s("form"),cr,w,a):r=="keyword b"?n(s("form"),w,a):r=="keyword d"?i.stream.match(/^\s*$/,!1)?n():n(s("stat"),F,c(";"),a):r=="debugger"?n(c(";")):r=="{"?n(s("}"),er,ir,a,j):r==";"?n():r=="if"?(i.state.lexical.info=="else"&&i.state.cc[i.state.cc.length-1]==a&&i.state.cc.pop()(),n(s("form"),cr,w,a,Ir)):r=="function"?n(A):r=="for"?n(s("form"),er,Ar,w,j,a):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form",r=="class"?r:e),zr,a)):r=="variable"?p&&e=="declare"?(i.marked="keyword",n(w)):p&&(e=="module"||e=="enum"||e=="type")&&i.stream.match(/^\s*\w/,!1)?(i.marked="keyword",e=="enum"?n(qr):e=="type"?n(Sr,c("operator"),d,c(";")):n(s("form"),_,c("{"),s("}"),ir,a,a)):p&&e=="namespace"?(i.marked="keyword",n(s("form"),k,w,a)):p&&e=="abstract"?(i.marked="keyword",n(w)):n(s("stat"),Xr):r=="switch"?n(s("form"),cr,c("{"),s("}","switch"),er,ir,a,a,j):r=="case"?n(k,c(":")):r=="default"?n(c(":")):r=="catch"?n(s("form"),M,Wr,w,a,j):r=="export"?n(s("stat"),se,a):r=="import"?n(s("stat"),ce,a):r=="async"?n(w):e=="@"?n(k,w):o(s("stat"),k,c(";"),a)}function Wr(r){if(r=="(")return n(O,c(")"))}function k(r,e){return jr(r,e,!1)}function y(r,e){return jr(r,e,!0)}function cr(r){return r!="("?o():n(s(")"),F,c(")"),a)}function jr(r,e,t){if(i.state.fatArrowAt==i.stream.start){var f=t?Er:_r;if(r=="(")return n(M,s(")"),x(O,")"),a,c("=>"),f,j);if(r=="variable")return o(M,_,c("=>"),f,j)}var u=t?P:$;return Qr.hasOwnProperty(r)?n(u):r=="function"?n(A,u):r=="class"||p&&e=="interface"?(i.marked="keyword",n(s("form"),oe,a)):r=="keyword c"||r=="async"?n(t?y:k):r=="("?n(s(")"),F,c(")"),a,u):r=="operator"||r=="spread"?n(t?y:k):r=="["?n(s("]"),de,a,u):r=="{"?K(tr,"}",null,u):r=="quasi"?o(nr,u):r=="new"?n(Kr(t)):n()}function F(r){return r.match(/[;\}\)\],]/)?o():o(k)}function $(r,e){return r==","?n(F):P(r,e,!1)}function P(r,e,t){var f=t==!1?$:P,u=t==!1?k:y;if(r=="=>")return n(M,t?Er:_r,j);if(r=="operator")return/\+\+|--/.test(e)||p&&e=="!"?n(f):p&&e=="<"&&i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?n(s(">"),x(d,">"),a,f):e=="?"?n(k,c(":"),u):n(u);if(r=="quasi")return o(nr,f);if(r!=";"){if(r=="(")return K(y,")","call",f);if(r==".")return n(Yr,f);if(r=="[")return n(s("]"),F,c("]"),a,f);if(p&&e=="as")return i.marked="keyword",n(d,f);if(r=="regexp")return i.state.lastType=i.marked="operator",i.stream.backUp(i.stream.pos-i.stream.start-1),n(u)}}function nr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(nr):n(F,Dr)}function Dr(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(nr)}function _r(r){return or(i.stream,i.state),o(r=="{"?w:k)}function Er(r){return or(i.stream,i.state),o(r=="{"?w:y)}function Kr(r){return function(e){return e=="."?n(r?Gr:Hr):e=="variable"&&p?n(te,r?P:$):o(r?y:k)}}function Hr(r,e){if(e=="target")return i.marked="keyword",n($)}function Gr(r,e){if(e=="target")return i.marked="keyword",n(P)}function Xr(r){return r==":"?n(a,w):o($,c(";"),a)}function Yr(r){if(r=="variable")return i.marked="property",n()}function tr(r,e){if(r=="async")return i.marked="property",n(tr);if(r=="variable"||i.style=="keyword"){if(i.marked="property",e=="get"||e=="set")return n(Zr);var t;return p&&i.state.fatArrowAt==i.stream.start&&(t=i.stream.match(/^\s*:\s*/,!1))&&(i.state.fatArrowAt=i.stream.pos+t[0].length),n(q)}else{if(r=="number"||r=="string")return i.marked=X?"property":i.style+" property",n(q);if(r=="jsonld-keyword")return n(q);if(p&&rr(e))return i.marked="keyword",n(tr);if(r=="[")return n(k,J,c("]"),q);if(r=="spread")return n(y,q);if(e=="*")return i.marked="keyword",n(tr);if(r==":")return o(q)}}function Zr(r){return r!="variable"?o(q):(i.marked="property",n(A))}function q(r){if(r==":")return n(y);if(r=="(")return o(A)}function x(r,e,t){function f(u,l){if(t?t.indexOf(u)>-1:u==","){var m=i.state.lexical;return m.info=="call"&&(m.pos=(m.pos||0)+1),n(function(v,E){return v==e||E==e?o():o(r)},f)}return u==e||l==e?n():t&&t.indexOf(";")>-1?o(r):n(c(e))}return function(u,l){return u==e||l==e?n():o(r,f)}}function K(r,e,t){for(var f=3;f<arguments.length;f++)i.cc.push(arguments[f]);return n(s(e,t),x(r,e),a)}function ir(r){return r=="}"?n():o(w,ir)}function J(r,e){if(p){if(r==":")return n(d);if(e=="?")return n(J)}}function Cr(r,e){if(p&&(r==":"||e=="in"))return n(d)}function Tr(r){if(p&&r==":")return i.stream.match(/^\s*\w+\s+is\b/,!1)?n(k,re,d):n(d)}function re(r,e){if(e=="is")return i.marked="keyword",n()}function d(r,e){if(e=="keyof"||e=="typeof"||e=="infer"||e=="readonly")return i.marked="keyword",n(e=="typeof"?y:d);if(r=="variable"||e=="void")return i.marked="type",n(T);if(e=="|"||e=="&")return n(d);if(r=="string"||r=="number"||r=="atom")return n(T);if(r=="[")return n(s("]"),x(d,"]",","),a,T);if(r=="{")return n(s("}"),lr,a,T);if(r=="(")return n(x(mr,")"),ee,T);if(r=="<")return n(x(d,">"),d);if(r=="quasi")return o(dr,T)}function ee(r){if(r=="=>")return n(d)}function lr(r){return r.match(/[\}\)\]]/)?n():r==","||r==";"?n(lr):o(H,lr)}function H(r,e){if(r=="variable"||i.style=="keyword")return i.marked="property",n(H);if(e=="?"||r=="number"||r=="string")return n(H);if(r==":")return n(d);if(r=="[")return n(c("variable"),Cr,c("]"),H);if(r=="(")return o(Q,H);if(!r.match(/[;\}\)\],]/))return n()}function dr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(dr):n(d,ne)}function ne(r){if(r=="}")return i.marked="string-2",i.state.tokenize=U,n(dr)}function mr(r,e){return r=="variable"&&i.stream.match(/^\s*[?:]/,!1)||e=="?"?n(mr):r==":"?n(d):r=="spread"?n(mr):o(d)}function T(r,e){if(e=="<")return n(s(">"),x(d,">"),a,T);if(e=="|"||r=="."||e=="&")return n(d);if(r=="[")return n(d,c("]"),T);if(e=="extends"||e=="implements")return i.marked="keyword",n(d);if(e=="?")return n(d,c(":"),d)}function te(r,e){if(e=="<")return n(s(">"),x(d,">"),a,T)}function fr(){return o(d,ie)}function ie(r,e){if(e=="=")return n(d)}function pr(r,e){return e=="enum"?(i.marked="keyword",n(qr)):o(_,J,I,ae)}function _(r,e){if(p&&rr(e))return i.marked="keyword",n(_);if(r=="variable")return B(e),n();if(r=="spread")return n(_);if(r=="[")return K(fe,"]");if(r=="{")return K(Vr,"}")}function Vr(r,e){return r=="variable"&&!i.stream.match(/^\s*:/,!1)?(B(e),n(I)):(r=="variable"&&(i.marked="property"),r=="spread"?n(_):r=="}"?o():r=="["?n(k,c("]"),c(":"),Vr):n(c(":"),_,I))}function fe(){return o(_,I)}function I(r,e){if(e=="=")return n(y)}function ae(r){if(r==",")return n(pr)}function Ir(r,e){if(r=="keyword b"&&e=="else")return n(s("form","else"),w,a)}function Ar(r,e){if(e=="await")return n(Ar);if(r=="(")return n(s(")"),ue,a)}function ue(r){return r=="var"?n(pr,L):r=="variable"?n(L):o(L)}function L(r,e){return r==")"?n():r==";"?n(L):e=="in"||e=="of"?(i.marked="keyword",n(k,L)):o(k,L)}function A(r,e){if(e=="*")return i.marked="keyword",n(A);if(r=="variable")return B(e),n(A);if(r=="(")return n(M,s(")"),x(O,")"),a,Tr,w,j);if(p&&e=="<")return n(s(">"),x(fr,">"),a,A)}function Q(r,e){if(e=="*")return i.marked="keyword",n(Q);if(r=="variable")return B(e),n(Q);if(r=="(")return n(M,s(")"),x(O,")"),a,Tr,j);if(p&&e=="<")return n(s(">"),x(fr,">"),a,Q)}function Sr(r,e){if(r=="keyword"||r=="variable")return i.marked="type",n(Sr);if(e=="<")return n(s(">"),x(fr,">"),a)}function O(r,e){return e=="@"&&n(k,O),r=="spread"?n(O):p&&rr(e)?(i.marked="keyword",n(O)):p&&r=="this"?n(J,I):o(_,J,I)}function oe(r,e){return r=="variable"?zr(r,e):ar(r,e)}function zr(r,e){if(r=="variable")return B(e),n(ar)}function ar(r,e){if(e=="<")return n(s(">"),x(fr,">"),a,ar);if(e=="extends"||e=="implements"||p&&r==",")return e=="implements"&&(i.marked="keyword"),n(p?d:k,ar);if(r=="{")return n(s("}"),V,a)}function V(r,e){if(r=="async"||r=="variable"&&(e=="static"||e=="get"||e=="set"||p&&rr(e))&&i.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return i.marked="keyword",n(V);if(r=="variable"||i.style=="keyword")return i.marked="property",n(G,V);if(r=="number"||r=="string")return n(G,V);if(r=="[")return n(k,J,c("]"),G,V);if(e=="*")return i.marked="keyword",n(V);if(p&&r=="(")return o(Q,V);if(r==";"||r==",")return n(V);if(r=="}")return n();if(e=="@")return n(k,V)}function G(r,e){if(e=="!"||e=="?")return n(G);if(r==":")return n(d,I);if(e=="=")return n(y);var t=i.state.lexical.prev,f=t&&t.info=="interface";return o(f?Q:A)}function se(r,e){return e=="*"?(i.marked="keyword",n(kr,c(";"))):e=="default"?(i.marked="keyword",n(k,c(";"))):r=="{"?n(x(Mr,"}"),kr,c(";")):o(w)}function Mr(r,e){if(e=="as")return i.marked="keyword",n(c("variable"));if(r=="variable")return o(y,Mr)}function ce(r){return r=="string"?n():r=="("?o(k):r=="."?o($):o(ur,$r,kr)}function ur(r,e){return r=="{"?K(ur,"}"):(r=="variable"&&B(e),e=="*"&&(i.marked="keyword"),n(le))}function $r(r){if(r==",")return n(ur,$r)}function le(r,e){if(e=="as")return i.marked="keyword",n(ur)}function kr(r,e){if(e=="from")return i.marked="keyword",n(k)}function de(r){return r=="]"?n():o(x(y,"]"))}function qr(){return o(s("form"),_,c("{"),s("}"),x(me,"}"),a,a)}function me(){return o(_,I)}function pe(r,e){return r.lastType=="operator"||r.lastType==","||xr.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}function Or(r,e,t){return e.tokenize==z&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||e.lastType=="quasi"&&/\{\s*$/.test(r.string.slice(0,r.pos-(t||0)))}return{startState:function(r){var e={tokenize:z,lastType:"sof",cc:[],lexical:new vr((r||0)-N,0,"block",!1),localVars:g.localVars,context:g.localVars&&new W(null,null,!1),indented:r||0};return g.globalVars&&typeof g.globalVars=="object"&&(e.globalVars=g.globalVars),e},token:function(r,e){if(r.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=r.indentation(),or(r,e)),e.tokenize!=C&&r.eatSpace())return null;var t=e.tokenize(r,e);return R=="comment"?t:(e.lastType=R=="operator"&&(Z=="++"||Z=="--")?"incdec":R,gr(e,t,R,Z,r))},indent:function(r,e){if(r.tokenize==C||r.tokenize==U)return h.Pass;if(r.tokenize!=z)return 0;var t=e&&e.charAt(0),f=r.lexical,u;if(!/^\s*else\b/.test(e))for(var l=r.cc.length-1;l>=0;--l){var m=r.cc[l];if(m==a)f=f.prev;else if(m!=Ir&&m!=j)break}for(;(f.type=="stat"||f.type=="form")&&(t=="}"||(u=r.cc[r.cc.length-1])&&(u==$||u==P)&&!/^[,\.=+\-*:?[\(]/.test(e));)f=f.prev;br&&f.type==")"&&f.prev.type=="stat"&&(f=f.prev);var v=f.type,E=t==v;return v=="vardef"?f.indented+(r.lastType=="operator"||r.lastType==","?f.info.length+1:0):v=="form"&&t=="{"?f.indented:v=="form"?f.indented+N:v=="stat"?f.indented+(pe(r,e)?br||N:0):f.info=="switch"&&!E&&g.doubleIndentSwitch!=!1?f.indented+(/^(?:case|default)\b/.test(e)?N:2*N):f.align?f.column+(E?0:1):f.indented+(E?0:N)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:S?null:"/*",blockCommentEnd:S?null:"*/",blockCommentContinue:S?null:" * ",lineComment:S?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:S?"json":"javascript",jsonldMode:X,jsonMode:S,expressionAllowed:Or,skipExpression:function(r){gr(r,"atom","atom","true",new h.StringStream("",2,null))}}}),h.registerHelper("wordChars","javascript",/[\w$]/),h.defineMIME("text/javascript","javascript"),h.defineMIME("text/ecmascript","javascript"),h.defineMIME("application/javascript","javascript"),h.defineMIME("application/x-javascript","javascript"),h.defineMIME("application/ecmascript","javascript"),h.defineMIME("application/json",{name:"javascript",json:!0}),h.defineMIME("application/x-json",{name:"javascript",json:!0}),h.defineMIME("application/manifest+json",{name:"javascript",json:!0}),h.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),h.defineMIME("text/typescript",{name:"javascript",typescript:!0}),h.defineMIME("application/typescript",{name:"javascript",typescript:!0})})}}]);
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[2218],{52582:function(n,r,_){var s=_(42026),d=_.n(s),c=_(23382),l=_.n(c),a=l()(d());a.push([n.id,`/* Port of TextMate's Blackboard theme */
|
|
2
|
-
|
|
3
|
-
.cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; }
|
|
4
|
-
.cm-s-blackboard div.CodeMirror-selected { background: #253B76; }
|
|
5
|
-
.cm-s-blackboard .CodeMirror-line::selection, .cm-s-blackboard .CodeMirror-line > span::selection, .cm-s-blackboard .CodeMirror-line > span > span::selection { background: rgba(37, 59, 118, .99); }
|
|
6
|
-
.cm-s-blackboard .CodeMirror-line::-moz-selection, .cm-s-blackboard .CodeMirror-line > span::-moz-selection, .cm-s-blackboard .CodeMirror-line > span > span::-moz-selection { background: rgba(37, 59, 118, .99); }
|
|
7
|
-
.cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; }
|
|
8
|
-
.cm-s-blackboard .CodeMirror-guttermarker { color: #FBDE2D; }
|
|
9
|
-
.cm-s-blackboard .CodeMirror-guttermarker-subtle { color: #888; }
|
|
10
|
-
.cm-s-blackboard .CodeMirror-linenumber { color: #888; }
|
|
11
|
-
.cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7; }
|
|
12
|
-
|
|
13
|
-
.cm-s-blackboard .cm-keyword { color: #FBDE2D; }
|
|
14
|
-
.cm-s-blackboard .cm-atom { color: #D8FA3C; }
|
|
15
|
-
.cm-s-blackboard .cm-number { color: #D8FA3C; }
|
|
16
|
-
.cm-s-blackboard .cm-def { color: #8DA6CE; }
|
|
17
|
-
.cm-s-blackboard .cm-variable { color: #FF6400; }
|
|
18
|
-
.cm-s-blackboard .cm-operator { color: #FBDE2D; }
|
|
19
|
-
.cm-s-blackboard .cm-comment { color: #AEAEAE; }
|
|
20
|
-
.cm-s-blackboard .cm-string { color: #61CE3C; }
|
|
21
|
-
.cm-s-blackboard .cm-string-2 { color: #61CE3C; }
|
|
22
|
-
.cm-s-blackboard .cm-meta { color: #D8FA3C; }
|
|
23
|
-
.cm-s-blackboard .cm-builtin { color: #8DA6CE; }
|
|
24
|
-
.cm-s-blackboard .cm-tag { color: #8DA6CE; }
|
|
25
|
-
.cm-s-blackboard .cm-attribute { color: #8DA6CE; }
|
|
26
|
-
.cm-s-blackboard .cm-header { color: #FF6400; }
|
|
27
|
-
.cm-s-blackboard .cm-hr { color: #AEAEAE; }
|
|
28
|
-
.cm-s-blackboard .cm-link { color: #8DA6CE; }
|
|
29
|
-
.cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; }
|
|
30
|
-
|
|
31
|
-
.cm-s-blackboard .CodeMirror-activeline-background { background: #3C3636; }
|
|
32
|
-
.cm-s-blackboard .CodeMirror-matchingbracket { outline:1px solid grey;color:white !important; }
|
|
33
|
-
`,""]),r.Z=a},88333:function(n,r,_){_.r(r);var s=_(93379),d=_.n(s),c=_(7795),l=_.n(c),a=_(90569),t=_.n(a),m=_(3565),i=_.n(m),b=_(19216),E=_.n(b),u=_(44589),k=_.n(u),e=_(52582),o={};o.styleTagTransform=k(),o.setAttributes=i(),o.insert=t().bind(null,"head"),o.domAPI=l(),o.insertStyleElement=E();var D=d()(e.Z,o);r.default=e.Z&&e.Z.locals?e.Z.locals:void 0}}]);
|