Files
vuefilemanager/public/chunks/shared-page.js
2021-03-12 14:59:47 +01:00

1 line
27 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{ASoH:function(e,t,n){"use strict";var a={name:"AuthContent",props:["loading","icon","text"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}},i=(n("s/ZW"),n("KHd+")),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"button outline"},[n("span",{staticClass:"text-label"},[e._v(e._s(e.text))]),e._v(" "),e.loading?n("span",{staticClass:"icon"},[n("FontAwesomeIcon",{staticClass:"sync-alt",attrs:{icon:"sync-alt"}})],1):e._e(),e._v(" "),!e.loading&&e.icon?n("span",{staticClass:"icon"},[n("FontAwesomeIcon",{attrs:{icon:e.icon}})],1):e._e()])}),[],!1,null,"59e2dfc0",null);t.a=o.exports},B1nD:function(e,t,n){var a=n("hoKU");"string"==typeof a&&(a=[[e.i,a,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,i);a.locals&&(e.exports=a.locals)},FdzE:function(e,t,n){"use strict";var a=n("CjXH"),i=n("L2JU"),o=n("xCqy");function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={name:"TreeMenuNavigator",props:["nodes","depth","disabled"],components:{TreeMenuNavigator:p,ChevronRightIcon:a.h,FolderIcon:a.w},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(i.b)(["fileInfoDetail"]),{disabledFolder:function(){var e=this,t=!1;return this.draggedItem.length>0?this.draggedItem.forEach((function(n){"folder"===n.type&&e.nodes.unique_id===n.parent_id&&(t=!0),e.nodes.unique_id===n.unique_id&&"folder"===n.type&&(t=!0,e.disableChildren=!0),e.disabled&&(e.disableChildren=!0)})):(t=!1,this.disableChildren=!1),t},indent:function(){var e=window.innerWidth<=1024?17:22;return{paddingLeft:(0==this.depth?e:e+20*this.depth)+"px"}}}),data:function(){return{isVisible:!1,isSelected:!1,area:!1,draggedItem:[],disableChildren:!1}},methods:{dragFinish:function(){this.fileInfoDetail.includes(this.draggedItem[0])||this.$store.dispatch("moveItem",{to_item:this.nodes,noSelectedItem:this.draggedItem[0]}),this.fileInfoDetail.includes(this.draggedItem[0])&&this.$store.dispatch("moveItem",{to_item:this.nodes,noSelectedItem:null}),this.draggedItem=[],this.area=!1,o.a.$emit("drop")},dragEnter:function(){this.area=!0},dragLeave:function(){this.area=!1},getFolder:function(){o.a.$emit("show-folder",this.nodes),this.$isThisLocation("public")?this.$store.dispatch("browseShared",[{folder:this.nodes,back:!1,init:!1}]):this.$store.dispatch("getFolder",[{folder:this.nodes,back:!1,init:!1}])},showTree:function(){this.isVisible=!this.isVisible}},created:function(){var e=this;o.a.$on("drop",(function(){e.draggedItem=[]})),o.a.$on("dragstart",(function(t){e.fileInfoDetail.includes(t)||(e.draggedItem=[t]),e.fileInfoDetail.includes(t)&&(e.draggedItem=e.fileInfoDetail)})),o.a.$on("show-folder",(function(t){e.isSelected=!1,e.nodes.unique_id==t.unique_id&&(e.isSelected=!0)}))}},l=(n("XrVr"),n("KHd+")),c=Object(l.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"folder"}},[n("div",{staticClass:"folder-item-wrapper"},[n("div",{staticClass:"folder-item",class:{"is-selected":e.isSelected,"is-dragenter":e.area,"is-inactive":e.disabledFolder||e.disabled&&e.draggedItem.length>0},style:e.indent,on:{click:e.getFolder,dragover:function(t){return t.preventDefault(),e.dragEnter(t)},dragleave:e.dragLeave,drop:function(t){return e.dragFinish()}}},[n("chevron-right-icon",{staticClass:"icon-arrow",class:{"is-opened":e.isVisible,"is-visible":0!==e.nodes.folders.length},attrs:{size:"17"},on:{click:function(t){return t.stopPropagation(),e.showTree(t)}}}),e._v(" "),n("folder-icon",{staticClass:"icon",attrs:{size:"17"}}),e._v(" "),n("span",{staticClass:"label"},[e._v(e._s(e.nodes.name))])],1),e._v(" "),e._l(e.nodes.folders,(function(t){return e.isVisible?n("TreeMenuNavigator",{key:t.unique_id,attrs:{disabled:e.disableChildren,depth:e.depth+1,nodes:t}}):e._e()}))],2)])}),[],!1,null,"2e948b10",null),p=t.a=c.exports},GwTe:function(e,t,n){(e.exports=n("I1BE")(!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: #131414;\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",""])},IV8A:function(e,t,n){"use strict";var a=n("B1nD");n.n(a).a},M7L9:function(e,t,n){"use strict";n.r(t);var a=n("o0o1"),i=n.n(a),o=n("A5+z"),r=n("MooH"),d=n("1GG+"),s=n("9Q3x"),l=n("Tbn2"),c=n("FdzE"),p=n("vIGX"),u=n("yMep"),v=n("LtV2"),f=n("25Ru"),m=n("hXay"),h=n("c4kp"),g=n("2QtR"),b=n("L7Tl"),w=n("Nv84"),x=n("jU4B"),y=n("j8qy"),_=n("mH8o"),k=n("ASoH"),P=n("zTYo"),C=n("PpKh"),O=n("BOt2"),I=n("QS3E"),D=n("c+VV"),B=n("TJPC"),F=n("L2JU"),j=n("xCqy"),z=n("vDqi"),A=n.n(z),S=n("CjXH");function $(e,t,n,a,i,o,r){try{var d=e[o](r),s=d.value}catch(e){return void n(e)}d.done?t(s):Promise.resolve(s).then(a,i)}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T={name:"SharedPage",components:{MobileSortingAndPreview:r.a,MobileMultiSelectMenu:d.a,ValidationProvider:o.ValidationProvider,DesktopSortingAndPreview:s.a,ValidationObserver:o.ValidationObserver,TreeMenuNavigator:c.a,FileFullPreview:p.a,ProcessingPopup:l.a,DesktopToolbar:u.a,ContentSidebar:v.a,CreateFolder:b.a,FileItemGrid:f.a,ContentGroup:m.a,AuthContent:y.a,FileBrowser:h.a,ContextMenu:g.a,AuthButton:k.a,MobileMenu:x.a,ButtonBase:w.a,RenameItem:_.a,HomeIcon:S.A,MoveItem:C.a,required:B.a,Vignette:O.a,Spinner:P.a,DragUI:I.a,Alert:D.a},computed:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){M(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(F.b)(["config","sharedDetail","sharedFile","navigation"]),{navigationTree:function(){return this.navigation?this.navigation[0].folders:void 0},isPageFiles:function(){return"page-files"===this.currentPage},isPagePasswordVerification:function(){return"page-password"===this.currentPage}}),data:function(){return{checkedAccount:void 0,password:"",isLoading:!1,isPageLoading:!0,currentPage:void 0,homeDirectory:void 0}},methods:{goHome:function(){this.$store.dispatch("browseShared",[{folder:this.homeDirectory,back:!1,init:!0}])},authenticateProtected:function(){var e,t=this;return(e=i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.authenticateProtected.validate();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:t.isLoading=!0,A.a.post("/api/shared/authenticate/"+t.$route.params.token,{password:t.password}).then((function(){t.isLoading=!1,t.currentPage="page-files",t.getFiles()})).catch((function(e){401==e.response.status&&t.$refs.authenticateProtected.setErrors({Password:[e.response.data.message]}),t.isLoading=!1}));case 7:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,i){var o=e.apply(t,n);function r(e){$(o,a,i,r,d,"next",e)}function d(e){$(o,a,i,r,d,"throw",e)}r(void 0)}))})()},getFiles:function(){"folder"===this.sharedDetail.type&&(this.homeDirectory={unique_id:this.sharedDetail.item_id,name:this.$t("locations.home"),location:"public"},this.$store.dispatch("getFolderTree"),this.goHome()),"file"===this.sharedDetail.type&&this.$store.dispatch("getSingleFile")},download:function(){this.$downloadFile(this.sharedFile.file_url,this.sharedFile.name+"."+this.sharedFile.mimetype)},contextMenu:function(e,t){j.a.$emit("contextMenu:show",e,t)}},created:function(){var e=this;A.a.get("/api/shared/"+this.$route.params.token).then((function(t){e.$store.commit("SET_SHARED_DETAIL",t.data.data.attributes),e.$store.commit("SET_PERMISSION",t.data.data.attributes.permission),e.isPageLoading=!1,t.data.data.attributes.protected?e.currentPage="page-password":(e.currentPage="page-files",e.getFiles())})).catch((function(t){404==t.response.status&&e.$router.push({name:"NotFoundShared"})}))}},V=(n("IV8A"),n("KHd+")),L=Object(V.a)(T,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"shared"}},[n("FileFullPreview"),e._v(" "),e.isPageLoading?n("Spinner"):e._e(),e._v(" "),n("MoveItem"),e._v(" "),n("ProcessingPopup"),e._v(" "),n("MobileMultiSelectMenu"),e._v(" "),n("RenameItem"),e._v(" "),n("CreateFolder"),e._v(" "),n("DragUI"),e._v(" "),n("MobileMenu"),e._v(" "),n("MobileSortingAndPreview"),e._v(" "),n("Alert"),e._v(" "),n("Vignette"),e._v(" "),e.isPagePasswordVerification?n("div",{attrs:{id:"password-view"}},[n("AuthContent",{staticClass:"center",attrs:{name:"password",visible:!0}},[e.config.app_logo?n("img",{staticClass:"logo",attrs:{src:e.$getImage(e.config.app_logo),alt:e.config.app_name}}):e._e(),e._v(" "),e.config.app_logo?e._e():n("b",{staticClass:"auth-logo-text"},[e._v(e._s(e.config.app_name))]),e._v(" "),n("h1",[e._v(e._s(e.$t("page_shared.title")))]),e._v(" "),n("h2",[e._v(e._s(e.$t("page_shared.subtitle")))]),e._v(" "),n("ValidationObserver",{ref:"authenticateProtected",staticClass:"form inline-form",attrs:{tag:"form"},on:{submit:function(t){return t.preventDefault(),e.authenticateProtected(t)}},scopedSlots:e._u([{key:"default",fn:function(t){t.invalid;return[n("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Password",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.errors;return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],class:{"is-error":a[0]},attrs:{placeholder:e.$t("page_shared.placeholder_pass"),type:"password"},domProps:{value:e.password},on:{input:function(t){t.target.composing||(e.password=t.target.value)}}}),e._v(" "),a[0]?n("span",{staticClass:"error-message"},[e._v(e._s(a[0]))]):e._e()]}}],null,!0)}),e._v(" "),n("AuthButton",{attrs:{icon:"chevron-right",text:e.$t("page_shared.submit"),loading:e.isLoading,disabled:e.isLoading}})]}}],null,!1,1097245153)})],1)],1):e._e(),e._v(" "),e.sharedDetail&&"file"===e.sharedDetail.type&&e.isPageFiles?n("div",{attrs:{id:"single-file"}},[n("div",{staticClass:"single-file-wrapper"},[e.sharedFile?n("FileItemGrid",{attrs:{item:e.sharedFile,"context-menu":!1}}):e._e(),e._v(" "),n("ButtonBase",{staticClass:"download-button",attrs:{"button-style":"theme"},nativeOn:{click:function(t){return e.download(t)}}},[e._v("\n "+e._s(e.$t("page_shared.download_file"))+"\n ")])],1)]):e._e(),e._v(" "),e.sharedDetail&&"folder"===e.sharedDetail.type&&e.isPageFiles?n("div",{attrs:{id:"viewport"},on:{"!contextmenu":function(t){return t.preventDefault(),e.contextMenu(t,void 0)}}},[e.navigationTree?n("ContentSidebar",[n("ContentGroup",{attrs:{title:e.$t("sidebar.locations_title")}},[n("div",{staticClass:"menu-list-wrapper vertical"},[n("a",{staticClass:"menu-list-item link",on:{click:e.goHome}},[n("div",{staticClass:"icon"},[n("home-icon",{attrs:{size:"17"}})],1),e._v(" "),n("div",{staticClass:"label"},[e._v("\n "+e._s(e.$t("sidebar.home"))+"\n ")])])])]),e._v(" "),n("ContentGroup",{staticClass:"navigator",attrs:{title:e.$t("sidebar.navigator_title")}},[0==e.navigationTree.length?n("span",{staticClass:"empty-note navigator"},[e._v("\n "+e._s(e.$t("sidebar.folders_empty"))+"\n ")]):e._e(),e._v(" "),e._l(e.navigationTree,(function(e){return n("TreeMenuNavigator",{key:e.unique_id,staticClass:"folder-tree",attrs:{depth:0,nodes:e}})}))],2)],1):e._e(),e._v(" "),n("div",{attrs:{id:"files-view"}},[n("ContextMenu"),e._v(" "),n("DesktopToolbar"),e._v(" "),n("FileBrowser"),e._v(" "),n("DesktopSortingAndPreview")],1)],1):e._e()],1)}),[],!1,null,"1218dc71",null);t.default=L.exports},"MS+B":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".is-inactive[data-v-2e948b10] {\n opacity: 0.5;\n pointer-events: none;\n}\n.is-dragenter[data-v-2e948b10] {\n border: 2px dashed #00BC7E !important;\n border-radius: 8px;\n}\n.folder-item[data-v-2e948b10] {\n display: block;\n padding: 8px 0;\n transition: 150ms all ease;\n cursor: pointer;\n position: relative;\n white-space: nowrap;\n width: 100%;\n border: 2px dashed transparent;\n}\n.folder-item .icon[data-v-2e948b10] {\n line-height: 0;\n width: 15px;\n margin-right: 9px;\n vertical-align: middle;\n margin-top: -1px;\n}\n.folder-item .icon path[data-v-2e948b10], .folder-item .icon line[data-v-2e948b10], .folder-item .icon polyline[data-v-2e948b10], .folder-item .icon rect[data-v-2e948b10], .folder-item .icon circle[data-v-2e948b10] {\n transition: 150ms all ease;\n}\n.folder-item .icon-arrow[data-v-2e948b10] {\n transition: 300ms all ease;\n margin-right: 4px;\n vertical-align: middle;\n opacity: 0;\n}\n.folder-item .icon-arrow.is-visible[data-v-2e948b10] {\n opacity: 1;\n}\n.folder-item .icon-arrow.is-opened[data-v-2e948b10] {\n transform: rotate(90deg);\n}\n.folder-item .label[data-v-2e948b10] {\n transition: 150ms all ease;\n font-size: 0.8125em;\n font-weight: 700;\n vertical-align: middle;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n display: inline-block;\n color: #1B2539;\n max-width: 130px;\n}\n.folder-item:hover .icon path[data-v-2e948b10], .folder-item:hover .icon line[data-v-2e948b10], .folder-item:hover .icon polyline[data-v-2e948b10], .folder-item:hover .icon rect[data-v-2e948b10], .folder-item:hover .icon circle[data-v-2e948b10], .folder-item.is-selected .icon path[data-v-2e948b10], .folder-item.is-selected .icon line[data-v-2e948b10], .folder-item.is-selected .icon polyline[data-v-2e948b10], .folder-item.is-selected .icon rect[data-v-2e948b10], .folder-item.is-selected .icon circle[data-v-2e948b10] {\n stroke: #00BC7E;\n}\n.folder-item:hover .label[data-v-2e948b10], .folder-item.is-selected .label[data-v-2e948b10] {\n color: #00BC7E;\n}\n@media only screen and (max-width: 1024px) {\n.folder-item[data-v-2e948b10] {\n padding: 8px 0;\n}\n}\n@media (prefers-color-scheme: dark) {\n.folder-item .label[data-v-2e948b10] {\n color: #bec6cf;\n}\n.folder-item[data-v-2e948b10]:hover {\n background: rgba(0, 188, 126, 0.1);\n}\n.folder-item.is-selected[data-v-2e948b10] {\n background: rgba(0, 188, 126, 0.1);\n}\n.is-selected[data-v-2e948b10] {\n background: rgba(0, 188, 126, 0.1);\n}\n}\n@media (prefers-color-scheme: dark) and (max-width: 690px) {\n.folder-item[data-v-2e948b10]:hover, .folder-item.is-selected[data-v-2e948b10] {\n background: rgba(0, 188, 126, 0.1);\n}\n}\n",""])},NbAf:function(e,t,n){var a=n("GwTe");"string"==typeof a&&(a=[[e.i,a,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,i);a.locals&&(e.exports=a.locals)},UtFG:function(e,t,n){var a=n("MS+B");"string"==typeof a&&(a=[[e.i,a,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,i);a.locals&&(e.exports=a.locals)},XrVr:function(e,t,n){"use strict";var a=n("UtFG");n.n(a).a},hoKU:function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,'.form.inline-form[data-v-1218dc71] {\n display: flex;\n position: relative;\n justify-content: center;\n margin: 0 auto;\n}\n.form.inline-form .input-wrapper[data-v-1218dc71] {\n position: relative;\n}\n.form.inline-form .input-wrapper .error-message[data-v-1218dc71] {\n position: absolute;\n left: 0;\n}\n.form.block-form.create-new-password .block-wrapper label[data-v-1218dc71] {\n width: 280px;\n}\n.form.block-form .block-wrapper[data-v-1218dc71] {\n display: flex;\n align-items: center;\n margin-top: 25px;\n justify-content: center;\n}\n.form.block-form .block-wrapper[data-v-1218dc71]:first-child {\n margin-top: 0;\n}\n.form.block-form .block-wrapper label[data-v-1218dc71] {\n white-space: nowrap;\n font-size: 1.125em;\n font-weight: 700;\n padding-right: 20px;\n width: 200px;\n text-align: right !important;\n color: #1B2539;\n text-align: right;\n}\n.form.block-form .button[data-v-1218dc71] {\n margin-top: 50px;\n}\n.input-wrapper .error-message[data-v-1218dc71] {\n font-size: 0.875em;\n color: #fd397a;\n padding-top: 5px;\n display: block;\n text-align: left;\n}\ntextarea[data-v-1218dc71] {\n width: 100%;\n}\ntextarea[data-v-1218dc71],\ninput[type="password"][data-v-1218dc71],\ninput[type="text"][data-v-1218dc71],\ninput[type="email"][data-v-1218dc71] {\n background: #f4f5f6;\n border: 1px solid transparent;\n transition: 0.15s 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}\ntextarea.is-error[data-v-1218dc71],\ninput[type="password"].is-error[data-v-1218dc71],\ninput[type="text"].is-error[data-v-1218dc71],\ninput[type="email"].is-error[data-v-1218dc71] {\n border-color: #fd397a;\n box-shadow: 0 0 7px rgba(253, 57, 122, 0.3);\n}\ntextarea[data-v-1218dc71]::-webkit-input-placeholder, input[type="password"][data-v-1218dc71]::-webkit-input-placeholder, input[type="text"][data-v-1218dc71]::-webkit-input-placeholder, input[type="email"][data-v-1218dc71]::-webkit-input-placeholder {\n color: #A4ADB6;\n font-size: 1em;\n}\ntextarea[data-v-1218dc71]::-moz-placeholder, input[type="password"][data-v-1218dc71]::-moz-placeholder, input[type="text"][data-v-1218dc71]::-moz-placeholder, input[type="email"][data-v-1218dc71]::-moz-placeholder {\n color: #A4ADB6;\n font-size: 1em;\n}\ntextarea[data-v-1218dc71]:-ms-input-placeholder, input[type="password"][data-v-1218dc71]:-ms-input-placeholder, input[type="text"][data-v-1218dc71]:-ms-input-placeholder, input[type="email"][data-v-1218dc71]:-ms-input-placeholder {\n color: #A4ADB6;\n font-size: 1em;\n}\ntextarea[data-v-1218dc71]::-ms-input-placeholder, input[type="password"][data-v-1218dc71]::-ms-input-placeholder, input[type="text"][data-v-1218dc71]::-ms-input-placeholder, input[type="email"][data-v-1218dc71]::-ms-input-placeholder {\n color: #A4ADB6;\n font-size: 1em;\n}\ntextarea[data-v-1218dc71]::placeholder,\ninput[type="password"][data-v-1218dc71]::placeholder,\ninput[type="text"][data-v-1218dc71]::placeholder,\ninput[type="email"][data-v-1218dc71]::placeholder {\n color: #A4ADB6;\n font-size: 1em;\n}\ntextarea[data-v-1218dc71]:focus,\ninput[type="password"][data-v-1218dc71]:focus,\ninput[type="text"][data-v-1218dc71]:focus,\ninput[type="email"][data-v-1218dc71]:focus {\n border-color: #00BC7E;\n box-shadow: 0 0 7px rgba(0, 188, 126, 0.3);\n}\ntextarea[disabled][data-v-1218dc71],\ninput[type="password"][disabled][data-v-1218dc71],\ninput[type="text"][disabled][data-v-1218dc71],\ninput[type="email"][disabled][data-v-1218dc71] {\n color: #A4ADB6;\n cursor: not-allowed;\n}\n.additional-link[data-v-1218dc71] {\n font-size: 1em;\n margin-top: 50px;\n display: block;\n color: #1B2539;\n}\n.additional-link b[data-v-1218dc71], .additional-link a[data-v-1218dc71] {\n color: #00BC7E;\n cursor: pointer;\n}\n.additional-link b[data-v-1218dc71]:hover, .additional-link a[data-v-1218dc71]:hover {\n text-decoration: underline;\n}\n@media only screen and (max-width: 960px) {\n.form .button[data-v-1218dc71] {\n margin-top: 20px;\n width: 100%;\n margin-left: 0;\n margin-right: 0;\n}\n.form input[data-v-1218dc71], .form textarea[data-v-1218dc71] {\n width: 100%;\n min-width: 100%;\n}\n.form.block-form .block-wrapper[data-v-1218dc71] {\n display: block;\n}\n.form.block-form .block-wrapper label[data-v-1218dc71] {\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-1218dc71] {\n margin-top: 25px;\n margin-left: 0;\n margin-right: 0;\n}\n.form.inline-form[data-v-1218dc71] {\n display: block;\n}\n.form.inline-form .input-wrapper .error-message[data-v-1218dc71] {\n position: relative;\n bottom: 0;\n}\n.form .button[data-v-1218dc71] {\n padding: 14px 32px;\n}\ntextarea[data-v-1218dc71],\n input[type="password"][data-v-1218dc71],\n input[type="text"][data-v-1218dc71],\n input[type="email"][data-v-1218dc71] {\n padding: 14px 20px;\n}\n}\n@media (prefers-color-scheme: dark) {\n.form.block-form .block-wrapper label[data-v-1218dc71] {\n color: #bec6cf;\n}\ntextarea[data-v-1218dc71],\n input[type="password"][data-v-1218dc71],\n input[type="text"][data-v-1218dc71],\n input[type="email"][data-v-1218dc71] {\n background: #1e2024;\n color: #bec6cf;\n}\ntextarea[data-v-1218dc71]::-webkit-input-placeholder, input[type="password"][data-v-1218dc71]::-webkit-input-placeholder, input[type="text"][data-v-1218dc71]::-webkit-input-placeholder, input[type="email"][data-v-1218dc71]::-webkit-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-1218dc71]::-moz-placeholder, input[type="password"][data-v-1218dc71]::-moz-placeholder, input[type="text"][data-v-1218dc71]::-moz-placeholder, input[type="email"][data-v-1218dc71]::-moz-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-1218dc71]:-ms-input-placeholder, input[type="password"][data-v-1218dc71]:-ms-input-placeholder, input[type="text"][data-v-1218dc71]:-ms-input-placeholder, input[type="email"][data-v-1218dc71]:-ms-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-1218dc71]::-ms-input-placeholder, input[type="password"][data-v-1218dc71]::-ms-input-placeholder, input[type="text"][data-v-1218dc71]::-ms-input-placeholder, input[type="email"][data-v-1218dc71]::-ms-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-1218dc71]::placeholder,\n input[type="password"][data-v-1218dc71]::placeholder,\n input[type="text"][data-v-1218dc71]::placeholder,\n input[type="email"][data-v-1218dc71]::placeholder {\n color: #7d858c;\n}\ntextarea[disabled][data-v-1218dc71],\n input[type="password"][disabled][data-v-1218dc71],\n input[type="text"][disabled][data-v-1218dc71],\n input[type="email"][disabled][data-v-1218dc71] {\n color: #7d858c;\n}\n}\n.auth-logo-text[data-v-1218dc71] {\n font-size: 1.375em;\n font-weight: 800;\n margin-bottom: 40px;\n display: block;\n}\n.auth-form[data-v-1218dc71] {\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-1218dc71] {\n min-width: 310px;\n}\n.auth-form .additional-link a[data-v-1218dc71] {\n font-weight: 700;\n text-decoration: none;\n}\n.auth-form .user-avatar[data-v-1218dc71] {\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-1218dc71] {\n width: 120px;\n margin-bottom: 20px;\n}\n.auth-form h1[data-v-1218dc71] {\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-1218dc71] {\n font-size: 1.4375em;\n font-weight: 500;\n margin-bottom: 50px;\n color: #1B2539;\n}\n.auth-form .block-form[data-v-1218dc71] {\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-1218dc71] {\n padding-left: 20%;\n padding-right: 20%;\n}\n}\n@media only screen and (max-width: 690px) {\n.auth-form[data-v-1218dc71] {\n width: 100%;\n}\n.auth-form h1[data-v-1218dc71] {\n font-size: 1.875em;\n}\n.auth-form h2[data-v-1218dc71] {\n font-size: 1.3125em;\n}\n}\n@media only screen and (max-width: 490px) {\n.auth-form h1[data-v-1218dc71] {\n font-size: 1.375em;\n}\n.auth-form h2[data-v-1218dc71] {\n font-size: 1.125em;\n}\n.auth-form input[data-v-1218dc71] {\n min-width: initial;\n}\n.auth-form .additional-link[data-v-1218dc71] {\n font-size: 0.9375em;\n}\n}\n@media (prefers-color-scheme: dark) {\n.auth-form h1[data-v-1218dc71], .auth-form h2[data-v-1218dc71], .auth-form .additional-link[data-v-1218dc71] {\n color: #bec6cf;\n}\n}\n#files-view[data-v-1218dc71] {\n font-family: \'Nunito\', sans-serif;\n font-size: 16px;\n width: 100%;\n height: 100%;\n position: relative;\n min-width: 320px;\n overflow-x: hidden;\n padding-left: 15px;\n padding-right: 15px;\n overflow-y: hidden;\n}\n#shared[data-v-1218dc71] {\n height: 100%;\n}\n#password-view[data-v-1218dc71] {\n display: grid;\n height: inherit;\n}\n#password-view .center[data-v-1218dc71] {\n margin: auto;\n}\n#single-file[data-v-1218dc71] {\n position: absolute;\n bottom: 0;\n right: 0;\n left: 0;\n top: 0;\n display: grid;\n height: 100%;\n}\n#single-file .single-file-wrapper[data-v-1218dc71] {\n margin: auto;\n text-align: center;\n}\n#single-file .single-file-wrapper .download-button[data-v-1218dc71] {\n margin-top: 15px;\n margin-left: auto;\n margin-right: auto;\n}\n#single-file[data-v-1218dc71] .file-wrapper .file-item {\n width: 290px;\n}\n#single-file[data-v-1218dc71] .file-wrapper .file-item:hover, #single-file[data-v-1218dc71] .file-wrapper .file-item.is-clicked {\n background: transparent;\n}\n#single-file[data-v-1218dc71] .file-wrapper .file-item .item-shared {\n display: none;\n}\n.empty-note.navigator[data-v-1218dc71] {\n padding: 5px 25px 10px;\n}\n',""])},j8qy:function(e,t,n){"use strict";var a={name:"AuthContent",props:["visible","name"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}},i=n("KHd+"),o=Object(i.a)(a,(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=o.exports},"s/ZW":function(e,t,n){"use strict";var a=n("NbAf");n.n(a).a}}]);