@streamlayer/react-ui 0.91.1 → 0.93.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.
Files changed (94) hide show
  1. package/lib/assets/style.css +1 -1
  2. package/lib/index-keh7OLCY.js +67 -0
  3. package/lib/index.js +5 -4
  4. package/lib/ui/app/Features/Gamification/Friends.d.ts +2 -1
  5. package/lib/ui/app/Features/Gamification/Friends.js +6 -6
  6. package/lib/ui/app/Features/Gamification/Leaderboard.d.ts +3 -2
  7. package/lib/ui/app/Features/Gamification/Leaderboard.js +26 -24
  8. package/lib/ui/app/Features/Gamification/Question.js +1 -1
  9. package/lib/ui/app/Features/Gamification/Tabs.d.ts +7 -2
  10. package/lib/ui/app/Features/Gamification/Tabs.js +42 -31
  11. package/lib/ui/app/Features/Gamification/gamification-feature.js +5 -2
  12. package/lib/ui/app/Features/Gamification/index.d.ts +6 -2
  13. package/lib/ui/app/Features/Gamification/index.js +86 -45
  14. package/lib/ui/app/Features/index.d.ts +6 -2
  15. package/lib/ui/app/Features/index.js +13 -11
  16. package/lib/ui/app/Navigation/MastersNavigation/index.d.ts +3 -2
  17. package/lib/ui/app/Navigation/MastersNavigation/index.js +37 -31
  18. package/lib/ui/app/Navigation/index.js +6 -7
  19. package/lib/ui/app/Notifications/Onboarding/index.d.ts +2 -1
  20. package/lib/ui/app/Notifications/Onboarding/index.js +91 -73
  21. package/lib/ui/app/Notifications/index.d.ts +6 -2
  22. package/lib/ui/app/Notifications/index.js +120 -91
  23. package/lib/ui/app/Points/index.js +6 -5
  24. package/lib/ui/app/masters.d.ts +7 -0
  25. package/lib/ui/app/masters.js +73 -51
  26. package/lib/ui/app/styles.d.ts +1 -0
  27. package/lib/ui/app/styles.js +6 -1
  28. package/lib/ui/app/useClipboardCopy.d.ts +2 -1
  29. package/lib/ui/app/useImagesPreload.d.ts +4 -0
  30. package/lib/ui/app/useImagesPreload.js +23 -0
  31. package/lib/ui/app/useMastersApp.js +15 -14
  32. package/lib/ui/app/useSdkResponsive.d.ts +14 -0
  33. package/lib/ui/app/useSdkResponsive.js +46 -0
  34. package/lib/ui/app/useSdkScroll.d.ts +4 -1
  35. package/lib/ui/app/useSdkScroll.js +36 -85
  36. package/lib/ui/gamification/detail/header/index.js +11 -11
  37. package/lib/ui/gamification/detail/header/styles.d.ts +1 -1
  38. package/lib/ui/gamification/detail/header/styles.js +11 -11
  39. package/lib/ui/gamification/leaderboard/static.d.ts +2 -1
  40. package/lib/ui/gamification/onboarding/index.d.ts +5 -0
  41. package/lib/ui/gamification/onboarding/index.js +69 -42
  42. package/lib/ui/gamification/onboarding/invitingUser/index.d.ts +7 -0
  43. package/lib/ui/gamification/onboarding/invitingUser/index.js +16 -0
  44. package/lib/ui/gamification/onboarding/invitingUser/styles.d.ts +5 -0
  45. package/lib/ui/gamification/onboarding/invitingUser/styles.js +24 -0
  46. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.d.ts +1 -1
  47. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/index.js +15 -13
  48. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.d.ts +1 -1
  49. package/lib/ui/gamification/onboarding/slides/onboarding-instructions/styles.js +9 -9
  50. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.d.ts +2 -1
  51. package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/index.js +1 -1
  52. package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.d.ts +2 -0
  53. package/lib/ui/gamification/onboarding/slides/onboarding-rules/index.js +18 -12
  54. package/lib/ui/gamification/onboarding/slides/onboarding-terms/index.d.ts +7 -0
  55. package/lib/ui/gamification/onboarding/slides/onboarding-terms/index.js +10 -0
  56. package/lib/ui/gamification/onboarding/slides/onboarding-terms/styles.d.ts +5 -0
  57. package/lib/ui/gamification/onboarding/slides/onboarding-terms/styles.js +24 -0
  58. package/lib/ui/gamification/points/index.js +5 -4
  59. package/lib/ui/gamification/question/insight/index.js +5 -5
  60. package/lib/ui/gamification/question/notification/prediction-result/animation-lines/index.js +17 -17
  61. package/lib/ui/gamification/question/notification/prediction-result/index.js +37 -39
  62. package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +1 -1
  63. package/lib/ui/gamification/question/notification/prediction-result/styles.js +12 -12
  64. package/lib/ui/gamification/vote/index.js +55 -54
  65. package/lib/ui/gamification/vote/insight-details/index.js +1 -1
  66. package/lib/ui/gamification/vote/styles.d.ts +1 -0
  67. package/lib/ui/gamification/vote/styles.js +17 -11
  68. package/lib/ui/gamification/vote/vote-option/index.js +62 -58
  69. package/lib/ui/gamification/vote/win-bar/index.d.ts +1 -0
  70. package/lib/ui/gamification/vote/win-bar/index.js +21 -20
  71. package/lib/ui/navigation/button/LeaderBoard.js +5 -6
  72. package/lib/ui/navigation/index.js +6 -7
  73. package/lib/ui/navigation/masters.d.ts +2 -1
  74. package/lib/ui/navigation/masters.js +9 -6
  75. package/lib/ui/questions/insight/index.d.ts +1 -1
  76. package/lib/ui/questions/insight/index.js +18 -25
  77. package/lib/ui/skeleton/index.d.ts +7 -0
  78. package/lib/ui/skeleton/index.js +7 -0
  79. package/lib/ui/skeleton/styles.d.ts +2 -0
  80. package/lib/ui/skeleton/styles.js +9 -0
  81. package/lib/ui/theme/breakpoints.d.ts +4 -1
  82. package/lib/ui/theme/breakpoints.js +24 -12
  83. package/lib/ui/theme/constants.d.ts +4 -0
  84. package/lib/ui/theme/constants.js +6 -2
  85. package/lib/ui/theme/index.js +4 -3
  86. package/lib/ui/theme/theme.js +29 -21
  87. package/lib/utils/createDemo.js +12 -13
  88. package/lib/utils/debug/components/copyLogs.js +10 -9
  89. package/lib/utils/decorators/container.js +4 -3
  90. package/package.json +18 -18
  91. package/lib/LeaderBoard_fzzlxb-w40geAFS.js +0 -1
  92. package/lib/index_ej4hfx-w40geAFS.js +0 -1
  93. package/lib/masters_m6itlr-w40geAFS.js +0 -1
  94. package/lib/utils/useStreamLayerApp.js +0 -25
