lorgg-v2-components 0.0.26

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 (399) hide show
  1. package/.vscode/extensions.json +3 -0
  2. package/README.md +18 -0
  3. package/dist/components/assets/CardbackRuneterra.webp.d.ts +3 -0
  4. package/dist/components/assets/CardbackRuneterra.webp.d.ts.map +1 -0
  5. package/dist/components/helpers/charts.d.ts +5 -0
  6. package/dist/components/helpers/charts.d.ts.map +1 -0
  7. package/dist/components/helpers/components.d.ts +3 -0
  8. package/dist/components/helpers/components.d.ts.map +1 -0
  9. package/dist/components/helpers/functions.d.ts +29 -0
  10. package/dist/components/helpers/functions.d.ts.map +1 -0
  11. package/dist/components/index.d.ts +134 -0
  12. package/dist/components/library/.CopyMeComponent/CopyMeComponent.vue.d.ts +4 -0
  13. package/dist/components/library/.CopyMeComponent/CopyMeComponent.vue.d.ts.map +1 -0
  14. package/dist/components/library/ArchetypeSidePanel/ArchetypeSidePanel.vue.d.ts +49 -0
  15. package/dist/components/library/ArchetypeSidePanel/ArchetypeSidePanel.vue.d.ts.map +1 -0
  16. package/dist/components/library/ArchetypeSidePanel/types.d.ts +32 -0
  17. package/dist/components/library/ArchetypeSidePanelHighlight/ArchetypeSidePanelHighlight.vue.d.ts +27 -0
  18. package/dist/components/library/ArchetypeSidePanelHighlight/ArchetypeSidePanelHighlight.vue.d.ts.map +1 -0
  19. package/dist/components/library/ArchetypeSidePanelHighlight/types.d.ts +17 -0
  20. package/dist/components/library/ArchetypesRow/ArchetypesRow.vue.d.ts +100 -0
  21. package/dist/components/library/ArchetypesRow/ArchetypesRow.vue.d.ts.map +1 -0
  22. package/dist/components/library/ArchetypesRow/types.d.ts +56 -0
  23. package/dist/components/library/ArchetypesTable/ArchetypesTable.vue.d.ts +16 -0
  24. package/dist/components/library/ArchetypesTable/ArchetypesTable.vue.d.ts.map +1 -0
  25. package/dist/components/library/ArchetypesTable/types.d.ts +12 -0
  26. package/dist/components/library/BuiltDecksTable/BuiltDecksTable.vue.d.ts +16 -0
  27. package/dist/components/library/BuiltDecksTable/BuiltDecksTable.vue.d.ts.map +1 -0
  28. package/dist/components/library/BuiltDecksTable/types.d.ts +18 -0
  29. package/dist/components/library/Buttons/CopyDeckButton/CopyDeckButton.vue.d.ts +16 -0
  30. package/dist/components/library/Buttons/CopyDeckButton/CopyDeckButton.vue.d.ts.map +1 -0
  31. package/dist/components/library/Buttons/CopyDeckButton/types.d.ts +10 -0
  32. package/dist/components/library/Buttons/DeleteDeckButton/DeleteDeckButton.vue.d.ts +16 -0
  33. package/dist/components/library/Buttons/DeleteDeckButton/DeleteDeckButton.vue.d.ts.map +1 -0
  34. package/dist/components/library/Buttons/DeleteDeckButton/types.d.ts +10 -0
  35. package/dist/components/library/Buttons/EditDeckNameButton/EditDeckNameButton.vue.d.ts +27 -0
  36. package/dist/components/library/Buttons/EditDeckNameButton/EditDeckNameButton.vue.d.ts.map +1 -0
  37. package/dist/components/library/Buttons/EditDeckNameButton/types.d.ts +16 -0
  38. package/dist/components/library/Buttons/OpenArchetypePageButton/OpenArchetypePageButton.vue.d.ts +16 -0
  39. package/dist/components/library/Buttons/OpenArchetypePageButton/OpenArchetypePageButton.vue.d.ts.map +1 -0
  40. package/dist/components/library/Buttons/OpenArchetypePageButton/types.d.ts +10 -0
  41. package/dist/components/library/Buttons/OpenInDeckBuilderButton/OpenInDeckBuilderButton.vue.d.ts +16 -0
  42. package/dist/components/library/Buttons/OpenInDeckBuilderButton/OpenInDeckBuilderButton.vue.d.ts.map +1 -0
  43. package/dist/components/library/Buttons/OpenInDeckBuilderButton/types.d.ts +10 -0
  44. package/dist/components/library/Buttons/SimulateMulliganButton/SimulateMulliganButton.vue.d.ts +16 -0
  45. package/dist/components/library/Buttons/SimulateMulliganButton/SimulateMulliganButton.vue.d.ts.map +1 -0
  46. package/dist/components/library/Buttons/SimulateMulliganButton/types.d.ts +12 -0
  47. package/dist/components/library/Buttons/UpdateDeckPrivacyButton/UpdateDeckPrivacyButton.vue.d.ts +29 -0
  48. package/dist/components/library/Buttons/UpdateDeckPrivacyButton/UpdateDeckPrivacyButton.vue.d.ts.map +1 -0
  49. package/dist/components/library/Buttons/UpdateDeckPrivacyButton/types.d.ts +16 -0
  50. package/dist/components/library/Buttons/UploadDeckToLorButton/UploadDeckToLorButton.vue.d.ts +27 -0
  51. package/dist/components/library/Buttons/UploadDeckToLorButton/UploadDeckToLorButton.vue.d.ts.map +1 -0
  52. package/dist/components/library/Buttons/UploadDeckToLorButton/types.d.ts +16 -0
  53. package/dist/components/library/CardCarousel/CardCarousel.vue.d.ts +18 -0
  54. package/dist/components/library/CardCarousel/CardCarousel.vue.d.ts.map +1 -0
  55. package/dist/components/library/CardCarousel/types.d.ts +16 -0
  56. package/dist/components/library/CardItem/CardItem.vue.d.ts +104 -0
  57. package/dist/components/library/CardItem/CardItem.vue.d.ts.map +1 -0
  58. package/dist/components/library/CardItem/types.d.ts +59 -0
  59. package/dist/components/library/CardItem3d/CardItem3d.vue.d.ts +27 -0
  60. package/dist/components/library/CardItem3d/CardItem3d.vue.d.ts.map +1 -0
  61. package/dist/components/library/CardItem3d/types.d.ts +16 -0
  62. package/dist/components/library/CardItemLinkWrapper/CardItemLinkWrapper.vue.d.ts +103 -0
  63. package/dist/components/library/CardItemLinkWrapper/CardItemLinkWrapper.vue.d.ts.map +1 -0
  64. package/dist/components/library/CardLottery/CardLottery.vue.d.ts +2 -0
  65. package/dist/components/library/CardLottery/CardLottery.vue.d.ts.map +1 -0
  66. package/dist/components/library/CardLottery/types.d.ts +6 -0
  67. package/dist/components/library/CardMultiselect/CardMultiselect.vue.d.ts +40 -0
  68. package/dist/components/library/CardMultiselect/CardMultiselect.vue.d.ts.map +1 -0
  69. package/dist/components/library/CardMultiselect/types.d.ts +28 -0
  70. package/dist/components/library/CardOverview/CardOverview.vue.d.ts +28 -0
  71. package/dist/components/library/CardOverview/CardOverview.vue.d.ts.map +1 -0
  72. package/dist/components/library/CardOverview/types.d.ts +18 -0
  73. package/dist/components/library/CardSimilarCards/CardSimilarCards.vue.d.ts +68 -0
  74. package/dist/components/library/CardSimilarCards/CardSimilarCards.vue.d.ts.map +1 -0
  75. package/dist/components/library/CardSimilarCards/types.d.ts +42 -0
  76. package/dist/components/library/CardSliceItem/CardSliceItem.vue.d.ts +106 -0
  77. package/dist/components/library/CardSliceItem/CardSliceItem.vue.d.ts.map +1 -0
  78. package/dist/components/library/CardSliceItem/types.d.ts +60 -0
  79. package/dist/components/library/CardTogglePage/CardTogglePage.vue.d.ts +2 -0
  80. package/dist/components/library/CardTogglePage/CardTogglePage.vue.d.ts.map +1 -0
  81. package/dist/components/library/CardsRow/CardsRow.vue.d.ts +157 -0
  82. package/dist/components/library/CardsRow/CardsRow.vue.d.ts.map +1 -0
  83. package/dist/components/library/CardsRow/types.d.ts +101 -0
  84. package/dist/components/library/CardsTable/CardsTable.vue.d.ts +50 -0
  85. package/dist/components/library/CardsTable/CardsTable.vue.d.ts.map +1 -0
  86. package/dist/components/library/CardsTable/types.d.ts +29 -0
  87. package/dist/components/library/Charts/CardQuantityBarChart/CardQuantityBarChart.vue.d.ts +38 -0
  88. package/dist/components/library/Charts/CardQuantityBarChart/CardQuantityBarChart.vue.d.ts.map +1 -0
  89. package/dist/components/library/Charts/CardQuantityBarChart/types.d.ts +29 -0
  90. package/dist/components/library/Charts/InfoDoughnutChart/InfoDoughnutChart.vue.d.ts +27 -0
  91. package/dist/components/library/Charts/InfoDoughnutChart/InfoDoughnutChart.vue.d.ts.map +1 -0
  92. package/dist/components/library/Charts/InfoDoughnutChart/types.d.ts +26 -0
  93. package/dist/components/library/Charts/LeaderboardChart/LeaderboardChart.vue.d.ts +61 -0
  94. package/dist/components/library/Charts/LeaderboardChart/LeaderboardChart.vue.d.ts.map +1 -0
  95. package/dist/components/library/Charts/LeaderboardChart/types.d.ts +50 -0
  96. package/dist/components/library/Charts/LineChart/LineChart.vue.d.ts +64 -0
  97. package/dist/components/library/Charts/LineChart/LineChart.vue.d.ts.map +1 -0
  98. package/dist/components/library/Charts/LineChart/types.d.ts +44 -0
  99. package/dist/components/library/Charts/ManaCurveChart/ManaCurveChart.vue.d.ts +79 -0
  100. package/dist/components/library/Charts/ManaCurveChart/ManaCurveChart.vue.d.ts.map +1 -0
  101. package/dist/components/library/Charts/ManaCurveChart/types.d.ts +51 -0
  102. package/dist/components/library/Charts/RoundCardInfoBarChart/RoundCardInfoBarChart.vue.d.ts +38 -0
  103. package/dist/components/library/Charts/RoundCardInfoBarChart/RoundCardInfoBarChart.vue.d.ts.map +1 -0
  104. package/dist/components/library/Charts/RoundCardInfoBarChart/types.d.ts +30 -0
  105. package/dist/components/library/Charts/WinrateDoughnutChart/WinrateDoughnutChart.vue.d.ts +38 -0
  106. package/dist/components/library/Charts/WinrateDoughnutChart/WinrateDoughnutChart.vue.d.ts.map +1 -0
  107. package/dist/components/library/Charts/WinrateDoughnutChart/types.d.ts +22 -0
  108. package/dist/components/library/Charts/WinsLossesBarChart/WinsLossesBarChart.vue.d.ts +16 -0
  109. package/dist/components/library/Charts/WinsLossesBarChart/WinsLossesBarChart.vue.d.ts.map +1 -0
  110. package/dist/components/library/Charts/WinsLossesBarChart/types.d.ts +16 -0
  111. package/dist/components/library/CheckboxItem/CheckboxItem.vue.d.ts +40 -0
  112. package/dist/components/library/CheckboxItem/CheckboxItem.vue.d.ts.map +1 -0
  113. package/dist/components/library/CheckboxItem/types.d.ts +22 -0
  114. package/dist/components/library/CheckboxItemManaCost/CheckboxItemManaCost.vue.d.ts +29 -0
  115. package/dist/components/library/CheckboxItemManaCost/CheckboxItemManaCost.vue.d.ts.map +1 -0
  116. package/dist/components/library/CheckboxItemManaCost/types.d.ts +16 -0
  117. package/dist/components/library/CircleCardItem/CircleCardItem.vue.d.ts +58 -0
  118. package/dist/components/library/CircleCardItem/CircleCardItem.vue.d.ts.map +1 -0
  119. package/dist/components/library/CircleCardItem/types.d.ts +35 -0
  120. package/dist/components/library/ColorPicker/ColorPicker.vue.d.ts +18 -0
  121. package/dist/components/library/ColorPicker/ColorPicker.vue.d.ts.map +1 -0
  122. package/dist/components/library/ColorPicker/types.d.ts +10 -0
  123. package/dist/components/library/DashboardCardRow/DashboardCardRow.vue.d.ts +49 -0
  124. package/dist/components/library/DashboardCardRow/DashboardCardRow.vue.d.ts.map +1 -0
  125. package/dist/components/library/DashboardCardRow/types.d.ts +28 -0
  126. package/dist/components/library/DashboardCardTable/DashboardCardTable.vue.d.ts +16 -0
  127. package/dist/components/library/DashboardCardTable/DashboardCardTable.vue.d.ts.map +1 -0
  128. package/dist/components/library/DashboardCardTable/types.d.ts +12 -0
  129. package/dist/components/library/DashboardLeaderboardRow/DashboardLeaderboardRow.vue.d.ts +93 -0
  130. package/dist/components/library/DashboardLeaderboardRow/DashboardLeaderboardRow.vue.d.ts.map +1 -0
  131. package/dist/components/library/DashboardLeaderboardRow/types.d.ts +52 -0
  132. package/dist/components/library/DashboardLeaderboardTable/DashboardLeaderboardTable.vue.d.ts +30 -0
  133. package/dist/components/library/DashboardLeaderboardTable/DashboardLeaderboardTable.vue.d.ts.map +1 -0
  134. package/dist/components/library/DashboardLeaderboardTable/types.d.ts +19 -0
  135. package/dist/components/library/DashboardNewCards/DashboardNewCards.vue.d.ts +16 -0
  136. package/dist/components/library/DashboardNewCards/DashboardNewCards.vue.d.ts.map +1 -0
  137. package/dist/components/library/DashboardNewCards/types.d.ts +11 -0
  138. package/dist/components/library/DashboardProfile/DashboardProfile.vue.d.ts +104 -0
  139. package/dist/components/library/DashboardProfile/DashboardProfile.vue.d.ts.map +1 -0
  140. package/dist/components/library/DashboardProfile/types.d.ts +59 -0
  141. package/dist/components/library/DashboardSignUp/DashboardSignUp.vue.d.ts +2 -0
  142. package/dist/components/library/DashboardSignUp/DashboardSignUp.vue.d.ts.map +1 -0
  143. package/dist/components/library/Deck/DeckSummary/DeckSummary.vue.d.ts +28 -0
  144. package/dist/components/library/Deck/DeckSummary/DeckSummary.vue.d.ts.map +1 -0
  145. package/dist/components/library/Deck/DeckSummary/types.d.ts +18 -0
  146. package/dist/components/library/Deck/SimulateMulligan/SimulateMulligan.vue.d.ts +16 -0
  147. package/dist/components/library/Deck/SimulateMulligan/SimulateMulligan.vue.d.ts.map +1 -0
  148. package/dist/components/library/Deck/SimulateMulligan/types.d.ts +16 -0
  149. package/dist/components/library/DeckBlock/DeckBlock.vue.d.ts +104 -0
  150. package/dist/components/library/DeckBlock/DeckBlock.vue.d.ts.map +1 -0
  151. package/dist/components/library/DeckBlock/types.d.ts +64 -0
  152. package/dist/components/library/DeckBuilderSummary/DeckBuilderSummary.vue.d.ts +28 -0
  153. package/dist/components/library/DeckBuilderSummary/DeckBuilderSummary.vue.d.ts.map +1 -0
  154. package/dist/components/library/DeckBuilderSummary/types.d.ts +18 -0
  155. package/dist/components/library/DeckBuilderSummaryType/DeckBuilderSummaryType.vue.d.ts +24 -0
  156. package/dist/components/library/DeckBuilderSummaryType/DeckBuilderSummaryType.vue.d.ts.map +1 -0
  157. package/dist/components/library/DeckBuilderSummaryType/types.d.ts +22 -0
  158. package/dist/components/library/DeckButtons/DeckButtons.vue.d.ts +57 -0
  159. package/dist/components/library/DeckButtons/DeckButtons.vue.d.ts.map +1 -0
  160. package/dist/components/library/DeckButtons/types.d.ts +45 -0
  161. package/dist/components/library/DeckDifferenceItem/DeckDifferenceItem.vue.d.ts +69 -0
  162. package/dist/components/library/DeckDifferenceItem/DeckDifferenceItem.vue.d.ts.map +1 -0
  163. package/dist/components/library/DeckDifferenceItem/types.d.ts +35 -0
  164. package/dist/components/library/DeckDifferences/DeckDifferences.vue.d.ts +16 -0
  165. package/dist/components/library/DeckDifferences/DeckDifferences.vue.d.ts.map +1 -0
  166. package/dist/components/library/DeckDifferences/types.d.ts +12 -0
  167. package/dist/components/library/DeckHighlight/DeckHighlight.vue.d.ts +43 -0
  168. package/dist/components/library/DeckHighlight/DeckHighlight.vue.d.ts.map +1 -0
  169. package/dist/components/library/DeckHighlight/types.d.ts +28 -0
  170. package/dist/components/library/DeckHighlightCards/DeckHighlightCards.vue.d.ts +39 -0
  171. package/dist/components/library/DeckHighlightCards/DeckHighlightCards.vue.d.ts.map +1 -0
  172. package/dist/components/library/DeckHighlightCards/types.d.ts +24 -0
  173. package/dist/components/library/DeckHighlightEye/DeckHighlightEye.vue.d.ts +32 -0
  174. package/dist/components/library/DeckHighlightEye/DeckHighlightEye.vue.d.ts.map +1 -0
  175. package/dist/components/library/DeckHighlightEye/types.d.ts +22 -0
  176. package/dist/components/library/DeckHighlightRegions/DeckHighlightRegions.vue.d.ts +16 -0
  177. package/dist/components/library/DeckHighlightRegions/DeckHighlightRegions.vue.d.ts.map +1 -0
  178. package/dist/components/library/DeckHighlightRegions/types.d.ts +11 -0
  179. package/dist/components/library/DeckPreview/DeckPreview.vue.d.ts +40 -0
  180. package/dist/components/library/DeckPreview/DeckPreview.vue.d.ts.map +1 -0
  181. package/dist/components/library/DeckPreview/types.d.ts +27 -0
  182. package/dist/components/library/DeckSidePanel/DeckSidePanel.vue.d.ts +38 -0
  183. package/dist/components/library/DeckSidePanel/DeckSidePanel.vue.d.ts.map +1 -0
  184. package/dist/components/library/DeckSidePanel/types.d.ts +26 -0
  185. package/dist/components/library/DecksRow/DecksRow.vue.d.ts +115 -0
  186. package/dist/components/library/DecksRow/DecksRow.vue.d.ts.map +1 -0
  187. package/dist/components/library/DecksRow/types.d.ts +78 -0
  188. package/dist/components/library/DecksTable/DecksTable.vue.d.ts +16 -0
  189. package/dist/components/library/DecksTable/DecksTable.vue.d.ts.map +1 -0
  190. package/dist/components/library/DecksTable/types.d.ts +16 -0
  191. package/dist/components/library/Filters/AdvancedFilterItem/AdvancedFilterItem.vue.d.ts +27 -0
  192. package/dist/components/library/Filters/AdvancedFilterItem/AdvancedFilterItem.vue.d.ts.map +1 -0
  193. package/dist/components/library/Filters/AdvancedFilterItem/types.d.ts +16 -0
  194. package/dist/components/library/Filters/FilterAdvanced/FilterAdvanced.vue.d.ts +19 -0
  195. package/dist/components/library/Filters/FilterAdvanced/FilterAdvanced.vue.d.ts.map +1 -0
  196. package/dist/components/library/Filters/FilterAdvanced/types.d.ts +12 -0
  197. package/dist/components/library/Filters/FilterCardCodes/FilterCardCodes.vue.d.ts +18 -0
  198. package/dist/components/library/Filters/FilterCardCodes/FilterCardCodes.vue.d.ts.map +1 -0
  199. package/dist/components/library/Filters/FilterCardCodes/types.d.ts +11 -0
  200. package/dist/components/library/Filters/FilterCards/FilterCards.vue.d.ts +35 -0
  201. package/dist/components/library/Filters/FilterCards/FilterCards.vue.d.ts.map +1 -0
  202. package/dist/components/library/Filters/FilterCards/types.d.ts +20 -0
  203. package/dist/components/library/Filters/FilterDecks/FilterDecks.vue.d.ts +31 -0
  204. package/dist/components/library/Filters/FilterDecks/FilterDecks.vue.d.ts.map +1 -0
  205. package/dist/components/library/Filters/FilterDecks/types.d.ts +18 -0
  206. package/dist/components/library/Filters/FilterKeywords/FilterKeywords.vue.d.ts +18 -0
  207. package/dist/components/library/Filters/FilterKeywords/FilterKeywords.vue.d.ts.map +1 -0
  208. package/dist/components/library/Filters/FilterKeywords/types.d.ts +11 -0
  209. package/dist/components/library/Filters/FilterManaCost/FilterManaCost.vue.d.ts +44 -0
  210. package/dist/components/library/Filters/FilterManaCost/FilterManaCost.vue.d.ts.map +1 -0
  211. package/dist/components/library/Filters/FilterManaCost/types.d.ts +23 -0
  212. package/dist/components/library/Filters/FilterRanks/FilterRanks.vue.d.ts +18 -0
  213. package/dist/components/library/Filters/FilterRanks/FilterRanks.vue.d.ts.map +1 -0
  214. package/dist/components/library/Filters/FilterRanks/types.d.ts +11 -0
  215. package/dist/components/library/Filters/FilterRarities/FilterRarities.vue.d.ts +44 -0
  216. package/dist/components/library/Filters/FilterRarities/FilterRarities.vue.d.ts.map +1 -0
  217. package/dist/components/library/Filters/FilterRarities/types.d.ts +23 -0
  218. package/dist/components/library/Filters/FilterRegions/FilterRegions.vue.d.ts +44 -0
  219. package/dist/components/library/Filters/FilterRegions/FilterRegions.vue.d.ts.map +1 -0
  220. package/dist/components/library/Filters/FilterRegions/types.d.ts +23 -0
  221. package/dist/components/library/Filters/FilterSampleSize/FilterSampleSize.vue.d.ts +18 -0
  222. package/dist/components/library/Filters/FilterSampleSize/FilterSampleSize.vue.d.ts.map +1 -0
  223. package/dist/components/library/Filters/FilterSampleSize/types.d.ts +11 -0
  224. package/dist/components/library/Filters/FilterServers/FilterServers.vue.d.ts +44 -0
  225. package/dist/components/library/Filters/FilterServers/FilterServers.vue.d.ts.map +1 -0
  226. package/dist/components/library/Filters/FilterServers/types.d.ts +23 -0
  227. package/dist/components/library/Filters/FilterSets/FilterSets.vue.d.ts +18 -0
  228. package/dist/components/library/Filters/FilterSets/FilterSets.vue.d.ts.map +1 -0
  229. package/dist/components/library/Filters/FilterSets/types.d.ts +11 -0
  230. package/dist/components/library/Filters/FilterTime/FilterTime.vue.d.ts +44 -0
  231. package/dist/components/library/Filters/FilterTime/FilterTime.vue.d.ts.map +1 -0
  232. package/dist/components/library/Filters/FilterTime/types.d.ts +23 -0
  233. package/dist/components/library/Filters/FilterTypes/FilterTypes.vue.d.ts +44 -0
  234. package/dist/components/library/Filters/FilterTypes/FilterTypes.vue.d.ts.map +1 -0
  235. package/dist/components/library/Filters/FilterTypes/types.d.ts +23 -0
  236. package/dist/components/library/FormatTag/FormatTag.vue.d.ts +16 -0
  237. package/dist/components/library/FormatTag/FormatTag.vue.d.ts.map +1 -0
  238. package/dist/components/library/FormatTag/types.d.ts +12 -0
  239. package/dist/components/library/GemsCost/GemsCost.vue.d.ts +16 -0
  240. package/dist/components/library/GemsCost/GemsCost.vue.d.ts.map +1 -0
  241. package/dist/components/library/GemsCost/types.d.ts +12 -0
  242. package/dist/components/library/LanguageSelection/LanguageSelection.vue.d.ts +2 -0
  243. package/dist/components/library/LanguageSelection/LanguageSelection.vue.d.ts.map +1 -0
  244. package/dist/components/library/LargeTable/LargeTable.vue.d.ts +18 -0
  245. package/dist/components/library/LargeTable/LargeTable.vue.d.ts.map +1 -0
  246. package/dist/components/library/LargeTable/types.d.ts +29 -0
  247. package/dist/components/library/LeaderboardDetailRow/LeaderboardDetailRow.vue.d.ts +148 -0
  248. package/dist/components/library/LeaderboardDetailRow/LeaderboardDetailRow.vue.d.ts.map +1 -0
  249. package/dist/components/library/LeaderboardDetailRow/types.d.ts +73 -0
  250. package/dist/components/library/LeaderboardDetailTable/LeaderboardDetailTable.vue.d.ts +16 -0
  251. package/dist/components/library/LeaderboardDetailTable/LeaderboardDetailTable.vue.d.ts.map +1 -0
  252. package/dist/components/library/LeaderboardDetailTable/types.d.ts +12 -0
  253. package/dist/components/library/LeaderboardOptions/LeaderboardOptions.vue.d.ts +77 -0
  254. package/dist/components/library/LeaderboardOptions/LeaderboardOptions.vue.d.ts.map +1 -0
  255. package/dist/components/library/LeaderboardOptions/types.d.ts +48 -0
  256. package/dist/components/library/LeaderboardTop/LeaderboardTop.vue.d.ts +16 -0
  257. package/dist/components/library/LeaderboardTop/LeaderboardTop.vue.d.ts.map +1 -0
  258. package/dist/components/library/LeaderboardTop/types.d.ts +12 -0
  259. package/dist/components/library/LeaderboardTop10Region/LeaderboardTop10Region.vue.d.ts +16 -0
  260. package/dist/components/library/LeaderboardTop10Region/LeaderboardTop10Region.vue.d.ts.map +1 -0
  261. package/dist/components/library/LeaderboardTop10Region/types.d.ts +26 -0
  262. package/dist/components/library/MatchItem/MatchItem.vue.d.ts +93 -0
  263. package/dist/components/library/MatchItem/MatchItem.vue.d.ts.map +1 -0
  264. package/dist/components/library/MatchItem/types.d.ts +52 -0
  265. package/dist/components/library/ModalItem/ModalItem.vue.d.ts +18 -0
  266. package/dist/components/library/ModalItem/ModalItem.vue.d.ts.map +1 -0
  267. package/dist/components/library/ModalItem/types.d.ts +10 -0
  268. package/dist/components/library/NavigationSide/NavigationSide.vue.d.ts +82 -0
  269. package/dist/components/library/NavigationSide/NavigationSide.vue.d.ts.map +1 -0
  270. package/dist/components/library/NavigationSide/types.d.ts +41 -0
  271. package/dist/components/library/NavigationTop/NavigationTop.vue.d.ts +71 -0
  272. package/dist/components/library/NavigationTop/NavigationTop.vue.d.ts.map +1 -0
  273. package/dist/components/library/NavigationTopDesktop/NavigationTopDesktop.vue.d.ts +71 -0
  274. package/dist/components/library/NavigationTopDesktop/NavigationTopDesktop.vue.d.ts.map +1 -0
  275. package/dist/components/library/NavigationTopMobile/NavigationTopMobile.vue.d.ts +71 -0
  276. package/dist/components/library/NavigationTopMobile/NavigationTopMobile.vue.d.ts.map +1 -0
  277. package/dist/components/library/ProfileArchetypeRow/ProfileArchetypeRow.vue.d.ts +60 -0
  278. package/dist/components/library/ProfileArchetypeRow/ProfileArchetypeRow.vue.d.ts.map +1 -0
  279. package/dist/components/library/ProfileArchetypeRow/types.d.ts +34 -0
  280. package/dist/components/library/ProfileArchetypeTable/ProfileArchetypeTable.vue.d.ts +16 -0
  281. package/dist/components/library/ProfileArchetypeTable/ProfileArchetypeTable.vue.d.ts.map +1 -0
  282. package/dist/components/library/ProfileArchetypeTable/types.d.ts +12 -0
  283. package/dist/components/library/ProfileDropdown/ProfileDropdown.vue.d.ts +16 -0
  284. package/dist/components/library/ProfileDropdown/ProfileDropdown.vue.d.ts.map +1 -0
  285. package/dist/components/library/ProfileDropdown/types.d.ts +10 -0
  286. package/dist/components/library/ProfileGameTypeWinrate/ProfileGameTypeWinrate.vue.d.ts +38 -0
  287. package/dist/components/library/ProfileGameTypeWinrate/ProfileGameTypeWinrate.vue.d.ts.map +1 -0
  288. package/dist/components/library/ProfileGameTypeWinrate/types.d.ts +22 -0
  289. package/dist/components/library/ProfileRegionRow/ProfileRegionRow.vue.d.ts +49 -0
  290. package/dist/components/library/ProfileRegionRow/ProfileRegionRow.vue.d.ts.map +1 -0
  291. package/dist/components/library/ProfileRegionRow/types.d.ts +30 -0
  292. package/dist/components/library/ProfileRegionTable/ProfileRegionTable.vue.d.ts +16 -0
  293. package/dist/components/library/ProfileRegionTable/ProfileRegionTable.vue.d.ts.map +1 -0
  294. package/dist/components/library/ProfileRegionTable/types.d.ts +12 -0
  295. package/dist/components/library/RegionItem/RegionItem.vue.d.ts +16 -0
  296. package/dist/components/library/RegionItem/RegionItem.vue.d.ts.map +1 -0
  297. package/dist/components/library/RegionItem/types.d.ts +12 -0
  298. package/dist/components/library/RegionsLine/RegionsLine.vue.d.ts +44 -0
  299. package/dist/components/library/RegionsLine/RegionsLine.vue.d.ts.map +1 -0
  300. package/dist/components/library/RegionsLine/types.d.ts +28 -0
  301. package/dist/components/library/RevealCarousel/RevealCarousel.vue.d.ts +16 -0
  302. package/dist/components/library/RevealCarousel/RevealCarousel.vue.d.ts.map +1 -0
  303. package/dist/components/library/RevealCarousel/types.d.ts +11 -0
  304. package/dist/components/library/RevealDayOption/RevealDayOption.vue.d.ts +38 -0
  305. package/dist/components/library/RevealDayOption/RevealDayOption.vue.d.ts.map +1 -0
  306. package/dist/components/library/RevealDayOption/types.d.ts +22 -0
  307. package/dist/components/library/RevealDayOptions/RevealDayOptions.vue.d.ts +19 -0
  308. package/dist/components/library/RevealDayOptions/RevealDayOptions.vue.d.ts.map +1 -0
  309. package/dist/components/library/RevealDayOptions/types.d.ts +12 -0
  310. package/dist/components/library/SearchBar/SearchBar.vue.d.ts +2 -0
  311. package/dist/components/library/SearchBar/SearchBar.vue.d.ts.map +1 -0
  312. package/dist/components/library/SearchBar/types.d.ts +15 -0
  313. package/dist/components/library/ShareButton/ShareButton.vue.d.ts +2 -0
  314. package/dist/components/library/ShareButton/ShareButton.vue.d.ts.map +1 -0
  315. package/dist/components/library/SidePanelSectionPane/SidePanelSectionPane.vue.d.ts +29 -0
  316. package/dist/components/library/SidePanelSectionPane/SidePanelSectionPane.vue.d.ts.map +1 -0
  317. package/dist/components/library/SidePanelSectionPane/types.d.ts +16 -0
  318. package/dist/components/library/SimilarDecksTable/SimilarDecksTable.vue.d.ts +27 -0
  319. package/dist/components/library/SimilarDecksTable/SimilarDecksTable.vue.d.ts.map +1 -0
  320. package/dist/components/library/SimilarDecksTable/types.d.ts +22 -0
  321. package/dist/components/library/SmallTable/SmallTable.vue.d.ts +16 -0
  322. package/dist/components/library/SmallTable/SmallTable.vue.d.ts.map +1 -0
  323. package/dist/components/library/SmallTable/types.d.ts +15 -0
  324. package/dist/components/library/SocialLinks/SocialLinks.vue.d.ts +2 -0
  325. package/dist/components/library/SocialLinks/SocialLinks.vue.d.ts.map +1 -0
  326. package/dist/components/library/SocialMediaLinks/SocialMediaLinks.vue.d.ts +2 -0
  327. package/dist/components/library/SocialMediaLinks/SocialMediaLinks.vue.d.ts.map +1 -0
  328. package/dist/components/library/StatisticsPaneContainer/StatisticsPaneContainer.vue.d.ts +16 -0
  329. package/dist/components/library/StatisticsPaneContainer/StatisticsPaneContainer.vue.d.ts.map +1 -0
  330. package/dist/components/library/StatisticsPaneContainer/types.d.ts +10 -0
  331. package/dist/components/library/TestComponent/TestComponent.vue.d.ts +2 -0
  332. package/dist/components/library/TestComponent/TestComponent.vue.d.ts.map +1 -0
  333. package/dist/components/library/TippyText/TippyText.vue.d.ts +16 -0
  334. package/dist/components/library/TippyText/TippyText.vue.d.ts.map +1 -0
  335. package/dist/components/library/TippyText/types.d.ts +10 -0
  336. package/dist/components/library/ToggleSwitch/ToggleSwitch.vue.d.ts +55 -0
  337. package/dist/components/library/ToggleSwitch/ToggleSwitch.vue.d.ts.map +1 -0
  338. package/dist/components/library/ToggleSwitch/types.d.ts +29 -0
  339. package/dist/components/library/WinsLossesLine/WinsLossesLine.vue.d.ts +38 -0
  340. package/dist/components/library/WinsLossesLine/WinsLossesLine.vue.d.ts.map +1 -0
  341. package/dist/components/library/WinsLossesLine/types.d.ts +22 -0
  342. package/dist/components/library/ZoomSlider/ZoomSlider.vue.d.ts +18 -0
  343. package/dist/components/library/ZoomSlider/ZoomSlider.vue.d.ts.map +1 -0
  344. package/dist/components/library/ZoomSlider/types.d.ts +10 -0
  345. package/dist/components/library/icons/ChampionIcon/ChampionIcon.vue.d.ts +2 -0
  346. package/dist/components/library/icons/ChampionIcon/ChampionIcon.vue.d.ts.map +1 -0
  347. package/dist/components/library/icons/DeckIcon/DeckIcon.vue.d.ts +2 -0
  348. package/dist/components/library/icons/DeckIcon/DeckIcon.vue.d.ts.map +1 -0
  349. package/dist/components/library/icons/EquipmentIcon/EquipmentIcon.vue.d.ts +2 -0
  350. package/dist/components/library/icons/EquipmentIcon/EquipmentIcon.vue.d.ts.map +1 -0
  351. package/dist/components/library/icons/EternalIcon/EternalIcon.vue.d.ts +2 -0
  352. package/dist/components/library/icons/EternalIcon/EternalIcon.vue.d.ts.map +1 -0
  353. package/dist/components/library/icons/FollowerIcon/FollowerIcon.vue.d.ts +2 -0
  354. package/dist/components/library/icons/FollowerIcon/FollowerIcon.vue.d.ts.map +1 -0
  355. package/dist/components/library/icons/GauntletIcon/GauntletIcon.vue.d.ts +2 -0
  356. package/dist/components/library/icons/GauntletIcon/GauntletIcon.vue.d.ts.map +1 -0
  357. package/dist/components/library/icons/InfoIcon/InfoIcon.vue.d.ts +2 -0
  358. package/dist/components/library/icons/InfoIcon/InfoIcon.vue.d.ts.map +1 -0
  359. package/dist/components/library/icons/LandmarkIcon/LandmarkIcon.vue.d.ts +2 -0
  360. package/dist/components/library/icons/LandmarkIcon/LandmarkIcon.vue.d.ts.map +1 -0
  361. package/dist/components/library/icons/LogoIcon/LogoIcon.vue.d.ts +16 -0
  362. package/dist/components/library/icons/LogoIcon/LogoIcon.vue.d.ts.map +1 -0
  363. package/dist/components/library/icons/LogoIcon/types.d.ts +12 -0
  364. package/dist/components/library/icons/ManaHexagonIcon/ManaHexagonIcon.vue.d.ts +2 -0
  365. package/dist/components/library/icons/ManaHexagonIcon/ManaHexagonIcon.vue.d.ts.map +1 -0
  366. package/dist/components/library/icons/RuneterraIcon/RuneterraIcon.vue.d.ts +2 -0
  367. package/dist/components/library/icons/RuneterraIcon/RuneterraIcon.vue.d.ts.map +1 -0
  368. package/dist/components/library/icons/ShardsIcon/ShardsIcon.vue.d.ts +2 -0
  369. package/dist/components/library/icons/ShardsIcon/ShardsIcon.vue.d.ts.map +1 -0
  370. package/dist/components/library/icons/SpellIcon/SpellIcon.vue.d.ts +2 -0
  371. package/dist/components/library/icons/SpellIcon/SpellIcon.vue.d.ts.map +1 -0
  372. package/dist/components/library/icons/StandardIcon/StandardIcon.vue.d.ts +2 -0
  373. package/dist/components/library/icons/StandardIcon/StandardIcon.vue.d.ts.map +1 -0
  374. package/dist/components/main.d.ts +6 -0
  375. package/dist/components/setup/i18n.d.ts +276 -0
  376. package/dist/components/setup/i18n.d.ts.map +1 -0
  377. package/dist/components/setup/icons.d.ts +1 -0
  378. package/dist/components/setup/icons.d.ts.map +1 -0
  379. package/dist/components/setup/stores/cardJson.d.ts +8 -0
  380. package/dist/components/setup/stores/cardJson.d.ts.map +1 -0
  381. package/dist/components/setup/stores/cardJsonObject.d.ts +8 -0
  382. package/dist/components/setup/stores/cardJsonObject.d.ts.map +1 -0
  383. package/dist/components/setup/stores/dataJson.d.ts +8 -0
  384. package/dist/components/setup/stores/dataJson.d.ts.map +1 -0
  385. package/dist/components/types/filters.d.ts +23 -0
  386. package/dist/components/types/filters.d.ts.map +1 -0
  387. package/dist/components/types/jsons.d.ts +166 -0
  388. package/dist/components/types/jsons.d.ts.map +1 -0
  389. package/dist/components/types/navigation.d.ts +52 -0
  390. package/dist/components/types/navigation.d.ts.map +1 -0
  391. package/dist/components/types/providers.d.ts +11 -0
  392. package/dist/components/types/providers.d.ts.map +1 -0
  393. package/dist/lorgg-components.cjs.js +864 -0
  394. package/dist/lorgg-components.css +1 -0
  395. package/dist/lorgg-components.es.js +36316 -0
  396. package/dist/lorgg-components.umd.js +865 -0
  397. package/dist/main.d.ts +3 -0
  398. package/dist/vite.svg +1 -0
  399. package/package.json +81 -0
@@ -0,0 +1,865 @@
1
+ (function(N,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue"),require("pinia")):typeof define=="function"&&define.amd?define(["exports","vue","pinia"],s):(N=typeof globalThis<"u"?globalThis:N||self,s(N.lorggComponents={},N.Vue,N.pinia))})(this,function(N,s,nr){var hd;"use strict";var cJ=Object.defineProperty;var dJ=(N,s,nr)=>s in N?cJ(N,s,{enumerable:!0,configurable:!0,writable:!0,value:nr}):N[s]=nr;var H=(N,s,nr)=>(dJ(N,typeof s!="symbol"?s+"":s,nr),nr);var nm=document.createElement("style");nm.textContent=`:root{font-family:Arial,sans-serif;--color-0: #828295;--color-0-rgb: 130, 130, 149;--color-1: #2c3e50;--color-1-rgb: 44, 62, 80;--color-2: #2a313d;--color-2-rgb: 42, 49, 61;--color-3: #212a39;--color-3-rgb: 33, 42, 57;--color-4: #42435c;--color-4-rgb: 66, 67, 92;--color-text-disabled: #94989e;--color-text-disabled-rgb: 148, 152, 158;--color-background-0: #0f131a;--color-background-0-rgb: 15, 19, 26;--color-background-1: #181e2a;--color-background-1-rgb: 24, 30, 42;--color-background-2: #1d2431;--color-background-2-rgb: 29, 36, 49;--color-primary: #0067ee;--color-primary-rgb: 0, 103, 238;--color-gold: #ffc53e;--color-gold-rgb: 255, 197, 62;--color-primary-2: #fff;--color-primary-2-rgb: 255, 255, 255;--color-execellent: var(--color-gold);--color-execellent-rgb: var(--color-gold-rgb);--color-good: #00adff;--color-good-rgb: 0, 173, 255;--color-good-lite: #77d3ff;--color-good-lite-rgb: 0, 173, 255;--color-bad-lite: #ff9ea0;--color-bad-lite-rgb: 255, 158, 160;--color-bad: #ff5153;--color-bad-rgb: 255, 81, 83;--color-median: var(--color-primary-2);--color-median-rgb: var(--color-primary-2-rgb);--color-Targon: #4d38b0;--color-Targon-rgb: 77, 56, 176;--color-Noxus: #962d27;--color-Noxus-rgb: 150, 45, 39;--color-Demacia: #b9ac98;--color-Demacia-rgb: 185, 172, 152;--color-Freljord: #4a7dc3;--color-Freljord-rgb: 74, 125, 195;--color-ShadowIsles: #2a725d;--color-ShadowIsles-rgb: 42, 114, 93;--color-Ionia: #c45987;--color-Ionia-rgb: 196, 89, 135;--color-Shurima: #c4ae3d;--color-Shurima-rgb: 196, 174, 61;--color-Bilgewater: #b05925;--color-Bilgewater-rgb: 176, 89, 37;--color-PiltoverZaun: #fd9061;--color-PiltoverZaun-rgb: 253, 144, 97;--color-BandleCity: #98a711;--color-BandleCity-rgb: 152, 167, 17;--color-Runeterra: #fff;--color-Runeterra-rgb: 255, 255, 255;--box-border-radius: 20px;--border-radius-s: 10px;--border-radius-m: 15px;--border-radius-l: 20px;--input-height: 45px;--font-size-xs: 12px;--font-size-s: 14px;--font-size-m: 16px;--font-size-l: 20px;--font-size-heading: 45px;--font-size-heading-secondary: 30px;--font-weight-light: 100;--font-weight-normal: 500;--font-weight-bold: 700;--font-weight-heavy: 900;--transition-1: cubic-bezier(.75, -.5, .25, 1.5);--transition-2: cubic-bezier(0, 0, .7, 1.7);--transition-3: cubic-bezier(0, 0, .2, 1);--spacing-1: 5px;--spacing-2: 10px;--spacing-3: 15px;--card-item-aspect-ratio-w: 643;--card-item-aspect-ratio-h: 969;--card-item-aspect-ratio: var(--card-item-aspect-ratio-w) / var(--card-item-aspect-ratio-h);--ms-font-size: 1rem;--ms-line-height: 1.375;--ms-bg: var(--color-2);--ms-bg-disabled: #f3f4f6;--ms-border-color: #d1d5db;--ms-border-width: 0px;--ms-radius: 25px;--ms-py: .5rem;--ms-px: .875rem;--ms-ring-width: 0px;--ms-ring-color: var(--color-primary);--ms-placeholder-color: var(--color-0);--ms-max-height: 180px;--ms-caret-color: var(--color-0);--ms-clear-color: var(--color-0);--ms-clear-color-hover: var(--color-primary-2);--ms-tag-font-size: var(--font-size-m);--ms-tag-line-height: var(--font-size-m);--ms-tag-font-weight: var(--font-weight-normal);--ms-tag-bg: var(--color-0);--ms-tag-bg-disabled: var(--color-bad);--ms-tag-radius: 20px;--ms-dropdown-bg: var(--color-2);--ms-dropdown-border-color: var(--color-primary);--ms-dropdown-border-width: 0px;--ms-dropdown-radius: 22.5px;--ms-group-label-bg-pointed: var(--color-1);--ms-group-label-color-pointed: var(--color-primary-2);--ms-option-bg-pointed: var(--color-0);--ms-option-color-pointed: var(--color-primary-2)}.disabled{opacity:.25}.clickable{cursor:pointer}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}.table-wrapper{background-color:var(--color-background-1);border-radius:25px;padding:15px}.table{display:grid;grid-template-rows:40px;height:100%;overflow:auto;width:100%;box-sizing:border-box}.heading-cell{--index: 1;position:sticky;top:0;z-index:1}.heading-background-outer{grid-column:1 / -1;grid-row:1;position:sticky;top:0;z-index:1}.heading-background-inner{background-color:var(--color-3);border-radius:25px;height:100%}.heading-background-absolute{background-color:var(--background-color);inset:0 0 -10px;position:absolute;z-index:-1}.column-content{align-items:center;color:var(--color-primary-2);display:flex;filter:drop-shadow(0 0 2px black);font-weight:600;grid-row:var(--index);justify-content:center;min-width:150px}.small-table .column-content{min-width:unset}.small-table .heading-cell:nth-child(1){justify-content:flex-start;padding-left:10px}.table .column-content:nth-child(1){grid-column:1}.table .column-content:nth-child(2){grid-column:2}.table .column-content:nth-child(3){grid-column:3}.table .column-content:nth-child(4){grid-column:4}.table .column-content:nth-child(5){grid-column:5}.table .column-content:nth-child(6){grid-column:6}.table .column-content:nth-child(7){grid-column:7}.table .column-content:nth-child(8){grid-column:8}.table .column-content:nth-child(9){grid-column:9}.table .column-content:nth-child(10){grid-column:10}.table .column-content:nth-child(11){grid-column:11}.table .column-content:nth-child(12){grid-column:12}.table .column-content:nth-child(13){grid-column:13}.table .column-content:nth-child(14){grid-column:14}.table .column-content:nth-child(15){grid-column:15}.table .wrapper{display:contents}.table-card-row-background-wrapper{grid-row:var(--index);grid-column:1 / -1;position:relative}.table .small-table-background{grid-row:var(--index);grid-column:1 / -1;position:relative;background-color:var(--background-color)}.table .small-table-background:before{content:"";background-image:var(--background-image);background-position:center;background-size:cover;opacity:.4;position:absolute;inset:0}.table-card-row-background{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;display:flex;overflow:hidden;position:absolute;inset:0;transition:border-color .2s}.background-card-wrapper{flex-grow:1}.change{display:flex;gap:10px}.change.good{color:var(--color-good)}.change.bad{color:var(--color-bad)}.change.good>.icon{transform:rotate(180deg)}.change.neutral>.icon{display:none}.background-card{--overlap-margin: 100px;background-image:var(--background-image);background-size:cover;background-position:center 25%;opacity:.4;height:100%;margin-left:calc(-1 * var(--overlap-margin));margin-right:calc(-1 * var(--overlap-margin));-webkit-mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black calc(100% - (2 * var(--overlap-margin))),transparent 100%);mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black calc(100% - (2 * var(--overlap-margin))),transparent 100%)}.background-card-wrapper:first-child>.background-card{-webkit-mask-image:linear-gradient(to right,black 0%,black calc(100% - (2 * var(--overlap-margin))),transparent 100%);mask-image:linear-gradient(to right,black 0%,black calc(100% - (2 * var(--overlap-margin))),transparent 100%);margin-left:0}.background-card-wrapper:last-child>.background-card{-webkit-mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black 100%);mask-image:linear-gradient(to right,transparent 0%,black calc(0% + (2 * var(--overlap-margin))),black 100%);margin-right:0}.background-card-wrapper:first-child:last-child>.background-card{mask-image:unset;-webkit-mask-image:unset}.modal-content{background-color:var(--color-background-2);border-radius:20px;padding:20px}.tippy-box:first-child{background-color:var(--color-background-1);border-radius:var(--border-radius-s);border:2px var(--color-2) solid;color:var(--color-primary-2);overflow:hidden;padding:10px}.tippy-box:first-child:before{background:var(--tippy-background);background-position-x:center;background-size:cover;content:"";inset:0;opacity:.3;position:absolute}.tippy-content{text-align:center;white-space:pre-line}.tippy-box:first-child>.tippy-content{padding:0}.tippy-box[role=card-image]{background:none;border:none}.tippy-box>.tippy-arrow{color:var(--color-2)}.tippy-box[role=card-image]>.tippy-arrow,.tippy-box[role=card-info]>.tippy-arrow{display:none}.multiselect-tags-search{background-color:var(--color-2);color:var(--color-primary-2)}.label-icon{height:25px;max-width:25px;filter:drop-shadow(0 0 2px black)}.multiselect-option{margin-bottom:0}.multiselect-option>.label-icon{margin-right:10px}.deck-highlight-wrapper{min-width:250px}.circle-button{align-items:center;background-color:var(--color-3);border-radius:25px;border:none;color:var(--color-primary-2);cursor:pointer;display:flex;height:45px;justify-content:center;position:relative;width:45px}.circle-button>svg{height:20px;width:20px}.multiselect,.multiselect input{color:var(--color-primary-2)}.primary-button{align-items:center;background-color:var(--color-primary);border-radius:30px;border:none;color:var(--color-primary-2);cursor:pointer;display:flex;font-weight:var(--font-weight-bold);gap:5px;height:45px;justify-content:start;padding:0 15px}.fancy-button{align-items:center;background-image:linear-gradient(to right,var(--fancy-button-color-0, #0466c8) 0%,var(--fancy-button-color-1, #003a9e) 51%,var(--fancy-button-color-2, #0466c8) 100%);background-size:200% auto;border-radius:25px;cursor:pointer;display:flex;font-size:20px;font-weight:bolder;height:var(--fancy-button-height, 45px);justify-content:center;padding:0 20px;text-align:center;text-decoration:none;transition:.5s;transition:background-position .3s cubic-bezier(.25,.8,.25,1)}.fancy-button:hover{background-position:right center}.flex-center{display:flex;justify-content:center;align-items:center}.checkboxes-container{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px}@keyframes slide-in{0%{transform:translate(-100%)}}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.swiper-button-next,.swiper-button-prev{background-color:var(--color-background-0);border-radius:100px;border:var(--color-gold) 3px solid;height:40px;width:40px}.swiper-button-next:after,.swiper-button-prev:after{color:var(--color-gold);font-family:swiper-icons;font-size:25px;font-variant:initial;letter-spacing:0;line-height:1;text-transform:none!important}.card-item-container[data-v-41c84b70]{display:flex;flex-direction:column;position:relative;transition:transform .1s}.card-item-container[data-v-41c84b70]:hover{transform:scale(1.05)}.card-item[data-v-41c84b70]{cursor:pointer;height:100%;width:100%}.quantity-ticks-container[data-v-41c84b70]{display:flex;margin:5px auto 0;gap:5px}.quantity-tick[data-v-41c84b70]{background-color:var(--color-primary);border-radius:var(--border-radius-m);height:10px;width:10px}.card-info[data-v-41c84b70]{width:20vh}.card-info-section[data-v-41c84b70]{margin-bottom:10px}.card-info-section[data-v-41c84b70]:last-child{margin-bottom:0}.card-info-title[data-v-41c84b70]{color:var(--color-primary-2);margin:0 0 5px}.card-info-text[data-v-41c84b70]{color:var(--color-0);margin:0}.line[data-v-41c84b70]{background-color:var(--color-0);border:none;color:var(--color-0);height:2px}.associated-card-container[data-v-41c84b70]{display:flex}.associated-card[data-v-41c84b70]{width:20vh}.swiper .swiper-slide[data-v-430f2bb4]{width:220px}.swiper .card-item-called[data-v-430f2bb4]{width:100%;height:100%;display:block;object-fit:cover}.swiper>.swiper-button-next[data-v-430f2bb4],.swiper>.swiper-button-prev[data-v-430f2bb4]{background-color:#f0f8ff}.card-slice-wrapper[data-v-a31abfc0]{background-color:var(--color-background-2);border-radius:var(--border-radius-m);height:100%;overflow:hidden;position:relative;width:var(--card-slice-width, 100%)}.maintain-aspect-ratio[data-v-a31abfc0]{height:unset;padding-top:var(--card-slice-aspect-ratio, 16.66667%)}.card-slice[data-v-a31abfc0]{align-items:center;display:flex;gap:10px;inset:0;padding:0 15px;position:absolute}.card-image[data-v-a31abfc0]{background-position:right;background-size:cover;inset:0 0 0 30%;position:absolute}.region-gradient[data-v-a31abfc0]{inset:0;position:absolute}.mana-hexagon[data-v-a31abfc0]{height:75%;position:relative}.hexagon-icon[data-v-a31abfc0]{height:100%;width:unset}.mana-number[data-v-a31abfc0]{align-items:center;color:var(--color-primary-2);display:flex;font-size:100%;font-weight:600;inset:0;justify-content:center;position:absolute}.card-name[data-v-a31abfc0]{color:var(--color-primary-2);font-size:16px;font-weight:500;text-align:start;text-shadow:2px 2px 4px black;z-index:0}.quantity[data-v-a31abfc0]{display:flex;height:45%;max-height:35px;position:absolute;right:0;width:30px}.quantity-background[data-v-a31abfc0]{align-items:center;background-color:var(--color-3);border-radius:5px 0 0 5px;display:flex;height:100%;justify-content:center;position:relative;width:100%}.num-quantity[data-v-a31abfc0]{color:var(--color-primary-2);font-size:14px;font-weight:600}.insufficient-quantity .num-quantity[data-v-a31abfc0]{color:#ff006f}.plus-minus[data-v-a31abfc0]{align-items:center;bottom:0;display:flex;justify-content:center;opacity:0;position:absolute;right:0;top:0;transition:.4s}.plus-minus[data-v-a31abfc0]:hover{opacity:1}.plus-minus[data-v-a31abfc0]:before{background:linear-gradient(90deg,var(--color-background-1) 00 0%,var(--color-background-1) 100%);content:"";height:100%;width:80px}.plus-minus-content[data-v-a31abfc0]{align-items:center;background-color:var(--color-background-1);display:flex;height:100%;justify-content:center}.plus-minus-icon[data-v-a31abfc0]{align-items:center;border-right:2px solid rgba(var(--color-primary-2-rgb),.2);color:rgba(var(--color-primary-2-rgb),.6);cursor:pointer;display:flex;justify-content:center;opacity:1;padding:3px 5px;width:20px}.plus-minus-icon[data-v-a31abfc0]:hover{color:var(--color-primary-2)}.plus-minus-quantity[data-v-a31abfc0]{color:var(--color-primary-2);font-weight:600;text-align:center;width:30px}.search-bar[data-v-8b9bf112]{--ms-max-height: 90vh}.card-slice-item[data-v-8b9bf112]{width:260px}.social-links[data-v-5517438c]{align-items:center;display:flex;gap:10px}.icon[data-v-5517438c]{height:var(--social-links-size, 20px);color:var(--color-0)}.modal-item[data-v-e2241387]{align-items:center;background-color:rgba(var(--color-background-0-rgb),.4);cursor:default;display:flex;inset:0;justify-content:center;position:fixed;z-index:999}.filter[data-v-741cceed]{background-color:var(--color-background-2);border-radius:var(--box-border-radius);padding:15px;position:relative;width:auto}.filter[data-v-741cceed]:last-child{margin-bottom:0}.top[data-v-741cceed]{display:flex;justify-content:space-between;margin-bottom:10px}.title[data-v-741cceed]{color:var(--color-primary-2);font-size:var(--font-size-xs);font-weight:600;margin:0;text-transform:uppercase}.clear[data-v-741cceed]{color:var(--color-text-disabled);font-size:var(--font-size-xs);font-weight:400;margin:0;cursor:default}.clear.clickable[data-v-741cceed]{color:var(--color-gold);cursor:pointer;opacity:1}input[data-v-d66d5f9d]{background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-primary-2);font-size:14px;height:45px;outline:none;padding-left:20px;padding-right:20px;width:-webkit-fill-available}.checkbox-item[data-v-a4c6109c]{align-items:center;background-color:var(--color-2);border-radius:25px;border:none;cursor:pointer;display:flex;gap:10px;height:45px;padding:10px}.checkbox-item[data-v-a4c6109c]:last-child:nth-child(odd),.checkbox-item[data-v-a4c6109c]:last-of-type:nth-child(odd),.checkbox-item[data-v-a4c6109c]:nth-child(1):nth-last-child(3),.checkbox-item[data-v-a4c6109c]:nth-child(2):nth-last-child(2),.checkbox-item[data-v-a4c6109c]:nth-child(3):nth-last-child(1),.checkbox-item[data-v-a4c6109c]:nth-child(2):nth-last-child(1),.checkbox-item[data-v-a4c6109c]:nth-child(1):nth-last-child(2){grid-column:span 2}.checkbox-item[selected=true][data-v-a4c6109c]{background-color:var(--color-primary)}.checkbox-icon[data-v-a4c6109c]{height:25px;filter:drop-shadow(0px 0px 2px black);width:25px}.checkbox-name[data-v-a4c6109c]{color:var(--color-text-disabled);flex-grow:1;font-size:var(--font-size-s);text-align:left}.checkbox-name[data-v-a4c6109c]:first-child{text-align:center}.checkbox-item[selected=true]>.checkbox-name[data-v-a4c6109c]{color:var(--color-primary-2)}.toggle-switch[data-v-d5d9745a]{position:relative;border-radius:25px;height:100%;background-color:var(--color-2)}.selection-container[data-v-d5d9745a]{position:absolute;top:var(--spacing-1);bottom:var(--spacing-1);transition:left 1s var(--transition-3)}.selection[data-v-d5d9745a]{position:relative;border-radius:100px;height:100%;width:100%;background-color:var(--color-primary)}.option[data-v-d5d9745a]{position:relative;height:100%;width:100%;text-align:center;margin:auto}.option-container[data-v-d5d9745a]{position:absolute;top:var(--spacing-1);bottom:var(--spacing-1)}.option-text[data-v-d5d9745a]{margin:auto;color:#fff;font-weight:var(--font-weight-bold);font-size:var(--font-size-s)}.toggle-switch[data-v-af7bc2a0]{height:45px;grid-column:span 2}.checkbox-item[data-v-2c74c2ed]{background-color:transparent;border:none;opacity:.2;padding:0;position:relative}.checkbox-item[selected=true][data-v-2c74c2ed]{opacity:1}.prompt[data-v-2c74c2ed]{align-items:center;color:var(--color-primary-2);display:flex;font-size:var(--font-size-m);font-weight:var(--font-weight-bold);inset:0;justify-content:center;position:absolute;text-align:center}.checkbox-rows-container[data-v-a94d786a]{display:flex;flex-direction:column;align-items:center}.checkbox-items-container[data-v-a94d786a]{display:grid;grid-gap:8px}.checkbox-items-container.top-row[data-v-a94d786a]{grid-template-columns:repeat(6,38px)}.checkbox-items-container.bottom-row[data-v-a94d786a]{grid-template-columns:repeat(5,38px);margin-top:-4px}.checkbox-item-mana-cost[data-v-a94d786a]{margin:0;width:100%}.multiselect[data-v-1cf4e6d2]{grid-column:span 2}.multiselect[data-v-968634df]{height:45px}.checkboxes-container[data-v-c93a9e90]{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px}.runeterra[data-v-c93a9e90],.runeterra-select[data-v-c93a9e90]{grid-column:span 2;height:45px}.advanced-filter-item[data-v-eb2d535d]{display:flex;gap:10px;height:45px;justify-content:space-between}.advanced-attribute[data-v-eb2d535d]{flex-basis:0;flex-grow:1}.equality-button[data-v-eb2d535d]{align-items:center;background-color:var(--color-2);border-radius:25px;color:var(--color-primary-2);cursor:pointer;display:flex;font-weight:700;height:45px;justify-content:center;width:45px}.equality-number[data-v-eb2d535d]{align-items:center;background-color:var(--color-2);border-radius:25px;border:none;color:var(--color-primary-2);display:flex;flex-basis:0;justify-content:center;outline:none;padding:0 10px;width:25px}.advanced-filters[data-v-6c23ee29]{display:flex;flex-direction:column;gap:10px}.new-advanced-filter[data-v-6c23ee29]{height:45px;background-color:var(--color-2);border-radius:25px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--color-primary-2);font-size:14px}.tippy-text[data-v-715107fe]{max-width:300px;text-align:center;border-radius:10px;white-space:pre-wrap}.region-img[data-v-3d756f50],.region-item[data-v-3d756f50]{height:var(--region-item-size, 100%);width:var(--region-item-size, 100%)}.regions-line[data-v-f1f94f8b]{display:flex;flex-direction:column;gap:5px}.describe-regions[data-v-f1f94f8b]{display:flex;gap:10px;width:100%;justify-content:space-between}.icon[data-v-f1f94f8b]{--size: 25px;height:var(--size);width:var(--size)}.region-description[data-v-f1f94f8b]{color:var(--color-0);display:flex;font-size:11px;gap:5px;text-transform:uppercase;align-items:flex-end}.region-description[data-v-f1f94f8b]:last-child{flex-direction:row-reverse}.lines[data-v-f1f94f8b]{display:flex;gap:10px;width:100%}.region-line[data-v-f1f94f8b]{border-radius:5px;height:10px}.card-slice-item[data-v-2d3d4246]{margin-left:5px;width:100%}.cards-row-background-wrapper[data-v-2d3d4246]{grid-row:var(--index);grid-column:1 / -1;position:relative}.cards-row-background[data-v-2d3d4246]{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;overflow:hidden;position:absolute;inset:0;transition:border-color .2s}a.wrapper:hover .cards-row-background[data-v-2d3d4246]{border-color:#d9b905}.background-card[data-v-2d3d4246]{background-image:var(--background-image);background-size:cover;background-position:center 25%;bottom:0;opacity:40%;position:absolute;top:0;width:60%}.background-card[data-v-2d3d4246]:first-child{-webkit-mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);left:0}.background-card[data-v-2d3d4246]:last-child{-webkit-mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);right:0}.table[data-v-43d2a2a5]{--background-color: var(--color-background-1);background-color:var(--background-color);gap:var(--table-gap, 10px);grid-auto-rows:var(--table-grid-auto-rows);grid-template-columns:var(--table-grid-template-columns);padding:0 4px}.heading-cell[data-v-43d2a2a5]{cursor:pointer;gap:10px}.heading-cell.not-sortable[data-v-43d2a2a5]{cursor:default}.sort-icons[data-v-43d2a2a5]{display:flex;flex-direction:column}.not-sortable .sort-icons[data-v-43d2a2a5]{display:none}.sort-icon[data-v-43d2a2a5]{opacity:.5}.sort-icons[data-v-43d2a2a5]>:first-child{margin-bottom:-15px}.sort-up .sort-icons>[data-icon=sort-up][data-v-43d2a2a5]{opacity:1}.sort-down .sort-icons>[data-icon=sort-down][data-v-43d2a2a5]{opacity:1}.large-table[data-v-0f368ec8]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(6, 1fr)}.deck-highlight-regions[data-v-d28f95f4]{--region-item-size: var(--region-item-size-override, 40px);align-items:center;box-sizing:border-box;display:flex;height:var(--region-item-size);justify-content:space-between;padding:0 calc(var(--region-item-size) / 2)}.region-item-wrapper[data-v-d28f95f4]{position:relative}.region-item[data-v-d28f95f4]{position:absolute;height:var(--region-item-size);width:var(--region-item-size);transform:translate(-50%) translateY(-50%)}.gems-cost[data-v-25f680e9]{align-items:center;background-color:var(--color-3);border-radius:45px;box-sizing:border-box;display:flex;gap:10px;height:45px;padding:10px 20px}.shards-icon[data-v-25f680e9]{height:100%}.gems-text[data-v-25f680e9]{color:var(--color-primary-2);font-size:16px}.gems-cost-title[data-v-25f680e9]{font-weight:600;margin-bottom:2px;text-align:center}.gems-cost-value[data-v-25f680e9]{text-align:center}.language-selection[data-v-741580c8]{align-items:center;color:var(--color-0);display:flex;font-size:var(--language-selection-size, 30px)}.circle-card-item[data-v-3769c05a]{height:var(--circle-card-item-size, 100%);width:var(--circle-card-item-size, 100%)}.circle-card-link[data-v-3769c05a]{height:100%;width:100%}.circle-card-img[data-v-3769c05a]{border-radius:50%;box-sizing:border-box;border:var(--circle-card-item-border-size, 2px) var(--color-primary-2) solid;height:inherit;width:inherit}.deck-highlight-cards[data-v-4d804eb7]{--circle-card-item-size: var(--circle-card-item-size-override, 40px);align-items:center;box-sizing:border-box;display:flex;height:var(--circle-card-item-size);justify-content:space-between;padding:0 calc(var(--circle-card-item-size) / 2)}.circle-card-item-wrapper[data-v-4d804eb7]{position:relative}.circle-card-item[data-v-4d804eb7]{position:absolute;height:var(--circle-card-item-size);width:var(--circle-card-item-size);transform:translate(-50%) translateY(-50%)}.archetype-side-panel-highlight[data-v-ff538f6f]{display:flex;justify-content:space-between}.deck-highlight-regions[data-v-ff538f6f],.deck-highlight-cards[data-v-ff538f6f]{width:85px}.deck-highlight-cards.single[data-v-ff538f6f]{flex-direction:row-reverse}.side-panel-chart[data-v-d65ffd7b]{height:160px}.mana-curve-chart[data-v-d65ffd7b]{height:120px}.deck-cards[data-v-71338c1b]{display:grid;gap:20px;grid-template-columns:repeat(3,1fr)}.type-container[data-v-71338c1b]{flex-grow:1}.type[data-v-71338c1b]{flex-grow:1;max-width:400px;width:auto;z-index:1}.type-heading[data-v-71338c1b]{align-items:center;display:flex;font-family:sans-serif;font-weight:var(--font-weight-light);gap:10px;height:20px;justify-content:center;margin-bottom:20px;text-transform:uppercase;width:auto}.icon[data-v-71338c1b]{width:20px}.type-quantity[data-v-71338c1b]{color:var(--color-gold);font-weight:var(--font-weight-bold);font-style:normal}.title[data-v-71338c1b]{color:var(--color-primary-2);font-size:14px;font-weight:var(--font-weight-bold);margin:0;text-align:center}.card-container[data-v-71338c1b]{display:grid;grid-gap:5px;padding-left:20px;padding-right:20px}.champions-landmarks[data-v-71338c1b]{display:flex;flex-direction:column;gap:30px}@media (max-width: 992px){.deck-cards[data-v-71338c1b]{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.deck-cards[data-v-71338c1b]{grid-template-columns:repeat(1,1fr)}}.circle-button[data-v-7371ea3a]{font-size:25px;font-weight:900;font-family:monospace}.simulate-mulligan[data-v-4f85d8dc]{display:flex;flex-direction:column;gap:20px}.cards-container[data-v-4f85d8dc]{display:flex}.buttons[data-v-4f85d8dc]{display:flex;gap:20px;justify-content:center}button[data-v-4f85d8dc]{width:250px;display:flex;justify-content:center;align-items:center}.circle-button[data-v-63aa9043]{font-size:28px;font-size:900}.simulate-mulligan-wrapper[data-v-63aa9043]{max-width:90vw;padding:20px;border-radius:var(--box-border-radius);background-color:var(--color-background-1)}.circle-button>svg[data-v-f0fef97a]{height:25px;width:25px}.deck-buttons[data-v-45c7b897]{display:flex;gap:30px}.buttons[data-v-45c7b897]{display:flex;gap:10px}.deck-preview[data-v-bf451763]{background-color:var(--color-background-1);border-radius:var(--box-border-radius);display:flex;flex-direction:column;max-height:90vh;max-width:90vw;overflow:auto;position:relative;width:1100px}.top[data-v-bf451763]{background-color:var(--color-background-1);border-bottom:solid 1px var(--color-4);display:flex;position:sticky;top:0;z-index:5}.deck-buttons[data-v-bf451763]{padding:10px;overflow-y:auto;margin-left:auto}.deck-summary-wrapper[data-v-bf451763]{padding:20px;position:relative}.deck-summary[data-v-bf451763]{margin:auto}.deck-summary-wrapper[data-v-bf451763]:before{background-image:var(--deck-summary-background);background-position:center;background-size:cover;content:"";inset:0;opacity:40%;position:absolute}.icon[data-v-ecb770cc]{color:currentColor}.deck-summary[data-v-ecb770cc]{--card-slice-width: 260px}.deck-highlight[data-v-d406c495]{align-items:center;display:flex;gap:15px}.deck-highlight-regions[data-v-d406c495]{width:var(--deck-highlight-regions-size, 85px)}.deck-highlight-cards[data-v-d406c495]{width:var(--deck-highlight-cards-size, 85px)}.deck-highlight-eye[data-v-d406c495]{color:var(--color-primary-2)}.hide-eye .deck-highlight-eye[data-v-d406c495]{display:none}.social-links[data-v-9de6c1ad]{display:flex;gap:20px;justify-content:center}.social-icon[data-v-9de6c1ad]{color:var(--color-0);height:25px;width:25px}.deck-difference-item[data-v-6a27e232]{position:relative}.difference[data-v-6a27e232]{position:absolute;bottom:0;right:-5px;display:flex;justify-content:center;align-items:center;width:25px;height:15px;font-size:12px;color:var(--color-primary-2);font-weight:700;text-shadow:0 0 2px black}.difference.positive[data-v-6a27e232]{background-color:var(--color-good);border-radius:5px}.difference.negative[data-v-6a27e232]{background-color:var(--color-bad);border-radius:5px}.deck-differences[data-v-79e42cb8]{--circle-card-item-size: 40px;display:flex;gap:5px;overflow-x:scroll;overflow-y:hidden;padding:0 10px;-webkit-mask-image:linear-gradient(to right,transparent 0%,black 10px,black calc(100% - 10px),transparent 100%);mask-image:linear-gradient(to right,transparent 0%,black 10px,black calc(100% - 10px),transparent 100%)}.mana-curve-chart[data-v-7cedd2f0]{height:40px;width:90px}.options-button[data-v-7cedd2f0]{opacity:.6;min-width:unset}.options-button[data-v-7cedd2f0]:hover{opacity:1}.region-chart-wrapper[data-v-7cedd2f0]{display:none;grid-column:1 / -1;padding:0 10px}a.wrapper:hover .table-card-row-background[data-v-7cedd2f0]{border-color:#816f0d}.deck-differences-column[data-v-7cedd2f0]{justify-content:start}.card-item-wrapper[data-v-f83acc56]{position:relative}.link-icon[data-v-f83acc56]{height:10vh;max-height:50px;max-width:50px;position:absolute;right:5%;top:5%;width:10vh}.link-icon-link[data-v-f83acc56]{display:none}.card-item-wrapper:hover>.link-icon-link[data-v-f83acc56]{display:flex}.profile-dropdown-wrapper[data-v-1c516824]{display:flex;align-items:center}.profile-dropdown[data-v-1c516824]{display:flex;text-align:center;align-items:center;font-weight:700;color:var(--color-gold);font-size:18px}.navigation-top-desktop[data-v-0be13d90]{align-items:center;background-color:var(--color-background-1);color:var(--color-primary-2);display:flex;gap:40px;justify-content:space-between;padding:0 10px}.content[data-v-0be13d90]{display:flex;gap:inherit}.search-bar[data-v-0be13d90]{width:300px}.fancy-button[data-v-0be13d90]{color:var(--color-primary-2);height:40px}.card-similar-cards[data-v-629c30ac]{display:grid;gap:5px;grid-template-columns:1fr}@media (min-width: 769px){.card-similar-cards[data-v-629c30ac]{grid-template-columns:repeat(5,1fr)}}svg[data-v-bb0b24b5]{fill:currentColor}.dashboard-sign-up[data-v-e398dd28]{align-items:center;display:flex;flex-direction:column;padding:15px;justify-content:space-between;position:relative;background-color:var(--color-background-2);border-radius:20px;overflow:hidden}.dashboard-sign-up[data-v-e398dd28]:before{content:"";position:absolute;inset:0;background-image:url(https://lor.gg/storage/cards/full-art/03MT084.webp);background-size:180%;background-position:center;mask:radial-gradient(circle,rgba(0,0,0,.7) 0%,rgba(0,0,0,0) 90%);-webkit-mask:radial-gradient(circle,rgba(0,0,0,.7) 0%,rgba(0,0,0,0) 90%)}.top[data-v-e398dd28]{display:flex;align-items:center;flex-direction:column;gap:5px}.logo-icon[data-v-e398dd28]{color:var(--color-primary-2);width:60%}.subtitle[data-v-e398dd28]{text-transform:uppercase;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:24px;color:var(--color-primary-2)}.fancy-button[data-v-e398dd28]{color:var(--color-primary-2);z-index:1;align-self:stretch}.match-item[data-v-40345245]{border-radius:20px;display:flex;flex-direction:column;gap:10px;overflow:hidden;padding:10px;position:relative}.match-item>*[data-v-40345245]{filter:drop-shadow(0px 0px 2px black)}.background[data-v-40345245]{background-color:var(--color-background-0);display:flex;overflow:hidden;position:absolute;inset:0;z-index:-1}.details[data-v-40345245]{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:5px}.match-details[data-v-40345245]{display:flex;gap:10px;align-items:flex-end}.game-type[data-v-40345245]{color:var(--color-primary-2);font-weight:700}.time[data-v-40345245]{color:var(--color-0);font-size:12px;font-weight:700}.opponent-details[data-v-40345245]{color:var(--color-gold);text-decoration:underline;font-weight:700}.main[data-v-40345245]{display:flex;justify-content:space-between}.main>.container[data-v-40345245]{align-items:center;border-radius:10px;display:flex;justify-content:center;padding:10px}.results[data-v-40345245]{background-color:rgba(var(--color-background-2-rgb),1);font-size:20px;font-weight:bolder}.deck-highlight.opponent[data-v-40345245]{flex-direction:row-reverse}@media (max-width: 769px){.main[data-v-40345245]{flex-direction:column}.main>.container[data-v-40345245]{background-color:unset}.background[data-v-40345245]:before{background-image:var(--background-image);background-position:center;background-size:cover;content:"";inset:0;opacity:40%;position:absolute}.background>div[data-v-40345245]{display:none}}.leaderboard-top-10-region[data-v-892efa10]{display:flex;flex-direction:column;gap:10px}.leaderboard-top-10-region div[data-v-892efa10]:nth-child(1){--card-slice-aspect-ratio: 33.33333%}.card-slice-item[data-v-fd1e0d8c]{margin-left:5px;width:100%}.card-wrapper[data-v-fd1e0d8c]{filter:unset;min-width:250px}.deck-highlight-wrapper[data-v-fd1e0d8c]{min-width:250px}.leaderboard-detail-row-background-wrapper[data-v-fd1e0d8c]{grid-row:var(--index);grid-column:1 / -1;position:relative}.leaderboard-detail-row-background[data-v-fd1e0d8c]{background-color:var(--color-background-2);border:var(--color-3) solid 2px;border-radius:20px;overflow:hidden;position:absolute;inset:0;transition:border-color .2s}a.wrapper:hover .leaderboard-detail-row-background[data-v-fd1e0d8c]{border-color:#d9b905}.background-card[data-v-fd1e0d8c]{background-image:var(--background-image);background-size:cover;background-position:center 25%;bottom:0;opacity:40%;position:absolute;top:0;width:60%}.background-card[data-v-fd1e0d8c]:first-child{-webkit-mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);mask-image:linear-gradient(to right,black 0%,black 66.66%,transparent 100%);left:0}.background-card[data-v-fd1e0d8c]:last-child{-webkit-mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);mask-image:linear-gradient(to right,transparent 0%,black 33.33%,black 100%);right:0}svg[data-v-5b8e191d]{fill:currentColor}svg[data-v-5b6f3d5e]{fill:currentColor}svg[data-v-81223df9]{fill:currentColor}.built-deck-preview[data-v-2d049ce8]{--circle-card-item-size-override: 50px;--region-item-size-override: 50px;align-items:center;background-color:var(--color-background-1);border-radius:20px;border:var(--color-3) solid 2px;display:flex;flex-direction:column;gap:10px;overflow:hidden;padding-top:10px;position:relative;transition:border-color .3s}.built-deck-preview[data-v-2d049ce8]:hover{border-color:var(--color-gold);transition:border-color 0s}.background[data-v-2d049ce8]{background-image:var(--background-image);background-size:cover;background-position:center;opacity:.4;position:absolute;inset:0;z-index:0}.built-deck-preview>div[data-v-2d049ce8]{filter:drop-shadow(0px 0px 2px black)}.deck-highlight-section[data-v-2d049ce8]{width:110px}.icon[data-v-2d049ce8]{color:var(--color-primary-2);position:absolute;top:15px;z-index:1}.content[data-v-2d049ce8]{display:flex;align-self:stretch;padding:0 15px;justify-content:space-between;align-items:flex-end}.format[data-v-2d049ce8]{display:flex;gap:5px;color:var(--color-primary-2);align-items:center;text-transform:uppercase;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:20px}.format-icon[data-v-2d049ce8]{width:30px;height:30px}.options-button[data-v-2d049ce8]{right:15px}.deck-highlight-eye[data-v-2d049ce8]{color:var(--color-primary-2);left:15px}.deck-highlight[data-v-2d049ce8]{flex-direction:column}.details[data-v-2d049ce8]{align-self:stretch;display:flex;padding:15px;background-color:var(--color-background-2);border-top:var(--color-primary-2) 2px solid;z-index:0}.details.built[data-v-2d049ce8]{flex-direction:column;gap:5px}.details.stats[data-v-2d049ce8]{justify-content:space-around}.title[data-v-2d049ce8]{color:var(--color-primary-2);font-size:16px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.extra-info[data-v-2d049ce8]{align-items:flex-end;display:flex;justify-content:space-between}.info-user[data-v-2d049ce8]{color:var(--color-gold);font-size:14px}.info-user>a[data-v-2d049ce8]{color:currentColor}.info-time[data-v-2d049ce8]{color:var(--color-primary-2);font-size:13px}.stat-column[data-v-2d049ce8]{color:var(--color-primary-2);display:flex;flex-direction:column;gap:5px}.stat-column>.number[data-v-2d049ce8]{text-align:center;font-size:30px;font-weight:700}.stat-column>.descriptor[data-v-2d049ce8]{text-align:center;font-size:12px;font-weight:lighter;text-transform:uppercase}.table-wrapper[data-v-20cc8387]{overflow:hidden;padding:0}.table[data-v-20cc8387]{gap:var(--table-gap, 10px);grid-template-rows:var(--table-grid-template-rows);grid-auto-rows:var(--table-grid-auto-rows);grid-template-columns:var(--table-grid-template-columns)}.heading-cell[data-v-20cc8387]{cursor:pointer;gap:10px}.leaderboard-top[data-v-48a25357]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:40px;grid-gap:20px}.heading-background[data-v-48a25357]{grid-column:-1 / 1;grid-row:1;background-color:var(--color-background-1);border-radius:15px}.heading-wrapper[data-v-48a25357]{display:contents}.heading[data-v-48a25357]{font-weight:700;font-size:18px;grid-row:1;color:var(--color-primary-2);justify-content:center;align-items:center;display:flex}.heading[data-v-48a25357]:nth-child(1){grid-column:1}.heading[data-v-48a25357]:nth-child(2){grid-column:2}.heading[data-v-48a25357]:nth-child(3){grid-column:3}*[data-v-72e7b1ae]{box-sizing:border-box}.card-item-3d[data-v-72e7b1ae]{aspect-ratio:643 / 969;position:relative;-webkit-perspective:400px;perspective:400px}.card[data-v-72e7b1ae]{width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:all 1s var(--transition-1),filter .3s linear;transition:all 1s var(--transition-1),filter .3s linear;border-radius:10px}.card[data-v-72e7b1ae]:not(.flipped):hover{filter:drop-shadow(0px 0px 15px var(--color-gold))}.face[data-v-72e7b1ae]{position:absolute;width:100%;height:100%;-webkit-backface-visibility:hidden;backface-visibility:hidden}.back[data-v-72e7b1ae]{overflow:hidden;z-index:-1;display:block;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);box-sizing:border-box;transition:background-image 1s cubic-bezier(1,0,1,-1)}.back[data-v-72e7b1ae]:before{content:"";position:absolute;width:100%;height:100%;z-index:-1;background-size:100% 100%;-webkit-transform:rotateY(180deg);-moz-transform:rotateY(180deg);-ms-transform:rotateY(180deg);-o-transform:rotateY(180deg);transform:rotateY(180deg)}.front[data-v-72e7b1ae]{z-index:1}.flipped[data-v-72e7b1ae],.hovercard[data-v-72e7b1ae]:hover{-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.card-lottery[data-v-580d1d32]{max-width:1000px;padding:20px;position:relative}.card-lottery-background[data-v-580d1d32]{inset:0;opacity:50%;position:absolute;z-index:-1}.cards-container[data-v-580d1d32]{aspect-ratio:calc((var(--card-item-aspect-ratio-w) + 50) * 3) / var(--card-item-aspect-ratio-h);display:flex;justify-content:center;transition:all 1s linear;width:100%}.card-item-3d-wrapper[data-v-580d1d32]{align-items:center;aspect-ratio:var(--card-item-aspect-ratio);display:flex;flex-grow:1;height:100%;justify-content:center;transition:all .5s linear}.card-item-3d[data-v-580d1d32]{animation:append-animate-580d1d32 .8s var(--transition-2);height:100%}.hide[data-v-580d1d32]{aspect-ratio:unset;flex-grow:.000001;height:0}.hide>.card-item-3d[data-v-580d1d32]{height:0}.bottom[data-v-580d1d32]{display:flex;flex-wrap:wrap;gap:20px;width:100%}.bottom>div[data-v-580d1d32]{align-items:center;display:flex;flex-basis:0;flex-grow:1;justify-content:center}.circle-slice-item-wrapper[data-v-580d1d32]{align-items:center;background-color:var(--color-1);border-radius:10px;justify-content:center;max-width:320px;min-width:240px;padding:10px;width:100%}.circle-card-item-wrapper[data-v-580d1d32]{width:100px}.options[data-v-580d1d32]{flex-direction:column;gap:10px}@keyframes append-animate-580d1d32{to{transform:scale(1)}}.dashboard-profile[data-v-1786a4dc]{background-color:var(--color-background-1);border-radius:20px;width:auto;height:auto;display:flex;flex-direction:column;align-items:center;position:relative;padding:15px;gap:10px}.profile-banner[data-v-1786a4dc]{--icon-size: 120px;position:relative;height:var(--icon-size);margin-bottom:calc(var(--icon-size) / 2);width:100%;display:flex;justify-content:center}.profile-banner-img[data-v-1786a4dc]{width:100%;height:100%;object-fit:cover;border-radius:20px}.circle-card-item[data-v-1786a4dc]{--circle-card-item-border-size: 5px;position:absolute;border-radius:100px;height:var(--icon-size);width:var(--icon-size);bottom:calc(var(--icon-size) / -2);border:var(--color-background-1) 5px solid}.edit-banner[data-v-1786a4dc]{position:absolute;top:10px;right:10px;color:var(--color-primary-2);filter:drop-shadow(0px 0px 2px black)}.edit-banner[data-v-1786a4dc]:hover{color:var(--color-0)}.profile-name[data-v-1786a4dc]{color:var(--color-primary-2);font-size:34px;font-weight:700;text-align:center;text-decoration:none}.profile-region[data-v-1786a4dc]{font-size:20px;color:var(--color-0);text-align:center}.profile-tiles[data-v-1786a4dc]{flex-grow:1;display:flex;gap:10px;justify-content:center}.profile-tile[data-v-1786a4dc]{background-color:var(--color-background-2);border-radius:15px;display:flex;justify-content:center;align-items:center;flex-direction:column;padding:10px;gap:10px;flex:1 1 0;min-width:0}.tile-content[data-v-1786a4dc]{display:flex;flex-grow:1;justify-content:center;align-items:center;padding:5px}.tile-text[data-v-1786a4dc]{text-align:center;font-size:16px;color:var(--color-0);white-space:nowrap}.games-text[data-v-1786a4dc]{color:var(--color-primary-2);font-weight:700;font-size:44px;text-align:center}.chart-container[data-v-1786a4dc]{height:90px;width:90px;position:relative}.profile-premium-expiration[data-v-1786a4dc]{color:var(--color-0)}.profile-premium-expiration-time[data-v-1786a4dc]{color:var(--color-primary-2)}.fancy-button[data-v-1786a4dc]{color:var(--color-primary-2);box-sizing:border-box;width:100%}.large-table[data-v-ae70adc0]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(6, 1fr) 50px}.champion-column[data-v-b3f363b1]{--region-item-size: 35px;display:flex;gap:10px;justify-content:start;padding-left:20px}.circle-card-item[data-v-b3f363b1]{min-width:35px}.small-table[data-v-2dae645c]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.champion-column[data-v-91ed15a8]{--region-item-size: 35px;display:flex;gap:10px;justify-content:start;padding-left:20px}.circle-card-item[data-v-91ed15a8]{min-width:35px}.small-table[data-v-f883a9d9]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.leaderboard-options[data-v-9d0b891b]{display:flex;flex-direction:column;gap:5px}.multiselects[data-v-9d0b891b]{display:flex;flex-direction:row-reverse;gap:10px}.details[data-v-9d0b891b]{color:var(--color-primary-2);display:flex;gap:5px;justify-content:space-between}.details span[data-v-9d0b891b]{font-weight:700}@media (max-width: 769px){.leaderboard-options[data-v-9d0b891b],.multiselects[data-v-9d0b891b],.details[data-v-9d0b891b]{flex-direction:column;justify-content:center}.multiselects[data-v-9d0b891b]{flex-direction:column-reverse}.leaderboard-options[data-v-9d0b891b]{gap:10px}.details[data-v-9d0b891b]{text-align:center}}.large-table[data-v-16cb7504]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(4, min-content) 1fr 50px}.statitistics-pane-container[data-v-f00b184f]{background-color:var(--color-background-2);display:grid;grid-template-columns:1fr;grid-template-rows:40px 1fr;border-radius:20px}.full-screen[data-v-f00b184f]{border-radius:0}.top[data-v-f00b184f]{display:flex;padding:15px;align-items:center;justify-content:space-between}.heading[data-v-f00b184f]{color:var(--color-primary-2);font-weight:600;font-size:16px}.maximize-icon[data-v-f00b184f]{color:var(--color-primary-2);opacity:.5;width:20px;height:20px}.maximize-icon[data-v-f00b184f]:hover{opacity:1}.chart[data-v-f00b184f]{position:relative}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{width:1px;height:var(--swiper-virtual-size)}.swiper-carousel .swiper-slide[data-v-a6ffd2e2]{width:320px}.swiper-carousel img[data-v-a6ffd2e2]{width:100%;height:100%;display:block;object-fit:cover}.wins-losses-line[data-v-511803da]{display:flex;flex-direction:column;gap:5px}.lines[data-v-511803da]{display:flex;gap:10px;width:100%}.line[data-v-511803da]{border-radius:5px;height:10px}.wins.line[data-v-511803da]{background-color:var(--color-good)}.losses.line[data-v-511803da]{background-color:var(--color-bad)}.details[data-v-511803da]{font-size:14px;font-weight:600}.wl-record[data-v-511803da]{color:var(--color-0)}.champion-column[data-v-d436bc19]{--circle-card-item-size: 40px;display:flex;gap:10px;justify-content:start;padding-left:20px}.circle-card-item[data-v-d436bc19]{min-width:var(--circle-card-item-size)}.card-page-toggle[data-v-07d07f20]{height:45px;margin-bottom:25px}.champion-column[data-v-3d62a718]{display:flex;justify-content:start;align-items:center;padding-left:20px;gap:10px}.mana-hexagon[data-v-3d62a718]{width:35px;position:relative}.mana-number[data-v-3d62a718]{align-items:center;color:var(--color-primary-2);display:flex;font-size:100%;font-weight:600;inset:0;justify-content:center;position:absolute}.reveal-day-option[data-v-f3dbe378]{--size: 30px;background-color:var(--color-primary-2);border:var(--color-background-1) 4px solid;border-radius:var(--size);height:var(--size);position:relative;width:var(--size)}.card-wrapper[data-v-f3dbe378]{top:50%;display:none;position:absolute;left:0;transform:translateY(-50%);transform-origin:50% 100%;width:var(--size);transition:transform .25s}.reveal-day-option.soon[data-v-f3dbe378],.reveal-day-option.activated[data-v-f3dbe378],.reveal-day-option.past[data-v-f3dbe378]{background-color:transparent;border-color:transparent}.reveal-day-option.soon[data-v-f3dbe378]{background:radial-gradient(circle,rgba(var(--color-gold-rgb),1) 0%,rgba(var(--color-gold-rgb),.5) 100%);box-shadow:0 0 10px 1px rgba(var(--color-gold-rgb),1)}.reveal-day-option.soon .card-wrapper[data-v-f3dbe378],.reveal-day-option.activated .card-wrapper[data-v-f3dbe378],.reveal-day-option.past .card-wrapper[data-v-f3dbe378]{display:unset}.card[data-v-f3dbe378]{width:var(--size);transition:transform .25s}.reveal-day-option.activated>.card-wrapper[data-v-f3dbe378]:nth-child(1),.reveal-day-option:hover>.card-wrapper[data-v-f3dbe378]:nth-child(1){transform:translateY(-50%) rotate(30deg)}.reveal-day-option.activated>.card-wrapper[data-v-f3dbe378]:nth-child(3),.reveal-day-option:hover>.card-wrapper[data-v-f3dbe378]:nth-child(3){transform:translateY(-50%) rotate(-30deg)}.reveal-day-option.activated .card[data-v-f3dbe378],.reveal-day-option:hover .card[data-v-f3dbe378]{transform:translateY(-10%)}.reveal-day-options[data-v-76ed46ac]{display:flex;justify-content:space-between;position:relative}.line[data-v-76ed46ac]{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:5px;background-color:var(--color-background-0);border-radius:10px}.small-table[data-v-89a26f2c]{--table-gap: 1px;--table-grid-auto-rows: 1fr;--table-grid-template-columns: repeat(3, 1fr);--table-grid-template-rows: 50px}.reveal-carousel[data-v-89a26f2c]{grid-column:1 / -1;padding:0 10px 10px}.large-table[data-v-4dfbb489]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(6, 1fr)}svg[data-v-c8a918ec]{fill:currentColor}svg[data-v-4a6733fd]{fill:currentColor}svg[data-v-b519ac08]{fill:currentColor}svg[data-v-f1928c9e]{fill:currentColor}svg[data-v-b1448e85]{fill:currentColor}svg[data-v-e5501fa0]{fill:currentColor}.navigation-side[data-v-d94431f7]{--width-collapsed: 50px;--width-expanded: 250px;background-color:var(--color-background-1);border-right:solid 1px var(--color-1);display:flex;flex-direction:column;height:inherit;max-width:80vw;position:relative;transition:width .3s;width:var(--width-collapsed);z-index:2}.navigation-side.expanded[data-v-d94431f7],.navigation-side[data-v-d94431f7]:hover{width:var(--width-expanded)}.navigation-side.expanded[data-v-d94431f7]{animation:.3s slide-in}.content[data-v-d94431f7]{display:grid;overflow-x:hidden;grid-template-columns:var(--width-collapsed) calc(var(--width-expanded) - var(--width-collapsed));grid-auto-rows:var(--width-collapsed)}.content.logo[data-v-d94431f7]{flex-shrink:0;border-bottom:solid 1px var(--color-1);height:calc(var(--width-collapsed) - 1px)}.pages[data-v-d94431f7]{overflow-y:auto}.content.pages.scrollable-down[data-v-d94431f7]{box-shadow:inset 0 -20px 20px -20px var(--color-0)}.content.pages.scrollable-up[data-v-d94431f7]{box-shadow:inset 0 20px 20px -20px var(--color-0)}.content.pages.scrollable-down.scrollable-up[data-v-d94431f7]{box-shadow:inset 0 -20px 20px -20px var(--color-0),inset 0 20px 20px -20px var(--color-0)}.profile[data-v-d94431f7]{--circle-card-item-size: 35px;border-top:solid 1px var(--color-1);flex-shrink:0;margin-top:auto}.nav-item[data-v-d94431f7]{color:var(--color-0);display:contents}.highlight.nav-item[data-v-d94431f7]{color:var(--color-gold)}.nav-item[data-v-d94431f7]:hover{color:var(--color-primary-2)}.content.logo .nav-item[data-v-d94431f7]{color:var(--color-primary-2);position:sticky;top:0}.nav-icon-wrapper[data-v-d94431f7]{align-items:center;display:flex;justify-content:center;z-index:-1}.nav-item:hover>.nav-icon-wrapper[data-v-d94431f7],.nav-item.highlight>.nav-icon-wrapper[data-v-d94431f7]{background-color:var(--color-background-2)}.content.logo>.nav-item>.nav-icon-wrapper[data-v-d94431f7]{padding:8px}.nav-text[data-v-d94431f7]{align-items:center;display:flex;font-size:14px;font-weight:700;z-index:-1}.nav-text.settings[data-v-d94431f7]{justify-content:space-between;padding-right:15px}.settings .icon[data-v-d94431f7]{font-size:24px}.profile .name[data-v-d94431f7]{color:var(--color-gold)}.nav-item:hover>.nav-text[data-v-d94431f7],.nav-item.highlight>.nav-text[data-v-d94431f7]{background-color:var(--color-background-2)}.content.logo .nav-item>.nav-text[data-v-d94431f7]{justify-content:center;padding-left:10px;width:150px}.sign-in-container[data-v-d94431f7]{padding:0 10px}.fancy-button[data-v-d94431f7]{color:var(--color-primary-2);height:40px;width:100%;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;text-transform:uppercase}.navigation-top-mobile[data-v-00513f55]{align-items:center;background-color:var(--color-background-1);color:var(--color-primary-2);display:flex;justify-content:space-between;padding:0 10px}.logo-icon[data-v-00513f55]{width:100px}.icon[data-v-00513f55]{font-size:20px}.search-bar[data-v-00513f55]{width:100%}.navigation-side[data-v-00513f55]{position:absolute;top:0;left:0;bottom:0}.navigation-top[data-v-6df2641b]{display:grid;border-bottom:solid 1px var(--color-1)}.navigation-top>.navigation-top-desktop[data-v-6df2641b]{display:none}@media (min-width: 769px){.navigation-top>.navigation-top-desktop[data-v-6df2641b]{display:flex}.navigation-top>.navigation-top-mobile[data-v-6df2641b]{display:none}}input[data-v-5ebbd7eb]{background-color:var(--color-1);border-radius:30px;border:none;cursor:pointer;display:flex;height:45px;padding:10px;width:200px}.small-table[data-v-fe0f916c]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.multiselect-wrapper[data-v-fe0f916c]{grid-column:2 / -1;padding:0 10px}a.wrapper:hover .table-card-row-background[data-v-403b89f6]{border-color:#816f0d}.large-table[data-v-96361ab4]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(4, 1fr)}.deck-builder-summary-type[data-v-2e6bb287]{align-items:center;background-color:var(--color-background-1);border-radius:999px;display:flex;flex-direction:column;padding:5px;width:30px}.deck-builder-summary-type.deck[data-v-2e6bb287]{flex-grow:1;font-size:20px;width:unset}.number-container[data-v-2e6bb287]{align-items:center;aspect-ratio:1 / 1;border-radius:999px;color:var(--color-primary-2);display:flex;font-weight:700;justify-content:center;width:100%}.deck-builder-summary-type.error>.number-container[data-v-2e6bb287]{color:var(--color-bad)}.deck-builder-summary-type.deck>.number-container[data-v-2e6bb287]{aspect-ratio:unset;flex-grow:1;height:100%}.type-icon[data-v-2e6bb287]{color:var(--color-0);width:20px}.deck-builder-summary[data-v-ec8f0fa9]{display:flex;gap:5px}.small-table[data-v-e5817be3]{--table-gap: 1px;--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(3, 1fr)}.slider-wrapper[data-v-bac83f78]{width:140px;height:25px;display:flex;align-items:center;justify-content:center}@media (max-width: 1200px){.slider[data-v-bac83f78]{transform:rotate(270deg)}.slider-wrapper[data-v-bac83f78]{width:25px;height:140px}}.card-overview[data-v-7a77ebe8]{background-color:var(--color-background-1);border-radius:20px;color:var(--color-0);padding:0 20px 20px;display:flex;flex-direction:column}.overview-top[data-v-7a77ebe8]{display:flex;justify-content:space-between;align-items:center}.close-icon[data-v-7a77ebe8]{width:32px;height:32px;cursor:pointer}.icon[data-v-7a77ebe8]{margin:10px;width:25px;height:25px}.card-name[data-v-7a77ebe8]{color:var(--color-primary-2);font-size:40px;font-weight:600;margin-bottom:10px;margin-top:15px}.card-tags-container[data-v-7a77ebe8]{position:relative;height:45px;margin-bottom:15px}.card-tags[data-v-7a77ebe8]{position:absolute;left:0;right:0;top:0;bottom:0;display:grid;grid-template-columns:auto auto auto auto;grid-template-rows:45px;grid-gap:10px}.card-tag[data-v-7a77ebe8]{display:flex;border-radius:25px;background-color:var(--color-2);height:45px;align-items:center}.card-tag-text[data-v-7a77ebe8]{font-size:14px;opacity:.5;color:var(--color-primary-2);margin-right:15px}.card-tag[data-v-7a77ebe8]:last-child{margin-right:0}.card-text[data-v-7a77ebe8]{color:var(--color-primary-2);font-size:20px;margin-bottom:15px}.keyword-name[data-v-7a77ebe8]{color:var(--color-primary-2)}.keyword-description[data-v-7a77ebe8]{font-size:20px;margin-bottom:15px}.flavor-text[data-v-7a77ebe8]{font-size:20px}.divider[data-v-7a77ebe8]{border:#2c2d4a solid 1px;margin:0 10px 15px}.card-art-section[data-v-7a77ebe8]{display:flex;justify-content:flex-end;margin-top:auto}.profile-game-type-winrate[data-v-1bb3c9de]{display:flex;flex-direction:column;gap:5px;padding:10px;background-color:var(--color-background-1);border-radius:10px}.game-type[data-v-1bb3c9de]{color:var(--color-primary-2);font-weight:700}.large-table[data-v-4810f8e3]{--table-grid-auto-rows: 50px;--table-grid-template-columns: repeat(5, 1fr) 50px}.format-tag[data-v-694d889e]{background-color:var(--color);border-radius:5px;padding:5px;font-weight:700;color:var(--color-primary-2)}
2
+ `,document.head.appendChild(nm);const uJ="";/*!
3
+ * shared v9.2.2
4
+ * (c) 2022 kazuya kawaguchi
5
+ * Released under the MIT License.
6
+ */const Bn=typeof window<"u";let Zt,ba;if(process.env.NODE_ENV!=="production"){const e=Bn&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Zt=t=>e.mark(t),ba=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const M3=/\{([0-9a-zA-Z]+)\}/g;function Ys(e,...t){return t.length===1&&Ve(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(M3,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const N3=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Rn=e=>N3?Symbol(e):e,D3=(e,t,n)=>P3({l:e,k:t,s:n}),P3=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),bt=e=>typeof e=="number"&&isFinite(e),I3=e=>vd(e)==="[object Date]",Nr=e=>vd(e)==="[object RegExp]",qs=e=>he(e)&&Object.keys(e).length===0;function Ft(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const xt=Object.assign;let rm;const Qi=()=>rm||(rm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function am(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const L3=Object.prototype.hasOwnProperty;function _d(e,t){return L3.call(e,t)}const ze=Array.isArray,ct=e=>typeof e=="function",Y=e=>typeof e=="string",ke=e=>typeof e=="boolean",Ve=e=>e!==null&&typeof e=="object",im=Object.prototype.toString,vd=e=>im.call(e),he=e=>vd(e)==="[object Object]",B3=e=>e==null?"":ze(e)||he(e)&&e.toString===im?JSON.stringify(e,null,2):String(e),om=2;function R3(e,t=0,n=e.length){const r=e.split(/\r?\n/);let a=0;const i=[];for(let o=0;o<r.length;o++)if(a+=r[o].length+1,a>=t){for(let l=o-om;l<=o+om||n>a;l++){if(l<0||l>=r.length)continue;const c=l+1;i.push(`${c}${" ".repeat(3-String(c).length)}| ${r[l]}`);const d=r[l].length;if(l===o){const u=t-(a-d)+1,f=Math.max(1,n>a?d-u:n-t);i.push(" | "+" ".repeat(u)+"^".repeat(f))}else if(l>o){if(n>a){const u=Math.max(Math.min(n-a,d),1);i.push(" | "+"^".repeat(u))}a+=d+1}}break}return i.join(`
7
+ `)}function wd(){const e=new Map;return{events:e,on(n,r){const a=e.get(n);a&&a.push(r)||e.set(n,[r])},off(n,r){const a=e.get(n);a&&a.splice(a.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(a=>a(r)),(e.get("*")||[]).slice().map(a=>a(n,r))}}}/*!
8
+ * message-compiler v9.2.2
9
+ * (c) 2022 kazuya kawaguchi
10
+ * Released under the MIT License.
11
+ */const fe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15},V3={[fe.EXPECTED_TOKEN]:"Expected token: '{0}'",[fe.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[fe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[fe.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[fe.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[fe.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[fe.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[fe.EMPTY_PLACEHOLDER]:"Empty placeholder",[fe.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[fe.INVALID_LINKED_FORMAT]:"Invalid linked format",[fe.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[fe.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[fe.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[fe.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function Gs(e,t,n={}){const{domain:r,messages:a,args:i}=n,o=process.env.NODE_ENV!=="production"?Ys((a||V3)[e]||"",...i||[]):e,l=new SyntaxError(String(o));return l.code=e,t&&(l.location=t),l.domain=r,l}function $3(e){throw e}function F3(e,t,n){return{line:e,column:t,offset:n}}function kd(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const rr=" ",z3="\r",Lt=`
12
+ `,j3=String.fromCharCode(8232),H3=String.fromCharCode(8233);function W3(e){const t=e;let n=0,r=1,a=1,i=0;const o=C=>t[C]===z3&&t[C+1]===Lt,l=C=>t[C]===Lt,c=C=>t[C]===H3,d=C=>t[C]===j3,u=C=>o(C)||l(C)||c(C)||d(C),f=()=>n,p=()=>r,h=()=>a,g=()=>i,b=C=>o(C)||c(C)||d(C)?Lt:t[C],v=()=>b(n),m=()=>b(n+i);function y(){return i=0,u(n)&&(r++,a=0),o(n)&&n++,n++,a++,t[n]}function w(){return o(n+i)&&i++,i++,t[n+i]}function _(){n=0,r=1,a=1,i=0}function k(C=0){i=C}function x(){const C=n+i;for(;C!==n;)y();i=0}return{index:f,line:p,column:h,peekOffset:g,charAt:b,currentChar:v,currentPeek:m,next:y,peek:w,reset:_,resetPeek:k,skipToPeek:x}}const Dr=void 0,sm="'",U3="tokenizer";function Y3(e,t={}){const n=t.location!==!1,r=W3(e),a=()=>r.index(),i=()=>F3(r.line(),r.column(),r.index()),o=i(),l=a(),c={currentType:14,offset:l,startLoc:o,endLoc:o,lastType:14,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>c,{onError:u}=t;function f(A,S,P,...W){const ne=d();if(S.column+=P,S.offset+=P,u){const ue=kd(ne.startLoc,S),kt=Gs(A,ue,{domain:U3,args:W});u(kt)}}function p(A,S,P){A.endLoc=i(),A.currentType=S;const W={type:S};return n&&(W.loc=kd(A.startLoc,A.endLoc)),P!=null&&(W.value=P),W}const h=A=>p(A,14);function g(A,S){return A.currentChar()===S?(A.next(),S):(f(fe.EXPECTED_TOKEN,i(),0,S),"")}function b(A){let S="";for(;A.currentPeek()===rr||A.currentPeek()===Lt;)S+=A.currentPeek(),A.peek();return S}function v(A){const S=b(A);return A.skipToPeek(),S}function m(A){if(A===Dr)return!1;const S=A.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S===95}function y(A){if(A===Dr)return!1;const S=A.charCodeAt(0);return S>=48&&S<=57}function w(A,S){const{currentType:P}=S;if(P!==2)return!1;b(A);const W=m(A.currentPeek());return A.resetPeek(),W}function _(A,S){const{currentType:P}=S;if(P!==2)return!1;b(A);const W=A.currentPeek()==="-"?A.peek():A.currentPeek(),ne=y(W);return A.resetPeek(),ne}function k(A,S){const{currentType:P}=S;if(P!==2)return!1;b(A);const W=A.currentPeek()===sm;return A.resetPeek(),W}function x(A,S){const{currentType:P}=S;if(P!==8)return!1;b(A);const W=A.currentPeek()===".";return A.resetPeek(),W}function C(A,S){const{currentType:P}=S;if(P!==9)return!1;b(A);const W=m(A.currentPeek());return A.resetPeek(),W}function E(A,S){const{currentType:P}=S;if(!(P===8||P===12))return!1;b(A);const W=A.currentPeek()===":";return A.resetPeek(),W}function T(A,S){const{currentType:P}=S;if(P!==10)return!1;const W=()=>{const ue=A.currentPeek();return ue==="{"?m(A.peek()):ue==="@"||ue==="%"||ue==="|"||ue===":"||ue==="."||ue===rr||!ue?!1:ue===Lt?(A.peek(),W()):m(ue)},ne=W();return A.resetPeek(),ne}function B(A){b(A);const S=A.currentPeek()==="|";return A.resetPeek(),S}function D(A){const S=b(A),P=A.currentPeek()==="%"&&A.peek()==="{";return A.resetPeek(),{isModulo:P,hasSpace:S.length>0}}function M(A,S=!0){const P=(ne=!1,ue="",kt=!1)=>{const lt=A.currentPeek();return lt==="{"?ue==="%"?!1:ne:lt==="@"||!lt?ue==="%"?!0:ne:lt==="%"?(A.peek(),P(ne,"%",!0)):lt==="|"?ue==="%"||kt?!0:!(ue===rr||ue===Lt):lt===rr?(A.peek(),P(!0,rr,kt)):lt===Lt?(A.peek(),P(!0,Lt,kt)):!0},W=P();return S&&A.resetPeek(),W}function R(A,S){const P=A.currentChar();return P===Dr?Dr:S(P)?(A.next(),P):null}function re(A){return R(A,P=>{const W=P.charCodeAt(0);return W>=97&&W<=122||W>=65&&W<=90||W>=48&&W<=57||W===95||W===36})}function J(A){return R(A,P=>{const W=P.charCodeAt(0);return W>=48&&W<=57})}function Q(A){return R(A,P=>{const W=P.charCodeAt(0);return W>=48&&W<=57||W>=65&&W<=70||W>=97&&W<=102})}function K(A){let S="",P="";for(;S=J(A);)P+=S;return P}function de(A){v(A);const S=A.currentChar();return S!=="%"&&f(fe.EXPECTED_TOKEN,i(),0,S),A.next(),"%"}function q(A){let S="";for(;;){const P=A.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P==="%")if(M(A))S+=P,A.next();else break;else if(P===rr||P===Lt)if(M(A))S+=P,A.next();else{if(B(A))break;S+=P,A.next()}else S+=P,A.next()}return S}function se(A){v(A);let S="",P="";for(;S=re(A);)P+=S;return A.currentChar()===Dr&&f(fe.UNTERMINATED_CLOSING_BRACE,i(),0),P}function pe(A){v(A);let S="";return A.currentChar()==="-"?(A.next(),S+=`-${K(A)}`):S+=K(A),A.currentChar()===Dr&&f(fe.UNTERMINATED_CLOSING_BRACE,i(),0),S}function Oe(A){v(A),g(A,"'");let S="",P="";const W=ue=>ue!==sm&&ue!==Lt;for(;S=R(A,W);)S==="\\"?P+=He(A):P+=S;const ne=A.currentChar();return ne===Lt||ne===Dr?(f(fe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),ne===Lt&&(A.next(),g(A,"'")),P):(g(A,"'"),P)}function He(A){const S=A.currentChar();switch(S){case"\\":case"'":return A.next(),`\\${S}`;case"u":return ye(A,S,4);case"U":return ye(A,S,6);default:return f(fe.UNKNOWN_ESCAPE_SEQUENCE,i(),0,S),""}}function ye(A,S,P){g(A,S);let W="";for(let ne=0;ne<P;ne++){const ue=Q(A);if(!ue){f(fe.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${S}${W}${A.currentChar()}`);break}W+=ue}return`\\${S}${W}`}function oe(A){v(A);let S="",P="";const W=ne=>ne!=="{"&&ne!=="}"&&ne!==rr&&ne!==Lt;for(;S=R(A,W);)P+=S;return P}function $(A){let S="",P="";for(;S=re(A);)P+=S;return P}function te(A){const S=(P=!1,W)=>{const ne=A.currentChar();return ne==="{"||ne==="%"||ne==="@"||ne==="|"||!ne||ne===rr?W:ne===Lt?(W+=ne,A.next(),S(P,W)):(W+=ne,A.next(),S(!0,W))};return S(!1,"")}function Le(A){v(A);const S=g(A,"|");return v(A),S}function st(A,S){let P=null;switch(A.currentChar()){case"{":return S.braceNest>=1&&f(fe.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),A.next(),P=p(S,2,"{"),v(A),S.braceNest++,P;case"}":return S.braceNest>0&&S.currentType===2&&f(fe.EMPTY_PLACEHOLDER,i(),0),A.next(),P=p(S,3,"}"),S.braceNest--,S.braceNest>0&&v(A),S.inLinked&&S.braceNest===0&&(S.inLinked=!1),P;case"@":return S.braceNest>0&&f(fe.UNTERMINATED_CLOSING_BRACE,i(),0),P=wt(A,S)||h(S),S.braceNest=0,P;default:let ne=!0,ue=!0,kt=!0;if(B(A))return S.braceNest>0&&f(fe.UNTERMINATED_CLOSING_BRACE,i(),0),P=p(S,1,Le(A)),S.braceNest=0,S.inLinked=!1,P;if(S.braceNest>0&&(S.currentType===5||S.currentType===6||S.currentType===7))return f(fe.UNTERMINATED_CLOSING_BRACE,i(),0),S.braceNest=0,pt(A,S);if(ne=w(A,S))return P=p(S,5,se(A)),v(A),P;if(ue=_(A,S))return P=p(S,6,pe(A)),v(A),P;if(kt=k(A,S))return P=p(S,7,Oe(A)),v(A),P;if(!ne&&!ue&&!kt)return P=p(S,13,oe(A)),f(fe.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,P.value),v(A),P;break}return P}function wt(A,S){const{currentType:P}=S;let W=null;const ne=A.currentChar();switch((P===8||P===9||P===12||P===10)&&(ne===Lt||ne===rr)&&f(fe.INVALID_LINKED_FORMAT,i(),0),ne){case"@":return A.next(),W=p(S,8,"@"),S.inLinked=!0,W;case".":return v(A),A.next(),p(S,9,".");case":":return v(A),A.next(),p(S,10,":");default:return B(A)?(W=p(S,1,Le(A)),S.braceNest=0,S.inLinked=!1,W):x(A,S)||E(A,S)?(v(A),wt(A,S)):C(A,S)?(v(A),p(S,12,$(A))):T(A,S)?(v(A),ne==="{"?st(A,S)||W:p(S,11,te(A))):(P===8&&f(fe.INVALID_LINKED_FORMAT,i(),0),S.braceNest=0,S.inLinked=!1,pt(A,S))}}function pt(A,S){let P={type:14};if(S.braceNest>0)return st(A,S)||h(S);if(S.inLinked)return wt(A,S)||h(S);switch(A.currentChar()){case"{":return st(A,S)||h(S);case"}":return f(fe.UNBALANCED_CLOSING_BRACE,i(),0),A.next(),p(S,3,"}");case"@":return wt(A,S)||h(S);default:if(B(A))return P=p(S,1,Le(A)),S.braceNest=0,S.inLinked=!1,P;const{isModulo:ne,hasSpace:ue}=D(A);if(ne)return ue?p(S,0,q(A)):p(S,4,de(A));if(M(A))return p(S,0,q(A));break}return P}function wn(){const{currentType:A,offset:S,startLoc:P,endLoc:W}=c;return c.lastType=A,c.lastOffset=S,c.lastStartLoc=P,c.lastEndLoc=W,c.offset=a(),c.startLoc=i(),r.currentChar()===Dr?p(c,14):pt(r,c)}return{nextToken:wn,currentOffset:a,currentPosition:i,context:d}}const q3="parser",G3=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function X3(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function K3(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,y,w,_,...k){const x=m.currentPosition();if(x.offset+=_,x.column+=_,n){const C=kd(w,x),E=Gs(y,C,{domain:q3,args:k});n(E)}}function a(m,y,w){const _={type:m,start:y,end:y};return t&&(_.loc={start:w,end:w}),_}function i(m,y,w,_){m.end=y,_&&(m.type=_),t&&m.loc&&(m.loc.end=w)}function o(m,y){const w=m.context(),_=a(3,w.offset,w.startLoc);return _.value=y,i(_,m.currentOffset(),m.currentPosition()),_}function l(m,y){const w=m.context(),{lastOffset:_,lastStartLoc:k}=w,x=a(5,_,k);return x.index=parseInt(y,10),m.nextToken(),i(x,m.currentOffset(),m.currentPosition()),x}function c(m,y){const w=m.context(),{lastOffset:_,lastStartLoc:k}=w,x=a(4,_,k);return x.key=y,m.nextToken(),i(x,m.currentOffset(),m.currentPosition()),x}function d(m,y){const w=m.context(),{lastOffset:_,lastStartLoc:k}=w,x=a(9,_,k);return x.value=y.replace(G3,X3),m.nextToken(),i(x,m.currentOffset(),m.currentPosition()),x}function u(m){const y=m.nextToken(),w=m.context(),{lastOffset:_,lastStartLoc:k}=w,x=a(8,_,k);return y.type!==12?(r(m,fe.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),x.value="",i(x,_,k),{nextConsumeToken:y,node:x}):(y.value==null&&r(m,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Vn(y)),x.value=y.value||"",i(x,m.currentOffset(),m.currentPosition()),{node:x})}function f(m,y){const w=m.context(),_=a(7,w.offset,w.startLoc);return _.value=y,i(_,m.currentOffset(),m.currentPosition()),_}function p(m){const y=m.context(),w=a(6,y.offset,y.startLoc);let _=m.nextToken();if(_.type===9){const k=u(m);w.modifier=k.node,_=k.nextConsumeToken||m.nextToken()}switch(_.type!==10&&r(m,fe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vn(_)),_=m.nextToken(),_.type===2&&(_=m.nextToken()),_.type){case 11:_.value==null&&r(m,fe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vn(_)),w.key=f(m,_.value||"");break;case 5:_.value==null&&r(m,fe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vn(_)),w.key=c(m,_.value||"");break;case 6:_.value==null&&r(m,fe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vn(_)),w.key=l(m,_.value||"");break;case 7:_.value==null&&r(m,fe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vn(_)),w.key=d(m,_.value||"");break;default:r(m,fe.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const k=m.context(),x=a(7,k.offset,k.startLoc);return x.value="",i(x,k.offset,k.startLoc),w.key=x,i(w,k.offset,k.startLoc),{nextConsumeToken:_,node:w}}return i(w,m.currentOffset(),m.currentPosition()),{node:w}}function h(m){const y=m.context(),w=y.currentType===1?m.currentOffset():y.offset,_=y.currentType===1?y.endLoc:y.startLoc,k=a(2,w,_);k.items=[];let x=null;do{const T=x||m.nextToken();switch(x=null,T.type){case 0:T.value==null&&r(m,fe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vn(T)),k.items.push(o(m,T.value||""));break;case 6:T.value==null&&r(m,fe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vn(T)),k.items.push(l(m,T.value||""));break;case 5:T.value==null&&r(m,fe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vn(T)),k.items.push(c(m,T.value||""));break;case 7:T.value==null&&r(m,fe.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Vn(T)),k.items.push(d(m,T.value||""));break;case 8:const B=p(m);k.items.push(B.node),x=B.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const C=y.currentType===1?y.lastOffset:m.currentOffset(),E=y.currentType===1?y.lastEndLoc:m.currentPosition();return i(k,C,E),k}function g(m,y,w,_){const k=m.context();let x=_.items.length===0;const C=a(1,y,w);C.cases=[],C.cases.push(_);do{const E=h(m);x||(x=E.items.length===0),C.cases.push(E)}while(k.currentType!==14);return x&&r(m,fe.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),i(C,m.currentOffset(),m.currentPosition()),C}function b(m){const y=m.context(),{offset:w,startLoc:_}=y,k=h(m);return y.currentType===14?k:g(m,w,_,k)}function v(m){const y=Y3(m,xt({},e)),w=y.context(),_=a(0,w.offset,w.startLoc);return t&&_.loc&&(_.loc.source=m),_.body=b(y),w.currentType!==14&&r(y,fe.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,m[w.offset]||""),i(_,y.currentOffset(),y.currentPosition()),_}return{parse:v}}function Vn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function J3(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function lm(e,t){for(let n=0;n<e.length;n++)xd(e[n],t)}function xd(e,t){switch(e.type){case 1:lm(e.cases,t),t.helper("plural");break;case 2:lm(e.items,t);break;case 6:xd(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Z3(e,t={}){const n=J3(e);n.helper("normalize"),e.body&&xd(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Q3(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:i}=t,o={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:i,indentLevel:0},l=()=>o;function c(b,v){o.code+=b}function d(b,v=!0){const m=v?a:"";c(i?m+" ".repeat(b):m)}function u(b=!0){const v=++o.indentLevel;b&&d(v)}function f(b=!0){const v=--o.indentLevel;b&&d(v)}function p(){d(o.indentLevel)}return{context:l,push:c,indent:u,deindent:f,newline:p,helper:b=>`_${b}`,needIndent:()=>o.needIndent}}function e4(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ai(e,t.key),t.modifier?(e.push(", "),ai(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function t4(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let i=0;i<a&&(ai(e,t.items[i]),i!==a-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function n4(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let i=0;i<a&&(ai(e,t.cases[i]),i!==a-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function r4(e,t){t.body?ai(e,t.body):e.push("null")}function ai(e,t){const{helper:n}=e;switch(t.type){case 0:r4(e,t);break;case 1:n4(e,t);break;case 2:t4(e,t);break;case 6:e4(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw new Error(`unhandled codegen node type: ${t.type}`)}}const a4=(e,t={})=>{const n=Y(t.mode)?t.mode:"normal",r=Y(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
13
+ `,o=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],c=Q3(e,{mode:n,filename:r,sourceMap:a,breakLineCode:i,needIndent:o});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(o),l.length>0&&(c.push(`const { ${l.map(f=>`${f}: _${f}`).join(", ")} } = ctx`),c.newline()),c.push("return "),ai(c,e),c.deindent(o),c.push("}");const{code:d,map:u}=c.context();return{ast:e,code:d,map:u?u.toJSON():void 0}};function i4(e,t={}){const n=xt({},t),a=K3(n).parse(e);return Z3(a,n),a4(a,n)}/*!
14
+ * devtools-if v9.2.2
15
+ * (c) 2022 kazuya kawaguchi
16
+ * Released under the MIT License.
17
+ */const cm={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
18
+ * core-base v9.2.2
19
+ * (c) 2022 kazuya kawaguchi
20
+ * Released under the MIT License.
21
+ */const Pr=[];Pr[0]={w:[0],i:[3,0],["["]:[4],o:[7]},Pr[1]={w:[1],["."]:[2],["["]:[4],o:[7]},Pr[2]={w:[2],i:[3,0],[0]:[3,0]},Pr[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},Pr[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},Pr[5]={["'"]:[4,0],o:8,l:[5,0]},Pr[6]={['"']:[4,0],o:8,l:[6,0]};const o4=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function s4(e){return o4.test(e)}function l4(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function c4(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function d4(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:s4(t)?l4(t):"*"+t}function u4(e){const t=[];let n=-1,r=0,a=0,i,o,l,c,d,u,f;const p=[];p[0]=()=>{o===void 0?o=l:o+=l},p[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},p[2]=()=>{p[0](),a++},p[3]=()=>{if(a>0)a--,r=4,p[0]();else{if(a=0,o===void 0||(o=d4(o),o===!1))return!1;p[1]()}};function h(){const g=e[n+1];if(r===5&&g==="'"||r===6&&g==='"')return n++,l="\\"+g,p[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&h())){if(c=c4(i),f=Pr[r],d=f[c]||f.l||8,d===8||(r=d[0],d[1]!==void 0&&(u=p[d[1]],u&&(l=i,u()===!1))))return;if(r===7)return t}}const dm=new Map;function f4(e,t){return Ve(e)?e[t]:null}function p4(e,t){if(!Ve(e))return null;let n=dm.get(t);if(n||(n=u4(t),n&&dm.set(t,n)),!n)return null;const r=n.length;let a=e,i=0;for(;i<r;){const o=a[n[i]];if(o===void 0)return null;a=o,i++}return a}const h4=e=>e,m4=e=>"",g4="text",b4=e=>e.length===0?"":e.join(""),y4=B3;function um(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function _4(e){const t=bt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(bt(e.named.count)||bt(e.named.n))?bt(e.named.count)?e.named.count:bt(e.named.n)?e.named.n:t:t}function v4(e,t){t.count||(t.count=e),t.n||(t.n=e)}function w4(e={}){const t=e.locale,n=_4(e),r=Ve(e.pluralRules)&&Y(t)&&ct(e.pluralRules[t])?e.pluralRules[t]:um,a=Ve(e.pluralRules)&&Y(t)&&ct(e.pluralRules[t])?um:void 0,i=m=>m[r(n,m.length,a)],o=e.list||[],l=m=>o[m],c=e.named||{};bt(e.pluralIndex)&&v4(n,c);const d=m=>c[m];function u(m){const y=ct(e.messages)?e.messages(m):Ve(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):m4)}const f=m=>e.modifiers?e.modifiers[m]:h4,p=he(e.processor)&&ct(e.processor.normalize)?e.processor.normalize:b4,h=he(e.processor)&&ct(e.processor.interpolate)?e.processor.interpolate:y4,g=he(e.processor)&&Y(e.processor.type)?e.processor.type:g4,v={list:l,named:d,plural:i,linked:(m,...y)=>{const[w,_]=y;let k="text",x="";y.length===1?Ve(w)?(x=w.modifier||x,k=w.type||k):Y(w)&&(x=w||x):y.length===2&&(Y(w)&&(x=w||x),Y(_)&&(k=_||k));let C=u(m)(v);return k==="vnode"&&ze(C)&&x&&(C=C[0]),x?f(x)(C,k):C},message:u,type:g,interpolate:h,normalize:p};return v}let eo=null;function k4(e){eo=e}function x4(e,t,n){eo&&eo.emit(cm.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const S4=C4(cm.FunctionTranslate);function C4(e){return t=>eo&&eo.emit(e,t)}const Qt={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7},E4={[Qt.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Qt.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Qt.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Qt.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Qt.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Qt.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function ii(e,...t){return Ys(E4[e],...t)}function A4(e,t,n){return[...new Set([n,...ze(t)?t:Ve(t)?Object.keys(t):Y(t)?[t]:[n]])]}function fm(e,t,n){const r=Y(n)?n:to,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let i=a.__localeChainCache.get(r);if(!i){i=[];let o=[n];for(;ze(o);)o=pm(i,o,t);const l=ze(t)||!he(t)?t:t.default?t.default:null;o=Y(l)?[l]:l,ze(o)&&pm(i,o,!1),a.__localeChainCache.set(r,i)}return i}function pm(e,t,n){let r=!0;for(let a=0;a<t.length&&ke(r);a++){const i=t[a];Y(i)&&(r=T4(e,t[a],n))}return r}function T4(e,t,n){let r;const a=t.split("-");do{const i=a.join("-");r=O4(e,i,n),a.splice(-1,1)}while(a.length&&r===!0);return r}function O4(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(ze(n)||he(n))&&n[a]&&(r=n[a])}return r}const M4="9.2.2",Xs=-1,to="en-US",Ks="",hm=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function N4(){return{upper:(e,t)=>t==="text"&&Y(e)?e.toUpperCase():t==="vnode"&&Ve(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Y(e)?e.toLowerCase():t==="vnode"&&Ve(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Y(e)?hm(e):t==="vnode"&&Ve(e)&&"__v_isVNode"in e?hm(e.children):e}}let mm;function D4(e){mm=e}let gm;function P4(e){gm=e}let bm;function I4(e){bm=e}let ym=null;const _m=e=>{ym=e},L4=()=>ym;let vm=null;const wm=e=>{vm=e},B4=()=>vm;let km=0;function R4(e={}){const t=Y(e.version)?e.version:M4,n=Y(e.locale)?e.locale:to,r=ze(e.fallbackLocale)||he(e.fallbackLocale)||Y(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,a=he(e.messages)?e.messages:{[n]:{}},i=he(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},o=he(e.numberFormats)?e.numberFormats:{[n]:{}},l=xt({},e.modifiers||{},N4()),c=e.pluralRules||{},d=ct(e.missing)?e.missing:null,u=ke(e.missingWarn)||Nr(e.missingWarn)?e.missingWarn:!0,f=ke(e.fallbackWarn)||Nr(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,h=!!e.unresolving,g=ct(e.postTranslation)?e.postTranslation:null,b=he(e.processor)?e.processor:null,v=ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,y=ct(e.messageCompiler)?e.messageCompiler:mm,w=ct(e.messageResolver)?e.messageResolver:gm||f4,_=ct(e.localeFallbacker)?e.localeFallbacker:bm||A4,k=Ve(e.fallbackContext)?e.fallbackContext:void 0,x=ct(e.onWarn)?e.onWarn:Ft,C=e,E=Ve(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,T=Ve(C.__numberFormatters)?C.__numberFormatters:new Map,B=Ve(C.__meta)?C.__meta:{};km++;const D={version:t,cid:km,locale:n,fallbackLocale:r,messages:a,modifiers:l,pluralRules:c,missing:d,missingWarn:u,fallbackWarn:f,fallbackFormat:p,unresolving:h,postTranslation:g,processor:b,warnHtmlMessage:v,escapeParameter:m,messageCompiler:y,messageResolver:w,localeFallbacker:_,fallbackContext:k,onWarn:x,__meta:B};return D.datetimeFormats=i,D.numberFormats=o,D.__datetimeFormatters=E,D.__numberFormatters=T,process.env.NODE_ENV!=="production"&&(D.__v_emitter=C.__v_emitter!=null?C.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&x4(D,t,B),D}function Js(e,t){return e instanceof RegExp?e.test(t):e}function xm(e,t){return e instanceof RegExp?e.test(t):e}function Sd(e,t,n,r,a){const{missing:i,onWarn:o}=e;if(process.env.NODE_ENV!=="production"){const l=e.__v_emitter;l&&l.emit("missing",{locale:n,key:t,type:a,groupId:`${a}:${t}`})}if(i!==null){const l=i(e,n,t,a);return Y(l)?l:t}else return process.env.NODE_ENV!=="production"&&xm(r,t)&&o(ii(Qt.NOT_FOUND_KEY,{key:t,locale:n})),t}function no(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const V4=/<\/?[\w\s="/.':;#-\/]+>/,$4="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function F4(e,t){(ke(t.warnHtmlMessage)?t.warnHtmlMessage:!0)&&V4.test(e)&&Ft(Ys($4,{source:e}))}const z4=e=>e;let Sm=Object.create(null);function j4(e,t={}){{process.env.NODE_ENV!=="production"&&F4(e,t);const r=(t.onCacheKey||z4)(e),a=Sm[r];if(a)return a;let i=!1;const o=t.onError||$3;t.onError=d=>{i=!0,o(d)};const{code:l}=i4(e,t),c=new Function(`return ${l}`)();return i?c:Sm[r]=c}}let Cm=fe.__EXTEND_POINT__;const Cd=()=>++Cm,ar={INVALID_ARGUMENT:Cm,INVALID_DATE_ARGUMENT:Cd(),INVALID_ISO_DATE_ARGUMENT:Cd(),__EXTEND_POINT__:Cd()};function oi(e){return Gs(e,null,process.env.NODE_ENV!=="production"?{messages:H4}:void 0)}const H4={[ar.INVALID_ARGUMENT]:"Invalid arguments",[ar.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ar.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string"},Em=()=>"",$n=e=>ct(e);function Am(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:i,fallbackLocale:o,messages:l}=e,[c,d]=Ed(...t),u=ke(d.missingWarn)?d.missingWarn:e.missingWarn,f=ke(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,p=ke(d.escapeParameter)?d.escapeParameter:e.escapeParameter,h=!!d.resolvedMessage,g=Y(d.default)||ke(d.default)?ke(d.default)?i?c:()=>c:d.default:n?i?c:()=>c:"",b=n||g!=="",v=Y(d.locale)?d.locale:e.locale;p&&W4(d);let[m,y,w]=h?[c,v,l[v]||{}]:Tm(e,c,v,o,f,u),_=m,k=c;if(!h&&!(Y(_)||$n(_))&&b&&(_=g,k=_),!h&&(!(Y(_)||$n(_))||!Y(y)))return a?Xs:c;if(process.env.NODE_ENV!=="production"&&Y(_)&&e.messageCompiler==null)return Ft(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let x=!1;const C=()=>{x=!0},E=$n(_)?_:Om(e,c,y,_,k,C);if(x)return _;const T=q4(e,y,w,d),B=w4(T),D=U4(e,E,B),M=r?r(D,c):D;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const R={timestamp:Date.now(),key:Y(c)?c:$n(_)?_.key:"",locale:y||($n(_)?_.locale:""),format:Y(_)?_:$n(_)?_.source:"",message:M};R.meta=xt({},e.__meta,L4()||{}),S4(R)}return M}function W4(e){ze(e.list)?e.list=e.list.map(t=>Y(t)?am(t):t):Ve(e.named)&&Object.keys(e.named).forEach(t=>{Y(e.named[t])&&(e.named[t]=am(e.named[t]))})}function Tm(e,t,n,r,a,i){const{messages:o,onWarn:l,messageResolver:c,localeFallbacker:d}=e,u=d(e,r,n);let f={},p,h=null,g=n,b=null;const v="translate";for(let m=0;m<u.length;m++){if(p=b=u[m],process.env.NODE_ENV!=="production"&&n!==p&&Js(a,t)&&l(ii(Qt.FALLBACK_TO_TRANSLATE,{key:t,target:p})),process.env.NODE_ENV!=="production"&&n!==p){const x=e.__v_emitter;x&&x.emit("fallback",{type:v,key:t,from:g,to:b,groupId:`${v}:${t}`})}f=o[p]||{};let y=null,w,_;if(process.env.NODE_ENV!=="production"&&Bn&&(y=window.performance.now(),w="intlify-message-resolve-start",_="intlify-message-resolve-end",Zt&&Zt(w)),(h=c(f,t))===null&&(h=f[t]),process.env.NODE_ENV!=="production"&&Bn){const x=window.performance.now(),C=e.__v_emitter;C&&y&&h&&C.emit("message-resolve",{type:"message-resolve",key:t,message:h,time:x-y,groupId:`${v}:${t}`}),w&&_&&Zt&&ba&&(Zt(_),ba("intlify message resolve",w,_))}if(Y(h)||ct(h))break;const k=Sd(e,t,p,i,v);k!==t&&(h=k),g=b}return[h,p,f]}function Om(e,t,n,r,a,i){const{messageCompiler:o,warnHtmlMessage:l}=e;if($n(r)){const p=r;return p.locale=p.locale||n,p.key=p.key||t,p}if(o==null){const p=()=>r;return p.locale=n,p.key=t,p}let c=null,d,u;process.env.NODE_ENV!=="production"&&Bn&&(c=window.performance.now(),d="intlify-message-compilation-start",u="intlify-message-compilation-end",Zt&&Zt(d));const f=o(r,Y4(e,n,a,r,l,i));if(process.env.NODE_ENV!=="production"&&Bn){const p=window.performance.now(),h=e.__v_emitter;h&&c&&h.emit("message-compilation",{type:"message-compilation",message:r,time:p-c,groupId:`translate:${t}`}),d&&u&&Zt&&ba&&(Zt(u),ba("intlify message compilation",d,u))}return f.locale=n,f.key=t,f.source=r,f}function U4(e,t,n){let r=null,a,i;process.env.NODE_ENV!=="production"&&Bn&&(r=window.performance.now(),a="intlify-message-evaluation-start",i="intlify-message-evaluation-end",Zt&&Zt(a));const o=t(n);if(process.env.NODE_ENV!=="production"&&Bn){const l=window.performance.now(),c=e.__v_emitter;c&&r&&c.emit("message-evaluation",{type:"message-evaluation",value:o,time:l-r,groupId:`translate:${t.key}`}),a&&i&&Zt&&ba&&(Zt(i),ba("intlify message evaluation",a,i))}return o}function Ed(...e){const[t,n,r]=e,a={};if(!Y(t)&&!bt(t)&&!$n(t))throw oi(ar.INVALID_ARGUMENT);const i=bt(t)?String(t):($n(t),t);return bt(n)?a.plural=n:Y(n)?a.default=n:he(n)&&!qs(n)?a.named=n:ze(n)&&(a.list=n),bt(r)?a.plural=r:Y(r)?a.default=r:he(r)&&xt(a,r),[i,a]}function Y4(e,t,n,r,a,i){return{warnHtmlMessage:a,onError:o=>{if(i&&i(o),process.env.NODE_ENV!=="production"){const l=`Message compilation error: ${o.message}`,c=o.location&&R3(r,o.location.start.offset,o.location.end.offset),d=e.__v_emitter;d&&d.emit("compile-error",{message:r,error:o.message,start:o.location&&o.location.start.offset,end:o.location&&o.location.end.offset,groupId:`translate:${n}`}),console.error(c?`${l}
22
+ ${c}`:l)}else throw o},onCacheKey:o=>D3(t,n,o)}}function q4(e,t,n,r){const{modifiers:a,pluralRules:i,messageResolver:o,fallbackLocale:l,fallbackWarn:c,missingWarn:d,fallbackContext:u}=e,p={locale:t,modifiers:a,pluralRules:i,messages:h=>{let g=o(n,h);if(g==null&&u){const[,,b]=Tm(u,h,t,l,c,d);g=o(b,h)}if(Y(g)){let b=!1;const m=Om(e,h,t,g,h,()=>{b=!0});return b?Em:m}else return $n(g)?g:Em}};return e.processor&&(p.processor=e.processor),r.list&&(p.list=r.list),r.named&&(p.named=r.named),bt(r.plural)&&(p.pluralIndex=r.plural),p}const Mm=typeof Intl<"u",Nm={dateTimeFormat:Mm&&typeof Intl.DateTimeFormat<"u",numberFormat:Mm&&typeof Intl.NumberFormat<"u"};function Dm(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:i,localeFallbacker:o}=e,{__datetimeFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!Nm.dateTimeFormat)return i(ii(Qt.CANNOT_FORMAT_DATE)),Ks;const[c,d,u,f]=Ad(...t),p=ke(u.missingWarn)?u.missingWarn:e.missingWarn,h=ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=!!u.part,b=Y(u.locale)?u.locale:e.locale,v=o(e,a,b);if(!Y(c)||c==="")return new Intl.DateTimeFormat(b,f).format(d);let m={},y,w=null,_=b,k=null;const x="datetime format";for(let T=0;T<v.length;T++){if(y=k=v[T],process.env.NODE_ENV!=="production"&&b!==y&&Js(h,c)&&i(ii(Qt.FALLBACK_TO_DATE_FORMAT,{key:c,target:y})),process.env.NODE_ENV!=="production"&&b!==y){const B=e.__v_emitter;B&&B.emit("fallback",{type:x,key:c,from:_,to:k,groupId:`${x}:${c}`})}if(m=n[y]||{},w=m[c],he(w))break;Sd(e,c,y,p,x),_=k}if(!he(w)||!Y(y))return r?Xs:c;let C=`${y}__${c}`;qs(f)||(C=`${C}__${JSON.stringify(f)}`);let E=l.get(C);return E||(E=new Intl.DateTimeFormat(y,xt({},w,f)),l.set(C,E)),g?E.formatToParts(d):E.format(d)}const Pm=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ad(...e){const[t,n,r,a]=e,i={};let o={},l;if(Y(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw oi(ar.INVALID_ISO_DATE_ARGUMENT);const d=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();l=new Date(d);try{l.toISOString()}catch{throw oi(ar.INVALID_ISO_DATE_ARGUMENT)}}else if(I3(t)){if(isNaN(t.getTime()))throw oi(ar.INVALID_DATE_ARGUMENT);l=t}else if(bt(t))l=t;else throw oi(ar.INVALID_ARGUMENT);return Y(n)?i.key=n:he(n)&&Object.keys(n).forEach(c=>{Pm.includes(c)?o[c]=n[c]:i[c]=n[c]}),Y(r)?i.locale=r:he(r)&&(o=r),he(a)&&(o=a),[i.key||"",l,i,o]}function Im(e,t,n){const r=e;for(const a in n){const i=`${t}__${a}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function Lm(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:i,localeFallbacker:o}=e,{__numberFormatters:l}=e;if(process.env.NODE_ENV!=="production"&&!Nm.numberFormat)return i(ii(Qt.CANNOT_FORMAT_NUMBER)),Ks;const[c,d,u,f]=Td(...t),p=ke(u.missingWarn)?u.missingWarn:e.missingWarn,h=ke(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=!!u.part,b=Y(u.locale)?u.locale:e.locale,v=o(e,a,b);if(!Y(c)||c==="")return new Intl.NumberFormat(b,f).format(d);let m={},y,w=null,_=b,k=null;const x="number format";for(let T=0;T<v.length;T++){if(y=k=v[T],process.env.NODE_ENV!=="production"&&b!==y&&Js(h,c)&&i(ii(Qt.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:y})),process.env.NODE_ENV!=="production"&&b!==y){const B=e.__v_emitter;B&&B.emit("fallback",{type:x,key:c,from:_,to:k,groupId:`${x}:${c}`})}if(m=n[y]||{},w=m[c],he(w))break;Sd(e,c,y,p,x),_=k}if(!he(w)||!Y(y))return r?Xs:c;let C=`${y}__${c}`;qs(f)||(C=`${C}__${JSON.stringify(f)}`);let E=l.get(C);return E||(E=new Intl.NumberFormat(y,xt({},w,f)),l.set(C,E)),g?E.formatToParts(d):E.format(d)}const Bm=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Td(...e){const[t,n,r,a]=e,i={};let o={};if(!bt(t))throw oi(ar.INVALID_ARGUMENT);const l=t;return Y(n)?i.key=n:he(n)&&Object.keys(n).forEach(c=>{Bm.includes(c)?o[c]=n[c]:i[c]=n[c]}),Y(r)?i.locale=r:he(r)&&(o=r),he(a)&&(o=a),[i.key||"",l,i,o]}function Rm(e,t,n){const r=e;for(const a in n){const i=`${t}__${a}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qi().__INTLIFY_PROD_DEVTOOLS__=!1);function G4(){return Vm().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Vm(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const X4=typeof Proxy=="function",K4="devtools-plugin:setup",J4="plugin:settings:set";let si,Od;function Z4(){var e;return si!==void 0||(typeof window<"u"&&window.performance?(si=!0,Od=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(si=!0,Od=global.perf_hooks.performance):si=!1),si}function Q4(){return Z4()?Od.now():Date.now()}class e5{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const o in t.settings){const l=t.settings[o];r[o]=l.defaultValue}const a=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},r);try{const o=localStorage.getItem(a),l=JSON.parse(o);Object.assign(i,l)}catch{}this.fallbacks={getSettings(){return i},setSettings(o){try{localStorage.setItem(a,JSON.stringify(o))}catch{}i=o},now(){return Q4()}},n&&n.on(J4,(o,l)=>{o===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(o,l)=>this.target?this.target.on[l]:(...c)=>{this.onQueue.push({method:l,args:c})}}),this.proxiedTarget=new Proxy({},{get:(o,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...c)=>(this.targetQueue.push({method:l,args:c,resolve:()=>{}}),this.fallbacks[l](...c)):(...c)=>new Promise(d=>{this.targetQueue.push({method:l,args:c,resolve:d})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function t5(e,t){const n=e,r=Vm(),a=G4(),i=X4&&n.enableEarlyProxy;if(a&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))a.emit(K4,e,t);else{const o=i?new e5(n,a):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:o}),o&&t(o.proxiedTarget)}}/*!
23
+ * vue-devtools v9.2.2
24
+ * (c) 2022 kazuya kawaguchi
25
+ * Released under the MIT License.
26
+ */const Md={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},n5={["vue-i18n-resource-inspector"]:"Search for scopes ..."},r5={["vue-i18n-timeline"]:16764185};/*!
27
+ * vue-i18n v9.2.2
28
+ * (c) 2022 kazuya kawaguchi
29
+ * Released under the MIT License.
30
+ */const a5="9.2.2";function i5(){let e=!1;typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(e=!0,Qi().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(e=!0,Qi().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qi().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&e&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let $m=Qt.__EXTEND_POINT__;const li=()=>++$m,St={FALLBACK_TO_ROOT:$m,NOT_SUPPORTED_PRESERVE:li(),NOT_SUPPORTED_FORMATTER:li(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:li(),NOT_SUPPORTED_GET_CHOICE_INDEX:li(),COMPONENT_NAME_LEGACY_COMPATIBLE:li(),NOT_FOUND_PARENT_SCOPE:li()},o5={[St.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[St.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[St.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[St.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[St.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[St.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[St.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function Sn(e,...t){return Ys(o5[e],...t)}let Fm=fe.__EXTEND_POINT__;const zt=()=>++Fm,Ce={UNEXPECTED_RETURN_TYPE:Fm,INVALID_ARGUMENT:zt(),MUST_BE_CALL_SETUP_TOP:zt(),NOT_INSLALLED:zt(),NOT_AVAILABLE_IN_LEGACY_MODE:zt(),REQUIRED_VALUE:zt(),INVALID_VALUE:zt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:zt(),NOT_INSLALLED_WITH_PROVIDE:zt(),UNEXPECTED_ERROR:zt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:zt(),BRIDGE_SUPPORT_VUE_2_ONLY:zt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:zt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:zt(),__EXTEND_POINT__:zt()};function mt(e,...t){return Gs(e,null,process.env.NODE_ENV!=="production"?{messages:s5,args:t}:void 0)}const s5={[Ce.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Ce.INVALID_ARGUMENT]:"Invalid argument",[Ce.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Ce.NOT_INSLALLED]:"Need to install with `app.use` function",[Ce.UNEXPECTED_ERROR]:"Unexpected error",[Ce.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Ce.REQUIRED_VALUE]:"Required in value: {0}",[Ce.INVALID_VALUE]:"Invalid value",[Ce.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Ce.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Ce.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Ce.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Ce.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Ce.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Nd=Rn("__transrateVNode"),Dd=Rn("__datetimeParts"),Pd=Rn("__numberParts"),ya=Rn("__enableEmitter"),ro=Rn("__disableEmitter"),zm=Rn("__setPluralRules");Rn("__intlifyMeta");const jm=Rn("__injectWithOption");function Id(e){if(!Ve(e))return e;for(const t in e)if(_d(e,t))if(!t.includes("."))Ve(e[t])&&Id(e[t]);else{const n=t.split("."),r=n.length-1;let a=e;for(let i=0;i<r;i++)n[i]in a||(a[n[i]]={}),a=a[n[i]];a[n[r]]=e[t],delete e[t],Ve(a[n[r]])&&Id(a[n[r]])}return e}function Zs(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:i}=t,o=he(n)?n:ze(r)?{}:{[e]:{}};if(ze(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:c,resource:d}=l;c?(o[c]=o[c]||{},ao(d,o[c])):ao(d,o)}else Y(l)&&ao(JSON.parse(l),o)}),a==null&&i)for(const l in o)_d(o,l)&&Id(o[l]);return o}const Qs=e=>!Ve(e)||ze(e);function ao(e,t){if(Qs(e)||Qs(t))throw mt(Ce.INVALID_VALUE);for(const n in e)_d(e,n)&&(Qs(e[n])||Qs(t[n])?t[n]=e[n]:ao(e[n],t[n]))}function Hm(e){return e.type}function Wm(e,t,n){let r=Ve(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Zs(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Ve(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Ve(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Um(e){return s.createVNode(s.Text,null,e,0)}const Ym="__INTLIFY_META__";let qm=0;function Gm(e){return(t,n,r,a)=>e(n,r,s.getCurrentInstance()||void 0,a)}const l5=()=>{const e=s.getCurrentInstance();let t=null;return e&&(t=Hm(e)[Ym])?{[Ym]:t}:null};function Ld(e={},t){const{__root:n}=e,r=n===void 0;let a=ke(e.inheritLocale)?e.inheritLocale:!0;const i=s.ref(n&&a?n.locale.value:Y(e.locale)?e.locale:to),o=s.ref(n&&a?n.fallbackLocale.value:Y(e.fallbackLocale)||ze(e.fallbackLocale)||he(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),l=s.ref(Zs(i.value,e)),c=s.ref(he(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),d=s.ref(he(e.numberFormats)?e.numberFormats:{[i.value]:{}});let u=n?n.missingWarn:ke(e.missingWarn)||Nr(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:ke(e.fallbackWarn)||Nr(e.fallbackWarn)?e.fallbackWarn:!0,p=n?n.fallbackRoot:ke(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,g=ct(e.missing)?e.missing:null,b=ct(e.missing)?Gm(e.missing):null,v=ct(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const w=n?n.modifiers:he(e.modifiers)?e.modifiers:{};let _=e.pluralRules||n&&n.pluralRules,k;k=(()=>{r&&wm(null);const L={version:a5,locale:i.value,fallbackLocale:o.value,messages:l.value,modifiers:w,pluralRules:_,missing:b===null?void 0:b,missingWarn:u,fallbackWarn:f,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:m,escapeParameter:y,messageResolver:e.messageResolver,__meta:{framework:"vue"}};L.datetimeFormats=c.value,L.numberFormats=d.value,L.__datetimeFormatters=he(k)?k.__datetimeFormatters:void 0,L.__numberFormatters=he(k)?k.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(L.__v_emitter=he(k)?k.__v_emitter:void 0);const F=R4(L);return r&&wm(F),F})(),no(k,i.value,o.value);function C(){return[i.value,o.value,l.value,c.value,d.value]}const E=s.computed({get:()=>i.value,set:L=>{i.value=L,k.locale=i.value}}),T=s.computed({get:()=>o.value,set:L=>{o.value=L,k.fallbackLocale=o.value,no(k,i.value,L)}}),B=s.computed(()=>l.value),D=s.computed(()=>c.value),M=s.computed(()=>d.value);function R(){return ct(v)?v:null}function re(L){v=L,k.postTranslation=L}function J(){return g}function Q(L){L!==null&&(b=Gm(L)),g=L,k.missing=b}function K(L,F){return L!=="translate"||!F.resolvedMessage}const de=(L,F,Qe,et,tr,kn)=>{C();let xn;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{_m(l5()),r||(k.fallbackContext=n?B4():void 0),xn=L(k)}finally{_m(null),r||(k.fallbackContext=void 0)}else xn=L(k);if(bt(xn)&&xn===Xs){const[Ln,js]=F();if(process.env.NODE_ENV!=="production"&&n&&Y(Ln)&&K(Qe,js)&&(p&&(Js(f,Ln)||xm(u,Ln))&&Ft(Sn(St.FALLBACK_TO_ROOT,{key:Ln,type:Qe})),process.env.NODE_ENV!=="production")){const{__v_emitter:Zi}=k;Zi&&p&&Zi.emit("fallback",{type:Qe,key:Ln,to:"global",groupId:`${Qe}:${Ln}`})}return n&&p?et(n):tr(Ln)}else{if(kn(xn))return xn;throw mt(Ce.UNEXPECTED_RETURN_TYPE)}};function q(...L){return de(F=>Reflect.apply(Am,null,[F,...L]),()=>Ed(...L),"translate",F=>Reflect.apply(F.t,F,[...L]),F=>F,F=>Y(F))}function se(...L){const[F,Qe,et]=L;if(et&&!Ve(et))throw mt(Ce.INVALID_ARGUMENT);return q(F,Qe,xt({resolvedMessage:!0},et||{}))}function pe(...L){return de(F=>Reflect.apply(Dm,null,[F,...L]),()=>Ad(...L),"datetime format",F=>Reflect.apply(F.d,F,[...L]),()=>Ks,F=>Y(F))}function Oe(...L){return de(F=>Reflect.apply(Lm,null,[F,...L]),()=>Td(...L),"number format",F=>Reflect.apply(F.n,F,[...L]),()=>Ks,F=>Y(F))}function He(L){return L.map(F=>Y(F)||bt(F)||ke(F)?Um(String(F)):F)}const oe={normalize:He,interpolate:L=>L,type:"vnode"};function $(...L){return de(F=>{let Qe;const et=F;try{et.processor=oe,Qe=Reflect.apply(Am,null,[et,...L])}finally{et.processor=null}return Qe},()=>Ed(...L),"translate",F=>F[Nd](...L),F=>[Um(F)],F=>ze(F))}function te(...L){return de(F=>Reflect.apply(Lm,null,[F,...L]),()=>Td(...L),"number format",F=>F[Pd](...L),()=>[],F=>Y(F)||ze(F))}function Le(...L){return de(F=>Reflect.apply(Dm,null,[F,...L]),()=>Ad(...L),"datetime format",F=>F[Dd](...L),()=>[],F=>Y(F)||ze(F))}function st(L){_=L,k.pluralRules=_}function wt(L,F){const Qe=Y(F)?F:i.value,et=A(Qe);return k.messageResolver(et,L)!==null}function pt(L){let F=null;const Qe=fm(k,o.value,i.value);for(let et=0;et<Qe.length;et++){const tr=l.value[Qe[et]]||{},kn=k.messageResolver(tr,L);if(kn!=null){F=kn;break}}return F}function wn(L){const F=pt(L);return F??(n?n.tm(L)||{}:{})}function A(L){return l.value[L]||{}}function S(L,F){l.value[L]=F,k.messages=l.value}function P(L,F){l.value[L]=l.value[L]||{},ao(F,l.value[L]),k.messages=l.value}function W(L){return c.value[L]||{}}function ne(L,F){c.value[L]=F,k.datetimeFormats=c.value,Im(k,L,F)}function ue(L,F){c.value[L]=xt(c.value[L]||{},F),k.datetimeFormats=c.value,Im(k,L,F)}function kt(L){return d.value[L]||{}}function lt(L,F){d.value[L]=F,k.numberFormats=d.value,Rm(k,L,F)}function pn(L,F){d.value[L]=xt(d.value[L]||{},F),k.numberFormats=d.value,Rm(k,L,F)}qm++,n&&Bn&&(s.watch(n.locale,L=>{a&&(i.value=L,k.locale=L,no(k,i.value,o.value))}),s.watch(n.fallbackLocale,L=>{a&&(o.value=L,k.fallbackLocale=L,no(k,i.value,o.value))}));const Fe={id:qm,locale:E,fallbackLocale:T,get inheritLocale(){return a},set inheritLocale(L){a=L,L&&n&&(i.value=n.locale.value,o.value=n.fallbackLocale.value,no(k,i.value,o.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:B,get modifiers(){return w},get pluralRules(){return _||{}},get isGlobal(){return r},get missingWarn(){return u},set missingWarn(L){u=L,k.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(L){f=L,k.fallbackWarn=f},get fallbackRoot(){return p},set fallbackRoot(L){p=L},get fallbackFormat(){return h},set fallbackFormat(L){h=L,k.fallbackFormat=h},get warnHtmlMessage(){return m},set warnHtmlMessage(L){m=L,k.warnHtmlMessage=L},get escapeParameter(){return y},set escapeParameter(L){y=L,k.escapeParameter=L},t:q,getLocaleMessage:A,setLocaleMessage:S,mergeLocaleMessage:P,getPostTranslationHandler:R,setPostTranslationHandler:re,getMissingHandler:J,setMissingHandler:Q,[zm]:st};return Fe.datetimeFormats=D,Fe.numberFormats=M,Fe.rt=se,Fe.te=wt,Fe.tm=wn,Fe.d=pe,Fe.n=Oe,Fe.getDateTimeFormat=W,Fe.setDateTimeFormat=ne,Fe.mergeDateTimeFormat=ue,Fe.getNumberFormat=kt,Fe.setNumberFormat=lt,Fe.mergeNumberFormat=pn,Fe[jm]=e.__injectWithOption,Fe[Nd]=$,Fe[Dd]=Le,Fe[Pd]=te,process.env.NODE_ENV!=="production"&&(Fe[ya]=L=>{k.__v_emitter=L},Fe[ro]=()=>{k.__v_emitter=void 0}),Fe}function c5(e){const t=Y(e.locale)?e.locale:to,n=Y(e.fallbackLocale)||ze(e.fallbackLocale)||he(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=ct(e.missing)?e.missing:void 0,a=ke(e.silentTranslationWarn)||Nr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=ke(e.silentFallbackWarn)||Nr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=ke(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,c=he(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,u=ct(e.postTranslation)?e.postTranslation:void 0,f=Y(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,p=!!e.escapeParameterHtml,h=ke(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ft(Sn(St.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ft(Sn(St.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let g=e.messages;if(he(e.sharedMessages)){const k=e.sharedMessages;g=Object.keys(k).reduce((C,E)=>{const T=C[E]||(C[E]={});return xt(T,k[E]),C},g||{})}const{__i18n:b,__root:v,__injectWithOption:m}=e,y=e.datetimeFormats,w=e.numberFormats,_=e.flatJson;return{locale:t,fallbackLocale:n,messages:g,flatJson:_,datetimeFormats:y,numberFormats:w,missing:r,missingWarn:a,fallbackWarn:i,fallbackRoot:o,fallbackFormat:l,modifiers:c,pluralRules:d,postTranslation:u,warnHtmlMessage:f,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:h,__i18n:b,__root:v,__injectWithOption:m}}function Bd(e={},t){{const n=Ld(c5(e)),r={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ft(Sn(St.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(a){process.env.NODE_ENV!=="production"&&Ft(Sn(St.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return ke(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=ke(a)?!a:a},get silentFallbackWarn(){return ke(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=ke(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ft(Sn(St.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(a){process.env.NODE_ENV!=="production"&&Ft(Sn(St.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[i,o,l]=a,c={};let d=null,u=null;if(!Y(i))throw mt(Ce.INVALID_ARGUMENT);const f=i;return Y(o)?c.locale=o:ze(o)?d=o:he(o)&&(u=o),ze(l)?d=l:he(l)&&(u=l),Reflect.apply(n.t,n,[f,d||u||{},c])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[i,o,l]=a,c={plural:1};let d=null,u=null;if(!Y(i))throw mt(Ce.INVALID_ARGUMENT);const f=i;return Y(o)?c.locale=o:bt(o)?c.plural=o:ze(o)?d=o:he(o)&&(u=o),Y(l)?c.locale=l:ze(l)?d=l:he(l)&&(u=l),Reflect.apply(n.t,n,[f,d||u||{},c])},te(a,i){return n.te(a,i)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,i){n.setLocaleMessage(a,i)},mergeLocaleMessage(a,i){n.mergeLocaleMessage(a,i)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,i){n.setDateTimeFormat(a,i)},mergeDateTimeFormat(a,i){n.mergeDateTimeFormat(a,i)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,i){n.setNumberFormat(a,i)},mergeNumberFormat(a,i){n.mergeNumberFormat(a,i)},getChoiceIndex(a,i){return process.env.NODE_ENV!=="production"&&Ft(Sn(St.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1},__onComponentInstanceCreated(a){const{componentInstanceCreatedListener:i}=e;i&&i(a,r)}};return process.env.NODE_ENV!=="production"&&(r.__enableEmitter=a=>{const i=n;i[ya]&&i[ya](a)},r.__disableEmitter=()=>{const a=n;a[ro]&&a[ro]()}),r}}const Rd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function d5({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>r=[...r,...ze(a.children)?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},{})}function Xm(e){return s.Fragment}const Vd={name:"i18n-t",props:xt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>bt(e)||!isNaN(e)}},Rd),setup(e,t){const{slots:n,attrs:r}=t,a=e.i18n||ae({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Y(e.plural)?+e.plural:e.plural);const l=d5(t,i),c=a[Nd](e.keypath,l,o),d=xt({},r),u=Y(e.tag)||Ve(e.tag)?e.tag:Xm();return s.h(u,d,c)}}};function u5(e){return ze(e)&&!Y(e[0])}function Km(e,t,n,r){const{slots:a,attrs:i}=t;return()=>{const o={part:!0};let l={};e.locale&&(o.locale=e.locale),Y(e.format)?o.key=e.format:Ve(e.format)&&(Y(e.format.key)&&(o.key=e.format.key),l=Object.keys(e.format).reduce((p,h)=>n.includes(h)?xt({},p,{[h]:e.format[h]}):p,{}));const c=r(e.value,o,l);let d=[o.key];ze(c)?d=c.map((p,h)=>{const g=a[p.type],b=g?g({[p.type]:p.value,index:h,parts:c}):[p.value];return u5(b)&&(b[0].key=`${p.type}-${h}`),b}):Y(c)&&(d=[c]);const u=xt({},i),f=Y(e.tag)||Ve(e.tag)?e.tag:Xm();return s.h(f,u,d)}}const Jm={name:"i18n-n",props:xt({value:{type:Number,required:!0},format:{type:[String,Object]}},Rd),setup(e,t){const n=e.i18n||ae({useScope:"parent",__useComponent:!0});return Km(e,t,Bm,(...r)=>n[Pd](...r))}},Zm={name:"i18n-d",props:xt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Rd),setup(e,t){const n=e.i18n||ae({useScope:"parent",__useComponent:!0});return Km(e,t,Pm,(...r)=>n[Dd](...r))}};function f5(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function p5(e){const t=o=>{const{instance:l,modifiers:c,value:d}=o;if(!l||!l.$)throw mt(Ce.UNEXPECTED_ERROR);const u=f5(e,l.$);process.env.NODE_ENV!=="production"&&c.preserve&&Ft(Sn(St.NOT_SUPPORTED_PRESERVE));const f=Qm(d);return[Reflect.apply(u.t,u,[...e1(f)]),u]};return{created:(o,l)=>{const[c,d]=t(l);Bn&&e.global===d&&(o.__i18nWatcher=s.watch(d.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=d,o.textContent=c},unmounted:o=>{Bn&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const c=o.__composer,d=Qm(l);o.textContent=Reflect.apply(c.t,c,[...e1(d)])}},getSSRProps:o=>{const[l]=t(o);return{textContent:l}}}}function Qm(e){if(Y(e))return{path:e};if(he(e)){if(!("path"in e))throw mt(Ce.REQUIRED_VALUE,"path");return e}else throw mt(Ce.INVALID_VALUE)}function e1(e){const{path:t,locale:n,args:r,choice:a,plural:i}=e,o={},l=r||{};return Y(n)&&(o.locale=n),bt(a)&&(o.plural=a),bt(i)&&(o.plural=i),[t,l,o]}function h5(e,t,...n){const r=he(n[0])?n[0]:{},a=!!r.useI18nComponentName,i=ke(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&i&&a&&Ft(Sn(St.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Vd.name})),i&&(e.component(a?"i18n":Vd.name,Vd),e.component(Jm.name,Jm),e.component(Zm.name,Zm)),e.directive("t",p5(t))}const t1="vue-i18n: composer properties";let $d;async function m5(e,t){return new Promise((n,r)=>{try{t5({id:"vue-devtools-plugin-vue-i18n",label:Md["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[t1],app:e},a=>{$d=a,a.on.visitComponentTree(({componentInstance:o,treeNode:l})=>{g5(o,l,t)}),a.on.inspectComponent(({componentInstance:o,instanceData:l})=>{o.vnode.el&&o.vnode.el.__VUE_I18N__&&l&&(t.mode==="legacy"?o.vnode.el.__VUE_I18N__!==t.global.__composer&&r1(l,o.vnode.el.__VUE_I18N__):r1(l,o.vnode.el.__VUE_I18N__))}),a.addInspector({id:"vue-i18n-resource-inspector",label:Md["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:n5["vue-i18n-resource-inspector"]}),a.on.getInspectorTree(o=>{o.app===e&&o.inspectorId==="vue-i18n-resource-inspector"&&w5(o,t)});const i=new Map;a.on.getInspectorState(async o=>{if(o.app===e&&o.inspectorId==="vue-i18n-resource-inspector")if(a.unhighlightElement(),x5(o,t),o.nodeId==="global"){if(!i.has(o.app)){const[l]=await a.getComponentInstances(o.app);i.set(o.app,l)}a.highlightElement(i.get(o.app))}else{const l=k5(o.nodeId,t);l&&a.highlightElement(l)}}),a.on.editInspectorState(o=>{o.app===e&&o.inspectorId==="vue-i18n-resource-inspector"&&C5(o,t)}),a.addTimelineLayer({id:"vue-i18n-timeline",label:Md["vue-i18n-timeline"],color:r5["vue-i18n-timeline"]}),n(!0)})}catch(a){console.error(a),r(!1)}})}function n1(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function g5(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const a={label:`i18n (${n1(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(a)}}function r1(e,t){const n=t1;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Fd(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Fd(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];ct(r)&&"source"in r?t[n]=v5(r):Ve(r)?t[n]=Fd(r):t[n]=r}),t}const b5={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function y5(e){return e.replace(/[<>"&]/g,_5)}function _5(e){return b5[e]||e}function v5(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${y5(e.source)}")`:"(?)"}`}}}function w5(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,a]of t.__instances){const i=t.mode==="composition"?a:a.__composer;n!==i&&e.rootNodes.push({id:i.id.toString(),label:`${n1(r)} Scope`})}}function k5(e,t){let n=null;if(e!=="global"){for(const[r,a]of t.__instances.entries())if(a.id.toString()===e){n=r;break}}return n}function a1(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function x5(e,t){const n=a1(e.nodeId,t);return n&&(e.state=S5(n)),null}function S5(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const a="Locale messages info",i=[{type:a,key:"messages",editable:!1,value:Fd(e.messages.value)}];t[a]=i;{const o="Datetime formats info",l=[{type:o,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[o]=l;const c="Datetime formats info",d=[{type:c,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[c]=d}return t}function io(e,t){if($d){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),$d.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function C5(e,t){const n=a1(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&Y(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(Y(e.state.value)||ze(e.state.value)||Ve(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&ke(e.state.value)&&(n.inheritLocale=e.state.value)}}function E5(e,t,n){return{beforeCreate(){const r=s.getCurrentInstance();if(!r)throw mt(Ce.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const i=a.i18n;a.__i18n&&(i.__i18n=a.__i18n),i.__root=t,this===this.$root?this.$i18n=i1(e,i):(i.__injectWithOption=!0,this.$i18n=Bd(i))}else a.__i18n?this===this.$root?this.$i18n=i1(e,a):this.$i18n=Bd({__i18n:a.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;a.__i18nGlobal&&Wm(t,a,a),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){this.$el.__VUE_I18N__=this.$i18n.__composer;const r=this.__v_emitter=wd(),a=this.$i18n;a.__enableEmitter&&a.__enableEmitter(r),r.on("*",io)}},unmounted(){const r=s.getCurrentInstance();if(!r)throw mt(Ce.UNEXPECTED_ERROR);if(process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",io),delete this.__v_emitter),this.$i18n)){const a=this.$i18n;a.__disableEmitter&&a.__disableEmitter(),delete this.$el.__VUE_I18N__}delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(r),delete this.$i18n}}}function i1(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[zm](t.pluralizationRules||e.pluralizationRules);const n=Zs(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const A5=Rn("global-vue-i18n");function T5(e={},t){const n=__VUE_I18N_LEGACY_API__&&ke(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=ke(e.globalInjection)?e.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[o,l]=O5(e,n),c=Rn(process.env.NODE_ENV!=="production"?"vue-i18n":"");function d(p){return i.get(p)||null}function u(p,h){i.set(p,h)}function f(p){i.delete(p)}{const p={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},async install(h,...g){process.env.NODE_ENV!=="production"&&(h.__VUE_I18N__=p),h.__VUE_I18N_SYMBOL__=c,h.provide(h.__VUE_I18N_SYMBOL__,p),!n&&r&&V5(h,p.global),__VUE_I18N_FULL_INSTALL__&&h5(h,p,...g),__VUE_I18N_LEGACY_API__&&n&&h.mixin(E5(l,l.__composer,p));const b=h.unmount;if(h.unmount=()=>{p.dispose(),b()},process.env.NODE_ENV!=="production"){if(!await m5(h,p))throw mt(Ce.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const m=wd();if(n){const y=l;y.__enableEmitter&&y.__enableEmitter(m)}else{const y=l;y[ya]&&y[ya](m)}m.on("*",io)}},get global(){return l},dispose(){o.stop()},__instances:i,__getInstance:d,__setInstance:u,__deleteInstance:f};return p}}function ae(e={}){const t=s.getCurrentInstance();if(t==null)throw mt(Ce.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw mt(Ce.NOT_INSLALLED);const n=M5(t),r=D5(n),a=Hm(t),i=N5(e,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw mt(Ce.NOT_AVAILABLE_IN_LEGACY_MODE);return L5(t,i,r,e)}if(i==="global")return Wm(r,e,a),r;if(i==="parent"){let c=P5(n,t,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Ft(Sn(St.NOT_FOUND_PARENT_SCOPE)),c=r),c}const o=n;let l=o.__getInstance(t);if(l==null){const c=xt({},e);"__i18n"in a&&(c.__i18n=a.__i18n),r&&(c.__root=r),l=Ld(c),I5(o,t,l),o.__setInstance(t,l)}return l}function O5(e,t,n){const r=s.effectScope();{const a=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Bd(e)):r.run(()=>Ld(e));if(a==null)throw mt(Ce.UNEXPECTED_ERROR);return[r,a]}}function M5(e){{const t=s.inject(e.isCE?A5:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw mt(e.isCE?Ce.NOT_INSLALLED_WITH_PROVIDE:Ce.UNEXPECTED_ERROR);return t}}function N5(e,t){return qs(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function D5(e){return e.mode==="composition"?e.global:e.global.__composer}function P5(e,t,n=!1){let r=null;const a=t.root;let i=t.parent;for(;i!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const l=o.__getInstance(i);l!=null&&(r=l.__composer,n&&r&&!r[jm]&&(r=null))}if(r!=null||a===i)break;i=i.parent}return r}function I5(e,t,n){let r=null;s.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=wd();const a=n;a[ya]&&a[ya](r),r.on("*",io)}},t),s.onUnmounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__){r&&r.off("*",io);const a=n;a[ro]&&a[ro](),delete t.vnode.el.__VUE_I18N__}e.__deleteInstance(t)},t)}function L5(e,t,n,r={}){const a=t==="local",i=s.shallowRef(null);if(a&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw mt(Ce.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=ke(r.inheritLocale)?r.inheritLocale:!0,l=s.ref(a&&o?n.locale.value:Y(r.locale)?r.locale:to),c=s.ref(a&&o?n.fallbackLocale.value:Y(r.fallbackLocale)||ze(r.fallbackLocale)||he(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),d=s.ref(Zs(l.value,r)),u=s.ref(he(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),f=s.ref(he(r.numberFormats)?r.numberFormats:{[l.value]:{}}),p=a?n.missingWarn:ke(r.missingWarn)||Nr(r.missingWarn)?r.missingWarn:!0,h=a?n.fallbackWarn:ke(r.fallbackWarn)||Nr(r.fallbackWarn)?r.fallbackWarn:!0,g=a?n.fallbackRoot:ke(r.fallbackRoot)?r.fallbackRoot:!0,b=!!r.fallbackFormat,v=ct(r.missing)?r.missing:null,m=ct(r.postTranslation)?r.postTranslation:null,y=a?n.warnHtmlMessage:ke(r.warnHtmlMessage)?r.warnHtmlMessage:!0,w=!!r.escapeParameter,_=a?n.modifiers:he(r.modifiers)?r.modifiers:{},k=r.pluralRules||a&&n.pluralRules;function x(){return[l.value,c.value,d.value,u.value,f.value]}const C=s.computed({get:()=>i.value?i.value.locale.value:l.value,set:S=>{i.value&&(i.value.locale.value=S),l.value=S}}),E=s.computed({get:()=>i.value?i.value.fallbackLocale.value:c.value,set:S=>{i.value&&(i.value.fallbackLocale.value=S),c.value=S}}),T=s.computed(()=>i.value?i.value.messages.value:d.value),B=s.computed(()=>u.value),D=s.computed(()=>f.value);function M(){return i.value?i.value.getPostTranslationHandler():m}function R(S){i.value&&i.value.setPostTranslationHandler(S)}function re(){return i.value?i.value.getMissingHandler():v}function J(S){i.value&&i.value.setMissingHandler(S)}function Q(S){return x(),S()}function K(...S){return i.value?Q(()=>Reflect.apply(i.value.t,null,[...S])):Q(()=>"")}function de(...S){return i.value?Reflect.apply(i.value.rt,null,[...S]):""}function q(...S){return i.value?Q(()=>Reflect.apply(i.value.d,null,[...S])):Q(()=>"")}function se(...S){return i.value?Q(()=>Reflect.apply(i.value.n,null,[...S])):Q(()=>"")}function pe(S){return i.value?i.value.tm(S):{}}function Oe(S,P){return i.value?i.value.te(S,P):!1}function He(S){return i.value?i.value.getLocaleMessage(S):{}}function ye(S,P){i.value&&(i.value.setLocaleMessage(S,P),d.value[S]=P)}function oe(S,P){i.value&&i.value.mergeLocaleMessage(S,P)}function $(S){return i.value?i.value.getDateTimeFormat(S):{}}function te(S,P){i.value&&(i.value.setDateTimeFormat(S,P),u.value[S]=P)}function Le(S,P){i.value&&i.value.mergeDateTimeFormat(S,P)}function st(S){return i.value?i.value.getNumberFormat(S):{}}function wt(S,P){i.value&&(i.value.setNumberFormat(S,P),f.value[S]=P)}function pt(S,P){i.value&&i.value.mergeNumberFormat(S,P)}const wn={get id(){return i.value?i.value.id:-1},locale:C,fallbackLocale:E,messages:T,datetimeFormats:B,numberFormats:D,get inheritLocale(){return i.value?i.value.inheritLocale:o},set inheritLocale(S){i.value&&(i.value.inheritLocale=S)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(d.value)},get modifiers(){return i.value?i.value.modifiers:_},get pluralRules(){return i.value?i.value.pluralRules:k},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:p},set missingWarn(S){i.value&&(i.value.missingWarn=S)},get fallbackWarn(){return i.value?i.value.fallbackWarn:h},set fallbackWarn(S){i.value&&(i.value.missingWarn=S)},get fallbackRoot(){return i.value?i.value.fallbackRoot:g},set fallbackRoot(S){i.value&&(i.value.fallbackRoot=S)},get fallbackFormat(){return i.value?i.value.fallbackFormat:b},set fallbackFormat(S){i.value&&(i.value.fallbackFormat=S)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:y},set warnHtmlMessage(S){i.value&&(i.value.warnHtmlMessage=S)},get escapeParameter(){return i.value?i.value.escapeParameter:w},set escapeParameter(S){i.value&&(i.value.escapeParameter=S)},t:K,getPostTranslationHandler:M,setPostTranslationHandler:R,getMissingHandler:re,setMissingHandler:J,rt:de,d:q,n:se,tm:pe,te:Oe,getLocaleMessage:He,setLocaleMessage:ye,mergeLocaleMessage:oe,getDateTimeFormat:$,setDateTimeFormat:te,mergeDateTimeFormat:Le,getNumberFormat:st,setNumberFormat:wt,mergeNumberFormat:pt};function A(S){S.locale.value=l.value,S.fallbackLocale.value=c.value,Object.keys(d.value).forEach(P=>{S.mergeLocaleMessage(P,d.value[P])}),Object.keys(u.value).forEach(P=>{S.mergeDateTimeFormat(P,u.value[P])}),Object.keys(f.value).forEach(P=>{S.mergeNumberFormat(P,f.value[P])}),S.escapeParameter=w,S.fallbackFormat=b,S.fallbackRoot=g,S.fallbackWarn=h,S.missingWarn=p,S.warnHtmlMessage=y}return s.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw mt(Ce.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const S=i.value=e.proxy.$i18n.__composer;t==="global"?(l.value=S.locale.value,c.value=S.fallbackLocale.value,d.value=S.messages.value,u.value=S.datetimeFormats.value,f.value=S.numberFormats.value):a&&A(S)}),wn}const B5=["locale","fallbackLocale","availableLocales"],R5=["t","rt","d","n","tm"];function V5(e,t){const n=Object.create(null);B5.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a)throw mt(Ce.UNEXPECTED_ERROR);const i=s.isRef(a.value)?{get(){return a.value.value},set(o){a.value.value=o}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,r,i)}),e.config.globalProperties.$i18n=n,R5.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a||!a.value)throw mt(Ce.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,a)})}if(D4(j4),P4(p4),I4(fm),i5(),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Qi();e.__INTLIFY__=!0,k4(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function $5(e="en"){return T5({legacy:!1,locale:e,fallbackLocale:"en",messages:{en:{cardLottery:{setBanner:"Set As Banner",setIcon:"Set As Icon",openAnother:"Open Another"},cards:{roundDrawn:"Round Drawn",roundPlayed:"Round Played",card:"Card",cards:"Cards",inclusion:"Inclusion",avgCopies:"Avg. Copies",mulliganWinrate:"Mull. Winrate",keptInMulligan:"Kept In Mull.",drawnWinrate:"Drawn Winrate",turnPlayed:"Turn Played",turnsHeld:"Turns Held",recommendedDecks:"Recommended Decks",similarCards:"Similar Cards",attack:"Attack",health:"Health",quantityOwned:"Quantity Owned"},deck:{copyDeckCode:"Copy Deck Code",deckCodeCopied:"Deck Code Copied",deleteDeck:"Delete Deck",deleteDeckConfirmation:"Are you sure you would like to delete this deck?",editDeckName:"Edit Deck Name",signInToUpload:"Please sign in to upload deck to LoR",uploadDeckToLor:"Upload Deck to Legends of Runeterra",deckUploaded:"Deck Uploaded!",updatePrivacy:"Update Deck Privacy",deckPrivate:"Currently Private",deckPublic:"Currently Public",openInDeckBuilder:"Open in Deck Builder",numManaCards:"{num} Mana Cards",simulateMulligan:"Simulate Mulligan",replaceAllCards:"Replace All Cards",replaceSelectedCards:"Replace Selected Cards",personalCost:"Personal Cost",originalCost:"Original Cost",openArchetypePage:"Open Archetype Page",shareDeck:"Share Deck"},archetype:{abbreviation:"A"},leaderboard:{totalPlayers:"Total Players",lp:"LP",rank:"Rank",updated:"Updated"},general:{manaCost:"Mana Cost",cost:"Cost",regions:"Regions",clear:"Clear",copy:"Copy",patch:"Patch",matches:"Matches",wins:"Wins",losses:"Losses",winrate:"Winrate",quantity:"Quantity",round:"Round",total:"Total",champion:"Champion",follower:"Follower",spell:"Spell",landmark:"Landmark",equipment:"Equipment",champions:"Champions",followers:"Followers",spells:"Spells",landmarks:"Landmarks",equipments:"Equipment",statistics:"Statistics",advanced:"Advanced",newAdvancedFilter:"New Advanced Filter",types:"Types",rarities:"Rarities",sets:"Sets",keywords:"Keywords",pastDays:"Past {count} Days",pastHours:"Past {count} Hours",pastHour:"Past Hour",season:"Season",servers:"Servers",sampleSize:"Sample Size",minimumMatches:"Minimum Matches",ranks:"Ranks",allRanks:"All Ranks",platPlus:"Platinum+",deck:"Deck",manaCurve:"Mana Curve",name:"Name",updated:"Updated",created:"Created",card:"Card",cards:"Cards",inclusion:"Inclusion",avgCopies:"Avg. Copies",turnsHeld:"Turns Held",mulliganWinrate:"Mulligan WR",keptInMulligan:"Kept in Mulligan",drawnWinrate:"Drawn Winrate",turnPlayed:"Turn Played",playrate:"Playrate",deckDifferences:"Deck Differences",player:"Player",lp:"LP",change:"Change",favoriteDeck:"Favorite Deck",server:"Server",players:"Players",time:"Time",type:"Type",rarity:"Rarity",archetypes:"Archetypes",leaderboard:"Leaderboard",victory:"Victory",defeat:"Defeat",newCards:"New Cards",signIn:"Log In",syncUserData:"Sync User Data",settings:"Settings",gamesPlayed:"Games Played",premium:"Premium",renews:"Renews",expires:"Expires",getPremium:"Get Premium!",becomeTheMaster:"Become The Master"}},de:{cardLottery:{setBanner:"1Set As Banner",setIcon:"1Set As Icon",openAnother:"1Open Another"},cards:{roundDrawn:"1Round Drawn",roundPlayed:"1Round Played",card:"1Card",cards:"1Cards",inclusion:"1Inclusion",avgCopies:"1Avg. Copies",mulliganWinrate:"1Mull. Winrate",keptInMulligan:"1Kept In Mull.",drawnWinrate:"1Drawn Winrate",turnPlayed:"1Turn Played",turnsHeld:"1Turns Held",recommendedDecks:"1Recommended Decks",similarCards:"1Similar Cards",attack:"1Attack",health:"1Health",quantityOwned:"1Quantity Owned"},deck:{copyDeckCode:"1Copy Deck Code",deckCodeCopied:"1Deck Code Copied",deleteDeck:"1Delete Deck",deleteDeckConfirmation:"Are you sure you would like to delete this deck?",editDeckName:"1Edit Deck Name",signInToUpload:"1Please sign in to upload deck to LoR",uploadDeckToLor:"1Upload Deck to Legends of Runeterra",deckUploaded:"1Deck Uploaded!",updatePrivacy:"1Update Deck Privacy",deckPrivate:"1Currently Private",deckPublic:"1Currently Public",openInDeckBuilder:"1Open in Deck Builder",numManaCards:"1{num} Mana Cards",simulateMulligan:"1Simulate Mulligan",replaceAllCards:"1Replace All Cards",replaceSelectedCards:"1Replace Selected Cards",personalCost:"1Personal Cost",originalCost:"1Original Cost",openArchetypePage:"1Open Archetype Page",shareDeck:"1Share Deck"},archetype:{abbreviation:"1A"},leaderboard:{totalPlayers:"1Total Players",lp:"1LP",rank:"1Rank",updated:"1Updated"},general:{manaCost:"1Mana Cost",cost:"1Cost",regions:"1Regions",clear:"1Clear",copy:"1Copy",patch:"1Patch",matches:"1Matches",wins:"1Wins",losses:"1Losses",winrate:"1Winrate",quantity:"1Quantity",round:"1Round",total:"1Total",champion:"1Champion",follower:"1Follower",spell:"1Spell",landmark:"1Landmark",equipment:"1Equipment",champions:"1Champions",followers:"1Followers",spells:"1Spells",landmarks:"1Landmarks",equipments:"1Equipment",statistics:"1Statistics",advanced:"1Advanced",newAdvancedFilter:"1New Advanced Filter",types:"1Types",rarities:"1Rarities",sets:"1Sets",keywords:"1Keywords",pastDays:"1Past {count} Days",pastHours:"1Past {count} Hours",pastHour:"1Past Hour",season:"1Season",servers:"1Servers",sampleSize:"1Sample Size",minimumMatches:"1Minimum Matches",ranks:"1Ranks",allRanks:"1All Ranks",platPlus:"1Platinum+",deck:"1Deck",manaCurve:"1Mana Curve",name:"1Name",updated:"1Updated",created:"1Created",card:"1Card",cards:"1Cards",inclusion:"1Inclusion",avgCopies:"1Avg. Copies",turnsHeld:"1Turns Held",mulliganWinrate:"1Mulligan WR",keptInMulligan:"1Kept in Mulligan",drawnWinrate:"1Drawn Winrate",turnPlayed:"1Turn Played",playrate:"1Playrate",deckDifferences:"1Deck Differences",player:"1Player",lp:"1LP",change:"1Change",favoriteDeck:"1Favorite Deck",server:"1Server",players:"1Players",time:"1Time",type:"1Type",rarity:"1Rarity",archetypes:"1Archetypes",leaderboard:"1Leaderboard",victory:"1Victory",defeat:"1Defeat",newCards:"1New Cards",signIn:"1Log In",syncUserData:"1Sync User Data",settings:"1Settings",gamesPlayed:"1Games Played",premium:"1Premium",renews:"1Renews",expires:"1Expires",getPremium:"1Get Premium!",becomeTheMaster:"1Become The Master"}}}})}function o1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?o1(Object(n),!0).forEach(function(r){yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o1(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function el(e){return el=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},el(e)}function F5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function z5(e,t,n){return t&&s1(e.prototype,t),n&&s1(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zd(e,t){return H5(e)||U5(e,t)||l1(e,t)||q5()}function oo(e){return j5(e)||W5(e)||l1(e)||Y5()}function j5(e){if(Array.isArray(e))return jd(e)}function H5(e){if(Array.isArray(e))return e}function W5(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function U5(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],a=!0,i=!1,o,l;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));a=!0);}catch(c){i=!0,l=c}finally{try{!a&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function l1(e,t){if(e){if(typeof e=="string")return jd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jd(e,t)}}function jd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Y5(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
31
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function q5(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
32
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c1=function(){},Hd={},d1={},u1=null,f1={mark:c1,measure:c1};try{typeof window<"u"&&(Hd=window),typeof document<"u"&&(d1=document),typeof MutationObserver<"u"&&(u1=MutationObserver),typeof performance<"u"&&(f1=performance)}catch{}var G5=Hd.navigator||{},p1=G5.userAgent,h1=p1===void 0?"":p1,Ir=Hd,qe=d1,m1=u1,tl=f1;Ir.document;var ir=!!qe.documentElement&&!!qe.head&&typeof qe.addEventListener=="function"&&typeof qe.createElement=="function",g1=~h1.indexOf("MSIE")||~h1.indexOf("Trident/"),nl,rl,al,il,ol,or="___FONT_AWESOME___",Wd=16,b1="fa",y1="svg-inline--fa",_a="data-fa-i2svg",Ud="data-fa-pseudo-element",X5="data-fa-pseudo-element-pending",Yd="data-prefix",qd="data-icon",_1="fontawesome-i2svg",K5="async",J5=["HTML","HEAD","STYLE","SCRIPT"],v1=function(){try{return process.env.NODE_ENV==="production"}catch{return!1}}(),Ge="classic",dt="sharp",Gd=[Ge,dt];function so(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[Ge]}})}var lo=so((nl={},yt(nl,Ge,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),yt(nl,dt,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),nl)),co=so((rl={},yt(rl,Ge,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),yt(rl,dt,{solid:"fass",regular:"fasr",light:"fasl"}),rl)),uo=so((al={},yt(al,Ge,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),yt(al,dt,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),al)),Z5=so((il={},yt(il,Ge,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),yt(il,dt,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),il)),Q5=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,w1="fa-layers-text",ew=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,tw=so((ol={},yt(ol,Ge,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),yt(ol,dt,{900:"fass",400:"fasr",300:"fasl"}),ol)),k1=[1,2,3,4,5,6,7,8,9,10],nw=k1.concat([11,12,13,14,15,16,17,18,19,20]),rw=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],va={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},fo=new Set;Object.keys(co[Ge]).map(fo.add.bind(fo)),Object.keys(co[dt]).map(fo.add.bind(fo));var aw=[].concat(Gd,oo(fo),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",va.GROUP,va.SWAP_OPACITY,va.PRIMARY,va.SECONDARY]).concat(k1.map(function(e){return"".concat(e,"x")})).concat(nw.map(function(e){return"w-".concat(e)})),po=Ir.FontAwesomeConfig||{};function iw(e){var t=qe.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function ow(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(qe&&typeof qe.querySelector=="function"){var sw=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];sw.forEach(function(e){var t=zd(e,2),n=t[0],r=t[1],a=ow(iw(n));a!=null&&(po[r]=a)})}var x1={styleDefault:"solid",familyDefault:"classic",cssPrefix:b1,replacementClass:y1,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};po.familyPrefix&&(po.cssPrefix=po.familyPrefix);var ci=G(G({},x1),po);ci.autoReplaceSvg||(ci.observeMutations=!1);var ee={};Object.keys(x1).forEach(function(e){Object.defineProperty(ee,e,{enumerable:!0,set:function(n){ci[e]=n,ho.forEach(function(r){return r(ee)})},get:function(){return ci[e]}})}),Object.defineProperty(ee,"familyPrefix",{enumerable:!0,set:function(t){ci.cssPrefix=t,ho.forEach(function(n){return n(ee)})},get:function(){return ci.cssPrefix}}),Ir.FontAwesomeConfig=ee;var ho=[];function lw(e){return ho.push(e),function(){ho.splice(ho.indexOf(e),1)}}var Lr=Wd,Fn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function cw(e){if(!(!e||!ir)){var t=qe.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=qe.head.childNodes,r=null,a=n.length-1;a>-1;a--){var i=n[a],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return qe.head.insertBefore(t,r),e}}var dw="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function mo(){for(var e=12,t="";e-- >0;)t+=dw[Math.random()*62|0];return t}function di(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Xd(e){return e.classList?di(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function S1(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function uw(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(S1(e[n]),'" ')},"").trim()}function sl(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Kd(e){return e.size!==Fn.size||e.x!==Fn.x||e.y!==Fn.y||e.rotate!==Fn.rotate||e.flipX||e.flipY}function fw(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)"),c={transform:"".concat(i," ").concat(o," ").concat(l)},d={transform:"translate(".concat(r/2*-1," -256)")};return{outer:a,inner:c,path:d}}function pw(e){var t=e.transform,n=e.width,r=n===void 0?Wd:n,a=e.height,i=a===void 0?Wd:a,o=e.startCentered,l=o===void 0?!1:o,c="";return l&&g1?c+="translate(".concat(t.x/Lr-r/2,"em, ").concat(t.y/Lr-i/2,"em) "):l?c+="translate(calc(-50% + ".concat(t.x/Lr,"em), calc(-50% + ").concat(t.y/Lr,"em)) "):c+="translate(".concat(t.x/Lr,"em, ").concat(t.y/Lr,"em) "),c+="scale(".concat(t.size/Lr*(t.flipX?-1:1),", ").concat(t.size/Lr*(t.flipY?-1:1),") "),c+="rotate(".concat(t.rotate,"deg) "),c}var hw=`:root, :host {
33
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
34
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
35
+ --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
36
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
37
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
38
+ --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
39
+ --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
40
+ --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
41
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
42
+ }
43
+
44
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
45
+ overflow: visible;
46
+ box-sizing: content-box;
47
+ }
48
+
49
+ .svg-inline--fa {
50
+ display: var(--fa-display, inline-block);
51
+ height: 1em;
52
+ overflow: visible;
53
+ vertical-align: -0.125em;
54
+ }
55
+ .svg-inline--fa.fa-2xs {
56
+ vertical-align: 0.1em;
57
+ }
58
+ .svg-inline--fa.fa-xs {
59
+ vertical-align: 0em;
60
+ }
61
+ .svg-inline--fa.fa-sm {
62
+ vertical-align: -0.0714285705em;
63
+ }
64
+ .svg-inline--fa.fa-lg {
65
+ vertical-align: -0.2em;
66
+ }
67
+ .svg-inline--fa.fa-xl {
68
+ vertical-align: -0.25em;
69
+ }
70
+ .svg-inline--fa.fa-2xl {
71
+ vertical-align: -0.3125em;
72
+ }
73
+ .svg-inline--fa.fa-pull-left {
74
+ margin-right: var(--fa-pull-margin, 0.3em);
75
+ width: auto;
76
+ }
77
+ .svg-inline--fa.fa-pull-right {
78
+ margin-left: var(--fa-pull-margin, 0.3em);
79
+ width: auto;
80
+ }
81
+ .svg-inline--fa.fa-li {
82
+ width: var(--fa-li-width, 2em);
83
+ top: 0.25em;
84
+ }
85
+ .svg-inline--fa.fa-fw {
86
+ width: var(--fa-fw-width, 1.25em);
87
+ }
88
+
89
+ .fa-layers svg.svg-inline--fa {
90
+ bottom: 0;
91
+ left: 0;
92
+ margin: auto;
93
+ position: absolute;
94
+ right: 0;
95
+ top: 0;
96
+ }
97
+
98
+ .fa-layers-counter, .fa-layers-text {
99
+ display: inline-block;
100
+ position: absolute;
101
+ text-align: center;
102
+ }
103
+
104
+ .fa-layers {
105
+ display: inline-block;
106
+ height: 1em;
107
+ position: relative;
108
+ text-align: center;
109
+ vertical-align: -0.125em;
110
+ width: 1em;
111
+ }
112
+ .fa-layers svg.svg-inline--fa {
113
+ -webkit-transform-origin: center center;
114
+ transform-origin: center center;
115
+ }
116
+
117
+ .fa-layers-text {
118
+ left: 50%;
119
+ top: 50%;
120
+ -webkit-transform: translate(-50%, -50%);
121
+ transform: translate(-50%, -50%);
122
+ -webkit-transform-origin: center center;
123
+ transform-origin: center center;
124
+ }
125
+
126
+ .fa-layers-counter {
127
+ background-color: var(--fa-counter-background-color, #ff253a);
128
+ border-radius: var(--fa-counter-border-radius, 1em);
129
+ box-sizing: border-box;
130
+ color: var(--fa-inverse, #fff);
131
+ line-height: var(--fa-counter-line-height, 1);
132
+ max-width: var(--fa-counter-max-width, 5em);
133
+ min-width: var(--fa-counter-min-width, 1.5em);
134
+ overflow: hidden;
135
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
136
+ right: var(--fa-right, 0);
137
+ text-overflow: ellipsis;
138
+ top: var(--fa-top, 0);
139
+ -webkit-transform: scale(var(--fa-counter-scale, 0.25));
140
+ transform: scale(var(--fa-counter-scale, 0.25));
141
+ -webkit-transform-origin: top right;
142
+ transform-origin: top right;
143
+ }
144
+
145
+ .fa-layers-bottom-right {
146
+ bottom: var(--fa-bottom, 0);
147
+ right: var(--fa-right, 0);
148
+ top: auto;
149
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
150
+ transform: scale(var(--fa-layers-scale, 0.25));
151
+ -webkit-transform-origin: bottom right;
152
+ transform-origin: bottom right;
153
+ }
154
+
155
+ .fa-layers-bottom-left {
156
+ bottom: var(--fa-bottom, 0);
157
+ left: var(--fa-left, 0);
158
+ right: auto;
159
+ top: auto;
160
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
161
+ transform: scale(var(--fa-layers-scale, 0.25));
162
+ -webkit-transform-origin: bottom left;
163
+ transform-origin: bottom left;
164
+ }
165
+
166
+ .fa-layers-top-right {
167
+ top: var(--fa-top, 0);
168
+ right: var(--fa-right, 0);
169
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
170
+ transform: scale(var(--fa-layers-scale, 0.25));
171
+ -webkit-transform-origin: top right;
172
+ transform-origin: top right;
173
+ }
174
+
175
+ .fa-layers-top-left {
176
+ left: var(--fa-left, 0);
177
+ right: auto;
178
+ top: var(--fa-top, 0);
179
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
180
+ transform: scale(var(--fa-layers-scale, 0.25));
181
+ -webkit-transform-origin: top left;
182
+ transform-origin: top left;
183
+ }
184
+
185
+ .fa-1x {
186
+ font-size: 1em;
187
+ }
188
+
189
+ .fa-2x {
190
+ font-size: 2em;
191
+ }
192
+
193
+ .fa-3x {
194
+ font-size: 3em;
195
+ }
196
+
197
+ .fa-4x {
198
+ font-size: 4em;
199
+ }
200
+
201
+ .fa-5x {
202
+ font-size: 5em;
203
+ }
204
+
205
+ .fa-6x {
206
+ font-size: 6em;
207
+ }
208
+
209
+ .fa-7x {
210
+ font-size: 7em;
211
+ }
212
+
213
+ .fa-8x {
214
+ font-size: 8em;
215
+ }
216
+
217
+ .fa-9x {
218
+ font-size: 9em;
219
+ }
220
+
221
+ .fa-10x {
222
+ font-size: 10em;
223
+ }
224
+
225
+ .fa-2xs {
226
+ font-size: 0.625em;
227
+ line-height: 0.1em;
228
+ vertical-align: 0.225em;
229
+ }
230
+
231
+ .fa-xs {
232
+ font-size: 0.75em;
233
+ line-height: 0.0833333337em;
234
+ vertical-align: 0.125em;
235
+ }
236
+
237
+ .fa-sm {
238
+ font-size: 0.875em;
239
+ line-height: 0.0714285718em;
240
+ vertical-align: 0.0535714295em;
241
+ }
242
+
243
+ .fa-lg {
244
+ font-size: 1.25em;
245
+ line-height: 0.05em;
246
+ vertical-align: -0.075em;
247
+ }
248
+
249
+ .fa-xl {
250
+ font-size: 1.5em;
251
+ line-height: 0.0416666682em;
252
+ vertical-align: -0.125em;
253
+ }
254
+
255
+ .fa-2xl {
256
+ font-size: 2em;
257
+ line-height: 0.03125em;
258
+ vertical-align: -0.1875em;
259
+ }
260
+
261
+ .fa-fw {
262
+ text-align: center;
263
+ width: 1.25em;
264
+ }
265
+
266
+ .fa-ul {
267
+ list-style-type: none;
268
+ margin-left: var(--fa-li-margin, 2.5em);
269
+ padding-left: 0;
270
+ }
271
+ .fa-ul > li {
272
+ position: relative;
273
+ }
274
+
275
+ .fa-li {
276
+ left: calc(var(--fa-li-width, 2em) * -1);
277
+ position: absolute;
278
+ text-align: center;
279
+ width: var(--fa-li-width, 2em);
280
+ line-height: inherit;
281
+ }
282
+
283
+ .fa-border {
284
+ border-color: var(--fa-border-color, #eee);
285
+ border-radius: var(--fa-border-radius, 0.1em);
286
+ border-style: var(--fa-border-style, solid);
287
+ border-width: var(--fa-border-width, 0.08em);
288
+ padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
289
+ }
290
+
291
+ .fa-pull-left {
292
+ float: left;
293
+ margin-right: var(--fa-pull-margin, 0.3em);
294
+ }
295
+
296
+ .fa-pull-right {
297
+ float: right;
298
+ margin-left: var(--fa-pull-margin, 0.3em);
299
+ }
300
+
301
+ .fa-beat {
302
+ -webkit-animation-name: fa-beat;
303
+ animation-name: fa-beat;
304
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
305
+ animation-delay: var(--fa-animation-delay, 0s);
306
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
307
+ animation-direction: var(--fa-animation-direction, normal);
308
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
309
+ animation-duration: var(--fa-animation-duration, 1s);
310
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
311
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
312
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
313
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
314
+ }
315
+
316
+ .fa-bounce {
317
+ -webkit-animation-name: fa-bounce;
318
+ animation-name: fa-bounce;
319
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
320
+ animation-delay: var(--fa-animation-delay, 0s);
321
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
322
+ animation-direction: var(--fa-animation-direction, normal);
323
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
324
+ animation-duration: var(--fa-animation-duration, 1s);
325
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
326
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
327
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
328
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
329
+ }
330
+
331
+ .fa-fade {
332
+ -webkit-animation-name: fa-fade;
333
+ animation-name: fa-fade;
334
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
335
+ animation-delay: var(--fa-animation-delay, 0s);
336
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
337
+ animation-direction: var(--fa-animation-direction, normal);
338
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
339
+ animation-duration: var(--fa-animation-duration, 1s);
340
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
341
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
342
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
343
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
344
+ }
345
+
346
+ .fa-beat-fade {
347
+ -webkit-animation-name: fa-beat-fade;
348
+ animation-name: fa-beat-fade;
349
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
350
+ animation-delay: var(--fa-animation-delay, 0s);
351
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
352
+ animation-direction: var(--fa-animation-direction, normal);
353
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
354
+ animation-duration: var(--fa-animation-duration, 1s);
355
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
356
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
357
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
358
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
359
+ }
360
+
361
+ .fa-flip {
362
+ -webkit-animation-name: fa-flip;
363
+ animation-name: fa-flip;
364
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
365
+ animation-delay: var(--fa-animation-delay, 0s);
366
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
367
+ animation-direction: var(--fa-animation-direction, normal);
368
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
369
+ animation-duration: var(--fa-animation-duration, 1s);
370
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
371
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
372
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
373
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
374
+ }
375
+
376
+ .fa-shake {
377
+ -webkit-animation-name: fa-shake;
378
+ animation-name: fa-shake;
379
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
380
+ animation-delay: var(--fa-animation-delay, 0s);
381
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
382
+ animation-direction: var(--fa-animation-direction, normal);
383
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
384
+ animation-duration: var(--fa-animation-duration, 1s);
385
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
386
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
387
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
388
+ animation-timing-function: var(--fa-animation-timing, linear);
389
+ }
390
+
391
+ .fa-spin {
392
+ -webkit-animation-name: fa-spin;
393
+ animation-name: fa-spin;
394
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
395
+ animation-delay: var(--fa-animation-delay, 0s);
396
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
397
+ animation-direction: var(--fa-animation-direction, normal);
398
+ -webkit-animation-duration: var(--fa-animation-duration, 2s);
399
+ animation-duration: var(--fa-animation-duration, 2s);
400
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
401
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
402
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
403
+ animation-timing-function: var(--fa-animation-timing, linear);
404
+ }
405
+
406
+ .fa-spin-reverse {
407
+ --fa-animation-direction: reverse;
408
+ }
409
+
410
+ .fa-pulse,
411
+ .fa-spin-pulse {
412
+ -webkit-animation-name: fa-spin;
413
+ animation-name: fa-spin;
414
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
415
+ animation-direction: var(--fa-animation-direction, normal);
416
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
417
+ animation-duration: var(--fa-animation-duration, 1s);
418
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
419
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
420
+ -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
421
+ animation-timing-function: var(--fa-animation-timing, steps(8));
422
+ }
423
+
424
+ @media (prefers-reduced-motion: reduce) {
425
+ .fa-beat,
426
+ .fa-bounce,
427
+ .fa-fade,
428
+ .fa-beat-fade,
429
+ .fa-flip,
430
+ .fa-pulse,
431
+ .fa-shake,
432
+ .fa-spin,
433
+ .fa-spin-pulse {
434
+ -webkit-animation-delay: -1ms;
435
+ animation-delay: -1ms;
436
+ -webkit-animation-duration: 1ms;
437
+ animation-duration: 1ms;
438
+ -webkit-animation-iteration-count: 1;
439
+ animation-iteration-count: 1;
440
+ -webkit-transition-delay: 0s;
441
+ transition-delay: 0s;
442
+ -webkit-transition-duration: 0s;
443
+ transition-duration: 0s;
444
+ }
445
+ }
446
+ @-webkit-keyframes fa-beat {
447
+ 0%, 90% {
448
+ -webkit-transform: scale(1);
449
+ transform: scale(1);
450
+ }
451
+ 45% {
452
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
453
+ transform: scale(var(--fa-beat-scale, 1.25));
454
+ }
455
+ }
456
+ @keyframes fa-beat {
457
+ 0%, 90% {
458
+ -webkit-transform: scale(1);
459
+ transform: scale(1);
460
+ }
461
+ 45% {
462
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
463
+ transform: scale(var(--fa-beat-scale, 1.25));
464
+ }
465
+ }
466
+ @-webkit-keyframes fa-bounce {
467
+ 0% {
468
+ -webkit-transform: scale(1, 1) translateY(0);
469
+ transform: scale(1, 1) translateY(0);
470
+ }
471
+ 10% {
472
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
473
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
474
+ }
475
+ 30% {
476
+ -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
477
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
478
+ }
479
+ 50% {
480
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
481
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
482
+ }
483
+ 57% {
484
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
485
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
486
+ }
487
+ 64% {
488
+ -webkit-transform: scale(1, 1) translateY(0);
489
+ transform: scale(1, 1) translateY(0);
490
+ }
491
+ 100% {
492
+ -webkit-transform: scale(1, 1) translateY(0);
493
+ transform: scale(1, 1) translateY(0);
494
+ }
495
+ }
496
+ @keyframes fa-bounce {
497
+ 0% {
498
+ -webkit-transform: scale(1, 1) translateY(0);
499
+ transform: scale(1, 1) translateY(0);
500
+ }
501
+ 10% {
502
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
503
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
504
+ }
505
+ 30% {
506
+ -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
507
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
508
+ }
509
+ 50% {
510
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
511
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
512
+ }
513
+ 57% {
514
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
515
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
516
+ }
517
+ 64% {
518
+ -webkit-transform: scale(1, 1) translateY(0);
519
+ transform: scale(1, 1) translateY(0);
520
+ }
521
+ 100% {
522
+ -webkit-transform: scale(1, 1) translateY(0);
523
+ transform: scale(1, 1) translateY(0);
524
+ }
525
+ }
526
+ @-webkit-keyframes fa-fade {
527
+ 50% {
528
+ opacity: var(--fa-fade-opacity, 0.4);
529
+ }
530
+ }
531
+ @keyframes fa-fade {
532
+ 50% {
533
+ opacity: var(--fa-fade-opacity, 0.4);
534
+ }
535
+ }
536
+ @-webkit-keyframes fa-beat-fade {
537
+ 0%, 100% {
538
+ opacity: var(--fa-beat-fade-opacity, 0.4);
539
+ -webkit-transform: scale(1);
540
+ transform: scale(1);
541
+ }
542
+ 50% {
543
+ opacity: 1;
544
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
545
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
546
+ }
547
+ }
548
+ @keyframes fa-beat-fade {
549
+ 0%, 100% {
550
+ opacity: var(--fa-beat-fade-opacity, 0.4);
551
+ -webkit-transform: scale(1);
552
+ transform: scale(1);
553
+ }
554
+ 50% {
555
+ opacity: 1;
556
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
557
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
558
+ }
559
+ }
560
+ @-webkit-keyframes fa-flip {
561
+ 50% {
562
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
563
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
564
+ }
565
+ }
566
+ @keyframes fa-flip {
567
+ 50% {
568
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
569
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
570
+ }
571
+ }
572
+ @-webkit-keyframes fa-shake {
573
+ 0% {
574
+ -webkit-transform: rotate(-15deg);
575
+ transform: rotate(-15deg);
576
+ }
577
+ 4% {
578
+ -webkit-transform: rotate(15deg);
579
+ transform: rotate(15deg);
580
+ }
581
+ 8%, 24% {
582
+ -webkit-transform: rotate(-18deg);
583
+ transform: rotate(-18deg);
584
+ }
585
+ 12%, 28% {
586
+ -webkit-transform: rotate(18deg);
587
+ transform: rotate(18deg);
588
+ }
589
+ 16% {
590
+ -webkit-transform: rotate(-22deg);
591
+ transform: rotate(-22deg);
592
+ }
593
+ 20% {
594
+ -webkit-transform: rotate(22deg);
595
+ transform: rotate(22deg);
596
+ }
597
+ 32% {
598
+ -webkit-transform: rotate(-12deg);
599
+ transform: rotate(-12deg);
600
+ }
601
+ 36% {
602
+ -webkit-transform: rotate(12deg);
603
+ transform: rotate(12deg);
604
+ }
605
+ 40%, 100% {
606
+ -webkit-transform: rotate(0deg);
607
+ transform: rotate(0deg);
608
+ }
609
+ }
610
+ @keyframes fa-shake {
611
+ 0% {
612
+ -webkit-transform: rotate(-15deg);
613
+ transform: rotate(-15deg);
614
+ }
615
+ 4% {
616
+ -webkit-transform: rotate(15deg);
617
+ transform: rotate(15deg);
618
+ }
619
+ 8%, 24% {
620
+ -webkit-transform: rotate(-18deg);
621
+ transform: rotate(-18deg);
622
+ }
623
+ 12%, 28% {
624
+ -webkit-transform: rotate(18deg);
625
+ transform: rotate(18deg);
626
+ }
627
+ 16% {
628
+ -webkit-transform: rotate(-22deg);
629
+ transform: rotate(-22deg);
630
+ }
631
+ 20% {
632
+ -webkit-transform: rotate(22deg);
633
+ transform: rotate(22deg);
634
+ }
635
+ 32% {
636
+ -webkit-transform: rotate(-12deg);
637
+ transform: rotate(-12deg);
638
+ }
639
+ 36% {
640
+ -webkit-transform: rotate(12deg);
641
+ transform: rotate(12deg);
642
+ }
643
+ 40%, 100% {
644
+ -webkit-transform: rotate(0deg);
645
+ transform: rotate(0deg);
646
+ }
647
+ }
648
+ @-webkit-keyframes fa-spin {
649
+ 0% {
650
+ -webkit-transform: rotate(0deg);
651
+ transform: rotate(0deg);
652
+ }
653
+ 100% {
654
+ -webkit-transform: rotate(360deg);
655
+ transform: rotate(360deg);
656
+ }
657
+ }
658
+ @keyframes fa-spin {
659
+ 0% {
660
+ -webkit-transform: rotate(0deg);
661
+ transform: rotate(0deg);
662
+ }
663
+ 100% {
664
+ -webkit-transform: rotate(360deg);
665
+ transform: rotate(360deg);
666
+ }
667
+ }
668
+ .fa-rotate-90 {
669
+ -webkit-transform: rotate(90deg);
670
+ transform: rotate(90deg);
671
+ }
672
+
673
+ .fa-rotate-180 {
674
+ -webkit-transform: rotate(180deg);
675
+ transform: rotate(180deg);
676
+ }
677
+
678
+ .fa-rotate-270 {
679
+ -webkit-transform: rotate(270deg);
680
+ transform: rotate(270deg);
681
+ }
682
+
683
+ .fa-flip-horizontal {
684
+ -webkit-transform: scale(-1, 1);
685
+ transform: scale(-1, 1);
686
+ }
687
+
688
+ .fa-flip-vertical {
689
+ -webkit-transform: scale(1, -1);
690
+ transform: scale(1, -1);
691
+ }
692
+
693
+ .fa-flip-both,
694
+ .fa-flip-horizontal.fa-flip-vertical {
695
+ -webkit-transform: scale(-1, -1);
696
+ transform: scale(-1, -1);
697
+ }
698
+
699
+ .fa-rotate-by {
700
+ -webkit-transform: rotate(var(--fa-rotate-angle, none));
701
+ transform: rotate(var(--fa-rotate-angle, none));
702
+ }
703
+
704
+ .fa-stack {
705
+ display: inline-block;
706
+ vertical-align: middle;
707
+ height: 2em;
708
+ position: relative;
709
+ width: 2.5em;
710
+ }
711
+
712
+ .fa-stack-1x,
713
+ .fa-stack-2x {
714
+ bottom: 0;
715
+ left: 0;
716
+ margin: auto;
717
+ position: absolute;
718
+ right: 0;
719
+ top: 0;
720
+ z-index: var(--fa-stack-z-index, auto);
721
+ }
722
+
723
+ .svg-inline--fa.fa-stack-1x {
724
+ height: 1em;
725
+ width: 1.25em;
726
+ }
727
+ .svg-inline--fa.fa-stack-2x {
728
+ height: 2em;
729
+ width: 2.5em;
730
+ }
731
+
732
+ .fa-inverse {
733
+ color: var(--fa-inverse, #fff);
734
+ }
735
+
736
+ .sr-only,
737
+ .fa-sr-only {
738
+ position: absolute;
739
+ width: 1px;
740
+ height: 1px;
741
+ padding: 0;
742
+ margin: -1px;
743
+ overflow: hidden;
744
+ clip: rect(0, 0, 0, 0);
745
+ white-space: nowrap;
746
+ border-width: 0;
747
+ }
748
+
749
+ .sr-only-focusable:not(:focus),
750
+ .fa-sr-only-focusable:not(:focus) {
751
+ position: absolute;
752
+ width: 1px;
753
+ height: 1px;
754
+ padding: 0;
755
+ margin: -1px;
756
+ overflow: hidden;
757
+ clip: rect(0, 0, 0, 0);
758
+ white-space: nowrap;
759
+ border-width: 0;
760
+ }
761
+
762
+ .svg-inline--fa .fa-primary {
763
+ fill: var(--fa-primary-color, currentColor);
764
+ opacity: var(--fa-primary-opacity, 1);
765
+ }
766
+
767
+ .svg-inline--fa .fa-secondary {
768
+ fill: var(--fa-secondary-color, currentColor);
769
+ opacity: var(--fa-secondary-opacity, 0.4);
770
+ }
771
+
772
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
773
+ opacity: var(--fa-secondary-opacity, 0.4);
774
+ }
775
+
776
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
777
+ opacity: var(--fa-primary-opacity, 1);
778
+ }
779
+
780
+ .svg-inline--fa mask .fa-primary,
781
+ .svg-inline--fa mask .fa-secondary {
782
+ fill: black;
783
+ }
784
+
785
+ .fad.fa-inverse,
786
+ .fa-duotone.fa-inverse {
787
+ color: var(--fa-inverse, #fff);
788
+ }`;function C1(){var e=b1,t=y1,n=ee.cssPrefix,r=ee.replacementClass,a=hw;if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");a=a.replace(i,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(l,".".concat(r))}return a}var E1=!1;function Jd(){ee.autoAddCss&&!E1&&(cw(C1()),E1=!0)}var mw={mixout:function(){return{dom:{css:C1,insertCss:Jd}}},hooks:function(){return{beforeDOMElementCreation:function(){Jd()},beforeI2svg:function(){Jd()}}}},sr=Ir||{};sr[or]||(sr[or]={}),sr[or].styles||(sr[or].styles={}),sr[or].hooks||(sr[or].hooks={}),sr[or].shims||(sr[or].shims=[]);var Cn=sr[or],A1=[],gw=function e(){qe.removeEventListener("DOMContentLoaded",e),ll=1,A1.map(function(t){return t()})},ll=!1;ir&&(ll=(qe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(qe.readyState),ll||qe.addEventListener("DOMContentLoaded",gw));function bw(e){ir&&(ll?setTimeout(e,0):A1.push(e))}function go(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,a=e.children,i=a===void 0?[]:a;return typeof e=="string"?S1(e):"<".concat(t," ").concat(uw(r),">").concat(i.map(go).join(""),"</").concat(t,">")}function T1(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var yw=function(t,n){return function(r,a,i,o){return t.call(n,r,a,i,o)}},Zd=function(t,n,r,a){var i=Object.keys(t),o=i.length,l=a!==void 0?yw(n,a):n,c,d,u;for(r===void 0?(c=1,u=t[i[0]]):(c=0,u=r);c<o;c++)d=i[c],u=l(u,t[d],d,t);return u};function _w(e){for(var t=[],n=0,r=e.length;n<r;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){var i=e.charCodeAt(n++);(i&64512)==56320?t.push(((a&1023)<<10)+(i&1023)+65536):(t.push(a),n--)}else t.push(a)}return t}function Qd(e){var t=_w(e);return t.length===1?t[0].toString(16):null}function vw(e,t){var n=e.length,r=e.charCodeAt(t),a;return r>=55296&&r<=56319&&n>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(r-55296)*1024+a-56320+65536:r}function O1(e){return Object.keys(e).reduce(function(t,n){var r=e[n],a=!!r.icon;return a?t[r.iconName]=r.icon:t[n]=r,t},{})}function eu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,a=r===void 0?!1:r,i=O1(t);typeof Cn.hooks.addPack=="function"&&!a?Cn.hooks.addPack(e,O1(t)):Cn.styles[e]=G(G({},Cn.styles[e]||{}),i),e==="fas"&&eu("fa",t)}var cl,dl,ul,ui=Cn.styles,ww=Cn.shims,kw=(cl={},yt(cl,Ge,Object.values(uo[Ge])),yt(cl,dt,Object.values(uo[dt])),cl),tu=null,M1={},N1={},D1={},P1={},I1={},xw=(dl={},yt(dl,Ge,Object.keys(lo[Ge])),yt(dl,dt,Object.keys(lo[dt])),dl);function Sw(e){return~aw.indexOf(e)}function Cw(e,t){var n=t.split("-"),r=n[0],a=n.slice(1).join("-");return r===e&&a!==""&&!Sw(a)?a:null}var L1=function(){var t=function(i){return Zd(ui,function(o,l,c){return o[c]=Zd(l,i,{}),o},{})};M1=t(function(a,i,o){if(i[3]&&(a[i[3]]=o),i[2]){var l=i[2].filter(function(c){return typeof c=="number"});l.forEach(function(c){a[c.toString(16)]=o})}return a}),N1=t(function(a,i,o){if(a[o]=o,i[2]){var l=i[2].filter(function(c){return typeof c=="string"});l.forEach(function(c){a[c]=o})}return a}),I1=t(function(a,i,o){var l=i[2];return a[o]=o,l.forEach(function(c){a[c]=o}),a});var n="far"in ui||ee.autoFetchSvg,r=Zd(ww,function(a,i){var o=i[0],l=i[1],c=i[2];return l==="far"&&!n&&(l="fas"),typeof o=="string"&&(a.names[o]={prefix:l,iconName:c}),typeof o=="number"&&(a.unicodes[o.toString(16)]={prefix:l,iconName:c}),a},{names:{},unicodes:{}});D1=r.names,P1=r.unicodes,tu=fl(ee.styleDefault,{family:ee.familyDefault})};lw(function(e){tu=fl(e.styleDefault,{family:ee.familyDefault})}),L1();function nu(e,t){return(M1[e]||{})[t]}function Ew(e,t){return(N1[e]||{})[t]}function wa(e,t){return(I1[e]||{})[t]}function B1(e){return D1[e]||{prefix:null,iconName:null}}function Aw(e){var t=P1[e],n=nu("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Br(){return tu}var ru=function(){return{prefix:null,iconName:null,rest:[]}};function fl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?Ge:n,a=lo[r][e],i=co[r][e]||co[r][a],o=e in Cn.styles?e:null;return i||o||null}var R1=(ul={},yt(ul,Ge,Object.keys(uo[Ge])),yt(ul,dt,Object.keys(uo[dt])),ul);function pl(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,a=r===void 0?!1:r,i=(t={},yt(t,Ge,"".concat(ee.cssPrefix,"-").concat(Ge)),yt(t,dt,"".concat(ee.cssPrefix,"-").concat(dt)),t),o=null,l=Ge;(e.includes(i[Ge])||e.some(function(d){return R1[Ge].includes(d)}))&&(l=Ge),(e.includes(i[dt])||e.some(function(d){return R1[dt].includes(d)}))&&(l=dt);var c=e.reduce(function(d,u){var f=Cw(ee.cssPrefix,u);if(ui[u]?(u=kw[l].includes(u)?Z5[l][u]:u,o=u,d.prefix=u):xw[l].indexOf(u)>-1?(o=u,d.prefix=fl(u,{family:l})):f?d.iconName=f:u!==ee.replacementClass&&u!==i[Ge]&&u!==i[dt]&&d.rest.push(u),!a&&d.prefix&&d.iconName){var p=o==="fa"?B1(d.iconName):{},h=wa(d.prefix,d.iconName);p.prefix&&(o=null),d.iconName=p.iconName||h||d.iconName,d.prefix=p.prefix||d.prefix,d.prefix==="far"&&!ui.far&&ui.fas&&!ee.autoFetchSvg&&(d.prefix="fas")}return d},ru());return(e.includes("fa-brands")||e.includes("fab"))&&(c.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(c.prefix="fad"),!c.prefix&&l===dt&&(ui.fass||ee.autoFetchSvg)&&(c.prefix="fass",c.iconName=wa(c.prefix,c.iconName)||c.iconName),(c.prefix==="fa"||o==="fa")&&(c.prefix=Br()||"fas"),c}var Tw=function(){function e(){F5(this,e),this.definitions={}}return z5(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];var o=a.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(l){n.definitions[l]=G(G({},n.definitions[l]||{}),o[l]),eu(l,o[l]);var c=uo[Ge][l];c&&eu(c,o[l]),L1()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var a=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(a).map(function(i){var o=a[i],l=o.prefix,c=o.iconName,d=o.icon,u=d[2];n[l]||(n[l]={}),u.length>0&&u.forEach(function(f){typeof f=="string"&&(n[l][f]=d)}),n[l][c]=d}),n}}]),e}(),V1=[],fi={},pi={},Ow=Object.keys(pi);function Mw(e,t){var n=t.mixoutsTo;return V1=e,fi={},Object.keys(pi).forEach(function(r){Ow.indexOf(r)===-1&&delete pi[r]}),V1.forEach(function(r){var a=r.mixout?r.mixout():{};if(Object.keys(a).forEach(function(o){typeof a[o]=="function"&&(n[o]=a[o]),el(a[o])==="object"&&Object.keys(a[o]).forEach(function(l){n[o]||(n[o]={}),n[o][l]=a[o][l]})}),r.hooks){var i=r.hooks();Object.keys(i).forEach(function(o){fi[o]||(fi[o]=[]),fi[o].push(i[o])})}r.provides&&r.provides(pi)}),n}function au(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];var i=fi[e]||[];return i.forEach(function(o){t=o.apply(null,[t].concat(r))}),t}function ka(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=fi[e]||[];a.forEach(function(i){i.apply(null,n)})}function lr(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return pi[e]?pi[e].apply(null,t):void 0}function iu(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Br();if(t)return t=wa(n,t)||t,T1($1.definitions,n,t)||T1(Cn.styles,n,t)}var $1=new Tw,Nw=function(){ee.autoReplaceSvg=!1,ee.observeMutations=!1,ka("noAuto")},Dw={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ir?(ka("beforeI2svg",t),lr("pseudoElements2svg",t),lr("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;ee.autoReplaceSvg===!1&&(ee.autoReplaceSvg=!0),ee.observeMutations=!0,bw(function(){Iw({autoReplaceSvgRoot:n}),ka("watch",t)})}},Pw={icon:function(t){if(t===null)return null;if(el(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:wa(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=fl(t[0]);return{prefix:r,iconName:wa(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(ee.cssPrefix,"-"))>-1||t.match(Q5))){var a=pl(t.split(" "),{skipLookups:!0});return{prefix:a.prefix||Br(),iconName:wa(a.prefix,a.iconName)||a.iconName}}if(typeof t=="string"){var i=Br();return{prefix:i,iconName:wa(i,t)||t}}}},en={noAuto:Nw,config:ee,dom:Dw,parse:Pw,library:$1,findIconDefinition:iu,toHtml:go},Iw=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?qe:n;(Object.keys(Cn.styles).length>0||ee.autoFetchSvg)&&ir&&ee.autoReplaceSvg&&en.dom.i2svg({node:r})};function hl(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return go(r)})}}),Object.defineProperty(e,"node",{get:function(){if(ir){var r=qe.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function Lw(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,i=e.styles,o=e.transform;if(Kd(o)&&n.found&&!r.found){var l=n.width,c=n.height,d={x:l/c/2,y:.5};a.style=sl(G(G({},i),{},{"transform-origin":"".concat(d.x+o.x/16,"em ").concat(d.y+o.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function Bw(e){var t=e.prefix,n=e.iconName,r=e.children,a=e.attributes,i=e.symbol,o=i===!0?"".concat(t,"-").concat(ee.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:G(G({},a),{},{id:o}),children:r}]}]}function ou(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,i=e.iconName,o=e.transform,l=e.symbol,c=e.title,d=e.maskId,u=e.titleId,f=e.extra,p=e.watchable,h=p===void 0?!1:p,g=r.found?r:n,b=g.width,v=g.height,m=a==="fak",y=[ee.replacementClass,i?"".concat(ee.cssPrefix,"-").concat(i):""].filter(function(T){return f.classes.indexOf(T)===-1}).filter(function(T){return T!==""||!!T}).concat(f.classes).join(" "),w={children:[],attributes:G(G({},f.attributes),{},{"data-prefix":a,"data-icon":i,class:y,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(b," ").concat(v)})},_=m&&!~f.classes.indexOf("fa-fw")?{width:"".concat(b/v*16*.0625,"em")}:{};h&&(w.attributes[_a]=""),c&&(w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(u||mo())},children:[c]}),delete w.attributes.title);var k=G(G({},w),{},{prefix:a,iconName:i,main:n,mask:r,maskId:d,transform:o,symbol:l,styles:G(G({},_),f.styles)}),x=r.found&&n.found?lr("generateAbstractMask",k)||{children:[],attributes:{}}:lr("generateAbstractIcon",k)||{children:[],attributes:{}},C=x.children,E=x.attributes;return k.children=C,k.attributes=E,l?Bw(k):Lw(k)}function F1(e){var t=e.content,n=e.width,r=e.height,a=e.transform,i=e.title,o=e.extra,l=e.watchable,c=l===void 0?!1:l,d=G(G(G({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")});c&&(d[_a]="");var u=G({},o.styles);Kd(a)&&(u.transform=pw({transform:a,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var f=sl(u);f.length>0&&(d.style=f);var p=[];return p.push({tag:"span",attributes:d,children:[t]}),i&&p.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),p}function Rw(e){var t=e.content,n=e.title,r=e.extra,a=G(G(G({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=sl(r.styles);i.length>0&&(a.style=i);var o=[];return o.push({tag:"span",attributes:a,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var su=Cn.styles;function lu(e){var t=e[0],n=e[1],r=e.slice(4),a=zd(r,1),i=a[0],o=null;return Array.isArray(i)?o={tag:"g",attributes:{class:"".concat(ee.cssPrefix,"-").concat(va.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ee.cssPrefix,"-").concat(va.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(ee.cssPrefix,"-").concat(va.PRIMARY),fill:"currentColor",d:i[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:o}}var Vw={found:!1,width:512,height:512};function $w(e,t){!v1&&!ee.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function cu(e,t){var n=t;return t==="fa"&&ee.styleDefault!==null&&(t=Br()),new Promise(function(r,a){if(lr("missingIconAbstract"),n==="fa"){var i=B1(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&su[t]&&su[t][e]){var o=su[t][e];return r(lu(o))}$w(e,t),r(G(G({},Vw),{},{icon:ee.showMissingIcons&&e?lr("missingIconAbstract")||{}:{}}))})}var z1=function(){},du=ee.measurePerformance&&tl&&tl.mark&&tl.measure?tl:{mark:z1,measure:z1},bo='FA "6.4.0"',Fw=function(t){return du.mark("".concat(bo," ").concat(t," begins")),function(){return j1(t)}},j1=function(t){du.mark("".concat(bo," ").concat(t," ends")),du.measure("".concat(bo," ").concat(t),"".concat(bo," ").concat(t," begins"),"".concat(bo," ").concat(t," ends"))},uu={begin:Fw,end:j1},ml=function(){};function H1(e){var t=e.getAttribute?e.getAttribute(_a):null;return typeof t=="string"}function zw(e){var t=e.getAttribute?e.getAttribute(Yd):null,n=e.getAttribute?e.getAttribute(qd):null;return t&&n}function jw(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(ee.replacementClass)}function Hw(){if(ee.autoReplaceSvg===!0)return gl.replace;var e=gl[ee.autoReplaceSvg];return e||gl.replace}function Ww(e){return qe.createElementNS("http://www.w3.org/2000/svg",e)}function Uw(e){return qe.createElement(e)}function W1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?Ww:Uw:n;if(typeof e=="string")return qe.createTextNode(e);var a=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){a.setAttribute(o,e.attributes[o])});var i=e.children||[];return i.forEach(function(o){a.appendChild(W1(o,{ceFn:r}))}),a}function Yw(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var gl={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(a){n.parentNode.insertBefore(W1(a),n)}),n.getAttribute(_a)===null&&ee.keepOriginalSource){var r=qe.createComment(Yw(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~Xd(n).indexOf(ee.replacementClass))return gl.replace(t);var a=new RegExp("".concat(ee.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var i=r[0].attributes.class.split(" ").reduce(function(l,c){return c===ee.replacementClass||c.match(a)?l.toSvg.push(c):l.toNode.push(c),l},{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var o=r.map(function(l){return go(l)}).join(`
789
+ `);n.setAttribute(_a,""),n.innerHTML=o}};function U1(e){e()}function Y1(e,t){var n=typeof t=="function"?t:ml;if(e.length===0)n();else{var r=U1;ee.mutateApproach===K5&&(r=Ir.requestAnimationFrame||U1),r(function(){var a=Hw(),i=uu.begin("mutate");e.map(a),i(),n()})}}var fu=!1;function q1(){fu=!0}function pu(){fu=!1}var bl=null;function G1(e){if(m1&&ee.observeMutations){var t=e.treeCallback,n=t===void 0?ml:t,r=e.nodeCallback,a=r===void 0?ml:r,i=e.pseudoElementsCallback,o=i===void 0?ml:i,l=e.observeMutationsRoot,c=l===void 0?qe:l;bl=new m1(function(d){if(!fu){var u=Br();di(d).forEach(function(f){if(f.type==="childList"&&f.addedNodes.length>0&&!H1(f.addedNodes[0])&&(ee.searchPseudoElements&&o(f.target),n(f.target)),f.type==="attributes"&&f.target.parentNode&&ee.searchPseudoElements&&o(f.target.parentNode),f.type==="attributes"&&H1(f.target)&&~rw.indexOf(f.attributeName))if(f.attributeName==="class"&&zw(f.target)){var p=pl(Xd(f.target)),h=p.prefix,g=p.iconName;f.target.setAttribute(Yd,h||u),g&&f.target.setAttribute(qd,g)}else jw(f.target)&&a(f.target)})}}),ir&&bl.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function qw(){bl&&bl.disconnect()}function Gw(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,a){var i=a.split(":"),o=i[0],l=i.slice(1);return o&&l.length>0&&(r[o]=l.join(":").trim()),r},{})),n}function Xw(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",a=pl(Xd(e));return a.prefix||(a.prefix=Br()),t&&n&&(a.prefix=t,a.iconName=n),a.iconName&&a.prefix||(a.prefix&&r.length>0&&(a.iconName=Ew(a.prefix,e.innerText)||nu(a.prefix,Qd(e.innerText))),!a.iconName&&ee.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Kw(e){var t=di(e.attributes).reduce(function(a,i){return a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ee.autoA11y&&(n?t["aria-labelledby"]="".concat(ee.replacementClass,"-title-").concat(r||mo()):(t["aria-hidden"]="true",t.focusable="false")),t}function Jw(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Fn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function X1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=Xw(e),r=n.iconName,a=n.prefix,i=n.rest,o=Kw(e),l=au("parseNodeAttributes",{},e),c=t.styleParser?Gw(e):[];return G({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:a,transform:Fn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:c,attributes:o}},l)}var Zw=Cn.styles;function K1(e){var t=ee.autoReplaceSvg==="nest"?X1(e,{styleParser:!1}):X1(e);return~t.extra.classes.indexOf(w1)?lr("generateLayersText",e,t):lr("generateSvgReplacementMutation",e,t)}var Rr=new Set;Gd.map(function(e){Rr.add("fa-".concat(e))}),Object.keys(lo[Ge]).map(Rr.add.bind(Rr)),Object.keys(lo[dt]).map(Rr.add.bind(Rr)),Rr=oo(Rr);function J1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ir)return Promise.resolve();var n=qe.documentElement.classList,r=function(f){return n.add("".concat(_1,"-").concat(f))},a=function(f){return n.remove("".concat(_1,"-").concat(f))},i=ee.autoFetchSvg?Rr:Gd.map(function(u){return"fa-".concat(u)}).concat(Object.keys(Zw));i.includes("fa")||i.push("fa");var o=[".".concat(w1,":not([").concat(_a,"])")].concat(i.map(function(u){return".".concat(u,":not([").concat(_a,"])")})).join(", ");if(o.length===0)return Promise.resolve();var l=[];try{l=di(e.querySelectorAll(o))}catch{}if(l.length>0)r("pending"),a("complete");else return Promise.resolve();var c=uu.begin("onTree"),d=l.reduce(function(u,f){try{var p=K1(f);p&&u.push(p)}catch(h){v1||h.name==="MissingIcon"&&console.error(h)}return u},[]);return new Promise(function(u,f){Promise.all(d).then(function(p){Y1(p,function(){r("active"),r("complete"),a("pending"),typeof t=="function"&&t(),c(),u()})}).catch(function(p){c(),f(p)})})}function Qw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;K1(e).then(function(n){n&&Y1([n],t)})}function ek(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:iu(t||{}),a=n.mask;return a&&(a=(a||{}).icon?a:iu(a||{})),e(r,G(G({},n),{},{mask:a}))}}var tk=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,a=r===void 0?Fn:r,i=n.symbol,o=i===void 0?!1:i,l=n.mask,c=l===void 0?null:l,d=n.maskId,u=d===void 0?null:d,f=n.title,p=f===void 0?null:f,h=n.titleId,g=h===void 0?null:h,b=n.classes,v=b===void 0?[]:b,m=n.attributes,y=m===void 0?{}:m,w=n.styles,_=w===void 0?{}:w;if(t){var k=t.prefix,x=t.iconName,C=t.icon;return hl(G({type:"icon"},t),function(){return ka("beforeDOMElementCreation",{iconDefinition:t,params:n}),ee.autoA11y&&(p?y["aria-labelledby"]="".concat(ee.replacementClass,"-title-").concat(g||mo()):(y["aria-hidden"]="true",y.focusable="false")),ou({icons:{main:lu(C),mask:c?lu(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:k,iconName:x,transform:G(G({},Fn),a),symbol:o,title:p,maskId:u,titleId:g,extra:{attributes:y,styles:_,classes:v}})})}},nk={mixout:function(){return{icon:ek(tk)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=J1,n.nodeCallback=Qw,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,a=r===void 0?qe:r,i=n.callback,o=i===void 0?function(){}:i;return J1(a,o)},t.generateSvgReplacementMutation=function(n,r){var a=r.iconName,i=r.title,o=r.titleId,l=r.prefix,c=r.transform,d=r.symbol,u=r.mask,f=r.maskId,p=r.extra;return new Promise(function(h,g){Promise.all([cu(a,l),u.iconName?cu(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(b){var v=zd(b,2),m=v[0],y=v[1];h([n,ou({icons:{main:m,mask:y},prefix:l,iconName:a,transform:c,symbol:d,maskId:f,title:i,titleId:o,extra:p,watchable:!0})])}).catch(g)})},t.generateAbstractIcon=function(n){var r=n.children,a=n.attributes,i=n.main,o=n.transform,l=n.styles,c=sl(l);c.length>0&&(a.style=c);var d;return Kd(o)&&(d=lr("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),r.push(d||i.icon),{children:r,attributes:a}}}},rk={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.classes,i=a===void 0?[]:a;return hl({type:"layer"},function(){ka("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(l){Array.isArray(l)?l.map(function(c){o=o.concat(c.abstract)}):o=o.concat(l.abstract)}),[{tag:"span",attributes:{class:["".concat(ee.cssPrefix,"-layers")].concat(oo(i)).join(" ")},children:o}]})}}}},ak={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.title,i=a===void 0?null:a,o=r.classes,l=o===void 0?[]:o,c=r.attributes,d=c===void 0?{}:c,u=r.styles,f=u===void 0?{}:u;return hl({type:"counter",content:n},function(){return ka("beforeDOMElementCreation",{content:n,params:r}),Rw({content:n.toString(),title:i,extra:{attributes:d,styles:f,classes:["".concat(ee.cssPrefix,"-layers-counter")].concat(oo(l))}})})}}}},ik={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.transform,i=a===void 0?Fn:a,o=r.title,l=o===void 0?null:o,c=r.classes,d=c===void 0?[]:c,u=r.attributes,f=u===void 0?{}:u,p=r.styles,h=p===void 0?{}:p;return hl({type:"text",content:n},function(){return ka("beforeDOMElementCreation",{content:n,params:r}),F1({content:n,transform:G(G({},Fn),i),title:l,extra:{attributes:f,styles:h,classes:["".concat(ee.cssPrefix,"-layers-text")].concat(oo(d))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var a=r.title,i=r.transform,o=r.extra,l=null,c=null;if(g1){var d=parseInt(getComputedStyle(n).fontSize,10),u=n.getBoundingClientRect();l=u.width/d,c=u.height/d}return ee.autoA11y&&!a&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,F1({content:n.innerHTML,width:l,height:c,transform:i,title:a,extra:o,watchable:!0})])}}},ok=new RegExp('"',"ug"),Z1=[1105920,1112319];function sk(e){var t=e.replace(ok,""),n=vw(t,0),r=n>=Z1[0]&&n<=Z1[1],a=t.length===2?t[0]===t[1]:!1;return{value:Qd(a?t[0]:t),isSecondary:r||a}}function Q1(e,t){var n="".concat(X5).concat(t.replace(":","-"));return new Promise(function(r,a){if(e.getAttribute(n)!==null)return r();var i=di(e.children),o=i.filter(function(C){return C.getAttribute(Ud)===t})[0],l=Ir.getComputedStyle(e,t),c=l.getPropertyValue("font-family").match(ew),d=l.getPropertyValue("font-weight"),u=l.getPropertyValue("content");if(o&&!c)return e.removeChild(o),r();if(c&&u!=="none"&&u!==""){var f=l.getPropertyValue("content"),p=~["Sharp"].indexOf(c[2])?dt:Ge,h=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(c[2])?co[p][c[2].toLowerCase()]:tw[p][d],g=sk(f),b=g.value,v=g.isSecondary,m=c[0].startsWith("FontAwesome"),y=nu(h,b),w=y;if(m){var _=Aw(b);_.iconName&&_.prefix&&(y=_.iconName,h=_.prefix)}if(y&&!v&&(!o||o.getAttribute(Yd)!==h||o.getAttribute(qd)!==w)){e.setAttribute(n,w),o&&e.removeChild(o);var k=Jw(),x=k.extra;x.attributes[Ud]=t,cu(y,h).then(function(C){var E=ou(G(G({},k),{},{icons:{main:C,mask:ru()},prefix:h,iconName:w,extra:x,watchable:!0})),T=qe.createElement("svg");t==="::before"?e.insertBefore(T,e.firstChild):e.appendChild(T),T.outerHTML=E.map(function(B){return go(B)}).join(`
790
+ `),e.removeAttribute(n),r()}).catch(a)}else r()}else r()})}function lk(e){return Promise.all([Q1(e,"::before"),Q1(e,"::after")])}function ck(e){return e.parentNode!==document.head&&!~J5.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Ud)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function eg(e){if(ir)return new Promise(function(t,n){var r=di(e.querySelectorAll("*")).filter(ck).map(lk),a=uu.begin("searchPseudoElements");q1(),Promise.all(r).then(function(){a(),pu(),t()}).catch(function(){a(),pu(),n()})})}var dk={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=eg,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,a=r===void 0?qe:r;ee.searchPseudoElements&&eg(a)}}},tg=!1,uk={mixout:function(){return{dom:{unwatch:function(){q1(),tg=!0}}}},hooks:function(){return{bootstrap:function(){G1(au("mutationObserverCallbacks",{}))},noAuto:function(){qw()},watch:function(n){var r=n.observeMutationsRoot;tg?pu():G1(au("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},ng=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,a){var i=a.toLowerCase().split("-"),o=i[0],l=i.slice(1).join("-");if(o&&l==="h")return r.flipX=!0,r;if(o&&l==="v")return r.flipY=!0,r;if(l=parseFloat(l),isNaN(l))return r;switch(o){case"grow":r.size=r.size+l;break;case"shrink":r.size=r.size-l;break;case"left":r.x=r.x-l;break;case"right":r.x=r.x+l;break;case"up":r.y=r.y-l;break;case"down":r.y=r.y+l;break;case"rotate":r.rotate=r.rotate+l;break}return r},n)},fk={mixout:function(){return{parse:{transform:function(n){return ng(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var a=r.getAttribute("data-fa-transform");return a&&(n.transform=ng(a)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,a=n.transform,i=n.containerWidth,o=n.iconWidth,l={transform:"translate(".concat(i/2," 256)")},c="translate(".concat(a.x*32,", ").concat(a.y*32,") "),d="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),u="rotate(".concat(a.rotate," 0 0)"),f={transform:"".concat(c," ").concat(d," ").concat(u)},p={transform:"translate(".concat(o/2*-1," -256)")},h={outer:l,inner:f,path:p};return{tag:"g",attributes:G({},h.outer),children:[{tag:"g",attributes:G({},h.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:G(G({},r.icon.attributes),h.path)}]}]}}}},hu={x:0,y:0,width:"100%",height:"100%"};function rg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function pk(e){return e.tag==="g"?e.children:[e]}var hk={hooks:function(){return{parseNodeAttributes:function(n,r){var a=r.getAttribute("data-fa-mask"),i=a?pl(a.split(" ").map(function(o){return o.trim()})):ru();return i.prefix||(i.prefix=Br()),n.mask=i,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,a=n.attributes,i=n.main,o=n.mask,l=n.maskId,c=n.transform,d=i.width,u=i.icon,f=o.width,p=o.icon,h=fw({transform:c,containerWidth:f,iconWidth:d}),g={tag:"rect",attributes:G(G({},hu),{},{fill:"white"})},b=u.children?{children:u.children.map(rg)}:{},v={tag:"g",attributes:G({},h.inner),children:[rg(G({tag:u.tag,attributes:G(G({},u.attributes),h.path)},b))]},m={tag:"g",attributes:G({},h.outer),children:[v]},y="mask-".concat(l||mo()),w="clip-".concat(l||mo()),_={tag:"mask",attributes:G(G({},hu),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,m]},k={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:pk(p)},_]};return r.push(k,{tag:"rect",attributes:G({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(y,")")},hu)}),{children:r,attributes:a}}}},mk={provides:function(t){var n=!1;Ir.matchMedia&&(n=Ir.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],a={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:G(G({},a),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=G(G({},i),{},{attributeName:"opacity"}),l={tag:"circle",attributes:G(G({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||l.children.push({tag:"animate",attributes:G(G({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:G(G({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(l),r.push({tag:"path",attributes:G(G({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:G(G({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:G(G({},a),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:G(G({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},gk={hooks:function(){return{parseNodeAttributes:function(n,r){var a=r.getAttribute("data-fa-symbol"),i=a===null?!1:a===""?!0:a;return n.symbol=i,n}}}},bk=[mw,nk,rk,ak,ik,dk,uk,fk,hk,mk,gk];Mw(bk,{mixoutsTo:en}),en.noAuto;var ag=en.config,ig=en.library;en.dom;var yl=en.parse;en.findIconDefinition,en.toHtml;var yk=en.icon;en.layer;var _k=en.text;en.counter;var vk={prefix:"fas",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M135.2 17.7C140.6 6.8 151.7 0 163.8 0H284.2c12.1 0 23.2 6.8 28.6 17.7L320 32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32h96l7.2-14.3zM32 128H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V128zm96 64c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16z"]},wk=vk,kk={prefix:"fas",iconName:"sort-down",icon:[320,512,["sort-desc"],"f0dd","M182.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8H288c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-128 128z"]},xk={prefix:"fas",iconName:"right-from-bracket",icon:[512,512,["sign-out-alt"],"f2f5","M377.9 105.9L500.7 228.7c7.2 7.2 11.3 17.1 11.3 27.3s-4.1 20.1-11.3 27.3L377.9 406.1c-6.4 6.4-15 9.9-24 9.9c-18.7 0-33.9-15.2-33.9-33.9l0-62.1-128 0c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l128 0 0-62.1c0-18.7 15.2-33.9 33.9-33.9c9 0 17.6 3.6 24 9.9zM160 96L96 96c-17.7 0-32 14.3-32 32l0 256c0 17.7 14.3 32 32 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-53 0-96-43-96-96L0 128C0 75 43 32 96 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32z"]},Sk=xk,Ck={prefix:"fas",iconName:"pencil",icon:[512,512,[9999,61504,"pencil-alt"],"f303","M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]},Ek=Ck,Ak={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},Tk={prefix:"fas",iconName:"circle-chevron-down",icon:[512,512,["chevron-circle-down"],"f13a","M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z"]},Ok=Tk,Mk={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},Nk={prefix:"fas",iconName:"share-nodes",icon:[448,512,["share-alt"],"f1e0","M352 224c53 0 96-43 96-96s-43-96-96-96s-96 43-96 96c0 4 .2 8 .7 11.9l-94.1 47C145.4 170.2 121.9 160 96 160c-53 0-96 43-96 96s43 96 96 96c25.9 0 49.4-10.2 66.6-26.9l94.1 47c-.5 3.9-.7 7.8-.7 11.9c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-25.9 0-49.4 10.2-66.6 26.9l-94.1-47c.5-3.9 .7-7.8 .7-11.9s-.2-8-.7-11.9l94.1-47C302.6 213.8 326.1 224 352 224z"]},Dk={prefix:"fas",iconName:"hand",icon:[512,512,[129306,9995,"hand-paper"],"f256","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V240c0 8.8-7.2 16-16 16s-16-7.2-16-16V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V336c0 1.5 0 3.1 .1 4.6L67.6 283c-16-15.2-41.3-14.6-56.6 1.4s-14.6 41.3 1.4 56.6L124.8 448c43.1 41.1 100.4 64 160 64H304c97.2 0 176-78.8 176-176V128c0-17.7-14.3-32-32-32s-32 14.3-32 32V240c0 8.8-7.2 16-16 16s-16-7.2-16-16V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V240c0 8.8-7.2 16-16 16s-16-7.2-16-16V32z"]},Pk=Dk,Ik={prefix:"fas",iconName:"maximize",icon:[512,512,["expand-arrows-alt"],"f31e","M200 32H56C42.7 32 32 42.7 32 56V200c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l40-40 79 79-79 79L73 295c-6.9-6.9-17.2-8.9-26.2-5.2S32 302.3 32 312V456c0 13.3 10.7 24 24 24H200c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-40-40 79-79 79 79-40 40c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H456c13.3 0 24-10.7 24-24V312c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2l-40 40-79-79 79-79 40 40c6.9 6.9 17.2 8.9 26.2 5.2s14.8-12.5 14.8-22.2V56c0-13.3-10.7-24-24-24H312c-9.7 0-18.5 5.8-22.2 14.8s-1.7 19.3 5.2 26.2l40 40-79 79-79-79 40-40c6.9-6.9 8.9-17.2 5.2-26.2S209.7 32 200 32z"]},Lk={prefix:"fas",iconName:"arrow-right-to-bracket",icon:[512,512,["sign-in"],"f090","M352 96l64 0c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c53 0 96-43 96-96l0-256c0-53-43-96-96-96l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm-9.4 182.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L242.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z"]},Bk={prefix:"fas",iconName:"unlock",icon:[448,512,[128275],"f09c","M144 144c0-44.2 35.8-80 80-80c31.9 0 59.4 18.6 72.3 45.7c7.6 16 26.7 22.8 42.6 15.2s22.8-26.7 15.2-42.6C331 33.7 281.5 0 224 0C144.5 0 80 64.5 80 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H144V144z"]},Rk={prefix:"fas",iconName:"gift",icon:[512,512,[127873],"f06b","M190.5 68.8L225.3 128H224 152c-22.1 0-40-17.9-40-40s17.9-40 40-40h2.2c14.9 0 28.8 7.9 36.3 20.8zM64 88c0 14.4 3.5 28 9.6 40H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H438.4c6.1-12 9.6-25.6 9.6-40c0-48.6-39.4-88-88-88h-2.2c-31.9 0-61.5 16.9-77.7 44.4L256 85.5l-24.1-41C215.7 16.9 186.1 0 154.2 0H152C103.4 0 64 39.4 64 88zm336 0c0 22.1-17.9 40-40 40H288h-1.3l34.8-59.2C329.1 55.9 342.9 48 357.8 48H360c22.1 0 40 17.9 40 40zM32 288V464c0 26.5 21.5 48 48 48H224V288H32zM288 512H432c26.5 0 48-21.5 48-48V288H288V512z"]},Vk={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},$k={prefix:"fas",iconName:"newspaper",icon:[512,512,[128240],"f1ea","M96 96c0-35.3 28.7-64 64-64H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H80c-44.2 0-80-35.8-80-80V128c0-17.7 14.3-32 32-32s32 14.3 32 32V400c0 8.8 7.2 16 16 16s16-7.2 16-16V96zm64 24v80c0 13.3 10.7 24 24 24H296c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24H184c-13.3 0-24 10.7-24 24zm208-8c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H384c-8.8 0-16 7.2-16 16zm0 96c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H384c-8.8 0-16 7.2-16 16zM160 304c0 8.8 7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm0 96c0 8.8 7.2 16 16 16H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]},Fk={prefix:"fas",iconName:"sort",icon:[320,512,["unsorted"],"f0dc","M137.4 41.4c12.5-12.5 32.8-12.5 45.3 0l128 128c9.2 9.2 11.9 22.9 6.9 34.9s-16.6 19.8-29.6 19.8H32c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9l128-128zm0 429.3l-128-128c-9.2-9.2-11.9-22.9-6.9-34.9s16.6-19.8 29.6-19.8H288c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-128 128c-12.5 12.5-32.8 12.5-45.3 0z"]},zk={prefix:"fas",iconName:"language",icon:[640,512,[],"f1ab","M0 128C0 92.7 28.7 64 64 64H256h48 16H576c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H320 304 256 64c-35.3 0-64-28.7-64-64V128zm320 0V384H576V128H320zM178.3 175.9c-3.2-7.2-10.4-11.9-18.3-11.9s-15.1 4.7-18.3 11.9l-64 144c-4.5 10.1 .1 21.9 10.2 26.4s21.9-.1 26.4-10.2l8.9-20.1h73.6l8.9 20.1c4.5 10.1 16.3 14.6 26.4 10.2s14.6-16.3 10.2-26.4l-64-144zM160 233.2L179 276H141l19-42.8zM448 164c11 0 20 9 20 20v4h44 16c11 0 20 9 20 20s-9 20-20 20h-2l-1.6 4.5c-8.9 24.4-22.4 46.6-39.6 65.4c.9 .6 1.8 1.1 2.7 1.6l18.9 11.3c9.5 5.7 12.5 18 6.9 27.4s-18 12.5-27.4 6.9l-18.9-11.3c-4.5-2.7-8.8-5.5-13.1-8.5c-10.6 7.5-21.9 14-34 19.4l-3.6 1.6c-10.1 4.5-21.9-.1-26.4-10.2s.1-21.9 10.2-26.4l3.6-1.6c6.4-2.9 12.6-6.1 18.5-9.8l-12.2-12.2c-7.8-7.8-7.8-20.5 0-28.3s20.5-7.8 28.3 0l14.6 14.6 .5 .5c12.4-13.1 22.5-28.3 29.8-45H448 376c-11 0-20-9-20-20s9-20 20-20h52v-4c0-11 9-20 20-20z"]},jk={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M3.9 54.9C10.5 40.9 24.5 32 40 32H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9V448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6V320.9L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]},Hk={prefix:"fas",iconName:"wrench",icon:[512,512,[128295],"f0ad","M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7H336c-8.8 0-16-7.2-16-16V118.6c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160c0 19.1 3.4 37.5 9.5 54.5L19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c17 6.2 35.4 9.5 54.5 9.5zM80 408a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},Wk={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},Uk=Wk,Yk={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},qk={prefix:"fas",iconName:"sort-up",icon:[320,512,["sort-asc"],"f0de","M182.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},Gk={prefix:"fas",iconName:"table-cells",icon:[512,512,["th"],"f00a","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 64v64H64V96h88zm56 0h88v64H208V96zm240 0v64H360V96h88zM64 224h88v64H64V224zm232 0v64H208V224h88zm64 0h88v64H360V224zM152 352v64H64V352h88zm56 0h88v64H208V352zm240 0v64H360V352h88z"]},Xk=Gk,Kk={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Jk=Kk,Zk={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]},Qk={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},e8=Qk,t8={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]},n8=t8,r8={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"]},a8={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},i8=a8,o8={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},s8={prefix:"fas",iconName:"ranking-star",icon:[640,512,[],"e561","M353.8 54.1L330.2 6.3c-3.9-8.3-16.1-8.6-20.4 0L286.2 54.1l-52.3 7.5c-9.3 1.4-13.3 12.9-6.4 19.8l38 37-9 52.1c-1.4 9.3 8.2 16.5 16.8 12.2l46.9-24.8 46.6 24.4c8.6 4.3 18.3-2.9 16.8-12.2l-9-52.1 38-36.6c6.8-6.8 2.9-18.3-6.4-19.8l-52.3-7.5zM256 256c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V288c0-17.7-14.3-32-32-32H256zM32 320c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H160c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32H32zm416 96v64c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V416c0-17.7-14.3-32-32-32H480c-17.7 0-32 14.3-32 32z"]},l8={prefix:"fas",iconName:"copy",icon:[512,512,[],"f0c5","M272 0H396.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H272c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128H192v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},c8={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},d8={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},u8=d8,f8={prefix:"fas",iconName:"hammer",icon:[576,512,[128296],"f6e3","M413.5 237.5c-28.2 4.8-58.2-3.6-80-25.4l-38.1-38.1C280.4 159 272 138.8 272 117.6V105.5L192.3 62c-5.3-2.9-8.6-8.6-8.3-14.7s3.9-11.5 9.5-14l47.2-21C259.1 4.2 279 0 299.2 0h18.1c36.7 0 72 14 98.7 39.1l44.6 42c24.2 22.8 33.2 55.7 26.6 86L503 183l8-8c9.4-9.4 24.6-9.4 33.9 0l24 24c9.4 9.4 9.4 24.6 0 33.9l-88 88c-9.4 9.4-24.6 9.4-33.9 0l-24-24c-9.4-9.4-9.4-24.6 0-33.9l8-8-17.5-17.5zM27.4 377.1L260.9 182.6c3.5 4.9 7.5 9.6 11.8 14l38.1 38.1c6 6 12.4 11.2 19.2 15.7L134.9 484.6c-14.5 17.4-36 27.4-58.6 27.4C34.1 512 0 477.8 0 435.7c0-22.6 10.1-44.1 27.4-58.6z"]},p8={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]},h8=p8,m8={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},g8={prefix:"fas",iconName:"magnifying-glass-plus",icon:[512,512,["search-plus"],"f00e","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM184 296c0 13.3 10.7 24 24 24s24-10.7 24-24V232h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H232V120c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H120c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z"]},b8=g8,y8={prefix:"fas",iconName:"books",icon:[512,512,[128218],"f5db","M0 32C0 14.3 14.3 0 32 0H96c17.7 0 32 14.3 32 32V96H0V32zm0 96H128V384H0V128zM0 416H128v64c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V416zM160 32c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32V96H160V32zm0 96H288V384H160V128zm0 288H288v64c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V416zm203.6-19.9L320 232.6V142.8l100.4-26.9 66 247.4L363.6 396.1zM412.2 85L320 109.6V11l36.9-9.9c16.9-4.6 34.4 5.5 38.9 22.6L412.2 85zM371.8 427l122.8-32.9 16.3 61.1c4.5 17-5.5 34.5-22.5 39.1l-61.4 16.5c-16.9 4.6-34.4-5.5-38.9-22.6L371.8 427z"]},_8={prefix:"fas",iconName:"treasure-chest",icon:[576,512,[],"f723","M0 160v96H128V32C57.3 32 0 89.3 0 160zM0 432c0 26.5 21.5 48 48 48h80V288H0V432zM416 288H352v32c0 17.7-14.3 32-32 32H256c-17.7 0-32-14.3-32-32V288H160V480H416V288zM528 480c26.5 0 48-21.5 48-48V288H448V480h80zm48-320c0-70.7-57.3-128-128-128V256H576V160zM416 256V32H160V256h64V224c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v32h64zM304 240c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V240z"]},v8={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]},w8={prefix:"fas",iconName:"chart-mixed",icon:[512,512,["analytics"],"f643","M500 89c13.8-11 16-31.2 5-45s-31.2-16-45-5L319.4 151.5 211.2 70.4c-11.7-8.8-27.8-8.5-39.2 .6L12 199c-13.8 11-16 31.2-5 45s31.2 16 45 5L192.6 136.5l108.2 81.1c11.7 8.8 27.8 8.5 39.2-.6L500 89zM160 256V448c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-17.7-14.3-32-32-32s-32 14.3-32 32zM32 352v96c0 17.7 14.3 32 32 32s32-14.3 32-32V352c0-17.7-14.3-32-32-32s-32 14.3-32 32zm288-64c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32s32-14.3 32-32V320c0-17.7-14.3-32-32-32zm96-32V448c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-17.7-14.3-32-32-32s-32 14.3-32 32z"]},k8={prefix:"fas",iconName:"chart-simple-horizontal",icon:[448,512,[],"e474","M400 320c26.5 0 48-21.5 48-48l0-32c0-26.5-21.5-48-48-48L48 192c-26.5 0-48 21.5-48 48l0 32c0 26.5 21.5 48 48 48l352 0zM208 480c26.5 0 48-21.5 48-48l0-32c0-26.5-21.5-48-48-48L48 352c-26.5 0-48 21.5-48 48l0 32c0 26.5 21.5 48 48 48l160 0zM384 112l0-32c0-26.5-21.5-48-48-48L48 32C21.5 32 0 53.5 0 80l0 32c0 26.5 21.5 48 48 48l288 0c26.5 0 48-21.5 48-48z"]},x8={prefix:"fas",iconName:"cards-blank",icon:[640,512,[],"e4df","M27.8 118.8C1.2 134.2-7.9 168.2 7.5 194.9l167 289.3c15.4 26.6 49.4 35.8 76.1 20.4L443.4 393.2c26.6-15.4 35.8-49.4 20.4-76.1L296.8 27.8C281.4 1.2 247.3-7.9 220.7 7.5L27.8 118.8zM459.4 420.9L324.1 499c9.7 8.1 22.2 13 35.9 13H584c30.9 0 56-25.1 56-56V120c0-30.9-25.1-56-56-56H360c-1.8 0-3.5 .1-5.3 .2L491.5 301.1c24.2 41.9 9.8 95.6-32.1 119.8z"]},S8={prefix:"fab",iconName:"discord",icon:[640,512,[],"f392","M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"]},C8={prefix:"fab",iconName:"reddit-alien",icon:[512,512,[],"f281","M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"]},E8={prefix:"fab",iconName:"facebook",icon:[512,512,[62e3],"f09a","M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"]},A8={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]};function T8(){ig.add(Ok,o8,b8,jk,u8,c8,Zk,Jk,Yk,m8,Uk,Fk,qk,kk,Mk,Bk,Ak,i8,zk,Xk,Ik,l8,Pk,Hk,Ek,wk,n8,A8,Vk,E8,C8,S8,Sk,h8,e8,Nk,Rk,x8,_8,$k,w8,y8,s8,f8,k8,v8,Lk,r8),ig.add({prefix:"fak",iconName:"chart-decks",icon:[640,512,[],"","M564 89c13.8-11 16-31.2 5-45s-31.2-16-45-5L383.4 151.5 275.2 70.4c-11.7-8.8-27.8-8.5-39.2 .6L76 199c-13.8 11-16 31.2-5 45s31.2 16 45 5L256.6 136.5l108.2 81.1c11.7 8.8 27.8 8.5 39.2-.6L564 89zM224 256V448c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-17.7-14.3-32-32-32s-32 14.3-32 32zM96 352v96c0 17.7 14.3 32 32 32s32-14.3 32-32V352c0-17.7-14.3-32-32-32s-32 14.3-32 32zM352 464c0 16 16 16 32 16l160 0c16 0 32 0 32-16s-16-16-32-16H384c-16 0-32 0-32 16zm0-64c0 16 16 16 32 16l160 0c16 0 32 0 32-16s-16-16-32-16H384c-16 0-32 0-32 16zm0-64c0 16 16 16 32 16l160 0c16 0 32 0 32-16s-16-16-32-16H384c-16 0-32 0-32 16z"]},{prefix:"fak",iconName:"chart-cards",icon:[640,512,[],"","M564 89c13.8-11 16-31.2 5-45s-31.2-16-45-5L383.4 151.5 275.2 70.4c-11.7-8.8-27.8-8.5-39.2 .6L76 199c-13.8 11-16 31.2-5 45s31.2 16 45 5L256.6 136.5l108.2 81.1c11.7 8.8 27.8 8.5 39.2-.6L564 89zM224 256V448c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-17.7-14.3-32-32-32s-32 14.3-32 32zM96 352v96c0 17.7 14.3 32 32 32s32-14.3 32-32V352c0-17.7-14.3-32-32-32s-32 14.3-32 32zm480-96c0-16-16-32-32-32H448c-16 0-32.6 16-32.6 32s0 176 .6 192s16 32 32 32h96c16 0 32-16 32-32V256z"]},{prefix:"fak",iconName:"chart-decks-2",icon:[603,512,[],"","M467.1 210.8c4.3 0-60.2 0 15.1 0C467.8 108.4 377.7 0 271.4 0c-5.1 0-10.1 .2-15.1 .6V225.9h75.3c0-15.1 45.2-15.1 135.5-15.1zM301.5 346.4c0-27.1 0-45.2 0-75.3H211.1V30.6C93.4 38.4 .3 136.3 .3 256c0 124.8 101.2 225.9 225.9 225.9c41.2 0 42.1 4.2 75.3-15.1c0-45.2 0-80.5 0-120.5zm45.2 105.4c0 30.1 30.1 30.1 30.1 30.1H557.5s30.1 0 30.1-30.1s-30.1-30.1-30.1-30.1H376.8s-30.1 0-30.1 30.1zm0-90.4c0 30.1 30.1 30.1 30.1 30.1H557.5s30.1 0 30.1-30.1s-30.1-30.1-30.1-30.1H376.8s-30.1 0-30.1 30.1zm0-90.4c0 30.1 30.1 30.1 30.1 30.1H557.5s30.1 0 30.1-30.1s-30.1-30.1-30.1-30.1H376.8s-30.1 0-30.1 30.1z"]},{prefix:"fak",iconName:"chart-cards-2",icon:[603,512,[],"","M376.8 195.8c28.3-14.2 60.2 0 75.3 30.1h60.2c0-24.9-20.2-45.2-45.2-45.2H135.9c-24.9 0-45.2 20.2-45.2 45.2V256c0 24.9 20.2 45.2 45.2 45.2H256.3c-15.1-30.1 15.1-45.2 15.1-45.2s75.3-45.2 105.4-60.2zm-90.4 256c12.8 0 45.2 0 45.2 0L271.4 331.3H135.9c-24.9 0-45.2 20.2-45.2 45.2v30.1c0 24.9 20.2 45.2 45.2 45.2H286.4zM452.1 105.4V75.3c0-24.9-20.2-45.2-45.2-45.2H135.9c-24.9 0-45.2 20.2-45.2 45.2v30.1c0 24.9 20.2 45.2 45.2 45.2H406.9c24.9 0 45.2-20.2 45.2-45.2zM285.8 273.7c-13.8 8.2-18.5 26.2-10.5 40.3l86.4 153.2c8 14.1 25.6 19 39.4 10.8l99.8-59c13.8-8.2 18.5-26.2 10.6-40.3L425 225.5c-8-14.1-25.6-18.9-39.4-10.7l-99.9 58.9zM509.2 433.7l-70 41.3c5 4.3 11.5 6.9 18.6 6.9h116c16 0 29-13.3 29-29.6V274.4c0-16.4-13-29.6-29-29.6h-116c-.9 0-1.8 .1-2.7 .1l70.8 125.4c12.5 22.2 5.1 50.6-16.6 63.4z"]})}const Ot=nr.defineStore("cardJsonObject",{state:()=>({cardJsonObject:{}}),actions:{update(e){this.cardJsonObject=e}}}),Ee=nr.defineStore("dataJson",{state:()=>({dataJson:{keywords:[],patches:[],ranks:[],rarities:[],regions:[],runeterraChampions:[],seasons:[],servers:[],sets:[],spellSpeeds:[],types:[],vocabTerms:[],formats:[]}}),actions:{update(e){this.dataJson=e}}}),mu=nr.defineStore("cardJson",{state:()=>({cardJson:[]}),actions:{update(e){this.cardJson=e}}});function og(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function gu(e={},t={}){Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:og(t[n])&&og(e[n])&&Object.keys(t[n]).length>0&&gu(e[n],t[n])})}const sg={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function xa(){const e=typeof document<"u"?document:{};return gu(e,sg),e}const O8={document:sg,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function tn(){const e=typeof window<"u"?window:{};return gu(e,O8),e}function M8(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function bu(e,t=0){return setTimeout(e,t)}function _l(){return Date.now()}function N8(e){const t=tn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function D8(e,t="x"){const n=tn();let r,a,i;const o=N8(e);return n.WebKitCSSMatrix?(a=o.transform||o.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(l=>l.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix(a==="none"?"":a)):(i=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?a=i.m41:r.length===16?a=parseFloat(r[12]):a=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?a=i.m42:r.length===16?a=parseFloat(r[13]):a=parseFloat(r[5])),a||0}function vl(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function P8(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function nn(...e){const t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let r=1;r<e.length;r+=1){const a=e[r];if(a!=null&&!P8(a)){const i=Object.keys(Object(a)).filter(o=>n.indexOf(o)<0);for(let o=0,l=i.length;o<l;o+=1){const c=i[o],d=Object.getOwnPropertyDescriptor(a,c);d!==void 0&&d.enumerable&&(vl(t[c])&&vl(a[c])?a[c].__swiper__?t[c]=a[c]:nn(t[c],a[c]):!vl(t[c])&&vl(a[c])?(t[c]={},a[c].__swiper__?t[c]=a[c]:nn(t[c],a[c])):t[c]=a[c])}}}return t}function wl(e,t,n){e.style.setProperty(t,n)}function lg({swiper:e,targetPosition:t,side:n}){const r=tn(),a=-e.translate;let i=null,o;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const c=t>a?"next":"prev",d=(f,p)=>c==="next"&&f>=p||c==="prev"&&f<=p,u=()=>{o=new Date().getTime(),i===null&&(i=o);const f=Math.max(Math.min((o-i)/l,1),0),p=.5-Math.cos(f*Math.PI)/2;let h=a+p*(t-a);if(d(h,t)&&(h=t),e.wrapperEl.scrollTo({[n]:h}),d(h,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:h})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(u)};u()}function zn(e,t=""){return[...e.children].filter(n=>n.matches(t))}function cg(e,t=[]){const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:[t]),n}function I8(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function L8(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function Vr(e,t){return tn().getComputedStyle(e,null).getPropertyValue(t)}function dg(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function B8(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function ug(e,t,n){const r=tn();return n?e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom")):e.offsetWidth}let yu;function R8(){const e=tn(),t=xa();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function fg(){return yu||(yu=R8()),yu}let _u;function V8({userAgent:e}={}){const t=fg(),n=tn(),r=n.navigator.platform,a=e||n.navigator.userAgent,i={ios:!1,android:!1},o=n.screen.width,l=n.screen.height,c=a.match(/(Android);?[\s\/]+([\d.]+)?/);let d=a.match(/(iPad).*OS\s([\d_]+)/);const u=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!d&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=r==="Win32";let h=r==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&h&&t.touch&&g.indexOf(`${o}x${l}`)>=0&&(d=a.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),h=!1),c&&!p&&(i.os="android",i.android=!0),(d||f||u)&&(i.os="ios",i.ios=!0),i}function $8(e={}){return _u||(_u=V8(e)),_u}let vu;function F8(){const e=tn();let t=!1;function n(){const r=e.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(n()){const r=String(e.navigator.userAgent);if(r.includes("Version/")){const[a,i]=r.split("Version/")[1].split(" ")[0].split(".").map(o=>Number(o));t=a<16||a===16&&i<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function z8(){return vu||(vu=F8()),vu}function j8({swiper:e,on:t,emit:n}){const r=tn();let a=null,i=null;const o=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(a=new ResizeObserver(u=>{i=r.requestAnimationFrame(()=>{const{width:f,height:p}=e;let h=f,g=p;u.forEach(({contentBoxSize:b,contentRect:v,target:m})=>{m&&m!==e.el||(h=v?v.width:(b[0]||b).inlineSize,g=v?v.height:(b[0]||b).blockSize)}),(h!==f||g!==p)&&o()})}),a.observe(e.el))},c=()=>{i&&r.cancelAnimationFrame(i),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){l();return}r.addEventListener("resize",o),r.addEventListener("orientationchange",d)}),t("destroy",()=>{c(),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",d)})}function H8({swiper:e,extendParams:t,on:n,emit:r}){const a=[],i=tn(),o=(d,u={})=>{const f=i.MutationObserver||i.WebkitMutationObserver,p=new f(h=>{if(e.__preventObserver__)return;if(h.length===1){r("observerUpdate",h[0]);return}const g=function(){r("observerUpdate",h[0])};i.requestAnimationFrame?i.requestAnimationFrame(g):i.setTimeout(g,0)});p.observe(d,{attributes:typeof u.attributes>"u"?!0:u.attributes,childList:typeof u.childList>"u"?!0:u.childList,characterData:typeof u.characterData>"u"?!0:u.characterData}),a.push(p)},l=()=>{if(e.params.observer){if(e.params.observeParents){const d=B8(e.el);for(let u=0;u<d.length;u+=1)o(d[u])}o(e.el,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}},c=()=>{a.forEach(d=>{d.disconnect()}),a.splice(0,a.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",l),n("destroy",c)}const W8={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const a=n?"unshift":"push";return e.split(" ").forEach(i=>{r.eventsListeners[i]||(r.eventsListeners[i]=[]),r.eventsListeners[i][a](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function a(...i){r.off(e,a),a.__emitterProxy&&delete a.__emitterProxy,t.apply(r,i)}return a.__emitterProxy=t,r.on(e,a,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&n.eventsListeners[r].splice(i,1)})}),n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let n,r,a;return typeof e[0]=="string"||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),a=t):(n=e[0].events,r=e[0].data,a=e[0].context||t),r.unshift(a),(Array.isArray(n)?n:n.split(" ")).forEach(o=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(l=>{l.apply(a,[o,...r])}),t.eventsListeners&&t.eventsListeners[o]&&t.eventsListeners[o].forEach(l=>{l.apply(a,r)})}),t}};function U8(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(Vr(r,"padding-left")||0,10)-parseInt(Vr(r,"padding-right")||0,10),n=n-parseInt(Vr(r,"padding-top")||0,10)-parseInt(Vr(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function Y8(){const e=this;function t(D){return e.isHorizontal()?D:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[D]}function n(D,M){return parseFloat(D.getPropertyValue(t(M))||0)}const r=e.params,{wrapperEl:a,slidesEl:i,size:o,rtlTranslate:l,wrongRTL:c}=e,d=e.virtual&&r.virtual.enabled,u=d?e.virtual.slides.length:e.slides.length,f=zn(i,`.${e.params.slideClass}, swiper-slide`),p=d?e.virtual.slides.length:f.length;let h=[];const g=[],b=[];let v=r.slidesOffsetBefore;typeof v=="function"&&(v=r.slidesOffsetBefore.call(e));let m=r.slidesOffsetAfter;typeof m=="function"&&(m=r.slidesOffsetAfter.call(e));const y=e.snapGrid.length,w=e.slidesGrid.length;let _=r.spaceBetween,k=-v,x=0,C=0;if(typeof o>"u")return;typeof _=="string"&&_.indexOf("%")>=0&&(_=parseFloat(_.replace("%",""))/100*o),e.virtualSize=-_,f.forEach(D=>{l?D.style.marginLeft="":D.style.marginRight="",D.style.marginBottom="",D.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(wl(a,"--swiper-centered-offset-before",""),wl(a,"--swiper-centered-offset-after",""));const E=r.grid&&r.grid.rows>1&&e.grid;E&&e.grid.initSlides(p);let T;const B=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(D=>typeof r.breakpoints[D].slidesPerView<"u").length>0;for(let D=0;D<p;D+=1){T=0;let M;if(f[D]&&(M=f[D]),E&&e.grid.updateSlide(D,M,p,t),!(f[D]&&Vr(M,"display")==="none")){if(r.slidesPerView==="auto"){B&&(f[D].style[t("width")]="");const R=getComputedStyle(M),re=M.style.transform,J=M.style.webkitTransform;if(re&&(M.style.transform="none"),J&&(M.style.webkitTransform="none"),r.roundLengths)T=e.isHorizontal()?ug(M,"width",!0):ug(M,"height",!0);else{const Q=n(R,"width"),K=n(R,"padding-left"),de=n(R,"padding-right"),q=n(R,"margin-left"),se=n(R,"margin-right"),pe=R.getPropertyValue("box-sizing");if(pe&&pe==="border-box")T=Q+q+se;else{const{clientWidth:Oe,offsetWidth:He}=M;T=Q+K+de+q+se+(He-Oe)}}re&&(M.style.transform=re),J&&(M.style.webkitTransform=J),r.roundLengths&&(T=Math.floor(T))}else T=(o-(r.slidesPerView-1)*_)/r.slidesPerView,r.roundLengths&&(T=Math.floor(T)),f[D]&&(f[D].style[t("width")]=`${T}px`);f[D]&&(f[D].swiperSlideSize=T),b.push(T),r.centeredSlides?(k=k+T/2+x/2+_,x===0&&D!==0&&(k=k-o/2-_),D===0&&(k=k-o/2-_),Math.abs(k)<1/1e3&&(k=0),r.roundLengths&&(k=Math.floor(k)),C%r.slidesPerGroup===0&&h.push(k),g.push(k)):(r.roundLengths&&(k=Math.floor(k)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup===0&&h.push(k),g.push(k),k=k+T+_),e.virtualSize+=T+_,x=T,C+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+m,l&&c&&(r.effect==="slide"||r.effect==="coverflow")&&(a.style.width=`${e.virtualSize+r.spaceBetween}px`),r.setWrapperSize&&(a.style[t("width")]=`${e.virtualSize+r.spaceBetween}px`),E&&e.grid.updateWrapperSize(T,h,t),!r.centeredSlides){const D=[];for(let M=0;M<h.length;M+=1){let R=h[M];r.roundLengths&&(R=Math.floor(R)),h[M]<=e.virtualSize-o&&D.push(R)}h=D,Math.floor(e.virtualSize-o)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-o)}if(d&&r.loop){const D=b[0]+_;if(r.slidesPerGroup>1){const M=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),R=D*r.slidesPerGroup;for(let re=0;re<M;re+=1)h.push(h[h.length-1]+R)}for(let M=0;M<e.virtual.slidesBefore+e.virtual.slidesAfter;M+=1)r.slidesPerGroup===1&&h.push(h[h.length-1]+D),g.push(g[g.length-1]+D),e.virtualSize+=D}if(h.length===0&&(h=[0]),r.spaceBetween!==0){const D=e.isHorizontal()&&l?"marginLeft":t("marginRight");f.filter((M,R)=>!r.cssMode||r.loop?!0:R!==f.length-1).forEach(M=>{M.style[D]=`${_}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let D=0;b.forEach(R=>{D+=R+(r.spaceBetween?r.spaceBetween:0)}),D-=r.spaceBetween;const M=D-o;h=h.map(R=>R<0?-v:R>M?M+m:R)}if(r.centerInsufficientSlides){let D=0;if(b.forEach(M=>{D+=M+(r.spaceBetween?r.spaceBetween:0)}),D-=r.spaceBetween,D<o){const M=(o-D)/2;h.forEach((R,re)=>{h[re]=R-M}),g.forEach((R,re)=>{g[re]=R+M})}}if(Object.assign(e,{slides:f,snapGrid:h,slidesGrid:g,slidesSizesGrid:b}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){wl(a,"--swiper-centered-offset-before",`${-h[0]}px`),wl(a,"--swiper-centered-offset-after",`${e.size/2-b[b.length-1]/2}px`);const D=-e.snapGrid[0],M=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(R=>R+D),e.slidesGrid=e.slidesGrid.map(R=>R+M)}if(p!==u&&e.emit("slidesLengthChange"),h.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),g.length!==w&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),!d&&!r.cssMode&&(r.effect==="slide"||r.effect==="fade")){const D=`${r.containerModifierClass}backface-hidden`,M=e.el.classList.contains(D);p<=r.maxBackfaceHiddenSlides?M||e.el.classList.add(D):M&&e.el.classList.remove(D)}}function q8(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let a=0,i;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const o=l=>r?t.slides[t.getSlideIndexByData(l)]:t.slides[l];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(l=>{n.push(l)});else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const l=t.activeIndex+i;if(l>t.slides.length&&!r)break;n.push(o(l))}else n.push(o(t.activeIndex));for(i=0;i<n.length;i+=1)if(typeof n[i]<"u"){const l=n[i].offsetHeight;a=l>a?l:a}(a||a===0)&&(t.wrapperEl.style.height=`${a}px`)}function G8(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()}function X8(e=this&&this.translate||0){const t=this,n=t.params,{slides:r,rtlTranslate:a,snapGrid:i}=t;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let o=-e;a&&(o=e),r.forEach(l=>{l.classList.remove(n.slideVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let l=0;l<r.length;l+=1){const c=r[l];let d=c.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(d-=r[0].swiperSlideOffset);const u=(o+(n.centeredSlides?t.minTranslate():0)-d)/(c.swiperSlideSize+n.spaceBetween),f=(o-i[0]+(n.centeredSlides?t.minTranslate():0)-d)/(c.swiperSlideSize+n.spaceBetween),p=-(o-d),h=p+t.slidesSizesGrid[l];(p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size)&&(t.visibleSlides.push(c),t.visibleSlidesIndexes.push(l),r[l].classList.add(n.slideVisibleClass)),c.progress=a?-u:u,c.originalProgress=a?-f:f}}function K8(e){const t=this;if(typeof e>"u"){const u=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*u||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:i,isEnd:o,progressLoop:l}=t;const c=i,d=o;if(r===0)a=0,i=!0,o=!0;else{a=(e-t.minTranslate())/r;const u=Math.abs(e-t.minTranslate())<1,f=Math.abs(e-t.maxTranslate())<1;i=u||a<=0,o=f||a>=1,u&&(a=0),f&&(a=1)}if(n.loop){const u=t.getSlideIndexByData(0),f=t.getSlideIndexByData(t.slides.length-1),p=t.slidesGrid[u],h=t.slidesGrid[f],g=t.slidesGrid[t.slidesGrid.length-1],b=Math.abs(e);b>=p?l=(b-p)/g:l=(b+g-h)/g,l>1&&(l-=1)}Object.assign(t,{progress:a,progressLoop:l,isBeginning:i,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&!c&&t.emit("reachBeginning toEdge"),o&&!d&&t.emit("reachEnd toEdge"),(c&&!i||d&&!o)&&t.emit("fromEdge"),t.emit("progress",a)}function J8(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:a}=e,i=e.virtual&&n.virtual.enabled,o=c=>zn(r,`.${n.slideClass}${c}, swiper-slide${c}`)[0];t.forEach(c=>{c.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)});let l;if(i)if(n.loop){let c=a-e.virtual.slidesBefore;c<0&&(c=e.virtual.slides.length+c),c>=e.virtual.slides.length&&(c-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${c}"]`)}else l=o(`[data-swiper-slide-index="${a}"]`);else l=t[a];if(l){l.classList.add(n.slideActiveClass);let c=L8(l,`.${n.slideClass}, swiper-slide`)[0];n.loop&&!c&&(c=t[0]),c&&c.classList.add(n.slideNextClass);let d=I8(l,`.${n.slideClass}, swiper-slide`)[0];n.loop&&!d===0&&(d=t[t.length-1]),d&&d.classList.add(n.slidePrevClass)}e.emitSlidesClasses()}const kl=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){const a=r.querySelector(`.${e.params.lazyPreloaderClass}`);a&&a.remove()}},pg=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},wu=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex,i=a+r-1;if(e.params.rewind)for(let o=a-t;o<=i+t;o+=1){const l=(o%n+n)%n;l!==a&&l>i&&pg(e,l)}else for(let o=Math.max(i-t,0);o<=Math.min(i+t,n-1);o+=1)o!==a&&o>i&&pg(e,o)};function Z8(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let a;for(let i=0;i<t.length;i+=1)typeof t[i+1]<"u"?r>=t[i]&&r<t[i+1]-(t[i+1]-t[i])/2?a=i:r>=t[i]&&r<t[i+1]&&(a=i+1):r>=t[i]&&(a=i);return n.normalizeSlideIndex&&(a<0||typeof a>"u")&&(a=0),a}function Q8(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:a,activeIndex:i,realIndex:o,snapIndex:l}=t;let c=e,d;const u=p=>{let h=p-t.virtual.slidesBefore;return h<0&&(h=t.virtual.slides.length+h),h>=t.virtual.slides.length&&(h-=t.virtual.slides.length),h};if(typeof c>"u"&&(c=Z8(t)),r.indexOf(n)>=0)d=r.indexOf(n);else{const p=Math.min(a.slidesPerGroupSkip,c);d=p+Math.floor((c-p)/a.slidesPerGroup)}if(d>=r.length&&(d=r.length-1),c===i){d!==l&&(t.snapIndex=d,t.emit("snapIndexChange")),t.params.loop&&t.virtual&&t.params.virtual.enabled&&(t.realIndex=u(c));return}let f;t.virtual&&a.virtual.enabled&&a.loop?f=u(c):t.slides[c]?f=parseInt(t.slides[c].getAttribute("data-swiper-slide-index")||c,10):f=c,Object.assign(t,{previousSnapIndex:l,snapIndex:d,previousRealIndex:o,realIndex:f,previousIndex:i,activeIndex:c}),t.initialized&&wu(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==f&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}function e6(e){const t=this,n=t.params,r=e.closest(`.${n.slideClass}, swiper-slide`);let a=!1,i;if(r){for(let o=0;o<t.slides.length;o+=1)if(t.slides[o]===r){a=!0,i=o;break}}if(r&&a)t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=i;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}n.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}const t6={updateSize:U8,updateSlides:Y8,updateAutoHeight:q8,updateSlidesOffset:G8,updateSlidesProgress:X8,updateProgress:K8,updateSlidesClasses:J8,updateActiveIndex:Q8,updateClickedSlide:e6};function n6(e=this.isHorizontal()?"x":"y"){const t=this,{params:n,rtlTranslate:r,translate:a,wrapperEl:i}=t;if(n.virtualTranslate)return r?-a:a;if(n.cssMode)return a;let o=D8(i,e);return o+=t.cssOverflowAdjustment(),r&&(o=-o),o||0}function r6(e,t){const n=this,{rtlTranslate:r,params:a,wrapperEl:i,progress:o}=n;let l=0,c=0;const d=0;n.isHorizontal()?l=r?-e:e:c=e,a.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,a.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:a.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),i.style.transform=`translate3d(${l}px, ${c}px, ${d}px)`);let u;const f=n.maxTranslate()-n.minTranslate();f===0?u=0:u=(e-n.minTranslate())/f,u!==o&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function a6(){return-this.snapGrid[0]}function i6(){return-this.snapGrid[this.snapGrid.length-1]}function o6(e=0,t=this.params.speed,n=!0,r=!0,a){const i=this,{params:o,wrapperEl:l}=i;if(i.animating&&o.preventInteractionOnTransition)return!1;const c=i.minTranslate(),d=i.maxTranslate();let u;if(r&&e>c?u=c:r&&e<d?u=d:u=e,i.updateProgress(u),o.cssMode){const f=i.isHorizontal();if(t===0)l[f?"scrollLeft":"scrollTop"]=-u;else{if(!i.support.smoothScroll)return lg({swiper:i,targetPosition:-u,side:f?"left":"top"}),!0;l.scrollTo({[f?"left":"top"]:-u,behavior:"smooth"})}return!0}return t===0?(i.setTransition(0),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",t,a),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(u),n&&(i.emit("beforeTransitionStart",t,a),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(p){!i||i.destroyed||p.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}const s6={getTranslate:n6,setTranslate:r6,minTranslate:a6,maxTranslate:i6,translateTo:o6};function l6(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`),n.emit("setTransition",e,t)}function hg({swiper:e,runCallbacks:t,direction:n,step:r}){const{activeIndex:a,previousIndex:i}=e;let o=n;if(o||(a>i?o="next":a<i?o="prev":o="reset"),e.emit(`transition${r}`),t&&a!==i){if(o==="reset"){e.emit(`slideResetTransition${r}`);return}e.emit(`slideChangeTransition${r}`),o==="next"?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`)}}function c6(e=!0,t){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),hg({swiper:n,runCallbacks:e,direction:t,step:"Start"}))}function d6(e=!0,t){const n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),hg({swiper:n,runCallbacks:e,direction:t,step:"End"}))}const u6={setTransition:l6,transitionStart:c6,transitionEnd:d6};function f6(e=0,t=this.params.speed,n=!0,r,a){typeof e=="string"&&(e=parseInt(e,10));const i=this;let o=e;o<0&&(o=0);const{params:l,snapGrid:c,slidesGrid:d,previousIndex:u,activeIndex:f,rtlTranslate:p,wrapperEl:h,enabled:g}=i;if(i.animating&&l.preventInteractionOnTransition||!g&&!r&&!a)return!1;const b=Math.min(i.params.slidesPerGroupSkip,o);let v=b+Math.floor((o-b)/i.params.slidesPerGroup);v>=c.length&&(v=c.length-1);const m=-c[v];if(l.normalizeSlideIndex)for(let w=0;w<d.length;w+=1){const _=-Math.floor(m*100),k=Math.floor(d[w]*100),x=Math.floor(d[w+1]*100);typeof d[w+1]<"u"?_>=k&&_<x-(x-k)/2?o=w:_>=k&&_<x&&(o=w+1):_>=k&&(o=w)}if(i.initialized&&o!==f&&(!i.allowSlideNext&&m<i.translate&&m<i.minTranslate()||!i.allowSlidePrev&&m>i.translate&&m>i.maxTranslate()&&(f||0)!==o))return!1;o!==(u||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(m);let y;if(o>f?y="next":o<f?y="prev":y="reset",p&&-m===i.translate||!p&&m===i.translate)return i.updateActiveIndex(o),l.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),l.effect!=="slide"&&i.setTranslate(m),y!=="reset"&&(i.transitionStart(n,y),i.transitionEnd(n,y)),!1;if(l.cssMode){const w=i.isHorizontal(),_=p?m:-m;if(t===0){const k=i.virtual&&i.params.virtual.enabled;k&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),k&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[w?"scrollLeft":"scrollTop"]=_})):h[w?"scrollLeft":"scrollTop"]=_,k&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1})}else{if(!i.support.smoothScroll)return lg({swiper:i,targetPosition:_,side:w?"left":"top"}),!0;h.scrollTo({[w?"left":"top"]:_,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(m),i.updateActiveIndex(o),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,y),t===0?i.transitionEnd(n,y):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(_){!i||i.destroyed||_.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,y))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0}function p6(e=0,t=this.params.speed,n=!0,r){typeof e=="string"&&(e=parseInt(e,10));const a=this;let i=e;return a.params.loop&&(a.virtual&&a.params.virtual.enabled?i=i+a.virtual.slidesBefore:i=a.getSlideIndexByData(i)),a.slideTo(i,t,n,r)}function h6(e=this.params.speed,t=!0,n){const r=this,{enabled:a,params:i,animating:o}=r;if(!a)return r;let l=i.slidesPerGroup;i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(l=Math.max(r.slidesPerViewDynamic("current",!0),1));const c=r.activeIndex<i.slidesPerGroupSkip?1:l,d=r.virtual&&i.virtual.enabled;if(i.loop){if(o&&!d&&i.loopPreventsSliding)return!1;r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft}return i.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+c,e,t,n)}function m6(e=this.params.speed,t=!0,n){const r=this,{params:a,snapGrid:i,slidesGrid:o,rtlTranslate:l,enabled:c,animating:d}=r;if(!c)return r;const u=r.virtual&&a.virtual.enabled;if(a.loop){if(d&&!u&&a.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const f=l?r.translate:-r.translate;function p(m){return m<0?-Math.floor(Math.abs(m)):Math.floor(m)}const h=p(f),g=i.map(m=>p(m));let b=i[g.indexOf(h)-1];if(typeof b>"u"&&a.cssMode){let m;i.forEach((y,w)=>{h>=y&&(m=w)}),typeof m<"u"&&(b=i[m>0?m-1:m])}let v=0;if(typeof b<"u"&&(v=o.indexOf(b),v<0&&(v=r.activeIndex-1),a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(v=v-r.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),a.rewind&&r.isBeginning){const m=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(m,e,t,n)}return r.slideTo(v,e,t,n)}function g6(e=this.params.speed,t=!0,n){const r=this;return r.slideTo(r.activeIndex,e,t,n)}function b6(e=this.params.speed,t=!0,n,r=.5){const a=this;let i=a.activeIndex;const o=Math.min(a.params.slidesPerGroupSkip,i),l=o+Math.floor((i-o)/a.params.slidesPerGroup),c=a.rtlTranslate?a.translate:-a.translate;if(c>=a.snapGrid[l]){const d=a.snapGrid[l],u=a.snapGrid[l+1];c-d>(u-d)*r&&(i+=a.params.slidesPerGroup)}else{const d=a.snapGrid[l-1],u=a.snapGrid[l];c-d<=(u-d)*r&&(i-=a.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,a.slidesGrid.length-1),a.slideTo(i,e,t,n)}function y6(){const e=this,{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let a=e.clickedIndex,i;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?a<e.loopedSlides-r/2||a>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),a=e.getSlideIndex(zn(n,`${o}[data-swiper-slide-index="${i}"]`)[0]),bu(()=>{e.slideTo(a)})):e.slideTo(a):a>e.slides.length-r?(e.loopFix(),a=e.getSlideIndex(zn(n,`${o}[data-swiper-slide-index="${i}"]`)[0]),bu(()=>{e.slideTo(a)})):e.slideTo(a)}else e.slideTo(a)}const _6={slideTo:f6,slideToLoop:p6,slideNext:h6,slidePrev:m6,slideReset:g6,slideToClosest:b6,slideToClickedSlide:y6};function v6(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;zn(r,`.${n.slideClass}, swiper-slide`).forEach((i,o)=>{i.setAttribute("data-swiper-slide-index",o)}),t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})}function w6({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:r,activeSlideIndex:a,byController:i,byMousewheel:o}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:u,slidesEl:f,params:p}=l;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled){t&&(!p.centeredSlides&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):p.centeredSlides&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0)),l.allowSlidePrev=d,l.allowSlideNext=u,l.emit("loopFix");return}const h=p.slidesPerView==="auto"?l.slidesPerViewDynamic():Math.ceil(parseFloat(p.slidesPerView,10));let g=p.loopedSlides||h;g%p.slidesPerGroup!==0&&(g+=p.slidesPerGroup-g%p.slidesPerGroup),l.loopedSlides=g;const b=[],v=[];let m=l.activeIndex;typeof a>"u"?a=l.getSlideIndex(l.slides.filter(x=>x.classList.contains(p.slideActiveClass))[0]):m=a;const y=n==="next"||!n,w=n==="prev"||!n;let _=0,k=0;if(a<g){_=Math.max(g-a,p.slidesPerGroup);for(let x=0;x<g-a;x+=1){const C=x-Math.floor(x/c.length)*c.length;b.push(c.length-C-1)}}else if(a>l.slides.length-g*2){k=Math.max(a-(l.slides.length-g*2),p.slidesPerGroup);for(let x=0;x<k;x+=1){const C=x-Math.floor(x/c.length)*c.length;v.push(C)}}if(w&&b.forEach(x=>{f.prepend(l.slides[x])}),y&&v.forEach(x=>{f.append(l.slides[x])}),l.recalcSlides(),p.slidesPerView==="auto"&&l.updateSlides(),p.watchSlidesProgress&&l.updateSlidesOffset(),t){if(b.length>0&&w)if(typeof e>"u"){const x=l.slidesGrid[m],E=l.slidesGrid[m+_]-x;o?l.setTranslate(l.translate-E):(l.slideTo(m+_,0,!1,!0),r&&(l.touches[l.isHorizontal()?"startX":"startY"]+=E))}else r&&l.slideToLoop(e,0,!1,!0);else if(v.length>0&&y)if(typeof e>"u"){const x=l.slidesGrid[m],E=l.slidesGrid[m-k]-x;o?l.setTranslate(l.translate-E):(l.slideTo(m-k,0,!1,!0),r&&(l.touches[l.isHorizontal()?"startX":"startY"]+=E))}else l.slideToLoop(e,0,!1,!0)}if(l.allowSlidePrev=d,l.allowSlideNext=u,l.controller&&l.controller.control&&!i){const x={slideRealIndex:e,slideTo:!1,direction:n,setTranslate:r,activeSlideIndex:a,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(C=>{!C.destroyed&&C.params.loop&&C.loopFix(x)}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix(x)}l.emit("loopFix")}function k6(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(a=>{const i=typeof a.swiperSlideIndex>"u"?a.getAttribute("data-swiper-slide-index")*1:a.swiperSlideIndex;r[i]=a}),e.slides.forEach(a=>{a.removeAttribute("data-swiper-slide-index")}),r.forEach(a=>{n.append(a)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}const x6={loopCreate:v6,loopFix:w6,loopDestroy:k6};function S6(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function C6(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}const E6={setGrabCursor:S6,unsetGrabCursor:C6};function A6(e,t=this){function n(r){if(!r||r===xa()||r===tn())return null;r.assignedSlot&&(r=r.assignedSlot);const a=r.closest(e);return!a&&!r.getRootNode?null:a||n(r.getRootNode().host)}return n(t)}function T6(e){const t=this,n=xa(),r=tn(),a=t.touchEventsData;a.evCache.push(e);const{params:i,touches:o,enabled:l}=t;if(!l||!i.simulateTouch&&e.pointerType==="mouse"||t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let c=e;c.originalEvent&&(c=c.originalEvent);let d=c.target;if(i.touchEventsTarget==="wrapper"&&!t.wrapperEl.contains(d)||"which"in c&&c.which===3||"button"in c&&c.button>0||a.isTouched&&a.isMoved)return;const u=!!i.noSwipingClass&&i.noSwipingClass!=="",f=e.composedPath?e.composedPath():e.path;u&&c.target&&c.target.shadowRoot&&f&&(d=f[0]);const p=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,h=!!(c.target&&c.target.shadowRoot);if(i.noSwiping&&(h?A6(p,d):d.closest(p))){t.allowClick=!0;return}if(i.swipeHandler&&!d.closest(i.swipeHandler))return;o.currentX=c.pageX,o.currentY=c.pageY;const g=o.currentX,b=o.currentY,v=i.edgeSwipeDetection||i.iOSEdgeSwipeDetection,m=i.edgeSwipeThreshold||i.iOSEdgeSwipeThreshold;if(v&&(g<=m||g>=r.innerWidth-m))if(v==="prevent")e.preventDefault();else return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=g,o.startY=b,a.touchStartTime=_l(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(a.allowThresholdMove=!1);let y=!0;d.matches(a.focusableElements)&&(y=!1,d.nodeName==="SELECT"&&(a.isTouched=!1)),n.activeElement&&n.activeElement.matches(a.focusableElements)&&n.activeElement!==d&&n.activeElement.blur();const w=y&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||w)&&!d.isContentEditable&&c.preventDefault(),t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",c)}function O6(e){const t=xa(),n=this,r=n.touchEventsData,{params:a,touches:i,rtlTranslate:o,enabled:l}=n;if(!l||!a.simulateTouch&&e.pointerType==="mouse")return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c);return}const d=r.evCache.findIndex(x=>x.pointerId===c.pointerId);d>=0&&(r.evCache[d]=c);const u=r.evCache.length>1?r.evCache[0]:c,f=u.pageX,p=u.pageY;if(c.preventedByNestedSwiper){i.startX=f,i.startY=p;return}if(!n.allowTouchMove){c.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(i,{startX:f,startY:p,prevX:n.touches.currentX,prevY:n.touches.currentY,currentX:f,currentY:p}),r.touchStartTime=_l());return}if(a.touchReleaseOnEdges&&!a.loop){if(n.isVertical()){if(p<i.startY&&n.translate<=n.maxTranslate()||p>i.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(f<i.startX&&n.translate<=n.maxTranslate()||f>i.startX&&n.translate>=n.minTranslate())return}if(t.activeElement&&c.target===t.activeElement&&c.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}if(r.allowTouchCallbacks&&n.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;i.currentX=f,i.currentY=p;const h=i.currentX-i.startX,g=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(h**2+g**2)<n.params.threshold)return;if(typeof r.isScrolling>"u"){let x;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:h*h+g*g>=25&&(x=Math.atan2(Math.abs(g),Math.abs(h))*180/Math.PI,r.isScrolling=n.isHorizontal()?x>a.touchAngle:90-x>a.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),typeof r.startMoving>"u"&&(i.currentX!==i.startX||i.currentY!==i.startY)&&(r.startMoving=!0),r.isScrolling||n.zoom&&n.params.zoom&&n.params.zoom.enabled&&r.evCache.length>1){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!a.cssMode&&c.cancelable&&c.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&c.stopPropagation();let b=n.isHorizontal()?h:g,v=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;a.oneWayMovement&&(b=Math.abs(b)*(o?1:-1),v=Math.abs(v)*(o?1:-1)),i.diff=b,b*=a.touchRatio,o&&(b=-b,v=-v);const m=n.touchesDirection;n.swipeDirection=b>0?"prev":"next",n.touchesDirection=v>0?"prev":"next";const y=n.params.loop&&!a.cssMode;if(!r.isMoved){if(y&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const x=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(x)}r.allowMomentumBounce=!1,a.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}let w;r.isMoved&&m!==n.touchesDirection&&y&&Math.abs(b)>=1&&(n.loopFix({direction:n.swipeDirection,setTranslate:!0}),w=!0),n.emit("sliderMove",c),r.isMoved=!0,r.currentTranslate=b+r.startTranslate;let _=!0,k=a.resistanceRatio;if(a.touchReleaseOnEdges&&(k=0),b>0?(y&&!w&&r.currentTranslate>(a.centeredSlides?n.minTranslate()-n.size/2:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(_=!1,a.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+b)**k))):b<0&&(y&&!w&&r.currentTranslate<(a.centeredSlides?n.maxTranslate()+n.size/2:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(a.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(_=!1,a.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-b)**k))),_&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),a.threshold>0)if(Math.abs(b)>a.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY;return}}else{r.currentTranslate=r.startTranslate;return}!a.followFinger||a.cssMode||((a.freeMode&&a.freeMode.enabled&&n.freeMode||a.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&a.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function M6(e){const t=this,n=t.touchEventsData,r=n.evCache.findIndex(w=>w.pointerId===e.pointerId);if(r>=0&&n.evCache.splice(r,1),["pointercancel","pointerout","pointerleave"].includes(e.type)&&!(e.type==="pointercancel"&&(t.browser.isSafari||t.browser.isWebView)))return;const{params:a,touches:i,rtlTranslate:o,slidesGrid:l,enabled:c}=t;if(!c||!a.simulateTouch&&e.pointerType==="mouse")return;let d=e;if(d.originalEvent&&(d=d.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",d),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}a.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const u=_l(),f=u-n.touchStartTime;if(t.allowClick){const w=d.path||d.composedPath&&d.composedPath();t.updateClickedSlide(w&&w[0]||d.target),t.emit("tap click",d),f<300&&u-n.lastClickTime<300&&t.emit("doubleTap doubleClick",d)}if(n.lastClickTime=_l(),bu(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||i.diff===0||n.currentTranslate===n.startTranslate){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let p;if(a.followFinger?p=o?t.translate:-t.translate:p=-n.currentTranslate,a.cssMode)return;if(t.params.freeMode&&a.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:p});return}let h=0,g=t.slidesSizesGrid[0];for(let w=0;w<l.length;w+=w<a.slidesPerGroupSkip?1:a.slidesPerGroup){const _=w<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof l[w+_]<"u"?p>=l[w]&&p<l[w+_]&&(h=w,g=l[w+_]-l[w]):p>=l[w]&&(h=w,g=l[l.length-1]-l[l.length-2])}let b=null,v=null;a.rewind&&(t.isBeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(b=0));const m=(p-l[h])/g,y=h<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){if(!a.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(m>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?b:h+y):t.slideTo(h)),t.swipeDirection==="prev"&&(m>1-a.longSwipesRatio?t.slideTo(h+y):v!==null&&m<0&&Math.abs(m)>a.longSwipesRatio?t.slideTo(v):t.slideTo(h))}else{if(!a.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl)?d.target===t.navigation.nextEl?t.slideTo(h+y):t.slideTo(h):(t.swipeDirection==="next"&&t.slideTo(b!==null?b:h+y),t.swipeDirection==="prev"&&t.slideTo(v!==null?v:h))}}function mg(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:a,snapGrid:i}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=o&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!l?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=a,e.allowSlideNext=r,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function N6(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function D6(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let a;const i=e.maxTranslate()-e.minTranslate();i===0?a=0:a=(e.translate-e.minTranslate())/i,a!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function P6(e){const t=this;kl(t,e.target),t.update()}let gg=!1;function I6(){}const bg=(e,t)=>{const n=xa(),{params:r,el:a,wrapperEl:i,device:o}=e,l=!!r.nested,c=t==="on"?"addEventListener":"removeEventListener",d=t;a[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&a[c]("click",e.onClick,!0),r.cssMode&&i[c]("scroll",e.onScroll),r.updateOnWindowResize?e[d](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",mg,!0):e[d]("observerUpdate",mg,!0),a[c]("load",e.onLoad,{capture:!0})};function L6(){const e=this,t=xa(),{params:n}=e;e.onTouchStart=T6.bind(e),e.onTouchMove=O6.bind(e),e.onTouchEnd=M6.bind(e),n.cssMode&&(e.onScroll=D6.bind(e)),e.onClick=N6.bind(e),e.onLoad=P6.bind(e),gg||(t.addEventListener("touchstart",I6),gg=!0),bg(e,"on")}function B6(){bg(this,"off")}const R6={attachEvents:L6,detachEvents:B6},yg=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function V6(){const e=this,{realIndex:t,initialized:n,params:r,el:a}=e,i=r.breakpoints;if(!i||i&&Object.keys(i).length===0)return;const o=e.getBreakpoint(i,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const c=(o in i?i[o]:void 0)||e.originalParams,d=yg(e,r),u=yg(e,c),f=r.enabled;d&&!u?(a.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&u&&(a.classList.add(`${r.containerModifierClass}grid`),(c.grid.fill&&c.grid.fill==="column"||!c.grid.fill&&r.grid.fill==="column")&&a.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(b=>{const v=r[b]&&r[b].enabled,m=c[b]&&c[b].enabled;v&&!m&&e[b].disable(),!v&&m&&e[b].enable()});const p=c.direction&&c.direction!==r.direction,h=r.loop&&(c.slidesPerView!==r.slidesPerView||p);p&&n&&e.changeDirection(),nn(e.params,c);const g=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!g?e.disable():!f&&g&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",c),h&&n&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides()),e.emit("breakpoint",c)}function $6(e,t="window",n){if(!e||t==="container"&&!n)return;let r=!1;const a=tn(),i=t==="window"?a.innerHeight:n.clientHeight,o=Object.keys(e).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const c=parseFloat(l.substr(1));return{value:i*c,point:l}}return{value:l,point:l}});o.sort((l,c)=>parseInt(l.value,10)-parseInt(c.value,10));for(let l=0;l<o.length;l+=1){const{point:c,value:d}=o[l];t==="window"?a.matchMedia(`(min-width: ${d}px)`).matches&&(r=c):d<=n.clientWidth&&(r=c)}return r||"max"}const F6={setBreakpoint:V6,getBreakpoint:$6};function z6(e,t){const n=[];return e.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(a=>{r[a]&&n.push(t+a)}):typeof r=="string"&&n.push(t+r)}),n}function j6(){const e=this,{classNames:t,params:n,rtl:r,el:a,device:i}=e,o=z6(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),a.classList.add(...t),e.emitContainerClasses()}function H6(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}const W6={addClasses:j6,removeClasses:H6};function U6(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const a=e.slides.length-1,i=e.slidesGrid[a]+e.slidesSizesGrid[a]+r*2;e.isLocked=e.size>i}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}const Y6={checkOverflow:U6},_g={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function q6(e,t){return function(r={}){const a=Object.keys(r)[0],i=r[a];if(typeof i!="object"||i===null){nn(t,r);return}if(["navigation","pagination","scrollbar"].indexOf(a)>=0&&e[a]===!0&&(e[a]={auto:!0}),!(a in e&&"enabled"in i)){nn(t,r);return}e[a]===!0&&(e[a]={enabled:!0}),typeof e[a]=="object"&&!("enabled"in e[a])&&(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),nn(t,r)}}const ku={eventsEmitter:W8,update:t6,translate:s6,transition:u6,slide:_6,loop:x6,grabCursor:E6,events:R6,breakpoints:F6,checkOverflow:Y6,classes:W6},xu={};let yo=class Mr{constructor(...t){let n,r;t.length===1&&t[0].constructor&&Object.prototype.toString.call(t[0]).slice(8,-1)==="Object"?r=t[0]:[n,r]=t,r||(r={}),r=nn({},r),n&&!r.el&&(r.el=n);const a=xa();if(r.el&&typeof r.el=="string"&&a.querySelectorAll(r.el).length>1){const c=[];return a.querySelectorAll(r.el).forEach(d=>{const u=nn({},r,{el:d});c.push(new Mr(u))}),c}const i=this;i.__swiper__=!0,i.support=fg(),i.device=$8({userAgent:r.userAgent}),i.browser=z8(),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],r.modules&&Array.isArray(r.modules)&&i.modules.push(...r.modules);const o={};i.modules.forEach(c=>{c({params:r,swiper:i,extendParams:q6(r,o),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})});const l=nn({},_g,o);return i.params=nn({},l,xu,r),i.originalParams=nn({},i.params),i.passedParams=nn({},r),i.params&&i.params.on&&Object.keys(i.params.on).forEach(c=>{i.on(c,i.params.on[c])}),i.params&&i.params.onAny&&i.onAny(i.params.onAny),Object.assign(i,{enabled:i.params.enabled,el:n,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return i.params.direction==="horizontal"},isVertical(){return i.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}getSlideIndex(t){const{slidesEl:n,params:r}=this,a=zn(n,`.${r.slideClass}, swiper-slide`),i=dg(a[0]);return dg(t)-i}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===t)[0])}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=zn(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const a=r.minTranslate(),o=(r.maxTranslate()-a)*t+a;r.translateTo(o,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const a=t.getSlideClasses(r);n.push({slideEl:r,classNames:a}),t.emit("_slideClass",r,a)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t="current",n=!1){const r=this,{params:a,slides:i,slidesGrid:o,slidesSizesGrid:l,size:c,activeIndex:d}=r;let u=1;if(a.centeredSlides){let f=i[d].swiperSlideSize,p;for(let h=d+1;h<i.length;h+=1)i[h]&&!p&&(f+=i[h].swiperSlideSize,u+=1,f>c&&(p=!0));for(let h=d-1;h>=0;h-=1)i[h]&&!p&&(f+=i[h].swiperSlideSize,u+=1,f>c&&(p=!0))}else if(t==="current")for(let f=d+1;f<i.length;f+=1)(n?o[f]+l[f]-o[d]<c:o[f]-o[d]<c)&&(u+=1);else for(let f=d-1;f>=0;f-=1)o[d]-o[f]<c&&(u+=1);return u}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:n,params:r}=t;r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(o=>{o.complete&&kl(t,o)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function a(){const o=t.rtlTranslate?t.translate*-1:t.translate,l=Math.min(Math.max(o,t.maxTranslate()),t.minTranslate());t.setTranslate(l),t.updateActiveIndex(),t.updateSlidesClasses()}let i;if(t.params.freeMode&&t.params.freeMode.enabled)a(),t.params.autoHeight&&t.updateAutoHeight();else{if((t.params.slidesPerView==="auto"||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides){const o=t.virtual&&t.params.virtual.enabled?t.virtual.slides:t.slides;i=t.slideTo(o.length-1,0,!1,!0)}else i=t.slideTo(t.activeIndex,0,!1,!0);i||a()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n=!0){const r=this,a=r.params.direction;return t||(t=a==="horizontal"?"vertical":"horizontal"),t===a||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${a}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(i=>{t==="vertical"?i.style.width="":i.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.shadowEl&&(n.isElement=!0);const a=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(a()):zn(r,a())[0])();return!o&&n.params.createElements&&(o=cg("div",n.params.wrapperClass),r.append(o),zn(r,`.${n.params.slideClass}`).forEach(l=>{o.append(l)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement?r:o,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||Vr(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||Vr(r,"direction")==="rtl"),wrongRTL:Vr(o,"display")==="-webkit-box"}),!0}init(t){const n=this;return n.initialized||n.mount(t)===!1||(n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents(),[...n.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete?kl(n,a):a.addEventListener("load",i=>{kl(n,i.target)})}),wu(n),n.initialized=!0,wu(n),n.emit("init"),n.emit("afterInit")),n}destroy(t=!0,n=!0){const r=this,{params:a,el:i,wrapperEl:o,slides:l}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),a.loop&&r.loopDestroy(),n&&(r.removeClasses(),i.removeAttribute("style"),o.removeAttribute("style"),l&&l.length&&l.forEach(c=>{c.classList.remove(a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),c.removeAttribute("style"),c.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(c=>{r.off(c)}),t!==!1&&(r.el.swiper=null,M8(r)),r.destroyed=!0),null}static extendDefaults(t){nn(xu,t)}static get extendedDefaults(){return xu}static get defaults(){return _g}static installModule(t){Mr.prototype.__modules__||(Mr.prototype.__modules__=[]);const n=Mr.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>Mr.installModule(n)),Mr):(Mr.installModule(t),Mr)}};Object.keys(ku).forEach(e=>{Object.keys(ku[e]).forEach(t=>{yo.prototype[t]=ku[e][t]})}),yo.use([j8,H8]);function G6(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(a=>{if(!n[a]&&n.auto===!0){let i=zn(e.el,`.${r[a]}`)[0];i||(i=cg("div",r[a]),i.className=r[a],e.el.append(i)),n[a]=i,t[a]=i}}),n}function X6({swiper:e,extendParams:t,on:n,emit:r}){t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};const a=g=>(Array.isArray(g)||(g=[g].filter(b=>!!b)),g);function i(g){let b;return g&&typeof g=="string"&&e.isElement&&(b=e.el.shadowRoot.querySelector(g),b)?b:(g&&(typeof g=="string"&&(b=[...document.querySelectorAll(g)]),e.params.uniqueNavElements&&typeof g=="string"&&b.length>1&&e.el.querySelectorAll(g).length===1&&(b=e.el.querySelector(g))),g&&!b?g:b)}function o(g,b){const v=e.params.navigation;g=a(g),g.forEach(m=>{m&&(m.classList[b?"add":"remove"](...v.disabledClass.split(" ")),m.tagName==="BUTTON"&&(m.disabled=b),e.params.watchOverflow&&e.enabled&&m.classList[e.isLocked?"add":"remove"](v.lockClass))})}function l(){const{nextEl:g,prevEl:b}=e.navigation;if(e.params.loop){o(b,!1),o(g,!1);return}o(b,e.isBeginning&&!e.params.rewind),o(g,e.isEnd&&!e.params.rewind)}function c(g){g.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function d(g){g.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function u(){const g=e.params.navigation;if(e.params.navigation=G6(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let b=i(g.nextEl),v=i(g.prevEl);Object.assign(e.navigation,{nextEl:b,prevEl:v}),b=a(b),v=a(v);const m=(y,w)=>{y&&y.addEventListener("click",w==="next"?d:c),!e.enabled&&y&&y.classList.add(...g.lockClass.split(" "))};b.forEach(y=>m(y,"next")),v.forEach(y=>m(y,"prev"))}function f(){let{nextEl:g,prevEl:b}=e.navigation;g=a(g),b=a(b);const v=(m,y)=>{m.removeEventListener("click",y==="next"?d:c),m.classList.remove(...e.params.navigation.disabledClass.split(" "))};g.forEach(m=>v(m,"next")),b.forEach(m=>v(m,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?h():(u(),l())}),n("toEdge fromEdge lock unlock",()=>{l()}),n("destroy",()=>{f()}),n("enable disable",()=>{let{nextEl:g,prevEl:b}=e.navigation;g=a(g),b=a(b),[...g,...b].filter(v=>!!v).forEach(v=>v.classList[e.enabled?"remove":"add"](e.params.navigation.lockClass))}),n("click",(g,b)=>{let{nextEl:v,prevEl:m}=e.navigation;v=a(v),m=a(m);const y=b.target;if(e.params.navigation.hideOnClick&&!m.includes(y)&&!v.includes(y)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===y||e.pagination.el.contains(y)))return;let w;v.length?w=v[0].classList.contains(e.params.navigation.hiddenClass):m.length&&(w=m[0].classList.contains(e.params.navigation.hiddenClass)),r(w===!0?"navigationShow":"navigationHide"),[...v,...m].filter(_=>!!_).forEach(_=>_.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),l()},h=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:p,disable:h,update:l,init:u,destroy:f})}function Sa(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function $r(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:Sa(t[r])&&Sa(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:$r(e[r],t[r]):e[r]=t[r]})}function vg(e={}){return e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function wg(e={}){return e.pagination&&typeof e.pagination.el>"u"}function kg(e={}){return e.scrollbar&&typeof e.scrollbar.el>"u"}function xg(e=""){const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function K6(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}const Sg=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Cg(e={},t=!0){const n={on:{}},r={},a={};$r(n,yo.defaults),$r(n,yo.extendedDefaults),n._emitClasses=!0,n.init=!1;const i={},o=Sg.map(c=>c.replace(/_/,"")),l=Object.assign({},e);return Object.keys(l).forEach(c=>{typeof e[c]>"u"||(o.indexOf(c)>=0?Sa(e[c])?(n[c]={},a[c]={},$r(n[c],e[c]),$r(a[c],e[c])):(n[c]=e[c],a[c]=e[c]):c.search(/on[A-Z]/)===0&&typeof e[c]=="function"?t?r[`${c[2].toLowerCase()}${c.substr(3)}`]=e[c]:n.on[`${c[2].toLowerCase()}${c.substr(3)}`]=e[c]:i[c]=e[c])}),["navigation","pagination","scrollbar"].forEach(c=>{n[c]===!0&&(n[c]={}),n[c]===!1&&delete n[c]}),{params:n,passedParams:a,rest:i,events:r}}function J6({el:e,nextEl:t,prevEl:n,paginationEl:r,scrollbarEl:a,swiper:i},o){vg(o)&&t&&n&&(i.params.navigation.nextEl=t,i.originalParams.navigation.nextEl=t,i.params.navigation.prevEl=n,i.originalParams.navigation.prevEl=n),wg(o)&&r&&(i.params.pagination.el=r,i.originalParams.pagination.el=r),kg(o)&&a&&(i.params.scrollbar.el=a,i.originalParams.scrollbar.el=a),i.init(e)}function Z6(e,t,n,r,a){const i=[];if(!t)return i;const o=c=>{i.indexOf(c)<0&&i.push(c)};if(n&&r){const c=r.map(a),d=n.map(a);c.join("")!==d.join("")&&o("children"),r.length!==n.length&&o("children")}return Sg.filter(c=>c[0]==="_").map(c=>c.replace(/_/,"")).forEach(c=>{if(c in e&&c in t)if(Sa(e[c])&&Sa(t[c])){const d=Object.keys(e[c]),u=Object.keys(t[c]);d.length!==u.length?o(c):(d.forEach(f=>{e[c][f]!==t[c][f]&&o(c)}),u.forEach(f=>{e[c][f]!==t[c][f]&&o(c)}))}else e[c]!==t[c]&&o(c)}),i}function Su(e,t,n){e===void 0&&(e={});const r=[],a={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},i=(o,l)=>{Array.isArray(o)&&o.forEach(c=>{const d=typeof c.type=="symbol";l==="default"&&(l="container-end"),d&&c.children?i(c.children,l):c.type&&(c.type.name==="SwiperSlide"||c.type.name==="AsyncComponentWrapper")?r.push(c):a[l]&&a[l].push(c)})};return Object.keys(e).forEach(o=>{if(typeof e[o]!="function")return;const l=e[o]();i(l,o)}),n.value=t.value,t.value=r,{slides:r,slots:a}}function Q6({swiper:e,slides:t,passedParams:n,changedParams:r,nextEl:a,prevEl:i,scrollbarEl:o,paginationEl:l}){const c=r.filter(E=>E!=="children"&&E!=="direction"&&E!=="wrapperClass"),{params:d,pagination:u,navigation:f,scrollbar:p,virtual:h,thumbs:g}=e;let b,v,m,y,w,_,k,x;r.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(b=!0),r.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(v=!0),r.includes("pagination")&&n.pagination&&(n.pagination.el||l)&&(d.pagination||d.pagination===!1)&&u&&!u.el&&(m=!0),r.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||o)&&(d.scrollbar||d.scrollbar===!1)&&p&&!p.el&&(y=!0),r.includes("navigation")&&n.navigation&&(n.navigation.prevEl||i)&&(n.navigation.nextEl||a)&&(d.navigation||d.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(w=!0);const C=E=>{e[E]&&(e[E].destroy(),E==="navigation"?(e.isElement&&(e[E].prevEl.remove(),e[E].nextEl.remove()),d[E].prevEl=void 0,d[E].nextEl=void 0,e[E].prevEl=void 0,e[E].nextEl=void 0):(e.isElement&&e[E].el.remove(),d[E].el=void 0,e[E].el=void 0))};r.includes("loop")&&e.isElement&&(d.loop&&!n.loop?_=!0:!d.loop&&n.loop?k=!0:x=!0),c.forEach(E=>{if(Sa(d[E])&&Sa(n[E]))$r(d[E],n[E]);else{const T=n[E];(T===!0||T===!1)&&(E==="navigation"||E==="pagination"||E==="scrollbar")?T===!1&&C(E):d[E]=n[E]}}),c.includes("controller")&&!v&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),r.includes("children")&&t&&h&&d.virtual.enabled&&(h.slides=t,h.update(!0)),r.includes("children")&&t&&d.loop&&(x=!0),b&&g.init()&&g.update(!0),v&&(e.controller.control=d.controller.control),m&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),e.el.shadowEl.appendChild(l)),l&&(d.pagination.el=l),u.init(),u.render(),u.update()),y&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),e.el.shadowEl.appendChild(o)),o&&(d.scrollbar.el=o),p.init(),p.updateSize(),p.setTranslate()),w&&(e.isElement&&((!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-next"),e.el.shadowEl.appendChild(a)),(!i||typeof i=="string")&&(i=document.createElement("div"),i.classList.add("swiper-button-prev"),e.el.shadowEl.appendChild(i))),a&&(d.navigation.nextEl=a),i&&(d.navigation.prevEl=i),f.init(),f.update()),r.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),r.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),r.includes("direction")&&e.changeDirection(n.direction,!1),(_||x)&&e.loopDestroy(),(k||x)&&e.loopCreate(),e.update()}function ex(e,t,n){if(!n)return null;const r=u=>{let f=u;return u<0?f=t.length+u:f>=t.length&&(f=f-t.length),f},a=e.value.isHorizontal()?{[e.value.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:i,to:o}=n,l=e.value.params.loop?-t.length:0,c=e.value.params.loop?t.length*2:t.length,d=[];for(let u=l;u<c;u+=1)u>=i&&u<=o&&d.push(t[r(u)]);return d.map(u=>(u.props||(u.props={}),u.props.style||(u.props.style={}),u.props.swiperRef=e,u.props.style=a,s.h(u.type,{...u.props},u.children)))}const tx=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())},Eg={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},modules:{type:Array,default:void 0},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},oneWayMovement:{type:Boolean,default:void 0},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},spaceBetween:{type:[Number,String],default:void 0},slidesPerView:{type:[Number,String],default:void 0},maxBackfaceHiddenSlides:{type:Number,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},slidesPerGroupAuto:{type:Boolean,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopedSlides:{type:Number,default:void 0},loopPreventsSliding:{type:Boolean,default:void 0},rewind:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},lazyPreloaderClass:{type:String,default:void 0},lazyPreloadPrevNext:{type:Number,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},creativeEffect:{type:Object,default:void 0},cardsEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0},grid:{type:[Object],default:void 0},freeMode:{type:[Boolean,Object],default:void 0},enabled:{type:Boolean,default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","_freeModeNoMomentumRelease","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","autoplayPause","autoplayResume","autoplayTimeLeft","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","init","keyPress","lock","loopFix","momentumBounce","navigationHide","navigationShow","navigationPrev","navigationNext","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","virtualUpdate","zoomChange"],setup(e,t){let{slots:n,emit:r}=t;const{tag:a,wrapperTag:i}=e,o=s.ref("swiper"),l=s.ref(null),c=s.ref(!1),d=s.ref(!1),u=s.ref(null),f=s.ref(null),p=s.ref(null),h={value:[]},g={value:[]},b=s.ref(null),v=s.ref(null),m=s.ref(null),y=s.ref(null),{params:w,passedParams:_}=Cg(e,!1);Su(n,h,g),p.value=_,g.value=h.value;const k=()=>{Su(n,h,g),c.value=!0};w.onAny=function(E){for(var T=arguments.length,B=new Array(T>1?T-1:0),D=1;D<T;D++)B[D-1]=arguments[D];r(E,...B)},Object.assign(w.on,{_beforeBreakpoint:k,_containerClasses(E,T){o.value=T}});const x={...w};if(delete x.wrapperClass,f.value=new yo(x),f.value.virtual&&f.value.params.virtual.enabled){f.value.virtual.slides=h.value;const E={cache:!1,slides:h.value,renderExternal:T=>{l.value=T},renderExternalUpdate:!1};$r(f.value.params.virtual,E),$r(f.value.originalParams.virtual,E)}s.onUpdated(()=>{!d.value&&f.value&&(f.value.emitSlidesClasses(),d.value=!0);const{passedParams:E}=Cg(e,!1),T=Z6(E,p.value,h.value,g.value,B=>B.props&&B.props.key);p.value=E,(T.length||c.value)&&f.value&&!f.value.destroyed&&Q6({swiper:f.value,slides:h.value,passedParams:E,changedParams:T,nextEl:b.value,prevEl:v.value,scrollbarEl:y.value,paginationEl:m.value}),c.value=!1}),s.provide("swiper",f),s.watch(l,()=>{s.nextTick(()=>{tx(f.value)})}),s.onMounted(()=>{u.value&&(J6({el:u.value,nextEl:b.value,prevEl:v.value,paginationEl:m.value,scrollbarEl:y.value,swiper:f.value},w),r("swiper",f.value))}),s.onBeforeUnmount(()=>{f.value&&!f.value.destroyed&&f.value.destroy(!0,!1)});function C(E){return w.virtual?ex(f,E,l.value):(E.forEach((T,B)=>{T.props||(T.props={}),T.props.swiperRef=f,T.props.swiperSlideIndex=B}),E)}return()=>{const{slides:E,slots:T}=Su(n,h,g);return s.h(a,{ref:u,class:xg(o.value)},[T["container-start"],s.h(i,{class:K6(w.wrapperClass)},[T["wrapper-start"],C(E),T["wrapper-end"]]),vg(e)&&[s.h("div",{ref:v,class:"swiper-button-prev"}),s.h("div",{ref:b,class:"swiper-button-next"})],kg(e)&&s.h("div",{ref:y,class:"swiper-scrollbar"}),wg(e)&&s.h("div",{ref:m,class:"swiper-pagination"}),T["container-end"]])}}},Ag={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:{type:Object,required:!1},swiperSlideIndex:{type:Number,default:void 0,required:!1},zoom:{type:Boolean,default:void 0,required:!1},lazy:{type:Boolean,default:!1,required:!1},virtualIndex:{type:[String,Number],default:void 0}},setup(e,t){let{slots:n}=t,r=!1;const{swiperRef:a}=e,i=s.ref(null),o=s.ref("swiper-slide"),l=s.ref(!1);function c(f,p,h){p===i.value&&(o.value=h)}s.onMounted(()=>{!a||!a.value||(a.value.on("_slideClass",c),r=!0)}),s.onBeforeUpdate(()=>{r||!a||!a.value||(a.value.on("_slideClass",c),r=!0)}),s.onUpdated(()=>{!i.value||!a||!a.value||(typeof e.swiperSlideIndex<"u"&&(i.value.swiperSlideIndex=e.swiperSlideIndex),a.value.destroyed&&o.value!=="swiper-slide"&&(o.value="swiper-slide"))}),s.onBeforeUnmount(()=>{!a||!a.value||a.value.off("_slideClass",c)});const d=s.computed(()=>({isActive:o.value.indexOf("swiper-slide-active")>=0,isVisible:o.value.indexOf("swiper-slide-visible")>=0,isPrev:o.value.indexOf("swiper-slide-prev")>=0,isNext:o.value.indexOf("swiper-slide-next")>=0}));s.provide("swiperSlide",d);const u=()=>{l.value=!0};return()=>s.h(e.tag,{class:xg(`${o.value}`),ref:i,"data-swiper-slide-index":typeof e.virtualIndex>"u"&&a&&a.value&&a.value.params.loop?e.swiperSlideIndex:e.virtualIndex,onLoadCapture:u},e.zoom?s.h("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof e.zoom=="number"?e.zoom:void 0},[n.default&&n.default(d.value),e.lazy&&!l.value&&s.h("div",{class:"swiper-lazy-preloader"})]):[n.default&&n.default(d.value),e.lazy&&!l.value&&s.h("div",{class:"swiper-lazy-preloader"})])}},fJ="",pJ="",hJ="",nx={cardCodes:{type:Array,required:!0,default:[]}};var jt="top",hn="bottom",mn="right",Ht="left",xl="auto",_o=[jt,hn,mn,Ht],hi="start",vo="end",rx="clippingParents",Tg="viewport",wo="popper",ax="reference",Og=_o.reduce(function(e,t){return e.concat([t+"-"+hi,t+"-"+vo])},[]),Mg=[].concat(_o,[xl]).reduce(function(e,t){return e.concat([t,t+"-"+hi,t+"-"+vo])},[]),ix="beforeRead",ox="read",sx="afterRead",lx="beforeMain",cx="main",dx="afterMain",ux="beforeWrite",fx="write",px="afterWrite",Cu=[ix,ox,sx,lx,cx,dx,ux,fx,px];function jn(e){return e?(e.nodeName||"").toLowerCase():null}function rn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ca(e){var t=rn(e).Element;return e instanceof t||e instanceof Element}function an(e){var t=rn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Eu(e){if(typeof ShadowRoot>"u")return!1;var t=rn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function hx(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},a=t.attributes[n]||{},i=t.elements[n];!an(i)||!jn(i)||(Object.assign(i.style,r),Object.keys(a).forEach(function(o){var l=a[o];l===!1?i.removeAttribute(o):i.setAttribute(o,l===!0?"":l)}))})}function mx(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var a=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=o.reduce(function(c,d){return c[d]="",c},{});!an(a)||!jn(a)||(Object.assign(a.style,l),Object.keys(i).forEach(function(c){a.removeAttribute(c)}))})}}const Ng={name:"applyStyles",enabled:!0,phase:"write",fn:hx,effect:mx,requires:["computeStyles"]};function En(e){return e.split("-")[0]}var Ea=Math.max,Sl=Math.min,mi=Math.round;function Au(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Dg(){return!/^((?!chrome|android).)*safari/i.test(Au())}function gi(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),a=1,i=1;t&&an(e)&&(a=e.offsetWidth>0&&mi(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&mi(r.height)/e.offsetHeight||1);var o=Ca(e)?rn(e):window,l=o.visualViewport,c=!Dg()&&n,d=(r.left+(c&&l?l.offsetLeft:0))/a,u=(r.top+(c&&l?l.offsetTop:0))/i,f=r.width/a,p=r.height/i;return{width:f,height:p,top:u,right:d+f,bottom:u+p,left:d,x:d,y:u}}function Tu(e){var t=gi(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Pg(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Eu(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function An(e){return rn(e).getComputedStyle(e)}function gx(e){return["table","td","th"].indexOf(jn(e))>=0}function Fr(e){return((Ca(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cl(e){return jn(e)==="html"?e:e.assignedSlot||e.parentNode||(Eu(e)?e.host:null)||Fr(e)}function Ig(e){return!an(e)||An(e).position==="fixed"?null:e.offsetParent}function bx(e){var t=/firefox/i.test(Au()),n=/Trident/i.test(Au());if(n&&an(e)){var r=An(e);if(r.position==="fixed")return null}var a=Cl(e);for(Eu(a)&&(a=a.host);an(a)&&["html","body"].indexOf(jn(a))<0;){var i=An(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function ko(e){for(var t=rn(e),n=Ig(e);n&&gx(n)&&An(n).position==="static";)n=Ig(n);return n&&(jn(n)==="html"||jn(n)==="body"&&An(n).position==="static")?t:n||bx(e)||t}function Ou(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function xo(e,t,n){return Ea(e,Sl(t,n))}function yx(e,t,n){var r=xo(e,t,n);return r>n?n:r}function Lg(){return{top:0,right:0,bottom:0,left:0}}function Bg(e){return Object.assign({},Lg(),e)}function Rg(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var _x=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Bg(typeof t!="number"?t:Rg(t,_o))};function vx(e){var t,n=e.state,r=e.name,a=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,l=En(n.placement),c=Ou(l),d=[Ht,mn].indexOf(l)>=0,u=d?"height":"width";if(!(!i||!o)){var f=_x(a.padding,n),p=Tu(i),h=c==="y"?jt:Ht,g=c==="y"?hn:mn,b=n.rects.reference[u]+n.rects.reference[c]-o[c]-n.rects.popper[u],v=o[c]-n.rects.reference[c],m=ko(i),y=m?c==="y"?m.clientHeight||0:m.clientWidth||0:0,w=b/2-v/2,_=f[h],k=y-p[u]-f[g],x=y/2-p[u]/2+w,C=xo(_,x,k),E=c;n.modifiersData[r]=(t={},t[E]=C,t.centerOffset=C-x,t)}}function wx(e){var t=e.state,n=e.options,r=n.element,a=r===void 0?"[data-popper-arrow]":r;if(a!=null&&!(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a))){if(process.env.NODE_ENV!=="production"&&(an(a)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!Pg(t.elements.popper,a)){process.env.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}t.elements.arrow=a}}const kx={name:"arrow",enabled:!0,phase:"main",fn:vx,effect:wx,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function bi(e){return e.split("-")[1]}var xx={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Sx(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:mi(n*a)/a||0,y:mi(r*a)/a||0}}function Vg(e){var t,n=e.popper,r=e.popperRect,a=e.placement,i=e.variation,o=e.offsets,l=e.position,c=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,f=e.isFixed,p=o.x,h=p===void 0?0:p,g=o.y,b=g===void 0?0:g,v=typeof u=="function"?u({x:h,y:b}):{x:h,y:b};h=v.x,b=v.y;var m=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),w=Ht,_=jt,k=window;if(d){var x=ko(n),C="clientHeight",E="clientWidth";if(x===rn(n)&&(x=Fr(n),An(x).position!=="static"&&l==="absolute"&&(C="scrollHeight",E="scrollWidth")),x=x,a===jt||(a===Ht||a===mn)&&i===vo){_=hn;var T=f&&x===k&&k.visualViewport?k.visualViewport.height:x[C];b-=T-r.height,b*=c?1:-1}if(a===Ht||(a===jt||a===hn)&&i===vo){w=mn;var B=f&&x===k&&k.visualViewport?k.visualViewport.width:x[E];h-=B-r.width,h*=c?1:-1}}var D=Object.assign({position:l},d&&xx),M=u===!0?Sx({x:h,y:b},rn(n)):{x:h,y:b};if(h=M.x,b=M.y,c){var R;return Object.assign({},D,(R={},R[_]=y?"0":"",R[w]=m?"0":"",R.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+b+"px)":"translate3d("+h+"px, "+b+"px, 0)",R))}return Object.assign({},D,(t={},t[_]=y?b+"px":"",t[w]=m?h+"px":"",t.transform="",t))}function Cx(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,l=n.roundOffsets,c=l===void 0?!0:l;if(process.env.NODE_ENV!=="production"){var d=An(t.elements.popper).transitionProperty||"";o&&["transform","top","right","bottom","left"].some(function(f){return d.indexOf(f)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
791
+
792
+ `,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
793
+
794
+ `,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:En(t.placement),variation:bi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Vg(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Vg(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ex={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Cx,data:{}};var El={passive:!0};function Ax(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,i=a===void 0?!0:a,o=r.resize,l=o===void 0?!0:o,c=rn(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&d.forEach(function(u){u.addEventListener("scroll",n.update,El)}),l&&c.addEventListener("resize",n.update,El),function(){i&&d.forEach(function(u){u.removeEventListener("scroll",n.update,El)}),l&&c.removeEventListener("resize",n.update,El)}}const Tx={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ax,data:{}};var Ox={left:"right",right:"left",bottom:"top",top:"bottom"};function Al(e){return e.replace(/left|right|bottom|top/g,function(t){return Ox[t]})}var Mx={start:"end",end:"start"};function $g(e){return e.replace(/start|end/g,function(t){return Mx[t]})}function Mu(e){var t=rn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Nu(e){return gi(Fr(e)).left+Mu(e).scrollLeft}function Nx(e,t){var n=rn(e),r=Fr(e),a=n.visualViewport,i=r.clientWidth,o=r.clientHeight,l=0,c=0;if(a){i=a.width,o=a.height;var d=Dg();(d||!d&&t==="fixed")&&(l=a.offsetLeft,c=a.offsetTop)}return{width:i,height:o,x:l+Nu(e),y:c}}function Dx(e){var t,n=Fr(e),r=Mu(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=Ea(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=Ea(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-r.scrollLeft+Nu(e),c=-r.scrollTop;return An(a||n).direction==="rtl"&&(l+=Ea(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:o,x:l,y:c}}function Du(e){var t=An(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Fg(e){return["html","body","#document"].indexOf(jn(e))>=0?e.ownerDocument.body:an(e)&&Du(e)?e:Fg(Cl(e))}function So(e,t){var n;t===void 0&&(t=[]);var r=Fg(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=rn(r),o=a?[i].concat(i.visualViewport||[],Du(r)?r:[]):r,l=t.concat(o);return a?l:l.concat(So(Cl(o)))}function Pu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Px(e,t){var n=gi(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function zg(e,t,n){return t===Tg?Pu(Nx(e,n)):Ca(t)?Px(t,n):Pu(Dx(Fr(e)))}function Ix(e){var t=So(Cl(e)),n=["absolute","fixed"].indexOf(An(e).position)>=0,r=n&&an(e)?ko(e):e;return Ca(r)?t.filter(function(a){return Ca(a)&&Pg(a,r)&&jn(a)!=="body"}):[]}function Lx(e,t,n,r){var a=t==="clippingParents"?Ix(e):[].concat(t),i=[].concat(a,[n]),o=i[0],l=i.reduce(function(c,d){var u=zg(e,d,r);return c.top=Ea(u.top,c.top),c.right=Sl(u.right,c.right),c.bottom=Sl(u.bottom,c.bottom),c.left=Ea(u.left,c.left),c},zg(e,o,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function jg(e){var t=e.reference,n=e.element,r=e.placement,a=r?En(r):null,i=r?bi(r):null,o=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(a){case jt:c={x:o,y:t.y-n.height};break;case hn:c={x:o,y:t.y+t.height};break;case mn:c={x:t.x+t.width,y:l};break;case Ht:c={x:t.x-n.width,y:l};break;default:c={x:t.x,y:t.y}}var d=a?Ou(a):null;if(d!=null){var u=d==="y"?"height":"width";switch(i){case hi:c[d]=c[d]-(t[u]/2-n[u]/2);break;case vo:c[d]=c[d]+(t[u]/2-n[u]/2);break}}return c}function Co(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=r===void 0?e.placement:r,i=n.strategy,o=i===void 0?e.strategy:i,l=n.boundary,c=l===void 0?rx:l,d=n.rootBoundary,u=d===void 0?Tg:d,f=n.elementContext,p=f===void 0?wo:f,h=n.altBoundary,g=h===void 0?!1:h,b=n.padding,v=b===void 0?0:b,m=Bg(typeof v!="number"?v:Rg(v,_o)),y=p===wo?ax:wo,w=e.rects.popper,_=e.elements[g?y:p],k=Lx(Ca(_)?_:_.contextElement||Fr(e.elements.popper),c,u,o),x=gi(e.elements.reference),C=jg({reference:x,element:w,strategy:"absolute",placement:a}),E=Pu(Object.assign({},w,C)),T=p===wo?E:x,B={top:k.top-T.top+m.top,bottom:T.bottom-k.bottom+m.bottom,left:k.left-T.left+m.left,right:T.right-k.right+m.right},D=e.modifiersData.offset;if(p===wo&&D){var M=D[a];Object.keys(B).forEach(function(R){var re=[mn,hn].indexOf(R)>=0?1:-1,J=[jt,hn].indexOf(R)>=0?"y":"x";B[R]+=M[J]*re})}return B}function Bx(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=n.boundary,i=n.rootBoundary,o=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?Mg:c,u=bi(r),f=u?l?Og:Og.filter(function(g){return bi(g)===u}):_o,p=f.filter(function(g){return d.indexOf(g)>=0});p.length===0&&(p=f,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var h=p.reduce(function(g,b){return g[b]=Co(e,{placement:b,boundary:a,rootBoundary:i,padding:o})[En(b)],g},{});return Object.keys(h).sort(function(g,b){return h[g]-h[b]})}function Rx(e){if(En(e)===xl)return[];var t=Al(e);return[$g(e),t,$g(t)]}function Vx(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,l=o===void 0?!0:o,c=n.fallbackPlacements,d=n.padding,u=n.boundary,f=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,g=h===void 0?!0:h,b=n.allowedAutoPlacements,v=t.options.placement,m=En(v),y=m===v,w=c||(y||!g?[Al(v)]:Rx(v)),_=[v].concat(w).reduce(function(ye,oe){return ye.concat(En(oe)===xl?Bx(t,{placement:oe,boundary:u,rootBoundary:f,padding:d,flipVariations:g,allowedAutoPlacements:b}):oe)},[]),k=t.rects.reference,x=t.rects.popper,C=new Map,E=!0,T=_[0],B=0;B<_.length;B++){var D=_[B],M=En(D),R=bi(D)===hi,re=[jt,hn].indexOf(M)>=0,J=re?"width":"height",Q=Co(t,{placement:D,boundary:u,rootBoundary:f,altBoundary:p,padding:d}),K=re?R?mn:Ht:R?hn:jt;k[J]>x[J]&&(K=Al(K));var de=Al(K),q=[];if(i&&q.push(Q[M]<=0),l&&q.push(Q[K]<=0,Q[de]<=0),q.every(function(ye){return ye})){T=D,E=!1;break}C.set(D,q)}if(E)for(var se=g?3:1,pe=function(oe){var $=_.find(function(te){var Le=C.get(te);if(Le)return Le.slice(0,oe).every(function(st){return st})});if($)return T=$,"break"},Oe=se;Oe>0;Oe--){var He=pe(Oe);if(He==="break")break}t.placement!==T&&(t.modifiersData[r]._skip=!0,t.placement=T,t.reset=!0)}}const $x={name:"flip",enabled:!0,phase:"main",fn:Vx,requiresIfExists:["offset"],data:{_skip:!1}};function Hg(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Wg(e){return[jt,mn,hn,Ht].some(function(t){return e[t]>=0})}function Fx(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,o=Co(t,{elementContext:"reference"}),l=Co(t,{altBoundary:!0}),c=Hg(o,r),d=Hg(l,a,i),u=Wg(c),f=Wg(d);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const zx={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Fx};function jx(e,t,n){var r=En(e),a=[Ht,jt].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],l=i[1];return o=o||0,l=(l||0)*a,[Ht,mn].indexOf(r)>=0?{x:l,y:o}:{x:o,y:l}}function Hx(e){var t=e.state,n=e.options,r=e.name,a=n.offset,i=a===void 0?[0,0]:a,o=Mg.reduce(function(u,f){return u[f]=jx(f,t.rects,i),u},{}),l=o[t.placement],c=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=o}const Wx={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Hx};function Ux(e){var t=e.state,n=e.name;t.modifiersData[n]=jg({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Yx={name:"popperOffsets",enabled:!0,phase:"read",fn:Ux,data:{}};function qx(e){return e==="x"?"y":"x"}function Gx(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,l=o===void 0?!1:o,c=n.boundary,d=n.rootBoundary,u=n.altBoundary,f=n.padding,p=n.tether,h=p===void 0?!0:p,g=n.tetherOffset,b=g===void 0?0:g,v=Co(t,{boundary:c,rootBoundary:d,padding:f,altBoundary:u}),m=En(t.placement),y=bi(t.placement),w=!y,_=Ou(m),k=qx(_),x=t.modifiersData.popperOffsets,C=t.rects.reference,E=t.rects.popper,T=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,B=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(x){if(i){var R,re=_==="y"?jt:Ht,J=_==="y"?hn:mn,Q=_==="y"?"height":"width",K=x[_],de=K+v[re],q=K-v[J],se=h?-E[Q]/2:0,pe=y===hi?C[Q]:E[Q],Oe=y===hi?-E[Q]:-C[Q],He=t.elements.arrow,ye=h&&He?Tu(He):{width:0,height:0},oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Lg(),$=oe[re],te=oe[J],Le=xo(0,C[Q],ye[Q]),st=w?C[Q]/2-se-Le-$-B.mainAxis:pe-Le-$-B.mainAxis,wt=w?-C[Q]/2+se+Le+te+B.mainAxis:Oe+Le+te+B.mainAxis,pt=t.elements.arrow&&ko(t.elements.arrow),wn=pt?_==="y"?pt.clientTop||0:pt.clientLeft||0:0,A=(R=D==null?void 0:D[_])!=null?R:0,S=K+st-A-wn,P=K+wt-A,W=xo(h?Sl(de,S):de,K,h?Ea(q,P):q);x[_]=W,M[_]=W-K}if(l){var ne,ue=_==="x"?jt:Ht,kt=_==="x"?hn:mn,lt=x[k],pn=k==="y"?"height":"width",Fe=lt+v[ue],L=lt-v[kt],F=[jt,Ht].indexOf(m)!==-1,Qe=(ne=D==null?void 0:D[k])!=null?ne:0,et=F?Fe:lt-C[pn]-E[pn]-Qe+B.altAxis,tr=F?lt+C[pn]+E[pn]-Qe-B.altAxis:L,kn=h&&F?yx(et,lt,tr):xo(h?et:Fe,lt,h?tr:L);x[k]=kn,M[k]=kn-lt}t.modifiersData[r]=M}}const Xx={name:"preventOverflow",enabled:!0,phase:"main",fn:Gx,requiresIfExists:["offset"]};function Kx(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Jx(e){return e===rn(e)||!an(e)?Mu(e):Kx(e)}function Zx(e){var t=e.getBoundingClientRect(),n=mi(t.width)/e.offsetWidth||1,r=mi(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Qx(e,t,n){n===void 0&&(n=!1);var r=an(t),a=an(t)&&Zx(t),i=Fr(t),o=gi(e,a,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((jn(t)!=="body"||Du(i))&&(l=Jx(t)),an(t)?(c=gi(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=Nu(i))),{x:o.left+l.scrollLeft-c.x,y:o.top+l.scrollTop-c.y,width:o.width,height:o.height}}function eS(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function a(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(l){if(!n.has(l)){var c=t.get(l);c&&a(c)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||a(i)}),r}function tS(e){var t=eS(e);return Cu.reduce(function(n,r){return n.concat(t.filter(function(a){return a.phase===r}))},[])}function nS(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function zr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(a,i){return a.replace(/%s/,i)},e)}var Aa='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',rS='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',Ug=["name","enabled","phase","fn","effect","requires","options"];function aS(e){e.forEach(function(t){[].concat(Object.keys(t),Ug).filter(function(n,r,a){return a.indexOf(n)===r}).forEach(function(n){switch(n){case"name":typeof t.name!="string"&&console.error(zr(Aa,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(zr(Aa,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":Cu.indexOf(t.phase)<0&&console.error(zr(Aa,t.name,'"phase"',"either "+Cu.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(zr(Aa,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":t.effect!=null&&typeof t.effect!="function"&&console.error(zr(Aa,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":t.requires!=null&&!Array.isArray(t.requires)&&console.error(zr(Aa,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(zr(Aa,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+Ug.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach(function(r){e.find(function(a){return a.name===r})==null&&console.error(zr(rS,String(t.name),r,r))})})})}function iS(e,t){var n=new Set;return e.filter(function(r){var a=t(r);if(!n.has(a))return n.add(a),!0})}function oS(e){var t=e.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Yg="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",sS="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",qg={placement:"bottom",modifiers:[],strategy:"absolute"};function Gg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function lS(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,a=t.defaultOptions,i=a===void 0?qg:a;return function(l,c,d){d===void 0&&(d=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},qg,i),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},f=[],p=!1,h={state:u,setOptions:function(m){var y=typeof m=="function"?m(u.options):m;b(),u.options=Object.assign({},i,u.options,y),u.scrollParents={reference:Ca(l)?So(l):l.contextElement?So(l.contextElement):[],popper:So(c)};var w=tS(oS([].concat(r,u.options.modifiers)));if(u.orderedModifiers=w.filter(function(D){return D.enabled}),process.env.NODE_ENV!=="production"){var _=iS([].concat(w,u.options.modifiers),function(D){var M=D.name;return M});if(aS(_),En(u.options.placement)===xl){var k=u.orderedModifiers.find(function(D){var M=D.name;return M==="flip"});k||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var x=An(c),C=x.marginTop,E=x.marginRight,T=x.marginBottom,B=x.marginLeft;[C,E,T,B].some(function(D){return parseFloat(D)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return g(),h.update()},forceUpdate:function(){if(!p){var m=u.elements,y=m.reference,w=m.popper;if(!Gg(y,w)){process.env.NODE_ENV!=="production"&&console.error(Yg);return}u.rects={reference:Qx(y,ko(w),u.options.strategy==="fixed"),popper:Tu(w)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(D){return u.modifiersData[D.name]=Object.assign({},D.data)});for(var _=0,k=0;k<u.orderedModifiers.length;k++){if(process.env.NODE_ENV!=="production"&&(_+=1,_>100)){console.error(sS);break}if(u.reset===!0){u.reset=!1,k=-1;continue}var x=u.orderedModifiers[k],C=x.fn,E=x.options,T=E===void 0?{}:E,B=x.name;typeof C=="function"&&(u=C({state:u,options:T,name:B,instance:h})||u)}}},update:nS(function(){return new Promise(function(v){h.forceUpdate(),v(u)})}),destroy:function(){b(),p=!0}};if(!Gg(l,c))return process.env.NODE_ENV!=="production"&&console.error(Yg),h;h.setOptions(d).then(function(v){!p&&d.onFirstUpdate&&d.onFirstUpdate(v)});function g(){u.orderedModifiers.forEach(function(v){var m=v.name,y=v.options,w=y===void 0?{}:y,_=v.effect;if(typeof _=="function"){var k=_({state:u,name:m,instance:h,options:w}),x=function(){};f.push(k||x)}})}function b(){f.forEach(function(v){return v()}),f=[]}return h}}var cS=[Tx,Yx,Ex,Ng,Wx,$x,Xx,kx,zx],dS=lS({defaultModifiers:cS}),uS="tippy-box",Xg="tippy-content",fS="tippy-backdrop",Kg="tippy-arrow",Jg="tippy-svg-arrow",Ta={passive:!0,capture:!0},Zg=function(){return document.body};function pS(e,t){return{}.hasOwnProperty.call(e,t)}function Iu(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function Lu(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function Qg(e,t){return typeof e=="function"?e.apply(void 0,t):e}function e0(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function hS(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function mS(e){return e.split(/\s+/).filter(Boolean)}function yi(e){return[].concat(e)}function t0(e,t){e.indexOf(t)===-1&&e.push(t)}function gS(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function bS(e){return e.split("-")[0]}function Tl(e){return[].slice.call(e)}function n0(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Eo(){return document.createElement("div")}function Ao(e){return["Element","Fragment"].some(function(t){return Lu(e,t)})}function yS(e){return Lu(e,"NodeList")}function _S(e){return Lu(e,"MouseEvent")}function vS(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function wS(e){return Ao(e)?[e]:yS(e)?Tl(e):Array.isArray(e)?e:Tl(document.querySelectorAll(e))}function Bu(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function r0(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function kS(e){var t,n=yi(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function xS(e,t){var n=t.clientX,r=t.clientY;return e.every(function(a){var i=a.popperRect,o=a.popperState,l=a.props,c=l.interactiveBorder,d=bS(o.placement),u=o.modifiersData.offset;if(!u)return!0;var f=d==="bottom"?u.top.y:0,p=d==="top"?u.bottom.y:0,h=d==="right"?u.left.x:0,g=d==="left"?u.right.x:0,b=i.top-r+f>c,v=r-i.bottom-p>c,m=i.left-n+h>c,y=n-i.right-g>c;return b||v||m||y})}function Ru(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[r](a,n)})}function a0(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Hn={isTouch:!1},i0=0;function SS(){Hn.isTouch||(Hn.isTouch=!0,window.performance&&document.addEventListener("mousemove",o0))}function o0(){var e=performance.now();e-i0<20&&(Hn.isTouch=!1,document.removeEventListener("mousemove",o0)),i0=e}function CS(){var e=document.activeElement;if(vS(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function ES(){document.addEventListener("touchstart",SS,Ta),window.addEventListener("blur",CS)}var AS=typeof window<"u"&&typeof document<"u",TS=AS?!!window.msCrypto:!1;function _i(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function s0(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function OS(e){return s0(`
795
+ %ctippy.js
796
+
797
+ %c`+s0(e)+`
798
+
799
+ %c👷‍ This is a development-only message. It will be removed in production.
800
+ `)}function l0(e){return[OS(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var To;process.env.NODE_ENV!=="production"&&MS();function MS(){To=new Set}function cr(e,t){if(e&&!To.has(t)){var n;To.add(t),(n=console).warn.apply(n,l0(t))}}function Vu(e,t){if(e&&!To.has(t)){var n;To.add(t),(n=console).error.apply(n,l0(t))}}function NS(e){var t=!e,n=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;Vu(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Vu(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var c0={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},DS={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},on=Object.assign({appendTo:Zg,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},c0,DS),PS=Object.keys(on),IS=function(t){process.env.NODE_ENV!=="production"&&f0(t,[]);var n=Object.keys(t);n.forEach(function(r){on[r]=t[r]})};function d0(e){var t=e.plugins||[],n=t.reduce(function(r,a){var i=a.name,o=a.defaultValue;if(i){var l;r[i]=e[i]!==void 0?e[i]:(l=on[i])!=null?l:o}return r},{});return Object.assign({},e,n)}function LS(e,t){var n=t?Object.keys(d0(Object.assign({},on,{plugins:t}))):PS,r=n.reduce(function(a,i){var o=(e.getAttribute("data-tippy-"+i)||"").trim();if(!o)return a;if(i==="content")a[i]=o;else try{a[i]=JSON.parse(o)}catch{a[i]=o}return a},{});return r}function u0(e,t){var n=Object.assign({},t,{content:Qg(t.content,[e])},t.ignoreAttributes?{}:LS(e,t.plugins));return n.aria=Object.assign({},on.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}function f0(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(r){var a=hS(on,Object.keys(c0)),i=!pS(a,r);i&&(i=t.filter(function(o){return o.name===r}).length===0),cr(i,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
801
+
802
+ `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
803
+ `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var BS=function(){return"innerHTML"};function $u(e,t){e[BS()]=t}function p0(e){var t=Eo();return e===!0?t.className=Kg:(t.className=Jg,Ao(e)?t.appendChild(e):$u(t,e)),t}function h0(e,t){Ao(t.content)?($u(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?$u(e,t.content):e.textContent=t.content)}function Fu(e){var t=e.firstElementChild,n=Tl(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(Xg)}),arrow:n.find(function(r){return r.classList.contains(Kg)||r.classList.contains(Jg)}),backdrop:n.find(function(r){return r.classList.contains(fS)})}}function m0(e){var t=Eo(),n=Eo();n.className=uS,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Eo();r.className=Xg,r.setAttribute("data-state","hidden"),h0(r,e.props),t.appendChild(n),n.appendChild(r),a(e.props,e.props);function a(i,o){var l=Fu(t),c=l.box,d=l.content,u=l.arrow;o.theme?c.setAttribute("data-theme",o.theme):c.removeAttribute("data-theme"),typeof o.animation=="string"?c.setAttribute("data-animation",o.animation):c.removeAttribute("data-animation"),o.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof o.maxWidth=="number"?o.maxWidth+"px":o.maxWidth,o.role?c.setAttribute("role",o.role):c.removeAttribute("role"),(i.content!==o.content||i.allowHTML!==o.allowHTML)&&h0(d,e.props),o.arrow?u?i.arrow!==o.arrow&&(c.removeChild(u),c.appendChild(p0(o.arrow))):c.appendChild(p0(o.arrow)):u&&c.removeChild(u)}return{popper:t,onUpdate:a}}m0.$$tippy=!0;var RS=1,Ol=[],zu=[];function VS(e,t){var n=u0(e,Object.assign({},on,d0(n0(t)))),r,a,i,o=!1,l=!1,c=!1,d=!1,u,f,p,h=[],g=e0(S,n.interactiveDebounce),b,v=RS++,m=null,y=gS(n.plugins),w={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:v,reference:e,popper:Eo(),popperInstance:m,props:n,state:w,plugins:y,clearDelayTimeouts:et,setProps:tr,setContent:kn,show:xn,hide:Ln,hideWithInteractivity:js,enable:F,disable:Qe,unmount:Zi,destroy:fa};if(!n.render)return process.env.NODE_ENV!=="production"&&Vu(!0,"render() function has not been supplied."),_;var k=n.render(_),x=k.popper,C=k.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,e._tippy=_,x._tippy=_;var E=y.map(function(I){return I.fn(_)}),T=e.hasAttribute("aria-expanded");return pt(),se(),K(),de("onCreate",[_]),n.showOnCreate&&Fe(),x.addEventListener("mouseenter",function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()}),x.addEventListener("mouseleave",function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&re().addEventListener("mousemove",g)}),_;function B(){var I=_.props.touch;return Array.isArray(I)?I:[I,0]}function D(){return B()[0]==="hold"}function M(){var I;return!!((I=_.props.render)!=null&&I.$$tippy)}function R(){return b||e}function re(){var I=R().parentNode;return I?kS(I):document}function J(){return Fu(x)}function Q(I){return _.state.isMounted&&!_.state.isVisible||Hn.isTouch||u&&u.type==="focus"?0:Iu(_.props.delay,I?0:1,on.delay)}function K(I){I===void 0&&(I=!1),x.style.pointerEvents=_.props.interactive&&!I?"":"none",x.style.zIndex=""+_.props.zIndex}function de(I,Z,le){if(le===void 0&&(le=!0),E.forEach(function(be){be[I]&&be[I].apply(be,Z)}),le){var xe;(xe=_.props)[I].apply(xe,Z)}}function q(){var I=_.props.aria;if(I.content){var Z="aria-"+I.content,le=x.id,xe=yi(_.props.triggerTarget||e);xe.forEach(function(be){var At=be.getAttribute(Z);if(_.state.isVisible)be.setAttribute(Z,At?At+" "+le:le);else{var $t=At&&At.replace(le,"").trim();$t?be.setAttribute(Z,$t):be.removeAttribute(Z)}})}}function se(){if(!(T||!_.props.aria.expanded)){var I=yi(_.props.triggerTarget||e);I.forEach(function(Z){_.props.interactive?Z.setAttribute("aria-expanded",_.state.isVisible&&Z===R()?"true":"false"):Z.removeAttribute("aria-expanded")})}}function pe(){re().removeEventListener("mousemove",g),Ol=Ol.filter(function(I){return I!==g})}function Oe(I){if(!(Hn.isTouch&&(c||I.type==="mousedown"))){var Z=I.composedPath&&I.composedPath()[0]||I.target;if(!(_.props.interactive&&a0(x,Z))){if(yi(_.props.triggerTarget||e).some(function(le){return a0(le,Z)})){if(Hn.isTouch||_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else de("onClickOutside",[_,I]);_.props.hideOnClick===!0&&(_.clearDelayTimeouts(),_.hide(),l=!0,setTimeout(function(){l=!1}),_.state.isMounted||$())}}}function He(){c=!0}function ye(){c=!1}function oe(){var I=re();I.addEventListener("mousedown",Oe,!0),I.addEventListener("touchend",Oe,Ta),I.addEventListener("touchstart",ye,Ta),I.addEventListener("touchmove",He,Ta)}function $(){var I=re();I.removeEventListener("mousedown",Oe,!0),I.removeEventListener("touchend",Oe,Ta),I.removeEventListener("touchstart",ye,Ta),I.removeEventListener("touchmove",He,Ta)}function te(I,Z){st(I,function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&Z()})}function Le(I,Z){st(I,Z)}function st(I,Z){var le=J().box;function xe(be){be.target===le&&(Ru(le,"remove",xe),Z())}if(I===0)return Z();Ru(le,"remove",f),Ru(le,"add",xe),f=xe}function wt(I,Z,le){le===void 0&&(le=!1);var xe=yi(_.props.triggerTarget||e);xe.forEach(function(be){be.addEventListener(I,Z,le),h.push({node:be,eventType:I,handler:Z,options:le})})}function pt(){D()&&(wt("touchstart",A,{passive:!0}),wt("touchend",P,{passive:!0})),mS(_.props.trigger).forEach(function(I){if(I!=="manual")switch(wt(I,A),I){case"mouseenter":wt("mouseleave",P);break;case"focus":wt(TS?"focusout":"blur",W);break;case"focusin":wt("focusout",W);break}})}function wn(){h.forEach(function(I){var Z=I.node,le=I.eventType,xe=I.handler,be=I.options;Z.removeEventListener(le,xe,be)}),h=[]}function A(I){var Z,le=!1;if(!(!_.state.isEnabled||ne(I)||l)){var xe=((Z=u)==null?void 0:Z.type)==="focus";u=I,b=I.currentTarget,se(),!_.state.isVisible&&_S(I)&&Ol.forEach(function(be){return be(I)}),I.type==="click"&&(_.props.trigger.indexOf("mouseenter")<0||o)&&_.props.hideOnClick!==!1&&_.state.isVisible?le=!0:Fe(I),I.type==="click"&&(o=!le),le&&!xe&&L(I)}}function S(I){var Z=I.target,le=R().contains(Z)||x.contains(Z);if(!(I.type==="mousemove"&&le)){var xe=pn().concat(x).map(function(be){var At,$t=be._tippy,pa=(At=$t.popperInstance)==null?void 0:At.state;return pa?{popperRect:be.getBoundingClientRect(),popperState:pa,props:n}:null}).filter(Boolean);xS(xe,I)&&(pe(),L(I))}}function P(I){var Z=ne(I)||_.props.trigger.indexOf("click")>=0&&o;if(!Z){if(_.props.interactive){_.hideWithInteractivity(I);return}L(I)}}function W(I){_.props.trigger.indexOf("focusin")<0&&I.target!==R()||_.props.interactive&&I.relatedTarget&&x.contains(I.relatedTarget)||L(I)}function ne(I){return Hn.isTouch?D()!==I.type.indexOf("touch")>=0:!1}function ue(){kt();var I=_.props,Z=I.popperOptions,le=I.placement,xe=I.offset,be=I.getReferenceClientRect,At=I.moveTransition,$t=M()?Fu(x).arrow:null,pa=be?{getBoundingClientRect:be,contextElement:be.contextElement||R()}:e,Hs={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(ha){var ma=ha.state;if(M()){var md=J(),Ws=md.box;["placement","reference-hidden","escaped"].forEach(function(ga){ga==="placement"?Ws.setAttribute("data-placement",ma.placement):ma.attributes.popper["data-popper-"+ga]?Ws.setAttribute("data-"+ga,""):Ws.removeAttribute("data-"+ga)}),ma.attributes.popper={}}}},Tt=[{name:"offset",options:{offset:xe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!At}},Hs];M()&&$t&&Tt.push({name:"arrow",options:{element:$t,padding:3}}),Tt.push.apply(Tt,(Z==null?void 0:Z.modifiers)||[]),_.popperInstance=dS(pa,x,Object.assign({},Z,{placement:le,onFirstUpdate:p,modifiers:Tt}))}function kt(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function lt(){var I=_.props.appendTo,Z,le=R();_.props.interactive&&I===Zg||I==="parent"?Z=le.parentNode:Z=Qg(I,[le]),Z.contains(x)||Z.appendChild(x),_.state.isMounted=!0,ue(),process.env.NODE_ENV!=="production"&&cr(_.props.interactive&&I===on.appendTo&&le.nextElementSibling!==x,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
804
+
805
+ `,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
806
+
807
+ `,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
808
+
809
+ `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function pn(){return Tl(x.querySelectorAll("[data-tippy-root]"))}function Fe(I){_.clearDelayTimeouts(),I&&de("onTrigger",[_,I]),oe();var Z=Q(!0),le=B(),xe=le[0],be=le[1];Hn.isTouch&&xe==="hold"&&be&&(Z=be),Z?r=setTimeout(function(){_.show()},Z):_.show()}function L(I){if(_.clearDelayTimeouts(),de("onUntrigger",[_,I]),!_.state.isVisible){$();return}if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(I.type)>=0&&o)){var Z=Q(!1);Z?a=setTimeout(function(){_.state.isVisible&&_.hide()},Z):i=requestAnimationFrame(function(){_.hide()})}}function F(){_.state.isEnabled=!0}function Qe(){_.hide(),_.state.isEnabled=!1}function et(){clearTimeout(r),clearTimeout(a),cancelAnimationFrame(i)}function tr(I){if(process.env.NODE_ENV!=="production"&&cr(_.state.isDestroyed,_i("setProps")),!_.state.isDestroyed){de("onBeforeUpdate",[_,I]),wn();var Z=_.props,le=u0(e,Object.assign({},Z,n0(I),{ignoreAttributes:!0}));_.props=le,pt(),Z.interactiveDebounce!==le.interactiveDebounce&&(pe(),g=e0(S,le.interactiveDebounce)),Z.triggerTarget&&!le.triggerTarget?yi(Z.triggerTarget).forEach(function(xe){xe.removeAttribute("aria-expanded")}):le.triggerTarget&&e.removeAttribute("aria-expanded"),se(),K(),C&&C(Z,le),_.popperInstance&&(ue(),pn().forEach(function(xe){requestAnimationFrame(xe._tippy.popperInstance.forceUpdate)})),de("onAfterUpdate",[_,I])}}function kn(I){_.setProps({content:I})}function xn(){process.env.NODE_ENV!=="production"&&cr(_.state.isDestroyed,_i("show"));var I=_.state.isVisible,Z=_.state.isDestroyed,le=!_.state.isEnabled,xe=Hn.isTouch&&!_.props.touch,be=Iu(_.props.duration,0,on.duration);if(!(I||Z||le||xe)&&!R().hasAttribute("disabled")&&(de("onShow",[_],!1),_.props.onShow(_)!==!1)){if(_.state.isVisible=!0,M()&&(x.style.visibility="visible"),K(),oe(),_.state.isMounted||(x.style.transition="none"),M()){var At=J(),$t=At.box,pa=At.content;Bu([$t,pa],0)}p=function(){var Tt;if(!(!_.state.isVisible||d)){if(d=!0,x.offsetHeight,x.style.transition=_.props.moveTransition,M()&&_.props.animation){var ri=J(),ha=ri.box,ma=ri.content;Bu([ha,ma],be),r0([ha,ma],"visible")}q(),se(),t0(zu,_),(Tt=_.popperInstance)==null||Tt.forceUpdate(),de("onMount",[_]),_.props.animation&&M()&&Le(be,function(){_.state.isShown=!0,de("onShown",[_])})}},lt()}}function Ln(){process.env.NODE_ENV!=="production"&&cr(_.state.isDestroyed,_i("hide"));var I=!_.state.isVisible,Z=_.state.isDestroyed,le=!_.state.isEnabled,xe=Iu(_.props.duration,1,on.duration);if(!(I||Z||le)&&(de("onHide",[_],!1),_.props.onHide(_)!==!1)){if(_.state.isVisible=!1,_.state.isShown=!1,d=!1,o=!1,M()&&(x.style.visibility="hidden"),pe(),$(),K(!0),M()){var be=J(),At=be.box,$t=be.content;_.props.animation&&(Bu([At,$t],xe),r0([At,$t],"hidden"))}q(),se(),_.props.animation?M()&&te(xe,_.unmount):_.unmount()}}function js(I){process.env.NODE_ENV!=="production"&&cr(_.state.isDestroyed,_i("hideWithInteractivity")),re().addEventListener("mousemove",g),t0(Ol,g),g(I)}function Zi(){process.env.NODE_ENV!=="production"&&cr(_.state.isDestroyed,_i("unmount")),_.state.isVisible&&_.hide(),_.state.isMounted&&(kt(),pn().forEach(function(I){I._tippy.unmount()}),x.parentNode&&x.parentNode.removeChild(x),zu=zu.filter(function(I){return I!==_}),_.state.isMounted=!1,de("onHidden",[_]))}function fa(){process.env.NODE_ENV!=="production"&&cr(_.state.isDestroyed,_i("destroy")),!_.state.isDestroyed&&(_.clearDelayTimeouts(),_.unmount(),wn(),delete e._tippy,_.state.isDestroyed=!0,de("onDestroy",[_]))}}function tt(e,t){t===void 0&&(t={});var n=on.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&(NS(e),f0(t,n)),ES();var r=Object.assign({},t,{plugins:n}),a=wS(e);if(process.env.NODE_ENV!=="production"){var i=Ao(r.content),o=a.length>1;cr(i&&o,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
810
+
811
+ `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
812
+
813
+ `,`1) content: element.innerHTML
814
+ `,"2) content: () => element.cloneNode(true)"].join(" "))}var l=a.reduce(function(c,d){var u=d&&VS(d,r);return u&&c.push(u),c},[]);return Ao(e)?l[0]:l}tt.defaultProps=on,tt.setDefaultProps=IS,tt.currentInput=Hn,Object.assign({},Ng,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),tt.setDefaultProps({render:m0});const g0={cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0},isRoot:{type:Boolean,required:!0},quantityNeeded:{type:Number,required:!1,default:void 0},deckList:{type:Object,required:!1,default(){return{}}},isDeckBuilder:{type:Boolean,required:!1,default:!1},userCardQuantity:{type:Object,required:!1,default:void 0},showTippyLocation:{type:String,required:!1,default:null}};var jr=(e=>(e.Standard="client_Formats_Standard_name",e.Eternal="client_Formats_Eternal_name",e.CommonsOnly="client_Formats_CommonsOnly_name",e.Singleton="client_Deckbuilder_RulesFilters_Singleton",e.EvenCost="client_Formats_EvenCostCards_name",e))(jr||{}),vi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},b0={},wi={},ju={};Object.defineProperty(ju,"__esModule",{value:!0});class Oa{constructor(t){this.bytes=new Uint8Array(t)}get length(){return this.bytes.length}PopVarint(){let t=0,n=0,r=0;for(let a=0;a<this.bytes.length;a++){r++;const i=this.bytes[a]&Oa.AllButMSB;if(t|=i<<n,(this.bytes[a]&Oa.JustMSB)!=Oa.JustMSB)return this.bytes=this.bytes.slice(r),t;n+=7}throw"Byte array did not contain valid varints."}sliceAndSet(t,n){this.bytes=this.bytes.slice(t,n)}get(t){return this.bytes[t]}static GetVarint(t){const n=new Uint8Array(10);let r=0;if(t==0)return new Uint8Array([0]);for(;t!==0;){let a=t&this.AllButMSB;t>>=7,t!=0&&(a|=this.JustMSB),n[r++]=a}return n.slice(0,r)}}ju.default=Oa,Oa.AllButMSB=127,Oa.JustMSB=128;var ki={};Object.defineProperty(ki,"__esModule",{value:!0}),ki.mergeUint8Arrays=ki.sortDeck=void 0;function $S(e){e.sort((t,n)=>t.cardCode<n.cardCode?-1:1)}ki.sortDeck=$S;function FS(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}ki.mergeUint8Arrays=FS;var xi={};Object.defineProperty(xi,"__esModule",{value:!0}),xi.base32Decode=xi.base32Encode=void 0;const Hu="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";function zS(e){const t=e.byteLength,n=new Uint8Array(e);let r=0,a="",i=0;for(let o=0;o<t;o++)for(i=i<<8|n[o],r+=8;r>=5;)a+=Hu[i>>>r-5&31],r-=5;for(r>0&&(a+=Hu[i<<5-r&31]);a.length%8!==0;)a+="=";return a}xi.base32Encode=zS;function jS(e){function t(l){const c=Hu.indexOf(l);if(c===-1)throw new Error("Invalid character found: "+l);return c}const n=e.toUpperCase().replace(/\=+$/,"");let r=0,a=0,i=0;const o=new Uint8Array(n.length*5/8|0);for(let l=0;l<n.length;l++)i=i<<5|t(n[l]),r+=5,r>=8&&(o[a++]=i>>>r-8&255,r-=8);return o.buffer}xi.base32Decode=jS;var HS=vi&&vi.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wi,"__esModule",{value:!0}),wi.getCodeFromDeck=wi.getDeckFromCode=void 0;const Wn=HS(ju),Bt=ki,y0=xi;class je{static getMinSupportedLibraryVersion(t){if(!t)return je.INITIAL_VERSION;const n=t.map(r=>r.cardCode.substr(2,2)).map(r=>this.FACTION_CODE_TO_LIBRARY_VERSION[r]||this.INITIAL_VERSION);return Math.max(...n)}static getDeckFromCode(t){const n=[],r=y0.base32Decode(t);if(!r)throw"Invalid deck code";const a=new Wn.default(r);a.get(0)>>4;const i=a.get(0)&15;if(a.sliceAndSet(1),i>je.MAX_KNOWN_VERSION)throw"The provided code requires a higher version of this library; please update.";for(let o=3;o>0;o--){const l=a.PopVarint();for(let c=0;c<l;c++){const d=a.PopVarint(),u=a.PopVarint(),f=a.PopVarint();for(let p=0;p<d;p++){const h=a.PopVarint(),g=u.toString().padStart(2,"0"),b=this.INT_TO_FACTION_CODE[f],v=h.toString().padStart(3,"0"),m={cardCode:g+b+v,count:o};n.push(m)}}}for(;a.length>0;){const o=a.PopVarint(),l=a.PopVarint(),c=a.PopVarint(),d=a.PopVarint(),u=l.toString().padStart(2,"0"),f=this.INT_TO_FACTION_CODE[c],p=d.toString().padStart(3,"0"),h={cardCode:u+f+p,count:o};n.push(h)}return n}static getCodeFromDeck(t){const n=this.getDeckCodeBytes(t);return y0.base32Encode(n)}static getDeckCodeBytes(t){if(!je.ValidCardCodesAndCounts(t))throw"The provided deck contains invalid card codes.";const n=this.FORMAT<<this.MAX_KNOWN_VERSION|this.getMinSupportedLibraryVersion(t)&15;let r=new Uint8Array([n]);const a=[],i=[],o=[],l=[];for(const b of t)if(b.count==3)a.push(b);else if(b.count==2)i.push(b);else if(b.count==1)o.push(b);else{if(b.count<1)throw"Invalid count of "+b.count+" for card "+b.cardCode;l.push(b)}let c=je.GetGroupedOfs(a),d=je.GetGroupedOfs(i),u=je.GetGroupedOfs(o);c=je.SortGroupOf(c),d=je.SortGroupOf(d),u=je.SortGroupOf(u),Bt.sortDeck(l);const f=je.EncodeGroupOf(c),p=je.EncodeGroupOf(d),h=je.EncodeGroupOf(u),g=je.EncodeNOfs(l);return r=Bt.mergeUint8Arrays(r,f),r=Bt.mergeUint8Arrays(r,p),r=Bt.mergeUint8Arrays(r,h),r=Bt.mergeUint8Arrays(r,g),r}static GetGroupedOfs(t){const n=[];for(;t.length>0;){const r=[],a=t[0].cardCode,{set:i,faction:o,number:l}=je.ParseCardCode(a);r.push(t[0]),t.shift();for(let c=t.length-1;c>=0;c--){const d=t[c].cardCode,u=Number(d.substring(0,2)),f=d.substring(2,4);u===i&&f===o&&(r.push(t[c]),t.splice(c,1))}n.push(r)}return n}static EncodeNOfs(t){let n=new Uint8Array;for(const r of t){n=Bt.mergeUint8Arrays(n,Wn.default.GetVarint(r.count));const{set:a,faction:i,number:o}=je.ParseCardCode(r.cardCode),l=this.FACTION_CODE_TO_INT[i];n=Bt.mergeUint8Arrays(n,Wn.default.GetVarint(a)),n=Bt.mergeUint8Arrays(n,Wn.default.GetVarint(l)),n=Bt.mergeUint8Arrays(n,Wn.default.GetVarint(o))}return n}static SortGroupOf(t){const n=t.sort((r,a)=>r.length<a.length?-1:1);return n.forEach(r=>Bt.sortDeck(r)),n}static EncodeGroupOf(t){let n=new Uint8Array([]);n=Bt.mergeUint8Arrays(n,Wn.default.GetVarint(t.length));for(const r of t){n=Bt.mergeUint8Arrays(n,Wn.default.GetVarint(r.length));const a=r[0].cardCode,{set:i,faction:o}=je.ParseCardCode(a),l=this.FACTION_CODE_TO_INT[o];n=Bt.mergeUint8Arrays(n,Wn.default.GetVarint(i)),n=Bt.mergeUint8Arrays(n,Wn.default.GetVarint(l));for(const c of r){const d=c.cardCode,u=Number(d.substring(4,7));n=Bt.mergeUint8Arrays(n,Wn.default.GetVarint(u))}}return n}static ParseCardCode(t){return{set:Number(t.substring(0,2)),faction:t.substring(2,4),number:Number(t.substring(4,7))}}static ValidCardCodesAndCounts(t){for(const n of t){if(n.cardCode.length!=je.CARD_CODE_LENGTH||isNaN(Number(n.cardCode.substring(0,2))))return!1;const r=n.cardCode.substring(2,4);if(this.FACTION_CODE_TO_INT[r]===void 0||isNaN(Number(n.cardCode.substring(4,7)))||n.count<1)return!1}return!0}}je.CARD_CODE_LENGTH=7,je.MAX_KNOWN_VERSION=5,je.FORMAT=1,je.INITIAL_VERSION=1,je.FACTION_CODE_TO_INT={DE:0,FR:1,IO:2,NX:3,PZ:4,SI:5,BW:6,SH:7,MT:9,BC:10,RU:12},je.INT_TO_FACTION_CODE={0:"DE",1:"FR",2:"IO",3:"NX",4:"PZ",5:"SI",6:"BW",7:"SH",9:"MT",10:"BC",12:"RU"},je.FACTION_CODE_TO_LIBRARY_VERSION={DE:1,FR:1,IO:1,NX:1,PZ:1,SI:1,BW:2,MT:2,SH:3,BC:4,RU:5};const WS=e=>je.getDeckFromCode(e);wi.getDeckFromCode=WS;const US=e=>je.getCodeFromDeck(e);wi.getCodeFromDeck=US;var _0={};Object.defineProperty(_0,"__esModule",{value:!0}),function(e){var t=vi&&vi.__createBinding||(Object.create?function(r,a,i,o){o===void 0&&(o=i),Object.defineProperty(r,o,{enumerable:!0,get:function(){return a[i]}})}:function(r,a,i,o){o===void 0&&(o=i),r[o]=a[i]}),n=vi&&vi.__exportStar||function(r,a){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,r,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(wi,e),n(_0,e)}(b0);function Oo(e){return/^\d+$/.test(e[0])}function Si(e){return e===void 0?!1:e.supertype==="Champion"&&e.typeRef==="Unit"}function YS(e){if(e===void 0)return Math.random();typeof e=="string"&&(e=Number(e.split("").map(function(n){return n.charCodeAt(0)+1}).join("")));const t=Math.sin(e++)*1e4;return t-Math.floor(t)}function v0(e){return`#${Math.floor(YS(e)*16777215).toString(16)}`}function Tn(e,t=.5){return e>=t+.15||e>=1?"--color-excellent":e>=t+.05?"--color-good":e>=t+.005?"--color-good-lite":e<t+.005&&e>t-.005?"--color-median":e>=t-.05?"--color-bad-lite":"--color-bad"}function Me(e,t=0,n){return Number(e.toFixed(t)).toLocaleString(void 0,{maximumSignificantDigits:n===void 0?e>1e4?3:2:n})}function qS(e,t){return Math.floor(Math.random()*(t-e)+e)}function GS(e,t){return e.reduce((n,r)=>{var a;return(n[a=t(r)]||(n[a]=[])).push(r),n},{})}function Ml(e,t){var i;if(t)return null;const n=Ot().cardJsonObject,r=Ee().dataJson;let a=0;for(const o in e){const l=(i=r.rarities.find(d=>d.nameRef===n[o].rarityRef))==null?void 0:i.cost;if(l===void 0)continue;const c=t?Math.max(0,e[o]):e[o];a+=l*c}return a}function Ma(e,t,n){const r=[],a=[i=>Si(i),i=>i.typeRef==="Landmark",i=>i.typeRef==="Unit"&&!Si(i),i=>i.typeRef==="Spell",i=>i.typeRef==="Equipment"];for(;r.length<n;){const i=a.shift();if(!i)break;r.push(...XS(e.filter(i),t,n-r.length))}return r}function XS(e,t,n){return e.sort((r,a)=>t[a.cardCode]-t[r.cardCode]).sort((r,a)=>a.cost-r.cost).slice(0,n)}function Ct(e){return e===""?{}:b0.getDeckFromCode(e).reduce((t,n)=>({...t,[n.cardCode]:n.count}),{})}function sn(e){return Object.keys(e).map(t=>Ot().cardJsonObject[t]).filter(t=>t!==void 0).sort((t,n)=>t.name.localeCompare(n.name)).sort((t,n)=>t.cost-n.cost)}function KS(e){return Nl(Ct(e))}function Nl(e){const t=Ot().cardJsonObject,n=Object.keys(e).map(r=>t[r]).filter(r=>r!==void 0);return Dl(n)}function Dl(e){const t=[];for(const n of e)n.regionRefs.length===1&&!t.includes(n.regionRefs[0])&&t.push(n.regionRefs[0]);if(e.every(n=>n.regionRefs.filter(r=>t.includes(r)).length>0))return t;for(const n of e){const r=n.regionRefs.filter(a=>!Oo(a));r.length===1&&t.push(r[0])}return t}function Na(e,t,n=!1){var i,o;const r=Ee().dataJson,a=`var(${((i=r.regions.find(l=>l.nameRef===e.regionRefs[0]))==null?void 0:i.color)||"--color-primary-2"}${n?"-rgb":""})`;if(e.regionRefs.length===1||!t||t.length<2)return a;for(const l of t)if(e.regionRefs.includes(l))return`var(${((o=r.regions.find(c=>c.nameRef===l))==null?void 0:o.color)||"--color-primary-2"}${n?"-rgb":""})`;return a}function JS(e){return Mo(`--color-${e}`)||Mo("--color-primary-2")}function Mo(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function ZS(e){var t,n;return Oo(e)?((t=Ot().cardJsonObject[e])==null?void 0:t.name)||"Runeterra":(n=Ee().dataJson.regions.find(r=>r.nameRef===e))==null?void 0:n.name}function QS(e,t){t||(t=Nl(e));const n={};for(const r of t)n[r]=0;for(const r in e){const a=Ot().cardJsonObject[r];a&&(n[w0(a,t)]+=e[r])}return n}function w0(e,t){for(const n of e.regionRefs)if(t.includes(n))return n;throw new Error("Card's region was unfound.")}function e7(e){if(navigator.clipboard){navigator.clipboard.writeText(e);return}const t=document.createElement("textarea");document.body.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),document.body.removeChild(t)}function No(e,t,n=!0){return s.computed(()=>{if(e)return e;if(!t){if(n)throw new Error("CardProp or CardCodeProp must be defined.");return}return Ot().cardJsonObject[t]})}function t7(e,t,n){if(!e&&t&&(e=sn(t)),!e&&n&&(e=sn(Ct(n))),!e)throw new Error("At least one argument must be defined.");let r=[jr.CommonsOnly,jr.Eternal,jr.Standard,jr.EvenCost,jr.Singleton];for(const a of e)r=r.filter(i=>a.formats.includes(i));return r}const n7=["alt","src"],r7={key:0,class:"quantity-ticks-container"},a7={key:0},i7={key:0,class:"card-info-quantity-possessed"},o7={key:1,class:"line"},s7={class:"card-info-title"},l7={class:"card-info-text"},c7={key:2,class:"line"},d7={key:3,class:"card-info-text"},u7={key:1,class:"associated-card-container"},f7=s.defineComponent({__name:"CardItem",props:g0,setup(e){const t=e,n=s.ref(null),r=s.ref(null);let a=null;const i=s.ref(!1),o=No(t.cardProp,t.cardCodeProp),l=s.computed(()=>o.value===void 0?null:t.quantityNeeded!=null&&t.userCardQuantity!=null&&o.value.cardCode in t.userCardQuantity&&t.quantityNeeded>t.userCardQuantity[o.value.cardCode]?"bad":null),c=s.computed(()=>{if(o.value===void 0)return[];const v=[];if(t.isRoot)for(const m of o.value.associatedCardRefs)v.push(Ot().cardJsonObject[m]);return v}),d=s.computed(()=>{if(o.value===void 0)return[];const v=[];for(const m of o.value.keywordRefs){const y=Ee().dataJson.keywords.find(w=>w.nameRef===m);y&&v.push(y)}return v}),u=s.computed(()=>t.isRoot&&(t.userCardQuantity!=null||o.value&&(o.value.keywordRefs.length>0||o.value.associatedCardRefs.length>0))),f=s.computed(()=>{var v;return t.userCardQuantity==null||o.value&&!(o.value.cardCode in t.userCardQuantity)?0:t.userCardQuantity[((v=o.value)==null?void 0:v.cardCode)??0]}),p=s.computed(()=>o.value===void 0?null:t.isDeckBuilder&&t.deckList[o.value.cardCode]===3?"disabled":null);s.watch(()=>t.showTippyLocation,v=>{a&&(v?(a.setProps({placement:v}),a.show()):a.hide())});function h(){window.addEventListener("keyup",v=>{v.key=="Shift"&&(i.value=!1)})}function g(){window.addEventListener("keydown",v=>{v.key=="Shift"&&(i.value=!0)})}function b(v){return o.value===void 0?null:t.isDeckBuilder?!(o.value.cardCode in t.deckList)||v>t.deckList[o.value.cardCode]?"disabled":null:v>f.value?"disabled":null}return s.onMounted(()=>{(o.value===void 0||t.userCardQuantity!=null||o.value.keywordRefs.length>0||o.value.associatedCardRefs.length>0)&&(a=tt(n.value,{allowHTML:!0,content:r.value,placement:"right-start",duration:0,role:"card-info",maxWidth:"50vw"})),(o.value===void 0||o.value.associatedCardRefs.length>0)&&(h(),g())}),(v,m)=>{var w,_,k;const y=s.resolveComponent("CardItem",!0);return s.openBlock(),s.createElementBlock("div",{class:"card-item-container",onMouseover:m[0]||(m[0]=x=>!0),onMouseleave:m[1]||(m[1]=x=>!1)},[s.createElementVNode("img",{ref_key:"cardItem",ref:n,alt:(w=s.unref(o))==null?void 0:w.name,class:s.normalizeClass(["card-item",s.unref(p)]),src:`https://lor.gg/storage/cards/card/en_us/${(_=s.unref(o))==null?void 0:_.cardCode}.webp`},null,10,n7),(v.isDeckBuilder||v.userCardQuantity!=null)&&((k=s.unref(o))!=null&&k.collectible)?(s.openBlock(),s.createElementBlock("div",r7,[(s.openBlock(),s.createElementBlock(s.Fragment,null,s.renderList(3,x=>s.createElementVNode("div",{key:x,class:s.normalizeClass(["quantity-tick",b(x)])},null,2)),64))])):s.createCommentVNode("",!0),s.createElementVNode("div",{ref_key:"cardInfo",ref:r,class:s.normalizeClass(i.value?null:"card-info")},[!i.value&&s.unref(u)&&s.unref(o)?(s.openBlock(),s.createElementBlock("div",a7,[s.unref(f)!==void 0?(s.openBlock(),s.createElementBlock("div",i7,[s.createTextVNode(s.toDisplayString("You have: ")+" "),s.createElementVNode("b",{class:s.normalizeClass(s.unref(l))},s.toDisplayString(s.unref(f)+" / "+(v.quantityNeeded||3)),3)])):s.createCommentVNode("",!0),s.unref(f)!==void 0&&(s.unref(o).keywordRefs.length>0||s.unref(o).associatedCardRefs.length>0)?(s.openBlock(),s.createElementBlock("hr",o7)):s.createCommentVNode("",!0),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(d),x=>(s.openBlock(),s.createElementBlock("div",{key:x.nameRef,class:"card-info-section"},[s.createElementVNode("h4",s7,s.toDisplayString(x.name),1),s.createElementVNode("p",l7,s.toDisplayString(x.description),1)]))),128)),s.unref(o).keywordRefs.length>0&&s.unref(o).associatedCardRefs.length>0?(s.openBlock(),s.createElementBlock("hr",c7)):s.createCommentVNode("",!0),s.unref(o).associatedCardRefs.length>0?(s.openBlock(),s.createElementBlock("div",d7,s.toDisplayString("Hold Shift to see Associated Cards"))):s.createCommentVNode("",!0)])):(s.openBlock(),s.createElementBlock("div",u7,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(c),x=>(s.openBlock(),s.createBlock(y,{key:x.cardCode,"card-code-prop":x.cardCode,"is-deck-builder":!1,"is-root":!1,class:"associated-card"},null,8,["card-code-prop"]))),128))]))],2)],32)}}}),mJ="",V=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},dr=V(f7,[["__scopeId","data-v-41c84b70"]]),p7=s.defineComponent({__name:"RevealCarousel",props:nx,setup(e){var l;const t=e,n=[X6],r=s.ref(null),a=s.ref((l=r.value)==null?void 0:l.clientWidth),i=s.computed(()=>a.value===void 0?!0:a.value<400);function o(){var c;a.value=(c=r.value)==null?void 0:c.clientWidth}return s.onMounted(()=>{window.addEventListener("resize",o),o()}),s.onUnmounted(()=>{window.removeEventListener("resize",o)}),(c,d)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"revealCarousel",ref:r,class:"reveal-carousel"},[s.createVNode(s.unref(Eg),{"slides-per-view":"auto","space-between":15,"centered-slides":s.unref(i),navigation:!0,modules:n},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.cardCodes,u=>(s.openBlock(),s.createBlock(s.unref(Ag),{key:u},{default:s.withCtx(()=>[s.createVNode(dr,{class:"card-item-called","card-code-prop":u,"is-root":!0},null,8,["card-code-prop"])]),_:2},1024))),128))]),_:1},8,["centered-slides"])],512))}}),gJ="",Wu=V(p7,[["__scopeId","data-v-430f2bb4"]]),h7={cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0},ignoreCardItem:{type:Boolean,required:!1,default:void 0},color:{type:String,required:!1,default:void 0},name:{type:String,required:!1,default:void 0},manaNumber:{type:Number,required:!1,default:void 0},quantityNumber:{type:Number,required:!1,default:void 0},maintainAspectRatio:{type:Boolean,required:!1,default:!0},showPlusMinus:{type:Boolean,required:!1,default:!1}},m7={},g7={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 31 36"},b7=[s.createStaticVNode('<defs><linearGradient id="a" x1=".08" y1=".82" x2="1" y2=".19" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0466c8"></stop><stop offset="1" stop-color="#003a9e"></stop></linearGradient></defs><g transform="rotate(90 15.5 15.5)" fill="url(#a)"><path d="M23.55 30.5h-11.1a5.52 5.52 0 0 1-4.75-2.74l-5.52-9.5a5.51 5.51 0 0 1 0-5.52l5.52-9.5A5.52 5.52 0 0 1 12.45.5h11.1a5.52 5.52 0 0 1 4.75 2.74l5.52 9.5c.99 1.7.99 3.82 0 5.52l-5.52 9.5a5.52 5.52 0 0 1-4.75 2.74Z"></path><path d="M12.45 1c-1.77 0-3.43.95-4.32 2.49l-5.52 9.5a5.01 5.01 0 0 0 0 5.02l5.52 9.5A5.02 5.02 0 0 0 12.45 30h11.1c1.77 0 3.43-.95 4.32-2.49l5.52-9.5c.9-1.55.9-3.47 0-5.02l-5.52-9.5A5.02 5.02 0 0 0 23.55 1h-11.1m0-1h11.1a6 6 0 0 1 5.18 2.99l5.52 9.5a6 6 0 0 1 0 6.02l-5.52 9.5A6 6 0 0 1 23.55 31h-11.1a6 6 0 0 1-5.18-2.99l-5.52-9.5a6 6 0 0 1 0-6.02l5.52-9.5A6 6 0 0 1 12.45 0Z" fill="var(--color-gold)"></path></g>',2)];function y7(e,t){return s.openBlock(),s.createElementBlock("svg",g7,b7)}const Do=V(m7,[["render",y7]]),_7={class:"card-slice"},v7={key:0,class:"mana-hexagon"},w7={class:"mana-number"},k7={class:"card-name"},x7={key:1,class:"quantity"},S7={class:"quantity-background"},C7={class:"num-quantity"},E7={class:"plus-minus-content"},A7={class:"plus-minus-quantity"},T7=s.defineComponent({__name:"CardSliceItem",props:h7,emits:["cardupdate"],setup(e){const t=e,n=No(t.cardProp,t.cardCodeProp,!1),r=s.ref(null),a=s.ref(null),i=s.ref(null),o=s.ref(null),l=s.computed(()=>{let u=t.color;return!u&&n.value&&(u=Na(n.value,null,!0)),u||(u="var(--color-background-2-rgb)"),`linear-gradient(90deg, rgba(${u}, 1) 0%, rgba(${u}, 1) 30%, rgba(${u}, .10) 70%, rgba(${u}, .00) 100%)`}),c=s.computed(()=>n.value?"https://lor.gg/storage/cards/slice/"+n.value.cardCode+"-slice.webp":""),d=s.computed(()=>{const u=["card-slice-wrapper"];return t.maintainAspectRatio&&u.push("maintain-aspect-ratio"),u});return s.onMounted(()=>{t.ignoreCardItem||tt(r.value,{content:i.value,placement:"right",arrow:!0,touch:"hold",duration:0,role:"card-image",onShown:u=>{const f=u.popper.innerHTML.includes("right")?"right-start":"left-start";o.value=f},onHidden:()=>{o.value=null}})}),(u,f)=>{var h,g;const p=s.resolveComponent("FontAwesomeIcon");return s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",{ref_key:"cardSlice",ref:r,class:s.normalizeClass(s.unref(d))},[s.createElementVNode("div",_7,[s.createElementVNode("div",{class:"card-image",style:s.normalizeStyle({backgroundImage:`url(${s.unref(c)})`})},null,4),s.createElementVNode("div",{class:"region-gradient",style:s.normalizeStyle({background:s.unref(l)})},null,4),s.unref(n)||t.manaNumber!==void 0&&t.manaNumber!==null?(s.openBlock(),s.createElementBlock("div",v7,[s.createVNode(Do,{class:"hexagon-icon"}),s.createElementVNode("div",w7,s.toDisplayString(t.manaNumber??((h=s.unref(n))==null?void 0:h.cost)),1)])):s.createCommentVNode("",!0),s.createElementVNode("div",k7,s.toDisplayString(t.name??((g=s.unref(n))==null?void 0:g.name)),1),t.quantityNumber!==void 0&&t.quantityNumber!==null?(s.openBlock(),s.createElementBlock("div",x7,[s.createElementVNode("div",S7,[s.createElementVNode("p",C7,s.toDisplayString(t.quantityNumber),1)])])):s.createCommentVNode("",!0),t.showPlusMinus?(s.openBlock(),s.createElementBlock("div",{key:2,class:"plus-minus",onClick:f[2]||(f[2]=s.withModifiers(()=>{},["prevent"]))},[s.createElementVNode("div",E7,[s.createElementVNode("div",{class:"plus-minus-icon",onClick:f[0]||(f[0]=s.withModifiers(b=>{var v;return u.$emit("cardupdate",(v=s.unref(n))==null?void 0:v.cardCode,-1)},["prevent"]))},[s.createVNode(p,{icon:"minus",class:"icon"})]),s.createElementVNode("div",{class:"plus-minus-icon",onClick:f[1]||(f[1]=s.withModifiers(b=>{var v;return u.$emit("cardupdate",(v=s.unref(n))==null?void 0:v.cardCode,1)},["prevent"]))},[s.createVNode(p,{icon:"plus",class:"icon"})]),s.createElementVNode("div",A7,s.toDisplayString(t.quantityNumber),1)])])):s.createCommentVNode("",!0)])],2),s.createElementVNode("div",{ref_key:"cardItemWrapper",ref:i,class:"card-item-container"},[s.unref(n)&&!u.ignoreCardItem?(s.openBlock(),s.createBlock(dr,{key:0,ref_key:"cardItem",ref:a,"is-root":!0,"card-prop":s.unref(n),"quantity-needed":t.quantityNumber,"show-tippy-location":o.value,class:"card-image-hover"},null,8,["card-prop","quantity-needed","show-tippy-location"])):s.createCommentVNode("",!0)],512)])}}}),yJ="",ln=V(T7,[["__scopeId","data-v-a31abfc0"]]);function Un(e){return[null,void 0].indexOf(e)!==-1}function O7(e,t,n){const{object:r,valueProp:a,mode:i}=s.toRefs(e),o=s.getCurrentInstance().proxy,l=n.iv,c=(f,p=!0)=>{l.value=u(f);const h=d(f);t.emit("change",h,o),p&&(t.emit("input",h),t.emit("update:modelValue",h))},d=f=>r.value||Un(f)?f:Array.isArray(f)?f.map(p=>p[a.value]):f[a.value],u=f=>Un(f)?i.value==="single"?{}:[]:f;return{update:c}}function M7(e,t){const{value:n,modelValue:r,mode:a,valueProp:i}=s.toRefs(e),o=s.ref(a.value!=="single"?[]:{}),l=r&&r.value!==void 0?r:n,c=s.computed(()=>a.value==="single"?o.value[i.value]:o.value.map(u=>u[i.value])),d=s.computed(()=>a.value!=="single"?o.value.map(u=>u[i.value]).join(","):o.value[i.value]);return{iv:o,internalValue:o,ev:l,externalValue:l,textValue:d,plainValue:c}}function N7(e,t,n){const{regex:r}=s.toRefs(e),a=s.getCurrentInstance().proxy,i=n.isOpen,o=n.open,l=s.ref(null),c=s.ref(null),d=()=>{l.value=""},u=h=>{l.value=h.target.value},f=h=>{if(r&&r.value){let g=r.value;typeof g=="string"&&(g=new RegExp(g)),h.key.match(g)||h.preventDefault()}},p=h=>{if(r&&r.value){let b=(h.clipboardData||window.clipboardData).getData("Text"),v=r.value;typeof v=="string"&&(v=new RegExp(v)),b.split("").every(m=>!!m.match(v))||h.preventDefault()}t.emit("paste",h,a)};return s.watch(l,h=>{!i.value&&h&&o(),t.emit("search-change",h,a)}),{search:l,input:c,clearSearch:d,handleSearchInput:u,handleKeypress:f,handlePaste:p}}function D7(e,t,n){const{groupSelect:r,mode:a,groups:i,disabledProp:o}=s.toRefs(e),l=s.ref(null),c=u=>{u===void 0||u!==null&&u[o.value]||i.value&&u&&u.group&&(a.value==="single"||!r.value)||(l.value=u)};return{pointer:l,setPointer:c,clearPointer:()=>{c(null)}}}function Uu(e,t=!0){return t?String(e).toLowerCase().trim():String(e).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g),"ae").replace(new RegExp(/œ/g),"oe").replace(new RegExp(/ø/g),"o").replace(/\p{Diacritic}/gu,"")}function P7(e){return Object.prototype.toString.call(e)==="[object Object]"}function I7(e,t){const n=t.slice().sort();return e.length===t.length&&e.slice().sort().every(function(r,a){return r===n[a]})}function L7(e,t,n){const{options:r,mode:a,trackBy:i,limit:o,hideSelected:l,createTag:c,createOption:d,label:u,appendNewTag:f,appendNewOption:p,multipleLabel:h,object:g,loading:b,delay:v,resolveOnLoad:m,minChars:y,filterResults:w,clearOnSearch:_,clearOnSelect:k,valueProp:x,allowAbsent:C,groupLabel:E,canDeselect:T,max:B,strict:D,closeOnSelect:M,closeOnDeselect:R,groups:re,reverse:J,infinite:Q,groupOptions:K,groupHideEmpty:de,groupSelect:q,onCreate:se,disabledProp:pe,searchStart:Oe,searchFilter:He}=s.toRefs(e),ye=s.getCurrentInstance().proxy,oe=n.iv,$=n.ev,te=n.search,Le=n.clearSearch,st=n.update,wt=n.pointer,pt=n.clearPointer,wn=n.focus,A=n.deactivate,S=n.close,P=n.localize,W=s.ref([]),ne=s.ref([]),ue=s.ref(!1),kt=s.ref(null),lt=s.ref(Q.value&&o.value===-1?10:o.value),pn=s.computed(()=>c.value||d.value||!1),Fe=s.computed(()=>f.value!==void 0?f.value:p.value!==void 0?p.value:!0),L=s.computed(()=>{if(re.value){let O=et.value||[],U=[];return O.forEach(Se=>{em(Se[K.value]).forEach(ht=>{U.push(Object.assign({},ht,Se[pe.value]?{[pe.value]:!0}:{}))})}),U}else{let O=em(ne.value||[]);return W.value.length&&(O=O.concat(W.value)),O}}),F=s.computed(()=>{let O=L.value;return J.value&&(O=O.reverse()),fa.value.length&&(O=fa.value.concat(O)),Qh(O)}),Qe=s.computed(()=>{let O=F.value;return lt.value>0&&(O=O.slice(0,lt.value)),O}),et=s.computed(()=>{if(!re.value)return[];let O=[],U=ne.value||[];return W.value.length&&O.push({[E.value]:" ",[K.value]:[...W.value],__CREATE__:!0}),O.concat(U)}),tr=s.computed(()=>{let O=[...et.value].map(U=>({...U}));return fa.value.length&&(O[0]&&O[0].__CREATE__?O[0][K.value]=[...fa.value,...O[0][K.value]]:O=[{[E.value]:" ",[K.value]:[...fa.value],__CREATE__:!0}].concat(O)),O}),kn=s.computed(()=>{if(!re.value)return[];let O=tr.value;return sJ((O||[]).map((U,Se)=>{const ht=em(U[K.value]);return{...U,index:Se,group:!0,[K.value]:Qh(ht,!1).map(Us=>Object.assign({},Us,U[pe.value]?{[pe.value]:!0}:{})),__VISIBLE__:Qh(ht).map(Us=>Object.assign({},Us,U[pe.value]?{[pe.value]:!0}:{}))}}))}),xn=s.computed(()=>{switch(a.value){case"single":return!Un(oe.value[x.value]);case"multiple":case"tags":return!Un(oe.value)&&oe.value.length>0}}),Ln=s.computed(()=>h!==void 0&&h.value!==void 0?h.value(oe.value,ye):oe.value&&oe.value.length>1?`${oe.value.length} options selected`:"1 option selected"),js=s.computed(()=>!L.value.length&&!ue.value&&!fa.value.length),Zi=s.computed(()=>L.value.length>0&&Qe.value.length==0&&(te.value&&re.value||!re.value)),fa=s.computed(()=>pn.value===!1||!te.value?[]:aJ(te.value)!==-1?[]:[{[x.value]:te.value,[I.value]:te.value,[u.value]:te.value,__CREATE__:!0}]),I=s.computed(()=>i.value||u.value),Z=s.computed(()=>{switch(a.value){case"single":return null;case"multiple":case"tags":return[]}}),le=s.computed(()=>b.value||ue.value),xe=O=>{switch(typeof O!="object"&&(O=Or(O)),a.value){case"single":st(O);break;case"multiple":case"tags":st(oe.value.concat(O));break}t.emit("select",At(O),O,ye)},be=O=>{switch(typeof O!="object"&&(O=Or(O)),a.value){case"single":Hs();break;case"tags":case"multiple":st(Array.isArray(O)?oe.value.filter(U=>O.map(Se=>Se[x.value]).indexOf(U[x.value])===-1):oe.value.filter(U=>U[x.value]!=O[x.value]));break}t.emit("deselect",At(O),O,ye)},At=O=>g.value?O:O[x.value],$t=O=>{be(O)},pa=(O,U)=>{if(U.button!==0){U.preventDefault();return}$t(O)},Hs=()=>{t.emit("clear",ye),st(Z.value)},Tt=O=>{if(O.group!==void 0)return a.value==="single"?!1:rJ(O[K.value])&&O[K.value].length;switch(a.value){case"single":return!Un(oe.value)&&oe.value[x.value]==O[x.value];case"tags":case"multiple":return!Un(oe.value)&&oe.value.map(U=>U[x.value]).indexOf(O[x.value])!==-1}},ri=O=>O[pe.value]===!0,ha=()=>B===void 0||B.value===-1||!xn.value&&B.value>0?!1:oe.value.length>=B.value,ma=O=>{if(!ri(O)){if(se&&se.value&&!Tt(O)&&O.__CREATE__&&(O={...O},delete O.__CREATE__,O=se.value(O,ye),O instanceof Promise)){ue.value=!0,O.then(U=>{ue.value=!1,md(U)});return}md(O)}},md=O=>{switch(O.__CREATE__&&(O={...O},delete O.__CREATE__),a.value){case"single":if(O&&Tt(O)){T.value&&be(O),R.value&&(pt(),S());return}O&&ga(O),k.value&&Le(),M.value&&(pt(),S()),O&&xe(O);break;case"multiple":if(O&&Tt(O)){be(O),R.value&&(pt(),S());return}if(ha()){t.emit("max",ye);return}O&&(ga(O),xe(O)),k.value&&Le(),l.value&&pt(),M.value&&S();break;case"tags":if(O&&Tt(O)){be(O),R.value&&(pt(),S());return}if(ha()){t.emit("max",ye);return}O&&ga(O),k.value&&Le(),O&&xe(O),l.value&&pt(),M.value&&S();break}M.value||wn()},Ws=O=>{if(!(ri(O)||a.value==="single"||!q.value)){switch(a.value){case"multiple":case"tags":nJ(O[K.value])?be(O[K.value]):xe(O[K.value].filter(U=>oe.value.map(Se=>Se[x.value]).indexOf(U[x.value])===-1).filter(U=>!U[pe.value]).filter((U,Se)=>oe.value.length+1+Se<=B.value||B.value===-1));break}M.value&&A()}},ga=O=>{Or(O[x.value])===void 0&&pn.value&&(t.emit("tag",O[x.value],ye),t.emit("option",O[x.value],ye),t.emit("create",O[x.value],ye),Fe.value&&oJ(O),Le())},tJ=()=>{a.value!=="single"&&xe(Qe.value.filter(O=>!O.disabled&&!Tt(O)))},nJ=O=>O.find(U=>!Tt(U)&&!U[pe.value])===void 0,rJ=O=>O.find(U=>!Tt(U))===void 0,Or=O=>L.value[L.value.map(U=>String(U[x.value])).indexOf(String(O))],aJ=(O,U=!0)=>L.value.map(Se=>parseInt(Se[I.value])==Se[I.value]?parseInt(Se[I.value]):Se[I.value]).indexOf(parseInt(O)==O?parseInt(O):O),iJ=O=>["tags","multiple"].indexOf(a.value)!==-1&&l.value&&Tt(O),oJ=O=>{W.value.push(O)},sJ=O=>de.value?O.filter(U=>te.value?U.__VISIBLE__.length:U[K.value].length):O.filter(U=>te.value?U.__VISIBLE__.length:!0),Qh=(O,U=!0)=>{let Se=O;if(te.value&&w.value){let ht=He.value;ht||(ht=(Us,MQ)=>{let O3=Uu(P(Us[I.value]),D.value);return Oe.value?O3.startsWith(Uu(te.value,D.value)):O3.indexOf(Uu(te.value,D.value))!==-1}),Se=Se.filter(ht)}return l.value&&U&&(Se=Se.filter(ht=>!iJ(ht))),Se},em=O=>{let U=O;return P7(U)&&(U=Object.keys(U).map(Se=>{let ht=U[Se];return{[x.value]:Se,[I.value]:ht,[u.value]:ht}})),U=U.map(Se=>typeof Se=="object"?Se:{[x.value]:Se,[I.value]:Se,[u.value]:Se}),U},gd=()=>{Un($.value)||(oe.value=yd($.value))},bd=O=>(ue.value=!0,new Promise((U,Se)=>{r.value(te.value,ye).then(ht=>{ne.value=ht||[],typeof O=="function"&&O(ht),ue.value=!1}).catch(ht=>{console.error(ht),ne.value=[],ue.value=!1}).finally(()=>{U()})})),tm=()=>{if(xn.value)if(a.value==="single"){let O=Or(oe.value[x.value]);if(O!==void 0){let U=O[u.value];oe.value[u.value]=U,g.value&&($.value[u.value]=U)}}else oe.value.forEach((O,U)=>{let Se=Or(oe.value[U][x.value]);if(Se!==void 0){let ht=Se[u.value];oe.value[U][u.value]=ht,g.value&&($.value[U][u.value]=ht)}})},lJ=O=>{bd(O)},yd=O=>Un(O)?a.value==="single"?{}:[]:g.value?O:a.value==="single"?Or(O)||(C.value?{[u.value]:O,[x.value]:O,[I.value]:O}:{}):O.filter(U=>!!Or(U)||C.value).map(U=>Or(U)||{[u.value]:U,[x.value]:U,[I.value]:U}),T3=()=>{kt.value=s.watch(te,O=>{O.length<y.value||!O&&y.value!==0||(ue.value=!0,_.value&&(ne.value=[]),setTimeout(()=>{O==te.value&&r.value(te.value,ye).then(U=>{(O==te.value||!te.value)&&(ne.value=U,wt.value=Qe.value.filter(Se=>Se[pe.value]!==!0)[0]||null,ue.value=!1)}).catch(U=>{console.error(U)})},v.value))},{flush:"sync"})};if(a.value!=="single"&&!Un($.value)&&!Array.isArray($.value))throw new Error(`v-model must be an array when using "${a.value}" mode`);return r&&typeof r.value=="function"?m.value?bd(gd):g.value==!0&&gd():(ne.value=r.value,gd()),v.value>-1&&T3(),s.watch(v,(O,U)=>{kt.value&&kt.value(),O>=0&&T3()}),s.watch($,O=>{if(Un(O)){st(yd(O),!1);return}switch(a.value){case"single":(g.value?O[x.value]!=oe.value[x.value]:O!=oe.value[x.value])&&st(yd(O),!1);break;case"multiple":case"tags":I7(g.value?O.map(U=>U[x.value]):O,oe.value.map(U=>U[x.value]))||st(yd(O),!1);break}},{deep:!0}),s.watch(r,(O,U)=>{typeof e.options=="function"?m.value&&(!U||O&&O.toString()!==U.toString())&&bd():(ne.value=e.options,Object.keys(oe.value).length||gd(),tm())}),s.watch(u,tm),{pfo:F,fo:Qe,filteredOptions:Qe,hasSelected:xn,multipleLabelText:Ln,eo:L,extendedOptions:L,eg:et,extendedGroups:et,fg:kn,filteredGroups:kn,noOptions:js,noResults:Zi,resolving:ue,busy:le,offset:lt,select:xe,deselect:be,remove:$t,selectAll:tJ,clear:Hs,isSelected:Tt,isDisabled:ri,isMax:ha,getOption:Or,handleOptionClick:ma,handleGroupClick:Ws,handleTagRemove:pa,refreshOptions:lJ,resolveOptions:bd,refreshLabels:tm}}function B7(e,t,n){const{valueProp:r,showOptions:a,searchable:i,groupLabel:o,groups:l,mode:c,groupSelect:d,disabledProp:u,groupOptions:f}=s.toRefs(e),p=n.fo,h=n.fg,g=n.handleOptionClick,b=n.handleGroupClick,v=n.search,m=n.pointer,y=n.setPointer,w=n.clearPointer,_=n.multiselect,k=n.isOpen,x=s.computed(()=>p.value.filter($=>!$[u.value])),C=s.computed(()=>h.value.filter($=>!$[u.value])),E=s.computed(()=>c.value!=="single"&&d.value),T=s.computed(()=>m.value&&m.value.group),B=s.computed(()=>ye(m.value)),D=s.computed(()=>{const $=T.value?m.value:ye(m.value),te=C.value.map(st=>st[o.value]).indexOf($[o.value]);let Le=C.value[te-1];return Le===void 0&&(Le=R.value),Le}),M=s.computed(()=>{let $=C.value.map(te=>te.label).indexOf(T.value?m.value[o.value]:ye(m.value)[o.value])+1;return C.value.length<=$&&($=0),C.value[$]}),R=s.computed(()=>[...C.value].slice(-1)[0]),re=s.computed(()=>m.value.__VISIBLE__.filter($=>!$[u.value])[0]),J=s.computed(()=>{const $=B.value.__VISIBLE__.filter(te=>!te[u.value]);return $[$.map(te=>te[r.value]).indexOf(m.value[r.value])-1]}),Q=s.computed(()=>{const $=ye(m.value).__VISIBLE__.filter(te=>!te[u.value]);return $[$.map(te=>te[r.value]).indexOf(m.value[r.value])+1]}),K=s.computed(()=>[...D.value.__VISIBLE__.filter($=>!$[u.value])].slice(-1)[0]),de=s.computed(()=>[...R.value.__VISIBLE__.filter($=>!$[u.value])].slice(-1)[0]),q=$=>m.value&&(!$.group&&m.value[r.value]===$[r.value]||$.group!==void 0&&m.value[o.value]===$[o.value])?!0:void 0,se=()=>{y(x.value[0]||null)},pe=()=>{!m.value||m.value[u.value]===!0||(T.value?b(m.value):g(m.value))},Oe=()=>{if(m.value===null)y((l.value&&E.value?C.value[0].__CREATE__?x.value[0]:C.value[0]:x.value[0])||null);else if(l.value&&E.value){let $=T.value?re.value:Q.value;$===void 0&&($=M.value,$.__CREATE__&&($=$[f.value][0])),y($||null)}else{let $=x.value.map(te=>te[r.value]).indexOf(m.value[r.value])+1;x.value.length<=$&&($=0),y(x.value[$]||null)}s.nextTick(()=>{oe()})},He=()=>{if(m.value===null){let $=x.value[x.value.length-1];l.value&&E.value&&($=de.value,$===void 0&&($=R.value)),y($||null)}else if(l.value&&E.value){let $=T.value?K.value:J.value;$===void 0&&($=T.value?D.value:B.value,$.__CREATE__&&($=K.value,$===void 0&&($=D.value))),y($||null)}else{let $=x.value.map(te=>te[r.value]).indexOf(m.value[r.value])-1;$<0&&($=x.value.length-1),y(x.value[$]||null)}s.nextTick(()=>{oe()})},ye=$=>C.value.find(te=>te.__VISIBLE__.map(Le=>Le[r.value]).indexOf($[r.value])!==-1),oe=()=>{let $=_.value.querySelector("[data-pointed]");if(!$)return;let te=$.parentElement.parentElement;l.value&&(te=T.value?$.parentElement.parentElement.parentElement:$.parentElement.parentElement.parentElement.parentElement),$.offsetTop+$.offsetHeight>te.clientHeight+te.scrollTop&&(te.scrollTop=$.offsetTop+$.offsetHeight-te.clientHeight),$.offsetTop<te.scrollTop&&(te.scrollTop=$.offsetTop)};return s.watch(v,$=>{i.value&&($.length&&a.value?se():w())}),s.watch(k,$=>{if($){let te=_.value.querySelectorAll("[data-selected]")[0];if(!te)return;let Le=te.parentElement.parentElement;s.nextTick(()=>{Le.scrollTop>0||(Le.scrollTop=te.offsetTop)})}}),{pointer:m,canPointGroups:E,isPointed:q,setPointerFirst:se,selectPointer:pe,forwardPointer:Oe,backwardPointer:He}}function R7(e,t,n){const{disabled:r}=s.toRefs(e),a=s.getCurrentInstance().proxy,i=s.ref(!1);return{isOpen:i,open:()=>{i.value||r.value||(i.value=!0,t.emit("open",a))},close:()=>{i.value&&(i.value=!1,t.emit("close",a))}}}function V7(e,t,n){const{searchable:r,disabled:a,clearOnBlur:i}=s.toRefs(e),o=n.input,l=n.open,c=n.close,d=n.clearSearch,u=n.isOpen,f=s.ref(null),p=s.ref(null),h=s.ref(null),g=s.ref(!1),b=s.ref(!1),v=s.computed(()=>r.value||a.value?-1:0),m=()=>{r.value&&o.value.blur(),p.value.blur()},y=()=>{r.value&&!a.value&&o.value.focus()},w=(T=!0)=>{a.value||(g.value=!0,T&&l())},_=()=>{g.value=!1,setTimeout(()=>{g.value||(c(),i.value&&d())},1)};return{multiselect:f,wrapper:p,tags:h,tabindex:v,isActive:g,mouseClicked:b,blur:m,focus:y,activate:w,deactivate:_,handleFocusIn:T=>{T.target.closest("[data-tags]")&&T.target.nodeName!=="INPUT"||T.target.closest("[data-clear]")||w(b.value)},handleFocusOut:()=>{_()},handleCaretClick:()=>{_(),m()},handleMousedown:T=>{b.value=!0,u.value&&(T.target.isEqualNode(p.value)||T.target.isEqualNode(h.value))?setTimeout(()=>{_()},0):document.activeElement.isEqualNode(p.value)&&!u.value&&w(),setTimeout(()=>{b.value=!1},0)}}}function $7(e,t,n){const{mode:r,addTagOn:a,openDirection:i,searchable:o,showOptions:l,valueProp:c,groups:d,addOptionOn:u,createTag:f,createOption:p,reverse:h}=s.toRefs(e),g=s.getCurrentInstance().proxy,b=n.iv,v=n.update,m=n.search,y=n.setPointer,w=n.selectPointer,_=n.backwardPointer,k=n.forwardPointer,x=n.multiselect,C=n.wrapper,E=n.tags,T=n.isOpen,B=n.open,D=n.blur,M=n.fo,R=s.computed(()=>f.value||p.value||!1),re=s.computed(()=>a.value!==void 0?a.value:u.value!==void 0?u.value:["enter"]),J=()=>{r.value==="tags"&&!l.value&&R.value&&o.value&&!d.value&&y(M.value[M.value.map(q=>q[c.value]).indexOf(m.value)])},Q=q=>{let se=q.length-1;for(;se>=0&&(q[se].remove===!1||q[se].disabled);)se--;return se<0||q.splice(se,1),q};return{handleKeydown:q=>{t.emit("keydown",q,g);let se,pe;switch(["ArrowLeft","ArrowRight","Enter"].indexOf(q.key)!==-1&&r.value==="tags"&&(se=[...x.value.querySelectorAll("[data-tags] > *")].filter(Oe=>Oe!==E.value),pe=se.findIndex(Oe=>Oe===document.activeElement)),q.key){case"Backspace":if(r.value==="single"||o.value&&[null,""].indexOf(m.value)===-1||b.value.length===0)return;v(Q([...b.value]));break;case"Enter":if(q.preventDefault(),q.keyCode===229)return;if(pe!==-1&&pe!==void 0){v([...b.value].filter((Oe,He)=>He!==pe)),pe===se.length-1&&(se.length-1?se[se.length-2].focus():o.value?E.value.querySelector("input").focus():C.value.focus());return}if(re.value.indexOf("enter")===-1&&R.value)return;J(),w();break;case" ":if(!R.value&&!o.value){q.preventDefault(),J(),w();return}if(!R.value)return!1;if(re.value.indexOf("space")===-1&&R.value)return;q.preventDefault(),J(),w();break;case"Tab":case";":case",":if(re.value.indexOf(q.key.toLowerCase())===-1||!R.value)return;J(),w(),q.preventDefault();break;case"Escape":D();break;case"ArrowUp":if(q.preventDefault(),!l.value)return;T.value||B(),_();break;case"ArrowDown":if(q.preventDefault(),!l.value)return;T.value||B(),k();break;case"ArrowLeft":if(o.value&&E.value&&E.value.querySelector("input").selectionStart||q.shiftKey||r.value!=="tags"||!b.value||!b.value.length)return;q.preventDefault(),pe===-1?se[se.length-1].focus():pe>0&&se[pe-1].focus();break;case"ArrowRight":if(pe===-1||q.shiftKey||r.value!=="tags"||!b.value||!b.value.length)return;q.preventDefault(),se.length>pe+1?se[pe+1].focus():o.value?E.value.querySelector("input").focus():o.value||C.value.focus();break}},handleKeyup:q=>{t.emit("keyup",q,g)},preparePointer:J}}function F7(e,t,n){const{classes:r,disabled:a,openDirection:i,showOptions:o}=s.toRefs(e),l=n.isOpen,c=n.isPointed,d=n.isSelected,u=n.isDisabled,f=n.isActive,p=n.canPointGroups,h=n.resolving,g=n.fo,b=s.computed(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...r.value})),v=s.computed(()=>!!(l.value&&o.value&&(!h.value||h.value&&g.value.length)));return{classList:s.computed(()=>{const y=b.value;return{container:[y.container].concat(a.value?y.containerDisabled:[]).concat(v.value&&i.value==="top"?y.containerOpenTop:[]).concat(v.value&&i.value!=="top"?y.containerOpen:[]).concat(f.value?y.containerActive:[]),wrapper:y.wrapper,spacer:y.spacer,singleLabel:y.singleLabel,singleLabelText:y.singleLabelText,multipleLabel:y.multipleLabel,search:y.search,tags:y.tags,tag:[y.tag].concat(a.value?y.tagDisabled:[]),tagDisabled:y.tagDisabled,tagRemove:y.tagRemove,tagRemoveIcon:y.tagRemoveIcon,tagsSearchWrapper:y.tagsSearchWrapper,tagsSearch:y.tagsSearch,tagsSearchCopy:y.tagsSearchCopy,placeholder:y.placeholder,caret:[y.caret].concat(l.value?y.caretOpen:[]),clear:y.clear,clearIcon:y.clearIcon,spinner:y.spinner,inifinite:y.inifinite,inifiniteSpinner:y.inifiniteSpinner,dropdown:[y.dropdown].concat(i.value==="top"?y.dropdownTop:[]).concat(!l.value||!o.value||!v.value?y.dropdownHidden:[]),options:[y.options].concat(i.value==="top"?y.optionsTop:[]),group:y.group,groupLabel:w=>{let _=[y.groupLabel];return c(w)?_.push(d(w)?y.groupLabelSelectedPointed:y.groupLabelPointed):d(w)&&p.value?_.push(u(w)?y.groupLabelSelectedDisabled:y.groupLabelSelected):u(w)&&_.push(y.groupLabelDisabled),p.value&&_.push(y.groupLabelPointable),_},groupOptions:y.groupOptions,option:(w,_)=>{let k=[y.option];return c(w)?k.push(d(w)?y.optionSelectedPointed:y.optionPointed):d(w)?k.push(u(w)?y.optionSelectedDisabled:y.optionSelected):(u(w)||_&&u(_))&&k.push(y.optionDisabled),k},noOptions:y.noOptions,noResults:y.noResults,assist:y.assist,fakeInput:y.fakeInput}}),showDropdown:v}}function z7(e,t,n){const{limit:r,infinite:a}=s.toRefs(e),i=n.isOpen,o=n.offset,l=n.search,c=n.pfo,d=n.eo,u=s.ref(null),f=s.ref(null),p=s.computed(()=>o.value<c.value.length),h=b=>{const{isIntersecting:v,target:m}=b[0];if(v){const y=m.offsetParent,w=y.scrollTop;o.value+=r.value==-1?10:r.value,s.nextTick(()=>{y.scrollTop=w})}},g=()=>{i.value&&o.value<c.value.length?u.value.observe(f.value):!i.value&&u.value&&u.value.disconnect()};return s.watch(i,()=>{a.value&&g()}),s.watch(l,()=>{a.value&&(o.value=r.value,g())},{flush:"post"}),s.watch(d,()=>{a.value&&g()},{immediate:!1,flush:"post"}),s.onMounted(()=>{window&&window.IntersectionObserver&&(u.value=new IntersectionObserver(h))}),{hasMore:p,infiniteLoader:f}}function j7(e,t,n){const{placeholder:r,id:a,valueProp:i,label:o,mode:l,groupLabel:c,aria:d,searchable:u}=s.toRefs(e),f=n.pointer,p=n.iv,h=n.hasSelected,g=n.multipleLabelText,b=s.ref(null),v=s.computed(()=>{let M=[];return a&&a.value&&M.push(a.value),M.push("assist"),M.join("-")}),m=s.computed(()=>{let M=[];return a&&a.value&&M.push(a.value),M.push("multiselect-options"),M.join("-")}),y=s.computed(()=>{let M=[];if(a&&a.value&&M.push(a.value),f.value)return M.push(f.value.group?"multiselect-group":"multiselect-option"),M.push(f.value.group?f.value.index:f.value[i.value]),M.join("-")}),w=s.computed(()=>r.value),_=s.computed(()=>l.value!=="single"),k=s.computed(()=>{let M="";return l.value==="single"&&h.value&&(M+=p.value[o.value]),l.value==="multiple"&&h.value&&(M+=g.value),l.value==="tags"&&h.value&&(M+=p.value.map(R=>R[o.value]).join(", ")),M}),x=s.computed(()=>{let M={...d.value};return u.value&&(M["aria-labelledby"]=M["aria-labelledby"]?`${v.value} ${M["aria-labelledby"]}`:v.value,k.value&&M["aria-label"]&&(M["aria-label"]=`${k.value}, ${M["aria-label"]}`)),M}),C=M=>{let R=[];return a&&a.value&&R.push(a.value),R.push("multiselect-option"),R.push(M[i.value]),R.join("-")},E=M=>{let R=[];return a&&a.value&&R.push(a.value),R.push("multiselect-group"),R.push(M.index),R.join("-")},T=M=>{let R=[];return R.push(M),R.join(" ")},B=M=>{let R=[];return R.push(M),R.join(" ")},D=M=>`${M} ❎`;return s.onMounted(()=>{if(a&&a.value&&document&&document.querySelector){let M=document.querySelector(`[for="${a.value}"]`);b.value=M?M.innerText:null}}),{arias:x,ariaLabel:k,ariaAssist:v,ariaControls:m,ariaPlaceholder:w,ariaMultiselectable:_,ariaActiveDescendant:y,ariaOptionId:C,ariaOptionLabel:T,ariaGroupId:E,ariaGroupLabel:B,ariaTagLabel:D}}function H7(e,t,n){const{locale:r,fallbackLocale:a}=s.toRefs(e);return{localize:o=>!o||typeof o!="object"?o:o&&o[r.value]?o[r.value]:o&&r.value&&o[r.value.toUpperCase()]?o[r.value.toUpperCase()]:o&&o[a.value]?o[a.value]:o&&a.value&&o[a.value.toUpperCase()]?o[a.value.toUpperCase()]:o&&Object.keys(o)[0]?o[Object.keys(o)[0]]:""}}function W7(e,t,n,r={}){return n.forEach(a=>{a&&(r={...r,...a(e,t,r)})}),r}var Rt={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:String,required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1}},setup(e,t){return W7(e,t,[H7,M7,D7,R7,N7,O7,V7,L7,z7,B7,$7,F7,j7])}};const U7=["id","dir"],Y7=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],q7=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],G7=["onKeyup","aria-label"],X7=["onClick"],K7=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],J7=["innerHTML"],Z7=["id"],Q7=["id","aria-label","aria-selected"],e9=["data-pointed","onMouseenter","onClick"],t9=["innerHTML"],n9=["aria-label"],r9=["data-pointed","data-selected","onMouseenter","onClick","id","aria-selected","aria-label"],a9=["data-pointed","data-selected","onMouseenter","onClick","id","aria-selected","aria-label"],i9=["innerHTML"],o9=["innerHTML"],s9=["value"],l9=["name","value"],c9=["name","value"],d9=["id"];function u9(e,t,n,r,a,i){return s.openBlock(),s.createElementBlock("div",{ref:"multiselect",class:s.normalizeClass(e.classList.container),id:n.searchable?void 0:n.id,dir:n.rtl?"rtl":void 0,onFocusin:t[10]||(t[10]=(...o)=>e.handleFocusIn&&e.handleFocusIn(...o)),onFocusout:t[11]||(t[11]=(...o)=>e.handleFocusOut&&e.handleFocusOut(...o)),onKeyup:t[12]||(t[12]=(...o)=>e.handleKeyup&&e.handleKeyup(...o)),onKeydown:t[13]||(t[13]=(...o)=>e.handleKeydown&&e.handleKeydown(...o))},[s.createElementVNode("div",s.mergeProps({class:e.classList.wrapper,onMousedown:t[9]||(t[9]=(...o)=>e.handleMousedown&&e.handleMousedown(...o)),ref:"wrapper",tabindex:e.tabindex,"aria-controls":n.searchable?void 0:e.ariaControls,"aria-placeholder":n.searchable?void 0:e.ariaPlaceholder,"aria-expanded":n.searchable?void 0:e.isOpen,"aria-activedescendant":n.searchable?void 0:e.ariaActiveDescendant,"aria-multiselectable":n.searchable?void 0:e.ariaMultiselectable,role:n.searchable?void 0:"combobox"},n.searchable?{}:e.arias),[s.createCommentVNode(" Search "),n.mode!=="tags"&&n.searchable&&!n.disabled?(s.openBlock(),s.createElementBlock("input",s.mergeProps({key:0,type:n.inputType,modelValue:e.search,value:e.search,class:e.classList.search,autocomplete:n.autocomplete,id:n.searchable?n.id:void 0,onInput:t[0]||(t[0]=(...o)=>e.handleSearchInput&&e.handleSearchInput(...o)),onKeypress:t[1]||(t[1]=(...o)=>e.handleKeypress&&e.handleKeypress(...o)),onPaste:t[2]||(t[2]=s.withModifiers((...o)=>e.handlePaste&&e.handlePaste(...o),["stop"])),ref:"input","aria-controls":e.ariaControls,"aria-placeholder":e.ariaPlaceholder,"aria-expanded":e.isOpen,"aria-activedescendant":e.ariaActiveDescendant,"aria-multiselectable":e.ariaMultiselectable,role:"combobox"},{...n.attrs,...e.arias}),null,16,q7)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Tags (with search) "),n.mode=="tags"?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(e.classList.tags),"data-tags":""},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.iv,(o,l,c)=>s.renderSlot(e.$slots,"tag",{option:o,handleTagRemove:e.handleTagRemove,disabled:n.disabled},()=>[(s.openBlock(),s.createElementBlock("span",{class:s.normalizeClass([e.classList.tag,o.disabled?e.classList.tagDisabled:null]),tabindex:"-1",onKeyup:s.withKeys(d=>e.handleTagRemove(o,d),["enter"]),key:c,"aria-label":e.ariaTagLabel(e.localize(o[n.label]))},[s.createTextVNode(s.toDisplayString(e.localize(o[n.label]))+" ",1),!n.disabled&&!o.disabled?(s.openBlock(),s.createElementBlock("span",{key:0,class:s.normalizeClass(e.classList.tagRemove),onClick:s.withModifiers(d=>e.handleTagRemove(o,d),["stop"])},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.tagRemoveIcon)},null,2)],10,X7)):s.createCommentVNode("v-if",!0)],42,G7))])),256)),s.createElementVNode("div",{class:s.normalizeClass(e.classList.tagsSearchWrapper),ref:"tags"},[s.createCommentVNode(" Used for measuring search width "),s.createElementVNode("span",{class:s.normalizeClass(e.classList.tagsSearchCopy)},s.toDisplayString(e.search),3),s.createCommentVNode(" Actual search input "),n.searchable&&!n.disabled?(s.openBlock(),s.createElementBlock("input",s.mergeProps({key:0,type:n.inputType,modelValue:e.search,value:e.search,class:e.classList.tagsSearch,id:n.searchable?n.id:void 0,autocomplete:n.autocomplete,onInput:t[3]||(t[3]=(...o)=>e.handleSearchInput&&e.handleSearchInput(...o)),onKeypress:t[4]||(t[4]=(...o)=>e.handleKeypress&&e.handleKeypress(...o)),onPaste:t[5]||(t[5]=s.withModifiers((...o)=>e.handlePaste&&e.handlePaste(...o),["stop"])),ref:"input","aria-controls":e.ariaControls,"aria-placeholder":e.ariaPlaceholder,"aria-expanded":e.isOpen,"aria-activedescendant":e.ariaActiveDescendant,"aria-multiselectable":e.ariaMultiselectable,role:"combobox"},{...n.attrs,...e.arias}),null,16,K7)):s.createCommentVNode("v-if",!0)],2)],2)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Single label "),n.mode=="single"&&e.hasSelected&&!e.search&&e.iv?s.renderSlot(e.$slots,"singlelabel",{key:2,value:e.iv},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.singleLabel)},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.singleLabelText)},s.toDisplayString(e.localize(e.iv[n.label])),3)],2)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Multiple label "),n.mode=="multiple"&&e.hasSelected&&!e.search?s.renderSlot(e.$slots,"multiplelabel",{key:3,values:e.iv},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.multipleLabel),innerHTML:e.multipleLabelText},null,10,J7)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Placeholder "),n.placeholder&&!e.hasSelected&&!e.search?s.renderSlot(e.$slots,"placeholder",{key:4},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.placeholder),"aria-hidden":"true"},s.toDisplayString(n.placeholder),3)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Spinner "),n.loading||e.resolving?s.renderSlot(e.$slots,"spinner",{key:5},()=>[s.createElementVNode("span",{class:s.normalizeClass(e.classList.spinner),"aria-hidden":"true"},null,2)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Clear "),e.hasSelected&&!n.disabled&&n.canClear&&!e.busy?s.renderSlot(e.$slots,"clear",{key:6,clear:e.clear},()=>[s.createElementVNode("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:s.normalizeClass(e.classList.clear),onClick:t[6]||(t[6]=(...o)=>e.clear&&e.clear(...o)),onKeyup:t[7]||(t[7]=s.withKeys((...o)=>e.clear&&e.clear(...o),["enter"]))},[s.createElementVNode("span",{class:s.normalizeClass(e.classList.clearIcon)},null,2)],34)]):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Caret "),n.caret&&n.showOptions?s.renderSlot(e.$slots,"caret",{key:7},()=>[s.createElementVNode("span",{class:s.normalizeClass(e.classList.caret),onClick:t[8]||(t[8]=(...o)=>e.handleCaretClick&&e.handleCaretClick(...o)),"aria-hidden":"true"},null,2)]):s.createCommentVNode("v-if",!0)],16,Y7),s.createCommentVNode(" Options "),s.createElementVNode("div",{class:s.normalizeClass(e.classList.dropdown),tabindex:"-1"},[s.renderSlot(e.$slots,"beforelist",{options:e.fo}),s.createElementVNode("ul",{class:s.normalizeClass(e.classList.options),id:e.ariaControls,role:"listbox"},[n.groups?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(e.fg,(o,l,c)=>(s.openBlock(),s.createElementBlock("li",{class:s.normalizeClass(e.classList.group),key:c,id:e.ariaGroupId(o),"aria-label":e.ariaGroupLabel(e.localize(o[n.groupLabel])),"aria-selected":e.isSelected(o),role:"option"},[o.__CREATE__?s.createCommentVNode("v-if",!0):(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(e.classList.groupLabel(o)),"data-pointed":e.isPointed(o),onMouseenter:d=>e.setPointer(o,l),onClick:d=>e.handleGroupClick(o)},[s.renderSlot(e.$slots,"grouplabel",{group:o,isSelected:e.isSelected,isPointed:e.isPointed},()=>[s.createElementVNode("span",{innerHTML:e.localize(o[n.groupLabel])},null,8,t9)])],42,e9)),s.createElementVNode("ul",{class:s.normalizeClass(e.classList.groupOptions),"aria-label":e.ariaGroupLabel(e.localize(o[n.groupLabel])),role:"group"},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(o.__VISIBLE__,(d,u,f)=>(s.openBlock(),s.createElementBlock("li",{class:s.normalizeClass(e.classList.option(d,o)),"data-pointed":e.isPointed(d),"data-selected":e.isSelected(d)||void 0,key:f,onMouseenter:p=>e.setPointer(d),onClick:p=>e.handleOptionClick(d),id:e.ariaOptionId(d),"aria-selected":e.isSelected(d),"aria-label":e.ariaOptionLabel(e.localize(d[n.label])),role:"option"},[s.renderSlot(e.$slots,"option",{option:d,isSelected:e.isSelected,isPointed:e.isPointed,search:e.search},()=>[s.createElementVNode("span",null,s.toDisplayString(e.localize(d[n.label])),1)])],42,r9))),128))],10,n9)],10,Q7))),128)):(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(e.fo,(o,l,c)=>(s.openBlock(),s.createElementBlock("li",{class:s.normalizeClass(e.classList.option(o)),"data-pointed":e.isPointed(o),"data-selected":e.isSelected(o)||void 0,key:c,onMouseenter:d=>e.setPointer(o),onClick:d=>e.handleOptionClick(o),id:e.ariaOptionId(o),"aria-selected":e.isSelected(o),"aria-label":e.ariaOptionLabel(e.localize(o[n.label])),role:"option"},[s.renderSlot(e.$slots,"option",{option:o,isSelected:e.isSelected,isPointed:e.isPointed,search:e.search},()=>[s.createElementVNode("span",null,s.toDisplayString(e.localize(o[n.label])),1)])],42,a9))),128))],10,Z7),e.noOptions?s.renderSlot(e.$slots,"nooptions",{key:0},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.noOptions),innerHTML:e.localize(n.noOptionsText)},null,10,i9)]):s.createCommentVNode("v-if",!0),e.noResults?s.renderSlot(e.$slots,"noresults",{key:1},()=>[s.createElementVNode("div",{class:s.normalizeClass(e.classList.noResults),innerHTML:e.localize(n.noResultsText)},null,10,o9)]):s.createCommentVNode("v-if",!0),n.infinite&&e.hasMore?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.classList.inifinite),ref:"infiniteLoader"},[s.renderSlot(e.$slots,"infinite",{},()=>[s.createElementVNode("span",{class:s.normalizeClass(e.classList.inifiniteSpinner)},null,2)])],2)):s.createCommentVNode("v-if",!0),s.renderSlot(e.$slots,"afterlist",{options:e.fo})],2),s.createCommentVNode(" Hacky input element to show HTML5 required warning "),n.required?(s.openBlock(),s.createElementBlock("input",{key:0,class:s.normalizeClass(e.classList.fakeInput),tabindex:"-1",value:e.textValue,required:""},null,10,s9)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Native input support "),n.nativeSupport?(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[n.mode=="single"?(s.openBlock(),s.createElementBlock("input",{key:0,type:"hidden",name:n.name,value:e.plainValue!==void 0?e.plainValue:""},null,8,l9)):(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(e.plainValue,(o,l)=>(s.openBlock(),s.createElementBlock("input",{type:"hidden",name:`${n.name}[]`,value:o,key:l},null,8,c9))),128))],64)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Screen reader assistive text "),n.searchable&&e.hasSelected?(s.openBlock(),s.createElementBlock("div",{key:2,class:s.normalizeClass(e.classList.assist),id:e.ariaAssist,"aria-hidden":"true"},s.toDisplayString(e.ariaLabel),11,d9)):s.createCommentVNode("v-if",!0),s.createCommentVNode(" Create height for empty input "),s.createElementVNode("div",{class:s.normalizeClass(e.classList.spacer)},null,2)],42,U7)}Rt.render=u9,Rt.__file="src/Multiselect.vue";const f9={class:"search-bar"},p9=s.defineComponent({__name:"SearchBar",setup(e){const{t}=ae(),n=s.ref("");function r(d,u,f){f.clear(),f.search=n.value,console.log("LINK TO:",u.link)}function a(d){n.value=d}async function i(d){return d===null?[{label:t("general.cards"),options:o("test")},{label:t("general.players"),options:await c("test")}]:[{label:t("general.cards"),options:o(d)},{label:t("general.players"),options:await c(d)}]}function o(d){const u=new RegExp(d,"i"),f=new RegExp(`^${d}`,"i");return mu().cardJson.filter(h=>!!h.name.match(u)||!!h.description.match(u)||!!h.descriptionRaw.match(u)).sort((h,g)=>h.name.localeCompare(g.name)).sort((h,g)=>h.cost-g.cost).sort((h,g)=>l(h.collectible,g.collectible)).sort((h,g)=>l(!!h.name.match(u),!!g.name.match(u))).sort((h,g)=>l(f.test(h.name),f.test(g.name))).slice(0,5).map(h=>({type:"card",link:`/test/card/${h.cardCode}`,card:h}))}function l(d,u){return d===u?0:d?-1:1}async function c(d){return[{type:"player",cardCode:"01IO001",color:"var(--color-background-2-rgb)",link:`/test/player/${d}`,name:d,rank:1},{type:"player",cardCode:"01IO002",color:"255, 255, 255",link:`/test/player/${d}2`,name:d,rank:2},{type:"player",color:"0, 0, 0",link:`/test/player/${d}3`,name:d,rank:3},{type:"player",link:`/test/player/${d}4`,name:d,rank:4},{type:"player",link:`/test/player/${d}5`,name:d}]}return(d,u)=>(s.openBlock(),s.createElementBlock("div",f9,[s.createVNode(s.unref(Rt),{placeholder:"Search Cards or Players","value-prop":"link","clear-on-blur":!1,"clear-on-search":!1,"clear-on-select":!1,"close-on-select":!0,delay:0,"filter-results":!1,groups:!0,"min-chars":0,"resolve-on-load":!1,searchable:!0,options:async f=>await i(f),onOpen:u[0]||(u[0]=f=>{f.noOptions&&f.resolveOptions()}),onSearchChange:a,onSelect:r},{option:s.withCtx(({option:f})=>[f.type==="card"?(s.openBlock(),s.createBlock(ln,{key:`card-${f.link}`,class:"card-slice-item","maintain-aspect-ratio":!0,"card-prop":f.card},null,8,["card-prop"])):(s.openBlock(),s.createBlock(ln,{key:`player-${f.link}`,class:"card-slice-item","maintain-aspect-ratio":!0,"ignore-card-item":!0,"card-code-prop":f.cardCode,color:f.color,name:f.name,"mana-number":f.rank},null,8,["card-code-prop","color","name","mana-number"]))]),_:1},8,["options"])]))}}),_J="",Pl=V(p9,[["__scopeId","data-v-8b9bf112"]]);function k0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function On(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?k0(Object(n),!0).forEach(function(r){Wt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Il(e){return Il=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Il(e)}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h9(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i<r.length;i++)a=r[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function m9(e,t){if(e==null)return{};var n=h9(e,t),r,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)r=i[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Yu(e){return g9(e)||b9(e)||y9(e)||_9()}function g9(e){if(Array.isArray(e))return qu(e)}function b9(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function y9(e,t){if(e){if(typeof e=="string")return qu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qu(e,t)}}function qu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _9(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
815
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v9=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},x0={exports:{}};(function(e){(function(t){var n=function(m,y,w){if(!d(y)||f(y)||p(y)||h(y)||c(y))return y;var _,k=0,x=0;if(u(y))for(_=[],x=y.length;k<x;k++)_.push(n(m,y[k],w));else{_={};for(var C in y)Object.prototype.hasOwnProperty.call(y,C)&&(_[m(C,w)]=n(m,y[C],w))}return _},r=function(m,y){y=y||{};var w=y.separator||"_",_=y.split||/(?=[A-Z])/;return m.split(_).join(w)},a=function(m){return g(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(y,w){return w?w.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},i=function(m){var y=a(m);return y.substr(0,1).toUpperCase()+y.substr(1)},o=function(m,y){return r(m,y).toLowerCase()},l=Object.prototype.toString,c=function(m){return typeof m=="function"},d=function(m){return m===Object(m)},u=function(m){return l.call(m)=="[object Array]"},f=function(m){return l.call(m)=="[object Date]"},p=function(m){return l.call(m)=="[object RegExp]"},h=function(m){return l.call(m)=="[object Boolean]"},g=function(m){return m=m-0,m===m},b=function(m,y){var w=y&&"process"in y?y.process:y;return typeof w!="function"?m:function(_,k){return w(_,m,k)}},v={camelize:a,decamelize:o,pascalize:i,depascalize:o,camelizeKeys:function(m,y){return n(b(a,y),m)},decamelizeKeys:function(m,y){return n(b(o,y),m,y)},pascalizeKeys:function(m,y){return n(b(i,y),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=v:t.humps=v})(v9)})(x0);var w9=x0.exports,k9=["class","style"];function x9(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),a=w9.camelize(n.slice(0,r)),i=n.slice(r+1).trim();return t[a]=i,t},{})}function S9(e){return e.split(/\s+/).reduce(function(t,n){return t[n]=!0,t},{})}function Gu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(c){return Gu(c)}),a=Object.keys(e.attributes||{}).reduce(function(c,d){var u=e.attributes[d];switch(d){case"class":c.class=S9(u);break;case"style":c.style=x9(u);break;default:c.attrs[d]=u}return c},{attrs:{},class:{},style:{}});n.class;var i=n.style,o=i===void 0?{}:i,l=m9(n,k9);return s.h(e.tag,On(On(On({},t),{},{class:a.class,style:On(On({},a.style),o)},a.attrs),l),r)}var S0=!1;try{S0=process.env.NODE_ENV==="production"}catch{}function C9(){if(!S0&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Po(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Wt({},e,t):{}}function E9(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Wt(t,"fa-".concat(e.size),e.size!==null),Wt(t,"fa-rotate-".concat(e.rotation),e.rotation!==null),Wt(t,"fa-pull-".concat(e.pull),e.pull!==null),Wt(t,"fa-swap-opacity",e.swapOpacity),Wt(t,"fa-bounce",e.bounce),Wt(t,"fa-shake",e.shake),Wt(t,"fa-beat",e.beat),Wt(t,"fa-fade",e.fade),Wt(t,"fa-beat-fade",e.beatFade),Wt(t,"fa-flash",e.flash),Wt(t,"fa-spin-pulse",e.spinPulse),Wt(t,"fa-spin-reverse",e.spinReverse),t);return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function C0(e){if(e&&Il(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(yl.icon)return yl.icon(e);if(e===null)return null;if(Il(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var nt=s.defineComponent({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,a=s.computed(function(){return C0(t.icon)}),i=s.computed(function(){return Po("classes",E9(t))}),o=s.computed(function(){return Po("transform",typeof t.transform=="string"?yl.transform(t.transform):t.transform)}),l=s.computed(function(){return Po("mask",C0(t.mask))}),c=s.computed(function(){return yk(a.value,On(On(On(On({},i.value),o.value),l.value),{},{symbol:t.symbol,title:t.title}))});s.watch(c,function(u){if(!u)return C9("Could not find one or more icon(s)",a.value,l.value)},{immediate:!0});var d=s.computed(function(){return c.value?Gu(c.value.abstract[0],{},r):null});return function(){return d.value}}});s.defineComponent({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,a=ag.familyPrefix,i=s.computed(function(){return["".concat(a,"-layers")].concat(Yu(t.fixedWidth?["".concat(a,"-fw")]:[]))});return function(){return s.h("div",{class:i.value},r.default?r.default():[])}}}),s.defineComponent({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,n){var r=n.attrs,a=ag.familyPrefix,i=s.computed(function(){return Po("classes",[].concat(Yu(t.counter?["".concat(a,"-layers-counter")]:[]),Yu(t.position?["".concat(a,"-layers-").concat(t.position)]:[])))}),o=s.computed(function(){return Po("transform",typeof t.transform=="string"?yl.transform(t.transform):t.transform)}),l=s.computed(function(){var d=_k(t.value.toString(),On(On({},o.value),i.value)),u=d.abstract;return t.counter&&(u[0].attributes.class=u[0].attributes.class.replace("fa-layers-text","")),u[0]}),c=s.computed(function(){return Gu(l.value,{},r)});return function(){return c.value}}});const A9={class:"social-links"},T9=s.defineComponent({__name:"SocialLinks",setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("div",A9,[s.createVNode(s.unref(nt),{class:"icon",icon:"fa-brands fa-discord"}),s.createVNode(s.unref(nt),{class:"icon",icon:"fa-brands fa-twitter"})]))}}),vJ="",Xu=V(T9,[["__scopeId","data-v-5517438c"]]),O9={showModal:{type:Boolean,required:!0,default:!1}},M9=["onClick"],N9=s.defineComponent({__name:"ModalItem",props:O9,emits:["update:showModal"],setup(e,{emit:t}){const n=e,r=s.ref(null);function a(){t("update:showModal",!1)}return s.watch(()=>n.showModal,()=>{n.showModal&&s.nextTick(()=>{r.value&&document.body.appendChild(r.value)})}),(i,o)=>n.showModal?(s.openBlock(),s.createElementBlock("div",{key:0,ref_key:"modalItem",ref:r,class:"modal-item",onClick:s.withModifiers(a,["self"])},[s.renderSlot(i.$slots,"default",{},void 0,!0)],8,M9)):s.createCommentVNode("",!0)}}),wJ="",Ci=V(N9,[["__scopeId","data-v-e2241387"]]),D9={filterArray:{type:Array,required:!1,default:void 0},title:{type:String,required:!1,default:void 0}},P9={class:"filter"},I9={key:0,class:"top"},L9={key:0,class:"title"},B9=s.defineComponent({__name:"SidePanelSectionPane",props:D9,emits:["clear:filterArray"],setup(e,{emit:t}){const n=e,r=s.computed(()=>n.filterArray&&n.filterArray.length>0?"clickable":null);function a(){t("clear:filterArray")}return(i,o)=>{const l=s.resolveDirective("t");return s.openBlock(),s.createElementBlock("div",P9,[n.title||i.filterArray?(s.openBlock(),s.createElementBlock("div",I9,[n.title?(s.openBlock(),s.createElementBlock("h2",L9,s.toDisplayString(n.title),1)):s.createCommentVNode("",!0),i.filterArray?s.withDirectives((s.openBlock(),s.createElementBlock("p",{key:1,class:s.normalizeClass(["clear",s.unref(r)]),onClick:a},null,2)),[[l,"general.clear"]]):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),s.renderSlot(i.$slots,"default",{},void 0,!0)])}}}),kJ="",_t=V(B9,[["__scopeId","data-v-741cceed"]]),R9={filterArray:{type:Array,required:!0,default:[]}},V9=["placeholder"],$9=s.defineComponent({__name:"FilterSampleSize",props:R9,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.ref(n.filterArray),i=s.ref("");let o=setTimeout(()=>{},0);a.value.length>0&&(i.value=a.value[0]),s.watch(a,()=>{t("update:filterArray",a.value)}),s.watch(i,()=>{o&&clearTimeout(o),o=setTimeout(()=>{a.value.splice(0),i.value&&a.value.push(i.value)},1e3)});function l(){a.value.splice(0),i.value=""}return(c,d)=>(s.openBlock(),s.createBlock(_t,{"filter-array":a.value,title:s.unref(r)("general.sampleSize"),"onClear:filterArray":l},{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>i.value=u),placeholder:s.unref(r)("general.minimumMatches"),type:"number",min:"10",step:"10"},null,8,V9),[[s.vModelText,i.value]])]),_:1},8,["filter-array","title"]))}}),xJ="",Io=V($9,[["__scopeId","data-v-d66d5f9d"]]),F9={filterArray:{type:Array,required:!0,default:[]}},z9={isSelected:{type:Boolean,required:!0,default:!1},icon:{type:String,required:!1,default:void 0},prompt:{type:String,required:!0,default:""}},j9=["selected"],H9={class:"checkbox-name"},W9=s.defineComponent({__name:"CheckboxItem",props:z9,emits:["update:isSelected"],setup(e,{emit:t}){const n=e,r=s.computed(()=>(console.log(n.icon),{content:n.icon}));function a(){t("update:isSelected",!n.isSelected)}return(i,o)=>(s.openBlock(),s.createElementBlock("button",{class:"checkbox-item",selected:n.isSelected,onClick:a},[n.icon?(s.openBlock(),s.createElementBlock("div",{key:0,class:"checkbox-icon",style:s.normalizeStyle(s.unref(r))},null,4)):s.createCommentVNode("",!0),s.createElementVNode("div",H9,s.toDisplayString(n.prompt),1)],8,j9))}}),SJ="",Ut=V(W9,[["__scopeId","data-v-a4c6109c"]]),U9={selectedOption:{type:Number,required:!0,default:-1},options:{type:Array,required:!0,default:[]}},Y9=e=>(s.pushScopeId("data-v-d5d9745a"),e=e(),s.popScopeId(),e),q9={class:"toggle-switch"},G9=[Y9(()=>s.createElementVNode("div",{class:"selection"},null,-1))],X9=["onClick"],K9={class:"option flex-center"},J9={class:"option-text"},Z9=s.defineComponent({__name:"ToggleSwitch",props:U9,emits:["update:selectedOption"],setup(e,{emit:t}){const n=e,r=s.computed(()=>({left:`calc(var(--spacing-1) + (100% - calc(var(--spacing-1) * 2)) / ${n.options.length} * ${n.selectedOption})`,width:`calc((100% - calc(var(--spacing-1) * 2)) / ${n.options.length})`}));function a(o){return{cursor:n.selectedOption!=o?"pointer":"default",left:`calc(var(--spacing-1) + (100% - calc(var(--spacing-1) * 2)) / ${n.options.length} * ${o})`,width:`${1/n.options.length*100}%`}}function i(o){t("update:selectedOption",o)}return(o,l)=>(s.openBlock(),s.createElementBlock("div",q9,[s.withDirectives(s.createElementVNode("div",{class:"selection-container",style:s.normalizeStyle(s.unref(r))},G9,4),[[s.vShow,o.selectedOption>-1]]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.options,(c,d)=>(s.openBlock(),s.createElementBlock("div",{key:d,ref_for:!0,ref:"option-container",style:s.normalizeStyle(a(d)),class:"option-container",onClick:u=>i(d)},[s.createElementVNode("div",K9,[s.createElementVNode("h1",J9,s.toDisplayString(c),1)])],12,X9))),128))]))}}),EJ="",Ll=V(Z9,[["__scopeId","data-v-d5d9745a"]]),Q9={class:"checkboxes-container"},eC=s.defineComponent({__name:"FilterRanks",props:F9,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.computed(()=>Ee().dataJson.ranks.sort((d,u)=>u.order-d.order)),i=s.reactive(n.filterArray),o=s.ref(0);s.watch(i,()=>{t("update:filterArray",i)}),s.watch(o,()=>{o.value===0?i.splice(0):o.value===1&&(i.splice(0),i.push("Platinum","Diamond","Masters"))});function l(){i.splice(0),o.value=0}function c(d){const u=i.indexOf(d);if(u===-1){i.push(d);return}i.splice(u,1)}return(d,u)=>(s.openBlock(),s.createBlock(_t,{"filter-array":i,title:s.unref(r)("general.ranks"),"onClear:filterArray":l},{default:s.withCtx(()=>[s.createElementVNode("div",Q9,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(a),f=>(s.openBlock(),s.createBlock(Ut,{key:f.nameRef,icon:`url(${f.icon})`,prompt:f.name,"is-selected":i.includes(f.nameRef),"onUpdate:isSelected":p=>c(f.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128)),s.createVNode(Ll,{"selected-option":o.value,"onUpdate:selectedOption":u[0]||(u[0]=f=>o.value=f),options:[s.unref(r)("general.allRanks"),s.unref(r)("general.platPlus")]},null,8,["selected-option","options"])])]),_:1},8,["filter-array","title"]))}}),AJ="",E0=V(eC,[["__scopeId","data-v-af7bc2a0"]]),tC={filterArray:{type:Array,required:!0,default:[]}},nC={isSelected:{type:Boolean,required:!0,default:!1},prompt:{type:Number,required:!0,default:""}},rC=["selected"],aC={class:"prompt"},iC=s.defineComponent({__name:"CheckboxItemManaCost",props:nC,emits:["update:isSelected"],setup(e,{emit:t}){const n=e;function r(){t("update:isSelected",!n.isSelected)}return(a,i)=>(s.openBlock(),s.createElementBlock("button",{class:"checkbox-item",selected:n.isSelected,onClick:r},[s.createVNode(Do),s.createElementVNode("div",aC,s.toDisplayString(n.prompt===10?"+":n.prompt),1)],8,rC))}}),TJ="",Bl=V(iC,[["__scopeId","data-v-2c74c2ed"]]),oC={class:"checkbox-rows-container"},sC={class:"top-row checkbox-items-container"},lC={class:"bottom-row checkbox-items-container"},cC=s.defineComponent({__name:"FilterManaCost",props:tC,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=Array(6).fill(1).map((c,d)=>d),i=Array(5).fill(1).map((c,d)=>d+6);function o(c){let d;n.filterArray.includes(c)?d=n.filterArray.filter(u=>u!==c):d=[...n.filterArray,c],t("update:filterArray",d)}function l(){t("update:filterArray",[])}return(c,d)=>(s.openBlock(),s.createBlock(_t,{"filter-array":n.filterArray,title:s.unref(r)("general.manaCost"),"onClear:filterArray":l},{default:s.withCtx(()=>[s.createElementVNode("div",oC,[s.createElementVNode("div",sC,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(a),u=>(s.openBlock(),s.createBlock(Bl,{key:u,class:"checkbox-item-mana-cost",prompt:u,"is-selected":n.filterArray.includes(u),"onUpdate:isSelected":f=>o(u)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))]),s.createElementVNode("div",lC,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(i),u=>(s.openBlock(),s.createBlock(Bl,{key:u,class:"checkbox-item-mana-cost",prompt:u,"is-selected":n.filterArray.includes(u),"onUpdate:isSelected":f=>o(u)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))])])]),_:1},8,["filter-array","title"]))}}),OJ="",Ku=V(cC,[["__scopeId","data-v-a94d786a"]]),dC={filterArray:{type:Array,required:!0,default:[]}},uC={class:"checkboxes-container"},Ju=s.defineComponent({__name:"FilterRarities",props:dC,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.computed(()=>Ee().dataJson.rarities.filter(c=>c.nameRef!=="None")),i=s.reactive(n.filterArray);s.watch(i,()=>{t("update:filterArray",i)});function o(){i.splice(0)}function l(c){const d=i.indexOf(c);if(d===-1){i.push(c);return}i.splice(d,1)}return(c,d)=>(s.openBlock(),s.createBlock(_t,{"filter-array":i,title:s.unref(r)("general.rarities"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createElementVNode("div",uC,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(a),u=>(s.openBlock(),s.createBlock(Ut,{key:u.nameRef,icon:`url(${u.icon})`,prompt:u.name,"is-selected":i.includes(u.nameRef),"onUpdate:isSelected":f=>l(u.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),fC={filterArray:{type:Array,required:!0,default:[]}},pC={class:"multiselect-tag",tabindex:"-1","aria-label":"{{option.name}} ❎"},hC=["src"],mC={class:"multiselect-tag-remove"},gC=["onMousedown"],bC=["src"],Zu=s.defineComponent({__name:"FilterSets",props:fC,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.ref(n.filterArray);s.watch(a,()=>{t("update:filterArray",a.value)});function i(){a.value.splice(0)}return(o,l)=>(s.openBlock(),s.createBlock(_t,{"filter-array":a.value,title:s.unref(r)("general.sets"),"onClear:filterArray":i},{default:s.withCtx(()=>[s.createVNode(s.unref(Rt),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=c=>a.value=c),placeholder:s.unref(r)("general.sets"),class:"runeterra-select",mode:"tags",options:s.unref(Ee)().dataJson.sets,searchable:!0,label:"name","value-prop":"nameRef"},{tag:s.withCtx(({option:c,handleTagRemove:d})=>[s.createElementVNode("span",pC,[s.createElementVNode("img",{class:"label-icon",src:c.icon},null,8,hC),s.createElementVNode("span",mC,[s.createElementVNode("span",{class:"multiselect-tag-remove-icon",onMousedown:s.withModifiers(u=>d(c,u),["prevent"])},null,40,gC)])])]),option:s.withCtx(({option:c})=>[s.createElementVNode("img",{class:"label-icon",src:c.icon},null,8,bC),s.createTextVNode(" "+s.toDisplayString(c.name),1)]),_:1},8,["modelValue","placeholder","options"])]),_:1},8,["filter-array","title"]))}}),yC={filterArray:{type:Array,required:!0,default:[]}},_C={class:"multiselect-tag",tabindex:"-1","aria-label":"{{option.name}} ❎"},vC=["src"],wC={class:"multiselect-tag-remove"},kC=["onMousedown"],xC=["src"],Qu=s.defineComponent({__name:"FilterKeywords",props:yC,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.ref(n.filterArray),i=s.computed(()=>Ee().dataJson.keywords.filter(l=>l.showInFilter));s.watch(a,()=>{t("update:filterArray",a.value)});function o(){a.value.splice(0)}return(l,c)=>(s.openBlock(),s.createBlock(_t,{"filter-array":a.value,title:s.unref(r)("general.keywords"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createVNode(s.unref(Rt),{modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=d=>a.value=d),placeholder:s.unref(r)("general.keywords"),class:"runeterra-select",mode:"tags",options:s.unref(i),searchable:!0,label:"name","value-prop":"nameRef"},{tag:s.withCtx(({option:d,handleTagRemove:u})=>[s.createElementVNode("span",_C,[s.createElementVNode("img",{class:"label-icon",src:d.icon},null,8,vC),s.createElementVNode("span",wC,[s.createElementVNode("span",{class:"multiselect-tag-remove-icon",onMousedown:s.withModifiers(f=>u(d,f),["prevent"])},null,40,kC)])])]),option:s.withCtx(({option:d})=>[s.createElementVNode("img",{class:"label-icon",src:d.icon},null,8,xC),s.createTextVNode(" "+s.toDisplayString(d.name),1)]),_:1},8,["modelValue","placeholder","options"])]),_:1},8,["filter-array","title"]))}}),SC={filterArray:{type:Array,required:!0,default:[]}},CC={class:"checkboxes-container"},Lo=s.defineComponent({__name:"FilterServers",props:SC,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.reactive(n.filterArray);s.watch(a,()=>{t("update:filterArray",a)});function i(){a.splice(0)}function o(l){const c=a.indexOf(l);if(c===-1){a.push(l);return}a.splice(c,1)}return(l,c)=>(s.openBlock(),s.createBlock(_t,{"filter-array":a,title:s.unref(r)("general.servers"),"onClear:filterArray":i},{default:s.withCtx(()=>[s.createElementVNode("div",CC,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Ee)().dataJson.servers,d=>(s.openBlock(),s.createBlock(Ut,{key:d.nameRef,prompt:d.name,"is-selected":a.includes(d.nameRef),"onUpdate:isSelected":u=>o(d.nameRef)},null,8,["prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),EC={filterArray:{type:Array,required:!0,default:[]}},AC={class:"checkboxes-container"},TC=s.defineComponent({__name:"FilterTime",props:EC,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.reactive(n.filterArray),i=s.ref(null),o=s.ref(null),l=a.find(p=>p.startsWith("patch_"));l&&(i.value=l);const c=a.find(p=>p.startsWith("season_"));c&&(o.value=c),s.watch(a,()=>{t("update:filterArray",a)}),s.watch(i,(p,h)=>{d(p,h)}),s.watch(o,(p,h)=>{d(p,h)});function d(p,h){console.log(h,p),h&&a.splice(a.indexOf(h),1),p&&a.push(p),console.log(a)}function u(){a.splice(0),i.value=null,o.value=null}function f(p){a.splice(0),p!=="patch"&&a.push(p),p==="patch"&&i.value&&a.push(i.value),p==="season"&&o.value&&a.push(o.value)}return(p,h)=>(s.openBlock(),s.createBlock(_t,{"filter-array":a,title:s.unref(r)("general.time"),"onClear:filterArray":u},{default:s.withCtx(()=>[s.createElementVNode("div",AC,[s.createVNode(Ut,{prompt:s.unref(r)("general.patch"),"is-selected":a.filter(g=>!g.startsWith("patch")).length===0,"onUpdate:isSelected":h[0]||(h[0]=g=>f("patch"))},null,8,["prompt","is-selected"]),s.createVNode(Ut,{prompt:s.unref(r)("general.season"),"is-selected":a.includes("season"),"onUpdate:isSelected":h[1]||(h[1]=g=>f("season"))},null,8,["prompt","is-selected"]),s.createVNode(Ut,{prompt:s.unref(r)("general.pastDays",7),"is-selected":a.includes("past7days"),"onUpdate:isSelected":h[2]||(h[2]=g=>f("past7days"))},null,8,["prompt","is-selected"]),s.createVNode(Ut,{prompt:s.unref(r)("general.pastDays",3),"is-selected":a.includes("past3days"),"onUpdate:isSelected":h[3]||(h[3]=g=>f("past3days"))},null,8,["prompt","is-selected"]),s.createVNode(Ut,{prompt:s.unref(r)("general.pastHours",24),"is-selected":a.includes("past24hours"),"onUpdate:isSelected":h[4]||(h[4]=g=>f("past24hours"))},null,8,["prompt","is-selected"]),s.createVNode(Ut,{prompt:s.unref(r)("general.pastHour"),"is-selected":a.includes("pastHour"),"onUpdate:isSelected":h[5]||(h[5]=g=>f("pastHour"))},null,8,["prompt","is-selected"]),a.filter(g=>!g.startsWith("patch")).length===0?(s.openBlock(),s.createBlock(s.unref(Rt),{key:0,modelValue:i.value,"onUpdate:modelValue":h[6]||(h[6]=g=>i.value=g),options:s.unref(Ee)().dataJson.patches,searchable:!0,label:"name","value-prop":"nameRef"},null,8,["modelValue","options"])):s.createCommentVNode("",!0),a.includes("season")?(s.openBlock(),s.createBlock(s.unref(Rt),{key:1,modelValue:o.value,"onUpdate:modelValue":h[7]||(h[7]=g=>o.value=g),options:s.unref(Ee)().dataJson.seasons,searchable:!0,label:"name","value-prop":"nameRef"},null,8,["modelValue","options"])):s.createCommentVNode("",!0)])]),_:1},8,["filter-array","title"]))}}),MJ="",Bo=V(TC,[["__scopeId","data-v-1cf4e6d2"]]),OC={filterArray:{type:Array,required:!0,default:[]}},MC={cardCodes:{type:Array,required:!0,default:[]},filterCallback:{type:Function,required:!1,default:()=>!0},mode:{type:String,required:!1,default:"tags"}},NC=s.defineComponent({__name:"CardMultiselect",props:MC,emits:["update:cardCodes"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.ref(n.cardCodes),i=s.computed(()=>{let o=mu().cardJson.sort((l,c)=>l.name.localeCompare(c.name));return n.filterCallback&&(o=o.filter(n.filterCallback)),o});return s.watch(a,()=>{t("update:cardCodes",a.value)}),(o,l)=>(s.openBlock(),s.createBlock(s.unref(Rt),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=c=>a.value=c),class:"multiselect",placeholder:s.unref(r)("cards.cards"),mode:n.mode,options:s.unref(i),infinite:!0,limit:10,searchable:!0,label:"name","value-prop":"cardCode"},null,8,["modelValue","placeholder","mode","options"]))}}),NJ="",ef=V(NC,[["__scopeId","data-v-968634df"]]),tf=s.defineComponent({__name:"FilterCardCodes",props:OC,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.ref(n.filterArray);s.watch(a,()=>{console.log("watch(filterArray)",a.value),t("update:filterArray",a.value)});function i(){a.value.splice(0)}function o(l){return l.collectible}return(l,c)=>(s.openBlock(),s.createBlock(_t,{"filter-array":a.value,title:s.unref(r)("cards.cards"),"onClear:filterArray":i},{default:s.withCtx(()=>[s.createVNode(ef,{cardCodes:a.value,"onUpdate:cardCodes":c[0]||(c[0]=d=>a.value=d),mode:"tags","filter-callback":o},null,8,["cardCodes"])]),_:1},8,["filter-array","title"]))}}),DC={filterArray:{type:Array,required:!0,default:[]}},PC={class:"checkboxes-container"},IC=s.defineComponent({__name:"FilterRegions",props:DC,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.reactive(n.filterArray),i=s.ref([]);i.value.push(...a.filter(c=>Oo(c))),s.watch(a,()=>{t("update:filterArray",a)}),s.watch(i,(c,d)=>{let u=c.find(f=>!d.includes(f));if(u||(u=d.find(f=>!c.includes(f)),u))return l(u)});function o(){a.splice(0),i.value.slice(0)}function l(c){const d=a.indexOf(c);if(d===-1){a.push(c),c==="Runeterra"&&a.push(...i.value);return}if(a.splice(d,1),c==="Runeterra")for(let u=0;u<a.length;u++)Oo(a[u])&&a.splice(u--,1)}return(c,d)=>(s.openBlock(),s.createBlock(_t,{"filter-array":a,title:s.unref(r)("general.regions"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createElementVNode("div",PC,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Ee)().dataJson.regions,u=>(s.openBlock(),s.createBlock(Ut,{key:u.nameRef,icon:`url(${u.icon})`,prompt:u.name,"is-selected":a.includes(u.nameRef),"onUpdate:isSelected":f=>l(u.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128)),s.createVNode(Ut,{class:"runeterra",prompt:"Runeterra","is-selected":a.includes("Runeterra"),"onUpdate:isSelected":d[0]||(d[0]=u=>l("Runeterra"))},null,8,["is-selected"]),a.includes("Runeterra")?(s.openBlock(),s.createBlock(s.unref(Rt),{key:0,modelValue:i.value,"onUpdate:modelValue":d[1]||(d[1]=u=>i.value=u),class:"runeterra-select",mode:"tags",options:s.unref(Ee)().dataJson.runeterraChampions,searchable:!0,label:"name","value-prop":"nameRef"},null,8,["modelValue","options"])):s.createCommentVNode("",!0)])]),_:1},8,["filter-array","title"]))}}),DJ="",Rl=V(IC,[["__scopeId","data-v-c93a9e90"]]),LC={filters:{type:Object,required:!0,default:{cardFilters:[],regionFilters:[],sampleSizeFilters:[],serverFilters:[],timeFilters:[]}}},A0=s.defineComponent({__name:"FilterDecks",props:LC,emits:["update:filters"],setup(e,{emit:t}){const n=e,r=s.reactive(n.filters);s.watch(r,()=>{t("update:filters",r)});function a(){for(const[,i]of Object.entries(r))i.splice(0)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",{onClick:a},"CLEAR ALL"),s.createVNode(Rl,{"filter-array":r.regionFilters,"onUpdate:filterArray":o[0]||(o[0]=l=>r.regionFilters=l)},null,8,["filter-array"]),s.createVNode(tf,{"filter-array":r.cardFilters,"onUpdate:filterArray":o[1]||(o[1]=l=>r.cardFilters=l)},null,8,["filter-array"]),s.createVNode(Io,{"filter-array":r.sampleSizeFilters,"onUpdate:filterArray":o[2]||(o[2]=l=>r.sampleSizeFilters=l)},null,8,["filter-array"]),s.createVNode(Bo,{"filter-array":r.timeFilters,"onUpdate:filterArray":o[3]||(o[3]=l=>r.timeFilters=l)},null,8,["filter-array"]),s.createVNode(Lo,{"filter-array":r.serverFilters,"onUpdate:filterArray":o[4]||(o[4]=l=>r.serverFilters=l)},null,8,["filter-array"])]))}}),BC={filterValue:{type:Object,required:!0,default:{attribute:"attack",equality:">",number:0}}},RC={class:"advanced-filter-item"},VC=["value"],$C=s.defineComponent({__name:"AdvancedFilterItem",props:BC,emits:["update:filterValue"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=[{value:"attack",label:r("cards.attack")},{value:"health",label:r("cards.health")},{value:"cost",label:r("cards.cost")},{value:"quantityOwned",label:r("cards.quantityOwned")}],i=s.ref(n.filterValue.attribute);s.watch(i,()=>{t("update:filterValue",{attribute:i.value,equality:n.filterValue.equality,number:n.filterValue.number})});function o(){let c=">";n.filterValue.equality===">"?c="<":n.filterValue.equality==="<"&&(c="="),t("update:filterValue",{attribute:n.filterValue.attribute,equality:c,number:n.filterValue.number})}function l(c){t("update:filterValue",{attribute:n.filterValue.attribute,equality:n.filterValue.equality,number:Number(c.target.value)})}return(c,d)=>(s.openBlock(),s.createElementBlock("div",RC,[s.createVNode(s.unref(Rt),{modelValue:i.value,"onUpdate:modelValue":d[0]||(d[0]=u=>i.value=u),class:"advanced-attribute",options:a,"can-clear":!1,label:"label","value-prop":"value"},null,8,["modelValue"]),s.createElementVNode("div",{class:"equality-button",onClick:o},s.toDisplayString(n.filterValue.equality),1),s.createElementVNode("input",{type:"number",class:"equality-number",value:n.filterValue.number,onInput:l},null,40,VC)]))}}),PJ="",nf=V($C,[["__scopeId","data-v-eb2d535d"]]),FC={filterValue:{type:Array,required:!0,default:[]}},zC=s.defineComponent({__name:"FilterAdvanced",props:FC,emits:["update:filterValue"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.reactive(n.filterValue);s.watch(a,()=>{t("update:filterValue",a)});function i(){a.splice(0)}function o(){a.push({attribute:"attack",equality:">",number:0})}return(l,c)=>(s.openBlock(),s.createBlock(_t,{class:"advanced-filters","filter-array":a,title:s.unref(r)("general.advanced"),"onClear:filterArray":i},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a,(d,u)=>(s.openBlock(),s.createBlock(nf,{key:u,"filter-value":a[u],"onUpdate:filterValue":f=>a[u]=f,class:"advanced-filter-item"},null,8,["filter-value","onUpdate:filterValue"]))),128)),s.createElementVNode("div",{class:"new-advanced-filter",onClick:o},s.toDisplayString(s.unref(r)("general.newAdvancedFilter")),1)]),_:1},8,["filter-array","title"]))}}),IJ="",rf=V(zC,[["__scopeId","data-v-6c23ee29"]]),jC={filterArray:{type:Array,required:!0,default:[]}},HC={class:"checkboxes-container"},af=s.defineComponent({__name:"FilterTypes",props:jC,emits:["update:filterArray"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.computed(()=>Ee().dataJson.types.filter(c=>["Unit","Spell","Landmark","Equipment"].includes(c.nameRef))),i=s.reactive(n.filterArray);s.watch(i,()=>{t("update:filterArray",i)});function o(){i.splice(0)}function l(c){const d=i.indexOf(c);if(d===-1){i.push(c);return}i.splice(d,1)}return(c,d)=>(s.openBlock(),s.createBlock(_t,{"filter-array":n.filterArray,title:s.unref(r)("general.types"),"onClear:filterArray":o},{default:s.withCtx(()=>[s.createElementVNode("div",HC,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(a),u=>(s.openBlock(),s.createBlock(Ut,{key:u.nameRef,icon:`url(${u.icon})`,prompt:u.name,"is-selected":i.includes(u.nameRef),"onUpdate:isSelected":f=>l(u.nameRef)},null,8,["icon","prompt","is-selected","onUpdate:isSelected"]))),128))])]),_:1},8,["filter-array","title"]))}}),WC={filters:{type:Object,required:!0,default:{advancedFilters:[],regionFilters:[],manaCostFilters:[],typeFilters:[],rarityFilters:[],setFilters:[],keywordFilters:[]}}},T0=s.defineComponent({__name:"FilterCards",props:WC,emits:["update:filters"],setup(e,{emit:t}){const n=e,r=s.reactive(n.filters);s.watch(r,()=>{t("update:filters",r)});function a(){for(const[,i]of Object.entries(r))i.splice(0)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",{onClick:a},"CLEAR ALL"),s.createVNode(Ku,{"filter-array":r.manaCostFilters,"onUpdate:filterArray":o[0]||(o[0]=l=>r.manaCostFilters=l)},null,8,["filter-array"]),s.createVNode(Rl,{"filter-array":r.regionFilters,"onUpdate:filterArray":o[1]||(o[1]=l=>r.regionFilters=l)},null,8,["filter-array"]),s.createVNode(af,{"filter-array":r.typeFilters,"onUpdate:filterArray":o[2]||(o[2]=l=>r.typeFilters=l)},null,8,["filter-array"]),s.createVNode(Ju,{"filter-array":r.rarityFilters,"onUpdate:filterArray":o[3]||(o[3]=l=>r.rarityFilters=l)},null,8,["filter-array"]),s.createVNode(Zu,{"filter-array":r.setFilters,"onUpdate:filterArray":o[4]||(o[4]=l=>r.setFilters=l)},null,8,["filter-array"]),s.createVNode(Qu,{"filter-array":r.keywordFilters,"onUpdate:filterArray":o[5]||(o[5]=l=>r.keywordFilters=l)},null,8,["filter-array"]),s.createVNode(rf,{"filter-value":r.advancedFilters,"onUpdate:filterValue":o[6]||(o[6]=l=>r.advancedFilters=l)},null,8,["filter-value"])]))}}),UC={cardCodes:{type:Array,required:!0,default:[]}},O0=s.defineComponent({__name:"CopyMeComponent",props:UC,setup(e){return(t,n)=>(s.openBlock(),s.createElementBlock("div"))}}),YC={regionRef:{type:String,required:!0,default:"Ionia"}},qC={text:{type:String,required:!0,default:""}},GC=["innerHTML"],XC=s.defineComponent({__name:"TippyText",props:qC,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",{class:"tippy-text",innerHTML:t.text},null,8,GC))}}),LJ="",Ro=V(XC,[["__scopeId","data-v-715107fe"]]),KC={class:"region-item"},JC=["alt","src"],ZC=s.defineComponent({__name:"RegionItem",props:YC,setup(e){const t=e,n=s.ref(null),r=s.ref(null),a=s.computed(()=>Ee().dataJson.regions.find(i=>i.nameRef==t.regionRef)??Ee().dataJson.runeterraChampions.find(i=>i.nameRef===t.regionRef));return s.onMounted(()=>{tt(n.value,{content:r.value,arrow:!0})}),(i,o)=>{var l,c,d;return s.openBlock(),s.createElementBlock("div",KC,[s.createElementVNode("img",{ref_key:"regionImg",ref:n,alt:(l=s.unref(a))==null?void 0:l.name,src:(c=s.unref(a))==null?void 0:c.icon,class:"region-img"},null,8,JC),s.createElementVNode("div",{ref_key:"regionTippy",ref:r},[s.createVNode(Ro,{text:(d=s.unref(a))==null?void 0:d.name},null,8,["text"])],512)])}}}),BJ="",Vo=V(ZC,[["__scopeId","data-v-3d756f50"]]),QC={deckCode:{type:String,required:!0,default:""},deck:{type:Object,required:!1},cards:{type:Array,required:!1},describeRegions:{type:Boolean,required:!1,default:!1}},eE={class:"regions-line"},tE={key:0,class:"describe-regions"},nE={class:"lines"},rE=s.defineComponent({__name:"RegionsLine",props:QC,setup(e){const t=e,{t:n}=ae(),r=s.computed(()=>t.deck?t.deck:Ct(t.deckCode)),a=s.computed(()=>t.cards?t.cards:sn(r.value)),i=s.computed(()=>{const l={};for(const c of Nl(r.value))l[c]=0;for(const c of a.value)for(const d of c.regionRefs)d in l&&(l[d]+=r.value[c.cardCode]);return l});function o(l,c){return{flexGrow:l,backgroundColor:`var(--color-${c}, var(--color-Runeterra))`}}return(l,c)=>(s.openBlock(),s.createElementBlock("div",eE,[t.describeRegions?(s.openBlock(),s.createElementBlock("div",tE,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(i),(d,u)=>(s.openBlock(),s.createElementBlock("div",{key:u,class:"region-description"},[s.createVNode(Vo,{"region-ref":u,class:"icon"},null,8,["region-ref"]),s.createElementVNode("span",null,s.toDisplayString(`${d} ${s.unref(n)("general.cards")}`),1)]))),128))])):s.createCommentVNode("",!0),s.createElementVNode("div",nE,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(i),(d,u)=>(s.openBlock(),s.createElementBlock("div",{key:u,style:s.normalizeStyle(o(d,u)),class:"region-line"},null,4))),128))])]))}}),RJ="",of=V(rE,[["__scopeId","data-v-f1f94f8b"]]),aE={cardCode:{type:String,required:!0,default:"01IO001"},toggledStats:{type:Object,required:!0,default:{matches:!0,winrate:!0,inclusion:!0,avgCopies:!0,mulliganWinrate:!1,kept:!1,drawnWinrate:!1,turnsHeld:!1,turnPlayed:!1}},index:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1},inclusion:{type:Number,required:!0,default:.5},avgCopies:{type:Number,required:!0,default:1},mulliganWinrate:{type:Number,required:!1,default:void 0},keptInMulligan:{type:Number,required:!1,default:void 0},drawnWinrate:{type:Number,required:!1,default:void 0},turnsHeld:{type:Number,required:!1,default:void 0},turnPlayed:{type:Number,required:!1,default:void 0}},iE={href:"/test",class:"wrapper"},oE={class:"cards-row-background-wrapper"},sE={class:"cards-row-background"},lE={class:"cards-row wrapper"},cE={key:0,class:"column-content"},dE={key:2,class:"column-content"},uE={key:3,class:"column-content"},fE={key:5,class:"column-content"},pE={key:7,class:"column-content"},hE={key:8,class:"column-content"},mE=s.defineComponent({__name:"CardsRow",props:aE,setup(e){const t=e,n=s.computed(()=>["",`https://lor.gg/storage/cards/banner/${t.cardCode}.png`]);return(r,a)=>(s.openBlock(),s.createElementBlock("a",iE,[s.createElementVNode("div",{class:"cards-row-wrapper wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",oE,[s.createElementVNode("div",sE,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(n),i=>(s.openBlock(),s.createElementBlock("div",{key:i,class:"background-card",style:s.normalizeStyle({"--background-image":`url(${i})`})},null,4))),128))])]),s.createElementVNode("div",lE,[s.createElementVNode("div",{class:"column-content deck-highlight-wrapper",onClick:a[0]||(a[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(ln,{class:"card-slice-item","card-code-prop":t.cardCode,"maintain-aspect-ratio":!0},null,8,["card-code-prop"])]),t.toggledStats.matches?(s.openBlock(),s.createElementBlock("div",cE,s.toDisplayString(s.unref(Me)(t.matches)),1)):s.createCommentVNode("",!0),t.toggledStats.winrate?(s.openBlock(),s.createElementBlock("div",{key:1,class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(Me)(t.wins/t.matches*100,2,3)+"%"),5)):s.createCommentVNode("",!0),t.toggledStats.inclusion?(s.openBlock(),s.createElementBlock("div",dE,s.toDisplayString(s.unref(Me)(t.inclusion*100,2,3)+"%"),1)):s.createCommentVNode("",!0),t.toggledStats.avgCopies?(s.openBlock(),s.createElementBlock("div",uE,s.toDisplayString(s.unref(Me)(t.avgCopies,2,3)),1)):s.createCommentVNode("",!0),t.toggledStats.mulliganWinrate?(s.openBlock(),s.createElementBlock("div",{key:4,class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.mulliganWinrate,t.wins/t.matches)})`})},s.toDisplayString(t.mulliganWinrate?s.unref(Me)(t.mulliganWinrate*100,2,3)+"%":"-"),5)):s.createCommentVNode("",!0),t.toggledStats.keptInMulligan?(s.openBlock(),s.createElementBlock("div",fE,s.toDisplayString(t.keptInMulligan?s.unref(Me)(t.keptInMulligan*100,2,3)+"%":"-"),1)):s.createCommentVNode("",!0),t.toggledStats.drawnWinrate?(s.openBlock(),s.createElementBlock("div",{key:6,class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.drawnWinrate,t.wins/t.matches)})`})},s.toDisplayString(t.drawnWinrate?s.unref(Me)(t.drawnWinrate*100,2,3)+"%":"-"),5)):s.createCommentVNode("",!0),t.toggledStats.turnPlayed?(s.openBlock(),s.createElementBlock("div",pE,s.toDisplayString(t.turnPlayed?s.unref(Me)(t.turnPlayed,2,3):"-"),1)):s.createCommentVNode("",!0),t.toggledStats.turnsHeld?(s.openBlock(),s.createElementBlock("div",hE,s.toDisplayString(t.turnsHeld?s.unref(Me)(t.turnsHeld,2,3):"-"),1)):s.createCommentVNode("",!0)])],4)]))}}),VJ="",sf=V(mE,[["__scopeId","data-v-2d3d4246"]]),gE={cardRows:{type:Array,required:!0,default:[]},cardsRowToggle:{type:Object,requied:!0,default:{card:!0,matches:!0,winrate:!0,inclusion:!0,avgCopies:!0,mulliganWinrate:!0,keptInMulligan:!0,drawnWinrate:!0,turnsHeld:!0,turnPlayed:!0}}};var _e=(e=>(e.UP="sort-up",e.DOWN="sort-down",e.NEITHER="sort-neither",e.NOT_SORTABLE="not-sortable",e))(_e||{});const bE={headingItems:{type:Array,required:!0,default:[]}},yE=e=>(s.pushScopeId("data-v-43d2a2a5"),e=e(),s.popScopeId(),e),_E={class:"table-wrapper"},vE={class:"table no-scrollbar"},wE=yE(()=>s.createElementVNode("div",{class:"heading-background-outer"},[s.createElementVNode("div",{class:"heading-background-absolute"}),s.createElementVNode("div",{class:"heading-background-inner"})],-1)),kE={class:"heading wrapper"},xE=["onClick"],SE={class:"sort-icons"},CE=s.defineComponent({__name:"LargeTable",props:bE,emits:["toggleSort"],setup(e,{emit:t}){const n=e,r=s.computed(()=>n.headingItems.filter(a=>a.isShown));return(a,i)=>(s.openBlock(),s.createElementBlock("div",_E,[s.createElementVNode("div",vE,[wE,s.createElementVNode("div",kE,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(r),o=>(s.openBlock(),s.createElementBlock("div",{key:o.title,class:s.normalizeClass(["heading-cell column-content",o.sortDirection]),onClick:l=>t("toggleSort",o.id)},[s.createElementVNode("div",null,s.toDisplayString(o.title),1),s.createElementVNode("div",SE,[s.createVNode(s.unref(nt),{icon:"sort-up",class:"sort-icon"}),s.createVNode(s.unref(nt),{icon:"sort-down",class:"sort-icon"})])],10,xE))),128))]),s.renderSlot(a.$slots,"default",{},void 0,!0)])]))}}),$J="",Hr=V(CE,[["__scopeId","data-v-43d2a2a5"]]);function Ei(e,t){const n=t.value.find(a=>a.id===e);if(!n||n.sortDirection===_e.NOT_SORTABLE)return;const r=n.sortDirection;if(EE(t),r===_e.NEITHER){n.sortDirection=_e.DOWN;return}if(r===_e.DOWN){n.sortDirection=_e.UP;return}n.sortDirection=_e.DOWN}function EE(e){e.value.forEach(t=>{t.sortDirection!==_e.NOT_SORTABLE&&(t.sortDirection=_e.NEITHER)})}const AE=s.defineComponent({__name:"CardsTable",props:gE,setup(e){const t=e,{t:n}=ae(),r=[{id:"card",isAlwaysShown:!0,isSortable:!1,title:n("general.card")},{id:"matches",isAlwaysShown:!1,isSortable:!0,title:n("general.matches")},{id:"winrate",isAlwaysShown:!1,isSortable:!0,title:n("general.winrate")},{id:"inclusion",isAlwaysShown:!1,isSortable:!0,title:n("general.inclusion")},{id:"avgCopies",isAlwaysShown:!1,isSortable:!0,title:n("general.avgCopies")},{id:"mulliganWinrate",isAlwaysShown:!1,isSortable:!0,title:n("general.mulliganWinrate")},{id:"keptInMulligan",isAlwaysShown:!1,isSortable:!0,title:n("general.keptInMulligan")},{id:"drawnWinrate",isAlwaysShown:!1,isSortable:!0,title:n("general.drawnWinrate")},{id:"turnsHeld",isAlwaysShown:!1,isSortable:!0,title:n("general.turnsHeld")},{id:"turnPlayed",isAlwaysShown:!1,isSortable:!0,title:n("general.turnPlayed")}];let a=!1;const i=s.ref(r.map(c=>{let d=_e.NEITHER;return c.isSortable||(d=_e.NOT_SORTABLE),!a&&c.isSortable&&(d=_e.DOWN,a=!0),{id:c.id,isShown:t.cardsRowToggle[c.id],sortDirection:d,title:c.title}})),o=s.computed(()=>({"--table-grid-template-columns":`repeat(${Object.values(t.cardsRowToggle).reduce((d,u)=>u?d+1:d,0)}, 1fr)`}));function l(c){Ei(c,i)}return(c,d)=>(s.openBlock(),s.createBlock(Hr,{class:"large-table","heading-items":i.value,style:s.normalizeStyle(s.unref(o)),onToggleSort:l},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.cardRows,(u,f)=>(s.openBlock(),s.createBlock(sf,{key:u.cardCode,"card-code":u.cardCode,matches:u.matches,wins:u.wins,index:f+2,"avg-copies":u.avgCopies,"drawn-winrate":u.drawnWinrate,"kept-in-mulligan":u.keptInMulligan,"mulligan-winrate":u.mulliganWinrate,inclusion:u.inclusion,"turns-held":u.turnsHeld,"turn-played":u.turnPlayed,"toggled-stats":t.cardsRowToggle},null,8,["card-code","matches","wins","index","avg-copies","drawn-winrate","kept-in-mulligan","mulligan-winrate","inclusion","turns-held","turn-played","toggled-stats"]))),128))]),_:1},8,["heading-items","style"]))}}),FJ="",M0=V(AE,[["__scopeId","data-v-0f368ec8"]]),TE={regions:{type:Array,required:!0,default:[]}},OE={class:"deck-highlight-regions"},ME=s.defineComponent({__name:"DeckHighlightRegions",props:TE,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",OE,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.regions,a=>(s.openBlock(),s.createElementBlock("div",{key:a,class:"region-item-wrapper"},[s.createVNode(Vo,{class:"region-item","region-ref":a},null,8,["region-ref"])]))),128))]))}}),zJ="",$o=V(ME,[["__scopeId","data-v-d28f95f4"]]),NE={},DE={xmlns:"http://www.w3.org/2000/svg",viewBox:"215.7 48.9 276.9 496"},PE=[s.createStaticVNode('<path fill="#146743" d="m271 136-54 90 150 316 14-50 29-312-51-130-88 86Z"></path><path fill="#419a4a" d="m356 121-75 105 86 316 14-50 29-312-54-59Z"></path><path fill="#baffb6" d="M410 180 359 50l-3 71 54 59Z"></path><path fill="#437f41" d="m359 50-88 86 10 90 75-105 3-71ZM281 360l86 182-86-316v134Z"></path><path fill="#419a4a" d="m454 332 28 33-33 85-4-13-8-85 17-20Z"></path>',5)];function IE(e,t){return s.openBlock(),s.createElementBlock("svg",DE,PE)}const lf=V(NE,[["render",IE]]),LE={deck:{type:Object,required:!0,default:{}}},BE=e=>(s.pushScopeId("data-v-25f680e9"),e=e(),s.popScopeId(),e),RE={class:"gems-text"},VE={class:"gems-cost-title"},$E={class:"gems-cost-value"},FE=BE(()=>s.createElementVNode("hr",{class:"divider"},null,-1)),zE={class:"gems-cost-title"},jE={class:"gems-cost-value"},HE=s.defineComponent({__name:"GemsCost",props:LE,setup(e){const t=e,{t:n}=ae(),r=s.ref(null),a=s.ref(null),i=s.computed(()=>Ml(t.deck,!1)),o=s.computed(()=>Ml(t.deck,!0));return s.onMounted(()=>{tt(r.value,{content:a.value,arrow:!0,duration:0})}),(l,c)=>{var d,u,f;return s.openBlock(),s.createElementBlock("div",{ref_key:"gemsCostDiv",ref:r,class:"gems-cost"},[s.createVNode(lf,{class:"shards-icon"}),s.createElementVNode("div",RE,s.toDisplayString((d=s.unref(o)!==null?s.unref(o):s.unref(i))==null?void 0:d.toLocaleString()),1),s.createElementVNode("div",{ref_key:"gemsCostTippyDiv",ref:a,class:"gems-cost-tippy"},[s.unref(o)?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",VE,s.toDisplayString(s.unref(n)("deck.personalCost")),1),s.createElementVNode("div",$E,s.toDisplayString((u=s.unref(o))==null?void 0:u.toLocaleString()),1),FE],64)):s.createCommentVNode("",!0),s.createElementVNode("div",zE,s.toDisplayString(s.unref(n)("deck.originalCost")),1),s.createElementVNode("div",jE,s.toDisplayString((f=s.unref(i))==null?void 0:f.toLocaleString()),1)],512)],512)}}}),HJ="",cf=V(HE,[["__scopeId","data-v-25f680e9"]]),WE={class:"language-selection"},UE=["value"],YE=s.defineComponent({__name:"LanguageSelection",setup(e){const t=s.ref(!1);function n(){t.value=!0}return(r,a)=>(s.openBlock(),s.createElementBlock("div",WE,[s.createVNode(s.unref(nt),{ref:"languageIcon",icon:"language",class:"icon",onClick:n},null,512),s.createVNode(Ci,{"show-modal":t.value,"onUpdate:showModal":a[1]||(a[1]=i=>t.value=i)},{default:s.withCtx(()=>[s.withDirectives(s.createElementVNode("select",{"onUpdate:modelValue":a[0]||(a[0]=i=>r.$i18n.locale=i)},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.$i18n.availableLocales,i=>(s.openBlock(),s.createElementBlock("option",{key:`locale-${i}`,value:i},s.toDisplayString(i),9,UE))),128))],512),[[s.vModelSelect,r.$i18n.locale]])]),_:1},8,["show-modal"])]))}}),WJ="",df=V(YE,[["__scopeId","data-v-741580c8"]]),qE={cardCodes:{type:Array,required:!0,default:[]},regions:{type:Array,required:!0,default:[]}},N0={cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0},ignoreCardItem:{type:Boolean,required:!1},regions:{type:Array,required:!1,default:void 0},colorOverride:{type:String,required:!1,default:void 0}},GE={class:"circle-card-item"},XE=["alt","src"],KE=s.defineComponent({__name:"CircleCardItem",props:N0,setup(e){const t=e,n=No(t.cardProp,t.cardCodeProp,!0),r=s.ref(null),a=s.ref(null),i=s.ref(null),o=s.ref(null),l=s.computed(()=>{var d;return"https://lor.gg/storage/cards/icon/"+((d=n.value)==null?void 0:d.cardCode)+"-icon.webp"}),c=s.computed(()=>n.value===void 0?"--color-primary-2":Na(n.value,t.regions));return s.onMounted(()=>{t.ignoreCardItem||tt(r.value,{content:a.value,placement:"right",arrow:!0,touch:"hold",duration:0,role:"card-image",onShown:d=>{const u=d.popper.innerHTML.includes("right")?"right-start":"left-start";o.value=u},onHidden:()=>{o.value=null}})}),(d,u)=>{var f;return s.openBlock(),s.createElementBlock("div",GE,[s.createElementVNode("a",{href:"test/card",class:"circle-card-link",onClick:u[0]||(u[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createElementVNode("img",{ref_key:"circleCardImg",ref:r,alt:(f=s.unref(n))==null?void 0:f.name,src:s.unref(l),class:"circle-card-img",style:s.normalizeStyle({borderColor:t.colorOverride??s.unref(c)})},null,12,XE)]),s.createElementVNode("div",{ref_key:"circleCardTippy",ref:a,class:"circle-card-tippy"},[!d.ignoreCardItem&&s.unref(n)?(s.openBlock(),s.createBlock(dr,{key:0,ref_key:"cardItem",ref:i,"card-code-prop":s.unref(n).cardCode,"is-deck-builder":!1,"is-root":!0,"show-tippy-location":o.value},null,8,["card-code-prop","show-tippy-location"])):s.createCommentVNode("",!0)],512)])}}}),UJ="",Wr=V(KE,[["__scopeId","data-v-3769c05a"]]),JE={cards:{type:Array,required:!1,default:void 0},cardCodes:{type:Array,required:!1,default:void 0},regions:{type:Array,required:!1,default:[]}},ZE={class:"deck-highlight-cards"},QE=s.defineComponent({__name:"DeckHighlightCards",props:JE,setup(e){const t=e,n=s.computed(()=>{if(t.cards)return t.cards;if(t.cardCodes)return t.cardCodes.map(r=>Ot().cardJsonObject[r]).filter(r=>r!==void 0);throw new Error("Cards or CardCodes must be defined.")});return(r,a)=>(s.openBlock(),s.createElementBlock("div",ZE,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(n),(i,o)=>(s.openBlock(),s.createElementBlock("div",{key:i.cardCode??o,class:"circle-card-item-wrapper"},[s.createVNode(Wr,{class:"circle-card-item","card-prop":i,regions:t.regions},null,8,["card-prop","regions"])]))),128))]))}}),YJ="",Fo=V(QE,[["__scopeId","data-v-4d804eb7"]]),eA=s.defineComponent({__name:"ArchetypeSidePanelHighlight",props:qE,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createBlock(_t,{class:"archetype-side-panel-highlight"},{default:s.withCtx(()=>[s.createVNode($o,{class:"deck-highlight-regions",regions:t.regions},null,8,["regions"]),s.createVNode(Fo,{class:s.normalizeClass(["deck-highlight-cards",t.cardCodes.length===1?"single":""]),"card-codes":t.cardCodes},null,8,["class","card-codes"])]),_:1}))}}),qJ="",Vl=V(eA,[["__scopeId","data-v-ff538f6f"]]),tA={deckcode:{type:String,required:!0,default:""},filters:{type:Object,required:!0,default:{sampleSizeFilters:[],serverFilters:[],timeFilters:[]}}},nA={deckCode:{type:String,required:!0,default:""},info:{type:String,required:!0,default:"typeRef"}};/*!
816
+ * @kurkle/color v0.3.2
817
+ * https://github.com/kurkle/color#readme
818
+ * (c) 2023 Jukka Kurkela
819
+ * Released under the MIT License
820
+ */function zo(e){return e+.5|0}const Ur=(e,t,n)=>Math.max(Math.min(e,n),t);function jo(e){return Ur(zo(e*2.55),0,255)}function Yr(e){return Ur(zo(e*255),0,255)}function ur(e){return Ur(zo(e/2.55)/100,0,1)}function D0(e){return Ur(zo(e*100),0,100)}const gn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},uf=[..."0123456789ABCDEF"],rA=e=>uf[e&15],aA=e=>uf[(e&240)>>4]+uf[e&15],$l=e=>(e&240)>>4===(e&15),iA=e=>$l(e.r)&&$l(e.g)&&$l(e.b)&&$l(e.a);function oA(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&gn[e[1]]*17,g:255&gn[e[2]]*17,b:255&gn[e[3]]*17,a:t===5?gn[e[4]]*17:255}:(t===7||t===9)&&(n={r:gn[e[1]]<<4|gn[e[2]],g:gn[e[3]]<<4|gn[e[4]],b:gn[e[5]]<<4|gn[e[6]],a:t===9?gn[e[7]]<<4|gn[e[8]]:255})),n}const sA=(e,t)=>e<255?t(e):"";function lA(e){var t=iA(e)?rA:aA;return e?"#"+t(e.r)+t(e.g)+t(e.b)+sA(e.a,t):void 0}const cA=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function P0(e,t,n){const r=t*Math.min(n,1-n),a=(i,o=(i+e/30)%12)=>n-r*Math.max(Math.min(o-3,9-o,1),-1);return[a(0),a(8),a(4)]}function dA(e,t,n){const r=(a,i=(a+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function uA(e,t,n){const r=P0(e,1,.5);let a;for(t+n>1&&(a=1/(t+n),t*=a,n*=a),a=0;a<3;a++)r[a]*=1-t-n,r[a]+=t;return r}function fA(e,t,n,r,a){return e===a?(t-n)/r+(t<n?6:0):t===a?(n-e)/r+2:(e-t)/r+4}function ff(e){const n=e.r/255,r=e.g/255,a=e.b/255,i=Math.max(n,r,a),o=Math.min(n,r,a),l=(i+o)/2;let c,d,u;return i!==o&&(u=i-o,d=l>.5?u/(2-i-o):u/(i+o),c=fA(n,r,a,u,i),c=c*60+.5),[c|0,d||0,l]}function pf(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Yr)}function hf(e,t,n){return pf(P0,e,t,n)}function pA(e,t,n){return pf(uA,e,t,n)}function hA(e,t,n){return pf(dA,e,t,n)}function I0(e){return(e%360+360)%360}function mA(e){const t=cA.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?jo(+t[5]):Yr(+t[5]));const a=I0(+t[2]),i=+t[3]/100,o=+t[4]/100;return t[1]==="hwb"?r=pA(a,i,o):t[1]==="hsv"?r=hA(a,i,o):r=hf(a,i,o),{r:r[0],g:r[1],b:r[2],a:n}}function gA(e,t){var n=ff(e);n[0]=I0(n[0]+t),n=hf(n),e.r=n[0],e.g=n[1],e.b=n[2]}function bA(e){if(!e)return;const t=ff(e),n=t[0],r=D0(t[1]),a=D0(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${a}%, ${ur(e.a)})`:`hsl(${n}, ${r}%, ${a}%)`}const L0={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},B0={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function yA(){const e={},t=Object.keys(B0),n=Object.keys(L0);let r,a,i,o,l;for(r=0;r<t.length;r++){for(o=l=t[r],a=0;a<n.length;a++)i=n[a],l=l.replace(i,L0[i]);i=parseInt(B0[o],16),e[l]=[i>>16&255,i>>8&255,i&255]}return e}let Fl;function _A(e){Fl||(Fl=yA(),Fl.transparent=[0,0,0,0]);const t=Fl[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const vA=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function wA(e){const t=vA.exec(e);let n=255,r,a,i;if(t){if(t[7]!==r){const o=+t[7];n=t[8]?jo(o):Ur(o*255,0,255)}return r=+t[1],a=+t[3],i=+t[5],r=255&(t[2]?jo(r):Ur(r,0,255)),a=255&(t[4]?jo(a):Ur(a,0,255)),i=255&(t[6]?jo(i):Ur(i,0,255)),{r,g:a,b:i,a:n}}}function kA(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${ur(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const mf=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Ai=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function xA(e,t,n){const r=Ai(ur(e.r)),a=Ai(ur(e.g)),i=Ai(ur(e.b));return{r:Yr(mf(r+n*(Ai(ur(t.r))-r))),g:Yr(mf(a+n*(Ai(ur(t.g))-a))),b:Yr(mf(i+n*(Ai(ur(t.b))-i))),a:e.a+n*(t.a-e.a)}}function zl(e,t,n){if(e){let r=ff(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=hf(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function R0(e,t){return e&&Object.assign(t||{},e)}function V0(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Yr(e[3]))):(t=R0(e,{r:0,g:0,b:0,a:1}),t.a=Yr(t.a)),t}function SA(e){return e.charAt(0)==="r"?wA(e):mA(e)}class Ho{constructor(t){if(t instanceof Ho)return t;const n=typeof t;let r;n==="object"?r=V0(t):n==="string"&&(r=oA(t)||_A(t)||SA(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=R0(this._rgb);return t&&(t.a=ur(t.a)),t}set rgb(t){this._rgb=V0(t)}rgbString(){return this._valid?kA(this._rgb):void 0}hexString(){return this._valid?lA(this._rgb):void 0}hslString(){return this._valid?bA(this._rgb):void 0}mix(t,n){if(t){const r=this.rgb,a=t.rgb;let i;const o=n===i?.5:n,l=2*o-1,c=r.a-a.a,d=((l*c===-1?l:(l+c)/(1+l*c))+1)/2;i=1-d,r.r=255&d*r.r+i*a.r+.5,r.g=255&d*r.g+i*a.g+.5,r.b=255&d*r.b+i*a.b+.5,r.a=o*r.a+(1-o)*a.a,this.rgb=r}return this}interpolate(t,n){return t&&(this._rgb=xA(this._rgb,t._rgb,n)),this}clone(){return new Ho(this.rgb)}alpha(t){return this._rgb.a=Yr(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=zo(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return zl(this._rgb,2,t),this}darken(t){return zl(this._rgb,2,-t),this}saturate(t){return zl(this._rgb,1,t),this}desaturate(t){return zl(this._rgb,1,-t),this}rotate(t){return gA(this._rgb,t),this}}/*!
821
+ * Chart.js v4.3.0
822
+ * https://www.chartjs.org
823
+ * (c) 2023 Chart.js Contributors
824
+ * Released under the MIT License
825
+ */function fr(){}const CA=(()=>{let e=0;return()=>e++})();function ve(e){return e===null||typeof e>"u"}function Ne(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function me(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function rt(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function cn(e,t){return rt(e)?e:t}function ce(e,t){return typeof e>"u"?t:e}const EA=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,$0=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Ie(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function Be(e,t,n,r){let a,i,o;if(Ne(e))if(i=e.length,r)for(a=i-1;a>=0;a--)t.call(n,e[a],a);else for(a=0;a<i;a++)t.call(n,e[a],a);else if(me(e))for(o=Object.keys(e),i=o.length,a=0;a<i;a++)t.call(n,e[o[a]],o[a])}function jl(e,t){let n,r,a,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(a=e[n],i=t[n],a.datasetIndex!==i.datasetIndex||a.index!==i.index)return!1;return!0}function Hl(e){if(Ne(e))return e.map(Hl);if(me(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let a=0;for(;a<r;++a)t[n[a]]=Hl(e[n[a]]);return t}return e}function F0(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function AA(e,t,n,r){if(!F0(e))return;const a=t[e],i=n[e];me(a)&&me(i)?Yn(a,i,r):t[e]=Hl(i)}function Yn(e,t,n){const r=Ne(t)?t:[t],a=r.length;if(!me(e))return e;n=n||{};const i=n.merger||AA;let o;for(let l=0;l<a;++l){if(o=r[l],!me(o))continue;const c=Object.keys(o);for(let d=0,u=c.length;d<u;++d)i(c[d],e,o,n)}return e}function Wo(e,t){return Yn(e,t,{merger:TA})}function TA(e,t,n){if(!F0(e))return;const r=t[e],a=n[e];me(r)&&me(a)?Wo(r,a):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Hl(a))}const z0={"":e=>e,x:e=>e.x,y:e=>e.y};function OA(e){const t=e.split("."),n=[];let r="";for(const a of t)r+=a,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function MA(e){const t=OA(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function qr(e,t){return(z0[t]||(z0[t]=MA(t)))(e)}function gf(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Yt=e=>typeof e<"u",qt=e=>typeof e=="function",j0=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function NA(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Ae=Math.PI,We=2*Ae,DA=We+Ae,Wl=Number.POSITIVE_INFINITY,bf=Ae/180,Ue=Ae/2,bn=Ae/4,Ul=Ae*2/3,Gr=Math.log10,qn=Math.sign;function Uo(e,t,n){return Math.abs(e-t)<n}function H0(e){const t=Math.round(e);e=Uo(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(Gr(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function PA(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(n|0)&&t.push(n),t.sort((a,i)=>a-i).pop(),t}function Xr(e){return!isNaN(parseFloat(e))&&isFinite(e)}function IA(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function W0(e,t,n){let r,a,i;for(r=0,a=e.length;r<a;r++)i=e[r][n],isNaN(i)||(t.min=Math.min(t.min,i),t.max=Math.max(t.max,i))}function gt(e){return e*(Ae/180)}function Yl(e){return e*(180/Ae)}function U0(e){if(!rt(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function Y0(e,t){const n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*Ae&&(i+=We),{angle:i,distance:a}}function Ti(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function LA(e,t){return(e-t+DA)%We-Ae}function dn(e){return(e%We+We)%We}function Yo(e,t,n,r){const a=dn(e),i=dn(t),o=dn(n),l=dn(i-a),c=dn(o-a),d=dn(a-i),u=dn(a-o);return a===i||a===o||r&&i===o||l>c&&d<u}function Et(e,t,n){return Math.max(t,Math.min(n,e))}function BA(e){return Et(e,-32768,32767)}function pr(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function yf(e,t,n){n=n||(o=>e[o]<t);let r=e.length-1,a=0,i;for(;r-a>1;)i=a+r>>1,n(i)?a=i:r=i;return{lo:a,hi:r}}const hr=(e,t,n,r)=>yf(e,n,r?a=>{const i=e[a][t];return i<n||i===n&&e[a+1][t]===n}:a=>e[a][t]<n),RA=(e,t,n)=>yf(e,n,r=>e[r][t]>=n);function VA(e,t,n){let r=0,a=e.length;for(;r<a&&e[r]<t;)r++;for(;a>r&&e[a-1]>n;)a--;return r>0||a<e.length?e.slice(r,a):e}const q0=["push","pop","shift","splice","unshift"];function $A(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),q0.forEach(n=>{const r="_onData"+gf(n),a=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...i){const o=a.apply(this,i);return e._chartjs.listeners.forEach(l=>{typeof l[r]=="function"&&l[r](...i)}),o}})})}function G0(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,a=r.indexOf(t);a!==-1&&r.splice(a,1),!(r.length>0)&&(q0.forEach(i=>{delete e[i]}),delete e._chartjs)}function X0(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const K0=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function J0(e,t){let n=[],r=!1;return function(...a){n=a,r||(r=!0,K0.call(window,()=>{r=!1,e.apply(t,n)}))}}function FA(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const _f=e=>e==="start"?"left":e==="end"?"right":"center",Mt=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,zA=(e,t,n,r)=>e===(r?"left":"right")?n:e==="center"?(t+n)/2:t;function Z0(e,t,n){const r=t.length;let a=0,i=r;if(e._sorted){const{iScale:o,_parsed:l}=e,c=o.axis,{min:d,max:u,minDefined:f,maxDefined:p}=o.getUserBounds();f&&(a=Et(Math.min(hr(l,o.axis,d).lo,n?r:hr(t,c,o.getPixelForValue(d)).lo),0,r-1)),p?i=Et(Math.max(hr(l,o.axis,u,!0).hi+1,n?0:hr(t,c,o.getPixelForValue(u),!0).hi+1),a,r)-a:i=r-a}return{start:a,count:i}}function Q0(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,a={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=a,!0;const i=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,a),i}const ql=e=>e===0||e===1,e2=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*We/n)),t2=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*We/n)+1,qo={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Ue)+1,easeOutSine:e=>Math.sin(e*Ue),easeInOutSine:e=>-.5*(Math.cos(Ae*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>ql(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ql(e)?e:e2(e,.075,.3),easeOutElastic:e=>ql(e)?e:t2(e,.075,.3),easeInOutElastic(e){return ql(e)?e:e<.5?.5*e2(e*2,.1125,.45):.5+.5*t2(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-qo.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?qo.easeInBounce(e*2)*.5:qo.easeOutBounce(e*2-1)*.5+.5};function vf(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function n2(e){return vf(e)?e:new Ho(e)}function wf(e){return vf(e)?e:new Ho(e).saturate(.5).darken(.1).hexString()}const jA=["x","y","borderWidth","radius","tension"],HA=["color","borderColor","backgroundColor"];function WA(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:HA},numbers:{type:"number",properties:jA}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function UA(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const r2=new Map;function YA(e,t){t=t||{};const n=e+JSON.stringify(t);let r=r2.get(n);return r||(r=new Intl.NumberFormat(e,t),r2.set(n,r)),r}function Go(e,t,n){return YA(t,n).format(e)}const a2={values(e){return Ne(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let a,i=e;if(n.length>1){const d=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(d<1e-4||d>1e15)&&(a="scientific"),i=qA(e,n)}const o=Gr(Math.abs(i)),l=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:a,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),Go(e,r,c)},logarithmic(e,t,n){if(e===0)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(Gr(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?a2.numeric.call(this,e,t,n):""}};function qA(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var Gl={formatters:a2};function GA(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Gl.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Da=Object.create(null),kf=Object.create(null);function Xo(e,t){if(!t)return e;const n=t.split(".");for(let r=0,a=n.length;r<a;++r){const i=n[r];e=e[i]||(e[i]=Object.create(null))}return e}function xf(e,t,n){return typeof t=="string"?Yn(Xo(e,t),n):Yn(Xo(e,""),t)}class XA{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,a)=>wf(a.backgroundColor),this.hoverBorderColor=(r,a)=>wf(a.borderColor),this.hoverColor=(r,a)=>wf(a.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return xf(this,t,n)}get(t){return Xo(this,t)}describe(t,n){return xf(kf,t,n)}override(t,n){return xf(Da,t,n)}route(t,n,r,a){const i=Xo(this,t),o=Xo(this,r),l="_"+n;Object.defineProperties(i,{[l]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const c=this[l],d=o[a];return me(c)?Object.assign({},d,c):ce(c,d)},set(c){this[l]=c}}})}apply(t){t.forEach(n=>n(this))}}var at=new XA({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[WA,UA,GA]);function KA(e){return!e||ve(e.size)||ve(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function Xl(e,t,n,r,a){let i=t[a];return i||(i=t[a]=e.measureText(a).width,n.push(a)),i>r&&(r=i),r}function JA(e,t,n,r){r=r||{};let a=r.data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},i=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0;const l=n.length;let c,d,u,f,p;for(c=0;c<l;c++)if(f=n[c],f!=null&&!Ne(f))o=Xl(e,a,i,o,f);else if(Ne(f))for(d=0,u=f.length;d<u;d++)p=f[d],p!=null&&!Ne(p)&&(o=Xl(e,a,i,o,p));e.restore();const h=i.length/2;if(h>n.length){for(c=0;c<h;c++)delete a[i[c]];i.splice(0,h)}return o}function Pa(e,t,n){const r=e.currentDevicePixelRatio,a=n!==0?Math.max(n/2,.5):0;return Math.round((t-a)*r)/r+a}function i2(e,t){t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function Sf(e,t,n,r){o2(e,t,n,r,null)}function o2(e,t,n,r,a){let i,o,l,c,d,u,f,p;const h=t.pointStyle,g=t.rotation,b=t.radius;let v=(g||0)*bf;if(h&&typeof h=="object"&&(i=h.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){e.save(),e.translate(n,r),e.rotate(v),e.drawImage(h,-h.width/2,-h.height/2,h.width,h.height),e.restore();return}if(!(isNaN(b)||b<=0)){switch(e.beginPath(),h){default:a?e.ellipse(n,r,a/2,b,0,0,We):e.arc(n,r,b,0,We),e.closePath();break;case"triangle":u=a?a/2:b,e.moveTo(n+Math.sin(v)*u,r-Math.cos(v)*b),v+=Ul,e.lineTo(n+Math.sin(v)*u,r-Math.cos(v)*b),v+=Ul,e.lineTo(n+Math.sin(v)*u,r-Math.cos(v)*b),e.closePath();break;case"rectRounded":d=b*.516,c=b-d,o=Math.cos(v+bn)*c,f=Math.cos(v+bn)*(a?a/2-d:c),l=Math.sin(v+bn)*c,p=Math.sin(v+bn)*(a?a/2-d:c),e.arc(n-f,r-l,d,v-Ae,v-Ue),e.arc(n+p,r-o,d,v-Ue,v),e.arc(n+f,r+l,d,v,v+Ue),e.arc(n-p,r+o,d,v+Ue,v+Ae),e.closePath();break;case"rect":if(!g){c=Math.SQRT1_2*b,u=a?a/2:c,e.rect(n-u,r-c,2*u,2*c);break}v+=bn;case"rectRot":f=Math.cos(v)*(a?a/2:b),o=Math.cos(v)*b,l=Math.sin(v)*b,p=Math.sin(v)*(a?a/2:b),e.moveTo(n-f,r-l),e.lineTo(n+p,r-o),e.lineTo(n+f,r+l),e.lineTo(n-p,r+o),e.closePath();break;case"crossRot":v+=bn;case"cross":f=Math.cos(v)*(a?a/2:b),o=Math.cos(v)*b,l=Math.sin(v)*b,p=Math.sin(v)*(a?a/2:b),e.moveTo(n-f,r-l),e.lineTo(n+f,r+l),e.moveTo(n+p,r-o),e.lineTo(n-p,r+o);break;case"star":f=Math.cos(v)*(a?a/2:b),o=Math.cos(v)*b,l=Math.sin(v)*b,p=Math.sin(v)*(a?a/2:b),e.moveTo(n-f,r-l),e.lineTo(n+f,r+l),e.moveTo(n+p,r-o),e.lineTo(n-p,r+o),v+=bn,f=Math.cos(v)*(a?a/2:b),o=Math.cos(v)*b,l=Math.sin(v)*b,p=Math.sin(v)*(a?a/2:b),e.moveTo(n-f,r-l),e.lineTo(n+f,r+l),e.moveTo(n+p,r-o),e.lineTo(n-p,r+o);break;case"line":o=a?a/2:Math.cos(v)*b,l=Math.sin(v)*b,e.moveTo(n-o,r-l),e.lineTo(n+o,r+l);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(v)*(a?a/2:b),r+Math.sin(v)*b);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function mr(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function Ko(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Jo(e){e.restore()}function ZA(e,t,n,r,a){if(!t)return e.lineTo(n.x,n.y);if(a==="middle"){const i=(t.x+n.x)/2;e.lineTo(i,t.y),e.lineTo(i,n.y)}else a==="after"!=!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function QA(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function eT(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),ve(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function tT(e,t,n,r,a){if(a.strikethrough||a.underline){const i=e.measureText(r),o=t-i.actualBoundingBoxLeft,l=t+i.actualBoundingBoxRight,c=n-i.actualBoundingBoxAscent,d=n+i.actualBoundingBoxDescent,u=a.strikethrough?(c+d)/2:d;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=a.decorationWidth||2,e.moveTo(o,u),e.lineTo(l,u),e.stroke()}}function nT(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function Ia(e,t,n,r,a,i={}){const o=Ne(t)?t:[t],l=i.strokeWidth>0&&i.strokeColor!=="";let c,d;for(e.save(),e.font=a.string,eT(e,i),c=0;c<o.length;++c)d=o[c],i.backdrop&&nT(e,i.backdrop),l&&(i.strokeColor&&(e.strokeStyle=i.strokeColor),ve(i.strokeWidth)||(e.lineWidth=i.strokeWidth),e.strokeText(d,n,r,i.maxWidth)),e.fillText(d,n,r,i.maxWidth),tT(e,n,r,d,i),r+=Number(a.lineHeight);e.restore()}function Oi(e,t){const{x:n,y:r,w:a,h:i,radius:o}=t;e.arc(n+o.topLeft,r+o.topLeft,o.topLeft,-Ue,Ae,!0),e.lineTo(n,r+i-o.bottomLeft),e.arc(n+o.bottomLeft,r+i-o.bottomLeft,o.bottomLeft,Ae,Ue,!0),e.lineTo(n+a-o.bottomRight,r+i),e.arc(n+a-o.bottomRight,r+i-o.bottomRight,o.bottomRight,Ue,0,!0),e.lineTo(n+a,r+o.topRight),e.arc(n+a-o.topRight,r+o.topRight,o.topRight,0,-Ue,!0),e.lineTo(n+o.topLeft,r)}const rT=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,aT=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function iT(e,t){const n=(""+e).match(rT);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const oT=e=>+e||0;function Cf(e,t){const n={},r=me(t),a=r?Object.keys(t):t,i=me(e)?r?o=>ce(e[o],e[t[o]]):o=>e[o]:()=>e;for(const o of a)n[o]=oT(i(o));return n}function s2(e){return Cf(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Kr(e){return Cf(e,["topLeft","topRight","bottomLeft","bottomRight"])}function ut(e){const t=s2(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function it(e,t){e=e||{},t=t||at.font;let n=ce(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=ce(e.style,t.style);r&&!(""+r).match(aT)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const a={family:ce(e.family,t.family),lineHeight:iT(ce(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:ce(e.weight,t.weight),string:""};return a.string=KA(a),a}function Xe(e,t,n,r){let a=!0,i,o,l;for(i=0,o=e.length;i<o;++i)if(l=e[i],l!==void 0&&(t!==void 0&&typeof l=="function"&&(l=l(t),a=!1),n!==void 0&&Ne(l)&&(l=l[n%l.length],a=!1),l!==void 0))return r&&!a&&(r.cacheable=!1),l}function sT(e,t,n){const{min:r,max:a}=e,i=$0(t,(a-r)/2),o=(l,c)=>n&&l===0?0:l+c;return{min:o(r,-Math.abs(i)),max:o(a,i)}}function Jr(e,t){return Object.assign(Object.create(e),t)}function Ef(e,t=[""],n,r,a=()=>e[0]){const i=n||e;typeof r>"u"&&(r=f2("_fallback",e));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:r,_getTarget:a,override:l=>Ef([l,...e],t,i,r)};return new Proxy(o,{deleteProperty(l,c){return delete l[c],delete l._keys,delete e[0][c],!0},get(l,c){return c2(l,c,()=>mT(c,t,e,l))},getOwnPropertyDescriptor(l,c){return Reflect.getOwnPropertyDescriptor(l._scopes[0],c)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(l,c){return p2(l).includes(c)},ownKeys(l){return p2(l)},set(l,c,d){const u=l._storage||(l._storage=a());return l[c]=u[c]=d,delete l._keys,!0}})}function Mi(e,t,n,r){const a={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:l2(e,r),setContext:i=>Mi(e,i,n,r),override:i=>Mi(e.override(i),t,n,r)};return new Proxy(a,{deleteProperty(i,o){return delete i[o],delete e[o],!0},get(i,o,l){return c2(i,o,()=>cT(i,o,l))},getOwnPropertyDescriptor(i,o){return i._descriptors.allKeys?Reflect.has(e,o)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,o)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(i,o){return Reflect.has(e,o)},ownKeys(){return Reflect.ownKeys(e)},set(i,o,l){return e[o]=l,delete i[o],!0}})}function l2(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:a=t.allKeys}=e;return{allKeys:a,scriptable:n,indexable:r,isScriptable:qt(n)?n:()=>n,isIndexable:qt(r)?r:()=>r}}const lT=(e,t)=>e?e+gf(t):t,Af=(e,t)=>me(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function c2(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=n();return e[t]=r,r}function cT(e,t,n){const{_proxy:r,_context:a,_subProxy:i,_descriptors:o}=e;let l=r[t];return qt(l)&&o.isScriptable(t)&&(l=dT(t,l,e,n)),Ne(l)&&l.length&&(l=uT(t,l,e,o.isIndexable)),Af(t,l)&&(l=Mi(l,a,i&&i[t],o)),l}function dT(e,t,n,r){const{_proxy:a,_context:i,_subProxy:o,_stack:l}=n;if(l.has(e))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+e);l.add(e);let c=t(i,o||r);return l.delete(e),Af(e,c)&&(c=Tf(a._scopes,a,e,c)),c}function uT(e,t,n,r){const{_proxy:a,_context:i,_subProxy:o,_descriptors:l}=n;if(typeof i.index<"u"&&r(e))return t[i.index%t.length];if(me(t[0])){const c=t,d=a._scopes.filter(u=>u!==c);t=[];for(const u of c){const f=Tf(d,a,e,u);t.push(Mi(f,i,o&&o[e],l))}}return t}function d2(e,t,n){return qt(e)?e(t,n):e}const fT=(e,t)=>e===!0?t:typeof e=="string"?qr(t,e):void 0;function pT(e,t,n,r,a){for(const i of t){const o=fT(n,i);if(o){e.add(o);const l=d2(o._fallback,n,a);if(typeof l<"u"&&l!==n&&l!==r)return l}else if(o===!1&&typeof r<"u"&&n!==r)return null}return!1}function Tf(e,t,n,r){const a=t._rootScopes,i=d2(t._fallback,n,r),o=[...e,...a],l=new Set;l.add(r);let c=u2(l,o,n,i||n,r);return c===null||typeof i<"u"&&i!==n&&(c=u2(l,o,i,c,r),c===null)?!1:Ef(Array.from(l),[""],a,i,()=>hT(t,n,r))}function u2(e,t,n,r,a){for(;n;)n=pT(e,t,n,r,a);return n}function hT(e,t,n){const r=e._getTarget();t in r||(r[t]={});const a=r[t];return Ne(a)&&me(n)?n:a||{}}function mT(e,t,n,r){let a;for(const i of t)if(a=f2(lT(i,e),n),typeof a<"u")return Af(e,a)?Tf(n,r,e,a):a}function f2(e,t){for(const n of t){if(!n)continue;const r=n[e];if(typeof r<"u")return r}}function p2(e){let t=e._keys;return t||(t=e._keys=gT(e._scopes)),t}function gT(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(a=>!a.startsWith("_")))t.add(r);return Array.from(t)}function h2(e,t,n,r){const{iScale:a}=e,{key:i="r"}=this._parsing,o=new Array(r);let l,c,d,u;for(l=0,c=r;l<c;++l)d=l+n,u=t[d],o[l]={r:a.parse(qr(u,i),d)};return o}const bT=Number.EPSILON||1e-14,Ni=(e,t)=>t<e.length&&!e[t].skip&&e[t],m2=e=>e==="x"?"y":"x";function yT(e,t,n,r){const a=e.skip?t:e,i=t,o=n.skip?t:n,l=Ti(i,a),c=Ti(o,i);let d=l/(l+c),u=c/(l+c);d=isNaN(d)?0:d,u=isNaN(u)?0:u;const f=r*d,p=r*u;return{previous:{x:i.x-f*(o.x-a.x),y:i.y-f*(o.y-a.y)},next:{x:i.x+p*(o.x-a.x),y:i.y+p*(o.y-a.y)}}}function _T(e,t,n){const r=e.length;let a,i,o,l,c,d=Ni(e,0);for(let u=0;u<r-1;++u)if(c=d,d=Ni(e,u+1),!(!c||!d)){if(Uo(t[u],0,bT)){n[u]=n[u+1]=0;continue}a=n[u]/t[u],i=n[u+1]/t[u],l=Math.pow(a,2)+Math.pow(i,2),!(l<=9)&&(o=3/Math.sqrt(l),n[u]=a*o*t[u],n[u+1]=i*o*t[u])}}function vT(e,t,n="x"){const r=m2(n),a=e.length;let i,o,l,c=Ni(e,0);for(let d=0;d<a;++d){if(o=l,l=c,c=Ni(e,d+1),!l)continue;const u=l[n],f=l[r];o&&(i=(u-o[n])/3,l[`cp1${n}`]=u-i,l[`cp1${r}`]=f-i*t[d]),c&&(i=(c[n]-u)/3,l[`cp2${n}`]=u+i,l[`cp2${r}`]=f+i*t[d])}}function wT(e,t="x"){const n=m2(t),r=e.length,a=Array(r).fill(0),i=Array(r);let o,l,c,d=Ni(e,0);for(o=0;o<r;++o)if(l=c,c=d,d=Ni(e,o+1),!!c){if(d){const u=d[t]-c[t];a[o]=u!==0?(d[n]-c[n])/u:0}i[o]=l?d?qn(a[o-1])!==qn(a[o])?0:(a[o-1]+a[o])/2:a[o-1]:a[o]}_T(e,a,i),vT(e,i,t)}function Kl(e,t,n){return Math.max(Math.min(e,n),t)}function kT(e,t){let n,r,a,i,o,l=mr(e[0],t);for(n=0,r=e.length;n<r;++n)o=i,i=l,l=n<r-1&&mr(e[n+1],t),i&&(a=e[n],o&&(a.cp1x=Kl(a.cp1x,t.left,t.right),a.cp1y=Kl(a.cp1y,t.top,t.bottom)),l&&(a.cp2x=Kl(a.cp2x,t.left,t.right),a.cp2y=Kl(a.cp2y,t.top,t.bottom)))}function xT(e,t,n,r,a){let i,o,l,c;if(t.spanGaps&&(e=e.filter(d=>!d.skip)),t.cubicInterpolationMode==="monotone")wT(e,a);else{let d=r?e[e.length-1]:e[0];for(i=0,o=e.length;i<o;++i)l=e[i],c=yT(d,l,e[Math.min(i+1,o-(r?0:1))%o],t.tension),l.cp1x=c.previous.x,l.cp1y=c.previous.y,l.cp2x=c.next.x,l.cp2y=c.next.y,d=l}t.capBezierPoints&&kT(e,n)}function g2(){return typeof window<"u"&&typeof document<"u"}function Of(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function Jl(e,t,n){let r;return typeof e=="string"?(r=parseInt(e,10),e.indexOf("%")!==-1&&(r=r/100*t.parentNode[n])):r=e,r}const Zl=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function ST(e,t){return Zl(e).getPropertyValue(t)}const CT=["top","right","bottom","left"];function La(e,t,n){const r={};n=n?"-"+n:"";for(let a=0;a<4;a++){const i=CT[a];r[i]=parseFloat(e[t+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const ET=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function AT(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:a,offsetY:i}=r;let o=!1,l,c;if(ET(a,i,e.target))l=a,c=i;else{const d=t.getBoundingClientRect();l=r.clientX-d.left,c=r.clientY-d.top,o=!0}return{x:l,y:c,box:o}}function Ba(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,a=Zl(n),i=a.boxSizing==="border-box",o=La(a,"padding"),l=La(a,"border","width"),{x:c,y:d,box:u}=AT(e,n),f=o.left+(u&&l.left),p=o.top+(u&&l.top);let{width:h,height:g}=t;return i&&(h-=o.width+l.width,g-=o.height+l.height),{x:Math.round((c-f)/h*n.width/r),y:Math.round((d-p)/g*n.height/r)}}function TT(e,t,n){let r,a;if(t===void 0||n===void 0){const i=Of(e);if(!i)t=e.clientWidth,n=e.clientHeight;else{const o=i.getBoundingClientRect(),l=Zl(i),c=La(l,"border","width"),d=La(l,"padding");t=o.width-d.width-c.width,n=o.height-d.height-c.height,r=Jl(l.maxWidth,i,"clientWidth"),a=Jl(l.maxHeight,i,"clientHeight")}}return{width:t,height:n,maxWidth:r||Wl,maxHeight:a||Wl}}const Ql=e=>Math.round(e*10)/10;function OT(e,t,n,r){const a=Zl(e),i=La(a,"margin"),o=Jl(a.maxWidth,e,"clientWidth")||Wl,l=Jl(a.maxHeight,e,"clientHeight")||Wl,c=TT(e,t,n);let{width:d,height:u}=c;if(a.boxSizing==="content-box"){const p=La(a,"border","width"),h=La(a,"padding");d-=h.width+p.width,u-=h.height+p.height}return d=Math.max(0,d-i.width),u=Math.max(0,r?d/r:u-i.height),d=Ql(Math.min(d,o,c.maxWidth)),u=Ql(Math.min(u,l,c.maxHeight)),d&&!u&&(u=Ql(d/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,d=Ql(Math.floor(u*r))),{width:d,height:u}}function b2(e,t,n){const r=t||1,a=Math.floor(e.height*r),i=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||o.height!==a||o.width!==i?(e.currentDevicePixelRatio=r,o.height=a,o.width=i,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const MT=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}();function y2(e,t){const n=ST(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Ra(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function NT(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r==="middle"?n<.5?e.y:t.y:r==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function DT(e,t,n,r){const a={x:e.cp2x,y:e.cp2y},i={x:t.cp1x,y:t.cp1y},o=Ra(e,a,n),l=Ra(a,i,n),c=Ra(i,t,n),d=Ra(o,l,n),u=Ra(l,c,n);return Ra(d,u,n)}const PT=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},IT=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Di(e,t,n){return e?PT(t,n):IT()}function _2(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function v2(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function w2(e){return e==="angle"?{between:Yo,compare:LA,normalize:dn}:{between:pr,compare:(t,n)=>t-n,normalize:t=>t}}function k2({start:e,end:t,count:n,loop:r,style:a}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:a}}function LT(e,t,n){const{property:r,start:a,end:i}=n,{between:o,normalize:l}=w2(r),c=t.length;let{start:d,end:u,loop:f}=e,p,h;if(f){for(d+=c,u+=c,p=0,h=c;p<h&&o(l(t[d%c][r]),a,i);++p)d--,u--;d%=c,u%=c}return u<d&&(u+=c),{start:d,end:u,loop:f,style:e.style}}function x2(e,t,n){if(!n)return[e];const{property:r,start:a,end:i}=n,o=t.length,{compare:l,between:c,normalize:d}=w2(r),{start:u,end:f,loop:p,style:h}=LT(e,t,n),g=[];let b=!1,v=null,m,y,w;const _=()=>c(a,w,m)&&l(a,w)!==0,k=()=>l(i,m)===0||c(i,w,m),x=()=>b||_(),C=()=>!b||k();for(let E=u,T=u;E<=f;++E)y=t[E%o],!y.skip&&(m=d(y[r]),m!==w&&(b=c(m,a,i),v===null&&x()&&(v=l(m,a)===0?E:T),v!==null&&C()&&(g.push(k2({start:v,end:E,loop:p,count:o,style:h})),v=null),T=E,w=m));return v!==null&&g.push(k2({start:v,end:f,loop:p,count:o,style:h})),g}function S2(e,t){const n=[],r=e.segments;for(let a=0;a<r.length;a++){const i=x2(r[a],e.points,t);i.length&&n.push(...i)}return n}function BT(e,t,n,r){let a=0,i=t-1;if(n&&!r)for(;a<t&&!e[a].skip;)a++;for(;a<t&&e[a].skip;)a++;for(a%=t,n&&(i+=a);i>a&&e[i%t].skip;)i--;return i%=t,{start:a,end:i}}function RT(e,t,n,r){const a=e.length,i=[];let o=t,l=e[t],c;for(c=t+1;c<=n;++c){const d=e[c%a];d.skip||d.stop?l.skip||(r=!1,i.push({start:t%a,end:(c-1)%a,loop:r}),t=o=d.stop?c:null):(o=c,l.skip&&(t=c)),l=d}return o!==null&&i.push({start:t%a,end:o%a,loop:r}),i}function VT(e,t){const n=e.points,r=e.options.spanGaps,a=n.length;if(!a)return[];const i=!!e._loop,{start:o,end:l}=BT(n,a,i,r);if(r===!0)return C2(e,[{start:o,end:l,loop:i}],n,t);const c=l<o?l+a:l,d=!!e._fullLoop&&o===0&&l===a-1;return C2(e,RT(n,o,c,d),n,t)}function C2(e,t,n,r){return!r||!r.setContext||!n?t:$T(e,t,n,r)}function $T(e,t,n,r){const a=e._chart.getContext(),i=E2(e.options),{_datasetIndex:o,options:{spanGaps:l}}=e,c=n.length,d=[];let u=i,f=t[0].start,p=f;function h(g,b,v,m){const y=l?-1:1;if(g!==b){for(g+=c;n[g%c].skip;)g-=y;for(;n[b%c].skip;)b+=y;g%c!==b%c&&(d.push({start:g%c,end:b%c,loop:v,style:m}),u=m,f=b%c)}}for(const g of t){f=l?f:g.start;let b=n[f%c],v;for(p=f+1;p<=g.end;p++){const m=n[p%c];v=E2(r.setContext(Jr(a,{type:"segment",p0:b,p1:m,p0DataIndex:(p-1)%c,p1DataIndex:p%c,datasetIndex:o}))),FT(v,u)&&h(f,p-1,g.loop,u),b=m,u=v}f<p-1&&h(f,p-1,g.loop,u)}return d}function E2(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function FT(e,t){if(!t)return!1;const n=[],r=function(a,i){return vf(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(e,r)!==JSON.stringify(t,r)}/*!
826
+ * Chart.js v4.3.0
827
+ * https://www.chartjs.org
828
+ * (c) 2023 Chart.js Contributors
829
+ * Released under the MIT License
830
+ */class zT{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,r,a){const i=n.listeners[a],o=n.duration;i.forEach(l=>l({chart:t,initial:n.initial,numSteps:o,currentStep:Math.min(r-n.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=K0.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,a)=>{if(!r.running||!r.items.length)return;const i=r.items;let o=i.length-1,l=!1,c;for(;o>=0;--o)c=i[o],c._active?(c._total>r.duration&&(r.duration=c._total),c.tick(t),l=!0):(i[o]=i[i.length-1],i.pop());l&&(a.draw(),this._notify(a,r,t,"progress")),i.length||(r.running=!1,this._notify(a,r,t,"complete"),r.initial=!1),n+=i.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,a)=>Math.max(r,a._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let a=r.length-1;for(;a>=0;--a)r[a].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var gr=new zT;const A2="transparent",jT={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=n2(e||A2),a=r.valid&&n2(t||A2);return a&&a.valid?a.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class HT{constructor(t,n,r,a){const i=n[r];a=Xe([t.to,a,i,t.from]);const o=Xe([t.from,i,a]);this._active=!0,this._fn=t.fn||jT[t.type||typeof o],this._easing=qo[t.easing]||qo.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=o,this._to=a,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const a=this._target[this._prop],i=r-this._start,o=this._duration-i;this._start=r,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=Xe([t.to,n,a,t.from]),this._from=Xe([t.from,a,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,a=this._prop,i=this._from,o=this._loop,l=this._to;let c;if(this._active=i!==l&&(o||n<r),!this._active){this._target[a]=l,this._notify(!0);return}if(n<0){this._target[a]=i;return}c=n/r%2,c=o&&c>1?2-c:c,c=this._easing(Math.min(1,Math.max(0,c))),this._target[a]=this._fn(i,l,c)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let a=0;a<r.length;a++)r[a][n]()}}class Mf{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!me(t))return;const n=Object.keys(at.animation),r=this._properties;Object.getOwnPropertyNames(t).forEach(a=>{const i=t[a];if(!me(i))return;const o={};for(const l of n)o[l]=i[l];(Ne(i.properties)&&i.properties||[a]).forEach(l=>{(l===a||!r.has(l))&&r.set(l,o)})})}_animateOptions(t,n){const r=n.options,a=UT(t,r);if(!a)return[];const i=this._createAnimations(a,r);return r.$shared&&WT(t.options.$animations,r).then(()=>{t.options=r},()=>{}),i}_createAnimations(t,n){const r=this._properties,a=[],i=t.$animations||(t.$animations={}),o=Object.keys(n),l=Date.now();let c;for(c=o.length-1;c>=0;--c){const d=o[c];if(d.charAt(0)==="$")continue;if(d==="options"){a.push(...this._animateOptions(t,n));continue}const u=n[d];let f=i[d];const p=r.get(d);if(f)if(p&&f.active()){f.update(p,u,l);continue}else f.cancel();if(!p||!p.duration){t[d]=u;continue}i[d]=f=new HT(p,t,d,u),a.push(f)}return a}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return gr.add(this._chart,r),!0}}function WT(e,t){const n=[],r=Object.keys(t);for(let a=0;a<r.length;a++){const i=e[r[a]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function UT(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function T2(e,t){const n=e&&e.options||{},r=n.reverse,a=n.min===void 0?t:0,i=n.max===void 0?t:0;return{start:r?i:a,end:r?a:i}}function YT(e,t,n){if(n===!1)return!1;const r=T2(e,n),a=T2(t,n);return{top:a.end,right:r.end,bottom:a.start,left:r.start}}function qT(e){let t,n,r,a;return me(e)?(t=e.top,n=e.right,r=e.bottom,a=e.left):t=n=r=a=e,{top:t,right:n,bottom:r,left:a,disabled:e===!1}}function O2(e,t){const n=[],r=e._getSortedDatasetMetas(t);let a,i;for(a=0,i=r.length;a<i;++a)n.push(r[a].index);return n}function M2(e,t,n,r={}){const a=e.keys,i=r.mode==="single";let o,l,c,d;if(t!==null){for(o=0,l=a.length;o<l;++o){if(c=+a[o],c===n){if(r.all)continue;break}d=e.values[c],rt(d)&&(i||t===0||qn(t)===qn(d))&&(t+=d)}return t}}function GT(e){const t=Object.keys(e),n=new Array(t.length);let r,a,i;for(r=0,a=t.length;r<a;++r)i=t[r],n[r]={x:i,y:e[i]};return n}function N2(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function XT(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function KT(e){const{min:t,max:n,minDefined:r,maxDefined:a}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:a?n:Number.POSITIVE_INFINITY}}function JT(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function D2(e,t,n,r){for(const a of t.getMatchingVisibleMetas(r).reverse()){const i=e[a.index];if(n&&i>0||!n&&i<0)return a.index}return null}function P2(e,t){const{chart:n,_cachedMeta:r}=e,a=n._stacks||(n._stacks={}),{iScale:i,vScale:o,index:l}=r,c=i.axis,d=o.axis,u=XT(i,o,r),f=t.length;let p;for(let h=0;h<f;++h){const g=t[h],{[c]:b,[d]:v}=g,m=g._stacks||(g._stacks={});p=m[d]=JT(a,u,b),p[l]=v,p._top=D2(p,o,!0,r.type),p._bottom=D2(p,o,!1,r.type);const y=p._visualValues||(p._visualValues={});y[l]=v}}function Nf(e,t){const n=e.scales;return Object.keys(n).filter(r=>n[r].axis===t).shift()}function ZT(e,t){return Jr(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function QT(e,t,n){return Jr(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Zo(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const a of t){const i=a._stacks;if(!i||i[r]===void 0||i[r][n]===void 0)return;delete i[r][n],i[r]._visualValues!==void 0&&i[r]._visualValues[n]!==void 0&&delete i[r]._visualValues[n]}}}const Df=e=>e==="reset"||e==="none",I2=(e,t)=>t?e:Object.assign({},e),eO=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:O2(n,!0),values:null};class Mn{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=N2(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Zo(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),a=(f,p,h,g)=>f==="x"?p:f==="r"?g:h,i=n.xAxisID=ce(r.xAxisID,Nf(t,"x")),o=n.yAxisID=ce(r.yAxisID,Nf(t,"y")),l=n.rAxisID=ce(r.rAxisID,Nf(t,"r")),c=n.indexAxis,d=n.iAxisID=a(c,i,o,l),u=n.vAxisID=a(c,o,i,l);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(o),n.rScale=this.getScaleForId(l),n.iScale=this.getScaleForId(d),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&G0(this._data,this),t._stacked&&Zo(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(me(n))this._data=GT(n);else if(r!==n){if(r){G0(r,this);const a=this._cachedMeta;Zo(a),a._parsed=[]}n&&Object.isExtensible(n)&&$A(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let a=!1;this._dataCheck();const i=n._stacked;n._stacked=N2(n.vScale,n),n.stack!==r.stack&&(a=!0,Zo(n),n.stack=r.stack),this._resyncElements(t),(a||i!==n._stacked)&&P2(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:a}=this,{iScale:i,_stacked:o}=r,l=i.axis;let c=t===0&&n===a.length?!0:r._sorted,d=t>0&&r._parsed[t-1],u,f,p;if(this._parsing===!1)r._parsed=a,r._sorted=!0,p=a;else{Ne(a[t])?p=this.parseArrayData(r,a,t,n):me(a[t])?p=this.parseObjectData(r,a,t,n):p=this.parsePrimitiveData(r,a,t,n);const h=()=>f[l]===null||d&&f[l]<d[l];for(u=0;u<n;++u)r._parsed[u+t]=f=p[u],c&&(h()&&(c=!1),d=f);r._sorted=c}o&&P2(this,p)}parsePrimitiveData(t,n,r,a){const{iScale:i,vScale:o}=t,l=i.axis,c=o.axis,d=i.getLabels(),u=i===o,f=new Array(a);let p,h,g;for(p=0,h=a;p<h;++p)g=p+r,f[p]={[l]:u||i.parse(d[g],g),[c]:o.parse(n[g],g)};return f}parseArrayData(t,n,r,a){const{xScale:i,yScale:o}=t,l=new Array(a);let c,d,u,f;for(c=0,d=a;c<d;++c)u=c+r,f=n[u],l[c]={x:i.parse(f[0],u),y:o.parse(f[1],u)};return l}parseObjectData(t,n,r,a){const{xScale:i,yScale:o}=t,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,d=new Array(a);let u,f,p,h;for(u=0,f=a;u<f;++u)p=u+r,h=n[p],d[u]={x:i.parse(qr(h,l),p),y:o.parse(qr(h,c),p)};return d}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,r){const a=this.chart,i=this._cachedMeta,o=n[t.axis],l={keys:O2(a,!0),values:n._stacks[t.axis]._visualValues};return M2(l,o,i.index,{mode:r})}updateRangeFromParsed(t,n,r,a){const i=r[n.axis];let o=i===null?NaN:i;const l=a&&r._stacks[n.axis];a&&l&&(a.values=l,o=M2(a,i,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,n){const r=this._cachedMeta,a=r._parsed,i=r._sorted&&t===r.iScale,o=a.length,l=this._getOtherScale(t),c=eO(n,r,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:f}=KT(l);let p,h;function g(){h=a[p];const b=h[l.axis];return!rt(h[t.axis])||u>b||f<b}for(p=0;p<o&&!(!g()&&(this.updateRangeFromParsed(d,t,h,c),i));++p);if(i){for(p=o-1;p>=0;--p)if(!g()){this.updateRangeFromParsed(d,t,h,c);break}}return d}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let a,i,o;for(a=0,i=n.length;a<i;++a)o=n[a][t.axis],rt(o)&&r.push(o);return r}getMaxOverflow(){return!1}getLabelAndValue(t){const n=this._cachedMeta,r=n.iScale,a=n.vScale,i=this.getParsed(t);return{label:r?""+r.getLabelForValue(i[r.axis]):"",value:a?""+a.getLabelForValue(i[a.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=qT(ce(this.options.clip,YT(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,r=this._cachedMeta,a=r.data||[],i=n.chartArea,o=[],l=this._drawStart||0,c=this._drawCount||a.length-l,d=this.options.drawActiveElementsOnTop;let u;for(r.dataset&&r.dataset.draw(t,i,l,c),u=l;u<l+c;++u){const f=a[u];f.hidden||(f.active&&d?o.push(f):f.draw(t,i))}for(u=0;u<o.length;++u)o[u].draw(t,i)}getStyle(t,n){const r=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(t||0,r)}getContext(t,n,r){const a=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const o=this._cachedMeta.data[t];i=o.$context||(o.$context=QT(this.getContext(),t,o)),i.parsed=this.getParsed(t),i.raw=a.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=ZT(this.chart.getContext(),this.index)),i.dataset=a,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=r,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",r){const a=n==="active",i=this._cachedDataOpts,o=t+"-"+n,l=i[o],c=this.enableOptionSharing&&Yt(r);if(l)return I2(l,c);const d=this.chart.config,u=d.datasetElementScopeKeys(this._type,t),f=a?[`${t}Hover`,"hover",t,""]:[t,""],p=d.getOptionScopes(this.getDataset(),u),h=Object.keys(at.elements[t]),g=()=>this.getContext(r,a,n),b=d.resolveNamedOptions(p,h,g,f);return b.$shared&&(b.$shared=c,i[o]=Object.freeze(I2(b,c))),b}_resolveAnimations(t,n,r){const a=this.chart,i=this._cachedDataOpts,o=`animation-${n}`,l=i[o];if(l)return l;let c;if(a.options.animation!==!1){const u=this.chart.config,f=u.datasetAnimationScopeKeys(this._type,n),p=u.getOptionScopes(this.getDataset(),f);c=u.createResolver(p,this.getContext(t,r,n))}const d=new Mf(a,c&&c.animations);return c&&c._cacheable&&(i[o]=Object.freeze(d)),d}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||Df(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),a=this._sharedOptions,i=this.getSharedOptions(r),o=this.includeOptions(n,i)||i!==a;return this.updateSharedOptions(i,n,r),{sharedOptions:i,includeOptions:o}}updateElement(t,n,r,a){Df(a)?Object.assign(t,r):this._resolveAnimations(n,a).update(t,r)}updateSharedOptions(t,n,r){t&&!Df(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,a){t.active=a;const i=this.getStyle(n,a);this._resolveAnimations(n,r,a).update(t,{options:!a&&this.getSharedOptions(i)||i})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[l,c,d]of this._syncList)this[l](c,d);this._syncList=[];const a=r.length,i=n.length,o=Math.min(i,a);o&&this.parse(0,o),i>a?this._insertElements(a,i-a,t):i<a&&this._removeElements(i,a-i)}_insertElements(t,n,r=!0){const a=this._cachedMeta,i=a.data,o=t+n;let l;const c=d=>{for(d.length+=n,l=d.length-1;l>=o;l--)d[l]=d[l-n]};for(c(i),l=t;l<o;++l)i[l]=new this.dataElementType;this._parsing&&c(a._parsed),this.parse(t,n),r&&this.updateElements(i,t,n,"reset")}updateElements(t,n,r,a){}_removeElements(t,n){const r=this._cachedMeta;if(this._parsing){const a=r._parsed.splice(t,n);r._stacked&&Zo(r,a)}r.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,r,a]=t;this[n](r,a)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",t,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}H(Mn,"defaults",{}),H(Mn,"datasetElementType",null),H(Mn,"dataElementType",null);function tO(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let r=[];for(let a=0,i=n.length;a<i;a++)r=r.concat(n[a].controller.getAllParsedValues(e));e._cache.$bar=X0(r.sort((a,i)=>a-i))}return e._cache.$bar}function nO(e){const t=e.iScale,n=tO(t,e.type);let r=t._length,a,i,o,l;const c=()=>{o===32767||o===-32768||(Yt(l)&&(r=Math.min(r,Math.abs(o-l)||r)),l=o)};for(a=0,i=n.length;a<i;++a)o=t.getPixelForValue(n[a]),c();for(l=void 0,a=0,i=t.ticks.length;a<i;++a)o=t.getPixelForTick(a),c();return r}function rO(e,t,n,r){const a=n.barThickness;let i,o;return ve(a)?(i=t.min*n.categoryPercentage,o=n.barPercentage):(i=a*r,o=1),{chunk:i/r,ratio:o,start:t.pixels[e]-i/2}}function aO(e,t,n,r){const a=t.pixels,i=a[e];let o=e>0?a[e-1]:null,l=e<a.length-1?a[e+1]:null;const c=n.categoryPercentage;o===null&&(o=i-(l===null?t.end-t.start:l-i)),l===null&&(l=i+i-o);const d=i-(i-Math.min(o,l))/2*c;return{chunk:Math.abs(l-o)/2*c/r,ratio:n.barPercentage,start:d}}function iO(e,t,n,r){const a=n.parse(e[0],r),i=n.parse(e[1],r),o=Math.min(a,i),l=Math.max(a,i);let c=o,d=l;Math.abs(o)>Math.abs(l)&&(c=l,d=o),t[n.axis]=d,t._custom={barStart:c,barEnd:d,start:a,end:i,min:o,max:l}}function L2(e,t,n,r){return Ne(e)?iO(e,t,n,r):t[n.axis]=n.parse(e,r),t}function B2(e,t,n,r){const a=e.iScale,i=e.vScale,o=a.getLabels(),l=a===i,c=[];let d,u,f,p;for(d=n,u=n+r;d<u;++d)p=t[d],f={},f[a.axis]=l||a.parse(o[d],d),c.push(L2(p,f,i,d));return c}function Pf(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function oO(e,t,n){return e!==0?qn(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function sO(e){let t,n,r,a,i;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(a="end",i="start"):(a="start",i="end"),{start:n,end:r,reverse:t,top:a,bottom:i}}function lO(e,t,n,r){let a=t.borderSkipped;const i={};if(!a){e.borderSkipped=i;return}if(a===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:o,end:l,reverse:c,top:d,bottom:u}=sO(e);a==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?a=d:(n._bottom||0)===r?a=u:(i[R2(u,o,l,c)]=!0,a=d)),i[R2(a,o,l,c)]=!0,e.borderSkipped=i}function R2(e,t,n,r){return r?(e=cO(e,t,n),e=V2(e,n,t)):e=V2(e,t,n),e}function cO(e,t,n){return e===t?n:e===n?t:e}function V2(e,t,n){return e==="start"?t:e==="end"?n:e}function dO(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class ec extends Mn{parsePrimitiveData(t,n,r,a){return B2(t,n,r,a)}parseArrayData(t,n,r,a){return B2(t,n,r,a)}parseObjectData(t,n,r,a){const{iScale:i,vScale:o}=t,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,d=i.axis==="x"?l:c,u=o.axis==="x"?l:c,f=[];let p,h,g,b;for(p=r,h=r+a;p<h;++p)b=n[p],g={},g[i.axis]=i.parse(qr(b,d),p),f.push(L2(qr(b,u),g,o,p));return f}updateRangeFromParsed(t,n,r,a){super.updateRangeFromParsed(t,n,r,a);const i=r._custom;i&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:r,vScale:a}=n,i=this.getParsed(t),o=i._custom,l=Pf(o)?"["+o.start+", "+o.end+"]":""+a.getLabelForValue(i[a.axis]);return{label:""+r.getLabelForValue(i[r.axis]),value:l}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,r,a){const i=a==="reset",{index:o,_cachedMeta:{vScale:l}}=this,c=l.getBasePixel(),d=l.isHorizontal(),u=this._getRuler(),{sharedOptions:f,includeOptions:p}=this._getSharedOptions(n,a);for(let h=n;h<n+r;h++){const g=this.getParsed(h),b=i||ve(g[l.axis])?{base:c,head:c}:this._calculateBarValuePixels(h),v=this._calculateBarIndexPixels(h,u),m=(g._stacks||{})[l.axis],y={horizontal:d,base:b.base,enableBorderRadius:!m||Pf(g._custom)||o===m._top||o===m._bottom,x:d?b.head:v.center,y:d?v.center:b.head,height:d?v.size:Math.abs(b.size),width:d?Math.abs(b.size):v.size};p&&(y.options=f||this.resolveDataElementOptions(h,t[h].active?"active":a));const w=y.options||t[h].options;lO(y,w,m,o),dO(y,w,u.ratio),this.updateElement(t[h],h,y,a)}}_getStacks(t,n){const{iScale:r}=this._cachedMeta,a=r.getMatchingVisibleMetas(this._type).filter(c=>c.controller.options.grouped),i=r.options.stacked,o=[],l=c=>{const d=c.controller.getParsed(n),u=d&&d[c.vScale.axis];if(ve(u)||isNaN(u))return!0};for(const c of a)if(!(n!==void 0&&l(c))&&((i===!1||o.indexOf(c.stack)===-1||i===void 0&&c.stack===void 0)&&o.push(c.stack),c.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,r){const a=this._getStacks(t,r),i=n!==void 0?a.indexOf(n):-1;return i===-1?a.length-1:i}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,a=[];let i,o;for(i=0,o=n.data.length;i<o;++i)a.push(r.getPixelForValue(this.getParsed(i)[r.axis],i));const l=t.barThickness;return{min:l||nO(n),pixels:a,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:t.grouped,ratio:l?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:r,index:a},options:{base:i,minBarLength:o}}=this,l=i||0,c=this.getParsed(t),d=c._custom,u=Pf(d);let f=c[n.axis],p=0,h=r?this.applyStack(n,c,r):f,g,b;h!==f&&(p=h-f,h=f),u&&(f=d.barStart,h=d.barEnd-d.barStart,f!==0&&qn(f)!==qn(d.barEnd)&&(p=0),p+=f);const v=!ve(i)&&!u?i:p;let m=n.getPixelForValue(v);if(this.chart.getDataVisibility(t)?g=n.getPixelForValue(p+h):g=m,b=g-m,Math.abs(b)<o){b=oO(b,n,l)*o,f===l&&(m-=b/2);const y=n.getPixelForDecimal(0),w=n.getPixelForDecimal(1),_=Math.min(y,w),k=Math.max(y,w);m=Math.max(Math.min(m,k),_),g=m+b,r&&!u&&(c._stacks[n.axis]._visualValues[a]=n.getValueForPixel(g)-n.getValueForPixel(m))}if(m===n.getPixelForValue(l)){const y=qn(b)*n.getLineWidthForValue(l)/2;m+=y,b-=y}return{size:b,base:m,head:g,center:g+b/2}}_calculateBarIndexPixels(t,n){const r=n.scale,a=this.options,i=a.skipNull,o=ce(a.maxBarThickness,1/0);let l,c;if(n.grouped){const d=i?this._getStackCount(t):n.stackCount,u=a.barThickness==="flex"?aO(t,n,a,d):rO(t,n,a,d),f=this._getStackIndex(this.index,this._cachedMeta.stack,i?t:void 0);l=u.start+u.chunk*f+u.chunk/2,c=Math.min(o,u.chunk*u.ratio)}else l=r.getPixelForValue(this.getParsed(t)[r.axis],t),c=Math.min(o,n.min*n.ratio);return{base:l-c/2,head:l+c/2,center:l,size:c}}draw(){const t=this._cachedMeta,n=t.vScale,r=t.data,a=r.length;let i=0;for(;i<a;++i)this.getParsed(i)[n.axis]!==null&&r[i].draw(this._ctx)}}H(ec,"id","bar"),H(ec,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),H(ec,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class tc extends Mn{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,n,r,a){const i=super.parsePrimitiveData(t,n,r,a);for(let o=0;o<i.length;o++)i[o]._custom=this.resolveDataElementOptions(o+r).radius;return i}parseArrayData(t,n,r,a){const i=super.parseArrayData(t,n,r,a);for(let o=0;o<i.length;o++){const l=n[r+o];i[o]._custom=ce(l[2],this.resolveDataElementOptions(o+r).radius)}return i}parseObjectData(t,n,r,a){const i=super.parseObjectData(t,n,r,a);for(let o=0;o<i.length;o++){const l=n[r+o];i[o]._custom=ce(l&&l.r&&+l.r,this.resolveDataElementOptions(o+r).radius)}return i}getMaxOverflow(){const t=this._cachedMeta.data;let n=0;for(let r=t.length-1;r>=0;--r)n=Math.max(n,t[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart.data.labels||[],{xScale:a,yScale:i}=n,o=this.getParsed(t),l=a.getLabelForValue(o.x),c=i.getLabelForValue(o.y),d=o._custom;return{label:r[t]||"",value:"("+l+", "+c+(d?", "+d:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,r,a){const i=a==="reset",{iScale:o,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(n,a),u=o.axis,f=l.axis;for(let p=n;p<n+r;p++){const h=t[p],g=!i&&this.getParsed(p),b={},v=b[u]=i?o.getPixelForDecimal(.5):o.getPixelForValue(g[u]),m=b[f]=i?l.getBasePixel():l.getPixelForValue(g[f]);b.skip=isNaN(v)||isNaN(m),d&&(b.options=c||this.resolveDataElementOptions(p,h.active?"active":a),i&&(b.options.radius=0)),this.updateElement(h,p,b,a)}}resolveDataElementOptions(t,n){const r=this.getParsed(t);let a=super.resolveDataElementOptions(t,n);a.$shared&&(a=Object.assign({},a,{$shared:!1}));const i=a.radius;return n!=="active"&&(a.radius=0),a.radius+=ce(r&&r._custom,i),a}}H(tc,"id","bubble"),H(tc,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),H(tc,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});function uO(e,t,n){let r=1,a=1,i=0,o=0;if(t<We){const l=e,c=l+t,d=Math.cos(l),u=Math.sin(l),f=Math.cos(c),p=Math.sin(c),h=(w,_,k)=>Yo(w,l,c,!0)?1:Math.max(_,_*n,k,k*n),g=(w,_,k)=>Yo(w,l,c,!0)?-1:Math.min(_,_*n,k,k*n),b=h(0,d,f),v=h(Ue,u,p),m=g(Ae,d,f),y=g(Ae+Ue,u,p);r=(b-m)/2,a=(v-y)/2,i=-(b+m)/2,o=-(v+y)/2}return{ratioX:r,ratioY:a,offsetX:i,offsetY:o}}class Va extends Mn{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,a=this._cachedMeta;if(this._parsing===!1)a._parsed=r;else{let i=c=>+r[c];if(me(r[t])){const{key:c="value"}=this._parsing;i=d=>+qr(r[d],c)}let o,l;for(o=t,l=t+n;o<l;++o)a._parsed[o]=i(o)}}_getRotation(){return gt(this.options.rotation-90)}_getCircumference(){return gt(this.options.circumference)}_getRotationExtents(){let t=We,n=-We;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const a=this.chart.getDatasetMeta(r).controller,i=a._getRotation(),o=a._getCircumference();t=Math.min(t,i),n=Math.max(n,i+o)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:r}=n,a=this._cachedMeta,i=a.data,o=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,l=Math.max((Math.min(r.width,r.height)-o)/2,0),c=Math.min(EA(this.options.cutout,l),1),d=this._getRingWeight(this.index),{circumference:u,rotation:f}=this._getRotationExtents(),{ratioX:p,ratioY:h,offsetX:g,offsetY:b}=uO(f,u,c),v=(r.width-o)/p,m=(r.height-o)/h,y=Math.max(Math.min(v,m)/2,0),w=$0(this.options.radius,y),_=Math.max(w*c,0),k=(w-_)/this._getVisibleDatasetWeightTotal();this.offsetX=g*w,this.offsetY=b*w,a.total=this.calculateTotal(),this.outerRadius=w-k*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-k*d,0),this.updateElements(i,0,i.length,t)}_circumference(t,n){const r=this.options,a=this._cachedMeta,i=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(t)||a._parsed[t]===null||a.data[t].hidden?0:this.calculateCircumference(a._parsed[t]*i/We)}updateElements(t,n,r,a){const i=a==="reset",o=this.chart,l=o.chartArea,d=o.options.animation,u=(l.left+l.right)/2,f=(l.top+l.bottom)/2,p=i&&d.animateScale,h=p?0:this.innerRadius,g=p?0:this.outerRadius,{sharedOptions:b,includeOptions:v}=this._getSharedOptions(n,a);let m=this._getRotation(),y;for(y=0;y<n;++y)m+=this._circumference(y,i);for(y=n;y<n+r;++y){const w=this._circumference(y,i),_=t[y],k={x:u+this.offsetX,y:f+this.offsetY,startAngle:m,endAngle:m+w,circumference:w,outerRadius:g,innerRadius:h};v&&(k.options=b||this.resolveDataElementOptions(y,_.active?"active":a)),m+=w,this.updateElement(_,y,k,a)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let r=0,a;for(a=0;a<n.length;a++){const i=t._parsed[a];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(a)&&!n[a].hidden&&(r+=Math.abs(i))}return r}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?We*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,a=r.data.labels||[],i=Go(n._parsed[t],r.options.locale);return{label:a[t]||"",value:i}}getMaxBorderWidth(t){let n=0;const r=this.chart;let a,i,o,l,c;if(!t){for(a=0,i=r.data.datasets.length;a<i;++a)if(r.isDatasetVisible(a)){o=r.getDatasetMeta(a),t=o.data,l=o.controller;break}}if(!t)return 0;for(a=0,i=t.length;a<i;++a)c=l.resolveDataElementOptions(a),c.borderAlign!=="inner"&&(n=Math.max(n,c.borderWidth||0,c.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let r=0,a=t.length;r<a;++r){const i=this.resolveDataElementOptions(r);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let r=0;r<t;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n}_getRingWeight(t){return Math.max(ce(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}H(Va,"id","doughnut"),H(Va,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),H(Va,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),H(Va,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:a}}=t.legend.options;return n.labels.map((i,o)=>{const c=t.getDatasetMeta(0).controller.getStyle(o);return{text:i,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:a,lineWidth:c.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(o),index:o}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}});class nc extends Mn{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:r,data:a=[],_dataset:i}=n,o=this.chart._animationsDisabled;let{start:l,count:c}=Z0(n,a,o);this._drawStart=l,this._drawCount=c,Q0(n)&&(l=0,c=a.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!i._decimated,r.points=a;const d=this.resolveDatasetElementOptions(t);this.options.showLine||(d.borderWidth=0),d.segment=this.options.segment,this.updateElement(r,void 0,{animated:!o,options:d},t),this.updateElements(a,l,c,t)}updateElements(t,n,r,a){const i=a==="reset",{iScale:o,vScale:l,_stacked:c,_dataset:d}=this._cachedMeta,{sharedOptions:u,includeOptions:f}=this._getSharedOptions(n,a),p=o.axis,h=l.axis,{spanGaps:g,segment:b}=this.options,v=Xr(g)?g:Number.POSITIVE_INFINITY,m=this.chart._animationsDisabled||i||a==="none",y=n+r,w=t.length;let _=n>0&&this.getParsed(n-1);for(let k=0;k<w;++k){const x=t[k],C=m?x:{};if(k<n||k>=y){C.skip=!0;continue}const E=this.getParsed(k),T=ve(E[h]),B=C[p]=o.getPixelForValue(E[p],k),D=C[h]=i||T?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,E,c):E[h],k);C.skip=isNaN(B)||isNaN(D)||T,C.stop=k>0&&Math.abs(E[p]-_[p])>v,b&&(C.parsed=E,C.raw=d.data[k]),f&&(C.options=u||this.resolveDataElementOptions(k,x.active?"active":a)),m||this.updateElement(x,k,C,a),_=E}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,a=t.data||[];if(!a.length)return r;const i=a[0].size(this.resolveDataElementOptions(0)),o=a[a.length-1].size(this.resolveDataElementOptions(a.length-1));return Math.max(r,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}H(nc,"id","line"),H(nc,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),H(nc,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class Qo extends Mn{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,a=r.data.labels||[],i=Go(n._parsed[t].r,r.options.locale);return{label:a[t]||"",value:i}}parseObjectData(t,n,r,a){return h2.bind(this)(t,n,r,a)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((r,a)=>{const i=this.getParsed(a).r;!isNaN(i)&&this.chart.getDataVisibility(a)&&(i<n.min&&(n.min=i),i>n.max&&(n.max=i))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,r=t.options,a=Math.min(n.right-n.left,n.bottom-n.top),i=Math.max(a/2,0),o=Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0),l=(i-o)/t.getVisibleDatasetCount();this.outerRadius=i-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(t,n,r,a){const i=a==="reset",o=this.chart,c=o.options.animation,d=this._cachedMeta.rScale,u=d.xCenter,f=d.yCenter,p=d.getIndexAngle(0)-.5*Ae;let h=p,g;const b=360/this.countVisibleElements();for(g=0;g<n;++g)h+=this._computeAngle(g,a,b);for(g=n;g<n+r;g++){const v=t[g];let m=h,y=h+this._computeAngle(g,a,b),w=o.getDataVisibility(g)?d.getDistanceFromCenterForValue(this.getParsed(g).r):0;h=y,i&&(c.animateScale&&(w=0),c.animateRotate&&(m=y=p));const _={x:u,y:f,innerRadius:0,outerRadius:w,startAngle:m,endAngle:y,options:this.resolveDataElementOptions(g,v.active?"active":a)};this.updateElement(v,g,_,a)}}countVisibleElements(){const t=this._cachedMeta;let n=0;return t.data.forEach((r,a)=>{!isNaN(this.getParsed(a).r)&&this.chart.getDataVisibility(a)&&n++}),n}_computeAngle(t,n,r){return this.chart.getDataVisibility(t)?gt(this.resolveDataElementOptions(t,n).angle||r):0}}H(Qo,"id","polarArea"),H(Qo,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),H(Qo,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:a}}=t.legend.options;return n.labels.map((i,o)=>{const c=t.getDatasetMeta(0).controller.getStyle(o);return{text:i,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:a,lineWidth:c.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(o),index:o}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class If extends Va{}H(If,"id","pie"),H(If,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class rc extends Mn{getLabelAndValue(t){const n=this._cachedMeta.vScale,r=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(r[n.axis])}}parseObjectData(t,n,r,a){return h2.bind(this)(t,n,r,a)}update(t){const n=this._cachedMeta,r=n.dataset,a=n.data||[],i=n.iScale.getLabels();if(r.points=a,t!=="resize"){const o=this.resolveDatasetElementOptions(t);this.options.showLine||(o.borderWidth=0);const l={_loop:!0,_fullLoop:i.length===a.length,options:o};this.updateElement(r,void 0,l,t)}this.updateElements(a,0,a.length,t)}updateElements(t,n,r,a){const i=this._cachedMeta.rScale,o=a==="reset";for(let l=n;l<n+r;l++){const c=t[l],d=this.resolveDataElementOptions(l,c.active?"active":a),u=i.getPointPositionForValue(l,this.getParsed(l).r),f=o?i.xCenter:u.x,p=o?i.yCenter:u.y,h={x:f,y:p,angle:u.angle,skip:isNaN(f)||isNaN(p),options:d};this.updateElement(c,l,h,a)}}}H(rc,"id","radar"),H(rc,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),H(rc,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}});class ac extends Mn{getLabelAndValue(t){const n=this._cachedMeta,r=this.chart.data.labels||[],{xScale:a,yScale:i}=n,o=this.getParsed(t),l=a.getLabelForValue(o.x),c=i.getLabelForValue(o.y);return{label:r[t]||"",value:"("+l+", "+c+")"}}update(t){const n=this._cachedMeta,{data:r=[]}=n,a=this.chart._animationsDisabled;let{start:i,count:o}=Z0(n,r,a);if(this._drawStart=i,this._drawCount=o,Q0(n)&&(i=0,o=r.length),this.options.showLine){const{dataset:l,_dataset:c}=n;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=r;const d=this.resolveDatasetElementOptions(t);d.segment=this.options.segment,this.updateElement(l,void 0,{animated:!a,options:d},t)}this.updateElements(r,i,o,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,n,r,a){const i=a==="reset",{iScale:o,vScale:l,_stacked:c,_dataset:d}=this._cachedMeta,u=this.resolveDataElementOptions(n,a),f=this.getSharedOptions(u),p=this.includeOptions(a,f),h=o.axis,g=l.axis,{spanGaps:b,segment:v}=this.options,m=Xr(b)?b:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||i||a==="none";let w=n>0&&this.getParsed(n-1);for(let _=n;_<n+r;++_){const k=t[_],x=this.getParsed(_),C=y?k:{},E=ve(x[g]),T=C[h]=o.getPixelForValue(x[h],_),B=C[g]=i||E?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,x,c):x[g],_);C.skip=isNaN(T)||isNaN(B)||E,C.stop=_>0&&Math.abs(x[h]-w[h])>m,v&&(C.parsed=x,C.raw=d.data[_]),p&&(C.options=f||this.resolveDataElementOptions(_,k.active?"active":a)),y||this.updateElement(k,_,C,a),w=x}this.updateSharedOptions(f,a,u)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let l=0;for(let c=n.length-1;c>=0;--c)l=Math.max(l,n[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}const r=t.dataset,a=r.options&&r.options.borderWidth||0;if(!n.length)return a;const i=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(a,i,o)/2}}H(ac,"id","scatter"),H(ac,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),H(ac,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});var fO=Object.freeze({__proto__:null,BarController:ec,BubbleController:tc,DoughnutController:Va,LineController:nc,PieController:If,PolarAreaController:Qo,RadarController:rc,ScatterController:ac});function $a(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Lf{constructor(t){H(this,"options");this.options=t||{}}static override(t){Object.assign(Lf.prototype,t)}init(){}formats(){return $a()}parse(){return $a()}format(){return $a()}add(){return $a()}diff(){return $a()}startOf(){return $a()}endOf(){return $a()}}var $2={_date:Lf};function pO(e,t,n,r){const{controller:a,data:i,_sorted:o}=e,l=a._cachedMeta.iScale;if(l&&t===l.axis&&t!=="r"&&o&&i.length){const c=l._reversePixels?RA:hr;if(r){if(a._sharedOptions){const d=i[0],u=typeof d.getRange=="function"&&d.getRange(t);if(u){const f=c(i,t,n-u),p=c(i,t,n+u);return{lo:f.lo,hi:p.hi}}}}else return c(i,t,n)}return{lo:0,hi:i.length-1}}function es(e,t,n,r,a){const i=e.getSortedVisibleDatasetMetas(),o=n[t];for(let l=0,c=i.length;l<c;++l){const{index:d,data:u}=i[l],{lo:f,hi:p}=pO(i[l],t,o,a);for(let h=f;h<=p;++h){const g=u[h];g.skip||r(g,d,h)}}}function hO(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(r,a){const i=t?Math.abs(r.x-a.x):0,o=n?Math.abs(r.y-a.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}function Bf(e,t,n,r,a){const i=[];return!a&&!e.isPointInArea(t)||es(e,n,t,function(l,c,d){!a&&!mr(l,e.chartArea,0)||l.inRange(t.x,t.y,r)&&i.push({element:l,datasetIndex:c,index:d})},!0),i}function mO(e,t,n,r){let a=[];function i(o,l,c){const{startAngle:d,endAngle:u}=o.getProps(["startAngle","endAngle"],r),{angle:f}=Y0(o,{x:t.x,y:t.y});Yo(f,d,u)&&a.push({element:o,datasetIndex:l,index:c})}return es(e,n,t,i),a}function gO(e,t,n,r,a,i){let o=[];const l=hO(n);let c=Number.POSITIVE_INFINITY;function d(u,f,p){const h=u.inRange(t.x,t.y,a);if(r&&!h)return;const g=u.getCenterPoint(a);if(!(!!i||e.isPointInArea(g))&&!h)return;const v=l(t,g);v<c?(o=[{element:u,datasetIndex:f,index:p}],c=v):v===c&&o.push({element:u,datasetIndex:f,index:p})}return es(e,n,t,d),o}function Rf(e,t,n,r,a,i){return!i&&!e.isPointInArea(t)?[]:n==="r"&&!r?mO(e,t,n,a):gO(e,t,n,r,a,i)}function F2(e,t,n,r,a){const i=[],o=n==="x"?"inXRange":"inYRange";let l=!1;return es(e,n,t,(c,d,u)=>{c[o](t[n],a)&&(i.push({element:c,datasetIndex:d,index:u}),l=l||c.inRange(t.x,t.y,a))}),r&&!l?[]:i}var bO={evaluateInteractionItems:es,modes:{index(e,t,n,r){const a=Ba(t,e),i=n.axis||"x",o=n.includeInvisible||!1,l=n.intersect?Bf(e,a,i,r,o):Rf(e,a,i,!1,r,o),c=[];return l.length?(e.getSortedVisibleDatasetMetas().forEach(d=>{const u=l[0].index,f=d.data[u];f&&!f.skip&&c.push({element:f,datasetIndex:d.index,index:u})}),c):[]},dataset(e,t,n,r){const a=Ba(t,e),i=n.axis||"xy",o=n.includeInvisible||!1;let l=n.intersect?Bf(e,a,i,r,o):Rf(e,a,i,!1,r,o);if(l.length>0){const c=l[0].datasetIndex,d=e.getDatasetMeta(c).data;l=[];for(let u=0;u<d.length;++u)l.push({element:d[u],datasetIndex:c,index:u})}return l},point(e,t,n,r){const a=Ba(t,e),i=n.axis||"xy",o=n.includeInvisible||!1;return Bf(e,a,i,r,o)},nearest(e,t,n,r){const a=Ba(t,e),i=n.axis||"xy",o=n.includeInvisible||!1;return Rf(e,a,i,n.intersect,r,o)},x(e,t,n,r){const a=Ba(t,e);return F2(e,a,"x",n.intersect,r)},y(e,t,n,r){const a=Ba(t,e);return F2(e,a,"y",n.intersect,r)}}};const z2=["left","top","right","bottom"];function ts(e,t){return e.filter(n=>n.pos===t)}function j2(e,t){return e.filter(n=>z2.indexOf(n.pos)===-1&&n.box.axis===t)}function ns(e,t){return e.sort((n,r)=>{const a=t?r:n,i=t?n:r;return a.weight===i.weight?a.index-i.index:a.weight-i.weight})}function yO(e){const t=[];let n,r,a,i,o,l;for(n=0,r=(e||[]).length;n<r;++n)a=e[n],{position:i,options:{stack:o,stackWeight:l=1}}=a,t.push({index:n,box:a,pos:i,horizontal:a.isHorizontal(),weight:a.weight,stack:o&&i+o,stackWeight:l});return t}function _O(e){const t={};for(const n of e){const{stack:r,pos:a,stackWeight:i}=n;if(!r||!z2.includes(a))continue;const o=t[r]||(t[r]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return t}function vO(e,t){const n=_O(e),{vBoxMaxWidth:r,hBoxMaxHeight:a}=t;let i,o,l;for(i=0,o=e.length;i<o;++i){l=e[i];const{fullSize:c}=l.box,d=n[l.stack],u=d&&l.stackWeight/d.weight;l.horizontal?(l.width=u?u*r:c&&t.availableWidth,l.height=a):(l.width=r,l.height=u?u*a:c&&t.availableHeight)}return n}function wO(e){const t=yO(e),n=ns(t.filter(d=>d.box.fullSize),!0),r=ns(ts(t,"left"),!0),a=ns(ts(t,"right")),i=ns(ts(t,"top"),!0),o=ns(ts(t,"bottom")),l=j2(t,"x"),c=j2(t,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:a.concat(c).concat(o).concat(l),chartArea:ts(t,"chartArea"),vertical:r.concat(a).concat(c),horizontal:i.concat(o).concat(l)}}function H2(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function W2(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function kO(e,t,n,r){const{pos:a,box:i}=n,o=e.maxPadding;if(!me(a)){n.size&&(e[a]-=n.size);const f=r[n.stack]||{size:0,count:1};f.size=Math.max(f.size,n.horizontal?i.height:i.width),n.size=f.size/f.count,e[a]+=n.size}i.getPadding&&W2(o,i.getPadding());const l=Math.max(0,t.outerWidth-H2(o,e,"left","right")),c=Math.max(0,t.outerHeight-H2(o,e,"top","bottom")),d=l!==e.w,u=c!==e.h;return e.w=l,e.h=c,n.horizontal?{same:d,other:u}:{same:u,other:d}}function xO(e){const t=e.maxPadding;function n(r){const a=Math.max(t[r]-e[r],0);return e[r]+=a,a}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function SO(e,t){const n=t.maxPadding;function r(a){const i={left:0,top:0,right:0,bottom:0};return a.forEach(o=>{i[o]=Math.max(t[o],n[o])}),i}return r(e?["left","right"]:["top","bottom"])}function rs(e,t,n,r){const a=[];let i,o,l,c,d,u;for(i=0,o=e.length,d=0;i<o;++i){l=e[i],c=l.box,c.update(l.width||t.w,l.height||t.h,SO(l.horizontal,t));const{same:f,other:p}=kO(t,n,l,r);d|=f&&a.length,u=u||p,c.fullSize||a.push(l)}return d&&rs(a,t,n,r)||u}function ic(e,t,n,r,a){e.top=n,e.left=t,e.right=t+r,e.bottom=n+a,e.width=r,e.height=a}function U2(e,t,n,r){const a=n.padding;let{x:i,y:o}=t;for(const l of e){const c=l.box,d=r[l.stack]||{count:1,placed:0,weight:1},u=l.stackWeight/d.weight||1;if(l.horizontal){const f=t.w*u,p=d.size||c.height;Yt(d.start)&&(o=d.start),c.fullSize?ic(c,a.left,o,n.outerWidth-a.right-a.left,p):ic(c,t.left+d.placed,o,f,p),d.start=o,d.placed+=f,o=c.bottom}else{const f=t.h*u,p=d.size||c.width;Yt(d.start)&&(i=d.start),c.fullSize?ic(c,i,a.top,p,n.outerHeight-a.bottom-a.top):ic(c,i,t.top+d.placed,p,f),d.start=i,d.placed+=f,i=c.right}}t.x=i,t.y=o}var Nt={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;const a=ut(e.options.layout.padding),i=Math.max(t-a.width,0),o=Math.max(n-a.height,0),l=wO(e.boxes),c=l.vertical,d=l.horizontal;Be(e.boxes,b=>{typeof b.beforeLayout=="function"&&b.beforeLayout()});const u=c.reduce((b,v)=>v.box.options&&v.box.options.display===!1?b:b+1,0)||1,f=Object.freeze({outerWidth:t,outerHeight:n,padding:a,availableWidth:i,availableHeight:o,vBoxMaxWidth:i/2/u,hBoxMaxHeight:o/2}),p=Object.assign({},a);W2(p,ut(r));const h=Object.assign({maxPadding:p,w:i,h:o,x:a.left,y:a.top},a),g=vO(c.concat(d),f);rs(l.fullSize,h,f,g),rs(c,h,f,g),rs(d,h,f,g)&&rs(c,h,f,g),xO(h),U2(l.leftAndTop,h,f,g),h.x+=h.w,h.y+=h.h,U2(l.rightAndBottom,h,f,g),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},Be(l.chartArea,b=>{const v=b.box;Object.assign(v,e.chartArea),v.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})})}};class Y2{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,a){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,a?Math.floor(n/a):r)}}isAttached(t){return!0}updateConfig(t){}}class CO extends Y2{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const oc="$chartjs",EO={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},q2=e=>e===null||e==="";function AO(e,t){const n=e.style,r=e.getAttribute("height"),a=e.getAttribute("width");if(e[oc]={initial:{height:r,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",q2(a)){const i=y2(e,"width");i!==void 0&&(e.width=i)}if(q2(r))if(e.style.height==="")e.height=e.width/(t||2);else{const i=y2(e,"height");i!==void 0&&(e.height=i)}return e}const G2=MT?{passive:!0}:!1;function TO(e,t,n){e.addEventListener(t,n,G2)}function OO(e,t,n){e.canvas.removeEventListener(t,n,G2)}function MO(e,t){const n=EO[e.type]||e.type,{x:r,y:a}=Ba(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:a!==void 0?a:null}}function sc(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function NO(e,t,n){const r=e.canvas,a=new MutationObserver(i=>{let o=!1;for(const l of i)o=o||sc(l.addedNodes,r),o=o&&!sc(l.removedNodes,r);o&&n()});return a.observe(document,{childList:!0,subtree:!0}),a}function DO(e,t,n){const r=e.canvas,a=new MutationObserver(i=>{let o=!1;for(const l of i)o=o||sc(l.removedNodes,r),o=o&&!sc(l.addedNodes,r);o&&n()});return a.observe(document,{childList:!0,subtree:!0}),a}const as=new Map;let X2=0;function K2(){const e=window.devicePixelRatio;e!==X2&&(X2=e,as.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function PO(e,t){as.size||window.addEventListener("resize",K2),as.set(e,t)}function IO(e){as.delete(e),as.size||window.removeEventListener("resize",K2)}function LO(e,t,n){const r=e.canvas,a=r&&Of(r);if(!a)return;const i=J0((l,c)=>{const d=a.clientWidth;n(l,c),d<a.clientWidth&&n()},window),o=new ResizeObserver(l=>{const c=l[0],d=c.contentRect.width,u=c.contentRect.height;d===0&&u===0||i(d,u)});return o.observe(a),PO(e,i),o}function Vf(e,t,n){n&&n.disconnect(),t==="resize"&&IO(e)}function BO(e,t,n){const r=e.canvas,a=J0(i=>{e.ctx!==null&&n(MO(i,e))},e);return TO(r,t,a),a}class RO extends Y2{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(AO(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[oc])return!1;const r=n[oc].initial;["height","width"].forEach(i=>{const o=r[i];ve(o)?n.removeAttribute(i):n.setAttribute(i,o)});const a=r.style||{};return Object.keys(a).forEach(i=>{n.style[i]=a[i]}),n.width=n.width,delete n[oc],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const a=t.$proxies||(t.$proxies={}),o={attach:NO,detach:DO,resize:LO}[n]||BO;a[n]=o(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),a=r[n];if(!a)return;({attach:Vf,detach:Vf,resize:Vf}[n]||OO)(t,n,a),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,a){return OT(t,n,r,a)}isAttached(t){const n=Of(t);return!!(n&&n.isConnected)}}function VO(e){return!g2()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?CO:RO}let Vt=(hd=class{constructor(){H(this,"x");H(this,"y");H(this,"active",!1);H(this,"options");H(this,"$animations")}tooltipPosition(t){const{x:n,y:r}=this.getProps(["x","y"],t);return{x:n,y:r}}hasValue(){return Xr(this.x)&&Xr(this.y)}getProps(t,n){const r=this.$animations;if(!n||!r)return this;const a={};return t.forEach(i=>{a[i]=r[i]&&r[i].active()?r[i]._to:this[i]}),a}},H(hd,"defaults",{}),H(hd,"defaultRoutes"),hd);function $O(e,t){const n=e.options.ticks,r=FO(e),a=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?jO(t):[],o=i.length,l=i[0],c=i[o-1],d=[];if(o>a)return HO(t,d,i,o/a),d;const u=zO(i,t,a);if(o>0){let f,p;const h=o>1?Math.round((c-l)/(o-1)):null;for(lc(t,d,u,ve(h)?0:l-h,l),f=0,p=o-1;f<p;f++)lc(t,d,u,i[f],i[f+1]);return lc(t,d,u,c,ve(h)?t.length:c+h),d}return lc(t,d,u),d}function FO(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),a=e._maxLength/n;return Math.floor(Math.min(r,a))}function zO(e,t,n){const r=WO(e),a=t.length/n;if(!r)return Math.max(a,1);const i=PA(r);for(let o=0,l=i.length-1;o<l;o++){const c=i[o];if(c>a)return c}return Math.max(a,1)}function jO(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}function HO(e,t,n,r){let a=0,i=n[0],o;for(r=Math.ceil(r),o=0;o<e.length;o++)o===i&&(t.push(e[o]),a++,i=n[a*r])}function lc(e,t,n,r,a){const i=ce(r,0),o=Math.min(ce(a,e.length),e.length);let l=0,c,d,u;for(n=Math.ceil(n),a&&(c=a-r,n=c/Math.floor(c/n)),u=i;u<0;)l++,u=Math.round(i+l*n);for(d=Math.max(i,0);d<o;d++)d===u&&(t.push(e[d]),l++,u=Math.round(i+l*n))}function WO(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}const UO=e=>e==="left"?"right":e==="right"?"left":e,J2=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,Z2=(e,t)=>Math.min(t||e,e);function Q2(e,t){const n=[],r=e.length/t,a=e.length;let i=0;for(;i<a;i+=r)n.push(e[Math.floor(i)]);return n}function YO(e,t,n){const r=e.ticks.length,a=Math.min(t,r-1),i=e._startPixel,o=e._endPixel,l=1e-6;let c=e.getPixelForTick(a),d;if(!(n&&(r===1?d=Math.max(c-i,o-c):t===0?d=(e.getPixelForTick(1)-c)/2:d=(c-e.getPixelForTick(a-1))/2,c+=a<t?d:-d,c<i-l||c>o+l)))return c}function qO(e,t){Be(e,n=>{const r=n.gc,a=r.length/2;let i;if(a>t){for(i=0;i<a;++i)delete n.data[r[i]];r.splice(0,a)}})}function is(e){return e.drawTicks?e.tickLength:0}function eb(e,t){if(!e.display)return 0;const n=it(e.font,t),r=ut(e.padding);return(Ne(e.text)?e.text.length:1)*n.lineHeight+r.height}function GO(e,t){return Jr(e,{scale:t,type:"scale"})}function XO(e,t,n){return Jr(e,{tick:n,index:t,type:"tick"})}function KO(e,t,n){let r=_f(e);return(n&&t!=="right"||!n&&t==="right")&&(r=UO(r)),r}function JO(e,t,n,r){const{top:a,left:i,bottom:o,right:l,chart:c}=e,{chartArea:d,scales:u}=c;let f=0,p,h,g;const b=o-a,v=l-i;if(e.isHorizontal()){if(h=Mt(r,i,l),me(n)){const m=Object.keys(n)[0],y=n[m];g=u[m].getPixelForValue(y)+b-t}else n==="center"?g=(d.bottom+d.top)/2+b-t:g=J2(e,n,t);p=l-i}else{if(me(n)){const m=Object.keys(n)[0],y=n[m];h=u[m].getPixelForValue(y)-v+t}else n==="center"?h=(d.left+d.right)/2-v+t:h=J2(e,n,t);g=Mt(r,o,a),f=n==="left"?-Ue:Ue}return{titleX:h,titleY:g,maxWidth:p,rotation:f}}class Fa extends Vt{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:r,_suggestedMax:a}=this;return t=cn(t,Number.POSITIVE_INFINITY),n=cn(n,Number.NEGATIVE_INFINITY),r=cn(r,Number.POSITIVE_INFINITY),a=cn(a,Number.NEGATIVE_INFINITY),{min:cn(t,r),max:cn(n,a),minDefined:rt(t),maxDefined:rt(n)}}getMinMax(t){let{min:n,max:r,minDefined:a,maxDefined:i}=this.getUserBounds(),o;if(a&&i)return{min:n,max:r};const l=this.getMatchingVisibleMetas();for(let c=0,d=l.length;c<d;++c)o=l[c].controller.getMinMax(this,t),a||(n=Math.min(n,o.min)),i||(r=Math.max(r,o.max));return n=i&&n>r?r:n,r=a&&n>r?n:r,{min:cn(n,cn(r,n)),max:cn(r,cn(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ie(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:a,grace:i,ticks:o}=this.options,l=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=sT(this,i,a),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const c=l<this.ticks.length;this._convertTicksToLabels(c?Q2(this.ticks,l):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||o.source==="auto")&&(this.ticks=$O(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),c&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,t=!t),this._startPixel=n,this._endPixel=r,this._reversePixels=t,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Ie(this.options.afterUpdate,[this])}beforeSetDimensions(){Ie(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Ie(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),Ie(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Ie(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let r,a,i;for(r=0,a=t.length;r<a;r++)i=t[r],i.label=Ie(n.callback,[i.value,r,t],this)}afterTickToLabelConversion(){Ie(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Ie(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,r=Z2(this.ticks.length,t.ticks.maxTicksLimit),a=n.minRotation||0,i=n.maxRotation;let o=a,l,c,d;if(!this._isVisible()||!n.display||a>=i||r<=1||!this.isHorizontal()){this.labelRotation=a;return}const u=this._getLabelSizes(),f=u.widest.width,p=u.highest.height,h=Et(this.chart.width-f,0,this.maxWidth);l=t.offset?this.maxWidth/r:h/(r-1),f+6>l&&(l=h/(r-(t.offset?.5:1)),c=this.maxHeight-is(t.grid)-n.padding-eb(t.title,this.chart.options.font),d=Math.sqrt(f*f+p*p),o=Yl(Math.min(Math.asin(Et((u.highest.height+6)/l,-1,1)),Math.asin(Et(c/d,-1,1))-Math.asin(Et(p/d,-1,1)))),o=Math.max(a,Math.min(i,o))),this.labelRotation=o}afterCalculateLabelRotation(){Ie(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ie(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:a,grid:i}}=this,o=this._isVisible(),l=this.isHorizontal();if(o){const c=eb(a,n.options.font);if(l?(t.width=this.maxWidth,t.height=is(i)+c):(t.height=this.maxHeight,t.width=is(i)+c),r.display&&this.ticks.length){const{first:d,last:u,widest:f,highest:p}=this._getLabelSizes(),h=r.padding*2,g=gt(this.labelRotation),b=Math.cos(g),v=Math.sin(g);if(l){const m=r.mirror?0:v*f.width+b*p.height;t.height=Math.min(this.maxHeight,t.height+m+h)}else{const m=r.mirror?0:b*f.width+v*p.height;t.width=Math.min(this.maxWidth,t.width+m+h)}this._calculatePadding(d,u,v,b)}}this._handleMargins(),l?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,a){const{ticks:{align:i,padding:o},position:l}=this.options,c=this.labelRotation!==0,d=l!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1);let p=0,h=0;c?d?(p=a*t.width,h=r*n.height):(p=r*t.height,h=a*n.width):i==="start"?h=n.width:i==="end"?p=t.width:i!=="inner"&&(p=t.width/2,h=n.width/2),this.paddingLeft=Math.max((p-u+o)*this.width/(this.width-u),0),this.paddingRight=Math.max((h-f+o)*this.width/(this.width-f),0)}else{let u=n.height/2,f=t.height/2;i==="start"?(u=0,f=t.height):i==="end"&&(u=n.height,f=0),this.paddingTop=u+o,this.paddingBottom=f+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ie(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n<r;n++)ve(t[n].label)&&(t.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=Q2(r,n)),this._labelSizes=t=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,r){const{ctx:a,_longestTextCache:i}=this,o=[],l=[],c=Math.floor(n/Z2(n,r));let d=0,u=0,f,p,h,g,b,v,m,y,w,_,k;for(f=0;f<n;f+=c){if(g=t[f].label,b=this._resolveTickFontOptions(f),a.font=v=b.string,m=i[v]=i[v]||{data:{},gc:[]},y=b.lineHeight,w=_=0,!ve(g)&&!Ne(g))w=Xl(a,m.data,m.gc,w,g),_=y;else if(Ne(g))for(p=0,h=g.length;p<h;++p)k=g[p],!ve(k)&&!Ne(k)&&(w=Xl(a,m.data,m.gc,w,k),_+=y);o.push(w),l.push(_),d=Math.max(w,d),u=Math.max(_,u)}qO(i,n);const x=o.indexOf(d),C=l.indexOf(u),E=T=>({width:o[T]||0,height:l[T]||0});return{first:E(0),last:E(n-1),widest:E(x),highest:E(C),widths:o,heights:l}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return BA(this._alignToPixels?Pa(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const r=n[t];return r.$context||(r.$context=XO(this.getContext(),t,r))}return this.$context||(this.$context=GO(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=gt(this.labelRotation),r=Math.abs(Math.cos(n)),a=Math.abs(Math.sin(n)),i=this._getLabelSizes(),o=t.autoSkipPadding||0,l=i?i.widest.width+o:0,c=i?i.highest.height+o:0;return this.isHorizontal()?c*r>l*a?l/r:c/a:c*a<l*r?c/r:l/a}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,r=this.chart,a=this.options,{grid:i,position:o,border:l}=a,c=i.offset,d=this.isHorizontal(),f=this.ticks.length+(c?1:0),p=is(i),h=[],g=l.setContext(this.getContext()),b=g.display?g.width:0,v=b/2,m=function(Q){return Pa(r,Q,b)};let y,w,_,k,x,C,E,T,B,D,M,R;if(o==="top")y=m(this.bottom),C=this.bottom-p,T=y-v,D=m(t.top)+v,R=t.bottom;else if(o==="bottom")y=m(this.top),D=t.top,R=m(t.bottom)-v,C=y+v,T=this.top+p;else if(o==="left")y=m(this.right),x=this.right-p,E=y-v,B=m(t.left)+v,M=t.right;else if(o==="right")y=m(this.left),B=t.left,M=m(t.right)-v,x=y+v,E=this.left+p;else if(n==="x"){if(o==="center")y=m((t.top+t.bottom)/2+.5);else if(me(o)){const Q=Object.keys(o)[0],K=o[Q];y=m(this.chart.scales[Q].getPixelForValue(K))}D=t.top,R=t.bottom,C=y+v,T=C+p}else if(n==="y"){if(o==="center")y=m((t.left+t.right)/2);else if(me(o)){const Q=Object.keys(o)[0],K=o[Q];y=m(this.chart.scales[Q].getPixelForValue(K))}x=y-v,E=x-p,B=t.left,M=t.right}const re=ce(a.ticks.maxTicksLimit,f),J=Math.max(1,Math.ceil(f/re));for(w=0;w<f;w+=J){const Q=this.getContext(w),K=i.setContext(Q),de=l.setContext(Q),q=K.lineWidth,se=K.color,pe=de.dash||[],Oe=de.dashOffset,He=K.tickWidth,ye=K.tickColor,oe=K.tickBorderDash||[],$=K.tickBorderDashOffset;_=YO(this,w,c),_!==void 0&&(k=Pa(r,_,q),d?x=E=B=M=k:C=T=D=R=k,h.push({tx1:x,ty1:C,tx2:E,ty2:T,x1:B,y1:D,x2:M,y2:R,width:q,color:se,borderDash:pe,borderDashOffset:Oe,tickWidth:He,tickColor:ye,tickBorderDash:oe,tickBorderDashOffset:$}))}return this._ticksLength=f,this._borderValue=y,h}_computeLabelItems(t){const n=this.axis,r=this.options,{position:a,ticks:i}=r,o=this.isHorizontal(),l=this.ticks,{align:c,crossAlign:d,padding:u,mirror:f}=i,p=is(r.grid),h=p+u,g=f?-u:h,b=-gt(this.labelRotation),v=[];let m,y,w,_,k,x,C,E,T,B,D,M,R="middle";if(a==="top")x=this.bottom-g,C=this._getXAxisLabelAlignment();else if(a==="bottom")x=this.top+g,C=this._getXAxisLabelAlignment();else if(a==="left"){const J=this._getYAxisLabelAlignment(p);C=J.textAlign,k=J.x}else if(a==="right"){const J=this._getYAxisLabelAlignment(p);C=J.textAlign,k=J.x}else if(n==="x"){if(a==="center")x=(t.top+t.bottom)/2+h;else if(me(a)){const J=Object.keys(a)[0],Q=a[J];x=this.chart.scales[J].getPixelForValue(Q)+h}C=this._getXAxisLabelAlignment()}else if(n==="y"){if(a==="center")k=(t.left+t.right)/2-h;else if(me(a)){const J=Object.keys(a)[0],Q=a[J];k=this.chart.scales[J].getPixelForValue(Q)}C=this._getYAxisLabelAlignment(p).textAlign}n==="y"&&(c==="start"?R="top":c==="end"&&(R="bottom"));const re=this._getLabelSizes();for(m=0,y=l.length;m<y;++m){w=l[m],_=w.label;const J=i.setContext(this.getContext(m));E=this.getPixelForTick(m)+i.labelOffset,T=this._resolveTickFontOptions(m),B=T.lineHeight,D=Ne(_)?_.length:1;const Q=D/2,K=J.color,de=J.textStrokeColor,q=J.textStrokeWidth;let se=C;o?(k=E,C==="inner"&&(m===y-1?se=this.options.reverse?"left":"right":m===0?se=this.options.reverse?"right":"left":se="center"),a==="top"?d==="near"||b!==0?M=-D*B+B/2:d==="center"?M=-re.highest.height/2-Q*B+B:M=-re.highest.height+B/2:d==="near"||b!==0?M=B/2:d==="center"?M=re.highest.height/2-Q*B:M=re.highest.height-D*B,f&&(M*=-1),b!==0&&!J.showLabelBackdrop&&(k+=B/2*Math.sin(b))):(x=E,M=(1-D)*B/2);let pe;if(J.showLabelBackdrop){const Oe=ut(J.backdropPadding),He=re.heights[m],ye=re.widths[m];let oe=M-Oe.top,$=0-Oe.left;switch(R){case"middle":oe-=He/2;break;case"bottom":oe-=He;break}switch(C){case"center":$-=ye/2;break;case"right":$-=ye;break}pe={left:$,top:oe,width:ye+Oe.width,height:He+Oe.height,color:J.backdropColor}}v.push({label:_,font:T,textOffset:M,options:{rotation:b,color:K,strokeColor:de,strokeWidth:q,textAlign:se,textBaseline:R,translation:[k,x],backdrop:pe}})}return v}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-gt(this.labelRotation))return t==="top"?"left":"right";let a="center";return n.align==="start"?a="left":n.align==="end"?a="right":n.align==="inner"&&(a="inner"),a}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:r,mirror:a,padding:i}}=this.options,o=this._getLabelSizes(),l=t+i,c=o.widest.width;let d,u;return n==="left"?a?(u=this.right+i,r==="near"?d="left":r==="center"?(d="center",u+=c/2):(d="right",u+=c)):(u=this.right-l,r==="near"?d="right":r==="center"?(d="center",u-=c/2):(d="left",u=this.left)):n==="right"?a?(u=this.left+i,r==="near"?d="right":r==="center"?(d="center",u-=c/2):(d="left",u-=c)):(u=this.left+l,r==="near"?d="left":r==="center"?(d="center",u+=c/2):(d="right",u=this.right)):d="right",{textAlign:d,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:r,top:a,width:i,height:o}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(r,a,i,o),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const a=this.ticks.findIndex(i=>i.value===t);return a>=0?n.setContext(this.getContext(a)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,a=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const l=(c,d,u)=>{!u.width||!u.color||(r.save(),r.lineWidth=u.width,r.strokeStyle=u.color,r.setLineDash(u.borderDash||[]),r.lineDashOffset=u.borderDashOffset,r.beginPath(),r.moveTo(c.x,c.y),r.lineTo(d.x,d.y),r.stroke(),r.restore())};if(n.display)for(i=0,o=a.length;i<o;++i){const c=a[i];n.drawOnChartArea&&l({x:c.x1,y:c.y1},{x:c.x2,y:c.y2},c),n.drawTicks&&l({x:c.tx1,y:c.ty1},{x:c.tx2,y:c.ty2},{color:c.tickColor,width:c.tickWidth,borderDash:c.tickBorderDash,borderDashOffset:c.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:r,grid:a}}=this,i=r.setContext(this.getContext()),o=r.display?i.width:0;if(!o)return;const l=a.setContext(this.getContext(0)).lineWidth,c=this._borderValue;let d,u,f,p;this.isHorizontal()?(d=Pa(t,this.left,o)-o/2,u=Pa(t,this.right,l)+l/2,f=p=c):(f=Pa(t,this.top,o)-o/2,p=Pa(t,this.bottom,l)+l/2,d=u=c),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(d,f),n.lineTo(u,p),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const r=this.ctx,a=this._computeLabelArea();a&&Ko(r,a);const i=this.getLabelItems(t);for(const o of i){const l=o.options,c=o.font,d=o.label,u=o.textOffset;Ia(r,d,0,u,c,l)}a&&Jo(r)}drawTitle(){const{ctx:t,options:{position:n,title:r,reverse:a}}=this;if(!r.display)return;const i=it(r.font),o=ut(r.padding),l=r.align;let c=i.lineHeight/2;n==="bottom"||n==="center"||me(n)?(c+=o.bottom,Ne(r.text)&&(c+=i.lineHeight*(r.text.length-1))):c+=o.top;const{titleX:d,titleY:u,maxWidth:f,rotation:p}=JO(this,c,n,l);Ia(t,r.text,0,0,i,{color:r.color,maxWidth:f,rotation:p,textAlign:KO(l,n,a),textBaseline:"middle",translation:[d,u]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,r=ce(t.grid&&t.grid.z,-1),a=ce(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==Fa.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:a,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",a=[];let i,o;for(i=0,o=n.length;i<o;++i){const l=n[i];l[r]===this.id&&(!t||l.type===t)&&a.push(l)}return a}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return it(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class cc{constructor(t,n,r){this.type=t,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let r;eM(n)&&(r=this.register(n));const a=this.items,i=t.id,o=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+t);return i in a||(a[i]=t,ZO(t,o,r),this.override&&at.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const n=this.items,r=t.id,a=this.scope;r in n&&delete n[r],a&&r in at[a]&&(delete at[a][r],this.override&&delete Da[r])}}function ZO(e,t,n){const r=Yn(Object.create(null),[n?at.get(n):{},at.get(t),e.defaults]);at.set(t,r),e.defaultRoutes&&QO(t,e.defaultRoutes),e.descriptors&&at.describe(t,e.descriptors)}function QO(e,t){Object.keys(t).forEach(n=>{const r=n.split("."),a=r.pop(),i=[e].concat(r).join("."),o=t[n].split("."),l=o.pop(),c=o.join(".");at.route(i,a,c,l)})}function eM(e){return"id"in e&&"defaults"in e}class tM{constructor(){this.controllers=new cc(Mn,"datasets",!0),this.elements=new cc(Vt,"elements"),this.plugins=new cc(Object,"plugins"),this.scales=new cc(Fa,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(a=>{const i=r||this._getRegistryForType(a);r||i.isForType(a)||i===this.plugins&&a.id?this._exec(t,i,a):Be(a,o=>{const l=r||this._getRegistryForType(o);this._exec(t,l,o)})})}_exec(t,n,r){const a=gf(t);Ie(r["before"+a],[],r),n[t](r),Ie(r["after"+a],[],r)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(t))return r}return this.plugins}_get(t,n,r){const a=n.get(t);if(a===void 0)throw new Error('"'+t+'" is not a registered '+r+".");return a}}var Gn=new tM;class nM{constructor(){this._init=[]}notify(t,n,r,a){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const i=a?this._descriptors(t).filter(a):this._descriptors(t),o=this._notify(i,t,n,r);return n==="afterDestroy"&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,n,r,a){a=a||{};for(const i of t){const o=i.plugin,l=o[r],c=[n,a,i.options];if(Ie(l,c,o)===!1&&a.cancelable)return!1}return!0}invalidate(){ve(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const r=t&&t.config,a=ce(r.options&&r.options.plugins,{}),i=rM(r);return a===!1&&!n?[]:iM(t,i,a,n)}_notifyStateChanges(t){const n=this._oldCache||[],r=this._cache,a=(i,o)=>i.filter(l=>!o.some(c=>l.plugin.id===c.plugin.id));this._notify(a(n,r),t,"stop"),this._notify(a(r,n),t,"start")}}function rM(e){const t={},n=[],r=Object.keys(Gn.plugins.items);for(let i=0;i<r.length;i++)n.push(Gn.getPlugin(r[i]));const a=e.plugins||[];for(let i=0;i<a.length;i++){const o=a[i];n.indexOf(o)===-1&&(n.push(o),t[o.id]=!0)}return{plugins:n,localIds:t}}function aM(e,t){return!t&&e===!1?null:e===!0?{}:e}function iM(e,{plugins:t,localIds:n},r,a){const i=[],o=e.getContext();for(const l of t){const c=l.id,d=aM(r[c],a);d!==null&&i.push({plugin:l,options:oM(e.config,{plugin:l,local:n[c]},d,o)})}return i}function oM(e,{plugin:t,local:n},r,a){const i=e.pluginScopeKeys(t),o=e.getOptionScopes(r,i);return n&&t.defaults&&o.push(t.defaults),e.createResolver(o,a,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function $f(e,t){const n=at.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function sM(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function lM(e,t){return e===t?"_index_":"_value_"}function tb(e){if(e==="x"||e==="y"||e==="r")return e}function cM(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function Ff(e,...t){if(tb(e))return e;for(const n of t){const r=n.axis||cM(n.position)||e.length>1&&tb(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function nb(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function dM(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(n.length)return nb(e,"x",n[0])||nb(e,"y",n[0])}return{}}function uM(e,t){const n=Da[e.type]||{scales:{}},r=t.scales||{},a=$f(e.type,t),i=Object.create(null);return Object.keys(r).forEach(o=>{const l=r[o];if(!me(l))return console.error(`Invalid scale configuration for scale: ${o}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${o}`);const c=Ff(o,l,dM(o,e),at.scales[l.type]),d=lM(c,a),u=n.scales||{};i[o]=Wo(Object.create(null),[{axis:c},l,u[c],u[d]])}),e.data.datasets.forEach(o=>{const l=o.type||e.type,c=o.indexAxis||$f(l,t),u=(Da[l]||{}).scales||{};Object.keys(u).forEach(f=>{const p=sM(f,c),h=o[p+"AxisID"]||p;i[h]=i[h]||Object.create(null),Wo(i[h],[{axis:p},r[h],u[f]])})}),Object.keys(i).forEach(o=>{const l=i[o];Wo(l,[at.scales[l.type],at.scale])}),i}function rb(e){const t=e.options||(e.options={});t.plugins=ce(t.plugins,{}),t.scales=uM(e,t)}function ab(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function fM(e){return e=e||{},e.data=ab(e.data),rb(e),e}const ib=new Map,ob=new Set;function dc(e,t){let n=ib.get(e);return n||(n=t(),ib.set(e,n),ob.add(n)),n}const os=(e,t,n)=>{const r=qr(t,n);r!==void 0&&e.add(r)};class pM{constructor(t){this._config=fM(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=ab(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),rb(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return dc(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return dc(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return dc(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return dc(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let a=r.get(t);return(!a||n)&&(a=new Map,r.set(t,a)),a}getOptionScopes(t,n,r){const{options:a,type:i}=this,o=this._cachedScopes(t,r),l=o.get(n);if(l)return l;const c=new Set;n.forEach(u=>{t&&(c.add(t),u.forEach(f=>os(c,t,f))),u.forEach(f=>os(c,a,f)),u.forEach(f=>os(c,Da[i]||{},f)),u.forEach(f=>os(c,at,f)),u.forEach(f=>os(c,kf,f))});const d=Array.from(c);return d.length===0&&d.push(Object.create(null)),ob.has(n)&&o.set(n,d),d}chartOptionScopes(){const{options:t,type:n}=this;return[t,Da[n]||{},at.datasets[n]||{},{type:n},at,kf]}resolveNamedOptions(t,n,r,a=[""]){const i={$shared:!0},{resolver:o,subPrefixes:l}=sb(this._resolverCache,t,a);let c=o;if(mM(o,n)){i.$shared=!1,r=qt(r)?r():r;const d=this.createResolver(t,r,l);c=Mi(o,r,d)}for(const d of n)i[d]=c[d];return i}createResolver(t,n,r=[""],a){const{resolver:i}=sb(this._resolverCache,t,r);return me(n)?Mi(i,n,void 0,a):i}}function sb(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const a=n.join();let i=r.get(a);return i||(i={resolver:Ef(t,n),subPrefixes:n.filter(l=>!l.toLowerCase().includes("hover"))},r.set(a,i)),i}const hM=e=>me(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||qt(e[n]),!1);function mM(e,t){const{isScriptable:n,isIndexable:r}=l2(e);for(const a of t){const i=n(a),o=r(a),l=(o||i)&&e[a];if(i&&(qt(l)||hM(l))||o&&Ne(l))return!0}return!1}var gM="4.3.0";const bM=["top","bottom","left","right","chartArea"];function lb(e,t){return e==="top"||e==="bottom"||bM.indexOf(e)===-1&&t==="x"}function cb(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function db(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Ie(n&&n.onComplete,[e],t)}function yM(e){const t=e.chart,n=t.options.animation;Ie(n&&n.onProgress,[e],t)}function ub(e){return g2()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const uc={},fb=e=>{const t=ub(e);return Object.values(uc).filter(n=>n.canvas===t).pop()};function _M(e,t,n){const r=Object.keys(e);for(const a of r){const i=+a;if(i>=t){const o=e[a];delete e[a],(n>0||i>t)&&(e[i+n]=o)}}}function vM(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}function wM(e){const{xScale:t,yScale:n}=e;if(t&&n)return{left:t.left,right:t.right,top:n.top,bottom:n.bottom}}class Re{static register(...t){Gn.add(...t),pb()}static unregister(...t){Gn.remove(...t),pb()}constructor(t,n){const r=this.config=new pM(n),a=ub(t),i=fb(a);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const o=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||VO(a)),this.platform.updateConfig(r);const l=this.platform.acquireContext(a,o.aspectRatio),c=l&&l.canvas,d=c&&c.height,u=c&&c.width;if(this.id=CA(),this.ctx=l,this.canvas=c,this.width=u,this.height=d,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new nM,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=FA(f=>this.update(f),o.resizeDelay||0),this._dataChanges=[],uc[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}gr.listen(this,"complete",db),gr.listen(this,"progress",yM),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:a,_aspectRatio:i}=this;return ve(t)?n&&i?i:a?r/a:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Gn}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():b2(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return i2(this.canvas,this.ctx),this}stop(){return gr.stop(this),this}resize(t,n){gr.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,a=this.canvas,i=r.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(a,t,n,i),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,b2(this,l,!0)&&(this.notifyPlugins("resize",{size:o}),Ie(r.onResize,[this,o],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Be(n,(r,a)=>{r.id=a})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,a=Object.keys(r).reduce((o,l)=>(o[l]=!1,o),{});let i=[];n&&(i=i.concat(Object.keys(n).map(o=>{const l=n[o],c=Ff(o,l),d=c==="r",u=c==="x";return{options:l,dposition:d?"chartArea":u?"bottom":"left",dtype:d?"radialLinear":u?"category":"linear"}}))),Be(i,o=>{const l=o.options,c=l.id,d=Ff(c,l),u=ce(l.type,o.dtype);(l.position===void 0||lb(l.position,d)!==lb(o.dposition))&&(l.position=o.dposition),a[c]=!0;let f=null;if(c in r&&r[c].type===u)f=r[c];else{const p=Gn.getScale(u);f=new p({id:c,type:u,ctx:this.ctx,chart:this}),r[f.id]=f}f.init(l,t)}),Be(a,(o,l)=>{o||delete r[l]}),Be(r,o=>{Nt.configure(this,o,o.options),Nt.addBox(this,o)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((a,i)=>a.index-i.index),r>n){for(let a=n;a<r;++a)this._destroyDatasetMeta(a);t.splice(n,r-n)}this._sortedMetasets=t.slice(0).sort(cb("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((r,a)=>{n.filter(i=>i===r._dataset).length===0&&this._destroyDatasetMeta(a)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,a;for(this._removeUnreferencedMetasets(),r=0,a=n.length;r<a;r++){const i=n[r];let o=this.getDatasetMeta(r);const l=i.type||this.config.type;if(o.type&&o.type!==l&&(this._destroyDatasetMeta(r),o=this.getDatasetMeta(r)),o.type=l,o.indexAxis=i.indexAxis||$f(l,this.options),o.order=i.order||0,o.index=r,o.label=""+i.label,o.visible=this.isDatasetVisible(r),o.controller)o.controller.updateIndex(r),o.controller.linkScales();else{const c=Gn.getController(l),{datasetElementType:d,dataElementType:u}=at.datasets[l];Object.assign(c,{dataElementType:Gn.getElement(u),datasetElementType:d&&Gn.getElement(d)}),o.controller=new c(this,r),t.push(o.controller)}}return this._updateMetasets(),t}_resetElements(){Be(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),a=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let d=0,u=this.data.datasets.length;d<u;d++){const{controller:f}=this.getDatasetMeta(d),p=!a&&i.indexOf(f)===-1;f.buildOrUpdateElements(p),o=Math.max(+f.getMaxOverflow(),o)}o=this._minPadding=r.layout.autoPadding?o:0,this._updateLayout(o),a||Be(i,d=>{d.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(cb("z","_idx"));const{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Be(this.scales,t=>{Nt.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!j0(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:a,count:i}of n){const o=r==="_removeElements"?-i:i;_M(t,a,o)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=i=>new Set(t.filter(o=>o[0]===i).map((o,l)=>l+","+o.splice(1).join(","))),a=r(0);for(let i=1;i<n;i++)if(!j0(a,r(i)))return;return Array.from(a).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Nt.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Be(this.boxes,a=>{r&&a.position==="chartArea"||(a.configure&&a.configure(),this._layers.push(...a._layers()))},this),this._layers.forEach((a,i)=>{a._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,qt(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const r=this.getDatasetMeta(t),a={meta:r,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",a)!==!1&&(r.controller._update(n),a.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",a))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(gr.has(this)?this.attached&&!gr.running(this)&&gr.start(this):(this.draw(),db({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:r,height:a}=this._resizeBeforeDraw;this._resize(r,a),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,r=[];let a,i;for(a=0,i=n.length;a<i;++a){const o=n[a];(!t||o.visible)&&r.push(o)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r=t._clip,a=!r.disabled,i=wM(t)||this.chartArea,o={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(a&&Ko(n,{left:r.left===!1?0:i.left-r.left,right:r.right===!1?this.width:i.right+r.right,top:r.top===!1?0:i.top-r.top,bottom:r.bottom===!1?this.height:i.bottom+r.bottom}),t.controller.draw(),a&&Jo(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return mr(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,a){const i=bO.modes[n];return typeof i=="function"?i(this,t,r,a):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let a=r.filter(i=>i&&i._dataset===n).pop();return a||(a={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(a)),a}getContext(){return this.$context||(this.$context=Jr(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const a=r?"show":"hide",i=this.getDatasetMeta(t),o=i.controller._resolveAnimations(void 0,a);Yt(n)?(i.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),o.update(i,{visible:r}),this.update(l=>l.datasetIndex===t?a:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),gr.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),i2(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete uc[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,r=(i,o)=>{n.addEventListener(this,i,o),t[i]=o},a=(i,o,l)=>{i.offsetX=o,i.offsetY=l,this._eventHandler(i)};Be(this.options.events,i=>r(i,a))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(c,d)=>{n.addEventListener(this,c,d),t[c]=d},a=(c,d)=>{t[c]&&(n.removeEventListener(this,c,d),delete t[c])},i=(c,d)=>{this.canvas&&this.resize(c,d)};let o;const l=()=>{a("attach",l),this.attached=!0,this.resize(),r("resize",i),r("detach",o)};o=()=>{this.attached=!1,a("resize",i),this._stop(),this._resize(0,0),r("attach",l)},n.isAttached(this.canvas)?l():o()}unbindEvents(){Be(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},Be(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const a=r?"set":"remove";let i,o,l,c;for(n==="dataset"&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+a+"DatasetHoverStyle"]()),l=0,c=t.length;l<c;++l){o=t[l];const d=o&&this.getDatasetMeta(o.datasetIndex).controller;d&&d[a+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],r=t.map(({datasetIndex:i,index:o})=>{const l=this.getDatasetMeta(i);if(!l)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:l.data[o],index:o}});!jl(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,r){const a=this.options.hover,i=(c,d)=>c.filter(u=>!d.some(f=>u.datasetIndex===f.datasetIndex&&u.index===f.index)),o=i(n,t),l=r?t:i(t,n);o.length&&this.updateHoverStyle(o,a.mode,!1),l.length&&a.mode&&this.updateHoverStyle(l,a.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},a=o=>(o.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,a)===!1)return;const i=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,a),(i||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:a=[],options:i}=this,o=n,l=this._getActiveElements(t,a,r,o),c=NA(t),d=vM(t,this._lastEvent,r,c);r&&(this._lastEvent=null,Ie(i.onHover,[t,l,this],this),c&&Ie(i.onClick,[t,l,this],this));const u=!jl(l,a);return(u||n)&&(this._active=l,this._updateHoverStyles(l,a,n)),this._lastEvent=d,u}_getActiveElements(t,n,r,a){if(t.type==="mouseout")return[];if(!r)return n;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,a)}}H(Re,"defaults",at),H(Re,"instances",uc),H(Re,"overrides",Da),H(Re,"registry",Gn),H(Re,"version",gM),H(Re,"getChart",fb);function pb(){return Be(Re.instances,e=>e._plugins.invalidate())}function kM(e,t,n){const{startAngle:r,pixelMargin:a,x:i,y:o,outerRadius:l,innerRadius:c}=t;let d=a/l;e.beginPath(),e.arc(i,o,l,r-d,n+d),c>a?(d=a/c,e.arc(i,o,c,n+d,r-d,!0)):e.arc(i,o,a,n+Ue,r-Ue),e.closePath(),e.clip()}function xM(e){return Cf(e,["outerStart","outerEnd","innerStart","innerEnd"])}function SM(e,t,n,r){const a=xM(e.options.borderRadius),i=(n-t)/2,o=Math.min(i,r*t/2),l=c=>{const d=(n-Math.min(i,c))*r/2;return Et(c,0,Math.min(i,d))};return{outerStart:l(a.outerStart),outerEnd:l(a.outerEnd),innerStart:Et(a.innerStart,0,o),innerEnd:Et(a.innerEnd,0,o)}}function Pi(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function fc(e,t,n,r,a,i){const{x:o,y:l,startAngle:c,pixelMargin:d,innerRadius:u}=t,f=Math.max(t.outerRadius+r+n-d,0),p=u>0?u+r+n+d:0;let h=0;const g=a-c;if(r){const J=u>0?u-r:0,Q=f>0?f-r:0,K=(J+Q)/2,de=K!==0?g*K/(K+r):g;h=(g-de)/2}const b=Math.max(.001,g*f-n/Ae)/f,v=(g-b)/2,m=c+v+h,y=a-v-h,{outerStart:w,outerEnd:_,innerStart:k,innerEnd:x}=SM(t,p,f,y-m),C=f-w,E=f-_,T=m+w/C,B=y-_/E,D=p+k,M=p+x,R=m+k/D,re=y-x/M;if(e.beginPath(),i){const J=(T+B)/2;if(e.arc(o,l,f,T,J),e.arc(o,l,f,J,B),_>0){const q=Pi(E,B,o,l);e.arc(q.x,q.y,_,B,y+Ue)}const Q=Pi(M,y,o,l);if(e.lineTo(Q.x,Q.y),x>0){const q=Pi(M,re,o,l);e.arc(q.x,q.y,x,y+Ue,re+Math.PI)}const K=(y-x/p+(m+k/p))/2;if(e.arc(o,l,p,y-x/p,K,!0),e.arc(o,l,p,K,m+k/p,!0),k>0){const q=Pi(D,R,o,l);e.arc(q.x,q.y,k,R+Math.PI,m-Ue)}const de=Pi(C,m,o,l);if(e.lineTo(de.x,de.y),w>0){const q=Pi(C,T,o,l);e.arc(q.x,q.y,w,m-Ue,T)}}else{e.moveTo(o,l);const J=Math.cos(T)*f+o,Q=Math.sin(T)*f+l;e.lineTo(J,Q);const K=Math.cos(B)*f+o,de=Math.sin(B)*f+l;e.lineTo(K,de)}e.closePath()}function CM(e,t,n,r,a){const{fullCircles:i,startAngle:o,circumference:l}=t;let c=t.endAngle;if(i){fc(e,t,n,r,c,a);for(let d=0;d<i;++d)e.fill();isNaN(l)||(c=o+(l%We||We))}return fc(e,t,n,r,c,a),e.fill(),c}function EM(e,t,n,r,a){const{fullCircles:i,startAngle:o,circumference:l,options:c}=t,{borderWidth:d,borderJoinStyle:u,borderDash:f,borderDashOffset:p}=c,h=c.borderAlign==="inner";if(!d)return;e.setLineDash(f||[]),e.lineDashOffset=p,h?(e.lineWidth=d*2,e.lineJoin=u||"round"):(e.lineWidth=d,e.lineJoin=u||"bevel");let g=t.endAngle;if(i){fc(e,t,n,r,g,a);for(let b=0;b<i;++b)e.stroke();isNaN(l)||(g=o+(l%We||We))}h&&kM(e,t,g),i||(fc(e,t,n,r,g,a),e.stroke())}class Ii extends Vt{constructor(n){super();H(this,"circumference");H(this,"endAngle");H(this,"fullCircles");H(this,"innerRadius");H(this,"outerRadius");H(this,"pixelMargin");H(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,r,a){const i=this.getProps(["x","y"],a),{angle:o,distance:l}=Y0(i,{x:n,y:r}),{startAngle:c,endAngle:d,innerRadius:u,outerRadius:f,circumference:p}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],a),h=(this.options.spacing+this.options.borderWidth)/2,b=ce(p,d-c)>=We||Yo(o,c,d),v=pr(l,u+h,f+h);return b&&v}getCenterPoint(n){const{x:r,y:a,startAngle:i,endAngle:o,innerRadius:l,outerRadius:c}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:d,spacing:u}=this.options,f=(i+o)/2,p=(l+c+u+d)/2;return{x:r+Math.cos(f)*p,y:a+Math.sin(f)*p}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:r,circumference:a}=this,i=(r.offset||0)/4,o=(r.spacing||0)/2,l=r.circular;if(this.pixelMargin=r.borderAlign==="inner"?.33:0,this.fullCircles=a>We?Math.floor(a/We):0,a===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const c=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(c)*i,Math.sin(c)*i);const d=1-Math.sin(Math.min(Ae,a||0)),u=i*d;n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,CM(n,this,u,o,l),EM(n,this,u,o,l),n.restore()}}H(Ii,"id","arc"),H(Ii,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),H(Ii,"defaultRoutes",{backgroundColor:"backgroundColor"}),H(Ii,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function hb(e,t,n=t){e.lineCap=ce(n.borderCapStyle,t.borderCapStyle),e.setLineDash(ce(n.borderDash,t.borderDash)),e.lineDashOffset=ce(n.borderDashOffset,t.borderDashOffset),e.lineJoin=ce(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=ce(n.borderWidth,t.borderWidth),e.strokeStyle=ce(n.borderColor,t.borderColor)}function AM(e,t,n){e.lineTo(n.x,n.y)}function TM(e){return e.stepped?ZA:e.tension||e.cubicInterpolationMode==="monotone"?QA:AM}function mb(e,t,n={}){const r=e.length,{start:a=0,end:i=r-1}=n,{start:o,end:l}=t,c=Math.max(a,o),d=Math.min(i,l),u=a<o&&i<o||a>l&&i>l;return{count:r,start:c,loop:t.loop,ilen:d<c&&!u?r+d-c:d-c}}function OM(e,t,n,r){const{points:a,options:i}=t,{count:o,start:l,loop:c,ilen:d}=mb(a,n,r),u=TM(i);let{move:f=!0,reverse:p}=r||{},h,g,b;for(h=0;h<=d;++h)g=a[(l+(p?d-h:h))%o],!g.skip&&(f?(e.moveTo(g.x,g.y),f=!1):u(e,b,g,p,i.stepped),b=g);return c&&(g=a[(l+(p?d:0))%o],u(e,b,g,p,i.stepped)),!!c}function MM(e,t,n,r){const a=t.points,{count:i,start:o,ilen:l}=mb(a,n,r),{move:c=!0,reverse:d}=r||{};let u=0,f=0,p,h,g,b,v,m;const y=_=>(o+(d?l-_:_))%i,w=()=>{b!==v&&(e.lineTo(u,v),e.lineTo(u,b),e.lineTo(u,m))};for(c&&(h=a[y(0)],e.moveTo(h.x,h.y)),p=0;p<=l;++p){if(h=a[y(p)],h.skip)continue;const _=h.x,k=h.y,x=_|0;x===g?(k<b?b=k:k>v&&(v=k),u=(f*u+_)/++f):(w(),e.lineTo(_,k),g=x,f=0,b=v=k),m=k}w()}function zf(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?MM:OM}function NM(e){return e.stepped?NT:e.tension||e.cubicInterpolationMode==="monotone"?DT:Ra}function DM(e,t,n,r){let a=t._path;a||(a=t._path=new Path2D,t.path(a,n,r)&&a.closePath()),hb(e,t.options),e.stroke(a)}function PM(e,t,n,r){const{segments:a,options:i}=t,o=zf(t);for(const l of a)hb(e,i,l.style),e.beginPath(),o(e,t,l,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}const IM=typeof Path2D=="function";function LM(e,t,n,r){IM&&!t.options.segment?DM(e,t,n,r):PM(e,t,n,r)}class Zr extends Vt{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const a=r.spanGaps?this._loop:this._fullLoop;xT(this._points,r,t,a,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=VT(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,r=t.length;return r&&n[t[r-1].end]}interpolate(t,n){const r=this.options,a=t[n],i=this.points,o=S2(this,{property:n,start:a,end:a});if(!o.length)return;const l=[],c=NM(r);let d,u;for(d=0,u=o.length;d<u;++d){const{start:f,end:p}=o[d],h=i[f],g=i[p];if(h===g){l.push(h);continue}const b=Math.abs((a-h[n])/(g[n]-h[n])),v=c(h,g,b,r.stepped);v[n]=t[n],l.push(v)}return l.length===1?l[0]:l}pathSegment(t,n,r){return zf(this)(t,this,n,r)}path(t,n,r){const a=this.segments,i=zf(this);let o=this._loop;n=n||0,r=r||this.points.length-n;for(const l of a)o&=i(t,this,l,{start:n,end:n+r-1});return!!o}draw(t,n,r,a){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(t.save(),LM(t,this,r,a),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}H(Zr,"id","line"),H(Zr,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),H(Zr,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),H(Zr,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"});function gb(e,t,n,r){const a=e.options,{[n]:i}=e.getProps([n],r);return Math.abs(t-i)<a.radius+a.hitRadius}class ss extends Vt{constructor(n){super();H(this,"parsed");H(this,"skip");H(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,r,a){const i=this.options,{x:o,y:l}=this.getProps(["x","y"],a);return Math.pow(n-o,2)+Math.pow(r-l,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,r){return gb(this,n,"x",r)}inYRange(n,r){return gb(this,n,"y",r)}getCenterPoint(n){const{x:r,y:a}=this.getProps(["x","y"],n);return{x:r,y:a}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const a=r&&n.borderWidth||0;return(r+a)*2}draw(n,r){const a=this.options;this.skip||a.radius<.1||!mr(this,r,this.size(a)/2)||(n.strokeStyle=a.borderColor,n.lineWidth=a.borderWidth,n.fillStyle=a.backgroundColor,Sf(n,a,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}H(ss,"id","point"),H(ss,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),H(ss,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function bb(e,t){const{x:n,y:r,base:a,width:i,height:o}=e.getProps(["x","y","base","width","height"],t);let l,c,d,u,f;return e.horizontal?(f=o/2,l=Math.min(n,a),c=Math.max(n,a),d=r-f,u=r+f):(f=i/2,l=n-f,c=n+f,d=Math.min(r,a),u=Math.max(r,a)),{left:l,top:d,right:c,bottom:u}}function Qr(e,t,n,r){return e?0:Et(t,n,r)}function BM(e,t,n){const r=e.options.borderWidth,a=e.borderSkipped,i=s2(r);return{t:Qr(a.top,i.top,0,n),r:Qr(a.right,i.right,0,t),b:Qr(a.bottom,i.bottom,0,n),l:Qr(a.left,i.left,0,t)}}function RM(e,t,n){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),a=e.options.borderRadius,i=Kr(a),o=Math.min(t,n),l=e.borderSkipped,c=r||me(a);return{topLeft:Qr(!c||l.top||l.left,i.topLeft,0,o),topRight:Qr(!c||l.top||l.right,i.topRight,0,o),bottomLeft:Qr(!c||l.bottom||l.left,i.bottomLeft,0,o),bottomRight:Qr(!c||l.bottom||l.right,i.bottomRight,0,o)}}function VM(e){const t=bb(e),n=t.right-t.left,r=t.bottom-t.top,a=BM(e,n/2,r/2),i=RM(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:i},inner:{x:t.left+a.l,y:t.top+a.t,w:n-a.l-a.r,h:r-a.t-a.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(a.t,a.l)),topRight:Math.max(0,i.topRight-Math.max(a.t,a.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(a.b,a.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(a.b,a.r))}}}}function jf(e,t,n,r){const a=t===null,i=n===null,l=e&&!(a&&i)&&bb(e,r);return l&&(a||pr(t,l.left,l.right))&&(i||pr(n,l.top,l.bottom))}function $M(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function FM(e,t){e.rect(t.x,t.y,t.w,t.h)}function Hf(e,t,n={}){const r=e.x!==n.x?-t:0,a=e.y!==n.y?-t:0,i=(e.x+e.w!==n.x+n.w?t:0)-r,o=(e.y+e.h!==n.y+n.h?t:0)-a;return{x:e.x+r,y:e.y+a,w:e.w+i,h:e.h+o,radius:e.radius}}class ls extends Vt{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:r,backgroundColor:a}}=this,{inner:i,outer:o}=VM(this),l=$M(o.radius)?Oi:FM;t.save(),(o.w!==i.w||o.h!==i.h)&&(t.beginPath(),l(t,Hf(o,n,i)),t.clip(),l(t,Hf(i,-n,o)),t.fillStyle=r,t.fill("evenodd")),t.beginPath(),l(t,Hf(i,n)),t.fillStyle=a,t.fill(),t.restore()}inRange(t,n,r){return jf(this,t,n,r)}inXRange(t,n){return jf(this,t,null,n)}inYRange(t,n){return jf(this,null,t,n)}getCenterPoint(t){const{x:n,y:r,base:a,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(n+a)/2:n,y:i?r:(r+a)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}H(ls,"id","bar"),H(ls,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),H(ls,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var zM=Object.freeze({__proto__:null,ArcElement:Ii,BarElement:ls,LineElement:Zr,PointElement:ss});const Wf=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],yb=Wf.map(e=>e.replace("rgb(","rgba(").replace(")",", 0.5)"));function _b(e){return Wf[e%Wf.length]}function vb(e){return yb[e%yb.length]}function jM(e,t){return e.borderColor=_b(t),e.backgroundColor=vb(t),++t}function HM(e,t){return e.backgroundColor=e.data.map(()=>_b(t++)),t}function WM(e,t){return e.backgroundColor=e.data.map(()=>vb(t++)),t}function UM(e){let t=0;return(n,r)=>{const a=e.getDatasetMeta(r).controller;a instanceof Va?t=HM(n,t):a instanceof Qo?t=WM(n,t):a&&(t=jM(n,t))}}function wb(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}function YM(e){return e&&(e.borderColor||e.backgroundColor)}var qM={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,n){if(!n.enabled)return;const{data:{datasets:r},options:a}=e.config,{elements:i}=a;if(!n.forceOverride&&(wb(r)||YM(a)||i&&wb(i)))return;const o=UM(e);r.forEach(o)}};function GM(e,t,n,r,a){const i=a.samples||r;if(i>=n)return e.slice(t,t+n);const o=[],l=(n-2)/(i-2);let c=0;const d=t+n-1;let u=t,f,p,h,g,b;for(o[c++]=e[u],f=0;f<i-2;f++){let v=0,m=0,y;const w=Math.floor((f+1)*l)+1+t,_=Math.min(Math.floor((f+2)*l)+1,n)+t,k=_-w;for(y=w;y<_;y++)v+=e[y].x,m+=e[y].y;v/=k,m/=k;const x=Math.floor(f*l)+1+t,C=Math.min(Math.floor((f+1)*l)+1,n)+t,{x:E,y:T}=e[u];for(h=g=-1,y=x;y<C;y++)g=.5*Math.abs((E-v)*(e[y].y-T)-(E-e[y].x)*(m-T)),g>h&&(h=g,p=e[y],b=y);o[c++]=p,u=b}return o[c++]=e[d],o}function XM(e,t,n,r){let a=0,i=0,o,l,c,d,u,f,p,h,g,b;const v=[],m=t+n-1,y=e[t].x,_=e[m].x-y;for(o=t;o<t+n;++o){l=e[o],c=(l.x-y)/_*r,d=l.y;const k=c|0;if(k===u)d<g?(g=d,f=o):d>b&&(b=d,p=o),a=(i*a+l.x)/++i;else{const x=o-1;if(!ve(f)&&!ve(p)){const C=Math.min(f,p),E=Math.max(f,p);C!==h&&C!==x&&v.push({...e[C],x:a}),E!==h&&E!==x&&v.push({...e[E],x:a})}o>0&&x!==h&&v.push(e[x]),v.push(l),u=k,i=0,g=b=d,f=p=h=o}}return v}function kb(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function xb(e){e.data.datasets.forEach(t=>{kb(t)})}function KM(e,t){const n=t.length;let r=0,a;const{iScale:i}=e,{min:o,max:l,minDefined:c,maxDefined:d}=i.getUserBounds();return c&&(r=Et(hr(t,i.axis,o).lo,0,n-1)),d?a=Et(hr(t,i.axis,l).hi+1,r,n)-r:a=n-r,{start:r,count:a}}var JM={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){xb(e);return}const r=e.width;e.data.datasets.forEach((a,i)=>{const{_data:o,indexAxis:l}=a,c=e.getDatasetMeta(i),d=o||a.data;if(Xe([l,e.options.indexAxis])==="y"||!c.controller.supportsDecimation)return;const u=e.scales[c.xAxisID];if(u.type!=="linear"&&u.type!=="time"||e.options.parsing)return;let{start:f,count:p}=KM(c,d);const h=n.threshold||4*r;if(p<=h){kb(a);return}ve(o)&&(a._data=d,delete a.data,Object.defineProperty(a,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(b){this._data=b}}));let g;switch(n.algorithm){case"lttb":g=GM(d,f,p,r,n);break;case"min-max":g=XM(d,f,p,r);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}a._decimated=g})},destroy(e){xb(e)}};function ZM(e,t,n){const r=e.segments,a=e.points,i=t.points,o=[];for(const l of r){let{start:c,end:d}=l;d=Yf(c,d,a);const u=Uf(n,a[c],a[d],l.loop);if(!t.segments){o.push({source:l,target:u,start:a[c],end:a[d]});continue}const f=S2(t,u);for(const p of f){const h=Uf(n,i[p.start],i[p.end],p.loop),g=x2(l,a,h);for(const b of g)o.push({source:b,target:p,start:{[n]:Sb(u,h,"start",Math.max)},end:{[n]:Sb(u,h,"end",Math.min)}})}}return o}function Uf(e,t,n,r){if(r)return;let a=t[e],i=n[e];return e==="angle"&&(a=dn(a),i=dn(i)),{property:e,start:a,end:i}}function QM(e,t){const{x:n=null,y:r=null}=e||{},a=t.points,i=[];return t.segments.forEach(({start:o,end:l})=>{l=Yf(o,l,a);const c=a[o],d=a[l];r!==null?(i.push({x:c.x,y:r}),i.push({x:d.x,y:r})):n!==null&&(i.push({x:n,y:c.y}),i.push({x:n,y:d.y}))}),i}function Yf(e,t,n){for(;t>e;t--){const r=n[t];if(!isNaN(r.x)&&!isNaN(r.y))break}return t}function Sb(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function Cb(e,t){let n=[],r=!1;return Ne(e)?(r=!0,n=e):n=QM(e,t),n.length?new Zr({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function Eb(e){return e&&e.fill!==!1}function eN(e,t,n){let a=e[t].fill;const i=[t];let o;if(!n)return a;for(;a!==!1&&i.indexOf(a)===-1;){if(!rt(a))return a;if(o=e[a],!o)return!1;if(o.visible)return a;i.push(a),a=o.fill}return!1}function tN(e,t,n){const r=iN(e);if(me(r))return isNaN(r.value)?!1:r;let a=parseFloat(r);return rt(a)&&Math.floor(a)===a?nN(r[0],t,a,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function nN(e,t,n,r){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=r?!1:n}function rN(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:me(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function aN(e,t,n){let r;return e==="start"?r=n:e==="end"?r=t.options.reverse?t.min:t.max:me(e)?r=e.value:r=t.getBaseValue(),r}function iN(e){const t=e.options,n=t.fill;let r=ce(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function oN(e){const{scale:t,index:n,line:r}=e,a=[],i=r.segments,o=r.points,l=sN(t,n);l.push(Cb({x:null,y:t.bottom},r));for(let c=0;c<i.length;c++){const d=i[c];for(let u=d.start;u<=d.end;u++)lN(a,o[u],l)}return new Zr({points:a,options:{}})}function sN(e,t){const n=[],r=e.getMatchingVisibleMetas("line");for(let a=0;a<r.length;a++){const i=r[a];if(i.index===t)break;i.hidden||n.unshift(i.dataset)}return n}function lN(e,t,n){const r=[];for(let a=0;a<n.length;a++){const i=n[a],{first:o,last:l,point:c}=cN(i,t,"x");if(!(!c||o&&l)){if(o)r.unshift(c);else if(e.push(c),!l)break}}e.push(...r)}function cN(e,t,n){const r=e.interpolate(t,n);if(!r)return{};const a=r[n],i=e.segments,o=e.points;let l=!1,c=!1;for(let d=0;d<i.length;d++){const u=i[d],f=o[u.start][n],p=o[u.end][n];if(pr(a,f,p)){l=a===f,c=a===p;break}}return{first:l,last:c,point:r}}class Ab{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,n,r){const{x:a,y:i,radius:o}=this;return n=n||{start:0,end:We},t.arc(a,i,o,n.end,n.start,!0),!r.bounds}interpolate(t){const{x:n,y:r,radius:a}=this,i=t.angle;return{x:n+Math.cos(i)*a,y:r+Math.sin(i)*a,angle:i}}}function dN(e){const{chart:t,fill:n,line:r}=e;if(rt(n))return uN(t,n);if(n==="stack")return oN(e);if(n==="shape")return!0;const a=fN(e);return a instanceof Ab?a:Cb(a,r)}function uN(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function fN(e){return(e.scale||{}).getPointPositionForValue?hN(e):pN(e)}function pN(e){const{scale:t={},fill:n}=e,r=rN(n,t);if(rt(r)){const a=t.isHorizontal();return{x:a?r:null,y:a?null:r}}return null}function hN(e){const{scale:t,fill:n}=e,r=t.options,a=t.getLabels().length,i=r.reverse?t.max:t.min,o=aN(n,t,i),l=[];if(r.grid.circular){const c=t.getPointPositionForValue(0,i);return new Ab({x:c.x,y:c.y,radius:t.getDistanceFromCenterForValue(o)})}for(let c=0;c<a;++c)l.push(t.getPointPositionForValue(c,o));return l}function qf(e,t,n){const r=dN(t),{line:a,scale:i,axis:o}=t,l=a.options,c=l.fill,d=l.backgroundColor,{above:u=d,below:f=d}=c||{};r&&a.points.length&&(Ko(e,n),mN(e,{line:a,target:r,above:u,below:f,area:n,scale:i,axis:o}),Jo(e))}function mN(e,t){const{line:n,target:r,above:a,below:i,area:o,scale:l}=t,c=n._loop?"angle":t.axis;e.save(),c==="x"&&i!==a&&(Tb(e,r,o.top),Ob(e,{line:n,target:r,color:a,scale:l,property:c}),e.restore(),e.save(),Tb(e,r,o.bottom)),Ob(e,{line:n,target:r,color:i,scale:l,property:c}),e.restore()}function Tb(e,t,n){const{segments:r,points:a}=t;let i=!0,o=!1;e.beginPath();for(const l of r){const{start:c,end:d}=l,u=a[c],f=a[Yf(c,d,a)];i?(e.moveTo(u.x,u.y),i=!1):(e.lineTo(u.x,n),e.lineTo(u.x,u.y)),o=!!t.pathSegment(e,l,{move:o}),o?e.closePath():e.lineTo(f.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function Ob(e,t){const{line:n,target:r,property:a,color:i,scale:o}=t,l=ZM(n,r,a);for(const{source:c,target:d,start:u,end:f}of l){const{style:{backgroundColor:p=i}={}}=c,h=r!==!0;e.save(),e.fillStyle=p,gN(e,o,h&&Uf(a,u,f)),e.beginPath();const g=!!n.pathSegment(e,c);let b;if(h){g?e.closePath():Mb(e,r,f,a);const v=!!r.pathSegment(e,d,{move:g,reverse:!0});b=g&&v,b||Mb(e,r,u,a)}e.closePath(),e.fill(b?"evenodd":"nonzero"),e.restore()}}function gN(e,t,n){const{top:r,bottom:a}=t.chart.chartArea,{property:i,start:o,end:l}=n||{};i==="x"&&(e.beginPath(),e.rect(o,r,l-o,a-r),e.clip())}function Mb(e,t,n,r){const a=t.interpolate(n,r);a&&e.lineTo(a.x,a.y)}var bN={id:"filler",afterDatasetsUpdate(e,t,n){const r=(e.data.datasets||[]).length,a=[];let i,o,l,c;for(o=0;o<r;++o)i=e.getDatasetMeta(o),l=i.dataset,c=null,l&&l.options&&l instanceof Zr&&(c={visible:e.isDatasetVisible(o),index:o,fill:tN(l,o,r),chart:e,axis:i.controller.options.indexAxis,scale:i.vScale,line:l}),i.$filler=c,a.push(c);for(o=0;o<r;++o)c=a[o],!(!c||c.fill===!1)&&(c.fill=eN(a,o,n.propagate))},beforeDraw(e,t,n){const r=n.drawTime==="beforeDraw",a=e.getSortedVisibleDatasetMetas(),i=e.chartArea;for(let o=a.length-1;o>=0;--o){const l=a[o].$filler;l&&(l.line.updateControlPoints(i,l.axis),r&&l.fill&&qf(e.ctx,l,i))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=e.getSortedVisibleDatasetMetas();for(let a=r.length-1;a>=0;--a){const i=r[a].$filler;Eb(i)&&qf(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,n){const r=t.meta.$filler;!Eb(r)||n.drawTime!=="beforeDatasetDraw"||qf(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Nb=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},yN=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class Db extends Vt{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,r){this.maxWidth=t,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=Ie(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(r=>t.filter(r,this.chart.data))),t.sort&&(n=n.sort((r,a)=>t.sort(r,a,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const r=t.labels,a=it(r.font),i=a.size,o=this._computeTitleHeight(),{boxWidth:l,itemHeight:c}=Nb(r,i);let d,u;n.font=a.string,this.isHorizontal()?(d=this.maxWidth,u=this._fitRows(o,i,l,c)+10):(u=this.maxHeight,d=this._fitCols(o,a,l,c)+10),this.width=Math.min(d,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,n,r,a){const{ctx:i,maxWidth:o,options:{labels:{padding:l}}}=this,c=this.legendHitBoxes=[],d=this.lineWidths=[0],u=a+l;let f=t;i.textAlign="left",i.textBaseline="middle";let p=-1,h=-u;return this.legendItems.forEach((g,b)=>{const v=r+n/2+i.measureText(g.text).width;(b===0||d[d.length-1]+v+2*l>o)&&(f+=u,d[d.length-(b>0?0:1)]=0,h+=u,p++),c[b]={left:0,top:h,row:p,width:v,height:a},d[d.length-1]+=v+l}),f}_fitCols(t,n,r,a){const{ctx:i,maxHeight:o,options:{labels:{padding:l}}}=this,c=this.legendHitBoxes=[],d=this.columnSizes=[],u=o-t;let f=l,p=0,h=0,g=0,b=0;return this.legendItems.forEach((v,m)=>{const{itemWidth:y,itemHeight:w}=_N(r,n,i,v,a);m>0&&h+w+2*l>u&&(f+=p+l,d.push({width:p,height:h}),g+=p+l,b++,p=h=0),c[m]={left:g,top:h,col:b,width:y,height:w},p=Math.max(p,y),h+=w+l}),f+=p,d.push({width:p,height:h}),f}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:a},rtl:i}}=this,o=Di(i,this.left,this.width);if(this.isHorizontal()){let l=0,c=Mt(r,this.left+a,this.right-this.lineWidths[l]);for(const d of n)l!==d.row&&(l=d.row,c=Mt(r,this.left+a,this.right-this.lineWidths[l])),d.top+=this.top+t+a,d.left=o.leftForLtr(o.x(c),d.width),c+=d.width+a}else{let l=0,c=Mt(r,this.top+t+a,this.bottom-this.columnSizes[l].height);for(const d of n)d.col!==l&&(l=d.col,c=Mt(r,this.top+t+a,this.bottom-this.columnSizes[l].height)),d.top=c,d.left+=this.left+a,d.left=o.leftForLtr(o.x(d.left),d.width),c+=d.height+a}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Ko(t,this),this._draw(),Jo(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:r,ctx:a}=this,{align:i,labels:o}=t,l=at.color,c=Di(t.rtl,this.left,this.width),d=it(o.font),{padding:u}=o,f=d.size,p=f/2;let h;this.drawTitle(),a.textAlign=c.textAlign("left"),a.textBaseline="middle",a.lineWidth=.5,a.font=d.string;const{boxWidth:g,boxHeight:b,itemHeight:v}=Nb(o,f),m=function(x,C,E){if(isNaN(g)||g<=0||isNaN(b)||b<0)return;a.save();const T=ce(E.lineWidth,1);if(a.fillStyle=ce(E.fillStyle,l),a.lineCap=ce(E.lineCap,"butt"),a.lineDashOffset=ce(E.lineDashOffset,0),a.lineJoin=ce(E.lineJoin,"miter"),a.lineWidth=T,a.strokeStyle=ce(E.strokeStyle,l),a.setLineDash(ce(E.lineDash,[])),o.usePointStyle){const B={radius:b*Math.SQRT2/2,pointStyle:E.pointStyle,rotation:E.rotation,borderWidth:T},D=c.xPlus(x,g/2),M=C+p;o2(a,B,D,M,o.pointStyleWidth&&g)}else{const B=C+Math.max((f-b)/2,0),D=c.leftForLtr(x,g),M=Kr(E.borderRadius);a.beginPath(),Object.values(M).some(R=>R!==0)?Oi(a,{x:D,y:B,w:g,h:b,radius:M}):a.rect(D,B,g,b),a.fill(),T!==0&&a.stroke()}a.restore()},y=function(x,C,E){Ia(a,E.text,x,C+v/2,d,{strikethrough:E.hidden,textAlign:c.textAlign(E.textAlign)})},w=this.isHorizontal(),_=this._computeTitleHeight();w?h={x:Mt(i,this.left+u,this.right-r[0]),y:this.top+u+_,line:0}:h={x:this.left+u,y:Mt(i,this.top+_+u,this.bottom-n[0].height),line:0},_2(this.ctx,t.textDirection);const k=v+u;this.legendItems.forEach((x,C)=>{a.strokeStyle=x.fontColor,a.fillStyle=x.fontColor;const E=a.measureText(x.text).width,T=c.textAlign(x.textAlign||(x.textAlign=o.textAlign)),B=g+p+E;let D=h.x,M=h.y;c.setWidth(this.width),w?C>0&&D+B+u>this.right&&(M=h.y+=k,h.line++,D=h.x=Mt(i,this.left+u,this.right-r[h.line])):C>0&&M+k>this.bottom&&(D=h.x=D+n[h.line].width+u,h.line++,M=h.y=Mt(i,this.top+_+u,this.bottom-n[h.line].height));const R=c.x(D);if(m(R,M,x),D=zA(T,D+g+p,w?D+B:this.right,t.rtl),y(c.x(D),M,x),w)h.x+=B+u;else if(typeof x.text!="string"){const re=d.lineHeight;h.y+=Pb(x,re)}else h.y+=k}),v2(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,r=it(n.font),a=ut(n.padding);if(!n.display)return;const i=Di(t.rtl,this.left,this.width),o=this.ctx,l=n.position,c=r.size/2,d=a.top+c;let u,f=this.left,p=this.width;if(this.isHorizontal())p=Math.max(...this.lineWidths),u=this.top+d,f=Mt(t.align,f,this.right-p);else{const g=this.columnSizes.reduce((b,v)=>Math.max(b,v.height),0);u=d+Mt(t.align,this.top,this.bottom-g-t.labels.padding-this._computeTitleHeight())}const h=Mt(l,f,f+p);o.textAlign=i.textAlign(_f(l)),o.textBaseline="middle",o.strokeStyle=n.color,o.fillStyle=n.color,o.font=r.string,Ia(o,n.text,h,u,r)}_computeTitleHeight(){const t=this.options.title,n=it(t.font),r=ut(t.padding);return t.display?n.lineHeight+r.height:0}_getLegendItemAt(t,n){let r,a,i;if(pr(t,this.left,this.right)&&pr(n,this.top,this.bottom)){for(i=this.legendHitBoxes,r=0;r<i.length;++r)if(a=i[r],pr(t,a.left,a.left+a.width)&&pr(n,a.top,a.top+a.height))return this.legendItems[r]}return null}handleEvent(t){const n=this.options;if(!kN(t.type,n))return;const r=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const a=this._hoveredItem,i=yN(a,r);a&&!i&&Ie(n.onLeave,[t,a,this],this),this._hoveredItem=r,r&&!i&&Ie(n.onHover,[t,r,this],this)}else r&&Ie(n.onClick,[t,r,this],this)}}function _N(e,t,n,r,a){const i=vN(r,e,t,n),o=wN(a,r,t.lineHeight);return{itemWidth:i,itemHeight:o}}function vN(e,t,n,r){let a=e.text;return a&&typeof a!="string"&&(a=a.reduce((i,o)=>i.length>o.length?i:o)),t+n.size/2+r.measureText(a).width}function wN(e,t,n){let r=e;return typeof t.text!="string"&&(r=Pb(t,n)),r}function Pb(e,t){const n=e.text?e.text.length+.5:0;return t*n}function kN(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var xN={id:"legend",_element:Db,start(e,t,n){const r=e.legend=new Db({ctx:e.ctx,options:n,chart:e});Nt.configure(e,r,n),Nt.addBox(e,r)},stop(e){Nt.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;Nt.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,a=n.chart;a.isDatasetVisible(r)?(a.hide(r),t.hidden=!0):(a.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:a,color:i,useBorderRadius:o,borderRadius:l}}=e.legend.options;return e._getSortedDatasetMetas().map(c=>{const d=c.controller.getStyle(n?0:void 0),u=ut(d.borderWidth);return{text:t[c.index].label,fillStyle:d.backgroundColor,fontColor:i,hidden:!c.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:d.borderColor,pointStyle:r||d.pointStyle,rotation:d.rotation,textAlign:a||d.textAlign,borderRadius:o&&(l||d.borderRadius),datasetIndex:c.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Gf extends Vt{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const a=Ne(r.text)?r.text.length:1;this._padding=ut(r.padding);const i=a*it(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:r,bottom:a,right:i,options:o}=this,l=o.align;let c=0,d,u,f;return this.isHorizontal()?(u=Mt(l,r,i),f=n+t,d=i-r):(o.position==="left"?(u=r+t,f=Mt(l,a,n),c=Ae*-.5):(u=i-t,f=Mt(l,n,a),c=Ae*.5),d=a-n),{titleX:u,titleY:f,maxWidth:d,rotation:c}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const r=it(n.font),i=r.lineHeight/2+this._padding.top,{titleX:o,titleY:l,maxWidth:c,rotation:d}=this._drawArgs(i);Ia(t,n.text,0,0,r,{color:n.color,maxWidth:c,rotation:d,textAlign:_f(n.align),textBaseline:"middle",translation:[o,l]})}}function SN(e,t){const n=new Gf({ctx:e.ctx,options:t,chart:e});Nt.configure(e,n,t),Nt.addBox(e,n),e.titleBlock=n}var CN={id:"title",_element:Gf,start(e,t,n){SN(e,n)},stop(e){const t=e.titleBlock;Nt.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;Nt.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const pc=new WeakMap;var EN={id:"subtitle",start(e,t,n){const r=new Gf({ctx:e.ctx,options:n,chart:e});Nt.configure(e,r,n),Nt.addBox(e,r),pc.set(e,r)},stop(e){Nt.removeBox(e,pc.get(e)),pc.delete(e)},beforeUpdate(e,t,n){const r=pc.get(e);Nt.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const cs={average(e){if(!e.length)return!1;let t,n,r=0,a=0,i=0;for(t=0,n=e.length;t<n;++t){const o=e[t].element;if(o&&o.hasValue()){const l=o.tooltipPosition();r+=l.x,a+=l.y,++i}}return{x:r/i,y:a/i}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,a=Number.POSITIVE_INFINITY,i,o,l;for(i=0,o=e.length;i<o;++i){const c=e[i].element;if(c&&c.hasValue()){const d=c.getCenterPoint(),u=Ti(t,d);u<a&&(a=u,l=c)}}if(l){const c=l.tooltipPosition();n=c.x,r=c.y}return{x:n,y:r}}};function Xn(e,t){return t&&(Ne(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function br(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(`
831
+ `)>-1?e.split(`
832
+ `):e}function AN(e,t){const{element:n,datasetIndex:r,index:a}=t,i=e.getDatasetMeta(r).controller,{label:o,value:l}=i.getLabelAndValue(a);return{chart:e,label:o,parsed:i.getParsed(a),raw:e.data.datasets[r].data[a],formattedValue:l,dataset:i.getDataset(),dataIndex:a,datasetIndex:r,element:n}}function Ib(e,t){const n=e.chart.ctx,{body:r,footer:a,title:i}=e,{boxWidth:o,boxHeight:l}=t,c=it(t.bodyFont),d=it(t.titleFont),u=it(t.footerFont),f=i.length,p=a.length,h=r.length,g=ut(t.padding);let b=g.height,v=0,m=r.reduce((_,k)=>_+k.before.length+k.lines.length+k.after.length,0);if(m+=e.beforeBody.length+e.afterBody.length,f&&(b+=f*d.lineHeight+(f-1)*t.titleSpacing+t.titleMarginBottom),m){const _=t.displayColors?Math.max(l,c.lineHeight):c.lineHeight;b+=h*_+(m-h)*c.lineHeight+(m-1)*t.bodySpacing}p&&(b+=t.footerMarginTop+p*u.lineHeight+(p-1)*t.footerSpacing);let y=0;const w=function(_){v=Math.max(v,n.measureText(_).width+y)};return n.save(),n.font=d.string,Be(e.title,w),n.font=c.string,Be(e.beforeBody.concat(e.afterBody),w),y=t.displayColors?o+2+t.boxPadding:0,Be(r,_=>{Be(_.before,w),Be(_.lines,w),Be(_.after,w)}),y=0,n.font=u.string,Be(e.footer,w),n.restore(),v+=g.width,{width:v,height:b}}function TN(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}function ON(e,t,n,r){const{x:a,width:i}=r,o=n.caretSize+n.caretPadding;if(e==="left"&&a+i+o>t.width||e==="right"&&a-i-o<0)return!0}function MN(e,t,n,r){const{x:a,width:i}=n,{width:o,chartArea:{left:l,right:c}}=e;let d="center";return r==="center"?d=a<=(l+c)/2?"left":"right":a<=i/2?d="left":a>=o-i/2&&(d="right"),ON(d,e,t,n)&&(d="center"),d}function Lb(e,t,n){const r=n.yAlign||t.yAlign||TN(e,n);return{xAlign:n.xAlign||t.xAlign||MN(e,t,n,r),yAlign:r}}function NN(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function DN(e,t,n){let{y:r,height:a}=e;return t==="top"?r+=n:t==="bottom"?r-=a+n:r-=a/2,r}function Bb(e,t,n,r){const{caretSize:a,caretPadding:i,cornerRadius:o}=e,{xAlign:l,yAlign:c}=n,d=a+i,{topLeft:u,topRight:f,bottomLeft:p,bottomRight:h}=Kr(o);let g=NN(t,l);const b=DN(t,c,d);return c==="center"?l==="left"?g+=d:l==="right"&&(g-=d):l==="left"?g-=Math.max(u,p)+a:l==="right"&&(g+=Math.max(f,h)+a),{x:Et(g,0,r.width-t.width),y:Et(b,0,r.height-t.height)}}function hc(e,t,n){const r=ut(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function Rb(e){return Xn([],br(e))}function PN(e,t,n){return Jr(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function Vb(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const $b={beforeTitle:fr,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:fr,beforeBody:fr,beforeLabel:fr,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return ve(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:fr,afterBody:fr,beforeFooter:fr,footer:fr,afterFooter:fr};function Gt(e,t,n,r){const a=e[t].call(n,r);return typeof a>"u"?$b[t].call(n,r):a}class Xf extends Vt{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),a=r.enabled&&n.options.animation&&r.animations,i=new Mf(this.chart,a);return a._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=PN(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,a=Gt(r,"beforeTitle",this,t),i=Gt(r,"title",this,t),o=Gt(r,"afterTitle",this,t);let l=[];return l=Xn(l,br(a)),l=Xn(l,br(i)),l=Xn(l,br(o)),l}getBeforeBody(t,n){return Rb(Gt(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:r}=n,a=[];return Be(t,i=>{const o={before:[],lines:[],after:[]},l=Vb(r,i);Xn(o.before,br(Gt(l,"beforeLabel",this,i))),Xn(o.lines,Gt(l,"label",this,i)),Xn(o.after,br(Gt(l,"afterLabel",this,i))),a.push(o)}),a}getAfterBody(t,n){return Rb(Gt(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:r}=n,a=Gt(r,"beforeFooter",this,t),i=Gt(r,"footer",this,t),o=Gt(r,"afterFooter",this,t);let l=[];return l=Xn(l,br(a)),l=Xn(l,br(i)),l=Xn(l,br(o)),l}_createItems(t){const n=this._active,r=this.chart.data,a=[],i=[],o=[];let l=[],c,d;for(c=0,d=n.length;c<d;++c)l.push(AN(this.chart,n[c]));return t.filter&&(l=l.filter((u,f,p)=>t.filter(u,f,p,r))),t.itemSort&&(l=l.sort((u,f)=>t.itemSort(u,f,r))),Be(l,u=>{const f=Vb(t.callbacks,u);a.push(Gt(f,"labelColor",this,u)),i.push(Gt(f,"labelPointStyle",this,u)),o.push(Gt(f,"labelTextColor",this,u))}),this.labelColors=a,this.labelPointStyles=i,this.labelTextColors=o,this.dataPoints=l,l}update(t,n){const r=this.options.setContext(this.getContext()),a=this._active;let i,o=[];if(!a.length)this.opacity!==0&&(i={opacity:0});else{const l=cs[r.position].call(this,a,this._eventPosition);o=this._createItems(r),this.title=this.getTitle(o,r),this.beforeBody=this.getBeforeBody(o,r),this.body=this.getBody(o,r),this.afterBody=this.getAfterBody(o,r),this.footer=this.getFooter(o,r);const c=this._size=Ib(this,r),d=Object.assign({},l,c),u=Lb(this.chart,r,d),f=Bb(r,d,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:f.x,y:f.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,a){const i=this.getCaretPosition(t,r,a);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(t,n,r){const{xAlign:a,yAlign:i}=this,{caretSize:o,cornerRadius:l}=r,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=Kr(l),{x:p,y:h}=t,{width:g,height:b}=n;let v,m,y,w,_,k;return i==="center"?(_=h+b/2,a==="left"?(v=p,m=v-o,w=_+o,k=_-o):(v=p+g,m=v+o,w=_-o,k=_+o),y=v):(a==="left"?m=p+Math.max(c,u)+o:a==="right"?m=p+g-Math.max(d,f)-o:m=this.caretX,i==="top"?(w=h,_=w-o,v=m-o,y=m+o):(w=h+b,_=w+o,v=m+o,y=m-o),k=w),{x1:v,x2:m,x3:y,y1:w,y2:_,y3:k}}drawTitle(t,n,r){const a=this.title,i=a.length;let o,l,c;if(i){const d=Di(r.rtl,this.x,this.width);for(t.x=hc(this,r.titleAlign,r),n.textAlign=d.textAlign(r.titleAlign),n.textBaseline="middle",o=it(r.titleFont),l=r.titleSpacing,n.fillStyle=r.titleColor,n.font=o.string,c=0;c<i;++c)n.fillText(a[c],d.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+l,c+1===i&&(t.y+=r.titleMarginBottom-l)}}_drawColorBox(t,n,r,a,i){const o=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:c,boxWidth:d}=i,u=it(i.bodyFont),f=hc(this,"left",i),p=a.x(f),h=c<u.lineHeight?(u.lineHeight-c)/2:0,g=n.y+h;if(i.usePointStyle){const b={radius:Math.min(d,c)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},v=a.leftForLtr(p,d)+d/2,m=g+c/2;t.strokeStyle=i.multiKeyBackground,t.fillStyle=i.multiKeyBackground,Sf(t,b,v,m),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,Sf(t,b,v,m)}else{t.lineWidth=me(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const b=a.leftForLtr(p,d),v=a.leftForLtr(a.xPlus(p,1),d-2),m=Kr(o.borderRadius);Object.values(m).some(y=>y!==0)?(t.beginPath(),t.fillStyle=i.multiKeyBackground,Oi(t,{x:b,y:g,w:d,h:c,radius:m}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),Oi(t,{x:v,y:g+1,w:d-2,h:c-2,radius:m}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(b,g,d,c),t.strokeRect(b,g,d,c),t.fillStyle=o.backgroundColor,t.fillRect(v,g+1,d-2,c-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:a}=this,{bodySpacing:i,bodyAlign:o,displayColors:l,boxHeight:c,boxWidth:d,boxPadding:u}=r,f=it(r.bodyFont);let p=f.lineHeight,h=0;const g=Di(r.rtl,this.x,this.width),b=function(E){n.fillText(E,g.x(t.x+h),t.y+p/2),t.y+=p+i},v=g.textAlign(o);let m,y,w,_,k,x,C;for(n.textAlign=o,n.textBaseline="middle",n.font=f.string,t.x=hc(this,v,r),n.fillStyle=r.bodyColor,Be(this.beforeBody,b),h=l&&v!=="right"?o==="center"?d/2+u:d+2+u:0,_=0,x=a.length;_<x;++_){for(m=a[_],y=this.labelTextColors[_],n.fillStyle=y,Be(m.before,b),w=m.lines,l&&w.length&&(this._drawColorBox(n,t,_,g,r),p=Math.max(f.lineHeight,c)),k=0,C=w.length;k<C;++k)b(w[k]),p=f.lineHeight;Be(m.after,b)}h=0,p=f.lineHeight,Be(this.afterBody,b),t.y-=i}drawFooter(t,n,r){const a=this.footer,i=a.length;let o,l;if(i){const c=Di(r.rtl,this.x,this.width);for(t.x=hc(this,r.footerAlign,r),t.y+=r.footerMarginTop,n.textAlign=c.textAlign(r.footerAlign),n.textBaseline="middle",o=it(r.footerFont),n.fillStyle=r.footerColor,n.font=o.string,l=0;l<i;++l)n.fillText(a[l],c.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+r.footerSpacing}}drawBackground(t,n,r,a){const{xAlign:i,yAlign:o}=this,{x:l,y:c}=t,{width:d,height:u}=r,{topLeft:f,topRight:p,bottomLeft:h,bottomRight:g}=Kr(a.cornerRadius);n.fillStyle=a.backgroundColor,n.strokeStyle=a.borderColor,n.lineWidth=a.borderWidth,n.beginPath(),n.moveTo(l+f,c),o==="top"&&this.drawCaret(t,n,r,a),n.lineTo(l+d-p,c),n.quadraticCurveTo(l+d,c,l+d,c+p),o==="center"&&i==="right"&&this.drawCaret(t,n,r,a),n.lineTo(l+d,c+u-g),n.quadraticCurveTo(l+d,c+u,l+d-g,c+u),o==="bottom"&&this.drawCaret(t,n,r,a),n.lineTo(l+h,c+u),n.quadraticCurveTo(l,c+u,l,c+u-h),o==="center"&&i==="left"&&this.drawCaret(t,n,r,a),n.lineTo(l,c+f),n.quadraticCurveTo(l,c,l+f,c),n.closePath(),n.fill(),a.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,a=r&&r.x,i=r&&r.y;if(a||i){const o=cs[t.position].call(this,this._active,this._eventPosition);if(!o)return;const l=this._size=Ib(this,t),c=Object.assign({},o,this._size),d=Lb(n,t,c),u=Bb(t,c,d,n);(a._to!==u.x||i._to!==u.y)&&(this.xAlign=d.xAlign,this.yAlign=d.yAlign,this.width=l.width,this.height=l.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const a={width:this.width,height:this.height},i={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const o=ut(n.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&l&&(t.save(),t.globalAlpha=r,this.drawBackground(i,t,a,n),_2(t,n.textDirection),i.y+=o.top,this.drawTitle(i,t,n),this.drawBody(i,t,n),this.drawFooter(i,t,n),v2(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,a=t.map(({datasetIndex:l,index:c})=>{const d=this.chart.getDatasetMeta(l);if(!d)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:d.data[c],index:c}}),i=!jl(r,a),o=this._positionChanged(a,n);(i||o)&&(this._active=a,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const a=this.options,i=this._active||[],o=this._getActiveElements(t,i,n,r),l=this._positionChanged(o,t),c=n||!jl(o,i)||l;return c&&(this._active=o,(a.enabled||a.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),c}_getActiveElements(t,n,r,a){const i=this.options;if(t.type==="mouseout")return[];if(!a)return n;const o=this.chart.getElementsAtEventForMode(t,i.mode,i,r);return i.reverse&&o.reverse(),o}_positionChanged(t,n){const{caretX:r,caretY:a,options:i}=this,o=cs[i.position].call(this,t,n);return o!==!1&&(r!==o.x||a!==o.y)}}H(Xf,"positioners",cs);var IN={id:"tooltip",_element:Xf,positioners:cs,afterInit(e,t,n){n&&(e.tooltip=new Xf({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:$b},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},LN=Object.freeze({__proto__:null,Colors:qM,Decimation:JM,Filler:bN,Legend:xN,SubTitle:EN,Title:CN,Tooltip:IN});const BN=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function RN(e,t,n,r){const a=e.indexOf(t);if(a===-1)return BN(e,t,n,r);const i=e.lastIndexOf(t);return a!==i?n:a}const VN=(e,t)=>e===null?null:Et(Math.round(e),0,t);function Fb(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Kf extends Fa{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:a,label:i}of n)r[a]===i&&r.splice(a,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(ve(t))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===t?n:RN(r,t,ce(n,t),this._addedLabels),VN(n,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:a}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),n||(a=this.getLabels().length-1)),this.min=r,this.max=a}buildTicks(){const t=this.min,n=this.max,r=this.options.offset,a=[];let i=this.getLabels();i=t===0&&n===i.length-1?i:i.slice(t,n+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let o=t;o<=n;o++)a.push({value:o});return a}getLabelForValue(t){return Fb.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}H(Kf,"id","category"),H(Kf,"defaults",{ticks:{callback:Fb}});function $N(e,t){const n=[],{bounds:a,step:i,min:o,max:l,precision:c,count:d,maxTicks:u,maxDigits:f,includeBounds:p}=e,h=i||1,g=u-1,{min:b,max:v}=t,m=!ve(o),y=!ve(l),w=!ve(d),_=(v-b)/(f+1);let k=H0((v-b)/g/h)*h,x,C,E,T;if(k<1e-14&&!m&&!y)return[{value:b},{value:v}];T=Math.ceil(v/k)-Math.floor(b/k),T>g&&(k=H0(T*k/g/h)*h),ve(c)||(x=Math.pow(10,c),k=Math.ceil(k*x)/x),a==="ticks"?(C=Math.floor(b/k)*k,E=Math.ceil(v/k)*k):(C=b,E=v),m&&y&&i&&IA((l-o)/i,k/1e3)?(T=Math.round(Math.min((l-o)/k,u)),k=(l-o)/T,C=o,E=l):w?(C=m?o:C,E=y?l:E,T=d-1,k=(E-C)/T):(T=(E-C)/k,Uo(T,Math.round(T),k/1e3)?T=Math.round(T):T=Math.ceil(T));const B=Math.max(U0(k),U0(C));x=Math.pow(10,ve(c)?B:c),C=Math.round(C*x)/x,E=Math.round(E*x)/x;let D=0;for(m&&(p&&C!==o?(n.push({value:o}),C<o&&D++,Uo(Math.round((C+D*k)*x)/x,o,zb(o,_,e))&&D++):C<o&&D++);D<T;++D){const M=Math.round((C+D*k)*x)/x;if(y&&M>l)break;n.push({value:M})}return y&&p&&E!==l?n.length&&Uo(n[n.length-1].value,l,zb(l,_,e))?n[n.length-1].value=l:n.push({value:l}):(!y||E===l)&&n.push({value:E}),n}function zb(e,t,{horizontal:n,minRotation:r}){const a=gt(r),i=(n?Math.sin(a):Math.cos(a))||.001,o=.75*t*(""+e).length;return Math.min(t/i,o)}class mc extends Fa{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return ve(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:a,max:i}=this;const o=c=>a=n?a:c,l=c=>i=r?i:c;if(t){const c=qn(a),d=qn(i);c<0&&d<0?l(0):c>0&&d>0&&o(0)}if(a===i){let c=i===0?1:Math.abs(i*.05);l(i+c),t||o(a-c)}this.min=a,this.max=i}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,a;return r?(a=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,a>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${a} ticks. Limiting to 1000.`),a=1e3)):(a=this.computeTickLimit(),n=n||11),n&&(a=Math.min(n,a)),a}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const a={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,o=$N(a,i);return t.bounds==="ticks"&&W0(o,this,"value"),t.reverse?(o.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),o}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const a=(r-n)/Math.max(t.length-1,1)/2;n-=a,r+=a}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return Go(t,this.chart.options.locale,this.options.ticks.format)}}class Jf extends mc{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=rt(t)?t:0,this.max=rt(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=gt(this.options.ticks.minRotation),a=(t?Math.sin(r):Math.cos(r))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/a))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}H(Jf,"id","linear"),H(Jf,"defaults",{ticks:{callback:Gl.formatters.numeric}});const ds=e=>Math.floor(Gr(e)),za=(e,t)=>Math.pow(10,ds(e)+t);function jb(e){return e/Math.pow(10,ds(e))===1}function Hb(e,t,n){const r=Math.pow(10,n),a=Math.floor(e/r);return Math.ceil(t/r)-a}function FN(e,t){const n=t-e;let r=ds(n);for(;Hb(e,t,r)>10;)r++;for(;Hb(e,t,r)<10;)r--;return Math.min(r,ds(e))}function zN(e,{min:t,max:n}){t=cn(e.min,t);const r=[],a=ds(t);let i=FN(t,n),o=i<0?Math.pow(10,Math.abs(i)):1;const l=Math.pow(10,i),c=a>i?Math.pow(10,a):0,d=Math.round((t-c)*o)/o,u=Math.floor((t-c)/l/10)*l*10;let f=Math.floor((d-u)/Math.pow(10,i)),p=cn(e.min,Math.round((c+u+f*Math.pow(10,i))*o)/o);for(;p<n;)r.push({value:p,major:jb(p),significand:f}),f>=10?f=f<15?15:20:f++,f>=20&&(i++,f=2,o=i>=0?1:o),p=Math.round((c+u+f*Math.pow(10,i))*o)/o;const h=cn(e.max,p);return r.push({value:h,major:jb(h),significand:f}),r}class Zf extends Fa{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const r=mc.prototype.parse.apply(this,[t,n]);if(r===0){this._zero=!0;return}return rt(r)&&r>0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=rt(t)?Math.max(0,t):null,this.max=rt(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!rt(this._userMin)&&(this.min=t===za(this.min,0)?za(this.min,-1):za(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,a=this.max;const i=l=>r=t?r:l,o=l=>a=n?a:l;r===a&&(r<=0?(i(1),o(10)):(i(za(r,-1)),o(za(a,1)))),r<=0&&i(za(a,-1)),a<=0&&o(za(r,1)),this.min=r,this.max=a}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=zN(n,this);return t.bounds==="ticks"&&W0(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":Go(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Gr(t),this._valueRange=Gr(this.max)-Gr(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Gr(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}H(Zf,"id","logarithmic"),H(Zf,"defaults",{ticks:{callback:Gl.formatters.logarithmic,major:{enabled:!0}}});function Qf(e){const t=e.ticks;if(t.display&&e.display){const n=ut(t.backdropPadding);return ce(t.font&&t.font.size,at.font.size)+n.height}return 0}function jN(e,t,n){return n=Ne(n)?n:[n],{w:JA(e,t.string,n),h:n.length*t.lineHeight}}function Wb(e,t,n,r,a){return e===r||e===a?{start:t-n/2,end:t+n/2}:e<r||e>a?{start:t-n,end:t}:{start:t,end:t+n}}function HN(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],a=[],i=e._pointLabels.length,o=e.options.pointLabels,l=o.centerPointLabels?Ae/i:0;for(let c=0;c<i;c++){const d=o.setContext(e.getPointLabelContext(c));a[c]=d.padding;const u=e.getPointPosition(c,e.drawingArea+a[c],l),f=it(d.font),p=jN(e.ctx,f,e._pointLabels[c]);r[c]=p;const h=dn(e.getIndexAngle(c)+l),g=Math.round(Yl(h)),b=Wb(g,u.x,p.w,0,180),v=Wb(g,u.y,p.h,90,270);WN(n,t,h,b,v)}e.setCenterPoint(t.l-n.l,n.r-t.r,t.t-n.t,n.b-t.b),e._pointLabelItems=qN(e,r,a)}function WN(e,t,n,r,a){const i=Math.abs(Math.sin(n)),o=Math.abs(Math.cos(n));let l=0,c=0;r.start<t.l?(l=(t.l-r.start)/i,e.l=Math.min(e.l,t.l-l)):r.end>t.r&&(l=(r.end-t.r)/i,e.r=Math.max(e.r,t.r+l)),a.start<t.t?(c=(t.t-a.start)/o,e.t=Math.min(e.t,t.t-c)):a.end>t.b&&(c=(a.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function UN(e,t,n){const r=e.drawingArea,{extra:a,additionalAngle:i,padding:o,size:l}=n,c=e.getPointPosition(t,r+a+o,i),d=Math.round(Yl(dn(c.angle+Ue))),u=KN(c.y,l.h,d),f=GN(d),p=XN(c.x,l.w,f);return{visible:!0,x:c.x,y:u,textAlign:f,left:p,top:u,right:p+l.w,bottom:u+l.h}}function YN(e,t){if(!t)return!0;const{left:n,top:r,right:a,bottom:i}=e;return!(mr({x:n,y:r},t)||mr({x:n,y:i},t)||mr({x:a,y:r},t)||mr({x:a,y:i},t))}function qN(e,t,n){const r=[],a=e._pointLabels.length,i=e.options,{centerPointLabels:o,display:l}=i.pointLabels,c={extra:Qf(i)/2,additionalAngle:o?Ae/a:0};let d;for(let u=0;u<a;u++){c.padding=n[u],c.size=t[u];const f=UN(e,u,c);r.push(f),l==="auto"&&(f.visible=YN(f,d),f.visible&&(d=f))}return r}function GN(e){return e===0||e===180?"center":e<180?"left":"right"}function XN(e,t,n){return n==="right"?e-=t:n==="center"&&(e-=t/2),e}function KN(e,t,n){return n===90||n===270?e-=t/2:(n>270||n<90)&&(e-=t),e}function JN(e,t,n){const{left:r,top:a,right:i,bottom:o}=n,{backdropColor:l}=t;if(!ve(l)){const c=Kr(t.borderRadius),d=ut(t.backdropPadding);e.fillStyle=l;const u=r-d.left,f=a-d.top,p=i-r+d.width,h=o-a+d.height;Object.values(c).some(g=>g!==0)?(e.beginPath(),Oi(e,{x:u,y:f,w:p,h,radius:c}),e.fill()):e.fillRect(u,f,p,h)}}function ZN(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let a=t-1;a>=0;a--){const i=e._pointLabelItems[a];if(!i.visible)continue;const o=r.setContext(e.getPointLabelContext(a));JN(n,o,i);const l=it(o.font),{x:c,y:d,textAlign:u}=i;Ia(n,e._pointLabels[a],c,d+l.lineHeight/2,l,{color:o.color,textAlign:u,textBaseline:"middle"})}}function Ub(e,t,n,r){const{ctx:a}=e;if(n)a.arc(e.xCenter,e.yCenter,t,0,We);else{let i=e.getPointPosition(0,t);a.moveTo(i.x,i.y);for(let o=1;o<r;o++)i=e.getPointPosition(o,t),a.lineTo(i.x,i.y)}}function QN(e,t,n,r,a){const i=e.ctx,o=t.circular,{color:l,lineWidth:c}=t;!o&&!r||!l||!c||n<0||(i.save(),i.strokeStyle=l,i.lineWidth=c,i.setLineDash(a.dash),i.lineDashOffset=a.dashOffset,i.beginPath(),Ub(e,n,o,r),i.closePath(),i.stroke(),i.restore())}function eD(e,t,n){return Jr(e,{label:n,index:t,type:"pointLabel"})}class us extends mc{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=ut(Qf(this.options)/2),n=this.width=this.maxWidth-t.width,r=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+n/2+t.left),this.yCenter=Math.floor(this.top+r/2+t.top),this.drawingArea=Math.floor(Math.min(n,r)/2)}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!1);this.min=rt(t)&&!isNaN(t)?t:0,this.max=rt(n)&&!isNaN(n)?n:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Qf(this.options))}generateTickLabels(t){mc.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((n,r)=>{const a=Ie(this.options.pointLabels.callback,[n,r],this);return a||a===0?a:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?HN(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,a){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-a)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,a))}getIndexAngle(t){const n=We/(this._pointLabels.length||1),r=this.options.startAngle||0;return dn(t*n+gt(r))}getDistanceFromCenterForValue(t){if(ve(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(ve(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t<n.length){const r=n[t];return eD(this.getContext(),t,r)}}getPointPosition(t,n,r=0){const a=this.getIndexAngle(t)-Ue+r;return{x:Math.cos(a)*n+this.xCenter,y:Math.sin(a)*n+this.yCenter,angle:a}}getPointPositionForValue(t,n){return this.getPointPosition(t,this.getDistanceFromCenterForValue(n))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:n,top:r,right:a,bottom:i}=this._pointLabelItems[t];return{left:n,top:r,right:a,bottom:i}}drawBackground(){const{backgroundColor:t,grid:{circular:n}}=this.options;if(t){const r=this.ctx;r.save(),r.beginPath(),Ub(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=t,r.fill(),r.restore()}}drawGrid(){const t=this.ctx,n=this.options,{angleLines:r,grid:a,border:i}=n,o=this._pointLabels.length;let l,c,d;if(n.pointLabels.display&&ZN(this,o),a.display&&this.ticks.forEach((u,f)=>{if(f!==0){c=this.getDistanceFromCenterForValue(u.value);const p=this.getContext(f),h=a.setContext(p),g=i.setContext(p);QN(this,h,c,o,g)}}),r.display){for(t.save(),l=o-1;l>=0;l--){const u=r.setContext(this.getPointLabelContext(l)),{color:f,lineWidth:p}=u;!p||!f||(t.lineWidth=p,t.strokeStyle=f,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,c=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),d=this.getPointPosition(l,c),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(d.x,d.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const a=this.getIndexAngle(0);let i,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(a),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((l,c)=>{if(c===0&&!n.reverse)return;const d=r.setContext(this.getContext(c)),u=it(d.font);if(i=this.getDistanceFromCenterForValue(this.ticks[c].value),d.showLabelBackdrop){t.font=u.string,o=t.measureText(l.label).width,t.fillStyle=d.backdropColor;const f=ut(d.backdropPadding);t.fillRect(-o/2-f.left,-i-u.size/2-f.top,o+f.width,u.size+f.height)}Ia(t,l.label,0,-i,u,{color:d.color})}),t.restore()}drawTitle(){}}H(us,"id","radialLinear"),H(us,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Gl.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),H(us,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),H(us,"descriptors",{angleLines:{_fallback:"grid"}});const gc={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Xt=Object.keys(gc);function tD(e,t){return e-t}function Yb(e,t){if(ve(t))return null;const n=e._adapter,{parser:r,round:a,isoWeekday:i}=e._parseOpts;let o=t;return typeof r=="function"&&(o=r(o)),rt(o)||(o=typeof r=="string"?n.parse(o,r):n.parse(o)),o===null?null:(a&&(o=a==="week"&&(Xr(i)||i===!0)?n.startOf(o,"isoWeek",i):n.startOf(o,a)),+o)}function qb(e,t,n,r){const a=Xt.length;for(let i=Xt.indexOf(e);i<a-1;++i){const o=gc[Xt[i]],l=o.steps?o.steps:Number.MAX_SAFE_INTEGER;if(o.common&&Math.ceil((n-t)/(l*o.size))<=r)return Xt[i]}return Xt[a-1]}function nD(e,t,n,r,a){for(let i=Xt.length-1;i>=Xt.indexOf(n);i--){const o=Xt[i];if(gc[o].common&&e._adapter.diff(a,r,o)>=t-1)return o}return Xt[n?Xt.indexOf(n):0]}function rD(e){for(let t=Xt.indexOf(e)+1,n=Xt.length;t<n;++t)if(gc[Xt[t]].common)return Xt[t]}function Gb(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:r,hi:a}=yf(n,t),i=n[r]>=t?n[r]:n[a];e[i]=!0}}function aD(e,t,n,r){const a=e._adapter,i=+a.startOf(t[0].value,r),o=t[t.length-1].value;let l,c;for(l=i;l<=o;l=+a.add(l,1,r))c=n[l],c>=0&&(t[c].major=!0);return t}function Xb(e,t,n){const r=[],a={},i=t.length;let o,l;for(o=0;o<i;++o)l=t[o],a[l]=o,r.push({value:l,major:!1});return i===0||!n?r:aD(e,r,a,n)}class fs extends Fa{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const r=t.time||(t.time={}),a=this._adapter=new $2._date(t.adapters.date);a.init(n),Wo(r.displayFormats,a.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:Yb(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,r=t.time.unit||"day";let{min:a,max:i,minDefined:o,maxDefined:l}=this.getUserBounds();function c(d){!o&&!isNaN(d.min)&&(a=Math.min(a,d.min)),!l&&!isNaN(d.max)&&(i=Math.max(i,d.max))}(!o||!l)&&(c(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&c(this.getMinMax(!1))),a=rt(a)&&!isNaN(a)?a:+n.startOf(Date.now(),r),i=rt(i)&&!isNaN(i)?i:+n.endOf(Date.now(),r)+1,this.min=Math.min(a,i-1),this.max=Math.max(a+1,i)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],r=t[t.length-1]),{min:n,max:r}}buildTicks(){const t=this.options,n=t.time,r=t.ticks,a=r.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&a.length&&(this.min=this._userMin||a[0],this.max=this._userMax||a[a.length-1]);const i=this.min,o=this.max,l=VA(a,i,o);return this._unit=n.unit||(r.autoSkip?qb(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):nD(this,l.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:rD(this._unit),this.initOffsets(a),t.reverse&&l.reverse(),Xb(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,r=0,a,i;this.options.offset&&t.length&&(a=this.getDecimalForValue(t[0]),t.length===1?n=1-a:n=(this.getDecimalForValue(t[1])-a)/2,i=this.getDecimalForValue(t[t.length-1]),t.length===1?r=i:r=(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;n=Et(n,0,o),r=Et(r,0,o),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,a=this.options,i=a.time,o=i.unit||qb(i.minUnit,n,r,this._getLabelCapacity(n)),l=ce(a.ticks.stepSize,1),c=o==="week"?i.isoWeekday:!1,d=Xr(c)||c===!0,u={};let f=n,p,h;if(d&&(f=+t.startOf(f,"isoWeek",c)),f=+t.startOf(f,d?"day":o),t.diff(r,n,o)>1e5*l)throw new Error(n+" and "+r+" are too far apart with stepSize of "+l+" "+o);const g=a.ticks.source==="data"&&this.getDataTimestamps();for(p=f,h=0;p<r;p=+t.add(p,l,o),h++)Gb(u,p,g);return(p===r||a.bounds==="ticks"||h===1)&&Gb(u,p,g),Object.keys(u).sort((b,v)=>b-v).map(b=>+b)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}format(t,n){const a=this.options.time.displayFormats,i=this._unit,o=n||a[i];return this._adapter.format(t,o)}_tickFormatFunction(t,n,r,a){const i=this.options,o=i.ticks.callback;if(o)return Ie(o,[t,n,r],this);const l=i.time.displayFormats,c=this._unit,d=this._majorUnit,u=c&&l[c],f=d&&l[d],p=r[n],h=d&&f&&p&&p.major;return this._adapter.format(t,a||(h?f:u))}generateTickLabels(t){let n,r,a;for(n=0,r=t.length;n<r;++n)a=t[n],a.label=this._tickFormatFunction(a.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,r=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,r=this.ctx.measureText(t).width,a=gt(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(a),o=Math.sin(a),l=this._resolveTickFontOptions(0).size;return{w:r*i+l*o,h:r*o+l*i}}_getLabelCapacity(t){const n=this.options.time,r=n.displayFormats,a=r[n.unit]||r.millisecond,i=this._tickFormatFunction(t,0,Xb(this,[t],this._majorUnit),a),o=this._getLabelSize(i),l=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return l>0?l:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const a=this.getMatchingVisibleMetas();if(this._normalized&&a.length)return this._cache.data=a[0].controller.getAllParsedValues(this);for(n=0,r=a.length;n<r;++n)t=t.concat(a[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,r;if(t.length)return t;const a=this.getLabels();for(n=0,r=a.length;n<r;++n)t.push(Yb(this,a[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return X0(t.sort(tD))}}H(fs,"id","time"),H(fs,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function bc(e,t,n){let r=0,a=e.length-1,i,o,l,c;n?(t>=e[r].pos&&t<=e[a].pos&&({lo:r,hi:a}=hr(e,"pos",t)),{pos:i,time:l}=e[r],{pos:o,time:c}=e[a]):(t>=e[r].time&&t<=e[a].time&&({lo:r,hi:a}=hr(e,"time",t)),{time:i,pos:l}=e[r],{time:o,pos:c}=e[a]);const d=o-i;return d?l+(c-l)*(t-i)/d:l}class ep extends fs{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=bc(n,this.min),this._tableRange=bc(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,a=[],i=[];let o,l,c,d,u;for(o=0,l=t.length;o<l;++o)d=t[o],d>=n&&d<=r&&a.push(d);if(a.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(o=0,l=a.length;o<l;++o)u=a[o+1],c=a[o-1],d=a[o],Math.round((u+c)/2)!==d&&i.push({time:d,pos:o/(l-1)});return i}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?t=this.normalize(n.concat(r)):t=n.length?n:r,t=this._cache.all=t,t}getDecimalForValue(t){return(bc(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return bc(this._table,r*this._tableRange+this._minPos,!0)}}H(ep,"id","timeseries"),H(ep,"defaults",fs.defaults);var iD=Object.freeze({__proto__:null,CategoryScale:Kf,LinearScale:Jf,LogarithmicScale:Zf,RadialLinearScale:us,TimeScale:fs,TimeSeriesScale:ep});const ea=[fO,zM,LN,iD];var oD=typeof global=="object"&&global&&global.Object===Object&&global;const Kb=oD;var sD=typeof self=="object"&&self&&self.Object===Object&&self,lD=Kb||sD||Function("return this")();const Kn=lD;var cD=Kn.Symbol;const ta=cD;var Jb=Object.prototype,dD=Jb.hasOwnProperty,uD=Jb.toString,ps=ta?ta.toStringTag:void 0;function fD(e){var t=dD.call(e,ps),n=e[ps];try{e[ps]=void 0;var r=!0}catch{}var a=uD.call(e);return r&&(t?e[ps]=n:delete e[ps]),a}var pD=Object.prototype,hD=pD.toString;function mD(e){return hD.call(e)}var gD="[object Null]",bD="[object Undefined]",Zb=ta?ta.toStringTag:void 0;function hs(e){return e==null?e===void 0?bD:gD:Zb&&Zb in Object(e)?fD(e):mD(e)}function ja(e){return e!=null&&typeof e=="object"}var yD=Array.isArray;const Li=yD;function ms(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var _D="[object AsyncFunction]",vD="[object Function]",wD="[object GeneratorFunction]",kD="[object Proxy]";function Qb(e){if(!ms(e))return!1;var t=hs(e);return t==vD||t==wD||t==_D||t==kD}var xD=Kn["__core-js_shared__"];const tp=xD;var ey=function(){var e=/[^.]+$/.exec(tp&&tp.keys&&tp.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function SD(e){return!!ey&&ey in e}var CD=Function.prototype,ED=CD.toString;function Ha(e){if(e!=null){try{return ED.call(e)}catch{}try{return e+""}catch{}}return""}var AD=/[\\^$.*+?()[\]{}|]/g,TD=/^\[object .+?Constructor\]$/,OD=Function.prototype,MD=Object.prototype,ND=OD.toString,DD=MD.hasOwnProperty,PD=RegExp("^"+ND.call(DD).replace(AD,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ID(e){if(!ms(e)||SD(e))return!1;var t=Qb(e)?PD:TD;return t.test(Ha(e))}function LD(e,t){return e==null?void 0:e[t]}function Wa(e,t){var n=LD(e,t);return ID(n)?n:void 0}var BD=Wa(Kn,"WeakMap");const np=BD;var ty=Object.create,RD=function(){function e(){}return function(t){if(!ms(t))return{};if(ty)return ty(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const VD=RD;function $D(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var FD=function(){try{var e=Wa(Object,"defineProperty");return e({},"",{}),e}catch{}}();const ny=FD;function zD(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var jD=9007199254740991,HD=/^(?:0|[1-9]\d*)$/;function WD(e,t){var n=typeof e;return t=t??jD,!!t&&(n=="number"||n!="symbol"&&HD.test(e))&&e>-1&&e%1==0&&e<t}function ry(e,t,n){t=="__proto__"&&ny?ny(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function rp(e,t){return e===t||e!==e&&t!==t}var UD=Object.prototype,YD=UD.hasOwnProperty;function ay(e,t,n){var r=e[t];(!(YD.call(e,t)&&rp(r,n))||n===void 0&&!(t in e))&&ry(e,t,n)}function yc(e,t,n,r){var a=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var l=t[i],c=r?r(n[l],e[l],l,n,e):void 0;c===void 0&&(c=e[l]),a?ry(n,l,c):ay(n,l,c)}return n}var qD=9007199254740991;function iy(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=qD}function ap(e){return e!=null&&iy(e.length)&&!Qb(e)}var GD=Object.prototype;function _c(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||GD;return e===n}function XD(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var KD="[object Arguments]";function oy(e){return ja(e)&&hs(e)==KD}var sy=Object.prototype,JD=sy.hasOwnProperty,ZD=sy.propertyIsEnumerable,QD=oy(function(){return arguments}())?oy:function(e){return ja(e)&&JD.call(e,"callee")&&!ZD.call(e,"callee")};const ly=QD;function eP(){return!1}var cy=typeof N=="object"&&N&&!N.nodeType&&N,dy=cy&&typeof module=="object"&&module&&!module.nodeType&&module,tP=dy&&dy.exports===cy,uy=tP?Kn.Buffer:void 0,nP=uy?uy.isBuffer:void 0,rP=nP||eP;const gs=rP;var aP="[object Arguments]",iP="[object Array]",oP="[object Boolean]",sP="[object Date]",lP="[object Error]",cP="[object Function]",dP="[object Map]",uP="[object Number]",fP="[object Object]",pP="[object RegExp]",hP="[object Set]",mP="[object String]",gP="[object WeakMap]",bP="[object ArrayBuffer]",yP="[object DataView]",_P="[object Float32Array]",vP="[object Float64Array]",wP="[object Int8Array]",kP="[object Int16Array]",xP="[object Int32Array]",SP="[object Uint8Array]",CP="[object Uint8ClampedArray]",EP="[object Uint16Array]",AP="[object Uint32Array]",Ke={};Ke[_P]=Ke[vP]=Ke[wP]=Ke[kP]=Ke[xP]=Ke[SP]=Ke[CP]=Ke[EP]=Ke[AP]=!0,Ke[aP]=Ke[iP]=Ke[bP]=Ke[oP]=Ke[yP]=Ke[sP]=Ke[lP]=Ke[cP]=Ke[dP]=Ke[uP]=Ke[fP]=Ke[pP]=Ke[hP]=Ke[mP]=Ke[gP]=!1;function TP(e){return ja(e)&&iy(e.length)&&!!Ke[hs(e)]}function ip(e){return function(t){return e(t)}}var fy=typeof N=="object"&&N&&!N.nodeType&&N,bs=fy&&typeof module=="object"&&module&&!module.nodeType&&module,OP=bs&&bs.exports===fy,op=OP&&Kb.process,MP=function(){try{var e=bs&&bs.require&&bs.require("util").types;return e||op&&op.binding&&op.binding("util")}catch{}}();const Bi=MP;var py=Bi&&Bi.isTypedArray,NP=py?ip(py):TP;const sp=NP;var DP=Object.prototype,PP=DP.hasOwnProperty;function hy(e,t){var n=Li(e),r=!n&&ly(e),a=!n&&!r&&gs(e),i=!n&&!r&&!a&&sp(e),o=n||r||a||i,l=o?XD(e.length,String):[],c=l.length;for(var d in e)(t||PP.call(e,d))&&!(o&&(d=="length"||a&&(d=="offset"||d=="parent")||i&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||WD(d,c)))&&l.push(d);return l}function my(e,t){return function(n){return e(t(n))}}var IP=my(Object.keys,Object);const LP=IP;var BP=Object.prototype,RP=BP.hasOwnProperty;function gy(e){if(!_c(e))return LP(e);var t=[];for(var n in Object(e))RP.call(e,n)&&n!="constructor"&&t.push(n);return t}function lp(e){return ap(e)?hy(e):gy(e)}function VP(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var $P=Object.prototype,FP=$P.hasOwnProperty;function zP(e){if(!ms(e))return VP(e);var t=_c(e),n=[];for(var r in e)r=="constructor"&&(t||!FP.call(e,r))||n.push(r);return n}function cp(e){return ap(e)?hy(e,!0):zP(e)}var jP=Wa(Object,"create");const ys=jP;function HP(){this.__data__=ys?ys(null):{},this.size=0}function WP(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var UP="__lodash_hash_undefined__",YP=Object.prototype,qP=YP.hasOwnProperty;function GP(e){var t=this.__data__;if(ys){var n=t[e];return n===UP?void 0:n}return qP.call(t,e)?t[e]:void 0}var XP=Object.prototype,KP=XP.hasOwnProperty;function JP(e){var t=this.__data__;return ys?t[e]!==void 0:KP.call(t,e)}var ZP="__lodash_hash_undefined__";function QP(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ys&&t===void 0?ZP:t,this}function Ua(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ua.prototype.clear=HP,Ua.prototype.delete=WP,Ua.prototype.get=GP,Ua.prototype.has=JP,Ua.prototype.set=QP;function eI(){this.__data__=[],this.size=0}function vc(e,t){for(var n=e.length;n--;)if(rp(e[n][0],t))return n;return-1}var tI=Array.prototype,nI=tI.splice;function rI(e){var t=this.__data__,n=vc(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():nI.call(t,n,1),--this.size,!0}function aI(e){var t=this.__data__,n=vc(t,e);return n<0?void 0:t[n][1]}function iI(e){return vc(this.__data__,e)>-1}function oI(e,t){var n=this.__data__,r=vc(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function yr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}yr.prototype.clear=eI,yr.prototype.delete=rI,yr.prototype.get=aI,yr.prototype.has=iI,yr.prototype.set=oI;var sI=Wa(Kn,"Map");const _s=sI;function lI(){this.size=0,this.__data__={hash:new Ua,map:new(_s||yr),string:new Ua}}function cI(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function wc(e,t){var n=e.__data__;return cI(t)?n[typeof t=="string"?"string":"hash"]:n.map}function dI(e){var t=wc(this,e).delete(e);return this.size-=t?1:0,t}function uI(e){return wc(this,e).get(e)}function fI(e){return wc(this,e).has(e)}function pI(e,t){var n=wc(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Ya(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ya.prototype.clear=lI,Ya.prototype.delete=dI,Ya.prototype.get=uI,Ya.prototype.has=fI,Ya.prototype.set=pI;function by(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var hI=my(Object.getPrototypeOf,Object);const yy=hI;function mI(){this.__data__=new yr,this.size=0}function gI(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function bI(e){return this.__data__.get(e)}function yI(e){return this.__data__.has(e)}var _I=200;function vI(e,t){var n=this.__data__;if(n instanceof yr){var r=n.__data__;if(!_s||r.length<_I-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ya(r)}return n.set(e,t),this.size=n.size,this}function _r(e){var t=this.__data__=new yr(e);this.size=t.size}_r.prototype.clear=mI,_r.prototype.delete=gI,_r.prototype.get=bI,_r.prototype.has=yI,_r.prototype.set=vI;function wI(e,t){return e&&yc(t,lp(t),e)}function kI(e,t){return e&&yc(t,cp(t),e)}var _y=typeof N=="object"&&N&&!N.nodeType&&N,vy=_y&&typeof module=="object"&&module&&!module.nodeType&&module,xI=vy&&vy.exports===_y,wy=xI?Kn.Buffer:void 0,ky=wy?wy.allocUnsafe:void 0;function SI(e,t){if(t)return e.slice();var n=e.length,r=ky?ky(n):new e.constructor(n);return e.copy(r),r}function CI(e,t){for(var n=-1,r=e==null?0:e.length,a=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[a++]=o)}return i}function xy(){return[]}var EI=Object.prototype,AI=EI.propertyIsEnumerable,Sy=Object.getOwnPropertySymbols,TI=Sy?function(e){return e==null?[]:(e=Object(e),CI(Sy(e),function(t){return AI.call(e,t)}))}:xy;const dp=TI;function OI(e,t){return yc(e,dp(e),t)}var MI=Object.getOwnPropertySymbols,NI=MI?function(e){for(var t=[];e;)by(t,dp(e)),e=yy(e);return t}:xy;const Cy=NI;function DI(e,t){return yc(e,Cy(e),t)}function Ey(e,t,n){var r=t(e);return Li(e)?r:by(r,n(e))}function up(e){return Ey(e,lp,dp)}function PI(e){return Ey(e,cp,Cy)}var II=Wa(Kn,"DataView");const fp=II;var LI=Wa(Kn,"Promise");const pp=LI;var BI=Wa(Kn,"Set");const hp=BI;var Ay="[object Map]",RI="[object Object]",Ty="[object Promise]",Oy="[object Set]",My="[object WeakMap]",Ny="[object DataView]",VI=Ha(fp),$I=Ha(_s),FI=Ha(pp),zI=Ha(hp),jI=Ha(np),qa=hs;(fp&&qa(new fp(new ArrayBuffer(1)))!=Ny||_s&&qa(new _s)!=Ay||pp&&qa(pp.resolve())!=Ty||hp&&qa(new hp)!=Oy||np&&qa(new np)!=My)&&(qa=function(e){var t=hs(e),n=t==RI?e.constructor:void 0,r=n?Ha(n):"";if(r)switch(r){case VI:return Ny;case $I:return Ay;case FI:return Ty;case zI:return Oy;case jI:return My}return t});const Ri=qa;var HI=Object.prototype,WI=HI.hasOwnProperty;function UI(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&WI.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var YI=Kn.Uint8Array;const kc=YI;function mp(e){var t=new e.constructor(e.byteLength);return new kc(t).set(new kc(e)),t}function qI(e,t){var n=t?mp(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var GI=/\w*$/;function XI(e){var t=new e.constructor(e.source,GI.exec(e));return t.lastIndex=e.lastIndex,t}var Dy=ta?ta.prototype:void 0,Py=Dy?Dy.valueOf:void 0;function KI(e){return Py?Object(Py.call(e)):{}}function JI(e,t){var n=t?mp(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var ZI="[object Boolean]",QI="[object Date]",eL="[object Map]",tL="[object Number]",nL="[object RegExp]",rL="[object Set]",aL="[object String]",iL="[object Symbol]",oL="[object ArrayBuffer]",sL="[object DataView]",lL="[object Float32Array]",cL="[object Float64Array]",dL="[object Int8Array]",uL="[object Int16Array]",fL="[object Int32Array]",pL="[object Uint8Array]",hL="[object Uint8ClampedArray]",mL="[object Uint16Array]",gL="[object Uint32Array]";function bL(e,t,n){var r=e.constructor;switch(t){case oL:return mp(e);case ZI:case QI:return new r(+e);case sL:return qI(e,n);case lL:case cL:case dL:case uL:case fL:case pL:case hL:case mL:case gL:return JI(e,n);case eL:return new r;case tL:case aL:return new r(e);case nL:return XI(e);case rL:return new r;case iL:return KI(e)}}function yL(e){return typeof e.constructor=="function"&&!_c(e)?VD(yy(e)):{}}var _L="[object Map]";function vL(e){return ja(e)&&Ri(e)==_L}var Iy=Bi&&Bi.isMap,wL=Iy?ip(Iy):vL;const kL=wL;var xL="[object Set]";function SL(e){return ja(e)&&Ri(e)==xL}var Ly=Bi&&Bi.isSet,CL=Ly?ip(Ly):SL;const EL=CL;var AL=1,TL=2,OL=4,By="[object Arguments]",ML="[object Array]",NL="[object Boolean]",DL="[object Date]",PL="[object Error]",Ry="[object Function]",IL="[object GeneratorFunction]",LL="[object Map]",BL="[object Number]",Vy="[object Object]",RL="[object RegExp]",VL="[object Set]",$L="[object String]",FL="[object Symbol]",zL="[object WeakMap]",jL="[object ArrayBuffer]",HL="[object DataView]",WL="[object Float32Array]",UL="[object Float64Array]",YL="[object Int8Array]",qL="[object Int16Array]",GL="[object Int32Array]",XL="[object Uint8Array]",KL="[object Uint8ClampedArray]",JL="[object Uint16Array]",ZL="[object Uint32Array]",Ye={};Ye[By]=Ye[ML]=Ye[jL]=Ye[HL]=Ye[NL]=Ye[DL]=Ye[WL]=Ye[UL]=Ye[YL]=Ye[qL]=Ye[GL]=Ye[LL]=Ye[BL]=Ye[Vy]=Ye[RL]=Ye[VL]=Ye[$L]=Ye[FL]=Ye[XL]=Ye[KL]=Ye[JL]=Ye[ZL]=!0,Ye[PL]=Ye[Ry]=Ye[zL]=!1;function xc(e,t,n,r,a,i){var o,l=t&AL,c=t&TL,d=t&OL;if(n&&(o=a?n(e,r,a,i):n(e)),o!==void 0)return o;if(!ms(e))return e;var u=Li(e);if(u){if(o=UI(e),!l)return $D(e,o)}else{var f=Ri(e),p=f==Ry||f==IL;if(gs(e))return SI(e,l);if(f==Vy||f==By||p&&!a){if(o=c||p?{}:yL(e),!l)return c?DI(e,kI(o,e)):OI(e,wI(o,e))}else{if(!Ye[f])return a?e:{};o=bL(e,f,l)}}i||(i=new _r);var h=i.get(e);if(h)return h;i.set(e,o),EL(e)?e.forEach(function(v){o.add(xc(v,t,n,v,e,i))}):kL(e)&&e.forEach(function(v,m){o.set(m,xc(v,t,n,m,e,i))});var g=d?c?PI:up:c?cp:lp,b=u?void 0:g(e);return zD(b||e,function(v,m){b&&(m=v,v=e[m]),ay(o,m,xc(v,t,n,m,e,i))}),o}var QL=1,eB=4;function vs(e){return xc(e,QL|eB)}var tB="__lodash_hash_undefined__";function nB(e){return this.__data__.set(e,tB),this}function rB(e){return this.__data__.has(e)}function Sc(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Ya;++t<n;)this.add(e[t])}Sc.prototype.add=Sc.prototype.push=nB,Sc.prototype.has=rB;function aB(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function iB(e,t){return e.has(t)}var oB=1,sB=2;function $y(e,t,n,r,a,i){var o=n&oB,l=e.length,c=t.length;if(l!=c&&!(o&&c>l))return!1;var d=i.get(e),u=i.get(t);if(d&&u)return d==t&&u==e;var f=-1,p=!0,h=n&sB?new Sc:void 0;for(i.set(e,t),i.set(t,e);++f<l;){var g=e[f],b=t[f];if(r)var v=o?r(b,g,f,t,e,i):r(g,b,f,e,t,i);if(v!==void 0){if(v)continue;p=!1;break}if(h){if(!aB(t,function(m,y){if(!iB(h,y)&&(g===m||a(g,m,n,r,i)))return h.push(y)})){p=!1;break}}else if(!(g===b||a(g,b,n,r,i))){p=!1;break}}return i.delete(e),i.delete(t),p}function lB(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function cB(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var dB=1,uB=2,fB="[object Boolean]",pB="[object Date]",hB="[object Error]",mB="[object Map]",gB="[object Number]",bB="[object RegExp]",yB="[object Set]",_B="[object String]",vB="[object Symbol]",wB="[object ArrayBuffer]",kB="[object DataView]",Fy=ta?ta.prototype:void 0,gp=Fy?Fy.valueOf:void 0;function xB(e,t,n,r,a,i,o){switch(n){case kB:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case wB:return!(e.byteLength!=t.byteLength||!i(new kc(e),new kc(t)));case fB:case pB:case gB:return rp(+e,+t);case hB:return e.name==t.name&&e.message==t.message;case bB:case _B:return e==t+"";case mB:var l=lB;case yB:var c=r&dB;if(l||(l=cB),e.size!=t.size&&!c)return!1;var d=o.get(e);if(d)return d==t;r|=uB,o.set(e,t);var u=$y(l(e),l(t),r,a,i,o);return o.delete(e),u;case vB:if(gp)return gp.call(e)==gp.call(t)}return!1}var SB=1,CB=Object.prototype,EB=CB.hasOwnProperty;function AB(e,t,n,r,a,i){var o=n&SB,l=up(e),c=l.length,d=up(t),u=d.length;if(c!=u&&!o)return!1;for(var f=c;f--;){var p=l[f];if(!(o?p in t:EB.call(t,p)))return!1}var h=i.get(e),g=i.get(t);if(h&&g)return h==t&&g==e;var b=!0;i.set(e,t),i.set(t,e);for(var v=o;++f<c;){p=l[f];var m=e[p],y=t[p];if(r)var w=o?r(y,m,p,t,e,i):r(m,y,p,e,t,i);if(!(w===void 0?m===y||a(m,y,n,r,i):w)){b=!1;break}v||(v=p=="constructor")}if(b&&!v){var _=e.constructor,k=t.constructor;_!=k&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof k=="function"&&k instanceof k)&&(b=!1)}return i.delete(e),i.delete(t),b}var TB=1,zy="[object Arguments]",jy="[object Array]",Cc="[object Object]",OB=Object.prototype,Hy=OB.hasOwnProperty;function MB(e,t,n,r,a,i){var o=Li(e),l=Li(t),c=o?jy:Ri(e),d=l?jy:Ri(t);c=c==zy?Cc:c,d=d==zy?Cc:d;var u=c==Cc,f=d==Cc,p=c==d;if(p&&gs(e)){if(!gs(t))return!1;o=!0,u=!1}if(p&&!u)return i||(i=new _r),o||sp(e)?$y(e,t,n,r,a,i):xB(e,t,c,n,r,a,i);if(!(n&TB)){var h=u&&Hy.call(e,"__wrapped__"),g=f&&Hy.call(t,"__wrapped__");if(h||g){var b=h?e.value():e,v=g?t.value():t;return i||(i=new _r),a(b,v,n,r,i)}}return p?(i||(i=new _r),AB(e,t,n,r,a,i)):!1}function Wy(e,t,n,r,a){return e===t?!0:e==null||t==null||!ja(e)&&!ja(t)?e!==e&&t!==t:MB(e,t,n,r,Wy,a)}var NB="[object Map]",DB="[object Set]",PB=Object.prototype,IB=PB.hasOwnProperty;function LB(e){if(e==null)return!0;if(ap(e)&&(Li(e)||typeof e=="string"||typeof e.splice=="function"||gs(e)||sp(e)||ly(e)))return!e.length;var t=Ri(e);if(t==NB||t==DB)return!e.size;if(_c(e))return!gy(e).length;for(var n in e)if(IB.call(e,n))return!1;return!0}function Uy(e,t){return Wy(e,t)}var BB=Object.defineProperty,RB=Object.defineProperties,VB=Object.getOwnPropertyDescriptors,Yy=Object.getOwnPropertySymbols,$B=Object.prototype.hasOwnProperty,FB=Object.prototype.propertyIsEnumerable,qy=(e,t,n)=>t in e?BB(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zB=(e,t)=>{for(var n in t||(t={}))$B.call(t,n)&&qy(e,n,t[n]);if(Yy)for(var n of Yy(t))FB.call(t,n)&&qy(e,n,t[n]);return e},jB=(e,t)=>RB(e,VB(t));function HB(e){return(e.match(/[a-zA-Z0-9]+/g)||[]).map(t=>`${t.charAt(0).toUpperCase()}${t.slice(1)}`).join("")}var na=(e,t)=>{const n={chartData:{type:Object,required:!0},options:{type:Object,required:!1},chartId:{default:e,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:()=>[]},onLabelsUpdate:{type:Function},onChartUpdate:{type:Function},onChartDestroy:{type:Function},onChartRender:{type:Function}},r=HB(e);return s.defineComponent({name:r,props:n,emits:{"labels:update":()=>!0,"chart:update":a=>!0,"chart:destroy":()=>!0,"chart:render":a=>!0},setup(a,{emit:i,expose:o}){const l=s.ref(null),c=`${a.chartId}`;let d=s.shallowRef(null);s.watch(()=>a.chartData,u,{deep:!0}),s.watch(()=>a.options,v=>{d.value&&v&&(d.value.options=vs(v),g())},{deep:!0});function u(v){if(d.value){let m=d.value;Uy(v.labels,d.value.data.labels)||(m.data.labels=v.labels,p()),Uy(v.datasets,d.value.data.datasets)||v.datasets.forEach((y,w)=>{var _,k;if(LB(y))m.data.datasets=[];else{const x=vs(m.data),C=Object.keys((k=(_=x.datasets)==null?void 0:_[w])!=null?k:{}),E=Object.keys(y);C.filter(B=>B!=="_meta"&&E.indexOf(B)===-1).forEach(B=>{m.data.datasets[w]&&delete m.data.datasets[w][B]});for(const B in y){const D=vs(y[B]);m.data.datasets[w]||(m.data.datasets[w]={}),y.hasOwnProperty(B)&&D!=null&&m&&(m.data.datasets[w][B]=D)}}}),g()}else d.value&&b(),f()}function f(){l.value?(d.value=new Re(l.value,{data:vs(a.chartData),type:t,options:vs(a.options),plugins:a.plugins}),h()):console.error(`Error on component ${r}, canvas cannot be rendered. Check if the render appends server-side`)}function p(){i("labels:update"),a.onLabelsUpdate&&a.onLabelsUpdate()}function h(){d.value&&(i("chart:render",d.value),a.onChartRender&&a.onChartRender(d.value))}function g(){d.value&&(d.value.update(),i("chart:update",d.value),a.onChartUpdate&&a.onChartUpdate(d.value))}function b(){d.value&&d.value.destroy(),i("chart:destroy"),a.onChartDestroy&&a.onChartDestroy()}return s.onMounted(f),s.onBeforeUnmount(()=>{d.value&&d.value.destroy()}),o({canvasRef:l,renderChart:f,chartInstance:d,canvasId:c,update:g}),()=>s.h("div",{style:jB(zB({maxWidth:"100%"},a.styles),{position:"relative"}),class:a.cssClasses},[s.h("canvas",{style:{maxWidth:"100%",maxHeight:"100%"},id:c,width:a.width,height:a.height,ref:l})])}})},Ec=na("bar-chart","bar"),Gy=na("doughnut-chart","doughnut"),Xy=na("line-chart","line");na("pie-chart","pie"),na("polar-chart","polarArea"),na("radar-chart","radar"),na("bubble-chart","bubble"),na("scatter-chart","scatter");const Ac=s.defineComponent({__name:"InfoDoughnutChart",props:nA,setup(e){const t=e,n=s.ref(null);Re.register(...ea);const r=s.computed(()=>{const i=t.info==="typeRef"?"types":"rarities",o={},l=Ct(t.deckCode);for(const d in l){const u=Ot().cardJsonObject[d];if(u===void 0)continue;let f=u[t.info];f==="Unit"&&(f=u.supertype==="Champion"?"Champion":"Follower"),o[f]===void 0&&(o[f]=0),o[f]+=l[d]}const c=[];for(const d in o){const u=Ee().dataJson[i].find(p=>p.nameRef===d),f={key:d,value:o[d],color:u.color,name:u.name,order:u.order};c.push(f)}return console.log(c),c.sort((d,u)=>d.order-u.order),{labels:c.map(d=>d.name),datasets:[{data:c.map(d=>d.value),backgroundColor:c.map(d=>d.color)}]}}),a={cutout:55,layout:{padding:{top:10,bottom:10}},elements:{arc:{borderWidth:0}},plugins:{legend:{display:!0,position:"right",labels:{usePointStyle:!0,generateLabels(i){const o=[],l=i.data.labels;for(let c=0;c<i.data.labels.length;c++)o.push({text:`${l[c]} (${i.data.datasets[0].data[c]})`,borderRadius:999,datasetIndex:0,index:c,fontColor:Mo("--color-0"),fillStyle:i.data.datasets[0].backgroundColor[c]});return o}}},datalabels:{display:!1}}};return(i,o)=>(s.openBlock(),s.createBlock(s.unref(Gy),{ref_key:"chart",ref:n,"chart-data":s.unref(r),options:a},null,8,["chart-data"]))}}),WB={deckCode:{type:String,required:!0,default:""},paddingTop:{type:Number,required:!1,default:10},showDataLabels:{type:Boolean,required:!1,default:!0},dataLabelsOffset:{type:Number,required:!1,default:-10},tooltipsEnabled:{type:Boolean,required:!1,default:!0},displayXScale:{type:Boolean,required:!1,default:!0},animation:{type:Boolean,required:!1}};//! moment.js
833
+ //! version : 2.29.4
834
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
835
+ //! license : MIT
836
+ //! momentjs.com
837
+ var Ky;function j(){return Ky.apply(null,arguments)}function UB(e){Ky=e}function Nn(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Ga(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function De(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function bp(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(De(e,t))return!1;return!0}function Kt(e){return e===void 0}function vr(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ws(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Jy(e,t){var n=[],r,a=e.length;for(r=0;r<a;++r)n.push(t(e[r],r));return n}function ra(e,t){for(var n in t)De(t,n)&&(e[n]=t[n]);return De(t,"toString")&&(e.toString=t.toString),De(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Jn(e,t,n,r){return S_(e,t,n,r,!0).utc()}function YB(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function ge(e){return e._pf==null&&(e._pf=YB()),e._pf}var yp;Array.prototype.some?yp=Array.prototype.some:yp=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function _p(e){if(e._isValid==null){var t=ge(e),n=yp.call(t.parsedDateParts,function(a){return a!=null}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r}return e._isValid}function Tc(e){var t=Jn(NaN);return e!=null?ra(ge(t),e):ge(t).userInvalidated=!0,t}var Zy=j.momentProperties=[],vp=!1;function wp(e,t){var n,r,a,i=Zy.length;if(Kt(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Kt(t._i)||(e._i=t._i),Kt(t._f)||(e._f=t._f),Kt(t._l)||(e._l=t._l),Kt(t._strict)||(e._strict=t._strict),Kt(t._tzm)||(e._tzm=t._tzm),Kt(t._isUTC)||(e._isUTC=t._isUTC),Kt(t._offset)||(e._offset=t._offset),Kt(t._pf)||(e._pf=ge(t)),Kt(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)r=Zy[n],a=t[r],Kt(a)||(e[r]=a);return e}function ks(e){wp(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),vp===!1&&(vp=!0,j.updateOffset(this),vp=!1)}function Dn(e){return e instanceof ks||e!=null&&e._isAMomentObject!=null}function Qy(e){j.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function yn(e,t){var n=!0;return ra(function(){if(j.deprecationHandler!=null&&j.deprecationHandler(null,e),n){var r=[],a,i,o,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
838
+ [`+i+"] ";for(o in arguments[0])De(arguments[0],o)&&(a+=o+": "+arguments[0][o]+", ");a=a.slice(0,-2)}else a=arguments[i];r.push(a)}Qy(e+`
839
+ Arguments: `+Array.prototype.slice.call(r).join("")+`
840
+ `+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var e_={};function t_(e,t){j.deprecationHandler!=null&&j.deprecationHandler(e,t),e_[e]||(Qy(t),e_[e]=!0)}j.suppressDeprecationWarnings=!1,j.deprecationHandler=null;function Zn(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function qB(e){var t,n;for(n in e)De(e,n)&&(t=e[n],Zn(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function kp(e,t){var n=ra({},e),r;for(r in t)De(t,r)&&(Ga(e[r])&&Ga(t[r])?(n[r]={},ra(n[r],e[r]),ra(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)De(e,r)&&!De(t,r)&&Ga(e[r])&&(n[r]=ra({},n[r]));return n}function xp(e){e!=null&&this.set(e)}var Sp;Object.keys?Sp=Object.keys:Sp=function(e){var t,n=[];for(t in e)De(e,t)&&n.push(t);return n};var GB={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function XB(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Zn(r)?r.call(t,n):r}function Qn(e,t,n){var r=""+Math.abs(e),a=t-r.length,i=e>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var Cp=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Oc=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ep={},Vi={};function ie(e,t,n,r){var a=r;typeof r=="string"&&(a=function(){return this[r]()}),e&&(Vi[e]=a),t&&(Vi[t[0]]=function(){return Qn(a.apply(this,arguments),t[1],t[2])}),n&&(Vi[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function KB(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function JB(e){var t=e.match(Cp),n,r;for(n=0,r=t.length;n<r;n++)Vi[t[n]]?t[n]=Vi[t[n]]:t[n]=KB(t[n]);return function(a){var i="",o;for(o=0;o<r;o++)i+=Zn(t[o])?t[o].call(a,e):t[o];return i}}function Mc(e,t){return e.isValid()?(t=n_(t,e.localeData()),Ep[t]=Ep[t]||JB(t),Ep[t](e)):e.localeData().invalidDate()}function n_(e,t){var n=5;function r(a){return t.longDateFormat(a)||a}for(Oc.lastIndex=0;n>=0&&Oc.test(e);)e=e.replace(Oc,r),Oc.lastIndex=0,n-=1;return e}var ZB={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function QB(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Cp).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var eR="Invalid date";function tR(){return this._invalidDate}var nR="%d",rR=/\d{1,2}/;function aR(e){return this._ordinal.replace("%d",e)}var iR={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function oR(e,t,n,r){var a=this._relativeTime[n];return Zn(a)?a(e,t,n,r):a.replace(/%d/i,e)}function sR(e,t){var n=this._relativeTime[e>0?"future":"past"];return Zn(n)?n(t):n.replace(/%s/i,t)}var xs={};function Dt(e,t){var n=e.toLowerCase();xs[n]=xs[n+"s"]=xs[t]=e}function _n(e){return typeof e=="string"?xs[e]||xs[e.toLowerCase()]:void 0}function Ap(e){var t={},n,r;for(r in e)De(e,r)&&(n=_n(r),n&&(t[n]=e[r]));return t}var r_={};function Pt(e,t){r_[e]=t}function lR(e){var t=[],n;for(n in e)De(e,n)&&t.push({unit:n,priority:r_[n]});return t.sort(function(r,a){return r.priority-a.priority}),t}function Nc(e){return e%4===0&&e%100!==0||e%400===0}function vn(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function we(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=vn(t)),n}function $i(e,t){return function(n){return n!=null?(a_(this,e,n),j.updateOffset(this,t),this):Dc(this,e)}}function Dc(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function a_(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&Nc(e.year())&&e.month()===1&&e.date()===29?(n=we(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),$c(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function cR(e){return e=_n(e),Zn(this[e])?this[e]():this}function dR(e,t){if(typeof e=="object"){e=Ap(e);var n=lR(e),r,a=n.length;for(r=0;r<a;r++)this[n[r].unit](e[n[r].unit])}else if(e=_n(e),Zn(this[e]))return this[e](t);return this}var i_=/\d/,un=/\d\d/,o_=/\d{3}/,Tp=/\d{4}/,Pc=/[+-]?\d{6}/,Je=/\d\d?/,s_=/\d\d\d\d?/,l_=/\d\d\d\d\d\d?/,Ic=/\d{1,3}/,Op=/\d{1,4}/,Lc=/[+-]?\d{1,6}/,Fi=/\d+/,Bc=/[+-]?\d+/,uR=/Z|[+-]\d\d:?\d\d/gi,Rc=/Z|[+-]\d\d(?::?\d\d)?/gi,fR=/[+-]?\d+(\.\d{1,3})?/,Ss=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Vc;Vc={};function X(e,t,n){Vc[e]=Zn(t)?t:function(r,a){return r&&n?n:t}}function pR(e,t){return De(Vc,e)?Vc[e](t._strict,t._locale):new RegExp(hR(e))}function hR(e){return fn(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,a,i){return n||r||a||i}))}function fn(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Mp={};function $e(e,t){var n,r=t,a;for(typeof e=="string"&&(e=[e]),vr(t)&&(r=function(i,o){o[t]=we(i)}),a=e.length,n=0;n<a;n++)Mp[e[n]]=r}function Cs(e,t){$e(e,function(n,r,a,i){a._w=a._w||{},t(n,a._w,a,i)})}function mR(e,t,n){t!=null&&De(Mp,e)&&Mp[e](t,n._a,n,e)}var It=0,wr=1,er=2,vt=3,Pn=4,kr=5,Xa=6,gR=7,bR=8;function yR(e,t){return(e%t+t)%t}var ft;Array.prototype.indexOf?ft=Array.prototype.indexOf:ft=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function $c(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=yR(t,12);return e+=(t-n)/12,n===1?Nc(e)?29:28:31-n%7%2}ie("M",["MM",2],"Mo",function(){return this.month()+1}),ie("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),ie("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Dt("month","M"),Pt("month",8),X("M",Je),X("MM",Je,un),X("MMM",function(e,t){return t.monthsShortRegex(e)}),X("MMMM",function(e,t){return t.monthsRegex(e)}),$e(["M","MM"],function(e,t){t[wr]=we(e)-1}),$e(["MMM","MMMM"],function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);a!=null?t[wr]=a:ge(n).invalidMonth=e});var _R="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),c_="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),d_=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,vR=Ss,wR=Ss;function kR(e,t){return e?Nn(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||d_).test(t)?"format":"standalone"][e.month()]:Nn(this._months)?this._months:this._months.standalone}function xR(e,t){return e?Nn(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[d_.test(t)?"format":"standalone"][e.month()]:Nn(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function SR(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=Jn([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?t==="MMM"?(a=ft.call(this._shortMonthsParse,o),a!==-1?a:null):(a=ft.call(this._longMonthsParse,o),a!==-1?a:null):t==="MMM"?(a=ft.call(this._shortMonthsParse,o),a!==-1?a:(a=ft.call(this._longMonthsParse,o),a!==-1?a:null)):(a=ft.call(this._longMonthsParse,o),a!==-1?a:(a=ft.call(this._shortMonthsParse,o),a!==-1?a:null))}function CR(e,t,n){var r,a,i;if(this._monthsParseExact)return SR.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=Jn([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(n&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function u_(e,t){var n;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=we(t);else if(t=e.localeData().monthsParse(t),!vr(t))return e}return n=Math.min(e.date(),$c(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function f_(e){return e!=null?(u_(this,e),j.updateOffset(this,!0),this):Dc(this,"Month")}function ER(){return $c(this.year(),this.month())}function AR(e){return this._monthsParseExact?(De(this,"_monthsRegex")||p_.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(De(this,"_monthsShortRegex")||(this._monthsShortRegex=vR),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function TR(e){return this._monthsParseExact?(De(this,"_monthsRegex")||p_.call(this),e?this._monthsStrictRegex:this._monthsRegex):(De(this,"_monthsRegex")||(this._monthsRegex=wR),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function p_(){function e(o,l){return l.length-o.length}var t=[],n=[],r=[],a,i;for(a=0;a<12;a++)i=Jn([2e3,a]),t.push(this.monthsShort(i,"")),n.push(this.months(i,"")),r.push(this.months(i,"")),r.push(this.monthsShort(i,""));for(t.sort(e),n.sort(e),r.sort(e),a=0;a<12;a++)t[a]=fn(t[a]),n[a]=fn(n[a]);for(a=0;a<24;a++)r[a]=fn(r[a]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}ie("Y",0,0,function(){var e=this.year();return e<=9999?Qn(e,4):"+"+e}),ie(0,["YY",2],0,function(){return this.year()%100}),ie(0,["YYYY",4],0,"year"),ie(0,["YYYYY",5],0,"year"),ie(0,["YYYYYY",6,!0],0,"year"),Dt("year","y"),Pt("year",1),X("Y",Bc),X("YY",Je,un),X("YYYY",Op,Tp),X("YYYYY",Lc,Pc),X("YYYYYY",Lc,Pc),$e(["YYYYY","YYYYYY"],It),$e("YYYY",function(e,t){t[It]=e.length===2?j.parseTwoDigitYear(e):we(e)}),$e("YY",function(e,t){t[It]=j.parseTwoDigitYear(e)}),$e("Y",function(e,t){t[It]=parseInt(e,10)});function Es(e){return Nc(e)?366:365}j.parseTwoDigitYear=function(e){return we(e)+(we(e)>68?1900:2e3)};var h_=$i("FullYear",!0);function OR(){return Nc(this.year())}function MR(e,t,n,r,a,i,o){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,a,i,o),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,a,i,o),l}function As(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Fc(e,t,n){var r=7+t-n,a=(7+As(e,0,r).getUTCDay()-t)%7;return-a+r-1}function m_(e,t,n,r,a){var i=(7+n-r)%7,o=Fc(e,r,a),l=1+7*(t-1)+i+o,c,d;return l<=0?(c=e-1,d=Es(c)+l):l>Es(e)?(c=e+1,d=l-Es(e)):(c=e,d=l),{year:c,dayOfYear:d}}function Ts(e,t,n){var r=Fc(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1,i,o;return a<1?(o=e.year()-1,i=a+xr(o,t,n)):a>xr(e.year(),t,n)?(i=a-xr(e.year(),t,n),o=e.year()+1):(o=e.year(),i=a),{week:i,year:o}}function xr(e,t,n){var r=Fc(e,t,n),a=Fc(e+1,t,n);return(Es(e)-r+a)/7}ie("w",["ww",2],"wo","week"),ie("W",["WW",2],"Wo","isoWeek"),Dt("week","w"),Dt("isoWeek","W"),Pt("week",5),Pt("isoWeek",5),X("w",Je),X("ww",Je,un),X("W",Je),X("WW",Je,un),Cs(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=we(e)});function NR(e){return Ts(e,this._week.dow,this._week.doy).week}var DR={dow:0,doy:6};function PR(){return this._week.dow}function IR(){return this._week.doy}function LR(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function BR(e){var t=Ts(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}ie("d",0,"do","day"),ie("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),ie("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),ie("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),ie("e",0,0,"weekday"),ie("E",0,0,"isoWeekday"),Dt("day","d"),Dt("weekday","e"),Dt("isoWeekday","E"),Pt("day",11),Pt("weekday",11),Pt("isoWeekday",11),X("d",Je),X("e",Je),X("E",Je),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),Cs(["dd","ddd","dddd"],function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);a!=null?t.d=a:ge(n).invalidWeekday=e}),Cs(["d","e","E"],function(e,t,n,r){t[r]=we(e)});function RR(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function VR(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Np(e,t){return e.slice(t,7).concat(e.slice(0,t))}var $R="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),g_="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),FR="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),zR=Ss,jR=Ss,HR=Ss;function WR(e,t){var n=Nn(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Np(n,this._week.dow):e?n[e.day()]:n}function UR(e){return e===!0?Np(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function YR(e){return e===!0?Np(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function qR(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=Jn([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?t==="dddd"?(a=ft.call(this._weekdaysParse,o),a!==-1?a:null):t==="ddd"?(a=ft.call(this._shortWeekdaysParse,o),a!==-1?a:null):(a=ft.call(this._minWeekdaysParse,o),a!==-1?a:null):t==="dddd"?(a=ft.call(this._weekdaysParse,o),a!==-1||(a=ft.call(this._shortWeekdaysParse,o),a!==-1)?a:(a=ft.call(this._minWeekdaysParse,o),a!==-1?a:null)):t==="ddd"?(a=ft.call(this._shortWeekdaysParse,o),a!==-1||(a=ft.call(this._weekdaysParse,o),a!==-1)?a:(a=ft.call(this._minWeekdaysParse,o),a!==-1?a:null)):(a=ft.call(this._minWeekdaysParse,o),a!==-1||(a=ft.call(this._weekdaysParse,o),a!==-1)?a:(a=ft.call(this._shortWeekdaysParse,o),a!==-1?a:null))}function GR(e,t,n){var r,a,i;if(this._weekdaysParseExact)return qR.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=Jn([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function XR(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=RR(e,this.localeData()),this.add(e-t,"d")):t}function KR(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function JR(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=VR(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function ZR(e){return this._weekdaysParseExact?(De(this,"_weekdaysRegex")||Dp.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(De(this,"_weekdaysRegex")||(this._weekdaysRegex=zR),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function QR(e){return this._weekdaysParseExact?(De(this,"_weekdaysRegex")||Dp.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(De(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=jR),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function eV(e){return this._weekdaysParseExact?(De(this,"_weekdaysRegex")||Dp.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(De(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=HR),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Dp(){function e(u,f){return f.length-u.length}var t=[],n=[],r=[],a=[],i,o,l,c,d;for(i=0;i<7;i++)o=Jn([2e3,1]).day(i),l=fn(this.weekdaysMin(o,"")),c=fn(this.weekdaysShort(o,"")),d=fn(this.weekdays(o,"")),t.push(l),n.push(c),r.push(d),a.push(l),a.push(c),a.push(d);t.sort(e),n.sort(e),r.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Pp(){return this.hours()%12||12}function tV(){return this.hours()||24}ie("H",["HH",2],0,"hour"),ie("h",["hh",2],0,Pp),ie("k",["kk",2],0,tV),ie("hmm",0,0,function(){return""+Pp.apply(this)+Qn(this.minutes(),2)}),ie("hmmss",0,0,function(){return""+Pp.apply(this)+Qn(this.minutes(),2)+Qn(this.seconds(),2)}),ie("Hmm",0,0,function(){return""+this.hours()+Qn(this.minutes(),2)}),ie("Hmmss",0,0,function(){return""+this.hours()+Qn(this.minutes(),2)+Qn(this.seconds(),2)});function b_(e,t){ie(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}b_("a",!0),b_("A",!1),Dt("hour","h"),Pt("hour",13);function y_(e,t){return t._meridiemParse}X("a",y_),X("A",y_),X("H",Je),X("h",Je),X("k",Je),X("HH",Je,un),X("hh",Je,un),X("kk",Je,un),X("hmm",s_),X("hmmss",l_),X("Hmm",s_),X("Hmmss",l_),$e(["H","HH"],vt),$e(["k","kk"],function(e,t,n){var r=we(e);t[vt]=r===24?0:r}),$e(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),$e(["h","hh"],function(e,t,n){t[vt]=we(e),ge(n).bigHour=!0}),$e("hmm",function(e,t,n){var r=e.length-2;t[vt]=we(e.substr(0,r)),t[Pn]=we(e.substr(r)),ge(n).bigHour=!0}),$e("hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[vt]=we(e.substr(0,r)),t[Pn]=we(e.substr(r,2)),t[kr]=we(e.substr(a)),ge(n).bigHour=!0}),$e("Hmm",function(e,t,n){var r=e.length-2;t[vt]=we(e.substr(0,r)),t[Pn]=we(e.substr(r))}),$e("Hmmss",function(e,t,n){var r=e.length-4,a=e.length-2;t[vt]=we(e.substr(0,r)),t[Pn]=we(e.substr(r,2)),t[kr]=we(e.substr(a))});function nV(e){return(e+"").toLowerCase().charAt(0)==="p"}var rV=/[ap]\.?m?\.?/i,aV=$i("Hours",!0);function iV(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var __={calendar:GB,longDateFormat:ZB,invalidDate:eR,ordinal:nR,dayOfMonthOrdinalParse:rR,relativeTime:iR,months:_R,monthsShort:c_,week:DR,weekdays:$R,weekdaysMin:FR,weekdaysShort:g_,meridiemParse:rV},ot={},Os={},Ms;function oV(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function v_(e){return e&&e.toLowerCase().replace("_","-")}function sV(e){for(var t=0,n,r,a,i;t<e.length;){for(i=v_(e[t]).split("-"),n=i.length,r=v_(e[t+1]),r=r?r.split("-"):null;n>0;){if(a=zc(i.slice(0,n).join("-")),a)return a;if(r&&r.length>=n&&oV(i,r)>=n-1)break;n--}t++}return Ms}function lV(e){return e.match("^[^/\\\\]*$")!=null}function zc(e){var t=null,n;if(ot[e]===void 0&&typeof module<"u"&&module&&module.exports&&lV(e))try{t=Ms._abbr,n=require,n("./locale/"+e),aa(t)}catch{ot[e]=null}return ot[e]}function aa(e,t){var n;return e&&(Kt(t)?n=Sr(e):n=Ip(e,t),n?Ms=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ms._abbr}function Ip(e,t){if(t!==null){var n,r=__;if(t.abbr=e,ot[e]!=null)t_("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ot[e]._config;else if(t.parentLocale!=null)if(ot[t.parentLocale]!=null)r=ot[t.parentLocale]._config;else if(n=zc(t.parentLocale),n!=null)r=n._config;else return Os[t.parentLocale]||(Os[t.parentLocale]=[]),Os[t.parentLocale].push({name:e,config:t}),null;return ot[e]=new xp(kp(r,t)),Os[e]&&Os[e].forEach(function(a){Ip(a.name,a.config)}),aa(e),ot[e]}else return delete ot[e],null}function cV(e,t){if(t!=null){var n,r,a=__;ot[e]!=null&&ot[e].parentLocale!=null?ot[e].set(kp(ot[e]._config,t)):(r=zc(e),r!=null&&(a=r._config),t=kp(a,t),r==null&&(t.abbr=e),n=new xp(t),n.parentLocale=ot[e],ot[e]=n),aa(e)}else ot[e]!=null&&(ot[e].parentLocale!=null?(ot[e]=ot[e].parentLocale,e===aa()&&aa(e)):ot[e]!=null&&delete ot[e]);return ot[e]}function Sr(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ms;if(!Nn(e)){if(t=zc(e),t)return t;e=[e]}return sV(e)}function dV(){return Sp(ot)}function Lp(e){var t,n=e._a;return n&&ge(e).overflow===-2&&(t=n[wr]<0||n[wr]>11?wr:n[er]<1||n[er]>$c(n[It],n[wr])?er:n[vt]<0||n[vt]>24||n[vt]===24&&(n[Pn]!==0||n[kr]!==0||n[Xa]!==0)?vt:n[Pn]<0||n[Pn]>59?Pn:n[kr]<0||n[kr]>59?kr:n[Xa]<0||n[Xa]>999?Xa:-1,ge(e)._overflowDayOfYear&&(t<It||t>er)&&(t=er),ge(e)._overflowWeeks&&t===-1&&(t=gR),ge(e)._overflowWeekday&&t===-1&&(t=bR),ge(e).overflow=t),e}var uV=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fV=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pV=/Z|[+-]\d\d(?::?\d\d)?/,jc=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Bp=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],hV=/^\/?Date\((-?\d+)/i,mV=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,gV={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function w_(e){var t,n,r=e._i,a=uV.exec(r)||fV.exec(r),i,o,l,c,d=jc.length,u=Bp.length;if(a){for(ge(e).iso=!0,t=0,n=d;t<n;t++)if(jc[t][1].exec(a[1])){o=jc[t][0],i=jc[t][2]!==!1;break}if(o==null){e._isValid=!1;return}if(a[3]){for(t=0,n=u;t<n;t++)if(Bp[t][1].exec(a[3])){l=(a[2]||" ")+Bp[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(pV.exec(a[4]))c="Z";else{e._isValid=!1;return}e._f=o+(l||"")+(c||""),Vp(e)}else e._isValid=!1}function bV(e,t,n,r,a,i){var o=[yV(e),c_.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&o.push(parseInt(i,10)),o}function yV(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function _V(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function vV(e,t,n){if(e){var r=g_.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return ge(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function wV(e,t,n){if(e)return gV[e];if(t)return 0;var r=parseInt(n,10),a=r%100,i=(r-a)/100;return i*60+a}function k_(e){var t=mV.exec(_V(e._i)),n;if(t){if(n=bV(t[4],t[3],t[2],t[5],t[6],t[7]),!vV(t[1],n,e))return;e._a=n,e._tzm=wV(t[8],t[9],t[10]),e._d=As.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),ge(e).rfc2822=!0}else e._isValid=!1}function kV(e){var t=hV.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(w_(e),e._isValid===!1)delete e._isValid;else return;if(k_(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:j.createFromInputFallback(e)}j.createFromInputFallback=yn("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function zi(e,t,n){return e??t??n}function xV(e){var t=new Date(j.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Rp(e){var t,n,r=[],a,i,o;if(!e._d){for(a=xV(e),e._w&&e._a[er]==null&&e._a[wr]==null&&SV(e),e._dayOfYear!=null&&(o=zi(e._a[It],a[It]),(e._dayOfYear>Es(o)||e._dayOfYear===0)&&(ge(e)._overflowDayOfYear=!0),n=As(o,0,e._dayOfYear),e._a[wr]=n.getUTCMonth(),e._a[er]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=a[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[vt]===24&&e._a[Pn]===0&&e._a[kr]===0&&e._a[Xa]===0&&(e._nextDay=!0,e._a[vt]=0),e._d=(e._useUTC?As:MR).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[vt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(ge(e).weekdayMismatch=!0)}}function SV(e){var t,n,r,a,i,o,l,c,d;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,o=4,n=zi(t.GG,e._a[It],Ts(Ze(),1,4).year),r=zi(t.W,1),a=zi(t.E,1),(a<1||a>7)&&(c=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,d=Ts(Ze(),i,o),n=zi(t.gg,e._a[It],d.year),r=zi(t.w,d.week),t.d!=null?(a=t.d,(a<0||a>6)&&(c=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(c=!0)):a=i),r<1||r>xr(n,i,o)?ge(e)._overflowWeeks=!0:c!=null?ge(e)._overflowWeekday=!0:(l=m_(n,r,a,i,o),e._a[It]=l.year,e._dayOfYear=l.dayOfYear)}j.ISO_8601=function(){},j.RFC_2822=function(){};function Vp(e){if(e._f===j.ISO_8601){w_(e);return}if(e._f===j.RFC_2822){k_(e);return}e._a=[],ge(e).empty=!0;var t=""+e._i,n,r,a,i,o,l=t.length,c=0,d,u;for(a=n_(e._f,e._locale).match(Cp)||[],u=a.length,n=0;n<u;n++)i=a[n],r=(t.match(pR(i,e))||[])[0],r&&(o=t.substr(0,t.indexOf(r)),o.length>0&&ge(e).unusedInput.push(o),t=t.slice(t.indexOf(r)+r.length),c+=r.length),Vi[i]?(r?ge(e).empty=!1:ge(e).unusedTokens.push(i),mR(i,r,e)):e._strict&&!r&&ge(e).unusedTokens.push(i);ge(e).charsLeftOver=l-c,t.length>0&&ge(e).unusedInput.push(t),e._a[vt]<=12&&ge(e).bigHour===!0&&e._a[vt]>0&&(ge(e).bigHour=void 0),ge(e).parsedDateParts=e._a.slice(0),ge(e).meridiem=e._meridiem,e._a[vt]=CV(e._locale,e._a[vt],e._meridiem),d=ge(e).era,d!==null&&(e._a[It]=e._locale.erasConvertYear(d,e._a[It])),Rp(e),Lp(e)}function CV(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function EV(e){var t,n,r,a,i,o,l=!1,c=e._f.length;if(c===0){ge(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<c;a++)i=0,o=!1,t=wp({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Vp(t),_p(t)&&(o=!0),i+=ge(t).charsLeftOver,i+=ge(t).unusedTokens.length*10,ge(t).score=i,l?i<r&&(r=i,n=t):(r==null||i<r||o)&&(r=i,n=t,o&&(l=!0));ra(e,n||t)}function AV(e){if(!e._d){var t=Ap(e._i),n=t.day===void 0?t.date:t.day;e._a=Jy([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),Rp(e)}}function TV(e){var t=new ks(Lp(x_(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function x_(e){var t=e._i,n=e._f;return e._locale=e._locale||Sr(e._l),t===null||n===void 0&&t===""?Tc({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Dn(t)?new ks(Lp(t)):(ws(t)?e._d=t:Nn(n)?EV(e):n?Vp(e):OV(e),_p(e)||(e._d=null),e))}function OV(e){var t=e._i;Kt(t)?e._d=new Date(j.now()):ws(t)?e._d=new Date(t.valueOf()):typeof t=="string"?kV(e):Nn(t)?(e._a=Jy(t.slice(0),function(n){return parseInt(n,10)}),Rp(e)):Ga(t)?AV(e):vr(t)?e._d=new Date(t):j.createFromInputFallback(e)}function S_(e,t,n,r,a){var i={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(Ga(e)&&bp(e)||Nn(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=n,i._i=e,i._f=t,i._strict=r,TV(i)}function Ze(e,t,n,r){return S_(e,t,n,r,!1)}var MV=yn("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ze.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Tc()}),NV=yn("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ze.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Tc()});function C_(e,t){var n,r;if(t.length===1&&Nn(t[0])&&(t=t[0]),!t.length)return Ze();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function DV(){var e=[].slice.call(arguments,0);return C_("isBefore",e)}function PV(){var e=[].slice.call(arguments,0);return C_("isAfter",e)}var IV=function(){return Date.now?Date.now():+new Date},Ns=["year","quarter","month","week","day","hour","minute","second","millisecond"];function LV(e){var t,n=!1,r,a=Ns.length;for(t in e)if(De(e,t)&&!(ft.call(Ns,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<a;++r)if(e[Ns[r]]){if(n)return!1;parseFloat(e[Ns[r]])!==we(e[Ns[r]])&&(n=!0)}return!0}function BV(){return this._isValid}function RV(){return In(NaN)}function Hc(e){var t=Ap(e),n=t.year||0,r=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,o=t.day||0,l=t.hour||0,c=t.minute||0,d=t.second||0,u=t.millisecond||0;this._isValid=LV(t),this._milliseconds=+u+d*1e3+c*6e4+l*1e3*60*60,this._days=+o+i*7,this._months=+a+r*3+n*12,this._data={},this._locale=Sr(),this._bubble()}function Wc(e){return e instanceof Hc}function $p(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function VV(e,t,n){var r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,o;for(o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&we(e[o])!==we(t[o]))&&i++;return i+a}function E_(e,t){ie(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+Qn(~~(n/60),2)+t+Qn(~~n%60,2)})}E_("Z",":"),E_("ZZ",""),X("Z",Rc),X("ZZ",Rc),$e(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Fp(Rc,e)});var $V=/([\+\-]|\d\d)/gi;function Fp(e,t){var n=(t||"").match(e),r,a,i;return n===null?null:(r=n[n.length-1]||[],a=(r+"").match($V)||["-",0,0],i=+(a[1]*60)+we(a[2]),i===0?0:a[0]==="+"?i:-i)}function zp(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(Dn(e)||ws(e)?e.valueOf():Ze(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),j.updateOffset(n,!1),n):Ze(e).local()}function jp(e){return-Math.round(e._d.getTimezoneOffset())}j.updateOffset=function(){};function FV(e,t,n){var r=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Fp(Rc,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(a=jp(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),r!==e&&(!t||this._changeInProgress?M_(this,In(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,j.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:jp(this)}function zV(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function jV(e){return this.utcOffset(0,e)}function HV(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jp(this),"m")),this}function WV(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Fp(uR,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function UV(e){return this.isValid()?(e=e?Ze(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function YV(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qV(){if(!Kt(this._isDSTShifted))return this._isDSTShifted;var e={},t;return wp(e,this),e=x_(e),e._a?(t=e._isUTC?Jn(e._a):Ze(e._a),this._isDSTShifted=this.isValid()&&VV(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function GV(){return this.isValid()?!this._isUTC:!1}function XV(){return this.isValid()?this._isUTC:!1}function A_(){return this.isValid()?this._isUTC&&this._offset===0:!1}var KV=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,JV=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function In(e,t){var n=e,r=null,a,i,o;return Wc(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:vr(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=KV.exec(e))?(a=r[1]==="-"?-1:1,n={y:0,d:we(r[er])*a,h:we(r[vt])*a,m:we(r[Pn])*a,s:we(r[kr])*a,ms:we($p(r[Xa]*1e3))*a}):(r=JV.exec(e))?(a=r[1]==="-"?-1:1,n={y:Ka(r[2],a),M:Ka(r[3],a),w:Ka(r[4],a),d:Ka(r[5],a),h:Ka(r[6],a),m:Ka(r[7],a),s:Ka(r[8],a)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(o=ZV(Ze(n.from),Ze(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),i=new Hc(n),Wc(e)&&De(e,"_locale")&&(i._locale=e._locale),Wc(e)&&De(e,"_isValid")&&(i._isValid=e._isValid),i}In.fn=Hc.prototype,In.invalid=RV;function Ka(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function T_(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function ZV(e,t){var n;return e.isValid()&&t.isValid()?(t=zp(t,e),e.isBefore(t)?n=T_(e,t):(n=T_(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function O_(e,t){return function(n,r){var a,i;return r!==null&&!isNaN(+r)&&(t_(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),a=In(n,r),M_(this,a,e),this}}function M_(e,t,n,r){var a=t._milliseconds,i=$p(t._days),o=$p(t._months);e.isValid()&&(r=r??!0,o&&u_(e,Dc(e,"Month")+o*n),i&&a_(e,"Date",Dc(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&j.updateOffset(e,i||o))}var QV=O_(1,"add"),e$=O_(-1,"subtract");function N_(e){return typeof e=="string"||e instanceof String}function t$(e){return Dn(e)||ws(e)||N_(e)||vr(e)||r$(e)||n$(e)||e===null||e===void 0}function n$(e){var t=Ga(e)&&!bp(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,o=r.length;for(a=0;a<o;a+=1)i=r[a],n=n||De(e,i);return t&&n}function r$(e){var t=Nn(e),n=!1;return t&&(n=e.filter(function(r){return!vr(r)&&N_(e)}).length===0),t&&n}function a$(e){var t=Ga(e)&&!bp(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<r.length;a+=1)i=r[a],n=n||De(e,i);return t&&n}function i$(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function o$(e,t){arguments.length===1&&(arguments[0]?t$(arguments[0])?(e=arguments[0],t=void 0):a$(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Ze(),r=zp(n,this).startOf("day"),a=j.calendarFormat(this,r)||"sameElse",i=t&&(Zn(t[a])?t[a].call(this,n):t[a]);return this.format(i||this.localeData().calendar(a,this,Ze(n)))}function s$(){return new ks(this)}function l$(e,t){var n=Dn(e)?e:Ze(e);return this.isValid()&&n.isValid()?(t=_n(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function c$(e,t){var n=Dn(e)?e:Ze(e);return this.isValid()&&n.isValid()?(t=_n(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function d$(e,t,n,r){var a=Dn(e)?e:Ze(e),i=Dn(t)?t:Ze(t);return this.isValid()&&a.isValid()&&i.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(a,n):!this.isBefore(a,n))&&(r[1]===")"?this.isBefore(i,n):!this.isAfter(i,n))):!1}function u$(e,t){var n=Dn(e)?e:Ze(e),r;return this.isValid()&&n.isValid()?(t=_n(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function f$(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function p$(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function h$(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(r=zp(e,this),!r.isValid())return NaN;switch(a=(r.utcOffset()-this.utcOffset())*6e4,t=_n(t),t){case"year":i=Uc(this,r)/12;break;case"month":i=Uc(this,r);break;case"quarter":i=Uc(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:vn(i)}function Uc(e,t){if(e.date()<t.date())return-Uc(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),a,i;return t-r<0?(a=e.clone().add(n-1,"months"),i=(t-r)/(r-a)):(a=e.clone().add(n+1,"months"),i=(t-r)/(a-r)),-(n+i)||0}j.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",j.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function m$(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function g$(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?Mc(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Zn(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Mc(n,"Z")):Mc(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function b$(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(n+r+a+i)}function y$(e){e||(e=this.isUtc()?j.defaultFormatUtc:j.defaultFormat);var t=Mc(this,e);return this.localeData().postformat(t)}function _$(e,t){return this.isValid()&&(Dn(e)&&e.isValid()||Ze(e).isValid())?In({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function v$(e){return this.from(Ze(),e)}function w$(e,t){return this.isValid()&&(Dn(e)&&e.isValid()||Ze(e).isValid())?In({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function k$(e){return this.to(Ze(),e)}function D_(e){var t;return e===void 0?this._locale._abbr:(t=Sr(e),t!=null&&(this._locale=t),this)}var P_=yn("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function I_(){return this._locale}var Yc=1e3,ji=60*Yc,qc=60*ji,L_=(365*400+97)*24*qc;function Hi(e,t){return(e%t+t)%t}function B_(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-L_:new Date(e,t,n).valueOf()}function R_(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-L_:Date.UTC(e,t,n)}function x$(e){var t,n;if(e=_n(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?R_:B_,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Hi(t+(this._isUTC?0:this.utcOffset()*ji),qc);break;case"minute":t=this._d.valueOf(),t-=Hi(t,ji);break;case"second":t=this._d.valueOf(),t-=Hi(t,Yc);break}return this._d.setTime(t),j.updateOffset(this,!0),this}function S$(e){var t,n;if(e=_n(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?R_:B_,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=qc-Hi(t+(this._isUTC?0:this.utcOffset()*ji),qc)-1;break;case"minute":t=this._d.valueOf(),t+=ji-Hi(t,ji)-1;break;case"second":t=this._d.valueOf(),t+=Yc-Hi(t,Yc)-1;break}return this._d.setTime(t),j.updateOffset(this,!0),this}function C$(){return this._d.valueOf()-(this._offset||0)*6e4}function E$(){return Math.floor(this.valueOf()/1e3)}function A$(){return new Date(this.valueOf())}function T$(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function O$(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function M$(){return this.isValid()?this.toISOString():null}function N$(){return _p(this)}function D$(){return ra({},ge(this))}function P$(){return ge(this).overflow}function I$(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ie("N",0,0,"eraAbbr"),ie("NN",0,0,"eraAbbr"),ie("NNN",0,0,"eraAbbr"),ie("NNNN",0,0,"eraName"),ie("NNNNN",0,0,"eraNarrow"),ie("y",["y",1],"yo","eraYear"),ie("y",["yy",2],0,"eraYear"),ie("y",["yyy",3],0,"eraYear"),ie("y",["yyyy",4],0,"eraYear"),X("N",Hp),X("NN",Hp),X("NNN",Hp),X("NNNN",U$),X("NNNNN",Y$),$e(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?ge(n).era=a:ge(n).invalidEra=e}),X("y",Fi),X("yy",Fi),X("yyy",Fi),X("yyyy",Fi),X("yo",q$),$e(["y","yy","yyy","yyyy"],It),$e(["yo"],function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[It]=n._locale.eraYearOrdinalParse(e,a):t[It]=parseInt(e,10)});function L$(e,t){var n,r,a,i=this._eras||Sr("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":a=j(i[n].since).startOf("day"),i[n].since=a.valueOf();break}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":a=j(i[n].until).startOf("day").valueOf(),i[n].until=a.valueOf();break}}return i}function B$(e,t,n){var r,a,i=this.eras(),o,l,c;for(e=e.toUpperCase(),r=0,a=i.length;r<a;++r)if(o=i[r].name.toUpperCase(),l=i[r].abbr.toUpperCase(),c=i[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[r];break;case"NNNN":if(o===e)return i[r];break;case"NNNNN":if(c===e)return i[r];break}else if([o,l,c].indexOf(e)>=0)return i[r]}function R$(e,t){var n=e.since<=e.until?1:-1;return t===void 0?j(e.since).year():j(e.since).year()+(t-e.offset)*n}function V$(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function $$(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function F$(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function z$(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-j(a[e].since).year())*n+a[e].offset;return this.year()}function j$(e){return De(this,"_erasNameRegex")||Wp.call(this),e?this._erasNameRegex:this._erasRegex}function H$(e){return De(this,"_erasAbbrRegex")||Wp.call(this),e?this._erasAbbrRegex:this._erasRegex}function W$(e){return De(this,"_erasNarrowRegex")||Wp.call(this),e?this._erasNarrowRegex:this._erasRegex}function Hp(e,t){return t.erasAbbrRegex(e)}function U$(e,t){return t.erasNameRegex(e)}function Y$(e,t){return t.erasNarrowRegex(e)}function q$(e,t){return t._eraYearOrdinalRegex||Fi}function Wp(){var e=[],t=[],n=[],r=[],a,i,o=this.eras();for(a=0,i=o.length;a<i;++a)t.push(fn(o[a].name)),e.push(fn(o[a].abbr)),n.push(fn(o[a].narrow)),r.push(fn(o[a].name)),r.push(fn(o[a].abbr)),r.push(fn(o[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}ie(0,["gg",2],0,function(){return this.weekYear()%100}),ie(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Gc(e,t){ie(0,[e,e.length],0,t)}Gc("gggg","weekYear"),Gc("ggggg","weekYear"),Gc("GGGG","isoWeekYear"),Gc("GGGGG","isoWeekYear"),Dt("weekYear","gg"),Dt("isoWeekYear","GG"),Pt("weekYear",1),Pt("isoWeekYear",1),X("G",Bc),X("g",Bc),X("GG",Je,un),X("gg",Je,un),X("GGGG",Op,Tp),X("gggg",Op,Tp),X("GGGGG",Lc,Pc),X("ggggg",Lc,Pc),Cs(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=we(e)}),Cs(["gg","GG"],function(e,t,n,r){t[r]=j.parseTwoDigitYear(e)});function G$(e){return V_.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function X$(e){return V_.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function K$(){return xr(this.year(),1,4)}function J$(){return xr(this.isoWeekYear(),1,4)}function Z$(){var e=this.localeData()._week;return xr(this.year(),e.dow,e.doy)}function Q$(){var e=this.localeData()._week;return xr(this.weekYear(),e.dow,e.doy)}function V_(e,t,n,r,a){var i;return e==null?Ts(this,r,a).year:(i=xr(e,r,a),t>i&&(t=i),eF.call(this,e,t,n,r,a))}function eF(e,t,n,r,a){var i=m_(e,t,n,r,a),o=As(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}ie("Q",0,"Qo","quarter"),Dt("quarter","Q"),Pt("quarter",7),X("Q",i_),$e("Q",function(e,t){t[wr]=(we(e)-1)*3});function tF(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}ie("D",["DD",2],"Do","date"),Dt("date","D"),Pt("date",9),X("D",Je),X("DD",Je,un),X("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),$e(["D","DD"],er),$e("Do",function(e,t){t[er]=we(e.match(Je)[0])});var $_=$i("Date",!0);ie("DDD",["DDDD",3],"DDDo","dayOfYear"),Dt("dayOfYear","DDD"),Pt("dayOfYear",4),X("DDD",Ic),X("DDDD",o_),$e(["DDD","DDDD"],function(e,t,n){n._dayOfYear=we(e)});function nF(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}ie("m",["mm",2],0,"minute"),Dt("minute","m"),Pt("minute",14),X("m",Je),X("mm",Je,un),$e(["m","mm"],Pn);var rF=$i("Minutes",!1);ie("s",["ss",2],0,"second"),Dt("second","s"),Pt("second",15),X("s",Je),X("ss",Je,un),$e(["s","ss"],kr);var aF=$i("Seconds",!1);ie("S",0,0,function(){return~~(this.millisecond()/100)}),ie(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ie(0,["SSS",3],0,"millisecond"),ie(0,["SSSS",4],0,function(){return this.millisecond()*10}),ie(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ie(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ie(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ie(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ie(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Dt("millisecond","ms"),Pt("millisecond",16),X("S",Ic,i_),X("SS",Ic,un),X("SSS",Ic,o_);var ia,F_;for(ia="SSSS";ia.length<=9;ia+="S")X(ia,Fi);function iF(e,t){t[Xa]=we(("0."+e)*1e3)}for(ia="S";ia.length<=9;ia+="S")$e(ia,iF);F_=$i("Milliseconds",!1),ie("z",0,0,"zoneAbbr"),ie("zz",0,0,"zoneName");function oF(){return this._isUTC?"UTC":""}function sF(){return this._isUTC?"Coordinated Universal Time":""}var z=ks.prototype;z.add=QV,z.calendar=o$,z.clone=s$,z.diff=h$,z.endOf=S$,z.format=y$,z.from=_$,z.fromNow=v$,z.to=w$,z.toNow=k$,z.get=cR,z.invalidAt=P$,z.isAfter=l$,z.isBefore=c$,z.isBetween=d$,z.isSame=u$,z.isSameOrAfter=f$,z.isSameOrBefore=p$,z.isValid=N$,z.lang=P_,z.locale=D_,z.localeData=I_,z.max=NV,z.min=MV,z.parsingFlags=D$,z.set=dR,z.startOf=x$,z.subtract=e$,z.toArray=T$,z.toObject=O$,z.toDate=A$,z.toISOString=g$,z.inspect=b$,typeof Symbol<"u"&&Symbol.for!=null&&(z[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),z.toJSON=M$,z.toString=m$,z.unix=E$,z.valueOf=C$,z.creationData=I$,z.eraName=V$,z.eraNarrow=$$,z.eraAbbr=F$,z.eraYear=z$,z.year=h_,z.isLeapYear=OR,z.weekYear=G$,z.isoWeekYear=X$,z.quarter=z.quarters=tF,z.month=f_,z.daysInMonth=ER,z.week=z.weeks=LR,z.isoWeek=z.isoWeeks=BR,z.weeksInYear=Z$,z.weeksInWeekYear=Q$,z.isoWeeksInYear=K$,z.isoWeeksInISOWeekYear=J$,z.date=$_,z.day=z.days=XR,z.weekday=KR,z.isoWeekday=JR,z.dayOfYear=nF,z.hour=z.hours=aV,z.minute=z.minutes=rF,z.second=z.seconds=aF,z.millisecond=z.milliseconds=F_,z.utcOffset=FV,z.utc=jV,z.local=HV,z.parseZone=WV,z.hasAlignedHourOffset=UV,z.isDST=YV,z.isLocal=GV,z.isUtcOffset=XV,z.isUtc=A_,z.isUTC=A_,z.zoneAbbr=oF,z.zoneName=sF,z.dates=yn("dates accessor is deprecated. Use date instead.",$_),z.months=yn("months accessor is deprecated. Use month instead",f_),z.years=yn("years accessor is deprecated. Use year instead",h_),z.zone=yn("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",zV),z.isDSTShifted=yn("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qV);function lF(e){return Ze(e*1e3)}function cF(){return Ze.apply(null,arguments).parseZone()}function z_(e){return e}var Pe=xp.prototype;Pe.calendar=XB,Pe.longDateFormat=QB,Pe.invalidDate=tR,Pe.ordinal=aR,Pe.preparse=z_,Pe.postformat=z_,Pe.relativeTime=oR,Pe.pastFuture=sR,Pe.set=qB,Pe.eras=L$,Pe.erasParse=B$,Pe.erasConvertYear=R$,Pe.erasAbbrRegex=H$,Pe.erasNameRegex=j$,Pe.erasNarrowRegex=W$,Pe.months=kR,Pe.monthsShort=xR,Pe.monthsParse=CR,Pe.monthsRegex=TR,Pe.monthsShortRegex=AR,Pe.week=NR,Pe.firstDayOfYear=IR,Pe.firstDayOfWeek=PR,Pe.weekdays=WR,Pe.weekdaysMin=YR,Pe.weekdaysShort=UR,Pe.weekdaysParse=GR,Pe.weekdaysRegex=ZR,Pe.weekdaysShortRegex=QR,Pe.weekdaysMinRegex=eV,Pe.isPM=nV,Pe.meridiem=iV;function Xc(e,t,n,r){var a=Sr(),i=Jn().set(r,t);return a[n](i,e)}function j_(e,t,n){if(vr(e)&&(t=e,e=void 0),e=e||"",t!=null)return Xc(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=Xc(e,r,n,"month");return a}function Up(e,t,n,r){typeof e=="boolean"?(vr(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,vr(t)&&(n=t,t=void 0),t=t||"");var a=Sr(),i=e?a._week.dow:0,o,l=[];if(n!=null)return Xc(t,(n+i)%7,r,"day");for(o=0;o<7;o++)l[o]=Xc(t,(o+i)%7,r,"day");return l}function dF(e,t){return j_(e,t,"months")}function uF(e,t){return j_(e,t,"monthsShort")}function fF(e,t,n){return Up(e,t,n,"weekdays")}function pF(e,t,n){return Up(e,t,n,"weekdaysShort")}function hF(e,t,n){return Up(e,t,n,"weekdaysMin")}aa("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=we(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),j.lang=yn("moment.lang is deprecated. Use moment.locale instead.",aa),j.langData=yn("moment.langData is deprecated. Use moment.localeData instead.",Sr);var Cr=Math.abs;function mF(){var e=this._data;return this._milliseconds=Cr(this._milliseconds),this._days=Cr(this._days),this._months=Cr(this._months),e.milliseconds=Cr(e.milliseconds),e.seconds=Cr(e.seconds),e.minutes=Cr(e.minutes),e.hours=Cr(e.hours),e.months=Cr(e.months),e.years=Cr(e.years),this}function H_(e,t,n,r){var a=In(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function gF(e,t){return H_(this,e,t,1)}function bF(e,t){return H_(this,e,t,-1)}function W_(e){return e<0?Math.floor(e):Math.ceil(e)}function yF(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,a,i,o,l,c;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=W_(Yp(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,a=vn(e/1e3),r.seconds=a%60,i=vn(a/60),r.minutes=i%60,o=vn(i/60),r.hours=o%24,t+=vn(o/24),c=vn(U_(t)),n+=c,t-=W_(Yp(c)),l=vn(n/12),n%=12,r.days=t,r.months=n,r.years=l,this}function U_(e){return e*4800/146097}function Yp(e){return e*146097/4800}function _F(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=_n(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+U_(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Yp(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function vF(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+we(this._months/12)*31536e6:NaN}function Er(e){return function(){return this.as(e)}}var wF=Er("ms"),kF=Er("s"),xF=Er("m"),SF=Er("h"),CF=Er("d"),EF=Er("w"),AF=Er("M"),TF=Er("Q"),OF=Er("y");function MF(){return In(this)}function NF(e){return e=_n(e),this.isValid()?this[e+"s"]():NaN}function Ja(e){return function(){return this.isValid()?this._data[e]:NaN}}var DF=Ja("milliseconds"),PF=Ja("seconds"),IF=Ja("minutes"),LF=Ja("hours"),BF=Ja("days"),RF=Ja("months"),VF=Ja("years");function $F(){return vn(this.days()/7)}var Ar=Math.round,Wi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function FF(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function zF(e,t,n,r){var a=In(e).abs(),i=Ar(a.as("s")),o=Ar(a.as("m")),l=Ar(a.as("h")),c=Ar(a.as("d")),d=Ar(a.as("M")),u=Ar(a.as("w")),f=Ar(a.as("y")),p=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||o<=1&&["m"]||o<n.m&&["mm",o]||l<=1&&["h"]||l<n.h&&["hh",l]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(p=p||u<=1&&["w"]||u<n.w&&["ww",u]),p=p||d<=1&&["M"]||d<n.M&&["MM",d]||f<=1&&["y"]||["yy",f],p[2]=t,p[3]=+e>0,p[4]=r,FF.apply(null,p)}function jF(e){return e===void 0?Ar:typeof e=="function"?(Ar=e,!0):!1}function HF(e,t){return Wi[e]===void 0?!1:t===void 0?Wi[e]:(Wi[e]=t,e==="s"&&(Wi.ss=t-1),!0)}function WF(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Wi,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Wi,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),a=this.localeData(),i=zF(this,!n,r,a),n&&(i=a.pastFuture(+this,i)),a.postformat(i)}var qp=Math.abs;function Ui(e){return(e>0)-(e<0)||+e}function Kc(){if(!this.isValid())return this.localeData().invalidDate();var e=qp(this._milliseconds)/1e3,t=qp(this._days),n=qp(this._months),r,a,i,o,l=this.asSeconds(),c,d,u,f;return l?(r=vn(e/60),a=vn(r/60),e%=60,r%=60,i=vn(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=l<0?"-":"",d=Ui(this._months)!==Ui(l)?"-":"",u=Ui(this._days)!==Ui(l)?"-":"",f=Ui(this._milliseconds)!==Ui(l)?"-":"",c+"P"+(i?d+i+"Y":"")+(n?d+n+"M":"")+(t?u+t+"D":"")+(a||r||e?"T":"")+(a?f+a+"H":"")+(r?f+r+"M":"")+(e?f+o+"S":"")):"P0D"}var Te=Hc.prototype;Te.isValid=BV,Te.abs=mF,Te.add=gF,Te.subtract=bF,Te.as=_F,Te.asMilliseconds=wF,Te.asSeconds=kF,Te.asMinutes=xF,Te.asHours=SF,Te.asDays=CF,Te.asWeeks=EF,Te.asMonths=AF,Te.asQuarters=TF,Te.asYears=OF,Te.valueOf=vF,Te._bubble=yF,Te.clone=MF,Te.get=NF,Te.milliseconds=DF,Te.seconds=PF,Te.minutes=IF,Te.hours=LF,Te.days=BF,Te.weeks=$F,Te.months=RF,Te.years=VF,Te.humanize=WF,Te.toISOString=Kc,Te.toString=Kc,Te.toJSON=Kc,Te.locale=D_,Te.localeData=I_,Te.toIsoString=yn("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kc),Te.lang=P_,ie("X",0,0,"unix"),ie("x",0,0,"valueOf"),X("x",Bc),X("X",fR),$e("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),$e("x",function(e,t,n){n._d=new Date(we(e))});//! moment.js
841
+ j.version="2.29.4",UB(Ze),j.fn=z,j.min=DV,j.max=PV,j.now=IV,j.utc=Jn,j.unix=lF,j.months=dF,j.isDate=ws,j.locale=aa,j.invalid=Tc,j.duration=In,j.isMoment=Dn,j.weekdays=fF,j.parseZone=cF,j.localeData=Sr,j.isDuration=Wc,j.monthsShort=uF,j.weekdaysMin=hF,j.defineLocale=Ip,j.updateLocale=cV,j.locales=dV,j.weekdaysShort=pF,j.normalizeUnits=_n,j.relativeTimeRounding=jF,j.relativeTimeThreshold=HF,j.calendarFormat=i$,j.prototype=z,j.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};/*!
842
+ * chartjs-adapter-moment v1.0.1
843
+ * https://www.chartjs.org
844
+ * (c) 2022 chartjs-adapter-moment Contributors
845
+ * Released under the MIT license
846
+ */const UF={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};$2._date.override(typeof j=="function"?{_id:"moment",formats:function(){return UF},parse:function(e,t){return typeof e=="string"&&typeof t=="string"?e=j(e,t):e instanceof j||(e=j(e)),e.isValid()?e.valueOf():null},format:function(e,t){return j(e).format(t)},add:function(e,t,n){return j(e).add(t,n).valueOf()},diff:function(e,t,n){return j(e).diff(j(t),n)},startOf:function(e,t,n){return e=j(e),t==="isoWeek"?(n=Math.trunc(Math.min(Math.max(0,n),6)),e.isoWeekday(n).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return j(e).endOf(t).valueOf()}}:{});/*!
847
+ * chartjs-plugin-datalabels v2.2.0
848
+ * https://chartjs-plugin-datalabels.netlify.app
849
+ * (c) 2017-2022 chartjs-plugin-datalabels contributors
850
+ * Released under the MIT license
851
+ */var Y_=function(){if(typeof window<"u"){if(window.devicePixelRatio)return window.devicePixelRatio;var e=window.screen;if(e)return(e.deviceXDPI||1)/(e.logicalXDPI||1)}return 1}(),Ds={toTextLines:function(e){var t=[],n;for(e=[].concat(e);e.length;)n=e.pop(),typeof n=="string"?t.unshift.apply(t,n.split(`
852
+ `)):Array.isArray(n)?e.push.apply(e,n):ve(e)||t.unshift(""+n);return t},textSize:function(e,t,n){var r=[].concat(t),a=r.length,i=e.font,o=0,l;for(e.font=n.string,l=0;l<a;++l)o=Math.max(e.measureText(r[l]).width,o);return e.font=i,{height:a*n.lineHeight,width:o}},bound:function(e,t,n){return Math.max(e,Math.min(t,n))},arrayDiff:function(e,t){var n=e.slice(),r=[],a,i,o,l;for(a=0,o=t.length;a<o;++a)l=t[a],i=n.indexOf(l),i===-1?r.push([l,1]):n.splice(i,1);for(a=0,o=n.length;a<o;++a)r.push([n[a],-1]);return r},rasterize:function(e){return Math.round(e*Y_)/Y_}};function Gp(e,t){var n=t.x,r=t.y;if(n===null)return{x:0,y:-1};if(r===null)return{x:1,y:0};var a=e.x-n,i=e.y-r,o=Math.sqrt(a*a+i*i);return{x:o?a/o:0,y:o?i/o:-1}}function YF(e,t,n,r,a){switch(a){case"center":n=r=0;break;case"bottom":n=0,r=1;break;case"right":n=1,r=0;break;case"left":n=-1,r=0;break;case"top":n=0,r=-1;break;case"start":n=-n,r=-r;break;case"end":break;default:a*=Math.PI/180,n=Math.cos(a),r=Math.sin(a);break}return{x:e,y:t,vx:n,vy:r}}var qF=0,q_=1,G_=2,X_=4,K_=8;function Jc(e,t,n){var r=qF;return e<n.left?r|=q_:e>n.right&&(r|=G_),t<n.top?r|=K_:t>n.bottom&&(r|=X_),r}function GF(e,t){for(var n=e.x0,r=e.y0,a=e.x1,i=e.y1,o=Jc(n,r,t),l=Jc(a,i,t),c,d,u;!(!(o|l)||o&l);)c=o||l,c&K_?(d=n+(a-n)*(t.top-r)/(i-r),u=t.top):c&X_?(d=n+(a-n)*(t.bottom-r)/(i-r),u=t.bottom):c&G_?(u=r+(i-r)*(t.right-n)/(a-n),d=t.right):c&q_&&(u=r+(i-r)*(t.left-n)/(a-n),d=t.left),c===o?(n=d,r=u,o=Jc(n,r,t)):(a=d,i=u,l=Jc(a,i,t));return{x0:n,x1:a,y0:r,y1:i}}function Zc(e,t){var n=t.anchor,r=e,a,i;return t.clamp&&(r=GF(r,t.area)),n==="start"?(a=r.x0,i=r.y0):n==="end"?(a=r.x1,i=r.y1):(a=(r.x0+r.x1)/2,i=(r.y0+r.y1)/2),YF(a,i,e.vx,e.vy,t.align)}var Qc={arc:function(e,t){var n=(e.startAngle+e.endAngle)/2,r=Math.cos(n),a=Math.sin(n),i=e.innerRadius,o=e.outerRadius;return Zc({x0:e.x+r*i,y0:e.y+a*i,x1:e.x+r*o,y1:e.y+a*o,vx:r,vy:a},t)},point:function(e,t){var n=Gp(e,t.origin),r=n.x*e.options.radius,a=n.y*e.options.radius;return Zc({x0:e.x-r,y0:e.y-a,x1:e.x+r,y1:e.y+a,vx:n.x,vy:n.y},t)},bar:function(e,t){var n=Gp(e,t.origin),r=e.x,a=e.y,i=0,o=0;return e.horizontal?(r=Math.min(e.x,e.base),i=Math.abs(e.base-e.x)):(a=Math.min(e.y,e.base),o=Math.abs(e.base-e.y)),Zc({x0:r,y0:a+o,x1:r+i,y1:a,vx:n.x,vy:n.y},t)},fallback:function(e,t){var n=Gp(e,t.origin);return Zc({x0:e.x,y0:e.y,x1:e.x+(e.width||0),y1:e.y+(e.height||0),vx:n.x,vy:n.y},t)}},Tr=Ds.rasterize;function XF(e){var t=e.borderWidth||0,n=e.padding,r=e.size.height,a=e.size.width,i=-a/2,o=-r/2;return{frame:{x:i-n.left-t,y:o-n.top-t,w:a+n.width+t*2,h:r+n.height+t*2},text:{x:i,y:o,w:a,h:r}}}function KF(e,t){var n=t.chart.getDatasetMeta(t.datasetIndex).vScale;if(!n)return null;if(n.xCenter!==void 0&&n.yCenter!==void 0)return{x:n.xCenter,y:n.yCenter};var r=n.getBasePixel();return e.horizontal?{x:r,y:null}:{x:null,y:r}}function JF(e){return e instanceof Ii?Qc.arc:e instanceof ss?Qc.point:e instanceof ls?Qc.bar:Qc.fallback}function ZF(e,t,n,r,a,i){var o=Math.PI/2;if(i){var l=Math.min(i,a/2,r/2),c=t+l,d=n+l,u=t+r-l,f=n+a-l;e.moveTo(t,d),c<u&&d<f?(e.arc(c,d,l,-Math.PI,-o),e.arc(u,d,l,-o,0),e.arc(u,f,l,0,o),e.arc(c,f,l,o,Math.PI)):c<u?(e.moveTo(c,n),e.arc(u,d,l,-o,o),e.arc(c,d,l,o,Math.PI+o)):d<f?(e.arc(c,d,l,-Math.PI,0),e.arc(c,f,l,0,Math.PI)):e.arc(c,d,l,-Math.PI,Math.PI),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,a)}function QF(e,t,n){var r=n.backgroundColor,a=n.borderColor,i=n.borderWidth;!r&&(!a||!i)||(e.beginPath(),ZF(e,Tr(t.x)+i/2,Tr(t.y)+i/2,Tr(t.w)-i,Tr(t.h)-i,n.borderRadius),e.closePath(),r&&(e.fillStyle=r,e.fill()),a&&i&&(e.strokeStyle=a,e.lineWidth=i,e.lineJoin="miter",e.stroke()))}function ez(e,t,n){var r=n.lineHeight,a=e.w,i=e.x,o=e.y+r/2;return t==="center"?i+=a/2:(t==="end"||t==="right")&&(i+=a),{h:r,w:a,x:i,y:o}}function tz(e,t,n){var r=e.shadowBlur,a=n.stroked,i=Tr(n.x),o=Tr(n.y),l=Tr(n.w);a&&e.strokeText(t,i,o,l),n.filled&&(r&&a&&(e.shadowBlur=0),e.fillText(t,i,o,l),r&&a&&(e.shadowBlur=r))}function nz(e,t,n,r){var a=r.textAlign,i=r.color,o=!!i,l=r.font,c=t.length,d=r.textStrokeColor,u=r.textStrokeWidth,f=d&&u,p;if(!(!c||!o&&!f))for(n=ez(n,a,l),e.font=l.string,e.textAlign=a,e.textBaseline="middle",e.shadowBlur=r.textShadowBlur,e.shadowColor=r.textShadowColor,o&&(e.fillStyle=i),f&&(e.lineJoin="round",e.lineWidth=u,e.strokeStyle=d),p=0,c=t.length;p<c;++p)tz(e,t[p],{stroked:f,filled:o,w:n.w,x:n.x,y:n.y+n.h*p})}var J_=function(e,t,n,r){var a=this;a._config=e,a._index=r,a._model=null,a._rects=null,a._ctx=t,a._el=n};Yn(J_.prototype,{_modelize:function(e,t,n,r){var a=this,i=a._index,o=it(Xe([n.font,{}],r,i)),l=Xe([n.color,at.color],r,i);return{align:Xe([n.align,"center"],r,i),anchor:Xe([n.anchor,"center"],r,i),area:r.chart.chartArea,backgroundColor:Xe([n.backgroundColor,null],r,i),borderColor:Xe([n.borderColor,null],r,i),borderRadius:Xe([n.borderRadius,0],r,i),borderWidth:Xe([n.borderWidth,0],r,i),clamp:Xe([n.clamp,!1],r,i),clip:Xe([n.clip,!1],r,i),color:l,display:e,font:o,lines:t,offset:Xe([n.offset,4],r,i),opacity:Xe([n.opacity,1],r,i),origin:KF(a._el,r),padding:ut(Xe([n.padding,4],r,i)),positioner:JF(a._el),rotation:Xe([n.rotation,0],r,i)*(Math.PI/180),size:Ds.textSize(a._ctx,t,o),textAlign:Xe([n.textAlign,"start"],r,i),textShadowBlur:Xe([n.textShadowBlur,0],r,i),textShadowColor:Xe([n.textShadowColor,l],r,i),textStrokeColor:Xe([n.textStrokeColor,l],r,i),textStrokeWidth:Xe([n.textStrokeWidth,0],r,i)}},update:function(e){var t=this,n=null,r=null,a=t._index,i=t._config,o,l,c,d=Xe([i.display,!0],e,a);d&&(o=e.dataset.data[a],l=ce(Ie(i.formatter,[o,e]),o),c=ve(l)?[]:Ds.toTextLines(l),c.length&&(n=t._modelize(d,c,i,e),r=XF(n))),t._model=n,t._rects=r},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(e,t){var n=this,r=e.ctx,a=n._model,i=n._rects,o;this.visible()&&(r.save(),a.clip&&(o=a.area,r.beginPath(),r.rect(o.left,o.top,o.right-o.left,o.bottom-o.top),r.clip()),r.globalAlpha=Ds.bound(0,a.opacity,1),r.translate(Tr(t.x),Tr(t.y)),r.rotate(a.rotation),QF(r,i.frame,a),nz(r,a.lines,i.text,a),r.restore())}});var rz=Number.MIN_SAFE_INTEGER||-9007199254740991,az=Number.MAX_SAFE_INTEGER||9007199254740991;function Ps(e,t,n){var r=Math.cos(n),a=Math.sin(n),i=t.x,o=t.y;return{x:i+r*(e.x-i)-a*(e.y-o),y:o+a*(e.x-i)+r*(e.y-o)}}function Z_(e,t){var n=az,r=rz,a=t.origin,i,o,l,c,d;for(i=0;i<e.length;++i)o=e[i],l=o.x-a.x,c=o.y-a.y,d=t.vx*l+t.vy*c,n=Math.min(n,d),r=Math.max(r,d);return{min:n,max:r}}function ed(e,t){var n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r);return{vx:(t.x-e.x)/a,vy:(t.y-e.y)/a,origin:e,ln:a}}var Q_=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};Yn(Q_.prototype,{center:function(){var e=this._rect;return{x:e.x+e.w/2,y:e.y+e.h/2}},update:function(e,t,n){this._rotation=n,this._rect={x:t.x+e.x,y:t.y+e.y,w:t.w,h:t.h}},contains:function(e){var t=this,n=1,r=t._rect;return e=Ps(e,t.center(),-t._rotation),!(e.x<r.x-n||e.y<r.y-n||e.x>r.x+r.w+n*2||e.y>r.y+r.h+n*2)},intersects:function(e){var t=this._points(),n=e._points(),r=[ed(t[0],t[1]),ed(t[0],t[3])],a,i,o;for(this._rotation!==e._rotation&&r.push(ed(n[0],n[1]),ed(n[0],n[3])),a=0;a<r.length;++a)if(i=Z_(t,r[a]),o=Z_(n,r[a]),i.max<o.min||o.max<i.min)return!1;return!0},_points:function(){var e=this,t=e._rect,n=e._rotation,r=e.center();return[Ps({x:t.x,y:t.y},r,n),Ps({x:t.x+t.w,y:t.y},r,n),Ps({x:t.x+t.w,y:t.y+t.h},r,n),Ps({x:t.x,y:t.y+t.h},r,n)]}});function ev(e,t,n){var r=t.positioner(e,t),a=r.vx,i=r.vy;if(!a&&!i)return{x:r.x,y:r.y};var o=n.w,l=n.h,c=t.rotation,d=Math.abs(o/2*Math.cos(c))+Math.abs(l/2*Math.sin(c)),u=Math.abs(o/2*Math.sin(c))+Math.abs(l/2*Math.cos(c)),f=1/Math.max(Math.abs(a),Math.abs(i));return d*=a*f,u*=i*f,d+=t.offset*a,u+=t.offset*i,{x:r.x+d,y:r.y+u}}function iz(e,t){var n,r,a,i;for(n=e.length-1;n>=0;--n)for(a=e[n].$layout,r=n-1;r>=0&&a._visible;--r)i=e[r].$layout,i._visible&&a._box.intersects(i._box)&&t(a,i);return e}function oz(e){var t,n,r,a,i,o,l;for(t=0,n=e.length;t<n;++t)r=e[t],a=r.$layout,a._visible&&(l=new Proxy(r._el,{get:(c,d)=>c.getProps([d],!0)[d]}),i=r.geometry(),o=ev(l,r.model(),i),a._box.update(o,i,r.rotation()));return iz(e,function(c,d){var u=c._hidable,f=d._hidable;u&&f||f?d._visible=!1:u&&(c._visible=!1)})}var Is={prepare:function(e){var t=[],n,r,a,i,o;for(n=0,a=e.length;n<a;++n)for(r=0,i=e[n].length;r<i;++r)o=e[n][r],t.push(o),o.$layout={_box:new Q_,_hidable:!1,_visible:!0,_set:n,_idx:o._index};return t.sort(function(l,c){var d=l.$layout,u=c.$layout;return d._idx===u._idx?u._set-d._set:u._idx-d._idx}),this.update(t),t},update:function(e){var t=!1,n,r,a,i,o;for(n=0,r=e.length;n<r;++n)a=e[n],i=a.model(),o=a.$layout,o._hidable=i&&i.display==="auto",o._visible=a.visible(),t|=o._hidable;t&&oz(e)},lookup:function(e,t){var n,r;for(n=e.length-1;n>=0;--n)if(r=e[n].$layout,r&&r._visible&&r._box.contains(t))return e[n];return null},draw:function(e,t){var n,r,a,i,o,l;for(n=0,r=t.length;n<r;++n)a=t[n],i=a.$layout,i._visible&&(o=a.geometry(),l=ev(a._el,a.model(),o),i._box.update(l,o,a.rotation()),a.draw(e,l))}},sz=function(e){if(ve(e))return null;var t=e,n,r,a;if(me(e))if(!ve(e.label))t=e.label;else if(!ve(e.r))t=e.r;else for(t="",n=Object.keys(e),a=0,r=n.length;a<r;++a)t+=(a!==0?", ":"")+n[a]+": "+e[n[a]];return""+t},lz={align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:sz,labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},Jt="$datalabels",tv="$default";function cz(e,t){var n=e.datalabels,r={},a=[],i,o;return n===!1?null:(n===!0&&(n={}),t=Yn({},[t,n]),i=t.labels||{},o=Object.keys(i),delete t.labels,o.length?o.forEach(function(l){i[l]&&a.push(Yn({},[t,i[l],{_key:l}]))}):a.push(t),r=a.reduce(function(l,c){return Be(c.listeners||{},function(d,u){l[u]=l[u]||{},l[u][c._key||tv]=d}),delete c.listeners,l},{}),{labels:a,listeners:r})}function Xp(e,t,n,r){if(t){var a=n.$context,i=n.$groups,o;t[i._set]&&(o=t[i._set][i._key],o&&Ie(o,[a,r])===!0&&(e[Jt]._dirty=!0,n.update(a)))}}function dz(e,t,n,r,a){var i,o;!n&&!r||(n?r?n!==r&&(o=i=!0):o=!0:i=!0,o&&Xp(e,t.leave,n,a),i&&Xp(e,t.enter,r,a))}function uz(e,t){var n=e[Jt],r=n._listeners,a,i;if(!(!r.enter&&!r.leave)){if(t.type==="mousemove")i=Is.lookup(n._labels,t);else if(t.type!=="mouseout")return;a=n._hovered,n._hovered=i,dz(e,r,a,i,t)}}function fz(e,t){var n=e[Jt],r=n._listeners.click,a=r&&Is.lookup(n._labels,t);a&&Xp(e,r,a,t)}var td={id:"datalabels",defaults:lz,beforeInit:function(e){e[Jt]={_actives:[]}},beforeUpdate:function(e){var t=e[Jt];t._listened=!1,t._listeners={},t._datasets=[],t._labels=[]},afterDatasetUpdate:function(e,t,n){var r=t.index,a=e[Jt],i=a._datasets[r]=[],o=e.isDatasetVisible(r),l=e.data.datasets[r],c=cz(l,n),d=t.meta.data||[],u=e.ctx,f,p,h,g,b,v,m,y;for(u.save(),f=0,h=d.length;f<h;++f)if(m=d[f],m[Jt]=[],o&&m&&e.getDataVisibility(f)&&!m.skip)for(p=0,g=c.labels.length;p<g;++p)b=c.labels[p],v=b._key,y=new J_(b,u,m,f),y.$groups={_set:r,_key:v||tv},y.$context={active:!1,chart:e,dataIndex:f,dataset:l,datasetIndex:r},y.update(y.$context),m[Jt].push(y),i.push(y);u.restore(),Yn(a._listeners,c.listeners,{merger:function(w,_,k){_[w]=_[w]||{},_[w][t.index]=k[w],a._listened=!0}})},afterUpdate:function(e){e[Jt]._labels=Is.prepare(e[Jt]._datasets)},afterDatasetsDraw:function(e){Is.draw(e,e[Jt]._labels)},beforeEvent:function(e,t){if(e[Jt]._listened){var n=t.event;switch(n.type){case"mousemove":case"mouseout":uz(e,n);break;case"click":fz(e,n);break}}},afterEvent:function(e){var t=e[Jt],n=t._actives,r=t._actives=e.getActiveElements(),a=Ds.arrayDiff(n,r),i,o,l,c,d,u,f;for(i=0,o=a.length;i<o;++i)if(d=a[i],d[1])for(f=d[0].element[Jt]||[],l=0,c=f.length;l<c;++l)u=f[l],u.$context.active=d[1]===1,u.update(u.$context);(t._dirty||a.length)&&(Is.update(t._labels),e.render()),delete t._dirty}};/*!
853
+ * chartjs-plugin-annotation v2.2.1
854
+ * https://www.chartjs.org/chartjs-plugin-annotation/index
855
+ * (c) 2023 chartjs-plugin-annotation Contributors
856
+ * Released under the MIT License
857
+ */const nv={modes:{point(e,t){return nd(e,t,{intersect:!0})},nearest(e,t,n){return mz(e,t,n)},x(e,t,n){return nd(e,t,{intersect:n.intersect,axis:"x"})},y(e,t,n){return nd(e,t,{intersect:n.intersect,axis:"y"})}}};function Kp(e,t,n){return(nv.modes[n.mode]||nv.modes.nearest)(e,t,n)}function pz(e,t,n){return n!=="x"&&n!=="y"?e.inRange(t.x,t.y,"x",!0)||e.inRange(t.x,t.y,"y",!0):e.inRange(t.x,t.y,n,!0)}function hz(e,t,n){return n==="x"?{x:e.x,y:t.y}:n==="y"?{x:t.x,y:e.y}:t}function nd(e,t,n){return e.visibleElements.filter(r=>n.intersect?r.inRange(t.x,t.y):pz(r,t,n.axis))}function mz(e,t,n){let r=Number.POSITIVE_INFINITY;return nd(e,t,n).reduce((a,i)=>{const o=i.getCenterPoint(),l=hz(t,o,n.axis),c=Ti(t,l);return c<r?(a=[i],r=c):c===r&&a.push(i),a},[]).sort((a,i)=>a._index-i._index).slice(0,1)}const gz=(e,t)=>t>e||e.length>t.length&&e.slice(0,t.length)===t,Za=.001,rd=(e,t,n)=>Math.min(n,Math.max(t,e));function bz(e,t,n){for(const r of Object.keys(e))e[r]=rd(e[r],t,n);return e}function yz(e,t,n,r){if(!e||!t||n<=0)return!1;const a=r/2;return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<=Math.pow(n+a,2)}function rv(e,{x:t,y:n,x2:r,y2:a},i,o){const l=o/2,c=e.x>=t-l-Za&&e.x<=r+l+Za,d=e.y>=n-l-Za&&e.y<=a+l+Za;return i==="x"?c:(i==="y"||c)&&d}function Yi(e,t){const{centerX:n,centerY:r}=e.getProps(["centerX","centerY"],t);return{x:n,y:r}}function _z(e,t,n,r=!0){const a=n.split(".");let i=0;for(const o of t.split(".")){const l=a[i++];if(parseInt(o,10)<parseInt(l,10))break;if(gz(l,o)){if(r)throw new Error(`${e} v${n} is not supported. v${t} or newer is required.`);return!1}}return!0}const av=e=>typeof e=="string"&&e.endsWith("%"),iv=e=>parseFloat(e)/100,ov=e=>rd(iv(e),0,1);function Jp(e,t){return t==="start"?0:t==="end"?e:av(t)?ov(t)*e:e/2}function oa(e,t,n=!0){return typeof t=="number"?t:av(t)?(n?ov(t):iv(t))*e:e}function vz(e,t){const{x:n,width:r}=e,a=t.textAlign;return a==="center"?n+r/2:a==="end"||a==="right"?n+r:n}function Zp(e,t="center"){return me(e)?{x:ce(e.x,t),y:ce(e.y,t)}:(e=ce(e,t),{x:e,y:e})}function sv(e){return e&&(Yt(e.xValue)||Yt(e.yValue))}function Ls(e,t,n,r=!1){const a=n.init;if(a){if(a===!0)return cv(t,r)}else return;return wz(t,r,Ie(a,[{chart:e,properties:t,options:n}]))}function lv(e,t,n){let r=!1;return t.forEach(a=>{qt(e[a])?(r=!0,n[a]=e[a]):Yt(n[a])&&delete n[a]}),r}function cv({centerX:e,centerY:t},n){return n?{centerX:e,centerY:t,radius:0,width:0,height:0}:{x:e,y:t,x2:e,y2:t,width:0,height:0}}function wz(e,t,n){if(n===!0)return cv(e,t);if(me(n))return n}const Qp=new Map,kz=e=>isNaN(e)||e<=0,xz=e=>e.reduce(function(t,n){return t+=n.string,t},"");function ad(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object HTMLImageElement]"||t==="[object HTMLCanvasElement]"}}function eh(e,{x:t,y:n},r){r&&(e.translate(t,n),e.rotate(gt(r)),e.translate(-t,-n))}function sa(e,t){if(t&&t.borderWidth)return e.lineCap=t.borderCapStyle,e.setLineDash(t.borderDash),e.lineDashOffset=t.borderDashOffset,e.lineJoin=t.borderJoinStyle,e.lineWidth=t.borderWidth,e.strokeStyle=t.borderColor,!0}function qi(e,t){e.shadowColor=t.backgroundShadowColor,e.shadowBlur=t.shadowBlur,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY}function th(e,t){const n=t.content;if(ad(n))return{width:oa(n.width,t.width),height:oa(n.height,t.height)};const r=t.font,a=Ne(r)?r.map(c=>it(c)):[it(r)],i=t.textStrokeWidth,o=Ne(n)?n:[n],l=o.join()+xz(a)+i+(e._measureText?"-spriting":"");return Qp.has(l)||Qp.set(l,Tz(e,o,a,i)),Qp.get(l)}function dv(e,t,n){const{x:r,y:a,width:i,height:o}=t;e.save(),qi(e,n);const l=sa(e,n);e.fillStyle=n.backgroundColor,e.beginPath(),Oi(e,{x:r,y:a,w:i,h:o,radius:bz(Kr(n.borderRadius),0,Math.min(i,o)/2)}),e.closePath(),e.fill(),l&&(e.shadowColor=n.borderShadowColor,e.stroke()),e.restore()}function Sz(e,t,n){const r=n.content;if(ad(r)){e.save(),e.globalAlpha=Nz(n.opacity,r.style.opacity),e.drawImage(r,t.x,t.y,t.width,t.height),e.restore();return}const a=Ne(r)?r:[r],i=n.font,o=Ne(i)?i.map(f=>it(f)):[it(i)],l=n.color,c=Ne(l)?l:[l],d=vz(t,n),u=t.y+n.textStrokeWidth/2;e.save(),e.textBaseline="middle",e.textAlign=n.textAlign,Cz(e,n)&&Oz(e,{x:d,y:u},a,o),Mz(e,{x:d,y:u},a,{fonts:o,colors:c}),e.restore()}function Cz(e,t){if(t.textStrokeWidth>0)return e.lineJoin="round",e.miterLimit=2,e.lineWidth=t.textStrokeWidth,e.strokeStyle=t.textStrokeColor,!0}function Ez(e,t,n,r){const{radius:a,options:i}=t,o=i.pointStyle,l=i.rotation;let c=(l||0)*bf;if(ad(o)){e.save(),e.translate(n,r),e.rotate(c),e.drawImage(o,-o.width/2,-o.height/2,o.width,o.height),e.restore();return}kz(a)||Az(e,{x:n,y:r,radius:a,rotation:l,style:o,rad:c})}function Az(e,{x:t,y:n,radius:r,rotation:a,style:i,rad:o}){let l,c,d,u;switch(e.beginPath(),i){default:e.arc(t,n,r,0,We),e.closePath();break;case"triangle":e.moveTo(t+Math.sin(o)*r,n-Math.cos(o)*r),o+=Ul,e.lineTo(t+Math.sin(o)*r,n-Math.cos(o)*r),o+=Ul,e.lineTo(t+Math.sin(o)*r,n-Math.cos(o)*r),e.closePath();break;case"rectRounded":u=r*.516,d=r-u,l=Math.cos(o+bn)*d,c=Math.sin(o+bn)*d,e.arc(t-l,n-c,u,o-Ae,o-Ue),e.arc(t+c,n-l,u,o-Ue,o),e.arc(t+l,n+c,u,o,o+Ue),e.arc(t-c,n+l,u,o+Ue,o+Ae),e.closePath();break;case"rect":if(!a){d=Math.SQRT1_2*r,e.rect(t-d,n-d,2*d,2*d);break}o+=bn;case"rectRot":l=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-l,n-c),e.lineTo(t+c,n-l),e.lineTo(t+l,n+c),e.lineTo(t-c,n+l),e.closePath();break;case"crossRot":o+=bn;case"cross":l=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-l,n-c),e.lineTo(t+l,n+c),e.moveTo(t+c,n-l),e.lineTo(t-c,n+l);break;case"star":l=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-l,n-c),e.lineTo(t+l,n+c),e.moveTo(t+c,n-l),e.lineTo(t-c,n+l),o+=bn,l=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-l,n-c),e.lineTo(t+l,n+c),e.moveTo(t+c,n-l),e.lineTo(t-c,n+l);break;case"line":l=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-l,n-c),e.lineTo(t+l,n+c);break;case"dash":e.moveTo(t,n),e.lineTo(t+Math.cos(o)*r,n+Math.sin(o)*r);break}e.fill()}function Tz(e,t,n,r){e.save();const a=t.length;let i=0,o=r;for(let l=0;l<a;l++){const c=n[Math.min(l,n.length-1)];e.font=c.string;const d=t[l];i=Math.max(i,e.measureText(d).width+r),o+=c.lineHeight}return e.restore(),{width:i,height:o}}function Oz(e,{x:t,y:n},r,a){e.beginPath();let i=0;r.forEach(function(o,l){const c=a[Math.min(l,a.length-1)],d=c.lineHeight;e.font=c.string,e.strokeText(o,t,n+d/2+i),i+=d}),e.stroke()}function Mz(e,{x:t,y:n},r,{fonts:a,colors:i}){let o=0;r.forEach(function(l,c){const d=i[Math.min(c,i.length-1)],u=a[Math.min(c,a.length-1)],f=u.lineHeight;e.beginPath(),e.font=u.string,e.fillStyle=d,e.fillText(l,t,n+f/2+o),o+=f,e.fill()})}function Nz(e,t){const n=Xr(e)?e:t;return Xr(n)?rd(n,0,1):1}const uv={xScaleID:{min:"xMin",max:"xMax",start:"left",end:"right",startProp:"x",endProp:"x2"},yScaleID:{min:"yMin",max:"yMax",start:"bottom",end:"top",startProp:"y",endProp:"y2"}};function Gi(e,t,n){return t=typeof t=="number"?t:e.parse(t),rt(t)?e.getPixelForValue(t):n}function Qa(e,t,n){const r=t[n];if(r||n==="scaleID")return r;const a=n.charAt(0),i=Object.values(e).filter(o=>o.axis&&o.axis===a);return i.length?i[0].id:a}function fv(e,t){if(e){const n=e.options.reverse,r=Gi(e,t.min,n?t.end:t.start),a=Gi(e,t.max,n?t.start:t.end);return{start:r,end:a}}}function pv(e,t){const{chartArea:n,scales:r}=e,a=r[Qa(r,t,"xScaleID")],i=r[Qa(r,t,"yScaleID")];let o=n.width/2,l=n.height/2;return a&&(o=Gi(a,t.xValue,a.left+a.width/2)),i&&(l=Gi(i,t.yValue,i.top+i.height/2)),{x:o,y:l}}function nh(e,t){const n=e.scales,r=n[Qa(n,t,"xScaleID")],a=n[Qa(n,t,"yScaleID")];if(!r&&!a)return{};let{left:i,right:o}=r||e.chartArea,{top:l,bottom:c}=a||e.chartArea;const d=gv(r,{min:t.xMin,max:t.xMax,start:i,end:o});i=d.start,o=d.end;const u=gv(a,{min:t.yMin,max:t.yMax,start:c,end:l});return l=u.start,c=u.end,{x:i,y:l,x2:o,y2:c,width:o-i,height:c-l,centerX:i+(o-i)/2,centerY:l+(c-l)/2}}function hv(e,t){if(!sv(t)){const n=nh(e,t);let r=t.radius;(!r||isNaN(r))&&(r=Math.min(n.width,n.height)/2,t.radius=r);const a=r*2,i=n.centerX+t.xAdjust,o=n.centerY+t.yAdjust;return{x:i-r,y:o-r,x2:i+r,y2:o+r,centerX:i,centerY:o,width:a,height:a,radius:r}}return Pz(e,t)}function Dz(e,t){const{scales:n,chartArea:r}=e,a=n[t.scaleID],i={x:r.left,y:r.top,x2:r.right,y2:r.bottom};return a?Iz(a,i,t):Lz(n,i,t),i}function mv(e,t,n){const r=nh(e,t);return r.initProperties=Ls(e,r,t,n),r.elements=[{type:"label",optionScope:"label",properties:Vz(e,r,t),initProperties:r.initProperties}],r}function Pz(e,t){const n=pv(e,t),r=t.radius*2;return{x:n.x-t.radius+t.xAdjust,y:n.y-t.radius+t.yAdjust,x2:n.x+t.radius+t.xAdjust,y2:n.y+t.radius+t.yAdjust,centerX:n.x+t.xAdjust,centerY:n.y+t.yAdjust,radius:t.radius,width:r,height:r}}function gv(e,t){const n=fv(e,t)||t;return{start:Math.min(n.start,n.end),end:Math.max(n.start,n.end)}}function Iz(e,t,n){const r=Gi(e,n.value,NaN),a=Gi(e,n.endValue,r);e.isHorizontal()?(t.x=r,t.x2=a):(t.y=r,t.y2=a)}function Lz(e,t,n){for(const r of Object.keys(uv)){const a=e[Qa(e,n,r)];if(a){const{min:i,max:o,start:l,end:c,startProp:d,endProp:u}=uv[r],f=fv(a,{min:n[i],max:n[o],start:a[l],end:a[c]});t[d]=f.start,t[u]=f.end}}}function Bz({properties:e,options:t},n,r,a){const{x:i,x2:o,width:l}=e;return bv({start:i,end:o,size:l,borderWidth:t.borderWidth},{position:r.x,padding:{start:a.left,end:a.right},adjust:t.label.xAdjust,size:n.width})}function Rz({properties:e,options:t},n,r,a){const{y:i,y2:o,height:l}=e;return bv({start:i,end:o,size:l,borderWidth:t.borderWidth},{position:r.y,padding:{start:a.top,end:a.bottom},adjust:t.label.yAdjust,size:n.height})}function bv(e,t){const{start:n,end:r,borderWidth:a}=e,{position:i,padding:{start:o,end:l},adjust:c}=t,d=r-a-n-o-l-t.size;return n+a/2+c+Jp(d,i)}function Vz(e,t,n){const r=n.label;r.backgroundColor="transparent",r.callout.display=!1;const a=Zp(r.position),i=ut(r.padding),o=th(e.ctx,r),l=Bz({properties:t,options:n},o,a,i),c=Rz({properties:t,options:n},o,a,i),d=o.width+i.width,u=o.height+i.height;return{x:l,y:c,x2:l+d,y2:c+u,width:d,height:u,centerX:l+d/2,centerY:c+u/2,rotation:r.rotation}}function ei(e,t,n){const r=Math.cos(n),a=Math.sin(n),i=t.x,o=t.y;return{x:i+r*(e.x-i)-a*(e.y-o),y:o+a*(e.x-i)+r*(e.y-o)}}const rh=["enter","leave"],ah=rh.concat("click");function $z(e,t,n){t.listened=lv(n,ah,t.listeners),t.moveListened=!1,t._getElements=Kp,rh.forEach(r=>{qt(n[r])&&(t.moveListened=!0)}),(!t.listened||!t.moveListened)&&t.annotations.forEach(r=>{!t.listened&&qt(r.click)&&(t.listened=!0),t.moveListened||rh.forEach(a=>{qt(r[a])&&(t.listened=!0,t.moveListened=!0)})})}function Fz(e,t,n){if(e.listened)switch(t.type){case"mousemove":case"mouseout":return zz(e,t,n);case"click":return jz(e,t,n)}}function zz(e,t,n){if(!e.moveListened)return;let r;t.type==="mousemove"?r=Kp(e,t,n.interaction):r=[];const a=e.hovered;e.hovered=r;const i={state:e,event:t};let o=yv(i,"leave",a,r);return yv(i,"enter",r,a)||o}function yv({state:e,event:t},n,r,a){let i;for(const o of r)a.indexOf(o)<0&&(i=_v(o.options[n]||e.listeners[n],o,t)||i);return i}function jz(e,t,n){const r=e.listeners,a=Kp(e,t,n.interaction);let i;for(const o of a)i=_v(o.options.click||r.click,o,t)||i;return i}function _v(e,t,n){return Ie(e,[t.$context,n])===!0}const id=["afterDraw","beforeDraw"];function Hz(e,t,n){const r=t.visibleElements;t.hooked=lv(n,id,t.hooks),t.hooked||r.forEach(a=>{t.hooked||id.forEach(i=>{qt(a.options[i])&&(t.hooked=!0)})})}function vv(e,t,n){if(e.hooked){const r=t.options[n]||e.hooks[n];return Ie(r,[t.$context])}}function Wz(e,t,n){const r=Xz(e.scales,t,n);let a=wv(t,r,"min","suggestedMin");a=wv(t,r,"max","suggestedMax")||a,a&&qt(t.handleTickRangeOptions)&&t.handleTickRangeOptions()}function Uz(e,t){for(const n of e)qz(n,t)}function wv(e,t,n,r){if(rt(t[n])&&!Yz(e.options,n,r)){const a=e[n]!==t[n];return e[n]=t[n],a}}function Yz(e,t,n){return Yt(e[t])||Yt(e[n])}function qz(e,t){for(const n of["scaleID","xScaleID","yScaleID"]){const r=Qa(t,e,n);r&&!t[r]&&Gz(e,n)&&console.warn(`No scale found with id '${r}' for annotation '${e.id}'`)}}function Gz(e,t){if(t==="scaleID")return!0;const n=t.charAt(0);for(const r of["Min","Max","Value"])if(Yt(e[n+r]))return!0;return!1}function Xz(e,t,n){const r=t.axis,a=t.id,i=r+"ScaleID",o={min:ce(t.min,Number.NEGATIVE_INFINITY),max:ce(t.max,Number.POSITIVE_INFINITY)};for(const l of n)l.scaleID===a?kv(l,t,["value","endValue"],o):Qa(e,l,i)===a&&kv(l,t,[r+"Min",r+"Max",r+"Value"],o);return o}function kv(e,t,n,r){for(const a of n){const i=e[a];if(Yt(i)){const o=t.parse(i);r.min=Math.min(r.min,o),r.max=Math.max(r.max,o)}}}class Xi extends Vt{inRange(t,n,r,a){const{x:i,y:o}=ei({x:t,y:n},this.getCenterPoint(a),gt(-this.options.rotation));return rv({x:i,y:o},this.getProps(["x","y","x2","y2"],a),r,this.options.borderWidth)}getCenterPoint(t){return Yi(this,t)}draw(t){t.save(),eh(t,this.getCenterPoint(),this.options.rotation),dv(t,this,this.options),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,n){return mv(t,n)}}Xi.id="boxAnnotation",Xi.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,label:{backgroundColor:"transparent",borderWidth:0,callout:{display:!1},color:"black",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,opacity:void 0,padding:6,position:"center",rotation:void 0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Xi.defaultRoutes={borderColor:"color",backgroundColor:"color"},Xi.descriptors={label:{_fallback:!0}};const xv=["left","bottom","top","right"];class Bs extends Vt{inRange(t,n,r,a){const{x:i,y:o}=ei({x:t,y:n},this.getCenterPoint(a),gt(-this.rotation));return rv({x:i,y:o},this.getProps(["x","y","x2","y2"],a),r,this.options.borderWidth)}getCenterPoint(t){return Yi(this,t)}draw(t){const n=this.options,r=!Yt(this._visible)||this._visible;!n.display||!n.content||!r||(t.save(),eh(t,this.getCenterPoint(),this.rotation),Jz(t,this),dv(t,this,n),Sz(t,aj(this),n),t.restore())}resolveElementProperties(t,n){let r;if(sv(n))r=pv(t,n);else{const{centerX:l,centerY:c}=nh(t,n);r={x:l,y:c}}const a=ut(n.padding),i=th(t.ctx,n),o=Kz(r,i,n,a);return{initProperties:Ls(t,o,n),pointX:r.x,pointY:r.y,...o,rotation:n.rotation}}}Bs.id="labelAnnotation",Bs.defaults={adjustScaleRange:!0,backgroundColor:"transparent",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:0,callout:{borderCapStyle:"butt",borderColor:void 0,borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:1,display:!1,margin:5,position:"auto",side:5,start:"50%"},color:"black",content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,init:void 0,opacity:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},Bs.defaultRoutes={borderColor:"color"};function Kz(e,t,n,r){const a=t.width+r.width+n.borderWidth,i=t.height+r.height+n.borderWidth,o=Zp(n.position,"center"),l=Sv(e.x,a,n.xAdjust,o.x),c=Sv(e.y,i,n.yAdjust,o.y);return{x:l,y:c,x2:l+a,y2:c+i,width:a,height:i,centerX:l+a/2,centerY:c+i/2}}function Sv(e,t,n=0,r){return e-Jp(t,r)+n}function Jz(e,t){const{pointX:n,pointY:r,options:a}=t,i=a.callout,o=i&&i.display&&nj(t,i);if(!o||ij(t,i,o))return;if(e.save(),e.beginPath(),!sa(e,i))return e.restore();const{separatorStart:c,separatorEnd:d}=Zz(t,o),{sideStart:u,sideEnd:f}=ej(t,o,c);(i.margin>0||a.borderWidth===0)&&(e.moveTo(c.x,c.y),e.lineTo(d.x,d.y)),e.moveTo(u.x,u.y),e.lineTo(f.x,f.y);const p=ei({x:n,y:r},t.getCenterPoint(),gt(-t.rotation));e.lineTo(p.x,p.y),e.stroke(),e.restore()}function Zz(e,t){const{x:n,y:r,x2:a,y2:i}=e,o=Qz(e,t);let l,c;return t==="left"||t==="right"?(l={x:n+o,y:r},c={x:l.x,y:i}):(l={x:n,y:r+o},c={x:a,y:l.y}),{separatorStart:l,separatorEnd:c}}function Qz(e,t){const{width:n,height:r,options:a}=e,i=a.callout.margin+a.borderWidth/2;return t==="right"?n+i:t==="bottom"?r+i:-i}function ej(e,t,n){const{y:r,width:a,height:i,options:o}=e,l=o.callout.start,c=tj(t,o.callout);let d,u;return t==="left"||t==="right"?(d={x:n.x,y:r+oa(i,l)},u={x:d.x+c,y:d.y}):(d={x:n.x+oa(a,l),y:n.y},u={x:d.x,y:d.y+c}),{sideStart:d,sideEnd:u}}function tj(e,t){const n=t.side;return e==="left"||e==="top"?-n:n}function nj(e,t){const n=t.position;return xv.includes(n)?n:rj(e,t)}function rj(e,t){const{x:n,y:r,x2:a,y2:i,width:o,height:l,pointX:c,pointY:d,centerX:u,centerY:f,rotation:p}=e,h={x:u,y:f},g=t.start,b=oa(o,g),v=oa(l,g),m=[n,n+b,n+b,a],y=[r+v,i,r,i],w=[];for(let _=0;_<4;_++){const k=ei({x:m[_],y:y[_]},h,gt(p));w.push({position:xv[_],distance:Ti(k,{x:c,y:d})})}return w.sort((_,k)=>_.distance-k.distance)[0].position}function aj({x:e,y:t,width:n,height:r,options:a}){const i=a.borderWidth/2,o=ut(a.padding);return{x:e+o.left+i,y:t+o.top+i,width:n-o.left-o.right-a.borderWidth,height:r-o.top-o.bottom-a.borderWidth}}function ij(e,t,n){const{pointX:r,pointY:a}=e,i=t.margin;let o=r,l=a;return n==="left"?o+=i:n==="right"?o-=i:n==="top"?l+=i:n==="bottom"&&(l-=i),e.inRange(o,l)}const ih=(e,t,n)=>({x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}),oh=(e,t,n)=>ih(t,n,Math.abs((e-t.y)/(n.y-t.y))).x,Cv=(e,t,n)=>ih(t,n,Math.abs((e-t.x)/(n.x-t.x))).y,Rs=e=>e*e,oj=(e,t,{x:n,y:r,x2:a,y2:i},o)=>o==="y"?{start:Math.min(r,i),end:Math.max(r,i),value:t}:{start:Math.min(n,a),end:Math.max(n,a),value:e},Ev=(e,t,n,r)=>(1-r)*(1-r)*e+2*(1-r)*r*t+r*r*n,sh=(e,t,n,r)=>({x:Ev(e.x,t.x,n.x,r),y:Ev(e.y,t.y,n.y,r)}),Av=(e,t,n,r)=>2*(1-r)*(t-e)+2*r*(n-t),Tv=(e,t,n,r)=>-Math.atan2(Av(e.x,t.x,n.x,r),Av(e.y,t.y,n.y,r))+.5*Ae;class Vs extends Vt{inRange(t,n,r,a){const i=this.options.borderWidth/2;if(r!=="x"&&r!=="y"){const o={mouseX:t,mouseY:n},{path:l,ctx:c}=this;if(l){sa(c,this.options);const{chart:u}=this.$context,f=t*u.currentDevicePixelRatio,p=n*u.currentDevicePixelRatio,h=c.isPointInStroke(l,f,p)||lh(this,o,a);return c.restore(),h}const d=Rs(i);return dj(this,o,d,a)||lh(this,o,a)}return sj(this,{mouseX:t,mouseY:n},r,{hBorderWidth:i,useFinalPosition:a})}getCenterPoint(t){return Yi(this,t)}draw(t){const{x:n,y:r,x2:a,y2:i,cp:o,options:l}=this;if(t.save(),!sa(t,l))return t.restore();qi(t,l);const c=Math.sqrt(Math.pow(a-n,2)+Math.pow(i-r,2));if(l.curve&&o)return yj(t,this,o,c),t.restore();const{startOpts:d,endOpts:u,startAdjust:f,endAdjust:p}=Pv(this),h=Math.atan2(i-r,a-n);t.translate(n,r),t.rotate(h),t.beginPath(),t.moveTo(0+f,0),t.lineTo(c-p,0),t.shadowColor=l.borderShadowColor,t.stroke(),ch(t,0,f,d),ch(t,c,-p,u),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,n){const r=Dz(t,n),{x:a,y:i,x2:o,y2:l}=r,c=lj(r,t.chartArea),d=c?cj({x:a,y:i},{x:o,y:l},t.chartArea):{x:a,y:i,x2:o,y2:l,width:Math.abs(o-a),height:Math.abs(l-i)};if(d.centerX=(o+a)/2,d.centerY=(l+i)/2,d.initProperties=Ls(t,d,n),n.curve){const f={x:d.x,y:d.y},p={x:d.x2,y:d.y2};d.cp=bj(d,n,Ti(f,p))}const u=uj(t,d,n.label);return u._visible=c,d.elements=[{type:"label",optionScope:"label",properties:u,initProperties:d.initProperties}],d}}Vs.id="lineAnnotation";const Ov={backgroundColor:void 0,backgroundShadowColor:void 0,borderColor:void 0,borderDash:void 0,borderDashOffset:void 0,borderShadowColor:void 0,borderWidth:void 0,display:void 0,fill:void 0,length:void 0,shadowBlur:void 0,shadowOffsetX:void 0,shadowOffsetY:void 0,width:void 0};Vs.defaults={adjustScaleRange:!0,arrowHeads:{display:!1,end:Object.assign({},Ov),fill:!1,length:12,start:Object.assign({},Ov),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:2,curve:!1,controlPoint:{y:"-50%"},display:!0,endValue:void 0,init:void 0,label:{backgroundColor:"rgba(0,0,0,0.8)",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderColor:"black",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:6,borderShadowColor:"transparent",borderWidth:0,callout:Object.assign({},Bs.defaults.callout),color:"#fff",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,opacity:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},scaleID:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,value:void 0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Vs.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}},Vs.defaultRoutes={borderColor:"color"};function sj(e,{mouseX:t,mouseY:n},r,{hBorderWidth:a,useFinalPosition:i}){const o=oj(t,n,e.getProps(["x","y","x2","y2"],i),r);return o.value>=o.start-a&&o.value<=o.end+a||lh(e,{mouseX:t,mouseY:n},i,r)}function lj({x:e,y:t,x2:n,y2:r},{top:a,right:i,bottom:o,left:l}){return!(e<l&&n<l||e>i&&n>i||t<a&&r<a||t>o&&r>o)}function Mv({x:e,y:t},n,{top:r,right:a,bottom:i,left:o}){return e<o&&(t=Cv(o,{x:e,y:t},n),e=o),e>a&&(t=Cv(a,{x:e,y:t},n),e=a),t<r&&(e=oh(r,{x:e,y:t},n),t=r),t>i&&(e=oh(i,{x:e,y:t},n),t=i),{x:e,y:t}}function cj(e,t,n){const{x:r,y:a}=Mv(e,t,n),{x:i,y:o}=Mv(t,e,n);return{x:r,y:a,x2:i,y2:o,width:Math.abs(i-r),height:Math.abs(o-a)}}function dj(e,{mouseX:t,mouseY:n},r=Za,a){const{x:i,y:o,x2:l,y2:c}=e.getProps(["x","y","x2","y2"],a),d=l-i,u=c-o,f=Rs(d)+Rs(u),p=f===0?-1:((t-i)*d+(n-o)*u)/f;let h,g;return p<0?(h=i,g=o):p>1?(h=l,g=c):(h=i+p*d,g=o+p*u),Rs(t-h)+Rs(n-g)<=r}function lh(e,{mouseX:t,mouseY:n},r,a){const i=e.label;return i.options.display&&i.inRange(t,n,a,r)}function uj(e,t,n){const r=n.borderWidth,a=ut(n.padding),i=th(e.ctx,n),o=i.width+a.width+r,l=i.height+a.height+r;return pj(t,n,{width:o,height:l,padding:a},e.chartArea)}function fj(e){const{x:t,y:n,x2:r,y2:a}=e,i=Math.atan2(a-n,r-t);return i>Ae/2?i-Ae:i<Ae/-2?i+Ae:i}function pj(e,t,n,r){const{width:a,height:i,padding:o}=n,{xAdjust:l,yAdjust:c}=t,d={x:e.x,y:e.y},u={x:e.x2,y:e.y2},f=t.rotation==="auto"?fj(e):gt(t.rotation),p=hj(a,i,f),h=mj(e,t,{labelSize:p,padding:o},r),g=e.cp?sh(d,e.cp,u,h):ih(d,u,h),b={size:p.w,min:r.left,max:r.right,padding:o.left},v={size:p.h,min:r.top,max:r.bottom,padding:o.top},m=Dv(g.x,b)+l,y=Dv(g.y,v)+c;return{x:m-a/2,y:y-i/2,x2:m+a/2,y2:y+i/2,centerX:m,centerY:y,pointX:g.x,pointY:g.y,width:a,height:i,rotation:Yl(f)}}function hj(e,t,n){const r=Math.cos(n),a=Math.sin(n);return{w:Math.abs(e*r)+Math.abs(t*a),h:Math.abs(e*a)+Math.abs(t*r)}}function mj(e,t,n,r){let a;const i=gj(e,r);return t.position==="start"?a=Nv({w:e.x2-e.x,h:e.y2-e.y},n,t,i):t.position==="end"?a=1-Nv({w:e.x-e.x2,h:e.y-e.y2},n,t,i):a=Jp(1,t.position),a}function Nv(e,t,n,r){const{labelSize:a,padding:i}=t,o=e.w*r.dx,l=e.h*r.dy,c=o>0&&(a.w/2+i.left-r.x)/o,d=l>0&&(a.h/2+i.top-r.y)/l;return rd(Math.max(c,d),0,.25)}function gj(e,t){const{x:n,x2:r,y:a,y2:i}=e,o=Math.min(a,i)-t.top,l=Math.min(n,r)-t.left,c=t.bottom-Math.max(a,i),d=t.right-Math.max(n,r);return{x:Math.min(l,d),y:Math.min(o,c),dx:l<=d?1:-1,dy:o<=c?1:-1}}function Dv(e,t){const{size:n,min:r,max:a,padding:i}=t,o=n/2;return n>a-r?(a+r)/2:(r>=e-i-o&&(e=r+i+o),a<=e+i+o&&(e=a-i-o),e)}function Pv(e){const t=e.options,n=t.arrowHeads&&t.arrowHeads.start,r=t.arrowHeads&&t.arrowHeads.end;return{startOpts:n,endOpts:r,startAdjust:Iv(e,n),endAdjust:Iv(e,r)}}function Iv(e,t){if(!t||!t.display)return 0;const{length:n,width:r}=t,a=e.options.borderWidth/2,i={x:n,y:r+a};return Math.abs(oh(0,i,{x:0,y:a}))}function ch(e,t,n,r){if(!r||!r.display)return;const{length:a,width:i,fill:o,backgroundColor:l,borderColor:c}=r,d=Math.abs(t-a)+n;e.beginPath(),qi(e,r),sa(e,r),e.moveTo(d,-i),e.lineTo(t+n,0),e.lineTo(d,i),o===!0?(e.fillStyle=l||c,e.closePath(),e.fill(),e.shadowColor="transparent"):e.shadowColor=r.borderShadowColor,e.stroke()}function bj(e,t,n){const{x:r,y:a,x2:i,y2:o,centerX:l,centerY:c}=e,d=Math.atan2(o-a,i-r),u=Zp(t.controlPoint,0),f={x:l+oa(n,u.x,!1),y:c+oa(n,u.y,!1)};return ei(f,{x:l,y:c},d)}function Lv(e,{x:t,y:n},{angle:r,adjust:a},i){!i||!i.display||(e.save(),e.translate(t,n),e.rotate(r),ch(e,0,-a,i),e.restore())}function yj(e,t,n,r){const{x:a,y:i,x2:o,y2:l,options:c}=t,{startOpts:d,endOpts:u,startAdjust:f,endAdjust:p}=Pv(t),h={x:a,y:i},g={x:o,y:l},b=Tv(h,n,g,0),v=Tv(h,n,g,1)-Ae,m=sh(h,n,g,f/r),y=sh(h,n,g,1-p/r),w=new Path2D;e.beginPath(),w.moveTo(m.x,m.y),w.quadraticCurveTo(n.x,n.y,y.x,y.y),e.shadowColor=c.borderShadowColor,e.stroke(w),t.path=w,t.ctx=e,Lv(e,m,{angle:b,adjust:f},d),Lv(e,y,{angle:v,adjust:p},u)}class $s extends Vt{inRange(t,n,r,a){const i=this.options.rotation,o=this.options.borderWidth;if(r!=="x"&&r!=="y")return _j({x:t,y:n},this.getProps(["width","height","centerX","centerY"],a),i,o);const{x:l,y:c,x2:d,y2:u}=this.getProps(["x","y","x2","y2"],a),f=o/2,p=r==="y"?{start:c,end:u}:{start:l,end:d},h=ei({x:t,y:n},this.getCenterPoint(a),gt(-i));return h[r]>=p.start-f-Za&&h[r]<=p.end+f+Za}getCenterPoint(t){return Yi(this,t)}draw(t){const{width:n,height:r,centerX:a,centerY:i,options:o}=this;t.save(),eh(t,this.getCenterPoint(),o.rotation),qi(t,this.options),t.beginPath(),t.fillStyle=o.backgroundColor;const l=sa(t,o);t.ellipse(a,i,r/2,n/2,Ae/2,0,2*Ae),t.fill(),l&&(t.shadowColor=o.borderShadowColor,t.stroke()),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,n){return mv(t,n,!0)}}$s.id="ellipseAnnotation",$s.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,label:Object.assign({},Xi.defaults.label),rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},$s.defaultRoutes={borderColor:"color",backgroundColor:"color"},$s.descriptors={label:{_fallback:!0}};function _j(e,t,n,r){const{width:a,height:i,centerX:o,centerY:l}=t,c=a/2,d=i/2;if(c<=0||d<=0)return!1;const u=gt(n||0),f=r/2||0,p=Math.cos(u),h=Math.sin(u),g=Math.pow(p*(e.x-o)+h*(e.y-l),2),b=Math.pow(h*(e.x-o)-p*(e.y-l),2);return g/Math.pow(c+f,2)+b/Math.pow(d+f,2)<=1.0001}class od extends Vt{inRange(t,n,r,a){const{x:i,y:o,x2:l,y2:c,width:d}=this.getProps(["x","y","x2","y2","width"],a),u=this.options.borderWidth;if(r!=="x"&&r!=="y")return yz({x:t,y:n},this.getCenterPoint(a),d/2,u);const f=u/2,p=r==="y"?{start:o,end:c,value:n}:{start:i,end:l,value:t};return p.value>=p.start-f&&p.value<=p.end+f}getCenterPoint(t){return Yi(this,t)}draw(t){const n=this.options,r=n.borderWidth;if(n.radius<.1)return;t.save(),t.fillStyle=n.backgroundColor,qi(t,n);const a=sa(t,n);Ez(t,this,this.centerX,this.centerY),a&&!ad(n.pointStyle)&&(t.shadowColor=n.borderShadowColor,t.stroke()),t.restore(),n.borderWidth=r}resolveElementProperties(t,n){const r=hv(t,n);return r.initProperties=Ls(t,r,n,!0),r}}od.id="pointAnnotation",od.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,pointStyle:"circle",radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},od.defaultRoutes={borderColor:"color",backgroundColor:"color"};class sd extends Vt{inRange(t,n,r,a){if(r!=="x"&&r!=="y")return this.options.radius>=.1&&this.elements.length>1&&wj(this.elements,t,n,a);const i=ei({x:t,y:n},this.getCenterPoint(a),gt(-this.options.rotation)),o=this.elements.map(d=>r==="y"?d.bY:d.bX),l=Math.min(...o),c=Math.max(...o);return i[r]>=l&&i[r]<=c}getCenterPoint(t){return Yi(this,t)}draw(t){const{elements:n,options:r}=this;t.save(),t.beginPath(),t.fillStyle=r.backgroundColor,qi(t,r);const a=sa(t,r);let i=!0;for(const o of n)i?(t.moveTo(o.x,o.y),i=!1):t.lineTo(o.x,o.y);t.closePath(),t.fill(),a&&(t.shadowColor=r.borderShadowColor,t.stroke()),t.restore()}resolveElementProperties(t,n){const r=hv(t,n),{sides:a,rotation:i}=n,o=[],l=2*Ae/a;let c=i*bf;for(let d=0;d<a;d++,c+=l){const u=vj(r,n,c);u.initProperties=Ls(t,r,n),o.push(u)}return r.elements=o,r}}sd.id="polygonAnnotation",sd.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,point:{radius:0},radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,sides:3,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},sd.defaultRoutes={borderColor:"color",backgroundColor:"color"};function vj({centerX:e,centerY:t},{radius:n,borderWidth:r},a){const i=r/2,o=Math.sin(a),l=Math.cos(a),c={x:e+o*n,y:t-l*n};return{type:"point",optionScope:"point",properties:{x:c.x,y:c.y,centerX:c.x,centerY:c.y,bX:e+o*(n+i),bY:t-l*(n+i)}}}function wj(e,t,n,r){let a=!1,i=e[e.length-1].getProps(["bX","bY"],r);for(const o of e){const l=o.getProps(["bX","bY"],r);l.bY>n!=i.bY>n&&t<(i.bX-l.bX)*(n-l.bY)/(i.bY-l.bY)+l.bX&&(a=!a),i=l}return a}const la={box:Xi,ellipse:$s,label:Bs,line:Vs,point:od,polygon:sd};Object.keys(la).forEach(e=>{at.describe(`elements.${la[e].id}`,{_fallback:"plugins.annotation.common"})});const kj={update:Object.assign},xj=ah.concat(id),Bv=(e,t)=>me(t)?fh(e,t):e,dh=e=>e==="color"||e==="font";function uh(e="line"){return la[e]?e:(console.warn(`Unknown annotation type: '${e}', defaulting to 'line'`),"line")}function Sj(e,t,n,r){const a=Ej(e,n.animations,r),i=t.annotations,o=Oj(t.elements,i);for(let l=0;l<i.length;l++){const c=i[l],d=Rv(o,l,c.type),u=c.setContext(Tj(e,d,c)),f=d.resolveElementProperties(e,u);f.skip=Cj(f),"elements"in f&&(Aj(d,f.elements,u,a),delete f.elements),Yt(d.x)||Object.assign(d,f),Object.assign(d,f.initProperties),f.options=Vv(u),a.update(d,f)}}function Cj(e){return isNaN(e.x)||isNaN(e.y)}function Ej(e,t,n){return n==="reset"||n==="none"||n==="resize"?kj:new Mf(e,t)}function Aj(e,t,n,r){const a=e.elements||(e.elements=[]);a.length=t.length;for(let i=0;i<t.length;i++){const o=t[i],l=o.properties,c=Rv(a,i,o.type,o.initProperties),d=n[o.optionScope].override(o);l.options=Vv(d),r.update(c,l)}}function Rv(e,t,n,r){const a=la[uh(n)];let i=e[t];return(!i||!(i instanceof a))&&(i=e[t]=new a,Object.assign(i,r)),i}function Vv(e){const t=la[uh(e.type)],n={};n.id=e.id,n.type=e.type,n.drawTime=e.drawTime,Object.assign(n,fh(e,t.defaults),fh(e,t.defaultRoutes));for(const r of xj)n[r]=e[r];return n}function fh(e,t){const n={};for(const r of Object.keys(t)){const a=t[r],i=e[r];dh(r)&&Ne(i)?n[r]=i.map(o=>Bv(o,a)):n[r]=Bv(i,a)}return n}function Tj(e,t,n){return t.$context||(t.$context=Object.assign(Object.create(e.getContext()),{element:t,id:n.id,type:"annotation"}))}function Oj(e,t){const n=t.length,r=e.length;if(r<n){const a=n-r;e.splice(r,0,...new Array(a))}else r>n&&e.splice(n,r-n);return e}var Mj="2.2.1";const ca=new Map,Nj=ah.concat(id);var ti={id:"annotation",version:Mj,beforeRegister(){_z("chart.js","3.7",Re.version)},afterRegister(){Re.register(la)},afterUnregister(){Re.unregister(la)},beforeInit(e){ca.set(e,{annotations:[],elements:[],visibleElements:[],listeners:{},listened:!1,moveListened:!1,hooks:{},hooked:!1,hovered:[]})},beforeUpdate(e,t,n){const r=ca.get(e),a=r.annotations=[];let i=n.annotations;me(i)?Object.keys(i).forEach(o=>{const l=i[o];me(l)&&(l.id=o,a.push(l))}):Ne(i)&&a.push(...i),Uz(a,e.scales)},afterDataLimits(e,t){const n=ca.get(e);Wz(e,t.scale,n.annotations.filter(r=>r.display&&r.adjustScaleRange))},afterUpdate(e,t,n){const r=ca.get(e);$z(e,r,n),Sj(e,r,n,t.mode),r.visibleElements=r.elements.filter(a=>!a.skip&&a.options.display),Hz(e,r,n)},beforeDatasetsDraw(e,t,n){ld(e,"beforeDatasetsDraw",n.clip)},afterDatasetsDraw(e,t,n){ld(e,"afterDatasetsDraw",n.clip)},beforeDraw(e,t,n){ld(e,"beforeDraw",n.clip)},afterDraw(e,t,n){ld(e,"afterDraw",n.clip)},beforeEvent(e,t,n){const r=ca.get(e);Fz(r,t.event,n)&&(t.changed=!0)},afterDestroy(e){ca.delete(e)},_getState(e){return ca.get(e)},defaults:{animations:{numbers:{properties:["x","y","x2","y2","width","height","centerX","centerY","pointX","pointY","radius"],type:"number"}},clip:!0,interaction:{mode:void 0,axis:void 0,intersect:void 0},common:{drawTime:"afterDatasetsDraw",init:!1,label:{}}},descriptors:{_indexable:!1,_scriptable:e=>!Nj.includes(e)&&e!=="init",annotations:{_allKeys:!1,_fallback:(e,t)=>`elements.${la[uh(t.type)].id}`},interaction:{_fallback:!0},common:{label:{_indexable:dh,_fallback:!0},_indexable:dh}},additionalOptionScopes:[""]};function ld(e,t,n){const{ctx:r,chartArea:a}=e,i=ca.get(e);n&&Ko(r,a);const o=Dj(i.visibleElements,t).sort((l,c)=>l.element.options.z-c.element.options.z);for(const l of o)Pj(r,a,i,l);n&&Jo(r)}function Dj(e,t){const n=[];for(const r of e)if(r.options.drawTime===t&&n.push({element:r,main:!0}),r.elements&&r.elements.length)for(const a of r.elements)a.options.display&&a.options.drawTime===t&&n.push({element:a});return n}function Pj(e,t,n,r){const a=r.element;r.main?(vv(n,a,"beforeDraw"),a.draw(e,t),vv(n,a,"afterDraw")):a.draw(e,t)}const cd=s.defineComponent({__name:"ManaCurveChart",props:WB,setup(e){const t=e,{t:n}=ae(),r=s.ref();Re.register(...ea),Re.register(ti),Re.register(td);const a={topLeft:9999,topRight:9999,bottomLeft:9999,bottomRight:9999},i=s.computed(()=>["0","1","2","3","4","5","6","7","8","9","+"]),o=s.computed(()=>{const d={},u=Ct(t.deckCode),f=Nl(u);for(const p of f)d[p]=i.value.map(()=>0);for(const p in u){const h=Ot().cardJsonObject[p];if(h===void 0)continue;const g=w0(h,f);if(h.cost>10){d[g][10]+=u[p];continue}d[g][h.cost]+=u[p]}return d}),l=s.computed(()=>{const d=[];for(let u=0;u<Object.keys(o.value).length;u++){const f=Object.keys(o.value)[u];d.push({backgroundColor:JS(f),data:o.value[f],borderRadius:a,borderSkipped:!1,label:ZS(f),barPercentage:.5},{backgroundColor:"transparent",data:o.value[f].map(p=>p>0?1:0)})}return{labels:i.value,datasets:d}}),c={responsive:!0,animation:t.animation,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:t.tooltipsEnabled,mode:"index",intersect:!1,filter(d){return d.datasetIndex%2===0&&d.formattedValue!=="0"},callbacks:{title(d){return d.length===0?"":n("deck.numManaCards",{num:d[0].label==="+"?"10+":d[0].label})},footer(d){if(d.length===0)return"";let u=0;for(let f=0;f<d[0].chart.data.datasets.length;f++)f%2!==1&&(u+=d[0].chart.data.datasets[f].data[d[0].dataIndex]);return`${n("general.total")}: ${u}`}}},datalabels:{align:"end",anchor:"end",offset:t.dataLabelsOffset,formatter(d,u){let f=0;for(let p=0;p<u.chart.data.datasets.length;p++)p%2!==1&&(f+=u.chart.data.datasets[p].data[u.dataIndex]);return f||""},display(d){return t.showDataLabels?d.datasetIndex===d.chart.data.datasets.length-1:!1}}},scales:{x:{stacked:!0,grid:{display:!1},display:t.displayXScale},y:{stacked:!0,grid:{display:!1},display:!1}},layout:{padding:{top:t.paddingTop}}};return(d,u)=>(s.openBlock(),s.createBlock(s.unref(Ec),{ref_key:"chart",ref:r,"chart-data":s.unref(l),options:c},null,8,["chart-data"]))}}),Ij=s.defineComponent({__name:"DeckSidePanel",props:tA,emits:["update:filters"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.reactive(n.filters),i=s.computed(()=>KS(n.deckcode)),o=s.computed(()=>Object.keys(Ct(n.deckcode)).filter(l=>Si(Ot().cardJsonObject[l])));return s.watch(a,()=>{t("update:filters",a)}),(l,c)=>(s.openBlock(),s.createElementBlock("div",null,[s.createVNode(Vl,{"card-codes":s.unref(o),regions:s.unref(i)},null,8,["card-codes","regions"]),s.createVNode(_t,{title:s.unref(r)("general.regions")},{default:s.withCtx(()=>[s.createVNode(of,{"deck-code":n.deckcode,"describe-regions":!0},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(_t,{title:s.unref(r)("general.manaCurve")},{default:s.withCtx(()=>[s.createVNode(cd,{class:"mana-curve-chart","deck-code":n.deckcode,"padding-top":5,"show-data-labels":!0,"data-labels-offset":-5,"tooltips-enabled":!0,"display-x-scale":!0,animation:void 0},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(_t,{title:s.unref(r)("general.type")},{default:s.withCtx(()=>[s.createVNode(Ac,{class:"side-panel-chart","deck-code":n.deckcode,info:"typeRef"},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(_t,{title:s.unref(r)("general.rarity")},{default:s.withCtx(()=>[s.createVNode(Ac,{class:"side-panel-chart","deck-code":n.deckcode,info:"rarityRef"},null,8,["deck-code"])]),_:1},8,["title"]),s.createVNode(Io,{"filter-array":a.sampleSizeFilters,"onUpdate:filterArray":c[0]||(c[0]=d=>a.sampleSizeFilters=d)},null,8,["filter-array"]),s.createVNode(Bo,{"filter-array":a.timeFilters,"onUpdate:filterArray":c[1]||(c[1]=d=>a.timeFilters=d)},null,8,["filter-array"]),s.createVNode(Lo,{"filter-array":a.serverFilters,"onUpdate:filterArray":c[2]||(c[2]=d=>a.serverFilters=d)},null,8,["filter-array"])]))}}),GJ="",$v=V(Ij,[["__scopeId","data-v-d65ffd7b"]]),Lj={cardsProp:{type:Object,required:!1,default:void 0},deck:{type:Object,required:!0,default:{}}},Fs=e=>(s.pushScopeId("data-v-71338c1b"),e=e(),s.popScopeId(),e),Bj={class:"deck-summary"},Rj={class:"deck-cards"},Vj={class:"champions-landmarks column"},$j={key:0,class:"type"},Fj={class:"type-heading"},zj=Fs(()=>s.createElementVNode("img",{class:"icon",src:"https://lor.gg/images/champion.svg"},null,-1)),jj={class:"title"},Hj={class:"type-quantity"},Wj={class:"card-container"},Uj={key:1,class:"type column"},Yj={class:"type-heading"},qj=Fs(()=>s.createElementVNode("img",{class:"icon",src:"https://lor.gg/images/landmark.svg"},null,-1)),Gj={class:"title"},Xj={class:"type-quantity"},Kj={class:"card-container"},Jj={key:2,class:"type column"},Zj={class:"type-heading"},Qj=Fs(()=>s.createElementVNode("img",{class:"icon",src:"https://lor.gg/images/equipment.svg"},null,-1)),eH={class:"title"},tH={class:"type-quantity"},nH={class:"card-container"},rH={key:0,class:"type column"},aH={class:"type-heading"},iH=Fs(()=>s.createElementVNode("img",{class:"icon",src:"https://lor.gg/images/follower.svg"},null,-1)),oH={class:"title"},sH={class:"type-quantity"},lH={class:"card-container"},cH={key:1,class:"type"},dH={class:"type-heading"},uH=Fs(()=>s.createElementVNode("img",{class:"icon",src:"https://lor.gg/images/spell.svg"},null,-1)),fH={class:"title"},pH={class:"type-quantity"},hH={class:"card-container"},mH=s.defineComponent({__name:"DeckSummary",props:Lj,setup(e){const t=e,n=s.computed(()=>t.cardsProp?t.cardsProp:sn(t.deck)),r=s.computed(()=>Dl(n.value)),a=s.computed(()=>n.value.filter(u=>Si(u))),i=s.computed(()=>n.value.filter(u=>u.typeRef==="Unit"&&u.supertype==="")),o=s.computed(()=>n.value.filter(u=>u.typeRef==="Spell")),l=s.computed(()=>n.value.filter(u=>u.typeRef==="Landmark")),c=s.computed(()=>n.value.filter(u=>u.typeRef==="Equipment"));function d(u){return u.reduce((f,p)=>f+t.deck[p.cardCode],0)}return(u,f)=>{const p=s.resolveDirective("t");return s.openBlock(),s.createElementBlock("div",Bj,[s.createElementVNode("div",Rj,[s.createElementVNode("div",Vj,[s.unref(a).length>0?(s.openBlock(),s.createElementBlock("div",$j,[s.createElementVNode("div",Fj,[zj,s.withDirectives(s.createElementVNode("div",jj,null,512),[[p,"general.champions"]]),s.createElementVNode("p",Hj,s.toDisplayString(d(s.unref(a))),1)]),s.createElementVNode("div",Wj,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(a),h=>(s.openBlock(),s.createBlock(ln,{key:h.cardCode,"card-prop":h,color:s.unref(Na)(h,s.unref(r),!0),name:h.name,"mana-number":h.cost,"quantity-number":t.deck[h.cardCode],"maintain-aspect-ratio":!0},null,8,["card-prop","color","name","mana-number","quantity-number"]))),128))])])):s.createCommentVNode("",!0),s.unref(l).length>0?(s.openBlock(),s.createElementBlock("div",Uj,[s.createElementVNode("div",Yj,[qj,s.withDirectives(s.createElementVNode("div",Gj,null,512),[[p,"general.landmarks"]]),s.createElementVNode("p",Xj,s.toDisplayString(d(s.unref(l))),1)]),s.createElementVNode("div",Kj,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(l),h=>(s.openBlock(),s.createBlock(ln,{key:h.cardCode,"card-prop":h,color:s.unref(Na)(h,s.unref(r),!0),name:h.name,"mana-number":h.cost,"quantity-number":t.deck[h.cardCode],"maintain-aspect-ratio":!0},null,8,["card-prop","color","name","mana-number","quantity-number"]))),128))])])):s.createCommentVNode("",!0),s.unref(c).length>0?(s.openBlock(),s.createElementBlock("div",Jj,[s.createElementVNode("div",Zj,[Qj,s.withDirectives(s.createElementVNode("div",eH,null,512),[[p,"general.equipments"]]),s.createElementVNode("p",tH,s.toDisplayString(d(s.unref(c))),1)]),s.createElementVNode("div",nH,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(c),h=>(s.openBlock(),s.createBlock(ln,{key:h.cardCode,"card-prop":h,color:s.unref(Na)(h,s.unref(r),!0),name:h.name,"mana-number":h.cost,"quantity-number":t.deck[h.cardCode],"maintain-aspect-ratio":!0},null,8,["card-prop","color","name","mana-number","quantity-number"]))),128))])])):s.createCommentVNode("",!0)]),s.unref(i).length>0?(s.openBlock(),s.createElementBlock("div",rH,[s.createElementVNode("div",aH,[iH,s.withDirectives(s.createElementVNode("div",oH,null,512),[[p,"general.followers"]]),s.createElementVNode("p",sH,s.toDisplayString(d(s.unref(i))),1)]),s.createElementVNode("div",lH,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(i),h=>(s.openBlock(),s.createBlock(ln,{key:h.cardCode,"card-prop":h,color:s.unref(Na)(h,s.unref(r),!0),name:h.name,"mana-number":h.cost,"quantity-number":t.deck[h.cardCode],"maintain-aspect-ratio":!0},null,8,["card-prop","color","name","mana-number","quantity-number"]))),128))])])):s.createCommentVNode("",!0),s.unref(o).length>0?(s.openBlock(),s.createElementBlock("div",cH,[s.createElementVNode("div",dH,[uH,s.withDirectives(s.createElementVNode("div",fH,null,512),[[p,"general.spells"]]),s.createElementVNode("p",pH,s.toDisplayString(d(s.unref(o))),1)]),s.createElementVNode("div",hH,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(o),h=>(s.openBlock(),s.createBlock(ln,{key:h.cardCode,"card-prop":h,color:s.unref(Na)(h,s.unref(r),!0),name:h.name,"mana-number":h.cost,"quantity-number":t.deck[h.cardCode],"maintain-aspect-ratio":!0},null,8,["card-prop","color","name","mana-number","quantity-number"]))),128))])])):s.createCommentVNode("",!0)])])}}}),XJ="",dd=V(mH,[["__scopeId","data-v-71338c1b"]]),gH={deckCode:{type:String,required:!0,default:""}},ph=s.defineComponent({__name:"CopyDeckButton",props:gH,setup(e){const t=e,{t:n}=ae(),r=s.ref(null);let a,i;s.onMounted(()=>{i=tt(r.value,{content:n("deck.copyDeckCode"),arrow:!0}),a=tt(r.value,{content:n("deck.deckCodeCopied"),trigger:"manual",arrow:!0})});function o(){e7(t.deckCode),i.hide(),a.show()}return(l,c)=>{const d=s.resolveComponent("FontAwesomeIcon");return s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:r,class:"circle-button",onClick:o},[s.createVNode(d,{icon:"copy",class:"icon"})],512)}}}),bH={deckId:{type:Number,required:!0,default:-1}},hh=s.defineComponent({__name:"DeleteDeckButton",props:bH,setup(e){const{t}=ae(),n=s.ref(null);s.onMounted(()=>{tt(n.value,{content:t("deck.deleteDeck"),arrow:!0})});function r(){confirm(t("deck.deleteDeckConfirmation"))}return(a,i)=>{const o=s.resolveComponent("FontAwesomeIcon");return s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:n,class:"circle-button",onClick:r},[s.createVNode(o,{icon:"trash-alt",class:"icon"})],512)}}}),yH={deckId:{type:Number,required:!0,default:-1},deckName:{type:String,required:!0,default:""}},mh=s.defineComponent({__name:"EditDeckNameButton",props:yH,setup(e){const t=e,{t:n}=ae(),r=s.ref(null);s.onMounted(()=>{tt(r.value,{content:n("deck.editDeckName"),arrow:!0})});function a(){prompt(n("deck.editDeckName"),t.deckName)}return(i,o)=>{const l=s.resolveComponent("FontAwesomeIcon");return s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:r,class:"circle-button",onClick:a},[s.createVNode(l,{icon:"pencil-alt",class:"icon"})],512)}}}),_H={archetypeId:{type:Number,required:!0,default:0}},vH=["href"],wH=s.defineComponent({__name:"OpenArchetypePageButton",props:_H,setup(e){const t=e,{t:n}=ae(),r=s.ref(null),a=s.computed(()=>`/archetype/${t.archetypeId}`);return s.onMounted(()=>{tt(r.value,{content:n("deck.openArchetypePage"),arrow:!0})}),(i,o)=>(s.openBlock(),s.createElementBlock("a",{href:s.unref(a)},[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button"},s.toDisplayString(s.unref(n)("archetype.abbreviation")),513)],8,vH))}}),KJ="",gh=V(wH,[["__scopeId","data-v-7371ea3a"]]),kH={deckCode:{type:String,required:!0,default:""}},xH=["href"],bh=s.defineComponent({__name:"OpenInDeckBuilderButton",props:kH,setup(e){const t=e,{t:n}=ae(),r=s.ref(null),a=s.computed(()=>`/deck-builder/${t.deckCode}`);return s.onMounted(()=>{tt(r.value,{content:n("deck.openInDeckBuilder"),arrow:!0})}),(i,o)=>{const l=s.resolveComponent("FontAwesomeIcon");return s.openBlock(),s.createElementBlock("a",{href:s.unref(a)},[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button"},[s.createVNode(l,{icon:"pencil-alt",class:"icon"})],512)],8,xH)}}}),SH={deck:{type:Object,required:!0,default:{}}},CH={deck:{type:Object,required:!0,default:{}}},EH={class:"simulate-mulligan"},AH={class:"cards-container"},TH={class:"buttons"},OH=s.defineComponent({__name:"SimulateMulligan",props:CH,setup(e){const t=e,{t:n}=ae(),r=s.computed(()=>{const d=[];for(const u in t.deck)for(let f=0;f<t.deck[u];f++)d.push(u);return d}),a=s.computed(()=>{const d=Array.from(r.value);for(const u of i.value)u!==null&&d.splice(d.indexOf(u.cardCode),1);return d}),i=s.ref([null,null,null,null]);function o(){i.value.fill(null),c()}function l(){var d;for(let u=0;u<i.value.length;u++)i.value[u]===null||!((d=i.value[u])!=null&&d.isSelected)||(i.value[u]=null);c()}function c(){for(;i.value.some(d=>d===null);)i.value[i.value.indexOf(null)]={cardCode:a.value[qS(0,a.value.length)],isSelected:!1};console.log(i.value)}return c(),(d,u)=>(s.openBlock(),s.createElementBlock("div",EH,[s.createElementVNode("div",AH,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.value.filter(f=>f!==null),(f,p)=>(s.openBlock(),s.createBlock(dr,{key:f.cardCode+p,"card-code-prop":f.cardCode,"is-root":!0,style:s.normalizeStyle(f.isSelected?{opacity:.5}:null),onClick:h=>f.isSelected=!f.isSelected},null,8,["card-code-prop","style","onClick"]))),128))]),s.createElementVNode("div",TH,[s.createElementVNode("button",{class:"primary-button",onClick:o},s.toDisplayString(s.unref(n)("deck.replaceAllCards")),1),s.createElementVNode("button",{class:"primary-button",onClick:l},s.toDisplayString(s.unref(n)("deck.replaceSelectedCards")),1)])]))}}),JJ="",yh=V(OH,[["__scopeId","data-v-4f85d8dc"]]),MH={class:"simulate-mulligan-wrapper"},NH=s.defineComponent({__name:"SimulateMulliganButton",props:SH,setup(e){const t=e,{t:n}=ae(),r=s.ref(null),a=s.ref(!1);return s.onMounted(()=>{tt(r.value,{content:n("deck.simulateMulligan"),arrow:!0})}),(i,o)=>(s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("button",{ref_key:"button",ref:r,class:"circle-button",onClick:o[0]||(o[0]=l=>a.value=!0)},[s.createVNode(s.unref(nt),{icon:"hand-paper"})],512),s.createVNode(Ci,{"show-modal":a.value,"onUpdate:showModal":o[1]||(o[1]=l=>a.value=l)},{default:s.withCtx(()=>[s.createElementVNode("div",MH,[s.createVNode(yh,{deck:t.deck},null,8,["deck"])])]),_:1},8,["show-modal"])]))}}),ZJ="",_h=V(NH,[["__scopeId","data-v-63aa9043"]]),DH={deckId:{type:Number,required:!0,default:-1},deckIsPrivate:{type:Boolean,required:!0,default:!0}},vh=s.defineComponent({__name:"UpdateDeckPrivacyButton",props:DH,emits:["update:deckIsPrivate"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.ref(null);let i;s.onMounted(()=>{i=tt(a.value,{content:`${r("deck.updatePrivacy")}:
858
+ ${n.deckIsPrivate?r("deck.deckPrivate"):r("deck.deckPublic")}`,arrow:!0})}),s.watch(()=>n.deckIsPrivate,l=>{i.setContent(`${r("deck.updatePrivacy")}:
859
+ ${r(l?"deck.deckPrivate":"deck.deckPublic")}`)});function o(){t("update:deckIsPrivate",!n.deckIsPrivate)}return(l,c)=>{const d=s.resolveComponent("FontAwesomeIcon");return s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:a,class:"circle-button",onClick:o},[s.createVNode(d,{icon:n.deckIsPrivate?"lock":"unlock",class:"icon"},null,8,["icon"])],512)}}}),PH={deckCode:{type:String,required:!0,default:""},deckName:{type:String,required:!0,default:""}},IH={},LH={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 496"},BH=[s.createElementVNode("path",{d:"M75.8 25.4a3527.2 3527.2 0 0 1-32.2 16.2A429.1 429.1 0 0 0 24.8 51a117.6 117.6 0 0 0-8.6 4.4c-5.7 2.7-7.5 8-5.8 17 .2 1.2.6 4.9.8 8.2l.8 8.8c.2 1.5.4 4.2.4 6 0 1.8.2 3.8.4 4.6.2.8.5 3.8.6 6.8.1 3 .4 6 .6 6.6.2.7.5 3.5.6 6.3 0 2.7.4 6.3.6 7.8l.8 8.7c.2 3.3.7 8.2 1 10.8.3 2.6.6 6.2.6 8 0 1.8.2 3.8.4 4.6.2.7.5 3.7.6 6.6.2 2.8.4 6 .6 7 .2.8.5 4 .6 7.1.2 3 .4 6 .6 6.7.2.7.5 3.7.6 6.8.1 3 .3 5.7.5 6 .2.3.6 5 1.3 14.4C24 231 24 231 29.7 235.6A74.8 74.8 0 0 1 50 259.2c4.9 10.3 5.3 24 1 36.6l-1.5 5.3c0 .3-.4 1.3-1 2.2L47 307c-.3 1-1.4 3.2-2.3 4.7a43 43 0 0 1-6.2 9.3c-3.8 4.5-4.8 8.2-3.7 13 .4 2 1.4 10.4 1.8 15.6.2 1.9.4 3.8.6 4.3.2.4.6 3.4.8 6.5.3 3.2.7 6.2.9 6.8.2.5.5 3.4.7 6.4.2 3 .6 6 .8 6.6.2.6.6 3.3.8 6 .4 5 .9 8.6 1.8 14.2.3 2 .6 4.4.6 5.5 0 1.1.3 4 .8 6.6l1 7.4c.5 6.2 2.2 8.1 9.8 10.8a99.5 99.5 0 0 1 10 4c1.7.5 3.2 1.1 3.4 1.3.7.5 6.2 2.8 6.8 2.8.3 0 1.7.5 3 1.2l4.2 1.6 5.8 2.4a82.2 82.2 0 0 0 8.8 3.6l5 2c2.1.6 5 1.8 6.7 2.6 1.6.7 3.5 1.5 4.1 1.6l4 1.6c1.5.7 4 1.7 5.4 2.1l8 3.1a193.7 193.7 0 0 0 15.8 6.3l3.6 1.4 5.3 2.1c1.8.9 4.5 2 6 2.5 1.5.4 3 1 3.5 1.3a100 100 0 0 1 14.2 5.5l4.6 1.9a56 56 0 0 0 5.2 1.8 62 62 0 0 1 6.2 2.3c4 1.8 9.9.7 20.7-4 1.6-.7 3-1.3 3.4-1.3a60.5 60.5 0 0 1 9.3-3.7 73.4 73.4 0 0 0 8.9-3.3l4.9-2c1.6-.8 4.2-1.9 5.8-2.4 1.6-.5 3.5-1.2 4.2-1.6a41 41 0 0 1 4.3-1.7c1.7-.5 4-1.4 5.1-2 2.3-1.1 7-3 13.6-5.3a85.1 85.1 0 0 0 11-4.5 675 675 0 0 0 23.4-9.3 53 53 0 0 1 5.6-2.2 38 38 0 0 0 4.2-1.6l4-1.6 4.6-1.8c2.8-1.4 13.9-5.8 14.4-5.8 1.2 0 6.7-2.6 8.2-4 2.4-2 3.2-3.7 3.4-7.1l.8-6.7c1.2-7.8 1.8-13 1.8-14.9 0-1 .3-3 .6-4.3.3-1.3.7-4.9 1-7.8.2-3 .5-6 .8-6.6.2-.7.6-3.7.8-6.7.2-3 .6-5.9.8-6.4a245.2 245.2 0 0 1 2.9-23.7c.1-1.8.5-4.7.8-6.6 1.2-9.6 1-10.1-5.2-18a40 40 0 0 1-5-8.1l-1.5-3c0-.3-.7-2.1-1.6-4.2a54 54 0 0 1-3.6-10.4c-.8-2.4-2.1-12.5-2.1-16.3a44.4 44.4 0 0 1 10-27 103 103 0 0 1 16.8-16.1c2.8-2.2 3.9-6.1 4-14.8 0-1.6.3-3.7.5-4.6.2-1 .5-4.1.6-7.1.1-3 .4-6.1.6-7 .2-.9.5-4 .6-7 .1-2.9.3-5.5.5-5.7.1-.3.4-2.8.5-5.7l.7-8.8c.6-4.6 1.5-15 2.4-28 .2-2.7.5-5 .6-5.2l.5-5.6c0-3 .3-6 .6-7 .2-1 .5-4.2.6-7.2.1-3 .4-6 .6-6.8.2-.8.5-3.7.6-6.6.1-2.9.4-6 .6-6.8.2-.9.4-3 .4-4.6 0-1.7.2-4.4.4-6l.8-8.2.9-10c1-10.5.1-12.9-6.1-15.8l-4.4-2.1-5.8-3-8.2-4A783.8 783.8 0 0 0 342 34.7l-32.5-16.2c-1.5-.5-11-.6-110.2-.6H90.6l-14.8 7.4m228.5 32.4a129 129 0 0 0 11.7 5.6c.6.2 6.6 3 13.4 6.4 6.8 3.3 13.4 6.5 14.7 7 8 3.1 8.4 5 7 30.2a905.9 905.9 0 0 0-.8 19.4 354.8 354.8 0 0 0-1.2 15.8l-.7 11.8c-.8 13.3-1.2 18.8-1.6 21.2-.2 1.4-.4 4.2-.4 6.2s-.2 4.3-.4 5.2c-.2.9-.4 4.3-.6 7.6-.1 3.2-.3 6-.4 6.2-.1.2-.4 3.2-.6 6.7-.4 7.8-.9 9-5.1 13.6a92.3 92.3 0 0 0-19.5 31 73.8 73.8 0 0 0-2.8 44.1c.2 1.1.6 3 1 4.2.5 1.2 1.3 3.9 1.8 6a75.2 75.2 0 0 0 8 18.3 74 74 0 0 0 3.2 5.7c3.8 5.8 5 11.5 3.5 17a48 48 0 0 0-.7 6.6 67 67 0 0 1-.7 7.2 77 77 0 0 0-.7 7.2l-.8 9.2-1.8 19c-.8 10.2-.9 11.3-1.8 13.3-1 2.3-3.8 5.1-5.6 5.6l-4.4 1.8c-4.7 2.2-11 4.9-15.8 6.7-2.2.8-5 2-6.4 2.7l-4 1.7-3.8 1.6-4.6 2-4.4 1.6a227.8 227.8 0 0 0-12.4 5.3c-2.2 1-4.3 1.9-4.6 1.9-.3 0-1.2.4-1.9.8s-2.7 1.2-4.4 1.8a55 55 0 0 0-5.5 2.3l-5 2.2a52 52 0 0 0-4 1.7c-.7.4-3 1.3-4.9 2a83.9 83.9 0 0 0-9.5 3.8c-.6.2-2.6 1-4.6 2-2 1-4.7 2-6 2.5-1.4.4-3.4 1.3-4.5 1.9l-2.5 1c-.3 0-2.2.7-4.2 1.6-4.8 2-6.5 2-10.2.3a80.4 80.4 0 0 0-9.8-4l-4.8-2a80 80 0 0 1-4.8-2 13017.1 13017.1 0 0 0-27.6-11.6c-1.8-.7-4.1-1.7-5.2-2l-3.8-1.7c-1-.5-2.6-1.1-3.6-1.4-1-.3-3.6-1.3-5.8-2.4a66.4 66.4 0 0 0-7.6-3.2c-.6-.5-6.3-2.8-6.9-2.8a23 23 0 0 1-3.6-1.4 114 114 0 0 0-5.5-2.4c-1.3-.5-3.5-1.4-4.8-2.1-1.3-.7-3.6-1.6-5-2a45 45 0 0 1-4.8-2 22 22 0 0 0-3.4-1.5c-.6-.1-3.1-1.2-5.6-2.4l-5.9-2.6c-4-1.3-6.1-5.8-6.5-13.6-.1-2.8-.4-5.8-.6-6.7-.2-1-.6-4.4-.8-7.6l-.8-9.5-.8-9.2a75 75 0 0 0-.8-7.6c-.2-1-.5-4-.6-6.5-.1-2.6-.4-5.6-.7-6.7a20.5 20.5 0 0 1 3.3-17 2248.4 2248.4 0 0 1 6-11 82.4 82.4 0 0 0 7.8-22.4l1-4.4a87.8 87.8 0 0 0-1.2-34.2A98.2 98.2 0 0 0 58.4 219c-2-2-3.2-4.4-3.2-6.6l-.6-7.8c-.6-6-1-11.6-1.8-24.1-.2-3.6-.5-6.7-.6-7a1106.2 1106.2 0 0 1-4.6-81.1l-.1-8.3 1.5-2.5c1.4-2.2 2-2.6 4.6-3.9a2066.4 2066.4 0 0 0 24.6-12l16-7.6c2-1 4.1-1.9 4.9-2 .7-.2 46.3-.3 101.3-.3h100l3.9 2m-185 29c-3 .4-2 4.6 2.7 11.6a84.9 84.9 0 0 1 10 23.4c.7 5 .8 249.2.2 252.4a39.4 39.4 0 0 1-5 12.5c-.7 1.4-2.8 4.7-4.8 7.4-3.6 5-4.1 6.2-3.6 7.2.5.7 70.4 1 72.7.3 2.3-.8 2-2-1-5.8a60 60 0 0 1-3.2-4.5l-2.6-3.6a45.5 45.5 0 0 1-4.8-9.7c-.8-2.1-.8-3.4-1-34.6 0-40.3 0-42 1.7-43.5l10.3-8.8c7-5.7 10.7-8.9 10.7-9.1 0-.5 4-3.2 4.4-3 .6.4 2 3.7 4.6 11.6 1.4 4.4 3.1 9.3 3.8 10.8a296.1 296.1 0 0 1 7.1 20l1.4 3.8a158.4 158.4 0 0 0 3.7 10.4 63 63 0 0 0 1.6 4.4l1.7 4.6a199.6 199.6 0 0 0 3.8 10.8l5 13.8c2.3 5.3 1.4 15.2-1.7 18.8a41.8 41.8 0 0 1-3.7 6.8c-3.2 5.2-3.3 6.4 0 6.9 4.2.6 71 .3 71.5-.3.8-1 .1-2.3-3-5.6a67.7 67.7 0 0 1-8.5-10.8c-1.9-3-6.3-14.2-10.5-26.2-3-8.4-3.7-10.5-5-13.6l-1.4-4c0-.5-.5-2-1.2-3.4s-1.2-2.9-1.2-3.2a40 40 0 0 0-2.6-7.2 156.6 156.6 0 0 1-12-33.6l-2-5.6c-.9-1.5-3.5-8.7-5.5-15-.9-2.8-1.8-5.2-2-5.5-.2-.2-.8-2-1.5-3.8l-3.4-9.7c-3-8.3-3-7.9.3-12a202.4 202.4 0 0 0 12-17.2c1-1.3 2.1-3.4 2.8-4.7.6-1.3 1.7-3.1 2.3-4 .7-.9 1.2-1.8 1.2-2 0-.6 2.7-6.3 3.6-7.5.4-.6 1-1.7 1.2-2.6l1.8-4.2c1.5-3 1.9-4 4.4-12.2l2.6-8.2a39 39 0 0 0 1.2-5.4 111 111 0 0 0 0-46.5 53.4 53.4 0 0 0-41.2-37.5 133 133 0 0 0-22-3.2c-2.5-.3-94.1-.5-95.9-.3m92.5 38a26 26 0 0 1 18.7 18.6 36 36 0 0 0 1.4 4 108.6 108.6 0 0 1-3.4 40 73.8 73.8 0 0 1-12.7 24c-1.5 2.5-8.5 10.5-12 13.9a120.1 120.1 0 0 1-13.7 12.1 52.5 52.5 0 0 1-4.6 3.7l-3.9 2.8c-1 .8-2 1.4-2.2 1.3-.4-.2-.7-120.8-.3-121.6 0-.2 6.4-.3 14.1-.3h14l4.6 1.4",fill:"#cca444","fill-rule":"evenodd"},null,-1)];function RH(e,t){return s.openBlock(),s.createElementBlock("svg",LH,BH)}const wh=V(IH,[["render",RH]]),VH=s.defineComponent({__name:"UploadDeckToLorButton",props:PH,setup(e){const{t}=ae(),n=s.ref(null);s.onMounted(()=>{tt(n.value,{content:t("deck.uploadDeckToLor"),arrow:!0}),tt(n.value,{content:t("deck.deckUploaded"),trigger:"manual",arrow:!0})});function r(){console.log("UPLOAD DECK")}return(a,i)=>(s.openBlock(),s.createElementBlock("button",{ref_key:"button",ref:n,class:"circle-button",onClick:r},[s.createVNode(wh)],512))}}),eZ="",kh=V(VH,[["__scopeId","data-v-f0fef97a"]]),$H={},FH={class:"primary-button"};function zH(e,t){const n=s.resolveComponent("FontAwesomeIcon");return s.openBlock(),s.createElementBlock("button",FH,[s.createVNode(n,{icon:"share-nodes"}),s.createElementVNode("span",null,[s.renderSlot(e.$slots,"default")])])}const xh=V($H,[["render",zH]]),jH={deckCode:{type:String,required:!0,default:"CUCACBIKYYAQCBQMAEBAMCI5F4EAMCQLB4IRGFI2D4WACAQGBIIBQAA"},deckId:{type:Number,required:!1},showButtons:{type:Object,required:!0,default:{deleteDeck:!0,updateDeckPrivacy:!0,editDeckName:!0,gemsCost:!0,openArchetypePage:!0,simulateMulligan:!0,openInDeckBuilder:!0,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!0}}},HH={class:"deck-buttons"},WH={key:0,class:"owned-deck-buttons buttons"},UH={class:"normal-buttons buttons"},YH=s.defineComponent({__name:"DeckButtons",props:jH,setup(e){const t=e,{t:n}=ae(),r=s.computed(()=>Ct(t.deckCode));return console.log(r),(a,i)=>(s.openBlock(),s.createElementBlock("div",HH,[t.showButtons.deleteDeck||t.showButtons.updateDeckPrivacy||t.showButtons.editDeckName?(s.openBlock(),s.createElementBlock("div",WH,[t.showButtons.deleteDeck?(s.openBlock(),s.createBlock(hh,{key:0,"deck-id":t.deckId},null,8,["deck-id"])):s.createCommentVNode("",!0),t.showButtons.updateDeckPrivacy?(s.openBlock(),s.createBlock(vh,{key:1,"deck-id":t.deckId,"deck-is-private":!1},null,8,["deck-id"])):s.createCommentVNode("",!0),t.showButtons.editDeckName?(s.openBlock(),s.createBlock(mh,{key:2,"deck-id":t.deckId,"deck-name":"todo"},null,8,["deck-id"])):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),s.createElementVNode("div",UH,[t.showButtons.gemsCost?(s.openBlock(),s.createBlock(cf,{key:0,deck:s.unref(r)},null,8,["deck"])):s.createCommentVNode("",!0),t.showButtons.openArchetypePage?(s.openBlock(),s.createBlock(gh,{key:1,"archetype-id":1})):s.createCommentVNode("",!0),t.showButtons.simulateMulligan?(s.openBlock(),s.createBlock(_h,{key:2,deck:s.unref(r)},null,8,["deck"])):s.createCommentVNode("",!0),t.showButtons.openInDeckBuilder?(s.openBlock(),s.createBlock(bh,{key:3,"deck-code":t.deckCode},null,8,["deck-code"])):s.createCommentVNode("",!0),t.showButtons.copyDeckCode?(s.openBlock(),s.createBlock(ph,{key:4,"deck-code":t.deckCode},null,8,["deck-code"])):s.createCommentVNode("",!0),t.showButtons.uploadDeckToLor?(s.openBlock(),s.createBlock(kh,{key:5,"deck-code":t.deckCode,"deck-name":"todo"},null,8,["deck-code"])):s.createCommentVNode("",!0),t.showButtons.shareDeck?(s.openBlock(),s.createBlock(xh,{key:6},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(n)("deck.shareDeck")),1)]),_:1})):s.createCommentVNode("",!0)])]))}}),tZ="",Sh=V(YH,[["__scopeId","data-v-45c7b897"]]),qH={cards:{type:Array,required:!1},deck:{type:Object,required:!1},deckCode:{type:String,required:!0,default:""},deckId:{type:Number,required:!1}},GH={class:"deck-preview no-scrollbar"},XH={class:"top"},KH=s.defineComponent({__name:"DeckPreview",props:qH,setup(e){const t=e,n={deleteDeck:!1,updateDeckPrivacy:!1,editDeckName:!1,gemsCost:!0,openArchetypePage:!0,simulateMulligan:!1,openInDeckBuilder:!0,copyDeckCode:!0,uploadDeckToLor:!0,shareDeck:!1},r=s.computed(()=>t.deck?t.deck:Ct(t.deckCode)),a=s.computed(()=>t.cards?t.cards:sn(r.value)),i=s.computed(()=>{var o;return{"--deck-summary-background":`url(https://lor.gg/storage/cards/full-art/${(o=Ma(a.value,r.value,1)[0])==null?void 0:o.cardCode}.webp)`}});return(o,l)=>(s.openBlock(),s.createElementBlock("div",GH,[s.createElementVNode("div",XH,[s.createVNode(Sh,{class:"deck-buttons no-scrollbar","deck-code":t.deckCode,"deck-id":t.deckId,"show-buttons":n},null,8,["deck-code","deck-id"])]),s.createElementVNode("div",{class:"deck-summary-wrapper",style:s.normalizeStyle(s.unref(i))},[s.createVNode(dd,{deck:s.unref(r)},null,8,["deck"])],4)]))}}),nZ="",Ch=V(KH,[["__scopeId","data-v-bf451763"]]),JH={cards:{type:Array,required:!1},deckCode:{type:String,required:!0,default:""},deck:{type:Object,required:!1}},ZH={class:"deck-highlight-eye"},QH=s.defineComponent({__name:"DeckHighlightEye",props:JH,setup(e){const t=e,n=s.ref(null),r=s.ref(null),a=s.ref(!1),i=s.ref(!1),o=s.computed(()=>t.deck?t.deck:Ct(t.deckCode)),l=s.computed(()=>t.cards?t.cards:sn(o.value));s.onMounted(()=>{var d;tt((d=r.value)==null?void 0:d.$el,{content:n.value,arrow:!0,duration:0,maxWidth:"90vw",onShow(){a.value=!0},onCreate(u){l.value.length<1||u.popper.style.setProperty("--tippy-background",`url(https://lor.gg/storage/cards/full-art/${Ma(l.value,o.value,1)[0].cardCode}.webp)`)}})});function c(){i.value=!0}return(d,u)=>(s.openBlock(),s.createElementBlock("div",ZH,[s.createVNode(s.unref(nt),{ref_key:"eyeIcon",ref:r,icon:"eye",class:"icon",onClick:c},null,512),s.createElementVNode("div",{ref_key:"deckSummary",ref:n,class:"deck-summary-wrapper"},[a.value?(s.openBlock(),s.createBlock(dd,{key:0,class:"deck-summary",deck:s.unref(o),"cards-prop":s.unref(l)},null,8,["deck","cards-prop"])):s.createCommentVNode("",!0)],512),s.createVNode(Ci,{"show-modal":i.value,"onUpdate:showModal":u[0]||(u[0]=f=>i.value=f)},{default:s.withCtx(()=>[s.createVNode(Ch,{cards:s.unref(l),deck:s.unref(o),"deck-code":t.deckCode},null,8,["cards","deck","deck-code"])]),_:1},8,["show-modal"])]))}}),rZ="",ud=V(QH,[["__scopeId","data-v-ecb770cc"]]),eW={cards:{type:Array,required:!1},deckCode:{type:String,required:!0,default:""},deck:{type:Object,required:!1},showEye:{type:Boolean,required:!1,default:!0}},tW=s.defineComponent({__name:"DeckHighlight",props:eW,setup(e){const t=e,n=s.computed(()=>t.deck?t.deck:Ct(t.deckCode)),r=s.computed(()=>t.cards?t.cards:sn(n.value)),a=s.computed(()=>Dl(r.value)),i=s.computed(()=>r.value.filter(o=>Si(o)));return(o,l)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["deck-highlight",t.showEye?"":"hide-eye"])},[s.createVNode($o,{class:"deck-highlight-regions",regions:s.unref(a)},null,8,["regions"]),s.createVNode(Fo,{class:"deck-highlight-cards",cards:s.unref(i),regions:s.unref(a)},null,8,["cards","regions"]),s.createVNode(ud,{class:"deck-highlight-eye",cards:s.unref(r),deck:s.unref(n),"deck-code":t.deckCode},null,8,["cards","deck","deck-code"])],2))}}),aZ="",da=V(tW,[["__scopeId","data-v-d406c495"]]),nW={cardCodes:{type:Array,required:!0,default:[]},regions:{type:Array,required:!0,default:[]},filters:{type:Object,required:!0,default:{sampleSizeFilters:[],serverFilters:[],timeFilters:[]}}},Fv=s.defineComponent({__name:"ArchetypeSidePanel",props:nW,emits:["update:filters"],setup(e,{emit:t}){const n=e,r=s.reactive(n.filters);return s.watch(r,()=>{t("update:filters",r)}),(a,i)=>(s.openBlock(),s.createElementBlock("div",null,[s.createVNode(Vl,{"card-codes":n.cardCodes,regions:n.regions},null,8,["card-codes","regions"]),s.createVNode(Io,{"filter-array":r.sampleSizeFilters,"onUpdate:filterArray":i[0]||(i[0]=o=>r.sampleSizeFilters=o)},null,8,["filter-array"]),s.createVNode(Bo,{"filter-array":r.timeFilters,"onUpdate:filterArray":i[1]||(i[1]=o=>r.timeFilters=o)},null,8,["filter-array"]),s.createVNode(Lo,{"filter-array":r.serverFilters,"onUpdate:filterArray":i[2]||(i[2]=o=>r.serverFilters=o)},null,8,["filter-array"])]))}}),iZ="",rW={},aW={class:"social-links"},iW={href:"https://discord.gg/tGTSXgDFVU"},oW={href:"https://twitter.com/LORGG__"};function sW(e,t){const n=s.resolveComponent("FontAwesomeIcon");return s.openBlock(),s.createElementBlock("div",aW,[s.createElementVNode("a",iW,[s.createVNode(n,{icon:["fab","discord"],class:"social-icon"})]),s.createElementVNode("a",oW,[s.createVNode(n,{icon:["fab","twitter"],class:"social-icon"})])])}const zv=V(rW,[["render",sW],["__scopeId","data-v-9de6c1ad"]]),lW={type:{type:String,required:!0,default:"data"},deckcode:{type:String,required:!0,default:""},index:{type:Number,required:!0,default:1},matches:{type:Number,required:!1,default:1},wins:{type:Number,required:!1,default:1},comparedDeckcode:{type:String,required:!1,default:""},id:{type:Number,required:!1,default:1},name:{type:String,required:!1,default:""},updatedAt:{type:Number,required:!1,default:1},createdAt:{type:Number,required:!1,default:1}},Ki=Symbol(),cW={...N0,difference:{type:Number,required:!0,default:1}},dW={class:"deck-difference-item"},uW=s.defineComponent({__name:"DeckDifferenceItem",props:cW,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",dW,[s.createVNode(Wr,{"card-code-prop":t.cardCodeProp,"card-prop":t.cardProp,regions:t.regions,"ignore-card-item":t.ignoreCardItem},null,8,["card-code-prop","card-prop","regions","ignore-card-item"]),s.createElementVNode("div",{class:s.normalizeClass(["difference",t.difference>0?"positive":"negative"])},s.toDisplayString(`${t.difference>0?"+":""}${t.difference}`),3)]))}}),oZ="",Eh=V(uW,[["__scopeId","data-v-6a27e232"]]),fW={differences:{type:Array,required:!0,default:[]}},pW={class:"deck-differences no-scrollbar"},hW=s.defineComponent({__name:"DeckDifferences",props:fW,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",pW,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.differences,a=>(s.openBlock(),s.createBlock(Eh,{key:a.cardCodeProp,"card-code-prop":a.cardCodeProp,"card-prop":a.cardProp,difference:a.difference,"ignore-card-item":a.ignoreCardItem,regions:a.regions},null,8,["card-code-prop","card-prop","difference","ignore-card-item","regions"]))),128))]))}}),sZ="",Ah=V(hW,[["__scopeId","data-v-79e42cb8"]]),jv=e=>(s.pushScopeId("data-v-7cedd2f0"),e=e(),s.popScopeId(),e),mW={href:"/test",class:"wrapper"},gW={class:"table-card-row-background-wrapper"},bW={class:"table-card-row-background"},yW=[jv(()=>s.createElementVNode("div",{class:"background-card"},null,-1))],_W={class:"decks-row wrapper"},vW={class:"column-content"},wW={class:"column-content"},kW={class:"column-content"},xW={class:"column-content"},SW={key:2,class:"column-content"},CW={class:"column-content"},EW={key:3,class:"column-content deck-differences-column"},AW=["onClick"],TW=jv(()=>s.createElementVNode("div",{class:"column-content region-chart-wrapper"},null,-1)),OW=s.defineComponent({__name:"DecksRow",props:lW,setup(e){const t=e,n=s.inject(Ki),r=s.computed(()=>Ct(t.deckcode)),a=s.computed(()=>sn(r.value)),i=s.computed(()=>Ma(a.value,r.value,2).map(c=>`https://lor.gg/storage/cards/banner/${c.cardCode}.png`)),o=s.computed(()=>{const c=[];if(t.type!=="similar")return c;const d=Ct(t.comparedDeckcode);for(const[u,f]of Object.entries(r.value))f!==d[u]&&c.push({cardCodeProp:u,difference:f-(d[u]??0),ignoreCardItem:!1});for(const[u,f]of Object.entries(d))f===r.value[u]||c.some(p=>p.cardCodeProp===u)||c.push({cardCodeProp:u,difference:(r.value[u]??0)-f,ignoreCardItem:!1});return c});console.log(o.value);function l(){console.log("Options Button Clicked.")}return(c,d)=>{var u;return s.openBlock(),s.createElementBlock("a",mW,[s.createElementVNode("div",{class:"decks-row-wrapper wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",gW,[s.createElementVNode("div",bW,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(i),f=>(s.openBlock(),s.createElementBlock("div",{key:f,class:"background-card-wrapper",style:s.normalizeStyle({"--background-image":`url(${f})`})},yW,4))),128))])]),s.createElementVNode("div",_W,[s.createElementVNode("div",{class:"column-content deck-highlight-wrapper",onClick:d[0]||(d[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(da,{"deck-code":t.deckcode,deck:s.unref(r),cards:s.unref(a)},null,8,["deck-code","deck","cards"])]),t.type==="data"||t.type==="similar"?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",vW,s.toDisplayString(s.unref(Me)(t.matches)),1),s.createElementVNode("div",{class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(Me)(t.wins/t.matches*100,1,3))+"% ",5)],64)):t.type==="built"?(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createElementVNode("div",wW,s.toDisplayString(t.name),1),s.createElementVNode("div",kW,s.toDisplayString(s.unref(n)(t.updatedAt).fromNow()),1),s.createElementVNode("div",xW,s.toDisplayString(s.unref(n)(t.createdAt).fromNow()),1)],64)):s.createCommentVNode("",!0),t.type!=="similar"?(s.openBlock(),s.createElementBlock("div",SW,[s.createVNode(cd,{class:"mana-curve-chart","deck-code":t.deckcode,"padding-top":0,"show-data-labels":!1,"data-labels-offset":0,"tooltips-enabled":!1,"display-x-scale":!1,animation:!1},null,8,["deck-code"])])):s.createCommentVNode("",!0),s.createElementVNode("div",CW,s.toDisplayString((u=s.unref(Ml)(s.unref(r),!0)??s.unref(Ml)(s.unref(r),!1))==null?void 0:u.toLocaleString()),1),t.type==="similar"?(s.openBlock(),s.createElementBlock("div",EW,[s.createVNode(Ah,{differences:s.unref(o)},null,8,["differences"])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"column-content options-button",onClick:s.withModifiers(l,["stop","prevent"])},[s.createVNode(s.unref(nt),{icon:"ellipsis-v"})],8,AW),TW])],4)])}}}),cZ="",zs=V(OW,[["__scopeId","data-v-7cedd2f0"]]),MW={},NW={class:"icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 172 172"},DW=[s.createStaticVNode('<g fill="none" stroke-miterlimit="10" style="mix-blend-mode:normal;"><g stroke="var(--color-primary-2)" stroke-width="20" stroke-linejoin="round"><path d="M86 157.277c-39.302 0-71.277-31.975-71.277-71.277S46.698 14.723 86 14.723 157.277 46.698 157.277 86 125.302 157.277 86 157.277z" fill="var(--color-primary)" stroke-width="17.92"></path><path d="M86 16.65C47.761 16.65 16.65 47.76 16.65 86c0 38.239 31.111 69.35 69.35 69.35 38.239 0 69.35-31.111 69.35-69.35 0-38.239-31.111-69.35-69.35-69.35m0-3.853c40.427 0 73.203 32.776 73.203 73.203S126.427 159.203 86 159.203 12.797 126.427 12.797 86 45.573 12.797 86 12.797z" fill="var(--color-primary)" stroke-width="17.92"></path><path d="M93.706 55.178a7.706 7.706 0 1 1-15.412 0 7.706 7.706 0 0 1 15.412 0zM97.558 120.675v3.853H74.442v-3.853h3.852v-42.38h-3.852v-3.853h19.264v46.233z" fill="var(--color-primary-2)" stroke-width="17.92"></path></g><path d="M8.944 163.056V8.944h154.112v154.112z"></path><g stroke-width="1" stroke-linejoin="miter"><path d="M86 157.277c-39.302 0-71.277-31.975-71.277-71.277S46.698 14.723 86 14.723 157.277 46.698 157.277 86 125.302 157.277 86 157.277z" fill="var(--color-background-1)"></path><path d="M86 16.65c38.239 0 69.35 31.111 69.35 69.35 0 38.239-31.111 69.35-69.35 69.35-38.239 0-69.35-31.111-69.35-69.35 0-38.239 31.111-69.35 69.35-69.35m0-3.853c-40.427 0-73.203 32.776-73.203 73.203S45.573 159.203 86 159.203 159.203 126.427 159.203 86 126.427 12.797 86 12.797z" fill="var(--color-background-1)"></path><path d="M86 47.472a7.706 7.706 0 1 0 0 15.411 7.706 7.706 0 0 0 0-15.411zM93.706 120.675V74.442H74.442v3.852h3.852v42.381h-3.852v3.853h23.116v-3.853z" fill="var(--color-primary-2)"></path></g></g>',1)];function PW(e,t){return s.openBlock(),s.createElementBlock("svg",NW,DW)}const Th=V(MW,[["render",PW]]),IW={class:"card-item-link-wrapper"},LW={key:0,class:"card-item-wrapper"},BW={href:"https://lor.gg"},RW={key:1,class:"card-item-wrapper"},VW={class:"link-icon-link",href:"https://lor.gg"},$W={class:"link-icon"},FW=s.defineComponent({__name:"CardItemLinkWrapper",props:g0,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",IW,[n.isDeckBuilder?(s.openBlock(),s.createElementBlock("div",RW,[s.createVNode(dr,s.normalizeProps(s.guardReactiveProps(t)),null,16),s.createElementVNode("a",VW,[s.createElementVNode("div",$W,[s.createVNode(Th)])])])):(s.openBlock(),s.createElementBlock("div",LW,[s.createElementVNode("a",BW,[s.createVNode(dr,s.normalizeProps(s.guardReactiveProps(t)),null,16)])]))]))}}),uZ="",Hv=V(FW,[["__scopeId","data-v-f83acc56"]]),zW={name:{type:String,required:!0,default:""}},jW={class:"profile-dropdown-wrapper"},HW=s.defineComponent({__name:"ProfileDropdown",props:zW,setup(e){const t=e,n=s.ref(),r=s.ref();return s.onMounted(()=>{tt(n.value,{content:r.value,arrow:!0,interactive:!0,interactiveBorder:10})}),(a,i)=>(s.openBlock(),s.createElementBlock("div",jW,[s.createElementVNode("div",{ref_key:"profile",ref:n,class:"profile-dropdown"},s.toDisplayString(t.name),513),s.createElementVNode("div",{ref_key:"dropdown",ref:r,class:"slider-wrapper"},"Test",512)]))}}),fZ="",Oh=V(HW,[["__scopeId","data-v-1c516824"]]),fd={items:{type:Array,required:!0,default:[]},isLoggedIn:{type:Boolean,required:!0,default:!1},name:{type:String,required:!1,default:""},iconCard:{type:String,required:!1,default:""},bannerColor:{type:String,required:!1,default:""},userId:{type:Number,required:!1,default:1}},WW={class:"navigation-top-desktop"},UW={class:"left content"},YW={class:"right content"},qW={key:1,class:"fancy-button"},GW=s.defineComponent({__name:"NavigationTopDesktop",props:fd,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",WW,[s.createElementVNode("div",UW,[s.createVNode(Pl,{class:"search-bar"})]),s.createElementVNode("div",YW,[s.createVNode(Xu,{class:"social-links"}),s.createVNode(df,{class:"language-selection"}),t.isLoggedIn?(s.openBlock(),s.createBlock(Oh,{key:0,name:t.name},null,8,["name"])):(s.openBlock(),s.createElementBlock("div",qW,"Sign In"))])]))}}),pZ="",Mh=V(GW,[["__scopeId","data-v-0be13d90"]]),XW={card:{type:Object,required:!0,default:{associatedCardRefs:["06NX013T1"],regionRefs:["Noxus","06RU002"],attack:1,cost:2,health:1,description:"<link=keyword.PlaySkillMark><sprite name=SkillMark><style=Keyword>Play</style></link>: <link=keyword.Stun><sprite name=Stunned><style=Keyword>Stun</style></link> an enemy or if it's already <link=keyword.Stun><sprite name=Stunned><style=Keyword>Stunned</style></link> deal 2 to it instead.",descriptionRaw:"Play: Stun an enemy or if it's already Stunned deal 2 to it instead.",levelupDescription:"",levelupDescriptionRaw:"",flavorText:`"Student: Sydell Kythera
860
+ Teacher: J. Willough
861
+ Report: I am spiderbit on left forearm. Sydell claims a misunderstanding, but his smirk belies his innocence. He is ordered to two weeks additional chores (refectory)."
862
+ - Ravenbloom discipline card`,artistName:"Polar Engine",name:"Spell Slinger",cardCode:"06NX013",keywords:["Fearsome"],keywordRefs:["Fearsome"],spellSpeedRef:"",rarityRef:"Common",subtypes:["SPIDER"],subtypeRefs:["SPIDER"],supertype:"",typeRef:"Unit",collectible:!0,set:"Set6",createdAt:"2022-09-09",updatedAt:"2022-09-14"}}},KW={class:"card-similar-cards"},JW=s.defineComponent({__name:"CardSimilarCards",props:XW,setup(e){const t=e;function n(a,i,o){if(a.length===10&&o<a[0].points)return;let l=0;for(;l<a.length&&a[l].points<o;)l++;a.splice(l,0,{cardCode:i,points:o}),a.length>10&&a.splice(0,1)}const r=s.computed(()=>{const a=[],i=Ot().cardJsonObject;let o=0;for(const l in i){if(l===t.card.cardCode||t.card.collectible&&!i[l].collectible)continue;o=0;const c=i[l];for(const d of c.regionRefs)for(const u of t.card.regionRefs)d===u&&(o+=2);for(const d of c.subtypes)for(const u of t.card.subtypes)d===u&&(o+=2);for(const d of c.keywordRefs)for(const u of t.card.keywordRefs)d===u&&(o+=1);c.typeRef===t.card.typeRef&&(o+=3),c.rarityRef!=="None"&&c.rarityRef===t.card.rarityRef&&(o+=1),c.typeRef==="Unit"&&t.card.typeRef==="Unit"&&(o+=(9-Math.abs(c.attack-t.card.attack))/3,o+=(9-Math.abs(c.health-t.card.health))/3),o+=(12-Math.abs(c.cost-t.card.cost))/3,n(a,l,o)}return a.reverse().map(l=>Ot().cardJsonObject[l.cardCode])});return(a,i)=>(s.openBlock(),s.createElementBlock("div",KW,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(r),o=>(s.openBlock(),s.createBlock(dr,{key:o.cardCode,"card-prop":o,"is-root":!0},null,8,["card-prop"]))),128))]))}}),hZ="",Wv=V(JW,[["__scopeId","data-v-629c30ac"]]),ZW={logoType:{type:String,required:!0,default:"logo-and-text"}},Uv=e=>(s.pushScopeId("data-v-bb0b24b5"),e=e(),s.popScopeId(),e),QW={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 862.33 136.654"},eU=[s.createStaticVNode('<path d="M0 2.947h18.418V115.29h77.35v18.416H0Z" data-v-bb0b24b5></path><path d="M205.729 0a68.327 68.327 0 1 1-68.326 68.331A68.3 68.3 0 0 1 205.729 0Zm0 118.236a49.908 49.908 0 1 0-49.909-49.909 49.948 49.948 0 0 0 49.909 49.904Z" data-v-bb0b24b5></path><path d="M396.538 2.947a42.211 42.211 0 0 1 41.991 41.991 41.554 41.554 0 0 1-32.046 40.7l29.1 48.067H414.22l-28.363-46.962h-32.046v46.962h-18.416V68.326h39.413l-39.413-65.38Zm0 65.38a23.481 23.481 0 1 0 0-46.962h-28.73l28.363 46.962Z" data-v-bb0b24b5></path><path d="M495.266 115.291h18.418v18.416h-18.418Z" data-v-bb0b24b5></path><path d="M685.517 60.778v72.928h-18.418v-6.443a68.378 68.378 0 1 1 12.894-107.926l-12.894 13.076a49.909 49.909 0 1 0 0 71.827V79.192h-49.726V60.779Z" data-v-bb0b24b5></path><path d="M862.33 60.778v72.928h-18.417v-6.443a68.379 68.379 0 1 1 12.89-107.926l-12.89 13.076a49.909 49.909 0 1 0 0 71.827V79.192H794.19V60.779Z" data-v-bb0b24b5></path>',6)],tU={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 926.43 201.096"},nU=[s.createStaticVNode('<path d="M251.125 49.347h14.423v87.978h60.574v14.422h-75Z" data-v-bb0b24b5></path><path d="M412.235 47.039a53.507 53.507 0 1 1-53.508 53.507 53.487 53.487 0 0 1 53.508-53.507Zm0 92.592a39.084 39.084 0 1 0-39.085-39.084 39.115 39.115 0 0 0 39.085 39.084Z" data-v-bb0b24b5></path><path d="M561.66 49.347a33.056 33.056 0 0 1 32.884 32.884 32.542 32.542 0 0 1-25.1 31.873l22.787 37.642h-16.729l-22.212-36.777h-25.1v36.777h-14.422v-51.2h30.865l-30.865-51.2Zm0 51.2a18.388 18.388 0 1 0 0-36.776h-22.5l22.211 36.776Z" data-v-bb0b24b5></path><path d="M638.976 137.325h14.423v14.422h-14.423Z" data-v-bb0b24b5></path><path d="M787.964 94.635v57.111h-14.422V146.7a53.547 53.547 0 1 1 10.1-84.518l-10.1 10.24a39.084 39.084 0 1 0 0 56.248v-19.616h-38.939v-14.42Z" data-v-bb0b24b5></path><path d="M926.429 94.635v57.111h-14.423V146.7A53.548 53.548 0 1 1 922.1 62.182l-10.094 10.24a39.084 39.084 0 1 0 0 56.248v-19.616h-38.939v-14.42Z" data-v-bb0b24b5></path><path d="M100.548 0A100.548 100.548 0 0 1 201.1 100.548a98.177 98.177 0 0 1-3.633 26.46c-.011-.011-17.535 0-17.535 0s5.292-19.211 5.292-26.46a84.672 84.672 0 0 0-169.344 0c0 46.782 39.667 84.672 84.672 84.672s73.348-43.16 73.348-43.16h18.252A100.558 100.558 0 1 1 100.548 0Z" data-v-bb0b24b5></path><path d="M108.72 45.643c19.711 0 36.623 15.51 36.623 34.994 0 16.991-12.308 31.253-28.078 34.994l15.87 25.34h59.707s-4 7.623-11.509 11.243-18.271 3.238-18.271 3.238h-38.473l-24.415-39.821H72.097v39.821h-15.87V99.945h34.182l-34.182-54.3Zm0 54.3c11.2 0 20.753-8.242 20.753-19.307s-9.557-19.307-20.753-19.307H84.304l24.416 38.614Z" data-v-bb0b24b5></path>',8)],rU={key:2,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 201.1 201.12"},aU=[Uv(()=>s.createElementVNode("path",{d:"M100.548 0A100.548 100.548 0 0 1 201.1 100.548a98.177 98.177 0 0 1-3.633 26.46c-.011-.011-17.535 0-17.535 0s5.292-19.211 5.292-26.46a84.672 84.672 0 0 0-169.344 0c0 46.782 39.667 84.672 84.672 84.672s73.348-43.16 73.348-43.16h18.252A100.558 100.558 0 1 1 100.548 0Z"},null,-1)),Uv(()=>s.createElementVNode("path",{d:"M108.72 45.643c19.711 0 36.623 15.51 36.623 34.994 0 16.991-12.308 31.253-28.078 34.994l15.87 25.34h59.707s-4 7.623-11.509 11.243-18.271 3.238-18.271 3.238h-38.473l-24.415-39.821H72.097v39.821h-15.87V99.945h34.182l-34.182-54.3Zm0 54.3c11.2 0 20.753-8.242 20.753-19.307s-9.557-19.307-20.753-19.307H84.304l24.416 38.614Z"},null,-1))],iU=s.defineComponent({__name:"LogoIcon",props:ZW,setup(e){const t=e;return(n,r)=>t.logoType==="text-only"?(s.openBlock(),s.createElementBlock("svg",QW,eU)):t.logoType==="logo-and-text"?(s.openBlock(),s.createElementBlock("svg",tU,nU)):(s.openBlock(),s.createElementBlock("svg",rU,aU))}}),_Z="",Ji=V(iU,[["__scopeId","data-v-bb0b24b5"]]),oU={class:"dashboard-sign-up"},sU={class:"top"},lU={class:"subtitle"},cU={class:"fancy-button"},dU=s.defineComponent({__name:"DashboardSignUp",setup(e){const{t}=ae();return(n,r)=>(s.openBlock(),s.createElementBlock("div",oU,[s.createElementVNode("div",sU,[s.createVNode(Ji,{"logo-type":"text-only",class:"logo-icon"}),s.createElementVNode("div",lU,s.toDisplayString(s.unref(t)("general.becomeTheMaster")),1)]),s.createElementVNode("div",cU,s.toDisplayString(s.unref(t)("general.signIn")),1)]))}}),vZ="",Yv=V(dU,[["__scopeId","data-v-e398dd28"]]),uU={deckCode:{type:String,required:!0,default:""},gameMode:{type:String,required:!0,default:""},gameType:{type:String,required:!0,default:""},isAttackingFirst:{type:Boolean,required:!0,default:!0},isVictory:{type:Boolean,required:!0,default:""},opponentDeckCode:{type:String,required:!0,default:""},opponentName:{type:String,required:!0,default:""},playedAt:{type:Date,required:!0,default:new Date}},fU=e=>(s.pushScopeId("data-v-40345245"),e=e(),s.popScopeId(),e),pU={class:"match-item"},hU=[fU(()=>s.createElementVNode("div",{class:"background-card"},null,-1))],mU={class:"details"},gU={class:"match-details"},bU={class:"game-type"},yU={class:"time"},_U={class:"opponent-details"},vU={class:"main"},wU={class:"container"},kU={class:"container"},xU=s.defineComponent({__name:"MatchItem",props:uU,setup(e){const t=e,{t:n}=ae(),r=s.inject(Ki),a=s.computed(()=>Ct(t.deckCode)),i=s.computed(()=>Ct(t.opponentDeckCode)),o=s.computed(()=>[Ma(sn(a.value),a.value,1)[0],Ma(sn(i.value),i.value,1)[0]].map(l=>`https://lor.gg/storage/cards/banner/${l==null?void 0:l.cardCode}.png`));return(l,c)=>(s.openBlock(),s.createElementBlock("div",pU,[s.createElementVNode("div",{class:"background",style:s.normalizeStyle({"--background-image":`url(${s.unref(o)[0]})`})},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(o),d=>(s.openBlock(),s.createElementBlock("div",{key:d,class:"background-card-wrapper",style:s.normalizeStyle({"--background-image":`url(${d})`})},hU,4))),128))],4),s.createElementVNode("div",mU,[s.createElementVNode("div",gU,[s.createElementVNode("div",bU,s.toDisplayString(t.gameType),1),s.createElementVNode("div",yU,s.toDisplayString(s.unref(r)(t.playedAt).fromNow()),1)]),s.createElementVNode("div",_U,s.toDisplayString(t.opponentName),1)]),s.createElementVNode("div",vU,[s.createElementVNode("div",wU,[s.createVNode(da,{class:"deck-highlight",deck:s.unref(a)},null,8,["deck"])]),s.createElementVNode("div",{class:"container results",style:s.normalizeStyle({color:t.isVictory?"var(--color-good)":"var(--color-bad)"})},s.toDisplayString(t.isVictory?s.unref(n)("general.victory"):s.unref(n)("general.defeat")),5),s.createElementVNode("div",kU,[s.createVNode(da,{class:"deck-highlight opponent",deck:s.unref(i)},null,8,["deck"])])])]))}}),kZ="",qv=V(xU,[["__scopeId","data-v-40345245"]]),SU={players:{type:Array,required:!0,default:[]}},CU={class:"leaderboard-top-10-region"},EU=s.defineComponent({__name:"LeaderboardTop10Region",props:SU,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",CU,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.players,a=>(s.openBlock(),s.createBlock(ln,{key:a.user_id,"card-code-prop":a.selected_banner_card??void 0,color:a.selected_banner_color??"var(--color-background-2-rgb)","mana-number":a.rank+1,name:a.name,"quantity-number":a.lp,"ignore-card-item":!0},null,8,["card-code-prop","color","mana-number","name","quantity-number"]))),128))]))}}),xZ="",Nh=V(EU,[["__scopeId","data-v-892efa10"]]),AU={index:{type:Number,required:!0,default:0},change:{type:Number,required:!0,default:0},favorite_deck:{type:String,required:!0,default:""},lp:{type:Number,required:!0,default:0},matches:{type:Number,required:!0,default:0},name:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},selected_banner_card:{type:String,required:!1,default:null},selected_banner_color:{type:String,required:!1,default:null},server:{type:String,required:!0,default:"americas"},updated_at:{type:String,required:!0,default:""},user_id:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0}},TU={href:"/test",class:"wrapper"},OU={class:"leaderboard-detail-row-background-wrapper"},MU={class:"leaderboard-detail-row-background"},NU={class:"leaderboard-detail-row wrapper"},DU={class:"column-content"},PU={class:"column-content"},IU={class:"column-content deck-highlight-wrapper"},LU=s.defineComponent({__name:"LeaderboardDetailRow",props:AU,setup(e){const t=e,n=s.computed(()=>t.selected_banner_card?["",`https://lor.gg/storage/cards/banner/${t.selected_banner_card}.png`]:[]),r=s.computed(()=>t.change===null||t.change===void 0?[]:t.change===0?["neutral"]:[t.change>0?"good":"bad"]);return(a,i)=>(s.openBlock(),s.createElementBlock("a",TU,[s.createElementVNode("div",{class:"leaderboard-detail-row-wrapper wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",OU,[s.createElementVNode("div",MU,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(n),o=>(s.openBlock(),s.createElementBlock("div",{key:o,class:"background-card",style:s.normalizeStyle({"--background-image":`url(${o})`})},null,4))),128))])]),s.createElementVNode("div",NU,[s.createElementVNode("div",{class:"column-content card-wrapper",onClick:i[0]||(i[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(ln,{class:"card-slice-item","card-code-prop":t.selected_banner_card??void 0,color:t.selected_banner_color??"var(--color-background-2-rgb)","ignore-card-item":!0,"mana-number":t.rank+1,name:t.name,"maintain-aspect-ratio":!0},null,8,["card-code-prop","color","mana-number","name"])]),s.createElementVNode("div",DU,s.toDisplayString(s.unref(Me)(t.lp)),1),s.createElementVNode("div",{class:s.normalizeClass(["column-content change",s.unref(r)])},[t.change!==null?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(s.unref(nt),{class:"icon",icon:"fa-chevron-down"}),s.createElementVNode("span",null,s.toDisplayString(t.change?s.unref(Me)(Math.abs(t.change)):""),1)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createTextVNode(" Test ")],64))],2),s.createElementVNode("div",PU,s.toDisplayString(s.unref(Me)(t.matches)),1),s.createElementVNode("div",{class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(Me)(t.wins/t.matches*100,1,3))+"% ",5),s.createElementVNode("div",IU,[s.createVNode(da,{"deck-code":t.favorite_deck},null,8,["deck-code"])])])],4)]))}}),SZ="",Dh=V(LU,[["__scopeId","data-v-fd1e0d8c"]]),BU={deckcode:{type:String,required:!0,default:""},type:{type:String,required:!0,default:"built"},wins:{type:Number,required:!1,default:0},matches:{type:Number,required:!1,default:0},deckId:{type:Number,required:!1,default:0},userName:{type:String,required:!1,default:""},userId:{type:Number,required:!1,default:0},deckName:{type:String,required:!1,default:""},updatedAt:{type:Date,required:!1,default:new Date}},CZ="",RU={},VU=e=>(s.pushScopeId("data-v-5b8e191d"),e=e(),s.popScopeId(),e),$U={xmlns:"http://www.w3.org/2000/svg",viewBox:"25.21 66.56 353.98 269.42"},FU=[VU(()=>s.createElementVNode("path",{"fill-rule":"evenodd",d:"M95 67.249c-9.442 3.237-27.165 14.29-35.055 21.862-11.985 11.504-13.495 17.449-8.521 33.553 2.884 9.338 3.125 12.31 1.653 20.336-.565 3.08-1.282 7.497-1.593 9.816-.654 4.859-1.507 6.968-3.167 7.827-3.347 1.731-6.07-.959-12.46-12.308-3.227-5.732-5.32-5.733-7.478-.002-2.901 7.705-4.229 34.074-2.178 43.267 2.612 11.708 12.146 22.248 23.887 26.408 8.91 3.158 11.435 5.049 14.233 10.662 8.79 17.627 7.541 23.49-4.121 19.348-1.98-.704-5.67-2.014-8.2-2.912-14.356-5.094-16.5 2.124-5.514 18.561 11.421 17.088 27.745 24.899 44.255 21.178 8.934-2.013 10.069-1.524 24.2 10.428 6.649 5.624 4.594 9.455-6.606 12.316-12.406 3.169-15.535 4.779-15.535 7.993 0 5.469 18.596 14.356 38.74 18.513l8.26 1.705 9.6-.008c15.176-.013 24.599-3.381 27.766-9.923 3.23-6.671-3.138-11.752-20.405-16.279-12.779-3.351-30.021-11.869-38.294-18.917-1.247-1.063-3.897-3.157-5.888-4.655-4.364-3.282-4.942-3.837-11.668-11.218-11.085-12.163-22.048-27.835-28.466-40.688-3.51-7.033-9.477-26.526-11.236-36.712-.456-2.64-1.19-6.571-1.631-8.736-2.292-11.243-2.558-44.967-.409-51.864 1.238-3.974 3.331-7.113 8.743-13.113 5.167-5.728 14.42-17.676 17.042-22.003C102.408 72.867 105.053 63.804 95 67.249m208.422.186c-3.908 3.908 15.994 38.934 31.232 54.965 10.996 11.569 10.723 10.583 10.696 38.6-.019 19.623-.295 24.066-1.963 31.6-.536 2.42-1.261 5.93-1.612 7.8-2.746 14.637-10.641 36.205-16.189 44.223-.904 1.308-3.281 4.807-5.282 7.777-10.021 14.873-21.298 27.434-32.304 35.985-8.729 6.78-14.267 10.233-24.2 15.088-5.783 2.826-8.281 3.691-18.309 6.339-18.029 4.761-23.977 11.711-16.463 19.235 10.208 10.222 41.826 8.98 67.937-2.669 18.937-8.448 18.603-13.956-1.126-18.585-11.879-2.787-13.761-6.768-6.284-13.29 10.684-9.318 15.331-11.406 22.045-9.904 19.751 4.416 38.64-5.948 49.204-26.999 7.093-14.133 2.492-17.531-14.547-10.743-14.009 5.581-15.808 2.355-8.334-14.948 3.515-8.137 5.055-9.639 13.261-12.938 12.256-4.926 18.075-9.526 22.289-17.62 5.112-9.82 6.884-21.96 4.955-33.951-.425-2.64-.978-6.6-1.229-8.8-1.713-15.016-5.073-17.902-10.183-8.747-8.477 15.19-14.387 14.824-15.445-.955-.217-3.244-.773-7.942-1.234-10.441-1.032-5.581-.845-7.054 2.093-16.489 4.123-13.244 3.044-19.481-4.99-28.827-11.239-13.075-39.907-29.817-44.018-25.706M154.939 85.232c-3.352.569-6.053 1.748-19.923 8.695-19.225 9.629-19.157 9.528-16.851 24.998.866 5.807 1.256 10.746 2.045 25.875.132 2.53.594 6.94 1.026 9.8.433 2.86 1.057 8.516 1.389 12.568.904 11.063 1.161 11.837 5.636 16.979 4.078 4.685 5.623 6.898 6.554 9.385 3.192 8.532 2.461 17.086-2.219 25.952-4.076 7.723-4.323 11.769-1.59 26.116.523 2.75 1.15 7.416 1.392 10.369.858 10.47 1.649 11.962 8.002 15.115 3.337 1.656 44.33 18.375 56 22.839 5.951 2.277 6.046 2.253 32.8-8.361 37.31-14.801 37.429-14.853 39.694-17.327 1.98-2.162 3.87-11.183 4.91-23.435.346-4.07.906-9.11 1.245-11.2.888-5.479.613-6.76-3.053-14.2-6.949-14.101-6.029-23.115 3.597-35.251 5.448-6.868 6.466-11.089 7.811-32.387.335-5.301.967-11.781 1.404-14.4.437-2.619.971-7.732 1.186-11.362.214-3.63.597-9.435.85-12.9.575-7.874.303-9.161-2.449-11.613-2.137-1.902-25.779-13.911-30.595-15.54L251 85l-47-.059c-25.85-.032-47.928.099-49.061.291m58.368 27.111c31.052 5.446 39.083 34.191 18.288 65.457-6.499 9.772-6.864 11.713-3.691 19.6.885 2.2 4.129 10.93 7.209 19.4 6.148 16.906 11.122 29.697 12.978 33.378C252.452 258.825 249.46 261 233.2 261c-15.701 0-17.591-1.169-15.554-9.621 1.257-5.212-1.044-13.36-9.338-33.066-3.593-8.535-8.291-9.515-11.759-2.453l-1.149 2.34v27.6l1.543 4.506c3.059 8.927 1.215 10.438-13.143 10.775-17.559.412-20.099-1.187-16.9-10.64l1.3-3.841V131l-1.322-3.6c-4.295-11.694-3.493-14.57 4.276-15.338 4.722-.467 39.199-.237 42.153.281m-15.188 22.413c-2.764 1.746-2.719 1.382-2.719 21.844 0 17.841.025 18.442.822 19.799 1.436 2.445 3.249 2.141 6.676-1.119 11.294-10.747 15.557-31.235 7.868-37.817-3.234-2.768-10.192-4.257-12.647-2.707"},null,-1))];function zU(e,t){return s.openBlock(),s.createElementBlock("svg",$U,FU)}const Ph=V(RU,[["render",zU],["__scopeId","data-v-5b8e191d"]]),AZ="",jU={},HU=e=>(s.pushScopeId("data-v-5b6f3d5e"),e=e(),s.popScopeId(),e),WU={xmlns:"http://www.w3.org/2000/svg",viewBox:"58.93 70.36 282.28 264.88"},UU=[HU(()=>s.createElementVNode("path",{"fill-rule":"evenodd",d:"M74.274 70.98C70.143 72.453 70 73.187 70 92.989c0 21.375-.191 20.705 7.953 27.937 2.556 2.269 6.54 5.914 8.854 8.1 2.315 2.186 5.915 5.497 8 7.359 2.086 1.861 5.953 5.468 8.593 8.015 2.64 2.547 6.42 5.963 8.4 7.591 1.98 1.628 5.94 5.133 8.8 7.788 2.86 2.654 7 6.432 9.2 8.395 2.2 1.962 5.98 5.503 8.4 7.868s6.59 6.158 9.268 8.429c4.882 4.142 12.716 11.282 23.838 21.729 3.28 3.08 7.792 7.123 10.028 8.985 2.236 1.861 5.776 5.021 7.866 7.021s5.69 5.329 8 7.396c2.31 2.068 6.81 6.22 10 9.226 3.19 3.007 7.69 7.081 10 9.053 21.285 18.171 21.513 18.953 9.193 31.537-11.486 11.732-11.469 11.443-1.589 26.173 10.712 15.973 10.896 15.947 20.619-2.991 11.834-23.052 13.416-25.365 25.434-37.203 11.725-11.549 16.26-14.348 43.754-26.997 11.527-5.303 11.173-7.25-3.018-16.595-15.492-10.2-15.171-10.208-26.226.594-13.433 13.125-12.533 13.445-37.919-13.489-3.986-4.229-12.558-13.143-19.048-19.807-6.49-6.665-13.69-14.274-16-16.909-2.31-2.635-9.78-10.466-16.6-17.402-6.82-6.936-15.279-15.667-18.799-19.402-3.519-3.734-11.46-11.95-17.645-18.256-6.186-6.306-13.297-13.768-15.802-16.581-20.002-22.467-26.5-28.126-33.898-29.522-4.553-.859-33.002-.901-35.382-.051m216.926.059c-7.757 1.18-15.308 7.452-32.457 26.961-2.998 3.41-10.947 11.813-17.664 18.674-18.498 18.89-18.283 16.816-3.329 32.126 5.05 5.17 11.341 11.83 13.981 14.8 10.629 11.958 10.819 11.943 25.898-2.122 3.206-2.991 7.616-6.926 9.8-8.745 2.184-1.819 6.041-5.312 8.571-7.763 4.366-4.231 7.244-6.886 21.639-19.97 13.379-12.161 12.447-9.635 12.278-33.282-.166-23.132 1.735-21.089-19.717-21.188-11.529-.052-16.118.07-19 .509M100.353 214.552c-2.773.991-20.47 12.72-22.081 14.635-1.619 1.924-1.444 3.394.643 5.394 1.846 1.768 16.397 9.364 26.085 13.616 11.889 5.218 13.609 6.491 26.829 19.866 11.076 11.206 10.481 10.327 20.611 30.449 11.967 23.77 11.22 23.54 22.788 7.024 10.227-14.603 10.258-13.976-1.248-25.724-10.551-10.773-10.909-12.12-5.142-19.314 4.67-5.824 3.236-8.817-9.202-19.218-2.55-2.132-6.976-6.088-9.836-8.791-8.553-8.083-10.094-8.421-16.842-3.693-6.031 4.224-8.258 3.44-18.406-6.477-8.442-8.25-10.183-9.202-14.199-7.767m-3.956 64.232c-2.342.689-4.018 2.019-10.527 8.355-3.778 3.678-8.94 8.499-11.47 10.715-7.557 6.617-12.117 11.625-13.871 15.235-4.825 9.931 1.8 21.016 12.924 21.628 6.239.343 9.298-1.455 19.527-11.475 3.971-3.89 9.903-9.585 13.182-12.657 13.369-12.524 13.444-13.102 3.039-23.437-7.544-7.493-10.098-9.161-12.804-8.364m203.369.571c-2.737 1.275-13.946 12.139-15.534 15.057-2.288 4.204-1.446 5.641 9.351 15.954 4.28 4.089 10.49 10.054 13.8 13.257 13.601 13.162 21.004 14.833 29.242 6.6 8.552-8.547 5.312-18.062-11.025-32.369-2.53-2.215-7.718-7.063-11.529-10.773-8.942-8.704-10.453-9.52-14.305-7.726"},null,-1))];function YU(e,t){return s.openBlock(),s.createElementBlock("svg",WU,UU)}const Ih=V(jU,[["render",YU],["__scopeId","data-v-5b6f3d5e"]]),OZ="",qU={},GU=e=>(s.pushScopeId("data-v-81223df9"),e=e(),s.popScopeId(),e),XU={xmlns:"http://www.w3.org/2000/svg",viewBox:"5.25 32.41 384.35 392.23"},KU=[GU(()=>s.createElementVNode("path",{"fill-rule":"evenodd",d:"M196.56 32.706c-.242.162-.643.68-.891 1.151-.464.882-6.181 23.37-7.663 30.143-2.029 9.277-13.207 54.007-16.187 64.776-2.401 8.677-2.227 10.411 1.102 11.036 2.465.462 8.894-4.762 13.798-11.212 1.004-1.32 2.566-3.21 3.473-4.2.906-.99 2.417-2.935 3.358-4.322 2.851-4.205 4.112-4.166 7.292.224.916 1.264 2.6 3.288 3.743 4.498 1.142 1.21 3.257 3.64 4.698 5.401 6.387 7.801 10.008 10.411 12.645 9.115 2.896-1.422 3.516 2.259-6.28-37.316-2.423-9.79-4.945-20.05-5.603-22.8-8.63-36.06-11.562-46.819-12.753-46.794-.161.003-.49.138-.732.3m-77.835 9.868c-4.03 2.43-9.532 6.24-14.703 10.181-9.024 6.878-10.169 7.804-13.417 10.853-1.763 1.654-4.015 3.621-5.005 4.371-.99.75-3.702 3.177-6.026 5.393-2.324 2.215-5.474 5.198-7 6.628-3.458 3.241-9.993 10.614-12.232 13.8-.928 1.32-2.79 3.75-4.139 5.4-1.349 1.65-3.548 4.53-4.888 6.4-1.34 1.87-2.926 3.85-3.524 4.4-.599.55-2.45 2.8-4.113 5-1.663 2.2-3.953 5.08-5.087 6.4-1.134 1.32-3.261 4.11-4.725 6.2-1.464 2.09-3.443 4.88-4.399 6.2-8.17 11.289-23.812 36.82-24.163 39.441-.282 2.099.484 2.895 3.842 3.991 24.399 7.967 28.64 32.858 8.613 50.547-4.2 3.71-4.802 4.749-4.005 6.917 1.139 3.094 4.592 10.511 5.944 12.767.771 1.285 2.411 4.317 3.645 6.737s3.462 6.311 4.95 8.646c1.489 2.336 3.697 5.821 4.907 7.746 7.683 12.222 15.624 23.335 21.97 30.748 1.666 1.947 4.165 4.917 5.552 6.6 3.393 4.116 18.291 19.067 22.278 22.357 1.76 1.452 4.28 3.669 5.6 4.926 3.052 2.907 14.983 11.823 22.898 17.112 3.353 2.241 7.313 5.202 8.8 6.581 1.486 1.378 4.005 3.554 5.597 4.836 1.592 1.282 3.752 3.43 4.8 4.774 1.048 1.344 3.54 4.161 5.538 6.259 5.088 5.343 11.547 13.615 14.195 18.181 5.189 8.946 7.369 7.129 5.539-4.618-.458-2.942-.98-6.518-1.161-7.948-.906-7.167-3.701-21.63-4.87-25.2-4.277-13.062-8.002-19.195-11.662-19.199-2.363-.002-5.716-2.286-11.474-7.815-1.65-1.585-4.08-3.663-5.4-4.619-3.099-2.244-19.447-18.69-23.229-23.367-1.601-1.98-4.093-4.95-5.536-6.6-7.749-8.854-11.713-14.165-20.9-28-2.557-3.85-5.634-8.44-6.837-10.2-5.081-7.431-6.634-10.061-11.099-18.794-2.586-5.056-5.616-10.546-6.735-12.2-2.255-3.333-6.408-12.086-7.014-14.781-.886-3.942 4.505-17.812 11.748-30.225 1.155-1.98 3.322-5.76 4.815-8.4 3.088-5.461 12.353-19.487 14.344-21.717.729-.816 2.922-3.643 4.874-6.283 4.239-5.731 12.608-16.065 16.623-20.525 2.06-2.289 2.639-4.032 4.337-13.06 1.059-5.628 4.403-17.624 6.027-21.615.626-1.54 2.075-5.23 3.219-8.2 1.145-2.97 2.752-6.75 3.572-8.4.82-1.65 2.428-5.16 3.571-7.8 1.144-2.64 2.587-5.61 3.206-6.6.619-.99 2.405-4.315 3.97-7.388 4.164-8.182 3.716-10.062-1.631-6.838m152.701-1.017c-.394.638.802 3.336 6.061 13.68 7.714 15.171 14.334 30.793 16.444 38.805.428 1.627 1.251 4.578 1.828 6.558.577 1.98 1.741 6.957 2.586 11.061 1.741 8.459 1.616 8.201 7.055 14.569 3.573 4.183 5.806 6.933 12.8 15.763 17.7 22.344 38.646 60.307 37.177 67.379-.676 3.251-8.705 20.112-15.157 31.828-5.617 10.199-23.977 36.675-29.818 43-.813.88-2.297 2.68-3.298 4-1.001 1.32-2.399 2.94-3.107 3.6-.707.66-2.331 2.55-3.608 4.2-2.713 3.505-27.938 28.771-31.236 31.286-1.235.943-3.395 2.69-4.8 3.883-3.642 3.095-5.699 4.303-7.862 4.618-2.822.411-3.4.977-5.808 5.693-5.426 10.628-7.737 19.106-9.9 36.32-.194 1.54-.629 4.211-.968 5.935-.693 3.535-.813 9.292-.225 10.839.813 2.137 2.274 1.116 6.546-4.574 1.239-1.65 3.164-4.08 4.277-5.4 1.114-1.32 3.412-4.11 5.106-6.2 7.458-9.199 18.47-19.652 26.23-24.899 20.895-14.128 42.028-32.329 55.15-47.501 1.998-2.31 4.673-5.28 5.945-6.6 3.106-3.225 9.323-11.242 16.556-21.349 10.726-14.987 23-38.069 23-43.251 0-1.421-.265-1.773-3.657-4.866-13.765-12.547-17.154-26-10.012-39.734 2.918-5.61 7.799-9.456 15.469-12.187 3.788-1.349 5.4-2.597 5.4-4.181 0-2.486-15.591-29.304-21.703-37.33-.964-1.266-2.992-4.102-4.507-6.302-3.233-4.697-12.836-17.271-16.037-21-1.228-1.43-5.14-5.903-8.693-9.939-3.553-4.037-7.9-9.063-9.66-11.17-6.962-8.333-21.833-22.69-29.55-28.528-2.007-1.519-6.922-5.237-10.921-8.262-11.116-8.41-16.153-11.28-17.103-9.744M179.2 51.341c-.55.296-3.07 1.762-5.6 3.259-2.53 1.498-7.39 4.339-10.8 6.313-3.41 1.975-7.46 4.406-9 5.403-1.54.997-6.847 4.239-11.794 7.206-15.808 9.481-31.025 19.992-33.345 23.033-1.987 2.605-3.944 11.726-2.958 13.789 1.055 2.209 2.118 1.698 11.097-5.333 19.356-15.157 31.76-23.788 34.211-23.805 1.433-.01 2.574 1.182 4.172 4.361 3.175 6.314 4.208 6.746 8.866 3.708 1.623-1.058 4.259-2.7 5.857-3.649 4.495-2.667 4.798-3.169 6.895-11.426.447-1.76 1.8-7.035 3.006-11.723 2.901-11.276 2.809-12.968-.607-11.136m34.667.526c-1.284 1.284 5.221 27.239 7.638 30.478.938 1.256 7.903 6.113 11.489 8.011 3.101 1.642 4.066 1.08 6.79-3.956 3.49-6.451 3.98-6.45 13.616.006 7.527 5.044 20.023 14.489 26.751 20.221 9.473 8.07 11.523 7.245 8.835-3.555-1.659-6.668-2.042-7.168-10.078-13.136-6.485-4.816-28.683-18.844-36.308-22.944-1.98-1.065-5.329-2.973-7.442-4.24-2.113-1.267-5.623-3.289-7.8-4.492-2.177-1.203-5.758-3.194-7.958-4.424-3.846-2.15-4.957-2.545-5.533-1.969m-66.528 42.131c-.473.191-2.293 1.395-4.044 2.675-1.75 1.28-5.216 3.767-7.702 5.527-15.252 10.8-20.061 14.74-30.518 25-7.651 7.506-10.953 11.189-16.78 18.709-1.488 1.92-3.502 4.491-4.476 5.713-1.563 1.962-6.305 8.602-12.875 18.026-8.992 12.898-21.491 35.511-21.525 38.94-.019 2.036 3.141 9.239 6.762 15.412.709 1.21 2.606 4.63 4.214 7.6 11.397 21.048 20.971 33.763 39.005 51.803 19.754 19.761 24.958 24.424 43.868 39.309 9.849 7.752 9.183 9.072 9.042-17.927-.125-24.038.191-22.035-3.762-23.789-1.495-.662-4.107-2.852-9.61-8.053-4.156-3.929-9.331-8.762-11.501-10.742-4.157-3.792-11.026-11.294-14.652-16.001-1.186-1.54-2.888-3.63-3.782-4.644-.894-1.015-2.767-3.535-4.162-5.6-1.86-2.755-3.274-4.326-5.305-5.893-5.021-3.876-15.634-18.493-17.185-23.669-1.028-3.43 6.996-14.13 20.767-27.694 7.562-7.448 8.393-7.601 12.523-2.294.939 1.207 3.069 3.647 4.733 5.422 1.664 1.775 3.892 4.25 4.951 5.5 2.585 3.051 3.779 3.1 7.712.317 4.055-2.87 16.785-15.892 17.142-17.536.331-1.521.569-.625-3.411-12.797-4.73-14.467-6.033-11.772 12.572-26.006 4.48-3.426 4.785-3.849 4.555-6.302-.189-2.012-4.81-13.623-7.882-19.804-.82-1.65-2.009-4.335-2.641-5.966-1.772-4.57-3.648-6.198-6.033-5.236m96.668.395c-.807.807-2.36 3.975-4.415 9.007-.629 1.54-2.336 5.5-3.793 8.8-6.848 15.511-6.888 14.52.812 19.977 8.955 6.347 14.589 11.497 14.589 13.337-.001.946-3.853 12.713-6.344 19.376-1.908 5.104-1.758 5.362 9.369 16.04 11.414 10.953 11.327 10.936 17.454 3.294 1.565-1.952 8.193-9.257 9.696-10.687 2.159-2.052 4.75-.516 12.425 7.366 14.713 15.111 20.166 22.564 19.029 26.01-.732 2.216-7.044 12.21-9.14 14.469-1.679 1.811-4.565 5.349-11.089 13.6-8.574 10.841-41.872 43.429-47.041 46.036-3.976 2.006-3.759.609-3.759 24.2 0 22.706-.039 22.382 2.721 22.382 1.569 0 2.82-.883 13.163-9.293 1.696-1.379 4.396-3.568 6-4.864 1.604-1.297 4.176-3.562 5.716-5.034 1.54-1.471 3.97-3.592 5.4-4.712 1.43-1.121 3.86-3.33 5.4-4.911 1.54-1.58 3.7-3.585 4.8-4.454 3.3-2.61 18.909-17.902 21.546-21.109 1.35-1.642 3.464-4.074 4.698-5.404 2.215-2.389 3.163-3.563 8.898-11.019 7.577-9.85 14.393-21.081 21.886-36.056 5.889-11.771 5.957-12.57 1.607-18.893-.659-.959-2.706-4.332-4.548-7.497-7.471-12.836-15.422-25.234-21.131-32.954-13.902-18.797-15.65-20.983-22.616-28.278-7.44-7.792-13.149-13.243-18.142-17.322-7.348-6.003-18.73-14.447-28.138-20.874-2.216-1.514-3.895-1.691-5.053-.533m-48.324 38.234c-.492.345-1.784 1.944-2.871 3.555-2.76 4.091-6.753 8.511-10.568 11.697-1.784 1.491-9.814 9.219-17.844 17.174-8.03 7.954-15.767 15.427-17.193 16.605-1.426 1.178-6.663 6.102-11.637 10.942-4.975 4.84-14.224 13.736-20.555 19.769-12.119 11.549-13.028 12.587-12.985 14.831.042 2.222.386 2.728 5.306 7.8 2.561 2.64 6.154 6.375 7.986 8.3 5.068 5.328 4.972 5.368 18.52-7.778 5.647-5.48 6.33-5.384 13.358 1.876 1.43 1.478 6.38 6.205 11 10.506s14.823 14.086 22.674 21.744c17.648 17.215 15.94 16.543 23.171 9.12 2.555-2.623 5.293-5.283 6.085-5.912 1.798-1.43 21.471-20.066 26.871-25.456 7.915-7.901 16.576-15.779 17.64-16.046 1.759-.441 3.27.704 10.693 8.098 8.234 8.203 9.025 8.556 11.835 5.279.787-.919 2.988-3.304 4.891-5.3 11.519-12.086 11.901-13.498 5.206-19.285-1.686-1.458-10.356-9.712-19.266-18.343-8.91-8.631-17.28-16.642-18.6-17.803-1.32-1.16-5.756-5.46-9.857-9.555-13.461-13.439-19.294-19.065-22.743-21.936-4.84-4.029-11.755-11.258-15.099-15.785-3.522-4.767-4.303-5.299-6.018-4.097m2.802 27.673c.335.385 1.442 2.328 2.46 4.318 1.977 3.863 6.153 8.307 16.146 17.182 2.23 1.98 5.461 5.196 7.181 7.146 1.721 1.951 4.658 4.92 6.528 6.597 13.563 12.168 15.184 14.028 14.195 16.285-.513 1.169-10.056 10.824-15.845 16.029-1.677 1.509-8.247 7.714-14.6 13.789-15.23 14.565-15.45 14.754-17.166 14.754-1.572 0-2.598-.881-16.275-13.988-4.24-4.063-12.901-12.339-19.247-18.392-11.302-10.781-12.662-12.29-12.662-14.049 0-.61 3.353-4.137 11.3-11.884 6.215-6.059 13.19-12.935 15.5-15.281 2.31-2.346 5.763-5.566 7.674-7.157 5.063-4.214 8.072-7.596 9.55-10.734 2.323-4.934 3.832-6.258 5.261-4.615m-2.368 9.95c-.265.113-1.38 1.408-2.476 2.878-1.977 2.648-14.1 14.843-18.559 18.667-1.275 1.094-5.46 5.272-9.3 9.285-7.641 7.986-7.921 8.488-6.192 11.11 1.133 1.72 37.333 37.449 37.81 37.319 1.004-.273 37.7-37.781 37.942-38.781.143-.59.087-1.526-.124-2.08-.428-1.128-12.115-13.671-14.262-15.309-.758-.578-6.175-6.02-12.038-12.095-10.112-10.476-11.405-11.586-12.801-10.994m2.203 16.313c1.773.925 21.6 21.18 21.9 22.373.147.585.144 1.553-.006 2.15-.348 1.389-22.144 23.394-23.007 23.23-.334-.064-5.602-5.183-11.707-11.376-14.563-14.772-14.98-10.815 3.09-29.282 7.377-7.538 8.003-7.995 9.73-7.095m-16.023 95.832c-1.603 1.261-15.227 23.557-15.633 25.583-.163.818.3 3.34 1.382 7.526.895 3.463 2.229 8.906 2.966 12.096 1.606 6.958 7.686 30.805 12.085 47.4 1.75 6.6 3.462 13.17 3.805 14.6 2.478 10.341 6.74 26.114 7.411 27.429.446.875 1.034 2.724 1.307 4.11.889 4.517 2.575 4.686 3.753.378.379-1.385 1.284-4.407 2.012-6.717.727-2.31 1.728-6 2.222-8.2.495-2.2 1.149-4.99 1.455-6.2 2.792-11.062 9.84-38.585 11.933-46.6 1.437-5.5 3.071-11.98 3.632-14.4.56-2.42 1.807-7.37 2.77-11 2.989-11.267 4.603-18.241 4.603-19.885 0-2.163-.932-3.846-9.589-17.315-1.485-2.31-3.156-5.01-3.714-6-2.806-4.983-5.381-4.588-10.137 1.555-2.771 3.579-3.209 4.54-3.962 8.681-2.699 14.846-3.756 15.117-6.183 1.582-1.658-9.245-8.484-17.481-12.118-14.623"},null,-1))];function JU(e,t){return s.openBlock(),s.createElementBlock("svg",XU,KU)}const Lh=V(qU,[["render",JU],["__scopeId","data-v-81223df9"]]),ZU=e=>(s.pushScopeId("data-v-2d049ce8"),e=e(),s.popScopeId(),e),QU={href:"/test/built-deck"},eY=ZU(()=>s.createElementVNode("div",{class:"background"},null,-1)),tY={class:"content"},nY={class:"format"},rY={class:"format-text"},aY={key:0,class:"details built"},iY={class:"title"},oY={class:"extra-info"},sY={href:"test/user"},lY={class:"info-time"},cY={key:1,class:"details stats"},dY={class:"stat-column"},uY={class:"descriptor"},fY={class:"stat-column"},pY={class:"number"},hY={class:"descriptor"},mY=s.defineComponent({__name:"DeckBlock",props:BU,setup(e){const t=e,{t:n}=ae(),r=s.inject(Ki),a=s.computed(()=>Ct(t.deckcode)),i=s.computed(()=>sn(a.value)),o=s.computed(()=>Dl(i.value)),l=s.computed(()=>i.value.filter(f=>Si(f))),c=s.computed(()=>{var f;return{"--background-image":`url(https://lor.gg/storage/cards/full-art/${(f=Ma(i.value,a.value,1)[0])==null?void 0:f.cardCode}.webp)`}}),d=s.computed(()=>t7(i.value)),u=s.computed(()=>d.value.map(f=>Ee().dataJson.formats.find(p=>p.nameRef===f)).filter(f=>f!==void 0).sort((f,p)=>f.order-p.order)[0]);return console.log(d.value),(f,p)=>{var h,g,b;return s.openBlock(),s.createElementBlock("a",QU,[s.createElementVNode("div",{class:"built-deck-preview",style:s.normalizeStyle(s.unref(c))},[eY,s.createVNode(ud,{class:"deck-highlight-eye icon","deck-code":t.deckcode,onClick:p[0]||(p[0]=s.withModifiers(()=>{},["stop","prevent"]))},null,8,["deck-code"]),s.createElementVNode("div",{class:"options-button icon",onClick:p[1]||(p[1]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(s.unref(nt),{icon:"ellipsis-v"})]),s.createVNode($o,{class:"deck-highlight-regions deck-highlight-section",regions:s.unref(o)},null,8,["regions"]),s.createElementVNode("div",tY,[s.createElementVNode("div",nY,[((h=s.unref(u))==null?void 0:h.nameRef)===s.unref(jr).Eternal?(s.openBlock(),s.createBlock(Ph,{key:0,class:"format-icon"})):((g=s.unref(u))==null?void 0:g.nameRef)===s.unref(jr).Standard?(s.openBlock(),s.createBlock(Ih,{key:1,class:"format-icon"})):(s.openBlock(),s.createBlock(Lh,{key:2,class:"format-icon"})),s.createElementVNode("span",rY,s.toDisplayString((b=s.unref(u))==null?void 0:b.name),1)]),s.createVNode(Fo,{class:"deck-highlight-cards deck-highlight-section",cards:s.unref(l)},null,8,["cards"])]),t.type==="built"?(s.openBlock(),s.createElementBlock("div",aY,[s.createElementVNode("div",iY,s.toDisplayString(t.deckName),1),s.createElementVNode("div",oY,[s.createElementVNode("div",{class:"info-user",onClick:p[2]||(p[2]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createElementVNode("a",sY,s.toDisplayString(t.userName),1)]),s.createElementVNode("div",lY,s.toDisplayString(s.unref(r)(t.updatedAt).fromNow()),1)])])):s.createCommentVNode("",!0),t.type==="stats"?(s.openBlock(),s.createElementBlock("div",cY,[s.createElementVNode("div",dY,[s.createElementVNode("div",{class:"number",style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(Me)(t.wins/t.matches*100,1,3))+"% ",5),s.createElementVNode("div",uY,s.toDisplayString(s.unref(n)("general.winrate")),1)]),s.createElementVNode("div",fY,[s.createElementVNode("div",pY,s.toDisplayString(s.unref(Me)(t.matches,0,10)),1),s.createElementVNode("div",hY,s.toDisplayString(s.unref(n)("general.matches")),1)])])):s.createCommentVNode("",!0)],4)])}}}),NZ="",Gv=V(mY,[["__scopeId","data-v-2d049ce8"]]),gY={headingItems:{type:Array,required:!0,default:[]}},bY={class:"table-wrapper"},yY={class:"table no-scrollbar"},_Y={class:"heading wrapper"},vY=s.defineComponent({__name:"SmallTable",props:gY,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",bY,[s.createElementVNode("div",yY,[s.createElementVNode("div",_Y,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.headingItems,a=>(s.openBlock(),s.createElementBlock("div",{key:a.title,class:"heading-cell column-content"},[s.createElementVNode("div",null,s.toDisplayString(a.title),1)]))),128)),s.renderSlot(n.$slots,"heading",{},void 0,!0)]),s.renderSlot(n.$slots,"default",{},void 0,!0)])]))}}),DZ="",ni=V(vY,[["__scopeId","data-v-20cc8387"]]),wY={players:{type:Array,required:!0,default:[]}},kY=e=>(s.pushScopeId("data-v-48a25357"),e=e(),s.popScopeId(),e),xY={class:"leaderboard-top"},SY=kY(()=>s.createElementVNode("div",{class:"heading-background"},null,-1)),CY={class:"heading-wrapper"},EY=s.defineComponent({__name:"LeaderboardTop",props:wY,setup(e){const t=e,n=s.computed(()=>Ee().dataJson.servers.map(r=>t.players.filter(a=>a.server===r.nameRef).sort((a,i)=>a.rank-i.rank).slice(0,10)));return(r,a)=>(s.openBlock(),s.createElementBlock("div",xY,[SY,s.createElementVNode("div",CY,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(Ee)().dataJson.servers,i=>(s.openBlock(),s.createElementBlock("div",{key:i.nameRef,class:"heading"},s.toDisplayString(i.name),1))),128))]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(n),(i,o)=>(s.openBlock(),s.createElementBlock("div",{key:o,class:"top-10"},[s.createVNode(Nh,{players:i},null,8,["players"])]))),128))]))}}),PZ="",Xv=V(EY,[["__scopeId","data-v-48a25357"]]),AY={flipped:{type:Boolean,required:!0,default:!0},cardCode:{type:String,required:!0,default:"01IO001"}},TY={class:"card-item-3d"},OY=s.defineComponent({__name:"CardItem3d",props:AY,setup(e){const t=e,n={ShadowIsles:"https://static.wikia.nocookie.net/leagueoflegends/images/b/bb/LoR_Shadow_Isles_Card_Back.png",BandleCity:"https://static.wikia.nocookie.net/leagueoflegends/images/c/c4/LoR_Bandle_City_Card_Back.png",Bilgewater:"https://static.wikia.nocookie.net/leagueoflegends/images/2/24/LoR_Bilgewater_Card_Back.png",Demacia:"https://static.wikia.nocookie.net/leagueoflegends/images/6/62/LoR_Demacia_Card_Back.png",Freljord:"https://static.wikia.nocookie.net/leagueoflegends/images/5/5e/LoR_Freljord_Card_Back.png",Ionia:"https://static.wikia.nocookie.net/leagueoflegends/images/3/3d/LoR_Ionia_Card_Back.png",Noxus:"https://static.wikia.nocookie.net/leagueoflegends/images/5/50/LoR_Noxus_Card_Back.png",PiltoverZaun:"https://static.wikia.nocookie.net/leagueoflegends/images/5/57/LoR_Piltover_Card_Back.png",Shurima:"https://static.wikia.nocookie.net/leagueoflegends/images/0/0c/LoR_Shurima_Card_Back.png",Targon:"https://static.wikia.nocookie.net/leagueoflegends/images/a/a6/LoR_Targon_Card_Back.png"},r=s.computed(()=>{const o=No(void 0,t.cardCode,!0);if(o.value===void 0)return{};const l=o.value.regionRefs[0];return{content:`url(${n[l]??"https://static.wikia.nocookie.net/leagueoflegends/images/2/2d/LoR_Summoner%27s_Rift_Order_Card_Back.png"})`}}),a=s.computed(()=>({"background-image":`url("https://lor.gg/storage/cards/card/en_us/${t.cardCode}.webp")`,"background-size":"cover"})),i=s.computed(()=>t.flipped?["flipped"]:[]);return(o,l)=>(s.openBlock(),s.createElementBlock("div",TY,[s.createElementVNode("div",{class:s.normalizeClass(["card",s.unref(i)])},[s.createElementVNode("div",{class:"front face",style:s.normalizeStyle(s.unref(r))},null,4),s.createElementVNode("div",{class:"back face",style:s.normalizeStyle(s.unref(a))},null,4)],2)]))}}),IZ="",Bh=V(OY,[["__scopeId","data-v-72e7b1ae"]]),MY=e=>(s.pushScopeId("data-v-580d1d32"),e=e(),s.popScopeId(),e),NY={class:"card-lottery"},DY={class:"cards-container"},PY={key:0,class:"bottom"},IY={class:"slice"},LY={class:"circle-slice-item-wrapper"},BY={class:"options"},RY={class:"primary-button"},VY={class:"primary-button"},$Y=MY(()=>s.createElementVNode("span",null," (23) ",-1)),FY={class:"icon"},zY={class:"circle-card-item-wrapper"},jY=s.defineComponent({__name:"CardLottery",setup(e){const t=Object.keys(Ot().cardJsonObject),n=[],r=s.ref(null),a=s.computed(()=>r.value?{background:`url(https://lor.gg/storage/cards/full-art/${r.value}.webp)`,"background-position":"center","background-size":"cover"}:{});function i(l){r.value=l.cardCode.value,l.flipped.value=!0;for(const c of n)l!==c&&setTimeout(()=>{c.display.value=!1},1e3)}function o(){r.value=null,n.splice(0);for(let l=0;l<3;l++)n.push({flipped:s.ref(!1),display:s.ref(!0),cardCode:s.ref(t[Math.floor(Math.random()*t.length)])})}return o(),(l,c)=>{const d=s.resolveDirective("t");return s.openBlock(),s.createElementBlock("div",NY,[s.createElementVNode("div",{class:"card-lottery-background",style:s.normalizeStyle(s.unref(a))},null,4),s.createElementVNode("div",DY,[(s.openBlock(),s.createElementBlock(s.Fragment,null,s.renderList(n,(u,f)=>s.createElementVNode("div",{key:f,class:s.normalizeClass(["card-item-3d-wrapper",u.display.value?null:"hide"])},[s.createVNode(Bh,{flipped:u.flipped.value,"card-code":u.cardCode.value,onClick:p=>i(u)},null,8,["flipped","card-code","onClick"])],2)),64))]),r.value?(s.openBlock(),s.createElementBlock("div",PY,[s.createElementVNode("div",IY,[s.createElementVNode("div",LY,[s.createVNode(ln,{color:"133, 133, 133",name:"Player","card-code-prop":r.value,"ignore-card-item":!0},null,8,["card-code-prop"])])]),s.createElementVNode("div",BY,[s.withDirectives(s.createElementVNode("button",RY,null,512),[[d,"cardLottery.setBanner"]]),s.withDirectives(s.createElementVNode("button",VY,null,512),[[d,"cardLottery.setIcon"]]),s.createElementVNode("button",{class:"primary-button",onClick:o},[s.withDirectives(s.createElementVNode("span",null,null,512),[[d,"cardLottery.openAnother"]]),$Y])]),s.createElementVNode("div",FY,[s.createElementVNode("div",zY,[s.createVNode(Wr,{color:"133, 133, 133","card-code-prop":r.value,"ignore-card-item":!0},null,8,["card-code-prop"])])])])):s.createCommentVNode("",!0)])}}}),LZ="",Kv=V(jY,[["__scopeId","data-v-580d1d32"]]),HY={bannerCardCode:{type:String,required:!0,default:""},bannerColor:{type:String,required:!0,default:""},iconCardCode:{type:String,required:!0,default:""},name:{type:String,required:!0,default:""},server:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1},premiumExpiration:{type:Date,required:!1,default:null},isPremiumRenewing:{type:Boolean,required:!0,default:!1}},WY={wins:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:2},cutout:{type:Number,required:!1,default:145}},Rh=s.defineComponent({__name:"WinrateDoughnutChart",props:WY,setup(e){const t=e,n=s.ref(null);Re.register(...ea);const r=s.computed(()=>({labels:["Wins","Losses"],datasets:[{data:[t.wins,t.matches-t.wins],backgroundColor:["#00adff","#ff5153"]}]})),a={cutout:t.cutout,elements:{arc:{borderWidth:0}},plugins:{legend:{display:!1},datalabels:{display:!1}}},i=[{id:"text",beforeDraw:function(o){const l=o.chartArea.width,c=o.chartArea.height,d=o.ctx;d.restore();const u=(c/100).toFixed(2);d.font=`bold ${u}em sans-serif`,d.textBaseline="middle";const f=o.data.datasets[0].data[0],p=o.data.datasets[0].data[1],h=(f/(f+p)*100).toFixed(2)+"%",g=Math.round((l-d.measureText(h).width)/2),b=c/2;f>p?d.fillStyle="#00adff":f<p?d.fillStyle="#ff5153":d.fillStyle="#ffffff",d.fillText(h,g,b),d.save()}}];return(o,l)=>(s.openBlock(),s.createBlock(s.unref(Gy),{ref_key:"chart",ref:n,"chart-data":s.unref(r),options:a,plugins:i},null,8,["chart-data"]))}}),UY={class:"dashboard-profile"},YY={class:"profile-banner"},qY=["src"],GY={class:"edit-banner"},XY={class:"profile-text"},KY={class:"profile-region"},JY={class:"profile-tiles"},ZY={class:"profile-tile"},QY={class:"tile-content"},eq={class:"games-text"},tq={class:"tile-text"},nq={class:"profile-tile"},rq={class:"chart-container"},aq={class:"tile-content"},iq={class:"tile-text"},oq={key:0,class:"profile-premium-expiration"},sq={class:"profile-premium-expiration-time"},lq=s.defineComponent({__name:"DashboardProfile",props:HY,setup(e){const t=e,{t:n}=ae(),r=s.inject(Ki);return(a,i)=>{const o=s.resolveComponent("LocalizedLink");return s.openBlock(),s.createElementBlock("div",UY,[s.createElementVNode("div",YY,[s.createElementVNode("img",{alt:"Profile Banner",src:`https://lor.gg/storage/cards/banner/${t.bannerCardCode??"05BC160"}.png`,class:"profile-banner-img"},null,8,qY),s.createVNode(Wr,{"card-code-prop":t.iconCardCode??"05BC160","ignore-card-item":!0,"color-override":t.bannerColor},null,8,["card-code-prop","color-override"]),s.createElementVNode("div",GY,[s.createVNode(s.unref(nt),{icon:"pencil-alt"})])]),s.createElementVNode("div",XY,[s.createVNode(o,{to:{name:"profile"},class:"profile-name"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(t.name),1)]),_:1}),s.createElementVNode("div",KY,s.toDisplayString(t.server),1)]),s.createElementVNode("div",JY,[s.createElementVNode("div",ZY,[s.createElementVNode("div",QY,[s.createElementVNode("div",eq,s.toDisplayString(s.unref(Me)(t.matches,0,10)),1)]),s.createElementVNode("div",tq,s.toDisplayString(s.unref(n)("general.gamesPlayed")),1)]),s.createElementVNode("div",nq,[s.createElementVNode("div",rq,[s.createElementVNode("div",aq,[s.createVNode(Rh,{matches:t.matches,wins:t.wins,cutout:30},null,8,["matches","wins"])])]),s.createElementVNode("div",iq,s.toDisplayString(s.unref(n)("general.winrate")),1)])]),t.premiumExpiration?(s.openBlock(),s.createElementBlock("div",oq,[s.createTextVNode(s.toDisplayString(s.unref(n)("general.premium"))+" "+s.toDisplayString(t.isPremiumRenewing?s.unref(n)("general.renews"):s.unref(n)("general.expires"))+" ",1),s.createElementVNode("b",sq,s.toDisplayString(s.unref(r)(t.premiumExpiration).fromNow()),1)])):(s.openBlock(),s.createBlock(o,{key:1,to:{name:"premium"},class:"profile-premium fancy-button"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(n)("general.getPremium")),1)]),_:1}))])}}}),BZ="",Jv=V(lq,[["__scopeId","data-v-1786a4dc"]]),cq={data:{type:Array,required:!0,default:[]},type:{type:String,required:!0,default:"totalPlayers"},server:{type:String,required:!1}};function Zv(e,t){const{t:n}=ae();Re.register(ti),e.plugins||(e.plugins={}),e.plugins.annotation||(e.plugins.annotation={}),e.plugins.annotation.annotations=[];let r=new Date("1972-01-01"),a=new Date("3000-12-01");for(const o of t)o>r&&(r=o),o<a&&(a=o);const i=[];for(const o of Ee().dataJson.patches)new Date(o.startTime)<=r&&new Date(o.startTime)>=a&&i.push(o);for(const o of i)e.plugins.annotation.annotations.push({type:"line",xMin:o.startTime,xMax:o.startTime,borderColor:"rgba(255, 255, 255, 0.1)",borderDash:[10,5],borderWidth:1,label:{content:`${n("general.patch")} ${o.name}`,display:!0,position:"start",font:{weight:"normal"},backgroundColor:"rgba(0,0,0,0.2)"}})}const Qv=s.defineComponent({__name:"LeaderboardChart",props:cq,setup(e){const t=e,n=s.ref();Re.register(...ea),Re.register(ti);const r=s.computed(()=>t.data.slice().sort((o,l)=>+o.date-+l.date)),a=s.computed(()=>{let o;return t.type==="totalPlayers"?o=Ee().dataJson.servers.filter(l=>t.server===null?!0:l.nameRef===t.server).map(l=>({label:l.name,borderColor:v0(l.nameRef),data:r.value.filter(c=>c.server===l.nameRef).map(c=>c.players),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"})):o=r.value.reduce((l,c)=>l.includes(c.player)?l:[...l,c.player],[]).map(l=>({label:l.name,borderColor:v0(l.user_id),data:r.value.filter(c=>c.player.user_id===l.user_id).map(c=>t.type==="lp"?c.lp:c.rank),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"})),{labels:r.value.map(l=>l.date).filter((l,c,d)=>d.findIndex(u=>u.getTime()===l.getTime())===c),datasets:o}}),i={plugins:{legend:{display:!0},tooltip:{mode:"nearest",position:"nearest",axis:"x",intersect:!1},annotation:{annotations:[]},datalabels:{display:!1}},elements:{line:{tension:.25}},scales:{x:{type:"time",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"}}}};return Zv(i,t.data.map(o=>o.date)),(o,l)=>(s.openBlock(),s.createBlock(s.unref(Xy),{ref_key:"chart",ref:n,"chart-data":s.unref(a),options:i},null,8,["chart-data"]))}}),dq={data:{type:Array,required:!0,default:[]},type:{type:Object,required:!0,default:"winrate"},baseline:{type:Number,required:!1,default:50}},e3=s.defineComponent({__name:"CardQuantityBarChart",props:dq,setup(e){const t=e,{t:n}=ae(),r=s.ref();Re.register(...ea),Re.register(ti),Re.register(td);const a=s.computed(()=>({labels:t.data.map(o=>o.quantity),datasets:[{backgroundColor:t.data.map(o=>o.wins*2>=o.matches?"rgba(0, 173, 255, 0.5)":"rgba(255, 81, 83, 0.5)"),borderWidth:0,borderRadius:9999,data:t.data.map(o=>t.type==="winrate"?o.wins/o.matches*100-t.baseline:o.matches)}]})),i={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{title(o){return`${n("general.quantity")}: ${o[0].label}`},label(o){return t.type==="winrate"?(o.dataset.data[o.dataIndex]+t.baseline).toFixed(2)+"%":o.dataset.data[o.dataIndex].toString()},footer(o){return[`${n("general.matches")}: ${t.data[o[0].dataIndex].matches}`,`${n("general.wins")}: ${t.data[o[0].dataIndex].wins}`]}}},datalabels:{display:!1}},scales:{y:{title:{display:!0,text:t.type==="winrate"?n("general.winrate"):n("general.matches")},ticks:{callback(o){return t.type==="winrate"?o+t.baseline+"%":o}}},x:{title:{display:!0,text:n("general.quantity")}}}};return(o,l)=>(s.openBlock(),s.createBlock(s.unref(Ec),{ref_key:"chart",ref:r,"chart-data":s.unref(a),options:i},null,8,["chart-data"]))}}),uq={data:{type:Array,required:!0,default:""}},t3=s.defineComponent({__name:"WinsLossesBarChart",props:uq,setup(e){const t=e,{t:n}=ae(),r=s.ref();Re.register(...ea),Re.register(ti),Re.register(td);const a=s.computed(()=>typeof t.data[0].column!="string"),i=s.computed(()=>t.data.slice().sort((u,f)=>a.value?u.column.getTime()-f.column.getTime():u.column.localeCompare(f.column))),o=s.computed(()=>[...new Set(i.value.map(u=>u.column))]),l=s.computed(()=>({losses:i.value.map(u=>u.matches-u.wins),wins:i.value.map(u=>u.wins)})),c=s.computed(()=>({labels:o.value,datasets:Object.entries(l.value).map((u,f)=>({backgroundColor:u[0]==="wins"?`rgba(${Mo("--color-good-rgb")}, 0.5)`:`rgba(${Mo("--color-bad-rgb")}, 0.5)`,data:u[1],borderRadius:f===0?{topLeft:0,topRight:0,bottomLeft:10,bottomRight:10}:{topLeft:10,topRight:10,bottomLeft:0,bottomRight:0},borderSkipped:!1,label:n(`general.${u[0]}`),barPercentage:.5}))})),d={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{footer(u){if(u.length===0)return"";let f=0;const p=u[0].chart.data.datasets[1].data[u[0].dataIndex];for(let h=0;h<u[0].chart.data.datasets.length;h++)f+=u[0].chart.data.datasets[h].data[u[0].dataIndex];return`${n("general.total")}: ${f}
863
+ ${n("general.winrate")}: ${Me(p/f*100,1,3)}%`}}},datalabels:{align:"end",anchor:"end",formatter(u,f){let p=0;for(let h=0;h<f.chart.data.datasets.length;h++)p+=f.chart.data.datasets[h].data[f.dataIndex];return p||""},display(u){return u.datasetIndex===u.chart.data.datasets.length-1}}},scales:{x:{type:a.value?"time":"category",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"},stacked:!0,grid:{display:!1}},y:{stacked:!0,grid:{display:!1},display:!0}}};return(u,f)=>(s.openBlock(),s.createBlock(s.unref(Ec),{ref_key:"chart",ref:r,"chart-data":s.unref(c),options:d},null,8,["chart-data"]))}}),fq={data:{type:Array,required:!0,default:[]},type:{type:String,required:!0,default:"winrate"},baseline:{type:Number,required:!1,default:50}},n3=s.defineComponent({__name:"RoundCardInfoBarChart",props:fq,setup(e){const t=e,{t:n}=ae(),r=s.ref();Re.register(...ea),Re.register(ti),Re.register(td);const a=s.computed(()=>Object.values(GS(t.data,l=>l.copy))),i=s.computed(()=>({labels:Array.from(t.data.reduce((l,c)=>l.add(c.round),new Set)),datasets:a.value.map(l=>{var c;return{backgroundColor:l.map(d=>d.wins*2>=d.matches?"rgba(0, 173, 255, 0.5)":"rgba(255, 81, 83, 0.5)"),borderWidth:0,borderRadius:9999,data:l.map(d=>d.wins/d.matches*100-t.baseline),label:`${n("general.copy")} ${(c=l[0])==null?void 0:c.copy}`}})})),o={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!0},tooltip:{enabled:!0,mode:"index",intersect:!1,callbacks:{title(l){return`${n("general.round")}: ${l[0].label}`},label(l){return(l.dataset.data[l.dataIndex]+t.baseline).toFixed(2)+"%"},footer(l){const c=[];for(const d of a.value)d[l[0].dataIndex]!==void 0&&c.push(`${n("general.copy")} ${d[l[0].dataIndex].copy}`,`${n("general.matches")}: ${d[l[0].dataIndex].matches}`,`${n("general.wins")}: ${d[l[0].dataIndex].wins}`);return c}}},datalabels:{display:!1}},scales:{y:{title:{display:!0,text:n("general.winrate")},ticks:{callback(l){return l+t.baseline+"%"}}},x:{title:{display:!0,text:t.type==="drawn"?n("cards.roundDrawn"):n("cards.roundPlayed")}}}};return(l,c)=>(s.openBlock(),s.createBlock(s.unref(Ec),{ref_key:"chart",ref:r,"chart-data":s.unref(i),options:o},null,8,["chart-data"]))}}),pq={data:{type:Array,required:!0,default:[]},baseline:{type:Number,required:!1,default:50},type:{type:String,required:!0,default:"winrate"}},r3=s.defineComponent({__name:"LineChart",props:pq,setup(e){const t=e,{t:n}=ae(),r=s.ref();Re.register(...ea),Re.register(ti);const a=s.computed(()=>({labels:t.data.map(l=>l.date),datasets:[{borderColor:"rgba(255, 255, 255, 0.1)",data:t.data.map(l=>t.type==="winrate"?l.winrate*100:l.matches/l.totalMatches*100),pointBackgroundColor:"rgba(255, 255, 255, 0.25)"},{pointBackgroundColor:"rgba(255, 255, 255, 0)",data:t.data.map(()=>t.baseline),borderColor:"rgba(0, 0, 0, 0.05)"}]})),i={plugins:{legend:{display:!1},tooltip:{mode:"nearest",position:"nearest",axis:"x",intersect:!1,filter:function(l){return l.datasetIndex===0},callbacks:{label(l){let c=l.dataset.label||"";return c&&(c+=": "),c+=l.parsed.y+"%",c},footer:l=>{let c="";return l[0].dataIndex!==null&&t.data[l[0].dataIndex].matches&&(c+=`${n("general.matches")}: ${t.data[l[0].dataIndex].matches}`),c}}},annotation:{annotations:[]},datalabels:{display:!1}},elements:{line:{tension:.25}},scales:{x:{type:"time",time:{unit:"day",displayFormats:{day:"MMM D"},tooltipFormat:"MMM D"}}}};Zv(i,t.data.map(l=>l.date));const o=[{id:"chartGradient",beforeDraw:function(l){if(!l.scales.y)return;const c=l.ctx.createLinearGradient(0,0,0,l.height);if(c.addColorStop(0,"rgba(0, 173, 255, 0.25)"),t.type==="playrate"){c.addColorStop(1,"rgba(0, 173, 255, 0)"),l.config.data.datasets[0].fill={target:1,above:c},l.update();return}const d=l.scales.y,u=Math.max.apply(null,l.data.datasets[0].data),f=d.getPixelForValue(u),p=d.getPixelForValue(50),h=Math.min(Math.min.apply(null,l.data.datasets[0].data),50),g=d.getPixelForValue(h),b=Math.max(Math.min((p-f)/(g-f),1),0);c.addColorStop(Math.max(b-.08,0),"rgba(0, 173, 255, 0)");const v=l.ctx.createLinearGradient(0,0,0,l.height);v.addColorStop(b,"rgba(255, 81, 83, 0)"),v.addColorStop(1,"rgba(255, 81, 83, 0.25)"),l.config.data.datasets[0].fill={target:1,above:c,below:v},l.update()}}];return(l,c)=>(s.openBlock(),s.createBlock(s.unref(Xy),{ref_key:"chart",ref:r,"chart-data":s.unref(a),options:i,plugins:o},null,8,["chart-data"]))}}),hq={deckRows:{type:Array,required:!0,default:[]}},mq=s.defineComponent({__name:"BuiltDecksTable",props:hq,setup(e){const t=e,{t:n}=ae(),r=s.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deck")},{id:"name",isShown:!0,sortDirection:_e.NEITHER,title:n("general.name")},{id:"updatedAt",isShown:!0,sortDirection:_e.DOWN,title:n("general.updated")},{id:"createdAt",isShown:!0,sortDirection:_e.NEITHER,title:n("general.created")},{id:"manaCurve",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.cost")}]);function a(i){Ei(i,r)}return(i,o)=>(s.openBlock(),s.createBlock(Hr,{class:"large-table","heading-items":r.value,onToggleSort:a},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.deckRows,(l,c)=>(s.openBlock(),s.createBlock(zs,{id:l.id,key:l.id,type:"built",deckcode:l.deckCode,name:l.name,"created-at":l.createdAt,"updated-at":l.updatedAt,index:c+2},null,8,["id","deckcode","name","created-at","updated-at","index"]))),128))]),_:1},8,["heading-items"]))}}),RZ="",a3=V(mq,[["__scopeId","data-v-ae70adc0"]]),gq={regionNameRef:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},bq={class:"wrapper"},yq={class:"champion-column column-content"},_q={class:"matches-column column-content"},vq=s.defineComponent({__name:"ProfileRegionRow",props:gq,setup(e){const t=e,n=s.computed(()=>Ee().dataJson.regions.find(a=>a.nameRef===t.regionNameRef)),r=s.computed(()=>{var a;return`https://lor.gg/storage/cards/banner/${(a=n.value)==null?void 0:a.cardCode}.png`});return(a,i)=>{var o;return s.openBlock(),s.createElementBlock("div",{class:"profile-champion-row wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",{class:"small-table-background",style:s.normalizeStyle({"--background-image":`url(${s.unref(r)})`})},null,4),s.createElementVNode("div",bq,[s.createElementVNode("div",yq,[s.createVNode(Vo,{"region-ref":t.regionNameRef},null,8,["region-ref"]),s.createElementVNode("span",null,s.toDisplayString((o=s.unref(n))==null?void 0:o.name),1)]),s.createElementVNode("div",_q,s.toDisplayString(s.unref(Me)(t.matches,0,10)),1),s.createElementVNode("div",{class:"winrate-column column-content",style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(Me)(t.wins/t.matches*100,1,3))+"% ",5)])],4)}}}),VZ="",Vh=V(vq,[["__scopeId","data-v-b3f363b1"]]),wq={rows:{type:Array,required:!0,default:[]}},kq=s.defineComponent({__name:"ProfileRegionTable",props:wq,setup(e){const t=e,{t:n}=ae(),r=[{title:n("general.regions"),id:"regions"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,i)=>(s.openBlock(),s.createBlock(ni,{class:"small-table","heading-items":s.unref(r)},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.rows,o=>(s.openBlock(),s.createBlock(Vh,{key:o.regionNameRef,"region-name-ref":o.regionNameRef,matches:o.matches,wins:o.wins,index:o.index+2},null,8,["region-name-ref","matches","wins","index"]))),128))]),_:1},8,["heading-items"]))}}),$Z="",i3=V(kq,[["__scopeId","data-v-2dae645c"]]),xq={rows:{type:Array,required:!0,default:[]}},Sq={archetypeId:{type:Number,required:!0,default:0},deckCode:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},Cq={class:"wrapper"},Eq={class:"champion-column column-content"},Aq={class:"matches-column column-content"},Tq=s.defineComponent({__name:"ProfileArchetypeRow",props:Sq,setup(e){const t=e,n=s.computed(()=>Ct(t.deckCode)),r=s.computed(()=>sn(n.value)),a=s.computed(()=>{var i;return`https://lor.gg/storage/cards/banner/${(i=Ma(r.value,n.value,1)[0])==null?void 0:i.cardCode}.png`});return(i,o)=>(s.openBlock(),s.createElementBlock("div",{class:"profile-champion-row wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",{class:"small-table-background",style:s.normalizeStyle({"--background-image":`url(${s.unref(a)})`})},null,4),s.createElementVNode("div",Cq,[s.createElementVNode("div",Eq,[s.createVNode(da,{"deck-code":t.deckCode},null,8,["deck-code"])]),s.createElementVNode("div",Aq,s.toDisplayString(s.unref(Me)(t.matches,0,10)),1),s.createElementVNode("div",{class:"winrate-column column-content",style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(Me)(t.wins/t.matches*100,1,3))+"% ",5)])],4))}}),FZ="",$h=V(Tq,[["__scopeId","data-v-91ed15a8"]]),Oq=s.defineComponent({__name:"ProfileArchetypeTable",props:xq,setup(e){const t=e,{t:n}=ae(),r=[{title:n("general.archetypes"),id:"archetypes"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,i)=>(s.openBlock(),s.createBlock(ni,{class:"small-table","heading-items":s.unref(r)},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.rows,o=>(s.openBlock(),s.createBlock($h,{key:o.archetypeId,"archetype-id":o.archetypeId,"deck-code":o.deckCode,matches:o.matches,wins:o.wins,index:o.index+2},null,8,["archetype-id","deck-code","matches","wins","index"]))),128))]),_:1},8,["heading-items"]))}}),zZ="",o3=V(Oq,[["__scopeId","data-v-f883a9d9"]]),Mq={selectedRegion:{type:String,required:!0,default:null},selectedPlayers:{type:Array,required:!0,default:[]},selectedGraphOption:{type:String,required:!0,default:"totalPlayers"},players:{type:Array,required:!0,default:[]},updatedAt:{type:Number,required:!0,default:0},isGraphShown:{type:Boolean,required:!0,default:!1}},Nq={class:"leaderboard-options"},Dq={class:"multiselects"},Pq={class:"details"},Iq={class:"players"},Lq={class:"updated"},Bq=s.defineComponent({__name:"LeaderboardOptions",props:Mq,emits:["update:selectedPlayers","update:selectedRegion","update:selectedGraphOption"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.inject(Ki),i=[{name:r("leaderboard.lp"),nameRef:"lp"},{name:r("leaderboard.rank"),nameRef:"rank"},{name:r("leaderboard.totalPlayers"),nameRef:"totalPlayers"}],o=s.ref(n.selectedRegion),l=s.ref(n.selectedPlayers),c=s.ref(n.selectedGraphOption),d=s.computed(()=>o.value===null?n.players:n.players.filter(u=>u.server===o.value));return s.watch(o,u=>{t("update:selectedRegion",u),t("update:selectedPlayers",[])}),s.watch(l,u=>{t("update:selectedPlayers",u)}),s.watch(c,u=>{t("update:selectedGraphOption",u)}),s.watch(()=>n.selectedPlayers,u=>{l.value=u}),s.watch(()=>n.selectedRegion,u=>{o.value=u}),s.watch(()=>n.selectedGraphOption,u=>{c.value=u}),s.watch(()=>n.isGraphShown,u=>{u&&l.value.length>0&&(c.value="lp")}),(u,f)=>(s.openBlock(),s.createElementBlock("div",Nq,[s.createElementVNode("div",Dq,[s.createVNode(s.unref(Rt),{modelValue:l.value,"onUpdate:modelValue":f[0]||(f[0]=p=>l.value=p),placeholder:s.unref(r)("general.players"),mode:o.value?"tags":"disabled",options:s.unref(d),searchable:!0,label:"name","value-prop":"user_id"},null,8,["modelValue","placeholder","mode","options"]),s.createVNode(s.unref(Rt),{modelValue:o.value,"onUpdate:modelValue":f[1]||(f[1]=p=>o.value=p),placeholder:s.unref(r)("general.server"),options:s.unref(Ee)().dataJson.servers,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"]),n.isGraphShown?(s.openBlock(),s.createBlock(s.unref(Rt),{key:0,modelValue:c.value,"onUpdate:modelValue":f[2]||(f[2]=p=>c.value=p),options:i,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue"])):s.createCommentVNode("",!0)]),s.createElementVNode("div",Pq,[s.createElementVNode("div",Iq,[s.createTextVNode(s.toDisplayString(s.unref(r)("leaderboard.totalPlayers"))+": ",1),s.createElementVNode("span",null,s.toDisplayString(s.unref(Me)(s.unref(d).length)),1)]),s.createElementVNode("div",Lq,[s.createTextVNode(s.toDisplayString(s.unref(r)("leaderboard.updated"))+": ",1),s.createElementVNode("span",null,s.toDisplayString(s.unref(a)(n.updatedAt*60*1e3).fromNow()),1)])])]))}}),jZ="",s3=V(Bq,[["__scopeId","data-v-9d0b891b"]]),Rq={deckRows:{type:Array,required:!0,default:[]},originalDeckcode:{type:String,required:!0,default:""}},Vq=s.defineComponent({__name:"SimilarDecksTable",props:Rq,setup(e){const t=e,{t:n}=ae(),r=s.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:n("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.cost")},{id:"differences",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deckDifferences")}]);function a(i){Ei(i,r)}return(i,o)=>(s.openBlock(),s.createBlock(Hr,{class:"large-table","heading-items":r.value,onToggleSort:a},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.deckRows,(l,c)=>(s.openBlock(),s.createBlock(zs,{key:l.deckcode,type:"similar",deckcode:l.deckcode,matches:l.matches,wins:l.wins,"compared-deckcode":t.originalDeckcode,index:c+2},null,8,["deckcode","matches","wins","compared-deckcode","index"]))),128))]),_:1},8,["heading-items"]))}}),HZ="",l3=V(Vq,[["__scopeId","data-v-16cb7504"]]),$q={heading:{type:String,required:!1,default:""}},Fq={class:"top"},zq={class:"heading"},jq={class:"chart"},Hq=s.defineComponent({__name:"StatisticsPaneContainer",props:$q,setup(e){const t=e,n=s.ref(null),r=s.ref(!1);function a(){var i;r.value?document.exitFullscreen():(i=n.value)==null||i.requestFullscreen()}return s.onMounted(()=>{var i;(i=n.value)==null||i.addEventListener("fullscreenchange",()=>{r.value=document.fullscreenElement!==null})}),(i,o)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"statitisticsPaneContainer",ref:n,class:s.normalizeClass(["statitistics-pane-container",r.value?"full-screen":""])},[s.createElementVNode("div",Fq,[s.createElementVNode("div",zq,s.toDisplayString(t.heading),1),s.createVNode(s.unref(nt),{class:"maximize-icon",icon:"fa-maximize",onClick:a})]),s.createElementVNode("div",jq,[s.renderSlot(i.$slots,"default",{},void 0,!0)])],2))}}),WZ="",c3=V(Hq,[["__scopeId","data-v-f00b184f"]]);function Wq({swiper:e,on:t}){t("beforeInit",()=>{if(e.params.effect!=="carousel")return;e.classNames.push(`${e.params.containerModifierClass}carousel`);const n={watchSlidesProgress:!0,centeredSlides:!0};Object.assign(e.params,n),Object.assign(e.originalParams,n)}),t("progress",()=>{if(e.params.effect!=="carousel")return;const n=.2,r=e.slides.length;for(let a=0;a<e.slides.length;a+=1){const i=e.slides[a],o=e.slides[a].progress,l=Math.abs(o);let c=1;l>1&&(c=(l-1)*.3+1);const d=i.querySelectorAll(".swiper-carousel-animate-opacity"),u=`${o*c*50}%`,f=1-l*n,p=r-Math.abs(Math.round(o));i.style.transform=`translateX(${u}) scale(${f})`,i.style.zIndex=p,l>3?i.style.opacity=0:i.style.opacity=1,d.forEach(h=>{h.style.opacity=1-l/3})}}),t("setTransition",(n,r)=>{if(e.params.effect==="carousel")for(let a=0;a<e.slides.length;a+=1){const i=e.slides[a],o=i.querySelectorAll(".swiper-carousel-animate-opacity");i.style.transitionDuration=`${r}ms`,o.forEach(l=>{l.style.transitionDuration=`${r}ms`})}})}const UZ="",Uq={cardCodes:{type:Array,required:!0,default:[]}},Yq={class:"card-carousel"},qq=["src"],Gq=s.defineComponent({__name:"CardCarousel",props:Uq,emits:["update:activeIndex"],setup(e,{emit:t}){const n=e;console.log(n);const r=[Wq];function a(i){t("update:activeIndex",i.activeIndex)}return(i,o)=>(s.openBlock(),s.createElementBlock("div",Yq,[s.createVNode(s.unref(Eg),{effect:"carousel","grab-cursor":!0,loop:!1,"looped-slides":5,"slides-per-view":"auto",modules:r,"slide-to-clicked-slide":!0,onActiveIndexChange:a},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.cardCodes,l=>(s.openBlock(),s.createBlock(s.unref(Ag),{key:l},{default:s.withCtx(()=>[s.createElementVNode("img",{src:`https://lor.gg/storage/cards/card/en_us/${l}.webp`},null,8,qq)]),_:2},1024))),128))]),_:1},8,["effect"])]))}}),YZ="",d3=V(Gq,[["__scopeId","data-v-a6ffd2e2"]]),Xq={wins:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},showDetails:{type:Boolean,required:!1,default:!0}},Kq={class:"wins-losses-line"},Jq={key:0,class:"details"},Zq={class:"wl-record"},Qq={class:"lines"},eG=s.defineComponent({__name:"WinsLossesLine",props:Xq,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",Kq,[t.showDetails?(s.openBlock(),s.createElementBlock("div",Jq,[s.createElementVNode("span",Zq,s.toDisplayString(t.wins)+"W "+s.toDisplayString(t.matches-t.wins)+"L - ",1),s.createElementVNode("span",{style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(Me)(t.wins/t.matches*100,1,3))+"%",5)])):s.createCommentVNode("",!0),s.createElementVNode("div",Qq,[t.wins!==0?(s.openBlock(),s.createElementBlock("div",{key:0,class:"wins line",style:s.normalizeStyle({flexGrow:t.wins})},null,4)):s.createCommentVNode("",!0),t.matches-t.wins!==0?(s.openBlock(),s.createElementBlock("div",{key:1,class:"losses line",style:s.normalizeStyle({flexGrow:t.matches-t.wins})},null,4)):s.createCommentVNode("",!0)])]))}}),qZ="",Fh=V(eG,[["__scopeId","data-v-511803da"]]),tG={cardCode:{type:String,required:!0,default:"01IO001"},matches:{type:Number,required:!0,default:0},wins:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},nG={key:0,class:"wrapper"},rG={class:"champion-column column-content"},aG={class:"matches-column column-content"},iG=s.defineComponent({__name:"DashboardCardRow",props:tG,setup(e){const t=e,n=s.computed(()=>Ot().cardJsonObject[t.cardCode]),r=s.computed(()=>{var a;return`https://lor.gg/storage/cards/banner/${(a=n.value)==null?void 0:a.cardCode}.png`});return(a,i)=>(s.openBlock(),s.createElementBlock("div",{class:"profile-champion-row wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",{class:"small-table-background",style:s.normalizeStyle({"--background-image":`url(${s.unref(r)})`})},null,4),s.unref(n)?(s.openBlock(),s.createElementBlock("div",nG,[s.createElementVNode("div",rG,[s.createVNode(Wr,{class:"circle-card-item","card-prop":s.unref(n)},null,8,["card-prop"]),s.createElementVNode("span",null,s.toDisplayString(s.unref(n).name),1)]),s.createElementVNode("div",aG,s.toDisplayString(s.unref(Me)(t.matches,0,10)),1),s.createElementVNode("div",{class:"winrate-column column-content",style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(Me)(t.wins/t.matches*100,1,3))+"% ",5)])):s.createCommentVNode("",!0)],4))}}),GZ="",zh=V(iG,[["__scopeId","data-v-d436bc19"]]),oG={class:"card-page-toggle"},sG=s.defineComponent({__name:"CardTogglePage",setup(e){const{t}=ae(),n=s.ref(0);return(r,a)=>(s.openBlock(),s.createElementBlock("div",oG,[s.createVNode(Ll,{"selected-option":n.value,"onUpdate:selectedOption":a[0]||(a[0]=i=>n.value=i),options:[s.unref(t)("cards.recommendedDecks"),s.unref(t)("cards.similarCards"),s.unref(t)("general.statistics")]},null,8,["selected-option","options"])]))}}),XZ="",u3=V(sG,[["__scopeId","data-v-07d07f20"]]),lG=s.defineComponent({setup(){return{}},mounted(){const e=Ct("EUAACAIEA54Q6AIGBECACBQKF4AQIBQGAECAOUYBAECBWAICAYKACAIFFUAQIBAOAIDAOBJIAIDAYBIIAIDAMGY5AMDAEGI4EIBQMAYTC4RAGBQABIMCQAYGAUBQMHY");console.log(e),console.log(QS(e))}}),cG=[s.createElementVNode("h1",null,"TestComponent",-1)];function dG(e,t,n,r,a,i){return s.openBlock(),s.createElementBlock("div",null,cG)}const f3=V(lG,[["render",dG]]),uG={name:{type:String,required:!0,default:""},selectedBannerCard:{type:String,required:!0,default:""},rank:{type:Number,required:!0,default:0},id:{type:Number,required:!0,default:0},matches:{type:Number,required:!0,default:0},lp:{type:Number,required:!0,default:0},change:{type:Number,required:!0,default:0},index:{type:Number,required:!0,default:0}},fG={class:"wrapper"},pG={class:"champion-column column-content"},hG={class:"mana-hexagon"},mG={class:"mana-number"},gG={class:"name"},bG={class:"matches-column column-content"},yG=s.defineComponent({__name:"DashboardLeaderboardRow",props:uG,setup(e){const t=e,n=s.computed(()=>t.selectedBannerCard===void 0?null:`https://lor.gg/storage/cards/banner/${t.selectedBannerCard}.png`),r=s.computed(()=>t.change===void 0?[]:t.change===0?["neutral"]:[t.change>0?"good":"bad"]);return(a,i)=>(s.openBlock(),s.createElementBlock("div",{class:"profile-champion-row wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",{class:"small-table-background",style:s.normalizeStyle({"--background-image":`url(${s.unref(n)})`,"--background-color":t.index%2===0?"var(--color-background-0)":"transparent"})},null,4),s.createElementVNode("div",fG,[s.createElementVNode("div",pG,[s.createElementVNode("div",hG,[s.createVNode(Do,{class:"hexagon-icon"}),s.createElementVNode("div",mG,s.toDisplayString(t.rank),1)]),s.createElementVNode("div",gG,s.toDisplayString(t.name),1)]),s.createElementVNode("div",bG,s.toDisplayString(s.unref(Me)(t.matches,0,10)),1),s.createElementVNode("div",{class:s.normalizeClass(["column-content change",s.unref(r)])},[t.change!==void 0?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(s.unref(nt),{class:"icon",icon:"fa-chevron-down"}),s.createElementVNode("span",null,s.toDisplayString(s.unref(Me)(Math.abs(t.change),0,10)),1)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createTextVNode(" Test ")],64))],2)])],4))}}),JZ="",jh=V(yG,[["__scopeId","data-v-3d62a718"]]),_G={date:{type:Date,required:!0,default:[]},activated:{type:Boolean,required:!0,default:!1},soon:{type:Boolean,required:!0,default:!1}},Hh="data:image/webp;base64,UklGRpQVAABXRUJQVlA4WAoAAAAQAAAAYwAAjQAAQUxQSAEBAAABgGPb2rHn+e3KTunUNntXPyaQKSSV7UzBSfejizkD26htPU/y/lZETABIK2xW2koVX0DKFxXZrLR1CQD2y3vah6PpUeLxnXviuwEBtL5SPz6/Ur+8Urvl0EbGQLccWsPjXH6DO+jg+vQSZGh5Zb7XaAp7aPEKbezzKMKEWuP+C7y0xdzV6gXkWif7drOyTtj34Mg99QL28KAcr5B14g0yAyo5p94gzytkn7Dv3qZz49xvzM6hzi5ffHrankNevMXZzIDUhuFfDw2PdKQr1SqVSqX+rUqbPfP8et2YqFKjqgz1I8ODA8O/7SnjAnC4qIBvGNm18wGdw0WF/6jMFcCfBwBWUDggbBQAABBDAJ0BKmQAjgAAwBIliAKSzJgM/yf5TextXv8H/bv2BwHdg+Vdzn/0vWB/tPVF5h36ofrv14vMX+3Xq2/7v1cf2b1AP6l/gOtp9A/9x/Th/dX4aP7X/2f3C9rXBZ+F2Jr4/8+/kPzM9c3+w73vS/++9CP5x+Df1n9q/dL2b8DflTqHfln9a/0/Ar209A7vn37/+R6R/YP/le4H/Ov63/oeSc9E9g3+ef3T/s/4z2Uf/P/Zelr6a/9f+k+BH+df27/reu51QB6l8J+19f+pT6sZj+zE2+wE9vWoNfcEz0oTpvLjAO+Oa0LQ0Jow+wnjIYPuMNdJgebCP0A0x9HFV9m1SGgYnekuqE7R0gGfFSqVDdnmaEzLXqoY5ab7mI283b2U6qHsm1LaV2sv3hWYD74YbO9I365ZyH7IOZW2np5xzxY1uNwlx8m3/TlZpshWOQCUqQEaeXuo/NGNB7fPAFQA9spGF46iKOVdiy4H51LojrONPcDzWBAEuAoyxYSjdLl+yL79WxDhr4xWsGpRCikM1q5cdoxI5DzxmQC+WU34EWnl4CUNbIztZ0DdID1a0xmf9PiWSXfO4bZPzx8wcVrzgmGBY4h9fhG06Eg8Pe4iO3CVETaIxrPsQBwT/o2De9RYWlsdvaDBCRFNqTIhtugVNyhTOM/+NHgy2FRNW55uPOcszqLATAsZl/DQCkGM1H3/Q6b8yOWsaDQ8wYl8YUfoAP7u3JuG7XFiqpPFp/zTze9Dk0t236U3vstNlqJ6SMY/EUhcAaCy3g3fU1aSTwRLVo/tbHheprGIHpVpNqjxBzS1OFaBnyrYoywF4mxQQRjLtYqhSzPDGyjl/+mVF30ZwM1deMxjDDSwpabr//JIfGwSajIir7csLqBcPmzLwiG0X8yyOdc6OggQUYZentENwuvqEfj4tkP5AdpcIlLP6PXPTMLwXYC5UVVGobBIg429evsLhW4cFRY7HS7kzF/loDieDUMVuHgsMHmBlHbV0ft7uggiS+/oURoyeFXHtbAffBaM7WcIS0lh3dr/hH+xcEKpG6voqahtySY9unVDK4Ma+M4J9OXSo71s3dEeACMKt+lj+FBWDsCJDXpu9Lm3VLbYyT5aF4l0kiGnDuTyRednJJxXlv9ZB2XqhFRCRxK1YE9sx6PGzx8h1YQvNTO5vUl/nAq/pglypqDeR1DHey3IRtZsO/1/M12zYhtN58HYvZriSE/pzLhUGdKAnDJN+N1zpts+c79KrZYjR5+LC8mqTp3zA107/ruodw4OhlDLLtEkHoK0aL6L9kgYkVYuk051/J0iVKO6TrNDjtGCXCzQ61VHH07nEMhfWQqzs+eEOnCdem+/mp99Y5moGhX/AG8JXlhIt15Lv5D60Crp8RJMOD93GDx3WmltCm+Uv1YUslp6iqCDT9pJkbrVnz19cge4T3b7AMrWIAxvDVSB+GjGkX/VQXtjcfsYyHhBaNDOrAPmMkk43eLISRFlsUW9xJ70I7YqMi4KkLA5BSawyrIJeGDRRPpOyqXBJ3he27M6nYaDUcu/dw+zKZFrH6JJepygQiw9/gTA8qAo9Wy4TxVrbJ3iVIyWD9tN6kW+H0ATrOZcaPr4mEoJATghh5iOmN12PTvewVv3VhiUXfqV2BWbUrqWHOkvUgcNaMRXkTobbwOziNe7s9Ub8f1fyJJ+KoqDjl5TXGTKJf71c5O8PiHEwUijMoTg1GNrxg/iyd2pvikPHJ/LeYRAjV77bM1tdlnWBYiABeF3lU6zrp/qqdxhb8P33GXLOZC+7Q+k29zjZyKON23ZtaPwSL1oDj4jmqXJ0DV/iWA+79rebbt2US+K8ARkowLBGCyDHGaKBFXplZu5qY2Jr6P0YUmkj8Se0bToxblcTq3Yo99+M+HkAnRjvQ6iVKId8+YXuXpHdWG2e0XjaXsZ6IBomXeg/qv7XzhWsqrLDSmmSG1scFVF9w5hYj02X4QIhwfHS9DJ46kN1NvcCouEHbUnMQHzUsndQ/LXToevL3LcziuwhLIDliY5NZVQGbChii5WdshXFpqLTnMoSx/QLlWVrcEpCWeg1QCKc32cIAdHGm85bWc1BWWymuRFjr5Tgp3b9TPWLbmnJyb+oSemQmbAPvG9LJIqXmr2xCr0TGmDluE4zO8vaZ/YMEtA9ObEVpVaRj/fqmgL6oHMSW8btJ19nVA62zSzzTuNWJjkN2Zx/t3a5oddkCmbJATg/9VKopqZllxD/GmhAA2Z+o2Yl+CoH3mwuLLPslUy54VmjbhRr+FyR7akdBlYodQHYMNcOKTqhcRGICgXOLTRXn27nIzblK2s7Ts8zAeHmG48CpkdL0ogJ+mrFlrUonC65itjH25Zybm2oM+zxGTTFmy3qhxeF44T6UObeh1vuD/xnjE7NOi28jLT2p7QOjRifMsWRKF8A1+4WnZwba/telVJ0M6W12iygb8UFKOypj4S3LoX1Sx+DIoHPssoAW9iBseVXrDaK8AUOd4jhVQ1WZXhAyQrLt5vuLNMEaFbCq0RltFolGtQ9UYWId2iCWWUAob/O5rzCZMRGWlrXfqV2OMsz7NzL8MkLUlj/XCo/PHG7Lqo/QabVPLqTejIyn8VMf75hXLI4vX3fFT9uVIjfrLe3wDtwo3hgQlrT+8wtcHIkMnpF1wK0Pmi3q3dt+cBzJ7twZjPrXbla5YVz18ptitmRDERECQ67qfzqNrl2C9pLJ/q1f/Ew/JY3Fr/02nDtq35QZ0dZYgfTf47HOzzo4UjL+noRi2L+dBj0fBp9NznpszWtf/ViprbM+6Zzv1l+tD4U3Zu//+Oey/Lgbh8EQfzgm9i59POCMUU/7sNjnSLils28YksYWNbznb3xcNIpy2wR85ntEWFLTuHfln1UVFAUGGrZdmWz6JzqNPxD0AeXjf8ntg4NCbxgB8iohTpMedkpD2q9xEEUXBeo8yuCJKNjP+zg/AYfX9/PVLZWqo5l/XXgtH2ABNTFqA2942K8zLTN4rjFvA8KqN5rmSofCljeENG145859vlNSmeR0T1U7KZ/z6Q/crwGbDY1f9Cmfzjf7MsZklghfj/1shlyq7gSv5Ym375SxDw/iDuj67jYdGOBVjmpB1mnV158my0bdh75nONKc2vK8ZjU+iNXS/P8aJUAiRFk7st3bV5h9baGPOQqbOk4dWjw8NUN7nwm0fmJQ5vp73I/A4UZ8eqf638Gkr3pXrHvUebaPb+xcIzBDE1Nvcojfb/5nm95LL0aHg1iKt36a6uavLgIvpkN7Qo3TujZX95S02Bjz3vhFXVLmBFQCYemOTW9uc4LHakG8kU8VevsB1HT+S1RQKKGdo8JtG9raNhNJjHGLqolgRumnusF3c3ABwOjbQhbjjfMQpu7cdy6J0DTh2hatG32udWg1LPdR9fsVpjEysfGQ0GDDxrvx9YwIGgSRZOZpNEJop4ey3CbpHsmfbpTu+aiszsvP5P6WtQ92vlZ8hxGp2cmnFD2MB6+gQ0hM7eZRxHsKG0+WcpmGsBbtEcNBFvUhbVul/oh7JL+W7adTjOuAVWYVYoTud4ovKjSckZfM1oTXnO4Ky5/LPkQICBB53iz2cdoAWm7owZYQ/S/m4Uwya+G8RezTLMacJChJKqvaibSzfr1bLY6Vry/907SR/JMI7gNWKaUF3Vba3b5b0HxlnFvPrH9H/e+v/zKavQWUONrFVDJYy1XBQUKeYi/Nk2TjiR28KllKGnB2Fq4UnOXuNFR6A2fOnv22Ud48xB8MDHPdrkiVnT362fvOFVnTizjBiQ8TsDnPCs9yEBp16IVDSPomLlWtRkTdEKM6vtCfOz5kpT/0/f18Zx1GX1lvHApIkCfMiNePrIQ9HXD0kmtO7+kdpnb01upiB8fDivDuW+Q0T9Ekbl4PcAAl6+TEntzh67pMz09ikbexC0m6HJHt2TiTtEeCNtLfTWM7HNNFnyoD6HOVEHxiygPZ4y8pyIEJY6J8xwz4TjpyIsHs3cFHpgqfjkUgTFx3uclUbtjRvRXWkgXyZd2ysup9AT8mS0ZJxbARswqXFxJaMDemxOcr6pMmpUPPx6m3QAAnD5YW7H7ATCMs7x2pa2P++IZrqP5lRbgR3bmPDGNdaK0MJWIdUEp/KMOQS9B6vwdVSLl/8mjT5CxXSx2VxxrgGTVW6NBBuTmP9Vt9ZOQ0d0ORGcg++/xMiPrl91fbiMOVAa5GRuhKUhIpUCxVplYkot97+71nhgPlFn6t3NoJKsWX7ecxQQ2Ju2lHT7kO007o0voWXVBgS4t1L3tHfiGWu9NcmCjKwt8PwHn/Jz3v6Uek7SG+ZjCMiakQpmV+0QrjA09K3jZfQgUr+zs/3n/X1zZPPLWk+TlywRK6p0/qbliMMhyXFKbGpTXqvlvBC2Fr58dVvfouGrlfh72hq6YOaZn9zdQWPqbjtqIg8g9QxZzL954uK2OuI1JJittRNNcVSSra2lACV/Ej7Or5II6lx2C3FjqTsrh4UXCcUZWtsOA24NHIJ9CzFmsC4IyIOUXhZEN65l9PYCkjNWKaNz89kPq2+4ye1/jzAuDDg2RrKp/FNIKhhKO0YSPaLz9ODfQTLJhMTpPAXm+xLB0oX7Vo75znqCKyJvmxCmfzANcHkBciBEuOOq68Zl6RZtvaAB0xxFCOfvwBwUY+0qWjfW5PVAaY9bzRJlL100JT3b2kkKDbSW1JXvJqoC/Gubz7CPLYlMJ8dNbim9ydCev9Yq4uzuFENwzKxXa/+CJOmjxzMMCUO8Et1aezpZRwhRESDWtEzJpOKzapC0Hy+M9LX92rbTLKuAfIs+t2RLVUI914oLWgqjEfsM+8o8Tp+U+TRjZ2FF4Ksvp2tGNUiwUapjWbERc67w9nCCgSfLo/c3J1nQLygbzMoJrH4FojgB5aomLL3Qu6IHsRkYhXeYS5oHE0EyRRQXDSEsr4Agr+Yfe5rM854ckE/Yjtm9JnUazZfvvxW2UhxIs9N1m706CP2Ypvs1i7dW+ZmqMCL6uSL+C7hOyycrmvY3Y1YHfIm/pn6u2tgqDN0Y/mZKlUtFq431+zZtpV7+M8ImZf+ou67QEQgXKlc5nxIRUn4WPWlDg2J+6ifiADxcmoRbqWCcG7PR1aUBaLcdSH9KfyF9wgQEj3V+4gyQIa/4JZICFGBUF1BBpZ/anb9TggFs64t+P8eXsWK/kYO+YjSiRyclvKR6hdZRs3hsPY5i7CnmpMUZIns0Ir1ZD8T38M3GM2CcjVW7dG8+0pgw9Si3W5RQrSQjYNq/0A9slLyqiv6ZjrmJFk8Vumsh0VfVPiE7vzqDoxlssE+RqwjJb7DCYE6MHby3aDhaThUE8lgQ7wHTzwoT6IwKqw1ofiTrBycnkdgSKnNEcAgmEQm/Nc4SfKQIjYFgAC+IZeC+S8/pKr8oSNd53EyIK7cuYgnPCUSYn8K2wZD3f/HeVjWIk2EaqRQNZvhCL9pMdwBR8OFRxr36qHCqSx2ZPJOQ3MOPk7swYH4B1QSo4K5tY7/RSl69ftU132HNN0NDfzsvWmBTzVLArpA8RY9LCv7PQ+tbH+6xQWWT4zo41H0hZroZB9Y1BRkiR1jU2XXIQzjY8M2WxSCUywHQOItrSSuDf43zfF+0pXshiSJh3wkP7UVjoF1JMXAPzr2YtxaKFTaZHj0t+e2KUYnGCPDMRt/jsJ1VNqvqGMjhbzmK/Ji7jcaK0nVU2t150c0NRtZlmCiRa7hpNnWe8JlN946yTf4mBY6we5YtS+tHlFzb6xxXgSNdAJUQ/Cf/gbr1MOYnfNPn7tgsduJnySBfUxlhueUByJNOC3T+QE5gELLjR8V/YThTkoJl7a4clEiUTt+fUCWTdjRcJgg8LQSvOspSnGQ5o5a42FBWa2brKLjpnmcroiLKuqJ8SM/UeCuF78esGhAuc2nC0jXZv12w17el7YAcHrpA2Vx+Jv6X5ok4PxVseLzfIY9wbb0nrOCAU3Gg/eKUcu2emB7XfMAgEbBPf7tOMUfluV4zeGsAFHhH3jCmTT0ie7YZP13tsgzt6I+llT2GnDkU9ylV0Rjzdl92EnAJhLyZovmJn2r+3xytit6NWsWFNLk8xZeFTY6cWoqEtVA2HoX/dvgwba3wkOMiZHRRnDWc5OHZ8DvUufoI4BEp4lLz8LqDcJ4U2ROGcH/tNtLAWpov5bBWwYZghIsAyxK4elFVxROoKzEytuvDaHjB85srMddi0+wpvq8Gv2hadSObXFOTXuJYuca+dVPRPg6i8Jy4YRCCcvDJ9h/G4pHs8UtxcagVPFP3LtdVn8qwgiO4/RkY/NvkpOnzPrgtjKA9F25cFO/iEV1SONr2YEg2e21jHzxn1BpHOC+VjkYP6+XVfhyW3FnO55pyGqelLpWnIMcvLUb/nYZluleyUZSt9yjLLW6HyeMT/TsCJpQ+TixJzS2a/JQRc+igKZAJCN5f4pHylBS/nTZQqff5FAhr6QbQIbB+3sfEH7dCB5G4BcRU/hWRacndN8it2rV+0OL+q9WuSGBeFROmtq7ko9ZK00n9mGhhm+CYaUiUyUpdNEhcjDi72xSDSPr5PIlg4ecGmxXOzJMAvwi7oAQQg+Yf0/4z2VCGkFCJ+brkSSZLb8fs2G2c+fYVn/tnAmmooSpfNyJw90LiRdDuQbQ93BQWt3azhV9TEBsPGFE3GGkTw0krNqcURqAQKzvXr2bnhO8KRWoWG7XliqBjI/qGv4UOSaZGwIFqc88q1XuMWRIvW6Cy0jaeljlEotz0AFnDGH2Aq1Pn6SREslqfkNcbIyJ/ZH8oMeXhw4Ua92QnhLp909o39dtaOK/eyzPuAH0ev2kS5g9sKHUC7eEoZIBtPPDrdsGXKpr+L+P9BRvo7OcKaVBxchzd2ZLrq/KC+l5UF0ZSfFqSW6UE0inppd0zfwM2/igkrgcDqi6fKcNBLQO3Yh9ysmWdD7EQ2ZnQ1rzdxuR59XgwjJvDgAAA",vG={class:"reveal-day-option-wrapper"},wG={class:"card-wrapper"},kG=["src"],xG={class:"card-wrapper"},SG=["src"],CG={class:"card-wrapper"},EG=["src"],AG=s.defineComponent({__name:"RevealDayOption",props:_G,setup(e){const t=e,n=s.inject(Ki),r=s.ref(null),a=s.ref(null),i=s.computed(()=>t.date.getTime()<new Date().getTime()),o=s.computed(()=>i.value?`Revealed Cards
864
+ ${t.date.toLocaleDateString()}`:`Cards Revealed
865
+ ${n(t.date).fromNow()}`),l=s.computed(()=>{const c=[];return t.activated&&c.push("activated"),t.soon&&c.push("soon"),i.value&&c.push("past"),c});return s.onMounted(()=>{tt(r.value,{content:a.value,arrow:!0})}),(c,d)=>(s.openBlock(),s.createElementBlock("div",vG,[s.createElementVNode("div",{ref_key:"revealDayOption",ref:r,class:s.normalizeClass(["reveal-day-option",s.unref(l)])},[s.createElementVNode("div",wG,[s.createElementVNode("img",{src:s.unref(Hh),alt:"card",class:"card"},null,8,kG)]),s.createElementVNode("div",xG,[s.createElementVNode("img",{src:s.unref(Hh),alt:"card",class:"card"},null,8,SG)]),s.createElementVNode("div",CG,[s.createElementVNode("img",{src:s.unref(Hh),alt:"card",class:"card"},null,8,EG)])],2),s.createElementVNode("div",{ref_key:"revealDayOptionTippy",ref:a},[s.createVNode(Ro,{text:s.unref(o)},null,8,["text"])],512)]))}}),ZZ="",Wh=V(AG,[["__scopeId","data-v-f3dbe378"]]),TG={days:{type:Array,required:!0,default:[]}},OG=e=>(s.pushScopeId("data-v-76ed46ac"),e=e(),s.popScopeId(),e),MG={class:"reveal-day-options"},NG=OG(()=>s.createElementVNode("div",{class:"line"},null,-1)),DG=s.defineComponent({__name:"RevealDayOptions",props:TG,emits:["update:days"],setup(e,{emit:t}){const n=e;function r(a){const i=n.days.map(o=>({activated:!1,date:o.date,soon:o.soon}));!i[a].soon&&i[a].date.getTime()>new Date().getTime()||(i[a].activated=!0,console.log(i),t("update:days",i))}return(a,i)=>(s.openBlock(),s.createElementBlock("div",MG,[NG,(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.days,(o,l)=>(s.openBlock(),s.createBlock(Wh,{key:l,date:o.date,activated:o.activated,soon:o.soon,onClick:c=>r(l)},null,8,["date","activated","soon","onClick"]))),128))]))}}),QZ="",p3=V(DG,[["__scopeId","data-v-76ed46ac"]]),PG={cardCodes:{type:Array,required:!0,default:[]}},IG=s.defineComponent({__name:"DashboardNewCards",props:PG,setup(e){const t=e,{t:n}=ae(),r=[{title:n("general.newCards"),id:"newCards"}];return(a,i)=>(s.openBlock(),s.createBlock(ni,{class:"small-table","heading-items":s.unref(r)},{default:s.withCtx(()=>[s.createVNode(Wu,{class:"reveal-carousel","card-codes":t.cardCodes},null,8,["card-codes"])]),_:1},8,["heading-items"]))}}),eQ="",h3=V(IG,[["__scopeId","data-v-89a26f2c"]]),LG={players:{type:Array,required:!0,default:[]}},BG=s.defineComponent({__name:"LeaderboardDetailTable",props:LG,setup(e){const t=e,{t:n}=ae(),r=s.ref([{id:"player",isShown:!0,sortDirection:_e.UP,title:n("general.player")},{id:"lp",isShown:!0,sortDirection:_e.NEITHER,title:n("general.lp")},{id:"change",isShown:!0,sortDirection:_e.NEITHER,title:n("general.change")},{id:"matches",isShown:!0,sortDirection:_e.NEITHER,title:n("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"favoriteDeck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.favoriteDeck")}]);function a(i){Ei(i,r)}return(i,o)=>(s.openBlock(),s.createBlock(Hr,{class:"large-table","heading-items":r.value,onToggleSort:a},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.players,(l,c)=>(s.openBlock(),s.createBlock(Dh,s.mergeProps({key:c},l,{index:c+2}),null,16,["index"]))),128))]),_:1},8,["heading-items"]))}}),tQ="",m3=V(BG,[["__scopeId","data-v-4dfbb489"]]),nQ="",RG={},VG=e=>(s.pushScopeId("data-v-c8a918ec"),e=e(),s.popScopeId(),e),$G={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400"},FG=[VG(()=>s.createElementVNode("path",{d:"M107 57.2C23 99 25 97.6 22.2 106.3c-3.4 10.4-6 4 43.5 103.1l44 88.3.5-6.6c.4-4.6 1-7.7 2.4-10.4l1.9-3.7-40-80.8c-22.1-44.4-40.1-81.5-40.1-82.4 0-5-.9-4.5 78-43.9l75-37.4 3.4 1.1 3.3 1.2 49.8 99.6c33 65.8 49.8 100.4 49.8 102 0 4.9-1 5.5-28.2 19.2l-26 13 15.4.1h15.4l13.9-6.9c19.2-9.6 23.1-14 23.2-25.6v-5.7L257 129.6C221.5 58.6 206 28 204 26c-4-4.2-9.6-6.5-15.8-6.5h-5.1L107 57.2m121.5-15.8 3.5 7h29.6c26 0 29.7.2 31.3 1.3 4 2.8 4 1.9 4 68v61.6l6.6 12.9 6.6 12.9v-76.3c0-90 .7-84.8-11.8-91.7l-4.2-2.3-34.6-.3-34.6-.2 3.6 7m95.7 42.1V91l24.3 12.1c25.1 12.5 28 14.5 28 18.7 0 1.3-10.8 24-26.1 55l-26.2 53 .2 14.9.2 14.8 32.8-65.8 32.8-65.8v-5.5a20 20 0 0 0-7-16 739.5 739.5 0 0 0-58.6-30.6c-.2 0-.4 3.4-.4 7.6M126.5 285.1c-4.2 4.2-2 10.3 4 11.4 1.5.2 57.1.3 123.6.2l120.9-.2 1.9-2c3-3 3-6.9 0-9.8l-1.8-1.9H128.8l-2.3 2.3m1.9 25.8c-4.5 1.8-5.5 7.5-1.9 11l2.3 2.3h122.4c130.4 0 125.8.1 127.2-3.5 1.5-3.8.3-7.8-2.7-9.4-2.5-1.3-244-1.7-247.3-.4m-2.3 29.3c-2.6 2.6-2.6 6.6.2 9.3l2 2h246.8l1.9-1.9c2.6-2.6 2.6-7.2.1-9.6l-1.8-1.7H128l-2 1.9m.6 27c-3.7 3.5-3 8.9 1.4 11.1 2.6 1.3 9.8 1.4 124.8 1.2l122-.2 2-2c3-3 3-6.9 0-9.8l-1.8-1.9H251.7c-122.8 0-123.3 0-125 1.6"},null,-1))];function zG(e,t){return s.openBlock(),s.createElementBlock("svg",$G,FG)}const g3=V(RG,[["render",zG],["__scopeId","data-v-c8a918ec"]]),aQ="",jG={},HG=e=>(s.pushScopeId("data-v-4a6733fd"),e=e(),s.popScopeId(),e),WG={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 431.6"},UG=[HG(()=>s.createElementVNode("path",{d:"m178 26.2-8.6 1.8-9.6 2c-2.6.6-6.6 1.5-8.8 1.8-2.2.4-5.7 1-7.8 1.6l-8.8 1.8-8.8 1.8-8.6 1.8c-2.6.5-6.2 1.2-8 1.7l-8.8 1.7-8.6 1.8-6.6 1.4c-3.2.5-14.1 2.9-18.3 3.9-4.2 1-4.4 2.2-2.2 15.1 4.2 24.3 5.2 51.8 2.9 80.4l-.8 10.8c-.2 2-.8 6.9-1.4 10.6-.6 3.7-1.5 9-1.8 11.8-.4 2.8-1.2 7-1.8 9.6a138 138 0 0 0-1.8 8.3c-.3 2-1.1 5.3-1.8 7.4l-1.6 6.1c-.8 4-3.8 14.2-7.1 23.6a191.2 191.2 0 0 1-5.7 15.3L39 259.8c-.7 2-1.7 4.2-2.1 5l-8.5 17c-3.4 7-3.6 6.6 11.3 17a13873.6 13873.6 0 0 1 92 64.6c17.4 12.3 16.5 12.7 18-8L151 332c.6-12 .9-16 2-30.4.6-7.2 1-13.3 1.8-30.2l1.2-18c1.6-20.9 3-46.9 2.6-48.9-.4-2.3-1.8-2.8-5-1.8-9.2 3-18 4.4-23 3.7-15.1-2-25.3-12.8-29.8-31.8a95.5 95.5 0 0 1-2.6-29.8c0-19.7.1-20 5.5-21.6a691 691 0 0 0 14.5-4.2 583.1 583.1 0 0 0 24-6.8 88 88 0 0 0 6.4-1.8c2-.6 4.9-1.5 6.4-1.8 1.5-.3 4.7-1.3 7-2l5-1.4 5-1.4c12-3.9 13.8-3.9 28.5.4a746 746 0 0 0 23 6.5c.4.2 2.3.8 4.3 1.3 2 .4 5.2 1.4 7.2 2l6.4 1.8c1.5.3 4.2 1 5.8 1.6l7.4 2.2c19 5 18.6 4.5 18.6 24.2 0 48.9-20.7 71.2-55 59.3-6.4-2.2-6.8-1.3-5.6 13a948 948 0 0 1 1.8 30.3c.2 4.7.9 14.2 1.4 21 1.1 14.4 1.6 22.6 2.2 34.8.2 4.8.9 14.7 1.4 21.8 1 12.3 1.2 16.4 2.2 36 .9 16.2-.6 16.4 26.2-2.6a2102.7 2102.7 0 0 1 24.8-17.3c2.6-2 7.1-5 10-7.1a3744.4 3744.4 0 0 1 30.2-21.1l17.8-12.5c13.2-9.2 14-9.9 13.7-12.5-.2-2-.5-2.7-3.4-8.1a164.8 164.8 0 0 1-10.7-22.4 292 292 0 0 1-9.5-25.4 292 292 0 0 1-7.2-25.2 345.8 345.8 0 0 1-10.4-64.4c-.9-7.7-.6-44.7.4-53.6l1.7-15.4 1.4-10.6c2-9.4 2-10.2-.1-11.7-.7-.4-2.1-1-3.2-1l-6.5-1.5-9.5-2c-2.7-.4-6.7-1.2-8.8-1.8l-6.9-1.4c-1.7-.3-5.7-1-9-1.8l-9.8-2c-2-.3-5.5-1-7.6-1.6l-8.8-1.8-8.8-1.8c-2.1-.5-5.6-1.3-7.8-1.6-2.2-.4-5.8-1.1-8-1.7l-9.4-2c-3-.4-7.3-1.3-9.6-1.9a28.3 28.3 0 0 0-14.8 0"},null,-1))];function YG(e,t){return s.openBlock(),s.createElementBlock("svg",WG,UG)}const Uh=V(jG,[["render",YG],["__scopeId","data-v-4a6733fd"]]),oQ="",qG={},GG=e=>(s.pushScopeId("data-v-b519ac08"),e=e(),s.popScopeId(),e),XG={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 429.1"},KG=[GG(()=>s.createElementVNode("path",{d:"M53.8 32.8c-2.6 1-8.3 12.9-13.6 28l-2.1 5.8c-.4 1.1-1.1 3.5-1.5 5.4L35 78.8a84.1 84.1 0 0 0-2.6 14.1c0 2.7.8 4.1 7.4 12.5 16.7 21.3 16.7 21 2.2 21-13.3 0-13-.3-12.7 11.8.2 8.4.7 11.8 1.9 14.2.9 1.7 1.7 2.7 27 35.3 8.1 10.6 7.8 11.5-4.2 11.5-11.9 0-12 .3-4.4 16.9a269.4 269.4 0 0 0 28.7 47.7c8.4 11 8.6 11.5 9 19.8.5 8 1.1 11.4 4.3 24.4 7 28.8 30 57 60 73.2a97 97 0 0 1 5 2.8l3 1.4c1.5.5 3.5 1.4 4.5 2 2.8 1.4 10.6 4 11.6 3.6 2.1-.5 2.4-3.6 1-10.6-.6-2.6-1.4-7.3-1.9-10.6-.4-3.2-1.2-7.6-1.6-9.7a218 218 0 0 1-2.6-15.1l-1.8-10.2-1.6-8.2c-1-5.6-.9-5.5-13-5.8-10.4-.2-11-.4-12.3-2.5-.4-.7-.5-7-.7-28.7-.2-26.2-.2-27.9-1-29.2-.4-.8-5.5-6.3-11.4-12.2-5.9-6-11-11.4-11.4-12.2-.8-1.5-1.3-65.8-.5-68.5.7-2.6 2.6-2.3 7.3 1.3l6.8 4.9a1371.6 1371.6 0 0 1 25 17.9c16.1 11.6 25 18.2 26.2 19.7l1.2 1.6.2 28.6c.2 31.6.1 30.2 2.8 32 1.7 1.1 28 1.4 30.6.3 3-1.2 2.8.6 3-31.4.2-31.9 0-29.5 3-32.5 1.7-1.5 7.1-5.6 18.6-13.7a3147.5 3147.5 0 0 0 38.3-27.6c4.4-3.3 6-3.6 7-1.2.7 2 .4 66.8-.3 68.3-.4.7-5.4 6-11.2 11.9-5.7 5.8-10.9 11.3-11.4 12.2l-1 1.6-.2 27.8c-.3 35 1.2 31.2-12.6 31.6-12 .3-12.2.4-13.6 12.6-.3 2.9-1 7.3-1.4 9.8-1.4 8.3-2 11.7-2.6 17-.3 2.9-1 7.5-1.6 10.4-1 5.6-2.2 14.1-2.2 16.9 0 2 1 3.3 2.8 3.3a93.6 93.6 0 0 0 21.9-9.4 124.7 124.7 0 0 0 47-44.9 128.2 128.2 0 0 0 15.9-52.5c.7-11.5 0-9.7 11.7-27.2l10.4-15.6c2.3-3.3 18.2-34.8 19-37.7 1.1-3.3-.8-4.3-8.8-4.3-11.8-.1-11.9.1 3.4-20.2a1330 1330 0 0 0 15.4-20.8c4.9-6.6 5.5-8.5 6.6-20.9.6-6.3.4-8.2-1-9.6l-1.1-1.1-9-.2c-13.5-.3-13.6-.6-4.2-13.4 14.6-19.7 14.1-18.3 11-31a188 188 0 0 0-9.9-31.1c-2.8-8-7.8-17.3-9.9-18.1-2.6-1.1-1.7-2.8-24.6 43-20.2 40.3-21.3 42.4-22.7 43.2-2.1 1.1-3 .5-6.3-4.2A118.4 118.4 0 0 0 237.3 71a122.9 122.9 0 0 0-76 2 73.7 73.7 0 0 0-14.9 6.9c-13.8 7-29.8 21.3-39.1 35-3.3 4.8-5.2 5.6-7.4 3.1L78.4 75.7c-22.4-44.9-22-44-24.6-43"},null,-1))];function JG(e,t){return s.openBlock(),s.createElementBlock("svg",XG,KG)}const Yh=V(qG,[["render",JG],["__scopeId","data-v-b519ac08"]]),lQ="",ZG={},QG=e=>(s.pushScopeId("data-v-f1928c9e"),e=e(),s.popScopeId(),e),eX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 470.8"},tX=[QG(()=>s.createElementVNode("path",{"fill-rule":"evenodd",d:"M60.6 11c-.5.8-.6 17.6-.5 157l.1 156 1 .8c1.5 1.3 278.4 1.2 279.6 0 1.3-1.3 1.2.8 1.1-81.1l-.1-78.6-1.3-1.1c-1-.9-4.5-2.2-16-6-38.4-12.5-36.7-12-38-10.7-.7.7-.7 5.1-.9 64.4l-.2 63.7-.9 2.2c-3.9 9.5-11 14-23.1 14.3-12.4.3-20-3.6-24.3-12.3-2.4-4.8-2.3-1.4-2.3-95v-87l-1-1.1c-1.2-1.4 1-.6-31.6-12.6a552 552 0 0 0-25.5-9.1c-2.5 0-2.3-8.5-2.3 98.8 0 60.3-.2 98.7-.4 100.8-2.7 23.7-41.9 26.6-49.7 3.6l-.9-2.6-.2-120.9-.2-120.9-1-1c-.7-.6-5-2.5-12.6-5.3C59.9 8.6 61.7 9.2 60.6 10.9m.9 356.3c-2.6.5-3 1.8-3 7.7-.1 12.3-5.7 18.7-24.6 28.2-11.4 5.6-16.6 10.9-19.3 19.3a86 86 0 0 0-.9 19.5l-.2 17.3 1 1 1 1h368.1l1-1c.7-.6 1-1.6 1.2-3.2.4-3.3 0-28.3-.6-31.4-1.9-10.7-8-17.3-22-23.4-17.3-7.6-21.8-13.2-22.6-28.5-.3-4.5-.4-5-1.3-5.8l-1-.9H200.7c-75.7 0-138.4 0-139.2.2"},null,-1))];function nX(e,t){return s.openBlock(),s.createElementBlock("svg",eX,tX)}const qh=V(ZG,[["render",nX],["__scopeId","data-v-f1928c9e"]]),dQ="",rX={},aX=e=>(s.pushScopeId("data-v-b1448e85"),e=e(),s.popScopeId(),e),iX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 459.4"},oX=[aX(()=>s.createElementVNode("path",{d:"M175.3 29.5c-1.7.3-.9 1.5 6.1 8.9A57.6 57.6 0 0 1 200 82.6a63.5 63.5 0 0 1-5 25.1 63.5 63.5 0 0 1-23 27.5c-4.6 2.7-6.3 2-14.8-6.2-7.9-7.7-8-7.8-11.1-6.2-2.6 1.3-14.6 12-20.5 18.2l-9.6 10a349.5 349.5 0 0 0-35.5 43.8c-3.1 4.6-6 9.1-9.3 15.2a753 753 0 0 1-5.2 9.2c-.9 1.4-2 3.7-2.4 5-.4 1.2-1.3 3.2-2 4.4l-2.2 4.8a52 52 0 0 1-1.8 4.2c-.4.8-1.3 3.2-2 5.4l-2.2 6c-.5 1-1.3 3.8-1.8 6l-2 7.7a62 62 0 0 0-1.8 8c-3.2 23.5-3 26.6 1.7 31A154.6 154.6 0 0 0 73 318a254 254 0 0 0 33.9 16.2c2.4 1.3 12.6 4.6 19 6.3 3.6 1 7.4 2 8.4 2.4l7.4 1.6c3 .5 7.5 1.4 9.8 2 2.7.6 7.5 1.3 13.2 1.8 5 .4 11.5 1 14.6 1.4 3.8.4 9.7.6 18.6.6 18.5 0 19.9 1.2 13.7 11.9a86.4 86.4 0 0 1-50.1 39.8c-1.4.6-4.1 1.4-6 2-1.9.4-5.2 1.3-7.4 2-2.2.6-6.3 1.4-9.2 1.7-6 .7-10 1.5-10.7 2.2-1.3 1.2 2.5 4 7 5.1l8.3 2.3c2.8.8 6.8 1.7 9 2l15.8 2.6c6.9 1.3 29.5 2 39.8 1.2 6.5-.4 8-.6 18.2-2.4l8.3-1.4c2-.3 5.7-1.2 8-2 2.4-.7 5.4-1.6 6.7-1.8 1.3-.3 3.8-1 5.6-1.8l6-2.2c1.5-.5 3.7-1.3 4.7-1.9l4.2-1.8a228 228 0 0 0 22-11.7c20.9-13.4 40-38.5 44.7-58.8l1.8-6c1.7-4.9 1.9-5.8 2.6-13.2a116.3 116.3 0 0 0-10.4-71l-1.4-2.7c-.4-1-2.5-4.5-6-9.7-4.3-6.6-7.5-7.3-10-2.3-3.1 6.1-15.8 20.3-23.2 25.8a81.5 81.5 0 0 1-71.1 13.4l-6.3-2.3a93 93 0 0 1-38.7-30.1c-4-5.7-4-7.3-.4-12.8a82.1 82.1 0 0 1 38.7-30.2c17-7.5 42.3-7.4 57.2.3 8.8 4.5 10.9 2.5 9.2-9.2-.3-2.2-.6-6.5-.6-9.6a129 129 0 0 0-4.6-34.6 75.6 75.6 0 0 0-3.6-13.8c-4.5-17-18-42.2-32-59.6a193.3 193.3 0 0 0-27.5-25.9 82.1 82.1 0 0 0-18-10.3c-3-1.8-14.6-4.6-17-4.1"},null,-1))];function sX(e,t){return s.openBlock(),s.createElementBlock("svg",iX,oX)}const Gh=V(rX,[["render",sX],["__scopeId","data-v-b1448e85"]]),fQ="",lX={},cX=e=>(s.pushScopeId("data-v-e5501fa0"),e=e(),s.popScopeId(),e),dX={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},uX=[cX(()=>s.createElementVNode("path",{d:"M9.51 16.698 2.244 9.18 1 11.478l6.226 6.264 2.283-1.044ZM6.189 6.676 4.943 5.423 7.02 3.335l1.245 1.253L6.19 6.676ZM9.302 14.61 4.113 9.39l.83-1.044H6.19l3.736-3.55V3.545L10.962 2.5l4.981.626.415 4.803-.83.835-1.453.209-.83 1.043 1.453 1.253.83-.835 1.453.626-4.15 4.176L12 13.775l.83-.835-1.453-1.462-1.037 1.253v1.252l-1.038.627ZM20.924 21.5l-6.018-6.473 1.66-1.67L23 19.412 20.924 21.5Z"},null,-1))];function fX(e,t){return s.openBlock(),s.createElementBlock("svg",dX,uX)}const Xh=V(lX,[["render",fX],["__scopeId","data-v-e5501fa0"]]),pX={...fd,expanded:{type:Boolean,required:!1,default:!1}},hX=e=>(s.pushScopeId("data-v-d94431f7"),e=e(),s.popScopeId(),e),mX={class:"content logo no-scrollbar"},gX={class:"nav-item"},bX={class:"nav-icon-wrapper"},yX={class:"nav-text"},_X=["href"],vX={class:"nav-icon-wrapper"},wX={class:"nav-text"},kX={class:"profile content"},xX={class:"nav-item"},SX={class:"nav-icon-wrapper"},CX=hX(()=>s.createElementVNode("div",{class:"nav-text"},"Open Cards",-1)),EX={class:"nav-item"},AX={class:"nav-icon-wrapper"},TX={class:"nav-text settings"},OX={class:"nav-item"},MX={class:"nav-icon-wrapper"},NX={class:"nav-text"},DX={class:"nav-item"},PX={class:"nav-icon-wrapper"},IX={class:"nav-text name"},LX={class:"nav-item"},BX={class:"nav-icon-wrapper"},RX={class:"nav-text settings"},VX={href:"/test",class:"nav-item"},$X={class:"nav-icon-wrapper"},FX={class:"nav-text sign-in-container"},zX={class:"fancy-button"},jX=s.defineComponent({__name:"NavigationSide",props:pX,setup(e){const t=e,{t:n}=ae(),r=s.ref(),a=s.ref();let i;s.onMounted(()=>{var l;i=new ResizeObserver(o),r.value&&i.observe(r.value),(l=a.value)==null||l.addEventListener("scroll",o),o()}),s.onUnmounted(()=>{var l;i.disconnect(),(l=a.value)==null||l.removeEventListener("scroll",o)});function o(){var d,u;let l=!1,c=!1;a.value&&(a.value.clientHeight<a.value.scrollHeight&&(l=a.value.scrollTop>0,c=a.value.scrollTop<a.value.scrollHeight-a.value.clientHeight),(d=a.value)==null||d.classList.toggle("scrollable-up",l),(u=a.value)==null||u.classList.toggle("scrollable-down",c))}return(l,c)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"navigationSide",ref:r,class:s.normalizeClass(["navigation-side",t.expanded?"expanded":""])},[s.createElementVNode("div",mX,[s.createElementVNode("div",gX,[s.createElementVNode("div",bX,[s.createVNode(Ji,{"logo-type":"logo-only"})]),s.createElementVNode("div",yX,[s.createVNode(Ji,{"logo-type":"text-only"})])])]),s.createElementVNode("div",{ref_key:"navigationPages",ref:a,class:"pages content no-scrollbar"},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.items,d=>(s.openBlock(),s.createElementBlock("a",{key:d.routerLocation,href:d.routerLocation,class:s.normalizeClass(["nav-item",d.highlighted?"highlight":""])},[s.createElementVNode("div",vX,[s.createVNode(s.unref(nt),{class:"nav-icon",icon:d.faIcon},null,8,["icon"])]),s.createElementVNode("div",wX,s.toDisplayString(d.text),1)],10,_X))),128))],512),s.createElementVNode("div",kX,[t.isLoggedIn?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",xX,[s.createElementVNode("div",SX,[s.createVNode(s.unref(nt),{class:"nav-icon",icon:"gift"})]),CX]),s.createElementVNode("div",EX,[s.createElementVNode("div",AX,[s.createVNode(s.unref(nt),{class:"nav-icon",icon:"cog"})]),s.createElementVNode("div",TX,[s.createElementVNode("div",null,s.toDisplayString(s.unref(n)("general.settings")),1),s.createVNode(s.unref(nt),{class:"icon",icon:"language"})])]),s.createElementVNode("div",OX,[s.createElementVNode("div",MX,[s.createVNode(s.unref(nt),{class:"nav-icon",icon:"rotate-right"})]),s.createElementVNode("div",NX,s.toDisplayString(s.unref(n)("general.syncUserData")),1)]),s.createElementVNode("div",DX,[s.createElementVNode("div",PX,[s.createVNode(Wr,{"card-code-prop":t.iconCard??"05BC160","ignore-card-item":!0,"color-override":t.bannerColor},null,8,["card-code-prop","color-override"])]),s.createElementVNode("div",IX,s.toDisplayString(t.name),1)])],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createElementVNode("div",LX,[s.createElementVNode("div",BX,[s.createVNode(s.unref(nt),{class:"nav-icon",icon:"cog"})]),s.createElementVNode("div",RX,[s.createElementVNode("div",null,s.toDisplayString(s.unref(n)("general.settings")),1),s.createVNode(s.unref(nt),{class:"icon",icon:"language"})])]),s.createElementVNode("a",VX,[s.createElementVNode("div",$X,[s.createVNode(s.unref(nt),{class:"nav-icon",icon:"arrow-right-to-bracket"})]),s.createElementVNode("div",FX,[s.createElementVNode("div",zX,s.toDisplayString(s.unref(n)("general.signIn")),1)])])],64))])],2))}}),hQ="",Kh=V(jX,[["__scopeId","data-v-d94431f7"]]),HX=s.defineComponent({__name:"NavigationTopMobile",props:fd,setup(e){const t=e,n=s.ref(!1),r=s.ref(!1),a=s.ref(),i=s.ref();window.addEventListener("click",o);function o(d){var u;n.value&&(n.value=!!((u=i.value)!=null&&u.contains(d.target)))}function l(){s.nextTick(()=>{n.value=!0,s.nextTick(()=>{var d,u;(u=(d=a.value)==null?void 0:d.$el.querySelector("input"))==null||u.focus()})})}function c(){r.value=!0}return s.onUnmounted(()=>{window.removeEventListener("click",o)}),(d,u)=>(s.openBlock(),s.createElementBlock("div",{ref_key:"navigationTopMobile",ref:i,class:"navigation-top-mobile"},[n.value?(s.openBlock(),s.createBlock(Pl,{key:1,ref_key:"searchBar",ref:a,class:"search-bar"},null,512)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createVNode(s.unref(nt),{class:"icon",icon:"bars",onClick:c}),s.createVNode(Ji,{class:"logo-icon","logo-type":"text-only"}),s.createVNode(s.unref(nt),{class:"icon",icon:"search",onClick:s.withModifiers(l,["stop","prevent"])},null,8,["onClick"])],64)),s.createVNode(Ci,{"show-modal":r.value,"onUpdate:showModal":u[0]||(u[0]=f=>r.value=f)},{default:s.withCtx(()=>[s.createVNode(Kh,s.mergeProps({class:"navigation-side"},t,{expanded:!0}),null,16)]),_:1},8,["show-modal"])],512))}}),mQ="",Jh=V(HX,[["__scopeId","data-v-00513f55"]]),WX={class:"navigation-top"},UX=s.defineComponent({__name:"NavigationTop",props:fd,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",WX,[s.createVNode(Mh,s.mergeProps({class:"navigation-top-desktop"},t),null,16),s.createVNode(Jh,s.mergeProps({class:"navigation-top-mobile"},t),null,16)]))}}),gQ="",b3=V(UX,[["__scopeId","data-v-6df2641b"]]),YX={modelValue:{type:String,required:!0,default:!1}},qX=["value"],GX=s.defineComponent({__name:"ColorPicker",props:YX,emits:["update:modelValue"],setup(e,{emit:t}){const n=e;function r(a){t("update:modelValue",a.target.value)}return(a,i)=>(s.openBlock(),s.createElementBlock("input",{type:"color",value:n.modelValue,onInput:r},null,40,qX))}}),bQ="",y3=V(GX,[["__scopeId","data-v-5ebbd7eb"]]),XX={rows:{type:Array,required:!0,default:[]},selectedRegion:{type:String,required:!0,default:"americas"}},KX={class:"multiselect-wrapper"},JX=s.defineComponent({__name:"DashboardLeaderboardTable",props:XX,emits:["update:selectedRegion"],setup(e,{emit:t}){const n=e,{t:r}=ae(),a=s.ref(n.selectedRegion),i=[{title:r("general.leaderboard"),id:"leaderboard"}];return s.watch(a,o=>{t("update:selectedRegion",o)}),(o,l)=>(s.openBlock(),s.createBlock(ni,{class:"small-table","heading-items":s.unref(i)},{heading:s.withCtx(()=>[s.createElementVNode("div",KX,[s.createVNode(s.unref(Rt),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=c=>a.value=c),class:"multiselect",placeholder:s.unref(r)("general.server"),options:s.unref(Ee)().dataJson.servers,"can-clear":!1,label:"name","value-prop":"nameRef"},null,8,["modelValue","placeholder","options"])])]),default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(n.rows,(c,d)=>(s.openBlock(),s.createBlock(jh,{id:c.id,key:c.id,change:c.change,lp:c.lp,name:c.name,rank:c.rank,"selected-banner-card":c.selectedBannerCard,matches:c.matches,index:d+2},null,8,["id","change","lp","name","rank","selected-banner-card","matches","index"]))),128))]),_:1},8,["heading-items"]))}}),yQ="",_3=V(JX,[["__scopeId","data-v-fe0f916c"]]),ZX={archetypeId:{type:Number,required:!0,default:1},deckcode:{type:String,required:!0,default:""},index:{type:Number,required:!0,default:1},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1},playrate:{type:Number,required:!0,default:1},regions:{type:Array,required:!0,default:[]},cards:{type:Array,required:!0,default:[]}},QX=e=>(s.pushScopeId("data-v-403b89f6"),e=e(),s.popScopeId(),e),eK={href:"/test",class:"wrapper"},tK={class:"table-card-row-background-wrapper"},nK={class:"table-card-row-background"},rK=[QX(()=>s.createElementVNode("div",{class:"background-card"},null,-1))],aK={class:"archetypes-row wrapper"},iK={class:"column-content"},oK={class:"column-content"},sK=s.defineComponent({__name:"ArchetypesRow",props:ZX,setup(e){const t=e,n=s.computed(()=>Ct(t.deckcode)),r=s.computed(()=>sn(n.value)),a=s.computed(()=>t.cards.map(i=>`https://lor.gg/storage/cards/banner/${i}.png`));return(i,o)=>(s.openBlock(),s.createElementBlock("a",eK,[s.createElementVNode("div",{class:"archetypes-row-wrapper wrapper",style:s.normalizeStyle({"--index":t.index})},[s.createElementVNode("div",tK,[s.createElementVNode("div",nK,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(a),l=>(s.openBlock(),s.createElementBlock("div",{key:l,class:"background-card-wrapper",style:s.normalizeStyle({"--background-image":`url(${l})`})},rK,4))),128))])]),s.createElementVNode("div",aK,[s.createElementVNode("div",{class:"column-content deck-highlight-wrapper",onClick:o[0]||(o[0]=s.withModifiers(()=>{},["stop","prevent"]))},[s.createVNode(da,{"deck-code":t.deckcode,deck:s.unref(n),cards:s.unref(r)},null,8,["deck-code","deck","cards"])]),s.createElementVNode("div",iK,s.toDisplayString(s.unref(Me)(t.matches)),1),s.createElementVNode("div",{class:"column-content",style:s.normalizeStyle({color:`var(${s.unref(Tn)(t.wins/t.matches)})`})},s.toDisplayString(s.unref(Me)(t.wins/t.matches*100,2,3)+"%"),5),s.createElementVNode("div",oK,s.toDisplayString(s.unref(Me)(t.playrate,2,3)+"%"),1)])],4)]))}}),vQ="",Zh=V(sK,[["__scopeId","data-v-403b89f6"]]),lK={archetypeRows:{type:Array,required:!0,default:[]}},cK=s.defineComponent({__name:"ArchetypesTable",props:lK,setup(e){const t=e,{t:n}=ae(),r=s.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:n("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"playrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.playrate")}]);function a(i){Ei(i,r)}return(i,o)=>(s.openBlock(),s.createBlock(Hr,{class:"large-table","heading-items":r.value,onToggleSort:a},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.archetypeRows,(l,c)=>(s.openBlock(),s.createBlock(Zh,{key:l.deckcode,"archetype-id":l.archetypeId,cards:l.cards,deckcode:l.deckcode,index:c+2,matches:l.matches,playrate:l.playrate,regions:l.regions,wins:l.wins},null,8,["archetype-id","cards","deckcode","index","matches","playrate","regions","wins"]))),128))]),_:1},8,["heading-items"]))}}),wQ="",v3=V(cK,[["__scopeId","data-v-96361ab4"]]),dK={typeSummary:{type:Object,required:!0,default:{quantity:0,isError:!1,typeRef:"Champion"}}},uK={class:"number-container"},fK={key:0,class:"type-icon"},pK=s.defineComponent({__name:"DeckBuilderSummaryType",props:dK,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["deck-builder-summary-type",[t.typeSummary.isError?"error":"",t.typeSummary.typeRef==="Deck"?"deck":""]])},[s.createElementVNode("div",uK,s.toDisplayString(t.typeSummary.quantity),1),t.typeSummary.typeRef!=="Deck"?(s.openBlock(),s.createElementBlock("div",fK,[t.typeSummary.typeRef==="Champion"?(s.openBlock(),s.createBlock(Yh,{key:0})):t.typeSummary.typeRef==="Follower"?(s.openBlock(),s.createBlock(Uh,{key:1})):t.typeSummary.typeRef==="Spell"?(s.openBlock(),s.createBlock(Gh,{key:2})):t.typeSummary.typeRef==="Landmark"?(s.openBlock(),s.createBlock(qh,{key:3})):t.typeSummary.typeRef==="Equipment"?(s.openBlock(),s.createBlock(Xh,{key:4})):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)],2))}}),kQ="",ua=V(pK,[["__scopeId","data-v-2e6bb287"]]),hK={cards:{type:Array,required:!0,default:[]},deck:{type:Object,required:!0,default:{}}},mK={class:"deck-builder-summary"},gK=s.defineComponent({__name:"DeckBuilderSummary",props:hK,setup(e){const t=e;function n(d,u,f){const p=t.cards.filter(d).map(h=>t.deck[h.cardCode]).reduce((h,g)=>h+g,0);return{typeRef:f,quantity:p,isError:u(p)}}const r=s.computed(()=>n(d=>d.typeRef==="Unit"&&d.supertype==="Champion",d=>d>6,"Champion")),a=s.computed(()=>n(d=>d.typeRef==="Unit"&&d.supertype==="",()=>!1,"Follower")),i=s.computed(()=>n(d=>d.typeRef==="Spell",()=>!1,"Spell")),o=s.computed(()=>n(d=>d.typeRef==="Landmark",()=>!1,"Landmark")),l=s.computed(()=>n(d=>d.typeRef==="Equipment",()=>!1,"Equipment")),c=s.computed(()=>n(()=>!0,d=>d!==40,"Deck"));return(d,u)=>(s.openBlock(),s.createElementBlock("div",mK,[s.createVNode(ua,{"type-summary":s.unref(r)},null,8,["type-summary"]),s.createVNode(ua,{"type-summary":s.unref(a)},null,8,["type-summary"]),s.createVNode(ua,{"type-summary":s.unref(i)},null,8,["type-summary"]),s.createVNode(ua,{"type-summary":s.unref(o)},null,8,["type-summary"]),s.createVNode(ua,{"type-summary":s.unref(l)},null,8,["type-summary"]),s.createVNode(ua,{"type-summary":s.unref(c)},null,8,["type-summary"])]))}}),xQ="",w3=V(gK,[["__scopeId","data-v-ec8f0fa9"]]),bK={rows:{type:Array,required:!0,default:[]}},yK=s.defineComponent({__name:"DashboardCardTable",props:bK,setup(e){const t=e,{t:n}=ae(),r=[{title:n("general.cards"),id:"cards"},{title:n("general.matches"),id:"matches"},{title:n("general.winrate"),id:"winrate"}];return(a,i)=>(s.openBlock(),s.createBlock(ni,{class:"small-table","heading-items":s.unref(r)},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.rows,o=>(s.openBlock(),s.createBlock(zh,{key:o.cardCode,"card-code":o.cardCode,matches:o.matches,wins:o.wins,index:o.index+2},null,8,["card-code","matches","wins","index"]))),128))]),_:1},8,["heading-items"]))}}),SQ="",k3=V(yK,[["__scopeId","data-v-e5817be3"]]),_K={modelValue:{type:Number,required:!0,default:5}},vK=["value"],wK=s.defineComponent({__name:"ZoomSlider",props:_K,emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=s.ref(),a=s.ref();function i(o){t("update:modelValue",Number.parseInt(o.target.value))}return s.onMounted(()=>{tt(r.value,{content:a.value,arrow:!0,interactive:!0,trigger:"mouseenter click",interactiveBorder:10})}),(o,l)=>{const c=s.resolveComponent("FontAwesomeIcon");return s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",{ref_key:"button",ref:r,class:"circle-button"},[s.createVNode(c,{icon:"search-plus",class:"zoom-button"})],512),s.createElementVNode("div",{ref_key:"slider",ref:a,class:"slider-wrapper"},[s.createElementVNode("input",{type:"range",min:"1",max:"10",class:"slider",value:n.modelValue,onInput:i},null,40,vK)],512)])}}}),CQ="",x3=V(wK,[["__scopeId","data-v-bac83f78"]]),kK={cardProp:{type:Object,required:!1,default:void 0},cardCodeProp:{type:String,required:!1,default:void 0}},pd=e=>(s.pushScopeId("data-v-7a77ebe8"),e=e(),s.popScopeId(),e),xK={class:"card-overview"},SK={class:"overview-top"},CK={class:"card-name"},EK={class:"card-tags-container"},AK={class:"card-tags"},TK={class:"card-tag"},OK={class:"card-tag-text"},MK={class:"card-tag"},NK={class:"card-tag-text"},DK={class:"card-tag"},PK={class:"card-tag-text"},IK={class:"card-tag"},LK={class:"card-tag-text"},BK=pd(()=>s.createElementVNode("hr",{class:"divider"},null,-1)),RK={class:"card-text"},VK=pd(()=>s.createElementVNode("hr",{class:"divider"},null,-1)),$K={class:"keyword-description"},FK={class:"keyword-name"},zK=pd(()=>s.createElementVNode("hr",{class:"divider"},null,-1)),jK={class:"flavor-text"},HK=pd(()=>s.createElementVNode("div",{class:"card-art-section"},[s.createElementVNode("div",{class:"card-art-button primary-button"},"Card Art")],-1)),WK=s.defineComponent({__name:"CardOverview",props:kK,setup(e){const t=e,n=No(t.cardProp,t.cardCodeProp,!0),r=s.computed(()=>{if(n.value===void 0)return[];const c=[];for(const d of n.value.keywordRefs){const u=Ee().dataJson.keywords.find(f=>f.nameRef===d);u&&c.push(u)}return c}),a=s.computed(()=>{if(n.value===void 0)return null;const c=Ee().dataJson;return Oo(n.value.regionRefs[0])?c.runeterraChampions.find(d=>d.nameRef===n.value.regionRefs[0])??c.regions[0]:c.regions.find(d=>d.nameRef===n.value.regionRefs[0])??c.regions[0]}),i=s.computed(()=>n.value===void 0?null:Ee().dataJson.rarities.find(c=>c.nameRef===n.value.rarityRef)??Ee().dataJson.rarities[0]),o=s.computed(()=>n.value===void 0?null:Ee().dataJson.types.find(c=>c.nameRef===n.value.typeRef)??Ee().dataJson.types[0]),l=s.computed(()=>n.value===void 0?null:Ee().dataJson.sets.find(c=>c.nameRef===n.value.set)??Ee().dataJson.sets[0]);return(c,d)=>{var f,p,h,g,b,v,m,y;const u=s.resolveComponent("FontAwesomeIcon");return s.openBlock(),s.createElementBlock("div",xK,[s.unref(n)?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",SK,[s.createElementVNode("div",CK,s.toDisplayString(s.unref(n).name),1),s.createVNode(u,{icon:"times",class:"close-icon"})]),s.createElementVNode("div",EK,[s.createElementVNode("div",AK,[s.createElementVNode("div",TK,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((f=s.unref(a))==null?void 0:f.icon)??""})`})},null,4),s.createElementVNode("div",OK,s.toDisplayString((p=s.unref(a))==null?void 0:p.name),1)]),s.createElementVNode("div",MK,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((h=s.unref(i))==null?void 0:h.icon)??""})`})},null,4),s.createElementVNode("div",NK,s.toDisplayString((g=s.unref(i))==null?void 0:g.name),1)]),s.createElementVNode("div",DK,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((b=s.unref(o))==null?void 0:b.icon)??""})`})},null,4),s.createElementVNode("div",PK,s.toDisplayString((v=s.unref(o))==null?void 0:v.name),1)]),s.createElementVNode("div",IK,[s.createElementVNode("div",{class:"icon",style:s.normalizeStyle({content:`url(${((m=s.unref(l))==null?void 0:m.icon)??""})`})},null,4),s.createElementVNode("div",LK,s.toDisplayString((y=s.unref(l))==null?void 0:y.name),1)])])]),BK,s.createElementVNode("div",RK,s.toDisplayString(s.unref(n).descriptionRaw),1),VK,(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(s.unref(r),w=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:w.nameRef},[s.createElementVNode("div",$K,[s.createElementVNode("b",FK,s.toDisplayString(w.name+" - "),1),s.createElementVNode("span",null,s.toDisplayString(w.description),1)]),zK],64))),128)),s.createElementVNode("div",jK,s.toDisplayString(s.unref(n).flavorText),1),HK],64)):s.createCommentVNode("",!0)])}}}),EQ="",S3=V(WK,[["__scopeId","data-v-7a77ebe8"]]),UK={gameType:{type:String,required:!0,default:""},matches:{type:Number,required:!0,default:1},wins:{type:Number,required:!0,default:1}},YK={class:"profile-game-type-winrate"},qK={class:"game-type"},GK=s.defineComponent({__name:"ProfileGameTypeWinrate",props:UK,setup(e){const t=e;return(n,r)=>(s.openBlock(),s.createElementBlock("div",YK,[s.createElementVNode("div",qK,s.toDisplayString(t.gameType),1),s.createVNode(Fh,{matches:t.matches,wins:t.wins},null,8,["matches","wins"])]))}}),AQ="",C3=V(GK,[["__scopeId","data-v-1bb3c9de"]]),XK={deckRows:{type:Array,required:!0,default:[]}},KK=s.defineComponent({__name:"DecksTable",props:XK,setup(e){const t=e,{t:n}=ae(),r=s.ref([{id:"deck",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.deck")},{id:"matches",isShown:!0,sortDirection:_e.DOWN,title:n("general.matches")},{id:"winrate",isShown:!0,sortDirection:_e.NEITHER,title:n("general.winrate")},{id:"manaCurve",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.manaCurve")},{id:"cost",isShown:!0,sortDirection:_e.NOT_SORTABLE,title:n("general.cost")}]);function a(i){Ei(i,r)}return(i,o)=>(s.openBlock(),s.createBlock(Hr,{class:"large-table","heading-items":r.value,onToggleSort:a},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(t.deckRows,(l,c)=>(s.openBlock(),s.createBlock(zs,{key:l.deckCode,type:"data",deckcode:l.deckCode,matches:l.matches,wins:l.wins,index:c+2},null,8,["deckcode","matches","wins","index"]))),128))]),_:1},8,["heading-items"]))}}),TQ="",E3=V(KK,[["__scopeId","data-v-4810f8e3"]]),JK={format:{type:String,required:!0,default:"client_Formats_Standard_name"}},ZK={class:"format-tag-container"},QK=s.defineComponent({__name:"FormatTag",props:JK,setup(e){const t=e,n=s.ref(null),r=s.ref(null),a=s.computed(()=>Ee().dataJson.formats.find(i=>i.nameRef===t.format));return s.onMounted(()=>{tt(n.value,{content:r.value,arrow:!0})}),(i,o)=>{var l,c,d;return s.openBlock(),s.createElementBlock("div",ZK,[s.createElementVNode("div",{ref_key:"formatTag",ref:n,class:"format-tag",style:s.normalizeStyle({"--color":(l=s.unref(a))==null?void 0:l.color})},s.toDisplayString((c=s.unref(a))==null?void 0:c.abbreviation),5),s.createElementVNode("div",{ref_key:"formatTagTippy",ref:r},[s.createVNode(Ro,{text:(d=s.unref(a))==null?void 0:d.name},null,8,["text"])],512)])}}}),OQ="",A3=V(QK,[["__scopeId","data-v-694d889e"]]),eJ={install:async e=>{e.component("RevealCarousel",Wu),e.component("SearchBar",Pl),e.component("SocialLinks",Xu),e.component("ModalItem",Ci),e.component("FilterSampleSize",Io),e.component("FilterRanks",E0),e.component("FilterManaCost",Ku),e.component("FilterRarities",Ju),e.component("FilterSets",Zu),e.component("FilterKeywords",Qu),e.component("FilterServers",Lo),e.component("FilterTime",Bo),e.component("FilterCardCodes",tf),e.component("FilterDecks",A0),e.component("FilterAdvanced",rf),e.component("FilterRegions",Rl),e.component("FilterCards",T0),e.component("AdvancedFilterItem",nf),e.component("FilterTypes",af),e.component("CopyMeComponent",O0),e.component("RegionsLine",of),e.component("CardsTable",M0),e.component("DeckHighlightRegions",$o),e.component("GemsCost",cf),e.component("CardSliceItem",ln),e.component("LanguageSelection",df),e.component("DeckSidePanel",$v),e.component("DeckHighlight",da),e.component("ArchetypeSidePanel",Fv),e.component("OpenInDeckBuilderButton",bh),e.component("CopyDeckButton",ph),e.component("UpdateDeckPrivacyButton",vh),e.component("EditDeckNameButton",mh),e.component("UploadDeckToLorButton",kh),e.component("DeleteDeckButton",hh),e.component("OpenArchetypePageButton",gh),e.component("SimulateMulliganButton",_h),e.component("SocialMediaLinks",zv),e.component("DecksRow",zs),e.component("CardItemLinkWrapper",Hv),e.component("DeckHighlightCards",Fo),e.component("CheckboxItem",Ut),e.component("NavigationTopDesktop",Mh),e.component("SidePanelSectionPane",_t),e.component("CardSimilarCards",Wv),e.component("DashboardSignUp",Yv),e.component("MatchItem",qv),e.component("ToggleSwitch",Ll),e.component("LeaderboardTop10Region",Nh),e.component("ShareButton",xh),e.component("LeaderboardDetailRow",Dh),e.component("DeckBlock",Gv),e.component("SmallTable",ni),e.component("LeaderboardTop",Xv),e.component("CardLottery",Kv),e.component("DashboardProfile",Jv),e.component("LeaderboardChart",Qv),e.component("CardQuantityBarChart",e3),e.component("WinsLossesBarChart",t3),e.component("RoundCardInfoBarChart",n3),e.component("LineChart",r3),e.component("ManaCurveChart",cd),e.component("WinrateDoughnutChart",Rh),e.component("InfoDoughnutChart",Ac),e.component("BuiltDecksTable",a3),e.component("ProfileRegionTable",i3),e.component("ProfileArchetypeTable",o3),e.component("CardItem3d",Bh),e.component("LeaderboardOptions",s3),e.component("SimilarDecksTable",l3),e.component("LargeTable",Hr),e.component("StatisticsPaneContainer",c3),e.component("ArchetypeSidePanelHighlight",Vl),e.component("CardCarousel",d3),e.component("DeckButtons",Sh),e.component("WinsLossesLine",Fh),e.component("DashboardCardRow",zh),e.component("CardTogglePage",u3),e.component("TestComponent",f3),e.component("DashboardLeaderboardRow",jh),e.component("DeckPreview",Ch),e.component("CheckboxItemManaCost",Bl),e.component("RevealDayOptions",p3),e.component("DeckDifferenceItem",Eh),e.component("DashboardNewCards",h3),e.component("CardsRow",sf),e.component("LeaderboardDetailTable",m3),e.component("DeckIcon",g3),e.component("LogoIcon",Ji),e.component("FollowerIcon",Uh),e.component("ChampionIcon",Yh),e.component("EternalIcon",Ph),e.component("InfoIcon",Th),e.component("LandmarkIcon",qh),e.component("ManaHexagonIcon",Do),e.component("RuneterraIcon",wh),e.component("ShardsIcon",lf),e.component("StandardIcon",Ih),e.component("SpellIcon",Gh),e.component("GauntletIcon",Lh),e.component("EquipmentIcon",Xh),e.component("NavigationTop",b3),e.component("CardMultiselect",ef),e.component("ProfileDropdown",Oh),e.component("ColorPicker",y3),e.component("DashboardLeaderboardTable",_3),e.component("NavigationSide",Kh),e.component("ArchetypesTable",v3),e.component("DeckBuilderSummary",w3),e.component("DeckBuilderSummaryType",ua),e.component("DashboardCardTable",k3),e.component("ArchetypesRow",Zh),e.component("RevealDayOption",Wh),e.component("DeckHighlightEye",ud),e.component("DeckDifferences",Ah),e.component("ZoomSlider",x3),e.component("CardOverview",S3),e.component("CircleCardItem",Wr),e.component("ProfileGameTypeWinrate",C3),e.component("DecksTable",E3),e.component("RegionItem",Vo),e.component("TippyText",Ro),e.component("FormatTag",A3),e.component("ProfileRegionRow",Vh),e.component("SimulateMulligan",yh),e.component("DeckSummary",dd),e.component("NavigationTopMobile",Jh),e.component("CardItem",dr),e.component("ProfileArchetypeRow",$h),e.component("FontAwesomeIcon",nt),e.component("Multiselect",Rt)}};N.AdvancedFilterItem=nf,N.ArchetypeSidePanel=Fv,N.ArchetypeSidePanelHighlight=Vl,N.ArchetypesRow=Zh,N.ArchetypesTable=v3,N.BuiltDecksTable=a3,N.CardCarousel=d3,N.CardItem=dr,N.CardItem3d=Bh,N.CardItemLinkWrapper=Hv,N.CardLottery=Kv,N.CardMultiselect=ef,N.CardOverview=S3,N.CardQuantityBarChart=e3,N.CardSimilarCards=Wv,N.CardSliceItem=ln,N.CardTogglePage=u3,N.CardsRow=sf,N.CardsTable=M0,N.ChampionIcon=Yh,N.CheckboxItem=Ut,N.CheckboxItemManaCost=Bl,N.CircleCardItem=Wr,N.ColorPicker=y3,N.CopyDeckButton=ph,N.CopyMeComponent=O0,N.DashboardCardRow=zh,N.DashboardCardTable=k3,N.DashboardLeaderboardRow=jh,N.DashboardLeaderboardTable=_3,N.DashboardNewCards=h3,N.DashboardProfile=Jv,N.DashboardSignUp=Yv,N.DeckBlock=Gv,N.DeckBuilderSummary=w3,N.DeckBuilderSummaryType=ua,N.DeckButtons=Sh,N.DeckDifferenceItem=Eh,N.DeckDifferences=Ah,N.DeckHighlight=da,N.DeckHighlightCards=Fo,N.DeckHighlightEye=ud,N.DeckHighlightRegions=$o,N.DeckIcon=g3,N.DeckPreview=Ch,N.DeckSidePanel=$v,N.DeckSummary=dd,N.DecksRow=zs,N.DecksTable=E3,N.DeleteDeckButton=hh,N.EditDeckNameButton=mh,N.EquipmentIcon=Xh,N.EternalIcon=Ph,N.FilterAdvanced=rf,N.FilterCardCodes=tf,N.FilterCards=T0,N.FilterDecks=A0,N.FilterKeywords=Qu,N.FilterManaCost=Ku,N.FilterRanks=E0,N.FilterRarities=Ju,N.FilterRegions=Rl,N.FilterSampleSize=Io,N.FilterServers=Lo,N.FilterSets=Zu,N.FilterTime=Bo,N.FilterTypes=af,N.FollowerIcon=Uh,N.FormatTag=A3,N.GauntletIcon=Lh,N.GemsCost=cf,N.InfoDoughnutChart=Ac,N.InfoIcon=Th,N.LandmarkIcon=qh,N.LanguageSelection=df,N.LargeTable=Hr,N.LeaderboardChart=Qv,N.LeaderboardDetailRow=Dh,N.LeaderboardDetailTable=m3,N.LeaderboardOptions=s3,N.LeaderboardTop=Xv,N.LeaderboardTop10Region=Nh,N.LineChart=r3,N.LogoIcon=Ji,N.ManaCurveChart=cd,N.ManaHexagonIcon=Do,N.MatchItem=qv,N.ModalItem=Ci,N.NavigationSide=Kh,N.NavigationTop=b3,N.NavigationTopDesktop=Mh,N.NavigationTopMobile=Jh,N.OpenArchetypePageButton=gh,N.OpenInDeckBuilderButton=bh,N.ProfileArchetypeRow=$h,N.ProfileArchetypeTable=o3,N.ProfileDropdown=Oh,N.ProfileGameTypeWinrate=C3,N.ProfileRegionRow=Vh,N.ProfileRegionTable=i3,N.RegionItem=Vo,N.RegionsLine=of,N.RevealCarousel=Wu,N.RevealDayOption=Wh,N.RevealDayOptions=p3,N.RoundCardInfoBarChart=n3,N.RuneterraIcon=wh,N.SearchBar=Pl,N.ShardsIcon=lf,N.ShareButton=xh,N.SidePanelSectionPane=_t,N.SimilarDecksTable=l3,N.SimulateMulligan=yh,N.SimulateMulliganButton=_h,N.SmallTable=ni,N.SocialLinks=Xu,N.SocialMediaLinks=zv,N.SpellIcon=Gh,N.StandardIcon=Ih,N.StatisticsPaneContainer=c3,N.TestComponent=f3,N.TippyText=Ro,N.ToggleSwitch=Ll,N.UpdateDeckPrivacyButton=vh,N.UploadDeckToLorButton=kh,N.WinrateDoughnutChart=Rh,N.WinsLossesBarChart=t3,N.WinsLossesLine=Fh,N.ZoomSlider=x3,N.default=eJ,N.importIcons=T8,N.setupi18n=$5,N.useCardJsonObjectStore=Ot,N.useCardJsonStore=mu,N.useDataJsonStore=Ee,Object.defineProperties(N,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});