fomantic-ui 2.10.0-beta.4 → 2.10.0-beta.41

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 (246) hide show
  1. package/.eslintrc.js +0 -10
  2. package/CHANGELOG.md +5289 -2325
  3. package/README.md +4 -5
  4. package/changelog-setup.js +85 -69
  5. package/changelog-template.hbs +256 -251
  6. package/dist/components/accordion.css +1 -1
  7. package/dist/components/accordion.js +103 -142
  8. package/dist/components/accordion.min.css +1 -1
  9. package/dist/components/accordion.min.js +2 -2
  10. package/dist/components/ad.css +1 -1
  11. package/dist/components/ad.min.css +1 -1
  12. package/dist/components/api.js +152 -205
  13. package/dist/components/api.min.js +2 -2
  14. package/dist/components/breadcrumb.css +1 -1
  15. package/dist/components/breadcrumb.min.css +1 -1
  16. package/dist/components/button.css +1 -2
  17. package/dist/components/button.min.css +2 -2
  18. package/dist/components/calendar.css +1 -1
  19. package/dist/components/calendar.js +308 -346
  20. package/dist/components/calendar.min.css +1 -1
  21. package/dist/components/calendar.min.js +2 -2
  22. package/dist/components/card.css +1 -1
  23. package/dist/components/card.min.css +1 -1
  24. package/dist/components/checkbox.css +1 -1
  25. package/dist/components/checkbox.js +85 -127
  26. package/dist/components/checkbox.min.css +1 -1
  27. package/dist/components/checkbox.min.js +2 -2
  28. package/dist/components/comment.css +1 -1
  29. package/dist/components/comment.min.css +1 -1
  30. package/dist/components/container.css +1 -1
  31. package/dist/components/container.min.css +1 -1
  32. package/dist/components/dimmer.css +1 -1
  33. package/dist/components/dimmer.js +58 -91
  34. package/dist/components/dimmer.min.css +1 -1
  35. package/dist/components/dimmer.min.js +2 -2
  36. package/dist/components/divider.css +1 -1
  37. package/dist/components/divider.min.css +1 -1
  38. package/dist/components/dropdown.css +7 -5
  39. package/dist/components/dropdown.js +744 -1071
  40. package/dist/components/dropdown.min.css +2 -2
  41. package/dist/components/dropdown.min.js +2 -2
  42. package/dist/components/embed.css +1 -1
  43. package/dist/components/embed.js +83 -113
  44. package/dist/components/embed.min.css +1 -1
  45. package/dist/components/embed.min.js +2 -2
  46. package/dist/components/emoji.css +3809 -7617
  47. package/dist/components/emoji.min.css +2 -2
  48. package/dist/components/feed.css +1 -1
  49. package/dist/components/feed.min.css +1 -1
  50. package/dist/components/flag.css +1 -1
  51. package/dist/components/flag.min.css +1 -1
  52. package/dist/components/flyout.css +1 -1
  53. package/dist/components/flyout.js +225 -314
  54. package/dist/components/flyout.min.css +1 -1
  55. package/dist/components/flyout.min.js +2 -2
  56. package/dist/components/form.css +1 -1
  57. package/dist/components/form.js +325 -429
  58. package/dist/components/form.min.css +1 -1
  59. package/dist/components/form.min.js +2 -2
  60. package/dist/components/grid.css +1 -1
  61. package/dist/components/grid.min.css +1 -1
  62. package/dist/components/header.css +1 -1
  63. package/dist/components/header.min.css +1 -1
  64. package/dist/components/icon.css +1 -1
  65. package/dist/components/icon.min.css +1 -1
  66. package/dist/components/image.css +1 -1
  67. package/dist/components/image.min.css +1 -1
  68. package/dist/components/input.css +1 -1
  69. package/dist/components/input.min.css +1 -1
  70. package/dist/components/item.css +1 -1
  71. package/dist/components/item.min.css +1 -1
  72. package/dist/components/label.css +2 -1
  73. package/dist/components/label.min.css +2 -2
  74. package/dist/components/list.css +1 -1
  75. package/dist/components/list.min.css +1 -1
  76. package/dist/components/loader.css +1 -1
  77. package/dist/components/loader.min.css +1 -1
  78. package/dist/components/menu.css +40 -40
  79. package/dist/components/menu.min.css +2 -2
  80. package/dist/components/message.css +1 -1
  81. package/dist/components/message.min.css +1 -1
  82. package/dist/components/modal.css +3 -3
  83. package/dist/components/modal.js +259 -358
  84. package/dist/components/modal.min.css +2 -2
  85. package/dist/components/modal.min.js +2 -2
  86. package/dist/components/nag.css +1 -1
  87. package/dist/components/nag.js +67 -97
  88. package/dist/components/nag.min.css +1 -1
  89. package/dist/components/nag.min.js +2 -2
  90. package/dist/components/placeholder.css +1 -1
  91. package/dist/components/placeholder.min.css +1 -1
  92. package/dist/components/popup.css +1 -1
  93. package/dist/components/popup.js +190 -264
  94. package/dist/components/popup.min.css +1 -1
  95. package/dist/components/popup.min.js +2 -2
  96. package/dist/components/progress.css +1 -1
  97. package/dist/components/progress.js +103 -138
  98. package/dist/components/progress.min.css +1 -1
  99. package/dist/components/progress.min.js +2 -2
  100. package/dist/components/rail.css +1 -1
  101. package/dist/components/rail.min.css +1 -1
  102. package/dist/components/rating.css +1 -1
  103. package/dist/components/rating.js +90 -123
  104. package/dist/components/rating.min.css +1 -1
  105. package/dist/components/rating.min.js +2 -2
  106. package/dist/components/reset.css +1 -1
  107. package/dist/components/reset.min.css +1 -1
  108. package/dist/components/reveal.css +1 -1
  109. package/dist/components/reveal.min.css +1 -1
  110. package/dist/components/search.css +1 -1
  111. package/dist/components/search.js +270 -373
  112. package/dist/components/search.min.css +1 -1
  113. package/dist/components/search.min.js +2 -2
  114. package/dist/components/segment.css +1 -1
  115. package/dist/components/segment.min.css +1 -1
  116. package/dist/components/shape.css +1 -1
  117. package/dist/components/shape.js +157 -223
  118. package/dist/components/shape.min.css +1 -1
  119. package/dist/components/shape.min.js +2 -2
  120. package/dist/components/sidebar.css +1 -1
  121. package/dist/components/sidebar.js +125 -165
  122. package/dist/components/sidebar.min.css +1 -1
  123. package/dist/components/sidebar.min.js +2 -2
  124. package/dist/components/site.css +1 -1
  125. package/dist/components/site.js +38 -57
  126. package/dist/components/site.min.css +1 -1
  127. package/dist/components/site.min.js +2 -2
  128. package/dist/components/slider.css +1 -1
  129. package/dist/components/slider.js +242 -325
  130. package/dist/components/slider.min.css +1 -1
  131. package/dist/components/slider.min.js +2 -2
  132. package/dist/components/state.js +68 -98
  133. package/dist/components/state.min.js +2 -2
  134. package/dist/components/statistic.css +1 -1
  135. package/dist/components/statistic.min.css +1 -1
  136. package/dist/components/step.css +1 -1
  137. package/dist/components/step.min.css +1 -1
  138. package/dist/components/sticky.css +1 -1
  139. package/dist/components/sticky.js +131 -176
  140. package/dist/components/sticky.min.css +1 -1
  141. package/dist/components/sticky.min.js +2 -2
  142. package/dist/components/tab.css +1 -1
  143. package/dist/components/tab.js +168 -233
  144. package/dist/components/tab.min.css +1 -1
  145. package/dist/components/tab.min.js +2 -2
  146. package/dist/components/table.css +8 -8
  147. package/dist/components/table.min.css +2 -2
  148. package/dist/components/text.css +1 -1
  149. package/dist/components/text.min.css +1 -1
  150. package/dist/components/toast.css +1 -1
  151. package/dist/components/toast.js +104 -143
  152. package/dist/components/toast.min.css +1 -1
  153. package/dist/components/toast.min.js +2 -2
  154. package/dist/components/transition.css +1 -1
  155. package/dist/components/transition.js +86 -141
  156. package/dist/components/transition.min.css +1 -1
  157. package/dist/components/transition.min.js +2 -2
  158. package/dist/components/visibility.js +145 -223
  159. package/dist/components/visibility.min.js +2 -2
  160. package/dist/semantic.css +3916 -7722
  161. package/dist/semantic.js +4324 -5973
  162. package/dist/semantic.min.css +2 -2
  163. package/dist/semantic.min.js +2 -2
  164. package/examples/assets/show-examples.js +2 -4
  165. package/examples/attached.html +1 -1
  166. package/examples/components/menu.html +1 -1
  167. package/gulpfile.js +5 -7
  168. package/package.json +1 -3
  169. package/scripts/nightly-version.js +7 -10
  170. package/src/definitions/behaviors/api.js +151 -204
  171. package/src/definitions/behaviors/form.js +324 -428
  172. package/src/definitions/behaviors/state.js +67 -97
  173. package/src/definitions/behaviors/visibility.js +144 -222
  174. package/src/definitions/collections/menu.less +101 -96
  175. package/src/definitions/collections/table.less +7 -7
  176. package/src/definitions/elements/button.less +0 -1
  177. package/src/definitions/elements/label.less +1 -0
  178. package/src/definitions/globals/site.js +37 -56
  179. package/src/definitions/modules/accordion.js +102 -141
  180. package/src/definitions/modules/calendar.js +307 -345
  181. package/src/definitions/modules/checkbox.js +84 -126
  182. package/src/definitions/modules/dimmer.js +57 -90
  183. package/src/definitions/modules/dropdown.js +743 -1070
  184. package/src/definitions/modules/dropdown.less +11 -5
  185. package/src/definitions/modules/embed.js +82 -112
  186. package/src/definitions/modules/flyout.js +224 -313
  187. package/src/definitions/modules/modal.js +258 -357
  188. package/src/definitions/modules/modal.less +1 -1
  189. package/src/definitions/modules/nag.js +66 -96
  190. package/src/definitions/modules/popup.js +189 -263
  191. package/src/definitions/modules/progress.js +102 -137
  192. package/src/definitions/modules/rating.js +89 -122
  193. package/src/definitions/modules/search.js +269 -372
  194. package/src/definitions/modules/shape.js +156 -222
  195. package/src/definitions/modules/sidebar.js +124 -164
  196. package/src/definitions/modules/slider.js +241 -324
  197. package/src/definitions/modules/sticky.js +130 -175
  198. package/src/definitions/modules/tab.js +167 -232
  199. package/src/definitions/modules/toast.js +103 -142
  200. package/src/definitions/modules/transition.js +85 -140
  201. package/src/themes/chubby/collections/menu.variables +1 -1
  202. package/src/themes/default/collections/menu.variables +23 -23
  203. package/src/themes/default/globals/variation.variables +3 -2
  204. package/src/themes/default/modules/dropdown.variables +1 -0
  205. package/src/themes/default/modules/modal.variables +1 -1
  206. package/tasks/admin/components/create.js +88 -108
  207. package/tasks/admin/components/init.js +26 -32
  208. package/tasks/admin/components/update.js +46 -53
  209. package/tasks/admin/distributions/create.js +71 -101
  210. package/tasks/admin/distributions/init.js +27 -33
  211. package/tasks/admin/distributions/update.js +45 -52
  212. package/tasks/admin/register.js +11 -15
  213. package/tasks/build/assets.js +14 -18
  214. package/tasks/build/css.js +54 -63
  215. package/tasks/build/javascript.js +45 -53
  216. package/tasks/build.js +4 -6
  217. package/tasks/check-install.js +5 -7
  218. package/tasks/clean.js +2 -4
  219. package/tasks/collections/admin.js +13 -15
  220. package/tasks/collections/build.js +6 -8
  221. package/tasks/collections/docs.js +2 -4
  222. package/tasks/collections/install.js +2 -4
  223. package/tasks/collections/rtl.js +2 -4
  224. package/tasks/collections/various.js +2 -4
  225. package/tasks/config/admin/github.js +7 -9
  226. package/tasks/config/admin/templates/css-package.js +1 -3
  227. package/tasks/config/admin/templates/less-package.js +1 -3
  228. package/tasks/config/defaults.js +0 -1
  229. package/tasks/config/npm/gulpfile.js +4 -6
  230. package/tasks/config/project/config.js +22 -30
  231. package/tasks/config/project/install.js +61 -78
  232. package/tasks/config/project/release.js +6 -8
  233. package/tasks/config/tasks.js +8 -12
  234. package/tasks/config/user.js +13 -17
  235. package/tasks/docs/build.js +26 -31
  236. package/tasks/docs/metadata.js +24 -30
  237. package/tasks/docs/serve.js +20 -26
  238. package/tasks/install.js +81 -109
  239. package/tasks/rtl/build.js +2 -4
  240. package/tasks/rtl/watch.js +2 -4
  241. package/tasks/watch.js +9 -11
  242. package/test/meteor/fonts.js +1 -2
  243. package/test/modules/module.spec.js +16 -18
  244. package/types/fomantic-ui-dropdown.d.ts +44 -0
  245. package/types/fomantic-ui-embed.d.ts +1 -1
  246. package/types/fomantic-ui-search.d.ts +6 -6
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.4+fcf090f - Modal
2
+ * # Fomantic-UI 2.10.0-beta.41+1ceee9c - Modal
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
6
6
  * Released under the MIT license
7
7
  * https://opensource.org/licenses/MIT
8
8
  *
