rails-active-ui 0.3.0 → 0.3.1

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 (195) hide show
  1. checksums.yaml +4 -4
  2. data/formantic-ui/components/accordion.css +369 -0
  3. data/formantic-ui/components/accordion.js +595 -0
  4. data/formantic-ui/components/accordion.min.css +9 -0
  5. data/formantic-ui/components/accordion.min.js +11 -0
  6. data/formantic-ui/components/ad.css +264 -0
  7. data/formantic-ui/components/ad.min.css +10 -0
  8. data/formantic-ui/components/api.js +1225 -0
  9. data/formantic-ui/components/api.min.js +11 -0
  10. data/formantic-ui/components/breadcrumb.css +135 -0
  11. data/formantic-ui/components/breadcrumb.min.css +9 -0
  12. data/formantic-ui/components/button.css +4058 -0
  13. data/formantic-ui/components/button.min.css +9 -0
  14. data/formantic-ui/components/calendar.css +327 -0
  15. data/formantic-ui/components/calendar.js +2045 -0
  16. data/formantic-ui/components/calendar.min.css +9 -0
  17. data/formantic-ui/components/calendar.min.js +11 -0
  18. data/formantic-ui/components/card.css +1881 -0
  19. data/formantic-ui/components/card.min.css +9 -0
  20. data/formantic-ui/components/checkbox.css +785 -0
  21. data/formantic-ui/components/checkbox.js +888 -0
  22. data/formantic-ui/components/checkbox.min.css +9 -0
  23. data/formantic-ui/components/checkbox.min.js +11 -0
  24. data/formantic-ui/components/comment.css +283 -0
  25. data/formantic-ui/components/comment.min.css +9 -0
  26. data/formantic-ui/components/container.css +300 -0
  27. data/formantic-ui/components/container.min.css +9 -0
  28. data/formantic-ui/components/dimmer.css +367 -0
  29. data/formantic-ui/components/dimmer.js +732 -0
  30. data/formantic-ui/components/dimmer.min.css +9 -0
  31. data/formantic-ui/components/dimmer.min.js +11 -0
  32. data/formantic-ui/components/divider.css +287 -0
  33. data/formantic-ui/components/divider.min.css +9 -0
  34. data/formantic-ui/components/dropdown.css +2087 -0
  35. data/formantic-ui/components/dropdown.js +4432 -0
  36. data/formantic-ui/components/dropdown.min.css +9 -0
  37. data/formantic-ui/components/dropdown.min.js +11 -0
  38. data/formantic-ui/components/embed.css +155 -0
  39. data/formantic-ui/components/embed.js +688 -0
  40. data/formantic-ui/components/embed.min.css +9 -0
  41. data/formantic-ui/components/embed.min.js +11 -0
  42. data/formantic-ui/components/emoji.css +15311 -0
  43. data/formantic-ui/components/emoji.min.css +9 -0
  44. data/formantic-ui/components/feed.css +799 -0
  45. data/formantic-ui/components/feed.min.css +9 -0
  46. data/formantic-ui/components/flag.css +1149 -0
  47. data/formantic-ui/components/flag.min.css +9 -0
  48. data/formantic-ui/components/flyout.css +546 -0
  49. data/formantic-ui/components/flyout.js +1551 -0
  50. data/formantic-ui/components/flyout.min.css +9 -0
  51. data/formantic-ui/components/flyout.min.js +11 -0
  52. data/formantic-ui/components/form.css +1885 -0
  53. data/formantic-ui/components/form.js +2199 -0
  54. data/formantic-ui/components/form.min.css +9 -0
  55. data/formantic-ui/components/form.min.js +11 -0
  56. data/formantic-ui/components/grid.css +1952 -0
  57. data/formantic-ui/components/grid.min.css +9 -0
  58. data/formantic-ui/components/header.css +778 -0
  59. data/formantic-ui/components/header.min.css +9 -0
  60. data/formantic-ui/components/icon.css +7066 -0
  61. data/formantic-ui/components/icon.min.css +9 -0
  62. data/formantic-ui/components/image.css +315 -0
  63. data/formantic-ui/components/image.min.css +9 -0
  64. data/formantic-ui/components/input.css +1566 -0
  65. data/formantic-ui/components/input.min.css +9 -0
  66. data/formantic-ui/components/item.css +534 -0
  67. data/formantic-ui/components/item.min.css +9 -0
  68. data/formantic-ui/components/label.css +2114 -0
  69. data/formantic-ui/components/label.min.css +9 -0
  70. data/formantic-ui/components/list.css +955 -0
  71. data/formantic-ui/components/list.min.css +9 -0
  72. data/formantic-ui/components/loader.css +787 -0
  73. data/formantic-ui/components/loader.min.css +9 -0
  74. data/formantic-ui/components/menu.css +2131 -0
  75. data/formantic-ui/components/menu.min.css +9 -0
  76. data/formantic-ui/components/message.css +619 -0
  77. data/formantic-ui/components/message.min.css +9 -0
  78. data/formantic-ui/components/modal.css +779 -0
  79. data/formantic-ui/components/modal.js +1637 -0
  80. data/formantic-ui/components/modal.min.css +9 -0
  81. data/formantic-ui/components/modal.min.js +11 -0
  82. data/formantic-ui/components/nag.css +290 -0
  83. data/formantic-ui/components/nag.js +566 -0
  84. data/formantic-ui/components/nag.min.css +9 -0
  85. data/formantic-ui/components/nag.min.js +11 -0
  86. data/formantic-ui/components/placeholder.css +228 -0
  87. data/formantic-ui/components/placeholder.min.css +9 -0
  88. data/formantic-ui/components/popup.css +1184 -0
  89. data/formantic-ui/components/popup.js +1561 -0
  90. data/formantic-ui/components/popup.min.css +9 -0
  91. data/formantic-ui/components/popup.min.js +11 -0
  92. data/formantic-ui/components/progress.css +761 -0
  93. data/formantic-ui/components/progress.js +979 -0
  94. data/formantic-ui/components/progress.min.css +9 -0
  95. data/formantic-ui/components/progress.min.js +11 -0
  96. data/formantic-ui/components/rail.css +147 -0
  97. data/formantic-ui/components/rail.min.css +9 -0
  98. data/formantic-ui/components/rating.css +414 -0
  99. data/formantic-ui/components/rating.js +540 -0
  100. data/formantic-ui/components/rating.min.css +9 -0
  101. data/formantic-ui/components/rating.min.js +11 -0
  102. data/formantic-ui/components/reset.css +386 -0
  103. data/formantic-ui/components/reset.min.css +9 -0
  104. data/formantic-ui/components/reveal.css +277 -0
  105. data/formantic-ui/components/reveal.min.css +9 -0
  106. data/formantic-ui/components/search.css +541 -0
  107. data/formantic-ui/components/search.js +1641 -0
  108. data/formantic-ui/components/search.min.css +9 -0
  109. data/formantic-ui/components/search.min.js +11 -0
  110. data/formantic-ui/components/segment.css +1053 -0
  111. data/formantic-ui/components/segment.min.css +9 -0
  112. data/formantic-ui/components/shape.css +144 -0
  113. data/formantic-ui/components/shape.js +797 -0
  114. data/formantic-ui/components/shape.min.css +9 -0
  115. data/formantic-ui/components/shape.min.js +11 -0
  116. data/formantic-ui/components/sidebar.css +539 -0
  117. data/formantic-ui/components/sidebar.js +1054 -0
  118. data/formantic-ui/components/sidebar.min.css +9 -0
  119. data/formantic-ui/components/sidebar.min.js +11 -0
  120. data/formantic-ui/components/site.css +286 -0
  121. data/formantic-ui/components/site.js +455 -0
  122. data/formantic-ui/components/site.min.css +9 -0
  123. data/formantic-ui/components/site.min.js +11 -0
  124. data/formantic-ui/components/slider.css +926 -0
  125. data/formantic-ui/components/slider.js +1546 -0
  126. data/formantic-ui/components/slider.min.css +9 -0
  127. data/formantic-ui/components/slider.min.js +11 -0
  128. data/formantic-ui/components/state.js +697 -0
  129. data/formantic-ui/components/state.min.js +11 -0
  130. data/formantic-ui/components/statistic.css +586 -0
  131. data/formantic-ui/components/statistic.min.css +9 -0
  132. data/formantic-ui/components/step.css +1538 -0
  133. data/formantic-ui/components/step.min.css +9 -0
  134. data/formantic-ui/components/sticky.css +73 -0
  135. data/formantic-ui/components/sticky.js +917 -0
  136. data/formantic-ui/components/sticky.min.css +9 -0
  137. data/formantic-ui/components/sticky.min.js +11 -0
  138. data/formantic-ui/components/tab.css +84 -0
  139. data/formantic-ui/components/tab.js +967 -0
  140. data/formantic-ui/components/tab.min.css +9 -0
  141. data/formantic-ui/components/tab.min.js +11 -0
  142. data/formantic-ui/components/table.css +3473 -0
  143. data/formantic-ui/components/table.min.css +9 -0
  144. data/formantic-ui/components/text.css +155 -0
  145. data/formantic-ui/components/text.min.css +9 -0
  146. data/formantic-ui/components/toast.css +751 -0
  147. data/formantic-ui/components/toast.js +964 -0
  148. data/formantic-ui/components/toast.min.css +9 -0
  149. data/formantic-ui/components/toast.min.js +11 -0
  150. data/formantic-ui/components/transition.css +1148 -0
  151. data/formantic-ui/components/transition.js +1034 -0
  152. data/formantic-ui/components/transition.min.css +9 -0
  153. data/formantic-ui/components/transition.min.js +11 -0
  154. data/formantic-ui/components/visibility.js +1292 -0
  155. data/formantic-ui/components/visibility.min.js +11 -0
  156. data/formantic-ui/semantic.css +78485 -0
  157. data/formantic-ui/semantic.js +31036 -0
  158. data/formantic-ui/semantic.min.css +11 -0
  159. data/formantic-ui/semantic.min.js +11 -0
  160. data/formantic-ui/themes/basic/assets/fonts/LICENSE.txt +91 -0
  161. data/formantic-ui/themes/basic/assets/fonts/icons.woff +0 -0
  162. data/formantic-ui/themes/basic/assets/fonts/icons.woff2 +0 -0
  163. data/formantic-ui/themes/default/assets/fonts/LICENSE_Lato.txt +94 -0
  164. data/formantic-ui/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
  165. data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  166. data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  167. data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  168. data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  169. data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  170. data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  171. data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  172. data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  173. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  174. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  175. data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  176. data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  177. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  178. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  179. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  180. data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  181. data/formantic-ui/themes/default/assets/fonts/brand-icons.woff +0 -0
  182. data/formantic-ui/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  183. data/formantic-ui/themes/default/assets/fonts/icons.woff +0 -0
  184. data/formantic-ui/themes/default/assets/fonts/icons.woff2 +0 -0
  185. data/formantic-ui/themes/default/assets/fonts/outline-icons.woff +0 -0
  186. data/formantic-ui/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  187. data/formantic-ui/themes/famfamfam/assets/images/flags.png +0 -0
  188. data/formantic-ui/themes/github/assets/fonts/LICENSE.txt +94 -0
  189. data/formantic-ui/themes/github/assets/fonts/octicons.woff +0 -0
  190. data/formantic-ui/themes/github/assets/fonts/octicons.woff2 +0 -0
  191. data/formantic-ui/themes/material/assets/fonts/LICENSE.txt +202 -0
  192. data/formantic-ui/themes/material/assets/fonts/icons.woff +0 -0
  193. data/formantic-ui/themes/material/assets/fonts/icons.woff2 +0 -0
  194. data/lib/ui/version.rb +1 -1
  195. metadata +193 -1
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * # Fomantic-UI 2.9.4 - Popup
3
+ * https://github.com/fomantic/Fomantic-UI/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * https://opensource.org/licenses/MIT
8
+ *
9
+ */.ui.popup{display:none;position:absolute;top:0;right:0;min-width:min-content;z-index:1900;border:1px solid #d4d4d5;line-height:1.4285em;max-width:250px;background:#fff;padding:.833em 1em;font-weight:400;font-style:normal;color:rgba(0,0,0,.87);border-radius:.28571429rem;box-shadow:0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.15)}.ui.popup>.header{padding:0;font-family:Lato,system-ui,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1.14285714em;line-height:1.2;font-weight:700}.ui.popup>.header+.content{padding-top:.5em}.ui.popup::before{position:absolute;content:"";width:.71428571em;height:.71428571em;background:#fff;transform:rotate(45deg);z-index:1901;box-shadow:1px 1px 0 0 #bababc}[data-tooltip]{position:relative}[data-tooltip]::before{pointer-events:none;position:absolute;content:"";font-size:1rem;width:.71428571em;height:.71428571em;background:#fff;z-index:1901;box-shadow:1px 1px 0 0 #bababc}[data-tooltip]::after{pointer-events:none;content:attr(data-tooltip);position:absolute;text-transform:none;text-align:left;text-shadow:none;white-space:nowrap;font-size:1rem;border:1px solid #d4d4d5;line-height:1.4285em;max-width:none;background:#fff;padding:.833em 1em;font-weight:400;font-style:normal;color:rgba(0,0,0,.87);border-radius:.28571429rem;box-shadow:0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.15);z-index:1900}[data-tooltip]::after,[data-tooltip]::before{pointer-events:none;opacity:0;transition:transform .2s ease,opacity .2s ease}[data-tooltip]::after,[data-tooltip]:hover::before{transition-delay:40ms}[data-tooltip]::before,[data-tooltip]:hover::after{transition-delay:0s}[data-tooltip]::before{transform:rotate(45deg) scale(.8);transform-origin:center top}[data-tooltip]::after{transform-origin:center bottom}[data-tooltip]:hover::after,[data-tooltip]:hover::before,[data-tooltip][data-variation~=visible]::after,[data-tooltip][data-variation~=visible]::before{pointer-events:auto;opacity:1}[data-tooltip]:hover::before{transform:rotate(45deg) scale(1)}[data-tooltip]:not([data-position])::after,[data-tooltip][data-position="bottom center"]::after,[data-tooltip][data-position="top center"]::after{transform:translateX(-50%) scale(.8)}[data-tooltip]:not([data-position]):hover::after,[data-tooltip][data-position="bottom center"]:hover::after,[data-tooltip][data-position="top center"]:hover::after{transform:translateX(-50%) scale(1)}[data-tooltip][data-position="left center"]::after,[data-tooltip][data-position="right center"]::after{transform:translateY(-50%) scale(.8)}[data-tooltip][data-position="left center"]:hover::after,[data-tooltip][data-position="right center"]:hover::after{transform:translateY(-50%) scale(1);-moz-transform:translateY(-50%) scale(1.0001)!important}[data-tooltip][data-position="bottom left"]::after,[data-tooltip][data-position="bottom right"]::after,[data-tooltip][data-position="top left"]::after,[data-tooltip][data-position="top right"]::after{transform:scale(.8)}[data-tooltip][data-position="bottom left"]:hover::after,[data-tooltip][data-position="bottom right"]:hover::after,[data-tooltip][data-position="top left"]:hover::after,[data-tooltip][data-position="top right"]:hover::after{transform:scale(1)}[data-tooltip][data-variation~=fixed]::after{white-space:normal;width:250px}[data-tooltip][data-variation*="wide fixed"]::after{width:350px}[data-tooltip][data-variation*="very wide fixed"]::after{width:550px}@media only screen and (max-width:767.98px){[data-tooltip][data-variation~=fixed]::after{width:250px}}[data-tooltip][data-inverted]::before{box-shadow:none}[data-tooltip]:not([data-position])[data-inverted]::before{background:#1b1c1d}[data-tooltip][data-inverted]::after{background:#1b1c1d;color:#fff;border:none;box-shadow:none}[data-position~=top][data-tooltip]::before{background:#fff}[data-position="top center"][data-tooltip]::after,[data-tooltip]:not([data-position])::after{top:auto;right:auto;left:50%;bottom:100%;margin-bottom:.5em}[data-position="top center"][data-tooltip]::before,[data-tooltip]:not([data-position])::before{top:auto;right:auto;bottom:100%;left:50%;background:#fff;margin-left:-.07142857rem;margin-bottom:.14285714rem}[data-position="top left"][data-tooltip]::after{top:auto;right:auto;left:0;bottom:100%;margin-bottom:.5em}[data-position="top left"][data-tooltip]::before{top:auto;right:auto;bottom:100%;left:1em;margin-left:-.07142857rem;margin-bottom:.14285714rem}[data-position="top right"][data-tooltip]::after{top:auto;left:auto;right:0;bottom:100%;margin-bottom:.5em}[data-position="top right"][data-tooltip]::before{top:auto;left:auto;bottom:100%;right:1em;margin-left:-.07142857rem;margin-bottom:.14285714rem}[data-position~=bottom][data-tooltip]::before{background:#fff;box-shadow:-1px -1px 0 0 #bababc}[data-position="bottom center"][data-tooltip]::after{bottom:auto;right:auto;left:50%;top:100%;margin-top:.5em}[data-position="bottom center"][data-tooltip]::before{bottom:auto;right:auto;top:100%;left:50%;margin-left:-.07142857rem;margin-top:.30714286em}[data-position="bottom left"][data-tooltip]::after{left:0;top:100%;margin-top:.5em}[data-position="bottom left"][data-tooltip]::before{bottom:auto;right:auto;top:100%;left:1em;margin-left:-.07142857rem;margin-top:.14285714rem}[data-position="bottom right"][data-tooltip]::after{right:0;top:100%;margin-top:.5em}[data-position="bottom right"][data-tooltip]::before{bottom:auto;left:auto;top:100%;right:1em;margin-left:-.14285714rem;margin-top:.07142857rem}[data-position="left center"][data-tooltip]::after{right:100%;top:50%;margin-right:.5em}[data-position="left center"][data-tooltip]::before{right:100%;top:50%;margin-top:-.14285714rem;margin-right:-.07142857rem;background:#fff;box-shadow:1px -1px 0 0 #bababc}[data-position="right center"][data-tooltip]::after{left:100%;top:50%;margin-left:.5em}[data-position="right center"][data-tooltip]::before{left:100%;top:50%;margin-top:-.07142857rem;margin-left:.14285714rem;background:#fff;box-shadow:-1px 1px 0 0 #bababc}[data-inverted][data-position~=bottom][data-tooltip]::before{background:#1b1c1d;box-shadow:-1px -1px 0 0 #bababc}[data-inverted][data-position="left center"][data-tooltip]::before{background:#1b1c1d;box-shadow:1px -1px 0 0 #bababc}[data-inverted][data-position="right center"][data-tooltip]::before{background:#1b1c1d;box-shadow:-1px 1px 0 0 #bababc}[data-inverted][data-position~=top][data-tooltip]::before{background:#1b1c1d}[data-position~=bottom][data-tooltip]::before{transform-origin:center bottom}[data-position~=bottom][data-tooltip]::after{transform-origin:center top}[data-position="bottom center"][data-tooltip]::before{transform-origin:center top}[data-position="left center"][data-tooltip]::before{transform-origin:top center}[data-position="left center"][data-tooltip]::after{transform-origin:right center}[data-position="right center"][data-tooltip]::before{transform-origin:right center}[data-position="right center"][data-tooltip]::after{transform-origin:left center}[data-position="top left"][data-tooltip]::after{transform-origin:bottom left}[data-position="top right"][data-tooltip]::after{transform-origin:bottom right}[data-position="bottom left"][data-tooltip]::after{transform-origin:top left}[data-position="bottom right"][data-tooltip]::after{transform-origin:top right}[data-tooltip][data-variation~=basic]::before{display:none}[data-tooltip][data-variation~=multiline]::after{white-space:pre-line}.ui.popup{margin:0}.ui.top.popup{margin:0 0 .71428571em}.ui.top.left.popup{transform-origin:left bottom}.ui.top.center.popup{transform-origin:center bottom}.ui.top.right.popup{transform-origin:right bottom}.ui.left.center.popup{margin:0 .71428571em 0 0;transform-origin:right 50%}.ui.right.center.popup{margin:0 0 0 .71428571em;transform-origin:left 50%}.ui.bottom.popup{margin:.71428571em 0 0}.ui.bottom.left.popup{transform-origin:left top}.ui.bottom.center.popup{transform-origin:center top}.ui.bottom.right.popup{transform-origin:right top}.ui.bottom.center.popup::before{margin-left:-.30714286em;top:-.30714286em;left:50%;right:auto;bottom:auto;box-shadow:-1px -1px 0 0 #bababc}.ui.bottom.left.popup{margin-left:0}.ui.bottom.left.popup::before{top:-.30714286em;left:1em;right:auto;bottom:auto;margin-left:0;box-shadow:-1px -1px 0 0 #bababc}.ui.bottom.right.popup{margin-right:0}.ui.bottom.right.popup::before{top:-.30714286em;right:1em;bottom:auto;left:auto;margin-left:0;box-shadow:-1px -1px 0 0 #bababc}.ui.top.center.popup::before{top:auto;right:auto;bottom:-.30714286em;left:50%;margin-left:-.30714286em}.ui.top.left.popup{margin-left:0}.ui.top.left.popup::before{bottom:-.30714286em;left:1em;top:auto;right:auto;margin-left:0}.ui.top.right.popup{margin-right:0}.ui.top.right.popup::before{bottom:-.30714286em;right:1em;top:auto;left:auto;margin-left:0}.ui.left.center.popup::before{top:50%;right:-.30714286em;bottom:auto;left:auto;margin-top:-.30714286em;box-shadow:1px -1px 0 0 #bababc}.ui.right.center.popup::before{top:50%;left:-.30714286em;bottom:auto;right:auto;margin-top:-.30714286em;box-shadow:-1px 1px 0 0 #bababc}.ui.left.center.popup::before,.ui.right.center.popup::before{background:#fff}.ui.bottom.popup::before{background:#fff}.ui.top.popup::before{background:#fff}.ui.inverted.bottom.popup::before{background:#1b1c1d}.ui.inverted.left.center.popup::before,.ui.inverted.right.center.popup::before{background:#1b1c1d}.ui.inverted.top.popup::before{background:#1b1c1d}.ui.ui.ui.popup>.ui.grid:not(.padded){width:calc(100% + 1.75rem);margin:-.7rem -.875rem}.ui.loading.popup{cursor:default;pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ui.loading.popup *{opacity:.3}.ui.loading.popup::after{position:absolute;content:"";top:50%;left:50%;margin:-1em 0 0 -1em;width:2em;height:2em;animation:loader .6s infinite linear;border:.2em solid #767676;border-radius:500rem;box-shadow:0 0 0 1px transparent;visibility:visible;z-index:101}.ui.invisible.popup{display:block;visibility:hidden!important;z-index:-1}.ui.animating.popup,.ui.visible.popup{display:block}.ui.visible.popup{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.ui.basic.popup::before{display:none}.ui.fixed.popup{width:250px}.ui.wide.popup{max-width:350px}.ui.wide.popup.fixed{width:350px}.ui[class*="very wide"].popup{max-width:550px}.ui[class*="very wide"].popup.fixed{width:550px}@media only screen and (max-width:767.98px){.ui.wide.popup,.ui[class*="very wide"].popup{max-width:250px}.ui.wide.popup.fixed,.ui[class*="very wide"].popup.fixed{width:250px}}.ui.fluid.popup{width:100%;max-width:none}.ui.inverted.popup{background:#1b1c1d;color:#fff;border:none;box-shadow:none}.ui.inverted.popup .header{background:0 0;color:#fff}.ui.inverted.popup::before{background-color:#1b1c1d;box-shadow:none}.ui.primary.popup,.ui.ui.ui.primary.popup::before,[data-tooltip][data-variation~=primary]::after,[data-tooltip][data-variation~=primary]::before{background:#2185d0;color:#fff;border:none}.ui.primary.loading.popup,.ui.ui.ui.primary.loading.popup::before{background:#9bcbef}.ui.ui.ui.primary.popup::before,[data-tooltip][data-variation~=primary]::before{box-shadow:none}.ui.inverted.primary.popup,.ui.ui.ui.inverted.primary.popup::before,[data-tooltip][data-inverted][data-variation~=primary]::after,[data-tooltip][data-inverted][data-variation~=primary]::before{background:#54c8ff;color:#1b1c1d}.ui.inverted.primary.loading.popup,.ui.ui.ui.inverted.primary.loading.popup::before{background:#007eba}.ui.secondary.popup,.ui.ui.ui.secondary.popup::before,[data-tooltip][data-variation~=secondary]::after,[data-tooltip][data-variation~=secondary]::before{background:#1b1c1d;color:#fff;border:none}.ui.secondary.loading.popup,.ui.ui.ui.secondary.loading.popup::before{background:#65696c}.ui.ui.ui.secondary.popup::before,[data-tooltip][data-variation~=secondary]::before{box-shadow:none}.ui.inverted.secondary.popup,.ui.ui.ui.inverted.secondary.popup::before,[data-tooltip][data-inverted][data-variation~=secondary]::after,[data-tooltip][data-inverted][data-variation~=secondary]::before{background:#545454;color:#1b1c1d}.ui.inverted.secondary.loading.popup,.ui.ui.ui.inverted.secondary.loading.popup::before{background:#080808}.ui.red.popup,.ui.ui.ui.red.popup::before,[data-tooltip][data-variation~=red]::after,[data-tooltip][data-variation~=red]::before{background:#db2828;color:#fff;border:none}.ui.red.loading.popup,.ui.ui.ui.red.loading.popup::before{background:#f1abab}.ui.ui.ui.red.popup::before,[data-tooltip][data-variation~=red]::before{box-shadow:none}.ui.inverted.red.popup,.ui.ui.ui.inverted.red.popup::before,[data-tooltip][data-inverted][data-variation~=red]::after,[data-tooltip][data-inverted][data-variation~=red]::before{background:#ff695e;color:#1b1c1d}.ui.inverted.red.loading.popup,.ui.ui.ui.inverted.red.loading.popup::before{background:#c40d00}.ui.orange.popup,.ui.ui.ui.orange.popup::before,[data-tooltip][data-variation~=orange]::after,[data-tooltip][data-variation~=orange]::before{background:#f2711c;color:#fff;border:none}.ui.orange.loading.popup,.ui.ui.ui.orange.loading.popup::before{background:#faccad}.ui.ui.ui.orange.popup::before,[data-tooltip][data-variation~=orange]::before{box-shadow:none}.ui.inverted.orange.popup,.ui.ui.ui.inverted.orange.popup::before,[data-tooltip][data-inverted][data-variation~=orange]::after,[data-tooltip][data-inverted][data-variation~=orange]::before{background:#ff851b;color:#1b1c1d}.ui.inverted.orange.loading.popup,.ui.ui.ui.inverted.orange.loading.popup::before{background:#813c00}.ui.ui.ui.yellow.popup::before,.ui.yellow.popup,[data-tooltip][data-variation~=yellow]::after,[data-tooltip][data-variation~=yellow]::before{background:#fbbd08;color:#fff;border:none}.ui.ui.ui.yellow.loading.popup::before,.ui.yellow.loading.popup{background:#fde59f}.ui.ui.ui.yellow.popup::before,[data-tooltip][data-variation~=yellow]::before{box-shadow:none}.ui.inverted.yellow.popup,.ui.ui.ui.inverted.yellow.popup::before,[data-tooltip][data-inverted][data-variation~=yellow]::after,[data-tooltip][data-inverted][data-variation~=yellow]::before{background:#ffe21f;color:#1b1c1d}.ui.inverted.yellow.loading.popup,.ui.ui.ui.inverted.yellow.loading.popup::before{background:#857400}.ui.olive.popup,.ui.ui.ui.olive.popup::before,[data-tooltip][data-variation~=olive]::after,[data-tooltip][data-variation~=olive]::before{background:#b5cc18;color:#fff;border:none}.ui.olive.loading.popup,.ui.ui.ui.olive.loading.popup::before{background:#e4f18c}.ui.ui.ui.olive.popup::before,[data-tooltip][data-variation~=olive]::before{box-shadow:none}.ui.inverted.olive.popup,.ui.ui.ui.inverted.olive.popup::before,[data-tooltip][data-inverted][data-variation~=olive]::after,[data-tooltip][data-inverted][data-variation~=olive]::before{background:#d9e778;color:#1b1c1d}.ui.inverted.olive.loading.popup,.ui.ui.ui.inverted.olive.loading.popup::before{background:#97a81e}.ui.green.popup,.ui.ui.ui.green.popup::before,[data-tooltip][data-variation~=green]::after,[data-tooltip][data-variation~=green]::before{background:#21ba45;color:#fff;border:none}.ui.green.loading.popup,.ui.ui.ui.green.loading.popup::before{background:#8aeaa0}.ui.ui.ui.green.popup::before,[data-tooltip][data-variation~=green]::before{box-shadow:none}.ui.inverted.green.popup,.ui.ui.ui.inverted.green.popup::before,[data-tooltip][data-inverted][data-variation~=green]::after,[data-tooltip][data-inverted][data-variation~=green]::before{background:#2ecc40;color:#1b1c1d}.ui.inverted.green.loading.popup,.ui.ui.ui.inverted.green.loading.popup::before{background:#124f19}.ui.teal.popup,.ui.ui.ui.teal.popup::before,[data-tooltip][data-variation~=teal]::after,[data-tooltip][data-variation~=teal]::before{background:#00b5ad;color:#fff;border:none}.ui.teal.loading.popup,.ui.ui.ui.teal.loading.popup::before{background:#4ffff7}.ui.ui.ui.teal.popup::before,[data-tooltip][data-variation~=teal]::before{box-shadow:none}.ui.inverted.teal.popup,.ui.ui.ui.inverted.teal.popup::before,[data-tooltip][data-inverted][data-variation~=teal]::after,[data-tooltip][data-inverted][data-variation~=teal]::before{background:#6dffff;color:#1b1c1d}.ui.inverted.teal.loading.popup,.ui.ui.ui.inverted.teal.loading.popup::before{background:#00d3d3}.ui.blue.popup,.ui.ui.ui.blue.popup::before,[data-tooltip][data-variation~=blue]::after,[data-tooltip][data-variation~=blue]::before{background:#2185d0;color:#fff;border:none}.ui.blue.loading.popup,.ui.ui.ui.blue.loading.popup::before{background:#9bcbef}.ui.ui.ui.blue.popup::before,[data-tooltip][data-variation~=blue]::before{box-shadow:none}.ui.inverted.blue.popup,.ui.ui.ui.inverted.blue.popup::before,[data-tooltip][data-inverted][data-variation~=blue]::after,[data-tooltip][data-inverted][data-variation~=blue]::before{background:#54c8ff;color:#1b1c1d}.ui.inverted.blue.loading.popup,.ui.ui.ui.inverted.blue.loading.popup::before{background:#007eba}.ui.ui.ui.violet.popup::before,.ui.violet.popup,[data-tooltip][data-variation~=violet]::after,[data-tooltip][data-variation~=violet]::before{background:#6435c9;color:#fff;border:none}.ui.ui.ui.violet.loading.popup::before,.ui.violet.loading.popup{background:#c1adea}.ui.ui.ui.violet.popup::before,[data-tooltip][data-variation~=violet]::before{box-shadow:none}.ui.inverted.violet.popup,.ui.ui.ui.inverted.violet.popup::before,[data-tooltip][data-inverted][data-variation~=violet]::after,[data-tooltip][data-inverted][data-variation~=violet]::before{background:#a291fb;color:#1b1c1d}.ui.inverted.violet.loading.popup,.ui.ui.ui.inverted.violet.loading.popup::before{background:#2d09ea}.ui.purple.popup,.ui.ui.ui.purple.popup::before,[data-tooltip][data-variation~=purple]::after,[data-tooltip][data-variation~=purple]::before{background:#a333c8;color:#fff;border:none}.ui.purple.loading.popup,.ui.ui.ui.purple.loading.popup::before{background:#daabe9}.ui.ui.ui.purple.popup::before,[data-tooltip][data-variation~=purple]::before{box-shadow:none}.ui.inverted.purple.popup,.ui.ui.ui.inverted.purple.popup::before,[data-tooltip][data-inverted][data-variation~=purple]::after,[data-tooltip][data-inverted][data-variation~=purple]::before{background:#dc73ff;color:#1b1c1d}.ui.inverted.purple.loading.popup,.ui.ui.ui.inverted.purple.loading.popup::before{background:#a300d9}.ui.pink.popup,.ui.ui.ui.pink.popup::before,[data-tooltip][data-variation~=pink]::after,[data-tooltip][data-variation~=pink]::before{background:#e03997;color:#fff;border:none}.ui.pink.loading.popup,.ui.ui.ui.pink.loading.popup::before{background:#f5bddc}.ui.ui.ui.pink.popup::before,[data-tooltip][data-variation~=pink]::before{box-shadow:none}.ui.inverted.pink.popup,.ui.ui.ui.inverted.pink.popup::before,[data-tooltip][data-inverted][data-variation~=pink]::after,[data-tooltip][data-inverted][data-variation~=pink]::before{background:#ff8edf;color:#1b1c1d}.ui.inverted.pink.loading.popup,.ui.ui.ui.inverted.pink.loading.popup::before{background:#f400af}.ui.brown.popup,.ui.ui.ui.brown.popup::before,[data-tooltip][data-variation~=brown]::after,[data-tooltip][data-variation~=brown]::before{background:#a5673f;color:#fff;border:none}.ui.brown.loading.popup,.ui.ui.ui.brown.loading.popup::before{background:#dbb8a2}.ui.ui.ui.brown.popup::before,[data-tooltip][data-variation~=brown]::before{box-shadow:none}.ui.inverted.brown.popup,.ui.ui.ui.inverted.brown.popup::before,[data-tooltip][data-inverted][data-variation~=brown]::after,[data-tooltip][data-inverted][data-variation~=brown]::before{background:#d67c1c;color:#1b1c1d}.ui.inverted.brown.loading.popup,.ui.ui.ui.inverted.brown.loading.popup::before{background:#4f2e0a}.ui.grey.popup,.ui.ui.ui.grey.popup::before,[data-tooltip][data-variation~=grey]::after,[data-tooltip][data-variation~=grey]::before{background:#767676;color:#fff;border:none}.ui.grey.loading.popup,.ui.ui.ui.grey.loading.popup::before{background:#c3c3c3}.ui.ui.ui.grey.popup::before,[data-tooltip][data-variation~=grey]::before{box-shadow:none}.ui.inverted.grey.popup,.ui.ui.ui.inverted.grey.popup::before,[data-tooltip][data-inverted][data-variation~=grey]::after,[data-tooltip][data-inverted][data-variation~=grey]::before{background:#dcddde;color:#1b1c1d}.ui.inverted.grey.loading.popup,.ui.ui.ui.inverted.grey.loading.popup::before{background:#8d9194}.ui.black.popup,.ui.ui.ui.black.popup::before,[data-tooltip][data-variation~=black]::after,[data-tooltip][data-variation~=black]::before{background:#1b1c1d;color:#fff;border:none}.ui.black.loading.popup,.ui.ui.ui.black.loading.popup::before{background:#65696c}.ui.ui.ui.black.popup::before,[data-tooltip][data-variation~=black]::before{box-shadow:none}.ui.inverted.black.popup,.ui.ui.ui.inverted.black.popup::before,[data-tooltip][data-inverted][data-variation~=black]::after,[data-tooltip][data-inverted][data-variation~=black]::before{background:#545454;color:#1b1c1d}.ui.inverted.black.loading.popup,.ui.ui.ui.inverted.black.loading.popup::before{background:#080808}.ui.flowing.popup{max-width:none}.ui.popup{font-size:1rem}.ui.mini.popup{font-size:.78571429rem}[data-tooltip][data-variation~=mini]::after,[data-tooltip][data-variation~=mini]::before{font-size:.78571429rem}.ui.tiny.popup{font-size:.85714286rem}[data-tooltip][data-variation~=tiny]::after,[data-tooltip][data-variation~=tiny]::before{font-size:.85714286rem}.ui.small.popup{font-size:.92857143rem}[data-tooltip][data-variation~=small]::after,[data-tooltip][data-variation~=small]::before{font-size:.92857143rem}.ui.large.popup{font-size:1.14285714rem}[data-tooltip][data-variation~=large]::after,[data-tooltip][data-variation~=large]::before{font-size:1.14285714rem}.ui.big.popup{font-size:1.28571429rem}[data-tooltip][data-variation~=big]::after,[data-tooltip][data-variation~=big]::before{font-size:1.28571429rem}.ui.huge.popup{font-size:1.42857143rem}[data-tooltip][data-variation~=huge]::after,[data-tooltip][data-variation~=huge]::before{font-size:1.42857143rem}.ui.massive.popup{font-size:1.71428571rem}[data-tooltip][data-variation~=massive]::after,[data-tooltip][data-variation~=massive]::before{font-size:1.71428571rem}
@@ -0,0 +1,11 @@
1
+ /*
2
+ * # Fomantic UI - 2.9.4
3
+ * https://github.com/fomantic/Fomantic-UI
4
+ * https://fomantic-ui.com/
5
+ *
6
+ * Copyright 2025 Contributors
7
+ * Released under the MIT license
8
+ * https://opensource.org/licenses/MIT
9
+ *
10
+ */
11
+ !function(V,W,M){"use strict";function z(t){return"function"==typeof t&&"number"!=typeof t.nodeType}W=void 0!==W&&W.Math===Math?W:globalThis,V.fn.popup=function(x){var E,t=V(this),k=V(M),S=V(W),A=V("body"),D="ontouchstart"in M.documentElement?"touchstart":"click",O=Date.now(),j=[],F=x,R="string"==typeof F,H=[].slice.call(arguments,1),N=function(t,e){var o;return 0<=[W,M].indexOf(t)?o=V(t):0===(o=V(e.document).find(t)).length&&(o=e.frameElement?N(t,e.parent):A),o};return t.each(function(){var p,s,t,e,o,u=V.isPlainObject(x)?V.extend(!0,{},V.fn.popup.settings,x):V.extend({},V.fn.popup.settings),i=u.selector,c=u.className,d=u.error,f=u.metadata,n=u.namespace,r="."+u.namespace,a="module-"+n,h=V(this),l=N(u.context,W),g=N(u.scrollContext,W),v=N(u.boundary,W),m=u.target?N(u.target,W):h,b=0,w=!1,y=!1,P=this,C=h.data(a),T={initialize:function(){T.debug("Initializing",h),T.createID(),T.bind.events(),!T.exists()&&u.preserve&&T.create(),u.observeChanges&&T.observeChanges(),T.instantiate()},instantiate:function(){T.verbose("Storing instance",T),C=T,h.data(a,C)},observeChanges:function(){"MutationObserver"in W&&((t=new MutationObserver(T.event.documentChanged)).observe(M,{childList:!0,subtree:!0}),T.debug("Setting up mutation observer",t))},refresh:function(){u.popup?p=k.find(u.popup).eq(0):u.inline&&(p=m.nextAll(i.popup).eq(0),u.popup=p),u.popup?(T.set.invisible(),s=T.get.offsetParent(),T.remove.invisible(),u.movePopup&&T.has.popup()&&T.get.offsetParent(p)[0]!==s[0]&&(T.debug("Moving popup to the same offset parent as target"),p.detach().appendTo(s))):s=u.inline?T.get.offsetParent(m):T.has.popup()?T.get.offsetParent(p):A,s.is("html")&&s[0]!==A[0]&&(T.debug("Setting page as offset parent"),s=A),T.get.variation()&&T.set.variation()},reposition:function(){T.refresh(),T.set.position()},destroy:function(){T.debug("Destroying previous module"),t&&t.disconnect(),p&&!u.preserve&&T.removePopup(),clearTimeout(T.hideTimer),clearTimeout(T.showTimer),T.unbind.close(),T.unbind.events(),h.removeData(a)},event:{start:function(t){var e=V.isPlainObject(u.delay)?u.delay.show:u.delay;clearTimeout(T.hideTimer),y&&!u.addTouchEvents||(T.showTimer=setTimeout(function(){T.show()},e))},end:function(){var t=V.isPlainObject(u.delay)?u.delay.hide:u.delay;clearTimeout(T.showTimer),T.hideTimer=setTimeout(function(){T.hide()},t)},touchstart:function(t){y=!0,u.addTouchEvents&&T.show()},resize:function(){T.is.visible()&&T.set.position()},documentChanged:function(t){[].forEach.call(t,function(t){t.removedNodes&&[].forEach.call(t.removedNodes,function(t){(t===P||0<V(t).find(P).length)&&(T.debug("Element removed from DOM, tearing down events"),T.destroy())})})},hideGracefully:function(t){var e=V(t.target),o=V.contains(M.documentElement,t.target),e=0<e.closest(i.popup).length;t&&!e&&o?(T.debug("Click occurred outside popup hiding popup"),T.hide()):T.debug("Click was inside popup, keeping popup open")}},create:function(){var t=m.next(i.popup),e=!u.popup&&0===t.length&&h.attr("title"),o=T.get.html(),n=T.get.title(),e=T.get.content(e);o||e||n?(T.debug("Creating pop-up html"),o=o||u.templates.popup({title:n,content:e}),p=V("<div/>").addClass(c.popup).data(f.activator,h).html(o),u.inline?(T.verbose("Inserting popup element inline",p),p.insertAfter(h)):(T.verbose("Appending popup element to body",p),p.appendTo(l)),T.refresh(),T.set.variation(),u.hoverable&&T.bind.popup(),u.onCreate.call(p,P)):u.popup?(k.find(u.popup).data(f.activator,h),T.verbose("Used popup specified in settings"),T.refresh(),u.hoverable&&T.bind.popup()):0<t.length?(T.verbose("Pre-existing popup found"),u.inline=!0,u.popup=t.data(f.activator,h),T.refresh(),u.hoverable&&T.bind.popup()):T.debug("No content specified skipping display",P)},createID:function(){o=(Math.random().toString(16)+"000000000").slice(2,10),e="."+o,T.verbose("Creating unique id for element",o)},toggle:function(){T.debug("Toggling pop-up"),T.is.hidden()?(T.debug("Popup is hidden, showing pop-up"),T.unbind.close(),T.show()):(T.debug("Popup is visible, hiding pop-up"),T.hide())},show:function(t){t=t||function(){},T.debug("Showing pop-up",u.transition),!T.is.hidden()||T.is.active()&&T.is.dropdown()||(T.exists()||T.create(),!1===u.onShow.call(p,P)?T.debug("onShow callback returned false, cancelling popup animation"):(u.preserve||u.popup||T.refresh(),p&&T.set.position()&&(T.save.conditions(),u.exclusive&&T.hideAll(),T.animate.show(t))))},hide:function(t){t=t||function(){},(T.is.visible()||T.is.animating())&&(!1===u.onHide.call(p,P)?T.debug("onHide callback returned false, cancelling popup animation"):(T.remove.visible(),T.unbind.close(),T.restore.conditions(),T.animate.hide(t)))},hideAll:function(){k.find(i.popup).filter("."+c.popupVisible).each(function(){V(this).data(f.activator).popup("hide")})},exists:function(){return!!p&&(u.inline||u.popup?T.has.popup():0<p.closest(l).length)},removePopup:function(){T.has.popup()&&!u.popup&&(T.debug("Removing popup",p),p.remove(),p=void 0,u.onRemove.call(p,P))},save:{conditions:function(){T.cache={title:h.attr("title")},T.cache.title&&h.removeAttr("title"),T.verbose("Saving original attributes",T.cache.title)}},restore:{conditions:function(){return T.cache&&T.cache.title&&(h.attr("title",T.cache.title),T.verbose("Restoring original attributes",T.cache.title)),!0}},supports:{svg:function(){return"undefined"!=typeof SVGGraphicsElement}},animate:{show:function(t){t=z(t)?t:function(){},u.transition&&T.can.useElement("transition")&&(T.set.visible(),p.transition({animation:(u.transition.showMethod||u.transition)+" in",queue:!1,debug:u.debug,verbose:u.verbose,silent:u.silent,duration:u.transition.showDuration||u.duration,onComplete:function(){T.bind.close(),t.call(p,P),u.onVisible.call(p,P)}}))},hide:function(t){t=z(t)?t:function(){},T.debug("Hiding pop-up"),u.transition&&void 0!==V.fn.transition?p.transition({animation:(u.transition.hideMethod||u.transition)+" out",queue:!1,duration:u.transition.hideDuration||u.duration,debug:u.debug,verbose:u.verbose,silent:u.silent,onComplete:function(){T.reset(),t.call(p,P),u.onHidden.call(p,P)}}):T.error(d.noTransition)}},change:{content:function(t){p.html(t)}},get:{html:function(){return h.removeData(f.html),h.data(f.html)||u.html},title:function(){return h.removeData(f.title),h.data(f.title)||u.title},content:function(t){return h.removeData(f.content),h.data(f.content)||u.content||t},variation:function(){return h.removeData(f.variation),h.data(f.variation)||u.variation},popup:function(){return p},popupOffset:function(){return p.offset()},calculations:function(){var t=T.get.offsetParent(p),e=m[0],o=v[0]===W,n=m.offset(),i=u.inline||u.popup&&u.movePopup?m.offsetParent().offset():{top:0,left:0},r=o?{top:0,left:0}:v.offset(),a={},o=o?{top:S.scrollTop(),left:S.scrollLeft()}:{top:0,left:0},a={target:{element:m[0],width:m.outerWidth(),height:m.outerHeight(),top:n.top-i.top,left:n.left-i.left,margin:{}},popup:{width:p.outerWidth(),height:p.outerHeight()},parent:{width:s.outerWidth(),height:s.outerHeight()},screen:{top:r.top,left:r.left,scroll:{top:o.top,left:o.left},width:v.width(),height:v.height()}};return t[0]!==s[0]&&(n=t.offset(),a.target.top-=n.top,a.target.left-=n.left,a.parent.width=t.outerWidth(),a.parent.height=t.outerHeight()),u.setFluidWidth&&T.is.fluid()&&(a.container={width:p.parent().outerWidth()},a.popup.width=a.container.width),a.target.margin.top=u.inline?parseInt(W.getComputedStyle(e).getPropertyValue("margin-top"),10):0,a.target.margin.left=u.inline?T.is.rtl()?parseInt(W.getComputedStyle(e).getPropertyValue("margin-right"),10):parseInt(W.getComputedStyle(e).getPropertyValue("margin-left"),10):0,i=a.screen,a.boundary={top:i.top+i.scroll.top,bottom:i.top+i.scroll.top+i.height,left:i.left+i.scroll.left,right:i.left+i.scroll.left+i.width},a},id:function(){return o},startEvent:function(){return"hover"===u.on?"mouseenter":"focus"===u.on&&"focus"},scrollEvent:function(){return"scroll"},endEvent:function(){return"hover"===u.on?"mouseleave":"focus"===u.on&&"blur"},distanceFromBoundary:function(t,e){var o={},n=(e=e||T.get.calculations()).popup,e=e.boundary;return t&&(o={top:t.top-e.top,left:t.left-e.left,right:e.right-(t.left+n.width),bottom:e.bottom-(t.top+n.height)},T.verbose("Distance from boundaries determined",t,o)),o},offsetParent:function(t){var e=(void 0!==t?t:m)[0].parentNode,o=V(e);if(e)for(var n="none"===o.css("transform"),i="static"===o.css("position"),r=o.is("body");e&&!r&&i&&n;)e=e.parentNode,n="none"===(o=V(e)).css("transform"),i="static"===o.css("position"),r=o.is("body");return o&&0<o.length?o:V()},positions:function(){return{"top left":!1,"top center":!1,"top right":!1,"bottom left":!1,"bottom center":!1,"bottom right":!1,"left center":!1,"right center":!1}},nextPosition:function(t){var e=t.split(" "),o=e[0],e=e[1],n="top"===o||"bottom"===o,i=!1,r=!1,a=!1;return w||(T.verbose("All available positions available"),w=T.get.positions()),T.debug("Recording last position tried",t),w[t]=!0,"opposite"===u.prefer&&(a=(a=[{top:"bottom",bottom:"top",left:"right",right:"left"}[o],e]).join(" "),i=!0===w[a],T.debug("Trying opposite strategy",a)),"adjacent"===u.prefer&&n&&(a=(a=[o,{left:"center",center:"right",right:"left"}[e]]).join(" "),r=!0===w[a],T.debug("Trying adjacent strategy",a)),(r||i)&&(T.debug("Using backup position",a),a={"top left":"top center","top center":"top right","top right":"right center","right center":"bottom right","bottom right":"bottom center","bottom center":"bottom left","bottom left":"left center","left center":"top left"}[t]),a}},set:{position:function(t,e){if(0!==m.length&&0!==p.length){var o,n,i,r,a,s,l;if(e=e||T.get.calculations(),t=t||h.data(f.position)||u.position,o=h.data(f.offset)||u.offset,n=u.distanceAway,i=e.target,r=e.popup,a=e.parent,T.should.centerArrow(e)&&(T.verbose("Adjusting offset to center arrow on small target element"),"top left"!==t&&"bottom left"!==t||(o=(o+=i.width/2)-u.arrowPixelsFromEdge),"top right"!==t&&"bottom right"!==t||(o=(o-=i.width/2)+u.arrowPixelsFromEdge)),0===i.width&&0===i.height&&!T.is.svg(i.element))return T.debug("Popup target is hidden, no action taken"),!1;switch(u.inline&&(T.debug("Adding margin to calculation",i.margin),"left center"===t||"right center"===t?(o+=i.margin.top,n+=-i.margin.left):"top left"===t||"top center"===t||"top right"===t?(o+=i.margin.left,n-=i.margin.top):(o+=i.margin.left,n+=i.margin.top)),T.debug("Determining popup position from calculations",t,e),T.is.rtl()&&(t=t.replace(/left|right/g,function(t){return"left"===t?"right":"left"}),T.debug("RTL: Popup position updated",t)),t=b===u.maxSearchDepth&&"string"==typeof u.lastResort?u.lastResort:t){case"top left":s={top:"auto",bottom:a.height-i.top+n,left:i.left+o,right:"auto"};break;case"top center":s={bottom:a.height-i.top+n,left:i.left+i.width/2-r.width/2+o,top:"auto",right:"auto"};break;case"top right":s={bottom:a.height-i.top+n,right:a.width-i.left-i.width-o,top:"auto",left:"auto"};break;case"left center":s={top:i.top+i.height/2-r.height/2+o,right:a.width-i.left+n,left:"auto",bottom:"auto"};break;case"right center":s={top:i.top+i.height/2-r.height/2+o,left:i.left+i.width+n,bottom:"auto",right:"auto"};break;case"bottom left":s={top:i.top+i.height+n,left:i.left+o,bottom:"auto",right:"auto"};break;case"bottom center":s={top:i.top+i.height+n,left:i.left+i.width/2-r.width/2+o,bottom:"auto",right:"auto"};break;case"bottom right":s={top:i.top+i.height+n,right:a.width-i.left-i.width-o,left:"auto",bottom:"auto"}}if(void 0===s&&T.error(d.invalidPosition,t),T.debug("Calculated popup positioning values",s),p.css(s).removeClass(c.position).addClass(t),T.set.invisible(),l=T.get.popupOffset(),l=T.get.distanceFromBoundary(l,e),!u.forcePosition&&T.is.offstage(l,t)){if(T.debug("Position is outside viewport",t),b<u.maxSearchDepth)return b++,t=T.get.nextPosition(t),T.debug("Trying new position",t),!!p&&T.set.position(t,e);if(!u.lastResort)return T.debug("Popup could not find a position to display",p),T.error(d.cannotPlace,P),T.remove.attempts(),T.remove.invisible(),T.reset(),u.onUnplaceable.call(p,P),!1;T.debug("No position found, showing with last position")}return T.debug("Position is on stage",t),T.remove.attempts(),T.remove.invisible(),u.setFluidWidth&&T.is.fluid()&&T.set.fluidWidth(e),!0}T.error(d.notFound)},fluidWidth:function(t){t=t||T.get.calculations(),T.debug("Automatically setting element width to parent width",t.parent.width),p.css("width",t.container.width)},loading:function(){p.addClass(c.loading)},invisible:function(){p.addClass(c.invisible)},variation:function(t){(t=t||T.get.variation())&&T.has.popup()&&(T.verbose("Adding variation to popup",t),p.addClass(t))},visible:function(){h.addClass(c.visible)}},remove:{loading:function(){p.removeClass(c.loading)},invisible:function(){p.removeClass(c.invisible)},variation:function(t){(t=t||T.get.variation())&&(T.verbose("Removing variation",t),p.removeClass(t))},visible:function(){h.removeClass(c.visible)},attempts:function(){T.verbose("Resetting all searched positions"),b=0,w=!1}},bind:{events:function(){T.debug("Binding popup events to module"),"click"===u.on&&h.on(D+r,T.toggle),"hover"===u.on&&h.on("touchstart"+r,T.event.touchstart),T.get.startEvent()&&h.on(T.get.startEvent()+r,T.event.start).on(T.get.endEvent()+r,T.event.end),u.target&&T.debug("Target set to element",m),S.on("resize"+e,T.event.resize)},popup:function(){T.verbose("Allowing hover events on popup to prevent closing"),p&&T.has.popup()&&p.on("mouseenter"+r,T.event.start).on("mouseleave"+r,T.event.end)},close:function(){(!0===u.hideOnScroll||"auto"===u.hideOnScroll&&"click"!==u.on)&&T.bind.closeOnScroll(),T.is.closable()?T.bind.clickaway():"hover"===u.on&&y&&T.bind.touchClose()},closeOnScroll:function(){T.verbose("Binding scroll close event to document"),g.one(T.get.scrollEvent()+e,T.event.hideGracefully)},touchClose:function(){T.verbose("Binding popup touchclose event to document"),k.on("touchstart"+e,function(t){T.verbose("Touched away from popup"),T.event.hideGracefully.call(P,t)})},clickaway:function(){T.verbose("Binding popup close event to document"),k.on(D+e,function(t){T.verbose("Clicked away from popup"),T.event.hideGracefully.call(P,t)})}},unbind:{events:function(){S.off(e),h.off(r)},close:function(){k.off(e),g.off(e)}},can:{useElement:function(t){return void 0!==V.fn[t]||(T.error(d.noElement.replace("{element}",t)),!1)}},has:{popup:function(){return p&&0<p.length}},should:{centerArrow:function(t){return!T.is.basic()&&t.target.width<=2*u.arrowPixelsFromEdge}},is:{closable:function(){return"auto"===u.closable?"hover"!==u.on:u.closable},offstage:function(t,o){var n=[];return V.each(t,function(t,e){e<-u.jitter&&(T.debug("Position exceeds allowable distance from edge",t,e,o),n.push(t))}),0<n.length},svg:function(t){return T.supports.svg()&&t instanceof SVGGraphicsElement},basic:function(){return h.hasClass(c.basic)},active:function(){return h.hasClass(c.active)},animating:function(){return void 0!==p&&p.hasClass(c.animating)},fluid:function(){return void 0!==p&&p.hasClass(c.fluid)},visible:function(){return void 0!==p&&p.hasClass(c.popupVisible)},dropdown:function(){return h.hasClass(c.dropdown)},hidden:function(){return!T.is.visible()},rtl:function(){return"rtl"===h.attr("dir")||"rtl"===h.css("direction")||"rtl"===A.attr("dir")||"rtl"===A.css("direction")||"rtl"===l.attr("dir")||"rtl"===l.css("direction")}},reset:function(){T.remove.visible(),u.preserve?void 0!==V.fn.transition&&p.transition("remove transition"):T.removePopup()},setting:function(t,e){if(V.isPlainObject(t))V.extend(!0,u,t);else{if(void 0===e)return u[t];u[t]=e}},internal:function(t,e){if(V.isPlainObject(t))V.extend(!0,T,t);else{if(void 0===e)return T[t];T[t]=e}},debug:function(){!u.silent&&u.debug&&(u.performance?T.performance.log(arguments):(T.debug=Function.prototype.bind.call(console.info,console,u.name+":"),T.debug.apply(console,arguments)))},verbose:function(){!u.silent&&u.verbose&&u.debug&&(u.performance?T.performance.log(arguments):(T.verbose=Function.prototype.bind.call(console.info,console,u.name+":"),T.verbose.apply(console,arguments)))},error:function(){u.silent||(T.error=Function.prototype.bind.call(console.error,console,u.name+":"),T.error.apply(console,arguments))},performance:{log:function(t){var e,o;u.performance&&(o=(e=Date.now())-(O||e),O=e,j.push({Name:t[0],Arguments:[].slice.call(t,1)||"",Element:P,"Execution Time":o})),clearTimeout(T.performance.timer),T.performance.timer=setTimeout(function(){T.performance.display()},500)},display:function(){var t=u.name+":",o=0;O=!1,clearTimeout(T.performance.timer),V.each(j,function(t,e){o+=e["Execution Time"]}),t+=" "+o+"ms",0<j.length&&(console.groupCollapsed(t),console.table?console.table(j):V.each(j,function(t,e){console.log(e.Name+": "+e["Execution Time"]+"ms")}),console.groupEnd()),j=[]}},invoke:function(n,t,e){var i,r,o,a=C;return t=t||H,e=e||P,"string"==typeof n&&void 0!==a&&(n=n.split(/[ .]/),i=n.length-1,V.each(n,function(t,e){var o=t!==i?e+n[t+1].charAt(0).toUpperCase()+n[t+1].slice(1):n;if(V.isPlainObject(a[o])&&t!==i)a=a[o];else{if(void 0!==a[o])return r=a[o],!1;{if(!V.isPlainObject(a[e])||t===i)return void 0!==a[e]?r=a[e]:T.error(d.method,n),!1;a=a[e]}}})),z(r)?o=r.apply(e,t):void 0!==r&&(o=r),Array.isArray(E)?E.push(o):void 0!==E?E=[E,o]:void 0!==o&&(E=o),r}};R?(void 0===C&&T.initialize(),T.invoke(F)):(void 0!==C&&C.invoke("destroy"),T.initialize())}),void 0!==E?E:this},V.fn.popup.settings={name:"Popup",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"popup",observeChanges:!0,onCreate:function(){},onRemove:function(){},onShow:function(){},onVisible:function(){},onHide:function(){},onUnplaceable:function(){},onHidden:function(){},on:"hover",boundary:W,addTouchEvents:!0,position:"top left",forcePosition:!1,variation:"",movePopup:!0,target:!1,popup:!1,inline:!1,preserve:!1,hoverable:!1,content:!1,html:!1,title:!1,closable:!0,hideOnScroll:"auto",exclusive:!1,context:"body",scrollContext:W,prefer:"opposite",lastResort:!1,arrowPixelsFromEdge:20,delay:{show:50,hide:70},setFluidWidth:!0,duration:200,transition:"scale",distanceAway:0,jitter:2,offset:0,maxSearchDepth:15,error:{invalidPosition:"The position you specified is not a valid position",cannotPlace:"Popup does not fit within the boundaries of the viewport",method:"The method you called is not defined.",noElement:"This module requires ui {element}",notFound:"The target or popup you specified does not exist on the page"},metadata:{activator:"activator",content:"content",html:"html",offset:"offset",position:"position",title:"title",variation:"variation"},className:{active:"active",basic:"basic",animating:"animating",dropdown:"dropdown",invisible:"invisible",fluid:"fluid",loading:"loading",popup:"ui popup",position:"top left center bottom right",visible:"visible",popupVisible:"visible"},selector:{popup:".ui.popup"},templates:{escape:function(t){var e={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/["&'<>`]/.test(t)?(t=t.replace(/&(?![\d#a-z]{1,12};)/gi,"&amp;")).replace(/["'<>`]/g,function(t){return e[t]}):t},popup:function(t){var e="",o=V.fn.popup.settings.templates.escape;return void 0!==t&&(t.title&&(t.title=o(t.title),e+='<div class="header">'+t.title+"</div>"),t.content&&(t.content=o(t.content),e+='<div class="content">'+t.content+"</div>")),e}}}}(jQuery,window,document);