diff --git a/apps/settings/css/settings.scss b/apps/settings/css/settings.scss
index 47a035016add0..bd6446ad16555 100644
--- a/apps/settings/css/settings.scss
+++ b/apps/settings/css/settings.scss
@@ -38,9 +38,11 @@ input {
.avatardiv {
margin: 10px auto;
}
+
.warning {
width: 100%;
}
+
.jcrop-keymgr {
display: none !important;
}
@@ -69,6 +71,7 @@ input {
left: 0;
width: 100%;
height: calc(100% - 45px);
+
.inner-container {
z-index: 2001;
/* above the top bar if needed */
@@ -81,15 +84,17 @@ input {
border-radius: var(--border-radius-large);
box-shadow: 0 0 10px var(--color-box-shadow);
padding: 15px;
+
.jcrop-holder,
.jcrop-holder img,
- img.jcrop-preview {
+ img.jcrop-preview {
border-radius: var(--border-radius);
}
.button {
margin-top: 15px;
}
+
.primary {
float: right;
}
@@ -131,19 +136,23 @@ select {
display: grid;
padding: 20px;
max-width: 1500px;
- grid-template-columns:1fr 2fr 1fr;
+ grid-template-columns: 1fr 2fr 1fr;
+
.section {
padding: 10px 10px;
border: 0;
+
h2 {
margin-bottom: 12px;
}
}
+
.personal-info {
margin-right: 10%;
margin-bottom: 12px;
margin-top: 12px;
}
+
.personal-info[class^='icon-'], .personal-info[class*=' icon-'] {
background-position: 0px 2px;
padding-left: 30px;
@@ -156,14 +165,17 @@ select {
#personal-settings {
display: grid;
grid-template-columns: 1fr 2fr;
+
#personal-settings-avatar-container {
grid-template-columns: 1fr;
grid-template-rows: 1fr;
}
+
.personal-settings-container {
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
}
+
.profile-settings-container {
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr;
@@ -176,13 +188,16 @@ select {
#personal-settings {
display: grid;
grid-template-columns: 1fr;
+
#personal-settings-avatar-container {
grid-template-rows: 1fr;
}
+
.personal-settings-container {
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
}
+
.profile-settings-container {
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr;
@@ -194,13 +209,16 @@ select {
#personal-settings {
display: grid;
grid-template-columns: 1fr;
+
#personal-settings-avatar-container {
grid-template-rows: 1fr;
}
+
.personal-settings-container {
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
}
+
.profile-settings-container {
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr;
@@ -212,9 +230,11 @@ select {
display: inline-grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr 2fr;
+
&:after {
clear: both;
}
+
> div {
h3 {
position: relative;
@@ -229,6 +249,7 @@ select {
overflow: hidden;
}
}
+
> form span {
&[class^='icon-checkmark'], &[class^='icon-error'] {
position: relative;
@@ -239,18 +260,22 @@ select {
}
}
}
+
.verify {
position: relative;
left: 100%;
top: 0;
height: 0;
+
img {
padding: 12px 7px 6px;
}
}
+
.verify-action {
cursor: pointer;
}
+
input:disabled {
background-color: white;
color: black;
@@ -263,15 +288,19 @@ select {
#body-settings #quota {
cursor: default;
position: relative;
+
progress {
height: 6px;
+
&::-moz-progress-bar {
border-radius: 3px 0 0 3px;
}
+
&::-webkit-progress-value {
border-radius: 3px 0 0 3px;
}
}
+
div {
font-weight: normal;
white-space: nowrap;
@@ -286,9 +315,11 @@ select {
right: -9px;
top: 40px;
width: 275px;
+
p {
padding: 10px;
}
+
.verificationCode {
font-family: monospace;
display: block;
@@ -300,35 +331,43 @@ select {
position: relative;
cursor: pointer;
margin-left: 10px;
+
&:focus {
.icon-federation-menu {
opacity: 0.7;
}
}
+
.icon-federation-menu {
padding-left: 16px;
background-size: 16px;
background-position: left center;
opacity: .3;
cursor: inherit;
+
.icon-triangle-s {
display: inline-block;
vertical-align: middle;
cursor: inherit;
}
}
+
.federationScopeMenu {
top: 44px;
+
&.popovermenu {
.menuitem {
// override h3 heading font size
font-size: 12.8px;
line-height: 1.6em;
+
.menuitem-text-detail {
opacity: .75;
}
+
&.active {
box-shadow: inset 2px 0 var(--color-primary);
+
.menuitem-text {
font-weight: bold;
}
@@ -350,6 +389,7 @@ select {
tr.expired {
background-color: rgba(255, 0, 0, 0.5);
}
+
td {
padding: 5px;
}
@@ -374,6 +414,7 @@ input#identity {
background-color: #47a447;
padding: 3px;
}
+
&.error {
color: #fff;
background-color: #d2322d;
@@ -382,11 +423,11 @@ input#identity {
}
-
table.nostyle {
label {
margin-right: 2em;
}
+
td {
padding: 0.2em 0;
}
@@ -396,17 +437,21 @@ table.nostyle {
#passwordform {
display: flex;
flex-wrap: wrap;
+
#pass1, .personal-show-container, #passwordbutton {
flex-shrink: 1;
width: 200px;
min-width: 150px;
}
+
#pass2 {
width: 100%;
}
+
.password-state {
display: inline-block;
}
+
.strengthify-wrapper {
position: absolute;
left: 0;
@@ -427,7 +472,7 @@ table.nostyle {
}
li > div {
- margin-left: 20px;
+ margin-left: 20px;
}
.two-factor-provider-settings-icon {
@@ -440,6 +485,7 @@ table.nostyle {
.social-button {
padding-left: 0 !important;
margin-left: -10px;
+
img {
padding: 10px;
}
@@ -454,6 +500,7 @@ table.nostyle {
overflow: hidden;
text-overflow: ellipsis;
}
+
&.active .groupname {
width: 65%;
}
@@ -477,9 +524,11 @@ li.active {
position: absolute;
top: 2px;
right: 0;
+
input {
width: 150px;
}
+
label {
font-weight: bold;
}
@@ -488,6 +537,7 @@ li.active {
/* display table at full width */
table.grid {
width: 100%;
+
th {
height: 2em;
color: #999;
@@ -497,6 +547,7 @@ table.grid {
text-align: left;
font-weight: normal;
}
+
td {
border-bottom: 1px solid var(--color-border);
padding: 0 .5em;
@@ -514,20 +565,25 @@ td, th {
text-overflow: ellipsis;
overflow: hidden;
}
+
&.password {
padding-left: .8em;
+
> img {
visibility: hidden;
}
}
+
&.displayName > img {
visibility: hidden;
}
+
&.password,
&.mailAddress {
min-width: 5em;
max-width: 12em;
cursor: pointer;
+
span {
width: 90%;
display: inline-block;
@@ -535,9 +591,11 @@ td, th {
overflow: hidden;
}
}
+
&.mailAddress {
cursor: pointer;
}
+
&.password > span {
margin-right: 1.2em;
color: #C7C7C7;
@@ -551,15 +609,19 @@ span.usersLastLoginTooltip {
/* dropdowns will be relative to this element */
#userlist {
position: relative;
+
.storageLocation, .userBackend, .lastLogin {
display: none;
}
+
th.name {
color: #000;
}
+
tr {
height: 50px;
}
+
.mailAddress .loading-small {
width: 16px;
height: 16px;
@@ -567,9 +629,11 @@ span.usersLastLoginTooltip {
position: relative;
top: 3px;
}
+
.groupsListContainer.hidden {
display: none;
}
+
thead th,
thead tr {
z-index: 100;
@@ -584,25 +648,36 @@ span.usersLastLoginTooltip {
.groupsListContainer.hidden {
display: none;
}
+
.multiselect {
min-width: 150px !important;
position: relative;
top: -1px;
}
+
input {
&:not([type='submit']),
&:not([type='reset']) {
width: 100%;
}
}
+
+ .userActions {
+ position: sticky;
+ right: 60px;
+ z-index: 20;
+ }
+
.userActions input {
width: 44px;
height: 44px;
+
&.icon-close {
border: none;
background-color: initial;
opacity: .5;
}
+
&:hover {
opacity: 1;
}
@@ -637,20 +712,25 @@ span.usersLastLoginTooltip {
margin-right: 6px;
width: 16px;
}
+
li span.no-icon {
padding-left: 32px;
}
+
ul li.active > span.utils {
.delete, .rename {
display: block;
}
}
+
.appwarning {
background: #fcc;
}
+
&.appwarning:hover {
background: #fbb;
}
+
.app-external {
color: var(--color-text-maxcontrast);
}
@@ -668,6 +748,7 @@ span.version {
.app-level {
margin-top: 8px;
+
span {
color: var(--color-text-maxcontrast);
background-color: transparent;
@@ -675,22 +756,25 @@ span.version {
border-radius: var(--border-radius);
padding: 3px 6px;
}
+
a {
padding: 10px;
margin: -6px;
white-space: nowrap;
}
+
.official {
background-position: left center;
background-position: 5px center;
padding-left: 25px;
}
+
.supported {
border-color: var(--color-success);
background-position: left center;
background-position: 5px center;
padding-left: 25px;
- color: var(--color-success) ;
+ color: var(--color-success);
}
}
@@ -706,29 +790,36 @@ span.version {
}
}
+
#apps-list.store {
.section {
border: 0;
}
+
.app-name {
display: block;
margin: 5px 0;
}
+
.app-name, .app-image * {
cursor: pointer;
}
+
.app-summary {
opacity: .7;
}
+
.app-image-icon .icon-settings-dark {
width: 100%;
height: 150px;
background-size: 45px;
opacity: 0.5;
}
+
.app-score-image {
height: 14px;
}
+
.actions {
margin-top: 10px;
}
@@ -745,26 +836,33 @@ span.version {
opacity: .7;
}
}
+
.app-level {
clear: right;
width: 100%;
+
.supported,
.official {
vertical-align: top;
}
+
.app-score-image {
float: right;
}
}
+
.app-author, .app-licence {
color: var(--color-text-maxcontrast);
}
+
.app-dependencies {
margin: 10px 0;
}
+
.app-description p {
margin: 10px 0;
}
+
.close {
position: absolute;
top: 0;
@@ -775,18 +873,21 @@ span.version {
width: 44px;
height: 44px;
}
+
.actions {
display: flex;
align-items: center;
- .app-groups{
+ .app-groups {
padding: 5px;
}
}
+
.appslink {
text-decoration: underline;
margin-right: 5px;
}
+
.app-level,
.actions,
.documentation,
@@ -871,8 +972,9 @@ span.version {
}
/* correctly display help icons next to headings */
- h2 {
+ h2 {
margin-bottom: 22px;
+
.icon-info {
padding: 6px 20px;
vertical-align: text-bottom;
@@ -947,24 +1049,30 @@ span.version {
.app-list-move {
transition: transform 1s;
}
+
#app-list-update-all {
margin-left: 10px;
}
+
.counter {
padding-left: $header-height - 10px;
margin: 10px;
}
+
&.installed {
.apps-list-container {
display: table;
width: 100%;
height: auto;
}
+
margin-bottom: 100px;
+
.section {
display: table-row;
padding: 0;
margin: 0;
+
> * {
display: table-cell;
height: initial;
@@ -974,22 +1082,27 @@ span.version {
padding: 6px;
box-sizing: border-box;
}
+
&.selected {
background-color: var(--color-background-dark);
}
}
+
.groups-enable {
margin-top: 0;
+
label {
margin-right: 3px;
}
}
+
.app-image {
width: 44px;
height: auto;
text-align: right;
}
+
.app-image-icon svg,
.app-image-icon .icon-settings-dark {
margin-top: 5px;
@@ -999,8 +1112,10 @@ span.version {
background-size: cover;
display: inline-block;
}
+
.actions {
text-align: right;
+
.icon-loading-small {
display: inline-block;
top: 4px;
@@ -1008,6 +1123,7 @@ span.version {
}
}
}
+
&:not(.installed) .app-image-icon svg {
position: absolute;
bottom: 43px;
@@ -1016,12 +1132,15 @@ span.version {
height: 64px;
opacity: .1;
}
+
display: flex;
flex-wrap: wrap;
align-content: flex-start;
+
&.hidden {
display: none;
}
+
.section {
position: relative;
flex: 0 0 auto;
@@ -1030,42 +1149,52 @@ span.version {
display: block;
margin: 8px 0;
}
+
&:hover {
background-color: var(--color-background-dark);
}
}
+
.app-description {
p {
margin: 10px 0;
}
+
ul {
list-style: disc;
}
+
ol {
list-style: decimal;
+
ol, ul {
padding-left: 15px;
}
}
+
> {
ul, ol {
margin-left: 19px;
}
}
+
ul {
ol, ul {
padding-left: 15px;
}
}
}
+
/* Bundle header */
.apps-header {
display: table-row;
position: relative;
+
div {
display: table-cell;
height: 70px;
}
+
h2 {
display: table-cell;
position: absolute;
@@ -1077,6 +1206,7 @@ span.version {
top: -1px;
margin-left: 12px;
}
+
+ .section {
margin-top: 50px;
}
@@ -1120,6 +1250,7 @@ table.grid td.date {
&.message {
padding: 12px;
}
+
&.icon {
width: 32px;
height: 32px;
@@ -1127,12 +1258,15 @@ table.grid td.date {
display: inline-block;
border-radius: 50%;
}
+
&.icon-checkmark-white {
background-color: var(--color-success);
}
+
&.icon-error-white {
background-color: var(--color-warning);
}
+
&.icon-close-white {
background-color: var(--color-error);
}
@@ -1143,15 +1277,19 @@ table.grid td.date {
p {
padding-bottom: 0.8em;
}
+
input#shareapiExpireAfterNDays {
width: 40px;
}
+
.indent {
padding-left: 28px;
}
+
.double-indent {
padding-left: 56px;
}
+
.nocheckbox {
padding-left: 20px;
}
@@ -1201,6 +1339,7 @@ table.grid td.date {
width: 300px;
text-align: right;
}
+
select:nth-child(2),
input:not([type='button']) {
width: 143px;
@@ -1220,6 +1359,7 @@ table.grid td.date {
height: 16px;
width: 16px;
vertical-align: text-bottom;
+
&.success {
border-radius: 50%;
}
@@ -1242,9 +1382,11 @@ span {
background-color: var(--color-success);
border-radius: var(--border-radius);
}
+
&.error {
background-color: var(--color-error);
}
+
&.indeterminate {
background-color: var(--color-warning);
border-radius: 40% 0;
@@ -1252,7 +1394,6 @@ span {
}
-
/* OPERA hack for strengthify*/
doesnotexist:-o-prefocus, .strengthify-wrapper {
left: 185px;
@@ -1299,9 +1440,11 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
height: 50px;
background-position: left center;
}
+
.errors, .errors a {
color: var(--color-error);
}
+
.warnings, .warnings a {
color: var(--color-warning);
}
@@ -1323,6 +1466,7 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
#admin-tips li {
list-style: initial;
+
a {
display: inline-block;
padding: 3px 0;
@@ -1353,11 +1497,13 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
#body-settings {
$grid-row-height: 60px;
$grid-col-min-width: 150px;
+
#app-content.user-list-grid {
display: grid;
grid-auto-columns: 1fr;
grid-auto-rows: $grid-row-height;
grid-column-gap: 20px;
+
.row {
// TODO replace with css4 subgrid when available
// fallback for ie11 no grid
@@ -1366,10 +1512,12 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
grid-row-start: span 1;
grid-gap: 3px;
align-items: center;
+ z-index: 0;
/* let's define the column until storage path,
what follows will be manually defined */
grid-template-columns: 44px minmax($grid-col-min-width + 30px, 1fr) repeat(auto-fit, minmax($grid-col-min-width, 1fr));
border-bottom: var(--color-border) 1px solid;
+
&.disabled {
opacity: .5;
}
@@ -1384,9 +1532,10 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
.lastLogin {
min-width: $grid-col-min-width;
display: flex;
- color: var(--color-text-dark);
+ color: var(--color-text-dark);
vertical-align: baseline;
}
+
.groups,
.subadmins,
.quota {
@@ -1396,13 +1545,19 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
vertical-align: baseline;
}
}
+
.obfuscated {
width: 400px;
opacity: .7;
}
+
.userActions {
min-width: 44px;
+ position: sticky;
+ right: 40px;
+ z-index: 109;
}
+
.subtitle {
color: var(--color-text-maxcontrast);
vertical-align: baseline;
@@ -1414,11 +1569,13 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
@include position('sticky');
align-self: normal;
background-color: var(--color-main-background);
- z-index: 55; /* above multiselect */
+ z-index: 100; /* above multiselect */
top: $header-height;
+
&.sticky {
box-shadow: 0 -2px 10px 1px var(--color-box-shadow);
}
+
/* fake input for groups validation */
input#newgroups {
position: absolute;
@@ -1428,10 +1585,16 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
z-index: 0;
}
}
+
// separate prop to set initial value to top: 50px
new-user {
- top: $header-height + $grid-row-height;
+ height: 120px;
+
+ .row {
+ padding-top: 50px;
+ }
}
+
grid-header {
color: var(--color-text-maxcontrast);
z-index: 60; /* above new-user */
@@ -1454,49 +1617,58 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
vertical-align: baseline;
}
}
+
&:hover {
input:not([type='submit']):not(:focus):not(:active) {
border-color: var(--color-border) !important;
}
+
&:not(#grid-header) {
box-shadow: 5px 0 0 var(--color-primary-element) inset;
}
}
+
> div,
> form {
grid-row: 1;
display: inline-flex;
color: var(--color-text-lighter);
position: relative;
+
> input:not(:focus):not(:active) {
border-color: transparent;
cursor: pointer;
}
- > input:focus, >input:active {
+
+ > input:focus, > input:active {
+ .icon-confirm {
display: block !important;
}
}
+
/* inputs like mail, username, password */
&:not(.userActions) > input:not([type='submit']) {
width: 100%;
min-width: 0;
}
+
&.name {
word-break: break-all;
}
+
&.displayName,
&.mailAddress {
> input {
text-overflow: ellipsis;
}
}
+
&.name,
&.userBackend {
/* better multi-line visual */
line-height: 1.3em;
max-height: 100%;
- overflow : hidden;
+ overflow: hidden;
/* not supported by all browsers
so we keep the overflow hidden
as a fallback */
@@ -1505,77 +1677,93 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
+
&.quota {
height: 44px;
display: flex;
align-items: center;
justify-content: center;
+
progress {
width: 100%;
margin: 0 10px;
height: 3px;
}
}
+
.icon-confirm {
flex: 0 0 auto;
cursor: pointer;
+
&:not(:active) {
display: none;
}
}
+
&.avatar {
height: 32px;
width: 32px;
margin: 6px;
+
img {
display: block;
}
}
+
&.userActions {
- .action-item {
- position: absolute;
- }
+ .action-item {
+ position: absolute;
+ }
+
#newsubmit {
width: 100%;
}
+
.toggleUserActions {
position: relative;
display: block;
align-items: center;
+
.icon-more {
width: 44px;
height: 44px;
opacity: .5;
cursor: pointer;
margin-left: 40px;
+
&:hover {
opacity: .7;
}
}
}
+
.feedback {
display: flex;
align-items: center;
white-space: nowrap;
transition: opacity 200ms ease-in-out;
+
.icon-checkmark {
opacity: .5;
margin-right: 5px;
}
}
}
+
/* Fill the grid cell */
.multiselect.multiselect-vue {
width: 100%;
}
}
}
+
.infinite-loading-container {
display: flex;
align-items: center;
justify-content: center;
grid-row-start: span 4;
}
+
.users-list-end {
opacity: .5;
user-select: none;
diff --git a/apps/settings/js/vue-0.js b/apps/settings/js/vue-0.js
index ded87d3fa8c6b..3cbe307be72df 100644
--- a/apps/settings/js/vue-0.js
+++ b/apps/settings/js/vue-0.js
@@ -1,4 +1,4 @@
-(window.webpackJsonpSettings=window.webpackJsonpSettings||[]).push([[0],{264:function(t,e,n){(function(e){
+(window.webpackJsonpSettings=window.webpackJsonpSettings||[]).push([[0],{265:function(t,e,n){(function(e){
/**
* vue-local-storage v0.6.0
* (c) 2017 Alexander Avakov
@@ -879,4 +879,4 @@ e.default=o},function(t,e,n){"use strict";var i=n(47);n.n(i).a},function(t,e,n){
* along with this program. If not, see \n\t\t\t{{ t('settings', 'View in store') }} ↗\n\n\t\t\t{{ t('settings', 'Visit website') }} ↗\n\t\t\t{{ t('settings', 'Report a bug') }} ↗\n\n\t\t\t{{ t('settings', 'User documentation') }} ↗\n\t\t\t{{ t('settings', 'Admin documentation') }} ↗\n\t\t\t{{ t('settings', 'Developer documentation') }} ↗\n\t\t {{ t('settings', 'Default quota:') }} "+e+"{{ bundle.name }}
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t{{ t('settings', 'Results from other categories') }}
\n\t\t\t\t\t\t{{ t('settings', 'No apps found for your version') }}
\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t{{ app.name }}\n\t\t
\n\t\t\n\t\t\n\t\t\t
\n\n\t\t\n\t\t\t\t\t
\n\t\t\t\n\t\t\t\t
\n\t\t{{ t('settings', 'No users in here') }}
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t2?o-2:0),l=2;l
\n":"'+(n?e:p(e,!0))+"
"},o.prototype.blockquote=function(e){return""+(n?e:p(e,!0))+"
\n"+e+"
\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n,r){return this.options.headerIds?"
\n":"
\n"},o.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+""+r+">\n"},o.prototype.listitem=function(e){return"\n\n"+e+"\n"+t+"
\n"},o.prototype.tablerow=function(e){return"\n"+e+" \n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+""+n+">\n"},o.prototype.strong=function(e){return""+e+""},o.prototype.em=function(e){return""+e+""},o.prototype.codespan=function(e){return""+e+"
"},o.prototype.br=function(){return this.options.xhtml?"
":"
"},o.prototype.del=function(e){return""+e+""},o.prototype.link=function(e,t,n){if(null===(e=d(this.options.sanitize,this.options.baseUrl,e)))return n;var r='"+n+""},o.prototype.image=function(e,t,n){if(null===(e=d(this.options.sanitize,this.options.baseUrl,e)))return n;var r='":">"},o.prototype.text=function(e){return e},a.prototype.strong=a.prototype.em=a.prototype.codespan=a.prototype.del=a.prototype.text=function(e){return e},a.prototype.link=a.prototype.image=function(e,t,n){return""+n},a.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new s(e.links,this.options),this.inlineText=new s(e.links,b({},this.options,{renderer:new a})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop(),this.token},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,u(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",s="";for(n="",e=0;e
"+p(e.message+"",!0)+"";throw e}}m.exec=m,_.options=_.setOptions=function(e){return b(_.defaults,e),_},_.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new o,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},_.defaults=_.getDefaults(),_.Parser=l,_.parser=l.parse,_.Renderer=o,_.TextRenderer=a,_.Lexer=r,_.lexer=r.lex,_.InlineLexer=s,_.inlineLexer=s.output,_.Slugger=c,_.parse=_,e.exports=_}(this||"undefined"!=typeof window&&window)}).call(this,n(10))},346:function(e,t,n){e.exports=function(){"use strict";var e=Object.freeze||function(e){return e},t=e(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),n=e(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),r=e(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),i=e(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),s=e(["#text"]),o=Object.freeze||function(e){return e},a=o(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","minlength","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"]),l=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),c=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),p=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),u=Object.hasOwnProperty,h=Object.setPrototypeOf,d=("undefined"!=typeof Reflect&&Reflect).apply;function f(e,t){h&&h(e,null);for(var n=t.length;n--;){var r=t[n];if("string"==typeof r){var i=r.toLowerCase();i!==r&&(Object.isFrozen(t)||(t[n]=i),r=i)}e[r]=!0}return e}function g(e){var t={},n=void 0;for(n in e)d(u,e,[n])&&(t[n]=e[n]);return t}d||(d=function(e,t,n){return e.apply(t,n)});var m=Object.seal||function(e){return e},b=m(/\{\{[\s\S]*|[\s\S]*\}\}/gm),y=m(/<%[\s\S]*|[\s\S]*%>/gm),k=m(/^data-[\-\w.\u00B7-\uFFFF]/),x=m(/^aria-[\-\w]+$/),v=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_=m(/^(?:\w+script|data):/i),w=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function T(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t