@@ -1,28 +1,30 @@
1
- import { jsx as C, jsxs as e, Fragment as P } from "react/jsx-runtime";
2
- import { useState as T, useRef as Y, useEffect as u } from "react";
3
- import { AnimationLines as I } from "./animation-lines/index.js";
4
- import { MIN_CONTENT_HEIGHT as B, Container as F, InnerContainer as S, Content as h, SubtitleFG as g, Title as V, Subtitle as s, AnswerText as d, FeedbackIcon as p, PointsTitle as b, CloseButton as f, CloseIcon as M } from "./styles.js";
1
+ import { jsx as C, jsxs as e, Fragment as I } from "react/jsx-runtime";
2
+ import { useState as P, useRef as T, useEffect as f } from "react";
3
+ import { AnimatedCounter as Y } from "../../../../animated-counter/index.js";
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 a, SubtitleFG as u, Title as V, Subtitle as s, AnswerText as p, FeedbackIcon as d, PointsTitle as G, CloseIconWrap as g, CloseIcon as M } from "./styles.js";
6
+ import "react-countup";
5
7
  import "./animation-lines/styles.js";
6
8
  import "@linaria/react";
7
9
  import "../../../../icons/index.js";
8
10
  import "../../../../show-in/index.js";
9
11
  import "@linaria/core";
