-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathNcDateTimePicker-BILs1ew8.chunk.mjs
More file actions
3876 lines (3876 loc) Β· 273 KB
/
NcDateTimePicker-BILs1ew8.chunk.mjs
File metadata and controls
3876 lines (3876 loc) Β· 273 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*! third party licenses: js/vendor.LICENSE.txt */
import{n as $0,t as k,G as Kt,u as Jt,r as Et,q as ce,s as Re,N as Fe,l as mt,v as Ne,w as de,x as Oe,y as he,z as Ye,A as me,B as Me,S as fe}from"./logreader-main.mjs";import Ze from"./NcSelect-DyYsU6YI.chunk.mjs";import"./colors-D3xlq-id-BUp7eygq.chunk.mjs";function qt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function K0(e){return qt(e)?new Date(e.getTime()):e==null?new Date(NaN):new Date(e)}function pe(e){return qt(e)&&!isNaN(e.getTime())}function Xt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!(t>=0&&t<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var r=K0(e),T=r.getDay(),i=(T+7-t)%7;return r.setDate(r.getDate()-i),r.setHours(0,0,0,0),r}function te(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.firstDayOfWeek,T=r===void 0?0:r,i=t.firstWeekContainsDate,a=i===void 0?1:i;if(!(a>=1&&a<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7");for(var n=K0(e),s=n.getFullYear(),A=new Date(0),o=s+1;o>=s-1&&(A.setFullYear(o,0,a),A.setHours(0,0,0,0),A=Xt(A,T),!(n.getTime()>=A.getTime()));o--);return A}function Ft(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.firstDayOfWeek,T=r===void 0?0:r,i=t.firstWeekContainsDate,a=i===void 0?1:i,n=K0(e),s=Xt(n,T),A=te(n,{firstDayOfWeek:T,firstWeekContainsDate:a}),o=s.getTime()-A.getTime();return Math.round(o/(7*24*3600*1e3))+1}var ee={months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],firstDayOfWeek:0,firstWeekContainsDate:1},Be=/\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;function v(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r="".concat(Math.abs(e)),T=e<0?"-":"";r.length<t;)r="0".concat(r);return T+r}function Mt(e){return Math.round(e.getTimezoneOffset()/15)*15}function ft(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=e>0?"-":"+",T=Math.abs(e),i=Math.floor(T/60),a=T%60;return r+v(i,2)+t+v(a,2)}var Zt=function(e,t,r){var T=e<12?"AM":"PM";return r?T.toLocaleLowerCase():T},M0={Y:function(e){var t=e.getFullYear();return t<=9999?"".concat(t):"+".concat(t)},YY:function(e){return v(e.getFullYear(),4).substr(2)},YYYY:function(e){return v(e.getFullYear(),4)},M:function(e){return e.getMonth()+1},MM:function(e){return v(e.getMonth()+1,2)},MMM:function(e,t){return t.monthsShort[e.getMonth()]},MMMM:function(e,t){return t.months[e.getMonth()]},D:function(e){return e.getDate()},DD:function(e){return v(e.getDate(),2)},H:function(e){return e.getHours()},HH:function(e){return v(e.getHours(),2)},h:function(e){var t=e.getHours();return t===0?12:t>12?t%12:t},hh:function(){var e=M0.h.apply(M0,arguments);return v(e,2)},m:function(e){return e.getMinutes()},mm:function(e){return v(e.getMinutes(),2)},s:function(e){return e.getSeconds()},ss:function(e){return v(e.getSeconds(),2)},S:function(e){return Math.floor(e.getMilliseconds()/100)},SS:function(e){return v(Math.floor(e.getMilliseconds()/10),2)},SSS:function(e){return v(e.getMilliseconds(),3)},d:function(e){return e.getDay()},dd:function(e,t){return t.weekdaysMin[e.getDay()]},ddd:function(e,t){return t.weekdaysShort[e.getDay()]},dddd:function(e,t){return t.weekdays[e.getDay()]},A:function(e,t){var r=t.meridiem||Zt;return r(e.getHours(),e.getMinutes(),!1)},a:function(e,t){var r=t.meridiem||Zt;return r(e.getHours(),e.getMinutes(),!0)},Z:function(e){return ft(Mt(e),":")},ZZ:function(e){return ft(Mt(e))},X:function(e){return Math.floor(e.getTime()/1e3)},x:function(e){return e.getTime()},w:function(e,t){return Ft(e,{firstDayOfWeek:t.firstDayOfWeek,firstWeekContainsDate:t.firstWeekContainsDate})},ww:function(e,t){return v(M0.w(e,t),2)}};function J0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},T=t?String(t):"YYYY-MM-DDTHH:mm:ss.SSSZ",i=K0(e);if(!pe(i))return"Invalid Date";var a=r.locale||ee;return T.replace(Be,function(n,s){return s||(typeof M0[n]=="function"?"".concat(M0[n](i,a)):n)})}function pt(e){return Ie(e)||ye(e)||ge()}function ge(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function ye(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function Ie(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function Bt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(e);t&&(T=T.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,T)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Bt(r,!0).forEach(function(T){e0(e,T,r[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bt(r).forEach(function(T){Object.defineProperty(e,T,Object.getOwnPropertyDescriptor(r,T))})}return e}function Ge(e,t){return ve(e)||Ue(e,t)||He()}function He(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Ue(e,t){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]"){var r=[],T=!0,i=!1,a=void 0;try{for(var n=e[Symbol.iterator](),s;!(T=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));T=!0);}catch(A){i=!0,a=A}finally{try{!T&&n.return!=null&&n.return()}finally{if(i)throw a}}return r}}function ve(e){if(Array.isArray(e))return e}function e0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ce=/(\[[^\[]*\])|(MM?M?M?|Do|DD?|ddd?d?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|S{1,3}|x|X|ZZ?|.)/g,re=/\d/,t0=/\d\d/,be=/\d{3}/,_e=/\d{4}/,c0=/\d\d?/,we=/[+-]\d\d:?\d\d/,Te=/[+-]?\d+/,ke=/[+-]?\d+(\.\d{1,3})?/,Tt="year",U0="month",gt="day",yt="hour",It="minute",Lt="second",it="millisecond",ie={},h=function(e,t,r){var T=Array.isArray(e)?e:[e],i;typeof r=="string"?i=function(a){var n=parseInt(a,10);return e0({},r,n)}:i=r,T.forEach(function(a){ie[a]=[t,i]})},xe=function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},f0=function(e){return function(t){var r=t[e];if(!Array.isArray(r))throw new Error("Locale[".concat(e,"] need an array"));return new RegExp(r.map(xe).join("|"))}},Z0=function(e,t){return function(r,T){var i=T[e];if(!Array.isArray(i))throw new Error("Locale[".concat(e,"] need an array"));var a=i.indexOf(r);if(a<0)throw new Error("Invalid Word");return e0({},t,a)}};h("Y",Te,Tt),h("YY",t0,function(e){var t=new Date().getFullYear(),r=Math.floor(t/100),T=parseInt(e,10);return T=(T>68?r-1:r)*100+T,e0({},Tt,T)}),h("YYYY",_e,Tt),h("M",c0,function(e){return e0({},U0,parseInt(e,10)-1)}),h("MM",t0,function(e){return e0({},U0,parseInt(e,10)-1)}),h("MMM",f0("monthsShort"),Z0("monthsShort",U0)),h("MMMM",f0("months"),Z0("months",U0)),h("D",c0,gt),h("DD",t0,gt),h(["H","h"],c0,yt),h(["HH","hh"],t0,yt),h("m",c0,It),h("mm",t0,It),h("s",c0,Lt),h("ss",t0,Lt),h("S",re,function(e){return e0({},it,parseInt(e,10)*100)}),h("SS",t0,function(e){return e0({},it,parseInt(e,10)*10)}),h("SSS",be,it);function Pe(e){return e.meridiemParse||/[ap]\.?m?\.?/i}function Qe(e){return"".concat(e).toLowerCase().charAt(0)==="p"}h(["A","a"],Pe,function(e,t){var r=typeof t.isPM=="function"?t.isPM(e):Qe(e);return{isPM:r}});function ze(e){var t=e.match(/([+-]|\d\d)/g)||["-","0","0"],r=Ge(t,3),T=r[0],i=r[1],a=r[2],n=parseInt(i,10)*60+parseInt(a,10);return n===0?0:T==="+"?-n:+n}h(["Z","ZZ"],we,function(e){return{offset:ze(e)}}),h("x",Te,function(e){return{date:new Date(parseInt(e,10))}}),h("X",ke,function(e){return{date:new Date(parseFloat(e)*1e3)}}),h("d",re,"weekday"),h("dd",f0("weekdaysMin"),Z0("weekdaysMin","weekday")),h("ddd",f0("weekdaysShort"),Z0("weekdaysShort","weekday")),h("dddd",f0("weekdays"),Z0("weekdays","weekday")),h("w",c0,"week"),h("ww",t0,"week");function Ve(e,t){if(e!==void 0&&t!==void 0){if(t){if(e<12)return e+12}else if(e===12)return 0}return e}function je(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Date,r=[0,0,1,0,0,0,0],T=[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()],i=!0,a=0;a<7;a++)e[a]===void 0?r[a]=i?T[a]:r[a]:(r[a]=e[a],i=!1);return r}function We(e,t,r,T,i,a,n){var s;return e<100&&e>=0?(s=new Date(e+400,t,r,T,i,a,n),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,T,i,a,n),s}function $e(){for(var e,t=arguments.length,r=new Array(t),T=0;T<t;T++)r[T]=arguments[T];var i=r[0];return i<100&&i>=0?(r[0]+=400,e=new Date(Date.UTC.apply(Date,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(i)):e=new Date(Date.UTC.apply(Date,r)),e}function Ke(e,t,r){var T=t.match(Ce);if(!T)throw new Error;for(var i=T.length,a={},n=0;n<i;n+=1){var s=T[n],A=ie[s];if(A){var o=typeof A[0]=="function"?A[0](r):A[0],l=A[1],D=(o.exec(e)||[])[0],S=l(D,r);a=Le({},a,{},S),e=e.replace(D,"")}else{var c=s.replace(/^\[|\]$/g,"");if(e.indexOf(c)===0)e=e.substr(c.length);else throw new Error("not match")}}return a}function Je(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};try{var T=r.locale,i=T===void 0?ee:T,a=r.backupDate,n=a===void 0?new Date:a,s=Ke(e,t,i),A=s.year,o=s.month,l=s.day,D=s.hour,S=s.minute,c=s.second,R=s.millisecond,u=s.isPM,F=s.date,f=s.offset,S0=s.weekday,$=s.week;if(F)return F;var et=[A,o,l,D,S,c,R];if(et[3]=Ve(et[3],u),$!==void 0&&o===void 0&&l===void 0){var Se=te(A===void 0?n:new Date(A,3),{firstDayOfWeek:i.firstDayOfWeek,firstWeekContainsDate:i.firstWeekContainsDate});return new Date(Se.getTime()+($-1)*7*24*3600*1e3)}var H0,rt=je(et,n);return f!==void 0?(rt[6]+=f*60*1e3,H0=$e.apply(void 0,pt(rt))):H0=We.apply(void 0,pt(rt)),S0!==void 0&&H0.getDay()!==S0?new Date(NaN):H0}catch{return new Date(NaN)}}function P0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P0=function(t){return typeof t}:P0=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P0(e)}function A0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dt(){return Dt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var T in r)Object.prototype.hasOwnProperty.call(r,T)&&(e[T]=r[T])}return e},Dt.apply(this,arguments)}function Gt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(e);t&&(T=T.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,T)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Gt(Object(r),!0).forEach(function(T){A0(e,T,r[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gt(Object(r)).forEach(function(T){Object.defineProperty(e,T,Object.getOwnPropertyDescriptor(r,T))})}return e}function qe(e,t){if(e==null)return{};var r={},T=Object.keys(e),i,a;for(a=0;a<T.length;a++)i=T[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Xe(e,t){if(e==null)return{};var r=qe(e,t),T,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)T=a[i],!(t.indexOf(T)>=0)&&Object.prototype.propertyIsEnumerable.call(e,T)&&(r[T]=e[T])}return r}function p0(e,t){return tr(e)||er(e,t)||rr(e,t)||Tr()}function tr(e){if(Array.isArray(e))return e}function er(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],T=!0,i=!1,a=void 0;try{for(var n=e[Symbol.iterator](),s;!(T=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));T=!0);}catch(A){i=!0,a=A}finally{try{!T&&n.return!=null&&n.return()}finally{if(i)throw a}}return r}}function rr(e,t){if(e){if(typeof e=="string")return Ht(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ht(e,t)}}function Ht(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,T=new Array(t);r<t;r++)T[r]=e[r];return T}function Tr(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ut(){return ut=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var T in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,T)&&(e[T]=t[T]);return e},ut.apply(this,arguments)}var ir=["attrs","props","domProps"],ar=["class","style","directives"],nr=["on","nativeOn"],sr=function(e){return e.reduce(function(t,r){for(var T in r)if(!t[T])t[T]=r[T];else if(ir.indexOf(T)!==-1)t[T]=ut({},t[T],r[T]);else if(ar.indexOf(T)!==-1){var i=t[T]instanceof Array?t[T]:[t[T]],a=r[T]instanceof Array?r[T]:[r[T]];t[T]=i.concat(a)}else if(nr.indexOf(T)!==-1)for(var n in r[T])if(t[T][n]){var s=t[T][n]instanceof Array?t[T][n]:[t[T][n]],A=r[T][n]instanceof Array?r[T][n]:[r[T][n]];t[T][n]=s.concat(A)}else t[T][n]=r[T][n];else if(T=="hook")for(var o in r[T])t[T][o]=t[T][o]?Ar(t[T][o],r[T][o]):r[T][o];else t[T]=r[T];return t},{})},Ar=function(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}},y0=sr;function j(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,n=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,s=new Date(e,t,r,T,i,a,n);return e<100&&e>=0&&s.setFullYear(e),s}function W(e){return e instanceof Date&&!isNaN(e)}function q0(e){return Array.isArray(e)&&e.length===2&&e.every(W)&&e[0]<=e[1]}function or(e){return Array.isArray(e)&&e.every(W)}function N0(e){var t=new Date(e);if(W(t))return t;for(var r=arguments.length,T=new Array(r>1?r-1:0),i=1;i<r;i++)T[i-1]=arguments[i];return T.length?N0.apply(void 0,T):new Date}function lr(e){var t=new Date(e);return t.setMonth(0,1),t.setHours(0,0,0,0),t}function St(e){var t=new Date(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Er(e){var t=new Date(e);return t.setHours(0,0,0,0),t}function Dr(e){for(var t=e.firstDayOfWeek,r=e.year,T=e.month,i=[],a=j(r,T,0),n=a.getDate(),s=n-(a.getDay()+7-t)%7,A=s;A<=n;A++)i.push(j(r,T,A-n));a.setMonth(T+1,0);for(var o=a.getDate(),l=1;l<=o;l++)i.push(j(r,T,l));for(var D=n-s+1,S=6*7-D-o,c=1;c<=S;c++)i.push(j(r,T,o+c));return i}function ct(e,t){var r=new Date(e),T=typeof t=="function"?t(r.getMonth()):Number(t),i=r.getFullYear(),a=j(i,T+1,0).getDate(),n=r.getDate();return r.setMonth(T,Math.min(n,a)),r}function d0(e,t){var r=new Date(e),T=typeof t=="function"?t(r.getFullYear()):t;return r.setFullYear(T),r}function V0(e,t){var r=new Date(e),T=new Date(t);return r.setHours(T.getHours(),T.getMinutes(),T.getSeconds()),r}function Nt(e,t){if(!Array.isArray(e))return[];var r=[],T=e.length,i=0;for(t=t||T;i<T;)r.push(e.slice(i,i+=t));return r}function P(e){return Object.prototype.toString.call(e)==="[object Object]"}function O0(e,t){if(!P(e))return{};Array.isArray(t)||(t=[t]);var r={};return t.forEach(function(T){T in e&&(r[T]=e[T])}),r}function ae(e,t){if(!P(e))return{};var r=e;return P(t)&&Object.keys(t).forEach(function(T){var i=t[T];P(i)&&P(e[T])&&(i=ae(e[T],i)),r=m({},r,A0({},T,i))}),r}function ur(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Sr(e,t){return t={exports:{}},e(t,t.exports),t.exports}var cr=Sr(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],firstDayOfWeek:0,firstWeekContainsDate:1},T=r;t.default=T,e.exports=t.default}),Rr=ur(cr),Fr={formatLocale:Rr,yearFormat:"YYYY",monthFormat:"MMM",monthBeforeYear:!0},m0="en",R0={};R0[m0]=Fr;function ne(e,t,r){if(typeof e!="string")return R0[m0];var T=m0;return R0[e]&&(T=e),t&&(R0[e]=t,T=e),r||(m0=T),R0[e]||R0[m0]}function h0(e){return ne(e,null,!0)}function Nr(e){var t=!1;return function(){for(var r=this,T=arguments.length,i=new Array(T),a=0;a<T;a++)i[a]=arguments[a];t||(t=!0,requestAnimationFrame(function(){t=!1,e.apply(r,i)}))}}function dr(e){var t=e.style.display,r=e.style.visibility;e.style.display="block",e.style.visibility="hidden";var T=window.getComputedStyle(e),i=e.offsetWidth+parseInt(T.marginLeft,10)+parseInt(T.marginRight,10),a=e.offsetHeight+parseInt(T.marginTop,10)+parseInt(T.marginBottom,10);return e.style.display=t,e.style.visibility=r,{width:i,height:a}}function Or(e,t,r,T){var i=0,a=0,n=0,s=0,A=e.getBoundingClientRect(),o=document.documentElement.clientWidth,l=document.documentElement.clientHeight;return T&&(n=window.pageXOffset+A.left,s=window.pageYOffset+A.top),o-A.left<t&&A.right<t?i=n-A.left+1:A.left+A.width/2<=o/2?i=n:i=n+A.width-t,A.top<=r&&l-A.bottom<=r?a=s+l-A.top-r:A.top+A.height/2<=l/2?a=s+A.height:a=s-r,{left:"".concat(i,"px"),top:"".concat(a,"px")}}function X0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document.body;if(!e||e===t)return null;var r=function(a,n){return getComputedStyle(a,null).getPropertyValue(n)},T=/(auto|scroll)/,i=T.test(r(e,"overflow")+r(e,"overflow-y")+r(e,"overflow-x"));return i?e:X0(e.parentNode,t)}var hr={name:"Popup",inject:{prefixClass:{default:"mx"}},props:{visible:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0}},data:function(){return{top:"",left:""}},watch:{visible:{immediate:!0,handler:function(e){var t=this;this.$nextTick(function(){e&&t.displayPopup()})}}},mounted:function(){var e=this;this.appendToBody&&document.body.appendChild(this.$el),this._clickoutEvent="ontouchend"in document?"touchstart":"mousedown",document.addEventListener(this._clickoutEvent,this.handleClickOutside);var t=this.$parent.$el;this._displayPopup=Nr(function(){return e.displayPopup()}),this._scrollParent=X0(t)||window,this._scrollParent.addEventListener("scroll",this._displayPopup),window.addEventListener("resize",this._displayPopup)},beforeDestroy:function(){this.appendToBody&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el),document.removeEventListener(this._clickoutEvent,this.handleClickOutside),this._scrollParent.removeEventListener("scroll",this._displayPopup),window.removeEventListener("resize",this._displayPopup)},methods:{handleClickOutside:function(e){if(this.visible){var t=e.target,r=this.$el;r&&!r.contains(t)&&this.$emit("clickoutside",e)}},displayPopup:function(){if(this.visible){var e=this.$el,t=this.$parent.$el,r=this.appendToBody;this._popupRect||(this._popupRect=dr(e));var T=this._popupRect,i=T.width,a=T.height,n=Or(t,i,a,r),s=n.left,A=n.top;this.left=s,this.top=A}}}};function _(e,t,r,T,i,a,n,s,A,o){var l=typeof r=="function"?r.options:r;return e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0),r}var Yr=hr,mr=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("transition",{attrs:{name:e.prefixClass+"-zoom-in-down"}},[e.visible?r("div",{class:e.prefixClass+"-datepicker-main "+e.prefixClass+"-datepicker-popup",style:{top:e.top,left:e.left,position:"absolute"}},[e._t("default")],2):e._e()])},Mr=[],fr=void 0,Zr=_({render:mr,staticRenderFns:Mr},fr,Yr),pr=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"1em",height:"1em"}},[r("path",{attrs:{d:"M940.218182 107.054545h-209.454546V46.545455h-65.163636v60.50909H363.054545V46.545455H297.890909v60.50909H83.781818c-18.618182 0-32.581818 13.963636-32.581818 32.581819v805.236363c0 18.618182 13.963636 32.581818 32.581818 32.581818h861.090909c18.618182 0 32.581818-13.963636 32.581818-32.581818V139.636364c-4.654545-18.618182-18.618182-32.581818-37.236363-32.581819zM297.890909 172.218182V232.727273h65.163636V172.218182h307.2V232.727273h65.163637V172.218182h176.872727v204.8H116.363636V172.218182h181.527273zM116.363636 912.290909V442.181818h795.927273v470.109091H116.363636z"}})])},Br=[],gr=void 0,yr=_({render:pr,staticRenderFns:Br},gr,{}),Ir=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em"}},[r("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e._v(" "),r("path",{attrs:{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}}),e._v(" "),r("path",{attrs:{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"}})])},Lr=[],Gr=void 0,Hr=_({render:Ir,staticRenderFns:Lr},Gr,{}),Ur=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"1em",height:"1em"}},[r("path",{attrs:{d:"M810.005333 274.005333l-237.994667 237.994667 237.994667 237.994667-60.010667 60.010667-237.994667-237.994667-237.994667 237.994667-60.010667-60.010667 237.994667-237.994667-237.994667-237.994667 60.010667-60.010667 237.994667 237.994667 237.994667-237.994667z"}})])},vr=[],Cr=void 0,br=_({render:Ur,staticRenderFns:vr},Cr,{}),_r={props:{type:String,disabled:Boolean},inject:{prefixClass:{default:"mx"}}},wr=_r,kr=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("button",e._g({class:[e.prefixClass+"-btn "+e.prefixClass+"-btn-text "+e.prefixClass+"-btn-icon-"+e.type,{disabled:e.disabled}],attrs:{type:"button",disabled:e.disabled}},e.$listeners),[r("i",{class:e.prefixClass+"-icon-"+e.type})])},xr=[],Pr=void 0,dt=_({render:kr,staticRenderFns:xr},Pr,wr),Qr={name:"TableDate",components:{IconButton:dt},inject:{getLocale:{default:function(){return h0}},getWeek:{default:function(){return Ft}},prefixClass:{default:"mx"},onDateMouseEnter:{default:void 0},onDateMouseLeave:{default:void 0}},props:{disabledCalendarChanger:{type:Function,default:function(){return!1}},calendar:{type:Date,default:function(){return new Date}},showWeekNumber:{type:Boolean,default:!1},titleFormat:{type:String,default:"YYYY-MM-DD"},getRowClasses:{type:Function,default:function(){return[]}},getCellClasses:{type:Function,default:function(){return[]}}},computed:{firstDayOfWeek:function(){return this.getLocale().formatLocale.firstDayOfWeek||0},yearMonth:function(){var e=this.getLocale(),t=e.yearFormat,r=e.monthBeforeYear,T=e.monthFormat,i=T===void 0?"MMM":T,a={panel:"year",label:this.formatDate(this.calendar,t)},n={panel:"month",label:this.formatDate(this.calendar,i)};return r?[n,a]:[a,n]},days:function(){var e=this.getLocale(),t=e.days||e.formatLocale.weekdaysMin;return t.concat(t).slice(this.firstDayOfWeek,this.firstDayOfWeek+7)},dates:function(){var e=this.calendar.getFullYear(),t=this.calendar.getMonth(),r=Dr({firstDayOfWeek:this.firstDayOfWeek,year:e,month:t});return Nt(r,7)}},methods:{isDisabledArrows:function(e){var t=new Date(this.calendar);switch(e){case"last-year":t.setFullYear(t.getFullYear()-1,t.getMonth()+1,0),t.setHours(23,59,59,999);break;case"next-year":t.setFullYear(t.getFullYear()+1);break;case"last-month":t.setMonth(t.getMonth(),0),t.setHours(23,59,59,999);break;case"next-month":t.setMonth(t.getMonth()+1);break}return this.disabledCalendarChanger(t,e)},handleIconLeftClick:function(){this.$emit("changecalendar",ct(this.calendar,function(e){return e-1}),"last-month")},handleIconRightClick:function(){this.$emit("changecalendar",ct(this.calendar,function(e){return e+1}),"next-month")},handleIconDoubleLeftClick:function(){this.$emit("changecalendar",d0(this.calendar,function(e){return e-1}),"last-year")},handleIconDoubleRightClick:function(){this.$emit("changecalendar",d0(this.calendar,function(e){return e+1}),"next-year")},handlePanelChange:function(e){this.$emit("changepanel",e)},handleMouseEnter:function(e){typeof this.onDateMouseEnter=="function"&&this.onDateMouseEnter(e)},handleMouseLeave:function(e){typeof this.onDateMouseLeave=="function"&&this.onDateMouseLeave(e)},handleCellClick:function(e){var t=e.target;t.tagName.toUpperCase()==="DIV"&&(t=t.parentNode);var r=t.getAttribute("data-row-col");if(r){var T=r.split(",").map(function(A){return parseInt(A,10)}),i=p0(T,2),a=i[0],n=i[1],s=this.dates[a][n];this.$emit("select",new Date(s))}},formatDate:function(e,t){return J0(e,t,{locale:this.getLocale().formatLocale})},getCellTitle:function(e){var t=this.titleFormat;return this.formatDate(e,t)},getWeekNumber:function(e){return this.getWeek(e,this.getLocale().formatLocale)}}},zr=Qr,Vr=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.prefixClass+"-calendar "+e.prefixClass+"-calendar-panel-date"},[r("div",{class:e.prefixClass+"-calendar-header"},[r("icon-button",{attrs:{type:"double-left",disabled:e.isDisabledArrows("last-year")},on:{click:e.handleIconDoubleLeftClick}}),e._v(" "),r("icon-button",{attrs:{type:"left",disabled:e.isDisabledArrows("last-month")},on:{click:e.handleIconLeftClick}}),e._v(" "),r("icon-button",{attrs:{type:"double-right",disabled:e.isDisabledArrows("next-year")},on:{click:e.handleIconDoubleRightClick}}),e._v(" "),r("icon-button",{attrs:{type:"right",disabled:e.isDisabledArrows("next-month")},on:{click:e.handleIconRightClick}}),e._v(" "),r("span",{class:e.prefixClass+"-calendar-header-label"},e._l(e.yearMonth,function(T){return r("button",{key:T.panel,class:e.prefixClass+"-btn "+e.prefixClass+"-btn-text "+e.prefixClass+"-btn-current-"+T.panel,attrs:{type:"button"},on:{click:function(i){return e.handlePanelChange(T.panel)}}},[e._v(`
`+e._s(T.label)+`
`)])}),0)],1),e._v(" "),r("div",{class:e.prefixClass+"-calendar-content"},[r("table",{class:e.prefixClass+"-table "+e.prefixClass+"-table-date"},[r("thead",[r("tr",[e.showWeekNumber?r("th",{class:e.prefixClass+"-week-number-header"}):e._e(),e._v(" "),e._l(e.days,function(T){return r("th",{key:T},[e._v(e._s(T))])})],2)]),e._v(" "),r("tbody",{on:{click:e.handleCellClick}},e._l(e.dates,function(T,i){return r("tr",{key:i,class:[e.prefixClass+"-date-row",e.getRowClasses(T)]},[e.showWeekNumber?r("td",{class:e.prefixClass+"-week-number",attrs:{"data-row-col":i+",0"}},[e._v(`
`+e._s(e.getWeekNumber(T[0]))+`
`)]):e._e(),e._v(" "),e._l(T,function(a,n){return r("td",{key:n,staticClass:"cell",class:e.getCellClasses(a),attrs:{"data-row-col":i+","+n,title:e.getCellTitle(a)},on:{mouseenter:function(s){return e.handleMouseEnter(a)},mouseleave:function(s){return e.handleMouseLeave(a)}}},[r("div",[e._v(e._s(a.getDate()))])])})],2)}),0)])])])},jr=[],Wr=void 0,$r=_({render:Vr,staticRenderFns:jr},Wr,zr),Kr={name:"TableMonth",components:{IconButton:dt},inject:{getLocale:{default:function(){return h0}},prefixClass:{default:"mx"}},props:{disabledCalendarChanger:{type:Function,default:function(){return!1}},calendar:{type:Date,default:function(){return new Date}},getCellClasses:{type:Function,default:function(){return[]}}},computed:{calendarYear:function(){return this.calendar.getFullYear()},months:function(){var e=this.getLocale(),t=e.months||e.formatLocale.monthsShort,r=t.map(function(T,i){return{text:T,month:i}});return Nt(r,3)}},methods:{isDisabledArrows:function(e){var t=new Date(this.calendar);switch(e){case"last-year":t.setFullYear(t.getFullYear()-1,11,31),t.setHours(23,59,59,999);break;case"next-year":t.setFullYear(t.getFullYear()+1,0,1);break}return this.disabledCalendarChanger(t,e)},handleIconDoubleLeftClick:function(){this.$emit("changecalendar",d0(this.calendar,function(e){return e-1}),"last-year")},handleIconDoubleRightClick:function(){this.$emit("changecalendar",d0(this.calendar,function(e){return e+1}),"next-year")},handlePanelChange:function(){this.$emit("changepanel","year")},handleClick:function(e){var t=e.target;t.tagName.toUpperCase()==="DIV"&&(t=t.parentNode);var r=t.getAttribute("data-month");r&&!t.classList.contains("disabled")&&this.$emit("select",parseInt(r,10))}}},Jr=Kr,qr=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.prefixClass+"-calendar "+e.prefixClass+"-calendar-panel-month"},[r("div",{class:e.prefixClass+"-calendar-header"},[r("icon-button",{attrs:{type:"double-left",disabled:e.isDisabledArrows("last-year")},on:{click:e.handleIconDoubleLeftClick}}),e._v(" "),r("icon-button",{attrs:{type:"double-right",disabled:e.isDisabledArrows("next-year")},on:{click:e.handleIconDoubleRightClick}}),e._v(" "),r("span",{class:e.prefixClass+"-calendar-header-label"},[r("button",{class:e.prefixClass+"-btn "+e.prefixClass+"-btn-text",attrs:{type:"button"},on:{click:e.handlePanelChange}},[e._v(`
`+e._s(e.calendarYear)+`
`)])])],1),e._v(" "),r("div",{class:e.prefixClass+"-calendar-content"},[r("table",{class:e.prefixClass+"-table "+e.prefixClass+"-table-month",on:{click:e.handleClick}},e._l(e.months,function(T,i){return r("tr",{key:i},e._l(T,function(a,n){return r("td",{key:n,staticClass:"cell",class:e.getCellClasses(a.month),attrs:{"data-month":a.month}},[r("div",[e._v(e._s(a.text))])])}),0)}),0)])])},Xr=[],tT=void 0,eT=_({render:qr,staticRenderFns:Xr},tT,Jr),rT={name:"TableYear",components:{IconButton:dt},inject:{prefixClass:{default:"mx"}},props:{disabledCalendarChanger:{type:Function,default:function(){return!1}},calendar:{type:Date,default:function(){return new Date}},getCellClasses:{type:Function,default:function(){return[]}},getYearPanel:{type:Function}},computed:{years:function(){var e=new Date(this.calendar);return typeof this.getYearPanel=="function"?this.getYearPanel(e):this.getYears(e)},firstYear:function(){return this.years[0][0]},lastYear:function(){var e=function(t){return t[t.length-1]};return e(e(this.years))}},methods:{isDisabledArrows:function(e){var t=new Date(this.calendar);switch(e){case"last-decade":t.setFullYear(this.firstYear-1,11,31),t.setHours(23,59,59,999);break;case"next-decade":t.setFullYear(this.lastYear+1,0,1);break}return this.disabledCalendarChanger(t,e)},getYears:function(e){for(var t=Math.floor(e.getFullYear()/10)*10,r=[],T=0;T<10;T++)r.push(t+T);return Nt(r,2)},handleIconDoubleLeftClick:function(){this.$emit("changecalendar",d0(this.calendar,function(e){return e-10}),"last-decade")},handleIconDoubleRightClick:function(){this.$emit("changecalendar",d0(this.calendar,function(e){return e+10}),"next-decade")},handleClick:function(e){var t=e.target;t.tagName.toUpperCase()==="DIV"&&(t=t.parentNode);var r=t.getAttribute("data-year");r&&!t.classList.contains("disabled")&&this.$emit("select",parseInt(r,10))}}},TT=rT,iT=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.prefixClass+"-calendar "+e.prefixClass+"-calendar-panel-year"},[r("div",{class:e.prefixClass+"-calendar-header"},[r("icon-button",{attrs:{type:"double-left",disabled:e.isDisabledArrows("last-decade")},on:{click:e.handleIconDoubleLeftClick}}),e._v(" "),r("icon-button",{attrs:{type:"double-right",disabled:e.isDisabledArrows("next-decade")},on:{click:e.handleIconDoubleRightClick}}),e._v(" "),r("span",{class:e.prefixClass+"-calendar-header-label"},[r("span",[e._v(e._s(e.firstYear))]),e._v(" "),r("span",{class:e.prefixClass+"-calendar-decade-separator"}),e._v(" "),r("span",[e._v(e._s(e.lastYear))])])],1),e._v(" "),r("div",{class:e.prefixClass+"-calendar-content"},[r("table",{class:e.prefixClass+"-table "+e.prefixClass+"-table-year",on:{click:e.handleClick}},e._l(e.years,function(T,i){return r("tr",{key:i},e._l(T,function(a,n){return r("td",{key:n,staticClass:"cell",class:e.getCellClasses(a),attrs:{"data-year":a}},[r("div",[e._v(e._s(a))])])}),0)}),0)])])},aT=[],nT=void 0,sT=_({render:iT,staticRenderFns:aT},nT,TT),o0={name:"CalendarPanel",inject:{prefixClass:{default:"mx"},dispatchDatePicker:{default:function(){return function(){}}}},props:{value:{},defaultValue:{default:function(){var e=new Date;return e.setHours(0,0,0,0),e}},defaultPanel:{type:String},disabledCalendarChanger:{type:Function,default:function(){return!1}},disabledDate:{type:Function,default:function(){return!1}},type:{type:String,default:"date"},getClasses:{type:Function,default:function(){return[]}},showWeekNumber:{type:Boolean,default:void 0},getYearPanel:{type:Function},titleFormat:{type:String,default:"YYYY-MM-DD"},calendar:Date,partialUpdate:{type:Boolean,default:!1}},data:function(){var e=["date","month","year"],t=Math.max(e.indexOf(this.type),e.indexOf(this.defaultPanel)),r=t!==-1?e[t]:"date";return{panel:r,innerCalendar:new Date}},computed:{innerValue:function(){var e=Array.isArray(this.value)?this.value:[this.value],t={year:lr,month:St,date:Er},r=t[this.type]||t.date;return e.filter(W).map(function(T){return r(T)})},calendarYear:function(){return this.innerCalendar.getFullYear()},calendarMonth:function(){return this.innerCalendar.getMonth()}},watch:{value:{immediate:!0,handler:"initCalendar"},calendar:{handler:"initCalendar"},defaultValue:{handler:"initCalendar"}},methods:{initCalendar:function(){var e=this.calendar;if(!W(e)){var t=this.innerValue.length;e=N0(t>0?this.innerValue[t-1]:this.defaultValue)}this.innerCalendar=St(e)},isDisabled:function(e){return this.disabledDate(new Date(e),this.innerValue)},emitDate:function(e,t){this.isDisabled(e)||(this.$emit("select",e,t,this.innerValue),this.dispatchDatePicker("pick",e,t))},handleCalendarChange:function(e,t){var r=new Date(this.innerCalendar);this.innerCalendar=e,this.$emit("update:calendar",e),this.dispatchDatePicker("calendar-change",e,r,t)},handelPanelChange:function(e){var t=this.panel;this.panel=e,this.dispatchDatePicker("panel-change",e,t)},handleSelectYear:function(e){if(this.type==="year"){var t=this.getYearCellDate(e);this.emitDate(t,"year")}else if(this.handleCalendarChange(j(e,this.calendarMonth),"year"),this.handelPanelChange("month"),this.partialUpdate&&this.innerValue.length===1){var r=new Date(this.innerValue[0]);r.setFullYear(e),this.emitDate(r,"year")}},handleSelectMonth:function(e){if(this.type==="month"){var t=this.getMonthCellDate(e);this.emitDate(t,"month")}else if(this.handleCalendarChange(j(this.calendarYear,e),"month"),this.handelPanelChange("date"),this.partialUpdate&&this.innerValue.length===1){var r=new Date(this.innerValue[0]);r.setFullYear(this.calendarYear),this.emitDate(ct(r,e),"month")}},handleSelectDate:function(e){this.emitDate(e,this.type==="week"?"week":"date")},getMonthCellDate:function(e){return j(this.calendarYear,e)},getYearCellDate:function(e){return j(e,0)},getDateClasses:function(e){var t=e.getMonth()!==this.calendarMonth,r=[];e.getTime()===new Date().setHours(0,0,0,0)&&r.push("today"),t&&r.push("not-current-month");var T=this.getStateClass(e);return T==="active"&&t||r.push(T),r.concat(this.getClasses(e,this.innerValue,r.join(" ")))},getMonthClasses:function(e){var t=[];if(this.type!=="month"){this.calendarMonth===e&&t.push("active");var r=this.getMonthCellDate(e);return this.disabledCalendarChanger(r,"month")&&t.push("disabled"),t}var T=this.getMonthCellDate(e);return t.push(this.getStateClass(T)),t.concat(this.getClasses(T,this.innerValue,t.join(" ")))},getYearClasses:function(e){var t=[];if(this.type!=="year"){this.calendarYear===e&&t.push("active");var r=this.getYearCellDate(e);return this.disabledCalendarChanger(r,"year")&&t.push("disabled"),t}var T=this.getYearCellDate(e);return t.push(this.getStateClass(T)),t.concat(this.getClasses(T,this.innerValue,t.join(" ")))},getStateClass:function(e){return this.isDisabled(e)?"disabled":this.innerValue.some(function(t){return t.getTime()===e.getTime()})?"active":""},getWeekState:function(e){if(this.type!=="week")return"";var t=e[0].getTime(),r=e[6].getTime(),T=this.innerValue.some(function(i){var a=i.getTime();return a>=t&&a<=r});return T?"".concat(this.prefixClass,"-active-week"):""}},render:function(){var e=arguments[0],t=this.panel,r=this.innerCalendar;return t==="year"?e(sT,{attrs:{disabledCalendarChanger:this.disabledCalendarChanger,calendar:r,getCellClasses:this.getYearClasses,getYearPanel:this.getYearPanel},on:{select:this.handleSelectYear,changecalendar:this.handleCalendarChange}}):t==="month"?e(eT,{attrs:{disabledCalendarChanger:this.disabledCalendarChanger,calendar:r,getCellClasses:this.getMonthClasses},on:{select:this.handleSelectMonth,changepanel:this.handelPanelChange,changecalendar:this.handleCalendarChange}}):e($r,{attrs:{disabledCalendarChanger:this.disabledCalendarChanger,calendar:r,getCellClasses:this.getDateClasses,getRowClasses:this.getWeekState,titleFormat:this.titleFormat,showWeekNumber:typeof this.showWeekNumber=="boolean"?this.showWeekNumber:this.type==="week"},class:A0({},"".concat(this.prefixClass,"-calendar-week-mode"),this.type==="week"),on:{select:this.handleSelectDate,changepanel:this.handelPanelChange,changecalendar:this.handleCalendarChange}})}},B0={name:"CalendarRange",components:{CalendarPanel:o0},provide:function(){return{onDateMouseEnter:this.onDateMouseEnter,onDateMouseLeave:this.onDateMouseLeave}},inject:{prefixClass:{default:"mx"}},props:m({},o0.props),data:function(){return{innerValue:[],calendars:[],hoveredValue:null}},computed:{calendarMinDiff:function(){var e={date:1,month:12,year:120};return e[this.type]||e.date},calendarMaxDiff:function(){return 1/0},defaultValues:function(){return Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue]}},watch:{value:{immediate:!0,handler:function(){var e=this;this.innerValue=q0(this.value)?this.value:[new Date(NaN),new Date(NaN)];var t=this.innerValue.map(function(r,T){return St(N0(r,e.defaultValues[T]))});this.updateCalendars(t)}}},methods:{handleSelect:function(e,t){var r=p0(this.innerValue,2),T=r[0],i=r[1];W(T)&&!W(i)?(T.getTime()>e.getTime()?this.innerValue=[e,T]:this.innerValue=[T,e],this.emitDate(this.innerValue,t)):this.innerValue=[e,new Date(NaN)]},onDateMouseEnter:function(e){this.hoveredValue=e},onDateMouseLeave:function(){this.hoveredValue=null},emitDate:function(e,t){this.$emit("select",e,t)},updateStartCalendar:function(e){this.updateCalendars([e,this.calendars[1]],1)},updateEndCalendar:function(e){this.updateCalendars([this.calendars[0],e],0)},updateCalendars:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=this.getCalendarGap(e);if(r){var T=new Date(e[t]);T.setMonth(T.getMonth()+(t===0?-r:r)),e[t]=T}this.calendars=e},getCalendarGap:function(e){var t=p0(e,2),r=t[0],T=t[1],i=T.getFullYear()-r.getFullYear(),a=T.getMonth()-r.getMonth(),n=i*12+a,s=this.calendarMinDiff,A=this.calendarMaxDiff;return n<s?s-n:n>A?A-n:0},getRangeClasses:function(e,t,r){var T=[].concat(this.getClasses(e,t,r));if(/disabled|active/.test(r))return T;var i=function(a,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(R){return R.getTime()},A=s(a),o=n.map(s),l=p0(o,2),D=l[0],S=l[1];if(D>S){var c=[S,D];D=c[0],S=c[1]}return A>D&&A<S};return t.length===2&&i(e,t)?T.concat("in-range"):t.length===1&&this.hoveredValue&&i(e,[t[0],this.hoveredValue])?T.concat("hover-in-range"):T}},render:function(){var e=this,t=arguments[0],r=this.calendars.map(function(i,a){var n=m({},e.$props,{calendar:i,value:e.innerValue,defaultValue:e.defaultValues[a],getClasses:e.getRangeClasses,partialUpdate:!1}),s={select:e.handleSelect,"update:calendar":a===0?e.updateStartCalendar:e.updateEndCalendar};return t("calendar-panel",{props:m({},n),on:m({},s)})}),T=this.prefixClass;return t("div",{class:"".concat(T,"-range-wrapper")},[r])}},v0;function AT(){if(typeof window>"u")return 0;if(v0!==void 0)return v0;var e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=document.createElement("div");return t.style.width="100%",e.appendChild(t),v0=e.offsetWidth-t.offsetWidth,e.parentNode.removeChild(e),v0}var oT={inject:{prefixClass:{default:"mx"}},data:function(){return{scrollbarWidth:0,thumbTop:"",thumbHeight:""}},created:function(){this.scrollbarWidth=AT(),document.addEventListener("mouseup",this.handleDragend)},beforeDestroy:function(){document.addEventListener("mouseup",this.handleDragend)},mounted:function(){this.$nextTick(this.getThumbSize)},methods:{getThumbSize:function(){var e=this.$refs.wrap;if(e){var t=e.clientHeight*100/e.scrollHeight;this.thumbHeight=t<100?"".concat(t,"%"):""}},handleScroll:function(e){var t=e.currentTarget,r=t.scrollHeight,T=t.scrollTop;this.thumbTop="".concat(T*100/r,"%")},handleDragstart:function(e){e.stopImmediatePropagation(),this._draggable=!0;var t=this.$refs.thumb.offsetTop;this._prevY=e.clientY-t,document.addEventListener("mousemove",this.handleDraging)},handleDraging:function(e){if(this._draggable){var t=e.clientY,r=this.$refs.wrap,T=r.scrollHeight,i=r.clientHeight,a=t-this._prevY,n=a*T/i;r.scrollTop=n}},handleDragend:function(){this._draggable&&(this._draggable=!1,document.removeEventListener("mousemove",this.handleDraging))}}},lT=oT,ET=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.prefixClass+"-scrollbar",style:{position:"relative",overflow:"hidden"}},[r("div",{ref:"wrap",class:e.prefixClass+"-scrollbar-wrap",style:{marginRight:"-"+e.scrollbarWidth+"px"},on:{scroll:e.handleScroll}},[e._t("default")],2),e._v(" "),r("div",{class:e.prefixClass+"-scrollbar-track"},[r("div",{ref:"thumb",class:e.prefixClass+"-scrollbar-thumb",style:{height:e.thumbHeight,top:e.thumbTop},on:{mousedown:e.handleDragstart}})])])},DT=[],uT=void 0,se=_({render:ET,staticRenderFns:DT},uT,lT),at=function(e){return e=parseInt(e,10),e<10?"0".concat(e):"".concat(e)},nt=function(e,t,r){if(Array.isArray(r))return r.filter(function(a){return a>=0&&a<e});t<=0&&(t=1);for(var T=[],i=0;i<e;i+=t)T.push(i);return T},ST=function e(t,r){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(T<=0){requestAnimationFrame(function(){t.scrollTop=r});return}var i=r-t.scrollTop,a=i/T*10;requestAnimationFrame(function(){var n=t.scrollTop+a;if(n>=r){t.scrollTop=r;return}t.scrollTop=n,e(t,r,T-10)})},cT={name:"ListColumns",components:{ScrollbarVertical:se},inject:{prefixClass:{default:"mx"}},props:{date:Date,scrollDuration:{type:Number,default:100},getClasses:{type:Function,default:function(){return[]}},hourOptions:Array,minuteOptions:Array,secondOptions:Array,showHour:{type:Boolean,default:!0},showMinute:{type:Boolean,default:!0},showSecond:{type:Boolean,default:!0},hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1},use12h:{type:Boolean,default:!1}},computed:{columns:function(){var e=[];return this.showHour&&e.push({type:"hour",list:this.getHoursList()}),this.showMinute&&e.push({type:"minute",list:this.getMinutesList()}),this.showSecond&&e.push({type:"second",list:this.getSecondsList()}),this.use12h&&e.push({type:"ampm",list:this.getAMPMList()}),e.filter(function(t){return t.list.length>0})}},watch:{date:{handler:function(){var e=this;this.$nextTick(function(){e.scrollToSelected(e.scrollDuration)})}}},mounted:function(){this.scrollToSelected(0)},methods:{getHoursList:function(){var e=this;return nt(this.use12h?12:24,this.hourStep,this.hourOptions).map(function(t){var r=new Date(e.date),T=at(t);e.use12h&&(t===0&&(T="12"),r.getHours()>=12&&(t+=12));var i=r.setHours(t);return{value:i,text:T}})},getMinutesList:function(){var e=this;return nt(60,this.minuteStep,this.minuteOptions).map(function(t){var r=new Date(e.date).setMinutes(t);return{value:r,text:at(t)}})},getSecondsList:function(){var e=this;return nt(60,this.secondStep,this.secondOptions).map(function(t){var r=new Date(e.date).setSeconds(t);return{value:r,text:at(t)}})},getAMPMList:function(){var e=this;return["AM","PM"].map(function(t,r){var T=new Date(e.date),i=T.setHours(T.getHours()%12+r*12);return{text:t,value:i}})},scrollToSelected:function(e){for(var t=this.$el.querySelectorAll(".active"),r=0;r<t.length;r++){var T=t[r],i=X0(T,this.$el);if(i){var a=T.offsetTop;ST(i,a,e)}}},handleSelect:function(e){var t=e.target,r=e.currentTarget;if(t.tagName.toUpperCase()==="LI"){var T=r.getAttribute("data-type"),i=parseInt(r.getAttribute("data-index"),10),a=parseInt(t.getAttribute("data-index"),10),n=this.columns[i].list[a].value;this.$emit("select",n,T)}}}},RT=cT,FT=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.prefixClass+"-time-columns"},e._l(e.columns,function(T,i){return r("scrollbar-vertical",{key:i,class:e.prefixClass+"-time-column"},[r("ul",{class:e.prefixClass+"-time-list",attrs:{"data-type":T.type,"data-index":i},on:{click:e.handleSelect}},e._l(T.list,function(a,n){return r("li",{key:a.value,class:[e.prefixClass+"-time-item",e.getClasses(a.value,T.type)],attrs:{"data-index":n}},[e._v(`
`+e._s(a.text)+`
`)])}),0)])}),1)},NT=[],dT=void 0,OT=_({render:FT,staticRenderFns:NT},dT,RT);function st(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=e.split(":");if(t.length>=2){var r=parseInt(t[0],10),T=parseInt(t[1],10);return{hours:r,minutes:T}}return null}var hT=function(e,t){e&&(e.scrollTop=t)},YT={name:"ListOptions",components:{ScrollbarVertical:se},inject:{getLocale:{default:function(){return h0}},prefixClass:{default:"mx"}},props:{date:Date,options:{type:[Object,Function],default:function(){return[]}},format:{type:String,default:"HH:mm:ss"},getClasses:{type:Function,default:function(){return[]}}},computed:{list:function(){var e=[],t=this.options;if(typeof t=="function")return t()||[];var r=st(t.start),T=st(t.end),i=st(t.step),a=t.format||this.format;if(r&&T&&i)for(var n=r.minutes+r.hours*60,s=T.minutes+T.hours*60,A=i.minutes+i.hours*60,o=Math.floor((s-n)/A),l=0;l<=o;l++){var D=n+l*A,S=Math.floor(D/60),c=D%60,R=new Date(this.date).setHours(S,c,0);e.push({value:R,text:this.formatDate(R,a)})}return e}},mounted:function(){this.scrollToSelected()},methods:{formatDate:function(e,t){return J0(e,t,{locale:this.getLocale().formatLocale})},scrollToSelected:function(){var e=this.$el.querySelector(".active");if(e){var t=X0(e,this.$el);if(t){var r=e.offsetTop;hT(t,r)}}},handleSelect:function(e){this.$emit("select",e,"time")}}},mT=YT,MT=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("scrollbar-vertical",e._l(e.list,function(T){return r("div",{key:T.value,class:[e.prefixClass+"-time-option",e.getClasses(T.value)],on:{click:function(i){return e.handleSelect(T.value)}}},[e._v(`
`+e._s(T.text)+`
`)])}),0)},fT=[],ZT=void 0,pT=_({render:MT,staticRenderFns:fT},ZT,mT),BT={name:"TimePanel",components:{ListColumns:OT,ListOptions:pT},inject:{getLocale:{default:function(){return h0}},prefixClass:{default:"mx"}},props:{value:{},defaultValue:{default:function(){var e=new Date;return e.setHours(0,0,0,0),e}},format:{default:"HH:mm:ss"},timeTitleFormat:{type:String,default:"YYYY-MM-DD"},showTimeHeader:{type:Boolean,default:!1},disabledTime:{type:Function,default:function(){return!1}},timePickerOptions:{type:[Object,Function],default:function(){return null}},hourOptions:Array,minuteOptions:Array,secondOptions:Array,hourStep:{type:Number,default:1},minuteStep:{type:Number,default:1},secondStep:{type:Number,default:1},showHour:{type:Boolean,default:void 0},showMinute:{type:Boolean,default:void 0},showSecond:{type:Boolean,default:void 0},use12h:{type:Boolean,default:void 0},scrollDuration:{type:Number,default:100}},data:function(){return{innerValue:N0(this.value,this.defaultValue)}},computed:{title:function(){var e=this.timeTitleFormat,t=new Date(this.innerValue);return this.formatDate(t,e)},innerForamt:function(){return typeof this.format=="string"?this.format:"HH:mm:ss"},ShowHourMinuteSecondAMPM:function(){var e=this,t=this.innerForamt,r={showHour:/[HhKk]/.test(t),showMinute:/m/.test(t),showSecond:/s/.test(t),use12h:/a/i.test(t)},T={};return Object.keys(r).forEach(function(i){T[i]=typeof e[i]=="boolean"?e[i]:r[i]}),T}},watch:{value:{immediate:!0,handler:function(){this.innerValue=N0(this.value,this.defaultValue)}}},methods:{formatDate:function(e,t){return J0(e,t,{locale:this.getLocale().formatLocale})},isDisabledTime:function(e){return this.disabledTime(new Date(e))},isDisabledHour:function(e){var t=new Date(e);return this.isDisabledTime(t)&&this.isDisabledTime(t.setMinutes(0,0,0))&&this.isDisabledTime(t.setMinutes(59,59,999))},isDisabledMinute:function(e){var t=new Date(e);return this.isDisabledTime(t)&&this.isDisabledTime(t.setSeconds(0,0))&&this.isDisabledTime(t.setSeconds(59,999))},isDisabledAMPM:function(e){var t=new Date(e),r=t.getHours()<12?0:12,T=r+11;return this.isDisabledTime(t)&&this.isDisabledTime(t.setHours(r,0,0,0))&&this.isDisabledTime(t.setHours(T,59,59,999))},isDisabled:function(e,t){return t==="hour"?this.isDisabledHour(e):t==="minute"?this.isDisabledMinute(e):t==="ampm"?this.isDisabledAMPM(e):this.isDisabledTime(e)},handleSelect:function(e,t){var r=new Date(e);this.isDisabled(e,t)||(this.innerValue=r,this.isDisabledTime(r)||this.$emit("select",r,t))},handleClickTitle:function(){this.$emit("clicktitle")},getClasses:function(e,t){var r=new Date(e);return this.isDisabled(e,t)?"disabled":r.getTime()===this.innerValue.getTime()?"active":""}}},gT=BT,yT=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:e.prefixClass+"-time"},[e.showTimeHeader?r("div",{class:e.prefixClass+"-time-header"},[r("button",{class:e.prefixClass+"-btn "+e.prefixClass+"-btn-text "+e.prefixClass+"-time-header-title",attrs:{type:"button"},on:{click:e.handleClickTitle}},[e._v(`
`+e._s(e.title)+`
`)])]):e._e(),e._v(" "),r("div",{class:e.prefixClass+"-time-content"},[e.timePickerOptions?r("list-options",{attrs:{date:e.innerValue,"get-classes":e.getClasses,options:e.timePickerOptions,format:e.innerForamt},on:{select:e.handleSelect}}):r("list-columns",e._b({attrs:{date:e.innerValue,"get-classes":e.getClasses,"hour-options":e.hourOptions,"minute-options":e.minuteOptions,"second-options":e.secondOptions,"hour-step":e.hourStep,"minute-step":e.minuteStep,"second-step":e.secondStep,"scroll-duration":e.scrollDuration},on:{select:e.handleSelect}},"list-columns",e.ShowHourMinuteSecondAMPM,!1))],1)])},IT=[],LT=void 0,a0=_({render:yT,staticRenderFns:IT},LT,gT),g0={name:"TimeRange",inject:{prefixClass:{default:"mx"}},props:m({},a0.props),data:function(){return{startValue:new Date(NaN),endValue:new Date(NaN)}},watch:{value:{immediate:!0,handler:function(){if(q0(this.value)){var e=p0(this.value,2),t=e[0],r=e[1];this.startValue=t,this.endValue=r}else this.startValue=new Date(NaN),this.endValue=new Date(NaN)}}},methods:{emitChange:function(e,t){var r=[this.startValue,this.endValue];this.$emit("select",r,e==="time"?"time-range":e,t)},handleSelectStart:function(e,t){this.startValue=e,this.endValue.getTime()>=e.getTime()||(this.endValue=e),this.emitChange(t,0)},handleSelectEnd:function(e,t){this.endValue=e,this.startValue.getTime()<=e.getTime()||(this.startValue=e),this.emitChange(t,1)},disabledStartTime:function(e){return this.disabledTime(e,0)},disabledEndTime:function(e){return e.getTime()<this.startValue.getTime()||this.disabledTime(e,1)}},render:function(){var e=arguments[0],t=Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue],r=this.prefixClass;return e("div",{class:"".concat(r,"-range-wrapper")},[e(a0,{props:m({},m({},this.$props,{value:this.startValue,defaultValue:t[0],disabledTime:this.disabledStartTime})),on:m({},m({},this.$listeners,{select:this.handleSelectStart}))}),e(a0,{props:m({},m({},this.$props,{value:this.endValue,defaultValue:t[1],disabledTime:this.disabledEndTime})),on:m({},m({},this.$listeners,{select:this.handleSelectEnd}))})])}},Ot={name:"DatetimePanel",inject:{prefixClass:{default:"mx"}},emits:["select","update:show-time-panel"],props:m({},o0.props,{},a0.props,{showTimePanel:{type:Boolean,default:void 0}}),data:function(){return{defaultTimeVisible:!1,currentValue:this.value}},computed:{timeVisible:function(){return typeof this.showTimePanel=="boolean"?this.showTimePanel:this.defaultTimeVisible}},watch:{value:function(e){this.currentValue=e}},methods:{closeTimePanel:function(){this.defaultTimeVisible=!1,this.$emit("update:show-time-panel",!1)},openTimePanel:function(){this.defaultTimeVisible=!0,this.$emit("update:show-time-panel",!0)},emitDate:function(e,t){this.$emit("select",e,t)},handleSelect:function(e,t){t==="date"&&this.openTimePanel();var r=V0(e,N0(this.value,this.defaultValue));if(this.disabledTime(new Date(r))&&(r=V0(e,this.defaultValue),this.disabledTime(new Date(r)))){this.currentValue=r;return}this.emitDate(r,t)}},render:function(){var e=arguments[0],t={props:m({},O0(this.$props,Object.keys(o0.props)),{type:"date",value:this.currentValue}),on:{select:this.handleSelect}},r={props:m({},O0(this.$props,Object.keys(a0.props)),{showTimeHeader:!0,value:this.currentValue}),on:{select:this.emitDate,clicktitle:this.closeTimePanel}},T=this.prefixClass;return e("div",[e(o0,y0([{},t])),this.timeVisible&&e(a0,y0([{class:"".concat(T,"-calendar-time")},r]))])}},Ae={name:"DatetimeRange",inject:{prefixClass:{default:"mx"}},emits:["select","update:show-time-panel"],props:m({},B0.props,{},g0.props,{showTimePanel:{type:Boolean,default:void 0}}),data:function(){return{defaultTimeVisible:!1,currentValue:this.value}},computed:{timeVisible:function(){return typeof this.showTimePanel=="boolean"?this.showTimePanel:this.defaultTimeVisible}},watch:{value:function(e){this.currentValue=e}},methods:{closeTimePanel:function(){this.defaultTimeVisible=!1,this.$emit("update:show-time-panel",!1)},openTimePanel:function(){this.defaultTimeVisible=!0,this.$emit("update:show-time-panel",!0)},emitDate:function(e,t){this.$emit("select",e,t)},handleSelect:function(e,t){var r=this;t==="date"&&this.openTimePanel();var T=Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue,this.defaultValue],i=e.map(function(a,n){var s=q0(r.value)?r.value[n]:T[n];return V0(a,s)});if(i[1].getTime()<i[0].getTime()&&(i=[i[0],i[0]]),i.some(this.disabledTime)&&(i=e.map(function(a,n){return V0(a,T[n])}),i.some(this.disabledTime))){this.currentValue=i;return}this.emitDate(i,t)}},render:function(){var e=arguments[0],t={props:m({},O0(this.$props,Object.keys(B0.props)),{type:"date",value:this.currentValue}),on:{select:this.handleSelect}},r={props:m({},O0(this.$props,Object.keys(g0.props)),{value:this.currentValue,showTimeHeader:!0}),on:{select:this.emitDate,clicktitle:this.closeTimePanel}},T=this.prefixClass;return e("div",[e(B0,y0([{},t])),this.timeVisible&&e(g0,y0([{class:"".concat(T,"-calendar-time")},r]))])}},GT={default:o0,time:a0,datetime:Ot},HT={default:B0,time:g0,datetime:Ae},n0={name:"DatePicker",provide:function(){var e=this;return{getLocale:function(){return e.locale},getWeek:this.getWeek,prefixClass:this.prefixClass,dispatchDatePicker:this.$emit.bind(this)}},props:m({},Ot.props,{value:{},valueType:{type:String,default:"date"},type:{type:String,default:"date"},format:{type:String},formatter:{type:Object},range:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},rangeSeparator:{type:String},lang:{type:[String,Object]},placeholder:{type:String,default:""},editable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},prefixClass:{type:String,default:"mx"},inputClass:{},inputAttr:{type:Object,default:function(){return{}}},appendToBody:{type:Boolean,default:!0},open:{type:Boolean,default:void 0},popupClass:{},popupStyle:{type:Object,default:function(){return{}}},inline:{type:Boolean,default:!1},confirm:{type:Boolean,default:!1},confirmText:{type:String,default:"OK"},renderInputText:{type:Function},shortcuts:{type:Array,validator:function(e){return Array.isArray(e)&&e.every(function(t){return P(t)&&typeof t.text=="string"&&typeof t.onClick=="function"})},default:function(){return[]}}}),data:function(){return{currentValue:null,userInput:null,defaultOpen:!1,mouseInInput:!1}},computed:{popupVisible:function(){return!this.disabled&&(typeof this.open=="boolean"?this.open:this.defaultOpen)},innerRangeSeparator:function(){return this.rangeSeparator||(this.multiple?",":" ~ ")},innerFormat:function(){var e={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",year:"YYYY",month:"YYYY-MM",time:"HH:mm:ss",week:"w"};return this.format||e[this.type]||e.date},innerValue:function(){var e=this.value;return this.validMultipleType?(e=Array.isArray(e)?e:[],e.map(this.value2date)):this.range?(e=Array.isArray(e)?e.slice(0,2):[null,null],e.map(this.value2date)):this.value2date(e)},text:function(){var e=this;return this.userInput!==null?this.userInput:typeof this.renderInputText=="function"?this.renderInputText(this.innerValue):this.isValidValue(this.innerValue)?Array.isArray(this.innerValue)?this.innerValue.map(function(t){return e.formatDate(t)}).join(this.innerRangeSeparator):this.formatDate(this.innerValue):""},showClearIcon:function(){return!this.disabled&&this.clearable&&this.text&&this.mouseInInput},locale:function(){return P(this.lang)?ae(h0(),this.lang):h0(this.lang)},validMultipleType:function(){var e=["date","month","year"];return this.multiple&&!this.range&&e.indexOf(this.type)!==-1}},watch:{innerValue:{immediate:!0,handler:function(e){this.currentValue=e}},popupVisible:{handler:function(e){e&&(this.currentValue=this.innerValue)}}},created:function(){P0(this.format)==="object"&&console.warn("[vue2-datepicker]: The prop `format` don't support Object any more. You can use the new prop `formatter` to replace it")},methods:{handleMouseEnter:function(){this.mouseInInput=!0},handleMouseLeave:function(){this.mouseInInput=!1},handleClickOutSide:function(e){var t=e.target;this.$el.contains(t)||this.closePopup()},getFormatter:function(e){return P(this.formatter)&&this.formatter[e]||P(this.format)&&this.format[e]},getWeek:function(e,t){return typeof this.getFormatter("getWeek")=="function"?this.getFormatter("getWeek")(e,t):Ft(e,t)},parseDate:function(e,t){if(t=t||this.innerFormat,typeof this.getFormatter("parse")=="function")return this.getFormatter("parse")(e,t);var r=new Date;return Je(e,t,{locale:this.locale.formatLocale,backupDate:r})},formatDate:function(e,t){return t=t||this.innerFormat,typeof this.getFormatter("stringify")=="function"?this.getFormatter("stringify")(e,t):J0(e,t,{locale:this.locale.formatLocale})},value2date:function(e){switch(this.valueType){case"date":return e instanceof Date?new Date(e.getTime()):new Date(NaN);case"timestamp":return typeof e=="number"?new Date(e):new Date(NaN);case"format":return typeof e=="string"?this.parseDate(e):new Date(NaN);default:return typeof e=="string"?this.parseDate(e,this.valueType):new Date(NaN)}},date2value:function(e){if(!W(e))return null;switch(this.valueType){case"date":return e;case"timestamp":return e.getTime();case"format":return this.formatDate(e);default:return this.formatDate(e,this.valueType)}},emitValue:function(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;this.userInput=null;var T=Array.isArray(e)?e.map(this.date2value):this.date2value(e);return this.$emit("input",T),this.$emit("change",T,t),r&&this.closePopup(),T},isValidValue:function(e){return this.validMultipleType?or(e):this.range?q0(e):W(e)},isValidValueAndNotDisabled:function(e){if(!this.isValidValue(e))return!1;var t=typeof this.disabledDate=="function"?this.disabledDate:function(){return!1},r=typeof this.disabledTime=="function"?this.disabledTime:function(){return!1};return Array.isArray(e)||(e=[e]),e.every(function(T){return!t(T)&&!r(T)})},handleMultipleDates:function(e,t){if(this.validMultipleType&&t){var r=t.filter(function(T){return T.getTime()!==e.getTime()});return r.length===t.length&&r.push(e),r}return e},handleSelectDate:function(e,t,r){e=this.handleMultipleDates(e,r),this.confirm?this.currentValue=e:this.emitValue(e,t,!this.validMultipleType&&(t===this.type||t==="time"))},clear:function(){this.emitValue(this.range?[null,null]:null),this.$emit("clear")},handleClear:function(e){e.stopPropagation(),this.clear()},handleConfirmDate:function(){var e=this.emitValue(this.currentValue);this.$emit("confirm",e)},handleSelectShortcut:function(e){var t=e.currentTarget.getAttribute("data-index"),r=this.shortcuts[parseInt(t,10)];if(P(r)&&typeof r.onClick=="function"){var T=r.onClick(this);T&&this.emitValue(T)}},openPopup:function(e){this.popupVisible||this.disabled||(this.defaultOpen=!0,this.$emit("open",e),this.$emit("update:open",!0))},closePopup:function(){this.popupVisible&&(this.defaultOpen=!1,this.$emit("close"),this.$emit("update:open",!1))},blur:function(){this.$refs.input&&this.$refs.input.blur()},focus:function(){this.$refs.input&&this.$refs.input.focus()},handleInputChange:function(){var e=this;if(!(!this.editable||this.userInput===null)){var t=this.userInput.trim();if(this.userInput=null,t===""){this.clear();return}var r;if(this.validMultipleType)r=t.split(this.innerRangeSeparator).map(function(i){return e.parseDate(i.trim())});else if(this.range){var T=t.split(this.innerRangeSeparator);T.length!==2&&(T=t.split(this.innerRangeSeparator.trim())),r=T.map(function(i){return e.parseDate(i.trim())})}else r=this.parseDate(t);this.isValidValueAndNotDisabled(r)?(this.emitValue(r),this.blur()):this.$emit("input-error",t)}},handleInputInput:function(e){this.userInput=typeof e=="string"?e:e.target.value},handleInputKeydown:function(e){var t=e.keyCode;t===9?this.closePopup():t===13&&this.handleInputChange()},handleInputBlur:function(e){this.$emit("blur",e)},handleInputFocus:function(e){this.openPopup(e),this.$emit("focus",e)},hasSlot:function(e){return!!(this.$slots[e]||this.$scopedSlots[e])},renderSlot:function(e,t,r){var T=this.$scopedSlots[e];return T?T(r)||t:this.$slots[e]||t},renderInput:function(){var e=this.$createElement,t=this.prefixClass,r=m({name:"date",type:"text",autocomplete:"off",value:this.text,class:this.inputClass||"".concat(this.prefixClass,"-input"),readonly:!this.editable,disabled:this.disabled,placeholder:this.placeholder},this.inputAttr),T=r.value,i=r.class,a=Xe(r,["value","class"]),n={keydown:this.handleInputKeydown,focus:this.handleInputFocus,blur:this.handleInputBlur,input:this.handleInputInput,change:this.handleInputChange},s=this.renderSlot("input",e("input",{domProps:{value:T},class:i,attrs:m({},a),on:m({},n),ref:"input"}),{props:r,events:n}),A=this.type==="time"?e(Hr):e(yr);return e("div",{class:"".concat(t,"-input-wrapper"),on:{mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave,click:this.openPopup},ref:"inputWrapper"},[s,this.showClearIcon?e("i",{class:"".concat(t,"-icon-clear"),on:{click:this.handleClear}},[this.renderSlot("icon-clear",e(br))]):e("i",{class:"".concat(t,"-icon-calendar")},[this.renderSlot("icon-calendar",A)])])},renderContent:function(){var e=this.$createElement,t=this.range?HT:GT,r=t[this.type]||t.default,T=m({},O0(this.$props,Object.keys(r.props)),{value:this.currentValue}),i=m({},O0(this.$listeners,r.emits||[]),{select:this.handleSelectDate}),a=e(r,y0([{},{props:T,on:i,ref:"picker"}]));return e("div",{class:"".concat(this.prefixClass,"-datepicker-body")},[this.renderSlot("content",a,{value:this.currentValue,emit:this.handleSelectDate})])},renderSidebar:function(){var e=this,t=this.$createElement,r=this.prefixClass;return t("div",{class:"".concat(r,"-datepicker-sidebar")},[this.renderSlot("sidebar",null,{value:this.currentValue,emit:this.handleSelectDate}),this.shortcuts.map(function(T,i){return t("button",{key:i,attrs:{"data-index":i,type:"button"},class:"".concat(r,"-btn ").concat(r,"-btn-text ").concat(r,"-btn-shortcut"),on:{click:e.handleSelectShortcut}},[T.text])})])},renderHeader:function(){var e=this.$createElement;return e("div",{class:"".concat(this.prefixClass,"-datepicker-header")},[this.renderSlot("header",null,{value:this.currentValue,emit:this.handleSelectDate})])},renderFooter:function(){var e=this.$createElement,t=this.prefixClass;return e("div",{class:"".concat(t,"-datepicker-footer")},[this.renderSlot("footer",null,{value:this.currentValue,emit:this.handleSelectDate}),this.confirm?e("button",{attrs:{type:"button"},class:"".concat(t,"-btn ").concat(t,"-datepicker-btn-confirm"),on:{click:this.handleConfirmDate}},[this.confirmText]):null])}},render:function(){var e,t=arguments[0],r=this.prefixClass,T=this.inline,i=this.disabled,a=this.hasSlot("sidebar")||this.shortcuts.length?this.renderSidebar():null,n=t("div",{class:"".concat(r,"-datepicker-content")},[this.hasSlot("header")?this.renderHeader():null,this.renderContent(),this.hasSlot("footer")||this.confirm?this.renderFooter():null]);return t("div",{class:(e={},A0(e,"".concat(r,"-datepicker"),!0),A0(e,"".concat(r,"-datepicker-range"),this.range),A0(e,"".concat(r,"-datepicker-inline"),T),A0(e,"disabled",i),e)},[T?null:this.renderInput(),T?t("div",{class:"".concat(r,"-datepicker-main")},[a,n]):t(Zr,{ref:"popup",class:this.popupClass,style:this.popupStyle,attrs:{visible:this.popupVisible,appendToBody:this.appendToBody},on:{clickoutside:this.handleClickOutSide}},[a,n])])}};n0.locale=ne,n0.install=function(e){e.component(n0.name,n0)},typeof window<"u"&&window.Vue&&n0.install(window.Vue),Dt(n0,{CalendarPanel:o0,CalendarRange:B0,TimePanel:a0,TimeRange:g0,DatetimePanel:Ot,DatetimeRange:Ae});class tt{static fromString(t){return new tt(t)}constructor(t){this.value=t}icaltype="binary";decodeValue(){return this._b64_decode(this.value)}setEncodedValue(t){this.value=this._b64_encode(t)}_b64_encode(t){let r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",T,i,a,n,s,A,o,l,D=0,S=0,c="",R=[];if(!t)return t;do T=t.charCodeAt(D++),i=t.charCodeAt(D++),a=t.charCodeAt(D++),l=T<<16|i<<8|a,n=l>>18&63,s=l>>12&63,A=l>>6&63,o=l&63,R[S++]=r.charAt(n)+r.charAt(s)+r.charAt(A)+r.charAt(o);while(D<t.length);c=R.join("");let u=t.length%3;return(u?c.slice(0,u-3):c)+"===".slice(u||3)}_b64_decode(t){let r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",T,i,a,n,s,A,o,l,D=0,S=0,c="",R=[];if(!t)return t;t+="";do n=r.indexOf(t.charAt(D++)),s=r.indexOf(t.charAt(D++)),A=r.indexOf(t.charAt(D++)),o=r.indexOf(t.charAt(D++)),l=n<<18|s<<12|A<<6|o,T=l>>16&255,i=l>>8&255,a=l&255,A==64?R[S++]=String.fromCharCode(T):o==64?R[S++]=String.fromCharCode(T,i):R[S++]=String.fromCharCode(T,i,a);while(D<t.length);return c=R.join(""),c}toString(){return this.value}}const UT=/([PDWHMTS]{1,1})/,vT=["weeks","days","hours","minutes","seconds","isNegative"];class L{static fromSeconds(t){return new L().fromSeconds(t)}static isValueString(t){return t[0]==="P"||t[1]==="P"}static fromString(t){let r=0,T=Object.create(null),i=0;for(;(r=t.search(UT))!==-1;){let a=t[r],n=t.slice(0,Math.max(0,r));t=t.slice(r+1),i+=CT(a,n,T)}if(i<2)throw new Error('invalid duration value: Not enough duration components in "'+t+'"');return new L(T)}static fromData(t){return new L(t)}constructor(t){this.wrappedJSObject=this,this.fromData(t)}weeks=0;days=0;hours=0;minutes=0;seconds=0;isNegative=!1;icalclass="icalduration";icaltype="duration";clone(){return L.fromData(this)}toSeconds(){let t=this.seconds+60*this.minutes+3600*this.hours+86400*this.days+604800*this.weeks;return this.isNegative?-t:t}fromSeconds(t){let r=Math.abs(t);return this.isNegative=t<0,this.days=p(r/86400),this.days%7==0?(this.weeks=this.days/7,this.days=0):this.weeks=0,r-=(this.days+7*this.weeks)*86400,this.hours=p(r/3600),r-=this.hours*3600,this.minutes=p(r/60),r-=this.minutes*60,this.seconds=r,this}fromData(t){for(let r of vT)t&&r in t?this[r]=t[r]:this[r]=0}reset(){this.isNegative=!1,this.weeks=0,this.days=0,this.hours=0,this.minutes=0,this.seconds=0}compare(t){let r=this.toSeconds(),T=t.toSeconds();return(r>T)-(r<T)}normalize(){this.fromSeconds(this.toSeconds())}toString(){if(this.toSeconds()==0)return"PT0S";{let t="";return this.isNegative&&(t+="-"),t+="P",this.weeks&&(t+=this.weeks+"W"),this.days&&(t+=this.days+"D"),(this.hours||this.minutes||this.seconds)&&(t+="T",this.hours&&(t+=this.hours+"H"),this.minutes&&(t+=this.minutes+"M"),this.seconds&&(t+=this.seconds+"S")),t}}toICALString(){return this.toString()}}function CT(e,t,r){let T;switch(e){case"P":t&&t==="-"?r.isNegative=!0:r.isNegative=!1;break;case"D":T="days";break;case"W":T="weeks";break;case"H":T="hours";break;case"M":T="minutes";break;case"S":T="seconds";break;default:return 0}if(T){if(!t&&t!==0)throw new Error('invalid duration value: Missing number before "'+e+'"');let i=parseInt(t,10);if(I0(i))throw new Error('invalid duration value: Invalid number "'+t+'" before "'+e+'"');r[T]=i}return 1}class E{static _dowCache={};static _wnCache={};static daysInMonth(t,r){let T=[0,31,28,31,30,31,30,31,31,30,31,30,31],i=30;return t<1||t>12||(i=T[t],t==2&&(i+=E.isLeapYear(r))),i}static isLeapYear(t){return t<=1752?t%4==0:t%4==0&&t%100!=0||t%400==0}static fromDayOfYear(t,r){let T=r,i=t,a=new E;a.auto_normalize=!1;let n=E.isLeapYear(T)?1:0;if(i<1)return T--,n=E.isLeapYear(T)?1:0,i+=E.daysInYearPassedMonth[n][12],E.fromDayOfYear(i,T);if(i>E.daysInYearPassedMonth[n][12])return n=E.isLeapYear(T)?1:0,i-=E.daysInYearPassedMonth[n][12],T++,E.fromDayOfYear(i,T);a.year=T,a.isDate=!0;for(let s=11;s>=0;s--)if(i>E.daysInYearPassedMonth[n][s]){a.month=s+1,a.day=i-E.daysInYearPassedMonth[n][s];break}return a.auto_normalize=!0,a}static fromStringv2(t){return new E({year:parseInt(t.slice(0,4),10),month:parseInt(t.slice(5,7),10),day:parseInt(t.slice(8,10),10),isDate:!0})}static fromDateString(t){return new E({year:g(t.slice(0,4)),month:g(t.slice(5,7)),day:g(t.slice(8,10)),isDate:!0})}static fromDateTimeString(t,r){if(t.length<19)throw new Error('invalid date-time value: "'+t+'"');let T,i;t[19]&&t[19]==="Z"?T=Y.utcTimezone:r&&(i=r.getParameter("tzid"),r.parent&&(r.parent.name==="standard"||r.parent.name==="daylight"?T=Y.localTimezone:i&&(T=r.parent.getTimeZoneByID(i))));const a={year:g(t.slice(0,4)),month:g(t.slice(5,7)),day:g(t.slice(8,10)),hour:g(t.slice(11,13)),minute:g(t.slice(14,16)),second:g(t.slice(17,19))};return i&&!T&&(a.timezone=i),new E(a,T)}static fromString(t,r){return t.length>10?E.fromDateTimeString(t,r):E.fromDateString(t)}static fromJSDate(t,r){return new E().fromJSDate(t,r)}static fromData=function(t,r){return new E().fromData(t,r)};static now(){return E.fromJSDate(new Date,!1)}static weekOneStarts(t,r){let T=E.fromData({year:t,month:1,day:1,isDate:!0}),i=T.dayOfWeek(),a=r||E.DEFAULT_WEEK_START;return i>E.THURSDAY&&(T.day+=7),a>E.THURSDAY&&(T.day-=7),T.day-=i-a,T}static getDominicalLetter(t){let r="GFEDCBA",T=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return E.isLeapYear(t)?r[(T+6)%7]+r[T]:r[T]}static#t=null;static get epochTime(){return this.#t||(this.#t=E.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"})),this.#t}static _cmp_attr(t,r,T){return t[T]>r[T]?1:t[T]<r[T]?-1:0}static daysInYearPassedMonth=[[0,31,59,90,120,151,181,212,243,273,304,334,365],[0,31,60,91,121,152,182,213,244,274,305,335,366]];static SUNDAY=1;static MONDAY=2;static TUESDAY=3;static WEDNESDAY=4;static THURSDAY=5;static FRIDAY=6;static SATURDAY=7;static DEFAULT_WEEK_START=2;constructor(t,r){this.wrappedJSObject=this;let T=this._time=Object.create(null);T.year=0,T.month=1,T.day=1,T.hour=0,T.minute=0,T.second=0,T.isDate=!1,this.fromData(t,r)}icalclass="icaltime";_cachedUnixTime=null;get icaltype(){return this.isDate?"date":"date-time"}zone=null;_pendingNormalization=!1;clone(){return new E(this._time,this.zone)}reset(){this.fromData(E.epochTime),this.zone=Y.utcTimezone}resetTo(t,r,T,i,a,n,s){this.fromData({year:t,month:r,day:T,hour:i,minute:a,second:n,zone:s})}fromJSDate(t,r){return t?r?(this.zone=Y.utcTimezone,this.year=t.getUTCFullYear(),this.month=t.getUTCMonth()+1,this.day=t.getUTCDate(),this.hour=t.getUTCHours(),this.minute=t.getUTCMinutes(),this.second=t.getUTCSeconds()):(this.zone=Y.localTimezone,this.year=t.getFullYear(),this.month=t.getMonth()+1,this.day=t.getDate(),this.hour=t.getHours(),this.minute=t.getMinutes(),this.second=t.getSeconds()):this.reset(),this._cachedUnixTime=null,this}fromData(t,r){if(t)for(let[T,i]of Object.entries(t))T!=="icaltype"&&(this[T]=i);if(r&&(this.zone=r),t&&!("isDate"in t)?this.isDate=!("hour"in t):t&&"isDate"in t&&(this.isDate=t.isDate),t&&"timezone"in t){let T=j0.get(t.timezone);this.zone=T||Y.localTimezone}return t&&"zone"in t&&(this.zone=t.zone),this.zone||(this.zone=Y.localTimezone),this._cachedUnixTime=null,this}dayOfWeek(t){let r=t||E.SUNDAY,T=(this.year<<12)+(this.month<<8)+(this.day<<3)+r;if(T in E._dowCache)return E._dowCache[T];let i=this.day,a=this.month+(this.month<3?12:0),n=this.year-(this.month<3?1:0),s=i+n+p((a+1)*26/10)+p(n/4);return s+=p(n/100)*6+p(n/400),s=(s+7-r)%7+1,E._dowCache[T]=s,s}dayOfYear(){let t=E.isLeapYear(this.year)?1:0;return E.daysInYearPassedMonth[t][this.month-1]+this.day}startOfWeek(t){let r=t||E.SUNDAY,T=this.clone();return T.day-=(this.dayOfWeek()+7-r)%7,T.isDate=!0,T.hour=0,T.minute=0,T.second=0,T}endOfWeek(t){let r=t||E.SUNDAY,T=this.clone();return T.day+=(7-this.dayOfWeek()+r-E.SUNDAY)%7,T.isDate=!0,T.hour=0,T.minute=0,T.second=0,T}startOfMonth(){let t=this.clone();return t.day=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t}endOfMonth(){let t=this.clone();return t.day=E.daysInMonth(t.month,t.year),t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t}startOfYear(){let t=this.clone();return t.day=1,t.month=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t}endOfYear(){let t=this.clone();return t.day=31,t.month=12,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t}startDoyWeek(t){let r=t||E.SUNDAY,T=this.dayOfWeek()-r;return T<0&&(T+=7),this.dayOfYear()-T}getDominicalLetter(){return E.getDominicalLetter(this.year)}nthWeekDay(t,r){let T=E.daysInMonth(this.month,this.year),i,a=r,n=0,s=this.clone();if(a>=0){s.day=1,a!=0&&a--,n=s.day;let A=s.dayOfWeek(),o=t-A;o<0&&(o+=7),n+=o,n-=t,i=t}else{s.day=T;let A=s.dayOfWeek();a++,i=A-t,i<0&&(i+=7),i=T-i}return i+=a*7,n+i}isNthWeekDay(t,r){let T=this.dayOfWeek();return r===0&&T===t||this.nthWeekDay(t,r)===this.day}weekNumber(t){let r=(this.year<<12)+(this.month<<8)+(this.day<<3)+t;if(r in E._wnCache)return E._wnCache[r];let T,i=this.clone();i.isDate=!0;let a=this.year;i.month==12&&i.day>25?(T=E.weekOneStarts(a+1,t),i.compare(T)<0?T=E.weekOneStarts(a,t):a++):(T=E.weekOneStarts(a,t),i.compare(T)<0&&(T=E.weekOneStarts(--a,t)));let n=i.subtractDate(T).toSeconds()/86400,s=p(n/7)+1;return E._wnCache[r]=s,s}addDuration(t){let r=t.isNegative?-1:1,T=this.second,i=this.minute,a=this.hour,n=this.day;T+=r*t.seconds,i+=r*t.minutes,a+=r*t.hours,n+=r*t.days,n+=r*7*t.weeks,this.second=T,this.minute=i,this.hour=a,this.day=n,this._cachedUnixTime=null}subtractDate(t){let r=this.toUnixTime()+this.utcOffset(),T=t.toUnixTime()+t.utcOffset();return L.fromSeconds(r-T)}subtractDateTz(t){let r=this.toUnixTime(),T=t.toUnixTime();return L.fromSeconds(r-T)}compare(t){let r=this.toUnixTime(),T=t.toUnixTime();return r>T?1:T>r?-1:0}compareDateOnlyTz(t,r){let T=this.convertToZone(r),i=t.convertToZone(r),a=0;return(a=E._cmp_attr(T,i,"year"))!=0||(a=E._cmp_attr(T,i,"month"))!=0||(a=E._cmp_attr(T,i,"day"))!=0,a}convertToZone(t){let r=this.clone(),T=this.zone.tzid==t.tzid;return!this.isDate&&!T&&Y.convert_time(r,this.zone,t),r.zone=t,r}utcOffset(){return this.zone==Y.localTimezone||this.zone==Y.utcTimezone?0:this.zone.utcOffset(this)}toICALString(){let t=this.toString();return t.length>10?B.icalendar.value["date-time"].toICAL(t):B.icalendar.value.date.toICAL(t)}toString(){let t=this.year+"-"+U(this.month)+"-"+U(this.day);return this.isDate||(t+="T"+U(this.hour)+":"+U(this.minute)+":"+U(this.second),this.zone===Y.utcTimezone&&(t+="Z")),t}toJSDate(){return this.zone==Y.localTimezone?this.isDate?new Date(this.year,this.month-1,this.day):new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,0):new Date(this.toUnixTime()*1e3)}_normalize(){return this._time.isDate&&(this._time.hour=0,this._time.minute=0,this._time.second=0),this.adjust(0,0,0,0),this}adjust(t,r,T,i,a){let n,s,A=0,o=0,l,D,S,c,R,u=a||this._time;if(u.isDate||(l=u.second+i,u.second=l%60,n=p(l/60),u.second<0&&(u.second+=60,n--),D=u.minute+T+n,u.minute=D%60,s=p(D/60),u.minute<0&&(u.minute+=60,s--),S=u.hour+r+s,u.hour=S%24,A=p(S/24),u.hour<0&&(u.hour+=24,A--)),u.month>12?o=p((u.month-1)/12):u.month<1&&(o=p(u.month/12)-1),u.year+=o,u.month-=12*o,c=u.day+t+A,c>0)for(;R=E.daysInMonth(u.month,u.year),!(c<=R);)u.month++,u.month>12&&(u.year++,u.month=1),c-=R;else for(;c<=0;)u.month==1?(u.year--,u.month=12):u.month--,c+=E.daysInMonth(u.month,u.year);return u.day=c,this._cachedUnixTime=null,this}fromUnixTime(t){this.zone=Y.utcTimezone;let r=new Date(t*1e3);this.year=r.getUTCFullYear(),this.month=r.getUTCMonth()+1,this.day=r.getUTCDate(),this._time.isDate?(this.hour=0,this.minute=0,this.second=0):(this.hour=r.getUTCHours(),this.minute=r.getUTCMinutes(),this.second=r.getUTCSeconds()),this._cachedUnixTime=null}toUnixTime(){if(this._cachedUnixTime!==null)return this._cachedUnixTime;let t=this.utcOffset(),r=Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second-t);return this._cachedUnixTime=r/1e3,this._cachedUnixTime}toJSON(){let t=["year","month","day","hour","minute","second","isDate"],r=Object.create(null),T=0,i=t.length,a;for(;T<i;T++)a=t[T],r[a]=this[a];return this.zone&&(r.timezone=this.zone.tzid),r}}(function(){function e(t){Object.defineProperty(E.prototype,t,{get:function(){return this._pendingNormalization&&(this._normalize(),this._pendingNormalization=!1),this._time[t]},set:function(r){t==="isDate"&&r&&!this._time.isDate&&this.adjust(0,0,0,0),this._cachedUnixTime=null,this._pendingNormalization=!0,this._time[t]=r}})}e("year"),e("month"),e("day"),e("hour"),e("minute"),e("second"),e("isDate")})();const bT=/[^ \t]/,C0=":",At=";",_T="=",wT="unknown",kT="text",xT={"^'":'"',"^n":`
`,"^^":"^"};function d(e){let t={},r=t.component=[];if(t.stack=[r],d._eachLine(e,function(T,i){d._handleContentLine(i,t)}),t.stack.length>1)throw new s0("invalid ical body. component began but did not end");return t=null,r.length==1?r[0]:r}d.property=function(e,t){let r={component:[[],[]],designSet:t||B.defaultSet};return d._handleContentLine(e,r),r.component[1][0]},d.component=function(e){return d(e)};class s0 extends Error{name=this.constructor.name}d.ParserError=s0,d._handleContentLine=function(e,t){let r=e.indexOf(C0),T=e.indexOf(At),i,a,n,s,A={};T!==-1&&r!==-1&&T>r&&(T=-1);let o;if(T!==-1){if(n=e.slice(0,Math.max(0,T)).toLowerCase(),o=d._parseParameters(e.slice(Math.max(0,T)),0,t.designSet),o[2]==-1)throw new s0("Invalid parameters in '"+e+"'");if(A=o[0],i=o[1].length+o[2]+T,(a=e.slice(Math.max(0,i)).indexOf(C0))!==-1)s=e.slice(Math.max(0,i+a+1));else throw new s0("Missing parameter value in '"+e+"'")}else if(r!==-1){if(n=e.slice(0,Math.max(0,r)).toLowerCase(),s=e.slice(Math.max(0,r+1)),n==="begin"){let f=[s.toLowerCase(),[],[]];t.stack.length===1?t.component.push(f):t.component[2].push(f),t.stack.push(t.component),t.component=f,t.designSet||(t.designSet=B.getDesignSet(t.component[0]));return}else if(n==="end"){t.component=t.stack.pop();return}}else throw new s0('invalid line (no token ";" or ":") "'+e+'"');let l,D=!1,S=!1,c,R,u;t.designSet.propertyGroups&&n.indexOf(".")!==-1?(R=n.split("."),A.group=R[0],u=R[1]):u=n,u in t.designSet.property&&(c=t.designSet.property[u],"multiValue"in c&&(D=c.multiValue),"structuredValue"in c&&(S=c.structuredValue),s&&"detectType"in c&&(l=c.detectType(s))),l||("value"in A?l=A.value.toLowerCase():c?l=c.defaultType:l=wT),delete A.value;let F;D&&S?(s=d._parseMultiValue(s,S,l,[],D,t.designSet,S),F=[u,A,l,s]):D?(F=[u,A,l],d._parseMultiValue(s,D,l,F,null,t.designSet,!1)):S?(s=d._parseMultiValue(s,S,l,[],null,t.designSet,S),F=[u,A,l,s]):(s=d._parseValue(s,l,t.designSet,!1),F=[u,A,l,s]),t.component[0]==="vcard"&&t.component[1].length===0&&!(n==="version"&&s==="4.0")&&(t.designSet=B.getDesignSet("vcard3")),t.component[1].push(F)},d._parseValue=function(e,t,r,T){return t in r.value&&"fromICAL"in r.value[t]?r.value[t].fromICAL(e,T):e},d._parseParameters=function(e,t,r){let T=t,i=0,a=_T,n={},s,A,o,l=-1,D,S,c;for(;i!==!1&&(i=e.indexOf(a,i+1))!==-1;){if(s=e.slice(T+1,i),s.length==0)throw new s0("Empty parameter name in '"+e+"'");if(A=s.toLowerCase(),c=!1,S=!1,A in r.param&&r.param[A].valueType?D=r.param[A].valueType:D=kT,A in r.param&&(S=r.param[A].multiValue,r.param[A].multiValueSeparateDQuote&&(c=d._rfc6868Escape('"'+S+'"'))),e[i+1]==='"'){if(l=i+2,i=e.indexOf('"',l),S&&i!=-1){let F=!0;for(;F;)e[i+1]==S&&e[i+2]=='"'?i=e.indexOf('"',i+3):F=!1}if(i===-1)throw new s0('invalid line (no matching double quote) "'+e+'"');o=e.slice(l,i),T=e.indexOf(At,i);let u=e.indexOf(C0,i);(T===-1||u!==-1&&T>u)&&(i=!1)}else{l=i+1;let u=e.indexOf(At,l),F=e.indexOf(C0,l);F!==-1&&u>F?(u=F,i=!1):u===-1?(F===-1?u=e.length:u=F,i=!1):(T=u,i=u),o=e.slice(l,u)}const R=o.length;if(o=d._rfc6868Escape(o),l+=R-o.length,S){let u=c||S;o=d._parseMultiValue(o,u,D,[],null,r)}else o=d._parseValue(o,D,r);S&&A in n?Array.isArray(n[A])?n[A].push(o):n[A]=[n[A],o]:n[A]=o}return[n,o,l]},d._rfc6868Escape=function(e){return e.replace(/\^['n^]/g,function(t){return xT[t]})},d._parseMultiValue=function(e,t,r,T,i,a,n){let s=0,A=0,o;if(t.length===0)return e;for(;(s=oe(e,t,A))!==-1;)o=e.slice(A,s),i?o=d._parseMultiValue(o,i,r,[],null,a,n):o=d._parseValue(o,r,a,n),T.push(o),A=s+t.length;return o=e.slice(A),i?o=d._parseMultiValue(o,i,r,[],null,a,n):o=d._parseValue(o,r,a,n),T.push(o),T.length==1?T[0]:T},d._eachLine=function(e,t){let r=e.length,T=e.search(bT),i=T,a,n,s;do i=e.indexOf(`
`,T)+1,i>1&&e[i-2]==="\r"?s=2:s=1,i===0&&(i=r,s=0),n=e[T],n===" "||n===" "?a+=e.slice(T+1,i-s):(a&&t(null,a),a=e.slice(T,i-s)),T=i;while(i!==r);a=a.trim(),a.length&&t(null,a)};const PT=["tzid","location","tznames","latitude","longitude"];let Y=class O{static _compare_change_fn(t,r){return t.year<r.year?-1:t.year>r.year?1:t.month<r.month?-1:t.month>r.month?1:t.day<r.day?-1:t.day>r.day?1:t.hour<r.hour?-1:t.hour>r.hour?1:t.minute<r.minute?-1:t.minute>r.minute?1:t.second<r.second?-1:t.second>r.second?1:0}static convert_time(t,r,T){if(t.isDate||r.tzid==T.tzid||r==O.localTimezone||T==O.localTimezone)return t.zone=T,t;let i=r.utcOffset(t);return t.adjust(0,0,0,-i),i=T.utcOffset(t),t.adjust(0,0,0,i),null}static fromData(t){return new O().fromData(t)}static#t=null;static get utcTimezone(){return this.#t||(this.#t=O.fromData({tzid:"UTC"})),this.#t}static#e=null;static get localTimezone(){return this.#e||(this.#e=O.fromData({tzid:"floating"})),this.#e}static adjust_change(t,r,T,i,a){return E.prototype.adjust.call(t,r,T,i,a,t)}static _minimumExpansionYear=-1;static EXTRA_COVERAGE=5;constructor(t){this.wrappedJSObject=this,this.fromData(t)}tzid="";location="";tznames="";latitude=0;longitude=0;component=null;expandedUntilYear=0;icalclass="icaltimezone";fromData(t){if(this.expandedUntilYear=0,this.changes=[],t instanceof C)this.component=t;else{if(t&&"component"in t)if(typeof t.component=="string"){let r=d(t.component);this.component=new C(r)}else t.component instanceof C?this.component=t.component:this.component=null;for(let r of PT)t&&r in t&&(this[r]=t[r])}return this.component instanceof C&&!this.tzid&&(this.tzid=this.component.getFirstPropertyValue("tzid")),this}utcOffset(t){if(this==O.utcTimezone||this==O.localTimezone||(this._ensureCoverage(t.year),!this.changes.length))return 0;let r={year:t.year,month:t.month,day:t.day,hour:t.hour,minute:t.minute,second:t.second},T=this._findNearbyChange(r),i=-1,a=1;for(;;){let s=D0(this.changes[T],!0);if(s.utcOffset<s.prevUtcOffset?O.adjust_change(s,0,0,0,s.utcOffset):O.adjust_change(s,0,0,0,s.prevUtcOffset),O._compare_change_fn(r,s)>=0?i=T:a=-1,a==-1&&i!=-1)break;if(T+=a,T<0)return 0;if(T>=this.changes.length)break}let n=this.changes[i];if(n.utcOffset-n.prevUtcOffset<0&&i>0){let s=D0(n,!0);if(O.adjust_change(s,0,0,0,s.prevUtcOffset),O._compare_change_fn(r,s)<0){let A=this.changes[i-1],o=!1;n.is_daylight!=o&&A.is_daylight==o&&(n=A)}}return n.utcOffset}_findNearbyChange(t){let r=l0(this.changes,t,O._compare_change_fn);return r>=this.changes.length?this.changes.length-1:r}_ensureCoverage(t){if(O._minimumExpansionYear==-1){let T=E.now();O._minimumExpansionYear=T.year}let r=t;if(r<O._minimumExpansionYear&&(r=O._minimumExpansionYear),r+=O.EXTRA_COVERAGE,!this.changes.length||this.expandedUntilYear<t){let T=this.component.getAllSubcomponents(),i=T.length,a=0;for(;a<i;a++)this._expandComponent(T[a],r,this.changes);this.changes.sort(O._compare_change_fn),this.expandedUntilYear=r}}_expandComponent(t,r,T){if(!t.hasProperty("dtstart")||!t.hasProperty("tzoffsetto")||!t.hasProperty("tzoffsetfrom"))return null;let i=t.getFirstProperty("dtstart").getFirstValue(),a;function n(A){return A.factor*(A.hours*3600+A.minutes*60)}function s(){let A={};return A.is_daylight=t.name=="daylight",A.utcOffset=n(t.getFirstProperty("tzoffsetto").getFirstValue()),A.prevUtcOffset=n(t.getFirstProperty("tzoffsetfrom").getFirstValue()),A}if(!t.hasProperty("rrule")&&!t.hasProperty("rdate"))a=s(),a.year=i.year,a.month=i.month,a.day=i.day,a.hour=i.hour,a.minute=i.minute,a.second=i.second,O.adjust_change(a,0,0,0,-a.prevUtcOffset),T.push(a);else{let A=t.getAllProperties("rdate");for(let l of A){let D=l.getFirstValue();a=s(),a.year=D.year,a.month=D.month,a.day=D.day,D.isDate?(a.hour=i.hour,a.minute=i.minute,a.second=i.second,i.zone!=O.utcTimezone&&O.adjust_change(a,0,0,0,-a.prevUtcOffset)):(a.hour=D.hour,a.minute=D.minute,a.second=D.second,D.zone!=O.utcTimezone&&O.adjust_change(a,0,0,0,-a.prevUtcOffset)),T.push(a)}let o=t.getFirstProperty("rrule");if(o){o=o.getFirstValue(),a=s(),o.until&&o.until.zone==O.utcTimezone&&(o.until.adjust(0,0,0,a.prevUtcOffset),o.until.zone=O.localTimezone);let l=o.iterator(i),D;for(;(D=l.next())&&(a=s(),!(D.year>r||!D));)a.year=D.year,a.month=D.month,a.day=D.day,a.hour=D.hour,a.minute=D.minute,a.second=D.second,a.isDate=D.isDate,O.adjust_change(a,0,0,0,-a.prevUtcOffset),T.push(a)}}return T}toString(){return this.tznames?this.tznames:this.tzid}},G=null;const j0={get count(){return G===null?0:Object.keys(G).length},reset:function(){G=Object.create(null);let e=Y.utcTimezone;G.Z=e,G.UTC=e,G.GMT=e},_hard_reset:function(){G=null},has:function(e){return G===null?!1:!!G[e]},get:function(e){return G===null&&this.reset(),G[e]},register:function(e,t){if(G===null&&this.reset(),typeof e=="string"&&t instanceof Y&&([e,t]=[t,e]),t||(e instanceof Y?t=e.tzid:e.name==="vtimezone"&&(e=new Y(e),t=e.tzid)),!t)throw new TypeError("Neither a timezone nor a name was passed");if(e instanceof Y)G[t]=e;else throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component")},remove:function(e){return G===null?null:delete G[e]}};function QT(e){let t,r,T,i,a;if(!e||e.name!=="vcalendar")return e;for(t=e.getAllSubcomponents(),r=[],T={},a=0;a<t.length;a++)if(t[a].name==="vtimezone"){let n=t[a].getFirstProperty("tzid").getFirstValue();T[n]=t[a]}else r=r.concat(t[a].getAllProperties());for(i={},a=0;a<r.length;a++){let n=r[a].getParameter("tzid");n&&(i[n]=!0)}for(let[n,s]of Object.entries(T))i[n]||e.removeSubcomponent(s);for(let n of Object.keys(i))!T[n]&&j0.has(n)&&e.addSubcomponent(j0.get(n).component);return e}function I0(e){return typeof e=="number"&&isNaN(e)}function g(e){let t=parseInt(e,10);if(I0(t))throw new Error('Could not extract integer from "'+e+'"');return t}function V(e,t){if(!(typeof e>"u"))return e instanceof t?e:new t(e)}function oe(e,t,r){for(;(r=e.indexOf(t,r))!==-1;)if(r>0&&e[r-1]==="\\")r+=1;else return r;return-1}function l0(e,t,r){if(!e.length)return 0;let T=0,i=e.length-1,a,n;for(;T<=i;)if(a=T+Math.floor((i-T)/2),n=r(t,e[a]),n<0)i=a-1;else if(n>0)T=a+1;else break;return n<0?a:n>0?a+1:a}function D0(e,t){if(!e||typeof e!="object")return e;if(e instanceof Date)return new Date(e.getTime());if("clone"in e)return e.clone();if(Array.isArray(e)){let r=[];for(let T=0;T<e.length;T++)r.push(t?D0(e[T],!0):e[T]);return r}else{let r={};for(let[T,i]of Object.entries(e))t?r[T]=D0(i,!0):r[T]=i;return r}}function le(e){let t="",r=e||"",T=0,i=0;for(;r.length;){let a=r.codePointAt(T);a<128?++i:a<2048?i+=2:a<65536?i+=3:i+=4,i<Z.foldLength+1?T+=a>65535?2:1:(t+=Z.newLineChar+" "+r.slice(0,Math.max(0,T)),r=r.slice(Math.max(0,T)),T=i=0)}return t.slice(Z.newLineChar.length+1)}function U(e){switch(typeof e!="string"&&(typeof e=="number"&&(e=parseInt(e)),e=String(e)),e.length){case 0:return"00";case 1:return"0"+e;default:return e}}function p(e){return e<0?Math.ceil(e):Math.floor(e)}function u0(e,t){for(let r in e){let T=Object.getOwnPropertyDescriptor(e,r);T&&!Object.getOwnPropertyDescriptor(t,r)&&Object.defineProperty(t,r,T)}return t}var zT=Object.freeze({__proto__:null,updateTimezones:QT,isStrictlyNaN:I0,strictParseInt:g,formatClassType:V,unescapedIndexOf:oe,binsearchInsert:l0,clone:D0,foldline:le,pad2:U,trunc:p,extend:u0});class w{static fromString(t){let r={};return r.factor=t[0]==="+"?1:-1,r.hours=g(t.slice(1,3)),r.minutes=g(t.slice(4,6)),new w(r)}static fromSeconds(t){let r=new w;return r.fromSeconds(t),r}constructor(t){this.fromData(t)}hours=0;minutes=0;factor=1;icaltype="utc-offset";clone(){return w.fromSeconds(this.toSeconds())}fromData(t){if(t)for(let[r,T]of Object.entries(t))this[r]=T;this._normalize()}fromSeconds(t){let r=Math.abs(t);return this.factor=t<0?-1:1,this.hours=p(r/3600),r-=this.hours*3600,this.minutes=p(r/60),this}toSeconds(){return this.factor*(60*this.minutes+3600*this.hours)}compare(t){let r=this.toSeconds(),T=t.toSeconds();return(r>T)-(T>r)}_normalize(){let t=this.toSeconds(),r=this.factor;for(;t<-43200;)t+=97200;for(;t>50400;)t-=97200;this.fromSeconds(t),t==0&&(this.factor=r)}toICALString(){return B.icalendar.value["utc-offset"].toICAL(this.toString())}toString(){return(this.factor==1?"+":"-")+U(this.hours)+":"+U(this.minutes)}}class i0 extends E{static fromDateAndOrTimeString(t,r){function T(u,F,f){return u?g(u.slice(F,F+f)):null}let i=t.split("T"),a=i[0],n=i[1],s=n?B.vcard.value.time._splitZone(n):[],A=s[0],o=s[1],l=a?a.length:0,D=o?o.length:0,S=a&&a[0]=="-"&&a[1]=="-",c=o&&o[0]=="-",R={year:S?null:T(a,0,4),month:S&&(l==4||l==7)?T(a,2,2):l==7||l==10?T(a,5,2):null,day:l==5?T(a,3,2):l==7&&S?T(a,5,2):l==10?T(a,8,2):null,hour:c?null:T(o,0,2),minute:c&&D==3?T(o,1,2):D>4?c?T(o,1,2):T(o,3,2):null,second:D==4?T(o,2,2):D==6?T(o,4,2):D==8?T(o,6,2):null};return A=="Z"?A=Y.utcTimezone:A&&A[3]==":"?A=w.fromString(A):A=null,new i0(R,A,r)}constructor(t,r,T){super(t,r),this.icaltype=T||"date-and-or-time"}icalclass="vcardtime";icaltype="date-and-or-time";clone(){return new i0(this._time,this.zone,this.icaltype)}_normalize(){return this}utcOffset(){return this.zone instanceof w?this.zone.toSeconds():E.prototype.utcOffset.apply(this,arguments)}toICALString(){return B.vcard.value[this.icaltype].toICAL(this.toString())}toString(){let t=this.year,r=this.month,T=this.day,i=this.hour,a=this.minute,n=this.second,s=t!==null,A=r!==null,o=T!==null,l=i!==null,D=a!==null,S=n!==null,c=(s?U(t)+(A||o?"-":""):A||o?"--":"")+(A?U(r):"")+(o?"-"+U(T):""),R=(l?U(i):"-")+(l&&D?":":"")+(D?U(a):"")+(!l&&!D?"-":"")+(D&&S?":":"")+(S?U(n):""),u;switch(this.zone===Y.utcTimezone?u="Z":this.zone instanceof w?u=this.zone.toString():this.zone===Y.localTimezone?u="":this.zone instanceof Y?u=w.fromSeconds(this.zone.utcOffset(this)).toString():u="",this.icaltype){case"time":return R+u;case"date-and-or-time":case"date-time":return c+(R=="--"?"":"T"+R+u);case"date":return c}return null}}class x{static _indexMap={BYSECOND:0,BYMINUTE:1,BYHOUR:2,BYDAY:3,BYMONTHDAY:4,BYYEARDAY:5,BYWEEKNO:6,BYMONTH:7,BYSETPOS:8};static _expandMap={SECONDLY:[1,1,1,1,1,1,1,1],MINUTELY:[2,1,1,1,1,1,1,1],HOURLY:[2,2,1,1,1,1,1,1],DAILY:[2,2,2,1,1,1,1,1],WEEKLY:[2,2,2,2,3,3,1,1],MONTHLY:[2,2,2,2,2,3,3,1],YEARLY:[2,2,2,2,2,2,2,2]};static UNKNOWN=0;static CONTRACT=1;static EXPAND=2;static ILLEGAL=3;constructor(t){this.fromData(t)}completed=!1;rule=null;dtstart=null;last=null;occurrence_number=0;by_indices=null;initialized=!1;by_data=null;days=null;days_index=0;fromData(t){if(this.rule=V(t.rule,I),!this.rule)throw new Error("iterator requires a (ICAL.Recur) rule");if(this.dtstart=V(t.dtstart,E),!this.dtstart)throw new Error("iterator requires a (ICAL.Time) dtstart");if(t.by_data?this.by_data=t.by_data:this.by_data=D0(this.rule.parts,!0),t.occurrence_number&&(this.occurrence_number=t.occurrence_number),this.days=t.days||[],t.last&&(this.last=V(t.last,E)),this.by_indices=t.by_indices,this.by_indices||(this.by_indices={BYSECOND:0,BYMINUTE:0,BYHOUR:0,BYDAY:0,BYMONTH:0,BYWEEKNO:0,BYMONTHDAY:0}),this.initialized=t.initialized||!1,!this.initialized)try{this.init()}catch(r){if(r instanceof Ut)this.completed=!0;else throw r}}init(){this.initialized=!0,this.last=this.dtstart.clone();let t=this.by_data;if("BYDAY"in t&&this.sort_byday_rules(t.BYDAY),"BYYEARDAY"in t&&("BYMONTH"in t||"BYWEEKNO"in t||"BYMONTHDAY"in t||"BYDAY"in t))throw new Error("Invalid BYYEARDAY rule");if("BYWEEKNO"in t&&"BYMONTHDAY"in t)throw new Error("BYWEEKNO does not fit to BYMONTHDAY");if(this.rule.freq=="MONTHLY"&&("BYYEARDAY"in t||"BYWEEKNO"in t))throw new Error("For MONTHLY recurrences neither BYYEARDAY nor BYWEEKNO may appear");if(this.rule.freq=="WEEKLY"&&("BYYEARDAY"in t||"BYMONTHDAY"in t))throw new Error("For WEEKLY recurrences neither BYMONTHDAY nor BYYEARDAY may appear");if(this.rule.freq!="YEARLY"&&"BYYEARDAY"in t)throw new Error("BYYEARDAY may only appear in YEARLY rules");if(this.last.second=this.setup_defaults("BYSECOND","SECONDLY",this.dtstart.second),this.last.minute=this.setup_defaults("BYMINUTE","MINUTELY",this.dtstart.minute),this.last.hour=this.setup_defaults("BYHOUR","HOURLY",this.dtstart.hour),this.last.day=this.setup_defaults("BYMONTHDAY","DAILY",this.dtstart.day),this.last.month=this.setup_defaults("BYMONTH","MONTHLY",this.dtstart.month),this.rule.freq=="WEEKLY")if("BYDAY"in t){let[,r]=this.ruleDayOfWeek(t.BYDAY[0],this.rule.wkst),T=r-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)<r&&T>=0||T<0)&&(this.last.day+=T)}else{let r=I.numericDayToIcalDay(this.dtstart.dayOfWeek());t.BYDAY=[r]}if(this.rule.freq=="YEARLY"){const r=this.rule.until?this.rule.until.year:2e4;for(;this.last.year<=r&&(this.expand_year_days(this.last.year),!(this.days.length>0));)this.increment_year(this.rule.interval);if(this.days.length==0)throw new Ut;this._nextByYearDay()}if(this.rule.freq=="MONTHLY"){if(this.has_by_data("BYDAY")){let r=null,T=this.last.clone(),i=E.daysInMonth(this.last.month,this.last.year);for(let a of this.by_data.BYDAY){this.last=T.clone();let[n,s]=this.ruleDayOfWeek(a),A=this.last.nthWeekDay(s,n);if(n>=6||n<=-6)throw new Error("Malformed values in BYDAY part");if(A>i||A<=0){if(r&&r.month==T.month)continue;for(;A>i||A<=0;)this.increment_month(),i=E.daysInMonth(this.last.month,this.last.year),A=this.last.nthWeekDay(s,n)}this.last.day=A,(!r||this.last.compare(r)<0)&&(r=this.last.clone())}if(this.last=r.clone(),this.has_by_data("BYMONTHDAY")&&this._byDayAndMonthDay(!0),this.last.day>i||this.last.day==0)throw new Error("Malformed values in BYDAY part")}else if(this.has_by_data("BYMONTHDAY")){this.last.day=1;let r=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY).filter(T=>T>=this.last.day);if(r.length)this.last.day=r[0],this.by_data.BYMONTHDAY=r;else if(!this.next_month()&&!this.next_month()&&!this.next_month())throw new Error("No possible occurrences")}}}next(t=!1){let r=this.last?this.last.clone():null;if((this.rule.count&&this.occurrence_number>=this.rule.count||this.rule.until&&this.last.compare(this.rule.until)>0)&&(this.completed=!0),this.completed)return null;if(this.occurrence_number==0&&this.last.compare(this.dtstart)>=0)return this.occurrence_number++,this.last;let T;do switch(T=1,this.rule.freq){case"SECONDLY":this.next_second();break;case"MINUTELY":this.next_minute();break;case"HOURLY":this.next_hour();break;case"DAILY":this.next_day();break;case"WEEKLY":this.next_week();break;case"MONTHLY":T=this.next_month();break;case"YEARLY":this.next_year();break;default:return null}while(!this.check_contracting_rules()||this.last.compare(this.dtstart)<0||!T);if(this.last.compare(r)==0){if(t)throw new Error("Same occurrence found twice, protecting you from death by recursion");this.next(!0)}return this.rule.until&&this.last.compare(this.rule.until)>0?(this.completed=!0,null):(this.occurrence_number++,this.last)}next_second(){return this.next_generic("BYSECOND","SECONDLY","second","minute")}increment_second(t){return this.increment_generic(t,"second",60,"minute")}next_minute(){return this.next_generic("BYMINUTE","MINUTELY","minute","hour","next_second")}increment_minute(t){return this.increment_generic(t,"minute",60,"hour")}next_hour(){return this.next_generic("BYHOUR","HOURLY","hour","monthday","next_minute")}increment_hour(t){this.increment_generic(t,"hour",24,"monthday")}next_day(){let t=this.rule.freq=="DAILY";return this.next_hour()==0||(t?this.increment_monthday(this.rule.interval):this.increment_monthday(1)),0}next_week(){let t=0;if(this.next_weekday_by_week()==0)return t;if(this.has_by_data("BYWEEKNO")){this.by_indices.BYWEEKNO++,this.by_indices.BYWEEKNO==this.by_data.BYWEEKNO.length&&(this.by_indices.BYWEEKNO=0,t=1),this.last.month=1,this.last.day=1;let r=this.by_data.BYWEEKNO[this.by_indices.BYWEEKNO];this.last.day+=7*r,t&&this.increment_year(1)}else this.increment_monthday(7*this.rule.interval);return t}normalizeByMonthDayRules(t,r,T){let i=E.daysInMonth(r,t),a=[],n=0,s=T.length,A;for(;n<s;n++){if(A=parseInt(T[n],10),isNaN(A))throw new Error("Invalid BYMONTHDAY value");if(!(Math.abs(A)>i)){if(A<0)A=i+(A+1);else if(A===0)continue;a.indexOf(A)===-1&&a.push(A)}}return a.sort(function(o,l){return o-l})}_byDayAndMonthDay(t){let r,T=this.by_data.BYDAY,i,a=0,n,s=T.length,A=0,o,l=this,D=this.last.day;function S(){for(o=E.daysInMonth(l.last.month,l.last.year),r=l.normalizeByMonthDayRules(l.last.year,l.last.month,l.by_data.BYMONTHDAY),n=r.length;r[a]<=D&&!(t&&r[a]==D)&&a<n-1;)a++}function c(){D=0,l.increment_month(),a=0,S()}S(),t&&(D-=1);let R=48;for(;!A&&R;){if(R--,i=D+1,i>o){c();continue}let u=r[a++];if(u>=i)D=u;else{c();continue}for(let F=0;F<s;F++){let f=this.ruleDayOfWeek(T[F]),S0=f[0],$=f[1];if(this.last.day=D,this.last.isNthWeekDay($,S0)){A=1;break}}if(!A&&a===n){c();continue}}if(R<=0)throw new Error("Malformed values in BYDAY combined with BYMONTHDAY parts");return A}next_month(){let t=1;if(this.next_hour()==0)return t;if(this.has_by_data("BYDAY")&&this.has_by_data("BYMONTHDAY"))t=this._byDayAndMonthDay();else if(this.has_by_data("BYDAY")){let r=E.daysInMonth(this.last.month,this.last.year),T=0,i=0;if(this.has_by_data("BYSETPOS")){let n=this.last.day;for(let s=1;s<=r;s++)this.last.day=s,this.is_day_in_byday(this.last)&&(i++,s<=n&&T++);this.last.day=n}t=0;let a;for(a=this.last.day+1;a<=r;a++)if(this.last.day=a,this.is_day_in_byday(this.last)&&(!this.has_by_data("BYSETPOS")||this.check_set_position(++T)||this.check_set_position(T-i-1))){t=1;break}a>r&&(this.last.day=1,this.increment_month(),this.is_day_in_byday(this.last)?(!this.has_by_data("BYSETPOS")||this.check_set_position(1))&&(t=1):t=0)}else if(this.has_by_data("BYMONTHDAY")){if(this.by_indices.BYMONTHDAY++,this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length&&(this.by_indices.BYMONTHDAY=0,this.increment_month(),this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length))return 0;let r=E.daysInMonth(this.last.month,this.last.year),T=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY];T<0&&(T=r+T+1),T>r?(this.last.day=1,t=this.is_day_in_byday(this.last)):this.last.day=T}else{this.increment_month();let r=E.daysInMonth(this.last.month,this.last.year);this.by_data.BYMONTHDAY[0]>r?t=0:this.last.day=this.by_data.BYMONTHDAY[0]}return t}next_weekday_by_week(){let t=0;if(this.next_hour()==0)return t;if(!this.has_by_data("BYDAY"))return 1;for(;;){let r=new E;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,t=1);let T=this.by_data.BYDAY[this.by_indices.BYDAY],i=this.ruleDayOfWeek(T)[1];i-=this.rule.wkst,i<0&&(i+=7),r.year=this.last.year,r.month=this.last.month,r.day=this.last.day;let a=r.startDoyWeek(this.rule.wkst);if(i+a<1&&!t)continue;let n=E.fromDayOfYear(a+i,this.last.year);return this.last.year=n.year,this.last.month=n.month,this.last.day=n.day,t}}next_year(){if(this.next_hour()==0)return 0;if(++this.days_index==this.days.length){this.days_index=0;do this.increment_year(this.rule.interval),this.has_by_data("BYMONTHDAY")&&(this.by_data.BYMONTHDAY=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY)),this.expand_year_days(this.last.year);while(this.days.length==0)}return this._nextByYearDay(),1}_nextByYearDay(){let t=this.days[this.days_index],r=this.last.year;t<1&&(t+=1,r+=1);let T=E.fromDayOfYear(t,r);this.last.day=T.day,this.last.month=T.month}ruleDayOfWeek(t,r){let T=t.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);if(T){let i=parseInt(T[1]||0,10);return t=I.icalDayToNumericDay(T[2],r),[i,t]}else return[0,0]}next_generic(t,r,T,i,a){let n=t in this.by_data,s=this.rule.freq==r,A=0;if(a&&this[a]()==0)return A;if(n){this.by_indices[t]++;let o=this.by_data[t];this.by_indices[t]==o.length&&(this.by_indices[t]=0,A=1),this.last[T]=o[this.by_indices[t]]}else s&&this["increment_"+T](this.rule.interval);return n&&A&&s&&this["increment_"+i](1),A}increment_monthday(t){for(let r=0;r<t;r++){let T=E.daysInMonth(this.last.month,this.last.year);this.last.day++,this.last.day>T&&(this.last.day-=T,this.increment_month())}}increment_month(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{this.rule.freq=="MONTHLY"?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;let t=p(this.last.month/12);this.last.month%=12,this.last.month++,t!=0&&this.increment_year(t)}this.has_by_data("BYMONTHDAY")&&(this.by_data.BYMONTHDAY=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY))}increment_year(t){this.last.day=1,this.last.year+=t}increment_generic(t,r,T,i){this.last[r]+=t;let a=p(this.last[r]/T);this.last[r]%=T,a!=0&&this["increment_"+i](a)}has_by_data(t){return t in this.rule.parts}expand_year_days(t){let r=new E;this.days=[];let T={},i=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(let s of i)s in this.rule.parts&&(T[s]=this.rule.parts[s]);if("BYMONTH"in T&&"BYWEEKNO"in T){let s=1,A={};r.year=t,r.isDate=!0;for(let o=0;o<this.by_data.BYMONTH.length;o++){let l=this.by_data.BYMONTH[o];r.month=l,r.day=1;let D=r.weekNumber(this.rule.wkst);r.day=E.daysInMonth(l,t);let S=r.weekNumber(this.rule.wkst);for(o=D;o<S;o++)A[o]=1}for(let o=0;o<this.by_data.BYWEEKNO.length&&s;o++)this.by_data.BYWEEKNO[o]<52?s&=A[o]:s=0;s?delete T.BYMONTH:delete T.BYWEEKNO}let a=Object.keys(T).length;if(a==0){let s=this.dtstart.clone();s.year=this.last.year,this.days.push(s.dayOfYear())}else if(a==1&&"BYMONTH"in T)for(let s of this.by_data.BYMONTH){let A=this.dtstart.clone();A.year=t,A.month=s,A.isDate=!0,this.days.push(A.dayOfYear())}else if(a==1&&"BYMONTHDAY"in T)for(let s of this.by_data.BYMONTHDAY){let A=this.dtstart.clone();if(s<0){let o=E.daysInMonth(A.month,t);s=s+o+1}A.day=s,A.year=t,A.isDate=!0,this.days.push(A.dayOfYear())}else if(a==2&&"BYMONTHDAY"in T&&"BYMONTH"in T)for(let s of this.by_data.BYMONTH){let A=E.daysInMonth(s,t);for(let o of this.by_data.BYMONTHDAY)o<0&&(o=o+A+1),r.day=o,r.month=s,r.year=t,r.isDate=!0,this.days.push(r.dayOfYear())}else if(!(a==1&&"BYWEEKNO"in T)&&!(a==2&&"BYWEEKNO"in T&&"BYMONTHDAY"in T))if(a==1&&"BYDAY"in T)this.days=this.days.concat(this.expand_by_day(t));else if(a==2&&"BYDAY"in T&&"BYMONTH"in T){for(let s of this.by_data.BYMONTH){let A=E.daysInMonth(s,t);r.year=t,r.month=s,r.day=1,r.isDate=!0;let o=r.dayOfWeek(),l=r.dayOfYear()-1;r.day=A;let D=r.dayOfWeek();if(this.has_by_data("BYSETPOS")){let S=[];for(let c=1;c<=A;c++)r.day=c,this.is_day_in_byday(r)&&S.push(c);for(let c=0;c<S.length;c++)(this.check_set_position(c+1)||this.check_set_position(c-S.length))&&this.days.push(l+S[c])}else for(let S of this.by_data.BYDAY){let c=this.ruleDayOfWeek(S),R=c[0],u=c[1],F,f=(u+7-o)%7+1,S0=A-(D+7-u)%7;if(R==0)for(let $=f;$<=A;$+=7)this.days.push(l+$);else R>0?(F=f+(R-1)*7,F<=A&&this.days.push(l+F)):(F=S0+(R+1)*7,F>0&&this.days.push(l+F))}}this.days.sort(function(s,A){return s-A})}else if(a==2&&"BYDAY"in T&&"BYMONTHDAY"in T){let s=this.expand_by_day(t);for(let A of s){let o=E.fromDayOfYear(A,t);this.by_data.BYMONTHDAY.indexOf(o.day)>=0&&this.days.push(A)}}else if(a==3&&"BYDAY"in T&&"BYMONTHDAY"in T&&"BYMONTH"in T){let s=this.expand_by_day(t);for(let A of s){let o=E.fromDayOfYear(A,t);this.by_data.BYMONTH.indexOf(o.month)>=0&&this.by_data.BYMONTHDAY.indexOf(o.day)>=0&&this.days.push(A)}}else if(a==2&&"BYDAY"in T&&"BYWEEKNO"in T){let s=this.expand_by_day(t);for(let A of s){let o=E.fromDayOfYear(A,t).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(o)&&this.days.push(A)}}else a==3&&"BYDAY"in T&&"BYWEEKNO"in T&&"BYMONTHDAY"in T||(a==1&&"BYYEARDAY"in T?this.days=this.days.concat(this.by_data.BYYEARDAY):this.days=[]);let n=E.isLeapYear(t)?366:365;return this.days.sort((s,A)=>(s<0&&(s+=n+1),A<0&&(A+=n+1),s-A)),0}expand_by_day(t){let r=[],T=this.last.clone();T.year=t,T.month=1,T.day=1,T.isDate=!0;let i=T.dayOfWeek();T.month=12,T.day=31,T.isDate=!0;let a=T.dayOfWeek(),n=T.dayOfYear();for(let s of this.by_data.BYDAY){let A=this.ruleDayOfWeek(s),o=A[0],l=A[1];if(o==0){let D=(l+7-i)%7+1;for(let S=D;S<=n;S+=7)r.push(S)}else if(o>0){let D;l>=i?D=l-i+1:D=l-i+8,r.push(D+(o-1)*7)}else{let D;o=-o,l<=a?D=n-a+l:D=n-a+l-7,r.push(D-(o-1)*7)}}return r}is_day_in_byday(t){if(this.by_data.BYDAY)for(let r of this.by_data.BYDAY){let T=this.ruleDayOfWeek(r),i=T[0],a=T[1],n=t.dayOfWeek();if(i==0&&a==n||t.nthWeekDay(a,i)==t.day)return 1}return 0}check_set_position(t){return this.has_by_data("BYSETPOS")?this.by_data.BYSETPOS.indexOf(t)!==-1:!1}sort_byday_rules(t){for(let r=0;r<t.length;r++)for(let T=0;T<r;T++){let i=this.ruleDayOfWeek(t[T],this.rule.wkst)[1],a=this.ruleDayOfWeek(t[r],this.rule.wkst)[1];if(i>a){let n=t[r];t[r]=t[T],t[T]=n}}}check_contract_restriction(t,r){let T=x._indexMap[t],i=x._expandMap[this.rule.freq][T],a=!1;if(t in this.by_data&&i==x.CONTRACT){let n=this.by_data[t];for(let s of n)if(s==r){a=!0;break}}else a=!0;return a}check_contracting_rules(){let t=this.last.dayOfWeek(),r=this.last.weekNumber(this.rule.wkst),T=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",I.numericDayToIcalDay(t))&&this.check_contract_restriction("BYWEEKNO",r)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",T)}setup_defaults(t,r,T){let i=x._indexMap[t];return x._expandMap[this.rule.freq][i]!=x.CONTRACT&&(t in this.by_data||(this.by_data[t]=[T]),this.rule.freq!=r)?this.by_data[t][0]:T}toJSON(){let t=Object.create(null);return t.initialized=this.initialized,t.rule=this.rule.toJSON(),t.dtstart=this.dtstart.toJSON(),t.by_data=this.by_data,t.days=this.days,t.last=this.last.toJSON(),t.by_indices=this.by_indices,t.occurrence_number=this.occurrence_number,t}}class Ut extends Error{constructor(){super("Recurrence rule has no valid occurrences")}}const VT=/^(SU|MO|TU|WE|TH|FR|SA)$/,jT=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,Ee={SU:E.SUNDAY,MO:E.MONDAY,TU:E.TUESDAY,WE:E.WEDNESDAY,TH:E.THURSDAY,FR:E.FRIDAY,SA:E.SATURDAY},WT=Object.fromEntries(Object.entries(Ee).map(e=>e.reverse())),vt=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"];class I{static fromString(t){let r=this._stringToData(t,!1);return new I(r)}static fromData(t){return new I(t)}static _stringToData(t,r){let T=Object.create(null),i=t.split(";"),a=i.length;for(let n=0;n<a;n++){let s=i[n].split("="),A=s[0].toUpperCase(),o=s[0].toLowerCase(),l=r?o:A,D=s[1];if(A in lt){let S=D.split(","),c=new Set;for(let R of S)c.add(lt[A](R));S=[...c],T[l]=S.length==1?S[0]:S}else A in ot?ot[A](D,T,r):T[o]=D}return T}static icalDayToNumericDay(t,r){let T=r||E.SUNDAY;return(Ee[t]-T+7)%7+1}static numericDayToIcalDay(t,r){let T=r||E.SUNDAY,i=t+T-E.SUNDAY;return i>7&&(i-=7),WT[i]}constructor(t){this.wrappedJSObject=this,this.parts={},t&&typeof t=="object"&&this.fromData(t)}parts=null;interval=1;wkst=E.MONDAY;until=null;count=null;freq=null;icalclass="icalrecur";icaltype="recur";iterator(t){return new x({rule:this,dtstart:t})}clone(){return new I(this.toJSON())}isFinite(){return!!(this.count||this.until)}isByCount(){return!!(this.count&&!this.until)}addComponent(t,r){let T=t.toUpperCase();T in this.parts?this.parts[T].push(r):this.parts[T]=[r]}setComponent(t,r){this.parts[t.toUpperCase()]=r.slice()}getComponent(t){let r=t.toUpperCase();return r in this.parts?this.parts[r].slice():[]}getNextOccurrence(t,r){let T=this.iterator(t),i;do i=T.next();while(i&&i.compare(r)<=0);return i&&r.zone&&(i.zone=r.zone),i}fromData(t){for(let r in t){let T=r.toUpperCase();T in lt?Array.isArray(t[r])?this.parts[T]=t[r]:this.parts[T]=[t[r]]:this[r]=t[r]}this.interval&&typeof this.interval!="number"&&ot.INTERVAL(this.interval,this),this.wkst&&typeof this.wkst!="number"&&(this.wkst=I.icalDayToNumericDay(this.wkst)),this.until&&!(this.until instanceof E)&&(this.until=E.fromString(this.until))}toJSON(){let t=Object.create(null);t.freq=this.freq,this.count&&(t.count=this.count),this.interval>1&&(t.interval=this.interval);for(let[r,T]of Object.entries(this.parts))Array.isArray(T)&&T.length==1?t[r.toLowerCase()]=T[0]:t[r.toLowerCase()]=D0(T);return this.until&&(t.until=this.until.toString()),"wkst"in this&&this.wkst!==E.DEFAULT_WEEK_START&&(t.wkst=I.numericDayToIcalDay(this.wkst)),t}toString(){let t="FREQ="+this.freq;this.count&&(t+=";COUNT="+this.count),this.interval>1&&(t+=";INTERVAL="+this.interval);for(let[r,T]of Object.entries(this.parts))t+=";"+r+"="+T;return this.until&&(t+=";UNTIL="+this.until.toICALString()),"wkst"in this&&this.wkst!==E.DEFAULT_WEEK_START&&(t+=";WKST="+I.numericDayToIcalDay(this.wkst)),t}}function K(e,t,r,T){let i=T;if(T[0]==="+"&&(i=T.slice(1)),i=g(i),t!==void 0&&T<t)throw new Error(e+': invalid value "'+T+'" must be > '+t);if(r!==void 0&&T>r)throw new Error(e+': invalid value "'+T+'" must be < '+t);return i}const ot={FREQ:function(e,t,r){if(vt.indexOf(e)!==-1)t.freq=e;else throw new Error('invalid frequency "'+e+'" expected: "'+vt.join(", ")+'"')},COUNT:function(e,t,r){t.count=g(e)},INTERVAL:function(e,t,r){t.interval=g(e),t.interval<1&&(t.interval=1)},UNTIL:function(e,t,r){e.length>10?t.until=B.icalendar.value["date-time"].fromICAL(e):t.until=B.icalendar.value.date.fromICAL(e),r||(t.until=E.fromString(t.until))},WKST:function(e,t,r){if(VT.test(e))t.wkst=I.icalDayToNumericDay(e);else throw new Error('invalid WKST value "'+e+'"')}},lt={BYSECOND:K.bind(void 0,"BYSECOND",0,60),BYMINUTE:K.bind(void 0,"BYMINUTE",0,59),BYHOUR:K.bind(void 0,"BYHOUR",0,23),BYDAY:function(e){if(jT.test(e))return e;throw new Error('invalid BYDAY value "'+e+'"')},BYMONTHDAY:K.bind(void 0,"BYMONTHDAY",-31,31),BYYEARDAY:K.bind(void 0,"BYYEARDAY",-366,366),BYWEEKNO:K.bind(void 0,"BYWEEKNO",-53,53),BYMONTH:K.bind(void 0,"BYMONTH",1,12),BYSETPOS:K.bind(void 0,"BYSETPOS",-366,366)};class r0{static fromString(t,r){let T=t.split("/");if(T.length!==2)throw new Error('Invalid string value: "'+t+'" must contain a "/" char.');let i={start:E.fromDateTimeString(T[0],r)},a=T[1];return L.isValueString(a)?i.duration=L.fromString(a):i.end=E.fromDateTimeString(a,r),new r0(i)}static fromData(t){return new r0(t)}static fromJSON(t,r,T){function i(a,n){return T?E.fromString(a,n):E.fromDateTimeString(a,n)}return L.isValueString(t[1])?r0.fromData({start:i(t[0],r),duration:L.fromString(t[1])}):r0.fromData({start:i(t[0],r),end:i(t[1],r)})}constructor(t){if(this.wrappedJSObject=this,t&&"start"in t){if(t.start&&!(t.start instanceof E))throw new TypeError(".start must be an instance of ICAL.Time");this.start=t.start}if(t&&t.end&&t.duration)throw new Error("cannot accept both end and duration");if(t&&"end"in t){if(t.end&&!(t.end instanceof E))throw new TypeError(".end must be an instance of ICAL.Time");this.end=t.end}if(t&&"duration"in t){if(t.duration&&!(t.duration instanceof L))throw new TypeError(".duration must be an instance of ICAL.Duration");this.duration=t.duration}}start=null;end=null;duration=null;icalclass="icalperiod";icaltype="period";clone(){return r0.fromData({start:this.start?this.start.clone():null,end:this.end?this.end.clone():null,duration:this.duration?this.duration.clone():null})}getDuration(){return this.duration?this.duration:this.end.subtractDate(this.start)}getEnd(){if(this.end)return this.end;{let t=this.start.clone();return t.addDuration(this.duration),t}}toString(){return this.start+"/"+(this.end||this.duration)}toJSON(){return[this.start.toString(),(this.end||this.duration).toString()]}toICALString(){return this.start.toICALString()+"/"+(this.end||this.duration).toICALString()}}const $T=/\\\\|\\;|\\,|\\[Nn]/g,KT=/\\|;|,|\n/g,Ct=/\\\\|\\,|\\[Nn]/g,bt=/\\|,|\n/g;function Rt(e,t){return{matches:/.*/,fromICAL:function(r,T){return qT(r,e,T)},toICAL:function(r,T){let i=t;return T&&(i=new RegExp(i.source+"|"+T,i.flags)),r.replace(i,function(a){switch(a){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case`
`:return"\\n";default:return a}})}}}const N={defaultType:"text"},L0={defaultType:"text",multiValue:","},W0={defaultType:"text",structuredValue:";"},b0={defaultType:"integer"},_0={defaultType:"date-time",allowedTypes:["date-time","date"]},w0={defaultType:"date-time"},H={defaultType:"uri"},_t={defaultType:"utc-offset"},wt={defaultType:"recur"},kt={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};function JT(e){switch(e){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return`
`;default:return e}}function qT(e,t,r){return e.indexOf("\\")===-1?e:(r&&(t=new RegExp(t.source+"|\\\\"+r,t.flags)),e.replace(t,JT))}let ht={categories:L0,url:H,version:N,uid:N},Yt={boolean:{values:["TRUE","FALSE"],fromICAL:function(e){switch(e){case"TRUE":return!0;case"FALSE":return!1;default:return!1}},toICAL:function(e){return e?"TRUE":"FALSE"}},float:{matches:/^[+-]?\d+\.\d+$/,fromICAL:function(e){let t=parseFloat(e);return I0(t)?0:t},toICAL:function(e){return String(e)}},integer:{fromICAL:function(e){let t=parseInt(e);return I0(t)?0:t},toICAL:function(e){return String(e)}},"utc-offset":{toICAL:function(e){return e.length<7?e.slice(0,3)+e.slice(4,6):e.slice(0,3)+e.slice(4,6)+e.slice(7,9)},fromICAL:function(e){return e.length<6?e.slice(0,3)+":"+e.slice(3,5):e.slice(0,3)+":"+e.slice(3,5)+":"+e.slice(5,7)},decorate:function(e){return w.fromString(e)},undecorate:function(e){return e.toString()}}},XT={cutype:{values:["INDIVIDUAL","GROUP","RESOURCE","ROOM","UNKNOWN"],allowXName:!0,allowIanaToken:!0},"delegated-from":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},"delegated-to":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},encoding:{values:["8BIT","BASE64"]},fbtype:{values:["FREE","BUSY","BUSY-UNAVAILABLE","BUSY-TENTATIVE"],allowXName:!0,allowIanaToken:!0},member:{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},partstat:{values:["NEEDS-ACTION","ACCEPTED","DECLINED","TENTATIVE","DELEGATED","COMPLETED","IN-PROCESS"],allowXName:!0,allowIanaToken:!0},range:{values:["THISANDFUTURE"]},related:{values:["START","END"]},reltype:{values:["PARENT","CHILD","SIBLING"],allowXName:!0,allowIanaToken:!0},role:{values:["REQ-PARTICIPANT","CHAIR","OPT-PARTICIPANT","NON-PARTICIPANT"],allowXName:!0,allowIanaToken:!0},rsvp:{values:["TRUE","FALSE"]},"sent-by":{valueType:"cal-address"},tzid:{matches:/^\//},value:{values:["binary","boolean","cal-address","date","date-time","duration","float","integer","period","recur","text","time","uri","utc-offset"],allowXName:!0,allowIanaToken:!0}};const y=u0(Yt,{text:Rt($T,KT),uri:{},binary:{decorate:function(e){return tt.fromString(e)},undecorate:function(e){return e.toString()}},"cal-address":{},date:{decorate:function(e,t){return E.fromDateString(e,t)},undecorate:function(e){return e.toString()},fromICAL:function(e){return e.slice(0,4)+"-"+e.slice(4,6)+"-"+e.slice(6,8)},toICAL:function(e){let t=e.length;return t==10?e.slice(0,4)+e.slice(5,7)+e.slice(8,10):t>=19?y["date-time"].toICAL(e):e}},"date-time":{fromICAL:function(e){{let t=e.slice(0,4)+"-"+e.slice(4,6)+"-"+e.slice(6,8)+"T"+e.slice(9,11)+":"+e.slice(11,13)+":"+e.slice(13,15);return e[15]&&e[15]==="Z"&&(t+="Z"),t}},toICAL:function(e){if(e.length>=19){let t=e.slice(0,4)+e.slice(5,7)+e.slice(8,13)+e.slice(14,16)+e.slice(17,19);return e[19]&&e[19]==="Z"&&(t+="Z"),t}else return e},decorate:function(e,t){return E.fromDateTimeString(e,t)},undecorate:function(e){return e.toString()}},duration:{decorate:function(e){return L.fromString(e)},undecorate:function(e){return e.toString()}},period:{fromICAL:function(e){let t=e.split("/");return t[0]=y["date-time"].fromICAL(t[0]),L.isValueString(t[1])||(t[1]=y["date-time"].fromICAL(t[1])),t},toICAL:function(e){return e=e.slice(),e[0]=y["date-time"].toICAL(e[0]),L.isValueString(e[1])||(e[1]=y["date-time"].toICAL(e[1])),e.join("/")},decorate:function(e,t){return r0.fromJSON(e,t,!1)},undecorate:function(e){return e.toJSON()}},recur:{fromICAL:function(e){return I._stringToData(e,!0)},toICAL:function(e){let t="";for(let[r,T]of Object.entries(e))r=="until"?T.length>10?T=y["date-time"].toICAL(T):T=y.date.toICAL(T):r=="wkst"?typeof T=="number"&&(T=I.numericDayToIcalDay(T)):Array.isArray(T)&&(T=T.join(",")),t+=r.toUpperCase()+"="+T+";";return t.slice(0,Math.max(0,t.length-1))},decorate:function(e){return I.fromData(e)},undecorate:function(e){return e.toJSON()}},time:{fromICAL:function(e){if(e.length<6)return e;let t=e.slice(0,2)+":"+e.slice(2,4)+":"+e.slice(4,6);return e[6]==="Z"&&(t+="Z"),t},toICAL:function(e){if(e.length<8)return e;let t=e.slice(0,2)+e.slice(3,5)+e.slice(6,8);return e[8]==="Z"&&(t+="Z"),t}}});let ti=u0(ht,{action:N,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:N,class:N,comment:N,completed:w0,contact:N,created:w0,description:N,dtend:_0,dtstamp:w0,dtstart:_0,due:_0,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:wt,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":w0,location:N,method:N,organizer:{defaultType:"cal-address"},"percent-complete":b0,priority:b0,prodid:N,"related-to":N,repeat:b0,rdate:{defaultType:"date-time",allowedTypes:["date-time","date","period"],multiValue:",",detectType:function(e){return e.indexOf("/")!==-1?"period":e.indexOf("T")===-1?"date":"date-time"}},"recurrence-id":_0,resources:L0,"request-status":W0,rrule:wt,sequence:b0,status:N,summary:N,transp:N,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:_t,tzoffsetto:_t,tzurl:H,tzid:N,tzname:N});const b=u0(Yt,{text:Rt(Ct,bt),uri:Rt(Ct,bt),date:{decorate:function(e){return i0.fromDateAndOrTimeString(e,"date")},undecorate:function(e){return e.toString()},fromICAL:function(e){return e.length==8?y.date.fromICAL(e):e[0]=="-"&&e.length==6?e.slice(0,4)+"-"+e.slice(4):e},toICAL:function(e){return e.length==10?y.date.toICAL(e):e[0]=="-"&&e.length==7?e.slice(0,4)+e.slice(5):e}},time:{decorate:function(e){return i0.fromDateAndOrTimeString("T"+e,"time")},undecorate:function(e){return e.toString()},fromICAL:function(e){let t=b.time._splitZone(e,!0),r=t[0],T=t[1];return T.length==6?T=T.slice(0,2)+":"+T.slice(2,4)+":"+T.slice(4,6):T.length==4&&T[0]!="-"?T=T.slice(0,2)+":"+T.slice(2,4):T.length==5&&(T=T.slice(0,3)+":"+T.slice(3,5)),r.length==5&&(r[0]=="-"||r[0]=="+")&&(r=r.slice(0,3)+":"+r.slice(3)),T+r},toICAL:function(e){let t=b.time._splitZone(e),r=t[0],T=t[1];return T.length==8?T=T.slice(0,2)+T.slice(3,5)+T.slice(6,8):T.length==5&&T[0]!="-"?T=T.slice(0,2)+T.slice(3,5):T.length==6&&(T=T.slice(0,3)+T.slice(4,6)),r.length==6&&(r[0]=="-"||r[0]=="+")&&(r=r.slice(0,3)+r.slice(4)),T+r},_splitZone:function(e,t){let r=e.length-1,T=e.length-(t?5:6),i=e[T],a,n;return e[r]=="Z"?(a=e[r],n=e.slice(0,Math.max(0,r))):e.length>6&&(i=="-"||i=="+")?(a=e.slice(T),n=e.slice(0,Math.max(0,T))):(a="",n=e),[a,n]}},"date-time":{decorate:function(e){return i0.fromDateAndOrTimeString(e,"date-time")},undecorate:function(e){return e.toString()},fromICAL:function(e){return b["date-and-or-time"].fromICAL(e)},toICAL:function(e){return b["date-and-or-time"].toICAL(e)}},"date-and-or-time":{decorate:function(e){return i0.fromDateAndOrTimeString(e,"date-and-or-time")},undecorate:function(e){return e.toString()},fromICAL:function(e){let t=e.split("T");return(t[0]?b.date.fromICAL(t[0]):"")+(t[1]?"T"+b.time.fromICAL(t[1]):"")},toICAL:function(e){let t=e.split("T");return b.date.toICAL(t[0])+(t[1]?"T"+b.time.toICAL(t[1]):"")}},timestamp:y["date-time"],"language-tag":{matches:/^[a-zA-Z0-9-]+$/},"phone-number":{fromICAL:function(e){return Array.from(e).filter(function(t){return t==="\\"?void 0:t}).join("")},toICAL:function(e){return Array.from(e).map(function(t){return t===","||t===";"?"\\"+t:t}).join("")}}});let ei={type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","time","date-time","date-and-or-time","timestamp","boolean","integer","float","utc-offset","language-tag"],allowXName:!0,allowIanaToken:!0}},ri=u0(ht,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:kt,bday:kt,caladruri:H,caluri:H,clientpidmap:W0,email:N,fburl:H,fn:N,gender:W0,geo:H,impp:H,key:H,kind:N,lang:{defaultType:"language-tag"},logo:H,member:H,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:L0,note:N,org:{defaultType:"text",structuredValue:";"},photo:H,related:H,rev:{defaultType:"timestamp"},role:N,sound:H,source:H,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:N,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:N}),Ti=u0(Yt,{binary:y.binary,date:b.date,"date-time":b["date-time"],"phone-number":b["phone-number"],uri:y.uri,text:y.text,time:y.time,vcard:y.text,"utc-offset":{toICAL:function(e){return e.slice(0,7)},fromICAL:function(e){return e.slice(0,7)},decorate:function(e){return w.fromString(e)},undecorate:function(e){return e.toString()}}}),ii={type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","date-time","phone-number","time","boolean","integer","float","utc-offset","vcard","binary"],allowXName:!0,allowIanaToken:!0}},ai=u0(ht,{fn:N,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:L0,photo:{defaultType:"binary",allowedTypes:["binary","uri"]},bday:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(e){return e.indexOf("T")===-1?"date":"date-time"}},adr:{defaultType:"text",structuredValue:";",multiValue:","},label:N,tel:{defaultType:"phone-number"},email:N,mailer:N,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:N,role:N,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:W0,note:L0,prodid:N,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(e){return e.indexOf("T")===-1?"date":"date-time"}},"sort-string":N,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:N,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),Q={value:y,param:XT,property:ti,propertyGroups:!1},xt={value:b,param:ei,property:ri,propertyGroups:!0},Pt={value:Ti,param:ii,property:ai,propertyGroups:!0};const Q0={strict:!0,defaultSet:Q,defaultType:"unknown",components:{vcard:xt,vcard3:Pt,vevent:Q,vtodo:Q,vjournal:Q,valarm:Q,vtimezone:Q,daylight:Q,standard:Q},icalendar:Q,vcard:xt,vcard3:Pt,getDesignSet:function(e){return e&&e in Q0.components?Q0.components[e]:Q0.defaultSet}};var B=Q0;const z0=`\r
`,Qt="unknown",ni={'"':"^'","\n":"^n","^":"^^"};function M(e){typeof e[0]=="string"&&(e=[e]);let t=0,r=e.length,T="";for(;t<r;t++)T+=M.component(e[t])+z0;return T}M.component=function(e,t){let r=e[0].toUpperCase(),T="BEGIN:"+r+z0,i=e[1],a=0,n=i.length,s=e[0];for(s==="vcard"&&e[1].length>0&&!(e[1][0][0]==="version"&&e[1][0][3]==="4.0")&&(s="vcard3"),t=t||B.getDesignSet(s);a<n;a++)T+=M.property(i[a],t)+z0;let A=e[2]||[],o=0,l=A.length;for(;o<l;o++)T+=M.component(A[o],t)+z0;return T+="END:"+r,T},M.property=function(e,t,r){let T=e[0].toUpperCase(),i=e[0],a=e[1];t||(t=B.defaultSet);let n=a.group,s;t.propertyGroups&&n?s=n.toUpperCase()+"."+T:s=T;for(let[c,R]of Object.entries(a)){if(t.propertyGroups&&c=="group")continue;let u=t.param[c],F=u&&u.multiValue;F&&Array.isArray(R)?(R=R.map(function(f){return f=M._rfc6868Unescape(f),f=M.paramPropertyValue(f,u.multiValueSeparateDQuote),f}),R=M.multiValue(R,F,"unknown",null,t)):(R=M._rfc6868Unescape(R),R=M.paramPropertyValue(R)),s+=";"+c.toUpperCase()+"="+R}if(e.length===3)return s+":";let A=e[2],o,l=!1,D=!1,S=!1;return i in t.property?(o=t.property[i],"multiValue"in o&&(l=o.multiValue),"structuredValue"in o&&Array.isArray(e[3])&&(D=o.structuredValue),"defaultType"in o?A===o.defaultType&&(S=!0):A===Qt&&(S=!0)):A===Qt&&(S=!0),S||(s+=";VALUE="+A.toUpperCase()),s+=":",l&&D?s+=M.multiValue(e[3],D,A,l,t,D):l?s+=M.multiValue(e.slice(3),l,A,null,t,!1):D?s+=M.multiValue(e[3],D,A,null,t,D):s+=M.value(e[3],A,t,!1),r?s:le(s)},M.paramPropertyValue=function(e,t){return!t&&e.indexOf(",")===-1&&e.indexOf(":")===-1&&e.indexOf(";")===-1?e:'"'+e+'"'},M.multiValue=function(e,t,r,T,i,a){let n="",s=e.length,A=0;for(;A<s;A++)T&&Array.isArray(e[A])?n+=M.multiValue(e[A],T,r,null,i,a):n+=M.value(e[A],r,i,a),A!==s-1&&(n+=t);return n},M.value=function(e,t,r,T){return t in r.value&&"toICAL"in r.value[t]?r.value[t].toICAL(e,T):e},M._rfc6868Unescape=function(e){return e.replace(/[\n^"]/g,function(t){return ni[t]})};const zt=0,k0=1,x0=2,J=3;class E0{static fromString(t,r){return new E0(d.property(t,r))}constructor(t,r){this._parent=r||null,typeof t=="string"?(this.jCal=[t,{},B.defaultType],this.jCal[x0]=this.getDefaultType()):this.jCal=t,this._updateType()}get type(){return this.jCal[x0]}get name(){return this.jCal[zt]}get parent(){return this._parent}set parent(t){let r=!this._parent||t&&t._designSet!=this._parent._designSet;this._parent=t,this.type==B.defaultType&&r&&(this.jCal[x0]=this.getDefaultType(),this._updateType())}get _designSet(){return this.parent?this.parent._designSet:B.defaultSet}_updateType(){let t=this._designSet;this.type in t.value&&("decorate"in t.value[this.type]?this.isDecorated=!0:this.isDecorated=!1,this.name in t.property&&(this.isMultiValue="multiValue"in t.property[this.name],this.isStructuredValue="structuredValue"in t.property[this.name]))}_hydrateValue(t){return this._values&&this._values[t]?this._values[t]:this.jCal.length<=J+t?null:this.isDecorated?(this._values||(this._values=[]),this._values[t]=this._decorate(this.jCal[J+t])):this.jCal[J+t]}_decorate(t){return this._designSet.value[this.type].decorate(t,this)}_undecorate(t){return this._designSet.value[this.type].undecorate(t,this)}_setDecoratedValue(t,r){this._values||(this._values=[]),typeof t=="object"&&"icaltype"in t?(this.jCal[J+r]=this._undecorate(t),this._values[r]=t):(this.jCal[J+r]=t,this._values[r]=this._decorate(t))}getParameter(t){if(t in this.jCal[k0])return this.jCal[k0][t]}getFirstParameter(t){let r=this.getParameter(t);return Array.isArray(r)?r[0]:r}setParameter(t,r){let T=t.toLowerCase();typeof r=="string"&&T in this._designSet.param&&"multiValue"in this._designSet.param[T]&&(r=[r]),this.jCal[k0][t]=r}removeParameter(t){delete this.jCal[k0][t]}getDefaultType(){let t=this.jCal[zt],r=this._designSet;if(t in r.property){let T=r.property[t];if("defaultType"in T)return T.defaultType}return B.defaultType}resetType(t){this.removeAllValues(),this.jCal[x0]=t,this._updateType()}getFirstValue(){return this._hydrateValue(0)}getValues(){let t=this.jCal.length-J;if(t<1)return[];let r=0,T=[];for(;r<t;r++)T[r]=this._hydrateValue(r);return T}removeAllValues(){this._values&&(this._values.length=0),this.jCal.length=3}setValues(t){if(!this.isMultiValue)throw new Error(this.name+`: does not not support mulitValue.
override isMultiValue`);let r=t.length,T=0;if(this.removeAllValues(),r>0&&typeof t[0]=="object"&&"icaltype"in t[0]&&this.resetType(t[0].icaltype),this.isDecorated)for(;T<r;T++)this._setDecoratedValue(t[T],T);else for(;T<r;T++)this.jCal[J+T]=t[T]}setValue(t){this.removeAllValues(),typeof t=="object"&&"icaltype"in t&&this.resetType(t.icaltype),this.isDecorated?this._setDecoratedValue(t,0):this.jCal[J]=t}toJSON(){return this.jCal}toICALString(){return M.property(this.jCal,this._designSet,!0)}}const q=0,z=1,X=2;class C{static fromString(t){return new C(d.component(t))}constructor(t,r){typeof t=="string"&&(t=[t,[],[]]),this.jCal=t,this.parent=r||null,!this.parent&&this.name==="vcalendar"&&(this._timezoneCache=new Map)}_hydratedPropertyCount=0;_hydratedComponentCount=0;_timezoneCache=null;_components=null;_properties=null;get name(){return this.jCal[q]}get _designSet(){return this.parent&&this.parent._designSet||B.getDesignSet(this.name)}_hydrateComponent(t){if(this._components||(this._components=[],this._hydratedComponentCount=0),this._components[t])return this._components[t];let r=new C(this.jCal[X][t],this);return this._hydratedComponentCount++,this._components[t]=r}_hydrateProperty(t){if(this._properties||(this._properties=[],this._hydratedPropertyCount=0),this._properties[t])return this._properties[t];let r=new E0(this.jCal[z][t],this);return this._hydratedPropertyCount++,this._properties[t]=r}getFirstSubcomponent(t){if(t){let r=0,T=this.jCal[X],i=T.length;for(;r<i;r++)if(T[r][q]===t)return this._hydrateComponent(r)}else if(this.jCal[X].length)return this._hydrateComponent(0);return null}getAllSubcomponents(t){let r=this.jCal[X].length,T=0;if(t){let i=this.jCal[X],a=[];for(;T<r;T++)t===i[T][q]&&a.push(this._hydrateComponent(T));return a}else{if(!this._components||this._hydratedComponentCount!==r)for(;T<r;T++)this._hydrateComponent(T);return this._components||[]}}hasProperty(t){let r=this.jCal[z],T=r.length,i=0;for(;i<T;i++)if(r[i][q]===t)return!0;return!1}getFirstProperty(t){if(t){let r=0,T=this.jCal[z],i=T.length;for(;r<i;r++)if(T[r][q]===t)return this._hydrateProperty(r)}else if(this.jCal[z].length)return this._hydrateProperty(0);return null}getFirstPropertyValue(t){let r=this.getFirstProperty(t);return r?r.getFirstValue():null}getAllProperties(t){let r=this.jCal[z].length,T=0;if(t){let i=this.jCal[z],a=[];for(;T<r;T++)t===i[T][q]&&a.push(this._hydrateProperty(T));return a}else{if(!this._properties||this._hydratedPropertyCount!==r)for(;T<r;T++)this._hydrateProperty(T);return this._properties||[]}}_removeObjectByIndex(t,r,T){if(r=r||[],r[T]){let i=r[T];"parent"in i&&(i.parent=null)}r.splice(T,1),this.jCal[t].splice(T,1)}_removeObject(t,r,T){let i=0,a=this.jCal[t],n=a.length,s=this[r];if(typeof T=="string"){for(;i<n;i++)if(a[i][q]===T)return this._removeObjectByIndex(t,s,i),!0}else if(s){for(;i<n;i++)if(s[i]&&s[i]===T)return this._removeObjectByIndex(t,s,i),!0}return!1}_removeAllObjects(t,r,T){let i=this[r],a=this.jCal[t],n=a.length-1;for(;n>=0;n--)(!T||a[n][q]===T)&&this._removeObjectByIndex(t,i,n)}addSubcomponent(t){this._components||(this._components=[],this._hydratedComponentCount=0),t.parent&&t.parent.removeSubcomponent(t);let r=this.jCal[X].push(t.jCal);return this._components[r-1]=t,this._hydratedComponentCount++,t.parent=this,t}removeSubcomponent(t){let r=this._removeObject(X,"_components",t);return r&&this._hydratedComponentCount--,r}removeAllSubcomponents(t){let r=this._removeAllObjects(X,"_components",t);return this._hydratedComponentCount=0,r}addProperty(t){if(!(t instanceof E0))throw new TypeError("must be instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),t.parent&&t.parent.removeProperty(t);let r=this.jCal[z].push(t.jCal);return this._properties[r-1]=t,this._hydratedPropertyCount++,t.parent=this,t}addPropertyWithValue(t,r){let T=new E0(t);return T.setValue(r),this.addProperty(T),T}updatePropertyWithValue(t,r){let T=this.getFirstProperty(t);return T?T.setValue(r):T=this.addPropertyWithValue(t,r),T}removeProperty(t){let r=this._removeObject(z,"_properties",t);return r&&this._hydratedPropertyCount--,r}removeAllProperties(t){let r=this._removeAllObjects(z,"_properties",t);return this._hydratedPropertyCount=0,r}toJSON(){return this.jCal}toString(){return M.component(this.jCal,this._designSet)}getTimeZoneByID(t){if(this.parent)return this.parent.getTimeZoneByID(t);if(!this._timezoneCache)return null;if(this._timezoneCache.has(t))return this._timezoneCache.get(t);const r=this.getAllSubcomponents("vtimezone");for(const T of r)if(T.getFirstProperty("tzid").getFirstValue()===t){const i=new Y({component:T,tzid:t});return this._timezoneCache.set(t,i),i}return null}}class De{constructor(t){this.ruleDates=[],this.exDates=[],this.fromData(t)}complete=!1;ruleIterators=null;ruleDates=null;exDates=null;ruleDateInc=0;exDateInc=0;exDate=null;ruleDate=null;dtstart=null;last=null;fromData(t){let r=V(t.dtstart,E);if(r)this.dtstart=r;else throw new Error(".dtstart (ICAL.Time) must be given");if(t.component)this._init(t.component);else{if(this.last=V(t.last,E)||r.clone(),!t.ruleIterators)throw new Error(".ruleIterators or .component must be given");this.ruleIterators=t.ruleIterators.map(function(T){return V(T,x)}),this.ruleDateInc=t.ruleDateInc,this.exDateInc=t.exDateInc,t.ruleDates&&(this.ruleDates=t.ruleDates.map(T=>V(T,E)),this.ruleDate=this.ruleDates[this.ruleDateInc]),t.exDates&&(this.exDates=t.exDates.map(T=>V(T,E)),this.exDate=this.exDates[this.exDateInc]),typeof t.complete<"u"&&(this.complete=t.complete)}}next(){let t,r,T,i=500,a=0;for(;;){if(a++>i)throw new Error("max tries have occurred, rule may be impossible to fulfill.");if(r=this.ruleDate,t=this._nextRecurrenceIter(this.last),!r&&!t){this.complete=!0;break}if((!r||t&&r.compare(t.last)>0)&&(r=t.last.clone(),t.next()),this.ruleDate===r&&this._nextRuleDay(),this.last=r,this.exDate&&(T=this.exDate.compare(this.last),T<0&&this._nextExDay(),T===0)){this._nextExDay();continue}return this.last}}toJSON(){function t(T){return T.toJSON()}let r=Object.create(null);return r.ruleIterators=this.ruleIterators.map(t),this.ruleDates&&(r.ruleDates=this.ruleDates.map(t)),this.exDates&&(r.exDates=this.exDates.map(t)),r.ruleDateInc=this.ruleDateInc,r.exDateInc=this.exDateInc,r.last=this.last.toJSON(),r.dtstart=this.dtstart.toJSON(),r.complete=this.complete,r}_extractDates(t,r){let T=[],i=t.getAllProperties(r);for(let a=0,n=i.length;a<n;a++)for(let s of i[a].getValues()){let A=l0(T,s,(o,l)=>o.compare(l));T.splice(A,0,s)}return T}_init(t){if(this.ruleIterators=[],this.last=this.dtstart.clone(),!t.hasProperty("rdate")&&!t.hasProperty("rrule")&&!t.hasProperty("recurrence-id")){this.ruleDate=this.last.clone(),this.complete=!0;return}if(t.hasProperty("rdate")&&(this.ruleDates=this._extractDates(t,"rdate"),this.ruleDates[0]&&this.ruleDates[0].compare(this.dtstart)<0?(this.ruleDateInc=0,this.last=this.ruleDates[0].clone()):this.ruleDateInc=l0(this.ruleDates,this.last,(r,T)=>r.compare(T)),this.ruleDate=this.ruleDates[this.ruleDateInc]),t.hasProperty("rrule")){let r=t.getAllProperties("rrule"),T=0,i=r.length,a,n;for(;T<i;T++)a=r[T].getFirstValue(),n=a.iterator(this.dtstart),this.ruleIterators.push(n),n.next()}t.hasProperty("exdate")&&(this.exDates=this._extractDates(t,"exdate"),this.exDateInc=l0(this.exDates,this.last,(r,T)=>r.compare(T)),this.exDate=this.exDates[this.exDateInc])}_nextExDay(){this.exDate=this.exDates[++this.exDateInc]}_nextRuleDay(){this.ruleDate=this.ruleDates[++this.ruleDateInc]}_nextRecurrenceIter(){let t=this.ruleIterators;if(t.length===0)return null;let r=t.length,T,i,a=0,n;for(;a<r;a++){if(T=t[a],i=T.last,T.completed){r--,a!==0&&a--,t.splice(a,1);continue}(!n||n.last.compare(i)>0)&&(n=T)}return n}}class G0{constructor(t,r){t instanceof C||(r=t,t=null),t?this.component=t:this.component=new C("vevent"),this._rangeExceptionCache=Object.create(null),this.exceptions=Object.create(null),this.rangeExceptions=[],r&&r.strictExceptions&&(this.strictExceptions=r.strictExceptions),r&&r.exceptions?r.exceptions.forEach(this.relateException,this):this.component.parent&&!this.isRecurrenceException()&&this.component.parent.getAllSubcomponents("vevent").forEach(function(T){T.hasProperty("recurrence-id")&&this.relateException(T)},this)}static THISANDFUTURE="THISANDFUTURE";exceptions=null;strictExceptions=!1;relateException(t){if(this.isRecurrenceException())throw new Error("cannot relate exception to exceptions");if(t instanceof C&&(t=new G0(t)),this.strictExceptions&&t.uid!==this.uid)throw new Error("attempted to relate unrelated exception");let r=t.recurrenceId.toString();if(this.exceptions[r]=t,t.modifiesFuture()){let T=[t.recurrenceId.toUnixTime(),r],i=l0(this.rangeExceptions,T,Vt);this.rangeExceptions.splice(i,0,T)}}modifiesFuture(){return this.component.hasProperty("recurrence-id")?this.component.getFirstProperty("recurrence-id").getParameter("range")===G0.THISANDFUTURE:!1}findRangeException(t){if(!this.rangeExceptions.length)return null;let r=t.toUnixTime(),T=l0(this.rangeExceptions,[r],Vt);if(T-=1,T<0)return null;let i=this.rangeExceptions[T];return r<i[0]?null:i[1]}getOccurrenceDetails(t){let r=t.toString(),T=t.convertToZone(Y.utcTimezone).toString(),i,a={recurrenceId:t};if(r in this.exceptions)i=a.item=this.exceptions[r],a.startDate=i.startDate,a.endDate=i.endDate,a.item=i;else if(T in this.exceptions)i=this.exceptions[T],a.startDate=i.startDate,a.endDate=i.endDate,a.item=i;else{let n=this.findRangeException(t),s;if(n){let A=this.exceptions[n];a.item=A;let o=this._rangeExceptionCache[n];if(!o){let D=A.recurrenceId.clone(),S=A.startDate.clone();D.zone=S.zone,o=S.subtractDate(D),this._rangeExceptionCache[n]=o}let l=t.clone();l.zone=A.startDate.zone,l.addDuration(o),s=l.clone(),s.addDuration(A.duration),a.startDate=l,a.endDate=s}else s=t.clone(),s.addDuration(this.duration),a.endDate=s,a.startDate=t,a.item=this}return a}iterator(t){return new De({component:this.component,dtstart:t||this.startDate})}isRecurring(){let t=this.component;return t.hasProperty("rrule")||t.hasProperty("rdate")}isRecurrenceException(){return this.component.hasProperty("recurrence-id")}getRecurrenceTypes(){let t=this.component.getAllProperties("rrule"),r=0,T=t.length,i=Object.create(null);for(;r<T;r++){let a=t[r].getFirstValue();i[a.freq]=!0}return i}get uid(){return this._firstProp("uid")}set uid(t){this._setProp("uid",t)}get startDate(){return this._firstProp("dtstart")}set startDate(t){this._setTime("dtstart",t)}get endDate(){let t=this._firstProp("dtend");if(!t){let r=this._firstProp("duration");t=this.startDate.clone(),r?t.addDuration(r):t.isDate&&(t.day+=1)}return t}set endDate(t){this.component.hasProperty("duration")&&this.component.removeProperty("duration"),this._setTime("dtend",t)}get duration(){return this._firstProp("duration")||this.endDate.subtractDateTz(this.startDate)}set duration(t){this.component.hasProperty("dtend")&&this.component.removeProperty("dtend"),this._setProp("duration",t)}get location(){return this._firstProp("location")}set location(t){this._setProp("location",t)}get attendees(){return this.component.getAllProperties("attendee")}get summary(){return this._firstProp("summary")}set summary(t){this._setProp("summary",t)}get description(){return this._firstProp("description")}set description(t){this._setProp("description",t)}get color(){return this._firstProp("color")}set color(t){this._setProp("color",t)}get organizer(){return this._firstProp("organizer")}set organizer(t){this._setProp("organizer",t)}get sequence(){return this._firstProp("sequence")}set sequence(t){this._setProp("sequence",t)}get recurrenceId(){return this._firstProp("recurrence-id")}set recurrenceId(t){this._setTime("recurrence-id",t)}_setTime(t,r){let T=this.component.getFirstProperty(t);T||(T=new E0(t),this.component.addProperty(T)),r.zone===Y.localTimezone||r.zone===Y.utcTimezone?T.removeParameter("tzid"):T.setParameter("tzid",r.zone.tzid),T.setValue(r)}_setProp(t,r){this.component.updatePropertyWithValue(t,r)}_firstProp(t){return this.component.getFirstPropertyValue(t)}toString(){return this.component.toString()}}function Vt(e,t){return e[0]>t[0]?1:t[0]>e[0]?-1:0}class si{constructor(t){typeof t>"u"&&(t={});for(let[r,T]of Object.entries(t))this[r]=T}parseEvent=!0;parseTimezone=!0;oncomplete=function(){};onerror=function(t){};ontimezone=function(t){};onevent=function(t){};process(t){typeof t=="string"&&(t=d(t)),t instanceof C||(t=new C(t));let r=t.getAllSubcomponents(),T=0,i=r.length,a;for(;T<i;T++)switch(a=r[T],a.name){case"vtimezone":if(this.parseTimezone){let n=a.getFirstPropertyValue("tzid");n&&this.ontimezone(new Y({tzid:n,component:a}))}break;case"vevent":this.parseEvent&&this.onevent(new G0(a));break;default:continue}this.oncomplete()}}var Z={foldLength:75,debug:!1,newLineChar:`\r
`,Binary:tt,Component:C,ComponentParser:si,Duration:L,Event:G0,Period:r0,Property:E0,Recur:I,RecurExpansion:De,RecurIterator:x,Time:E,Timezone:Y,TimezoneService:j0,UtcOffset:w,VCardTime:i0,parse:d,stringify:M,design:B,helpers:zT};class T0{_timezoneId;_ics;_timezone;_initialized;constructor(t,r){t instanceof Z.Timezone?(this._timezone=t,this._initialized=!0):t instanceof Z.Component?(this._timezone=new Z.Timezone(t),this._initialized=!0):(this._timezoneId=t,this._ics=r,this._initialized=!1)}get timezoneId(){return this._initialized?this._timezone.tzid:this._timezoneId}offsetForArray(t,r,T,i,a,n){const s=new Z.Time({year:t,month:r,day:T,hour:i,minute:a,second:n,isDate:!1});return this.timezone.utcOffset(s)}timestampToArray(t){const r=Z.Time.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0});r.fromUnixTime(Math.floor(t/1e3));const T=r.convertToZone(this.timezone);return[T.year,T.month,T.day,T.hour,T.minute,T.second]}toICALTimezone(){return this.timezone}toICALJs(){return this.timezone.component}get timezone(){if(!this._initialized){const t=Z.parse(this._ics),r=new Z.Component(t);this._timezone=new Z.Timezone(r),this._initialized=!0}return this._timezone}static get utc(){return new T0(Z.Timezone.utcTimezone)}static get floating(){return new T0(Z.Timezone.localTimezone)}}const Ai="2.2024a",oi={"AUS Central Standard Time":{aliasTo:"Australia/Darwin"},"AUS Eastern Standard Time":{aliasTo:"Australia/Sydney"},"Afghanistan Standard Time":{aliasTo:"Asia/Kabul"},"Africa/Asmera":{aliasTo:"Africa/Asmara"},"Africa/Timbuktu":{aliasTo:"Africa/Bamako"},"Alaskan Standard Time":{aliasTo:"America/Anchorage"},"America/Argentina/ComodRivadavia":{aliasTo:"America/Argentina/Catamarca"},"America/Buenos_Aires":{aliasTo:"America/Argentina/Buenos_Aires"},"America/Louisville":{aliasTo:"America/Kentucky/Louisville"},"America/Montreal":{aliasTo:"America/Toronto"},"America/Santa_Isabel":{aliasTo:"America/Tijuana"},"Arab Standard Time":{aliasTo:"Asia/Riyadh"},"Arabian Standard Time":{aliasTo:"Asia/Dubai"},"Arabic Standard Time":{aliasTo:"Asia/Baghdad"},"Argentina Standard Time":{aliasTo:"America/Argentina/Buenos_Aires"},"Asia/Calcutta":{aliasTo:"Asia/Kolkata"},"Asia/Katmandu":{aliasTo:"Asia/Kathmandu"},"Asia/Rangoon":{aliasTo:"Asia/Yangon"},"Asia/Saigon":{aliasTo:"Asia/Ho_Chi_Minh"},"Atlantic Standard Time":{aliasTo:"America/Halifax"},"Atlantic/Faeroe":{aliasTo:"Atlantic/Faroe"},"Atlantic/Jan_Mayen":{aliasTo:"Europe/Oslo"},"Azerbaijan Standard Time":{aliasTo:"Asia/Baku"},"Azores Standard Time":{aliasTo:"Atlantic/Azores"},"Bahia Standard Time":{aliasTo:"America/Bahia"},"Bangladesh Standard Time":{aliasTo:"Asia/Dhaka"},"Belarus Standard Time":{aliasTo:"Europe/Minsk"},"Canada Central Standard Time":{aliasTo:"America/Regina"},"Cape Verde Standard Time":{aliasTo:"Atlantic/Cape_Verde"},"Caucasus Standard Time":{aliasTo:"Asia/Yerevan"},"Cen. Australia Standard Time":{aliasTo:"Australia/Adelaide"},"Central America Standard Time":{aliasTo:"America/Guatemala"},"Central Asia Standard Time":{aliasTo:"Asia/Almaty"},"Central Brazilian Standard Time":{aliasTo:"America/Cuiaba"},"Central Europe Standard Time":{aliasTo:"Europe/Budapest"},"Central European Standard Time":{aliasTo:"Europe/Warsaw"},"Central Pacific Standard Time":{aliasTo:"Pacific/Guadalcanal"},"Central Standard Time":{aliasTo:"America/Chicago"},"Central Standard Time (Mexico)":{aliasTo:"America/Mexico_City"},"China Standard Time":{aliasTo:"Asia/Shanghai"},"E. Africa Standard Time":{aliasTo:"Africa/Nairobi"},"E. Australia Standard Time":{aliasTo:"Australia/Brisbane"},"E. South America Standard Time":{aliasTo:"America/Sao_Paulo"},"Eastern Standard Time":{aliasTo:"America/New_York"},"Egypt Standard Time":{aliasTo:"Africa/Cairo"},"Ekaterinburg Standard Time":{aliasTo:"Asia/Yekaterinburg"},"Etc/GMT":{aliasTo:"UTC"},"Etc/GMT+0":{aliasTo:"UTC"},"Etc/UCT":{aliasTo:"UTC"},"Etc/UTC":{aliasTo:"UTC"},"Etc/Unversal":{aliasTo:"UTC"},"Etc/Zulu":{aliasTo:"UTC"},"Europe/Belfast":{aliasTo:"Europe/London"},"FLE Standard Time":{aliasTo:"Europe/Kiev"},"Fiji Standard Time":{aliasTo:"Pacific/Fiji"},GMT:{aliasTo:"UTC"},"GMT Standard Time":{aliasTo:"Europe/London"},"GMT+0":{aliasTo:"UTC"},GMT0:{aliasTo:"UTC"},"GTB Standard Time":{aliasTo:"Europe/Bucharest"},"Georgian Standard Time":{aliasTo:"Asia/Tbilisi"},"Greenland Standard Time":{aliasTo:"America/Godthab"},Greenwich:{aliasTo:"UTC"},"Greenwich Standard Time":{aliasTo:"Atlantic/Reykjavik"},"Hawaiian Standard Time":{aliasTo:"Pacific/Honolulu"},"India Standard Time":{aliasTo:"Asia/Calcutta"},"Iran Standard Time":{aliasTo:"Asia/Tehran"},"Israel Standard Time":{aliasTo:"Asia/Jerusalem"},"Jordan Standard Time":{aliasTo:"Asia/Amman"},"Kaliningrad Standard Time":{aliasTo:"Europe/Kaliningrad"},"Korea Standard Time":{aliasTo:"Asia/Seoul"},"Libya Standard Time":{aliasTo:"Africa/Tripoli"},"Line Islands Standard Time":{aliasTo:"Pacific/Kiritimati"},"Magadan Standard Time":{aliasTo:"Asia/Magadan"},"Mauritius Standard Time":{aliasTo:"Indian/Mauritius"},"Middle East Standard Time":{aliasTo:"Asia/Beirut"},"Montevideo Standard Time":{aliasTo:"America/Montevideo"},"Morocco Standard Time":{aliasTo:"Africa/Casablanca"},"Mountain Standard Time":{aliasTo:"America/Denver"},"Mountain Standard Time (Mexico)":{aliasTo:"America/Chihuahua"},"Myanmar Standard Time":{aliasTo:"Asia/Rangoon"},"N. Central Asia Standard Time":{aliasTo:"Asia/Novosibirsk"},"Namibia Standard Time":{aliasTo:"Africa/Windhoek"},"Nepal Standard Time":{aliasTo:"Asia/Katmandu"},"New Zealand Standard Time":{aliasTo:"Pacific/Auckland"},"Newfoundland Standard Time":{aliasTo:"America/St_Johns"},"North Asia East Standard Time":{aliasTo:"Asia/Irkutsk"},"North Asia Standard Time":{aliasTo:"Asia/Krasnoyarsk"},"Pacific SA Standard Time":{aliasTo:"America/Santiago"},"Pacific Standard Time":{aliasTo:"America/Los_Angeles"},"Pacific Standard Time (Mexico)":{aliasTo:"America/Santa_Isabel"},"Pacific/Johnston":{aliasTo:"Pacific/Honolulu"},"Pakistan Standard Time":{aliasTo:"Asia/Karachi"},"Paraguay Standard Time":{aliasTo:"America/Asuncion"},"Romance Standard Time":{aliasTo:"Europe/Paris"},"Russia Time Zone 10":{aliasTo:"Asia/Srednekolymsk"},"Russia Time Zone 11":{aliasTo:"Asia/Kamchatka"},"Russia Time Zone 3":{aliasTo:"Europe/Samara"},"Russian Standard Time":{aliasTo:"Europe/Moscow"},"SA Eastern Standard Time":{aliasTo:"America/Cayenne"},"SA Pacific Standard Time":{aliasTo:"America/Bogota"},"SA Western Standard Time":{aliasTo:"America/La_Paz"},"SE Asia Standard Time":{aliasTo:"Asia/Bangkok"},"Samoa Standard Time":{aliasTo:"Pacific/Apia"},"Singapore Standard Time":{aliasTo:"Asia/Singapore"},"South Africa Standard Time":{aliasTo:"Africa/Johannesburg"},"Sri Lanka Standard Time":{aliasTo:"Asia/Colombo"},"Syria Standard Time":{aliasTo:"Asia/Damascus"},"Taipei Standard Time":{aliasTo:"Asia/Taipei"},"Tasmania Standard Time":{aliasTo:"Australia/Hobart"},"Tokyo Standard Time":{aliasTo:"Asia/Tokyo"},"Tonga Standard Time":{aliasTo:"Pacific/Tongatapu"},"Turkey Standard Time":{aliasTo:"Europe/Istanbul"},UCT:{aliasTo:"UTC"},"US Eastern Standard Time":{aliasTo:"America/Indiana/Indianapolis"},"US Mountain Standard Time":{aliasTo:"America/Phoenix"},"US/Central":{aliasTo:"America/Chicago"},"US/Eastern":{aliasTo:"America/New_York"},"US/Mountain":{aliasTo:"America/Denver"},"US/Pacific":{aliasTo:"America/Los_Angeles"},"US/Pacific-New":{aliasTo:"America/Los_Angeles"},"Ulaanbaatar Standard Time":{aliasTo:"Asia/Ulaanbaatar"},Universal:{aliasTo:"UTC"},"Venezuela Standard Time":{aliasTo:"America/Caracas"},"Vladivostok Standard Time":{aliasTo:"Asia/Vladivostok"},"W. Australia Standard Time":{aliasTo:"Australia/Perth"},"W. Central Africa Standard Time":{aliasTo:"Africa/Lagos"},"W. Europe Standard Time":{aliasTo:"Europe/Berlin"},"West Asia Standard Time":{aliasTo:"Asia/Tashkent"},"West Pacific Standard Time":{aliasTo:"Pacific/Port_Moresby"},"Yakutsk Standard Time":{aliasTo:"Asia/Yakutsk"},Z:{aliasTo:"UTC"},Zulu:{aliasTo:"UTC"},utc:{aliasTo:"UTC"}},li={"Africa/Abidjan":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0051900",longitude:"-0040200"},"Africa/Accra":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Addis_Ababa":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0300\r
TZOFFSETTO:+0300\r
TZNAME:EAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Algiers":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:CET\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0364700",longitude:"+0030300"},"Africa/Asmara":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0300\r
TZOFFSETTO:+0300\r
TZNAME:EAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Asmera":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0300\r
TZOFFSETTO:+0300\r
TZNAME:EAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Bamako":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Bangui":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Banjul":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Bissau":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0115100",longitude:"-0153500"},"Africa/Blantyre":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Brazzaville":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Bujumbura":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Cairo":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0300\r
TZNAME:EEST\r
DTSTART:19700424T000000\r
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=-1FR\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:+0300\r
TZOFFSETTO:+0200\r
TZNAME:EET\r
DTSTART:19701030T000000\r
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1FR\r
END:STANDARD`],latitude:"+0300300",longitude:"+0311500"},"Africa/Casablanca":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:+01\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0333900",longitude:"-0073500"},"Africa/Ceuta":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0200\r
TZNAME:CEST\r
DTSTART:19700329T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0100\r
TZNAME:CET\r
DTSTART:19701025T030000\r
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\r
END:STANDARD`],latitude:"+0355300",longitude:"-0051900"},"Africa/Conakry":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Dakar":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Dar_es_Salaam":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0300\r
TZOFFSETTO:+0300\r
TZNAME:EAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Djibouti":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0300\r
TZOFFSETTO:+0300\r
TZNAME:EAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Douala":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/El_Aaiun":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:+01\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0270900",longitude:"-0131200"},"Africa/Freetown":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Gaborone":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Harare":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Johannesburg":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:SAST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0261500",longitude:"+0280000"},"Africa/Juba":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0045100",longitude:"+0313700"},"Africa/Kampala":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0300\r
TZOFFSETTO:+0300\r
TZNAME:EAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Khartoum":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0153600",longitude:"+0323200"},"Africa/Kigali":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Kinshasa":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Lagos":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0062700",longitude:"+0032400"},"Africa/Libreville":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Lome":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Luanda":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Lubumbashi":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Lusaka":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Malabo":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Maputo":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0255800",longitude:"+0323500"},"Africa/Maseru":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:SAST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Mbabane":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:SAST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Mogadishu":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0300\r
TZOFFSETTO:+0300\r
TZNAME:EAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Monrovia":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0061800",longitude:"-0104700"},"Africa/Nairobi":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0300\r
TZOFFSETTO:+0300\r
TZNAME:EAT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0011700",longitude:"+0364900"},"Africa/Ndjamena":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0120700",longitude:"+0150300"},"Africa/Niamey":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Nouakchott":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Ouagadougou":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Porto-Novo":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:WAT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Sao_Tome":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0002000",longitude:"+0064400"},"Africa/Timbuktu":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`]},"Africa/Tripoli":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:EET\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0325400",longitude:"+0131100"},"Africa/Tunis":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0100\r
TZOFFSETTO:+0100\r
TZNAME:CET\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0364800",longitude:"+0101100"},"Africa/Windhoek":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0200\r
TZOFFSETTO:+0200\r
TZNAME:CAT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0223400",longitude:"+0170600"},"America/Adak":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-1000\r
TZOFFSETTO:-0900\r
TZNAME:HDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0900\r
TZOFFSETTO:-1000\r
TZNAME:HST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0515248",longitude:"-1763929"},"America/Anchorage":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0900\r
TZOFFSETTO:-0800\r
TZNAME:AKDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0800\r
TZOFFSETTO:-0900\r
TZNAME:AKST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0611305",longitude:"-1495401"},"America/Anguilla":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Antigua":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Araguaina":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0071200",longitude:"-0481200"},"America/Argentina/Buenos_Aires":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0343600",longitude:"-0582700"},"America/Argentina/Catamarca":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0282800",longitude:"-0654700"},"America/Argentina/ComodRivadavia":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Argentina/Cordoba":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0312400",longitude:"-0641100"},"America/Argentina/Jujuy":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0241100",longitude:"-0651800"},"America/Argentina/La_Rioja":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0292600",longitude:"-0665100"},"America/Argentina/Mendoza":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0325300",longitude:"-0684900"},"America/Argentina/Rio_Gallegos":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0513800",longitude:"-0691300"},"America/Argentina/Salta":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0244700",longitude:"-0652500"},"America/Argentina/San_Juan":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0313200",longitude:"-0683100"},"America/Argentina/San_Luis":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0331900",longitude:"-0662100"},"America/Argentina/Tucuman":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0264900",longitude:"-0651300"},"America/Argentina/Ushuaia":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0544800",longitude:"-0681800"},"America/Aruba":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Asuncion":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19701004T000000\r
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0400\r
TZNAME:-04\r
DTSTART:19700322T000000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=4SU\r
END:STANDARD`],latitude:"-0251600",longitude:"-0574000"},"America/Atikokan":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Atka":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-1000\r
TZOFFSETTO:-0900\r
TZNAME:HDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0900\r
TZOFFSETTO:-1000\r
TZNAME:HST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`]},"America/Bahia":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0125900",longitude:"-0383100"},"America/Bahia_Banderas":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0600\r
TZNAME:CST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0204800",longitude:"-1051500"},"America/Barbados":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0130600",longitude:"-0593700"},"America/Belem":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0012700",longitude:"-0482900"},"America/Belize":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0600\r
TZNAME:CST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0173000",longitude:"-0881200"},"America/Blanc-Sablon":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Boa_Vista":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:-04\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0024900",longitude:"-0604000"},"America/Bogota":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0500\r
TZNAME:-05\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0043600",longitude:"-0740500"},"America/Boise":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0600\r
TZNAME:MDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0433649",longitude:"-1161209"},"America/Buenos_Aires":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Cambridge_Bay":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0600\r
TZNAME:MDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0690650",longitude:"-1050310"},"America/Campo_Grande":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:-04\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0202700",longitude:"-0543700"},"America/Cancun":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0210500",longitude:"-0864600"},"America/Caracas":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:-04\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0103000",longitude:"-0665600"},"America/Catamarca":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Cayenne":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0045600",longitude:"-0522000"},"America/Cayman":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Chicago":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0500\r
TZNAME:CDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0600\r
TZNAME:CST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0415100",longitude:"-0873900"},"America/Chihuahua":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0600\r
TZNAME:CST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0283800",longitude:"-1060500"},"America/Ciudad_Juarez":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0600\r
TZNAME:MDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0314400",longitude:"-1062900"},"America/Coral_Harbour":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Cordoba":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Costa_Rica":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0600\r
TZNAME:CST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0095600",longitude:"-0840500"},"America/Creston":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Cuiaba":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:-04\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0153500",longitude:"-0560500"},"America/Curacao":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Danmarkshavn":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:+0000\r
TZOFFSETTO:+0000\r
TZNAME:GMT\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0764600",longitude:"-0184000"},"America/Dawson":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0640400",longitude:"-1392500"},"America/Dawson_Creek":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0554600",longitude:"-1201400"},"America/Denver":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0600\r
TZNAME:MDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0394421",longitude:"-1045903"},"America/Detroit":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0421953",longitude:"-0830245"},"America/Dominica":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Edmonton":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0600\r
TZNAME:MDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0533300",longitude:"-1132800"},"America/Eirunepe":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0500\r
TZNAME:-05\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0064000",longitude:"-0695200"},"America/El_Salvador":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0600\r
TZNAME:CST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0134200",longitude:"-0891200"},"America/Ensenada":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0800\r
TZOFFSETTO:-0700\r
TZNAME:PDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0800\r
TZNAME:PST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`]},"America/Fort_Nelson":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0584800",longitude:"-1224200"},"America/Fort_Wayne":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`]},"America/Fortaleza":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0034300",longitude:"-0383000"},"America/Glace_Bay":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0300\r
TZNAME:ADT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0461200",longitude:"-0595700"},"America/Godthab":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0200\r
TZOFFSETTO:-0100\r
TZNAME:-01\r
DTSTART:19700328T230000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SA\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0100\r
TZOFFSETTO:-0200\r
TZNAME:-02\r
DTSTART:19701025T000000\r
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU\r
END:STANDARD`]},"America/Goose_Bay":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`,`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0300\r
TZNAME:ADT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`],latitude:"+0532000",longitude:"-0602500"},"America/Grand_Turk":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`,`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`],latitude:"+0212800",longitude:"-0710800"},"America/Grenada":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Guadeloupe":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Guatemala":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0600\r
TZNAME:CST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0143800",longitude:"-0903100"},"America/Guayaquil":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0500\r
TZNAME:-05\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"-0021000",longitude:"-0795000"},"America/Guyana":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:-04\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0064800",longitude:"-0581000"},"America/Halifax":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0300\r
TZNAME:ADT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0443900",longitude:"-0633600"},"America/Havana":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:CST\r
DTSTART:19701101T010000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`,`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:CDT\r
DTSTART:19700308T000000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`],latitude:"+0230800",longitude:"-0822200"},"America/Hermosillo":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0290400",longitude:"-1105800"},"America/Indiana/Indianapolis":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0394606",longitude:"-0860929"},"America/Indiana/Knox":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0500\r
TZNAME:CDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0600\r
TZNAME:CST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0411745",longitude:"-0863730"},"America/Indiana/Marengo":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0382232",longitude:"-0862041"},"America/Indiana/Petersburg":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0382931",longitude:"-0871643"},"America/Indiana/Tell_City":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0500\r
TZNAME:CDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0600\r
TZNAME:CST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0375711",longitude:"-0864541"},"America/Indiana/Vevay":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0384452",longitude:"-0850402"},"America/Indiana/Vincennes":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0384038",longitude:"-0873143"},"America/Indiana/Winamac":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`,`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`],latitude:"+0410305",longitude:"-0863611"},"America/Indianapolis":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`]},"America/Inuvik":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0700\r
TZOFFSETTO:-0600\r
TZNAME:MDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0700\r
TZNAME:MST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0682059",longitude:"-1334300"},"America/Iqaluit":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0634400",longitude:"-0682800"},"America/Jamaica":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19700101T000000\r
END:STANDARD`],latitude:"+0175805",longitude:"-0764736"},"America/Jujuy":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0300\r
TZOFFSETTO:-0300\r
TZNAME:-03\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/Juneau":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0900\r
TZOFFSETTO:-0800\r
TZNAME:AKDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0800\r
TZOFFSETTO:-0900\r
TZNAME:AKST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0581807",longitude:"-1342511"},"America/Kentucky/Louisville":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0381515",longitude:"-0854534"},"America/Kentucky/Monticello":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0400\r
TZNAME:EDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0500\r
TZNAME:EST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`],latitude:"+0364947",longitude:"-0845057"},"America/Knox_IN":{ics:[`BEGIN:DAYLIGHT\r
TZOFFSETFROM:-0600\r
TZOFFSETTO:-0500\r
TZNAME:CDT\r
DTSTART:19700308T020000\r
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU\r
END:DAYLIGHT`,`BEGIN:STANDARD\r
TZOFFSETFROM:-0500\r
TZOFFSETTO:-0600\r
TZNAME:CST\r
DTSTART:19701101T020000\r
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU\r
END:STANDARD`]},"America/Kralendijk":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r
TZOFFSETTO:-0400\r
TZNAME:AST\r
DTSTART:19700101T000000\r
END:STANDARD`]},"America/La_Paz":{ics:[`BEGIN:STANDARD\r
TZOFFSETFROM:-0400\r