"use strict";(self["webpackChunklinshare_ui_upload_request"]=self["webpackChunklinshare_ui_upload_request"]||[]).push([[912],{3912:function(t,e,r){r.r(e),r.d(e,{default:function(){return f}});var n=function(){var t=this,e=t._self._c;return e("div",[e("theHeader"),e("div",{staticClass:"error-page"},[e("div",[e("h1",{staticClass:"error-page__big-title"},[t._v(" "+t._s(t.statusCode)+" ")]),e("h3",{staticClass:"error-page__sub-title"},[t._v(" "+t._s(t.message)+" ")])])]),e("theFooter"),e("AppAlert")],1)},u=[],s=r(4993),i=r(4518),a=r(7848),o={name:"TheError",components:{theHeader:i.A,theFooter:a.A},computed:{statusCode(){return(0,s.mD)(Number(this.$route.params.status))&&Number(this.$route.params.status)||""},message(){return(0,s.jS)(this.statusCode)}}},c=o,l=r(1656),_=(0,l.A)(c,n,u,!1,null,"0a445b2c",null),f=_.exports},4993:function(t,e,r){r.d(e,{J2:function(){return n.J2},z3:function(){return n.z3},jS:function(){return n.jS},ex:function(){return n.ex},YY:function(){return s},gx:function(){return i},mD:function(){return o},gg:function(){return a}});var n=r(8873),u=(r(4423),r(7248));function s(t){return/^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9])(?=.{12,})/.test(t)}function i(t){return!!t}function a(t,{usedSpace:e,maxFileCount:r,maxFileSize:s,maxDepositSize:i,currentFiles:a}){if(r>0&&a.length+t.length>r)return u.R.t("MESSAGE.ERROR_MAX_FILE_COUNT_EXCEEDED",{length:r});let o=0;for(let c=0;c<t.length;c++)if(o+=t[c].size,s>0&&t[c].size>s)return u.R.t("MESSAGE.ERROR_FILE_SIZE_EXCEEDED",{size:(0,n.z3)(s)});return i>0&&o+e>i?u.R.t("MESSAGE.ERROR_NOT_ENOUGH_SPACE"):void 0}function o(t){return[400,401,403,404,500].includes(t)}}}]);
//# sourceMappingURL=912.26a23ec2.js.map