Compare commits
1855 commits
master
...
feat-expor
Author | SHA1 | Date | |
---|---|---|---|
|
c3c641b6ba | ||
|
7e0363a563 | ||
|
d41b9ff1e7 | ||
|
f95d5fa62e | ||
|
f97f3b380b | ||
|
a56ddecc0f | ||
|
91f4ce532e | ||
|
ecc6cb8a77 | ||
|
58d9605033 | ||
|
c563889bf6 | ||
|
9e18b30fdb | ||
|
83dbe8ec7c | ||
|
5863ea8df4 | ||
|
68ceb7f440 | ||
|
68a4697c7d | ||
|
7b89ad8c14 | ||
|
4bc5d25d5a | ||
|
dde9f07ed9 | ||
|
f974383e7b | ||
|
a2a795ae77 | ||
|
d8571781ed | ||
|
e858cdd88b | ||
|
147ac43eac | ||
|
ed0fb59983 | ||
|
8aa6a60acf | ||
|
62f90ae93e | ||
|
ad8fc035bb | ||
|
59c75c9cec | ||
|
214263d111 | ||
|
b20b24bdb6 | ||
|
d16ae73c0d | ||
|
73e6dfd399 | ||
|
294c5194a4 | ||
|
ec745c31de | ||
|
fc32339d2d | ||
|
54122f8998 | ||
|
cdcf7e7772 | ||
|
acabdb6325 | ||
|
da691f286e | ||
|
e073e120a1 | ||
|
7c82110326 | ||
|
7ecbb779af | ||
|
3233e3ab64 | ||
|
1e3585f5cc | ||
|
b0e88ff5d1 | ||
|
5638f64831 | ||
|
769b1cdabb | ||
|
02d017d415 | ||
|
6696d32e66 | ||
|
da55cdbba8 | ||
|
dbb9ee7ac6 | ||
|
6ceb0d7d8f | ||
|
e04cbcacba | ||
|
640237c630 | ||
|
90346599b0 | ||
|
18051ec929 | ||
|
3cae70dd11 | ||
|
4569a4f9f8 | ||
|
70ea3f0812 | ||
|
c2b911d73a | ||
|
f686d86910 | ||
|
4b1bf22154 | ||
|
3f44b80603 | ||
|
41905f420e | ||
|
5c41e5da0d | ||
|
d3f95e256a | ||
|
0a88c6254d | ||
|
96cdf11567 | ||
|
1933997276 | ||
|
1bf3f492ff | ||
|
de068d36f1 | ||
|
628da8bb04 | ||
|
7ea73c3f1b | ||
|
8aa831fe49 | ||
|
6b3e03cca4 | ||
|
4f47779303 | ||
|
017df02816 | ||
|
305673999b | ||
|
553a801bc3 | ||
|
29b2a8aeff | ||
|
7cbb7a54aa | ||
|
3687292cdf | ||
|
053e214c86 | ||
|
b6f9b0e6d4 | ||
|
d1958d3775 | ||
|
486a557d75 | ||
|
63a2430a7c | ||
|
9e4ac047ca | ||
|
3bfdd7e920 | ||
|
e2166b6f03 | ||
|
86fcd87f53 | ||
|
061f4ab08f | ||
|
ee3236fe1e | ||
|
539cc062b6 | ||
|
d50f51bd3b | ||
|
56ce70cef5 | ||
|
5888b6b7d8 | ||
|
3e0f1c63c9 | ||
|
b53fc3732e | ||
|
63f7a8f15c | ||
|
20ff660cb2 | ||
|
d40260374d | ||
|
f9ebd0863d | ||
|
b8fceacb8a | ||
|
eea0ec16e0 | ||
|
7cdeb9593f | ||
|
845b70f52c | ||
|
8e15f30ace | ||
|
9ad8c31e3f | ||
|
30e16841a5 | ||
|
70a19d32be | ||
|
df2a717e8d | ||
|
70dad5e057 | ||
|
4d849a4821 | ||
|
268130a913 | ||
|
8006cf1bf9 | ||
|
3e5a9ba193 | ||
|
5c939d0e32 | ||
|
c3fd7ab8d7 | ||
|
90c2272720 | ||
|
91e83760d4 | ||
|
e70ed61d4e | ||
|
6c6aa7a117 | ||
|
b9af50dede | ||
|
bd9a6ac2bb | ||
|
e6a563443e | ||
|
4ffec69f25 | ||
|
363fe82050 | ||
|
94d5c11a71 | ||
|
56de3fdd13 | ||
|
cf53fdbc92 | ||
|
d3365d69f9 | ||
|
d5b7f25191 | ||
|
60f48b1a3b | ||
|
075b8bcf62 | ||
|
f755423361 | ||
|
6690880241 | ||
|
50fb15c7f2 | ||
|
2432cf2fe1 | ||
|
968db6652a | ||
|
87c94e3c1c | ||
|
85cb741feb | ||
|
2a83c7d8ec | ||
|
86d311f45d | ||
|
7807bd9dd2 | ||
|
4c804af02c | ||
|
b12fe2192b | ||
|
c38e37cd38 | ||
|
54ee4ee94a | ||
|
70695dfd3f | ||
|
baf1058510 | ||
|
e5bea1d0c4 | ||
|
e43a44abdd | ||
|
707140ccd8 | ||
|
8a16ca03be | ||
|
688ea696bd | ||
|
1ab140c192 | ||
|
4e35a2e5dc | ||
|
df0b65daf1 | ||
|
f43577a2dd | ||
|
151749d4c3 | ||
|
b921547386 | ||
|
cb06c10f0b | ||
|
4893085ee3 | ||
|
045fc2c940 | ||
|
dcf9b1802f | ||
|
8aaa820e2f | ||
|
c146ccc432 | ||
|
e83d667b25 | ||
|
2762d43224 | ||
|
81eddb2b5d | ||
|
9dc03d816a | ||
|
547781c07c | ||
|
37d9db9cf2 | ||
|
328c8938c6 | ||
|
70ddd08df6 | ||
|
9787940bc8 | ||
|
0fb27e7c48 | ||
|
16da04e6b9 | ||
|
d89e04942b | ||
|
f69097b488 | ||
|
c677f69c60 | ||
|
227b6e3011 | ||
|
c3aaadf4aa | ||
|
1b84ac0268 | ||
|
1efa54c121 | ||
|
eeda485bb4 | ||
|
8a5cf5f71b | ||
|
c775072e7e | ||
|
331ae641d0 | ||
|
5fe5f7599f | ||
|
4cf531b8ad | ||
|
b6eb580c82 | ||
|
6ee3b34b10 | ||
|
32f0d1d7a1 | ||
|
cfa59507ba | ||
|
e4214b1c1b | ||
|
2edf1ca564 | ||
|
05376490a8 | ||
|
67d0655314 | ||
|
0a3d47edce | ||
|
78509a92c4 | ||
|
d5910c8172 | ||
|
487d5c4a86 | ||
|
d66bd72b22 | ||
|
2baddb1b1e | ||
|
d4f2236ea3 | ||
|
a4834706e3 | ||
|
9b2cc7eb79 | ||
|
0bcea943d5 | ||
|
4ea6b848d1 | ||
|
a2f15b8348 | ||
|
ea3d8e01ef | ||
|
9779c19e88 | ||
|
9eda81db58 | ||
|
99a36b6bd6 | ||
|
c6c824c059 | ||
|
29431b1074 | ||
|
8f35f53e7a | ||
|
142d6e0af0 | ||
|
9d830615fd | ||
|
deb95cd443 | ||
|
1768e4a5cd | ||
|
9ff88ecdd1 | ||
|
530433b508 | ||
|
7dc9c983f8 | ||
|
bd7d2ad621 | ||
|
8b1927b5dd | ||
|
e4db2d401b | ||
|
c16fb8c906 | ||
|
ba62170ef7 | ||
|
a7bbb464d6 | ||
|
ca135cc7f8 | ||
|
2b60fe957f | ||
|
f56e552764 | ||
|
4d7f1c1d42 | ||
|
003992e5c6 | ||
|
816c0d9e79 | ||
|
c71c8e1cd0 | ||
|
c66f597f09 | ||
|
8303856a06 | ||
|
3557e72419 | ||
|
551c13251a | ||
|
bf7dcbe344 | ||
|
4ae3fe7ea0 | ||
|
327a574982 | ||
|
b1dbac8f9b | ||
|
6576e8317e | ||
|
b8cf1a6c4c | ||
|
7504cf07b3 | ||
|
f0bf6fa9a0 | ||
|
cc0ed44bf6 | ||
|
786d9d0253 | ||
|
a73694deb4 | ||
|
3ed05e62a5 | ||
|
11bdb6a872 | ||
|
1dccc1ac64 | ||
|
58167210ea | ||
|
a4add6eab6 | ||
|
4aa94a7bfd | ||
|
58270ab758 | ||
|
b1516a904d | ||
|
26bde0a390 | ||
|
ca1515bfa3 | ||
|
6d6d95237a | ||
|
ac44b771ff | ||
|
13729a2ed4 | ||
|
426d1ea0c9 | ||
|
ce9a1c128c | ||
|
2a0e802f10 | ||
|
f9d1b8de8e | ||
|
3918906605 | ||
|
e3e675455a | ||
|
d5c964c208 | ||
|
600d9a0f94 | ||
|
b854e32f5c | ||
|
cf700c3627 | ||
|
d207117e5d | ||
|
7d1992d541 | ||
|
ceca6e3b84 | ||
|
8c06dab10f | ||
|
cde0c0b2a8 | ||
|
287eb38e7a | ||
|
104dafc1e7 | ||
|
8eb6ffd2b9 | ||
|
676f461a9f | ||
|
8e08320e7d | ||
|
2803323524 | ||
|
e045d7a2ad | ||
|
6136ae7d73 | ||
|
178b0d751d | ||
|
38d3fa1186 | ||
|
07b9b2feed | ||
|
9a247d3c9f | ||
|
28b9e2a4d3 | ||
|
581ae13c3f | ||
|
14a11aa78a | ||
|
d70f0f1d6d | ||
|
3719a73c81 | ||
|
79eb28cc55 | ||
|
245eb39892 | ||
|
b5dd24ff56 | ||
|
5e3effc94d | ||
|
b733215c5f | ||
|
0998e3d48c | ||
|
4c25ae721e | ||
|
64225d2b80 | ||
|
f245f09d1c | ||
|
bb065eb408 | ||
|
746d321dfe | ||
|
8dd0982f33 | ||
|
c46184e6b3 | ||
|
53079d92b6 | ||
|
855d3dae01 | ||
|
b0b2056d78 | ||
|
0cf8c181df | ||
|
a53250395f | ||
|
77163f5aec | ||
|
c16516fab5 | ||
|
ffdb5abf63 | ||
|
96e704e5d9 | ||
|
1d61d80009 | ||
|
be7193382c | ||
|
97be848554 | ||
|
5e944499f3 | ||
|
535d02807a | ||
|
36ddc69c13 | ||
|
ddc6c7ac98 | ||
|
a2099482b0 | ||
|
51616956d4 | ||
|
a4bb276608 | ||
|
75df2a5f13 | ||
|
7c68fd1e61 | ||
|
26d7e9a2b6 | ||
|
239bde0752 | ||
|
6b2427768c | ||
|
bf158ad696 | ||
|
b75a4014b6 | ||
|
f6f15531d4 | ||
|
e0fee8cb25 | ||
|
f79f346c94 | ||
|
de206162f9 | ||
|
251187de06 | ||
|
d5e56d20b6 | ||
|
a7493b2c80 | ||
|
13b59037a6 | ||
|
cc666a265a | ||
|
72b0977817 | ||
|
e6f432c69d | ||
|
6e9b07ec6f | ||
|
4d44d81f59 | ||
|
ac0ec4794a | ||
|
b2763e4bf0 | ||
|
b2b1692525 | ||
|
c4f88ac7e8 | ||
|
123496e734 | ||
|
40a59c53d4 | ||
|
f0f1d0f695 | ||
|
4fcaf7ba2f | ||
|
57eae71d12 | ||
|
b0e213a2b5 | ||
|
6ade6611d9 | ||
|
c572891590 | ||
|
bf6a2e51c1 | ||
|
9f7a163456 | ||
|
18ec09c5b0 | ||
|
71894daf49 | ||
|
8874008245 | ||
|
17868635bd | ||
|
d6208707b9 | ||
|
0afeaa6223 | ||
|
adc3c06803 | ||
|
86819b6876 | ||
|
dae78c488f | ||
|
55916f0763 | ||
|
463e6f5687 | ||
|
208b701998 | ||
|
26f9cf3a4f | ||
|
fd12a98b1b | ||
|
3bb7e21d3c | ||
|
2bdae7637b | ||
|
2698cc7001 | ||
|
6cc85cd39d | ||
|
4022273408 | ||
|
42b456307f | ||
|
4c1bf27dc1 | ||
|
a0097dc3ce | ||
|
c6856da247 | ||
|
f191cf0b88 | ||
|
9325a3e03e | ||
|
d13c54792e | ||
|
371ce4a7ff | ||
|
33826ea652 | ||
|
ca755d37b3 | ||
|
51746c24b1 | ||
|
5e7fac563f | ||
|
aa86815418 | ||
|
f2558f19f9 | ||
|
7eb5eb9996 | ||
|
fa1f3abbdc | ||
|
b4a76f4169 | ||
|
99383272a8 | ||
|
9ff4578eb1 | ||
|
7045f4ed45 | ||
|
d3fc96d961 | ||
|
f3fd0ba08f | ||
|
ae1bed8135 | ||
|
4604bc4a28 | ||
|
bf8199dd05 | ||
|
e9b1a32779 | ||
|
595afa71be | ||
|
ea686474fc | ||
|
1a7b92c4fa | ||
|
6d4c15f72c | ||
|
bfb8f0dd28 | ||
|
d7d8d3516e | ||
|
511097cd67 | ||
|
a4a20aa8e0 | ||
|
7500f15fc2 | ||
|
30977cae96 | ||
|
e3996f458f | ||
|
f550be4306 | ||
|
4b6e4db7cd | ||
|
f2495df615 | ||
|
9fd890cfc2 | ||
|
c5e185fa6d | ||
|
a7cf89a977 | ||
|
9b44b7eb91 | ||
|
cd2998d695 | ||
|
a770e0a8a9 | ||
|
ff238978e9 | ||
|
0a962b1884 | ||
|
e60813de03 | ||
|
d79ce20802 | ||
|
810692ca29 | ||
|
edc4f7abca | ||
|
9c342f56a0 | ||
|
a74dbe1e43 | ||
|
29a68eb992 | ||
|
d9b1cf6d54 | ||
|
794050c827 | ||
|
dcc66f211e | ||
|
27bc209717 | ||
|
becc1fcaf5 | ||
|
dc46af34ec | ||
|
61d0d76c1c | ||
|
5faabb919f | ||
|
129a5819d9 | ||
|
05ec4e5fbe | ||
|
d60b8fb995 | ||
|
8dedbe88ec | ||
|
9b68f936ad | ||
|
73d68c1db2 | ||
|
b9525229f9 | ||
|
0e8b7d6b4a | ||
|
b693925fe5 | ||
|
d6a395f9a8 | ||
|
4669246b55 | ||
|
3ac57776e9 | ||
|
7effcd69e8 | ||
|
62fecf0403 | ||
|
7a86d7a895 | ||
|
d8ab1eb960 | ||
|
8b443d343c | ||
|
daaa787f97 | ||
|
753c47ace5 | ||
|
48a703121b | ||
|
02ac8810d9 | ||
|
aa1b75434d | ||
|
6b1bcb34a7 | ||
|
14fc7bae50 | ||
|
f4567a8984 | ||
|
f1dbfa01ea | ||
|
90e20b94a8 | ||
|
69671a93d1 | ||
|
ef7e6a56b4 | ||
|
524eeff745 | ||
|
ebad2d746a | ||
|
b5f8a849a1 | ||
|
73f27cc67e | ||
|
7390c464ac | ||
|
5787bfcf2f | ||
|
34294e5fa2 | ||
|
7445063405 | ||
|
1ad66fccd0 | ||
|
1c9d89b250 | ||
|
56a7ad47c4 | ||
|
20b5653f95 | ||
|
a6106f7427 | ||
|
e4a88a5e9b | ||
|
6651663a00 | ||
|
e29f26958c | ||
|
5249e46179 | ||
|
a9a2270ae9 | ||
|
126ecd38fa | ||
|
b832f56929 | ||
|
8144a9bb87 | ||
|
575b8f5aac | ||
|
d84d11bc24 | ||
|
8e2ac343b0 | ||
|
e64d661dcd | ||
|
9ad73c9878 | ||
|
7b85d7a585 | ||
|
778ef649e8 | ||
|
d52593f3b2 | ||
|
f27b68587e | ||
|
f2a63668b7 | ||
|
cbb6e2afe4 | ||
|
0dccabe692 | ||
|
089fc52a7d | ||
|
20c610e8c9 | ||
|
764e21c801 | ||
|
07463312f0 | ||
|
805b607e73 | ||
|
f7beffaa06 | ||
|
0e233e04a8 | ||
|
f5a0f39f59 | ||
|
82f278dbde | ||
|
65789a26ed | ||
|
ef62ba267d | ||
|
cfc34c5dba | ||
|
3f805a6189 | ||
|
4e9e55e32f | ||
|
389b0ad834 | ||
|
2f6b7f0ba6 | ||
|
45bb9ad0fa | ||
|
6e34282cdc | ||
|
5cb94ace84 | ||
|
175f85995d | ||
|
eaf1b093ae | ||
|
2672177cc0 | ||
|
7622e7aaf2 | ||
|
934f627c19 | ||
|
49db1fe83b | ||
|
c4d11c6c48 | ||
|
c7962a1192 | ||
|
feb499b786 | ||
|
dca6c2ebf8 | ||
|
257011b62d | ||
|
6478da923f | ||
|
c1fb160452 | ||
|
33adf7aab2 | ||
|
4f600fbc8e | ||
|
99b446a8fe | ||
|
17d5d5c73b | ||
|
dbc98e8902 | ||
|
751a9253e9 | ||
|
57ba9c278b | ||
|
e8e1655a2d | ||
|
3f1417a412 | ||
|
e9214be2c1 | ||
|
a50b538ad5 | ||
|
233a2b27ba | ||
|
d7506850b3 | ||
|
98154a1921 | ||
|
f3ff88d74e | ||
|
096185d424 | ||
|
19a4b87225 | ||
|
b03d3305c1 | ||
|
5288fb3de8 | ||
|
f7cb0e40cc | ||
|
e50b8cd936 | ||
|
a21e75d865 | ||
|
65d0c9c6c3 | ||
|
4b93be049c | ||
|
12a59708e4 | ||
|
95df6fedc0 | ||
|
5a400ca2fa | ||
|
b79b7f9bde | ||
|
13bc634482 | ||
|
010b5c81f4 | ||
|
14f3195a7f | ||
|
fc50095b36 | ||
|
bab96276b6 | ||
|
dff64f5a47 | ||
|
b0f091a589 | ||
|
de93a97af0 | ||
|
800e735115 | ||
|
35c933e7e4 | ||
|
9f04370516 | ||
|
65b9906086 | ||
|
7e65062613 | ||
|
ee22775c7a | ||
|
c2b3904e32 | ||
|
b93426da7c | ||
|
0f4dc51008 | ||
|
cab66d5caf | ||
|
444403e47e | ||
|
393aba0385 | ||
|
564beb7c90 | ||
|
a11d8279be | ||
|
4643dbd767 | ||
|
30cbe009bc | ||
|
351eee76b3 | ||
|
13f9f24af7 | ||
|
4f4803c638 | ||
|
5380bc04f2 | ||
|
ee03749574 | ||
|
59a0b9d490 | ||
|
134cef103a | ||
|
a2b567889e | ||
|
5d22688acf | ||
|
97dd01ed38 | ||
|
e2a4490d79 | ||
|
a0254740bc | ||
|
63079638a4 | ||
|
aad06cdde0 | ||
|
e68bba1dc6 | ||
|
f7a6354399 | ||
|
4cf7bf8d06 | ||
|
1e6f64f235 | ||
|
2a38f2c177 | ||
|
79a093eb28 | ||
|
108b4a92a8 | ||
|
bb868777f8 | ||
|
89feddee0d | ||
|
234bd2526a | ||
|
57edddb058 | ||
|
85d9de60ca | ||
|
5631c10306 | ||
|
052c602742 | ||
|
a6169a80a9 | ||
|
b7b27136fd | ||
|
7ccaf06527 | ||
|
f175a765ae | ||
|
8dcac30767 | ||
|
787c49ea98 | ||
|
4e63849061 | ||
|
84b9bd617a | ||
|
1706ceed81 | ||
|
e0415ec493 | ||
|
a61f943465 | ||
|
c41c6bc2bb | ||
|
8d4a05157d | ||
|
e765a74eb0 | ||
|
3e5290d8b0 | ||
|
c36fd425a7 | ||
|
491c934119 | ||
|
fb998208e2 | ||
|
143a3c83e7 | ||
|
075e285bd2 | ||
|
f5034f74ca | ||
|
dd5f4872fc | ||
|
8c20d516cd | ||
|
d482b2d35a | ||
|
8c7c1cfd5c | ||
|
db687204a4 | ||
|
1a2fefa6ec | ||
|
3b98f73a0f | ||
|
321a6901b4 | ||
|
071b86fa06 | ||
|
c232981f0c | ||
|
fae8c6dff4 | ||
|
aa5e4d6c13 | ||
|
e21db9d58e | ||
|
2c6fb66206 | ||
|
e9e232f008 | ||
|
99d730d0e3 | ||
|
49de7b1c64 | ||
|
b9436def23 | ||
|
1366f8d3ce | ||
|
911ccaa07e | ||
|
beaf425068 | ||
|
d70c489163 | ||
|
e9b1a11e44 | ||
|
fe9b33e42b | ||
|
631d3cc1f3 | ||
|
cc8812d751 | ||
|
8823461ebd | ||
|
9fe20699a0 | ||
|
122d561a20 | ||
|
29ec4e3ad6 | ||
|
13a7785315 | ||
|
7660906494 | ||
|
0d3f6c2f9e | ||
|
b40160a939 | ||
|
2fb0e00bc0 | ||
|
e358f0715d | ||
|
4fffb035de | ||
|
0f407914f3 | ||
|
d64f1c5cc2 | ||
|
1eb66a6d66 | ||
|
d88b14ccc7 | ||
|
5a2684643e | ||
|
fed8fafe6c | ||
|
f9d32abbf6 | ||
|
157b6d3f19 | ||
|
726dc77943 | ||
|
79aa098484 | ||
|
09fc18cc02 | ||
|
2c3432c9cb | ||
|
3c20332912 | ||
|
e40b65b975 | ||
|
63a4a597a9 | ||
|
632cce4dbb | ||
|
b74dc804d6 | ||
|
e921d58f73 | ||
|
0fcdbc7858 | ||
|
087282578f | ||
|
616309301d | ||
|
093594de3f | ||
|
57192305f0 | ||
|
173ab36451 | ||
|
c970176386 | ||
|
f1ea0b20dd | ||
|
c958cb4a40 | ||
|
42451e14a8 | ||
|
e0ddd94c01 | ||
|
f53680ea63 | ||
|
a96db41782 | ||
|
09557c8ce2 | ||
|
ec6cb7380b | ||
|
56ae81198a | ||
|
ec5cd10ab1 | ||
|
5b16b3b058 | ||
|
d854a99250 | ||
|
aeb475ec2e | ||
|
192e1d4923 | ||
|
c362efe630 | ||
|
8fd64b2b41 | ||
|
db38cc597f | ||
|
dcb19a9f48 | ||
|
7477208c4e | ||
|
4cec3ee9b3 | ||
|
2e8039c3d0 | ||
|
70b801e867 | ||
|
7508dc2970 | ||
|
c294fda09d | ||
|
620e5023a8 | ||
|
05b228400e | ||
|
f57dd6af96 | ||
|
71e9837002 | ||
|
429653a7dc | ||
|
56966ffa31 | ||
|
fe227ba539 | ||
|
f868e1a3db | ||
|
d13558297e | ||
|
9af32a0024 | ||
|
9ee2db99f0 | ||
|
b5630f0ed6 | ||
|
6fa3638c1b | ||
|
1e0da66110 | ||
|
75478ad18f | ||
|
5196468330 | ||
|
67a822d536 | ||
|
52c15fc004 | ||
|
c0015ca442 | ||
|
5297978526 | ||
|
bc3c56b84b | ||
|
3900d9a049 | ||
|
e634c728f0 | ||
|
c4d6fa9ff0 | ||
|
7e605f60a2 | ||
|
802b5d5a18 | ||
|
d2fdcc970f | ||
|
341bd1341d | ||
|
496c90db0e | ||
|
8448c8655c | ||
|
6d362b19c8 | ||
|
36a63e27c1 | ||
|
5e2100000d | ||
|
ce46170b39 | ||
|
f0ef92614d | ||
|
fdb5658df6 | ||
|
c479a18cd8 | ||
|
0ecbb3a73b | ||
|
40bd160748 | ||
|
9482a7f986 | ||
|
d1d9b116d4 | ||
|
8ae17adde1 | ||
|
74345da0fb | ||
|
35f0777320 | ||
|
a31ea6417a | ||
|
51079ea611 | ||
|
f01004e9b6 | ||
|
ae56058384 | ||
|
bc6ed5d483 | ||
|
5632624cd9 | ||
|
ec2bf26817 | ||
|
637f191a24 | ||
|
ab67e47794 | ||
|
b5184078b8 | ||
|
7dd7aac8d2 | ||
|
32d5eaf8e1 | ||
|
fdd83537a3 | ||
|
d3109bd330 | ||
|
a6c832bac1 | ||
|
c1e97ee451 | ||
|
c8bdb33e65 | ||
|
57ff910bbb | ||
|
fa1cfc4882 | ||
|
9ac64eb6a7 | ||
|
04c5ac460b | ||
|
0682f52d45 | ||
|
d3576315f3 | ||
|
7400b9c12f | ||
|
b02f0736fc | ||
|
777937c7d8 | ||
|
0934b2fb88 | ||
|
d4cb51ff2a | ||
|
e93d734fa3 | ||
|
f4fdee8331 | ||
|
60c317dedf | ||
|
05b44fc4ab | ||
|
9298bf1e51 | ||
|
ebfe644cb8 | ||
|
6ce9bd5cf7 | ||
|
93b70f5e92 | ||
|
b7f9152dca | ||
|
b096aad70e | ||
|
6dea79819d | ||
|
f7bceb3734 | ||
|
bffc27e8d0 | ||
|
745e40a83e | ||
|
98d653a8f8 | ||
|
f8b54cabbc | ||
|
972429b391 | ||
|
e9559efe10 | ||
|
fc3e3ae844 | ||
|
e62031f0a2 | ||
|
1e67a5cc7f | ||
|
5445a95c9a | ||
|
58c9209c96 | ||
|
4a9ba6555b | ||
|
99f87e95e3 | ||
|
de29e323a8 | ||
|
63f19b278d | ||
|
69a9245324 | ||
|
b9d392526c | ||
|
5a1ad487f3 | ||
|
de9b3b641d | ||
|
59591c7695 | ||
|
2e3f9f94ce | ||
|
5b2c901496 | ||
|
a3ef81cded | ||
|
f3f1c1ad5e | ||
|
f7b598a6e0 | ||
|
6b77cb2bfa | ||
|
ca7b98ecf5 | ||
|
d52fd8e26e | ||
|
1f12cc594c | ||
|
9ad2dc7519 | ||
|
ea7a6cb04f | ||
|
ea8af5aa89 | ||
|
2dd0fc283d | ||
|
803a779e9e | ||
|
3d2a8b0a0d | ||
|
ef28514686 | ||
|
d5100b4bf7 | ||
|
d1995fa053 | ||
|
c72f4fe2a1 | ||
|
03685048f8 | ||
|
fb3a73d8a7 | ||
|
a34e07e970 | ||
|
ea827b2d31 | ||
|
bb9afff2d4 | ||
|
d68b869469 | ||
|
15bd26399f | ||
|
df04f727da | ||
|
2c34e0d857 | ||
|
3dd8c1fab5 | ||
|
a98dc18fc6 | ||
|
73552e35f9 | ||
|
d210e81ded | ||
|
efbbba6958 | ||
|
7904e751ac | ||
|
af8d742b75 | ||
|
f24f6783d4 | ||
|
0fa20114be | ||
|
cdcedb8063 | ||
|
0143b63c74 | ||
|
e2f73a30c6 | ||
|
1b0b9cad94 | ||
|
f979f9b575 | ||
|
b0b0cd825b | ||
|
65931202b0 | ||
|
5ba7b5e705 | ||
|
1e7c9ab030 | ||
|
b5bd36839e | ||
|
4a5e967628 | ||
|
de0bc8cf99 | ||
|
cc780c95ae | ||
|
79978f026f | ||
|
76493d48ee | ||
|
8772ebe0ad | ||
|
5dd457d045 | ||
|
fea79d81fb | ||
|
c1a67f6864 | ||
|
c4a23ff856 | ||
|
7c3cbaca15 | ||
|
96e7fda26a | ||
|
7c304702d6 | ||
|
71589721ef | ||
|
66e0b84e12 | ||
|
1510c8cf74 | ||
|
7263bde491 | ||
|
3631bdddbc | ||
|
0f2eba8733 | ||
|
abb92726ab | ||
|
4d438ed62f | ||
|
38f00be231 | ||
|
c4ae797add | ||
|
2e87c431ea | ||
|
a01e4bad78 | ||
|
2eae20f0bd | ||
|
27f70d5f90 | ||
|
fcbaa51df6 | ||
|
5098b7cd87 | ||
|
712e02db16 | ||
|
f839e0c35d | ||
|
06f7cdbe25 | ||
|
0939821963 | ||
|
83a816bf34 | ||
|
19dc09b262 | ||
|
82c4170e64 | ||
|
5048f7a2a1 | ||
|
bfd4c3bcfd | ||
|
6c76cff2a0 | ||
|
3edb00b99d | ||
|
0090e9b1ae | ||
|
1249b0394e | ||
|
54f8bd35b3 | ||
|
17a9b84df1 | ||
|
b99c83a13f | ||
|
d15a0308b2 | ||
|
5f92ccbf47 | ||
|
6b2d83986b | ||
|
802dfb0ba8 | ||
|
fee8e16bd8 | ||
|
79a25986ed | ||
|
59e83f3fa8 | ||
|
cfea97dd96 | ||
|
f88bfcd7f3 | ||
|
3f8dfd5b21 | ||
|
5c91d55cbc | ||
|
95654079f3 | ||
|
f88bc697be | ||
|
7a59976a5d | ||
|
241a6182a2 | ||
|
45181c61b8 | ||
|
9665f7f4c2 | ||
|
1777397f07 | ||
|
3974ca6322 | ||
|
99d8d0dbee | ||
|
a14239a9dc | ||
|
c6d8687cfa | ||
|
f1fdfcd329 | ||
|
49fc238e4c | ||
|
d5a91b5917 | ||
|
ea43f84347 | ||
|
2152583816 | ||
|
b4b7803684 | ||
|
77aa405fc6 | ||
|
2b271730cc | ||
|
c33f7338c7 | ||
|
3d23c7f78b | ||
|
17e3fcc27c | ||
|
d6cd3caa77 | ||
|
51d4407002 | ||
|
2e26064d2f | ||
|
f70e631953 | ||
|
8ace40522e | ||
|
89577950c2 | ||
|
6be519374a | ||
|
db5d0a70aa | ||
|
69de63c436 | ||
|
cfd234d615 | ||
|
39de1d7e84 | ||
|
c74dbbb68a | ||
|
9a95c9f64d | ||
|
c1fed3f4df | ||
|
0ae015b7a5 | ||
|
f14e7ad0ec | ||
|
79f1b1242d | ||
|
4314fcd6be | ||
|
5b81346e59 | ||
|
7612722263 | ||
|
d31de7e3e2 | ||
|
2ee829e8e3 | ||
|
2b16523a39 | ||
|
f16ae357fd | ||
|
a2dcdfb8ab | ||
|
f890f0896b | ||
|
4fe668900f | ||
|
178dec7030 | ||
|
56f8d8b71a | ||
|
6a69e02d57 | ||
|
4c27d6673f | ||
|
6e79aa4950 | ||
|
4d77d2a6c6 | ||
|
6805e78d2c | ||
|
a6316ce71e | ||
|
636b00f9db | ||
|
aedd194be6 | ||
|
c04f61d318 | ||
|
88e0ea5d7d | ||
|
58a1614c92 | ||
|
8441bd020a | ||
|
299c3ff021 | ||
|
a697d70ff9 | ||
|
09ee8829ed | ||
|
2d2edf986f | ||
|
f109ee2db2 | ||
|
a3f00944d4 | ||
|
5af52bd032 | ||
|
23d4de5457 | ||
|
d0920317ad | ||
|
745148c2dc | ||
|
e23e0f526d | ||
|
d95593486f | ||
|
f18b851edb | ||
|
9f7dda0234 | ||
|
678a160f7c | ||
|
95f90d8a84 | ||
|
cb441ef5f4 | ||
|
50423111af | ||
|
b3c4ce05fa | ||
|
2606758c0d | ||
|
24d23b8cc9 | ||
|
80d4d8c57c | ||
|
0774090bdc | ||
|
70c05972cc | ||
|
c512b1147e | ||
|
d4f26c4272 | ||
|
b56dc66f23 | ||
|
88907901a1 | ||
|
a636d7d8c9 | ||
|
c2c44f7334 | ||
|
dc31c0f8fe | ||
|
381200800e | ||
|
60d9acfa55 | ||
|
f60a267b61 | ||
|
a38ef1337a | ||
|
6fa12bf237 | ||
|
df67e4fbd6 | ||
|
95d8ea6f0d | ||
|
9d0b7f3e35 | ||
|
98e6487dd8 | ||
|
f79f0b02a0 | ||
|
7a85f410d8 | ||
|
586ec1e39c | ||
|
80335b0e4d | ||
|
9e75e2a711 | ||
|
ae86f5df63 | ||
|
b5a6a35f64 | ||
|
b3020b6cfb | ||
|
ecc3599a85 | ||
|
5c5b46ddb3 | ||
|
85ef16026d | ||
|
7bbfd81762 | ||
|
9cd80ee41e | ||
|
e41c2141a2 | ||
|
9d325d5c59 | ||
|
f94f7e0b1c | ||
|
7c0b84d497 | ||
|
ff6d335bb0 | ||
|
de56aeec09 | ||
|
8298f41526 | ||
|
1ef68c1472 | ||
|
3140c103ad | ||
|
90c2a60799 | ||
|
895be3fff3 | ||
|
64ffc5a0e1 | ||
|
f0efd7afdb | ||
|
f1b95ce05c | ||
|
4c293b7ae5 | ||
|
98dd6c6adf | ||
|
569e4fb334 | ||
|
0947393912 | ||
|
c34840a4d4 | ||
|
11338170e7 | ||
|
778940193e | ||
|
e537679624 | ||
|
6c178993af | ||
|
162b77a078 | ||
|
04137b4ec8 | ||
|
d4f0d99fe1 | ||
|
6537fc855e | ||
|
06782c0e31 | ||
|
9703ba2eb3 | ||
|
a0a664baf5 | ||
|
28a1bfefab | ||
|
559ab774f6 | ||
|
9573f30b8d | ||
|
039cccba87 | ||
|
d102cbe802 | ||
|
f17662cf46 | ||
|
ee8791004b | ||
|
e7e7d143e3 | ||
|
d6d3328201 | ||
|
2001d769ac | ||
|
0c4f85fe53 | ||
|
0cdf6e1970 | ||
|
2d39325a24 | ||
|
f943affb19 | ||
|
5c028fea7f | ||
|
63cc5da092 | ||
|
2a7b9364e4 | ||
|
aaf36e88dd | ||
|
f9a1fcc6a7 | ||
|
0f5948d871 | ||
|
02accb5c79 | ||
|
56c39cf60e | ||
|
bb14fe30b4 | ||
|
07eaba5a89 | ||
|
dae0f9c3d5 | ||
|
e42090d3b6 | ||
|
b5c7f9cd8a | ||
|
0394211021 | ||
|
1f367c641e | ||
|
ba5d96bb71 | ||
|
59a06dbc3b | ||
|
c758c59066 | ||
|
2b56ca8599 | ||
|
67053beda9 | ||
|
6bb7a155cd | ||
|
83a535928d | ||
|
9067a024ab | ||
|
0399250906 | ||
|
3a511d0647 | ||
|
1a87fb6239 | ||
|
575e73dccd | ||
|
6bf4add07c | ||
|
87523570cf | ||
|
25182c7dcf | ||
|
6a9b9247ce | ||
|
c90efc2078 | ||
|
eef6691557 | ||
|
b3ed0027ff | ||
|
55e0a7effe | ||
|
c1b84368a9 | ||
|
baf51f9c32 | ||
|
ce11a4b9c1 | ||
|
b1c1263cca | ||
|
8c3e376873 | ||
|
0c47f1daa9 | ||
|
a84ebbc68f | ||
|
48e2de6ca4 | ||
|
6443af34a0 | ||
|
7b89db17bc | ||
|
bc68207f40 | ||
|
fc30a74cd1 | ||
|
416238db29 | ||
|
5794432288 | ||
|
1fb154f7fe | ||
|
c9fbf197f9 | ||
|
21a5e27cd2 | ||
|
dbeb102dc4 | ||
|
1e7e7a7b7a | ||
|
d73504d69c | ||
|
c67893815b | ||
|
ce903c9280 | ||
|
65ad2df643 | ||
|
231ac139d4 | ||
|
57bcf6bc03 | ||
|
e879cd3968 | ||
|
bfb8e90b1e | ||
|
373f7f75e0 | ||
|
bdc5c2e9fb | ||
|
df320a2375 | ||
|
e45ef63d41 | ||
|
00c9410253 | ||
|
e0f01a58d2 | ||
|
b2093e822a | ||
|
e4abc7ef41 | ||
|
fd1ee4f43c | ||
|
ffcf09efd0 | ||
|
fae68d40fd | ||
|
18cdba65cf | ||
|
fe3a55ff95 | ||
|
9b7dbc97b2 | ||
|
63a3602464 | ||
|
fc99d85efc | ||
|
e37a6c66be | ||
|
c7a23058c8 | ||
|
652d98f6c6 | ||
|
5048c460f1 | ||
|
8e94044904 | ||
|
d7845f2988 | ||
|
a869e9dc2c | ||
|
e1b6c5149a | ||
|
e9a003328d | ||
|
df360f7ccc | ||
|
3d4a4cd960 | ||
|
1628d4901c | ||
|
b30a8568e5 | ||
|
92f0fd8745 | ||
|
f09c6d7a50 | ||
|
5ee2f40608 | ||
|
185c2d8496 | ||
|
b3d9fe5473 | ||
|
1d8105a84a | ||
|
898376888d | ||
|
6544f4c0b6 | ||
|
44213fbad2 | ||
|
e4d5d69524 | ||
|
cab4b3aba8 | ||
|
7dfbe5a539 | ||
|
a8418025db | ||
|
47fa736bdc | ||
|
ed0f574339 | ||
|
a417cc3aca | ||
|
04aa77253f | ||
|
8b06c3df19 | ||
|
d68be6e9af | ||
|
7fc66aecb6 | ||
|
2340138ab5 | ||
|
aef3c346a0 | ||
|
a8a666383a | ||
|
0c9859e3ac | ||
|
71328274ec | ||
|
fc20f6ab0b | ||
|
89b46265ab | ||
|
784711c4e3 | ||
|
801d24ae10 | ||
|
adc9575504 | ||
|
18c7469d25 | ||
|
3338f9142c | ||
|
b72127411c | ||
|
24d53cd7d8 | ||
|
b0d9127b78 | ||
|
179bd44665 | ||
|
2eadd986b4 | ||
|
e4658bb044 | ||
|
e890e2f4f8 | ||
|
bdb83b5295 | ||
|
c1cb9345ad | ||
|
783520f734 | ||
|
df2ed078b3 | ||
|
507d34dd8c | ||
|
93d7597739 | ||
|
4f8a4d30d8 | ||
|
7989020a04 | ||
|
2b9fd723f9 | ||
|
0865aabda4 | ||
|
5dc1d416ef | ||
|
73c3737ef4 | ||
|
ee71caf2bc | ||
|
9743f4b49e | ||
|
c1af19c7b9 | ||
|
1edb62b3d1 | ||
|
62dd12ab78 | ||
|
e57ebbc74f | ||
|
d14470830c | ||
|
0b5f10c508 | ||
|
e545cae537 | ||
|
031a3a2f0a | ||
|
a1a7ca321f | ||
|
ea9c7a4a27 | ||
|
b810e07053 | ||
|
ae976c377e | ||
|
83378174b7 | ||
|
53155bd7d6 | ||
|
344da194ca | ||
|
f3892325ce | ||
|
0d6cd21457 | ||
|
7affa8b7a1 | ||
|
e2f414f98c | ||
|
d94f86aec4 | ||
|
e1bbd9984a | ||
|
4ae1df4eb9 | ||
|
eb420af865 | ||
|
3c3d73a189 | ||
|
91d0eb30b8 | ||
|
238f6b2eda | ||
|
9e70629ada | ||
|
2575c5d448 | ||
|
c90c5bcc2a | ||
|
431f55ef26 | ||
|
3d246a30ba | ||
|
1f596e963d | ||
|
dcfb64d907 | ||
|
e58ddbc809 | ||
|
1a57b02f80 | ||
|
3bba4ab630 | ||
|
373766c5b5 | ||
|
c9108f530c | ||
|
6bd384b01a | ||
|
e6a21dc14f | ||
|
46c7c193be | ||
|
47043bc965 | ||
|
6fffae6d46 | ||
|
0147af156c | ||
|
1d4e1296ec | ||
|
df4d142370 | ||
|
b859283f82 | ||
|
1b503f7903 | ||
|
4a84c80daa | ||
|
8507d07d3e | ||
|
ac93e0c22c | ||
|
b822fbdac8 | ||
|
a89cb17ce4 | ||
|
58bdcbd1ed | ||
|
0a986b1603 | ||
|
bc38466abf | ||
|
1eaa172a1b | ||
|
fc58dc5ef4 | ||
|
78fde47577 | ||
|
50550bfa99 | ||
|
57f48f462e | ||
|
01459d906a | ||
|
555bde87f8 | ||
|
ad07ee0de3 | ||
|
a4d2c6b0a6 | ||
|
96c3b727fe | ||
|
468cf866c3 | ||
|
bbe68a3319 | ||
|
4624188a85 | ||
|
a0e073b416 | ||
|
39a4cb3d77 | ||
|
a021475128 | ||
|
cb562ef27d | ||
|
6b809e76c4 | ||
|
16e99fc063 | ||
|
2eb6af10ba | ||
|
fef289e4fe | ||
|
4ec4942d8c | ||
|
6da73f6bc4 | ||
|
7671d12e42 | ||
|
d4866b09bb | ||
|
336c9288bf | ||
|
c96db56f33 | ||
|
9c75378310 | ||
|
1638f8e2f1 | ||
|
caff432c0b | ||
|
18a054747a | ||
|
78e7eaa689 | ||
|
350aa8240a | ||
|
ab9252e06f | ||
|
2c8ad2b89a | ||
|
f568f97e5e | ||
|
09ba036380 | ||
|
6f3dbad6e2 | ||
|
ec68f102a7 | ||
|
4a73fbf688 | ||
|
c6fb204d11 | ||
|
6583b6a636 | ||
|
128e51a4f6 | ||
|
ec5a9802fc | ||
|
cac05d5714 | ||
|
e3395e31ba | ||
|
28bcb96ec7 | ||
|
24cc07c09b | ||
|
3744f26295 | ||
|
5cf78e792b | ||
|
b0dbdeae27 | ||
|
d03f80c6b1 | ||
|
1f5f8f1213 | ||
|
e5a2e3961e | ||
|
7a4866b269 | ||
|
1cc2132a28 | ||
|
fad3f6ed78 | ||
|
449398b88f | ||
|
4dcabd67a7 | ||
|
5948ee0d80 | ||
|
2e50497bc1 | ||
|
49c6559049 | ||
|
77ebb7111e | ||
|
ce37e06e10 | ||
|
da06c14e60 | ||
|
e94f66a5fe | ||
|
5d1e6a8f7c | ||
|
78d8446a0b | ||
|
a96d2a47be | ||
|
399c4eb56d | ||
|
a92e9c9973 | ||
|
1c58b6a10c | ||
|
fcd2157050 | ||
|
194d42bf8c | ||
|
a8209ee38b | ||
|
563e6b2c2f | ||
|
33cce4bbcd | ||
|
356c5bf30f | ||
|
0ccf9f2c05 | ||
|
12eeb06c40 | ||
|
5aa6827258 | ||
|
39a0beb4ee | ||
|
cd9dc5cf96 | ||
|
60430b5267 | ||
|
c22a3048dc | ||
|
2c43076497 | ||
|
b6d21692e6 | ||
|
2ea37e7708 | ||
|
d7e3127e65 | ||
|
2d1b876acc | ||
|
1578810013 | ||
|
c50cc422b7 | ||
|
b0bea66b1d | ||
|
b1f4a2a590 | ||
|
c5e690c657 | ||
|
c04023948b | ||
|
283ea69a6e | ||
|
d8123bd372 | ||
|
ac88f3c8c1 | ||
|
256820aa03 | ||
|
98126e90b2 | ||
|
ea1691609b | ||
|
8887996718 | ||
|
3040b9ea12 | ||
|
3bce2e656f | ||
|
06bfe60c54 | ||
|
87e4fa5c6c | ||
|
379b9341ef | ||
|
198c191fd2 | ||
|
abff1f3259 | ||
|
d382671616 | ||
|
72c1a8ae25 | ||
|
e2b8573269 | ||
|
f7a6a767ab | ||
|
7d6c91c15a | ||
|
74126623c7 | ||
|
33ddccb3c5 | ||
|
ebcbc8cdb8 | ||
|
45de6ab822 | ||
|
7757960d96 | ||
|
f5ba2d5425 | ||
|
4158b99453 | ||
|
7001c27ed0 | ||
|
75a922b0c9 | ||
|
79a4fa55e0 | ||
|
89d84e0776 | ||
|
5c6fb9de66 | ||
|
76147d89c6 | ||
|
56603be2f9 | ||
|
75b441e7cb | ||
|
80a375fecb | ||
|
254fff208d | ||
|
a196f7a3b0 | ||
|
9a0fde3f33 | ||
|
dcf0e903ba | ||
|
8c32b36aa0 | ||
|
2be14c86c3 | ||
|
3b6d3bf107 | ||
|
36855143b7 | ||
|
350524114a | ||
|
f0fdcb6a6e | ||
|
accbde78e0 | ||
|
038692cafc | ||
|
f112721398 | ||
|
c2c782f6e6 | ||
|
27012f0c8d | ||
|
fe3bbb0c70 | ||
|
d2385b70ec | ||
|
50d1d062ad | ||
|
7d9e8bffae | ||
|
f5cce18a55 | ||
|
24a6f00835 | ||
|
e3394bf8b2 | ||
|
202cbd4499 | ||
|
9503829e18 | ||
|
9022ab6020 | ||
|
f5ef6cdd57 | ||
|
66fe78e5f1 | ||
|
7418e27994 | ||
|
bc514b1d5c | ||
|
c214209747 | ||
|
a7e571c3b9 | ||
|
1a0a62058c | ||
|
2e7e14b83c | ||
|
a0aa3c99b2 | ||
|
33fda0d581 | ||
|
76c9f576d3 | ||
|
60198d154e | ||
|
1766b418c6 | ||
|
8500846654 | ||
|
dfaa848ab7 | ||
|
d675d3234c | ||
|
aef8e2eba7 | ||
|
c011145029 | ||
|
863b4bfdea | ||
|
cafc3d676f | ||
|
561bcbe545 | ||
|
1c20027b62 | ||
|
bbdab2274a | ||
|
c556b88f37 | ||
|
7c7bf23761 | ||
|
20ba4b9b13 | ||
|
569ff3077f | ||
|
eccb542610 | ||
|
fea13bdc88 | ||
|
50cbd9716a | ||
|
5f874e44a7 | ||
|
b34de2d5cf | ||
|
3b87f0aba6 | ||
|
f3634c881d | ||
|
9c723b3db3 | ||
|
e3956150a3 | ||
|
392e7c37a4 | ||
|
561ed0ea23 | ||
|
42a8f3180d | ||
|
4c84fde31b | ||
|
8710b1334f | ||
|
c7790693df | ||
|
132d6ba50c | ||
|
224f10663d | ||
|
cb78d568c5 | ||
|
316ce220bf | ||
|
70a339c5d4 | ||
|
9307511c88 | ||
|
0d59ce4f8c | ||
|
d51b8cc670 | ||
|
a729c7ab3a | ||
|
c9898ad833 | ||
|
9ea89f7b1b | ||
|
cf23149ab4 | ||
|
37ee60aca1 | ||
|
5feaa30e58 | ||
|
c2a3698015 | ||
|
e8e1c7e3b4 | ||
|
cdc1c0dce4 | ||
|
1751f78028 | ||
|
d2e4f46abd | ||
|
1695312833 | ||
|
db5f24ae28 | ||
|
6faaf78fc0 | ||
|
4ce3881636 | ||
|
ea84d1af56 | ||
|
a459e98cab | ||
|
aeb9536a4e | ||
|
fcd72799b7 | ||
|
af5757b53d | ||
|
d8dd860e04 | ||
|
a9be97108c | ||
|
dc91bcad9c | ||
|
a9e1308151 | ||
|
2a4a84197a | ||
|
f012ba7d73 | ||
|
30cd0644fa | ||
|
1b6dc0fd8b | ||
|
22f2053324 | ||
|
46fc0ab47f | ||
|
ccf0d8e163 | ||
|
eb5a6ccde9 | ||
|
ece9f9ceae | ||
|
9ec1b17515 | ||
|
89cf411d18 | ||
|
62cb26b4bf | ||
|
d08af5c63c | ||
|
627b01c664 | ||
|
47c5882ac5 | ||
|
61c73f1572 | ||
|
7e1c0c53e4 | ||
|
90c4cee9ad | ||
|
6afddc9b8a | ||
|
aef8c5da7b | ||
|
b73edf2822 | ||
|
82bb785f9d | ||
|
ded021cc76 | ||
|
994d9c6027 | ||
|
fcf19a07e8 | ||
|
157b50c58e | ||
|
e982d9c13c | ||
|
20ca590684 | ||
|
1bfe9e2eda | ||
|
62122f6a96 | ||
|
08ebedb4cc | ||
|
fb7c5d0fff | ||
|
82643b1f4a | ||
|
a842a58608 | ||
|
afefd5f4f5 | ||
|
8eff3dca21 | ||
|
36c10a9c78 | ||
|
428c00901b | ||
|
2ecf04a2e5 | ||
|
1eeacadbf2 | ||
|
f6b17909f2 | ||
|
c492204e26 | ||
|
787ebd9588 | ||
|
7e9e213974 | ||
|
6d3ec149b3 | ||
|
935eaa6edb | ||
|
dd96d1222d | ||
|
8bc6718a4a | ||
|
dcd93af6eb | ||
|
beeec64271 | ||
|
6fb2e02e3a | ||
|
0aff130ea4 | ||
|
fcb70c8e8b | ||
|
1e071550ae | ||
|
873ac4dc5d | ||
|
4fd4309829 | ||
|
a7b991efb1 | ||
|
bfccca9aaf | ||
|
e96807fa6d | ||
|
6d4c93968f | ||
|
34eaccdbee | ||
|
7613d07c35 | ||
|
27d8f4174c | ||
|
f5f3b08cca | ||
|
71fc850df4 | ||
|
ac11dec484 | ||
|
c15a52cb46 | ||
|
56ecdec2cb | ||
|
406d91948d | ||
|
11c8024c2a | ||
|
823fdcdd97 | ||
|
fd17ab4c8b | ||
|
2adbbc2899 | ||
|
5c643cc796 | ||
|
781f1b712e | ||
|
6bbf310348 | ||
|
7ea74cfa0d | ||
|
4267c1ccf7 | ||
|
c74dd49bc5 | ||
|
b762cac50b | ||
|
84e75fdfe8 | ||
|
f8b694d7d7 | ||
|
bc64802f6e | ||
|
f2715fa97b | ||
|
3c4ccdd2fe | ||
|
eb83a834a1 | ||
|
605a8f371d | ||
|
a3111003a2 | ||
|
e2c7337d11 | ||
|
87c3dcc057 | ||
|
13cbbc8342 | ||
|
2d3057d5cf | ||
|
b6e9c7aabf | ||
|
352ee7bfaa | ||
|
95d7582f08 | ||
|
21cb405965 | ||
|
328b60d021 | ||
|
6a33ed337b | ||
|
0941667150 | ||
|
b351617d2f | ||
|
ff20663b8d | ||
|
7515d21510 | ||
|
d48a7c7295 | ||
|
314b63705d | ||
|
3269b84385 | ||
|
4a2305dca1 | ||
|
e288833085 | ||
|
4cf9309ee1 | ||
|
e35069de1c | ||
|
47c316e0ad | ||
|
75bde149cf | ||
|
6382238834 | ||
|
b69c1ec5fe | ||
|
01f771c6ca | ||
|
6b6879ba64 | ||
|
91f1f588e6 | ||
|
5204bb366e | ||
|
e6caa8c7ff | ||
|
51546436ce | ||
|
ac93b379a9 | ||
|
abbeb45d17 | ||
|
4af72806dc | ||
|
39baf1a3c9 | ||
|
201a826381 | ||
|
bf324a1b79 | ||
|
d03b3fd50d | ||
|
8deac56e40 | ||
|
dae0e3ccae | ||
|
73f208923a | ||
|
4aea0081ea | ||
|
27dffaaf2f | ||
|
652ec4b69b | ||
|
c8ad9718bb | ||
|
cb104017ad | ||
|
0c28f3c6f1 | ||
|
e02bc6cc03 | ||
|
70d18eba59 | ||
|
38c13cf5ef | ||
|
342fcb4024 | ||
|
6546eaeb63 | ||
|
f084288ac9 | ||
|
93c28b24bb | ||
|
c242c37869 | ||
|
6d217dbc50 | ||
|
529a9cbc40 | ||
|
6f8758c819 | ||
|
53406a60cf | ||
|
b0509bc990 | ||
|
d8080a9fda | ||
|
62e7fe06a5 | ||
|
dfe30b6d78 | ||
|
861aaf4cde | ||
|
9bfa1a3577 | ||
|
d047a748b7 | ||
|
ef0329e03b | ||
|
0f68bad3eb | ||
|
827a08ac26 | ||
|
6492fe1c66 | ||
|
7ef5975ee8 | ||
|
b5f1ae1291 | ||
|
a90b6415de | ||
|
77087d2916 | ||
|
38f511c2fb | ||
|
9d25d82bed | ||
|
bef7ff4a2d | ||
|
fa48b4a99b | ||
|
5b630d6a20 | ||
|
236e2cfe8e | ||
|
263c09500f | ||
|
d649e3563f | ||
|
5c23c6d88e | ||
|
5639e4c1ff | ||
|
8fd6382bf4 | ||
|
cb6a044584 | ||
|
b508fe8679 | ||
|
d211450b5b | ||
|
81d77da17e | ||
|
7cefb0fadc | ||
|
ece2312ec5 | ||
|
97b9b733c6 | ||
|
c681d95ad7 | ||
|
baa15d0c42 | ||
|
1d8753e2ba | ||
|
60f06dac52 | ||
|
a7c7881795 | ||
|
ef1ebfc491 | ||
|
bc67379c26 | ||
|
0e2bb350c0 | ||
|
f0591b8956 | ||
|
9fc417edfa | ||
|
45ad08ec32 | ||
|
d7fc5069be | ||
|
b9a5dc3c70 | ||
|
1426dd5b83 | ||
|
d80cea1caa | ||
|
7a6a8c2fd7 | ||
|
ebf81a61c3 | ||
|
07750bfb4c | ||
|
0736723200 | ||
|
de2bec4425 | ||
|
121b0f0cd6 | ||
|
c97cab0ebb | ||
|
cfd67b1c8d | ||
|
9138e508c6 | ||
|
d7ada7904b | ||
|
0f1d4039a9 | ||
|
9c5fbe5521 | ||
|
cd0ec4dbcd | ||
|
238a64bca9 | ||
|
fc2e2d2cfc | ||
|
7cae754867 | ||
|
6cb011ff96 | ||
|
21e1af8ce5 | ||
|
17903f6c15 | ||
|
a65e68d023 | ||
|
61a2ed2583 | ||
|
4876ad8671 | ||
|
59db2860d7 | ||
|
531a87e969 | ||
|
60a0d6d31a | ||
|
11d3f88654 | ||
|
db12a4b991 | ||
|
6d8e265f50 | ||
|
842431feaf | ||
|
7b621b7417 | ||
|
3d1d448afb | ||
|
bf0aac2339 | ||
|
704452732a | ||
|
fa029e0c09 | ||
|
994a39b0df | ||
|
56b800cd33 | ||
|
b8399f10b2 | ||
|
0aa6cc7e5a | ||
|
f956f9d2fe | ||
|
08c6df434e | ||
|
11bbd58e33 | ||
|
4bfb4fb55d | ||
|
5f1f702490 | ||
|
a77e59cb53 | ||
|
4b0a06cef7 | ||
|
00d28fe26e | ||
|
5dd5826b33 | ||
|
cbedc4b933 | ||
|
6b39fc1bbb | ||
|
f8f9b86cb4 | ||
|
1a5fb5fa51 | ||
|
c24153c6ca | ||
|
762bddb158 | ||
|
2922f0f2dc | ||
|
3849683a59 | ||
|
247ee757d1 | ||
|
03f69eff86 | ||
|
08adb805e9 | ||
|
3788ef58ec | ||
|
310fc81bd9 | ||
|
9569b6c7a5 | ||
|
0febd32c71 | ||
|
a90c516c71 | ||
|
dad7264636 | ||
|
27f346d8f1 | ||
|
e2176d0566 | ||
|
17121b2066 | ||
|
1b43c54725 | ||
|
398388de10 | ||
|
b8c763f749 | ||
|
b4f62e78de | ||
|
8c4224f1ce | ||
|
b7685a151d | ||
|
e14ec9b83e | ||
|
23525b0baa | ||
|
d62f63aff8 | ||
|
dcd00c2308 | ||
|
c782f73f30 | ||
|
6ff9a51058 | ||
|
9041e5e38d | ||
|
ce1621f7ed | ||
|
da63991972 | ||
|
b6ad4ae974 | ||
|
5d8fc40051 | ||
|
4b0318cd38 | ||
|
0c2c21b67e | ||
|
9bbd72d179 | ||
|
249b73f8c6 | ||
|
aabfc41ce9 | ||
|
5bcf89394e | ||
|
35072c0400 | ||
|
296febcffa | ||
|
cfdfdce2fe | ||
|
2a7f89d6b5 | ||
|
30023422b8 | ||
|
702297e722 | ||
|
07102c4988 | ||
|
3b442531ef | ||
|
f6e60abbf5 | ||
|
dab1ca1cb7 | ||
|
bba3a17977 | ||
|
4a22814c75 | ||
|
91be939c19 | ||
|
0b0f2848da | ||
|
055d437865 | ||
|
d1493d5fb3 | ||
|
b86a56f75b | ||
|
8498554f23 | ||
|
2505d67a7d | ||
|
03ea298236 | ||
|
a3302b1be8 | ||
|
58db9576b9 | ||
|
a9b9c3ccf0 | ||
|
ea516f88dc | ||
|
5f55a3f128 | ||
|
53063931ab | ||
|
6727e2766b | ||
|
c10fc675db | ||
|
fa889112c5 | ||
|
0e96f8d468 | ||
|
d5ad63c6e9 | ||
|
cd8f90c82d | ||
|
24eb2ef8ec | ||
|
37ddc395ea | ||
|
02a8099514 | ||
|
9dbee19961 | ||
|
b49fed4cf5 | ||
|
2b5d32c313 | ||
|
7c518aa712 | ||
|
6f3c43c95f | ||
|
a168dbcc01 | ||
|
3087f7c367 | ||
|
3f969ae20d | ||
|
19797c747e | ||
|
caadd889ce |
1197 changed files with 87594 additions and 45257 deletions
168
.env.defaults
168
.env.defaults
|
@ -2,108 +2,120 @@
|
||||||
|
|
||||||
# Copy this file to .env to make modifications
|
# Copy this file to .env to make modifications
|
||||||
|
|
||||||
# Base config
|
# --- Minimum Version (Format: YYYYMMDDNNN) ---
|
||||||
|
# Bump this when we want to nudge the user to refresh.
|
||||||
|
MINIMUM_VERSION=20220708001
|
||||||
|
|
||||||
|
# This is 'false' in the production instances:
|
||||||
|
IGNORE_MINIMUM_VERSION=true
|
||||||
|
|
||||||
|
# --- Base config ---
|
||||||
WEBPACK_WEB_PORT=9090
|
WEBPACK_WEB_PORT=9090
|
||||||
WEBPACK_ELECTRON_PORT=9091
|
WEBPACK_ELECTRON_PORT=9091
|
||||||
WEB_SERVER_PORT=1337
|
WEB_SERVER_PORT=1337
|
||||||
|
|
||||||
## APIS
|
# -- APIs ---
|
||||||
LBRY_WEB_API=https://api.na-backend.odysee.com
|
LBRY_WEB_API=https://api.na-backend.odysee.com
|
||||||
LBRY_WEB_STREAMING_API=https://cdn.lbryplayer.xyz
|
LBRY_WEB_PUBLISH_API=https://publish.na-backend.odysee.com/v1
|
||||||
|
LBRY_WEB_PUBLISH_API_V2=https://publish.na-backend.odysee.com/api/v2/publish/
|
||||||
LBRY_WEB_BUFFER_API=https://collector-service.api.lbry.tv/api/v1/events/video
|
LBRY_WEB_BUFFER_API=https://collector-service.api.lbry.tv/api/v1/events/video
|
||||||
COMMENT_SERVER_API=https://comments.odysee.com/api/v2
|
LBRY_API_URL=https://api.odysee.com
|
||||||
COMMENT_SERVER_NAME=Odysee
|
COMMENT_SERVER_API=https://comments.odysee.tv/api/v2
|
||||||
SEARCH_SERVER_API=https://lighthouse.odysee.com/search
|
SEARCH_SERVER_API_ALT=https://recsys.odysee.tv/search
|
||||||
SOCKETY_SERVER_API=wss://sockety.odysee.com/ws
|
SEARCH_SERVER_API=https://lighthouse.odysee.tv/search
|
||||||
THUMBNAIL_CDN_URL=https://image-processor.vanwanet.com/optimize/
|
SOCKETY_SERVER_API=wss://sockety.odysee.tv/ws
|
||||||
WELCOME_VERSION=1.2
|
RECSYS_ENDPOINT=https://recsys.odysee.tv/v1/lvv
|
||||||
|
RECSYS_FYP_ENDPOINT=https://recsys.odysee.tv/v1/u
|
||||||
|
# -Disable boost due to instability:
|
||||||
|
# IMAGE_PROXY_URL=https://boost.vanwanet.com/index.php
|
||||||
|
THUMBNAIL_CDN_URL=https://thumbnails.odycdn.com/optimize/
|
||||||
|
THUMBNAIL_CARDS_CDN_URL=https://thumbnails.odycdn.com/card/s:1280:720/quality:85/plain/
|
||||||
|
LOCALE_API=https://api.odysee.com/legal/requirements
|
||||||
|
THUMBNAIL_HEIGHT=220
|
||||||
|
THUMBNAIL_HEIGHT_POSTER=720
|
||||||
|
THUMBNAIL_WIDTH=390
|
||||||
|
THUMBNAIL_WIDTH_POSTER=1280
|
||||||
|
THUMBNAIL_QUALITY=85
|
||||||
|
THUMBNAIL_CDN_SIZE_LIMIT_BYTES=5242880
|
||||||
|
PLAYER_SERVER=https://player.odycdn.com
|
||||||
|
WELCOME_VERSION=1.0
|
||||||
|
|
||||||
# STRIPE
|
# --- Stripe ---
|
||||||
# STRIPE_PUBLIC_KEY='pk_test_NoL1JWL7i1ipfhVId5KfDZgo'
|
# STRIPE_PUBLIC_KEY='pk_test_NoL1JWL7i1ipfhVId5KfDZgo'
|
||||||
|
|
||||||
# Analytics
|
# --- OG ---
|
||||||
MATOMO_URL=https://analytics.lbry.com/
|
OG_TITLE_SUFFIX=| odysee.com
|
||||||
MATOMO_ID=4
|
OG_HOMEPAGE_TITLE=Odysee
|
||||||
|
OG_IMAGE_URL=https://thumbnails.odycdn.com/optimize/s:1200:630/quality:85/plain/https://spee.ch/odysee-og:e.png
|
||||||
|
SITE_CANONICAL_URL=odysee.com
|
||||||
|
|
||||||
# OG
|
# --- UI ---
|
||||||
OG_TITLE_SUFFIX=| lbry.tv
|
DOMAIN=odysee.com
|
||||||
OG_HOMEPAGE_TITLE=lbry.tv
|
URL=https://odysee.com
|
||||||
OG_IMAGE_URL=
|
SITE_TITLE=Odysee
|
||||||
SITE_CANONICAL_URL=https://lbry.tv
|
SITE_NAME=Odysee
|
||||||
|
SITE_DESCRIPTION=Explore a whole universe of videos on Odysee from regular people just like you!
|
||||||
|
SITE_HELP_EMAIL=help@odysee.com
|
||||||
|
LOGO_TITLE=odysee
|
||||||
|
TWITTER_ACCOUNT=OdyseeTeam
|
||||||
|
LOADING_BAR_COLOR=#e50054
|
||||||
|
|
||||||
# UI
|
|
||||||
## Custom Site info
|
|
||||||
DOMAIN=lbry.tv
|
|
||||||
URL=https://lbry.tv
|
|
||||||
SITE_TITLE=LBRY
|
|
||||||
SITE_NAME=LBRY
|
|
||||||
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
|
|
||||||
SITE_HELP_EMAIL=help@lbry.com
|
|
||||||
LOGO_TITLE=LBRY
|
|
||||||
CLOUD_CONNECT_SITE_NAME=Odysee
|
|
||||||
## Social media
|
|
||||||
TWITTER_ACCOUNT=LBRYcom
|
|
||||||
BRANDED_SITE=odysee
|
BRANDED_SITE=odysee
|
||||||
|
SIMPLE_SITE=false
|
||||||
|
ENABLE_WILD_WEST=true
|
||||||
|
CUSTOM_HOMEPAGE=false
|
||||||
|
SHOW_ADS=true
|
||||||
|
ENABLE_MATURE=false
|
||||||
|
ENABLE_UI_NOTIFICATIONS=true
|
||||||
|
#SHOW_TAGS_INTRO=false
|
||||||
|
USE_LOCAL_HOMEPAGE_DATA=true
|
||||||
|
|
||||||
## OLD IMAGE ASSETS
|
AUTO_FOLLOW_CHANNELS=lbry://@lbry#3fda836a92faaceedfe398225fb9b2ee2ed1f01a
|
||||||
#YRBL_HAPPY_IMG_URL=https://player.odysee.com/api/v3/streams/free/yrbl-happy/7aa50a7e5adaf48691935d55e45d697547392929/839d9a
|
|
||||||
#YRBL_SAD_IMG_URL=https://player.odysee.com/api/v3/streams/free/yrbl-sad/c2d9649633d974e5ffb503925e1f17d951f1bd0f/f262dd
|
|
||||||
|
|
||||||
# LOCALE
|
# --- Image Assets ---
|
||||||
|
YRBL_HAPPY_IMG_URL=https://thumbnails.odycdn.com/optimize/s:300:300/quality:85/plain/https://spee.ch/spaceman-happy:a.png
|
||||||
|
YRBL_SAD_IMG_URL=https://thumbnails.odycdn.com/optimize/s:300:300/quality:85/plain/https://spee.ch/spaceman-sad:d.png
|
||||||
|
LOGIN_IMG_URL=https://thumbnails.odycdn.com/optimize/s:400:507/quality:85/plain/https://player.odycdn.com/speech/odysee-sign-up:d.png
|
||||||
|
LOGO=https://thumbnails.odycdn.com/optimize/s:100:100/quality:85/plain/https://spee.ch/odysee-logo-png:3.png
|
||||||
|
LOGO_WHITE_TEXT=https://thumbnails.odycdn.com/optimize/s:1000:300/quality:85/plain/https://spee.ch/odysee-white-png:f.png
|
||||||
|
LOGO_DARK_TEXT=https://thumbnails.odycdn.com/optimize/s:1000:300/quality:85/plain/https://spee.ch/odysee-png:2.png
|
||||||
|
AVATAR_DEFAULT=https://thumbnails.odycdn.com/optimize/s:160:160/quality:85/plain/https://spee.ch/spaceman-png:2.png
|
||||||
|
MISSING_THUMB_DEFAULT=https://thumbnails.odycdn.com/optimize/s:390:220/quality:85/plain/https://spee.ch/missing-thumb-png
|
||||||
|
FAVICON=https://odysee.com/public/favicon-spaceman.png
|
||||||
|
|
||||||
|
# --- Locale ---
|
||||||
DEFAULT_LANGUAGE=en
|
DEFAULT_LANGUAGE=en
|
||||||
|
|
||||||
## CUSTOM SETTINGS
|
# --- Custom Settings ---
|
||||||
# Additional settings for below are found in ui/constants/settings and are for
|
# Additional settings for below are found in ui/constants/settings and are for
|
||||||
# preventing user settings from applying to custom sites without overwriting them.
|
# preventing user settings from applying to custom sites without overwriting them.
|
||||||
# UNSYNCED_SETTINGS='theme dark_mode_times automatic_dark_mode_enabled'
|
# UNSYNCED_SETTINGS='theme dark_mode_times automatic_dark_mode_enabled'
|
||||||
|
|
||||||
## LINKED CONTENT WHITELIST
|
# --- Linked Content Whitelist ---
|
||||||
KNOWN_APP_DOMAINS=lbry.tv,lbry.lat,odysee.com
|
KNOWN_APP_DOMAINS=open.lbry.com,lbry.tv,lbry.lat,odysee.com
|
||||||
|
|
||||||
## CUSTOM CONTENT
|
# --- Features & Limits ---
|
||||||
# If the following is true, copy custom/homepage.example.js to custom/homepage.js and modify
|
CHANNEL_CREATION_LIMIT=5
|
||||||
CUSTOM_HOMEPAGE=false
|
|
||||||
|
|
||||||
# Add channels to auto-follow on first run
|
|
||||||
AUTO_FOLLOW_CHANNELS=lbry://@lbry#3fda836a92faaceedfe398225fb9b2ee2ed1f01a
|
|
||||||
|
|
||||||
## FEATURES AND LIMITS
|
|
||||||
SIMPLE_SITE=false
|
|
||||||
#BRANDED_SITE
|
|
||||||
|
|
||||||
ENABLE_COMMENT_REACTIONS=true
|
|
||||||
ENABLE_FILE_REACTIONS=true
|
|
||||||
ENABLE_CREATOR_REACTIONS=true
|
|
||||||
ENABLE_NO_SOURCE_CLAIMS=false
|
|
||||||
ENABLE_PREROLL_ADS=false
|
|
||||||
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS=4
|
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS=4
|
||||||
CHANNEL_STAKED_LEVEL_LIVESTREAM=5
|
ENABLE_COMMENT_REACTIONS=true
|
||||||
|
ENABLE_CREATOR_REACTIONS=true
|
||||||
|
ENABLE_FILE_REACTIONS=true
|
||||||
|
ENABLE_NO_SOURCE_CLAIMS=true
|
||||||
|
ENABLE_PREROLL_ADS=true
|
||||||
|
LIGHTHOUSE_DEFAULT_TYPES=audio,video
|
||||||
WEB_PUBLISH_SIZE_LIMIT_GB=4
|
WEB_PUBLISH_SIZE_LIMIT_GB=4
|
||||||
LOADING_BAR_COLOR=#2bbb90
|
|
||||||
LIGHTHOUSE_DEFAULT_TYPES=audio,video,text,image,application
|
|
||||||
|
|
||||||
SHOW_ADS=false
|
|
||||||
|
|
||||||
## SIMPLE_SITE REPLACEMENTS
|
|
||||||
ENABLE_MATURE=true
|
|
||||||
ENABLE_UI_NOTIFICATIONS=false
|
|
||||||
|
|
||||||
#ENABLE_LINK_TO_APP=true
|
|
||||||
#FORCE_ANALYTICS=true
|
|
||||||
#ENABLE_ADVANCED_FILTER=true
|
|
||||||
#ENABLE_PAID_CONTENT=true
|
#ENABLE_PAID_CONTENT=true
|
||||||
#USE_FOOTER=true
|
|
||||||
#USE_DISCOVER_WHITELIST=false
|
|
||||||
#ENABLE_WILD_WEST=false
|
|
||||||
#FULL_SIDE_LINKS=true
|
|
||||||
#SHOW_TAGS_INTRO=false
|
|
||||||
|
|
||||||
# SEARCH TYPES
|
# --- Firebase ---
|
||||||
#VIDEO_ENABLED=true
|
FIREBASE_API_KEY=AIzaSyAgc-4QORyglpYZ3qH9E5pDauEDOJXgM3A
|
||||||
#AUDIO_ENABLED=true
|
FIREBASE_AUTH_DOMAIN=lbry-mobile.firebaseapp.com
|
||||||
#POSTS_ENABLED=true
|
FIREBASE_PROJECT_ID=lbry-mobile
|
||||||
#IMAGES_ENABLED=true
|
FIREBASE_STORAGE_BUCKET=lbry-mobile.appspot.com
|
||||||
#FILES_ENABLED=true
|
FIREBASE_MESSAGING_SENDER_ID=638894153788
|
||||||
#MODELS_ENABLED=true
|
FIREBASE_APP_ID=1:638894153788:web:35b295b15297201bd2e339
|
||||||
|
FIREBASE_MEASUREMENT_ID=G-2MPJGFEEXC
|
||||||
|
FIREBASE_VAPID_KEY=BFayEBpwMTU9GQQpXgitIJkfx-SD8-ltrFb3wLTZWgA27MfBhG4948pe0eERl432NzPrMKsbkXnA7ap_vLPgLYk
|
||||||
|
|
||||||
BRANDED_SITE=odysee
|
# --- Development ---
|
||||||
|
REPORT_NEW_STRINGS=false
|
||||||
|
|
|
@ -2,3 +2,6 @@ node_modules/*
|
||||||
./node_modules/**
|
./node_modules/**
|
||||||
**/node_modules/**
|
**/node_modules/**
|
||||||
web/dist/**
|
web/dist/**
|
||||||
|
**/plugins/inline-attachment/**
|
||||||
|
|
||||||
|
ui/component/viewers/videoViewer/internal/plugins/canAutoplay.js
|
||||||
|
|
11
.eslintrc
11
.eslintrc
|
@ -2,6 +2,9 @@
|
||||||
"parser": "babel-eslint",
|
"parser": "babel-eslint",
|
||||||
"extends": ["standard", "standard-jsx", "plugin:react/recommended", "plugin:flowtype/recommended"],
|
"extends": ["standard", "standard-jsx", "plugin:react/recommended", "plugin:flowtype/recommended"],
|
||||||
"plugins": ["flowtype", "import", "react-hooks"],
|
"plugins": ["flowtype", "import", "react-hooks"],
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": 2020
|
||||||
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"browser": true,
|
"browser": true,
|
||||||
"node": true
|
"node": true
|
||||||
|
@ -22,7 +25,13 @@
|
||||||
"rules": {
|
"rules": {
|
||||||
"brace-style": 0,
|
"brace-style": 0,
|
||||||
"camelcase": 0,
|
"camelcase": 0,
|
||||||
"comma-dangle": ["error", "always-multiline"],
|
"comma-dangle": ["error", {
|
||||||
|
"arrays": "always-multiline",
|
||||||
|
"objects": "always-multiline",
|
||||||
|
"imports": "always-multiline",
|
||||||
|
"exports": "always-multiline",
|
||||||
|
"functions": "never"
|
||||||
|
}],
|
||||||
"handle-callback-err": 0,
|
"handle-callback-err": 0,
|
||||||
"indent": 0,
|
"indent": 0,
|
||||||
"jsx-quotes": ["error", "prefer-double"],
|
"jsx-quotes": ["error", "prefer-double"],
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
.*/node_modules/react-plastic/.*
|
.*/node_modules/react-plastic/.*
|
||||||
.*/node_modules/raf-schd/.*
|
.*/node_modules/raf-schd/.*
|
||||||
.*/node_modules/react-beautiful-dnd/.*
|
.*/node_modules/react-beautiful-dnd/.*
|
||||||
.*/node_modules/resolve/test/.*
|
.*/node_modules/@emotion/.*
|
||||||
|
|
||||||
[include]
|
[include]
|
||||||
|
|
||||||
|
@ -15,7 +15,9 @@
|
||||||
[options]
|
[options]
|
||||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
|
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
|
||||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
|
||||||
|
suppress_comment=\\(.\\|\n\\)*\\$FlowIgnore
|
||||||
module.name_mapper='^constants\(.*\)$' -> '<PROJECT_ROOT>/ui/constants\1'
|
module.name_mapper='^constants\(.*\)$' -> '<PROJECT_ROOT>/ui/constants\1'
|
||||||
|
module.name_mapper='^contexts\(.*\)$' -> '<PROJECT_ROOT>/ui/contexts\1'
|
||||||
module.name_mapper='^util\(.*\)$' -> '<PROJECT_ROOT>/ui/util\1'
|
module.name_mapper='^util\(.*\)$' -> '<PROJECT_ROOT>/ui/util\1'
|
||||||
module.name_mapper='^redux\(.*\)$' -> '<PROJECT_ROOT>/ui/redux\1'
|
module.name_mapper='^redux\(.*\)$' -> '<PROJECT_ROOT>/ui/redux\1'
|
||||||
module.name_mapper='^types\(.*\)$' -> '<PROJECT_ROOT>/ui/types\1'
|
module.name_mapper='^types\(.*\)$' -> '<PROJECT_ROOT>/ui/types\1'
|
||||||
|
@ -31,12 +33,15 @@ module.name_mapper='^rewards\(.*\)$' -> '<PROJECT_ROOT>/ui/rewards\1'
|
||||||
module.name_mapper='^i18n\(.*\)$' -> '<PROJECT_ROOT>/ui/i18n\1'
|
module.name_mapper='^i18n\(.*\)$' -> '<PROJECT_ROOT>/ui/i18n\1'
|
||||||
module.name_mapper='^effects\(.*\)$' -> '<PROJECT_ROOT>/ui/effects\1'
|
module.name_mapper='^effects\(.*\)$' -> '<PROJECT_ROOT>/ui/effects\1'
|
||||||
module.name_mapper='^comments\(.*\)$' -> '<PROJECT_ROOT>/ui/comments\1'
|
module.name_mapper='^comments\(.*\)$' -> '<PROJECT_ROOT>/ui/comments\1'
|
||||||
|
module.name_mapper='^locale\(.*\)$' -> '<PROJECT_ROOT>/ui/locale\1'
|
||||||
module.name_mapper='^config\(.*\)$' -> '<PROJECT_ROOT>/config\1'
|
module.name_mapper='^config\(.*\)$' -> '<PROJECT_ROOT>/config\1'
|
||||||
module.name_mapper='^web\/component\(.*\)$' -> '<PROJECT_ROOT>/web/component\1'
|
module.name_mapper='^web\/component\(.*\)$' -> '<PROJECT_ROOT>/web/component\1'
|
||||||
module.name_mapper='^web\/effects\(.*\)$' -> '<PROJECT_ROOT>/web/effects\1'
|
module.name_mapper='^web\/effects\(.*\)$' -> '<PROJECT_ROOT>/web/effects\1'
|
||||||
module.name_mapper='^web\/page\(.*\)$' -> '<PROJECT_ROOT>/web/page\1'
|
module.name_mapper='^web\/page\(.*\)$' -> '<PROJECT_ROOT>/web/page\1'
|
||||||
module.name_mapper='^homepage\(.*\)$' -> '<PROJECT_ROOT>/ui/util/homepage\1'
|
module.name_mapper='^homepage\(.*\)$' -> '<PROJECT_ROOT>/ui/util/homepage\1'
|
||||||
module.name_mapper='^scss\/component\(.*\)$' -> '<PROJECT_ROOT>/ui/scss/component/\1'
|
module.name_mapper='^scss\/component\(.*\)$' -> '<PROJECT_ROOT>/ui/scss/component/\1'
|
||||||
|
module.name_mapper='^\$web\(.*\)$' -> '<PROJECT_ROOT>/web\1'
|
||||||
|
module.name_mapper='^\$ui\(.*\)$' -> '<PROJECT_ROOT>/ui\1'
|
||||||
|
|
||||||
esproposal.optional_chaining=enable
|
esproposal.optional_chaining=enable
|
||||||
|
|
||||||
|
|
5
.github/ISSUE_TEMPLATE/--bug-report.md
vendored
5
.github/ISSUE_TEMPLATE/--bug-report.md
vendored
|
@ -4,7 +4,6 @@ about: "Something isn't working \U0001F915"
|
||||||
title: ''
|
title: ''
|
||||||
labels: 'type: bug'
|
labels: 'type: bug'
|
||||||
assignees: ''
|
assignees: ''
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@ -16,7 +15,7 @@ Before reporting any issues, please make sure that you're using the latest versi
|
||||||
- App releases: https://github.com/lbryio/lbry-desktop/releases
|
- App releases: https://github.com/lbryio/lbry-desktop/releases
|
||||||
- Standalone daemon: https://github.com/lbryio/lbry/releases
|
- Standalone daemon: https://github.com/lbryio/lbry/releases
|
||||||
|
|
||||||
We are also available on live chat at https://chat.lbry.com
|
We are also available on live chat at https://chat.odysee.com
|
||||||
-->
|
-->
|
||||||
|
|
||||||
**Bug**
|
**Bug**
|
||||||
|
@ -24,6 +23,7 @@ A clear and concise description of what the bug is.
|
||||||
|
|
||||||
**To Reproduce**
|
**To Reproduce**
|
||||||
Steps to reproduce the behavior:
|
Steps to reproduce the behavior:
|
||||||
|
|
||||||
1. Go to '...'
|
1. Go to '...'
|
||||||
2. Click on '....'
|
2. Click on '....'
|
||||||
3. Scroll down to '....'
|
3. Scroll down to '....'
|
||||||
|
@ -49,6 +49,5 @@ If applicable, add screenshots to help explain your problem.
|
||||||
- LBRY Installation ID:
|
- LBRY Installation ID:
|
||||||
- Operating system:
|
- Operating system:
|
||||||
|
|
||||||
|
|
||||||
**Additional context**
|
**Additional context**
|
||||||
Add any other context about the problem here.
|
Add any other context about the problem here.
|
||||||
|
|
10
.github/ISSUE_TEMPLATE/--say-thank-you.md
vendored
10
.github/ISSUE_TEMPLATE/--say-thank-you.md
vendored
|
@ -1,22 +1,22 @@
|
||||||
---
|
---
|
||||||
name: "❤️Say thank you"
|
name: "❤️Say thank you"
|
||||||
about: If you enjoy using the LBRY app, let us know!
|
about: If you enjoy using Odysee's website, let us know!
|
||||||
title: LBRY rocks!
|
title: Odysee rocks!
|
||||||
labels: ''
|
labels: ''
|
||||||
assignees: ''
|
assignees: ''
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
If you are using the LBRY app - please let us know. We'd love to hear from you!
|
If you are using the Odysee's website - please let us know. We'd love to hear from you!
|
||||||
|
|
||||||
If you would like to help Nock - any of the following is greatly appreciated.
|
If you would like to help Nock - any of the following is greatly appreciated.
|
||||||
|
|
||||||
- Give the repository a star ⭐️
|
- Give the repository a star ⭐️
|
||||||
- Help out with issues
|
- Help out with issues
|
||||||
- Blog about LBRY
|
- Blog about Odysee
|
||||||
- Make tutorials
|
- Make tutorials
|
||||||
- Give talks
|
- Give talks
|
||||||
- Convince other people to use LBRY
|
- Convince other people to use Odysee
|
||||||
- Anything your heart desires
|
- Anything your heart desires
|
||||||
|
|
||||||
Thank you! 💐
|
Thank you! 💐
|
||||||
|
|
1
.github/PULL_REQUEST_TEMPLATE.md
vendored
1
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -34,7 +34,6 @@ What kind of change does this PR introduce?
|
||||||
Please check all that apply to this PR using "x":
|
Please check all that apply to this PR using "x":
|
||||||
|
|
||||||
- [ ] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
|
- [ ] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
|
||||||
- [ ] I added a line describing my change to CHANGELOG.md
|
|
||||||
- [ ] I have checked that this PR does not introduce a breaking change
|
- [ ] I have checked that this PR does not introduce a breaking change
|
||||||
- [ ] This PR introduces breaking changes and I have provided a detailed explanation below
|
- [ ] This PR introduces breaking changes and I have provided a detailed explanation below
|
||||||
|
|
||||||
|
|
127
.github/workflows/deploy.yml
vendored
127
.github/workflows/deploy.yml
vendored
|
@ -1,127 +0,0 @@
|
||||||
name: Node.js CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [master]
|
|
||||||
pull_request:
|
|
||||||
branches: [master]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
name: lint
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- run: corepack enable
|
|
||||||
- run: yarn
|
|
||||||
- run: yarn lint
|
|
||||||
|
|
||||||
build:
|
|
||||||
needs: ['lint']
|
|
||||||
name: 'build'
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node-version: [16.x]
|
|
||||||
os:
|
|
||||||
- ubuntu-latest
|
|
||||||
- macos-latest
|
|
||||||
- windows-latest
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
continue-on-error: true
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node-version }}
|
|
||||||
- run: corepack enable
|
|
||||||
|
|
||||||
- uses: maxim-lobanov/setup-xcode@v1
|
|
||||||
if: startsWith(runner.os, 'mac')
|
|
||||||
with:
|
|
||||||
xcode-version: '13.1.0'
|
|
||||||
# This is gonna be hacky.
|
|
||||||
# Github made us upgrade xcode, which would force an upgrade of electron-builder to fix mac.
|
|
||||||
# But there were bugs with copyfiles / extraFiles that kept seeing duplicates erroring on ln.
|
|
||||||
# A flag USE_HARD_LINKS=false in electron-builder.json was suggested in comments, but that broke windows builds.
|
|
||||||
# So for now we'll install python2 on mac and make sure it can find it.
|
|
||||||
# Remove this after successfully upgrading electron-builder.
|
|
||||||
# HACK part 1
|
|
||||||
- uses: Homebrew/actions/setup-homebrew@master
|
|
||||||
if: startsWith(runner.os, 'mac')
|
|
||||||
# HACK part 2
|
|
||||||
- name: Install Python2
|
|
||||||
if: startsWith(runner.os, 'mac')
|
|
||||||
run: |
|
|
||||||
/bin/bash -c "$(curl -fsSL https://github.com/alfredapp/dependency-scripts/raw/main/scripts/install-python2.sh)"
|
|
||||||
echo "PYTHON_PATH=/usr/local/bin/python" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Download blockchain headers
|
|
||||||
run: |
|
|
||||||
mkdir -p ./static/daemon
|
|
||||||
curl -o ./static/daemon/headers https://headers.lbry.io/blockchain_headers_latest
|
|
||||||
ls ./static/daemon
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
yarn dlx cross-env
|
|
||||||
yarn --network-timeout 600000
|
|
||||||
yarn build
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN_NEW }}
|
|
||||||
NOTARIZATION_USERNAME: ${{ secrets.NOTARIZATION_USERNAME }}
|
|
||||||
NOTARIZATION_PASSWORD: ${{ secrets.NOTARIZATION_PASSWORD }}
|
|
||||||
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
|
|
||||||
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
|
|
||||||
|
|
||||||
WIN_CSC_LINK: https://raw.githubusercontent.com/lbryio/lbry-desktop/master/build/cert2023.pfx
|
|
||||||
CSC_LINK: https://s3.amazonaws.com/files.lbry.io/cert/osx-csc-2021-2022.p12
|
|
||||||
|
|
||||||
# UI
|
|
||||||
MATOMO_URL: https://analytics.lbry.com/
|
|
||||||
MATOMO_ID: 4
|
|
||||||
WELCOME_VERSION: 1.0
|
|
||||||
DOMAIN: lbry.tv
|
|
||||||
URL: https://lbry.tv
|
|
||||||
SHARE_DOMAIN_URL: https://open.lbry.com
|
|
||||||
SITE_TITLE: lbry.tv
|
|
||||||
SITE_NAME: lbry.tv
|
|
||||||
SHOW_ADS: false
|
|
||||||
ENABLE_COMMENT_REACTIONS: true
|
|
||||||
ENABLE_NO_SOURCE_CLAIMS: false
|
|
||||||
|
|
||||||
DEFAULT_LANGUAGE: en
|
|
||||||
KNOWN_APP_DOMAINS: lbry.tv,lbry.lat,odysee.com
|
|
||||||
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS: 0
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2.2.4
|
|
||||||
if: |
|
|
||||||
startsWith(runner.os, 'linux')
|
|
||||||
with:
|
|
||||||
name: Linux
|
|
||||||
path: ./dist/electron/*.*
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2.2.4
|
|
||||||
if: |
|
|
||||||
startsWith(runner.os, 'mac')
|
|
||||||
with:
|
|
||||||
name: macOS
|
|
||||||
path: ./dist/electron/*.*
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2.2.4
|
|
||||||
if: |
|
|
||||||
startsWith(runner.os, 'windows')
|
|
||||||
with:
|
|
||||||
name: Windows
|
|
||||||
path: ./dist/electron/*.*
|
|
||||||
- uses: jakejarvis/s3-sync-action@master
|
|
||||||
if: |
|
|
||||||
startsWith(runner.os, 'linux')
|
|
||||||
with:
|
|
||||||
args: --acl public-read --follow-symlinks --exclude '*' --include '*.deb' --include '*.AppImage' --include '*.dmg'
|
|
||||||
env:
|
|
||||||
AWS_S3_BUCKET: ${{ secrets.ARTIFACTS_BUCKET }}
|
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.ARTIFACTS_KEY }}
|
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.ARTIFACTS_SECRET }}
|
|
||||||
AWS_REGION: 'us-east-1'
|
|
||||||
SOURCE_DIR: 'dist/electron'
|
|
||||||
DEST_DIR: 'app/release'
|
|
57
.github/workflows/node.js.yml
vendored
Normal file
57
.github/workflows/node.js.yml
vendored
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
||||||
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||||
|
|
||||||
|
name: Node.js CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
name: lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: Borales/actions-yarn@v3.0.0
|
||||||
|
- run: yarn lint
|
||||||
|
|
||||||
|
build:
|
||||||
|
needs: ['lint']
|
||||||
|
name: 'build'
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [14.x]
|
||||||
|
os:
|
||||||
|
- ubuntu-latest
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-node@v2-beta
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
yarn global add cross-env
|
||||||
|
yarn
|
||||||
|
yarn compile:web
|
||||||
|
env:
|
||||||
|
# UI
|
||||||
|
WELCOME_VERSION: 1.0
|
||||||
|
DOMAIN: odysee.com
|
||||||
|
URL: https://odysee.com
|
||||||
|
SHARE_DOMAIN_URL: https://odysee.com
|
||||||
|
SITE_TITLE: Odysee
|
||||||
|
SITE_NAME: Odysee
|
||||||
|
SHOW_ADS: false
|
||||||
|
YRBL_HAPPY_IMG_URL: https://player.odycdn.com/api/v3/streams/free/yrbl-happy/7aa50a7e5adaf48691935d55e45d697547392929/839d9a
|
||||||
|
YRBL_SAD_IMG_URL: https://player.odycdn.com/api/v3/streams/free/yrbl-sad/c2d9649633d974e5ffb503925e1f17d951f1bd0f/f262dd
|
||||||
|
ENABLE_COMMENT_REACTIONS: true
|
||||||
|
ENABLE_NO_SOURCE_CLAIMS: true
|
||||||
|
DEFAULT_LANGUAGE: en
|
||||||
|
KNOWN_APP_DOMAINS: lbry.tv,lbry.lat,odysee.com
|
||||||
|
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS: 4
|
10
.gitignore
vendored
10
.gitignore
vendored
|
@ -12,6 +12,7 @@ yarn-error.log
|
||||||
package-lock.json
|
package-lock.json
|
||||||
.transifexrc
|
.transifexrc
|
||||||
.idea/
|
.idea/
|
||||||
|
.vscode/
|
||||||
/build/daemon*
|
/build/daemon*
|
||||||
/lbrytv/dist/
|
/lbrytv/dist/
|
||||||
/lbrytv/node_modules
|
/lbrytv/node_modules
|
||||||
|
@ -33,12 +34,7 @@ package-lock.json
|
||||||
!/custom/robots.disallowall
|
!/custom/robots.disallowall
|
||||||
!/custom/robots.allowall
|
!/custom/robots.allowall
|
||||||
.env
|
.env
|
||||||
!.env.ody
|
.env.ody
|
||||||
.env.desktop
|
.env.desktop
|
||||||
.env.lbrytv
|
.env.lbrytv
|
||||||
.yarn/*
|
analyzeResults*.html
|
||||||
!.yarn/patches
|
|
||||||
!.yarn/plugins
|
|
||||||
!.yarn/sdks
|
|
||||||
!.yarn/versions
|
|
||||||
!.yarn/releases
|
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
{
|
{
|
||||||
"linters": {
|
"linters": {
|
||||||
"ui/**/*.{js,jsx,scss,json}": ["prettier --write", "git add"],
|
"ui/**/*.{js,jsx,scss,json}": ["prettier --write", "git add"],
|
||||||
"ui/**/*.{js,jsx}": ["eslint", "flow focus-check --color always", "git add"]
|
"extras/**/*.{js,jsx,scss,json}": ["prettier --write", "git add"],
|
||||||
|
"web/**/*.{js,jsx,scss,json}": ["prettier --write", "git add"],
|
||||||
|
"ui/**/*.{js,jsx}": ["eslint", "flow focus-check --color always", "git add"],
|
||||||
|
"extras/**/*.{js,jsx}": ["eslint", "flow focus-check --color always", "git add"],
|
||||||
|
"web/**/*.{js,jsx}": ["eslint", "git add"]
|
||||||
},
|
},
|
||||||
"ignore": ["node_modules", "dist/**/*", "package-lock.json"]
|
"ignore": ["node_modules", "web/dist/**/*", "dist/**/*", "package-lock.json"]
|
||||||
}
|
}
|
||||||
|
|
3
.prettierignore
Normal file
3
.prettierignore
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
**/plugins/inline-attachment/**
|
||||||
|
**/plugins/videojs-http-streaming--override/playlist-selectors.js
|
||||||
|
**/ui/constants/errors.js
|
|
@ -1,4 +1,4 @@
|
||||||
[defaults]
|
[defaults]
|
||||||
url = https://sentry.lbry.tech/
|
url = https://sentry.odysee.tv/
|
||||||
org = lbry
|
org = odysee
|
||||||
project = lbry-desktop-web
|
project = odysee-web
|
||||||
|
|
550
.yarn/plugins/@yarnpkg/plugin-version.cjs
vendored
550
.yarn/plugins/@yarnpkg/plugin-version.cjs
vendored
File diff suppressed because one or more lines are too long
785
.yarn/releases/yarn-3.2.0.cjs
vendored
785
.yarn/releases/yarn-3.2.0.cjs
vendored
File diff suppressed because one or more lines are too long
0
.yarn/versions/17d7e90d.yml
vendored
0
.yarn/versions/17d7e90d.yml
vendored
0
.yarn/versions/33178102.yml
vendored
0
.yarn/versions/33178102.yml
vendored
0
.yarn/versions/35f2125e.yml
vendored
0
.yarn/versions/35f2125e.yml
vendored
0
.yarn/versions/4f9fb046.yml
vendored
0
.yarn/versions/4f9fb046.yml
vendored
0
.yarn/versions/5bc94294.yml
vendored
0
.yarn/versions/5bc94294.yml
vendored
0
.yarn/versions/5f1212ad.yml
vendored
0
.yarn/versions/5f1212ad.yml
vendored
0
.yarn/versions/5f4cac99.yml
vendored
0
.yarn/versions/5f4cac99.yml
vendored
0
.yarn/versions/6b35c994.yml
vendored
0
.yarn/versions/6b35c994.yml
vendored
0
.yarn/versions/6be5ab70.yml
vendored
0
.yarn/versions/6be5ab70.yml
vendored
0
.yarn/versions/86ac1afd.yml
vendored
0
.yarn/versions/86ac1afd.yml
vendored
0
.yarn/versions/8e384637.yml
vendored
0
.yarn/versions/8e384637.yml
vendored
0
.yarn/versions/909c3734.yml
vendored
0
.yarn/versions/909c3734.yml
vendored
0
.yarn/versions/951a8d12.yml
vendored
0
.yarn/versions/951a8d12.yml
vendored
0
.yarn/versions/97e7141a.yml
vendored
0
.yarn/versions/97e7141a.yml
vendored
0
.yarn/versions/ac69bc5f.yml
vendored
0
.yarn/versions/ac69bc5f.yml
vendored
0
.yarn/versions/c6e2b914.yml
vendored
0
.yarn/versions/c6e2b914.yml
vendored
0
.yarn/versions/d1a18cef.yml
vendored
0
.yarn/versions/d1a18cef.yml
vendored
0
.yarn/versions/ec3a9ddf.yml
vendored
0
.yarn/versions/ec3a9ddf.yml
vendored
0
.yarn/versions/fc1fde84.yml
vendored
0
.yarn/versions/fc1fde84.yml
vendored
0
.yarn/versions/fc597c00.yml
vendored
0
.yarn/versions/fc597c00.yml
vendored
|
@ -1,7 +0,0 @@
|
||||||
nodeLinker: node-modules
|
|
||||||
|
|
||||||
plugins:
|
|
||||||
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
|
|
||||||
spec: "@yarnpkg/plugin-version"
|
|
||||||
|
|
||||||
yarnPath: .yarn/releases/yarn-3.2.0.cjs
|
|
2185
CHANGELOG.md
2185
CHANGELOG.md
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
||||||
# Contribute to LBRY
|
# Contribute to Odysee
|
||||||
|
|
||||||
**First:** if you're unsure or afraid of anything, just ask or submit the issue or pull request anyways. You won't be yelled at for giving your best effort. The worst that can happen is that you'll be politely asked to change something. We appreciate any sort of contributions, and don't want a wall of rules to get in the way of that.
|
**First:** if you're unsure or afraid of anything, just ask or submit the issue or pull request anyways. You won't be yelled at for giving your best effort. The worst that can happen is that you'll be politely asked to change something. We appreciate any sort of contributions, and don't want a wall of rules to get in the way of that.
|
||||||
|
|
||||||
|
@ -6,55 +6,52 @@ However, for those individuals who want a bit more guidance on the best way to c
|
||||||
|
|
||||||
## TL;DR?
|
## TL;DR?
|
||||||
|
|
||||||
- [Here](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
|
- [Here](https://github.com/OdyseeTeam/odysee-frontend/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
|
||||||
is a list of help wanted issues.
|
is a list of help wanted issues.
|
||||||
- Comment on an issue to let us know if you are going to work on it, don't take an issue that someone reserved less than 3 days ago.
|
- Comment on an issue to let us know if you are going to work on it, don't take an issue that someone reserved less than 3 days ago.
|
||||||
- Submit a pull request and get paid in LBC.
|
- Submit a pull request and get paid in Credits.
|
||||||
- Don't hesitate to contact us with any questions or comments.
|
- Don't hesitate to contact us with any questions or comments.
|
||||||
|
|
||||||
## Contents
|
## Contents
|
||||||
|
|
||||||
- [Choose an Issue](#choose-an-issue)
|
- [Choose an Issue](#choose-an-issue)
|
||||||
- [Code Overview](#code-overview)
|
- [Code Overview](#code-overview)
|
||||||
- [Libraries](#libraries)
|
|
||||||
- [Flow](#flow)
|
- [Flow](#flow)
|
||||||
- [Lint](#lint)
|
- [Lint](#lint)
|
||||||
- [Code Formatting](#code-formatting)
|
- [Code Formatting](#code-formatting)
|
||||||
- [Debug](#debug)
|
- [Debug](#debug)
|
||||||
- [Submit a Pull Request](#submit-a-pull-request)
|
- [Submit a Pull Request](#submit-a-pull-request)
|
||||||
- [Tom's "Voice of the User" Wishlist](#toms-voice-of-the-user-wishlist)
|
|
||||||
- [Get in Touch](#get-in-touch)
|
- [Get in Touch](#get-in-touch)
|
||||||
- [More Information](#more-information)
|
|
||||||
|
|
||||||
## Choose an Issue
|
## Choose an Issue
|
||||||
|
|
||||||
LBRY is an open source project and therefore is developed out in the open for everyone to see. What
|
Odysee is an open source project and therefore is developed out in the open for everyone to see. What
|
||||||
you see here are the latest source code changes and issues.
|
you see here are the latest source code changes and issues.
|
||||||
|
|
||||||
Since LBRY is based on a decentralized community, we believe that the app will be stronger if it
|
Since Odysee is based on a decentralized community, we believe that the app will be stronger if it
|
||||||
receives contributions from individuals outside the core team -- such as yourself!
|
receives contributions from individuals outside the core team -- such as yourself!
|
||||||
|
|
||||||
To make contributing as easy and rewarding as possible, we have instituted the following system:
|
To make contributing as easy and rewarding as possible, we have instituted the following system:
|
||||||
|
|
||||||
- Anyone can view all issues in the system by clicking on the
|
- Anyone can view all issues in the system by clicking on the
|
||||||
[Issues](https://github.com/lbryio/lbry-desktop/issues) button at the top of the page. Feel free to
|
[Issues](https://github.com/OdyseeTeam/odysee-frontend/issues) button at the top of the page. Feel free to
|
||||||
add an issue if you think we have missed something (and you might earn some LBC in the process
|
add an issue if you think we have missed something (and you might earn some Credits in the process
|
||||||
because we do tip people for reporting bugs).
|
because we do tip people for reporting bugs).
|
||||||
- Once on the [Issues](https://github.com/lbryio/lbry-desktop/issues) page, a potential contributor can
|
- Once on the [Issues](https://github.com/OdyseeTeam/odysee-frontend/issues) page, a potential contributor can
|
||||||
filter issues by the
|
filter issues by the
|
||||||
[Help Wanted](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
|
[Help Wanted (in progress)](https://github.com/OdyseeTeam/odysee-frontend/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
|
||||||
label to see a curated list of suggested issues with which community members can help.
|
label to see a curated list of suggested issues with which community members can help.
|
||||||
- Every
|
- Every
|
||||||
[Help Wanted](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
|
[Help Wanted](https://github.com/OdyseeTeam/odysee-frontend/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
|
||||||
issue is ranked on a scale from zero to four.
|
issue is ranked on a scale from zero to four (in progress)
|
||||||
|
|
||||||
| Level | Description |
|
| Level (in progress) | Description |
|
||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||||
| [**level 0**](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+0%22+no%3Aassignee) | Typos and text edits -- a tech-savvy non-programmer can fix these. |
|
| [**level 0**](https://github.com/OdyseeTeam/odysee-frontend/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+0%22+no%3Aassignee) | Typos and text edits -- a tech-savvy non-programmer can fix these. |
|
||||||
| [**level 1**](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+1%22+no%3Aassignee) | Programming issues that require little knowledge of how the LBRY app works. |
|
| [**level 1**](https://github.com/OdyseeTeam/odysee-frontend/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+1%22+no%3Aassignee) | Programming issues that require little knowledge of how the Odysee app works. |
|
||||||
| [**level 2**](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+2%22+no%3Aassignee) | Issues of average difficulty that require the developer to dig into how the app works a little bit. |
|
| [**level 2**](https://github.com/OdyseeTeam/odysee-frontend/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+2%22+no%3Aassignee) | Issues of average difficulty that require the developer to dig into how the app works a little bit. |
|
||||||
| [**level 3**](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+3%22+no%3Aassignee) | Issues that are likely too tricky to be level 2 or require more thinking outside of the box. |
|
| [**level 3**](https://github.com/OdyseeTeam/odysee-frontend/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+3%22+no%3Aassignee) | Issues that are likely too tricky to be level 2 or require more thinking outside of the box. |
|
||||||
| [**level 4**](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+4%22+no%3Aassignee) | Big features or really hard issues. |
|
| [**level 4**](https://github.com/OdyseeTeam/odysee-frontend/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+4%22+no%3Aassignee) | Big features or really hard issues. |
|
||||||
|
|
||||||
The process of ranking issues is highly subjective. The purpose of sorting issues like this is to
|
The process of ranking issues is highly subjective. The purpose of sorting issues like this is to
|
||||||
give contributors a general idea about the type of issues they are looking at. For instance, it could very well be
|
give contributors a general idea about the type of issues they are looking at. For instance, it could very well be
|
||||||
|
@ -62,24 +59,19 @@ the case that a level 1 issue is more difficult than a level 2 issue. This syste
|
||||||
to help you find relevant issues, not to prevent you from working on issues that you otherwise
|
to help you find relevant issues, not to prevent you from working on issues that you otherwise
|
||||||
would. If these rankings don't work for you, feel free to ignore them.
|
would. If these rankings don't work for you, feel free to ignore them.
|
||||||
|
|
||||||
Although all contributions should have good UX, the [UX label, when applied in conjunction with Help Wanted](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3Aux+no%3Aassignee), indicates that the contributor ought to implement the feature in a creative way that specifically focuses on providing a good user experience. These issues often have no set instruction for how the experience should be and leave it to the contributor to figure out. This may be challenging for people who do not like UX, but also more fun and rewarding for those who do.
|
Although all contributions should have good UX, the [UX label, when applied in conjunction with Help Wanted](https://github.com/OdyseeTeam/odysee-frontend/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3Aux+no%3Aassignee), indicates that the contributor ought to implement the feature in a creative way that specifically focuses on providing a good user experience. These issues often have no set instruction for how the experience should be and leave it to the contributor to figure out. This may be challenging for people who do not like UX, but also more fun and rewarding for those who do.
|
||||||
|
|
||||||
## Code Overview
|
## Code Overview
|
||||||
|
|
||||||
The entry point for this application is [`electron/index.js`](https://github.com/lbryio/lbry-desktop/blob/master/electron/index.js).
|
This application is primarily written in JavaScript, utilizing [React](https://reactjs.org) and [Redux](https://redux.js.org) for UI and
|
||||||
|
|
||||||
This application is primarily written in JavaScript and is built on [Electron](https://electronjs.org)
|
|
||||||
while utilizing [React](https://reactjs.org) and [Redux](https://redux.js.org) for UI and
|
|
||||||
application state.
|
application state.
|
||||||
|
|
||||||
The project comes with diverse tools for simplifying the development process and for providing
|
The project comes with diverse tools for simplifying the development process and for providing
|
||||||
better code quality. It's recommended to make use of them thoroughly during ongoing development. We follow the well-known [Airbnb JavaScript Style Guide](https://airbnb.io/javascript/) for defining
|
better code quality. It's recommended to make use of them thoroughly during ongoing development.
|
||||||
|
|
||||||
|
We follow the well-known [Airbnb JavaScript Style Guide](https://airbnb.io/javascript/) for defining
|
||||||
our styling rules and code best practices.
|
our styling rules and code best practices.
|
||||||
|
|
||||||
### Libraries
|
|
||||||
|
|
||||||
This project uses [lbry-redux](https://github.com/lbryio/lbry-redux) and [lbryionc](https://github.com/lbryio/lbryinc) to share Redux and LBRY API specific code with other LBRY apps. Over time, more Redux code that is suitable to be shared will be moved into lbry-redux. If modifying Redux code, you may be asked to make some of your changes in lbry-redux rather than lbry-desktop. The steps to work with lbry-redux locally can be found [here](https://github.com/lbryio/lbry-redux#local-development).
|
|
||||||
|
|
||||||
### Flow
|
### Flow
|
||||||
|
|
||||||
[Flow](https://flow.org/) is a static type checker for JavaScript. Flow checks your code for
|
[Flow](https://flow.org/) is a static type checker for JavaScript. Flow checks your code for
|
||||||
|
@ -140,7 +132,6 @@ There are a few tools integrated to the project that will ease the process of de
|
||||||
|
|
||||||
- [Chrome DevTools](https://developer.chrome.com/devtools)
|
- [Chrome DevTools](https://developer.chrome.com/devtools)
|
||||||
- Also available for the main process as a [remote target](chrome://inspect/#devices).
|
- Also available for the main process as a [remote target](chrome://inspect/#devices).
|
||||||
- [Electron Devtron](https://electronjs.org/devtron)
|
|
||||||
- [React DevTools](https://github.com/facebook/react-devtools)
|
- [React DevTools](https://github.com/facebook/react-devtools)
|
||||||
- [Redux DevTools](https://github.com/gaearon/redux-devtools)
|
- [Redux DevTools](https://github.com/gaearon/redux-devtools)
|
||||||
|
|
||||||
|
@ -149,19 +140,17 @@ There are a few tools integrated to the project that will ease the process of de
|
||||||
- After deciding what to work on, a potential contributor can
|
- After deciding what to work on, a potential contributor can
|
||||||
[fork](https://help.github.com/articles/fork-a-repo/) this repository, make his or her changes,
|
[fork](https://help.github.com/articles/fork-a-repo/) this repository, make his or her changes,
|
||||||
and submit a
|
and submit a
|
||||||
[pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/). A
|
[pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/).
|
||||||
contributor wanting to reserve an issue in advance can leave a comment saying that he or she is
|
- A contributor wanting to reserve an issue in advance can leave a comment saying that he or she is
|
||||||
working on it. Contributors should respect other people's efforts to complete issues in a timely
|
working on it. Contributors should respect other people's efforts to complete issues in a timely
|
||||||
manner and, therefore, not begin working on anything reserved (or updated) within the last 3 days.
|
manner and, therefore, not begin working on anything reserved (or updated) within the last 3 days.
|
||||||
If someone has been officially assigned an issue via GitHub's assignment system, it is also not
|
If someone has been officially assigned an issue via GitHub's assignment system, it is also not
|
||||||
available. Contributors are encouraged to ask if they have any questions about issue availability.
|
available. Contributors are encouraged to ask if they have any questions about issue availability.
|
||||||
- The [changelog](https://github.com/lbryio/lbry-desktop/blob/master/CHANGELOG.md) should be updated to
|
- Once the pull request is visible in the Odysee repo, a Odysee team member will review it and make sure
|
||||||
include a reference to the fix/change/addition. See previous entries for format.
|
|
||||||
- Once the pull request is visible in the LBRY repo, a LBRY team member will review it and make sure
|
|
||||||
it is up to our standards. At this point, the contributor may have to change his or her code based
|
it is up to our standards. At this point, the contributor may have to change his or her code based
|
||||||
on our suggestions and comments.
|
on our suggestions and comments.
|
||||||
- Then, upon a satisfactory review of the code, we will merge it and send the contributor a tip (in
|
- Then, upon a satisfactory review of the code, we will merge it and send the contributor a tip (in
|
||||||
LBC) for the contribution.
|
Credits or Cash) for the contribution.
|
||||||
|
|
||||||
We are dedicated to being fair and friendly in this process. In **general**, level 4 issues will be
|
We are dedicated to being fair and friendly in this process. In **general**, level 4 issues will be
|
||||||
paid more than level 3 issues which will be paid more than level 2, and so on. However, this is not
|
paid more than level 3 issues which will be paid more than level 2, and so on. However, this is not
|
||||||
|
@ -173,29 +162,20 @@ Also, we are here to enable you. We want you to succeed, so do not hesitate to a
|
||||||
need some information or assistance in completing an issue, please let us know! That is what we are
|
need some information or assistance in completing an issue, please let us know! That is what we are
|
||||||
here for-- pushing development forward.
|
here for-- pushing development forward.
|
||||||
|
|
||||||
Lastly, don't feel limited by this list. Should LBRY have built-in Tor support? Add it! It's not in
|
Lastly, don't feel limited by this list. Should Odysee have built-in Tor support? Add it! It's not in
|
||||||
the issue tracker, but maybe it's a good idea. Do you think the search layout is unintuitive? Change
|
the issue tracker, but maybe it's a good idea. Do you think the search layout is unintuitive? Change
|
||||||
it! We welcome all feedback and suggestions. That said, it may be the case that we do not wish to
|
it! We welcome all feedback and suggestions. That said, it may be the case that we do not wish to
|
||||||
incorporate your change if you don't check with us first (also, please check with us especially if
|
incorporate your change if you don't check with us first (also, please check with us especially if
|
||||||
you are planning on adding Tor support :P). If you want to add a feature that is not listed in the
|
you are planning on adding Tor support :P). If you want to add a feature that is not listed in the
|
||||||
issue tracker, go ahead and [create an issue](https://github.com/lbryio/lbry-desktop/issues/new), and
|
issue tracker, go ahead and [create an issue](https://github.com/OdyseeTeam/odysee-frontend/issues/new), and
|
||||||
say in the description that you would like to try to implement it yourself. This way we can tell you
|
say in the description that you would like to try to implement it yourself. This way we can tell you
|
||||||
in advance if we will accept your changes and we can point you in the right direction.
|
in advance if we will accept your changes and we can point you in the right direction.
|
||||||
|
|
||||||
# Tom's "Voice of the User" Wishlist
|
|
||||||
|
|
||||||
[Anything marked with **both** "Help Wanted" and "Tom's 'Voice of the User' Wishlist"](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22Tom%27s+%5C%22Voice+of+the+User%5C%22+Wishlist%22+label%3A%22help+wanted%22+no%3Aassignee)
|
|
||||||
will earn you an extra 50 LBC on top of what we would otherwise tip you.
|
|
||||||
|
|
||||||
# Get in Touch
|
# Get in Touch
|
||||||
|
|
||||||
| Name | Role | Discord | Email |
|
| Name | Role | Discord | Email |
|
||||||
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------------- |
|
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------------------------- |
|
||||||
| [Tom](https://github.com/tzarebczan) | Community manager. He knows more than anyone about the app and all of its flaws. Reach out to him with any questions about how the app works, if a bug has been reported, or if a feature should be requested. | jiggytom | tom@lbry.com |
|
| [Tom](https://github.com/tzarebczan) | Community manager. He knows more than anyone about the app and all of its flaws. Reach out to him with any questions about how the app works, if a bug has been reported, or if a feature should be requested. | jiggytom | tom@Odysee.com |
|
||||||
| [Sean](https://github.com/seanyesmunt) | The primary engineer working on the app. Feel free to ask any questions about the code. | sean | sean@lbry.com |
|
| [Anthony](https://github.com/mayeaux) | The primary engineer working on the app. Feel free to ask any questions about the code. | Anthony | anthony.mayfield@odysee.com |
|
||||||
|
|
||||||
Join our Discord [here](https://chat.lbry.com/).
|
Join our Discord [here](https://chat.odysee.com/).
|
||||||
|
|
||||||
# More Information
|
|
||||||
|
|
||||||
More information about contributing to LBRY [here](https://lbry.tech/contribute).
|
|
||||||
|
|
128
README.md
128
README.md
|
@ -1,96 +1,71 @@
|
||||||
<img width="40%" src="https://miro.medium.com/max/5198/1*bTVuL2THG_0mpwmE-n7Ezg.png" />
|
# Odysee Frontend - Odysee.com
|
||||||
|
|
||||||
# LBRY App
|
This repo contains the UI and front end code that powers Odysee.com.
|
||||||
|
|
||||||
This repo contains the UI code that powers the official LBRY desktop app. The LBRY app is a graphical browser for the decentralized content marketplace provided by the
|
<a href="https://github.com/OdyseeTeam/odysee-frontend/blob/master/LICENSE" title="MIT licensed">
|
||||||
[LBRY](https://lbry.com) protocol. It is essentially the
|
|
||||||
[lbry daemon](https://github.com/lbryio/lbry) bundled with a UI using
|
|
||||||
[Electron](https://electron.atom.io/).
|
|
||||||
|
|
||||||
<a href="https://github.com/lbryio/lbry-desktop/blob/master/LICENSE" title="MIT licensed">
|
|
||||||
<img alt="npm" src="https://img.shields.io/dub/l/vibe-d.svg?style=flat">
|
<img alt="npm" src="https://img.shields.io/dub/l/vibe-d.svg?style=flat">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://GitHub.com/lbryio/lbry-desktop/releases/" title="GitHub release">
|
<a href="https://chat.odysee.com">
|
||||||
<img src="https://img.shields.io/github/release/lbryio/lbry-desktop.svg"/>
|
<img src="https://img.shields.io/discord/362322208485277697.svg?logo=discord" alt="chat on Discord">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://travis-ci.org/lbryio/lbry-desktop">
|
|
||||||
<img src="https://travis-ci.org/lbryio/lbry-desktop.svg?branch=master" alt="Build Status" />
|
|
||||||
</a>
|
|
||||||
<a href="https://chat.lbry.com">
|
|
||||||
<img alt="GitHub contributors" src="https://img.shields.io/discord/362322208485277697.svg?logo=discord" alt="chat on Discord">
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<h2>
|
|
||||||
<a href="https://forthebadge.com" title="forthebadge">
|
|
||||||
<img alt="forthebadge" src="https://forthebadge.com/images/badges/60-percent-of-the-time-works-every-time.svg">
|
|
||||||
</a>
|
|
||||||
<a href="https://forthebadge.com" title="forthebadge">
|
|
||||||
<img alt="forthebadge" src="https://forthebadge.com/images/badges/approved-by-veridian-dynamics.svg">
|
|
||||||
</a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
![App GIF](https://spee.ch/ba/lbry-joule.gif)
|
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
1. [Install](#install)
|
1. [Usage](#usage)
|
||||||
2. [Usage](#usage)
|
2. [Running from Source](#running-from-source)
|
||||||
3. [Running from Source](#running-from-source)
|
3. [Contributing](#contributing)
|
||||||
4. [Contributing](#contributing)
|
4. [License](#license)
|
||||||
5. [License](#license)
|
5. [Security](#security)
|
||||||
6. [Security](#security)
|
6. [Contact](#contact)
|
||||||
7. [Contact](#contact)
|
|
||||||
|
|
||||||
## Install
|
|
||||||
|
|
||||||
[![Windows](https://img.shields.io/badge/Windows-Install-blue)](https://lbry.com/get/lbry.exe)
|
|
||||||
[![Linux](https://img.shields.io/badge/Linux-Install-blue)](https://lbry.com/get/lbry.deb)
|
|
||||||
[![MacOS](https://img.shields.io/badge/MacOS-Install-blue)](https://lbry.com/get/lbry.dmg)
|
|
||||||
|
|
||||||
We provide installers for Windows, macOS (v10.12.4, Sierra, or greater), and Debian-based Linux. See community maintained builds section for alternative Linux installations.
|
|
||||||
|
|
||||||
| | Windows | macOS | Linux |
|
|
||||||
| --------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
|
|
||||||
| Latest Stable Release | [Download](https://lbry.com/get/lbry.exe) | [Download](https://lbry.com/get/lbry.dmg) | [Download](https://lbry.com/get/lbry.deb) |
|
|
||||||
| Latest Pre-release | [Download](https://lbry.com/get/lbry.pre.exe) | [Download](https://lbry.com/get/lbry.pre.dmg) | [Download](https://lbry.com/get/lbry.pre.deb) |
|
|
||||||
|
|
||||||
Our [releases page](https://github.com/lbryio/lbry-desktop/releases) also contains the latest
|
|
||||||
release, pre-releases, and past builds.
|
|
||||||
_Note: If the deb fails to install using the Ubuntu Software Center, install manually via `sudo dpkg -i <path to deb>`. You'll need to run `sudo apt-get install -f` if this is the first time installing it to install dependencies_
|
|
||||||
|
|
||||||
To install from source or make changes to the application, continue to the next section below.
|
|
||||||
|
|
||||||
**Community maintained** builds for Arch Linux and Flatpak are available, see below. These installs will need to be updated manually as the in-app update process only supports Debian installs at this time.
|
|
||||||
_Note: If coming from a deb install, the directory structure is different and you'll need to [migrate data](https://lbry.com/faq/backup-data)._
|
|
||||||
|
|
||||||
| | Flatpak | Arch | Nixpkgs | ARM/ARM64 |
|
|
||||||
| -------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------- |
|
|
||||||
| Latest Release | [FlatHub Page](https://flathub.org/apps/details/io.lbry.lbry-app) | [AUR Package](https://aur.archlinux.org/packages/lbry-desktop-bin/) | [Nixpkgs](https://search.nixos.org/packages?channel=unstable&show=lbry&query=lbry) | [Build Guide](https://lbry.tv/@LBRYarm:5) |
|
|
||||||
| Maintainers | N/A | [@RubenKelevra](https://github.com/RubenKelevra) | [@Enderger](https://github.com/enderger) | [@Madiator2011](https://github.com/kodxana) |
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Start the installed application to interact with the LBRY network.
|
Go to the website to interact on this frontend.
|
||||||
|
|
||||||
## Running from Source
|
## Running from Source
|
||||||
|
|
||||||
#### Prerequisites
|
#### Prerequisites
|
||||||
|
|
||||||
- [Git](https://git-scm.com/downloads)
|
- [Git](https://git-scm.com/downloads)
|
||||||
- [Node.js](https://nodejs.org/en/download/) (v16 required)
|
- [Node.js](https://nodejs.org/en/download/) (v14 required)
|
||||||
- [Corepack](https://nodejs.org/dist/latest-v17.x/docs/api/corepack.html) `npm i -g corepack` (Included in nodejs 14 LTS, 16 LTS and 17)
|
|
||||||
- [Yarn](https://yarnpkg.com/en/docs/install)
|
- [Yarn](https://yarnpkg.com/en/docs/install)
|
||||||
|
|
||||||
1. Clone (or [fork](https://help.github.com/articles/fork-a-repo/)) this repository: `git clone https://github.com/lbryio/lbry-desktop`
|
1. Clone (or [fork](https://help.github.com/articles/fork-a-repo/)) this repository: `git clone https://github.com/OdyseeTeam/odysee-frontend`
|
||||||
2. Change directory into the cloned repository: `cd lbry-desktop`
|
2. Change directory into the cloned repository: `cd odysee-frontend`
|
||||||
3. If corepack is not enabled, run `sudo corepack enable` (the sudo is necessary for system-wide installation, if you use container, nvm etc... you might not be forced to use it)
|
3. Install the dependencies: `yarn`
|
||||||
4. Install the dependencies: `yarn`
|
|
||||||
|
|
||||||
#### Run the electron app
|
#### Run the web app for development
|
||||||
|
|
||||||
`yarn dev`
|
`yarn dev:web`
|
||||||
|
|
||||||
- If you want to build and launch the production app you can run `yarn build`. This will give you an executable inside the `/dist` folder. We use [electron-builder](https://github.com/electron-userland/electron-builder) to create distributable packages.
|
- This uses `webpack-dev-server` and includes hot-reloading. If you want to debug the [web server we use in production](https://github.com/OdyseeTeam/odysee-frontend/blob/master/web/index.js) you can run `yarn dev:web-server`. This starts a server at `localhost:1337` and does not include hot reloading.
|
||||||
|
|
||||||
|
#### Customize the web app
|
||||||
|
|
||||||
|
- In root directory, duplicate the `.env.default` file as `.env` and make customizations there.
|
||||||
|
```
|
||||||
|
cp .env.defaults .env
|
||||||
|
nano .env
|
||||||
|
```
|
||||||
|
- To specify your own OG-IMAGE:
|
||||||
|
- Either place a png named `v2-og.png` in the `/custom` folder or specify the `OG_IMAGE_URL` in .env file.
|
||||||
|
- To specify your own channels to be followed on first run:
|
||||||
|
- `AUTO_FOLLOW_URLS=lbry://@chan#123...a lbry://@chan2#456...a`
|
||||||
|
- To customize the homepage content:
|
||||||
|
1. Add `CUSTOM_HOMEPAGE=true` to the .env file.
|
||||||
|
2. Copy `/custom/homepage.example.js` to `/custom/homepage.js` and make desired changes to `homepage.js`.
|
||||||
|
- Finally, run `NODE_ENV=production yarn compile:web` to rebuild.
|
||||||
|
- _Note: You do not need to edit the `.env` file in the `/web` folder - that is copied during compilation._
|
||||||
|
|
||||||
|
#### Deploy the web app (_experimental_)
|
||||||
|
|
||||||
|
1. Create a server with a domain name and a reverse proxy https to port 1337.
|
||||||
|
2. Install pm2, node v10, yarn
|
||||||
|
3. Clone this repo
|
||||||
|
4. Make any customizations as above
|
||||||
|
5. Run `yarn` to install
|
||||||
|
6. Run `NODE_ENV=production yarn compile:web` to build
|
||||||
|
7. Set up pm2 to start ./web/index.js
|
||||||
|
|
||||||
#### Resetting your Packages
|
#### Resetting your Packages
|
||||||
|
|
||||||
|
@ -100,9 +75,9 @@ If you _really_ think something might have gone wrong, you can force your repo t
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
We :heart: contributions from everyone and contributions to this project are encouraged, and compensated. We welcome [bug reports](https://github.com/lbryio/lbry-desktop/issues/), [bug fixes](https://github.com/lbryio/lbry-desktop/pulls) and feedback is always appreciated. For more details, see [CONTRIBUTING.md](CONTRIBUTING.md).
|
We :heart: contributions from everyone and contributions to this project are encouraged, and compensated. We welcome [bug reports](https://github.com/OdyseeTeam/odysee-frontend/issues/), [bug fixes](https://github.com/OdyseeTeam/odysee-frontend/pulls) and feedback is always appreciated. For more details, see [CONTRIBUTING.md](CONTRIBUTING.md).
|
||||||
|
|
||||||
## [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/lbryio/lbry-desktop/issues) [![GitHub contributors](https://img.shields.io/github/contributors/lbryio/lbry-desktop.svg)](https://GitHub.com/lbryio/lbry-desktop/graphs/contributors/)
|
## [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/OdyseeTeam/odysee-frontend/issues) [![GitHub contributors](https://img.shields.io/github/contributors/lbryio/lbry-desktop.svg)](https://GitHub.com/OdyseeTeam/odysee-frontend/graphs/contributors/)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
@ -110,9 +85,4 @@ This project is MIT licensed. For the full license, see [LICENSE](LICENSE).
|
||||||
|
|
||||||
## Security
|
## Security
|
||||||
|
|
||||||
We take security seriously. Please contact security@lbry.com regarding any security issues. Our PGP key is [here](https://lbry.com/faq/pgp-key) if you need it. Previous versions up to v0.50.2 were signed by [Sean Yesmunt](https://keybase.io/seanyesmunt/key.asc).
|
For security issues, please reach out to security@odysee.com
|
||||||
New Releases are signed by [Jessop Breth](https://keybase.io/jessopb/key.asc).
|
|
||||||
|
|
||||||
## Contact
|
|
||||||
|
|
||||||
The primary contact for this project is [@jessopb](https://github.com/jessopb).
|
|
||||||
|
|
|
@ -7,8 +7,6 @@ module.exports = api => {
|
||||||
'import-glob',
|
'import-glob',
|
||||||
'@babel/plugin-transform-runtime',
|
'@babel/plugin-transform-runtime',
|
||||||
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
|
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
|
||||||
['@babel/plugin-proposal-private-methods', { 'loose': false }],
|
|
||||||
['@babel/plugin-proposal-private-property-in-object', { 'loose': false }],
|
|
||||||
'@babel/plugin-transform-flow-strip-types',
|
'@babel/plugin-transform-flow-strip-types',
|
||||||
'@babel/plugin-proposal-class-properties',
|
'@babel/plugin-proposal-class-properties',
|
||||||
'react-hot-loader/babel',
|
'react-hot-loader/babel',
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
|
||||||
<true/>
|
|
||||||
<key>com.apple.security.network.client</key>
|
|
||||||
<true/>
|
|
||||||
<key>com.apple.security.network.server</key>
|
|
||||||
<true/>
|
|
||||||
<key>com.apple.security.cs.disable-library-validation</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
57
config.js
57
config.js
|
@ -3,26 +3,37 @@
|
||||||
require('dotenv-defaults').config({ silent: false });
|
require('dotenv-defaults').config({ silent: false });
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
MATOMO_URL: process.env.MATOMO_URL,
|
MINIMUM_VERSION: process.env.MINIMUM_VERSION,
|
||||||
MATOMO_ID: process.env.MATOMO_ID,
|
IGNORE_MINIMUM_VERSION: process.env.IGNORE_MINIMUM_VERSION,
|
||||||
WEBPACK_WEB_PORT: process.env.WEBPACK_WEB_PORT,
|
WEBPACK_WEB_PORT: process.env.WEBPACK_WEB_PORT,
|
||||||
WEBPACK_ELECTRON_PORT: process.env.WEBPACK_ELECTRON_PORT,
|
WEBPACK_ELECTRON_PORT: process.env.WEBPACK_ELECTRON_PORT,
|
||||||
WEB_SERVER_PORT: process.env.WEB_SERVER_PORT,
|
WEB_SERVER_PORT: process.env.WEB_SERVER_PORT,
|
||||||
LBRY_WEB_API: process.env.LBRY_WEB_API, //api.na-backend.odysee.com',
|
LBRY_WEB_API: process.env.LBRY_WEB_API, // api.na-backend.odysee.com',
|
||||||
LBRY_WEB_PUBLISH_API: process.env.LBRY_WEB_PUBLISH_API,
|
LBRY_WEB_PUBLISH_API: process.env.LBRY_WEB_PUBLISH_API,
|
||||||
LBRY_API_URL: process.env.LBRY_API_URL, //api.lbry.com',
|
LBRY_WEB_PUBLISH_API_V2: process.env.LBRY_WEB_PUBLISH_API_V2,
|
||||||
LBRY_WEB_STREAMING_API: process.env.LBRY_WEB_STREAMING_API, //player.odysee.com
|
LBRY_API_URL: process.env.LBRY_API_URL, // api.odysee.com',
|
||||||
LBRY_WEB_BUFFER_API: process.env.LBRY_WEB_BUFFER_API,
|
LBRY_WEB_BUFFER_API: process.env.LBRY_WEB_BUFFER_API,
|
||||||
SEARCH_SERVER_API: process.env.SEARCH_SERVER_API,
|
SEARCH_SERVER_API: process.env.SEARCH_SERVER_API,
|
||||||
CLOUD_CONNECT_SITE_NAME: process.env.CLOUD_CONNECT_SITE_NAME,
|
SEARCH_SERVER_API_ALT: process.env.SEARCH_SERVER_API_ALT,
|
||||||
COMMENT_SERVER_API: process.env.COMMENT_SERVER_API,
|
COMMENT_SERVER_API: process.env.COMMENT_SERVER_API,
|
||||||
COMMENT_SERVER_NAME: process.env.COMMENT_SERVER_NAME,
|
|
||||||
SOCKETY_SERVER_API: process.env.SOCKETY_SERVER_API,
|
SOCKETY_SERVER_API: process.env.SOCKETY_SERVER_API,
|
||||||
|
LOCALE_API: process.env.LOCALE_API,
|
||||||
WELCOME_VERSION: process.env.WELCOME_VERSION,
|
WELCOME_VERSION: process.env.WELCOME_VERSION,
|
||||||
DOMAIN: process.env.DOMAIN,
|
DOMAIN: process.env.DOMAIN,
|
||||||
SHARE_DOMAIN_URL: process.env.SHARE_DOMAIN_URL,
|
SHARE_DOMAIN_URL: process.env.SHARE_DOMAIN_URL,
|
||||||
URL: process.env.URL,
|
URL: process.env.URL,
|
||||||
|
RECSYS_ENDPOINT: process.env.RECSYS_ENDPOINT,
|
||||||
|
RECSYS_FYP_ENDPOINT: process.env.RECSYS_FYP_ENDPOINT,
|
||||||
|
IMAGE_PROXY_URL: process.env.IMAGE_PROXY_URL,
|
||||||
THUMBNAIL_CDN_URL: process.env.THUMBNAIL_CDN_URL,
|
THUMBNAIL_CDN_URL: process.env.THUMBNAIL_CDN_URL,
|
||||||
|
THUMBNAIL_CARDS_CDN_URL: process.env.THUMBNAIL_CARDS_CDN_URL,
|
||||||
|
THUMBNAIL_HEIGHT: process.env.THUMBNAIL_HEIGHT,
|
||||||
|
THUMBNAIL_HEIGHT_POSTER: process.env.THUMBNAIL_HEIGHT_POSTER,
|
||||||
|
THUMBNAIL_WIDTH: process.env.THUMBNAIL_WIDTH,
|
||||||
|
THUMBNAIL_WIDTH_POSTER: process.env.THUMBNAIL_WIDTH_POSTER,
|
||||||
|
THUMBNAIL_QUALITY: process.env.THUMBNAIL_QUALITY,
|
||||||
|
THUMBNAIL_CDN_SIZE_LIMIT_BYTES: process.env.THUMBNAIL_CDN_SIZE_LIMIT_BYTES,
|
||||||
|
PLAYER_SERVER: process.env.PLAYER_SERVER,
|
||||||
SITE_TITLE: process.env.SITE_TITLE,
|
SITE_TITLE: process.env.SITE_TITLE,
|
||||||
SITE_NAME: process.env.SITE_NAME,
|
SITE_NAME: process.env.SITE_NAME,
|
||||||
SITE_DESCRIPTION: process.env.SITE_DESCRIPTION,
|
SITE_DESCRIPTION: process.env.SITE_DESCRIPTION,
|
||||||
|
@ -31,10 +42,9 @@ const config = {
|
||||||
TWITTER_ACCOUNT: process.env.TWITTER_ACCOUNT,
|
TWITTER_ACCOUNT: process.env.TWITTER_ACCOUNT,
|
||||||
// LOGO
|
// LOGO
|
||||||
LOGO_TITLE: process.env.LOGO_TITLE,
|
LOGO_TITLE: process.env.LOGO_TITLE,
|
||||||
FAVICON: process.env.FAVICON,
|
|
||||||
LOGO: process.env.LOGO,
|
LOGO: process.env.LOGO,
|
||||||
LOGO_TEXT_LIGHT: process.env.LOGO_TEXT_LIGHT,
|
LOGO_WHITE_TEXT: process.env.LOGO_WHITE_TEXT,
|
||||||
LOGO_TEXT_DARK: process.env.LOGO_TEXT_DARK,
|
LOGO_DARK_TEXT: process.env.LOGO_DARK_TEXT,
|
||||||
AVATAR_DEFAULT: process.env.AVATAR_DEFAULT,
|
AVATAR_DEFAULT: process.env.AVATAR_DEFAULT,
|
||||||
MISSING_THUMB_DEFAULT: process.env.MISSING_THUMB_DEFAULT,
|
MISSING_THUMB_DEFAULT: process.env.MISSING_THUMB_DEFAULT,
|
||||||
// OG
|
// OG
|
||||||
|
@ -57,15 +67,11 @@ const config = {
|
||||||
ENABLE_NO_SOURCE_CLAIMS: process.env.ENABLE_NO_SOURCE_CLAIMS === 'true',
|
ENABLE_NO_SOURCE_CLAIMS: process.env.ENABLE_NO_SOURCE_CLAIMS === 'true',
|
||||||
ENABLE_PREROLL_ADS: process.env.ENABLE_PREROLL_ADS === 'true',
|
ENABLE_PREROLL_ADS: process.env.ENABLE_PREROLL_ADS === 'true',
|
||||||
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS: process.env.CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS,
|
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS: process.env.CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS,
|
||||||
CHANNEL_STAKED_LEVEL_LIVESTREAM: process.env.CHANNEL_STAKED_LEVEL_LIVESTREAM,
|
CHANNEL_CREATION_LIMIT: process.env.CHANNEL_CREATION_LIMIT,
|
||||||
WEB_PUBLISH_SIZE_LIMIT_GB: process.env.WEB_PUBLISH_SIZE_LIMIT_GB,
|
WEB_PUBLISH_SIZE_LIMIT_GB: process.env.WEB_PUBLISH_SIZE_LIMIT_GB,
|
||||||
LOADING_BAR_COLOR: process.env.LOADING_BAR_COLOR,
|
LOADING_BAR_COLOR: process.env.LOADING_BAR_COLOR,
|
||||||
SIMPLE_SITE: process.env.SIMPLE_SITE === 'true',
|
SIMPLE_SITE: process.env.SIMPLE_SITE === 'true',
|
||||||
SHOW_ADS: process.env.SHOW_ADS === 'true',
|
SHOW_ADS: process.env.SHOW_ADS === 'true',
|
||||||
PINNED_URI_1: process.env.PINNED_URI_1,
|
|
||||||
PINNED_LABEL_1: process.env.PINNED_LABEL_1,
|
|
||||||
PINNED_URI_2: process.env.PINNED_URI_2,
|
|
||||||
PINNED_LABEL_2: process.env.PINNED_LABEL_2,
|
|
||||||
KNOWN_APP_DOMAINS: process.env.KNOWN_APP_DOMAINS ? process.env.KNOWN_APP_DOMAINS.split(',') : [],
|
KNOWN_APP_DOMAINS: process.env.KNOWN_APP_DOMAINS ? process.env.KNOWN_APP_DOMAINS.split(',') : [],
|
||||||
STRIPE_PUBLIC_KEY: process.env.STRIPE_PUBLIC_KEY,
|
STRIPE_PUBLIC_KEY: process.env.STRIPE_PUBLIC_KEY,
|
||||||
ENABLE_UI_NOTIFICATIONS: process.env.ENABLE_UI_NOTIFICATIONS === 'true',
|
ENABLE_UI_NOTIFICATIONS: process.env.ENABLE_UI_NOTIFICATIONS === 'true',
|
||||||
|
@ -74,9 +80,30 @@ const config = {
|
||||||
SHOW_TAGS_INTRO: process.env.SHOW_TAGS_INTRO === 'true',
|
SHOW_TAGS_INTRO: process.env.SHOW_TAGS_INTRO === 'true',
|
||||||
LIGHTHOUSE_DEFAULT_TYPES: process.env.LIGHTHOUSE_DEFAULT_TYPES,
|
LIGHTHOUSE_DEFAULT_TYPES: process.env.LIGHTHOUSE_DEFAULT_TYPES,
|
||||||
BRANDED_SITE: process.env.BRANDED_SITE,
|
BRANDED_SITE: process.env.BRANDED_SITE,
|
||||||
|
|
||||||
|
// FIREBASE SDK
|
||||||
|
FIREBASE_API_KEY: process.env.FIREBASE_API_KEY,
|
||||||
|
FIREBASE_AUTH_DOMAIN: process.env.FIREBASE_AUTH_DOMAIN,
|
||||||
|
FIREBASE_PROJECT_ID: process.env.FIREBASE_PROJECT_ID,
|
||||||
|
FIREBASE_STORAGE_BUCKET: process.env.FIREBASE_STORAGE_BUCKET,
|
||||||
|
FIREBASE_MESSAGING_SENDER_ID: process.env.FIREBASE_MESSAGING_SENDER_ID,
|
||||||
|
FIREBASE_APP_ID: process.env.FIREBASE_APP_ID,
|
||||||
|
FIREBASE_MEASUREMENT_ID: process.env.FIREBASE_MEASUREMENT_ID,
|
||||||
|
FIREBASE_VAPID_KEY: process.env.FIREBASE_VAPID_KEY,
|
||||||
|
|
||||||
|
AD_KEYWORD_BLOCKLIST: process.env.AD_KEYWORD_BLOCKLIST,
|
||||||
|
AD_KEYWORD_BLOCKLIST_CHECK_DESCRIPTION: process.env.AD_KEYWORD_BLOCKLIST_CHECK_DESCRIPTION,
|
||||||
|
|
||||||
|
// FROM COMMAND LINE
|
||||||
|
COMMIT_ID: process.env.COMMIT_ID,
|
||||||
|
NODE_ENV: process.env.NODE_ENV,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config.SDK_API_PATH = `${config.LBRY_WEB_API}/api/v1`;
|
||||||
|
config.PROXY_URL = `${config.SDK_API_PATH}/proxy`;
|
||||||
|
|
||||||
config.URL_DEV = `http://localhost:${config.WEBPACK_WEB_PORT}`;
|
config.URL_DEV = `http://localhost:${config.WEBPACK_WEB_PORT}`;
|
||||||
config.URL_LOCAL = `http://localhost:${config.WEB_SERVER_PORT}`;
|
config.URL_LOCAL = `http://localhost:${config.WEB_SERVER_PORT}`;
|
||||||
|
config.FAVICON = `/public/favicon-spaceman.png`;
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|
|
@ -20,6 +20,11 @@
|
||||||
"to": "static/daemon/",
|
"to": "static/daemon/",
|
||||||
"filter": ["**/*"]
|
"filter": ["**/*"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"from": "./static/lbry-first/",
|
||||||
|
"to": "static/lbry-first/",
|
||||||
|
"filter": ["**/*"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"from": "./static/img",
|
"from": "./static/img",
|
||||||
"to": "static/img",
|
"to": "static/img",
|
||||||
|
@ -29,10 +34,6 @@
|
||||||
"from": "./static/font",
|
"from": "./static/font",
|
||||||
"to": "static/font",
|
"to": "static/font",
|
||||||
"filter": ["**/*"]
|
"filter": ["**/*"]
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": "./static/app-update.yml",
|
|
||||||
"to": "app-update.yml"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"publish": [
|
"publish": [
|
||||||
|
@ -41,11 +42,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"mac": {
|
"mac": {
|
||||||
"category": "public.app-category.entertainment",
|
"category": "public.app-category.entertainment"
|
||||||
"entitlements": "build/entitlements.mac.plist",
|
|
||||||
"entitlementsInherit": "build/entitlements.mac.plist",
|
|
||||||
"hardenedRuntime" : true,
|
|
||||||
"gatekeeperAssess": false
|
|
||||||
},
|
},
|
||||||
"dmg": {
|
"dmg": {
|
||||||
"iconSize": 128,
|
"iconSize": 128,
|
||||||
|
@ -85,7 +82,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"deb": {
|
"deb": {
|
||||||
"depends": ["gconf2", "gconf-service", "libnotify4", "libxtst6", "libnss3"]
|
"depends": ["gconf2", "gconf-service", "libnotify4", "libappindicator1", "libxtst6", "libnss3"]
|
||||||
},
|
},
|
||||||
"nsis": {
|
"nsis": {
|
||||||
"perMachine": true,
|
"perMachine": true,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { WEBPACK_ELECTRON_PORT } from 'config';
|
import { WEBPACK_ELECTRON_PORT } from 'config';
|
||||||
import { app, BrowserWindow, dialog, screen, nativeImage } from 'electron';
|
import { app, BrowserWindow, dialog, shell, screen, nativeImage } from 'electron';
|
||||||
import isDev from 'electron-is-dev';
|
import isDev from 'electron-is-dev';
|
||||||
import windowStateKeeper from 'electron-window-state';
|
import windowStateKeeper from 'electron-window-state';
|
||||||
import SUPPORTED_LANGUAGES from 'constants/supported_languages';
|
import SUPPORTED_LANGUAGES from 'constants/supported_languages';
|
||||||
|
@ -9,8 +9,7 @@ import { TO_TRAY_WHEN_CLOSED } from 'constants/settings';
|
||||||
|
|
||||||
import setupBarMenu from './menu/setupBarMenu';
|
import setupBarMenu from './menu/setupBarMenu';
|
||||||
import * as PAGES from 'constants/pages';
|
import * as PAGES from 'constants/pages';
|
||||||
const remote = require('@electron/remote/main');
|
|
||||||
const shell = require('electron').shell;
|
|
||||||
function GetAppLangCode() {
|
function GetAppLangCode() {
|
||||||
// https://www.electronjs.org/docs/api/locales
|
// https://www.electronjs.org/docs/api/locales
|
||||||
// 1. Gets the user locale.
|
// 1. Gets the user locale.
|
||||||
|
@ -55,8 +54,6 @@ export default appState => {
|
||||||
webSecurity: !isDev,
|
webSecurity: !isDev,
|
||||||
plugins: true,
|
plugins: true,
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
contextIsolation: false,
|
|
||||||
enableRemoteModule: true, // see about removing this
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const lbryProto = 'lbry://';
|
const lbryProto = 'lbry://';
|
||||||
|
@ -64,7 +61,6 @@ export default appState => {
|
||||||
const rendererURL = isDev ? `http://localhost:${WEBPACK_ELECTRON_PORT}` : `file://${__dirname}/index.html`;
|
const rendererURL = isDev ? `http://localhost:${WEBPACK_ELECTRON_PORT}` : `file://${__dirname}/index.html`;
|
||||||
|
|
||||||
let window = new BrowserWindow(windowConfiguration);
|
let window = new BrowserWindow(windowConfiguration);
|
||||||
remote.enable(window.webContents);
|
|
||||||
|
|
||||||
// Let us register listeners on the window, so we can update the state
|
// Let us register listeners on the window, so we can update the state
|
||||||
// automatically (the listeners will be removed when the window is closed)
|
// automatically (the listeners will be removed when the window is closed)
|
||||||
|
@ -95,7 +91,7 @@ export default appState => {
|
||||||
|
|
||||||
// is it a lbry://? pointing to an app page
|
// is it a lbry://? pointing to an app page
|
||||||
if (deepLinkingURI.includes(lbryProtoQ)) {
|
if (deepLinkingURI.includes(lbryProtoQ)) {
|
||||||
let path = deepLinkingURI.slice(lbryProtoQ.length);
|
let path = deepLinkingURI.substr(lbryProtoQ.length);
|
||||||
let page = path.indexOf('?') >= 0 ? path.substring(0, path.indexOf('?')) : path;
|
let page = path.indexOf('?') >= 0 ? path.substring(0, path.indexOf('?')) : path;
|
||||||
if (Object.values(PAGES).includes(page)) {
|
if (Object.values(PAGES).includes(page)) {
|
||||||
deepLinkingURI = deepLinkingURI.replace(lbryProtoQ, '#/$/');
|
deepLinkingURI = deepLinkingURI.replace(lbryProtoQ, '#/$/');
|
||||||
|
@ -190,13 +186,9 @@ export default appState => {
|
||||||
window = null;
|
window = null;
|
||||||
});
|
});
|
||||||
|
|
||||||
window.webContents.setWindowOpenHandler((details) => {
|
window.webContents.on('new-window', (event, url) => {
|
||||||
// Only open http and https links to prevent
|
event.preventDefault();
|
||||||
// security issues.
|
shell.openExternal(url);
|
||||||
if (['https:', 'http:'].includes(new URL(details.url).protocol)) {
|
|
||||||
shell.openExternal(details.url);
|
|
||||||
}
|
|
||||||
return { action: 'deny' };
|
|
||||||
});
|
});
|
||||||
|
|
||||||
window.webContents.on('update-target-url', (event, url) => {
|
window.webContents.on('update-target-url', (event, url) => {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
import '@babel/polyfill';
|
import '@babel/polyfill';
|
||||||
import SemVer from 'semver';
|
import SemVer from 'semver';
|
||||||
import https from 'https';
|
import https from 'https';
|
||||||
import { app, dialog, ipcMain, session, shell, BrowserWindow } from 'electron';
|
import { app, dialog, ipcMain, session, shell } from 'electron';
|
||||||
import { autoUpdater } from 'electron-updater';
|
import { autoUpdater } from 'electron-updater';
|
||||||
import Lbry from 'lbry';
|
import Lbry from 'lbry';
|
||||||
import LbryFirstInstance from './LbryFirstInstance';
|
import LbryFirstInstance from './LbryFirstInstance';
|
||||||
|
@ -17,17 +17,6 @@ import startSandbox from './startSandbox';
|
||||||
import installDevtools from './installDevtools';
|
import installDevtools from './installDevtools';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { diskSpaceLinux, diskSpaceWindows, diskSpaceMac } from '../ui/util/diskspace';
|
|
||||||
|
|
||||||
const { download } = require('electron-dl');
|
|
||||||
const mime = require('mime');
|
|
||||||
const remote = require('@electron/remote/main');
|
|
||||||
const os = require('os');
|
|
||||||
const sudo = require('sudo-prompt');
|
|
||||||
const probe = require('ffmpeg-probe');
|
|
||||||
const MAX_IPC_SEND_BUFFER_SIZE = 500000000; // large files crash when serialized for ipc message
|
|
||||||
|
|
||||||
remote.initialize();
|
|
||||||
const filePath = path.join(process.resourcesPath, 'static', 'upgradeDisabled');
|
const filePath = path.join(process.resourcesPath, 'static', 'upgradeDisabled');
|
||||||
let upgradeDisabled;
|
let upgradeDisabled;
|
||||||
try {
|
try {
|
||||||
|
@ -37,18 +26,11 @@ try {
|
||||||
upgradeDisabled = false;
|
upgradeDisabled = false;
|
||||||
}
|
}
|
||||||
autoUpdater.autoDownload = !upgradeDisabled;
|
autoUpdater.autoDownload = !upgradeDisabled;
|
||||||
autoUpdater.allowPrerelease = false;
|
|
||||||
|
|
||||||
const UPDATE_STATE_INIT = 0;
|
// This is set to true if an auto update has been downloaded through the Electron
|
||||||
const UPDATE_STATE_CHECKING = 1;
|
// auto-update system and is ready to install. If the user declined an update earlier,
|
||||||
const UPDATE_STATE_UPDATES_FOUND = 2;
|
// it will still install on shutdown.
|
||||||
const UPDATE_STATE_NO_UPDATES_FOUND = 3;
|
let autoUpdateDownloaded = false;
|
||||||
const UPDATE_STATE_DOWNLOADING = 4;
|
|
||||||
const UPDATE_STATE_DOWNLOADED = 5;
|
|
||||||
let updateState = UPDATE_STATE_INIT;
|
|
||||||
let updateDownloadItem;
|
|
||||||
|
|
||||||
const isAutoUpdateSupported = ['win32', 'darwin'].includes(process.platform) || !!process.env.APPIMAGE;
|
|
||||||
|
|
||||||
// This is used to keep track of whether we are showing the special dialog
|
// This is used to keep track of whether we are showing the special dialog
|
||||||
// that we show on Windows after you decline an upgrade and close the app later.
|
// that we show on Windows after you decline an upgrade and close the app later.
|
||||||
|
@ -70,7 +52,7 @@ if (isDev && process.platform === 'win32') {
|
||||||
app.setAsDefaultProtocolClient(PROTOCOL, process.execPath, [
|
app.setAsDefaultProtocolClient(PROTOCOL, process.execPath, [
|
||||||
path.resolve(process.argv[1]),
|
path.resolve(process.argv[1]),
|
||||||
]);
|
]);
|
||||||
} else if (process.platform !== 'linux') {
|
} else {
|
||||||
app.setAsDefaultProtocolClient(PROTOCOL);
|
app.setAsDefaultProtocolClient(PROTOCOL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -241,8 +223,7 @@ app.on('activate', () => {
|
||||||
app.on('will-quit', event => {
|
app.on('will-quit', event => {
|
||||||
if (
|
if (
|
||||||
process.platform === 'win32' &&
|
process.platform === 'win32' &&
|
||||||
updateState === UPDATE_STATE_DOWNLOADED &&
|
autoUpdateDownloaded &&
|
||||||
isAutoUpdateSupported &&
|
|
||||||
!appState.autoUpdateAccepted &&
|
!appState.autoUpdateAccepted &&
|
||||||
!showingAutoUpdateCloseAlert
|
!showingAutoUpdateCloseAlert
|
||||||
) {
|
) {
|
||||||
|
@ -302,118 +283,27 @@ app.on('before-quit', () => {
|
||||||
appState.isQuitting = true;
|
appState.isQuitting = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Get the content of a file as a raw buffer of bytes.
|
ipcMain.on('upgrade', (event, installerPath) => {
|
||||||
// Useful to convert a file path to a File instance.
|
app.on('quit', () => {
|
||||||
// Example:
|
console.log('Launching upgrade installer at', installerPath);
|
||||||
// const result = await ipcMain.invoke('get-file-from-path', 'path/to/file');
|
// This gets triggered called after *all* other quit-related events, so
|
||||||
// const file = new File([result.buffer], result.name);
|
// we'll only get here if we're fully prepared and quitting for real.
|
||||||
// NOTE: if path points to a folder, an empty
|
shell.openPath(installerPath);
|
||||||
// file will be given.
|
|
||||||
ipcMain.handle('get-file-from-path', (event, path, readContents = true) => {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
fs.stat(path, (error, stats) => {
|
|
||||||
if (error) {
|
|
||||||
reject(error);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
// Separate folders considering "\" and "/"
|
|
||||||
// as separators (cross platform)
|
|
||||||
const folders = path.split(/[\\/]/);
|
|
||||||
const name = folders[folders.length - 1];
|
|
||||||
if (stats.isDirectory()) {
|
|
||||||
resolve({
|
|
||||||
name,
|
|
||||||
mime: undefined,
|
|
||||||
path,
|
|
||||||
buffer: new ArrayBuffer(0),
|
|
||||||
});
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (!readContents) {
|
|
||||||
resolve({
|
|
||||||
name,
|
|
||||||
mime: mime.getType(name) || undefined,
|
|
||||||
path,
|
|
||||||
buffer: new ArrayBuffer(0),
|
|
||||||
});
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
// Encoding null ensures data results in a Buffer.
|
|
||||||
fs.readFile(path, { encoding: null }, (err, data) => {
|
|
||||||
if (err) {
|
|
||||||
reject(err);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
resolve({
|
|
||||||
name,
|
|
||||||
mime: mime.getType(name) || undefined,
|
|
||||||
path,
|
|
||||||
buffer: data,
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
// what to do if no shutdown in a long time?
|
||||||
|
console.log('Update downloaded to', installerPath);
|
||||||
|
console.log('The app will close and you will be prompted to install the latest version of LBRY.');
|
||||||
|
console.log('After the install is complete, please reopen the app.');
|
||||||
|
app.quit();
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.handle('get-file-details-from-path', async (event, path) => {
|
autoUpdater.on('update-downloaded', () => {
|
||||||
const isFfMp4 = (ffprobeResults) => {
|
autoUpdateDownloaded = true;
|
||||||
return ffprobeResults &&
|
|
||||||
ffprobeResults.format &&
|
|
||||||
ffprobeResults.format.format_name &&
|
|
||||||
ffprobeResults.format.format_name.includes('mp4');
|
|
||||||
};
|
|
||||||
const folders = path.split(/[\\/]/);
|
|
||||||
const name = folders[folders.length - 1];
|
|
||||||
let duration = 0, size = 0, mimeType;
|
|
||||||
try {
|
|
||||||
await fs.promises.stat(path);
|
|
||||||
let ffprobeResults;
|
|
||||||
try {
|
|
||||||
ffprobeResults = await probe(path);
|
|
||||||
duration = ffprobeResults.format.duration;
|
|
||||||
size = ffprobeResults.format.size;
|
|
||||||
} catch (e) {
|
|
||||||
}
|
|
||||||
let fileReadResult;
|
|
||||||
if (size < MAX_IPC_SEND_BUFFER_SIZE) {
|
|
||||||
try {
|
|
||||||
fileReadResult = await fs.promises.readFile(path);
|
|
||||||
} catch (e) {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// TODO: use mmmagic to inspect file and get mime type
|
|
||||||
mimeType = isFfMp4(ffprobeResults) ? 'video/mp4' : mime.getType(name);
|
|
||||||
const fileData = {name, mime: mimeType || undefined, path, duration: duration, size, buffer: fileReadResult };
|
|
||||||
return fileData;
|
|
||||||
} catch (e) {
|
|
||||||
// no stat
|
|
||||||
return { error: 'no file' };
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.on('get-disk-space', async (event) => {
|
ipcMain.on('autoUpdateAccepted', () => {
|
||||||
try {
|
appState.autoUpdateAccepted = true;
|
||||||
const { data_dir } = await Lbry.settings_get();
|
autoUpdater.quitAndInstall();
|
||||||
let diskSpace;
|
|
||||||
switch (os.platform()) {
|
|
||||||
case 'linux':
|
|
||||||
diskSpace = await diskSpaceLinux(data_dir);
|
|
||||||
break;
|
|
||||||
case 'darwin':
|
|
||||||
diskSpace = await diskSpaceMac(data_dir);
|
|
||||||
break;
|
|
||||||
case 'win32':
|
|
||||||
diskSpace = await diskSpaceWindows(data_dir);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
throw new Error('unknown platform');
|
|
||||||
}
|
|
||||||
rendererWindow.webContents.send('send-disk-space', { diskSpace });
|
|
||||||
} catch (e) {
|
|
||||||
rendererWindow.webContents.send('send-disk-space', { error: e.message || e });
|
|
||||||
console.log('Failed to get disk space', e);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.on('version-info-requested', () => {
|
ipcMain.on('version-info-requested', () => {
|
||||||
|
@ -508,162 +398,3 @@ process.on('uncaughtException', error => {
|
||||||
if (daemon) daemon.quit();
|
if (daemon) daemon.quit();
|
||||||
app.exit(1);
|
app.exit(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Auto updater
|
|
||||||
autoUpdater.on('download-progress', () => {
|
|
||||||
updateState = UPDATE_STATE_DOWNLOADING;
|
|
||||||
});
|
|
||||||
|
|
||||||
autoUpdater.on('update-downloaded', () => {
|
|
||||||
updateState = UPDATE_STATE_DOWNLOADED;
|
|
||||||
|
|
||||||
// If this download was trigger by
|
|
||||||
// autoUpdateAccepted it means, the user
|
|
||||||
// wants to install the new update but
|
|
||||||
// needed to downloaded the files first.
|
|
||||||
if (appState.autoUpdateAccepted) {
|
|
||||||
autoUpdater.quitAndInstall();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
autoUpdater.on('update-available', () => {
|
|
||||||
if (updateState === UPDATE_STATE_DOWNLOADING) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
updateState = UPDATE_STATE_UPDATES_FOUND;
|
|
||||||
});
|
|
||||||
|
|
||||||
autoUpdater.on('update-not-available', () => {
|
|
||||||
updateState = UPDATE_STATE_NO_UPDATES_FOUND;
|
|
||||||
});
|
|
||||||
|
|
||||||
autoUpdater.on('error', () => {
|
|
||||||
if (updateState === UPDATE_STATE_DOWNLOADING) {
|
|
||||||
updateState = UPDATE_STATE_UPDATES_FOUND;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
updateState = UPDATE_STATE_INIT;
|
|
||||||
});
|
|
||||||
|
|
||||||
// Manual (.deb) update
|
|
||||||
ipcMain.on('cancel-download-upgrade', () => {
|
|
||||||
if (updateDownloadItem) {
|
|
||||||
// Cancel the download and execute the onCancel
|
|
||||||
// callback set in the options.
|
|
||||||
updateDownloadItem.cancel();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
ipcMain.on('download-upgrade', (event, params) => {
|
|
||||||
if (updateState !== UPDATE_STATE_UPDATES_FOUND) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (isAutoUpdateSupported) {
|
|
||||||
updateState = UPDATE_STATE_DOWNLOADING;
|
|
||||||
autoUpdater.downloadUpdate();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const { url, options } = params;
|
|
||||||
const dir = fs.mkdtempSync(app.getPath('temp') + path.sep);
|
|
||||||
|
|
||||||
updateState = UPDATE_STATE_DOWNLOADING;
|
|
||||||
|
|
||||||
// Grab the download item's handler to allow
|
|
||||||
// cancelling the operation if required.
|
|
||||||
options.onStarted = function(downloadItem) {
|
|
||||||
updateDownloadItem = downloadItem;
|
|
||||||
};
|
|
||||||
options.onCancel = function() {
|
|
||||||
updateState = UPDATE_STATE_UPDATES_FOUND;
|
|
||||||
updateDownloadItem = undefined;
|
|
||||||
};
|
|
||||||
options.onProgress = function(p) {
|
|
||||||
rendererWindow.webContents.send('download-progress-update', p);
|
|
||||||
};
|
|
||||||
options.onCompleted = function(c) {
|
|
||||||
updateState = UPDATE_STATE_DOWNLOADED;
|
|
||||||
updateDownloadItem = undefined;
|
|
||||||
rendererWindow.webContents.send('download-update-complete', c);
|
|
||||||
};
|
|
||||||
options.directory = dir;
|
|
||||||
const win = BrowserWindow.getFocusedWindow();
|
|
||||||
download(win, url, options).catch(e => {
|
|
||||||
updateState = UPDATE_STATE_UPDATES_FOUND;
|
|
||||||
console.log('e', e);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// Update behavior
|
|
||||||
ipcMain.on('autoUpdateAccepted', () => {
|
|
||||||
appState.autoUpdateAccepted = true;
|
|
||||||
|
|
||||||
// quitAndInstall can only be called if the
|
|
||||||
// update has been downloaded. Since the user
|
|
||||||
// can disable auto updates, we have to make
|
|
||||||
// sure it has been downloaded first.
|
|
||||||
if (updateState === UPDATE_STATE_DOWNLOADED) {
|
|
||||||
autoUpdater.quitAndInstall();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (updateState !== UPDATE_STATE_UPDATES_FOUND) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// If the update hasn't been downloaded,
|
|
||||||
// start downloading it. After it's done, the
|
|
||||||
// event 'update-downloaded' will be triggered,
|
|
||||||
// where we will be able to resume the
|
|
||||||
// update installation.
|
|
||||||
updateState = UPDATE_STATE_DOWNLOADING;
|
|
||||||
autoUpdater.downloadUpdate();
|
|
||||||
});
|
|
||||||
|
|
||||||
ipcMain.on('check-for-updates', (event, autoDownload) => {
|
|
||||||
if (![UPDATE_STATE_INIT, UPDATE_STATE_NO_UPDATES_FOUND].includes(updateState)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
updateState = UPDATE_STATE_CHECKING;
|
|
||||||
|
|
||||||
// If autoDownload is true, checkForUpdates will begin the
|
|
||||||
// download automatically.
|
|
||||||
if (autoDownload) {
|
|
||||||
updateState = UPDATE_STATE_DOWNLOADING;
|
|
||||||
}
|
|
||||||
|
|
||||||
autoUpdater.autoDownload = autoDownload;
|
|
||||||
autoUpdater.checkForUpdates();
|
|
||||||
});
|
|
||||||
|
|
||||||
ipcMain.on('upgrade', (event, installerPath) => {
|
|
||||||
// what to do if no shutdown in a long time?
|
|
||||||
console.log('Update downloaded to', installerPath);
|
|
||||||
console.log('The app will close and you will be prompted to install the latest version of LBRY.');
|
|
||||||
console.log('After the install is complete, please reopen the app.');
|
|
||||||
|
|
||||||
// Prevent .deb package from opening with archive manager (Ubuntu >= 20)
|
|
||||||
if (process.platform === 'linux' && !process.env.APPIMAGE) {
|
|
||||||
sudo.exec(`dpkg -i ${installerPath}`, { name: app.name }, (err, stdout, stderr) => {
|
|
||||||
if (err || stderr) {
|
|
||||||
rendererWindow.webContents.send('upgrade-installing-error');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Re-launch the application when the installation finishes.
|
|
||||||
app.relaunch();
|
|
||||||
app.quit();
|
|
||||||
});
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
app.on('quit', () => {
|
|
||||||
console.log('Launching upgrade installer at', installerPath);
|
|
||||||
// This gets triggered called after *all* other quit-related events, so
|
|
||||||
// we'll only get here if we're fully prepared and quitting for real.
|
|
||||||
shell.openPath(installerPath);
|
|
||||||
});
|
|
||||||
app.quit();
|
|
||||||
});
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { app, Menu, shell } from 'electron';
|
import { app, Menu, shell } from 'electron';
|
||||||
import { ZOOM } from 'util/zoomWindow';
|
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
const template = [
|
const template = [
|
||||||
|
@ -23,38 +22,6 @@ export default () => {
|
||||||
label: 'View',
|
label: 'View',
|
||||||
submenu: [
|
submenu: [
|
||||||
{ role: 'reload' },
|
{ role: 'reload' },
|
||||||
{
|
|
||||||
label: 'Zoom',
|
|
||||||
submenu: [
|
|
||||||
{
|
|
||||||
label: 'Zoom In',
|
|
||||||
accelerator: 'CmdOrCtrl+=',
|
|
||||||
click: (menuItem, browserWindow) => {
|
|
||||||
if (browserWindow) {
|
|
||||||
browserWindow.webContents.send('zoom-window', ZOOM.INCREMENT);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Zoom Out',
|
|
||||||
accelerator: 'CmdOrCtrl+-',
|
|
||||||
click: (menuItem, browserWindow) => {
|
|
||||||
if (browserWindow) {
|
|
||||||
browserWindow.webContents.send('zoom-window', ZOOM.DECREMENT);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'Reset Zoom',
|
|
||||||
accelerator: 'CmdOrCtrl+0',
|
|
||||||
click: (menuItem, browserWindow) => {
|
|
||||||
if (browserWindow) {
|
|
||||||
browserWindow.webContents.send('zoom-window', ZOOM.RESET);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: 'Developer',
|
label: 'Developer',
|
||||||
submenu: [{ role: 'forcereload' }, { role: 'toggledevtools' }],
|
submenu: [{ role: 'forcereload' }, { role: 'toggledevtools' }],
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// import express from 'express';
|
import express from 'express';
|
||||||
|
import unpackByOutpoint from './unpackByOutpoint';
|
||||||
|
|
||||||
// Polyfills and `lbry-redux`
|
// Polyfills and `lbry-redux`
|
||||||
global.fetch = require('node-fetch');
|
global.fetch = require('node-fetch');
|
||||||
|
@ -7,31 +8,31 @@ if (typeof global.fetch === 'object') {
|
||||||
global.fetch = global.fetch.default;
|
global.fetch = global.fetch.default;
|
||||||
}
|
}
|
||||||
|
|
||||||
// const Lbry = require('lbry');
|
const Lbry = require('lbry');
|
||||||
|
|
||||||
delete global.window;
|
delete global.window;
|
||||||
|
|
||||||
export default async function startSandbox() {
|
export default async function startSandbox() {
|
||||||
// const port = 5278;
|
const port = 5278;
|
||||||
// const sandbox = express();
|
const sandbox = express();
|
||||||
|
|
||||||
// sandbox.get('/set/:outpoint', async (req, res) => {
|
sandbox.get('/set/:outpoint', async (req, res) => {
|
||||||
// const { outpoint } = req.params;
|
const { outpoint } = req.params;
|
||||||
//
|
|
||||||
// const resolvedPath = await unpackByOutpoint(Lbry, outpoint);
|
const resolvedPath = await unpackByOutpoint(Lbry, outpoint);
|
||||||
//
|
|
||||||
// sandbox.use(`/sandbox/${outpoint}/`, express.static(resolvedPath));
|
sandbox.use(`/sandbox/${outpoint}/`, express.static(resolvedPath));
|
||||||
//
|
|
||||||
// res.send(`/sandbox/${outpoint}/`);
|
res.send(`/sandbox/${outpoint}/`);
|
||||||
// });
|
});
|
||||||
//
|
|
||||||
// sandbox
|
sandbox
|
||||||
// .listen(port, 'localhost', () => console.log(`Sandbox listening on port ${port}.`))
|
.listen(port, 'localhost', () => console.log(`Sandbox listening on port ${port}.`))
|
||||||
// .on('error', err => {
|
.on('error', err => {
|
||||||
// if (err.code === 'EADDRINUSE') {
|
if (err.code === 'EADDRINUSE') {
|
||||||
// console.log(
|
console.log(
|
||||||
// `Server already listening at localhost:${port}. This is probably another LBRY app running. If not, games in the app will not work.`
|
`Server already listening at localhost:${port}. This is probably another LBRY app running. If not, games in the app will not work.`
|
||||||
// );
|
);
|
||||||
// }
|
}
|
||||||
// });
|
});
|
||||||
}
|
}
|
||||||
|
|
23
electron/unpackByOutpoint.js
Normal file
23
electron/unpackByOutpoint.js
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
import fs from 'fs';
|
||||||
|
import path from 'path';
|
||||||
|
import { unpackDirectory } from 'lbry-format';
|
||||||
|
|
||||||
|
async function unpackByOutpoint(lbry, outpoint) {
|
||||||
|
const { items: claimFiles } = await lbry.file_list({ outpoint, full_status: true, page: 1, page_size: 1 });
|
||||||
|
|
||||||
|
if (claimFiles && claimFiles.length) {
|
||||||
|
const claimFileInfo = claimFiles[0];
|
||||||
|
const packFilePath = path.resolve(claimFileInfo.download_path);
|
||||||
|
const unpackPath = path.normalize(path.join(claimFileInfo.download_directory, claimFileInfo.claim_name));
|
||||||
|
|
||||||
|
if (!fs.existsSync(unpackPath)) {
|
||||||
|
await unpackDirectory(unpackPath, {
|
||||||
|
fileName: packFilePath,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
return unpackPath;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default unpackByOutpoint;
|
|
@ -17,9 +17,6 @@ export const FETCH_CHANNEL_LIST_STARTED = 'FETCH_CHANNEL_LIST_STARTED';
|
||||||
export const FETCH_CHANNEL_LIST_COMPLETED = 'FETCH_CHANNEL_LIST_COMPLETED';
|
export const FETCH_CHANNEL_LIST_COMPLETED = 'FETCH_CHANNEL_LIST_COMPLETED';
|
||||||
export const CREATE_CHANNEL_STARTED = 'CREATE_CHANNEL_STARTED';
|
export const CREATE_CHANNEL_STARTED = 'CREATE_CHANNEL_STARTED';
|
||||||
export const CREATE_CHANNEL_COMPLETED = 'CREATE_CHANNEL_COMPLETED';
|
export const CREATE_CHANNEL_COMPLETED = 'CREATE_CHANNEL_COMPLETED';
|
||||||
export const PUBLISH_STARTED = 'PUBLISH_STARTED';
|
|
||||||
export const PUBLISH_COMPLETED = 'PUBLISH_COMPLETED';
|
|
||||||
export const PUBLISH_FAILED = 'PUBLISH_FAILED';
|
|
||||||
export const SET_PLAYING_URI = 'SET_PLAYING_URI';
|
export const SET_PLAYING_URI = 'SET_PLAYING_URI';
|
||||||
export const SET_CONTENT_POSITION = 'SET_CONTENT_POSITION';
|
export const SET_CONTENT_POSITION = 'SET_CONTENT_POSITION';
|
||||||
export const SET_CONTENT_LAST_VIEWED = 'SET_CONTENT_LAST_VIEWED';
|
export const SET_CONTENT_LAST_VIEWED = 'SET_CONTENT_LAST_VIEWED';
|
||||||
|
@ -29,10 +26,8 @@ export const CLEAR_CONTENT_HISTORY_ALL = 'CLEAR_CONTENT_HISTORY_ALL';
|
||||||
// Subscriptions
|
// Subscriptions
|
||||||
export const CHANNEL_SUBSCRIBE = 'CHANNEL_SUBSCRIBE';
|
export const CHANNEL_SUBSCRIBE = 'CHANNEL_SUBSCRIBE';
|
||||||
export const CHANNEL_UNSUBSCRIBE = 'CHANNEL_UNSUBSCRIBE';
|
export const CHANNEL_UNSUBSCRIBE = 'CHANNEL_UNSUBSCRIBE';
|
||||||
export const CHANNEL_SUBSCRIPTION_ENABLE_NOTIFICATIONS =
|
export const CHANNEL_SUBSCRIPTION_ENABLE_NOTIFICATIONS = 'CHANNEL_SUBSCRIPTION_ENABLE_NOTIFICATIONS';
|
||||||
'CHANNEL_SUBSCRIPTION_ENABLE_NOTIFICATIONS';
|
export const CHANNEL_SUBSCRIPTION_DISABLE_NOTIFICATIONS = 'CHANNEL_SUBSCRIPTION_DISABLE_NOTIFICATIONS';
|
||||||
export const CHANNEL_SUBSCRIPTION_DISABLE_NOTIFICATIONS =
|
|
||||||
'CHANNEL_SUBSCRIPTION_DISABLE_NOTIFICATIONS';
|
|
||||||
export const HAS_FETCHED_SUBSCRIPTIONS = 'HAS_FETCHED_SUBSCRIPTIONS';
|
export const HAS_FETCHED_SUBSCRIPTIONS = 'HAS_FETCHED_SUBSCRIPTIONS';
|
||||||
export const SET_SUBSCRIPTION_LATEST = 'SET_SUBSCRIPTION_LATEST';
|
export const SET_SUBSCRIPTION_LATEST = 'SET_SUBSCRIPTION_LATEST';
|
||||||
export const UPDATE_SUBSCRIPTION_UNREADS = 'UPDATE_SUBSCRIPTION_UNREADS';
|
export const UPDATE_SUBSCRIPTION_UNREADS = 'UPDATE_SUBSCRIPTION_UNREADS';
|
||||||
|
@ -88,9 +83,6 @@ export const SYNC_APPLY_FAILED = 'SYNC_APPLY_FAILED';
|
||||||
export const SYNC_APPLY_BAD_PASSWORD = 'SYNC_APPLY_BAD_PASSWORD';
|
export const SYNC_APPLY_BAD_PASSWORD = 'SYNC_APPLY_BAD_PASSWORD';
|
||||||
export const SYNC_RESET = 'SYNC_RESET';
|
export const SYNC_RESET = 'SYNC_RESET';
|
||||||
|
|
||||||
// Lbry.tv
|
|
||||||
export const UPDATE_UPLOAD_PROGRESS = 'UPDATE_UPLOAD_PROGRESS';
|
|
||||||
|
|
||||||
// User
|
// User
|
||||||
export const GENERATE_AUTH_TOKEN_FAILURE = 'GENERATE_AUTH_TOKEN_FAILURE';
|
export const GENERATE_AUTH_TOKEN_FAILURE = 'GENERATE_AUTH_TOKEN_FAILURE';
|
||||||
export const GENERATE_AUTH_TOKEN_STARTED = 'GENERATE_AUTH_TOKEN_STARTED';
|
export const GENERATE_AUTH_TOKEN_STARTED = 'GENERATE_AUTH_TOKEN_STARTED';
|
||||||
|
|
|
@ -16,6 +16,7 @@ export { doGenerateAuthToken } from './redux/actions/auth';
|
||||||
export { doFetchCostInfoForUri } from './redux/actions/cost_info';
|
export { doFetchCostInfoForUri } from './redux/actions/cost_info';
|
||||||
export { doBlackListedOutpointsSubscribe } from './redux/actions/blacklist';
|
export { doBlackListedOutpointsSubscribe } from './redux/actions/blacklist';
|
||||||
export { doFilteredOutpointsSubscribe } from './redux/actions/filtered';
|
export { doFilteredOutpointsSubscribe } from './redux/actions/filtered';
|
||||||
|
// export { doFetchFeaturedUris, doFetchTrendingUris } from './redux/actions/homepage';
|
||||||
export { doFetchViewCount, doFetchSubCount } from './redux/actions/stats';
|
export { doFetchViewCount, doFetchSubCount } from './redux/actions/stats';
|
||||||
export {
|
export {
|
||||||
doCheckSync,
|
doCheckSync,
|
||||||
|
@ -32,6 +33,7 @@ export { authReducer } from './redux/reducers/auth';
|
||||||
export { costInfoReducer } from './redux/reducers/cost_info';
|
export { costInfoReducer } from './redux/reducers/cost_info';
|
||||||
export { blacklistReducer } from './redux/reducers/blacklist';
|
export { blacklistReducer } from './redux/reducers/blacklist';
|
||||||
export { filteredReducer } from './redux/reducers/filtered';
|
export { filteredReducer } from './redux/reducers/filtered';
|
||||||
|
// export { homepageReducer } from './redux/reducers/homepage';
|
||||||
export { statsReducer } from './redux/reducers/stats';
|
export { statsReducer } from './redux/reducers/stats';
|
||||||
export { syncReducer } from './redux/reducers/sync';
|
export { syncReducer } from './redux/reducers/sync';
|
||||||
|
|
||||||
|
@ -43,18 +45,15 @@ export {
|
||||||
selectAllCostInfoByUri,
|
selectAllCostInfoByUri,
|
||||||
selectFetchingCostInfo,
|
selectFetchingCostInfo,
|
||||||
} from './redux/selectors/cost_info';
|
} from './redux/selectors/cost_info';
|
||||||
export {
|
export { selectBlackListedOutpoints, selectBlacklistedOutpointMap } from './redux/selectors/blacklist';
|
||||||
selectBlackListedOutpoints,
|
|
||||||
selectBlacklistedOutpointMap,
|
|
||||||
} from './redux/selectors/blacklist';
|
|
||||||
export { selectFilteredOutpoints, selectFilteredOutpointMap } from './redux/selectors/filtered';
|
export { selectFilteredOutpoints, selectFilteredOutpointMap } from './redux/selectors/filtered';
|
||||||
export {
|
// export {
|
||||||
selectViewCount,
|
// selectFeaturedUris,
|
||||||
selectViewCountForUri,
|
// selectFetchingFeaturedUris,
|
||||||
// makeSelectViewCountForUri, // deprecated
|
// selectTrendingUris,
|
||||||
selectSubCountForUri,
|
// selectFetchingTrendingUris,
|
||||||
// makeSelectSubCountForUri, // deprecated
|
// } from './redux/selectors/homepage';
|
||||||
} from './redux/selectors/stats';
|
export { selectViewCount, selectViewCountForUri, selectSubCountForUri } from './redux/selectors/stats';
|
||||||
export { selectBanStateForUri } from './redux/selectors/ban';
|
export { selectBanStateForUri } from './redux/selectors/ban';
|
||||||
export {
|
export {
|
||||||
selectHasSyncedWallet,
|
selectHasSyncedWallet,
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import * as ACTIONS from 'constants/action_types';
|
import * as ACTIONS from 'constants/action_types';
|
||||||
import Lbry from 'lbry';
|
import Lbry from 'lbry';
|
||||||
import querystring from 'querystring';
|
import querystring from 'querystring';
|
||||||
|
import analytics from 'analytics';
|
||||||
|
|
||||||
const Lbryio = {
|
const Lbryio = {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
@ -14,7 +15,7 @@ const EXCHANGE_RATE_TIMEOUT = 20 * 60 * 1000;
|
||||||
const INTERNAL_APIS_DOWN = 'internal_apis_down';
|
const INTERNAL_APIS_DOWN = 'internal_apis_down';
|
||||||
|
|
||||||
// We can't use env's because they aren't passed into node_modules
|
// We can't use env's because they aren't passed into node_modules
|
||||||
Lbryio.setLocalApi = endpoint => {
|
Lbryio.setLocalApi = (endpoint) => {
|
||||||
Lbryio.CONNECTION_STRING = endpoint.replace(/\/*$/, '/'); // exactly one slash at the end;
|
Lbryio.CONNECTION_STRING = endpoint.replace(/\/*$/, '/'); // exactly one slash at the end;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -36,8 +37,8 @@ Lbryio.call = (resource, action, params = {}, method = 'get') => {
|
||||||
return Promise.reject(INTERNAL_APIS_DOWN);
|
return Promise.reject(INTERNAL_APIS_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (response)
|
if (response) {
|
||||||
return response.json().then(json => {
|
return response.json().then((json) => {
|
||||||
let error;
|
let error;
|
||||||
if (json.error) {
|
if (json.error) {
|
||||||
error = new Error(json.error);
|
error = new Error(json.error);
|
||||||
|
@ -47,15 +48,16 @@ Lbryio.call = (resource, action, params = {}, method = 'get') => {
|
||||||
error.response = response; // This is primarily a hack used in actions/user.js
|
error.response = response; // This is primarily a hack used in actions/user.js
|
||||||
return Promise.reject(error);
|
return Promise.reject(error);
|
||||||
});
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function makeRequest(url, options) {
|
function makeRequest(url, options) {
|
||||||
return fetch(url, options).then(checkAndParse);
|
return fetch(url, options).then(checkAndParse);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Lbryio.getAuthToken().then(token => {
|
return Lbryio.getAuthToken().then((token) => {
|
||||||
const fullParams = { auth_token: token, ...params };
|
const fullParams = { auth_token: token, ...params };
|
||||||
Object.keys(fullParams).forEach(key => {
|
Object.keys(fullParams).forEach((key) => {
|
||||||
const value = fullParams[key];
|
const value = fullParams[key];
|
||||||
if (typeof value === 'object') {
|
if (typeof value === 'object') {
|
||||||
fullParams[key] = JSON.stringify(value);
|
fullParams[key] = JSON.stringify(value);
|
||||||
|
@ -80,18 +82,21 @@ Lbryio.call = (resource, action, params = {}, method = 'get') => {
|
||||||
url = `${Lbryio.CONNECTION_STRING}${resource}/${action}`;
|
url = `${Lbryio.CONNECTION_STRING}${resource}/${action}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return makeRequest(url, options).then(response => response.data);
|
return makeRequest(url, options).then((response) => {
|
||||||
|
sendCallAnalytics(resource, action, params);
|
||||||
|
return response.data;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
Lbryio.authToken = null;
|
Lbryio.authToken = null;
|
||||||
|
|
||||||
Lbryio.getAuthToken = () =>
|
Lbryio.getAuthToken = () =>
|
||||||
new Promise(resolve => {
|
new Promise((resolve) => {
|
||||||
if (Lbryio.authToken) {
|
if (Lbryio.authToken) {
|
||||||
resolve(Lbryio.authToken);
|
resolve(Lbryio.authToken);
|
||||||
} else if (Lbryio.overrides.getAuthToken) {
|
} else if (Lbryio.overrides.getAuthToken) {
|
||||||
Lbryio.overrides.getAuthToken().then(token => {
|
Lbryio.overrides.getAuthToken().then((token) => {
|
||||||
resolve(token);
|
resolve(token);
|
||||||
});
|
});
|
||||||
} else if (typeof window !== 'undefined') {
|
} else if (typeof window !== 'undefined') {
|
||||||
|
@ -122,7 +127,7 @@ Lbryio.authenticate = (domain, language) => {
|
||||||
language: language || 'en',
|
language: language || 'en',
|
||||||
};
|
};
|
||||||
|
|
||||||
return new Promise(resolve => {
|
return new Promise((resolve) => {
|
||||||
resolve(params);
|
resolve(params);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -130,15 +135,15 @@ Lbryio.authenticate = (domain, language) => {
|
||||||
if (Lbryio.authenticationPromise === null) {
|
if (Lbryio.authenticationPromise === null) {
|
||||||
Lbryio.authenticationPromise = new Promise((resolve, reject) => {
|
Lbryio.authenticationPromise = new Promise((resolve, reject) => {
|
||||||
Lbryio.getAuthToken()
|
Lbryio.getAuthToken()
|
||||||
.then(token => {
|
.then((token) => {
|
||||||
if (!token || token.length > 60) {
|
if (!token || token.length > 60) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check that token works
|
// check that token works
|
||||||
return Lbryio.getCurrentUser()
|
return Lbryio.getCurrentUser()
|
||||||
.then(user => user)
|
.then((user) => user)
|
||||||
.catch(error => {
|
.catch((error) => {
|
||||||
if (error === INTERNAL_APIS_DOWN) {
|
if (error === INTERNAL_APIS_DOWN) {
|
||||||
throw new Error('Internal APIS down');
|
throw new Error('Internal APIS down');
|
||||||
}
|
}
|
||||||
|
@ -146,14 +151,14 @@ Lbryio.authenticate = (domain, language) => {
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.then(user => {
|
.then((user) => {
|
||||||
if (user) {
|
if (user) {
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Lbry.status()
|
return Lbry.status()
|
||||||
.then(
|
.then(
|
||||||
status =>
|
(status) =>
|
||||||
new Promise((res, rej) => {
|
new Promise((res, rej) => {
|
||||||
const appId =
|
const appId =
|
||||||
domain && domain !== 'lbry.tv'
|
domain && domain !== 'lbry.tv'
|
||||||
|
@ -169,7 +174,7 @@ Lbryio.authenticate = (domain, language) => {
|
||||||
},
|
},
|
||||||
'post'
|
'post'
|
||||||
)
|
)
|
||||||
.then(response => {
|
.then((response) => {
|
||||||
if (!response.auth_token) {
|
if (!response.auth_token) {
|
||||||
throw new Error('auth_token was not set in the response');
|
throw new Error('auth_token was not set in the response');
|
||||||
}
|
}
|
||||||
|
@ -188,10 +193,10 @@ Lbryio.authenticate = (domain, language) => {
|
||||||
Lbryio.authToken = response.auth_token;
|
Lbryio.authToken = response.auth_token;
|
||||||
return res(response);
|
return res(response);
|
||||||
})
|
})
|
||||||
.catch(error => rej(error));
|
.catch((error) => rej(error));
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
.then(newUser => {
|
.then((newUser) => {
|
||||||
if (!newUser) {
|
if (!newUser) {
|
||||||
return Lbryio.getCurrentUser();
|
return Lbryio.getCurrentUser();
|
||||||
}
|
}
|
||||||
|
@ -211,10 +216,7 @@ Lbryio.getStripeToken = () =>
|
||||||
: 'pk_live_e8M4dRNnCCbmpZzduEUZBgJO';
|
: 'pk_live_e8M4dRNnCCbmpZzduEUZBgJO';
|
||||||
|
|
||||||
Lbryio.getExchangeRates = () => {
|
Lbryio.getExchangeRates = () => {
|
||||||
if (
|
if (!Lbryio.exchangeLastFetched || Date.now() - Lbryio.exchangeLastFetched > EXCHANGE_RATE_TIMEOUT) {
|
||||||
!Lbryio.exchangeLastFetched ||
|
|
||||||
Date.now() - Lbryio.exchangeLastFetched > EXCHANGE_RATE_TIMEOUT
|
|
||||||
) {
|
|
||||||
Lbryio.exchangePromise = new Promise((resolve, reject) => {
|
Lbryio.exchangePromise = new Promise((resolve, reject) => {
|
||||||
Lbryio.call('lbc', 'exchange_rate', {}, 'get', true)
|
Lbryio.call('lbc', 'exchange_rate', {}, 'get', true)
|
||||||
.then(({ lbc_usd: LBC_USD, lbc_btc: LBC_BTC, btc_usd: BTC_USD }) => {
|
.then(({ lbc_usd: LBC_USD, lbc_btc: LBC_BTC, btc_usd: BTC_USD }) => {
|
||||||
|
@ -235,4 +237,23 @@ Lbryio.setOverride = (methodName, newMethod) => {
|
||||||
Lbryio.overrides[methodName] = newMethod;
|
Lbryio.overrides[methodName] = newMethod;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
function sendCallAnalytics(resource, action, params) {
|
||||||
|
switch (resource) {
|
||||||
|
case 'customer':
|
||||||
|
if (action === 'tip') {
|
||||||
|
analytics.reportEvent('spend_virtual_currency', {
|
||||||
|
// https://developers.google.com/analytics/devguides/collection/ga4/reference/events#spend_virtual_currency
|
||||||
|
value: params.amount,
|
||||||
|
virtual_currency_name: params.currency.toLowerCase(),
|
||||||
|
item_name: 'tip',
|
||||||
|
});
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
// Do nothing
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export default Lbryio;
|
export default Lbryio;
|
||||||
|
|
|
@ -1,35 +1,37 @@
|
||||||
|
// @flow
|
||||||
import * as ACTIONS from 'constants/action_types';
|
import * as ACTIONS from 'constants/action_types';
|
||||||
import { Lbryio } from 'lbryinc';
|
import { Lbryio } from 'lbryinc';
|
||||||
import { selectClaimForUri } from 'redux/selectors/claims';
|
import { selectClaimForUri } from 'redux/selectors/claims';
|
||||||
|
|
||||||
// eslint-disable-next-line import/prefer-default-export
|
// eslint-disable-next-line import/prefer-default-export
|
||||||
export function doFetchCostInfoForUri(uri) {
|
export function doFetchCostInfoForUri(uri: string) {
|
||||||
return (dispatch, getState) => {
|
return async (dispatch: Dispatch, getState: GetState) => {
|
||||||
const state = getState();
|
const state = getState();
|
||||||
const claim = selectClaimForUri(state, uri);
|
const claim = selectClaimForUri(state, uri);
|
||||||
|
|
||||||
if (!claim) return;
|
if (!claim) return;
|
||||||
|
|
||||||
function resolve(costInfo) {
|
|
||||||
dispatch({
|
|
||||||
type: ACTIONS.FETCH_COST_INFO_COMPLETED,
|
|
||||||
data: {
|
|
||||||
uri,
|
|
||||||
costInfo,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
const fee = claim.value ? claim.value.fee : undefined;
|
const fee = claim.value ? claim.value.fee : undefined;
|
||||||
|
|
||||||
|
let costInfo;
|
||||||
if (fee === undefined) {
|
if (fee === undefined) {
|
||||||
resolve({ cost: 0, includesData: true });
|
costInfo = { cost: 0, includesData: true };
|
||||||
} else if (fee.currency === 'LBC') {
|
} else if (fee.currency === 'LBC') {
|
||||||
resolve({ cost: fee.amount, includesData: true });
|
costInfo = { cost: fee.amount, includesData: true };
|
||||||
} else {
|
} else {
|
||||||
Lbryio.getExchangeRates().then(({ LBC_USD }) => {
|
await Lbryio.getExchangeRates().then(({ LBC_USD }) => {
|
||||||
resolve({ cost: fee.amount / LBC_USD, includesData: true });
|
costInfo = { cost: fee.amount / LBC_USD, includesData: true };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dispatch({
|
||||||
|
type: ACTIONS.FETCH_COST_INFO_COMPLETED,
|
||||||
|
data: {
|
||||||
|
uri,
|
||||||
|
costInfo,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
return costInfo;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
79
extras/lbryinc/redux/actions/homepage.js
Normal file
79
extras/lbryinc/redux/actions/homepage.js
Normal file
|
@ -0,0 +1,79 @@
|
||||||
|
import { Lbryio } from 'lbryinc';
|
||||||
|
import { batchActions } from 'util/batch-actions';
|
||||||
|
import { doResolveUris } from 'util/lbryURI';
|
||||||
|
import * as ACTIONS from 'constants/action_types';
|
||||||
|
|
||||||
|
export function doFetchFeaturedUris(offloadResolve = false) {
|
||||||
|
return dispatch => {
|
||||||
|
dispatch({
|
||||||
|
type: ACTIONS.FETCH_FEATURED_CONTENT_STARTED,
|
||||||
|
});
|
||||||
|
|
||||||
|
const success = ({ Uris }) => {
|
||||||
|
let urisToResolve = [];
|
||||||
|
Object.keys(Uris).forEach(category => {
|
||||||
|
urisToResolve = [...urisToResolve, ...Uris[category]];
|
||||||
|
});
|
||||||
|
|
||||||
|
const actions = [
|
||||||
|
{
|
||||||
|
type: ACTIONS.FETCH_FEATURED_CONTENT_COMPLETED,
|
||||||
|
data: {
|
||||||
|
uris: Uris,
|
||||||
|
success: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
];
|
||||||
|
if (urisToResolve.length && !offloadResolve) {
|
||||||
|
actions.push(doResolveUris(urisToResolve));
|
||||||
|
}
|
||||||
|
|
||||||
|
dispatch(batchActions(...actions));
|
||||||
|
};
|
||||||
|
|
||||||
|
const failure = () => {
|
||||||
|
dispatch({
|
||||||
|
type: ACTIONS.FETCH_FEATURED_CONTENT_COMPLETED,
|
||||||
|
data: {
|
||||||
|
uris: {},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
Lbryio.call('file', 'list_homepage').then(success, failure);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export function doFetchTrendingUris() {
|
||||||
|
return dispatch => {
|
||||||
|
dispatch({
|
||||||
|
type: ACTIONS.FETCH_TRENDING_CONTENT_STARTED,
|
||||||
|
});
|
||||||
|
|
||||||
|
const success = data => {
|
||||||
|
const urisToResolve = data.map(uri => uri.url);
|
||||||
|
const actions = [
|
||||||
|
doResolveUris(urisToResolve),
|
||||||
|
{
|
||||||
|
type: ACTIONS.FETCH_TRENDING_CONTENT_COMPLETED,
|
||||||
|
data: {
|
||||||
|
uris: data,
|
||||||
|
success: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
];
|
||||||
|
dispatch(batchActions(...actions));
|
||||||
|
};
|
||||||
|
|
||||||
|
const failure = () => {
|
||||||
|
dispatch({
|
||||||
|
type: ACTIONS.FETCH_TRENDING_CONTENT_COMPLETED,
|
||||||
|
data: {
|
||||||
|
uris: [],
|
||||||
|
},
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
Lbryio.call('file', 'list_trending').then(success, failure);
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,6 +2,9 @@
|
||||||
import { Lbryio } from 'lbryinc';
|
import { Lbryio } from 'lbryinc';
|
||||||
import * as ACTIONS from 'constants/action_types';
|
import * as ACTIONS from 'constants/action_types';
|
||||||
|
|
||||||
|
const FETCH_SUB_COUNT_MIN_INTERVAL_MS = 5 * 60 * 1000;
|
||||||
|
const FETCH_SUB_COUNT_IDLE_FIRE_MS = 100;
|
||||||
|
|
||||||
export const doFetchViewCount = (claimIdCsv: string) => (dispatch: Dispatch) => {
|
export const doFetchViewCount = (claimIdCsv: string) => (dispatch: Dispatch) => {
|
||||||
dispatch({ type: ACTIONS.FETCH_VIEW_COUNT_STARTED });
|
dispatch({ type: ACTIONS.FETCH_VIEW_COUNT_STARTED });
|
||||||
|
|
||||||
|
@ -10,23 +13,56 @@ export const doFetchViewCount = (claimIdCsv: string) => (dispatch: Dispatch) =>
|
||||||
const viewCounts = result;
|
const viewCounts = result;
|
||||||
dispatch({ type: ACTIONS.FETCH_VIEW_COUNT_COMPLETED, data: { claimIdCsv, viewCounts } });
|
dispatch({ type: ACTIONS.FETCH_VIEW_COUNT_COMPLETED, data: { claimIdCsv, viewCounts } });
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch((error) => {
|
||||||
dispatch({ type: ACTIONS.FETCH_VIEW_COUNT_FAILED, data: error });
|
dispatch({ type: ACTIONS.FETCH_VIEW_COUNT_FAILED, data: error });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
export const doFetchSubCount = (claimId: string) => (dispatch: Dispatch) => {
|
const executeFetchSubCount = (claimIdCsv: string) => (dispatch: Dispatch, getState: GetState) => {
|
||||||
|
const state = getState();
|
||||||
|
const subCountLastFetchedById = state.stats.subCountLastFetchedById;
|
||||||
|
const now = Date.now();
|
||||||
|
|
||||||
|
const claimIds = claimIdCsv.split(',').filter((id) => {
|
||||||
|
const prev = subCountLastFetchedById[id];
|
||||||
|
return !prev || now - prev > FETCH_SUB_COUNT_MIN_INTERVAL_MS;
|
||||||
|
});
|
||||||
|
|
||||||
|
if (claimIds.length === 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
dispatch({ type: ACTIONS.FETCH_SUB_COUNT_STARTED });
|
dispatch({ type: ACTIONS.FETCH_SUB_COUNT_STARTED });
|
||||||
|
|
||||||
return Lbryio.call('subscription', 'sub_count', { claim_id: claimId })
|
return Lbryio.call('subscription', 'sub_count', { claim_id: claimIds.join(',') })
|
||||||
.then((result: Array<number>) => {
|
.then((result: Array<number>) => {
|
||||||
const subCount = result[0];
|
const subCounts = result;
|
||||||
dispatch({
|
dispatch({
|
||||||
type: ACTIONS.FETCH_SUB_COUNT_COMPLETED,
|
type: ACTIONS.FETCH_SUB_COUNT_COMPLETED,
|
||||||
data: { claimId, subCount },
|
data: { claimIds, subCounts, fetchDate: now },
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch((error) => {
|
||||||
dispatch({ type: ACTIONS.FETCH_SUB_COUNT_FAILED, data: error });
|
dispatch({ type: ACTIONS.FETCH_SUB_COUNT_FAILED, data: error });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
let fetchSubCountTimer;
|
||||||
|
let fetchSubCountQueue = '';
|
||||||
|
|
||||||
|
export const doFetchSubCount = (claimIdCsv: string) => (dispatch: Dispatch) => {
|
||||||
|
if (fetchSubCountTimer) {
|
||||||
|
clearTimeout(fetchSubCountTimer);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (fetchSubCountQueue && !fetchSubCountQueue.endsWith(',')) {
|
||||||
|
fetchSubCountQueue += ',';
|
||||||
|
}
|
||||||
|
|
||||||
|
fetchSubCountQueue += claimIdCsv;
|
||||||
|
|
||||||
|
fetchSubCountTimer = setTimeout(() => {
|
||||||
|
dispatch(executeFetchSubCount(fetchSubCountQueue));
|
||||||
|
fetchSubCountQueue = '';
|
||||||
|
}, FETCH_SUB_COUNT_IDLE_FIRE_MS);
|
||||||
|
};
|
||||||
|
|
48
extras/lbryinc/redux/reducers/homepage.js
Normal file
48
extras/lbryinc/redux/reducers/homepage.js
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
import { handleActions } from 'util/redux-utils';
|
||||||
|
import * as ACTIONS from 'constants/action_types';
|
||||||
|
|
||||||
|
const defaultState = {
|
||||||
|
fetchingFeaturedContent: false,
|
||||||
|
fetchingFeaturedContentFailed: false,
|
||||||
|
featuredUris: undefined,
|
||||||
|
fetchingTrendingContent: false,
|
||||||
|
fetchingTrendingContentFailed: false,
|
||||||
|
trendingUris: undefined,
|
||||||
|
};
|
||||||
|
|
||||||
|
export const homepageReducer = handleActions(
|
||||||
|
{
|
||||||
|
[ACTIONS.FETCH_FEATURED_CONTENT_STARTED]: state => ({
|
||||||
|
...state,
|
||||||
|
fetchingFeaturedContent: true,
|
||||||
|
}),
|
||||||
|
|
||||||
|
[ACTIONS.FETCH_FEATURED_CONTENT_COMPLETED]: (state, action) => {
|
||||||
|
const { uris, success } = action.data;
|
||||||
|
|
||||||
|
return {
|
||||||
|
...state,
|
||||||
|
fetchingFeaturedContent: false,
|
||||||
|
fetchingFeaturedContentFailed: !success,
|
||||||
|
featuredUris: uris,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
|
[ACTIONS.FETCH_TRENDING_CONTENT_STARTED]: state => ({
|
||||||
|
...state,
|
||||||
|
fetchingTrendingContent: true,
|
||||||
|
}),
|
||||||
|
|
||||||
|
[ACTIONS.FETCH_TRENDING_CONTENT_COMPLETED]: (state, action) => {
|
||||||
|
const { uris, success } = action.data;
|
||||||
|
|
||||||
|
return {
|
||||||
|
...state,
|
||||||
|
fetchingTrendingContent: false,
|
||||||
|
fetchingTrendingContentFailed: !success,
|
||||||
|
trendingUris: uris,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
},
|
||||||
|
defaultState
|
||||||
|
);
|
|
@ -8,15 +8,18 @@ const defaultState = {
|
||||||
fetchingSubCount: false,
|
fetchingSubCount: false,
|
||||||
subCountError: undefined,
|
subCountError: undefined,
|
||||||
subCountById: {},
|
subCountById: {},
|
||||||
|
subCountLastFetchedById: {},
|
||||||
};
|
};
|
||||||
|
|
||||||
export const statsReducer = handleActions(
|
export const statsReducer = handleActions(
|
||||||
{
|
{
|
||||||
[ACTIONS.FETCH_VIEW_COUNT_STARTED]: state => ({ ...state, fetchingViewCount: true }),
|
[ACTIONS.FETCH_VIEW_COUNT_STARTED]: (state) => ({ ...state, fetchingViewCount: true }),
|
||||||
|
|
||||||
[ACTIONS.FETCH_VIEW_COUNT_FAILED]: (state, action) => ({
|
[ACTIONS.FETCH_VIEW_COUNT_FAILED]: (state, action) => ({
|
||||||
...state,
|
...state,
|
||||||
viewCountError: action.data,
|
viewCountError: action.data,
|
||||||
}),
|
}),
|
||||||
|
|
||||||
[ACTIONS.FETCH_VIEW_COUNT_COMPLETED]: (state, action) => {
|
[ACTIONS.FETCH_VIEW_COUNT_COMPLETED]: (state, action) => {
|
||||||
const { claimIdCsv, viewCounts } = action.data;
|
const { claimIdCsv, viewCounts } = action.data;
|
||||||
|
|
||||||
|
@ -35,20 +38,42 @@ export const statsReducer = handleActions(
|
||||||
viewCountById,
|
viewCountById,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
[ACTIONS.FETCH_SUB_COUNT_STARTED]: state => ({ ...state, fetchingSubCount: true }),
|
|
||||||
|
[ACTIONS.FETCH_SUB_COUNT_STARTED]: (state) => ({ ...state, fetchingSubCount: true }),
|
||||||
|
|
||||||
[ACTIONS.FETCH_SUB_COUNT_FAILED]: (state, action) => ({
|
[ACTIONS.FETCH_SUB_COUNT_FAILED]: (state, action) => ({
|
||||||
...state,
|
...state,
|
||||||
subCountError: action.data,
|
subCountError: action.data,
|
||||||
}),
|
}),
|
||||||
[ACTIONS.FETCH_SUB_COUNT_COMPLETED]: (state, action) => {
|
|
||||||
const { claimId, subCount } = action.data;
|
|
||||||
|
|
||||||
const subCountById = { ...state.subCountById, [claimId]: subCount };
|
[ACTIONS.FETCH_SUB_COUNT_COMPLETED]: (state, action) => {
|
||||||
return {
|
const { claimIds, subCounts, fetchDate } = action.data;
|
||||||
|
|
||||||
|
const subCountById = Object.assign({}, state.subCountById);
|
||||||
|
const subCountLastFetchedById = Object.assign({}, state.subCountLastFetchedById);
|
||||||
|
let dataChanged = false;
|
||||||
|
|
||||||
|
if (claimIds.length === subCounts.length) {
|
||||||
|
claimIds.forEach((claimId, index) => {
|
||||||
|
if (subCountById[claimId] !== subCounts[index]) {
|
||||||
|
subCountById[claimId] = subCounts[index];
|
||||||
|
dataChanged = true;
|
||||||
|
}
|
||||||
|
subCountLastFetchedById[claimId] = fetchDate;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
const newState = {
|
||||||
...state,
|
...state,
|
||||||
fetchingSubCount: false,
|
fetchingSubCount: false,
|
||||||
subCountById,
|
subCountLastFetchedById,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (dataChanged) {
|
||||||
|
newState.subCountById = subCountById;
|
||||||
|
}
|
||||||
|
|
||||||
|
return newState;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
defaultState
|
defaultState
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
import { createSelector } from 'reselect';
|
const selectState = (state) => state.auth || {};
|
||||||
|
|
||||||
const selectState = state => state.auth || {};
|
export const selectAuthToken = (state) => selectState(state).authToken;
|
||||||
|
export const selectIsAuthenticating = (state) => selectState(state).authenticating;
|
||||||
export const selectAuthToken = createSelector(selectState, state => state.authToken);
|
|
||||||
|
|
||||||
export const selectIsAuthenticating = createSelector(selectState, state => state.authenticating);
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
// involve moving it from 'extras' to 'ui' (big change).
|
// involve moving it from 'extras' to 'ui' (big change).
|
||||||
|
|
||||||
import { createCachedSelector } from 're-reselect';
|
import { createCachedSelector } from 're-reselect';
|
||||||
import { selectClaimForUri, makeSelectIsBlacklisted } from 'redux/selectors/claims';
|
import { selectClaimForUri } from 'redux/selectors/claims';
|
||||||
import { selectMutedChannels } from 'redux/selectors/blocked';
|
import { selectMutedChannels } from 'redux/selectors/blocked';
|
||||||
import { selectModerationBlockList } from 'redux/selectors/comments';
|
import { selectModerationBlockList } from 'redux/selectors/comments';
|
||||||
import { selectBlacklistedOutpointMap, selectFilteredOutpointMap } from 'lbryinc';
|
import { selectBlacklistedOutpointMap, selectFilteredOutpointMap } from 'lbryinc';
|
||||||
|
@ -18,8 +18,7 @@ export const selectBanStateForUri = createCachedSelector(
|
||||||
selectFilteredOutpointMap,
|
selectFilteredOutpointMap,
|
||||||
selectMutedChannels,
|
selectMutedChannels,
|
||||||
selectModerationBlockList,
|
selectModerationBlockList,
|
||||||
(state, uri) => makeSelectIsBlacklisted(uri)(state),
|
(claim, blackListedOutpointMap, filteredOutpointMap, mutedChannelUris, personalBlocklist) => {
|
||||||
(claim, blackListedOutpointMap, filteredOutpointMap, mutedChannelUris, personalBlocklist, isBlacklisted) => {
|
|
||||||
const banState = {};
|
const banState = {};
|
||||||
|
|
||||||
if (!claim) {
|
if (!claim) {
|
||||||
|
@ -28,10 +27,6 @@ export const selectBanStateForUri = createCachedSelector(
|
||||||
|
|
||||||
const channelClaim = getChannelFromClaim(claim);
|
const channelClaim = getChannelFromClaim(claim);
|
||||||
|
|
||||||
if (isBlacklisted) {
|
|
||||||
banState['blacklisted'] = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// This will be replaced once blocking is done at the wallet server level.
|
// This will be replaced once blocking is done at the wallet server level.
|
||||||
if (blackListedOutpointMap) {
|
if (blackListedOutpointMap) {
|
||||||
if (
|
if (
|
||||||
|
|
|
@ -1,20 +1,15 @@
|
||||||
import { createSelector } from 'reselect';
|
import { createSelector } from 'reselect';
|
||||||
|
|
||||||
export const selectState = state => state.blacklist || {};
|
export const selectState = (state) => state.blacklist || {};
|
||||||
|
|
||||||
export const selectBlackListedOutpoints = createSelector(
|
export const selectBlackListedOutpoints = (state) => selectState(state).blackListedOutpoints;
|
||||||
selectState,
|
|
||||||
state => state.blackListedOutpoints
|
|
||||||
);
|
|
||||||
|
|
||||||
export const selectBlacklistedOutpointMap = createSelector(
|
export const selectBlacklistedOutpointMap = createSelector(selectBlackListedOutpoints, (outpoints) =>
|
||||||
selectBlackListedOutpoints,
|
outpoints
|
||||||
outpoints =>
|
? outpoints.reduce((acc, val) => {
|
||||||
outpoints
|
const outpoint = `${val.txid}:${val.nout}`;
|
||||||
? outpoints.reduce((acc, val) => {
|
acc[outpoint] = 1;
|
||||||
const outpoint = `${val.txid}:${val.nout}`;
|
return acc;
|
||||||
acc[outpoint] = 1;
|
}, {})
|
||||||
return acc;
|
: {}
|
||||||
}, {})
|
|
||||||
: {}
|
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,20 +1,15 @@
|
||||||
import { createSelector } from 'reselect';
|
import { createSelector } from 'reselect';
|
||||||
|
|
||||||
export const selectState = state => state.filtered || {};
|
export const selectState = (state) => state.filtered || {};
|
||||||
|
|
||||||
export const selectFilteredOutpoints = createSelector(
|
export const selectFilteredOutpoints = (state) => selectState(state).filteredOutpoints;
|
||||||
selectState,
|
|
||||||
state => state.filteredOutpoints
|
|
||||||
);
|
|
||||||
|
|
||||||
export const selectFilteredOutpointMap = createSelector(
|
export const selectFilteredOutpointMap = createSelector(selectFilteredOutpoints, (outpoints) =>
|
||||||
selectFilteredOutpoints,
|
outpoints
|
||||||
outpoints =>
|
? outpoints.reduce((acc, val) => {
|
||||||
outpoints
|
const outpoint = `${val.txid}:${val.nout}`;
|
||||||
? outpoints.reduce((acc, val) => {
|
acc[outpoint] = 1;
|
||||||
const outpoint = `${val.txid}:${val.nout}`;
|
return acc;
|
||||||
acc[outpoint] = 1;
|
}, {})
|
||||||
return acc;
|
: {}
|
||||||
}, {})
|
|
||||||
: {}
|
|
||||||
);
|
);
|
||||||
|
|
6
extras/lbryinc/redux/selectors/homepage.js
Normal file
6
extras/lbryinc/redux/selectors/homepage.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
const selectState = (state) => state.homepage || {};
|
||||||
|
|
||||||
|
export const selectFeaturedUris = (state) => selectState(state).featuredUris;
|
||||||
|
export const selectFetchingFeaturedUris = (state) => selectState(state).fetchingFeaturedContent;
|
||||||
|
export const selectTrendingUris = (state) => selectState(state).trendingUris;
|
||||||
|
export const selectFetchingTrendingUris = (state) => selectState(state).fetchingTrendingContent;
|
|
@ -1,11 +1,11 @@
|
||||||
// @flow
|
// @flow
|
||||||
import { createSelector } from 'reselect';
|
|
||||||
import { selectClaimIdForUri } from 'redux/selectors/claims';
|
import { selectClaimIdForUri } from 'redux/selectors/claims';
|
||||||
|
|
||||||
type State = { claims: any };
|
type State = { claims: any, stats: any, user: UserState };
|
||||||
const selectState = state => state.stats || {};
|
|
||||||
export const selectViewCount = createSelector(selectState, state => state.viewCountById);
|
const selectState = (state: State) => state.stats || {};
|
||||||
export const selectSubCount = createSelector(selectState, state => state.subCountById);
|
export const selectViewCount = (state: State) => selectState(state).viewCountById;
|
||||||
|
export const selectSubCount = (state: State) => selectState(state).subCountById;
|
||||||
|
|
||||||
export const selectViewCountForUri = (state: State, uri: string) => {
|
export const selectViewCountForUri = (state: State, uri: string) => {
|
||||||
const claimId = selectClaimIdForUri(state, uri);
|
const claimId = selectClaimIdForUri(state, uri);
|
||||||
|
|
|
@ -1,40 +1,13 @@
|
||||||
import { createSelector } from 'reselect';
|
const selectState = (state) => state.sync || {};
|
||||||
|
|
||||||
const selectState = state => state.sync || {};
|
export const selectHasSyncedWallet = (state) => selectState(state).hasSyncedWallet;
|
||||||
|
export const selectSyncHash = (state) => selectState(state).syncHash;
|
||||||
export const selectHasSyncedWallet = createSelector(selectState, state => state.hasSyncedWallet);
|
export const selectSyncData = (state) => selectState(state).syncData;
|
||||||
|
export const selectSetSyncErrorMessage = (state) => selectState(state).setSyncErrorMessage;
|
||||||
export const selectSyncHash = createSelector(selectState, state => state.syncHash);
|
export const selectGetSyncErrorMessage = (state) => selectState(state).getSyncErrorMessage;
|
||||||
|
export const selectGetSyncIsPending = (state) => selectState(state).getSyncIsPending;
|
||||||
export const selectSyncData = createSelector(selectState, state => state.syncData);
|
export const selectSetSyncIsPending = (state) => selectState(state).setSyncIsPending;
|
||||||
|
export const selectHashChanged = (state) => selectState(state).hashChanged;
|
||||||
export const selectSetSyncErrorMessage = createSelector(
|
export const selectSyncApplyIsPending = (state) => selectState(state).syncApplyIsPending;
|
||||||
selectState,
|
export const selectSyncApplyErrorMessage = (state) => selectState(state).syncApplyErrorMessage;
|
||||||
state => state.setSyncErrorMessage
|
export const selectSyncApplyPasswordError = (state) => selectState(state).syncApplyPasswordError;
|
||||||
);
|
|
||||||
|
|
||||||
export const selectGetSyncErrorMessage = createSelector(
|
|
||||||
selectState,
|
|
||||||
state => state.getSyncErrorMessage
|
|
||||||
);
|
|
||||||
|
|
||||||
export const selectGetSyncIsPending = createSelector(selectState, state => state.getSyncIsPending);
|
|
||||||
|
|
||||||
export const selectSetSyncIsPending = createSelector(selectState, state => state.setSyncIsPending);
|
|
||||||
|
|
||||||
export const selectHashChanged = createSelector(selectState, state => state.hashChanged);
|
|
||||||
|
|
||||||
export const selectSyncApplyIsPending = createSelector(
|
|
||||||
selectState,
|
|
||||||
state => state.syncApplyIsPending
|
|
||||||
);
|
|
||||||
|
|
||||||
export const selectSyncApplyErrorMessage = createSelector(
|
|
||||||
selectState,
|
|
||||||
state => state.syncApplyErrorMessage
|
|
||||||
);
|
|
||||||
|
|
||||||
export const selectSyncApplyPasswordError = createSelector(
|
|
||||||
selectState,
|
|
||||||
state => state.syncApplyPasswordError
|
|
||||||
);
|
|
||||||
|
|
|
@ -1,15 +1,21 @@
|
||||||
|
// @flow
|
||||||
|
import { RECSYS_ENDPOINT } from 'config';
|
||||||
import { selectUser } from 'redux/selectors/user';
|
import { selectUser } from 'redux/selectors/user';
|
||||||
import { makeSelectRecommendedRecsysIdForClaimId } from 'redux/selectors/search';
|
import { selectRecommendedMetaForClaimId } from 'redux/selectors/search';
|
||||||
import { v4 as Uuidv4 } from 'uuid';
|
|
||||||
import { parseURI } from 'util/lbryURI';
|
import { parseURI } from 'util/lbryURI';
|
||||||
|
import { getAuthToken } from 'util/saved-passwords';
|
||||||
|
import * as ACTIONS from 'constants/action_types';
|
||||||
import * as SETTINGS from 'constants/settings';
|
import * as SETTINGS from 'constants/settings';
|
||||||
|
import { X_LBRY_AUTH_TOKEN } from 'constants/token';
|
||||||
import { makeSelectClaimForUri } from 'redux/selectors/claims';
|
import { makeSelectClaimForUri } from 'redux/selectors/claims';
|
||||||
import { selectPlayingUri, selectPrimaryUri } from 'redux/selectors/content';
|
import { selectPlayingUri, selectPrimaryUri } from 'redux/selectors/content';
|
||||||
import { makeSelectClientSetting, selectDaemonSettings } from 'redux/selectors/settings';
|
import { selectClientSetting, selectDaemonSettings } from 'redux/selectors/settings';
|
||||||
|
import { selectIsSubscribedForClaimId } from 'redux/selectors/subscriptions';
|
||||||
|
// $FlowFixMe: cannot resolve..
|
||||||
import { history } from 'ui/store';
|
import { history } from 'ui/store';
|
||||||
|
|
||||||
const recsysEndpoint = 'https://clickstream.odysee.com/log/video/view';
|
const recsysEndpoint = RECSYS_ENDPOINT;
|
||||||
const recsysId = 'lighthouse-v0';
|
const DEFAULT_RECSYS_ID = 'lighthouse-v0';
|
||||||
|
|
||||||
const getClaimIdsFromUris = (uris) => {
|
const getClaimIdsFromUris = (uris) => {
|
||||||
return uris
|
return uris
|
||||||
|
@ -24,30 +30,30 @@ const getClaimIdsFromUris = (uris) => {
|
||||||
: [];
|
: [];
|
||||||
};
|
};
|
||||||
|
|
||||||
const recsys = {
|
const recsys: Recsys = {
|
||||||
entries: {},
|
entries: {},
|
||||||
debug: false,
|
debug: false,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides for creating, updating, and sending Clickstream data object Entries.
|
* Provides for creating, updating, and sending Clickstream data object Entries.
|
||||||
* Entries are Created either when recommendedContent loads, or when recommendedContent is clicked.
|
* Entries are Created either when recommendedContent loads, or when recommendedContent is clicked.
|
||||||
* If recommended content is clicked, An Entry with parentUuid is created.
|
* If recommended content is clicked, An Entry with parentUuid is created.
|
||||||
* On page load, find an empty entry with your claimId, or create a new entry and record to it.
|
* On page load, find an empty entry with your claimId, or create a new entry and record to it.
|
||||||
* The entry will be populated with the following:
|
|
||||||
* - parentUuid // optional
|
|
||||||
* - Uuid
|
|
||||||
* - claimId
|
|
||||||
* - recommendedClaims [] // optionally empty
|
|
||||||
* - playerEvents [] // optionally empty
|
|
||||||
* - recommendedClaimsIndexClicked [] // optionally empty
|
|
||||||
* - UserId
|
|
||||||
* - pageLoadedAt
|
|
||||||
* - isEmbed
|
|
||||||
* - pageExitedAt
|
|
||||||
* - recsysId // optional
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function: onClickedRecommended()
|
* Saves existing entries to persistence storage (in this case, Redux).
|
||||||
|
*/
|
||||||
|
saveEntries: function () {
|
||||||
|
if (window && window.store) {
|
||||||
|
window.store.dispatch({
|
||||||
|
type: ACTIONS.SET_RECSYS_ENTRIES,
|
||||||
|
data: recsys.entries,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
* Called when RecommendedContent was clicked.
|
* Called when RecommendedContent was clicked.
|
||||||
* Adds index of clicked recommendation to parent entry
|
* Adds index of clicked recommendation to parent entry
|
||||||
* Adds new Entry with parentUuid for destination page
|
* Adds new Entry with parentUuid for destination page
|
||||||
|
@ -56,31 +62,52 @@ const recsys = {
|
||||||
*/
|
*/
|
||||||
onClickedRecommended: function (parentClaimId, newClaimId) {
|
onClickedRecommended: function (parentClaimId, newClaimId) {
|
||||||
const parentEntry = recsys.entries[parentClaimId] ? recsys.entries[parentClaimId] : null;
|
const parentEntry = recsys.entries[parentClaimId] ? recsys.entries[parentClaimId] : null;
|
||||||
const parentUuid = parentEntry['uuid'];
|
const parentUuid = parentEntry ? parentEntry['uuid'] : '';
|
||||||
const parentRecommendedClaims = parentEntry['recClaimIds'] || [];
|
const parentRecommendedClaims = parentEntry ? parentEntry['recClaimIds'] : [];
|
||||||
const parentClickedIndexes = parentEntry['recClickedVideoIdx'] || [];
|
const parentClickedIndexes = parentEntry ? parentEntry['recClickedVideoIdx'] : [];
|
||||||
const indexClicked = parentRecommendedClaims.indexOf(newClaimId);
|
const indexClicked = parentRecommendedClaims.indexOf(newClaimId);
|
||||||
|
|
||||||
if (parentUuid) {
|
if (parentUuid) {
|
||||||
recsys.createRecsysEntry(newClaimId, parentUuid);
|
recsys.createRecsysEntry(newClaimId, parentUuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
parentClickedIndexes.push(indexClicked);
|
parentClickedIndexes.push(indexClicked);
|
||||||
recsys.log('onClickedRecommended', { parentClaimId, newClaimId });
|
// recsys.log('onClickedRecommended', { parentClaimId, newClaimId });
|
||||||
|
recsys.log('onClickedRecommended', newClaimId);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Page was loaded. Get or Create entry and populate it with default data, plus recommended content, recsysId, etc.
|
* Page was loaded. Get or Create entry and populate it with default data,
|
||||||
|
* plus recommended content, recsysId, etc.
|
||||||
* Called from recommendedContent component
|
* Called from recommendedContent component
|
||||||
|
*
|
||||||
|
* @param claimId The ID of the content the recommendations are for.
|
||||||
|
* @param uris The recommended uris for `claimId`.
|
||||||
|
* @param uuid Specific uuid to use (e.g. for FYP); uses the recommendation's
|
||||||
|
* uuid otherwise.
|
||||||
*/
|
*/
|
||||||
onRecsLoaded: function (claimId, uris) {
|
onRecsLoaded: function (claimId, uris, uuid = '') {
|
||||||
if (window.store) {
|
if (window && window.store) {
|
||||||
const state = window.store.getState();
|
const state = window.store.getState();
|
||||||
|
const recommendedMeta = selectRecommendedMetaForClaimId(state, claimId);
|
||||||
|
|
||||||
if (!recsys.entries[claimId]) {
|
if (!recsys.entries[claimId]) {
|
||||||
recsys.createRecsysEntry(claimId);
|
recsys.createRecsysEntry(claimId, null, uuid || recommendedMeta.uuid);
|
||||||
|
} else if (!recsys.entries[claimId].uuid) {
|
||||||
|
// Stubs might not have the uuid ready at the time. Refill now.
|
||||||
|
recsys.entries[claimId].uuid = uuid || recommendedMeta.uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
const claimIds = getClaimIdsFromUris(uris);
|
const claimIds = getClaimIdsFromUris(uris);
|
||||||
recsys.entries[claimId]['recsysId'] = makeSelectRecommendedRecsysIdForClaimId(claimId)(state) || recsysId;
|
recsys.entries[claimId]['recsysId'] = recommendedMeta.poweredBy || DEFAULT_RECSYS_ID;
|
||||||
recsys.entries[claimId]['pageLoadedAt'] = Date.now();
|
recsys.entries[claimId]['pageLoadedAt'] = Date.now();
|
||||||
|
|
||||||
|
// It is possible that `claimIds` include `null | undefined` entries
|
||||||
|
// instead of all being strings. I don't know if we should filter it,
|
||||||
|
// or change the `recClaimIds` definition. Leaving as is for now since
|
||||||
|
// any changes could affect existing recsys data set.
|
||||||
|
// -----------
|
||||||
|
// $FlowFixMe:
|
||||||
recsys.entries[claimId]['recClaimIds'] = claimIds;
|
recsys.entries[claimId]['recClaimIds'] = claimIds;
|
||||||
}
|
}
|
||||||
recsys.log('onRecsLoaded', claimId);
|
recsys.log('onRecsLoaded', claimId);
|
||||||
|
@ -90,68 +117,119 @@ const recsys = {
|
||||||
* Creates an Entry with optional parentUuid
|
* Creates an Entry with optional parentUuid
|
||||||
* @param: claimId: string
|
* @param: claimId: string
|
||||||
* @param: parentUuid: string (optional)
|
* @param: parentUuid: string (optional)
|
||||||
|
* @param uuid Specific uuid to use (e.g. for FYP); uses the recommendation's
|
||||||
|
* uuid otherwise.
|
||||||
*/
|
*/
|
||||||
createRecsysEntry: function (claimId, parentUuid) {
|
createRecsysEntry: function (claimId, parentUuid, uuid = '') {
|
||||||
if (window.store && claimId) {
|
if (window && window.store && claimId) {
|
||||||
const state = window.store.getState();
|
const state = window.store.getState();
|
||||||
|
const recommendedMeta = selectRecommendedMetaForClaimId(state, claimId);
|
||||||
const user = selectUser(state);
|
const user = selectUser(state);
|
||||||
const userId = user ? user.id : null;
|
const userId = user ? user.id : null;
|
||||||
|
|
||||||
|
// Make a stub entry that will be filled out on page load
|
||||||
|
// $FlowIgnore: not everything is defined since this is a stub
|
||||||
|
recsys.entries[claimId] = {
|
||||||
|
uuid: uuid || recommendedMeta.uuid,
|
||||||
|
claimId: claimId,
|
||||||
|
recClickedVideoIdx: [],
|
||||||
|
pageLoadedAt: Date.now(),
|
||||||
|
events: [],
|
||||||
|
incognito: !(user && user.has_verified_email),
|
||||||
|
isFollowing: selectIsSubscribedForClaimId(state, claimId),
|
||||||
|
};
|
||||||
|
|
||||||
if (parentUuid) {
|
if (parentUuid) {
|
||||||
// Make a stub entry that will be filled out on page load
|
// $FlowFixMe: 'uid' should be a number, not null.
|
||||||
recsys.entries[claimId] = {
|
recsys.entries[claimId].uid = userId || null;
|
||||||
uuid: Uuidv4(),
|
recsys.entries[claimId].parentUuid = parentUuid;
|
||||||
parentUuid: parentUuid,
|
|
||||||
uid: userId || null, // selectUser
|
|
||||||
claimId: claimId,
|
|
||||||
recClickedVideoIdx: [],
|
|
||||||
pageLoadedAt: Date.now(),
|
|
||||||
events: [],
|
|
||||||
};
|
|
||||||
} else {
|
} else {
|
||||||
recsys.entries[claimId] = {
|
// $FlowFixMe: 'uid' should be a number, not null.
|
||||||
uuid: Uuidv4(),
|
recsys.entries[claimId].uid = userId;
|
||||||
uid: userId, // selectUser
|
// $FlowFixMe: 'recsysId' should be a number, not null.
|
||||||
claimId: claimId,
|
recsys.entries[claimId].recsysId = null;
|
||||||
pageLoadedAt: Date.now(),
|
recsys.entries[claimId].recClaimIds = [];
|
||||||
recsysId: null,
|
|
||||||
recClaimIds: [],
|
|
||||||
recClickedVideoIdx: [],
|
|
||||||
events: [],
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
recsys.saveEntries();
|
||||||
}
|
}
|
||||||
recsys.log('createRecsysEntry', claimId);
|
recsys.log('createRecsysEntry', claimId);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
updateRecsysEntry: function (claimId, key, value) {
|
||||||
|
const entry = recsys.entries[claimId];
|
||||||
|
if (entry) {
|
||||||
|
entry[key] = value;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send event for claimId
|
* Send event for claimId
|
||||||
* @param claimId
|
* @param claimId
|
||||||
* @param isTentative
|
* @param isTentative Visibility change rather than tab closed.
|
||||||
*/
|
*/
|
||||||
sendRecsysEntry: function (claimId, isTentative) {
|
sendRecsysEntry: function (claimId, isTentative) {
|
||||||
const shareTelemetry =
|
const shareTelemetry =
|
||||||
IS_WEB || (window && window.store && selectDaemonSettings(window.store.getState()).share_usage_data);
|
IS_WEB || (window && window.store && selectDaemonSettings(window.store.getState()).share_usage_data);
|
||||||
|
|
||||||
if (recsys.entries[claimId] && shareTelemetry) {
|
if (recsys.entries[claimId] && shareTelemetry) {
|
||||||
const data = JSON.stringify(recsys.entries[claimId]);
|
// Exclude `events` in the submission https://github.com/OdyseeTeam/odysee-frontend/issues/1317
|
||||||
try {
|
const { events, ...entryData } = recsys.entries[claimId];
|
||||||
navigator.sendBeacon(recsysEndpoint, data);
|
const data = JSON.stringify(entryData);
|
||||||
if (!isTentative) {
|
|
||||||
delete recsys.entries[claimId];
|
return fetch(recsysEndpoint, {
|
||||||
}
|
method: 'POST',
|
||||||
} catch (error) {
|
headers: {
|
||||||
console.log('no beacon for you', error);
|
[X_LBRY_AUTH_TOKEN]: getAuthToken(),
|
||||||
}
|
'Content-Type': 'application/json',
|
||||||
|
},
|
||||||
|
body: data,
|
||||||
|
})
|
||||||
|
.then(() => {
|
||||||
|
if (!isTentative) {
|
||||||
|
delete recsys.entries[claimId];
|
||||||
|
recsys.saveEntries();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
console.log('RECSYS: failed to send entry', err);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
recsys.log('sendRecsysEntry', claimId);
|
recsys.log('sendRecsysEntry', claimId);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
sendEntries: function (entries, isResumedSend) {
|
||||||
|
if (entries) {
|
||||||
|
if (Object.keys(recsys.entries).length !== 0) {
|
||||||
|
// Typically called on startup only.
|
||||||
|
console.warn('RECSYS: sendEntries() called on non-empty state. Data will be overwritten.');
|
||||||
|
}
|
||||||
|
|
||||||
|
recsys.entries = entries;
|
||||||
|
}
|
||||||
|
|
||||||
|
Object.keys(recsys.entries).forEach((claimId) => {
|
||||||
|
recsys.entries[claimId].isResumedSend = isResumedSend;
|
||||||
|
recsys.sendRecsysEntry(claimId, false); // Send and delete.
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A player event fired. Get the Entry for the claimId, and add the events
|
* A player event fired. Get the Entry for the claimId, and add the events
|
||||||
* @param claimId
|
* @param claimId
|
||||||
* @param event
|
* @param event
|
||||||
*/
|
*/
|
||||||
onRecsysPlayerEvent: function (claimId, event, isEmbedded) {
|
onRecsysPlayerEvent: function (claimId, event, isEmbedded) {
|
||||||
|
const state = window.store.getState();
|
||||||
|
const autoPlayNext = state && selectClientSetting(state, SETTINGS.AUTOPLAY_NEXT);
|
||||||
|
// Check if played through (4 = onEnded) and handle multiple events at end
|
||||||
|
if (recsys.entries[claimId] && !recsys.entries[claimId]['autoplay'] === true) {
|
||||||
|
if (autoPlayNext && event.event === 4) {
|
||||||
|
recsys.entries[claimId]['autoplay'] = true;
|
||||||
|
} else {
|
||||||
|
recsys.entries[claimId]['autoplay'] = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
if (!recsys.entries[claimId]) {
|
if (!recsys.entries[claimId]) {
|
||||||
recsys.createRecsysEntry(claimId);
|
recsys.createRecsysEntry(claimId);
|
||||||
// do something to show it's floating or autoplay
|
// do something to show it's floating or autoplay
|
||||||
|
@ -162,6 +240,7 @@ const recsys = {
|
||||||
recsys.entries[claimId].events.push(event);
|
recsys.entries[claimId].events.push(event);
|
||||||
recsys.log('onRecsysPlayerEvent', claimId);
|
recsys.log('onRecsysPlayerEvent', claimId);
|
||||||
},
|
},
|
||||||
|
|
||||||
log: function (callName, claimId) {
|
log: function (callName, claimId) {
|
||||||
if (recsys.debug) {
|
if (recsys.debug) {
|
||||||
console.log(`Call: ***${callName}***, ClaimId: ${claimId}, Recsys Entries`, Object.assign({}, recsys.entries));
|
console.log(`Call: ***${callName}***, ClaimId: ${claimId}, Recsys Entries`, Object.assign({}, recsys.entries));
|
||||||
|
@ -172,8 +251,8 @@ const recsys = {
|
||||||
* Player closed. Check to see if primaryUri = playingUri
|
* Player closed. Check to see if primaryUri = playingUri
|
||||||
* if so, send the Entry.
|
* if so, send the Entry.
|
||||||
*/
|
*/
|
||||||
onPlayerDispose: function (claimId, isEmbedded) {
|
onPlayerDispose: function (claimId, isEmbedded, totalPlayingTime) {
|
||||||
if (window.store) {
|
if (window && window.store) {
|
||||||
const state = window.store.getState();
|
const state = window.store.getState();
|
||||||
const playingUri = selectPlayingUri(state);
|
const playingUri = selectPlayingUri(state);
|
||||||
const primaryUri = selectPrimaryUri(state);
|
const primaryUri = selectPrimaryUri(state);
|
||||||
|
@ -182,6 +261,7 @@ const recsys = {
|
||||||
if (isEmbedded) {
|
if (isEmbedded) {
|
||||||
recsys.entries[claimId]['isEmbed'] = true;
|
recsys.entries[claimId]['isEmbed'] = true;
|
||||||
}
|
}
|
||||||
|
recsys.entries[claimId]['totalPlayTime'] = totalPlayingTime;
|
||||||
recsys.sendRecsysEntry(claimId);
|
recsys.sendRecsysEntry(claimId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -196,7 +276,7 @@ const recsys = {
|
||||||
// * more events until player is disposed. Don't send unless floatingPlayer playingUri
|
// * more events until player is disposed. Don't send unless floatingPlayer playingUri
|
||||||
// */
|
// */
|
||||||
// onLeaveFilePage: function (primaryUri) {
|
// onLeaveFilePage: function (primaryUri) {
|
||||||
// if (window.store) {
|
// if (window && window.store) {
|
||||||
// const state = window.store.getState();
|
// const state = window.store.getState();
|
||||||
// const claim = makeSelectClaimForUri(primaryUri)(state);
|
// const claim = makeSelectClaimForUri(primaryUri)(state);
|
||||||
// const claimId = claim ? claim.claim_id : null;
|
// const claimId = claim ? claim.claim_id : null;
|
||||||
|
@ -222,33 +302,27 @@ const recsys = {
|
||||||
* Send all claimIds that aren't currently playing.
|
* Send all claimIds that aren't currently playing.
|
||||||
*/
|
*/
|
||||||
onNavigate: function () {
|
onNavigate: function () {
|
||||||
if (window.store) {
|
if (window && window.store) {
|
||||||
const state = window.store.getState();
|
const state = window.store.getState();
|
||||||
const playingUri = selectPlayingUri(state);
|
const playingUri = selectPlayingUri(state);
|
||||||
const actualPlayingUri = playingUri && playingUri.uri;
|
const actualPlayingUri = playingUri && playingUri.uri;
|
||||||
const claim = makeSelectClaimForUri(actualPlayingUri)(state);
|
const claim = makeSelectClaimForUri(actualPlayingUri || '')(state);
|
||||||
const playingClaimId = claim ? claim.claim_id : null;
|
const playingClaimId = claim ? claim.claim_id : null;
|
||||||
// const primaryUri = selectPrimaryUri(state);
|
// const primaryUri = selectPrimaryUri(state);
|
||||||
const floatingPlayer = makeSelectClientSetting(SETTINGS.FLOATING_PLAYER)(state);
|
const floatingPlayer = selectClientSetting(state, SETTINGS.FLOATING_PLAYER);
|
||||||
// When leaving page, if floating player is enabled, play will continue.
|
// When leaving page, if floating player is enabled, play will continue.
|
||||||
Object.keys(recsys.entries).forEach((claimId) => {
|
Object.keys(recsys.entries).forEach((claimId) => {
|
||||||
const shouldSkip = recsys.entries[claimId].parentUuid && !recsys.entries[claimId].recClaimIds;
|
const shouldSkip = recsys.entries[claimId].parentUuid && !recsys.entries[claimId].recClaimIds;
|
||||||
if (!shouldSkip && ((claimId !== playingClaimId && floatingPlayer) || !floatingPlayer)) {
|
if (!shouldSkip && ((claimId !== playingClaimId && floatingPlayer) || !floatingPlayer)) {
|
||||||
recsys.entries[claimId]['pageExitedAt'] = Date.now();
|
recsys.entries[claimId]['pageExitedAt'] = Date.now();
|
||||||
recsys.sendRecsysEntry(claimId);
|
recsys.saveEntries();
|
||||||
|
// recsys.sendRecsysEntry(claimId); breaks pop out = off, not helping with browser close.
|
||||||
}
|
}
|
||||||
recsys.log('OnNavigate', claimId);
|
recsys.log('OnNavigate', claimId);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
// @if TARGET='web'
|
|
||||||
document.addEventListener('visibilitychange', function logData() {
|
|
||||||
if (document.visibilityState === 'hidden') {
|
|
||||||
Object.keys(recsys.entries).map((claimId) => recsys.sendRecsysEntry(claimId, true));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
// @endif
|
|
||||||
|
|
||||||
history.listen(() => {
|
history.listen(() => {
|
||||||
recsys.onNavigate();
|
recsys.onNavigate();
|
||||||
|
|
30
flow-typed/Blocklist.js
vendored
30
flow-typed/Blocklist.js
vendored
|
@ -1,5 +1,6 @@
|
||||||
declare type BlocklistState = {
|
declare type BlocklistState = {
|
||||||
blockedChannels: Array<string>
|
blockedChannels: Array<string>,
|
||||||
|
geoBlockedList: ?GBL,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type BlocklistAction = {
|
declare type BlocklistAction = {
|
||||||
|
@ -8,3 +9,30 @@ declare type BlocklistAction = {
|
||||||
uri: string,
|
uri: string,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// ****************************************************************************
|
||||||
|
// Geo-blocked list (GBL)
|
||||||
|
// ****************************************************************************
|
||||||
|
|
||||||
|
declare type GeoChannelId = string;
|
||||||
|
|
||||||
|
declare type GeoRestriction = {
|
||||||
|
id: string,
|
||||||
|
trigger?: string,
|
||||||
|
reason?: string,
|
||||||
|
message?: string,
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type GeoConfig = {
|
||||||
|
countries?: Array<GeoRestriction>,
|
||||||
|
continents?: Array<GeoRestriction>,
|
||||||
|
specials?: Array<GeoRestriction>,
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type GBL = {
|
||||||
|
livestreams?: { [GeoChannelId]: GeoConfig },
|
||||||
|
videos?: { [GeoChannelId]: GeoConfig }
|
||||||
|
};
|
||||||
|
|
||||||
|
// ****************************************************************************
|
||||||
|
// ****************************************************************************
|
||||||
|
|
39
flow-typed/Claim.js
vendored
39
flow-typed/Claim.js
vendored
|
@ -58,6 +58,8 @@ declare type GenericClaim = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare type ClaimId = string;
|
||||||
|
|
||||||
declare type GenericMetadata = {
|
declare type GenericMetadata = {
|
||||||
title?: string,
|
title?: string,
|
||||||
description?: string,
|
description?: string,
|
||||||
|
@ -145,49 +147,12 @@ declare type PurchaseReceipt = {
|
||||||
type: 'purchase',
|
type: 'purchase',
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type ClaimErrorCensor = {
|
|
||||||
address: string,
|
|
||||||
amount: string,
|
|
||||||
canonical_url: string,
|
|
||||||
claim_id: string,
|
|
||||||
claim_op: string,
|
|
||||||
confirmations: number,
|
|
||||||
has_signing_key: boolean,
|
|
||||||
height: number,
|
|
||||||
meta: {
|
|
||||||
activation_height: number,
|
|
||||||
claims_in_channel: number,
|
|
||||||
creation_height: number,
|
|
||||||
creation_timestamp: number,
|
|
||||||
effective_amount: string,
|
|
||||||
expiration_height: number,
|
|
||||||
is_controlling: boolean,
|
|
||||||
reposted: number,
|
|
||||||
support_amount: string,
|
|
||||||
take_over_height: number,
|
|
||||||
},
|
|
||||||
name: string,
|
|
||||||
normalized_name: string,
|
|
||||||
nout: number,
|
|
||||||
permanent_url: string,
|
|
||||||
short_url: string,
|
|
||||||
timestamp: number,
|
|
||||||
txid: string,
|
|
||||||
type: string,
|
|
||||||
value: {
|
|
||||||
public_key: string,
|
|
||||||
public_key_id: string,
|
|
||||||
},
|
|
||||||
value_type: string,
|
|
||||||
}
|
|
||||||
|
|
||||||
declare type ClaimActionResolveInfo = {
|
declare type ClaimActionResolveInfo = {
|
||||||
[string]: {
|
[string]: {
|
||||||
stream: ?StreamClaim,
|
stream: ?StreamClaim,
|
||||||
channel: ?ChannelClaim,
|
channel: ?ChannelClaim,
|
||||||
claimsInChannel: ?number,
|
claimsInChannel: ?number,
|
||||||
collection: ?CollectionClaim,
|
collection: ?CollectionClaim,
|
||||||
errorCensor: ?ClaimErrorCensor,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
34
flow-typed/Collections.js
vendored
34
flow-typed/Collections.js
vendored
|
@ -2,9 +2,16 @@ declare type Collection = {
|
||||||
id: string,
|
id: string,
|
||||||
items: Array<?string>,
|
items: Array<?string>,
|
||||||
name: string,
|
name: string,
|
||||||
|
description?: string,
|
||||||
|
thumbnail?: {
|
||||||
|
url?: string,
|
||||||
|
},
|
||||||
type: string,
|
type: string,
|
||||||
|
createdAt?: ?number,
|
||||||
updatedAt: number,
|
updatedAt: number,
|
||||||
totalItems?: number,
|
totalItems?: number,
|
||||||
|
itemCount?: number,
|
||||||
|
editsCleared?: boolean,
|
||||||
sourceId?: string, // if copied, claimId of original collection
|
sourceId?: string, // if copied, claimId of original collection
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -17,11 +24,25 @@ declare type CollectionState = {
|
||||||
saved: Array<string>,
|
saved: Array<string>,
|
||||||
isResolvingCollectionById: { [string]: boolean },
|
isResolvingCollectionById: { [string]: boolean },
|
||||||
error?: string | null,
|
error?: string | null,
|
||||||
|
queue: Collection,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type CollectionGroup = {
|
declare type CollectionGroup = {
|
||||||
[string]: Collection,
|
[string]: Collection,
|
||||||
}
|
};
|
||||||
|
|
||||||
|
declare type CollectionList = Array<Collection>;
|
||||||
|
|
||||||
|
declare type CollectionCreateParams = {
|
||||||
|
name: string,
|
||||||
|
description?: string,
|
||||||
|
thumbnail?: {
|
||||||
|
url?: string,
|
||||||
|
},
|
||||||
|
items: ?Array<string>,
|
||||||
|
type: string,
|
||||||
|
sourceId?: string, // if copied, claimId of original collection
|
||||||
|
};
|
||||||
|
|
||||||
declare type CollectionEditParams = {
|
declare type CollectionEditParams = {
|
||||||
uris?: Array<string>,
|
uris?: Array<string>,
|
||||||
|
@ -30,4 +51,13 @@ declare type CollectionEditParams = {
|
||||||
order?: { from: number, to: number },
|
order?: { from: number, to: number },
|
||||||
type?: string,
|
type?: string,
|
||||||
name?: string,
|
name?: string,
|
||||||
}
|
description?: string,
|
||||||
|
thumbnail?: {
|
||||||
|
url?: string,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type CollectionFetchParams = {
|
||||||
|
collectionId: string,
|
||||||
|
pageSize?: number,
|
||||||
|
};
|
||||||
|
|
119
flow-typed/Comment.js
vendored
119
flow-typed/Comment.js
vendored
|
@ -18,6 +18,17 @@ declare type Comment = {
|
||||||
is_creator: boolean,
|
is_creator: boolean,
|
||||||
is_global_mod: boolean,
|
is_global_mod: boolean,
|
||||||
is_fiat?: boolean,
|
is_fiat?: boolean,
|
||||||
|
removed?: boolean,
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type CommentSubmitParams = {
|
||||||
|
comment: string,
|
||||||
|
claim_id: string,
|
||||||
|
parent_id?: string,
|
||||||
|
txid?: ?string,
|
||||||
|
payment_intent_id?: ?string,
|
||||||
|
environment?: ?string,
|
||||||
|
sticker: boolean,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type PerChannelSettings = {
|
declare type PerChannelSettings = {
|
||||||
|
@ -26,11 +37,12 @@ declare type PerChannelSettings = {
|
||||||
min_tip_amount_comment?: number,
|
min_tip_amount_comment?: number,
|
||||||
min_tip_amount_super_chat?: number,
|
min_tip_amount_super_chat?: number,
|
||||||
slow_mode_min_gap?: number,
|
slow_mode_min_gap?: number,
|
||||||
|
time_since_first_comment?: number,
|
||||||
};
|
};
|
||||||
|
|
||||||
// todo: relate individual comments to their commentId
|
// todo: relate individual comments to their commentId
|
||||||
declare type CommentsState = {
|
declare type CommentsState = {
|
||||||
commentsByUri: { [string]: string },
|
commentsByUri: { [string]: string }, // URI -> claimId (TODO: remove)
|
||||||
superChatsByUri: { [string]: { totalAmount: number, comments: Array<Comment> } },
|
superChatsByUri: { [string]: { totalAmount: number, comments: Array<Comment> } },
|
||||||
byId: { [string]: Array<string> }, // ClaimID -> list of fetched comment IDs.
|
byId: { [string]: Array<string> }, // ClaimID -> list of fetched comment IDs.
|
||||||
totalCommentsById: {}, // ClaimId -> ultimate total (including replies) in commentron.
|
totalCommentsById: {}, // ClaimId -> ultimate total (including replies) in commentron.
|
||||||
|
@ -39,8 +51,8 @@ declare type CommentsState = {
|
||||||
topLevelCommentsById: { [string]: Array<string> }, // ClaimID -> list of fetched top level comments.
|
topLevelCommentsById: { [string]: Array<string> }, // ClaimID -> list of fetched top level comments.
|
||||||
topLevelTotalPagesById: { [string]: number }, // ClaimID -> total number of top-level pages in commentron. Based on COMMENT_PAGE_SIZE_TOP_LEVEL.
|
topLevelTotalPagesById: { [string]: number }, // ClaimID -> total number of top-level pages in commentron. Based on COMMENT_PAGE_SIZE_TOP_LEVEL.
|
||||||
topLevelTotalCommentsById: { [string]: number }, // ClaimID -> total top level comments in commentron.
|
topLevelTotalCommentsById: { [string]: number }, // ClaimID -> total top level comments in commentron.
|
||||||
commentById: { [string]: Comment },
|
commentById: { [string]: Comment }, // commentId -> Comment
|
||||||
linkedCommentAncestors: { [string]: Array<string> }, // {"linkedCommentId": ["parentId", "grandParentId", ...]}
|
fetchedCommentAncestors: { [string]: Array<string> }, // {"fetchedCommentId": ["parentId", "grandParentId", ...]}
|
||||||
pinnedCommentsById: {}, // ClaimId -> array of pinned comment IDs
|
pinnedCommentsById: {}, // ClaimId -> array of pinned comment IDs
|
||||||
isLoading: boolean,
|
isLoading: boolean,
|
||||||
isLoadingById: boolean,
|
isLoadingById: boolean,
|
||||||
|
@ -54,21 +66,42 @@ declare type CommentsState = {
|
||||||
moderationBlockList: ?Array<string>, // @KP rename to "personalBlockList"?
|
moderationBlockList: ?Array<string>, // @KP rename to "personalBlockList"?
|
||||||
adminBlockList: ?Array<string>,
|
adminBlockList: ?Array<string>,
|
||||||
moderatorBlockList: ?Array<string>,
|
moderatorBlockList: ?Array<string>,
|
||||||
moderatorBlockListDelegatorsMap: {[string]: Array<string>}, // {"blockedUri": ["delegatorUri1", ""delegatorUri2", ...]}
|
moderatorBlockListDelegatorsMap: { [string]: Array<string> }, // {"blockedUri": ["delegatorUri1", ""delegatorUri2", ...]}
|
||||||
fetchingModerationBlockList: boolean,
|
fetchingModerationBlockList: boolean,
|
||||||
moderationDelegatesById: { [string]: Array<{ channelId: string, channelName: string }> },
|
moderationDelegatesById: { [string]: Array<{ channelId: string, channelName: string }> },
|
||||||
fetchingModerationDelegates: boolean,
|
fetchingModerationDelegates: boolean,
|
||||||
moderationDelegatorsById: { [string]: { global: boolean, delegators: { name: string, claimId: string } }},
|
moderationDelegatorsById: { [string]: { global: boolean, delegators: { name: string, claimId: string } } },
|
||||||
fetchingModerationDelegators: boolean,
|
fetchingModerationDelegators: boolean,
|
||||||
blockingByUri: {},
|
blockingByUri: {},
|
||||||
unBlockingByUri: {},
|
unBlockingByUri: {},
|
||||||
personalTimeoutMap: { [uri: string]: { blockedAt: string, bannedFor: number, banRemaining: number } },
|
personalTimeoutMap: { [uri: string]: { blockedAt: string, bannedFor: number, banRemaining: number } },
|
||||||
adminTimeoutMap: { [uri: string]: { blockedAt: string, bannedFor: number, banRemaining: number } },
|
adminTimeoutMap: { [uri: string]: { blockedAt: string, bannedFor: number, banRemaining: number } },
|
||||||
moderatorTimeoutMap: { [uri: string]: { blockedAt: string, bannedFor: number, banRemaining: number } },
|
moderatorTimeoutMap: { [uri: string]: { blockedAt: string, bannedFor: number, banRemaining: number } },
|
||||||
togglingForDelegatorMap: {[string]: Array<string>}, // {"blockedUri": ["delegatorUri1", ""delegatorUri2", ...]}
|
togglingForDelegatorMap: { [string]: Array<string> }, // {"blockedUri": ["delegatorUri1", ""delegatorUri2", ...]}
|
||||||
settingsByChannelId: { [string]: PerChannelSettings }, // ChannelID -> settings
|
settingsByChannelId: { [string]: PerChannelSettings }, // ChannelID -> settings
|
||||||
fetchingSettings: boolean,
|
fetchingSettings: boolean,
|
||||||
fetchingBlockedWords: boolean,
|
fetchingBlockedWords: boolean,
|
||||||
|
myCommentedChannelIdsById: { [string]: Array<string> }, // [content-claim-id] -> array of own channels IDs that have commented before.
|
||||||
|
};
|
||||||
|
|
||||||
|
// Authorization parameters for calls requiring user authentication
|
||||||
|
declare type Authorization = {
|
||||||
|
channel_name: string,
|
||||||
|
channel_id: string,
|
||||||
|
signature: string,
|
||||||
|
signing_ts: string,
|
||||||
|
};
|
||||||
|
|
||||||
|
// ModAuthorization parameters for calls requiring creator/moderator authentication
|
||||||
|
declare type ModAuthorization = {
|
||||||
|
// Publisher, Moderator or Commentron Admin
|
||||||
|
mod_channel_id: string,
|
||||||
|
mod_channel_name: string,
|
||||||
|
// Creator that Moderator is delegated from. Used for delegated moderation
|
||||||
|
creator_channel_id: string,
|
||||||
|
creator_channel_name: string,
|
||||||
|
signature: string,
|
||||||
|
signing_ts: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type CommentReactParams = {
|
declare type CommentReactParams = {
|
||||||
|
@ -92,7 +125,7 @@ declare type ReactionReactParams = {
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type ReactionReactResponse = {
|
declare type ReactionReactResponse = {
|
||||||
Reactions: { [string]: { [string]: number} },
|
Reactions: { [string]: { [string]: number } },
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type ReactionListParams = {
|
declare type ReactionListParams = {
|
||||||
|
@ -110,23 +143,23 @@ declare type ReactionListResponse = {
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type CommentListParams = {
|
declare type CommentListParams = {
|
||||||
page: number, // pagination: which page of results
|
page: number, // pagination: which page of results
|
||||||
page_size: number, // pagination: nr of comments to show in a page (max 200)
|
page_size: number, // pagination: nr of comments to show in a page (max 200)
|
||||||
claim_id?: string, // claim id of claim being commented on
|
claim_id?: string, // claim id of claim being commented on
|
||||||
channel_name?: string, // signing channel name of claim (enables 'commentsEnabled' check)
|
channel_name?: string, // signing channel name of claim (enables 'commentsEnabled' check)
|
||||||
channel_id?: string, // signing channel claim id of claim (enables 'commentsEnabled' check)
|
channel_id?: string, // signing channel claim id of claim (enables 'commentsEnabled' check)
|
||||||
author_claim_id?: string, // filters comments to just this author
|
author_claim_id?: string, // filters comments to just this author
|
||||||
parent_id?: string, // filters comments to those under this thread
|
parent_id?: ?string, // filters comments to those under this thread
|
||||||
top_level?: boolean, // filters to only top level comments
|
top_level?: boolean, // filters to only top level comments
|
||||||
hidden?: boolean, // if true, will show hidden comments as well
|
hidden?: boolean, // if true, will show hidden comments as well
|
||||||
sort_by?: number, // @see: ui/constants/comments.js::SORT_BY
|
sort_by?: ?number, // @see: ui/constants/comments.js::SORT_BY
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type CommentListResponse = {
|
declare type CommentListResponse = {
|
||||||
items: Array<Comment>,
|
items: Array<Comment>,
|
||||||
page: number,
|
page: number,
|
||||||
page_size: number,
|
page_size: number,
|
||||||
total_items: number, // Grand total for the claim being commented on.
|
total_items: number, // Grand total for the claim being commented on.
|
||||||
total_filtered_items: number, // Total for filtered queries (e.g. top_level=true, parent_id=xxx, etc.).
|
total_filtered_items: number, // Total for filtered queries (e.g. top_level=true, parent_id=xxx, etc.).
|
||||||
total_pages: number,
|
total_pages: number,
|
||||||
has_hidden_comments: boolean,
|
has_hidden_comments: boolean,
|
||||||
|
@ -135,13 +168,13 @@ declare type CommentListResponse = {
|
||||||
declare type CommentByIdParams = {
|
declare type CommentByIdParams = {
|
||||||
comment_id: string,
|
comment_id: string,
|
||||||
with_ancestors: boolean,
|
with_ancestors: boolean,
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type CommentByIdResponse = {
|
declare type CommentByIdResponse = {
|
||||||
item: Comment,
|
item: Comment,
|
||||||
items: Comment,
|
items: Comment,
|
||||||
ancestors: Array<Comment>,
|
ancestors: Array<Comment>,
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type CommentPinParams = {
|
declare type CommentPinParams = {
|
||||||
comment_id: string,
|
comment_id: string,
|
||||||
|
@ -150,27 +183,34 @@ declare type CommentPinParams = {
|
||||||
remove?: boolean,
|
remove?: boolean,
|
||||||
signature: string,
|
signature: string,
|
||||||
signing_ts: string,
|
signing_ts: string,
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type CommentPinResponse = {
|
declare type CommentPinResponse = {
|
||||||
items: Comment, // "items" is an inherited typo to match SDK. Will be "item" in a new version.
|
items: Comment, // "items" is an inherited typo to match SDK. Will be "item" in a new version.
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type CommentEditParams = {
|
declare type CommentEditParams = {
|
||||||
comment: string,
|
comment: string,
|
||||||
comment_id: string,
|
comment_id: string,
|
||||||
signature: string,
|
signature: string,
|
||||||
signing_ts: string,
|
signing_ts: string,
|
||||||
}
|
};
|
||||||
|
|
||||||
declare type CommentEditResponse = Comment
|
declare type CommentEditResponse = Comment;
|
||||||
|
|
||||||
declare type CommentAbandonParams = {
|
declare type CommentAbandonParams = {
|
||||||
comment_id: string,
|
comment_id: string,
|
||||||
creator_channel_id?: string,
|
creator_channel_id?: string,
|
||||||
creator_channel_name?: string,
|
creator_channel_name?: string,
|
||||||
channel_id?: string,
|
signature?: string,
|
||||||
hexdata?: string,
|
signing_ts?: string,
|
||||||
|
mod_channel_id?: string,
|
||||||
|
mod_channel_name?: string,
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type MentionedChannel = {
|
||||||
|
channel_name: string,
|
||||||
|
channel_id: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type CommentCreateParams = {
|
declare type CommentCreateParams = {
|
||||||
|
@ -180,6 +220,7 @@ declare type CommentCreateParams = {
|
||||||
signature: string,
|
signature: string,
|
||||||
signing_ts: string,
|
signing_ts: string,
|
||||||
support_tx_id?: string,
|
support_tx_id?: string,
|
||||||
|
mentioned_channels?: Array<MentionedChannel>,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type SuperListParams = {};
|
declare type SuperListParams = {};
|
||||||
|
@ -204,9 +245,11 @@ declare type ModerationBlockParams = {
|
||||||
// Creator that Moderator is delegated from. Used for delegated moderation
|
// Creator that Moderator is delegated from. Used for delegated moderation
|
||||||
creator_channel_id?: string,
|
creator_channel_id?: string,
|
||||||
creator_channel_name?: string,
|
creator_channel_name?: string,
|
||||||
|
// ID of comment to remove as part of this block
|
||||||
|
offending_comment_id?: string,
|
||||||
// Blocks identity from comment universally, requires Admin rights on commentron instance
|
// Blocks identity from comment universally, requires Admin rights on commentron instance
|
||||||
block_all?: boolean,
|
block_all?: boolean,
|
||||||
time_out?: number,
|
time_out?: ?number,
|
||||||
// If true will delete all comments of the offender, requires Admin rights on commentron for universal delete
|
// If true will delete all comments of the offender, requires Admin rights on commentron for universal delete
|
||||||
delete_all?: boolean,
|
delete_all?: boolean,
|
||||||
// The usual signature stuff
|
// The usual signature stuff
|
||||||
|
@ -232,36 +275,23 @@ declare type BlockedListArgs = {
|
||||||
signing_ts: string,
|
signing_ts: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type ModerationAddDelegateParams = {
|
declare type ModerationAddDelegateParams = Authorization & {
|
||||||
mod_channel_id: string,
|
mod_channel_id: string,
|
||||||
mod_channel_name: string,
|
mod_channel_name: string,
|
||||||
creator_channel_id: string,
|
|
||||||
creator_channel_name: string,
|
|
||||||
signature: string,
|
|
||||||
signing_ts: string,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type ModerationRemoveDelegateParams = {
|
declare type ModerationRemoveDelegateParams = Authorization & {
|
||||||
mod_channel_id: string,
|
mod_channel_id: string,
|
||||||
mod_channel_name: string,
|
mod_channel_name: string,
|
||||||
creator_channel_id: string,
|
|
||||||
creator_channel_name: string,
|
|
||||||
signature: string,
|
|
||||||
signing_ts: string,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type ModerationListDelegatesParams = {
|
declare type ModerationListDelegatesParams = Authorization;
|
||||||
creator_channel_id: string,
|
|
||||||
creator_channel_name: string,
|
|
||||||
signature: string,
|
|
||||||
signing_ts: string,
|
|
||||||
};
|
|
||||||
|
|
||||||
declare type ModerationAmIParams = {
|
declare type ModerationAmIParams = {
|
||||||
channel_name: string,
|
channel_name: string,
|
||||||
channel_id: string,
|
channel_id: string,
|
||||||
signature: string,
|
signature: string,
|
||||||
signing_ts: string
|
signing_ts: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type SettingsParams = {
|
declare type SettingsParams = {
|
||||||
|
@ -290,7 +320,8 @@ declare type UpdateSettingsParams = {
|
||||||
min_tip_amount_comment?: number,
|
min_tip_amount_comment?: number,
|
||||||
min_tip_amount_super_chat?: number,
|
min_tip_amount_super_chat?: number,
|
||||||
slow_mode_min_gap?: number,
|
slow_mode_min_gap?: number,
|
||||||
}
|
time_since_first_comment?: number,
|
||||||
|
};
|
||||||
|
|
||||||
declare type BlockWordParams = {
|
declare type BlockWordParams = {
|
||||||
channel_name: string,
|
channel_name: string,
|
||||||
|
|
5
flow-typed/Lbry.js
vendored
5
flow-typed/Lbry.js
vendored
|
@ -101,8 +101,8 @@ declare type ClaimSearchResponse = {
|
||||||
items: Array<Claim>,
|
items: Array<Claim>,
|
||||||
page: number,
|
page: number,
|
||||||
page_size: number,
|
page_size: number,
|
||||||
total_items: number,
|
total_items?: number,
|
||||||
total_pages: number,
|
total_pages?: number,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type ClaimListResponse = {
|
declare type ClaimListResponse = {
|
||||||
|
@ -155,6 +155,7 @@ declare type CommentPinResponse = {
|
||||||
declare type CommentAbandonResponse = {
|
declare type CommentAbandonResponse = {
|
||||||
// keyed by the CommentId given
|
// keyed by the CommentId given
|
||||||
abandoned: boolean,
|
abandoned: boolean,
|
||||||
|
claim_id: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type ChannelListResponse = {
|
declare type ChannelListResponse = {
|
||||||
|
|
6
flow-typed/Redux.js
vendored
6
flow-typed/Redux.js
vendored
|
@ -1,6 +0,0 @@
|
||||||
// @flow
|
|
||||||
/* eslint-disable no-use-before-define */
|
|
||||||
declare type GetState = () => any;
|
|
||||||
declare type ThunkAction = (dispatch: Dispatch, getState: GetState) => any;
|
|
||||||
declare type Dispatch = (action: {} | Promise<*> | Array<{}> | ThunkAction) => any; // Need to refer to ThunkAction
|
|
||||||
/* eslint-enable */
|
|
13
flow-typed/Settings.js
vendored
13
flow-typed/Settings.js
vendored
|
@ -1,13 +0,0 @@
|
||||||
declare type CommentServerDetails = {
|
|
||||||
name: string,
|
|
||||||
url: string,
|
|
||||||
}
|
|
||||||
|
|
||||||
declare type WalletServerDetails = {
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
declare type DiskSpace = {
|
|
||||||
total: number,
|
|
||||||
free: number,
|
|
||||||
};
|
|
34
flow-typed/content.js
vendored
34
flow-typed/content.js
vendored
|
@ -1,9 +1,37 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
declare type PlayingUri = {
|
declare type ContentState = {
|
||||||
|
primaryUri: ?string,
|
||||||
|
playingUri: {
|
||||||
|
uri?: string,
|
||||||
|
collection: PlayingCollection,
|
||||||
|
},
|
||||||
|
positions: { [string]: { [string]: number } }, // claimId: { outpoint: position }
|
||||||
|
history: Array<WatchHistory>,
|
||||||
|
recommendationId: { [string]: string }, // claimId: recommendationId
|
||||||
|
recommendationParentId: { [string]: string }, // claimId: referrerId
|
||||||
|
recommendationUrls: { [string]: Array<string> }, // claimId: [lbryUrls...]
|
||||||
|
recommendationClicks: { [string]: Array<number> }, // "claimId": [clicked indices...]
|
||||||
|
lastViewedAnnouncement: ?string, // undefined = not seen in wallet.
|
||||||
|
recsysEntries: { [ClaimId]: RecsysEntry }, // Persistent shadow copy. The main one resides in RecSys.
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type WatchHistory = {
|
||||||
uri: string,
|
uri: string,
|
||||||
primaryUri: string,
|
lastViewed: number,
|
||||||
pathname: string,
|
};
|
||||||
|
|
||||||
|
declare type PlayingUri = {
|
||||||
|
uri?: ?string,
|
||||||
|
primaryUri?: string,
|
||||||
|
pathname?: string,
|
||||||
commentId?: string,
|
commentId?: string,
|
||||||
|
collection: PlayingCollection,
|
||||||
source?: string,
|
source?: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare type PlayingCollection = {
|
||||||
|
collectionId?: ?string,
|
||||||
|
loop?: ?boolean,
|
||||||
|
shuffle?: ?{ newUrls: Array<string> },
|
||||||
|
};
|
||||||
|
|
10
flow-typed/file-data.js
vendored
10
flow-typed/file-data.js
vendored
|
@ -1,10 +0,0 @@
|
||||||
// @flow
|
|
||||||
|
|
||||||
declare type FileData = {
|
|
||||||
file?: Blob,
|
|
||||||
path: string,
|
|
||||||
duration?: number,
|
|
||||||
size?: number,
|
|
||||||
mimeType: string,
|
|
||||||
error?: string,
|
|
||||||
}
|
|
9
flow-typed/file-with-path.js
vendored
9
flow-typed/file-with-path.js
vendored
|
@ -1,9 +0,0 @@
|
||||||
// @flow
|
|
||||||
|
|
||||||
declare type FileWithPath = {
|
|
||||||
file: File,
|
|
||||||
// The full path will only be available in
|
|
||||||
// the application. For browser, the name
|
|
||||||
// of the file will be used.
|
|
||||||
path: string,
|
|
||||||
}
|
|
5
flow-typed/gui.js
vendored
Normal file
5
flow-typed/gui.js
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
declare type ListInjectedItem = {
|
||||||
|
node: Node | (index: number, lastVisibleIndex: ?number, pageSize: ?number) => Node,
|
||||||
|
index?: number,
|
||||||
|
};
|
9
flow-typed/homepage.js
vendored
9
flow-typed/homepage.js
vendored
|
@ -8,21 +8,26 @@ declare type HomepageObject = {
|
||||||
|
|
||||||
declare type HomepageData = {
|
declare type HomepageData = {
|
||||||
[string]: HomepageObject,
|
[string]: HomepageObject,
|
||||||
default: any => any,
|
default: (any) => any,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type RowDataItem = {
|
declare type RowDataItem = {
|
||||||
|
id: string,
|
||||||
title: any,
|
title: any,
|
||||||
link?: string,
|
link?: string,
|
||||||
help?: any,
|
help?: any,
|
||||||
icon?: string,
|
icon?: string,
|
||||||
extra?: any,
|
extra?: any,
|
||||||
pinnedUrls?: Array<string>,
|
pinnedUrls?: Array<string>,
|
||||||
|
pinnedClaimIds?: Array<string>, // takes precedence over pinnedUrls
|
||||||
|
hideByDefault?: boolean,
|
||||||
options?: {
|
options?: {
|
||||||
channelIds?: Array<string>,
|
channelIds?: Array<string>,
|
||||||
|
excludedChannelIds?: Array<string>,
|
||||||
limitClaimsPerChannel?: number,
|
limitClaimsPerChannel?: number,
|
||||||
pageSize?: number,
|
pageSize?: number,
|
||||||
languages?: Array<string>,
|
releaseTime?: string,
|
||||||
|
searchLanguages?: Array<string>,
|
||||||
},
|
},
|
||||||
route?: string,
|
route?: string,
|
||||||
hideForUnauth?: boolean,
|
hideForUnauth?: boolean,
|
||||||
|
|
2
flow-typed/lbryURI.js
vendored
2
flow-typed/lbryURI.js
vendored
|
@ -13,6 +13,8 @@ declare type LbryUrlObj = {
|
||||||
primaryBidPosition?: number,
|
primaryBidPosition?: number,
|
||||||
secondaryBidPosition?: number,
|
secondaryBidPosition?: number,
|
||||||
startTime?: number,
|
startTime?: number,
|
||||||
|
queryString?: string,
|
||||||
|
pathHash?: string,
|
||||||
|
|
||||||
// Below are considered deprecated and should not be used due to unreliableness with claim.canonical_url
|
// Below are considered deprecated and should not be used due to unreliableness with claim.canonical_url
|
||||||
claimName?: string,
|
claimName?: string,
|
||||||
|
|
17
flow-typed/livestream.js
vendored
17
flow-typed/livestream.js
vendored
|
@ -18,24 +18,27 @@ declare type LivestreamReplayItem = {
|
||||||
uploadedAt: string, // Date?
|
uploadedAt: string, // Date?
|
||||||
},
|
},
|
||||||
id: string,
|
id: string,
|
||||||
}
|
};
|
||||||
declare type LivestreamReplayData = Array<LivestreamReplayItem>;
|
declare type LivestreamReplayData = Array<LivestreamReplayItem>;
|
||||||
|
|
||||||
declare type LivestreamState = {
|
declare type LivestreamState = {
|
||||||
fetchingById: {},
|
fetchingById: {},
|
||||||
viewersById: {},
|
viewersById: {},
|
||||||
fetchingActiveLivestreams: boolean,
|
fetchingActiveLivestreams: boolean | string,
|
||||||
activeLivestreams: ?LivestreamInfo,
|
activeLivestreams: ?LivestreamInfo,
|
||||||
activeLivestreamsLastFetchedDate: number,
|
activeLivestreamsLastFetchedDate: number,
|
||||||
activeLivestreamsLastFetchedOptions: {},
|
activeLivestreamsLastFetchedOptions: {},
|
||||||
}
|
activeLivestreamsLastFetchedFailCount: number,
|
||||||
|
activeLivestreamInitialized: boolean,
|
||||||
|
socketConnectionById: { [id: string]: { connected: ?boolean, sub_category: ?string } },
|
||||||
|
};
|
||||||
|
|
||||||
declare type LivestreamInfo = {
|
declare type LivestreamInfo = {
|
||||||
[/* creatorId */ string]: {
|
[/* creatorId */ string]: {
|
||||||
live: boolean,
|
live: boolean,
|
||||||
viewCount: number,
|
viewCount: number,
|
||||||
creatorId: string,
|
creatorId: string,
|
||||||
latestClaimId: string,
|
claimId: string,
|
||||||
latestClaimUri: string,
|
claimUri: string,
|
||||||
}
|
},
|
||||||
}
|
};
|
||||||
|
|
|
@ -11,10 +11,16 @@ import * as ACTIONS from 'constants/action_types';
|
||||||
*/
|
*/
|
||||||
declare type ToastParams = {
|
declare type ToastParams = {
|
||||||
message: string,
|
message: string,
|
||||||
title?: string,
|
subMessage?: string,
|
||||||
|
// title?: string,
|
||||||
linkText?: string,
|
linkText?: string,
|
||||||
linkTarget?: string,
|
linkTarget?: string,
|
||||||
isError?: boolean,
|
isError?: boolean,
|
||||||
|
duration?: 'default' | 'long',
|
||||||
|
actionText?: string,
|
||||||
|
action?: () => void,
|
||||||
|
secondaryActionText?: string,
|
||||||
|
secondaryAction?: () => void,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type Toast = {
|
declare type Toast = {
|
||||||
|
@ -115,11 +121,14 @@ declare type WebNotification = {
|
||||||
},
|
},
|
||||||
dynamic: {
|
dynamic: {
|
||||||
comment_author: string,
|
comment_author: string,
|
||||||
|
comment_author_thumbnail?: string,
|
||||||
reply_author: string,
|
reply_author: string,
|
||||||
hash: string,
|
hash: string,
|
||||||
claim_title: string,
|
claim_title: string,
|
||||||
|
claim_thumbnail?: string,
|
||||||
comment?: string,
|
comment?: string,
|
||||||
channel_url: string,
|
channel_url: string,
|
||||||
|
channel_thumbnail?: string,
|
||||||
},
|
},
|
||||||
email: {},
|
email: {},
|
||||||
},
|
},
|
28
flow-typed/Publish.js → flow-typed/publish.js
vendored
28
flow-typed/Publish.js → flow-typed/publish.js
vendored
|
@ -14,6 +14,9 @@ declare type UpdatePublishFormData = {
|
||||||
thumbnailError?: boolean,
|
thumbnailError?: boolean,
|
||||||
description?: string,
|
description?: string,
|
||||||
language?: string,
|
language?: string,
|
||||||
|
releaseTime?: number,
|
||||||
|
releaseTimeEdited?: number,
|
||||||
|
releaseTimeError?: string,
|
||||||
channel?: string,
|
channel?: string,
|
||||||
channelId?: string,
|
channelId?: string,
|
||||||
name?: string,
|
name?: string,
|
||||||
|
@ -52,3 +55,28 @@ declare type PublishParams = {
|
||||||
nsfw: boolean,
|
nsfw: boolean,
|
||||||
tags: Array<Tag>,
|
tags: Array<Tag>,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare type TusUploader = any;
|
||||||
|
|
||||||
|
declare type FileUploadSdkParams = {
|
||||||
|
file_path: string | File,
|
||||||
|
claim_id: ?string,
|
||||||
|
name: ?string,
|
||||||
|
preview?: boolean,
|
||||||
|
remote_url?: string,
|
||||||
|
thumbnail_url?: string,
|
||||||
|
title?: string,
|
||||||
|
// Temporary values; remove when passing to SDK
|
||||||
|
guid: string,
|
||||||
|
uploadUrl?: string,
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type FileUploadItem = {
|
||||||
|
params: FileUploadSdkParams,
|
||||||
|
file: File,
|
||||||
|
fileFingerprint: string,
|
||||||
|
progress: string,
|
||||||
|
status?: string,
|
||||||
|
uploader?: TusUploader | XMLHttpRequest,
|
||||||
|
resumable: boolean,
|
||||||
|
};
|
49
flow-typed/recsys.js
vendored
Normal file
49
flow-typed/recsys.js
vendored
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
declare type Recsys = {
|
||||||
|
entries: { [ClaimId]: RecsysEntry },
|
||||||
|
debug: boolean,
|
||||||
|
|
||||||
|
saveEntries: () => void,
|
||||||
|
onClickedRecommended: (parentClaimId: ClaimId, newClaimId: ClaimId) => void,
|
||||||
|
onRecsLoaded: (claimId: ClaimId, uris: Array<string>, uuid: string) => void,
|
||||||
|
createRecsysEntry: (claimId: ClaimId, parentUuid?: ?string, uuid?: string) => void,
|
||||||
|
updateRecsysEntry: (claimId: ClaimId, key: string, value: string) => void,
|
||||||
|
sendRecsysEntry: (claimId: ClaimId, isTentative?: boolean) => ?Promise<?Response>,
|
||||||
|
sendEntries: (entries: ?{ [ClaimId]: RecsysEntry }, isResumedSend: boolean) => void,
|
||||||
|
onRecsysPlayerEvent: (claimId: ClaimId, event: RecsysPlaybackEvent, isEmbedded: boolean) => void,
|
||||||
|
log: (callName: string, claimId: ClaimId) => void,
|
||||||
|
onPlayerDispose: (claimId: ClaimId, isEmbedded: boolean, totalPlayingTime: number) => void,
|
||||||
|
onNavigate: () => void,
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type RecsysEntry = {
|
||||||
|
uuid: string,
|
||||||
|
parentUuid?: string,
|
||||||
|
claimId: string,
|
||||||
|
uid?: number,
|
||||||
|
deviceId?: number,
|
||||||
|
pageLoadedAt: number, // UNIX timestamp (in UTC)
|
||||||
|
pageExitedAt: number, // UNIX timestamp (in UTC)
|
||||||
|
events: Array<RecsysPlaybackEvent>,
|
||||||
|
recsysId: string, // Recommender that produced recs
|
||||||
|
recClaimIds: Array<string>, // Recommendations
|
||||||
|
recClickedVideoIdx: Array<number>, // Video clicked index
|
||||||
|
isEmbed: boolean,
|
||||||
|
remoteIp: any, // [bytes] Caller IP address
|
||||||
|
tentative: boolean, // Visibility change rather than tab close
|
||||||
|
autoplay: boolean, // Was the last human action before this?
|
||||||
|
commentPulls: number, // How many comment pull calls did the user request?
|
||||||
|
recorded_at: number,
|
||||||
|
user_agent: string,
|
||||||
|
accept_lang: string,
|
||||||
|
tokenVerified: boolean,
|
||||||
|
totalPlayTime: number,
|
||||||
|
finalPlayPosition: number,
|
||||||
|
incognito: number, // User not logged in.
|
||||||
|
isResumedSend: boolean, // Data sent after browser is re-opened.
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type RecsysPlaybackEvent = {
|
||||||
|
event: number, // 0 = start, 1 = stop, 2 = scrub, 3 = speed, 4 = end_of_play
|
||||||
|
offset: number, // Where playback was at time of event
|
||||||
|
arg: number,
|
||||||
|
};
|
6
flow-typed/redux.js
vendored
Normal file
6
flow-typed/redux.js
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
// @flow
|
||||||
|
|
||||||
|
/* eslint-disable no-use-before-define */
|
||||||
|
declare type GetState = () => any;
|
||||||
|
declare type Dispatch = any;
|
||||||
|
/* eslint-enable */
|
20
flow-typed/search.js
vendored
20
flow-typed/search.js
vendored
|
@ -15,7 +15,7 @@ declare type SearchOptions = {
|
||||||
MEDIA_IMAGE: string,
|
MEDIA_IMAGE: string,
|
||||||
MEDIA_APPLICATION: string,
|
MEDIA_APPLICATION: string,
|
||||||
SORT: string,
|
SORT: string,
|
||||||
SORT_ACCENDING: string,
|
SORT_ASCENDING: string,
|
||||||
SORT_DESCENDING: string,
|
SORT_DESCENDING: string,
|
||||||
EXACT: string,
|
EXACT: string,
|
||||||
TIME_FILTER: string,
|
TIME_FILTER: string,
|
||||||
|
@ -28,11 +28,18 @@ declare type SearchOptions = {
|
||||||
|
|
||||||
declare type SearchState = {
|
declare type SearchState = {
|
||||||
options: SearchOptions,
|
options: SearchOptions,
|
||||||
resultsByQuery: {},
|
resultsByQuery: { [string]: { uris: Array<string>, recsys: string, uuid: string } },
|
||||||
results: Array<string>,
|
results: Array<string>,
|
||||||
hasReachedMaxResultsLength: {},
|
hasReachedMaxResultsLength: {},
|
||||||
searching: boolean,
|
searching: boolean,
|
||||||
mentionQuery: string,
|
mentionQuery: string,
|
||||||
|
personalRecommendations: { gid: string, uris: Array<string>, fetched: boolean },
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type SearchResults = {
|
||||||
|
body: Array<{ name: string, claimId: string}>,
|
||||||
|
poweredBy: string,
|
||||||
|
uuid: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
declare type SearchSuccess = {
|
declare type SearchSuccess = {
|
||||||
|
@ -42,8 +49,8 @@ declare type SearchSuccess = {
|
||||||
from: number,
|
from: number,
|
||||||
size: number,
|
size: number,
|
||||||
uris: Array<string>,
|
uris: Array<string>,
|
||||||
recsys: string,
|
poweredBy: string,
|
||||||
query: string,
|
uuid: string,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -51,3 +58,8 @@ declare type UpdateSearchOptions = {
|
||||||
type: ACTIONS.UPDATE_SEARCH_OPTIONS,
|
type: ACTIONS.UPDATE_SEARCH_OPTIONS,
|
||||||
data: SearchOptions,
|
data: SearchOptions,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare type FypParam = {
|
||||||
|
gid: string,
|
||||||
|
uuid: string,
|
||||||
|
};
|
||||||
|
|
1
flow-typed/subscription.js
vendored
1
flow-typed/subscription.js
vendored
|
@ -13,6 +13,7 @@ declare type Following = {
|
||||||
|
|
||||||
declare type SubscriptionState = {
|
declare type SubscriptionState = {
|
||||||
subscriptions: Array<Subscription>,
|
subscriptions: Array<Subscription>,
|
||||||
|
lastActiveSubscriptions: ?Array<Subscription>,
|
||||||
following: Array<Following>,
|
following: Array<Following>,
|
||||||
loading: boolean,
|
loading: boolean,
|
||||||
firstRunCompleted: boolean,
|
firstRunCompleted: boolean,
|
||||||
|
|
17
flow-typed/sync.js
vendored
Normal file
17
flow-typed/sync.js
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
declare type SyncState = {
|
||||||
|
hasSyncedWallet: boolean,
|
||||||
|
syncHash: ?string,
|
||||||
|
syncData: ?string,
|
||||||
|
setSyncErrorMessage: ?string,
|
||||||
|
getSyncErrorMessage: ?string,
|
||||||
|
syncApplyErrorMessage: string,
|
||||||
|
syncApplyIsPending: boolean,
|
||||||
|
syncApplyPasswordError: boolean,
|
||||||
|
getSyncIsPending: boolean,
|
||||||
|
setSyncIsPending: boolean,
|
||||||
|
prefsReady: boolean,
|
||||||
|
syncLocked: boolean,
|
||||||
|
sharedStateSyncId: number,
|
||||||
|
hashChanged: boolean,
|
||||||
|
fatalError: boolean,
|
||||||
|
};
|
42
flow-typed/user.js
vendored
42
flow-typed/user.js
vendored
|
@ -32,4 +32,46 @@ declare type User = {
|
||||||
odysee_live_enabled: boolean,
|
odysee_live_enabled: boolean,
|
||||||
odysee_live_disabled: boolean,
|
odysee_live_disabled: boolean,
|
||||||
global_mod: boolean,
|
global_mod: boolean,
|
||||||
|
publish_id: ?number,
|
||||||
|
is_odysee_user: boolean,
|
||||||
|
location: ?string,
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type UserState ={
|
||||||
|
authenticationIsPending: boolean,
|
||||||
|
userIsPending: boolean,
|
||||||
|
emailNewIsPending: boolean,
|
||||||
|
emailNewErrorMessage: string,
|
||||||
|
emailToVerify: string,
|
||||||
|
emailAlreadyExists: boolean,
|
||||||
|
emailDoesNotExist: boolean,
|
||||||
|
resendingVerificationEmail: boolean,
|
||||||
|
passwordResetPending: boolean,
|
||||||
|
passwordResetSuccess: boolean,
|
||||||
|
passwordResetError: ?string,
|
||||||
|
passwordSetPending: boolean,
|
||||||
|
passwordSetSuccess: boolean,
|
||||||
|
passwordSetError: ?string,
|
||||||
|
inviteNewErrorMessage: string,
|
||||||
|
inviteNewIsPending: boolean,
|
||||||
|
inviteStatusIsPending: boolean,
|
||||||
|
invitesRemaining: ?number,
|
||||||
|
invitees: ?Array<string>,
|
||||||
|
referralLink: ?string,
|
||||||
|
referralCode: ?string,
|
||||||
|
user: ?User,
|
||||||
|
youtubeChannelImportPending: boolean,
|
||||||
|
youtubeChannelImportErrorMessage: string,
|
||||||
|
referrerSetIsPending: boolean,
|
||||||
|
referrerSetError: string,
|
||||||
|
odyseeMembershipName: ?string, // undefined: not fetched, '': no membership
|
||||||
|
odyseeMembershipsPerClaimIds: ?{ [string]: string },
|
||||||
|
locale: ?LocaleInfo,
|
||||||
|
};
|
||||||
|
|
||||||
|
declare type LocaleInfo = {
|
||||||
|
continent: string,
|
||||||
|
country: string,
|
||||||
|
gdpr_required: boolean,
|
||||||
|
is_eu_member: boolean,
|
||||||
};
|
};
|
||||||
|
|
6
flow-typed/web-file.js
vendored
Normal file
6
flow-typed/web-file.js
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
// @flow
|
||||||
|
|
||||||
|
declare type WebFile = File & {
|
||||||
|
path?: string,
|
||||||
|
title?: string,
|
||||||
|
}
|
141
package.json
141
package.json
|
@ -1,69 +1,87 @@
|
||||||
{
|
{
|
||||||
"name": "lbry",
|
"name": "odysee.com",
|
||||||
"version": "0.53.9",
|
"version": "0.0.0",
|
||||||
"description": "A browser for the LBRY network, a digital marketplace controlled by its users.",
|
"description": "Explore a whole universe of videos on Odysee from regular people just like you!",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"lbry"
|
"odysee"
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://lbry.com/",
|
"homepage": "https://odysee.com",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/lbryio/lbry-desktop/issues"
|
"url": "https://github.com/OdyseeTeam/odysee-frontend/issues"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/lbryio/lbry-desktop"
|
"url": "https://github.com/OdyseeTeam/odysee-frontend"
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"name": "LBRY Inc.",
|
"name": "Odysee Inc.",
|
||||||
"email": "hello@lbry.com"
|
"email": "hello@odysee.com"
|
||||||
},
|
},
|
||||||
"main": "./dist/electron/main.js",
|
"main": "./dist/electron/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"analyze": "source-map-explorer --only-mapped dist/electron/webpack/ui*.js --html dist/sourceMap.html",
|
|
||||||
"compile:electron": "node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --config webpack.electron.config.js",
|
"compile:electron": "node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --config webpack.electron.config.js",
|
||||||
"compile": "cross-env NODE_ENV=production yarn compile:electron",
|
"compile:web": "yarn copyenv && cd web && node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --config webpack.config.js",
|
||||||
|
"compile": "cross-env NODE_ENV=production yarn compile:electron && cross-env NODE_ENV=production yarn compile:web",
|
||||||
|
"copyenv": "copyfiles ./.env* web/",
|
||||||
"dev": "yarn dev:electron",
|
"dev": "yarn dev:electron",
|
||||||
"dev:electron": "cross-env NODE_ENV=development node ./electron/devServer.js",
|
"dev:electron": "cross-env NODE_ENV=development node ./electron/devServer.js",
|
||||||
|
"dev:web": "yarn copyenv && cd web && yarn dev",
|
||||||
|
"dev:web-server": "cross-env NODE_ENV=development yarn compile:web && concurrently \"cross-env NODE_ENV=development yarn compile:web --watch\" \"cd web && yarn dev:server\"",
|
||||||
|
"dev:internal-apis": "LBRY_API_URL='http://localhost:8080' yarn dev:electron",
|
||||||
|
"dev:iatv": "LBRY_API_URL='http://localhost:15400' SDK_API_URL='http://localhost:15100' yarn dev:web",
|
||||||
|
"run:web-server": "cross-env NODE_ENV=production yarn compile:web && cd web && yarn dev:server",
|
||||||
"pack": "electron-builder --dir",
|
"pack": "electron-builder --dir",
|
||||||
"dist": "electron-builder",
|
"dist": "electron-builder",
|
||||||
"build": "cross-env NODE_ENV=production yarn compile:electron && electron-builder build",
|
"build": "cross-env NODE_ENV=production yarn compile:electron && electron-builder build",
|
||||||
"build:dir": "yarn build -- --dir -c.compression=store -c.mac.identity=null",
|
"build:dir": "yarn build -- --dir -c.compression=store -c.mac.identity=null",
|
||||||
"crossenv": "cross-env",
|
"crossenv": "./node_modules/cross-env/dist/bin/cross-env",
|
||||||
"flow": "flow",
|
"flow": "flow",
|
||||||
"lint": "eslint 'ui/**/*.{js,jsx}' && eslint 'electron/**/*.js' && flow",
|
"lint": "eslint 'ui/**/*.{js,jsx}' && eslint 'extras/**/*.{js,jsx}' && eslint 'web/**/*.{js,jsx}' && eslint 'electron/**/*.js' && flow",
|
||||||
"lint-fix": "eslint --fix --quiet 'ui/**/*.{js,jsx}' && eslint --fix --quiet 'electron/**/*.js'",
|
"lint-fix": "eslint --fix --quiet 'ui/**/*.{js,jsx}' && eslint --fix --quiet 'extras/**/*.{js,jsx}' && eslint --fix --quiet 'web/**/*.{js,jsx}' && eslint --fix --quiet 'electron/**/*.js'",
|
||||||
"format": "prettier 'src/**/*.{js,jsx,scss,json}' --write",
|
"format": "prettier 'src/**/*.{js,jsx,scss,json}' --write",
|
||||||
"flow-defs": "flow-typed install",
|
"flow-defs": "flow-typed install",
|
||||||
"precommit": "lint-staged",
|
"preinstall": "",
|
||||||
"postinstall": "electron-builder install-app-deps && node ./build/downloadDaemon.js",
|
"postinstall": "cd web && yarn && cd .. && if-env NODE_ENV=production && yarn postinstall:warning || if-env APP_ENV=web && echo 'Done installing deps' || yarn postinstall:electron",
|
||||||
|
"postinstall:electron": "electron-builder install-app-deps && node ./build/downloadDaemon.js && node ./build/downloadLBRYFirst.js",
|
||||||
"postinstall:warning": "echo '\n\nWARNING\n\nNot all node modules were installed because NODE_ENV is set to \"production\".\nThis should only be set after installing dependencies with \"yarn\". The app will not work.\n\n'"
|
"postinstall:warning": "echo '\n\nWARNING\n\nNot all node modules were installed because NODE_ENV is set to \"production\".\nThis should only be set after installing dependencies with \"yarn\". The app will not work.\n\n'"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@electron/remote": "^2.0.1",
|
"@emotion/react": "^11.6.0",
|
||||||
"@emotion/react": "^11.10.4",
|
"@emotion/styled": "^11.6.0",
|
||||||
"@emotion/styled": "^11.10.4",
|
"@mui/material": "^5.6.2",
|
||||||
"@mui/material": "^5.2.1",
|
"@silvermine/videojs-airplay": "^1.1.0",
|
||||||
|
"@silvermine/videojs-chromecast": "^1.3.3",
|
||||||
"@ungap/from-entries": "^0.2.1",
|
"@ungap/from-entries": "^0.2.1",
|
||||||
"auto-launch": "^5.0.5",
|
"auto-launch": "^5.0.5",
|
||||||
"electron-dl": "^3.2.0",
|
"core-js-pure": "^3.19.3",
|
||||||
"electron-log": "^4.4.8",
|
"electron-dl": "^1.11.0",
|
||||||
|
"electron-log": "^2.2.12",
|
||||||
"electron-notarize": "^1.0.0",
|
"electron-notarize": "^1.0.0",
|
||||||
"electron-updater": "^4.2.4",
|
"electron-updater": "^4.2.4",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"ffmpeg-probe": "^1.0.6",
|
|
||||||
"humanize-duration": "^3.27.0",
|
"humanize-duration": "^3.27.0",
|
||||||
|
"if-env": "^1.0.4",
|
||||||
"match-sorter": "^6.3.0",
|
"match-sorter": "^6.3.0",
|
||||||
"mime": "^3.0.0",
|
|
||||||
"node-html-parser": "^5.1.0",
|
|
||||||
"parse-duration": "^1.0.0",
|
"parse-duration": "^1.0.0",
|
||||||
|
"player.js": "^0.1.0",
|
||||||
"proxy-polyfill": "0.1.6",
|
"proxy-polyfill": "0.1.6",
|
||||||
"re-reselect": "^4.0.0",
|
"re-reselect": "^4.0.0",
|
||||||
"react-beautiful-dnd": "^13.1.0",
|
"react-beautiful-dnd": "^13.1.0",
|
||||||
|
"react-color": "^2.19.3",
|
||||||
"react-datetime-picker": "^3.4.3",
|
"react-datetime-picker": "^3.4.3",
|
||||||
|
"react-plastic": "^1.1.1",
|
||||||
|
"react-top-loading-bar": "^2.0.1",
|
||||||
|
"remove-markdown": "^0.3.0",
|
||||||
|
"rss": "^1.2.2",
|
||||||
"source-map-explorer": "^2.5.2",
|
"source-map-explorer": "^2.5.2",
|
||||||
"sudo-prompt": "^9.2.1",
|
"tempy": "^0.6.0",
|
||||||
"tempy": "^0.6.0"
|
"tus-js-client": "^2.3.0",
|
||||||
|
"videojs-contrib-ads": "^6.9.0",
|
||||||
|
"videojs-ima": "^1.11.0",
|
||||||
|
"videojs-ima-player": "^0.5.6",
|
||||||
|
"videojs-logo": "^2.1.4",
|
||||||
|
"videojs-vtt-thumbnails": "https://github.com/OdyseeTeam/videojs-vtt-thumbnails"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.0.0",
|
"@babel/core": "^7.0.0",
|
||||||
|
@ -74,14 +92,14 @@
|
||||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||||
"@babel/plugin-transform-flow-strip-types": "^7.2.3",
|
"@babel/plugin-transform-flow-strip-types": "^7.2.3",
|
||||||
"@babel/plugin-transform-runtime": "^7.4.3",
|
"@babel/plugin-transform-runtime": "^7.4.3",
|
||||||
"@babel/polyfill": "^7.12.1",
|
"@babel/polyfill": "^7.2.5",
|
||||||
"@babel/preset-env": "^7.12.11",
|
"@babel/preset-env": "^7.12.11",
|
||||||
"@babel/preset-flow": "^7.12.1",
|
"@babel/preset-flow": "^7.12.1",
|
||||||
"@babel/preset-react": "^7.0.0",
|
"@babel/preset-react": "^7.0.0",
|
||||||
"@babel/register": "^7.0.0",
|
"@babel/register": "^7.0.0",
|
||||||
"@datapunt/matomo-tracker-js": "^0.1.4",
|
"@exponent/electron-cookies": "^2.0.0",
|
||||||
"@hot-loader/react-dom": "^16.13",
|
"@hot-loader/react-dom": "^16.13",
|
||||||
"@meetfranz/electron-cookies": "^3.0.2",
|
"@reach/auto-id": "^0.13.0",
|
||||||
"@reach/combobox": "^0.12.1",
|
"@reach/combobox": "^0.12.1",
|
||||||
"@reach/menu-button": "0.8.6",
|
"@reach/menu-button": "0.8.6",
|
||||||
"@reach/rect": "^0.16.0",
|
"@reach/rect": "^0.16.0",
|
||||||
|
@ -92,17 +110,21 @@
|
||||||
"@sentry/webpack-plugin": "^1.10.0",
|
"@sentry/webpack-plugin": "^1.10.0",
|
||||||
"@types/three": "^0.103.2",
|
"@types/three": "^0.103.2",
|
||||||
"adm-zip": "^0.4.13",
|
"adm-zip": "^0.4.13",
|
||||||
|
"async-exit-hook": "^2.0.1",
|
||||||
"babel-eslint": "^10.0.1",
|
"babel-eslint": "^10.0.1",
|
||||||
"babel-loader": "^8.0.5",
|
"babel-loader": "^8.0.5",
|
||||||
"babel-plugin-add-module-exports": "^1.0.4",
|
"babel-plugin-add-module-exports": "^1.0.4",
|
||||||
"babel-plugin-import-glob": "^2.0.0",
|
"babel-plugin-import-glob": "^2.0.0",
|
||||||
"babel-plugin-transform-imports": "^1.5.1",
|
"babel-plugin-transform-imports": "^1.5.1",
|
||||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
||||||
|
"bluebird": "^3.5.1",
|
||||||
"chalk": "^4.1.0",
|
"chalk": "^4.1.0",
|
||||||
"classnames": "^2.2.5",
|
"classnames": "^2.2.5",
|
||||||
"codemirror": "^5.39.2",
|
"codemirror": "^5.39.2",
|
||||||
|
"concurrently": "^4.1.2",
|
||||||
"connected-react-router": "^6.8.0",
|
"connected-react-router": "^6.8.0",
|
||||||
"copy-webpack-plugin": "^6.4.1",
|
"copy-webpack-plugin": "^5.1.2",
|
||||||
|
"copyfiles": "^2.4.1",
|
||||||
"country-data": "^0.0.31",
|
"country-data": "^0.0.31",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"crypto-js": "^4.0.0",
|
"crypto-js": "^4.0.0",
|
||||||
|
@ -113,16 +135,17 @@
|
||||||
"decompress": "^4.2.1",
|
"decompress": "^4.2.1",
|
||||||
"del": "^3.0.0",
|
"del": "^3.0.0",
|
||||||
"devtron": "^1.4.0",
|
"devtron": "^1.4.0",
|
||||||
|
"dom-scroll-into-view": "^1.2.1",
|
||||||
"dotenv-defaults": "^2.0.1",
|
"dotenv-defaults": "^2.0.1",
|
||||||
"dotenv-webpack": "^1.8.0",
|
"dotenv-webpack": "^1.8.0",
|
||||||
"electron": "17.2.0",
|
"electron": "9.4.0",
|
||||||
"electron-builder": "^22.10.5",
|
"electron-builder": "^22.9.1",
|
||||||
"electron-devtools-installer": "^3.1.1",
|
"electron-devtools-installer": "^3.1.1",
|
||||||
"electron-is-dev": "^0.3.0",
|
"electron-is-dev": "^0.3.0",
|
||||||
"electron-webpack": "^2.8.2",
|
"electron-webpack": "^2.8.2",
|
||||||
"electron-window-state": "^4.1.1",
|
"electron-window-state": "^4.1.1",
|
||||||
"emoji-dictionary": "^1.0.11",
|
"emoji-dictionary": "^1.0.11",
|
||||||
"eslint": "^5.15.2",
|
"eslint": "^7.5",
|
||||||
"eslint-config-prettier": "^2.9.0",
|
"eslint-config-prettier": "^2.9.0",
|
||||||
"eslint-config-standard": "^12.0.0",
|
"eslint-config-standard": "^12.0.0",
|
||||||
"eslint-config-standard-jsx": "^6.0.2",
|
"eslint-config-standard-jsx": "^6.0.2",
|
||||||
|
@ -138,22 +161,25 @@
|
||||||
"eslint-plugin-standard": "^4.0.1",
|
"eslint-plugin-standard": "^4.0.1",
|
||||||
"file-loader": "^4.2.0",
|
"file-loader": "^4.2.0",
|
||||||
"flow-bin": "^0.97.0",
|
"flow-bin": "^0.97.0",
|
||||||
"flow-typed": "^3.7.0",
|
"flow-typed": "^2.3.0",
|
||||||
"formik": "^0.10.4",
|
"formik": "^0.10.4",
|
||||||
"hast-util-sanitize": "^3.0.2",
|
"hast-util-sanitize": "^3.0.2",
|
||||||
"history": "^4.9.0",
|
"history": "^4.9.0",
|
||||||
"husky": "^3.1.0",
|
"husky": "^3.1.0",
|
||||||
"imagesloaded": "^4.1.4",
|
"imagesloaded": "^4.1.4",
|
||||||
"json-loader": "^0.5.4",
|
"json-loader": "^0.5.4",
|
||||||
|
"lbry-format": "https://github.com/lbryio/lbry-format.git",
|
||||||
"lint-staged": "^7.0.2",
|
"lint-staged": "^7.0.2",
|
||||||
"localforage": "^1.7.1",
|
"localforage": "^1.7.1",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.14",
|
||||||
"mammoth": "^1.4.16",
|
"mammoth": "^1.4.16",
|
||||||
"moment": "^2.29.2",
|
"moment": "^2.22.0",
|
||||||
"node-fetch": "^2.6.7",
|
"node-abi": "^2.5.1",
|
||||||
|
"node-fetch": "^2.6.1",
|
||||||
|
"node-libs-browser": "^2.1.0",
|
||||||
"node-loader": "^0.6.0",
|
"node-loader": "^0.6.0",
|
||||||
"node-wget": "^0.4.3",
|
"node-wget": "^0.4.3",
|
||||||
"nodemon": "^1.19.1",
|
"nodemon": "^2.0.15",
|
||||||
"postcss-import": "^12.0.1",
|
"postcss-import": "^12.0.1",
|
||||||
"postcss-loader": "^3.0.0",
|
"postcss-loader": "^3.0.0",
|
||||||
"postcss-rtl": "^1.7.3",
|
"postcss-rtl": "^1.7.3",
|
||||||
|
@ -165,8 +191,9 @@
|
||||||
"rc-progress": "^2.0.6",
|
"rc-progress": "^2.0.6",
|
||||||
"react": "^16.8.2",
|
"react": "^16.8.2",
|
||||||
"react-awesome-lightbox": "^1.7.3",
|
"react-awesome-lightbox": "^1.7.3",
|
||||||
|
"react-confetti": "^4.0.1",
|
||||||
"react-dom": "^16.8.2",
|
"react-dom": "^16.8.2",
|
||||||
"react-draggable": "^3.3.0",
|
"react-draggable": "^4.4.4",
|
||||||
"react-google-recaptcha": "^2.0.1",
|
"react-google-recaptcha": "^2.0.1",
|
||||||
"react-hot-loader": "^4.11.1",
|
"react-hot-loader": "^4.11.1",
|
||||||
"react-modal": "^3.1.7",
|
"react-modal": "^3.1.7",
|
||||||
|
@ -175,6 +202,7 @@
|
||||||
"react-router": "^5.1.0",
|
"react-router": "^5.1.0",
|
||||||
"react-router-dom": "^5.1.0",
|
"react-router-dom": "^5.1.0",
|
||||||
"react-simplemde-editor": "^4.1.3",
|
"react-simplemde-editor": "^4.1.3",
|
||||||
|
"react-spring": "^8.0.20",
|
||||||
"reakit": "^1.0.0-beta.13",
|
"reakit": "^1.0.0-beta.13",
|
||||||
"redux": "^3.6.0",
|
"redux": "^3.6.0",
|
||||||
"redux-persist": "^5.10.0",
|
"redux-persist": "^5.10.0",
|
||||||
|
@ -191,17 +219,23 @@
|
||||||
"sass": "^1.29.0",
|
"sass": "^1.29.0",
|
||||||
"sass-loader": "^7.1.0",
|
"sass-loader": "^7.1.0",
|
||||||
"semver": "^5.3.0",
|
"semver": "^5.3.0",
|
||||||
|
"stream-to-blob-url": "^2.1.1",
|
||||||
"strip-markdown": "^3.0.3",
|
"strip-markdown": "^3.0.3",
|
||||||
"style-loader": "^0.23.1",
|
"style-loader": "^0.23.1",
|
||||||
"terser-webpack-plugin": "^4.2.3",
|
"terser-webpack-plugin": "^1.2.3",
|
||||||
"three-full": "^28.0.2",
|
"three": "^0.125.0",
|
||||||
|
"three-full": "^17.1.0",
|
||||||
|
"tiny-relative-date": "^1.3.0",
|
||||||
|
"tree-kill": "^1.1.0",
|
||||||
"unist-util-visit": "^2.0.3",
|
"unist-util-visit": "^2.0.3",
|
||||||
"uuid": "^8.3.2",
|
"uuid": "^8.3.2",
|
||||||
"video.js": "^7.14.3",
|
"vast-client": "^3.1.1",
|
||||||
|
"video.js": "^7.19.2",
|
||||||
"videojs-contrib-quality-levels": "^2.0.9",
|
"videojs-contrib-quality-levels": "^2.0.9",
|
||||||
"videojs-event-tracking": "^1.0.1",
|
"videojs-event-tracking": "^1.0.1",
|
||||||
"villain-react": "^1.0.9",
|
"villain-react": "^1.0.9",
|
||||||
"webpack": "^4.44.2",
|
"wavesurfer.js": "^2.2.1",
|
||||||
|
"webpack": "^4.28.4",
|
||||||
"webpack-bundle-analyzer": "^3.1.0",
|
"webpack-bundle-analyzer": "^3.1.0",
|
||||||
"webpack-cli": "^3.3.10",
|
"webpack-cli": "^3.3.10",
|
||||||
"webpack-config-utils": "^2.3.1",
|
"webpack-config-utils": "^2.3.1",
|
||||||
|
@ -210,17 +244,26 @@
|
||||||
"webpack-hot-middleware": "^2.24.3",
|
"webpack-hot-middleware": "^2.24.3",
|
||||||
"webpack-merge": "^4.2.1",
|
"webpack-merge": "^4.2.1",
|
||||||
"webpack-node-externals": "^1.7.2",
|
"webpack-node-externals": "^1.7.2",
|
||||||
|
"y18n": "^4.0.1",
|
||||||
"yarnhook": "^0.2.0"
|
"yarnhook": "^0.2.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.13",
|
"node": ">=7",
|
||||||
"yarn": "^1.3"
|
"yarn": "^1.3"
|
||||||
},
|
},
|
||||||
|
"husky": {
|
||||||
|
"hooks": {
|
||||||
|
"pre-commit": "lint-staged"
|
||||||
|
}
|
||||||
|
},
|
||||||
"lbrySettings": {
|
"lbrySettings": {
|
||||||
"lbrynetDaemonVersion": "0.113.0",
|
"lbrynetDaemonVersion": "0.99.0",
|
||||||
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip",
|
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip",
|
||||||
"lbrynetDaemonDir": "static/daemon",
|
"lbrynetDaemonDir": "static/daemon",
|
||||||
"lbrynetDaemonFileName": "lbrynet"
|
"lbrynetDaemonFileName": "lbrynet",
|
||||||
},
|
"LBRYFirstVersion": "0.0.20",
|
||||||
"packageManager": "yarn@3.2.0"
|
"LBRYFirstUrlTemplate": "https://github.com/lbryio/lbry-first/releases/download/vLBRYFIRSTVER/lbry-first_OSNAME_amd64.zip",
|
||||||
|
"LBRYFirstDir": "static/lbry-first",
|
||||||
|
"LBRYFirstFileName": "lbry-first"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,3 +0,0 @@
|
||||||
owner: lbryio
|
|
||||||
repo: lbry-desktop
|
|
||||||
provider: github
|
|
71
static/img/cookie.svg
Normal file
71
static/img/cookie.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 30 KiB |
Binary file not shown.
Before Width: | Height: | Size: 13 KiB |
|
@ -1,102 +0,0 @@
|
||||||
<svg width="2859" height="3858" viewBox="0 0 2859 3858" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path opacity="0.997" d="M229.331 2573.92C227.658 2571.29 287.004 2544.38 324.218 2448.2C337.11 2414.69 347.357 2369.08 337.943 2323.16C334.776 2307.96 329.583 2292.41 320.457 2279.96C313.372 2270.39 303.743 2262.04 292.932 2259.23C281.648 2255.61 267.954 2257.93 254.626 2263.16C231.995 2270.93 211.286 2285.24 190.078 2302.35C167.021 2283.54 134.978 2268.82 104.768 2273.7C81.902 2276.54 60.511 2295.24 49.4462 2318.86C3.74465 2410.06 71.315 2519.88 150.29 2625.09C150.29 2625.09 150.29 2625.09 150.29 2625.09C230.276 2725.89 340.979 2812.76 472.956 2860.92C580.106 2900.19 698.127 2914.49 816.398 2905.34C858.558 2901.63 900.297 2891.12 931.227 2867C941.601 2859.12 950.867 2849.65 958.548 2839.11C967.767 2826.46 974.702 2812.27 978.534 2797.4C985.145 2772.44 984.014 2745.1 975.509 2720.73V2720.73C967.343 2698.01 953.089 2677.33 934.061 2665.58C910.149 2650.23 881.933 2641.07 853.199 2637.76C819.885 2634.11 785.627 2639.42 757.021 2654.45C719.662 2673.22 691.325 2709.24 671.796 2748.4C639.342 2814.04 629.429 2890.35 625.585 2963.42C620.787 3054.16 660.729 3141.58 719.642 3201.36C770.676 3252.96 831.322 3289.74 893.723 3308.69C908.697 3313.56 926.857 3313.53 945.412 3314.04C973.343 3314.51 1002.22 3313.39 1029.19 3312.46C1112.71 3309.54 1178.34 3307.56 1247.24 3311.4C1252.48 3312.55 1259.26 3308.03 1265.44 3302.94C1274.49 3294.73 1281.43 3283.17 1287.71 3271.73C1306.29 3237.38 1318.13 3197.66 1326.75 3167.88C1349.83 3064.98 1363.32 3012.13 1366.36 3012.73C1369.41 3013.33 1361.94 3067.36 1344.36 3171.88C1344.36 3171.88 1344.36 3171.88 1344.36 3171.88C1337.33 3202.62 1327.04 3243.92 1308.44 3282.33C1302.39 3294.99 1294.5 3308.84 1282.76 3320.8C1274.53 3329.67 1261.97 3337.01 1246.23 3337.34C1178.13 3335.81 1114.64 3339.62 1030.69 3344.52C1003.79 3346.11 974.453 3347.89 945.212 3348.03C926.769 3348.32 905.587 3348.33 883.825 3342.43C815.106 3322.91 748.321 3284.25 692.192 3228.84C625.184 3162.88 579.614 3066.05 583.303 2961.59C585.929 2885.84 596.46 2803.96 631.931 2729.13C653.524 2683.25 688.026 2640.3 736.117 2614.43C773.614 2594.93 816.524 2587.77 858.202 2592.39C893.307 2596.11 928.083 2607.44 958.736 2626.81C987.785 2645.66 1008.37 2674.19 1019.07 2705.51V2705.51C1030.67 2738.69 1032.2 2775.02 1023.26 2809.17C1017.73 2829.86 1008.36 2849.2 995.965 2866.3C985.637 2880.55 973.211 2893.24 959.166 2903.86C917.766 2934.55 867.899 2948.06 819.932 2951.28C695.515 2960.79 571.075 2945 457.507 2902.73C317.198 2850.29 201.177 2757.52 118.223 2650.2V2650.2C32.6442 2545.24 -32.8981 2417.48 17.6801 2303.93C33.4423 2270.48 64.451 2246.14 100.199 2240.83C136.634 2236.45 169.491 2255.33 190.178 2280.49C205.009 2262.04 222.599 2245.98 243.989 2236.31C261.83 2229.19 281.993 2227.28 301.035 2233.04C318.973 2239.12 332.793 2251.36 341.852 2265.2C353.144 2282.35 358.941 2301.28 361.69 2318.87C370.075 2371.61 356.822 2420.33 340.993 2455.25C291.994 2563.91 225.032 2567.17 229.331 2573.92V2573.92Z" fill="black"/>
|
|
||||||
<path d="M1160.62 2299.49C1160.62 2299.49 1166.66 2341.8 1118.3 2468.75C1069.94 2595.69 1066.92 2885.85 1042.74 2949.32C1018.56 3012.79 885.57 3224.37 915.795 3411.76C946.02 3599.15 1094.12 3865.13 1275.47 3798.64C1456.82 3732.14 1420.55 3744.23 1420.55 3744.23C1420.55 3744.23 1946.46 3859.09 2294.05 3659.6C2372.63 3695.87 2420.99 3726.1 2538.87 3656.58C2656.74 3587.06 2717.19 3396.65 2714.17 3266.68C2711.15 3136.71 2523.75 2852.6 2502.6 2792.15C2481.44 2731.7 2402.85 2435.5 2363.56 2311.58C2324.27 2187.66 2354.5 2166.5 2354.5 2166.5L1160.62 2299.49Z" fill="#DE5700" stroke="black" stroke-width="46.0804"/>
|
|
||||||
<path d="M2798.72 15.367C2698.4 16.4866 2391.12 184.492 2306.37 277.783C2219.35 373.579 2165.64 521.033 2148.97 571.513C2050.88 508.595 1907.17 507.155 1907.17 507.155C1907.17 507.155 1991.8 479.955 2082.48 455.775C1925.31 401.371 1722.8 449.727 1722.8 449.727C1722.8 449.727 1813.47 349.989 1895.08 277.45C1768.13 310.697 1620.04 383.233 1529.36 437.638C1553.54 401.368 1595.86 362.076 1680.49 244.199C1447.75 301.626 1160.61 528.318 1060.87 612.947C1072.96 537.385 1103.19 489.025 1139.46 404.395C1002.07 499.513 937.628 607.905 907.715 681.853C876.541 624.261 794.11 483.695 690.543 400.173C558.035 293.312 45.0981 126.611 113.489 254.844C181.88 383.077 164.781 558.322 207.525 827.611C250.27 1096.9 634.972 1250.78 634.972 1250.78C637.191 1249.99 639.395 1249.09 641.592 1248.17C619.011 1319.85 598.866 1424.54 583.679 1597.01C511.014 1706.01 478.959 1727.38 470.41 1767.99C540.938 1733.8 575.13 1708.15 626.423 1695.32C581.542 1770.13 579.407 1872.71 598.642 2035.14C634.974 1943.24 632.832 1945.37 671.302 1917.59C681.988 2026.59 705.503 2086.43 733.287 2120.63C743.973 2060.78 776.031 2037.28 776.031 2037.28C776.031 2037.28 797.404 2167.65 859.383 2257.41C872.206 2178.34 887.165 2165.51 887.165 2165.51C887.165 2165.51 1135.08 2490.37 1767.7 2456.17C2400.31 2421.98 2579.84 1985.98 2579.84 1985.98C2579.84 1985.98 2592.66 2041.56 2592.66 2062.93C2639.68 1994.54 2669.6 1853.48 2669.6 1853.48C2669.6 1853.48 2703.8 1934.69 2695.25 1985.98C2733.72 1921.86 2742.26 1763.72 2725.17 1691.05C2785.01 1755.17 2836.31 1776.54 2836.31 1776.54C2836.31 1776.54 2703.79 1545.72 2699.52 1507.25C2695.25 1468.78 2793.56 1562.81 2793.56 1562.81C2793.56 1562.81 2731.97 1460.26 2716.62 1432.45C2659.41 1328.78 2605.12 1139.43 2528.87 1011.72C2592.86 970.123 2850.88 788.773 2843.33 573.68C2834.72 328.21 2786.46 176.103 2827.99 51.0384C2836.43 25.6346 2824.3 15.0816 2798.72 15.367V15.367Z" fill="#DE5700"/>
|
|
||||||
<path d="M1160.62 2299.49C1160.62 2299.49 1166.66 2341.8 1118.3 2468.75C1069.94 2595.69 1066.92 2885.85 1042.74 2949.32C1018.56 3012.79 885.57 3224.37 915.795 3411.76C946.02 3599.15 1094.12 3865.13 1275.47 3798.64C1456.82 3732.14 1420.55 3744.23 1420.55 3744.23C1420.55 3744.23 1946.46 3859.09 2294.05 3659.6C2372.63 3695.87 2420.99 3726.1 2538.87 3656.58C2656.74 3587.06 2717.19 3396.65 2714.17 3266.68C2711.15 3136.71 2523.75 2852.6 2502.6 2792.15C2481.44 2731.7 2402.85 2435.5 2363.56 2311.58C2324.27 2187.66 2354.5 2166.5 2354.5 2166.5L1160.62 2299.49Z" fill="#DE5700"/>
|
|
||||||
<path d="M1940.31 2212.63L1557.07 2255.32C1406.21 2289.92 1288.96 2332.21 1288.96 2332.21C1288.96 2332.21 1220.57 2746.83 1233.39 2862.24C1246.22 2977.65 1173.55 3152.9 1212.02 3328.15C1245.61 3481.2 1311.83 3644.02 1558.64 3765.38C1710.04 3782.34 1960.24 3792 2176.82 3713.48C2280.67 3629.51 2354.73 3520.47 2383.21 3435.02C2447.33 3242.67 2370.39 2909.27 2340.47 2840.87C2310.55 2772.48 2344.75 2558.76 2178.04 2315.11C2132.1 2247.96 2043.91 2219.17 1940.31 2212.63Z" fill="#F7EDE9"/>
|
|
||||||
<path opacity="0.6" d="M2798.72 15.367C2698.4 16.4866 2391.12 184.492 2306.37 277.783C2219.35 373.579 2165.64 521.033 2148.97 571.513C2050.88 508.595 1907.17 507.155 1907.17 507.155C1907.17 507.155 1991.8 479.955 2082.48 455.775C1925.31 401.371 1722.8 449.727 1722.8 449.727C1722.8 449.727 1813.47 349.989 1895.08 277.45C1768.13 310.697 1620.04 383.233 1529.36 437.638C1553.54 401.368 1595.86 362.076 1680.49 244.199C1447.75 301.626 1160.61 528.318 1060.87 612.947C1072.96 537.385 1103.19 489.025 1139.46 404.395C1002.07 499.513 937.628 607.905 907.715 681.853C876.541 624.261 794.11 483.695 690.543 400.173C558.035 293.312 45.0981 126.611 113.489 254.844C181.88 383.077 164.781 558.322 207.525 827.611C250.27 1096.9 634.972 1250.78 634.972 1250.78C637.191 1249.99 639.395 1249.09 641.592 1248.17C619.011 1319.85 598.866 1424.54 583.679 1597.01C511.014 1706.01 478.959 1727.38 470.41 1767.99C540.938 1733.8 575.13 1708.15 626.423 1695.32C581.542 1770.13 579.407 1872.71 598.642 2035.14C634.974 1943.24 632.832 1945.37 671.302 1917.59C681.988 2026.59 705.503 2086.43 733.287 2120.63C743.973 2060.78 776.031 2037.28 776.031 2037.28C776.031 2037.28 797.404 2167.65 859.383 2257.41C872.206 2178.34 887.165 2165.51 887.165 2165.51C887.165 2165.51 1135.08 2490.37 1767.7 2456.17C2400.31 2421.98 2579.84 1985.98 2579.84 1985.98C2579.84 1985.98 2592.66 2041.56 2592.66 2062.93C2639.68 1994.54 2669.6 1853.48 2669.6 1853.48C2669.6 1853.48 2703.8 1934.69 2695.25 1985.98C2733.72 1921.86 2742.26 1763.72 2725.17 1691.05C2785.01 1755.17 2836.31 1776.54 2836.31 1776.54C2836.31 1776.54 2703.79 1545.72 2699.52 1507.25C2695.25 1468.78 2793.56 1562.81 2793.56 1562.81C2793.56 1562.81 2731.97 1460.26 2716.62 1432.45C2659.41 1328.78 2605.12 1139.43 2528.87 1011.72C2592.86 970.123 2850.88 788.773 2843.33 573.68C2834.72 328.21 2786.46 176.103 2827.99 51.0384C2836.43 25.6346 2824.3 15.0816 2798.72 15.367V15.367Z" fill="url(#paint0_radial_2_3)"/>
|
|
||||||
<path d="M1785.69 1777.75C1684.07 1778.04 1631.38 1822.48 1594.58 1842.79C1435.61 2029.15 1115.77 1926.47 942.736 2050.1C912.815 2071.47 871.139 2186.88 871.139 2186.88L873.322 2195.17C881.063 2170.83 887.165 2165.51 887.165 2165.51C887.165 2165.51 1135.08 2490.37 1767.7 2456.17C2277.77 2428.6 2493.17 2139.93 2557.52 2029.09C2551.52 1973.12 2534.07 1898.88 2483.67 1896.22C2402.45 1891.95 2066.9 1864.16 1964.32 1808.59C1922.64 1786.02 1855.22 1777.56 1785.69 1777.75V1777.75Z" fill="#F7EDE9"/>
|
|
||||||
<path opacity="0.993" d="M1961.57 1985.15C1963.63 1987.09 1933.18 2033.96 1856.33 2063.83V2063.83C1839.85 2070.21 1822.61 2075.45 1804.72 2079.62C1766.98 2088.41 1729.87 2091.61 1698.49 2092.27C1674.97 2092.78 1655.68 2091.74 1642.07 2090.22C1634.99 2089.43 1629.58 2088.53 1625.85 2087.62C1623.95 2087.15 1622.51 2086.68 1621.54 2086.24C1621.04 2086.01 1620.67 2085.78 1620.42 2085.57C1620.15 2085.33 1620.02 2085.11 1620.03 2084.89C1620.05 2084.67 1620.2 2084.47 1620.49 2084.27C1620.76 2084.08 1621.15 2083.91 1621.67 2083.73C1622.67 2083.4 1624.14 2083.08 1626.06 2082.78C1629.77 2082.2 1635.24 2081.66 1642.21 2081.09C1655.61 2079.99 1674.74 2078.77 1697.58 2076.59C1728.3 2073.63 1764.16 2069.35 1800.38 2060.94C1817.57 2056.95 1834.05 2052.22 1849.95 2046.59C1918.62 2022.43 1958.6 1982.34 1961.57 1985.15V1985.15Z" fill="black"/>
|
|
||||||
<path d="M1934.67 1959.27C1935.77 1956.91 1954.37 1960.97 1967.17 1981.57C1979.98 2002.16 1975.41 2020.64 1972.82 2020.59C1970 2020.53 1967.84 2002.79 1958.14 1987.19C1948.44 1971.58 1933.47 1961.83 1934.67 1959.27V1959.27Z" fill="black"/>
|
|
||||||
<path d="M1263.38 1639.08C1266.22 1756.73 1183.41 1844.17 1098.66 1852.16C951.388 1866.04 891.515 1767.76 901.935 1653.12C912.302 1539.07 1011.03 1433.96 1109.23 1430.52C1193.46 1427.58 1260.47 1518.48 1263.38 1639.08Z" fill="black"/>
|
|
||||||
<g filter="url(#filter0_f_2_3)">
|
|
||||||
<path d="M1109.1 1636.63C1138.87 1598.95 1137.08 1543.74 1105.1 1513.3C1073.11 1482.87 1023.06 1488.73 993.289 1526.41C963.521 1564.08 965.315 1619.29 997.297 1649.73C1029.28 1680.17 1079.34 1674.3 1109.1 1636.63Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M1109.1 1636.63C1138.87 1598.95 1137.08 1543.74 1105.1 1513.3C1073.11 1482.87 1023.06 1488.73 993.289 1526.41C963.521 1564.08 965.315 1619.29 997.297 1649.73C1029.28 1680.17 1079.34 1674.3 1109.1 1636.63Z" fill="#DEDEDE"/>
|
|
||||||
<g filter="url(#filter1_f_2_3)">
|
|
||||||
<path d="M1220.38 1725.27C1218.97 1703.96 1200.95 1686.44 1180.12 1686.13C1159.3 1685.82 1143.56 1702.84 1144.97 1724.14C1146.37 1745.45 1164.4 1762.98 1185.22 1763.29C1206.05 1763.6 1221.79 1746.58 1220.38 1725.27Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M1217.34 1725.22C1216.05 1705.95 1199.48 1690.11 1180.33 1689.83C1161.18 1689.54 1146.71 1704.93 1148.01 1724.2C1149.3 1743.46 1165.87 1759.31 1185.02 1759.59C1204.17 1759.87 1218.64 1744.48 1217.34 1725.22Z" fill="#DEDEDE"/>
|
|
||||||
<path d="M2111.74 1483.68C2108.91 1601.33 2191.71 1688.77 2276.47 1696.76C2423.74 1710.64 2483.61 1612.36 2473.19 1497.72C2462.82 1383.67 2364.09 1278.56 2265.89 1275.13C2181.66 1272.18 2114.65 1363.09 2111.74 1483.68Z" fill="black"/>
|
|
||||||
<g filter="url(#filter2_f_2_3)">
|
|
||||||
<path d="M2266.02 1481.23C2236.25 1443.55 2238.05 1388.34 2270.03 1357.9C2302.01 1327.47 2352.07 1333.34 2381.83 1371.01C2411.6 1408.68 2409.81 1463.9 2377.83 1494.33C2345.85 1524.77 2295.79 1518.9 2266.02 1481.23Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M2266.02 1481.23C2236.25 1443.55 2238.05 1388.34 2270.03 1357.9C2302.01 1327.47 2352.07 1333.34 2381.83 1371.01C2411.6 1408.68 2409.81 1463.9 2377.83 1494.33C2345.85 1524.77 2295.79 1518.9 2266.02 1481.23Z" fill="#DEDEDE"/>
|
|
||||||
<g filter="url(#filter3_f_2_3)">
|
|
||||||
<path d="M2154.74 1569.87C2156.15 1548.56 2174.17 1531.04 2195 1530.73C2215.82 1530.42 2231.57 1547.44 2230.16 1568.75C2228.75 1590.05 2210.72 1607.58 2189.9 1607.89C2169.07 1608.2 2153.33 1591.18 2154.74 1569.87Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M2157.78 1569.82C2159.08 1550.55 2175.65 1534.71 2194.79 1534.43C2213.94 1534.15 2228.41 1549.53 2227.12 1568.8C2225.82 1588.06 2209.25 1603.91 2190.1 1604.19C2170.96 1604.47 2156.49 1589.08 2157.78 1569.82Z" fill="#DEDEDE"/>
|
|
||||||
<path d="M1662.35 1829.49C1645.46 1787.85 1850.52 1752.32 1854.28 1791.71C1858.37 1834.59 1804.4 1912.61 1777.2 1917.14C1750 1921.68 1680.39 1873.96 1662.35 1829.49V1829.49Z" fill="black"/>
|
|
||||||
<g opacity="0.8">
|
|
||||||
<g filter="url(#filter4_f_2_3)">
|
|
||||||
<path d="M1786.9 1793.91C1788.82 1786.22 1801.15 1781.29 1814.44 1782.91C1827.74 1784.53 1836.97 1792.08 1835.05 1799.77C1833.13 1807.46 1820.8 1812.39 1807.51 1810.77C1794.21 1809.15 1784.99 1801.61 1786.9 1793.91Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M1788.84 1794.15C1790.59 1787.19 1801.91 1782.76 1814.14 1784.25C1826.36 1785.74 1834.85 1792.58 1833.11 1799.54C1831.36 1806.49 1820.04 1810.92 1807.81 1809.43C1795.59 1807.94 1787.1 1801.1 1788.84 1794.15Z" fill="#DEDEDE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M2741.41 163.935C2735.43 163.644 2728.58 173.489 2718.76 194.994C2673.88 293.306 2462.29 385.213 2381.08 483.525C2299.87 581.837 2284.9 697.243 2374.67 851.122C2421.52 931.442 2482.9 980.277 2532.12 1009.56C2600.59 964.628 2850.77 785.686 2843.33 573.68C2841.17 511.985 2836.51 456.205 2831.39 405.253C2769.94 259.579 2759.63 164.818 2741.41 163.935V163.935Z" fill="url(#paint1_radial_2_3)"/>
|
|
||||||
<path d="M181.665 291.229C163.173 289.362 174.995 366.697 171.814 505.727C180.547 595.591 187.448 701.123 207.525 827.611C246.788 1074.97 573.781 1224.58 626.915 1247.37C670.403 1199.53 739.457 1106.83 766.704 960.629C806.777 745.606 754.64 615.556 641.83 530.754C529.019 445.951 288.043 418.155 211.526 319.567C197.179 301.081 187.769 291.846 181.665 291.229V291.229Z" fill="url(#paint2_radial_2_3)"/>
|
|
||||||
<path d="M2798.72 15.367C2698.4 16.4866 2391.12 184.492 2306.37 277.783C2219.35 373.579 2165.64 521.033 2148.97 571.513C2050.88 508.595 1907.17 507.155 1907.17 507.155C1907.17 507.155 1991.8 479.955 2082.48 455.775C1925.31 401.371 1722.8 449.727 1722.8 449.727C1722.8 449.727 1813.47 349.989 1895.08 277.45C1768.13 310.697 1620.04 383.233 1529.36 437.638C1553.54 401.368 1595.86 362.076 1680.49 244.199C1447.75 301.626 1160.61 528.318 1060.87 612.947C1072.96 537.385 1103.19 489.025 1139.46 404.395C1002.07 499.513 937.628 607.905 907.715 681.853C876.541 624.261 794.11 483.695 690.543 400.173C558.035 293.312 45.0981 126.611 113.489 254.844C181.88 383.077 164.781 558.322 207.525 827.611C250.27 1096.9 634.972 1250.78 634.972 1250.78C637.191 1249.99 639.395 1249.09 641.592 1248.17C619.011 1319.85 598.866 1424.54 583.679 1597.01C511.014 1706.01 478.959 1727.38 470.41 1767.99C540.938 1733.8 575.13 1708.15 626.423 1695.32C581.542 1770.13 579.407 1872.71 598.642 2035.14C634.974 1943.24 632.832 1945.37 671.302 1917.59C681.988 2026.59 705.503 2086.43 733.287 2120.63C743.973 2060.78 776.031 2037.28 776.031 2037.28C776.031 2037.28 797.404 2167.65 859.383 2257.41C872.206 2178.34 887.165 2165.51 887.165 2165.51C887.165 2165.51 1135.08 2490.37 1767.7 2456.17C2400.31 2421.98 2579.84 1985.98 2579.84 1985.98C2579.84 1985.98 2592.66 2041.56 2592.66 2062.93C2639.68 1994.54 2669.6 1853.48 2669.6 1853.48C2669.6 1853.48 2703.8 1934.69 2695.25 1985.98C2733.72 1921.86 2742.26 1763.72 2725.17 1691.05C2785.01 1755.17 2836.31 1776.54 2836.31 1776.54C2836.31 1776.54 2703.79 1545.72 2699.52 1507.25C2695.25 1468.78 2793.56 1562.81 2793.56 1562.81C2793.56 1562.81 2731.97 1460.26 2716.62 1432.45C2659.41 1328.78 2605.12 1139.43 2528.87 1011.72C2592.86 970.123 2850.88 788.773 2843.33 573.68C2834.72 328.21 2786.46 176.103 2827.99 51.0384C2836.43 25.6346 2824.3 15.0816 2798.72 15.367V15.367Z" stroke="black" stroke-width="30.7203" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M1166.07 3775.9C1091.27 3651.94 1054.81 3567.11 1049.59 3511.42C1044.78 3460.13 1038.37 3398.15 1075.24 3428.61C1085.92 3383.72 1083.79 3358.08 1111.57 3370.9C1139.36 3383.72 1158.59 3411.51 1158.59 3411.51C1158.59 3411.51 1154.32 3347.39 1182.1 3368.76C1233.19 3399.52 1324.44 3688.35 1313.81 3770.16C1302.14 3860.06 1231.96 3879.6 1166.07 3775.9V3775.9Z" fill="url(#paint3_linear_2_3)" stroke="black" stroke-width="23.0402"/>
|
|
||||||
<path d="M2556.53 3668.47C2609.53 3533.74 2631.28 3444 2627.1 3388.22C2623.26 3336.85 2619.21 3274.67 2587.96 3310.87C2569.91 3268.41 2567.73 3242.76 2542.48 3260.06C2517.23 3277.35 2502.92 3307.96 2502.92 3307.96C2502.92 3307.96 2496.4 3244.03 2472.59 3269.75C2427.37 3308.62 2385.74 3608.66 2409.91 3687.53C2436.47 3774.21 2508.93 3781.73 2556.53 3668.47V3668.47Z" fill="url(#paint4_linear_2_3)" stroke="black" stroke-width="23.0402"/>
|
|
||||||
<path d="M1562.1 3063.57C1524.1 3059.67 1486.65 3074.05 1455.28 3094.55C1440.72 3104.25 1426.76 3115.03 1414.48 3127.52C1438.67 3156.34 1465.72 3183.02 1496.29 3205.05C1502.66 3208.89 1510.78 3214.39 1518.34 3210.58C1525.16 3205.3 1523.61 3195.64 1524.22 3188.07C1530.46 3197.06 1541.83 3202.2 1552.66 3201.65C1562.44 3199.92 1561.73 3187.56 1560.44 3180.1C1559.69 3173.07 1556.6 3166.42 1556.17 3159.41C1562.43 3160.56 1568.02 3169.72 1575.98 3167.49C1584.76 3164.88 1580.38 3153.58 1580.28 3146.94C1575.9 3118.83 1568.65 3091.24 1562.1 3063.57V3063.57Z" fill="url(#paint5_linear_2_3)"/>
|
|
||||||
<path d="M2302.03 3008.83C2271.36 3023.52 2235.53 3023.15 2203.06 3015.16C2175.5 3008.19 2149 2996.64 2125.3 2980.94C2128.65 3015.23 2131.75 3049.73 2139.6 3083.34C2140.74 3090.5 2145.31 3102 2154.43 3096.05C2163.06 3091.33 2167.94 3082.23 2175.33 3076.17C2175.86 3081.7 2172.59 3088.04 2172.97 3094.1C2172.43 3103.97 2175.25 3117.51 2186.59 3119.85C2200.16 3121.29 2212.08 3112.19 2221.11 3103.04C2227.36 3097.53 2223.84 3112.39 2227.54 3115.27C2229.88 3123.69 2240.07 3132.21 2248.05 3124.67C2257.97 3116 2262.87 3103.26 2269.34 3092.1C2283.08 3065.57 2293.72 3037.5 2302.03 3008.83V3008.83Z" fill="url(#paint6_linear_2_3)"/>
|
|
||||||
<path d="M1517.64 2663.48C1517.64 2663.48 1517.64 2663.48 1517.67 2663.48C1520.97 2664.02 1526.42 2740.85 1532.65 2874.63C1534.91 2900.48 1540.5 2925.66 1547.39 2954.9C1554.58 2985.32 1562.49 3014.75 1571.38 3047.9C1578.08 3072.85 1585.59 3099.84 1591.55 3126.74C1593.42 3135.07 1595.31 3143.95 1596.25 3153.37C1596.57 3156.1 1596.76 3159.46 1596.39 3163.39C1597.28 3165.14 1595.58 3169.34 1590.43 3175.07V3175.07C1580.39 3180.9 1569.4 3179.92 1561.47 3173.37V3173.37C1559.01 3171.29 1557.89 3169.89 1557.57 3169.88C1559.13 3171.17 1561.37 3170.83 1565.41 3169.42H1565.41C1567.06 3167.09 1567.82 3166.38 1567.48 3165.67C1567.51 3167 1568.74 3169.46 1569.97 3173.33V3173.33C1574.02 3183.37 1572.31 3196.44 1561.97 3206.72V3206.72C1550.18 3212.97 1538.44 3211.07 1531.04 3204.36V3204.36C1528.22 3202.07 1526.49 3200.26 1525.34 3199.66H1525.34C1524.94 3200.04 1525.8 3199.59 1528.79 3199.47V3199.47C1531.49 3196.56 1532.68 3197.17 1530.81 3199.19C1530.12 3201.61 1529.26 3205.67 1526.9 3210.83C1526.22 3212.23 1525.38 3213.53 1524.39 3214.71C1520.87 3218.89 1515.47 3221.56 1508.72 3222C1497.43 3220.63 1489.74 3215.57 1485.08 3211.33C1426.38 3166.73 1381.27 3109.36 1347.87 3050.36C1312.57 2987.93 1289.97 2924.54 1275.1 2870.05C1253.47 2738.94 1243.01 2664.06 1246.21 2663.48C1249.41 2662.9 1265.97 2736.63 1291.73 2866.13V2866.13C1308.09 2918.97 1331.53 2980.15 1366.49 3039.63C1399.64 3096.09 1443.21 3150.79 1498.89 3192.79C1504.65 3196.18 1508.06 3199.72 1509.67 3198.89C1507.79 3199.52 1506.9 3199.67 1506.47 3200.08C1506.35 3200.2 1506.26 3200.33 1506.2 3200.5C1506.94 3199.44 1507.34 3196.53 1508.73 3192.3C1508.67 3188.65 1512.14 3183.04 1520.37 3177.93V3177.93C1527.93 3176.03 1533.99 3177.15 1537.72 3180.15H1537.72C1541.56 3182.71 1544.07 3185.1 1545.79 3186.59V3186.59C1547.9 3187.76 1550.06 3189.47 1548.1 3188.32H1548.1C1549.88 3189.46 1549.02 3184.96 1548.23 3180.69C1547.29 3178.15 1545.76 3174.34 1544.81 3168.99C1543.68 3162.9 1546.08 3156.29 1552.14 3150.81V3150.81C1559.11 3147.32 1565.42 3147.49 1569.99 3150.72V3150.72C1573.53 3153.21 1575.53 3155.29 1576.51 3156.24C1576.77 3156.9 1578.18 3157.59 1576.82 3156.92C1573.94 3160.94 1572.68 3161.93 1573.89 3160.86C1574.1 3159.67 1573.92 3157.84 1573.76 3155.45C1573.11 3147.76 1571.43 3139.75 1569.7 3131.46C1564.19 3105.34 1557.05 3078.42 1550.71 3053.27C1542.36 3020.15 1534.87 2989.98 1528.34 2959.17C1522.03 2929.53 1516.99 2902.93 1515.44 2875.5C1513.55 2741.07 1514.34 2664.11 1517.6 2663.48C1517.63 2663.47 1517.63 2663.48 1517.63 2663.48L1517.64 2663.48Z" fill="black"/>
|
|
||||||
<path d="M2054.36 2616.63C2054.36 2616.63 2054.36 2616.63 2054.39 2616.62C2056.19 2615.89 2070.04 2637.19 2094.89 2678.94C2109.22 2707.44 2132.01 2758.35 2129.26 2813.73C2126.35 2866.49 2129.91 2919.11 2136.27 2983.73C2138.7 3008.27 2141.56 3033.66 2145.95 3058.66C2147.37 3066.7 2148.83 3074.55 2150.94 3081.92C2153.48 3086.92 2152.68 3089.64 2151.85 3087.1V3087.1C2150.35 3086.42 2149.64 3086.43 2147.76 3086.96C2148.59 3086.81 2149.83 3084.69 2152.36 3081.82C2154.18 3079.26 2156.95 3075.55 2161.56 3071.71V3071.71C2167.24 3067.27 2175.05 3066.8 2183.03 3071.14V3071.14C2189.11 3077.02 2191.46 3083.31 2190.86 3088.36C2190.8 3093.49 2190.09 3097.39 2189.91 3100.1C2189.14 3103.56 2191.72 3107.99 2194.93 3108.22C2193.44 3110.41 2195.34 3107.08 2199.65 3103.9C2200.36 3103.37 2201.14 3102.85 2201.98 3102.36C2204.18 3100.03 2207.36 3096.8 2212.18 3093.66V3093.66C2217.35 3090.16 2224.54 3089.74 2232.22 3093.32V3093.32C2239.64 3099.62 2242.27 3105.64 2242.32 3108.84V3108.84C2243.94 3113.56 2244.7 3117.24 2245.92 3119.33H2245.92C2246.6 3118.44 2244.84 3119 2239.24 3117.9C2240.48 3118.95 2242.2 3113.83 2247.17 3108.21C2313.25 3000.93 2319.46 2871.49 2314.9 2781.07C2297.57 2668.78 2289.5 2605.08 2292.54 2604.55C2295.58 2604.02 2309.48 2666.75 2331.2 2779.09C2339.6 2871.29 2335.62 3005.12 2266.47 3120.62C2263.84 3126.17 2258.15 3134.43 2246.52 3139.76V3139.76C2235.07 3140.6 2227.55 3136.27 2225.41 3129.88C2222.7 3124.33 2221.47 3119.55 2220.39 3116.09C2218.14 3112.39 2218.74 3110.5 2219.99 3112.94V3112.94C2222.91 3113.55 2223.8 3114.03 2224.18 3113.43C2222.87 3114.01 2221.12 3116.14 2218.22 3118.84C2217.57 3119.81 2216.8 3120.78 2215.9 3121.71C2210.47 3127.42 2200.54 3132.07 2187.13 3129.99C2174.17 3124.43 2166.53 3112.21 2166.89 3098.57C2167.2 3093.95 2167.9 3090.58 2167.82 3088.37C2167.22 3087.43 2167.96 3087.26 2169.25 3089.56L2169.25 3089.56C2172.81 3090.59 2174.25 3090.97 2175.57 3089.9C2174.45 3090.47 2173.01 3092.84 2170.38 3095.95C2168.41 3098.82 2165.16 3102.7 2159.8 3106.38C2152.56 3110.22 2144.7 3109.78 2138.18 3105.33L2138.18 3105.33C2130.69 3097.78 2128.79 3091.01 2129.09 3088.03V3088.03C2126.7 3079.31 2125.14 3070.69 2123.79 3062.43C2119.5 3036.46 2116.88 3010.52 2114.8 2985.7C2109.33 2920.88 2107.01 2866.34 2111.71 2812.49C2116.41 2763.32 2096.79 2712.68 2084.96 2683.93C2063.44 2641.21 2052.84 2617.95 2054.33 2616.66V2616.66C2054.36 2616.65 2054.36 2616.65 2054.36 2616.65L2054.36 2616.63Z" fill="black"/>
|
|
||||||
<path d="M1565.2 3063.14C1564.91 3065.73 1555.96 3066.2 1541.37 3069.17C1525.48 3072.41 1508.74 3077.63 1488.07 3087.53C1480.4 3091.19 1473 3095.12 1465.92 3099.1C1438.07 3119.19 1417.43 3130.85 1415.06 3127.79C1412.69 3124.73 1429.23 3107.59 1456.24 3085.16C1463.45 3080.3 1471.31 3075.72 1479.69 3071.69C1501.77 3061.09 1522.77 3056.66 1540.11 3056.79C1556.81 3056.91 1565.43 3061.05 1565.2 3063.14V3063.14Z" fill="black"/>
|
|
||||||
<path d="M2297.82 3016.57C2298.41 3019.14 2289.95 3024.6 2272.7 3028.14C2254.99 3031.77 2231.89 3032.36 2206.84 3026.95C2194.91 3024.37 2183.64 3020.67 2173.35 3016.16C2144.06 2998.71 2126.51 2984.91 2128.57 2981.06C2130.62 2977.21 2151.75 2984.02 2181.57 2998.09C2191.34 3001.25 2201.5 3004.04 2212.24 3006.34C2255.38 3015.56 2296.57 3011.08 2297.82 3016.57V3016.57Z" fill="black"/>
|
|
||||||
<defs>
|
|
||||||
<filter id="filter0_f_2_3" x="951.462" y="1473.2" width="199.468" height="216.64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="10.3119" result="effect1_foregroundBlur_2_3"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter1_f_2_3" x="1135.42" y="1676.67" width="94.502" height="96.079" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="4.72782" result="effect1_foregroundBlur_2_3"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter2_f_2_3" x="2224.19" y="1317.8" width="199.468" height="216.64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="10.3119" result="effect1_foregroundBlur_2_3"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter3_f_2_3" x="2145.2" y="1521.27" width="94.5021" height="96.079" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="4.72782" result="effect1_foregroundBlur_2_3"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter4_f_2_3" x="1781.61" y="1777.56" width="58.7359" height="38.5579" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="2.52106" result="effect1_foregroundBlur_2_3"/>
|
|
||||||
</filter>
|
|
||||||
<radialGradient id="paint0_radial_2_3" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(1760.99 1829.81) rotate(-0.182296) scale(306.481 287.176)">
|
|
||||||
<stop stop-color="#CC3100"/>
|
|
||||||
<stop offset="1" stop-color="#DE6B00"/>
|
|
||||||
</radialGradient>
|
|
||||||
<radialGradient id="paint1_radial_2_3" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(2373.33 907.327) rotate(63.7909) scale(608.272 241.85)">
|
|
||||||
<stop stop-color="#FF927A"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</radialGradient>
|
|
||||||
<radialGradient id="paint2_radial_2_3" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(785.008 1066.98) rotate(-157.738) scale(359.552 439.05)">
|
|
||||||
<stop stop-color="#FF927A"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</radialGradient>
|
|
||||||
<linearGradient id="paint3_linear_2_3" x1="1257.34" y1="3813.75" x2="1136.44" y2="3481.28" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient id="paint4_linear_2_3" x1="2481.02" y1="3700.43" x2="2528.01" y2="3388.4" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient id="paint5_linear_2_3" x1="1465.89" y1="3071.73" x2="1527.85" y2="3160.89" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient id="paint6_linear_2_3" x1="2205.57" y1="3007.9" x2="2200.48" y2="3085.58" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 27 KiB |
|
@ -1,73 +0,0 @@
|
||||||
<svg width="2959" height="3706" viewBox="0 0 2959 3706" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<path opacity="0.997" d="M316.789 2931.12C315.488 2929.29 342.101 2913.78 372.838 2868.23C384.205 2851.41 395.682 2829.37 402.48 2802.88C407.785 2782.32 410.27 2759.1 408.909 2733.66C407.69 2710.88 403.393 2686.99 395.976 2661.83V2661.83C382.3 2615.37 359.257 2568.62 326.569 2519.31C298.838 2477.58 265.182 2435.96 225.052 2395.73C208.608 2379.25 191.087 2363.05 172.444 2347.71C157.209 2335.18 141.225 2323.1 124.379 2312.5C111.765 2304.63 99.0872 2297.4 86.1465 2292.93C81.4965 2291.35 77.2099 2290.09 73.3454 2289.68C70.3614 2289.5 68.2282 2289.3 67.36 2289.79C67.103 2290.02 66.986 2289.93 67.7268 2289.46C67.8742 2288.79 67.916 2289.67 67.402 2291.25V2291.25C66.8491 2293.83 67.2734 2297.48 67.8385 2301.99C68.763 2308.14 70.6571 2314.59 72.9592 2321.43V2321.43C79.957 2342.07 90.3586 2362.14 101.941 2382.98C118.976 2413.51 138.274 2443.25 159.063 2473.54C239.086 2574.41 349.687 2660.96 481.224 2708.82C588.471 2748.15 706.505 2762.42 824.643 2753.29C866.817 2749.58 908.547 2739.08 939.471 2714.96C946.162 2709.88 952.392 2704.14 958.034 2697.88C971.642 2682.77 981.817 2664.63 986.785 2645.36C993.4 2620.4 992.269 2593.07 983.767 2568.69C975.601 2545.97 961.347 2525.28 942.318 2513.53C918.401 2498.17 890.181 2489.01 861.448 2485.7C828.124 2482.05 793.861 2487.36 765.252 2502.39C748.435 2511.06 733.146 2523.06 719.946 2537.05C703.762 2554.16 690.691 2574.62 680.006 2596.35C647.54 2662.01 637.627 2738.34 633.783 2811.39C631.492 2858.76 639.748 2905.63 657.74 2947.16C674.348 2985.79 699.212 3020.25 727.85 3049.36C755.245 3077.18 786.301 3100.41 818.625 3119.3C845.995 3135.23 873.674 3148.13 901.953 3156.71C916.938 3161.58 935.105 3161.55 953.657 3162.06C981.591 3162.53 1010.48 3161.41 1037.44 3160.48C1120.97 3157.55 1186.59 3155.58 1255.49 3159.41C1258.01 3159.67 1260.93 3159.01 1263.71 3157.85C1267.08 3156.47 1270.42 3153.91 1273.73 3150.93C1282.8 3142.7 1289.74 3131.12 1296.02 3119.67C1304.49 3103.94 1311.23 3087.27 1316.96 3071.71C1324.16 3052.16 1330.13 3032.79 1335.12 3015.45C1347.23 2973.37 1356.5 2932.2 1361.78 2909.03C1368.62 2876.64 1372.92 2860.42 1374.61 2860.7C1376.3 2860.97 1375.37 2877.73 1371.82 2910.71V2910.71C1368.73 2935.64 1362.81 2975.3 1352.55 3019.95C1348.43 3037.86 1343.3 3057.89 1336.77 3078.48C1331.6 3094.81 1325.21 3112.65 1316.67 3130.22C1310.63 3142.89 1302.73 3156.75 1290.99 3168.72C1286.56 3173.24 1281.1 3177.52 1274.47 3180.82C1268.55 3183.74 1261.74 3185.39 1254.47 3185.26C1186.38 3183.73 1122.9 3187.53 1038.93 3192.43C1012.03 3194.02 982.698 3195.8 953.459 3195.94C935.016 3196.23 913.838 3196.25 892.086 3190.34C860.467 3181.34 829.909 3167.88 800.35 3151.26C765.137 3131.53 731.042 3106.84 700.477 3076.77C668.369 3045.23 640.218 3007.16 620.629 2963.48C599.562 2916.19 589.495 2863.25 591.598 2809.55C594.222 2733.83 604.742 2651.95 640.214 2577.11C652.15 2552.07 667.567 2527.86 687.265 2506.54C703.474 2489.04 722.685 2473.88 744.379 2462.43C781.862 2442.93 824.765 2435.76 866.445 2440.38C901.541 2444.1 936.315 2455.43 966.972 2474.79C996.013 2493.63 1016.6 2522.16 1027.31 2553.48V2553.48C1038.91 2586.65 1040.44 2622.98 1031.5 2657.13C1024.34 2683.95 1010.73 2708.48 992.439 2728.83C984.857 2737.27 976.473 2744.98 967.414 2751.83C926.027 2782.52 876.166 2796.04 828.18 2799.26C703.899 2808.78 579.433 2793.06 465.731 2750.76C325.525 2698.22 209.253 2605.43 125.942 2497.69C104.813 2466.19 84.9637 2434.73 67.2313 2402.07C55.3916 2380.34 44.3348 2357.9 36.3566 2333.64V2333.64C33.6731 2325.54 31.3734 2316.86 30.0211 2307.57C28.9492 2300.97 28.6637 2293.32 29.9722 2284.91C30.8048 2278.53 33.7282 2271.54 39.1215 2264.8C44.6302 2258.8 51.1436 2255 57.9177 2253.4C65.6381 2251.65 72.5521 2251.65 78.3106 2252.64C85.8795 2253.76 92.7209 2255.75 98.8267 2258.08C115.658 2264.44 130.588 2273.11 144.014 2282.01C162.336 2294.05 179.275 2307.32 195.03 2320.84C214.373 2337.42 232.368 2354.74 249.101 2372.26C289.906 2414.94 323.84 2459.09 351.487 2503.24C384.143 2555.26 406.809 2605.59 419.621 2655.32C426.578 2682.37 430.13 2708.29 430.416 2732.98C430.737 2760.6 426.738 2785.78 419.794 2807.86C410.802 2836.34 396.954 2859.18 383.542 2876.09C346.533 2922.69 316.167 2930.24 316.792 2931.12L316.789 2931.12Z" fill="black"/>
|
|
||||||
<path d="M1168.86 2147.45C1168.86 2147.45 1174.91 2189.77 1126.55 2316.71C1078.19 2443.66 1075.16 2733.81 1050.98 2797.29C1026.8 2860.76 893.814 3072.33 924.039 3259.73C954.264 3447.12 1102.37 3713.1 1283.71 3646.6C1465.06 3580.11 1428.79 3592.2 1428.79 3592.2C1428.79 3592.2 1954.71 3707.05 2302.29 3507.57C2380.88 3543.84 2429.23 3574.06 2547.11 3504.55C2664.99 3435.03 2725.44 3244.61 2722.41 3114.65C2719.39 2984.68 2532 2700.57 2510.84 2640.12C2489.68 2579.67 2411.1 2283.46 2371.81 2159.54C2332.51 2035.62 2362.74 2014.46 2362.74 2014.46L1168.86 2147.45Z" fill="#DE5700" stroke="black" stroke-width="46.0804"/>
|
|
||||||
<path d="M2910.99 15.367C2810.67 16.4868 2399.36 32.4575 2314.62 125.748C2227.59 221.545 2173.88 368.999 2157.21 419.478C2059.12 356.561 1915.41 355.12 1915.41 355.12C1915.41 355.12 2000.05 327.92 2090.72 303.741C1933.55 249.336 1731.05 297.692 1731.05 297.692C1731.05 297.692 1816.06 254.536 1897.66 181.997C1770.72 215.244 1628.28 231.198 1537.61 285.603C1534.34 256.983 1479.51 292.115 1564.25 174.208C1331.52 231.635 1168.86 376.283 1069.11 460.912C1081.2 385.351 1085.97 396.401 1122.24 311.772C984.85 406.889 945.872 455.871 915.959 529.819C884.785 472.227 802.353 331.66 698.786 248.138C566.279 141.277 -48.0541 314.703 20.3368 442.936C88.7277 571.169 253.044 550.321 295.788 819.61C338.532 1088.9 643.216 1098.74 643.216 1098.74C645.435 1097.95 647.639 1097.05 649.836 1096.13C627.255 1167.82 607.109 1272.5 591.923 1444.97C519.258 1553.97 513.208 1597.36 504.66 1637.96C575.188 1603.77 583.374 1556.11 634.667 1543.29C589.785 1618.09 587.651 1720.68 606.886 1883.1C643.218 1791.2 641.076 1793.34 679.546 1765.56C690.232 1874.55 713.747 1934.4 741.53 1968.59C752.217 1908.75 784.275 1885.25 784.275 1885.25C784.275 1885.25 805.648 2015.62 867.627 2105.38C880.451 2026.3 895.409 2013.48 895.409 2013.48C895.409 2013.48 1143.32 2338.33 1775.94 2304.14C2408.55 2269.94 2588.08 1833.95 2588.08 1833.95C2588.08 1833.95 2600.91 1889.52 2600.91 1910.89C2647.93 1842.5 2677.85 1701.44 2677.85 1701.44C2677.85 1701.44 2712.04 1782.65 2703.49 1833.95C2741.96 1769.83 2750.51 1611.68 2733.41 1539.02C2793.25 1603.13 2844.55 1624.51 2844.55 1624.51C2844.55 1624.51 2712.04 1393.69 2707.76 1355.22C2703.49 1316.75 2801.81 1410.78 2801.81 1410.78C2801.81 1410.78 2740.21 1308.23 2724.86 1280.41C2667.66 1176.75 2613.36 987.392 2537.11 859.689C2601.1 818.088 2795.1 718.757 2787.56 503.664C2778.95 258.194 2898.72 176.103 2940.26 51.0386C2948.69 25.6348 2936.56 15.0816 2910.99 15.367V15.367Z" fill="#DE5700"/>
|
|
||||||
<path d="M1168.86 2147.45C1168.86 2147.45 1174.91 2189.77 1126.55 2316.71C1078.19 2443.66 1075.16 2733.81 1050.98 2797.29C1026.8 2860.76 893.814 3072.33 924.039 3259.73C954.264 3447.12 1102.37 3713.1 1283.71 3646.6C1465.06 3580.11 1428.79 3592.2 1428.79 3592.2C1428.79 3592.2 1954.71 3707.05 2302.29 3507.57C2380.88 3543.84 2429.23 3574.06 2547.11 3504.55C2664.99 3435.03 2725.44 3244.61 2722.41 3114.65C2719.39 2984.68 2532 2700.57 2510.84 2640.12C2489.68 2579.67 2411.1 2283.46 2371.81 2159.54C2332.51 2035.62 2362.74 2014.46 2362.74 2014.46L1168.86 2147.45Z" fill="#DE5700"/>
|
|
||||||
<path d="M1948.55 2060.6L1565.32 2103.28C1414.45 2137.89 1297.2 2180.18 1297.2 2180.18C1297.2 2180.18 1228.81 2594.8 1241.64 2710.21C1254.46 2825.62 1181.79 3000.87 1220.26 3176.12C1253.86 3329.16 1320.07 3491.98 1566.89 3613.34C1718.29 3630.31 1968.48 3639.97 2185.07 3561.45C2288.91 3477.48 2362.98 3368.43 2391.46 3282.98C2455.58 3090.63 2378.64 2757.23 2348.72 2688.84C2318.79 2620.45 2352.99 2406.72 2186.29 2163.08C2140.34 2095.93 2052.15 2067.14 1948.55 2060.6V2060.6Z" fill="#F7EDE9"/>
|
|
||||||
<path opacity="0.6" d="M2910.99 15.367C2810.67 16.4868 2399.36 32.4575 2314.62 125.748C2227.59 221.545 2173.88 368.999 2157.21 419.478C2059.12 356.561 1915.41 355.12 1915.41 355.12C1915.41 355.12 2000.05 327.92 2090.72 303.741C1933.55 249.336 1731.05 297.692 1731.05 297.692C1731.05 297.692 1816.06 254.536 1897.66 181.997C1770.72 215.244 1628.28 231.198 1537.61 285.603C1538.99 259.97 1477.23 293.202 1564.25 174.208C1331.52 231.635 1168.86 376.283 1069.11 460.912C1081.2 385.351 1085.97 396.401 1122.24 311.772C984.85 406.889 945.872 455.871 915.959 529.819C884.785 472.227 802.353 331.66 698.786 248.138C566.279 141.277 -48.0541 314.703 20.3368 442.936C88.7277 571.169 253.044 550.321 295.788 819.61C338.532 1088.9 643.216 1098.74 643.216 1098.74C645.435 1097.95 647.639 1097.05 649.836 1096.13C627.255 1167.82 607.109 1272.5 591.923 1444.97C519.258 1553.97 514.209 1598.36 505.661 1638.96C576.188 1604.77 583.374 1556.11 634.667 1543.29C589.785 1618.09 587.651 1720.68 606.886 1883.1C643.218 1791.2 641.076 1793.34 679.546 1765.56C690.232 1874.55 713.747 1934.4 741.53 1968.59C752.217 1908.75 784.275 1885.25 784.275 1885.25C784.275 1885.25 805.648 2015.62 867.627 2105.38C880.451 2026.3 895.409 2013.48 895.409 2013.48C895.409 2013.48 1143.32 2338.33 1775.94 2304.14C2408.55 2269.94 2588.08 1833.95 2588.08 1833.95C2588.08 1833.95 2600.91 1889.52 2600.91 1910.89C2647.93 1842.5 2677.85 1701.44 2677.85 1701.44C2677.85 1701.44 2712.04 1782.65 2703.49 1833.95C2741.96 1769.83 2750.51 1611.68 2733.41 1539.02C2793.25 1603.13 2844.55 1624.51 2844.55 1624.51C2844.55 1624.51 2712.04 1393.69 2707.76 1355.22C2703.49 1316.75 2801.81 1410.78 2801.81 1410.78C2801.81 1410.78 2740.21 1308.23 2724.86 1280.41C2667.66 1176.75 2613.36 987.392 2537.11 859.689C2601.1 818.088 2801.11 718.757 2793.56 503.664C2784.96 258.194 2898.72 176.103 2940.26 51.0386C2948.69 25.6348 2936.56 15.0816 2910.99 15.367V15.367Z" fill="url(#paint0_radial_28_46)"/>
|
|
||||||
<path d="M1793.93 1625.72C1692.31 1626.01 1639.62 1670.45 1602.82 1690.75C1443.85 1877.11 1124.01 1774.44 950.98 1898.07C921.059 1919.44 879.383 2034.85 879.383 2034.85L881.565 2043.13C889.307 2018.8 895.409 2013.48 895.409 2013.48C895.409 2013.48 1143.32 2338.33 1775.94 2304.14C2286.01 2276.56 2501.41 1987.9 2565.77 1877.06C2559.76 1821.08 2542.31 1746.84 2491.91 1744.19C2410.7 1739.91 2075.15 1712.12 1972.56 1656.56C1930.89 1633.98 1863.46 1625.52 1793.93 1625.72V1625.72Z" fill="#F7EDE9"/>
|
|
||||||
<path d="M1670.59 1677.46C1653.7 1635.82 1858.76 1600.28 1862.52 1639.68C1866.61 1682.55 1812.65 1760.58 1785.45 1765.11C1758.24 1769.64 1688.63 1721.93 1670.59 1677.46V1677.46Z" fill="black"/>
|
|
||||||
<g opacity="0.8" filter="url(#filter0_f_28_46)">
|
|
||||||
<path d="M1795.15 1641.88C1797.06 1634.19 1809.39 1629.26 1822.69 1630.88C1835.98 1632.49 1845.21 1640.04 1843.29 1647.73C1841.38 1655.43 1829.05 1660.35 1815.75 1658.74C1802.45 1657.12 1793.23 1649.57 1795.15 1641.88Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path opacity="0.8" d="M1797.09 1642.11C1798.83 1635.16 1810.16 1630.73 1822.38 1632.22C1834.6 1633.7 1843.1 1640.55 1841.35 1647.5C1839.61 1654.46 1828.28 1658.89 1816.06 1657.4C1803.83 1655.91 1795.34 1649.07 1797.09 1642.11Z" fill="#DEDEDE"/>
|
|
||||||
<path d="M2839.03 126.979C2750.83 205.43 2490.04 199.914 2389.32 331.49C2311.81 432.749 2293.15 545.208 2382.91 699.087C2429.76 779.407 2491.15 828.243 2540.37 857.529C2656.85 814.594 2791.93 737.805 2791.56 525.669C2791.4 431.967 2868.09 265.271 2862.97 214.318C2865.39 180.456 2897.45 75.0209 2839.03 126.979V126.979Z" fill="url(#paint1_radial_28_46)"/>
|
|
||||||
<path d="M135.341 546.877C204.087 610.736 275.71 693.122 295.788 819.61C335.05 1066.97 582.025 1072.54 635.159 1095.33C678.647 1047.5 747.7 954.793 774.947 808.594C815.021 593.571 743.572 440.231 630.27 356.086C544.242 292.197 465.345 399.217 373.009 410.597C226.391 428.666 137.346 442.883 104.936 460.272C73.1798 477.31 100.208 513.662 135.341 546.877V546.877Z" fill="url(#paint2_radial_28_46)"/>
|
|
||||||
<path d="M2910.99 15.367C2810.67 16.4868 2399.36 32.4575 2314.62 125.748C2227.59 221.545 2173.88 368.999 2157.21 419.478C2059.12 356.561 1915.41 355.12 1915.41 355.12C1915.41 355.12 2000.05 327.92 2090.72 303.741C1933.55 249.336 1731.05 297.692 1731.05 297.692C1731.05 297.692 1816.06 254.536 1897.66 181.997C1770.72 215.244 1628.28 231.198 1537.61 285.603C1544.1 286.111 1479.62 292.085 1564.25 174.208C1331.52 231.635 1168.86 376.283 1069.11 460.912C1081.2 385.351 1085.97 396.401 1122.24 311.772C984.85 406.889 945.872 455.871 915.959 529.819C884.785 472.227 802.353 331.66 698.786 248.138C566.279 141.277 -48.0541 314.703 20.3368 442.936C88.7277 571.169 253.044 550.321 295.788 819.61C338.532 1088.9 643.216 1098.74 643.216 1098.74C645.435 1097.95 647.639 1097.05 649.836 1096.13C627.255 1167.82 607.109 1272.5 591.923 1444.97C519.258 1553.97 513.208 1598.36 504.66 1638.96C575.188 1604.77 583.374 1556.11 634.667 1543.29C589.785 1618.09 587.651 1720.68 606.886 1883.1C643.218 1791.2 641.076 1793.34 679.546 1765.56C690.232 1874.55 713.747 1934.4 741.53 1968.59C752.217 1908.75 784.275 1885.25 784.275 1885.25C784.275 1885.25 805.648 2015.62 867.627 2105.38C880.451 2026.3 895.409 2013.48 895.409 2013.48C895.409 2013.48 1143.32 2338.33 1775.94 2304.14C2408.55 2269.94 2588.08 1833.95 2588.08 1833.95C2588.08 1833.95 2600.91 1889.52 2600.91 1910.89C2647.93 1842.5 2677.85 1701.44 2677.85 1701.44C2677.85 1701.44 2712.04 1782.65 2703.49 1833.95C2741.96 1769.83 2750.51 1611.68 2733.41 1539.02C2793.25 1603.13 2844.55 1624.51 2844.55 1624.51C2844.55 1624.51 2712.04 1393.69 2707.76 1355.22C2703.49 1316.75 2801.81 1410.78 2801.81 1410.78C2801.81 1410.78 2740.21 1308.23 2724.86 1280.41C2667.66 1176.75 2613.36 987.392 2537.11 859.689C2601.1 818.088 2797.11 782.772 2789.56 567.679C2780.95 322.209 2898.72 176.103 2940.26 51.0386C2948.69 25.6348 2936.56 15.0816 2910.99 15.367V15.367Z" stroke="black" stroke-width="30.7203" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M1174.32 3623.87C1099.51 3499.91 1063.06 3415.08 1057.84 3359.39C1053.03 3308.09 1046.62 3246.12 1083.48 3276.57C1094.17 3231.69 1092.03 3206.04 1119.82 3218.87C1147.6 3231.69 1166.83 3259.47 1166.83 3259.47C1166.83 3259.47 1162.56 3195.36 1190.34 3216.73C1241.43 3247.48 1332.69 3536.32 1322.06 3618.13C1310.38 3708.02 1240.21 3727.57 1174.32 3623.87V3623.87Z" fill="url(#paint3_linear_28_46)" stroke="black" stroke-width="23.0402"/>
|
|
||||||
<path d="M2564.78 3516.43C2617.78 3381.7 2639.52 3291.97 2635.35 3236.19C2631.5 3184.81 2627.45 3122.63 2596.2 3158.83C2578.16 3116.37 2575.97 3090.73 2550.72 3108.02C2525.48 3125.31 2511.17 3155.92 2511.17 3155.92C2511.17 3155.92 2504.65 3092 2480.83 3117.72C2435.61 3156.59 2393.99 3456.62 2418.16 3535.5C2444.71 3622.17 2517.17 3629.7 2564.78 3516.43V3516.43Z" fill="url(#paint4_linear_28_46)" stroke="black" stroke-width="23.0402"/>
|
|
||||||
<path d="M1547.64 2230.3C1547.64 2230.3 1409.61 2394.34 1345.59 2428.35C1281.58 2462.36 1537.64 2590.38 1537.64 2590.38C1537.64 2590.38 1687.67 2386.34 1693.67 2308.32L1699.68 2230.3H1547.64Z" fill="#F7EDE9"/>
|
|
||||||
<path d="M1552.45 2225.31C1571.48 2258.43 1605.03 2280.42 1639.99 2293.91C1656.36 2300.07 1673.27 2305.1 1690.57 2307.77C1699.84 2271.3 1705.7 2233.76 1705.72 2196.08C1705.12 2188.67 1704.84 2178.86 1697.33 2174.95C1689.06 2172.5 1682.13 2179.41 1675.63 2183.33C1679.28 2173.01 1676.81 2160.78 1670.04 2152.31C1662.92 2145.38 1653.3 2153.18 1648.01 2158.59C1642.73 2163.3 1639.14 2169.69 1633.7 2174.14C1630.98 2168.39 1635.15 2158.49 1628.69 2153.34C1621.45 2147.74 1614.83 2157.89 1609.5 2161.85C1589.24 2181.83 1571.08 2203.83 1552.45 2225.31V2225.31Z" fill="url(#paint5_linear_28_46)"/>
|
|
||||||
<path d="M1253.67 2495.08C1253.67 2495.08 1253.7 2495.06 1253.71 2494.98C1253.73 2494.91 1253.75 2494.77 1253.73 2494.55C1253.85 2494.31 1254.06 2494 1254.36 2493.63C1254.95 2492.9 1255.9 2491.91 1257.19 2490.66C1259.68 2488.27 1263.48 2484.94 1268.52 2480.67C1277.89 2472.76 1291.17 2462 1308.59 2447.97C1332.04 2429.09 1377.21 2393.23 1416.14 2359.67C1435.84 2342.71 1453.06 2323.43 1472.83 2300.71C1493.32 2277.11 1512.59 2253.5 1534.3 2226.92C1550.64 2206.9 1568.16 2185.04 1586.51 2164.5C1592.19 2158.11 1598.29 2151.39 1605.38 2145.13C1607.41 2143.27 1610.03 2141.16 1613.44 2139.16C1614.53 2138.47 1616.19 2137.74 1618.44 2137.08C1620 2136.39 1622.68 2136.37 1626.4 2137.18C1631.32 2138.25 1636.42 2142 1640.22 2148.66C1642.23 2154.09 1642.53 2158.57 1641.93 2161.68C1641.68 2164.89 1641.2 2166.62 1641.38 2166.88C1641.51 2164.86 1639.93 2163.24 1636.43 2160.78C1633.57 2160.8 1632.55 2160.6 1632.18 2161.3C1633.23 2160.49 1634.51 2158.06 1636.94 2154.8C1639.08 2151.42 1642.54 2147.44 1647.9 2143.9C1654.96 2140.17 1662.36 2139.65 1668.71 2141.79C1674.35 2143.23 1679.64 2147.46 1683.14 2154.38C1685.12 2160.15 1685.36 2164.93 1684.86 2168.28C1684.65 2171.9 1684.19 2174.36 1684.38 2175.65C1684.92 2175.76 1684.05 2175.31 1682.21 2172.96C1680.34 2172.13 1679.39 2171.73 1679.02 2171.98C1678.97 2172.08 1679.56 2171.81 1680.8 2171.48C1683.17 2170.62 1686.96 2168.95 1692.53 2167.86C1693.69 2167.59 1695.01 2167.47 1696.48 2167.52C1698.3 2167.58 1700.34 2167.9 1702.57 2168.52C1707.01 2170.25 1710.27 2172.9 1712.21 2176.09C1717.7 2186.05 1718.08 2195.25 1717.36 2201.51C1715.45 2275.24 1695.21 2345.41 1666.81 2407C1636.86 2472 1598.69 2527.26 1563.18 2571.11C1524.08 2619.42 1486.97 2655.52 1460.54 2678.9C1446.05 2691.72 1434.5 2700.95 1426.26 2707C1421.97 2710.14 1418.65 2712.38 1416.29 2713.78C1415.08 2714.49 1414.14 2714.98 1413.46 2715.25C1413.12 2715.38 1412.84 2715.46 1412.63 2715.49C1412.53 2715.5 1412.44 2715.5 1412.37 2715.49C1412.3 2715.47 1412.24 2715.44 1412.21 2715.4C1412.17 2715.35 1412.14 2715.31 1412.16 2715.22C1412.16 2715.15 1412.17 2715.06 1412.21 2714.96C1412.28 2714.77 1412.41 2714.51 1412.62 2714.21C1413.02 2713.6 1413.68 2712.78 1414.6 2711.74C1416.38 2709.72 1419.19 2706.81 1422.87 2703.08C1430.3 2695.57 1440.14 2685.87 1453.75 2671.8C1477.95 2646.79 1512.96 2609.16 1549.7 2560.56C1583.1 2516.35 1619.21 2461.46 1647.22 2398.15C1673.71 2338.25 1692.69 2270.9 1694.25 2201.13C1693.64 2194.48 1694.52 2189.65 1692.9 2188.82C1693.08 2189.33 1693.81 2189.75 1695.21 2190.46C1695.85 2190.55 1696.22 2190.64 1696.36 2190.69C1696.47 2190.73 1696.44 2190.74 1696.24 2190.7C1694.94 2190.72 1692.35 2192.09 1688.11 2193.43C1686.33 2194.1 1683.84 2194.74 1680.61 2195.05C1677.54 2195.49 1673.78 2194.67 1669.64 2192.37C1663.69 2187.36 1661.05 2181.78 1661.31 2177V2177C1661.15 2172.39 1661.62 2168.95 1661.82 2166.69C1661.73 2164.15 1662.06 2162.83 1661.8 2163.16C1662.81 2164.08 1662.41 2164.31 1661.87 2163.8C1660.62 2163.58 1659.43 2163.35 1659.67 2163.67C1658.82 2163.83 1657.66 2165.67 1655.61 2168.16V2168.16C1654.1 2170.4 1651.9 2173.87 1648.11 2177.76C1643.82 2182.24 1637.07 2184.15 1629.07 2182.43C1622.17 2178.82 1618.62 2173.59 1618.58 2168V2168C1618.53 2163.66 1619.06 2160.83 1619.25 2159.47C1619.14 2157.69 1619.49 2157.05 1619.48 2158C1620.8 2159.19 1620.41 2159.57 1619.62 2158.83C1622.22 2159.29 1623.69 2159.41 1624.13 2159.02C1624.75 2158.78 1624.9 2158.78 1624.53 2158.91C1623.44 2159.44 1622.06 2160.64 1620.22 2162.16C1614.36 2167.19 1608.83 2173.23 1603.11 2179.48C1585.13 2199.21 1567.45 2220.73 1550.73 2240.56C1528.73 2266.69 1508.62 2290.39 1487.43 2313.69C1467.11 2336.07 1448.51 2355.66 1427.18 2372.92C1384.59 2407.27 1342.02 2437.75 1315.01 2456.55C1296.77 2469.25 1282.19 2478.95 1271.97 2485.38C1266.36 2488.91 1262.02 2491.49 1258.97 2493.12C1257.38 2493.97 1256.14 2494.55 1255.26 2494.88C1254.81 2495.05 1254.45 2495.15 1254.19 2495.19C1253.98 2495.1 1253.85 2495.08 1253.77 2495.07C1253.7 2495.07 1253.67 2495.08 1253.67 2495.08L1253.67 2495.08Z" fill="black"/>
|
|
||||||
<path d="M1550.29 2223.04C1552.02 2222.06 1555.96 2226.15 1563.08 2233.04C1570.64 2240.36 1579.91 2248.83 1593.5 2258.19C1600.35 2262.92 1607.58 2267.34 1615.33 2271.58C1622.75 2275.64 1630.22 2279.3 1637.63 2282.7C1670.11 2293.53 1691.56 2303.44 1690.46 2307.15C1689.37 2310.85 1665.88 2307.47 1631.98 2298.68C1623.76 2295.61 1615.41 2291.88 1607.22 2287.42C1598.68 2282.76 1590.69 2277.53 1583.42 2271.78C1569.42 2260.68 1560.14 2248.95 1554.8 2239.31C1549.55 2229.84 1548.78 2223.89 1550.29 2223.04V2223.04Z" fill="black"/>
|
|
||||||
<path d="M2182.1 2821.65C2148.09 2821.91 2115.82 2806.33 2089.83 2785.3C2067.85 2767.28 2048.77 2745.55 2034 2721.26C2022.45 2753.72 2010.59 2786.27 2003.4 2820.03C2001.39 2826.99 2000.64 2839.35 2011.42 2837.84C2021.24 2837.24 2029.53 2831.07 2038.79 2828.73C2036.92 2833.96 2031.26 2838.31 2029.04 2843.95C2024.34 2852.66 2021.14 2866.11 2030.41 2873.05C2042.08 2880.13 2056.74 2876.96 2068.8 2872.51C2076.8 2870.19 2067.29 2882.14 2069.42 2886.32C2067.95 2894.94 2073.56 2906.98 2083.99 2903.55C2096.65 2899.92 2106.5 2890.47 2117.11 2883.12C2140.83 2864.95 2162.39 2844.07 2182.1 2821.65V2821.65Z" fill="url(#paint6_linear_28_46)"/>
|
|
||||||
<path d="M2124.7 2361.37C2124.7 2361.37 2124.69 2361.37 2124.7 2361.37C2126.63 2361.25 2130.12 2386.35 2134.88 2434.81C2135.35 2453.78 2134.73 2477.74 2130.57 2503.41C2127.18 2524.43 2120.99 2548.65 2108.67 2571.61C2096.65 2593.93 2086.27 2617.36 2075.16 2644.03C2064.04 2670.75 2053.24 2698.81 2042.73 2728.46C2034.5 2751.7 2026.3 2775.9 2019.64 2800.39C2017.5 2808.27 2015.49 2816 2014.27 2823.56C2013.89 2825.98 2013.58 2828.06 2013.57 2829.79C2014.02 2831.42 2013.52 2831.12 2012.88 2828.64C2013.06 2828.52 2012.5 2828.22 2011.21 2827.25C2009.87 2826.84 2009.31 2826.6 2009.25 2826.77C2010.06 2826.98 2012.08 2825.6 2015.59 2824.07C2018.33 2822.53 2022.41 2820.34 2028.22 2818.83C2030.63 2818.04 2034.14 2818.05 2038.54 2819.25C2043.23 2821.27 2046.38 2824.16 2047.89 2827.45C2050.9 2835.35 2050.35 2842.05 2047.66 2846.36C2045.41 2850.98 2043.12 2854.21 2041.81 2856.58C2040.65 2859.24 2039.62 2860.95 2040.01 2861.51C2039.43 2861.99 2041.07 2863.68 2042.89 2866.07C2042.2 2865.98 2042.89 2865.88 2043.64 2865.99C2044.95 2866.01 2046.72 2865.44 2049 2864.68C2049.85 2864.39 2050.77 2864.08 2051.77 2863.76C2054.75 2862.59 2059 2861.02 2064.7 2860.23C2070.87 2859.25 2077.55 2861.93 2082.98 2868.44L2082.98 2868.44C2085.37 2872.89 2086.2 2876.48 2085.97 2878.82V2878.82C2086.05 2881.94 2085.82 2884.6 2085.52 2886.78C2084.98 2891.73 2084.11 2895.39 2084.32 2897.81C2084.65 2898.69 2084.3 2898.52 2083.76 2896.92C2082.02 2894.82 2080.59 2893.78 2078.89 2893.67C2078.04 2893.95 2078.68 2893.42 2080.68 2893.01V2893.01C2083.59 2892.01 2086.71 2890.26 2090.18 2888.27L2090.18 2888.27C2140.92 2854.85 2181.84 2810.27 2213.89 2764.4C2248.17 2715.46 2272.77 2664.59 2290.65 2620.8C2322.67 2511.91 2342.43 2450.89 2345.4 2451.7C2348.38 2452.52 2334.32 2515.13 2306.25 2625.93C2289.7 2671.41 2265.85 2724.43 2231.15 2776.22C2198.69 2824.56 2156.17 2871.74 2102.37 2907.71C2098.38 2910.13 2093.86 2912.59 2088.63 2914.6C2086.06 2915.87 2081.86 2916.84 2076.18 2916.55C2071.56 2916.09 2067.33 2913.5 2064.07 2908.9C2061.84 2904.53 2061.06 2900.99 2061.27 2898.63C2061.18 2892.46 2062.1 2887.6 2062.59 2884.02C2062.78 2882.14 2062.96 2880.71 2062.88 2879.75C2062.52 2878.92 2062.91 2879.21 2063.57 2880.99L2063.57 2880.99C2065.95 2882.79 2066.56 2883.6 2067.15 2883.22C2065.73 2883.19 2063.23 2884.37 2059.46 2885.58C2058.49 2885.95 2057.43 2886.34 2056.29 2886.71C2053.25 2887.71 2049.62 2888.62 2045.35 2889.06C2039.02 2889.69 2032.31 2887.55 2026.58 2882.45C2021.64 2878.11 2017.75 2871.14 2016.92 2862.1C2017.1 2855.05 2019.1 2849.42 2021.62 2845.41C2023.87 2841.36 2025.93 2838.6 2026.8 2836.58C2026.66 2835.47 2027.4 2835.63 2027.59 2838.26C2027.8 2839.09 2028.89 2839.83 2030.96 2840.94C2032.77 2841.23 2033.43 2841.45 2033.17 2841.25C2031.91 2841.29 2029.6 2842.82 2025.89 2844.53C2022.89 2846.28 2018.3 2848.41 2011.88 2849.46C2008.88 2849.97 2005.24 2849.48 2001.23 2847.77C1996.95 2845.35 1994.14 2842.37 1992.76 2839.32C1990.7 2834.14 1990.32 2830.66 1990.83 2829.24C1990.95 2825.7 1991.39 2822.55 1991.89 2819.79C1993.44 2810.89 1995.69 2802.43 1997.98 2794.38C2005.13 2769.04 2013.8 2744.45 2022.47 2721.1C2033.56 2691.25 2045.05 2663 2056.94 2636.2C2056.94 2636.2 2056.94 2636.2 2056.94 2636.2C2068.74 2609.56 2080.15 2585.7 2093.32 2563.01C2105.09 2542.96 2111.7 2520.53 2115.92 2500.68C2121.01 2476.68 2122.93 2453.52 2123.78 2435.1C2122.46 2387.18 2122.76 2361.68 2124.68 2361.37L2124.7 2361.37Z" fill="black"/>
|
|
||||||
<path d="M2175 2826.87C2174.44 2829.44 2164.46 2830.8 2147.34 2826.66C2129.78 2822.41 2108.61 2813.13 2088.24 2797.58C2078.48 2790.13 2069.81 2781.92 2062.37 2773.42C2043.37 2745.24 2033.41 2725.37 2036.91 2722.76C2040.4 2720.15 2056.55 2735.24 2077.5 2760.58C2085.04 2767.64 2093.09 2774.53 2101.89 2781.22C2120.61 2795.44 2137.36 2804.74 2152.67 2812.56C2166.96 2819.86 2175.65 2823.9 2175 2826.87V2826.87Z" fill="black"/>
|
|
||||||
<path opacity="0.969" d="M2271.02 1481.65C2270.98 1481.7 2270.96 1481.76 2270.93 1481.82C2270.3 1482.5 2269.52 1483.07 2268.45 1483.4C2266.31 1484.06 2263.43 1484.13 2259.51 1483.48C2251.72 1482.17 2240.55 1478.45 2225.78 1472.61C2195.05 1460.45 2150 1440.05 2094.71 1417.03C2083.82 1413.11 2066.88 1406.63 2047.14 1395.61C2042.15 1394.09 2032.43 1386.77 2019.12 1373.26C2005.68 1360.16 2000.71 1338.54 2004.65 1309.48V1309.48C2015.17 1285.72 2024.38 1273.62 2031.14 1272.29C2040.81 1265.93 2048.46 1262.35 2053.94 1260.86C2072.42 1254.93 2088.82 1252.2 2103.52 1250.56C2122.55 1247.86 2141.12 1246.81 2159.25 1246.97C2184.24 1247.19 2208.15 1249.72 2230.89 1253.25C2276.78 1260.23 2318.45 1271.46 2353.6 1283.35C2444.6 1317.86 2493.15 1346 2484.81 1358.31C2477.63 1368.89 2429.3 1366.68 2351.7 1352.28C2319.35 1347.49 2279.06 1341.07 2239.34 1336.79C2204.14 1333.35 2168.81 1329.86 2134.1 1332.29C2133.42 1332.34 2132.74 1332.39 2132.06 1332.44C2117.45 1333.99 2104.62 1334.71 2092.5 1336.9C2088.86 1337.69 2086.18 1337.74 2084.54 1337.85C2083.85 1338.92 2083.97 1336.16 2085.92 1331.01C2085.96 1323.35 2084.56 1319.35 2081.58 1317.6C2079.4 1317.18 2079.97 1318.08 2081.88 1320.29C2089.26 1327.57 2100.53 1333.47 2111.5 1339.38C2169.79 1370.45 2212.91 1401.57 2241.33 1428.53C2254.76 1441.26 2263.67 1452.08 2268.92 1460.88C2271.53 1465.26 2272.96 1468.94 2273.54 1472.03C2273.83 1473.57 2273.79 1474.92 2273.58 1476.1C2273.39 1476.64 2273.09 1477.16 2272.82 1477.63V1477.63C2283.36 1455.58 2295.93 1429.3 2306.47 1407.26C2306.56 1407.07 2306.56 1407.08 2306.47 1407.26C2329.9 1358.27 2248.02 1529.51 2271.45 1480.52C2271.32 1480.9 2271.19 1481.31 2271.02 1481.65L2271.02 1481.65Z" fill="black"/>
|
|
||||||
<path opacity="0.997" d="M2062.08 1928.03C2066.08 1963.78 2031.67 1988.95 1996.69 1993.07C1952.17 1998.32 1895.66 1971.73 1812.67 1981.01C1754.15 1987.55 1699.65 2020.18 1652.86 2030.03C1581.12 2045.14 1530.79 2037.18 1525.3 1988C1516.22 1906.75 1629.02 1827.46 1777.25 1810.9C1925.48 1794.33 2053 1846.78 2062.08 1928.03V1928.03Z" fill="black"/>
|
|
||||||
<path opacity="0.969" d="M928.618 1507.23C938.738 1515.86 985.438 1505.63 1058.08 1479.04C1088.78 1468.85 1127.78 1455.32 1166.09 1444.19C1201.06 1434.49 1236.16 1424.44 1272.09 1420.85C1274.07 1420.72 1276.03 1420.58 1277.96 1420.44C1290.49 1419.5 1301.76 1418.33 1312.8 1418.39C1316.66 1418.53 1319.6 1418.1 1321.7 1417.99C1322.82 1418.82 1322.93 1416.45 1321.25 1412.65C1320.85 1406.53 1321.81 1403.64 1324 1402.45C1325.64 1402.66 1324.84 1404.21 1323.13 1406.79C1316.37 1415.86 1305.6 1423.98 1295.62 1431.73C1242.64 1472.89 1205.17 1511.48 1181.64 1543.57C1170.52 1558.73 1163.7 1571.17 1160.11 1581.02C1158.32 1585.91 1157.66 1589.9 1157.68 1593.16C1157.68 1594.78 1158.04 1596.16 1158.48 1597.34C1158.81 1597.86 1159.26 1598.34 1159.64 1598.77C1143.14 1572.13 1123.51 1540.47 1107.01 1513.83C1106.88 1513.63 1106.88 1513.63 1107.01 1513.83C1067.71 1450.43 1200.7 1665.03 1161.4 1601.63C1161.56 1602.08 1161.71 1602.62 1161.9 1603C1162.06 1603.17 1162.23 1603.33 1162.41 1603.48C1162.93 1603.91 1163.53 1604.25 1164.29 1604.43C1166.32 1604.89 1168.93 1604.66 1172.5 1603.49C1179.61 1601.16 1189.55 1595.86 1202.88 1587.73C1230.59 1570.82 1271.17 1543.07 1322 1510.73C1332.09 1505.08 1348.78 1495.65 1367.94 1481.3C1372.95 1479.1 1382.55 1469.79 1395.45 1453.3H1395.45C1408.68 1437.14 1411.42 1412.6 1403.47 1380.91V1380.91C1388.85 1356.01 1377.31 1343.97 1369.85 1343.56C1358.65 1338.09 1350.13 1335.4 1344.28 1334.74C1324.43 1331.51 1307.46 1331.4 1292.46 1332.26C1269.62 1332.69 1247.91 1335.32 1227.11 1339.44C1205.39 1343.75 1184.84 1349.64 1165.34 1356.17C1120.73 1370.95 1081.19 1389.4 1048.22 1407.42C960.49 1459.08 916.235 1496.67 928.618 1507.23V1507.23Z" fill="black"/>
|
|
||||||
<path d="M2570.51 1270.25C2570.51 1270.25 2611.95 1201.33 2707.84 1167.02C2803.74 1132.7 2924.6 1340.93 2570.51 1270.25Z" fill="#71E0E0"/>
|
|
||||||
<path opacity="0.997" d="M2773.75 1203.7C2773.35 1218.61 2757.87 1223.28 2737.72 1222.74C2717.56 1222.2 2700.36 1216.65 2700.76 1201.74C2701.16 1186.83 2717.82 1175.18 2737.98 1175.72C2758.13 1176.26 2774.15 1188.79 2773.75 1203.7V1203.7Z" fill="white"/>
|
|
||||||
<path d="M2715.89 1392.5C2715.89 1392.5 2772.4 1373.32 2843.17 1399.83C2913.95 1426.34 2882.64 1602.24 2715.89 1392.5Z" fill="#71E0E0"/>
|
|
||||||
<path opacity="0.997" d="M2862.94 1452.19C2855.56 1460.45 2844.55 1455.68 2833.39 1445.72C2822.23 1435.75 2815.15 1424.36 2822.52 1416.1C2829.89 1407.85 2844.91 1409.23 2856.08 1419.2C2867.24 1429.16 2870.31 1443.94 2862.94 1452.19V1452.19Z" fill="white"/>
|
|
||||||
<path d="M841.958 1500.18C841.958 1500.18 771.339 1461.71 671.266 1480.64C571.194 1499.57 572.326 1740.33 841.958 1500.18Z" fill="#71E0E0"/>
|
|
||||||
<path opacity="0.997" d="M632.987 1545.62C640.877 1558.28 656.592 1554.48 673.702 1543.82C690.813 1533.15 702.84 1519.65 694.949 1507C687.059 1494.34 666.792 1492.73 649.681 1503.39C632.57 1514.06 625.096 1532.97 632.987 1545.62V1545.62Z" fill="white"/>
|
|
||||||
<path d="M778.439 1679.19C778.439 1679.19 719.99 1691.24 672.36 1749.92C624.73 1808.6 740.752 1944.48 778.439 1679.19Z" fill="#71E0E0"/>
|
|
||||||
<path opacity="0.997" d="M681.813 1805.09C692.35 1808.48 699.433 1798.79 704.016 1784.55C708.599 1770.31 708.946 1756.9 698.41 1753.51C687.874 1750.12 675.617 1758.91 671.033 1773.16C666.45 1787.4 671.277 1801.7 681.813 1805.09V1805.09Z" fill="white"/>
|
|
||||||
<path d="M1833.6 1920.21C1830.99 1920.21 1828.37 1920.21 1825.74 1920.25C1816.01 1920.32 1806.14 1921.2 1796.18 1922.94C1702.44 1939.32 1636.6 1955.14 1607.38 2036.68C1621.25 2035.85 1636.48 2033.62 1652.86 2030.17C1699.65 2020.32 1754.15 1987.69 1812.67 1981.15C1895.67 1971.87 1952.17 1998.46 1996.69 1993.21C2001.8 1992.61 2006.89 1991.55 2011.86 1990.08C1974.97 1931.79 1909.4 1920.36 1833.6 1920.22V1920.21Z" fill="#DF6747"/>
|
|
||||||
<defs>
|
|
||||||
<filter id="filter0_f_28_46" x="1790.28" y="1625.95" width="57.8831" height="37.7055" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="2.30794" result="effect1_foregroundBlur_28_46"/>
|
|
||||||
</filter>
|
|
||||||
<radialGradient id="paint0_radial_28_46" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(1769.23 1677.78) rotate(-0.182296) scale(306.481 287.176)">
|
|
||||||
<stop stop-color="#CC3100"/>
|
|
||||||
<stop offset="1" stop-color="#DE6B00"/>
|
|
||||||
</radialGradient>
|
|
||||||
<radialGradient id="paint1_radial_28_46" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(2381.57 755.292) rotate(63.7909) scale(608.272 241.85)">
|
|
||||||
<stop stop-color="#FF927A"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</radialGradient>
|
|
||||||
<radialGradient id="paint2_radial_28_46" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(793.252 914.947) rotate(-157.738) scale(359.552 439.05)">
|
|
||||||
<stop stop-color="#FF927A"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</radialGradient>
|
|
||||||
<linearGradient id="paint3_linear_28_46" x1="1265.58" y1="3661.71" x2="1144.68" y2="3329.24" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient id="paint4_linear_28_46" x1="2489.26" y1="3548.4" x2="2536.25" y2="3236.36" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient id="paint5_linear_28_46" x1="1615.27" y1="2298.63" x2="1651.45" y2="2196.26" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient id="paint6_linear_28_46" x1="2095.19" y1="2779.79" x2="2057.55" y2="2847.94" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 32 KiB |
|
@ -1,109 +0,0 @@
|
||||||
<svg width="2859" height="3858" viewBox="0 0 2859 3858" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<g clip-path="url(#clip0_35_87)">
|
|
||||||
<path opacity="0.997" d="M229.331 2573.92C227.658 2571.29 287.004 2544.38 324.218 2448.2C337.11 2414.69 347.357 2369.08 337.943 2323.16C334.776 2307.96 329.583 2292.41 320.457 2279.96C313.372 2270.39 303.743 2262.04 292.932 2259.23C281.648 2255.61 267.954 2257.93 254.626 2263.16C231.995 2270.93 211.286 2285.24 190.078 2302.35C167.021 2283.54 134.978 2268.82 104.768 2273.7C81.902 2276.54 60.511 2295.24 49.4462 2318.86C3.74465 2410.06 71.315 2519.88 150.29 2625.09C150.29 2625.09 150.29 2625.09 150.29 2625.09C230.276 2725.89 340.979 2812.76 472.956 2860.92C580.106 2900.19 698.127 2914.49 816.398 2905.34C858.558 2901.63 900.297 2891.12 931.227 2867C941.601 2859.12 950.867 2849.65 958.548 2839.11C967.767 2826.46 974.702 2812.27 978.534 2797.4C985.145 2772.44 984.014 2745.1 975.509 2720.73V2720.73C967.343 2698.01 953.089 2677.33 934.061 2665.58C910.149 2650.23 881.933 2641.07 853.199 2637.76C819.885 2634.11 785.627 2639.42 757.021 2654.45C719.662 2673.22 691.325 2709.24 671.796 2748.4C639.342 2814.04 629.429 2890.35 625.585 2963.42C620.787 3054.16 660.729 3141.58 719.642 3201.36C770.676 3252.96 831.322 3289.74 893.723 3308.69C908.697 3313.56 926.857 3313.53 945.412 3314.04C973.343 3314.51 1002.22 3313.39 1029.19 3312.46C1112.71 3309.54 1178.34 3307.56 1247.24 3311.4C1252.48 3312.55 1259.26 3308.03 1265.44 3302.94C1274.49 3294.73 1281.43 3283.17 1287.71 3271.73C1306.29 3237.38 1318.13 3197.66 1326.75 3167.88C1349.83 3064.98 1363.32 3012.13 1366.36 3012.73C1369.41 3013.33 1361.94 3067.36 1344.36 3171.88C1344.36 3171.88 1344.36 3171.88 1344.36 3171.88C1337.33 3202.62 1327.04 3243.92 1308.44 3282.33C1302.39 3294.99 1294.5 3308.84 1282.76 3320.8C1274.53 3329.67 1261.97 3337.01 1246.23 3337.34C1178.13 3335.81 1114.64 3339.62 1030.69 3344.52C1003.79 3346.11 974.453 3347.89 945.212 3348.03C926.769 3348.32 905.587 3348.33 883.825 3342.43C815.106 3322.91 748.321 3284.25 692.192 3228.84C625.184 3162.88 579.614 3066.05 583.303 2961.59C585.929 2885.84 596.46 2803.96 631.931 2729.13C653.524 2683.25 688.026 2640.3 736.117 2614.43C773.614 2594.93 816.524 2587.77 858.202 2592.39C893.307 2596.11 928.083 2607.44 958.736 2626.81C987.785 2645.66 1008.37 2674.19 1019.07 2705.51V2705.51C1030.67 2738.69 1032.2 2775.02 1023.26 2809.17C1017.73 2829.86 1008.36 2849.2 995.965 2866.3C985.637 2880.55 973.211 2893.24 959.166 2903.86C917.766 2934.55 867.899 2948.06 819.932 2951.28C695.515 2960.79 571.075 2945 457.507 2902.73C317.198 2850.29 201.177 2757.52 118.223 2650.2V2650.2C32.6442 2545.24 -32.8981 2417.48 17.6801 2303.93C33.4423 2270.48 64.451 2246.14 100.199 2240.83C136.634 2236.45 169.491 2255.33 190.178 2280.49C205.009 2262.04 222.599 2245.98 243.989 2236.31C261.83 2229.19 281.993 2227.28 301.035 2233.04C318.973 2239.12 332.793 2251.36 341.852 2265.2C353.144 2282.35 358.941 2301.28 361.69 2318.87C370.075 2371.61 356.822 2420.33 340.993 2455.25C291.994 2563.91 225.032 2567.17 229.331 2573.92V2573.92Z" fill="black"/>
|
|
||||||
<path d="M1160.62 2299.49C1160.62 2299.49 1166.66 2341.8 1118.3 2468.75C1069.94 2595.69 1066.92 2885.85 1042.74 2949.32C1018.56 3012.79 885.57 3224.37 915.795 3411.76C946.02 3599.15 1094.12 3865.13 1275.47 3798.64C1456.82 3732.14 1420.55 3744.23 1420.55 3744.23C1420.55 3744.23 1946.46 3859.09 2294.05 3659.6C2372.63 3695.87 2420.99 3726.1 2538.87 3656.58C2656.74 3587.06 2717.19 3396.65 2714.17 3266.68C2711.15 3136.71 2523.75 2852.6 2502.6 2792.15C2481.44 2731.7 2402.86 2435.5 2363.56 2311.58C2324.27 2187.66 2354.5 2166.5 2354.5 2166.5L1160.62 2299.49Z" fill="#DE5700" stroke="black" stroke-width="46.0804"/>
|
|
||||||
<path d="M2798.72 15.367C2698.4 16.4866 2391.12 184.492 2306.37 277.783C2219.35 373.579 2165.64 521.033 2148.97 571.513C2050.88 508.595 1907.17 507.155 1907.17 507.155C1907.17 507.155 1991.8 479.955 2082.48 455.775C1925.31 401.371 1722.8 449.727 1722.8 449.727C1722.8 449.727 1813.47 349.989 1895.08 277.45C1768.13 310.697 1620.04 383.233 1529.36 437.638C1553.54 401.368 1595.86 362.076 1680.49 244.199C1447.75 301.626 1160.61 528.318 1060.87 612.947C1072.96 537.385 1103.19 489.025 1139.46 404.395C1002.07 499.513 937.628 607.905 907.715 681.853C876.542 624.261 794.11 483.695 690.543 400.173C558.035 293.312 45.0983 126.611 113.489 254.844C181.88 383.077 164.781 558.322 207.526 827.611C250.27 1096.9 634.972 1250.78 634.972 1250.78C637.192 1249.99 639.395 1249.09 641.592 1248.17C619.011 1319.85 598.866 1424.54 583.679 1597.01C511.014 1706.01 478.959 1727.38 470.41 1767.99C540.938 1733.8 575.13 1708.15 626.423 1695.32C581.542 1770.13 579.407 1872.71 598.642 2035.14C634.975 1943.24 632.833 1945.37 671.303 1917.59C681.988 2026.59 705.503 2086.43 733.287 2120.63C743.973 2060.78 776.031 2037.28 776.031 2037.28C776.031 2037.28 797.404 2167.65 859.383 2257.41C872.207 2178.34 887.165 2165.51 887.165 2165.51C887.165 2165.51 1135.08 2490.37 1767.7 2456.17C2400.31 2421.98 2579.84 1985.98 2579.84 1985.98C2579.84 1985.98 2592.66 2041.56 2592.66 2062.93C2639.68 1994.54 2669.6 1853.48 2669.6 1853.48C2669.6 1853.48 2703.8 1934.69 2695.25 1985.98C2733.72 1921.86 2742.26 1763.72 2725.17 1691.05C2785.01 1755.17 2836.31 1776.54 2836.31 1776.54C2836.31 1776.54 2703.79 1545.72 2699.52 1507.25C2695.25 1468.78 2793.56 1562.81 2793.56 1562.81C2793.56 1562.81 2731.97 1460.26 2716.62 1432.45C2659.41 1328.78 2605.12 1139.43 2528.87 1011.72C2592.86 970.123 2850.88 788.773 2843.33 573.68C2834.72 328.21 2786.46 176.103 2827.99 51.0384C2836.43 25.6346 2824.3 15.0816 2798.72 15.367V15.367Z" fill="#DE5700"/>
|
|
||||||
<path d="M1160.62 2299.49C1160.62 2299.49 1166.66 2341.8 1118.3 2468.75C1069.94 2595.69 1066.92 2885.85 1042.74 2949.32C1018.56 3012.79 885.57 3224.37 915.795 3411.76C946.02 3599.15 1094.12 3865.13 1275.47 3798.64C1456.82 3732.14 1420.55 3744.23 1420.55 3744.23C1420.55 3744.23 1946.46 3859.09 2294.05 3659.6C2372.63 3695.87 2420.99 3726.1 2538.87 3656.58C2656.74 3587.06 2717.19 3396.65 2714.17 3266.68C2711.15 3136.71 2523.75 2852.6 2502.6 2792.15C2481.44 2731.7 2402.86 2435.5 2363.56 2311.58C2324.27 2187.66 2354.5 2166.5 2354.5 2166.5L1160.62 2299.49Z" fill="#DE5700"/>
|
|
||||||
<path d="M1940.31 2212.63L1557.07 2255.32C1406.21 2289.92 1288.96 2332.21 1288.96 2332.21C1288.96 2332.21 1220.57 2746.83 1233.39 2862.24C1246.22 2977.65 1173.55 3152.9 1212.02 3328.15C1245.61 3481.2 1311.83 3644.02 1558.64 3765.38C1710.04 3782.34 1960.24 3792 2176.82 3713.48C2280.67 3629.51 2354.73 3520.47 2383.22 3435.02C2447.33 3242.67 2370.39 2909.27 2340.47 2840.87C2310.55 2772.48 2344.75 2558.76 2178.04 2315.11C2132.1 2247.96 2043.91 2219.17 1940.31 2212.63Z" fill="#F7EDE9"/>
|
|
||||||
<path opacity="0.6" d="M2798.72 15.367C2698.4 16.4866 2391.12 184.492 2306.37 277.783C2219.35 373.579 2165.64 521.033 2148.97 571.513C2050.88 508.595 1907.17 507.155 1907.17 507.155C1907.17 507.155 1991.8 479.955 2082.48 455.775C1925.31 401.371 1722.8 449.727 1722.8 449.727C1722.8 449.727 1813.47 349.989 1895.08 277.45C1768.13 310.697 1620.04 383.233 1529.36 437.638C1553.54 401.368 1595.86 362.076 1680.49 244.199C1447.75 301.626 1160.61 528.318 1060.87 612.947C1072.96 537.385 1103.19 489.025 1139.46 404.395C1002.07 499.513 937.628 607.905 907.715 681.853C876.542 624.261 794.11 483.695 690.543 400.173C558.035 293.312 45.0983 126.611 113.489 254.844C181.88 383.077 164.781 558.322 207.526 827.611C250.27 1096.9 634.972 1250.78 634.972 1250.78C637.192 1249.99 639.395 1249.09 641.592 1248.17C619.011 1319.85 598.866 1424.54 583.679 1597.01C511.014 1706.01 478.959 1727.38 470.41 1767.99C540.938 1733.8 575.13 1708.15 626.423 1695.32C581.542 1770.13 579.407 1872.71 598.642 2035.14C634.975 1943.24 632.833 1945.37 671.303 1917.59C681.988 2026.59 705.503 2086.43 733.287 2120.63C743.973 2060.78 776.031 2037.28 776.031 2037.28C776.031 2037.28 797.404 2167.65 859.383 2257.41C872.207 2178.34 887.165 2165.51 887.165 2165.51C887.165 2165.51 1135.08 2490.37 1767.7 2456.17C2400.31 2421.98 2579.84 1985.98 2579.84 1985.98C2579.84 1985.98 2592.66 2041.56 2592.66 2062.93C2639.68 1994.54 2669.6 1853.48 2669.6 1853.48C2669.6 1853.48 2703.8 1934.69 2695.25 1985.98C2733.72 1921.86 2742.26 1763.72 2725.17 1691.05C2785.01 1755.17 2836.31 1776.54 2836.31 1776.54C2836.31 1776.54 2703.79 1545.72 2699.52 1507.25C2695.25 1468.78 2793.56 1562.81 2793.56 1562.81C2793.56 1562.81 2731.97 1460.26 2716.62 1432.45C2659.41 1328.78 2605.12 1139.43 2528.87 1011.72C2592.86 970.123 2850.88 788.773 2843.33 573.68C2834.72 328.21 2786.46 176.103 2827.99 51.0384C2836.43 25.6346 2824.3 15.0816 2798.72 15.367V15.367Z" fill="url(#paint0_radial_35_87)"/>
|
|
||||||
<path d="M1785.69 1777.75C1684.07 1778.04 1631.38 1822.48 1594.58 1842.79C1435.61 2029.15 1115.77 1926.47 942.736 2050.1C912.815 2071.47 871.139 2186.88 871.139 2186.88L873.322 2195.17C881.064 2170.83 887.165 2165.51 887.165 2165.51C887.165 2165.51 1135.08 2490.37 1767.7 2456.17C2277.77 2428.6 2493.17 2139.93 2557.52 2029.09C2551.52 1973.12 2534.07 1898.88 2483.67 1896.22C2402.45 1891.95 2066.9 1864.16 1964.32 1808.59C1922.64 1786.02 1855.22 1777.56 1785.69 1777.75V1777.75Z" fill="#F7EDE9"/>
|
|
||||||
<path opacity="0.993" d="M1961.57 1985.15C1963.63 1987.09 1933.18 2033.96 1856.33 2063.83V2063.83C1839.85 2070.21 1822.61 2075.45 1804.72 2079.62C1766.98 2088.41 1729.87 2091.61 1698.49 2092.27C1674.97 2092.78 1655.68 2091.74 1642.07 2090.22C1635 2089.43 1629.58 2088.53 1625.85 2087.62C1623.95 2087.15 1622.51 2086.68 1621.54 2086.24C1621.04 2086.01 1620.67 2085.78 1620.42 2085.57C1620.15 2085.33 1620.02 2085.11 1620.03 2084.89C1620.05 2084.67 1620.2 2084.47 1620.49 2084.27C1620.76 2084.08 1621.15 2083.91 1621.67 2083.73C1622.67 2083.4 1624.14 2083.08 1626.06 2082.78C1629.77 2082.2 1635.24 2081.66 1642.21 2081.09C1655.61 2079.99 1674.75 2078.77 1697.58 2076.59C1728.3 2073.63 1764.16 2069.35 1800.38 2060.94C1817.58 2056.95 1834.05 2052.22 1849.95 2046.59C1918.62 2022.43 1958.6 1982.34 1961.57 1985.15V1985.15Z" fill="black"/>
|
|
||||||
<path d="M1934.67 1959.27C1935.77 1956.91 1954.37 1960.97 1967.17 1981.57C1979.98 2002.16 1975.41 2020.64 1972.82 2020.59C1970 2020.53 1967.84 2002.79 1958.14 1987.19C1948.44 1971.58 1933.47 1961.83 1934.67 1959.27V1959.27Z" fill="black"/>
|
|
||||||
<path d="M1263.38 1639.08C1266.22 1756.73 1183.41 1844.17 1098.66 1852.16C951.388 1866.04 891.515 1767.76 901.936 1653.12C912.303 1539.07 1011.03 1433.96 1109.23 1430.52C1193.46 1427.58 1260.47 1518.48 1263.38 1639.08Z" fill="black"/>
|
|
||||||
<g filter="url(#filter0_f_35_87)">
|
|
||||||
<path d="M1109.1 1636.63C1138.87 1598.95 1137.08 1543.74 1105.1 1513.3C1073.11 1482.87 1023.06 1488.73 993.29 1526.41C963.522 1564.08 965.316 1619.29 997.297 1649.73C1029.28 1680.17 1079.34 1674.3 1109.1 1636.63Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M1109.1 1636.63C1138.87 1598.95 1137.08 1543.74 1105.1 1513.3C1073.11 1482.87 1023.06 1488.73 993.29 1526.41C963.522 1564.08 965.316 1619.29 997.297 1649.73C1029.28 1680.17 1079.34 1674.3 1109.1 1636.63Z" fill="#DEDEDE"/>
|
|
||||||
<g filter="url(#filter1_f_35_87)">
|
|
||||||
<path d="M1220.38 1725.27C1218.97 1703.96 1200.95 1686.44 1180.12 1686.13C1159.3 1685.82 1143.56 1702.84 1144.97 1724.14C1146.38 1745.45 1164.4 1762.98 1185.22 1763.29C1206.05 1763.6 1221.79 1746.58 1220.38 1725.27Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M1217.34 1725.22C1216.05 1705.95 1199.48 1690.11 1180.33 1689.83C1161.18 1689.54 1146.71 1704.93 1148.01 1724.2C1149.3 1743.46 1165.87 1759.31 1185.02 1759.59C1204.17 1759.87 1218.64 1744.48 1217.34 1725.22Z" fill="#DEDEDE"/>
|
|
||||||
<path d="M2111.74 1483.68C2108.91 1601.33 2191.71 1688.77 2276.47 1696.76C2423.74 1710.64 2483.61 1612.36 2473.19 1497.72C2462.82 1383.67 2364.09 1278.56 2265.89 1275.13C2181.66 1272.18 2114.65 1363.09 2111.74 1483.68Z" fill="black"/>
|
|
||||||
<g filter="url(#filter2_f_35_87)">
|
|
||||||
<path d="M2266.02 1481.23C2236.25 1443.55 2238.05 1388.34 2270.03 1357.9C2302.01 1327.47 2352.07 1333.34 2381.83 1371.01C2411.6 1408.68 2409.81 1463.9 2377.83 1494.33C2345.85 1524.77 2295.79 1518.9 2266.02 1481.23Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M2266.02 1481.23C2236.25 1443.55 2238.05 1388.34 2270.03 1357.9C2302.01 1327.47 2352.07 1333.34 2381.83 1371.01C2411.6 1408.68 2409.81 1463.9 2377.83 1494.33C2345.85 1524.77 2295.79 1518.9 2266.02 1481.23Z" fill="#DEDEDE"/>
|
|
||||||
<g filter="url(#filter3_f_35_87)">
|
|
||||||
<path d="M2154.74 1569.87C2156.15 1548.56 2174.17 1531.04 2195 1530.73C2215.83 1530.42 2231.57 1547.44 2230.16 1568.75C2228.75 1590.05 2210.72 1607.58 2189.9 1607.89C2169.07 1608.2 2153.33 1591.18 2154.74 1569.87Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M2157.78 1569.82C2159.08 1550.55 2175.65 1534.71 2194.79 1534.43C2213.94 1534.15 2228.41 1549.53 2227.12 1568.8C2225.82 1588.06 2209.25 1603.91 2190.1 1604.19C2170.96 1604.47 2156.49 1589.08 2157.78 1569.82Z" fill="#DEDEDE"/>
|
|
||||||
<path d="M1662.35 1829.49C1645.46 1787.85 1850.52 1752.32 1854.28 1791.71C1858.37 1834.59 1804.4 1912.61 1777.2 1917.14C1750 1921.68 1680.39 1873.96 1662.35 1829.49V1829.49Z" fill="black"/>
|
|
||||||
<g opacity="0.8">
|
|
||||||
<g filter="url(#filter4_f_35_87)">
|
|
||||||
<path d="M1786.9 1793.91C1788.82 1786.22 1801.15 1781.29 1814.45 1782.91C1827.74 1784.53 1836.97 1792.08 1835.05 1799.77C1833.13 1807.46 1820.8 1812.39 1807.51 1810.77C1794.21 1809.15 1784.99 1801.61 1786.9 1793.91Z" fill="#BEBEBE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M1788.84 1794.15C1790.59 1787.19 1801.91 1782.76 1814.14 1784.25C1826.36 1785.74 1834.85 1792.58 1833.11 1799.54C1831.36 1806.49 1820.04 1810.92 1807.81 1809.43C1795.59 1807.94 1787.1 1801.1 1788.84 1794.15Z" fill="#DEDEDE"/>
|
|
||||||
</g>
|
|
||||||
<path d="M2741.41 163.935C2735.43 163.645 2728.58 173.489 2718.76 194.994C2673.88 293.306 2462.29 385.213 2381.08 483.525C2299.87 581.837 2284.9 697.243 2374.67 851.122C2421.52 931.442 2482.9 980.277 2532.12 1009.56C2600.59 964.628 2850.77 785.686 2843.33 573.68C2841.17 511.985 2836.51 456.206 2831.39 405.253C2769.94 259.579 2759.63 164.818 2741.41 163.935V163.935Z" fill="url(#paint1_radial_35_87)"/>
|
|
||||||
<path d="M181.665 291.229C163.173 289.362 174.995 366.697 171.814 505.727C180.547 595.591 187.448 701.123 207.526 827.611C246.789 1074.97 573.781 1224.58 626.915 1247.37C670.403 1199.53 739.457 1106.83 766.704 960.629C806.777 745.606 754.64 615.556 641.83 530.754C529.02 445.951 288.043 418.155 211.526 319.567C197.179 301.081 187.769 291.846 181.665 291.229V291.229Z" fill="url(#paint2_radial_35_87)"/>
|
|
||||||
<path d="M2798.72 15.367C2698.4 16.4866 2391.12 184.492 2306.37 277.783C2219.35 373.579 2165.64 521.033 2148.97 571.513C2050.88 508.595 1907.17 507.155 1907.17 507.155C1907.17 507.155 1991.8 479.955 2082.48 455.775C1925.31 401.371 1722.8 449.727 1722.8 449.727C1722.8 449.727 1813.47 349.989 1895.08 277.45C1768.13 310.697 1620.04 383.233 1529.36 437.638C1553.54 401.368 1595.86 362.076 1680.49 244.199C1447.75 301.626 1160.61 528.318 1060.87 612.947C1072.96 537.385 1103.19 489.025 1139.46 404.395C1002.07 499.513 937.628 607.905 907.715 681.853C876.542 624.261 794.11 483.695 690.543 400.173C558.035 293.312 45.0983 126.611 113.489 254.844C181.88 383.077 164.781 558.322 207.526 827.611C250.27 1096.9 634.972 1250.78 634.972 1250.78C637.192 1249.99 639.395 1249.09 641.592 1248.17C619.011 1319.85 598.866 1424.54 583.679 1597.01C511.014 1706.01 478.959 1727.38 470.41 1767.99C540.938 1733.8 575.13 1708.15 626.423 1695.32C581.542 1770.13 579.407 1872.71 598.642 2035.14C634.975 1943.24 632.833 1945.37 671.303 1917.59C681.988 2026.59 705.503 2086.43 733.287 2120.63C743.973 2060.78 776.031 2037.28 776.031 2037.28C776.031 2037.28 797.404 2167.65 859.383 2257.41C872.207 2178.34 887.165 2165.51 887.165 2165.51C887.165 2165.51 1135.08 2490.37 1767.7 2456.17C2400.31 2421.98 2579.84 1985.98 2579.84 1985.98C2579.84 1985.98 2592.66 2041.56 2592.66 2062.93C2639.68 1994.54 2669.6 1853.48 2669.6 1853.48C2669.6 1853.48 2703.8 1934.69 2695.25 1985.98C2733.72 1921.86 2742.26 1763.72 2725.17 1691.05C2785.01 1755.17 2836.31 1776.54 2836.31 1776.54C2836.31 1776.54 2703.79 1545.72 2699.52 1507.25C2695.25 1468.78 2793.56 1562.81 2793.56 1562.81C2793.56 1562.81 2731.97 1460.26 2716.62 1432.45C2659.41 1328.78 2605.12 1139.43 2528.87 1011.72C2592.86 970.123 2850.88 788.773 2843.33 573.68C2834.72 328.21 2786.46 176.103 2827.99 51.0384C2836.43 25.6346 2824.3 15.0816 2798.72 15.367V15.367Z" stroke="black" stroke-width="30.7203" stroke-linecap="round" stroke-linejoin="round"/>
|
|
||||||
<path d="M1166.07 3775.9C1091.27 3651.94 1054.81 3567.11 1049.59 3511.42C1044.78 3460.13 1038.37 3398.15 1075.24 3428.61C1085.93 3383.72 1083.79 3358.08 1111.57 3370.9C1139.36 3383.72 1158.59 3411.51 1158.59 3411.51C1158.59 3411.51 1154.32 3347.39 1182.1 3368.76C1233.19 3399.52 1324.44 3688.35 1313.81 3770.16C1302.14 3860.06 1231.96 3879.6 1166.07 3775.9V3775.9Z" fill="url(#paint3_linear_35_87)" stroke="black" stroke-width="23.0402"/>
|
|
||||||
<path d="M2556.53 3668.47C2609.53 3533.74 2631.28 3444 2627.1 3388.22C2623.26 3336.85 2619.21 3274.67 2587.96 3310.87C2569.91 3268.41 2567.73 3242.76 2542.48 3260.06C2517.23 3277.35 2502.92 3307.96 2502.92 3307.96C2502.92 3307.96 2496.4 3244.03 2472.59 3269.75C2427.37 3308.62 2385.74 3608.66 2409.91 3687.53C2436.47 3774.21 2508.93 3781.73 2556.53 3668.47V3668.47Z" fill="url(#paint4_linear_35_87)" stroke="black" stroke-width="23.0402"/>
|
|
||||||
<path d="M1562.1 3063.57C1524.1 3059.67 1486.65 3074.05 1455.28 3094.55C1440.72 3104.25 1426.76 3115.03 1414.48 3127.52C1438.67 3156.34 1465.72 3183.02 1496.29 3205.05C1502.66 3208.89 1510.79 3214.39 1518.35 3210.58C1525.16 3205.3 1523.61 3195.64 1524.22 3188.07C1530.46 3197.06 1541.84 3202.2 1552.66 3201.65C1562.44 3199.92 1561.73 3187.56 1560.44 3180.1C1559.69 3173.07 1556.6 3166.42 1556.17 3159.41C1562.43 3160.56 1568.02 3169.72 1575.98 3167.49C1584.76 3164.88 1580.38 3153.58 1580.28 3146.94C1575.9 3118.83 1568.65 3091.24 1562.1 3063.57V3063.57Z" fill="url(#paint5_linear_35_87)"/>
|
|
||||||
<path d="M1517.64 2663.48C1517.64 2663.48 1517.64 2663.48 1517.67 2663.48C1520.97 2664.02 1526.42 2740.85 1532.65 2874.63C1534.91 2900.48 1540.5 2925.66 1547.39 2954.9C1554.58 2985.32 1562.49 3014.75 1571.38 3047.9C1578.08 3072.85 1585.59 3099.84 1591.55 3126.74C1593.42 3135.07 1595.31 3143.95 1596.25 3153.37C1596.57 3156.1 1596.76 3159.46 1596.39 3163.39C1597.28 3165.14 1595.58 3169.34 1590.43 3175.07V3175.07C1580.39 3180.9 1569.4 3179.92 1561.47 3173.37V3173.37C1559.01 3171.29 1557.89 3169.89 1557.57 3169.88C1559.13 3171.17 1561.37 3170.83 1565.41 3169.42H1565.41C1567.07 3167.09 1567.82 3166.38 1567.48 3165.67C1567.51 3167 1568.74 3169.46 1569.97 3173.33V3173.33C1574.02 3183.37 1572.31 3196.44 1561.97 3206.72V3206.72C1550.18 3212.97 1538.44 3211.07 1531.04 3204.36V3204.36C1528.22 3202.07 1526.49 3200.26 1525.34 3199.66H1525.34C1524.94 3200.04 1525.8 3199.59 1528.79 3199.47V3199.47C1531.49 3196.56 1532.68 3197.17 1530.81 3199.19C1530.12 3201.61 1529.26 3205.67 1526.9 3210.83C1526.22 3212.23 1525.38 3213.53 1524.39 3214.71C1520.87 3218.89 1515.47 3221.56 1508.72 3222C1497.43 3220.63 1489.74 3215.57 1485.08 3211.33C1426.38 3166.73 1381.27 3109.36 1347.87 3050.36C1312.57 2987.93 1289.98 2924.54 1275.1 2870.05C1253.47 2738.94 1243.01 2664.06 1246.21 2663.48C1249.41 2662.9 1265.97 2736.63 1291.73 2866.13V2866.13C1308.09 2918.97 1331.53 2980.15 1366.49 3039.63C1399.64 3096.09 1443.21 3150.79 1498.89 3192.79C1504.65 3196.18 1508.06 3199.72 1509.67 3198.89C1507.79 3199.52 1506.9 3199.67 1506.47 3200.08C1506.35 3200.2 1506.26 3200.33 1506.2 3200.5C1506.94 3199.44 1507.34 3196.53 1508.73 3192.3C1508.67 3188.65 1512.14 3183.04 1520.37 3177.93V3177.93C1527.93 3176.03 1533.99 3177.15 1537.72 3180.15H1537.72C1541.56 3182.71 1544.07 3185.1 1545.79 3186.59V3186.59C1547.9 3187.76 1550.06 3189.47 1548.1 3188.32H1548.1C1549.89 3189.46 1549.02 3184.96 1548.23 3180.69C1547.29 3178.15 1545.76 3174.34 1544.81 3168.99C1543.68 3162.9 1546.08 3156.29 1552.14 3150.81V3150.81C1559.11 3147.32 1565.42 3147.49 1569.99 3150.72V3150.72C1573.53 3153.21 1575.53 3155.29 1576.51 3156.24C1576.77 3156.9 1578.18 3157.59 1576.82 3156.92C1573.94 3160.94 1572.68 3161.93 1573.89 3160.86C1574.1 3159.67 1573.92 3157.84 1573.76 3155.45C1573.11 3147.76 1571.43 3139.75 1569.7 3131.46C1564.19 3105.34 1557.05 3078.42 1550.71 3053.27C1542.36 3020.15 1534.87 2989.98 1528.34 2959.17C1522.03 2929.53 1516.99 2902.93 1515.44 2875.5C1513.55 2741.07 1514.34 2664.11 1517.6 2663.48C1517.63 2663.47 1517.63 2663.48 1517.63 2663.48L1517.64 2663.48Z" fill="black"/>
|
|
||||||
<path d="M1565.2 3063.14C1564.91 3065.73 1555.96 3066.2 1541.37 3069.17C1525.48 3072.41 1508.74 3077.63 1488.07 3087.53C1480.4 3091.19 1473 3095.12 1465.92 3099.1C1438.07 3119.19 1417.43 3130.85 1415.06 3127.79C1412.69 3124.73 1429.23 3107.59 1456.25 3085.16C1463.45 3080.3 1471.31 3075.72 1479.69 3071.69C1501.77 3061.09 1522.77 3056.66 1540.11 3056.79C1556.81 3056.91 1565.43 3061.05 1565.2 3063.14V3063.14Z" fill="black"/>
|
|
||||||
<path d="M2047.1 3038.3C2015.08 3027.25 1989.62 3002.03 1971.75 2973.82C1956.72 2949.74 1945.57 2923.17 1939.25 2895.65C1918.3 2922.05 1897.04 2948.41 1879.78 2977.47C1875.73 2983.29 1871.18 2994.54 1881.77 2996.72C1891.18 2999.42 1900.88 2996.43 1910.31 2997.32C1906.93 3001.57 1900.26 3003.74 1896.41 3008.26C1889.29 3014.81 1882.1 3026.28 1888.65 3035.81C1897.4 3046.28 1912.16 3048.19 1924.86 3048.06C1933.1 3048.55 1920.45 3056.52 1921.15 3061.12C1917.09 3068.66 1918.61 3081.73 1929.47 3082C1942.49 3082.82 1954.68 3077.29 1966.93 3073.96C1994.86 3064.92 2021.6 3052.63 2047.1 3038.3V3038.3Z" fill="url(#paint6_linear_35_87)"/>
|
|
||||||
<path d="M2136.43 2590.6C2136.43 2590.6 2136.43 2590.6 2136.46 2590.61C2138.25 2591.35 2133.68 2615.94 2123.09 2662.55C2113.97 2692.52 2095.65 2744.12 2055.96 2781.07C2017.94 2816.07 1984.67 2855.47 1945.22 2905.25C1930.26 2924.17 1915.03 2943.97 1901.15 2964.57C1896.69 2971.21 1892.4 2977.73 1888.9 2984.37C1887.31 2989.65 1884.88 2991 1886.02 2988.64C1885.41 2987.11 1884.89 2986.63 1883.18 2985.7C1883.88 2986.16 1886.21 2985.54 1889.98 2985.28C1893.03 2984.76 1897.54 2984.08 1903.47 2984.6C1910.57 2985.44 1916.49 2990.55 1919.26 2999.16C1919.62 3007.51 1917.02 3013.57 1913.15 3016.69C1909.61 3020.25 1906.45 3022.49 1904.48 3024.27C1901.57 3026.15 1900.4 3031.06 1902.55 3033.46C1899.98 3033.96 1903.61 3032.95 1908.88 3033.72C1909.75 3033.84 1910.66 3034.02 1911.6 3034.26C1914.77 3034.15 1919.24 3034.1 1924.84 3035.26C1930.94 3036.4 1936.38 3041.11 1939.46 3048.98C1940.49 3058.56 1938.28 3064.62 1936.14 3066.9C1934.09 3071.33 1932.13 3074.45 1931.58 3076.77C1932.68 3076.62 1931.02 3075.79 1927.76 3071.11C1927.93 3072.71 1932.65 3070.31 1940.05 3069.84C2060.52 3040.57 2153.12 2954.06 2211.42 2887.43C2275.45 2796.57 2313.04 2746.24 2315.58 2747.99C2318.13 2749.74 2285.39 2803.44 2224.48 2897.39C2167.72 2967.95 2073.72 3059.09 1945.44 3091.98C1939.78 3094.05 1930.07 3095.88 1918.09 3091.52C1909.3 3084.14 1906.86 3075.86 1909.67 3069.89C1911.51 3064.11 1913.88 3059.89 1915.46 3056.71C1916.37 3052.55 1918.09 3051.64 1917.32 3054.22C1919 3056.69 1919.32 3057.64 1919.99 3057.49C1918.66 3056.99 1915.95 3057.25 1912.03 3057.13C1910.91 3057.36 1909.69 3057.5 1908.41 3057.54C1900.62 3057.76 1890.34 3054.11 1882.13 3043.31C1876.61 3030.37 1879.45 3016.48 1889 3007.16C1892.37 3004.14 1895.17 3002.25 1896.61 3000.66C1896.82 2999.58 1897.47 2999.97 1896.83 3002.48C1898.68 3005.68 1899.46 3006.96 1901.14 3007.12C1899.94 3006.74 1897.3 3007.4 1893.29 3007.76C1889.92 3008.39 1884.94 3008.85 1878.59 3007.7C1870.78 3005.36 1865.44 2999.58 1863.79 2991.91C1863.56 2981.4 1866.8 2975.32 1869.05 2973.44C1873.27 2965.66 1878.02 2958.53 1882.67 2951.79C1897.28 2930.57 1913.07 2910.54 1928.48 2891.68C1968.69 2842.39 2004.17 2802.5 2044.22 2767.98C2081.07 2736.75 2101.47 2687.54 2112.56 2659.14C2126.21 2614.17 2134.44 2590.46 2136.39 2590.6C2136.42 2590.61 2136.42 2590.61 2136.42 2590.61L2136.43 2590.6Z" fill="black"/>
|
|
||||||
<path d="M2038.8 3040.8C2037.48 3043.01 2027.68 3040.96 2012.89 3031.42C1997.72 3021.64 1980.73 3005.97 1966.44 2984.73C1959.64 2974.61 1954.07 2964.16 1949.75 2953.83C1940.62 2921.19 1937.42 2899.28 1941.52 2898.01C1945.61 2896.74 1956.14 2916.23 1967.96 2946.88C1972.82 2955.89 1978.21 2964.93 1984.35 2974.02C2009.03 3010.53 2041.64 3036.08 2038.8 3040.8V3040.8Z" fill="black"/>
|
|
||||||
<path d="M1643 3039.5V3096H1697.5V3039.5C1697.5 3039.5 1697.5 2974.5 1764.5 2974.5C1831.5 2974.5 1823.5 3039.5 1823.5 3039.5V3096H1874V3039.5C1869.33 3003.67 1850 2922 1764.5 2922C1678.44 2922 1643.67 3001 1643 3039.5Z" fill="#C4C4C4" stroke="black" stroke-width="14"/>
|
|
||||||
<rect x="1604.5" y="3089.5" width="333" height="269" fill="#F7CF45" stroke="black" stroke-width="15"/>
|
|
||||||
</g>
|
|
||||||
<defs>
|
|
||||||
<filter id="filter0_f_35_87" x="951.462" y="1473.2" width="199.468" height="216.64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="10.3119" result="effect1_foregroundBlur_35_87"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter1_f_35_87" x="1135.42" y="1676.67" width="94.5019" height="96.079" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="4.72782" result="effect1_foregroundBlur_35_87"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter2_f_35_87" x="2224.19" y="1317.8" width="199.468" height="216.64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="10.3119" result="effect1_foregroundBlur_35_87"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter3_f_35_87" x="2145.2" y="1521.27" width="94.5019" height="96.079" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="4.72782" result="effect1_foregroundBlur_35_87"/>
|
|
||||||
</filter>
|
|
||||||
<filter id="filter4_f_35_87" x="1781.61" y="1777.56" width="58.7359" height="38.5579" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
||||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
||||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
||||||
<feGaussianBlur stdDeviation="2.52106" result="effect1_foregroundBlur_35_87"/>
|
|
||||||
</filter>
|
|
||||||
<radialGradient id="paint0_radial_35_87" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(1760.99 1829.81) rotate(-0.182296) scale(306.481 287.176)">
|
|
||||||
<stop stop-color="#CC3100"/>
|
|
||||||
<stop offset="1" stop-color="#DE6B00"/>
|
|
||||||
</radialGradient>
|
|
||||||
<radialGradient id="paint1_radial_35_87" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(2373.33 907.327) rotate(63.7909) scale(608.272 241.85)">
|
|
||||||
<stop stop-color="#FF927A"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</radialGradient>
|
|
||||||
<radialGradient id="paint2_radial_35_87" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(785.008 1066.98) rotate(-157.738) scale(359.552 439.05)">
|
|
||||||
<stop stop-color="#FF927A"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</radialGradient>
|
|
||||||
<linearGradient id="paint3_linear_35_87" x1="1257.34" y1="3813.75" x2="1136.44" y2="3481.28" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient id="paint4_linear_35_87" x1="2481.02" y1="3700.43" x2="2528.01" y2="3388.4" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient id="paint5_linear_35_87" x1="1465.89" y1="3071.73" x2="1527.85" y2="3160.89" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient id="paint6_linear_35_87" x1="1978.5" y1="2970.47" x2="1922.1" y2="3021.61" gradientUnits="userSpaceOnUse">
|
|
||||||
<stop stop-color="#F79041"/>
|
|
||||||
<stop offset="1" stop-color="#F7C199"/>
|
|
||||||
</linearGradient>
|
|
||||||
<clipPath id="clip0_35_87">
|
|
||||||
<rect width="2858.86" height="3857.48" fill="white"/>
|
|
||||||
</clipPath>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 28 KiB |
|
@ -1,10 +1,27 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html dir="ltr">
|
<html dir="ltr">
|
||||||
<head>
|
<head>
|
||||||
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BB8DNPB73F"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag() {
|
||||||
|
dataLayer.push(arguments);
|
||||||
|
}
|
||||||
|
gtag('consent', 'default', {
|
||||||
|
ad_storage: 'denied',
|
||||||
|
analytics_storage: 'denied',
|
||||||
|
});
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', 'G-BB8DNPB73F');
|
||||||
|
</script>
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||||
<meta http-equiv="Pragma" content="no-cache" />
|
<meta http-equiv="Pragma" content="no-cache" />
|
||||||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
||||||
|
<meta http-equiv="Expires" content="0" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
|
|
||||||
<link rel="preload" href="/public/font/v1/300.woff" as="font" type="font/woff" crossorigin />
|
<link rel="preload" href="/public/font/v1/300.woff" as="font" type="font/woff" crossorigin />
|
||||||
<link rel="preload" href="/public/font/v1/300i.woff" as="font" type="font/woff" crossorigin />
|
<link rel="preload" href="/public/font/v1/300i.woff" as="font" type="font/woff" crossorigin />
|
||||||
|
@ -13,7 +30,7 @@
|
||||||
<link rel="preload" href="/public/font/v1/700.woff" as="font" type="font/woff" crossorigin />
|
<link rel="preload" href="/public/font/v1/700.woff" as="font" type="font/woff" crossorigin />
|
||||||
<link rel="preload" href="/public/font/v1/700i.woff" as="font" type="font/woff" crossorigin />
|
<link rel="preload" href="/public/font/v1/700i.woff" as="font" type="font/woff" crossorigin />
|
||||||
|
|
||||||
<link rel="shortcut icon" href="/public/favicon-spaceman.png">
|
<link rel="shortcut icon" href="/public/favicon-spaceman.png" />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
|
|
451
ui/analytics.js
451
ui/analytics.js
|
@ -1,45 +1,67 @@
|
||||||
// @flow
|
// @flow
|
||||||
/*
|
|
||||||
Removed Watchman (internal view tracking) code.
|
|
||||||
This file may eventually implement cantina
|
|
||||||
Refer to 0cc0e213a5c5bf9e2a76316df5d9da4b250a13c3 for initial integration commit
|
|
||||||
refer to ___ for removal commit.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { Lbryio } from 'lbryinc';
|
import { Lbryio } from 'lbryinc';
|
||||||
import * as Sentry from '@sentry/browser';
|
import * as Sentry from '@sentry/browser';
|
||||||
import MatomoTracker from '@datapunt/matomo-tracker-js';
|
import * as RENDER_MODES from 'constants/file_render_modes';
|
||||||
import { history } from './store';
|
import { SDK_API_PATH } from 'config';
|
||||||
import Native from 'native';
|
|
||||||
import ElectronCookies from '@meetfranz/electron-cookies';
|
// --- GA ---
|
||||||
import { generateInitialUrl } from 'util/url';
|
// - Events: 500 max (cannot be deleted).
|
||||||
import { MATOMO_ID, MATOMO_URL } from 'config';
|
// - Dimensions: 25 max (cannot be deleted, but can be "archived"). Usually
|
||||||
|
// tied to an event parameter for reporting purposes.
|
||||||
|
//
|
||||||
|
// Given the limitations above, we need to plan ahead before adding new Events
|
||||||
|
// and Parameters.
|
||||||
|
//
|
||||||
|
// Events:
|
||||||
|
// - Find a Recommended Event that is closest to what you need.
|
||||||
|
// https://support.google.com/analytics/answer/9267735?hl=en
|
||||||
|
// - If doesn't exist, use a Custom Event.
|
||||||
|
//
|
||||||
|
// Parameters:
|
||||||
|
// - Custom parameters don't appear in automated reports until they are tied to
|
||||||
|
// a Dimension.
|
||||||
|
// - Add your entry to GA_DIMENSIONS below -- tt allows us to keep track so that
|
||||||
|
// we don't exceed the limit. Re-use existing parameters if possible.
|
||||||
|
// - Register the Dimension in GA Console to make it visible in reports.
|
||||||
|
|
||||||
|
export const GA_DIMENSIONS = {
|
||||||
|
TYPE: 'type',
|
||||||
|
ACTION: 'action',
|
||||||
|
VALUE: 'value',
|
||||||
|
START_TIME_MS: 'start_time_ms',
|
||||||
|
DURATION_MS: 'duration_ms',
|
||||||
|
END_TIME_MS: 'end_time_ms',
|
||||||
|
};
|
||||||
|
|
||||||
|
// import getConnectionSpeed from 'util/detect-user-bandwidth';
|
||||||
|
|
||||||
|
// let userDownloadBandwidthInBitsPerSecond;
|
||||||
|
// async function getUserBandwidth() {
|
||||||
|
// userDownloadBandwidthInBitsPerSecond = await getConnectionSpeed();
|
||||||
|
// }
|
||||||
|
|
||||||
|
// get user bandwidth every minute, starting after an initial one minute wait
|
||||||
|
// setInterval(getUserBandwidth, 1000 * 60);
|
||||||
|
|
||||||
const isProduction = process.env.NODE_ENV === 'production';
|
const isProduction = process.env.NODE_ENV === 'production';
|
||||||
const devInternalApis = process.env.LBRY_API_URL && process.env.LBRY_API_URL.includes('dev');
|
const devInternalApis = process.env.LBRY_API_URL && process.env.LBRY_API_URL.includes('dev');
|
||||||
|
|
||||||
export const SHARE_INTERNAL = 'shareInternal';
|
const WATCHMAN_BACKEND_ENDPOINT = 'https://watchman.na-backend.odysee.com/reports/playback';
|
||||||
const SHARE_THIRD_PARTY = 'shareThirdParty';
|
const SEND_DATA_TO_WATCHMAN_INTERVAL = 10; // in seconds
|
||||||
|
|
||||||
if (isProduction) {
|
|
||||||
ElectronCookies.enable({
|
|
||||||
origin: 'https://lbry.tv',
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
type Analytics = {
|
type Analytics = {
|
||||||
|
appStartTime: number,
|
||||||
|
eventStartTime: any,
|
||||||
error: (string) => Promise<any>,
|
error: (string) => Promise<any>,
|
||||||
sentryError: ({} | string, {}) => Promise<any>,
|
sentryError: ({} | string, {}) => Promise<any>,
|
||||||
pageView: (string, ?string) => void,
|
|
||||||
setUser: (Object) => void,
|
setUser: (Object) => void,
|
||||||
toggleInternal: (boolean, ?boolean) => void,
|
toggleInternal: (boolean, ?boolean) => void,
|
||||||
apiLogView: (string, string, string, ?number, ?() => void) => Promise<any>,
|
apiLogView: (string, string, string, ?number, ?() => void) => Promise<any>,
|
||||||
apiLogPublish: (ChannelClaim | StreamClaim) => void,
|
apiLogPublish: (ChannelClaim | StreamClaim) => void,
|
||||||
apiSyncTags: ({}) => void,
|
|
||||||
tagFollowEvent: (string, boolean, ?string) => void,
|
tagFollowEvent: (string, boolean, ?string) => void,
|
||||||
playerLoadedEvent: (?boolean) => void,
|
playerLoadedEvent: (string, ?boolean) => void,
|
||||||
playerStartedEvent: (?boolean) => void,
|
playerVideoStartedEvent: (?boolean) => void,
|
||||||
videoStartEvent: (string, number, string, number, string, any, number) => void,
|
videoStartEvent: (?string, number, string, ?number, string, any, ?number, boolean) => void,
|
||||||
videoIsPlaying: (boolean, any) => void,
|
videoIsPlaying: (boolean, any) => void,
|
||||||
videoBufferEvent: (
|
videoBufferEvent: (
|
||||||
StreamClaim,
|
StreamClaim,
|
||||||
|
@ -51,15 +73,20 @@ type Analytics = {
|
||||||
userId: string,
|
userId: string,
|
||||||
playerPoweredBy: string,
|
playerPoweredBy: string,
|
||||||
readyState: number,
|
readyState: number,
|
||||||
|
isLivestream: boolean,
|
||||||
}
|
}
|
||||||
) => Promise<any>,
|
) => Promise<any>,
|
||||||
|
adsFetchedEvent: () => void,
|
||||||
emailProvidedEvent: () => void,
|
emailProvidedEvent: () => void,
|
||||||
emailVerifiedEvent: () => void,
|
emailVerifiedEvent: () => void,
|
||||||
rewardEligibleEvent: () => void,
|
rewardEligibleEvent: () => void,
|
||||||
startupEvent: () => void,
|
initAppStartTime: (startTime: number) => void,
|
||||||
|
startupEvent: (time: number) => void,
|
||||||
|
eventStarted: (name: string, time: number, id?: string) => void,
|
||||||
|
eventCompleted: (name: string, time: number, id?: string) => void,
|
||||||
purchaseEvent: (number) => void,
|
purchaseEvent: (number) => void,
|
||||||
readyEvent: (number) => void,
|
|
||||||
openUrlEvent: (string) => void,
|
openUrlEvent: (string) => void,
|
||||||
|
reportEvent: (string, any) => void,
|
||||||
};
|
};
|
||||||
|
|
||||||
type LogPublishParams = {
|
type LogPublishParams = {
|
||||||
|
@ -69,13 +96,152 @@ type LogPublishParams = {
|
||||||
channel_claim_id?: string,
|
channel_claim_id?: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
let internalAnalyticsEnabled: boolean = false;
|
let internalAnalyticsEnabled: boolean = IS_WEB || false;
|
||||||
if (window.localStorage.getItem(SHARE_INTERNAL) === 'true') internalAnalyticsEnabled = true;
|
// let thirdPartyAnalyticsEnabled: boolean = IS_WEB || false;
|
||||||
|
|
||||||
|
const isGaAllowed = internalAnalyticsEnabled && isProduction;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine the mobile device type viewing the data
|
||||||
|
* This function returns one of 'and' (Android), 'ios', or 'web'.
|
||||||
|
*
|
||||||
|
* @returns {String}
|
||||||
|
*/
|
||||||
|
function getDeviceType() {
|
||||||
|
// We may not care what the device is if it's in a web browser. Commenting out for now.
|
||||||
|
// if (!IS_WEB) {
|
||||||
|
// return 'elt';
|
||||||
|
// }
|
||||||
|
// const userAgent = navigator.userAgent || navigator.vendor || window.opera;
|
||||||
|
//
|
||||||
|
// if (/android/i.test(userAgent)) {
|
||||||
|
// return 'adr';
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// // iOS detection from: http://stackoverflow.com/a/9039885/177710
|
||||||
|
// if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
|
||||||
|
// return 'ios';
|
||||||
|
// }
|
||||||
|
|
||||||
|
// default as web, this can be optimized
|
||||||
|
if (!IS_WEB) {
|
||||||
|
return 'dsk';
|
||||||
|
}
|
||||||
|
return 'web';
|
||||||
|
}
|
||||||
|
// variables initialized for watchman
|
||||||
|
let amountOfBufferEvents = 0;
|
||||||
|
let amountOfBufferTimeInMS = 0;
|
||||||
|
let videoType, userId, claimUrl, playerPoweredBy, videoPlayer, bitrateAsBitsPerSecond, isLivestream;
|
||||||
|
let lastSentTime;
|
||||||
|
|
||||||
|
// calculate data for backend, send them, and reset buffer data for next interval
|
||||||
|
async function sendAndResetWatchmanData() {
|
||||||
|
if (!userId) {
|
||||||
|
return 'Can only be used with a user id';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!videoPlayer) {
|
||||||
|
return 'Video player not initialized';
|
||||||
|
}
|
||||||
|
|
||||||
|
let timeSinceLastIntervalSend = new Date() - lastSentTime;
|
||||||
|
lastSentTime = new Date();
|
||||||
|
|
||||||
|
let protocol;
|
||||||
|
if (videoType === 'application/x-mpegURL' && !isLivestream) {
|
||||||
|
protocol = 'hls';
|
||||||
|
// get bandwidth if it exists from the texttrack (so it's accurate if user changes quality)
|
||||||
|
// $FlowFixMe
|
||||||
|
bitrateAsBitsPerSecond = videoPlayer.tech(true).vhs?.playlists?.media?.().attributes?.BANDWIDTH;
|
||||||
|
} else if (isLivestream) {
|
||||||
|
protocol = 'lvs';
|
||||||
|
// $FlowFixMe
|
||||||
|
bitrateAsBitsPerSecond = videoPlayer.tech(true).vhs?.playlists?.media?.().attributes?.BANDWIDTH;
|
||||||
|
} else {
|
||||||
|
protocol = 'stb';
|
||||||
|
}
|
||||||
|
|
||||||
|
// current position in video in MS
|
||||||
|
const positionInVideo = isLivestream ? 0 : videoPlayer && Math.round(videoPlayer.currentTime()) * 1000;
|
||||||
|
|
||||||
|
// get the duration marking the time in the video for relative position calculation
|
||||||
|
const totalDurationInSeconds = isLivestream ? 0 : videoPlayer && Math.round(videoPlayer.duration());
|
||||||
|
|
||||||
|
// temp: if buffering over the interval, the duration doesn't reset since we don't get an event
|
||||||
|
if (amountOfBufferTimeInMS > timeSinceLastIntervalSend) amountOfBufferTimeInMS = timeSinceLastIntervalSend;
|
||||||
|
|
||||||
|
// build object for watchman backend
|
||||||
|
const objectToSend = {
|
||||||
|
rebuf_count: amountOfBufferEvents,
|
||||||
|
rebuf_duration: amountOfBufferTimeInMS,
|
||||||
|
url: claimUrl.replace('lbry://', ''),
|
||||||
|
device: getDeviceType(),
|
||||||
|
duration: timeSinceLastIntervalSend,
|
||||||
|
protocol,
|
||||||
|
player: playerPoweredBy,
|
||||||
|
user_id: userId.toString(),
|
||||||
|
position: isLivestream ? 0 : Math.round(positionInVideo),
|
||||||
|
rel_position: isLivestream ? 0 : Math.round((positionInVideo / (totalDurationInSeconds * 1000)) * 100),
|
||||||
|
bitrate: bitrateAsBitsPerSecond,
|
||||||
|
bandwidth: undefined,
|
||||||
|
// ...(userDownloadBandwidthInBitsPerSecond && {bandwidth: userDownloadBandwidthInBitsPerSecond}), // add bandwidth if populated
|
||||||
|
};
|
||||||
|
|
||||||
|
// post to watchman
|
||||||
|
await sendWatchmanData(objectToSend);
|
||||||
|
|
||||||
|
// reset buffer data
|
||||||
|
amountOfBufferEvents = 0;
|
||||||
|
amountOfBufferTimeInMS = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
let watchmanInterval;
|
||||||
|
// clear watchman interval and mark it as null (when video paused)
|
||||||
|
function stopWatchmanInterval() {
|
||||||
|
clearInterval(watchmanInterval);
|
||||||
|
watchmanInterval = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// creates the setInterval that will run send to watchman on recurring basis
|
||||||
|
function startWatchmanIntervalIfNotRunning() {
|
||||||
|
if (!watchmanInterval) {
|
||||||
|
// instantiate the first time to calculate duration from
|
||||||
|
lastSentTime = new Date();
|
||||||
|
|
||||||
|
// only set an interval if analytics are enabled and is prod
|
||||||
|
if (isProduction && IS_WEB) {
|
||||||
|
watchmanInterval = setInterval(sendAndResetWatchmanData, 1000 * SEND_DATA_TO_WATCHMAN_INTERVAL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// post data to the backend
|
||||||
|
async function sendWatchmanData(body) {
|
||||||
|
try {
|
||||||
|
const response = await fetch(WATCHMAN_BACKEND_ENDPOINT, {
|
||||||
|
method: 'POST',
|
||||||
|
headers: {
|
||||||
|
Accept: 'application/json',
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
},
|
||||||
|
body: JSON.stringify(body),
|
||||||
|
});
|
||||||
|
return response;
|
||||||
|
} catch (err) {}
|
||||||
|
}
|
||||||
|
|
||||||
const analytics: Analytics = {
|
const analytics: Analytics = {
|
||||||
|
appStartTime: 0,
|
||||||
|
eventStartTime: {},
|
||||||
|
|
||||||
// receive buffer events from tracking plugin and save buffer amounts and times for backend call
|
// receive buffer events from tracking plugin and save buffer amounts and times for backend call
|
||||||
videoBufferEvent: async (claim, data) => {
|
videoBufferEvent: async (claim, data) => {
|
||||||
// stub
|
amountOfBufferEvents = amountOfBufferEvents + 1;
|
||||||
|
amountOfBufferTimeInMS = amountOfBufferTimeInMS + data.bufferDuration;
|
||||||
|
},
|
||||||
|
onDispose: () => {
|
||||||
|
stopWatchmanInterval();
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* Is told whether video is being started or paused, and adjusts interval accordingly
|
* Is told whether video is being started or paused, and adjusts interval accordingly
|
||||||
|
@ -83,11 +249,50 @@ const analytics: Analytics = {
|
||||||
* @param {object} passedPlayer - VideoJS Player object
|
* @param {object} passedPlayer - VideoJS Player object
|
||||||
*/
|
*/
|
||||||
videoIsPlaying: (isPlaying, passedPlayer) => {
|
videoIsPlaying: (isPlaying, passedPlayer) => {
|
||||||
// stub
|
let playerIsSeeking = false;
|
||||||
|
// have to use this because videojs pauses/unpauses during seek
|
||||||
|
// sometimes the seeking function isn't populated yet so check for it as well
|
||||||
|
if (passedPlayer && passedPlayer.seeking) {
|
||||||
|
playerIsSeeking = passedPlayer.seeking();
|
||||||
|
}
|
||||||
|
|
||||||
|
// if being paused, and not seeking, send existing data and stop interval
|
||||||
|
if (!isPlaying && !playerIsSeeking) {
|
||||||
|
sendAndResetWatchmanData();
|
||||||
|
stopWatchmanInterval();
|
||||||
|
// if being told to pause, and seeking, send and restart interval
|
||||||
|
} else if (!isPlaying && playerIsSeeking) {
|
||||||
|
sendAndResetWatchmanData();
|
||||||
|
stopWatchmanInterval();
|
||||||
|
startWatchmanIntervalIfNotRunning();
|
||||||
|
// is being told to play, and seeking, don't do anything,
|
||||||
|
// assume it's been started already from pause
|
||||||
|
} else if (isPlaying && playerIsSeeking) {
|
||||||
|
// start but not a seek, assuming a start from paused content
|
||||||
|
} else if (isPlaying && !playerIsSeeking) {
|
||||||
|
startWatchmanIntervalIfNotRunning();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
videoStartEvent: (claimId, timeToStartVideo, poweredBy, passedUserId, canonicalUrl, passedPlayer, videoBitrate) => {
|
videoStartEvent: (
|
||||||
// sendPromMetric('time_to_start', duration);
|
claimId,
|
||||||
sendMatomoEvent('Media', 'TimeToStart', claimId, timeToStartVideo);
|
timeToStartVideo,
|
||||||
|
poweredBy,
|
||||||
|
passedUserId,
|
||||||
|
canonicalUrl,
|
||||||
|
passedPlayer,
|
||||||
|
videoBitrate,
|
||||||
|
isLivestreamClaim
|
||||||
|
) => {
|
||||||
|
// populate values for watchman when video starts
|
||||||
|
userId = passedUserId;
|
||||||
|
claimUrl = canonicalUrl;
|
||||||
|
playerPoweredBy = poweredBy;
|
||||||
|
isLivestream = isLivestreamClaim;
|
||||||
|
|
||||||
|
videoType = passedPlayer.currentSource().type;
|
||||||
|
videoPlayer = passedPlayer;
|
||||||
|
bitrateAsBitsPerSecond = videoBitrate;
|
||||||
|
!isLivestreamClaim && sendPromMetric('time_to_start', timeToStartVideo, playerPoweredBy);
|
||||||
},
|
},
|
||||||
error: (message) => {
|
error: (message) => {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
|
@ -113,36 +318,17 @@ const analytics: Analytics = {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
pageView: (path, search) => {
|
|
||||||
if (internalAnalyticsEnabled) {
|
|
||||||
const params: { href: string, customDimensions?: Array<{ id: number, value: ?string }> } = { href: `${path}` };
|
|
||||||
const dimensions = [];
|
|
||||||
const searchParams = search && new URLSearchParams(search);
|
|
||||||
|
|
||||||
if (searchParams && searchParams.get('src')) {
|
|
||||||
dimensions.push({ id: 1, value: searchParams.get('src') });
|
|
||||||
}
|
|
||||||
if (dimensions.length) {
|
|
||||||
params['customDimensions'] = dimensions;
|
|
||||||
}
|
|
||||||
MatomoInstance.trackPageView(params);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
setUser: (userId) => {
|
setUser: (userId) => {
|
||||||
if (internalAnalyticsEnabled && userId) {
|
if (isGaAllowed && userId && window.gtag) {
|
||||||
window._paq.push(['setUserId', String(userId)]);
|
window.gtag('set', { user_id: userId });
|
||||||
Native.getAppVersionInfo().then(({ localVersion }) => {
|
|
||||||
sendMatomoEvent('Version', 'Desktop-Version', localVersion);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
toggleInternal: (enabled: boolean): void => {
|
toggleInternal: (enabled: boolean): void => {
|
||||||
internalAnalyticsEnabled = enabled;
|
// Always collect analytics on Odysee for now.
|
||||||
window.localStorage.setItem(SHARE_INTERNAL, enabled);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
toggleThirdParty: (enabled: boolean): void => {
|
toggleThirdParty: (enabled: boolean): void => {
|
||||||
window.localStorage.setItem(SHARE_THIRD_PARTY, enabled);
|
// Always collect analytics on Odysee for now.
|
||||||
},
|
},
|
||||||
|
|
||||||
apiLogView: (uri, outpoint, claimId, timeToStart) => {
|
apiLogView: (uri, outpoint, claimId, timeToStart) => {
|
||||||
|
@ -159,7 +345,7 @@ const analytics: Analytics = {
|
||||||
claim_id: claimId,
|
claim_id: claimId,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (timeToStart) {
|
if (timeToStart && !IS_WEB) {
|
||||||
params.time_to_start = timeToStart;
|
params.time_to_start = timeToStart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -191,80 +377,129 @@ const analytics: Analytics = {
|
||||||
Lbryio.call('event', 'publish', params);
|
Lbryio.call('event', 'publish', params);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
apiSyncTags: (params) => {
|
|
||||||
if (internalAnalyticsEnabled && isProduction) {
|
|
||||||
Lbryio.call('content_tags', 'sync', params);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
adsFetchedEvent: () => {
|
adsFetchedEvent: () => {
|
||||||
sendMatomoEvent('Media', 'AdsFetched');
|
sendGaEvent('ad_fetched');
|
||||||
},
|
},
|
||||||
adsReceivedEvent: (response) => {
|
playerLoadedEvent: (renderMode, embedded) => {
|
||||||
sendMatomoEvent('Media', 'AdsReceived', JSON.stringify(response));
|
const RENDER_MODE_TO_EVENT = (renderMode) => {
|
||||||
|
switch (renderMode) {
|
||||||
|
case RENDER_MODES.VIDEO:
|
||||||
|
return 'loaded_video';
|
||||||
|
case RENDER_MODES.AUDIO:
|
||||||
|
return 'loaded_audio';
|
||||||
|
case RENDER_MODES.MARKDOWN:
|
||||||
|
return 'loaded_markdown';
|
||||||
|
case RENDER_MODES.IMAGE:
|
||||||
|
return 'loaded_image';
|
||||||
|
case 'livestream':
|
||||||
|
return 'loaded_livestream';
|
||||||
|
default:
|
||||||
|
return 'loaded_misc';
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
sendGaEvent('player', {
|
||||||
|
[GA_DIMENSIONS.ACTION]: RENDER_MODE_TO_EVENT(renderMode),
|
||||||
|
[GA_DIMENSIONS.TYPE]: embedded ? 'embedded' : 'onsite',
|
||||||
|
});
|
||||||
},
|
},
|
||||||
adsErrorEvent: (response) => {
|
playerVideoStartedEvent: (embedded) => {
|
||||||
sendMatomoEvent('Media', 'AdsError', JSON.stringify(response));
|
sendGaEvent('player', {
|
||||||
},
|
[GA_DIMENSIONS.ACTION]: 'started_video',
|
||||||
playerLoadedEvent: (embedded) => {
|
[GA_DIMENSIONS.TYPE]: embedded ? 'embedded' : 'onsite',
|
||||||
sendMatomoEvent('Player', 'Loaded', embedded ? 'embedded' : 'onsite');
|
});
|
||||||
},
|
|
||||||
playerStartedEvent: (embedded) => {
|
|
||||||
sendMatomoEvent('Player', 'Started', embedded ? 'embedded' : 'onsite');
|
|
||||||
},
|
},
|
||||||
tagFollowEvent: (tag, following) => {
|
tagFollowEvent: (tag, following) => {
|
||||||
sendMatomoEvent('Tag', following ? 'Tag-Follow' : 'Tag-Unfollow', tag);
|
sendGaEvent('tags', {
|
||||||
},
|
[GA_DIMENSIONS.ACTION]: following ? 'follow' : 'unfollow',
|
||||||
channelBlockEvent: (uri, blocked, location) => {
|
[GA_DIMENSIONS.VALUE]: tag,
|
||||||
sendMatomoEvent(blocked ? 'Channel-Hidden' : 'Channel-Unhidden', uri);
|
});
|
||||||
},
|
},
|
||||||
emailProvidedEvent: () => {
|
emailProvidedEvent: () => {
|
||||||
sendMatomoEvent('Engagement', 'Email-Provided');
|
sendGaEvent('engagement', {
|
||||||
|
[GA_DIMENSIONS.TYPE]: 'email_provided',
|
||||||
|
});
|
||||||
},
|
},
|
||||||
emailVerifiedEvent: () => {
|
emailVerifiedEvent: () => {
|
||||||
sendMatomoEvent('Engagement', 'Email-Verified');
|
sendGaEvent('engagement', {
|
||||||
|
[GA_DIMENSIONS.TYPE]: 'email_verified',
|
||||||
|
});
|
||||||
},
|
},
|
||||||
rewardEligibleEvent: () => {
|
rewardEligibleEvent: () => {
|
||||||
sendMatomoEvent('Engagement', 'Reward-Eligible');
|
sendGaEvent('engagement', {
|
||||||
|
[GA_DIMENSIONS.TYPE]: 'reward_eligible',
|
||||||
|
});
|
||||||
},
|
},
|
||||||
openUrlEvent: (url: string) => {
|
openUrlEvent: (url: string) => {
|
||||||
sendMatomoEvent('Engagement', 'Open-Url', url);
|
sendGaEvent('engagement', {
|
||||||
|
[GA_DIMENSIONS.TYPE]: 'open_url',
|
||||||
|
url,
|
||||||
|
});
|
||||||
},
|
},
|
||||||
trendingAlgorithmEvent: (trendingAlgorithm: string) => {
|
trendingAlgorithmEvent: (trendingAlgorithm: string) => {
|
||||||
sendMatomoEvent('Engagement', 'Trending-Algorithm', trendingAlgorithm);
|
sendGaEvent('engagement', {
|
||||||
|
[GA_DIMENSIONS.TYPE]: 'trending_algorithm',
|
||||||
|
trending_algorithm: trendingAlgorithm,
|
||||||
|
});
|
||||||
},
|
},
|
||||||
startupEvent: () => {
|
initAppStartTime: (startTime: number) => {
|
||||||
sendMatomoEvent('Startup', 'Startup');
|
analytics.appStartTime = startTime;
|
||||||
},
|
},
|
||||||
readyEvent: (timeToReady: number) => {
|
startupEvent: (time: number) => {
|
||||||
sendMatomoEvent('Startup', 'App-Ready', 'Time', timeToReady);
|
if (analytics.appStartTime !== 0) {
|
||||||
|
sendGaEvent('diag_app_ready', {
|
||||||
|
[GA_DIMENSIONS.DURATION_MS]: time - analytics.appStartTime,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
eventStarted: (name: string, time: number, id?: string) => {
|
||||||
|
const key = id || name;
|
||||||
|
analytics.eventStartTime[key] = time;
|
||||||
|
},
|
||||||
|
eventCompleted: (name: string, time: number, id?: string) => {
|
||||||
|
const key = id || name;
|
||||||
|
if (analytics.eventStartTime[key]) {
|
||||||
|
sendGaEvent(name, {
|
||||||
|
[GA_DIMENSIONS.START_TIME_MS]: analytics.eventStartTime[key] - analytics.appStartTime,
|
||||||
|
[GA_DIMENSIONS.DURATION_MS]: time - analytics.eventStartTime[key],
|
||||||
|
[GA_DIMENSIONS.END_TIME_MS]: time - analytics.appStartTime,
|
||||||
|
});
|
||||||
|
|
||||||
|
delete analytics.eventStartTime[key];
|
||||||
|
}
|
||||||
},
|
},
|
||||||
purchaseEvent: (purchaseInt: number) => {
|
purchaseEvent: (purchaseInt: number) => {
|
||||||
sendMatomoEvent('Purchase', 'Purchase-Complete', 'someLabel', purchaseInt);
|
sendGaEvent('purchase', {
|
||||||
|
// https://developers.google.com/analytics/devguides/collection/ga4/reference/events#purchase
|
||||||
|
[GA_DIMENSIONS.VALUE]: purchaseInt,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
reportEvent: (event: string, params?: { [string]: string | number }) => {
|
||||||
|
sendGaEvent(event, params);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
function sendMatomoEvent(category, action, name, value) {
|
function sendGaEvent(event: string, params?: { [string]: string | number }) {
|
||||||
if (internalAnalyticsEnabled) {
|
if (isGaAllowed && window.gtag) {
|
||||||
const event = { category, action, name, value };
|
window.gtag('event', event, params);
|
||||||
MatomoInstance.trackEvent(event);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const MatomoInstance = new MatomoTracker({
|
function sendPromMetric(name: string, value?: number, player: string) {
|
||||||
urlBase: MATOMO_URL,
|
if (IS_WEB) {
|
||||||
siteId: MATOMO_ID, // optional, default value: `1`
|
let url = new URL(SDK_API_PATH + '/metric/ui');
|
||||||
});
|
const params = { name: name, value: value ? value.toString() : '', player: player };
|
||||||
|
url.search = new URLSearchParams(params).toString();
|
||||||
|
return fetch(url, { method: 'post' }).catch(function (error) {});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
analytics.pageView(generateInitialUrl(window.location.hash));
|
// Activate
|
||||||
|
if (isGaAllowed && window.gtag) {
|
||||||
// Listen for url changes and report
|
window.gtag('consent', 'update', {
|
||||||
// This will include search queries
|
ad_storage: 'granted',
|
||||||
history.listen((location) => {
|
analytics_storage: 'granted',
|
||||||
const { pathname, search } = location;
|
});
|
||||||
|
}
|
||||||
const page = `${pathname}${search}`;
|
|
||||||
analytics.pageView(page, search);
|
|
||||||
});
|
|
||||||
|
|
||||||
export default analytics;
|
export default analytics;
|
||||||
|
|
|
@ -1,25 +1,17 @@
|
||||||
// @flow
|
// @flow
|
||||||
import { COMMENT_SERVER_API } from 'config';
|
import { COMMENT_SERVER_API } from 'config';
|
||||||
|
|
||||||
|
// prettier-ignore
|
||||||
const Comments = {
|
const Comments = {
|
||||||
url: COMMENT_SERVER_API,
|
url: COMMENT_SERVER_API,
|
||||||
enabled: Boolean(COMMENT_SERVER_API),
|
enabled: Boolean(COMMENT_SERVER_API),
|
||||||
isCustomServer: false,
|
|
||||||
|
|
||||||
setServerUrl: (customUrl: ?string) => {
|
|
||||||
Comments.url = customUrl === undefined ? COMMENT_SERVER_API : customUrl;
|
|
||||||
Comments.enabled = Boolean(Comments.url);
|
|
||||||
Comments.isCustomServer = Comments.url !== COMMENT_SERVER_API;
|
|
||||||
},
|
|
||||||
|
|
||||||
moderation_block: (params: ModerationBlockParams) => fetchCommentsApi('moderation.Block', params),
|
moderation_block: (params: ModerationBlockParams) => fetchCommentsApi('moderation.Block', params),
|
||||||
moderation_unblock: (params: ModerationBlockParams) => fetchCommentsApi('moderation.UnBlock', params),
|
moderation_unblock: (params: ModerationBlockParams) => fetchCommentsApi('moderation.UnBlock', params),
|
||||||
moderation_block_list: (params: BlockedListArgs) => fetchCommentsApi('moderation.BlockedList', params),
|
moderation_block_list: (params: BlockedListArgs) => fetchCommentsApi('moderation.BlockedList', params),
|
||||||
moderation_add_delegate: (params: ModerationAddDelegateParams) => fetchCommentsApi('moderation.AddDelegate', params),
|
moderation_add_delegate: (params: ModerationAddDelegateParams) => fetchCommentsApi('moderation.AddDelegate', params),
|
||||||
moderation_remove_delegate: (params: ModerationRemoveDelegateParams) =>
|
moderation_remove_delegate: (params: ModerationRemoveDelegateParams) => fetchCommentsApi('moderation.RemoveDelegate', params),
|
||||||
fetchCommentsApi('moderation.RemoveDelegate', params),
|
moderation_list_delegates: (params: ModerationListDelegatesParams) => fetchCommentsApi('moderation.ListDelegates', params),
|
||||||
moderation_list_delegates: (params: ModerationListDelegatesParams) =>
|
|
||||||
fetchCommentsApi('moderation.ListDelegates', params),
|
|
||||||
moderation_am_i: (params: ModerationAmIParams) => fetchCommentsApi('moderation.AmI', params),
|
moderation_am_i: (params: ModerationAmIParams) => fetchCommentsApi('moderation.AmI', params),
|
||||||
comment_list: (params: CommentListParams) => fetchCommentsApi('comment.List', params),
|
comment_list: (params: CommentListParams) => fetchCommentsApi('comment.List', params),
|
||||||
comment_abandon: (params: CommentAbandonParams) => fetchCommentsApi('comment.Abandon', params),
|
comment_abandon: (params: CommentAbandonParams) => fetchCommentsApi('comment.Abandon', params),
|
||||||
|
@ -39,9 +31,7 @@ const Comments = {
|
||||||
};
|
};
|
||||||
|
|
||||||
function fetchCommentsApi(method: string, params: {}) {
|
function fetchCommentsApi(method: string, params: {}) {
|
||||||
if (!Comments.url) {
|
if (!Comments.enabled) {
|
||||||
return Promise.reject(new Error('Commenting server is not set.'));
|
|
||||||
} else if (!Comments.enabled) {
|
|
||||||
return Promise.reject('Comments are not currently enabled.'); // eslint-disable-line
|
return Promise.reject('Comments are not currently enabled.'); // eslint-disable-line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue