Commons:User scripts/users namespace/reports/User:Jack who built the house/convenientDiscussions-i18n/sk.js

This is the report page for User:Jack who built the house/convenientDiscussions-i18n/sk.js. It is bot-maintained. All manual changes might be overwritten.

jshint edit

  1. ISSUE: line 3 character 27: ['sk'] is better written in dot notation. - Evidence: convenientDiscussions.i18n['sk'] = {
  2. ISSUE: line 375 character 691: Don't make functions within a loop. - Evidence: !function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=40)}({0:function(t,e,n){t.exports=function(){"use strict";var t=6e4,e=36e5,n="millisecond",r="second",i="minute",s="hour",u="day",o="week",a="month",c="quarter",f="year",d="date",h="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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,$={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("_")},_=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},M={s:_,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+_(r,2,"0")+":"+_(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,a),s=n-i<0,u=e.clone().add(r+(s?-1:1),a);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:a,y:f,w:o,d:u,D:d,h:s,m:i,s:r,ms:n,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",p={};p[y]=$;var v=function(t){return t instanceof Y},g=function(t,e,n){var r;if(!t)return y;if("string"==typeof t)p[t]&&(r=t),e&&(p[t]=e,r=t);else{var i=t.name;p[i]=t,r=i}return!n&&r&&(y=r),r||!n&&y},D=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new Y(n)},S=M;S.l=g,S.i=v,S.w=function(t,e){return D(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var Y=function(){function $(t){this.$L=g(t.locale,null,!0),this.parse(t)}var _=$.prototype;return _.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(S.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},_.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()},_.$utils=function(){return S},_.isValid=function(){return!(this.$d.toString()===h)},_.isSame=function(t,e){var n=D(t);return this.startOf(e)<=n&&n<=this.endOf(e)},_.isAfter=function(t,e){return D(t)<this.startOf(e)},_.isBefore=function(t,e){return this.endOf(e)<D(t)},_.$g=function(t,e,n){return S.u(t)?this[e]:this.set(n,t)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(t,e){var n=this,c=!!S.u(e)||e,h=S.p(t),l=function(t,e){var r=S.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return c?r:r.endOf(u)},m=function(t,e){return S.w(n.toDate()[t].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},$=this.$W,_=this.$M,M=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case f:return c?l(1,0):l(31,11);case a:return c?l(1,_):l(0,_+1);case o:var p=this.$locale().weekStart||0,v=($<p?$+7:$)-p;return l(c?M-v:M+(6-v),_);case u:case d:return m(y+"Hours",0);case s:return m(y+"Minutes",1);case i:return m(y+"Seconds",2);case r:return m(y+"Milliseconds",3);default:return this.clone()}},_.endOf=function(t){return this.startOf(t,!1)},_.$set=function(t,e){var o,c=S.p(t),h="set"+(this.$u?"UTC":""),l=(o={},o[u]=h+"Date",o[d]=h+"Date",o[a]=h+"Month",o[f]=h+"FullYear",o[s]=h+"Hours",o[i]=h+"Minutes",o[r]=h+"Seconds",o[n]=h+"Milliseconds",o)[c],m=c===u?this.$D+(e-this.$W):e;if(c===a||c===f){var $=this.clone().set(d,1);$.$d[l](m),$.init(),this.$d=$.set(d,Math.min(this.$D,$.daysInMonth())).$d}else l&&this.$d[l](m);return this.init(),this},_.set=function(t,e){return this.clone().$set(t,e)},_.get=function(t){return this[S.p(t)]()},_.add=function(n,c){var d,h=this;n=Number(n);var l=S.p(c),m=function(t){var e=D(h);return S.w(e.date(e.date()+Math.round(t*n)),h)};if(l===a)return this.set(a,this.$M+n);if(l===f)return this.set(f,this.$y+n);if(l===u)return m(1);if(l===o)return m(7);var $=(d={},d[i]=t,d[s]=e,d[r]=1e3,d)[l]||1,_=this.$d.getTime()+n*$;return S.w(_,this)},_.subtract=function(t,e){return this.add(-1*t,e)},_.format=function(t){var e=this;if(!this.isValid())return h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=S.z(this),i=this.$locale(),s=this.$H,u=this.$m,o=this.$M,a=i.weekdays,c=i.months,f=function(t,r,i,s){return t&&(t[r]||t(e,n))||i[r].substr(0,s)},d=function(t){return S.s(s%12||12,t,"0")},l=i.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:S.s(o+1,2,"0"),MMM:f(i.monthsShort,o,c,3),MMMM:f(c,o),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:f(i.weekdaysMin,this.$W,a,2),ddd:f(i.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(s),HH:S.s(s,2,"0"),h:d(1),hh:d(2),a:l(s,u,!0),A:l(s,u,!1),m:String(u),mm:S.s(u,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:r};return n.replace(m,(function(t,e){return e||$[t]||r.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(n,d,h){var l,m=S.p(d),$=D(n),_=($.utcOffset()-this.utcOffset())*t,M=this-$,y=S.m(this,$);return y=(l={},l[f]=y/12,l[a]=y,l[c]=y/3,l[o]=(M-_)/6048e5,l[u]=(M-_)/864e5,l[s]=M/e,l[i]=M/t,l[r]=M/1e3,l)[m]||M,h?y:S.a(y)},_.daysInMonth=function(){return this.endOf(a).$D},_.$locale=function(){return p[this.$L]},_.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=g(t,e,!0);return r&&(n.$L=r),n},_.clone=function(){return S.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},$}(),b=Y.prototype;return D.prototype=b,[["$ms",n],["$s",r],["$m",i],["$H",s],["$W",u],["$M",a],["$y",f],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),D.extend=function(t,e){return t.$i||(t(e,Y,D),t.$i=!0),D},D.locale=g,D.isDayjs=v,D.unix=function(t){return D(1e3*t)},D.en=p[y],D.Ls=p,D.p={},D}()},17:function(t,e,n){t.exports=function(t){"use strict";var e=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(t);function n(t){return t>1&&t<5&&1!=~~(t/10)}function r(t,e,r,i){var s=t+" ";switch(r){case"s":return e||i?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?s+(n(t)?"minúty":"minút"):s+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?s+(n(t)?"hodiny":"hodín"):s+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?s+(n(t)?"dni":"dní"):s+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?s+(n(t)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?s+(n(t)?"roky":"rokov"):s+"rokmi"}}var i={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(t){return t+"."},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",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return e.default.locale(i,null,!0),i}(n(0))},40:function(t,e,n){"use strict";n.r(e);var r=n(17),i=n.n(r);convenientDiscussions.i18n.sk.dayjsLocale=i.a}});
  3. ISSUE: line 375 character 1547: Missing 'new' prefix when invoking a constructor. - Evidence: !function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=40)}({0:function(t,e,n){t.exports=function(){"use strict";var t=6e4,e=36e5,n="millisecond",r="second",i="minute",s="hour",u="day",o="week",a="month",c="quarter",f="year",d="date",h="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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,$={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("_")},_=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},M={s:_,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+_(r,2,"0")+":"+_(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,a),s=n-i<0,u=e.clone().add(r+(s?-1:1),a);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:a,y:f,w:o,d:u,D:d,h:s,m:i,s:r,ms:n,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",p={};p[y]=$;var v=function(t){return t instanceof Y},g=function(t,e,n){var r;if(!t)return y;if("string"==typeof t)p[t]&&(r=t),e&&(p[t]=e,r=t);else{var i=t.name;p[i]=t,r=i}return!n&&r&&(y=r),r||!n&&y},D=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new Y(n)},S=M;S.l=g,S.i=v,S.w=function(t,e){return D(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var Y=function(){function $(t){this.$L=g(t.locale,null,!0),this.parse(t)}var _=$.prototype;return _.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(S.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},_.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()},_.$utils=function(){return S},_.isValid=function(){return!(this.$d.toString()===h)},_.isSame=function(t,e){var n=D(t);return this.startOf(e)<=n&&n<=this.endOf(e)},_.isAfter=function(t,e){return D(t)<this.startOf(e)},_.isBefore=function(t,e){return this.endOf(e)<D(t)},_.$g=function(t,e,n){return S.u(t)?this[e]:this.set(n,t)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(t,e){var n=this,c=!!S.u(e)||e,h=S.p(t),l=function(t,e){var r=S.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return c?r:r.endOf(u)},m=function(t,e){return S.w(n.toDate()[t].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},$=this.$W,_=this.$M,M=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case f:return c?l(1,0):l(31,11);case a:return c?l(1,_):l(0,_+1);case o:var p=this.$locale().weekStart||0,v=($<p?$+7:$)-p;return l(c?M-v:M+(6-v),_);case u:case d:return m(y+"Hours",0);case s:return m(y+"Minutes",1);case i:return m(y+"Seconds",2);case r:return m(y+"Milliseconds",3);default:return this.clone()}},_.endOf=function(t){return this.startOf(t,!1)},_.$set=function(t,e){var o,c=S.p(t),h="set"+(this.$u?"UTC":""),l=(o={},o[u]=h+"Date",o[d]=h+"Date",o[a]=h+"Month",o[f]=h+"FullYear",o[s]=h+"Hours",o[i]=h+"Minutes",o[r]=h+"Seconds",o[n]=h+"Milliseconds",o)[c],m=c===u?this.$D+(e-this.$W):e;if(c===a||c===f){var $=this.clone().set(d,1);$.$d[l](m),$.init(),this.$d=$.set(d,Math.min(this.$D,$.daysInMonth())).$d}else l&&this.$d[l](m);return this.init(),this},_.set=function(t,e){return this.clone().$set(t,e)},_.get=function(t){return this[S.p(t)]()},_.add=function(n,c){var d,h=this;n=Number(n);var l=S.p(c),m=function(t){var e=D(h);return S.w(e.date(e.date()+Math.round(t*n)),h)};if(l===a)return this.set(a,this.$M+n);if(l===f)return this.set(f,this.$y+n);if(l===u)return m(1);if(l===o)return m(7);var $=(d={},d[i]=t,d[s]=e,d[r]=1e3,d)[l]||1,_=this.$d.getTime()+n*$;return S.w(_,this)},_.subtract=function(t,e){return this.add(-1*t,e)},_.format=function(t){var e=this;if(!this.isValid())return h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=S.z(this),i=this.$locale(),s=this.$H,u=this.$m,o=this.$M,a=i.weekdays,c=i.months,f=function(t,r,i,s){return t&&(t[r]||t(e,n))||i[r].substr(0,s)},d=function(t){return S.s(s%12||12,t,"0")},l=i.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:S.s(o+1,2,"0"),MMM:f(i.monthsShort,o,c,3),MMMM:f(c,o),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:f(i.weekdaysMin,this.$W,a,2),ddd:f(i.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(s),HH:S.s(s,2,"0"),h:d(1),hh:d(2),a:l(s,u,!0),A:l(s,u,!1),m:String(u),mm:S.s(u,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:r};return n.replace(m,(function(t,e){return e||$[t]||r.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(n,d,h){var l,m=S.p(d),$=D(n),_=($.utcOffset()-this.utcOffset())*t,M=this-$,y=S.m(this,$);return y=(l={},l[f]=y/12,l[a]=y,l[c]=y/3,l[o]=(M-_)/6048e5,l[u]=(M-_)/864e5,l[s]=M/e,l[i]=M/t,l[r]=M/1e3,l)[m]||M,h?y:S.a(y)},_.daysInMonth=function(){return this.endOf(a).$D},_.$locale=function(){return p[this.$L]},_.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=g(t,e,!0);return r&&(n.$L=r),n},_.clone=function(){return S.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},$}(),b=Y.prototype;return D.prototype=b,[["$ms",n],["$s",r],["$m",i],["$H",s],["$W",u],["$M",a],["$y",f],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),D.extend=function(t,e){return t.$i||(t(e,Y,D),t.$i=!0),D},D.locale=g,D.isDayjs=v,D.unix=function(t){return D(1e3*t)},D.en=p[y],D.Ls=p,D.p={},D}()},17:function(t,e,n){t.exports=function(t){"use strict";var e=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(t);function n(t){return t>1&&t<5&&1!=~~(t/10)}function r(t,e,r,i){var s=t+" ";switch(r){case"s":return e||i?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?s+(n(t)?"minúty":"minút"):s+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?s+(n(t)?"hodiny":"hodín"):s+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?s+(n(t)?"dni":"dní"):s+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?s+(n(t)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?s+(n(t)?"roky":"rokov"):s+"rokmi"}}var i={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(t){return t+"."},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",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return e.default.locale(i,null,!0),i}(n(0))},40:function(t,e,n){"use strict";n.r(e);var r=n(17),i=n.n(r);convenientDiscussions.i18n.sk.dayjsLocale=i.a}});
  4. ISSUE: line 375 character 2739: Missing '()' invoking a constructor. - Evidence: !function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=40)}({0:function(t,e,n){t.exports=function(){"use strict";var t=6e4,e=36e5,n="millisecond",r="second",i="minute",s="hour",u="day",o="week",a="month",c="quarter",f="year",d="date",h="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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,$={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("_")},_=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},M={s:_,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+_(r,2,"0")+":"+_(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,a),s=n-i<0,u=e.clone().add(r+(s?-1:1),a);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:a,y:f,w:o,d:u,D:d,h:s,m:i,s:r,ms:n,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",p={};p[y]=$;var v=function(t){return t instanceof Y},g=function(t,e,n){var r;if(!t)return y;if("string"==typeof t)p[t]&&(r=t),e&&(p[t]=e,r=t);else{var i=t.name;p[i]=t,r=i}return!n&&r&&(y=r),r||!n&&y},D=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new Y(n)},S=M;S.l=g,S.i=v,S.w=function(t,e){return D(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var Y=function(){function $(t){this.$L=g(t.locale,null,!0),this.parse(t)}var _=$.prototype;return _.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(S.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},_.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()},_.$utils=function(){return S},_.isValid=function(){return!(this.$d.toString()===h)},_.isSame=function(t,e){var n=D(t);return this.startOf(e)<=n&&n<=this.endOf(e)},_.isAfter=function(t,e){return D(t)<this.startOf(e)},_.isBefore=function(t,e){return this.endOf(e)<D(t)},_.$g=function(t,e,n){return S.u(t)?this[e]:this.set(n,t)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(t,e){var n=this,c=!!S.u(e)||e,h=S.p(t),l=function(t,e){var r=S.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return c?r:r.endOf(u)},m=function(t,e){return S.w(n.toDate()[t].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},$=this.$W,_=this.$M,M=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case f:return c?l(1,0):l(31,11);case a:return c?l(1,_):l(0,_+1);case o:var p=this.$locale().weekStart||0,v=($<p?$+7:$)-p;return l(c?M-v:M+(6-v),_);case u:case d:return m(y+"Hours",0);case s:return m(y+"Minutes",1);case i:return m(y+"Seconds",2);case r:return m(y+"Milliseconds",3);default:return this.clone()}},_.endOf=function(t){return this.startOf(t,!1)},_.$set=function(t,e){var o,c=S.p(t),h="set"+(this.$u?"UTC":""),l=(o={},o[u]=h+"Date",o[d]=h+"Date",o[a]=h+"Month",o[f]=h+"FullYear",o[s]=h+"Hours",o[i]=h+"Minutes",o[r]=h+"Seconds",o[n]=h+"Milliseconds",o)[c],m=c===u?this.$D+(e-this.$W):e;if(c===a||c===f){var $=this.clone().set(d,1);$.$d[l](m),$.init(),this.$d=$.set(d,Math.min(this.$D,$.daysInMonth())).$d}else l&&this.$d[l](m);return this.init(),this},_.set=function(t,e){return this.clone().$set(t,e)},_.get=function(t){return this[S.p(t)]()},_.add=function(n,c){var d,h=this;n=Number(n);var l=S.p(c),m=function(t){var e=D(h);return S.w(e.date(e.date()+Math.round(t*n)),h)};if(l===a)return this.set(a,this.$M+n);if(l===f)return this.set(f,this.$y+n);if(l===u)return m(1);if(l===o)return m(7);var $=(d={},d[i]=t,d[s]=e,d[r]=1e3,d)[l]||1,_=this.$d.getTime()+n*$;return S.w(_,this)},_.subtract=function(t,e){return this.add(-1*t,e)},_.format=function(t){var e=this;if(!this.isValid())return h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=S.z(this),i=this.$locale(),s=this.$H,u=this.$m,o=this.$M,a=i.weekdays,c=i.months,f=function(t,r,i,s){return t&&(t[r]||t(e,n))||i[r].substr(0,s)},d=function(t){return S.s(s%12||12,t,"0")},l=i.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:S.s(o+1,2,"0"),MMM:f(i.monthsShort,o,c,3),MMMM:f(c,o),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:f(i.weekdaysMin,this.$W,a,2),ddd:f(i.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(s),HH:S.s(s,2,"0"),h:d(1),hh:d(2),a:l(s,u,!0),A:l(s,u,!1),m:String(u),mm:S.s(u,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:r};return n.replace(m,(function(t,e){return e||$[t]||r.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(n,d,h){var l,m=S.p(d),$=D(n),_=($.utcOffset()-this.utcOffset())*t,M=this-$,y=S.m(this,$);return y=(l={},l[f]=y/12,l[a]=y,l[c]=y/3,l[o]=(M-_)/6048e5,l[u]=(M-_)/864e5,l[s]=M/e,l[i]=M/t,l[r]=M/1e3,l)[m]||M,h?y:S.a(y)},_.daysInMonth=function(){return this.endOf(a).$D},_.$locale=function(){return p[this.$L]},_.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=g(t,e,!0);return r&&(n.$L=r),n},_.clone=function(){return S.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},$}(),b=Y.prototype;return D.prototype=b,[["$ms",n],["$s",r],["$m",i],["$H",s],["$W",u],["$M",a],["$y",f],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),D.extend=function(t,e){return t.$i||(t(e,Y,D),t.$i=!0),D},D.locale=g,D.isDayjs=v,D.unix=function(t){return D(1e3*t)},D.en=p[y],D.Ls=p,D.p={},D}()},17:function(t,e,n){t.exports=function(t){"use strict";var e=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(t);function n(t){return t>1&&t<5&&1!=~~(t/10)}function r(t,e,r,i){var s=t+" ";switch(r){case"s":return e||i?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?s+(n(t)?"minúty":"minút"):s+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?s+(n(t)?"hodiny":"hodín"):s+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?s+(n(t)?"dni":"dní"):s+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?s+(n(t)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?s+(n(t)?"roky":"rokov"):s+"rokmi"}}var i={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(t){return t+"."},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",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return e.default.locale(i,null,!0),i}(n(0))},40:function(t,e,n){"use strict";n.r(e);var r=n(17),i=n.n(r);convenientDiscussions.i18n.sk.dayjsLocale=i.a}});
  5. ISSUE: line 375 character 3335: Confusing use of '!'. - Evidence: !function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=40)}({0:function(t,e,n){t.exports=function(){"use strict";var t=6e4,e=36e5,n="millisecond",r="second",i="minute",s="hour",u="day",o="week",a="month",c="quarter",f="year",d="date",h="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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,$={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("_")},_=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},M={s:_,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+_(r,2,"0")+":"+_(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,a),s=n-i<0,u=e.clone().add(r+(s?-1:1),a);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:a,y:f,w:o,d:u,D:d,h:s,m:i,s:r,ms:n,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",p={};p[y]=$;var v=function(t){return t instanceof Y},g=function(t,e,n){var r;if(!t)return y;if("string"==typeof t)p[t]&&(r=t),e&&(p[t]=e,r=t);else{var i=t.name;p[i]=t,r=i}return!n&&r&&(y=r),r||!n&&y},D=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new Y(n)},S=M;S.l=g,S.i=v,S.w=function(t,e){return D(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var Y=function(){function $(t){this.$L=g(t.locale,null,!0),this.parse(t)}var _=$.prototype;return _.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(S.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},_.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()},_.$utils=function(){return S},_.isValid=function(){return!(this.$d.toString()===h)},_.isSame=function(t,e){var n=D(t);return this.startOf(e)<=n&&n<=this.endOf(e)},_.isAfter=function(t,e){return D(t)<this.startOf(e)},_.isBefore=function(t,e){return this.endOf(e)<D(t)},_.$g=function(t,e,n){return S.u(t)?this[e]:this.set(n,t)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(t,e){var n=this,c=!!S.u(e)||e,h=S.p(t),l=function(t,e){var r=S.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return c?r:r.endOf(u)},m=function(t,e){return S.w(n.toDate()[t].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},$=this.$W,_=this.$M,M=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case f:return c?l(1,0):l(31,11);case a:return c?l(1,_):l(0,_+1);case o:var p=this.$locale().weekStart||0,v=($<p?$+7:$)-p;return l(c?M-v:M+(6-v),_);case u:case d:return m(y+"Hours",0);case s:return m(y+"Minutes",1);case i:return m(y+"Seconds",2);case r:return m(y+"Milliseconds",3);default:return this.clone()}},_.endOf=function(t){return this.startOf(t,!1)},_.$set=function(t,e){var o,c=S.p(t),h="set"+(this.$u?"UTC":""),l=(o={},o[u]=h+"Date",o[d]=h+"Date",o[a]=h+"Month",o[f]=h+"FullYear",o[s]=h+"Hours",o[i]=h+"Minutes",o[r]=h+"Seconds",o[n]=h+"Milliseconds",o)[c],m=c===u?this.$D+(e-this.$W):e;if(c===a||c===f){var $=this.clone().set(d,1);$.$d[l](m),$.init(),this.$d=$.set(d,Math.min(this.$D,$.daysInMonth())).$d}else l&&this.$d[l](m);return this.init(),this},_.set=function(t,e){return this.clone().$set(t,e)},_.get=function(t){return this[S.p(t)]()},_.add=function(n,c){var d,h=this;n=Number(n);var l=S.p(c),m=function(t){var e=D(h);return S.w(e.date(e.date()+Math.round(t*n)),h)};if(l===a)return this.set(a,this.$M+n);if(l===f)return this.set(f,this.$y+n);if(l===u)return m(1);if(l===o)return m(7);var $=(d={},d[i]=t,d[s]=e,d[r]=1e3,d)[l]||1,_=this.$d.getTime()+n*$;return S.w(_,this)},_.subtract=function(t,e){return this.add(-1*t,e)},_.format=function(t){var e=this;if(!this.isValid())return h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=S.z(this),i=this.$locale(),s=this.$H,u=this.$m,o=this.$M,a=i.weekdays,c=i.months,f=function(t,r,i,s){return t&&(t[r]||t(e,n))||i[r].substr(0,s)},d=function(t){return S.s(s%12||12,t,"0")},l=i.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:S.s(o+1,2,"0"),MMM:f(i.monthsShort,o,c,3),MMMM:f(c,o),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:f(i.weekdaysMin,this.$W,a,2),ddd:f(i.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(s),HH:S.s(s,2,"0"),h:d(1),hh:d(2),a:l(s,u,!0),A:l(s,u,!1),m:String(u),mm:S.s(u,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:r};return n.replace(m,(function(t,e){return e||$[t]||r.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(n,d,h){var l,m=S.p(d),$=D(n),_=($.utcOffset()-this.utcOffset())*t,M=this-$,y=S.m(this,$);return y=(l={},l[f]=y/12,l[a]=y,l[c]=y/3,l[o]=(M-_)/6048e5,l[u]=(M-_)/864e5,l[s]=M/e,l[i]=M/t,l[r]=M/1e3,l)[m]||M,h?y:S.a(y)},_.daysInMonth=function(){return this.endOf(a).$D},_.$locale=function(){return p[this.$L]},_.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=g(t,e,!0);return r&&(n.$L=r),n},_.clone=function(){return S.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},$}(),b=Y.prototype;return D.prototype=b,[["$ms",n],["$s",r],["$m",i],["$H",s],["$W",u],["$M",a],["$y",f],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),D.extend=function(t,e){return t.$i||(t(e,Y,D),t.$i=!0),D},D.locale=g,D.isDayjs=v,D.unix=function(t){return D(1e3*t)},D.en=p[y],D.Ls=p,D.p={},D}()},17:function(t,e,n){t.exports=function(t){"use strict";var e=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(t);function n(t){return t>1&&t<5&&1!=~~(t/10)}function r(t,e,r,i){var s=t+" ";switch(r){case"s":return e||i?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?s+(n(t)?"minúty":"minút"):s+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?s+(n(t)?"hodiny":"hodín"):s+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?s+(n(t)?"dni":"dní"):s+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?s+(n(t)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?s+(n(t)?"roky":"rokov"):s+"rokmi"}}var i={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(t){return t+"."},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",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return e.default.locale(i,null,!0),i}(n(0))},40:function(t,e,n){"use strict";n.r(e);var r=n(17),i=n.n(r);convenientDiscussions.i18n.sk.dayjsLocale=i.a}});
  6. ISSUE: line 375 character 7407: 'r' is already defined. - Evidence: !function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=40)}({0:function(t,e,n){t.exports=function(){"use strict";var t=6e4,e=36e5,n="millisecond",r="second",i="minute",s="hour",u="day",o="week",a="month",c="quarter",f="year",d="date",h="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|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,$={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("_")},_=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},M={s:_,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+_(r,2,"0")+":"+_(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,a),s=n-i<0,u=e.clone().add(r+(s?-1:1),a);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:a,y:f,w:o,d:u,D:d,h:s,m:i,s:r,ms:n,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",p={};p[y]=$;var v=function(t){return t instanceof Y},g=function(t,e,n){var r;if(!t)return y;if("string"==typeof t)p[t]&&(r=t),e&&(p[t]=e,r=t);else{var i=t.name;p[i]=t,r=i}return!n&&r&&(y=r),r||!n&&y},D=function(t,e){if(v(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new Y(n)},S=M;S.l=g,S.i=v,S.w=function(t,e){return D(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var Y=function(){function $(t){this.$L=g(t.locale,null,!0),this.parse(t)}var _=$.prototype;return _.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(S.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},_.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()},_.$utils=function(){return S},_.isValid=function(){return!(this.$d.toString()===h)},_.isSame=function(t,e){var n=D(t);return this.startOf(e)<=n&&n<=this.endOf(e)},_.isAfter=function(t,e){return D(t)<this.startOf(e)},_.isBefore=function(t,e){return this.endOf(e)<D(t)},_.$g=function(t,e,n){return S.u(t)?this[e]:this.set(n,t)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(t,e){var n=this,c=!!S.u(e)||e,h=S.p(t),l=function(t,e){var r=S.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return c?r:r.endOf(u)},m=function(t,e){return S.w(n.toDate()[t].apply(n.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},$=this.$W,_=this.$M,M=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case f:return c?l(1,0):l(31,11);case a:return c?l(1,_):l(0,_+1);case o:var p=this.$locale().weekStart||0,v=($<p?$+7:$)-p;return l(c?M-v:M+(6-v),_);case u:case d:return m(y+"Hours",0);case s:return m(y+"Minutes",1);case i:return m(y+"Seconds",2);case r:return m(y+"Milliseconds",3);default:return this.clone()}},_.endOf=function(t){return this.startOf(t,!1)},_.$set=function(t,e){var o,c=S.p(t),h="set"+(this.$u?"UTC":""),l=(o={},o[u]=h+"Date",o[d]=h+"Date",o[a]=h+"Month",o[f]=h+"FullYear",o[s]=h+"Hours",o[i]=h+"Minutes",o[r]=h+"Seconds",o[n]=h+"Milliseconds",o)[c],m=c===u?this.$D+(e-this.$W):e;if(c===a||c===f){var $=this.clone().set(d,1);$.$d[l](m),$.init(),this.$d=$.set(d,Math.min(this.$D,$.daysInMonth())).$d}else l&&this.$d[l](m);return this.init(),this},_.set=function(t,e){return this.clone().$set(t,e)},_.get=function(t){return this[S.p(t)]()},_.add=function(n,c){var d,h=this;n=Number(n);var l=S.p(c),m=function(t){var e=D(h);return S.w(e.date(e.date()+Math.round(t*n)),h)};if(l===a)return this.set(a,this.$M+n);if(l===f)return this.set(f,this.$y+n);if(l===u)return m(1);if(l===o)return m(7);var $=(d={},d[i]=t,d[s]=e,d[r]=1e3,d)[l]||1,_=this.$d.getTime()+n*$;return S.w(_,this)},_.subtract=function(t,e){return this.add(-1*t,e)},_.format=function(t){var e=this;if(!this.isValid())return h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=S.z(this),i=this.$locale(),s=this.$H,u=this.$m,o=this.$M,a=i.weekdays,c=i.months,f=function(t,r,i,s){return t&&(t[r]||t(e,n))||i[r].substr(0,s)},d=function(t){return S.s(s%12||12,t,"0")},l=i.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},$={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:S.s(o+1,2,"0"),MMM:f(i.monthsShort,o,c,3),MMMM:f(c,o),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:f(i.weekdaysMin,this.$W,a,2),ddd:f(i.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(s),HH:S.s(s,2,"0"),h:d(1),hh:d(2),a:l(s,u,!0),A:l(s,u,!1),m:String(u),mm:S.s(u,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:r};return n.replace(m,(function(t,e){return e||$[t]||r.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(n,d,h){var l,m=S.p(d),$=D(n),_=($.utcOffset()-this.utcOffset())*t,M=this-$,y=S.m(this,$);return y=(l={},l[f]=y/12,l[a]=y,l[c]=y/3,l[o]=(M-_)/6048e5,l[u]=(M-_)/864e5,l[s]=M/e,l[i]=M/t,l[r]=M/1e3,l)[m]||M,h?y:S.a(y)},_.daysInMonth=function(){return this.endOf(a).$D},_.$locale=function(){return p[this.$L]},_.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=g(t,e,!0);return r&&(n.$L=r),n},_.clone=function(){return S.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},$}(),b=Y.prototype;return D.prototype=b,[["$ms",n],["$s",r],["$m",i],["$H",s],["$W",u],["$M",a],["$y",f],["$D",d]].forEach((function(t){b[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),D.extend=function(t,e){return t.$i||(t(e,Y,D),t.$i=!0),D},D.locale=g,D.isDayjs=v,D.unix=function(t){return D(1e3*t)},D.en=p[y],D.Ls=p,D.p={},D}()},17:function(t,e,n){t.exports=function(t){"use strict";var e=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(t);function n(t){return t>1&&t<5&&1!=~~(t/10)}function r(t,e,r,i){var s=t+" ";switch(r){case"s":return e||i?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?s+(n(t)?"minúty":"minút"):s+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?s+(n(t)?"hodiny":"hodín"):s+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?s+(n(t)?"dni":"dní"):s+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?s+(n(t)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?s+(n(t)?"roky":"rokov"):s+"rokmi"}}var i={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(t){return t+"."},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",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return e.default.locale(i,null,!0),i}(n(0))},40:function(t,e,n){"use strict";n.r(e);var r=n(17),i=n.n(r);convenientDiscussions.i18n.sk.dayjsLocale=i.a}});
  7. ISSUE: line 378 character 691: Don't make functions within a loop. - Evidence: !function(t){var e={};function u(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.m=t,u.c=e,u.d=function(t,e,r){u.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},u.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)u.d(r,n,function(e){return t[e]}.bind(null,n));return r},u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="",u(u.s=16)}({16:function(t,e,u){"use strict";function r(t,e,u){var r=function(t,e){return 1===e?t.one:e>=2&&e<=4?t.twoFour:t.other}(t,e);return(r[u]||r).replace("{{count}}",e)}function n(t){var e="";return"almost"===t&&(e="takmer"),"about"===t&&(e="približne"),e.length>0?e+" ":""}function o(t){var e="";return"lessThan"===t&&(e="menej než"),"over"===t&&(e="viac než"),e.length>0?e+" ":""}u.r(e);var a={xSeconds:{one:{regular:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{regular:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{regular:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{regular:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{regular:"minúta",past:"minútou",future:"minútu"},twoFour:{regular:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{regular:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{regular:"hodina",past:"hodinou",future:"hodinu"},twoFour:{regular:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{regular:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{regular:"deň",past:"dňom",future:"deň"},twoFour:{regular:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{regular:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xWeeks:{one:{regular:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{regular:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{regular:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xMonths:{one:{regular:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{regular:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{regular:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{regular:"rok",past:"rokom",future:"rok"},twoFour:{regular:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{regular:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}};var c={code:"sk",formatDistance:function(t,e,u){u=u||{};var c,i=function(t){return["lessThan","about","over","almost"].filter((function(e){return!!t.match(new RegExp("^"+e))}))[0]}(t)||"",s=(c=t.substring(i.length)).charAt(0).toLowerCase()+c.slice(1),l=a[s];return u.addSuffix?u.comparison>0?n(i)+"o "+o(i)+r(l,e,"future"):n(i)+"pred "+o(i)+r(l,e,"past"):n(i)+o(i)+r(l,e,"regular")}};convenientDiscussions.i18n.sk.dateFnsLocale=c}});
  8. ISSUE: line 378 character 969: 'r' is already defined. - Evidence: !function(t){var e={};function u(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,u),n.l=!0,n.exports}u.m=t,u.c=e,u.d=function(t,e,r){u.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},u.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)u.d(r,n,function(e){return t[e]}.bind(null,n));return r},u.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return u.d(e,"a",e),e},u.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},u.p="",u(u.s=16)}({16:function(t,e,u){"use strict";function r(t,e,u){var r=function(t,e){return 1===e?t.one:e>=2&&e<=4?t.twoFour:t.other}(t,e);return(r[u]||r).replace("{{count}}",e)}function n(t){var e="";return"almost"===t&&(e="takmer"),"about"===t&&(e="približne"),e.length>0?e+" ":""}function o(t){var e="";return"lessThan"===t&&(e="menej než"),"over"===t&&(e="viac než"),e.length>0?e+" ":""}u.r(e);var a={xSeconds:{one:{regular:"sekunda",past:"sekundou",future:"sekundu"},twoFour:{regular:"{{count}} sekundy",past:"{{count}} sekundami",future:"{{count}} sekundy"},other:{regular:"{{count}} sekúnd",past:"{{count}} sekundami",future:"{{count}} sekúnd"}},halfAMinute:{other:{regular:"pol minúty",past:"pol minútou",future:"pol minúty"}},xMinutes:{one:{regular:"minúta",past:"minútou",future:"minútu"},twoFour:{regular:"{{count}} minúty",past:"{{count}} minútami",future:"{{count}} minúty"},other:{regular:"{{count}} minút",past:"{{count}} minútami",future:"{{count}} minút"}},xHours:{one:{regular:"hodina",past:"hodinou",future:"hodinu"},twoFour:{regular:"{{count}} hodiny",past:"{{count}} hodinami",future:"{{count}} hodiny"},other:{regular:"{{count}} hodín",past:"{{count}} hodinami",future:"{{count}} hodín"}},xDays:{one:{regular:"deň",past:"dňom",future:"deň"},twoFour:{regular:"{{count}} dni",past:"{{count}} dňami",future:"{{count}} dni"},other:{regular:"{{count}} dní",past:"{{count}} dňami",future:"{{count}} dní"}},xWeeks:{one:{regular:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{regular:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{regular:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xMonths:{one:{regular:"mesiac",past:"mesiacom",future:"mesiac"},twoFour:{regular:"{{count}} mesiace",past:"{{count}} mesiacmi",future:"{{count}} mesiace"},other:{regular:"{{count}} mesiacov",past:"{{count}} mesiacmi",future:"{{count}} mesiacov"}},xYears:{one:{regular:"rok",past:"rokom",future:"rok"},twoFour:{regular:"{{count}} roky",past:"{{count}} rokmi",future:"{{count}} roky"},other:{regular:"{{count}} rokov",past:"{{count}} rokmi",future:"{{count}} rokov"}}};var c={code:"sk",formatDistance:function(t,e,u){u=u||{};var c,i=function(t){return["lessThan","about","over","almost"].filter((function(e){return!!t.match(new RegExp("^"+e))}))[0]}(t)||"",s=(c=t.substring(i.length)).charAt(0).toLowerCase()+c.slice(1),l=a[s];return u.addSuffix?u.comparison>0?n(i)+"o "+o(i)+r(l,e,"future"):n(i)+"pred "+o(i)+r(l,e,"past"):n(i)+o(i)+r(l,e,"regular")}};convenientDiscussions.i18n.sk.dateFnsLocale=c}});