(e)
| 14 | */ |
| 15 | |
| 16 | (()=>{var Kn=Object.defineProperty;var Zo=(e,r)=>{for(var l in r)Kn(e,l,{get:r[l],enumerable:!0})};var Qn=e=>!isNaN(e),ve="YYYY-MM-DDTHH:mm:ss.sss",$o="Invalid date",Mn=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|m{1,2}|s{1,3}/g,$n=/(%[a-z])/gi,tl="%Y-%m-%dT%H:%M:%S.%Q%t",el={months:"January February March April May June July August September October November December".split(" "),monthsShort:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),weekdaysShort:"Sun Mon Tue Wed Thu Fri Sat".split(" "),weekdaysMin:"Su Mo Tu We Th Fr Sa".split(" "),weekStart:0},Jo={ms:"Milliseconds",s:"Seconds",m:"Minutes",h:"Hours",D:"Date",d:"Day",M:"Month",Y:"FullYear",y:"Year",t:"Time"},U={ms:"ms",s:"second",m:"minute",h:"hour",D:"day",W:"week",d:"weekDay",M:"month",Y:"year",Y2:"year2",t:"time",c:"century",q:"quarter"},oo=(e="")=>{throw new Error("This argument is required!")},Ko=(e,r=!0)=>{try{return r?typeof e<"u":typeof e<"u"&&e!==null}catch{return!1}},ie=e=>typeof e>"u"||e===null,st=function(e,r,l){let t=""+e;return l&&t.length>=l?t:Array(l+1-t.length).join(r)+t},ol=class{constructor(){this.formatters=new Map,this.preprocessors=[],this.postprocessors=[]}registerFormatter(e,r){this.formatters.has(e)&&console.warn(`Formatter "${e}" is already registered. Overriding.`),this.formatters.set(e,r)}unregisterFormatter(e){this.formatters.delete(e)}addPreprocessor(e){this.preprocessors.push(e)}addPostprocessor(e){this.postprocessors.push(e)}processFormat(e,r,l){let t=r||ve;for(let o of this.preprocessors)t=o(e,t,l)||t;for(let[o,a]of this.formatters)try{t=a(e,t,l)||t}catch(i){console.error(`Error in formatter "${o}":`,i)}for(let o of this.postprocessors)t=o(e,t,l)||t;return t}getRegisteredFormatters(){return Array.from(this.formatters.keys())}clear(){this.formatters.clear(),this.preprocessors.length=0,this.postprocessors.length=0}},tr=new ol,rl=class{constructor(){this.alignStrategies=new Map,this.alignEndStrategies=new Map,this.isInitialized=!1}registerAlignStrategy(e,r){this.alignStrategies.has(e)&&console.warn(`Align strategy "${e}" is already registered. Overriding.`),this.alignStrategies.set(e,r)}registerAlignEndStrategy(e,r){this.alignEndStrategies.has(e)&&console.warn(`AlignEnd strategy "${e}" is already registered. Overriding.`),this.alignEndStrategies.set(e,r)}executeAlign(e,r){return this.alignStrategies.has(r)?this.alignStrategies.get(r)(e):this.defaultAlign(e,r)}executeAlignEnd(e,r){return this.alignEndStrategies.has(r)?this.alignEndStrategies.get(r)(e):this.defaultAlignEnd(e,r)}defaultAlign(e,r){let l=e.clone?e.clone():e,t,o;switch(r){case U.ms:case"ms":t=l;break;case U.s:case"s":case"second":t=l.ms(0);break;case U.m:case"m":case"minute":t=this.executeAlign(l,"s").second(0);break;case U.h:case"h":case"hour":t=this.executeAlign(l,"m").minute(0);break;case U.D:case"D":case"day":t=this.executeAlign(l,"h").hour(0);break;case U.M:case"M":case"month":t=this.executeAlign(l,"D").day(1);break;case U.Y:case"Y":case"year":t=this.executeAlign(l,"M").month(0);break;case U.W:case"W":case"week":o=l.weekDay(),t=this.executeAlign(l,"D").addDay(-o);break;default:t=l}return t}defaultAlignEnd(e,r){let l=e.clone?e.clone():e,t,o;switch(r){case U.ms:case"ms":t=l;break;case U.s:case"s":case"second":t=l.ms(999);break;case U.m:case"m":case"minute":t=this.executeAlignEnd(l,"s").second(59);break;case U.h:case"h":case"hour":t=this.executeAlignEnd(l,"m").minute(59);break;case U.D:case"D":case"day":t=this.executeAlignEnd(l,"h").hour(23);break;case U.M:case"M":case"month":t=this.executeAlignEnd(l,"D").day(1).add(1,"M").add(-1,"D");break;case U.Y:case"Y":case"year":t=this.executeAlignEnd(l,"D").month(11).day(31);break;case U.W:case"W":case"week":o=l.weekDay(),t=this.executeAlignEnd(l,"D").addDay(6-o);break;default:t=l}return t}initializeBuiltInStrategies(){if(this.isInitialized)return;let e=[[U.ms,"ms"],[U.s,"s","second"],[U.m,"m","minute"],[U.h,"h","hour"],[U.D,"D","day"],[U.M,"M","month"],[U.Y,"Y","year"],[U.W,"W","week"]];for(let r of e){let l=r[0];for(let t of r)this.alignStrategies.set(t,o=>this.defaultAlign(o,l)),this.alignEndStrategies.set(t,o=>this.defaultAlignEnd(o,l))}this.isInitialized=!0}getRegisteredAlignStrategies(){return Array.from(this.alignStrategies.keys())}getRegisteredAlignEndStrategies(){return Array.from(this.alignEndStrategies.keys())}unregisterAlignStrategy(e){this.alignStrategies.delete(e)}unregisterAlignEndStrategy(e){this.alignEndStrategies.delete(e)}clear(){this.alignStrategies.clear(),this.alignEndStrategies.clear(),this.isInitialized=!1}},Ne=new rl,al={months:"\u0421\u0456\u0447\u0435\u043D\u044C_\u041B\u044E\u0442\u0438\u0439_\u0411\u0435\u0440\u0435\u0437\u0435\u043D\u044C_\u041A\u0432\u0456\u0442\u0435\u043D\u044C_\u0422\u0440\u0430\u0432\u0435\u043D\u044C_\u0427\u0435\u0440\u0432\u0435\u043D\u044C_\u041B\u0438\u043F\u0435\u043D\u044C_\u0421\u0435\u0440\u043F\u0435\u043D\u044C_\u0412\u0435\u0440\u0435\u0441\u0435\u043D\u044C_\u0416\u043E\u0432\u0442\u0435\u043D\u044C_\u041B\u0438\u0441\u0442\u043E\u043F\u0430\u0434_\u0413\u0440\u0443\u0434\u0435\u043D\u044C".split("_"),monthsParental:"\u0421\u0456\u0447\u043D\u044F_\u041B\u044E\u0442\u043E\u0433\u043E_\u0411\u0435\u0440\u0435\u0437\u0435\u043D\u044F_\u041A\u0432\u0456\u0442\u043D\u044F_\u0422\u0440\u0430\u0432\u043D\u044F_\u0427\u0435\u0440\u0432\u043D\u044F_\u041B\u0438\u043F\u043D\u044F_\u0421\u0435\u0440\u043F\u043D\u044F_\u0412\u0435\u0440\u0435\u0441\u043D\u044F_\u0416\u043E\u0432\u0442\u043D\u044F_\u041B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430_\u0413\u0440\u0443\u0434\u043D\u044F".split("_"),monthsShort:"\u0421\u0456\u0447_\u041B\u044E\u0442_\u0411\u0435\u0440_\u041A\u0432\u0456_\u0422\u0440\u0430_\u0427\u0435\u0440_\u041B\u0438\u043F_\u0421\u0435\u0440_\u0412\u0435\u0440_\u0416\u043E\u0432_\u041B\u0438\u0441_\u0413\u0440\u0443".split("_"),weekdays:"\u041D\u0435\u0434\u0456\u043B\u044F_\u041F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A_\u0412\u0456\u0432\u0442\u043E\u0440\u043E\u043A_\u0421\u0435\u0440\u0435\u0434\u0430_\u0427\u0435\u0442\u0432\u0435\u0440_\u041F'\u044F\u0442\u043D\u0438\u0446\u044F_\u0421\u0443\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u041D\u0435\u0434_\u041F\u043E\u043D_\u0412\u0456\u0432_\u0421\u0435\u0440_\u0427\u0435\u0442_\u041F\u0442\u043D_\u0421\u0443\u0431".split("_"),weekdaysMin:"\u041D\u0434_\u041F\u043D_\u0412\u0442_\u0421\u0440_\u0427\u0442_\u041F\u0442_\u0421\u0431".split("_"),weekStart:1},il={months:"Januar_Februar_M\xE4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan_Feb_M\xE4r_Apr_Mai_Jun_Jul_Aug_Sep_Okt_Nov_Dez".split("_"),weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"Son_Mon_Die_Mit_Don_Fre_Sam".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekStart:1},nl=function(e,r){let l=e||ve,t=D.getLocale(r||this.locale),o=this.year(),a=this.year2(),i=this.month(),s=this.day(),c=this.weekDay(),p=this.hour(),d=this.minute(),m=this.second(),h=this.ms(),u={YY:a,YYYY:o,M:i+1,MM:st(i+1,0,2),MMM:t.monthsShort[i],MMMM:t.months[i],D:s,DD:st(s,0,2),d:c,dd:t.weekdaysMin[c],ddd:t.weekdaysShort[c],dddd:t.weekdays[c],H:p,HH:st(p,0,2),m:d,mm:st(d,0,2),s:m,ss:st(m,0,2),sss:st(h,0,3)};return l.replace(Mn,(f,b)=>b||u[f])},D=class wt{constructor(){let r=[].slice.call(arguments);if(this.value=new(Function.prototype.bind.apply(Date,[this].concat(r))),this.locale="en",this.weekStart=wt.locales.en.weekStart,this.utcMode=!1,this.mutable=!0,!Qn(this.value.getTime()))throw new Error($o)}static locales={en:el,ua:al,de:il};static isDatetime(r){return r instanceof wt}static now(r=!1){return q()[r?"val":"time"]()}static parse(r=oo()){return q(Date.parse(r))}static setLocale(r=oo(),l=oo()){wt.locales[r]=l}static getLocale(r="en"){return Ko(wt.locales[r],!1)?wt.locales[r]:wt.locales.en}static align(r,l){let t=q(r);return Ne.executeAlign(t,l)}static alignEnd(r,l){let t=q(r);return Ne.executeAlignEnd(t,l)}immutable(r){return this.mutable=!(ie(r)||r),this}utc(){return this.utcMode||(this.utcMode=!0),this}local(){return this.utcMode&&(this.utcMode=!1),this}useLocale(r,l){return this.locale=l||Ko(wt.locales[r],!1)?r:"en",this.weekStart=wt.getLocale(this.locale).weekStart,this}clone(){let r=q(this.value);return r.locale=this.locale,r.weekStart=this.weekStart,r.mutable=this.mutable,r.utcMode=this.utcMode,r}align(r){return this.mutable?(this.value=wt.align(this,r).val(),this):this.clone().immutable(!1).align(r).immutable(!this.mutable)}alignEnd(r){return this.mutable?(this.value=wt.alignEnd(this,r).val(),this):this.clone().immutable(!1).alignEnd(r).immutable(!this.mutable)}val(r){return typeof r>"u"||r===null?this.value:this.mutable?(this.value=typeof r=="string"?Date.parse(r):typeof r=="number"?new Date(r):r,this):q(r)}year2(){return+(""+this.year()).slice(-2)}_set(r,l){let t="set"+(this.utcMode&&r!=="t"?"UTC":"")+Jo[r];if(this.mutable)return this.value[t](l),this;let o=this.clone();return o.value[t](l),o}_get(r){let l="get"+(this.utcMode&&r!=="t"?"UTC":"")+Jo[r];return this.value[l]()}_work(r,l){return!arguments.length||typeof l>"u"||l===null?this._get(r):this._set(r,l)}ms(r){return this._work("ms",r)}second(r){return this._work("s",r)}minute(r){return this._work("m",r)}hour(r){return this._work("h",r)}day(r){return this._work("D",r)}month(r){return this._work("M",r)}year(r){return this._work("Y",r)}time(r){return this._work("t",r)}weekDay(r){if(!arguments.length||ie(r))return this.utcMode?this.value.getUTCDay():this.value.getDay();let l=this.weekDay(),t=r-l;return this.add(t,U.D)}get(r){return typeof this[r]!="function"?this:this[r]()}set(r,l){return typeof this[r]!="function"?this:this[r](l)}add(r,l){switch(l){case U.h:case"h":case"hour":return this.time(this.time()+r*60*60*1e3);case U.m:case"m":case"minute":return this.time(this.time()+r*60*1e3);case U.s:case"s":case"second":return this.time(this.time()+r*1e3);case U.ms:case"ms":return this.time(this.time()+r);case U.D:case"D":case"day":return this.day(this.day()+r);case U.W:case"W":case"week":return this.day(this.day()+r*7);case U.M:case"M":case"month":return this.month(this.month()+r);case U.Y:case"Y":case"year":return this.year(this.year()+r)}return this}addHour(r){return this.add(r,U.h)}addMinute(r){return this.add(r,U.m)}addSecond(r){return this.add(r,U.s)}addMs(r){return this.add(r,U.ms)}addDay(r){return this.add(r,U.D)}addWeek(r){return this.add(r,U.W)}addMonth(r){return this.add(r,U.M)}addYear(r){return this.add(r,U.Y)}format(r,l){let t=tr.processFormat(this,r,l);return nl.call(this,t,l)}valueOf(){return this.value.valueOf()}toString(){return this.value.toString()}};Ne.initializeBuiltInStrategies();D.alignStrategies=Ne;D.formatters=tr;var q=(...e)=>e&&e[0]instanceof D?e[0]:new D(...e),au=D.prototype.format,ll={buddhist(){return this.year()+543}};D.formatters.registerFormatter("buddhist",(e,r,l)=>{let t={BB:(e.buddhist()+"").slice(-2),BBBB:e.buddhist()};return r.replace(/(\[[^\]]+])|B{4}|B{2}/g,(o,a)=>a||t[o])});Object.assign(D.prototype,ll);var sl=(e,r)=>{let l=e instanceof D?e.clone().align("month"):q(e),t=r===0||r?r:e.weekStart,o=t?l.isoWeekDay():l.weekDay(),a=D.getLocale(l.locale),i=q(),s,c=(d,m)=>{if(m===0)return d;let h=d[0];return d.slice(1).concat([h])},p={month:a.months[l.month()],days:[],weekstart:r?1:0,weekdays:c(a.weekdaysMin,t),today:i.format("YYYY-MM-DD"),weekends:[],week:[]};for(l.addDay(t?-o+1:-o),s=0;s<42;s++)p.days.push(l.format("YYYY-MM-DD")),l.add(1,"day");for(p.weekends=p.days.filter(function(d,m){return t===0?[0,6,7,13,14,20,21,27,28,34,35,41].includes(m):[5,6,12,13,19,20,26,27,33,34,40,41].includes(m)}),l=i.clone(),o=t?l.isoWeekDay():l.weekDay(),l.addDay(t?-o+1:-o),s=0;s<7;s++)p.week.push(l.format("YYYY-MM-DD")),l.add(1,"day");return p};Object.assign(D.prototype,{calendar(e){return sl(this,e)}});var cl={century(){return Math.ceil(this.year()/100)}};D.formatters.registerFormatter("century",(e,r,l)=>{let t={C:e.century()};return r.replace(/(\[[^\]]+])|C/g,(o,a)=>a||t[o])});Object.assign(D.prototype,cl);Object.assign(D.prototype,{same(e){return this.time()===q(e).time()},compare(e,r,l="="){let t=q(e),o=q(this.value),a,i;switch(l=l||"=",["<",">",">=","<=","=","!="].includes(l)===!1&&(l="="),r=(r||"ms").toLowerCase(),a=o.align(r).time(),i=t.align(r).time(),l){case"<":return a<i;case">":return a>i;case"<=":return a<=i;case">=":return a>=i;case"=":return a===i;case"!=":return a!==i}},between(e,r){return this.younger(e)&&this.older(r)},older(e,r){return this.compare(e,r,"<")},olderOrEqual(e,r){return this.compare(e,r,"<=")},younger(e,r){return this.compare(e,r,">")},youngerOrEqual(e,r){return this.compare(e,r,">=")},equal(e,r){return this.compare(e,r,"=")},notEqual(e,r){return this.compare(e,r,"!=")},diff(e){let r=q(e),l=Math.abs(this.time()-r.time()),t=Math.abs(this.month()-r.month()+12*(this.year()-r.year()));return{ms:l,second:Math.ceil(l/1e3),minute:Math.ceil(l/(1e3*60)),hour:Math.ceil(l/(1e3*60*60)),day:Math.ceil(l/(1e3*60*60*24)),month:t,year:Math.floor(t/12)}},distance(e,r){return this.diff(e)[r]}});Object.assign(D.prototype,{isLeapYear(){let e=this.year();return e%4===0&&e%100!==0||e%400===0}});Object.assign(D.prototype,{dayOfYear(){let e=[0,31,59,90,120,151,181,212,243,273,304,334],r=this.month(),l=this.day();return e[r]+l+(r>1&&this.isLeapYear()?1:0)}});Object.assign(D.prototype,{daysInMonth(){return q(this.value).add(1,"month").day(1).add(-1,"day").day()},daysInYear(){return this.isLeapYear()?366:365},daysInYearMap(){let e=[],r=q(this.value);r.month(0).day(1);for(let l=0;l<12;l++)r.add(1,"month").add(-1,"day"),e.push(r.day()),r.day(1).add(1,"month");return e},daysInYearObj(e,r){let l=this.daysInYearMap(),t={},o=D.getLocale(e||this.locale);return l.forEach((a,i)=>t[o[r?"monthsShort":"months"][i]]=a),t}});Object.assign(D.prototype,{decade(){return Math.floor(this.year()/10)*10},decadeStart(){let e=this.decade();return(this.mutable?this:this.clone()).year(e).month(0).day(1)},decadeEnd(){let e=this.decade()+9;return(this.mutable?this:this.clone()).year(e).month(11).day(31)},decadeOfMonth(){let e=this.clone().add(1,"month").day(1).add(-1,"day").day()/3,r=this.day();return r<=e?1:r<=e*2?2:3}});Object.assign(D,{from(e,r,l){let t,o,a,i,s,c,p,d,m,h,u,f,b,x,v,z,C,y,k,w=function(j,I){return j.map(function(R){return R.toLowerCase()}).indexOf(I.toLowerCase())},S=function(j){let I=-1,R=D.getLocale(l||"en");return ie(j)?-1:(I=w(R.months,j),I===-1&&typeof R.monthsParental<"u"&&(I=w(R.monthsParental,j)),I===-1&&(j=j.substr(0,3),I=w(R.monthsShort,j)),I===-1?-1:I+1)},_=function(j){let I={month:["M","mm","%m"],day:["D","dd","%d"],year:["YY","YYYY","yy","yyyy","%y"],hour:["h","hh","%h"],minute:["m","mi","i","ii","%i"],second:["s","ss","%s"],ms:["sss"]},R=-1,J,L;for(let et=0;et<I[j].length;et++)if(J=I[j][et],L=a.indexOf(J),L!==-1){R=L;break}return R};if(!r)return q();if(t=e.replace(/[\/,.:\s]/g,"-"),o=r.toLowerCase().replace(/[^a-zA-Z0-9%]/g,"-"),a=o.split("-"),i=t.split("-"),t.replace(/-/g,"").trim()==="")throw new Error($o);return s=_("month"),c=_("day"),p=_("year"),d=_("hour"),m=_("minute"),h=_("second"),u=_("ms"),s>-1&&i[s]?isNaN(parseInt(i[s]))?(i[s]=S(i[s]),i[s]===-1&&(s=-1)):(k=parseInt(i[s]),(k<1||k>12)&&(s=-1)):s=-1,f=p>-1&&i[p]?i[p]:0,b=s>-1&&i[s]?i[s]:1,x=c>-1&&i[c]?i[c]:1,v=d>-1&&i[d]?i[d]:0,z=m>-1&&i[m]?i[m]:0,C=h>-1&&i[h]?i[h]:0,y=u>-1&&i[u]?i[u]:0,f&&f<100?f=f<50?2e3+parseInt(f):1900+parseInt(f):f===0&&(f=new Date().getFullYear()),q(f,b-1,x,v,z,C,y)}});var pl={ampm(e){let r=this.hour()<12?"AM":"PM";return e?r.toLowerCase():r},hour12:function(e,r){let l=e;return arguments.length===0?this.hour()%12||12:(r=r||"am",r.toLowerCase()==="pm"&&(l+=12),this.hour(l))}};D.formatters.registerFormatter("hour12",(e,r,l)=>{let t=e.hour12(),o={a:"["+e.ampm(!0)+"]",A:"["+e.ampm(!1)+"]",h:t,hh:st(t,0,2)};return r.replace(/(\[[^\]]+])|a|A|h{1,2}/g,(a,i)=>i||o[a])});Object.assign(D.prototype,pl);var dl={isoWeekDay(e){let r=(this.weekDay()+6)%7+1;return!arguments.length||ie(e)?r:this.addDay(e-r)}};D.alignStrategies.registerAlignStrategy("isoWeek",e=>{let r=e.clone(),t=r.isoWeekDay()-1;return D.alignStrategies.executeAlign(r,"day").addDay(-t)});D.alignStrategies.registerAlignEndStrategy("isoWeek",e=>{let r=e.clone(),t=7-r.isoWeekDay();return D.alignStrategies.executeAlignEnd(r,"day").addDay(t)});D.formatters.registerFormatter("iso",(e,r,l)=>{let t={I:e.isoWeekDay()};return r.replace(/(\[[^\]]+])|I{1,2}/g,(o,a)=>a||t[o])});Object.assign(D.prototype,dl);Object.assign(D,{max(){return[].slice.call(arguments).map(r=>q(r)).sort((r,l)=>l.time()-r.time())[0]}});Object.assign(D.prototype,{max(){return D.max.apply(this,[this].concat([].slice.call(arguments)))}});Object.assign(D,{min(){return[].slice.call(arguments).map(r=>q(r)).sort((r,l)=>r.time()-l.time())[0]}});Object.assign(D.prototype,{min(){return D.min.apply(this,[this].concat([].slice.call(arguments)))}});var ml=D.prototype.add,hl={quarter(){let e=this.month();return e<=2?1:e<=5?2:e<=8?3:4},add(e,r){return r==="quarter"?this.month(this.month()+e*3):ml.call(this,e,r)},addQuarter(e){return this.add(e,"quarter")}};D.alignStrategies.registerAlignStrategy("quarter",e=>{let r=e.clone(),t=(r.quarter()-1)*3;return D.alignStrategies.executeAlign(r,"day").month(t).day(1)});D.alignStrategies.registerAlignEndStrategy("quarter",e=>{let r=e.clone(),t=r.quarter()*3-1,o=r.month(t).day(1),a=o.clone().add(1,"month").day(1).add(-1,"day").day();return D.alignStrategies.executeAlignEnd(o.day(a),"day")});Object.assign(D.prototype,hl);Object.assign(D,{sort(e,r){let l,t,o={};switch(typeof r=="string"||typeof r!="object"||ie(r)?(o.format=ve,o.dir=r&&r.toUpperCase()==="DESC"?"DESC":"ASC",o.returnAs="datetime"):(o.format=r.format||ve,o.dir=(r.dir||"ASC").toUpperCase(),o.returnAs=r.format?"string":r.returnAs||"datetime"),t=e.map(a=>q(a)).sort((a,i)=>a.valueOf()-i.valueOf()),o.dir==="DESC"&&t.reverse(),o.returnAs){case"string":l=t.map(a=>a.format(o.format));break;case"date":l=t.map(a=>a.val());break;default:l=t}return l}});var ul={utcOffset(){return this.value.getTimezoneOffset()},timezone(){return this.toTimeString().replace(/.+GMT([+-])(\d{2})(\d{2}).+/,"$1$2:$3")},timezoneName(){return this.toTimeString().replace(/.+\((.+?)\)$/,"$1")}};D.formatters.registerFormatter("timezone",(e,r,l)=>{let t={Z:e.utcMode?"Z":e.timezone(),ZZ:e.timezone().replace(":",""),ZZZ:"[GMT]"+e.timezone(),z:e.timezoneName()};return r.replace(/(\[[^\]]+])|Z{1,3}|z/g,(o,a)=>a||t[o])});Object.assign(D.prototype,ul);var Qo=D.prototype.format,yt=new Map,Mo=864e5,er=6e4,fl=1e3,gl=()=>{let e=Date.now();for(let[r,l]of yt.entries())e-l.timestamp>er&&yt.delete(r)};Object.assign(D.prototype,{weekNumber(e=0){let r=`${this.time()}_${e}`,l=yt.get(r);if(l&&Date.now()-l.timestamp<er)return l.value;let t=this.year(),o=q(t,0,1),a=o.weekDay(),i=Math.floor((this.time()-o.time()-(this.utcOffset()-o.utcOffset())*6e4)/Mo)+1,s=(a-e+7)%7,c;return s<4?(c=Math.floor((i+s-1)/7)+1,c>52&&(c=(q(t+1,0,1).weekDay()-e+7)%7<4?1:53)):(c=Math.floor((i+s-1)/7),c===0&&(e===1&&i<=7-s?c=1:c=q(t-1,11,31).weekNumber(e))),yt.size>fl&&gl(),yt.set(r,{value:c,timestamp:Date.now()}),c},isoWeekNumber(){let e=`iso_${this.time()}`;if(yt.has(e))return yt.get(e);let r=new Date(this.time());r.setHours(0,0,0,0),r.setDate(r.getDate()+3-(r.getDay()+6)%7);let l=new Date(r.getFullYear(),0,4);l.setDate(l.getDate()+3-(l.getDay()+6)%7);let t=1+Math.round(((r.getTime()-l.getTime())/Mo-3+(l.getDay()+6)%7)/7);return yt.set(e,t),t},weeksInYear(e=0){let r=`weeks_${this.year()}_${e}`;if(yt.has(r))return yt.get(r);let t=q(this.year(),11,28).weekNumber(e);return t===1&&(t=52),yt.set(r,t),t},format:function(e,r){if(e=e||ve,!/W{1,4}/.test(e))return Qo.bind(this)(e,r);let t=this.weekNumber(),o=this.isoWeekNumber(),a={W:t,WW:st(t,0,2),WWW:o,WWWW:st(o,0,2)},i=e.replace(/(\[[^\]]+])|W{1,4}/g,(s,c)=>c||a[s]);return Qo.bind(this)(i,r)}});Object.assign(D.prototype,{strftime(e,r){let l=e||tl,t=D.getLocale(r||this.locale),o=this.year(),a=this.year2(),i=this.month(),s=this.day(),c=this.weekDay(),p=this.hour(),d=this.hour12(),m=this.minute(),h=this.second(),u=this.ms(),f=this.time(),b=st(s,0,2),x=st(i+1,0,2),v=st(p,0,2),z=st(d,0,2),C=st(m,0,2),y=st(h,0,2),k=st(u,0,3),w=this,S=function(){return q(w.value).day(w.day()-(w.weekDay()+6)%7+3)},_={"%a":t.weekdaysShort[c],"%A":t.weekdays[c],"%b":t.monthsShort[i],"%h":t.monthsShort[i],"%B":t.months[i],"%c":this.toString().substring(0,this.toString().indexOf(" (")),"%C":this.century(),"%d":b,"%D":[b,x,o].join("/"),"%e":s,"%F":[o,x,b].join("-"),"%G":S().year(),"%g":(""+S().year()).slice(2),"%H":v,"%I":z,"%j":st(this.dayOfYear(),0,3),"%k":v,"%l":z,"%m":x,"%n":i+1,"%M":C,"%p":this.ampm(),"%P":this.ampm(!0),"%s":Math.round(f/1e3),"%S":y,"%u":this.isoWeekDay(),"%V":this.isoWeekNumber(),"%w":c,"%x":this.toLocaleDateString(),"%X":this.toLocaleTimeString(),"%y":a,"%Y":o,"%z":this.timezone().replace(":",""),"%Z":this.timezoneName(),"%r":[z,C,y].join(":")+" "+this.ampm(),"%R":[v,C].join(":"),"%T":[v,C,y].join(":"),"%Q":k,"%q":u,"%t":this.timezone()};return l.replace($n,j=>_[j]===0||_[j]?_[j]:j)}});Object.assign(D,{isToday(e){let r=q(e).align("day"),l=q().align("day");return r.time()===l.time()}});Object.assign(D.prototype,{isToday(){return D.isToday(this)},today(){let e=q();return this.mutable?this.val(e.val()):e}});Object.assign(D,{isTomorrow(e){let r=q(e).align("day"),l=q().align("day").add(1,"day");return r.time()===l.time()}});Object.assign(D.prototype,{isTomorrow(){return D.isTomorrow(this)},tomorrow(){return this.mutable?this.add(1,"day"):this.clone().immutable(!1).add(1,"day").immutable(!this.mutable)}});Object.assign(D.prototype,{toDateString(){return this.value.toDateString()},toISOString(){return this.value.toISOString()},toJSON(){return this.value.toJSON()},toGMTString(){return this.value.toGMTString()},toLocaleDateString(){return this.value.toLocaleDateString()},toLocaleString(){return this.value.toLocaleString()},toLocaleTimeString(){return this.value.toLocaleTimeString()},toTimeString(){return this.value.toTimeString()},toUTCString(){return this.value.toUTCString()},toDate(){return new Date(this.value)}});Object.assign(D,{timestamp(){return new Date().getTime()/1e3}});Object.assign(D.prototype,{unix(e){let r;return!arguments.length||ie(e)?Math.floor(this.valueOf()/1e3):(r=e*1e3,this.mutable?this.time(r):q(this.value).time(r))},timestamp(){return this.unix()}});Object.assign(D,{isYesterday(e){let r=q(e).align("day"),l=q().align("day").add(-1,"day");return r.time()===l.time()}});Object.assign(D.prototype,{isYesterday(){return D.isYesterday(this)},yesterday(){return this.mutable?this.add(-1,"day"):this.clone().immutable(!1).add(-1,"day").immutable(!this.mutable)}});var or=e=>{let r,l=Math.floor(e/1e3),t=Math.floor(l/60),o=Math.floor(t/60),a=Math.floor(o/24),i=Math.floor(a/30.44),s=Math.floor(i/12);return s>=1&&(r=`${s} year`),i>=1&&s<1&&(r=`${i} mon`),a>=1&&a<=30&&(r=`${a} days`),o&&o<24&&(r=`${o} hour`),t&&t>=40&&t<60&&(r="less a hour"),t&&t<40&&(r=`${t} min`),l&&l>=30&&l<60&&(r=`${l} sec`),l<30&&(r="few sec"),r};Object.assign(D,{timeLapse(e){let r=q(e),l=q(),t=l-r;return or(t)}});Object.assign(D.prototype,{timeLapse(){let e=q()-+this;return or(e)}});var bl={parseTime(e){if(!isNaN(e))return Math.abs(+e);let r=/([0-9]+d)|([0-9]{1,2}h)|([0-9]{1,2}m)|([0-9]{1,2}s)/gm,l=e.match(r);return l?l.reduce((t,o)=>{let a;return o.includes("d")?a=1e3*60*60*24*parseInt(o):o.includes("h")?a=1e3*60*60*parseInt(o):o.includes("m")?a=1e3*60*parseInt(o):o.includes("s")&&(a=1e3*parseInt(o)),t+a},0):0}};Object.assign(D,bl);Object.assign(D.prototype,{moon(){let e=["new-moon","waxing-crescent","first-quarter","waxing-gibbous","full-moon","waning-gibbous","last-quarter","waning-crescent"];return(()=>{let l=this.year(),t=this.month(),o=this.day(),a,i,s,c=a=i=s=0;return t<3&&(l--,t+=12),++t,c=365.25*l,a=30.6*t,i=c+a+o-694039.09,i/=29.5305882,s=parseInt(i),i-=s,s=Math.round(i*8),s>=8&&(s=0),{phase:s,name:e[s]}})()}});var xl="3.3.0",vl="01.09.2025, 15:52:51",kl=()=>{console.info(`%c Datetime %c v${xl} %c ${vl} `,"color: #ffffff; font-weight: bold; background: #003152","color: white; background: darkgreen","color: white; background: #0080fe;")};D.info=kl;D.correctDate=e=>q(e).addDay(1).align("day").addMinute(new Date().getTimezoneOffset());globalThis.Datetime=D;globalThis.datetime=q;(()=>{"use strict";let e=["january","february","march","april","may","june","july","august","september","october","november","december"],r=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],l=D.getLocale;D.getLocale=function(t="en"){let o=t;if(!Metro)return l.call(this,t);Metro.locales[o]||(o="en");let a=Metro.locales[o],i=e.map((m,h)=>a[m]),s=e.map((m,h)=>a[`${m}_short`]),c=r.map((m,h)=>a[m]),p=r.map((m,h)=>a[`${m}_short`]),d=r.map((m,h)=>a[`${m}_short_2`]);return{months:i,monthsShort:s,weekdays:c,weekdaysShort:p,weekdaysMin:d,weekStart:a.weekStart}}})();var wl=Object.defineProperty,yl=(e,r)=>{for(var l in r)wl(e,l,{get:r[l],enumerable:!0})},ar={};yl(ar,{append:()=>Kr,camelCase:()=>nr,capitalize:()=>He,chars:()=>le,count:()=>fr,countChars:()=>ao,countSubstr:()=>gr,countUniqueChars:()=>io,countUniqueWords:()=>Ll,countWords:()=>Ol,dashedName:()=>lr,decapitalize:()=>sr,endsWith:()=>Ir,escapeHtml:()=>br,first:()=>yr,includes:()=>Ur,insert:()=>Dr,isAlpha:()=>Br,isAlphaDigit:()=>Pr,isBlank:()=>Lr,isDigit:()=>Or,isEmpty:()=>go,isLower:()=>Nr,isString:()=>Zr,isUpper:()=>Fr,kebab:()=>cr,last:()=>_r,lower:()=>Ye,lpad:()=>Tr,ltrim:()=>uo,matches:()=>Jr,nvl:()=>ta,pad:()=>jr,prepend:()=>Qr,prune:()=>Sr,repeat:()=>ye,reverse:()=>pr,rpad:()=>Er,rtrim:()=>fo,shorten:()=>$r,shuffle:()=>dr,slice:()=>zr,snake:()=>mr,split:()=>qr,sprintf:()=>ke,startsWith:()=>Rr,strip:()=>Wr,stripBoom:()=>Mr,stripTags:()=>Hr,stripTagsAll:()=>Vr,substring:()=>se,swap:()=>hr,title:()=>ur,trim:()=>_e,truncate:()=>ho,truncateWithAlign:()=>Cr,unescapeHtml:()=>vr,unique:()=>kr,uniqueWords:()=>wr,upper:()=>mo,vsprintf:()=>Yr,words:()=>Dt,wrap:()=>Xr,wrapTag:()=>Gr});var lo="\\d",Ve="\\s\\uFEFF\\xA0",Lt="\\uD800-\\uDBFF",Nt="\\uDC00-\\uDFFF",qt="\\u0300-\\u036F\\u1AB0-\\u1AFF\\u1DC0-\\u1DFF\\u20D0-\\u20FF\\uFE20-\\uFE2F",ir="\\0-\\u02FF\\u0370-\\u1AAF\\u1B00-\\u1DBF\\u1E00-\\u20CF\\u2100-\\uD7FF\\uE000-\\uFE1F\\uFE30-\\uFFFF",_l="\\u2000-\\u206F",Cl="\\x00-\\x2F\\x3A-\\x40\\x5B-\\x60\\x7b-\\xBF\\xD7\\xF7",zl="\\u2700-\\u27BF",Fe="a-z\\xB5\\xDF-\\xF6\\xF8-\\xFF\\u0101\\u0103\\u0105\\u0107\\u0109\\u010B\\u010D\\u010F\\u0111\\u0113\\u0115\\u0117\\u0119\\u011B\\u011D\\u011F\\u0121\\u0123\\u0125\\u0127\\u0129\\u012B\\u012D\\u012F\\u0131\\u0133\\u0135\\u0137\\u0138\\u013A\\u013C\\u013E\\u0140\\u0142\\u0144\\u0146\\u0148\\u0149\\u014B\\u014D\\u014F\\u0151\\u0153\\u0155\\u0157\\u0159\\u015B\\u015D\\u015F\\u0161\\u0163\\u0165\\u0167\\u0169\\u016B\\u016D\\u016F\\u0171\\u0173\\u0175\\u0177\\u017A\\u017C\\u017E-\\u0180\\u0183\\u0185\\u0188\\u018C\\u018D\\u0192\\u0195\\u0199-\\u019B\\u019E\\u01A1\\u01A3\\u01A5\\u01A8\\u01AA\\u01AB\\u01AD\\u01B0\\u01B4\\u01B6\\u01B9\\u01BA\\u01BD-\\u01BF\\u01C6\\u01C9\\u01CC\\u01CE\\u01D0\\u01D2\\u01D4\\u01D6\\u01D8\\u01DA\\u01DC\\u01DD\\u01DF\\u01E1\\u01E3\\u01E5\\u01E7\\u01E9\\u01EB\\u01ED\\u01EF\\u01F0\\u01F3\\u01F5\\u01F9\\u01FB\\u01FD\\u01FF\\u0201\\u0203\\u0205\\u0207\\u0209\\u020B\\u020D\\u020F\\u0211\\u0213\\u0215\\u0217\\u0219\\u021B\\u021D\\u021F\\u0221\\u0223\\u0225\\u0227\\u0229\\u022B\\u022D\\u022F\\u0231\\u0233-\\u0239\\u023C\\u023F\\u0240\\u0242\\u0247\\u0249\\u024B\\u024D\\u024F",Re="\\x41-\\x5a\\xc0-\\xd6\\xd8-\\xde\\u0100\\u0102\\u0104\\u0106\\u0108\\u010a\\u010c\\u010e\\u0110\\u0112\\u0114\\u0116\\u0118\\u011a\\u011c\\u011e\\u0120\\u0122\\u0124\\u0126\\u0128\\u012a\\u012c\\u012e\\u0130\\u0132\\u0134\\u0136\\u0139\\u013b\\u013d\\u013f\\u0141\\u0143\\u0145\\u0147\\u014a\\u014c\\u014e\\u0150\\u0152\\u0154\\u0156\\u0158\\u015a\\u015c\\u015e\\u0160\\u0162\\u0164\\u0166\\u0168\\u016a\\u016c\\u016e\\u0170\\u0172\\u0174\\u0176\\u0178\\u0179\\u017b\\u017d\\u0181\\u0182\\u0184\\u0186\\u0187\\u0189-\\u018b\\u018e-\\u0191\\u0193\\u0194\\u0196-\\u0198\\u019c\\u019d\\u019f\\u01a0\\u01a2\\u01a4\\u01a6\\u01a7\\u01a9\\u01ac\\u01ae\\u01af\\u01b1-\\u01b3\\u01b5\\u01b7\\u01b8\\u01bc\\u01c4\\u01c5\\u01c7\\u01c8\\u01ca\\u01cb\\u01cd\\u01cf\\u01d1\\u01d3\\u01d5\\u01d7\\u01d9\\u01db\\u01de\\u01e0\\u01e2\\u01e4\\u01e6\\u01e8\\u01ea\\u01ec\\u01ee\\u01f1\\u01f2\\u01f4\\u01f6-\\u01f8\\u01fa\\u01fc\\u01fe\\u0200\\u0202\\u0204\\u0206\\u0208\\u020a\\u020c\\u020e\\u0210\\u0212\\u0214\\u0216\\u0218\\u021a\\u021c\\u021e\\u0220\\u0222\\u0224\\u0226\\u0228\\u022a\\u022c\\u022e\\u0230\\u0232\\u023a\\u023b\\u023d\\u023e\\u0241\\u0243-\\u0246\\u0248\\u024a\\u024c\\u024e",cu=new RegExp("(["+ir+"]|["+Lt+"]["+Nt+"]|["+Lt+"](?!["+Nt+"])|(?:[^"+Lt+"]|^)["+Nt+"])(["+qt+"]+)","g"),pu=new RegExp("(["+Lt+"])(["+Nt+"])","g"),du=new RegExp("((?:["+ir+"]|["+Lt+"]["+Nt+"]|["+Lt+"](?!["+Nt+"])|(?:[^"+Lt+"]|^)["+Nt+"])(?:["+qt+"]+))|(["+Lt+"]["+Nt+"])|([\\n\\r\\u2028\\u2029])|(.)","g"),mu=new RegExp("["+Ve+"]"),Sl=new RegExp("^["+Ve+"]+"),Al=new RegExp("["+Ve+"]+$"),Tl=new RegExp("^"+lo+"+$"),El=/[<>&"'`]/g,jl=/(<([^>]+)>)/ig,so=new RegExp("(?:["+Re+"]["+qt+"]*)?(?:["+Fe+"]["+qt+"]*)+|(?:["+Re+"]["+qt+"]*)+(?!["+Fe+"])|["+lo+"]+|["+zl+"]|[^"+Cl+_l+Ve+"]+","g"),co=/[A-Z\xC0-\xD6\xD8-\xDE]?[a-z\xDF-\xF6\xF8-\xFF]+|[A-Z\xC0-\xD6\xD8-\xDE]+(?![a-z\xDF-\xF6\xF8-\xFF])|\d+/g,Dl=new RegExp("^(?:["+Fe+Re+"]["+qt+"]*)+$"),Il=new RegExp("^((?:["+Fe+Re+"]["+qt+"]*)|["+lo+"])+$"),po=/^[\x01-\xFF]*$/,N=(e,r="")=>!e&&typeof e!="number"&&typeof e!="boolean"?r:typeof e=="string"?e:Array.isArray(e)?e.join(""):JSON.stringify(e),rr=(e,r)=>typeof e>"u"||e===null?r:e,Dt=(e,r,l)=>{let t;return r?r instanceof RegExp?t=r:t=new RegExp(r,rr(l,"")):t=po.test(e)?co:so,rr(N(e).match(t),[])},He=(e,r=!1)=>{let l=N(e),t=l.substring(1);return l.substring(0,1).toUpperCase()+(r?t.toLowerCase():t)},nr=e=>Dt(N(e)).map((r,l)=>l===0?r.toLowerCase():He(r)).join(""),lr=e=>Dt(N(e)).map(r=>r.toLowerCase()).join("-"),sr=e=>{let r=N(e);return r.substring(0,1).toLowerCase()+r.substr(1)},cr=(e,r="-")=>Dt(N(e)).map(l=>l.toLowerCase()).join(r),Ye=e=>N(e).toLowerCase(),le=(e,r=[])=>N(e).split("").filter(l=>!r.includes(l)),pr=(e,r)=>le(N(e),r).reverse().join(""),Bl=(e=[])=>{let r=[...e],l=r.length,t,o;for(;l!==0;)o=Math.floor(Math.random()*l),l-=1,t=r[l],r[l]=r[o],r[o]=t;return r},dr=e=>Bl(N(e).split("")).join(""),mr=e=>Dt(N(e)).map(r=>r.toLowerCase()).join("_"),Pl=(e,r)=>{let l=r.toLowerCase(),t=r.toUpperCase();return e+(r===l?t:l)},hr=e=>N(e).split("").reduce(Pl,""),ur=(e,r,l="")=>{let t=N(e),o=po.test(t)?co:so,a=Array.isArray(r)?r:typeof r!="string"?[]:r.split(l);return e.replace(o,(i,s)=>s&&a.includes(t[s-1])?Ye(i):He(i))},mo=e=>N(e).toUpperCase(),fr=e=>N(e).length,Ue=(e=[])=>{let r=[...e];for(let l=0;l<r.length;++l)for(let t=l+1;t<r.length;++t)r[l]===r[t]&&r.splice(t--,1);return r},ao=(e,r)=>le(e,r).length,io=(e,r)=>Ue(le(e,r)).length,gr=(e,r="")=>{let l=N(e),t=N(r);return l===""||t===""?0:l.split(t).length-1},Ol=(e,r,l)=>Dt(e,r,l).length,Ll=(e,r,l)=>Ue(Dt(e,r,l)).length,Nl={"<":"<",">":">","&":"&",'"':""","'":"'","`":"`"};function Fl(e){return Nl[e]}var br=e=>N(e).replace(El,Fl),xr={"<":/(<)|(�*3c;)|(�*60;)/gi,">":/(>)|(�*3e;)|(�*62;)/gi,"&":/(&)|(�*26;)|(�*38;)/gi,'"':/(")|(�*22;)|(�*34;)/gi,"'":/(�*27;)|(�*39;)/gi,"`":/(�*60;)|(�*96;)/gi},Rl=Object.keys(xr);function Vl(e,r){return e.replace(xr[r],r)}var vr=e=>Rl.reduce(Vl,N(e)),kr=(e,r)=>Ue(le(e,r)).join(""),wr=(e,r,l)=>Ue(Dt(e,r,l)).join(""),se=(e,r,l)=>N(e).substring(r,l),yr=(e,r=0)=>se(N(e),0,r),_r=(e,r=0)=>{let l=N(e);return l?se(l,l.length-r):""},Hl="\uFEFF",we=(e,r,l=9007199254740991)=>e<r?r:e>l?l:e,ne=e=>e===1/0?9007199254740991:e===-1/0?-9007199254740991:~~e,ho=(e,r=0,l="...")=>{let t=N(e),o=r?we(ne(r),0,9007199254740991):t.length;return se(t,0,o)+(t.length===o?"":l)},Cr=(e,r=0,l="...")=>{let t=ho(e,r,"");return t.slice(e,t.lastIndexOf(" "))+l},zr=(e,r=1)=>{let l=N(e),t=[],o=Math.round(l.length/r);for(let a=0;a<r;a++)t.push(se(l,a*o,o));return t},Sr=(e,r=0,l="")=>{let t=N(e),o=r?we(ne(r),0,9007199254740991):t.length,a=0,i=po.test(t)?co:so;return t.replace(i,(s,c)=>{let p=c+s.length;p<=o-l.length&&(a=p)}),t.substring(0,a)+l},ye=(e,r=0)=>{let l=N(e),t=r?we(ne(r),0,9007199254740991):l.length,o=l;if(r===0)return"";for(let a=0;a<t-1;a++)l+=o;return l},no=(e,r=0)=>{let l=e.length,t=r-l;return ye(e,t+1).substring(0,r)},Ar=(e,r="",l=0,t=!1)=>{let o=N(e),a=l?we(ne(l),0,9007199254740991):o.length,i=r.length,s=a-o.length,c=s;if(s<=0||i===0)return o;let p=no(r,c);return t?p+o:o+p},Tr=(e,r=" ",l=0)=>Ar(e,r,l,!0),Er=(e,r=" ",l=0)=>Ar(e,r,l,!1),jr=(e,r="",l=0)=>{let t=N(e),o=l?we(ne(l),0,9007199254740991):t.length,a=r.length,i=o-t.length,s=ne(i/2),c=i%2;return i<=0||a===0?t:no(r,s)+t+no(r,s+c)},Dr=(e,r="",l=0)=>{let t=N(e);return t.substring(0,l)+r+t.substring(l)},Yl=Array.prototype.reduce,Ul=Array.prototype.reduceRight,_e=(e,r)=>uo(fo(e,r),r),uo=(e,r)=>{let l=N(e);if(!r)return l.replace(Sl,"");if(r===""||l==="")return l;typeof r!="string"&&(r="");let t=!0;return Yl.call(l,(o,a)=>t&&r.includes(a)?o:(t=!1,o+a),"")},fo=(e,r)=>{let l=N(e);if(!r)return l.replace(Al,"");if(r===""||l==="")return l;typeof r!="string"&&(r="");let t=!0;return Ul.call(l,(o,a)=>t&&r.includes(a)?o:(t=!1,a+o),"")},Ir=(e,r,l)=>N(e).endsWith(r,l),Br=e=>Dl.test(N(e)),Pr=e=>Il.test(N(e)),Or=e=>Tl.test(N(e)),Lr=(e,r=!0)=>r?N(e).length===0:_e(e).length===0,go=e=>_e(e).length===0,Nr=e=>Ye(e)===e,Fr=e=>mo(e)===e,Rr=(e,r,l)=>N(e).startsWith(r,l),Vr=e=>N(e).replace(jl,""),Hr=(e,r=[])=>{let l=N(e),t=/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi;return l.replace(t,(o,a)=>r.includes(a)?o:"")},ft={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function ql(e,r){let l=1,t=e.length,o,a="",i,s,c,p,d,m;for(let h=0;h<t;h++)if(typeof e[h]=="string")a+=e[h];else if(typeof e[h]=="object"){if(i=e[h],i.keys){o=r[l];for(let u=0;u<i.keys.length;u++){if(typeof o>"u")throw new Error(ke('[sprintf] Cannot access property "%s" of undefined value "%s"',i.keys[u],i.keys[u-1]));o=o[i.keys[u]]}}else i.param_no?o=r[i.param_no]:o=r[l++];if(ft.not_type.test(i.type)&&ft.not_primitive.test(i.type)&&o instanceof Function&&(o=o()),ft.numeric_arg.test(i.type)&&typeof o!="number"&&isNaN(o))throw new TypeError(ke("[sprintf] expecting number but found %T",o));switch(ft.number.test(i.type)&&(d=o>=0),i.type){case"b":o=parseInt(o,10).toString(2);break;case"c":o=String.fromCharCode(parseInt(o,10));break;case"d":case"i":o=parseInt(o,10);break;case"j":o=JSON.stringify(o,null,i.width?parseInt(i.width):0);break;case"e":o=i.precision?parseFloat(o).toExponential(i.precision):parseFloat(o).toExponential();break;case"f":o=i.precision?parseFloat(o).toFixed(i.precision):parseFloat(o);break;case"g":o=i.precision?String(Number(o.toPrecision(i.precision))):parseFloat(o);break;case"o":o=(parseInt(o,10)>>>0).toString(8);break;case"s":o=String(o),o=i.precision?o.substring(0,i.precision):o;break;case"t":o=String(!!o),o=i.precision?o.substring(0,i.precision):o;break;case"T":o=Object.prototype.toString.call(o).slice(8,-1).toLowerCase(),o=i.precision?o.substring(0,i.precision):o;break;case"u":o=parseInt(o,10)>>>0;break;case"v":o=o.valueOf(),o=i.precision?o.substring(0,i.precision):o;break;case"x":o=(parseInt(o,10)>>>0).toString(16);break;case"X":o=(parseInt(o,10)>>>0).toString(16).toUpperCase();break}ft.json.test(i.type)?a+=o:(ft.number.test(i.type)&&(!d||i.sign)?(m=d?"+":"-",o=o.toString().replace(ft.sign,"")):m="",c=i.pad_char?i.pad_char==="0"?"0":i.pad_char.charAt(1):" ",p=i.width-(m+o).length,s=i.width&&p>0?c.repeat(p):"",a+=i.align?m+o+s:c==="0"?m+s+o:s+m+o)}return a}var ro=Object.create(null);function Wl(e){if(ro[e])return ro[e];let r=e,l,t=[],o=0;for(;r;){if((l=ft.text.exec(r))!==null)t.push(l[0]);else if((l=ft.modulo.exec(r))!==null)t.push("%");else if((l=ft.placeholder.exec(r))!==null){if(l[2]){o|=1;let a=[],i=l[2],s=[];if((s=ft.key.exec(i))!==null)for(a.push(s[1]);(i=i.substring(s[0].length))!=="";)if((s=ft.key_access.exec(i))!==null)a.push(s[1]);else if((s=ft.index_access.exec(i))!==null)a.push(s[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");l[2]=a}else o|=2;if(o===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");t.push({placeholder:l[0],param_no:l[1],keys:l[2],sign:l[3],pad_char:l[4],align:l[5],width:l[6],precision:l[7],type:l[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");r=r.substring(l[0].length)}return ro[e]=t}var ke=e=>ql(Wl(e),arguments),Yr=(e,r)=>ke.apply(null,[e].concat(r||[])),Ur=(e,r,l)=>N(e).includes(r,l),qr=(e,r=void 0,l=void 0,t=!0)=>N(e).split(r,l).map(o=>t?o.trim():o).filter(o=>t?!go(o):!0),Wr=(e,r=null,l="")=>{let t=N(e),o;return r?(o=new RegExp(r,"g"),t.replace(o,l)):t},Gr=(e,r="div",l={})=>{let t=N(e),o=Object.keys(l).map(a=>`${a}="${l[a]}"`).join(" ");return o&&(o=" "+o),`<${r}${o}>${t}</${r}>`},Xr=(e,r="",l="")=>r+N(e)+l,Zr=e=>typeof e=="string",Jr=(e,r,l="")=>{let t=N(e),o;if(!(r instanceof RegExp)){if(o=r?_e(N(r)):"",!o)return!1;r=new RegExp(o,l)}return r.test(t)},Kr=(e,r="",l=1)=>N(e)+ye(r,l),Qr=(e,r="",l=1)=>ye(r,l)+N(e),Mr=e=>{let r=N(e);return r===""?r:r[0]===Hl?r.substring(1):r},$r=(e,r=5,l="...")=>e&&`${e.substring(0,r)}${l}${e.substring(e.length-r)}`,Gl=e=>typeof e>"u"||e===null,ta=(e,...r)=>{if(!Gl(e))return e;if(r.length===0)throw new Error("nvl: No default value provided");for(let l of r)if(typeof l<"u"&&l!==null)return l},Ce=class{constructor(e="",{mutable:r=!0}={}){this.value=e.toString(),this.mutable=r}[Symbol.toPrimitive](e){return e==="number"?+this.value:this.value}get[Symbol.toStringTag](){return"Str"}val(e){return typeof e>"u"||e===null?this.value:(this.value=e.toString(),this)}get length(){return this.value.length}immutable(e=!0){this.mutable=!e}toString(){return Array.isArray(this.value)?this.value.join(""):this.value}_result(e){return this.mutable?(this.value=e,this):bo(e)}camelCase(){return this._result(nr(this.value))}capitalize(e){return this._result(He(this.value,e))}chars(e){return this._result(le(this.value,e))}count(){return fr(this.value)}countChars(e){return ao(this.value,e)}countUniqueChars(e){return io(this.value,e)}countSubstr(e){return gr(this.value,e)}countWords(e,r){return ao(this.value,e,r)}countUniqueWords(e,r){return io(this.value,e,r)}dashedName(){return this._result(lr(this.value))}decapitalize(){return this._result(sr(this.value))}endsWith(e,r){return Ir(this.value,e,r)}escapeHtml(){return this._result(br(this.value))}first(){return this._result(yr(this.value))}includes(e,r){return Ur(this.value,e,r)}insert(e,r){return this._result(Dr(this.value,e,r))}isAlpha(){return Br(this.value)}isAlphaDigit(){return Pr(this.value)}isBlank(e){return Lr(this.value,e)}isDigit(){return Or(this.value)}isEmpty(){return go(this.value)}isLower(){return Nr(this.value)}static isString(e){return Zr(e)}isUpper(){return Fr(this.value)}kebab(e){return this._result(cr(this.value,e))}last(e){return this._result(_r(this.value,e))}lower(){return this._result(Ye(this.value))}matches(e,r){return Jr(this.value,e,r)}pad(e,r){return this._result(jr(this.value,e,r))}lpad(e,r){return this._result(Tr(this.value,e,r))}rpad(e,r){return this._result(Er(this.value,e,r))}prune(e,r){return this._result(Sr(this.value,e,r))}repeat(e){return this._result(ye(this.value,e))}append(e,r){return this._result(Kr(this.value,e,r))}prepend(e,r){return this._result(Qr(this.value,e,r))}reverse(e){return this._result(pr(this.value,e))}shuffle(){return this._result(dr(this.value))}slice(e){return this._result(zr(this.value,e))}snake(){return this._result(mr(this.value))}split(e,r,l){return this._result(qr(this.value,e,r,l))}sprintf(...e){return this._result(ke(this.value,...e))}vsprintf(...e){return this._result(Yr(this.value,...e))}startsWith(e,r){return Rr(this.value,e,r)}stripBoom(){return this._result(Mr(this.value))}stripTags(e){return this._result(Hr(this.value,e))}stripTagsAll(){return this._result(Vr(this.value))}strip(e,r){return this._result(Wr(this.value,e,r))}substring(e,r){return this._result(se(this.value,e,r))}swap(){return this._result(hr(this.value))}title(e,r){return this._result(ur(this.value,e,r))}trim(e){return this._result(_e(this.value,e))}ltrim(e){return this._result(uo(this.value,e))}rtrim(e){return this._result(fo(this.value,e))}truncate(e,r){return this._result(ho(this.value,e,r))}truncateWithAlign(e,r){return this._result(Cr(this.value,e,r))}unescapeHtml(){return this._result(vr(this.value))}unique(e){return this._result(kr(this.value,e))}uniqueWords(e,r){return this._result(wr(this.value,e,r))}upper(){return this._result(mo(this.value))}words(e,r){return Dt(this.value,e,r)}wrap(e,r){return this._result(Xr(this.value,e,r))}wrapTag(e){return this._result(Gr(this.value,e))}shorten(e,r){return this._result($r(this.value,e,r))}nvl(...e){return this._result(ta(this.value,...e))}};Object.assign(Ce,ar);var bo=(e,r=!0)=>new Ce(e,{mutable:r}),Xl="0.10.2",Zl="18.05.2025, 14:39:06",Jl=()=>{console.info(`%c String %c v${Xl} %c ${Zl} `,"color: #000000; font-weight: bold; background: #fff200","color: white; background: darkgreen","color: white; background: #0080fe;")};Ce.info=Jl;globalThis.Str=Ce;globalThis.str=bo;var Kl=["opacity","zIndex"];function Ql(){return null}function Ml(e){return typeof e=="string"||typeof e=="boolean"||typeof e=="number"}function he(e){let r=getComputedStyle(e),l=!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length),t=r.visibility!=="hidden"&&r.display!=="none"&&r.opacity!=="0"&&e.style.display!=="none";return l&&t}function $l(e){let r=getComputedStyle(e);return!he(e)||+r.opacity==0||e.hidden||r.visibility==="hidden"}function O(e){return e==null}function dt(e){return e.replace(/-([a-z])/g,function(r,l){return l.toUpperCase()})}function ts(e){return e.replace(/([A-Z])/g,function(r){return"-"+r.toLowerCase()})}function Xt(e){let r;return!e||Object.prototype.toString.call(e)!=="[object Object]"?!1:(r=e.prototype!==void 0,r?r.constructor&&typeof r.constructor=="function":!0)}function Wt(e){for(let r in e)if(Rt(e,r))return!1;return!0}function ue(e){return e instanceof Object&&"length"in e}function Gt(e,r){return r=r||" ",e.split(r).map(function(l){return(""+l).trim()}).filter(function(l){return l!==""})}function ce(e,r){return r||(r=[0,""]),e=String(e),r[0]=parseFloat(e),r[1]=e.match(/[\d.\-+]*\s*(.*)/)[1]||"",r}function la(e,r){let l=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn|fr|lh|cqw|cqh|cqi|cqb|cqmin|cqmax|q)?$/.exec(e);return typeof l[1]<"u"?l[1]:r}function ea(e,r,l){r=dt(r),["scrollLeft","scrollTop"].indexOf(r)>-1?e[r]=parseInt(l):e.style[r]=isNaN(l)||Kl.indexOf(""+r)>-1?l:parseInt(l)===0?0:l+"px"}function sa(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType}function xo(e){return typeof e!="string"?void 0:e.replace(/-/g,"").toLowerCase()}function Rt(e,r){return Object.prototype.hasOwnProperty.call(e,r)}function oa(e){let r=e||globalThis.location.hostname;return r==="localhost"||r==="127.0.0.1"||r==="[::1]"||r===""||r.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)!==null}function es(){return"ontouchstart"in window||navigator.maxTouchPoints>0}function os(e){let r=e||globalThis.location.hostname;return/(^localhost)|(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2\d\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/.test(r)}function rs(e){try{return JSON.parse(e)}catch{return e}}var ht=Element.prototype.matches,g=(e,r)=>new g.init(e,r);g.version="1.5.1";g.build_time="18.05.2025, 14:45:23";g.info=()=>console.info(`%c Dom %c v${g.version} %c ${g.build_time} `,"color: white; font-weight: bold; background: #fd6a02","color: white; background: darkgreen","color: white; background: #0080fe;");g.fn=g.prototype=Object.create(Array.prototype);g.prototype.constructor=g;g.prototype.uid="";g.extend=g.fn.extend=function(){let e,r,l=arguments[0]||{},t=1,o=arguments.length;for(typeof l!="object"&&typeof l!="function"&&(l={}),t===o&&(l=this,t--);t<o;t++)if((e=arguments[t])!=null)for(r in e)Rt(e,r)&&(l[r]=e[r]);return l};g.assign=function(){let e,r,l=arguments[0]||{},t=1,o=arguments.length;for(typeof l!="object"&&typeof l!="function"&&(l={}),t===o&&(l=this,t--);t<o;t++)if((e=arguments[t])!=null)for(r in e)Rt(e,r)&&e[r]!==void 0&&(l[r]=e[r]);return l};(function(e){try{let s=new Blob([` |
| 17 | var fakeIdToId = {}; |
| 18 | onmessage = function (event) { |
| 19 | var data = event.data, |
no test coverage detected