9
- */.ui.modal{position:absolute;display:none;z-index:1001;text-align:left;background:#fff;border:none;box-shadow:1px 3px 3px 0 rgba(0,0,0,.2),1px 3px 15px 2px rgba(0,0,0,.2);transform-origin:50% 25%;flex:0 0 auto;border-radius:.28571429rem;-webkit-user-select:text;user-select:text;will-change:top,left,margin,transform,opacity;outline:0}.ui.modal>.dimmer:first-child+:not(.close),.ui.modal>.dimmer:first-child+i.icon+*,.ui.modal>:first-child:not(.close):not(.dimmer),.ui.modal>i.icon:first-child+*{border-top-left-radius:.28571429rem;border-top-right-radius:.28571429rem}.ui.modal>:last-child{border-bottom-left-radius:.28571429rem;border-bottom-right-radius:.28571429rem}.ui.modal>.ui.dimmer{border-radius:inherit}.ui.modal>.close{cursor:pointer;position:absolute;top:-2.5rem;right:-2.5rem;z-index:1;opacity:.8;font-size:1.25em;color:#fff;width:2.25rem;height:2.25rem;padding:.625rem 0 0 0}.ui.modal>.close:focus,.ui.modal>.close:hover{opacity:1;outline:0}.ui.modal>.header{display:block;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";background:#fff;margin:0;padding:1.25rem 1.5rem;box-shadow:none;color:rgba(0,0,0,.85);border-bottom:1px solid rgba(34,36,38,.15)}.ui.modal>.header:not(.ui){font-size:1.42857143rem;line-height:1.28571429em;font-weight:700}.ui.modal>.content{display:block;width:100%;font-size:1em;line-height:1.4;padding:1.5rem;background:#fff}.ui.modal>.image.content{display:flex;flex-direction:row}.ui.modal>.content>.image{display:block;flex:0 1 auto;width:"";align-self:start;max-width:100%}.ui.modal>[class*="top aligned"]{align-self:start}.ui.modal>[class*="middle aligned"]{align-self:center}.ui.modal>[class*=stretched]{align-self:stretch}.ui.modal>.content>.description{display:block;flex:1 0 auto;min-width:0;align-self:start}.ui.modal>.content>.image+.description,.ui.modal>.content>i.icon+.description{flex:0 1 auto;min-width:"";width:auto;padding-left:2em}.ui.modal>.content>.image>i.icon{margin:0;opacity:1;width:auto;line-height:1;font-size:8rem}.ui.modal>.actions{background:#f9fafb;padding:1rem;border-top:1px solid rgba(34,36,38,.15);text-align:right}.ui.modal .actions>.button:not(.fluid){margin-left:.75em}.ui.basic.modal>.actions,.ui.ui.modal>.basic.actions{border-top:none}.ui.modal>.left.actions{text-align:left}.ui.modal>.left.actions>.button:not(.fluid){margin-left:.5em;margin-right:.5em}.ui.modal>.center.aligned,.ui.modal>.centered{text-align:center}.ui.modal>.center.aligned.actions>.button:not(.fluid),.ui.modal>.centered.actions>.button:not(.fluid){margin-left:.5em;margin-right:.5em}@media only screen and (max-width:767.98px){.ui.modal:not(.fullscreen){width:95%;margin:0}}@media only screen and (min-width:768px){.ui.modal:not(.fullscreen){width:88%;margin:0}}@media only screen and (min-width:992px){.ui.modal:not(.fullscreen){width:850px;margin:0}.ui.modal:not(.fullscreen)>.active.dimmer+.close:not(.inside){pointer-events:none;opacity:.1}.ui.dimmer>.ui.modal:not(.fullscreen)>.close:not(.inside){text-shadow:-1px -1px 2px rgba(0,0,0,.3),1px -1px 2px rgba(0,0,0,.3),-1px 2px 2px rgba(0,0,0,.3),1px 2px 2px rgba(0,0,0,.3)}.ui.inverted.dimmer>.ui.modal:not(.fullscreen)>.close:not(.inside){text-shadow:-1px -1px 2px rgba(255,255,255,.3),1px -1px 2px rgba(255,255,255,.3),-1px 2px 2px rgba(255,255,255,.3),1px 2px 2px rgba(255,255,255,.3)}}@media only screen and (min-width:1200px){.ui.modal:not(.fullscreen){width:900px;margin:0}}@media only screen and (min-width:1920px){.ui.modal:not(.fullscreen){width:950px;margin:0}}@media only screen and (max-width:991.98px){.ui.modal>.close+.header{padding-right:2.25rem}.ui.modal>.close{top:1.0535rem;right:1rem;color:rgba(0,0,0,.87)}}@media only screen and (max-width:767.98px){.ui.modal>.header{padding:.75rem 1rem}.ui.modal>.close+.header{padding-right:2.25rem}.ui.overlay.fullscreen.modal>.content.content.content{min-height:calc(100vh - 8.1rem)}.ui.overlay.fullscreen.modal>.scrolling.content.content.content{max-height:calc(100vh - 8.1rem)}.ui.modal>.content{display:block;padding:1rem!important}.ui.modal>.close{top:.5rem!important;right:.5rem!important}.ui.modal .image.content{flex-direction:column}.ui.modal>.content>.image{display:block;max-width:100%;margin:0 auto!important;text-align:center;padding:0 0 1rem!important}.ui.modal>.content>.image>i.icon{font-size:5rem;text-align:center}.ui.modal>.content>.description{display:block;width:100%!important;margin:0!important;padding:1rem 0!important;box-shadow:none}.ui.modal>.actions{padding:1rem 1rem 0!important}.ui.modal .actions>.button,.ui.modal .actions>.buttons{margin-bottom:1rem}}.ui.inverted.dimmer>.ui.modal{box-shadow:1px 3px 10px 2px rgba(0,0,0,.2)}.ui.basic.modal{background-color:transparent;border:none;border-radius:0;box-shadow:none!important;color:#fff}.ui.basic.modal>.actions,.ui.basic.modal>.content,.ui.basic.modal>.header,.ui.ui.modal>.basic.actions,.ui.ui.modal>.basic.header{background-color:transparent}.ui.modal>.basic.header{border-bottom:none}.ui.basic.modal>.header{color:#fff;border-bottom:none}.ui.basic.modal>.close{top:1rem;right:1.5rem;color:#fff}.ui.inverted.dimmer>.basic.modal{color:rgba(0,0,0,.87)}.ui.inverted.dimmer>.ui.basic.modal>.header{color:rgba(0,0,0,.85)}.ui.legacy.legacy.modal,.ui.legacy.legacy.page.dimmer>.ui.modal{left:50%!important}.ui.legacy.legacy.modal:not(.aligned),.ui.legacy.legacy.page.dimmer>.ui.modal:not(.aligned){top:50%}.ui.legacy.legacy.page.dimmer>.ui.scrolling.modal:not(.aligned),.ui.page.dimmer>.ui.scrolling.legacy.legacy.modal:not(.aligned),.ui.top.aligned.dimmer>.ui.legacy.legacy.modal:not(.aligned),.ui.top.aligned.legacy.legacy.page.dimmer>.ui.modal:not(.aligned){top:auto}.ui.legacy.overlay.fullscreen.modal{margin-top:-2rem!important}.ui.loading.modal{display:block;visibility:hidden;z-index:-1}.ui.active.modal{display:block}.modals.dimmer .ui.top.aligned.modal{top:5vh}.modals.dimmer .ui.bottom.aligned.modal{bottom:5vh}@media only screen and (max-width:767.98px){.modals.dimmer .ui.top.aligned.modal{top:1rem}.modals.dimmer .ui.bottom.aligned.modal{bottom:1rem}}.scrolling.dimmable.dimmed{overflow:hidden}.scrolling.dimmable>.dimmer{justify-content:center;position:fixed}.scrolling.dimmable:not(body)>.dimmer{position:absolute}.scrolling.dimmable.dimmed>.dimmer{overflow:auto;overscroll-behavior:none}.modals.dimmer .ui.scrolling.modal.fullscreen{top:0}.modals.dimmer .ui.scrolling.modal:not(.fullscreen){margin:2rem auto;top:1em}.modals.dimmer .ui.scrolling.modal:not([class*="overlay fullscreen"])::after{content:"\00A0";position:absolute;height:2rem}.scrolling.undetached.dimmable.dimmed{overflow:auto;overscroll-behavior:none}.scrolling.undetached.dimmable.dimmed>.dimmer{overflow:hidden}.scrolling.undetached.dimmable .ui.scrolling.modal:not(.fullscreen){position:absolute;left:50%}.ui.modal>.scrolling.content{max-height:calc(80vh - 10rem);overflow:auto;overscroll-behavior:none}.ui.modal>.resizable.scrolling.content{resize:vertical;max-height:none}.ui.overlay.fullscreen.modal>.content{min-height:calc(100vh - 9.1rem)}.ui.overlay.fullscreen.modal>.scrolling.content{max-height:calc(100vh - 9.1rem)}.ui.fullscreen.modal{width:95%;left:2.5%;margin:1em auto}.ui.overlay.fullscreen.modal{width:100%;left:0;margin:0 auto;top:0;border-radius:0}.ui.fullscreen.modal>.close+.header:not(.centered):not(.center):not(.icon),.ui.modal>.close.inside+.header:not(.centered):not(.center):not(.icon){padding-right:2.25rem}.ui.fullscreen.modal>.close,.ui.modal>.close.inside{top:1.0535rem;right:1rem;color:rgba(0,0,0,.87)}.ui.basic.fullscreen.modal>.close{color:#fff}.ui.modal{font-size:1rem}.ui.mini.modal>.header:not(.ui){font-size:1.3em}@media only screen and (max-width:767.98px){.ui.mini.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.mini.modal{width:35.2%;margin:0}}@media only screen and (min-width:992px){.ui.mini.modal{width:340px;margin:0}}@media only screen and (min-width:1200px){.ui.mini.modal{width:360px;margin:0}}@media only screen and (min-width:1920px){.ui.mini.modal{width:380px;margin:0}}.ui.tiny.modal>.header:not(.ui){font-size:1.3em}@media only screen and (max-width:767.98px){.ui.tiny.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.tiny.modal{width:52.8%;margin:0}}@media only screen and (min-width:992px){.ui.tiny.modal{width:510px;margin:0}}@media only screen and (min-width:1200px){.ui.tiny.modal{width:540px;margin:0}}@media only screen and (min-width:1920px){.ui.tiny.modal{width:570px;margin:0}}.ui.small.modal>.header:not(.ui){font-size:1.3em}@media only screen and (max-width:767.98px){.ui.small.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.small.modal{width:70.4%;margin:0}}@media only screen and (min-width:992px){.ui.small.modal{width:680px;margin:0}}@media only screen and (min-width:1200px){.ui.small.modal{width:720px;margin:0}}@media only screen and (min-width:1920px){.ui.small.modal{width:760px;margin:0}}.ui.large.modal>.header:not(.ui){font-size:1.6em}@media only screen and (max-width:767.98px){.ui.large.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.large.modal{width:88%;margin:0}}@media only screen and (min-width:992px){.ui.large.modal{width:1020px;margin:0}}@media only screen and (min-width:1200px){.ui.large.modal{width:1080px;margin:0}}@media only screen and (min-width:1920px){.ui.large.modal{width:1140px;margin:0}}.ui.big.modal>.header:not(.ui){font-size:1.6em}@media only screen and (max-width:767.98px){.ui.big.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.big.modal{width:88%;margin:0}}@media only screen and (min-width:992px){.ui.big.modal{width:1190px;margin:0}}@media only screen and (min-width:1200px){.ui.big.modal{width:1260px;margin:0}}@media only screen and (min-width:1920px){.ui.big.modal{width:1330px;margin:0}}.ui.huge.modal>.header:not(.ui){font-size:1.6em}@media only screen and (max-width:767.98px){.ui.huge.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.huge.modal{width:88%;margin:0}}@media only screen and (min-width:992px){.ui.huge.modal{width:1360px;margin:0}}@media only screen and (min-width:1200px){.ui.huge.modal{width:1440px;margin:0}}@media only screen and (min-width:1920px){.ui.huge.modal{width:1520px;margin:0}}.ui.massive.modal>.header:not(.ui){font-size:1.8em}@media only screen and (max-width:767.98px){.ui.massive.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.massive.modal{width:88%;margin:0}}@media only screen and (min-width:992px){.ui.massive.modal{width:1530px;margin:0}}@media only screen and (min-width:1200px){.ui.massive.modal{width:1620px;margin:0}}@media only screen and (min-width:1920px){.ui.massive.modal{width:1710px;margin:0}}.ui.inverted.modal{background:#000}.ui.inverted.modal>.content,.ui.inverted.modal>.header{background:#000;color:#fff}.ui.inverted.modal>.actions{background:#191a1b;border-top:1px solid rgba(34,36,38,.85);color:#fff}.ui.inverted.dimmer>.modal>.close{color:rgba(0,0,0,.85)}@media only screen and (max-width:991.98px){.ui.dimmer .inverted.modal>.close{color:#fff}}.ui.inverted.fullscreen.modal>.close,.ui.inverted.modal>.close.inside{color:#fff}
9
+ */.ui.modal{position:absolute;display:none;z-index:1001;text-align:left;background:#fff;border:none;box-shadow:1px 3px 3px 0 rgba(0,0,0,.2),1px 3px 15px 2px rgba(0,0,0,.2);transform-origin:50% 25%;flex:0 0 auto;border-radius:.28571429rem;-webkit-user-select:text;user-select:text;will-change:top,left,margin,transform,opacity;outline:0}.ui.modal>.dimmer:first-child+:not(.close),.ui.modal>.dimmer:first-child+i.icon+*,.ui.modal>:first-child:not(.close):not(.dimmer),.ui.modal>i.icon:first-child+*{border-top-left-radius:.28571429rem;border-top-right-radius:.28571429rem}.ui.modal>:last-child{border-bottom-left-radius:.28571429rem;border-bottom-right-radius:.28571429rem}.ui.modal>.ui.dimmer{border-radius:inherit}.ui.modal>.close{cursor:pointer;position:absolute;top:-2.5rem;right:-2.5rem;z-index:1;opacity:.8;font-size:1.25em;color:#fff;width:2.25rem;height:2.25rem;padding:.625rem 0 0 0}.ui.modal>.close:focus,.ui.modal>.close:hover{opacity:1;outline:0}.ui.modal>.header{display:block;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";background:#fff;margin:0;padding:1.25rem 1.5rem;box-shadow:none;color:rgba(0,0,0,.85);border-bottom:1px solid rgba(34,36,38,.15)}.ui.modal>.header:not(.ui){font-size:1.42857143rem;line-height:1.28571429em;font-weight:700}.ui.modal>.content{display:block;width:100%;font-size:1em;line-height:1.4;padding:1.5rem;background:#fff}.ui.modal>.image.content{display:flex;flex-direction:row}.ui.modal>.content>.image{display:block;flex:0 1 auto;width:"";align-self:start;max-width:100%}.ui.modal>[class*="top aligned"]{align-self:start}.ui.modal>[class*="middle aligned"]{align-self:center}.ui.modal>[class*=stretched]{align-self:stretch}.ui.modal>.content>.description{display:block;flex:1 0 auto;min-width:0;align-self:start}.ui.modal>.content>.image+.description,.ui.modal>.content>i.icon+.description{flex:auto;min-width:auto;width:auto;padding-left:2em}.ui.modal>.content>.image>i.icon{margin:0;opacity:1;width:auto;line-height:1;font-size:8rem}.ui.modal>.actions{background:#f9fafb;padding:1rem;border-top:1px solid rgba(34,36,38,.15);text-align:right}.ui.modal .actions>.button:not(.fluid){margin-left:.75em}.ui.basic.modal>.actions,.ui.ui.modal>.basic.actions{border-top:none}.ui.modal>.left.actions{text-align:left}.ui.modal>.left.actions>.button:not(.fluid){margin-left:.5em;margin-right:.5em}.ui.modal>.center.aligned,.ui.modal>.centered{text-align:center}.ui.modal>.center.aligned.actions>.button:not(.fluid),.ui.modal>.centered.actions>.button:not(.fluid){margin-left:.5em;margin-right:.5em}@media only screen and (max-width:767.98px){.ui.modal:not(.fullscreen){width:95%;margin:0}}@media only screen and (min-width:768px){.ui.modal:not(.fullscreen){width:88%;margin:0}}@media only screen and (min-width:992px){.ui.modal:not(.fullscreen){width:850px;margin:0}.ui.modal:not(.fullscreen)>.active.dimmer+.close:not(.inside){pointer-events:none;opacity:.1}.ui.dimmer>.ui.modal:not(.fullscreen)>.close:not(.inside){text-shadow:-1px -1px 2px rgba(0,0,0,.3),1px -1px 2px rgba(0,0,0,.3),-1px 2px 2px rgba(0,0,0,.3),1px 2px 2px rgba(0,0,0,.3)}.ui.inverted.dimmer>.ui.modal:not(.fullscreen)>.close:not(.inside){text-shadow:-1px -1px 2px rgba(255,255,255,.3),1px -1px 2px rgba(255,255,255,.3),-1px 2px 2px rgba(255,255,255,.3),1px 2px 2px rgba(255,255,255,.3)}}@media only screen and (min-width:1200px){.ui.modal:not(.fullscreen){width:900px;margin:0}}@media only screen and (min-width:1920px){.ui.modal:not(.fullscreen){width:950px;margin:0}}@media only screen and (max-width:991.98px){.ui.modal>.close+.header{padding-right:2.25rem}.ui.modal>.close{top:1.0535rem;right:1rem;color:rgba(0,0,0,.87)}}@media only screen and (max-width:767.98px){.ui.modal>.header{padding:.75rem 1rem}.ui.modal>.close+.header{padding-right:2.25rem}.ui.overlay.fullscreen.modal>.content.content.content{min-height:calc(100vh - 8.1rem)}.ui.overlay.fullscreen.modal>.scrolling.content.content.content{max-height:calc(100vh - 8.1rem)}.ui.modal>.content{display:block;padding:1rem!important}.ui.modal>.close{top:.5rem!important;right:.5rem!important}.ui.modal .image.content{flex-direction:column}.ui.modal>.content>.image{display:block;max-width:100%;margin:0 auto!important;text-align:center;padding:0 0 1rem!important}.ui.modal>.content>.image>i.icon{font-size:5rem;text-align:center}.ui.modal>.content>.description{display:block;width:100%!important;margin:0!important;padding:1rem 0!important;box-shadow:none}.ui.modal>.actions{padding:1rem 1rem 0!important}.ui.modal .actions>.button,.ui.modal .actions>.buttons{margin-bottom:1rem}}.ui.inverted.dimmer>.ui.modal{box-shadow:1px 3px 10px 2px rgba(0,0,0,.2)}.ui.basic.modal{background-color:transparent;border:none;border-radius:0;box-shadow:none!important;color:#fff}.ui.basic.modal>.actions,.ui.basic.modal>.content,.ui.basic.modal>.header,.ui.ui.modal>.basic.actions,.ui.ui.modal>.basic.header{background-color:transparent}.ui.modal>.basic.header{border-bottom:none}.ui.basic.modal>.header{color:#fff;border-bottom:none}.ui.basic.modal>.close{top:1rem;right:1.5rem;color:#fff}.ui.inverted.dimmer>.basic.modal{color:rgba(0,0,0,.87)}.ui.inverted.dimmer>.ui.basic.modal>.header{color:rgba(0,0,0,.85)}.ui.legacy.legacy.modal,.ui.legacy.legacy.page.dimmer>.ui.modal{left:50%!important}.ui.legacy.legacy.modal:not(.aligned),.ui.legacy.legacy.page.dimmer>.ui.modal:not(.aligned){top:50%}.ui.legacy.legacy.page.dimmer>.ui.scrolling.modal:not(.aligned),.ui.page.dimmer>.ui.scrolling.legacy.legacy.modal:not(.aligned),.ui.top.aligned.dimmer>.ui.legacy.legacy.modal:not(.aligned),.ui.top.aligned.legacy.legacy.page.dimmer>.ui.modal:not(.aligned){top:auto}.ui.legacy.overlay.fullscreen.modal{margin-top:-2rem!important}.ui.loading.modal{display:block;visibility:hidden;z-index:-1}.ui.active.modal{display:block}.modals.dimmer .ui.top.aligned.modal{top:5vh}.modals.dimmer .ui.bottom.aligned.modal{bottom:5vh}@media only screen and (max-width:767.98px){.modals.dimmer .ui.top.aligned.modal{top:1rem}.modals.dimmer .ui.bottom.aligned.modal{bottom:1rem}}.scrolling.dimmable.dimmed{overflow:hidden}.scrolling.dimmable>.dimmer{justify-content:center;position:fixed}.scrolling.dimmable:not(body)>.dimmer{position:absolute}.scrolling.dimmable.dimmed>.dimmer{overflow:auto;overscroll-behavior:none}.modals.dimmer .ui.scrolling.modal.fullscreen{top:0}.modals.dimmer .ui.scrolling.modal:not(.fullscreen){margin:2rem auto;top:1em}.modals.dimmer .ui.scrolling.modal:not([class*="overlay fullscreen"])::after{content:"\00A0";position:absolute;height:2rem}.scrolling.undetached.dimmable.dimmed{overflow:auto;overscroll-behavior:none}.scrolling.undetached.dimmable.dimmed>.dimmer{overflow:hidden}.scrolling.undetached.dimmable .ui.scrolling.modal:not(.fullscreen){position:absolute;left:50%}.ui.modal>.scrolling.content{max-height:calc(80vh - 10rem);overflow:auto;overscroll-behavior:none}.ui.modal>.resizable.scrolling.content{resize:vertical;max-height:none}.ui.overlay.fullscreen.modal>.content{min-height:calc(100vh - 9.1rem)}.ui.overlay.fullscreen.modal>.scrolling.content{max-height:calc(100vh - 9.1rem)}.ui.fullscreen.modal{width:95%;left:2.5%;margin:1em auto}.ui.overlay.fullscreen.modal{width:100%;left:0;margin:0 auto;top:0;border-radius:0}.ui.fullscreen.modal>.close+.header:not(.centered):not(.center):not(.icon),.ui.modal>.close.inside+.header:not(.centered):not(.center):not(.icon){padding-right:2.25rem}.ui.fullscreen.modal>.close,.ui.modal>.close.inside{top:1.0535rem;right:1rem;color:rgba(0,0,0,.87)}.ui.basic.fullscreen.modal>.close{color:#fff}.ui.modal{font-size:1rem}.ui.mini.modal>.header:not(.ui){font-size:1.3em}@media only screen and (max-width:767.98px){.ui.mini.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.mini.modal{width:35.2%;margin:0}}@media only screen and (min-width:992px){.ui.mini.modal{width:340px;margin:0}}@media only screen and (min-width:1200px){.ui.mini.modal{width:360px;margin:0}}@media only screen and (min-width:1920px){.ui.mini.modal{width:380px;margin:0}}.ui.tiny.modal>.header:not(.ui){font-size:1.3em}@media only screen and (max-width:767.98px){.ui.tiny.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.tiny.modal{width:52.8%;margin:0}}@media only screen and (min-width:992px){.ui.tiny.modal{width:510px;margin:0}}@media only screen and (min-width:1200px){.ui.tiny.modal{width:540px;margin:0}}@media only screen and (min-width:1920px){.ui.tiny.modal{width:570px;margin:0}}.ui.small.modal>.header:not(.ui){font-size:1.3em}@media only screen and (max-width:767.98px){.ui.small.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.small.modal{width:70.4%;margin:0}}@media only screen and (min-width:992px){.ui.small.modal{width:680px;margin:0}}@media only screen and (min-width:1200px){.ui.small.modal{width:720px;margin:0}}@media only screen and (min-width:1920px){.ui.small.modal{width:760px;margin:0}}.ui.large.modal>.header:not(.ui){font-size:1.6em}@media only screen and (max-width:767.98px){.ui.large.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.large.modal{width:88%;margin:0}}@media only screen and (min-width:992px){.ui.large.modal{width:1020px;margin:0}}@media only screen and (min-width:1200px){.ui.large.modal{width:1080px;margin:0}}@media only screen and (min-width:1920px){.ui.large.modal{width:1140px;margin:0}}.ui.big.modal>.header:not(.ui){font-size:1.6em}@media only screen and (max-width:767.98px){.ui.big.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.big.modal{width:88%;margin:0}}@media only screen and (min-width:992px){.ui.big.modal{width:1190px;margin:0}}@media only screen and (min-width:1200px){.ui.big.modal{width:1260px;margin:0}}@media only screen and (min-width:1920px){.ui.big.modal{width:1330px;margin:0}}.ui.huge.modal>.header:not(.ui){font-size:1.6em}@media only screen and (max-width:767.98px){.ui.huge.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.huge.modal{width:88%;margin:0}}@media only screen and (min-width:992px){.ui.huge.modal{width:1360px;margin:0}}@media only screen and (min-width:1200px){.ui.huge.modal{width:1440px;margin:0}}@media only screen and (min-width:1920px){.ui.huge.modal{width:1520px;margin:0}}.ui.massive.modal>.header:not(.ui){font-size:1.8em}@media only screen and (max-width:767.98px){.ui.massive.modal{width:95%;margin:0}}@media only screen and (min-width:768px){.ui.massive.modal{width:88%;margin:0}}@media only screen and (min-width:992px){.ui.massive.modal{width:1530px;margin:0}}@media only screen and (min-width:1200px){.ui.massive.modal{width:1620px;margin:0}}@media only screen and (min-width:1920px){.ui.massive.modal{width:1710px;margin:0}}.ui.inverted.modal{background:#000}.ui.inverted.modal>.content,.ui.inverted.modal>.header{background:#000;color:#fff}.ui.inverted.modal>.actions{background:#191a1b;border-top:1px solid rgba(34,36,38,.85);color:#fff}.ui.inverted.dimmer>.modal>.close{color:rgba(0,0,0,.85)}@media only screen and (max-width:991.98px){.ui.dimmer .inverted.modal>.close{color:#fff}}.ui.inverted.fullscreen.modal>.close,.ui.inverted.modal>.close.inside{color:#fff}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.4+fcf090f
2
+ * # Fomantic UI - 2.10.0-beta.41+1ceee9c
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * https://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
- !function(U,V,X){"use strict";function _(e){return"function"==typeof e&&"number"!=typeof e.nodeType}V=void 0!==V&&V.Math===Math?V:globalThis,U.fn.modal=function(E){var z,e=U(this),q=U(V),I=U(X),B=U("body"),W=Date.now(),j=[],P=E,K="string"==typeof P,Q=[].slice.call(arguments,1),R=function(e,t){var n;return 0<=[V,X].indexOf(e)?n=B:0===(n=U(t.document).find(e)).length&&(n=t.frameElement?R(e,t.parent):B),n};return e.each(function(){var n,o,a,e,i,t,s,r,c,l,d,u=U.isPlainObject(E)?U.extend(!0,{},U.fn.modal.settings,E):U.extend({},U.fn.modal.settings),f=u.selector,m=u.className,h=u.namespace,g=u.fields,v=u.error,p="."+h,b="module-"+h,y=U(this),k=R(u.context,V),x=k[0]===B[0],w=y.find(f.closeIcon),C=y.hasClass("modal"),S=this,M=C?y.data(b):void 0,A=!1,D="",T="",H=!1,F=!1,L=!1,N=!1,O={initialize:function(){var a;O.create.id(),C||(O.create.modal(),_(u.onHidden)||(u.onHidden=function(){O.destroy(),y.remove()})),y.addClass(u.class),""!==u.title&&y.find(f.title).html(O.helpers.escape(u.title,u.preserveHTML)).addClass(u.classTitle),""!==u.content&&y.find(f.content).html(O.helpers.escape(u.content,u.preserveHTML)).addClass(u.classContent),O.has.configActions()&&(0===(a=y.find(f.actions).addClass(u.classActions)).length?a=U("<div/>",{class:m.actions+" "+(u.classActions||"")}).appendTo(y):a.empty(),u.actions.forEach(function(e){var t=e[g.icon]?"<i "+(e[g.text]?'aria-hidden="true"':"")+' class="'+O.helpers.deQuote(e[g.icon])+' icon"></i>':"",n=O.helpers.escape(e[g.text]||"",u.preserveHTML),i=O.helpers.deQuote(e[g.class]||""),o=e[g.click]&&_(e[g.click])?e[g.click]:function(){};a.append(U("<button/>",{html:t+n,"aria-label":(e[g.text]||e[g.icon]||"").replace(/<[^>]+(>|$)/g,""),class:m.button+" "+i,on:{click:function(){var e=U(this);e.is(f.approve)||e.is(f.deny)||!1===o.call(S,y)||O.hide()}}}))})),O.cache={},O.verbose("Initializing dimmer",k),O.create.dimmer(),u.allowMultiple&&O.create.innerDimmer(),u.centered||y.addClass("top aligned"),O.refreshModals(),O.bind.events(),O.observeChanges(),O.instantiate(),u.autoShow&&O.show()},instantiate:function(){O.verbose("Storing instance of modal"),M=O,y.data(b,M)},create:{modal:function(){var e;y=U("<div/>",{class:m.modal,role:"dialog","aria-modal":!0}),u.closeIcon&&(w=U("<i/>",{class:m.close,role:"button",tabindex:0,"aria-label":u.text.close}),y.append(w)),""!==u.title&&(e="_"+O.get.id()+"title",y.attr("aria-labelledby",e),U("<div/>",{class:m.title,id:e}).appendTo(y)),""!==u.content&&(e="_"+O.get.id()+"desc",y.attr("aria-describedby",e),U("<div/>",{class:m.content,id:e}).appendTo(y)),O.has.configActions()&&U("<div/>",{class:m.actions}).appendTo(y),k.append(y),S=y[0]},dimmer:function(){var e={debug:u.debug,dimmerName:"modals"},e=U.extend(!0,e,u.dimmerSettings);void 0===U.fn.dimmer?O.error(v.dimmer):(O.debug("Creating dimmer"),i=k.dimmer(e),H=O.is.scrolling(),u.detachable?(O.verbose("Modal is detachable, moving content into dimmer"),i.dimmer("add content",y)):O.set.undetached(),t=i.dimmer("get dimmer"))},id:function(){l=(Math.random().toString(16)+"000000000").slice(2,10),c="."+l,O.verbose("Creating unique id for element",l)},innerDimmer:function(){0===y.find(f.dimmer).length&&U("<div/>",{class:m.innerDimmer}).prependTo(y)}},destroy:function(){d&&d.disconnect(),O.verbose("Destroying previous modal"),y.removeData(b).off(p),q.off(c),k.off(c),t.off(c),w.off(c),n&&n.off(c),k.dimmer("destroy")},observeChanges:function(){"MutationObserver"in V&&((d=new MutationObserver(function(e){function o(e){for(var t=[],n=0,i=e.length;n<i;n++)Array.prototype.push.apply(t,o(e[n].childNodes)),t.push(e[n]);return t}var n=!1,i=!1,a=!0;e.every(function(e){var t;return"attributes"===e.type?N&&("disabled"===e.attributeName||0<U(e.target).find(":input").addBack(":input").filter(":visible").length)&&(i=!0):(n=!0,t=U(o(e.addedNodes)).filter("a[href], [tabindex], :input:enabled").filter(":visible"),e=U(o(e.removedNodes)).filter("a[href], [tabindex], :input"),(0<t.length||0<e.length)&&(i=!0,(0<t.filter(":input").length||0<e.filter(":input").length)&&(a=!1))),!i}),n&&u.observeChanges&&(O.debug("DOM tree modified, refreshing"),O.refresh()),i&&O.refreshInputs(a)})).observe(S,{attributeFilter:["class","disabled"],attributes:!0,childList:!0,subtree:!0}),O.debug("Setting up mutation observer",d))},refresh:function(){O.remove.scrolling(),O.cacheSizes(),O.can.useFlex()||O.set.modalOffset(),O.set.screenHeight(),O.set.type()},refreshModals:function(){a=y.siblings(f.modal),o=a.add(y)},refreshInputs:function(e){n&&n.off("keydown"+c),0===(n=y.find("a[href], [tabindex], :input:enabled").filter(":visible").filter(function(){return 0===U(this).closest(".disabled").length})).filter(":input").length?(n=y.add(n),y.attr("tabindex",-1)):y.removeAttr("tabindex"),n.first().on("keydown"+c,O.event.inputKeyDown.first),n.last().on("keydown"+c,O.event.inputKeyDown.last),!e&&u.autofocus&&0===n.filter(":focus").length&&O.set.autofocus()},attachEvents:function(e,t){var n=U(e);t=_(O[t])?O[t]:O.toggle,0<n.length?(O.debug("Attaching modal events to element",e,t),n.off(p).on("click"+p,t)):O.error(v.notFound,e)},bind:{events:function(){O.verbose("Attaching events"),y.on("click"+p,f.close,O.event.close).on("click"+p,f.approve,O.event.approve).on("click"+p,f.deny,O.event.deny),w.on("keyup"+c,O.event.closeKeyUp),q.on("resize"+c,O.event.resize).on("focus"+c,O.event.focus),k.on("click"+c,O.event.click)},scrollLock:function(){i[0].addEventListener("touchmove",O.event.preventScroll,{passive:!1})}},unbind:{scrollLock:function(){i[0].removeEventListener("touchmove",O.event.preventScroll,{passive:!1})}},get:{id:function(){return l},element:function(){return y},settings:function(){return u}},event:{approve:function(){A||!1===u.onApprove.call(S,U(this))?O.verbose("Approve callback returned false cancelling hide"):(A=!0,O.hide(function(){A=!1}))},preventScroll:function(e){-1!==e.target.className.indexOf("dimmer")&&e.preventDefault()},deny:function(){A||!1===u.onDeny.call(S,U(this))?O.verbose("Deny callback returned false cancelling hide"):(A=!0,O.hide(function(){A=!1}))},close:function(){O.hide()},closeKeyUp:function(e){e=e.which;e!==u.keys.enter&&e!==u.keys.space||!y.hasClass(m.front)||O.hide()},inputKeyDown:{first:function(e){e.which===u.keys.tab&&e.shiftKey&&(n.last().trigger("focus"),e.preventDefault())},last:function(e){e.which!==u.keys.tab||e.shiftKey||(n.first().trigger("focus"),e.preventDefault())}},mousedown:function(e){var t=U(e.target),n=O.is.rtl();(s=0<t.closest(f.modal).length)&&O.verbose("Mouse down event registered inside the modal"),(r=O.is.scrolling()&&(!n&&q.outerWidth()-u.scrollbarWidth<=e.clientX||n&&u.scrollbarWidth>=e.clientX))&&O.verbose("Mouse down event registered inside the scrollbar")},mouseup:function(e){if(u.closable)if(s)O.debug("Dimmer clicked but mouse down was initially registered inside the modal");else if(r)O.debug("Dimmer clicked but mouse down was initially registered inside the scrollbar");else{var t=0<U(e.target).closest(f.modal).length,e=U.contains(X.documentElement,e.target);if(!t&&e&&O.is.active()&&y.hasClass(m.front)){if(O.debug("Dimmer clicked, hiding all modals"),u.allowMultiple){if(!O.hideAll())return}else if(!O.hide())return;O.remove.clickaway()}}else O.verbose("Dimmer clicked but closable setting is disabled")},debounce:function(e,t){clearTimeout(O.timer),O.timer=setTimeout(function(){e()},t)},keyboard:function(e){e.which===u.keys.escape&&(u.closable?(O.debug("Escape key pressed hiding modal"),y.hasClass(m.front)&&O.hide()):O.debug("Escape key pressed, but closable is set to false"),e.preventDefault())},resize:function(){i.dimmer("is active")&&(O.is.animating()||O.is.active())&&requestAnimationFrame(O.refresh)},focus:function(){L=!0},click:function(e){L&&X.activeElement!==e.target&&i.dimmer("is active")&&O.is.active()&&u.autofocus&&0===U(X.activeElement).closest(f.modal).length&&requestAnimationFrame(O.set.autofocus),L=!1}},toggle:function(){O.is.active()||O.is.animating()?O.hide():O.show()},show:function(e){e=_(e)?e:function(){},O.refreshModals(),O.set.dimmerSettings(),O.set.dimmerStyles(),O.showModal(e)},hide:function(e){return e=_(e)?e:function(){},O.refreshModals(),O.hideModal(e)},showModal:function(e){e=_(e)?e:function(){},O.is.animating()||!O.is.active()?!1===u.onShow.call(S)?O.verbose("Show callback returned false cancelling show"):(F=O.has.scrollbar(),O.showDimmer(),O.cacheSizes(),F&&O.set.bodyMargin(),O.can.useFlex()?O.remove.legacy():(O.set.legacy(),O.set.modalOffset(),O.debug("Using non-flex legacy modal positioning.")),O.set.screenHeight(),O.set.type(),O.set.clickaway(),!u.allowMultiple&&O.others.active()?O.hideOthers(O.showModal):(A=!1,u.allowMultiple&&(O.others.active()&&a.filter("."+m.active).find(f.dimmer).removeClass("out").addClass("transition fade in active"),u.detachable&&y.detach().appendTo(t)),u.transition&&void 0!==U.fn.transition?(O.debug("Showing modal with css animations"),O.set.observeAttributes(!1),y.transition({debug:u.debug,verbose:u.verbose,silent:u.silent,animation:(u.transition.showMethod||u.transition)+" in",queue:u.queue,duration:u.transition.showDuration||u.duration,useFailSafe:!0,onComplete:function(){u.onVisible.apply(S),u.keyboardShortcuts&&O.add.keyboardShortcuts(),O.save.focus(),O.set.active(),O.refreshInputs(),requestAnimationFrame(O.set.observeAttributes),e()}})):O.error(v.noTransition))):O.debug("Modal is already visible")},hideModal:function(e,t,n){var i=a.filter("."+m.active).last();if(e=_(e)?e:function(){},!1===u.onHide.call(S,U(this)))return O.verbose("Hide callback returned false cancelling hide"),A=!1;(O.is.animating()||O.is.active())&&(O.debug("Hiding modal"),u.transition&&void 0!==U.fn.transition?(O.remove.active(),O.set.observeAttributes(!1),y.transition({debug:u.debug,verbose:u.verbose,silent:u.silent,animation:(u.transition.hideMethod||u.transition)+" out",queue:u.queue,duration:u.transition.hideDuration||u.duration,useFailSafe:!0,onStart:function(){O.others.active()||O.others.animating()||t?u.allowMultiple&&(n?o:i).find(f.dimmer).removeClass("in").addClass("out"):O.hideDimmer(),u.keyboardShortcuts&&!O.others.active()&&O.remove.keyboardShortcuts()},onComplete:function(){O.unbind.scrollLock(),O.remove.active(),u.allowMultiple&&(i.addClass(m.front),y.removeClass(m.front),(n?o:i).find(f.dimmer).removeClass("active")),_(u.onHidden)&&u.onHidden.call(S),O.remove.dimmerStyles(),O.restore.focus(),e()}})):O.error(v.noTransition))},showDimmer:function(){i.dimmer("is animating")||!i.dimmer("is active")?(F&&(x||t.css("top",i.scrollTop()),O.save.bodyMargin()),O.debug("Showing dimmer"),i.dimmer("show")):O.debug("Dimmer already visible")},hideDimmer:function(){i.dimmer("is animating")||i.dimmer("is active")?(O.unbind.scrollLock(),i.dimmer("hide",function(){F&&O.restore.bodyMargin(),O.remove.clickaway(),O.remove.screenHeight()})):O.debug("Dimmer is not visible cannot hide")},hideAll:function(n){var i,e=o.filter("."+m.active+", ."+m.animating);if(n=_(n)?n:function(){},0<e.length)return O.debug("Hiding all visible modals"),i=!0,U(e.get().reverse()).each(function(e,t){i=i&&U(t).modal("hide modal",n,!1,!0)}),i&&O.hideDimmer(),i},hideOthers:function(e){var t=a.filter("."+m.active+", ."+m.animating);e=_(e)?e:function(){},0<t.length&&(O.debug("Hiding other modals",a),t.modal("hide modal",e,!0))},others:{active:function(){return 0<a.filter("."+m.active).length},animating:function(){return 0<a.filter("."+m.animating).length}},add:{keyboardShortcuts:function(){O.verbose("Adding keyboard shortcuts"),I.on("keydown"+p,O.event.keyboard)}},save:{focus:function(){0<U(X.activeElement).closest(y).length||(e=U(X.activeElement).trigger("blur"))},bodyMargin:function(){D=k.css((x?"margin-":"padding-")+(O.can.leftBodyScrollbar()?"left":"right"));var e=parseInt(D.replace(/[^\d.]/g,""),10),t=x?V.innerWidth-X.documentElement.clientWidth:k[0].offsetWidth-k[0].clientWidth;T=e+t}},restore:{focus:function(){e&&0<e.length&&u.restoreFocus&&e.trigger("focus")},bodyMargin:function(){var n=O.can.leftBodyScrollbar()?"left":"right";k.css((x?"margin-":"padding-")+n,D),k.find(f.bodyFixed.replace("right",n)).each(function(){var e=U(this),t="fixed"===e.css("position")?"padding-"+n:n;e.css(t,"")})}},remove:{active:function(){y.removeClass(m.active)},legacy:function(){y.removeClass(m.legacy)},clickaway:function(){u.detachable||y.off("mousedown"+c),t.off("mousedown"+c),t.off("mouseup"+c)},dimmerStyles:function(){t.removeClass(m.inverted),i.removeClass(m.blurring)},bodyStyle:function(){""===k.attr("style")&&(O.verbose("Removing style attribute"),k.removeAttr("style"))},screenHeight:function(){O.debug("Removing page height"),k.css("height",""),O.remove.bodyStyle()},keyboardShortcuts:function(){O.verbose("Removing keyboard shortcuts"),I.off("keydown"+p)},scrolling:function(){H||i.removeClass(m.scrolling),y.removeClass(m.scrolling)}},cacheSizes:function(){y.addClass(m.loading);var e=y.prop("scrollHeight"),t=y.outerWidth(),n=y.outerHeight();void 0!==O.cache.pageHeight&&0===n||(U.extend(O.cache,{pageHeight:I.outerHeight(),width:t,height:n+u.offset,scrollHeight:e+u.offset,contextHeight:(x?q:i).height()}),O.cache.topOffset=-O.cache.height/2),y.removeClass(m.loading),O.debug("Caching modal and container sizes",O.cache)},helpers:{deQuote:function(e){return String(e).replace(/"/g,"")},escape:function(e,t){if(t)return e;var n={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&amp;")).replace(/["'<>`]/g,function(e){return n[e]}):e}},can:{leftBodyScrollbar:function(){return void 0===O.cache.leftBodyScrollbar&&(O.cache.leftBodyScrollbar=O.is.rtl()&&(O.is.iframe&&!O.is.firefox()||O.is.safari())),O.cache.leftBodyScrollbar},useFlex:function(){return"auto"===u.useFlex?u.detachable:(u.useFlex&&!u.detachable&&O.debug("useFlex true in combination with detachable false is not supported"),u.useFlex)},fit:function(){var e=O.cache.contextHeight,t=O.cache.contextHeight/2,n=O.cache.topOffset,i=O.cache.scrollHeight,o=O.cache.height,a=u.padding;return o<i?t+n+i+a<e:o+2*a<e}},has:{configActions:function(){return Array.isArray(u.actions)&&0<u.actions.length},scrollbar:function(){return x||"hidden"!==k.css("overflow-y")}},is:{active:function(){return y.hasClass(m.active)},animating:function(){return y.transition("is animating")},scrolling:function(){return i.hasClass(m.scrolling)},rtl:function(){return void 0===O.cache.isRTL&&(O.cache.isRTL="rtl"===y.attr("dir")||"rtl"===y.css("direction")||"rtl"===B.attr("dir")||"rtl"===B.css("direction")||"rtl"===k.attr("dir")||"rtl"===k.css("direction")),O.cache.isRTL},safari:function(){return void 0===O.cache.isSafari&&(O.cache.isSafari=/constructor/i.test(V.HTMLElement)||!!V.ApplePaySession),O.cache.isSafari},firefox:function(){return void 0===O.cache.isFirefox&&(O.cache.isFirefox=!!V.InstallTrigger),O.cache.isFirefox},iframe:function(){return!(self===top)}},set:{observeAttributes:function(e){N=!1!==e},autofocus:function(){var e=n.filter("[autofocus]"),t=n.filter(":input");(0<e.length?e:0<t.length?t:y).first().trigger("focus")},bodyMargin:function(){var n=O.can.leftBodyScrollbar()?"left":"right";(u.detachable||O.can.fit())&&k.css((x?"margin-":"padding-")+n,T+"px"),k.find(f.bodyFixed.replace("right",n)).each(function(){var e=U(this),t="fixed"===e.css("position")?"padding-"+n:n;e.css(t,"calc("+e.css(t)+" + "+T+"px)")})},clickaway:function(){u.detachable||y.on("mousedown"+c,O.event.mousedown),t.on("mousedown"+c,O.event.mousedown),t.on("mouseup"+c,O.event.mouseup)},dimmerSettings:function(){var e;void 0===U.fn.dimmer?O.error(v.dimmer):(e={debug:u.debug,dimmerName:"modals",closable:"auto",useFlex:O.can.useFlex(),duration:{show:u.transition.showDuration||u.duration,hide:u.transition.hideDuration||u.duration}},e=U.extend(!0,e,u.dimmerSettings),u.inverted&&(e.variation=void 0!==e.variation?e.variation+" inverted":"inverted"),k.dimmer("setting",e))},dimmerStyles:function(){u.inverted?t.addClass(m.inverted):t.removeClass(m.inverted),u.blurring?i.addClass(m.blurring):i.removeClass(m.blurring)},modalOffset:function(){var e;u.detachable?y.css({marginTop:!y.hasClass("aligned")&&O.can.fit()?-O.cache.height/2:u.padding/2,marginLeft:-O.cache.width/2}):(e=O.can.fit(),y.css({top:!y.hasClass("aligned")&&e?I.scrollTop()+(O.cache.contextHeight-O.cache.height)/2:!e||y.hasClass("top")?I.scrollTop()+u.padding:I.scrollTop()+(O.cache.contextHeight-O.cache.height-u.padding),marginLeft:-O.cache.width/2})),O.verbose("Setting modal offset for legacy mode")},screenHeight:function(){O.can.fit()?k.css("height",""):y.hasClass("bottom")||(O.debug("Modal is taller than page content, resizing page height"),k.css("height",O.cache.height+2*u.padding+"px"))},active:function(){y.addClass(m.active+" "+m.front),a.filter("."+m.active).removeClass(m.front)},scrolling:function(){i.addClass(m.scrolling),y.addClass(m.scrolling),O.unbind.scrollLock()},legacy:function(){y.addClass(m.legacy)},type:function(){O.can.fit()?(O.verbose("Modal fits on screen"),O.others.active()||O.others.animating()||(O.remove.scrolling(),O.bind.scrollLock())):y.hasClass("bottom")?O.verbose("Bottom aligned modal not fitting on screen is unsupported for scrolling"):(O.verbose("Modal cannot fit on screen setting to scrolling"),O.set.scrolling())},undetached:function(){i.addClass(m.undetached)}},setting:function(e,t){if(O.debug("Changing setting",e,t),U.isPlainObject(e))U.extend(!0,u,e);else{if(void 0===t)return u[e];U.isPlainObject(u[e])?U.extend(!0,u[e],t):u[e]=t}},internal:function(e,t){if(U.isPlainObject(e))U.extend(!0,O,e);else{if(void 0===t)return O[e];O[e]=t}},debug:function(){!u.silent&&u.debug&&(u.performance?O.performance.log(arguments):(O.debug=Function.prototype.bind.call(console.info,console,u.name+":"),O.debug.apply(console,arguments)))},verbose:function(){!u.silent&&u.verbose&&u.debug&&(u.performance?O.performance.log(arguments):(O.verbose=Function.prototype.bind.call(console.info,console,u.name+":"),O.verbose.apply(console,arguments)))},error:function(){u.silent||(O.error=Function.prototype.bind.call(console.error,console,u.name+":"),O.error.apply(console,arguments))},performance:{log:function(e){var t,n;u.performance&&(n=(t=Date.now())-(W||t),W=t,j.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:S,"Execution Time":n})),clearTimeout(O.performance.timer),O.performance.timer=setTimeout(function(){O.performance.display()},500)},display:function(){var e=u.name+":",n=0;W=!1,clearTimeout(O.performance.timer),U.each(j,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",0<j.length&&(console.groupCollapsed(e),console.table?console.table(j):U.each(j,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),j=[]}},invoke:function(i,e,t){var o,a,n,s=M;return e=e||Q,t=t||S,"string"==typeof i&&void 0!==s&&(i=i.split(/[ .]/),o=i.length-1,U.each(i,function(e,t){var n=e!==o?t+i[e+1].charAt(0).toUpperCase()+i[e+1].slice(1):i;if(U.isPlainObject(s[n])&&e!==o)s=s[n];else{if(void 0!==s[n])return a=s[n],!1;{if(!U.isPlainObject(s[t])||e===o)return void 0!==s[t]?a=s[t]:O.error(v.method,i),!1;s=s[t]}}})),_(a)?n=a.apply(t,e):void 0!==a&&(n=a),Array.isArray(z)?z.push(n):void 0!==z?z=[z,n]:void 0!==n&&(z=n),a}};K?(void 0===M&&(_(u.templates[P])&&(u.autoShow=!0,u.className.modal=u.className.template,u=U.extend(!0,{},u,u.templates[P].apply(O,Q)),m=u.className,u.namespace,g=u.fields,v=u.error),O.initialize()),_(u.templates[P])||O.invoke(P)):(void 0!==M&&M.invoke("destroy"),O.initialize(),z=y)}),void 0!==z?z:this},U.modal=U.fn.modal,U.fn.modal.settings={name:"Modal",namespace:"modal",useFlex:"auto",offset:0,silent:!1,debug:!1,verbose:!1,performance:!0,observeChanges:!1,allowMultiple:!1,detachable:!0,closable:!0,autofocus:!0,restoreFocus:!0,autoShow:!1,inverted:!1,blurring:!1,centered:!0,dimmerSettings:{closable:!1,useCSS:!0},keyboardShortcuts:!0,context:"body",queue:!1,duration:500,transition:"scale",padding:50,scrollbarWidth:10,title:"",content:"",class:"",classTitle:"",classContent:"",classActions:"",closeIcon:!1,actions:!1,preserveHTML:!1,fields:{class:"class",text:"text",icon:"icon",click:"click"},onShow:function(){},onVisible:function(){},onHide:function(){return!0},onHidden:!1,onApprove:function(){return!0},onDeny:function(){return!0},keys:{space:32,enter:13,escape:27,tab:9},selector:{title:"> .header",content:"> .content",actions:"> .actions",close:"> .close",closeIcon:"> .close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel",modal:".ui.modal",dimmer:"> .ui.dimmer",bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",prompt:".ui.input > input"},error:{dimmer:"UI Dimmer, a required component is not included in this page",method:"The method you called is not defined.",notFound:"The element you specified could not be found"},className:{active:"active",animating:"animating",blurring:"blurring",inverted:"inverted",legacy:"legacy",loading:"loading",scrolling:"scrolling",undetached:"undetached",front:"front",close:"close icon",button:"ui button",modal:"ui modal",title:"header",content:"content",actions:"actions",template:"ui tiny modal",ok:"positive",cancel:"negative",prompt:"ui fluid input",innerDimmer:"ui inverted dimmer"},text:{ok:"Ok",cancel:"Cancel",close:"Close"}},U.fn.modal.settings.templates={getArguments:function(e){e=[].slice.call(e);return U.isPlainObject(e[0])?U.extend({handler:function(){},content:"",title:""},e[0]):(_(e[e.length-1])||e.push(function(){}),{handler:e.pop(),content:e.pop()||"",title:e.pop()||""})},alert:function(){var e=this.get.settings(),t=e.templates.getArguments(arguments),n=t.handler;return{title:t.title,content:t.content,onApprove:n,actions:[{text:e.text.ok,class:e.className.ok,click:n}]}},confirm:function(){function e(){i.handler(!0)}function t(){i.handler(!1)}var n=this.get.settings(),i=n.templates.getArguments(arguments);return{title:i.title,content:i.content,onApprove:e,onDeny:t,actions:[{text:n.text.ok,class:n.className.ok,click:e},{text:n.text.cancel,class:n.className.cancel,click:t}]}},prompt:function(){function e(){var e=n.get.settings(),e=n.get.element().find(e.selector.prompt)[0];o.handler(U(e).val())}function t(){o.handler(null)}var n=this,i=this.get.settings(),o=i.templates.getArguments(arguments);return 0===U(U.parseHTML(o.content)).filter(".ui.input").length&&(o.content+='<p><div class="'+this.helpers.deQuote(i.className.prompt)+'"><input placeholder="'+this.helpers.deQuote(o.placeholder||"")+'" type="text" value="'+this.helpers.deQuote(o.defaultValue||"")+'"></div></p>'),{title:o.title,content:o.content,onApprove:e,onDeny:t,actions:[{text:i.text.ok,class:i.className.ok,click:e},{text:i.text.cancel,class:i.className.cancel,click:t}]}}}}(jQuery,window,document);
11
+ !function(X,_,Q){"use strict";function $(e){return"function"==typeof e&&"number"!=typeof e.nodeType}_=void 0!==_&&_.Math===Math?_:globalThis,X.fn.modal=function(z){let e=X(this),q=X(_),I=X(Q),B=X("body"),W=Date.now(),j=[],P=z,K="string"==typeof P,R=[].slice.call(arguments,1),U=function(e,t){let n;return 0<=[_,Q].indexOf(e)?n=B:0===(n=X(t.document).find(e)).length&&(n=t.frameElement?U(e,t.parent):B),n},V;return e.each(function(){let r=X.isPlainObject(z)?X.extend(!0,{},X.fn.modal.settings,z):X.extend({},X.fn.modal.settings),a=r.selector,c=r.className;var e=r.namespace;let l=r.fields,d=r.error,i="."+e,t="module-"+e,u=X(this),o=U(r.context,_),s=o[0]===B[0],n=u.find(a.closeIcon),f,m,h,g,p,v,b=u.hasClass("modal"),y=this,k=b?u.data(t):void 0,x=!1,w,C,S="",M=0,A=0,D=!1,T=!1,H=!1,F,N,E,O=!1,L;L={initialize:function(){if(L.create.id(),b||(L.create.modal(),$(r.onHidden)||(r.onHidden=function(){L.destroy(),u.remove()})),u.addClass(r.class),""!==r.title&&u.find(a.title).html(L.helpers.escape(r.title,r)).addClass(r.classTitle),""!==r.content&&u.find(a.content).html(L.helpers.escape(r.content,r)).addClass(r.classContent),L.has.configActions()){let s=u.find(a.actions).addClass(r.classActions);0===s.length?s=X("<div/>",{class:c.actions+" "+(r.classActions||"")}).appendTo(u):s.empty(),r.actions.forEach(function(e){var t=e[l.icon]?"<i "+(e[l.text]?'aria-hidden="true"':"")+' class="'+L.helpers.escape(e[l.icon])+' icon"></i>':"",n=L.helpers.escape(e[l.text]||"",r),i=L.helpers.escape(e[l.class]||"");let o=e[l.click]&&$(e[l.click])?e[l.click]:function(){};s.append(X("<button/>",{html:t+n,"aria-label":(e[l.text]||e[l.icon]||"").replace(/<[^>]+(>|$)/g,""),class:c.button+" "+i,on:{click:function(){let e=X(this);e.is(a.approve)||e.is(a.deny)||!1===o.call(y,u)||L.hide()}}}))})}L.cache={},L.verbose("Initializing dimmer",o),L.create.dimmer(),r.allowMultiple&&L.create.innerDimmer(),r.centered||u.addClass("top aligned"),L.refreshModals(),L.bind.events(),L.observeChanges(),L.instantiate(),r.autoShow&&L.show()},instantiate:function(){L.verbose("Storing instance of modal"),k=L,u.data(t,k)},create:{modal:function(){var e;u=X("<div/>",{class:c.modal,role:"dialog","aria-modal":!0}),r.closeIcon&&(n=X("<i/>",{class:c.close,role:"button",tabindex:0,"aria-label":r.text.close}),u.append(n)),""!==r.title&&(e="_"+L.get.id()+"title",u.attr("aria-labelledby",e),X("<div/>",{class:c.title,id:e}).appendTo(u)),""!==r.content&&(e="_"+L.get.id()+"desc",u.attr("aria-describedby",e),X("<div/>",{class:c.content,id:e}).appendTo(u)),L.has.configActions()&&X("<div/>",{class:c.actions}).appendTo(u),o.append(u),y=u[0]},dimmer:function(){var e={debug:r.debug,dimmerName:"modals"},e=X.extend(!0,e,r.dimmerSettings);void 0===X.fn.dimmer?L.error(d.dimmer):(L.debug("Creating dimmer"),p=o.dimmer(e),D=L.is.scrolling(),r.detachable?(L.verbose("Modal is detachable, moving content into dimmer"),p.dimmer("add content",u)):L.set.undetached(),v=p.dimmer("get dimmer"))},id:function(){N=(Math.random().toString(16)+"000000000").slice(2,10),F="."+N,L.verbose("Creating unique id for element",N)},innerDimmer:function(){0===u.find(a.dimmer).length&&X("<div/>",{class:c.innerDimmer}).prependTo(u)}},destroy:function(){E&&E.disconnect(),L.verbose("Destroying previous modal"),u.removeData(t).off(i),q.off(F),o.off(F),v.off(F),n.off(F),f&&f.off(F),o.dimmer("destroy")},observeChanges:function(){(E=new MutationObserver(function(e){function o(n){let i=[];for(let e=0,t=n.length;e<t;e++)Array.prototype.push.apply(i,o(n[e].childNodes)),i.push(n[e]);return i}let i=!1,s=!1,a=!0;e.every(function(n){if("attributes"===n.type)O&&("disabled"===n.attributeName||0<X(n.target).find(":input").addBack(":input").filter(":visible").length)&&(s=!0);else{i=!0;let e=X(o(n.addedNodes)).filter("a[href], [tabindex], :input:enabled").filter(":visible"),t=X(o(n.removedNodes)).filter("a[href], [tabindex], :input");(0<e.length||0<t.length)&&(s=!0,(0<e.filter(":input").length||0<t.filter(":input").length)&&(a=!1))}return!s}),i&&r.observeChanges&&(L.debug("DOM tree modified, refreshing"),L.refresh()),s&&L.refreshInputs(a)})).observe(y,{attributeFilter:["class","disabled"],attributes:!0,childList:!0,subtree:!0}),L.debug("Setting up mutation observer",E)},refresh:function(){L.remove.scrolling(),L.cacheSizes(),L.can.useFlex()||L.set.modalOffset(),L.set.screenHeight(),L.set.type()},refreshModals:function(){h=u.siblings(a.modal),m=h.add(u)},refreshInputs:function(e){f&&f.off("keydown"+F),0===(f=u.find("a[href], [tabindex], :input:enabled").filter(":visible").filter(function(){return 0===X(this).closest(".disabled").length})).filter(":input").length?(f=u.add(f),u.attr("tabindex",-1)):u.removeAttr("tabindex"),f.first().on("keydown"+F,L.event.inputKeyDown.first),f.last().on("keydown"+F,L.event.inputKeyDown.last),!e&&r.autofocus&&0===f.filter(":focus").length&&L.set.autofocus()},attachEvents:function(e,t){let n=X(e);t=$(L[t])?L[t]:L.toggle,0<n.length?(L.debug("Attaching modal events to element",e,t),n.off(i).on("click"+i,t)):L.error(d.notFound,e)},bind:{events:function(){L.verbose("Attaching events"),u.on("click"+i,a.close,L.event.close).on("click"+i,a.approve,L.event.approve).on("click"+i,a.deny,L.event.deny),n.on("keyup"+F,L.event.closeKeyUp),q.on("resize"+F,L.event.resize).on("focus"+F,L.event.focus),o.on("click"+F,L.event.click)},scrollLock:function(){p[0].addEventListener("touchmove",L.event.preventScroll,{passive:!1})}},unbind:{scrollLock:function(){p[0].removeEventListener("touchmove",L.event.preventScroll,{passive:!1})}},get:{id:function(){return N},element:function(){return u},settings:function(){return r}},event:{approve:function(){x||!1===r.onApprove.call(y,X(this))?L.verbose("Approve callback returned false cancelling hide"):(x=!0,L.hide(function(){x=!1}))},preventScroll:function(e){-1!==e.target.className.indexOf("dimmer")&&e.preventDefault()},deny:function(){x||!1===r.onDeny.call(y,X(this))?L.verbose("Deny callback returned false cancelling hide"):(x=!0,L.hide(function(){x=!1}))},close:function(){L.hide()},closeKeyUp:function(e){e=e.which;e!==r.keys.enter&&e!==r.keys.space||!u.hasClass(c.front)||L.hide()},inputKeyDown:{first:function(e){e.which===r.keys.tab&&e.shiftKey&&(f.last().trigger("focus"),e.preventDefault())},last:function(e){e.which!==r.keys.tab||e.shiftKey||(f.first().trigger("focus"),e.preventDefault())}},mousedown:function(e){let t=X(e.target);var n=L.is.rtl();(w=0<t.closest(a.modal).length)&&L.verbose("Mouse down event registered inside the modal"),(C=L.is.scrolling()&&(!n&&q.outerWidth()-r.scrollbarWidth<=e.clientX||n&&r.scrollbarWidth>=e.clientX))&&L.verbose("Mouse down event registered inside the scrollbar")},mouseup:function(t){if(r.closable)if(w)L.debug("Dimmer clicked but mouse down was initially registered inside the modal");else if(C)L.debug("Dimmer clicked but mouse down was initially registered inside the scrollbar");else{let e=X(t.target);var n=0<e.closest(a.modal).length,t=X.contains(Q.documentElement,t.target);if(!n&&t&&L.is.active()&&u.hasClass(c.front)){if(L.debug("Dimmer clicked, hiding all modals"),r.allowMultiple){if(!L.hideAll())return}else if(!L.hide())return;L.remove.clickaway()}}else L.verbose("Dimmer clicked but closable setting is disabled")},debounce:function(e,t){clearTimeout(L.timer),L.timer=setTimeout(function(){e()},t)},keyboard:function(e){e.which===r.keys.escape&&(r.closable?(L.debug("Escape key pressed hiding modal"),u.hasClass(c.front)&&L.hide()):L.debug("Escape key pressed, but closable is set to false"),e.preventDefault())},resize:function(){p.dimmer("is active")&&(L.is.animating()||L.is.active())&&requestAnimationFrame(L.refresh)},focus:function(){H=!0},click:function(e){H&&Q.activeElement!==e.target&&p.dimmer("is active")&&L.is.active()&&r.autofocus&&0===X(Q.activeElement).closest(a.modal).length&&requestAnimationFrame(L.set.autofocus),H=!1}},toggle:function(){L.is.active()||L.is.animating()?L.hide():L.show()},show:function(e){e=$(e)?e:function(){},L.refreshModals(),L.set.dimmerSettings(),L.set.dimmerStyles(),L.showModal(e)},hide:function(e){return e=$(e)?e:function(){},L.refreshModals(),L.hideModal(e)},showModal:function(e){e=$(e)?e:function(){},L.is.animating()||!L.is.active()?!1===r.onShow.call(y)?L.verbose("Show callback returned false cancelling show"):(T=L.has.scrollbar(),L.showDimmer(),L.cacheSizes(),T&&L.set.bodyMargin(),L.can.useFlex()?L.remove.legacy():(L.set.legacy(),L.set.modalOffset(),L.debug("Using non-flex legacy modal positioning.")),L.set.screenHeight(),L.set.type(),L.set.clickaway(),!r.allowMultiple&&L.others.active()?L.hideOthers(L.showModal):(x=!1,r.allowMultiple&&(L.others.active()&&h.filter("."+c.active).find(a.dimmer).removeClass("out").addClass("transition fade in active"),r.detachable&&u.detach().appendTo(v)),r.transition&&void 0!==X.fn.transition?(L.debug("Showing modal with css animations"),L.set.observeAttributes(!1),u.transition({debug:r.debug,verbose:r.verbose,silent:r.silent,animation:(r.transition.showMethod||r.transition)+" in",queue:r.queue,duration:r.transition.showDuration||r.duration,useFailSafe:!0,onComplete:function(){r.onVisible.apply(y),r.keyboardShortcuts&&L.add.keyboardShortcuts(),L.save.focus(),L.set.active(),L.refreshInputs(),requestAnimationFrame(L.set.observeAttributes),e()}})):L.error(d.noTransition))):L.debug("Modal is already visible")},hideModal:function(e,t,n){let i=h.filter("."+c.active).last();if(e=$(e)?e:function(){},!1===r.onHide.call(y,X(this)))return L.verbose("Hide callback returned false cancelling hide"),x=!1;(L.is.animating()||L.is.active())&&(L.debug("Hiding modal"),r.transition&&void 0!==X.fn.transition?(L.remove.active(),L.set.observeAttributes(!1),u.transition({debug:r.debug,verbose:r.verbose,silent:r.silent,animation:(r.transition.hideMethod||r.transition)+" out",queue:r.queue,duration:r.transition.hideDuration||r.duration,useFailSafe:!0,onStart:function(){L.others.active()||L.others.animating()||t?r.allowMultiple&&(n?m:i).find(a.dimmer).removeClass("in").addClass("out"):L.hideDimmer(),r.keyboardShortcuts&&!L.others.active()&&L.remove.keyboardShortcuts()},onComplete:function(){L.unbind.scrollLock(),L.remove.active(),r.allowMultiple&&(i.addClass(c.front),u.removeClass(c.front),(n?m:i).find(a.dimmer).removeClass("active")),$(r.onHidden)&&r.onHidden.call(y),L.remove.dimmerStyles(),L.restore.focus(),e()}})):L.error(d.noTransition))},showDimmer:function(){p.dimmer("is animating")||!p.dimmer("is active")?(T&&(s||v.css("top",p.scrollTop()),L.save.bodyMargin()),L.debug("Showing dimmer"),p.dimmer("show")):L.debug("Dimmer already visible")},hideDimmer:function(){p.dimmer("is animating")||p.dimmer("is active")?(L.unbind.scrollLock(),p.dimmer("hide",function(){T&&L.restore.bodyMargin(),L.remove.clickaway(),L.remove.screenHeight()})):L.debug("Dimmer is not visible cannot hide")},hideAll:function(i){let e=m.filter("."+c.active+", ."+c.animating);if(i=$(i)?i:function(){},0<e.length){L.debug("Hiding all visible modals");let n=!0;return X(e.get().reverse()).each(function(e,t){n=n&&X(t).modal("hide modal",i,!1,!0)}),n&&L.hideDimmer(),n}},hideOthers:function(e){let t=h.filter("."+c.active+", ."+c.animating);e=$(e)?e:function(){},0<t.length&&(L.debug("Hiding other modals",h),t.modal("hide modal",e,!0))},others:{active:function(){return 0<h.filter("."+c.active).length},animating:function(){return 0<h.filter("."+c.animating).length}},add:{keyboardShortcuts:function(){L.verbose("Adding keyboard shortcuts"),I.on("keydown"+i,L.event.keyboard)}},save:{focus:function(){let e=X(Q.activeElement);0<e.closest(u).length||(g=X(Q.activeElement).trigger("blur"))},bodyMargin:function(){S=o.css((s?"margin-":"padding-")+(L.can.leftBodyScrollbar()?"left":"right")),M=parseInt(S.replace(/[^\d.]/g,""),10);var e=s?_.innerWidth-Q.documentElement.clientWidth:o[0].offsetWidth-o[0].clientWidth;A=M+e}},restore:{focus:function(){g&&0<g.length&&r.restoreFocus&&g.trigger("focus")},bodyMargin:function(){let n=L.can.leftBodyScrollbar()?"left":"right";o.css((s?"margin-":"padding-")+n,0===M?"":S),o.find(a.bodyFixed.replace("right",n)).each(function(){let e=X(this);var t="fixed"===e.css("position")?"padding-"+n:n;e.css(t,"")})}},remove:{active:function(){u.removeClass(c.active)},legacy:function(){u.removeClass(c.legacy)},clickaway:function(){r.detachable||u.off("mousedown"+F),v.off("mousedown"+F),v.off("mouseup"+F)},dimmerStyles:function(){v.removeClass(c.inverted),p.removeClass(c.blurring)},bodyStyle:function(){""===o.attr("style")&&(L.verbose("Removing style attribute"),o.removeAttr("style"))},screenHeight:function(){L.debug("Removing page height"),o.css("height",""),L.remove.bodyStyle()},keyboardShortcuts:function(){L.verbose("Removing keyboard shortcuts"),I.off("keydown"+i)},scrolling:function(){D||p.removeClass(c.scrolling),u.removeClass(c.scrolling)}},cacheSizes:function(){u.addClass(c.loading);var e=u.prop("scrollHeight"),t=u.outerWidth(),n=u.outerHeight();void 0!==L.cache.pageHeight&&0===n||(X.extend(L.cache,{pageHeight:I.outerHeight(),width:t,height:n+r.offset,scrollHeight:e+r.offset,contextHeight:(s?q:p).height()}),L.cache.topOffset=-L.cache.height/2),u.removeClass(c.loading),L.debug("Caching modal and container sizes",L.cache)},helpers:{escape:function(e,t){if(void 0!==t&&t.preserveHTML)return e;const n={'"':"&quot;","&":"&amp;","'":"&apos;","<":"&lt;",">":"&gt;"};return String(e).replace(/["&'<>]/g,e=>n[e])}},can:{leftBodyScrollbar:function(){return void 0===L.cache.leftBodyScrollbar&&(L.cache.leftBodyScrollbar=L.is.rtl()&&(L.is.iframe&&!L.is.firefox()||L.is.safari())),L.cache.leftBodyScrollbar},useFlex:function(){return"auto"===r.useFlex?r.detachable:(r.useFlex&&!r.detachable&&L.debug("useFlex true in combination with detachable false is not supported"),r.useFlex)},fit:function(){var e=L.cache.contextHeight,t=L.cache.contextHeight/2,n=L.cache.topOffset,i=L.cache.scrollHeight,o=L.cache.height,s=r.padding;return o<i?t+n+i+s<e:o+2*s<e}},has:{configActions:function(){return Array.isArray(r.actions)&&0<r.actions.length},scrollbar:function(){return s||"hidden"!==o.css("overflow-y")}},is:{active:function(){return u.hasClass(c.active)},animating:function(){return u.transition("is animating")},scrolling:function(){return p.hasClass(c.scrolling)},rtl:function(){return void 0===L.cache.isRTL&&(L.cache.isRTL="rtl"===u.attr("dir")||"rtl"===u.css("direction")||"rtl"===B.attr("dir")||"rtl"===B.css("direction")||"rtl"===o.attr("dir")||"rtl"===o.css("direction")),L.cache.isRTL},safari:function(){return void 0===L.cache.isSafari&&(L.cache.isSafari=/constructor/i.test(_.HTMLElement)||!!_.ApplePaySession),L.cache.isSafari},firefox:function(){return void 0===L.cache.isFirefox&&(L.cache.isFirefox=!!_.InstallTrigger),L.cache.isFirefox},iframe:function(){return!(self===top)}},set:{observeAttributes:function(e){O=!1!==e},autofocus:function(){let e=f.filter("[autofocus]"),t=f.filter(":input"),n=(0<e.length?e:0<t.length?t:u).first();n.trigger("focus")},bodyMargin:function(){let n=L.can.leftBodyScrollbar()?"left":"right";(r.detachable||L.can.fit())&&o.css((s?"margin-":"padding-")+n,A+"px"),o.find(a.bodyFixed.replace("right",n)).each(function(){let e=X(this);var t="fixed"===e.css("position")?"padding-"+n:n;e.css(t,"calc("+e.css(t)+" + "+A+"px)")})},clickaway:function(){r.detachable||u.on("mousedown"+F,L.event.mousedown),v.on("mousedown"+F,L.event.mousedown),v.on("mouseup"+F,L.event.mouseup)},dimmerSettings:function(){if(void 0===X.fn.dimmer)L.error(d.dimmer);else{var t={debug:r.debug,dimmerName:"modals",closable:"auto",useFlex:L.can.useFlex(),duration:{show:r.transition.showDuration||r.duration,hide:r.transition.hideDuration||r.duration}};let e=X.extend(!0,t,r.dimmerSettings);r.inverted&&(e.variation=void 0!==e.variation?e.variation+" inverted":"inverted"),o.dimmer("setting",e)}},dimmerStyles:function(){r.inverted?v.addClass(c.inverted):v.removeClass(c.inverted),r.blurring?p.addClass(c.blurring):p.removeClass(c.blurring)},modalOffset:function(){var e;r.detachable?u.css({marginTop:!u.hasClass("aligned")&&L.can.fit()?-L.cache.height/2:r.padding/2,marginLeft:-L.cache.width/2}):(e=L.can.fit(),u.css({top:!u.hasClass("aligned")&&e?I.scrollTop()+(L.cache.contextHeight-L.cache.height)/2:!e||u.hasClass("top")?I.scrollTop()+r.padding:I.scrollTop()+(L.cache.contextHeight-L.cache.height-r.padding),marginLeft:-L.cache.width/2})),L.verbose("Setting modal offset for legacy mode")},screenHeight:function(){L.can.fit()?o.css("height",""):u.hasClass("bottom")||(L.debug("Modal is taller than page content, resizing page height"),o.css("height",L.cache.height+2*r.padding+"px"))},active:function(){u.addClass(c.active+" "+c.front),h.filter("."+c.active).removeClass(c.front)},scrolling:function(){p.addClass(c.scrolling),u.addClass(c.scrolling),L.unbind.scrollLock()},legacy:function(){u.addClass(c.legacy)},type:function(){L.can.fit()?(L.verbose("Modal fits on screen"),L.others.active()||L.others.animating()||(L.remove.scrolling(),L.bind.scrollLock())):u.hasClass("bottom")?L.verbose("Bottom aligned modal not fitting on screen is unsupported for scrolling"):(L.verbose("Modal cannot fit on screen setting to scrolling"),L.set.scrolling())},undetached:function(){p.addClass(c.undetached)}},setting:function(e,t){if(L.debug("Changing setting",e,t),X.isPlainObject(e))X.extend(!0,r,e);else{if(void 0===t)return r[e];X.isPlainObject(r[e])?X.extend(!0,r[e],t):r[e]=t}},internal:function(e,t){if(X.isPlainObject(e))X.extend(!0,L,e);else{if(void 0===t)return L[e];L[e]=t}},debug:function(){!r.silent&&r.debug&&(r.performance?L.performance.log(arguments):(L.debug=Function.prototype.bind.call(console.info,console,r.name+":"),L.debug.apply(console,arguments)))},verbose:function(){!r.silent&&r.verbose&&r.debug&&(r.performance?L.performance.log(arguments):(L.verbose=Function.prototype.bind.call(console.info,console,r.name+":"),L.verbose.apply(console,arguments)))},error:function(){r.silent||(L.error=Function.prototype.bind.call(console.error,console,r.name+":"),L.error.apply(console,arguments))},performance:{log:function(e){var t,n;r.performance&&(n=(t=Date.now())-(W||t),W=t,j.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:y,"Execution Time":n})),clearTimeout(L.performance.timer),L.performance.timer=setTimeout(function(){L.performance.display()},500)},display:function(){var e=r.name+":";let n=0;W=!1,clearTimeout(L.performance.timer),X.each(j,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",0<j.length&&(console.groupCollapsed(e),console.table?console.table(j):X.each(j,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),j=[]}},invoke:function(i,e,t){let o=k,s,a,n;return e=e||R,t=t||y,"string"==typeof i&&void 0!==o&&(i=i.split(/[ .]/),s=i.length-1,X.each(i,function(e,t){var n=e!==s?t+i[e+1].charAt(0).toUpperCase()+i[e+1].slice(1):i;if(X.isPlainObject(o[n])&&e!==s)o=o[n];else{if(void 0!==o[n])return a=o[n],!1;{if(!X.isPlainObject(o[t])||e===s)return void 0!==o[t]?a=o[t]:L.error(d.method,i),!1;o=o[t]}}})),$(a)?n=a.apply(t,e):void 0!==a&&(n=a),Array.isArray(V)?V.push(n):void 0!==V?V=[V,n]:void 0!==n&&(V=n),a}},K?(void 0===k&&($(r.templates[P])&&(r.autoShow=!0,r.className.modal=r.className.template,r=X.extend(!0,{},r,r.templates[P].apply(L,R)),c=r.className,r.namespace,l=r.fields,d=r.error),L.initialize()),$(r.templates[P])||L.invoke(P)):(void 0!==k&&k.invoke("destroy"),L.initialize(),V=u)}),void 0!==V?V:this},X.modal=X.fn.modal,X.fn.modal.settings={name:"Modal",namespace:"modal",useFlex:"auto",offset:0,silent:!1,debug:!1,verbose:!1,performance:!0,observeChanges:!1,allowMultiple:!1,detachable:!0,closable:!0,autofocus:!0,restoreFocus:!0,autoShow:!1,inverted:!1,blurring:!1,centered:!0,dimmerSettings:{closable:!1,useCSS:!0},keyboardShortcuts:!0,context:"body",queue:!1,duration:500,transition:"scale",padding:50,scrollbarWidth:10,title:"",content:"",class:"",classTitle:"",classContent:"",classActions:"",closeIcon:!1,actions:!1,preserveHTML:!1,fields:{class:"class",text:"text",icon:"icon",click:"click"},onShow:function(){},onVisible:function(){},onHide:function(){return!0},onHidden:!1,onApprove:function(){return!0},onDeny:function(){return!0},keys:{space:32,enter:13,escape:27,tab:9},selector:{title:"> .header",content:"> .content",actions:"> .actions",close:"> .close",closeIcon:"> .close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel",modal:".ui.modal",dimmer:"> .ui.dimmer",bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",prompt:".ui.input > input"},error:{dimmer:"UI Dimmer, a required component is not included in this page",method:"The method you called is not defined.",notFound:"The element you specified could not be found"},className:{active:"active",animating:"animating",blurring:"blurring",inverted:"inverted",legacy:"legacy",loading:"loading",scrolling:"scrolling",undetached:"undetached",front:"front",close:"close icon",button:"ui button",modal:"ui modal",title:"header",content:"content",actions:"actions",template:"ui tiny modal",ok:"positive",cancel:"negative",prompt:"ui fluid input",innerDimmer:"ui inverted dimmer"},text:{ok:"Ok",cancel:"Cancel",close:"Close"}},X.fn.modal.settings.templates={getArguments:function(e){let t=[].slice.call(e);return X.isPlainObject(t[0])?X.extend({handler:function(){},content:"",title:""},t[0]):($(t[t.length-1])||t.push(function(){}),{handler:t.pop(),content:t.pop()||"",title:t.pop()||""})},alert:function(){let e=this.get.settings();var t=e.templates.getArguments(arguments),n=t.handler;return{title:t.title,content:t.content,onApprove:n,actions:[{text:e.text.ok,class:e.className.ok,click:n}]}},confirm:function(){let e=this.get.settings(),t=e.templates.getArguments(arguments);function n(){t.handler(!0)}function i(){t.handler(!1)}return{title:t.title,content:t.content,onApprove:n,onDeny:i,actions:[{text:e.text.ok,class:e.className.ok,click:n},{text:e.text.cancel,class:e.className.cancel,click:i}]}},prompt:function(){let t=this,e=this.get.settings(),n=e.templates.getArguments(arguments);function i(){var e=t.get.settings(),e=t.get.element().find(e.selector.prompt)[0];n.handler(X(e).val())}function o(){n.handler(null)}return 0===X(X.parseHTML(n.content)).filter(".ui.input").length&&(n.content+='<p><div class="'+this.helpers.escape(e.className.prompt)+'"><input placeholder="'+this.helpers.escape(n.placeholder||"")+'" type="text" value="'+this.helpers.escape(n.defaultValue||"")+'"></div></p>'),{title:n.title,content:n.content,onApprove:i,onDeny:o,actions:[{text:e.text.ok,class:e.className.ok,click:i},{text:e.text.cancel,class:e.className.cancel,click:o}]}}}}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.4+fcf090f - Nag
2
+ * # Fomantic-UI 2.10.0-beta.41+1ceee9c - Nag
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.4+fcf090f - Nag
2
+ * # Fomantic-UI 2.10.0-beta.41+1ceee9c - Nag
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -20,53 +20,49 @@
20
20
  : globalThis;
21
21
 
22
22
  $.fn.nag = function (parameters) {
23
- var
24
- $allModules = $(this),
25
- $body = $('body'),
26
-
27
- time = Date.now(),
28
- performance = [],
29
-
30
- query = arguments[0],
31
- methodInvoked = typeof query === 'string',
32
- queryArguments = [].slice.call(arguments, 1),
33
- contextCheck = function (context, win) {
34
- var $context;
35
- if ([window, document].indexOf(context) >= 0) {
36
- $context = $(context);
37
- } else {
38
- $context = $(win.document).find(context);
39
- if ($context.length === 0) {
40
- $context = win.frameElement ? contextCheck(context, win.parent) : $body;
41
- }
23
+ let $allModules = $(this);
24
+ let $body = $('body');
25
+
26
+ let time = Date.now();
27
+ let performance = [];
28
+
29
+ let query = arguments[0];
30
+ let methodInvoked = typeof query === 'string';
31
+ let queryArguments = [].slice.call(arguments, 1);
32
+ let contextCheck = function (context, win) {
33
+ let $context;
34
+ if ([window, document].indexOf(context) >= 0) {
35
+ $context = $(context);
36
+ } else {
37
+ $context = $(win.document).find(context);
38
+ if ($context.length === 0) {
39
+ $context = win.frameElement ? contextCheck(context, win.parent) : $body;
42
40
  }
41
+ }
43
42
 
44
- return $context;
45
- },
46
- returnedValue
47
- ;
43
+ return $context;
44
+ };
45
+ let returnedValue;
48
46
  $allModules.each(function () {
49
- var
50
- settings = $.isPlainObject(parameters)
51
- ? $.extend(true, {}, $.fn.nag.settings, parameters)
52
- : $.extend({}, $.fn.nag.settings),
47
+ let settings = $.isPlainObject(parameters)
48
+ ? $.extend(true, {}, $.fn.nag.settings, parameters)
49
+ : $.extend({}, $.fn.nag.settings);
53
50
 
54
- selector = settings.selector,
55
- error = settings.error,
56
- namespace = settings.namespace,
51
+ let selector = settings.selector;
52
+ let error = settings.error;
53
+ let namespace = settings.namespace;
57
54
 
58
- eventNamespace = '.' + namespace,
59
- moduleNamespace = namespace + '-module',
55
+ let eventNamespace = '.' + namespace;
56
+ let moduleNamespace = namespace + '-module';
60
57
 
61
- $module = $(this),
58
+ let $module = $(this);
62
59
 
63
- $context = settings.context ? contextCheck(settings.context, window) : $body,
60
+ let $context = settings.context ? contextCheck(settings.context, window) : $body;
64
61
 
65
- element = this,
66
- instance = $module.data(moduleNamespace),
67
- storage,
68
- module
69
- ;
62
+ let element = this;
63
+ let instance = $module.data(moduleNamespace);
64
+ let storage;
65
+ let module;
70
66
  module = {
71
67
 
72
68
  initialize: function () {
@@ -77,14 +73,12 @@
77
73
  storage = module.get.storage();
78
74
  $module
79
75
  .on('click' + eventNamespace, selector.close, module.dismiss)
80
- .data(moduleNamespace, module)
81
- ;
76
+ .data(moduleNamespace, module);
82
77
 
83
78
  if (settings.detachable && $module.parent()[0] !== $context[0]) {
84
79
  $module
85
80
  .detach()
86
- .prependTo($context)
87
- ;
81
+ .prependTo($context);
88
82
  }
89
83
 
90
84
  if (settings.displayTime > 0) {
@@ -99,8 +93,7 @@
99
93
  module.verbose('Destroying instance');
100
94
  $module
101
95
  .removeData(moduleNamespace)
102
- .off(eventNamespace)
103
- ;
96
+ .off(eventNamespace);
104
97
  },
105
98
 
106
99
  show: function () {
@@ -113,12 +106,10 @@
113
106
  module.debug('Showing nag', settings.animation.show);
114
107
  if (settings.animation.show === 'fade') {
115
108
  $module
116
- .fadeIn(settings.duration, settings.easing, settings.onVisible)
117
- ;
109
+ .fadeIn(settings.duration, settings.easing, settings.onVisible);
118
110
  } else {
119
111
  $module
120
- .slideDown(settings.duration, settings.easing, settings.onVisible)
121
- ;
112
+ .slideDown(settings.duration, settings.easing, settings.onVisible);
122
113
  }
123
114
  }
124
115
  },
@@ -132,12 +123,10 @@
132
123
  module.debug('Hiding nag', settings.animation.hide);
133
124
  if (settings.animation.hide === 'fade') {
134
125
  $module
135
- .fadeOut(settings.duration, settings.easing, settings.onHidden)
136
- ;
126
+ .fadeOut(settings.duration, settings.easing, settings.onHidden);
137
127
  } else {
138
128
  $module
139
- .slideUp(settings.duration, settings.easing, settings.onHidden)
140
- ;
129
+ .slideUp(settings.duration, settings.easing, settings.onHidden);
141
130
  }
142
131
  },
143
132
 
@@ -200,14 +189,12 @@
200
189
  // RFC6265 compliant encoding
201
190
  key = encodeURIComponent(key)
202
191
  .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)
203
- .replace(/[()]/g, escape)
204
- ;
192
+ .replace(/[()]/g, escape);
205
193
  value = encodeURIComponent(value)
206
- .replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[B-D])/g, decodeURIComponent)
207
- ;
194
+ .replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[B-D])/g, decodeURIComponent);
208
195
 
209
- var cookieOptions = '';
210
- for (var option in options) {
196
+ let cookieOptions = '';
197
+ for (let option in options) {
211
198
  if (Object.prototype.hasOwnProperty.call(options, option)) {
212
199
  cookieOptions += '; ' + option;
213
200
  if (typeof options[option] === 'string') {
@@ -218,12 +205,10 @@
218
205
  document.cookie = key + '=' + value + cookieOptions;
219
206
  },
220
207
  getItem: function (key) {
221
- var cookies = document.cookie.split('; ');
222
- for (var i = 0, il = cookies.length; i < il; i++) {
223
- var
224
- parts = cookies[i].split('='),
225
- foundKey = parts[0].replace(/(%[\da-f]{2})+/gi, decodeURIComponent)
226
- ;
208
+ let cookies = document.cookie.split('; ');
209
+ for (let i = 0, il = cookies.length; i < il; i++) {
210
+ let parts = cookies[i].split('=');
211
+ let foundKey = parts[0].replace(/(%[\da-f]{2})+/gi, decodeURIComponent);
227
212
  if (key === foundKey) {
228
213
  return parts[1] || '';
229
214
  }
@@ -238,9 +223,7 @@
238
223
  module.error(error.noStorage);
239
224
  },
240
225
  storageOptions: function () {
241
- var
242
- options = {}
243
- ;
226
+ let options = {};
244
227
  if (settings.expires) {
245
228
  options.expires = module.get.expirationDate(settings.expires);
246
229
  }
@@ -267,9 +250,7 @@
267
250
 
268
251
  storage: {
269
252
  set: function (key, value) {
270
- var
271
- options = module.get.storageOptions()
272
- ;
253
+ let options = module.get.storageOptions();
273
254
  if (storage === window.localStorage && options.expires) {
274
255
  module.debug('Storing expiration value in localStorage', key, options.expires);
275
256
  storage.setItem(key + settings.expirationKey, options.expires);
@@ -282,12 +263,10 @@
282
263
  }
283
264
  },
284
265
  get: function (key) {
285
- var
286
- storedValue
287
- ;
266
+ let storedValue;
288
267
  storedValue = storage.getItem(key);
289
268
  if (storage === window.localStorage) {
290
- var expiration = storage.getItem(key + settings.expirationKey);
269
+ let expiration = storage.getItem(key + settings.expirationKey);
291
270
  if (expiration !== null && expiration !== undefined && new Date(expiration) < new Date()) {
292
271
  module.debug('Value in localStorage has expired. Deleting key', key);
293
272
  module.storage.remove(key);
@@ -301,9 +280,7 @@
301
280
  return storedValue;
302
281
  },
303
282
  remove: function (key) {
304
- var
305
- options = module.get.storageOptions()
306
- ;
283
+ let options = module.get.storageOptions();
307
284
  options.expires = module.get.expirationDate(-1);
308
285
  if (storage === window.localStorage) {
309
286
  storage.removeItem(key + settings.expirationKey);
@@ -363,11 +340,9 @@
363
340
  },
364
341
  performance: {
365
342
  log: function (message) {
366
- var
367
- currentTime,
368
- executionTime,
369
- previousTime
370
- ;
343
+ let currentTime;
344
+ let executionTime;
345
+ let previousTime;
371
346
  if (settings.performance) {
372
347
  currentTime = Date.now();
373
348
  previousTime = time || currentTime;
@@ -386,10 +361,8 @@
386
361
  }, 500);
387
362
  },
388
363
  display: function () {
389
- var
390
- title = settings.name + ':',
391
- totalTime = 0
392
- ;
364
+ let title = settings.name + ':';
365
+ let totalTime = 0;
393
366
  time = false;
394
367
  clearTimeout(module.performance.timer);
395
368
  $.each(performance, function (index, data) {
@@ -411,22 +384,19 @@
411
384
  },
412
385
  },
413
386
  invoke: function (query, passedArguments, context) {
414
- var
415
- object = instance,
416
- maxDepth,
417
- found,
418
- response
419
- ;
387
+ let object = instance;
388
+ let maxDepth;
389
+ let found;
390
+ let response;
420
391
  passedArguments = passedArguments || queryArguments;
421
392
  context = context || element;
422
393
  if (typeof query === 'string' && object !== undefined) {
423
394
  query = query.split(/[ .]/);
424
395
  maxDepth = query.length - 1;
425
396
  $.each(query, function (depth, value) {
426
- var camelCaseValue = depth !== maxDepth
397
+ let camelCaseValue = depth !== maxDepth
427
398
  ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
428
- : query
429
- ;
399
+ : query;
430
400
  if ($.isPlainObject(object[camelCaseValue]) && (depth !== maxDepth)) {
431
401
  object = object[camelCaseValue];
432
402
  } else if (object[camelCaseValue] !== undefined) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.4+fcf090f - Nag
2
+ * # Fomantic-UI 2.10.0-beta.41+1ceee9c - Nag
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * # Fomantic UI - 2.10.0-beta.4+fcf090f
2
+ * # Fomantic UI - 2.10.0-beta.41+1ceee9c
3
3
  * https://github.com/fomantic/Fomantic-UI
4
4
  * https://fomantic-ui.com/
5
5
  *
@@ -8,4 +8,4 @@
8
8
  * https://opensource.org/licenses/MIT
9
9
  *
10
10
  */
11
- !function(w,S,D){"use strict";S=void 0!==S&&S.Math===Math?S:globalThis,w.fn.nag=function(g){var p,e=w(this),m=w("body"),f=Date.now(),h=[],v=g,b="string"==typeof v,y=[].slice.call(arguments,1),x=function(e,n){var o;return 0<=[S,D].indexOf(e)?o=w(e):0===(o=w(n.document).find(e)).length&&(o=n.frameElement?x(e,n.parent):m),o};return e.each(function(){var t,i=w.isPlainObject(g)?w.extend(!0,{},w.fn.nag.settings,g):w.extend({},w.fn.nag.settings),e=i.selector,c=i.error,n=i.namespace,o="."+n,a=n+"-module",r=w(this),s=i.context?x(i.context,S):m,l=this,d=r.data(a),u={initialize:function(){u.verbose("Initializing element"),"string"!=typeof i.value&&(i.value=JSON.stringify(i.value)),t=u.get.storage(),r.on("click"+o,e.close,u.dismiss).data(a,u),i.detachable&&r.parent()[0]!==s[0]&&r.detach().prependTo(s),0<i.displayTime&&setTimeout(function(){u.hide()},i.displayTime),u.show()},destroy:function(){u.verbose("Destroying instance"),r.removeData(a).off(o)},show:function(){if(u.should.show()&&!r.is(":visible")){if(!1===i.onShow.call(l))return u.debug("onShow callback returned false, cancelling nag animation"),!1;u.debug("Showing nag",i.animation.show),"fade"===i.animation.show?r.fadeIn(i.duration,i.easing,i.onVisible):r.slideDown(i.duration,i.easing,i.onVisible)}},hide:function(){if(!1===i.onHide.call(l))return u.debug("onHide callback returned false, cancelling nag animation"),!1;u.debug("Hiding nag",i.animation.hide),"fade"===i.animation.hide?r.fadeOut(i.duration,i.easing,i.onHidden):r.slideUp(i.duration,i.easing,i.onHidden)},dismiss:function(e){!1!==u.hide()&&i.storageMethod&&(u.debug("Dismissing nag",i.storageMethod,i.key,i.value,i.expires),u.storage.set(i.key,i.value)),e&&(e.stopImmediatePropagation(),e.preventDefault())},should:{show:function(){return i.persist?(u.debug("Persistent nag is set, can show nag"),!0):u.storage.get(i.key)!=i.value.toString()?(u.debug("Stored value is not set, can show nag",u.storage.get(i.key)),!0):(u.debug("Stored value is set, cannot show nag",u.storage.get(i.key)),!1)}},get:{expirationDate:function(e){if((e="number"==typeof e?new Date(Date.now()+864e5*e):e)instanceof Date&&e.getTime())return e.toUTCString();u.error(c.expiresFormat)},storage:function(){return"localstorage"===i.storageMethod&&void 0!==S.localStorage?(u.debug("Using local storage"),S.localStorage):"sessionstorage"===i.storageMethod&&void 0!==S.sessionStorage?(u.debug("Using session storage"),S.sessionStorage):"cookie"in D?(u.debug("Using cookie"),{setItem:function(e,n,o){e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),n=encodeURIComponent(n).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[B-D])/g,decodeURIComponent);var t,i="";for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(i+="; "+t,"string"==typeof o[t]&&(i+="="+o[t].split(";")[0]));D.cookie=e+"="+n+i},getItem:function(e){for(var n=D.cookie.split("; "),o=0,t=n.length;o<t;o++){var i=n[o].split("=");if(e===i[0].replace(/(%[\da-f]{2})+/gi,decodeURIComponent))return i[1]||""}},removeItem:function(e,n){t.setItem(e,"",n)}}):void u.error(c.noStorage)},storageOptions:function(){var e={};return i.expires&&(e.expires=u.get.expirationDate(i.expires)),i.domain&&(e.domain=i.domain),i.path&&(e.path=i.path),i.secure&&(e.secure=i.secure),i.samesite&&(e.samesite=i.samesite),e}},clear:function(){u.storage.remove(i.key)},storage:{set:function(e,n){var o=u.get.storageOptions();t===S.localStorage&&o.expires&&(u.debug("Storing expiration value in localStorage",e,o.expires),t.setItem(e+i.expirationKey,o.expires)),u.debug("Value stored",e,n);try{t.setItem(e,n,o)}catch(e){u.error(c.setItem,e)}},get:function(e){var n,o=t.getItem(e);return t===S.localStorage&&null!=(n=t.getItem(e+i.expirationKey))&&new Date(n)<new Date&&(u.debug("Value in localStorage has expired. Deleting key",e),u.storage.remove(e),o=null),o="undefined"!==o&&"null"!==o&&null!=o?o:void 0},remove:function(e){var n=u.get.storageOptions();n.expires=u.get.expirationDate(-1),t===S.localStorage&&t.removeItem(e+i.expirationKey),t.removeItem(e,n)}},setting:function(e,n){if(u.debug("Changing setting",e,n),w.isPlainObject(e))w.extend(!0,i,e);else{if(void 0===n)return i[e];w.isPlainObject(i[e])?w.extend(!0,i[e],n):i[e]=n}},internal:function(e,n){if(w.isPlainObject(e))w.extend(!0,u,e);else{if(void 0===n)return u[e];u[e]=n}},debug:function(){!i.silent&&i.debug&&(i.performance?u.performance.log(arguments):(u.debug=Function.prototype.bind.call(console.info,console,i.name+":"),u.debug.apply(console,arguments)))},verbose:function(){!i.silent&&i.verbose&&i.debug&&(i.performance?u.performance.log(arguments):(u.verbose=Function.prototype.bind.call(console.info,console,i.name+":"),u.verbose.apply(console,arguments)))},error:function(){i.silent||(u.error=Function.prototype.bind.call(console.error,console,i.name+":"),u.error.apply(console,arguments))},performance:{log:function(e){var n,o;i.performance&&(o=(n=Date.now())-(f||n),f=n,h.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:l,"Execution Time":o})),clearTimeout(u.performance.timer),u.performance.timer=setTimeout(function(){u.performance.display()},500)},display:function(){var e=i.name+":",o=0;f=!1,clearTimeout(u.performance.timer),w.each(h,function(e,n){o+=n["Execution Time"]}),e+=" "+o+"ms",0<h.length&&(console.groupCollapsed(e),console.table?console.table(h):w.each(h,function(e,n){console.log(n.Name+": "+n["Execution Time"]+"ms")}),console.groupEnd()),h=[]}},invoke:function(t,e,n){var i,a,o,r,s=d;return e=e||y,n=n||l,"string"==typeof t&&void 0!==s&&(t=t.split(/[ .]/),i=t.length-1,w.each(t,function(e,n){var o=e!==i?n+t[e+1].charAt(0).toUpperCase()+t[e+1].slice(1):t;if(w.isPlainObject(s[o])&&e!==i)s=s[o];else{if(void 0!==s[o])return a=s[o],!1;{if(!w.isPlainObject(s[n])||e===i)return void 0!==s[n]?a=s[n]:u.error(c.method,t),!1;s=s[n]}}})),"function"==typeof(r=a)&&"number"!=typeof r.nodeType?o=a.apply(n,e):void 0!==a&&(o=a),Array.isArray(p)?p.push(o):void 0!==p?p=[p,o]:void 0!==o&&(p=o),a}};b?(void 0===d&&u.initialize(),u.invoke(v)):(void 0!==d&&d.invoke("destroy"),u.initialize())}),void 0!==p?p:this},w.fn.nag.settings={name:"Nag",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"Nag",persist:!1,displayTime:0,animation:{show:"slide",hide:"slide"},context:!1,detachable:!1,expires:30,domain:!1,path:"/",secure:!1,samesite:!1,storageMethod:"cookie",key:"nag",value:"dismiss",expirationKey:"ExpirationDate",error:{noStorage:"Unsupported storage method",method:"The method you called is not defined.",setItem:"Unexpected error while setting value",expiresFormat:'"expires" must be a number of days or a Date Object'},className:{bottom:"bottom",fixed:"fixed"},selector:{close:"> .close.icon"},duration:500,easing:"easeOutQuad",onShow:function(){},onVisible:function(){},onHide:function(){},onHidden:function(){}},w.extend(w.easing,{easeOutQuad:function(e){return 1-(1-e)*(1-e)}})}(jQuery,window,document);
11
+ !function(w,S,D){"use strict";S=void 0!==S&&S.Math===Math?S:globalThis,w.fn.nag=function(g){let e=w(this),p=w("body"),m=Date.now(),f=[],h=g,b="string"==typeof h,v=[].slice.call(arguments,1),y=function(e,t){let n;return 0<=[S,D].indexOf(e)?n=w(e):0===(n=w(t.document).find(e)).length&&(n=t.frameElement?y(e,t.parent):p),n},x;return e.each(function(){let o=w.isPlainObject(g)?w.extend(!0,{},w.fn.nag.settings,g):w.extend({},w.fn.nag.settings),e=o.selector,l=o.error;var t=o.namespace;let n="."+t,i=t+"-module",a=w(this),r=o.context?y(o.context,S):p,c=this,d=a.data(i),s,u;u={initialize:function(){u.verbose("Initializing element"),"string"!=typeof o.value&&(o.value=JSON.stringify(o.value)),s=u.get.storage(),a.on("click"+n,e.close,u.dismiss).data(i,u),o.detachable&&a.parent()[0]!==r[0]&&a.detach().prependTo(r),0<o.displayTime&&setTimeout(function(){u.hide()},o.displayTime),u.show()},destroy:function(){u.verbose("Destroying instance"),a.removeData(i).off(n)},show:function(){if(u.should.show()&&!a.is(":visible")){if(!1===o.onShow.call(c))return u.debug("onShow callback returned false, cancelling nag animation"),!1;u.debug("Showing nag",o.animation.show),"fade"===o.animation.show?a.fadeIn(o.duration,o.easing,o.onVisible):a.slideDown(o.duration,o.easing,o.onVisible)}},hide:function(){if(!1===o.onHide.call(c))return u.debug("onHide callback returned false, cancelling nag animation"),!1;u.debug("Hiding nag",o.animation.hide),"fade"===o.animation.hide?a.fadeOut(o.duration,o.easing,o.onHidden):a.slideUp(o.duration,o.easing,o.onHidden)},dismiss:function(e){!1!==u.hide()&&o.storageMethod&&(u.debug("Dismissing nag",o.storageMethod,o.key,o.value,o.expires),u.storage.set(o.key,o.value)),e&&(e.stopImmediatePropagation(),e.preventDefault())},should:{show:function(){return o.persist?(u.debug("Persistent nag is set, can show nag"),!0):u.storage.get(o.key)!=o.value.toString()?(u.debug("Stored value is not set, can show nag",u.storage.get(o.key)),!0):(u.debug("Stored value is set, cannot show nag",u.storage.get(o.key)),!1)}},get:{expirationDate:function(e){if((e="number"==typeof e?new Date(Date.now()+864e5*e):e)instanceof Date&&e.getTime())return e.toUTCString();u.error(l.expiresFormat)},storage:function(){return"localstorage"===o.storageMethod&&void 0!==S.localStorage?(u.debug("Using local storage"),S.localStorage):"sessionstorage"===o.storageMethod&&void 0!==S.sessionStorage?(u.debug("Using session storage"),S.sessionStorage):"cookie"in D?(u.debug("Using cookie"),{setItem:function(e,t,n){e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),t=encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[B-D])/g,decodeURIComponent);let o="";for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(o+="; "+i,"string"==typeof n[i]&&(o+="="+n[i].split(";")[0]));D.cookie=e+"="+t+o},getItem:function(n){let o=D.cookie.split("; ");for(let t=0,e=o.length;t<e;t++){let e=o[t].split("=");if(n===e[0].replace(/(%[\da-f]{2})+/gi,decodeURIComponent))return e[1]||""}},removeItem:function(e,t){s.setItem(e,"",t)}}):void u.error(l.noStorage)},storageOptions:function(){let e={};return o.expires&&(e.expires=u.get.expirationDate(o.expires)),o.domain&&(e.domain=o.domain),o.path&&(e.path=o.path),o.secure&&(e.secure=o.secure),o.samesite&&(e.samesite=o.samesite),e}},clear:function(){u.storage.remove(o.key)},storage:{set:function(e,t){var n=u.get.storageOptions();s===S.localStorage&&n.expires&&(u.debug("Storing expiration value in localStorage",e,n.expires),s.setItem(e+o.expirationKey,n.expires)),u.debug("Value stored",e,t);try{s.setItem(e,t,n)}catch(e){u.error(l.setItem,e)}},get:function(e){let t;var n;return t=s.getItem(e),s===S.localStorage&&null!=(n=s.getItem(e+o.expirationKey))&&new Date(n)<new Date&&(u.debug("Value in localStorage has expired. Deleting key",e),u.storage.remove(e),t=null),t="undefined"!==t&&"null"!==t&&void 0!==t&&null!==t?t:void 0},remove:function(e){let t=u.get.storageOptions();t.expires=u.get.expirationDate(-1),s===S.localStorage&&s.removeItem(e+o.expirationKey),s.removeItem(e,t)}},setting:function(e,t){if(u.debug("Changing setting",e,t),w.isPlainObject(e))w.extend(!0,o,e);else{if(void 0===t)return o[e];w.isPlainObject(o[e])?w.extend(!0,o[e],t):o[e]=t}},internal:function(e,t){if(w.isPlainObject(e))w.extend(!0,u,e);else{if(void 0===t)return u[e];u[e]=t}},debug:function(){!o.silent&&o.debug&&(o.performance?u.performance.log(arguments):(u.debug=Function.prototype.bind.call(console.info,console,o.name+":"),u.debug.apply(console,arguments)))},verbose:function(){!o.silent&&o.verbose&&o.debug&&(o.performance?u.performance.log(arguments):(u.verbose=Function.prototype.bind.call(console.info,console,o.name+":"),u.verbose.apply(console,arguments)))},error:function(){o.silent||(u.error=Function.prototype.bind.call(console.error,console,o.name+":"),u.error.apply(console,arguments))},performance:{log:function(e){var t,n;o.performance&&(n=(t=Date.now())-(m||t),m=t,f.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:c,"Execution Time":n})),clearTimeout(u.performance.timer),u.performance.timer=setTimeout(function(){u.performance.display()},500)},display:function(){var e=o.name+":";let n=0;m=!1,clearTimeout(u.performance.timer),w.each(f,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",0<f.length&&(console.groupCollapsed(e),console.table?console.table(f):w.each(f,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),f=[]}},invoke:function(o,e,t){let i=d,a,r,n;var s;return e=e||v,t=t||c,"string"==typeof o&&void 0!==i&&(o=o.split(/[ .]/),a=o.length-1,w.each(o,function(e,t){var n=e!==a?t+o[e+1].charAt(0).toUpperCase()+o[e+1].slice(1):o;if(w.isPlainObject(i[n])&&e!==a)i=i[n];else{if(void 0!==i[n])return r=i[n],!1;{if(!w.isPlainObject(i[t])||e===a)return void 0!==i[t]?r=i[t]:u.error(l.method,o),!1;i=i[t]}}})),"function"==typeof(s=r)&&"number"!=typeof s.nodeType?n=r.apply(t,e):void 0!==r&&(n=r),Array.isArray(x)?x.push(n):void 0!==x?x=[x,n]:void 0!==n&&(x=n),r}},b?(void 0===d&&u.initialize(),u.invoke(h)):(void 0!==d&&d.invoke("destroy"),u.initialize())}),void 0!==x?x:this},w.fn.nag.settings={name:"Nag",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"Nag",persist:!1,displayTime:0,animation:{show:"slide",hide:"slide"},context:!1,detachable:!1,expires:30,domain:!1,path:"/",secure:!1,samesite:!1,storageMethod:"cookie",key:"nag",value:"dismiss",expirationKey:"ExpirationDate",error:{noStorage:"Unsupported storage method",method:"The method you called is not defined.",setItem:"Unexpected error while setting value",expiresFormat:'"expires" must be a number of days or a Date Object'},className:{bottom:"bottom",fixed:"fixed"},selector:{close:"> .close.icon"},duration:500,easing:"easeOutQuad",onShow:function(){},onVisible:function(){},onHide:function(){},onHidden:function(){}},w.extend(w.easing,{easeOutQuad:function(e){return 1-(1-e)*(1-e)}})}(jQuery,window,document);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.4+fcf090f - Placeholder
2
+ * # Fomantic-UI 2.10.0-beta.41+1ceee9c - Placeholder
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.4+fcf090f - Placeholder
2
+ * # Fomantic-UI 2.10.0-beta.41+1ceee9c - Placeholder
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * # Fomantic-UI 2.10.0-beta.4+fcf090f - Popup
2
+ * # Fomantic-UI 2.10.0-beta.41+1ceee9c - Popup
3
3
  * https://github.com/fomantic/Fomantic-UI/
4
4
  *
5
5
  *