uikit 3.23.7-dev.1d206253d → 3.23.7-dev.ea33b1a06

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 (54) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/css/uikit-core-rtl.css +1 -1
  3. package/dist/css/uikit-core-rtl.min.css +1 -1
  4. package/dist/css/uikit-core.css +1 -1
  5. package/dist/css/uikit-core.min.css +1 -1
  6. package/dist/css/uikit-rtl.css +1 -1
  7. package/dist/css/uikit-rtl.min.css +1 -1
  8. package/dist/css/uikit.css +1 -1
  9. package/dist/css/uikit.min.css +1 -1
  10. package/dist/js/components/countdown.js +2 -2
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +8 -8
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +12 -17
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +13 -18
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +1 -1
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +1 -1
  21. package/dist/js/components/parallax.min.js +1 -1
  22. package/dist/js/components/slider-parallax.js +1 -1
  23. package/dist/js/components/slider-parallax.min.js +1 -1
  24. package/dist/js/components/slider.js +11 -17
  25. package/dist/js/components/slider.min.js +1 -1
  26. package/dist/js/components/slideshow-parallax.js +1 -1
  27. package/dist/js/components/slideshow-parallax.min.js +1 -1
  28. package/dist/js/components/slideshow.js +8 -14
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +1 -1
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +2 -2
  33. package/dist/js/components/tooltip.min.js +1 -1
  34. package/dist/js/components/upload.js +1 -1
  35. package/dist/js/components/upload.min.js +1 -1
  36. package/dist/js/uikit-core.js +18 -19
  37. package/dist/js/uikit-core.min.js +1 -1
  38. package/dist/js/uikit-icons.js +1 -1
  39. package/dist/js/uikit-icons.min.js +1 -1
  40. package/dist/js/uikit.js +38 -45
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/components/countdown.js +2 -2
  44. package/src/js/components/filter.js +1 -2
  45. package/src/js/components/lightbox.js +1 -2
  46. package/src/js/components/slider.js +3 -4
  47. package/src/js/components/tooltip.js +1 -1
  48. package/src/js/core/icon.js +3 -5
  49. package/src/js/core/img.js +1 -1
  50. package/src/js/core/switcher.js +4 -4
  51. package/src/js/core/toggle.js +3 -4
  52. package/src/js/core/video.js +1 -1
  53. package/src/js/mixin/modal.js +4 -4
  54. package/src/js/mixin/slider-nav.js +7 -13
