fomantic-ui 2.9.1-beta.24 → 2.9.1-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslint/eqeqeq-rule.js +18 -0
- package/.eslint/index.js +3 -0
- package/.eslintrc.js +1 -2
- package/.stylelintrc.js +8 -12
- package/dist/components/accordion.css +3 -3
- package/dist/components/accordion.js +4 -4
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +19 -19
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +5 -5
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +18 -17
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +4 -4
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +3 -3
- package/dist/components/checkbox.js +11 -11
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +2 -2
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +2 -2
- package/dist/components/dimmer.js +9 -9
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +13 -13
- package/dist/components/dropdown.js +103 -91
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +5 -5
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +3547 -3547
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +265 -265
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +7 -7
- package/dist/components/flyout.js +10 -10
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +13 -13
- package/dist/components/form.js +77 -60
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +2 -2
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +2 -2
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +1960 -1960
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +2 -2
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +3 -3
- package/dist/components/item.min.css +2 -2
- package/dist/components/label.css +2 -2
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +4 -4
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +2 -2
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +2 -2
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +2 -2
- package/dist/components/modal.js +4 -4
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +5 -5
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +2 -2
- package/dist/components/popup.js +39 -31
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +12 -12
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +31 -31
- package/dist/components/rating.js +6 -6
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +13 -13
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +4 -4
- package/dist/components/search.js +16 -16
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +2 -2
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +5 -5
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +33 -33
- package/dist/components/sidebar.js +13 -13
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +18 -18
- package/dist/components/site.js +4 -4
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.js +50 -37
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +5 -5
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +3 -3
- package/dist/components/statistic.min.css +2 -2
- package/dist/components/step.css +4 -4
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +8 -8
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +17 -17
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +8 -2
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +4 -4
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +97 -97
- package/dist/components/transition.js +8 -8
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +12 -12
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +6078 -6074
- package/dist/semantic.js +464 -413
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/package.json +1 -1
- package/src/_site/modules/embed.variables +3 -0
- package/src/definitions/behaviors/api.js +18 -18
- package/src/definitions/behaviors/form.js +76 -59
- package/src/definitions/behaviors/state.js +4 -4
- package/src/definitions/behaviors/visibility.js +11 -11
- package/src/definitions/collections/breadcrumb.less +2 -2
- package/src/definitions/collections/form.less +12 -12
- package/src/definitions/collections/grid.less +7 -7
- package/src/definitions/collections/menu.less +4 -4
- package/src/definitions/collections/message.less +38 -38
- package/src/definitions/collections/table.less +3 -3
- package/src/definitions/elements/button.less +12 -12
- package/src/definitions/elements/container.less +2 -2
- package/src/definitions/elements/divider.less +2 -2
- package/src/definitions/elements/emoji.less +5 -5
- package/src/definitions/elements/flag.less +11 -11
- package/src/definitions/elements/header.less +2 -2
- package/src/definitions/elements/icon.less +22 -22
- package/src/definitions/elements/image.less +2 -2
- package/src/definitions/elements/input.less +2 -2
- package/src/definitions/elements/label.less +4 -4
- package/src/definitions/elements/list.less +3 -3
- package/src/definitions/elements/loader.less +2 -2
- package/src/definitions/elements/placeholder.less +2 -2
- package/src/definitions/elements/rail.less +2 -2
- package/src/definitions/elements/reveal.less +8 -8
- package/src/definitions/elements/segment.less +3 -3
- package/src/definitions/elements/step.less +2 -2
- package/src/definitions/elements/text.less +2 -2
- package/src/definitions/globals/reset.less +2 -2
- package/src/definitions/globals/site.js +3 -3
- package/src/definitions/globals/site.less +9 -9
- package/src/definitions/modules/accordion.js +3 -3
- package/src/definitions/modules/accordion.less +2 -2
- package/src/definitions/modules/calendar.js +17 -16
- package/src/definitions/modules/calendar.less +2 -2
- package/src/definitions/modules/checkbox.js +10 -10
- package/src/definitions/modules/checkbox.less +2 -2
- package/src/definitions/modules/dimmer.js +8 -8
- package/src/definitions/modules/dimmer.less +3 -3
- package/src/definitions/modules/dropdown.js +102 -90
- package/src/definitions/modules/dropdown.less +6 -6
- package/src/definitions/modules/embed.js +4 -4
- package/src/definitions/modules/embed.less +2 -2
- package/src/definitions/modules/flyout.js +9 -9
- package/src/definitions/modules/flyout.less +5 -5
- package/src/definitions/modules/modal.js +3 -3
- package/src/definitions/modules/modal.less +7 -7
- package/src/definitions/modules/nag.js +4 -4
- package/src/definitions/modules/nag.less +3 -3
- package/src/definitions/modules/popup.js +38 -30
- package/src/definitions/modules/popup.less +2 -2
- package/src/definitions/modules/progress.js +11 -11
- package/src/definitions/modules/progress.less +2 -2
- package/src/definitions/modules/rating.js +5 -5
- package/src/definitions/modules/rating.less +14 -10
- package/src/definitions/modules/search.js +15 -15
- package/src/definitions/modules/search.less +2 -2
- package/src/definitions/modules/shape.js +4 -4
- package/src/definitions/modules/shape.less +2 -2
- package/src/definitions/modules/sidebar.js +12 -12
- package/src/definitions/modules/sidebar.less +18 -18
- package/src/definitions/modules/slider.js +49 -36
- package/src/definitions/modules/slider.less +2 -2
- package/src/definitions/modules/sticky.js +7 -7
- package/src/definitions/modules/sticky.less +2 -2
- package/src/definitions/modules/tab.js +16 -16
- package/src/definitions/modules/tab.less +2 -2
- package/src/definitions/modules/toast.js +3 -3
- package/src/definitions/modules/toast.less +5 -5
- package/src/definitions/modules/transition.js +7 -7
- package/src/definitions/modules/transition.less +2 -2
- package/src/definitions/views/ad.less +2 -2
- package/src/definitions/views/card.less +16 -16
- package/src/definitions/views/comment.less +2 -2
- package/src/definitions/views/feed.less +2 -2
- package/src/definitions/views/item.less +3 -3
- package/src/definitions/views/statistic.less +2 -2
- package/src/semantic.less +54 -52
- package/src/theme.config.example +53 -53
- package/src/theme.less +13 -13
- package/src/themes/amazon/elements/button.variables +1 -1
- package/src/themes/amazon/globals/site.variables +5 -5
- package/src/themes/basic/elements/icon.overrides +4 -4
- package/src/themes/basic/elements/icon.variables +2 -2
- package/src/themes/basic/modules/progress.variables +2 -2
- package/src/themes/basic/views/card.variables +3 -3
- package/src/themes/bookish/elements/header.variables +1 -1
- package/src/themes/bootstrap3/elements/button.overrides +3 -0
- package/src/themes/bootstrap3/elements/button.variables +8 -8
- package/src/themes/chubby/collections/menu.overrides +3 -0
- package/src/themes/chubby/collections/menu.variables +2 -2
- package/src/themes/chubby/elements/button.overrides +4 -4
- package/src/themes/chubby/elements/header.variables +1 -1
- package/src/themes/chubby/modules/accordion.variables +1 -1
- package/src/themes/chubby/views/comment.overrides +1 -1
- package/src/themes/chubby/views/comment.variables +4 -4
- package/src/themes/classic/collections/table.variables +1 -1
- package/src/themes/classic/elements/button.variables +17 -17
- package/src/themes/classic/modules/progress.variables +1 -1
- package/src/themes/classic/views/card.overrides +13 -13
- package/src/themes/classic/views/card.variables +2 -2
- package/src/themes/colored/modules/checkbox.overrides +3 -0
- package/src/themes/colored/modules/checkbox.variables +1 -1
- package/src/themes/default/collections/grid.variables +1 -1
- package/src/themes/default/collections/menu.variables +2 -2
- package/src/themes/default/collections/table.overrides +3 -0
- package/src/themes/default/collections/table.variables +1 -1
- package/src/themes/default/elements/container.variables +9 -9
- package/src/themes/default/elements/divider.variables +2 -2
- package/src/themes/default/elements/emoji.variables +2 -2
- package/src/themes/default/elements/flag.variables +2 -2
- package/src/themes/default/elements/header.variables +15 -15
- package/src/themes/default/elements/icon.variables +1979 -1979
- package/src/themes/default/elements/label.variables +24 -24
- package/src/themes/default/elements/list.variables +3 -3
- package/src/themes/default/elements/loader.variables +8 -8
- package/src/themes/default/elements/rail.variables +2 -2
- package/src/themes/default/elements/segment.variables +1 -1
- package/src/themes/default/elements/step.overrides +2 -2
- package/src/themes/default/elements/step.variables +1 -1
- package/src/themes/default/globals/colors.less +450 -450
- package/src/themes/default/globals/site.variables +821 -821
- package/src/themes/default/modules/accordion.overrides +1 -1
- package/src/themes/default/modules/checkbox.overrides +2 -2
- package/src/themes/default/modules/dimmer.variables +7 -7
- package/src/themes/default/modules/dropdown.overrides +8 -8
- package/src/themes/default/modules/dropdown.variables +2 -2
- package/src/themes/default/modules/flyout.variables +1 -1
- package/src/themes/default/modules/modal.variables +1 -1
- package/src/themes/default/modules/popup.variables +1 -1
- package/src/themes/default/modules/search.variables +1 -1
- package/src/themes/default/modules/sidebar.variables +1 -1
- package/src/themes/default/modules/slider.variables +45 -45
- package/src/themes/default/modules/toast.variables +6 -6
- package/src/themes/default/modules/transition.overrides +24 -24
- package/src/themes/default/views/card.variables +11 -11
- package/src/themes/default/views/item.variables +4 -4
- package/src/themes/famfamfam/elements/flag.variables +2 -2
- package/src/themes/fixed-width/collections/grid.variables +3 -3
- package/src/themes/fixed-width/modules/modal.variables +9 -9
- package/src/themes/flat/collections/form.overrides +1 -1
- package/src/themes/flat/collections/form.variables +9 -9
- package/src/themes/flat/globals/site.variables +50 -50
- package/src/themes/github/collections/form.overrides +2 -2
- package/src/themes/github/collections/form.variables +2 -2
- package/src/themes/github/collections/menu.overrides +1 -1
- package/src/themes/github/collections/menu.variables +4 -4
- package/src/themes/github/collections/message.variables +5 -5
- package/src/themes/github/elements/button.variables +2 -2
- package/src/themes/github/elements/icon.variables +2 -2
- package/src/themes/github/elements/segment.variables +2 -2
- package/src/themes/github/elements/step.overrides +1 -1
- package/src/themes/github/elements/step.variables +2 -2
- package/src/themes/github/globals/site.variables +5 -5
- package/src/themes/github/modules/dropdown.overrides +4 -4
- package/src/themes/github/modules/dropdown.variables +6 -6
- package/src/themes/gmail/collections/message.overrides +3 -0
- package/src/themes/gmail/collections/message.variables +2 -2
- package/src/themes/instagram/views/card.overrides +1 -1
- package/src/themes/instagram/views/card.variables +1 -1
- package/src/themes/joypixels/elements/emoji.variables +2 -2
- package/src/themes/material/collections/menu.variables +2 -2
- package/src/themes/material/elements/button.overrides +4 -4
- package/src/themes/material/elements/button.variables +25 -25
- package/src/themes/material/elements/header.variables +6 -6
- package/src/themes/material/elements/icon.variables +4 -4
- package/src/themes/material/globals/site.overrides +3 -0
- package/src/themes/material/globals/site.variables +52 -52
- package/src/themes/material/modules/dropdown.overrides +1 -1
- package/src/themes/material/modules/dropdown.variables +3 -3
- package/src/themes/material/modules/modal.overrides +1 -1
- package/src/themes/material/modules/modal.variables +3 -3
- package/src/themes/pulsar/elements/loader.overrides +4 -4
- package/src/themes/round/elements/button.overrides +3 -0
- package/src/themes/round/elements/button.variables +15 -15
- package/src/themes/rtl/globals/site.variables +3 -3
- package/src/themes/striped/modules/progress.overrides +1 -1
- package/src/themes/systemfont/globals/site.variables +6 -6
- package/src/themes/timeline/views/feed.variables +4 -4
- package/src/themes/twitter/elements/button.overrides +1 -1
- package/src/themes/twitter/elements/button.variables +1 -1
- package/src/themes/twitter/elements/emoji.variables +2 -2
- package/tasks/admin/components/init.js +1 -1
- package/tasks/admin/components/update.js +1 -1
- package/tasks/admin/distributions/create.js +4 -5
- package/tasks/admin/distributions/init.js +1 -1
- package/tasks/admin/distributions/update.js +1 -1
- package/tasks/config/project/config.js +2 -2
- package/tasks/config/project/install.js +8 -8
- package/tasks/config/project/release.js +1 -1
- package/tasks/config/tasks.js +2 -2
- package/tasks/docs/metadata.js +1 -1
- package/tasks/install.js +3 -3
- package/test/modules/module.spec.js +1 -1
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.1-beta.
|
2
|
+
* # Fomantic-UI 2.9.1-beta.26+1084e98 - Site
|
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
|
-
*/@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-Regular.woff2) format('woff2'),url(../themes/default/assets/fonts/LatoLatin-Regular.woff) format('woff');font-style:normal;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-Bold.woff2) format('woff2'),url(../themes/default/assets/fonts/LatoLatin-Bold.woff) format('woff');font-style:normal;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-Italic.woff2) format('woff2'),url(../themes/default/assets/fonts/LatoLatin-Italic.woff) format('woff');font-style:italic;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-BoldItalic.woff2) format('woff2'),url(../themes/default/assets/fonts/LatoLatin-BoldItalic.woff) format('woff');font-style:italic;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-Regular.woff2) format('woff2'),url(../themes/default/assets/fonts/Lato-Regular.woff) format('woff');font-style:normal;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-Bold.woff2) format('woff2'),url(../themes/default/assets/fonts/Lato-Bold.woff) format('woff');font-style:normal;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-Italic.woff2) format('woff2'),url(../themes/default/assets/fonts/Lato-Italic.woff) format('woff');font-style:italic;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-BoldItalic.woff2) format('woff2'),url(../themes/default/assets/fonts/Lato-BoldItalic.woff) format('woff');font-style:italic;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}body,html{height:100%}html{font-size:14px}body{margin:0;padding:0;overflow-x:hidden;min-width:320px;background:#fff;font-family:Lato,system-ui,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:14px;line-height:1.4285em;color:rgba(0,0,0,.87)}h1,h2,h3,h4,h5{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";line-height:1.28571429em;margin:calc(2rem - .1428571428571429em) 0 1rem;font-weight:700;padding:0}h1{min-height:1rem;font-size:2rem}h2{font-size:1.71428571rem}h3{font-size:1.28571429rem}h4{font-size:1.07142857rem}h5{font-size:1rem}h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child{margin-top:0}h1:last-child,h2:last-child,h3:last-child,h4:last-child,h5:last-child{margin-bottom:0}p{margin:0 0 1em;line-height:1.4285em}p:first-child{margin-top:0}p:last-child{margin-bottom:0}a{color:#4183c4;text-decoration:none}a:hover{color:#1e70bf;text-decoration:none}body ::-webkit-scrollbar{-webkit-appearance:none;width:10px;height:10px}body ::-webkit-scrollbar-track{background:rgba(0,0,0,.1);border-radius:0}body ::-webkit-scrollbar-thumb{cursor:pointer;border-radius:5px;background:rgba(0,0,0,.25);-webkit-transition:color .2s ease;transition:color .2s ease}body ::-webkit-scrollbar-thumb:window-inactive{background:rgba(0,0,0,.15)}body ::-webkit-scrollbar-thumb:hover{background:rgba(128,135,139,.8)}body .ui{scrollbar-face-color:#bfbfbf;scrollbar-shadow-color:#bfbfbf;scrollbar-track-color:#e6e6e6;scrollbar-arrow-color:#e6e6e6;scrollbar-color:rgba(0,0,0,.25) rgba(0,0,0,.1);scrollbar-width:thin}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-track{background:rgba(255,255,255,.1)}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25)}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb:window-inactive{background:rgba(255,255,255,.15)}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35)}body .ui.inverted:not(.dimmer){scrollbar-face-color:#656565;scrollbar-shadow-color:#656565;scrollbar-track-color:#323232;scrollbar-arrow-color:#323232;scrollbar-color:rgba(255,255,255,.25) rgba(255,255,255,.1)}::-webkit-selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}::-moz-selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}::selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}input::-webkit-selection,textarea::-webkit-selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}input::-moz-selection,textarea::-moz-selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}input::-moz-selection,textarea::-moz-selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}input::selection,textarea::selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}
|
9
|
+
*/@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-Regular.woff2) format('woff2'),url(../themes/default/assets/fonts/LatoLatin-Regular.woff) format('woff');font-style:normal;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-Bold.woff2) format('woff2'),url(../themes/default/assets/fonts/LatoLatin-Bold.woff) format('woff');font-style:normal;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-Italic.woff2) format('woff2'),url(../themes/default/assets/fonts/LatoLatin-Italic.woff) format('woff');font-style:italic;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/LatoLatin-BoldItalic.woff2) format('woff2'),url(../themes/default/assets/fonts/LatoLatin-BoldItalic.woff) format('woff');font-style:italic;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0000,U+000D,U+0020-007E,U+00A0-017F,U+0192,U+0218-021B,U+0237,U+02C6-02C7,U+02C9,U+02D8-02DD,U+0394,U+03A9,U+03BC,U+03C0,U+1E80-1E85,U+2010,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026,U+2030,U+2039-203A,U+2044,U+20A3-20A4,U+20A7,U+20AC,U+2113,U+2122,U+2126,U+212E,U+2202,U+2206,U+220F,U+2211-2212,U+2215,U+2219-221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+F8FF,U+FB00-FB04}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-Regular.woff2) format('woff2'),url(../themes/default/assets/fonts/Lato-Regular.woff) format('woff');font-style:normal;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-Bold.woff2) format('woff2'),url(../themes/default/assets/fonts/Lato-Bold.woff) format('woff');font-style:normal;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-Italic.woff2) format('woff2'),url(../themes/default/assets/fonts/Lato-Italic.woff) format('woff');font-style:italic;font-weight:400;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}@font-face{font-family:Lato;src:url(../themes/default/assets/fonts/Lato-BoldItalic.woff2) format('woff2'),url(../themes/default/assets/fonts/Lato-BoldItalic.woff) format('woff');font-style:italic;font-weight:700;font-display:swap;text-rendering:optimizeLegibility;unicode-range:U+0180-0191,U+0193-0217,U+021C-0236,U+0238-02C5,U+02C8,U+02CA-02D7,U+02DE-036F,U+0374-0375,U+037A-037E,U+0384-038A,U+038C,U+038E-0393,U+0395-03A1,U+03A3-03A8,U+03AA-03BB,U+03BD-03BF,U+03C1-03CE,U+03D0-0486,U+0488-0513,U+1D00-1DCA,U+1DFE-1E7F,U+1E86-1E9B,U+1E9E,U+1EA0-1EF9,U+1F00-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-200F,U+2012,U+2015-2017,U+201B,U+201F,U+202F,U+2034,U+203C-203E,U+205E-205F,U+2070-2071,U+2074-2094,U+20A0-20A2,U+20A5-20A6,U+20A8-20AB,U+20AD-20B5,U+20B8-20BA,U+20DD,U+2105,U+2116-2117,U+2120,U+2132,U+214D-214E,U+2153-215F,U+2183-2184,U+2190-2199,U+21A8,U+221F,U+2229,U+2261,U+2302,U+2310,U+2320-2321,U+2460-2473,U+24EA-24F4,U+24FF-2500,U+2502,U+250C,U+2510,U+2514,U+2518,U+2C60-2C6C,U+2C74-2C77}body,html{height:100%}html{font-size:14px}body{margin:0;padding:0;overflow-x:hidden;min-width:320px;background:#fff;font-family:Lato,system-ui,-apple-system,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Helvetica Neue',Arial,'Noto Sans','Liberation Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';font-size:14px;line-height:1.4285em;color:rgba(0,0,0,.87)}h1,h2,h3,h4,h5{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';line-height:1.28571429em;margin:calc(2rem - .1428571428571429em) 0 1rem;font-weight:700;padding:0}h1{min-height:1rem;font-size:2rem}h2{font-size:1.71428571rem}h3{font-size:1.28571429rem}h4{font-size:1.07142857rem}h5{font-size:1rem}h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child{margin-top:0}h1:last-child,h2:last-child,h3:last-child,h4:last-child,h5:last-child{margin-bottom:0}p{margin:0 0 1em;line-height:1.4285em}p:first-child{margin-top:0}p:last-child{margin-bottom:0}a{color:#4183c4;text-decoration:none}a:hover{color:#1e70bf;text-decoration:none}body::-webkit-scrollbar{-webkit-appearance:none;width:10px;height:10px}body::-webkit-scrollbar-track{background:rgba(0,0,0,.1);border-radius:0}body::-webkit-scrollbar-thumb{cursor:pointer;border-radius:5px;background:rgba(0,0,0,.25);-webkit-transition:color .2s ease;transition:color .2s ease}body::-webkit-scrollbar-thumb:window-inactive{background:rgba(0,0,0,.15)}body::-webkit-scrollbar-thumb:hover{background:rgba(128,135,139,.8)}body .ui{scrollbar-face-color:#bfbfbf;scrollbar-shadow-color:#bfbfbf;scrollbar-track-color:#e6e6e6;scrollbar-arrow-color:#e6e6e6;scrollbar-color:rgba(0,0,0,.25) rgba(0,0,0,.1);scrollbar-width:thin}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-track{background:rgba(255,255,255,.1)}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25)}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb:window-inactive{background:rgba(255,255,255,.15)}body .ui.inverted:not(.dimmer)::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35)}body .ui.inverted:not(.dimmer){scrollbar-face-color:#656565;scrollbar-shadow-color:#656565;scrollbar-track-color:#323232;scrollbar-arrow-color:#323232;scrollbar-color:rgba(255,255,255,.25) rgba(255,255,255,.1)}::-webkit-selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}::-moz-selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}::selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}input::-webkit-selection,textarea::-webkit-selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}input::-moz-selection,textarea::-moz-selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}input::-moz-selection,textarea::-moz-selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}input::selection,textarea::selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.1-beta.
|
2
|
+
* # Fomantic UI - 2.9.1-beta.26+1084e98
|
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(b,p,v,h){"use strict";p=p!==h&&p.Math===Math?p:globalThis,b.fn.site=function(e){var c,i=Date.now(),t=[],n=e,o="string"==typeof n,l=[].slice.call(arguments,1),r=b.isPlainObject(e)?b.extend(!0,{},b.site.settings,e):b.extend({},b.site.settings),s=r.namespace,u=r.error,a="module-"+s,m=b(v),d=this,f=m.data(a),g={initialize:function(){g.instantiate()},instantiate:function(){g.verbose("Storing instance of site",g),f=g,m.data(a,g)},normalize:function(){g.fix.console(),g.fix.requestAnimationFrame()},fix:{console:function(){g.debug("Normalizing window.console"),console!==h&&console.log!==h||(g.verbose("Console not available, normalizing events"),g.disable.console()),console.group!==h&&console.groupEnd!==h&&console.groupCollapsed!==h||(g.verbose("Console group not available, normalizing events"),p.console.group=function(){},p.console.groupEnd=function(){},p.console.groupCollapsed=function(){}),console.markTimeline===h&&(g.verbose("Mark timeline not available, normalizing events"),p.console.markTimeline=function(){})},consoleClear:function(){g.debug("Disabling programmatic console clearing"),p.console.clear=function(){}},requestAnimationFrame:function(){g.debug("Normalizing requestAnimationFrame"),p.requestAnimationFrame===h&&(g.debug("RequestAnimationFrame not available, normalizing event"),p.requestAnimationFrame=p.requestAnimationFrame||p.mozRequestAnimationFrame||p.webkitRequestAnimationFrame||p.msRequestAnimationFrame||function(e){setTimeout(e,0)})}},moduleExists:function(e){return b.fn[e]!==h&&b.fn[e].settings!==h},enabled:{modules:function(e){var o=[];return e=e||r.modules,b.each(e,function(e,n){g.moduleExists(n)&&o.push(n)}),o}},disabled:{modules:function(e){var o=[];return e=e||r.modules,b.each(e,function(e,n){g.moduleExists(n)||o.push(n)}),o}},change:{setting:function(i,t,e,s){e="string"==typeof e?"all"===e?r.modules:[e]:e||r.modules,s=s===h||s,b.each(e,function(e,n){var o=!g.moduleExists(n)||(b.fn[n].settings.namespace||!1);g.moduleExists(n)&&(g.verbose("Changing default setting",i,t,n),b.fn[n].settings[i]=t,s&&o&&0<(o=b(":data(module-"+o+")")).length&&(g.verbose("Modifying existing settings",o),o[n]("setting",i,t)))})},settings:function(i,e,t){e="string"==typeof e?[e]:e||r.modules,t=t===h||t,b.each(e,function(e,n){var o;g.moduleExists(n)&&(g.verbose("Changing default setting",i,n),b.extend(!0,b.fn[n].settings,i),t&&s&&0<(o=b(":data(module-"+s+")")).length&&(g.verbose("Modifying existing settings",o),o[n]("setting",i)))})}},enable:{console:function(){g.console(!0)},debug:function(e,n){e=e||r.modules,g.debug("Enabling debug for modules",e),g.change.setting("debug",!0,e,n)},verbose:function(e,n){e=e||r.modules,g.debug("Enabling verbose debug for modules",e),g.change.setting("verbose",!0,e,n)}},disable:{console:function(){g.console(!1)},debug:function(e,n){e=e||r.modules,g.debug("Disabling debug for modules",e),g.change.setting("debug",!1,e,n)},verbose:function(e,n){e=e||r.modules,g.debug("Disabling verbose debug for modules",e),g.change.setting("verbose",!1,e,n)}},console:function(e){e?f.cache.console===h?g.error(u.console):(g.debug("Restoring console function"),p.console=f.cache.console):(g.debug("Disabling console function"),f.cache.console=p.console,p.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},markTimeline:function(){},warn:function(){}})},destroy:function(){g.verbose("Destroying previous site for",m),m.removeData(a)},cache:{},setting:function(e,n){if(b.isPlainObject(e))b.extend(!0,r,e);else{if(n===h)return r[e];r[e]=n}},internal:function(e,n){if(b.isPlainObject(e))b.extend(!0,g,e);else{if(n===h)return g[e];g[e]=n}},debug:function(){r.debug&&(r.performance?g.performance.log(arguments):(g.debug=Function.prototype.bind.call(console.info,console,r.name+":"),g.debug.apply(console,arguments)))},verbose:function(){r.verbose&&r.debug&&(r.performance?g.performance.log(arguments):(g.verbose=Function.prototype.bind.call(console.info,console,r.name+":"),g.verbose.apply(console,arguments)))},error:function(){g.error=Function.prototype.bind.call(console.error,console,r.name+":"),g.error.apply(console,arguments)},performance:{log:function(e){var n,o;r.performance&&(o=(n=Date.now())-(i||n),i=n,t.push({Element:d,Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":o})),clearTimeout(g.performance.timer),g.performance.timer=setTimeout(g.performance.display,500)},display:function(){var e=r.name+":",o=0;i=!1,clearTimeout(g.performance.timer),b.each(t,function(e,n){o+=n["Execution Time"]}),e+=" "+o+"ms",(console.group!==h||console.table!==h)&&0<t.length&&(console.groupCollapsed(e),console.table?console.table(t):b.each(t,function(e,n){console.log(n.Name+": "+n["Execution Time"]+"ms")}),console.groupEnd()),t=[]}},invoke:function(i,e,n){var t,s,o,r,a=f;return e=e||l,n=n||d,"string"==typeof i&&a!==h&&(i=i.split(/[ .]/),t=i.length-1,b.each(i,function(e,n){var o=e
|
11
|
+
!function(b,p,v,h){"use strict";p=p!==h&&p.Math===Math?p:globalThis,b.fn.site=function(e){var c,i=Date.now(),t=[],n=e,o="string"==typeof n,l=[].slice.call(arguments,1),r=b.isPlainObject(e)?b.extend(!0,{},b.site.settings,e):b.extend({},b.site.settings),s=r.namespace,u=r.error,a="module-"+s,m=b(v),d=this,f=m.data(a),g={initialize:function(){g.instantiate()},instantiate:function(){g.verbose("Storing instance of site",g),f=g,m.data(a,g)},normalize:function(){g.fix.console(),g.fix.requestAnimationFrame()},fix:{console:function(){g.debug("Normalizing window.console"),console!==h&&console.log!==h||(g.verbose("Console not available, normalizing events"),g.disable.console()),console.group!==h&&console.groupEnd!==h&&console.groupCollapsed!==h||(g.verbose("Console group not available, normalizing events"),p.console.group=function(){},p.console.groupEnd=function(){},p.console.groupCollapsed=function(){}),console.markTimeline===h&&(g.verbose("Mark timeline not available, normalizing events"),p.console.markTimeline=function(){})},consoleClear:function(){g.debug("Disabling programmatic console clearing"),p.console.clear=function(){}},requestAnimationFrame:function(){g.debug("Normalizing requestAnimationFrame"),p.requestAnimationFrame===h&&(g.debug("RequestAnimationFrame not available, normalizing event"),p.requestAnimationFrame=p.requestAnimationFrame||p.mozRequestAnimationFrame||p.webkitRequestAnimationFrame||p.msRequestAnimationFrame||function(e){setTimeout(e,0)})}},moduleExists:function(e){return b.fn[e]!==h&&b.fn[e].settings!==h},enabled:{modules:function(e){var o=[];return e=e||r.modules,b.each(e,function(e,n){g.moduleExists(n)&&o.push(n)}),o}},disabled:{modules:function(e){var o=[];return e=e||r.modules,b.each(e,function(e,n){g.moduleExists(n)||o.push(n)}),o}},change:{setting:function(i,t,e,s){e="string"==typeof e?"all"===e?r.modules:[e]:e||r.modules,s=s===h||s,b.each(e,function(e,n){var o=!g.moduleExists(n)||(b.fn[n].settings.namespace||!1);g.moduleExists(n)&&(g.verbose("Changing default setting",i,t,n),b.fn[n].settings[i]=t,s&&o&&0<(o=b(":data(module-"+o+")")).length&&(g.verbose("Modifying existing settings",o),o[n]("setting",i,t)))})},settings:function(i,e,t){e="string"==typeof e?[e]:e||r.modules,t=t===h||t,b.each(e,function(e,n){var o;g.moduleExists(n)&&(g.verbose("Changing default setting",i,n),b.extend(!0,b.fn[n].settings,i),t&&s&&0<(o=b(":data(module-"+s+")")).length&&(g.verbose("Modifying existing settings",o),o[n]("setting",i)))})}},enable:{console:function(){g.console(!0)},debug:function(e,n){e=e||r.modules,g.debug("Enabling debug for modules",e),g.change.setting("debug",!0,e,n)},verbose:function(e,n){e=e||r.modules,g.debug("Enabling verbose debug for modules",e),g.change.setting("verbose",!0,e,n)}},disable:{console:function(){g.console(!1)},debug:function(e,n){e=e||r.modules,g.debug("Disabling debug for modules",e),g.change.setting("debug",!1,e,n)},verbose:function(e,n){e=e||r.modules,g.debug("Disabling verbose debug for modules",e),g.change.setting("verbose",!1,e,n)}},console:function(e){e?f.cache.console===h?g.error(u.console):(g.debug("Restoring console function"),p.console=f.cache.console):(g.debug("Disabling console function"),f.cache.console=p.console,p.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},markTimeline:function(){},warn:function(){}})},destroy:function(){g.verbose("Destroying previous site for",m),m.removeData(a)},cache:{},setting:function(e,n){if(b.isPlainObject(e))b.extend(!0,r,e);else{if(n===h)return r[e];r[e]=n}},internal:function(e,n){if(b.isPlainObject(e))b.extend(!0,g,e);else{if(n===h)return g[e];g[e]=n}},debug:function(){r.debug&&(r.performance?g.performance.log(arguments):(g.debug=Function.prototype.bind.call(console.info,console,r.name+":"),g.debug.apply(console,arguments)))},verbose:function(){r.verbose&&r.debug&&(r.performance?g.performance.log(arguments):(g.verbose=Function.prototype.bind.call(console.info,console,r.name+":"),g.verbose.apply(console,arguments)))},error:function(){g.error=Function.prototype.bind.call(console.error,console,r.name+":"),g.error.apply(console,arguments)},performance:{log:function(e){var n,o;r.performance&&(o=(n=Date.now())-(i||n),i=n,t.push({Element:d,Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":o})),clearTimeout(g.performance.timer),g.performance.timer=setTimeout(g.performance.display,500)},display:function(){var e=r.name+":",o=0;i=!1,clearTimeout(g.performance.timer),b.each(t,function(e,n){o+=n["Execution Time"]}),e+=" "+o+"ms",(console.group!==h||console.table!==h)&&0<t.length&&(console.groupCollapsed(e),console.table?console.table(t):b.each(t,function(e,n){console.log(n.Name+": "+n["Execution Time"]+"ms")}),console.groupEnd()),t=[]}},invoke:function(i,e,n){var t,s,o,r,a=f;return e=e||l,n=n||d,"string"==typeof i&&a!==h&&(i=i.split(/[ .]/),t=i.length-1,b.each(i,function(e,n){var o=e!==t?n+i[e+1].charAt(0).toUpperCase()+i[e+1].slice(1):i;if(b.isPlainObject(a[o])&&e!==t)a=a[o];else{if(a[o]!==h)return s=a[o],!1;{if(!b.isPlainObject(a[n])||e===t)return a[n]!==h?s=a[n]:g.error(u.method,i),!1;a=a[n]}}})),"function"==typeof(r=s)&&"number"!=typeof r.nodeType?o=s.apply(n,e):s!==h&&(o=s),Array.isArray(c)?c.push(o):c!==h?c=[c,o]:o!==h&&(c=o),s}};return o?(f===h&&g.initialize(),g.invoke(n)):(f!==h&&g.destroy(),g.initialize()),c!==h?c:this},b.site=b.fn.site,b.site.settings={name:"Site",namespace:"site",error:{console:"Console cannot be restored, most likely it was overwritten outside of module",method:"The method you called is not defined."},debug:!1,verbose:!1,performance:!0,modules:["accordion","api","calendar","checkbox","dimmer","dropdown","embed","form","modal","nag","popup","slider","rating","shape","sidebar","state","sticky","tab","toast","transition","visibility","visit"],siteNamespace:"site",namespaceStub:{cache:{},config:{},sections:{},section:{},utilities:{}}},b.extend(b.expr.pseudos,{data:b.expr.createPseudo(function(n){return function(e){return!!b.data(e,n)}})})}(jQuery,window,document);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.1-beta.
|
2
|
+
* # Fomantic-UI 2.9.1-beta.26+1084e98 - Slider
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -337,7 +337,7 @@
|
|
337
337
|
}
|
338
338
|
},
|
339
339
|
move: function (event) {
|
340
|
-
if (event.type
|
340
|
+
if (event.type === 'mousemove') {
|
341
341
|
event.preventDefault(); // prevent text selection etc.
|
342
342
|
}
|
343
343
|
if (module.is.disabled()) {
|
@@ -345,14 +345,14 @@
|
|
345
345
|
return;
|
346
346
|
}
|
347
347
|
var value = module.determine.valueFromEvent(event);
|
348
|
-
if (event.type
|
348
|
+
if (event.type === 'mousemove' && $currThumb === undefined) {
|
349
349
|
var
|
350
350
|
eventPos = module.determine.eventPos(event),
|
351
351
|
newPos = module.determine.pos(eventPos)
|
352
352
|
;
|
353
353
|
$currThumb = initialPosition > newPos ? $thumb : $secondThumb;
|
354
354
|
}
|
355
|
-
if (module.get.step()
|
355
|
+
if (module.get.step() === 0 || module.is.smooth()) {
|
356
356
|
var
|
357
357
|
thumbVal = module.thumbVal,
|
358
358
|
secondThumbVal = module.secondThumbVal,
|
@@ -411,31 +411,35 @@
|
|
411
411
|
}
|
412
412
|
if (first || module.is.focused()) {
|
413
413
|
var step = module.determine.keyMovement(event);
|
414
|
-
if (step
|
414
|
+
if (step !== NO_STEP) {
|
415
415
|
event.preventDefault();
|
416
416
|
switch (step) {
|
417
|
-
case SINGLE_STEP:
|
417
|
+
case SINGLE_STEP: {
|
418
418
|
module.takeStep();
|
419
419
|
|
420
420
|
break;
|
421
|
-
|
421
|
+
}
|
422
|
+
case BIG_STEP: {
|
422
423
|
module.takeStep(module.get.multiplier());
|
423
424
|
|
424
425
|
break;
|
425
|
-
|
426
|
+
}
|
427
|
+
case SINGLE_BACKSTEP: {
|
426
428
|
module.backStep();
|
427
429
|
|
428
430
|
break;
|
429
|
-
|
431
|
+
}
|
432
|
+
case BIG_BACKSTEP: {
|
430
433
|
module.backStep(module.get.multiplier());
|
431
434
|
|
432
435
|
break;
|
436
|
+
}
|
433
437
|
}
|
434
438
|
}
|
435
439
|
}
|
436
440
|
},
|
437
441
|
activateFocus: function (event) {
|
438
|
-
if (!module.is.focused() && module.is.hover() && module.determine.keyMovement(event)
|
442
|
+
if (!module.is.focused() && module.is.hover() && module.determine.keyMovement(event) !== NO_STEP) {
|
439
443
|
event.preventDefault();
|
440
444
|
module.event.keydown(event, true);
|
441
445
|
$module.trigger('focus');
|
@@ -443,7 +447,7 @@
|
|
443
447
|
},
|
444
448
|
resize: function (_event) {
|
445
449
|
// To avoid a useless performance cost, we only call the label refresh when its necessary
|
446
|
-
if (gapRatio
|
450
|
+
if (gapRatio !== module.get.gapRatio()) {
|
447
451
|
module.setup.labels();
|
448
452
|
gapRatio = module.get.gapRatio();
|
449
453
|
}
|
@@ -459,7 +463,9 @@
|
|
459
463
|
module.setup.labels();
|
460
464
|
},
|
461
465
|
takeStep: function (multiplier) {
|
462
|
-
|
466
|
+
if (!multiplier) {
|
467
|
+
multiplier = 1;
|
468
|
+
}
|
463
469
|
var
|
464
470
|
step = module.get.step(),
|
465
471
|
currValue = module.get.currentThumbValue()
|
@@ -467,7 +473,7 @@
|
|
467
473
|
module.verbose('Taking a step');
|
468
474
|
if (step > 0) {
|
469
475
|
module.set.value(currValue + step * multiplier);
|
470
|
-
} else if (step
|
476
|
+
} else if (step === 0) {
|
471
477
|
var
|
472
478
|
precision = module.get.precision(),
|
473
479
|
newValue = currValue + (multiplier / precision)
|
@@ -477,7 +483,9 @@
|
|
477
483
|
},
|
478
484
|
|
479
485
|
backStep: function (multiplier) {
|
480
|
-
|
486
|
+
if (!multiplier) {
|
487
|
+
multiplier = 1;
|
488
|
+
}
|
481
489
|
var
|
482
490
|
step = module.get.step(),
|
483
491
|
currValue = module.get.currentThumbValue()
|
@@ -485,7 +493,7 @@
|
|
485
493
|
module.verbose('Going back a step');
|
486
494
|
if (step > 0) {
|
487
495
|
module.set.value(currValue - step * multiplier);
|
488
|
-
} else if (step
|
496
|
+
} else if (step === 0) {
|
489
497
|
var
|
490
498
|
precision = module.get.precision(),
|
491
499
|
newValue = currValue - (multiplier / precision)
|
@@ -574,9 +582,9 @@
|
|
574
582
|
decimalPlaces,
|
575
583
|
step = module.get.step()
|
576
584
|
;
|
577
|
-
if (step
|
585
|
+
if (step !== 0) {
|
578
586
|
var split = String(step).split('.');
|
579
|
-
decimalPlaces = split.length
|
587
|
+
decimalPlaces = split.length === 2 ? split[1].length : 0;
|
580
588
|
} else {
|
581
589
|
decimalPlaces = settings.decimalPlaces;
|
582
590
|
}
|
@@ -616,12 +624,15 @@
|
|
616
624
|
}
|
617
625
|
|
618
626
|
switch (settings.labelType) {
|
619
|
-
case settings.labelTypes.number:
|
627
|
+
case settings.labelTypes.number: {
|
620
628
|
return Math.round(((value * (module.get.step() === 0 ? 1 : module.get.step())) + module.get.min()) * precision) / precision;
|
621
|
-
|
629
|
+
}
|
630
|
+
case settings.labelTypes.letter: {
|
622
631
|
return alphabet[value % 26];
|
623
|
-
|
632
|
+
}
|
633
|
+
default: {
|
624
634
|
return value;
|
635
|
+
}
|
625
636
|
}
|
626
637
|
},
|
627
638
|
value: function () {
|
@@ -632,7 +643,7 @@
|
|
632
643
|
},
|
633
644
|
thumbValue: function (which) {
|
634
645
|
switch (which) {
|
635
|
-
case 'second':
|
646
|
+
case 'second': {
|
636
647
|
if (module.is.range()) {
|
637
648
|
return module.secondThumbVal;
|
638
649
|
}
|
@@ -640,9 +651,10 @@
|
|
640
651
|
module.error(error.notrange);
|
641
652
|
|
642
653
|
break;
|
643
|
-
|
644
|
-
default:
|
654
|
+
}
|
655
|
+
default: {
|
645
656
|
return module.thumbVal;
|
657
|
+
}
|
646
658
|
}
|
647
659
|
},
|
648
660
|
multiplier: function () {
|
@@ -650,7 +662,7 @@
|
|
650
662
|
},
|
651
663
|
thumbPosition: function (which) {
|
652
664
|
switch (which) {
|
653
|
-
case 'second':
|
665
|
+
case 'second': {
|
654
666
|
if (module.is.range()) {
|
655
667
|
return secondPos;
|
656
668
|
}
|
@@ -658,9 +670,10 @@
|
|
658
670
|
module.error(error.notrange);
|
659
671
|
|
660
672
|
break;
|
661
|
-
|
662
|
-
default:
|
673
|
+
}
|
674
|
+
default: {
|
663
675
|
return position;
|
676
|
+
}
|
664
677
|
}
|
665
678
|
},
|
666
679
|
gapRatio: function () {
|
@@ -748,7 +761,7 @@
|
|
748
761
|
trackLength = module.get.trackLength(),
|
749
762
|
step = module.get.step(),
|
750
763
|
position = Math.round(ratio * trackLength),
|
751
|
-
adjustedPos = step
|
764
|
+
adjustedPos = step === 0 ? position : Math.round(position / step) * step
|
752
765
|
;
|
753
766
|
|
754
767
|
return adjustedPos;
|
@@ -824,10 +837,10 @@
|
|
824
837
|
range = module.get.max() - module.get.min(),
|
825
838
|
step = module.get.step(),
|
826
839
|
value = ratio * range,
|
827
|
-
difference = step
|
840
|
+
difference = step === 0 ? value : Math.round(value / step) * step
|
828
841
|
;
|
829
842
|
module.verbose('Determined value based upon position: ' + position + ' as: ' + value);
|
830
|
-
if (value
|
843
|
+
if (value !== difference) {
|
831
844
|
module.verbose('Rounding value to closest step: ' + difference);
|
832
845
|
}
|
833
846
|
// Use precision to avoid ugly Javascript floating point rounding issues
|
@@ -852,16 +865,16 @@
|
|
852
865
|
? (module.is.reversed() ? keys.leftArrow : keys.rightArrow)
|
853
866
|
: keys.rightArrow
|
854
867
|
;
|
855
|
-
if (key
|
868
|
+
if (key === downArrow || key === leftArrow) {
|
856
869
|
return SINGLE_BACKSTEP;
|
857
870
|
}
|
858
|
-
if (key
|
871
|
+
if (key === upArrow || key === rightArrow) {
|
859
872
|
return SINGLE_STEP;
|
860
873
|
}
|
861
|
-
if (key
|
874
|
+
if (key === keys.pageDown) {
|
862
875
|
return BIG_BACKSTEP;
|
863
876
|
}
|
864
|
-
if (key
|
877
|
+
if (key === keys.pageUp) {
|
865
878
|
return BIG_STEP;
|
866
879
|
}
|
867
880
|
|
@@ -993,7 +1006,7 @@
|
|
993
1006
|
position: function (newValue, $element) {
|
994
1007
|
var
|
995
1008
|
newPos = module.handleNewValuePosition(newValue),
|
996
|
-
$targetThumb = $element
|
1009
|
+
$targetThumb = $element || $currThumb,
|
997
1010
|
thumbVal = module.thumbVal || module.get.min(),
|
998
1011
|
secondThumbVal = module.secondThumbVal || module.get.min()
|
999
1012
|
;
|
@@ -1209,17 +1222,17 @@
|
|
1209
1222
|
query = query.split(/[ .]/);
|
1210
1223
|
maxDepth = query.length - 1;
|
1211
1224
|
$.each(query, function (depth, value) {
|
1212
|
-
var camelCaseValue = depth
|
1225
|
+
var camelCaseValue = depth !== maxDepth
|
1213
1226
|
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
|
1214
1227
|
: query
|
1215
1228
|
;
|
1216
|
-
if ($.isPlainObject(object[camelCaseValue]) && (depth
|
1229
|
+
if ($.isPlainObject(object[camelCaseValue]) && (depth !== maxDepth)) {
|
1217
1230
|
object = object[camelCaseValue];
|
1218
1231
|
} else if (object[camelCaseValue] !== undefined) {
|
1219
1232
|
found = object[camelCaseValue];
|
1220
1233
|
|
1221
1234
|
return false;
|
1222
|
-
} else if ($.isPlainObject(object[value]) && (depth
|
1235
|
+
} else if ($.isPlainObject(object[value]) && (depth !== maxDepth)) {
|
1223
1236
|
object = object[value];
|
1224
1237
|
} else if (object[value] !== undefined) {
|
1225
1238
|
found = object[value];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.1-beta.
|
2
|
+
* # Fomantic UI - 2.9.1-beta.26+1084e98
|
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(Y,t,n,K){"use strict";t=t!==K&&t.Math===Math?t:globalThis,Y.fn.slider=function(S){var A,e=Y(this),F=Y(n),O=Y(t),N=e.selector||"",j=Date.now(),z=[],I=S,R="string"==typeof I,B=[].slice.call(arguments,1),U=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],X=0;return e.each(function(){var l,s,i,u,e,c,d,t,m,f,g,v,o,b,r,h,p=Y.isPlainObject(S)?Y.extend(!0,{},Y.fn.slider.settings,S):Y.extend({},Y.fn.slider.settings),n=p.className,a=p.metadata,k=p.namespace,V=p.error,T=p.keys,y=p.interpretLabel,w=!1,M="."+k,x="module-"+k,P=Y(this),E=this,C=P.data(x),L=1,D={initialize:function(){D.debug("Initializing slider",p),h=!0,t=X+=1,D.setup.layout(),D.setup.labels(),D.is.disabled()||D.bind.events(),D.read.metadata(),D.read.settings(),h=!1,D.instantiate()},instantiate:function(){D.verbose("Storing instance of slider",D),C=D,P.data(x,D)},destroy:function(){D.verbose("Destroying previous slider for",P),clearInterval(C.interval),D.unbind.events(),D.unbind.slidingEvents(),P.removeData(x),C=K},setup:{layout:function(){P.attr("tabindex")===K&&P.attr("tabindex",0),0===P.find(".inner").length&&P.append("<div class='inner'><div class='track'></div><div class='track-fill'></div><div class='thumb'></div></div>"),o=D.get.precision(),i=P.find(".thumb:not(.second)"),l=i,D.is.range()&&(0===P.find(".thumb.second").length&&P.find(".inner").append("<div class='thumb second'></div>"),u=P.find(".thumb.second")),e=P.find(".track"),c=P.find(".track-fill"),v=i.width()/2},labels:function(){D.is.labeled()&&(0<(d=P.find(".labels:not(.auto)")).length?D.setup.customLabel():D.setup.autoLabel(),p.showLabelTicks&&P.addClass(n.ticked))},customLabel:function(){var n,e=d.find(".label"),a=e.length,o=D.get.min(),r=D.get.max();e.each(function(e){var t=Y(this).attr("data-value");n=t?((t=r<t?r:t<o?o:t)-o)/(r-o):(e+1)/(a+1),D.update.labelPosition(n,Y(this))})},autoLabel:function(){0<(d=P.find(".labels")).length?d.empty():d=P.append('<ul class="auto labels"></ul>').find(".labels");for(var e=0,t=D.get.numLabels();e<=t;e++){var n=D.get.label(e),n=""!==n?e%D.get.gapRatio()?Y('<li class="halftick label"></li>'):Y('<li class="label">'+n+"</li>"):null;n&&(D.update.labelPosition(e/t,n),d.append(n))}}},bind:{events:function(){D.bind.globalKeyboardEvents(),D.bind.keyboardEvents(),D.bind.mouseEvents(),p.autoAdjustLabels&&D.bind.windowEvents()},keyboardEvents:function(){D.verbose("Binding keyboard events"),P.on("keydown"+M,D.event.keydown)},globalKeyboardEvents:function(){F.on("keydown"+M+t,D.event.activateFocus)},mouseEvents:function(){D.verbose("Binding mouse and touch events"),P.find(".track, .thumb, .inner").on("mousedown"+M,function(e){e.stopImmediatePropagation(),e.preventDefault(),D.event.down(e)}),P.on("mousedown"+M,D.event.down),P.on("mouseenter"+M,function(e){w=!0}),P.on("mouseleave"+M,function(e){w=!1}),P.find(".thumb").on("touchstart"+M,D.event.touchDown).on("touchmove"+M,D.event.move).on("touchend"+M,D.event.up).on("touchcancel"+M,D.event.touchCancel)},slidingEvents:function(){D.verbose("Binding page wide events while handle is being draged"),F.on("mousemove"+M,D.event.move),F.on("mouseup"+M,D.event.up)},windowEvents:function(){O.on("resize"+M,D.event.resize)}},unbind:{events:function(){P.find(".track, .thumb, .inner").off("mousedown"+M),P.off("mousedown"+M),P.off("mouseenter"+M),P.off("mouseleave"+M),P.find(".thumb").off("touchstart"+M).off("touchmove"+M).off("touchend"+M).off("touchcancel"+M),P.off("keydown"+M),P.off("focusout"+M),F.off("keydown"+M+t,D.event.activateFocus),O.off("resize"+M)},slidingEvents:function(){F.off("mousemove"+M),F.off("mouseup"+M)}},event:{down:function(e){e.preventDefault(),D.is.range()?(e=D.determine.eventPos(e),e=D.determine.pos(e),l=p.preventCrossover&&D.is.range()&&D.thumbVal===D.secondThumbVal?(r=e,K):D.determine.closestThumb(e),b===K&&(b=D.get.currentThumbValue())):b===K&&(b=D.get.value()),D.is.disabled()||D.bind.slidingEvents()},touchDown:function(e){e.preventDefault(),e.stopImmediatePropagation(),s===K&&(l=Y(e.target),e=e.touches?e:e.originalEvent,s=e.targetTouches[0].identifier,b===K&&(b=D.get.currentThumbValue()))},move:function(e){var t,n,a;"mousemove"==e.type&&e.preventDefault(),D.is.disabled()||(t=D.determine.valueFromEvent(e),"mousemove"==e.type&&l===K&&(n=D.determine.eventPos(e),n=D.determine.pos(n),l=n<r?i:u),0==D.get.step()||D.is.smooth()?(n=D.thumbVal,a=D.secondThumbVal,e=D.determine.smoothValueFromEvent(e),l.hasClass("second")?(p.preventCrossover&&D.is.range()&&(t=Math.max(n,t),e=Math.max(n,e)),a=t):(p.preventCrossover&&D.is.range()&&(t=Math.min(a,t),e=Math.min(a,e)),n=t),t=Math.abs(n-(a||0)),D.update.position(e),p.onMove.call(E,t,n,a)):D.update.value(t,function(e,t,n){p.onMove.call(E,e,t,n)}))},up:function(e){e.preventDefault(),D.is.disabled()||(e=D.determine.valueFromEvent(e),D.set.value(e),D.unbind.slidingEvents(),b!==(s=K)&&(b=K))},touchCancel:function(e){e.preventDefault(),b!==(s=K)&&(D.update.value(b),b=K)},keydown:function(e,t){if(p.preventCrossover&&D.is.range()&&D.thumbVal===D.secondThumbVal&&(l=K),D.is.focused()&&F.trigger(e),t||D.is.focused()){t=D.determine.keyMovement(e);if(0!=t)switch(e.preventDefault(),t){case 1:D.takeStep();break;case 2:D.takeStep(D.get.multiplier());break;case-1:D.backStep();break;case-2:D.backStep(D.get.multiplier())}}},activateFocus:function(e){!D.is.focused()&&D.is.hover()&&0!=D.determine.keyMovement(e)&&(e.preventDefault(),D.event.keydown(e,!0),P.trigger("focus"))},resize:function(e){L!=D.get.gapRatio()&&(D.setup.labels(),L=D.get.gapRatio())}},resync:function(){D.verbose("Resyncing thumb position based on value"),D.is.range()&&D.update.position(D.secondThumbVal,u),D.update.position(D.thumbVal,i),D.setup.labels()},takeStep:function(e){e=e!=K?e:1;var t=D.get.step(),n=D.get.currentThumbValue();D.verbose("Taking a step"),0<t?D.set.value(n+t*e):0==t&&(t=D.get.precision(),D.set.value(Math.round((n+e/t)*t)/t))},backStep:function(e){e=e!=K?e:1;var t=D.get.step(),n=D.get.currentThumbValue();D.verbose("Going back a step"),0<t?D.set.value(n-t*e):0==t&&(t=D.get.precision(),D.set.value(Math.round((n-e/t)*t)/t))},is:{range:function(){return P.hasClass(p.className.range)},hover:function(){return w},focused:function(){return P.is(":focus")},disabled:function(){return P.hasClass(p.className.disabled)},labeled:function(){return P.hasClass(p.className.labeled)},reversed:function(){return P.hasClass(p.className.reversed)},vertical:function(){return P.hasClass(p.className.vertical)},smooth:function(){return p.smooth||P.hasClass(p.className.smooth)}},get:{trackOffset:function(){return D.is.vertical()?e.offset().top:e.offset().left},trackLength:function(){return D.is.vertical()?e.height():e.width()},trackLeft:function(){return D.is.vertical()?e.position().top:e.position().left},trackStartPos:function(){return D.is.reversed()?D.get.trackLeft()+D.get.trackLength():D.get.trackLeft()},trackEndPos:function(){return D.is.reversed()?D.get.trackLeft():D.get.trackLeft()+D.get.trackLength()},trackStartMargin:function(){var e=D.is.vertical()?D.is.reversed()?P.css("padding-bottom"):P.css("padding-top"):D.is.reversed()?P.css("padding-right"):P.css("padding-left");return e||"0px"},trackEndMargin:function(){var e=D.is.vertical()?D.is.reversed()?P.css("padding-top"):P.css("padding-bottom"):D.is.reversed()?P.css("padding-left"):P.css("padding-right");return e||"0px"},precision:function(){var e=D.get.step(),e=(e=0!=e?2==(e=String(e).split(".")).length?e[1].length:0:p.decimalPlaces,Math.pow(10,e));return D.debug("Precision determined",e),e},min:function(){return p.min},max:function(){var e=D.get.step(),t=D.get.min(),n=0===e?0:Math.floor((p.max-t)/e);return 0==(0===e?0:(p.max-t)%e)?p.max:t+n*e},step:function(){return p.step},numLabels:function(){var e=Math.round((D.get.max()-D.get.min())/(0===D.get.step()?1:D.get.step()));return D.debug("Determined that there should be "+e+" labels"),e},labelType:function(){return p.labelType},label:function(e){if(y)return y(e);switch(p.labelType){case p.labelTypes.number:return Math.round((e*(0===D.get.step()?1:D.get.step())+D.get.min())*o)/o;case p.labelTypes.letter:return U[e%26];default:return e}},value:function(){return m},currentThumbValue:function(){return l!==K&&l.hasClass("second")?D.secondThumbVal:D.thumbVal},thumbValue:function(e){return"second"!==e?D.thumbVal:D.is.range()?D.secondThumbVal:void D.error(V.notrange)},multiplier:function(){return p.pageMultiplier},thumbPosition:function(e){return"second"!==e?f:D.is.range()?g:void D.error(V.notrange)},gapRatio:function(){var e=1;if(p.autoAdjustLabels){var t=D.get.numLabels(),n=D.get.trackLength(),a=1;if(0<n)for(;n/t*a<p.labelDistance;)t%a||(e=a),a+=1}return e}},determine:{pos:function(e){return D.is.reversed()?D.get.trackStartPos()-e+D.get.trackOffset():e-D.get.trackOffset()-D.get.trackStartPos()},closestThumb:function(e){var t=parseFloat(D.determine.thumbPos(i)),t=Math.abs(e-t),n=parseFloat(D.determine.thumbPos(u)),e=Math.abs(e-n);return(t!==e||D.get.thumbValue()!==D.get.min())&&t<=e?i:u},closestThumbPos:function(e){var t=parseFloat(D.determine.thumbPos(i)),n=Math.abs(e-t),a=parseFloat(D.determine.thumbPos(u));return n<=Math.abs(e-a)?t:a},thumbPos:function(e){return D.is.vertical()?D.is.reversed()?e.css("bottom"):e.css("top"):D.is.reversed()?e.css("right"):e.css("left")},positionFromValue:function(e){var t=D.get.min(),n=D.get.max(),e=n<e?n:e<t?t:e,a=D.get.trackLength(),n=Math.round((e-t)/(n-t)*a);return D.verbose("Determined position: "+n+" from value: "+e),n},positionFromRatio:function(e){var t=D.get.trackLength(),n=D.get.step(),e=Math.round(e*t);return 0==n?e:Math.round(e/n)*n},valueFromEvent:function(e){var e=D.determine.eventPos(e),t=D.determine.pos(e),e=e<D.get.trackOffset()?D.is.reversed()?D.get.max():D.get.min():e>D.get.trackOffset()+D.get.trackLength()?D.is.reversed()?D.get.min():D.get.max():D.determine.value(t);return e},smoothValueFromEvent:function(e){var t=D.get.min(),n=D.get.max(),a=D.get.trackLength(),e=D.determine.eventPos(e)-D.get.trackOffset(),e=(e=e<0?0:a<e?a:e)/a;return(e=D.is.reversed()?1-e:e)*(n-t)+t},eventPos:function(e){if("touchmove"===e.type||"touchend"===e.type){for(var t=e.touches?e:e.originalEvent,n=t.changedTouches[0],a=0;a<t.touches.length;a++)if(t.touches[a].identifier===s){n=t.touches[a];break}var o=n.pageY,r=n.pageX;return D.is.vertical()?o:r}o=e.pageY||e.originalEvent.pageY,r=e.pageX||e.originalEvent.pageX;return D.is.vertical()?o:r},value:function(e){var t=D.is.reversed()?D.get.trackEndPos():D.get.trackStartPos(),t=(e-t)/((D.is.reversed()?D.get.trackStartPos():D.get.trackEndPos())-t),n=D.get.max()-D.get.min(),a=D.get.step(),t=t*n,n=0==a?t:Math.round(t/a)*a;return D.verbose("Determined value based upon position: "+e+" as: "+t),t!=n&&D.verbose("Rounding value to closest step: "+n),D.verbose("Cutting off additional decimal places"),Math.round((n+D.get.min())*o)/o},keyMovement:function(e){var e=e.which,t=!D.is.vertical()||D.is.reversed()?T.downArrow:T.upArrow,n=!D.is.vertical()||D.is.reversed()?T.upArrow:T.downArrow,a=!D.is.vertical()&&D.is.reversed()?T.rightArrow:T.leftArrow,o=!D.is.vertical()&&D.is.reversed()?T.leftArrow:T.rightArrow;return e==t||e==a?-1:e==n||e==o?1:e==T.pageDown?-2:e==T.pageUp?2:0}},handleNewValuePosition:function(e){var t=D.get.min(),n=D.get.max();return e<=t?e=t:n<=e&&(e=n),D.determine.positionFromValue(e)},set:{value:function(a,o){o=!1!==o;var r=b===K;b=b===K?D.get.value():b,D.update.value(a,function(e,t,n){h&&!p.fireOnInit||!o||(a!==b&&p.onChange.call(E,e,t,n),p.onMove.call(E,e,t,n)),r&&(b=K)})},rangeValue:function(e,t,n){var a,o,r;n=!1!==n,D.is.range()?(a=D.get.min(),o=D.get.max(),b=(r=b===K)?D.get.value():b,e<=a?e=a:o<=e&&(e=o),t<=a?t=a:o<=t&&(t=o),D.thumbVal=e,D.secondThumbVal=t,m=Math.abs(D.thumbVal-D.secondThumbVal),D.update.position(D.thumbVal,i),D.update.position(D.secondThumbVal,u),h&&!p.fireOnInit||!n||(m!==b&&p.onChange.call(E,m,D.thumbVal,D.secondThumbVal),p.onMove.call(E,m,D.thumbVal,D.secondThumbVal)),r&&(b=K)):D.error(V.notrange)},position:function(e,t){e=D.determine.value(e);"second"===t?(D.secondThumbVal=e,D.update.position(e,u)):(D.thumbVal=e,D.update.position(e,i)),m=Math.abs(D.thumbVal-(D.secondThumbVal||0)),D.set.value(m)}},update:{value:function(e,t){var n=D.get.min(),a=D.get.max();e<=n?e=n:a<=e&&(e=a),D.is.range()?((l=l===K?e<=D.get.currentThumbValue()?i:u:l).hasClass("second")?(p.preventCrossover&&D.is.range()&&(e=Math.max(D.thumbVal,e)),D.secondThumbVal=e):(p.preventCrossover&&D.is.range()&&(e=Math.min(D.secondThumbVal,e)),D.thumbVal=e),m=Math.abs(D.thumbVal-D.secondThumbVal)):(m=e,D.thumbVal=m),D.update.position(e),D.debug("Setting slider value to "+m),"function"==typeof t&&t(m,D.thumbVal,D.secondThumbVal)},position:function(e,t){var n=D.handleNewValuePosition(e),t=t!=K?t:l,a=D.thumbVal||D.get.min(),o=D.secondThumbVal||D.get.min();D.is.range()&&t.hasClass("second")?(g=n,o=e):(f=n,a=e);var r,s=D.get.min(),i=D.get.max(),e=(e-s)/(i-s)*100,u=(Math.min(a,o)-s)/(i-s)*100,a=100*(1-(Math.max(a,o)-s)/(i-s)),o=D.is.vertical()?D.is.reversed()?(r={bottom:"calc("+e+"% - "+v+"px)",top:"auto"},{bottom:u+"%",top:a+"%"}):(r={top:"calc("+e+"% - "+v+"px)",bottom:"auto"},{top:u+"%",bottom:a+"%"}):D.is.reversed()?(r={right:"calc("+e+"% - "+v+"px)",left:"auto"},{right:u+"%",left:a+"%"}):(r={left:"calc("+e+"% - "+v+"px)",right:"auto"},{left:u+"%",right:a+"%"});t.css(r),c.css(o),D.debug("Setting slider position to "+n)},labelPosition:function(e,t){var n=D.get.trackStartMargin(),a=D.get.trackEndMargin(),o=D.is.vertical()?D.is.reversed()?"bottom":"top":D.is.reversed()?"right":"left",r=D.is.reversed()&&!D.is.vertical()?" - ":" + ";t.css(o,"calc("+("(100% - "+n+" - "+a+") * "+e)+r+n+")")}},goto:{max:function(){D.set.value(D.get.max())},min:function(){D.set.value(D.get.min())}},read:{metadata:function(){var e={thumbVal:P.data(a.thumbVal),secondThumbVal:P.data(a.secondThumbVal)};e.thumbVal&&(D.is.range()&&e.secondThumbVal?(D.debug("Current value set from metadata",e.thumbVal,e.secondThumbVal),D.set.rangeValue(e.thumbVal,e.secondThumbVal)):(D.debug("Current value set from metadata",e.thumbVal),D.set.value(e.thumbVal)))},settings:function(){!1!==p.start&&(D.is.range()?(D.debug("Start position set from settings",p.start,p.end),D.set.rangeValue(p.start,p.end)):(D.debug("Start position set from settings",p.start),D.set.value(p.start)))}},setting:function(e,t){if(D.debug("Changing setting",e,t),Y.isPlainObject(e))Y.extend(!0,p,e);else{if(t===K)return p[e];Y.isPlainObject(p[e])?Y.extend(!0,p[e],t):p[e]=t}},internal:function(e,t){if(Y.isPlainObject(e))Y.extend(!0,D,e);else{if(t===K)return D[e];D[e]=t}},debug:function(){!p.silent&&p.debug&&(p.performance?D.performance.log(arguments):(D.debug=Function.prototype.bind.call(console.info,console,p.name+":"),D.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?D.performance.log(arguments):(D.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),D.verbose.apply(console,arguments)))},error:function(){p.silent||(D.error=Function.prototype.bind.call(console.error,console,p.name+":"),D.error.apply(console,arguments))},performance:{log:function(e){var t,n;p.performance&&(n=(t=Date.now())-(j||t),j=t,z.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:E,"Execution Time":n})),clearTimeout(D.performance.timer),D.performance.timer=setTimeout(D.performance.display,500)},display:function(){var e=p.name+":",n=0;j=!1,clearTimeout(D.performance.timer),Y.each(z,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",N&&(e+=" '"+N+"'"),(console.group!==K||console.table!==K)&&0<z.length&&(console.groupCollapsed(e),console.table?console.table(z):Y.each(z,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),z=[]}},invoke:function(a,e,t){var o,r,n,s,i=C;return e=e||B,t=t||E,"string"==typeof a&&i!==K&&(a=a.split(/[ .]/),o=a.length-1,Y.each(a,function(e,t){var n=e!=o?t+a[e+1].charAt(0).toUpperCase()+a[e+1].slice(1):a;if(Y.isPlainObject(i[n])&&e!=o)i=i[n];else{if(i[n]!==K)return r=i[n],!1;{if(!Y.isPlainObject(i[t])||e==o)return i[t]!==K?r=i[t]:D.error(V.method,a),!1;i=i[t]}}})),"function"==typeof(s=r)&&"number"!=typeof s.nodeType?n=r.apply(t,e):r!==K&&(n=r),Array.isArray(A)?A.push(n):A!==K?A=[A,n]:n!==K&&(A=n),r}};R?(C===K&&D.initialize(),D.invoke(I)):(C!==K&&C.invoke("destroy"),D.initialize())}),A!==K?A:this},Y.fn.slider.settings={silent:!1,debug:!1,verbose:!1,performance:!0,name:"Slider",namespace:"slider",error:{method:"The method you called is not defined.",notrange:"This slider is not a range slider"},metadata:{thumbVal:"thumbVal",secondThumbVal:"secondThumbVal"},min:0,max:20,step:1,start:0,end:20,labelType:"number",showLabelTicks:!1,smooth:!1,autoAdjustLabels:!0,labelDistance:100,preventCrossover:!0,fireOnInit:!1,interpretLabel:!1,decimalPlaces:2,pageMultiplier:2,selector:{},className:{reversed:"reversed",disabled:"disabled",labeled:"labeled",ticked:"ticked",vertical:"vertical",range:"range",smooth:"smooth"},keys:{pageUp:33,pageDown:34,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40},labelTypes:{number:"number",letter:"letter"},onChange:function(e,t,n){},onMove:function(e,t,n){}}}(jQuery,window,document);
|
11
|
+
!function(Y,t,n,K){"use strict";t=t!==K&&t.Math===Math?t:globalThis,Y.fn.slider=function(S){var A,e=Y(this),F=Y(n),O=Y(t),N=e.selector||"",j=Date.now(),z=[],I=S,R="string"==typeof I,B=[].slice.call(arguments,1),U=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],X=0;return e.each(function(){var l,s,i,u,e,c,d,t,m,f,g,v,o,b,r,h,p=Y.isPlainObject(S)?Y.extend(!0,{},Y.fn.slider.settings,S):Y.extend({},Y.fn.slider.settings),n=p.className,a=p.metadata,k=p.namespace,V=p.error,T=p.keys,y=p.interpretLabel,w=!1,M="."+k,x="module-"+k,P=Y(this),E=this,C=P.data(x),L=1,D={initialize:function(){D.debug("Initializing slider",p),h=!0,t=X+=1,D.setup.layout(),D.setup.labels(),D.is.disabled()||D.bind.events(),D.read.metadata(),D.read.settings(),h=!1,D.instantiate()},instantiate:function(){D.verbose("Storing instance of slider",D),C=D,P.data(x,D)},destroy:function(){D.verbose("Destroying previous slider for",P),clearInterval(C.interval),D.unbind.events(),D.unbind.slidingEvents(),P.removeData(x),C=K},setup:{layout:function(){P.attr("tabindex")===K&&P.attr("tabindex",0),0===P.find(".inner").length&&P.append("<div class='inner'><div class='track'></div><div class='track-fill'></div><div class='thumb'></div></div>"),o=D.get.precision(),i=P.find(".thumb:not(.second)"),l=i,D.is.range()&&(0===P.find(".thumb.second").length&&P.find(".inner").append("<div class='thumb second'></div>"),u=P.find(".thumb.second")),e=P.find(".track"),c=P.find(".track-fill"),v=i.width()/2},labels:function(){D.is.labeled()&&(0<(d=P.find(".labels:not(.auto)")).length?D.setup.customLabel():D.setup.autoLabel(),p.showLabelTicks&&P.addClass(n.ticked))},customLabel:function(){var n,e=d.find(".label"),a=e.length,o=D.get.min(),r=D.get.max();e.each(function(e){var t=Y(this).attr("data-value");n=t?((t=r<t?r:t<o?o:t)-o)/(r-o):(e+1)/(a+1),D.update.labelPosition(n,Y(this))})},autoLabel:function(){0<(d=P.find(".labels")).length?d.empty():d=P.append('<ul class="auto labels"></ul>').find(".labels");for(var e=0,t=D.get.numLabels();e<=t;e++){var n=D.get.label(e),n=""!==n?e%D.get.gapRatio()?Y('<li class="halftick label"></li>'):Y('<li class="label">'+n+"</li>"):null;n&&(D.update.labelPosition(e/t,n),d.append(n))}}},bind:{events:function(){D.bind.globalKeyboardEvents(),D.bind.keyboardEvents(),D.bind.mouseEvents(),p.autoAdjustLabels&&D.bind.windowEvents()},keyboardEvents:function(){D.verbose("Binding keyboard events"),P.on("keydown"+M,D.event.keydown)},globalKeyboardEvents:function(){F.on("keydown"+M+t,D.event.activateFocus)},mouseEvents:function(){D.verbose("Binding mouse and touch events"),P.find(".track, .thumb, .inner").on("mousedown"+M,function(e){e.stopImmediatePropagation(),e.preventDefault(),D.event.down(e)}),P.on("mousedown"+M,D.event.down),P.on("mouseenter"+M,function(e){w=!0}),P.on("mouseleave"+M,function(e){w=!1}),P.find(".thumb").on("touchstart"+M,D.event.touchDown).on("touchmove"+M,D.event.move).on("touchend"+M,D.event.up).on("touchcancel"+M,D.event.touchCancel)},slidingEvents:function(){D.verbose("Binding page wide events while handle is being draged"),F.on("mousemove"+M,D.event.move),F.on("mouseup"+M,D.event.up)},windowEvents:function(){O.on("resize"+M,D.event.resize)}},unbind:{events:function(){P.find(".track, .thumb, .inner").off("mousedown"+M),P.off("mousedown"+M),P.off("mouseenter"+M),P.off("mouseleave"+M),P.find(".thumb").off("touchstart"+M).off("touchmove"+M).off("touchend"+M).off("touchcancel"+M),P.off("keydown"+M),P.off("focusout"+M),F.off("keydown"+M+t,D.event.activateFocus),O.off("resize"+M)},slidingEvents:function(){F.off("mousemove"+M),F.off("mouseup"+M)}},event:{down:function(e){e.preventDefault(),D.is.range()?(e=D.determine.eventPos(e),e=D.determine.pos(e),l=p.preventCrossover&&D.is.range()&&D.thumbVal===D.secondThumbVal?(r=e,K):D.determine.closestThumb(e),b===K&&(b=D.get.currentThumbValue())):b===K&&(b=D.get.value()),D.is.disabled()||D.bind.slidingEvents()},touchDown:function(e){e.preventDefault(),e.stopImmediatePropagation(),s===K&&(l=Y(e.target),e=e.touches?e:e.originalEvent,s=e.targetTouches[0].identifier,b===K&&(b=D.get.currentThumbValue()))},move:function(e){var t,n,a;"mousemove"===e.type&&e.preventDefault(),D.is.disabled()||(t=D.determine.valueFromEvent(e),"mousemove"===e.type&&l===K&&(n=D.determine.eventPos(e),n=D.determine.pos(n),l=n<r?i:u),0===D.get.step()||D.is.smooth()?(n=D.thumbVal,a=D.secondThumbVal,e=D.determine.smoothValueFromEvent(e),l.hasClass("second")?(p.preventCrossover&&D.is.range()&&(t=Math.max(n,t),e=Math.max(n,e)),a=t):(p.preventCrossover&&D.is.range()&&(t=Math.min(a,t),e=Math.min(a,e)),n=t),t=Math.abs(n-(a||0)),D.update.position(e),p.onMove.call(E,t,n,a)):D.update.value(t,function(e,t,n){p.onMove.call(E,e,t,n)}))},up:function(e){e.preventDefault(),D.is.disabled()||(e=D.determine.valueFromEvent(e),D.set.value(e),D.unbind.slidingEvents(),b!==(s=K)&&(b=K))},touchCancel:function(e){e.preventDefault(),b!==(s=K)&&(D.update.value(b),b=K)},keydown:function(e,t){if(p.preventCrossover&&D.is.range()&&D.thumbVal===D.secondThumbVal&&(l=K),D.is.focused()&&F.trigger(e),t||D.is.focused()){t=D.determine.keyMovement(e);if(0!==t)switch(e.preventDefault(),t){case 1:D.takeStep();break;case 2:D.takeStep(D.get.multiplier());break;case-1:D.backStep();break;case-2:D.backStep(D.get.multiplier())}}},activateFocus:function(e){!D.is.focused()&&D.is.hover()&&0!==D.determine.keyMovement(e)&&(e.preventDefault(),D.event.keydown(e,!0),P.trigger("focus"))},resize:function(e){L!==D.get.gapRatio()&&(D.setup.labels(),L=D.get.gapRatio())}},resync:function(){D.verbose("Resyncing thumb position based on value"),D.is.range()&&D.update.position(D.secondThumbVal,u),D.update.position(D.thumbVal,i),D.setup.labels()},takeStep:function(e){e=e||1;var t=D.get.step(),n=D.get.currentThumbValue();D.verbose("Taking a step"),0<t?D.set.value(n+t*e):0===t&&(t=D.get.precision(),D.set.value(Math.round((n+e/t)*t)/t))},backStep:function(e){e=e||1;var t=D.get.step(),n=D.get.currentThumbValue();D.verbose("Going back a step"),0<t?D.set.value(n-t*e):0===t&&(t=D.get.precision(),D.set.value(Math.round((n-e/t)*t)/t))},is:{range:function(){return P.hasClass(p.className.range)},hover:function(){return w},focused:function(){return P.is(":focus")},disabled:function(){return P.hasClass(p.className.disabled)},labeled:function(){return P.hasClass(p.className.labeled)},reversed:function(){return P.hasClass(p.className.reversed)},vertical:function(){return P.hasClass(p.className.vertical)},smooth:function(){return p.smooth||P.hasClass(p.className.smooth)}},get:{trackOffset:function(){return D.is.vertical()?e.offset().top:e.offset().left},trackLength:function(){return D.is.vertical()?e.height():e.width()},trackLeft:function(){return D.is.vertical()?e.position().top:e.position().left},trackStartPos:function(){return D.is.reversed()?D.get.trackLeft()+D.get.trackLength():D.get.trackLeft()},trackEndPos:function(){return D.is.reversed()?D.get.trackLeft():D.get.trackLeft()+D.get.trackLength()},trackStartMargin:function(){var e=D.is.vertical()?D.is.reversed()?P.css("padding-bottom"):P.css("padding-top"):D.is.reversed()?P.css("padding-right"):P.css("padding-left");return e||"0px"},trackEndMargin:function(){var e=D.is.vertical()?D.is.reversed()?P.css("padding-top"):P.css("padding-bottom"):D.is.reversed()?P.css("padding-left"):P.css("padding-right");return e||"0px"},precision:function(){var e=D.get.step(),e=(e=0!==e?2===(e=String(e).split(".")).length?e[1].length:0:p.decimalPlaces,Math.pow(10,e));return D.debug("Precision determined",e),e},min:function(){return p.min},max:function(){var e=D.get.step(),t=D.get.min(),n=0===e?0:Math.floor((p.max-t)/e);return 0==(0===e?0:(p.max-t)%e)?p.max:t+n*e},step:function(){return p.step},numLabels:function(){var e=Math.round((D.get.max()-D.get.min())/(0===D.get.step()?1:D.get.step()));return D.debug("Determined that there should be "+e+" labels"),e},labelType:function(){return p.labelType},label:function(e){if(y)return y(e);switch(p.labelType){case p.labelTypes.number:return Math.round((e*(0===D.get.step()?1:D.get.step())+D.get.min())*o)/o;case p.labelTypes.letter:return U[e%26];default:return e}},value:function(){return m},currentThumbValue:function(){return l!==K&&l.hasClass("second")?D.secondThumbVal:D.thumbVal},thumbValue:function(e){return"second"!==e?D.thumbVal:D.is.range()?D.secondThumbVal:void D.error(V.notrange)},multiplier:function(){return p.pageMultiplier},thumbPosition:function(e){return"second"!==e?f:D.is.range()?g:void D.error(V.notrange)},gapRatio:function(){var e=1;if(p.autoAdjustLabels){var t=D.get.numLabels(),n=D.get.trackLength(),a=1;if(0<n)for(;n/t*a<p.labelDistance;)t%a||(e=a),a+=1}return e}},determine:{pos:function(e){return D.is.reversed()?D.get.trackStartPos()-e+D.get.trackOffset():e-D.get.trackOffset()-D.get.trackStartPos()},closestThumb:function(e){var t=parseFloat(D.determine.thumbPos(i)),t=Math.abs(e-t),n=parseFloat(D.determine.thumbPos(u)),e=Math.abs(e-n);return(t!==e||D.get.thumbValue()!==D.get.min())&&t<=e?i:u},closestThumbPos:function(e){var t=parseFloat(D.determine.thumbPos(i)),n=Math.abs(e-t),a=parseFloat(D.determine.thumbPos(u));return n<=Math.abs(e-a)?t:a},thumbPos:function(e){return D.is.vertical()?D.is.reversed()?e.css("bottom"):e.css("top"):D.is.reversed()?e.css("right"):e.css("left")},positionFromValue:function(e){var t=D.get.min(),n=D.get.max(),e=n<e?n:e<t?t:e,a=D.get.trackLength(),n=Math.round((e-t)/(n-t)*a);return D.verbose("Determined position: "+n+" from value: "+e),n},positionFromRatio:function(e){var t=D.get.trackLength(),n=D.get.step(),e=Math.round(e*t);return 0===n?e:Math.round(e/n)*n},valueFromEvent:function(e){var e=D.determine.eventPos(e),t=D.determine.pos(e),e=e<D.get.trackOffset()?D.is.reversed()?D.get.max():D.get.min():e>D.get.trackOffset()+D.get.trackLength()?D.is.reversed()?D.get.min():D.get.max():D.determine.value(t);return e},smoothValueFromEvent:function(e){var t=D.get.min(),n=D.get.max(),a=D.get.trackLength(),e=D.determine.eventPos(e)-D.get.trackOffset(),e=(e=e<0?0:a<e?a:e)/a;return(e=D.is.reversed()?1-e:e)*(n-t)+t},eventPos:function(e){if("touchmove"===e.type||"touchend"===e.type){for(var t=e.touches?e:e.originalEvent,n=t.changedTouches[0],a=0;a<t.touches.length;a++)if(t.touches[a].identifier===s){n=t.touches[a];break}var o=n.pageY,r=n.pageX;return D.is.vertical()?o:r}o=e.pageY||e.originalEvent.pageY,r=e.pageX||e.originalEvent.pageX;return D.is.vertical()?o:r},value:function(e){var t=D.is.reversed()?D.get.trackEndPos():D.get.trackStartPos(),t=(e-t)/((D.is.reversed()?D.get.trackStartPos():D.get.trackEndPos())-t),n=D.get.max()-D.get.min(),a=D.get.step(),t=t*n,n=0===a?t:Math.round(t/a)*a;return D.verbose("Determined value based upon position: "+e+" as: "+t),t!=n&&D.verbose("Rounding value to closest step: "+n),D.verbose("Cutting off additional decimal places"),Math.round((n+D.get.min())*o)/o},keyMovement:function(e){var e=e.which,t=!D.is.vertical()||D.is.reversed()?T.downArrow:T.upArrow,n=!D.is.vertical()||D.is.reversed()?T.upArrow:T.downArrow,a=!D.is.vertical()&&D.is.reversed()?T.rightArrow:T.leftArrow,o=!D.is.vertical()&&D.is.reversed()?T.leftArrow:T.rightArrow;return e===t||e===a?-1:e===n||e===o?1:e===T.pageDown?-2:e===T.pageUp?2:0}},handleNewValuePosition:function(e){var t=D.get.min(),n=D.get.max();return e<=t?e=t:n<=e&&(e=n),D.determine.positionFromValue(e)},set:{value:function(a,o){o=!1!==o;var r=b===K;b=b===K?D.get.value():b,D.update.value(a,function(e,t,n){h&&!p.fireOnInit||!o||(a!==b&&p.onChange.call(E,e,t,n),p.onMove.call(E,e,t,n)),r&&(b=K)})},rangeValue:function(e,t,n){var a,o,r;n=!1!==n,D.is.range()?(a=D.get.min(),o=D.get.max(),b=(r=b===K)?D.get.value():b,e<=a?e=a:o<=e&&(e=o),t<=a?t=a:o<=t&&(t=o),D.thumbVal=e,D.secondThumbVal=t,m=Math.abs(D.thumbVal-D.secondThumbVal),D.update.position(D.thumbVal,i),D.update.position(D.secondThumbVal,u),h&&!p.fireOnInit||!n||(m!==b&&p.onChange.call(E,m,D.thumbVal,D.secondThumbVal),p.onMove.call(E,m,D.thumbVal,D.secondThumbVal)),r&&(b=K)):D.error(V.notrange)},position:function(e,t){e=D.determine.value(e);"second"===t?(D.secondThumbVal=e,D.update.position(e,u)):(D.thumbVal=e,D.update.position(e,i)),m=Math.abs(D.thumbVal-(D.secondThumbVal||0)),D.set.value(m)}},update:{value:function(e,t){var n=D.get.min(),a=D.get.max();e<=n?e=n:a<=e&&(e=a),D.is.range()?((l=l===K?e<=D.get.currentThumbValue()?i:u:l).hasClass("second")?(p.preventCrossover&&D.is.range()&&(e=Math.max(D.thumbVal,e)),D.secondThumbVal=e):(p.preventCrossover&&D.is.range()&&(e=Math.min(D.secondThumbVal,e)),D.thumbVal=e),m=Math.abs(D.thumbVal-D.secondThumbVal)):(m=e,D.thumbVal=m),D.update.position(e),D.debug("Setting slider value to "+m),"function"==typeof t&&t(m,D.thumbVal,D.secondThumbVal)},position:function(e,t){var n=D.handleNewValuePosition(e),t=t||l,a=D.thumbVal||D.get.min(),o=D.secondThumbVal||D.get.min();D.is.range()&&t.hasClass("second")?(g=n,o=e):(f=n,a=e);var r,s=D.get.min(),i=D.get.max(),e=(e-s)/(i-s)*100,u=(Math.min(a,o)-s)/(i-s)*100,a=100*(1-(Math.max(a,o)-s)/(i-s)),o=D.is.vertical()?D.is.reversed()?(r={bottom:"calc("+e+"% - "+v+"px)",top:"auto"},{bottom:u+"%",top:a+"%"}):(r={top:"calc("+e+"% - "+v+"px)",bottom:"auto"},{top:u+"%",bottom:a+"%"}):D.is.reversed()?(r={right:"calc("+e+"% - "+v+"px)",left:"auto"},{right:u+"%",left:a+"%"}):(r={left:"calc("+e+"% - "+v+"px)",right:"auto"},{left:u+"%",right:a+"%"});t.css(r),c.css(o),D.debug("Setting slider position to "+n)},labelPosition:function(e,t){var n=D.get.trackStartMargin(),a=D.get.trackEndMargin(),o=D.is.vertical()?D.is.reversed()?"bottom":"top":D.is.reversed()?"right":"left",r=D.is.reversed()&&!D.is.vertical()?" - ":" + ";t.css(o,"calc("+("(100% - "+n+" - "+a+") * "+e)+r+n+")")}},goto:{max:function(){D.set.value(D.get.max())},min:function(){D.set.value(D.get.min())}},read:{metadata:function(){var e={thumbVal:P.data(a.thumbVal),secondThumbVal:P.data(a.secondThumbVal)};e.thumbVal&&(D.is.range()&&e.secondThumbVal?(D.debug("Current value set from metadata",e.thumbVal,e.secondThumbVal),D.set.rangeValue(e.thumbVal,e.secondThumbVal)):(D.debug("Current value set from metadata",e.thumbVal),D.set.value(e.thumbVal)))},settings:function(){!1!==p.start&&(D.is.range()?(D.debug("Start position set from settings",p.start,p.end),D.set.rangeValue(p.start,p.end)):(D.debug("Start position set from settings",p.start),D.set.value(p.start)))}},setting:function(e,t){if(D.debug("Changing setting",e,t),Y.isPlainObject(e))Y.extend(!0,p,e);else{if(t===K)return p[e];Y.isPlainObject(p[e])?Y.extend(!0,p[e],t):p[e]=t}},internal:function(e,t){if(Y.isPlainObject(e))Y.extend(!0,D,e);else{if(t===K)return D[e];D[e]=t}},debug:function(){!p.silent&&p.debug&&(p.performance?D.performance.log(arguments):(D.debug=Function.prototype.bind.call(console.info,console,p.name+":"),D.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?D.performance.log(arguments):(D.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),D.verbose.apply(console,arguments)))},error:function(){p.silent||(D.error=Function.prototype.bind.call(console.error,console,p.name+":"),D.error.apply(console,arguments))},performance:{log:function(e){var t,n;p.performance&&(n=(t=Date.now())-(j||t),j=t,z.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:E,"Execution Time":n})),clearTimeout(D.performance.timer),D.performance.timer=setTimeout(D.performance.display,500)},display:function(){var e=p.name+":",n=0;j=!1,clearTimeout(D.performance.timer),Y.each(z,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",N&&(e+=" '"+N+"'"),(console.group!==K||console.table!==K)&&0<z.length&&(console.groupCollapsed(e),console.table?console.table(z):Y.each(z,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),z=[]}},invoke:function(a,e,t){var o,r,n,s,i=C;return e=e||B,t=t||E,"string"==typeof a&&i!==K&&(a=a.split(/[ .]/),o=a.length-1,Y.each(a,function(e,t){var n=e!==o?t+a[e+1].charAt(0).toUpperCase()+a[e+1].slice(1):a;if(Y.isPlainObject(i[n])&&e!==o)i=i[n];else{if(i[n]!==K)return r=i[n],!1;{if(!Y.isPlainObject(i[t])||e===o)return i[t]!==K?r=i[t]:D.error(V.method,a),!1;i=i[t]}}})),"function"==typeof(s=r)&&"number"!=typeof s.nodeType?n=r.apply(t,e):r!==K&&(n=r),Array.isArray(A)?A.push(n):A!==K?A=[A,n]:n!==K&&(A=n),r}};R?(C===K&&D.initialize(),D.invoke(I)):(C!==K&&C.invoke("destroy"),D.initialize())}),A!==K?A:this},Y.fn.slider.settings={silent:!1,debug:!1,verbose:!1,performance:!0,name:"Slider",namespace:"slider",error:{method:"The method you called is not defined.",notrange:"This slider is not a range slider"},metadata:{thumbVal:"thumbVal",secondThumbVal:"secondThumbVal"},min:0,max:20,step:1,start:0,end:20,labelType:"number",showLabelTicks:!1,smooth:!1,autoAdjustLabels:!0,labelDistance:100,preventCrossover:!0,fireOnInit:!1,interpretLabel:!1,decimalPlaces:2,pageMultiplier:2,selector:{},className:{reversed:"reversed",disabled:"disabled",labeled:"labeled",ticked:"ticked",vertical:"vertical",range:"range",smooth:"smooth"},keys:{pageUp:33,pageDown:34,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40},labelTypes:{number:"number",letter:"letter"},onChange:function(e,t,n){},onMove:function(e,t,n){}}}(jQuery,window,document);
|
package/dist/components/state.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.1-beta.
|
2
|
+
* # Fomantic-UI 2.9.1-beta.26+1084e98 - State
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -233,7 +233,7 @@
|
|
233
233
|
}
|
234
234
|
$.when(apiRequest)
|
235
235
|
.then(function () {
|
236
|
-
if (apiRequest.state()
|
236
|
+
if (apiRequest.state() === 'resolved') {
|
237
237
|
module.debug('API request succeeded');
|
238
238
|
settings.activateTest = function () {
|
239
239
|
return true;
|
@@ -519,17 +519,17 @@
|
|
519
519
|
query = query.split(/[ .]/);
|
520
520
|
maxDepth = query.length - 1;
|
521
521
|
$.each(query, function (depth, value) {
|
522
|
-
var camelCaseValue = depth
|
522
|
+
var camelCaseValue = depth !== maxDepth
|
523
523
|
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
|
524
524
|
: query
|
525
525
|
;
|
526
|
-
if ($.isPlainObject(object[camelCaseValue]) && (depth
|
526
|
+
if ($.isPlainObject(object[camelCaseValue]) && (depth !== maxDepth)) {
|
527
527
|
object = object[camelCaseValue];
|
528
528
|
} else if (object[camelCaseValue] !== undefined) {
|
529
529
|
found = object[camelCaseValue];
|
530
530
|
|
531
531
|
return false;
|
532
|
-
} else if ($.isPlainObject(object[value]) && (depth
|
532
|
+
} else if ($.isPlainObject(object[value]) && (depth !== maxDepth)) {
|
533
533
|
object = object[value];
|
534
534
|
} else if (object[value] !== undefined) {
|
535
535
|
found = object[value];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* # Fomantic UI - 2.9.1-beta.
|
2
|
+
* # Fomantic UI - 2.9.1-beta.26+1084e98
|
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,C,A,P){"use strict";C=C!==P&&C.Math===Math?C:globalThis,w.fn.state=function(v){var g,b=w(this),x=b.selector||"",p=Date.now(),h=[],m=v,T="string"==typeof m,y=[].slice.call(arguments,1);return b.each(function(){var i=w.isPlainObject(v)?w.extend(!0,{},w.fn.state.settings,v):w.extend({},w.fn.state.settings),r=i.error,n=i.metadata,t=i.className,e=i.namespace,a=i.states,o=i.text,s="."+e,c=e+"-module",l=w(this),u=this,d=l.data(c),f={initialize:function(){f.verbose("Initializing module"),i.automatic&&f.add.defaults(),i.context&&""!==x?([C,A].indexOf(i.context)<0?w(A).find(i.context):w(i.context)).on(x,"mouseenter"+s,f.change.text).on(x,"mouseleave"+s,f.reset.text).on(x,"click"+s,f.toggle.state):l.on("mouseenter"+s,f.change.text).on("mouseleave"+s,f.reset.text).on("click"+s,f.toggle.state),f.instantiate()},instantiate:function(){f.verbose("Storing instance of module",f),d=f,l.data(c,f)},destroy:function(){f.verbose("Destroying previous module",d),l.off(s).removeData(c)},refresh:function(){f.verbose("Refreshing selector cache"),l=w(u)},add:{defaults:function(){var n=v&&w.isPlainObject(v.states)?v.states:{};w.each(i.defaults,function(e,t){f.is[e]!==P&&f.is[e]()&&(f.verbose("Adding default states",e,u),w.extend(i.states,t,n))})}},is:{active:function(){return l.hasClass(t.active)},loading:function(){return l.hasClass(t.loading)},inactive:function(){return!l.hasClass(t.active)},state:function(e){return t[e]!==P&&l.hasClass(t[e])},enabled:function(){return!l.is(i.filter.active)},disabled:function(){return l.is(i.filter.active)},textEnabled:function(){return!l.is(i.filter.text)},button:function(){return l.is(".button:not(a, .submit)")},input:function(){return l.is("input")},progress:function(){return l.is(".ui.progress")}},allow:function(e){f.debug("Now allowing state",e),a[e]=!0},disallow:function(e){f.debug("No longer allowing",e),a[e]=!1},allows:function(e){return a[e]||!1},enable:function(){l.removeClass(t.disabled)},disable:function(){l.addClass(t.disabled)},setState:function(e){f.allows(e)&&l.addClass(t[e])},removeState:function(e){f.allows(e)&&l.removeClass(t[e])},toggle:{state:function(){var e;if(f.allows("active")&&f.is.enabled()){if(f.refresh(),w.fn.api!==P)if(e=l.api("get request"),l.api("was cancelled"))f.debug("API Request cancelled by beforesend"),i.activateTest=function(){return!1},i.deactivateTest=function(){return!1};else if(e)return void f.listenTo(e);f.change.state()}}},listenTo:function(e){f.debug("API request detected, waiting for state signal",e),e&&(o.loading&&f.update.text(o.loading),w.when(e).then(function(){"resolved"
|
11
|
+
!function(w,C,A,P){"use strict";C=C!==P&&C.Math===Math?C:globalThis,w.fn.state=function(v){var g,b=w(this),x=b.selector||"",p=Date.now(),h=[],m=v,T="string"==typeof m,y=[].slice.call(arguments,1);return b.each(function(){var i=w.isPlainObject(v)?w.extend(!0,{},w.fn.state.settings,v):w.extend({},w.fn.state.settings),r=i.error,n=i.metadata,t=i.className,e=i.namespace,a=i.states,o=i.text,s="."+e,c=e+"-module",l=w(this),u=this,d=l.data(c),f={initialize:function(){f.verbose("Initializing module"),i.automatic&&f.add.defaults(),i.context&&""!==x?([C,A].indexOf(i.context)<0?w(A).find(i.context):w(i.context)).on(x,"mouseenter"+s,f.change.text).on(x,"mouseleave"+s,f.reset.text).on(x,"click"+s,f.toggle.state):l.on("mouseenter"+s,f.change.text).on("mouseleave"+s,f.reset.text).on("click"+s,f.toggle.state),f.instantiate()},instantiate:function(){f.verbose("Storing instance of module",f),d=f,l.data(c,f)},destroy:function(){f.verbose("Destroying previous module",d),l.off(s).removeData(c)},refresh:function(){f.verbose("Refreshing selector cache"),l=w(u)},add:{defaults:function(){var n=v&&w.isPlainObject(v.states)?v.states:{};w.each(i.defaults,function(e,t){f.is[e]!==P&&f.is[e]()&&(f.verbose("Adding default states",e,u),w.extend(i.states,t,n))})}},is:{active:function(){return l.hasClass(t.active)},loading:function(){return l.hasClass(t.loading)},inactive:function(){return!l.hasClass(t.active)},state:function(e){return t[e]!==P&&l.hasClass(t[e])},enabled:function(){return!l.is(i.filter.active)},disabled:function(){return l.is(i.filter.active)},textEnabled:function(){return!l.is(i.filter.text)},button:function(){return l.is(".button:not(a, .submit)")},input:function(){return l.is("input")},progress:function(){return l.is(".ui.progress")}},allow:function(e){f.debug("Now allowing state",e),a[e]=!0},disallow:function(e){f.debug("No longer allowing",e),a[e]=!1},allows:function(e){return a[e]||!1},enable:function(){l.removeClass(t.disabled)},disable:function(){l.addClass(t.disabled)},setState:function(e){f.allows(e)&&l.addClass(t[e])},removeState:function(e){f.allows(e)&&l.removeClass(t[e])},toggle:{state:function(){var e;if(f.allows("active")&&f.is.enabled()){if(f.refresh(),w.fn.api!==P)if(e=l.api("get request"),l.api("was cancelled"))f.debug("API Request cancelled by beforesend"),i.activateTest=function(){return!1},i.deactivateTest=function(){return!1};else if(e)return void f.listenTo(e);f.change.state()}}},listenTo:function(e){f.debug("API request detected, waiting for state signal",e),e&&(o.loading&&f.update.text(o.loading),w.when(e).then(function(){"resolved"===e.state()?(f.debug("API request succeeded"),i.activateTest=function(){return!0},i.deactivateTest=function(){return!0}):(f.debug("API request failed"),i.activateTest=function(){return!1},i.deactivateTest=function(){return!1}),f.change.state()}))},change:{state:function(){f.debug("Determining state change direction"),f.is.inactive()?f.activate():f.deactivate(),i.sync&&f.sync(),i.onChange.call(u)},text:function(){f.is.textEnabled()&&(f.is.disabled()?(f.verbose("Changing text to disabled text",o.hover),f.update.text(o.disabled)):f.is.active()?o.hover?(f.verbose("Changing text to hover text",o.hover),f.update.text(o.hover)):o.deactivate&&(f.verbose("Changing text to deactivating text",o.deactivate),f.update.text(o.deactivate)):o.hover?(f.verbose("Changing text to hover text",o.hover),f.update.text(o.hover)):o.activate&&(f.verbose("Changing text to activating text",o.activate),f.update.text(o.activate)))}},activate:function(){i.activateTest.call(u)&&(f.debug("Setting state to active"),l.addClass(t.active),f.update.text(o.active),i.onActivate.call(u))},deactivate:function(){i.deactivateTest.call(u)&&(f.debug("Setting state to inactive"),l.removeClass(t.active),f.update.text(o.inactive),i.onDeactivate.call(u))},sync:function(){f.verbose("Syncing other buttons to current state"),f.is.active()?b.not(l).state("activate"):b.not(l).state("deactivate")},get:{text:function(){return i.selector.text?l.find(i.selector.text).text():l.html()},textFor:function(e){return o[e]||!1}},flash:{text:function(e,t,n){var a=f.get.text();f.debug("Flashing text message",e,t),e=e||i.text.flash,t=t||i.flashDuration,n=n||function(){},f.update.text(e),setTimeout(function(){f.update.text(a),n.call(u)},t)}},reset:{text:function(){var e=o.active||l.data(n.storedText),t=o.inactive||l.data(n.storedText);f.is.textEnabled()&&(f.is.active()&&e?(f.verbose("Resetting active text",e),f.update.text(e)):t&&(f.verbose("Resetting inactive text",e),f.update.text(t)))}},update:{text:function(e){var t=f.get.text();e&&e!==t?(f.debug("Updating text",e),i.selector.text?l.data(n.storedText,e).find(i.selector.text).text(e):l.data(n.storedText,e).html(e)):f.debug("Text is already set, ignoring update",e)}},setting:function(e,t){if(f.debug("Changing setting",e,t),w.isPlainObject(e))w.extend(!0,i,e);else{if(t===P)return i[e];w.isPlainObject(i[e])?w.extend(!0,i[e],t):i[e]=t}},internal:function(e,t){if(w.isPlainObject(e))w.extend(!0,f,e);else{if(t===P)return f[e];f[e]=t}},debug:function(){!i.silent&&i.debug&&(i.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,i.name+":"),f.debug.apply(console,arguments)))},verbose:function(){!i.silent&&i.verbose&&i.debug&&(i.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,i.name+":"),f.verbose.apply(console,arguments)))},error:function(){i.silent||(f.error=Function.prototype.bind.call(console.error,console,i.name+":"),f.error.apply(console,arguments))},performance:{log:function(e){var t,n;i.performance&&(n=(t=Date.now())-(p||t),p=t,h.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:u,"Execution Time":n})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout(f.performance.display,500)},display:function(){var e=i.name+":",n=0;p=!1,clearTimeout(f.performance.timer),w.each(h,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",x&&(e+=" '"+x+"'"),(console.group!==P||console.table!==P)&&0<h.length&&(console.groupCollapsed(e),console.table?console.table(h):w.each(h,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),h=[]}},invoke:function(a,e,t){var i,o,n,s,c=d;return e=e||y,t=t||u,"string"==typeof a&&c!==P&&(a=a.split(/[ .]/),i=a.length-1,w.each(a,function(e,t){var n=e!==i?t+a[e+1].charAt(0).toUpperCase()+a[e+1].slice(1):a;if(w.isPlainObject(c[n])&&e!==i)c=c[n];else{if(c[n]!==P)return o=c[n],!1;{if(!w.isPlainObject(c[t])||e===i)return c[t]!==P?o=c[t]:f.error(r.method,a),!1;c=c[t]}}})),"function"==typeof(s=o)&&"number"!=typeof s.nodeType?n=o.apply(t,e):o!==P&&(n=o),Array.isArray(g)?g.push(n):g!==P?g=[g,n]:n!==P&&(g=n),o}};T?(d===P&&f.initialize(),f.invoke(m)):(d!==P&&d.invoke("destroy"),f.initialize())}),g!==P?g:this},w.fn.state.settings={name:"State",debug:!1,verbose:!1,namespace:"state",performance:!0,onActivate:function(){},onDeactivate:function(){},onChange:function(){},activateTest:function(){return!0},deactivateTest:function(){return!0},automatic:!0,sync:!1,flashDuration:1e3,filter:{text:".loading, .disabled",active:".disabled"},context:!1,error:{beforeSend:"The before send function has cancelled state change",method:"The method you called is not defined."},metadata:{promise:"promise",storedText:"stored-text"},className:{active:"active",disabled:"disabled",error:"error",loading:"loading",success:"success",warning:"warning"},selector:{text:!1},defaults:{input:{disabled:!0,loading:!0,active:!0},button:{disabled:!0,loading:!0,active:!0},progress:{active:!0,success:!0,warning:!0,error:!0}},states:{active:!0,disabled:!0,error:!0,loading:!0,success:!0,warning:!0},text:{disabled:!1,flash:!1,hover:!1,active:!1,inactive:!1,activate:!1,deactivate:!1}}}(jQuery,window,document);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* # Fomantic-UI 2.9.1-beta.
|
2
|
+
* # Fomantic-UI 2.9.1-beta.26+1084e98 - Statistic
|
3
3
|
* https://github.com/fomantic/Fomantic-UI/
|
4
4
|
*
|
5
5
|
*
|
@@ -98,7 +98,7 @@
|
|
98
98
|
--------------- */
|
99
99
|
.ui.statistics .statistic > .value,
|
100
100
|
.ui.statistic > .value {
|
101
|
-
font-family: 'Lato', system-ui, -apple-system,
|
101
|
+
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';
|
102
102
|
font-size: 4rem;
|
103
103
|
font-weight: normal;
|
104
104
|
line-height: 1em;
|
@@ -112,7 +112,7 @@
|
|
112
112
|
--------------- */
|
113
113
|
.ui.statistics .statistic > .label,
|
114
114
|
.ui.statistic > .label {
|
115
|
-
font-family: 'Lato', system-ui, -apple-system,
|
115
|
+
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';
|
116
116
|
font-size: 1em;
|
117
117
|
font-weight: bold;
|
118
118
|
color: rgba(0, 0, 0, 0.87);
|