uikit 3.25.29-dev.e02d266 → 3.25.29-dev.f3e1c53

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 (63) hide show
  1. package/CHANGELOG.md +22 -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 +1 -1
  11. package/dist/js/components/countdown.min.js +1 -1
  12. package/dist/js/components/filter.js +12 -11
  13. package/dist/js/components/filter.min.js +1 -1
  14. package/dist/js/components/lightbox-panel.js +23 -18
  15. package/dist/js/components/lightbox-panel.min.js +1 -1
  16. package/dist/js/components/lightbox.js +23 -18
  17. package/dist/js/components/lightbox.min.js +1 -1
  18. package/dist/js/components/notification.js +5 -2
  19. package/dist/js/components/notification.min.js +1 -1
  20. package/dist/js/components/parallax.js +10 -9
  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 -10
  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 +11 -10
  29. package/dist/js/components/slideshow.min.js +1 -1
  30. package/dist/js/components/sortable.js +11 -10
  31. package/dist/js/components/sortable.min.js +1 -1
  32. package/dist/js/components/tooltip.js +1 -1
  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 +71 -77
  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 +71 -77
  41. package/dist/js/uikit.min.js +1 -1
  42. package/package.json +1 -1
  43. package/src/js/api/computed.js +1 -1
  44. package/src/js/api/observables.js +5 -4
  45. package/src/js/api/observer.js +3 -4
  46. package/src/js/api/update.js +10 -9
  47. package/src/js/core/alert.js +6 -3
  48. package/src/js/core/drop.js +4 -4
  49. package/src/js/core/dropnav.js +1 -1
  50. package/src/js/core/grid.js +1 -1
  51. package/src/js/core/icon.js +6 -12
  52. package/src/js/core/img.js +3 -3
  53. package/src/js/core/inverse.js +4 -2
  54. package/src/js/core/margin.js +1 -1
  55. package/src/js/core/modal.js +1 -1
  56. package/src/js/core/overflow-fade.js +6 -2
  57. package/src/js/core/switcher.js +1 -0
  58. package/src/js/core/toggle.js +0 -2
  59. package/src/js/mixin/event.js +4 -1
  60. package/src/js/util/lang.js +8 -33
  61. package/src/js/util/scroll.js +14 -9
  62. package/tests/alert.html +2 -2
  63. package/tests/overflow-fade.test.mjs +69 -0
