Files
vuefilemanager/public/chunks/environment-setup.js
Peter Papp 2b08d7801b Shared link expiration backend
Redirect from sign in page when user is logged
Updated README.md
2020-08-26 07:29:28 +02:00

1 line
33 KiB
JavaScript
Vendored
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{12:function(e,t,a){"use strict";var n={name:"InfoBox",props:["type"]},r=(a(228),a(0)),i=Object(r.a)(n,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"info-box",class:this.type},[this._t("default")],2)}),[],!1,null,"bf43be5e",null);t.a=i.exports},13:function(e,t,a){"use strict";var n={name:"FormLabel",components:{Edit2Icon:a(1).m}},r=(a(230),a(0)),i=Object(r.a)(n,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label"},[t("edit-2-icon",{staticClass:"icon",attrs:{size:"22"}}),this._v(" "),t("b",{staticClass:"label"},[this._t("default")],2)],1)}),[],!1,null,"c1157a8e",null);t.a=i.exports},158:function(e,t,a){var n=a(437);"string"==typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a(6)(n,r);n.locals&&(e.exports=n.locals)},17:function(e,t,a){"use strict";var n={name:"AuthContent",props:["loading","icon","text"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}},r=(a(236),a(0)),i=Object(r.a)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("button",{staticClass:"button outline"},[a("span",{staticClass:"text-label"},[e._v(e._s(e.text))]),e._v(" "),e.loading?a("span",{staticClass:"icon"},[a("FontAwesomeIcon",{staticClass:"sync-alt",attrs:{icon:"sync-alt"}})],1):e._e(),e._v(" "),!e.loading&&e.icon?a("span",{staticClass:"icon"},[a("FontAwesomeIcon",{attrs:{icon:e.icon}})],1):e._e()])}),[],!1,null,"59e2dfc0",null);t.a=i.exports},20:function(e,t,a){"use strict";var n={name:"AuthContent",props:["visible","name"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}},r=a(0),i=Object(r.a)(n,(function(){var e=this.$createElement,t=this._self._c||e;return this.isVisible?t("div",{staticClass:"auth-form"},[this._t("default")],2):this._e()}),[],!1,null,null,null);t.a=i.exports},22:function(e,t,a){"use strict";var n={name:"AuthContentWrapper"},r=(a(240),a(0)),i=Object(r.a)(n,(function(){var e=this.$createElement;return(this._self._c||e)("div",{attrs:{id:"auth"}},[this._t("default")],2)}),[],!1,null,"31af8372",null);t.a=i.exports},228:function(e,t,a){"use strict";var n=a(53);a.n(n).a},229:function(e,t,a){(e.exports=a(5)(!1)).push([e.i,".info-box[data-v-bf43be5e] {\n padding: 20px;\n border-radius: 8px;\n margin-bottom: 32px;\n background: #f4f5f6;\n text-align: left;\n}\n.info-box.error[data-v-bf43be5e] {\n background: rgba(253, 57, 122, 0.1);\n}\n.info-box.error p[data-v-bf43be5e], .info-box.error a[data-v-bf43be5e] {\n color: #fd397a;\n}\n.info-box.error a[data-v-bf43be5e] {\n text-decoration: underline;\n}\n.info-box p[data-v-bf43be5e] {\n font-size: 0.9375em;\n line-height: 1.6;\n word-break: break-word;\n font-weight: 600;\n}\n.info-box p[data-v-bf43be5e] a {\n color: #00BC7E;\n}\n.info-box b[data-v-bf43be5e] {\n font-weight: 700;\n color: #00BC7E;\n}\n.info-box a[data-v-bf43be5e] {\n color: #00BC7E;\n font-weight: 700;\n font-size: 0.9375em;\n line-height: 1.6;\n}\n.info-box ul[data-v-bf43be5e] {\n margin-top: 15px;\n display: block;\n}\n.info-box ul li[data-v-bf43be5e] {\n display: block;\n}\n.info-box ul li a[data-v-bf43be5e] {\n display: block;\n}\n@media only screen and (max-width: 690px) {\n.info-box[data-v-bf43be5e] {\n padding: 15px;\n}\n}\n@media (prefers-color-scheme: dark) {\n.info-box[data-v-bf43be5e] {\n background: #1e2024;\n}\n.info-box p[data-v-bf43be5e] {\n color: #bec6cf;\n}\n.info-box ul li[data-v-bf43be5e] {\n color: #bec6cf;\n}\n}\n",""])},230:function(e,t,a){"use strict";var n=a(54);a.n(n).a},231:function(e,t,a){(e.exports=a(5)(!1)).push([e.i,".form-label[data-v-c1157a8e] {\n display: flex;\n align-items: center;\n margin-bottom: 30px;\n}\n.form-label .icon[data-v-c1157a8e] {\n margin-right: 10px;\n}\n.form-label .icon path[data-v-c1157a8e] {\n stroke: #00BC7E;\n}\n.form-label .label[data-v-c1157a8e] {\n font-size: 1.125em;\n font-weight: 700;\n}\n@media (prefers-color-scheme: dark) {\n.form-label .label[data-v-c1157a8e] {\n color: #bec6cf;\n}\n}\n",""])},236:function(e,t,a){"use strict";var n=a(57);a.n(n).a},237:function(e,t,a){(e.exports=a(5)(!1)).push([e.i,".button[data-v-59e2dfc0] {\n cursor: pointer;\n border-radius: 8px;\n text-decoration: none;\n padding: 12px 32px;\n display: inline-block;\n margin-left: 15px;\n margin-right: 15px;\n white-space: nowrap;\n transition: 150ms all ease;\n background: transparent;\n}\n.button .text-label[data-v-59e2dfc0] {\n transition: 150ms all ease;\n font-size: 1.0625em;\n font-weight: 800;\n line-height: 0;\n}\n.button .icon[data-v-59e2dfc0] {\n margin-left: 12px;\n font-size: 1em;\n}\n.button.solid[data-v-59e2dfc0] {\n background: #00BC7E;\n border: 2px solid #00BC7E;\n}\n.button.solid .text-label[data-v-59e2dfc0] {\n color: white;\n}\n.button.outline[data-v-59e2dfc0] {\n border: 2px solid #1B2539;\n}\n.button.outline .text-label[data-v-59e2dfc0] {\n color: #1B2539;\n}\n.button.outline .icon path[data-v-59e2dfc0] {\n fill: #00BC7E;\n}\n.button.outline[data-v-59e2dfc0]:hover {\n border-color: #00BC7E;\n}\n.button.outline:hover .text-label[data-v-59e2dfc0] {\n color: #00BC7E;\n}\n@media (prefers-color-scheme: dark) {\n.button.outline[data-v-59e2dfc0] {\n background: #111314;\n border-color: #bec6cf;\n}\n.button.outline .text-label[data-v-59e2dfc0] {\n color: #bec6cf;\n}\n}\n.sync-alt[data-v-59e2dfc0] {\n -webkit-animation: spin-data-v-59e2dfc0 1s linear infinite;\n animation: spin-data-v-59e2dfc0 1s linear infinite;\n}\n@-webkit-keyframes spin-data-v-59e2dfc0 {\n0% {\n transform: rotate(0);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@keyframes spin-data-v-59e2dfc0 {\n0% {\n transform: rotate(0);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n",""])},240:function(e,t,a){"use strict";var n=a(59);a.n(n).a},241:function(e,t,a){(e.exports=a(5)(!1)).push([e.i,"#auth[data-v-31af8372] {\n height: 100%;\n width: 100%;\n display: table;\n}\n",""])},436:function(e,t,a){"use strict";var n=a(158);a.n(n).a},437:function(e,t,a){(e.exports=a(5)(!1)).push([e.i,'.form[data-v-3b0bdd66] {\n max-width: 700px;\n}\n.form.inline-form[data-v-3b0bdd66] {\n display: flex;\n position: relative;\n justify-content: center;\n margin: 0 auto;\n}\n.form.inline-form .input-wrapper[data-v-3b0bdd66] {\n position: relative;\n}\n.form.inline-form .input-wrapper .error-message[data-v-3b0bdd66] {\n position: absolute;\n left: 0;\n bottom: -25px;\n}\n.form.block-form .wrapper-inline[data-v-3b0bdd66] {\n display: flex;\n margin: 0 -15px;\n}\n.form.block-form .wrapper-inline .block-wrapper[data-v-3b0bdd66] {\n width: 100%;\n padding: 0 15px;\n}\n.form.block-form .block-wrapper[data-v-3b0bdd66] {\n margin-bottom: 32px;\n}\n.form.block-form .block-wrapper label[data-v-3b0bdd66] {\n font-size: 0.875em;\n color: rgba(27, 37, 57, 0.8);\n font-weight: 700;\n display: block;\n margin-bottom: 7px;\n text-align: left;\n}\n.form.block-form .block-wrapper[data-v-3b0bdd66]:last-child {\n margin-bottom: 0;\n}\n.form.block-form .button[data-v-3b0bdd66] {\n margin-top: 50px;\n}\n.form .inline-wrapper[data-v-3b0bdd66] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.form .inline-wrapper .switch-label .input-help[data-v-3b0bdd66] {\n padding-top: 0;\n}\n.form .inline-wrapper .switch-label .input-label[data-v-3b0bdd66] {\n font-weight: 700;\n color: #1B2539;\n font-size: 1em;\n margin-bottom: 5px;\n}\n.form .input-help[data-v-3b0bdd66] {\n font-size: 0.75em;\n color: rgba(27, 37, 57, 0.7);\n line-height: 1.35;\n padding-top: 10px;\n display: block;\n}\n.single-line-form[data-v-3b0bdd66] {\n display: flex;\n}\n.single-line-form .submit-button[data-v-3b0bdd66] {\n margin-left: 20px;\n}\n.error-message[data-v-3b0bdd66] {\n font-size: 0.875em;\n color: #fd397a;\n padding-top: 5px;\n display: block;\n text-align: left;\n}\ntextarea[data-v-3b0bdd66] {\n width: 100%;\n}\ntextarea[data-v-3b0bdd66],\ninput[type="password"][data-v-3b0bdd66],\ninput[type="text"][data-v-3b0bdd66],\ninput[type="number"][data-v-3b0bdd66],\ninput[type="email"][data-v-3b0bdd66] {\n border: 1px solid transparent;\n transition: 150ms all ease;\n font-size: 1em;\n border-radius: 8px;\n padding: 13px 20px;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n font-weight: 700;\n outline: 0;\n width: 100%;\n box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);\n}\ntextarea.is-error[data-v-3b0bdd66],\ninput[type="password"].is-error[data-v-3b0bdd66],\ninput[type="text"].is-error[data-v-3b0bdd66],\ninput[type="number"].is-error[data-v-3b0bdd66],\ninput[type="email"].is-error[data-v-3b0bdd66] {\n border-color: #fd397a;\n box-shadow: 0 1px 5px rgba(253, 57, 122, 0.3);\n}\ntextarea[data-v-3b0bdd66]::-webkit-input-placeholder, input[type="password"][data-v-3b0bdd66]::-webkit-input-placeholder, input[type="text"][data-v-3b0bdd66]::-webkit-input-placeholder, input[type="number"][data-v-3b0bdd66]::-webkit-input-placeholder, input[type="email"][data-v-3b0bdd66]::-webkit-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-3b0bdd66]::-moz-placeholder, input[type="password"][data-v-3b0bdd66]::-moz-placeholder, input[type="text"][data-v-3b0bdd66]::-moz-placeholder, input[type="number"][data-v-3b0bdd66]::-moz-placeholder, input[type="email"][data-v-3b0bdd66]::-moz-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-3b0bdd66]:-ms-input-placeholder, input[type="password"][data-v-3b0bdd66]:-ms-input-placeholder, input[type="text"][data-v-3b0bdd66]:-ms-input-placeholder, input[type="number"][data-v-3b0bdd66]:-ms-input-placeholder, input[type="email"][data-v-3b0bdd66]:-ms-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-3b0bdd66]::-ms-input-placeholder, input[type="password"][data-v-3b0bdd66]::-ms-input-placeholder, input[type="text"][data-v-3b0bdd66]::-ms-input-placeholder, input[type="number"][data-v-3b0bdd66]::-ms-input-placeholder, input[type="email"][data-v-3b0bdd66]::-ms-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-3b0bdd66]::placeholder,\ninput[type="password"][data-v-3b0bdd66]::placeholder,\ninput[type="text"][data-v-3b0bdd66]::placeholder,\ninput[type="number"][data-v-3b0bdd66]::placeholder,\ninput[type="email"][data-v-3b0bdd66]::placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-3b0bdd66]:focus,\ninput[type="password"][data-v-3b0bdd66]:focus,\ninput[type="text"][data-v-3b0bdd66]:focus,\ninput[type="number"][data-v-3b0bdd66]:focus,\ninput[type="email"][data-v-3b0bdd66]:focus {\n border-color: #00BC7E;\n box-shadow: 0 1px 5px rgba(0, 188, 126, 0.3);\n}\ntextarea[disabled][data-v-3b0bdd66],\ninput[type="password"][disabled][data-v-3b0bdd66],\ninput[type="text"][disabled][data-v-3b0bdd66],\ninput[type="number"][disabled][data-v-3b0bdd66],\ninput[type="email"][disabled][data-v-3b0bdd66] {\n background: white;\n color: rgba(27, 37, 57, 0.8);\n -webkit-text-fill-color: rgba(27, 37, 57, 0.8);\n opacity: 1;\n cursor: not-allowed;\n}\n.additional-link[data-v-3b0bdd66] {\n font-size: 1em;\n margin-top: 50px;\n display: block;\n color: #1B2539;\n}\n.additional-link b[data-v-3b0bdd66], .additional-link a[data-v-3b0bdd66] {\n color: #00BC7E;\n cursor: pointer;\n}\n.additional-link b[data-v-3b0bdd66]:hover, .additional-link a[data-v-3b0bdd66]:hover {\n text-decoration: underline;\n}\n@media only screen and (max-width: 1024px) {\n.form[data-v-3b0bdd66] {\n max-width: 100%;\n}\n}\n@media only screen and (max-width: 960px) {\n.form .button[data-v-3b0bdd66] {\n margin-top: 20px;\n width: 100%;\n margin-left: 0;\n margin-right: 0;\n}\n.form input[data-v-3b0bdd66], .form textarea[data-v-3b0bdd66] {\n width: 100%;\n min-width: 100%;\n}\n.form.block-form .block-wrapper[data-v-3b0bdd66] {\n display: block;\n}\n.form.block-form .block-wrapper label[data-v-3b0bdd66] {\n width: 100%;\n padding-right: 0;\n display: block;\n margin-bottom: 7px;\n text-align: left !important;\n font-size: 0.875em;\n padding-top: 0;\n}\n.form.block-form .button[data-v-3b0bdd66] {\n margin-top: 25px;\n margin-left: 0;\n margin-right: 0;\n}\n.form.inline-form[data-v-3b0bdd66] {\n display: block;\n}\n.form.inline-form .input-wrapper .error-message[data-v-3b0bdd66] {\n position: relative;\n bottom: 0;\n}\n.form .button[data-v-3b0bdd66] {\n padding: 14px 32px;\n}\n.single-line-form[data-v-3b0bdd66] {\n display: block;\n}\n.single-line-form .submit-button[data-v-3b0bdd66] {\n margin-left: 0;\n margin-top: 20px;\n width: 100%;\n}\ntextarea[data-v-3b0bdd66],\n input[type="password"][data-v-3b0bdd66],\n input[type="number"][data-v-3b0bdd66],\n input[type="text"][data-v-3b0bdd66],\n input[type="email"][data-v-3b0bdd66] {\n padding: 14px 20px;\n}\n}\n@media only screen and (max-width: 690px) {\n.form.block-form .wrapper-inline[data-v-3b0bdd66] {\n display: block;\n}\n}\n@media (prefers-color-scheme: dark) {\n.form .input-help[data-v-3b0bdd66] {\n color: #7d858c;\n}\n.form.block-form .block-wrapper label[data-v-3b0bdd66] {\n color: #bec6cf;\n}\n.form .inline-wrapper .switch-label .input-label[data-v-3b0bdd66] {\n color: #bec6cf;\n}\ntextarea[data-v-3b0bdd66],\n input[type="password"][data-v-3b0bdd66],\n input[type="text"][data-v-3b0bdd66],\n input[type="number"][data-v-3b0bdd66],\n input[type="email"][data-v-3b0bdd66] {\n border-color: #1e2024;\n background: #1e2024;\n color: #bec6cf;\n}\ntextarea[data-v-3b0bdd66]::-webkit-input-placeholder, input[type="password"][data-v-3b0bdd66]::-webkit-input-placeholder, input[type="text"][data-v-3b0bdd66]::-webkit-input-placeholder, input[type="number"][data-v-3b0bdd66]::-webkit-input-placeholder, input[type="email"][data-v-3b0bdd66]::-webkit-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-3b0bdd66]::-moz-placeholder, input[type="password"][data-v-3b0bdd66]::-moz-placeholder, input[type="text"][data-v-3b0bdd66]::-moz-placeholder, input[type="number"][data-v-3b0bdd66]::-moz-placeholder, input[type="email"][data-v-3b0bdd66]::-moz-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-3b0bdd66]:-ms-input-placeholder, input[type="password"][data-v-3b0bdd66]:-ms-input-placeholder, input[type="text"][data-v-3b0bdd66]:-ms-input-placeholder, input[type="number"][data-v-3b0bdd66]:-ms-input-placeholder, input[type="email"][data-v-3b0bdd66]:-ms-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-3b0bdd66]::-ms-input-placeholder, input[type="password"][data-v-3b0bdd66]::-ms-input-placeholder, input[type="text"][data-v-3b0bdd66]::-ms-input-placeholder, input[type="number"][data-v-3b0bdd66]::-ms-input-placeholder, input[type="email"][data-v-3b0bdd66]::-ms-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-3b0bdd66]::placeholder,\n input[type="password"][data-v-3b0bdd66]::placeholder,\n input[type="text"][data-v-3b0bdd66]::placeholder,\n input[type="number"][data-v-3b0bdd66]::placeholder,\n input[type="email"][data-v-3b0bdd66]::placeholder {\n color: #7d858c;\n}\ntextarea[disabled][data-v-3b0bdd66],\n input[type="password"][disabled][data-v-3b0bdd66],\n input[type="text"][disabled][data-v-3b0bdd66],\n input[type="number"][disabled][data-v-3b0bdd66],\n input[type="email"][disabled][data-v-3b0bdd66] {\n background: #1e2024;\n color: rgba(125, 133, 140, 0.8);\n -webkit-text-fill-color: rgba(125, 133, 140, 0.8);\n}\n}\n.auth-logo-text[data-v-3b0bdd66] {\n font-size: 1.375em;\n font-weight: 800;\n margin-bottom: 40px;\n display: block;\n}\n.auth-form[data-v-3b0bdd66] {\n text-align: center;\n max-width: 600px;\n padding: 25px 20px;\n display: table-cell;\n vertical-align: middle;\n}\n.auth-form input[data-v-3b0bdd66] {\n min-width: 310px;\n}\n.auth-form .additional-link a[data-v-3b0bdd66] {\n font-weight: 700;\n text-decoration: none;\n}\n.auth-form .user-avatar[data-v-3b0bdd66] {\n width: 100px;\n height: 100px;\n -o-object-fit: cover;\n object-fit: cover;\n margin-bottom: 20px;\n border-radius: 8px;\n box-shadow: 0 10px 30px rgba(25, 54, 60, 0.2);\n}\n.auth-form .logo[data-v-3b0bdd66] {\n width: 120px;\n margin-bottom: 20px;\n}\n.auth-form h1[data-v-3b0bdd66] {\n font-size: 2.125em;\n font-weight: 800;\n line-height: 1.2;\n margin-bottom: 2px;\n color: #1B2539;\n}\n.auth-form h2[data-v-3b0bdd66] {\n font-size: 1.4375em;\n font-weight: 500;\n margin-bottom: 50px;\n color: #1B2539;\n}\n.auth-form .block-form[data-v-3b0bdd66] {\n margin-left: auto;\n margin-right: auto;\n}\n@media only screen and (min-width: 690px) and (max-width: 960px) {\n.auth-form[data-v-3b0bdd66] {\n padding-left: 20%;\n padding-right: 20%;\n}\n}\n@media only screen and (max-width: 690px) {\n.auth-form[data-v-3b0bdd66] {\n width: 100%;\n}\n.auth-form h1[data-v-3b0bdd66] {\n font-size: 1.875em;\n}\n.auth-form h2[data-v-3b0bdd66] {\n font-size: 1.3125em;\n}\n}\n@media only screen and (max-width: 490px) {\n.auth-form h1[data-v-3b0bdd66] {\n font-size: 1.375em;\n}\n.auth-form h2[data-v-3b0bdd66] {\n font-size: 1.125em;\n}\n.auth-form input[data-v-3b0bdd66] {\n min-width: initial;\n}\n.auth-form .additional-link[data-v-3b0bdd66] {\n font-size: 0.9375em;\n}\n}\n@media (prefers-color-scheme: dark) {\n.auth-form h1[data-v-3b0bdd66], .auth-form h2[data-v-3b0bdd66], .auth-form .additional-link[data-v-3b0bdd66] {\n color: #bec6cf;\n}\n}\n.content-headline[data-v-3b0bdd66] {\n max-width: 630px;\n margin-left: auto;\n margin-right: auto;\n}\n.auth-form input[data-v-3b0bdd66] {\n min-width: initial;\n}\n.duplicator .duplicator-add-button[data-v-3b0bdd66] {\n width: 100%;\n}\n.duplicator .duplicator-item[data-v-3b0bdd66] {\n box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);\n border-radius: 8px;\n background: white;\n padding: 25px;\n margin: 0 -25px 32px;\n position: relative;\n}\n.duplicator .duplicator-item .duplicator-title[data-v-3b0bdd66] {\n font-size: 1.125em;\n margin-bottom: 20px;\n display: block;\n font-weight: 700;\n}\n.duplicator .duplicator-item .delete-item[data-v-3b0bdd66] {\n position: absolute;\n top: 15px;\n right: 15px;\n cursor: pointer;\n}\n.duplicator .duplicator-item .delete-item:hover line[data-v-3b0bdd66] {\n stroke: #00BC7E;\n}\n.duplicator .duplicator-item input[data-v-3b0bdd66],\n.duplicator .duplicator-item textarea[data-v-3b0bdd66] {\n box-shadow: none;\n background: #FAFAFA;\n}\n.form[data-v-3b0bdd66] {\n max-width: 580px;\n text-align: left;\n}\n.submit-wrapper[data-v-3b0bdd66] {\n text-align: right;\n}\n.submit-wrapper .button[data-v-3b0bdd66] {\n margin: 58px 0 50px 0;\n width: 100%;\n}\n.title-icon[data-v-3b0bdd66] {\n margin-bottom: 10px;\n -webkit-animation: spinner-data-v-3b0bdd66 5s linear infinite;\n animation: spinner-data-v-3b0bdd66 5s linear infinite;\n}\n.title-icon circle[data-v-3b0bdd66], .title-icon path[data-v-3b0bdd66] {\n stroke: #00BC7E;\n}\n@-webkit-keyframes spinner-data-v-3b0bdd66 {\n0% {\n transform: rotate(0deg);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@keyframes spinner-data-v-3b0bdd66 {\n0% {\n transform: rotate(0deg);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@media (prefers-color-scheme: dark) {\n.duplicator .duplicator-item[data-v-3b0bdd66] {\n background: #1e2024;\n}\n.duplicator .duplicator-item input[data-v-3b0bdd66],\n .duplicator .duplicator-item textarea[data-v-3b0bdd66] {\n background: #111314;\n}\n}\n',""])},53:function(e,t,a){var n=a(229);"string"==typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a(6)(n,r);n.locals&&(e.exports=n.locals)},54:function(e,t,a){var n=a(231);"string"==typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a(6)(n,r);n.locals&&(e.exports=n.locals)},57:function(e,t,a){var n=a(237);"string"==typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a(6)(n,r);n.locals&&(e.exports=n.locals)},59:function(e,t,a){var n=a(241);"string"==typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a(6)(n,r);n.locals&&(e.exports=n.locals)},605:function(e,t,a){"use strict";a.r(t);var n=a(9),r=a.n(n),i=a(8),o=a(22),d=a(14),s=a(13),l=a(12),p=a(20),b=a(17),u=a(1),c=a(10),v=a(4),m=a.n(v);function f(e,t,a,n,r,i,o){try{var d=e[i](o),s=d.value}catch(e){return void a(e)}d.done?t(s):Promise.resolve(s).then(n,r)}var h={name:"EnvironmentSetup",components:{AuthContentWrapper:o.a,ValidationProvider:i.ValidationProvider,ValidationObserver:i.ValidationObserver,SettingsIcon:u.M,SelectInput:d.a,AuthContent:p.a,AuthButton:b.a,FormLabel:s.a,required:c.a,InfoBox:l.a},watch:{"storage.driver":function(){this.storage.region=""},"storage.region":function(e){"spaces"===this.storage.driver&&(this.storage.endpoint="https://"+e+".digitaloceanspaces.com"),"wasabi"===this.storage.driver&&(this.storage.endpoint="https://s3."+e+".wasabisys.com"),"backblaze"===this.storage.driver&&(this.storage.endpoint="https://s3."+e+".backblazeb2.com")}},computed:{regionList:function(){switch(this.storage.driver){case"s3":return this.s3Regions;case"spaces":return this.digitalOceanRegions;case"wasabi":return this.wasabiRegions;case"backblaze":return this.backblazeRegions}}},data:function(){return{isLoading:!1,wasabiRegions:[{label:"US East 1 (N. Virginia)",value:"us-east-1"},{label:"US East 2 (N. Virginia)",value:"us-east-2"},{label:"US West 1 (Oregon)",value:"us-west-1"},{label:"EU Central 1 (Amsterdam)",value:"eu-central-1"}],backblazeRegions:[{label:"us-west-001",value:"us-west-001"},{label:"us-west-002",value:"us-west-002"},{label:"eu-central-003",value:"eu-central-003"}],digitalOceanRegions:[{label:"New York",value:"nyc3"},{label:"San Francisco",value:"sfo2"},{label:"Amsterdam",value:"ams3"},{label:"Singapore",value:"sgp1"},{label:"Frankfurt",value:"fra1"}],s3Regions:[{label:"us-east-1",value:"us-east-1"},{label:"us-east-2",value:"us-east-2"},{label:"us-west-1",value:"us-west-1"},{label:"us-west-2",value:"us-west-2"},{label:"af-south-1",value:"af-south-1"},{label:"ap-east-1",value:"ap-east-1"},{label:"ap-south-1",value:"ap-south-1"},{label:"ap-northeast-2",value:"ap-northeast-2"},{label:"ap-southeast-1",value:"ap-southeast-1"},{label:"ap-southeast-2",value:"ap-southeast-2"},{label:"ap-northeast-1",value:"ap-northeast-1"},{label:"ca-central-1",value:"ca-central-1"},{label:"eu-central-1",value:"eu-central-1"},{label:"eu-west-1",value:"eu-west-1"},{label:"eu-west-2",value:"eu-west-2"},{label:"eu-south-1",value:"eu-south-1"},{label:"eu-west-3",value:"eu-west-3"},{label:"eu-north-1",value:"eu-north-1"},{label:"me-south-1",value:"me-south-1"},{label:"sa-east-1",value:"sa-east-1"}],storageServiceList:[{label:"Local Driver",value:"local"},{label:"Amazon Web Services S3",value:"s3"},{label:"Digital Ocean Spaces",value:"spaces"},{label:"Object Cloud Storage by Wasabi",value:"wasabi"},{label:"Backblaze B2 Cloud Storage",value:"backblaze"}],encryptionList:[{label:"TLS",value:"tls"},{label:"SSL",value:"ssl"}],mailDriverList:[{label:"smtp",value:"smtp"},{label:"sendmail",value:"sendmail"},{label:"mailgun",value:"mailgun"},{label:"ses",value:"ses"},{label:"postmark",value:"postmark"},{label:"log",value:"log"},{label:"array",value:"array"}],storage:{driver:"local",key:"",secret:"",endpoint:"",region:"",bucket:""},mail:{driver:"smtp",host:"",port:"",username:"",password:"",encryption:""}}},methods:{EnvironmentSetupSubmit:function(){var e,t=this;return(e=r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.environmentSetup.validate();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:t.isLoading=!0,m.a.post("/api/setup/environment-setup",{storage:t.storage,mail:t.mail}).then((function(e){t.isLoading=!1,t.$router.push({name:"AppSetup"})})).catch((function(e){t.isLoading=!1}));case 7:case"end":return e.stop()}}),e)})),function(){var t=this,a=arguments;return new Promise((function(n,r){var i=e.apply(t,a);function o(e){f(i,n,r,o,d,"next",e)}function d(e){f(i,n,r,o,d,"throw",e)}o(void 0)}))})()}},created:function(){this.$scrollTop()}},g=(a(436),a(0)),x=Object(g.a)(h,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("AuthContentWrapper",{ref:"auth"},[a("AuthContent",{attrs:{name:"database-credentials",visible:!0}},[a("div",{staticClass:"content-headline"},[a("settings-icon",{staticClass:"title-icon",attrs:{size:"40"}}),e._v(" "),a("h1",[e._v("Setup Wizard")]),e._v(" "),a("h2",[e._v("Set up your storage driver and email client.")])],1),e._v(" "),a("ValidationObserver",{ref:"environmentSetup",staticClass:"form block-form",attrs:{tag:"form"},on:{submit:function(t){return t.preventDefault(),e.EnvironmentSetupSubmit(t)}},scopedSlots:e._u([{key:"default",fn:function(t){t.invalid;return[a("InfoBox",[a("p",[e._v("If you dont know which storage driver set, keep selected "),a("b",[e._v("'Local Driver'")]),e._v(". For more info, where\n you can host your files "),a("a",{attrs:{href:"https://vuefilemanager.com/docs/guide/storage.html#introduction",target:"_blank"}},[e._v("visit our guide")]),e._v(".")])]),e._v(" "),a("FormLabel",[e._v("Storage Setup")]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Storage Service:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Storage Service",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("SelectInput",{attrs:{options:e.storageServiceList,default:"local",placeholder:"Select your storage service",isError:n[0]},model:{value:e.storage.driver,callback:function(t){e.$set(e.storage,"driver",t)},expression:"storage.driver"}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),"local"!==e.storage.driver?a("div",{staticClass:"storage-additionals"},[a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Key:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Key",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.storage.key,expression:"storage.key"}],class:{"is-error":n[0]},attrs:{placeholder:"Paste your key",type:"text"},domProps:{value:e.storage.key},on:{input:function(t){t.target.composing||e.$set(e.storage,"key",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Secret:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Secret",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.storage.secret,expression:"storage.secret"}],class:{"is-error":n[0]},attrs:{placeholder:"Paste your secret",type:"text"},domProps:{value:e.storage.secret},on:{input:function(t){t.target.composing||e.$set(e.storage,"secret",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Region:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Region",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("SelectInput",{key:e.storage.driver,attrs:{options:e.regionList,placeholder:"Select your region",isError:n[0]},model:{value:e.storage.region,callback:function(t){e.$set(e.storage,"region",t)},expression:"storage.region"}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e(),e._v(" "),a("small",{staticClass:"input-help"},[e._v("\n Select your region where is your bucket/space created.\n ")])]}}],null,!0)})],1),e._v(" "),"s3"!==e.storage.driver?a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Endpoint URL:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Endpoint",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.storage.endpoint,expression:"storage.endpoint"}],class:{"is-error":n[0]},attrs:{placeholder:"Type your endpoint",type:"text",readonly:""},domProps:{value:e.storage.endpoint},on:{input:function(t){t.target.composing||e.$set(e.storage,"endpoint",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1):e._e(),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Bucket:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Bucket",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.storage.bucket,expression:"storage.bucket"}],class:{"is-error":n[0]},attrs:{placeholder:"Type your bucket name",type:"text"},domProps:{value:e.storage.bucket},on:{input:function(t){t.target.composing||e.$set(e.storage,"bucket",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e(),e._v(" "),a("small",{staticClass:"input-help"},[e._v("\n Provide your created unique bucket name\n ")])]}}],null,!0)})],1),e._v(" "),a("InfoBox",[a("p",[e._v("Later, you can edit these data in your "),a("b",[e._v(".env")]),e._v(" file which is located in app root folder.")])])],1):e._e(),e._v(" "),a("FormLabel",{staticClass:"mt-70"},[e._v("Email Setup")]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Mail Driver:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Driver",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("SelectInput",{attrs:{options:e.mailDriverList,default:"smtp",placeholder:"Select your mail driver",isError:n[0]},model:{value:e.mail.driver,callback:function(t){e.$set(e.mail,"driver",t)},expression:"mail.driver"}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Mail Host:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Host",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.mail.host,expression:"mail.host"}],class:{"is-error":n[0]},attrs:{placeholder:"Type your mail host",type:"text"},domProps:{value:e.mail.host},on:{input:function(t){t.target.composing||e.$set(e.mail,"host",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Mail Port:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Port",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.mail.port,expression:"mail.port"}],class:{"is-error":n[0]},attrs:{placeholder:"Type your mail port",type:"text"},domProps:{value:e.mail.port},on:{input:function(t){t.target.composing||e.$set(e.mail,"port",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Mail Username:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Username",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.mail.username,expression:"mail.username"}],class:{"is-error":n[0]},attrs:{placeholder:"Type your mail username",type:"text"},domProps:{value:e.mail.username},on:{input:function(t){t.target.composing||e.$set(e.mail,"username",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Mail Password:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Password",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.mail.password,expression:"mail.password"}],class:{"is-error":n[0]},attrs:{placeholder:"Type your mail password",type:"text"},domProps:{value:e.mail.password},on:{input:function(t){t.target.composing||e.$set(e.mail,"password",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Mail Encryption:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Encryption",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("SelectInput",{attrs:{options:e.encryptionList,placeholder:"Select your mail encryption",isError:n[0]},model:{value:e.mail.encryption,callback:function(t){e.$set(e.mail,"encryption",t)},expression:"mail.encryption"}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"submit-wrapper"},[a("AuthButton",{attrs:{icon:"chevron-right",text:"Save and Set General Settings",loading:e.isLoading,disabled:e.isLoading}})],1)]}}])})],1)],1)}),[],!1,null,"3b0bdd66",null);t.default=x.exports}}]);