Initial commit: Atomaste website

This commit is contained in:
2025-12-10 12:17:30 -05:00
commit 0b9e5d1605
19260 changed files with 5206382 additions and 0 deletions

View File

@@ -0,0 +1,266 @@
.astra-sites-welcome .astra-notice-container {
display: flex;
flex-direction: column;
align-items: flex-start;
padding-top: 0;
padding-bottom: 0;
}
.astra-sites-welcome .astra-notice-container .notice-welcome-container {
background-image: url( "../images/st-banner-background.svg" );
justify-content: left;
overflow: hidden;
position: relative;
background-size: contain;
background-repeat: no-repeat;
background-position: left top;
display: flex;
flex-flow: row;
width: 100%;
}
.astra-sites-welcome .astra-notice-container .notice-welcome-container::after {
padding: 2.5%;
content: "";
display: block;
}
.astra-sites-welcome .text-section {
flex: 0 0 51%;
display: flex;
flex-direction: column;
justify-content: center;
padding: 40px 40px 40px 0;
}
.astra-sites-welcome .showcase-section {
flex: 0 0 45%;
display: flex;
align-items: flex-end;
margin-top: 40px;
}
.astra-sites-welcome .showcase-section img {
width: 100%;
}
.astra-sites-welcome h1.text-heading {
font-style: normal;
font-weight: 600;
font-size: 30px;
line-height: 36px;
color: #0f172a;
padding: 24px 0px 12px 0px;
}
.astra-sites-welcome .logo-section {
display: flex;
align-items: center;
gap: 8px;
}
.astra-sites-welcome .logo-section img {
width: 24px;
}
.astra-sites-welcome .logo-section h3 {
padding: 0;
margin: 0;
font-size: 20px;
font-weight: 600;
line-height: 30px;
text-align: right;
color: #030712;
}
.astra-sites-welcome .button-section {
display: flex;
flex-direction: column;
gap: 16px;
}
.astra-sites-welcome a.text-button {
font-weight: 500;
font-size: 16px;
line-height: 24px;
color: #ffffff;
text-decoration: none;
padding: 10px 16px;
max-width: fit-content;
border-radius: 6px;
background: #2271b1;
box-shadow: 0px 1px 2px 0px rgba( 0, 0, 0, 0.05 );
}
.astra-sites-welcome a.scratch-link {
color: #475569;
font-size: 13px;
font-weight: 400;
display: inline-block;
width: fit-content;
line-height: 20px;
}
.astra-sites-welcome .notice-content-container .content-section {
display: flex;
padding: 20px 16px;
flex-direction: column;
align-items: flex-start;
gap: 8px;
flex: 1 0 0;
border-radius: 6px;
}
.astra-sites-welcome .notice-content-container .content-section:hover {
border-radius: 6px;
background: var( --Colors-base-white, #fff );
box-shadow: 0px 8px 22px 0px rgba( 0, 0, 0, 0.08 );
}
.astra-sites-welcome .notice-content-container {
display: flex;
padding: 32px 60px;
align-items: flex-start;
gap: 32px;
align-self: stretch;
}
.astra-sites-welcome .notice-content-container .icon-section {
border-radius: 24px;
display: flex;
align-items: flex-start;
gap: 8px;
}
.astra-sites-welcome .notice-content-container .link-section h4 {
margin: 0;
color: var( --gray-900, #111827 );
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 28px;
}
.astra-sites-welcome .notice-content-container .link-section p {
margin-bottom: 8px;
padding: 0;
color: var( --gray-500, #6b7280 );
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px;
margin-top: 0px;
}
.astra-sites-welcome .text-section p {
color: var( --Theme-Body, #475569 );
font-size: 16px;
font-weight: 400;
line-height: 28px;
}
.astra-sites-welcome .text-section p {
margin-bottom: 24px;
margin-top: 0;
}
.astra-sites-welcome.notice.is-dismissible {
padding-left: 0;
}
.astra-sites-welcome.notice {
padding: 0;
border-right-width: 0;
border: none;
}
.astra-sites-welcome .notice-dismiss:before {
background-image: url( ../images/cross.svg );
content: "";
position: relative;
background-size: 10px;
background-repeat: no-repeat;
background-position: center top;
}
.astra-sites-welcome .notice-dismiss {
top: 3px;
left: 3px;
margin: 0;
}
.astra-sites-welcome .link-section .link-text {
display: flex;
text-decoration: none;
gap: 8px;
border-radius: 4px;
color: #5d5e61;
font-size: 12px;
font-style: normal;
font-weight: 600;
line-height: 16px;
}
.astra-sites-welcome .content-section {
text-decoration: none;
}
@media only screen and ( min-width: 1024px ) and ( max-width: 1280px ) {
.astra-sites-welcome .notice-content-container .link-section h4 {
font-size: 14px;
}
.astra-sites-welcome .notice-content-container .link-section p {
font-size: 12px;
}
.astra-sites-welcome .link-section .link-text {
font-size: 10px;
}
}
@media only screen and ( min-width: 768px ) and ( max-width: 1024px ) {
.astra-sites-welcome .text-section {
flex: 0 0 75.5%;
padding-right: 28px;
padding-top: 38px;
padding-bottom: 38px;
}
.astra-sites-welcome .showcase-section img {
display: none;
}
.astra-sites-welcome .notice-content-container {
display: none;
}
}
@media only screen and ( max-width: 767px ) {
.astra-sites-welcome .text-section {
flex: 0 0 80.5%;
padding: 32px 32px 32px 0;
}
.astra-sites-welcome .showcase-section img {
display: none;
}
.astra-sites-welcome .notice-content-container {
display: none;
}
}
@media only screen and ( max-width: 420px ) {
.astra-sites-welcome .text-section {
flex: 0 0 86.5%;
text-align: center;
}
.astra-sites-welcome .button-section {
justify-content: center;
align-items: center;
}
.astra-sites-welcome .logo-section {
justify-content: center;
}
.astra-sites-welcome h1.text-heading {
font-size: 20px;
line-height: 24px;
}
.astra-sites-welcome .showcase-section img {
display: none;
}
.astra-sites-welcome .notice-content-container {
display: none;
}
}

View File

@@ -0,0 +1,266 @@
.astra-sites-welcome .astra-notice-container {
display: flex;
flex-direction: column;
align-items: flex-start;
padding-top: 0;
padding-bottom: 0;
}
.astra-sites-welcome .astra-notice-container .notice-welcome-container {
background-image: url( "../images/st-banner-background.svg" );
justify-content: left;
overflow: hidden;
position: relative;
background-size: contain;
background-repeat: no-repeat;
background-position: right top;
display: flex;
flex-flow: row;
width: 100%;
}
.astra-sites-welcome .astra-notice-container .notice-welcome-container::after {
padding: 2.5%;
content: "";
display: block;
}
.astra-sites-welcome .text-section {
flex: 0 0 51%;
display: flex;
flex-direction: column;
justify-content: center;
padding: 40px 0 40px 40px;
}
.astra-sites-welcome .showcase-section {
flex: 0 0 45%;
display: flex;
align-items: flex-end;
margin-top: 40px;
}
.astra-sites-welcome .showcase-section img {
width: 100%;
}
.astra-sites-welcome h1.text-heading {
font-style: normal;
font-weight: 600;
font-size: 30px;
line-height: 36px;
color: #0f172a;
padding: 24px 0px 12px 0px;
}
.astra-sites-welcome .logo-section {
display: flex;
align-items: center;
gap: 8px;
}
.astra-sites-welcome .logo-section img {
width: 24px;
}
.astra-sites-welcome .logo-section h3 {
padding: 0;
margin: 0;
font-size: 20px;
font-weight: 600;
line-height: 30px;
text-align: left;
color: #030712;
}
.astra-sites-welcome .button-section {
display: flex;
flex-direction: column;
gap: 16px;
}
.astra-sites-welcome a.text-button {
font-weight: 500;
font-size: 16px;
line-height: 24px;
color: #ffffff;
text-decoration: none;
padding: 10px 16px;
max-width: fit-content;
border-radius: 6px;
background: #2271b1;
box-shadow: 0px 1px 2px 0px rgba( 0, 0, 0, 0.05 );
}
.astra-sites-welcome a.scratch-link {
color: #475569;
font-size: 13px;
font-weight: 400;
display: inline-block;
width: fit-content;
line-height: 20px;
}
.astra-sites-welcome .notice-content-container .content-section {
display: flex;
padding: 20px 16px;
flex-direction: column;
align-items: flex-start;
gap: 8px;
flex: 1 0 0;
border-radius: 6px;
}
.astra-sites-welcome .notice-content-container .content-section:hover {
border-radius: 6px;
background: var( --Colors-base-white, #fff );
box-shadow: 0px 8px 22px 0px rgba( 0, 0, 0, 0.08 );
}
.astra-sites-welcome .notice-content-container {
display: flex;
padding: 32px 60px;
align-items: flex-start;
gap: 32px;
align-self: stretch;
}
.astra-sites-welcome .notice-content-container .icon-section {
border-radius: 24px;
display: flex;
align-items: flex-start;
gap: 8px;
}
.astra-sites-welcome .notice-content-container .link-section h4 {
margin: 0;
color: var( --gray-900, #111827 );
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 28px;
}
.astra-sites-welcome .notice-content-container .link-section p {
margin-bottom: 8px;
padding: 0;
color: var( --gray-500, #6b7280 );
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px;
margin-top: 0px;
}
.astra-sites-welcome .text-section p {
color: var( --Theme-Body, #475569 );
font-size: 16px;
font-weight: 400;
line-height: 28px;
}
.astra-sites-welcome .text-section p {
margin-bottom: 24px;
margin-top: 0;
}
.astra-sites-welcome.notice.is-dismissible {
padding-right: 0;
}
.astra-sites-welcome.notice {
padding: 0;
border-left-width: 0;
border: none;
}
.astra-sites-welcome .notice-dismiss:before {
background-image: url( ../images/cross.svg );
content: "";
position: relative;
background-size: 10px;
background-repeat: no-repeat;
background-position: center top;
}
.astra-sites-welcome .notice-dismiss {
top: 3px;
right: 3px;
margin: 0;
}
.astra-sites-welcome .link-section .link-text {
display: flex;
text-decoration: none;
gap: 8px;
border-radius: 4px;
color: #5d5e61;
font-size: 12px;
font-style: normal;
font-weight: 600;
line-height: 16px;
}
.astra-sites-welcome .content-section {
text-decoration: none;
}
@media only screen and ( min-width: 1024px ) and ( max-width: 1280px ) {
.astra-sites-welcome .notice-content-container .link-section h4 {
font-size: 14px;
}
.astra-sites-welcome .notice-content-container .link-section p {
font-size: 12px;
}
.astra-sites-welcome .link-section .link-text {
font-size: 10px;
}
}
@media only screen and ( min-width: 768px ) and ( max-width: 1024px ) {
.astra-sites-welcome .text-section {
flex: 0 0 75.5%;
padding-left: 28px;
padding-top: 38px;
padding-bottom: 38px;
}
.astra-sites-welcome .showcase-section img {
display: none;
}
.astra-sites-welcome .notice-content-container {
display: none;
}
}
@media only screen and ( max-width: 767px ) {
.astra-sites-welcome .text-section {
flex: 0 0 80.5%;
padding: 32px 0 32px 32px;
}
.astra-sites-welcome .showcase-section img {
display: none;
}
.astra-sites-welcome .notice-content-container {
display: none;
}
}
@media only screen and ( max-width: 420px ) {
.astra-sites-welcome .text-section {
flex: 0 0 86.5%;
text-align: center;
}
.astra-sites-welcome .button-section {
justify-content: center;
align-items: center;
}
.astra-sites-welcome .logo-section {
justify-content: center;
}
.astra-sites-welcome h1.text-heading {
font-size: 20px;
line-height: 24px;
}
.astra-sites-welcome .showcase-section img {
display: none;
}
.astra-sites-welcome .notice-content-container {
display: none;
}
}

View File

@@ -0,0 +1,283 @@
.dialog-widget-content {
background-color: #fff;
position: absolute;
-webkit-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: -2px 8px 23px 3px rgba( 0, 0, 0, 0.2 );
box-shadow: -2px 8px 23px 3px rgba( 0, 0, 0, 0.2 );
overflow: hidden;
}
.dialog-message {
font-size: 12px;
line-height: 1.5;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.dialog-type-lightbox {
position: fixed;
height: 100%;
width: 100%;
top: 0;
right: 0;
background-color: rgba( 0, 0, 0, 0.8 );
z-index: 9999;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.dialog-type-lightbox .dialog-widget-content {
margin: auto;
}
.dialog-type-lightbox .dialog-header {
font-size: 15px;
color: #495157;
padding: 30px 0 10px;
font-weight: 500;
}
.dialog-type-lightbox .dialog-message {
padding: 0 30px 30px;
min-height: 50px;
}
.dialog-type-lightbox:not( .elementor-popup-modal ) .dialog-header,
.dialog-type-lightbox:not( .elementor-popup-modal ) .dialog-message {
text-align: center;
}
.dialog-type-lightbox .dialog-buttons-wrapper {
border-top: 1px solid #e6e9ec;
text-align: center;
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button {
font-family: Roboto, Arial, Helvetica, Verdana, sans-serif;
width: 50%;
border: none;
background: none;
font-size: 15px;
cursor: pointer;
padding: 13px 0;
outline: 0;
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button:hover {
background-color: #f4f6f7;
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button.dialog-ok {
color: #b01b1b;
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button.dialog-take_over {
color: #39b54a;
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button:active {
background-color: rgba( 230, 233, 236, 0.5 );
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button::-moz-focus-inner {
border: 0;
}
.ast-sites-modal .dialog-widget-content {
font-family: Roboto, Arial, Helvetica, Verdana, sans-serif;
background-color: #f1f3f5;
width: 100%;
}
@media ( max-width: 1439px ) {
.ast-sites-modal .dialog-widget-content {
max-width: 990px;
}
}
@media ( min-width: 1440px ) {
.ast-sites-modal .dialog-widget-content {
max-width: 1200px;
}
}
.ast-sites-modal .dialog-header {
padding: 0;
background-color: #fff;
-webkit-box-shadow: 0 0 8px rgba( 0, 0, 0, 0.1 );
box-shadow: 0 0 8px rgba( 0, 0, 0, 0.1 );
position: relative;
z-index: 1;
}
.ast-sites-modal .dialog-buttons-wrapper {
background-color: #fff;
border: none;
display: none;
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
padding: 5px;
-webkit-box-shadow: 0 0 8px rgba( 0, 0, 0, 0.1 );
box-shadow: 0 0 8px rgba( 0, 0, 0, 0.1 );
position: relative;
}
.ast-sites-modal .dialog-buttons-wrapper .elementor-button {
height: 40px;
margin-right: 5px;
}
.ast-sites-modal .dialog-buttons-wrapper .elementor-button-success {
padding: 12px 36px;
color: #fff;
width: initial;
font-size: 15px;
}
.ast-sites-modal .dialog-buttons-wrapper .elementor-button-success:hover {
background-color: #39b54a;
}
.ast-sites-modal .dialog-message {
height: 750px;
max-height: 85vh;
overflow: auto;
padding-top: 25px;
}
.ast-sites-modal .dialog-content {
height: 100%;
}
.ast-sites-modal .dialog-loading {
display: none;
}
.ast-sites-modal__header {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
height: 50px;
}
.ast-sites-modal__header__logo {
line-height: 1;
text-transform: uppercase;
font-weight: bold;
cursor: pointer;
}
.ast-sites-modal__header__logo-area {
text-align: right;
padding-right: 15px;
}
.ast-sites-modal__header__logo-area > * {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.ast-sites-modal__header__logo__icon-wrapper {
padding: 4px 7px 6px;
background-image: -webkit-linear-gradient( -225deg, #f2295b, #434363 );
background-image: -o-linear-gradient( -225deg, #f2295b, #434363 );
background-image: linear-gradient( 135deg, #f2295b, #434363 );
-webkit-border-radius: 2px;
border-radius: 2px;
margin-left: 10px;
}
.ast-sites-modal__header__logo__title {
padding-top: 2px;
}
.ast-sites-modal__header__logo i {
color: #fff;
font-size: 10px;
}
.ast-sites-modal__header__items-area {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
-webkit-flex-direction: row-reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse;
}
.ast-sites-modal__header__item {
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
.ast-sites-modal__header__item > i {
font-size: 20px;
-webkit-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
cursor: pointer;
}
.ast-sites-modal__header__item > i:not( :hover ) {
color: #a4afb7;
}
.ast-sites-modal__header__close--normal {
width: 45px;
border-right: 1px solid #e6e9ec;
}
.ast-sites-modal__header__close--normal i {
font-size: 18px;
}
.ast-sites-modal__header__close--skip {
padding: 10px;
padding-right: 20px;
margin-left: 10px;
color: #fff;
background-color: #a4afb7;
font-size: 11px;
font-weight: normal;
line-height: 1;
text-transform: uppercase;
-webkit-border-radius: 2px;
border-radius: 2px;
cursor: pointer;
}
.ast-sites-modal__header__close--skip > i {
font-size: inherit;
padding-right: 10px;
margin-right: 15px;
border-right: 1px solid;
}
.ast-sites-modal__header__close--skip > i:not( :hover ) {
color: #fff;
}
.ast-sites-modal__sidebar {
width: 25%;
background-color: rgba( 255, 255, 255, 0.3 );
}
.ast-sites-modal__content {
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
-webkit-box-shadow: 0 0 13px inset rgba( 0, 0, 0, 0.05 );
box-shadow: 0 0 13px inset rgba( 0, 0, 0, 0.05 );
}

View File

@@ -0,0 +1,283 @@
.dialog-widget-content {
background-color: #fff;
position: absolute;
-webkit-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 2px 8px 23px 3px rgba( 0, 0, 0, 0.2 );
box-shadow: 2px 8px 23px 3px rgba( 0, 0, 0, 0.2 );
overflow: hidden;
}
.dialog-message {
font-size: 12px;
line-height: 1.5;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.dialog-type-lightbox {
position: fixed;
height: 100%;
width: 100%;
top: 0;
left: 0;
background-color: rgba( 0, 0, 0, 0.8 );
z-index: 9999;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.dialog-type-lightbox .dialog-widget-content {
margin: auto;
}
.dialog-type-lightbox .dialog-header {
font-size: 15px;
color: #495157;
padding: 30px 0 10px;
font-weight: 500;
}
.dialog-type-lightbox .dialog-message {
padding: 0 30px 30px;
min-height: 50px;
}
.dialog-type-lightbox:not( .elementor-popup-modal ) .dialog-header,
.dialog-type-lightbox:not( .elementor-popup-modal ) .dialog-message {
text-align: center;
}
.dialog-type-lightbox .dialog-buttons-wrapper {
border-top: 1px solid #e6e9ec;
text-align: center;
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button {
font-family: Roboto, Arial, Helvetica, Verdana, sans-serif;
width: 50%;
border: none;
background: none;
font-size: 15px;
cursor: pointer;
padding: 13px 0;
outline: 0;
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button:hover {
background-color: #f4f6f7;
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button.dialog-ok {
color: #b01b1b;
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button.dialog-take_over {
color: #39b54a;
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button:active {
background-color: rgba( 230, 233, 236, 0.5 );
}
.dialog-type-lightbox .dialog-buttons-wrapper > .dialog-button::-moz-focus-inner {
border: 0;
}
.ast-sites-modal .dialog-widget-content {
font-family: Roboto, Arial, Helvetica, Verdana, sans-serif;
background-color: #f1f3f5;
width: 100%;
}
@media ( max-width: 1439px ) {
.ast-sites-modal .dialog-widget-content {
max-width: 990px;
}
}
@media ( min-width: 1440px ) {
.ast-sites-modal .dialog-widget-content {
max-width: 1200px;
}
}
.ast-sites-modal .dialog-header {
padding: 0;
background-color: #fff;
-webkit-box-shadow: 0 0 8px rgba( 0, 0, 0, 0.1 );
box-shadow: 0 0 8px rgba( 0, 0, 0, 0.1 );
position: relative;
z-index: 1;
}
.ast-sites-modal .dialog-buttons-wrapper {
background-color: #fff;
border: none;
display: none;
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
padding: 5px;
-webkit-box-shadow: 0 0 8px rgba( 0, 0, 0, 0.1 );
box-shadow: 0 0 8px rgba( 0, 0, 0, 0.1 );
position: relative;
}
.ast-sites-modal .dialog-buttons-wrapper .elementor-button {
height: 40px;
margin-left: 5px;
}
.ast-sites-modal .dialog-buttons-wrapper .elementor-button-success {
padding: 12px 36px;
color: #fff;
width: initial;
font-size: 15px;
}
.ast-sites-modal .dialog-buttons-wrapper .elementor-button-success:hover {
background-color: #39b54a;
}
.ast-sites-modal .dialog-message {
height: 750px;
max-height: 85vh;
overflow: auto;
padding-top: 25px;
}
.ast-sites-modal .dialog-content {
height: 100%;
}
.ast-sites-modal .dialog-loading {
display: none;
}
.ast-sites-modal__header {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
height: 50px;
}
.ast-sites-modal__header__logo {
line-height: 1;
text-transform: uppercase;
font-weight: bold;
cursor: pointer;
}
.ast-sites-modal__header__logo-area {
text-align: left;
padding-left: 15px;
}
.ast-sites-modal__header__logo-area > * {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.ast-sites-modal__header__logo__icon-wrapper {
padding: 4px 7px 6px;
background-image: -webkit-linear-gradient( 225deg, #f2295b, #434363 );
background-image: -o-linear-gradient( 225deg, #f2295b, #434363 );
background-image: linear-gradient( -135deg, #f2295b, #434363 );
-webkit-border-radius: 2px;
border-radius: 2px;
margin-right: 10px;
}
.ast-sites-modal__header__logo__title {
padding-top: 2px;
}
.ast-sites-modal__header__logo i {
color: #fff;
font-size: 10px;
}
.ast-sites-modal__header__items-area {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
-webkit-flex-direction: row-reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse;
}
.ast-sites-modal__header__item {
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
.ast-sites-modal__header__item > i {
font-size: 20px;
-webkit-transition: all 0.3s;
-o-transition: all 0.3s;
transition: all 0.3s;
cursor: pointer;
}
.ast-sites-modal__header__item > i:not( :hover ) {
color: #a4afb7;
}
.ast-sites-modal__header__close--normal {
width: 45px;
border-left: 1px solid #e6e9ec;
}
.ast-sites-modal__header__close--normal i {
font-size: 18px;
}
.ast-sites-modal__header__close--skip {
padding: 10px;
padding-left: 20px;
margin-right: 10px;
color: #fff;
background-color: #a4afb7;
font-size: 11px;
font-weight: normal;
line-height: 1;
text-transform: uppercase;
-webkit-border-radius: 2px;
border-radius: 2px;
cursor: pointer;
}
.ast-sites-modal__header__close--skip > i {
font-size: inherit;
padding-left: 10px;
margin-left: 15px;
border-left: 1px solid;
}
.ast-sites-modal__header__close--skip > i:not( :hover ) {
color: #fff;
}
.ast-sites-modal__sidebar {
width: 25%;
background-color: rgba( 255, 255, 255, 0.3 );
}
.ast-sites-modal__content {
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
-webkit-box-shadow: 0 0 13px inset rgba( 0, 0, 0, 0.05 );
box-shadow: 0 0 13px inset rgba( 0, 0, 0, 0.05 );
}

View File

@@ -0,0 +1,130 @@
.ast-sites-dark-mode {
--dark-mode-background-color: #1f2124;
--dark-mode-background-hover-color: #2b2c31;
--dark-mode-border-color: #3f444b;
}
.ast-sites-dark-mode #ast-sites-modal .astra-sites-library-template-inner,
.ast-sites-dark-mode #ast-sites-modal .inner,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-library-template:not( .elementor-template-library-template-page ) .elementor-template-library-template-footer,
.ast-sites-dark-mode #ast-sites-modal .elementor-template-library-order-input {
background-color: var( --dark-mode-background-color );
}
.ast-sites-dark-mode #ast-sites-modal .astra-sites__sync-wrap:hover span,
.ast-sites-dark-mode #ast-sites-modal .ast-sites-modal__header__close--normal:hover i,
.ast-sites-dark-mode #ast-sites-modal .back-to-layout:hover i {
color: #ffffff;
}
.ast-sites-dark-mode #ast-sites-modal .astra-blocks-filter,
.ast-sites-dark-mode #ast-sites-modal .elementor-template-library-order-input {
border-color: var( --dark-mode-border-color );
}
.ast-sites-dark-mode .select2-container--default .select2-selection--single .select2-selection__arrow b {
border-color: #e0e1e3 transparent transparent transparent;
}
.ast-sites-dark-mode #ast-sites-modal .single-site-pages::-webkit-scrollbar,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-content-wrap::-webkit-scrollbar,
.ast-sites-dark-mode #ast-sites-modal .single-site-pages::-webkit-scrollbar {
background-color: #34383c;
}
.ast-sites-dark-mode #ast-sites-modal .astra-sites-content-wrap::-webkit-scrollbar-thumb,
.ast-sites-dark-mode #ast-sites-modal .single-site-pages::-webkit-scrollbar-thumb {
background-color: #7d7e82;
}
.ast-sites-dark-mode .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
border-color: transparent transparent #e0e1e3 transparent;
}
.ast-sites-dark-mode #ast-sites-modal .ast-sites-floating-notice-wrap {
background: #404349;
}
.ast-sites-dark-mode #ast-sites-modal .notice-dismiss:before {
color: #e0e1e3;
}
.ast-sites-dark-mode #ast-sites-modal .dialog-widget-content,
.ast-sites-dark-mode #ast-sites-modal .elementor-template-library-menu-item,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-sync-library-button span,
.ast-sites-dark-mode #ast-sites-modal .ast-sites-modal__header__item > i:not( :hover ),
.ast-sites-dark-mode #ast-sites-modal .astra-blocks-filter,
.ast-sites-dark-mode #ast-sites-modal .elementor-template-library-order-input,
.ast-sites-dark-mode.astra-sites__elementor-open #ast-sites-modal .select2-container--default .select2-selection__rendered,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-no-sites h3,
.ast-sites-dark-mode #ast-sites-modal .back-to-layout,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-tooltip .dashicons-editor-help {
color: #e0e1e3;
}
.ast-sites-dark-mode #ast-sites-modal .dialog-widget-content,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-no-sites .inner {
background-color: var( --dark-mode-background-color );
}
.ast-sites-dark-mode #ast-sites-modal .dialog-header {
border-block-end: 1px solid #333438;
}
.ast-sites-dark-mode #ast-sites-modal.dialog-type-lightbox .dialog-header {
background-color: var( --dark-mode-background-color );
}
.ast-sites-dark-mode #ast-sites-modal .ast-tooltip-wrap::before {
border: 8px solid #7d7e82;
border-bottom-style: solid;
border-right-color: transparent;
border-left-color: transparent;
border-top: none;
}
.ast-sites-dark-mode #ast-sites-modal .ast-tooltip-wrap {
background: #7d7e82;
}
.ast-sites-dark-mode #ast-sites-modal #wp-filter-search-input {
border-color: #d5dadf;
border-block-end: 1px solid var( --dark-mode-border-color );
}
.ast-sites-dark-mode #ast-sites-modal .ast-sites-modal__header__logo,
.ast-sites-dark-mode #ast-sites-modal .back-to-layout,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-tooltip {
border-left: 1px solid #32363a;
}
.ast-sites-dark-mode #ast-sites-modal .astra-sites__sync-wrap,
.ast-sites-dark-mode #ast-sites-modal .ast-sites-modal__header__close--normal,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-tooltip {
border-right: 1px solid #32363a;
}
.ast-sites-dark-mode #ast-sites-modal .elementor-template-library-menu-item.elementor-active {
background-image: none;
border-color: #fff;
color: #fff;
}
#ast-sites-modal .inner {
border: 1px solid var( --dark-mode-border-color );
}
.ast-sites-dark-mode #ast-sites-modal .inner:hover {
background: var( --dark-mode-background-hover-color );
}
.ast-sites-dark-mode #ast-sites-modal .astra-blocks-filter {
background: none;
}
.ast-sites-dark-mode .astra-blocks-filter option {
background-color: var( --dark-mode-background-color );
}
.ast-sites-dark-mode .astra-blocks-filter option:hover {
background: var( --dark-mode-background-hover-color );
color: var( --dark-mode-border-color );
}

View File

@@ -0,0 +1,130 @@
.ast-sites-dark-mode {
--dark-mode-background-color: #1f2124;
--dark-mode-background-hover-color: #2b2c31;
--dark-mode-border-color: #3f444b;
}
.ast-sites-dark-mode #ast-sites-modal .astra-sites-library-template-inner,
.ast-sites-dark-mode #ast-sites-modal .inner,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-library-template:not( .elementor-template-library-template-page ) .elementor-template-library-template-footer,
.ast-sites-dark-mode #ast-sites-modal .elementor-template-library-order-input {
background-color: var( --dark-mode-background-color );
}
.ast-sites-dark-mode #ast-sites-modal .astra-sites__sync-wrap:hover span,
.ast-sites-dark-mode #ast-sites-modal .ast-sites-modal__header__close--normal:hover i,
.ast-sites-dark-mode #ast-sites-modal .back-to-layout:hover i {
color: #ffffff;
}
.ast-sites-dark-mode #ast-sites-modal .astra-blocks-filter,
.ast-sites-dark-mode #ast-sites-modal .elementor-template-library-order-input {
border-color: var( --dark-mode-border-color );
}
.ast-sites-dark-mode .select2-container--default .select2-selection--single .select2-selection__arrow b {
border-color: #e0e1e3 transparent transparent transparent;
}
.ast-sites-dark-mode #ast-sites-modal .single-site-pages::-webkit-scrollbar,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-content-wrap::-webkit-scrollbar,
.ast-sites-dark-mode #ast-sites-modal .single-site-pages::-webkit-scrollbar {
background-color: #34383c;
}
.ast-sites-dark-mode #ast-sites-modal .astra-sites-content-wrap::-webkit-scrollbar-thumb,
.ast-sites-dark-mode #ast-sites-modal .single-site-pages::-webkit-scrollbar-thumb {
background-color: #7d7e82;
}
.ast-sites-dark-mode .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
border-color: transparent transparent #e0e1e3 transparent;
}
.ast-sites-dark-mode #ast-sites-modal .ast-sites-floating-notice-wrap {
background: #404349;
}
.ast-sites-dark-mode #ast-sites-modal .notice-dismiss:before {
color: #e0e1e3;
}
.ast-sites-dark-mode #ast-sites-modal .dialog-widget-content,
.ast-sites-dark-mode #ast-sites-modal .elementor-template-library-menu-item,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-sync-library-button span,
.ast-sites-dark-mode #ast-sites-modal .ast-sites-modal__header__item > i:not( :hover ),
.ast-sites-dark-mode #ast-sites-modal .astra-blocks-filter,
.ast-sites-dark-mode #ast-sites-modal .elementor-template-library-order-input,
.ast-sites-dark-mode.astra-sites__elementor-open #ast-sites-modal .select2-container--default .select2-selection__rendered,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-no-sites h3,
.ast-sites-dark-mode #ast-sites-modal .back-to-layout,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-tooltip .dashicons-editor-help {
color: #e0e1e3;
}
.ast-sites-dark-mode #ast-sites-modal .dialog-widget-content,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-no-sites .inner {
background-color: var( --dark-mode-background-color );
}
.ast-sites-dark-mode #ast-sites-modal .dialog-header {
border-block-end: 1px solid #333438;
}
.ast-sites-dark-mode #ast-sites-modal.dialog-type-lightbox .dialog-header {
background-color: var( --dark-mode-background-color );
}
.ast-sites-dark-mode #ast-sites-modal .ast-tooltip-wrap::before {
border: 8px solid #7d7e82;
border-bottom-style: solid;
border-left-color: transparent;
border-right-color: transparent;
border-top: none;
}
.ast-sites-dark-mode #ast-sites-modal .ast-tooltip-wrap {
background: #7d7e82;
}
.ast-sites-dark-mode #ast-sites-modal #wp-filter-search-input {
border-color: #d5dadf;
border-block-end: 1px solid var( --dark-mode-border-color );
}
.ast-sites-dark-mode #ast-sites-modal .ast-sites-modal__header__logo,
.ast-sites-dark-mode #ast-sites-modal .back-to-layout,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-tooltip {
border-right: 1px solid #32363a;
}
.ast-sites-dark-mode #ast-sites-modal .astra-sites__sync-wrap,
.ast-sites-dark-mode #ast-sites-modal .ast-sites-modal__header__close--normal,
.ast-sites-dark-mode #ast-sites-modal .astra-sites-tooltip {
border-left: 1px solid #32363a;
}
.ast-sites-dark-mode #ast-sites-modal .elementor-template-library-menu-item.elementor-active {
background-image: none;
border-color: #fff;
color: #fff;
}
#ast-sites-modal .inner {
border: 1px solid var( --dark-mode-border-color );
}
.ast-sites-dark-mode #ast-sites-modal .inner:hover {
background: var( --dark-mode-background-hover-color );
}
.ast-sites-dark-mode #ast-sites-modal .astra-blocks-filter {
background: none;
}
.ast-sites-dark-mode .astra-blocks-filter option {
background-color: var( --dark-mode-background-color );
}
.ast-sites-dark-mode .astra-blocks-filter option:hover {
background: var( --dark-mode-background-hover-color );
color: var( --dark-mode-border-color );
}