@@ -1 +1 @@
1
- /*! UIkit 3.25.29-dev.e02d266 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(s,w){typeof exports=="object"&&typeof module<"u"?module.exports=w(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitlightbox",["uikit-util"],w):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitLightbox=w(s.UIkit.util))})(this,(function(s){"use strict";function w(t,e=[]){try{return t?s.startsWith(t,"{")?JSON.parse(t):e.length&&!s.includes(t,":")?{[e[0]]:t}:t.split(";").reduce((i,n)=>{const[r,o]=n.split(/:(.*)/);return r&&!s.isUndefined(o)&&(i[r.trim()]=o.trim()),i},{}):{}}catch{return{}}}function wt(t,e="update"){t._connected&&t._updates.length&&(t._updateCount||(t._updateCount=0,requestAnimationFrame(()=>t._updateCount=0)),t._queued||(t._queued=new Set,s.fastdom.read(()=>{t._connected&&xt(t,t._queued),t._queued=null})),t._updateCount++<20&&t._queued.add(e.type||e))}function xt(t,e){for(const{read:i,write:n,events:r=[]}of t._updates){if(!e.has("update")&&!r.some(a=>e.has(a)))continue;let o;i&&(o=i.call(t,t._data,e),o&&s.isPlainObject(o)&&s.assign(t._data,o)),n&&o!==!1&&s.fastdom.write(()=>{t._connected&&n.call(t,t._data,e)})}}function $t(t){return R(s.observeResize,t,"resize")}function kt(t){return R(s.observeIntersection,t)}function R(t,e,i){return{observe:t,handler(){wt(this,i)},...e}}kt({handler(t,e){this.load(),e.disconnect()},options:({margin:t})=>({rootMargin:t}),filter:({loading:t})=>t==="lazy",target:({$el:t,$props:e})=>e.target?[t,...s.queryAll(e.target,t)]:t});function yt(t,e){if(e=Ct(e),e.length){const i=s.fragment("<picture>");for(const n of e){const r=s.fragment("<source>");s.attr(r,n),s.append(i,r)}s.append(i,t)}}function Ct(t){if(!t)return[];if(s.startsWith(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=w(t);return(s.isArray(t)?t:[t]).filter(e=>!s.isEmpty(e))}function q(){return new Promise(t=>requestAnimationFrame(t))}let D;function It(t){const e=s.on(t,"touchstart",r=>{if(r.targetTouches.length!==1||s.matches(r.target,'input[type="range"]'))return;let o=s.getEventPos(r).y;const a=s.on(t,"touchmove",h=>{const c=s.getEventPos(h).y;c!==o&&(o=c,s.scrollParents(h.target).some(l=>{if(!t.contains(l))return!1;let{scrollHeight:p,clientHeight:d}=l;return d<p})||h.preventDefault())},{passive:!1});s.once(t,"scroll touchend touchcancel",a,{capture:!0})},{passive:!0});if(D)return e;D=!0;const{scrollingElement:i}=document,n={overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",scrollbarGutter:s.width(window)-i.clientWidth?"stable":""};return s.css(i,n),()=>{D=!1,e(),s.resetProps(i,n)}}var At={connected(){this._cmpCls=s.hasClass(this.$el,this.$options.id),s.addClass(this.$el,this.$options.id)},disconnected(){this._cmpCls||s.removeClass(this.$el,this.$options.id)}},St={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&s.$(t)}}};const j=typeof window<"u",U=j&&"ontouchstart"in window,M=j&&window.PointerEvent,Et=M?"pointerdown":U?"touchstart":"mousedown",V=M?"pointerup":U?"touchend":"mouseup",Tt=M?"pointercancel":"touchcancel",{isArray:G,from:_t}=Array;function Pt(t){return typeof t=="function"}function O(t){return t!==null&&typeof t=="object"}function Nt(t){return O(t)&&t===t.window}function Dt(t){return Q(t)===9}function J(t){return Q(t)>=1}function Q(t){return!Nt(t)&&O(t)&&t.nodeType}function I(t){return typeof t=="string"}function Mt(t){return t===void 0}function k(t){return t&&v(t)[0]}function v(t){return J(t)?[t]:Array.from(t||[]).filter(J)}function X(t){const e=Object.create(null);return(i,...n)=>e[i]||(e[i]=t(i,...n))}function Y(t,e,i){var n;if(O(e)){for(const r in e)Y(t,r,e[r]);return}if(Mt(i))return(n=k(t))==null?void 0:n.getAttribute(e);for(const r of v(t))i===null?Ot(r,e):r.setAttribute(e,i)}function Ot(t,e){v(t).forEach(i=>i.removeAttribute(e))}function Lt(t){var e;return(e=k(t))==null?void 0:e.parentElement}function Bt(t,e){return v(t).filter(i=>Z(i,e))}function Z(t,e){return v(t).some(i=>i.matches(e))}function zt(t,e){t=k(t);const i=t?_t(t.children):[];return e?Bt(i,e):i}function K(t,e){return zt(Lt(t)).indexOf(t)}function tt(t,e){return v(qt(t,k(e),"querySelectorAll"))}const Ft=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Ht=/(\([^)]*\)|[^,])+/g,Wt=X(t=>{let e=!1;if(!t||!I(t))return{};const i=[];for(let n of t.match(Ht))n=n.trim().replace(Ft,"$1 *"),e||(e=["!","+","~","-",">"].includes(n[0])),i.push(n);return{selector:i.join(","),selectors:i,isContextSelector:e}}),Rt=/(\([^)]*\)|\S)*/,et=X(t=>{t=t.slice(1).trim();const[e]=t.match(Rt);return[e,t.slice(e.length+1)]});function qt(t,e=document,i){var n;const r=Wt(t);if(!r.isContextSelector)return r.selector?L(e,i,r.selector):t;t="";const o=r.selectors.length===1;for(let a of r.selectors){let h,c=e;if(a[0]==="!"&&([h,a]=et(a),c=(n=e.parentElement)==null?void 0:n.closest(h),!a&&o)||c&&a[0]==="-"&&([h,a]=et(a),c=c.previousElementSibling,c=Z(c,h)?c:null,!a&&o))return c;if(c){if(o)return a[0]==="~"||a[0]==="+"?(a=`:scope > :nth-child(${K(c)+1}) ${a}`,c=c.parentElement):a[0]===">"&&(a=`:scope ${a}`),L(c,i,a);t+=`${t?",":""}${jt(c)} ${a}`}}return Dt(e)||(e=e.ownerDocument),L(e,i,t)}function L(t,e,i){try{return t[e](i)}catch{return null}}function jt(t){const e=[];for(;t.parentNode;){const i=Y(t,"id");if(i){e.unshift(`#${Ut(i)}`);break}else{let{tagName:n}=t;n!=="HTML"&&(n+=`:nth-child(${K(t)+1})`),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Ut(t){return I(t)?CSS.escape(t):""}function B(...t){let[e,i,n,r,o=!1]=z(t);r.length>1&&(r=Qt(r)),o!=null&&o.self&&(r=Xt(r)),n&&(r=Jt(n,r));for(const a of i)for(const h of e)h.addEventListener(a,r,o);return()=>Vt(e,i,r,o)}function Vt(...t){let[e,i,,n,r=!1]=z(t);for(const o of i)for(const a of e)a.removeEventListener(o,n,r)}function Gt(...t){const[e,i,n,r,o=!1,a]=z(t),h=B(e,i,n,c=>{const l=!a||a(c);l&&(h(),r(c,l))},o);return h}function z(t){return t[0]=Zt(t[0]),I(t[1])&&(t[1]=t[1].split(" ")),Pt(t[2])&&t.splice(2,0,!1),t}function Jt(t,e){return i=>{const n=t[0]===">"?tt(t,i.currentTarget).reverse().find(r=>r.contains(i.target)):i.target.closest(t);n&&(i.current=n,e.call(this,i),delete i.current)}}function Qt(t){return e=>G(e.detail)?t(e,...e.detail):t(e)}function Xt(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function st(t){return t&&"addEventListener"in t}function Yt(t){return st(t)?t:k(t)}function Zt(t){return G(t)?t.map(Yt).filter(Boolean):I(t)?tt(t):st(t)?[t]:v(t)}const x={ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,RIGHT:39};function it(t,e=x.LEFT,i=x.RIGHT){switch(t){case x.HOME:return 0;case x.END:return"last";case e:return"previous";case i:return"next"}return-1}function nt(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault()}function Kt(t,e=()=>!0){return B(document,"keydown",i=>{i.keyCode===x.ESC&&e()&&t(i)})}function te(t,e,i){return B(document,Et,({target:n})=>{!e(n)||i&&!i()||Gt(document,`${V} ${Tt} scroll`,({defaultPrevented:r,type:o,target:a})=>{!r&&o===V&&n===a&&t(n)},!0)})}var ee={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglable-enter",clsLeave:"uk-togglable-leave"},computed:{hasAnimation:({animation:t})=>!!t[0],hasTransition:({animation:t})=>["slide","reveal"].some(e=>s.startsWith(t[0],e))},methods:{async toggleElement(t,e,i){const n={};return(await Promise.all(s.toNodes(t).map(r=>{const o=s.isBoolean(e)?e:!this.isToggled(r);if(!s.trigger(r,`before${o?"show":"hide"}`,[this]))return n;const a=(s.isFunction(i)?i:i===!1||!this.hasAnimation?se:this.hasTransition?ie:ne)(r,o,this),h=o?this.clsEnter:this.clsLeave;s.addClass(r,h),s.trigger(r,o?"show":"hide",[this]);const c=()=>{var l;s.removeClass(r,h),s.trigger(r,o?"shown":"hidden",[this]),o&&((l=s.$$("[autofocus]",r).find(s.isVisible))==null||l.focus({preventScroll:!0}))};return a?a.then(c,()=>(s.removeClass(r,h),n)):c()}))).every(r=>r!==n)},isToggled(t=this.$el){return t=s.toNode(t),s.hasClass(t,this.clsEnter)?!0:s.hasClass(t,this.clsLeave)?!1:this.cls?s.hasClass(t,this.cls.split(" ")[0]):s.isVisible(t)},_toggle(t,e){if(!t)return;e=!!e;let i;this.cls?(i=s.includes(this.cls," ")||e!==s.hasClass(t,this.cls),i&&s.toggleClass(t,this.cls,s.includes(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),i&&s.trigger(t,"toggled",[e,this])}}};function se(t,e,{_toggle:i}){return s.Animation.cancel(t),s.Transition.cancel(t),i(t,e)}async function ie(t,e,{animation:i,duration:n,velocity:r,transition:o,_toggle:a}){var h;const[c="reveal",l="top"]=((h=i[0])==null?void 0:h.split("-"))||[],p=[["left","right"],["top","bottom"]],d=p[s.includes(p[0],l)?0:1],f=d[1]===l,g=["width","height"][p.indexOf(d)],$=`margin-${d[0]}`,P=`margin-${l}`;let y=s.dimensions(t)[g];const De=s.Transition.inProgress(t);await s.Transition.cancel(t),e&&a(t,!0);const Me=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",$,P].map(bt=>[bt,t.style[bt]])),C=s.dimensions(t),W=s.toFloat(s.css(t,$)),gt=s.toFloat(s.css(t,P)),b=C[g]+gt;!De&&!e&&(y+=gt);const[N]=s.wrapInner(t,"<div>");s.css(N,{boxSizing:"border-box",height:C.height,width:C.width,...s.css(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",P])}),s.css(t,{padding:0,border:0,minWidth:0,minHeight:0,[P]:0,width:C.width,height:C.height,overflow:"hidden",[g]:y});const mt=y/b;n=(r*b+n)*(e?1-mt:mt);const vt={[g]:e?b:0};f&&(s.css(t,$,b-y+W),vt[$]=e?W:b+W),!f^c==="reveal"&&(s.css(N,$,-b+y),s.Transition.start(N,{[$]:e?0:-b},n,o));try{await s.Transition.start(t,vt,n,o)}finally{s.css(t,Me),s.unwrap(N.firstChild),e||a(t,!1)}}async function ne(t,e,i){const{animation:n,duration:r,_toggle:o}=i;if(e)return o(t,!0),s.Animation.in(t,n[0],r,i.origin);await s.Animation.out(t,n[1]||n[0],r,i.origin),o(t,!1)}const u=[],A=new WeakMap;var re={mixins:[At,St,ee],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel:({selPanel:t},e)=>s.$(t,e),transitionElement(){return this.panel}},connected(){const t=this.panel||this.$el;t.role=this.role,this.overlay&&(t.ariaModal=!0)},beforeDisconnect(){s.includes(u,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate:({selClose:t})=>`${t},a[href*="#"]`,handler(t){const{current:e,defaultPrevented:i}=t,{hash:n}=e;!i&&n&&s.isSameSiteAnchor(e)&&!this.$el.contains(s.$(n))?this.hide():s.matches(e,this.selClose)&&(nt(t),this.hide())}},{name:"toggle",self:!0,handler(t,e){t.defaultPrevented||(t.preventDefault(),this.target=e==null?void 0:e.$el,this.isToggled()===s.includes(u,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(s.includes(u,this))return!1;!this.stack&&u.length?(Promise.all(u.map(e=>e.hide())).then(this.show),t.preventDefault()):u.push(this)}},{name:"show",self:!0,handler(){this.stack&&s.css(this.$el,"zIndex",s.toFloat(s.css(this.$el,"zIndex"))+u.length);const t=[this.overlay&&oe(this),this.overlay&&It(this.$el),this.bgClose&&ae(this),this.escClose&&he(this)];s.once(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),s.addClass(document.documentElement,this.clsPage),ot(this.target,!0)}},{name:"shown",self:!0,handler(){s.isFocusable(this.$el)||(this.$el.tabIndex=-1),s.matches(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){s.includes(u,this)&&u.splice(u.indexOf(this),1),s.css(this.$el,"zIndex","");const{target:t}=this;u.some(e=>e.clsPage===this.clsPage)||(s.removeClass(document.documentElement,this.clsPage),queueMicrotask(()=>{s.isFocusable(t)&&t.focus({preventScroll:!0})})),ot(t,!1),this.target=null}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},async show(){return this.container&&s.parent(this.$el)!==this.container&&(s.append(this.container,this.$el),await q()),this.toggleElement(this.$el,!0,rt)},hide(){return this.toggleElement(this.$el,!1,rt)}}};function rt(t,e,{transitionElement:i,_toggle:n}){let r;return new Promise((o,a)=>s.once(t,"show hide",()=>{var h,c;(h=A.get(t))==null||h(),r=a,A.set(t,a),n(t,e),Promise.all((((c=i==null?void 0:i.getAnimations)==null?void 0:c.call(i))||[]).map(({finished:l})=>l)).then(o,a)})).then(()=>{A.get(t)===r&&A.delete(t)})}function oe(t){return s.on(document,"focusin",e=>{if(s.last(u)!==t||t.$el.contains(e.target))return;const{left:i,top:n,width:r,height:o}=s.dimensions(e.target),a=document.elementFromPoint(i+r/2,n+o/2);a&&(e.target.contains(a)||a.contains(e.target))||t.$el.focus()})}function ae(t){return te(()=>t.hide(),e=>(!t.overlay||t.$el.contains(e))&&!!t.panel&&!t.panel.contains(e),()=>s.last(u)===t)}function he(t){return Kt(()=>t.hide(),()=>s.last(u)===t)}function ot(t,e){t!=null&&t.ariaExpanded&&(t.ariaExpanded=e)}var F={slide:{show(t){return[{transform:S(t*-100)},{transform:S()}]},percent(t){return ce(t)},translate(t,e){return[{transform:S(e*-100*t)},{transform:S(e*100*(1-t))}]}}};function ce(t){return Math.abs(new DOMMatrix(s.css(t,"transform")).m41/t.offsetWidth)}function S(t=0,e="%"){return t?`translate3d(${t+e}, 0, 0)`:""}function le(t,e,i,{animation:n,easing:r}){const{percent:o,translate:a,show:h=s.noop}=n,c=h(i),{promise:l,resolve:p}=de();return{dir:i,show(d,f=0,pt){const g=pt?"linear":r;return d-=Math.round(d*s.clamp(f,-1,1)),this.translate(f),E(e,"itemin",{percent:f,duration:d,timing:g,dir:i}),E(t,"itemout",{percent:1-f,duration:d,timing:g,dir:i}),Promise.all([s.Transition.start(e,c[1],d,g),s.Transition.start(t,c[0],d,g)]).then(()=>{this.reset(),p()},s.noop),l},cancel(){return s.Transition.cancel([e,t])},reset(){s.resetProps([e,t],c[0])},async forward(d,f=this.percent()){return await this.cancel(),this.show(d,f,!0)},translate(d){this.reset();const f=a(d,i);s.css(e,f[1]),s.css(t,f[0]),E(e,"itemtranslatein",{percent:d,dir:i}),E(t,"itemtranslateout",{percent:1-d,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function E(t,e,i){s.trigger(t,s.createEvent(e,!1,!1,i))}function de(){let t;return{promise:new Promise(e=>t=e),resolve:t}}var fe={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,n,r;let o=0;return((r=((i=this.i18n)==null?void 0:i[t])||((n=this.$options.i18n)==null?void 0:n[t]))==null?void 0:r.replace(/%s/g,()=>e[o++]||""))||""}}},ue={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||!s.isVisible(this.$el)||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 T={passive:!1,capture:!0},pe="touchstart mousedown",H="touchmove mousemove",ge="touchend touchcancel mouseup click input scroll";var me={props:{draggable:Boolean},data:{draggable:!0,threshold:10,angleThreshold:45},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const n=s.getEventPos(i);s.isRtl&&(n.x=-n.x),this.prevPos=s.isEqual(n,this.pos)?this.prevPos:this.pos,this.pos=n,e(i)}}},events:[{name:pe,passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){!this.draggable||this.parallax||!s.isTouch(t)&&ve(t.target)||t.target.closest(s.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:H,el:({list:t})=>t,handler:s.noop,...T}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag.x+=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,H,this.move,T),s.on(document,ge,this.end,{passive:!0,capture:!0,once:!0}),s.css(this.list,"userSelect","none")},move(t){const e=this.pos.x-this.drag.x;if(e===0||!this.dragging&&be(this.pos,this.drag)>this.angleThreshold||this.prevPos.x===this.pos.x||!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,r=Math.abs(e),o=this.getIndex(n+this.dir),a=at.call(this,n,o);for(;o!==n&&r>a;)this.drag.x-=a*this.dir,n=o,r-=a,o=this.getIndex(n+this.dir),a=at.call(this,n,o);this.percent=r/a;const h=i[n],c=i[o],l=this.index!==o,p=n===o;let d;for(const f of[this.index,this.prevIndex])f!==o&&f!==n&&(s.trigger(i[f],"itemhidden",[this]),p&&(d=!0,this.prevIndex=n));(this.index===n&&this.prevIndex!==n||d)&&s.trigger(i[this.index],"itemshown",[this]),l&&(this.prevIndex=n,this.index=o,p||(s.trigger(h,"beforeitemhide",[this]),s.trigger(h,"itemhide",[this])),s.trigger(c,"beforeitemshow",[this]),s.trigger(c,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),h,!p&&c)},end(){if(s.off(document,H,this.move,T),this.dragging)if(setTimeout(s.on(this.list,"click",t=>t.preventDefault(),T)),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=this.dir<0==this.prevPos.x>this.pos.x;t?(s.trigger(this.slides[this.prevIndex],"itemhidden",[this]),s.trigger(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent):this.index=this.prevIndex,this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:""}),this.drag=this.percent=null}}};function at(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function ve(t){return s.css(t,"userSelect")!=="none"&&s.toArray(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}function be(t,e){return Math.atan2(Math.abs(e.y-t.y),Math.abs(e.x-t.x))*180/Math.PI}s.memoize((t,e)=>{const i=Object.keys(e),n=i.concat(t).flatMap(r=>[s.hyphenate(r),`data-${s.hyphenate(r)}`]);return{attributes:i,filter:n}});let we=1;function ht(t,e=null){return(e==null?void 0:e.id)||`${t.$options.id}-${we++}`}var xe={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>s.$$(t,e),navChildren(){return this.nav.flatMap(t=>s.children(t))},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 r,o=null;if(s.isNumeric(i)){const a=s.toNumber(i),h=this.slides[a];h&&(h.id||(h.id=ht(this,h)),o=h.id),r=this.t("slideX",s.toFloat(i)+1),n.role="tab"}else this.list&&(this.list.id||(this.list.id=ht(this,this.list)),o=this.list.id),r=this.t(i);s.attr(n,"aria-controls",o),n.ariaLabel=n.ariaLabel||r}},slides(t){t.forEach((e,i)=>s.attr(e,{role:this.nav.length?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav.length?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<1)),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===x.SPACE)&&(nt(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;const r=it(i);~r&&(t.preventDefault(),this.show(r))}}],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 o=s.toNumber(i)===t;s.toggleClass(e,this.clsActive,o),s.toggleClass(n,"uk-disabled",!!this.parallax),n.ariaSelected=o,n.tabIndex=o&&!this.parallax?null:-1,o&&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(){for(const t of this.nav){const e=s.children(t),i=[];for(let n=0;n<this.length;n++){const r=`${this.attrItem}="${n}"`;i[n]=e.findLast(o=>o.matches(`[${r}]`))||s.$(`<li ${r}><a href></a></li>`)}s.isEqual(i,e)||s.html(t,i)}}}};const $e="cubic-bezier(0.25, 0.46, 0.45, 0.94)",ke="cubic-bezier(0.165, 0.84, 0.44, 1)";var ye={mixins:[ue,me,xe,fe],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)=>Ie(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,r=e?0:n.length,o=()=>{n.splice(r,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 a=this.getIndex(this.index),h=s.hasClass(this.slides,this.clsActive)&&this.slides[a],c=this.getIndex(t,this.index),l=this.slides[c];if(h===l){o();return}if(this.dir=Ce(t,a),this.prevIndex=a,this.index=c,h&&!s.trigger(h,"beforeitemhide",[this])||!s.trigger(l,"beforeitemshow",[this,h])){this.index=this.prevIndex,o();return}h&&s.trigger(h,"itemhide",[this]),s.trigger(l,"itemshow",[this]),await this._show(h,l,e),h&&s.trigger(h,"itemhidden",[this]),s.trigger(l,"itemshown",[this]),this._transitioner=null,await q(),n.shift(),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?$e:ke: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 Ce(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Ie(t){return .5*t+300}var Ae={mixins:[ye],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:F,Transitioner:le},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},observe:$t(),events:{itemshow({target:t}){s.addClass(t,this.clsActive)},itemshown({target:t}){s.addClass(t,this.clsActivated)},itemhidden({target:t}){s.removeClass(t,this.clsActive,this.clsActivated)}}};({...F});function _(t){return`scale3d(${t}, ${t}, 1)`}var ct={...F,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:_(1-.2)},{opacity:1,transform:_(1)}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:_(1-.2*t)},{opacity:t,transform:_(1-.2+.2*t)}]}}},Se={i18n:{counter:"%s / %s"},mixins:[re,Ae],functional:!0,props:{counter:Boolean,preload:Number,nav:Boolean,slidenav:Boolean,delayControls:Number,videoAutoplay:Boolean,template:String},data:()=>({counter:!1,preload:1,nav:!1,slidenav:!0,delayControls:3e3,videoAutoplay:!1,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",clsFit:"uk-lightbox-items-fit",clsZoom:"uk-lightbox-zoom",attrItem:"uk-lightbox-item",selList:".uk-lightbox-items",selClose:".uk-close-large",selNav:".uk-lightbox-thumbnav, .uk-lightbox-dotnav",selCaption:".uk-lightbox-caption",selCounter:".uk-lightbox-counter",pauseOnHover:!1,velocity:2,Animations:ct,template:'<div class="uk-lightbox uk-overflow-hidden"> <div class="uk-lightbox-items"></div> <div class="uk-position-top-right uk-position-small uk-transition-fade" uk-inverse> <button class="uk-lightbox-close uk-close-large" type="button" uk-close></button> </div> <div class="uk-lightbox-slidenav uk-position-center-left uk-position-medium uk-transition-fade" uk-inverse> <a href uk-slidenav-previous uk-lightbox-item="previous"></a> </div> <div class="uk-lightbox-slidenav uk-position-center-right uk-position-medium uk-transition-fade" uk-inverse> <a href uk-slidenav-next uk-lightbox-item="next"></a> </div> <div class="uk-position-center-right uk-position-medium uk-transition-fade" uk-inverse style="max-height: 90vh; overflow: auto;"> <ul class="uk-lightbox-thumbnav uk-lightbox-thumbnav-vertical uk-thumbnav uk-thumbnav-vertical"></ul> <ul class="uk-lightbox-dotnav uk-dotnav uk-dotnav-vertical"></ul> </div> <div class="uk-lightbox-counter uk-text-large uk-position-top-left uk-position-small uk-transition-fade" uk-inverse></div> <div class="uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){let t=s.$(this.template);s.isTag(t,"template")&&(t=s.fragment(s.html(t)));const e=s.$(this.selList,t),i=this.$props.nav;s.remove(s.$$(this.selNav,t).filter(o=>!s.matches(o,`.uk-${i}`)));for(const[o,a]of this.items.entries())s.append(e,"<div>"),i==="thumbnav"&&s.wrapAll(Ee(a,this.videoAutoplay),s.append(s.$(this.selNav,t),`<li uk-lightbox-item="${o}"><a href></a></li>`));this.slidenav||s.remove(s.$$(".uk-lightbox-slidenav",t)),this.counter||s.remove(s.$(this.selCounter,t)),s.addClass(e,this.clsFit);const n=s.$("[uk-close]",t),r=this.t("close");n&&r&&(n.dataset.i18n=JSON.stringify({label:r})),this.$mount(s.append(this.container,t))},events:[{name:"click",self:!0,filter:({bgClose:t})=>t,delegate:({selList:t})=>`${t} > *`,handler(t){t.defaultPrevented||this.hide()}},{name:"click",self:!0,delegate:({clsZoom:t})=>`.${t}`,handler(t){t.defaultPrevented||s.toggleClass(this.list,this.clsFit)}},{name:`${s.pointerMove} ${s.pointerDown} keydown`,filter:({delayControls:t})=>t,handler(){this.showControls()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),s.removeClass(this.slides,this.clsActive),s.Transition.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el:()=>document,handler({keyCode:t}){if(!this.isToggled()||!this.draggable)return;const e=it(t);~e&&this.show(e)}},{name:"beforeitemshow",handler(t){s.html(s.$(this.selCaption,this.$el),this.getItem().caption||""),s.html(s.$(this.selCounter,this.$el),this.t("counter",this.index+1,this.slides.length));for(let e=-this.preload;e<=this.preload;e++)this.loadItem(this.index+e);this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=ct.scale,s.removeClass(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:n,attrs:r={}}=e;if(this.setItem(e,"<span uk-spinner uk-inverse></span>"),!i)return;let o;const a={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":!!this.videoAutoplay};if(n==="image"||lt(i)){const h=m("img");yt(h,e.sources),s.attr(h,{src:i,...s.pick(e,["alt","srcset","sizes"]),...r}),s.on(h,"load",()=>this.setItem(e,s.parent(h)||h)),s.on(h,"error",()=>this.setError(e))}else if(n==="video"||dt(i)){const h=this.videoAutoplay==="inline",c=m("video",{src:i,playsinline:"",controls:h?null:"",loop:h?"":null,muted:h?"":null,poster:this.videoAutoplay?null:e.poster,"uk-video":!!this.videoAutoplay,...r});s.on(c,"loadedmetadata",()=>this.setItem(e,c)),s.on(c,"error",()=>this.setError(e))}else if(n==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,m("iframe",{src:i,allowfullscreen:"",class:"uk-lightbox-iframe",...r}));else if(o=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,m("iframe",{src:`https://www.youtube${o[1]||""}.com/embed/${o[2]}${o[3]?`?${o[3]}`:""}`,width:1920,height:1080,...a,...r}));else if(o=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:h,width:c}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,m("iframe",{src:`https://player.vimeo.com/video/${o[1]}${o[2]?`?${o[2]}`:""}`,width:c,height:h,...a,...r}))}catch{this.setError(e)}}},{name:"itemloaded",handler(){this.$emit("resize")}}],update:{read(){for(const t of s.$$(`${this.selList} :not([controls]):is(img,video)`,this.$el))s.toggleClass(t,this.clsZoom,(t.naturalHeight||t.videoHeight)-this.$el.offsetHeight>Math.max(0,(t.naturalWidth||t.videoWidth)-this.$el.offsetWidth))},events:["resize"]},methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||s.trigger(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[s.getIndex(t,this.slides)]},setItem(t,e){s.trigger(this.$el,"itemloaded",[this,s.html(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2" uk-inverse></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=this.delayControls&&setTimeout(this.hideControls,this.delayControls),s.addClass(this.$el,"uk-active","uk-transition-active")},hideControls(){s.removeClass(this.$el,"uk-active","uk-transition-active")}}};function m(t,e){const i=s.fragment(`<${t}>`);return s.attr(i,e),i}function Ee(t,e){const i=t.poster||t.thumb&&(t.type==="image"||lt(t.thumb))?m("img",{src:t.poster||t.thumb,alt:""}):t.thumb&&(t.type==="video"||dt(t.thumb))?m("video",{src:t.thumb,loop:"",playsinline:"",muted:"","uk-video":e==="inline"}):m("canvas");return t.thumbRatio&&(i.style.aspectRatio=t.thumbRatio),i}function lt(t){return t==null?void 0:t.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)}function dt(t){return t==null?void 0:t.match(/\.(mp4|webm|ogv)($|\?)/i)}const Te=".uk-disabled *, .uk-disabled, [disabled]";var ft={install:_e,props:{toggle:String},data:{toggle:"a"},computed:{toggles:({toggle:t},e)=>s.$$(t,e)},watch:{toggles(t){this.hide();for(const e of t)s.isTag(e,"a")&&(e.role="button")}},disconnected(){this.hide()},events:{name:"click",delegate:({toggle:t})=>t,handler(t){t.defaultPrevented||(t.preventDefault(),s.matches(t.current,Te)||this.show(t.current))}},methods:{show(t){let e=this.toggles.map(ut);if(this.nav==="thumbnav"&&Pe.call(this,this.toggles,e),e=s.uniqueBy(e,"source"),s.isElement(t)){const{source:i}=ut(t);t=s.findIndex(e,({source:n})=>i===n)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),s.on(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function _e(t,e){t.lightboxPanel||t.component("lightboxPanel",Se),s.assign(e.props,t.component("lightboxPanel").options.props)}function Pe(t,e){for(const[i,n]of Object.entries(t)){if(e[i].thumb)continue;const r=s.parents(n).reverse().concat(n).find(a=>this.$el.contains(a)&&(a===n||s.$$(this.toggle,a).length===1));if(!r)continue;const o=s.$("img,video",r);o&&(e[i].thumb=o.currentSrc||o.poster||o.src,e[i].thumbRatio=(o.naturalWidth||o.videoWidth)/(o.naturalHeight||o.videoHeight))}}function ut(t){const e={};for(const i of t.getAttributeNames()){const n=i.replace(/^data-/,"");e[n==="href"?"source":n]=t.getAttribute(i)}return e.attrs=w(e.attrs),e}var Ne="lightbox";return typeof window<"u"&&window.UIkit&&window.UIkit.component(Ne,ft),ft}));
1
+ /*! UIkit 3.25.29-dev.f3e1c53 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(s,x){typeof exports=="object"&&typeof module<"u"?module.exports=x(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitlightbox",["uikit-util"],x):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitLightbox=x(s.UIkit.util))})(this,(function(s){"use strict";function x(t,e=[]){try{return t?s.startsWith(t,"{")?JSON.parse(t):e.length&&!s.includes(t,":")?{[e[0]]:t}:t.split(";").reduce((i,n)=>{const[r,o]=n.split(/:(.*)/);return r&&!s.isUndefined(o)&&(i[r.trim()]=o.trim()),i},{}):{}}catch{return{}}}function wt(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,s.fastdom.read(()=>{t._connected&&(t._updateCount||(t._updateCount=0,requestAnimationFrame(()=>t._updateCount=0)),t._updateCount<10&&(t._updateCount++,xt(t,t._queued))),t._queued=null})),t._queued.add(e.type||e))}function xt(t,e){for(const{read:i,write:n,events:r=[]}of t._updates){if(!e.has("update")&&!r.some(a=>e.has(a)))continue;let o;i&&(o=i.call(t,t._data,e),o&&s.isPlainObject(o)&&s.assign(t._data,o)),n&&o!==!1&&s.fastdom.write(()=>{t._connected&&n.call(t,t._data,e)})}}function $t(t){return W(s.observeResize,t,"resize")}function kt(t){return W(s.observeIntersection,t)}function W(t,e,i){return{observe:t,handler(){wt(this,i)},...e}}kt({handler(t,e){this.load(),e.disconnect()},options:({margin:t})=>({rootMargin:t}),filter:({loading:t})=>t==="lazy",target:({$el:t,$props:e})=>e.target?[t,...s.queryAll(e.target,t)]:t});function yt(t,e){if(e=Ct(e),e.length){const i=s.fragment("<picture>");for(const n of e){const r=s.fragment("<source>");s.attr(r,n),s.append(i,r)}s.append(i,t)}}function Ct(t){if(!t)return[];if(s.startsWith(t,"["))try{t=JSON.parse(t)}catch{t=[]}else t=x(t);return(s.isArray(t)?t:[t]).filter(e=>!s.isEmpty(e))}function R(){return new Promise(t=>requestAnimationFrame(t))}let q=0;function It(t){const e=s.on(t,"touchstart",o=>{if(o.targetTouches.length!==1||s.matches(o.target,'input[type="range"]'))return;let a=s.getEventPos(o).y;const h=s.on(t,"touchmove",c=>{const l=s.getEventPos(c).y;l!==a&&(a=l,s.scrollParents(c.target).some(p=>{if(!t.contains(p))return!1;let{scrollHeight:d,clientHeight:f}=p;return f<d})||c.preventDefault())},{passive:!1});s.once(t,"scroll touchend touchcancel",h,{capture:!0})},{passive:!0}),{scrollingElement:i}=document,n={overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",scrollbarGutter:s.width(window)-i.clientWidth?"stable":""};q++||s.css(i,n);let r=!1;return()=>{r||(r=!0,e(),--q||s.resetProps(i,n))}}var At={connected(){this._cmpCls=s.hasClass(this.$el,this.$options.id),s.addClass(this.$el,this.$options.id)},disconnected(){this._cmpCls||s.removeClass(this.$el,this.$options.id)}},St={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&s.$(t)}}};const j=typeof window<"u",U=j&&"ontouchstart"in window,D=j&&window.PointerEvent,Et=D?"pointerdown":U?"touchstart":"mousedown",V=D?"pointerup":U?"touchend":"mouseup",Tt=D?"pointercancel":"touchcancel",{isArray:G,from:_t}=Array;function Pt(t){return typeof t=="function"}function M(t){return t!==null&&typeof t=="object"}function Nt(t){return M(t)&&t===t.window}function Dt(t){return Q(t)===9}function J(t){return Q(t)>=1}function Q(t){return!Nt(t)&&M(t)&&t.nodeType}function I(t){return typeof t=="string"}function Mt(t){return t===void 0}function k(t){return t&&v(t)[0]}function v(t){return J(t)?[t]:Array.from(t||[]).filter(J)}function X(t){const e=Object.create(null);return(i,...n)=>e[i]||(e[i]=t(i,...n))}function Y(t,e,i){var n;if(M(e)){for(const r in e)Y(t,r,e[r]);return}if(Mt(i))return(n=k(t))==null?void 0:n.getAttribute(e);for(const r of v(t))i===null?Ot(r,e):r.setAttribute(e,i)}function Ot(t,e){v(t).forEach(i=>i.removeAttribute(e))}function Lt(t){var e;return(e=k(t))==null?void 0:e.parentElement}function Bt(t,e){return v(t).filter(i=>Z(i,e))}function Z(t,e){return v(t).some(i=>i.matches(e))}function zt(t,e){t=k(t);const i=t?_t(t.children):[];return e?Bt(i,e):i}function K(t,e){return zt(Lt(t)).indexOf(t)}function tt(t,e){return v(qt(t,k(e),"querySelectorAll"))}const Ft=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Ht=/(\([^)]*\)|[^,])+/g,Wt=X(t=>{let e=!1;if(!t||!I(t))return{};const i=[];for(let n of t.match(Ht))n=n.trim().replace(Ft,"$1 *"),e||(e=["!","+","~","-",">"].includes(n[0])),i.push(n);return{selector:i.join(","),selectors:i,isContextSelector:e}}),Rt=/(\([^)]*\)|\S)*/,et=X(t=>{t=t.slice(1).trim();const[e]=t.match(Rt);return[e,t.slice(e.length+1)]});function qt(t,e=document,i){var n;const r=Wt(t);if(!r.isContextSelector)return r.selector?O(e,i,r.selector):t;t="";const o=r.selectors.length===1;for(let a of r.selectors){let h,c=e;if(a[0]==="!"&&([h,a]=et(a),c=(n=e.parentElement)==null?void 0:n.closest(h),!a&&o)||c&&a[0]==="-"&&([h,a]=et(a),c=c.previousElementSibling,c=Z(c,h)?c:null,!a&&o))return c;if(c){if(o)return a[0]==="~"||a[0]==="+"?(a=`:scope > :nth-child(${K(c)+1}) ${a}`,c=c.parentElement):a[0]===">"&&(a=`:scope ${a}`),O(c,i,a);t+=`${t?",":""}${jt(c)} ${a}`}}return Dt(e)||(e=e.ownerDocument),O(e,i,t)}function O(t,e,i){try{return t[e](i)}catch{return null}}function jt(t){const e=[];for(;t.parentNode;){const i=Y(t,"id");if(i){e.unshift(`#${Ut(i)}`);break}else{let{tagName:n}=t;n!=="HTML"&&(n+=`:nth-child(${K(t)+1})`),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Ut(t){return I(t)?CSS.escape(t):""}function L(...t){let[e,i,n,r,o=!1]=B(t);r.length>1&&(r=Qt(r)),o!=null&&o.self&&(r=Xt(r)),n&&(r=Jt(n,r));for(const a of i)for(const h of e)h.addEventListener(a,r,o);return()=>Vt(e,i,r,o)}function Vt(...t){let[e,i,,n,r=!1]=B(t);for(const o of i)for(const a of e)a.removeEventListener(o,n,r)}function Gt(...t){const[e,i,n,r,o=!1,a]=B(t),h=L(e,i,n,c=>{const l=!a||a(c);l&&(h(),r(c,l))},o);return h}function B(t){return t[0]=Zt(t[0]),I(t[1])&&(t[1]=t[1].split(" ")),Pt(t[2])&&t.splice(2,0,!1),t}function Jt(t,e){return i=>{const n=t[0]===">"?tt(t,i.currentTarget).reverse().find(r=>r.contains(i.target)):i.target.closest(t);n&&(i.current=n,e.call(this,i),delete i.current)}}function Qt(t){return e=>G(e.detail)?t(e,...e.detail):t(e)}function Xt(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function st(t){return t&&"addEventListener"in t}function Yt(t){return st(t)?t:k(t)}function Zt(t){return G(t)?t.map(Yt).filter(Boolean):I(t)?tt(t):st(t)?[t]:v(t)}const b={ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,RIGHT:39};function it(t,e=b.LEFT,i=b.RIGHT){switch(t){case b.HOME:return 0;case b.END:return"last";case e:return"previous";case i:return"next"}return-1}function nt(t){(t.type==="keydown"&&t.keyCode===b.SPACE||t.target.closest('a[href="#"],a[href=""]'))&&t.preventDefault()}function Kt(t,e=()=>!0){return L(document,"keydown",i=>{i.keyCode===b.ESC&&e()&&t(i)})}function te(t,e,i){return L(document,Et,({target:n})=>{!e(n)||i&&!i()||Gt(document,`${V} ${Tt} scroll`,({defaultPrevented:r,type:o,target:a})=>{!r&&o===V&&n===a&&t(n)},!0)})}var ee={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"uk-togglable-enter",clsLeave:"uk-togglable-leave"},computed:{hasAnimation:({animation:t})=>!!t[0],hasTransition:({animation:t})=>["slide","reveal"].some(e=>s.startsWith(t[0],e))},methods:{async toggleElement(t,e,i){const n={};return(await Promise.all(s.toNodes(t).map(r=>{const o=s.isBoolean(e)?e:!this.isToggled(r);if(!s.trigger(r,`before${o?"show":"hide"}`,[this]))return n;const a=(s.isFunction(i)?i:i===!1||!this.hasAnimation?se:this.hasTransition?ie:ne)(r,o,this),h=o?this.clsEnter:this.clsLeave;s.addClass(r,h),s.trigger(r,o?"show":"hide",[this]);const c=()=>{var l;s.removeClass(r,h),s.trigger(r,o?"shown":"hidden",[this]),o&&((l=s.$$("[autofocus]",r).find(s.isVisible))==null||l.focus({preventScroll:!0}))};return a?a.then(c,()=>(s.removeClass(r,h),n)):c()}))).every(r=>r!==n)},isToggled(t=this.$el){return t=s.toNode(t),s.hasClass(t,this.clsEnter)?!0:s.hasClass(t,this.clsLeave)?!1:this.cls?s.hasClass(t,this.cls.split(" ")[0]):s.isVisible(t)},_toggle(t,e){if(!t)return;e=!!e;let i;this.cls?(i=s.includes(this.cls," ")||e!==s.hasClass(t,this.cls),i&&s.toggleClass(t,this.cls,s.includes(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),i&&s.trigger(t,"toggled",[e,this])}}};function se(t,e,{_toggle:i}){return s.Animation.cancel(t),s.Transition.cancel(t),i(t,e)}async function ie(t,e,{animation:i,duration:n,velocity:r,transition:o,_toggle:a}){var h;const[c="reveal",l="top"]=((h=i[0])==null?void 0:h.split("-"))||[],p=[["left","right"],["top","bottom"]],d=p[s.includes(p[0],l)?0:1],f=d[1]===l,g=["width","height"][p.indexOf(d)],$=`margin-${d[0]}`,P=`margin-${l}`;let y=s.dimensions(t)[g];const De=s.Transition.inProgress(t);await s.Transition.cancel(t),e&&a(t,!0);const Me=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",$,P].map(bt=>[bt,t.style[bt]])),C=s.dimensions(t),H=s.toFloat(s.css(t,$)),gt=s.toFloat(s.css(t,P)),w=C[g]+gt;!De&&!e&&(y+=gt);const[N]=s.wrapInner(t,"<div>");s.css(N,{boxSizing:"border-box",height:C.height,width:C.width,...s.css(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",P])}),s.css(t,{padding:0,border:0,minWidth:0,minHeight:0,[P]:0,width:C.width,height:C.height,overflow:"hidden",[g]:y});const mt=y/w;n=(r*w+n)*(e?1-mt:mt);const vt={[g]:e?w:0};f&&(s.css(t,$,w-y+H),vt[$]=e?H:w+H),!f^c==="reveal"&&(s.css(N,$,-w+y),s.Transition.start(N,{[$]:e?0:-w},n,o));try{await s.Transition.start(t,vt,n,o)}finally{s.css(t,Me),s.unwrap(N.firstChild),e||a(t,!1)}}async function ne(t,e,i){const{animation:n,duration:r,_toggle:o}=i;if(e)return o(t,!0),s.Animation.in(t,n[0],r,i.origin);await s.Animation.out(t,n[1]||n[0],r,i.origin),o(t,!1)}const u=[],A=new WeakMap;var re={mixins:[At,St,ee],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel:({selPanel:t},e)=>s.$(t,e),transitionElement(){return this.panel}},connected(){const t=this.panel||this.$el;t.role=this.role,this.overlay&&(t.ariaModal=!0)},beforeDisconnect(){s.includes(u,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate:({selClose:t})=>`${t},a[href*="#"]`,handler(t){const{current:e,defaultPrevented:i}=t,{hash:n}=e;!i&&n&&s.isSameSiteAnchor(e)&&!this.$el.contains(s.$(n))?this.hide():s.matches(e,this.selClose)&&(nt(t),this.hide())}},{name:"toggle",self:!0,handler(t,e){t.defaultPrevented||(t.preventDefault(),this.target=e==null?void 0:e.$el,this.isToggled()===s.includes(u,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(s.includes(u,this))return!1;!this.stack&&u.length?(Promise.all(u.map(e=>e.hide())).then(this.show),t.preventDefault()):u.push(this)}},{name:"show",self:!0,handler(){this.stack&&s.css(this.$el,"zIndex",s.toFloat(s.css(this.$el,"zIndex"))+u.length);const t=[this.overlay&&oe(this),this.overlay&&It(this.$el),this.bgClose&&ae(this),this.escClose&&he(this)];s.once(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),s.addClass(document.documentElement,this.clsPage),ot(this.target,!0)}},{name:"shown",self:!0,handler(){s.isFocusable(this.$el)||(this.$el.tabIndex=-1),s.matches(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){s.includes(u,this)&&u.splice(u.indexOf(this),1),s.css(this.$el,"zIndex","");const{target:t}=this;u.some(e=>e.clsPage===this.clsPage)||(s.removeClass(document.documentElement,this.clsPage),queueMicrotask(()=>{s.isFocusable(t)&&t.focus({preventScroll:!0})})),ot(t,!1),this.target=null}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},async show(){return this.container&&s.parent(this.$el)!==this.container&&(s.append(this.container,this.$el),await R()),this.toggleElement(this.$el,!0,rt)},hide(){return this.toggleElement(this.$el,!1,rt)}}};function rt(t,e,{transitionElement:i,_toggle:n}){let r;return new Promise((o,a)=>s.once(t,"show hide",()=>{var h,c;(h=A.get(t))==null||h(),r=a,A.set(t,a),n(t,e),Promise.all((((c=i==null?void 0:i.getAnimations)==null?void 0:c.call(i))||[]).map(({finished:l})=>l)).then(o,a)})).then(()=>{A.get(t)===r&&A.delete(t)})}function oe(t){return s.on(document,"focusin",e=>{if(s.last(u)!==t||t.$el.contains(e.target))return;const{left:i,top:n,width:r,height:o}=s.dimensions(e.target),a=document.elementFromPoint(i+r/2,n+o/2);a&&(e.target.contains(a)||a.contains(e.target))||t.$el.focus()})}function ae(t){return te(()=>t.hide(),e=>(!t.overlay||t.$el.contains(e))&&!!t.panel&&!t.panel.contains(e),()=>s.last(u)===t)}function he(t){return Kt(()=>t.hide(),()=>s.last(u)===t)}function ot(t,e){t!=null&&t.ariaExpanded&&(t.ariaExpanded=e)}var z={slide:{show(t){return[{transform:S(t*-100)},{transform:S()}]},percent(t){return ce(t)},translate(t,e){return[{transform:S(e*-100*t)},{transform:S(e*100*(1-t))}]}}};function ce(t){return Math.abs(new DOMMatrix(s.css(t,"transform")).m41/t.offsetWidth)}function S(t=0,e="%"){return t?`translate3d(${t+e}, 0, 0)`:""}function le(t,e,i,{animation:n,easing:r}){const{percent:o,translate:a,show:h=s.noop}=n,c=h(i),{promise:l,resolve:p}=de();return{dir:i,show(d,f=0,pt){const g=pt?"linear":r;return d-=Math.round(d*s.clamp(f,-1,1)),this.translate(f),E(e,"itemin",{percent:f,duration:d,timing:g,dir:i}),E(t,"itemout",{percent:1-f,duration:d,timing:g,dir:i}),Promise.all([s.Transition.start(e,c[1],d,g),s.Transition.start(t,c[0],d,g)]).then(()=>{this.reset(),p()},s.noop),l},cancel(){return s.Transition.cancel([e,t])},reset(){s.resetProps([e,t],c[0])},async forward(d,f=this.percent()){return await this.cancel(),this.show(d,f,!0)},translate(d){this.reset();const f=a(d,i);s.css(e,f[1]),s.css(t,f[0]),E(e,"itemtranslatein",{percent:d,dir:i}),E(t,"itemtranslateout",{percent:1-d,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function E(t,e,i){s.trigger(t,s.createEvent(e,!1,!1,i))}function de(){let t;return{promise:new Promise(e=>t=e),resolve:t}}var fe={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,n,r;let o=0;return((r=((i=this.i18n)==null?void 0:i[t])||((n=this.$options.i18n)==null?void 0:n[t]))==null?void 0:r.replace(/%s/g,()=>e[o++]||""))||""}}},ue={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||!s.isVisible(this.$el)||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 T={passive:!1,capture:!0},pe="touchstart mousedown",F="touchmove mousemove",ge="touchend touchcancel mouseup click input scroll";var me={props:{draggable:Boolean},data:{draggable:!0,threshold:10,angleThreshold:45},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const n=s.getEventPos(i);s.isRtl&&(n.x=-n.x),this.prevPos=s.isEqual(n,this.pos)?this.prevPos:this.pos,this.pos=n,e(i)}}},events:[{name:pe,passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){!this.draggable||this.parallax||!s.isTouch(t)&&ve(t.target)||t.target.closest(s.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:F,el:({list:t})=>t,handler:s.noop,...T}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag.x+=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,F,this.move,T),s.on(document,ge,this.end,{passive:!0,capture:!0,once:!0}),s.css(this.list,"userSelect","none")},move(t){const e=this.pos.x-this.drag.x;if(e===0||!this.dragging&&be(this.pos,this.drag)>this.angleThreshold||this.prevPos.x===this.pos.x||!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,r=Math.abs(e),o=this.getIndex(n+this.dir),a=at.call(this,n,o);for(;o!==n&&r>a;)this.drag.x-=a*this.dir,n=o,r-=a,o=this.getIndex(n+this.dir),a=at.call(this,n,o);this.percent=r/a;const h=i[n],c=i[o],l=this.index!==o,p=n===o;let d;for(const f of[this.index,this.prevIndex])f!==o&&f!==n&&(s.trigger(i[f],"itemhidden",[this]),p&&(d=!0,this.prevIndex=n));(this.index===n&&this.prevIndex!==n||d)&&s.trigger(i[this.index],"itemshown",[this]),l&&(this.prevIndex=n,this.index=o,p||(s.trigger(h,"beforeitemhide",[this]),s.trigger(h,"itemhide",[this])),s.trigger(c,"beforeitemshow",[this]),s.trigger(c,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),h,!p&&c)},end(){if(s.off(document,F,this.move,T),this.dragging)if(setTimeout(s.on(this.list,"click",t=>t.preventDefault(),T)),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=this.dir<0==this.prevPos.x>this.pos.x;t?(s.trigger(this.slides[this.prevIndex],"itemhidden",[this]),s.trigger(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent):this.index=this.prevIndex,this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:""}),this.drag=this.percent=null}}};function at(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function ve(t){return s.css(t,"userSelect")!=="none"&&s.toArray(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}function be(t,e){return Math.atan2(Math.abs(e.y-t.y),Math.abs(e.x-t.x))*180/Math.PI}s.memoize((t,e)=>{const i=Object.keys(e),n=i.concat(t).flatMap(r=>[s.hyphenate(r),`data-${s.hyphenate(r)}`]);return{attributes:i,filter:n}});let we=1;function ht(t,e=null){return(e==null?void 0:e.id)||`${t.$options.id}-${we++}`}var xe={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>s.$$(t,e),navChildren(){return this.nav.flatMap(t=>s.children(t))},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 r,o=null;if(s.isNumeric(i)){const a=s.toNumber(i),h=this.slides[a];h&&(h.id||(h.id=ht(this,h)),o=h.id),r=this.t("slideX",s.toFloat(i)+1),n.role="tab"}else this.list&&(this.list.id||(this.list.id=ht(this,this.list)),o=this.list.id),r=this.t(i);s.attr(n,"aria-controls",o),n.ariaLabel=n.ariaLabel||r}},slides(t){t.forEach((e,i)=>s.attr(e,{role:this.nav.length?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav.length?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<1)),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)&&(nt(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;const r=it(i);~r&&(t.preventDefault(),this.show(r))}}],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 o=s.toNumber(i)===t;s.toggleClass(e,this.clsActive,o),s.toggleClass(n,"uk-disabled",!!this.parallax),n.ariaSelected=o,n.tabIndex=o&&!this.parallax?null:-1,o&&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(){for(const t of this.nav){const e=s.children(t),i=[];for(let n=0;n<this.length;n++){const r=`${this.attrItem}="${n}"`;i[n]=e.findLast(o=>o.matches(`[${r}]`))||s.$(`<li ${r}><a href></a></li>`)}s.isEqual(i,e)||s.html(t,i)}}}};const $e="cubic-bezier(0.25, 0.46, 0.45, 0.94)",ke="cubic-bezier(0.165, 0.84, 0.44, 1)";var ye={mixins:[ue,me,xe,fe],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)=>Ie(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,r=e?0:n.length,o=()=>{n.splice(r,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 a=this.getIndex(this.index),h=s.hasClass(this.slides,this.clsActive)&&this.slides[a],c=this.getIndex(t,this.index),l=this.slides[c];if(h===l){o();return}if(this.dir=Ce(t,a),this.prevIndex=a,this.index=c,h&&!s.trigger(h,"beforeitemhide",[this])||!s.trigger(l,"beforeitemshow",[this,h])){this.index=this.prevIndex,o();return}h&&s.trigger(h,"itemhide",[this]),s.trigger(l,"itemshow",[this]),await this._show(h,l,e),h&&s.trigger(h,"itemhidden",[this]),s.trigger(l,"itemshown",[this]),this._transitioner=null,await R(),n.shift(),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?$e:ke: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 Ce(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Ie(t){return .5*t+300}var Ae={mixins:[ye],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:z,Transitioner:le},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},observe:$t(),events:{itemshow({target:t}){s.addClass(t,this.clsActive)},itemshown({target:t}){s.addClass(t,this.clsActivated)},itemhidden({target:t}){s.removeClass(t,this.clsActive,this.clsActivated)}}};({...z});function _(t){return`scale3d(${t}, ${t}, 1)`}var ct={...z,fade:{show(){return[{opacity:0},{opacity:1}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t},{opacity:t}]}},scale:{show(){return[{opacity:0,transform:_(1-.2)},{opacity:1,transform:_(1)}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:_(1-.2*t)},{opacity:t,transform:_(1-.2+.2*t)}]}}},Se={i18n:{counter:"%s / %s"},mixins:[re,Ae],functional:!0,props:{counter:Boolean,preload:Number,nav:Boolean,slidenav:Boolean,delayControls:Number,videoAutoplay:Boolean,template:String},data:()=>({counter:!1,preload:1,nav:!1,slidenav:!0,delayControls:3e3,videoAutoplay:!1,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",clsFit:"uk-lightbox-items-fit",clsZoom:"uk-lightbox-zoom",attrItem:"uk-lightbox-item",selList:".uk-lightbox-items",selClose:".uk-close-large",selNav:".uk-lightbox-thumbnav, .uk-lightbox-dotnav",selCaption:".uk-lightbox-caption",selCounter:".uk-lightbox-counter",pauseOnHover:!1,velocity:2,Animations:ct,template:'<div class="uk-lightbox uk-overflow-hidden"> <div class="uk-lightbox-items"></div> <div class="uk-position-top-right uk-position-small uk-transition-fade" uk-inverse> <button class="uk-lightbox-close uk-close-large" type="button" uk-close></button> </div> <div class="uk-lightbox-slidenav uk-position-center-left uk-position-medium uk-transition-fade" uk-inverse> <a href uk-slidenav-previous uk-lightbox-item="previous"></a> </div> <div class="uk-lightbox-slidenav uk-position-center-right uk-position-medium uk-transition-fade" uk-inverse> <a href uk-slidenav-next uk-lightbox-item="next"></a> </div> <div class="uk-position-center-right uk-position-medium uk-transition-fade" uk-inverse style="max-height: 90vh; overflow: auto;"> <ul class="uk-lightbox-thumbnav uk-lightbox-thumbnav-vertical uk-thumbnav uk-thumbnav-vertical"></ul> <ul class="uk-lightbox-dotnav uk-dotnav uk-dotnav-vertical"></ul> </div> <div class="uk-lightbox-counter uk-text-large uk-position-top-left uk-position-small uk-transition-fade" uk-inverse></div> <div class="uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){let t=s.$(this.template);s.isTag(t,"template")&&(t=s.fragment(s.html(t)));const e=s.$(this.selList,t),i=this.$props.nav;s.remove(s.$$(this.selNav,t).filter(o=>!s.matches(o,`.uk-${i}`)));for(const[o,a]of this.items.entries())s.append(e,"<div>"),i==="thumbnav"&&s.wrapAll(Ee(a,this.videoAutoplay),s.append(s.$(this.selNav,t),`<li uk-lightbox-item="${o}"><a href></a></li>`));this.slidenav||s.remove(s.$$(".uk-lightbox-slidenav",t)),this.counter||s.remove(s.$(this.selCounter,t)),s.addClass(e,this.clsFit);const n=s.$("[uk-close]",t),r=this.t("close");n&&r&&(n.dataset.i18n=JSON.stringify({label:r})),this.$mount(s.append(this.container,t))},events:[{name:"click",self:!0,filter:({bgClose:t})=>t,delegate:({selList:t})=>`${t} > *`,handler(t){t.defaultPrevented||this.hide()}},{name:"click",self:!0,delegate:({clsZoom:t})=>`.${t}`,handler(t){t.defaultPrevented||s.toggleClass(this.list,this.clsFit)}},{name:`${s.pointerMove} ${s.pointerDown} keydown`,filter:({delayControls:t})=>t,handler(){this.showControls()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),s.removeClass(this.slides,this.clsActive),s.Transition.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el:()=>document,handler({keyCode:t}){if(!this.isToggled()||!this.draggable)return;const e=it(t);~e&&this.show(e)}},{name:"beforeitemshow",handler(t){s.html(s.$(this.selCaption,this.$el),this.getItem().caption||""),s.html(s.$(this.selCounter,this.$el),this.t("counter",this.index+1,this.slides.length));for(let e=-this.preload;e<=this.preload;e++)this.loadItem(this.index+e);this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=ct.scale,s.removeClass(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:n,attrs:r={}}=e;if(this.setItem(e,"<span uk-spinner uk-inverse></span>"),!i)return;let o;const a={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":!!this.videoAutoplay};if(n==="image"||lt(i)){const h=m("img");yt(h,e.sources),s.attr(h,{src:i,...s.pick(e,["alt","srcset","sizes"]),...r}),s.on(h,"load",()=>this.setItem(e,s.parent(h)||h)),s.on(h,"error",()=>this.setError(e))}else if(n==="video"||dt(i)){const h=this.videoAutoplay==="inline",c=m("video",{src:i,playsinline:"",controls:h?null:"",loop:h?"":null,muted:h?"":null,poster:this.videoAutoplay?null:e.poster,"uk-video":!!this.videoAutoplay,...r});s.on(c,"loadedmetadata",()=>this.setItem(e,c)),s.on(c,"error",()=>this.setError(e))}else if(n==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(e,m("iframe",{src:i,allowfullscreen:"",class:"uk-lightbox-iframe",...r}));else if(o=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,m("iframe",{src:`https://www.youtube${o[1]||""}.com/embed/${o[2]}${o[3]?`?${o[3]}`:""}`,width:1920,height:1080,...a,...r}));else if(o=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:h,width:c}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,m("iframe",{src:`https://player.vimeo.com/video/${o[1]}${o[2]?`?${o[2]}`:""}`,width:c,height:h,...a,...r}))}catch{this.setError(e)}}},{name:"itemloaded",handler(){this.$emit("resize")}}],update:{read(){for(const t of s.$$(`${this.selList} :not([controls]):is(img,video)`,this.$el))s.toggleClass(t,this.clsZoom,(t.naturalHeight||t.videoHeight)-this.$el.offsetHeight>Math.max(0,(t.naturalWidth||t.videoWidth)-this.$el.offsetWidth))},events:["resize"]},methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||s.trigger(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[s.getIndex(t,this.slides)]},setItem(t,e){s.trigger(this.$el,"itemloaded",[this,s.html(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2" uk-inverse></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=this.delayControls&&setTimeout(this.hideControls,this.delayControls),s.addClass(this.$el,"uk-active","uk-transition-active")},hideControls(){s.removeClass(this.$el,"uk-active","uk-transition-active")}}};function m(t,e){const i=s.fragment(`<${t}>`);return s.attr(i,e),i}function Ee(t,e){const i=t.poster||t.thumb&&(t.type==="image"||lt(t.thumb))?m("img",{src:t.poster||t.thumb,alt:""}):t.thumb&&(t.type==="video"||dt(t.thumb))?m("video",{src:t.thumb,loop:"",playsinline:"",muted:"","uk-video":e==="inline"}):m("canvas");return t.thumbRatio&&(i.style.aspectRatio=t.thumbRatio),i}function lt(t){return t==null?void 0:t.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)}function dt(t){return t==null?void 0:t.match(/\.(mp4|webm|ogv)($|\?)/i)}const Te=".uk-disabled *, .uk-disabled, [disabled]";var ft={install:_e,props:{toggle:String},data:{toggle:"a"},computed:{toggles:({toggle:t},e)=>s.$$(t,e)},watch:{toggles(t){this.hide();for(const e of t)s.isTag(e,"a")&&(e.role="button")}},disconnected(){this.hide()},events:{name:"click",delegate:({toggle:t})=>t,handler(t){t.defaultPrevented||(t.preventDefault(),s.matches(t.current,Te)||this.show(t.current))}},methods:{show(t){let e=this.toggles.map(ut);if(this.nav==="thumbnav"&&Pe.call(this,this.toggles,e),e=s.uniqueBy(e,"source"),s.isElement(t)){const{source:i}=ut(t);t=s.findIndex(e,({source:n})=>i===n)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),s.on(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return(t=this.panel)==null?void 0:t.hide()}}};function _e(t,e){t.lightboxPanel||t.component("lightboxPanel",Se),s.assign(e.props,t.component("lightboxPanel").options.props)}function Pe(t,e){for(const[i,n]of Object.entries(t)){if(e[i].thumb)continue;const r=s.parents(n).reverse().concat(n).find(a=>this.$el.contains(a)&&(a===n||s.$$(this.toggle,a).length===1));if(!r)continue;const o=s.$("img,video",r);o&&(e[i].thumb=o.currentSrc||o.poster||o.src,e[i].thumbRatio=(o.naturalWidth||o.videoWidth)/(o.naturalHeight||o.videoHeight))}}function ut(t){const e={};for(const i of t.getAttributeNames()){const n=i.replace(/^data-/,"");e[n==="href"?"source":n]=t.getAttribute(i)}return e.attrs=x(e.attrs),e}var Ne="lightbox";return typeof window<"u"&&window.UIkit&&window.UIkit.component(Ne,ft),ft}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.29-dev.e02d266 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.29-dev.f3e1c53 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -20,8 +20,11 @@
20
20
  }
21
21
  };
22
22
 
23
+ const keyMap = {
24
+ SPACE: 32};
25
+
23
26
  function maybeDefaultPreventClick(e) {
24
- if (e.target.closest('a[href="#"],a[href=""]')) {
27
+ if (e.type === "keydown" && e.keyCode === keyMap.SPACE || e.target.closest('a[href="#"],a[href=""]')) {
25
28
  e.preventDefault();
26
29
  }
27
30
  }
@@ -1 +1 @@
1
- /*! UIkit 3.25.29-dev.e02d266 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(t,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitnotification",["uikit-util"],o):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitNotification=o(t.UIkit.util))})(this,(function(t){"use strict";var o={props:{container:Boolean},data:{container:!0},computed:{container({container:e}){return e===!0&&this.$container||e&&t.$(e)}}};function c(e){e.target.closest('a[href="#"],a[href=""]')&&e.preventDefault()}var r={mixins:[o],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:"",pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:h,computed:{marginProp:({pos:e})=>`margin-${e.match(/[a-z]+(?=-)/)[0]}`,startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const e=`${this.clsContainer}-${this.pos}`,s=`data-${this.clsContainer}-container`,i=t.$(`.${e}[${s}]`,this.container)||t.append(this.container,`<div class="${this.clsContainer} ${e}" ${s}></div>`);this.$mount(t.append(i,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-uk-close></a> <div>${this.message}</div> </div>`))},async connected(){const e=t.toFloat(t.css(this.$el,this.marginProp));await t.Transition.start(t.css(this.$el,this.startProps),{opacity:1,[this.marginProp]:e}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(e){c(e),this.close()},[t.pointerEnter](){this.timer&&clearTimeout(this.timer)},[t.pointerLeave](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(e){const s=i=>{const n=t.parent(i);t.trigger(i,"close",[this]),t.remove(i),n!=null&&n.hasChildNodes()||t.remove(n)};this.timer&&clearTimeout(this.timer),e||await t.Transition.start(this.$el,this.startProps),s(this.$el)}}};function h(e){e.notification.closeAll=function(s,i){t.apply(document.body,n=>{const a=e.getComponent(n,"notification");a&&(!s||s===a.group)&&a.close(i)})}}var m="notification";return typeof window<"u"&&window.UIkit&&window.UIkit.component(m,r),r}));
1
+ /*! UIkit 3.25.29-dev.f3e1c53 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(e,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitnotification",["uikit-util"],i):(e=typeof globalThis<"u"?globalThis:e||self,e.UIkitNotification=i(e.UIkit.util))})(this,(function(e){"use strict";var i={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&e.$(t)}}};const c={SPACE:32};function h(t){(t.type==="keydown"&&t.keyCode===c.SPACE||t.target.closest('a[href="#"],a[href=""]'))&&t.preventDefault()}var r={mixins:[i],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:m,computed:{marginProp:({pos:t})=>`margin-${t.match(/[a-z]+(?=-)/)[0]}`,startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=`${this.clsContainer}-${this.pos}`,s=`data-${this.clsContainer}-container`,o=e.$(`.${t}[${s}]`,this.container)||e.append(this.container,`<div class="${this.clsContainer} ${t}" ${s}></div>`);this.$mount(e.append(o,`<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 t=e.toFloat(e.css(this.$el,this.marginProp));await e.Transition.start(e.css(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){h(t),this.close()},[e.pointerEnter](){this.timer&&clearTimeout(this.timer)},[e.pointerLeave](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){const s=o=>{const n=e.parent(o);e.trigger(o,"close",[this]),e.remove(o),n!=null&&n.hasChildNodes()||e.remove(n)};this.timer&&clearTimeout(this.timer),t||await e.Transition.start(this.$el,this.startProps),s(this.$el)}}};function m(t){t.notification.closeAll=function(s,o){e.apply(document.body,n=>{const a=t.getComponent(n,"notification");a&&(!s||s===a.group)&&a.close(o)})}}var f="notification";return typeof window<"u"&&window.UIkit&&window.UIkit.component(f,r),r}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.29-dev.e02d266 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.29-dev.f3e1c53 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -13,22 +13,23 @@
13
13
  if (!instance._updates.length) {
14
14
  return;
15
15
  }
16
- if (!instance._updateCount) {
17
- instance._updateCount = 0;
18
- requestAnimationFrame(() => instance._updateCount = 0);
19
- }
20
16
  if (!instance._queued) {
21
17
  instance._queued = /* @__PURE__ */ new Set();
22
18
  uikitUtil.fastdom.read(() => {
23
19
  if (instance._connected) {
24
- runUpdates(instance, instance._queued);
20
+ if (!instance._updateCount) {
21
+ instance._updateCount = 0;
22
+ requestAnimationFrame(() => instance._updateCount = 0);
23
+ }
24
+ if (instance._updateCount < 10) {
25
+ instance._updateCount++;
26
+ runUpdates(instance, instance._queued);
27
+ }
25
28
  }
26
29
  instance._queued = null;
27
30
  });
28
31
  }
29
- if (instance._updateCount++ < 20) {
30
- instance._queued.add(e.type || e);
31
- }
32
+ instance._queued.add(e.type || e);
32
33
  }
33
34
  function runUpdates(instance, types) {
34
35
  for (const { read, write, events = [] } of instance._updates) {
@@ -1 +1 @@
1
- /*! UIkit 3.25.29-dev.e02d266 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(i,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitparallax",["uikit-util"],b):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitParallax=b(i.UIkit.util))})(this,(function(i){"use strict";function b(e,n="update"){e._connected&&e._updates.length&&(e._updateCount||(e._updateCount=0,requestAnimationFrame(()=>e._updateCount=0)),e._queued||(e._queued=new Set,i.fastdom.read(()=>{e._connected&&Y(e,e._queued),e._queued=null})),e._updateCount++<20&&e._queued.add(n.type||n))}function Y(e,n){for(const{read:t,write:r,events:o=[]}of e._updates){if(!n.has("update")&&!o.some(c=>n.has(c)))continue;let s;t&&(s=t.call(e,e._data,n),s&&i.isPlainObject(s)&&i.assign(e._data,s)),r&&s!==!1&&i.fastdom.write(()=>{e._connected&&r.call(e,e._data,n)})}}function Z(e){return F(i.observeResize,e,"resize")}function k(e){return F((n,t)=>i.observeViewportResize(t),e,"resize")}function U(e){return F((n,t)=>({disconnect:i.on(ee(n),"scroll",t,{passive:!0})}),e,"scroll")}function F(e,n,t){return{observe:e,handler(){b(this,t)},...n}}function ee(e){return i.toNodes(e).map(n=>{const{ownerDocument:t}=n,r=i.scrollParent(n,!0);return r===t.scrollingElement?t:r})}var ne={props:{media:Boolean},data:{media:!1},connected(){const e=te(this.media,this.$el);if(this.matchMedia=!0,e){this.mediaObj=window.matchMedia(e);const n=()=>{this.matchMedia=this.mediaObj.matches,i.trigger(this.$el,i.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=i.on(this.mediaObj,"change",()=>{n(),this.$emit("resize")}),n()}},disconnected(){var e;(e=this.offMediaObj)==null||e.call(this)}};function te(e,n){if(i.isString(e)){if(i.startsWith(e,"@"))e=i.toFloat(i.css(n,`--uk-breakpoint-${e.slice(1)}`));else if(isNaN(e))return e}return e&&i.isNumeric(e)?`(min-width: ${e}px)`:""}function re(e,n){var t;return(t=e==null?void 0:e.startsWith)==null?void 0:t.call(e,n)}const{from:oe}=Array;function P(e){return e!==null&&typeof e=="object"}function ie(e){return P(e)&&e===e.window}function se(e){return z(e)===9}function N(e){return z(e)>=1}function z(e){return!ie(e)&&P(e)&&e.nodeType}function C(e){return typeof e=="string"}function ce(e){return e===void 0}function w(e){return e&&l(e)[0]}function l(e){return N(e)?[e]:Array.from(e||[]).filter(N)}function I(e){const n=Object.create(null);return(t,...r)=>n[t]||(n[t]=e(t,...r))}function A(e,n,t){var r;if(P(n)){for(const o in n)A(e,o,n[o]);return}if(ce(t))return(r=w(e))==null?void 0:r.getAttribute(n);for(const o of l(e))t===null?ae(o,n):o.setAttribute(n,t)}function ae(e,n){l(e).forEach(t=>t.removeAttribute(n))}const fe=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function ue(e){return l(e).some(n=>fe.call(n))}function de(e){var n;return(n=w(e))==null?void 0:n.parentElement}function le(e,n){return l(e).filter(t=>T(t,n))}function T(e,n){return l(e).some(t=>t.matches(n))}function he(e,n){e=w(e);const t=e?oe(e.children):[];return n?le(t,n):t}function W(e,n){return he(de(e)).indexOf(e)}function ge(e,n){return l(ve(e,w(n),"querySelectorAll"))}const me=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,be=/(\([^)]*\)|[^,])+/g,pe=I(e=>{let n=!1;if(!e||!C(e))return{};const t=[];for(let r of e.match(be))r=r.trim().replace(me,"$1 *"),n||(n=["!","+","~","-",">"].includes(r[0])),t.push(r);return{selector:t.join(","),selectors:t,isContextSelector:n}}),$e=/(\([^)]*\)|\S)*/,R=I(e=>{e=e.slice(1).trim();const[n]=e.match($e);return[n,e.slice(n.length+1)]});function ve(e,n=document,t){var r;const o=pe(e);if(!o.isContextSelector)return o.selector?M(n,t,o.selector):e;e="";const s=o.selectors.length===1;for(let c of o.selectors){let a,f=n;if(c[0]==="!"&&([a,c]=R(c),f=(r=n.parentElement)==null?void 0:r.closest(a),!c&&s)||f&&c[0]==="-"&&([a,c]=R(c),f=f.previousElementSibling,f=T(f,a)?f:null,!c&&s))return f;if(f){if(s)return c[0]==="~"||c[0]==="+"?(c=`:scope > :nth-child(${W(f)+1}) ${c}`,f=f.parentElement):c[0]===">"&&(c=`:scope ${c}`),M(f,t,c);e+=`${e?",":""}${we(f)} ${c}`}}return se(n)||(n=n.ownerDocument),M(n,t,e)}function M(e,n,t){try{return e[n](t)}catch{return null}}function we(e){const n=[];for(;e.parentNode;){const t=A(e,"id");if(t){n.unshift(`#${xe(t)}`);break}else{let{tagName:r}=e;r!=="HTML"&&(r+=`:nth-child(${W(e)+1})`),n.unshift(r),e=e.parentNode}}return n.join(" > ")}function xe(e){return C(e)?CSS.escape(e):""}const ye=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Se(e){const n=ye.exec(e);if(n)return document.createElement(n[1]);const t=document.createElement("template");return t.innerHTML=e.trim(),_e(t.content.childNodes)}function _e(e){return e.length>1?e:e[0]}function Fe(e,n){return Pe(e)?l(Se(e)):ge(e,n)}function Pe(e){return C(e)&&re(e.trim(),"<")}function Ce(e){return ue(e)?Math.ceil(Math.max(0,...Fe("[stroke]",e).map(n=>{var t;return((t=n.getTotalLength)==null?void 0:t.call(n))||0}))):0}const x={x:y,y,rotate:y,scale:y,color:O,backgroundColor:O,borderColor:O,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:je,stroke:Ee,bgx:D,bgy:D},{keys:q}=Object;var Me={mixins:[ne],props:Q(q(x),"list"),data:Q(q(x),void 0),computed:{props(e,n){const t={};for(const o in e)o in x&&!i.isUndefined(e[o])&&(t[o]=e[o].slice());const r={};for(const o in t)r[o]=x[o](o,n,t[o],t);return r}},events:{load(){this.$emit()}},methods:{reset(){i.resetProps(this.$el,this.getCss(0))},getCss(e){const n={};for(const t in this.props)this.props[t](n,i.clamp(e));return n.willChange=Object.keys(n).map(i.propName).join(","),n}}};function y(e,n,t){let r=_(t)||{x:"px",y:"px",rotate:"deg"}[e]||"",o;return e==="x"||e==="y"?(e=`translate${i.ucfirst(e)}`,o=s=>i.toFloat(i.toFloat(s).toFixed(r==="px"?0:6))):e==="scale"&&(r="",o=s=>{var c;return _([s])?i.toPx(s,"width",n,!0)/n[`offset${(c=s.endsWith)!=null&&c.call(s,"vh")?"Height":"Width"}`]:i.toFloat(s)}),t.length===1&&t.unshift(e==="scale"?1:0),t=m(t,o),(s,c)=>{s.transform=`${s.transform||""} ${e}(${p(t,c)}${r})`}}function O(e,n,t){return t.length===1&&t.unshift($(n,e,"")),t=m(t,r=>Oe(n,r)),(r,o)=>{const[s,c,a]=L(t,o),f=s.map((h,u)=>(h+=a*(c[u]-h),u===3?i.toFloat(h):parseInt(h,10))).join(",");r[e]=`rgba(${f})`}}function Oe(e,n){return $(e,"color",n).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function g(e,n,t){t.length===1&&t.unshift(0);const r=_(t)||{blur:"px",hue:"deg"}[e]||"%";return e={fopacity:"opacity",hue:"hue-rotate"}[e]||e,t=m(t),(o,s)=>{const c=p(t,s);o.filter=`${o.filter||""} ${e}(${c+r})`}}function je(e,n,t){return t.length===1&&t.unshift($(n,e,"")),t=m(t),(r,o)=>{r[e]=p(t,o)}}function Ee(e,n,t){t.length===1&&t.unshift(0);const r=_(t),o=Ce(n);return t=m(t.reverse(),s=>(s=i.toFloat(s),r==="%"?s*o/100:s)),t.some(([s])=>s)?(i.css(n,"strokeDasharray",o),(s,c)=>{s.strokeDashoffset=p(t,c)}):i.noop}function D(e,n,t,r){t.length===1&&t.unshift(0);const o=e==="bgy"?"height":"width";r[e]=m(t,a=>i.toPx(a,o,n));const s=["bgx","bgy"].filter(a=>a in r);if(s.length===2&&e==="bgx")return i.noop;if($(n,"backgroundSize","")==="cover")return Ne(e,n,t,r);const c={};for(const a of s)c[a]=H(n,a);return V(s,c,r)}function Ne(e,n,t,r){const o=ze(n);if(!o.width)return i.noop;const s={width:n.offsetWidth,height:n.offsetHeight},c=["bgx","bgy"].filter(u=>u in r),a={};for(const u of c){const d=r[u].map(([We])=>We),v=Math.min(...d),E=Math.max(...d),K=d.indexOf(v)<d.indexOf(E),X=E-v;a[u]=`${(K?-X:0)-(K?v:E)}px`,s[u==="bgy"?"height":"width"]+=X}const f=i.Dimensions.cover(o,s);for(const u of c){const d=u==="bgy"?"height":"width",v=f[d]-s[d];a[u]=`max(${H(n,u)},-${v}px) + ${a[u]}`}const h=V(c,a,r);return(u,d)=>{h(u,d),u.backgroundSize=`${f.width}px ${f.height}px`,u.backgroundRepeat="no-repeat"}}function H(e,n){return $(e,`background-position-${n.slice(-1)}`,"")}function V(e,n,t){return function(r,o){for(const s of e){const c=p(t[s],o);r[`background-position-${s.slice(-1)}`]=`calc(${n[s]} + ${c}px)`}}}const B={},S={};function ze(e){const n=i.css(e,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[n])return S[n];const t=new Image;return n&&(t.src=n,!t.naturalWidth&&!B[n])?(i.once(t,"error load",()=>{S[n]=j(t),i.trigger(e,i.createEvent("load",!1))}),B[n]=!0,j(t)):S[n]=j(t)}function j(e){return{width:e.naturalWidth,height:e.naturalHeight}}function m(e,n=i.toFloat){const t=[],{length:r}=e;let o=0;for(let s=0;s<r;s++){let[c,a]=i.isString(e[s])?e[s].trim().split(/ (?![^(]*\))/):[e[s]];if(c=n(c),a=a?i.toFloat(a)/100:null,s===0?a===null?a=0:a&&t.push([c,0]):s===r-1&&(a===null?a=1:a!==1&&(t.push([c,a]),a=1)),t.push([c,a]),a===null)o++;else if(o){const f=t[s-o-1][1],h=(a-f)/(o+1);for(let u=o;u>0;u--)t[s-u][1]=f+h*(o-u+1);o=0}}return t}function L(e,n){const t=i.findIndex(e.slice(1),([,r])=>n<=r)+1;return[e[t-1][0],e[t][0],(n-e[t-1][1])/(e[t][1]-e[t-1][1])]}function p(e,n){const[t,r,o]=L(e,n);return t+(r-t)*o}const Ie=/^-?\d+(?:\.\d+)?(\S+)?/;function _(e,n){var t;for(const r of e){const o=(t=r.match)==null?void 0:t.call(r,Ie);if(o)return o[1]}return n}function $(e,n,t){const r=e.style[n],o=i.css(i.css(e,n,t),n);return e.style[n]=r,o}function Q(e,n){return e.reduce((t,r)=>(t[r]=n,t),{})}function Ae(e,n){return n>=0?Math.pow(e,n+1):1-Math.pow(1-e,1-n)}var G={mixins:[Me],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:e},n)=>J(e&&i.query(e,n)||n),start({start:e}){return i.toPx(e,"height",this.target,!0)},end({end:e,viewport:n}){return i.toPx(e||(n=(1-n)*100)&&`${n}vh+${n}%`,"height",this.target,!0)}},observe:[k(),U({target:({target:e})=>e}),Z({target:({$el:e,target:n})=>[e,n,i.scrollParent(n,!0)]})],update:{read({percent:e},n){if((!n.has("scroll")||n.has("resize"))&&(e=!1),!i.isVisible(this.$el))return!1;if(!this.matchMedia)return;const t=e;return e=Ae(i.scrolledOver(this.target,this.start,this.end),this.easing),{percent:e,style:t===e?!1:this.getCss(e)}},write({style:e}){if(!this.matchMedia){this.reset();return}e&&i.css(this.$el,e)},events:["scroll","resize"]}};function J(e){return e?"offsetTop"in e?e:J(i.parent(e)):document.documentElement}var Te="parallax";return typeof window<"u"&&window.UIkit&&window.UIkit.component(Te,G),G}));
1
+ /*! UIkit 3.25.29-dev.f3e1c53 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(i,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitparallax",["uikit-util"],b):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitParallax=b(i.UIkit.util))})(this,(function(i){"use strict";function b(e,n="update"){e._connected&&e._updates.length&&(e._queued||(e._queued=new Set,i.fastdom.read(()=>{e._connected&&(e._updateCount||(e._updateCount=0,requestAnimationFrame(()=>e._updateCount=0)),e._updateCount<10&&(e._updateCount++,Y(e,e._queued))),e._queued=null})),e._queued.add(n.type||n))}function Y(e,n){for(const{read:t,write:r,events:o=[]}of e._updates){if(!n.has("update")&&!o.some(c=>n.has(c)))continue;let s;t&&(s=t.call(e,e._data,n),s&&i.isPlainObject(s)&&i.assign(e._data,s)),r&&s!==!1&&i.fastdom.write(()=>{e._connected&&r.call(e,e._data,n)})}}function Z(e){return C(i.observeResize,e,"resize")}function k(e){return C((n,t)=>i.observeViewportResize(t),e,"resize")}function U(e){return C((n,t)=>({disconnect:i.on(ee(n),"scroll",t,{passive:!0})}),e,"scroll")}function C(e,n,t){return{observe:e,handler(){b(this,t)},...n}}function ee(e){return i.toNodes(e).map(n=>{const{ownerDocument:t}=n,r=i.scrollParent(n,!0);return r===t.scrollingElement?t:r})}var ne={props:{media:Boolean},data:{media:!1},connected(){const e=te(this.media,this.$el);if(this.matchMedia=!0,e){this.mediaObj=window.matchMedia(e);const n=()=>{this.matchMedia=this.mediaObj.matches,i.trigger(this.$el,i.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=i.on(this.mediaObj,"change",()=>{n(),this.$emit("resize")}),n()}},disconnected(){var e;(e=this.offMediaObj)==null||e.call(this)}};function te(e,n){if(i.isString(e)){if(i.startsWith(e,"@"))e=i.toFloat(i.css(n,`--uk-breakpoint-${e.slice(1)}`));else if(isNaN(e))return e}return e&&i.isNumeric(e)?`(min-width: ${e}px)`:""}function re(e,n){var t;return(t=e==null?void 0:e.startsWith)==null?void 0:t.call(e,n)}const{from:oe}=Array;function F(e){return e!==null&&typeof e=="object"}function ie(e){return F(e)&&e===e.window}function se(e){return z(e)===9}function N(e){return z(e)>=1}function z(e){return!ie(e)&&F(e)&&e.nodeType}function P(e){return typeof e=="string"}function ce(e){return e===void 0}function w(e){return e&&l(e)[0]}function l(e){return N(e)?[e]:Array.from(e||[]).filter(N)}function I(e){const n=Object.create(null);return(t,...r)=>n[t]||(n[t]=e(t,...r))}function A(e,n,t){var r;if(F(n)){for(const o in n)A(e,o,n[o]);return}if(ce(t))return(r=w(e))==null?void 0:r.getAttribute(n);for(const o of l(e))t===null?ae(o,n):o.setAttribute(n,t)}function ae(e,n){l(e).forEach(t=>t.removeAttribute(n))}const fe=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function ue(e){return l(e).some(n=>fe.call(n))}function de(e){var n;return(n=w(e))==null?void 0:n.parentElement}function le(e,n){return l(e).filter(t=>T(t,n))}function T(e,n){return l(e).some(t=>t.matches(n))}function he(e,n){e=w(e);const t=e?oe(e.children):[];return n?le(t,n):t}function W(e,n){return he(de(e)).indexOf(e)}function ge(e,n){return l(ve(e,w(n),"querySelectorAll"))}const me=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,be=/(\([^)]*\)|[^,])+/g,pe=I(e=>{let n=!1;if(!e||!P(e))return{};const t=[];for(let r of e.match(be))r=r.trim().replace(me,"$1 *"),n||(n=["!","+","~","-",">"].includes(r[0])),t.push(r);return{selector:t.join(","),selectors:t,isContextSelector:n}}),$e=/(\([^)]*\)|\S)*/,R=I(e=>{e=e.slice(1).trim();const[n]=e.match($e);return[n,e.slice(n.length+1)]});function ve(e,n=document,t){var r;const o=pe(e);if(!o.isContextSelector)return o.selector?M(n,t,o.selector):e;e="";const s=o.selectors.length===1;for(let c of o.selectors){let a,f=n;if(c[0]==="!"&&([a,c]=R(c),f=(r=n.parentElement)==null?void 0:r.closest(a),!c&&s)||f&&c[0]==="-"&&([a,c]=R(c),f=f.previousElementSibling,f=T(f,a)?f:null,!c&&s))return f;if(f){if(s)return c[0]==="~"||c[0]==="+"?(c=`:scope > :nth-child(${W(f)+1}) ${c}`,f=f.parentElement):c[0]===">"&&(c=`:scope ${c}`),M(f,t,c);e+=`${e?",":""}${we(f)} ${c}`}}return se(n)||(n=n.ownerDocument),M(n,t,e)}function M(e,n,t){try{return e[n](t)}catch{return null}}function we(e){const n=[];for(;e.parentNode;){const t=A(e,"id");if(t){n.unshift(`#${xe(t)}`);break}else{let{tagName:r}=e;r!=="HTML"&&(r+=`:nth-child(${W(e)+1})`),n.unshift(r),e=e.parentNode}}return n.join(" > ")}function xe(e){return P(e)?CSS.escape(e):""}const ye=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function _e(e){const n=ye.exec(e);if(n)return document.createElement(n[1]);const t=document.createElement("template");return t.innerHTML=e.trim(),Se(t.content.childNodes)}function Se(e){return e.length>1?e:e[0]}function Ce(e,n){return Fe(e)?l(_e(e)):ge(e,n)}function Fe(e){return P(e)&&re(e.trim(),"<")}function Pe(e){return ue(e)?Math.ceil(Math.max(0,...Ce("[stroke]",e).map(n=>{var t;return((t=n.getTotalLength)==null?void 0:t.call(n))||0}))):0}const x={x:y,y,rotate:y,scale:y,color:O,backgroundColor:O,borderColor:O,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:je,stroke:Ee,bgx:D,bgy:D},{keys:q}=Object;var Me={mixins:[ne],props:Q(q(x),"list"),data:Q(q(x),void 0),computed:{props(e,n){const t={};for(const o in e)o in x&&!i.isUndefined(e[o])&&(t[o]=e[o].slice());const r={};for(const o in t)r[o]=x[o](o,n,t[o],t);return r}},events:{load(){this.$emit()}},methods:{reset(){i.resetProps(this.$el,this.getCss(0))},getCss(e){const n={};for(const t in this.props)this.props[t](n,i.clamp(e));return n.willChange=Object.keys(n).map(i.propName).join(","),n}}};function y(e,n,t){let r=S(t)||{x:"px",y:"px",rotate:"deg"}[e]||"",o;return e==="x"||e==="y"?(e=`translate${i.ucfirst(e)}`,o=s=>i.toFloat(i.toFloat(s).toFixed(r==="px"?0:6))):e==="scale"&&(r="",o=s=>{var c;return S([s])?i.toPx(s,"width",n,!0)/n[`offset${(c=s.endsWith)!=null&&c.call(s,"vh")?"Height":"Width"}`]:i.toFloat(s)}),t.length===1&&t.unshift(e==="scale"?1:0),t=m(t,o),(s,c)=>{s.transform=`${s.transform||""} ${e}(${p(t,c)}${r})`}}function O(e,n,t){return t.length===1&&t.unshift($(n,e,"")),t=m(t,r=>Oe(n,r)),(r,o)=>{const[s,c,a]=L(t,o),f=s.map((h,u)=>(h+=a*(c[u]-h),u===3?i.toFloat(h):parseInt(h,10))).join(",");r[e]=`rgba(${f})`}}function Oe(e,n){return $(e,"color",n).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function g(e,n,t){t.length===1&&t.unshift(0);const r=S(t)||{blur:"px",hue:"deg"}[e]||"%";return e={fopacity:"opacity",hue:"hue-rotate"}[e]||e,t=m(t),(o,s)=>{const c=p(t,s);o.filter=`${o.filter||""} ${e}(${c+r})`}}function je(e,n,t){return t.length===1&&t.unshift($(n,e,"")),t=m(t),(r,o)=>{r[e]=p(t,o)}}function Ee(e,n,t){t.length===1&&t.unshift(0);const r=S(t),o=Pe(n);return t=m(t.reverse(),s=>(s=i.toFloat(s),r==="%"?s*o/100:s)),t.some(([s])=>s)?(i.css(n,"strokeDasharray",o),(s,c)=>{s.strokeDashoffset=p(t,c)}):i.noop}function D(e,n,t,r){t.length===1&&t.unshift(0);const o=e==="bgy"?"height":"width";r[e]=m(t,a=>i.toPx(a,o,n));const s=["bgx","bgy"].filter(a=>a in r);if(s.length===2&&e==="bgx")return i.noop;if($(n,"backgroundSize","")==="cover")return Ne(e,n,t,r);const c={};for(const a of s)c[a]=H(n,a);return V(s,c,r)}function Ne(e,n,t,r){const o=ze(n);if(!o.width)return i.noop;const s={width:n.offsetWidth,height:n.offsetHeight},c=["bgx","bgy"].filter(u=>u in r),a={};for(const u of c){const d=r[u].map(([We])=>We),v=Math.min(...d),E=Math.max(...d),K=d.indexOf(v)<d.indexOf(E),X=E-v;a[u]=`${(K?-X:0)-(K?v:E)}px`,s[u==="bgy"?"height":"width"]+=X}const f=i.Dimensions.cover(o,s);for(const u of c){const d=u==="bgy"?"height":"width",v=f[d]-s[d];a[u]=`max(${H(n,u)},-${v}px) + ${a[u]}`}const h=V(c,a,r);return(u,d)=>{h(u,d),u.backgroundSize=`${f.width}px ${f.height}px`,u.backgroundRepeat="no-repeat"}}function H(e,n){return $(e,`background-position-${n.slice(-1)}`,"")}function V(e,n,t){return function(r,o){for(const s of e){const c=p(t[s],o);r[`background-position-${s.slice(-1)}`]=`calc(${n[s]} + ${c}px)`}}}const B={},_={};function ze(e){const n=i.css(e,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(_[n])return _[n];const t=new Image;return n&&(t.src=n,!t.naturalWidth&&!B[n])?(i.once(t,"error load",()=>{_[n]=j(t),i.trigger(e,i.createEvent("load",!1))}),B[n]=!0,j(t)):_[n]=j(t)}function j(e){return{width:e.naturalWidth,height:e.naturalHeight}}function m(e,n=i.toFloat){const t=[],{length:r}=e;let o=0;for(let s=0;s<r;s++){let[c,a]=i.isString(e[s])?e[s].trim().split(/ (?![^(]*\))/):[e[s]];if(c=n(c),a=a?i.toFloat(a)/100:null,s===0?a===null?a=0:a&&t.push([c,0]):s===r-1&&(a===null?a=1:a!==1&&(t.push([c,a]),a=1)),t.push([c,a]),a===null)o++;else if(o){const f=t[s-o-1][1],h=(a-f)/(o+1);for(let u=o;u>0;u--)t[s-u][1]=f+h*(o-u+1);o=0}}return t}function L(e,n){const t=i.findIndex(e.slice(1),([,r])=>n<=r)+1;return[e[t-1][0],e[t][0],(n-e[t-1][1])/(e[t][1]-e[t-1][1])]}function p(e,n){const[t,r,o]=L(e,n);return t+(r-t)*o}const Ie=/^-?\d+(?:\.\d+)?(\S+)?/;function S(e,n){var t;for(const r of e){const o=(t=r.match)==null?void 0:t.call(r,Ie);if(o)return o[1]}return n}function $(e,n,t){const r=e.style[n],o=i.css(i.css(e,n,t),n);return e.style[n]=r,o}function Q(e,n){return e.reduce((t,r)=>(t[r]=n,t),{})}function Ae(e,n){return n>=0?Math.pow(e,n+1):1-Math.pow(1-e,1-n)}var G={mixins:[Me],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:e},n)=>J(e&&i.query(e,n)||n),start({start:e}){return i.toPx(e,"height",this.target,!0)},end({end:e,viewport:n}){return i.toPx(e||(n=(1-n)*100)&&`${n}vh+${n}%`,"height",this.target,!0)}},observe:[k(),U({target:({target:e})=>e}),Z({target:({$el:e,target:n})=>[e,n,i.scrollParent(n,!0)]})],update:{read({percent:e},n){if((!n.has("scroll")||n.has("resize"))&&(e=!1),!i.isVisible(this.$el))return!1;if(!this.matchMedia)return;const t=e;return e=Ae(i.scrolledOver(this.target,this.start,this.end),this.easing),{percent:e,style:t===e?!1:this.getCss(e)}},write({style:e}){if(!this.matchMedia){this.reset();return}e&&i.css(this.$el,e)},events:["scroll","resize"]}};function J(e){return e?"offsetTop"in e?e:J(i.parent(e)):document.documentElement}var Te="parallax";return typeof window<"u"&&window.UIkit&&window.UIkit.component(Te,G),G}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.29-dev.e02d266 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.29-dev.f3e1c53 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -1 +1 @@
1
- /*! UIkit 3.25.29-dev.e02d266 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(i,$){typeof exports=="object"&&typeof module<"u"?module.exports=$(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider_parallax",["uikit-util"],$):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitSlider_parallax=$(i.UIkit.util))})(this,(function(i){"use strict";var $={props:{media:Boolean},data:{media:!1},connected(){const n=Y(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const t=()=>{this.matchMedia=this.mediaObj.matches,i.trigger(this.$el,i.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=i.on(this.mediaObj,"change",()=>{t(),this.$emit("resize")}),t()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function Y(n,t){if(i.isString(n)){if(i.startsWith(n,"@"))n=i.toFloat(i.css(t,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&i.isNumeric(n)?`(min-width: ${n}px)`:""}function Z(n,t){var e;return(e=n==null?void 0:n.startsWith)==null?void 0:e.call(n,t)}const{from:k}=Array;function C(n){return n!==null&&typeof n=="object"}function U(n){return C(n)&&n===n.window}function nn(n){return E(n)===9}function _(n){return E(n)>=1}function E(n){return!U(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function tn(n){return n===void 0}function w(n){return n&&d(n)[0]}function d(n){return _(n)?[n]:Array.from(n||[]).filter(_)}function N(n){const t=Object.create(null);return(e,...r)=>t[e]||(t[e]=n(e,...r))}function T(n,t,e){var r;if(C(t)){for(const o in t)T(n,o,t[o]);return}if(tn(e))return(r=w(n))==null?void 0:r.getAttribute(t);for(const o of d(n))e===null?en(o,t):o.setAttribute(t,e)}function en(n,t){d(n).forEach(e=>e.removeAttribute(t))}const rn=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function on(n){return d(n).some(t=>rn.call(t))}function cn(n){var t;return(t=w(n))==null?void 0:t.parentElement}function sn(n,t){return d(n).filter(e=>W(e,t))}function W(n,t){return d(n).some(e=>e.matches(t))}function an(n,t){n=w(n);const e=n?k(n.children):[];return t?sn(e,t):e}function A(n,t){return an(cn(n)).indexOf(n)}function fn(n,t){return d(gn(n,w(t),"querySelectorAll"))}const un=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ln=/(\([^)]*\)|[^,])+/g,dn=N(n=>{let t=!1;if(!n||!M(n))return{};const e=[];for(let r of n.match(ln))r=r.trim().replace(un,"$1 *"),t||(t=["!","+","~","-",">"].includes(r[0])),e.push(r);return{selector:e.join(","),selectors:e,isContextSelector:t}}),hn=/(\([^)]*\)|\S)*/,D=N(n=>{n=n.slice(1).trim();const[t]=n.match(hn);return[t,n.slice(t.length+1)]});function gn(n,t=document,e){var r;const o=dn(n);if(!o.isContextSelector)return o.selector?P(t,e,o.selector):n;n="";const c=o.selectors.length===1;for(let s of o.selectors){let a,f=t;if(s[0]==="!"&&([a,s]=D(s),f=(r=t.parentElement)==null?void 0:r.closest(a),!s&&c)||f&&s[0]==="-"&&([a,s]=D(s),f=f.previousElementSibling,f=W(f,a)?f:null,!s&&c))return f;if(f){if(c)return s[0]==="~"||s[0]==="+"?(s=`:scope > :nth-child(${A(f)+1}) ${s}`,f=f.parentElement):s[0]===">"&&(s=`:scope ${s}`),P(f,e,s);n+=`${n?",":""}${mn(f)} ${s}`}}return nn(t)||(t=t.ownerDocument),P(t,e,n)}function P(n,t,e){try{return n[t](e)}catch{return null}}function mn(n){const t=[];for(;n.parentNode;){const e=T(n,"id");if(e){t.unshift(`#${$n(e)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${A(n)+1})`),t.unshift(r),n=n.parentNode}}return t.join(" > ")}function $n(n){return M(n)?CSS.escape(n):""}const bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function pn(n){const t=bn.exec(n);if(t)return document.createElement(t[1]);const e=document.createElement("template");return e.innerHTML=n.trim(),xn(e.content.childNodes)}function xn(n){return n.length>1?n:n[0]}function wn(n,t){return yn(n)?d(pn(n)):fn(n,t)}function yn(n){return M(n)&&Z(n.trim(),"<")}function vn(n){return on(n)?Math.ceil(Math.max(0,...wn("[stroke]",n).map(t=>{var e;return((e=t.getTotalLength)==null?void 0:e.call(t))||0}))):0}const y={x:v,y:v,rotate:v,scale:v,color:O,backgroundColor:O,borderColor:O,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Cn,stroke:Mn,bgx:R,bgy:R},{keys:H}=Object;var Sn={mixins:[$],props:q(H(y),"list"),data:q(H(y),void 0),computed:{props(n,t){const e={};for(const o in n)o in y&&!i.isUndefined(n[o])&&(e[o]=n[o].slice());const r={};for(const o in e)r[o]=y[o](o,t,e[o],e);return r}},events:{load(){this.$emit()}},methods:{reset(){i.resetProps(this.$el,this.getCss(0))},getCss(n){const t={};for(const e in this.props)this.props[e](t,i.clamp(n));return t.willChange=Object.keys(t).map(i.propName).join(","),t}}};function v(n,t,e){let r=F(e)||{x:"px",y:"px",rotate:"deg"}[n]||"",o;return n==="x"||n==="y"?(n=`translate${i.ucfirst(n)}`,o=c=>i.toFloat(i.toFloat(c).toFixed(r==="px"?0:6))):n==="scale"&&(r="",o=c=>{var s;return F([c])?i.toPx(c,"width",t,!0)/t[`offset${(s=c.endsWith)!=null&&s.call(c,"vh")?"Height":"Width"}`]:i.toFloat(c)}),e.length===1&&e.unshift(n==="scale"?1:0),e=m(e,o),(c,s)=>{c.transform=`${c.transform||""} ${n}(${b(e,s)}${r})`}}function O(n,t,e){return e.length===1&&e.unshift(p(t,n,"")),e=m(e,r=>Fn(t,r)),(r,o)=>{const[c,s,a]=L(e,o),f=c.map((h,u)=>(h+=a*(s[u]-h),u===3?i.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${f})`}}function Fn(n,t){return p(n,"color",t).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function g(n,t,e){e.length===1&&e.unshift(0);const r=F(e)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,e=m(e),(o,c)=>{const s=b(e,c);o.filter=`${o.filter||""} ${n}(${s+r})`}}function Cn(n,t,e){return e.length===1&&e.unshift(p(t,n,"")),e=m(e),(r,o)=>{r[n]=b(e,o)}}function Mn(n,t,e){e.length===1&&e.unshift(0);const r=F(e),o=vn(t);return e=m(e.reverse(),c=>(c=i.toFloat(c),r==="%"?c*o/100:c)),e.some(([c])=>c)?(i.css(t,"strokeDasharray",o),(c,s)=>{c.strokeDashoffset=b(e,s)}):i.noop}function R(n,t,e,r){e.length===1&&e.unshift(0);const o=n==="bgy"?"height":"width";r[n]=m(e,a=>i.toPx(a,o,t));const c=["bgx","bgy"].filter(a=>a in r);if(c.length===2&&n==="bgx")return i.noop;if(p(t,"backgroundSize","")==="cover")return Pn(n,t,e,r);const s={};for(const a of c)s[a]=B(t,a);return V(c,s,r)}function Pn(n,t,e,r){const o=On(t);if(!o.width)return i.noop;const c={width:t.offsetWidth,height:t.offsetHeight},s=["bgx","bgy"].filter(u=>u in r),a={};for(const u of s){const l=r[u].map(([_n])=>_n),x=Math.min(...l),I=Math.max(...l),K=l.indexOf(x)<l.indexOf(I),X=I-x;a[u]=`${(K?-X:0)-(K?x:I)}px`,c[u==="bgy"?"height":"width"]+=X}const f=i.Dimensions.cover(o,c);for(const u of s){const l=u==="bgy"?"height":"width",x=f[l]-c[l];a[u]=`max(${B(t,u)},-${x}px) + ${a[u]}`}const h=V(s,a,r);return(u,l)=>{h(u,l),u.backgroundSize=`${f.width}px ${f.height}px`,u.backgroundRepeat="no-repeat"}}function B(n,t){return p(n,`background-position-${t.slice(-1)}`,"")}function V(n,t,e){return function(r,o){for(const c of n){const s=b(e[c],o);r[`background-position-${c.slice(-1)}`]=`calc(${t[c]} + ${s}px)`}}}const z={},S={};function On(n){const t=i.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[t])return S[t];const e=new Image;return t&&(e.src=t,!e.naturalWidth&&!z[t])?(i.once(e,"error load",()=>{S[t]=j(e),i.trigger(n,i.createEvent("load",!1))}),z[t]=!0,j(e)):S[t]=j(e)}function j(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,t=i.toFloat){const e=[],{length:r}=n;let o=0;for(let c=0;c<r;c++){let[s,a]=i.isString(n[c])?n[c].trim().split(/ (?![^(]*\))/):[n[c]];if(s=t(s),a=a?i.toFloat(a)/100:null,c===0?a===null?a=0:a&&e.push([s,0]):c===r-1&&(a===null?a=1:a!==1&&(e.push([s,a]),a=1)),e.push([s,a]),a===null)o++;else if(o){const f=e[c-o-1][1],h=(a-f)/(o+1);for(let u=o;u>0;u--)e[c-u][1]=f+h*(o-u+1);o=0}}return e}function L(n,t){const e=i.findIndex(n.slice(1),([,r])=>t<=r)+1;return[n[e-1][0],n[e][0],(t-n[e-1][1])/(n[e][1]-n[e-1][1])]}function b(n,t){const[e,r,o]=L(n,t);return e+(r-e)*o}const jn=/^-?\d+(?:\.\d+)?(\S+)?/;function F(n,t){var e;for(const r of n){const o=(e=r.match)==null?void 0:e.call(r,jn);if(o)return o[1]}return t}function p(n,t,e){const r=n.style[t],o=i.css(i.css(n,t,e),t);return n.style[t]=r,o}function q(n,t){return n.reduce((e,r)=>(e[r]=t,e),{})}var Q={mixins:[Sn],beforeConnect(){this.item=this.$el.closest(`.${this.$options.id.replace("parallax","items")} > *`)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:t,duration:e,timing:r,dir:o}}){i.fastdom.read(()=>{if(!this.matchMedia)return;const c=this.getCss(J(n,o,t)),s=this.getCss(G(n)?.5:o>0?1:0);i.fastdom.write(()=>{i.css(this.$el,c),i.Transition.start(this.$el,s,e,r).catch(i.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:n})=>n,handler(){i.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:t,dir:e}}){i.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const r=this.getCss(J(n,e,t));i.fastdom.write(()=>i.css(this.$el,r))})}}]};function G(n){return i.endsWith(n,"in")}function J(n,t,e){return e/=2,G(n)^t<0?e:1-e}var In="sliderParallax";return typeof window<"u"&&window.UIkit&&window.UIkit.component(In,Q),Q}));
1
+ /*! UIkit 3.25.29-dev.f3e1c53 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(i,$){typeof exports=="object"&&typeof module<"u"?module.exports=$(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider_parallax",["uikit-util"],$):(i=typeof globalThis<"u"?globalThis:i||self,i.UIkitSlider_parallax=$(i.UIkit.util))})(this,(function(i){"use strict";var $={props:{media:Boolean},data:{media:!1},connected(){const n=Y(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const t=()=>{this.matchMedia=this.mediaObj.matches,i.trigger(this.$el,i.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=i.on(this.mediaObj,"change",()=>{t(),this.$emit("resize")}),t()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function Y(n,t){if(i.isString(n)){if(i.startsWith(n,"@"))n=i.toFloat(i.css(t,`--uk-breakpoint-${n.slice(1)}`));else if(isNaN(n))return n}return n&&i.isNumeric(n)?`(min-width: ${n}px)`:""}function Z(n,t){var e;return(e=n==null?void 0:n.startsWith)==null?void 0:e.call(n,t)}const{from:k}=Array;function C(n){return n!==null&&typeof n=="object"}function U(n){return C(n)&&n===n.window}function nn(n){return E(n)===9}function _(n){return E(n)>=1}function E(n){return!U(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function tn(n){return n===void 0}function w(n){return n&&d(n)[0]}function d(n){return _(n)?[n]:Array.from(n||[]).filter(_)}function N(n){const t=Object.create(null);return(e,...r)=>t[e]||(t[e]=n(e,...r))}function T(n,t,e){var r;if(C(t)){for(const o in t)T(n,o,t[o]);return}if(tn(e))return(r=w(n))==null?void 0:r.getAttribute(t);for(const o of d(n))e===null?en(o,t):o.setAttribute(t,e)}function en(n,t){d(n).forEach(e=>e.removeAttribute(t))}const rn=typeof window<"u"&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function on(n){return d(n).some(t=>rn.call(t))}function cn(n){var t;return(t=w(n))==null?void 0:t.parentElement}function sn(n,t){return d(n).filter(e=>W(e,t))}function W(n,t){return d(n).some(e=>e.matches(t))}function an(n,t){n=w(n);const e=n?k(n.children):[];return t?sn(e,t):e}function A(n,t){return an(cn(n)).indexOf(n)}function fn(n,t){return d(gn(n,w(t),"querySelectorAll"))}const un=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ln=/(\([^)]*\)|[^,])+/g,dn=N(n=>{let t=!1;if(!n||!M(n))return{};const e=[];for(let r of n.match(ln))r=r.trim().replace(un,"$1 *"),t||(t=["!","+","~","-",">"].includes(r[0])),e.push(r);return{selector:e.join(","),selectors:e,isContextSelector:t}}),hn=/(\([^)]*\)|\S)*/,D=N(n=>{n=n.slice(1).trim();const[t]=n.match(hn);return[t,n.slice(t.length+1)]});function gn(n,t=document,e){var r;const o=dn(n);if(!o.isContextSelector)return o.selector?P(t,e,o.selector):n;n="";const c=o.selectors.length===1;for(let s of o.selectors){let a,f=t;if(s[0]==="!"&&([a,s]=D(s),f=(r=t.parentElement)==null?void 0:r.closest(a),!s&&c)||f&&s[0]==="-"&&([a,s]=D(s),f=f.previousElementSibling,f=W(f,a)?f:null,!s&&c))return f;if(f){if(c)return s[0]==="~"||s[0]==="+"?(s=`:scope > :nth-child(${A(f)+1}) ${s}`,f=f.parentElement):s[0]===">"&&(s=`:scope ${s}`),P(f,e,s);n+=`${n?",":""}${mn(f)} ${s}`}}return nn(t)||(t=t.ownerDocument),P(t,e,n)}function P(n,t,e){try{return n[t](e)}catch{return null}}function mn(n){const t=[];for(;n.parentNode;){const e=T(n,"id");if(e){t.unshift(`#${$n(e)}`);break}else{let{tagName:r}=n;r!=="HTML"&&(r+=`:nth-child(${A(n)+1})`),t.unshift(r),n=n.parentNode}}return t.join(" > ")}function $n(n){return M(n)?CSS.escape(n):""}const bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function pn(n){const t=bn.exec(n);if(t)return document.createElement(t[1]);const e=document.createElement("template");return e.innerHTML=n.trim(),xn(e.content.childNodes)}function xn(n){return n.length>1?n:n[0]}function wn(n,t){return yn(n)?d(pn(n)):fn(n,t)}function yn(n){return M(n)&&Z(n.trim(),"<")}function vn(n){return on(n)?Math.ceil(Math.max(0,...wn("[stroke]",n).map(t=>{var e;return((e=t.getTotalLength)==null?void 0:e.call(t))||0}))):0}const y={x:v,y:v,rotate:v,scale:v,color:O,backgroundColor:O,borderColor:O,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Cn,stroke:Mn,bgx:R,bgy:R},{keys:H}=Object;var Sn={mixins:[$],props:q(H(y),"list"),data:q(H(y),void 0),computed:{props(n,t){const e={};for(const o in n)o in y&&!i.isUndefined(n[o])&&(e[o]=n[o].slice());const r={};for(const o in e)r[o]=y[o](o,t,e[o],e);return r}},events:{load(){this.$emit()}},methods:{reset(){i.resetProps(this.$el,this.getCss(0))},getCss(n){const t={};for(const e in this.props)this.props[e](t,i.clamp(n));return t.willChange=Object.keys(t).map(i.propName).join(","),t}}};function v(n,t,e){let r=F(e)||{x:"px",y:"px",rotate:"deg"}[n]||"",o;return n==="x"||n==="y"?(n=`translate${i.ucfirst(n)}`,o=c=>i.toFloat(i.toFloat(c).toFixed(r==="px"?0:6))):n==="scale"&&(r="",o=c=>{var s;return F([c])?i.toPx(c,"width",t,!0)/t[`offset${(s=c.endsWith)!=null&&s.call(c,"vh")?"Height":"Width"}`]:i.toFloat(c)}),e.length===1&&e.unshift(n==="scale"?1:0),e=m(e,o),(c,s)=>{c.transform=`${c.transform||""} ${n}(${b(e,s)}${r})`}}function O(n,t,e){return e.length===1&&e.unshift(p(t,n,"")),e=m(e,r=>Fn(t,r)),(r,o)=>{const[c,s,a]=L(e,o),f=c.map((h,u)=>(h+=a*(s[u]-h),u===3?i.toFloat(h):parseInt(h,10))).join(",");r[n]=`rgba(${f})`}}function Fn(n,t){return p(n,"color",t).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(i.toFloat)}function g(n,t,e){e.length===1&&e.unshift(0);const r=F(e)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,e=m(e),(o,c)=>{const s=b(e,c);o.filter=`${o.filter||""} ${n}(${s+r})`}}function Cn(n,t,e){return e.length===1&&e.unshift(p(t,n,"")),e=m(e),(r,o)=>{r[n]=b(e,o)}}function Mn(n,t,e){e.length===1&&e.unshift(0);const r=F(e),o=vn(t);return e=m(e.reverse(),c=>(c=i.toFloat(c),r==="%"?c*o/100:c)),e.some(([c])=>c)?(i.css(t,"strokeDasharray",o),(c,s)=>{c.strokeDashoffset=b(e,s)}):i.noop}function R(n,t,e,r){e.length===1&&e.unshift(0);const o=n==="bgy"?"height":"width";r[n]=m(e,a=>i.toPx(a,o,t));const c=["bgx","bgy"].filter(a=>a in r);if(c.length===2&&n==="bgx")return i.noop;if(p(t,"backgroundSize","")==="cover")return Pn(n,t,e,r);const s={};for(const a of c)s[a]=B(t,a);return V(c,s,r)}function Pn(n,t,e,r){const o=On(t);if(!o.width)return i.noop;const c={width:t.offsetWidth,height:t.offsetHeight},s=["bgx","bgy"].filter(u=>u in r),a={};for(const u of s){const l=r[u].map(([_n])=>_n),x=Math.min(...l),I=Math.max(...l),K=l.indexOf(x)<l.indexOf(I),X=I-x;a[u]=`${(K?-X:0)-(K?x:I)}px`,c[u==="bgy"?"height":"width"]+=X}const f=i.Dimensions.cover(o,c);for(const u of s){const l=u==="bgy"?"height":"width",x=f[l]-c[l];a[u]=`max(${B(t,u)},-${x}px) + ${a[u]}`}const h=V(s,a,r);return(u,l)=>{h(u,l),u.backgroundSize=`${f.width}px ${f.height}px`,u.backgroundRepeat="no-repeat"}}function B(n,t){return p(n,`background-position-${t.slice(-1)}`,"")}function V(n,t,e){return function(r,o){for(const c of n){const s=b(e[c],o);r[`background-position-${c.slice(-1)}`]=`calc(${t[c]} + ${s}px)`}}}const z={},S={};function On(n){const t=i.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[t])return S[t];const e=new Image;return t&&(e.src=t,!e.naturalWidth&&!z[t])?(i.once(e,"error load",()=>{S[t]=j(e),i.trigger(n,i.createEvent("load",!1))}),z[t]=!0,j(e)):S[t]=j(e)}function j(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,t=i.toFloat){const e=[],{length:r}=n;let o=0;for(let c=0;c<r;c++){let[s,a]=i.isString(n[c])?n[c].trim().split(/ (?![^(]*\))/):[n[c]];if(s=t(s),a=a?i.toFloat(a)/100:null,c===0?a===null?a=0:a&&e.push([s,0]):c===r-1&&(a===null?a=1:a!==1&&(e.push([s,a]),a=1)),e.push([s,a]),a===null)o++;else if(o){const f=e[c-o-1][1],h=(a-f)/(o+1);for(let u=o;u>0;u--)e[c-u][1]=f+h*(o-u+1);o=0}}return e}function L(n,t){const e=i.findIndex(n.slice(1),([,r])=>t<=r)+1;return[n[e-1][0],n[e][0],(t-n[e-1][1])/(n[e][1]-n[e-1][1])]}function b(n,t){const[e,r,o]=L(n,t);return e+(r-e)*o}const jn=/^-?\d+(?:\.\d+)?(\S+)?/;function F(n,t){var e;for(const r of n){const o=(e=r.match)==null?void 0:e.call(r,jn);if(o)return o[1]}return t}function p(n,t,e){const r=n.style[t],o=i.css(i.css(n,t,e),t);return n.style[t]=r,o}function q(n,t){return n.reduce((e,r)=>(e[r]=t,e),{})}var Q={mixins:[Sn],beforeConnect(){this.item=this.$el.closest(`.${this.$options.id.replace("parallax","items")} > *`)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:t,duration:e,timing:r,dir:o}}){i.fastdom.read(()=>{if(!this.matchMedia)return;const c=this.getCss(J(n,o,t)),s=this.getCss(G(n)?.5:o>0?1:0);i.fastdom.write(()=>{i.css(this.$el,c),i.Transition.start(this.$el,s,e,r).catch(i.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:n})=>n,handler(){i.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:n})=>n,handler({type:n,detail:{percent:t,dir:e}}){i.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const r=this.getCss(J(n,e,t));i.fastdom.write(()=>i.css(this.$el,r))})}}]};function G(n){return i.endsWith(n,"in")}function J(n,t,e){return e/=2,G(n)^t<0?e:1-e}var In="sliderParallax";return typeof window<"u"&&window.UIkit&&window.UIkit.component(In,Q),Q}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.29-dev.e02d266 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.29-dev.f3e1c53 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
@@ -13,22 +13,23 @@
13
13
  if (!instance._updates.length) {
14
14
  return;
15
15
  }
16
- if (!instance._updateCount) {
17
- instance._updateCount = 0;
18
- requestAnimationFrame(() => instance._updateCount = 0);
19
- }
20
16
  if (!instance._queued) {
21
17
  instance._queued = /* @__PURE__ */ new Set();
22
18
  util.fastdom.read(() => {
23
19
  if (instance._connected) {
24
- runUpdates(instance, instance._queued);
20
+ if (!instance._updateCount) {
21
+ instance._updateCount = 0;
22
+ requestAnimationFrame(() => instance._updateCount = 0);
23
+ }
24
+ if (instance._updateCount < 10) {
25
+ instance._updateCount++;
26
+ runUpdates(instance, instance._queued);
27
+ }
25
28
  }
26
29
  instance._queued = null;
27
30
  });
28
31
  }
29
- if (instance._updateCount++ < 20) {
30
- instance._queued.add(e.type || e);
31
- }
32
+ instance._queued.add(e.type || e);
32
33
  }
33
34
  function runUpdates(instance, types) {
34
35
  for (const { read, write, events = [] } of instance._updates) {
@@ -565,7 +566,7 @@
565
566
  }
566
567
 
567
568
  function maybeDefaultPreventClick(e) {
568
- if (e.target.closest('a[href="#"],a[href=""]')) {
569
+ if (e.type === "keydown" && e.keyCode === keyMap.SPACE || e.target.closest('a[href="#"],a[href=""]')) {
569
570
  e.preventDefault();
570
571
  }
571
572
  }
@@ -1 +1 @@
1
- /*! UIkit 3.25.29-dev.e02d266 | https://www.getuikit.com | (c) 2014 - 2026 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._updateCount||(t._updateCount=0,requestAnimationFrame(()=>t._updateCount=0)),t._queued||(t._queued=new Set,s.fastdom.read(()=>{t._connected&&ft(t,t._queued),t._queued=null})),t._updateCount++<20&&t._queued.add(e.type||e))}function ft(t,e){for(const{read:i,write:n,events:o=[]}of t._updates){if(!e.has("update")&&!o.some(a=>e.has(a)))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 V(t){return P(s.observeResize,t,"resize")}function z(t){return P(s.observeIntersection,t)}function gt(t={}){return z({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(a=>s.removeAttr(a,"loading"));for(const{isIntersecting:r,target:a}of e)r&&i.unobserve(a)},...t})}function ut(t){return P((e,i)=>({disconnect:s.on(mt(e),"scroll",i,{passive:!0})}),t,"scroll")}function P(t,e,i){return{observe:t,handler(){I(this,i)},...e}}function mt(t){return s.toNodes(t).map(e=>{const{ownerDocument:i}=e,n=s.scrollParent(e,!0);return n===i.scrollingElement?i:n})}var pt={connected(){this._cmpCls=s.hasClass(this.$el,this.$options.id),s.addClass(this.$el,this.$options.id)},disconnected(){this._cmpCls||s.removeClass(this.$el,this.$options.id)}};function xt(){return new Promise(t=>requestAnimationFrame(t))}var vt={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++]||""))||""}}},wt={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||!s.isVisible(this.$el)||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 C={passive:!1,capture:!0},It="touchstart mousedown",D="touchmove mousemove",bt="touchend touchcancel mouseup click input scroll";var $t={props:{draggable:Boolean},data:{draggable:!0,threshold:10,angleThreshold:45},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const n=s.getEventPos(i);s.isRtl&&(n.x=-n.x),this.prevPos=s.isEqual(n,this.pos)?this.prevPos:this.pos,this.pos=n,e(i)}}},events:[{name:It,passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){!this.draggable||this.parallax||!s.isTouch(t)&&yt(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,...C}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag.x+=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,C),s.on(document,bt,this.end,{passive:!0,capture:!0,once:!0}),s.css(this.list,"userSelect","none")},move(t){const e=this.pos.x-this.drag.x;if(e===0||!this.dragging&&St(this.pos,this.drag)>this.angleThreshold||this.prevPos.x===this.pos.x||!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),a=j.call(this,n,r);for(;r!==n&&o>a;)this.drag.x-=a*this.dir,n=r,o-=a,r=this.getIndex(n+this.dir),a=j.call(this,n,r);this.percent=o/a;const h=i[n],d=i[r],f=this.index!==r,c=n===r;let l;for(const g of[this.index,this.prevIndex])g!==r&&g!==n&&(s.trigger(i[g],"itemhidden",[this]),c&&(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,c||(s.trigger(h,"beforeitemhide",[this]),s.trigger(h,"itemhide",[this])),s.trigger(d,"beforeitemshow",[this]),s.trigger(d,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),h,!c&&d)},end(){if(s.off(document,D,this.move,C),this.dragging)if(setTimeout(s.on(this.list,"click",t=>t.preventDefault(),C)),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=this.dir<0==this.prevPos.x>this.pos.x;t?(s.trigger(this.slides[this.prevIndex],"itemhidden",[this]),s.trigger(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent):this.index=this.prevIndex,this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:""}),this.drag=this.percent=null}}};function j(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function yt(t){return s.css(t,"userSelect")!=="none"&&s.toArray(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}function St(t,e){return Math.atan2(Math.abs(e.y-t.y),Math.abs(e.x-t.x))*180/Math.PI}s.memoize((t,e)=>{const i=Object.keys(e),n=i.concat(t).flatMap(o=>[s.hyphenate(o),`data-${s.hyphenate(o)}`]);return{attributes:i,filter:n}});let _t=1;function B(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 Ct(t,e=b.LEFT,i=b.RIGHT){switch(t){case b.HOME:return 0;case b.END:return"last";case e:return"previous";case i:return"next"}return-1}const kt=typeof window<"u";function At(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}const{from:Mt}=Array;function F(t){return t!==null&&typeof t=="object"}function Et(t){return F(t)&&t===t.window}function Nt(t){return U(t)===9}function q(t){return U(t)>=1}function U(t){return!Et(t)&&F(t)&&t.nodeType}function O(t){return typeof t=="string"}function Tt(t){return t===void 0}function k(t){return t&&p(t)[0]}function p(t){return q(t)?[t]:Array.from(t||[]).filter(q)}function Q(t){const e=Object.create(null);return(i,...n)=>e[i]||(e[i]=t(i,...n))}function G(t,e,i){var n;if(F(e)){for(const o in e)G(t,o,e[o]);return}if(Tt(i))return(n=k(t))==null?void 0:n.getAttribute(e);for(const o of p(t))i===null?Pt(o,e):o.setAttribute(e,i)}function Pt(t,e){p(t).forEach(i=>i.removeAttribute(e))}const Dt=kt&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function Ft(t){return p(t).some(e=>Dt.call(e))}function Ot(t){var e;return(e=k(t))==null?void 0:e.parentElement}function Rt(t,e){return p(t).filter(i=>X(i,e))}function X(t,e){return p(t).some(i=>i.matches(e))}function Wt(t,e){t=k(t);const i=t?Mt(t.children):[];return e?Rt(i,e):i}function J(t,e){return Wt(Ot(t)).indexOf(t)}function Ht(t,e){return p(Bt(t,k(e),"querySelectorAll"))}const Lt=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Vt=/(\([^)]*\)|[^,])+/g,zt=Q(t=>{let e=!1;if(!t||!O(t))return{};const i=[];for(let n of t.match(Vt))n=n.trim().replace(Lt,"$1 *"),e||(e=["!","+","~","-",">"].includes(n[0])),i.push(n);return{selector:i.join(","),selectors:i,isContextSelector:e}}),jt=/(\([^)]*\)|\S)*/,K=Q(t=>{t=t.slice(1).trim();const[e]=t.match(jt);return[e,t.slice(e.length+1)]});function Bt(t,e=document,i){var n;const o=zt(t);if(!o.isContextSelector)return o.selector?R(e,i,o.selector):t;t="";const r=o.selectors.length===1;for(let a of o.selectors){let h,d=e;if(a[0]==="!"&&([h,a]=K(a),d=(n=e.parentElement)==null?void 0:n.closest(h),!a&&r)||d&&a[0]==="-"&&([h,a]=K(a),d=d.previousElementSibling,d=X(d,h)?d:null,!a&&r))return d;if(d){if(r)return a[0]==="~"||a[0]==="+"?(a=`:scope > :nth-child(${J(d)+1}) ${a}`,d=d.parentElement):a[0]===">"&&(a=`:scope ${a}`),R(d,i,a);t+=`${t?",":""}${qt(d)} ${a}`}}return Nt(e)||(e=e.ownerDocument),R(e,i,t)}function R(t,e,i){try{return t[e](i)}catch{return null}}function qt(t){const e=[];for(;t.parentNode;){const i=G(t,"id");if(i){e.unshift(`#${Ut(i)}`);break}else{let{tagName:n}=t;n!=="HTML"&&(n+=`:nth-child(${J(t)+1})`),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Ut(t){return O(t)?CSS.escape(t):""}function Qt(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault()}var Gt={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>s.$$(t,e),navChildren(){return this.nav.flatMap(t=>s.children(t))},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 a=s.toNumber(i),h=this.slides[a];h&&(h.id||(h.id=B(this,h)),r=h.id),o=this.t("slideX",s.toFloat(i)+1),n.role="tab"}else this.list&&(this.list.id||(this.list.id=B(this,this.list)),r=this.list.id),o=this.t(i);s.attr(n,"aria-controls",r),n.ariaLabel=n.ariaLabel||o}},slides(t){t.forEach((e,i)=>s.attr(e,{role:this.nav.length?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav.length?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<1)),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)&&(Qt(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;const o=Ct(i);~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(){for(const t of this.nav){const e=s.children(t),i=[];for(let n=0;n<this.length;n++){const o=`${this.attrItem}="${n}"`;i[n]=e.findLast(r=>r.matches(`[${o}]`))||s.$(`<li ${o}><a href></a></li>`)}s.isEqual(i,e)||s.html(t,i)}}}};const Xt="cubic-bezier(0.25, 0.46, 0.45, 0.94)",Jt="cubic-bezier(0.165, 0.84, 0.44, 1)";var Kt={mixins:[wt,$t,Gt,vt],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)=>Y(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 a=this.getIndex(this.index),h=s.hasClass(this.slides,this.clsActive)&&this.slides[a],d=this.getIndex(t,this.index),f=this.slides[d];if(h===f){r();return}if(this.dir=Yt(t,a),this.prevIndex=a,this.index=d,h&&!s.trigger(h,"beforeitemhide",[this])||!s.trigger(f,"beforeitemshow",[this,h])){this.index=this.prevIndex,r();return}h&&s.trigger(h,"itemhide",[this]),s.trigger(f,"itemshow",[this]),await this._show(h,f,e),h&&s.trigger(h,"itemhidden",[this]),s.trigger(f,"itemshown",[this]),this._transitioner=null,await xt(),n.shift(),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?Xt:Jt: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 Yt(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Y(t){return .5*t+300}const Zt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function te(t){const e=Zt.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("template");return i.innerHTML=t.trim(),ee(i.content.childNodes)}function ee(t){return t.length>1?t:t[0]}function se(t,e){return ie(t)?p(te(t)):Ht(t,e)}function ie(t){return O(t)&&At(t.trim(),"<")}function ne(t){return Ft(t)?Math.ceil(Math.max(0,...se("[stroke]",t).map(e=>{var i;return((i=e.getTotalLength)==null?void 0:i.call(e))||0}))):0}const Z={x:A,y:A,rotate:A,scale:A,color:W,backgroundColor:W,borderColor:W,blur:x,hue:x,fopacity:x,grayscale:x,invert:x,saturate:x,sepia:x,opacity:oe,stroke:ae,bgx:et,bgy:et},{keys:tt}=Object;ot(tt(Z),"list"),ot(tt(Z),void 0);function A(t,e,i){let n=E(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 a;return E([r])?s.toPx(r,"width",e,!0)/e[`offset${(a=r.endsWith)!=null&&a.call(r,"vh")?"Height":"Width"}`]:s.toFloat(r)}),i.length===1&&i.unshift(t==="scale"?1:0),i=v(i,o),(r,a)=>{r.transform=`${r.transform||""} ${t}(${$(i,a)}${n})`}}function W(t,e,i){return i.length===1&&i.unshift(y(e,t,"")),i=v(i,n=>re(e,n)),(n,o)=>{const[r,a,h]=rt(i,o),d=r.map((f,c)=>(f+=h*(a[c]-f),c===3?s.toFloat(f):parseInt(f,10))).join(",");n[t]=`rgba(${d})`}}function re(t,e){return y(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function x(t,e,i){i.length===1&&i.unshift(0);const n=E(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=v(i),(o,r)=>{const a=$(i,r);o.filter=`${o.filter||""} ${t}(${a+n})`}}function oe(t,e,i){return i.length===1&&i.unshift(y(e,t,"")),i=v(i),(n,o)=>{n[t]=$(i,o)}}function ae(t,e,i){i.length===1&&i.unshift(0);const n=E(i),o=ne(e);return i=v(i.reverse(),r=>(r=s.toFloat(r),n==="%"?r*o/100:r)),i.some(([r])=>r)?(s.css(e,"strokeDasharray",o),(r,a)=>{r.strokeDashoffset=$(i,a)}):s.noop}function et(t,e,i,n){i.length===1&&i.unshift(0);const o=t==="bgy"?"height":"width";n[t]=v(i,h=>s.toPx(h,o,e));const r=["bgx","bgy"].filter(h=>h in n);if(r.length===2&&t==="bgx")return s.noop;if(y(e,"backgroundSize","")==="cover")return he(t,e,i,n);const a={};for(const h of r)a[h]=st(e,h);return it(r,a,n)}function he(t,e,i,n){const o=de(e);if(!o.width)return s.noop;const r={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(c=>c in n),h={};for(const c of a){const l=n[c].map(([T])=>T),g=Math.min(...l),u=Math.max(...l),m=l.indexOf(g)<l.indexOf(u),_=u-g;h[c]=`${(m?-_:0)-(m?g:u)}px`,r[c==="bgy"?"height":"width"]+=_}const d=s.Dimensions.cover(o,r);for(const c of a){const l=c==="bgy"?"height":"width",g=d[l]-r[l];h[c]=`max(${st(e,c)},-${g}px) + ${h[c]}`}const f=it(a,h,n);return(c,l)=>{f(c,l),c.backgroundSize=`${d.width}px ${d.height}px`,c.backgroundRepeat="no-repeat"}}function st(t,e){return y(t,`background-position-${e.slice(-1)}`,"")}function it(t,e,i){return function(n,o){for(const r of t){const a=$(i[r],o);n[`background-position-${r.slice(-1)}`]=`calc(${e[r]} + ${a}px)`}}}const nt={},M={};function de(t){const e=s.css(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(M[e])return M[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth&&!nt[e])?(s.once(i,"error load",()=>{M[e]=H(i),s.trigger(t,s.createEvent("load",!1))}),nt[e]=!0,H(i)):M[e]=H(i)}function H(t){return{width:t.naturalWidth,height:t.naturalHeight}}function v(t,e=s.toFloat){const i=[],{length:n}=t;let o=0;for(let r=0;r<n;r++){let[a,h]=s.isString(t[r])?t[r].trim().split(/ (?![^(]*\))/):[t[r]];if(a=e(a),h=h?s.toFloat(h)/100:null,r===0?h===null?h=0:h&&i.push([a,0]):r===n-1&&(h===null?h=1:h!==1&&(i.push([a,h]),h=1)),i.push([a,h]),h===null)o++;else if(o){const d=i[r-o-1][1],f=(h-d)/(o+1);for(let c=o;c>0;c--)i[r-c][1]=d+f*(o-c+1);o=0}}return i}function rt(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]=rt(t,e);return i+(n-i)*o}const ce=/^-?\d+(?:\.\d+)?(\S+)?/;function E(t,e){var i;for(const n of t){const o=(i=n.match)==null?void 0:i.call(n,ce);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 ot(t,e){return t.reduce((i,n)=>(i[n]=e,i),{})}function le(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var fe={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[V({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),ut({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=le(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:a,triggerShown:h,triggerHide:d,triggerHidden:f}=ge(this);if(~this.prevIndex)for(const l of new Set([this.index,this.prevIndex]))s.includes([n,e],l)||(d(this.slides[l]),f(this.slides[l]));const c=this.prevIndex!==e||this.index!==n;this.dir=1,this.prevIndex=e,this.index=n,o!==r&&d(o),a(r),c&&h(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 ge(t){const{clsSlideActive:e,clsEnter:i,clsLeave:n}=t;return{triggerShow:o,triggerShown:r,triggerHide:a,triggerHidden:h};function o(d){s.hasClass(d,n)&&(a(d),h(d)),s.hasClass(d,e)||(s.trigger(d,"beforeitemshow",[t]),s.trigger(d,"itemshow",[t]))}function r(d){s.hasClass(d,i)&&s.trigger(d,"itemshown",[t])}function a(d){s.hasClass(d,e)||o(d),s.hasClass(d,i)&&r(d),s.hasClass(d,n)||(s.trigger(d,"beforeitemhide",[t]),s.trigger(d,"itemhide",[t]))}function h(d){s.hasClass(d,n)&&s.trigger(d,"itemhidden",[t])}}var ue={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"]}},me={observe:gt({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};function at(t=0,e="%"){return t?`translate3d(${t+e}, 0, 0)`:""}function L(t,e,i){s.trigger(t,s.createEvent(e,!1,!1,i))}function pe(){let t;return{promise:new Promise(e=>t=e),resolve:t}}function xe(t,e,i,{center:n,easing:o,list:r}){const a=t?S(t,r,n):S(e,r,n)+s.dimensions(e).width*i,h=e?S(e,r,n):a+s.dimensions(t).width*i*(s.isRtl?-1:1),{promise:d,resolve:f}=pe();return{dir:i,show(c,l=0,g){const u=g?"linear":o;return c-=Math.round(c*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),L(this.getItemIn(),"itemin",{percent:l,duration:c,timing:u,dir:i}),t&&L(this.getItemIn(!0),"itemout",{percent:1-l,duration:c,timing:u,dir:i}),s.Transition.start(r,{transform:at(-h*(s.isRtl?-1:1),"px")},c,u).then(f,s.noop),d},cancel(){return s.Transition.cancel(r)},reset(){s.css(r,"transform","")},async forward(c,l=this.percent()){return await this.cancel(),this.show(c,l,!0)},translate(c){if(c!==this.percent()){const m=this.getDistance()*i*(s.isRtl?-1:1);s.css(r,"transform",at(s.clamp(-h+(m-m*c),-w(r),s.dimensions(r).width)*(s.isRtl?-1:1),"px"))}const l=this.getActives(),g=this.getItemIn(),u=this.getItemIn(!0);c=t?s.clamp(c,-1,1):0;for(const m of s.children(r)){const _=s.includes(l,m),T=m===g,lt=m===u,$e=T||!lt&&(_||i*(s.isRtl?-1:1)===-1^N(m,r)>N(t||e));L(m,`itemtranslate${$e?"in":"out"}`,{dir:i,percent:lt?1-c:T?c:_?1:0})}},percent(){return Math.abs((new DOMMatrix(s.css(r,"transform")).m41*(s.isRtl?-1:1)+a)/(h-a))},getDistance(){return Math.abs(h-a)},getItemIn(c=!1){let l=this.getActives(),g=dt(r,S(e||t,r,n));if(c){const u=l;l=g,g=u}return g[s.findIndex(g,u=>!s.includes(l,u))]},getActives(){return dt(r,S(t||e,r,n))}}}function S(t,e,i){const n=N(t,e);return i?n-ve(t,e):Math.min(n,ht(e))}function ht(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-s.dimensions(t).width)/2}function N(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 dt(t,e){e-=1;const i=s.dimensions(t).width,n=e+i+2;return s.children(t).filter(o=>{const r=N(o,t),a=r+Math.min(s.dimensions(o).width,i);return r>=e&&a<=n})}var ct={mixins:[pt,Kt,ue,fe,me],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:xe},computed:{finite({finite:t}){return t||we(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=ht(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-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:[V({target:({list:t,$el:e})=>[e,...s.children(t)]}),z({handler(t){for(const{target:e,isIntersecting:i}of t)e.ariaHidden=e.inert=!i},target:({list:t})=>s.children(t),args:{intersecting:!1},options:({$el:t})=>({root:t,rootMargin:"0px -10px"})})],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=Y(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-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)s.toggleClass(n,i,s.includes(e,n))},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-n)/2:0,r=new Set;for(const a of[-1,1]){let h=o+(a>0?n:0),d=0;do{const f=this.slides[this.getIndex(this.index+a+d++*a)];h+=s.dimensions(f).width*a,r.add(f)}while(this.length>d&&h>e&&h<i)}return[...r]},getIndexAt(t){let e=-1;const i=this.center?w(this.list)-(s.dimensions(this.slides[0]).width+s.dimensions(s.last(this.slides)).width)/2:w(this.list,this.maxIndex);let n=t*i,o;do{const r=s.dimensions(this.slides[++e]).width,a=this.center?(r+s.dimensions(this.slides[e+1]).width)/2:r;o=n/a%1,n-=a}while(n>=0&&e<this.maxIndex);return[e,o]}}};function we(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+Ie(t));const n=s.children(t),o=Math.trunc(i/2);for(const r in n){const a=n[r],h=s.dimensions(a).width,d=new Set([a]);let f=0;for(const c of[-1,1]){let l=h/2,g=0;for(;l<o;){const u=n[s.getIndex(+r+c+g++*c,n)];if(d.has(u))return!0;l+=s.dimensions(u).width,d.add(u)}f=Math.max(f,(h+s.dimensions(n[s.getIndex(+r+c,n)]).width)/2-(l-o))}if(Math.trunc(f)>s.sumBy(n.filter(c=>!d.has(c)),c=>s.dimensions(c).width))return!0}return!1}function Ie(t){return Math.max(0,...s.children(t).map(e=>s.dimensions(e).width))}var be="slider";return typeof window<"u"&&window.UIkit&&window.UIkit.component(be,ct),ct}));
1
+ /*! UIkit 3.25.29-dev.f3e1c53 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */(function(s,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider",["uikit-util"],b):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlider=b(s.UIkit.util))})(this,(function(s){"use strict";function b(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,s.fastdom.read(()=>{t._connected&&(t._updateCount||(t._updateCount=0,requestAnimationFrame(()=>t._updateCount=0)),t._updateCount<10&&(t._updateCount++,ft(t,t._queued))),t._queued=null})),t._queued.add(e.type||e))}function ft(t,e){for(const{read:i,write:n,events:o=[]}of t._updates){if(!e.has("update")&&!o.some(a=>e.has(a)))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 V(t){return P(s.observeResize,t,"resize")}function z(t){return P(s.observeIntersection,t)}function gt(t={}){return z({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(a=>s.removeAttr(a,"loading"));for(const{isIntersecting:r,target:a}of e)r&&i.unobserve(a)},...t})}function ut(t){return P((e,i)=>({disconnect:s.on(mt(e),"scroll",i,{passive:!0})}),t,"scroll")}function P(t,e,i){return{observe:t,handler(){b(this,i)},...e}}function mt(t){return s.toNodes(t).map(e=>{const{ownerDocument:i}=e,n=s.scrollParent(e,!0);return n===i.scrollingElement?i:n})}var pt={connected(){this._cmpCls=s.hasClass(this.$el,this.$options.id),s.addClass(this.$el,this.$options.id)},disconnected(){this._cmpCls||s.removeClass(this.$el,this.$options.id)}};function xt(){return new Promise(t=>requestAnimationFrame(t))}var vt={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++]||""))||""}}},wt={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||!s.isVisible(this.$el)||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},It="touchstart mousedown",D="touchmove mousemove",bt="touchend touchcancel mouseup click input scroll";var $t={props:{draggable:Boolean},data:{draggable:!0,threshold:10,angleThreshold:45},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const n=s.getEventPos(i);s.isRtl&&(n.x=-n.x),this.prevPos=s.isEqual(n,this.pos)?this.prevPos:this.pos,this.pos=n,e(i)}}},events:[{name:It,passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){!this.draggable||this.parallax||!s.isTouch(t)&&yt(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.x+=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,bt,this.end,{passive:!0,capture:!0,once:!0}),s.css(this.list,"userSelect","none")},move(t){const e=this.pos.x-this.drag.x;if(e===0||!this.dragging&&St(this.pos,this.drag)>this.angleThreshold||this.prevPos.x===this.pos.x||!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),a=j.call(this,n,r);for(;r!==n&&o>a;)this.drag.x-=a*this.dir,n=r,o-=a,r=this.getIndex(n+this.dir),a=j.call(this,n,r);this.percent=o/a;const h=i[n],d=i[r],f=this.index!==r,c=n===r;let l;for(const g of[this.index,this.prevIndex])g!==r&&g!==n&&(s.trigger(i[g],"itemhidden",[this]),c&&(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,c||(s.trigger(h,"beforeitemhide",[this]),s.trigger(h,"itemhide",[this])),s.trigger(d,"beforeitemshow",[this]),s.trigger(d,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),h,!c&&d)},end(){if(s.off(document,D,this.move,_),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=this.dir<0==this.prevPos.x>this.pos.x;t?(s.trigger(this.slides[this.prevIndex],"itemhidden",[this]),s.trigger(this.slides[this.index],"itemshown",[this]),this.percent=1-this.percent):this.index=this.prevIndex,this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:""}),this.drag=this.percent=null}}};function j(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function yt(t){return s.css(t,"userSelect")!=="none"&&s.toArray(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}function St(t,e){return Math.atan2(Math.abs(e.y-t.y),Math.abs(e.x-t.x))*180/Math.PI}s.memoize((t,e)=>{const i=Object.keys(e),n=i.concat(t).flatMap(o=>[s.hyphenate(o),`data-${s.hyphenate(o)}`]);return{attributes:i,filter:n}});let Ct=1;function B(t,e=null){return(e==null?void 0:e.id)||`${t.$options.id}-${Ct++}`}const v={SPACE:32,END:35,HOME:36,LEFT:37,RIGHT:39};function _t(t,e=v.LEFT,i=v.RIGHT){switch(t){case v.HOME:return 0;case v.END:return"last";case e:return"previous";case i:return"next"}return-1}const kt=typeof window<"u";function At(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}const{from:Mt}=Array;function F(t){return t!==null&&typeof t=="object"}function Et(t){return F(t)&&t===t.window}function Nt(t){return U(t)===9}function q(t){return U(t)>=1}function U(t){return!Et(t)&&F(t)&&t.nodeType}function O(t){return typeof t=="string"}function Tt(t){return t===void 0}function k(t){return t&&p(t)[0]}function p(t){return q(t)?[t]:Array.from(t||[]).filter(q)}function Q(t){const e=Object.create(null);return(i,...n)=>e[i]||(e[i]=t(i,...n))}function G(t,e,i){var n;if(F(e)){for(const o in e)G(t,o,e[o]);return}if(Tt(i))return(n=k(t))==null?void 0:n.getAttribute(e);for(const o of p(t))i===null?Pt(o,e):o.setAttribute(e,i)}function Pt(t,e){p(t).forEach(i=>i.removeAttribute(e))}const Dt=kt&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function Ft(t){return p(t).some(e=>Dt.call(e))}function Ot(t){var e;return(e=k(t))==null?void 0:e.parentElement}function Rt(t,e){return p(t).filter(i=>X(i,e))}function X(t,e){return p(t).some(i=>i.matches(e))}function Wt(t,e){t=k(t);const i=t?Mt(t.children):[];return e?Rt(i,e):i}function J(t,e){return Wt(Ot(t)).indexOf(t)}function Ht(t,e){return p(Bt(t,k(e),"querySelectorAll"))}const Lt=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Vt=/(\([^)]*\)|[^,])+/g,zt=Q(t=>{let e=!1;if(!t||!O(t))return{};const i=[];for(let n of t.match(Vt))n=n.trim().replace(Lt,"$1 *"),e||(e=["!","+","~","-",">"].includes(n[0])),i.push(n);return{selector:i.join(","),selectors:i,isContextSelector:e}}),jt=/(\([^)]*\)|\S)*/,K=Q(t=>{t=t.slice(1).trim();const[e]=t.match(jt);return[e,t.slice(e.length+1)]});function Bt(t,e=document,i){var n;const o=zt(t);if(!o.isContextSelector)return o.selector?R(e,i,o.selector):t;t="";const r=o.selectors.length===1;for(let a of o.selectors){let h,d=e;if(a[0]==="!"&&([h,a]=K(a),d=(n=e.parentElement)==null?void 0:n.closest(h),!a&&r)||d&&a[0]==="-"&&([h,a]=K(a),d=d.previousElementSibling,d=X(d,h)?d:null,!a&&r))return d;if(d){if(r)return a[0]==="~"||a[0]==="+"?(a=`:scope > :nth-child(${J(d)+1}) ${a}`,d=d.parentElement):a[0]===">"&&(a=`:scope ${a}`),R(d,i,a);t+=`${t?",":""}${qt(d)} ${a}`}}return Nt(e)||(e=e.ownerDocument),R(e,i,t)}function R(t,e,i){try{return t[e](i)}catch{return null}}function qt(t){const e=[];for(;t.parentNode;){const i=G(t,"id");if(i){e.unshift(`#${Ut(i)}`);break}else{let{tagName:n}=t;n!=="HTML"&&(n+=`:nth-child(${J(t)+1})`),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Ut(t){return O(t)?CSS.escape(t):""}function Qt(t){(t.type==="keydown"&&t.keyCode===v.SPACE||t.target.closest('a[href="#"],a[href=""]'))&&t.preventDefault()}var Gt={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>s.$$(t,e),navChildren(){return this.nav.flatMap(t=>s.children(t))},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 a=s.toNumber(i),h=this.slides[a];h&&(h.id||(h.id=B(this,h)),r=h.id),o=this.t("slideX",s.toFloat(i)+1),n.role="tab"}else this.list&&(this.list.id||(this.list.id=B(this,this.list)),r=this.list.id),o=this.t(i);s.attr(n,"aria-controls",r),n.ariaLabel=n.ariaLabel||o}},slides(t){t.forEach((e,i)=>s.attr(e,{role:this.nav.length?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav.length?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<1)),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===v.SPACE)&&(Qt(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;const o=_t(i);~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(){for(const t of this.nav){const e=s.children(t),i=[];for(let n=0;n<this.length;n++){const o=`${this.attrItem}="${n}"`;i[n]=e.findLast(r=>r.matches(`[${o}]`))||s.$(`<li ${o}><a href></a></li>`)}s.isEqual(i,e)||s.html(t,i)}}}};const Xt="cubic-bezier(0.25, 0.46, 0.45, 0.94)",Jt="cubic-bezier(0.165, 0.84, 0.44, 1)";var Kt={mixins:[wt,$t,Gt,vt],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)=>Y(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 a=this.getIndex(this.index),h=s.hasClass(this.slides,this.clsActive)&&this.slides[a],d=this.getIndex(t,this.index),f=this.slides[d];if(h===f){r();return}if(this.dir=Yt(t,a),this.prevIndex=a,this.index=d,h&&!s.trigger(h,"beforeitemhide",[this])||!s.trigger(f,"beforeitemshow",[this,h])){this.index=this.prevIndex,r();return}h&&s.trigger(h,"itemhide",[this]),s.trigger(f,"itemshow",[this]),await this._show(h,f,e),h&&s.trigger(h,"itemhidden",[this]),s.trigger(f,"itemshown",[this]),this._transitioner=null,await xt(),n.shift(),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?Xt:Jt: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 Yt(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Y(t){return .5*t+300}const Zt=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function te(t){const e=Zt.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("template");return i.innerHTML=t.trim(),ee(i.content.childNodes)}function ee(t){return t.length>1?t:t[0]}function se(t,e){return ie(t)?p(te(t)):Ht(t,e)}function ie(t){return O(t)&&At(t.trim(),"<")}function ne(t){return Ft(t)?Math.ceil(Math.max(0,...se("[stroke]",t).map(e=>{var i;return((i=e.getTotalLength)==null?void 0:i.call(e))||0}))):0}const Z={x:A,y:A,rotate:A,scale:A,color:W,backgroundColor:W,borderColor:W,blur:x,hue:x,fopacity:x,grayscale:x,invert:x,saturate:x,sepia:x,opacity:oe,stroke:ae,bgx:et,bgy:et},{keys:tt}=Object;ot(tt(Z),"list"),ot(tt(Z),void 0);function A(t,e,i){let n=E(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 a;return E([r])?s.toPx(r,"width",e,!0)/e[`offset${(a=r.endsWith)!=null&&a.call(r,"vh")?"Height":"Width"}`]:s.toFloat(r)}),i.length===1&&i.unshift(t==="scale"?1:0),i=w(i,o),(r,a)=>{r.transform=`${r.transform||""} ${t}(${$(i,a)}${n})`}}function W(t,e,i){return i.length===1&&i.unshift(y(e,t,"")),i=w(i,n=>re(e,n)),(n,o)=>{const[r,a,h]=rt(i,o),d=r.map((f,c)=>(f+=h*(a[c]-f),c===3?s.toFloat(f):parseInt(f,10))).join(",");n[t]=`rgba(${d})`}}function re(t,e){return y(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function x(t,e,i){i.length===1&&i.unshift(0);const n=E(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=w(i),(o,r)=>{const a=$(i,r);o.filter=`${o.filter||""} ${t}(${a+n})`}}function oe(t,e,i){return i.length===1&&i.unshift(y(e,t,"")),i=w(i),(n,o)=>{n[t]=$(i,o)}}function ae(t,e,i){i.length===1&&i.unshift(0);const n=E(i),o=ne(e);return i=w(i.reverse(),r=>(r=s.toFloat(r),n==="%"?r*o/100:r)),i.some(([r])=>r)?(s.css(e,"strokeDasharray",o),(r,a)=>{r.strokeDashoffset=$(i,a)}):s.noop}function et(t,e,i,n){i.length===1&&i.unshift(0);const o=t==="bgy"?"height":"width";n[t]=w(i,h=>s.toPx(h,o,e));const r=["bgx","bgy"].filter(h=>h in n);if(r.length===2&&t==="bgx")return s.noop;if(y(e,"backgroundSize","")==="cover")return he(t,e,i,n);const a={};for(const h of r)a[h]=st(e,h);return it(r,a,n)}function he(t,e,i,n){const o=de(e);if(!o.width)return s.noop;const r={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(c=>c in n),h={};for(const c of a){const l=n[c].map(([T])=>T),g=Math.min(...l),u=Math.max(...l),m=l.indexOf(g)<l.indexOf(u),C=u-g;h[c]=`${(m?-C:0)-(m?g:u)}px`,r[c==="bgy"?"height":"width"]+=C}const d=s.Dimensions.cover(o,r);for(const c of a){const l=c==="bgy"?"height":"width",g=d[l]-r[l];h[c]=`max(${st(e,c)},-${g}px) + ${h[c]}`}const f=it(a,h,n);return(c,l)=>{f(c,l),c.backgroundSize=`${d.width}px ${d.height}px`,c.backgroundRepeat="no-repeat"}}function st(t,e){return y(t,`background-position-${e.slice(-1)}`,"")}function it(t,e,i){return function(n,o){for(const r of t){const a=$(i[r],o);n[`background-position-${r.slice(-1)}`]=`calc(${e[r]} + ${a}px)`}}}const nt={},M={};function de(t){const e=s.css(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(M[e])return M[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth&&!nt[e])?(s.once(i,"error load",()=>{M[e]=H(i),s.trigger(t,s.createEvent("load",!1))}),nt[e]=!0,H(i)):M[e]=H(i)}function H(t){return{width:t.naturalWidth,height:t.naturalHeight}}function w(t,e=s.toFloat){const i=[],{length:n}=t;let o=0;for(let r=0;r<n;r++){let[a,h]=s.isString(t[r])?t[r].trim().split(/ (?![^(]*\))/):[t[r]];if(a=e(a),h=h?s.toFloat(h)/100:null,r===0?h===null?h=0:h&&i.push([a,0]):r===n-1&&(h===null?h=1:h!==1&&(i.push([a,h]),h=1)),i.push([a,h]),h===null)o++;else if(o){const d=i[r-o-1][1],f=(h-d)/(o+1);for(let c=o;c>0;c--)i[r-c][1]=d+f*(o-c+1);o=0}}return i}function rt(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]=rt(t,e);return i+(n-i)*o}const ce=/^-?\d+(?:\.\d+)?(\S+)?/;function E(t,e){var i;for(const n of t){const o=(i=n.match)==null?void 0:i.call(n,ce);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 ot(t,e){return t.reduce((i,n)=>(i[n]=e,i),{})}function le(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var fe={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[V({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),ut({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=le(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:a,triggerShown:h,triggerHide:d,triggerHidden:f}=ge(this);if(~this.prevIndex)for(const l of new Set([this.index,this.prevIndex]))s.includes([n,e],l)||(d(this.slides[l]),f(this.slides[l]));const c=this.prevIndex!==e||this.index!==n;this.dir=1,this.prevIndex=e,this.index=n,o!==r&&d(o),a(r),c&&h(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 ge(t){const{clsSlideActive:e,clsEnter:i,clsLeave:n}=t;return{triggerShow:o,triggerShown:r,triggerHide:a,triggerHidden:h};function o(d){s.hasClass(d,n)&&(a(d),h(d)),s.hasClass(d,e)||(s.trigger(d,"beforeitemshow",[t]),s.trigger(d,"itemshow",[t]))}function r(d){s.hasClass(d,i)&&s.trigger(d,"itemshown",[t])}function a(d){s.hasClass(d,e)||o(d),s.hasClass(d,i)&&r(d),s.hasClass(d,n)||(s.trigger(d,"beforeitemhide",[t]),s.trigger(d,"itemhide",[t]))}function h(d){s.hasClass(d,n)&&s.trigger(d,"itemhidden",[t])}}var ue={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"]}},me={observe:gt({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};function at(t=0,e="%"){return t?`translate3d(${t+e}, 0, 0)`:""}function L(t,e,i){s.trigger(t,s.createEvent(e,!1,!1,i))}function pe(){let t;return{promise:new Promise(e=>t=e),resolve:t}}function xe(t,e,i,{center:n,easing:o,list:r}){const a=t?S(t,r,n):S(e,r,n)+s.dimensions(e).width*i,h=e?S(e,r,n):a+s.dimensions(t).width*i*(s.isRtl?-1:1),{promise:d,resolve:f}=pe();return{dir:i,show(c,l=0,g){const u=g?"linear":o;return c-=Math.round(c*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),L(this.getItemIn(),"itemin",{percent:l,duration:c,timing:u,dir:i}),t&&L(this.getItemIn(!0),"itemout",{percent:1-l,duration:c,timing:u,dir:i}),s.Transition.start(r,{transform:at(-h*(s.isRtl?-1:1),"px")},c,u).then(f,s.noop),d},cancel(){return s.Transition.cancel(r)},reset(){s.css(r,"transform","")},async forward(c,l=this.percent()){return await this.cancel(),this.show(c,l,!0)},translate(c){if(c!==this.percent()){const m=this.getDistance()*i*(s.isRtl?-1:1);s.css(r,"transform",at(s.clamp(-h+(m-m*c),-I(r),s.dimensions(r).width)*(s.isRtl?-1:1),"px"))}const l=this.getActives(),g=this.getItemIn(),u=this.getItemIn(!0);c=t?s.clamp(c,-1,1):0;for(const m of s.children(r)){const C=s.includes(l,m),T=m===g,lt=m===u,$e=T||!lt&&(C||i*(s.isRtl?-1:1)===-1^N(m,r)>N(t||e));L(m,`itemtranslate${$e?"in":"out"}`,{dir:i,percent:lt?1-c:T?c:C?1:0})}},percent(){return Math.abs((new DOMMatrix(s.css(r,"transform")).m41*(s.isRtl?-1:1)+a)/(h-a))},getDistance(){return Math.abs(h-a)},getItemIn(c=!1){let l=this.getActives(),g=dt(r,S(e||t,r,n));if(c){const u=l;l=g,g=u}return g[s.findIndex(g,u=>!s.includes(l,u))]},getActives(){return dt(r,S(t||e,r,n))}}}function S(t,e,i){const n=N(t,e);return i?n-ve(t,e):Math.min(n,ht(e))}function ht(t){return Math.max(0,I(t)-s.dimensions(t).width)}function I(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-s.dimensions(t).width)/2}function N(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 dt(t,e){e-=1;const i=s.dimensions(t).width,n=e+i+2;return s.children(t).filter(o=>{const r=N(o,t),a=r+Math.min(s.dimensions(o).width,i);return r>=e&&a<=n})}var ct={mixins:[pt,Kt,ue,fe,me],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:xe},computed:{finite({finite:t}){return t||we(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=ht(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-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:[V({target:({list:t,$el:e})=>[e,...s.children(t)]}),z({handler(t){for(const{target:e,isIntersecting:i}of t)e.ariaHidden=e.inert=!i},target:({list:t})=>s.children(t),args:{intersecting:!1},options:({$el:t})=>({root:t,rootMargin:"0px -10px"})})],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=I(this.list)/this.length;this.duration=Y(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-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)s.toggleClass(n,i,s.includes(e,n))},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-n)/2:0,r=new Set;for(const a of[-1,1]){let h=o+(a>0?n:0),d=0;do{const f=this.slides[this.getIndex(this.index+a+d++*a)];h+=s.dimensions(f).width*a,r.add(f)}while(this.length>d&&h>e&&h<i)}return[...r]},getIndexAt(t){let e=-1;const i=this.center?I(this.list)-(s.dimensions(this.slides[0]).width+s.dimensions(s.last(this.slides)).width)/2:I(this.list,this.maxIndex);let n=t*i,o;do{const r=s.dimensions(this.slides[++e]).width,a=this.center?(r+s.dimensions(this.slides[e+1]).width)/2:r;o=n/a%1,n-=a}while(n>=0&&e<this.maxIndex);return[e,o]}}};function we(t,e){if(!t||t.length<2)return!0;const{width:i}=s.dimensions(t);if(!e)return Math.ceil(I(t))<Math.trunc(i+Ie(t));const n=s.children(t),o=Math.trunc(i/2);for(const r in n){const a=n[r],h=s.dimensions(a).width,d=new Set([a]);let f=0;for(const c of[-1,1]){let l=h/2,g=0;for(;l<o;){const u=n[s.getIndex(+r+c+g++*c,n)];if(d.has(u))return!0;l+=s.dimensions(u).width,d.add(u)}f=Math.max(f,(h+s.dimensions(n[s.getIndex(+r+c,n)]).width)/2-(l-o))}if(Math.trunc(f)>s.sumBy(n.filter(c=>!d.has(c)),c=>s.dimensions(c).width))return!0}return!1}function Ie(t){return Math.max(0,...s.children(t).map(e=>s.dimensions(e).width))}var be="slider";return typeof window<"u"&&window.UIkit&&window.UIkit.component(be,ct),ct}));
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.25.29-dev.e02d266 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
1
+ /*! UIkit 3.25.29-dev.f3e1c53 | https://www.getuikit.com | (c) 2014 - 2026 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :