uikit 3.25.17-dev.80dfe87 → 3.25.17-dev.8c70e44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/build/prefix.js +1 -1
  3. package/build/publishDev.js +1 -1
  4. package/build/release.js +2 -2
  5. package/build/scope.js +1 -1
  6. package/build/scss.js +1 -1
  7. package/dist/css/uikit-core-rtl.css +892 -802
  8. package/dist/css/uikit-core-rtl.min.css +1 -1
  9. package/dist/css/uikit-core.css +892 -802
  10. package/dist/css/uikit-core.min.css +1 -1
  11. package/dist/css/uikit-rtl.css +893 -803
  12. package/dist/css/uikit-rtl.min.css +1 -1
  13. package/dist/css/uikit.css +893 -803
  14. package/dist/css/uikit.min.css +1 -1
  15. package/dist/js/components/countdown.js +1 -1
  16. package/dist/js/components/countdown.min.js +1 -1
  17. package/dist/js/components/filter.js +1 -1
  18. package/dist/js/components/filter.min.js +1 -1
  19. package/dist/js/components/lightbox-panel.js +133 -132
  20. package/dist/js/components/lightbox-panel.min.js +1 -1
  21. package/dist/js/components/lightbox.js +134 -133
  22. package/dist/js/components/lightbox.min.js +1 -1
  23. package/dist/js/components/marquee.js +179 -0
  24. package/dist/js/components/marquee.min.js +1 -0
  25. package/dist/js/components/notification.js +1 -1
  26. package/dist/js/components/notification.min.js +1 -1
  27. package/dist/js/components/parallax.js +8 -12
  28. package/dist/js/components/parallax.min.js +1 -1
  29. package/dist/js/components/slider-parallax.js +8 -12
  30. package/dist/js/components/slider-parallax.min.js +1 -1
  31. package/dist/js/components/slider.js +41 -25
  32. package/dist/js/components/slider.min.js +1 -1
  33. package/dist/js/components/slideshow-parallax.js +8 -12
  34. package/dist/js/components/slideshow-parallax.min.js +1 -1
  35. package/dist/js/components/slideshow.js +71 -102
  36. package/dist/js/components/slideshow.min.js +1 -1
  37. package/dist/js/components/sortable.js +1 -1
  38. package/dist/js/components/sortable.min.js +1 -1
  39. package/dist/js/components/tooltip.js +19 -19
  40. package/dist/js/components/tooltip.min.js +1 -1
  41. package/dist/js/components/upload.js +1 -1
  42. package/dist/js/components/upload.min.js +1 -1
  43. package/dist/js/uikit-core.js +754 -262
  44. package/dist/js/uikit-core.min.js +1 -1
  45. package/dist/js/uikit-icons.js +1 -1
  46. package/dist/js/uikit-icons.min.js +1 -1
  47. package/dist/js/uikit.js +629 -374
  48. package/dist/js/uikit.min.js +1 -1
  49. package/package.json +2 -2
  50. package/src/js/api/component.js +2 -3
  51. package/src/js/api/observables.js +2 -4
  52. package/src/js/api/options.js +6 -3
  53. package/src/js/api/props.js +1 -4
  54. package/src/js/api/state.js +7 -8
  55. package/src/js/components/index.js +1 -0
  56. package/src/js/components/internal/lightbox-animations.js +7 -26
  57. package/src/js/components/internal/slideshow-animations.js +15 -62
  58. package/src/js/components/lightbox-panel.js +121 -96
  59. package/src/js/components/lightbox.js +5 -8
  60. package/src/js/components/marquee.js +123 -0
  61. package/src/js/components/tooltip.js +4 -2
  62. package/src/js/core/accordion.js +78 -29
  63. package/src/js/core/drop.js +5 -4
  64. package/src/js/core/dropnav.js +3 -3
  65. package/src/js/core/grid.js +5 -19
  66. package/src/js/core/height-match.js +1 -2
  67. package/src/js/core/margin.js +3 -0
  68. package/src/js/core/overflow-fade.js +5 -5
  69. package/src/js/core/sticky.js +1 -1
  70. package/src/js/core/switcher.js +24 -44
  71. package/src/js/core/video.js +172 -15
  72. package/src/js/mixin/connect.js +57 -0
  73. package/src/js/mixin/internal/slideshow-animations.js +5 -13
  74. package/src/js/mixin/internal/slideshow-transitioner.js +2 -2
  75. package/src/js/mixin/modal.js +4 -3
  76. package/src/js/mixin/parallax.js +1 -4
  77. package/src/js/mixin/position.js +1 -1
  78. package/src/js/mixin/scroll-driven.js +57 -0
  79. package/src/js/mixin/slider-nav.js +1 -1
  80. package/src/js/mixin/slider-parallax.js +9 -38
  81. package/src/js/mixin/togglable.js +13 -14
  82. package/src/js/util/attr.js +7 -7
  83. package/src/js/util/class.js +1 -1
  84. package/src/js/util/dom.js +3 -4
  85. package/src/js/util/lang.js +1 -1
  86. package/src/js/util/player.js +4 -4
  87. package/src/js/util/style.js +10 -15
  88. package/src/js/util/viewport.js +22 -25
  89. package/src/less/components/_import.less +6 -1
  90. package/src/less/components/base.less +1 -1
  91. package/src/less/components/button.less +1 -1
  92. package/src/less/components/dropcap.less +71 -0
  93. package/src/less/components/floating-shadow.less +65 -0
  94. package/src/less/components/form.less +5 -5
  95. package/src/less/components/grid.less +57 -64
  96. package/src/less/components/logo.less +94 -0
  97. package/src/less/components/margin.less +81 -81
  98. package/src/less/components/marquee.less +133 -0
  99. package/src/less/components/nav.less +1 -1
  100. package/src/less/components/padding.less +9 -9
  101. package/src/less/components/utility.less +0 -157
  102. package/src/less/theme/_import.less +5 -1
  103. package/src/less/theme/dropcap.less +29 -0
  104. package/src/less/theme/floating-shadow.less +20 -0
  105. package/src/less/theme/logo.less +29 -0
  106. package/src/less/theme/marquee.less +14 -0
  107. package/src/less/theme/utility.less +0 -32
  108. package/src/scss/components/_import.scss +6 -1
  109. package/src/scss/components/base.scss +1 -1
  110. package/src/scss/components/button.scss +1 -1
  111. package/src/scss/components/dropcap.scss +63 -0
  112. package/src/scss/components/floating-shadow.scss +62 -0
  113. package/src/scss/components/form.scss +5 -5
  114. package/src/scss/components/grid.scss +57 -64
  115. package/src/scss/components/logo.scss +75 -0
  116. package/src/scss/components/margin.scss +81 -81
  117. package/src/scss/components/marquee.scss +136 -0
  118. package/src/scss/components/nav.scss +1 -1
  119. package/src/scss/components/padding.scss +9 -9
  120. package/src/scss/components/utility.scss +0 -128
  121. package/src/scss/mixins-theme.scss +41 -32
  122. package/src/scss/mixins.scss +38 -29
  123. package/src/scss/variables-theme.scss +14 -9
  124. package/src/scss/variables.scss +14 -9
  125. package/tests/accordion.html +77 -10
  126. package/tests/alert.html +1 -1
  127. package/tests/align.html +5 -5
  128. package/tests/animation.html +4 -4
  129. package/tests/article.html +7 -7
  130. package/tests/background.html +2 -2
  131. package/tests/badge.html +1 -1
  132. package/tests/base.html +2 -2
  133. package/tests/button.html +1 -1
  134. package/tests/card.html +15 -15
  135. package/tests/close.html +2 -2
  136. package/tests/comment.html +9 -9
  137. package/tests/container.html +2 -2
  138. package/tests/countdown.html +21 -21
  139. package/tests/cover.html +3 -3
  140. package/tests/description-list.html +1 -1
  141. package/tests/divider.html +3 -3
  142. package/tests/dotnav.html +1 -1
  143. package/tests/drop.html +7 -7
  144. package/tests/dropbar.html +5 -5
  145. package/tests/dropcap.html +26 -0
  146. package/tests/dropdown.html +1 -1
  147. package/tests/dropnav.html +18 -18
  148. package/tests/filter.html +3 -3
  149. package/tests/floating-shadow.html +44 -0
  150. package/tests/form.html +14 -14
  151. package/tests/grid.html +41 -47
  152. package/tests/heading.html +2 -2
  153. package/tests/height-viewport.html +4 -4
  154. package/tests/height.html +5 -5
  155. package/tests/icon.html +8 -8
  156. package/tests/image.html +6 -6
  157. package/tests/index.html +13 -13
  158. package/tests/js/index.js +1 -1
  159. package/tests/leader.html +5 -5
  160. package/tests/lightbox.html +6 -6
  161. package/tests/link.html +1 -1
  162. package/tests/list.html +4 -4
  163. package/tests/logo.html +84 -0
  164. package/tests/margin.html +7 -7
  165. package/tests/marker.html +3 -3
  166. package/tests/marquee.html +617 -0
  167. package/tests/modal.html +3 -3
  168. package/tests/nav.html +5 -5
  169. package/tests/navbar.html +27 -27
  170. package/tests/notification.html +2 -2
  171. package/tests/offcanvas.html +12 -12
  172. package/tests/overlay.html +3 -3
  173. package/tests/padding.html +1 -1
  174. package/tests/pagination.html +3 -3
  175. package/tests/parallax.html +1 -1
  176. package/tests/position.html +6 -6
  177. package/tests/scrollspy.html +12 -12
  178. package/tests/search.html +5 -5
  179. package/tests/section.html +17 -17
  180. package/tests/slidenav.html +3 -3
  181. package/tests/slider.html +5 -5
  182. package/tests/slideshow.html +3 -3
  183. package/tests/sortable.html +15 -15
  184. package/tests/sticky-navbar.html +4 -4
  185. package/tests/sticky-parallax.html +3 -3
  186. package/tests/sticky.html +3 -3
  187. package/tests/svg.html +3 -2
  188. package/tests/switcher.html +6 -6
  189. package/tests/tab.html +4 -4
  190. package/tests/text.html +3 -3
  191. package/tests/tile.html +4 -4
  192. package/tests/toggle.html +1 -1
  193. package/tests/tooltip.html +3 -3
  194. package/tests/totop.html +2 -2
  195. package/tests/transition.html +1 -1
  196. package/tests/upload.html +5 -5
  197. package/tests/utility.html +16 -116
  198. package/tests/video.html +224 -24
  199. package/tests/visibility.html +4 -4
  200. package/tests/width.html +12 -12
@@ -0,0 +1,179 @@
1
+ /*! UIkit 3.25.17-dev.8c70e44 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
+
3
+ (function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
5
+ typeof define === 'function' && define.amd ? define('uikitmarquee', ['uikit-util'], factory) :
6
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.UIkitMarquee = factory(global.UIkit.util));
7
+ })(this, (function (uikitUtil) { 'use strict';
8
+
9
+ function callUpdate(instance, e = "update") {
10
+ if (!instance._connected) {
11
+ return;
12
+ }
13
+ if (!instance._updates.length) {
14
+ return;
15
+ }
16
+ if (!instance._updateCount) {
17
+ instance._updateCount = 0;
18
+ requestAnimationFrame(() => instance._updateCount = 0);
19
+ }
20
+ if (!instance._queued) {
21
+ instance._queued = /* @__PURE__ */ new Set();
22
+ uikitUtil.fastdom.read(() => {
23
+ if (instance._connected) {
24
+ runUpdates(instance, instance._queued);
25
+ }
26
+ instance._queued = null;
27
+ });
28
+ }
29
+ if (instance._updateCount++ < 20) {
30
+ instance._queued.add(e.type || e);
31
+ }
32
+ }
33
+ function runUpdates(instance, types) {
34
+ for (const { read, write, events = [] } of instance._updates) {
35
+ if (!types.has("update") && !events.some((type) => types.has(type))) {
36
+ continue;
37
+ }
38
+ let result;
39
+ if (read) {
40
+ result = read.call(instance, instance._data, types);
41
+ if (result && uikitUtil.isPlainObject(result)) {
42
+ uikitUtil.assign(instance._data, result);
43
+ }
44
+ }
45
+ if (write && result !== false) {
46
+ uikitUtil.fastdom.write(() => {
47
+ if (instance._connected) {
48
+ write.call(instance, instance._data, types);
49
+ }
50
+ });
51
+ }
52
+ }
53
+ }
54
+
55
+ function resize(options) {
56
+ return observe(uikitUtil.observeResize, options, "resize");
57
+ }
58
+ function intersection(options) {
59
+ return observe(uikitUtil.observeIntersection, options);
60
+ }
61
+ function observe(observe2, options, emit) {
62
+ return {
63
+ observe: observe2,
64
+ handler() {
65
+ callUpdate(this, emit);
66
+ },
67
+ ...options
68
+ };
69
+ }
70
+
71
+ var Class = {
72
+ connected() {
73
+ this._cmpCls = uikitUtil.hasClass(this.$el, this.$options.id);
74
+ uikitUtil.addClass(this.$el, this.$options.id);
75
+ },
76
+ disconnected() {
77
+ if (!this._cmpCls) {
78
+ uikitUtil.removeClass(this.$el, this.$options.id);
79
+ }
80
+ }
81
+ };
82
+
83
+ const hasAnimationApi = uikitUtil.inBrowser && window.Animation;
84
+ var Component = {
85
+ mixins: [Class],
86
+ props: {
87
+ velocity: Number,
88
+ start: Number,
89
+ reverse: Boolean,
90
+ pause: Boolean,
91
+ pauseVelocity: Number,
92
+ fadeSize: null
93
+ },
94
+ data: {
95
+ velocity: 25,
96
+ start: 0,
97
+ reverse: false,
98
+ pause: false,
99
+ pauseVelocity: 10,
100
+ selList: ".uk-marquee-items",
101
+ fadeSize: 0
102
+ },
103
+ computed: {
104
+ list: ({ selList }, $el) => uikitUtil.$(selList, $el),
105
+ items() {
106
+ return uikitUtil.children(this.list);
107
+ }
108
+ },
109
+ observe: [
110
+ resize({
111
+ target: ({ $el, items }) => [$el, ...items]
112
+ }),
113
+ intersection({
114
+ handler(entries) {
115
+ for (const entry of entries) {
116
+ entry.target.inert = !entry.isIntersecting;
117
+ }
118
+ },
119
+ target: ({ items }) => items,
120
+ args: { intersecting: false },
121
+ options: ({ $el }) => ({ root: $el })
122
+ })
123
+ ],
124
+ events: {
125
+ name: [uikitUtil.pointerEnter, uikitUtil.pointerLeave],
126
+ el: ({ $el }) => $el,
127
+ self: true,
128
+ filter: ({ pause }) => hasAnimationApi && pause,
129
+ handler(e) {
130
+ for (const el of this.items) {
131
+ for (const animation of el.getAnimations()) {
132
+ animation.playbackRate = e.type === uikitUtil.pointerEnter ? this.pauseVelocity / this.velocity : 1;
133
+ }
134
+ }
135
+ }
136
+ },
137
+ update: {
138
+ write() {
139
+ const prefix = this.$options.id;
140
+ const items = this.items;
141
+ const vertical = uikitUtil.hasClass(this.$el, `${prefix}-vertical`);
142
+ uikitUtil.css(items, "offset", "none");
143
+ const dir = vertical ? ["top", "bottom"] : ["left", "right"];
144
+ if (!vertical && uikitUtil.isRtl) {
145
+ dir.reverse();
146
+ }
147
+ const listStart = uikitUtil.dimensions(this.list)[dir[0]];
148
+ const listEnd = Math[!vertical && uikitUtil.isRtl ? "min" : "max"](
149
+ ...items.map((el) => uikitUtil.dimensions(el)[dir[1]])
150
+ );
151
+ for (const el of items) {
152
+ const elEnd = uikitUtil.dimensions(el)[dir[1]];
153
+ const line1 = listEnd - elEnd;
154
+ const line2 = elEnd - listStart;
155
+ const path = vertical ? `"M0 0 v${line1}M0 ${-line2} v${line2}"` : `"M0 0 h${line1}M${-line2} 0 h${line2}"`;
156
+ uikitUtil.css(el, `--${prefix}-path`, path);
157
+ }
158
+ uikitUtil.css(this.$el, {
159
+ [`--${prefix}-duration`]: `${Math.abs(listStart - listEnd) / this.velocity}s`,
160
+ [`--${prefix}-start`]: this.start,
161
+ [`--${prefix}-direction`]: this.reverse ? "reverse" : "normal",
162
+ "--uk-overflow-fade-size": this.fadeSize ? `${uikitUtil.toPx(this.fadeSize, vertical ? "height" : "width", this.$el, true)}px` : ""
163
+ });
164
+ uikitUtil.toggleClass(this.$el, `${prefix}-fade`, this.fadeSize);
165
+ uikitUtil.css(items, "offset", "");
166
+ },
167
+ events: ["resize"]
168
+ }
169
+ };
170
+
171
+ var name = 'marquee';
172
+
173
+ if (typeof window !== "undefined" && window.UIkit) {
174
+ window.UIkit.component(name, Component);
175
+ }
176
+
177
+ return Component;
178
+
179
+ }));
@@ -0,0 +1 @@
1
+ /*! UIkit 3.25.17-dev.8c70e44 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(s,d){typeof exports=="object"&&typeof module<"u"?module.exports=d(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitmarquee",["uikit-util"],d):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitMarquee=d(s.UIkit.util))})(this,(function(s){"use strict";function d(e,t="update"){e._connected&&e._updates.length&&(e._updateCount||(e._updateCount=0,requestAnimationFrame(()=>e._updateCount=0)),e._queued||(e._queued=new Set,s.fastdom.read(()=>{e._connected&&p(e,e._queued),e._queued=null})),e._updateCount++<20&&e._queued.add(t.type||t))}function p(e,t){for(const{read:o,write:r,events:i=[]}of e._updates){if(!t.has("update")&&!i.some(a=>t.has(a)))continue;let n;o&&(n=o.call(e,e._data,t),n&&s.isPlainObject(n)&&s.assign(e._data,n)),r&&n!==!1&&s.fastdom.write(()=>{e._connected&&r.call(e,e._data,t)})}}function m(e){return h(s.observeResize,e,"resize")}function v(e){return h(s.observeIntersection,e)}function h(e,t,o){return{observe:e,handler(){d(this,o)},...t}}var $={connected(){this._cmpCls=s.hasClass(this.$el,this.$options.id),s.addClass(this.$el,this.$options.id)},disconnected(){this._cmpCls||s.removeClass(this.$el,this.$options.id)}};const _=s.inBrowser&&window.Animation;var u={mixins:[$],props:{velocity:Number,start:Number,reverse:Boolean,pause:Boolean,pauseVelocity:Number,fadeSize:null},data:{velocity:25,start:0,reverse:!1,pause:!1,pauseVelocity:10,selList:".uk-marquee-items",fadeSize:0},computed:{list:({selList:e},t)=>s.$(e,t),items(){return s.children(this.list)}},observe:[m({target:({$el:e,items:t})=>[e,...t]}),v({handler(e){for(const t of e)t.target.inert=!t.isIntersecting},target:({items:e})=>e,args:{intersecting:!1},options:({$el:e})=>({root:e})})],events:{name:[s.pointerEnter,s.pointerLeave],el:({$el:e})=>e,self:!0,filter:({pause:e})=>_&&e,handler(e){for(const t of this.items)for(const o of t.getAnimations())o.playbackRate=e.type===s.pointerEnter?this.pauseVelocity/this.velocity:1}},update:{write(){const e=this.$options.id,t=this.items,o=s.hasClass(this.$el,`${e}-vertical`);s.css(t,"offset","none");const r=o?["top","bottom"]:["left","right"];!o&&s.isRtl&&r.reverse();const i=s.dimensions(this.list)[r[0]],n=Math[!o&&s.isRtl?"min":"max"](...t.map(a=>s.dimensions(a)[r[1]]));for(const a of t){const l=s.dimensions(a)[r[1]],c=n-l,f=l-i,C=o?`"M0 0 v${c}M0 ${-f} v${f}"`:`"M0 0 h${c}M${-f} 0 h${f}"`;s.css(a,`--${e}-path`,C)}s.css(this.$el,{[`--${e}-duration`]:`${Math.abs(i-n)/this.velocity}s`,[`--${e}-start`]:this.start,[`--${e}-direction`]:this.reverse?"reverse":"normal","--uk-overflow-fade-size":this.fadeSize?`${s.toPx(this.fadeSize,o?"height":"width",this.$el,!0)}px`:""}),s.toggleClass(this.$el,`${e}-fade`,this.fadeSize),s.css(t,"offset","")},events:["resize"]}},w="marquee";return typeof window<"u"&&window.UIkit&&window.UIkit.component(w,u),u}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.17-dev.80dfe87 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.17-dev.8c70e44 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -1 +1 @@
1
- /*! UIkit 3.25.17-dev.80dfe87 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(t,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitnotification",["uikit-util"],o):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitNotification=o(t.UIkit.util))})(this,(function(t){"use strict";var o={props:{container:Boolean},data:{container:!0},computed:{container({container:e}){return e===!0&&this.$container||e&&t.$(e)}}};function c(e){e.target.closest('a[href="#"],a[href=""]')&&e.preventDefault()}var r={mixins:[o],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:"",pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:h,computed:{marginProp:({pos:e})=>`margin-${e.match(/[a-z]+(?=-)/)[0]}`,startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const e=`${this.clsContainer}-${this.pos}`,s=`data-${this.clsContainer}-container`,i=t.$(`.${e}[${s}]`,this.container)||t.append(this.container,`<div class="${this.clsContainer} ${e}" ${s}></div>`);this.$mount(t.append(i,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-uk-close></a> <div>${this.message}</div> </div>`))},async connected(){const e=t.toFloat(t.css(this.$el,this.marginProp));await t.Transition.start(t.css(this.$el,this.startProps),{opacity:1,[this.marginProp]:e}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(e){c(e),this.close()},[t.pointerEnter](){this.timer&&clearTimeout(this.timer)},[t.pointerLeave](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(e){const s=i=>{const n=t.parent(i);t.trigger(i,"close",[this]),t.remove(i),n!=null&&n.hasChildNodes()||t.remove(n)};this.timer&&clearTimeout(this.timer),e||await t.Transition.start(this.$el,this.startProps),s(this.$el)}}};function h(e){e.notification.closeAll=function(s,i){t.apply(document.body,n=>{const a=e.getComponent(n,"notification");a&&(!s||s===a.group)&&a.close(i)})}}var m="notification";return typeof window<"u"&&window.UIkit&&window.UIkit.component(m,r),r}));
1
+ /*! UIkit 3.25.17-dev.8c70e44 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(t,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitnotification",["uikit-util"],o):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitNotification=o(t.UIkit.util))})(this,(function(t){"use strict";var o={props:{container:Boolean},data:{container:!0},computed:{container({container:e}){return e===!0&&this.$container||e&&t.$(e)}}};function c(e){e.target.closest('a[href="#"],a[href=""]')&&e.preventDefault()}var r={mixins:[o],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:"",pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:h,computed:{marginProp:({pos:e})=>`margin-${e.match(/[a-z]+(?=-)/)[0]}`,startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const e=`${this.clsContainer}-${this.pos}`,s=`data-${this.clsContainer}-container`,i=t.$(`.${e}[${s}]`,this.container)||t.append(this.container,`<div class="${this.clsContainer} ${e}" ${s}></div>`);this.$mount(t.append(i,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-uk-close></a> <div>${this.message}</div> </div>`))},async connected(){const e=t.toFloat(t.css(this.$el,this.marginProp));await t.Transition.start(t.css(this.$el,this.startProps),{opacity:1,[this.marginProp]:e}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(e){c(e),this.close()},[t.pointerEnter](){this.timer&&clearTimeout(this.timer)},[t.pointerLeave](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(e){const s=i=>{const n=t.parent(i);t.trigger(i,"close",[this]),t.remove(i),n!=null&&n.hasChildNodes()||t.remove(n)};this.timer&&clearTimeout(this.timer),e||await t.Transition.start(this.$el,this.startProps),s(this.$el)}}};function h(e){e.notification.closeAll=function(s,i){t.apply(document.body,n=>{const a=e.getComponent(n,"notification");a&&(!s||s===a.group)&&a.close(i)})}}var m="notification";return typeof window<"u"&&window.UIkit&&window.UIkit.component(m,r),r}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.17-dev.80dfe87 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.17-dev.8c70e44 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -170,13 +170,12 @@
170
170
  }
171
171
  if (isUndefined(value)) {
172
172
  return (_a = toNode(element)) == null ? void 0 : _a.getAttribute(name);
173
- } else {
174
- for (const el of toNodes(element)) {
175
- if (value === null) {
176
- removeAttr(el, name);
177
- } else {
178
- el.setAttribute(name, value);
179
- }
173
+ }
174
+ for (const el of toNodes(element)) {
175
+ if (value === null) {
176
+ removeAttr(el, name);
177
+ } else {
178
+ el.setAttribute(name, value);
180
179
  }
181
180
  }
182
181
  }
@@ -634,10 +633,7 @@
634
633
  return val;
635
634
  }
636
635
  function fillObject(keys2, value) {
637
- return keys2.reduce((data, prop) => {
638
- data[prop] = value;
639
- return data;
640
- }, {});
636
+ return Object.fromEntries(keys2.map((prop) => [prop, value]));
641
637
  }
642
638
  function ease(percent, easing) {
643
639
  return easing >= 0 ? Math.pow(percent, easing + 1) : 1 - Math.pow(1 - percent, 1 - easing);
@@ -1 +1 @@
1
- /*! UIkit 3.25.17-dev.80dfe87 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(i,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitparallax",["uikit-util"],b):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitParallax=b(i.UIkit.util))})(this,(function(i){"use strict";function b(n,e="update"){n._connected&&n._updates.length&&(n._updateCount||(n._updateCount=0,requestAnimationFrame(()=>n._updateCount=0)),n._queued||(n._queued=new Set,i.fastdom.read(()=>{n._connected&&Y(n,n._queued),n._queued=null})),n._updateCount++<20&&n._queued.add(e.type||e))}function Y(n,e){for(const{read:t,write:r,events:o=[]}of n._updates){if(!e.has("update")&&!o.some(c=>e.has(c)))continue;let s;t&&(s=t.call(n,n._data,e),s&&i.isPlainObject(s)&&i.assign(n._data,s)),r&&s!==!1&&i.fastdom.write(()=>{n._connected&&r.call(n,n._data,e)})}}function Z(n){return F(i.observeResize,n,"resize")}function k(n){return F((e,t)=>i.observeViewportResize(t),n,"resize")}function U(n){return F((e,t)=>({disconnect:i.on(nn(e),"scroll",t,{passive:!0})}),n,"scroll")}function F(n,e,t){return{observe:n,handler(){b(this,t)},...e}}function nn(n){return i.toNodes(n).map(e=>{const{ownerDocument:t}=e,r=i.scrollParent(e,!0);return r===t.scrollingElement?t:r})}var en={props:{media:Boolean},data:{media:!1},connected(){const n=tn(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const e=()=>{this.matchMedia=this.mediaObj.matches,i.trigger(this.$el,i.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=i.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function tn(n,e){if(i.isString(n)){if(i.startsWith(n,"@"))n=i.toFloat(i.css(e,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&i.isNumeric(n)?`(min-width: ${n}px)`:""}function rn(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}const{from:on}=Array;function P(n){return n!==null&&typeof n=="object"}function sn(n){return P(n)&&n===n.window}function cn(n){return I(n)===9}function N(n){return I(n)>=1}function I(n){return!sn(n)&&P(n)&&n.nodeType}function C(n){return typeof n=="string"}function an(n){return n===void 0}function w(n){return n&&l(n)[0]}function l(n){return N(n)?[n]:Array.from(n||[]).filter(N)}function z(n){const e=Object.create(null);return(t,...r)=>e[t]||(e[t]=n(t,...r))}function A(n,e,t){var r;if(P(e)){for(const o in e)A(n,o,e[o]);return}if(an(t))return(r=w(n))==null?void 0:r.getAttribute(e);for(const o of l(n))t===null?fn(o,e):o.setAttribute(e,t)}function fn(n,e){l(n).forEach(t=>t.removeAttribute(e))}const un=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function dn(n){return l(n).some(e=>un.call(e))}function ln(n){var e;return(e=w(n))==null?void 0:e.parentElement}function hn(n,e){return l(n).filter(t=>T(t,e))}function T(n,e){return l(n).some(t=>t.matches(e))}function gn(n,e){n=w(n);const t=n?on(n.children):[];return e?hn(t,e):t}function W(n,e){return gn(ln(n)).indexOf(n)}function mn(n,e){return l(wn(n,w(e),"querySelectorAll"))}const bn=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,pn=/(\([^)]*\)|[^,])+/g,$n=z(n=>{let e=!1;if(!n||!C(n))return{};const t=[];for(let r of n.match(pn))r=r.trim().replace(bn,"$1 *"),e||(e=["!","+","~","-",">"].includes(r[0])),t.push(r);return{selector:t.join(","),selectors:t,isContextSelector:e}}),vn=/(\([^)]*\)|\S)*/,R=z(n=>{n=n.slice(1).trim();const[e]=n.match(vn);return[e,n.slice(e.length+1)]});function wn(n,e=document,t){var r;const o=$n(n);if(!o.isContextSelector)return o.selector?M(e,t,o.selector):n;n="";const s=o.selectors.length===1;for(let c of o.selectors){let a,f=e;if(c[0]==="!"&&([a,c]=R(c),f=(r=e.parentElement)==null?void 0:r.closest(a),!c&&s)||f&&c[0]==="-"&&([a,c]=R(c),f=f.previousElementSibling,f=T(f,a)?f:null,!c&&s))return f;if(f){if(s)return c[0]==="~"||c[0]==="+"?(c=`:scope > :nth-child(${W(f)+1}) ${c}`,f=f.parentElement):c[0]===">"&&(c=`:scope ${c}`),M(f,t,c);n+=`${n?",":""}${xn(f)} ${c}`}}return cn(e)||(e=e.ownerDocument),M(e,t,n)}function M(n,e,t){try{return n[e](t)}catch{return null}}function xn(n){const e=[];for(;n.parentNode;){const t=A(n,"id");if(t){e.unshift(`#${yn(t)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${W(n)+1})`),e.unshift(r),n=n.parentNode}}return e.join(" > ")}function yn(n){return C(n)?CSS.escape(n):""}const Sn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function _n(n){const e=Sn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("template");return t.innerHTML=n.trim(),Fn(t.content.childNodes)}function Fn(n){return n.length>1?n:n[0]}function Pn(n,e){return Cn(n)?l(_n(n)):mn(n,e)}function Cn(n){return C(n)&&rn(n.trim(),"<")}function Mn(n){return dn(n)?Math.ceil(Math.max(0,...Pn("[stroke]",n).map(e=>{var t;return((t=e.getTotalLength)==null?void 0:t.call(e))||0}))):0}const x={x:y,y,rotate:y,scale:y,color:O,backgroundColor:O,borderColor:O,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:En,stroke:Nn,bgx:D,bgy:D},{keys:q}=Object;var On={mixins:[en],props:Q(q(x),"list"),data:Q(q(x),void 0),computed:{props(n,e){const t={};for(const o in n)o in x&&!i.isUndefined(n[o])&&(t[o]=n[o].slice());const r={};for(const o in t)r[o]=x[o](o,e,t[o],t);return r}},events:{load(){this.$emit()}},methods:{reset(){i.resetProps(this.$el,this.getCss(0))},getCss(n){const e={};for(const t in this.props)this.props[t](e,i.clamp(n));return e.willChange=Object.keys(e).map(i.propName).join(","),e}}};function y(n,e,t){let r=_(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",o;return n==="x"||n==="y"?(n=`translate${i.ucfirst(n)}`,o=s=>i.toFloat(i.toFloat(s).toFixed(r==="px"?0:6))):n==="scale"&&(r="",o=s=>{var c;return _([s])?i.toPx(s,"width",e,!0)/e[`offset${(c=s.endsWith)!=null&&c.call(s,"vh")?"Height":"Width"}`]:i.toFloat(s)}),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,o),(s,c)=>{s.transform=`${s.transform||""} ${n}(${p(t,c)}${r})`}}function O(n,e,t){return t.length===1&&t.unshift($(e,n,"")),t=m(t,r=>jn(e,r)),(r,o)=>{const[s,c,a]=L(t,o),f=s.map((h,u)=>(h+=a*(c[u]-h),u===3?i.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${f})`}}function jn(n,e){return $(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const r=_(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(o,s)=>{const c=p(t,s);o.filter=`${o.filter||""} ${n}(${c+r})`}}function En(n,e,t){return t.length===1&&t.unshift($(e,n,"")),t=m(t),(r,o)=>{r[n]=p(t,o)}}function Nn(n,e,t){t.length===1&&t.unshift(0);const r=_(t),o=Mn(e);return t=m(t.reverse(),s=>(s=i.toFloat(s),r==="%"?s*o/100:s)),t.some(([s])=>s)?(i.css(e,"strokeDasharray",o),(s,c)=>{s.strokeDashoffset=p(t,c)}):i.noop}function D(n,e,t,r){t.length===1&&t.unshift(0);const o=n==="bgy"?"height":"width";r[n]=m(t,a=>i.toPx(a,o,e));const s=["bgx","bgy"].filter(a=>a in r);if(s.length===2&&n==="bgx")return i.noop;if($(e,"backgroundSize","")==="cover")return In(n,e,t,r);const c={};for(const a of s)c[a]=H(e,a);return V(s,c,r)}function In(n,e,t,r){const o=zn(e);if(!o.width)return i.noop;const s={width:e.offsetWidth,height:e.offsetHeight},c=["bgx","bgy"].filter(u=>u in r),a={};for(const u of c){const d=r[u].map(([Rn])=>Rn),v=Math.min(...d),E=Math.max(...d),K=d.indexOf(v)<d.indexOf(E),X=E-v;a[u]=`${(K?-X:0)-(K?v:E)}px`,s[u==="bgy"?"height":"width"]+=X}const f=i.Dimensions.cover(o,s);for(const u of c){const d=u==="bgy"?"height":"width",v=f[d]-s[d];a[u]=`max(${H(e,u)},-${v}px) + ${a[u]}`}const h=V(c,a,r);return(u,d)=>{h(u,d),u.backgroundSize=`${f.width}px ${f.height}px`,u.backgroundRepeat="no-repeat"}}function H(n,e){return $(n,`background-position-${e.slice(-1)}`,"")}function V(n,e,t){return function(r,o){for(const s of n){const c=p(t[s],o);r[`background-position-${s.slice(-1)}`]=`calc(${e[s]} + ${c}px)`}}}const B={},S={};function zn(n){const e=i.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[e])return S[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth&&!B[e])?(i.once(t,"error load",()=>{S[e]=j(t),i.trigger(n,i.createEvent("load",!1))}),B[e]=!0,j(t)):S[e]=j(t)}function j(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=i.toFloat){const t=[],{length:r}=n;let o=0;for(let s=0;s<r;s++){let[c,a]=i.isString(n[s])?n[s].trim().split(/ (?![^(]*\))/):[n[s]];if(c=e(c),a=a?i.toFloat(a)/100:null,s===0?a===null?a=0:a&&t.push([c,0]):s===r-1&&(a===null?a=1:a!==1&&(t.push([c,a]),a=1)),t.push([c,a]),a===null)o++;else if(o){const f=t[s-o-1][1],h=(a-f)/(o+1);for(let u=o;u>0;u--)t[s-u][1]=f+h*(o-u+1);o=0}}return t}function L(n,e){const t=i.findIndex(n.slice(1),([,r])=>e<=r)+1;return[n[t-1][0],n[t][0],(e-n[t-1][1])/(n[t][1]-n[t-1][1])]}function p(n,e){const[t,r,o]=L(n,e);return t+(r-t)*o}const An=/^-?\d+(?:\.\d+)?(\S+)?/;function _(n,e){var t;for(const r of n){const o=(t=r.match)==null?void 0:t.call(r,An);if(o)return o[1]}return e}function $(n,e,t){const r=n.style[e],o=i.css(i.css(n,e,t),e);return n.style[e]=r,o}function Q(n,e){return n.reduce((t,r)=>(t[r]=e,t),{})}function Tn(n,e){return e>=0?Math.pow(n,e+1):1-Math.pow(1-n,1-e)}var G={mixins:[On],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target:({target:n},e)=>J(n&&i.query(n,e)||e),start({start:n}){return i.toPx(n,"height",this.target,!0)},end({end:n,viewport:e}){return i.toPx(n||(e=(1-e)*100)&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[k(),U({target:({target:n})=>n}),Z({target:({$el:n,target:e})=>[n,e,i.scrollParent(e,!0)]})],update:{read({percent:n},e){if(e.has("scroll")||(n=!1),!i.isVisible(this.$el))return!1;if(!this.matchMedia)return;const t=n;return n=Tn(i.scrolledOver(this.target,this.start,this.end),this.easing),{percent:n,style:t===n?!1:this.getCss(n)}},write({style:n}){if(!this.matchMedia){this.reset();return}n&&i.css(this.$el,n)},events:["scroll","resize"]}};function J(n){return n?"offsetTop"in n?n:J(i.parent(n)):document.documentElement}var Wn="parallax";return typeof window<"u"&&window.UIkit&&window.UIkit.component(Wn,G),G}));
1
+ /*! UIkit 3.25.17-dev.8c70e44 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(i,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitparallax",["uikit-util"],b):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitParallax=b(i.UIkit.util))})(this,(function(i){"use strict";function b(n,e="update"){n._connected&&n._updates.length&&(n._updateCount||(n._updateCount=0,requestAnimationFrame(()=>n._updateCount=0)),n._queued||(n._queued=new Set,i.fastdom.read(()=>{n._connected&&Y(n,n._queued),n._queued=null})),n._updateCount++<20&&n._queued.add(e.type||e))}function Y(n,e){for(const{read:t,write:r,events:o=[]}of n._updates){if(!e.has("update")&&!o.some(c=>e.has(c)))continue;let s;t&&(s=t.call(n,n._data,e),s&&i.isPlainObject(s)&&i.assign(n._data,s)),r&&s!==!1&&i.fastdom.write(()=>{n._connected&&r.call(n,n._data,e)})}}function Z(n){return F(i.observeResize,n,"resize")}function k(n){return F((e,t)=>i.observeViewportResize(t),n,"resize")}function U(n){return F((e,t)=>({disconnect:i.on(nn(e),"scroll",t,{passive:!0})}),n,"scroll")}function F(n,e,t){return{observe:n,handler(){b(this,t)},...e}}function nn(n){return i.toNodes(n).map(e=>{const{ownerDocument:t}=e,r=i.scrollParent(e,!0);return r===t.scrollingElement?t:r})}var en={props:{media:Boolean},data:{media:!1},connected(){const n=tn(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const e=()=>{this.matchMedia=this.mediaObj.matches,i.trigger(this.$el,i.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=i.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function tn(n,e){if(i.isString(n)){if(i.startsWith(n,"@"))n=i.toFloat(i.css(e,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&i.isNumeric(n)?`(min-width: ${n}px)`:""}function rn(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}const{from:on}=Array;function P(n){return n!==null&&typeof n=="object"}function sn(n){return P(n)&&n===n.window}function cn(n){return I(n)===9}function N(n){return I(n)>=1}function I(n){return!sn(n)&&P(n)&&n.nodeType}function C(n){return typeof n=="string"}function an(n){return n===void 0}function w(n){return n&&l(n)[0]}function l(n){return N(n)?[n]:Array.from(n||[]).filter(N)}function z(n){const e=Object.create(null);return(t,...r)=>e[t]||(e[t]=n(t,...r))}function A(n,e,t){var r;if(P(e)){for(const o in e)A(n,o,e[o]);return}if(an(t))return(r=w(n))==null?void 0:r.getAttribute(e);for(const o of l(n))t===null?fn(o,e):o.setAttribute(e,t)}function fn(n,e){l(n).forEach(t=>t.removeAttribute(e))}const un=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function dn(n){return l(n).some(e=>un.call(e))}function ln(n){var e;return(e=w(n))==null?void 0:e.parentElement}function hn(n,e){return l(n).filter(t=>T(t,e))}function T(n,e){return l(n).some(t=>t.matches(e))}function gn(n,e){n=w(n);const t=n?on(n.children):[];return e?hn(t,e):t}function W(n,e){return gn(ln(n)).indexOf(n)}function mn(n,e){return l(wn(n,w(e),"querySelectorAll"))}const bn=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,pn=/(\([^)]*\)|[^,])+/g,$n=z(n=>{let e=!1;if(!n||!C(n))return{};const t=[];for(let r of n.match(pn))r=r.trim().replace(bn,"$1 *"),e||(e=["!","+","~","-",">"].includes(r[0])),t.push(r);return{selector:t.join(","),selectors:t,isContextSelector:e}}),vn=/(\([^)]*\)|\S)*/,R=z(n=>{n=n.slice(1).trim();const[e]=n.match(vn);return[e,n.slice(e.length+1)]});function wn(n,e=document,t){var r;const o=$n(n);if(!o.isContextSelector)return o.selector?M(e,t,o.selector):n;n="";const s=o.selectors.length===1;for(let c of o.selectors){let a,f=e;if(c[0]==="!"&&([a,c]=R(c),f=(r=e.parentElement)==null?void 0:r.closest(a),!c&&s)||f&&c[0]==="-"&&([a,c]=R(c),f=f.previousElementSibling,f=T(f,a)?f:null,!c&&s))return f;if(f){if(s)return c[0]==="~"||c[0]==="+"?(c=`:scope > :nth-child(${W(f)+1}) ${c}`,f=f.parentElement):c[0]===">"&&(c=`:scope ${c}`),M(f,t,c);n+=`${n?",":""}${xn(f)} ${c}`}}return cn(e)||(e=e.ownerDocument),M(e,t,n)}function M(n,e,t){try{return n[e](t)}catch{return null}}function xn(n){const e=[];for(;n.parentNode;){const t=A(n,"id");if(t){e.unshift(`#${yn(t)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${W(n)+1})`),e.unshift(r),n=n.parentNode}}return e.join(" > ")}function yn(n){return C(n)?CSS.escape(n):""}const Sn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function _n(n){const e=Sn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("template");return t.innerHTML=n.trim(),Fn(t.content.childNodes)}function Fn(n){return n.length>1?n:n[0]}function Pn(n,e){return Cn(n)?l(_n(n)):mn(n,e)}function Cn(n){return C(n)&&rn(n.trim(),"<")}function Mn(n){return dn(n)?Math.ceil(Math.max(0,...Pn("[stroke]",n).map(e=>{var t;return((t=e.getTotalLength)==null?void 0:t.call(e))||0}))):0}const x={x:y,y,rotate:y,scale:y,color:O,backgroundColor:O,borderColor:O,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:En,stroke:Nn,bgx:D,bgy:D},{keys:q}=Object;var On={mixins:[en],props:Q(q(x),"list"),data:Q(q(x),void 0),computed:{props(n,e){const t={};for(const o in n)o in x&&!i.isUndefined(n[o])&&(t[o]=n[o].slice());const r={};for(const o in t)r[o]=x[o](o,e,t[o],t);return r}},events:{load(){this.$emit()}},methods:{reset(){i.resetProps(this.$el,this.getCss(0))},getCss(n){const e={};for(const t in this.props)this.props[t](e,i.clamp(n));return e.willChange=Object.keys(e).map(i.propName).join(","),e}}};function y(n,e,t){let r=_(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",o;return n==="x"||n==="y"?(n=`translate${i.ucfirst(n)}`,o=s=>i.toFloat(i.toFloat(s).toFixed(r==="px"?0:6))):n==="scale"&&(r="",o=s=>{var c;return _([s])?i.toPx(s,"width",e,!0)/e[`offset${(c=s.endsWith)!=null&&c.call(s,"vh")?"Height":"Width"}`]:i.toFloat(s)}),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,o),(s,c)=>{s.transform=`${s.transform||""} ${n}(${p(t,c)}${r})`}}function O(n,e,t){return t.length===1&&t.unshift($(e,n,"")),t=m(t,r=>jn(e,r)),(r,o)=>{const[s,c,a]=L(t,o),f=s.map((h,u)=>(h+=a*(c[u]-h),u===3?i.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${f})`}}function jn(n,e){return $(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const r=_(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(o,s)=>{const c=p(t,s);o.filter=`${o.filter||""} ${n}(${c+r})`}}function En(n,e,t){return t.length===1&&t.unshift($(e,n,"")),t=m(t),(r,o)=>{r[n]=p(t,o)}}function Nn(n,e,t){t.length===1&&t.unshift(0);const r=_(t),o=Mn(e);return t=m(t.reverse(),s=>(s=i.toFloat(s),r==="%"?s*o/100:s)),t.some(([s])=>s)?(i.css(e,"strokeDasharray",o),(s,c)=>{s.strokeDashoffset=p(t,c)}):i.noop}function D(n,e,t,r){t.length===1&&t.unshift(0);const o=n==="bgy"?"height":"width";r[n]=m(t,a=>i.toPx(a,o,e));const s=["bgx","bgy"].filter(a=>a in r);if(s.length===2&&n==="bgx")return i.noop;if($(e,"backgroundSize","")==="cover")return In(n,e,t,r);const c={};for(const a of s)c[a]=H(e,a);return V(s,c,r)}function In(n,e,t,r){const o=zn(e);if(!o.width)return i.noop;const s={width:e.offsetWidth,height:e.offsetHeight},c=["bgx","bgy"].filter(u=>u in r),a={};for(const u of c){const d=r[u].map(([Rn])=>Rn),v=Math.min(...d),E=Math.max(...d),K=d.indexOf(v)<d.indexOf(E),X=E-v;a[u]=`${(K?-X:0)-(K?v:E)}px`,s[u==="bgy"?"height":"width"]+=X}const f=i.Dimensions.cover(o,s);for(const u of c){const d=u==="bgy"?"height":"width",v=f[d]-s[d];a[u]=`max(${H(e,u)},-${v}px) + ${a[u]}`}const h=V(c,a,r);return(u,d)=>{h(u,d),u.backgroundSize=`${f.width}px ${f.height}px`,u.backgroundRepeat="no-repeat"}}function H(n,e){return $(n,`background-position-${e.slice(-1)}`,"")}function V(n,e,t){return function(r,o){for(const s of n){const c=p(t[s],o);r[`background-position-${s.slice(-1)}`]=`calc(${e[s]} + ${c}px)`}}}const B={},S={};function zn(n){const e=i.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[e])return S[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth&&!B[e])?(i.once(t,"error load",()=>{S[e]=j(t),i.trigger(n,i.createEvent("load",!1))}),B[e]=!0,j(t)):S[e]=j(t)}function j(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=i.toFloat){const t=[],{length:r}=n;let o=0;for(let s=0;s<r;s++){let[c,a]=i.isString(n[s])?n[s].trim().split(/ (?![^(]*\))/):[n[s]];if(c=e(c),a=a?i.toFloat(a)/100:null,s===0?a===null?a=0:a&&t.push([c,0]):s===r-1&&(a===null?a=1:a!==1&&(t.push([c,a]),a=1)),t.push([c,a]),a===null)o++;else if(o){const f=t[s-o-1][1],h=(a-f)/(o+1);for(let u=o;u>0;u--)t[s-u][1]=f+h*(o-u+1);o=0}}return t}function L(n,e){const t=i.findIndex(n.slice(1),([,r])=>e<=r)+1;return[n[t-1][0],n[t][0],(e-n[t-1][1])/(n[t][1]-n[t-1][1])]}function p(n,e){const[t,r,o]=L(n,e);return t+(r-t)*o}const An=/^-?\d+(?:\.\d+)?(\S+)?/;function _(n,e){var t;for(const r of n){const o=(t=r.match)==null?void 0:t.call(r,An);if(o)return o[1]}return e}function $(n,e,t){const r=n.style[e],o=i.css(i.css(n,e,t),e);return n.style[e]=r,o}function Q(n,e){return Object.fromEntries(n.map(t=>[t,e]))}function Tn(n,e){return e>=0?Math.pow(n,e+1):1-Math.pow(1-n,1-e)}var G={mixins:[On],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target:({target:n},e)=>J(n&&i.query(n,e)||e),start({start:n}){return i.toPx(n,"height",this.target,!0)},end({end:n,viewport:e}){return i.toPx(n||(e=(1-e)*100)&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[k(),U({target:({target:n})=>n}),Z({target:({$el:n,target:e})=>[n,e,i.scrollParent(e,!0)]})],update:{read({percent:n},e){if(e.has("scroll")||(n=!1),!i.isVisible(this.$el))return!1;if(!this.matchMedia)return;const t=n;return n=Tn(i.scrolledOver(this.target,this.start,this.end),this.easing),{percent:n,style:t===n?!1:this.getCss(n)}},write({style:n}){if(!this.matchMedia){this.reset();return}n&&i.css(this.$el,n)},events:["scroll","resize"]}};function J(n){return n?"offsetTop"in n?n:J(i.parent(n)):document.documentElement}var Wn="parallax";return typeof window<"u"&&window.UIkit&&window.UIkit.component(Wn,G),G}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.17-dev.80dfe87 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.17-dev.8c70e44 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -92,13 +92,12 @@
92
92
  }
93
93
  if (isUndefined(value)) {
94
94
  return (_a = toNode(element)) == null ? void 0 : _a.getAttribute(name);
95
- } else {
96
- for (const el of toNodes(element)) {
97
- if (value === null) {
98
- removeAttr(el, name);
99
- } else {
100
- el.setAttribute(name, value);
101
- }
95
+ }
96
+ for (const el of toNodes(element)) {
97
+ if (value === null) {
98
+ removeAttr(el, name);
99
+ } else {
100
+ el.setAttribute(name, value);
102
101
  }
103
102
  }
104
103
  }
@@ -556,10 +555,7 @@
556
555
  return val;
557
556
  }
558
557
  function fillObject(keys2, value) {
559
- return keys2.reduce((data, prop) => {
560
- data[prop] = value;
561
- return data;
562
- }, {});
558
+ return Object.fromEntries(keys2.map((prop) => [prop, value]));
563
559
  }
564
560
 
565
561
  var Component = {
@@ -1 +1 @@
1
- /*! UIkit 3.25.17-dev.80dfe87 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(i,$){typeof exports=="object"&&typeof module<"u"?module.exports=$(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider_parallax",["uikit-util"],$):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitSlider_parallax=$(i.UIkit.util))})(this,(function(i){"use strict";var $={props:{media:Boolean},data:{media:!1},connected(){const n=Y(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const t=()=>{this.matchMedia=this.mediaObj.matches,i.trigger(this.$el,i.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=i.on(this.mediaObj,"change",()=>{t(),this.$emit("resize")}),t()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function Y(n,t){if(i.isString(n)){if(i.startsWith(n,"@"))n=i.toFloat(i.css(t,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&i.isNumeric(n)?`(min-width: ${n}px)`:""}function Z(n,t){var e;return(e=n==null?void 0:n.startsWith)==null?void 0:e.call(n,t)}const{from:k}=Array;function C(n){return n!==null&&typeof n=="object"}function U(n){return C(n)&&n===n.window}function nn(n){return E(n)===9}function _(n){return E(n)>=1}function E(n){return!U(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function tn(n){return n===void 0}function w(n){return n&&d(n)[0]}function d(n){return _(n)?[n]:Array.from(n||[]).filter(_)}function N(n){const t=Object.create(null);return(e,...r)=>t[e]||(t[e]=n(e,...r))}function T(n,t,e){var r;if(C(t)){for(const o in t)T(n,o,t[o]);return}if(tn(e))return(r=w(n))==null?void 0:r.getAttribute(t);for(const o of d(n))e===null?en(o,t):o.setAttribute(t,e)}function en(n,t){d(n).forEach(e=>e.removeAttribute(t))}const rn=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function on(n){return d(n).some(t=>rn.call(t))}function cn(n){var t;return(t=w(n))==null?void 0:t.parentElement}function sn(n,t){return d(n).filter(e=>W(e,t))}function W(n,t){return d(n).some(e=>e.matches(t))}function an(n,t){n=w(n);const e=n?k(n.children):[];return t?sn(e,t):e}function A(n,t){return an(cn(n)).indexOf(n)}function fn(n,t){return d(gn(n,w(t),"querySelectorAll"))}const un=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ln=/(\([^)]*\)|[^,])+/g,dn=N(n=>{let t=!1;if(!n||!M(n))return{};const e=[];for(let r of n.match(ln))r=r.trim().replace(un,"$1 *"),t||(t=["!","+","~","-",">"].includes(r[0])),e.push(r);return{selector:e.join(","),selectors:e,isContextSelector:t}}),hn=/(\([^)]*\)|\S)*/,D=N(n=>{n=n.slice(1).trim();const[t]=n.match(hn);return[t,n.slice(t.length+1)]});function gn(n,t=document,e){var r;const o=dn(n);if(!o.isContextSelector)return o.selector?P(t,e,o.selector):n;n="";const c=o.selectors.length===1;for(let s of o.selectors){let a,f=t;if(s[0]==="!"&&([a,s]=D(s),f=(r=t.parentElement)==null?void 0:r.closest(a),!s&&c)||f&&s[0]==="-"&&([a,s]=D(s),f=f.previousElementSibling,f=W(f,a)?f:null,!s&&c))return f;if(f){if(c)return s[0]==="~"||s[0]==="+"?(s=`:scope > :nth-child(${A(f)+1}) ${s}`,f=f.parentElement):s[0]===">"&&(s=`:scope ${s}`),P(f,e,s);n+=`${n?",":""}${mn(f)} ${s}`}}return nn(t)||(t=t.ownerDocument),P(t,e,n)}function P(n,t,e){try{return n[t](e)}catch{return null}}function mn(n){const t=[];for(;n.parentNode;){const e=T(n,"id");if(e){t.unshift(`#${$n(e)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${A(n)+1})`),t.unshift(r),n=n.parentNode}}return t.join(" > ")}function $n(n){return M(n)?CSS.escape(n):""}const bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function pn(n){const t=bn.exec(n);if(t)return document.createElement(t[1]);const e=document.createElement("template");return e.innerHTML=n.trim(),xn(e.content.childNodes)}function xn(n){return n.length>1?n:n[0]}function wn(n,t){return yn(n)?d(pn(n)):fn(n,t)}function yn(n){return M(n)&&Z(n.trim(),"<")}function vn(n){return on(n)?Math.ceil(Math.max(0,...wn("[stroke]",n).map(t=>{var e;return((e=t.getTotalLength)==null?void 0:e.call(t))||0}))):0}const y={x:v,y:v,rotate:v,scale:v,color:O,backgroundColor:O,borderColor:O,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Cn,stroke:Mn,bgx:R,bgy:R},{keys:H}=Object;var Sn={mixins:[$],props:q(H(y),"list"),data:q(H(y),void 0),computed:{props(n,t){const e={};for(const o in n)o in y&&!i.isUndefined(n[o])&&(e[o]=n[o].slice());const r={};for(const o in e)r[o]=y[o](o,t,e[o],e);return r}},events:{load(){this.$emit()}},methods:{reset(){i.resetProps(this.$el,this.getCss(0))},getCss(n){const t={};for(const e in this.props)this.props[e](t,i.clamp(n));return t.willChange=Object.keys(t).map(i.propName).join(","),t}}};function v(n,t,e){let r=F(e)||{x:"px",y:"px",rotate:"deg"}[n]||"",o;return n==="x"||n==="y"?(n=`translate${i.ucfirst(n)}`,o=c=>i.toFloat(i.toFloat(c).toFixed(r==="px"?0:6))):n==="scale"&&(r="",o=c=>{var s;return F([c])?i.toPx(c,"width",t,!0)/t[`offset${(s=c.endsWith)!=null&&s.call(c,"vh")?"Height":"Width"}`]:i.toFloat(c)}),e.length===1&&e.unshift(n==="scale"?1:0),e=m(e,o),(c,s)=>{c.transform=`${c.transform||""} ${n}(${b(e,s)}${r})`}}function O(n,t,e){return e.length===1&&e.unshift(p(t,n,"")),e=m(e,r=>Fn(t,r)),(r,o)=>{const[c,s,a]=L(e,o),f=c.map((h,u)=>(h+=a*(s[u]-h),u===3?i.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${f})`}}function Fn(n,t){return p(n,"color",t).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function g(n,t,e){e.length===1&&e.unshift(0);const r=F(e)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,e=m(e),(o,c)=>{const s=b(e,c);o.filter=`${o.filter||""} ${n}(${s+r})`}}function Cn(n,t,e){return e.length===1&&e.unshift(p(t,n,"")),e=m(e),(r,o)=>{r[n]=b(e,o)}}function Mn(n,t,e){e.length===1&&e.unshift(0);const r=F(e),o=vn(t);return e=m(e.reverse(),c=>(c=i.toFloat(c),r==="%"?c*o/100:c)),e.some(([c])=>c)?(i.css(t,"strokeDasharray",o),(c,s)=>{c.strokeDashoffset=b(e,s)}):i.noop}function R(n,t,e,r){e.length===1&&e.unshift(0);const o=n==="bgy"?"height":"width";r[n]=m(e,a=>i.toPx(a,o,t));const c=["bgx","bgy"].filter(a=>a in r);if(c.length===2&&n==="bgx")return i.noop;if(p(t,"backgroundSize","")==="cover")return Pn(n,t,e,r);const s={};for(const a of c)s[a]=B(t,a);return V(c,s,r)}function Pn(n,t,e,r){const o=On(t);if(!o.width)return i.noop;const c={width:t.offsetWidth,height:t.offsetHeight},s=["bgx","bgy"].filter(u=>u in r),a={};for(const u of s){const l=r[u].map(([_n])=>_n),x=Math.min(...l),I=Math.max(...l),K=l.indexOf(x)<l.indexOf(I),X=I-x;a[u]=`${(K?-X:0)-(K?x:I)}px`,c[u==="bgy"?"height":"width"]+=X}const f=i.Dimensions.cover(o,c);for(const u of s){const l=u==="bgy"?"height":"width",x=f[l]-c[l];a[u]=`max(${B(t,u)},-${x}px) + ${a[u]}`}const h=V(s,a,r);return(u,l)=>{h(u,l),u.backgroundSize=`${f.width}px ${f.height}px`,u.backgroundRepeat="no-repeat"}}function B(n,t){return p(n,`background-position-${t.slice(-1)}`,"")}function V(n,t,e){return function(r,o){for(const c of n){const s=b(e[c],o);r[`background-position-${c.slice(-1)}`]=`calc(${t[c]} + ${s}px)`}}}const z={},S={};function On(n){const t=i.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[t])return S[t];const e=new Image;return t&&(e.src=t,!e.naturalWidth&&!z[t])?(i.once(e,"error load",()=>{S[t]=j(e),i.trigger(n,i.createEvent("load",!1))}),z[t]=!0,j(e)):S[t]=j(e)}function j(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,t=i.toFloat){const e=[],{length:r}=n;let o=0;for(let c=0;c<r;c++){let[s,a]=i.isString(n[c])?n[c].trim().split(/ (?![^(]*\))/):[n[c]];if(s=t(s),a=a?i.toFloat(a)/100:null,c===0?a===null?a=0:a&&e.push([s,0]):c===r-1&&(a===null?a=1:a!==1&&(e.push([s,a]),a=1)),e.push([s,a]),a===null)o++;else if(o){const f=e[c-o-1][1],h=(a-f)/(o+1);for(let u=o;u>0;u--)e[c-u][1]=f+h*(o-u+1);o=0}}return e}function L(n,t){const e=i.findIndex(n.slice(1),([,r])=>t<=r)+1;return[n[e-1][0],n[e][0],(t-n[e-1][1])/(n[e][1]-n[e-1][1])]}function b(n,t){const[e,r,o]=L(n,t);return e+(r-e)*o}const jn=/^-?\d+(?:\.\d+)?(\S+)?/;function F(n,t){var e;for(const r of n){const o=(e=r.match)==null?void 0:e.call(r,jn);if(o)return o[1]}return t}function p(n,t,e){const r=n.style[t],o=i.css(i.css(n,t,e),t);return n.style[t]=r,o}function q(n,t){return n.reduce((e,r)=>(e[r]=t,e),{})}var Q={mixins:[Sn],beforeConnect(){this.item=this.$el.closest(`.${this.$options.id.replace("parallax","items")} > *`)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:t,duration:e,timing:r,dir:o}}){i.fastdom.read(()=>{if(!this.matchMedia)return;const c=this.getCss(J(n,o,t)),s=this.getCss(G(n)?.5:o>0?1:0);i.fastdom.write(()=>{i.css(this.$el,c),i.Transition.start(this.$el,s,e,r).catch(i.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:n})=>n,handler(){i.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:t,dir:e}}){i.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const r=this.getCss(J(n,e,t));i.fastdom.write(()=>i.css(this.$el,r))})}}]};function G(n){return i.endsWith(n,"in")}function J(n,t,e){return e/=2,G(n)^t<0?e:1-e}var In="sliderParallax";return typeof window<"u"&&window.UIkit&&window.UIkit.component(In,Q),Q}));
1
+ /*! UIkit 3.25.17-dev.8c70e44 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(i,$){typeof exports=="object"&&typeof module<"u"?module.exports=$(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider_parallax",["uikit-util"],$):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitSlider_parallax=$(i.UIkit.util))})(this,(function(i){"use strict";var $={props:{media:Boolean},data:{media:!1},connected(){const n=Y(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const t=()=>{this.matchMedia=this.mediaObj.matches,i.trigger(this.$el,i.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=i.on(this.mediaObj,"change",()=>{t(),this.$emit("resize")}),t()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function Y(n,t){if(i.isString(n)){if(i.startsWith(n,"@"))n=i.toFloat(i.css(t,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&i.isNumeric(n)?`(min-width: ${n}px)`:""}function Z(n,t){var e;return(e=n==null?void 0:n.startsWith)==null?void 0:e.call(n,t)}const{from:k}=Array;function C(n){return n!==null&&typeof n=="object"}function U(n){return C(n)&&n===n.window}function nn(n){return _(n)===9}function I(n){return _(n)>=1}function _(n){return!U(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function tn(n){return n===void 0}function w(n){return n&&l(n)[0]}function l(n){return I(n)?[n]:Array.from(n||[]).filter(I)}function N(n){const t=Object.create(null);return(e,...r)=>t[e]||(t[e]=n(e,...r))}function T(n,t,e){var r;if(C(t)){for(const o in t)T(n,o,t[o]);return}if(tn(e))return(r=w(n))==null?void 0:r.getAttribute(t);for(const o of l(n))e===null?en(o,t):o.setAttribute(t,e)}function en(n,t){l(n).forEach(e=>e.removeAttribute(t))}const rn=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function on(n){return l(n).some(t=>rn.call(t))}function cn(n){var t;return(t=w(n))==null?void 0:t.parentElement}function sn(n,t){return l(n).filter(e=>W(e,t))}function W(n,t){return l(n).some(e=>e.matches(t))}function an(n,t){n=w(n);const e=n?k(n.children):[];return t?sn(e,t):e}function A(n,t){return an(cn(n)).indexOf(n)}function fn(n,t){return l(gn(n,w(t),"querySelectorAll"))}const un=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,dn=/(\([^)]*\)|[^,])+/g,ln=N(n=>{let t=!1;if(!n||!M(n))return{};const e=[];for(let r of n.match(dn))r=r.trim().replace(un,"$1 *"),t||(t=["!","+","~","-",">"].includes(r[0])),e.push(r);return{selector:e.join(","),selectors:e,isContextSelector:t}}),hn=/(\([^)]*\)|\S)*/,D=N(n=>{n=n.slice(1).trim();const[t]=n.match(hn);return[t,n.slice(t.length+1)]});function gn(n,t=document,e){var r;const o=ln(n);if(!o.isContextSelector)return o.selector?O(t,e,o.selector):n;n="";const c=o.selectors.length===1;for(let s of o.selectors){let a,f=t;if(s[0]==="!"&&([a,s]=D(s),f=(r=t.parentElement)==null?void 0:r.closest(a),!s&&c)||f&&s[0]==="-"&&([a,s]=D(s),f=f.previousElementSibling,f=W(f,a)?f:null,!s&&c))return f;if(f){if(c)return s[0]==="~"||s[0]==="+"?(s=`:scope > :nth-child(${A(f)+1}) ${s}`,f=f.parentElement):s[0]===">"&&(s=`:scope ${s}`),O(f,e,s);n+=`${n?",":""}${mn(f)} ${s}`}}return nn(t)||(t=t.ownerDocument),O(t,e,n)}function O(n,t,e){try{return n[t](e)}catch{return null}}function mn(n){const t=[];for(;n.parentNode;){const e=T(n,"id");if(e){t.unshift(`#${$n(e)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${A(n)+1})`),t.unshift(r),n=n.parentNode}}return t.join(" > ")}function $n(n){return M(n)?CSS.escape(n):""}const bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function pn(n){const t=bn.exec(n);if(t)return document.createElement(t[1]);const e=document.createElement("template");return e.innerHTML=n.trim(),xn(e.content.childNodes)}function xn(n){return n.length>1?n:n[0]}function wn(n,t){return yn(n)?l(pn(n)):fn(n,t)}function yn(n){return M(n)&&Z(n.trim(),"<")}function vn(n){return on(n)?Math.ceil(Math.max(0,...wn("[stroke]",n).map(t=>{var e;return((e=t.getTotalLength)==null?void 0:e.call(t))||0}))):0}const y={x:v,y:v,rotate:v,scale:v,color:P,backgroundColor:P,borderColor:P,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Cn,stroke:Mn,bgx:R,bgy:R},{keys:H}=Object;var Sn={mixins:[$],props:q(H(y),"list"),data:q(H(y),void 0),computed:{props(n,t){const e={};for(const o in n)o in y&&!i.isUndefined(n[o])&&(e[o]=n[o].slice());const r={};for(const o in e)r[o]=y[o](o,t,e[o],e);return r}},events:{load(){this.$emit()}},methods:{reset(){i.resetProps(this.$el,this.getCss(0))},getCss(n){const t={};for(const e in this.props)this.props[e](t,i.clamp(n));return t.willChange=Object.keys(t).map(i.propName).join(","),t}}};function v(n,t,e){let r=F(e)||{x:"px",y:"px",rotate:"deg"}[n]||"",o;return n==="x"||n==="y"?(n=`translate${i.ucfirst(n)}`,o=c=>i.toFloat(i.toFloat(c).toFixed(r==="px"?0:6))):n==="scale"&&(r="",o=c=>{var s;return F([c])?i.toPx(c,"width",t,!0)/t[`offset${(s=c.endsWith)!=null&&s.call(c,"vh")?"Height":"Width"}`]:i.toFloat(c)}),e.length===1&&e.unshift(n==="scale"?1:0),e=m(e,o),(c,s)=>{c.transform=`${c.transform||""} ${n}(${b(e,s)}${r})`}}function P(n,t,e){return e.length===1&&e.unshift(p(t,n,"")),e=m(e,r=>Fn(t,r)),(r,o)=>{const[c,s,a]=L(e,o),f=c.map((h,u)=>(h+=a*(s[u]-h),u===3?i.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${f})`}}function Fn(n,t){return p(n,"color",t).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function g(n,t,e){e.length===1&&e.unshift(0);const r=F(e)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,e=m(e),(o,c)=>{const s=b(e,c);o.filter=`${o.filter||""} ${n}(${s+r})`}}function Cn(n,t,e){return e.length===1&&e.unshift(p(t,n,"")),e=m(e),(r,o)=>{r[n]=b(e,o)}}function Mn(n,t,e){e.length===1&&e.unshift(0);const r=F(e),o=vn(t);return e=m(e.reverse(),c=>(c=i.toFloat(c),r==="%"?c*o/100:c)),e.some(([c])=>c)?(i.css(t,"strokeDasharray",o),(c,s)=>{c.strokeDashoffset=b(e,s)}):i.noop}function R(n,t,e,r){e.length===1&&e.unshift(0);const o=n==="bgy"?"height":"width";r[n]=m(e,a=>i.toPx(a,o,t));const c=["bgx","bgy"].filter(a=>a in r);if(c.length===2&&n==="bgx")return i.noop;if(p(t,"backgroundSize","")==="cover")return On(n,t,e,r);const s={};for(const a of c)s[a]=B(t,a);return V(c,s,r)}function On(n,t,e,r){const o=Pn(t);if(!o.width)return i.noop;const c={width:t.offsetWidth,height:t.offsetHeight},s=["bgx","bgy"].filter(u=>u in r),a={};for(const u of s){const d=r[u].map(([In])=>In),x=Math.min(...d),E=Math.max(...d),K=d.indexOf(x)<d.indexOf(E),X=E-x;a[u]=`${(K?-X:0)-(K?x:E)}px`,c[u==="bgy"?"height":"width"]+=X}const f=i.Dimensions.cover(o,c);for(const u of s){const d=u==="bgy"?"height":"width",x=f[d]-c[d];a[u]=`max(${B(t,u)},-${x}px) + ${a[u]}`}const h=V(s,a,r);return(u,d)=>{h(u,d),u.backgroundSize=`${f.width}px ${f.height}px`,u.backgroundRepeat="no-repeat"}}function B(n,t){return p(n,`background-position-${t.slice(-1)}`,"")}function V(n,t,e){return function(r,o){for(const c of n){const s=b(e[c],o);r[`background-position-${c.slice(-1)}`]=`calc(${t[c]} + ${s}px)`}}}const z={},S={};function Pn(n){const t=i.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[t])return S[t];const e=new Image;return t&&(e.src=t,!e.naturalWidth&&!z[t])?(i.once(e,"error load",()=>{S[t]=j(e),i.trigger(n,i.createEvent("load",!1))}),z[t]=!0,j(e)):S[t]=j(e)}function j(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,t=i.toFloat){const e=[],{length:r}=n;let o=0;for(let c=0;c<r;c++){let[s,a]=i.isString(n[c])?n[c].trim().split(/ (?![^(]*\))/):[n[c]];if(s=t(s),a=a?i.toFloat(a)/100:null,c===0?a===null?a=0:a&&e.push([s,0]):c===r-1&&(a===null?a=1:a!==1&&(e.push([s,a]),a=1)),e.push([s,a]),a===null)o++;else if(o){const f=e[c-o-1][1],h=(a-f)/(o+1);for(let u=o;u>0;u--)e[c-u][1]=f+h*(o-u+1);o=0}}return e}function L(n,t){const e=i.findIndex(n.slice(1),([,r])=>t<=r)+1;return[n[e-1][0],n[e][0],(t-n[e-1][1])/(n[e][1]-n[e-1][1])]}function b(n,t){const[e,r,o]=L(n,t);return e+(r-e)*o}const jn=/^-?\d+(?:\.\d+)?(\S+)?/;function F(n,t){var e;for(const r of n){const o=(e=r.match)==null?void 0:e.call(r,jn);if(o)return o[1]}return t}function p(n,t,e){const r=n.style[t],o=i.css(i.css(n,t,e),t);return n.style[t]=r,o}function q(n,t){return Object.fromEntries(n.map(e=>[e,t]))}var Q={mixins:[Sn],beforeConnect(){this.item=this.$el.closest(`.${this.$options.id.replace("parallax","items")} > *`)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:t,duration:e,timing:r,dir:o}}){i.fastdom.read(()=>{if(!this.matchMedia)return;const c=this.getCss(J(n,o,t)),s=this.getCss(G(n)?.5:o>0?1:0);i.fastdom.write(()=>{i.css(this.$el,c),i.Transition.start(this.$el,s,e,r).catch(i.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:n})=>n,handler(){i.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:t,dir:e}}){i.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const r=this.getCss(J(n,e,t));i.fastdom.write(()=>i.css(this.$el,r))})}}]};function G(n){return i.endsWith(n,"in")}function J(n,t,e){return e/=2,G(n)^t<0?e:1-e}var En="sliderParallax";return typeof window<"u"&&window.UIkit&&window.UIkit.component(En,Q),Q}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.17-dev.80dfe87 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.17-dev.8c70e44 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -65,8 +65,8 @@
65
65
  for (const el of util.toNodes(util.isFunction(targets) ? targets(this) : targets)) {
66
66
  util.$$('[loading="lazy"]', el).slice(0, preload - 1).forEach((el2) => util.removeAttr(el2, "loading"));
67
67
  }
68
- for (const el of entries.filter(({ isIntersecting }) => isIntersecting).map(({ target }) => target)) {
69
- observer.unobserve(el);
68
+ for (const { target } of entries.filter(({ isIntersecting }) => isIntersecting)) {
69
+ observer.unobserve(target);
70
70
  }
71
71
  },
72
72
  ...options
@@ -344,7 +344,7 @@
344
344
 
345
345
  util.memoize((id, props) => {
346
346
  const attributes = Object.keys(props);
347
- const filter = attributes.concat(id).map((key) => [util.hyphenate(key), `data-${util.hyphenate(key)}`]).flat();
347
+ const filter = [...attributes, id].flatMap((key) => [util.hyphenate(key), `data-${util.hyphenate(key)}`]);
348
348
  return { attributes, filter };
349
349
  });
350
350
 
@@ -380,7 +380,7 @@
380
380
  computed: {
381
381
  nav: ({ selNav }, $el) => util.$$(selNav, $el),
382
382
  navChildren() {
383
- return this.nav.map((nav) => util.children(nav)).flat();
383
+ return this.nav.flatMap((nav) => util.children(nav));
384
384
  },
385
385
  selNavItem: ({ attrItem }) => `[${attrItem}],[data-${attrItem}]`,
386
386
  navItems(_, $el) {
@@ -748,13 +748,12 @@
748
748
  }
749
749
  if (isUndefined(value)) {
750
750
  return (_a = toNode(element)) == null ? void 0 : _a.getAttribute(name);
751
- } else {
752
- for (const el of toNodes(element)) {
753
- if (value === null) {
754
- removeAttr(el, name);
755
- } else {
756
- el.setAttribute(name, value);
757
- }
751
+ }
752
+ for (const el of toNodes(element)) {
753
+ if (value === null) {
754
+ removeAttr(el, name);
755
+ } else {
756
+ el.setAttribute(name, value);
758
757
  }
759
758
  }
760
759
  }
@@ -1177,25 +1176,20 @@
1177
1176
  return val;
1178
1177
  }
1179
1178
  function fillObject(keys2, value) {
1180
- return keys2.reduce((data, prop) => {
1181
- data[prop] = value;
1182
- return data;
1183
- }, {});
1179
+ return Object.fromEntries(keys2.map((prop) => [prop, value]));
1184
1180
  }
1185
1181
  function ease(percent, easing) {
1186
1182
  return easing >= 0 ? Math.pow(percent, easing + 1) : 1 - Math.pow(1 - percent, 1 - easing);
1187
1183
  }
1188
1184
 
1189
- var SliderParallax = {
1185
+ var ScrollDriven = {
1190
1186
  props: {
1191
- parallax: Boolean,
1192
1187
  parallaxTarget: Boolean,
1193
1188
  parallaxStart: String,
1194
1189
  parallaxEnd: String,
1195
1190
  parallaxEasing: Number
1196
1191
  },
1197
1192
  data: {
1198
- parallax: false,
1199
1193
  parallaxTarget: false,
1200
1194
  parallaxStart: 0,
1201
1195
  parallaxEnd: 0,
@@ -1209,26 +1203,48 @@
1209
1203
  scroll({ filter: ({ parallax }) => parallax })
1210
1204
  ],
1211
1205
  computed: {
1206
+ parallaxTargetFallback: ($props, $el) => $el,
1212
1207
  parallaxTarget({ parallaxTarget }, $el) {
1213
- return parallaxTarget && util.query(parallaxTarget, $el) || this.list;
1208
+ return parallaxTarget && util.query(parallaxTarget, $el) || this.parallaxTargetFallback;
1214
1209
  }
1215
1210
  },
1216
1211
  update: {
1217
1212
  read() {
1218
1213
  if (!this.parallax) {
1219
- return false;
1214
+ return;
1220
1215
  }
1221
1216
  const target = this.parallaxTarget;
1222
1217
  if (!target) {
1223
- return false;
1218
+ return;
1224
1219
  }
1225
1220
  const start = util.toPx(this.parallaxStart, "height", target, true);
1226
1221
  const end = util.toPx(this.parallaxEnd, "height", target, true);
1227
1222
  const percent = ease(util.scrolledOver(target, start, end), this.parallaxEasing);
1228
- return { parallax: this.getIndexAt(percent) };
1223
+ return { percent };
1229
1224
  },
1230
- write({ parallax }) {
1231
- const [prevIndex, slidePercent] = parallax;
1225
+ events: ["scroll", "resize"]
1226
+ }
1227
+ };
1228
+
1229
+ var SliderParallax = {
1230
+ mixins: [ScrollDriven],
1231
+ props: {
1232
+ parallax: Boolean
1233
+ },
1234
+ data: {
1235
+ parallax: false
1236
+ },
1237
+ computed: {
1238
+ parallaxTargetFallback() {
1239
+ return this.list;
1240
+ }
1241
+ },
1242
+ update: {
1243
+ write({ percent }) {
1244
+ if (!this.parallax) {
1245
+ return;
1246
+ }
1247
+ const [prevIndex, slidePercent] = this.getIndexAt(percent);
1232
1248
  const nextIndex = this.getValidIndex(prevIndex + Math.ceil(slidePercent));
1233
1249
  const prev = this.slides[prevIndex];
1234
1250
  const next = this.slides[nextIndex];