View File

@@ -0,0 +1,630 @@
@font-face {
font-family: "icomoon";
src: url( "../fonts/astra-sites.eot?9i8jex" );
src: url( "../fonts/astra-sites.eot?9i8jex#iefix" ) format( "embedded-opentype" ), url( "../fonts/astra-sites.ttf?9i8jex" ) format( "truetype" ), url( "../fonts/astra-sites.woff?9i8jex" ) format( "woff" ), url( "../fonts/astra-sites.svg?9i8jex#icomoon" ) format( "svg" );
font-weight: normal;
font-style: normal;
}
[class^="ast-icon-"],
[class*=" ast-icon-"] {
font-family: "icomoon" !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ast-icon-chevron-left:before {
content: "\e904";
}
.ast-icon-search:before {
content: "\e900";
}
.ast-attachments-browser .ast-image__search.has-input + .search-icon {
display: none;
}
.ast-attachments-browser .search-icon {
position: absolute;
top: 0;
left: 0;
color: #2b2b2b;
opacity: 0.3;
padding: 12px;
}
.ast-attachments-browser .ast-image__skeleton {
column-count: 5;
column-gap: 20px;
}
.ast-attachments-browser .ast-image__search-wrap {
position: relative;
display: inline-block;
margin-left: 1%;
}
.ast-attachments-browser input.ast-image__search {
line-height: 1.8em;
width: 620px;
height: 35px;
background: #fff;
border-color: #d5dadf;
}
.ast-attachments-browser .ast-image__list-wrap.loaded .ast-image__list-img-wrap {
opacity: 1;
}
.ast-attachments-browser .ast-image__list-wrap.loaded .imported.ast-image__list-inner-wrap:before {
display: block;
}
.fl-builder-edit .media-modal .media-frame-content .ast-image__list-img-overlay span,
.fl-builder-edit .media-modal .media-frame-content .ast-image__save {
color: #fff;
}
.fl-builder-edit .media-modal .media-frame-content .ast-image__list-img-overlay .ast-image__download-icon {
color: #767676;
}
.ast-attachments-browser .ast-image__list-img-overlay span {
position: absolute;
bottom: 0;
right: 0;
color: #fff;
padding: 10px;
font-size: 13px;
width: calc( 100% - 20px );
text-align: right;
text-transform: capitalize;
}
.ast-attachments-browser .ast-image__list-img-overlay .ast-image__download-icon {
margin: 10px;
padding: 5px 7px;
width: auto;
border-radius: 2px;
left: 0;
text-align: left;
font-size: 16px;
right: auto;
background: #fff;
color: #767676;
}
.ast-attachments-browser .ast-image__list-img-overlay .ast-image__download-icon:hover {
color: #111;
box-shadow: rgb( 0 0 0 / 30% ) 0px 4px 14px;
}
.ast-attachments-browser .ast-image__list-img-overlay .ast-image__download-icon.installing:before {
content: "\f463";
font: normal 20px/1 "dashicons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: middle;
display: inline-block;
-webkit-animation: cssAnimation 2s linear infinite;
-moz-animation: cssAnimation 2s linear infinite;
-o-animation: cssAnimation 2s linear infinite;
-ms-animation: cssAnimation 2s linear infinite;
animation: cssAnimation 2s linear infinite;
}
.ast-attachments-browser .ast-image__list-img-wrap {
display: flex;
opacity: 0;
position: relative;
}
.ast-attachments-browser .ast-image__list-img-wrap:hover {
box-shadow: 0 3px 10px rgba( 0, 0, 0, 0.12 );
}
.ast-attachments-browser .ast-image__list-img-overlay {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background: rgba( 0, 0, 0, 0.4 );
opacity: 0;
transition: opacity 0.5s, visibility 0s 0.5s;
cursor: pointer;
}
.ast-attachments-browser .ast-image__list-inner-wrap:hover .ast-image__list-img-overlay {
opacity: 1;
}
.ast-attachments-browser .ast-image__filter-wrap {
display: inline-block;
vertical-align: top;
}
.ast-powered-by-pixabay-wrap {
margin-left: 25px;
display: flex;
align-items: center;
float: left;
margin-top: 10px;
}
.ast-powered-by-pixabay-wrap > span {
font-size: 12px;
color: #50575e;
margin-left: 5px;
}
.ast-powered-by-pixabay-wrap > img {
height: 1.2em;
}
.ast-attachments-browser .ast-attachments-search-wrap {
padding: 10px 20px;
border-bottom: 1px solid #ddd;
display: block;
height: 36px;
align-items: center;
padding-left: 0px;
}
.ast-attachments-browser .ast-image__filter {
display: flex;
padding: 0;
margin: 0;
list-style-type: none;
align-items: center;
}
.ast-attachments-browser .ast-image__filter li {
padding: 0 8px;
margin: 0;
}
.ast-attachments-browser .ast-image__filter li:first-child {
padding-right: 0;
}
.ast-attachments-browser .ast-image__filter li select {
height: 35px;
width: auto;
}
.fl-builder .ast-attachments-browser .ast-image__filter li select {
padding: 0 10px;
}
.ast-attachments-browser .ast-image__skeleton-inner-wrap {
overflow-y: scroll;
height: inherit;
padding: 10px;
padding-bottom: 0;
height: inherit;
}
.ast-attachments-browser .button.ast-image__validate-btn {
height: 38px;
line-height: 37px;
padding: 0 15px 2px;
}
.ast-attachments-browser.preview-mode .ast-image__skeleton-inner-wrap {
overflow-y: auto;
}
.ast-attachments-browser .ast-image__list-wrap {
padding: 0;
margin: 0;
display: grid;
grid-template-rows: 1fr auto;
margin-bottom: 20px;
break-inside: avoid;
}
.ast-attachments-browser .ast-image__skeleton-wrap {
height: 100%;
}
.ast-attachments-browser .ast-image__list-inner-wrap img {
width: 100%;
height: auto;
}
.ast-attachments-browser .single-site-wrap {
display: flex;
}
.ast-attachments-browser .single-site {
width: 100%;
display: flex;
}
.ast-attachments-browser .single-site-preview {
height: auto;
margin-left: 0;
max-height: calc( 100vh - 280px );
overflow-y: auto;
border-radius: 2px;
box-shadow: none;
}
.ast-attachments-browser .single-site-preview img {
vertical-align: middle;
}
.ast-attachments-browser .ast-image__preview-skeleton {
padding: 10px;
}
.ast-attachments-browser .single-site-preview img,
.ast-attachments-browser .single-site-preview-wrap {
width: 100%;
}
.ast-image__list-inner-wrap.imported {
position: relative;
}
.ast-attachments-browser .imported.ast-image__list-inner-wrap:before {
content: "IMPORTED";
background: rgba( 0, 0, 0, 0.5 );
color: #fff;
top: 10px;
right: 10px;
width: auto;
height: auto;
padding: 5px;
margin: 0;
z-index: 9;
position: absolute;
display: none;
}
.ast-attachments-browser .ast-image__go-back {
font-weight: 600;
font-size: 12px;
cursor: pointer;
display: inline-block;
align-items: center;
margin-top: 7px;
}
.ast-attachments-browser .ast-image__go-back i {
font-size: 14px;
height: 14px;
width: 14px;
vertical-align: text-bottom;
}
.ast-attachments-browser .ast-image__save-wrap {
padding: 0 20px;
display: inline-block;
float: left;
}
.ast-attachments-browser .ast-image__loader-wrap {
display: none;
margin: 0 auto;
min-height: 58px;
line-height: 58px;
width: 160px;
text-align: center;
position: absolute;
right: 50%;
bottom: 0;
transform: translateX( 50% );
}
.ast-attachments-browser .ast-image__loader-wrap > div {
width: 18px;
height: 18px;
background-color: #0085ba;
-webkit-border-radius: 100%;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.ast-attachments-browser .ast-image__loader-wrap .ast-image__loader-1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.ast-attachments-browser .ast-image__loader-wrap .ast-image__loader-2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
.ast-attachments-browser .ast-image__license-heading {
margin: 0;
text-align: center;
font-size: 1.4em;
font-weight: 600;
margin-top: 0;
color: #23282d;
}
.ast-attachments-browser .ast-image__license-description {
font-size: 13px;
line-height: 1.5;
margin: 2em 4em;
color: #444;
}
.ast-attachments-browser .ast-image__license-get-wrap {
font-size: 1em;
margin-top: 40px;
padding: 18px;
border-top: 1px solid #eae5e5;
}
.ast-attachments-browser .ast-image__license-input-wrap {
margin-bottom: 20px;
}
.ast-attachments-browser .ast-image__license-get-wrap h4 {
color: #444;
margin: 0;
}
.ast-attachments-browser .astra-sites-no-sites {
width: 100%;
padding: 7em 0;
}
.ast-attachments-browser .astra-sites-no-sites h3 {
font-size: 1.3rem;
font-weight: normal;
color: #666;
margin-top: 0;
text-align: center;
margin-bottom: 3em;
}
.ast-attachments-browser .ast-image__license-heading-wrap {
background: #fff;
margin-bottom: 50px;
padding: 16px 35px;
box-shadow: 0 0 8px rgba( 0, 0, 0, 0.1 );
border-radius: 2px 2px 0 0;
}
.ast-attachments-browser .ast-image__license-wrap {
position: absolute;
background: #fcfcfc;
top: 50%;
right: 50%;
transform: translateX( 50% ) translateY( -40% );
width: 600px;
box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.15 );
text-align: center;
border-radius: 2px;
}
.ast-attachments-browser .ast-image__license-input-inner-wrap {
display: inline-grid;
position: relative;
}
.ast-attachments-browser .ast-image__license-input-inner-wrap .ast-image__license-msg {
padding: 5px 10px;
border: 1px solid #cc3333;
border-radius: 2px;
text-align: right;
margin-left: 10px;
margin-top: 5px;
margin-left: 10px;
margin-right: 0;
display: none;
color: #cc3333;
background: #ffeeee;
}
.ast-attachments-browser .ast-image__license-msg i {
margin-left: 5px;
}
.ast-attachments-browser .ast-image__license-msg span {
vertical-align: middle;
}
.ast-attachments-browser input.ast-image__license {
margin-left: 10px;
width: 300px;
height: 40px;
padding-right: 13px;
border-color: #d6d6d6;
}
.ast-attachments-browser li.ast-image__license-edit-key {
display: flex;
justify-content: center;
margin-right: 5px;
align-items: center;
border-right: 1px solid #ededed;
padding: 0 15px;
}
.ast-attachments-browser .ast-image__license-edit-key + div {
padding: 0 10px;
}
.ast-attachments-browser li.ast-image__license-edit-key a:focus {
box-shadow: none;
}
.ast-attachments-browser .ast-image-valid-license {
height: 40px;
position: absolute;
left: 20px;
top: 0;
color: green;
display: flex;
align-items: center;
}
.ast-attachments-browser .ast-image__browse-images {
cursor: pointer;
}
.ast-image__save.button-primary {
display: flex;
align-items: center;
}
.ast-image__filter-safesearch > label input {
margin-left: 5px;
}
.ast-attachments-browser .ast-image__save.installing:before {
display: none;
}
.ast-attachments-browser .ast-image__save.installing:after {
content: "\f463";
display: inline-block;
font: normal 20px/1 "dashicons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: middle;
-webkit-animation: cssAnimation 0.72s ease infinite;
-moz-animation: cssAnimation 0.72s ease infinite;
-o-animation: cssAnimation 0.72s ease infinite;
-ms-animation: cssAnimation 0.72s ease infinite;
animation: cssAnimation 0.72s ease infinite;
color: #fff;
margin: 0;
padding: 0;
margin-right: 10px;
vertical-align: middle;
}
@-webkit-keyframes cssAnimation {
from {
-webkit-transform: rotate( 0 );
-moz-transform: rotate( 0 );
-o-transform: rotate( 0 );
-ms-transform: rotate( 0 );
transform: rotate( 0 );
}
to {
-webkit-transform: rotate( -360deg );
-moz-transform: rotate( -360deg );
-o-transform: rotate( -360deg );
-ms-transform: rotate( -360deg );
transform: rotate( -360deg );
}
}
@-moz-keyframes cssAnimation {
from {
-webkit-transform: rotate( 0 );
-moz-transform: rotate( 0 );
-o-transform: rotate( 0 );
-ms-transform: rotate( 0 );
transform: rotate( 0 );
}
to {
-webkit-transform: rotate( -360deg );
-moz-transform: rotate( -360deg );
-o-transform: rotate( -360deg );
-ms-transform: rotate( -360deg );
transform: rotate( -360deg );
}
}
@-o-keyframes cssAnimation {
from {
-webkit-transform: rotate( 0 );
-moz-transform: rotate( 0 );
-o-transform: rotate( 0 );
-ms-transform: rotate( 0 );
transform: rotate( 0 );
}
to {
-webkit-transform: rotate( -360deg );
-moz-transform: rotate( -360deg );
-o-transform: rotate( -360deg );
-ms-transform: rotate( -360deg );
transform: rotate( -360deg );
}
}
@-webkit-keyframes sk-bouncedelay {
0%,
80%,
100% {
-webkit-transform: scale( 0 );
transform: scale( 0 );
}
40% {
-webkit-transform: scale( 1 );
transform: scale( 1 );
}
}
@keyframes sk-bouncedelay {
0%,
80%,
100% {
-webkit-transform: scale( 0 );
transform: scale( 0 );
}
40% {
-webkit-transform: scale( 1 );
transform: scale( 1 );
}
}
@media ( max-width: 767px ) {
.ast-attachments-browser .ast-image__list-wrap {
width: 33.33%;
}
.ast-attachments-browser:not( .preview-mode ) .ast-attachments-search-wrap {
display: inline-block;
height: 76px;
width: 100%;
}
.ast-attachments-browser .search-icon {
right: 265px;
}
.ast-attachments-browser .imported.ast-image__list-inner-wrap:before {
top: 15px;
padding: 4px;
margin: 0 15px 0 5px;
font-size: 11px;
}
}
@media ( min-width: 768px ) and ( max-width: 1024px ) {
.ast-attachments-browser .ast-image__list-wrap {
width: 33.33%;
}
.ast-attachments-browser .ast-image__filter li select {
width: 100px;
}
.ast-attachments-browser input.ast-image__search {
width: 240px;
}
}
@media ( min-width: 1025px ) and ( max-width: 1200px ) {
.ast-attachments-search-wrap .ast-image__search-wrap input {
width: 220px;
}
}
@media ( min-width: 1201px ) and ( max-width: 1321px ) {
.ast-attachments-search-wrap .ast-image__search-wrap input {
width: 360px;
}
}
@media ( min-width: 1322px ) and ( max-width: 1430px ) {
.ast-attachments-search-wrap .ast-image__search-wrap input {
width: 500px;
}
}

View File

@@ -0,0 +1,630 @@
@font-face {
font-family: "icomoon";
src: url( "../fonts/astra-sites.eot?9i8jex" );
src: url( "../fonts/astra-sites.eot?9i8jex#iefix" ) format( "embedded-opentype" ), url( "../fonts/astra-sites.ttf?9i8jex" ) format( "truetype" ), url( "../fonts/astra-sites.woff?9i8jex" ) format( "woff" ), url( "../fonts/astra-sites.svg?9i8jex#icomoon" ) format( "svg" );
font-weight: normal;
font-style: normal;
}
[class^="ast-icon-"],
[class*=" ast-icon-"] {
font-family: "icomoon" !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ast-icon-chevron-left:before {
content: "\e904";
}
.ast-icon-search:before {
content: "\e900";
}
.ast-attachments-browser .ast-image__search.has-input + .search-icon {
display: none;
}
.ast-attachments-browser .search-icon {
position: absolute;
top: 0;
right: 0;
color: #2b2b2b;
opacity: 0.3;
padding: 12px;
}
.ast-attachments-browser .ast-image__skeleton {
column-count: 5;
column-gap: 20px;
}
.ast-attachments-browser .ast-image__search-wrap {
position: relative;
display: inline-block;
margin-right: 1%;
}
.ast-attachments-browser input.ast-image__search {
line-height: 1.8em;
width: 620px;
height: 35px;
background: #fff;
border-color: #d5dadf;
}
.ast-attachments-browser .ast-image__list-wrap.loaded .ast-image__list-img-wrap {
opacity: 1;
}
.ast-attachments-browser .ast-image__list-wrap.loaded .imported.ast-image__list-inner-wrap:before {
display: block;
}
.fl-builder-edit .media-modal .media-frame-content .ast-image__list-img-overlay span,
.fl-builder-edit .media-modal .media-frame-content .ast-image__save {
color: #fff;
}
.fl-builder-edit .media-modal .media-frame-content .ast-image__list-img-overlay .ast-image__download-icon {
color: #767676;
}
.ast-attachments-browser .ast-image__list-img-overlay span {
position: absolute;
bottom: 0;
left: 0;
color: #fff;
padding: 10px;
font-size: 13px;
width: calc( 100% - 20px );
text-align: left;
text-transform: capitalize;
}
.ast-attachments-browser .ast-image__list-img-overlay .ast-image__download-icon {
margin: 10px;
padding: 5px 7px;
width: auto;
border-radius: 2px;
right: 0;
text-align: right;
font-size: 16px;
left: auto;
background: #fff;
color: #767676;
}
.ast-attachments-browser .ast-image__list-img-overlay .ast-image__download-icon:hover {
color: #111;
box-shadow: rgb( 0 0 0 / 30% ) 0px 4px 14px;
}
.ast-attachments-browser .ast-image__list-img-overlay .ast-image__download-icon.installing:before {
content: "\f463";
font: normal 20px/1 "dashicons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: middle;
display: inline-block;
-webkit-animation: cssAnimation 2s linear infinite;
-moz-animation: cssAnimation 2s linear infinite;
-o-animation: cssAnimation 2s linear infinite;
-ms-animation: cssAnimation 2s linear infinite;
animation: cssAnimation 2s linear infinite;
}
.ast-attachments-browser .ast-image__list-img-wrap {
display: flex;
opacity: 0;
position: relative;
}
.ast-attachments-browser .ast-image__list-img-wrap:hover {
box-shadow: 0 3px 10px rgba( 0, 0, 0, 0.12 );
}
.ast-attachments-browser .ast-image__list-img-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba( 0, 0, 0, 0.4 );
opacity: 0;
transition: opacity 0.5s, visibility 0s 0.5s;
cursor: pointer;
}
.ast-attachments-browser .ast-image__list-inner-wrap:hover .ast-image__list-img-overlay {
opacity: 1;
}
.ast-attachments-browser .ast-image__filter-wrap {
display: inline-block;
vertical-align: top;
}
.ast-powered-by-pixabay-wrap {
margin-right: 25px;
display: flex;
align-items: center;
float: right;
margin-top: 10px;
}
.ast-powered-by-pixabay-wrap > span {
font-size: 12px;
color: #50575e;
margin-right: 5px;
}
.ast-powered-by-pixabay-wrap > img {
height: 1.2em;
}
.ast-attachments-browser .ast-attachments-search-wrap {
padding: 10px 20px;
border-bottom: 1px solid #ddd;
display: block;
height: 36px;
align-items: center;
padding-right: 0px;
}
.ast-attachments-browser .ast-image__filter {
display: flex;
padding: 0;
margin: 0;
list-style-type: none;
align-items: center;
}
.ast-attachments-browser .ast-image__filter li {
padding: 0 8px;
margin: 0;
}
.ast-attachments-browser .ast-image__filter li:first-child {
padding-left: 0;
}
.ast-attachments-browser .ast-image__filter li select {
height: 35px;
width: auto;
}
.fl-builder .ast-attachments-browser .ast-image__filter li select {
padding: 0 10px;
}
.ast-attachments-browser .ast-image__skeleton-inner-wrap {
overflow-y: scroll;
height: inherit;
padding: 10px;
padding-bottom: 0;
height: inherit;
}
.ast-attachments-browser .button.ast-image__validate-btn {
height: 38px;
line-height: 37px;
padding: 0 15px 2px;
}
.ast-attachments-browser.preview-mode .ast-image__skeleton-inner-wrap {
overflow-y: auto;
}
.ast-attachments-browser .ast-image__list-wrap {
padding: 0;
margin: 0;
display: grid;
grid-template-rows: 1fr auto;
margin-bottom: 20px;
break-inside: avoid;
}
.ast-attachments-browser .ast-image__skeleton-wrap {
height: 100%;
}
.ast-attachments-browser .ast-image__list-inner-wrap img {
width: 100%;
height: auto;
}
.ast-attachments-browser .single-site-wrap {
display: flex;
}
.ast-attachments-browser .single-site {
width: 100%;
display: flex;
}
.ast-attachments-browser .single-site-preview {
height: auto;
margin-right: 0;
max-height: calc( 100vh - 280px );
overflow-y: auto;
border-radius: 2px;
box-shadow: none;
}
.ast-attachments-browser .single-site-preview img {
vertical-align: middle;
}
.ast-attachments-browser .ast-image__preview-skeleton {
padding: 10px;
}
.ast-attachments-browser .single-site-preview img,
.ast-attachments-browser .single-site-preview-wrap {
width: 100%;
}
.ast-image__list-inner-wrap.imported {
position: relative;
}
.ast-attachments-browser .imported.ast-image__list-inner-wrap:before {
content: "IMPORTED";
background: rgba( 0, 0, 0, 0.5 );
color: #fff;
top: 10px;
left: 10px;
width: auto;
height: auto;
padding: 5px;
margin: 0;
z-index: 9;
position: absolute;
display: none;
}
.ast-attachments-browser .ast-image__go-back {
font-weight: 600;
font-size: 12px;
cursor: pointer;
display: inline-block;
align-items: center;
margin-top: 7px;
}
.ast-attachments-browser .ast-image__go-back i {
font-size: 14px;
height: 14px;
width: 14px;
vertical-align: text-bottom;
}
.ast-attachments-browser .ast-image__save-wrap {
padding: 0 20px;
display: inline-block;
float: right;
}
.ast-attachments-browser .ast-image__loader-wrap {
display: none;
margin: 0 auto;
min-height: 58px;
line-height: 58px;
width: 160px;
text-align: center;
position: absolute;
left: 50%;
bottom: 0;
transform: translateX( -50% );
}
.ast-attachments-browser .ast-image__loader-wrap > div {
width: 18px;
height: 18px;
background-color: #0085ba;
-webkit-border-radius: 100%;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.ast-attachments-browser .ast-image__loader-wrap .ast-image__loader-1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.ast-attachments-browser .ast-image__loader-wrap .ast-image__loader-2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
.ast-attachments-browser .ast-image__license-heading {
margin: 0;
text-align: center;
font-size: 1.4em;
font-weight: 600;
margin-top: 0;
color: #23282d;
}
.ast-attachments-browser .ast-image__license-description {
font-size: 13px;
line-height: 1.5;
margin: 2em 4em;
color: #444;
}
.ast-attachments-browser .ast-image__license-get-wrap {
font-size: 1em;
margin-top: 40px;
padding: 18px;
border-top: 1px solid #eae5e5;
}
.ast-attachments-browser .ast-image__license-input-wrap {
margin-bottom: 20px;
}
.ast-attachments-browser .ast-image__license-get-wrap h4 {
color: #444;
margin: 0;
}
.ast-attachments-browser .astra-sites-no-sites {
width: 100%;
padding: 7em 0;
}
.ast-attachments-browser .astra-sites-no-sites h3 {
font-size: 1.3rem;
font-weight: normal;
color: #666;
margin-top: 0;
text-align: center;
margin-bottom: 3em;
}
.ast-attachments-browser .ast-image__license-heading-wrap {
background: #fff;
margin-bottom: 50px;
padding: 16px 35px;
box-shadow: 0 0 8px rgba( 0, 0, 0, 0.1 );
border-radius: 2px 2px 0 0;
}
.ast-attachments-browser .ast-image__license-wrap {
position: absolute;
background: #fcfcfc;
top: 50%;
left: 50%;
transform: translateX( -50% ) translateY( -40% );
width: 600px;
box-shadow: 0 2px 10px rgba( 0, 0, 0, 0.15 );
text-align: center;
border-radius: 2px;
}
.ast-attachments-browser .ast-image__license-input-inner-wrap {
display: inline-grid;
position: relative;
}
.ast-attachments-browser .ast-image__license-input-inner-wrap .ast-image__license-msg {
padding: 5px 10px;
border: 1px solid #cc3333;
border-radius: 2px;
text-align: left;
margin-right: 10px;
margin-top: 5px;
margin-right: 10px;
margin-left: 0;
display: none;
color: #cc3333;
background: #ffeeee;
}
.ast-attachments-browser .ast-image__license-msg i {
margin-right: 5px;
}
.ast-attachments-browser .ast-image__license-msg span {
vertical-align: middle;
}
.ast-attachments-browser input.ast-image__license {
margin-right: 10px;
width: 300px;
height: 40px;
padding-left: 13px;
border-color: #d6d6d6;
}
.ast-attachments-browser li.ast-image__license-edit-key {
display: flex;
justify-content: center;
margin-left: 5px;
align-items: center;
border-left: 1px solid #ededed;
padding: 0 15px;
}
.ast-attachments-browser .ast-image__license-edit-key + div {
padding: 0 10px;
}
.ast-attachments-browser li.ast-image__license-edit-key a:focus {
box-shadow: none;
}
.ast-attachments-browser .ast-image-valid-license {
height: 40px;
position: absolute;
right: 20px;
top: 0;
color: green;
display: flex;
align-items: center;
}
.ast-attachments-browser .ast-image__browse-images {
cursor: pointer;
}
.ast-image__save.button-primary {
display: flex;
align-items: center;
}
.ast-image__filter-safesearch > label input {
margin-right: 5px;
}
.ast-attachments-browser .ast-image__save.installing:before {
display: none;
}
.ast-attachments-browser .ast-image__save.installing:after {
content: "\f463";
display: inline-block;
font: normal 20px/1 "dashicons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: middle;
-webkit-animation: cssAnimation 0.72s ease infinite;
-moz-animation: cssAnimation 0.72s ease infinite;
-o-animation: cssAnimation 0.72s ease infinite;
-ms-animation: cssAnimation 0.72s ease infinite;
animation: cssAnimation 0.72s ease infinite;
color: #fff;
margin: 0;
padding: 0;
margin-left: 10px;
vertical-align: middle;
}
@-webkit-keyframes cssAnimation {
from {
-webkit-transform: rotate( 0 );
-moz-transform: rotate( 0 );
-o-transform: rotate( 0 );
-ms-transform: rotate( 0 );
transform: rotate( 0 );
}
to {
-webkit-transform: rotate( 360deg );
-moz-transform: rotate( 360deg );
-o-transform: rotate( 360deg );
-ms-transform: rotate( 360deg );
transform: rotate( 360deg );
}
}
@-moz-keyframes cssAnimation {
from {
-webkit-transform: rotate( 0 );
-moz-transform: rotate( 0 );
-o-transform: rotate( 0 );
-ms-transform: rotate( 0 );
transform: rotate( 0 );
}
to {
-webkit-transform: rotate( 360deg );
-moz-transform: rotate( 360deg );
-o-transform: rotate( 360deg );
-ms-transform: rotate( 360deg );
transform: rotate( 360deg );
}
}
@-o-keyframes cssAnimation {
from {
-webkit-transform: rotate( 0 );
-moz-transform: rotate( 0 );
-o-transform: rotate( 0 );
-ms-transform: rotate( 0 );
transform: rotate( 0 );
}
to {
-webkit-transform: rotate( 360deg );
-moz-transform: rotate( 360deg );
-o-transform: rotate( 360deg );
-ms-transform: rotate( 360deg );
transform: rotate( 360deg );
}
}
@-webkit-keyframes sk-bouncedelay {
0%,
80%,
100% {
-webkit-transform: scale( 0 );
transform: scale( 0 );
}
40% {
-webkit-transform: scale( 1 );
transform: scale( 1 );
}
}
@keyframes sk-bouncedelay {
0%,
80%,
100% {
-webkit-transform: scale( 0 );
transform: scale( 0 );
}
40% {
-webkit-transform: scale( 1 );
transform: scale( 1 );
}
}
@media ( max-width: 767px ) {
.ast-attachments-browser .ast-image__list-wrap {
width: 33.33%;
}
.ast-attachments-browser:not( .preview-mode ) .ast-attachments-search-wrap {
display: inline-block;
height: 76px;
width: 100%;
}
.ast-attachments-browser .search-icon {
left: 265px;
}
.ast-attachments-browser .imported.ast-image__list-inner-wrap:before {
top: 15px;
padding: 4px;
margin: 0 5px 0 15px;
font-size: 11px;
}
}
@media ( min-width: 768px ) and ( max-width: 1024px ) {
.ast-attachments-browser .ast-image__list-wrap {
width: 33.33%;
}
.ast-attachments-browser .ast-image__filter li select {
width: 100px;
}
.ast-attachments-browser input.ast-image__search {
width: 240px;
}
}
@media ( min-width: 1025px ) and ( max-width: 1200px ) {
.ast-attachments-search-wrap .ast-image__search-wrap input {
width: 220px;
}
}
@media ( min-width: 1201px ) and ( max-width: 1321px ) {
.ast-attachments-search-wrap .ast-image__search-wrap input {
width: 360px;
}
}
@media ( min-width: 1322px ) and ( max-width: 1430px ) {
.ast-attachments-search-wrap .ast-image__search-wrap input {
width: 500px;
}
}

View File

@@ -0,0 +1,97 @@
#wpadminbar #astra-sites-import-status-admin-bar {
padding-right: 10px;
border-right: 1px solid #3d4349;
color: #fff;
}
.astra-sites-import-screen.failed .import-step:before {
content: "\f335";
color: #f44336;
}
.astra-sites-import-screen .dashicons-external {
font-size: inherit;
vertical-align: middle;
}
#astra-sites-import-status-admin-bar .dashicons {
font-family: "dashicons";
display: inline-block;
line-height: 1;
font-weight: 400;
font-style: normal;
speak: none;
text-decoration: inherit;
text-transform: none;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 20px;
vertical-align: text-top;
text-align: center;
transition: color 0.1s ease-in;
margin-left: 5px;
}
#astra-sites-import-status-admin-bar .loading::before {
color: #9ea3a8;
content: "\f463";
display: inline-block;
font: normal 20px/1 "dashicons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
animation: rotation 2s infinite linear;
margin: 5px -2px 0 5px;
font-weight: revert;
}
.astra-sites-import-screen .import-steps {
padding: 1.5em 1.5em 1em 1em;
}
.astra-sites-import-screen .import-step.processing:before {
content: "\f463";
animation: rotation 2s infinite linear;
}
.astra-sites-import-screen .import-step:before {
color: #9ea3a8;
content: "\f139";
display: inline-block;
font: normal 20px/1 "dashicons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
font-weight: revert;
margin-left: 3px;
}
.astra-sites-import-screen .import-step.success::before {
content: "\f147";
color: #4caf50;
}
.astra-sites-import-screen .import-step.fail::before {
color: #ff5722;
content: "\f335";
}
.astra-sites-import-screen .footer {
text-align: right;
padding: 10px 15px;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.astra-sites-import-screen .content {
text-align: right;
padding: 2em 5em 4em 5em;
}
.astra-sites-import-screen .view-site-button .dashicons {
font-size: initial;
vertical-align: middle;
}

View File

@@ -0,0 +1,97 @@
#wpadminbar #astra-sites-import-status-admin-bar {
padding-left: 10px;
border-left: 1px solid #3d4349;
color: #fff;
}
.astra-sites-import-screen.failed .import-step:before {
content: "\f335";
color: #f44336;
}
.astra-sites-import-screen .dashicons-external {
font-size: inherit;
vertical-align: middle;
}
#astra-sites-import-status-admin-bar .dashicons {
font-family: "dashicons";
display: inline-block;
line-height: 1;
font-weight: 400;
font-style: normal;
speak: none;
text-decoration: inherit;
text-transform: none;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 20px;
vertical-align: text-top;
text-align: center;
transition: color 0.1s ease-in;
margin-right: 5px;
}
#astra-sites-import-status-admin-bar .loading::before {
color: #9ea3a8;
content: "\f463";
display: inline-block;
font: normal 20px/1 "dashicons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
animation: rotation 2s infinite linear;
margin: 5px 5px 0 -2px;
font-weight: revert;
}
.astra-sites-import-screen .import-steps {
padding: 1.5em 1em 1em 1.5em;
}
.astra-sites-import-screen .import-step.processing:before {
content: "\f463";
animation: rotation 2s infinite linear;
}
.astra-sites-import-screen .import-step:before {
color: #9ea3a8;
content: "\f139";
display: inline-block;
font: normal 20px/1 "dashicons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
font-weight: revert;
margin-right: 3px;
}
.astra-sites-import-screen .import-step.success::before {
content: "\f147";
color: #4caf50;
}
.astra-sites-import-screen .import-step.fail::before {
color: #ff5722;
content: "\f335";
}
.astra-sites-import-screen .footer {
text-align: left;
padding: 10px 15px;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.astra-sites-import-screen .content {
text-align: left;
padding: 2em 5em 4em 5em;
}
.astra-sites-import-screen .view-site-button .dashicons {
font-size: initial;
vertical-align: middle;
}

View File

@@ -0,0 +1,303 @@
.notice:not( .ast-img-notice ) {
display: none;
}
.ast-img-flex {
-js-display: flex;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
}
.form-field p.ast-img-p {
margin: 1em 0;
}
.ast-img-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
box-sizing: border-box;
}
.form-wrap .ast-img-response-warning {
display: block;
color: #d02222;
}
.form-wrap .ast-img-google-error-response {
margin-top: 5px;
display: block;
}
.form-wrap .ast-img-google-error-response .ast-img-response-warning {
display: inline-block;
}
.form-wrap .ast-img-response-success {
display: block;
color: #2dbe15;
}
.postbox .inside .form-wrap .ast-img-integration-heading {
font-size: 15px;
font-weight: 600;
}
#ast-img-menu-page .ast-img-notice {
max-width: 860px;
margin: 0 auto;
}
.ast-img-menu-page-wrapper a {
text-decoration: none;
}
.ast-img-general-form-wrap {
width: 680px;
}
.ast-img-bulk-actions-wrap {
flex: auto;
text-align: left;
}
.ast-img-general-list .inside {
padding: 0;
margin: 0;
}
.ast-img-list-section .ast-img-widget-list li {
-js-display: flex;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
padding: 10px 12px;
-moz-box-shadow: 0px 0px 2px rgba( 0, 0, 0, 0.1 ) inset;
-webkit-box-shadow: 0px 0px 2px rgba( 0, 0, 0, 0.1 ) inset;
box-shadow: 0px 0px 2px rgba( 0, 0, 0, 0.1 ) inset;
margin-bottom: 0;
}
.ast-img-list-section .ast-img-widget-list li:nth-child( even ) {
background-color: #fbfbfb;
}
.ast-img-list-section .ast-img-widget-list .activate {
border-right: 3px solid #008ec2;
padding-right: 12px;
}
.ast-img-widget-list a {
text-decoration: none;
}
.ast-img-widget-link-wrapper {
-js-display: flex;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
display: -webkit-flex;
-webkit-flex-direction: row-reverse;
flex-direction: row-reverse;
flex: auto;
}
.ast-img-widget-list li a:before {
display: inline-block;
margin-left: 2px;
font: normal 20px/1 "dashicons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
}
.ast-img-widget-link-wrapper a:nth-child( even ) {
margin: 0 10px;
}
.ast-img-container .postbox .hndle {
background: #f7f7f7;
border-bottom: 2px solid #e6e6e6;
}
.ast-img-container .postbox ul {
margin: 0;
}
.ast-img-widget-list a {
line-height: 1.6;
}
.ast-img-widget-list a:focus {
box-shadow: none;
}
.ast-img-branding-list {
margin: 0;
}
.ast-img-menu-page-wrapper .ast-img-container .clear {
overflow: auto;
visibility: visible;
width: auto;
height: auto;
}
/* Update icon. */
.ast-img-widget-link-wrapper a.updating-message:before {
color: #f56e28;
content: "\f463";
}
/* Spins the update icon. */
.ast-img-widget-link-wrapper a.updating-message:before {
-webkit-animation: rotation 2s infinite linear;
animation: rotation 2s infinite linear;
}
.settings_page_astra-images #wpcontent {
padding: 0;
}
/* Header */
.ast-img-menu-page-header.general .ast-img-container,
.ast-img-menu-page-header.branding .ast-img-container,
.ast-img-container.ast-img-general,
.ast-img-container.ast-img-branding-wrapper {
max-width: 930px;
}
.ast-img-title {
flex: auto;
align-content: flex-start;
text-align: right;
margin: 0;
}
.ast-img-title a,
.ast-img-title span {
display: block;
outline: none;
box-shadow: none;
font-size: 1.5rem;
color: #333333;
font-weight: 500;
}
.ast-img-header-icon {
width: 50px;
vertical-align: bottom;
}
.ast-img-top-links {
flex: auto;
text-align: left;
font-weight: bold;
}
.ast-img-menu-page-header {
background-color: #fff;
text-align: center;
padding: 10px 0;
margin-bottom: 20px;
box-shadow: 0 2px 0 #efefef, 0 2px 2px #ececec;
}
/* White Label link*/
.ast-img-widget-list .ast-img-white-label {
border-right: 3px solid #008ec2;
padding-right: 12px;
}
.ast-img-hide-branding #poststuff #post-body.columns-2 {
margin: 0 auto;
max-width: 590px;
}
/* Integration */
.ast-img-integration-wrapper #poststuff {
width: 640px;
margin: 0 auto;
min-width: 640px;
}
.ast-img-integration-form-wrap .form-field select {
border-style: solid;
border-width: 1px;
width: 95%;
}
/* Spinner */
.ast-img-button-spinner:before {
font: normal 20px/0.5 dashicons;
speak: none;
display: inline-block;
padding: 0;
top: 8px;
right: -4px;
position: relative;
vertical-align: top;
content: "\f463";
}
.ast-img-button-spinner.loading:before {
-webkit-animation: rotation 1s infinite linear;
animation: rotation 1s infinite linear;
}
.ast-img-title > a {
display: flex;
align-items: center;
}
.ast-img-title .ast-img-plugin-version {
background-color: #e5e5e5;
border-radius: 3px;
font-size: 0.5em;
font-weight: 400;
margin-right: 10px;
padding: 2px 7px;
color: #333;
}
/* New extensions badge */
#Particles .ast-img-widget-title:after {
content: "extension";
color: #fff;
background: #2ecc71;
font-size: 0.7em;
font-weight: 600;
position: relative;
padding: 0.3em 0.6em;
top: -1px;
right: 12px;
letter-spacing: 0.5px;
line-height: 1em;
text-transform: none;
text-transform: uppercase !important;
border-radius: 2px;
}

View File

@@ -0,0 +1,303 @@
.notice:not( .ast-img-notice ) {
display: none;
}
.ast-img-flex {
-js-display: flex;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
}
.form-field p.ast-img-p {
margin: 1em 0;
}
.ast-img-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
box-sizing: border-box;
}
.form-wrap .ast-img-response-warning {
display: block;
color: #d02222;
}
.form-wrap .ast-img-google-error-response {
margin-top: 5px;
display: block;
}
.form-wrap .ast-img-google-error-response .ast-img-response-warning {
display: inline-block;
}
.form-wrap .ast-img-response-success {
display: block;
color: #2dbe15;
}
.postbox .inside .form-wrap .ast-img-integration-heading {
font-size: 15px;
font-weight: 600;
}
#ast-img-menu-page .ast-img-notice {
max-width: 860px;
margin: 0 auto;
}
.ast-img-menu-page-wrapper a {
text-decoration: none;
}
.ast-img-general-form-wrap {
width: 680px;
}
.ast-img-bulk-actions-wrap {
flex: auto;
text-align: right;
}
.ast-img-general-list .inside {
padding: 0;
margin: 0;
}
.ast-img-list-section .ast-img-widget-list li {
-js-display: flex;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
padding: 10px 12px;
-moz-box-shadow: 0px 0px 2px rgba( 0, 0, 0, 0.1 ) inset;
-webkit-box-shadow: 0px 0px 2px rgba( 0, 0, 0, 0.1 ) inset;
box-shadow: 0px 0px 2px rgba( 0, 0, 0, 0.1 ) inset;
margin-bottom: 0;
}
.ast-img-list-section .ast-img-widget-list li:nth-child( even ) {
background-color: #fbfbfb;
}
.ast-img-list-section .ast-img-widget-list .activate {
border-left: 3px solid #008ec2;
padding-left: 12px;
}
.ast-img-widget-list a {
text-decoration: none;
}
.ast-img-widget-link-wrapper {
-js-display: flex;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
display: -webkit-flex;
-webkit-flex-direction: row-reverse;
flex-direction: row-reverse;
flex: auto;
}
.ast-img-widget-list li a:before {
display: inline-block;
margin-right: 2px;
font: normal 20px/1 "dashicons";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
}
.ast-img-widget-link-wrapper a:nth-child( even ) {
margin: 0 10px;
}
.ast-img-container .postbox .hndle {
background: #f7f7f7;
border-bottom: 2px solid #e6e6e6;
}
.ast-img-container .postbox ul {
margin: 0;
}
.ast-img-widget-list a {
line-height: 1.6;
}
.ast-img-widget-list a:focus {
box-shadow: none;
}
.ast-img-branding-list {
margin: 0;
}
.ast-img-menu-page-wrapper .ast-img-container .clear {
overflow: auto;
visibility: visible;
width: auto;
height: auto;
}
/* Update icon. */
.ast-img-widget-link-wrapper a.updating-message:before {
color: #f56e28;
content: "\f463";
}
/* Spins the update icon. */
.ast-img-widget-link-wrapper a.updating-message:before {
-webkit-animation: rotation 2s infinite linear;
animation: rotation 2s infinite linear;
}
.settings_page_astra-images #wpcontent {
padding: 0;
}
/* Header */
.ast-img-menu-page-header.general .ast-img-container,
.ast-img-menu-page-header.branding .ast-img-container,
.ast-img-container.ast-img-general,
.ast-img-container.ast-img-branding-wrapper {
max-width: 930px;
}
.ast-img-title {
flex: auto;
align-content: flex-start;
text-align: left;
margin: 0;
}
.ast-img-title a,
.ast-img-title span {
display: block;
outline: none;
box-shadow: none;
font-size: 1.5rem;
color: #333333;
font-weight: 500;
}
.ast-img-header-icon {
width: 50px;
vertical-align: bottom;
}
.ast-img-top-links {
flex: auto;
text-align: right;
font-weight: bold;
}
.ast-img-menu-page-header {
background-color: #fff;
text-align: center;
padding: 10px 0;
margin-bottom: 20px;
box-shadow: 0 2px 0 #efefef, 0 2px 2px #ececec;
}
/* White Label link*/
.ast-img-widget-list .ast-img-white-label {
border-left: 3px solid #008ec2;
padding-left: 12px;
}
.ast-img-hide-branding #poststuff #post-body.columns-2 {
margin: 0 auto;
max-width: 590px;
}
/* Integration */
.ast-img-integration-wrapper #poststuff {
width: 640px;
margin: 0 auto;
min-width: 640px;
}
.ast-img-integration-form-wrap .form-field select {
border-style: solid;
border-width: 1px;
width: 95%;
}
/* Spinner */
.ast-img-button-spinner:before {
font: normal 20px/0.5 dashicons;
speak: none;
display: inline-block;
padding: 0;
top: 8px;
left: -4px;
position: relative;
vertical-align: top;
content: "\f463";
}
.ast-img-button-spinner.loading:before {
-webkit-animation: rotation 1s infinite linear;
animation: rotation 1s infinite linear;
}
.ast-img-title > a {
display: flex;
align-items: center;
}
.ast-img-title .ast-img-plugin-version {
background-color: #e5e5e5;
border-radius: 3px;
font-size: 0.5em;
font-weight: 400;
margin-left: 10px;
padding: 2px 7px;
color: #333;
}
/* New extensions badge */
#Particles .ast-img-widget-title:after {
content: "extension";
color: #fff;
background: #2ecc71;
font-size: 0.7em;
font-weight: 600;
position: relative;
padding: 0.3em 0.6em;
top: -1px;
left: 12px;
letter-spacing: 0.5px;
line-height: 1em;
text-transform: none;
text-transform: uppercase !important;
border-radius: 2px;
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata>
<defs>
<font id="icomoon" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
<glyph unicode="&#xe900;" glyph-name="search3" d="M660.48 239.616c-68.622-53.712-156.164-86.131-251.277-86.131-226.216 0-409.6 183.384-409.6 409.6s183.384 409.6 409.6 409.6c226.216 0 409.6-183.384 409.6-409.6 0-95.113-32.419-182.654-86.809-252.177l0.678 0.9 273.92-272.896-72.704-72.704-272.896 273.408zM409.6 256c169.662 0 307.2 137.538 307.2 307.2s-137.538 307.2-307.2 307.2v0c-169.662 0-307.2-137.538-307.2-307.2s137.538-307.2 307.2-307.2v0z" />
<glyph unicode="&#xe901;" glyph-name="heart" d="M859.008 711.808c37.547-37.589 56.277-86.656 56.277-135.851s-18.773-98.261-56.277-135.765l-347.008-347.008-347.008 347.008c-37.504 37.504-56.235 86.571-56.235 135.808s18.731 98.304 56.235 135.808 86.571 56.235 135.808 56.235 98.304-18.731 135.808-56.235l45.227-45.227c16.683-16.683 43.691-16.683 60.331 0l45.312 45.312c37.504 37.504 86.571 56.235 135.765 56.192s98.261-18.773 135.765-56.277zM919.339 772.139c-54.144 54.144-125.184 81.237-196.096 81.28s-141.952-27.051-196.139-81.195l-15.104-15.147-15.061 15.061c-54.144 54.144-125.227 81.237-196.139 81.237s-141.995-27.093-196.139-81.237-81.237-125.227-81.237-196.139 27.093-141.995 81.237-196.139l377.173-377.173c16.683-16.683 43.691-16.683 60.331 0l377.173 377.173c54.144 54.144 81.237 125.184 81.28 196.096s-27.051 141.952-81.28 196.181z" />
<glyph unicode="&#xe902;" glyph-name="refresh" d="M189.995 540.416c31.445 88.875 95.872 156.544 174.763 194.219s172.032 45.184 260.864 13.739c50.603-17.92 94.123-46.421 127.275-80.213l120.747-113.493h-148.309c-23.552 0-42.667-19.115-42.667-42.667s19.115-42.667 42.667-42.667h255.872c0.213 0 0.384 0 0.597 0 5.845 0.043 11.435 1.323 16.469 3.499 5.077 2.176 9.771 5.376 13.824 9.6 0.512 0.555 1.024 1.109 1.536 1.664 3.2 3.712 5.675 7.808 7.381 12.16s2.731 9.003 2.944 13.909c0.043 0.64 0.043 1.237 0.043 1.835v256c0 23.552-19.115 42.667-42.667 42.667s-42.667-19.115-42.667-42.667v-157.397l-124.843 117.291c-42.325 43.093-96.896 78.635-159.701 100.864-111.061 39.296-227.627 29.824-326.101-17.152s-179.157-131.669-218.453-242.731c-7.893-22.187 3.755-46.549 25.941-54.443s46.592 3.755 54.443 25.984zM85.333 242.688l126.080-118.485c82.304-82.389 191.573-124.075 300.715-124.117s218.411 41.6 301.739 124.885c47.104 47.104 81.109 102.699 100.736 159.787 7.68 22.272-4.181 46.549-26.496 54.229s-46.549-4.181-54.229-26.496c-15.403-44.8-42.368-89.216-80.341-127.189-66.688-66.645-153.984-99.925-241.365-99.925s-174.677 33.365-242.304 100.949l-119.467 112.341h148.267c23.552 0 42.667 19.115 42.667 42.667s-19.115 42.667-42.667 42.667h-255.872c-0.213 0-0.384 0-0.597 0-5.845-0.043-11.435-1.323-16.469-3.499-5.077-2.176-9.771-5.376-13.824-9.6-0.512-0.555-1.024-1.109-1.536-1.664-3.2-3.712-5.675-7.808-7.381-12.16s-2.731-9.003-2.944-13.909c-0.043-0.64-0.043-1.237-0.043-1.835v-256c0-23.552 19.115-42.667 42.667-42.667s42.667 19.115 42.667 42.667z" />
<glyph unicode="&#xe903;" glyph-name="file" d="M554.667 896h-298.667c-35.328 0-67.413-14.379-90.496-37.504s-37.504-55.168-37.504-90.496v-682.667c0-35.328 14.379-67.413 37.504-90.496s55.168-37.504 90.496-37.504h512c35.328 0 67.413 14.379 90.496 37.504s37.504 55.168 37.504 90.496v469.333c0 11.776-4.779 22.443-12.501 30.165l-298.667 298.667c-4.096 4.096-8.789 7.168-13.824 9.259-5.205 2.176-10.795 3.243-16.341 3.243zM750.336 597.334h-153.003v153.003zM512 810.667v-256c0-23.552 19.115-42.667 42.667-42.667h256v-426.667c0-11.776-4.736-22.4-12.501-30.165s-18.389-12.501-30.165-12.501h-512c-11.776 0-22.4 4.736-30.165 12.501s-12.501 18.389-12.501 30.165v682.667c0 11.776 4.736 22.4 12.501 30.165s18.389 12.501 30.165 12.501z" />
<glyph unicode="&#xe904;" glyph-name="chevron-left" d="M670.165 200.832l-225.835 225.835 225.835 225.835c16.683 16.683 16.683 43.691 0 60.331s-43.691 16.683-60.331 0l-256-256c-16.683-16.683-16.683-43.691 0-60.331l256-256c16.683-16.683 43.691-16.683 60.331 0s16.683 43.691 0 60.331z" />
<glyph unicode="&#xe905;" glyph-name="layers" d="M512 805.632l331.264-165.632-331.264-165.632-331.264 165.632zM492.928 891.478l-426.667-213.333c-21.077-10.539-29.611-36.139-19.072-57.216 4.309-8.661 11.136-15.189 19.072-19.072l426.667-213.333c12.459-6.229 26.453-5.803 38.144 0l426.667 213.333c21.077 10.539 29.611 36.181 19.072 57.259-4.309 8.619-11.179 15.147-19.072 19.072l-426.667 213.333c-12.459 6.229-26.453 5.803-38.144 0zM66.261 175.19l426.667-213.333c12.459-6.229 26.453-5.803 38.144 0l426.667 213.333c21.077 10.539 29.611 36.181 19.072 57.259s-36.181 29.611-57.259 19.072l-407.552-203.819-407.595 203.776c-21.077 10.539-46.72 2.005-57.259-19.072s-2.005-46.72 19.072-57.259zM66.261 388.523l426.667-213.333c12.459-6.229 26.453-5.803 38.144 0l426.667 213.333c21.077 10.539 29.611 36.181 19.072 57.259s-36.181 29.611-57.259 19.072l-407.552-203.819-407.595 203.776c-21.077 10.539-46.72 2.005-57.259-19.072s-2.005-46.72 19.072-57.259z" />
</font></defs></svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Isolation_Mode" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
y="0px" width="100px" height="56px" viewBox="0 0 100 56" enable-background="new 0 0 100 56" xml:space="preserve">
<path fill="#0073AA" d="M97.286,0c-1.499,0-2.714,1.2-2.714,2.683c0,11.211-4.895,23.281-13.095,32.286
C72.279,45.069,59.701,50.634,46.06,50.634c-8.53,0-17.074-2.393-24.709-6.921c-4.842-2.88-9.193-6.499-12.889-10.726l12.753,0.416
c1.498,0.049,2.752-1.112,2.801-2.594c0.049-1.48-1.125-2.72-2.623-2.769L3.747,27.465c-1.013-0.412-2.179-0.18-2.953,0.585
c-0.775,0.768-1.007,1.919-0.587,2.92l0.581,17.438c0.034,1.483,1.276,2.657,2.775,2.624c1.497-0.033,2.687-1.261,2.653-2.742
c0-0.02,0-0.038-0.002-0.058L5.878,38.171c3.733,3.944,8,7.357,12.679,10.146C27.035,53.344,36.545,56,46.06,56
c15.199,0,29.213-6.192,39.453-17.44C94.584,28.596,100,15.186,100,2.683C100,1.2,98.786,0,97.286,0L97.286,0z M97.286,0"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -0,0 +1,3 @@
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.95078 1.46005L6.41078 5.00005L9.95078 8.54005L8.54078 9.95005L5.00078 6.42005L1.47078 9.95005L0.0507812 8.53005L3.58078 5.00005L0.0507812 1.47005L1.47078 0.0500488L5.00078 3.58005L8.54078 0.0500488L9.95078 1.46005Z" fill="#4B5563"/>
</svg>

