prlg-ui 1.8.132 → 1.8.134

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/FileIcon-BE4ItwkK.cjs +1 -0
  2. package/dist/FileIcon-maHE2Nhr.js +101 -0
  3. package/dist/Image-BHDBSn7B.cjs +1 -0
  4. package/dist/Image-CAGIshx9.js +259 -0
  5. package/dist/QuestionIcon-DptFSXX2.cjs +1 -0
  6. package/dist/QuestionIcon-tK1kUB_h.js +340 -0
  7. package/dist/SendIcon-CH6S0QWh.cjs +1 -0
  8. package/dist/SendIcon-Cqdt2QWN.js +88 -0
  9. package/dist/blocks/index.cjs.js +1 -0
  10. package/dist/blocks/index.es.js +186 -0
  11. package/dist/blocks.d.ts +35 -0
  12. package/dist/eventBus.util-K9Yq6hZm.cjs +1 -0
  13. package/dist/eventBus.util-msbJpg6N.js +75 -0
  14. package/dist/fonts/Roboto/Roboto-Black.woff +0 -0
  15. package/dist/fonts/Roboto/Roboto-Black.woff2 +0 -0
  16. package/dist/fonts/Roboto/Roboto-Bold.woff +0 -0
  17. package/dist/fonts/Roboto/Roboto-Bold.woff2 +0 -0
  18. package/dist/fonts/Roboto/Roboto-ExtraBold.woff +0 -0
  19. package/dist/fonts/Roboto/Roboto-ExtraBold.woff2 +0 -0
  20. package/dist/fonts/Roboto/Roboto-ExtraLight.woff +0 -0
  21. package/dist/fonts/Roboto/Roboto-ExtraLight.woff2 +0 -0
  22. package/dist/fonts/Roboto/Roboto-Light.woff +0 -0
  23. package/dist/fonts/Roboto/Roboto-Light.woff2 +0 -0
  24. package/dist/fonts/Roboto/Roboto-Medium.woff +0 -0
  25. package/dist/fonts/Roboto/Roboto-Medium.woff2 +0 -0
  26. package/dist/fonts/Roboto/Roboto-Regular.woff +0 -0
  27. package/dist/fonts/Roboto/Roboto-Regular.woff2 +0 -0
  28. package/dist/fonts/Roboto/Roboto-SemiBold.woff +0 -0
  29. package/dist/fonts/Roboto/Roboto-SemiBold.woff2 +0 -0
  30. package/dist/fonts/Roboto/Roboto-Thin.woff +0 -0
  31. package/dist/fonts/Roboto/Roboto-Thin.woff2 +0 -0
  32. package/dist/icons/index.cjs.js +1 -0
  33. package/dist/icons/index.es.js +1487 -0
  34. package/dist/icons.d.ts +220 -0
  35. package/dist/index.d.ts +2096 -0
  36. package/dist/parseFileSize.util-Bg1rLRLQ.cjs +1 -0
  37. package/dist/parseFileSize.util-CxVk4CvB.js +785 -0
  38. package/dist/prlg-ui.cjs.js +1 -0
  39. package/dist/prlg-ui.css +1 -0
  40. package/dist/prlg-ui.es.js +6228 -0
  41. package/dist/scss/animations.scss +30 -0
  42. package/dist/scss/colors.scss +135 -0
  43. package/dist/scss/fonts.scss +3 -0
  44. package/dist/scss/main.scss +36 -0
  45. package/dist/scss/mixins.scss +177 -0
  46. package/dist/scss/reset.scss +51 -0
  47. package/dist/scss/root-vars.scss +12 -0
  48. package/dist/types/index.cjs.js +1 -0
  49. package/dist/types/index.es.js +1 -0
  50. package/dist/types.d.ts +14 -0
  51. package/dist/uploadFile.util-DCFkx3w3.cjs +1 -0
  52. package/dist/uploadFile.util-DhavPrlY.js +37 -0
  53. package/dist/utils/date.util.ts +30 -0
  54. package/dist/utils/dayjs.util.ts +32 -0
  55. package/dist/utils/eventBus.util.ts +43 -0
  56. package/dist/utils/index.cjs.js +1 -0
  57. package/dist/utils/index.es.js +1891 -0
  58. package/dist/utils/index.ts +3 -0
  59. package/dist/utils/isClient.util.ts +3 -0
  60. package/dist/utils/mask.util.test.ts +170 -0
  61. package/dist/utils/mask.util.ts +217 -0
  62. package/dist/utils/onClickOutside.util.ts +78 -0
  63. package/dist/utils/parseDate.util.ts +41 -0
  64. package/dist/utils/parseFileSize.util.ts +38 -0
  65. package/dist/utils/price.util.ts +28 -0
  66. package/dist/utils/typeFile.util.ts +32 -0
  67. package/dist/utils/uploadFile.util.ts +94 -0
  68. package/dist/utils/useBodyScroll.util.ts +41 -0
  69. package/dist/utils.d.ts +141 -0
  70. package/dist/vite.svg +1 -0
  71. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ "use strict";const Ot=require("vue"),tt=new WeakMap;function Lt(v){const C=Ot.unref(v);return C?.$el??C}function bt(v){return typeof v=="string"?document.querySelector(v):Lt(v)}function kt(v,C,M={}){const s=bt(v);if(!s)return()=>{};const S=tt.get(s);S&&(S(),tt.delete(s));const $=w=>{const T=w.target instanceof Node?w.target:null;if(!T)return;const d=(Ot.toValue(M.ignore)??[]).map(_=>typeof _=="string"?document.querySelector(_):Lt(_)).filter(_=>_!=null);s.contains(T)||d.some(_=>_.contains(T))||C(w)};document.addEventListener("mousedown",$,{capture:!0}),document.addEventListener("touchstart",$,{capture:!0});const Y=()=>{document.removeEventListener("mousedown",$,{capture:!0}),document.removeEventListener("touchstart",$,{capture:!0}),tt.delete(s)};return tt.set(s,Y),Y}function W(v){return v&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v}var et={exports:{}},At=et.exports,$t;function Tt(){return $t||($t=1,(function(v,C){(function(M,s){v.exports=s()})(At,(function(){var M=1e3,s=6e4,S=36e5,$="millisecond",Y="second",w="minute",T="hour",y="day",d="week",_="month",F="quarter",B="year",x="date",A="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,O={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var r=["th","st","nd","rd"],t=i%100;return"["+i+(r[(t-20)%10]||r[t]||r[0])+"]"}},L=function(i,r,t){var a=String(i);return!a||a.length>=r?i:""+Array(r+1-a.length).join(t)+i},j={s:L,z:function(i){var r=-i.utcOffset(),t=Math.abs(r),a=Math.floor(t/60),n=t%60;return(r<=0?"+":"-")+L(a,2,"0")+":"+L(n,2,"0")},m:function i(r,t){if(r.date()<t.date())return-i(t,r);var a=12*(t.year()-r.year())+(t.month()-r.month()),n=r.clone().add(a,_),h=t-n<0,l=r.clone().add(a+(h?-1:1),_);return+(-(a+(t-n)/(h?n-l:l-n))||0)},a:function(i){return i<0?Math.ceil(i)||0:Math.floor(i)},p:function(i){return{M:_,y:B,w:d,d:y,D:x,h:T,m:w,s:Y,ms:$,Q:F}[i]||String(i||"").toLowerCase().replace(/s$/,"")},u:function(i){return i===void 0}},H="en",m={};m[H]=O;var o="$isDayjsObject",e=function(i){return i instanceof b||!(!i||!i[o])},D=function i(r,t,a){var n;if(!r)return H;if(typeof r=="string"){var h=r.toLowerCase();m[h]&&(n=h),t&&(m[h]=t,n=h);var l=r.split("-");if(!n&&l.length>1)return i(l[0])}else{var g=r.name;m[g]=r,n=g}return!a&&n&&(H=n),n||!a&&H},p=function(i,r){if(e(i))return i.clone();var t=typeof r=="object"?r:{};return t.date=i,t.args=arguments,new b(t)},u=j;u.l=D,u.i=e,u.w=function(i,r){return p(i,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var b=(function(){function i(t){this.$L=D(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[o]=!0}var r=i.prototype;return r.parse=function(t){this.$d=(function(a){var n=a.date,h=a.utc;if(n===null)return new Date(NaN);if(u.u(n))return new Date;if(n instanceof Date)return new Date(n);if(typeof n=="string"&&!/Z$/i.test(n)){var l=n.match(c);if(l){var g=l[2]-1||0,q=(l[7]||"0").substring(0,3);return h?new Date(Date.UTC(l[1],g,l[3]||1,l[4]||0,l[5]||0,l[6]||0,q)):new Date(l[1],g,l[3]||1,l[4]||0,l[5]||0,l[6]||0,q)}}return new Date(n)})(t),this.init()},r.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},r.$utils=function(){return u},r.isValid=function(){return this.$d.toString()!==A},r.isSame=function(t,a){var n=p(t);return this.startOf(a)<=n&&n<=this.endOf(a)},r.isAfter=function(t,a){return p(t)<this.startOf(a)},r.isBefore=function(t,a){return this.endOf(a)<p(t)},r.$g=function(t,a,n){return u.u(t)?this[a]:this.set(n,t)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(t,a){var n=this,h=!!u.u(a)||a,l=u.p(t),g=function(Z,I){var R=u.w(n.$u?Date.UTC(n.$y,I,Z):new Date(n.$y,I,Z),n);return h?R:R.endOf(y)},q=function(Z,I){return u.w(n.toDate()[Z].apply(n.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(I)),n)},E=this.$W,z=this.$M,P=this.$D,V="set"+(this.$u?"UTC":"");switch(l){case B:return h?g(1,0):g(31,11);case _:return h?g(1,z):g(0,z+1);case d:var U=this.$locale().weekStart||0,X=(E<U?E+7:E)-U;return g(h?P-X:P+(6-X),z);case y:case x:return q(V+"Hours",0);case T:return q(V+"Minutes",1);case w:return q(V+"Seconds",2);case Y:return q(V+"Milliseconds",3);default:return this.clone()}},r.endOf=function(t){return this.startOf(t,!1)},r.$set=function(t,a){var n,h=u.p(t),l="set"+(this.$u?"UTC":""),g=(n={},n[y]=l+"Date",n[x]=l+"Date",n[_]=l+"Month",n[B]=l+"FullYear",n[T]=l+"Hours",n[w]=l+"Minutes",n[Y]=l+"Seconds",n[$]=l+"Milliseconds",n)[h],q=h===y?this.$D+(a-this.$W):a;if(h===_||h===B){var E=this.clone().set(x,1);E.$d[g](q),E.init(),this.$d=E.set(x,Math.min(this.$D,E.daysInMonth())).$d}else g&&this.$d[g](q);return this.init(),this},r.set=function(t,a){return this.clone().$set(t,a)},r.get=function(t){return this[u.p(t)]()},r.add=function(t,a){var n,h=this;t=Number(t);var l=u.p(a),g=function(z){var P=p(h);return u.w(P.date(P.date()+Math.round(z*t)),h)};if(l===_)return this.set(_,this.$M+t);if(l===B)return this.set(B,this.$y+t);if(l===y)return g(1);if(l===d)return g(7);var q=(n={},n[w]=s,n[T]=S,n[Y]=M,n)[l]||1,E=this.$d.getTime()+t*q;return u.w(E,this)},r.subtract=function(t,a){return this.add(-1*t,a)},r.format=function(t){var a=this,n=this.$locale();if(!this.isValid())return n.invalidDate||A;var h=t||"YYYY-MM-DDTHH:mm:ssZ",l=u.z(this),g=this.$H,q=this.$m,E=this.$M,z=n.weekdays,P=n.months,V=n.meridiem,U=function(I,R,J,Q){return I&&(I[R]||I(a,h))||J[R].slice(0,Q)},X=function(I){return u.s(g%12||12,I,"0")},Z=V||function(I,R,J){var Q=I<12?"AM":"PM";return J?Q.toLowerCase():Q};return h.replace(f,(function(I,R){return R||(function(J){switch(J){case"YY":return String(a.$y).slice(-2);case"YYYY":return u.s(a.$y,4,"0");case"M":return E+1;case"MM":return u.s(E+1,2,"0");case"MMM":return U(n.monthsShort,E,P,3);case"MMMM":return U(P,E);case"D":return a.$D;case"DD":return u.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return U(n.weekdaysMin,a.$W,z,2);case"ddd":return U(n.weekdaysShort,a.$W,z,3);case"dddd":return z[a.$W];case"H":return String(g);case"HH":return u.s(g,2,"0");case"h":return X(1);case"hh":return X(2);case"a":return Z(g,q,!0);case"A":return Z(g,q,!1);case"m":return String(q);case"mm":return u.s(q,2,"0");case"s":return String(a.$s);case"ss":return u.s(a.$s,2,"0");case"SSS":return u.s(a.$ms,3,"0");case"Z":return l}return null})(I)||l.replace(":","")}))},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(t,a,n){var h,l=this,g=u.p(a),q=p(t),E=(q.utcOffset()-this.utcOffset())*s,z=this-q,P=function(){return u.m(l,q)};switch(g){case B:h=P()/12;break;case _:h=P();break;case F:h=P()/3;break;case d:h=(z-E)/6048e5;break;case y:h=(z-E)/864e5;break;case T:h=z/S;break;case w:h=z/s;break;case Y:h=z/M;break;default:h=z}return n?h:u.a(h)},r.daysInMonth=function(){return this.endOf(_).$D},r.$locale=function(){return m[this.$L]},r.locale=function(t,a){if(!t)return this.$L;var n=this.clone(),h=D(t,a,!0);return h&&(n.$L=h),n},r.clone=function(){return u.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},i})(),k=b.prototype;return p.prototype=k,[["$ms",$],["$s",Y],["$m",w],["$H",T],["$W",y],["$M",_],["$y",B],["$D",x]].forEach((function(i){k[i[1]]=function(r){return this.$g(r,i[0],i[1])}})),p.extend=function(i,r){return i.$i||(i(r,b,p),i.$i=!0),p},p.locale=D,p.isDayjs=e,p.unix=function(i){return p(1e3*i)},p.en=m[H],p.Ls=m,p.p={},p}))})(et)),et.exports}var Ht=Tt();const N=W(Ht);var rt={exports:{}},Ft=rt.exports,vt;function qt(){return vt||(vt=1,(function(v,C){(function(M,s){v.exports=s()})(Ft,(function(){var M={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(s,S,$){var Y=S.prototype,w=Y.format;$.en.formats=M,Y.format=function(T){T===void 0&&(T="YYYY-MM-DDTHH:mm:ssZ");var y=this.$locale().formats,d=(function(_,F){return _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(B,x,A){var c=A&&A.toUpperCase();return x||F[A]||M[A]||F[c].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(f,O,L){return O||L.slice(1)}))}))})(T,y===void 0?{}:y);return w.call(this,d)}}}))})(rt)),rt.exports}var Bt=qt();const Et=W(Bt);var nt={exports:{}},Ct=nt.exports,Mt;function jt(){return Mt||(Mt=1,(function(v,C){(function(M,s){v.exports=s()})(Ct,(function(){return function(M,s,S){M=M||{};var $=s.prototype,Y={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function w(y,d,_,F){return $.fromToBase(y,d,_,F)}S.en.relativeTime=Y,$.fromToBase=function(y,d,_,F,B){for(var x,A,c,f=_.$locale().relativeTime||Y,O=M.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],L=O.length,j=0;j<L;j+=1){var H=O[j];H.d&&(x=F?S(y).diff(_,H.d,!0):_.diff(y,H.d,!0));var m=(M.rounding||Math.round)(Math.abs(x));if(c=x>0,m<=H.r||!H.r){m<=1&&j>0&&(H=O[j-1]);var o=f[H.l];B&&(m=B(""+m)),A=typeof o=="string"?o.replace("%d",m):o(m,d,H.l,c);break}}if(d)return A;var e=c?f.future:f.past;return typeof e=="function"?e(A):e.replace("%s",A)},$.to=function(y,d){return w(y,d,this,!0)},$.from=function(y,d){return w(y,d,this)};var T=function(y){return y.$u?S.utc():S()};$.toNow=function(y){return this.to(T(this),y)},$.fromNow=function(y){return this.from(T(this),y)}}}))})(nt)),nt.exports}var zt=jt();const It=W(zt);var st={exports:{}},Pt=st.exports,yt;function Rt(){return yt||(yt=1,(function(v,C){(function(M,s){v.exports=s()})(Pt,(function(){return function(M,s,S){s.prototype.isToday=function(){var $="YYYY-MM-DD",Y=S();return this.format($)===Y.format($)}}}))})(st)),st.exports}var Nt=Rt();const Zt=W(Nt);var it={exports:{}},Wt=it.exports,Yt;function Ut(){return Yt||(Yt=1,(function(v,C){(function(M,s){v.exports=s()})(Wt,(function(){return function(M,s,S){s.prototype.isBetween=function($,Y,w,T){var y=S($),d=S(Y),_=(T=T||"()")[0]==="(",F=T[1]===")";return(_?this.isAfter(y,w):!this.isBefore(y,w))&&(F?this.isBefore(d,w):!this.isAfter(d,w))||(_?this.isBefore(y,w):!this.isAfter(y,w))&&(F?this.isAfter(d,w):!this.isBefore(d,w))}}}))})(it)),it.exports}var Jt=Ut();const Vt=W(Jt);var ot={exports:{}},Qt=ot.exports,xt;function Xt(){return xt||(xt=1,(function(v,C){(function(M,s){v.exports=s()})(Qt,(function(){return function(M,s){s.prototype.isSameOrBefore=function(S,$){return this.isSame(S,$)||this.isBefore(S,$)}}}))})(ot)),ot.exports}var Gt=Xt();const Kt=W(Gt);var at={exports:{}},te=at.exports,_t;function ee(){return _t||(_t=1,(function(v,C){(function(M,s){v.exports=s()})(te,(function(){return function(M,s){s.prototype.isSameOrAfter=function(S,$){return this.isSame(S,$)||this.isAfter(S,$)}}}))})(at)),at.exports}var re=ee();const ne=W(re);var ut={exports:{}},se=ut.exports,Dt;function ie(){return Dt||(Dt=1,(function(v,C){(function(M,s){v.exports=s()})(se,(function(){var M,s,S=1e3,$=6e4,Y=36e5,w=864e5,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y=31536e6,d=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,F={years:y,months:d,days:w,hours:Y,minutes:$,seconds:S,milliseconds:1,weeks:6048e5},B=function(m){return m instanceof j},x=function(m,o,e){return new j(m,e,o.$l)},A=function(m){return s.p(m)+"s"},c=function(m){return m<0},f=function(m){return c(m)?Math.ceil(m):Math.floor(m)},O=function(m){return Math.abs(m)},L=function(m,o){return m?c(m)?{negative:!0,format:""+O(m)+o}:{negative:!1,format:""+m+o}:{negative:!1,format:""}},j=(function(){function m(e,D,p){var u=this;if(this.$d={},this.$l=p,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),D)return x(e*F[A(D)],this);if(typeof e=="number")return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e=="object")return Object.keys(e).forEach((function(i){u.$d[A(i)]=e[i]})),this.calMilliseconds(),this;if(typeof e=="string"){var b=e.match(_);if(b){var k=b.slice(2).map((function(i){return i!=null?Number(i):0}));return this.$d.years=k[0],this.$d.months=k[1],this.$d.weeks=k[2],this.$d.days=k[3],this.$d.hours=k[4],this.$d.minutes=k[5],this.$d.seconds=k[6],this.calMilliseconds(),this}}return this}var o=m.prototype;return o.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(D,p){return D+(e.$d[p]||0)*F[p]}),0)},o.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=f(e/y),e%=y,this.$d.months=f(e/d),e%=d,this.$d.days=f(e/w),e%=w,this.$d.hours=f(e/Y),e%=Y,this.$d.minutes=f(e/$),e%=$,this.$d.seconds=f(e/S),e%=S,this.$d.milliseconds=e},o.toISOString=function(){var e=L(this.$d.years,"Y"),D=L(this.$d.months,"M"),p=+this.$d.days||0;this.$d.weeks&&(p+=7*this.$d.weeks);var u=L(p,"D"),b=L(this.$d.hours,"H"),k=L(this.$d.minutes,"M"),i=this.$d.seconds||0;this.$d.milliseconds&&(i+=this.$d.milliseconds/1e3,i=Math.round(1e3*i)/1e3);var r=L(i,"S"),t=e.negative||D.negative||u.negative||b.negative||k.negative||r.negative,a=b.format||k.format||r.format?"T":"",n=(t?"-":"")+"P"+e.format+D.format+u.format+a+b.format+k.format+r.format;return n==="P"||n==="-P"?"P0D":n},o.toJSON=function(){return this.toISOString()},o.format=function(e){var D=e||"YYYY-MM-DDTHH:mm:ss",p={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return D.replace(T,(function(u,b){return b||String(p[u])}))},o.as=function(e){return this.$ms/F[A(e)]},o.get=function(e){var D=this.$ms,p=A(e);return p==="milliseconds"?D%=1e3:D=p==="weeks"?f(D/F[p]):this.$d[p],D||0},o.add=function(e,D,p){var u;return u=D?e*F[A(D)]:B(e)?e.$ms:x(e,this).$ms,x(this.$ms+u*(p?-1:1),this)},o.subtract=function(e,D){return this.add(e,D,!0)},o.locale=function(e){var D=this.clone();return D.$l=e,D},o.clone=function(){return x(this.$ms,this)},o.humanize=function(e){return M().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},o.valueOf=function(){return this.asMilliseconds()},o.milliseconds=function(){return this.get("milliseconds")},o.asMilliseconds=function(){return this.as("milliseconds")},o.seconds=function(){return this.get("seconds")},o.asSeconds=function(){return this.as("seconds")},o.minutes=function(){return this.get("minutes")},o.asMinutes=function(){return this.as("minutes")},o.hours=function(){return this.get("hours")},o.asHours=function(){return this.as("hours")},o.days=function(){return this.get("days")},o.asDays=function(){return this.as("days")},o.weeks=function(){return this.get("weeks")},o.asWeeks=function(){return this.as("weeks")},o.months=function(){return this.get("months")},o.asMonths=function(){return this.as("months")},o.years=function(){return this.get("years")},o.asYears=function(){return this.as("years")},m})(),H=function(m,o,e){return m.add(o.years()*e,"y").add(o.months()*e,"M").add(o.days()*e,"d").add(o.hours()*e,"h").add(o.minutes()*e,"m").add(o.seconds()*e,"s").add(o.milliseconds()*e,"ms")};return function(m,o,e){M=e,s=e().$utils(),e.duration=function(u,b){var k=e.locale();return x(u,{$l:k},b)},e.isDuration=B;var D=o.prototype.add,p=o.prototype.subtract;o.prototype.add=function(u,b){return B(u)?H(this,u,1):D.bind(this)(u,b)},o.prototype.subtract=function(u,b){return B(u)?H(this,u,-1):p.bind(this)(u,b)}}}))})(ut)),ut.exports}var oe=ie();const ae=W(oe);var ct={exports:{}},ue=ct.exports,gt;function ce(){return gt||(gt=1,(function(v,C){(function(M,s){v.exports=s()})(ue,(function(){var M={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},s=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,S=/\d/,$=/\d\d/,Y=/\d\d?/,w=/\d*[^-_:/,()\s\d]+/,T={},y=function(c){return(c=+c)+(c>68?1900:2e3)},d=function(c){return function(f){this[c]=+f}},_=[/[+-]\d\d:?(\d\d)?|Z/,function(c){(this.zone||(this.zone={})).offset=(function(f){if(!f||f==="Z")return 0;var O=f.match(/([+-]|\d\d)/g),L=60*O[1]+(+O[2]||0);return L===0?0:O[0]==="+"?-L:L})(c)}],F=function(c){var f=T[c];return f&&(f.indexOf?f:f.s.concat(f.f))},B=function(c,f){var O,L=T.meridiem;if(L){for(var j=1;j<=24;j+=1)if(c.indexOf(L(j,0,f))>-1){O=j>12;break}}else O=c===(f?"pm":"PM");return O},x={A:[w,function(c){this.afternoon=B(c,!1)}],a:[w,function(c){this.afternoon=B(c,!0)}],Q:[S,function(c){this.month=3*(c-1)+1}],S:[S,function(c){this.milliseconds=100*+c}],SS:[$,function(c){this.milliseconds=10*+c}],SSS:[/\d{3}/,function(c){this.milliseconds=+c}],s:[Y,d("seconds")],ss:[Y,d("seconds")],m:[Y,d("minutes")],mm:[Y,d("minutes")],H:[Y,d("hours")],h:[Y,d("hours")],HH:[Y,d("hours")],hh:[Y,d("hours")],D:[Y,d("day")],DD:[$,d("day")],Do:[w,function(c){var f=T.ordinal,O=c.match(/\d+/);if(this.day=O[0],f)for(var L=1;L<=31;L+=1)f(L).replace(/\[|\]/g,"")===c&&(this.day=L)}],w:[Y,d("week")],ww:[$,d("week")],M:[Y,d("month")],MM:[$,d("month")],MMM:[w,function(c){var f=F("months"),O=(F("monthsShort")||f.map((function(L){return L.slice(0,3)}))).indexOf(c)+1;if(O<1)throw new Error;this.month=O%12||O}],MMMM:[w,function(c){var f=F("months").indexOf(c)+1;if(f<1)throw new Error;this.month=f%12||f}],Y:[/[+-]?\d+/,d("year")],YY:[$,function(c){this.year=y(c)}],YYYY:[/\d{4}/,d("year")],Z:_,ZZ:_};function A(c){var f,O;f=c,O=T&&T.formats;for(var L=(c=f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(p,u,b){var k=b&&b.toUpperCase();return u||O[b]||M[b]||O[k].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(i,r,t){return r||t.slice(1)}))}))).match(s),j=L.length,H=0;H<j;H+=1){var m=L[H],o=x[m],e=o&&o[0],D=o&&o[1];L[H]=D?{regex:e,parser:D}:m.replace(/^\[|\]$/g,"")}return function(p){for(var u={},b=0,k=0;b<j;b+=1){var i=L[b];if(typeof i=="string")k+=i.length;else{var r=i.regex,t=i.parser,a=p.slice(k),n=r.exec(a)[0];t.call(u,n),p=p.replace(n,"")}}return(function(h){var l=h.afternoon;if(l!==void 0){var g=h.hours;l?g<12&&(h.hours+=12):g===12&&(h.hours=0),delete h.afternoon}})(u),u}}return function(c,f,O){O.p.customParseFormat=!0,c&&c.parseTwoDigitYear&&(y=c.parseTwoDigitYear);var L=f.prototype,j=L.parse;L.parse=function(H){var m=H.date,o=H.utc,e=H.args;this.$u=o;var D=e[1];if(typeof D=="string"){var p=e[2]===!0,u=e[3]===!0,b=p||u,k=e[2];u&&(k=e[2]),T=this.$locale(),!p&&k&&(T=O.Ls[k]),this.$d=(function(a,n,h,l){try{if(["x","X"].indexOf(n)>-1)return new Date((n==="X"?1e3:1)*a);var g=A(n)(a),q=g.year,E=g.month,z=g.day,P=g.hours,V=g.minutes,U=g.seconds,X=g.milliseconds,Z=g.zone,I=g.week,R=new Date,J=z||(q||E?1:R.getDate()),Q=q||R.getFullYear(),G=0;q&&!E||(G=E>0?E-1:R.getMonth());var K,ht=P||0,lt=V||0,mt=U||0,pt=X||0;return Z?new Date(Date.UTC(Q,G,J,ht,lt,mt,pt+60*Z.offset*1e3)):h?new Date(Date.UTC(Q,G,J,ht,lt,mt,pt)):(K=new Date(Q,G,J,ht,lt,mt,pt),I&&(K=l(K).week(I).toDate()),K)}catch{return new Date("")}})(m,D,o,O),this.init(),k&&k!==!0&&(this.$L=this.locale(k).$L),b&&m!=this.format(D)&&(this.$d=new Date("")),T={}}else if(D instanceof Array)for(var i=D.length,r=1;r<=i;r+=1){e[1]=D[r-1];var t=O.apply(this,e);if(t.isValid()){this.$d=t.$d,this.$L=t.$L,this.init();break}r===i&&(this.$d=new Date(""))}else j.call(this,H)}}}))})(ct)),ct.exports}var fe=ce();const de=W(fe);var ft={exports:{}},he=ft.exports,St;function le(){return St||(St=1,(function(v,C){(function(M,s){v.exports=s()})(he,(function(){return function(M,s,S){s.prototype.dayOfYear=function($){var Y=Math.round((S(this).startOf("day")-S(this).startOf("year"))/864e5)+1;return $==null?Y:this.add($-Y,"day")}}}))})(ft)),ft.exports}var me=le();const pe=W(me);var dt={exports:{}},$e=dt.exports,wt;function ve(){return wt||(wt=1,(function(v,C){(function(M,s){v.exports=s(Tt())})($e,(function(M){function s(x){return x&&typeof x=="object"&&"default"in x?x:{default:x}}var S=s(M),$="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),Y="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),w="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),T="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),y=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(x,A,c){var f,O;return c==="m"?A?"минута":"минуту":x+" "+(f=+x,O={mm:A?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[c].split("_"),f%10==1&&f%100!=11?O[0]:f%10>=2&&f%10<=4&&(f%100<10||f%100>=20)?O[1]:O[2])}var _=function(x,A){return y.test(A)?$[x.month()]:Y[x.month()]};_.s=Y,_.f=$;var F=function(x,A){return y.test(A)?w[x.month()]:T[x.month()]};F.s=T,F.f=w;var B={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:_,monthsShort:F,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:d,mm:d,h:"час",hh:d,d:"день",dd:d,M:"месяц",MM:d,y:"год",yy:d},ordinal:function(x){return x},meridiem:function(x){return x<4?"ночи":x<12?"утра":x<17?"дня":"вечера"}};return S.default.locale(B,null,!0),B}))})(dt)),dt.exports}ve();N.extend(Et);N.extend(It);N.extend(Zt);N.extend(Vt);N.extend(Kt);N.extend(ne);N.extend(ae);N.extend(de);N.extend(pe);N.locale("ru");const Me=v=>{const C=["b","kb","mb","gb","tb"],M=v.match(/[a-zA-Z]+/)?.[0]||"b",s=parseFloat(v.replace(M,"")),S=C.indexOf(M.toLowerCase());return s*Math.pow(1024,S)};function ye(v){if(isNaN(v)||v<0)return"0 Б";const C=["Б","КБ","МБ","ГБ","ТБ"];let M=0,s=v;for(;s>=1024&&M<C.length-1;)s=s/1024,M++;return`${s%1===0?s:s.toFixed(0)} ${C[M]}`}exports.dayjs=N;exports.formatFileSize=ye;exports.onClickOutside=kt;exports.parseFileSize=Me;