@@ -1 +1 @@
1
- /*! UIkit 3.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 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)})}}return typeof window<"u"&&window.UIkit&&window.UIkit.component("notification",r),r});
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 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)})}}return typeof window<"u"&&window.UIkit&&window.UIkit.component("notification",r),r});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 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.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */(function(c,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitparallax",["uikit-util"],b):(c=typeof globalThis<"u"?globalThis:c||self,c.UIkitParallax=b(c.UIkit.util))})(this,function(c){"use strict";function b(n,e="update"){n._connected&&n._updates.length&&(n._queued||(n._queued=new Set,c.fastdom.read(()=>{n._connected&&Y(n,n._queued),n._queued=null})),n._queued.add(e.type||e))}function Y(n,e){for(const{read:t,write:r,events:i=[]}of n._updates){if(!e.has("update")&&!i.some(a=>e.has(a)))continue;let o;t&&(o=t.call(n,n._data,e),o&&c.isPlainObject(o)&&c.assign(n._data,o)),r&&o!==!1&&c.fastdom.write(()=>{n._connected&&r.call(n,n._data,e)})}}function Z(n){return F(c.observeResize,n,"resize")}function k(n){return F((e,t)=>c.observeViewportResize(t),n,"resize")}function U(n){return F((e,t)=>({disconnect:c.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 c.toNodes(n).map(e=>{const{ownerDocument:t}=e,r=c.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,c.trigger(this.$el,c.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=c.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function tn(n,e){if(c.isString(n)){if(c.startsWith(n,"@"))n=c.toFloat(c.css(e,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&c.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 cn(n){return typeof n=="function"}function M(n){return n!==null&&typeof n=="object"}function sn(n){return M(n)&&n===n.window}function an(n){return z(n)===9}function I(n){return z(n)>=1}function z(n){return!sn(n)&&M(n)&&n.nodeType}function P(n){return typeof n=="string"}function fn(n){return n===void 0}function x(n){return n&&d(n)[0]}function d(n){return I(n)?[n]:Array.from(n||[]).filter(I)}function T(n){const e=Object.create(null);return(t,...r)=>e[t]||(e[t]=n(t,...r))}function O(n,e,t){var r;if(M(e)){for(const i in e)O(n,i,e[i]);return}if(fn(t))return(r=x(n))==null?void 0:r.getAttribute(e);for(const i of d(n))cn(t)&&(t=t.call(i,O(i,e))),t===null?un(i,e):i.setAttribute(e,t)}function un(n,e){d(n).forEach(t=>t.removeAttribute(e))}const dn=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function ln(n){return d(n).some(e=>dn.call(e))}function hn(n){var e;return(e=x(n))==null?void 0:e.parentElement}function gn(n,e){return d(n).filter(t=>W(t,e))}function W(n,e){return d(n).some(t=>t.matches(e))}function mn(n,e){n=x(n);const t=n?on(n.children):[];return e?gn(t,e):t}function A(n,e){return mn(hn(n)).indexOf(n)}function bn(n,e){return d(vn(n,x(e),"querySelectorAll"))}const pn=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,$n=/(\([^)]*\)|[^,])+/g,wn=T(n=>{let e=!1;if(!n||!P(n))return{};const t=[];for(let r of n.match($n))r=r.trim().replace(pn,"$1 *"),e||(e=["!","+","~","-",">"].includes(r[0])),t.push(r);return{selector:t.join(","),selectors:t,isContextSelector:e}}),xn=/(\([^)]*\)|\S)*/,R=T(n=>{n=n.slice(1).trim();const[e]=n.match(xn);return[e,n.slice(e.length+1)]});function vn(n,e=document,t){const r=wn(n);if(!r.isContextSelector)return r.selector?j(e,t,r.selector):n;n="";const i=r.selectors.length===1;for(let o of r.selectors){let a,s=e;if(o[0]==="!"&&([a,o]=R(o),s=e.parentElement.closest(a),!o&&i)||s&&o[0]==="-"&&([a,o]=R(o),s=s.previousElementSibling,s=W(s,a)?s:null,!o&&i))return s;if(s){if(i)return o[0]==="~"||o[0]==="+"?(o=`:scope > :nth-child(${A(s)+1}) ${o}`,s=s.parentElement):o[0]===">"&&(o=`:scope ${o}`),j(s,t,o);n+=`${n?",":""}${yn(s)} ${o}`}}return an(e)||(e=e.ownerDocument),j(e,t,n)}function j(n,e,t){try{return n[e](t)}catch{return null}}function yn(n){const e=[];for(;n.parentNode;){const t=O(n,"id");if(t){e.unshift(`#${Sn(t)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${A(n)+1})`),e.unshift(r),n=n.parentNode}}return e.join(" > ")}function Sn(n){return P(n)?CSS.escape(n):""}const _n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Fn(n){const e=_n.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("template");return t.innerHTML=n.trim(),Mn(t.content.childNodes)}function Mn(n){return n.length>1?n:n[0]}function Pn(n,e){return On(n)?d(Fn(n)):bn(n,e)}function On(n){return P(n)&&rn(n.trim(),"<")}function jn(n){return ln(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 v={x:y,y,rotate:y,scale:y,color:C,backgroundColor:C,borderColor:C,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Nn,stroke:In,bgx:q,bgy:q},{keys:D}=Object;var Cn={mixins:[en],props:Q(D(v),"list"),data:Q(D(v),void 0),computed:{props(n,e){const t={};for(const i in n)i in v&&!c.isUndefined(n[i])&&(t[i]=n[i].slice());const r={};for(const i in t)r[i]=v[i](i,e,t[i],t);return r}},events:{load(){this.$emit()}},methods:{reset(){c.resetProps(this.$el,this.getCss(0))},getCss(n){const e={};for(const t in this.props)this.props[t](e,c.clamp(n));return e.willChange=Object.keys(e).map(c.propName).join(","),e}}};function y(n,e,t){let r=_(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",i;return n==="x"||n==="y"?(n=`translate${c.ucfirst(n)}`,i=o=>c.toFloat(c.toFloat(o).toFixed(r==="px"?0:6))):n==="scale"&&(r="",i=o=>{var a;return _([o])?c.toPx(o,"width",e,!0)/e[`offset${(a=o.endsWith)!=null&&a.call(o,"vh")?"Height":"Width"}`]:c.toFloat(o)}),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,i),(o,a)=>{o.transform=`${o.transform||""} ${n}(${p(t,a)}${r})`}}function C(n,e,t){return t.length===1&&t.unshift($(e,n,"")),t=m(t,r=>En(e,r)),(r,i)=>{const[o,a,s]=L(t,i),l=o.map((h,f)=>(h+=s*(a[f]-h),f===3?c.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${l})`}}function En(n,e){return $(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(c.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),(i,o)=>{const a=p(t,o);i.filter=`${i.filter||""} ${n}(${a+r})`}}function Nn(n,e,t){return t.length===1&&t.unshift($(e,n,"")),t=m(t),(r,i)=>{r[n]=p(t,i)}}function In(n,e,t){t.length===1&&t.unshift(0);const r=_(t),i=jn(e);return t=m(t.reverse(),o=>(o=c.toFloat(o),r==="%"?o*i/100:o)),t.some(([o])=>o)?(c.css(e,"strokeDasharray",i),(o,a)=>{o.strokeDashoffset=p(t,a)}):c.noop}function q(n,e,t,r){t.length===1&&t.unshift(0);const i=n==="bgy"?"height":"width";r[n]=m(t,s=>c.toPx(s,i,e));const o=["bgx","bgy"].filter(s=>s in r);if(o.length===2&&n==="bgx")return c.noop;if($(e,"backgroundSize","")==="cover")return zn(n,e,t,r);const a={};for(const s of o)a[s]=H(e,s);return V(o,a,r)}function zn(n,e,t,r){const i=Tn(e);if(!i.width)return c.noop;const o={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(f=>f in r),s={};for(const f of a){const u=r[f].map(([Rn])=>Rn),w=Math.min(...u),N=Math.max(...u),K=u.indexOf(w)<u.indexOf(N),X=N-w;s[f]=`${(K?-X:0)-(K?w:N)}px`,o[f==="bgy"?"height":"width"]+=X}const l=c.Dimensions.cover(i,o);for(const f of a){const u=f==="bgy"?"height":"width",w=l[u]-o[u];s[f]=`max(${H(e,f)},-${w}px) + ${s[f]}`}const h=V(a,s,r);return(f,u)=>{h(f,u),f.backgroundSize=`${l.width}px ${l.height}px`,f.backgroundRepeat="no-repeat"}}function H(n,e){return $(n,`background-position-${e.slice(-1)}`,"")}function V(n,e,t){return function(r,i){for(const o of n){const a=p(t[o],i);r[`background-position-${o.slice(-1)}`]=`calc(${e[o]} + ${a}px)`}}}const B={},S={};function Tn(n){const e=c.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])?(c.once(t,"error load",()=>{S[e]=E(t),c.trigger(n,c.createEvent("load",!1))}),B[e]=!0,E(t)):S[e]=E(t)}function E(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=c.toFloat){const t=[],{length:r}=n;let i=0;for(let o=0;o<r;o++){let[a,s]=c.isString(n[o])?n[o].trim().split(/ (?![^(]*\))/):[n[o]];if(a=e(a),s=s?c.toFloat(s)/100:null,o===0?s===null?s=0:s&&t.push([a,0]):o===r-1&&(s===null?s=1:s!==1&&(t.push([a,s]),s=1)),t.push([a,s]),s===null)i++;else if(i){const l=t[o-i-1][1],h=(s-l)/(i+1);for(let f=i;f>0;f--)t[o-f][1]=l+h*(i-f+1);i=0}}return t}function L(n,e){const t=c.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,i]=L(n,e);return t+Math.abs(t-r)*i*(t<r?1:-1)}const Wn=/^-?\d+(?:\.\d+)?(\S+)?/;function _(n,e){var t;for(const r of n){const i=(t=r.match)==null?void 0:t.call(r,Wn);if(i)return i[1]}return e}function $(n,e,t){const r=n.style[e],i=c.css(c.css(n,e,t),e);return n.style[e]=r,i}function Q(n,e){return n.reduce((t,r)=>(t[r]=e,t),{})}function An(n,e){return e>=0?Math.pow(n,e+1):1-Math.pow(1-n,1-e)}var G={mixins:[Cn],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&&c.query(n,e)||e),start({start:n}){return c.toPx(n,"height",this.target,!0)},end({end:n,viewport:e}){return c.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,c.scrollParent(e,!0)]})],update:{read({percent:n},e){if(e.has("scroll")||(n=!1),!c.isVisible(this.$el))return!1;if(!this.matchMedia)return;const t=n;return n=An(c.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&&c.css(this.$el,n)},events:["scroll","resize"]}};function J(n){return n?"offsetTop"in n?n:J(c.parent(n)):document.documentElement}return typeof window<"u"&&window.UIkit&&window.UIkit.component("parallax",G),G});
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */(function(c,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitparallax",["uikit-util"],b):(c=typeof globalThis<"u"?globalThis:c||self,c.UIkitParallax=b(c.UIkit.util))})(this,function(c){"use strict";function b(n,e="update"){n._connected&&n._updates.length&&(n._queued||(n._queued=new Set,c.fastdom.read(()=>{n._connected&&Y(n,n._queued),n._queued=null})),n._queued.add(e.type||e))}function Y(n,e){for(const{read:t,write:r,events:i=[]}of n._updates){if(!e.has("update")&&!i.some(a=>e.has(a)))continue;let o;t&&(o=t.call(n,n._data,e),o&&c.isPlainObject(o)&&c.assign(n._data,o)),r&&o!==!1&&c.fastdom.write(()=>{n._connected&&r.call(n,n._data,e)})}}function Z(n){return F(c.observeResize,n,"resize")}function k(n){return F((e,t)=>c.observeViewportResize(t),n,"resize")}function U(n){return F((e,t)=>({disconnect:c.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 c.toNodes(n).map(e=>{const{ownerDocument:t}=e,r=c.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,c.trigger(this.$el,c.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=c.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function tn(n,e){if(c.isString(n)){if(c.startsWith(n,"@"))n=c.toFloat(c.css(e,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&c.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 cn(n){return typeof n=="function"}function M(n){return n!==null&&typeof n=="object"}function sn(n){return M(n)&&n===n.window}function an(n){return z(n)===9}function I(n){return z(n)>=1}function z(n){return!sn(n)&&M(n)&&n.nodeType}function P(n){return typeof n=="string"}function fn(n){return n===void 0}function x(n){return n&&d(n)[0]}function d(n){return I(n)?[n]:Array.from(n||[]).filter(I)}function T(n){const e=Object.create(null);return(t,...r)=>e[t]||(e[t]=n(t,...r))}function O(n,e,t){var r;if(M(e)){for(const i in e)O(n,i,e[i]);return}if(fn(t))return(r=x(n))==null?void 0:r.getAttribute(e);for(const i of d(n))cn(t)&&(t=t.call(i,O(i,e))),t===null?un(i,e):i.setAttribute(e,t)}function un(n,e){d(n).forEach(t=>t.removeAttribute(e))}const dn=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function ln(n){return d(n).some(e=>dn.call(e))}function hn(n){var e;return(e=x(n))==null?void 0:e.parentElement}function gn(n,e){return d(n).filter(t=>W(t,e))}function W(n,e){return d(n).some(t=>t.matches(e))}function mn(n,e){n=x(n);const t=n?on(n.children):[];return e?gn(t,e):t}function A(n,e){return mn(hn(n)).indexOf(n)}function bn(n,e){return d(vn(n,x(e),"querySelectorAll"))}const pn=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,$n=/(\([^)]*\)|[^,])+/g,wn=T(n=>{let e=!1;if(!n||!P(n))return{};const t=[];for(let r of n.match($n))r=r.trim().replace(pn,"$1 *"),e||(e=["!","+","~","-",">"].includes(r[0])),t.push(r);return{selector:t.join(","),selectors:t,isContextSelector:e}}),xn=/(\([^)]*\)|\S)*/,R=T(n=>{n=n.slice(1).trim();const[e]=n.match(xn);return[e,n.slice(e.length+1)]});function vn(n,e=document,t){const r=wn(n);if(!r.isContextSelector)return r.selector?j(e,t,r.selector):n;n="";const i=r.selectors.length===1;for(let o of r.selectors){let a,s=e;if(o[0]==="!"&&([a,o]=R(o),s=e.parentElement.closest(a),!o&&i)||s&&o[0]==="-"&&([a,o]=R(o),s=s.previousElementSibling,s=W(s,a)?s:null,!o&&i))return s;if(s){if(i)return o[0]==="~"||o[0]==="+"?(o=`:scope > :nth-child(${A(s)+1}) ${o}`,s=s.parentElement):o[0]===">"&&(o=`:scope ${o}`),j(s,t,o);n+=`${n?",":""}${yn(s)} ${o}`}}return an(e)||(e=e.ownerDocument),j(e,t,n)}function j(n,e,t){try{return n[e](t)}catch{return null}}function yn(n){const e=[];for(;n.parentNode;){const t=O(n,"id");if(t){e.unshift(`#${Sn(t)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${A(n)+1})`),e.unshift(r),n=n.parentNode}}return e.join(" > ")}function Sn(n){return P(n)?CSS.escape(n):""}const _n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Fn(n){const e=_n.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("template");return t.innerHTML=n.trim(),Mn(t.content.childNodes)}function Mn(n){return n.length>1?n:n[0]}function Pn(n,e){return On(n)?d(Fn(n)):bn(n,e)}function On(n){return P(n)&&rn(n.trim(),"<")}function jn(n){return ln(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 v={x:y,y,rotate:y,scale:y,color:C,backgroundColor:C,borderColor:C,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Nn,stroke:In,bgx:q,bgy:q},{keys:D}=Object;var Cn={mixins:[en],props:Q(D(v),"list"),data:Q(D(v),void 0),computed:{props(n,e){const t={};for(const i in n)i in v&&!c.isUndefined(n[i])&&(t[i]=n[i].slice());const r={};for(const i in t)r[i]=v[i](i,e,t[i],t);return r}},events:{load(){this.$emit()}},methods:{reset(){c.resetProps(this.$el,this.getCss(0))},getCss(n){const e={};for(const t in this.props)this.props[t](e,c.clamp(n));return e.willChange=Object.keys(e).map(c.propName).join(","),e}}};function y(n,e,t){let r=_(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",i;return n==="x"||n==="y"?(n=`translate${c.ucfirst(n)}`,i=o=>c.toFloat(c.toFloat(o).toFixed(r==="px"?0:6))):n==="scale"&&(r="",i=o=>{var a;return _([o])?c.toPx(o,"width",e,!0)/e[`offset${(a=o.endsWith)!=null&&a.call(o,"vh")?"Height":"Width"}`]:c.toFloat(o)}),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,i),(o,a)=>{o.transform=`${o.transform||""} ${n}(${p(t,a)}${r})`}}function C(n,e,t){return t.length===1&&t.unshift($(e,n,"")),t=m(t,r=>En(e,r)),(r,i)=>{const[o,a,s]=L(t,i),l=o.map((h,f)=>(h+=s*(a[f]-h),f===3?c.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${l})`}}function En(n,e){return $(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(c.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),(i,o)=>{const a=p(t,o);i.filter=`${i.filter||""} ${n}(${a+r})`}}function Nn(n,e,t){return t.length===1&&t.unshift($(e,n,"")),t=m(t),(r,i)=>{r[n]=p(t,i)}}function In(n,e,t){t.length===1&&t.unshift(0);const r=_(t),i=jn(e);return t=m(t.reverse(),o=>(o=c.toFloat(o),r==="%"?o*i/100:o)),t.some(([o])=>o)?(c.css(e,"strokeDasharray",i),(o,a)=>{o.strokeDashoffset=p(t,a)}):c.noop}function q(n,e,t,r){t.length===1&&t.unshift(0);const i=n==="bgy"?"height":"width";r[n]=m(t,s=>c.toPx(s,i,e));const o=["bgx","bgy"].filter(s=>s in r);if(o.length===2&&n==="bgx")return c.noop;if($(e,"backgroundSize","")==="cover")return zn(n,e,t,r);const a={};for(const s of o)a[s]=H(e,s);return V(o,a,r)}function zn(n,e,t,r){const i=Tn(e);if(!i.width)return c.noop;const o={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(f=>f in r),s={};for(const f of a){const u=r[f].map(([Rn])=>Rn),w=Math.min(...u),N=Math.max(...u),K=u.indexOf(w)<u.indexOf(N),X=N-w;s[f]=`${(K?-X:0)-(K?w:N)}px`,o[f==="bgy"?"height":"width"]+=X}const l=c.Dimensions.cover(i,o);for(const f of a){const u=f==="bgy"?"height":"width",w=l[u]-o[u];s[f]=`max(${H(e,f)},-${w}px) + ${s[f]}`}const h=V(a,s,r);return(f,u)=>{h(f,u),f.backgroundSize=`${l.width}px ${l.height}px`,f.backgroundRepeat="no-repeat"}}function H(n,e){return $(n,`background-position-${e.slice(-1)}`,"")}function V(n,e,t){return function(r,i){for(const o of n){const a=p(t[o],i);r[`background-position-${o.slice(-1)}`]=`calc(${e[o]} + ${a}px)`}}}const B={},S={};function Tn(n){const e=c.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])?(c.once(t,"error load",()=>{S[e]=E(t),c.trigger(n,c.createEvent("load",!1))}),B[e]=!0,E(t)):S[e]=E(t)}function E(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=c.toFloat){const t=[],{length:r}=n;let i=0;for(let o=0;o<r;o++){let[a,s]=c.isString(n[o])?n[o].trim().split(/ (?![^(]*\))/):[n[o]];if(a=e(a),s=s?c.toFloat(s)/100:null,o===0?s===null?s=0:s&&t.push([a,0]):o===r-1&&(s===null?s=1:s!==1&&(t.push([a,s]),s=1)),t.push([a,s]),s===null)i++;else if(i){const l=t[o-i-1][1],h=(s-l)/(i+1);for(let f=i;f>0;f--)t[o-f][1]=l+h*(i-f+1);i=0}}return t}function L(n,e){const t=c.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,i]=L(n,e);return t+Math.abs(t-r)*i*(t<r?1:-1)}const Wn=/^-?\d+(?:\.\d+)?(\S+)?/;function _(n,e){var t;for(const r of n){const i=(t=r.match)==null?void 0:t.call(r,Wn);if(i)return i[1]}return e}function $(n,e,t){const r=n.style[e],i=c.css(c.css(n,e,t),e);return n.style[e]=r,i}function Q(n,e){return n.reduce((t,r)=>(t[r]=e,t),{})}function An(n,e){return e>=0?Math.pow(n,e+1):1-Math.pow(1-n,1-e)}var G={mixins:[Cn],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&&c.query(n,e)||e),start({start:n}){return c.toPx(n,"height",this.target,!0)},end({end:n,viewport:e}){return c.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,c.scrollParent(e,!0)]})],update:{read({percent:n},e){if(e.has("scroll")||(n=!1),!c.isVisible(this.$el))return!1;if(!this.matchMedia)return;const t=n;return n=An(c.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&&c.css(this.$el,n)},events:["scroll","resize"]}};function J(n){return n?"offsetTop"in n?n:J(c.parent(n)):document.documentElement}return typeof window<"u"&&window.UIkit&&window.UIkit.component("parallax",G),G});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 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.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */(function(c,$){typeof exports=="object"&&typeof module<"u"?module.exports=$(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider_parallax",["uikit-util"],$):(c=typeof globalThis<"u"?globalThis:c||self,c.UIkitSlider_parallax=$(c.UIkit.util))})(this,function(c){"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 e=()=>{this.matchMedia=this.mediaObj.matches,c.trigger(this.$el,c.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=c.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function Y(n,e){if(c.isString(n)){if(c.startsWith(n,"@"))n=c.toFloat(c.css(e,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&c.isNumeric(n)?`(min-width: ${n}px)`:""}function Z(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}const{from:k}=Array;function U(n){return typeof n=="function"}function C(n){return n!==null&&typeof n=="object"}function nn(n){return C(n)&&n===n.window}function tn(n){return T(n)===9}function N(n){return T(n)>=1}function T(n){return!nn(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function en(n){return n===void 0}function w(n){return n&&d(n)[0]}function d(n){return N(n)?[n]:Array.from(n||[]).filter(N)}function W(n){const e=Object.create(null);return(t,...r)=>e[t]||(e[t]=n(t,...r))}function P(n,e,t){var r;if(C(e)){for(const i in e)P(n,i,e[i]);return}if(en(t))return(r=w(n))==null?void 0:r.getAttribute(e);for(const i of d(n))U(t)&&(t=t.call(i,P(i,e))),t===null?rn(i,e):i.setAttribute(e,t)}function rn(n,e){d(n).forEach(t=>t.removeAttribute(e))}const on=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function cn(n){return d(n).some(e=>on.call(e))}function sn(n){var e;return(e=w(n))==null?void 0:e.parentElement}function an(n,e){return d(n).filter(t=>_(t,e))}function _(n,e){return d(n).some(t=>t.matches(e))}function fn(n,e){n=w(n);const t=n?k(n.children):[];return e?an(t,e):t}function A(n,e){return fn(sn(n)).indexOf(n)}function un(n,e){return d(mn(n,w(e),"querySelectorAll"))}const dn=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ln=/(\([^)]*\)|[^,])+/g,hn=W(n=>{let e=!1;if(!n||!M(n))return{};const t=[];for(let r of n.match(ln))r=r.trim().replace(dn,"$1 *"),e||(e=["!","+","~","-",">"].includes(r[0])),t.push(r);return{selector:t.join(","),selectors:t,isContextSelector:e}}),gn=/(\([^)]*\)|\S)*/,D=W(n=>{n=n.slice(1).trim();const[e]=n.match(gn);return[e,n.slice(e.length+1)]});function mn(n,e=document,t){const r=hn(n);if(!r.isContextSelector)return r.selector?O(e,t,r.selector):n;n="";const i=r.selectors.length===1;for(let o of r.selectors){let a,s=e;if(o[0]==="!"&&([a,o]=D(o),s=e.parentElement.closest(a),!o&&i)||s&&o[0]==="-"&&([a,o]=D(o),s=s.previousElementSibling,s=_(s,a)?s:null,!o&&i))return s;if(s){if(i)return o[0]==="~"||o[0]==="+"?(o=`:scope > :nth-child(${A(s)+1}) ${o}`,s=s.parentElement):o[0]===">"&&(o=`:scope ${o}`),O(s,t,o);n+=`${n?",":""}${$n(s)} ${o}`}}return tn(e)||(e=e.ownerDocument),O(e,t,n)}function O(n,e,t){try{return n[e](t)}catch{return null}}function $n(n){const e=[];for(;n.parentNode;){const t=P(n,"id");if(t){e.unshift(`#${bn(t)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${A(n)+1})`),e.unshift(r),n=n.parentNode}}return e.join(" > ")}function bn(n){return M(n)?CSS.escape(n):""}const pn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const e=pn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("template");return t.innerHTML=n.trim(),wn(t.content.childNodes)}function wn(n){return n.length>1?n:n[0]}function yn(n,e){return vn(n)?d(xn(n)):un(n,e)}function vn(n){return M(n)&&Z(n.trim(),"<")}function Sn(n){return cn(n)?Math.ceil(Math.max(0,...yn("[stroke]",n).map(e=>{var t;return((t=e.getTotalLength)==null?void 0:t.call(e))||0}))):0}const y={x:v,y:v,rotate:v,scale:v,color:j,backgroundColor:j,borderColor:j,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Mn,stroke:Pn,bgx:R,bgy:R},{keys:H}=Object;var Fn={mixins:[$],props:q(H(y),"list"),data:q(H(y),void 0),computed:{props(n,e){const t={};for(const i in n)i in y&&!c.isUndefined(n[i])&&(t[i]=n[i].slice());const r={};for(const i in t)r[i]=y[i](i,e,t[i],t);return r}},events:{load(){this.$emit()}},methods:{reset(){c.resetProps(this.$el,this.getCss(0))},getCss(n){const e={};for(const t in this.props)this.props[t](e,c.clamp(n));return e.willChange=Object.keys(e).map(c.propName).join(","),e}}};function v(n,e,t){let r=F(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",i;return n==="x"||n==="y"?(n=`translate${c.ucfirst(n)}`,i=o=>c.toFloat(c.toFloat(o).toFixed(r==="px"?0:6))):n==="scale"&&(r="",i=o=>{var a;return F([o])?c.toPx(o,"width",e,!0)/e[`offset${(a=o.endsWith)!=null&&a.call(o,"vh")?"Height":"Width"}`]:c.toFloat(o)}),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,i),(o,a)=>{o.transform=`${o.transform||""} ${n}(${b(t,a)}${r})`}}function j(n,e,t){return t.length===1&&t.unshift(p(e,n,"")),t=m(t,r=>Cn(e,r)),(r,i)=>{const[o,a,s]=L(t,i),l=o.map((h,f)=>(h+=s*(a[f]-h),f===3?c.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${l})`}}function Cn(n,e){return p(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(c.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const r=F(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(i,o)=>{const a=b(t,o);i.filter=`${i.filter||""} ${n}(${a+r})`}}function Mn(n,e,t){return t.length===1&&t.unshift(p(e,n,"")),t=m(t),(r,i)=>{r[n]=b(t,i)}}function Pn(n,e,t){t.length===1&&t.unshift(0);const r=F(t),i=Sn(e);return t=m(t.reverse(),o=>(o=c.toFloat(o),r==="%"?o*i/100:o)),t.some(([o])=>o)?(c.css(e,"strokeDasharray",i),(o,a)=>{o.strokeDashoffset=b(t,a)}):c.noop}function R(n,e,t,r){t.length===1&&t.unshift(0);const i=n==="bgy"?"height":"width";r[n]=m(t,s=>c.toPx(s,i,e));const o=["bgx","bgy"].filter(s=>s in r);if(o.length===2&&n==="bgx")return c.noop;if(p(e,"backgroundSize","")==="cover")return On(n,e,t,r);const a={};for(const s of o)a[s]=B(e,s);return V(o,a,r)}function On(n,e,t,r){const i=jn(e);if(!i.width)return c.noop;const o={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(f=>f in r),s={};for(const f of a){const u=r[f].map(([En])=>En),x=Math.min(...u),E=Math.max(...u),K=u.indexOf(x)<u.indexOf(E),X=E-x;s[f]=`${(K?-X:0)-(K?x:E)}px`,o[f==="bgy"?"height":"width"]+=X}const l=c.Dimensions.cover(i,o);for(const f of a){const u=f==="bgy"?"height":"width",x=l[u]-o[u];s[f]=`max(${B(e,f)},-${x}px) + ${s[f]}`}const h=V(a,s,r);return(f,u)=>{h(f,u),f.backgroundSize=`${l.width}px ${l.height}px`,f.backgroundRepeat="no-repeat"}}function B(n,e){return p(n,`background-position-${e.slice(-1)}`,"")}function V(n,e,t){return function(r,i){for(const o of n){const a=b(t[o],i);r[`background-position-${o.slice(-1)}`]=`calc(${e[o]} + ${a}px)`}}}const z={},S={};function jn(n){const e=c.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[e])return S[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth&&!z[e])?(c.once(t,"error load",()=>{S[e]=I(t),c.trigger(n,c.createEvent("load",!1))}),z[e]=!0,I(t)):S[e]=I(t)}function I(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=c.toFloat){const t=[],{length:r}=n;let i=0;for(let o=0;o<r;o++){let[a,s]=c.isString(n[o])?n[o].trim().split(/ (?![^(]*\))/):[n[o]];if(a=e(a),s=s?c.toFloat(s)/100:null,o===0?s===null?s=0:s&&t.push([a,0]):o===r-1&&(s===null?s=1:s!==1&&(t.push([a,s]),s=1)),t.push([a,s]),s===null)i++;else if(i){const l=t[o-i-1][1],h=(s-l)/(i+1);for(let f=i;f>0;f--)t[o-f][1]=l+h*(i-f+1);i=0}}return t}function L(n,e){const t=c.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 b(n,e){const[t,r,i]=L(n,e);return t+Math.abs(t-r)*i*(t<r?1:-1)}const In=/^-?\d+(?:\.\d+)?(\S+)?/;function F(n,e){var t;for(const r of n){const i=(t=r.match)==null?void 0:t.call(r,In);if(i)return i[1]}return e}function p(n,e,t){const r=n.style[e],i=c.css(c.css(n,e,t),e);return n.style[e]=r,i}function q(n,e){return n.reduce((t,r)=>(t[r]=e,t),{})}var Q={mixins:[Fn],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:e,duration:t,timing:r,dir:i}}){c.fastdom.read(()=>{if(!this.matchMedia)return;const o=this.getCss(J(n,i,e)),a=this.getCss(G(n)?.5:i>0?1:0);c.fastdom.write(()=>{c.css(this.$el,o),c.Transition.start(this.$el,a,t,r).catch(c.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:n})=>n,handler(){c.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:e,dir:t}}){c.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const r=this.getCss(J(n,t,e));c.fastdom.write(()=>c.css(this.$el,r))})}}]};function G(n){return c.endsWith(n,"in")}function J(n,e,t){return t/=2,G(n)^e<0?t:1-t}return typeof window<"u"&&window.UIkit&&window.UIkit.component("sliderParallax",Q),Q});
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */(function(c,$){typeof exports=="object"&&typeof module<"u"?module.exports=$(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider_parallax",["uikit-util"],$):(c=typeof globalThis<"u"?globalThis:c||self,c.UIkitSlider_parallax=$(c.UIkit.util))})(this,function(c){"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 e=()=>{this.matchMedia=this.mediaObj.matches,c.trigger(this.$el,c.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=c.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function Y(n,e){if(c.isString(n)){if(c.startsWith(n,"@"))n=c.toFloat(c.css(e,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&c.isNumeric(n)?`(min-width: ${n}px)`:""}function Z(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}const{from:k}=Array;function U(n){return typeof n=="function"}function C(n){return n!==null&&typeof n=="object"}function nn(n){return C(n)&&n===n.window}function tn(n){return T(n)===9}function N(n){return T(n)>=1}function T(n){return!nn(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function en(n){return n===void 0}function w(n){return n&&d(n)[0]}function d(n){return N(n)?[n]:Array.from(n||[]).filter(N)}function W(n){const e=Object.create(null);return(t,...r)=>e[t]||(e[t]=n(t,...r))}function P(n,e,t){var r;if(C(e)){for(const i in e)P(n,i,e[i]);return}if(en(t))return(r=w(n))==null?void 0:r.getAttribute(e);for(const i of d(n))U(t)&&(t=t.call(i,P(i,e))),t===null?rn(i,e):i.setAttribute(e,t)}function rn(n,e){d(n).forEach(t=>t.removeAttribute(e))}const on=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function cn(n){return d(n).some(e=>on.call(e))}function sn(n){var e;return(e=w(n))==null?void 0:e.parentElement}function an(n,e){return d(n).filter(t=>_(t,e))}function _(n,e){return d(n).some(t=>t.matches(e))}function fn(n,e){n=w(n);const t=n?k(n.children):[];return e?an(t,e):t}function A(n,e){return fn(sn(n)).indexOf(n)}function un(n,e){return d(mn(n,w(e),"querySelectorAll"))}const dn=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ln=/(\([^)]*\)|[^,])+/g,hn=W(n=>{let e=!1;if(!n||!M(n))return{};const t=[];for(let r of n.match(ln))r=r.trim().replace(dn,"$1 *"),e||(e=["!","+","~","-",">"].includes(r[0])),t.push(r);return{selector:t.join(","),selectors:t,isContextSelector:e}}),gn=/(\([^)]*\)|\S)*/,D=W(n=>{n=n.slice(1).trim();const[e]=n.match(gn);return[e,n.slice(e.length+1)]});function mn(n,e=document,t){const r=hn(n);if(!r.isContextSelector)return r.selector?O(e,t,r.selector):n;n="";const i=r.selectors.length===1;for(let o of r.selectors){let a,s=e;if(o[0]==="!"&&([a,o]=D(o),s=e.parentElement.closest(a),!o&&i)||s&&o[0]==="-"&&([a,o]=D(o),s=s.previousElementSibling,s=_(s,a)?s:null,!o&&i))return s;if(s){if(i)return o[0]==="~"||o[0]==="+"?(o=`:scope > :nth-child(${A(s)+1}) ${o}`,s=s.parentElement):o[0]===">"&&(o=`:scope ${o}`),O(s,t,o);n+=`${n?",":""}${$n(s)} ${o}`}}return tn(e)||(e=e.ownerDocument),O(e,t,n)}function O(n,e,t){try{return n[e](t)}catch{return null}}function $n(n){const e=[];for(;n.parentNode;){const t=P(n,"id");if(t){e.unshift(`#${bn(t)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${A(n)+1})`),e.unshift(r),n=n.parentNode}}return e.join(" > ")}function bn(n){return M(n)?CSS.escape(n):""}const pn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const e=pn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("template");return t.innerHTML=n.trim(),wn(t.content.childNodes)}function wn(n){return n.length>1?n:n[0]}function yn(n,e){return vn(n)?d(xn(n)):un(n,e)}function vn(n){return M(n)&&Z(n.trim(),"<")}function Sn(n){return cn(n)?Math.ceil(Math.max(0,...yn("[stroke]",n).map(e=>{var t;return((t=e.getTotalLength)==null?void 0:t.call(e))||0}))):0}const y={x:v,y:v,rotate:v,scale:v,color:j,backgroundColor:j,borderColor:j,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Mn,stroke:Pn,bgx:R,bgy:R},{keys:H}=Object;var Fn={mixins:[$],props:q(H(y),"list"),data:q(H(y),void 0),computed:{props(n,e){const t={};for(const i in n)i in y&&!c.isUndefined(n[i])&&(t[i]=n[i].slice());const r={};for(const i in t)r[i]=y[i](i,e,t[i],t);return r}},events:{load(){this.$emit()}},methods:{reset(){c.resetProps(this.$el,this.getCss(0))},getCss(n){const e={};for(const t in this.props)this.props[t](e,c.clamp(n));return e.willChange=Object.keys(e).map(c.propName).join(","),e}}};function v(n,e,t){let r=F(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",i;return n==="x"||n==="y"?(n=`translate${c.ucfirst(n)}`,i=o=>c.toFloat(c.toFloat(o).toFixed(r==="px"?0:6))):n==="scale"&&(r="",i=o=>{var a;return F([o])?c.toPx(o,"width",e,!0)/e[`offset${(a=o.endsWith)!=null&&a.call(o,"vh")?"Height":"Width"}`]:c.toFloat(o)}),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,i),(o,a)=>{o.transform=`${o.transform||""} ${n}(${b(t,a)}${r})`}}function j(n,e,t){return t.length===1&&t.unshift(p(e,n,"")),t=m(t,r=>Cn(e,r)),(r,i)=>{const[o,a,s]=L(t,i),l=o.map((h,f)=>(h+=s*(a[f]-h),f===3?c.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${l})`}}function Cn(n,e){return p(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(c.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const r=F(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(i,o)=>{const a=b(t,o);i.filter=`${i.filter||""} ${n}(${a+r})`}}function Mn(n,e,t){return t.length===1&&t.unshift(p(e,n,"")),t=m(t),(r,i)=>{r[n]=b(t,i)}}function Pn(n,e,t){t.length===1&&t.unshift(0);const r=F(t),i=Sn(e);return t=m(t.reverse(),o=>(o=c.toFloat(o),r==="%"?o*i/100:o)),t.some(([o])=>o)?(c.css(e,"strokeDasharray",i),(o,a)=>{o.strokeDashoffset=b(t,a)}):c.noop}function R(n,e,t,r){t.length===1&&t.unshift(0);const i=n==="bgy"?"height":"width";r[n]=m(t,s=>c.toPx(s,i,e));const o=["bgx","bgy"].filter(s=>s in r);if(o.length===2&&n==="bgx")return c.noop;if(p(e,"backgroundSize","")==="cover")return On(n,e,t,r);const a={};for(const s of o)a[s]=B(e,s);return V(o,a,r)}function On(n,e,t,r){const i=jn(e);if(!i.width)return c.noop;const o={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(f=>f in r),s={};for(const f of a){const u=r[f].map(([En])=>En),x=Math.min(...u),E=Math.max(...u),K=u.indexOf(x)<u.indexOf(E),X=E-x;s[f]=`${(K?-X:0)-(K?x:E)}px`,o[f==="bgy"?"height":"width"]+=X}const l=c.Dimensions.cover(i,o);for(const f of a){const u=f==="bgy"?"height":"width",x=l[u]-o[u];s[f]=`max(${B(e,f)},-${x}px) + ${s[f]}`}const h=V(a,s,r);return(f,u)=>{h(f,u),f.backgroundSize=`${l.width}px ${l.height}px`,f.backgroundRepeat="no-repeat"}}function B(n,e){return p(n,`background-position-${e.slice(-1)}`,"")}function V(n,e,t){return function(r,i){for(const o of n){const a=b(t[o],i);r[`background-position-${o.slice(-1)}`]=`calc(${e[o]} + ${a}px)`}}}const z={},S={};function jn(n){const e=c.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[e])return S[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth&&!z[e])?(c.once(t,"error load",()=>{S[e]=I(t),c.trigger(n,c.createEvent("load",!1))}),z[e]=!0,I(t)):S[e]=I(t)}function I(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=c.toFloat){const t=[],{length:r}=n;let i=0;for(let o=0;o<r;o++){let[a,s]=c.isString(n[o])?n[o].trim().split(/ (?![^(]*\))/):[n[o]];if(a=e(a),s=s?c.toFloat(s)/100:null,o===0?s===null?s=0:s&&t.push([a,0]):o===r-1&&(s===null?s=1:s!==1&&(t.push([a,s]),s=1)),t.push([a,s]),s===null)i++;else if(i){const l=t[o-i-1][1],h=(s-l)/(i+1);for(let f=i;f>0;f--)t[o-f][1]=l+h*(i-f+1);i=0}}return t}function L(n,e){const t=c.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 b(n,e){const[t,r,i]=L(n,e);return t+Math.abs(t-r)*i*(t<r?1:-1)}const In=/^-?\d+(?:\.\d+)?(\S+)?/;function F(n,e){var t;for(const r of n){const i=(t=r.match)==null?void 0:t.call(r,In);if(i)return i[1]}return e}function p(n,e,t){const r=n.style[e],i=c.css(c.css(n,e,t),e);return n.style[e]=r,i}function q(n,e){return n.reduce((t,r)=>(t[r]=e,t),{})}var Q={mixins:[Fn],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:e,duration:t,timing:r,dir:i}}){c.fastdom.read(()=>{if(!this.matchMedia)return;const o=this.getCss(J(n,i,e)),a=this.getCss(G(n)?.5:i>0?1:0);c.fastdom.write(()=>{c.css(this.$el,o),c.Transition.start(this.$el,a,t,r).catch(c.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:n})=>n,handler(){c.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:e,dir:t}}){c.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const r=this.getCss(J(n,t,e));c.fastdom.write(()=>c.css(this.$el,r))})}}]};function G(n){return c.endsWith(n,"in")}function J(n,e,t){return t/=2,G(n)^e<0?t:1-t}return typeof window<"u"&&window.UIkit&&window.UIkit.component("sliderParallax",Q),Q});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -400,7 +400,7 @@
400
400
  ariaControls = slide.id;
401
401
  }
402
402
  ariaLabel = this.t("slideX", util.toFloat(cmd) + 1);
403
- util.attr(button, "role", "tab");
403
+ button.role = "tab";
404
404
  } else {
405
405
  if (this.list) {
406
406
  if (!this.list.id) {
@@ -410,10 +410,8 @@
410
410
  }
411
411
  ariaLabel = this.t(cmd);
412
412
  }
413
- util.attr(button, {
414
- "aria-controls": ariaControls,
415
- "aria-label": util.attr(button, "aria-label") || ariaLabel
416
- });
413
+ button.ariaControls = ariaControls;
414
+ button.ariaLabel = button.ariaLabel || ariaLabel;
417
415
  }
418
416
  },
419
417
  slides(slides) {
@@ -428,10 +426,8 @@
428
426
  }
429
427
  },
430
428
  connected() {
431
- util.attr(this.$el, {
432
- role: this.role,
433
- "aria-roledescription": "carousel"
434
- });
429
+ this.$el.role = this.role;
430
+ this.$el.ariaRoleDescription = "carousel";
435
431
  },
436
432
  update: [
437
433
  {
@@ -489,10 +485,8 @@
489
485
  const active = item === index;
490
486
  util.toggleClass(el, this.clsActive, active);
491
487
  util.toggleClass(button, "uk-disabled", !!this.parallax);
492
- util.attr(button, {
493
- "aria-selected": active,
494
- tabindex: active && !this.parallax ? null : -1
495
- });
488
+ button.ariaSelected = active;
489
+ button.tabIndex = active && !this.parallax ? null : -1;
496
490
  if (active && button && util.matches(util.parent(el), ":focus-within")) {
497
491
  button.focus();
498
492
  }
@@ -1615,12 +1609,12 @@
1615
1609
  for (const slide of this.slides) {
1616
1610
  const active = util.includes(actives, slide);
1617
1611
  util.toggleClass(slide, activeClasses, active);
1618
- util.attr(slide, "aria-hidden", !active);
1612
+ slide.ariaHidden = !active;
1619
1613
  for (const focusable of util.$$(util.selFocusable, slide)) {
1620
1614
  if (!util.hasOwn(focusable, "_tabindex")) {
1621
- focusable._tabindex = util.attr(focusable, "tabindex");
1615
+ focusable._tabindex = focusable.tabIndex;
1622
1616
  }
1623
- util.attr(focusable, "tabindex", active ? focusable._tabindex : -1);
1617
+ focusable.tabIndex = active ? focusable._tabindex : -1;
1624
1618
  }
1625
1619
  }
1626
1620
  },
@@ -1 +1 @@
1
- /*! UIkit 3.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */(function(s,I){typeof exports=="object"&&typeof module<"u"?module.exports=I(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider",["uikit-util"],I):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlider=I(s.UIkit.util))})(this,function(s){"use strict";function I(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,s.fastdom.read(()=>{t._connected&&ut(t,t._queued),t._queued=null})),t._queued.add(e.type||e))}function ut(t,e){for(const{read:i,write:n,events:o=[]}of t._updates){if(!e.has("update")&&!o.some(h=>e.has(h)))continue;let r;i&&(r=i.call(t,t._data,e),r&&s.isPlainObject(r)&&s.assign(t._data,r)),n&&r!==!1&&s.fastdom.write(()=>{t._connected&&n.call(t,t._data,e)})}}function z(t){return P(s.observeResize,t,"resize")}function mt(t){return P(s.observeIntersection,t)}function pt(t={}){return mt({handler:function(e,i){const{targets:n=this.$el,preload:o=5}=t;for(const r of s.toNodes(s.isFunction(n)?n(this):n))s.$$('[loading="lazy"]',r).slice(0,o-1).forEach(h=>s.removeAttr(h,"loading"));for(const r of e.filter(({isIntersecting:h})=>h).map(({target:h})=>h))i.unobserve(r)},...t})}function vt(t){return P((e,i)=>({disconnect:s.on(xt(e),"scroll",i,{passive:!0})}),t,"scroll")}function P(t,e,i){return{observe:t,handler(){I(this,i)},...e}}function xt(t){return s.toNodes(t).map(e=>{const{ownerDocument:i}=e,n=s.scrollParent(e,!0);return n===i.scrollingElement?i:n})}var wt={connected(){s.addClass(this.$el,this.$options.id)}},It={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,n,o;let r=0;return((o=((i=this.i18n)==null?void 0:i[t])||((n=this.$options.i18n)==null?void 0:n[t]))==null?void 0:o.replace(/%s/g,()=>e[r++]||""))||""}}},bt={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){s.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){s.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter:({autoplay:t})=>t,handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&s.matches(this.$el,":focus-within")&&!s.matches(this.$el,":focus")||this.pauseOnHover&&s.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const _={passive:!1,capture:!0},B={passive:!0,capture:!0},$t="touchstart mousedown",D="touchmove mousemove",j="touchend touchcancel mouseup click input scroll";var yt={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const n=s.getEventPos(i).x*(s.isRtl?-1:1);this.prevPos=n===this.pos?this.prevPos:this.pos,this.pos=n,e(i)}}},events:[{name:$t,passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){!this.draggable||this.parallax||!s.isTouch(t)&&St(t.target)||t.target.closest(s.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:D,el:({list:t})=>t,handler:s.noop,..._}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,s.on(document,D,this.move,_),s.on(document,j,this.end,B),s.css(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:i,prevIndex:n}=this,o=Math.abs(e),r=this.getIndex(n+this.dir),h=U.call(this,n,r);for(;r!==n&&o>h;)this.drag-=h*this.dir,n=r,o-=h,r=this.getIndex(n+this.dir),h=U.call(this,n,r);this.percent=o/h;const a=i[n],c=i[r],f=this.index!==r,d=n===r;let l;for(const g of[this.index,this.prevIndex])s.includes([r,n],g)||(s.trigger(i[g],"itemhidden",[this]),d&&(l=!0,this.prevIndex=n));(this.index===n&&this.prevIndex!==n||l)&&s.trigger(i[this.index],"itemshown",[this]),f&&(this.prevIndex=n,this.index=r,d||(s.trigger(a,"beforeitemhide",[this]),s.trigger(a,"itemhide",[this])),s.trigger(c,"beforeitemshow",[this]),s.trigger(c,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!d&&c)},end(){if(s.off(document,D,this.move,_),s.off(document,j,this.end,B),this.dragging)if(setTimeout(s.on(this.list,"click",t=>t.preventDefault(),_)),this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(s.isRtl?this.dir*(s.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(s.trigger(this.slides[this.prevIndex],"itemhidden",[this]),s.trigger(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:""}),this.drag=this.percent=null}}};function U(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function St(t){return s.css(t,"userSelect")!=="none"&&s.toArray(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}s.memoize((t,e)=>{const i=Object.keys(e),n=i.concat(t).map(o=>[s.hyphenate(o),`data-${s.hyphenate(o)}`]).flat();return{attributes:i,filter:n}});let _t=1;function q(t,e=null){return(e==null?void 0:e.id)||`${t.$options.id}-${_t++}`}const b={SPACE:32,END:35,HOME:36,LEFT:37,RIGHT:39};function kt(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault()}var At={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>s.$(t,e),navChildren(){return s.children(this.nav)},selNavItem:({attrItem:t})=>`[${t}],[data-${t}]`,navItems(t,e){return s.$$(this.selNavItem,e)}},watch:{nav(t,e){s.attr(t,"role","tablist"),this.padNavitems(),e&&this.$emit()},list(t){s.isTag(t,"ul")&&s.attr(t,"role","presentation")},navChildren(t){s.attr(t,"role","presentation"),this.padNavitems(),this.updateNav()},navItems(t){for(const e of t){const i=s.data(e,this.attrItem),n=s.$("a,button",e)||e;let o,r=null;if(s.isNumeric(i)){const h=s.toNumber(i),a=this.slides[h];a&&(a.id||(a.id=q(this,a)),r=a.id),o=this.t("slideX",s.toFloat(i)+1),s.attr(n,"role","tab")}else this.list&&(this.list.id||(this.list.id=q(this,this.list)),r=this.list.id),o=this.t(i);s.attr(n,{"aria-controls":r,"aria-label":s.attr(n,"aria-label")||o})}},slides(t){t.forEach((e,i)=>s.attr(e,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.padNavitems()}},connected(){s.attr(this.$el,{role:this.role,"aria-roledescription":"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){t.target.closest("a,button")&&(t.type==="click"||t.keyCode===b.SPACE)&&(kt(t),this.show(s.data(t.current,this.attrItem)))}},{name:"itemshow",handler(){this.updateNav()}},{name:"keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){const{current:e,keyCode:i}=t,n=s.data(e,this.attrItem);if(!s.isNumeric(n))return;let o=i===b.HOME?0:i===b.END?"last":i===b.LEFT?"previous":i===b.RIGHT?"next":-1;~o&&(t.preventDefault(),this.show(o))}}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const i=s.data(e,this.attrItem),n=s.$("a,button",e)||e;if(s.isNumeric(i)){const r=s.toNumber(i)===t;s.toggleClass(e,this.clsActive,r),s.toggleClass(n,"uk-disabled",!!this.parallax),s.attr(n,{"aria-selected":r,tabindex:r&&!this.parallax?null:-1}),r&&n&&s.matches(s.parent(e),":focus-within")&&n.focus()}else s.toggleClass(e,"uk-invisible",this.finite&&(i==="previous"&&t===0||i==="next"&&t>=this.maxIndex))}},padNavitems(){if(!this.nav)return;const t=[];for(let e=0;e<this.length;e++){const i=`${this.attrItem}="${e}"`;t[e]=this.navChildren.findLast(n=>n.matches(`[${i}]`))||s.$(`<li ${i}><a href></a></li>`)}s.isEqual(t,this.navChildren)||s.html(this.nav,t)}}};const Ct="cubic-bezier(0.25, 0.46, 0.45, 0.94)",Mt="cubic-bezier(0.165, 0.84, 0.44, 1)";var Et={mixins:[bt,yt,At,It],props:{clsActivated:String,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:"",clsEnter:"uk-slide-enter",clsLeave:"uk-slide-leave",clsSlideActive:"uk-slide-active",Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){s.removeClass(this.slides,this.clsActive)},computed:{duration:({velocity:t},e)=>Q(e.offsetWidth/t),list:({selList:t},e)=>s.$(t,e),maxIndex(){return this.length-1},slides(){return s.children(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},events:{itemshow({target:t}){s.addClass(t,this.clsEnter,this.clsSlideActive)},itemshown({target:t}){s.removeClass(t,this.clsEnter)},itemhide({target:t}){s.addClass(t,this.clsLeave)},itemhidden({target:t}){s.removeClass(t,this.clsLeave,this.clsSlideActive)}},methods:{async show(t,e=!1){var i;if(this.dragging||!this.length||this.parallax)return;const{stack:n}=this,o=e?0:n.length,r=()=>{n.splice(o,1),n.length&&this.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1){n.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const h=this.getIndex(this.index),a=s.hasClass(this.slides,this.clsActive)&&this.slides[h],c=this.getIndex(t,this.index),f=this.slides[c];if(a===f){r();return}if(this.dir=Nt(t,h),this.prevIndex=h,this.index=c,a&&!s.trigger(a,"beforeitemhide",[this])||!s.trigger(f,"beforeitemshow",[this,a])){this.index=this.prevIndex,r();return}a&&s.trigger(a,"itemhide",[this]),s.trigger(f,"itemshow",[this]),await this._show(a,f,e),a&&s.trigger(a,"itemhidden",[this]),s.trigger(f,"itemshown",[this]),n.shift(),this._transitioner=null,n.length&&requestAnimationFrame(()=>n.length&&this.show(n.shift(),!0))},getIndex(t=this.index,e=this.index){return s.clamp(s.getIndex(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},async _show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?Ct:Mt:this.easing,...this.transitionOptions}),!i&&!t){this._translate(1);return}const{length:n}=this.stack;return this._transitioner[n>1?"forward":"show"](n>1?Math.min(this.duration,75+75/(n-1)):this.duration,this.percent)},_translate(t,e=this.prevIndex,i=this.index){const n=this._getTransitioner(e===i?!1:e,i);return n.translate(t),n},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,n=this.transitionOptions){return new this.Transitioner(s.isNumber(t)?this.slides[t]:t,s.isNumber(e)?this.slides[e]:e,i*(s.isRtl?-1:1),n)}}};function Nt(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Q(t){return .5*t+300}function Tt(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}const{from:Pt}=Array;function Dt(t){return typeof t=="function"}function O(t){return t!==null&&typeof t=="object"}function Ot(t){return O(t)&&t===t.window}function Ft(t){return X(t)===9}function G(t){return X(t)>=1}function X(t){return!Ot(t)&&O(t)&&t.nodeType}function F(t){return typeof t=="string"}function Rt(t){return t===void 0}function k(t){return t&&m(t)[0]}function m(t){return G(t)?[t]:Array.from(t||[]).filter(G)}function J(t){const e=Object.create(null);return(i,...n)=>e[i]||(e[i]=t(i,...n))}function R(t,e,i){var n;if(O(e)){for(const o in e)R(t,o,e[o]);return}if(Rt(i))return(n=k(t))==null?void 0:n.getAttribute(e);for(const o of m(t))Dt(i)&&(i=i.call(o,R(o,e))),i===null?Wt(o,e):o.setAttribute(e,i)}function Wt(t,e){m(t).forEach(i=>i.removeAttribute(e))}const Ht=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function Lt(t){return m(t).some(e=>Ht.call(e))}function Vt(t){var e;return(e=k(t))==null?void 0:e.parentElement}function zt(t,e){return m(t).filter(i=>K(i,e))}function K(t,e){return m(t).some(i=>i.matches(e))}function Bt(t,e){t=k(t);const i=t?Pt(t.children):[];return e?zt(i,e):i}function Y(t,e){return Bt(Vt(t)).indexOf(t)}function jt(t,e){return m(Xt(t,k(e),"querySelectorAll"))}const Ut=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,qt=/(\([^)]*\)|[^,])+/g,Qt=J(t=>{let e=!1;if(!t||!F(t))return{};const i=[];for(let n of t.match(qt))n=n.trim().replace(Ut,"$1 *"),e||(e=["!","+","~","-",">"].includes(n[0])),i.push(n);return{selector:i.join(","),selectors:i,isContextSelector:e}}),Gt=/(\([^)]*\)|\S)*/,Z=J(t=>{t=t.slice(1).trim();const[e]=t.match(Gt);return[e,t.slice(e.length+1)]});function Xt(t,e=document,i){const n=Qt(t);if(!n.isContextSelector)return n.selector?W(e,i,n.selector):t;t="";const o=n.selectors.length===1;for(let r of n.selectors){let h,a=e;if(r[0]==="!"&&([h,r]=Z(r),a=e.parentElement.closest(h),!r&&o)||a&&r[0]==="-"&&([h,r]=Z(r),a=a.previousElementSibling,a=K(a,h)?a:null,!r&&o))return a;if(a){if(o)return r[0]==="~"||r[0]==="+"?(r=`:scope > :nth-child(${Y(a)+1}) ${r}`,a=a.parentElement):r[0]===">"&&(r=`:scope ${r}`),W(a,i,r);t+=`${t?",":""}${Jt(a)} ${r}`}}return Ft(e)||(e=e.ownerDocument),W(e,i,t)}function W(t,e,i){try{return t[e](i)}catch{return null}}function Jt(t){const e=[];for(;t.parentNode;){const i=R(t,"id");if(i){e.unshift(`#${Kt(i)}`);break}else{let{tagName:n}=t;n!=="HTML"&&(n+=`:nth-child(${Y(t)+1})`),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Kt(t){return F(t)?CSS.escape(t):""}const Yt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Zt(t){const e=Yt.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("template");return i.innerHTML=t.trim(),te(i.content.childNodes)}function te(t){return t.length>1?t:t[0]}function ee(t,e){return se(t)?m(Zt(t)):jt(t,e)}function se(t){return F(t)&&Tt(t.trim(),"<")}function ie(t){return Lt(t)?Math.ceil(Math.max(0,...ee("[stroke]",t).map(e=>{var i;return((i=e.getTotalLength)==null?void 0:i.call(e))||0}))):0}const tt={x:A,y:A,rotate:A,scale:A,color:H,backgroundColor:H,borderColor:H,blur:v,hue:v,fopacity:v,grayscale:v,invert:v,saturate:v,sepia:v,opacity:re,stroke:oe,bgx:st,bgy:st},{keys:et}=Object;at(et(tt),"list"),at(et(tt),void 0);function A(t,e,i){let n=M(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",o;return t==="x"||t==="y"?(t=`translate${s.ucfirst(t)}`,o=r=>s.toFloat(s.toFloat(r).toFixed(n==="px"?0:6))):t==="scale"&&(n="",o=r=>{var h;return M([r])?s.toPx(r,"width",e,!0)/e[`offset${(h=r.endsWith)!=null&&h.call(r,"vh")?"Height":"Width"}`]:s.toFloat(r)}),i.length===1&&i.unshift(t==="scale"?1:0),i=x(i,o),(r,h)=>{r.transform=`${r.transform||""} ${t}(${$(i,h)}${n})`}}function H(t,e,i){return i.length===1&&i.unshift(y(e,t,"")),i=x(i,n=>ne(e,n)),(n,o)=>{const[r,h,a]=ot(i,o),c=r.map((f,d)=>(f+=a*(h[d]-f),d===3?s.toFloat(f):parseInt(f,10))).join(",");n[t]=`rgba(${c})`}}function ne(t,e){return y(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function v(t,e,i){i.length===1&&i.unshift(0);const n=M(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=x(i),(o,r)=>{const h=$(i,r);o.filter=`${o.filter||""} ${t}(${h+n})`}}function re(t,e,i){return i.length===1&&i.unshift(y(e,t,"")),i=x(i),(n,o)=>{n[t]=$(i,o)}}function oe(t,e,i){i.length===1&&i.unshift(0);const n=M(i),o=ie(e);return i=x(i.reverse(),r=>(r=s.toFloat(r),n==="%"?r*o/100:r)),i.some(([r])=>r)?(s.css(e,"strokeDasharray",o),(r,h)=>{r.strokeDashoffset=$(i,h)}):s.noop}function st(t,e,i,n){i.length===1&&i.unshift(0);const o=t==="bgy"?"height":"width";n[t]=x(i,a=>s.toPx(a,o,e));const r=["bgx","bgy"].filter(a=>a in n);if(r.length===2&&t==="bgx")return s.noop;if(y(e,"backgroundSize","")==="cover")return ae(t,e,i,n);const h={};for(const a of r)h[a]=it(e,a);return nt(r,h,n)}function ae(t,e,i,n){const o=he(e);if(!o.width)return s.noop;const r={width:e.offsetWidth,height:e.offsetHeight},h=["bgx","bgy"].filter(d=>d in n),a={};for(const d of h){const l=n[d].map(([T])=>T),g=Math.min(...l),u=Math.max(...l),N=l.indexOf(g)<l.indexOf(u),p=u-g;a[d]=`${(N?-p:0)-(N?g:u)}px`,r[d==="bgy"?"height":"width"]+=p}const c=s.Dimensions.cover(o,r);for(const d of h){const l=d==="bgy"?"height":"width",g=c[l]-r[l];a[d]=`max(${it(e,d)},-${g}px) + ${a[d]}`}const f=nt(h,a,n);return(d,l)=>{f(d,l),d.backgroundSize=`${c.width}px ${c.height}px`,d.backgroundRepeat="no-repeat"}}function it(t,e){return y(t,`background-position-${e.slice(-1)}`,"")}function nt(t,e,i){return function(n,o){for(const r of t){const h=$(i[r],o);n[`background-position-${r.slice(-1)}`]=`calc(${e[r]} + ${h}px)`}}}const rt={},C={};function he(t){const e=s.css(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(C[e])return C[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth&&!rt[e])?(s.once(i,"error load",()=>{C[e]=L(i),s.trigger(t,s.createEvent("load",!1))}),rt[e]=!0,L(i)):C[e]=L(i)}function L(t){return{width:t.naturalWidth,height:t.naturalHeight}}function x(t,e=s.toFloat){const i=[],{length:n}=t;let o=0;for(let r=0;r<n;r++){let[h,a]=s.isString(t[r])?t[r].trim().split(/ (?![^(]*\))/):[t[r]];if(h=e(h),a=a?s.toFloat(a)/100:null,r===0?a===null?a=0:a&&i.push([h,0]):r===n-1&&(a===null?a=1:a!==1&&(i.push([h,a]),a=1)),i.push([h,a]),a===null)o++;else if(o){const c=i[r-o-1][1],f=(a-c)/(o+1);for(let d=o;d>0;d--)i[r-d][1]=c+f*(o-d+1);o=0}}return i}function ot(t,e){const i=s.findIndex(t.slice(1),([,n])=>e<=n)+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function $(t,e){const[i,n,o]=ot(t,e);return i+Math.abs(i-n)*o*(i<n?1:-1)}const de=/^-?\d+(?:\.\d+)?(\S+)?/;function M(t,e){var i;for(const n of t){const o=(i=n.match)==null?void 0:i.call(n,de);if(o)return o[1]}return e}function y(t,e,i){const n=t.style[e],o=s.css(s.css(t,e,i),e);return t.style[e]=n,o}function at(t,e){return t.reduce((i,n)=>(i[n]=e,i),{})}function ce(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var le={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[z({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),vt({filter:({parallax:t})=>t})],computed:{parallaxTarget({parallaxTarget:t},e){return t&&s.query(t,e)||this.list}},update:{read(){if(!this.parallax)return!1;const t=this.parallaxTarget;if(!t)return!1;const e=s.toPx(this.parallaxStart,"height",t,!0),i=s.toPx(this.parallaxEnd,"height",t,!0),n=ce(s.scrolledOver(t,e,i),this.parallaxEasing);return{parallax:this.getIndexAt(n)}},write({parallax:t}){const[e,i]=t,n=this.getValidIndex(e+Math.ceil(i)),o=this.slides[e],r=this.slides[n],{triggerShow:h,triggerShown:a,triggerHide:c,triggerHidden:f}=fe(this);if(~this.prevIndex)for(const l of new Set([this.index,this.prevIndex]))s.includes([n,e],l)||(c(this.slides[l]),f(this.slides[l]));const d=this.prevIndex!==e||this.index!==n;this.dir=1,this.prevIndex=e,this.index=n,o!==r&&c(o),h(r),d&&a(o),this._translate(o===r?1:i,o,r)},events:["scroll","resize"]},methods:{getIndexAt(t){const e=t*(this.length-1);return[Math.floor(e),e%1]}}};function fe(t){const{clsSlideActive:e,clsEnter:i,clsLeave:n}=t;return{triggerShow:o,triggerShown:r,triggerHide:h,triggerHidden:a};function o(c){s.hasClass(c,n)&&(h(c),a(c)),s.hasClass(c,e)||(s.trigger(c,"beforeitemshow",[t]),s.trigger(c,"itemshow",[t]))}function r(c){s.hasClass(c,i)&&s.trigger(c,"itemshown",[t])}function h(c){s.hasClass(c,e)||o(c),s.hasClass(c,i)&&r(c),s.hasClass(c,n)||(s.trigger(c,"beforeitemhide",[t]),s.trigger(c,"itemhide",[t]))}function a(c){s.hasClass(c,n)&&s.trigger(c,"itemhidden",[t])}}var ge={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const t=this.getValidIndex();!~this.prevIndex||this.index!==t?this.show(t):this._translate(1)},events:["resize"]}},ue={observe:pt({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};function ht(t=0,e="%"){return t?`translate3d(${t+e}, 0, 0)`:""}function V(t,e,i){s.trigger(t,s.createEvent(e,!1,!1,i))}function me(){let t;return{promise:new Promise(e=>t=e),resolve:t}}function pe(t,e,i,{center:n,easing:o,list:r}){const h=t?S(t,r,n):S(e,r,n)+s.dimensions(e).width*i,a=e?S(e,r,n):h+s.dimensions(t).width*i*(s.isRtl?-1:1),{promise:c,resolve:f}=me();return{dir:i,show(d,l=0,g){const u=g?"linear":o;return d-=Math.round(d*s.clamp(l,-1,1)),s.css(r,"transitionProperty","none"),this.translate(l),s.css(r,"transitionProperty",""),l=t?l:s.clamp(l,0,1),V(this.getItemIn(),"itemin",{percent:l,duration:d,timing:u,dir:i}),t&&V(this.getItemIn(!0),"itemout",{percent:1-l,duration:d,timing:u,dir:i}),s.Transition.start(r,{transform:ht(-a*(s.isRtl?-1:1),"px")},d,u).then(f,s.noop),c},cancel(){return s.Transition.cancel(r)},reset(){s.css(r,"transform","")},async forward(d,l=this.percent()){return await this.cancel(),this.show(d,l,!0)},translate(d){if(d===this.percent())return;const l=this.getDistance()*i*(s.isRtl?-1:1);s.css(r,"transform",ht(s.clamp(-a+(l-l*d),-w(r),s.dimensions(r).width)*(s.isRtl?-1:1),"px"));const g=this.getActives(),u=this.getItemIn(),N=this.getItemIn(!0);d=t?s.clamp(d,-1,1):0;for(const p of s.children(r)){const T=s.includes(g,p),ft=p===u,gt=p===N,Ie=ft||!gt&&(T||i*(s.isRtl?-1:1)===-1^E(p,r)>E(t||e));V(p,`itemtranslate${Ie?"in":"out"}`,{dir:i,percent:gt?1-d:ft?d:T?1:0})}},percent(){return Math.abs((new DOMMatrix(s.css(r,"transform")).m41*(s.isRtl?-1:1)+h)/(a-h))},getDistance(){return Math.abs(a-h)},getItemIn(d=!1){let l=this.getActives(),g=ct(r,S(e||t,r,n));if(d){const u=l;l=g,g=u}return g[s.findIndex(g,u=>!s.includes(l,u))]},getActives(){return ct(r,S(t||e,r,n))}}}function S(t,e,i){const n=E(t,e);return i?n-ve(t,e):Math.min(n,dt(e))}function dt(t){return Math.max(0,w(t)-s.dimensions(t).width)}function w(t,e){return s.sumBy(s.children(t).slice(0,e),i=>s.dimensions(i).width)}function ve(t,e){return s.dimensions(e).width/2-s.dimensions(t).width/2}function E(t,e){return t&&(s.position(t).left+(s.isRtl?s.dimensions(t).width-s.dimensions(e).width:0))*(s.isRtl?-1:1)||0}function ct(t,e){e-=1;const i=s.dimensions(t).width,n=e+i+2;return s.children(t).filter(o=>{const r=E(o,t),h=r+Math.min(s.dimensions(o).width,i);return r>=e&&h<=n})}var lt={mixins:[wt,Et,ge,le,ue],props:{center:Boolean,sets:Boolean,active:String},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",active:"all",Transitioner:pe},computed:{finite({finite:t}){return t||xe(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return s.last(this.sets);let t=0;const e=dt(this.list),i=s.findIndex(this.slides,n=>{if(t>=e-.005)return!0;t+=s.dimensions(n).width});return~i?i:this.length-1},sets({sets:t}){if(!t||this.parallax)return;let e=0;const i=[],n=s.dimensions(this.list).width;for(let o=0;o<this.length;o++){const r=s.dimensions(this.slides[o]).width;e+r>n&&(e=0),this.center?e<n/2&&e+r+s.dimensions(this.slides[s.getIndex(o+1,this.slides)]).width/2>n/2&&(i.push(o),e=n/2-r/2):e===0&&i.push(Math.min(o,this.maxIndex)),e+=r}if(i.length)return i},transitionOptions(){return{center:this.center,list:this.list}},slides(){return s.children(this.list).filter(s.isVisible)}},connected(){s.toggleClass(this.$el,this.clsContainer,!s.$(`.${this.clsContainer}`,this.$el))},observe:z({target:({slides:t,$el:e})=>[e,...t]}),update:{write(){for(const t of this.navItems){const e=s.toNumber(s.data(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!s.includes(this.sets,e))}this.reorder(),this.parallax||this._translate(1),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!s.includes(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let o=0;o<e;o++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex,n=w(this.list)/this.length;this.duration=Q(n/this.velocity)*(s.dimensions(this.slides[i]).width/n),this.reorder()},itemshow(){~this.prevIndex&&s.addClass(this._getTransitioner().getItemIn(),this.clsActive),this.updateActiveClasses(this.prevIndex)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){s.css(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((o,r)=>s.css(o,"order",this.dir>0&&r<t?1:this.dir<0&&r>=this.index?-1:"")),!this.center||!this.length)return;const e=this.slides[t];let i=s.dimensions(this.list).width/2-s.dimensions(e).width/2,n=0;for(;i>0;){const o=this.getIndex(--n+t,t),r=this.slides[o];s.css(r,"order",o>t?-2:-1),i-=s.dimensions(r).width}},updateActiveClasses(t=this.index){let e=this._getTransitioner(t).getActives();this.active!=="all"&&(e=[this.slides[this.getValidIndex(t)]]);const i=[this.clsActive,!this.sets||s.includes(this.sets,s.toFloat(this.index))?this.clsActivated:""];for(const n of this.slides){const o=s.includes(e,n);s.toggleClass(n,i,o),s.attr(n,"aria-hidden",!o);for(const r of s.$$(s.selFocusable,n))s.hasOwn(r,"_tabindex")||(r._tabindex=s.attr(r,"tabindex")),s.attr(r,"tabindex",o?r._tabindex:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(s.includes(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=s.dimensions(this.list),e=-t,i=t*2,n=s.dimensions(this.slides[this.index]).width,o=this.center?t/2-n/2:0,r=new Set;for(const h of[-1,1]){let a=o+(h>0?n:0),c=0;do{const f=this.slides[this.getIndex(this.index+h+c++*h)];a+=s.dimensions(f).width*h,r.add(f)}while(this.length>c&&a>e&&a<i)}return Array.from(r)},getIndexAt(t){let e=-1;const i=this.center?w(this.list)-(s.dimensions(this.slides[0]).width/2+s.dimensions(s.last(this.slides)).width/2):w(this.list,this.maxIndex);let n=t*i,o=0;do{const r=s.dimensions(this.slides[++e]).width,h=this.center?r/2+s.dimensions(this.slides[e+1]).width/2:r;o=n/h%1,n-=h}while(n>=0&&e<this.maxIndex);return[e,o]}}};function xe(t,e){if(!t||t.length<2)return!0;const{width:i}=s.dimensions(t);if(!e)return Math.ceil(w(t))<Math.trunc(i+we(t));const n=s.children(t),o=Math.trunc(i/2);for(const r in n){const h=n[r],a=s.dimensions(h).width,c=new Set([h]);let f=0;for(const d of[-1,1]){let l=a/2,g=0;for(;l<o;){const u=n[s.getIndex(+r+d+g++*d,n)];if(c.has(u))return!0;l+=s.dimensions(u).width,c.add(u)}f=Math.max(f,a/2+s.dimensions(n[s.getIndex(+r+d,n)]).width/2-(l-o))}if(Math.trunc(f)>s.sumBy(n.filter(d=>!c.has(d)),d=>s.dimensions(d).width))return!0}return!1}function we(t){return Math.max(0,...s.children(t).map(e=>s.dimensions(e).width))}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slider",lt),lt});
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */(function(s,I){typeof exports=="object"&&typeof module<"u"?module.exports=I(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider",["uikit-util"],I):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlider=I(s.UIkit.util))})(this,function(s){"use strict";function I(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,s.fastdom.read(()=>{t._connected&&ut(t,t._queued),t._queued=null})),t._queued.add(e.type||e))}function ut(t,e){for(const{read:i,write:n,events:o=[]}of t._updates){if(!e.has("update")&&!o.some(h=>e.has(h)))continue;let r;i&&(r=i.call(t,t._data,e),r&&s.isPlainObject(r)&&s.assign(t._data,r)),n&&r!==!1&&s.fastdom.write(()=>{t._connected&&n.call(t,t._data,e)})}}function z(t){return P(s.observeResize,t,"resize")}function mt(t){return P(s.observeIntersection,t)}function pt(t={}){return mt({handler:function(e,i){const{targets:n=this.$el,preload:o=5}=t;for(const r of s.toNodes(s.isFunction(n)?n(this):n))s.$$('[loading="lazy"]',r).slice(0,o-1).forEach(h=>s.removeAttr(h,"loading"));for(const r of e.filter(({isIntersecting:h})=>h).map(({target:h})=>h))i.unobserve(r)},...t})}function vt(t){return P((e,i)=>({disconnect:s.on(xt(e),"scroll",i,{passive:!0})}),t,"scroll")}function P(t,e,i){return{observe:t,handler(){I(this,i)},...e}}function xt(t){return s.toNodes(t).map(e=>{const{ownerDocument:i}=e,n=s.scrollParent(e,!0);return n===i.scrollingElement?i:n})}var wt={connected(){s.addClass(this.$el,this.$options.id)}},It={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,n,o;let r=0;return((o=((i=this.i18n)==null?void 0:i[t])||((n=this.$options.i18n)==null?void 0:n[t]))==null?void 0:o.replace(/%s/g,()=>e[r++]||""))||""}}},bt={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){s.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){s.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter:({autoplay:t})=>t,handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&s.matches(this.$el,":focus-within")&&!s.matches(this.$el,":focus")||this.pauseOnHover&&s.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const _={passive:!1,capture:!0},B={passive:!0,capture:!0},$t="touchstart mousedown",D="touchmove mousemove",j="touchend touchcancel mouseup click input scroll";var yt={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const n=s.getEventPos(i).x*(s.isRtl?-1:1);this.prevPos=n===this.pos?this.prevPos:this.pos,this.pos=n,e(i)}}},events:[{name:$t,passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){!this.draggable||this.parallax||!s.isTouch(t)&&St(t.target)||t.target.closest(s.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:D,el:({list:t})=>t,handler:s.noop,..._}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,s.on(document,D,this.move,_),s.on(document,j,this.end,B),s.css(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:i,prevIndex:n}=this,o=Math.abs(e),r=this.getIndex(n+this.dir),h=U.call(this,n,r);for(;r!==n&&o>h;)this.drag-=h*this.dir,n=r,o-=h,r=this.getIndex(n+this.dir),h=U.call(this,n,r);this.percent=o/h;const a=i[n],c=i[r],f=this.index!==r,d=n===r;let l;for(const g of[this.index,this.prevIndex])s.includes([r,n],g)||(s.trigger(i[g],"itemhidden",[this]),d&&(l=!0,this.prevIndex=n));(this.index===n&&this.prevIndex!==n||l)&&s.trigger(i[this.index],"itemshown",[this]),f&&(this.prevIndex=n,this.index=r,d||(s.trigger(a,"beforeitemhide",[this]),s.trigger(a,"itemhide",[this])),s.trigger(c,"beforeitemshow",[this]),s.trigger(c,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!d&&c)},end(){if(s.off(document,D,this.move,_),s.off(document,j,this.end,B),this.dragging)if(setTimeout(s.on(this.list,"click",t=>t.preventDefault(),_)),this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(s.isRtl?this.dir*(s.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(s.trigger(this.slides[this.prevIndex],"itemhidden",[this]),s.trigger(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:""}),this.drag=this.percent=null}}};function U(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function St(t){return s.css(t,"userSelect")!=="none"&&s.toArray(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}s.memoize((t,e)=>{const i=Object.keys(e),n=i.concat(t).map(o=>[s.hyphenate(o),`data-${s.hyphenate(o)}`]).flat();return{attributes:i,filter:n}});let _t=1;function q(t,e=null){return(e==null?void 0:e.id)||`${t.$options.id}-${_t++}`}const b={SPACE:32,END:35,HOME:36,LEFT:37,RIGHT:39};function kt(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault()}var At={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>s.$(t,e),navChildren(){return s.children(this.nav)},selNavItem:({attrItem:t})=>`[${t}],[data-${t}]`,navItems(t,e){return s.$$(this.selNavItem,e)}},watch:{nav(t,e){s.attr(t,"role","tablist"),this.padNavitems(),e&&this.$emit()},list(t){s.isTag(t,"ul")&&s.attr(t,"role","presentation")},navChildren(t){s.attr(t,"role","presentation"),this.padNavitems(),this.updateNav()},navItems(t){for(const e of t){const i=s.data(e,this.attrItem),n=s.$("a,button",e)||e;let o,r=null;if(s.isNumeric(i)){const h=s.toNumber(i),a=this.slides[h];a&&(a.id||(a.id=q(this,a)),r=a.id),o=this.t("slideX",s.toFloat(i)+1),n.role="tab"}else this.list&&(this.list.id||(this.list.id=q(this,this.list)),r=this.list.id),o=this.t(i);n.ariaControls=r,n.ariaLabel=n.ariaLabel||o}},slides(t){t.forEach((e,i)=>s.attr(e,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.padNavitems()}},connected(){this.$el.role=this.role,this.$el.ariaRoleDescription="carousel"},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){t.target.closest("a,button")&&(t.type==="click"||t.keyCode===b.SPACE)&&(kt(t),this.show(s.data(t.current,this.attrItem)))}},{name:"itemshow",handler(){this.updateNav()}},{name:"keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){const{current:e,keyCode:i}=t,n=s.data(e,this.attrItem);if(!s.isNumeric(n))return;let o=i===b.HOME?0:i===b.END?"last":i===b.LEFT?"previous":i===b.RIGHT?"next":-1;~o&&(t.preventDefault(),this.show(o))}}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const i=s.data(e,this.attrItem),n=s.$("a,button",e)||e;if(s.isNumeric(i)){const r=s.toNumber(i)===t;s.toggleClass(e,this.clsActive,r),s.toggleClass(n,"uk-disabled",!!this.parallax),n.ariaSelected=r,n.tabIndex=r&&!this.parallax?null:-1,r&&n&&s.matches(s.parent(e),":focus-within")&&n.focus()}else s.toggleClass(e,"uk-invisible",this.finite&&(i==="previous"&&t===0||i==="next"&&t>=this.maxIndex))}},padNavitems(){if(!this.nav)return;const t=[];for(let e=0;e<this.length;e++){const i=`${this.attrItem}="${e}"`;t[e]=this.navChildren.findLast(n=>n.matches(`[${i}]`))||s.$(`<li ${i}><a href></a></li>`)}s.isEqual(t,this.navChildren)||s.html(this.nav,t)}}};const Ct="cubic-bezier(0.25, 0.46, 0.45, 0.94)",Mt="cubic-bezier(0.165, 0.84, 0.44, 1)";var Et={mixins:[bt,yt,At,It],props:{clsActivated:String,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:"",clsEnter:"uk-slide-enter",clsLeave:"uk-slide-leave",clsSlideActive:"uk-slide-active",Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){s.removeClass(this.slides,this.clsActive)},computed:{duration:({velocity:t},e)=>Q(e.offsetWidth/t),list:({selList:t},e)=>s.$(t,e),maxIndex(){return this.length-1},slides(){return s.children(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},events:{itemshow({target:t}){s.addClass(t,this.clsEnter,this.clsSlideActive)},itemshown({target:t}){s.removeClass(t,this.clsEnter)},itemhide({target:t}){s.addClass(t,this.clsLeave)},itemhidden({target:t}){s.removeClass(t,this.clsLeave,this.clsSlideActive)}},methods:{async show(t,e=!1){var i;if(this.dragging||!this.length||this.parallax)return;const{stack:n}=this,o=e?0:n.length,r=()=>{n.splice(o,1),n.length&&this.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1){n.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const h=this.getIndex(this.index),a=s.hasClass(this.slides,this.clsActive)&&this.slides[h],c=this.getIndex(t,this.index),f=this.slides[c];if(a===f){r();return}if(this.dir=Nt(t,h),this.prevIndex=h,this.index=c,a&&!s.trigger(a,"beforeitemhide",[this])||!s.trigger(f,"beforeitemshow",[this,a])){this.index=this.prevIndex,r();return}a&&s.trigger(a,"itemhide",[this]),s.trigger(f,"itemshow",[this]),await this._show(a,f,e),a&&s.trigger(a,"itemhidden",[this]),s.trigger(f,"itemshown",[this]),n.shift(),this._transitioner=null,n.length&&requestAnimationFrame(()=>n.length&&this.show(n.shift(),!0))},getIndex(t=this.index,e=this.index){return s.clamp(s.getIndex(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},async _show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?Ct:Mt:this.easing,...this.transitionOptions}),!i&&!t){this._translate(1);return}const{length:n}=this.stack;return this._transitioner[n>1?"forward":"show"](n>1?Math.min(this.duration,75+75/(n-1)):this.duration,this.percent)},_translate(t,e=this.prevIndex,i=this.index){const n=this._getTransitioner(e===i?!1:e,i);return n.translate(t),n},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,n=this.transitionOptions){return new this.Transitioner(s.isNumber(t)?this.slides[t]:t,s.isNumber(e)?this.slides[e]:e,i*(s.isRtl?-1:1),n)}}};function Nt(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Q(t){return .5*t+300}function Tt(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}const{from:Pt}=Array;function Dt(t){return typeof t=="function"}function O(t){return t!==null&&typeof t=="object"}function Ot(t){return O(t)&&t===t.window}function Rt(t){return X(t)===9}function G(t){return X(t)>=1}function X(t){return!Ot(t)&&O(t)&&t.nodeType}function R(t){return typeof t=="string"}function Ft(t){return t===void 0}function k(t){return t&&m(t)[0]}function m(t){return G(t)?[t]:Array.from(t||[]).filter(G)}function J(t){const e=Object.create(null);return(i,...n)=>e[i]||(e[i]=t(i,...n))}function F(t,e,i){var n;if(O(e)){for(const o in e)F(t,o,e[o]);return}if(Ft(i))return(n=k(t))==null?void 0:n.getAttribute(e);for(const o of m(t))Dt(i)&&(i=i.call(o,F(o,e))),i===null?Wt(o,e):o.setAttribute(e,i)}function Wt(t,e){m(t).forEach(i=>i.removeAttribute(e))}const Ht=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function Lt(t){return m(t).some(e=>Ht.call(e))}function Vt(t){var e;return(e=k(t))==null?void 0:e.parentElement}function zt(t,e){return m(t).filter(i=>K(i,e))}function K(t,e){return m(t).some(i=>i.matches(e))}function Bt(t,e){t=k(t);const i=t?Pt(t.children):[];return e?zt(i,e):i}function Y(t,e){return Bt(Vt(t)).indexOf(t)}function jt(t,e){return m(Xt(t,k(e),"querySelectorAll"))}const Ut=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,qt=/(\([^)]*\)|[^,])+/g,Qt=J(t=>{let e=!1;if(!t||!R(t))return{};const i=[];for(let n of t.match(qt))n=n.trim().replace(Ut,"$1 *"),e||(e=["!","+","~","-",">"].includes(n[0])),i.push(n);return{selector:i.join(","),selectors:i,isContextSelector:e}}),Gt=/(\([^)]*\)|\S)*/,Z=J(t=>{t=t.slice(1).trim();const[e]=t.match(Gt);return[e,t.slice(e.length+1)]});function Xt(t,e=document,i){const n=Qt(t);if(!n.isContextSelector)return n.selector?W(e,i,n.selector):t;t="";const o=n.selectors.length===1;for(let r of n.selectors){let h,a=e;if(r[0]==="!"&&([h,r]=Z(r),a=e.parentElement.closest(h),!r&&o)||a&&r[0]==="-"&&([h,r]=Z(r),a=a.previousElementSibling,a=K(a,h)?a:null,!r&&o))return a;if(a){if(o)return r[0]==="~"||r[0]==="+"?(r=`:scope > :nth-child(${Y(a)+1}) ${r}`,a=a.parentElement):r[0]===">"&&(r=`:scope ${r}`),W(a,i,r);t+=`${t?",":""}${Jt(a)} ${r}`}}return Rt(e)||(e=e.ownerDocument),W(e,i,t)}function W(t,e,i){try{return t[e](i)}catch{return null}}function Jt(t){const e=[];for(;t.parentNode;){const i=F(t,"id");if(i){e.unshift(`#${Kt(i)}`);break}else{let{tagName:n}=t;n!=="HTML"&&(n+=`:nth-child(${Y(t)+1})`),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Kt(t){return R(t)?CSS.escape(t):""}const Yt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Zt(t){const e=Yt.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("template");return i.innerHTML=t.trim(),te(i.content.childNodes)}function te(t){return t.length>1?t:t[0]}function ee(t,e){return se(t)?m(Zt(t)):jt(t,e)}function se(t){return R(t)&&Tt(t.trim(),"<")}function ie(t){return Lt(t)?Math.ceil(Math.max(0,...ee("[stroke]",t).map(e=>{var i;return((i=e.getTotalLength)==null?void 0:i.call(e))||0}))):0}const tt={x:A,y:A,rotate:A,scale:A,color:H,backgroundColor:H,borderColor:H,blur:v,hue:v,fopacity:v,grayscale:v,invert:v,saturate:v,sepia:v,opacity:re,stroke:oe,bgx:st,bgy:st},{keys:et}=Object;at(et(tt),"list"),at(et(tt),void 0);function A(t,e,i){let n=M(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",o;return t==="x"||t==="y"?(t=`translate${s.ucfirst(t)}`,o=r=>s.toFloat(s.toFloat(r).toFixed(n==="px"?0:6))):t==="scale"&&(n="",o=r=>{var h;return M([r])?s.toPx(r,"width",e,!0)/e[`offset${(h=r.endsWith)!=null&&h.call(r,"vh")?"Height":"Width"}`]:s.toFloat(r)}),i.length===1&&i.unshift(t==="scale"?1:0),i=x(i,o),(r,h)=>{r.transform=`${r.transform||""} ${t}(${$(i,h)}${n})`}}function H(t,e,i){return i.length===1&&i.unshift(y(e,t,"")),i=x(i,n=>ne(e,n)),(n,o)=>{const[r,h,a]=ot(i,o),c=r.map((f,d)=>(f+=a*(h[d]-f),d===3?s.toFloat(f):parseInt(f,10))).join(",");n[t]=`rgba(${c})`}}function ne(t,e){return y(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function v(t,e,i){i.length===1&&i.unshift(0);const n=M(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=x(i),(o,r)=>{const h=$(i,r);o.filter=`${o.filter||""} ${t}(${h+n})`}}function re(t,e,i){return i.length===1&&i.unshift(y(e,t,"")),i=x(i),(n,o)=>{n[t]=$(i,o)}}function oe(t,e,i){i.length===1&&i.unshift(0);const n=M(i),o=ie(e);return i=x(i.reverse(),r=>(r=s.toFloat(r),n==="%"?r*o/100:r)),i.some(([r])=>r)?(s.css(e,"strokeDasharray",o),(r,h)=>{r.strokeDashoffset=$(i,h)}):s.noop}function st(t,e,i,n){i.length===1&&i.unshift(0);const o=t==="bgy"?"height":"width";n[t]=x(i,a=>s.toPx(a,o,e));const r=["bgx","bgy"].filter(a=>a in n);if(r.length===2&&t==="bgx")return s.noop;if(y(e,"backgroundSize","")==="cover")return ae(t,e,i,n);const h={};for(const a of r)h[a]=it(e,a);return nt(r,h,n)}function ae(t,e,i,n){const o=he(e);if(!o.width)return s.noop;const r={width:e.offsetWidth,height:e.offsetHeight},h=["bgx","bgy"].filter(d=>d in n),a={};for(const d of h){const l=n[d].map(([T])=>T),g=Math.min(...l),u=Math.max(...l),N=l.indexOf(g)<l.indexOf(u),p=u-g;a[d]=`${(N?-p:0)-(N?g:u)}px`,r[d==="bgy"?"height":"width"]+=p}const c=s.Dimensions.cover(o,r);for(const d of h){const l=d==="bgy"?"height":"width",g=c[l]-r[l];a[d]=`max(${it(e,d)},-${g}px) + ${a[d]}`}const f=nt(h,a,n);return(d,l)=>{f(d,l),d.backgroundSize=`${c.width}px ${c.height}px`,d.backgroundRepeat="no-repeat"}}function it(t,e){return y(t,`background-position-${e.slice(-1)}`,"")}function nt(t,e,i){return function(n,o){for(const r of t){const h=$(i[r],o);n[`background-position-${r.slice(-1)}`]=`calc(${e[r]} + ${h}px)`}}}const rt={},C={};function he(t){const e=s.css(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(C[e])return C[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth&&!rt[e])?(s.once(i,"error load",()=>{C[e]=L(i),s.trigger(t,s.createEvent("load",!1))}),rt[e]=!0,L(i)):C[e]=L(i)}function L(t){return{width:t.naturalWidth,height:t.naturalHeight}}function x(t,e=s.toFloat){const i=[],{length:n}=t;let o=0;for(let r=0;r<n;r++){let[h,a]=s.isString(t[r])?t[r].trim().split(/ (?![^(]*\))/):[t[r]];if(h=e(h),a=a?s.toFloat(a)/100:null,r===0?a===null?a=0:a&&i.push([h,0]):r===n-1&&(a===null?a=1:a!==1&&(i.push([h,a]),a=1)),i.push([h,a]),a===null)o++;else if(o){const c=i[r-o-1][1],f=(a-c)/(o+1);for(let d=o;d>0;d--)i[r-d][1]=c+f*(o-d+1);o=0}}return i}function ot(t,e){const i=s.findIndex(t.slice(1),([,n])=>e<=n)+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function $(t,e){const[i,n,o]=ot(t,e);return i+Math.abs(i-n)*o*(i<n?1:-1)}const de=/^-?\d+(?:\.\d+)?(\S+)?/;function M(t,e){var i;for(const n of t){const o=(i=n.match)==null?void 0:i.call(n,de);if(o)return o[1]}return e}function y(t,e,i){const n=t.style[e],o=s.css(s.css(t,e,i),e);return t.style[e]=n,o}function at(t,e){return t.reduce((i,n)=>(i[n]=e,i),{})}function ce(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var le={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[z({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),vt({filter:({parallax:t})=>t})],computed:{parallaxTarget({parallaxTarget:t},e){return t&&s.query(t,e)||this.list}},update:{read(){if(!this.parallax)return!1;const t=this.parallaxTarget;if(!t)return!1;const e=s.toPx(this.parallaxStart,"height",t,!0),i=s.toPx(this.parallaxEnd,"height",t,!0),n=ce(s.scrolledOver(t,e,i),this.parallaxEasing);return{parallax:this.getIndexAt(n)}},write({parallax:t}){const[e,i]=t,n=this.getValidIndex(e+Math.ceil(i)),o=this.slides[e],r=this.slides[n],{triggerShow:h,triggerShown:a,triggerHide:c,triggerHidden:f}=fe(this);if(~this.prevIndex)for(const l of new Set([this.index,this.prevIndex]))s.includes([n,e],l)||(c(this.slides[l]),f(this.slides[l]));const d=this.prevIndex!==e||this.index!==n;this.dir=1,this.prevIndex=e,this.index=n,o!==r&&c(o),h(r),d&&a(o),this._translate(o===r?1:i,o,r)},events:["scroll","resize"]},methods:{getIndexAt(t){const e=t*(this.length-1);return[Math.floor(e),e%1]}}};function fe(t){const{clsSlideActive:e,clsEnter:i,clsLeave:n}=t;return{triggerShow:o,triggerShown:r,triggerHide:h,triggerHidden:a};function o(c){s.hasClass(c,n)&&(h(c),a(c)),s.hasClass(c,e)||(s.trigger(c,"beforeitemshow",[t]),s.trigger(c,"itemshow",[t]))}function r(c){s.hasClass(c,i)&&s.trigger(c,"itemshown",[t])}function h(c){s.hasClass(c,e)||o(c),s.hasClass(c,i)&&r(c),s.hasClass(c,n)||(s.trigger(c,"beforeitemhide",[t]),s.trigger(c,"itemhide",[t]))}function a(c){s.hasClass(c,n)&&s.trigger(c,"itemhidden",[t])}}var ge={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const t=this.getValidIndex();!~this.prevIndex||this.index!==t?this.show(t):this._translate(1)},events:["resize"]}},ue={observe:pt({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};function ht(t=0,e="%"){return t?`translate3d(${t+e}, 0, 0)`:""}function V(t,e,i){s.trigger(t,s.createEvent(e,!1,!1,i))}function me(){let t;return{promise:new Promise(e=>t=e),resolve:t}}function pe(t,e,i,{center:n,easing:o,list:r}){const h=t?S(t,r,n):S(e,r,n)+s.dimensions(e).width*i,a=e?S(e,r,n):h+s.dimensions(t).width*i*(s.isRtl?-1:1),{promise:c,resolve:f}=me();return{dir:i,show(d,l=0,g){const u=g?"linear":o;return d-=Math.round(d*s.clamp(l,-1,1)),s.css(r,"transitionProperty","none"),this.translate(l),s.css(r,"transitionProperty",""),l=t?l:s.clamp(l,0,1),V(this.getItemIn(),"itemin",{percent:l,duration:d,timing:u,dir:i}),t&&V(this.getItemIn(!0),"itemout",{percent:1-l,duration:d,timing:u,dir:i}),s.Transition.start(r,{transform:ht(-a*(s.isRtl?-1:1),"px")},d,u).then(f,s.noop),c},cancel(){return s.Transition.cancel(r)},reset(){s.css(r,"transform","")},async forward(d,l=this.percent()){return await this.cancel(),this.show(d,l,!0)},translate(d){if(d===this.percent())return;const l=this.getDistance()*i*(s.isRtl?-1:1);s.css(r,"transform",ht(s.clamp(-a+(l-l*d),-w(r),s.dimensions(r).width)*(s.isRtl?-1:1),"px"));const g=this.getActives(),u=this.getItemIn(),N=this.getItemIn(!0);d=t?s.clamp(d,-1,1):0;for(const p of s.children(r)){const T=s.includes(g,p),ft=p===u,gt=p===N,Ie=ft||!gt&&(T||i*(s.isRtl?-1:1)===-1^E(p,r)>E(t||e));V(p,`itemtranslate${Ie?"in":"out"}`,{dir:i,percent:gt?1-d:ft?d:T?1:0})}},percent(){return Math.abs((new DOMMatrix(s.css(r,"transform")).m41*(s.isRtl?-1:1)+h)/(a-h))},getDistance(){return Math.abs(a-h)},getItemIn(d=!1){let l=this.getActives(),g=ct(r,S(e||t,r,n));if(d){const u=l;l=g,g=u}return g[s.findIndex(g,u=>!s.includes(l,u))]},getActives(){return ct(r,S(t||e,r,n))}}}function S(t,e,i){const n=E(t,e);return i?n-ve(t,e):Math.min(n,dt(e))}function dt(t){return Math.max(0,w(t)-s.dimensions(t).width)}function w(t,e){return s.sumBy(s.children(t).slice(0,e),i=>s.dimensions(i).width)}function ve(t,e){return s.dimensions(e).width/2-s.dimensions(t).width/2}function E(t,e){return t&&(s.position(t).left+(s.isRtl?s.dimensions(t).width-s.dimensions(e).width:0))*(s.isRtl?-1:1)||0}function ct(t,e){e-=1;const i=s.dimensions(t).width,n=e+i+2;return s.children(t).filter(o=>{const r=E(o,t),h=r+Math.min(s.dimensions(o).width,i);return r>=e&&h<=n})}var lt={mixins:[wt,Et,ge,le,ue],props:{center:Boolean,sets:Boolean,active:String},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",active:"all",Transitioner:pe},computed:{finite({finite:t}){return t||xe(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return s.last(this.sets);let t=0;const e=dt(this.list),i=s.findIndex(this.slides,n=>{if(t>=e-.005)return!0;t+=s.dimensions(n).width});return~i?i:this.length-1},sets({sets:t}){if(!t||this.parallax)return;let e=0;const i=[],n=s.dimensions(this.list).width;for(let o=0;o<this.length;o++){const r=s.dimensions(this.slides[o]).width;e+r>n&&(e=0),this.center?e<n/2&&e+r+s.dimensions(this.slides[s.getIndex(o+1,this.slides)]).width/2>n/2&&(i.push(o),e=n/2-r/2):e===0&&i.push(Math.min(o,this.maxIndex)),e+=r}if(i.length)return i},transitionOptions(){return{center:this.center,list:this.list}},slides(){return s.children(this.list).filter(s.isVisible)}},connected(){s.toggleClass(this.$el,this.clsContainer,!s.$(`.${this.clsContainer}`,this.$el))},observe:z({target:({slides:t,$el:e})=>[e,...t]}),update:{write(){for(const t of this.navItems){const e=s.toNumber(s.data(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!s.includes(this.sets,e))}this.reorder(),this.parallax||this._translate(1),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!s.includes(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let o=0;o<e;o++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex,n=w(this.list)/this.length;this.duration=Q(n/this.velocity)*(s.dimensions(this.slides[i]).width/n),this.reorder()},itemshow(){~this.prevIndex&&s.addClass(this._getTransitioner().getItemIn(),this.clsActive),this.updateActiveClasses(this.prevIndex)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){s.css(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((o,r)=>s.css(o,"order",this.dir>0&&r<t?1:this.dir<0&&r>=this.index?-1:"")),!this.center||!this.length)return;const e=this.slides[t];let i=s.dimensions(this.list).width/2-s.dimensions(e).width/2,n=0;for(;i>0;){const o=this.getIndex(--n+t,t),r=this.slides[o];s.css(r,"order",o>t?-2:-1),i-=s.dimensions(r).width}},updateActiveClasses(t=this.index){let e=this._getTransitioner(t).getActives();this.active!=="all"&&(e=[this.slides[this.getValidIndex(t)]]);const i=[this.clsActive,!this.sets||s.includes(this.sets,s.toFloat(this.index))?this.clsActivated:""];for(const n of this.slides){const o=s.includes(e,n);s.toggleClass(n,i,o),n.ariaHidden=!o;for(const r of s.$$(s.selFocusable,n))s.hasOwn(r,"_tabindex")||(r._tabindex=r.tabIndex),r.tabIndex=o?r._tabindex:-1}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(s.includes(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=s.dimensions(this.list),e=-t,i=t*2,n=s.dimensions(this.slides[this.index]).width,o=this.center?t/2-n/2:0,r=new Set;for(const h of[-1,1]){let a=o+(h>0?n:0),c=0;do{const f=this.slides[this.getIndex(this.index+h+c++*h)];a+=s.dimensions(f).width*h,r.add(f)}while(this.length>c&&a>e&&a<i)}return Array.from(r)},getIndexAt(t){let e=-1;const i=this.center?w(this.list)-(s.dimensions(this.slides[0]).width/2+s.dimensions(s.last(this.slides)).width/2):w(this.list,this.maxIndex);let n=t*i,o=0;do{const r=s.dimensions(this.slides[++e]).width,h=this.center?r/2+s.dimensions(this.slides[e+1]).width/2:r;o=n/h%1,n-=h}while(n>=0&&e<this.maxIndex);return[e,o]}}};function xe(t,e){if(!t||t.length<2)return!0;const{width:i}=s.dimensions(t);if(!e)return Math.ceil(w(t))<Math.trunc(i+we(t));const n=s.children(t),o=Math.trunc(i/2);for(const r in n){const h=n[r],a=s.dimensions(h).width,c=new Set([h]);let f=0;for(const d of[-1,1]){let l=a/2,g=0;for(;l<o;){const u=n[s.getIndex(+r+d+g++*d,n)];if(c.has(u))return!0;l+=s.dimensions(u).width,c.add(u)}f=Math.max(f,a/2+s.dimensions(n[s.getIndex(+r+d,n)]).width/2-(l-o))}if(Math.trunc(f)>s.sumBy(n.filter(d=>!c.has(d)),d=>s.dimensions(d).width))return!0}return!1}function we(t){return Math.max(0,...s.children(t).map(e=>s.dimensions(e).width))}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slider",lt),lt});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 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.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */(function(s,$){typeof exports=="object"&&typeof module<"u"?module.exports=$(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow_parallax",["uikit-util"],$):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlideshow_parallax=$(s.UIkit.util))})(this,function(s){"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 e=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function Y(n,e){if(s.isString(n)){if(s.startsWith(n,"@"))n=s.toFloat(s.css(e,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&s.isNumeric(n)?`(min-width: ${n}px)`:""}function Z(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}const{from:k}=Array;function U(n){return typeof n=="function"}function C(n){return n!==null&&typeof n=="object"}function nn(n){return C(n)&&n===n.window}function tn(n){return T(n)===9}function N(n){return T(n)>=1}function T(n){return!nn(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function en(n){return n===void 0}function w(n){return n&&d(n)[0]}function d(n){return N(n)?[n]:Array.from(n||[]).filter(N)}function W(n){const e=Object.create(null);return(t,...r)=>e[t]||(e[t]=n(t,...r))}function P(n,e,t){var r;if(C(e)){for(const i in e)P(n,i,e[i]);return}if(en(t))return(r=w(n))==null?void 0:r.getAttribute(e);for(const i of d(n))U(t)&&(t=t.call(i,P(i,e))),t===null?rn(i,e):i.setAttribute(e,t)}function rn(n,e){d(n).forEach(t=>t.removeAttribute(e))}const on=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function sn(n){return d(n).some(e=>on.call(e))}function cn(n){var e;return(e=w(n))==null?void 0:e.parentElement}function an(n,e){return d(n).filter(t=>_(t,e))}function _(n,e){return d(n).some(t=>t.matches(e))}function fn(n,e){n=w(n);const t=n?k(n.children):[];return e?an(t,e):t}function A(n,e){return fn(cn(n)).indexOf(n)}function un(n,e){return d(mn(n,w(e),"querySelectorAll"))}const dn=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ln=/(\([^)]*\)|[^,])+/g,hn=W(n=>{let e=!1;if(!n||!M(n))return{};const t=[];for(let r of n.match(ln))r=r.trim().replace(dn,"$1 *"),e||(e=["!","+","~","-",">"].includes(r[0])),t.push(r);return{selector:t.join(","),selectors:t,isContextSelector:e}}),gn=/(\([^)]*\)|\S)*/,D=W(n=>{n=n.slice(1).trim();const[e]=n.match(gn);return[e,n.slice(e.length+1)]});function mn(n,e=document,t){const r=hn(n);if(!r.isContextSelector)return r.selector?O(e,t,r.selector):n;n="";const i=r.selectors.length===1;for(let o of r.selectors){let a,c=e;if(o[0]==="!"&&([a,o]=D(o),c=e.parentElement.closest(a),!o&&i)||c&&o[0]==="-"&&([a,o]=D(o),c=c.previousElementSibling,c=_(c,a)?c:null,!o&&i))return c;if(c){if(i)return o[0]==="~"||o[0]==="+"?(o=`:scope > :nth-child(${A(c)+1}) ${o}`,c=c.parentElement):o[0]===">"&&(o=`:scope ${o}`),O(c,t,o);n+=`${n?",":""}${$n(c)} ${o}`}}return tn(e)||(e=e.ownerDocument),O(e,t,n)}function O(n,e,t){try{return n[e](t)}catch{return null}}function $n(n){const e=[];for(;n.parentNode;){const t=P(n,"id");if(t){e.unshift(`#${bn(t)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${A(n)+1})`),e.unshift(r),n=n.parentNode}}return e.join(" > ")}function bn(n){return M(n)?CSS.escape(n):""}const pn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const e=pn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("template");return t.innerHTML=n.trim(),wn(t.content.childNodes)}function wn(n){return n.length>1?n:n[0]}function yn(n,e){return vn(n)?d(xn(n)):un(n,e)}function vn(n){return M(n)&&Z(n.trim(),"<")}function Sn(n){return sn(n)?Math.ceil(Math.max(0,...yn("[stroke]",n).map(e=>{var t;return((t=e.getTotalLength)==null?void 0:t.call(e))||0}))):0}const y={x:v,y:v,rotate:v,scale:v,color:j,backgroundColor:j,borderColor:j,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Mn,stroke:Pn,bgx:R,bgy:R},{keys:H}=Object;var Fn={mixins:[$],props:q(H(y),"list"),data:q(H(y),void 0),computed:{props(n,e){const t={};for(const i in n)i in y&&!s.isUndefined(n[i])&&(t[i]=n[i].slice());const r={};for(const i in t)r[i]=y[i](i,e,t[i],t);return r}},events:{load(){this.$emit()}},methods:{reset(){s.resetProps(this.$el,this.getCss(0))},getCss(n){const e={};for(const t in this.props)this.props[t](e,s.clamp(n));return e.willChange=Object.keys(e).map(s.propName).join(","),e}}};function v(n,e,t){let r=F(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",i;return n==="x"||n==="y"?(n=`translate${s.ucfirst(n)}`,i=o=>s.toFloat(s.toFloat(o).toFixed(r==="px"?0:6))):n==="scale"&&(r="",i=o=>{var a;return F([o])?s.toPx(o,"width",e,!0)/e[`offset${(a=o.endsWith)!=null&&a.call(o,"vh")?"Height":"Width"}`]:s.toFloat(o)}),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,i),(o,a)=>{o.transform=`${o.transform||""} ${n}(${b(t,a)}${r})`}}function j(n,e,t){return t.length===1&&t.unshift(p(e,n,"")),t=m(t,r=>Cn(e,r)),(r,i)=>{const[o,a,c]=L(t,i),l=o.map((h,f)=>(h+=c*(a[f]-h),f===3?s.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${l})`}}function Cn(n,e){return p(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const r=F(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(i,o)=>{const a=b(t,o);i.filter=`${i.filter||""} ${n}(${a+r})`}}function Mn(n,e,t){return t.length===1&&t.unshift(p(e,n,"")),t=m(t),(r,i)=>{r[n]=b(t,i)}}function Pn(n,e,t){t.length===1&&t.unshift(0);const r=F(t),i=Sn(e);return t=m(t.reverse(),o=>(o=s.toFloat(o),r==="%"?o*i/100:o)),t.some(([o])=>o)?(s.css(e,"strokeDasharray",i),(o,a)=>{o.strokeDashoffset=b(t,a)}):s.noop}function R(n,e,t,r){t.length===1&&t.unshift(0);const i=n==="bgy"?"height":"width";r[n]=m(t,c=>s.toPx(c,i,e));const o=["bgx","bgy"].filter(c=>c in r);if(o.length===2&&n==="bgx")return s.noop;if(p(e,"backgroundSize","")==="cover")return On(n,e,t,r);const a={};for(const c of o)a[c]=B(e,c);return V(o,a,r)}function On(n,e,t,r){const i=jn(e);if(!i.width)return s.noop;const o={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(f=>f in r),c={};for(const f of a){const u=r[f].map(([En])=>En),x=Math.min(...u),E=Math.max(...u),K=u.indexOf(x)<u.indexOf(E),X=E-x;c[f]=`${(K?-X:0)-(K?x:E)}px`,o[f==="bgy"?"height":"width"]+=X}const l=s.Dimensions.cover(i,o);for(const f of a){const u=f==="bgy"?"height":"width",x=l[u]-o[u];c[f]=`max(${B(e,f)},-${x}px) + ${c[f]}`}const h=V(a,c,r);return(f,u)=>{h(f,u),f.backgroundSize=`${l.width}px ${l.height}px`,f.backgroundRepeat="no-repeat"}}function B(n,e){return p(n,`background-position-${e.slice(-1)}`,"")}function V(n,e,t){return function(r,i){for(const o of n){const a=b(t[o],i);r[`background-position-${o.slice(-1)}`]=`calc(${e[o]} + ${a}px)`}}}const z={},S={};function jn(n){const e=s.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[e])return S[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth&&!z[e])?(s.once(t,"error load",()=>{S[e]=I(t),s.trigger(n,s.createEvent("load",!1))}),z[e]=!0,I(t)):S[e]=I(t)}function I(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=s.toFloat){const t=[],{length:r}=n;let i=0;for(let o=0;o<r;o++){let[a,c]=s.isString(n[o])?n[o].trim().split(/ (?![^(]*\))/):[n[o]];if(a=e(a),c=c?s.toFloat(c)/100:null,o===0?c===null?c=0:c&&t.push([a,0]):o===r-1&&(c===null?c=1:c!==1&&(t.push([a,c]),c=1)),t.push([a,c]),c===null)i++;else if(i){const l=t[o-i-1][1],h=(c-l)/(i+1);for(let f=i;f>0;f--)t[o-f][1]=l+h*(i-f+1);i=0}}return t}function L(n,e){const t=s.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 b(n,e){const[t,r,i]=L(n,e);return t+Math.abs(t-r)*i*(t<r?1:-1)}const In=/^-?\d+(?:\.\d+)?(\S+)?/;function F(n,e){var t;for(const r of n){const i=(t=r.match)==null?void 0:t.call(r,In);if(i)return i[1]}return e}function p(n,e,t){const r=n.style[e],i=s.css(s.css(n,e,t),e);return n.style[e]=r,i}function q(n,e){return n.reduce((t,r)=>(t[r]=e,t),{})}var Q={mixins:[Fn],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:e,duration:t,timing:r,dir:i}}){s.fastdom.read(()=>{if(!this.matchMedia)return;const o=this.getCss(J(n,i,e)),a=this.getCss(G(n)?.5:i>0?1:0);s.fastdom.write(()=>{s.css(this.$el,o),s.Transition.start(this.$el,a,t,r).catch(s.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:n})=>n,handler(){s.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:e,dir:t}}){s.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const r=this.getCss(J(n,t,e));s.fastdom.write(()=>s.css(this.$el,r))})}}]};function G(n){return s.endsWith(n,"in")}function J(n,e,t){return t/=2,G(n)^e<0?t:1-t}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshowParallax",Q),Q});
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */(function(s,$){typeof exports=="object"&&typeof module<"u"?module.exports=$(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow_parallax",["uikit-util"],$):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlideshow_parallax=$(s.UIkit.util))})(this,function(s){"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 e=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function Y(n,e){if(s.isString(n)){if(s.startsWith(n,"@"))n=s.toFloat(s.css(e,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&s.isNumeric(n)?`(min-width: ${n}px)`:""}function Z(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}const{from:k}=Array;function U(n){return typeof n=="function"}function C(n){return n!==null&&typeof n=="object"}function nn(n){return C(n)&&n===n.window}function tn(n){return T(n)===9}function N(n){return T(n)>=1}function T(n){return!nn(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function en(n){return n===void 0}function w(n){return n&&d(n)[0]}function d(n){return N(n)?[n]:Array.from(n||[]).filter(N)}function W(n){const e=Object.create(null);return(t,...r)=>e[t]||(e[t]=n(t,...r))}function P(n,e,t){var r;if(C(e)){for(const i in e)P(n,i,e[i]);return}if(en(t))return(r=w(n))==null?void 0:r.getAttribute(e);for(const i of d(n))U(t)&&(t=t.call(i,P(i,e))),t===null?rn(i,e):i.setAttribute(e,t)}function rn(n,e){d(n).forEach(t=>t.removeAttribute(e))}const on=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function sn(n){return d(n).some(e=>on.call(e))}function cn(n){var e;return(e=w(n))==null?void 0:e.parentElement}function an(n,e){return d(n).filter(t=>_(t,e))}function _(n,e){return d(n).some(t=>t.matches(e))}function fn(n,e){n=w(n);const t=n?k(n.children):[];return e?an(t,e):t}function A(n,e){return fn(cn(n)).indexOf(n)}function un(n,e){return d(mn(n,w(e),"querySelectorAll"))}const dn=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ln=/(\([^)]*\)|[^,])+/g,hn=W(n=>{let e=!1;if(!n||!M(n))return{};const t=[];for(let r of n.match(ln))r=r.trim().replace(dn,"$1 *"),e||(e=["!","+","~","-",">"].includes(r[0])),t.push(r);return{selector:t.join(","),selectors:t,isContextSelector:e}}),gn=/(\([^)]*\)|\S)*/,D=W(n=>{n=n.slice(1).trim();const[e]=n.match(gn);return[e,n.slice(e.length+1)]});function mn(n,e=document,t){const r=hn(n);if(!r.isContextSelector)return r.selector?O(e,t,r.selector):n;n="";const i=r.selectors.length===1;for(let o of r.selectors){let a,c=e;if(o[0]==="!"&&([a,o]=D(o),c=e.parentElement.closest(a),!o&&i)||c&&o[0]==="-"&&([a,o]=D(o),c=c.previousElementSibling,c=_(c,a)?c:null,!o&&i))return c;if(c){if(i)return o[0]==="~"||o[0]==="+"?(o=`:scope > :nth-child(${A(c)+1}) ${o}`,c=c.parentElement):o[0]===">"&&(o=`:scope ${o}`),O(c,t,o);n+=`${n?",":""}${$n(c)} ${o}`}}return tn(e)||(e=e.ownerDocument),O(e,t,n)}function O(n,e,t){try{return n[e](t)}catch{return null}}function $n(n){const e=[];for(;n.parentNode;){const t=P(n,"id");if(t){e.unshift(`#${bn(t)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${A(n)+1})`),e.unshift(r),n=n.parentNode}}return e.join(" > ")}function bn(n){return M(n)?CSS.escape(n):""}const pn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const e=pn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("template");return t.innerHTML=n.trim(),wn(t.content.childNodes)}function wn(n){return n.length>1?n:n[0]}function yn(n,e){return vn(n)?d(xn(n)):un(n,e)}function vn(n){return M(n)&&Z(n.trim(),"<")}function Sn(n){return sn(n)?Math.ceil(Math.max(0,...yn("[stroke]",n).map(e=>{var t;return((t=e.getTotalLength)==null?void 0:t.call(e))||0}))):0}const y={x:v,y:v,rotate:v,scale:v,color:j,backgroundColor:j,borderColor:j,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Mn,stroke:Pn,bgx:R,bgy:R},{keys:H}=Object;var Fn={mixins:[$],props:q(H(y),"list"),data:q(H(y),void 0),computed:{props(n,e){const t={};for(const i in n)i in y&&!s.isUndefined(n[i])&&(t[i]=n[i].slice());const r={};for(const i in t)r[i]=y[i](i,e,t[i],t);return r}},events:{load(){this.$emit()}},methods:{reset(){s.resetProps(this.$el,this.getCss(0))},getCss(n){const e={};for(const t in this.props)this.props[t](e,s.clamp(n));return e.willChange=Object.keys(e).map(s.propName).join(","),e}}};function v(n,e,t){let r=F(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",i;return n==="x"||n==="y"?(n=`translate${s.ucfirst(n)}`,i=o=>s.toFloat(s.toFloat(o).toFixed(r==="px"?0:6))):n==="scale"&&(r="",i=o=>{var a;return F([o])?s.toPx(o,"width",e,!0)/e[`offset${(a=o.endsWith)!=null&&a.call(o,"vh")?"Height":"Width"}`]:s.toFloat(o)}),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,i),(o,a)=>{o.transform=`${o.transform||""} ${n}(${b(t,a)}${r})`}}function j(n,e,t){return t.length===1&&t.unshift(p(e,n,"")),t=m(t,r=>Cn(e,r)),(r,i)=>{const[o,a,c]=L(t,i),l=o.map((h,f)=>(h+=c*(a[f]-h),f===3?s.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${l})`}}function Cn(n,e){return p(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const r=F(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(i,o)=>{const a=b(t,o);i.filter=`${i.filter||""} ${n}(${a+r})`}}function Mn(n,e,t){return t.length===1&&t.unshift(p(e,n,"")),t=m(t),(r,i)=>{r[n]=b(t,i)}}function Pn(n,e,t){t.length===1&&t.unshift(0);const r=F(t),i=Sn(e);return t=m(t.reverse(),o=>(o=s.toFloat(o),r==="%"?o*i/100:o)),t.some(([o])=>o)?(s.css(e,"strokeDasharray",i),(o,a)=>{o.strokeDashoffset=b(t,a)}):s.noop}function R(n,e,t,r){t.length===1&&t.unshift(0);const i=n==="bgy"?"height":"width";r[n]=m(t,c=>s.toPx(c,i,e));const o=["bgx","bgy"].filter(c=>c in r);if(o.length===2&&n==="bgx")return s.noop;if(p(e,"backgroundSize","")==="cover")return On(n,e,t,r);const a={};for(const c of o)a[c]=B(e,c);return V(o,a,r)}function On(n,e,t,r){const i=jn(e);if(!i.width)return s.noop;const o={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(f=>f in r),c={};for(const f of a){const u=r[f].map(([En])=>En),x=Math.min(...u),E=Math.max(...u),K=u.indexOf(x)<u.indexOf(E),X=E-x;c[f]=`${(K?-X:0)-(K?x:E)}px`,o[f==="bgy"?"height":"width"]+=X}const l=s.Dimensions.cover(i,o);for(const f of a){const u=f==="bgy"?"height":"width",x=l[u]-o[u];c[f]=`max(${B(e,f)},-${x}px) + ${c[f]}`}const h=V(a,c,r);return(f,u)=>{h(f,u),f.backgroundSize=`${l.width}px ${l.height}px`,f.backgroundRepeat="no-repeat"}}function B(n,e){return p(n,`background-position-${e.slice(-1)}`,"")}function V(n,e,t){return function(r,i){for(const o of n){const a=b(t[o],i);r[`background-position-${o.slice(-1)}`]=`calc(${e[o]} + ${a}px)`}}}const z={},S={};function jn(n){const e=s.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[e])return S[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth&&!z[e])?(s.once(t,"error load",()=>{S[e]=I(t),s.trigger(n,s.createEvent("load",!1))}),z[e]=!0,I(t)):S[e]=I(t)}function I(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=s.toFloat){const t=[],{length:r}=n;let i=0;for(let o=0;o<r;o++){let[a,c]=s.isString(n[o])?n[o].trim().split(/ (?![^(]*\))/):[n[o]];if(a=e(a),c=c?s.toFloat(c)/100:null,o===0?c===null?c=0:c&&t.push([a,0]):o===r-1&&(c===null?c=1:c!==1&&(t.push([a,c]),c=1)),t.push([a,c]),c===null)i++;else if(i){const l=t[o-i-1][1],h=(c-l)/(i+1);for(let f=i;f>0;f--)t[o-f][1]=l+h*(i-f+1);i=0}}return t}function L(n,e){const t=s.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 b(n,e){const[t,r,i]=L(n,e);return t+Math.abs(t-r)*i*(t<r?1:-1)}const In=/^-?\d+(?:\.\d+)?(\S+)?/;function F(n,e){var t;for(const r of n){const i=(t=r.match)==null?void 0:t.call(r,In);if(i)return i[1]}return e}function p(n,e,t){const r=n.style[e],i=s.css(s.css(n,e,t),e);return n.style[e]=r,i}function q(n,e){return n.reduce((t,r)=>(t[r]=e,t),{})}var Q={mixins:[Fn],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:e,duration:t,timing:r,dir:i}}){s.fastdom.read(()=>{if(!this.matchMedia)return;const o=this.getCss(J(n,i,e)),a=this.getCss(G(n)?.5:i>0?1:0);s.fastdom.write(()=>{s.css(this.$el,o),s.Transition.start(this.$el,a,t,r).catch(s.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:n})=>n,handler(){s.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:e,dir:t}}){s.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const r=this.getCss(J(n,t,e));s.fastdom.write(()=>s.css(this.$el,r))})}}]};function G(n){return s.endsWith(n,"in")}function J(n,e,t){return t/=2,G(n)^e<0?t:1-t}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshowParallax",Q),Q});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -1099,7 +1099,7 @@
1099
1099
  ariaControls = slide.id;
1100
1100
  }
1101
1101
  ariaLabel = this.t("slideX", util.toFloat(cmd) + 1);
1102
- util.attr(button, "role", "tab");
1102
+ button.role = "tab";
1103
1103
  } else {
1104
1104
  if (this.list) {
1105
1105
  if (!this.list.id) {
@@ -1109,10 +1109,8 @@
1109
1109
  }
1110
1110
  ariaLabel = this.t(cmd);
1111
1111
  }
1112
- util.attr(button, {
1113
- "aria-controls": ariaControls,
1114
- "aria-label": util.attr(button, "aria-label") || ariaLabel
1115
- });
1112
+ button.ariaControls = ariaControls;
1113
+ button.ariaLabel = button.ariaLabel || ariaLabel;
1116
1114
  }
1117
1115
  },
1118
1116
  slides(slides) {
@@ -1127,10 +1125,8 @@
1127
1125
  }
1128
1126
  },
1129
1127
  connected() {
1130
- util.attr(this.$el, {
1131
- role: this.role,
1132
- "aria-roledescription": "carousel"
1133
- });
1128
+ this.$el.role = this.role;
1129
+ this.$el.ariaRoleDescription = "carousel";
1134
1130
  },
1135
1131
  update: [
1136
1132
  {
@@ -1188,10 +1184,8 @@
1188
1184
  const active = item === index;
1189
1185
  util.toggleClass(el, this.clsActive, active);
1190
1186
  util.toggleClass(button, "uk-disabled", !!this.parallax);
1191
- util.attr(button, {
1192
- "aria-selected": active,
1193
- tabindex: active && !this.parallax ? null : -1
1194
- });
1187
+ button.ariaSelected = active;
1188
+ button.tabIndex = active && !this.parallax ? null : -1;
1195
1189
  if (active && button && util.matches(util.parent(el), ":focus-within")) {
1196
1190
  button.focus();
1197
1191
  }
@@ -1 +1 @@
1
- /*! UIkit 3.23.7-dev.1d206253d | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */(function(i,w){typeof exports=="object"&&typeof module<"u"?module.exports=w(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],w):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitSlideshow=w(i.UIkit.util))})(this,function(i){"use strict";var w={connected(){i.addClass(this.$el,this.$options.id)}};function ht(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,i.fastdom.read(()=>{t._connected&&dt(t,t._queued),t._queued=null})),t._queued.add(e.type||e))}function dt(t,e){for(const{read:n,write:s,events:a=[]}of t._updates){if(!e.has("update")&&!a.some(h=>e.has(h)))continue;let r;n&&(r=n.call(t,t._data,e),r&&i.isPlainObject(r)&&i.assign(t._data,r)),s&&r!==!1&&i.fastdom.write(()=>{t._connected&&s.call(t,t._data,e)})}}function R(t){return E(i.observeResize,t,"resize")}function ct(t){return E(i.observeIntersection,t)}function lt(t={}){return ct({handler:function(e,n){const{targets:s=this.$el,preload:a=5}=t;for(const r of i.toNodes(i.isFunction(s)?s(this):s))i.$$('[loading="lazy"]',r).slice(0,a-1).forEach(h=>i.removeAttr(h,"loading"));for(const r of e.filter(({isIntersecting:h})=>h).map(({target:h})=>h))n.unobserve(r)},...t})}function ft(t){return E((e,n)=>({disconnect:i.on(ut(e),"scroll",n,{passive:!0})}),t,"scroll")}function E(t,e,n){return{observe:t,handler(){ht(this,n)},...e}}function ut(t){return i.toNodes(t).map(e=>{const{ownerDocument:n}=e,s=i.scrollParent(e,!0);return s===n.scrollingElement?n:s})}function gt(t,e){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,e)}const{from:mt}=Array;function pt(t){return typeof t=="function"}function T(t){return t!==null&&typeof t=="object"}function vt(t){return T(t)&&t===t.window}function xt(t){return W(t)===9}function L(t){return W(t)>=1}function W(t){return!vt(t)&&T(t)&&t.nodeType}function P(t){return typeof t=="string"}function wt(t){return t===void 0}function k(t){return t&&m(t)[0]}function m(t){return L(t)?[t]:Array.from(t||[]).filter(L)}function U(t){const e=Object.create(null);return(n,...s)=>e[n]||(e[n]=t(n,...s))}function H(t,e,n){var s;if(T(e)){for(const a in e)H(t,a,e[a]);return}if(wt(n))return(s=k(t))==null?void 0:s.getAttribute(e);for(const a of m(t))pt(n)&&(n=n.call(a,H(a,e))),n===null?It(a,e):a.setAttribute(e,n)}function It(t,e){m(t).forEach(n=>n.removeAttribute(e))}const bt=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function yt(t){return m(t).some(e=>bt.call(e))}function $t(t){var e;return(e=k(t))==null?void 0:e.parentElement}function St(t,e){return m(t).filter(n=>j(n,e))}function j(t,e){return m(t).some(n=>n.matches(e))}function kt(t,e){t=k(t);const n=t?mt(t.children):[];return e?St(n,e):n}function B(t,e){return kt($t(t)).indexOf(t)}function _t(t,e){return m(Et(t,k(e),"querySelectorAll"))}const At=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Ct=/(\([^)]*\)|[^,])+/g,zt=U(t=>{let e=!1;if(!t||!P(t))return{};const n=[];for(let s of t.match(Ct))s=s.trim().replace(At,"$1 *"),e||(e=["!","+","~","-",">"].includes(s[0])),n.push(s);return{selector:n.join(","),selectors:n,isContextSelector:e}}),Nt=/(\([^)]*\)|\S)*/,q=U(t=>{t=t.slice(1).trim();const[e]=t.match(Nt);return[e,t.slice(e.length+1)]});function Et(t,e=document,n){const s=zt(t);if(!s.isContextSelector)return s.selector?M(e,n,s.selector):t;t="";const a=s.selectors.length===1;for(let r of s.selectors){let h,o=e;if(r[0]==="!"&&([h,r]=q(r),o=e.parentElement.closest(h),!r&&a)||o&&r[0]==="-"&&([h,r]=q(r),o=o.previousElementSibling,o=j(o,h)?o:null,!r&&a))return o;if(o){if(a)return r[0]==="~"||r[0]==="+"?(r=`:scope > :nth-child(${B(o)+1}) ${r}`,o=o.parentElement):r[0]===">"&&(r=`:scope ${r}`),M(o,n,r);t+=`${t?",":""}${Tt(o)} ${r}`}}return xt(e)||(e=e.ownerDocument),M(e,n,t)}function M(t,e,n){try{return t[e](n)}catch{return null}}function Tt(t){const e=[];for(;t.parentNode;){const n=H(t,"id");if(n){e.unshift(`#${Pt(n)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${B(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Pt(t){return P(t)?CSS.escape(t):""}const Ht=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Mt(t){const e=Ht.exec(t);if(e)return document.createElement(e[1]);const n=document.createElement("template");return n.innerHTML=t.trim(),Ot(n.content.childNodes)}function Ot(t){return t.length>1?t:t[0]}function Dt(t,e){return Ft(t)?m(Mt(t)):_t(t,e)}function Ft(t){return P(t)&&gt(t.trim(),"<")}function Rt(t){return yt(t)?Math.ceil(Math.max(0,...Dt("[stroke]",t).map(e=>{var n;return((n=e.getTotalLength)==null?void 0:n.call(e))||0}))):0}const V={x:_,y:_,rotate:_,scale:_,color:O,backgroundColor:O,borderColor:O,blur:p,hue:p,fopacity:p,grayscale:p,invert:p,saturate:p,sepia:p,opacity:Wt,stroke:Ut,bgx:G,bgy:G},{keys:Q}=Object;Z(Q(V),"list"),Z(Q(V),void 0);function _(t,e,n){let s=C(n)||{x:"px",y:"px",rotate:"deg"}[t]||"",a;return t==="x"||t==="y"?(t=`translate${i.ucfirst(t)}`,a=r=>i.toFloat(i.toFloat(r).toFixed(s==="px"?0:6))):t==="scale"&&(s="",a=r=>{var h;return C([r])?i.toPx(r,"width",e,!0)/e[`offset${(h=r.endsWith)!=null&&h.call(r,"vh")?"Height":"Width"}`]:i.toFloat(r)}),n.length===1&&n.unshift(t==="scale"?1:0),n=x(n,a),(r,h)=>{r.transform=`${r.transform||""} ${t}(${I(n,h)}${s})`}}function O(t,e,n){return n.length===1&&n.unshift(b(e,t,"")),n=x(n,s=>Lt(e,s)),(s,a)=>{const[r,h,o]=Y(n,a),d=r.map((u,c)=>(u+=o*(h[c]-u),c===3?i.toFloat(u):parseInt(u,10))).join(",");s[t]=`rgba(${d})`}}function Lt(t,e){return b(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function p(t,e,n){n.length===1&&n.unshift(0);const s=C(n)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,n=x(n),(a,r)=>{const h=I(n,r);a.filter=`${a.filter||""} ${t}(${h+s})`}}function Wt(t,e,n){return n.length===1&&n.unshift(b(e,t,"")),n=x(n),(s,a)=>{s[t]=I(n,a)}}function Ut(t,e,n){n.length===1&&n.unshift(0);const s=C(n),a=Rt(e);return n=x(n.reverse(),r=>(r=i.toFloat(r),s==="%"?r*a/100:r)),n.some(([r])=>r)?(i.css(e,"strokeDasharray",a),(r,h)=>{r.strokeDashoffset=I(n,h)}):i.noop}function G(t,e,n,s){n.length===1&&n.unshift(0);const a=t==="bgy"?"height":"width";s[t]=x(n,o=>i.toPx(o,a,e));const r=["bgx","bgy"].filter(o=>o in s);if(r.length===2&&t==="bgx")return i.noop;if(b(e,"backgroundSize","")==="cover")return jt(t,e,n,s);const h={};for(const o of r)h[o]=X(e,o);return J(r,h,s)}function jt(t,e,n,s){const a=Bt(e);if(!a.width)return i.noop;const r={width:e.offsetWidth,height:e.offsetHeight},h=["bgx","bgy"].filter(c=>c in s),o={};for(const c of h){const l=s[c].map(([ge])=>ge),g=Math.min(...l),S=Math.max(...l),v=l.indexOf(g)<l.indexOf(S),ot=S-g;o[c]=`${(v?-ot:0)-(v?g:S)}px`,r[c==="bgy"?"height":"width"]+=ot}const d=i.Dimensions.cover(a,r);for(const c of h){const l=c==="bgy"?"height":"width",g=d[l]-r[l];o[c]=`max(${X(e,c)},-${g}px) + ${o[c]}`}const u=J(h,o,s);return(c,l)=>{u(c,l),c.backgroundSize=`${d.width}px ${d.height}px`,c.backgroundRepeat="no-repeat"}}function X(t,e){return b(t,`background-position-${e.slice(-1)}`,"")}function J(t,e,n){return function(s,a){for(const r of t){const h=I(n[r],a);s[`background-position-${r.slice(-1)}`]=`calc(${e[r]} + ${h}px)`}}}const K={},A={};function Bt(t){const e=i.css(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(A[e])return A[e];const n=new Image;return e&&(n.src=e,!n.naturalWidth&&!K[e])?(i.once(n,"error load",()=>{A[e]=D(n),i.trigger(t,i.createEvent("load",!1))}),K[e]=!0,D(n)):A[e]=D(n)}function D(t){return{width:t.naturalWidth,height:t.naturalHeight}}function x(t,e=i.toFloat){const n=[],{length:s}=t;let a=0;for(let r=0;r<s;r++){let[h,o]=i.isString(t[r])?t[r].trim().split(/ (?![^(]*\))/):[t[r]];if(h=e(h),o=o?i.toFloat(o)/100:null,r===0?o===null?o=0:o&&n.push([h,0]):r===s-1&&(o===null?o=1:o!==1&&(n.push([h,o]),o=1)),n.push([h,o]),o===null)a++;else if(a){const d=n[r-a-1][1],u=(o-d)/(a+1);for(let c=a;c>0;c--)n[r-c][1]=d+u*(a-c+1);a=0}}return n}function Y(t,e){const n=i.findIndex(t.slice(1),([,s])=>e<=s)+1;return[t[n-1][0],t[n][0],(e-t[n-1][1])/(t[n][1]-t[n-1][1])]}function I(t,e){const[n,s,a]=Y(t,e);return n+Math.abs(n-s)*a*(n<s?1:-1)}const qt=/^-?\d+(?:\.\d+)?(\S+)?/;function C(t,e){var n;for(const s of t){const a=(n=s.match)==null?void 0:n.call(s,qt);if(a)return a[1]}return e}function b(t,e,n){const s=t.style[e],a=i.css(i.css(t,e,n),e);return t.style[e]=s,a}function Z(t,e){return t.reduce((n,s)=>(n[s]=e,n),{})}function Vt(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var Qt={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[R({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),ft({filter:({parallax:t})=>t})],computed:{parallaxTarget({parallaxTarget:t},e){return t&&i.query(t,e)||this.list}},update:{read(){if(!this.parallax)return!1;const t=this.parallaxTarget;if(!t)return!1;const e=i.toPx(this.parallaxStart,"height",t,!0),n=i.toPx(this.parallaxEnd,"height",t,!0),s=Vt(i.scrolledOver(t,e,n),this.parallaxEasing);return{parallax:this.getIndexAt(s)}},write({parallax:t}){const[e,n]=t,s=this.getValidIndex(e+Math.ceil(n)),a=this.slides[e],r=this.slides[s],{triggerShow:h,triggerShown:o,triggerHide:d,triggerHidden:u}=Gt(this);if(~this.prevIndex)for(const l of new Set([this.index,this.prevIndex]))i.includes([s,e],l)||(d(this.slides[l]),u(this.slides[l]));const c=this.prevIndex!==e||this.index!==s;this.dir=1,this.prevIndex=e,this.index=s,a!==r&&d(a),h(r),c&&o(a),this._translate(a===r?1:n,a,r)},events:["scroll","resize"]},methods:{getIndexAt(t){const e=t*(this.length-1);return[Math.floor(e),e%1]}}};function Gt(t){const{clsSlideActive:e,clsEnter:n,clsLeave:s}=t;return{triggerShow:a,triggerShown:r,triggerHide:h,triggerHidden:o};function a(d){i.hasClass(d,s)&&(h(d),o(d)),i.hasClass(d,e)||(i.trigger(d,"beforeitemshow",[t]),i.trigger(d,"itemshow",[t]))}function r(d){i.hasClass(d,n)&&i.trigger(d,"itemshown",[t])}function h(d){i.hasClass(d,e)||a(d),i.hasClass(d,n)&&r(d),i.hasClass(d,s)||(i.trigger(d,"beforeitemhide",[t]),i.trigger(d,"itemhide",[t]))}function o(d){i.hasClass(d,s)&&i.trigger(d,"itemhidden",[t])}}var Xt={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const t=this.getValidIndex();!~this.prevIndex||this.index!==t?this.show(t):this._translate(1)},events:["resize"]}},tt={slide:{show(t){return[{transform:f(t*-100)},{transform:f()}]},percent(t){return y(t)},translate(t,e){return[{transform:f(e*-100*t)},{transform:f(e*100*(1-t))}]}}};function y(t){return Math.abs(new DOMMatrix(i.css(t,"transform")).m41/t.offsetWidth)}function f(t=0,e="%"){return t?`translate3d(${t+e}, 0, 0)`:""}function Jt(t,e,n,{animation:s,easing:a}){const{percent:r,translate:h,show:o=i.noop}=s,d=o(n),{promise:u,resolve:c}=Kt();return{dir:n,show(l,g=0,S){const v=S?"linear":a;return l-=Math.round(l*i.clamp(g,-1,1)),this.translate(g),z(e,"itemin",{percent:g,duration:l,timing:v,dir:n}),z(t,"itemout",{percent:1-g,duration:l,timing:v,dir:n}),Promise.all([i.Transition.start(e,d[1],l,v),i.Transition.start(t,d[0],l,v)]).then(()=>{this.reset(),c()},i.noop),u},cancel(){return i.Transition.cancel([e,t])},reset(){i.resetProps([e,t],d[0])},async forward(l,g=this.percent()){return await this.cancel(),this.show(l,g,!0)},translate(l){this.reset();const g=h(l,n);i.css(e,g[1]),i.css(t,g[0]),z(e,"itemtranslatein",{percent:l,dir:n}),z(t,"itemtranslateout",{percent:1-l,dir:n})},percent(){return r(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function z(t,e,n){i.trigger(t,i.createEvent(e,!1,!1,n))}function Kt(){let t;return{promise:new Promise(e=>t=e),resolve:t}}var Yt={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var n,s,a;let r=0;return((a=((n=this.i18n)==null?void 0:n[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:a.replace(/%s/g,()=>e[r++]||""))||""}}},Zt={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){i.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){i.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter:({autoplay:t})=>t,handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&i.matches(this.$el,":focus-within")&&!i.matches(this.$el,":focus")||this.pauseOnHover&&i.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const N={passive:!1,capture:!0},et={passive:!0,capture:!0},te="touchstart mousedown",F="touchmove mousemove",nt="touchend touchcancel mouseup click input scroll";var ee={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const s=i.getEventPos(n).x*(i.isRtl?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(n)}}},events:[{name:te,passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){!this.draggable||this.parallax||!i.isTouch(t)&&ne(t.target)||t.target.closest(i.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:F,el:({list:t})=>t,handler:i.noop,...N}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,i.on(document,F,this.move,N),i.on(document,nt,this.end,et),i.css(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:n,prevIndex:s}=this,a=Math.abs(e),r=this.getIndex(s+this.dir),h=it.call(this,s,r);for(;r!==s&&a>h;)this.drag-=h*this.dir,s=r,a-=h,r=this.getIndex(s+this.dir),h=it.call(this,s,r);this.percent=a/h;const o=n[s],d=n[r],u=this.index!==r,c=s===r;let l;for(const g of[this.index,this.prevIndex])i.includes([r,s],g)||(i.trigger(n[g],"itemhidden",[this]),c&&(l=!0,this.prevIndex=s));(this.index===s&&this.prevIndex!==s||l)&&i.trigger(n[this.index],"itemshown",[this]),u&&(this.prevIndex=s,this.index=r,c||(i.trigger(o,"beforeitemhide",[this]),i.trigger(o,"itemhide",[this])),i.trigger(d,"beforeitemshow",[this]),i.trigger(d,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),o,!c&&d)},end(){if(i.off(document,F,this.move,N),i.off(document,nt,this.end,et),this.dragging)if(setTimeout(i.on(this.list,"click",t=>t.preventDefault(),N)),this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(i.isRtl?this.dir*(i.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(i.trigger(this.slides[this.prevIndex],"itemhidden",[this]),i.trigger(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}i.css(this.list,{userSelect:""}),this.drag=this.percent=null}}};function it(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function ne(t){return i.css(t,"userSelect")!=="none"&&i.toArray(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}i.memoize((t,e)=>{const n=Object.keys(e),s=n.concat(t).map(a=>[i.hyphenate(a),`data-${i.hyphenate(a)}`]).flat();return{attributes:n,filter:s}});let ie=1;function st(t,e=null){return(e==null?void 0:e.id)||`${t.$options.id}-${ie++}`}const $={SPACE:32,END:35,HOME:36,LEFT:37,RIGHT:39};function se(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault()}var re={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>i.$(t,e),navChildren(){return i.children(this.nav)},selNavItem:({attrItem:t})=>`[${t}],[data-${t}]`,navItems(t,e){return i.$$(this.selNavItem,e)}},watch:{nav(t,e){i.attr(t,"role","tablist"),this.padNavitems(),e&&this.$emit()},list(t){i.isTag(t,"ul")&&i.attr(t,"role","presentation")},navChildren(t){i.attr(t,"role","presentation"),this.padNavitems(),this.updateNav()},navItems(t){for(const e of t){const n=i.data(e,this.attrItem),s=i.$("a,button",e)||e;let a,r=null;if(i.isNumeric(n)){const h=i.toNumber(n),o=this.slides[h];o&&(o.id||(o.id=st(this,o)),r=o.id),a=this.t("slideX",i.toFloat(n)+1),i.attr(s,"role","tab")}else this.list&&(this.list.id||(this.list.id=st(this,this.list)),r=this.list.id),a=this.t(n);i.attr(s,{"aria-controls":r,"aria-label":i.attr(s,"aria-label")||a})}},slides(t){t.forEach((e,n)=>i.attr(e,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",n+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.padNavitems()}},connected(){i.attr(this.$el,{role:this.role,"aria-roledescription":"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){t.target.closest("a,button")&&(t.type==="click"||t.keyCode===$.SPACE)&&(se(t),this.show(i.data(t.current,this.attrItem)))}},{name:"itemshow",handler(){this.updateNav()}},{name:"keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){const{current:e,keyCode:n}=t,s=i.data(e,this.attrItem);if(!i.isNumeric(s))return;let a=n===$.HOME?0:n===$.END?"last":n===$.LEFT?"previous":n===$.RIGHT?"next":-1;~a&&(t.preventDefault(),this.show(a))}}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const n=i.data(e,this.attrItem),s=i.$("a,button",e)||e;if(i.isNumeric(n)){const r=i.toNumber(n)===t;i.toggleClass(e,this.clsActive,r),i.toggleClass(s,"uk-disabled",!!this.parallax),i.attr(s,{"aria-selected":r,tabindex:r&&!this.parallax?null:-1}),r&&s&&i.matches(i.parent(e),":focus-within")&&s.focus()}else i.toggleClass(e,"uk-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex))}},padNavitems(){if(!this.nav)return;const t=[];for(let e=0;e<this.length;e++){const n=`${this.attrItem}="${e}"`;t[e]=this.navChildren.findLast(s=>s.matches(`[${n}]`))||i.$(`<li ${n}><a href></a></li>`)}i.isEqual(t,this.navChildren)||i.html(this.nav,t)}}};const ae="cubic-bezier(0.25, 0.46, 0.45, 0.94)",oe="cubic-bezier(0.165, 0.84, 0.44, 1)";var he={mixins:[Zt,ee,re,Yt],props:{clsActivated:String,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:"",clsEnter:"uk-slide-enter",clsLeave:"uk-slide-leave",clsSlideActive:"uk-slide-active",Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){i.removeClass(this.slides,this.clsActive)},computed:{duration:({velocity:t},e)=>ce(e.offsetWidth/t),list:({selList:t},e)=>i.$(t,e),maxIndex(){return this.length-1},slides(){return i.children(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},events:{itemshow({target:t}){i.addClass(t,this.clsEnter,this.clsSlideActive)},itemshown({target:t}){i.removeClass(t,this.clsEnter)},itemhide({target:t}){i.addClass(t,this.clsLeave)},itemhidden({target:t}){i.removeClass(t,this.clsLeave,this.clsSlideActive)}},methods:{async show(t,e=!1){var n;if(this.dragging||!this.length||this.parallax)return;const{stack:s}=this,a=e?0:s.length,r=()=>{s.splice(a,1),s.length&&this.show(s.shift(),!0)};if(s[e?"unshift":"push"](t),!e&&s.length>1){s.length===2&&((n=this._transitioner)==null||n.forward(Math.min(this.duration,200)));return}const h=this.getIndex(this.index),o=i.hasClass(this.slides,this.clsActive)&&this.slides[h],d=this.getIndex(t,this.index),u=this.slides[d];if(o===u){r();return}if(this.dir=de(t,h),this.prevIndex=h,this.index=d,o&&!i.trigger(o,"beforeitemhide",[this])||!i.trigger(u,"beforeitemshow",[this,o])){this.index=this.prevIndex,r();return}o&&i.trigger(o,"itemhide",[this]),i.trigger(u,"itemshow",[this]),await this._show(o,u,e),o&&i.trigger(o,"itemhidden",[this]),i.trigger(u,"itemshown",[this]),s.shift(),this._transitioner=null,s.length&&requestAnimationFrame(()=>s.length&&this.show(s.shift(),!0))},getIndex(t=this.index,e=this.index){return i.clamp(i.getIndex(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},async _show(t,e,n){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:n?e.offsetWidth<600?ae:oe:this.easing,...this.transitionOptions}),!n&&!t){this._translate(1);return}const{length:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_translate(t,e=this.prevIndex,n=this.index){const s=this._getTransitioner(e===n?!1:e,n);return s.translate(t),s},_getTransitioner(t=this.prevIndex,e=this.index,n=this.dir||1,s=this.transitionOptions){return new this.Transitioner(i.isNumber(t)?this.slides[t]:t,i.isNumber(e)?this.slides[e]:e,n*(i.isRtl?-1:1),s)}}};function de(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function ce(t){return .5*t+300}var le={mixins:[he],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:tt,Transitioner:Jt},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},observe:R(),events:{itemshow({target:t}){i.addClass(t,this.clsActive)},itemshown({target:t}){i.addClass(t,this.clsActivated)},itemhidden({target:t}){i.removeClass(t,this.clsActive,this.clsActivated)}}},fe={observe:lt({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},ue={...tt,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-i.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:rt(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-i.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:rt(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:f(30),zIndex:-1},{transform:f(),zIndex:0}]:[{transform:f(-100),zIndex:0},{transform:f(),zIndex:-1}]},percent(t,e,n){return n<0?1-y(e):y(t)},translate(t,e){return e<0?[{transform:f(30*t),zIndex:-1},{transform:f(-100*(1-t)),zIndex:0}]:[{transform:f(-t*100),zIndex:0},{transform:f(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:f(100),zIndex:0},{transform:f(),zIndex:-1}]:[{transform:f(-30),zIndex:-1},{transform:f(),zIndex:0}]},percent(t,e,n){return n>0?1-y(e):y(t)},translate(t,e){return e<0?[{transform:f(t*100),zIndex:0},{transform:f(-30*(1-t)),zIndex:-1}]:[{transform:f(-30*t),zIndex:-1},{transform:f(100*(1-t)),zIndex:0}]}}};function rt(t){return`scale3d(${t}, ${t}, 1)`}var at={mixins:[w,le,Xt,Qt,fe],props:{ratio:String,minHeight:String,maxHeight:String},data:{ratio:"16:9",minHeight:void 0,maxHeight:void 0,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:ue},watch:{list(t){i.css(t,{aspectRatio:this.ratio?this.ratio.replace(":","/"):void 0,minHeight:this.minHeight,maxHeight:this.maxHeight,width:"100%"})}},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshow",at),at});
1
+ /*! UIkit 3.23.7-dev.ea33b1a06 | https://www.getuikit.com | (c) 2014 - 2025 YOOtheme | MIT License */(function(i,w){typeof exports=="object"&&typeof module<"u"?module.exports=w(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],w):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitSlideshow=w(i.UIkit.util))})(this,function(i){"use strict";var w={connected(){i.addClass(this.$el,this.$options.id)}};function ht(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,i.fastdom.read(()=>{t._connected&&dt(t,t._queued),t._queued=null})),t._queued.add(e.type||e))}function dt(t,e){for(const{read:n,write:s,events:a=[]}of t._updates){if(!e.has("update")&&!a.some(h=>e.has(h)))continue;let r;n&&(r=n.call(t,t._data,e),r&&i.isPlainObject(r)&&i.assign(t._data,r)),s&&r!==!1&&i.fastdom.write(()=>{t._connected&&s.call(t,t._data,e)})}}function R(t){return E(i.observeResize,t,"resize")}function ct(t){return E(i.observeIntersection,t)}function lt(t={}){return ct({handler:function(e,n){const{targets:s=this.$el,preload:a=5}=t;for(const r of i.toNodes(i.isFunction(s)?s(this):s))i.$$('[loading="lazy"]',r).slice(0,a-1).forEach(h=>i.removeAttr(h,"loading"));for(const r of e.filter(({isIntersecting:h})=>h).map(({target:h})=>h))n.unobserve(r)},...t})}function ft(t){return E((e,n)=>({disconnect:i.on(ut(e),"scroll",n,{passive:!0})}),t,"scroll")}function E(t,e,n){return{observe:t,handler(){ht(this,n)},...e}}function ut(t){return i.toNodes(t).map(e=>{const{ownerDocument:n}=e,s=i.scrollParent(e,!0);return s===n.scrollingElement?n:s})}function gt(t,e){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,e)}const{from:mt}=Array;function pt(t){return typeof t=="function"}function T(t){return t!==null&&typeof t=="object"}function vt(t){return T(t)&&t===t.window}function xt(t){return W(t)===9}function L(t){return W(t)>=1}function W(t){return!vt(t)&&T(t)&&t.nodeType}function P(t){return typeof t=="string"}function wt(t){return t===void 0}function k(t){return t&&m(t)[0]}function m(t){return L(t)?[t]:Array.from(t||[]).filter(L)}function U(t){const e=Object.create(null);return(n,...s)=>e[n]||(e[n]=t(n,...s))}function H(t,e,n){var s;if(T(e)){for(const a in e)H(t,a,e[a]);return}if(wt(n))return(s=k(t))==null?void 0:s.getAttribute(e);for(const a of m(t))pt(n)&&(n=n.call(a,H(a,e))),n===null?It(a,e):a.setAttribute(e,n)}function It(t,e){m(t).forEach(n=>n.removeAttribute(e))}const bt=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function yt(t){return m(t).some(e=>bt.call(e))}function $t(t){var e;return(e=k(t))==null?void 0:e.parentElement}function St(t,e){return m(t).filter(n=>j(n,e))}function j(t,e){return m(t).some(n=>n.matches(e))}function kt(t,e){t=k(t);const n=t?mt(t.children):[];return e?St(n,e):n}function B(t,e){return kt($t(t)).indexOf(t)}function _t(t,e){return m(Et(t,k(e),"querySelectorAll"))}const At=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Ct=/(\([^)]*\)|[^,])+/g,zt=U(t=>{let e=!1;if(!t||!P(t))return{};const n=[];for(let s of t.match(Ct))s=s.trim().replace(At,"$1 *"),e||(e=["!","+","~","-",">"].includes(s[0])),n.push(s);return{selector:n.join(","),selectors:n,isContextSelector:e}}),Nt=/(\([^)]*\)|\S)*/,q=U(t=>{t=t.slice(1).trim();const[e]=t.match(Nt);return[e,t.slice(e.length+1)]});function Et(t,e=document,n){const s=zt(t);if(!s.isContextSelector)return s.selector?M(e,n,s.selector):t;t="";const a=s.selectors.length===1;for(let r of s.selectors){let h,o=e;if(r[0]==="!"&&([h,r]=q(r),o=e.parentElement.closest(h),!r&&a)||o&&r[0]==="-"&&([h,r]=q(r),o=o.previousElementSibling,o=j(o,h)?o:null,!r&&a))return o;if(o){if(a)return r[0]==="~"||r[0]==="+"?(r=`:scope > :nth-child(${B(o)+1}) ${r}`,o=o.parentElement):r[0]===">"&&(r=`:scope ${r}`),M(o,n,r);t+=`${t?",":""}${Tt(o)} ${r}`}}return xt(e)||(e=e.ownerDocument),M(e,n,t)}function M(t,e,n){try{return t[e](n)}catch{return null}}function Tt(t){const e=[];for(;t.parentNode;){const n=H(t,"id");if(n){e.unshift(`#${Pt(n)}`);break}else{let{tagName:s}=t;s!=="HTML"&&(s+=`:nth-child(${B(t)+1})`),e.unshift(s),t=t.parentNode}}return e.join(" > ")}function Pt(t){return P(t)?CSS.escape(t):""}const Ht=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Mt(t){const e=Ht.exec(t);if(e)return document.createElement(e[1]);const n=document.createElement("template");return n.innerHTML=t.trim(),Dt(n.content.childNodes)}function Dt(t){return t.length>1?t:t[0]}function Ot(t,e){return Ft(t)?m(Mt(t)):_t(t,e)}function Ft(t){return P(t)&&gt(t.trim(),"<")}function Rt(t){return yt(t)?Math.ceil(Math.max(0,...Ot("[stroke]",t).map(e=>{var n;return((n=e.getTotalLength)==null?void 0:n.call(e))||0}))):0}const V={x:_,y:_,rotate:_,scale:_,color:D,backgroundColor:D,borderColor:D,blur:p,hue:p,fopacity:p,grayscale:p,invert:p,saturate:p,sepia:p,opacity:Wt,stroke:Ut,bgx:G,bgy:G},{keys:Q}=Object;Z(Q(V),"list"),Z(Q(V),void 0);function _(t,e,n){let s=C(n)||{x:"px",y:"px",rotate:"deg"}[t]||"",a;return t==="x"||t==="y"?(t=`translate${i.ucfirst(t)}`,a=r=>i.toFloat(i.toFloat(r).toFixed(s==="px"?0:6))):t==="scale"&&(s="",a=r=>{var h;return C([r])?i.toPx(r,"width",e,!0)/e[`offset${(h=r.endsWith)!=null&&h.call(r,"vh")?"Height":"Width"}`]:i.toFloat(r)}),n.length===1&&n.unshift(t==="scale"?1:0),n=x(n,a),(r,h)=>{r.transform=`${r.transform||""} ${t}(${I(n,h)}${s})`}}function D(t,e,n){return n.length===1&&n.unshift(b(e,t,"")),n=x(n,s=>Lt(e,s)),(s,a)=>{const[r,h,o]=Y(n,a),d=r.map((u,c)=>(u+=o*(h[c]-u),c===3?i.toFloat(u):parseInt(u,10))).join(",");s[t]=`rgba(${d})`}}function Lt(t,e){return b(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function p(t,e,n){n.length===1&&n.unshift(0);const s=C(n)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,n=x(n),(a,r)=>{const h=I(n,r);a.filter=`${a.filter||""} ${t}(${h+s})`}}function Wt(t,e,n){return n.length===1&&n.unshift(b(e,t,"")),n=x(n),(s,a)=>{s[t]=I(n,a)}}function Ut(t,e,n){n.length===1&&n.unshift(0);const s=C(n),a=Rt(e);return n=x(n.reverse(),r=>(r=i.toFloat(r),s==="%"?r*a/100:r)),n.some(([r])=>r)?(i.css(e,"strokeDasharray",a),(r,h)=>{r.strokeDashoffset=I(n,h)}):i.noop}function G(t,e,n,s){n.length===1&&n.unshift(0);const a=t==="bgy"?"height":"width";s[t]=x(n,o=>i.toPx(o,a,e));const r=["bgx","bgy"].filter(o=>o in s);if(r.length===2&&t==="bgx")return i.noop;if(b(e,"backgroundSize","")==="cover")return jt(t,e,n,s);const h={};for(const o of r)h[o]=X(e,o);return J(r,h,s)}function jt(t,e,n,s){const a=Bt(e);if(!a.width)return i.noop;const r={width:e.offsetWidth,height:e.offsetHeight},h=["bgx","bgy"].filter(c=>c in s),o={};for(const c of h){const l=s[c].map(([ge])=>ge),g=Math.min(...l),S=Math.max(...l),v=l.indexOf(g)<l.indexOf(S),ot=S-g;o[c]=`${(v?-ot:0)-(v?g:S)}px`,r[c==="bgy"?"height":"width"]+=ot}const d=i.Dimensions.cover(a,r);for(const c of h){const l=c==="bgy"?"height":"width",g=d[l]-r[l];o[c]=`max(${X(e,c)},-${g}px) + ${o[c]}`}const u=J(h,o,s);return(c,l)=>{u(c,l),c.backgroundSize=`${d.width}px ${d.height}px`,c.backgroundRepeat="no-repeat"}}function X(t,e){return b(t,`background-position-${e.slice(-1)}`,"")}function J(t,e,n){return function(s,a){for(const r of t){const h=I(n[r],a);s[`background-position-${r.slice(-1)}`]=`calc(${e[r]} + ${h}px)`}}}const K={},A={};function Bt(t){const e=i.css(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(A[e])return A[e];const n=new Image;return e&&(n.src=e,!n.naturalWidth&&!K[e])?(i.once(n,"error load",()=>{A[e]=O(n),i.trigger(t,i.createEvent("load",!1))}),K[e]=!0,O(n)):A[e]=O(n)}function O(t){return{width:t.naturalWidth,height:t.naturalHeight}}function x(t,e=i.toFloat){const n=[],{length:s}=t;let a=0;for(let r=0;r<s;r++){let[h,o]=i.isString(t[r])?t[r].trim().split(/ (?![^(]*\))/):[t[r]];if(h=e(h),o=o?i.toFloat(o)/100:null,r===0?o===null?o=0:o&&n.push([h,0]):r===s-1&&(o===null?o=1:o!==1&&(n.push([h,o]),o=1)),n.push([h,o]),o===null)a++;else if(a){const d=n[r-a-1][1],u=(o-d)/(a+1);for(let c=a;c>0;c--)n[r-c][1]=d+u*(a-c+1);a=0}}return n}function Y(t,e){const n=i.findIndex(t.slice(1),([,s])=>e<=s)+1;return[t[n-1][0],t[n][0],(e-t[n-1][1])/(t[n][1]-t[n-1][1])]}function I(t,e){const[n,s,a]=Y(t,e);return n+Math.abs(n-s)*a*(n<s?1:-1)}const qt=/^-?\d+(?:\.\d+)?(\S+)?/;function C(t,e){var n;for(const s of t){const a=(n=s.match)==null?void 0:n.call(s,qt);if(a)return a[1]}return e}function b(t,e,n){const s=t.style[e],a=i.css(i.css(t,e,n),e);return t.style[e]=s,a}function Z(t,e){return t.reduce((n,s)=>(n[s]=e,n),{})}function Vt(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var Qt={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[R({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),ft({filter:({parallax:t})=>t})],computed:{parallaxTarget({parallaxTarget:t},e){return t&&i.query(t,e)||this.list}},update:{read(){if(!this.parallax)return!1;const t=this.parallaxTarget;if(!t)return!1;const e=i.toPx(this.parallaxStart,"height",t,!0),n=i.toPx(this.parallaxEnd,"height",t,!0),s=Vt(i.scrolledOver(t,e,n),this.parallaxEasing);return{parallax:this.getIndexAt(s)}},write({parallax:t}){const[e,n]=t,s=this.getValidIndex(e+Math.ceil(n)),a=this.slides[e],r=this.slides[s],{triggerShow:h,triggerShown:o,triggerHide:d,triggerHidden:u}=Gt(this);if(~this.prevIndex)for(const l of new Set([this.index,this.prevIndex]))i.includes([s,e],l)||(d(this.slides[l]),u(this.slides[l]));const c=this.prevIndex!==e||this.index!==s;this.dir=1,this.prevIndex=e,this.index=s,a!==r&&d(a),h(r),c&&o(a),this._translate(a===r?1:n,a,r)},events:["scroll","resize"]},methods:{getIndexAt(t){const e=t*(this.length-1);return[Math.floor(e),e%1]}}};function Gt(t){const{clsSlideActive:e,clsEnter:n,clsLeave:s}=t;return{triggerShow:a,triggerShown:r,triggerHide:h,triggerHidden:o};function a(d){i.hasClass(d,s)&&(h(d),o(d)),i.hasClass(d,e)||(i.trigger(d,"beforeitemshow",[t]),i.trigger(d,"itemshow",[t]))}function r(d){i.hasClass(d,n)&&i.trigger(d,"itemshown",[t])}function h(d){i.hasClass(d,e)||a(d),i.hasClass(d,n)&&r(d),i.hasClass(d,s)||(i.trigger(d,"beforeitemhide",[t]),i.trigger(d,"itemhide",[t]))}function o(d){i.hasClass(d,s)&&i.trigger(d,"itemhidden",[t])}}var Xt={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const t=this.getValidIndex();!~this.prevIndex||this.index!==t?this.show(t):this._translate(1)},events:["resize"]}},tt={slide:{show(t){return[{transform:f(t*-100)},{transform:f()}]},percent(t){return y(t)},translate(t,e){return[{transform:f(e*-100*t)},{transform:f(e*100*(1-t))}]}}};function y(t){return Math.abs(new DOMMatrix(i.css(t,"transform")).m41/t.offsetWidth)}function f(t=0,e="%"){return t?`translate3d(${t+e}, 0, 0)`:""}function Jt(t,e,n,{animation:s,easing:a}){const{percent:r,translate:h,show:o=i.noop}=s,d=o(n),{promise:u,resolve:c}=Kt();return{dir:n,show(l,g=0,S){const v=S?"linear":a;return l-=Math.round(l*i.clamp(g,-1,1)),this.translate(g),z(e,"itemin",{percent:g,duration:l,timing:v,dir:n}),z(t,"itemout",{percent:1-g,duration:l,timing:v,dir:n}),Promise.all([i.Transition.start(e,d[1],l,v),i.Transition.start(t,d[0],l,v)]).then(()=>{this.reset(),c()},i.noop),u},cancel(){return i.Transition.cancel([e,t])},reset(){i.resetProps([e,t],d[0])},async forward(l,g=this.percent()){return await this.cancel(),this.show(l,g,!0)},translate(l){this.reset();const g=h(l,n);i.css(e,g[1]),i.css(t,g[0]),z(e,"itemtranslatein",{percent:l,dir:n}),z(t,"itemtranslateout",{percent:1-l,dir:n})},percent(){return r(t||e,e,n)},getDistance(){return t==null?void 0:t.offsetWidth}}}function z(t,e,n){i.trigger(t,i.createEvent(e,!1,!1,n))}function Kt(){let t;return{promise:new Promise(e=>t=e),resolve:t}}var Yt={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var n,s,a;let r=0;return((a=((n=this.i18n)==null?void 0:n[t])||((s=this.$options.i18n)==null?void 0:s[t]))==null?void 0:a.replace(/%s/g,()=>e[r++]||""))||""}}},Zt={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){i.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){i.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter:({autoplay:t})=>t,handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&i.matches(this.$el,":focus-within")&&!i.matches(this.$el,":focus")||this.pauseOnHover&&i.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const N={passive:!1,capture:!0},et={passive:!0,capture:!0},te="touchstart mousedown",F="touchmove mousemove",nt="touchend touchcancel mouseup click input scroll";var ee={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=n=>{const s=i.getEventPos(n).x*(i.isRtl?-1:1);this.prevPos=s===this.pos?this.prevPos:this.pos,this.pos=s,e(n)}}},events:[{name:te,passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){!this.draggable||this.parallax||!i.isTouch(t)&&ne(t.target)||t.target.closest(i.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:F,el:({list:t})=>t,handler:i.noop,...N}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,i.on(document,F,this.move,N),i.on(document,nt,this.end,et),i.css(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:n,prevIndex:s}=this,a=Math.abs(e),r=this.getIndex(s+this.dir),h=it.call(this,s,r);for(;r!==s&&a>h;)this.drag-=h*this.dir,s=r,a-=h,r=this.getIndex(s+this.dir),h=it.call(this,s,r);this.percent=a/h;const o=n[s],d=n[r],u=this.index!==r,c=s===r;let l;for(const g of[this.index,this.prevIndex])i.includes([r,s],g)||(i.trigger(n[g],"itemhidden",[this]),c&&(l=!0,this.prevIndex=s));(this.index===s&&this.prevIndex!==s||l)&&i.trigger(n[this.index],"itemshown",[this]),u&&(this.prevIndex=s,this.index=r,c||(i.trigger(o,"beforeitemhide",[this]),i.trigger(o,"itemhide",[this])),i.trigger(d,"beforeitemshow",[this]),i.trigger(d,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),o,!c&&d)},end(){if(i.off(document,F,this.move,N),i.off(document,nt,this.end,et),this.dragging)if(setTimeout(i.on(this.list,"click",t=>t.preventDefault(),N)),this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(i.isRtl?this.dir*(i.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(i.trigger(this.slides[this.prevIndex],"itemhidden",[this]),i.trigger(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}i.css(this.list,{userSelect:""}),this.drag=this.percent=null}}};function it(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function ne(t){return i.css(t,"userSelect")!=="none"&&i.toArray(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}i.memoize((t,e)=>{const n=Object.keys(e),s=n.concat(t).map(a=>[i.hyphenate(a),`data-${i.hyphenate(a)}`]).flat();return{attributes:n,filter:s}});let ie=1;function st(t,e=null){return(e==null?void 0:e.id)||`${t.$options.id}-${ie++}`}const $={SPACE:32,END:35,HOME:36,LEFT:37,RIGHT:39};function se(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault()}var re={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>i.$(t,e),navChildren(){return i.children(this.nav)},selNavItem:({attrItem:t})=>`[${t}],[data-${t}]`,navItems(t,e){return i.$$(this.selNavItem,e)}},watch:{nav(t,e){i.attr(t,"role","tablist"),this.padNavitems(),e&&this.$emit()},list(t){i.isTag(t,"ul")&&i.attr(t,"role","presentation")},navChildren(t){i.attr(t,"role","presentation"),this.padNavitems(),this.updateNav()},navItems(t){for(const e of t){const n=i.data(e,this.attrItem),s=i.$("a,button",e)||e;let a,r=null;if(i.isNumeric(n)){const h=i.toNumber(n),o=this.slides[h];o&&(o.id||(o.id=st(this,o)),r=o.id),a=this.t("slideX",i.toFloat(n)+1),s.role="tab"}else this.list&&(this.list.id||(this.list.id=st(this,this.list)),r=this.list.id),a=this.t(n);s.ariaControls=r,s.ariaLabel=s.ariaLabel||a}},slides(t){t.forEach((e,n)=>i.attr(e,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",n+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.padNavitems()}},connected(){this.$el.role=this.role,this.$el.ariaRoleDescription="carousel"},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){t.target.closest("a,button")&&(t.type==="click"||t.keyCode===$.SPACE)&&(se(t),this.show(i.data(t.current,this.attrItem)))}},{name:"itemshow",handler(){this.updateNav()}},{name:"keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){const{current:e,keyCode:n}=t,s=i.data(e,this.attrItem);if(!i.isNumeric(s))return;let a=n===$.HOME?0:n===$.END?"last":n===$.LEFT?"previous":n===$.RIGHT?"next":-1;~a&&(t.preventDefault(),this.show(a))}}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const n=i.data(e,this.attrItem),s=i.$("a,button",e)||e;if(i.isNumeric(n)){const r=i.toNumber(n)===t;i.toggleClass(e,this.clsActive,r),i.toggleClass(s,"uk-disabled",!!this.parallax),s.ariaSelected=r,s.tabIndex=r&&!this.parallax?null:-1,r&&s&&i.matches(i.parent(e),":focus-within")&&s.focus()}else i.toggleClass(e,"uk-invisible",this.finite&&(n==="previous"&&t===0||n==="next"&&t>=this.maxIndex))}},padNavitems(){if(!this.nav)return;const t=[];for(let e=0;e<this.length;e++){const n=`${this.attrItem}="${e}"`;t[e]=this.navChildren.findLast(s=>s.matches(`[${n}]`))||i.$(`<li ${n}><a href></a></li>`)}i.isEqual(t,this.navChildren)||i.html(this.nav,t)}}};const ae="cubic-bezier(0.25, 0.46, 0.45, 0.94)",oe="cubic-bezier(0.165, 0.84, 0.44, 1)";var he={mixins:[Zt,ee,re,Yt],props:{clsActivated:String,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:"",clsEnter:"uk-slide-enter",clsLeave:"uk-slide-leave",clsSlideActive:"uk-slide-active",Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){i.removeClass(this.slides,this.clsActive)},computed:{duration:({velocity:t},e)=>ce(e.offsetWidth/t),list:({selList:t},e)=>i.$(t,e),maxIndex(){return this.length-1},slides(){return i.children(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},events:{itemshow({target:t}){i.addClass(t,this.clsEnter,this.clsSlideActive)},itemshown({target:t}){i.removeClass(t,this.clsEnter)},itemhide({target:t}){i.addClass(t,this.clsLeave)},itemhidden({target:t}){i.removeClass(t,this.clsLeave,this.clsSlideActive)}},methods:{async show(t,e=!1){var n;if(this.dragging||!this.length||this.parallax)return;const{stack:s}=this,a=e?0:s.length,r=()=>{s.splice(a,1),s.length&&this.show(s.shift(),!0)};if(s[e?"unshift":"push"](t),!e&&s.length>1){s.length===2&&((n=this._transitioner)==null||n.forward(Math.min(this.duration,200)));return}const h=this.getIndex(this.index),o=i.hasClass(this.slides,this.clsActive)&&this.slides[h],d=this.getIndex(t,this.index),u=this.slides[d];if(o===u){r();return}if(this.dir=de(t,h),this.prevIndex=h,this.index=d,o&&!i.trigger(o,"beforeitemhide",[this])||!i.trigger(u,"beforeitemshow",[this,o])){this.index=this.prevIndex,r();return}o&&i.trigger(o,"itemhide",[this]),i.trigger(u,"itemshow",[this]),await this._show(o,u,e),o&&i.trigger(o,"itemhidden",[this]),i.trigger(u,"itemshown",[this]),s.shift(),this._transitioner=null,s.length&&requestAnimationFrame(()=>s.length&&this.show(s.shift(),!0))},getIndex(t=this.index,e=this.index){return i.clamp(i.getIndex(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},async _show(t,e,n){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:n?e.offsetWidth<600?ae:oe:this.easing,...this.transitionOptions}),!n&&!t){this._translate(1);return}const{length:s}=this.stack;return this._transitioner[s>1?"forward":"show"](s>1?Math.min(this.duration,75+75/(s-1)):this.duration,this.percent)},_translate(t,e=this.prevIndex,n=this.index){const s=this._getTransitioner(e===n?!1:e,n);return s.translate(t),s},_getTransitioner(t=this.prevIndex,e=this.index,n=this.dir||1,s=this.transitionOptions){return new this.Transitioner(i.isNumber(t)?this.slides[t]:t,i.isNumber(e)?this.slides[e]:e,n*(i.isRtl?-1:1),s)}}};function de(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function ce(t){return .5*t+300}var le={mixins:[he],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:tt,Transitioner:Jt},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},observe:R(),events:{itemshow({target:t}){i.addClass(t,this.clsActive)},itemshown({target:t}){i.addClass(t,this.clsActivated)},itemhidden({target:t}){i.removeClass(t,this.clsActive,this.clsActivated)}}},fe={observe:lt({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},ue={...tt,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-i.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:rt(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-i.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:rt(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:f(30),zIndex:-1},{transform:f(),zIndex:0}]:[{transform:f(-100),zIndex:0},{transform:f(),zIndex:-1}]},percent(t,e,n){return n<0?1-y(e):y(t)},translate(t,e){return e<0?[{transform:f(30*t),zIndex:-1},{transform:f(-100*(1-t)),zIndex:0}]:[{transform:f(-t*100),zIndex:0},{transform:f(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:f(100),zIndex:0},{transform:f(),zIndex:-1}]:[{transform:f(-30),zIndex:-1},{transform:f(),zIndex:0}]},percent(t,e,n){return n>0?1-y(e):y(t)},translate(t,e){return e<0?[{transform:f(t*100),zIndex:0},{transform:f(-30*(1-t)),zIndex:-1}]:[{transform:f(-30*t),zIndex:-1},{transform:f(100*(1-t)),zIndex:0}]}}};function rt(t){return`scale3d(${t}, ${t}, 1)`}var at={mixins:[w,le,Xt,Qt,fe],props:{ratio:String,minHeight:String,maxHeight:String},data:{ratio:"16:9",minHeight:void 0,maxHeight:void 0,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:ue},watch:{list(t){i.css(t,{aspectRatio:this.ratio?this.ratio.replace(":","/"):void 0,minHeight:this.minHeight,maxHeight:this.maxHeight,width:"100%"})}},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshow",at),at});