After

Width:  |  Height:  |  Size: 348 B

View File

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.59961 24H20.3996V0H3.59961V24ZM8.39961 3.6H5.99961V1.2H8.39961V3.6ZM13.1996 3.6H10.7996V1.2H13.1996V3.6ZM17.9996 3.6H15.5996V1.2H17.9996V3.6ZM8.39961 7.2H5.99961V4.8H8.39961V7.2ZM13.1996 7.2H10.7996V4.8H13.1996V7.2ZM17.9996 7.2H15.5996V4.8H17.9996V7.2ZM8.39961 10.8H5.99961V8.4H8.39961V10.8ZM13.1996 10.8H10.7996V8.4H13.1996V10.8ZM17.9996 10.8H15.5996V8.4H17.9996V10.8ZM8.39961 14.4H5.99961V12H8.39961V14.4ZM13.1996 14.4H10.7996V12H13.1996V14.4ZM17.9996 14.4H15.5996V12H17.9996V14.4ZM13.1996 22.8H5.99961V15.6H13.1996V22.8ZM17.9996 18H15.5996V15.6H17.9996V18ZM17.9996 21.6H15.5996V19.2H17.9996V21.6Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 731 B

View File

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.19922 15.5999H17.9992C18.6592 15.5999 19.1992 16.1399 19.1992 16.7999C19.1992 17.4599 18.6592 17.9999 17.9992 17.9999H5.99922C5.33922 17.9999 4.79922 17.4599 4.79922 16.7999V4.7999H2.39922C1.73922 4.7999 1.19922 4.2599 1.19922 3.5999C1.19922 2.9399 1.73922 2.3999 2.39922 2.3999H5.99922C6.65922 2.3999 7.19922 2.9399 7.19922 3.5999V5.9999H22.7992L17.9992 14.3999H7.19922V15.5999ZM6.59922 19.1999C7.59522 19.1999 8.39922 20.0039 8.39922 20.9999C8.39922 21.9959 7.59522 22.7999 6.59922 22.7999C5.60322 22.7999 4.79922 21.9959 4.79922 20.9999C4.79922 20.0039 5.60322 19.1999 6.59922 19.1999ZM17.3992 19.1999C18.3952 19.1999 19.1992 20.0039 19.1992 20.9999C19.1992 21.9959 18.3952 22.7999 17.3992 22.7999C16.4032 22.7999 15.5992 21.9959 15.5992 20.9999C15.5992 20.0039 16.4032 19.1999 17.3992 19.1999Z" fill="#1F2937"/>
</svg>

After

Width:  |  Height:  |  Size: 931 B