10
- const G = "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", N = (a, i, l) => a === i ? "translateY(0px)" : a > i ? `translateY(${l}px)` : "translateY(-100%)", D = ({ close: a, votedAnswer: i, correct: l, correctAnswerTitle: Z, questionTitle: y, saveHeight: m, style: L, hiding: x }) => {
11
- const [n, k] = T(1), H = Y({});
12
- u(() => {
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 }) => {
13
+ const [n, k] = P(1), H = T({});
14
+ f(() => {
13
15
  const t = setInterval(() => {
14
16
  k((r) => l && r > 4 || !l && r > 3 ? r : ++r);
15
- }, 6e3);
17
+ }, 3e3);
16
18
  return () => clearInterval(t);
17
- }, [l]), u(() => {
19
+ }, [l]), f(() => {
18
20
  var t, r;
19
- H.current[n] && m(((r = (t = H.current[n]) == null ? void 0 : t.getBoundingClientRect()) == null ? void 0 : r.height) || B);
21
+ H.current[n] && m(((r = (t = H.current[n]) == null ? void 0 : t.getBoundingClientRect()) == null ? void 0 : r.height) || S);
20
22
  }, [n, m]);
21
23
  const c = (t) => (r) => {
22
24
  H.current && (H.current[t] = r);
23
- }, o = (t) => ({ transform: N(t, n, L.height) });
24
- return /* @__PURE__ */ C(F, { style: L.height ? L : { ...L, paddingTop: 0, paddingBottom: 0 }, hiding: x, children: /* @__PURE__ */ e(
25
- S,
25
+ }, o = (t) => ({ transform: E(t, n, L.height) });
26
+ return /* @__PURE__ */ C(b, { style: L.height ? L : { ...L, paddingTop: 0, paddingBottom: 0 }, hiding: x, children: /* @__PURE__ */ e(
27
+ B,
26
28
  {
27
29
  style: {
28
30
  height: L.height,
@@ -30,71 +32,67 @@ const G = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%20
30
32
  backgroundColor: n > 3 ? "var(--color-white)" : "var(--color-primary-green2)"
31
33
  },
32
34
  children: [
33
- /* @__PURE__ */ C(I, { step: n, correct: l }),
34
- /* @__PURE__ */ e(h, { ref: c(1), style: o(1), children: [
35
- /* @__PURE__ */ C("img", { alt: "sponsor-logo", src: G }),
36
- /* @__PURE__ */ C(g, { children: "Featured Groups +" })
35
+ /* @__PURE__ */ C(F, { step: n, correct: l }),
36
+ /* @__PURE__ */ e(a, { ref: c(1), style: o(1), children: [
37
+ /* @__PURE__ */ C("img", { alt: "sponsor-logo", src: N }),
38
+ /* @__PURE__ */ C(u, { children: "Featured Groups +" })
37
39
  ] }),
38
- /* @__PURE__ */ e(h, { ref: c(2), style: o(2), children: [
40
+ /* @__PURE__ */ e(a, { ref: c(2), style: o(2), children: [
39
41
  /* @__PURE__ */ C(V, { children: "Prediction results are in!" }),
40
- /* @__PURE__ */ C(g, { children: "Featured Groups +" })
42
+ /* @__PURE__ */ C(u, { children: "Featured Groups +" })
41
43
  ] }),
42
- /* @__PURE__ */ e(h, { ref: c(3), style: o(3), children: [
44
+ /* @__PURE__ */ e(a, { ref: c(3), style: o(3), children: [
43
45
  /* @__PURE__ */ C(V, { children: y }),
44
- /* @__PURE__ */ C(s, { children: /* @__PURE__ */ e(d, { children: [
46
+ /* @__PURE__ */ C(s, { children: /* @__PURE__ */ e(p, { children: [
45
47
  /* @__PURE__ */ C("span", { children: "Your Pick:" }),
46
48
  " ",
47
49
  i == null ? void 0 : i.title
48
50
  ] }) })
49
51
  ] }),
50
- l ? /* @__PURE__ */ e(P, { children: [
51
- /* @__PURE__ */ e(h, { ref: c(4), style: { ...o(4), color: "var(--color-primary-green1)" }, children: [
52
+ l ? /* @__PURE__ */ e(I, { children: [
53
+ /* @__PURE__ */ e(a, { ref: c(4), style: { ...o(4), color: "var(--color-primary-green1)" }, children: [
52
54
  /* @__PURE__ */ C(V, { children: "Congratulations! You answered correctly." }),
53
55
  /* @__PURE__ */ e(s, { children: [
54
- /* @__PURE__ */ C(p, { name: "selected" }),
55
- /* @__PURE__ */ e(d, { children: [
56
+ /* @__PURE__ */ C(d, { name: "selected" }),
57
+ /* @__PURE__ */ e(p, { children: [
56
58
  /* @__PURE__ */ C("span", { children: "Your Pick:" }),
57
59
  " ",
58
60
  i == null ? void 0 : i.title
59
61
  ] })
60
62
  ] })
61
63
  ] }),
62
- /* @__PURE__ */ e(h, { ref: c(5), style: { ...o(5), color: "var(--color-primary-green1)" }, children: [
63
- /* @__PURE__ */ e(b, { children: [
64
- "+",
65
- i == null ? void 0 : i.points,
66
- " points"
67
- ] }),
64
+ /* @__PURE__ */ e(a, { ref: c(5), style: { ...o(5), color: "var(--color-primary-green1)" }, children: [
65
+ /* @__PURE__ */ C(G, { children: n === 5 && /* @__PURE__ */ C(Y, { delay: 0.5, prefix: "+", suffix: " points", value: i == null ? void 0 : i.points }) }),
68
66
  /* @__PURE__ */ e(s, { children: [
69
- /* @__PURE__ */ C(p, { name: "selected" }),
70
- /* @__PURE__ */ e(d, { children: [
67
+ /* @__PURE__ */ C(d, { name: "selected" }),
68
+ /* @__PURE__ */ e(p, { children: [
71
69
  /* @__PURE__ */ C("span", { children: "Your Pick:" }),
72
70
  " ",
73
71
  i == null ? void 0 : i.title
74
72
  ] })
75
73
  ] }),
76
- /* @__PURE__ */ C(f, { onClick: a, children: /* @__PURE__ */ C(M, { name: "icon-cross" }) })
74
+ /* @__PURE__ */ C(g, { onClick: h, children: /* @__PURE__ */ C(M, { name: "icon-cross" }) })
77
75
  ] })
78
- ] }) : /* @__PURE__ */ e(h, { ref: c(4), style: o(4), children: [
76
+ ] }) : /* @__PURE__ */ e(a, { ref: c(4), style: o(4), children: [
79
77
  /* @__PURE__ */ e(V, { style: { color: "var(--color-neutrals-gray9)" }, children: [
80
78
  "Better luck next time! Correct: ",
81
79
  Z,
82
80
  "."
83
81
  ] }),
84
82
  /* @__PURE__ */ e(s, { style: { color: "var(--color-secondary-red1)" }, children: [
85
- /* @__PURE__ */ C(p, { name: "circleClose" }),
86
- /* @__PURE__ */ e(d, { children: [
83
+ /* @__PURE__ */ C(d, { name: "circleClose" }),
84
+ /* @__PURE__ */ e(p, { children: [
87
85
  /* @__PURE__ */ C("span", { children: "Your Pick:" }),
88
86
  " ",
89
87
  i == null ? void 0 : i.title
90
88
  ] })
91
89
  ] }),
92
- /* @__PURE__ */ C(f, { onClick: a, children: /* @__PURE__ */ C(M, { name: "icon-cross" }) })
90
+ /* @__PURE__ */ C(g, { onClick: h, children: /* @__PURE__ */ C(M, { name: "icon-cross" }) })
93
91
  ] })
94
92
  ]
95
93
  }
96
94
  ) });
97
95
  };
98
96
  export {
99
- D as PredictionResult
97
+ Q as PredictionResult
100
98
  };
@@ -11,5 +11,5 @@ export declare const Subtitle: import("@linaria/react").StyledComponent<import("
11
11
  export declare const SubtitleFG: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
12
12
  export declare const AnswerText: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
13
13
  export declare const FeedbackIcon: any;
14
- export declare const CloseButton: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
14
+ export declare const CloseIconWrap: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
15
15
  export declare const CloseIcon: any;
@@ -1,10 +1,10 @@
1
1
  import { styled as s } from "@linaria/react";
2
2
  import { SvgIcon as o } from "../../../../icons/index.js";
3
- import { ShowIn as t } from "../../../../show-in/index.js";
3
+ import { ShowIn as e } from "../../../../show-in/index.js";
4
4
  import "react/jsx-runtime";
5
5
  import "react";
6
6
  import "@linaria/core";
7
- const u = 118, e = () => t, f = /* @__PURE__ */ s(e())({
7
+ const d = 118, n = () => e, f = /* @__PURE__ */ s(n())({
8
8
  name: "Container",
9
9
  class: "c10131zw",
10
10
  propsAsIs: !0
@@ -12,15 +12,15 @@ const u = 118, e = () => t, f = /* @__PURE__ */ s(e())({
12
12
  name: "InnerContainer",
13
13
  class: "ir6k2eo",
14
14
  propsAsIs: !1
15
- }), d = /* @__PURE__ */ s("div")({
15
+ }), v = /* @__PURE__ */ s("div")({
16
16
  name: "Content",
17
17
  class: "c1hwoq9l",
18
18
  propsAsIs: !1
19
- }), n = /* @__PURE__ */ s("div")({
19
+ }), t = /* @__PURE__ */ s("div")({
20
20
  name: "Title",
21
21
  class: "t4ujo4g",
22
22
  propsAsIs: !1
23
- }), c = () => n, v = /* @__PURE__ */ s(c())({
23
+ }), c = () => t, u = /* @__PURE__ */ s(c())({
24
24
  name: "PointsTitle",
25
25
  class: "p1pjil1h",
26
26
  propsAsIs: !0
@@ -40,8 +40,8 @@ const u = 118, e = () => t, f = /* @__PURE__ */ s(e())({
40
40
  name: "FeedbackIcon",
41
41
  class: "frcvk3t",
42
42
  propsAsIs: !0
43
- }), S = /* @__PURE__ */ s("button")({
44
- name: "CloseButton",
43
+ }), S = /* @__PURE__ */ s("div")({
44
+ name: "CloseIconWrap",
45
45
  class: "c33p82r",
46
46
  propsAsIs: !1
47
47
  }), a = () => o, _ = /* @__PURE__ */ s(a())({
@@ -51,15 +51,15 @@ const u = 118, e = () => t, f = /* @__PURE__ */ s(e())({
51
51
  });
52
52
  export {
53
53
  x as AnswerText,
54
- S as CloseButton,
55
54
  _ as CloseIcon,
55
+ S as CloseIconWrap,
56
56
  f as Container,
57
- d as Content,
57
+ v as Content,
58
58
  w as FeedbackIcon,
59
59
  C as InnerContainer,
60
- u as MIN_CONTENT_HEIGHT,
61
- v as PointsTitle,
60
+ d as MIN_CONTENT_HEIGHT,
61
+ u as PointsTitle,
62
62
  T as Subtitle,
63
63
  b as SubtitleFG,
64
- n as Title
64
+ t as Title
65
65
  };
@@ -1,16 +1,16 @@
1
- import { jsx as m, jsxs as N, Fragment as z } from "react/jsx-runtime";
2
- import { useState as d, useEffect as G, useCallback as p, useMemo as f } from "react";
3
- import { QuestionType as c, QuestionStatus as V } from "@streamlayer/sdk-web-types";
4
- import { SDKScrollContainer as J } from "../../app/styles.js";
1
+ import { jsx as n, jsxs as k, Fragment as J } from "react/jsx-runtime";
2
+ import { useState as I, useEffect as K, useCallback as R, useMemo as f } from "react";
3
+ import { QuestionType as o, QuestionStatus as E } from "@streamlayer/sdk-web-types";
5
4
  import { ExpiredAlert as U } from "./expired-alert/index.js";
6
5
  import { Feedback as X } from "./feedback/index.js";
7
- import { Container as Z, Content as _, Title as $, Options as Q } from "./styles.js";
8
- import { VotingOption as tt } from "./vote-option/index.js";
9
- import { WinBar as rt } from "./win-bar/index.js";
10
- import "@linaria/react";
6
+ import { QuestionScrollContainer as Z, Container as _, Content as $, Title as Q, Options as tt } from "./styles.js";
7
+ import { VotingOption as rt } from "./vote-option/index.js";
8
+ import { WinBar as it } from "./win-bar/index.js";
11
9
  import "../../icons/index.js";
10
+ import "@linaria/react";
12
11
  import "./expired-alert/styles.js";
13
12
  import "./feedback/styles.js";
13
+ import "../../app/styles.js";
14
14
  import "../../animated-counter/index.js";
15
15
  import "react-countup";
16
16
  import "./vote-option/styles.js";
@@ -18,23 +18,23 @@ import "../../timer/index.js";
18
18
  import "react-countdown-circle-timer";
19
19
  import "../../theme/constants.js";
20
20
  import "./win-bar/styles.js";
21
- const wt = ({ openedQuestion: t, isLoading: C, vote: w, close: v }) => {
22
- var g, k;
23
- const P = t.subject, a = t.type, o = t.status, E = (g = t.options) == null ? void 0 : g.options, I = t.marketClosed, [R, b] = d(!1), [h, L] = d(!1), [u, O] = d(!0), [n, M] = d(!1), [x, q] = d(""), y = t == null ? void 0 : t.id;
24
- G(() => {
25
- a === c.PREDICTION ? I && O(!1) : o === V.RESOLVED && O(!1);
21
+ const vt = ({ openedQuestion: t, isLoading: C, vote: p, close: v }) => {
22
+ var P, g;
23
+ const A = t.subject, a = t.type, m = t.status, V = (P = t.options) == null ? void 0 : P.options, d = t.marketClosed, [O, b] = I(!1), [y, L] = I(!1), [T, w] = I(!0), [c, M] = I(!1), [x, D] = I(""), h = t == null ? void 0 : t.id;
24
+ K(() => {
25
+ a === o.PREDICTION ? d && w(!1) : m === E.RESOLVED && w(!1);
26
26
  }, []);
27
- const j = p((e) => {
27
+ const j = R((e) => {
28
28
  L(e), b(!0);
29
- }, []), D = p(
29
+ }, []), q = R(
30
30
  async (e) => {
31
- if (y) {
32
- const T = e.currentTarget.value;
33
- q(T), await w(y, T);
31
+ if (h) {
32
+ const u = e.currentTarget.value;
33
+ D(u), await p(h, u);
34
34
  }
35
35
  },
36
- [y, q, w]
37
- ), B = p(() => {
36
+ [h, D, p]
37
+ ), B = R(() => {
38
38
  M(!0), setTimeout(v, 3e3);
39
39
  }, [v]), r = f(
40
40
  () => t == null ? void 0 : t.answers.find((e) => e.youVoted === !0),
@@ -46,7 +46,7 @@ const wt = ({ openedQuestion: t, isLoading: C, vote: w, close: v }) => {
46
46
  () => t == null ? void 0 : t.answers.find((e) => e.correct === !0),
47
47
  [t]
48
48
  ), W = f(() => t ? t.answers.map((e) => {
49
- var T;
49
+ var u;
50
50
  return {
51
51
  ...e,
52
52
  questionVoted: !!r,
@@ -54,36 +54,36 @@ const wt = ({ openedQuestion: t, isLoading: C, vote: w, close: v }) => {
54
54
  isLoading: C,
55
55
  hasCorrectAnswer: s,
56
56
  questionType: t.type,
57
- answerTimeExpired: n,
58
- questionStatus: o,
59
- imageMode: (T = t.appearance) == null ? void 0 : T.images,
60
- onVote: D
57
+ answerTimeExpired: c,
58
+ questionStatus: m,
59
+ imageMode: (u = t.appearance) == null ? void 0 : u.images,
60
+ onVote: q
61
61
  };
62
62
  }) : [], [
63
63
  s,
64
- n,
64
+ c,
65
65
  C,
66
66
  t,
67
67
  r,
68
- o,
69
- D,
68
+ m,
69
+ q,
70
70
  x
71
- ]), F = E && (E.case === "trivia" || E.case === "prediction") ? E.value : void 0, l = o === V.RESOLVED && a === c.TRIVIA && !r && !u, S = a === c.TRIVIA && h && R && u, A = f(() => a === c.PREDICTION ? !!(r && !s || r && s && (i != null && i.youVoted)) : !0, [a, r, s, i]), Y = f(() => {
72
- if (a === c.PREDICTION && r && (!s || s && (i != null && i.youVoted)))
71
+ ]), F = V && (V.case === "trivia" || V.case === "prediction") ? V.value : void 0, l = m === E.RESOLVED && a === o.TRIVIA && !r && !T, S = a === o.TRIVIA && y && O && T, N = f(() => a === o.PREDICTION ? !!(r && !s || r && s && (i != null && i.youVoted)) : !0, [a, r, s, i]), Y = f(() => {
72
+ if (a === o.PREDICTION && r && (!s || s && (i != null && i.youVoted)))
73
73
  return r.points;
74
- if (!(l || n))
75
- return o === V.RESOLVED ? 0 : r ? r.correct ? r.points : 0 : i == null ? void 0 : i.points;
74
+ if (!(l || c))
75
+ return m === E.RESOLVED ? 0 : r ? r.correct ? r.points : 0 : i == null ? void 0 : i.points;
76
76
  }, [
77
- n,
77
+ c,
78
78
  r,
79
79
  i,
80
- o,
80
+ m,
81
81
  l,
82
82
  a,
83
83
  s
84
- ]), H = f(() => a === c.PREDICTION && r ? s ? s && (i != null && i.youVoted) ? "You won" : "" : "To win" : l || n ? "Time expired" : a === c.POLL ? "Time remaining" : r ? "You won" : "To win", [n, a, r, l, s, i]), K = r || l || S || a === c.TRIVIA && o === V.RESOLVED && u;
85
- return /* @__PURE__ */ m(J, { "data-question-header": "true", children: /* @__PURE__ */ m(Z, { children: /* @__PURE__ */ N(_, { children: [
86
- /* @__PURE__ */ m(
84
+ ]), H = f(() => a === o.PREDICTION && r ? s ? s && (i != null && i.youVoted) ? "You won" : "" : "To win" : l || c ? "Time expired" : a === o.POLL ? "Time remaining" : r ? "You won" : "To win", [c, a, r, l, s, i]), z = (a === o.TRIVIA || a === o.PREDICTION) && r && s && (i == null ? void 0 : i.youVoted), G = r || l || S || a === o.TRIVIA && m === E.RESOLVED && T;
85
+ return /* @__PURE__ */ n(Z, { children: /* @__PURE__ */ n(_, { children: /* @__PURE__ */ k($, { children: [
86
+ /* @__PURE__ */ n(
87
87
  X,
88
88
  {
89
89
  feedbackMessages: F,
@@ -91,17 +91,17 @@ const wt = ({ openedQuestion: t, isLoading: C, vote: w, close: v }) => {
91
91
  questionVotedCorrectly: r == null ? void 0 : r.correct,
92
92
  questionType: a,
93
93
  hasCorrectAnswer: s,
94
- questionStatus: o,
94
+ questionStatus: m,
95
95
  showExpiredNotification: l,
96
96
  showClosedNotificationTrivia: S,
97
- votedInCurrentRender: R,
98
- votedAfterQuestionClosed: h,
99
- enteredAnActiveQuestion: u,
100
- marketClosed: I
97
+ votedInCurrentRender: O,
98
+ votedAfterQuestionClosed: y,
99
+ enteredAnActiveQuestion: T,
100
+ marketClosed: d
101
101
  }
102
102
  ),
103
- A && /* @__PURE__ */ m(
104
- rt,
103
+ N && /* @__PURE__ */ n(
104
+ it,
105
105
  {
106
106
  title: H,
107
107
  points: Y,
@@ -109,25 +109,26 @@ const wt = ({ openedQuestion: t, isLoading: C, vote: w, close: v }) => {
109
109
  questionType: t.type,
110
110
  isTimer: !C,
111
111
  isPlayingTimer: !r,
112
- timerDuration: K ? 0 : Number(((k = t == null ? void 0 : t.appearance) == null ? void 0 : k.autoHideInterval) || "30")
112
+ animatePoints: z,
113
+ timerDuration: G ? 0 : Number(((g = t == null ? void 0 : t.appearance) == null ? void 0 : g.autoHideInterval) || "30")
113
114
  }
114
115
  ),
115
- n ? /* @__PURE__ */ m(
116
+ c ? /* @__PURE__ */ n(
116
117
  U,
117
118
  {
118
119
  title: "More to come...",
119
120
  description: "Watch for additional enhanced stream interactive experience."
120
121
  }
121
- ) : /* @__PURE__ */ N(z, { children: [
122
- /* @__PURE__ */ m($, { style: A ? {} : { marginTop: 0 }, children: P }),
123
- /* @__PURE__ */ m(Q, { children: W.map((e) => /* @__PURE__ */ m(
124
- tt,
122
+ ) : /* @__PURE__ */ k(J, { children: [
123
+ /* @__PURE__ */ n(Q, { style: N ? {} : { marginTop: 0 }, children: A }),
124
+ /* @__PURE__ */ n(tt, { children: W.map((e) => /* @__PURE__ */ n(
125
+ rt,
125
126
  {
126
127
  ...e,
127
128
  markThatVoted: j,
128
- votedAfterQuestionClosed: h,
129
- enteredAnActiveQuestion: u,
130
- marketClosed: I
129
+ votedAfterQuestionClosed: y,
130
+ enteredAnActiveQuestion: T,
131
+ marketClosed: d
131
132
  },
132
133
  e.id
133
134
  )) })
@@ -135,5 +136,5 @@ const wt = ({ openedQuestion: t, isLoading: C, vote: w, close: v }) => {
135
136
  ] }) }) });
136
137
  };
137
138
  export {
138
- wt as Vote
139
+ vt as Vote
139
140
  };
@@ -9,7 +9,7 @@ import "../../../video-player/styles.js";
9
9
  import "../../../../utils/common.js";
10
10
  import "../../../questions/insight/styles.js";
11
11
  const C = ({ instantView: r, ...p }) => /* @__PURE__ */ o(k, { children: [
12
- /* @__PURE__ */ m(b, { instantView: r, ...p }),
12
+ /* @__PURE__ */ m(b, { instantView: r, ...p, isDetail: !0 }),
13
13
  (r == null ? void 0 : r.webLink) && /* @__PURE__ */ o(c, { href: r == null ? void 0 : r.webLink.url, target: "_blank", children: [
14
14
  r == null ? void 0 : r.webLink.label,
15
15
  /* @__PURE__ */ m(l, { name: "icon-external-link" })
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Container: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const QuestionScrollContainer: any;
3
4
  export declare const Content: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
5
  export declare const Title: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
6
  export declare const Options: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1,24 +1,30 @@
1
1
  import { styled as s } from "@linaria/react";
2
- const t = /* @__PURE__ */ s("div")({
2
+ import { SDKScrollContainer as o } from "../../app/styles.js";
3
+ const l = /* @__PURE__ */ s("div")({
3
4
  name: "Container",
4
5
  class: "c14ielyq",
5
6
  propsAsIs: !1
6
- }), o = /* @__PURE__ */ s("div")({
7
+ }), n = () => o, a = /* @__PURE__ */ s(n())({
8
+ name: "QuestionScrollContainer",
9
+ class: "q1tlqx57",
10
+ propsAsIs: !0
11
+ }), c = /* @__PURE__ */ s("div")({
7
12
  name: "Content",
8
- class: "c1tlqx57",
13
+ class: "c1hq58md",
9
14
  propsAsIs: !1
10
- }), e = /* @__PURE__ */ s("div")({
15
+ }), i = /* @__PURE__ */ s("div")({
11
16
  name: "Title",
12
- class: "t1hq58md",
17
+ class: "t1c8nxcx",
13
18
  propsAsIs: !1
14
- }), a = /* @__PURE__ */ s("div")({
19
+ }), r = /* @__PURE__ */ s("div")({
15
20
  name: "Options",
16
- class: "o1c8nxcx",
21
+ class: "oiozuc3",
17
22
  propsAsIs: !1
18
23
  });
19
24
  export {
20
- t as Container,
21
- o as Content,
22
- a as Options,
23
- e as Title
25
+ l as Container,
26
+ c as Content,
27
+ r as Options,
28
+ a as QuestionScrollContainer,
29
+ i as Title
24
30
  };