/*! For license information please see settings.js.LICENSE.txt?id=a7ea744ffd7dfc810ac4 */ (window.webpackJsonp=window.webpackJsonp||[]).push([[53],{"+K/L":function(t,e,a){var i=a("uWhG");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,n);i.locals&&(t.exports=i.locals)},"0ezt":function(t,e,a){var i=a("x7z+");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,n);i.locals&&(t.exports=i.locals)},"16s2":function(t,e,a){"use strict";a("e+Qt")},"1u70":function(t,e,a){"use strict";var i=a("CjXH"),n=a("xCqy"),r={name:"PopupHeader",props:["title","icon"],components:{CornerDownRightIcon:i.s,CreditCardIcon:i.t,UserPlusIcon:i.yb,UsersIcon:i.zb,ShareIcon:i.kb,Edit2Icon:i.y,LinkIcon:i.S,KeyIcon:i.Q,XIcon:i.Bb},methods:{closePopup:function(){n.a.$emit("popup:close")}}},o=(a("yeQi"),a("KHd+")),s=Object(o.a)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"popup-header"},[a("div",{staticClass:"icon"},["move"===t.icon?a("corner-down-right-icon",{staticClass:"title-icon text-theme dark-text-theme",attrs:{size:"15"}}):t._e(),t._v(" "),"share"===t.icon?a("share-icon",{staticClass:"title-icon text-theme dark-text-theme",attrs:{size:"17"}}):t._e(),t._v(" "),"edit"===t.icon?a("edit2-icon",{staticClass:"title-icon text-theme dark-text-theme",attrs:{size:"17"}}):t._e(),t._v(" "),"key"===t.icon?a("key-icon",{staticClass:"title-icon text-theme dark-text-theme",attrs:{size:"17"}}):t._e(),t._v(" "),"users"===t.icon?a("users-icon",{staticClass:"title-icon text-theme dark-text-theme",attrs:{size:"17"}}):t._e(),t._v(" "),"user-plus"===t.icon?a("user-plus-icon",{staticClass:"title-icon text-theme dark-text-theme",attrs:{size:"17"}}):t._e(),t._v(" "),"credit-card"===t.icon?a("credit-card-icon",{staticClass:"title-icon text-theme dark-text-theme",attrs:{size:"17"}}):t._e()],1),t._v(" "),a("div",{staticClass:"label"},[a("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),a("x-icon",{staticClass:"close-icon hover-text-theme",attrs:{size:"22"},on:{click:t.closePopup}})],1)])}),[],!1,null,"2357b965",null);e.a=s.exports},"1xrH":function(t,e,a){var i=a("T25u");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,n);i.locals&&(t.exports=i.locals)},"2fkt":function(t,e,a){"use strict";var i=a("R+IU"),n=a("8uc6"),r=a("axtU"),o=a("uFbu"),s=a("0gRs"),c=a("CjXH"),l=a("L2JU"),p=a("xCqy");function d(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function u(t){for(var e=1;e1280?this.file.data.attributes.thumbnail.xl:this.file.data.attributes.thumbnail.lg}}},g=Object(b.a)(h,(function(){var t=this.$createElement;return(this._self._c||t)("img",{staticClass:"file",class:{"file-shadow":!this.$isMobile()},attrs:{id:"printable-file",src:this.imageSource}})}),[],!1,null,null,null).exports,y=a("e3c5"),x=a.n(y),w={name:"PdfFile",components:{pdf:x.a},props:["file"],watch:{file:function(){this.getPdf()}},data:function(){return{pdfData:void 0,numPages:0,documentSize:50}},methods:{getPdf:function(){this.pdfData=void 0,this.numPages=0;var t=this;t.pdfData=x.a.createLoadingTask(this.file.data.attributes.file_url),t.pdfData.then((function(e){return t.numPages=e.numPages}))},getDocumentSize:function(){window.innerWidth<960&&(this.documentSize=100),window.innerWidth>960&&(this.documentSize=localStorage.getItem("documentSize")?parseInt(localStorage.getItem("documentSize")):50)},zoomIn:function(){this.documentSize<100&&(this.documentSize+=10,localStorage.setItem("documentSize",this.documentSize))},zoomOut:function(){this.documentSize>40&&(this.documentSize-=10,localStorage.setItem("documentSize",this.documentSize))}},created:function(){var t=this;this.getDocumentSize(),this.getPdf(),p.a.$on("document-zoom:in",(function(){return t.zoomIn()})),p.a.$on("document-zoom:out",(function(){return t.zoomOut()}))}},k=(a("xUh6"),a("ahmU"),Object(b.a)(w,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{style:{width:t.documentSize+"%"},attrs:{id:"pdf-wrapper"}},t._l(t.numPages,(function(e){return a("pdf",{key:e,staticClass:"pdf-file",staticStyle:{width:"100%",margin:"0 auto 35px"},attrs:{src:t.pdfData,resize:!0,page:e,scale:"page-width",id:"printable-file"}},[a("template",{slot:"loading"},[a("h1",[t._v("loading content...")])])],2)})),1)}),[],!1,null,"0fbe09ae",null).exports),_={name:"Audio",props:["file"]},C=Object(b.a)(_,(function(){var t=this.$createElement;return(this._self._c||t)("audio",{staticClass:"file audio",class:{"file-shadow":!this.$isMobile()},attrs:{src:this.file.data.attributes.file_url,controls:""}})}),[],!1,null,null,null).exports,P={name:"Video",props:["file"]},O=(a("LmC+"),Object(b.a)(P,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"video-wrapper"},[e("video",{staticClass:"video",class:{"file-shadow":!this.$isMobile()},attrs:{src:this.file.data.attributes.file_url,controlsList:"nodownload",disablePictureInPicture:"",playsinline:"",controls:"",autoplay:""}})])}),[],!1,null,"51357f39",null).exports),$=a("zTYo");function S(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function I(t){for(var e=1;e1||(this.currentIndex+=1,this.currentIndex>this.files.length-1&&(this.currentIndex=0))},prev:function(){!this.files.length>1||(this.currentIndex-=1,this.currentIndex<0&&(this.currentIndex=this.files.length-1))}},created:function(){var t=this;p.a.$on("file-preview:next",(function(){return t.next()})),p.a.$on("file-preview:prev",(function(){return t.prev()})),this.getFilesForView()}},E=(a("fZPa"),{name:"FilePreview",components:{FilePreviewToolbar:m,FilePreviewMedia:Object(b.a)(z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.currentFile?a("div",{staticClass:"file-preview-wrapper"},[t.files.length>1?a("div",{staticClass:"navigation-arrows"},[a("div",{staticClass:"prev",on:{click:function(e){return e.preventDefault(),t.prev.apply(null,arguments)}}},[a("chevron-left-icon",{attrs:{size:"17"}})],1),t._v(" "),a("div",{staticClass:"next",on:{click:function(e){return e.preventDefault(),t.next.apply(null,arguments)}}},[a("chevron-right-icon",{attrs:{size:"17"}})],1)]):t._e(),t._v(" "),a("div",{staticClass:"file-wrapper-preview"},[t.isPDF?a("PdfFile",{attrs:{file:t.currentFile}}):t._e(),t._v(" "),t.isAudio||t.isImage||t.isVideo?a("div",{staticClass:"file-wrapper"},[t.isAudio?a("Audio",{attrs:{file:t.currentFile}}):t._e(),t._v(" "),t.isVideo?a("Video",{attrs:{file:t.currentFile}}):t._e(),t._v(" "),t.isImage?a("ImageFile",{attrs:{file:t.currentFile}}):t._e()],1):t._e()],1)]):t._e()}),[],!1,null,null,null).exports},data:function(){return{isFullPreview:!1}},methods:{closeFilePreview:function(){this.isFullPreview=!1,this.$store.commit("FAST_PREVIEW_CLEAR")},next:function(){p.a.$emit("file-preview:next")},prev:function(){p.a.$emit("file-preview:prev")}},updated:function(){this.isFullPreview&&this.$refs.filePreview.focus()},mounted:function(){var t=this;p.a.$on("file-preview:show",(function(){return t.isFullPreview=!0})),p.a.$on("file-preview:hide",(function(){return t.closeFilePreview()}))}}),F=(a("y7vx"),Object(b.a)(E,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isFullPreview?a("div",{ref:"filePreview",staticClass:"file-preview z-40",attrs:{tabindex:"-1"},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.closeFilePreview.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])||"button"in e&&2!==e.button?null:t.next.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])||"button"in e&&0!==e.button?null:t.prev.apply(null,arguments)}]}},[a("FilePreviewToolbar"),t._v(" "),a("FilePreviewMedia")],1):t._e()}),[],!1,null,"7307dacc",null));e.a=F.exports},"2wIw":function(t,e,a){var i=a("FNrB");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,n);i.locals&&(t.exports=i.locals)},"3fmz":function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".popup-image[data-v-c7ce0d82]{padding-top:20px;text-align:center;margin-bottom:20px}.popup-image .emoji[data-v-c7ce0d82]{font-size:3.5em;line-height:1}.content[data-v-c7ce0d82]{text-align:center;padding-bottom:10px;padding-left:20px;padding-right:20px}.content .message[data-v-c7ce0d82]{font-size:1em;color:#333;margin-top:5px}@media only screen and (max-width:690px){.content[data-v-c7ce0d82]{top:110px}}.dark .content .title[data-v-c7ce0d82]{color:#bec6cf}.dark .content .message[data-v-c7ce0d82]{color:#7d858c}",""])},"6G8L":function(t,e,a){var i=a("lMRG");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,n);i.locals&&(t.exports=i.locals)},"6bXj":function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".navigation-arrows .next,.navigation-arrows .prev{cursor:pointer;position:absolute;top:45%;display:flex;justify-content:center;color:#1b2539;border-radius:50%;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;filter:drop-shadow(0 1px 0 white);padding:10px;z-index:2}.navigation-arrows .next{right:0}.navigation-arrows .prev{left:0}.file-preview-wrapper{height:calc(100% - 72px);top:72px;position:relative;background-color:#fff}.file-wrapper-preview{padding:30px 0;overflow:hidden;background-color:#fff}.file-wrapper-preview,.file-wrapper-preview .file-wrapper{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.file-wrapper-preview .file-wrapper .file-shadow{box-shadow:0 8px 40px rgba(17,26,52,.05)}.file-wrapper-preview .file-wrapper .file{max-width:100%;max-height:100%;align-self:center}.file-wrapper-preview .file-wrapper .audio{border-radius:28px}.file-wrapper-preview .file-wrapper img{border-radius:4px}@media only screen and (max-width:960px){.file-preview-wrapper{top:53px}}.dark .navigation-arrows .next,.dark .navigation-arrows .prev{color:#a4adb6;filter:drop-shadow(0 1px 0 #111314)}.dark .file-wrapper-preview{background-color:#151515}.dark .file-wrapper-preview .file-wrapper .file-shadow{box-shadow:0 8px 40px rgba(0,0,0,.1)}",""])},"86vW":function(t,e,a){"use strict";a("2wIw")},"8g0Q":function(t,e,a){var i=a("Yo/7");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,n);i.locals&&(t.exports=i.locals)},"8uc6":function(t,e,a){"use strict";var i=a("xCqy"),n={name:"PopoverItem",props:["side","name"],data:function(){return{isVisible:!1}},methods:{hidePopover:function(){var t=this;setTimeout((function(){return t.isVisible=!1}),10)}},mounted:function(){var t=this;i.a.$on("popover:open",(function(e){t.name===e&&(t.isVisible=!t.isVisible)}))}},r=a("KHd+"),o=Object(r.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",[a("div",{staticClass:"absolute top-12 z-20 w-60 dark:bg-dark-foreground bg-white shadow-xl rounded-lg overflow-hidden",class:{"right-0":"left"===t.side,"left-0":"right"===t.side},on:{"!click":function(e){return t.hidePopover.apply(null,arguments)}}},[t._t("default")],2),t._v(" "),a("div",{staticClass:"fixed top-0 left-0 right-0 bottom-0 z-10 cursor-pointer",on:{click:t.hidePopover}})]):t._e()}),[],!1,null,null,null);e.a=o.exports},"9ZF6":function(t,e,a){"use strict";var i={name:"CardNavigation",props:["pages"],computed:{routeName:function(){return this.$route.name}}},n=a("KHd+"),r=Object(n.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"whitespace-nowrap overflow-x-auto"},t._l(t.pages,(function(e,i){return a("router-link",{key:i,staticClass:"inline-block text-sm font-bold px-4 py-5 border-b-2 border-transparent border-bottom-theme",class:{"text-theme":t.routeName===e.route,"dark:text-gray-400 text-gray-600":t.routeName!==e.route},attrs:{to:{name:e.route},replace:""}},[t._v("\n\t\t"+t._s(e.title)+"\n\t")])})),1)}),[],!1,null,null,null);e.a=r.exports},"9v+d":function(t,e,a){"use strict";a("wcb+")},"E/fJ":function(t,e,a){var i=a("3fmz");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,n);i.locals&&(t.exports=i.locals)},EwAx:function(t,e,a){"use strict";a("XkeG")},FNrB:function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".actions[data-v-b860e69c]{padding:20px;margin:0 -10px;display:flex}.actions .popup-button[data-v-b860e69c]{width:100%;margin:0 10px}@media only screen and (max-width:690px){.actions[data-v-b860e69c]{padding:15px;position:absolute;bottom:0;left:0;right:0}}@media only screen and (max-width:320px){.actions[data-v-b860e69c]{position:unset}}",""])},GgfX:function(t,e,a){"use strict";a.r(e);var i=a("o0o1"),n=a.n(i),r=a("oLLm"),o=a("RUeb"),s=a("Wxm/"),c=a("1u70"),l=a("Nv84");function p(t){var e="https://www.paypal.com/sdk/js";t.sdkBaseURL&&(e=t.sdkBaseURL,delete t.sdkBaseURL),function(t){var e=t["merchant-id"],a=t["data-merchant-id"],i="",n="";Array.isArray(e)?e.length>1?(i="*",n=e.toString()):i=e.toString():"string"==typeof e&&e.length>0?i=e:"string"==typeof a&&a.length>0&&(i="*",n=a);t["merchant-id"]=i,t["data-merchant-id"]=n}(t);var a=Object.keys(t).filter((function(e){return void 0!==t[e]&&null!==t[e]&&""!==t[e]})).reduce((function(e,a){var i=t[a].toString();return"data-"===a.substring(0,5)?e.dataAttributes[a]=i:e.queryParams[a]=i,e}),{queryParams:{},dataAttributes:{}}),i=a.queryParams,n=a.dataAttributes;return{url:"".concat(e,"?").concat(d(i)),dataAttributes:n}}function d(t){var e="";return Object.keys(t).forEach((function(a){0!==e.length&&(e+="&"),e+=a+"="+t[a]})),e}function u(t,e){void 0===e&&(e={});var a=document.createElement("script");return a.src=t,Object.keys(e).forEach((function(t){a.setAttribute(t,e[t]),"data-csp-nonce"===t&&a.setAttribute("nonce",e["data-csp-nonce"])})),a}function f(t,e){if(void 0===e&&(e=v()),m(t,e),"undefined"==typeof window)return e.resolve(null);var a=p(t),i=a.url,n=a.dataAttributes,r=n["data-namespace"]||"paypal",o=b(r);return function(t,e){var a=document.querySelector('script[src="'.concat(t,'"]'));if(null===a)return null;var i=u(t,e),n=a.cloneNode();if(delete n.dataset.uidAuto,Object.keys(n.dataset).length!==Object.keys(i.dataset).length)return null;var r=!0;return Object.keys(n.dataset).forEach((function(t){n.dataset[t]!==i.dataset[t]&&(r=!1)})),r?a:null}(i,n)&&o?e.resolve(o):function(t,e){void 0===e&&(e=v());m(t,e);var a=t.url,i=t.attributes;if("string"!=typeof a||0===a.length)throw new Error("Invalid url.");if(void 0!==i&&"object"!=typeof i)throw new Error("Expected attributes to be an object.");return new e((function(t,e){if("undefined"==typeof window)return t();!function(t){var e=t.url,a=t.attributes,i=t.onSuccess,n=t.onError,r=u(e,a);r.onerror=n,r.onload=i,document.head.insertBefore(r,document.head.firstElementChild)}({url:a,attributes:i,onSuccess:function(){return t()},onError:function(){var t=new Error('The script "'.concat(a,'" failed to load.'));return window.fetch?fetch(a).then((function(a){return 200===a.status&&e(t),a.text()})).then((function(t){var a=function(t){var e=t.split("/* Original Error:")[1];return e?e.replace(/\n/g,"").replace("*/","").trim():t}(t);e(new Error(a))})).catch((function(t){e(t)})):e(t)}})}))}({url:i,attributes:n},e).then((function(){var t=b(r);if(t)return t;throw new Error("The window.".concat(r," global variable is not available."))}))}function v(){if("undefined"==typeof Promise)throw new Error("Promise is undefined. To resolve the issue, use a Promise polyfill.");return Promise}function b(t){return window[t]}function m(t,e){if("object"!=typeof t||null===t)throw new Error("Expected an options object.");if(void 0!==e&&"function"!=typeof e)throw new Error("Expected PromisePonyfill to be a function.")}var h={name:"PaymentMethod",props:["description","driver"]},g=a("KHd+"),y=Object(g.a)(h,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex items-center justify-between py-4 border-b dark:border-opacity-5 border-light border-dashed"},[a("div",[a("img",{staticClass:"h-6",attrs:{src:t.$getPaymentLogo(t.driver),alt:t.driver}}),t._v(" "),a("small",{staticClass:"text-xs text-gray-500 pt-2 leading-4 block"},[t._v("\n\t\t\t"+t._s(t.description)+"\n\t\t")])]),t._v(" "),t.$slots.default?a("div",{staticClass:"bg-theme-200 inline-block px-3 py-1 rounded-lg relative"},[t._t("default")],2):t._e()])}),[],!1,null,null,null).exports,x=a("zTYo"),w=a("xCqy"),k=a("HII9"),_=a.n(k),C=a("L2JU");function P(t,e,a,i,n,r,o){try{var s=t[r](o),c=s.value}catch(t){return void a(t)}s.done?e(c):Promise.resolve(c).then(i,n)}function O(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function $(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var S={name:"SelectSingleChargeMethodPopup",components:{PaymentMethod:y,PopupWrapper:r.a,PopupActions:o.a,PopupContent:s.a,PopupHeader:c.a,ButtonBase:l.a,paystack:_.a,Spinner:x.a},data:function(){return{paypal:{isMethodsLoaded:!1,isMethodLoading:!1}}},computed:function(t){for(var e=1;e0?a("div",{staticClass:"px-5 mb-2 text-right"},[a("label",{staticClass:"font-bold cursor-pointer text-xs",class:{"text-gray-400":!t.isSelectedYearlyPlans}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("Billed Annually"))+"\n\t\t\t\t\t")]),t._v(" "),a("div",{staticClass:"relative inline-block w-12 align-middle select-none"},[a("SwitchInput",{staticClass:"transform scale-75",attrs:{state:t.isSelectedYearlyPlans},model:{value:t.isSelectedYearlyPlans,callback:function(e){t.isSelectedYearlyPlans=e},expression:"isSelectedYearlyPlans"}})],1)]):t._e(),t._v(" "),a("div",{staticClass:"px-4"},t._l(t.plans.data,(function(e,i){return e.data.attributes.interval===t.intervalPlanType&&t.userSubscribedPlanId!==e.data.id?a("PlanDetail",{key:e.data.id,attrs:{plan:e,"is-selected":t.selectedPlan&&t.selectedPlan.data.id===e.data.id},nativeOn:{click:function(a){return t.selectPlan(e)}}}):t._e()})),1)]):t._e(),t._v(" "),a("PopupActions",[a("ButtonBase",{staticClass:"popup-button",attrs:{"button-style":"secondary"},nativeOn:{click:function(e){return t.$closePopup()}}},[t._v(t._s(t.$t("popup_move_item.cancel"))+"\n\t\t\t\t")]),t._v(" "),a("ButtonBase",{staticClass:"popup-button",attrs:{"button-style":t.buttonStyle},nativeOn:{click:function(e){t.isPaymentOptionPage=!0}}},[t._v(t._s(t.$t("Upgrade Account"))+"\n\t\t\t\t")])],1)],1)],1)}),[],!1,null,null,null).exports,W=a("dGwr"),R=a("2fkt"),N=a("wlrm"),V=a("t5U/"),G=a("KnjL");function K(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function Y(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var Q={name:"TwoFactorRecoveryCodesPopup",components:{MobileActionButton:V.a,PopupWrapper:r.a,PopupActions:o.a,PopupContent:s.a,PopupHeader:c.a,ButtonBase:l.a,Spinner:x.a,InfoBox:G.a},data:function(){return{codes:void 0,isLoading:!0,inputCodes:void 0}},computed:function(t){for(var e=1;e95},canShowIncompletePayment:function(){return this.user.data.attributes.incomplete_payment},pages:function(){var t=[{title:this.$t("menu.profile"),route:"Profile"},{title:this.$t("menu.password"),route:"Password"},{title:this.$t("menu.storage"),route:"Storage"}];return["fixed","metered"].includes(this.config.subscriptionType)&&t.push({title:this.$t("Billing"),route:"Billing"}),t}}),data:function(){return{avatar:void 0,isLoading:!1}},created:function(){}},gt=(a("SHnE"),Object(g.a)(ht,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sm:flex md:h-screen md:overflow-hidden dark:bg-dark-background bg-light-background"},[a("FilePreview"),t._v(" "),a("Spotlight"),t._v(" "),a("ConfirmPopup"),t._v(" "),a("TwoFactorRecoveryCodesPopup"),t._v(" "),a("TwoFactorSetupPopup"),t._v(" "),a("CreatePersonaTokenPopup"),t._v(" "),a("SelectPlanSubscriptionPopup"),t._v(" "),a("SelectSingleChargeMethodPopup"),t._v(" "),a("SidebarNavigation"),t._v(" "),t.user?a("div",{staticClass:"px-6 w-full overflow-x-hidden relative pt-6 xl:max-w-screen-lg md:max-w-screen-md mx-auto"},[t.isLoading?t._e():a("div",{attrs:{id:"page-content"}},[a("div",{staticClass:"card shadow-card sticky top-0 z-10",staticStyle:{"padding-bottom":"0"}},[a("div",{staticClass:"mb-3"},[a("div",{staticClass:"user-thumbnail"},[a("div",{staticClass:"avatar"},[a("UserImageInput",{attrs:{avatar:t.user.data.relationships.settings.data.attributes.avatar.md},model:{value:t.avatar,callback:function(e){t.avatar=e},expression:"avatar"}})],1),t._v(" "),a("div",{staticClass:"info"},[a("b",{staticClass:"name"},[t._v("\n "+t._s(t.user.data.relationships.settings.data.attributes.name)+"\n\n "),"fixed"===this.config.subscriptionType?a("ColorLabel",{attrs:{color:t.subscriptionColor}},[t._v("\n "+t._s(t.subscriptionStatus)+"\n ")]):t._e()],1),t._v(" "),a("span",{staticClass:"email"},[t._v(t._s(t.user.data.attributes.email))])])])]),t._v(" "),a("CardNavigation",{staticClass:"-mx-1",attrs:{pages:t.pages}})],1),t._v(" "),a("router-view",{attrs:{user:t.user}})],1),t._v(" "),t.isLoading?a("div",{attrs:{id:"loader"}},[a("Spinner")],1):t._e()]):t._e()],1)}),[],!1,null,"e2637e06",null));e.default=gt.exports},HII9:function(t,e,a){window,t.exports=function(){return a={},t.m=e=[function(t,e,a){"use strict";var i,n,r,o,s,c,l,p,d;a.r(e),o=!(r=[]),s=null,d="function"==typeof(i={props:{embed:{type:Boolean,default:!1},paystackkey:{type:String,required:!0},email:{type:String,required:!0},firstname:{type:String,default:""},lastname:{type:String,default:""},amount:{type:Number,required:!0},reference:{type:String,required:!0},channels:{type:Array,default:function(){return["card","bank"]}},accessCode:{type:String,default:""},callback:{type:Function,required:!0,default:function(){}},close:{type:Function,required:!0,default:function(){}},metadata:{type:Object,default:function(){return{}}},currency:{type:String,default:"NGN"},plan:{type:String,default:""},quantity:{type:String,default:""},subaccount:{type:String,default:""},split:{type:Object,default:function(){return{}}},splitCode:{type:String,default:""},transactionCharge:{type:Number,default:0},bearer:{type:String,default:""}},data:function(){return{scriptLoaded:null}},created:function(){var t=this;this.scriptLoaded=new Promise((function(e){t.loadScript((function(){e()}))}))},mounted:function(){this.embed&&this.payWithPaystack()},methods:{loadScript:function(t){var e=document.createElement("script");e.src="https://js.paystack.co/v1/inline.js",document.getElementsByTagName("head")[0].appendChild(e),e.readyState?e.onreadystatechange=function(){"loaded"!==e.readyState&&"complete"!==e.readyState||(e.onreadystatechange=null,t())}:e.onload=function(){t()}},isDynamicSplit:function(){return this.split.constructor===Object&&0-1})).slice(0,3)),this.findResult(t)}},methods:{showByShortcut:function(t){["a","r","v"].includes(t.key)||t.preventDefault();var e=this.results.length+this.actions.length;Number.isInteger(parseInt(t.key))&&parseInt(t.key)0&&t0&&this.index--},setFilter:function(t){var e=this;this.activeFilter=t,this.results=[],this.query="",this.$nextTick((function(){return e.$refs.searchInput.focus()}))},undoFilter:function(){this.activeFilter&&""===this.query&&2!==this.backspaceHits&&this.backspaceHits++,2===this.backspaceHits&&this.removeFilter()},removeFilter:function(){this.activeFilter=void 0,this.backspaceHits=0}},created:function(){var t=this;u.a.$on("spotlight:show",(function(e){t.isVisible=!0,t.activeFilter=e,t.$nextTick((function(){return t.$refs.searchInput.focus()}))})),u.a.$on("spotlight:hide",(function(){return t.exitSpotlight()}))}},k=Object(s.a)(w,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"md:absolute fixed w-full h-full dark:bg-dark-foreground md:bg-transparent bg-white md:z-auto z-50",attrs:{tabindex:"-1"},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.exitSpotlight.apply(null,arguments)}}},[a("div",{staticClass:"relative w-full md:max-w-xl z-50 md:rounded-xl mx-auto 2xl:mt-20 md:mt-8 overflow-y-auto bg-white dark:bg-2x-dark-foreground"},[a("div",{staticClass:"z-50 flex items-center px-5 py-4 mx-auto"},[a("div",{staticClass:"relative mr-4"},[t.isLoading?a("div",{staticClass:"spinner-icon transform scale-50 origin-center translate-y-2.5"},[a("Spinner")],1):t._e(),t._v(" "),a("search-icon",{staticClass:"magnify dark-text-theme text-theme vue-feather",class:{"opacity-0":t.isLoading},attrs:{size:"22"}})],1),t._v(" "),t.activeFilter?a("div",{staticClass:"dark:bg-4x-dark-foreground bg-light-background rounded-lg px-2 py-1 mr-3 flex items-center cursor-pointer",on:{click:t.removeFilter}},[a("b",{staticClass:"font-bold pr-1.5 text-sm dark-text-theme"},[t._v("\n\t\t\t\t\t"+t._s(t.activeFilter)+"\n\t\t\t\t")]),t._v(" "),a("x-icon",{attrs:{size:"12"}})],1):t._e(),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchInput",staticClass:"w-full border-none text-xl font-semibold placeholder-gray-700 dark:placeholder-gray-400 bg-transparent focus:outline-none",attrs:{type:"text",placeholder:"Spotlight search..."},domProps:{value:t.query},on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?null:t.undoFilter.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.showSelected.apply(null,arguments)},function(e){return e.metaKey?t.showByShortcut.apply(null,arguments):null}],keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.onPageDown.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:t.onPageUp.apply(null,arguments)}],input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t.$isMobile()?t._e():a("div",{staticClass:"mr-2"},[a("span",{staticClass:"text-sm text-gray-400"},[t._v("esc")])]),t._v(" "),t.$isMobile()?a("div",{staticClass:"cursor-pointer",on:{click:t.exitSpotlight}},[a("x-icon",{staticClass:"close",attrs:{size:"22"}})],1):t._e()]),t._v(" "),t.isEmptyQuery&&!t.activeFilter?a("div",{staticClass:"relative z-50 px-4 pb-4"},[a("CategoryName",[t._v("\n\t\t\t\t"+t._s(t.$t("Suggested Filters"))+"\n\t\t\t")]),t._v(" "),t._l(t.filters,(function(e){return a("FilterSuggestion",{key:e.slug,attrs:{keyword:e.keyword,description:e.description},nativeOn:{click:function(a){return t.setFilter(e.slug)}}})}))],2):t._e(),t._v(" "),t.isNotEmptyQuery?a("div",{staticClass:"relative z-50 px-4 pb-4"},[0!==t.actions.length?a("CategoryName",[t._v("\n\t\t\t\t"+t._s(t.$t("Actions"))+"\n\t\t\t")]):t._e(),t._v(" "),0!==t.actions.length?a("div",{staticClass:"mb-2"},t._l(t.actions,(function(e,i){return a("div",{key:e.action.value,staticClass:"relative"},[a("div",{staticClass:"flex items-center px-3.5 py-2.5",class:{"dark:bg-4x-dark-foreground bg-light-background rounded-xl":i===t.index}},[["AppOthers","Profile","Password"].includes(e.action.value)?a("settings-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"AppPayments"===e.action.value?a("credit-card-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"Files"===e.action.value?a("home-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"Trash"===e.action.value?a("trash2-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),["CreateFixedPlan","CreateMeteredPlan"].includes(e.action.value)?a("database-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"UserCreate"===e.action.value?a("user-plus-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),["TeamFolders","Users"].includes(e.action.value)?a("users-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"SharedWithMe"===e.action.value?a("user-check-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"MySharedItems"===e.action.value?a("link-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"RecentUploads"===e.action.value?a("upload-cloud-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),["Invoices","Invoice"].includes(e.action.value)?a("file-text-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"Plans"===e.action.value?a("database-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),["Subscriptions","Billing"].includes(e.action.value)?a("dollar-sign-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"Language"===e.action.value?a("globe-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"Pages"===e.action.value?a("monitor-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"Dashboard"===e.action.value?a("box-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"Storage"===e.action.value?a("hard-drive-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"dark-mode"===e.action.value?a("moon-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"full-screen-mode"===e.action.value?a("maximize2-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"log-out"===e.action.value?a("power-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"empty-trash"===e.action.value?a("trash-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),"toggle-grid-list"===e.action.value?a("grid-icon",{staticClass:"vue-feather text-theme",attrs:{size:"18"}}):t._e(),t._v(" "),a("b",{staticClass:"font-bold text-sm ml-3.5"},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t")])],1),t._v(" "),t.$isMobile()?t._e():a("div",{staticClass:"absolute right-4 top-1/2 transform -translate-y-1/2"},[a("span",{staticClass:"text-xs text-gray-400"},[t._v(t._s(0===i?"↵":t.metaKeyIcon+i))])])])})),0):t._e(),t._v(" "),t.activeFilter||0===t.results.length?t._e():a("CategoryName",[t._v("\n\t\t\t\t"+t._s(t.$t("Files & Folders"))+"\n\t\t\t")]),t._v(" "),t._l(t.results,(function(e,i){return 0!==t.results.length?a("div",{key:e.data.id,staticClass:"relative"},["users"!==t.activeFilter||e.action?t._e():a("div",{staticClass:"flex items-center px-2.5 py-3.5",class:{"dark:bg-4x-dark-foreground bg-light-background rounded-xl":i+t.actions.length===t.index}},[a("MemberAvatar",{attrs:{"is-border":!1,size:44,member:e}}),t._v(" "),a("div",{staticClass:"ml-3"},[a("b",{staticClass:"text-sm font-bold block max-w-1 overflow-hidden overflow-ellipsis whitespace-nowrap",staticStyle:{"max-width":"155px"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.data.attributes.name)+"\n\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"block text-xs dark:text-gray-500 text-gray-600"},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.data.attributes.email)+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.activeFilter||e.action?t._e():a("ItemList",{class:{"dark:bg-4x-dark-foreground bg-light-background rounded-xl":i+t.actions.length===t.index},attrs:{entry:e,highlight:!1,"mobile-handler":!1},nativeOn:{click:function(a){return t.openItem(e)}}}),t._v(" "),t.$isMobile()?t._e():a("div",{staticClass:"absolute right-4 top-1/2 transform -translate-y-1/2"},[a("span",{staticClass:"text-xs text-gray-400"},[t._v(t._s(i+t.actions.length===0?"↵":t.metaKeyIcon+(i+t.actions.length)))])])],1):t._e()})),t._v(" "),0===t.results.length&&0===t.actions.length?a("span",{staticClass:"p-2.5 text-sm dark:text-gray-400 text-gray-700"},[t._v("\n\t\t\t\t"+t._s(t.$t("messages.nothing_was_found"))+"\n\t\t\t")]):t._e()],2):t._e(),t._v(" "),a("KeyboardHints")],1)]):t._e()}),[],!1,null,null,null);e.a=k.exports},"x7z+":function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".info-box[data-v-27ea1904]{padding:20px;border-radius:10px;margin-bottom:32px;background:#f4f5f6;text-align:left}.info-box.error[data-v-27ea1904]{background:rgba(253,57,122,.1)}.info-box.error a[data-v-27ea1904],.info-box.error p[data-v-27ea1904]{color:#fd397a}.info-box.error a[data-v-27ea1904]{text-decoration:underline}.info-box p[data-v-27ea1904]{line-height:1.6;word-break:break-word;font-weight:600}.info-box p[data-v-27ea1904],.info-box p[data-v-27ea1904] a{font-size:15px}.info-box p[data-v-27ea1904] b{font-size:15px;font-weight:700}.info-box a[data-v-27ea1904],.info-box b[data-v-27ea1904]{font-weight:700}.info-box a[data-v-27ea1904]{font-size:.9375em;line-height:1.6}.info-box ul[data-v-27ea1904]{margin-top:15px}.info-box ul[data-v-27ea1904],.info-box ul li[data-v-27ea1904],.info-box ul li a[data-v-27ea1904]{display:block}@media only screen and (max-width:690px){.info-box[data-v-27ea1904]{padding:15px}}.dark .info-box[data-v-27ea1904]{background:#1e2024}.dark .info-box.error[data-v-27ea1904]{background:rgba(253,57,122,.1)}.dark .info-box.error a[data-v-27ea1904],.dark .info-box.error p[data-v-27ea1904]{color:#fd397a}.dark .info-box.error a[data-v-27ea1904]{text-decoration:underline}.dark .info-box p[data-v-27ea1904],.dark .info-box ul li[data-v-27ea1904]{color:#bec6cf}",""])},xxrA:function(t,e,a){"use strict";var i={name:"SwitchInput",props:["label","name","state","info","input"],data:function(){return{isSwitched:void 0}},methods:{changeState:function(){this.isSwitched=!this.isSwitched,this.$emit("input",this.isSwitched)}},mounted:function(){this.isSwitched=this.state}},n=(a("Il6k"),a("KHd+")),r=Object(n.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-wrapper"},[a("div",{staticClass:"switch-content"},[t.label?a("label",{staticClass:"input-label"},[t._v("\n\t\t\t\t"+t._s(t.label)+":\n\t\t\t")]):t._e(),t._v(" "),t.info?a("small",{staticClass:"input-info"},[t._v("\n\t\t\t\t"+t._s(t.info)+"\n\t\t\t")]):t._e()]),t._v(" "),a("div",{staticClass:"switch-content text-right"},[a("div",{staticClass:"switch",class:{active:t.state},on:{click:t.changeState}},[a("div",{staticClass:"switch-button"})])])])}),[],!1,null,"6ecf530e",null);e.a=r.exports},"y+QG":function(t,e,a){var i=a("6bXj");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,n);i.locals&&(t.exports=i.locals)},y7j5:function(t,e,a){"use strict";a("yyp0")},y7vx:function(t,e,a){"use strict";a("qZv9")},yeQi:function(t,e,a){"use strict";a("6G8L")},yyp0:function(t,e,a){var i=a("vY6a");"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,n);i.locals&&(t.exports=i.locals)},zSrr:function(t,e,a){"use strict";a("K+Im")}}]);