View File

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M21.781 7.12811C22.333 9.07211 22.237 10.9921 21.757 12.5041C21.253 14.0401 20.245 15.1201 18.997 15.4801C18.805 15.5521 18.685 15.5521 18.517 15.5521C18.445 15.5761 18.373 15.5761 18.301 15.5761C18.229 15.6001 18.133 15.6001 18.037 15.6001H9.87697L12.541 22.2001C12.565 22.3681 12.469 22.5121 12.373 22.6081C12.277 22.7281 12.085 22.8001 11.965 22.8001H8.34097C8.22097 22.8001 8.02897 22.7281 7.93297 22.6081C7.83697 22.5121 7.74097 22.3681 7.76497 22.2001L6.56497 15.6001H5.10097L5.07697 15.5761C4.47697 15.6481 3.78097 15.3601 3.22897 14.8321C2.67697 14.3041 2.17297 13.5361 1.95697 12.5761C1.66897 11.6161 1.71697 10.7041 1.93297 9.93611C2.14897 9.19211 2.62897 8.64011 3.20497 8.37611L3.22897 8.35211L14.029 1.87211C14.149 1.80011 14.245 1.75211 14.317 1.68011C14.389 1.63211 14.485 1.58411 14.605 1.53611C14.797 1.44011 14.941 1.39211 15.205 1.32011C16.453 0.960113 17.893 1.44011 19.069 2.49611C20.245 3.55211 21.277 5.18411 21.781 7.12811ZM18.685 14.3041H18.661C19.141 14.1841 19.549 13.8961 19.909 13.4641C20.605 12.6241 20.941 11.3521 20.941 9.81611C20.941 9.04811 20.821 8.25611 20.605 7.44011C20.197 5.80811 19.381 4.44011 18.469 3.55211C17.557 2.66411 16.453 2.23211 15.517 2.49611C14.533 2.76011 13.837 3.64811 13.477 4.89611C13.093 6.14411 13.141 7.72811 13.549 9.36011C14.005 10.9921 14.749 12.3601 15.709 13.2481C16.645 14.1361 17.653 14.5681 18.685 14.3041ZM15.637 5.80811C15.901 5.76011 16.141 5.78411 16.381 5.85611C16.837 6.04811 17.293 6.43211 17.605 7.05611C17.917 7.68011 18.109 8.49611 18.109 9.19211C18.109 9.55211 18.061 9.86411 17.965 10.1521C17.749 10.7281 17.437 11.1601 16.933 11.2801C16.525 11.4001 15.973 11.2081 15.565 10.8001C15.157 10.3921 14.797 9.76811 14.629 9.00011C14.413 8.25611 14.485 7.51211 14.653 6.93611C14.821 6.36011 15.229 5.92811 15.637 5.80811Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20.2676 1.43999L21.9596 3.13199C22.4276 3.59999 22.4276 4.35599 21.9596 4.82399L16.7996 9.99599V21.6H3.59961V3.59999H16.4036L18.5636 1.43999C19.0436 0.971987 19.7996 0.959987 20.2676 1.43999ZM13.4756 11.616L19.9196 5.18399L18.2156 3.47999L11.7836 9.92399L10.9316 12.468L13.4756 11.616Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="200px" height="240px" viewBox="0 0 200 240" enable-background="new 0 0 200 240" xml:space="preserve">
<g>
<g>
<path fill="#FFFFFF" d="M196.201,0H3.8C1.7,0,0,1.7,0,3.8v232.5c0,2.1,1.7,3.799,3.8,3.799h192.401c2.1,0,3.799-1.699,3.799-3.799
V3.8C200,1.7,198.301,0,196.201,0L196.201,0z"/>
</g>
</g>
<g>
<g>
<g>
<path fill="#FF4D4D" d="M170,222.599c-0.199,0-0.5-0.1-0.699-0.299L164,216.999c-0.9-0.799-1.4-1.9-1.4-3.199
c0-2.301,1.9-4.201,4.201-4.201c1.299,0,2.4,0.5,3.199,1.5c0.801-0.898,2-1.5,3.201-1.5c2.299,0,4.199,1.9,4.199,4.201
c0,1.199-0.5,2.4-1.5,3.199L170.6,222.3C170.5,222.499,170.301,222.599,170,222.599z M167.1,210.999c-1.699,0-3.1,1.4-3.1,3
c0,0.9,0.4,1.701,1,2.301l5,4.9l0,0l4.9-4.9c0.699-0.6,1.1-1.4,1.1-2.301c0-1.699-1.4-3-3.1-3c-1.1,0-2,0.5-2.6,1.4l-0.301,0.6
l-0.299-0.6C169.1,211.499,168.1,210.999,167.1,210.999z"/>
</g>
</g>
</g>
<g>
<g>
<g>
<path fill="#DDE3E6" d="M106.712,217.599H14.421c-0.818,0-1.5-0.682-1.5-1.501c0-0.817,0.682-1.499,1.5-1.499h92.358
c0.818,0,1.5,0.682,1.5,1.499C108.211,216.917,107.598,217.599,106.712,217.599z"/>
</g>
</g>
</g>
<g>
<g>
<path fill="#DDE3E6" d="M196.201,0.9c1.6,0,2.799,1.3,2.799,2.8v232.5c0,1.6-1.299,2.799-2.799,2.799H3.8
c-1.6,0-2.8-1.299-2.8-2.799V3.8C1,2.2,2.3,1,3.8,1L196.201,0.9 M196.201,0H3.8C1.7,0,0,1.7,0,3.8v232.5
c0,2.1,1.7,3.799,3.8,3.799h192.401c2.1,0,3.799-1.699,3.799-3.799V3.8C200,1.7,198.301,0,196.201,0L196.201,0z"/>
</g>
</g>
<g>
<rect x="0.899" y="191.399" fill="#DDE3E6" width="198.601" height="1.5"/>
</g>
<g>
<path fill="#DDE3E6" d="M163.801,118.7H36.2c-1.9,0-3.4-1.5-3.4-3.4V38.7c0-1.9,1.5-3.4,3.4-3.4h127.501
c1.898,0,3.398,1.5,3.398,3.4v76.6C167.1,117.2,165.6,118.7,163.801,118.7z M36.2,37.4c-0.801,0-1.4,0.6-1.4,1.4v76.602
c0,0.699,0.6,1.398,1.4,1.398h127.501c0.799,0,1.398-0.6,1.398-1.398V38.7c0-0.7-0.6-1.4-1.398-1.4H36.2V37.4z"/>
</g>
<g>
<rect x="33.899" y="172.999" fill="#DDE3E6" width="37.801" height="2.4"/>
</g>
<g>
<path fill="#DDE3E6" d="M69.3,165.8H36.2c-1.9,0-3.4-1.5-3.4-3.4v-28.301c0-1.898,1.5-3.398,3.4-3.398h33.1
c1.9,0,3.4,1.5,3.4,3.398v28.301C72.7,164.3,71.2,165.8,69.3,165.8z M36.2,132.8c-0.801,0-1.4,0.6-1.4,1.4v28.299
c0,0.701,0.6,1.4,1.4,1.4h33.1c0.8,0,1.4-0.6,1.4-1.4V134.2c0-0.701-0.601-1.4-1.4-1.4H36.2z"/>
</g>
<g>
<rect x="80.4" y="172.999" fill="#DDE3E6" width="37.801" height="2.4"/>
</g>
<g>
<path fill="#DDE3E6" d="M115.801,165.8H82.7c-1.9,0-3.4-1.5-3.4-3.4v-28.301c0-1.898,1.5-3.398,3.4-3.398h33.101
c1.9,0,3.4,1.5,3.4,3.398v28.301C119.201,164.3,117.6,165.8,115.801,165.8z M82.7,132.8c-0.8,0-1.4,0.6-1.4,1.4v28.299
c0,0.701,0.601,1.4,1.4,1.4h33.101c0.799,0,1.4-0.6,1.4-1.4V134.2c0-0.701-0.602-1.4-1.4-1.4H82.7z"/>
</g>
<g>
<rect x="126.701" y="172.999" fill="#DDE3E6" width="37.799" height="2.4"/>
</g>
<g>
<path fill="#DDE3E6" d="M162.1,165.8H129c-1.9,0-3.4-1.5-3.4-3.4v-28.301c0-1.898,1.5-3.398,3.4-3.398h33.1
c1.9,0,3.4,1.5,3.4,3.398v28.301C165.4,164.3,163.9,165.8,162.1,165.8z M129,132.8c-0.799,0-1.4,0.6-1.4,1.4v28.299
c0,0.701,0.602,1.4,1.4,1.4h33.1c0.801,0,1.4-0.6,1.4-1.4V134.2c0-0.701-0.6-1.4-1.4-1.4H129z"/>
</g>
<g>
<path fill="#DDE3E6" d="M107.967,65.958c0,2.469-1.98,4.48-4.414,4.48c-2.432,0-4.411-2.009-4.411-4.48s1.979-4.48,4.411-4.48
C105.986,61.477,107.967,63.489,107.967,65.958L107.967,65.958z M97.314,65.958c0,3.476,2.801,6.308,6.239,6.308
c3.441,0,6.238-2.831,6.238-6.308c0-3.479-2.797-6.308-6.238-6.308C100.111,59.65,97.314,62.481,97.314,65.958L97.314,65.958z"/>
<path fill="#DDE3E6" d="M118.678,74.36l-14.094,13.848L87.908,67.983L65.561,96.492l1.697,1.312L87.95,71.406l21.511,26.089
l1.664-1.357l-5.17-6.271L118.67,77.37c2.984,2.941,13.779,13.59,14.246,14.054l1.523-1.511
c-0.539-0.535-15.012-14.807-15.012-14.807L118.678,74.36L118.678,74.36z"/>
</g>
<g>
<g>
<path fill="#DDE3E6" d="M40.214,17.787H11.842c-0.423,0-0.756-0.197-0.756-0.447V9.686c0-0.25,0.333-0.447,0.756-0.447h28.35
c0.422,0,0.755,0.197,0.755,0.447v7.654C40.946,17.589,40.613,17.787,40.214,17.787z"/>
</g>
<g>
<g>
<g>
<rect x="99.244" y="12.763" fill="#DDE3E6" width="89.67" height="1.5"/>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -0,0 +1,14 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M27.6721 9.13115H12.3279C10.5624 9.13115 9.13115 10.5624 9.13115 12.3279V27.6721C9.13115 29.4376 10.5624 30.8689 12.3279 30.8689H27.6721C29.4376 30.8689 30.8689 29.4376 30.8689 27.6721V12.3279C30.8689 10.5624 29.4376 9.13115 27.6721 9.13115ZM12.3279 7C9.38537 7 7 9.38537 7 12.3279V27.6721C7 30.6146 9.38537 33 12.3279 33H27.6721C30.6146 33 33 30.6146 33 27.6721V12.3279C33 9.38537 30.6146 7 27.6721 7H12.3279Z" fill="url(#paint0_linear_425_16)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.7109 15.1798C22.6609 15.1351 22.6082 15.0923 22.5527 15.0515C22.0715 14.6972 21.4184 14.52 20.5935 14.52C20.0329 14.52 19.5597 14.5993 19.1737 14.758C18.7876 14.9113 18.4915 15.1255 18.2853 15.4005C18.0638 15.7036 17.6865 15.9493 17.3603 15.7634C17.1041 15.6175 16.8677 15.4376 16.6576 15.2275C16.2659 14.8358 15.9787 14.3521 15.8222 13.8206C15.7533 13.5865 15.8143 13.3307 15.9986 13.1707C16.4109 12.8129 16.8929 12.5118 17.4445 12.2673C18.3752 11.8549 19.4328 11.6487 20.6173 11.6487C21.8229 11.6487 22.8752 11.8549 23.7742 12.2673C24.6784 12.6798 25.3817 13.2535 25.8841 13.9886C26.0678 14.2575 26.2191 14.5419 26.3377 14.8419C26.6896 15.7316 25.8774 16.5427 24.9207 16.5427C24.1738 16.5427 23.576 15.9841 23.0112 15.4564C22.9102 15.3621 22.8104 15.2687 22.7109 15.1798ZM17.7934 16.9394C17.9352 16.884 18.087 16.9679 18.1663 17.0979C18.3038 17.3147 18.4915 17.5024 18.7295 17.6611C18.9674 17.8144 19.2424 17.9493 19.5544 18.0656C19.8664 18.1766 20.1995 18.2718 20.5538 18.3511L22.0133 18.7002C22.7219 18.8588 23.3723 19.0703 23.9646 19.3347C24.5568 19.5991 25.0697 19.9243 25.5033 20.3103C25.937 20.6964 26.2727 21.1511 26.5107 21.6746C26.754 22.1981 26.8782 22.7983 26.8835 23.4752C26.8782 24.4693 26.6244 25.3313 26.122 26.061C25.625 26.7854 24.9058 27.3486 23.9646 27.7505C23.0286 28.1471 21.8996 28.3454 20.5776 28.3454C19.2662 28.3454 18.124 28.1445 17.151 27.7426C16.1833 27.3407 15.4271 26.7458 14.8825 25.9579C14.6311 25.5882 14.4354 25.1778 14.2955 24.7266C14.0132 23.8165 14.8178 23.0151 15.7707 23.0151H15.8942C16.7178 23.0151 17.3296 23.7217 17.8252 24.3794C18.1055 24.739 18.4783 25.0113 18.9436 25.1964C19.4143 25.3762 19.9457 25.4661 20.5379 25.4661C21.1196 25.4661 21.6246 25.3815 22.053 25.2123C22.4866 25.0431 22.8224 24.8078 23.0603 24.5063C23.2983 24.2049 23.4172 23.8586 23.4172 23.4673C23.4172 23.1024 23.3088 22.7957 23.092 22.5471C22.8805 22.2986 22.5685 22.0871 22.1561 21.9126C21.7489 21.7381 21.2492 21.5794 20.6569 21.4367L18.8881 20.9925C17.7278 20.7102 16.7743 20.2933 16.0277 19.7415C15.8259 19.5924 15.7514 19.3298 15.8222 19.0891C15.9786 18.5577 16.2658 18.074 16.6575 17.6822C16.9815 17.3582 17.3685 17.1056 17.7934 16.9394ZM15.6917 14.6986L15.5362 14.1704C15.5295 14.1475 15.5156 14.1273 15.4965 14.113C15.4773 14.0987 15.4541 14.0909 15.4302 14.0909C15.4063 14.0909 15.3831 14.0987 15.364 14.113C15.3449 14.1273 15.3309 14.1475 15.3242 14.1704L15.169 14.6986C15.0647 15.0528 14.8732 15.3753 14.612 15.6364C14.3509 15.8975 14.0284 16.0889 13.6741 16.1932L13.1459 16.3486C13.0402 16.38 13.0402 16.5297 13.1459 16.5606L13.6741 16.716C14.0284 16.8203 14.3508 17.0118 14.6119 17.2729C14.873 17.534 15.0645 17.8564 15.1688 18.2106L15.3242 18.739C15.3554 18.8446 15.5051 18.8446 15.5362 18.739L15.6917 18.2109C15.7959 17.8566 15.9874 17.5341 16.2485 17.273C16.5096 17.0118 16.832 16.8203 17.1863 16.716L17.7147 16.5606C17.8203 16.5295 17.8203 16.3798 17.7147 16.3488L17.1865 16.1934C16.8322 16.0891 16.5097 15.8977 16.2486 15.6365C15.9874 15.3753 15.7959 15.0529 15.6917 14.6986ZM13.8075 17.8186L13.8541 17.9771C13.8854 18.0834 13.9428 18.1801 14.0212 18.2584C14.0995 18.3368 14.1963 18.3942 14.3026 18.4255L14.461 18.4721C14.4927 18.4814 14.4927 18.5263 14.461 18.5357L14.3025 18.5823C14.1962 18.6136 14.0995 18.671 14.0212 18.7494C13.9428 18.8277 13.8854 18.9245 13.8541 19.0308L13.8075 19.1892C13.7981 19.2209 13.7532 19.2209 13.7439 19.1892L13.6973 19.0307C13.666 18.9244 13.6085 18.8277 13.5302 18.7494C13.4519 18.671 13.3551 18.6136 13.2489 18.5823L13.0904 18.5357C13.0587 18.5264 13.0587 18.4815 13.0904 18.4721L13.2489 18.4254C13.3551 18.3942 13.4519 18.3367 13.5302 18.2584C13.6086 18.1801 13.666 18.0833 13.6973 17.9771L13.7439 17.8186C13.7459 17.8117 13.7501 17.8057 13.7558 17.8014C13.7615 17.7971 13.7685 17.7948 13.7757 17.7948C13.7829 17.7948 13.7898 17.7971 13.7956 17.8014C13.8013 17.8057 13.8055 17.8117 13.8075 17.8186ZM13.5038 13.5075L13.4312 13.261C13.4281 13.2503 13.4216 13.2409 13.4127 13.2342C13.4038 13.2275 13.3929 13.2239 13.3818 13.2239C13.3706 13.2239 13.3598 13.2275 13.3509 13.2342C13.3419 13.2409 13.3354 13.2503 13.3323 13.261L13.2599 13.5075C13.2112 13.6728 13.1218 13.8233 12.9999 13.9451C12.8781 14.067 12.7276 14.1563 12.5622 14.205L12.3158 14.2775C12.2664 14.2922 12.2664 14.362 12.3158 14.3764L12.5622 14.449C12.7276 14.4976 12.878 14.587 12.9999 14.7088C13.1217 14.8307 13.2111 14.9812 13.2598 15.1465L13.3323 15.393C13.3468 15.4423 13.4167 15.4423 13.4312 15.393L13.5038 15.1466C13.5524 14.9812 13.6418 14.8308 13.7636 14.7089C13.8855 14.587 14.036 14.4977 14.2013 14.449L14.4479 14.3764C14.4971 14.3619 14.4971 14.2921 14.4479 14.2776L14.2014 14.2051C14.036 14.1564 13.8855 14.0671 13.7637 13.9452C13.6418 13.8233 13.5524 13.6728 13.5038 13.5075Z" fill="url(#paint1_linear_425_16)"/>
<defs>
<linearGradient id="paint0_linear_425_16" x1="8.69322" y1="32.6948" x2="17.1596" y2="3.23891" gradientUnits="userSpaceOnUse">
<stop stop-color="#C639FF"/>
<stop offset="1" stop-color="#3662FF"/>
</linearGradient>
<linearGradient id="paint1_linear_425_16" x1="13.2299" y1="28.1494" x2="19.3033" y2="9.66634" gradientUnits="userSpaceOnUse">
<stop stop-color="#C639FF"/>
<stop offset="1" stop-color="#3662FF"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<path class="st0" d="M93,38.4c0,0.3,0,0.5-0.1,0.8l-5.8,23c-0.3,1.2-1.3,2-2.5,2l-34.5,0.2c0,0,0,0,0,0H15.6c-1.2,0-2.2-0.8-2.5-2
L7.3,39.2c-0.1-0.3-0.1-0.5-0.1-0.8c-2.2-0.7-3.8-2.8-3.8-5.2c0-3,2.5-5.5,5.5-5.5s5.5,2.5,5.5,5.5c0,1.7-0.8,3.2-2,4.2l7.2,7.3
c1.8,1.8,4.3,2.9,6.9,2.9c3.1,0,6-1.5,7.8-3.9L46.1,28c-1-1-1.6-2.4-1.6-3.9c0-3,2.5-5.5,5.5-5.5s5.5,2.5,5.5,5.5
c0,1.5-0.6,2.8-1.5,3.8c0,0,0,0,0,0l11.8,15.7c1.8,2.5,4.8,3.9,7.8,3.9c2.6,0,5.1-1,6.9-2.9l7.2-7.2c-1.2-1-2.1-2.5-2.1-4.3
c0-3,2.5-5.5,5.5-5.5s5.5,2.5,5.5,5.5C96.6,35.6,95.1,37.6,93,38.4z M86.6,72.5c0-1.4-1.2-2.6-2.6-2.6H16.3c-1.4,0-2.6,1.2-2.6,2.6
v6.3c0,1.4,1.2,2.6,2.6,2.6H84c1.4,0,2.6-1.2,2.6-2.6V72.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="bold" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve">
<style type="text/css">
.st0{fill:#4224B8;}
</style>
<g>
<path class="st0" d="M21.5,27.8H4.2c-1.5,0-2.8-1.2-2.8-2.8s1.2-2.8,2.8-2.8h41.5c1.5,0,2.8,1.2,2.8,2.8s-1.2,2.8-2.8,2.8H21.5"/>
<path class="st0" d="M21.5,42.5H4.2c-1.5,0-2.8-1.2-2.8-2.8c0-1.5,1.2-2.8,2.8-2.8h41.5c1.5,0,2.8,1.2,2.8,2.8
c0,1.5-1.2,2.8-2.8,2.8H21.5"/>
<path class="st0" d="M45.8,13H4.2c-1.5,0-2.8-1.2-2.8-2.8s1.2-2.8,2.8-2.8h41.5c1.5,0,2.8,1.2,2.8,2.8S47.3,13,45.8,13z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 803 B

View File

@@ -0,0 +1,23 @@
<svg width="400" height="400" viewBox="0 0 400 400" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_30641_151024)">
<mask id="mask0_30641_151024" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="400" height="400">
<rect width="400" height="400" fill="url(#paint0_linear_30641_151024)"/>
</mask>
<g mask="url(#mask0_30641_151024)">
<path opacity="0.1" fill-rule="evenodd" clip-rule="evenodd" d="M449.654 138.045C447.501 136.132 445.228 134.301 442.836 132.552C422.095 117.386 393.946 109.802 358.389 109.802C334.229 109.802 313.829 113.198 297.191 119.989C280.552 126.553 267.788 135.722 258.9 147.493C249.351 160.47 233.089 170.986 219.027 163.031C207.99 156.785 197.797 149.081 188.744 140.091C171.86 123.322 159.48 102.614 152.738 79.8637C149.767 69.8409 152.396 58.8858 160.342 52.0385C178.112 36.7243 198.884 23.8343 222.659 13.3697C262.774 -4.28653 308.359 -13.1152 359.415 -13.1152C411.383 -13.1152 456.74 -4.28653 495.487 13.3697C534.462 31.0271 564.776 55.5874 586.43 87.053C594.35 98.5622 600.868 110.739 605.983 123.582C621.151 161.666 586.142 196.387 544.904 196.387C512.714 196.387 486.944 172.476 462.6 149.887C458.249 145.849 453.943 141.854 449.654 138.045ZM237.702 213.375C243.813 211.001 250.356 214.593 253.772 220.156C259.697 229.437 267.788 237.473 278.045 244.264C288.302 250.828 300.155 256.601 313.602 261.582C327.05 266.335 341.408 270.409 356.68 273.805L419.587 288.745C450.13 295.536 478.165 304.591 503.693 315.909C529.221 327.228 551.329 341.149 570.019 357.674C588.709 374.198 603.183 393.667 613.439 416.076C623.923 438.487 629.281 464.18 629.508 493.154C629.281 535.712 618.34 572.609 596.686 603.849C575.262 634.86 544.263 658.968 503.693 676.172C463.349 693.15 414.688 701.639 357.706 701.639C301.18 701.639 251.948 693.036 210.009 675.832C168.299 658.628 135.705 633.162 112.229 599.434C101.394 583.609 92.9606 566.04 86.9276 546.725C74.7589 507.767 109.441 473.461 150.512 473.461H155.837C191.336 473.461 217.705 503.708 239.07 531.864C251.15 547.257 267.219 558.914 287.276 566.836C307.562 574.534 330.469 578.382 355.996 578.382C381.069 578.382 402.835 574.76 421.297 567.516C439.987 560.272 454.46 550.199 464.718 537.297C474.974 524.394 480.102 509.566 480.102 492.815C480.102 477.195 475.429 464.067 466.085 453.427C456.967 442.788 443.521 433.734 425.741 426.264C408.191 418.793 386.652 412.002 361.124 405.89L284.883 386.875C234.871 374.793 193.773 356.943 161.593 333.325C152.893 326.941 149.683 315.702 152.738 305.396C159.477 282.648 171.856 261.941 188.739 245.172C202.705 231.299 219.387 220.487 237.702 213.375ZM147.107 117.451L140.406 94.8417C140.118 93.8597 139.516 92.9972 138.693 92.3839C137.869 91.7705 136.868 91.439 135.838 91.439C134.808 91.439 133.807 91.7705 132.983 92.3839C132.159 92.9972 131.557 93.8597 131.269 94.8417L124.579 117.451C120.083 132.616 111.829 146.419 100.572 157.597C89.3161 168.774 75.4162 176.969 60.1446 181.432L37.3786 188.086C32.82 189.429 32.82 195.837 37.3786 197.161L60.1446 203.814C75.4138 208.278 89.3114 216.475 100.567 227.652C111.822 238.829 120.074 252.631 124.569 267.796L131.269 290.414C132.611 294.932 139.065 294.932 140.406 290.414L147.107 267.805C151.6 252.639 159.852 238.835 171.108 227.656C182.362 216.477 196.261 208.279 211.531 203.814L234.307 197.161C238.856 195.827 238.856 189.419 234.307 188.095L211.541 181.442C196.268 176.978 182.368 168.781 171.111 157.601C159.854 146.423 151.601 132.618 147.107 117.451ZM65.8939 250.993L67.9042 257.775C69.2525 262.326 71.7284 266.467 75.1056 269.821C78.4817 273.174 82.6527 275.633 87.2335 276.972L94.0637 278.969C95.4284 279.367 95.4284 281.289 94.0637 281.689L87.2311 283.685C82.6504 285.024 78.4805 287.483 75.1033 290.838C71.7273 294.192 69.2513 298.333 67.9042 302.882L65.8939 309.665C65.4912 311.02 63.5557 311.02 63.153 309.665L61.1427 302.879C59.7944 298.331 57.3184 294.189 53.9412 290.836C50.5652 287.482 46.3954 285.024 41.8146 283.685L34.9855 281.689C33.6173 281.291 33.6173 279.369 34.9855 278.967L41.8146 276.97C46.3965 275.631 50.5664 273.173 53.9436 269.819C57.3208 266.466 59.7968 262.325 61.1451 257.775L63.153 250.993C63.2393 250.699 63.4191 250.44 63.6666 250.256C63.9141 250.071 64.2141 249.972 64.5234 249.972C64.8316 249.972 65.1328 250.071 65.3791 250.256C65.6266 250.44 65.8076 250.699 65.8939 250.993ZM52.8019 66.467L49.6757 55.9167C49.5403 55.4587 49.2601 55.0564 48.876 54.77C48.4908 54.4837 48.0238 54.3283 47.5429 54.3283C47.0631 54.3283 46.595 54.4837 46.2109 54.77C45.8269 55.0564 45.5455 55.4587 45.4113 55.9167L42.2886 66.467C40.1908 73.5451 36.3396 79.9854 31.0865 85.2026C25.8333 90.4187 19.3462 94.2423 12.2195 96.3258L1.59521 99.4306C-0.531737 100.057 -0.531737 103.048 1.59521 103.666L12.2195 106.771C19.3451 108.854 25.831 112.679 31.083 117.895C36.3361 123.111 40.1873 129.552 42.2851 136.628L45.4113 147.184C46.0382 149.292 49.0488 149.292 49.6757 147.184L52.8019 136.633C54.8985 129.556 58.7496 123.113 64.0028 117.896C69.2548 112.68 75.7407 108.854 82.8663 106.771L93.4952 103.666C95.6187 103.043 95.6187 100.053 93.4952 99.4352L82.871 96.3292C75.7442 94.247 69.2571 90.4222 64.004 85.205C58.7508 79.9877 54.8997 73.5451 52.8019 66.467Z" fill="url(#paint1_linear_30641_151024)"/>
</g>
</g>
<defs>
<linearGradient id="paint0_linear_30641_151024" x1="400" y1="200" x2="0" y2="200" gradientUnits="userSpaceOnUse">
<stop stop-color="#D9D9D9"/>
<stop offset="1" stop-color="#737373" stop-opacity="0"/>
</linearGradient>
<linearGradient id="paint1_linear_30641_151024" x1="40.9963" y1="693.25" x2="299.552" y2="-99.0267" gradientUnits="userSpaceOnUse">
<stop stop-color="#C639FF"/>
<stop offset="1" stop-color="#3662FF"/>
</linearGradient>
<clipPath id="clip0_30641_151024">
<rect width="400" height="400" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View File

@@ -0,0 +1,10 @@
<!-- <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.17766 12.2532L6.5 14.625L5.82234 12.2532C5.4664 11.0074 4.4926 10.0336 3.24682 9.67766L0.875 9L3.24683 8.32234C4.4926 7.9664 5.4664 6.9926 5.82234 5.74682L6.5 3.375L7.17766 5.74683C7.5336 6.9926 8.5074 7.9664 9.75318 8.32234L12.125 9L9.75317 9.67766C8.5074 10.0336 7.5336 11.0074 7.17766 12.2532Z" stroke="#D1DAE5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M14.2157 6.26211L14 7.125L13.7843 6.26212C13.5324 5.25444 12.7456 4.46764 11.7379 4.21572L10.875 4L11.7379 3.78428C12.7456 3.53236 13.5324 2.74556 13.7843 1.73789L14 0.875L14.2157 1.73788C14.4676 2.74556 15.2544 3.53236 16.2621 3.78428L17.125 4L16.2621 4.21572C15.2544 4.46764 14.4676 5.25444 14.2157 6.26211Z" stroke="#D1DAE5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M13.0785 16.1394L12.75 17.125L12.4215 16.1394C12.2348 15.5795 11.7955 15.1402 11.2356 14.9535L10.25 14.625L11.2356 14.2965C11.7955 14.1098 12.2348 13.6705 12.4215 13.1106L12.75 12.125L13.0785 13.1106C13.2652 13.6705 13.7045 14.1098 14.2644 14.2965L15.25 14.625L14.2644 14.9535C13.7045 15.1402 13.2652 15.5795 13.0785 16.1394Z" stroke="#D1DAE5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg> -->
<svg width="18" height="18" viewBox="-2 -2 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.17766 12.2532L6.5 14.625L5.82234 12.2532C5.4664 11.0074 4.4926 10.0336 3.24682 9.67766L0.875 9L3.24683 8.32234C4.4926 7.9664 5.4664 6.9926 5.82234 5.74682L6.5 3.375L7.17766 5.74683C7.5336 6.9926 8.5074 7.9664 9.75318 8.32234L12.125 9L9.75317 9.67766C8.5074 10.0336 7.5336 11.0074 7.17766 12.2532Z" stroke="#D1DAE5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M14.2157 6.26211L14 7.125L13.7843 6.26212C13.5324 5.25444 12.7456 4.46764 11.7379 4.21572L10.875 4L11.7379 3.78428C12.7456 3.53236 13.5324 2.74556 13.7843 1.73789L14 0.875L14.2157 1.73788C14.4676 2.74556 15.2544 3.53236 16.2621 3.78428L17.125 4L16.2621 4.21572C15.2544 4.46764 14.4676 5.25444 14.2157 6.26211Z" stroke="#D1DAE5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M13.0785 16.1394L12.75 17.125L12.4215 16.1394C12.2348 15.5795 11.7955 15.1402 11.2356 14.9535L10.25 14.625L11.2356 14.2965C11.7955 14.1098 12.2348 13.6705 12.4215 13.1106L12.75 12.125L13.0785 13.1106C13.2652 13.6705 13.7045 14.1098 14.2644 14.2965L15.25 14.625L14.2644 14.9535C13.7045 15.1402 13.2652 15.5795 13.0785 16.1394Z" stroke="#D1DAE5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

View File

@@ -0,0 +1,773 @@
/**
* EventSource
* https://github.com/Yaffle/EventSource
*
* Released under the MIT License (MIT)
* https://github.com/Yaffle/EventSource/blob/master/LICENSE.md
*/
/*jslint indent: 2, vars: true, plusplus: true */
/*global setTimeout, clearTimeout */
( function ( global ) {
'use strict';
var setTimeout = global.setTimeout;
var clearTimeout = global.clearTimeout;
var XMLHttpRequest = global.XMLHttpRequest;
var XDomainRequest = global.XDomainRequest;
var NativeEventSource = global.EventSource;
var document = global.document;
if ( Object.create == null ) {
Object.create = function ( C ) {
function F() {}
F.prototype = C;
return new F();
};
}
var k = function () {};
function XHRWrapper( xhr ) {
this.withCredentials = false;
this.responseType = '';
this.readyState = 0;
this.status = 0;
this.statusText = '';
this.responseText = '';
this.onprogress = k;
this.onreadystatechange = k;
this._contentType = '';
this._xhr = xhr;
this._sendTimeout = 0;
this._abort = k;
}
XHRWrapper.prototype.open = function ( method, url ) {
this._abort( true );
var that = this;
var xhr = this._xhr;
var state = 1;
var timeout = 0;
this._abort = function ( silent ) {
if ( that._sendTimeout !== 0 ) {
clearTimeout( that._sendTimeout );
that._sendTimeout = 0;
}
if ( state === 1 || state === 2 || state === 3 ) {
state = 4;
xhr.onload = k;
xhr.onerror = k;
xhr.onabort = k;
xhr.onprogress = k;
xhr.onreadystatechange = k;
// IE 8 - 9: XDomainRequest#abort() does not fire any event
// Opera < 10: XMLHttpRequest#abort() does not fire any event
xhr.abort();
if ( timeout !== 0 ) {
clearTimeout( timeout );
timeout = 0;
}
if ( ! silent ) {
that.readyState = 4;
that.onreadystatechange();
}
}
state = 0;
};
var onStart = function () {
if ( state === 1 ) {
//state = 2;
var status = 0;
var statusText = '';
var contentType = undefined;
if ( ! ( 'contentType' in xhr ) ) {
try {
status = xhr.status;
statusText = xhr.statusText;
contentType = xhr.getResponseHeader( 'Content-Type' );
} catch ( error ) {
// IE < 10 throws exception for `xhr.status` when xhr.readyState === 2 || xhr.readyState === 3
// Opera < 11 throws exception for `xhr.status` when xhr.readyState === 2
// https://bugs.webkit.org/show_bug.cgi?id=29121
status = 0;
statusText = '';
contentType = undefined;
// Firefox < 14, Chrome ?, Safari ?
// https://bugs.webkit.org/show_bug.cgi?id=29658
// https://bugs.webkit.org/show_bug.cgi?id=77854
}
} else {
status = 200;
statusText = 'OK';
contentType = xhr.contentType;
}
if ( status !== 0 ) {
state = 2;
that.readyState = 2;
that.status = status;
that.statusText = statusText;
that._contentType = contentType;
that.onreadystatechange();
}
}
};
var onProgress = function () {
onStart();
if ( state === 2 || state === 3 ) {
state = 3;
var responseText = '';
try {
responseText = xhr.responseText;
} catch ( error ) {
// IE 8 - 9 with XMLHttpRequest
}
that.readyState = 3;
that.responseText = responseText;
that.onprogress();
}
};
var onFinish = function () {
// Firefox 52 fires "readystatechange" (xhr.readyState === 4) without final "readystatechange" (xhr.readyState === 3)
// IE 8 fires "onload" without "onprogress"
onProgress();
if ( state === 1 || state === 2 || state === 3 ) {
state = 4;
if ( timeout !== 0 ) {
clearTimeout( timeout );
timeout = 0;
}
that.readyState = 4;
that.onreadystatechange();
}
};
var onReadyStateChange = function () {
if ( xhr != undefined ) {
// Opera 12
if ( xhr.readyState === 4 ) {
onFinish();
} else if ( xhr.readyState === 3 ) {
onProgress();
} else if ( xhr.readyState === 2 ) {
onStart();
}
}
};
var onTimeout = function () {
timeout = setTimeout( function () {
onTimeout();
}, 500 );
if ( xhr.readyState === 3 ) {
onProgress();
}
};
// XDomainRequest#abort removes onprogress, onerror, onload
xhr.onload = onFinish;
xhr.onerror = onFinish;
// improper fix to match Firefox behaviour, but it is better than just ignore abort
// see https://bugzilla.mozilla.org/show_bug.cgi?id=768596
// https://bugzilla.mozilla.org/show_bug.cgi?id=880200
// https://code.google.com/p/chromium/issues/detail?id=153570
// IE 8 fires "onload" without "onprogress
xhr.onabort = onFinish;
// https://bugzilla.mozilla.org/show_bug.cgi?id=736723
if (
! ( 'sendAsBinary' in XMLHttpRequest.prototype ) &&
! ( 'mozAnon' in XMLHttpRequest.prototype )
) {
xhr.onprogress = onProgress;
}
// IE 8 - 9 (XMLHTTPRequest)
// Opera < 12
// Firefox < 3.5
// Firefox 3.5 - 3.6 - ? < 9.0
// onprogress is not fired sometimes or delayed
// see also #64
xhr.onreadystatechange = onReadyStateChange;
if ( 'contentType' in xhr ) {
url +=
( url.indexOf( '?', 0 ) === -1 ? '?' : '&' ) + 'padding=true';
}
xhr.open( method, url, true );
if ( 'readyState' in xhr ) {
// workaround for Opera 12 issue with "progress" events
// #91
timeout = setTimeout( function () {
onTimeout();
}, 0 );
}
};
XHRWrapper.prototype.abort = function () {
this._abort( false );
};
XHRWrapper.prototype.getResponseHeader = function ( name ) {
return this._contentType;
};
XHRWrapper.prototype.setRequestHeader = function ( name, value ) {
var xhr = this._xhr;
if ( 'setRequestHeader' in xhr ) {
xhr.setRequestHeader( name, value );
}
};
XHRWrapper.prototype.send = function () {
// loading indicator in Safari < ? (6), Chrome < 14, Firefox
if (
! ( 'ontimeout' in XMLHttpRequest.prototype ) &&
document != undefined &&
document.readyState != undefined &&
document.readyState !== 'complete'
) {
var that = this;
that._sendTimeout = setTimeout( function () {
that._sendTimeout = 0;
that.send();
}, 4 );
return;
}
var xhr = this._xhr;
// withCredentials should be set after "open" for Safari and Chrome (< 19 ?)
xhr.withCredentials = this.withCredentials;
xhr.responseType = this.responseType;
try {
// xhr.send(); throws "Not enough arguments" in Firefox 3.0
xhr.send( undefined );
} catch ( error1 ) {
// Safari 5.1.7, Opera 12
throw error1;
}
};
function XHRTransport( xhr ) {
this._xhr = new XHRWrapper( xhr );
}
XHRTransport.prototype.open = function (
onStartCallback,
onProgressCallback,
onFinishCallback,
url,
withCredentials,
headers
) {
var xhr = this._xhr;
xhr.open( 'GET', url );
var offset = 0;
xhr.onprogress = function () {
var responseText = xhr.responseText;
var chunk = responseText.slice( offset );
offset += chunk.length;
onProgressCallback( chunk );
};
xhr.onreadystatechange = function () {
if ( xhr.readyState === 2 ) {
var status = xhr.status;
var statusText = xhr.statusText;
var contentType = xhr.getResponseHeader( 'Content-Type' );
onStartCallback( status, statusText, contentType );
} else if ( xhr.readyState === 4 ) {
onFinishCallback();
}
};
xhr.withCredentials = withCredentials;
xhr.responseType = 'text';
for ( var name in headers ) {
if ( Object.prototype.hasOwnProperty.call( headers, name ) ) {
xhr.setRequestHeader( name, headers[ name ] );
}
}
xhr.send();
};
XHRTransport.prototype.cancel = function () {
var xhr = this._xhr;
xhr.abort();
};
function EventTarget() {
this._listeners = Object.create( null );
}
function throwError( e ) {
setTimeout( function () {
throw e;
}, 0 );
}
EventTarget.prototype.dispatchEvent = function ( event ) {
event.target = this;
var typeListeners = this._listeners[ event.type ];
if ( typeListeners != undefined ) {
var length = typeListeners.length;
for ( var i = 0; i < length; i += 1 ) {
var listener = typeListeners[ i ];
try {
if ( typeof listener.handleEvent === 'function' ) {
listener.handleEvent( event );
} else {
listener.call( this, event );
}
} catch ( e ) {
throwError( e );
}
}
}
};
EventTarget.prototype.addEventListener = function ( type, listener ) {
type = String( type );
var listeners = this._listeners;
var typeListeners = listeners[ type ];
if ( typeListeners == undefined ) {
typeListeners = [];
listeners[ type ] = typeListeners;
}
var found = false;
for ( var i = 0; i < typeListeners.length; i += 1 ) {
if ( typeListeners[ i ] === listener ) {
found = true;
}
}
if ( ! found ) {
typeListeners.push( listener );
}
};
EventTarget.prototype.removeEventListener = function ( type, listener ) {
type = String( type );
var listeners = this._listeners;
var typeListeners = listeners[ type ];
if ( typeListeners != undefined ) {
var filtered = [];
for ( var i = 0; i < typeListeners.length; i += 1 ) {
if ( typeListeners[ i ] !== listener ) {
filtered.push( typeListeners[ i ] );
}
}
if ( filtered.length === 0 ) {
delete listeners[ type ];
} else {
listeners[ type ] = filtered;
}
}
};
function Event( type ) {
this.type = type;
this.target = undefined;
}
function MessageEvent( type, options ) {
Event.call( this, type );
this.data = options.data;
this.lastEventId = options.lastEventId;
}
MessageEvent.prototype = Object.create( Event.prototype );
var WAITING = -1;
var CONNECTING = 0;
var OPEN = 1;
var CLOSED = 2;
var AFTER_CR = -1;
var FIELD_START = 0;
var FIELD = 1;
var VALUE_START = 2;
var VALUE = 3;
var contentTypeRegExp = /^text\/event\-stream;?(\s*charset\=utf\-8)?$/i;
var MINIMUM_DURATION = 1000;
var MAXIMUM_DURATION = 18000000;
var parseDuration = function ( value, def ) {
var n = parseInt( value, 10 );
if ( n !== n ) {
n = def;
}
return clampDuration( n );
};
var clampDuration = function ( n ) {
return Math.min( Math.max( n, MINIMUM_DURATION ), MAXIMUM_DURATION );
};
var fire = function ( that, f, event ) {
try {
if ( typeof f === 'function' ) {
f.call( that, event );
}
} catch ( e ) {
throwError( e );
}
};
function EventSourcePolyfill( url, options ) {
EventTarget.call( this );
this.onopen = undefined;
this.onmessage = undefined;
this.onerror = undefined;
this.url = undefined;
this.readyState = undefined;
this.withCredentials = undefined;
this._close = undefined;
start( this, url, options );
}
function start( es, url, options ) {
url = String( url );
var withCredentials =
options != undefined && Boolean( options.withCredentials );
var initialRetry = clampDuration( 1000 );
var heartbeatTimeout = clampDuration( 45000 );
var lastEventId = '';
var retry = initialRetry;
var wasActivity = false;
var headers =
options != undefined && options.headers != undefined
? JSON.parse( JSON.stringify( options.headers ) )
: undefined;
var CurrentTransport =
options != undefined && options.Transport != undefined
? options.Transport
: XDomainRequest != undefined
? XDomainRequest
: XMLHttpRequest;
var transport = new XHRTransport( new CurrentTransport() );
var timeout = 0;
var currentState = WAITING;
var dataBuffer = '';
var lastEventIdBuffer = '';
var eventTypeBuffer = '';
var textBuffer = '';
var state = FIELD_START;
var fieldStart = 0;
var valueStart = 0;
var onStart = function ( status, statusText, contentType ) {
if ( currentState === CONNECTING ) {
if (
status === 200 &&
contentType != undefined &&
contentTypeRegExp.test( contentType )
) {
currentState = OPEN;
wasActivity = true;
retry = initialRetry;
es.readyState = OPEN;
var event = new Event( 'open' );
es.dispatchEvent( event );
fire( es, es.onopen, event );
} else {
var message = '';
if ( status !== 200 ) {
if ( statusText ) {
statusText = statusText.replace( /\s+/g, ' ' );
}
message =
"EventSource's response has a status " +
status +
' ' +
statusText +
' that is not 200. Aborting the connection.';
} else {
message =
"EventSource's response has a Content-Type specifying an unsupported type: " +
( contentType == undefined
? '-'
: contentType.replace( /\s+/g, ' ' ) ) +
'. Aborting the connection.';
}
throwError( new Error( message ) );
close();
var event = new Event( 'error' );
es.dispatchEvent( event );
fire( es, es.onerror, event );
}
}
};
var onProgress = function ( textChunk ) {
if ( currentState === OPEN ) {
var n = -1;
for ( var i = 0; i < textChunk.length; i += 1 ) {
var c = textChunk.charCodeAt( i );
if (
c === '\n'.charCodeAt( 0 ) ||
c === '\r'.charCodeAt( 0 )
) {
n = i;
}
}
var chunk =
( n !== -1 ? textBuffer : '' ) +
textChunk.slice( 0, n + 1 );
textBuffer =
( n === -1 ? textBuffer : '' ) + textChunk.slice( n + 1 );
if ( chunk !== '' ) {
wasActivity = true;
}
for (
var position = 0;
position < chunk.length;
position += 1
) {
var c = chunk.charCodeAt( position );
if ( state === AFTER_CR && c === '\n'.charCodeAt( 0 ) ) {
state = FIELD_START;
} else {
if ( state === AFTER_CR ) {
state = FIELD_START;
}
if (
c === '\r'.charCodeAt( 0 ) ||
c === '\n'.charCodeAt( 0 )
) {
if ( state !== FIELD_START ) {
if ( state === FIELD ) {
valueStart = position + 1;
}
var field = chunk.slice(
fieldStart,
valueStart - 1
);
var value = chunk.slice(
valueStart +
( valueStart < position &&
chunk.charCodeAt( valueStart ) ===
' '.charCodeAt( 0 )
? 1
: 0 ),
position
);
if ( field === 'data' ) {
dataBuffer += '\n';
dataBuffer += value;
} else if ( field === 'id' ) {
lastEventIdBuffer = value;
} else if ( field === 'event' ) {
eventTypeBuffer = value;
} else if ( field === 'retry' ) {
initialRetry = parseDuration(
value,
initialRetry
);
retry = initialRetry;
} else if ( field === 'heartbeatTimeout' ) {
heartbeatTimeout = parseDuration(
value,
heartbeatTimeout
);
if ( timeout !== 0 ) {
clearTimeout( timeout );
timeout = setTimeout( function () {
onTimeout();
}, heartbeatTimeout );
}
}
}
if ( state === FIELD_START ) {
if ( dataBuffer !== '' ) {
lastEventId = lastEventIdBuffer;
if ( eventTypeBuffer === '' ) {
eventTypeBuffer = 'message';
}
var event = new MessageEvent(
eventTypeBuffer,
{
data: dataBuffer.slice( 1 ),
lastEventId: lastEventIdBuffer,
}
);
es.dispatchEvent( event );
if ( eventTypeBuffer === 'message' ) {
fire( es, es.onmessage, event );
}
if ( currentState === CLOSED ) {
return;
}
}
dataBuffer = '';
eventTypeBuffer = '';
}
state =
c === '\r'.charCodeAt( 0 )
? AFTER_CR
: FIELD_START;
} else {
if ( state === FIELD_START ) {
fieldStart = position;
state = FIELD;
}
if ( state === FIELD ) {
if ( c === ':'.charCodeAt( 0 ) ) {
valueStart = position + 1;
state = VALUE_START;
}
} else if ( state === VALUE_START ) {
state = VALUE;
}
}
}
}
}
};
var onFinish = function () {
if ( currentState === OPEN || currentState === CONNECTING ) {
currentState = WAITING;
if ( timeout !== 0 ) {
clearTimeout( timeout );
timeout = 0;
}
timeout = setTimeout( function () {
onTimeout();
}, retry );
retry = clampDuration(
Math.min( initialRetry * 16, retry * 2 )
);
es.readyState = CONNECTING;
var event = new Event( 'error' );
es.dispatchEvent( event );
fire( es, es.onerror, event );
}
};
var close = function () {
currentState = CLOSED;
transport.cancel();
if ( timeout !== 0 ) {
clearTimeout( timeout );
timeout = 0;
}
es.readyState = CLOSED;
};
var onTimeout = function () {
timeout = 0;
if ( currentState !== WAITING ) {
if ( ! wasActivity ) {
throwError(
new Error(
'No activity within ' +
heartbeatTimeout +
' milliseconds. Reconnecting.'
)
);
transport.cancel();
} else {
wasActivity = false;
timeout = setTimeout( function () {
onTimeout();
}, heartbeatTimeout );
}
return;
}
wasActivity = false;
timeout = setTimeout( function () {
onTimeout();
}, heartbeatTimeout );
currentState = CONNECTING;
dataBuffer = '';
eventTypeBuffer = '';
lastEventIdBuffer = lastEventId;
textBuffer = '';
fieldStart = 0;
valueStart = 0;
state = FIELD_START;
// https://bugzilla.mozilla.org/show_bug.cgi?id=428916
// Request header field Last-Event-ID is not allowed by Access-Control-Allow-Headers.
var requestURL = url;
if (
url.slice( 0, 5 ) !== 'data:' &&
url.slice( 0, 5 ) !== 'blob:'
) {
requestURL =
url +
( url.indexOf( '?', 0 ) === -1 ? '?' : '&' ) +
'lastEventId=' +
encodeURIComponent( lastEventId );
}
var requestHeaders = {};
requestHeaders[ 'Accept' ] = 'text/event-stream';
if ( headers != undefined ) {
for ( var name in headers ) {
if (
Object.prototype.hasOwnProperty.call( headers, name )
) {
requestHeaders[ name ] = headers[ name ];
}
}
}
try {
transport.open(
onStart,
onProgress,
onFinish,
requestURL,
withCredentials,
requestHeaders
);
} catch ( error ) {
close();
throw error;
}
};
es.url = url;
es.readyState = CONNECTING;
es.withCredentials = withCredentials;
es._close = close;
onTimeout();
}
EventSourcePolyfill.prototype = Object.create( EventTarget.prototype );
EventSourcePolyfill.prototype.CONNECTING = CONNECTING;
EventSourcePolyfill.prototype.OPEN = OPEN;
EventSourcePolyfill.prototype.CLOSED = CLOSED;
EventSourcePolyfill.prototype.close = function () {
this._close();
};
EventSourcePolyfill.CONNECTING = CONNECTING;
EventSourcePolyfill.OPEN = OPEN;
EventSourcePolyfill.CLOSED = CLOSED;
EventSourcePolyfill.prototype.withCredentials = undefined;
global.EventSourcePolyfill = EventSourcePolyfill;
global.NativeEventSource = NativeEventSource;
if (
XMLHttpRequest != undefined &&
( NativeEventSource == undefined ||
! ( 'withCredentials' in NativeEventSource.prototype ) )
) {
// Why replace a native EventSource ?
// https://bugzilla.mozilla.org/show_bug.cgi?id=444328
// https://bugzilla.mozilla.org/show_bug.cgi?id=831392
// https://code.google.com/p/chromium/issues/detail?id=260144
// https://code.google.com/p/chromium/issues/detail?id=225654
// ...
global.EventSource = EventSourcePolyfill;
}
} )( typeof window !== 'undefined' ? window : this );

View File

@@ -0,0 +1,499 @@
/**
* EventSource
* https://github.com/Yaffle/EventSource
*
* Released under the MIT License (MIT)
* https://github.com/Yaffle/EventSource/blob/master/LICENSE.md
*/
! ( function ( a ) {
'use strict';
function b( a ) {
( this.withCredentials = ! 1 ),
( this.responseType = '' ),
( this.readyState = 0 ),
( this.status = 0 ),
( this.statusText = '' ),
( this.responseText = '' ),
( this.onprogress = p ),
( this.onreadystatechange = p ),
( this._contentType = '' ),
( this._xhr = a ),
( this._sendTimeout = 0 ),
( this._abort = p );
}
function c( a ) {
this._xhr = new b( a );
}
function d() {
this._listeners = Object.create( null );
}
function e( a ) {
j( function () {
throw a;
}, 0 );
}
function f( a ) {
( this.type = a ), ( this.target = void 0 );
}
function g( a, b ) {
f.call( this, a ),
( this.data = b.data ),
( this.lastEventId = b.lastEventId );
}
function h( a, b ) {
d.call( this ),
( this.onopen = void 0 ),
( this.onmessage = void 0 ),
( this.onerror = void 0 ),
( this.url = void 0 ),
( this.readyState = void 0 ),
( this.withCredentials = void 0 ),
( this._close = void 0 ),
i( this, a, b );
}
function i( a, b, d ) {
b = String( b );
var h = void 0 != d && Boolean( d.withCredentials ),
i = D( 1e3 ),
n = D( 45e3 ),
o = '',
p = i,
A = ! 1,
B =
void 0 != d && void 0 != d.headers
? JSON.parse( JSON.stringify( d.headers ) )
: void 0,
F =
void 0 != d && void 0 != d.Transport
? d.Transport
: void 0 != m
? m
: l,
G = new c( new F() ),
H = 0,
I = q,
J = '',
K = '',
L = '',
M = '',
N = v,
O = 0,
P = 0,
Q = function ( b, c, d ) {
if ( I === r )
if ( 200 === b && void 0 != d && z.test( d ) ) {
( I = s ), ( A = ! 0 ), ( p = i ), ( a.readyState = s );
var g = new f( 'open' );
a.dispatchEvent( g ), E( a, a.onopen, g );
} else {
var h = '';
200 !== b
? ( c && ( c = c.replace( /\s+/g, ' ' ) ),
( h =
"EventSource's response has a status " +
b +
' ' +
c +
' that is not 200. Aborting the connection.' ) )
: ( h =
"EventSource's response has a Content-Type specifying an unsupported type: " +
( void 0 == d
? '-'
: d.replace( /\s+/g, ' ' ) ) +
'. Aborting the connection.' ),
e( new Error( h ) ),
T();
var g = new f( 'error' );
a.dispatchEvent( g ), E( a, a.onerror, g );
}
},
R = function ( b ) {
if ( I === s ) {
for ( var c = -1, d = 0; d < b.length; d += 1 ) {
var e = b.charCodeAt( d );
( e === '\n'.charCodeAt( 0 ) ||
e === '\r'.charCodeAt( 0 ) ) &&
( c = d );
}
var f = ( -1 !== c ? M : '' ) + b.slice( 0, c + 1 );
( M = ( -1 === c ? M : '' ) + b.slice( c + 1 ) ),
'' !== f && ( A = ! 0 );
for ( var h = 0; h < f.length; h += 1 ) {
var e = f.charCodeAt( h );
if ( N === u && e === '\n'.charCodeAt( 0 ) ) N = v;
else if (
( N === u && ( N = v ),
e === '\r'.charCodeAt( 0 ) ||
e === '\n'.charCodeAt( 0 ) )
) {
if ( N !== v ) {
N === w && ( P = h + 1 );
var l = f.slice( O, P - 1 ),
m = f.slice(
P +
( h > P &&
f.charCodeAt( P ) ===
' '.charCodeAt( 0 )
? 1
: 0 ),
h
);
'data' === l
? ( ( J += '\n' ), ( J += m ) )
: 'id' === l
? ( K = m )
: 'event' === l
? ( L = m )
: 'retry' === l
? ( ( i = C( m, i ) ), ( p = i ) )
: 'heartbeatTimeout' === l &&
( ( n = C( m, n ) ),
0 !== H &&
( k( H ),
( H = j( function () {
U();
}, n ) ) ) );
}
if ( N === v ) {
if ( '' !== J ) {
( o = K ), '' === L && ( L = 'message' );
var q = new g( L, {
data: J.slice( 1 ),
lastEventId: K,
} );
if (
( a.dispatchEvent( q ),
'message' === L &&
E( a, a.onmessage, q ),
I === t )
)
return;
}
( J = '' ), ( L = '' );
}
N = e === '\r'.charCodeAt( 0 ) ? u : v;
} else
N === v && ( ( O = h ), ( N = w ) ),
N === w
? e === ':'.charCodeAt( 0 ) &&
( ( P = h + 1 ), ( N = x ) )
: N === x && ( N = y );
}
}
},
S = function () {
if ( I === s || I === r ) {
( I = q ),
0 !== H && ( k( H ), ( H = 0 ) ),
( H = j( function () {
U();
}, p ) ),
( p = D( Math.min( 16 * i, 2 * p ) ) ),
( a.readyState = r );
var b = new f( 'error' );
a.dispatchEvent( b ), E( a, a.onerror, b );
}
},
T = function () {
( I = t ),
G.cancel(),
0 !== H && ( k( H ), ( H = 0 ) ),
( a.readyState = t );
},
U = function () {
if ( ( ( H = 0 ), I !== q ) )
return void ( A
? ( ( A = ! 1 ),
( H = j( function () {
U();
}, n ) ) )
: ( e(
new Error(
'No activity within ' +
n +
' milliseconds. Reconnecting.'
)
),
G.cancel() ) );
( A = ! 1 ),
( H = j( function () {
U();
}, n ) ),
( I = r ),
( J = '' ),
( L = '' ),
( K = o ),
( M = '' ),
( O = 0 ),
( P = 0 ),
( N = v );
var a = b;
'data:' !== b.slice( 0, 5 ) &&
'blob:' !== b.slice( 0, 5 ) &&
( a =
b +
( -1 === b.indexOf( '?', 0 ) ? '?' : '&' ) +
'lastEventId=' +
encodeURIComponent( o ) );
var c = {};
if ( ( ( c.Accept = 'text/event-stream' ), void 0 != B ) )
for ( var d in B )
Object.prototype.hasOwnProperty.call( B, d ) &&
( c[ d ] = B[ d ] );
try {
G.open( Q, R, S, a, h, c );
} catch ( f ) {
throw ( T(), f );
}
};
( a.url = b ),
( a.readyState = r ),
( a.withCredentials = h ),
( a._close = T ),
U();
}
var j = a.setTimeout,
k = a.clearTimeout,
l = a.XMLHttpRequest,
m = a.XDomainRequest,
n = a.EventSource,
o = a.document;
null == Object.create &&
( Object.create = function ( a ) {
function b() {}
return ( b.prototype = a ), new b();
} );
var p = function () {};
( b.prototype.open = function ( a, b ) {
this._abort( ! 0 );
var c = this,
d = this._xhr,
e = 1,
f = 0;
this._abort = function ( a ) {
0 !== c._sendTimeout &&
( k( c._sendTimeout ), ( c._sendTimeout = 0 ) ),
( 1 === e || 2 === e || 3 === e ) &&
( ( e = 4 ),
( d.onload = p ),
( d.onerror = p ),
( d.onabort = p ),
( d.onprogress = p ),
( d.onreadystatechange = p ),
d.abort(),
0 !== f && ( k( f ), ( f = 0 ) ),
a || ( ( c.readyState = 4 ), c.onreadystatechange() ) ),
( e = 0 );
};
var g = function () {
if ( 1 === e ) {
var a = 0,
b = '',
f = void 0;
if ( 'contentType' in d )
( a = 200 ), ( b = 'OK' ), ( f = d.contentType );
else
try {
( a = d.status ),
( b = d.statusText ),
( f = d.getResponseHeader( 'Content-Type' ) );
} catch ( g ) {
( a = 0 ), ( b = '' ), ( f = void 0 );
}
0 !== a &&
( ( e = 2 ),
( c.readyState = 2 ),
( c.status = a ),
( c.statusText = b ),
( c._contentType = f ),
c.onreadystatechange() );
}
},
h = function () {
if ( ( g(), 2 === e || 3 === e ) ) {
e = 3;
var a = '';
try {
a = d.responseText;
} catch ( b ) {}
( c.readyState = 3 ),
( c.responseText = a ),
c.onprogress();
}
},
i = function () {
h(),
( 1 === e || 2 === e || 3 === e ) &&
( ( e = 4 ),
0 !== f && ( k( f ), ( f = 0 ) ),
( c.readyState = 4 ),
c.onreadystatechange() );
},
m = function () {
void 0 != d &&
( 4 === d.readyState
? i()
: 3 === d.readyState
? h()
: 2 === d.readyState && g() );
},
n = function () {
( f = j( function () {
n();
}, 500 ) ),
3 === d.readyState && h();
};
( d.onload = i ),
( d.onerror = i ),
( d.onabort = i ),
'sendAsBinary' in l.prototype ||
'mozAnon' in l.prototype ||
( d.onprogress = h ),
( d.onreadystatechange = m ),
'contentType' in d &&
( b +=
( -1 === b.indexOf( '?', 0 ) ? '?' : '&' ) +
'padding=true' ),
d.open( a, b, ! 0 ),
'readyState' in d &&
( f = j( function () {
n();
}, 0 ) );
} ),
( b.prototype.abort = function () {
this._abort( ! 1 );
} ),
( b.prototype.getResponseHeader = function ( a ) {
return this._contentType;
} ),
( b.prototype.setRequestHeader = function ( a, b ) {
var c = this._xhr;
'setRequestHeader' in c && c.setRequestHeader( a, b );
} ),
( b.prototype.send = function () {
if (
! ( 'ontimeout' in l.prototype ) &&
void 0 != o &&
void 0 != o.readyState &&
'complete' !== o.readyState
) {
var a = this;
return void ( a._sendTimeout = j( function () {
( a._sendTimeout = 0 ), a.send();
}, 4 ) );
}
var b = this._xhr;
( b.withCredentials = this.withCredentials ),
( b.responseType = this.responseType );
try {
b.send( void 0 );
} catch ( c ) {
throw c;
}
} ),
( c.prototype.open = function ( a, b, c, d, e, f ) {
var g = this._xhr;
g.open( 'GET', d );
var h = 0;
( g.onprogress = function () {
var a = g.responseText,
c = a.slice( h );
( h += c.length ), b( c );
} ),
( g.onreadystatechange = function () {
if ( 2 === g.readyState ) {
var b = g.status,
d = g.statusText,
e = g.getResponseHeader( 'Content-Type' );
a( b, d, e );
} else 4 === g.readyState && c();
} ),
( g.withCredentials = e ),
( g.responseType = 'text' );
for ( var i in f )
Object.prototype.hasOwnProperty.call( f, i ) &&
g.setRequestHeader( i, f[ i ] );
g.send();
} ),
( c.prototype.cancel = function () {
var a = this._xhr;
a.abort();
} ),
( d.prototype.dispatchEvent = function ( a ) {
a.target = this;
var b = this._listeners[ a.type ];
if ( void 0 != b )
for ( var c = b.length, d = 0; c > d; d += 1 ) {
var f = b[ d ];
try {
'function' == typeof f.handleEvent
? f.handleEvent( a )
: f.call( this, a );
} catch ( g ) {
e( g );
}
}
} ),
( d.prototype.addEventListener = function ( a, b ) {
a = String( a );
var c = this._listeners,
d = c[ a ];
void 0 == d && ( ( d = [] ), ( c[ a ] = d ) );
for ( var e = ! 1, f = 0; f < d.length; f += 1 )
d[ f ] === b && ( e = ! 0 );
e || d.push( b );
} ),
( d.prototype.removeEventListener = function ( a, b ) {
a = String( a );
var c = this._listeners,
d = c[ a ];
if ( void 0 != d ) {
for ( var e = [], f = 0; f < d.length; f += 1 )
d[ f ] !== b && e.push( d[ f ] );
0 === e.length ? delete c[ a ] : ( c[ a ] = e );
}
} ),
( g.prototype = Object.create( f.prototype ) );
var q = -1,
r = 0,
s = 1,
t = 2,
u = -1,
v = 0,
w = 1,
x = 2,
y = 3,
z = /^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,
A = 1e3,
B = 18e6,
C = function ( a, b ) {
var c = parseInt( a, 10 );
return c !== c && ( c = b ), D( c );
},
D = function ( a ) {
return Math.min( Math.max( a, A ), B );
},
E = function ( a, b, c ) {
try {
'function' == typeof b && b.call( a, c );
} catch ( d ) {
e( d );
}
};
( h.prototype = Object.create( d.prototype ) ),
( h.prototype.CONNECTING = r ),
( h.prototype.OPEN = s ),
( h.prototype.CLOSED = t ),
( h.prototype.close = function () {
this._close();
} ),
( h.CONNECTING = r ),
( h.OPEN = s ),
( h.CLOSED = t ),
( h.prototype.withCredentials = void 0 ),
( a.EventSourcePolyfill = h ),
( a.NativeEventSource = n ),
void 0 == l ||
( void 0 != n && 'withCredentials' in n.prototype ) ||
( a.EventSource = h );
} )( 'undefined' != typeof window ? window : this );

View File

@@ -0,0 +1,590 @@
/**
* Fetch
* https://github.com/github/fetch
*
* Released under the MIT License (MIT)
* https://github.com/github/fetch/blob/master/LICENSE
*/
( function ( global, factory ) {
typeof exports === 'object' && typeof module !== 'undefined'
? factory( exports )
: typeof define === 'function' && define.amd
? define( [ 'exports' ], factory )
: factory( ( global.WHATWGFetch = {} ) );
} )( this, function ( exports ) {
'use strict';
var support = {
searchParams: 'URLSearchParams' in self,
iterable: 'Symbol' in self && 'iterator' in Symbol,
blob:
'FileReader' in self &&
'Blob' in self &&
( function () {
try {
new Blob();
return true;
} catch ( e ) {
return false;
}
} )(),
formData: 'FormData' in self,
arrayBuffer: 'ArrayBuffer' in self,
};
function isDataView( obj ) {
return obj && DataView.prototype.isPrototypeOf( obj );
}
if ( support.arrayBuffer ) {
var viewClasses = [
'[object Int8Array]',
'[object Uint8Array]',
'[object Uint8ClampedArray]',
'[object Int16Array]',
'[object Uint16Array]',
'[object Int32Array]',
'[object Uint32Array]',
'[object Float32Array]',
'[object Float64Array]',
];
var isArrayBufferView =
ArrayBuffer.isView ||
function ( obj ) {
return (
obj &&
viewClasses.indexOf(
Object.prototype.toString.call( obj )
) > -1
);
};
}
function normalizeName( name ) {
if ( typeof name !== 'string' ) {
name = String( name );
}
if ( /[^a-z0-9\-#$%&'*+.^_`|~]/i.test( name ) ) {
throw new TypeError( 'Invalid character in header field name' );
}
return name.toLowerCase();
}
function normalizeValue( value ) {
if ( typeof value !== 'string' ) {
value = String( value );
}
return value;
}
// Build a destructive iterator for the value list
function iteratorFor( items ) {
var iterator = {
next: function () {
var value = items.shift();
return { done: value === undefined, value: value };
},
};
if ( support.iterable ) {
iterator[ Symbol.iterator ] = function () {
return iterator;
};
}
return iterator;
}
function Headers( headers ) {
this.map = {};
if ( headers instanceof Headers ) {
headers.forEach( function ( value, name ) {
this.append( name, value );
}, this );
} else if ( Array.isArray( headers ) ) {
headers.forEach( function ( header ) {
this.append( header[ 0 ], header[ 1 ] );
}, this );
} else if ( headers ) {
Object.getOwnPropertyNames( headers ).forEach( function ( name ) {
this.append( name, headers[ name ] );
}, this );
}
}
Headers.prototype.append = function ( name, value ) {
name = normalizeName( name );
value = normalizeValue( value );
var oldValue = this.map[ name ];
this.map[ name ] = oldValue ? oldValue + ', ' + value : value;
};
Headers.prototype[ 'delete' ] = function ( name ) {
delete this.map[ normalizeName( name ) ];
};
Headers.prototype.get = function ( name ) {
name = normalizeName( name );
return this.has( name ) ? this.map[ name ] : null;
};
Headers.prototype.has = function ( name ) {
return this.map.hasOwnProperty( normalizeName( name ) );
};
Headers.prototype.set = function ( name, value ) {
this.map[ normalizeName( name ) ] = normalizeValue( value );
};
Headers.prototype.forEach = function ( callback, thisArg ) {
for ( var name in this.map ) {
if ( this.map.hasOwnProperty( name ) ) {
callback.call( thisArg, this.map[ name ], name, this );
}
}
};
Headers.prototype.keys = function () {
var items = [];
this.forEach( function ( value, name ) {
items.push( name );
} );
return iteratorFor( items );
};
Headers.prototype.values = function () {
var items = [];
this.forEach( function ( value ) {
items.push( value );
} );
return iteratorFor( items );
};
Headers.prototype.entries = function () {
var items = [];
this.forEach( function ( value, name ) {
items.push( [ name, value ] );
} );
return iteratorFor( items );
};
if ( support.iterable ) {
Headers.prototype[ Symbol.iterator ] = Headers.prototype.entries;
}
function consumed( body ) {
if ( body.bodyUsed ) {
return Promise.reject( new TypeError( 'Already read' ) );
}
body.bodyUsed = true;
}
function fileReaderReady( reader ) {
return new Promise( function ( resolve, reject ) {
reader.onload = function () {
resolve( reader.result );
};
reader.onerror = function () {
reject( reader.error );
};
} );
}
function readBlobAsArrayBuffer( blob ) {
var reader = new FileReader();
var promise = fileReaderReady( reader );
reader.readAsArrayBuffer( blob );
return promise;
}
function readBlobAsText( blob ) {
var reader = new FileReader();
var promise = fileReaderReady( reader );
reader.readAsText( blob );
return promise;
}
function readArrayBufferAsText( buf ) {
var view = new Uint8Array( buf );
var chars = new Array( view.length );
for ( var i = 0; i < view.length; i++ ) {
chars[ i ] = String.fromCharCode( view[ i ] );
}
return chars.join( '' );
}
function bufferClone( buf ) {
if ( buf.slice ) {
return buf.slice( 0 );
} else {
var view = new Uint8Array( buf.byteLength );
view.set( new Uint8Array( buf ) );
return view.buffer;
}
}
function Body() {
this.bodyUsed = false;
this._initBody = function ( body ) {
this._bodyInit = body;
if ( ! body ) {
this._bodyText = '';
} else if ( typeof body === 'string' ) {
this._bodyText = body;
} else if ( support.blob && Blob.prototype.isPrototypeOf( body ) ) {
this._bodyBlob = body;
} else if (
support.formData &&
FormData.prototype.isPrototypeOf( body )
) {
this._bodyFormData = body;
} else if (
support.searchParams &&
URLSearchParams.prototype.isPrototypeOf( body )
) {
this._bodyText = body.toString();
} else if (
support.arrayBuffer &&
support.blob &&
isDataView( body )
) {
this._bodyArrayBuffer = bufferClone( body.buffer );
// IE 10-11 can't handle a DataView body.
this._bodyInit = new Blob( [ this._bodyArrayBuffer ] );
} else if (
support.arrayBuffer &&
( ArrayBuffer.prototype.isPrototypeOf( body ) ||
isArrayBufferView( body ) )
) {
this._bodyArrayBuffer = bufferClone( body );
} else {
this._bodyText = body = Object.prototype.toString.call( body );
}
if ( ! this.headers.get( 'content-type' ) ) {
if ( typeof body === 'string' ) {
this.headers.set(
'content-type',
'text/plain;charset=UTF-8'
);
} else if ( this._bodyBlob && this._bodyBlob.type ) {
this.headers.set( 'content-type', this._bodyBlob.type );
} else if (
support.searchParams &&
URLSearchParams.prototype.isPrototypeOf( body )
) {
this.headers.set(
'content-type',
'application/x-www-form-urlencoded;charset=UTF-8'
);
}
}
};
if ( support.blob ) {
this.blob = function () {
var rejected = consumed( this );
if ( rejected ) {
return rejected;
}
if ( this._bodyBlob ) {
return Promise.resolve( this._bodyBlob );
} else if ( this._bodyArrayBuffer ) {
return Promise.resolve(
new Blob( [ this._bodyArrayBuffer ] )
);
} else if ( this._bodyFormData ) {
throw new Error( 'could not read FormData body as blob' );
} else {
return Promise.resolve( new Blob( [ this._bodyText ] ) );
}
};
this.arrayBuffer = function () {
if ( this._bodyArrayBuffer ) {
return (
consumed( this ) ||
Promise.resolve( this._bodyArrayBuffer )
);
} else {
return this.blob().then( readBlobAsArrayBuffer );
}
};
}
this.text = function () {
var rejected = consumed( this );
if ( rejected ) {
return rejected;
}
if ( this._bodyBlob ) {
return readBlobAsText( this._bodyBlob );
} else if ( this._bodyArrayBuffer ) {
return Promise.resolve(
readArrayBufferAsText( this._bodyArrayBuffer )
);
} else if ( this._bodyFormData ) {
throw new Error( 'could not read FormData body as text' );
} else {
return Promise.resolve( this._bodyText );
}
};
if ( support.formData ) {
this.formData = function () {
return this.text().then( decode );
};
}
this.json = function () {
return this.text().then( JSON.parse );
};
return this;
}
// HTTP methods whose capitalization should be normalized
var methods = [ 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT' ];
function normalizeMethod( method ) {
var upcased = method.toUpperCase();
return methods.indexOf( upcased ) > -1 ? upcased : method;
}
function Request( input, options ) {
options = options || {};
var body = options.body;
if ( input instanceof Request ) {
if ( input.bodyUsed ) {
throw new TypeError( 'Already read' );
}
this.url = input.url;
this.credentials = input.credentials;
if ( ! options.headers ) {
this.headers = new Headers( input.headers );
}
this.method = input.method;
this.mode = input.mode;
this.signal = input.signal;
if ( ! body && input._bodyInit != null ) {
body = input._bodyInit;
input.bodyUsed = true;
}
} else {
this.url = String( input );
}
this.credentials =
options.credentials || this.credentials || 'same-origin';
if ( options.headers || ! this.headers ) {
this.headers = new Headers( options.headers );
}
this.method = normalizeMethod( options.method || this.method || 'GET' );
this.mode = options.mode || this.mode || null;
this.signal = options.signal || this.signal;
this.referrer = null;
if ( ( this.method === 'GET' || this.method === 'HEAD' ) && body ) {
throw new TypeError( 'Body not allowed for GET or HEAD requests' );
}
this._initBody( body );
}
Request.prototype.clone = function () {
return new Request( this, { body: this._bodyInit } );
};
function decode( body ) {
var form = new FormData();
body.trim()
.split( '&' )
.forEach( function ( bytes ) {
if ( bytes ) {
var split = bytes.split( '=' );
var name = split.shift().replace( /\+/g, ' ' );
var value = split.join( '=' ).replace( /\+/g, ' ' );
form.append(
decodeURIComponent( name ),
decodeURIComponent( value )
);
}
} );
return form;
}
function parseHeaders( rawHeaders ) {
var headers = new Headers();
// Replace instances of \r\n and \n followed by at least one space or horizontal tab with a space
// https://tools.ietf.org/html/rfc7230#section-3.2
var preProcessedHeaders = rawHeaders.replace( /\r?\n[\t ]+/g, ' ' );
preProcessedHeaders.split( /\r?\n/ ).forEach( function ( line ) {
var parts = line.split( ':' );
var key = parts.shift().trim();
if ( key ) {
var value = parts.join( ':' ).trim();
headers.append( key, value );
}
} );
return headers;
}
Body.call( Request.prototype );
function Response( bodyInit, options ) {
if ( ! options ) {
options = {};
}
this.type = 'default';
this.status = options.status === undefined ? 200 : options.status;
this.ok = this.status >= 200 && this.status < 300;
this.statusText = 'statusText' in options ? options.statusText : 'OK';
this.headers = new Headers( options.headers );
this.url = options.url || '';
this._initBody( bodyInit );
}
Body.call( Response.prototype );
Response.prototype.clone = function () {
return new Response( this._bodyInit, {
status: this.status,
statusText: this.statusText,
headers: new Headers( this.headers ),
url: this.url,
} );
};
Response.error = function () {
var response = new Response( null, { status: 0, statusText: '' } );
response.type = 'error';
return response;
};
var redirectStatuses = [ 301, 302, 303, 307, 308 ];
Response.redirect = function ( url, status ) {
if ( redirectStatuses.indexOf( status ) === -1 ) {
throw new RangeError( 'Invalid status code' );
}
return new Response( null, {
status: status,
headers: { location: url },
} );
};
exports.DOMException = self.DOMException;
try {
new exports.DOMException();
} catch ( err ) {
exports.DOMException = function ( message, name ) {
this.message = message;
this.name = name;
var error = Error( message );
this.stack = error.stack;
};
exports.DOMException.prototype = Object.create( Error.prototype );
exports.DOMException.prototype.constructor = exports.DOMException;
}
function fetch( input, init ) {
return new Promise( function ( resolve, reject ) {
var request = new Request( input, init );
if ( request.signal && request.signal.aborted ) {
return reject(
new exports.DOMException( 'Aborted', 'AbortError' )
);
}
var xhr = new XMLHttpRequest();
function abortXhr() {
xhr.abort();
}
xhr.onload = function () {
var options = {
status: xhr.status,
statusText: xhr.statusText,
headers: parseHeaders( xhr.getAllResponseHeaders() || '' ),
};
options.url =
'responseURL' in xhr
? xhr.responseURL
: options.headers.get( 'X-Request-URL' );
var body = 'response' in xhr ? xhr.response : xhr.responseText;
resolve( new Response( body, options ) );
};
xhr.onerror = function () {
reject( new TypeError( 'Network request failed' ) );
};
xhr.ontimeout = function () {
reject( new TypeError( 'Network request failed' ) );
};
xhr.onabort = function () {
reject( new exports.DOMException( 'Aborted', 'AbortError' ) );
};
xhr.open( request.method, request.url, true );
if ( request.credentials === 'include' ) {
xhr.withCredentials = true;
} else if ( request.credentials === 'omit' ) {
xhr.withCredentials = false;
}
if ( 'responseType' in xhr && support.blob ) {
xhr.responseType = 'blob';
}
request.headers.forEach( function ( value, name ) {
xhr.setRequestHeader( name, value );
} );
if ( request.signal ) {
request.signal.addEventListener( 'abort', abortXhr );
xhr.onreadystatechange = function () {
// DONE (success or failure)
if ( xhr.readyState === 4 ) {
request.signal.removeEventListener( 'abort', abortXhr );
}
};
}
xhr.send(
typeof request._bodyInit === 'undefined'
? null
: request._bodyInit
);
} );
}
fetch.polyfill = true;
if ( ! self.fetch ) {
self.fetch = fetch;
self.Headers = Headers;
self.Request = Request;
self.Response = Response;
}
exports.Headers = Headers;
exports.Request = Request;
exports.Response = Response;
exports.fetch = fetch;
Object.defineProperty( exports, '__esModule', { value: true } );
} );

View File

@@ -0,0 +1,348 @@
'use strict';
function _defineProperty( obj, key, value ) {
if ( key in obj ) {
Object.defineProperty( obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true,
} );
} else {
obj[ key ] = value;
}
return obj;
}
function _slicedToArray( arr, i ) {
return (
_arrayWithHoles( arr ) ||
_iterableToArrayLimit( arr, i ) ||
_nonIterableRest()
);
}
function _nonIterableRest() {
throw new TypeError(
'Invalid attempt to destructure non-iterable instance'
);
}
function _iterableToArrayLimit( arr, i ) {
var _arr = [];
var _n = true;
var _d = false;
var _e = undefined;
try {
for (
var _i = arr[ Symbol.iterator ](), _s;
! ( _n = ( _s = _i.next() ).done );
_n = true
) {
_arr.push( _s.value );
if ( i && _arr.length === i ) break;
}
} catch ( err ) {
_d = true;
_e = err;
} finally {
try {
if ( ! _n && _i[ 'return' ] != null ) _i[ 'return' ]();
} finally {
if ( _d ) throw _e;
}
}
return _arr;
}
function _arrayWithHoles( arr ) {
if ( Array.isArray( arr ) ) return arr;
}
var PHP = {
stdClass: function stdClass() {},
stringify: function stringify( val ) {
var hash = new Map( [
[ Infinity, 'd:INF;' ],
[ -Infinity, 'd:-INF;' ],
[ NaN, 'd:NAN;' ],
[ null, 'N;' ],
[ undefined, 'N;' ],
] );
var utf8length = function utf8length( str ) {
return str ? encodeURI( str ).match( /(%.)?./g ).length : 0;
};
var serializeString = function serializeString( s ) {
var delim =
arguments.length > 1 && arguments[ 1 ] !== undefined
? arguments[ 1 ]
: '"';
return ''
.concat( utf8length( s ), ':' )
.concat( delim[ 0 ] )
.concat( s )
.concat( delim[ delim.length - 1 ] );
};
var ref = 0;
function serialize( val ) {
var canReference =
arguments.length > 1 && arguments[ 1 ] !== undefined
? arguments[ 1 ]
: true;
if ( hash.has( val ) ) return hash.get( val );
ref += canReference;
if ( typeof val === 'string' )
return 's:'.concat( serializeString( val ), ';' );
if ( typeof val === 'number' )
return ''
.concat( Math.round( val ) === val ? 'i' : 'd', ':' )
.concat(
( '' + val )
.toUpperCase()
.replace( /(-?\d)E/, '$1.0E' ),
';'
);
if ( typeof val === 'boolean' ) return 'b:'.concat( +val, ';' );
var a = Array.isArray( val ) || val.constructor === Object;
hash.set( val, ''.concat( 'rR'[ +a ], ':' ).concat( ref, ';' ) );
if ( typeof val.serialize === 'function' ) {
return 'C:'
.concat( serializeString( val.constructor.name ), ':' )
.concat( serializeString( val.serialize(), '{}' ) );
}
var vals = Object.entries( val ).filter( function ( _ref ) {
var _ref2 = _slicedToArray( _ref, 2 ),
k = _ref2[ 0 ],
v = _ref2[ 1 ];
return typeof v !== 'function';
} );
return (
( a
? 'a'
: 'O:'.concat( serializeString( val.constructor.name ) ) ) +
':'.concat( vals.length, ':{' ).concat(
vals
.map( function ( _ref3 ) {
var _ref4 = _slicedToArray( _ref3, 2 ),
k = _ref4[ 0 ],
v = _ref4[ 1 ];
return (
serialize(
a && /^\d{1,16}$/.test( k ) ? +k : k,
false
) + serialize( v )
);
} )
.join( '' ),
'}'
)
);
}
return serialize( val );
},
// Provide in second argument the classes that may be instantiated
// e.g. { MyClass1, MyClass2 }
parse: function parse( str ) {
var allowedClasses =
arguments.length > 1 && arguments[ 1 ] !== undefined
? arguments[ 1 ]
: {};
allowedClasses.stdClass = PHP.stdClass; // Always allowed.
var offset = 0;
var values = [ null ];
var specialNums = {
INF: Infinity,
'-INF': -Infinity,
NAN: NaN,
};
var kick = function kick( msg ) {
var i =
arguments.length > 1 && arguments[ 1 ] !== undefined
? arguments[ 1 ]
: offset;
throw new Error(
'Error at '
.concat( i, ': ' )
.concat( msg, '\n' )
.concat( str, '\n' )
.concat( ' '.repeat( i ), '^' )
);
};
var read = function read( expected, ret ) {
return expected ===
str.slice( offset, ( offset += expected.length ) )
? ret
: kick(
"Expected '".concat( expected, "'" ),
offset - expected.length
);
};
function readMatch( regex, msg ) {
var terminator =
arguments.length > 2 && arguments[ 2 ] !== undefined
? arguments[ 2 ]
: ';';
read( ':' );
var match = regex.exec( str.slice( offset ) );
if ( ! match )
kick(
'Exected '
.concat( msg, ", but got '" )
.concat(
str
.slice( offset )
.match( /^[:;{}]|[^:;{}]*/ )[ 0 ],
"'"
)
);
offset += match[ 0 ].length;
return read( terminator, match[ 0 ] );
}
function readUtf8chars( numUtf8Bytes ) {
var terminator =
arguments.length > 1 && arguments[ 1 ] !== undefined
? arguments[ 1 ]
: '';
var i = offset;
while ( numUtf8Bytes > 0 ) {
var code = str.charCodeAt( offset++ );
numUtf8Bytes -=
code < 0x80
? 1
: code < 0x800 || code >> 11 === 0x1b
? 2
: 3;
}
return numUtf8Bytes
? kick( 'Invalid string length', i - 2 )
: read( terminator, str.slice( i, offset ) );
}
var create = function create( className ) {
return ! className
? {}
: allowedClasses[ className ]
? Object.create( allowedClasses[ className ].prototype )
: new ( _defineProperty( {}, className, function () {} )[
className
] )();
}; // Create a mock class for this name
var readBoolean = function readBoolean() {
return readMatch( /^[01]/, "a '0' or '1'", ';' );
};
var readInt = function readInt() {
return +readMatch( /^-?\d+/, 'an integer', ';' );
};
var readUInt = function readUInt( terminator ) {
return +readMatch( /^\d+/, 'an unsigned integer', terminator );
};
var readString = function readString() {
var terminator =
arguments.length > 0 && arguments[ 0 ] !== undefined
? arguments[ 0 ]
: '';
return readUtf8chars( readUInt( ':"' ), '"' + terminator );
};
function readDecimal() {
var num = readMatch(
/^-?(\d+(\.\d+)?(E[+-]\d+)?|INF)|NAN/,
'a decimal number',
';'
);
return num in specialNums ? specialNums[ num ] : +num;
}
function readKey() {
var typ = str[ offset++ ];
return typ === 's'
? readString( ';' )
: typ === 'i'
? readUInt( ';' )
: kick(
"Expected 's' or 'i' as type for a key, but got ${str[offset-1]}",
offset - 1
);
}
function readObject( obj ) {
for ( var i = 0, length = readUInt( ':{' ); i < length; i++ ) {
obj[ readKey() ] = readValue();
}
return read( '}', obj );
}
function readArray() {
var obj = readObject( {} );
return Object.keys( obj ).some( function ( key, i ) {
return key != i;
} )
? obj
: Object.values( obj );
}
function readCustomObject( obj ) {
if ( typeof obj.unserialize !== 'function' )
kick(
'Instance of '.concat(
obj.constructor.name,
' does not have an "unserialize" method'
)
);
obj.unserialize( readUtf8chars( readUInt( ':{' ) ) );
return read( '}', obj );
}
function readValue() {
var typ = str[ offset++ ].toLowerCase();
var ref = values.push( null ) - 1;
var val =
typ === 'n'
? read( ';', null )
: typ === 's'
? readString( ';' )
: typ === 'b'
? readBoolean()
: typ === 'i'
? readInt()
: typ === 'd'
? readDecimal()
: typ === 'a'
? readArray() // Associative array
: typ === 'o'
? readObject( create( readString() ) ) // Object
: typ === 'c'
? readCustomObject( create( readString() ) ) // Custom serialized object
: typ === 'r'
? values[ readInt() ] // Backreference
: kick( 'Unexpected type '.concat( typ ), offset - 1 );
if ( typ !== 'r' ) values[ ref ] = val;
return val;
}
var val = readValue();
if ( offset !== str.length ) kick( 'Unexpected trailing character' );
return val;
},
};

View File

@@ -0,0 +1,988 @@
/**
* History.js
* https://github.com/browserstate/history.js
*
* Copyright © 2014+ Bevry Pty Ltd us@bevry.me (http://bevry.me)
* Copyright © 2011-2013 Benjamin Lupton b@lupton.cc (http://balupton.com)
* Released under the BSD License
* https://github.com/browserstate/history.js/blob/master/LICENSE.md
*/
( function ( e, t ) {
'use strict';
var n = ( e.History = e.History || {} ),
r = e.jQuery;
if ( typeof n.Adapter != 'undefined' )
throw new Error( 'History.js Adapter has already been loaded...' );
( n.Adapter = {
bind: function ( e, t, n ) {
r( e ).bind( t, n );
},
trigger: function ( e, t, n ) {
r( e ).trigger( t, n );
},
extractEventData: function ( e, n, r ) {
var i =
( n && n.originalEvent && n.originalEvent[ e ] ) ||
( r && r[ e ] ) ||
t;
return i;
},
onDomLoad: function ( e ) {
r( e );
},
} ),
typeof n.init != 'undefined' && n.init();
} )( window ),
( function ( e, t ) {
'use strict';
var n = e.console || t,
r = e.document,
i = e.navigator,
s = ! 1,
o = e.setTimeout,
u = e.clearTimeout,
a = e.setInterval,
f = e.clearInterval,
l = e.JSON,
c = e.alert,
h = ( e.History = e.History || {} ),
p = e.history;
try {
( s = e.sessionStorage ),
s.setItem( 'TEST', '1' ),
s.removeItem( 'TEST' );
} catch ( d ) {
s = ! 1;
}
( l.stringify = l.stringify || l.encode ),
( l.parse = l.parse || l.decode );
if ( typeof h.init != 'undefined' )
throw new Error( 'History.js Core has already been loaded...' );
( h.init = function ( e ) {
return typeof h.Adapter == 'undefined'
? ! 1
: ( typeof h.initCore != 'undefined' && h.initCore(),
typeof h.initHtml4 != 'undefined' && h.initHtml4(),
! 0 );
} ),
( h.initCore = function ( d ) {
if ( typeof h.initCore.initialized != 'undefined' ) return ! 1;
( h.initCore.initialized = ! 0 ),
( h.options = h.options || {} ),
( h.options.hashChangeInterval =
h.options.hashChangeInterval || 100 ),
( h.options.safariPollInterval =
h.options.safariPollInterval || 500 ),
( h.options.doubleCheckInterval =
h.options.doubleCheckInterval || 500 ),
( h.options.disableSuid = h.options.disableSuid || ! 1 ),
( h.options.storeInterval =
h.options.storeInterval || 1e3 ),
( h.options.busyDelay = h.options.busyDelay || 250 ),
( h.options.debug = h.options.debug || ! 1 ),
( h.options.initialTitle =
h.options.initialTitle || r.title ),
( h.options.html4Mode = h.options.html4Mode || ! 1 ),
( h.options.delayInit = h.options.delayInit || ! 1 ),
( h.intervalList = [] ),
( h.clearAllIntervals = function () {
var e,
t = h.intervalList;
if ( typeof t != 'undefined' && t !== null ) {
for ( e = 0; e < t.length; e++ ) f( t[ e ] );
h.intervalList = null;
}
} ),
( h.debug = function () {
( h.options.debug || ! 1 ) &&
h.log.apply( h, arguments );
} ),
( h.log = function () {
var e =
typeof n != 'undefined' &&
typeof n.log != 'undefined' &&
typeof n.log.apply != 'undefined',
t = r.getElementById( 'log' ),
i,
s,
o,
u,
a;
e
? ( ( u = Array.prototype.slice.call( arguments ) ),
( i = u.shift() ),
typeof n.debug != 'undefined'
? n.debug.apply( n, [ i, u ] )
: n.log.apply( n, [ i, u ] ) )
: ( i = '\n' + arguments[ 0 ] + '\n' );
for ( s = 1, o = arguments.length; s < o; ++s ) {
a = arguments[ s ];
if (
typeof a == 'object' &&
typeof l != 'undefined'
)
try {
a = l.stringify( a );
} catch ( f ) {}
i += '\n' + a + '\n';
}
return (
t
? ( ( t.value += i + '\n-----\n' ),
( t.scrollTop =
t.scrollHeight - t.clientHeight ) )
: e || c( i ),
! 0
);
} ),
( h.getInternetExplorerMajorVersion = function () {
var e = ( h.getInternetExplorerMajorVersion.cached =
typeof h.getInternetExplorerMajorVersion.cached !=
'undefined'
? h.getInternetExplorerMajorVersion.cached
: ( function () {
var e = 3,
t = r.createElement( 'div' ),
n = t.getElementsByTagName( 'i' );
while (
( t.innerHTML =
'<!--[if gt IE ' +
++e +
']><i></i><![endif]-->' ) &&
n[ 0 ]
);
return e > 4 ? e : ! 1;
} )() );
return e;
} ),
( h.isInternetExplorer = function () {
var e = ( h.isInternetExplorer.cached =
typeof h.isInternetExplorer.cached != 'undefined'
? h.isInternetExplorer.cached
: Boolean(
h.getInternetExplorerMajorVersion()
) );
return e;
} ),
h.options.html4Mode
? ( h.emulated = { pushState: ! 0, hashChange: ! 0 } )
: ( h.emulated = {
pushState: ! Boolean(
e.history &&
e.history.pushState &&
e.history.replaceState &&
! / Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i.test(
i.userAgent
) &&
! /AppleWebKit\/5([0-2]|3[0-2])/i.test(
i.userAgent
)
),
hashChange: Boolean(
! (
'onhashchange' in e ||
'onhashchange' in r
) ||
( h.isInternetExplorer() &&
h.getInternetExplorerMajorVersion() <
8 )
),
} ),
( h.enabled = ! h.emulated.pushState ),
( h.bugs = {
setHash: Boolean(
! h.emulated.pushState &&
i.vendor === 'Apple Computer, Inc.' &&
/AppleWebKit\/5([0-2]|3[0-3])/.test(
i.userAgent
)
),
safariPoll: Boolean(
! h.emulated.pushState &&
i.vendor === 'Apple Computer, Inc.' &&
/AppleWebKit\/5([0-2]|3[0-3])/.test(
i.userAgent
)
),
ieDoubleCheck: Boolean(
h.isInternetExplorer() &&
h.getInternetExplorerMajorVersion() < 8
),
hashEscape: Boolean(
h.isInternetExplorer() &&
h.getInternetExplorerMajorVersion() < 7
),
} ),
( h.isEmptyObject = function ( e ) {
for ( var t in e )
if ( e.hasOwnProperty( t ) ) return ! 1;
return ! 0;
} ),
( h.cloneObject = function ( e ) {
var t, n;
return (
e
? ( ( t = l.stringify( e ) ),
( n = l.parse( t ) ) )
: ( n = {} ),
n
);
} ),
( h.getRootUrl = function () {
var e =
r.location.protocol +
'//' +
( r.location.hostname || r.location.host );
if ( r.location.port || ! 1 )
e += ':' + r.location.port;
return ( e += '/' ), e;
} ),
( h.getBaseHref = function () {
var e = r.getElementsByTagName( 'base' ),
t = null,
n = '';
return (
e.length === 1 &&
( ( t = e[ 0 ] ),
( n = t.href.replace( /[^\/]+$/, '' ) ) ),
( n = n.replace( /\/+$/, '' ) ),
n && ( n += '/' ),
n
);
} ),
( h.getBaseUrl = function () {
var e =
h.getBaseHref() ||
h.getBasePageUrl() ||
h.getRootUrl();
return e;
} ),
( h.getPageUrl = function () {
var e = h.getState( ! 1, ! 1 ),
t = ( e || {} ).url || h.getLocationHref(),
n;
return (
( n = t
.replace( /\/+$/, '' )
.replace( /[^\/]+$/, function ( e, t, n ) {
return /\./.test( e ) ? e : e + '/';
} ) ),
n
);
} ),
( h.getBasePageUrl = function () {
var e =
h
.getLocationHref()
.replace( /[#\?].*/, '' )
.replace( /[^\/]+$/, function ( e, t, n ) {
return /[^\/]$/.test( e ) ? '' : e;
} )
.replace( /\/+$/, '' ) + '/';
return e;
} ),
( h.getFullUrl = function ( e, t ) {
var n = e,
r = e.substring( 0, 1 );
return (
( t = typeof t == 'undefined' ? ! 0 : t ),
/[a-z]+\:\/\//.test( e ) ||
( r === '/'
? ( n =
h.getRootUrl() +
e.replace( /^\/+/, '' ) )
: r === '#'
? ( n =
h
.getPageUrl()
.replace( /#.*/, '' ) + e )
: r === '?'
? ( n =
h
.getPageUrl()
.replace( /[\?#].*/, '' ) + e )
: t
? ( n =
h.getBaseUrl() +
e.replace( /^(\.\/)+/, '' ) )
: ( n =
h.getBasePageUrl() +
e.replace( /^(\.\/)+/, '' ) ) ),
n.replace( /\#$/, '' )
);
} ),
( h.getShortUrl = function ( e ) {
var t = e,
n = h.getBaseUrl(),
r = h.getRootUrl();
return (
h.emulated.pushState && ( t = t.replace( n, '' ) ),
( t = t.replace( r, '/' ) ),
h.isTraditionalAnchor( t ) && ( t = './' + t ),
( t = t
.replace( /^(\.\/)+/g, './' )
.replace( /\#$/, '' ) ),
t
);
} ),
( h.getLocationHref = function ( e ) {
return (
( e = e || r ),
e.URL === e.location.href
? e.location.href
: e.location.href ===
decodeURIComponent( e.URL )
? e.URL
: e.location.hash &&
decodeURIComponent(
e.location.href.replace( /^[^#]+/, '' )
) === e.location.hash
? e.location.href
: e.URL.indexOf( '#' ) == -1 &&
e.location.href.indexOf( '#' ) != -1
? e.location.href
: e.URL || e.location.href
);
} ),
( h.store = {} ),
( h.idToState = h.idToState || {} ),
( h.stateToId = h.stateToId || {} ),
( h.urlToId = h.urlToId || {} ),
( h.storedStates = h.storedStates || [] ),
( h.savedStates = h.savedStates || [] ),
( h.normalizeStore = function () {
( h.store.idToState = h.store.idToState || {} ),
( h.store.urlToId = h.store.urlToId || {} ),
( h.store.stateToId = h.store.stateToId || {} );
} ),
( h.getState = function ( e, t ) {
typeof e == 'undefined' && ( e = ! 0 ),
typeof t == 'undefined' && ( t = ! 0 );
var n = h.getLastSavedState();
return (
! n && t && ( n = h.createStateObject() ),
e &&
( ( n = h.cloneObject( n ) ),
( n.url = n.cleanUrl || n.url ) ),
n
);
} ),
( h.getIdByState = function ( e ) {
var t = h.extractId( e.url ),
n;
if ( ! t ) {
n = h.getStateString( e );
if ( typeof h.stateToId[ n ] != 'undefined' )
t = h.stateToId[ n ];
else if (
typeof h.store.stateToId[ n ] != 'undefined'
)
t = h.store.stateToId[ n ];
else {
for (;;) {
t =
new Date().getTime() +
String( Math.random() ).replace(
/\D/g,
''
);
if (
typeof h.idToState[ t ] ==
'undefined' &&
typeof h.store.idToState[ t ] ==
'undefined'
)
break;
}
( h.stateToId[ n ] = t ),
( h.idToState[ t ] = e );
}
}
return t;
} ),
( h.normalizeState = function ( e ) {
var t, n;
if ( ! e || typeof e != 'object' ) e = {};
if ( typeof e.normalized != 'undefined' ) return e;
if ( ! e.data || typeof e.data != 'object' )
e.data = {};
return (
( t = {} ),
( t.normalized = ! 0 ),
( t.title = e.title || '' ),
( t.url = h.getFullUrl(
e.url ? e.url : h.getLocationHref()
) ),
( t.hash = h.getShortUrl( t.url ) ),
( t.data = h.cloneObject( e.data ) ),
( t.id = h.getIdByState( t ) ),
( t.cleanUrl = t.url.replace(
/\??\&_suid.*/,
''
) ),
( t.url = t.cleanUrl ),
( n = ! h.isEmptyObject( t.data ) ),
( t.title || n ) &&
h.options.disableSuid !== ! 0 &&
( ( t.hash = h
.getShortUrl( t.url )
.replace( /\??\&_suid.*/, '' ) ),
/\?/.test( t.hash ) || ( t.hash += '?' ),
( t.hash += '&_suid=' + t.id ) ),
( t.hashedUrl = h.getFullUrl( t.hash ) ),
( h.emulated.pushState || h.bugs.safariPoll ) &&
h.hasUrlDuplicate( t ) &&
( t.url = t.hashedUrl ),
t
);
} ),
( h.createStateObject = function ( e, t, n ) {
var r = { data: e, title: t, url: n };
return ( r = h.normalizeState( r ) ), r;
} ),
( h.getStateById = function ( e ) {
e = String( e );
var n = h.idToState[ e ] || h.store.idToState[ e ] || t;
return n;
} ),
( h.getStateString = function ( e ) {
var t, n, r;
return (
( t = h.normalizeState( e ) ),
( n = {
data: t.data,
title: e.title,
url: e.url,
} ),
( r = l.stringify( n ) ),
r
);
} ),
( h.getStateId = function ( e ) {
var t, n;
return ( t = h.normalizeState( e ) ), ( n = t.id ), n;
} ),
( h.getHashByState = function ( e ) {
var t, n;
return ( t = h.normalizeState( e ) ), ( n = t.hash ), n;
} ),
( h.extractId = function ( e ) {
var t, n, r, i;
return (
e.indexOf( '#' ) != -1
? ( i = e.split( '#' )[ 0 ] )
: ( i = e ),
( n = /(.*)\&_suid=([0-9]+)$/.exec( i ) ),
( r = n ? n[ 1 ] || e : e ),
( t = n ? String( n[ 2 ] || '' ) : '' ),
t || ! 1
);
} ),
( h.isTraditionalAnchor = function ( e ) {
var t = ! /[\/\?\.]/.test( e );
return t;
} ),
( h.extractState = function ( e, t ) {
var n = null,
r,
i;
return (
( t = t || ! 1 ),
( r = h.extractId( e ) ),
r && ( n = h.getStateById( r ) ),
n ||
( ( i = h.getFullUrl( e ) ),
( r = h.getIdByUrl( i ) || ! 1 ),
r && ( n = h.getStateById( r ) ),
! n &&
t &&
! h.isTraditionalAnchor( e ) &&
( n = h.createStateObject(
null,
null,
i
) ) ),
n
);
} ),
( h.getIdByUrl = function ( e ) {
var n = h.urlToId[ e ] || h.store.urlToId[ e ] || t;
return n;
} ),
( h.getLastSavedState = function () {
return h.savedStates[ h.savedStates.length - 1 ] || t;
} ),
( h.getLastStoredState = function () {
return h.storedStates[ h.storedStates.length - 1 ] || t;
} ),
( h.hasUrlDuplicate = function ( e ) {
var t = ! 1,
n;
return (
( n = h.extractState( e.url ) ),
( t = n && n.id !== e.id ),
t
);
} ),
( h.storeState = function ( e ) {
return (
( h.urlToId[ e.url ] = e.id ),
h.storedStates.push( h.cloneObject( e ) ),
e
);
} ),
( h.isLastSavedState = function ( e ) {
var t = ! 1,
n,
r,
i;
return (
h.savedStates.length &&
( ( n = e.id ),
( r = h.getLastSavedState() ),
( i = r.id ),
( t = n === i ) ),
t
);
} ),
( h.saveState = function ( e ) {
return h.isLastSavedState( e )
? ! 1
: ( h.savedStates.push( h.cloneObject( e ) ), ! 0 );
} ),
( h.getStateByIndex = function ( e ) {
var t = null;
return (
typeof e == 'undefined'
? ( t =
h.savedStates[
h.savedStates.length - 1
] )
: e < 0
? ( t =
h.savedStates[
h.savedStates.length + e
] )
: ( t = h.savedStates[ e ] ),
t
);
} ),
( h.getCurrentIndex = function () {
var e = null;
return (
h.savedStates.length < 1
? ( e = 0 )
: ( e = h.savedStates.length - 1 ),
e
);
} ),
( h.getHash = function ( e ) {
var t = h.getLocationHref( e ),
n;
return ( n = h.getHashByUrl( t ) ), n;
} ),
( h.unescapeHash = function ( e ) {
var t = h.normalizeHash( e );
return ( t = decodeURIComponent( t ) ), t;
} ),
( h.normalizeHash = function ( e ) {
var t = e.replace( /[^#]*#/, '' ).replace( /#.*/, '' );
return t;
} ),
( h.setHash = function ( e, t ) {
var n, i;
return t !== ! 1 && h.busy()
? ( h.pushQueue( {
scope: h,
callback: h.setHash,
args: arguments,
queue: t,
} ),
! 1 )
: ( h.busy( ! 0 ),
( n = h.extractState( e, ! 0 ) ),
n && ! h.emulated.pushState
? h.pushState( n.data, n.title, n.url, ! 1 )
: h.getHash() !== e &&
( h.bugs.setHash
? ( ( i = h.getPageUrl() ),
h.pushState(
null,
null,
i + '#' + e,
! 1
) )
: ( r.location.hash = e ) ),
h );
} ),
( h.escapeHash = function ( t ) {
var n = h.normalizeHash( t );
return (
( n = e.encodeURIComponent( n ) ),
h.bugs.hashEscape ||
( n = n
.replace( /\%21/g, '!' )
.replace( /\%26/g, '&' )
.replace( /\%3D/g, '=' )
.replace( /\%3F/g, '?' ) ),
n
);
} ),
( h.getHashByUrl = function ( e ) {
var t = String( e ).replace(
/([^#]*)#?([^#]*)#?(.*)/,
'$2'
);
return ( t = h.unescapeHash( t ) ), t;
} ),
( h.setTitle = function ( e ) {
var t = e.title,
n;
t ||
( ( n = h.getStateByIndex( 0 ) ),
n &&
n.url === e.url &&
( t = n.title || h.options.initialTitle ) );
try {
r.getElementsByTagName( 'title' )[ 0 ].innerHTML = t
.replace( '<', '&lt;' )
.replace( '>', '&gt;' )
.replace( ' & ', ' &amp; ' );
} catch ( i ) {}
return ( r.title = t ), h;
} ),
( h.queues = [] ),
( h.busy = function ( e ) {
typeof e != 'undefined'
? ( h.busy.flag = e )
: typeof h.busy.flag == 'undefined' &&
( h.busy.flag = ! 1 );
if ( ! h.busy.flag ) {
u( h.busy.timeout );
var t = function () {
var e, n, r;
if ( h.busy.flag ) return;
for ( e = h.queues.length - 1; e >= 0; --e ) {
n = h.queues[ e ];
if ( n.length === 0 ) continue;
( r = n.shift() ),
h.fireQueueItem( r ),
( h.busy.timeout = o(
t,
h.options.busyDelay
) );
}
};
h.busy.timeout = o( t, h.options.busyDelay );
}
return h.busy.flag;
} ),
( h.busy.flag = ! 1 ),
( h.fireQueueItem = function ( e ) {
return e.callback.apply( e.scope || h, e.args || [] );
} ),
( h.pushQueue = function ( e ) {
return (
( h.queues[ e.queue || 0 ] =
h.queues[ e.queue || 0 ] || [] ),
h.queues[ e.queue || 0 ].push( e ),
h
);
} ),
( h.queue = function ( e, t ) {
return (
typeof e == 'function' && ( e = { callback: e } ),
typeof t != 'undefined' && ( e.queue = t ),
h.busy() ? h.pushQueue( e ) : h.fireQueueItem( e ),
h
);
} ),
( h.clearQueue = function () {
return ( h.busy.flag = ! 1 ), ( h.queues = [] ), h;
} ),
( h.stateChanged = ! 1 ),
( h.doubleChecker = ! 1 ),
( h.doubleCheckComplete = function () {
return (
( h.stateChanged = ! 0 ), h.doubleCheckClear(), h
);
} ),
( h.doubleCheckClear = function () {
return (
h.doubleChecker &&
( u( h.doubleChecker ),
( h.doubleChecker = ! 1 ) ),
h
);
} ),
( h.doubleCheck = function ( e ) {
return (
( h.stateChanged = ! 1 ),
h.doubleCheckClear(),
h.bugs.ieDoubleCheck &&
( h.doubleChecker = o( function () {
return (
h.doubleCheckClear(),
h.stateChanged || e(),
! 0
);
}, h.options.doubleCheckInterval ) ),
h
);
} ),
( h.safariStatePoll = function () {
var t = h.extractState( h.getLocationHref() ),
n;
if ( ! h.isLastSavedState( t ) )
return (
( n = t ),
n || ( n = h.createStateObject() ),
h.Adapter.trigger( e, 'popstate' ),
h
);
return;
} ),
( h.back = function ( e ) {
return e !== ! 1 && h.busy()
? ( h.pushQueue( {
scope: h,
callback: h.back,
args: arguments,
queue: e,
} ),
! 1 )
: ( h.busy( ! 0 ),
h.doubleCheck( function () {
h.back( ! 1 );
} ),
p.go( -1 ),
! 0 );
} ),
( h.forward = function ( e ) {
return e !== ! 1 && h.busy()
? ( h.pushQueue( {
scope: h,
callback: h.forward,
args: arguments,
queue: e,
} ),
! 1 )
: ( h.busy( ! 0 ),
h.doubleCheck( function () {
h.forward( ! 1 );
} ),
p.go( 1 ),
! 0 );
} ),
( h.go = function ( e, t ) {
var n;
if ( e > 0 ) for ( n = 1; n <= e; ++n ) h.forward( t );
else {
if ( ! ( e < 0 ) )
throw new Error(
'History.go: History.go requires a positive or negative integer passed.'
);
for ( n = -1; n >= e; --n ) h.back( t );
}
return h;
} );
if ( h.emulated.pushState ) {
var v = function () {};
( h.pushState = h.pushState || v ),
( h.replaceState = h.replaceState || v );
} else
( h.onPopState = function ( t, n ) {
var r = ! 1,
i = ! 1,
s,
o;
return (
h.doubleCheckComplete(),
( s = h.getHash() ),
s
? ( ( o = h.extractState(
s || h.getLocationHref(),
! 0
) ),
o
? h.replaceState(
o.data,
o.title,
o.url,
! 1
)
: ( h.Adapter.trigger(
e,
'anchorchange'
),
h.busy( ! 1 ) ),
( h.expectedStateId = ! 1 ),
! 1 )
: ( ( r =
h.Adapter.extractEventData(
'state',
t,
n
) || ! 1 ),
r
? ( i = h.getStateById( r ) )
: h.expectedStateId
? ( i = h.getStateById(
h.expectedStateId
) )
: ( i = h.extractState(
h.getLocationHref()
) ),
i ||
( i = h.createStateObject(
null,
null,
h.getLocationHref()
) ),
( h.expectedStateId = ! 1 ),
h.isLastSavedState( i )
? ( h.busy( ! 1 ), ! 1 )
: ( h.storeState( i ),
h.saveState( i ),
h.setTitle( i ),
h.Adapter.trigger( e, 'statechange' ),
h.busy( ! 1 ),
! 0 ) )
);
} ),
h.Adapter.bind( e, 'popstate', h.onPopState ),
( h.pushState = function ( t, n, r, i ) {
if ( h.getHashByUrl( r ) && h.emulated.pushState )
throw new Error(
'History.js does not support states with fragement-identifiers (hashes/anchors).'
);
if ( i !== ! 1 && h.busy() )
return (
h.pushQueue( {
scope: h,
callback: h.pushState,
args: arguments,
queue: i,
} ),
! 1
);
h.busy( ! 0 );
var s = h.createStateObject( t, n, r );
return (
h.isLastSavedState( s )
? h.busy( ! 1 )
: ( h.storeState( s ),
( h.expectedStateId = s.id ),
p.pushState( s.id, s.title, s.url ),
h.Adapter.trigger( e, 'popstate' ) ),
! 0
);
} ),
( h.replaceState = function ( t, n, r, i ) {
if ( h.getHashByUrl( r ) && h.emulated.pushState )
throw new Error(
'History.js does not support states with fragement-identifiers (hashes/anchors).'
);
if ( i !== ! 1 && h.busy() )
return (
h.pushQueue( {
scope: h,
callback: h.replaceState,
args: arguments,
queue: i,
} ),
! 1
);
h.busy( ! 0 );
var s = h.createStateObject( t, n, r );
return (
h.isLastSavedState( s )
? h.busy( ! 1 )
: ( h.storeState( s ),
( h.expectedStateId = s.id ),
p.replaceState( s.id, s.title, s.url ),
h.Adapter.trigger( e, 'popstate' ) ),
! 0
);
} );
if ( s ) {
try {
h.store = l.parse( s.getItem( 'History.store' ) ) || {};
} catch ( m ) {
h.store = {};
}
h.normalizeStore();
} else ( h.store = {} ), h.normalizeStore();
h.Adapter.bind( e, 'unload', h.clearAllIntervals ),
h.saveState(
h.storeState(
h.extractState( h.getLocationHref(), ! 0 )
)
),
s &&
( ( h.onUnload = function () {
var e, t, n;
try {
e =
l.parse( s.getItem( 'History.store' ) ) ||
{};
} catch ( r ) {
e = {};
}
( e.idToState = e.idToState || {} ),
( e.urlToId = e.urlToId || {} ),
( e.stateToId = e.stateToId || {} );
for ( t in h.idToState ) {
if ( ! h.idToState.hasOwnProperty( t ) )
continue;
e.idToState[ t ] = h.idToState[ t ];
}
for ( t in h.urlToId ) {
if ( ! h.urlToId.hasOwnProperty( t ) ) continue;
e.urlToId[ t ] = h.urlToId[ t ];
}
for ( t in h.stateToId ) {
if ( ! h.stateToId.hasOwnProperty( t ) )
continue;
e.stateToId[ t ] = h.stateToId[ t ];
}
( h.store = e ),
h.normalizeStore(),
( n = l.stringify( e ) );
try {
s.setItem( 'History.store', n );
} catch ( i ) {
if (
i.code !== DOMException.QUOTA_EXCEEDED_ERR
)
throw i;
s.length &&
( s.removeItem( 'History.store' ),
s.setItem( 'History.store', n ) );
}
} ),
h.intervalList.push(
a( h.onUnload, h.options.storeInterval )
),
h.Adapter.bind( e, 'beforeunload', h.onUnload ),
h.Adapter.bind( e, 'unload', h.onUnload ) );
if ( ! h.emulated.pushState ) {
h.bugs.safariPoll &&
h.intervalList.push(
a( h.safariStatePoll, h.options.safariPollInterval )
);
if (
i.vendor === 'Apple Computer, Inc.' ||
( i.appCodeName || '' ) === 'Mozilla'
)
h.Adapter.bind( e, 'hashchange', function () {
h.Adapter.trigger( e, 'popstate' );
} ),
h.getHash() &&
h.Adapter.onDomLoad( function () {
h.Adapter.trigger( e, 'hashchange' );
} );
}
} ),
( ! h.options || ! h.options.delayInit ) && h.init();
} )( window );

View File

@@ -0,0 +1,126 @@
( function ( $ ) {
AstraSitesImportStatus = {
timer: null,
ajax_in_process: false,
current_step: null,
interval: $( '.astra-sites-import-screen' ).length ? 1000 : 10000,
/**
* Init
*/
init: function () {
this.start();
},
/**
* Start
*/
start: function () {
AstraSitesImportStatus.timer = setInterval(
AstraSitesImportStatus.check_status,
AstraSitesImportStatus.interval
);
},
/**
* Check Status
*/
check_status: function () {
if ( false === AstraSitesImportStatus.ajax_in_process ) {
AstraSitesImportStatus.ajax_in_process = true;
AstraSitesImportStatus._ajax_request();
}
},
/**
* Ajax Request
*/
_ajax_request: function () {
$.ajax( {
url: AstraSitesImportStatusVars.ajaxurl,
type: 'POST',
data: {
action: 'astra_sites_check_import_status',
_ajax_nonce: AstraSitesImportStatusVars._ajax_nonce,
},
} )
.done( function ( result ) {
AstraSitesImportStatus.ajax_in_process = false;
// Admin Bar UI markup.
if (
'complete' === result.data.response.step ||
'fail' === result.data.response.step
) {
AstraSitesImportStatus.stop();
var response_message =
'<span class="dashicons dashicons-no-alt"></span> Site Import Failed';
if ( 'complete' === result.data.response.step ) {
response_message =
'<span class="dashicons dashicons-yes"></span>' +
response_message;
}
$( '#astra-sites-import-status-admin-bar' ).html(
response_message
);
} else {
$( '#astra-sites-import-status-admin-bar' ).html(
'<span class="loading"></span>' +
result.data.response.message
);
}
// Admin page UI markup.
var currentStep = $(
'.import-step[data-step="' +
result.data.response.step +
'"]'
);
if ( currentStep.length ) {
if (
'complete' === result.data.response.step ||
'fail' === result.data.response.step
) {
$( '.import-step' )
.removeClass( 'processing' )
.addClass( 'success' );
} else if (
AstraSitesImportStatus.current_step !==
result.data.response.step
) {
AstraSitesImportStatus.current_step =
result.data.response.step;
currentStep
.prevAll()
.removeClass( 'processing' )
.addClass( 'success' );
currentStep.addClass( 'processing' );
}
}
} )
.fail( function ( err ) {
AstraSitesImportStatus.ajax_in_process = false;
// Stop.
AstraSitesImportStatus.stop();
} );
},
/**
* Step
*/
stop: function () {
clearInterval( AstraSitesImportStatus.timer );
},
};
/**
* Initialize AstraSitesImportStatus
*/
$( function () {
AstraSitesImportStatus.init();
} );
} )( jQuery );