sag_components 2.0.0-beta323 → 2.0.0-beta325

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import React$1, { useState, useRef, useEffect, useMemo, useCallback, forwardRef, useImperativeHandle } from 'react';
1
+ import React$1, { useState, useRef, useEffect, useMemo, useCallback, forwardRef, useImperativeHandle, useLayoutEffect } from 'react';
2
2
  import styled, { keyframes, css, styled as styled$1 } from 'styled-components';
3
3
  import { jsxs, jsx } from 'react/jsx-runtime';
4
4
  import { ResponsiveContainer, PieChart as PieChart$1, Pie, Cell, Tooltip as Tooltip$3, BarChart as BarChart$1, CartesianGrid, XAxis, YAxis, Bar, LabelList, ReferenceLine, LineChart, Line, AreaChart as AreaChart$1, Legend, Area, ScatterChart, ZAxis, Scatter, Brush, ComposedChart } from 'recharts';
@@ -9840,6 +9840,8 @@ const DropdownNew = props => {
9840
9840
  if (event && event.newValue && event.newValue[0]) {
9841
9841
  onChange && onChange(event);
9842
9842
  handleChange && handleChange(event.newValue[0].value);
9843
+ } else if (event && Array.isArray(event.newValue) && event.newValue.length === 0) {
9844
+ onChange && onChange(event);
9843
9845
  }
9844
9846
  };
