@streamlayer/react-ui 0.98.1 → 0.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/assets/style.css +1 -1
- package/lib/hooks/showIn.js +45 -0
- package/lib/{index-jRXrW6ie.js → index-Bicco-Aq.js} +1 -1
- package/lib/{index-z0QjLiEL.js → index-CZvwzN5o.js} +1 -1
- package/lib/index.js +4 -8
- package/lib/ui/app/Features/Gamification/Friends.js +10 -23
- package/lib/ui/app/Features/Gamification/Leaderboard.d.ts +1 -2
- package/lib/ui/app/Features/Gamification/Leaderboard.js +37 -54
- package/lib/ui/app/Features/Gamification/Question.js +33 -65
- package/lib/ui/app/Features/Gamification/QuestionsList.js +8 -34
- package/lib/ui/app/Features/Gamification/Tabs.d.ts +1 -2
- package/lib/ui/app/Features/Gamification/Tabs.js +30 -97
- package/lib/ui/app/Features/Gamification/UserSummary.js +12 -21
- package/lib/ui/app/Features/Gamification/gamification-feature.js +2 -93
- package/lib/ui/app/Features/Gamification/index.d.ts +1 -2
- package/lib/ui/app/Features/Gamification/index.js +68 -143
- package/lib/ui/app/Features/index.d.ts +1 -2
- package/lib/ui/app/Features/index.js +20 -109
- package/lib/ui/app/Navigation/MastersNavigation/index.js +16 -22
- package/lib/ui/app/Navigation/index.js +9 -12
- package/lib/ui/app/Notifications/Onboarding/Notification/index.js +13 -16
- package/lib/ui/app/Notifications/Onboarding/Notification/styles.js +18 -20
- package/lib/ui/app/Notifications/Onboarding/index.js +45 -72
- package/lib/ui/app/Notifications/index.js +96 -148
- package/lib/ui/app/Notifications/styles.js +10 -15
- package/lib/ui/app/Points/index.js +18 -26
- package/lib/ui/app/masters.js +71 -190
- package/lib/ui/app/useClipboardCopy.js +11 -15
- package/lib/ui/app/useMastersApp.js +34 -44
- package/lib/ui/app/useSdkResponsive.js +18 -19
- package/lib/ui/app/useSdkScroll.js +28 -26
- package/lib/ui/button/index.js +3 -4
- package/lib/ui/gamification/copyNotification/index.js +5 -7
- package/lib/ui/gamification/detail/header/index.js +15 -18
- package/lib/ui/gamification/detail/header/styles.js +12 -14
- package/lib/ui/gamification/detail/sponsor/index.js +2 -3
- package/lib/ui/gamification/insight/index.js +5 -6
- package/lib/ui/gamification/insight-list/index.js +3 -6
- package/lib/ui/gamification/invite-link/index.js +11 -17
- package/lib/ui/gamification/invite-link/styles.js +13 -15
- package/lib/ui/gamification/leaderboard/index.js +21 -28
- package/lib/ui/gamification/leaderboard/list-item/index.d.ts +0 -1
- package/lib/ui/gamification/leaderboard/list-item/index.js +17 -20
- package/lib/ui/gamification/leaderboard/list-item/styles.js +16 -18
- package/lib/ui/gamification/leaderboard/static.js +34 -31
- package/lib/ui/gamification/leaderboard/styles.js +1 -1
- package/lib/ui/gamification/onboarding/index.js +51 -73
- package/lib/ui/gamification/onboarding/invitingUser/index.js +10 -11
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +3 -2
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.js +17 -20
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.d.ts +2 -0
- package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +21 -11
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +21 -30
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.js +22 -24
- package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.js +5 -7
- package/lib/ui/gamification/onboarding/slides/onboarding-terms/index.js +2 -3
- package/lib/ui/gamification/onboarding/styles.js +14 -17
- package/lib/ui/gamification/points/index.js +9 -15
- package/lib/ui/gamification/points/styles.js +12 -14
- package/lib/ui/gamification/question/index.d.ts +1 -3
- package/lib/ui/gamification/question/index.js +29 -34
- package/lib/ui/gamification/question/insight/index.d.ts +0 -1
- package/lib/ui/gamification/question/insight/index.js +7 -15
- package/lib/ui/gamification/question/list/index.js +20 -57
- package/lib/ui/gamification/question/notification/index.js +22 -35
- package/lib/ui/gamification/question/notification/insight/index.js +12 -17
- package/lib/ui/gamification/question/notification/pill/index.js +7 -9
- package/lib/ui/gamification/question/notification/prediction-result/animation-lines/index.js +11 -12
- package/lib/ui/gamification/question/notification/prediction-result/index.js +45 -51
- package/lib/ui/gamification/question/notification/prediction-result/styles.js +23 -26
- package/lib/ui/gamification/question/notification/styles.js +17 -19
- package/lib/ui/gamification/question/notification/tweet/index.js +8 -18
- package/lib/ui/gamification/question/styles.js +32 -34
- package/lib/ui/gamification/question/twitter/index.d.ts +0 -1
- package/lib/ui/gamification/question/twitter/index.js +8 -20
- package/lib/ui/gamification/question/twitter/styles.js +4 -6
- package/lib/ui/gamification/tabs/index.js +6 -7
- package/lib/ui/gamification/user-statistics/components/rank/index.js +4 -5
- package/lib/ui/gamification/user-statistics/components/statistic/index.js +0 -1
- package/lib/ui/gamification/user-statistics/index.js +2 -6
- package/lib/ui/gamification/vote/alert/index.d.ts +8 -0
- package/lib/ui/gamification/vote/alert/index.js +11 -0
- package/lib/ui/gamification/vote/{expired-alert → alert}/styles.js +7 -7
- package/lib/ui/gamification/vote/feedback/index.js +29 -33
- package/lib/ui/gamification/vote/feedback/styles.js +20 -23
- package/lib/ui/gamification/vote/index.d.ts +1 -0
- package/lib/ui/gamification/vote/index.js +123 -117
- package/lib/ui/gamification/vote/insight-details/index.js +9 -16
- package/lib/ui/gamification/vote/styles.d.ts +1 -0
- package/lib/ui/gamification/vote/styles.js +14 -8
- package/lib/ui/gamification/vote/twitter-details/index.js +7 -17
- package/lib/ui/gamification/vote/vote-option/index.js +38 -41
- package/lib/ui/gamification/vote/vote-option/styles.d.ts +1 -0
- package/lib/ui/gamification/vote/vote-option/styles.js +35 -32
- package/lib/ui/gamification/vote/win-bar/index.js +29 -37
- package/lib/ui/gamification/vote/win-bar/styles.js +16 -19
- package/lib/ui/login/demo.d.ts +1 -0
- package/lib/ui/login/demo.js +5 -17
- package/lib/ui/login/index.js +29 -35
- package/lib/ui/modal/index.js +31 -32
- package/lib/ui/navigation/button/Channels.js +5 -8
- package/lib/ui/navigation/button/FeaturedGroups.js +3 -6
- package/lib/ui/navigation/button/LeaderBoard.js +8 -11
- package/lib/ui/navigation/button/index.js +10 -11
- package/lib/ui/navigation/masters.js +2 -3
- package/lib/ui/questions/insight/index.js +14 -19
- package/lib/ui/questions/twitter/account/index.js +13 -15
- package/lib/ui/questions/twitter/account/styles.js +14 -16
- package/lib/ui/questions/twitter/index.js +31 -38
- package/lib/ui/show-in/index.d.ts +1 -0
- package/lib/ui/show-in/index.js +12 -10
- package/lib/ui/skeleton/index.js +3 -4
- package/lib/ui/theme/index.js +3 -5
- package/lib/ui/video-player/index.js +44 -38
- package/lib/utils/createDemo.js +18 -28
- package/lib/utils/debug/components/copyLogs.js +2 -3
- package/lib/utils/debug/components/developer.js +20 -24
- package/lib/utils/debug/components/eventInput.js +9 -10
- package/lib/utils/debug/components/sdkKey.js +9 -10
- package/lib/utils/debug/index.js +17 -28
- package/lib/utils/debug/storage.js +32 -14
- package/lib/utils/decorators/container.js +5 -9
- package/lib/utils/storage.js +32 -14
- package/package.json +25 -26
- package/lib/ui/gamification/vote/expired-alert/index.d.ts +0 -7
- package/lib/ui/gamification/vote/expired-alert/index.js +0 -13
- /package/lib/{index-uEuzH3jr.js → index-xuotMAFm.js} +0 -0
- /package/lib/{styles_z07sl8-w40geAFS.js → styles_z07sl8-l0sNRNKZ.js} +0 -0
- /package/lib/ui/gamification/vote/{expired-alert → alert}/styles.d.ts +0 -0
|
@@ -1,29 +1,23 @@
|
|
|
1
|
-
import { jsx as C, jsxs as
|
|
2
|
-
import { useState as P, useRef as T, useEffect as
|
|
1
|
+
import { jsx as C, jsxs as i, Fragment as I } from "react/jsx-runtime";
|
|
2
|
+
import { useState as P, useRef as T, useEffect as u } from "react";
|
|
3
3
|
import { AnimatedCounter as Y } from "../../../../animated-counter/index.js";
|
|
4
4
|
import { AnimationLines as F } from "./animation-lines/index.js";
|
|
5
|
-
import { MIN_CONTENT_HEIGHT as S, Container as b, InnerContainer as B, Content as
|
|
6
|
-
import "react-countup";
|
|
7
|
-
import "./animation-lines/styles.js";
|
|
8
|
-
import "@linaria/react";
|
|
9
|
-
import "../../../../icons/index.js";
|
|
10
|
-
import "../../../../show-in/index.js";
|
|
11
|
-
import "@linaria/core";
|
|
12
|
-
const N = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%200%20154%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M70.9776%2030.8796L74.668%2018.1381C75.0696%2016.7473%2076.1186%2015.6318%2077.4936%2015.1371L77.5928%2014.7217H72.466L63.7623%2024.9662L60.431%2014.7217H55.7389L55.6255%2015.1371C56.4288%2015.5291%2056.8683%2016.7052%2056.8683%2017.662V17.7227C56.8683%2023.1787%2052.781%2032.5598%2047.0352%2032.5598C44.8002%2032.5598%2043.6425%2031.0009%2043.6425%2029.7035C43.6425%2028.1306%2044.975%2027.0105%2046.3831%2027.0105C47.744%2027.0105%2047.9519%2027.5099%2048.741%2027.5099C49.2182%2027.5099%2049.6766%2027.2672%2049.9081%2026.8518C50.2672%2026.1984%2049.9931%2025.4049%2049.3363%2025.0922L48.9772%2024.9242C45.6271%2023.3327%2041.7383%2025.7457%2041.7383%2029.4188V29.4701C41.7383%2032.1444%2043.8646%2034.38%2046.5674%2034.4733C53.5417%2034.716%2058.2055%2025.4236%2058.9473%2018.6188L59.486%2020.4577L62.2313%2028.5927H63.2709L71.8518%2018.4741L68.2512%2030.8936C67.8401%2032.3171%2066.6966%2033.4232%2065.2412%2033.7966L65.142%2034.212H72.0408L72.1542%2033.7966C71.1383%2033.2039%2070.6516%2032.0044%2070.9776%2030.8796Z'%20fill='white'/%3e%3cpath%20d='M88.2952%2021.6521H88.2385C85.016%2021.6568%2081.5571%2021.9648%2079.7143%2027.1361C78.1692%2031.4813%2077.7487%2033.2828%2076.539%2033.2828C75.7641%2033.2828%2075.9531%2031.794%2074.7954%2031.794C74.2709%2031.794%2073.7275%2032.2094%2073.6897%2032.8068C73.6236%2033.8429%2075.0317%2034.4683%2076.0949%2034.4683C79.3316%2034.4683%2080.5696%2032.1347%2080.9759%2031.0472C81.0279%2030.9072%2081.3162%2030.1371%2081.6517%2029.2317H85.0538L84.4773%2031.3273C84.1749%2032.4334%2083.5464%2033.3388%2082.488%2033.8009L82.3982%2034.2163H87.9597L88.0637%2033.8009C87.3124%2033.1848%2086.9816%2032.2%2087.2273%2031.2853L89.3206%2023.4257C89.4812%2022.8236%2089.9018%2022.3242%2090.4783%2022.0628L90.568%2021.6475H88.7536H88.2952V21.6521ZM85.3231%2028.2189H82.0202C82.3935%2027.2108%2082.7526%2026.2493%2082.8755%2025.9366C83.7118%2023.757%2085.2995%2022.8749%2086.8399%2022.7536L86.8257%2022.7676L85.3231%2028.2189Z'%20fill='white'/%3e%3cpath%20d='M116.358%2022.5486C116.538%2022.2545%20116.708%2021.8112%20116.708%2021.5591C116.732%2021.0877%20116.297%2020.7237%20115.829%2020.8217C115.456%2020.9011%20115.187%2021.2324%20115.191%2021.6058C115.196%2021.9978%20115.12%2022.4226%20114.95%2022.6279C114.558%2023.104%20113.934%2023.062%20111.062%2022.2452V22.2405C110.797%2022.1659%20110.509%2022.0819%20110.206%2021.9978C110.187%2021.9932%20110.173%2021.9885%20110.159%2021.9838C108.723%2021.6011%20106.941%2021.2464%20105.774%2021.8205C105.765%2021.8252%20105.755%2021.8298%20105.746%2021.8345C104.602%2022.3992%20103.808%2023.4727%20103.567%2024.7142C103.53%2024.8962%20103.506%2025.0455%20103.501%2025.0969C103.468%2025.7456%20104.068%2026.2544%20104.711%2026.1143C105.235%2026.0023%20105.604%2025.5403%20105.59%2025.0129C105.58%2024.4808%20105.472%2023.7667%20105.765%2023.286C106.237%2022.6279%20106.729%2022.5812%20108.935%2023.3047L106.544%2031.323C106.214%2032.4291%20105.406%2033.3345%20104.338%2033.7966L104.238%2034.212H109.961L110.074%2033.7966C109.337%2033.1852%20109.03%2032.1957%20109.299%2031.2809L111.392%2024.0561C112.309%2024.2428%20113.24%2024.2941%20114.147%2024.0374L114.473%2023.9441C115.196%2023.7527%20115.943%2023.2347%20116.358%2022.5486Z'%20fill='white'/%3e%3cpath%20d='M118.649%2021.6523L118.536%2022.0677C119.245%2022.5531%20119.561%2023.4259%20119.335%2024.2427L117.208%2031.3228C116.877%2032.429%20116.069%2033.3344%20115.002%2033.7964L114.902%2034.2118H117.931H118.21H125.18L126.101%2030.8934H125.666L125.51%2031.2108C124.934%2032.3963%20123.72%2033.1524%20122.382%2033.1524H119.429L121.003%2027.5937H122.259C123.105%2027.5937%20123.743%2028.3545%20123.582%2029.1759H124.012L125.043%2025.4188H124.613C124.362%2026.1142%20123.696%2026.5763%20122.949%2026.5809H121.291L122.382%2022.7258L125.515%2022.7211C126.536%2022.7211%20127.301%2023.6452%20127.098%2024.6347H127.528L128.35%2021.6523H118.649Z'%20fill='white'/%3e%3cpath%20d='M138.251%2021.6582H131.333L131.22%2022.0736C131.881%2022.5263%20132.207%2023.3197%20132.056%2024.0898L129.892%2031.324C129.561%2032.4301%20128.753%2033.3356%20127.685%2033.7976L127.586%2034.213H133.303L133.417%2033.7976C132.68%2033.1862%20132.373%2032.2014%20132.637%2031.282L133.686%2027.5949H134.126C134.787%2027.5949%20135.34%2028.085%20135.416%2028.7337C135.439%2028.9437%20135.77%2031.506%20136.035%2032.3881C136.379%2033.5409%20136.833%2034.213%20137.868%2034.213H140.453L140.552%2033.7976L140.183%2033.5829C139.451%2033.1536%20138.922%2032.4908%20138.685%2031.6087C138.463%2030.7779%20138.043%2029.2284%20137.84%2028.4117C137.736%2027.9916%20137.202%2027.5996%20136.654%2027.5996H137.523C139.087%2027.5996%20140.457%2026.5681%20140.878%2025.0839C141.365%2023.3617%20140.056%2021.6582%20138.251%2021.6582ZM138.369%2024.6872C138.029%2025.812%20136.98%2026.5868%20135.789%2026.5868H133.974L135.071%2022.7317H136.89C137.925%2022.727%20138.662%2023.7118%20138.369%2024.6872Z'%20fill='white'/%3e%3cpath%20d='M100.265%2022.2961C100.081%2022.2961%2099.6794%2022.1701%2099.0651%2021.9181C98.4508%2021.6661%2097.8318%2021.54%2097.2034%2021.54C95.904%2021.54%2094.8219%2021.9554%2093.9336%2022.8422C93.1964%2023.5796%2092.8704%2024.401%2092.8704%2025.1105C92.8704%2025.8665%2093.3193%2026.7533%2094.2124%2027.4721C95.0582%2028.1488%2095.937%2028.8022%2096.8206%2029.465C97.7468%2030.1977%2098.2098%2030.8745%2098.2098%2031.4252C98.2098%2032.634%2097.416%2033.2828%2095.7669%2033.2828C94.0942%2033.2828%2092.9366%2032.074%2092.568%2029.8057H92.1144L90.8008%2034.2162H91.226C91.7694%2033.8382%2092.1569%2033.6001%2092.946%2033.6001C93.6973%2033.6001%2094.5006%2034.4729%2096.2158%2034.4729C97.5814%2034.4729%2098.6682%2034.1929%2099.5943%2033.2781C100.383%2032.4753%20100.776%2031.3552%20100.776%2030.4404C100.776%2029.591%20100.237%2028.6062%2099.2966%2027.8921C98.4886%2027.2807%2097.6286%2026.7347%2096.7923%2026.1419C95.8898%2025.4792%2095.4362%2024.9144%2095.4362%2024.2937C95.4362%2023.9483%2095.611%2023.6076%2095.9559%2023.2622C96.3954%2022.8282%2096.986%2022.7302%2097.7751%2022.7302C99.3581%2022.7302%20100.464%2023.5983%20100.558%2025.4325H100.974L102.08%2021.5447H101.664C101.215%2022.0441%20100.752%2022.2961%20100.265%2022.2961Z'%20fill='white'/%3e%3cpath%20d='M149.201%2022.7304C150.784%2022.7304%20151.89%2023.6032%20151.984%2025.4327H152.4L153.501%2021.5449H153.085C152.646%2022.049%20152.182%2022.301%20151.696%2022.301C151.512%2022.301%20151.11%2022.175%20150.496%2021.923C149.881%2021.6709%20149.262%2021.5449%20148.634%2021.5449C147.334%2021.5449%20146.252%2021.9603%20145.364%2022.8471C144.627%2023.5845%20144.296%2024.4059%20144.296%2025.1153C144.296%2025.8714%20144.745%2026.7582%20145.638%2027.477C146.484%2028.1537%20147.363%2028.8071%20148.246%2029.4699C149.173%2030.2026%20149.636%2030.8794%20149.636%2031.4301C149.636%2032.6389%20148.842%2033.2876%20147.193%2033.2876C145.52%2033.2876%20144.362%2032.0788%20143.994%2029.8106H143.54L142.227%2034.2211H142.642C143.186%2033.843%20143.573%2033.605%20144.358%2033.605C145.109%2033.605%20145.912%2034.4778%20147.627%2034.4778C148.993%2034.4778%20150.075%2034.1978%20151.006%2033.283C151.795%2032.4802%20152.187%2031.3601%20152.187%2030.4453C152.187%2029.6005%20151.649%2028.6111%20150.708%2027.897C149.9%2027.2856%20149.04%2026.7395%20148.204%2026.1468C147.301%2025.4841%20146.848%2024.9193%20146.848%2024.2986C146.848%2023.9532%20147.023%2023.6125%20147.368%2023.2671C147.826%2022.8237%20148.412%2022.7304%20149.201%2022.7304Z'%20fill='white'/%3e%3cpath%20d='M26.5433%202.60035C26.0377%202.44633%2025.5321%202.72169%2025.0265%203.00173C24.8469%203.09974%2024.7194%203.27243%2024.6768%203.46845L23.883%207.13222C23.8547%207.26757%2023.9775%207.38891%2024.1145%207.36091C24.9509%207.17422%2025.7447%206.4508%2026.5811%206.70283C27.5167%206.98753%2028.4522%205.81606%2029.3878%205.83006V1.60156C28.4475%201.60623%2027.4789%202.88505%2026.5433%202.60035Z'%20fill='white'/%3e%3cpath%20d='M38.4856%2013.8398C38.2871%2013.7044%2038.1643%2013.4851%2038.1643%2013.2471V12.5796C38.1643%2011.9822%2037.6729%2011.4922%2037.0633%2011.4922H36.6239C36.0994%2011.4922%2035.6174%2011.7536%2035.3339%2012.1876L33.9164%2014.3485C33.7746%2014.5632%2033.5383%2014.6892%2033.2832%2014.6892H32.3287C31.8562%2014.6892%2031.4215%2014.9459%2031.1947%2015.3566C30.9631%2015.7814%2030.552%2016.0754%2030.0843%2016.1734V1.1403C30.0843%200.94894%2029.9283%200.794922%2029.7346%200.794922C29.5409%200.794922%2029.3849%200.94894%2029.3849%201.1403V1.60702V5.83552V16.1827C28.9171%2016.0847%2028.506%2015.7907%2028.2745%2015.3613C28.0524%2014.9506%2027.6177%2014.6939%2027.1405%2014.6939H26.4979C25.9875%2014.6939%2025.5292%2014.9879%2025.3213%2015.45L24.7873%2016.6308C24.7023%2016.8175%2024.5133%2016.9388%2024.3054%2016.9388C24.0975%2016.9388%2023.9085%2016.8175%2023.8234%2016.6308L23.2895%2015.45C23.0816%2014.9926%2022.6232%2014.6939%2022.1129%2014.6939H4.00135C3.85487%2014.6939%203.73674%2014.8106%203.73674%2014.9553C3.73674%2015.2633%203.48158%2015.5107%203.17444%2015.5107H2.39007C2.24359%2015.5107%202.12546%2015.6273%202.12546%2015.772V16.6728C2.12546%2017.5176%201.96008%2018.339%201.62931%2019.1184L1.15207%2020.2526C0.707907%2021.3027%200.5%2022.3901%200.5%2023.4589V26.0726C0.5%2026.7773%200.603954%2027.4914%200.811861%2028.1868C1.39306%2030.1377%202.7161%2031.7339%204.53529%2032.6767L7.43182%2034.1842C7.46962%2034.2029%207.51214%2034.2122%207.55467%2034.2122L9.69517%2034.2309C10.196%2034.2355%2010.6875%2034.3616%2011.1269%2034.6043L12.2751%2035.239C12.3129%2035.2623%2012.3602%2035.2717%2012.4074%2035.2717H13.9431C14.4818%2035.2717%2015.0157%2035.4163%2015.474%2035.6917C15.474%2035.6917%2016.2253%2036.1444%2016.4805%2036.2891C16.8869%2036.5225%2017.3783%2036.7465%2018.2335%2036.7932C18.4273%2036.8025%2018.621%2036.7325%2018.7675%2036.5972C18.9092%2036.4618%2018.9943%2036.2704%2018.9943%2036.0791V35.0616C18.9943%2034.3242%2019.4337%2033.6521%2020.1189%2033.3581L22.4673%2032.3406C22.7886%2032.2006%2023.1477%2032.1773%2023.4832%2032.28L24.3621%2032.5367C24.7354%2032.644%2025.1323%2032.6487%2025.5056%2032.5367L27.5846%2031.9253C27.8587%2031.8459%2028.1517%2031.8459%2028.4304%2031.9299L29.2763%2032.1633C29.6684%2032.2706%2029.9472%2032.6347%2029.9472%2033.0361V35.071C29.9472%2036.0184%2030.7269%2036.7932%2031.6861%2036.7932C32.4043%2036.7932%2033.0328%2036.3405%2033.2501%2035.6637C33.6423%2034.4456%2033.8408%2033.1761%2033.8408%2031.8973V31.0292C33.8408%2030.4131%2034.1006%2029.8204%2034.5543%2029.3956L35.419%2028.5882C36.0002%2028.0421%2036.3356%2027.2674%2036.3356%2026.474V21.6481C36.3356%2020.9013%2036.5625%2020.1779%2036.9972%2019.5618C37.0302%2019.5198%2037.0444%2019.4638%2037.0444%2019.4125V18.2737C37.0444%2017.5316%2037.2712%2016.8128%2037.6965%2016.2014L38.5517%2014.9739C38.5848%2014.9319%2038.599%2014.8806%2038.599%2014.8246V14.0545C38.6037%2013.9098%2038.5139%2013.8585%2038.4856%2013.8398ZM30.0843%2025.2838C30.6654%2025.3725%2031.1002%2025.6665%2031.1002%2026.0212C31.1002%2026.3759%2030.6702%2026.67%2030.0843%2026.7587V25.2838ZM5.22516%2032.4433L4.78572%2032.2146C3.59026%2031.5939%202.63577%2030.6698%201.9837%2029.545V28.1355C2.73028%2029.2043%203.74619%2030.1144%204.98891%2030.7631L5.22516%2030.8845V32.4433ZM7.43654%2033.5961L6.2647%2032.9894V31.4305L7.43182%2032.0373H7.43654V33.5961ZM12.3129%2034.6556L11.3868%2034.1422C10.8812%2033.8622%2010.3142%2033.7128%209.73297%2033.7035V32.0793C10.2197%2032.0886%2010.7016%2032.2146%2011.1269%2032.448L12.2751%2033.0827C12.2846%2033.0874%2012.2987%2033.0874%2012.3129%2033.0921V34.6556ZM18.4603%2035.0616V35.8551V36.0791C18.4603%2036.1304%2018.4367%2036.1818%2018.3989%2036.2191C18.3611%2036.2564%2018.3139%2036.2705%2018.2619%2036.2705C17.52%2036.2331%2017.0948%2036.0418%2016.7498%2035.8411C16.4994%2035.6964%2015.7528%2035.2483%2015.7481%2035.2483C15.2803%2034.9683%2014.7511%2034.8143%2014.2077%2034.7723V33.1387C14.6519%2033.1808%2015.0866%2033.3114%2015.474%2033.5401L16.1214%2033.9228C16.8302%2034.3429%2017.6382%2034.5809%2018.4603%2034.6276V35.0616ZM24.8582%2032.0886C24.7448%2032.084%2024.6267%2032.0653%2024.5133%2032.0326L23.6344%2031.7713C23.4454%2031.7152%2023.2517%2031.6966%2023.0579%2031.6966V30.0677C23.1997%2030.0677%2023.3414%2030.0817%2023.4832%2030.1237L24.3621%2030.3804C24.5227%2030.4271%2024.6928%2030.4504%2024.8582%2030.4598V32.0886ZM30.363%2032.4807C30.1929%2032.0886%2029.8574%2031.7759%2029.4275%2031.6592L28.5864%2031.4259C28.3879%2031.3652%2028.18%2031.3419%2027.9721%2031.3419V29.7177C28.1328%2029.713%2028.2934%2029.7317%2028.4493%2029.783L29.1392%2029.9977C29.8716%2030.2264%2030.363%2030.8891%2030.363%2031.6452V32.4807ZM32.787%2035.365C32.7729%2035.4117%2032.7634%2035.4584%2032.7492%2035.505C32.6028%2035.9624%2032.1775%2036.2658%2031.6955%2036.2658C31.653%2036.2658%2031.6105%2036.2564%2031.568%2036.2518V34.6323C31.601%2034.6369%2031.6294%2034.6416%2031.6625%2034.6416C32.135%2034.6416%2032.565%2034.3802%2032.7918%2033.9835V35.365H32.787ZM37.3232%2015.0486C36.794%2015.8047%2036.5152%2016.6915%2036.5152%2017.6109V18.4137L36.1041%2019.0017C35.5702%2019.7625%2035.2867%2020.6539%2035.2867%2021.578V25.6245C35.2867%2026.2779%2035.0126%2026.9173%2034.5306%2027.3654L33.6659%2028.1775C33.0847%2028.7236%2032.7634%2029.489%2032.787%2030.2824L32.7918%2030.4644C32.8248%2031.5146%2032.6878%2032.56%2032.3901%2033.5681C32.2956%2033.8902%2031.9932%2034.1142%2031.6577%2034.1142C31.2372%2034.1142%2030.8923%2033.7782%2030.8923%2033.3581V31.6452C30.8923%2030.6558%2030.2496%2029.7923%2029.2952%2029.4983L28.6053%2029.2836C28.2225%2029.1669%2027.8209%2029.1623%2027.4334%2029.2743L25.3544%2029.881C25.0803%2029.9604%2024.7873%2029.9604%2024.5133%2029.881L23.6344%2029.6243C23.1808%2029.489%2022.6894%2029.5217%2022.2547%2029.7083L20.4071%2030.5111C19.2258%2031.0245%2018.4651%2032.1773%2018.4651%2033.4515V34.1095C17.7374%2034.0675%2017.0286%2033.8528%2016.4002%2033.4795L15.7528%2033.0967C15.2047%2032.7747%2014.581%2032.602%2013.9431%2032.602H12.4736L11.3868%2031.9999C10.8717%2031.7152%2010.2905%2031.5659%209.69989%2031.5612L7.62082%2031.5472L5.23461%2030.3057C1.61514%2028.4249%200.0700101%2024.1917%201.64349%2020.4579L2.12073%2019.3238C2.47512%2018.4837%202.6594%2017.5922%202.6594%2016.6775V16.0427H3.17444C3.68476%2016.0427%204.11948%2015.6927%204.2376%2015.2213H22.1176C22.4153%2015.2213%2022.6894%2015.394%2022.8075%2015.6647L23.3414%2016.8455C23.5115%2017.2235%2023.8896%2017.4662%2024.3101%2017.4662C24.7259%2017.4662%2025.1087%2017.2235%2025.2788%2016.8455L25.8127%2015.66C25.9356%2015.3893%2026.2049%2015.2166%2026.5026%2015.2166H27.1452C27.424%2015.2166%2027.6791%2015.366%2027.8114%2015.6087C28.1375%2016.2061%2028.7234%2016.6075%2029.3897%2016.7148V24.145C28.317%2024.2617%2027.4949%2024.8918%2027.4949%2025.6572C27.4949%2026.5066%2028.4966%2027.1927%2029.7346%2027.1927C30.9726%2027.1927%2031.9743%2026.5066%2031.9743%2025.6572C31.9743%2024.8918%2031.1521%2024.257%2030.0795%2024.145V16.7101C30.7458%2016.6028%2031.3317%2016.2014%2031.6577%2015.604C31.79%2015.3613%2032.0452%2015.212%2032.324%2015.212H33.2785C33.7179%2015.212%2034.1195%2014.9926%2034.3605%2014.6286L35.7781%2012.4676C35.9624%2012.1829%2036.2789%2012.0149%2036.6239%2012.0149H37.0633C37.3752%2012.0149%2037.6303%2012.2669%2037.6303%2012.575V13.2424C37.6303%2013.5644%2037.7579%2013.8725%2037.98%2014.1012L37.3232%2015.0486ZM29.3849%2025.2838V26.7587C28.8037%2026.67%2028.3737%2026.3759%2028.3737%2026.0212C28.3737%2025.6665%2028.8037%2025.3678%2029.3849%2025.2838Z'%20fill='white'/%3e%3c/svg%3e", E = (h, i, l) => h === i ? "translateY(0px)" : h > i ? `translateY(${l}px)` : "translateY(-100%)", Q = ({ close: h, votedAnswer: i, correct: l, correctAnswerTitle: Z, questionTitle: y, saveHeight: m, style: L, hiding: x }) => {
|
|
5
|
+
import { MIN_CONTENT_HEIGHT as S, Container as b, InnerContainer as B, Content as h, SubtitleFG as m, Title as V, Subtitle as s, AnswerText as d, FeedbackIcon as p, PointsTitle as G, CloseIconWrap as g, CloseIcon as M } from "./styles.js";
|
|
6
|
+
const N = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%200%20154%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M70.9776%2030.8796L74.668%2018.1381C75.0696%2016.7473%2076.1186%2015.6318%2077.4936%2015.1371L77.5928%2014.7217H72.466L63.7623%2024.9662L60.431%2014.7217H55.7389L55.6255%2015.1371C56.4288%2015.5291%2056.8683%2016.7052%2056.8683%2017.662V17.7227C56.8683%2023.1787%2052.781%2032.5598%2047.0352%2032.5598C44.8002%2032.5598%2043.6425%2031.0009%2043.6425%2029.7035C43.6425%2028.1306%2044.975%2027.0105%2046.3831%2027.0105C47.744%2027.0105%2047.9519%2027.5099%2048.741%2027.5099C49.2182%2027.5099%2049.6766%2027.2672%2049.9081%2026.8518C50.2672%2026.1984%2049.9931%2025.4049%2049.3363%2025.0922L48.9772%2024.9242C45.6271%2023.3327%2041.7383%2025.7457%2041.7383%2029.4188V29.4701C41.7383%2032.1444%2043.8646%2034.38%2046.5674%2034.4733C53.5417%2034.716%2058.2055%2025.4236%2058.9473%2018.6188L59.486%2020.4577L62.2313%2028.5927H63.2709L71.8518%2018.4741L68.2512%2030.8936C67.8401%2032.3171%2066.6966%2033.4232%2065.2412%2033.7966L65.142%2034.212H72.0408L72.1542%2033.7966C71.1383%2033.2039%2070.6516%2032.0044%2070.9776%2030.8796Z'%20fill='white'/%3e%3cpath%20d='M88.2952%2021.6521H88.2385C85.016%2021.6568%2081.5571%2021.9648%2079.7143%2027.1361C78.1692%2031.4813%2077.7487%2033.2828%2076.539%2033.2828C75.7641%2033.2828%2075.9531%2031.794%2074.7954%2031.794C74.2709%2031.794%2073.7275%2032.2094%2073.6897%2032.8068C73.6236%2033.8429%2075.0317%2034.4683%2076.0949%2034.4683C79.3316%2034.4683%2080.5696%2032.1347%2080.9759%2031.0472C81.0279%2030.9072%2081.3162%2030.1371%2081.6517%2029.2317H85.0538L84.4773%2031.3273C84.1749%2032.4334%2083.5464%2033.3388%2082.488%2033.8009L82.3982%2034.2163H87.9597L88.0637%2033.8009C87.3124%2033.1848%2086.9816%2032.2%2087.2273%2031.2853L89.3206%2023.4257C89.4812%2022.8236%2089.9018%2022.3242%2090.4783%2022.0628L90.568%2021.6475H88.7536H88.2952V21.6521ZM85.3231%2028.2189H82.0202C82.3935%2027.2108%2082.7526%2026.2493%2082.8755%2025.9366C83.7118%2023.757%2085.2995%2022.8749%2086.8399%2022.7536L86.8257%2022.7676L85.3231%2028.2189Z'%20fill='white'/%3e%3cpath%20d='M116.358%2022.5486C116.538%2022.2545%20116.708%2021.8112%20116.708%2021.5591C116.732%2021.0877%20116.297%2020.7237%20115.829%2020.8217C115.456%2020.9011%20115.187%2021.2324%20115.191%2021.6058C115.196%2021.9978%20115.12%2022.4226%20114.95%2022.6279C114.558%2023.104%20113.934%2023.062%20111.062%2022.2452V22.2405C110.797%2022.1659%20110.509%2022.0819%20110.206%2021.9978C110.187%2021.9932%20110.173%2021.9885%20110.159%2021.9838C108.723%2021.6011%20106.941%2021.2464%20105.774%2021.8205C105.765%2021.8252%20105.755%2021.8298%20105.746%2021.8345C104.602%2022.3992%20103.808%2023.4727%20103.567%2024.7142C103.53%2024.8962%20103.506%2025.0455%20103.501%2025.0969C103.468%2025.7456%20104.068%2026.2544%20104.711%2026.1143C105.235%2026.0023%20105.604%2025.5403%20105.59%2025.0129C105.58%2024.4808%20105.472%2023.7667%20105.765%2023.286C106.237%2022.6279%20106.729%2022.5812%20108.935%2023.3047L106.544%2031.323C106.214%2032.4291%20105.406%2033.3345%20104.338%2033.7966L104.238%2034.212H109.961L110.074%2033.7966C109.337%2033.1852%20109.03%2032.1957%20109.299%2031.2809L111.392%2024.0561C112.309%2024.2428%20113.24%2024.2941%20114.147%2024.0374L114.473%2023.9441C115.196%2023.7527%20115.943%2023.2347%20116.358%2022.5486Z'%20fill='white'/%3e%3cpath%20d='M118.649%2021.6523L118.536%2022.0677C119.245%2022.5531%20119.561%2023.4259%20119.335%2024.2427L117.208%2031.3228C116.877%2032.429%20116.069%2033.3344%20115.002%2033.7964L114.902%2034.2118H117.931H118.21H125.18L126.101%2030.8934H125.666L125.51%2031.2108C124.934%2032.3963%20123.72%2033.1524%20122.382%2033.1524H119.429L121.003%2027.5937H122.259C123.105%2027.5937%20123.743%2028.3545%20123.582%2029.1759H124.012L125.043%2025.4188H124.613C124.362%2026.1142%20123.696%2026.5763%20122.949%2026.5809H121.291L122.382%2022.7258L125.515%2022.7211C126.536%2022.7211%20127.301%2023.6452%20127.098%2024.6347H127.528L128.35%2021.6523H118.649Z'%20fill='white'/%3e%3cpath%20d='M138.251%2021.6582H131.333L131.22%2022.0736C131.881%2022.5263%20132.207%2023.3197%20132.056%2024.0898L129.892%2031.324C129.561%2032.4301%20128.753%2033.3356%20127.685%2033.7976L127.586%2034.213H133.303L133.417%2033.7976C132.68%2033.1862%20132.373%2032.2014%20132.637%2031.282L133.686%2027.5949H134.126C134.787%2027.5949%20135.34%2028.085%20135.416%2028.7337C135.439%2028.9437%20135.77%2031.506%20136.035%2032.3881C136.379%2033.5409%20136.833%2034.213%20137.868%2034.213H140.453L140.552%2033.7976L140.183%2033.5829C139.451%2033.1536%20138.922%2032.4908%20138.685%2031.6087C138.463%2030.7779%20138.043%2029.2284%20137.84%2028.4117C137.736%2027.9916%20137.202%2027.5996%20136.654%2027.5996H137.523C139.087%2027.5996%20140.457%2026.5681%20140.878%2025.0839C141.365%2023.3617%20140.056%2021.6582%20138.251%2021.6582ZM138.369%2024.6872C138.029%2025.812%20136.98%2026.5868%20135.789%2026.5868H133.974L135.071%2022.7317H136.89C137.925%2022.727%20138.662%2023.7118%20138.369%2024.6872Z'%20fill='white'/%3e%3cpath%20d='M100.265%2022.2961C100.081%2022.2961%2099.6794%2022.1701%2099.0651%2021.9181C98.4508%2021.6661%2097.8318%2021.54%2097.2034%2021.54C95.904%2021.54%2094.8219%2021.9554%2093.9336%2022.8422C93.1964%2023.5796%2092.8704%2024.401%2092.8704%2025.1105C92.8704%2025.8665%2093.3193%2026.7533%2094.2124%2027.4721C95.0582%2028.1488%2095.937%2028.8022%2096.8206%2029.465C97.7468%2030.1977%2098.2098%2030.8745%2098.2098%2031.4252C98.2098%2032.634%2097.416%2033.2828%2095.7669%2033.2828C94.0942%2033.2828%2092.9366%2032.074%2092.568%2029.8057H92.1144L90.8008%2034.2162H91.226C91.7694%2033.8382%2092.1569%2033.6001%2092.946%2033.6001C93.6973%2033.6001%2094.5006%2034.4729%2096.2158%2034.4729C97.5814%2034.4729%2098.6682%2034.1929%2099.5943%2033.2781C100.383%2032.4753%20100.776%2031.3552%20100.776%2030.4404C100.776%2029.591%20100.237%2028.6062%2099.2966%2027.8921C98.4886%2027.2807%2097.6286%2026.7347%2096.7923%2026.1419C95.8898%2025.4792%2095.4362%2024.9144%2095.4362%2024.2937C95.4362%2023.9483%2095.611%2023.6076%2095.9559%2023.2622C96.3954%2022.8282%2096.986%2022.7302%2097.7751%2022.7302C99.3581%2022.7302%20100.464%2023.5983%20100.558%2025.4325H100.974L102.08%2021.5447H101.664C101.215%2022.0441%20100.752%2022.2961%20100.265%2022.2961Z'%20fill='white'/%3e%3cpath%20d='M149.201%2022.7304C150.784%2022.7304%20151.89%2023.6032%20151.984%2025.4327H152.4L153.501%2021.5449H153.085C152.646%2022.049%20152.182%2022.301%20151.696%2022.301C151.512%2022.301%20151.11%2022.175%20150.496%2021.923C149.881%2021.6709%20149.262%2021.5449%20148.634%2021.5449C147.334%2021.5449%20146.252%2021.9603%20145.364%2022.8471C144.627%2023.5845%20144.296%2024.4059%20144.296%2025.1153C144.296%2025.8714%20144.745%2026.7582%20145.638%2027.477C146.484%2028.1537%20147.363%2028.8071%20148.246%2029.4699C149.173%2030.2026%20149.636%2030.8794%20149.636%2031.4301C149.636%2032.6389%20148.842%2033.2876%20147.193%2033.2876C145.52%2033.2876%20144.362%2032.0788%20143.994%2029.8106H143.54L142.227%2034.2211H142.642C143.186%2033.843%20143.573%2033.605%20144.358%2033.605C145.109%2033.605%20145.912%2034.4778%20147.627%2034.4778C148.993%2034.4778%20150.075%2034.1978%20151.006%2033.283C151.795%2032.4802%20152.187%2031.3601%20152.187%2030.4453C152.187%2029.6005%20151.649%2028.6111%20150.708%2027.897C149.9%2027.2856%20149.04%2026.7395%20148.204%2026.1468C147.301%2025.4841%20146.848%2024.9193%20146.848%2024.2986C146.848%2023.9532%20147.023%2023.6125%20147.368%2023.2671C147.826%2022.8237%20148.412%2022.7304%20149.201%2022.7304Z'%20fill='white'/%3e%3cpath%20d='M26.5433%202.60035C26.0377%202.44633%2025.5321%202.72169%2025.0265%203.00173C24.8469%203.09974%2024.7194%203.27243%2024.6768%203.46845L23.883%207.13222C23.8547%207.26757%2023.9775%207.38891%2024.1145%207.36091C24.9509%207.17422%2025.7447%206.4508%2026.5811%206.70283C27.5167%206.98753%2028.4522%205.81606%2029.3878%205.83006V1.60156C28.4475%201.60623%2027.4789%202.88505%2026.5433%202.60035Z'%20fill='white'/%3e%3cpath%20d='M38.4856%2013.8398C38.2871%2013.7044%2038.1643%2013.4851%2038.1643%2013.2471V12.5796C38.1643%2011.9822%2037.6729%2011.4922%2037.0633%2011.4922H36.6239C36.0994%2011.4922%2035.6174%2011.7536%2035.3339%2012.1876L33.9164%2014.3485C33.7746%2014.5632%2033.5383%2014.6892%2033.2832%2014.6892H32.3287C31.8562%2014.6892%2031.4215%2014.9459%2031.1947%2015.3566C30.9631%2015.7814%2030.552%2016.0754%2030.0843%2016.1734V1.1403C30.0843%200.94894%2029.9283%200.794922%2029.7346%200.794922C29.5409%200.794922%2029.3849%200.94894%2029.3849%201.1403V1.60702V5.83552V16.1827C28.9171%2016.0847%2028.506%2015.7907%2028.2745%2015.3613C28.0524%2014.9506%2027.6177%2014.6939%2027.1405%2014.6939H26.4979C25.9875%2014.6939%2025.5292%2014.9879%2025.3213%2015.45L24.7873%2016.6308C24.7023%2016.8175%2024.5133%2016.9388%2024.3054%2016.9388C24.0975%2016.9388%2023.9085%2016.8175%2023.8234%2016.6308L23.2895%2015.45C23.0816%2014.9926%2022.6232%2014.6939%2022.1129%2014.6939H4.00135C3.85487%2014.6939%203.73674%2014.8106%203.73674%2014.9553C3.73674%2015.2633%203.48158%2015.5107%203.17444%2015.5107H2.39007C2.24359%2015.5107%202.12546%2015.6273%202.12546%2015.772V16.6728C2.12546%2017.5176%201.96008%2018.339%201.62931%2019.1184L1.15207%2020.2526C0.707907%2021.3027%200.5%2022.3901%200.5%2023.4589V26.0726C0.5%2026.7773%200.603954%2027.4914%200.811861%2028.1868C1.39306%2030.1377%202.7161%2031.7339%204.53529%2032.6767L7.43182%2034.1842C7.46962%2034.2029%207.51214%2034.2122%207.55467%2034.2122L9.69517%2034.2309C10.196%2034.2355%2010.6875%2034.3616%2011.1269%2034.6043L12.2751%2035.239C12.3129%2035.2623%2012.3602%2035.2717%2012.4074%2035.2717H13.9431C14.4818%2035.2717%2015.0157%2035.4163%2015.474%2035.6917C15.474%2035.6917%2016.2253%2036.1444%2016.4805%2036.2891C16.8869%2036.5225%2017.3783%2036.7465%2018.2335%2036.7932C18.4273%2036.8025%2018.621%2036.7325%2018.7675%2036.5972C18.9092%2036.4618%2018.9943%2036.2704%2018.9943%2036.0791V35.0616C18.9943%2034.3242%2019.4337%2033.6521%2020.1189%2033.3581L22.4673%2032.3406C22.7886%2032.2006%2023.1477%2032.1773%2023.4832%2032.28L24.3621%2032.5367C24.7354%2032.644%2025.1323%2032.6487%2025.5056%2032.5367L27.5846%2031.9253C27.8587%2031.8459%2028.1517%2031.8459%2028.4304%2031.9299L29.2763%2032.1633C29.6684%2032.2706%2029.9472%2032.6347%2029.9472%2033.0361V35.071C29.9472%2036.0184%2030.7269%2036.7932%2031.6861%2036.7932C32.4043%2036.7932%2033.0328%2036.3405%2033.2501%2035.6637C33.6423%2034.4456%2033.8408%2033.1761%2033.8408%2031.8973V31.0292C33.8408%2030.4131%2034.1006%2029.8204%2034.5543%2029.3956L35.419%2028.5882C36.0002%2028.0421%2036.3356%2027.2674%2036.3356%2026.474V21.6481C36.3356%2020.9013%2036.5625%2020.1779%2036.9972%2019.5618C37.0302%2019.5198%2037.0444%2019.4638%2037.0444%2019.4125V18.2737C37.0444%2017.5316%2037.2712%2016.8128%2037.6965%2016.2014L38.5517%2014.9739C38.5848%2014.9319%2038.599%2014.8806%2038.599%2014.8246V14.0545C38.6037%2013.9098%2038.5139%2013.8585%2038.4856%2013.8398ZM30.0843%2025.2838C30.6654%2025.3725%2031.1002%2025.6665%2031.1002%2026.0212C31.1002%2026.3759%2030.6702%2026.67%2030.0843%2026.7587V25.2838ZM5.22516%2032.4433L4.78572%2032.2146C3.59026%2031.5939%202.63577%2030.6698%201.9837%2029.545V28.1355C2.73028%2029.2043%203.74619%2030.1144%204.98891%2030.7631L5.22516%2030.8845V32.4433ZM7.43654%2033.5961L6.2647%2032.9894V31.4305L7.43182%2032.0373H7.43654V33.5961ZM12.3129%2034.6556L11.3868%2034.1422C10.8812%2033.8622%2010.3142%2033.7128%209.73297%2033.7035V32.0793C10.2197%2032.0886%2010.7016%2032.2146%2011.1269%2032.448L12.2751%2033.0827C12.2846%2033.0874%2012.2987%2033.0874%2012.3129%2033.0921V34.6556ZM18.4603%2035.0616V35.8551V36.0791C18.4603%2036.1304%2018.4367%2036.1818%2018.3989%2036.2191C18.3611%2036.2564%2018.3139%2036.2705%2018.2619%2036.2705C17.52%2036.2331%2017.0948%2036.0418%2016.7498%2035.8411C16.4994%2035.6964%2015.7528%2035.2483%2015.7481%2035.2483C15.2803%2034.9683%2014.7511%2034.8143%2014.2077%2034.7723V33.1387C14.6519%2033.1808%2015.0866%2033.3114%2015.474%2033.5401L16.1214%2033.9228C16.8302%2034.3429%2017.6382%2034.5809%2018.4603%2034.6276V35.0616ZM24.8582%2032.0886C24.7448%2032.084%2024.6267%2032.0653%2024.5133%2032.0326L23.6344%2031.7713C23.4454%2031.7152%2023.2517%2031.6966%2023.0579%2031.6966V30.0677C23.1997%2030.0677%2023.3414%2030.0817%2023.4832%2030.1237L24.3621%2030.3804C24.5227%2030.4271%2024.6928%2030.4504%2024.8582%2030.4598V32.0886ZM30.363%2032.4807C30.1929%2032.0886%2029.8574%2031.7759%2029.4275%2031.6592L28.5864%2031.4259C28.3879%2031.3652%2028.18%2031.3419%2027.9721%2031.3419V29.7177C28.1328%2029.713%2028.2934%2029.7317%2028.4493%2029.783L29.1392%2029.9977C29.8716%2030.2264%2030.363%2030.8891%2030.363%2031.6452V32.4807ZM32.787%2035.365C32.7729%2035.4117%2032.7634%2035.4584%2032.7492%2035.505C32.6028%2035.9624%2032.1775%2036.2658%2031.6955%2036.2658C31.653%2036.2658%2031.6105%2036.2564%2031.568%2036.2518V34.6323C31.601%2034.6369%2031.6294%2034.6416%2031.6625%2034.6416C32.135%2034.6416%2032.565%2034.3802%2032.7918%2033.9835V35.365H32.787ZM37.3232%2015.0486C36.794%2015.8047%2036.5152%2016.6915%2036.5152%2017.6109V18.4137L36.1041%2019.0017C35.5702%2019.7625%2035.2867%2020.6539%2035.2867%2021.578V25.6245C35.2867%2026.2779%2035.0126%2026.9173%2034.5306%2027.3654L33.6659%2028.1775C33.0847%2028.7236%2032.7634%2029.489%2032.787%2030.2824L32.7918%2030.4644C32.8248%2031.5146%2032.6878%2032.56%2032.3901%2033.5681C32.2956%2033.8902%2031.9932%2034.1142%2031.6577%2034.1142C31.2372%2034.1142%2030.8923%2033.7782%2030.8923%2033.3581V31.6452C30.8923%2030.6558%2030.2496%2029.7923%2029.2952%2029.4983L28.6053%2029.2836C28.2225%2029.1669%2027.8209%2029.1623%2027.4334%2029.2743L25.3544%2029.881C25.0803%2029.9604%2024.7873%2029.9604%2024.5133%2029.881L23.6344%2029.6243C23.1808%2029.489%2022.6894%2029.5217%2022.2547%2029.7083L20.4071%2030.5111C19.2258%2031.0245%2018.4651%2032.1773%2018.4651%2033.4515V34.1095C17.7374%2034.0675%2017.0286%2033.8528%2016.4002%2033.4795L15.7528%2033.0967C15.2047%2032.7747%2014.581%2032.602%2013.9431%2032.602H12.4736L11.3868%2031.9999C10.8717%2031.7152%2010.2905%2031.5659%209.69989%2031.5612L7.62082%2031.5472L5.23461%2030.3057C1.61514%2028.4249%200.0700101%2024.1917%201.64349%2020.4579L2.12073%2019.3238C2.47512%2018.4837%202.6594%2017.5922%202.6594%2016.6775V16.0427H3.17444C3.68476%2016.0427%204.11948%2015.6927%204.2376%2015.2213H22.1176C22.4153%2015.2213%2022.6894%2015.394%2022.8075%2015.6647L23.3414%2016.8455C23.5115%2017.2235%2023.8896%2017.4662%2024.3101%2017.4662C24.7259%2017.4662%2025.1087%2017.2235%2025.2788%2016.8455L25.8127%2015.66C25.9356%2015.3893%2026.2049%2015.2166%2026.5026%2015.2166H27.1452C27.424%2015.2166%2027.6791%2015.366%2027.8114%2015.6087C28.1375%2016.2061%2028.7234%2016.6075%2029.3897%2016.7148V24.145C28.317%2024.2617%2027.4949%2024.8918%2027.4949%2025.6572C27.4949%2026.5066%2028.4966%2027.1927%2029.7346%2027.1927C30.9726%2027.1927%2031.9743%2026.5066%2031.9743%2025.6572C31.9743%2024.8918%2031.1521%2024.257%2030.0795%2024.145V16.7101C30.7458%2016.6028%2031.3317%2016.2014%2031.6577%2015.604C31.79%2015.3613%2032.0452%2015.212%2032.324%2015.212H33.2785C33.7179%2015.212%2034.1195%2014.9926%2034.3605%2014.6286L35.7781%2012.4676C35.9624%2012.1829%2036.2789%2012.0149%2036.6239%2012.0149H37.0633C37.3752%2012.0149%2037.6303%2012.2669%2037.6303%2012.575V13.2424C37.6303%2013.5644%2037.7579%2013.8725%2037.98%2014.1012L37.3232%2015.0486ZM29.3849%2025.2838V26.7587C28.8037%2026.67%2028.3737%2026.3759%2028.3737%2026.0212C28.3737%2025.6665%2028.8037%2025.3678%2029.3849%2025.2838Z'%20fill='white'/%3e%3c/svg%3e", E = (o, e, t) => o === e ? "translateY(0px)" : o > e ? `translateY(${t}px)` : "translateY(-100%)", $ = ({ close: o, votedAnswer: e, correct: t, correctAnswerTitle: Z, questionTitle: y, saveHeight: f, style: L, hiding: x }) => {
|
|
13
7
|
const [n, k] = P(1), H = T({});
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
k((r) =>
|
|
8
|
+
u(() => {
|
|
9
|
+
const l = setInterval(() => {
|
|
10
|
+
k((r) => t && r > 4 || !t && r > 3 ? r : ++r);
|
|
17
11
|
}, 3e3);
|
|
18
|
-
return () => clearInterval(
|
|
19
|
-
}, [
|
|
20
|
-
var
|
|
21
|
-
H.current[n] &&
|
|
22
|
-
}, [n,
|
|
23
|
-
const c = (
|
|
24
|
-
H.current && (H.current[
|
|
25
|
-
},
|
|
26
|
-
return /* @__PURE__ */ C(b, { style: L.height ? L : { ...L, paddingTop: 0, paddingBottom: 0 }, hiding: x, children: /* @__PURE__ */
|
|
12
|
+
return () => clearInterval(l);
|
|
13
|
+
}, [t]), u(() => {
|
|
14
|
+
var l, r;
|
|
15
|
+
H.current[n] && f(((r = (l = H.current[n]) == null ? void 0 : l.getBoundingClientRect()) == null ? void 0 : r.height) || S);
|
|
16
|
+
}, [n, f]);
|
|
17
|
+
const c = (l) => (r) => {
|
|
18
|
+
H.current && (H.current[l] = r);
|
|
19
|
+
}, a = (l) => ({ transform: E(l, n, L.height) });
|
|
20
|
+
return /* @__PURE__ */ C(b, { style: L.height ? L : { ...L, paddingTop: 0, paddingBottom: 0 }, hiding: x, children: /* @__PURE__ */ i(
|
|
27
21
|
B,
|
|
28
22
|
{
|
|
29
23
|
style: {
|
|
@@ -32,67 +26,67 @@ const N = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%20
|
|
|
32
26
|
backgroundColor: n > 3 ? "var(--color-white)" : "var(--color-primary-green2)"
|
|
33
27
|
},
|
|
34
28
|
children: [
|
|
35
|
-
/* @__PURE__ */ C(F, { step: n, correct:
|
|
36
|
-
/* @__PURE__ */
|
|
29
|
+
/* @__PURE__ */ C(F, { step: n, correct: t }),
|
|
30
|
+
/* @__PURE__ */ i(h, { ref: c(1), style: a(1), children: [
|
|
37
31
|
/* @__PURE__ */ C("img", { alt: "sponsor-logo", src: N }),
|
|
38
|
-
/* @__PURE__ */ C(
|
|
32
|
+
/* @__PURE__ */ C(m, { children: "Featured Groups +" })
|
|
39
33
|
] }),
|
|
40
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ i(h, { ref: c(2), style: a(2), children: [
|
|
41
35
|
/* @__PURE__ */ C(V, { children: "Prediction results are in!" }),
|
|
42
|
-
/* @__PURE__ */ C(
|
|
36
|
+
/* @__PURE__ */ C(m, { children: "Featured Groups +" })
|
|
43
37
|
] }),
|
|
44
|
-
/* @__PURE__ */
|
|
38
|
+
/* @__PURE__ */ i(h, { ref: c(3), style: a(3), children: [
|
|
45
39
|
/* @__PURE__ */ C(V, { children: y }),
|
|
46
|
-
/* @__PURE__ */ C(s, { children: /* @__PURE__ */
|
|
40
|
+
/* @__PURE__ */ C(s, { children: /* @__PURE__ */ i(d, { children: [
|
|
47
41
|
/* @__PURE__ */ C("span", { children: "Your Pick:" }),
|
|
48
42
|
" ",
|
|
49
|
-
|
|
43
|
+
e == null ? void 0 : e.title
|
|
50
44
|
] }) })
|
|
51
45
|
] }),
|
|
52
|
-
|
|
53
|
-
/* @__PURE__ */
|
|
46
|
+
t ? /* @__PURE__ */ i(I, { children: [
|
|
47
|
+
/* @__PURE__ */ i(h, { ref: c(4), style: { ...a(4), color: "var(--color-primary-green1)" }, children: [
|
|
54
48
|
/* @__PURE__ */ C(V, { children: "Congratulations! You answered correctly." }),
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
/* @__PURE__ */ C(
|
|
57
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ i(s, { children: [
|
|
50
|
+
/* @__PURE__ */ C(p, { name: "selected" }),
|
|
51
|
+
/* @__PURE__ */ i(d, { children: [
|
|
58
52
|
/* @__PURE__ */ C("span", { children: "Your Pick:" }),
|
|
59
53
|
" ",
|
|
60
|
-
|
|
54
|
+
e == null ? void 0 : e.title
|
|
61
55
|
] })
|
|
62
56
|
] })
|
|
63
57
|
] }),
|
|
64
|
-
/* @__PURE__ */
|
|
65
|
-
/* @__PURE__ */ C(G, { children: n === 5 && /* @__PURE__ */ C(Y, { delay: 0.5, prefix: "+", suffix: " points", value:
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */ C(
|
|
68
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ i(h, { ref: c(5), style: { ...a(5), color: "var(--color-primary-green1)" }, children: [
|
|
59
|
+
/* @__PURE__ */ C(G, { children: n === 5 && /* @__PURE__ */ C(Y, { delay: 0.5, prefix: "+", suffix: " points", value: e == null ? void 0 : e.points }) }),
|
|
60
|
+
/* @__PURE__ */ i(s, { children: [
|
|
61
|
+
/* @__PURE__ */ C(p, { name: "selected" }),
|
|
62
|
+
/* @__PURE__ */ i(d, { children: [
|
|
69
63
|
/* @__PURE__ */ C("span", { children: "Your Pick:" }),
|
|
70
64
|
" ",
|
|
71
|
-
|
|
65
|
+
e == null ? void 0 : e.title
|
|
72
66
|
] })
|
|
73
67
|
] }),
|
|
74
|
-
/* @__PURE__ */ C(g, { onClick:
|
|
68
|
+
/* @__PURE__ */ C(g, { onClick: o, children: /* @__PURE__ */ C(M, { name: "icon-cross" }) })
|
|
75
69
|
] })
|
|
76
|
-
] }) : /* @__PURE__ */
|
|
77
|
-
/* @__PURE__ */
|
|
70
|
+
] }) : /* @__PURE__ */ i(h, { ref: c(4), style: a(4), children: [
|
|
71
|
+
/* @__PURE__ */ i(V, { style: { color: "var(--color-neutrals-gray9)" }, children: [
|
|
78
72
|
"Better luck next time! Correct: ",
|
|
79
73
|
Z,
|
|
80
74
|
"."
|
|
81
75
|
] }),
|
|
82
|
-
/* @__PURE__ */
|
|
83
|
-
/* @__PURE__ */ C(
|
|
84
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ i(s, { style: { color: "var(--color-secondary-red1)" }, children: [
|
|
77
|
+
/* @__PURE__ */ C(p, { name: "circleClose" }),
|
|
78
|
+
/* @__PURE__ */ i(d, { children: [
|
|
85
79
|
/* @__PURE__ */ C("span", { children: "Your Pick:" }),
|
|
86
80
|
" ",
|
|
87
|
-
|
|
81
|
+
e == null ? void 0 : e.title
|
|
88
82
|
] })
|
|
89
83
|
] }),
|
|
90
|
-
/* @__PURE__ */ C(g, { onClick:
|
|
84
|
+
/* @__PURE__ */ C(g, { onClick: o, children: /* @__PURE__ */ C(M, { name: "icon-cross" }) })
|
|
91
85
|
] })
|
|
92
86
|
]
|
|
93
87
|
}
|
|
94
88
|
) });
|
|
95
89
|
};
|
|
96
90
|
export {
|
|
97
|
-
|
|
91
|
+
$ as PredictionResult
|
|
98
92
|
};
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { styled as s } from "@linaria/react";
|
|
2
|
-
import { SvgIcon as
|
|
3
|
-
import { ShowIn as
|
|
4
|
-
|
|
5
|
-
import "react";
|
|
6
|
-
import "@linaria/core";
|
|
7
|
-
const d = 118, n = () => e, f = /* @__PURE__ */ s(n())({
|
|
2
|
+
import { SvgIcon as e } from "../../../../icons/index.js";
|
|
3
|
+
import { ShowIn as o } from "../../../../show-in/index.js";
|
|
4
|
+
const I = 118, n = () => o, m = /* @__PURE__ */ s(n())({
|
|
8
5
|
name: "Container",
|
|
9
6
|
class: "c10131zw",
|
|
10
7
|
propsAsIs: !0
|
|
11
|
-
}),
|
|
8
|
+
}), A = /* @__PURE__ */ s("div")({
|
|
12
9
|
name: "InnerContainer",
|
|
13
10
|
class: "ir6k2eo",
|
|
14
11
|
propsAsIs: !1
|
|
15
|
-
}),
|
|
12
|
+
}), d = /* @__PURE__ */ s("div")({
|
|
16
13
|
name: "Content",
|
|
17
14
|
class: "c1hwoq9l",
|
|
18
15
|
propsAsIs: !1
|
|
@@ -20,46 +17,46 @@ const d = 118, n = () => e, f = /* @__PURE__ */ s(n())({
|
|
|
20
17
|
name: "Title",
|
|
21
18
|
class: "t4ujo4g",
|
|
22
19
|
propsAsIs: !1
|
|
23
|
-
}), c = () => t,
|
|
20
|
+
}), c = () => t, f = /* @__PURE__ */ s(c())({
|
|
24
21
|
name: "PointsTitle",
|
|
25
22
|
class: "p1pjil1h",
|
|
26
23
|
propsAsIs: !0
|
|
27
|
-
}),
|
|
24
|
+
}), C = /* @__PURE__ */ s("div")({
|
|
28
25
|
name: "Subtitle",
|
|
29
26
|
class: "s1iorwr9",
|
|
30
27
|
propsAsIs: !1
|
|
31
|
-
}),
|
|
28
|
+
}), v = /* @__PURE__ */ s("div")({
|
|
32
29
|
name: "SubtitleFG",
|
|
33
30
|
class: "s51sv9d",
|
|
34
31
|
propsAsIs: !1
|
|
35
|
-
}),
|
|
32
|
+
}), u = /* @__PURE__ */ s("div")({
|
|
36
33
|
name: "AnswerText",
|
|
37
34
|
class: "a1lbk2ye",
|
|
38
35
|
propsAsIs: !1
|
|
39
|
-
}),
|
|
36
|
+
}), a = () => e, T = /* @__PURE__ */ s(a())({
|
|
40
37
|
name: "FeedbackIcon",
|
|
41
38
|
class: "frcvk3t",
|
|
42
39
|
propsAsIs: !0
|
|
43
|
-
}),
|
|
40
|
+
}), b = /* @__PURE__ */ s("div")({
|
|
44
41
|
name: "CloseIconWrap",
|
|
45
42
|
class: "c33p82r",
|
|
46
43
|
propsAsIs: !1
|
|
47
|
-
}),
|
|
44
|
+
}), r = () => e, x = /* @__PURE__ */ s(r())({
|
|
48
45
|
name: "CloseIcon",
|
|
49
46
|
class: "c12r9net",
|
|
50
47
|
propsAsIs: !0
|
|
51
48
|
});
|
|
52
49
|
export {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
50
|
+
u as AnswerText,
|
|
51
|
+
x as CloseIcon,
|
|
52
|
+
b as CloseIconWrap,
|
|
53
|
+
m as Container,
|
|
54
|
+
d as Content,
|
|
55
|
+
T as FeedbackIcon,
|
|
56
|
+
A as InnerContainer,
|
|
57
|
+
I as MIN_CONTENT_HEIGHT,
|
|
58
|
+
f as PointsTitle,
|
|
59
|
+
C as Subtitle,
|
|
60
|
+
v as SubtitleFG,
|
|
64
61
|
t as Title
|
|
65
62
|
};
|
|
@@ -1,47 +1,45 @@
|
|
|
1
1
|
import { styled as s } from "@linaria/react";
|
|
2
|
-
import { SvgIcon as
|
|
3
|
-
|
|
4
|
-
import "react";
|
|
5
|
-
const r = /* @__PURE__ */ s("div")({
|
|
2
|
+
import { SvgIcon as e } from "../../../icons/index.js";
|
|
3
|
+
const p = /* @__PURE__ */ s("div")({
|
|
6
4
|
name: "Container",
|
|
7
5
|
class: "c1eptrjd",
|
|
8
6
|
propsAsIs: !1
|
|
9
|
-
}),
|
|
7
|
+
}), t = /* @__PURE__ */ s("div")({
|
|
10
8
|
name: "CloseIconWrap",
|
|
11
9
|
class: "crylm65",
|
|
12
10
|
propsAsIs: !1
|
|
13
|
-
}),
|
|
11
|
+
}), o = () => e, r = /* @__PURE__ */ s(o())({
|
|
14
12
|
name: "CloseIcon",
|
|
15
13
|
class: "c9mrcz7",
|
|
16
14
|
propsAsIs: !0
|
|
17
|
-
}),
|
|
15
|
+
}), l = /* @__PURE__ */ s("div")({
|
|
18
16
|
name: "Header",
|
|
19
17
|
class: "hw3lzv4",
|
|
20
18
|
propsAsIs: !1
|
|
21
|
-
}), n = () =>
|
|
19
|
+
}), n = () => e, m = /* @__PURE__ */ s(n())({
|
|
22
20
|
name: "TypeIcon",
|
|
23
21
|
class: "t1rrb3kf",
|
|
24
22
|
propsAsIs: !0
|
|
25
|
-
}),
|
|
23
|
+
}), I = /* @__PURE__ */ s("span")({
|
|
26
24
|
name: "TypeName",
|
|
27
25
|
class: "t1ydnjov",
|
|
28
26
|
propsAsIs: !1
|
|
29
|
-
}),
|
|
27
|
+
}), f = /* @__PURE__ */ s("div")({
|
|
30
28
|
name: "Question",
|
|
31
29
|
class: "qlf90cl",
|
|
32
30
|
propsAsIs: !1
|
|
33
|
-
}),
|
|
31
|
+
}), i = /* @__PURE__ */ s("button")({
|
|
34
32
|
name: "AnswerButton",
|
|
35
33
|
class: "a1e0nhcl",
|
|
36
34
|
propsAsIs: !1
|
|
37
35
|
});
|
|
38
36
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
i as AnswerButton,
|
|
38
|
+
r as CloseIcon,
|
|
39
|
+
t as CloseIconWrap,
|
|
40
|
+
p as Container,
|
|
41
|
+
l as Header,
|
|
42
|
+
f as Question,
|
|
43
|
+
m as TypeIcon,
|
|
44
|
+
I as TypeName
|
|
47
45
|
};
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { TwitterContent as
|
|
3
|
-
import { Container as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import "@linaria/react";
|
|
9
|
-
import "../../../../video-player/styles.js";
|
|
10
|
-
import "../../../../questions/twitter/account/index.js";
|
|
11
|
-
import "../../../../../utils/common.js";
|
|
12
|
-
import "../../../../questions/twitter/account/styles.js";
|
|
13
|
-
import "../../../../questions/twitter/styles.js";
|
|
14
|
-
const g = ({ action: r, ...i }) => /* @__PURE__ */ o(m, { children: [
|
|
15
|
-
i.title && /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(p, { children: i.title }) }),
|
|
16
|
-
/* @__PURE__ */ t(e, { ...i }),
|
|
17
|
-
r && /* @__PURE__ */ t(l, { onClick: r, children: "View Insight" })
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { TwitterContent as n } from "../../../../questions/twitter/index.js";
|
|
3
|
+
import { Container as o, QuoteWrap as l, Quote as c, ActionBtn as m } from "./styles.js";
|
|
4
|
+
const s = ({ action: i, ...e }) => /* @__PURE__ */ r(o, { children: [
|
|
5
|
+
e.title && /* @__PURE__ */ t(l, { children: /* @__PURE__ */ t(c, { children: e.title }) }),
|
|
6
|
+
/* @__PURE__ */ t(n, { ...e }),
|
|
7
|
+
i && /* @__PURE__ */ t(m, { onClick: i, children: "View Insight" })
|
|
18
8
|
] });
|
|
19
9
|
export {
|
|
20
|
-
|
|
10
|
+
s as Tweet
|
|
21
11
|
};
|
|
@@ -1,88 +1,86 @@
|
|
|
1
1
|
import { styled as s } from "@linaria/react";
|
|
2
2
|
import { SvgIcon as o } from "../../icons/index.js";
|
|
3
3
|
import { Container as n } from "../../skeleton/styles.js";
|
|
4
|
-
|
|
5
|
-
import "react";
|
|
6
|
-
const r = /* @__PURE__ */ s("div")({
|
|
4
|
+
const l = /* @__PURE__ */ s("div")({
|
|
7
5
|
name: "QuestionItem",
|
|
8
6
|
class: "q1w97g3p",
|
|
9
7
|
propsAsIs: !1
|
|
10
|
-
}),
|
|
8
|
+
}), u = /* @__PURE__ */ s("div")({
|
|
11
9
|
name: "QuestionCaption",
|
|
12
10
|
class: "q2sl39u",
|
|
13
11
|
propsAsIs: !1
|
|
14
|
-
}),
|
|
12
|
+
}), r = /* @__PURE__ */ s("div")({
|
|
15
13
|
name: "QuestionBody",
|
|
16
14
|
class: "qd5h0uc",
|
|
17
15
|
propsAsIs: !1
|
|
18
|
-
}),
|
|
16
|
+
}), m = /* @__PURE__ */ s("div")({
|
|
19
17
|
name: "QuestionAction",
|
|
20
18
|
class: "q105uluy",
|
|
21
19
|
propsAsIs: !1
|
|
22
|
-
}), t = () => o,
|
|
20
|
+
}), t = () => o, Q = /* @__PURE__ */ s(t())({
|
|
23
21
|
name: "QuestionActionIcon",
|
|
24
22
|
class: "q1fa0b9h",
|
|
25
23
|
propsAsIs: !0
|
|
26
|
-
}), e = () => o,
|
|
24
|
+
}), e = () => o, I = /* @__PURE__ */ s(e())({
|
|
27
25
|
name: "QuestionTypeIcon",
|
|
28
26
|
class: "qxlt78s",
|
|
29
27
|
propsAsIs: !0
|
|
30
|
-
}),
|
|
28
|
+
}), A = /* @__PURE__ */ s("div")({
|
|
31
29
|
name: "QuestionTypeLabel",
|
|
32
30
|
class: "qmg0vkx",
|
|
33
31
|
propsAsIs: !1
|
|
34
|
-
}),
|
|
32
|
+
}), f = /* @__PURE__ */ s("div")({
|
|
35
33
|
name: "QuestionContent",
|
|
36
34
|
class: "q1uz5j1g",
|
|
37
35
|
propsAsIs: !1
|
|
38
|
-
}),
|
|
36
|
+
}), d = /* @__PURE__ */ s("div")({
|
|
39
37
|
name: "QuestionSubject",
|
|
40
38
|
class: "qc3icwa",
|
|
41
39
|
propsAsIs: !1
|
|
42
|
-
}),
|
|
40
|
+
}), y = /* @__PURE__ */ s("button")({
|
|
43
41
|
name: "QuestionActionTitle",
|
|
44
42
|
class: "qmx43d1",
|
|
45
43
|
propsAsIs: !1
|
|
46
|
-
}),
|
|
44
|
+
}), q = /* @__PURE__ */ s("img")({
|
|
47
45
|
name: "QuestionStatusIcon",
|
|
48
46
|
class: "q1uc7n5z",
|
|
49
47
|
propsAsIs: !1
|
|
50
|
-
}),
|
|
48
|
+
}), v = /* @__PURE__ */ s("span")({
|
|
51
49
|
name: "QuestionTypeTitle",
|
|
52
50
|
class: "qcpp4y6",
|
|
53
51
|
propsAsIs: !1
|
|
54
|
-
}),
|
|
52
|
+
}), T = /* @__PURE__ */ s("span")({
|
|
55
53
|
name: "ExpiredQuestion",
|
|
56
54
|
class: "e1rdw3wd",
|
|
57
55
|
propsAsIs: !1
|
|
58
|
-
}),
|
|
56
|
+
}), x = /* @__PURE__ */ s("button")({
|
|
59
57
|
name: "PlayButton",
|
|
60
58
|
class: "p1pba9p1",
|
|
61
59
|
propsAsIs: !1
|
|
62
|
-
}),
|
|
60
|
+
}), S = /* @__PURE__ */ s("div")({
|
|
63
61
|
name: "SkeletonContainer",
|
|
64
62
|
class: "s169lohr",
|
|
65
63
|
propsAsIs: !1
|
|
66
|
-
}), a = () => n,
|
|
64
|
+
}), a = () => n, b = /* @__PURE__ */ s(a())({
|
|
67
65
|
name: "SkeletonButton",
|
|
68
66
|
class: "s1f43z3r",
|
|
69
67
|
propsAsIs: !0
|
|
70
68
|
});
|
|
71
69
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
70
|
+
T as ExpiredQuestion,
|
|
71
|
+
x as PlayButton,
|
|
72
|
+
m as QuestionAction,
|
|
73
|
+
Q as QuestionActionIcon,
|
|
74
|
+
y as QuestionActionTitle,
|
|
75
|
+
r as QuestionBody,
|
|
76
|
+
u as QuestionCaption,
|
|
77
|
+
f as QuestionContent,
|
|
78
|
+
l as QuestionItem,
|
|
79
|
+
q as QuestionStatusIcon,
|
|
80
|
+
d as QuestionSubject,
|
|
81
|
+
I as QuestionTypeIcon,
|
|
82
|
+
A as QuestionTypeLabel,
|
|
83
|
+
v as QuestionTypeTitle,
|
|
84
|
+
b as SkeletonButton,
|
|
85
|
+
S as SkeletonContainer
|
|
88
86
|
};
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { type TwitterContentProps } from '../../../questions/twitter';
|
|
3
3
|
import { VideoPlayerProps } from '../../../video-player';
|
|
4
4
|
type TwitterProps = TwitterContentProps & {
|
|
5
|
-
openTweet?: (questionId: string) => void;
|
|
6
5
|
controlVideo: VideoPlayerProps['controlVideo'];
|
|
7
6
|
};
|
|
8
7
|
export declare const Twitter: React.FC<TwitterProps>;
|
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { TwitterContent as
|
|
3
|
-
import { Container as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import "@linaria/react";
|
|
9
|
-
import "../../../video-player/styles.js";
|
|
10
|
-
import "../../../questions/twitter/account/index.js";
|
|
11
|
-
import "../../../../utils/common.js";
|
|
12
|
-
import "../../../questions/twitter/account/styles.js";
|
|
13
|
-
import "../../../questions/twitter/styles.js";
|
|
14
|
-
import "../../../button/index.js";
|
|
15
|
-
import "../../../button/styles.js";
|
|
16
|
-
const A = ({ openTweet: r, ...t }) => /* @__PURE__ */ o(e, { children: [
|
|
17
|
-
t.title && /* @__PURE__ */ i(n, { children: t.title }),
|
|
18
|
-
/* @__PURE__ */ i(m, { ...t }),
|
|
19
|
-
r && /* @__PURE__ */ i(p, { onClick: () => r(t.tweetId), children: "View Insight" })
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { TwitterContent as n } from "../../../questions/twitter/index.js";
|
|
3
|
+
import { Container as r, Quote as o, ActionButton as m } from "./styles.js";
|
|
4
|
+
const a = ({ ...t }) => /* @__PURE__ */ i(r, { "data-name": t.tweetId, children: [
|
|
5
|
+
t.title && /* @__PURE__ */ e(o, { children: t.title }),
|
|
6
|
+
/* @__PURE__ */ e(n, { ...t }),
|
|
7
|
+
/* @__PURE__ */ e(m, { children: "View Insight" })
|
|
20
8
|
] });
|
|
21
9
|
export {
|
|
22
|
-
|
|
10
|
+
a as Twitter
|
|
23
11
|
};
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { styled as o } from "@linaria/react";
|
|
2
|
-
import { Button as
|
|
3
|
-
import "react/jsx-runtime";
|
|
4
|
-
import "../../../button/styles.js";
|
|
2
|
+
import { Button as s } from "../../../button/index.js";
|
|
5
3
|
const a = /* @__PURE__ */ o("div")({
|
|
6
4
|
name: "Container",
|
|
7
5
|
class: "cl56x6b",
|
|
8
6
|
propsAsIs: !1
|
|
9
|
-
}),
|
|
7
|
+
}), t = () => s, c = /* @__PURE__ */ o(t())({
|
|
10
8
|
name: "ActionButton",
|
|
11
9
|
class: "a11pzf92",
|
|
12
10
|
propsAsIs: !0
|
|
13
|
-
}),
|
|
11
|
+
}), p = /* @__PURE__ */ o("blockquote")({
|
|
14
12
|
name: "Quote",
|
|
15
13
|
class: "q1hbaleq",
|
|
16
14
|
propsAsIs: !1
|
|
@@ -18,5 +16,5 @@ const a = /* @__PURE__ */ o("div")({
|
|
|
18
16
|
export {
|
|
19
17
|
c as ActionButton,
|
|
20
18
|
a as Container,
|
|
21
|
-
|
|
19
|
+
p as Quote
|
|
22
20
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { Button as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const t = ({ title: r, active: o, onClick: n }) => /* @__PURE__ */ e(d, { onClick: n, "data-selected": o, children: /* @__PURE__ */ e(l, { children: r }) }), p = ({ activePage: r = "home", toggleActivePage: o }) => /* @__PURE__ */ e(a, { children: /* @__PURE__ */ i(m, { "data-position": r === "home" ? "left" : "right", children: [
|
|
1
|
+
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
2
|
+
import { Button as i, Title as l, Container as a, STabs as h } from "./styles.js";
|
|
3
|
+
var m = /* @__PURE__ */ ((r) => (r.HOME = "home", r.LEADERBOARD = "leaderboard", r))(m || {});
|
|
4
|
+
const t = ({ title: r, active: o, onClick: n }) => /* @__PURE__ */ e(i, { onClick: n, "data-selected": o, children: /* @__PURE__ */ e(l, { children: r }) }), b = ({ activePage: r = "home", toggleActivePage: o }) => /* @__PURE__ */ e(a, { children: /* @__PURE__ */ d(h, { "data-position": r === "home" ? "left" : "right", children: [
|
|
6
5
|
/* @__PURE__ */ e(t, { title: "Home", active: r === "home", onClick: () => o(
|
|
7
6
|
"home"
|
|
8
7
|
/* HOME */
|
|
@@ -20,7 +19,7 @@ const t = ({ title: r, active: o, onClick: n }) => /* @__PURE__ */ e(d, { onClic
|
|
|
20
19
|
)
|
|
21
20
|
] }) });
|
|
22
21
|
export {
|
|
23
|
-
|
|
22
|
+
m as ActivePages,
|
|
24
23
|
t as Tab,
|
|
25
|
-
|
|
24
|
+
b as Tabs
|
|
26
25
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { Container as t, Title as e, Indicator as c } from "./styles.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/* @__PURE__ */ r(e, { children: o }),
|
|
3
|
+
const m = ({ indicator: i, title: n }) => /* @__PURE__ */ o(t, { children: [
|
|
4
|
+
/* @__PURE__ */ r(e, { children: n }),
|
|
6
5
|
/* @__PURE__ */ r(c, { children: i })
|
|
7
6
|
] });
|
|
8
7
|
export {
|
|
9
|
-
|
|
8
|
+
m as Rank
|
|
10
9
|
};
|