9845
9847
  return /*#__PURE__*/React$1.createElement(DropdownMain, {
@@ -44088,1852 +44090,6 @@ TableBody.propTypes = {
44088
44090
  };
44089
44091
  TableBody.displayName = "TableBody";
44090
44092
 
44091
- var nm$1 = "calendar_lottie";
44092
- var ddd$1 = 0;
44093
- var h$1 = 16;
44094
- var w$1 = 16;
44095
- var meta = {
44096
- a: "Sadjad",
44097
- k: "calendar icon",
44098
- d: "calendar icon for you designed, enjoy",
44099
- g: "LottieFiles AE 0.1.20"
44100
- };
44101
- var layers$1 = [
44102
- {
44103
- ty: 3,
44104
- nm: "Null 1",
44105
- sr: 1,
44106
- st: 0,
44107
- op: 241,
44108
- ip: 0,
44109
- hd: false,
44110
- ddd: 0,
44111
- bm: 0,
44112
- hasMask: false,
44113
- ao: 0,
44114
- ks: {
44115
- a: {
44116
- a: 0,
44117
- k: [
44118
- 0,
44119
- 50,
44120
- 0
44121
- ],
44122
- ix: 1
44123
- },
44124
- s: {
44125
- a: 1,
44126
- k: [
44127
- {
44128
- o: {
44129
- x: 0.89,
44130
- y: 0
44131
- },
44132
- i: {
44133
- x: 0.11,
44134
- y: 1
44135
- },
44136
- s: [
44137
- 6.4,
44138
- 6.4,
44139
- 100
44140
- ],
44141
- t: 8
44142
- },
44143
- {
44144
- o: {
44145
- x: 0.89,
44146
- y: 0
44147
- },
44148
- i: {
44149
- x: 0.11,
44150
- y: 1
44151
- },
44152
- s: [
44153
- 5.12,
44154
- 5.12,
44155
- 100
44156
- ],
44157
- t: 14
44158
- },
44159
- {
44160
- o: {
44161
- x: 0.89,
44162
- y: 0
44163
- },
44164
- i: {
44165
- x: 0.11,
44166
- y: 1
44167
- },
44168
- s: [
44169
- 5.12,
44170
- 5.12,
44171
- 100
44172
- ],
44173
- t: 31
44174
- },
44175
- {
44176
- s: [
44177
- 6.4,
44178
- 6.4,
44179
- 100
44180
- ],
44181
- t: 36
44182
- }
44183
- ],
44184
- ix: 6
44185
- },
44186
- sk: {
44187
- a: 0,
44188
- k: 0
44189
- },
44190
- p: {
44191
- a: 0,
44192
- k: [
44193
- 8,
44194
- 11.2,
44195
- 0
44196
- ],
44197
- ix: 2
44198
- },
44199
- r: {
44200
- a: 0,
44201
- k: 0,
44202
- ix: 10
44203
- },
44204
- sa: {
44205
- a: 0,
44206
- k: 0
44207
- },
44208
- o: {
44209
- a: 0,
44210
- k: 0,
44211
- ix: 11
44212
- }
44213
- },
44214
- ef: [
44215
- ],
44216
- ind: 1
44217
- },
44218
- {
44219
- ty: 4,
44220
- nm: "pin Outlines",
44221
- sr: 1,
44222
- st: 0,
44223
- op: 241,
44224
- ip: 0,
44225
- hd: false,
44226
- ddd: 0,
44227
- bm: 0,
44228
- hasMask: false,
44229
- ao: 0,
44230
- ks: {
44231
- a: {
44232
- a: 0,
44233
- k: [
44234
- 39.833,
44235
- 23.166,
44236
- 0
44237
- ],
44238
- ix: 1
44239
- },
44240
- s: {
44241
- a: 0,
44242
- k: [
44243
- 100,
44244
- 100,
44245
- 100
44246
- ],
44247
- ix: 6
44248
- },
44249
- sk: {
44250
- a: 0,
44251
- k: 0
44252
- },
44253
- p: {
44254
- a: 0,
44255
- k: [
44256
- 0,
44257
- -66.667,
44258
- 0
44259
- ],
44260
- ix: 2
44261
- },
44262
- r: {
44263
- a: 0,
44264
- k: 0,
44265
- ix: 10
44266
- },
44267
- sa: {
44268
- a: 0,
44269
- k: 0
44270
- },
44271
- o: {
44272
- a: 0,
44273
- k: 100,
44274
- ix: 11
44275
- }
44276
- },
44277
- ef: [
44278
- ],
44279
- shapes: [
44280
- {
44281
- ty: "gr",
44282
- bm: 0,
44283
- hd: false,
44284
- mn: "ADBE Vector Group",
44285
- nm: "Group 1",
44286
- ix: 1,
44287
- cix: 2,
44288
- np: 2,
44289
- it: [
44290
- {
44291
- ty: "sh",
44292
- bm: 0,
44293
- hd: false,
44294
- mn: "ADBE Vector Shape - Group",
44295
- nm: "Path 1",
44296
- ix: 1,
44297
- d: 1,
44298
- ks: {
44299
- a: 0,
44300
- k: {
44301
- c: false,
44302
- i: [
44303
- [
44304
- 0,
44305
- 0
44306
- ],
44307
- [
44308
- 0,
44309
- 0
44310
- ]
44311
- ],
44312
- o: [
44313
- [
44314
- 0,
44315
- 0
44316
- ],
44317
- [
44318
- 0,
44319
- 0
44320
- ]
44321
- ],
44322
- v: [
44323
- [
44324
- 73.166,
44325
- 6.5
44326
- ],
44327
- [
44328
- 73.166,
44329
- 39.833
44330
- ]
44331
- ]
44332
- },
44333
- ix: 2
44334
- }
44335
- },
44336
- {
44337
- ty: "st",
44338
- bm: 0,
44339
- hd: false,
44340
- mn: "ADBE Vector Graphic - Stroke",
44341
- nm: "Stroke 1",
44342
- lc: 2,
44343
- lj: 2,
44344
- ml: 1,
44345
- o: {
44346
- a: 0,
44347
- k: 100,
44348
- ix: 4
44349
- },
44350
- w: {
44351
- a: 0,
44352
- k: 13,
44353
- ix: 5
44354
- },
44355
- c: {
44356
- a: 0,
44357
- k: [
44358
- 0.0235,
44359
- 0.4039,
44360
- 0.4078
44361
- ],
44362
- ix: 3
44363
- }
44364
- },
44365
- {
44366
- ty: "tr",
44367
- a: {
44368
- a: 0,
44369
- k: [
44370
- 0,
44371
- 0
44372
- ],
44373
- ix: 1
44374
- },
44375
- s: {
44376
- a: 0,
44377
- k: [
44378
- 100,
44379
- 100
44380
- ],
44381
- ix: 3
44382
- },
44383
- sk: {
44384
- a: 0,
44385
- k: 0,
44386
- ix: 4
44387
- },
44388
- p: {
44389
- a: 0,
44390
- k: [
44391
- 0,
44392
- 0
44393
- ],
44394
- ix: 2
44395
- },
44396
- r: {
44397
- a: 0,
44398
- k: 0,
44399
- ix: 6
44400
- },
44401
- sa: {
44402
- a: 0,
44403
- k: 0,
44404
- ix: 5
44405
- },
44406
- o: {
44407
- a: 0,
44408
- k: 100,
44409
- ix: 7
44410
- }
44411
- }
44412
- ]
44413
- },
44414
- {
44415
- ty: "gr",
44416
- bm: 0,
44417
- hd: false,
44418
- mn: "ADBE Vector Group",
44419
- nm: "Group 2",
44420
- ix: 2,
44421
- cix: 2,
44422
- np: 2,
44423
- it: [
44424
- {
44425
- ty: "sh",
44426
- bm: 0,
44427
- hd: false,
44428
- mn: "ADBE Vector Shape - Group",
44429
- nm: "Path 1",
44430
- ix: 1,
44431
- d: 1,
44432
- ks: {
44433
- a: 0,
44434
- k: {
44435
- c: false,
44436
- i: [
44437
- [
44438
- 0,
44439
- 0
44440
- ],
44441
- [
44442
- 0,
44443
- 0
44444
- ]
44445
- ],
44446
- o: [
44447
- [
44448
- 0,
44449
- 0
44450
- ],
44451
- [
44452
- 0,
44453
- 0
44454
- ]
44455
- ],
44456
- v: [
44457
- [
44458
- 6.5,
44459
- 6.5
44460
- ],
44461
- [
44462
- 6.5,
44463
- 39.833
44464
- ]
44465
- ]
44466
- },
44467
- ix: 2
44468
- }
44469
- },
44470
- {
44471
- ty: "st",
44472
- bm: 0,
44473
- hd: false,
44474
- mn: "ADBE Vector Graphic - Stroke",
44475
- nm: "Stroke 1",
44476
- lc: 2,
44477
- lj: 2,
44478
- ml: 1,
44479
- o: {
44480
- a: 0,
44481
- k: 100,
44482
- ix: 4
44483
- },
44484
- w: {
44485
- a: 0,
44486
- k: 13,
44487
- ix: 5
44488
- },
44489
- c: {
44490
- a: 0,
44491
- k: [
44492
- 0.0235,
44493
- 0.4039,
44494
- 0.4078
44495
- ],
44496
- ix: 3
44497
- }
44498
- },
44499
- {
44500
- ty: "tr",
44501
- a: {
44502
- a: 0,
44503
- k: [
44504
- 0,
44505
- 0
44506
- ],
44507
- ix: 1
44508
- },
44509
- s: {
44510
- a: 0,
44511
- k: [
44512
- 100,
44513
- 100
44514
- ],
44515
- ix: 3
44516
- },
44517
- sk: {
44518
- a: 0,
44519
- k: 0,
44520
- ix: 4
44521
- },
44522
- p: {
44523
- a: 0,
44524
- k: [
44525
- 0,
44526
- 0
44527
- ],
44528
- ix: 2
44529
- },
44530
- r: {
44531
- a: 0,
44532
- k: 0,
44533
- ix: 6
44534
- },
44535
- sa: {
44536
- a: 0,
44537
- k: 0,
44538
- ix: 5
44539
- },
44540
- o: {
44541
- a: 0,
44542
- k: 100,
44543
- ix: 7
44544
- }
44545
- }
44546
- ]
44547
- }
44548
- ],
44549
- ind: 2,
44550
- parent: 1
44551
- },
44552
- {
44553
- ty: 4,
44554
- nm: "line Outlines",
44555
- sr: 1,
44556
- st: 0,
44557
- op: 241,
44558
- ip: 0,
44559
- hd: false,
44560
- ddd: 0,
44561
- bm: 0,
44562
- hasMask: false,
44563
- ao: 0,
44564
- ks: {
44565
- a: {
44566
- a: 0,
44567
- k: [
44568
- 81.5,
44569
- 6.5,
44570
- 0
44571
- ],
44572
- ix: 1
44573
- },
44574
- s: {
44575
- a: 0,
44576
- k: [
44577
- 100,
44578
- 100,
44579
- 100
44580
- ],
44581
- ix: 6
44582
- },
44583
- sk: {
44584
- a: 0,
44585
- k: 0
44586
- },
44587
- p: {
44588
- a: 1,
44589
- k: [
44590
- {
44591
- o: {
44592
- x: 0.66,
44593
- y: 0
44594
- },
44595
- i: {
44596
- x: 0.34,
44597
- y: 1
44598
- },
44599
- s: [
44600
- 0,
44601
- -16.667,
44602
- 0
44603
- ],
44604
- t: 8,
44605
- ti: [
44606
- 0,
44607
- 8.333,
44608
- 0
44609
- ],
44610
- to: [
44611
- 0,
44612
- -14.667,
44613
- 0
44614
- ]
44615
- },
44616
- {
44617
- o: {
44618
- x: 0.66,
44619
- y: 0
44620
- },
44621
- i: {
44622
- x: 0.34,
44623
- y: 1
44624
- },
44625
- s: [
44626
- 0,
44627
- -104.667,
44628
- 0
44629
- ],
44630
- t: 23,
44631
- ti: [
44632
- 0,
44633
- -6.333,
44634
- 0
44635
- ],
44636
- to: [
44637
- 0,
44638
- -8.333,
44639
- 0
44640
- ]
44641
- },
44642
- {
44643
- s: [
44644
- 0,
44645
- -66.667,
44646
- 0
44647
- ],
44648
- t: 36
44649
- }
44650
- ],
44651
- ix: 2
44652
- },
44653
- r: {
44654
- a: 0,
44655
- k: 0,
44656
- ix: 10
44657
- },
44658
- sa: {
44659
- a: 0,
44660
- k: 0
44661
- },
44662
- o: {
44663
- a: 0,
44664
- k: 100,
44665
- ix: 11
44666
- }
44667
- },
44668
- ef: [
44669
- ],
44670
- shapes: [
44671
- {
44672
- ty: "gr",
44673
- bm: 0,
44674
- hd: false,
44675
- mn: "ADBE Vector Group",
44676
- nm: "Group 1",
44677
- ix: 1,
44678
- cix: 2,
44679
- np: 2,
44680
- it: [
44681
- {
44682
- ty: "sh",
44683
- bm: 0,
44684
- hd: false,
44685
- mn: "ADBE Vector Shape - Group",
44686
- nm: "Path 1",
44687
- ix: 1,
44688
- d: 1,
44689
- ks: {
44690
- a: 1,
44691
- k: [
44692
- {
44693
- o: {
44694
- x: 0.66,
44695
- y: 0
44696
- },
44697
- i: {
44698
- x: 0.34,
44699
- y: 1
44700
- },
44701
- s: [
44702
- {
44703
- c: false,
44704
- i: [
44705
- [
44706
- 0,
44707
- 0
44708
- ],
44709
- [
44710
- 0,
44711
- 0
44712
- ]
44713
- ],
44714
- o: [
44715
- [
44716
- 0,
44717
- 0
44718
- ],
44719
- [
44720
- 0,
44721
- 0
44722
- ]
44723
- ],
44724
- v: [
44725
- [
44726
- 6.5,
44727
- 6.5
44728
- ],
44729
- [
44730
- 156.5,
44731
- 6.5
44732
- ]
44733
- ]
44734
- }
44735
- ],
44736
- t: 8
44737
- },
44738
- {
44739
- o: {
44740
- x: 0.66,
44741
- y: 0
44742
- },
44743
- i: {
44744
- x: 0.34,
44745
- y: 1
44746
- },
44747
- s: [
44748
- {
44749
- c: false,
44750
- i: [
44751
- [
44752
- 0,
44753
- 0
44754
- ],
44755
- [
44756
- 0,
44757
- 0
44758
- ]
44759
- ],
44760
- o: [
44761
- [
44762
- 0,
44763
- 0
44764
- ],
44765
- [
44766
- 0,
44767
- 0
44768
- ]
44769
- ],
44770
- v: [
44771
- [
44772
- 6.5,
44773
- 6.5
44774
- ],
44775
- [
44776
- 156.5,
44777
- 6.5
44778
- ]
44779
- ]
44780
- }
44781
- ],
44782
- t: 30
44783
- },
44784
- {
44785
- s: [
44786
- {
44787
- c: false,
44788
- i: [
44789
- [
44790
- 0,
44791
- 0
44792
- ],
44793
- [
44794
- 0,
44795
- 0
44796
- ]
44797
- ],
44798
- o: [
44799
- [
44800
- 0,
44801
- 0
44802
- ],
44803
- [
44804
- 0,
44805
- 0
44806
- ]
44807
- ],
44808
- v: [
44809
- [
44810
- 20.5,
44811
- 6.583
44812
- ],
44813
- [
44814
- 141,
44815
- 6.583
44816
- ]
44817
- ]
44818
- }
44819
- ],
44820
- t: 36
44821
- }
44822
- ],
44823
- ix: 2
44824
- }
44825
- },
44826
- {
44827
- ty: "st",
44828
- bm: 0,
44829
- hd: false,
44830
- mn: "ADBE Vector Graphic - Stroke",
44831
- nm: "Stroke 1",
44832
- lc: 2,
44833
- lj: 2,
44834
- ml: 1,
44835
- o: {
44836
- a: 0,
44837
- k: 100,
44838
- ix: 4
44839
- },
44840
- w: {
44841
- a: 0,
44842
- k: 13,
44843
- ix: 5
44844
- },
44845
- c: {
44846
- a: 0,
44847
- k: [
44848
- 0.0235,
44849
- 0.4039,
44850
- 0.4078
44851
- ],
44852
- ix: 3
44853
- }
44854
- },
44855
- {
44856
- ty: "tr",
44857
- a: {
44858
- a: 0,
44859
- k: [
44860
- 0,
44861
- 0
44862
- ],
44863
- ix: 1
44864
- },
44865
- s: {
44866
- a: 0,
44867
- k: [
44868
- 100,
44869
- 100
44870
- ],
44871
- ix: 3
44872
- },
44873
- sk: {
44874
- a: 0,
44875
- k: 0,
44876
- ix: 4
44877
- },
44878
- p: {
44879
- a: 0,
44880
- k: [
44881
- 0,
44882
- 0
44883
- ],
44884
- ix: 2
44885
- },
44886
- r: {
44887
- a: 0,
44888
- k: 0,
44889
- ix: 6
44890
- },
44891
- sa: {
44892
- a: 0,
44893
- k: 0,
44894
- ix: 5
44895
- },
44896
- o: {
44897
- a: 0,
44898
- k: 100,
44899
- ix: 7
44900
- }
44901
- }
44902
- ]
44903
- }
44904
- ],
44905
- ind: 3,
44906
- parent: 1
44907
- },
44908
- {
44909
- ty: 4,
44910
- nm: "line Outlines 2",
44911
- sr: 1,
44912
- st: 0,
44913
- op: 241,
44914
- ip: 0,
44915
- hd: false,
44916
- ddd: 0,
44917
- bm: 0,
44918
- hasMask: false,
44919
- ao: 0,
44920
- ks: {
44921
- a: {
44922
- a: 0,
44923
- k: [
44924
- 81.5,
44925
- 6.5,
44926
- 0
44927
- ],
44928
- ix: 1
44929
- },
44930
- s: {
44931
- a: 0,
44932
- k: [
44933
- 100,
44934
- 100,
44935
- 100
44936
- ],
44937
- ix: 6
44938
- },
44939
- sk: {
44940
- a: 0,
44941
- k: 0
44942
- },
44943
- p: {
44944
- a: 0,
44945
- k: [
44946
- 0,
44947
- -16.667,
44948
- 0
44949
- ],
44950
- ix: 2
44951
- },
44952
- r: {
44953
- a: 0,
44954
- k: 0,
44955
- ix: 10
44956
- },
44957
- sa: {
44958
- a: 0,
44959
- k: 0
44960
- },
44961
- o: {
44962
- a: 1,
44963
- k: [
44964
- {
44965
- o: {
44966
- x: 0.167,
44967
- y: 0.167
44968
- },
44969
- i: {
44970
- x: 0.833,
44971
- y: 0.833
44972
- },
44973
- s: [
44974
- 0
44975
- ],
44976
- t: 14
44977
- },
44978
- {
44979
- s: [
44980
- 100
44981
- ],
44982
- t: 15
44983
- }
44984
- ],
44985
- ix: 11
44986
- }
44987
- },
44988
- ef: [
44989
- ],
44990
- shapes: [
44991
- {
44992
- ty: "gr",
44993
- bm: 0,
44994
- hd: false,
44995
- mn: "ADBE Vector Group",
44996
- nm: "Group 1",
44997
- ix: 1,
44998
- cix: 2,
44999
- np: 2,
45000
- it: [
45001
- {
45002
- ty: "sh",
45003
- bm: 0,
45004
- hd: false,
45005
- mn: "ADBE Vector Shape - Group",
45006
- nm: "Path 1",
45007
- ix: 1,
45008
- d: 1,
45009
- ks: {
45010
- a: 0,
45011
- k: {
45012
- c: false,
45013
- i: [
45014
- [
45015
- 0,
45016
- 0
45017
- ],
45018
- [
45019
- 0,
45020
- 0
45021
- ]
45022
- ],
45023
- o: [
45024
- [
45025
- 0,
45026
- 0
45027
- ],
45028
- [
45029
- 0,
45030
- 0
45031
- ]
45032
- ],
45033
- v: [
45034
- [
45035
- 6.5,
45036
- 6.5
45037
- ],
45038
- [
45039
- 156.5,
45040
- 6.5
45041
- ]
45042
- ]
45043
- },
45044
- ix: 2
45045
- }
45046
- },
45047
- {
45048
- ty: "st",
45049
- bm: 0,
45050
- hd: false,
45051
- mn: "ADBE Vector Graphic - Stroke",
45052
- nm: "Stroke 1",
45053
- lc: 2,
45054
- lj: 2,
45055
- ml: 1,
45056
- o: {
45057
- a: 0,
45058
- k: 100,
45059
- ix: 4
45060
- },
45061
- w: {
45062
- a: 0,
45063
- k: 13,
45064
- ix: 5
45065
- },
45066
- c: {
45067
- a: 0,
45068
- k: [
45069
- 0.0235,
45070
- 0.4039,
45071
- 0.4078
45072
- ],
45073
- ix: 3
45074
- }
45075
- },
45076
- {
45077
- ty: "tr",
45078
- a: {
45079
- a: 0,
45080
- k: [
45081
- 0,
45082
- 0
45083
- ],
45084
- ix: 1
45085
- },
45086
- s: {
45087
- a: 0,
45088
- k: [
45089
- 100,
45090
- 100
45091
- ],
45092
- ix: 3
45093
- },
45094
- sk: {
45095
- a: 0,
45096
- k: 0,
45097
- ix: 4
45098
- },
45099
- p: {
45100
- a: 0,
45101
- k: [
45102
- 0,
45103
- 0
45104
- ],
45105
- ix: 2
45106
- },
45107
- r: {
45108
- a: 0,
45109
- k: 0,
45110
- ix: 6
45111
- },
45112
- sa: {
45113
- a: 0,
45114
- k: 0,
45115
- ix: 5
45116
- },
45117
- o: {
45118
- a: 0,
45119
- k: 100,
45120
- ix: 7
45121
- }
45122
- }
45123
- ]
45124
- }
45125
- ],
45126
- ind: 4,
45127
- parent: 1
45128
- },
45129
- {
45130
- ty: 4,
45131
- nm: "page02 Outlines",
45132
- sr: 1,
45133
- st: 0,
45134
- op: 70,
45135
- ip: 0,
45136
- hd: false,
45137
- ddd: 0,
45138
- bm: 0,
45139
- hasMask: false,
45140
- ao: 0,
45141
- ks: {
45142
- a: {
45143
- a: 0,
45144
- k: [
45145
- 88,
45146
- 13,
45147
- 0
45148
- ],
45149
- ix: 1
45150
- },
45151
- s: {
45152
- a: 0,
45153
- k: [
45154
- 100,
45155
- 100,
45156
- 100
45157
- ],
45158
- ix: 6
45159
- },
45160
- sk: {
45161
- a: 0,
45162
- k: 0
45163
- },
45164
- p: {
45165
- a: 0,
45166
- k: [
45167
- -0.001,
45168
- -66.667,
45169
- 0
45170
- ],
45171
- ix: 2
45172
- },
45173
- r: {
45174
- a: 0,
45175
- k: 180,
45176
- ix: 10
45177
- },
45178
- sa: {
45179
- a: 0,
45180
- k: 0
45181
- },
45182
- o: {
45183
- a: 0,
45184
- k: 100,
45185
- ix: 11
45186
- }
45187
- },
45188
- ef: [
45189
- ],
45190
- shapes: [
45191
- {
45192
- ty: "gr",
45193
- bm: 0,
45194
- hd: false,
45195
- mn: "ADBE Vector Group",
45196
- nm: "Group 1",
45197
- ix: 1,
45198
- cix: 2,
45199
- np: 2,
45200
- it: [
45201
- {
45202
- ty: "sh",
45203
- bm: 0,
45204
- hd: false,
45205
- mn: "ADBE Vector Shape - Group",
45206
- nm: "Path 1",
45207
- ix: 1,
45208
- d: 1,
45209
- ks: {
45210
- a: 1,
45211
- k: [
45212
- {
45213
- o: {
45214
- x: 0.66,
45215
- y: 0
45216
- },
45217
- i: {
45218
- x: 0.34,
45219
- y: 1
45220
- },
45221
- s: [
45222
- {
45223
- c: true,
45224
- i: [
45225
- [
45226
- -9.205,
45227
- 0
45228
- ],
45229
- [
45230
- 0,
45231
- 0
45232
- ],
45233
- [
45234
- 0.499,
45235
- 12.166
45236
- ],
45237
- [
45238
- 0,
45239
- 0
45240
- ],
45241
- [
45242
- 9.205,
45243
- 0
45244
- ],
45245
- [
45246
- 0,
45247
- 0
45248
- ],
45249
- [
45250
- -0.673,
45251
- -8
45252
- ],
45253
- [
45254
- 0,
45255
- 0
45256
- ]
45257
- ],
45258
- o: [
45259
- [
45260
- 0,
45261
- 0
45262
- ],
45263
- [
45264
- 9.205,
45265
- 0
45266
- ],
45267
- [
45268
- 0,
45269
- 0
45270
- ],
45271
- [
45272
- -0.673,
45273
- -6
45274
- ],
45275
- [
45276
- 0,
45277
- 0
45278
- ],
45279
- [
45280
- -9.205,
45281
- 0
45282
- ],
45283
- [
45284
- 0,
45285
- 0
45286
- ],
45287
- [
45288
- -0.001,
45289
- 13.166
45290
- ]
45291
- ],
45292
- v: [
45293
- [
45294
- -58.333,
45295
- -75
45296
- ],
45297
- [
45298
- 58.334,
45299
- -75
45300
- ],
45301
- [
45302
- 75.001,
45303
- -89.833
45304
- ],
45305
- [
45306
- 75.173,
45307
- -210.167
45308
- ],
45309
- [
45310
- 58.514,
45311
- -225
45312
- ],
45313
- [
45314
- -58.32,
45315
- -225
45316
- ],
45317
- [
45318
- -74.827,
45319
- -210.167
45320
- ],
45321
- [
45322
- -74.999,
45323
- -92.833
45324
- ]
45325
- ]
45326
- }
45327
- ],
45328
- t: 8
45329
- },
45330
- {
45331
- o: {
45332
- x: 0.66,
45333
- y: 0
45334
- },
45335
- i: {
45336
- x: 0.34,
45337
- y: 1
45338
- },
45339
- s: [
45340
- {
45341
- c: true,
45342
- i: [
45343
- [
45344
- -9.205,
45345
- 0
45346
- ],
45347
- [
45348
- 0,
45349
- 0
45350
- ],
45351
- [
45352
- 0,
45353
- -9.205
45354
- ],
45355
- [
45356
- 0,
45357
- 0
45358
- ],
45359
- [
45360
- 9.205,
45361
- 0
45362
- ],
45363
- [
45364
- 0,
45365
- 0
45366
- ],
45367
- [
45368
- 0,
45369
- 9.205
45370
- ],
45371
- [
45372
- 0,
45373
- 0
45374
- ]
45375
- ],
45376
- o: [
45377
- [
45378
- 0,
45379
- 0
45380
- ],
45381
- [
45382
- 9.205,
45383
- 0
45384
- ],
45385
- [
45386
- 0,
45387
- 0
45388
- ],
45389
- [
45390
- 0,
45391
- 9.205
45392
- ],
45393
- [
45394
- 0,
45395
- 0
45396
- ],
45397
- [
45398
- -9.205,
45399
- 0
45400
- ],
45401
- [
45402
- 0,
45403
- 0
45404
- ],
45405
- [
45406
- 0,
45407
- -9.205
45408
- ]
45409
- ],
45410
- v: [
45411
- [
45412
- -58.333,
45413
- -75
45414
- ],
45415
- [
45416
- 58.334,
45417
- -75
45418
- ],
45419
- [
45420
- 75,
45421
- -58.333
45422
- ],
45423
- [
45424
- 74.754,
45425
- -11.417
45426
- ],
45427
- [
45428
- 58.088,
45429
- 5.25
45430
- ],
45431
- [
45432
- -58.579,
45433
- 5.25
45434
- ],
45435
- [
45436
- -75.246,
45437
- -11.417
45438
- ],
45439
- [
45440
- -75,
45441
- -58.333
45442
- ]
45443
- ]
45444
- }
45445
- ],
45446
- t: 23
45447
- },
45448
- {
45449
- s: [
45450
- {
45451
- c: true,
45452
- i: [
45453
- [
45454
- -9.205,
45455
- 0
45456
- ],
45457
- [
45458
- 0,
45459
- 0
45460
- ],
45461
- [
45462
- -1.001,
45463
- 7.166
45464
- ],
45465
- [
45466
- 0,
45467
- 0
45468
- ],
45469
- [
45470
- 11.663,
45471
- -0.292
45472
- ],
45473
- [
45474
- 0,
45475
- 0
45476
- ],
45477
- [
45478
- 0.119,
45479
- 14.876
45480
- ],
45481
- [
45482
- 0,
45483
- 0
45484
- ]
45485
- ],
45486
- o: [
45487
- [
45488
- 0,
45489
- 0
45490
- ],
45491
- [
45492
- 8.29,
45493
- -0.667
45494
- ],
45495
- [
45496
- 0,
45497
- 0
45498
- ],
45499
- [
45500
- -0.003,
45501
- 12.251
45502
- ],
45503
- [
45504
- 0,
45505
- 0
45506
- ],
45507
- [
45508
- -13.295,
45509
- -1.792
45510
- ],
45511
- [
45512
- 0,
45513
- 0
45514
- ],
45515
- [
45516
- 0.996,
45517
- 5.541
45518
- ]
45519
- ],
45520
- v: [
45521
- [
45522
- -58.333,
45523
- -75
45524
- ],
45525
- [
45526
- 58.334,
45527
- -75
45528
- ],
45529
- [
45530
- 73.876,
45531
- -88.333
45532
- ],
45533
- [
45534
- 74.503,
45535
- -91.667
45536
- ],
45537
- [
45538
- 57.837,
45539
- -75
45540
- ],
45541
- [
45542
- -58.83,
45543
- -75
45544
- ],
45545
- [
45546
- -75.494,
45547
- -96.167
45548
- ],
45549
- [
45550
- -74.621,
45551
- -86.333
45552
- ]
45553
- ]
45554
- }
45555
- ],
45556
- t: 36
45557
- }
45558
- ],
45559
- ix: 2
45560
- }
45561
- },
45562
- {
45563
- ty: "st",
45564
- bm: 0,
45565
- hd: false,
45566
- mn: "ADBE Vector Graphic - Stroke",
45567
- nm: "Stroke 1",
45568
- lc: 2,
45569
- lj: 2,
45570
- ml: 1,
45571
- o: {
45572
- a: 0,
45573
- k: 100,
45574
- ix: 4
45575
- },
45576
- w: {
45577
- a: 0,
45578
- k: 13,
45579
- ix: 5
45580
- },
45581
- c: {
45582
- a: 0,
45583
- k: [
45584
- 0.0235,
45585
- 0.4039,
45586
- 0.4078
45587
- ],
45588
- ix: 3
45589
- }
45590
- },
45591
- {
45592
- ty: "tr",
45593
- a: {
45594
- a: 0,
45595
- k: [
45596
- 0,
45597
- 0
45598
- ],
45599
- ix: 1
45600
- },
45601
- s: {
45602
- a: 0,
45603
- k: [
45604
- 100,
45605
- 100
45606
- ],
45607
- ix: 3
45608
- },
45609
- sk: {
45610
- a: 0,
45611
- k: 0,
45612
- ix: 4
45613
- },
45614
- p: {
45615
- a: 0,
45616
- k: [
45617
- 88,
45618
- 88
45619
- ],
45620
- ix: 2
45621
- },
45622
- r: {
45623
- a: 0,
45624
- k: 0,
45625
- ix: 6
45626
- },
45627
- sa: {
45628
- a: 0,
45629
- k: 0,
45630
- ix: 5
45631
- },
45632
- o: {
45633
- a: 0,
45634
- k: 100,
45635
- ix: 7
45636
- }
45637
- }
45638
- ]
45639
- }
45640
- ],
45641
- ind: 5,
45642
- parent: 1
45643
- },
45644
- {
45645
- ty: 4,
45646
- nm: "page01 Outlines",
45647
- sr: 1,
45648
- st: 0,
45649
- op: 241,
45650
- ip: 0,
45651
- hd: false,
45652
- ddd: 0,
45653
- bm: 0,
45654
- hasMask: false,
45655
- ao: 0,
45656
- ks: {
45657
- a: {
45658
- a: 0,
45659
- k: [
45660
- 88,
45661
- 88,
45662
- 0
45663
- ],
45664
- ix: 1
45665
- },
45666
- s: {
45667
- a: 0,
45668
- k: [
45669
- 100,
45670
- 100,
45671
- 100
45672
- ],
45673
- ix: 6
45674
- },
45675
- sk: {
45676
- a: 0,
45677
- k: 0
45678
- },
45679
- p: {
45680
- a: 0,
45681
- k: [
45682
- -0.001,
45683
- 8.333,
45684
- 0
45685
- ],
45686
- ix: 2
45687
- },
45688
- r: {
45689
- a: 0,
45690
- k: 0,
45691
- ix: 10
45692
- },
45693
- sa: {
45694
- a: 0,
45695
- k: 0
45696
- },
45697
- o: {
45698
- a: 0,
45699
- k: 100,
45700
- ix: 11
45701
- }
45702
- },
45703
- ef: [
45704
- ],
45705
- shapes: [
45706
- {
45707
- ty: "gr",
45708
- bm: 0,
45709
- hd: false,
45710
- mn: "ADBE Vector Group",
45711
- nm: "Group 1",
45712
- ix: 1,
45713
- cix: 2,
45714
- np: 2,
45715
- it: [
45716
- {
45717
- ty: "sh",
45718
- bm: 0,
45719
- hd: false,
45720
- mn: "ADBE Vector Shape - Group",
45721
- nm: "Path 1",
45722
- ix: 1,
45723
- d: 1,
45724
- ks: {
45725
- a: 0,
45726
- k: {
45727
- c: true,
45728
- i: [
45729
- [
45730
- -9.205,
45731
- 0
45732
- ],
45733
- [
45734
- 0,
45735
- 0
45736
- ],
45737
- [
45738
- 0,
45739
- -9.205
45740
- ],
45741
- [
45742
- 0,
45743
- 0
45744
- ],
45745
- [
45746
- 9.205,
45747
- 0
45748
- ],
45749
- [
45750
- 0,
45751
- 0
45752
- ],
45753
- [
45754
- 0,
45755
- 9.205
45756
- ],
45757
- [
45758
- 0,
45759
- 0
45760
- ]
45761
- ],
45762
- o: [
45763
- [
45764
- 0,
45765
- 0
45766
- ],
45767
- [
45768
- 9.205,
45769
- 0
45770
- ],
45771
- [
45772
- 0,
45773
- 0
45774
- ],
45775
- [
45776
- 0,
45777
- 9.205
45778
- ],
45779
- [
45780
- 0,
45781
- 0
45782
- ],
45783
- [
45784
- -9.205,
45785
- 0
45786
- ],
45787
- [
45788
- 0,
45789
- 0
45790
- ],
45791
- [
45792
- 0,
45793
- -9.205
45794
- ]
45795
- ],
45796
- v: [
45797
- [
45798
- -58.333,
45799
- -75
45800
- ],
45801
- [
45802
- 58.334,
45803
- -75
45804
- ],
45805
- [
45806
- 75,
45807
- -58.333
45808
- ],
45809
- [
45810
- 75,
45811
- 58.333
45812
- ],
45813
- [
45814
- 58.334,
45815
- 75
45816
- ],
45817
- [
45818
- -58.333,
45819
- 75
45820
- ],
45821
- [
45822
- -75,
45823
- 58.333
45824
- ],
45825
- [
45826
- -75,
45827
- -58.333
45828
- ]
45829
- ]
45830
- },
45831
- ix: 2
45832
- }
45833
- },
45834
- {
45835
- ty: "st",
45836
- bm: 0,
45837
- hd: false,
45838
- mn: "ADBE Vector Graphic - Stroke",
45839
- nm: "Stroke 1",
45840
- lc: 2,
45841
- lj: 2,
45842
- ml: 1,
45843
- o: {
45844
- a: 0,
45845
- k: 100,
45846
- ix: 4
45847
- },
45848
- w: {
45849
- a: 0,
45850
- k: 13,
45851
- ix: 5
45852
- },
45853
- c: {
45854
- a: 0,
45855
- k: [
45856
- 0.0235,
45857
- 0.4039,
45858
- 0.4078
45859
- ],
45860
- ix: 3
45861
- }
45862
- },
45863
- {
45864
- ty: "tr",
45865
- a: {
45866
- a: 0,
45867
- k: [
45868
- 0,
45869
- 0
45870
- ],
45871
- ix: 1
45872
- },
45873
- s: {
45874
- a: 0,
45875
- k: [
45876
- 100,
45877
- 100
45878
- ],
45879
- ix: 3
45880
- },
45881
- sk: {
45882
- a: 0,
45883
- k: 0,
45884
- ix: 4
45885
- },
45886
- p: {
45887
- a: 0,
45888
- k: [
45889
- 88,
45890
- 88
45891
- ],
45892
- ix: 2
45893
- },
45894
- r: {
45895
- a: 0,
45896
- k: 0,
45897
- ix: 6
45898
- },
45899
- sa: {
45900
- a: 0,
45901
- k: 0,
45902
- ix: 5
45903
- },
45904
- o: {
45905
- a: 0,
45906
- k: 100,
45907
- ix: 7
45908
- }
45909
- }
45910
- ]
45911
- }
45912
- ],
45913
- ind: 6,
45914
- parent: 1
45915
- }
45916
- ];
45917
- var v$1 = "5.5.7";
45918
- var fr$1 = 45;
45919
- var op$1 = 41;
45920
- var ip$1 = 0;
45921
- var assets$1 = [
45922
- ];
45923
- var LoadingAnimation = {
45924
- nm: nm$1,
45925
- ddd: ddd$1,
45926
- h: h$1,
45927
- w: w$1,
45928
- meta: meta,
45929
- layers: layers$1,
45930
- v: v$1,
45931
- fr: fr$1,
45932
- op: op$1,
45933
- ip: ip$1,
45934
- assets: assets$1
45935
- };
45936
-
45937
44093
  var lottie$1 = {exports: {}};
45938
44094
 
45939
44095
  lottie$1.exports;(function(module,exports){typeof document!=="undefined"&&typeof navigator!=="undefined"&&function(global,factory){module.exports=factory();}(commonjsGlobal,function(){var svgNS='http://www.w3.org/2000/svg';var locationHref='';var _useWebWorker=false;var initialDefaultFrame=-999999;var setWebWorker=function setWebWorker(flag){_useWebWorker=!!flag;};var getWebWorker=function getWebWorker(){return _useWebWorker;};var setLocationHref=function setLocationHref(value){locationHref=value;};var getLocationHref=function getLocationHref(){return locationHref;};function createTag(type){// return {appendChild:function(){},setAttribute:function(){},style:{}}
@@ -46825,433 +44981,2483 @@ var useLottie = function useLottie(props, style) {
46825
44981
  var _a;
46826
44982
  (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.setSubframe(useSubFrames);
46827
44983
  };
46828
- /**
46829
- * Get animation duration
46830
- * @param inFrames
46831
- */
46832
- var getDuration = function getDuration(inFrames) {
46833
- var _a;
46834
- return (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.getDuration(inFrames);
44984
+ /**
44985
+ * Get animation duration
44986
+ * @param inFrames
44987
+ */
44988
+ var getDuration = function getDuration(inFrames) {
44989
+ var _a;
44990
+ return (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.getDuration(inFrames);
44991
+ };
44992
+ /**
44993
+ * Destroy animation
44994
+ */
44995
+ var destroy = function destroy() {
44996
+ var _a;
44997
+ (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
44998
+ // Removing the reference to the animation so separate cleanups are skipped.
44999
+ // Without it the internal `lottie-react` instance throws exceptions as it already cleared itself on destroy.
45000
+ animationInstanceRef.current = undefined;
45001
+ };
45002
+ /*
45003
+ ======================================
45004
+ LOTTIE
45005
+ ======================================
45006
+ */
45007
+ /**
45008
+ * Load a new animation, and if it's the case, destroy the previous one
45009
+ * @param {Object} forcedConfigs
45010
+ */
45011
+ var loadAnimation = function loadAnimation() {
45012
+ var forcedConfigs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
45013
+ var _a;
45014
+ // Return if the container ref is null
45015
+ if (!animationContainer.current) {
45016
+ return;
45017
+ }
45018
+ // Destroy any previous instance
45019
+ (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
45020
+ // Build the animation configuration
45021
+ var config = _objectSpread2(_objectSpread2(_objectSpread2({}, props), forcedConfigs), {}, {
45022
+ container: animationContainer.current
45023
+ });
45024
+ // Save the animation instance
45025
+ animationInstanceRef.current = lottie.loadAnimation(config);
45026
+ setAnimationLoaded(!!animationInstanceRef.current);
45027
+ // Return a function that will clean up
45028
+ return function () {
45029
+ var _a;
45030
+ (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
45031
+ animationInstanceRef.current = undefined;
45032
+ };
45033
+ };
45034
+ /**
45035
+ * (Re)Initialize when animation data changed
45036
+ */
45037
+ useEffect(function () {
45038
+ var onUnmount = loadAnimation();
45039
+ // Clean up on unmount
45040
+ return function () {
45041
+ return onUnmount === null || onUnmount === void 0 ? void 0 : onUnmount();
45042
+ };
45043
+ // eslint-disable-next-line react-hooks/exhaustive-deps
45044
+ }, [animationData, loop]);
45045
+ // Update the autoplay state
45046
+ useEffect(function () {
45047
+ if (!animationInstanceRef.current) {
45048
+ return;
45049
+ }
45050
+ animationInstanceRef.current.autoplay = !!autoplay;
45051
+ }, [autoplay]);
45052
+ // Update the initial segment state
45053
+ useEffect(function () {
45054
+ if (!animationInstanceRef.current) {
45055
+ return;
45056
+ }
45057
+ // When null should reset to default animation length
45058
+ if (!initialSegment) {
45059
+ animationInstanceRef.current.resetSegments(true);
45060
+ return;
45061
+ }
45062
+ // If it's not a valid segment, do nothing
45063
+ if (!Array.isArray(initialSegment) || !initialSegment.length) {
45064
+ return;
45065
+ }
45066
+ // If the current position it's not in the new segment
45067
+ // set the current position to start
45068
+ if (animationInstanceRef.current.currentRawFrame < initialSegment[0] || animationInstanceRef.current.currentRawFrame > initialSegment[1]) {
45069
+ animationInstanceRef.current.currentRawFrame = initialSegment[0];
45070
+ }
45071
+ // Update the segment
45072
+ animationInstanceRef.current.setSegment(initialSegment[0], initialSegment[1]);
45073
+ }, [initialSegment]);
45074
+ /*
45075
+ ======================================
45076
+ EVENTS
45077
+ ======================================
45078
+ */
45079
+ /**
45080
+ * Reinitialize listener on change
45081
+ */
45082
+ useEffect(function () {
45083
+ var partialListeners = [{
45084
+ name: "complete",
45085
+ handler: onComplete
45086
+ }, {
45087
+ name: "loopComplete",
45088
+ handler: onLoopComplete
45089
+ }, {
45090
+ name: "enterFrame",
45091
+ handler: onEnterFrame
45092
+ }, {
45093
+ name: "segmentStart",
45094
+ handler: onSegmentStart
45095
+ }, {
45096
+ name: "config_ready",
45097
+ handler: onConfigReady
45098
+ }, {
45099
+ name: "data_ready",
45100
+ handler: onDataReady
45101
+ }, {
45102
+ name: "data_failed",
45103
+ handler: onDataFailed
45104
+ }, {
45105
+ name: "loaded_images",
45106
+ handler: onLoadedImages
45107
+ }, {
45108
+ name: "DOMLoaded",
45109
+ handler: onDOMLoaded
45110
+ }, {
45111
+ name: "destroy",
45112
+ handler: onDestroy
45113
+ }];
45114
+ var listeners = partialListeners.filter(function (listener) {
45115
+ return listener.handler != null;
45116
+ });
45117
+ if (!listeners.length) {
45118
+ return;
45119
+ }
45120
+ var deregisterList = listeners.map(
45121
+ /**
45122
+ * Handle the process of adding an event listener
45123
+ * @param {Listener} listener
45124
+ * @return {Function} Function that deregister the listener
45125
+ */
45126
+ function (listener) {
45127
+ var _a;
45128
+ (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener(listener.name, listener.handler);
45129
+ // Return a function to deregister this listener
45130
+ return function () {
45131
+ var _a;
45132
+ (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener(listener.name, listener.handler);
45133
+ };
45134
+ });
45135
+ // Deregister listeners on unmount
45136
+ return function () {
45137
+ deregisterList.forEach(function (deregister) {
45138
+ return deregister();
45139
+ });
45140
+ };
45141
+ }, [onComplete, onLoopComplete, onEnterFrame, onSegmentStart, onConfigReady, onDataReady, onDataFailed, onLoadedImages, onDOMLoaded, onDestroy]);
45142
+ /**
45143
+ * Build the animation view
45144
+ */
45145
+ var View = /*#__PURE__*/React$1.createElement("div", _objectSpread2({
45146
+ style: style,
45147
+ ref: animationContainer
45148
+ }, rest));
45149
+ return {
45150
+ View: View,
45151
+ play: play,
45152
+ stop: stop,
45153
+ pause: pause,
45154
+ setSpeed: setSpeed,
45155
+ goToAndStop: goToAndStop,
45156
+ goToAndPlay: goToAndPlay,
45157
+ setDirection: setDirection,
45158
+ playSegments: playSegments,
45159
+ setSubframe: setSubframe,
45160
+ getDuration: getDuration,
45161
+ destroy: destroy,
45162
+ animationContainerRef: animationContainer,
45163
+ animationLoaded: animationLoaded,
45164
+ animationItem: animationInstanceRef.current
45165
+ };
45166
+ };
45167
+
45168
+ // helpers
45169
+ function getContainerVisibility(container) {
45170
+ var _container$getBoundin = container.getBoundingClientRect(),
45171
+ top = _container$getBoundin.top,
45172
+ height = _container$getBoundin.height;
45173
+ var current = window.innerHeight - top;
45174
+ var max = window.innerHeight + height;
45175
+ return current / max;
45176
+ }
45177
+ function getContainerCursorPosition(container, cursorX, cursorY) {
45178
+ var _container$getBoundin2 = container.getBoundingClientRect(),
45179
+ top = _container$getBoundin2.top,
45180
+ left = _container$getBoundin2.left,
45181
+ width = _container$getBoundin2.width,
45182
+ height = _container$getBoundin2.height;
45183
+ var x = (cursorX - left) / width;
45184
+ var y = (cursorY - top) / height;
45185
+ return {
45186
+ x: x,
45187
+ y: y
46835
45188
  };
45189
+ }
45190
+ var useInitInteractivity = function useInitInteractivity(_ref) {
45191
+ var wrapperRef = _ref.wrapperRef,
45192
+ animationItem = _ref.animationItem,
45193
+ mode = _ref.mode,
45194
+ actions = _ref.actions;
45195
+ useEffect(function () {
45196
+ var wrapper = wrapperRef.current;
45197
+ if (!wrapper || !animationItem || !actions.length) {
45198
+ return;
45199
+ }
45200
+ animationItem.stop();
45201
+ var scrollModeHandler = function scrollModeHandler() {
45202
+ var assignedSegment = null;
45203
+ var scrollHandler = function scrollHandler() {
45204
+ var currentPercent = getContainerVisibility(wrapper);
45205
+ // Find the first action that satisfies the current position conditions
45206
+ var action = actions.find(function (_ref2) {
45207
+ var visibility = _ref2.visibility;
45208
+ return visibility && currentPercent >= visibility[0] && currentPercent <= visibility[1];
45209
+ });
45210
+ // Skip if no matching action was found!
45211
+ if (!action) {
45212
+ return;
45213
+ }
45214
+ if (action.type === "seek" && action.visibility && action.frames.length === 2) {
45215
+ // Seek: Go to a frame based on player scroll position action
45216
+ var frameToGo = action.frames[0] + Math.ceil((currentPercent - action.visibility[0]) / (action.visibility[1] - action.visibility[0]) * action.frames[1]);
45217
+ //! goToAndStop must be relative to the start of the current segment
45218
+ animationItem.goToAndStop(frameToGo - animationItem.firstFrame - 1, true);
45219
+ }
45220
+ if (action.type === "loop") {
45221
+ // Loop: Loop a given frames
45222
+ if (assignedSegment === null) {
45223
+ // if not playing any segments currently. play those segments and save to state
45224
+ animationItem.playSegments(action.frames, true);
45225
+ assignedSegment = action.frames;
45226
+ } else {
45227
+ // if playing any segments currently.
45228
+ //check if segments in state are equal to the frames selected by action
45229
+ if (assignedSegment !== action.frames) {
45230
+ // if they are not equal. new segments are to be loaded
45231
+ animationItem.playSegments(action.frames, true);
45232
+ assignedSegment = action.frames;
45233
+ } else if (animationItem.isPaused) {
45234
+ // if they are equal the play method must be called only if lottie is paused
45235
+ animationItem.playSegments(action.frames, true);
45236
+ assignedSegment = action.frames;
45237
+ }
45238
+ }
45239
+ }
45240
+ if (action.type === "play" && animationItem.isPaused) {
45241
+ // Play: Reset segments and continue playing full animation from current position
45242
+ animationItem.resetSegments(true);
45243
+ animationItem.play();
45244
+ }
45245
+ if (action.type === "stop") {
45246
+ // Stop: Stop playback
45247
+ animationItem.goToAndStop(action.frames[0] - animationItem.firstFrame - 1, true);
45248
+ }
45249
+ };
45250
+ document.addEventListener("scroll", scrollHandler);
45251
+ return function () {
45252
+ document.removeEventListener("scroll", scrollHandler);
45253
+ };
45254
+ };
45255
+ var cursorModeHandler = function cursorModeHandler() {
45256
+ var handleCursor = function handleCursor(_x, _y) {
45257
+ var x = _x;
45258
+ var y = _y;
45259
+ // Resolve cursor position if cursor is inside container
45260
+ if (x !== -1 && y !== -1) {
45261
+ // Get container cursor position
45262
+ var pos = getContainerCursorPosition(wrapper, x, y);
45263
+ // Use the resolved position
45264
+ x = pos.x;
45265
+ y = pos.y;
45266
+ }
45267
+ // Find the first action that satisfies the current position conditions
45268
+ var action = actions.find(function (_ref3) {
45269
+ var position = _ref3.position;
45270
+ if (position && Array.isArray(position.x) && Array.isArray(position.y)) {
45271
+ return x >= position.x[0] && x <= position.x[1] && y >= position.y[0] && y <= position.y[1];
45272
+ }
45273
+ if (position && !Number.isNaN(position.x) && !Number.isNaN(position.y)) {
45274
+ return x === position.x && y === position.y;
45275
+ }
45276
+ return false;
45277
+ });
45278
+ // Skip if no matching action was found!
45279
+ if (!action) {
45280
+ return;
45281
+ }
45282
+ // Process action types:
45283
+ if (action.type === "seek" && action.position && Array.isArray(action.position.x) && Array.isArray(action.position.y) && action.frames.length === 2) {
45284
+ // Seek: Go to a frame based on player scroll position action
45285
+ var xPercent = (x - action.position.x[0]) / (action.position.x[1] - action.position.x[0]);
45286
+ var yPercent = (y - action.position.y[0]) / (action.position.y[1] - action.position.y[0]);
45287
+ animationItem.playSegments(action.frames, true);
45288
+ animationItem.goToAndStop(Math.ceil((xPercent + yPercent) / 2 * (action.frames[1] - action.frames[0])), true);
45289
+ }
45290
+ if (action.type === "loop") {
45291
+ animationItem.playSegments(action.frames, true);
45292
+ }
45293
+ if (action.type === "play") {
45294
+ // Play: Reset segments and continue playing full animation from current position
45295
+ if (animationItem.isPaused) {
45296
+ animationItem.resetSegments(false);
45297
+ }
45298
+ animationItem.playSegments(action.frames);
45299
+ }
45300
+ if (action.type === "stop") {
45301
+ animationItem.goToAndStop(action.frames[0], true);
45302
+ }
45303
+ };
45304
+ var mouseMoveHandler = function mouseMoveHandler(ev) {
45305
+ handleCursor(ev.clientX, ev.clientY);
45306
+ };
45307
+ var mouseOutHandler = function mouseOutHandler() {
45308
+ handleCursor(-1, -1);
45309
+ };
45310
+ wrapper.addEventListener("mousemove", mouseMoveHandler);
45311
+ wrapper.addEventListener("mouseout", mouseOutHandler);
45312
+ return function () {
45313
+ wrapper.removeEventListener("mousemove", mouseMoveHandler);
45314
+ wrapper.removeEventListener("mouseout", mouseOutHandler);
45315
+ };
45316
+ };
45317
+ switch (mode) {
45318
+ case "scroll":
45319
+ return scrollModeHandler();
45320
+ case "cursor":
45321
+ return cursorModeHandler();
45322
+ }
45323
+ // eslint-disable-next-line react-hooks/exhaustive-deps
45324
+ }, [mode, animationItem]);
45325
+ };
45326
+ var useLottieInteractivity = function useLottieInteractivity(_ref4) {
45327
+ var actions = _ref4.actions,
45328
+ mode = _ref4.mode,
45329
+ lottieObj = _ref4.lottieObj;
45330
+ var animationItem = lottieObj.animationItem,
45331
+ View = lottieObj.View,
45332
+ animationContainerRef = lottieObj.animationContainerRef;
45333
+ useInitInteractivity({
45334
+ actions: actions,
45335
+ animationItem: animationItem,
45336
+ mode: mode,
45337
+ wrapperRef: animationContainerRef
45338
+ });
45339
+ return View;
45340
+ };
45341
+ var _excluded = ["style", "interactivity"];
45342
+ var Lottie = function Lottie(props) {
45343
+ var _a, _b, _c;
45344
+ var style = props.style,
45345
+ interactivity = props.interactivity,
45346
+ lottieProps = _objectWithoutProperties(props, _excluded);
46836
45347
  /**
46837
- * Destroy animation
45348
+ * Initialize the 'useLottie' hook
46838
45349
  */
46839
- var destroy = function destroy() {
46840
- var _a;
46841
- (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
46842
- // Removing the reference to the animation so separate cleanups are skipped.
46843
- // Without it the internal `lottie-react` instance throws exceptions as it already cleared itself on destroy.
46844
- animationInstanceRef.current = undefined;
46845
- };
46846
- /*
46847
- ======================================
46848
- LOTTIE
46849
- ======================================
46850
- */
45350
+ var _useLottie = useLottie(lottieProps, style),
45351
+ View = _useLottie.View,
45352
+ play = _useLottie.play,
45353
+ stop = _useLottie.stop,
45354
+ pause = _useLottie.pause,
45355
+ setSpeed = _useLottie.setSpeed,
45356
+ goToAndStop = _useLottie.goToAndStop,
45357
+ goToAndPlay = _useLottie.goToAndPlay,
45358
+ setDirection = _useLottie.setDirection,
45359
+ playSegments = _useLottie.playSegments,
45360
+ setSubframe = _useLottie.setSubframe,
45361
+ getDuration = _useLottie.getDuration,
45362
+ destroy = _useLottie.destroy,
45363
+ animationContainerRef = _useLottie.animationContainerRef,
45364
+ animationLoaded = _useLottie.animationLoaded,
45365
+ animationItem = _useLottie.animationItem;
46851
45366
  /**
46852
- * Load a new animation, and if it's the case, destroy the previous one
46853
- * @param {Object} forcedConfigs
45367
+ * Make the hook variables/methods available through the provided 'lottieRef'
46854
45368
  */
46855
- var loadAnimation = function loadAnimation() {
46856
- var forcedConfigs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
46857
- var _a;
46858
- // Return if the container ref is null
46859
- if (!animationContainer.current) {
46860
- return;
45369
+ useEffect(function () {
45370
+ if (props.lottieRef) {
45371
+ props.lottieRef.current = {
45372
+ play: play,
45373
+ stop: stop,
45374
+ pause: pause,
45375
+ setSpeed: setSpeed,
45376
+ goToAndPlay: goToAndPlay,
45377
+ goToAndStop: goToAndStop,
45378
+ setDirection: setDirection,
45379
+ playSegments: playSegments,
45380
+ setSubframe: setSubframe,
45381
+ getDuration: getDuration,
45382
+ destroy: destroy,
45383
+ animationContainerRef: animationContainerRef,
45384
+ animationLoaded: animationLoaded,
45385
+ animationItem: animationItem
45386
+ };
45387
+ }
45388
+ // eslint-disable-next-line react-hooks/exhaustive-deps
45389
+ }, [(_a = props.lottieRef) === null || _a === void 0 ? void 0 : _a.current]);
45390
+ return useLottieInteractivity({
45391
+ lottieObj: {
45392
+ View: View,
45393
+ play: play,
45394
+ stop: stop,
45395
+ pause: pause,
45396
+ setSpeed: setSpeed,
45397
+ goToAndStop: goToAndStop,
45398
+ goToAndPlay: goToAndPlay,
45399
+ setDirection: setDirection,
45400
+ playSegments: playSegments,
45401
+ setSubframe: setSubframe,
45402
+ getDuration: getDuration,
45403
+ destroy: destroy,
45404
+ animationContainerRef: animationContainerRef,
45405
+ animationLoaded: animationLoaded,
45406
+ animationItem: animationItem
45407
+ },
45408
+ actions: (_b = interactivity === null || interactivity === void 0 ? void 0 : interactivity.actions) !== null && _b !== void 0 ? _b : [],
45409
+ mode: (_c = interactivity === null || interactivity === void 0 ? void 0 : interactivity.mode) !== null && _c !== void 0 ? _c : "scroll"
45410
+ });
45411
+ };
45412
+
45413
+ var nm$1 = "calendar_lottie";
45414
+ var ddd$1 = 0;
45415
+ var h$1 = 16;
45416
+ var w$1 = 16;
45417
+ var meta = {
45418
+ a: "Sadjad",
45419
+ k: "calendar icon",
45420
+ d: "calendar icon for you designed, enjoy",
45421
+ g: "LottieFiles AE 0.1.20"
45422
+ };
45423
+ var layers$1 = [
45424
+ {
45425
+ ty: 3,
45426
+ nm: "Null 1",
45427
+ sr: 1,
45428
+ st: 0,
45429
+ op: 241,
45430
+ ip: 0,
45431
+ hd: false,
45432
+ ddd: 0,
45433
+ bm: 0,
45434
+ hasMask: false,
45435
+ ao: 0,
45436
+ ks: {
45437
+ a: {
45438
+ a: 0,
45439
+ k: [
45440
+ 0,
45441
+ 50,
45442
+ 0
45443
+ ],
45444
+ ix: 1
45445
+ },
45446
+ s: {
45447
+ a: 1,
45448
+ k: [
45449
+ {
45450
+ o: {
45451
+ x: 0.89,
45452
+ y: 0
45453
+ },
45454
+ i: {
45455
+ x: 0.11,
45456
+ y: 1
45457
+ },
45458
+ s: [
45459
+ 6.4,
45460
+ 6.4,
45461
+ 100
45462
+ ],
45463
+ t: 8
45464
+ },
45465
+ {
45466
+ o: {
45467
+ x: 0.89,
45468
+ y: 0
45469
+ },
45470
+ i: {
45471
+ x: 0.11,
45472
+ y: 1
45473
+ },
45474
+ s: [
45475
+ 5.12,
45476
+ 5.12,
45477
+ 100
45478
+ ],
45479
+ t: 14
45480
+ },
45481
+ {
45482
+ o: {
45483
+ x: 0.89,
45484
+ y: 0
45485
+ },
45486
+ i: {
45487
+ x: 0.11,
45488
+ y: 1
45489
+ },
45490
+ s: [
45491
+ 5.12,
45492
+ 5.12,
45493
+ 100
45494
+ ],
45495
+ t: 31
45496
+ },
45497
+ {
45498
+ s: [
45499
+ 6.4,
45500
+ 6.4,
45501
+ 100
45502
+ ],
45503
+ t: 36
45504
+ }
45505
+ ],
45506
+ ix: 6
45507
+ },
45508
+ sk: {
45509
+ a: 0,
45510
+ k: 0
45511
+ },
45512
+ p: {
45513
+ a: 0,
45514
+ k: [
45515
+ 8,
45516
+ 11.2,
45517
+ 0
45518
+ ],
45519
+ ix: 2
45520
+ },
45521
+ r: {
45522
+ a: 0,
45523
+ k: 0,
45524
+ ix: 10
45525
+ },
45526
+ sa: {
45527
+ a: 0,
45528
+ k: 0
45529
+ },
45530
+ o: {
45531
+ a: 0,
45532
+ k: 0,
45533
+ ix: 11
45534
+ }
45535
+ },
45536
+ ef: [
45537
+ ],
45538
+ ind: 1
45539
+ },
45540
+ {
45541
+ ty: 4,
45542
+ nm: "pin Outlines",
45543
+ sr: 1,
45544
+ st: 0,
45545
+ op: 241,
45546
+ ip: 0,
45547
+ hd: false,
45548
+ ddd: 0,
45549
+ bm: 0,
45550
+ hasMask: false,
45551
+ ao: 0,
45552
+ ks: {
45553
+ a: {
45554
+ a: 0,
45555
+ k: [
45556
+ 39.833,
45557
+ 23.166,
45558
+ 0
45559
+ ],
45560
+ ix: 1
45561
+ },
45562
+ s: {
45563
+ a: 0,
45564
+ k: [
45565
+ 100,
45566
+ 100,
45567
+ 100
45568
+ ],
45569
+ ix: 6
45570
+ },
45571
+ sk: {
45572
+ a: 0,
45573
+ k: 0
45574
+ },
45575
+ p: {
45576
+ a: 0,
45577
+ k: [
45578
+ 0,
45579
+ -66.667,
45580
+ 0
45581
+ ],
45582
+ ix: 2
45583
+ },
45584
+ r: {
45585
+ a: 0,
45586
+ k: 0,
45587
+ ix: 10
45588
+ },
45589
+ sa: {
45590
+ a: 0,
45591
+ k: 0
45592
+ },
45593
+ o: {
45594
+ a: 0,
45595
+ k: 100,
45596
+ ix: 11
45597
+ }
45598
+ },
45599
+ ef: [
45600
+ ],
45601
+ shapes: [
45602
+ {
45603
+ ty: "gr",
45604
+ bm: 0,
45605
+ hd: false,
45606
+ mn: "ADBE Vector Group",
45607
+ nm: "Group 1",
45608
+ ix: 1,
45609
+ cix: 2,
45610
+ np: 2,
45611
+ it: [
45612
+ {
45613
+ ty: "sh",
45614
+ bm: 0,
45615
+ hd: false,
45616
+ mn: "ADBE Vector Shape - Group",
45617
+ nm: "Path 1",
45618
+ ix: 1,
45619
+ d: 1,
45620
+ ks: {
45621
+ a: 0,
45622
+ k: {
45623
+ c: false,
45624
+ i: [
45625
+ [
45626
+ 0,
45627
+ 0
45628
+ ],
45629
+ [
45630
+ 0,
45631
+ 0
45632
+ ]
45633
+ ],
45634
+ o: [
45635
+ [
45636
+ 0,
45637
+ 0
45638
+ ],
45639
+ [
45640
+ 0,
45641
+ 0
45642
+ ]
45643
+ ],
45644
+ v: [
45645
+ [
45646
+ 73.166,
45647
+ 6.5
45648
+ ],
45649
+ [
45650
+ 73.166,
45651
+ 39.833
45652
+ ]
45653
+ ]
45654
+ },
45655
+ ix: 2
45656
+ }
45657
+ },
45658
+ {
45659
+ ty: "st",
45660
+ bm: 0,
45661
+ hd: false,
45662
+ mn: "ADBE Vector Graphic - Stroke",
45663
+ nm: "Stroke 1",
45664
+ lc: 2,
45665
+ lj: 2,
45666
+ ml: 1,
45667
+ o: {
45668
+ a: 0,
45669
+ k: 100,
45670
+ ix: 4
45671
+ },
45672
+ w: {
45673
+ a: 0,
45674
+ k: 13,
45675
+ ix: 5
45676
+ },
45677
+ c: {
45678
+ a: 0,
45679
+ k: [
45680
+ 0.0235,
45681
+ 0.4039,
45682
+ 0.4078
45683
+ ],
45684
+ ix: 3
45685
+ }
45686
+ },
45687
+ {
45688
+ ty: "tr",
45689
+ a: {
45690
+ a: 0,
45691
+ k: [
45692
+ 0,
45693
+ 0
45694
+ ],
45695
+ ix: 1
45696
+ },
45697
+ s: {
45698
+ a: 0,
45699
+ k: [
45700
+ 100,
45701
+ 100
45702
+ ],
45703
+ ix: 3
45704
+ },
45705
+ sk: {
45706
+ a: 0,
45707
+ k: 0,
45708
+ ix: 4
45709
+ },
45710
+ p: {
45711
+ a: 0,
45712
+ k: [
45713
+ 0,
45714
+ 0
45715
+ ],
45716
+ ix: 2
45717
+ },
45718
+ r: {
45719
+ a: 0,
45720
+ k: 0,
45721
+ ix: 6
45722
+ },
45723
+ sa: {
45724
+ a: 0,
45725
+ k: 0,
45726
+ ix: 5
45727
+ },
45728
+ o: {
45729
+ a: 0,
45730
+ k: 100,
45731
+ ix: 7
45732
+ }
45733
+ }
45734
+ ]
45735
+ },
45736
+ {
45737
+ ty: "gr",
45738
+ bm: 0,
45739
+ hd: false,
45740
+ mn: "ADBE Vector Group",
45741
+ nm: "Group 2",
45742
+ ix: 2,
45743
+ cix: 2,
45744
+ np: 2,
45745
+ it: [
45746
+ {
45747
+ ty: "sh",
45748
+ bm: 0,
45749
+ hd: false,
45750
+ mn: "ADBE Vector Shape - Group",
45751
+ nm: "Path 1",
45752
+ ix: 1,
45753
+ d: 1,
45754
+ ks: {
45755
+ a: 0,
45756
+ k: {
45757
+ c: false,
45758
+ i: [
45759
+ [
45760
+ 0,
45761
+ 0
45762
+ ],
45763
+ [
45764
+ 0,
45765
+ 0
45766
+ ]
45767
+ ],
45768
+ o: [
45769
+ [
45770
+ 0,
45771
+ 0
45772
+ ],
45773
+ [
45774
+ 0,
45775
+ 0
45776
+ ]
45777
+ ],
45778
+ v: [
45779
+ [
45780
+ 6.5,
45781
+ 6.5
45782
+ ],
45783
+ [
45784
+ 6.5,
45785
+ 39.833
45786
+ ]
45787
+ ]
45788
+ },
45789
+ ix: 2
45790
+ }
45791
+ },
45792
+ {
45793
+ ty: "st",
45794
+ bm: 0,
45795
+ hd: false,
45796
+ mn: "ADBE Vector Graphic - Stroke",
45797
+ nm: "Stroke 1",
45798
+ lc: 2,
45799
+ lj: 2,
45800
+ ml: 1,
45801
+ o: {
45802
+ a: 0,
45803
+ k: 100,
45804
+ ix: 4
45805
+ },
45806
+ w: {
45807
+ a: 0,
45808
+ k: 13,
45809
+ ix: 5
45810
+ },
45811
+ c: {
45812
+ a: 0,
45813
+ k: [
45814
+ 0.0235,
45815
+ 0.4039,
45816
+ 0.4078
45817
+ ],
45818
+ ix: 3
45819
+ }
45820
+ },
45821
+ {
45822
+ ty: "tr",
45823
+ a: {
45824
+ a: 0,
45825
+ k: [
45826
+ 0,
45827
+ 0
45828
+ ],
45829
+ ix: 1
45830
+ },
45831
+ s: {
45832
+ a: 0,
45833
+ k: [
45834
+ 100,
45835
+ 100
45836
+ ],
45837
+ ix: 3
45838
+ },
45839
+ sk: {
45840
+ a: 0,
45841
+ k: 0,
45842
+ ix: 4
45843
+ },
45844
+ p: {
45845
+ a: 0,
45846
+ k: [
45847
+ 0,
45848
+ 0
45849
+ ],
45850
+ ix: 2
45851
+ },
45852
+ r: {
45853
+ a: 0,
45854
+ k: 0,
45855
+ ix: 6
45856
+ },
45857
+ sa: {
45858
+ a: 0,
45859
+ k: 0,
45860
+ ix: 5
45861
+ },
45862
+ o: {
45863
+ a: 0,
45864
+ k: 100,
45865
+ ix: 7
45866
+ }
45867
+ }
45868
+ ]
45869
+ }
45870
+ ],
45871
+ ind: 2,
45872
+ parent: 1
45873
+ },
45874
+ {
45875
+ ty: 4,
45876
+ nm: "line Outlines",
45877
+ sr: 1,
45878
+ st: 0,
45879
+ op: 241,
45880
+ ip: 0,
45881
+ hd: false,
45882
+ ddd: 0,
45883
+ bm: 0,
45884
+ hasMask: false,
45885
+ ao: 0,
45886
+ ks: {
45887
+ a: {
45888
+ a: 0,
45889
+ k: [
45890
+ 81.5,
45891
+ 6.5,
45892
+ 0
45893
+ ],
45894
+ ix: 1
45895
+ },
45896
+ s: {
45897
+ a: 0,
45898
+ k: [
45899
+ 100,
45900
+ 100,
45901
+ 100
45902
+ ],
45903
+ ix: 6
45904
+ },
45905
+ sk: {
45906
+ a: 0,
45907
+ k: 0
45908
+ },
45909
+ p: {
45910
+ a: 1,
45911
+ k: [
45912
+ {
45913
+ o: {
45914
+ x: 0.66,
45915
+ y: 0
45916
+ },
45917
+ i: {
45918
+ x: 0.34,
45919
+ y: 1
45920
+ },
45921
+ s: [
45922
+ 0,
45923
+ -16.667,
45924
+ 0
45925
+ ],
45926
+ t: 8,
45927
+ ti: [
45928
+ 0,
45929
+ 8.333,
45930
+ 0
45931
+ ],
45932
+ to: [
45933
+ 0,
45934
+ -14.667,
45935
+ 0
45936
+ ]
45937
+ },
45938
+ {
45939
+ o: {
45940
+ x: 0.66,
45941
+ y: 0
45942
+ },
45943
+ i: {
45944
+ x: 0.34,
45945
+ y: 1
45946
+ },
45947
+ s: [
45948
+ 0,
45949
+ -104.667,
45950
+ 0
45951
+ ],
45952
+ t: 23,
45953
+ ti: [
45954
+ 0,
45955
+ -6.333,
45956
+ 0
45957
+ ],
45958
+ to: [
45959
+ 0,
45960
+ -8.333,
45961
+ 0
45962
+ ]
45963
+ },
45964
+ {
45965
+ s: [
45966
+ 0,
45967
+ -66.667,
45968
+ 0
45969
+ ],
45970
+ t: 36
45971
+ }
45972
+ ],
45973
+ ix: 2
45974
+ },
45975
+ r: {
45976
+ a: 0,
45977
+ k: 0,
45978
+ ix: 10
45979
+ },
45980
+ sa: {
45981
+ a: 0,
45982
+ k: 0
45983
+ },
45984
+ o: {
45985
+ a: 0,
45986
+ k: 100,
45987
+ ix: 11
45988
+ }
45989
+ },
45990
+ ef: [
45991
+ ],
45992
+ shapes: [
45993
+ {
45994
+ ty: "gr",
45995
+ bm: 0,
45996
+ hd: false,
45997
+ mn: "ADBE Vector Group",
45998
+ nm: "Group 1",
45999
+ ix: 1,
46000
+ cix: 2,
46001
+ np: 2,
46002
+ it: [
46003
+ {
46004
+ ty: "sh",
46005
+ bm: 0,
46006
+ hd: false,
46007
+ mn: "ADBE Vector Shape - Group",
46008
+ nm: "Path 1",
46009
+ ix: 1,
46010
+ d: 1,
46011
+ ks: {
46012
+ a: 1,
46013
+ k: [
46014
+ {
46015
+ o: {
46016
+ x: 0.66,
46017
+ y: 0
46018
+ },
46019
+ i: {
46020
+ x: 0.34,
46021
+ y: 1
46022
+ },
46023
+ s: [
46024
+ {
46025
+ c: false,
46026
+ i: [
46027
+ [
46028
+ 0,
46029
+ 0
46030
+ ],
46031
+ [
46032
+ 0,
46033
+ 0
46034
+ ]
46035
+ ],
46036
+ o: [
46037
+ [
46038
+ 0,
46039
+ 0
46040
+ ],
46041
+ [
46042
+ 0,
46043
+ 0
46044
+ ]
46045
+ ],
46046
+ v: [
46047
+ [
46048
+ 6.5,
46049
+ 6.5
46050
+ ],
46051
+ [
46052
+ 156.5,
46053
+ 6.5
46054
+ ]
46055
+ ]
46056
+ }
46057
+ ],
46058
+ t: 8
46059
+ },
46060
+ {
46061
+ o: {
46062
+ x: 0.66,
46063
+ y: 0
46064
+ },
46065
+ i: {
46066
+ x: 0.34,
46067
+ y: 1
46068
+ },
46069
+ s: [
46070
+ {
46071
+ c: false,
46072
+ i: [
46073
+ [
46074
+ 0,
46075
+ 0
46076
+ ],
46077
+ [
46078
+ 0,
46079
+ 0
46080
+ ]
46081
+ ],
46082
+ o: [
46083
+ [
46084
+ 0,
46085
+ 0
46086
+ ],
46087
+ [
46088
+ 0,
46089
+ 0
46090
+ ]
46091
+ ],
46092
+ v: [
46093
+ [
46094
+ 6.5,
46095
+ 6.5
46096
+ ],
46097
+ [
46098
+ 156.5,
46099
+ 6.5
46100
+ ]
46101
+ ]
46102
+ }
46103
+ ],
46104
+ t: 30
46105
+ },
46106
+ {
46107
+ s: [
46108
+ {
46109
+ c: false,
46110
+ i: [
46111
+ [
46112
+ 0,
46113
+ 0
46114
+ ],
46115
+ [
46116
+ 0,
46117
+ 0
46118
+ ]
46119
+ ],
46120
+ o: [
46121
+ [
46122
+ 0,
46123
+ 0
46124
+ ],
46125
+ [
46126
+ 0,
46127
+ 0
46128
+ ]
46129
+ ],
46130
+ v: [
46131
+ [
46132
+ 20.5,
46133
+ 6.583
46134
+ ],
46135
+ [
46136
+ 141,
46137
+ 6.583
46138
+ ]
46139
+ ]
46140
+ }
46141
+ ],
46142
+ t: 36
46143
+ }
46144
+ ],
46145
+ ix: 2
46146
+ }
46147
+ },
46148
+ {
46149
+ ty: "st",
46150
+ bm: 0,
46151
+ hd: false,
46152
+ mn: "ADBE Vector Graphic - Stroke",
46153
+ nm: "Stroke 1",
46154
+ lc: 2,
46155
+ lj: 2,
46156
+ ml: 1,
46157
+ o: {
46158
+ a: 0,
46159
+ k: 100,
46160
+ ix: 4
46161
+ },
46162
+ w: {
46163
+ a: 0,
46164
+ k: 13,
46165
+ ix: 5
46166
+ },
46167
+ c: {
46168
+ a: 0,
46169
+ k: [
46170
+ 0.0235,
46171
+ 0.4039,
46172
+ 0.4078
46173
+ ],
46174
+ ix: 3
46175
+ }
46176
+ },
46177
+ {
46178
+ ty: "tr",
46179
+ a: {
46180
+ a: 0,
46181
+ k: [
46182
+ 0,
46183
+ 0
46184
+ ],
46185
+ ix: 1
46186
+ },
46187
+ s: {
46188
+ a: 0,
46189
+ k: [
46190
+ 100,
46191
+ 100
46192
+ ],
46193
+ ix: 3
46194
+ },
46195
+ sk: {
46196
+ a: 0,
46197
+ k: 0,
46198
+ ix: 4
46199
+ },
46200
+ p: {
46201
+ a: 0,
46202
+ k: [
46203
+ 0,
46204
+ 0
46205
+ ],
46206
+ ix: 2
46207
+ },
46208
+ r: {
46209
+ a: 0,
46210
+ k: 0,
46211
+ ix: 6
46212
+ },
46213
+ sa: {
46214
+ a: 0,
46215
+ k: 0,
46216
+ ix: 5
46217
+ },
46218
+ o: {
46219
+ a: 0,
46220
+ k: 100,
46221
+ ix: 7
46222
+ }
46223
+ }
46224
+ ]
46225
+ }
46226
+ ],
46227
+ ind: 3,
46228
+ parent: 1
46229
+ },
46230
+ {
46231
+ ty: 4,
46232
+ nm: "line Outlines 2",
46233
+ sr: 1,
46234
+ st: 0,
46235
+ op: 241,
46236
+ ip: 0,
46237
+ hd: false,
46238
+ ddd: 0,
46239
+ bm: 0,
46240
+ hasMask: false,
46241
+ ao: 0,
46242
+ ks: {
46243
+ a: {
46244
+ a: 0,
46245
+ k: [
46246
+ 81.5,
46247
+ 6.5,
46248
+ 0
46249
+ ],
46250
+ ix: 1
46251
+ },
46252
+ s: {
46253
+ a: 0,
46254
+ k: [
46255
+ 100,
46256
+ 100,
46257
+ 100
46258
+ ],
46259
+ ix: 6
46260
+ },
46261
+ sk: {
46262
+ a: 0,
46263
+ k: 0
46264
+ },
46265
+ p: {
46266
+ a: 0,
46267
+ k: [
46268
+ 0,
46269
+ -16.667,
46270
+ 0
46271
+ ],
46272
+ ix: 2
46273
+ },
46274
+ r: {
46275
+ a: 0,
46276
+ k: 0,
46277
+ ix: 10
46278
+ },
46279
+ sa: {
46280
+ a: 0,
46281
+ k: 0
46282
+ },
46283
+ o: {
46284
+ a: 1,
46285
+ k: [
46286
+ {
46287
+ o: {
46288
+ x: 0.167,
46289
+ y: 0.167
46290
+ },
46291
+ i: {
46292
+ x: 0.833,
46293
+ y: 0.833
46294
+ },
46295
+ s: [
46296
+ 0
46297
+ ],
46298
+ t: 14
46299
+ },
46300
+ {
46301
+ s: [
46302
+ 100
46303
+ ],
46304
+ t: 15
46305
+ }
46306
+ ],
46307
+ ix: 11
46308
+ }
46309
+ },
46310
+ ef: [
46311
+ ],
46312
+ shapes: [
46313
+ {
46314
+ ty: "gr",
46315
+ bm: 0,
46316
+ hd: false,
46317
+ mn: "ADBE Vector Group",
46318
+ nm: "Group 1",
46319
+ ix: 1,
46320
+ cix: 2,
46321
+ np: 2,
46322
+ it: [
46323
+ {
46324
+ ty: "sh",
46325
+ bm: 0,
46326
+ hd: false,
46327
+ mn: "ADBE Vector Shape - Group",
46328
+ nm: "Path 1",
46329
+ ix: 1,
46330
+ d: 1,
46331
+ ks: {
46332
+ a: 0,
46333
+ k: {
46334
+ c: false,
46335
+ i: [
46336
+ [
46337
+ 0,
46338
+ 0
46339
+ ],
46340
+ [
46341
+ 0,
46342
+ 0
46343
+ ]
46344
+ ],
46345
+ o: [
46346
+ [
46347
+ 0,
46348
+ 0
46349
+ ],
46350
+ [
46351
+ 0,
46352
+ 0
46353
+ ]
46354
+ ],
46355
+ v: [
46356
+ [
46357
+ 6.5,
46358
+ 6.5
46359
+ ],
46360
+ [
46361
+ 156.5,
46362
+ 6.5
46363
+ ]
46364
+ ]
46365
+ },
46366
+ ix: 2
46367
+ }
46368
+ },
46369
+ {
46370
+ ty: "st",
46371
+ bm: 0,
46372
+ hd: false,
46373
+ mn: "ADBE Vector Graphic - Stroke",
46374
+ nm: "Stroke 1",
46375
+ lc: 2,
46376
+ lj: 2,
46377
+ ml: 1,
46378
+ o: {
46379
+ a: 0,
46380
+ k: 100,
46381
+ ix: 4
46382
+ },
46383
+ w: {
46384
+ a: 0,
46385
+ k: 13,
46386
+ ix: 5
46387
+ },
46388
+ c: {
46389
+ a: 0,
46390
+ k: [
46391
+ 0.0235,
46392
+ 0.4039,
46393
+ 0.4078
46394
+ ],
46395
+ ix: 3
46396
+ }
46397
+ },
46398
+ {
46399
+ ty: "tr",
46400
+ a: {
46401
+ a: 0,
46402
+ k: [
46403
+ 0,
46404
+ 0
46405
+ ],
46406
+ ix: 1
46407
+ },
46408
+ s: {
46409
+ a: 0,
46410
+ k: [
46411
+ 100,
46412
+ 100
46413
+ ],
46414
+ ix: 3
46415
+ },
46416
+ sk: {
46417
+ a: 0,
46418
+ k: 0,
46419
+ ix: 4
46420
+ },
46421
+ p: {
46422
+ a: 0,
46423
+ k: [
46424
+ 0,
46425
+ 0
46426
+ ],
46427
+ ix: 2
46428
+ },
46429
+ r: {
46430
+ a: 0,
46431
+ k: 0,
46432
+ ix: 6
46433
+ },
46434
+ sa: {
46435
+ a: 0,
46436
+ k: 0,
46437
+ ix: 5
46438
+ },
46439
+ o: {
46440
+ a: 0,
46441
+ k: 100,
46442
+ ix: 7
46443
+ }
46444
+ }
46445
+ ]
46446
+ }
46447
+ ],
46448
+ ind: 4,
46449
+ parent: 1
46450
+ },
46451
+ {
46452
+ ty: 4,
46453
+ nm: "page02 Outlines",
46454
+ sr: 1,
46455
+ st: 0,
46456
+ op: 70,
46457
+ ip: 0,
46458
+ hd: false,
46459
+ ddd: 0,
46460
+ bm: 0,
46461
+ hasMask: false,
46462
+ ao: 0,
46463
+ ks: {
46464
+ a: {
46465
+ a: 0,
46466
+ k: [
46467
+ 88,
46468
+ 13,
46469
+ 0
46470
+ ],
46471
+ ix: 1
46472
+ },
46473
+ s: {
46474
+ a: 0,
46475
+ k: [
46476
+ 100,
46477
+ 100,
46478
+ 100
46479
+ ],
46480
+ ix: 6
46481
+ },
46482
+ sk: {
46483
+ a: 0,
46484
+ k: 0
46485
+ },
46486
+ p: {
46487
+ a: 0,
46488
+ k: [
46489
+ -0.001,
46490
+ -66.667,
46491
+ 0
46492
+ ],
46493
+ ix: 2
46494
+ },
46495
+ r: {
46496
+ a: 0,
46497
+ k: 180,
46498
+ ix: 10
46499
+ },
46500
+ sa: {
46501
+ a: 0,
46502
+ k: 0
46503
+ },
46504
+ o: {
46505
+ a: 0,
46506
+ k: 100,
46507
+ ix: 11
46508
+ }
46509
+ },
46510
+ ef: [
46511
+ ],
46512
+ shapes: [
46513
+ {
46514
+ ty: "gr",
46515
+ bm: 0,
46516
+ hd: false,
46517
+ mn: "ADBE Vector Group",
46518
+ nm: "Group 1",
46519
+ ix: 1,
46520
+ cix: 2,
46521
+ np: 2,
46522
+ it: [
46523
+ {
46524
+ ty: "sh",
46525
+ bm: 0,
46526
+ hd: false,
46527
+ mn: "ADBE Vector Shape - Group",
46528
+ nm: "Path 1",
46529
+ ix: 1,
46530
+ d: 1,
46531
+ ks: {
46532
+ a: 1,
46533
+ k: [
46534
+ {
46535
+ o: {
46536
+ x: 0.66,
46537
+ y: 0
46538
+ },
46539
+ i: {
46540
+ x: 0.34,
46541
+ y: 1
46542
+ },
46543
+ s: [
46544
+ {
46545
+ c: true,
46546
+ i: [
46547
+ [
46548
+ -9.205,
46549
+ 0
46550
+ ],
46551
+ [
46552
+ 0,
46553
+ 0
46554
+ ],
46555
+ [
46556
+ 0.499,
46557
+ 12.166
46558
+ ],
46559
+ [
46560
+ 0,
46561
+ 0
46562
+ ],
46563
+ [
46564
+ 9.205,
46565
+ 0
46566
+ ],
46567
+ [
46568
+ 0,
46569
+ 0
46570
+ ],
46571
+ [
46572
+ -0.673,
46573
+ -8
46574
+ ],
46575
+ [
46576
+ 0,
46577
+ 0
46578
+ ]
46579
+ ],
46580
+ o: [
46581
+ [
46582
+ 0,
46583
+ 0
46584
+ ],
46585
+ [
46586
+ 9.205,
46587
+ 0
46588
+ ],
46589
+ [
46590
+ 0,
46591
+ 0
46592
+ ],
46593
+ [
46594
+ -0.673,
46595
+ -6
46596
+ ],
46597
+ [
46598
+ 0,
46599
+ 0
46600
+ ],
46601
+ [
46602
+ -9.205,
46603
+ 0
46604
+ ],
46605
+ [
46606
+ 0,
46607
+ 0
46608
+ ],
46609
+ [
46610
+ -0.001,
46611
+ 13.166
46612
+ ]
46613
+ ],
46614
+ v: [
46615
+ [
46616
+ -58.333,
46617
+ -75
46618
+ ],
46619
+ [
46620
+ 58.334,
46621
+ -75
46622
+ ],
46623
+ [
46624
+ 75.001,
46625
+ -89.833
46626
+ ],
46627
+ [
46628
+ 75.173,
46629
+ -210.167
46630
+ ],
46631
+ [
46632
+ 58.514,
46633
+ -225
46634
+ ],
46635
+ [
46636
+ -58.32,
46637
+ -225
46638
+ ],
46639
+ [
46640
+ -74.827,
46641
+ -210.167
46642
+ ],
46643
+ [
46644
+ -74.999,
46645
+ -92.833
46646
+ ]
46647
+ ]
46648
+ }
46649
+ ],
46650
+ t: 8
46651
+ },
46652
+ {
46653
+ o: {
46654
+ x: 0.66,
46655
+ y: 0
46656
+ },
46657
+ i: {
46658
+ x: 0.34,
46659
+ y: 1
46660
+ },
46661
+ s: [
46662
+ {
46663
+ c: true,
46664
+ i: [
46665
+ [
46666
+ -9.205,
46667
+ 0
46668
+ ],
46669
+ [
46670
+ 0,
46671
+ 0
46672
+ ],
46673
+ [
46674
+ 0,
46675
+ -9.205
46676
+ ],
46677
+ [
46678
+ 0,
46679
+ 0
46680
+ ],
46681
+ [
46682
+ 9.205,
46683
+ 0
46684
+ ],
46685
+ [
46686
+ 0,
46687
+ 0
46688
+ ],
46689
+ [
46690
+ 0,
46691
+ 9.205
46692
+ ],
46693
+ [
46694
+ 0,
46695
+ 0
46696
+ ]
46697
+ ],
46698
+ o: [
46699
+ [
46700
+ 0,
46701
+ 0
46702
+ ],
46703
+ [
46704
+ 9.205,
46705
+ 0
46706
+ ],
46707
+ [
46708
+ 0,
46709
+ 0
46710
+ ],
46711
+ [
46712
+ 0,
46713
+ 9.205
46714
+ ],
46715
+ [
46716
+ 0,
46717
+ 0
46718
+ ],
46719
+ [
46720
+ -9.205,
46721
+ 0
46722
+ ],
46723
+ [
46724
+ 0,
46725
+ 0
46726
+ ],
46727
+ [
46728
+ 0,
46729
+ -9.205
46730
+ ]
46731
+ ],
46732
+ v: [
46733
+ [
46734
+ -58.333,
46735
+ -75
46736
+ ],
46737
+ [
46738
+ 58.334,
46739
+ -75
46740
+ ],
46741
+ [
46742
+ 75,
46743
+ -58.333
46744
+ ],
46745
+ [
46746
+ 74.754,
46747
+ -11.417
46748
+ ],
46749
+ [
46750
+ 58.088,
46751
+ 5.25
46752
+ ],
46753
+ [
46754
+ -58.579,
46755
+ 5.25
46756
+ ],
46757
+ [
46758
+ -75.246,
46759
+ -11.417
46760
+ ],
46761
+ [
46762
+ -75,
46763
+ -58.333
46764
+ ]
46765
+ ]
46766
+ }
46767
+ ],
46768
+ t: 23
46769
+ },
46770
+ {
46771
+ s: [
46772
+ {
46773
+ c: true,
46774
+ i: [
46775
+ [
46776
+ -9.205,
46777
+ 0
46778
+ ],
46779
+ [
46780
+ 0,
46781
+ 0
46782
+ ],
46783
+ [
46784
+ -1.001,
46785
+ 7.166
46786
+ ],
46787
+ [
46788
+ 0,
46789
+ 0
46790
+ ],
46791
+ [
46792
+ 11.663,
46793
+ -0.292
46794
+ ],
46795
+ [
46796
+ 0,
46797
+ 0
46798
+ ],
46799
+ [
46800
+ 0.119,
46801
+ 14.876
46802
+ ],
46803
+ [
46804
+ 0,
46805
+ 0
46806
+ ]
46807
+ ],
46808
+ o: [
46809
+ [
46810
+ 0,
46811
+ 0
46812
+ ],
46813
+ [
46814
+ 8.29,
46815
+ -0.667
46816
+ ],
46817
+ [
46818
+ 0,
46819
+ 0
46820
+ ],
46821
+ [
46822
+ -0.003,
46823
+ 12.251
46824
+ ],
46825
+ [
46826
+ 0,
46827
+ 0
46828
+ ],
46829
+ [
46830
+ -13.295,
46831
+ -1.792
46832
+ ],
46833
+ [
46834
+ 0,
46835
+ 0
46836
+ ],
46837
+ [
46838
+ 0.996,
46839
+ 5.541
46840
+ ]
46841
+ ],
46842
+ v: [
46843
+ [
46844
+ -58.333,
46845
+ -75
46846
+ ],
46847
+ [
46848
+ 58.334,
46849
+ -75
46850
+ ],
46851
+ [
46852
+ 73.876,
46853
+ -88.333
46854
+ ],
46855
+ [
46856
+ 74.503,
46857
+ -91.667
46858
+ ],
46859
+ [
46860
+ 57.837,
46861
+ -75
46862
+ ],
46863
+ [
46864
+ -58.83,
46865
+ -75
46866
+ ],
46867
+ [
46868
+ -75.494,
46869
+ -96.167
46870
+ ],
46871
+ [
46872
+ -74.621,
46873
+ -86.333
46874
+ ]
46875
+ ]
46876
+ }
46877
+ ],
46878
+ t: 36
46879
+ }
46880
+ ],
46881
+ ix: 2
46882
+ }
46883
+ },
46884
+ {
46885
+ ty: "st",
46886
+ bm: 0,
46887
+ hd: false,
46888
+ mn: "ADBE Vector Graphic - Stroke",
46889
+ nm: "Stroke 1",
46890
+ lc: 2,
46891
+ lj: 2,
46892
+ ml: 1,
46893
+ o: {
46894
+ a: 0,
46895
+ k: 100,
46896
+ ix: 4
46897
+ },
46898
+ w: {
46899
+ a: 0,
46900
+ k: 13,
46901
+ ix: 5
46902
+ },
46903
+ c: {
46904
+ a: 0,
46905
+ k: [
46906
+ 0.0235,
46907
+ 0.4039,
46908
+ 0.4078
46909
+ ],
46910
+ ix: 3
46911
+ }
46912
+ },
46913
+ {
46914
+ ty: "tr",
46915
+ a: {
46916
+ a: 0,
46917
+ k: [
46918
+ 0,
46919
+ 0
46920
+ ],
46921
+ ix: 1
46922
+ },
46923
+ s: {
46924
+ a: 0,
46925
+ k: [
46926
+ 100,
46927
+ 100
46928
+ ],
46929
+ ix: 3
46930
+ },
46931
+ sk: {
46932
+ a: 0,
46933
+ k: 0,
46934
+ ix: 4
46935
+ },
46936
+ p: {
46937
+ a: 0,
46938
+ k: [
46939
+ 88,
46940
+ 88
46941
+ ],
46942
+ ix: 2
46943
+ },
46944
+ r: {
46945
+ a: 0,
46946
+ k: 0,
46947
+ ix: 6
46948
+ },
46949
+ sa: {
46950
+ a: 0,
46951
+ k: 0,
46952
+ ix: 5
46953
+ },
46954
+ o: {
46955
+ a: 0,
46956
+ k: 100,
46957
+ ix: 7
46958
+ }
46959
+ }
46960
+ ]
46961
+ }
46962
+ ],
46963
+ ind: 5,
46964
+ parent: 1
46965
+ },
46966
+ {
46967
+ ty: 4,
46968
+ nm: "page01 Outlines",
46969
+ sr: 1,
46970
+ st: 0,
46971
+ op: 241,
46972
+ ip: 0,
46973
+ hd: false,
46974
+ ddd: 0,
46975
+ bm: 0,
46976
+ hasMask: false,
46977
+ ao: 0,
46978
+ ks: {
46979
+ a: {
46980
+ a: 0,
46981
+ k: [
46982
+ 88,
46983
+ 88,
46984
+ 0
46985
+ ],
46986
+ ix: 1
46987
+ },
46988
+ s: {
46989
+ a: 0,
46990
+ k: [
46991
+ 100,
46992
+ 100,
46993
+ 100
46994
+ ],
46995
+ ix: 6
46996
+ },
46997
+ sk: {
46998
+ a: 0,
46999
+ k: 0
47000
+ },
47001
+ p: {
47002
+ a: 0,
47003
+ k: [
47004
+ -0.001,
47005
+ 8.333,
47006
+ 0
47007
+ ],
47008
+ ix: 2
47009
+ },
47010
+ r: {
47011
+ a: 0,
47012
+ k: 0,
47013
+ ix: 10
47014
+ },
47015
+ sa: {
47016
+ a: 0,
47017
+ k: 0
47018
+ },
47019
+ o: {
47020
+ a: 0,
47021
+ k: 100,
47022
+ ix: 11
47023
+ }
47024
+ },
47025
+ ef: [
47026
+ ],
47027
+ shapes: [
47028
+ {
47029
+ ty: "gr",
47030
+ bm: 0,
47031
+ hd: false,
47032
+ mn: "ADBE Vector Group",
47033
+ nm: "Group 1",
47034
+ ix: 1,
47035
+ cix: 2,
47036
+ np: 2,
47037
+ it: [
47038
+ {
47039
+ ty: "sh",
47040
+ bm: 0,
47041
+ hd: false,
47042
+ mn: "ADBE Vector Shape - Group",
47043
+ nm: "Path 1",
47044
+ ix: 1,
47045
+ d: 1,
47046
+ ks: {
47047
+ a: 0,
47048
+ k: {
47049
+ c: true,
47050
+ i: [
47051
+ [
47052
+ -9.205,
47053
+ 0
47054
+ ],
47055
+ [
47056
+ 0,
47057
+ 0
47058
+ ],
47059
+ [
47060
+ 0,
47061
+ -9.205
47062
+ ],
47063
+ [
47064
+ 0,
47065
+ 0
47066
+ ],
47067
+ [
47068
+ 9.205,
47069
+ 0
47070
+ ],
47071
+ [
47072
+ 0,
47073
+ 0
47074
+ ],
47075
+ [
47076
+ 0,
47077
+ 9.205
47078
+ ],
47079
+ [
47080
+ 0,
47081
+ 0
47082
+ ]
47083
+ ],
47084
+ o: [
47085
+ [
47086
+ 0,
47087
+ 0
47088
+ ],
47089
+ [
47090
+ 9.205,
47091
+ 0
47092
+ ],
47093
+ [
47094
+ 0,
47095
+ 0
47096
+ ],
47097
+ [
47098
+ 0,
47099
+ 9.205
47100
+ ],
47101
+ [
47102
+ 0,
47103
+ 0
47104
+ ],
47105
+ [
47106
+ -9.205,
47107
+ 0
47108
+ ],
47109
+ [
47110
+ 0,
47111
+ 0
47112
+ ],
47113
+ [
47114
+ 0,
47115
+ -9.205
47116
+ ]
47117
+ ],
47118
+ v: [
47119
+ [
47120
+ -58.333,
47121
+ -75
47122
+ ],
47123
+ [
47124
+ 58.334,
47125
+ -75
47126
+ ],
47127
+ [
47128
+ 75,
47129
+ -58.333
47130
+ ],
47131
+ [
47132
+ 75,
47133
+ 58.333
47134
+ ],
47135
+ [
47136
+ 58.334,
47137
+ 75
47138
+ ],
47139
+ [
47140
+ -58.333,
47141
+ 75
47142
+ ],
47143
+ [
47144
+ -75,
47145
+ 58.333
47146
+ ],
47147
+ [
47148
+ -75,
47149
+ -58.333
47150
+ ]
47151
+ ]
47152
+ },
47153
+ ix: 2
47154
+ }
47155
+ },
47156
+ {
47157
+ ty: "st",
47158
+ bm: 0,
47159
+ hd: false,
47160
+ mn: "ADBE Vector Graphic - Stroke",
47161
+ nm: "Stroke 1",
47162
+ lc: 2,
47163
+ lj: 2,
47164
+ ml: 1,
47165
+ o: {
47166
+ a: 0,
47167
+ k: 100,
47168
+ ix: 4
47169
+ },
47170
+ w: {
47171
+ a: 0,
47172
+ k: 13,
47173
+ ix: 5
47174
+ },
47175
+ c: {
47176
+ a: 0,
47177
+ k: [
47178
+ 0.0235,
47179
+ 0.4039,
47180
+ 0.4078
47181
+ ],
47182
+ ix: 3
47183
+ }
47184
+ },
47185
+ {
47186
+ ty: "tr",
47187
+ a: {
47188
+ a: 0,
47189
+ k: [
47190
+ 0,
47191
+ 0
47192
+ ],
47193
+ ix: 1
47194
+ },
47195
+ s: {
47196
+ a: 0,
47197
+ k: [
47198
+ 100,
47199
+ 100
47200
+ ],
47201
+ ix: 3
47202
+ },
47203
+ sk: {
47204
+ a: 0,
47205
+ k: 0,
47206
+ ix: 4
47207
+ },
47208
+ p: {
47209
+ a: 0,
47210
+ k: [
47211
+ 88,
47212
+ 88
47213
+ ],
47214
+ ix: 2
47215
+ },
47216
+ r: {
47217
+ a: 0,
47218
+ k: 0,
47219
+ ix: 6
47220
+ },
47221
+ sa: {
47222
+ a: 0,
47223
+ k: 0,
47224
+ ix: 5
47225
+ },
47226
+ o: {
47227
+ a: 0,
47228
+ k: 100,
47229
+ ix: 7
47230
+ }
47231
+ }
47232
+ ]
47233
+ }
47234
+ ],
47235
+ ind: 6,
47236
+ parent: 1
47237
+ }
47238
+ ];
47239
+ var v$1 = "5.5.7";
47240
+ var fr$1 = 45;
47241
+ var op$1 = 41;
47242
+ var ip$1 = 0;
47243
+ var assets$1 = [
47244
+ ];
47245
+ var LoadingAnimation = {
47246
+ nm: nm$1,
47247
+ ddd: ddd$1,
47248
+ h: h$1,
47249
+ w: w$1,
47250
+ meta: meta,
47251
+ layers: layers$1,
47252
+ v: v$1,
47253
+ fr: fr$1,
47254
+ op: op$1,
47255
+ ip: ip$1,
47256
+ assets: assets$1
47257
+ };
47258
+
47259
+ // TableFooter.styles.js
47260
+ const FooterWrapper = styled.div`
47261
+ display: flex;
47262
+ align-items: center;
47263
+ justify-content: space-between;
47264
+ padding: 15px 20px 15px 15px;
47265
+ gap: 16px;
47266
+ `;
47267
+ const FooterLabel = styled.span`
47268
+ font-size: 14px;
47269
+ font-weight: 400;
47270
+ color: #8B8989;
47271
+ white-space: nowrap;
47272
+ font-family: 'Poppins', sans-serif;
47273
+ `;
47274
+ const FooterLabelBold = styled.span`
47275
+ font-size: 14px;
47276
+ font-weight: 600;
47277
+ color: #8B8989;
47278
+ font-family: 'Poppins', sans-serif;
47279
+ `;
47280
+ const FooterLoadingGroup = styled.div`
47281
+ display: flex;
47282
+ align-items: center;
47283
+ gap: 8px;
47284
+ `;
47285
+ const FooterLottieWrapper = styled.div`
47286
+ width: 16px;
47287
+ height: 16px;
47288
+ display: flex;
47289
+ align-items: center;
47290
+ `;
47291
+ const FooterProgressTrack = styled.div`
47292
+ width: 160px;
47293
+ height: 6px;
47294
+ background-color: #F2F2F2;
47295
+ border-radius: 12px;
47296
+ flex-shrink: 0;
47297
+ `;
47298
+ const FooterProgressFill = styled.div`
47299
+ height: 100%;
47300
+ width: ${props => props.percent}%;
47301
+ background: #066768;
47302
+ border-radius: 12px;
47303
+ transition: width 0.3s ease-in-out;
47304
+ `;
47305
+
47306
+ // TableFooter.jsx
47307
+ const TableFooter = ({
47308
+ visibleFirst,
47309
+ visibleLast,
47310
+ total,
47311
+ rowLabel,
47312
+ isLoading,
47313
+ isLoadingText
47314
+ }) => {
47315
+ if (total <= 0) return null;
47316
+ return /*#__PURE__*/React$1.createElement(FooterWrapper, null, /*#__PURE__*/React$1.createElement(FooterLabel, null, "Rows ", /*#__PURE__*/React$1.createElement(FooterLabelBold, null, visibleFirst, "\u2013", visibleLast), " of ", /*#__PURE__*/React$1.createElement(FooterLabelBold, null, total), rowLabel ? ` ${rowLabel}` : ""), isLoading && /*#__PURE__*/React$1.createElement(FooterLoadingGroup, null, /*#__PURE__*/React$1.createElement(FooterLottieWrapper, null, /*#__PURE__*/React$1.createElement(Lottie, {
47317
+ animationData: LoadingAnimation,
47318
+ loop: true
47319
+ })), /*#__PURE__*/React$1.createElement(FooterLabel, null, isLoadingText || "Loading...")), /*#__PURE__*/React$1.createElement(FooterProgressTrack, null, /*#__PURE__*/React$1.createElement(FooterProgressFill, {
47320
+ percent: Math.round(visibleLast / total * 100)
47321
+ })));
47322
+ };
47323
+
47324
+ /**
47325
+ * Return an array of <tr> DOM elements that represent *data rows* only.
47326
+ *
47327
+ * We intentionally cache the actual DOM nodes (not row IDs / not data objects),
47328
+ * because the scroll-time work needs to measure row positions efficiently via
47329
+ * getBoundingClientRect().
47330
+ *
47331
+ * Expanded content rows are excluded. In our table, an expanded row is a
47332
+ * "detail-only" row rendered as a single <td colSpan="...">, and it should not
47333
+ * be counted as a real data row for "visible rows" calculations.
47334
+ */
47335
+ const buildDataRowsCache = scrollEl => {
47336
+ const allRows = Array.from(scrollEl.querySelectorAll("tbody tr"));
47337
+ return allRows.filter(row => !row.querySelector("td[colspan]"));
47338
+ };
47339
+
47340
+ /**
47341
+ * Given the cached data-row <tr> elements, compute which 1-based row indices
47342
+ * overlap the scroll container’s visible viewport.
47343
+ *
47344
+ * This runs during scrolling, so it avoids DOM queries and only reads layout
47345
+ * (getBoundingClientRect).
47346
+ */
47347
+ const getVisibleRowRange = (scrollEl, cachedDataRows) => {
47348
+ if (cachedDataRows.length === 0) return {
47349
+ first: 1,
47350
+ last: 0
47351
+ };
47352
+ const containerRect = scrollEl.getBoundingClientRect();
47353
+ let first = null;
47354
+ let last = null;
47355
+ cachedDataRows.forEach((row, index) => {
47356
+ const rect = row.getBoundingClientRect();
47357
+
47358
+ // "Visible" here means the row overlaps the container viewport.
47359
+ if (rect.bottom > containerRect.top && rect.top < containerRect.bottom) {
47360
+ if (first === null) first = index + 1; // 1-based row number
47361
+ last = index + 1;
46861
47362
  }
46862
- // Destroy any previous instance
46863
- (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
46864
- // Build the animation configuration
46865
- var config = _objectSpread2(_objectSpread2(_objectSpread2({}, props), forcedConfigs), {}, {
46866
- container: animationContainer.current
46867
- });
46868
- // Save the animation instance
46869
- animationInstanceRef.current = lottie.loadAnimation(config);
46870
- setAnimationLoaded(!!animationInstanceRef.current);
46871
- // Return a function that will clean up
46872
- return function () {
46873
- var _a;
46874
- (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
46875
- animationInstanceRef.current = undefined;
46876
- };
47363
+ });
47364
+ return {
47365
+ first: first !== null ? first : 1,
47366
+ last: last !== null ? last : 0
46877
47367
  };
46878
- /**
46879
- * (Re)Initialize when animation data changed
47368
+ };
47369
+ const useVisibleRows = ({
47370
+ scrollWrapperRef,
47371
+ dataLength,
47372
+ showFooter,
47373
+ expandedRows
47374
+ }) => {
47375
+ // 1-based indices for UI display, e.g. "Showing 21–40"
47376
+ const [visibleFirst, setVisibleFirst] = useState(1);
47377
+ const [visibleLast, setVisibleLast] = useState(0);
47378
+
47379
+ /**
47380
+ * Cache of <tr> DOM elements for data rows only.
47381
+ * This prevents repeated DOM querying during scroll.
46880
47382
  */
46881
- useEffect(function () {
46882
- var onUnmount = loadAnimation();
46883
- // Clean up on unmount
46884
- return function () {
46885
- return onUnmount === null || onUnmount === void 0 ? void 0 : onUnmount();
46886
- };
46887
- // eslint-disable-next-line react-hooks/exhaustive-deps
46888
- }, [animationData, loop]);
46889
- // Update the autoplay state
46890
- useEffect(function () {
46891
- if (!animationInstanceRef.current) {
46892
- return;
46893
- }
46894
- animationInstanceRef.current.autoplay = !!autoplay;
46895
- }, [autoplay]);
46896
- // Update the initial segment state
46897
- useEffect(function () {
46898
- if (!animationInstanceRef.current) {
46899
- return;
46900
- }
46901
- // When null should reset to default animation length
46902
- if (!initialSegment) {
46903
- animationInstanceRef.current.resetSegments(true);
46904
- return;
46905
- }
46906
- // If it's not a valid segment, do nothing
46907
- if (!Array.isArray(initialSegment) || !initialSegment.length) {
47383
+ const dataRowsRef = useRef([]);
47384
+ const updateVisibleRows = el => {
47385
+ // Keep footer state consistent when the table becomes empty.
47386
+ if (dataLength === 0) {
47387
+ setVisibleFirst(1);
47388
+ setVisibleLast(0);
46908
47389
  return;
46909
47390
  }
46910
- // If the current position it's not in the new segment
46911
- // set the current position to start
46912
- if (animationInstanceRef.current.currentRawFrame < initialSegment[0] || animationInstanceRef.current.currentRawFrame > initialSegment[1]) {
46913
- animationInstanceRef.current.currentRawFrame = initialSegment[0];
46914
- }
46915
- // Update the segment
46916
- animationInstanceRef.current.setSegment(initialSegment[0], initialSegment[1]);
46917
- }, [initialSegment]);
46918
- /*
46919
- ======================================
46920
- EVENTS
46921
- ======================================
46922
- */
46923
- /**
46924
- * Reinitialize listener on change
47391
+ const {
47392
+ first,
47393
+ last
47394
+ } = getVisibleRowRange(el, dataRowsRef.current);
47395
+ setVisibleFirst(first);
47396
+ setVisibleLast(last);
47397
+ };
47398
+
47399
+ /**
47400
+ * Scroll listener: updates visible row range.
47401
+ *
47402
+ * We throttle to one update per animation frame using requestAnimationFrame,
47403
+ * which keeps scrolling smooth.
47404
+ *
47405
+ * Note: expandedRows is NOT a dependency here. When expansion changes, we
47406
+ * rebuild the cached rows in useLayoutEffect below, and the scroll handler
47407
+ * always reads the latest cache from dataRowsRef.current.
46925
47408
  */
46926
- useEffect(function () {
46927
- var partialListeners = [{
46928
- name: "complete",
46929
- handler: onComplete
46930
- }, {
46931
- name: "loopComplete",
46932
- handler: onLoopComplete
46933
- }, {
46934
- name: "enterFrame",
46935
- handler: onEnterFrame
46936
- }, {
46937
- name: "segmentStart",
46938
- handler: onSegmentStart
46939
- }, {
46940
- name: "config_ready",
46941
- handler: onConfigReady
46942
- }, {
46943
- name: "data_ready",
46944
- handler: onDataReady
46945
- }, {
46946
- name: "data_failed",
46947
- handler: onDataFailed
46948
- }, {
46949
- name: "loaded_images",
46950
- handler: onLoadedImages
46951
- }, {
46952
- name: "DOMLoaded",
46953
- handler: onDOMLoaded
46954
- }, {
46955
- name: "destroy",
46956
- handler: onDestroy
46957
- }];
46958
- var listeners = partialListeners.filter(function (listener) {
46959
- return listener.handler != null;
46960
- });
46961
- if (!listeners.length) {
46962
- return;
46963
- }
46964
- var deregisterList = listeners.map(
46965
- /**
46966
- * Handle the process of adding an event listener
46967
- * @param {Listener} listener
46968
- * @return {Function} Function that deregister the listener
46969
- */
46970
- function (listener) {
46971
- var _a;
46972
- (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.addEventListener(listener.name, listener.handler);
46973
- // Return a function to deregister this listener
46974
- return function () {
46975
- var _a;
46976
- (_a = animationInstanceRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener(listener.name, listener.handler);
46977
- };
46978
- });
46979
- // Deregister listeners on unmount
46980
- return function () {
46981
- deregisterList.forEach(function (deregister) {
46982
- return deregister();
47409
+ useEffect(() => {
47410
+ if (!showFooter) return;
47411
+ const scrollWrapper = scrollWrapperRef.current;
47412
+ if (!scrollWrapper) return;
47413
+ let rafId = null;
47414
+ const handleScrollWithRAF = () => {
47415
+ if (rafId) return;
47416
+ rafId = requestAnimationFrame(() => {
47417
+ // Use the same element we attached the listener to.
47418
+ updateVisibleRows(scrollWrapper);
47419
+ rafId = null;
46983
47420
  });
46984
47421
  };
46985
- }, [onComplete, onLoopComplete, onEnterFrame, onSegmentStart, onConfigReady, onDataReady, onDataFailed, onLoadedImages, onDOMLoaded, onDestroy]);
46986
- /**
46987
- * Build the animation view
47422
+ scrollWrapper.addEventListener("scroll", handleScrollWithRAF);
47423
+ return () => {
47424
+ scrollWrapper.removeEventListener("scroll", handleScrollWithRAF);
47425
+ if (rafId) cancelAnimationFrame(rafId);
47426
+ };
47427
+ }, [showFooter, dataLength]);
47428
+
47429
+ /**
47430
+ * Rebuild the cached list of data-row <tr> elements whenever the table
47431
+ * structure changes:
47432
+ * - new data loaded
47433
+ * - row expanded/collapsed
47434
+ * - footer enabled/disabled
47435
+ *
47436
+ * useLayoutEffect runs after DOM updates but before paint, so our cached rows
47437
+ * and the computed visible range stay in sync with the latest layout.
46988
47438
  */
46989
- var View = /*#__PURE__*/React$1.createElement("div", _objectSpread2({
46990
- style: style,
46991
- ref: animationContainer
46992
- }, rest));
46993
- return {
46994
- View: View,
46995
- play: play,
46996
- stop: stop,
46997
- pause: pause,
46998
- setSpeed: setSpeed,
46999
- goToAndStop: goToAndStop,
47000
- goToAndPlay: goToAndPlay,
47001
- setDirection: setDirection,
47002
- playSegments: playSegments,
47003
- setSubframe: setSubframe,
47004
- getDuration: getDuration,
47005
- destroy: destroy,
47006
- animationContainerRef: animationContainer,
47007
- animationLoaded: animationLoaded,
47008
- animationItem: animationInstanceRef.current
47009
- };
47010
- };
47011
-
47012
- // helpers
47013
- function getContainerVisibility(container) {
47014
- var _container$getBoundin = container.getBoundingClientRect(),
47015
- top = _container$getBoundin.top,
47016
- height = _container$getBoundin.height;
47017
- var current = window.innerHeight - top;
47018
- var max = window.innerHeight + height;
47019
- return current / max;
47020
- }
47021
- function getContainerCursorPosition(container, cursorX, cursorY) {
47022
- var _container$getBoundin2 = container.getBoundingClientRect(),
47023
- top = _container$getBoundin2.top,
47024
- left = _container$getBoundin2.left,
47025
- width = _container$getBoundin2.width,
47026
- height = _container$getBoundin2.height;
47027
- var x = (cursorX - left) / width;
47028
- var y = (cursorY - top) / height;
47029
- return {
47030
- x: x,
47031
- y: y
47032
- };
47033
- }
47034
- var useInitInteractivity = function useInitInteractivity(_ref) {
47035
- var wrapperRef = _ref.wrapperRef,
47036
- animationItem = _ref.animationItem,
47037
- mode = _ref.mode,
47038
- actions = _ref.actions;
47039
- useEffect(function () {
47040
- var wrapper = wrapperRef.current;
47041
- if (!wrapper || !animationItem || !actions.length) {
47439
+ useLayoutEffect(() => {
47440
+ const el = scrollWrapperRef.current;
47441
+ if (!el || !showFooter) return;
47442
+ if (dataLength === 0) {
47443
+ // Ensure we drop references + reset UI when data disappears.
47444
+ dataRowsRef.current = [];
47445
+ setVisibleFirst(1);
47446
+ setVisibleLast(0);
47042
47447
  return;
47043
47448
  }
47044
- animationItem.stop();
47045
- var scrollModeHandler = function scrollModeHandler() {
47046
- var assignedSegment = null;
47047
- var scrollHandler = function scrollHandler() {
47048
- var currentPercent = getContainerVisibility(wrapper);
47049
- // Find the first action that satisfies the current position conditions
47050
- var action = actions.find(function (_ref2) {
47051
- var visibility = _ref2.visibility;
47052
- return visibility && currentPercent >= visibility[0] && currentPercent <= visibility[1];
47053
- });
47054
- // Skip if no matching action was found!
47055
- if (!action) {
47056
- return;
47057
- }
47058
- if (action.type === "seek" && action.visibility && action.frames.length === 2) {
47059
- // Seek: Go to a frame based on player scroll position action
47060
- var frameToGo = action.frames[0] + Math.ceil((currentPercent - action.visibility[0]) / (action.visibility[1] - action.visibility[0]) * action.frames[1]);
47061
- //! goToAndStop must be relative to the start of the current segment
47062
- animationItem.goToAndStop(frameToGo - animationItem.firstFrame - 1, true);
47063
- }
47064
- if (action.type === "loop") {
47065
- // Loop: Loop a given frames
47066
- if (assignedSegment === null) {
47067
- // if not playing any segments currently. play those segments and save to state
47068
- animationItem.playSegments(action.frames, true);
47069
- assignedSegment = action.frames;
47070
- } else {
47071
- // if playing any segments currently.
47072
- //check if segments in state are equal to the frames selected by action
47073
- if (assignedSegment !== action.frames) {
47074
- // if they are not equal. new segments are to be loaded
47075
- animationItem.playSegments(action.frames, true);
47076
- assignedSegment = action.frames;
47077
- } else if (animationItem.isPaused) {
47078
- // if they are equal the play method must be called only if lottie is paused
47079
- animationItem.playSegments(action.frames, true);
47080
- assignedSegment = action.frames;
47081
- }
47082
- }
47083
- }
47084
- if (action.type === "play" && animationItem.isPaused) {
47085
- // Play: Reset segments and continue playing full animation from current position
47086
- animationItem.resetSegments(true);
47087
- animationItem.play();
47088
- }
47089
- if (action.type === "stop") {
47090
- // Stop: Stop playback
47091
- animationItem.goToAndStop(action.frames[0] - animationItem.firstFrame - 1, true);
47092
- }
47093
- };
47094
- document.addEventListener("scroll", scrollHandler);
47095
- return function () {
47096
- document.removeEventListener("scroll", scrollHandler);
47097
- };
47098
- };
47099
- var cursorModeHandler = function cursorModeHandler() {
47100
- var handleCursor = function handleCursor(_x, _y) {
47101
- var x = _x;
47102
- var y = _y;
47103
- // Resolve cursor position if cursor is inside container
47104
- if (x !== -1 && y !== -1) {
47105
- // Get container cursor position
47106
- var pos = getContainerCursorPosition(wrapper, x, y);
47107
- // Use the resolved position
47108
- x = pos.x;
47109
- y = pos.y;
47110
- }
47111
- // Find the first action that satisfies the current position conditions
47112
- var action = actions.find(function (_ref3) {
47113
- var position = _ref3.position;
47114
- if (position && Array.isArray(position.x) && Array.isArray(position.y)) {
47115
- return x >= position.x[0] && x <= position.x[1] && y >= position.y[0] && y <= position.y[1];
47116
- }
47117
- if (position && !Number.isNaN(position.x) && !Number.isNaN(position.y)) {
47118
- return x === position.x && y === position.y;
47119
- }
47120
- return false;
47121
- });
47122
- // Skip if no matching action was found!
47123
- if (!action) {
47124
- return;
47125
- }
47126
- // Process action types:
47127
- if (action.type === "seek" && action.position && Array.isArray(action.position.x) && Array.isArray(action.position.y) && action.frames.length === 2) {
47128
- // Seek: Go to a frame based on player scroll position action
47129
- var xPercent = (x - action.position.x[0]) / (action.position.x[1] - action.position.x[0]);
47130
- var yPercent = (y - action.position.y[0]) / (action.position.y[1] - action.position.y[0]);
47131
- animationItem.playSegments(action.frames, true);
47132
- animationItem.goToAndStop(Math.ceil((xPercent + yPercent) / 2 * (action.frames[1] - action.frames[0])), true);
47133
- }
47134
- if (action.type === "loop") {
47135
- animationItem.playSegments(action.frames, true);
47136
- }
47137
- if (action.type === "play") {
47138
- // Play: Reset segments and continue playing full animation from current position
47139
- if (animationItem.isPaused) {
47140
- animationItem.resetSegments(false);
47141
- }
47142
- animationItem.playSegments(action.frames);
47143
- }
47144
- if (action.type === "stop") {
47145
- animationItem.goToAndStop(action.frames[0], true);
47146
- }
47147
- };
47148
- var mouseMoveHandler = function mouseMoveHandler(ev) {
47149
- handleCursor(ev.clientX, ev.clientY);
47150
- };
47151
- var mouseOutHandler = function mouseOutHandler() {
47152
- handleCursor(-1, -1);
47153
- };
47154
- wrapper.addEventListener("mousemove", mouseMoveHandler);
47155
- wrapper.addEventListener("mouseout", mouseOutHandler);
47156
- return function () {
47157
- wrapper.removeEventListener("mousemove", mouseMoveHandler);
47158
- wrapper.removeEventListener("mouseout", mouseOutHandler);
47159
- };
47449
+ dataRowsRef.current = buildDataRowsCache(el);
47450
+ updateVisibleRows(el);
47451
+
47452
+ // Optional cleanup: explicitly drop DOM references on unmount/refresh.
47453
+ return () => {
47454
+ dataRowsRef.current = [];
47160
47455
  };
47161
- switch (mode) {
47162
- case "scroll":
47163
- return scrollModeHandler();
47164
- case "cursor":
47165
- return cursorModeHandler();
47166
- }
47167
- // eslint-disable-next-line react-hooks/exhaustive-deps
47168
- }, [mode, animationItem]);
47169
- };
47170
- var useLottieInteractivity = function useLottieInteractivity(_ref4) {
47171
- var actions = _ref4.actions,
47172
- mode = _ref4.mode,
47173
- lottieObj = _ref4.lottieObj;
47174
- var animationItem = lottieObj.animationItem,
47175
- View = lottieObj.View,
47176
- animationContainerRef = lottieObj.animationContainerRef;
47177
- useInitInteractivity({
47178
- actions: actions,
47179
- animationItem: animationItem,
47180
- mode: mode,
47181
- wrapperRef: animationContainerRef
47182
- });
47183
- return View;
47184
- };
47185
- var _excluded = ["style", "interactivity"];
47186
- var Lottie = function Lottie(props) {
47187
- var _a, _b, _c;
47188
- var style = props.style,
47189
- interactivity = props.interactivity,
47190
- lottieProps = _objectWithoutProperties(props, _excluded);
47191
- /**
47192
- * Initialize the 'useLottie' hook
47193
- */
47194
- var _useLottie = useLottie(lottieProps, style),
47195
- View = _useLottie.View,
47196
- play = _useLottie.play,
47197
- stop = _useLottie.stop,
47198
- pause = _useLottie.pause,
47199
- setSpeed = _useLottie.setSpeed,
47200
- goToAndStop = _useLottie.goToAndStop,
47201
- goToAndPlay = _useLottie.goToAndPlay,
47202
- setDirection = _useLottie.setDirection,
47203
- playSegments = _useLottie.playSegments,
47204
- setSubframe = _useLottie.setSubframe,
47205
- getDuration = _useLottie.getDuration,
47206
- destroy = _useLottie.destroy,
47207
- animationContainerRef = _useLottie.animationContainerRef,
47208
- animationLoaded = _useLottie.animationLoaded,
47209
- animationItem = _useLottie.animationItem;
47210
- /**
47211
- * Make the hook variables/methods available through the provided 'lottieRef'
47212
- */
47213
- useEffect(function () {
47214
- if (props.lottieRef) {
47215
- props.lottieRef.current = {
47216
- play: play,
47217
- stop: stop,
47218
- pause: pause,
47219
- setSpeed: setSpeed,
47220
- goToAndPlay: goToAndPlay,
47221
- goToAndStop: goToAndStop,
47222
- setDirection: setDirection,
47223
- playSegments: playSegments,
47224
- setSubframe: setSubframe,
47225
- getDuration: getDuration,
47226
- destroy: destroy,
47227
- animationContainerRef: animationContainerRef,
47228
- animationLoaded: animationLoaded,
47229
- animationItem: animationItem
47230
- };
47231
- }
47232
- // eslint-disable-next-line react-hooks/exhaustive-deps
47233
- }, [(_a = props.lottieRef) === null || _a === void 0 ? void 0 : _a.current]);
47234
- return useLottieInteractivity({
47235
- lottieObj: {
47236
- View: View,
47237
- play: play,
47238
- stop: stop,
47239
- pause: pause,
47240
- setSpeed: setSpeed,
47241
- goToAndStop: goToAndStop,
47242
- goToAndPlay: goToAndPlay,
47243
- setDirection: setDirection,
47244
- playSegments: playSegments,
47245
- setSubframe: setSubframe,
47246
- getDuration: getDuration,
47247
- destroy: destroy,
47248
- animationContainerRef: animationContainerRef,
47249
- animationLoaded: animationLoaded,
47250
- animationItem: animationItem
47251
- },
47252
- actions: (_b = interactivity === null || interactivity === void 0 ? void 0 : interactivity.actions) !== null && _b !== void 0 ? _b : [],
47253
- mode: (_c = interactivity === null || interactivity === void 0 ? void 0 : interactivity.mode) !== null && _c !== void 0 ? _c : "scroll"
47254
- });
47456
+ }, [dataLength, showFooter, expandedRows]);
47457
+ return {
47458
+ visibleFirst,
47459
+ visibleLast
47460
+ };
47255
47461
  };
47256
47462
 
47257
47463
  const NoSearchUpcIcon = ({
@@ -47460,12 +47666,25 @@ const Table = props => {
47460
47666
  initialSortColumn = null,
47461
47667
  initialSortValue = null,
47462
47668
  onFilterStateChange = null,
47463
- onSortStateChange = null
47669
+ onSortStateChange = null,
47670
+ // Footer props
47671
+ showFooter = false,
47672
+ total,
47673
+ rowLabel = ""
47464
47674
  } = props;
47465
47675
  const scrollWrapperRef = useRef(null);
47466
47676
  const tableBodyRef = useRef(null);
47467
47677
  const tableContainerRef = useRef(null);
47468
47678
  const [hasTriggered, setHasTriggered] = useState(false);
47679
+ const {
47680
+ visibleFirst,
47681
+ visibleLast
47682
+ } = useVisibleRows({
47683
+ scrollWrapperRef,
47684
+ dataLength: data.length,
47685
+ showFooter,
47686
+ expandedRows
47687
+ });
47469
47688
  const clearTableFocus = () => {
47470
47689
  if (tableBodyRef.current) {
47471
47690
  tableBodyRef.current.clearFocus();
@@ -47623,7 +47842,7 @@ const Table = props => {
47623
47842
  backgroundColor: buttonColor,
47624
47843
  hoverBackgroundColor: buttonHoverColor,
47625
47844
  onClick: onButtonClick
47626
- }))), isLoading && /*#__PURE__*/React$1.createElement(LoadingWrapper$1, null, /*#__PURE__*/React$1.createElement(Lottie, {
47845
+ }))), isLoading && !showFooter && /*#__PURE__*/React$1.createElement(LoadingWrapper$1, null, /*#__PURE__*/React$1.createElement(Lottie, {
47627
47846
  style: {
47628
47847
  width: "24px",
47629
47848
  height: "24px"
@@ -47632,7 +47851,14 @@ const Table = props => {
47632
47851
  loop: true
47633
47852
  }), /*#__PURE__*/React$1.createElement(LoadingText$1, null, isLoadingText)), isLoadingSpinner && /*#__PURE__*/React$1.createElement(LoaderWrapper, {
47634
47853
  id: "LoaderWrapper"
47635
- }, /*#__PURE__*/React$1.createElement(Loader, null)))));
47854
+ }, /*#__PURE__*/React$1.createElement(Loader, null)), showFooter && /*#__PURE__*/React$1.createElement(TableFooter, {
47855
+ visibleFirst: visibleFirst,
47856
+ visibleLast: visibleLast,
47857
+ total: total,
47858
+ rowLabel: rowLabel,
47859
+ isLoading: isLoading,
47860
+ isLoadingText: isLoadingText
47861
+ }))));
47636
47862
  };
47637
47863
  Table.displayName = "Table";
47638
47864