uikit 3.16.11-dev.23226dadb → 3.16.11-dev.85cdca725

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 (44) hide show
  1. package/dist/css/uikit-core-rtl.css +1 -1
  2. package/dist/css/uikit-core-rtl.min.css +1 -1
  3. package/dist/css/uikit-core.css +1 -1
  4. package/dist/css/uikit-core.min.css +1 -1
  5. package/dist/css/uikit-rtl.css +1 -1
  6. package/dist/css/uikit-rtl.min.css +1 -1
  7. package/dist/css/uikit.css +1 -1
  8. package/dist/css/uikit.min.css +1 -1
  9. package/dist/js/components/countdown.js +1 -1
  10. package/dist/js/components/countdown.min.js +1 -1
  11. package/dist/js/components/filter.js +1 -1
  12. package/dist/js/components/filter.min.js +1 -1
  13. package/dist/js/components/lightbox-panel.js +491 -7
  14. package/dist/js/components/lightbox-panel.min.js +1 -1
  15. package/dist/js/components/lightbox.js +491 -7
  16. package/dist/js/components/lightbox.min.js +1 -1
  17. package/dist/js/components/notification.js +1 -1
  18. package/dist/js/components/notification.min.js +1 -1
  19. package/dist/js/components/parallax.js +1 -1
  20. package/dist/js/components/parallax.min.js +1 -1
  21. package/dist/js/components/slider-parallax.js +1 -1
  22. package/dist/js/components/slider-parallax.min.js +1 -1
  23. package/dist/js/components/slider.js +1 -1
  24. package/dist/js/components/slider.min.js +1 -1
  25. package/dist/js/components/slideshow-parallax.js +1 -1
  26. package/dist/js/components/slideshow-parallax.min.js +1 -1
  27. package/dist/js/components/slideshow.js +1 -1
  28. package/dist/js/components/slideshow.min.js +1 -1
  29. package/dist/js/components/sortable.js +1 -1
  30. package/dist/js/components/sortable.min.js +1 -1
  31. package/dist/js/components/tooltip.js +1 -1
  32. package/dist/js/components/tooltip.min.js +1 -1
  33. package/dist/js/components/upload.js +1 -1
  34. package/dist/js/components/upload.min.js +1 -1
  35. package/dist/js/uikit-core.js +2 -2
  36. package/dist/js/uikit-core.min.js +1 -1
  37. package/dist/js/uikit-icons.js +1 -1
  38. package/dist/js/uikit-icons.min.js +1 -1
  39. package/dist/js/uikit.js +2 -2
  40. package/dist/js/uikit.min.js +1 -1
  41. package/package.json +1 -1
  42. package/src/js/core/drop.js +1 -1
  43. package/src/js/mixin/modal.js +1 -1
  44. package/src/js/{mixin/internal → util}/scroll.js +5 -1
@@ -1 +1 @@
1
- /*! UIkit 3.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(t,v){typeof exports=="object"&&typeof module<"u"?module.exports=v(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitlightbox",["uikit-util"],v):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitLightbox=v(t.UIkit.util))})(this,function(t){"use strict";var v={slide:{show(e){return[{transform:I(e*-100)},{transform:I()}]},percent(e){return U(e)},translate(e,s){return[{transform:I(s*-100*e)},{transform:I(s*100*(1-e))}]}}};function U(e){return Math.abs(t.css(e,"transform").split(",")[4]/e.offsetWidth)||0}function I(e=0,s="%"){return e+=e?s:"",`translate3d(${e}, 0, 0)`}function y(e){return`scale3d(${e}, ${e}, 1)`}var O={...v,fade:{show(){return[{opacity:0},{opacity:1}]},percent(e){return 1-t.css(e,"opacity")},translate(e){return[{opacity:1-e},{opacity:e}]}},scale:{show(){return[{opacity:0,transform:y(1-.2)},{opacity:1,transform:y(1)}]},percent(e){return 1-t.css(e,"opacity")},translate(e){return[{opacity:1-e,transform:y(1-.2*e)},{opacity:e,transform:y(1-.2+.2*e)}]}}},q={connected(){t.addClass(this.$el,this.$options.id)}},V={props:{container:Boolean},data:{container:!0},computed:{container({container:e}){return e===!0&&this.$container||e&&t.$(e)}}},G={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-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation({animation:e}){return!!e[0]},hasTransition({animation:e}){return["slide","reveal"].some(s=>t.startsWith(e[0],s))}},methods:{toggleElement(e,s,i){return new Promise(n=>Promise.all(t.toNodes(e).map(r=>{const o=t.isBoolean(s)?s:!this.isToggled(r);if(!t.trigger(r,`before${o?"show":"hide"}`,[this]))return Promise.reject();const h=(t.isFunction(i)?i:i===!1||!this.hasAnimation?X:this.hasTransition?Y:J)(r,o,this),a=o?this.clsEnter:this.clsLeave;t.addClass(r,a),t.trigger(r,o?"show":"hide",[this]);const l=()=>{t.removeClass(r,a),t.trigger(r,o?"shown":"hidden",[this])};return h?h.then(l,()=>(t.removeClass(r,a),Promise.reject())):l()})).then(n,t.noop))},isToggled(e=this.$el){return[e]=t.toNodes(e),t.hasClass(e,this.clsEnter)?!0:t.hasClass(e,this.clsLeave)?!1:this.cls?t.hasClass(e,this.cls.split(" ")[0]):t.isVisible(e)},_toggle(e,s){if(!e)return;s=!!s;let i;this.cls?(i=t.includes(this.cls," ")||s!==t.hasClass(e,this.cls),i&&t.toggleClass(e,this.cls,t.includes(this.cls," ")?void 0:s)):(i=s===e.hidden,i&&(e.hidden=!s)),t.$$("[autofocus]",e).some(n=>t.isVisible(n)?n.focus()||!0:n.blur()),i&&t.trigger(e,"toggled",[s,this])}}};function X(e,s,{_toggle:i}){return t.Animation.cancel(e),t.Transition.cancel(e),i(e,s)}async function Y(e,s,{animation:i,duration:n,velocity:r,transition:o,_toggle:h}){var a;const[l="reveal",d="top"]=((a=i[0])==null?void 0:a.split("-"))||[],c=[["left","right"],["top","bottom"]],p=c[t.includes(c[0],d)?0:1],f=p[1]===d,T=["width","height"][c.indexOf(p)],b=`margin-${p[0]}`,A=`margin-${d}`;let $=t.dimensions(e)[T];const we=t.Transition.inProgress(e);await t.Transition.cancel(e),s&&h(e,!0);const xe=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",b,A].map(z=>[z,e.style[z]])),k=t.dimensions(e),D=t.toFloat(t.css(e,b)),j=t.toFloat(t.css(e,A)),u=k[T]+j;!we&&!s&&($+=j);const[E]=t.wrapInner(e,"<div>");t.css(E,{boxSizing:"border-box",height:k.height,width:k.width,...t.css(e,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",A])}),t.css(e,{padding:0,border:0,minWidth:0,minHeight:0,[A]:0,width:k.width,height:k.height,overflow:"hidden",[T]:$});const R=$/u;n=(r*u+n)*(s?1-R:R);const W={[T]:s?u:0};f&&(t.css(e,b,u-$+D),W[b]=s?D:u+D),!f^l==="reveal"&&(t.css(E,b,-u+$),t.Transition.start(E,{[b]:s?0:-u},n,o));try{await t.Transition.start(e,W,n,o)}finally{t.css(e,xe),t.unwrap(E.firstChild),s||h(e,!1)}}function J(e,s,i){t.Animation.cancel(e);const{animation:n,duration:r,_toggle:o}=i;return s?(o(e,!0),t.Animation.in(e,n[0],r,i.origin)):t.Animation.out(e,n[1]||n[0],r,i.origin).then(()=>o(e,!1))}let P;function K(e){const s=t.on(e,"touchmove",n=>{if(n.targetTouches.length!==1||t.matches(n.target,'input[type="range"'))return;let[{scrollHeight:r,clientHeight:o}]=t.scrollParents(n.target);o>=r&&n.cancelable&&n.preventDefault()},{passive:!1});if(P)return s;P=!0;const{scrollingElement:i}=document;return t.css(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:t.width(window)-i.clientWidth||""}),()=>{P=!1,s(),t.css(i,{overflowY:"",touchAction:"",paddingRight:""})}}const m=[];var Q={mixins:[q,V,G],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:e},s){return t.$(e,s)},transitionElement(){return this.panel},bgClose({bgClose:e}){return e&&this.panel}},connected(){t.attr(this.panel||this.$el,"role",this.role),this.overlay&&t.attr(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){t.includes(m,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(e){const{current:s,defaultPrevented:i}=e,{hash:n}=s;!i&&n&&t.isSameSiteAnchor(s)&&!t.within(n,this.$el)&&t.$(n,document.body)?this.hide():t.matches(s,this.selClose)&&(e.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(e){e.defaultPrevented||(e.preventDefault(),this.isToggled()===t.includes(m,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(e){if(t.includes(m,this))return!1;!this.stack&&m.length?(Promise.all(m.map(s=>s.hide())).then(this.show),e.preventDefault()):m.push(this)}},{name:"show",self:!0,handler(){this.stack&&t.css(this.$el,"zIndex",t.toFloat(t.css(this.$el,"zIndex"))+m.length);const e=[this.overlay&&ee(this),this.overlay&&K(this.$el),this.bgClose&&te(this),this.escClose&&se(this)];t.once(this.$el,"hidden",()=>e.forEach(s=>s&&s()),{self:!0}),t.addClass(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){t.isFocusable(this.$el)||t.attr(this.$el,"tabindex","-1"),t.matches(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){t.includes(m,this)&&m.splice(m.indexOf(this),1),t.css(this.$el,"zIndex",""),m.some(e=>e.clsPage===this.clsPage)||t.removeClass(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&t.parent(this.$el)!==this.container?(t.append(this.container,this.$el),new Promise(e=>requestAnimationFrame(()=>this.show().then(e)))):this.toggleElement(this.$el,!0,B)},hide(){return this.toggleElement(this.$el,!1,B)}}};function B(e,s,{transitionElement:i,_toggle:n}){return new Promise((r,o)=>t.once(e,"show hide",()=>{var h;(h=e._reject)==null||h.call(e),e._reject=o,n(e,s);const a=t.once(i,"transitionstart",()=>{t.once(i,"transitionend transitioncancel",r,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),r()},Z(t.css(i,"transitionDuration")))})).then(()=>delete e._reject)}function Z(e){return e?t.endsWith(e,"ms")?t.toFloat(e):t.toFloat(e)*1e3:0}function ee(e){return t.on(document,"focusin",s=>{t.last(m)===e&&!t.within(s.target,e.$el)&&e.$el.focus()})}function te(e){return t.on(document,t.pointerDown,({target:s})=>{t.last(m)!==e||e.overlay&&!t.within(s,e.$el)||t.within(s,e.panel)||t.once(document,`${t.pointerUp} ${t.pointerCancel} scroll`,({defaultPrevented:i,type:n,target:r})=>{!i&&n===t.pointerUp&&s===r&&e.hide()},!0)})}function se(e){return t.on(document,"keydown",s=>{s.keyCode===27&&t.last(m)===e&&e.hide()})}function ie(e,s,i,{animation:n,easing:r}){const{percent:o,translate:h,show:a=t.noop}=n,l=a(i),d=new t.Deferred;return{dir:i,show(c,p=0,f){const x=f?"linear":r;return c-=Math.round(c*t.clamp(p,-1,1)),this.translate(p),C(s,"itemin",{percent:p,duration:c,timing:x,dir:i}),C(e,"itemout",{percent:1-p,duration:c,timing:x,dir:i}),Promise.all([t.Transition.start(s,l[1],c,x),t.Transition.start(e,l[0],c,x)]).then(()=>{this.reset(),d.resolve()},t.noop),d.promise},cancel(){t.Transition.cancel([s,e])},reset(){for(const c in l[0])t.css([s,e],c,"")},forward(c,p=this.percent()){return t.Transition.cancel([s,e]),this.show(c,p,!0)},translate(c){this.reset();const p=h(c,i);t.css(s,p[1]),t.css(e,p[0]),C(s,"itemtranslatein",{percent:c,dir:i}),C(e,"itemtranslateout",{percent:1-c,dir:i})},percent(){return o(e||s,s,i)},getDistance(){return e==null?void 0:e.offsetWidth}}}function C(e,s,i){t.trigger(e,t.createEvent(s,!1,!1,i))}var ne={props:{i18n:Object},data:{i18n:null},methods:{t(e,...s){var i,n,r;let o=0;return((r=((i=this.i18n)==null?void 0:i[e])||((n=this.$options.i18n)==null?void 0:n[e]))==null?void 0:r.replace(/%s/g,()=>s[o++]||""))||""}}};const g={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function re(e,s=[]){try{return e?t.startsWith(e,"{")?JSON.parse(e):s.length&&!t.includes(e,":")?{[s[0]]:e}:e.split(";").reduce((i,n)=>{const[r,o]=n.split(/:(.*)/);return r&&!t.isUndefined(o)&&(i[r.trim()]=o.trim()),i},{}):{}}catch{return{}}}function _(e,s=e.$el,i=""){if(s.id)return s.id;let n=`${e.$options.id}-${e._uid}${i}`;return t.$(`#${n}`)&&(n=_(e,s,`${i}-2`)),n}var oe={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:e},s){return t.$(e,s)},navChildren(){return t.children(this.nav)},selNavItem({attrItem:e}){return`[${e}],[data-${e}]`},navItems(e,s){return t.$$(this.selNavItem,s)}},watch:{nav(e,s){t.attr(e,"role","tablist"),s&&this.$emit()},list(e){t.attr(e,"role","presentation")},navChildren(e){t.attr(e,"role","presentation")},navItems(e){for(const s of e){const i=t.data(s,this.attrItem),n=t.$("a,button",s)||s;let r,o=null;if(t.isNumeric(i)){const h=t.toNumber(i),a=this.slides[h];a&&(a.id||(a.id=_(this,a,`-item-${i}`)),o=a.id),r=this.t("slideX",t.toFloat(i)+1),t.attr(n,"role","tab")}else this.list&&(this.list.id||(this.list.id=_(this,this.list,"-items")),o=this.list.id),r=this.t(i);t.attr(n,{"aria-controls":o,"aria-label":t.attr(n,"aria-label")||r})}},slides(e){e.forEach((s,i)=>t.attr(s,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(e){const s=this.navChildren.length;if(this.nav&&e!==s){t.empty(this.nav);for(let i=0;i<e;i++)t.append(this.nav,`<li ${this.attrItem}="${i}"><a href></a></li>`)}}},connected(){t.attr(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(e=>e&&(e.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(e){t.closest(e.target,"a,button")&&(e.type==="click"||e.keyCode===g.SPACE)&&(e.preventDefault(),this.show(t.data(e.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(e){const{current:s,keyCode:i}=e,n=t.data(s,this.attrItem);if(!t.isNumeric(n))return;let r=i===g.HOME?0:i===g.END?"last":i===g.LEFT?"previous":i===g.RIGHT?"next":-1;~r&&(e.preventDefault(),this.show(r))}}],methods:{updateNav(){const e=this.getValidIndex();let s,i;for(const n of this.navItems){const r=t.data(n,this.attrItem),o=t.$("a,button",n)||n;if(t.isNumeric(r)){const a=t.toNumber(r)===e;t.toggleClass(n,this.clsActive,a),t.attr(o,{"aria-selected":a,tabindex:a?null:-1}),a&&(i=o),s=s||t.matches(o,":focus")}else t.toggleClass(n,"uk-invisible",this.finite&&(r==="previous"&&e===0||r==="next"&&e>=this.maxIndex));s&&i&&i.focus()}}}};const S={passive:!1,capture:!0},L={passive:!0,capture:!0},ae="touchstart mousedown",N="touchmove mousemove",M="touchend touchcancel mouseup click input scroll";var he={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const e of["start","move","end"]){const s=this[e];this[e]=i=>{const n=t.getEventPos(i).x*(t.isRtl?-1:1);this.prevPos=n===this.pos?this.prevPos:this.pos,this.pos=n,s(i)}}},events:[{name:ae,passive:!0,delegate(){return`${this.selList} > *`},handler(e){!this.draggable||!t.isTouch(e)&&ce(e.target)||t.closest(e.target,t.selInput)||e.button>0||this.length<2||this.start(e)}},{name:"dragstart",handler(e){e.preventDefault()}},{name:N,el(){return this.list},handler:t.noop,...S}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,t.on(document,N,this.move,S),t.on(document,M,this.end,L),t.css(this.list,"userSelect","none")},move(e){const s=this.pos-this.drag;if(s===0||this.prevPos===this.pos||!this.dragging&&Math.abs(s)<this.threshold)return;t.css(this.list,"pointerEvents","none"),e.cancelable&&e.preventDefault(),this.dragging=!0,this.dir=s<0?1:-1;const{slides:i}=this;let{prevIndex:n}=this,r=Math.abs(s),o=this.getIndex(n+this.dir,n),h=this._getDistance(n,o)||i[n].offsetWidth;for(;o!==n&&r>h;)this.drag-=h*this.dir,n=o,r-=h,o=this.getIndex(n+this.dir,n),h=this._getDistance(n,o)||i[n].offsetWidth;this.percent=r/h;const a=i[n],l=i[o],d=this.index!==o,c=n===o;let p;[this.index,this.prevIndex].filter(f=>!t.includes([o,n],f)).forEach(f=>{t.trigger(i[f],"itemhidden",[this]),c&&(p=!0,this.prevIndex=n)}),(this.index===n&&this.prevIndex!==n||p)&&t.trigger(i[this.index],"itemshown",[this]),d&&(this.prevIndex=n,this.index=o,!c&&t.trigger(a,"beforeitemhide",[this]),t.trigger(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!c&&l),d&&(!c&&t.trigger(a,"itemhide",[this]),t.trigger(l,"itemshow",[this]))},end(){if(t.off(document,N,this.move,S),t.off(document,M,this.end,L),this.dragging)if(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 e=(t.isRtl?this.dir*(t.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=e?this.index:this.prevIndex,e&&(this.percent=1-this.percent),this.show(this.dir>0&&!e||this.dir<0&&e?"next":"previous",!0)}t.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function ce(e){return t.css(e,"userSelect")!=="none"&&t.toNodes(e.childNodes).some(s=>s.nodeType===3&&s.textContent.trim())}var de={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){t.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){t.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&t.matches(this.$el,":focus-within")||this.pauseOnHover&&t.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};function le(e){return pe(t.observeResize,e,"resize")}function pe(e,s,i){return{observe:e,handler(){this.$emit(i)},...s}}var me={mixins:[de,he,oe,ne],props:{clsActivated:Boolean,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:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){t.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:e},s){return fe(s.offsetWidth/e)},list({selList:e},s){return t.$(e,s)},maxIndex(){return this.length-1},slides(){return t.children(this.list)},length(){return this.slides.length}},watch:{slides(e,s){s&&this.$emit()}},observe:le(),methods:{show(e,s=!1){var i;if(this.dragging||!this.length)return;const{stack:n}=this,r=s?0:n.length,o=()=>{n.splice(r,1),n.length&&this.show(n.shift(),!0)};if(n[s?"unshift":"push"](e),!s&&n.length>1){n.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const h=this.getIndex(this.index),a=t.hasClass(this.slides,this.clsActive)&&this.slides[h],l=this.getIndex(e,this.index),d=this.slides[l];if(a===d){o();return}if(this.dir=ge(e,h),this.prevIndex=h,this.index=l,a&&!t.trigger(a,"beforeitemhide",[this])||!t.trigger(d,"beforeitemshow",[this,a])){this.index=this.prevIndex,o();return}const c=this._show(a,d,s).then(()=>{a&&t.trigger(a,"itemhidden",[this]),t.trigger(d,"itemshown",[this]),n.shift(),this._transitioner=null,requestAnimationFrame(()=>n.length&&this.show(n.shift(),!0))});return a&&t.trigger(a,"itemhide",[this]),t.trigger(d,"itemshow",[this]),c},getIndex(e=this.index,s=this.index){return t.clamp(t.getIndex(e,this.slides,s,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(e=this.index,s=this.prevIndex){return this.getIndex(e,s)},_show(e,s,i){if(this._transitioner=this._getTransitioner(e,s,this.dir,{easing:i?s.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!e)return this._translate(1),Promise.resolve();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)},_getDistance(e,s){return this._getTransitioner(e,e!==s&&s).getDistance()},_translate(e,s=this.prevIndex,i=this.index){const n=this._getTransitioner(s===i?!1:s,i);return n.translate(e),n},_getTransitioner(e=this.prevIndex,s=this.index,i=this.dir||1,n=this.transitionOptions){return new this.Transitioner(t.isNumber(e)?this.slides[e]:e,t.isNumber(s)?this.slides[s]:s,i*(t.isRtl?-1:1),n)}}};function ge(e,s){return e==="next"?1:e==="previous"||e<s?-1:1}function fe(e){return .5*e+300}var ue={mixins:[me],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:v,Transitioner:ie},computed:{animation({animation:e,Animations:s}){return{...s[e]||s.slide,name:e}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:e}){t.addClass(e,this.clsActive)},itemshown({target:e}){t.addClass(e,this.clsActivated)},itemhidden({target:e}){t.removeClass(e,this.clsActive,this.clsActivated)}}},ve={mixins:[Q,ue],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:O,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){const e=t.$(this.template),s=t.$(this.selList,e);this.items.forEach(()=>t.append(s,"<li>"));const i=t.$("[uk-close]",e),n=this.t("close");i&&n&&(i.dataset.i18n=JSON.stringify({label:n})),this.$mount(t.append(this.container,e))},computed:{caption({selCaption:e},s){return t.$(e,s)}},events:[{name:`${t.pointerMove} ${t.pointerDown} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(e){e.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),t.removeClass(this.slides,this.clsActive),t.Transition.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el(){return document},handler({keyCode:e}){if(!this.isToggled(this.$el)||!this.draggable)return;let s=-1;e===g.LEFT?s="previous":e===g.RIGHT?s="next":e===g.HOME?s=0:e===g.END&&(s="last"),~s&&this.show(s)}},{name:"beforeitemshow",handler(e){this.isToggled()||(this.draggable=!1,e.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=O.scale,t.removeClass(e.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){t.html(this.caption,this.getItem().caption||"");for(let e=-this.preload;e<=this.preload;e++)this.loadItem(this.index+e)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(e,s){const{source:i,type:n,alt:r="",poster:o,attrs:h={}}=s;if(this.setItem(s,"<span uk-spinner></span>"),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":`${this.videoAutoplay}`};if(n==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const d=w("img",{src:i,alt:r,...h});t.on(d,"load",()=>this.setItem(s,d)),t.on(d,"error",()=>this.setError(s))}else if(n==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const d=w("video",{src:i,poster:o,controls:"",playsinline:"","uk-video":`${this.videoAutoplay}`,...h});t.on(d,"loadedmetadata",()=>this.setItem(s,d)),t.on(d,"error",()=>this.setError(s))}else if(n==="iframe"||i.match(/\.(html|php)($|\?)/i))this.setItem(s,w("iframe",{src:i,allowfullscreen:"",class:"uk-lightbox-iframe",...h}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(s,w("iframe",{src:`https://www.youtube${a[1]||""}.com/embed/${a[2]}${a[3]?`?${a[3]}`:""}`,width:1920,height:1080,...l,...h}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:d,width:c}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(s,w("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:c,height:d,...l,...h}))}catch{this.setError(s)}}}],methods:{loadItem(e=this.index){const s=this.getItem(e);this.getSlide(s).childElementCount||t.trigger(this.$el,"itemload",[s])},getItem(e=this.index){return this.items[t.getIndex(e,this.slides)]},setItem(e,s){t.trigger(this.$el,"itemloaded",[this,t.html(this.getSlide(e),s)])},getSlide(e){return this.slides[this.items.indexOf(e)]},setError(e){this.setItem(e,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),t.addClass(this.$el,"uk-active","uk-transition-active")},hideControls(){t.removeClass(this.$el,"uk-active","uk-transition-active")}}};function w(e,s){const i=t.fragment(`<${e}>`);return t.attr(i,s),i}var F={install:be,props:{toggle:String},data:{toggle:"a"},computed:{toggles({toggle:e},s){return t.$$(e,s)}},watch:{toggles(e){this.hide();for(const s of e)t.isTag(s,"a")&&t.attr(s,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate(){return`${this.toggle}:not(.uk-disabled)`},handler(e){e.preventDefault(),this.show(e.current)}},methods:{show(e){const s=t.uniqueBy(this.toggles.map(H),"source");if(t.isElement(e)){const{source:i}=H(e);e=t.findIndex(s,({source:n})=>i===n)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:s}),t.on(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(e)},hide(){var e;return(e=this.panel)==null?void 0:e.hide()}}};function be(e,s){e.lightboxPanel||e.component("lightboxPanel",ve),t.assign(s.props,e.component("lightboxPanel").options.props)}function H(e){const s={};for(const i of["href","caption","type","poster","alt","attrs"])s[i==="href"?"source":i]=t.data(e,i);return s.attrs=re(s.attrs),s}return typeof window<"u"&&window.UIkit&&window.UIkit.component("lightbox",F),F});
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,y){typeof exports=="object"&&typeof module<"u"?module.exports=y(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitlightbox",["uikit-util"],y):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitLightbox=y(s.UIkit.util))})(this,function(s){"use strict";var y={slide:{show(t){return[{transform:S(t*-100)},{transform:S()}]},percent(t){return kt(t)},translate(t,e){return[{transform:S(e*-100*t)},{transform:S(e*100*(1-t))}]}}};function kt(t){return Math.abs(s.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function S(t=0,e="%"){return t+=t?e:"",`translate3d(${t}, 0, 0)`}function P(t){return`scale3d(${t}, ${t}, 1)`}var et={...y,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:P(1-.2)},{opacity:1,transform:P(1)}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:P(1-.2*t)},{opacity:t,transform:P(1-.2+.2*t)}]}}},It={connected(){s.addClass(this.$el,this.$options.id)}},Ct={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&s.$(t)}}},Tt={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-togglabe-enter",clsLeave:"uk-togglabe-leave"},computed:{hasAnimation({animation:t}){return!!t[0]},hasTransition({animation:t}){return["slide","reveal"].some(e=>s.startsWith(t[0],e))}},methods:{toggleElement(t,e,i){return new Promise(n=>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 Promise.reject();const a=(s.isFunction(i)?i:i===!1||!this.hasAnimation?At:this.hasTransition?Et:Nt)(r,o,this),h=o?this.clsEnter:this.clsLeave;s.addClass(r,h),s.trigger(r,o?"show":"hide",[this]);const l=()=>{s.removeClass(r,h),s.trigger(r,o?"shown":"hidden",[this])};return a?a.then(l,()=>(s.removeClass(r,h),Promise.reject())):l()})).then(n,s.noop))},isToggled(t=this.$el){return[t]=s.toNodes(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)),s.$$("[autofocus]",t).some(n=>s.isVisible(n)?n.focus()||!0:n.blur()),i&&s.trigger(t,"toggled",[e,this])}}};function At(t,e,{_toggle:i}){return s.Animation.cancel(t),s.Transition.cancel(t),i(t,e)}async function Et(t,e,{animation:i,duration:n,velocity:r,transition:o,_toggle:a}){var h;const[l="reveal",c="top"]=((h=i[0])==null?void 0:h.split("-"))||[],d=[["left","right"],["top","bottom"]],u=d[s.includes(d[0],c)?0:1],w=u[1]===c,B=["width","height"][d.indexOf(u)],I=`margin-${u[0]}`,M=`margin-${c}`;let E=s.dimensions(t)[B];const Oe=s.Transition.inProgress(t);await s.Transition.cancel(t),e&&a(t,!0);const Le=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",I,M].map(yt=>[yt,t.style[yt]])),N=s.dimensions(t),tt=s.toFloat(s.css(t,I)),wt=s.toFloat(s.css(t,M)),$=N[B]+wt;!Oe&&!e&&(E+=wt);const[F]=s.wrapInner(t,"<div>");s.css(F,{boxSizing:"border-box",height:N.height,width:N.width,...s.css(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",M])}),s.css(t,{padding:0,border:0,minWidth:0,minHeight:0,[M]:0,width:N.width,height:N.height,overflow:"hidden",[B]:E});const xt=E/$;n=(r*$+n)*(e?1-xt:xt);const $t={[B]:e?$:0};w&&(s.css(t,I,$-E+tt),$t[I]=e?tt:$+tt),!w^l==="reveal"&&(s.css(F,I,-$+E),s.Transition.start(F,{[I]:e?0:-$},n,o));try{await s.Transition.start(t,$t,n,o)}finally{s.css(t,Le),s.unwrap(F.firstChild),e||a(t,!1)}}function Nt(t,e,i){s.Animation.cancel(t);const{animation:n,duration:r,_toggle:o}=i;return e?(o(t,!0),s.Animation.in(t,n[0],r,i.origin)):s.Animation.out(t,n[1]||n[0],r,i.origin).then(()=>o(t,!1))}const St=/\B([A-Z])/g,Pt=k(t=>t.replace(St,"-$1").toLowerCase()),W=k(t=>t.charAt(0).toUpperCase()+t.slice(1));function st(t,e){var i;return(i=t==null?void 0:t.startsWith)==null?void 0:i.call(t,e)}function _t(t,e){var i;return(i=t==null?void 0:t.includes)==null?void 0:i.call(t,e)}function Dt(t,e){var i;return(i=t==null?void 0:t.findIndex)==null?void 0:i.call(t,e)}const{isArray:z,from:Be}=Array;function R(t){return typeof t=="function"}function _(t){return t!==null&&typeof t=="object"}function C(t){return _(t)&&t===t.window}function it(t){return U(t)===9}function nt(t){return U(t)>=1}function H(t){return U(t)===1}function U(t){return!C(t)&&_(t)&&t.nodeType}function x(t){return typeof t=="string"}function rt(t){return typeof t=="number"}function Ot(t){return rt(t)||x(t)&&!isNaN(t-parseFloat(t))}function j(t){return t===void 0}function v(t){return parseFloat(t)||0}function g(t){return m(t)[0]}function m(t){return nt(t)?[t]:Array.from(t||[]).filter(nt)}function q(t){if(C(t))return t;t=g(t);const e=it(t)?t:t==null?void 0:t.ownerDocument;return(e==null?void 0:e.defaultView)||window}function ot(t,e){for(const i in t)if(e(t[i],i)===!1)return!1;return!0}function Lt(t,e){return t.reduce((i,n)=>i+v(R(e)?e(n):n[e]),0)}function k(t){const e=Object.create(null);return i=>e[i]||(e[i]=t(i))}function V(t,e,i){var n;if(_(e)){for(const r in e)V(t,r,e[r]);return}if(j(i))return(n=g(t))==null?void 0:n.getAttribute(e);for(const r of m(t))R(i)&&(i=i.call(r,V(r,e))),i===null?Bt(r,e):r.setAttribute(e,i)}function Bt(t,e){m(t).forEach(i=>i.removeAttribute(e))}function X(t){var e;return(e=g(t))==null?void 0:e.parentElement}function Mt(t,e){return m(t).filter(i=>D(i,e))}function D(t,e){return m(t).some(i=>i.matches(e))}function O(t,e){return H(t)?t.closest(st(e,">")?e.slice(1):e):m(t).map(i=>O(i,e)).filter(Boolean)}function Ft(t,e){return x(e)?!!O(t,e):g(e).contains(g(t))}function Wt(t,e){const i=[];for(;t=X(t);)(!e||D(t,e))&&i.push(t);return i}function zt(t,e){t=g(t);const i=t?m(t.children):[];return e?Mt(i,e):i}function Rt(t,e){return e?m(t).indexOf(g(e)):zt(X(t)).indexOf(t)}function at(t,e){return m(Vt(t,g(e),"querySelectorAll"))}const Ht=/(^|[^\\],)\s*[!>+~-]/,Ut=k(t=>t.match(Ht)),jt=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,qt=k(t=>t.replace(jt,"$1 *"));function Vt(t,e=document,i){if(!t||!x(t))return t;if(t=qt(t),Ut(t)){const n=Yt(t);t="";for(let r of n){let o=e;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(o=O(X(e),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&n.length===1)return o}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),h=(o||e).previousElementSibling;o=D(h,r.substr(1))?h:null,r=a.slice(1).join(" ")}o&&(t+=`${t?",":""}${Gt(o)} ${r}`)}e=document}try{return e[i](t)}catch{return null}}const Xt=/.*?[^\\](?:,|$)/g,Yt=k(t=>t.match(Xt).map(e=>e.replace(/,$/,"").trim()));function Gt(t){const e=[];for(;t.parentNode;){const i=V(t,"id");if(i){e.unshift(`#${Jt(i)}`);break}else{let{tagName:n}=t;n!=="HTML"&&(n+=`:nth-child(${Rt(t)+1})`),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Jt(t){return x(t)?CSS.escape(t):""}function Zt(...t){let[e,i,n,r,o=!1]=ht(t);r.length>1&&(r=te(r)),o!=null&&o.self&&(r=ee(r)),n&&(r=Qt(n,r));for(const a of i)for(const h of e)h.addEventListener(a,r,o);return()=>Kt(e,i,r,o)}function Kt(...t){let[e,i,,n,r=!1]=ht(t);for(const o of i)for(const a of e)a.removeEventListener(o,n,r)}function ht(t){return t[0]=ie(t[0]),x(t[1])&&(t[1]=t[1].split(" ")),R(t[2])&&t.splice(2,0,!1),t}function Qt(t,e){return i=>{const n=t[0]===">"?at(t,i.currentTarget).reverse().filter(r=>Ft(i.target,r))[0]:O(i.target,t);n&&(i.current=n,e.call(this,i),delete i.current)}}function te(t){return e=>z(e.detail)?t(e,...e.detail):t(e)}function ee(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function ct(t){return t&&"addEventListener"in t}function se(t){return ct(t)?t:g(t)}function ie(t){return z(t)?t.map(se).filter(Boolean):x(t)?at(t):ct(t)?[t]:m(t)}const ne={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function f(t,e,i,n){const r=m(t);for(const o of r)if(x(e)){if(e=re(e),j(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,Ot(i)&&!ne[e]?`${i}px`:i||rt(i)?i:"",n)}else if(z(e)){const a={};for(const h of e)a[h]=f(o,h);return a}else _(e)&&(n=i,ot(e,(a,h)=>f(o,h,a,n)));return r[0]}const re=k(t=>oe(t));function oe(t){if(st(t,"--"))return t;t=Pt(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const n=`-${i}-${t}`;if(n in e)return n}}const Y={width:["left","right"],height:["top","bottom"]};function ae(t){const e=H(t)?g(t).getBoundingClientRect():{height:ce(t),width:dt(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function G(t,e){const i=ae(t);if(t){const{scrollY:r,scrollX:o}=q(t),a={height:r,width:o};for(const h in Y)for(const l of Y[h])i[l]+=a[h]}if(!e)return i;const n=f(t,"position");ot(f(t,["left","top"]),(r,o)=>f(t,o,e[o]-i[o]+v(n==="absolute"&&r==="auto"?he(t)[o]:r)))}function he(t){let{top:e,left:i}=G(t);const{ownerDocument:{body:n,documentElement:r},offsetParent:o}=g(t);let a=o||r;for(;a&&(a===n||a===r)&&f(a,"position")==="static";)a=a.parentNode;if(H(a)){const h=G(a);e-=h.top+v(f(a,"borderTopWidth")),i-=h.left+v(f(a,"borderLeftWidth"))}return{top:e-v(f(t,"marginTop")),left:i-v(f(t,"marginLeft"))}}const ce=lt("height"),dt=lt("width");function lt(t){const e=W(t);return(i,n)=>{if(j(n)){if(C(i))return i[`inner${e}`];if(it(i)){const r=i.documentElement;return Math.max(r[`offset${e}`],r[`scroll${e}`])}return i=g(i),n=f(i,t),n=n==="auto"?i[`offset${e}`]:v(n)||0,n-ft(i,t)}else return f(i,t,!n&&n!==0?"":+n+ft(i,t)+"px")}}function ft(t,e,i="border-box"){return f(t,"boxSizing")===i?Lt(Y[e].map(W),n=>v(f(t,`padding${n}`))+v(f(t,`border${n}Width`))):0}function de(t,e=!1,i=[]){const n=ut(t);let r=Wt(t).reverse();r=r.slice(r.indexOf(n)+1);const o=Dt(r,a=>f(a,"position")==="fixed");return~o&&(r=r.slice(o)),[n].concat(r.filter(a=>f(a,"overflow").split(" ").some(h=>_t(["auto","scroll",...i],h))&&(!e||a.scrollHeight>le(a).height))).reverse()}function le(t){const e=q(t),{visualViewport:i,document:{documentElement:n}}=e;let r=t===ut(t)?e:t;if(C(r)&&i){let{height:a,width:h,scale:l,pageTop:c,pageLeft:d}=i;return a=Math.round(a*l),h=Math.round(h*l),{height:a,width:h,top:c,left:d,bottom:c+a,right:d+h}}let o=G(r);if(f(r,"display")==="inline")return o;for(let[a,h,l,c]of[["width","x","left","right"],["height","y","top","bottom"]])C(r)?r=n:o[l]+=v(f(r,`border-${l}-width`)),o[a]=o[h]=r[`client${W(a)}`],o[c]=o[a]+o[l];return o}function ut(t){return q(t).document.scrollingElement}let J;function fe(t){const e=Zt(t,"touchmove",n=>{if(n.targetTouches.length!==1||D(n.target,'input[type="range"'))return;let[{scrollHeight:r,clientHeight:o}]=de(n.target);o>=r&&n.cancelable&&n.preventDefault()},{passive:!1});if(J)return e;J=!0;const{scrollingElement:i}=document;return f(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:dt(window)-i.clientWidth||""}),()=>{J=!1,e(),f(i,{overflowY:"",touchAction:"",paddingRight:""})}}const p=[];var ue={mixins:[It,Ct,Tt],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){return s.$(t,e)},transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){s.attr(this.panel||this.$el,"role",this.role),this.overlay&&s.attr(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){s.includes(p,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:n}=e;!i&&n&&s.isSameSiteAnchor(e)&&!s.within(n,this.$el)&&s.$(n,document.body)?this.hide():s.matches(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===s.includes(p,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(s.includes(p,this))return!1;!this.stack&&p.length?(Promise.all(p.map(e=>e.hide())).then(this.show),t.preventDefault()):p.push(this)}},{name:"show",self:!0,handler(){this.stack&&s.css(this.$el,"zIndex",s.toFloat(s.css(this.$el,"zIndex"))+p.length);const t=[this.overlay&&ge(this),this.overlay&&fe(this.$el),this.bgClose&&me(this),this.escClose&&ve(this)];s.once(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),s.addClass(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){s.isFocusable(this.$el)||s.attr(this.$el,"tabindex","-1"),s.matches(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){s.includes(p,this)&&p.splice(p.indexOf(this),1),s.css(this.$el,"zIndex",""),p.some(t=>t.clsPage===this.clsPage)||s.removeClass(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&s.parent(this.$el)!==this.container?(s.append(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,pt)},hide(){return this.toggleElement(this.$el,!1,pt)}}};function pt(t,e,{transitionElement:i,_toggle:n}){return new Promise((r,o)=>s.once(t,"show hide",()=>{var a;(a=t._reject)==null||a.call(t),t._reject=o,n(t,e);const h=s.once(i,"transitionstart",()=>{s.once(i,"transitionend transitioncancel",r,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{h(),r()},pe(s.css(i,"transitionDuration")))})).then(()=>delete t._reject)}function pe(t){return t?s.endsWith(t,"ms")?s.toFloat(t):s.toFloat(t)*1e3:0}function ge(t){return s.on(document,"focusin",e=>{s.last(p)===t&&!s.within(e.target,t.$el)&&t.$el.focus()})}function me(t){return s.on(document,s.pointerDown,({target:e})=>{s.last(p)!==t||t.overlay&&!s.within(e,t.$el)||s.within(e,t.panel)||s.once(document,`${s.pointerUp} ${s.pointerCancel} scroll`,({defaultPrevented:i,type:n,target:r})=>{!i&&n===s.pointerUp&&e===r&&t.hide()},!0)})}function ve(t){return s.on(document,"keydown",e=>{e.keyCode===27&&s.last(p)===t&&t.hide()})}function be(t,e,i,{animation:n,easing:r}){const{percent:o,translate:a,show:h=s.noop}=n,l=h(i),c=new s.Deferred;return{dir:i,show(d,u=0,w){const A=w?"linear":r;return d-=Math.round(d*s.clamp(u,-1,1)),this.translate(u),L(e,"itemin",{percent:u,duration:d,timing:A,dir:i}),L(t,"itemout",{percent:1-u,duration:d,timing:A,dir:i}),Promise.all([s.Transition.start(e,l[1],d,A),s.Transition.start(t,l[0],d,A)]).then(()=>{this.reset(),c.resolve()},s.noop),c.promise},cancel(){s.Transition.cancel([e,t])},reset(){for(const d in l[0])s.css([e,t],d,"")},forward(d,u=this.percent()){return s.Transition.cancel([e,t]),this.show(d,u,!0)},translate(d){this.reset();const u=a(d,i);s.css(e,u[1]),s.css(t,u[0]),L(e,"itemtranslatein",{percent:d,dir:i}),L(t,"itemtranslateout",{percent:1-d,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function L(t,e,i){s.trigger(t,s.createEvent(e,!1,!1,i))}var we={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++]||""))||""}}};const b={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function xe(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 Z(t,e=t.$el,i=""){if(e.id)return e.id;let n=`${t.$options.id}-${t._uid}${i}`;return s.$(`#${n}`)&&(n=Z(t,e,`${i}-2`)),n}var $e={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:t},e){return s.$(t,e)},navChildren(){return s.children(this.nav)},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems(t,e){return s.$$(this.selNavItem,e)}},watch:{nav(t,e){s.attr(t,"role","tablist"),e&&this.$emit()},list(t){s.attr(t,"role","presentation")},navChildren(t){s.attr(t,"role","presentation")},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=Z(this,h,`-item-${i}`)),o=h.id),r=this.t("slideX",s.toFloat(i)+1),s.attr(n,"role","tab")}else this.list&&(this.list.id||(this.list.id=Z(this,this.list,"-items")),o=this.list.id),r=this.t(i);s.attr(n,{"aria-controls":o,"aria-label":s.attr(n,"aria-label")||r})}},slides(t){t.forEach((e,i)=>s.attr(e,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(t){const e=this.navChildren.length;if(this.nav&&t!==e){s.empty(this.nav);for(let i=0;i<t;i++)s.append(this.nav,`<li ${this.attrItem}="${i}"><a href></a></li>`)}}},connected(){s.attr(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){s.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===b.SPACE)&&(t.preventDefault(),this.show(s.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t,n=s.data(e,this.attrItem);if(!s.isNumeric(n))return;let r=i===b.HOME?0:i===b.END?"last":i===b.LEFT?"previous":i===b.RIGHT?"next":-1;~r&&(t.preventDefault(),this.show(r))}}],methods:{updateNav(){const t=this.getValidIndex();let e,i;for(const n of this.navItems){const r=s.data(n,this.attrItem),o=s.$("a,button",n)||n;if(s.isNumeric(r)){const h=s.toNumber(r)===t;s.toggleClass(n,this.clsActive,h),s.attr(o,{"aria-selected":h,tabindex:h?null:-1}),h&&(i=o),e=e||s.matches(o,":focus")}else s.toggleClass(n,"uk-invisible",this.finite&&(r==="previous"&&t===0||r==="next"&&t>=this.maxIndex));e&&i&&i.focus()}}}};const K={passive:!1,capture:!0},gt={passive:!0,capture:!0},ye="touchstart mousedown",Q="touchmove mousemove",mt="touchend touchcancel mouseup click input scroll";var ke={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=i=>{const n=s.getEventPos(i).x*(s.isRtl?-1:1);this.prevPos=n===this.pos?this.prevPos:this.pos,this.pos=n,e(i)}}},events:[{name:ye,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!s.isTouch(t)&&Ie(t.target)||s.closest(t.target,s.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:Q,el(){return this.list},handler:s.noop,...K}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,s.on(document,Q,this.move,K),s.on(document,mt,this.end,gt),s.css(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(e===0||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;s.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;const{slides:i}=this;let{prevIndex:n}=this,r=Math.abs(e),o=this.getIndex(n+this.dir,n),a=this._getDistance(n,o)||i[n].offsetWidth;for(;o!==n&&r>a;)this.drag-=a*this.dir,n=o,r-=a,o=this.getIndex(n+this.dir,n),a=this._getDistance(n,o)||i[n].offsetWidth;this.percent=r/a;const h=i[n],l=i[o],c=this.index!==o,d=n===o;let u;[this.index,this.prevIndex].filter(w=>!s.includes([o,n],w)).forEach(w=>{s.trigger(i[w],"itemhidden",[this]),d&&(u=!0,this.prevIndex=n)}),(this.index===n&&this.prevIndex!==n||u)&&s.trigger(i[this.index],"itemshown",[this]),c&&(this.prevIndex=n,this.index=o,!d&&s.trigger(h,"beforeitemhide",[this]),s.trigger(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),h,!d&&l),c&&(!d&&s.trigger(h,"itemhide",[this]),s.trigger(l,"itemshow",[this]))},end(){if(s.off(document,Q,this.move,K),s.off(document,mt,this.end,gt),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(s.isRtl?this.dir*(s.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}s.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function Ie(t){return s.css(t,"userSelect")!=="none"&&s.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var Ce={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(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&s.matches(this.$el,":focus-within")||this.pauseOnHover&&s.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};function Te(t){return Ae(s.observeResize,t,"resize")}function Ae(t,e,i){return{observe:t,handler(){this.$emit(i)},...e}}var Ee={mixins:[Ce,ke,$e,we],props:{clsActivated:Boolean,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:!1,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){return Se(e.offsetWidth/t)},list({selList:t},e){return 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()}},observe:Te(),methods:{show(t,e=!1){var i;if(this.dragging||!this.length)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],l=this.getIndex(t,this.index),c=this.slides[l];if(h===c){o();return}if(this.dir=Ne(t,a),this.prevIndex=a,this.index=l,h&&!s.trigger(h,"beforeitemhide",[this])||!s.trigger(c,"beforeitemshow",[this,h])){this.index=this.prevIndex,o();return}const d=this._show(h,c,e).then(()=>{h&&s.trigger(h,"itemhidden",[this]),s.trigger(c,"itemshown",[this]),n.shift(),this._transitioner=null,requestAnimationFrame(()=>n.length&&this.show(n.shift(),!0))});return h&&s.trigger(h,"itemhide",[this]),s.trigger(c,"itemshow",[this]),d},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)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();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)},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_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 Ne(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Se(t){return .5*t+300}var Pe={mixins:[Ee],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:y,Transitioner:be},computed:{animation({animation:t,Animations:e}){return{...e[t]||e.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({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)}}},_e={mixins:[ue,Pe],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:et,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}),created(){const t=s.$(this.template),e=s.$(this.selList,t);this.items.forEach(()=>s.append(e,"<li>"));const i=s.$("[uk-close]",t),n=this.t("close");i&&n&&(i.dataset.i18n=JSON.stringify({label:n})),this.$mount(s.append(this.container,t))},computed:{caption({selCaption:t},e){return s.$(t,e)}},events:[{name:`${s.pointerMove} ${s.pointerDown} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{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(){return document},handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===b.LEFT?e="previous":t===b.RIGHT?e="next":t===b.HOME?e=0:t===b.END&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=et.scale,s.removeClass(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){s.html(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:n,alt:r="",poster:o,attrs:a={}}=e;if(this.setItem(e,"<span uk-spinner></span>"),!i)return;let h;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":`${this.videoAutoplay}`};if(n==="image"||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const c=T("img",{src:i,alt:r,...a});s.on(c,"load",()=>this.setItem(e,c)),s.on(c,"error",()=>this.setError(e))}else if(n==="video"||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const c=T("video",{src:i,poster:o,controls:"",playsinline:"","uk-video":`${this.videoAutoplay}`,...a});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,T("iframe",{src:i,allowfullscreen:"",class:"uk-lightbox-iframe",...a}));else if(h=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,T("iframe",{src:`https://www.youtube${h[1]||""}.com/embed/${h[2]}${h[3]?`?${h[3]}`:""}`,width:1920,height:1080,...l,...a}));else if(h=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:c,width:d}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,T("iframe",{src:`https://player.vimeo.com/video/${h[1]}${h[2]?`?${h[2]}`:""}`,width:d,height:c,...l,...a}))}catch{this.setError(e)}}}],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"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=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 T(t,e){const i=s.fragment(`<${t}>`);return s.attr(i,e),i}var vt={install:De,props:{toggle:String},data:{toggle:"a"},computed:{toggles({toggle:t},e){return s.$$(t,e)}},watch:{toggles(t){this.hide();for(const e of t)s.isTag(e,"a")&&s.attr(e,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate(){return`${this.toggle}:not(.uk-disabled)`},handler(t){t.preventDefault(),this.show(t.current)}},methods:{show(t){const e=s.uniqueBy(this.toggles.map(bt),"source");if(s.isElement(t)){const{source:i}=bt(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 De(t,e){t.lightboxPanel||t.component("lightboxPanel",_e),s.assign(e.props,t.component("lightboxPanel").options.props)}function bt(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e[i==="href"?"source":i]=s.data(t,i);return e.attrs=xe(e.attrs),e}return typeof window<"u"&&window.UIkit&&window.UIkit.component("lightbox",vt),vt});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 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.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitnotification",["uikit-util"],e):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitNotification=e(t.UIkit.util))})(this,function(t){"use strict";var e={props:{container:Boolean},data:{container:!0},computed:{container({container:s}){return s===!0&&this.$container||s&&t.$(s)}}},r={mixins:[e],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:c,computed:{marginProp({pos:s}){return`margin${t.startsWith(s,"top")?"Top":"Bottom"}`},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const s=t.$(`.${this.clsContainer}-${this.pos}`,this.container)||t.append(this.container,`<div class="${this.clsContainer} ${this.clsContainer}-${this.pos}" style="display: block"></div>`);this.$mount(t.append(s,`<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 s=t.toFloat(t.css(this.$el,this.marginProp));await t.Transition.start(t.css(this.$el,this.startProps),{opacity:1,[this.marginProp]:s}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(s){t.closest(s.target,'a[href="#"],a[href=""]')&&s.preventDefault(),this.close()},[t.pointerEnter](){this.timer&&clearTimeout(this.timer)},[t.pointerLeave](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(s){const n=o=>{const i=t.parent(o);t.trigger(o,"close",[this]),t.remove(o),i!=null&&i.hasChildNodes()||t.remove(i)};this.timer&&clearTimeout(this.timer),s||await t.Transition.start(this.$el,this.startProps),n(this.$el)}}};function c(s){s.notification.closeAll=function(n,o){t.apply(document.body,i=>{const a=s.getComponent(i,"notification");a&&(!n||n===a.group)&&a.close(o)})}}return typeof window<"u"&&window.UIkit&&window.UIkit.component("notification",r),r});
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitnotification",["uikit-util"],e):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitNotification=e(t.UIkit.util))})(this,function(t){"use strict";var e={props:{container:Boolean},data:{container:!0},computed:{container({container:s}){return s===!0&&this.$container||s&&t.$(s)}}},r={mixins:[e],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:c,computed:{marginProp({pos:s}){return`margin${t.startsWith(s,"top")?"Top":"Bottom"}`},startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const s=t.$(`.${this.clsContainer}-${this.pos}`,this.container)||t.append(this.container,`<div class="${this.clsContainer} ${this.clsContainer}-${this.pos}" style="display: block"></div>`);this.$mount(t.append(s,`<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 s=t.toFloat(t.css(this.$el,this.marginProp));await t.Transition.start(t.css(this.$el,this.startProps),{opacity:1,[this.marginProp]:s}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(s){t.closest(s.target,'a[href="#"],a[href=""]')&&s.preventDefault(),this.close()},[t.pointerEnter](){this.timer&&clearTimeout(this.timer)},[t.pointerLeave](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(s){const n=o=>{const i=t.parent(o);t.trigger(o,"close",[this]),t.remove(o),i!=null&&i.hasChildNodes()||t.remove(i)};this.timer&&clearTimeout(this.timer),s||await t.Transition.start(this.$el,this.startProps),n(this.$el)}}};function c(s){s.notification.closeAll=function(n,o){t.apply(document.body,i=>{const a=s.getComponent(i,"notification");a&&(!n||n===a.group)&&a.close(o)})}}return typeof window<"u"&&window.UIkit&&window.UIkit.component("notification",r),r});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 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.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitparallax",["uikit-util"],b):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitParallax=b(s.UIkit.util))})(this,function(s){"use strict";var b={props:{media:Boolean},data:{media:!1},connected(){const n=X(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const t=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{t(),this.$emit("resize")}),t()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function X(n,t){if(s.isString(n)){if(s.startsWith(n,"@"))n=s.toFloat(s.css(t,`--uk-breakpoint-${n.substr(1)}`));else if(isNaN(n))return n}return n&&s.isNumeric(n)?`(min-width: ${n}px)`:""}function I(n,t){var e;return(e=n==null?void 0:n.startsWith)==null?void 0:e.call(n,t)}function Y(n){return typeof n=="function"}function M(n){return n!==null&&typeof n=="object"}function Z(n){return M(n)&&n===n.window}function z(n){return T(n)>=1}function k(n){return T(n)===1}function T(n){return!Z(n)&&M(n)&&n.nodeType}function O(n){return typeof n=="string"}function U(n){return n===void 0}function x(n){return u(n)[0]}function u(n){return z(n)?[n]:Array.from(n||[]).filter(z)}function j(n){const t=Object.create(null);return e=>t[e]||(t[e]=n(e))}function P(n,t,e){var o;if(M(t)){for(const r in t)P(n,r,t[r]);return}if(U(e))return(o=x(n))==null?void 0:o.getAttribute(t);for(const r of u(n))Y(e)&&(e=e.call(r,P(r,t))),e===null?nn(r,t):r.setAttribute(t,e)}function nn(n,t){u(n).forEach(e=>e.removeAttribute(t))}function A(n){var t;return(t=x(n))==null?void 0:t.parentElement}function tn(n,t){return u(n).filter(e=>R(e,t))}function R(n,t){return u(n).some(e=>e.matches(t))}function W(n,t){return k(n)?n.closest(I(t,">")?t.slice(1):t):u(n).map(e=>W(e,t)).filter(Boolean)}function en(n,t){n=x(n);const e=n?u(n.children):[];return t?tn(e,t):e}function rn(n,t){return t?u(n).indexOf(x(t)):en(A(n)).indexOf(n)}function on(n,t){return u(un(n,x(t),"querySelectorAll"))}const sn=/(^|[^\\],)\s*[!>+~-]/,cn=j(n=>n.match(sn)),an=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,fn=j(n=>n.replace(an,"$1 *"));function un(n,t=document,e){if(!n||!O(n))return n;if(n=fn(n),cn(n)){const o=hn(n);n="";for(let r of o){let i=t;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(i=W(A(t),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&o.length===1)return i}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),c=(i||t).previousElementSibling;i=R(c,r.substr(1))?c:null,r=a.slice(1).join(" ")}i&&(n+=`${n?",":""}${ln(i)} ${r}`)}t=document}try{return t[e](n)}catch{return null}}const dn=/.*?[^\\](?:,|$)/g,hn=j(n=>n.match(dn).map(t=>t.replace(/,$/,"").trim()));function ln(n){const t=[];for(;n.parentNode;){const e=P(n,"id");if(e){t.unshift(`#${gn(e)}`);break}else{let{tagName:o}=n;o!=="HTML"&&(o+=`:nth-child(${rn(n)+1})`),t.unshift(o),n=n.parentNode}}return t.join(" > ")}function gn(n){return O(n)?CSS.escape(n):""}const mn=/^\s*<(\w+|!)[^>]*>/,bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const t=bn.exec(n);if(t)return document.createElement(t[1]);const e=document.createElement("div");return mn.test(n)?e.insertAdjacentHTML("beforeend",n.trim()):e.textContent=n,$n(e.childNodes)}function $n(n){return n.length>1?n:n[0]}function wn(n,t){return yn(n)?u(xn(n)):on(n,t)}function yn(n){return O(n)&&I(n.trim(),"<")}function vn(n){return Math.ceil(Math.max(0,...wn("[stroke]",n).map(t=>{try{return t.getTotalLength()}catch{return 0}})))}const v={x:p,y:p,rotate:p,scale:p,color:C,backgroundColor:C,borderColor:C,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Fn,stroke:Mn,bgx:B,bgy:B},{keys:_}=Object;var pn={mixins:[b],props:L(_(v),"list"),data:L(_(v),void 0),computed:{props(n,t){const e={};for(const r in n)r in v&&!s.isUndefined(n[r])&&(e[r]=n[r].slice());const o={};for(const r in e)o[r]=v[r](r,t,e[r],e);return o}},events:{load(){this.$emit()}},methods:{reset(){for(const n in this.getCss(0))s.css(this.$el,n,"")},getCss(n){const t={transform:"",filter:""};for(const e in this.props)this.props[e](t,n);return t.willChange=Object.keys(t).filter(e=>t[e]!=="").join(","),t}}};function p(n,t,e){let o=F(e)||{x:"px",y:"px",rotate:"deg"}[n]||"",r;return n==="x"||n==="y"?(n=`translate${s.ucfirst(n)}`,r=i=>s.toFloat(s.toFloat(i).toFixed(o==="px"?0:6))):n==="scale"&&(o="",r=i=>F([i])?s.toPx(i,"width",t,!0)/t.offsetWidth:i),e.length===1&&e.unshift(n==="scale"?1:0),e=m(e,r),(i,a)=>{i.transform+=` ${n}(${$(e,a)}${o})`}}function C(n,t,e){return e.length===1&&e.unshift(w(t,n,"")),e=m(e,o=>Sn(t,o)),(o,r)=>{const[i,a,c]=q(e,r),h=i.map((l,f)=>(l+=c*(a[f]-l),f===3?s.toFloat(l):parseInt(l,10))).join(",");o[n]=`rgba(${h})`}}function Sn(n,t){return w(n,"color",t).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function g(n,t,e){e.length===1&&e.unshift(0);const o=F(e)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,e=m(e),(r,i)=>{const a=$(e,i);r.filter+=` ${n}(${a+o})`}}function Fn(n,t,e){return e.length===1&&e.unshift(w(t,n,"")),e=m(e),(o,r)=>{o[n]=$(e,r)}}function Mn(n,t,e){e.length===1&&e.unshift(0);const o=F(e),r=vn(t);return e=m(e.reverse(),i=>(i=s.toFloat(i),o==="%"?i*r/100:i)),e.some(([i])=>i)?(s.css(t,"strokeDasharray",r),(i,a)=>{i.strokeDashoffset=$(e,a)}):s.noop}function B(n,t,e,o){e.length===1&&e.unshift(0);const r=n==="bgy"?"height":"width";o[n]=m(e,c=>s.toPx(c,r,t));const i=["bgx","bgy"].filter(c=>c in o);if(i.length===2&&n==="bgx")return s.noop;if(w(t,"backgroundSize","")==="cover")return On(n,t,e,o);const a={};for(const c of i)a[c]=D(t,c);return H(i,a,o)}function On(n,t,e,o){const r=jn(t);if(!r.width)return s.noop;const i={width:t.offsetWidth,height:t.offsetHeight},a=["bgx","bgy"].filter(f=>f in o),c={};for(const f of a){const d=o[f].map(([In])=>In),y=Math.min(...d),E=Math.max(...d),K=d.indexOf(y)<d.indexOf(E),Q=E-y;c[f]=`${(K?-Q:0)-(K?y:E)}px`,i[f==="bgy"?"height":"width"]+=Q}const h=s.Dimensions.cover(r,i);for(const f of a){const d=f==="bgy"?"height":"width",y=h[d]-i[d];c[f]=`max(${D(t,f)},-${y}px) + ${c[f]}`}const l=H(a,c,o);return(f,d)=>{l(f,d),f.backgroundSize=`${h.width}px ${h.height}px`,f.backgroundRepeat="no-repeat"}}function D(n,t){return w(n,`background-position-${t.substr(-1)}`,"")}function H(n,t,e){return function(o,r){for(const i of n){const a=$(e[i],r);o[`background-position-${i.substr(-1)}`]=`calc(${t[i]} + ${a}px)`}}}const S={};function jn(n){const t=s.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[t])return S[t];const e=new Image;return t&&(e.src=t,!e.naturalWidth)?(e.onload=()=>{S[t]=N(e),s.trigger(n,s.createEvent("load",!1))},N(e)):S[t]=N(e)}function N(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,t=s.toFloat){const e=[],{length:o}=n;let r=0;for(let i=0;i<o;i++){let[a,c]=s.isString(n[i])?n[i].trim().split(" "):[n[i]];if(a=t(a),c=c?s.toFloat(c)/100:null,i===0?c===null?c=0:c&&e.push([a,0]):i===o-1&&(c===null?c=1:c!==1&&(e.push([a,c]),c=1)),e.push([a,c]),c===null)r++;else if(r){const h=e[i-r-1][1],l=(c-h)/(r+1);for(let f=r;f>0;f--)e[i-f][1]=h+l*(r-f+1);r=0}}return e}function q(n,t){const e=s.findIndex(n.slice(1),([,o])=>t<=o)+1;return[n[e-1][0],n[e][0],(t-n[e-1][1])/(n[e][1]-n[e-1][1])]}function $(n,t){const[e,o,r]=q(n,t);return s.isNumber(e)?e+Math.abs(e-o)*r*(e<o?1:-1):+o}const Pn=/^-?\d+(\S+)?/;function F(n,t){var e;for(const o of n){const r=(e=o.match)==null?void 0:e.call(o,Pn);if(r)return r[1]}return t}function w(n,t,e){const o=n.style[t],r=s.css(s.css(n,t,e),t);return n.style[t]=o,r}function L(n,t){return n.reduce((e,o)=>(e[o]=t,e),{})}function Cn(n){return V(s.observeResize,n,"resize")}function Nn(n){return V(function(t,e){return{disconnect:s.on(t,"scroll",e,{passive:!0,capture:!0})}},{target:()=>window,...n},"scroll")}function V(n,t,e){return{observe:n,handler(){this.$emit(e)},...t}}var G={mixins:[pn],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target({target:n},t){return J(n&&s.query(n,t)||t)},start({start:n}){return s.toPx(n,"height",this.target,!0)},end({end:n,viewport:t}){return s.toPx(n||(t=(1-t)*100)&&`${t}vh+${t}%`,"height",this.target,!0)}},observe:[Cn({target:({$el:n,target:t})=>[n,t]}),Nn()],update:{read({percent:n},t){if(t.has("scroll")||(n=!1),!s.isVisible(this.$el))return!1;if(!this.matchMedia)return;const e=n;return n=En(s.scrolledOver(this.target,this.start,this.end),this.easing),{percent:n,style:e===n?!1:this.getCss(n)}},write({style:n}){if(!this.matchMedia){this.reset();return}n&&s.css(this.$el,n)},events:["scroll","resize"]}};function En(n,t){return t>=0?Math.pow(n,t+1):1-Math.pow(1-n,1-t)}function J(n){return n?"offsetTop"in n?n:J(s.parent(n)):document.documentElement}return typeof window<"u"&&window.UIkit&&window.UIkit.component("parallax",G),G});
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitparallax",["uikit-util"],b):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitParallax=b(s.UIkit.util))})(this,function(s){"use strict";var b={props:{media:Boolean},data:{media:!1},connected(){const n=X(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const t=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{t(),this.$emit("resize")}),t()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function X(n,t){if(s.isString(n)){if(s.startsWith(n,"@"))n=s.toFloat(s.css(t,`--uk-breakpoint-${n.substr(1)}`));else if(isNaN(n))return n}return n&&s.isNumeric(n)?`(min-width: ${n}px)`:""}function I(n,t){var e;return(e=n==null?void 0:n.startsWith)==null?void 0:e.call(n,t)}function Y(n){return typeof n=="function"}function M(n){return n!==null&&typeof n=="object"}function Z(n){return M(n)&&n===n.window}function z(n){return T(n)>=1}function k(n){return T(n)===1}function T(n){return!Z(n)&&M(n)&&n.nodeType}function O(n){return typeof n=="string"}function U(n){return n===void 0}function x(n){return u(n)[0]}function u(n){return z(n)?[n]:Array.from(n||[]).filter(z)}function j(n){const t=Object.create(null);return e=>t[e]||(t[e]=n(e))}function P(n,t,e){var o;if(M(t)){for(const r in t)P(n,r,t[r]);return}if(U(e))return(o=x(n))==null?void 0:o.getAttribute(t);for(const r of u(n))Y(e)&&(e=e.call(r,P(r,t))),e===null?nn(r,t):r.setAttribute(t,e)}function nn(n,t){u(n).forEach(e=>e.removeAttribute(t))}function A(n){var t;return(t=x(n))==null?void 0:t.parentElement}function tn(n,t){return u(n).filter(e=>R(e,t))}function R(n,t){return u(n).some(e=>e.matches(t))}function W(n,t){return k(n)?n.closest(I(t,">")?t.slice(1):t):u(n).map(e=>W(e,t)).filter(Boolean)}function en(n,t){n=x(n);const e=n?u(n.children):[];return t?tn(e,t):e}function rn(n,t){return t?u(n).indexOf(x(t)):en(A(n)).indexOf(n)}function on(n,t){return u(un(n,x(t),"querySelectorAll"))}const sn=/(^|[^\\],)\s*[!>+~-]/,cn=j(n=>n.match(sn)),an=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,fn=j(n=>n.replace(an,"$1 *"));function un(n,t=document,e){if(!n||!O(n))return n;if(n=fn(n),cn(n)){const o=hn(n);n="";for(let r of o){let i=t;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(i=W(A(t),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&o.length===1)return i}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),c=(i||t).previousElementSibling;i=R(c,r.substr(1))?c:null,r=a.slice(1).join(" ")}i&&(n+=`${n?",":""}${ln(i)} ${r}`)}t=document}try{return t[e](n)}catch{return null}}const dn=/.*?[^\\](?:,|$)/g,hn=j(n=>n.match(dn).map(t=>t.replace(/,$/,"").trim()));function ln(n){const t=[];for(;n.parentNode;){const e=P(n,"id");if(e){t.unshift(`#${gn(e)}`);break}else{let{tagName:o}=n;o!=="HTML"&&(o+=`:nth-child(${rn(n)+1})`),t.unshift(o),n=n.parentNode}}return t.join(" > ")}function gn(n){return O(n)?CSS.escape(n):""}const mn=/^\s*<(\w+|!)[^>]*>/,bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const t=bn.exec(n);if(t)return document.createElement(t[1]);const e=document.createElement("div");return mn.test(n)?e.insertAdjacentHTML("beforeend",n.trim()):e.textContent=n,$n(e.childNodes)}function $n(n){return n.length>1?n:n[0]}function wn(n,t){return yn(n)?u(xn(n)):on(n,t)}function yn(n){return O(n)&&I(n.trim(),"<")}function vn(n){return Math.ceil(Math.max(0,...wn("[stroke]",n).map(t=>{try{return t.getTotalLength()}catch{return 0}})))}const v={x:p,y:p,rotate:p,scale:p,color:C,backgroundColor:C,borderColor:C,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Fn,stroke:Mn,bgx:B,bgy:B},{keys:_}=Object;var pn={mixins:[b],props:L(_(v),"list"),data:L(_(v),void 0),computed:{props(n,t){const e={};for(const r in n)r in v&&!s.isUndefined(n[r])&&(e[r]=n[r].slice());const o={};for(const r in e)o[r]=v[r](r,t,e[r],e);return o}},events:{load(){this.$emit()}},methods:{reset(){for(const n in this.getCss(0))s.css(this.$el,n,"")},getCss(n){const t={transform:"",filter:""};for(const e in this.props)this.props[e](t,n);return t.willChange=Object.keys(t).filter(e=>t[e]!=="").join(","),t}}};function p(n,t,e){let o=F(e)||{x:"px",y:"px",rotate:"deg"}[n]||"",r;return n==="x"||n==="y"?(n=`translate${s.ucfirst(n)}`,r=i=>s.toFloat(s.toFloat(i).toFixed(o==="px"?0:6))):n==="scale"&&(o="",r=i=>F([i])?s.toPx(i,"width",t,!0)/t.offsetWidth:i),e.length===1&&e.unshift(n==="scale"?1:0),e=m(e,r),(i,a)=>{i.transform+=` ${n}(${$(e,a)}${o})`}}function C(n,t,e){return e.length===1&&e.unshift(w(t,n,"")),e=m(e,o=>Sn(t,o)),(o,r)=>{const[i,a,c]=q(e,r),h=i.map((l,f)=>(l+=c*(a[f]-l),f===3?s.toFloat(l):parseInt(l,10))).join(",");o[n]=`rgba(${h})`}}function Sn(n,t){return w(n,"color",t).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function g(n,t,e){e.length===1&&e.unshift(0);const o=F(e)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,e=m(e),(r,i)=>{const a=$(e,i);r.filter+=` ${n}(${a+o})`}}function Fn(n,t,e){return e.length===1&&e.unshift(w(t,n,"")),e=m(e),(o,r)=>{o[n]=$(e,r)}}function Mn(n,t,e){e.length===1&&e.unshift(0);const o=F(e),r=vn(t);return e=m(e.reverse(),i=>(i=s.toFloat(i),o==="%"?i*r/100:i)),e.some(([i])=>i)?(s.css(t,"strokeDasharray",r),(i,a)=>{i.strokeDashoffset=$(e,a)}):s.noop}function B(n,t,e,o){e.length===1&&e.unshift(0);const r=n==="bgy"?"height":"width";o[n]=m(e,c=>s.toPx(c,r,t));const i=["bgx","bgy"].filter(c=>c in o);if(i.length===2&&n==="bgx")return s.noop;if(w(t,"backgroundSize","")==="cover")return On(n,t,e,o);const a={};for(const c of i)a[c]=D(t,c);return H(i,a,o)}function On(n,t,e,o){const r=jn(t);if(!r.width)return s.noop;const i={width:t.offsetWidth,height:t.offsetHeight},a=["bgx","bgy"].filter(f=>f in o),c={};for(const f of a){const d=o[f].map(([In])=>In),y=Math.min(...d),E=Math.max(...d),K=d.indexOf(y)<d.indexOf(E),Q=E-y;c[f]=`${(K?-Q:0)-(K?y:E)}px`,i[f==="bgy"?"height":"width"]+=Q}const h=s.Dimensions.cover(r,i);for(const f of a){const d=f==="bgy"?"height":"width",y=h[d]-i[d];c[f]=`max(${D(t,f)},-${y}px) + ${c[f]}`}const l=H(a,c,o);return(f,d)=>{l(f,d),f.backgroundSize=`${h.width}px ${h.height}px`,f.backgroundRepeat="no-repeat"}}function D(n,t){return w(n,`background-position-${t.substr(-1)}`,"")}function H(n,t,e){return function(o,r){for(const i of n){const a=$(e[i],r);o[`background-position-${i.substr(-1)}`]=`calc(${t[i]} + ${a}px)`}}}const S={};function jn(n){const t=s.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(S[t])return S[t];const e=new Image;return t&&(e.src=t,!e.naturalWidth)?(e.onload=()=>{S[t]=N(e),s.trigger(n,s.createEvent("load",!1))},N(e)):S[t]=N(e)}function N(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,t=s.toFloat){const e=[],{length:o}=n;let r=0;for(let i=0;i<o;i++){let[a,c]=s.isString(n[i])?n[i].trim().split(" "):[n[i]];if(a=t(a),c=c?s.toFloat(c)/100:null,i===0?c===null?c=0:c&&e.push([a,0]):i===o-1&&(c===null?c=1:c!==1&&(e.push([a,c]),c=1)),e.push([a,c]),c===null)r++;else if(r){const h=e[i-r-1][1],l=(c-h)/(r+1);for(let f=r;f>0;f--)e[i-f][1]=h+l*(r-f+1);r=0}}return e}function q(n,t){const e=s.findIndex(n.slice(1),([,o])=>t<=o)+1;return[n[e-1][0],n[e][0],(t-n[e-1][1])/(n[e][1]-n[e-1][1])]}function $(n,t){const[e,o,r]=q(n,t);return s.isNumber(e)?e+Math.abs(e-o)*r*(e<o?1:-1):+o}const Pn=/^-?\d+(\S+)?/;function F(n,t){var e;for(const o of n){const r=(e=o.match)==null?void 0:e.call(o,Pn);if(r)return r[1]}return t}function w(n,t,e){const o=n.style[t],r=s.css(s.css(n,t,e),t);return n.style[t]=o,r}function L(n,t){return n.reduce((e,o)=>(e[o]=t,e),{})}function Cn(n){return V(s.observeResize,n,"resize")}function Nn(n){return V(function(t,e){return{disconnect:s.on(t,"scroll",e,{passive:!0,capture:!0})}},{target:()=>window,...n},"scroll")}function V(n,t,e){return{observe:n,handler(){this.$emit(e)},...t}}var G={mixins:[pn],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target({target:n},t){return J(n&&s.query(n,t)||t)},start({start:n}){return s.toPx(n,"height",this.target,!0)},end({end:n,viewport:t}){return s.toPx(n||(t=(1-t)*100)&&`${t}vh+${t}%`,"height",this.target,!0)}},observe:[Cn({target:({$el:n,target:t})=>[n,t]}),Nn()],update:{read({percent:n},t){if(t.has("scroll")||(n=!1),!s.isVisible(this.$el))return!1;if(!this.matchMedia)return;const e=n;return n=En(s.scrolledOver(this.target,this.start,this.end),this.easing),{percent:n,style:e===n?!1:this.getCss(n)}},write({style:n}){if(!this.matchMedia){this.reset();return}n&&s.css(this.$el,n)},events:["scroll","resize"]}};function En(n,t){return t>=0?Math.pow(n,t+1):1-Math.pow(1-n,1-t)}function J(n){return n?"offsetTop"in n?n:J(s.parent(n)):document.documentElement}return typeof window<"u"&&window.UIkit&&window.UIkit.component("parallax",G),G});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 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.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 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_parallax",["uikit-util"],b):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlider_parallax=b(s.UIkit.util))})(this,function(s){"use strict";var b={props:{media:Boolean},data:{media:!1},connected(){const n=X(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const e=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function X(n,e){if(s.isString(n)){if(s.startsWith(n,"@"))n=s.toFloat(s.css(e,`--uk-breakpoint-${n.substr(1)}`));else if(isNaN(n))return n}return n&&s.isNumeric(n)?`(min-width: ${n}px)`:""}function T(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}function Y(n){return typeof n=="function"}function C(n){return n!==null&&typeof n=="object"}function Z(n){return C(n)&&n===n.window}function E(n){return W(n)>=1}function k(n){return W(n)===1}function W(n){return!Z(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function U(n){return n===void 0}function x(n){return u(n)[0]}function u(n){return E(n)?[n]:Array.from(n||[]).filter(E)}function j(n){const e=Object.create(null);return t=>e[t]||(e[t]=n(t))}function O(n,e,t){var o;if(C(e)){for(const r in e)O(n,r,e[r]);return}if(U(t))return(o=x(n))==null?void 0:o.getAttribute(e);for(const r of u(n))Y(t)&&(t=t.call(r,O(r,e))),t===null?nn(r,e):r.setAttribute(e,t)}function nn(n,e){u(n).forEach(t=>t.removeAttribute(e))}function A(n){var e;return(e=x(n))==null?void 0:e.parentElement}function tn(n,e){return u(n).filter(t=>_(t,e))}function _(n,e){return u(n).some(t=>t.matches(e))}function R(n,e){return k(n)?n.closest(T(e,">")?e.slice(1):e):u(n).map(t=>R(t,e)).filter(Boolean)}function en(n,e){n=x(n);const t=n?u(n.children):[];return e?tn(t,e):t}function rn(n,e){return e?u(n).indexOf(x(e)):en(A(n)).indexOf(n)}function on(n,e){return u(un(n,x(e),"querySelectorAll"))}const sn=/(^|[^\\],)\s*[!>+~-]/,cn=j(n=>n.match(sn)),an=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,fn=j(n=>n.replace(an,"$1 *"));function un(n,e=document,t){if(!n||!M(n))return n;if(n=fn(n),cn(n)){const o=hn(n);n="";for(let r of o){let i=e;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(i=R(A(e),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&o.length===1)return i}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),c=(i||e).previousElementSibling;i=_(c,r.substr(1))?c:null,r=a.slice(1).join(" ")}i&&(n+=`${n?",":""}${ln(i)} ${r}`)}e=document}try{return e[t](n)}catch{return null}}const dn=/.*?[^\\](?:,|$)/g,hn=j(n=>n.match(dn).map(e=>e.replace(/,$/,"").trim()));function ln(n){const e=[];for(;n.parentNode;){const t=O(n,"id");if(t){e.unshift(`#${gn(t)}`);break}else{let{tagName:o}=n;o!=="HTML"&&(o+=`:nth-child(${rn(n)+1})`),e.unshift(o),n=n.parentNode}}return e.join(" > ")}function gn(n){return M(n)?CSS.escape(n):""}const mn=/^\s*<(\w+|!)[^>]*>/,bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const e=bn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("div");return mn.test(n)?t.insertAdjacentHTML("beforeend",n.trim()):t.textContent=n,$n(t.childNodes)}function $n(n){return n.length>1?n:n[0]}function yn(n,e){return wn(n)?u(xn(n)):on(n,e)}function wn(n){return M(n)&&T(n.trim(),"<")}function pn(n){return Math.ceil(Math.max(0,...yn("[stroke]",n).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}const p={x:v,y:v,rotate:v,scale:v,color:I,backgroundColor:I,borderColor:I,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Sn,stroke:Cn,bgx:B,bgy:B},{keys:z}=Object;var vn={mixins:[b],props:L(z(p),"list"),data:L(z(p),void 0),computed:{props(n,e){const t={};for(const r in n)r in p&&!s.isUndefined(n[r])&&(t[r]=n[r].slice());const o={};for(const r in t)o[r]=p[r](r,e,t[r],t);return o}},events:{load(){this.$emit()}},methods:{reset(){for(const n in this.getCss(0))s.css(this.$el,n,"")},getCss(n){const e={transform:"",filter:""};for(const t in this.props)this.props[t](e,n);return e.willChange=Object.keys(e).filter(t=>e[t]!=="").join(","),e}}};function v(n,e,t){let o=S(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",r;return n==="x"||n==="y"?(n=`translate${s.ucfirst(n)}`,r=i=>s.toFloat(s.toFloat(i).toFixed(o==="px"?0:6))):n==="scale"&&(o="",r=i=>S([i])?s.toPx(i,"width",e,!0)/e.offsetWidth:i),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,r),(i,a)=>{i.transform+=` ${n}(${$(t,a)}${o})`}}function I(n,e,t){return t.length===1&&t.unshift(y(e,n,"")),t=m(t,o=>Fn(e,o)),(o,r)=>{const[i,a,c]=q(t,r),h=i.map((l,f)=>(l+=c*(a[f]-l),f===3?s.toFloat(l):parseInt(l,10))).join(",");o[n]=`rgba(${h})`}}function Fn(n,e){return y(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const o=S(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(r,i)=>{const a=$(t,i);r.filter+=` ${n}(${a+o})`}}function Sn(n,e,t){return t.length===1&&t.unshift(y(e,n,"")),t=m(t),(o,r)=>{o[n]=$(t,r)}}function Cn(n,e,t){t.length===1&&t.unshift(0);const o=S(t),r=pn(e);return t=m(t.reverse(),i=>(i=s.toFloat(i),o==="%"?i*r/100:i)),t.some(([i])=>i)?(s.css(e,"strokeDasharray",r),(i,a)=>{i.strokeDashoffset=$(t,a)}):s.noop}function B(n,e,t,o){t.length===1&&t.unshift(0);const r=n==="bgy"?"height":"width";o[n]=m(t,c=>s.toPx(c,r,e));const i=["bgx","bgy"].filter(c=>c in o);if(i.length===2&&n==="bgx")return s.noop;if(y(e,"backgroundSize","")==="cover")return Mn(n,e,t,o);const a={};for(const c of i)a[c]=D(e,c);return H(i,a,o)}function Mn(n,e,t,o){const r=jn(e);if(!r.width)return s.noop;const i={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(f=>f in o),c={};for(const f of a){const d=o[f].map(([In])=>In),w=Math.min(...d),N=Math.max(...d),K=d.indexOf(w)<d.indexOf(N),Q=N-w;c[f]=`${(K?-Q:0)-(K?w:N)}px`,i[f==="bgy"?"height":"width"]+=Q}const h=s.Dimensions.cover(r,i);for(const f of a){const d=f==="bgy"?"height":"width",w=h[d]-i[d];c[f]=`max(${D(e,f)},-${w}px) + ${c[f]}`}const l=H(a,c,o);return(f,d)=>{l(f,d),f.backgroundSize=`${h.width}px ${h.height}px`,f.backgroundRepeat="no-repeat"}}function D(n,e){return y(n,`background-position-${e.substr(-1)}`,"")}function H(n,e,t){return function(o,r){for(const i of n){const a=$(t[i],r);o[`background-position-${i.substr(-1)}`]=`calc(${e[i]} + ${a}px)`}}}const F={};function jn(n){const e=s.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(F[e])return F[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth)?(t.onload=()=>{F[e]=P(t),s.trigger(n,s.createEvent("load",!1))},P(t)):F[e]=P(t)}function P(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=s.toFloat){const t=[],{length:o}=n;let r=0;for(let i=0;i<o;i++){let[a,c]=s.isString(n[i])?n[i].trim().split(" "):[n[i]];if(a=e(a),c=c?s.toFloat(c)/100:null,i===0?c===null?c=0:c&&t.push([a,0]):i===o-1&&(c===null?c=1:c!==1&&(t.push([a,c]),c=1)),t.push([a,c]),c===null)r++;else if(r){const h=t[i-r-1][1],l=(c-h)/(r+1);for(let f=r;f>0;f--)t[i-f][1]=h+l*(r-f+1);r=0}}return t}function q(n,e){const t=s.findIndex(n.slice(1),([,o])=>e<=o)+1;return[n[t-1][0],n[t][0],(e-n[t-1][1])/(n[t][1]-n[t-1][1])]}function $(n,e){const[t,o,r]=q(n,e);return s.isNumber(t)?t+Math.abs(t-o)*r*(t<o?1:-1):+o}const On=/^-?\d+(\S+)?/;function S(n,e){var t;for(const o of n){const r=(t=o.match)==null?void 0:t.call(o,On);if(r)return r[1]}return e}function y(n,e,t){const o=n.style[e],r=s.css(s.css(n,e,t),e);return n.style[e]=o,r}function L(n,e){return n.reduce((t,o)=>(t[o]=e,t),{})}var V={mixins:[vn],data:{selItem:"!li"},beforeConnect(){this.item=s.query(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:n,detail:{percent:e,duration:t,timing:o,dir:r}}){s.fastdom.read(()=>{if(!this.matchMedia)return;const i=this.getCss(J(n,r,e)),a=this.getCss(G(n)?.5:r>0?1:0);s.fastdom.write(()=>{s.css(this.$el,i),s.Transition.start(this.$el,a,t,o).catch(s.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){s.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:n,detail:{percent:e,dir:t}}){s.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const o=this.getCss(J(n,t,e));s.fastdom.write(()=>s.css(this.$el,o))})}}]};function G(n){return s.endsWith(n,"in")}function J(n,e,t){return t/=2,G(n)^e<0?t:1-t}return typeof window<"u"&&window.UIkit&&window.UIkit.component("sliderParallax",V),V});
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 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_parallax",["uikit-util"],b):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlider_parallax=b(s.UIkit.util))})(this,function(s){"use strict";var b={props:{media:Boolean},data:{media:!1},connected(){const n=X(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const e=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function X(n,e){if(s.isString(n)){if(s.startsWith(n,"@"))n=s.toFloat(s.css(e,`--uk-breakpoint-${n.substr(1)}`));else if(isNaN(n))return n}return n&&s.isNumeric(n)?`(min-width: ${n}px)`:""}function T(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}function Y(n){return typeof n=="function"}function C(n){return n!==null&&typeof n=="object"}function Z(n){return C(n)&&n===n.window}function E(n){return W(n)>=1}function k(n){return W(n)===1}function W(n){return!Z(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function U(n){return n===void 0}function x(n){return u(n)[0]}function u(n){return E(n)?[n]:Array.from(n||[]).filter(E)}function j(n){const e=Object.create(null);return t=>e[t]||(e[t]=n(t))}function O(n,e,t){var o;if(C(e)){for(const r in e)O(n,r,e[r]);return}if(U(t))return(o=x(n))==null?void 0:o.getAttribute(e);for(const r of u(n))Y(t)&&(t=t.call(r,O(r,e))),t===null?nn(r,e):r.setAttribute(e,t)}function nn(n,e){u(n).forEach(t=>t.removeAttribute(e))}function A(n){var e;return(e=x(n))==null?void 0:e.parentElement}function tn(n,e){return u(n).filter(t=>_(t,e))}function _(n,e){return u(n).some(t=>t.matches(e))}function R(n,e){return k(n)?n.closest(T(e,">")?e.slice(1):e):u(n).map(t=>R(t,e)).filter(Boolean)}function en(n,e){n=x(n);const t=n?u(n.children):[];return e?tn(t,e):t}function rn(n,e){return e?u(n).indexOf(x(e)):en(A(n)).indexOf(n)}function on(n,e){return u(un(n,x(e),"querySelectorAll"))}const sn=/(^|[^\\],)\s*[!>+~-]/,cn=j(n=>n.match(sn)),an=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,fn=j(n=>n.replace(an,"$1 *"));function un(n,e=document,t){if(!n||!M(n))return n;if(n=fn(n),cn(n)){const o=hn(n);n="";for(let r of o){let i=e;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(i=R(A(e),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&o.length===1)return i}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),c=(i||e).previousElementSibling;i=_(c,r.substr(1))?c:null,r=a.slice(1).join(" ")}i&&(n+=`${n?",":""}${ln(i)} ${r}`)}e=document}try{return e[t](n)}catch{return null}}const dn=/.*?[^\\](?:,|$)/g,hn=j(n=>n.match(dn).map(e=>e.replace(/,$/,"").trim()));function ln(n){const e=[];for(;n.parentNode;){const t=O(n,"id");if(t){e.unshift(`#${gn(t)}`);break}else{let{tagName:o}=n;o!=="HTML"&&(o+=`:nth-child(${rn(n)+1})`),e.unshift(o),n=n.parentNode}}return e.join(" > ")}function gn(n){return M(n)?CSS.escape(n):""}const mn=/^\s*<(\w+|!)[^>]*>/,bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const e=bn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("div");return mn.test(n)?t.insertAdjacentHTML("beforeend",n.trim()):t.textContent=n,$n(t.childNodes)}function $n(n){return n.length>1?n:n[0]}function yn(n,e){return wn(n)?u(xn(n)):on(n,e)}function wn(n){return M(n)&&T(n.trim(),"<")}function pn(n){return Math.ceil(Math.max(0,...yn("[stroke]",n).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}const p={x:v,y:v,rotate:v,scale:v,color:I,backgroundColor:I,borderColor:I,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Sn,stroke:Cn,bgx:B,bgy:B},{keys:z}=Object;var vn={mixins:[b],props:L(z(p),"list"),data:L(z(p),void 0),computed:{props(n,e){const t={};for(const r in n)r in p&&!s.isUndefined(n[r])&&(t[r]=n[r].slice());const o={};for(const r in t)o[r]=p[r](r,e,t[r],t);return o}},events:{load(){this.$emit()}},methods:{reset(){for(const n in this.getCss(0))s.css(this.$el,n,"")},getCss(n){const e={transform:"",filter:""};for(const t in this.props)this.props[t](e,n);return e.willChange=Object.keys(e).filter(t=>e[t]!=="").join(","),e}}};function v(n,e,t){let o=S(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",r;return n==="x"||n==="y"?(n=`translate${s.ucfirst(n)}`,r=i=>s.toFloat(s.toFloat(i).toFixed(o==="px"?0:6))):n==="scale"&&(o="",r=i=>S([i])?s.toPx(i,"width",e,!0)/e.offsetWidth:i),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,r),(i,a)=>{i.transform+=` ${n}(${$(t,a)}${o})`}}function I(n,e,t){return t.length===1&&t.unshift(y(e,n,"")),t=m(t,o=>Fn(e,o)),(o,r)=>{const[i,a,c]=q(t,r),h=i.map((l,f)=>(l+=c*(a[f]-l),f===3?s.toFloat(l):parseInt(l,10))).join(",");o[n]=`rgba(${h})`}}function Fn(n,e){return y(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const o=S(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(r,i)=>{const a=$(t,i);r.filter+=` ${n}(${a+o})`}}function Sn(n,e,t){return t.length===1&&t.unshift(y(e,n,"")),t=m(t),(o,r)=>{o[n]=$(t,r)}}function Cn(n,e,t){t.length===1&&t.unshift(0);const o=S(t),r=pn(e);return t=m(t.reverse(),i=>(i=s.toFloat(i),o==="%"?i*r/100:i)),t.some(([i])=>i)?(s.css(e,"strokeDasharray",r),(i,a)=>{i.strokeDashoffset=$(t,a)}):s.noop}function B(n,e,t,o){t.length===1&&t.unshift(0);const r=n==="bgy"?"height":"width";o[n]=m(t,c=>s.toPx(c,r,e));const i=["bgx","bgy"].filter(c=>c in o);if(i.length===2&&n==="bgx")return s.noop;if(y(e,"backgroundSize","")==="cover")return Mn(n,e,t,o);const a={};for(const c of i)a[c]=D(e,c);return H(i,a,o)}function Mn(n,e,t,o){const r=jn(e);if(!r.width)return s.noop;const i={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(f=>f in o),c={};for(const f of a){const d=o[f].map(([In])=>In),w=Math.min(...d),N=Math.max(...d),K=d.indexOf(w)<d.indexOf(N),Q=N-w;c[f]=`${(K?-Q:0)-(K?w:N)}px`,i[f==="bgy"?"height":"width"]+=Q}const h=s.Dimensions.cover(r,i);for(const f of a){const d=f==="bgy"?"height":"width",w=h[d]-i[d];c[f]=`max(${D(e,f)},-${w}px) + ${c[f]}`}const l=H(a,c,o);return(f,d)=>{l(f,d),f.backgroundSize=`${h.width}px ${h.height}px`,f.backgroundRepeat="no-repeat"}}function D(n,e){return y(n,`background-position-${e.substr(-1)}`,"")}function H(n,e,t){return function(o,r){for(const i of n){const a=$(t[i],r);o[`background-position-${i.substr(-1)}`]=`calc(${e[i]} + ${a}px)`}}}const F={};function jn(n){const e=s.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(F[e])return F[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth)?(t.onload=()=>{F[e]=P(t),s.trigger(n,s.createEvent("load",!1))},P(t)):F[e]=P(t)}function P(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=s.toFloat){const t=[],{length:o}=n;let r=0;for(let i=0;i<o;i++){let[a,c]=s.isString(n[i])?n[i].trim().split(" "):[n[i]];if(a=e(a),c=c?s.toFloat(c)/100:null,i===0?c===null?c=0:c&&t.push([a,0]):i===o-1&&(c===null?c=1:c!==1&&(t.push([a,c]),c=1)),t.push([a,c]),c===null)r++;else if(r){const h=t[i-r-1][1],l=(c-h)/(r+1);for(let f=r;f>0;f--)t[i-f][1]=h+l*(r-f+1);r=0}}return t}function q(n,e){const t=s.findIndex(n.slice(1),([,o])=>e<=o)+1;return[n[t-1][0],n[t][0],(e-n[t-1][1])/(n[t][1]-n[t-1][1])]}function $(n,e){const[t,o,r]=q(n,e);return s.isNumber(t)?t+Math.abs(t-o)*r*(t<o?1:-1):+o}const On=/^-?\d+(\S+)?/;function S(n,e){var t;for(const o of n){const r=(t=o.match)==null?void 0:t.call(o,On);if(r)return r[1]}return e}function y(n,e,t){const o=n.style[e],r=s.css(s.css(n,e,t),e);return n.style[e]=o,r}function L(n,e){return n.reduce((t,o)=>(t[o]=e,t),{})}var V={mixins:[vn],data:{selItem:"!li"},beforeConnect(){this.item=s.query(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:n,detail:{percent:e,duration:t,timing:o,dir:r}}){s.fastdom.read(()=>{if(!this.matchMedia)return;const i=this.getCss(J(n,r,e)),a=this.getCss(G(n)?.5:r>0?1:0);s.fastdom.write(()=>{s.css(this.$el,i),s.Transition.start(this.$el,a,t,o).catch(s.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){s.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:n,detail:{percent:e,dir:t}}){s.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const o=this.getCss(J(n,t,e));s.fastdom.write(()=>s.css(this.$el,o))})}}]};function G(n){return s.endsWith(n,"in")}function J(n,e,t){return t/=2,G(n)^e<0?t:1-t}return typeof window<"u"&&window.UIkit&&window.UIkit.component("sliderParallax",V),V});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 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.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(e,m){typeof exports=="object"&&typeof module<"u"?module.exports=m(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider",["uikit-util"],m):(e=typeof globalThis<"u"?globalThis:e||self,e.UIkitSlider=m(e.UIkit.util))})(this,function(e){"use strict";var m={connected(){e.addClass(this.$el,this.$options.id)}};function _(t){return k(e.observeResize,t,"resize")}function L(t){return k(e.observeIntersection,t)}function P(t={}){return L({handler:function(s,n){const{targets:i=this.$el,preload:h=5}=t;for(const r of e.toNodes(e.isFunction(i)?i(this):i))e.$$('[loading="lazy"]',r).slice(0,h-1).forEach(a=>e.removeAttr(a,"loading"));for(const r of s.filter(({isIntersecting:a})=>a).map(({target:a})=>a))n.unobserve(r)},...t})}function k(t,s,n){return{observe:t,handler(){this.$emit(n)},...s}}var z={props:{i18n:Object},data:{i18n:null},methods:{t(t,...s){var n,i,h;let r=0;return((h=((n=this.i18n)==null?void 0:n[t])||((i=this.$options.i18n)==null?void 0:i[t]))==null?void 0:h.replace(/%s/g,()=>s[r++]||""))||""}}};const p={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function b(t,s=t.$el,n=""){if(s.id)return s.id;let i=`${t.$options.id}-${t._uid}${n}`;return e.$(`#${i}`)&&(i=b(t,s,`${n}-2`)),i}var B={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:t},s){return e.$(t,s)},navChildren(){return e.children(this.nav)},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems(t,s){return e.$$(this.selNavItem,s)}},watch:{nav(t,s){e.attr(t,"role","tablist"),s&&this.$emit()},list(t){e.attr(t,"role","presentation")},navChildren(t){e.attr(t,"role","presentation")},navItems(t){for(const s of t){const n=e.data(s,this.attrItem),i=e.$("a,button",s)||s;let h,r=null;if(e.isNumeric(n)){const a=e.toNumber(n),o=this.slides[a];o&&(o.id||(o.id=b(this,o,`-item-${n}`)),r=o.id),h=this.t("slideX",e.toFloat(n)+1),e.attr(i,"role","tab")}else this.list&&(this.list.id||(this.list.id=b(this,this.list,"-items")),r=this.list.id),h=this.t(n);e.attr(i,{"aria-controls":r,"aria-label":e.attr(i,"aria-label")||h})}},slides(t){t.forEach((s,n)=>e.attr(s,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",n+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(t){const s=this.navChildren.length;if(this.nav&&t!==s){e.empty(this.nav);for(let n=0;n<t;n++)e.append(this.nav,`<li ${this.attrItem}="${n}"><a href></a></li>`)}}},connected(){e.attr(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){e.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===p.SPACE)&&(t.preventDefault(),this.show(e.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:s,keyCode:n}=t,i=e.data(s,this.attrItem);if(!e.isNumeric(i))return;let h=n===p.HOME?0:n===p.END?"last":n===p.LEFT?"previous":n===p.RIGHT?"next":-1;~h&&(t.preventDefault(),this.show(h))}}],methods:{updateNav(){const t=this.getValidIndex();let s,n;for(const i of this.navItems){const h=e.data(i,this.attrItem),r=e.$("a,button",i)||i;if(e.isNumeric(h)){const o=e.toNumber(h)===t;e.toggleClass(i,this.clsActive,o),e.attr(r,{"aria-selected":o,tabindex:o?null:-1}),o&&(n=r),s=s||e.matches(r,":focus")}else e.toggleClass(i,"uk-invisible",this.finite&&(h==="previous"&&t===0||h==="next"&&t>=this.maxIndex));s&&n&&n.focus()}}}};const $={passive:!1,capture:!0},C={passive:!0,capture:!0},U="touchstart mousedown",y="touchmove mousemove",N="touchend touchcancel mouseup click input scroll";var V={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const s=this[t];this[t]=n=>{const i=e.getEventPos(n).x*(e.isRtl?-1:1);this.prevPos=i===this.pos?this.prevPos:this.pos,this.pos=i,s(n)}}},events:[{name:U,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!e.isTouch(t)&&F(t.target)||e.closest(t.target,e.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:y,el(){return this.list},handler:e.noop,...$}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,e.on(document,y,this.move,$),e.on(document,N,this.end,C),e.css(this.list,"userSelect","none")},move(t){const s=this.pos-this.drag;if(s===0||this.prevPos===this.pos||!this.dragging&&Math.abs(s)<this.threshold)return;e.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=s<0?1:-1;const{slides:n}=this;let{prevIndex:i}=this,h=Math.abs(s),r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;for(;r!==i&&h>a;)this.drag-=a*this.dir,i=r,h-=a,r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;this.percent=h/a;const o=n[i],l=n[r],d=this.index!==r,c=i===r;let f;[this.index,this.prevIndex].filter(g=>!e.includes([r,i],g)).forEach(g=>{e.trigger(n[g],"itemhidden",[this]),c&&(f=!0,this.prevIndex=i)}),(this.index===i&&this.prevIndex!==i||f)&&e.trigger(n[this.index],"itemshown",[this]),d&&(this.prevIndex=i,this.index=r,!c&&e.trigger(o,"beforeitemhide",[this]),e.trigger(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),o,!c&&l),d&&(!c&&e.trigger(o,"itemhide",[this]),e.trigger(l,"itemshow",[this]))},end(){if(e.off(document,y,this.move,$),e.off(document,N,this.end,C),this.dragging)if(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=(e.isRtl?this.dir*(e.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}e.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function F(t){return e.css(t,"userSelect")!=="none"&&e.toNodes(t.childNodes).some(s=>s.nodeType===3&&s.textContent.trim())}var H={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){e.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){e.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&e.matches(this.$el,":focus-within")||this.pauseOnHover&&e.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}},j={mixins:[H,V,B,z],props:{clsActivated:Boolean,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:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){e.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:t},s){return M(s.offsetWidth/t)},list({selList:t},s){return e.$(t,s)},maxIndex(){return this.length-1},slides(){return e.children(this.list)},length(){return this.slides.length}},watch:{slides(t,s){s&&this.$emit()}},observe:_(),methods:{show(t,s=!1){var n;if(this.dragging||!this.length)return;const{stack:i}=this,h=s?0:i.length,r=()=>{i.splice(h,1),i.length&&this.show(i.shift(),!0)};if(i[s?"unshift":"push"](t),!s&&i.length>1){i.length===2&&((n=this._transitioner)==null||n.forward(Math.min(this.duration,200)));return}const a=this.getIndex(this.index),o=e.hasClass(this.slides,this.clsActive)&&this.slides[a],l=this.getIndex(t,this.index),d=this.slides[l];if(o===d){r();return}if(this.dir=q(t,a),this.prevIndex=a,this.index=l,o&&!e.trigger(o,"beforeitemhide",[this])||!e.trigger(d,"beforeitemshow",[this,o])){this.index=this.prevIndex,r();return}const c=this._show(o,d,s).then(()=>{o&&e.trigger(o,"itemhidden",[this]),e.trigger(d,"itemshown",[this]),i.shift(),this._transitioner=null,requestAnimationFrame(()=>i.length&&this.show(i.shift(),!0))});return o&&e.trigger(o,"itemhide",[this]),e.trigger(d,"itemshow",[this]),c},getIndex(t=this.index,s=this.index){return e.clamp(e.getIndex(t,this.slides,s,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,s=this.prevIndex){return this.getIndex(t,s)},_show(t,s,n){if(this._transitioner=this._getTransitioner(t,s,this.dir,{easing:n?s.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!n&&!t)return this._translate(1),Promise.resolve();const{length:i}=this.stack;return this._transitioner[i>1?"forward":"show"](i>1?Math.min(this.duration,75+75/(i-1)):this.duration,this.percent)},_getDistance(t,s){return this._getTransitioner(t,t!==s&&s).getDistance()},_translate(t,s=this.prevIndex,n=this.index){const i=this._getTransitioner(s===n?!1:s,n);return i.translate(t),i},_getTransitioner(t=this.prevIndex,s=this.index,n=this.dir||1,i=this.transitionOptions){return new this.Transitioner(e.isNumber(t)?this.slides[t]:t,e.isNumber(s)?this.slides[s]:s,n*(e.isRtl?-1:1),i)}}};function q(t,s){return t==="next"?1:t==="previous"||t<s?-1:1}function M(t){return .5*t+300}var G={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},X={observe:P({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})};function S(t=0,s="%"){return t+=t?s:"",`translate3d(${t}, 0, 0)`}function J(t,s,n,{center:i,easing:h,list:r}){const a=new e.Deferred,o=t?v(t,r,i):v(s,r,i)+e.dimensions(s).width*n,l=s?v(s,r,i):o+e.dimensions(t).width*n*(e.isRtl?-1:1);return{dir:n,show(d,c=0,f){const g=f?"linear":h;return d-=Math.round(d*e.clamp(c,-1,1)),this.translate(c),c=t?c:e.clamp(c,0,1),A(this.getItemIn(),"itemin",{percent:c,duration:d,timing:g,dir:n}),t&&A(this.getItemIn(!0),"itemout",{percent:1-c,duration:d,timing:g,dir:n}),e.Transition.start(r,{transform:S(-l*(e.isRtl?-1:1),"px")},d,g).then(a.resolve,e.noop),a.promise},cancel(){e.Transition.cancel(r)},reset(){e.css(r,"transform","")},forward(d,c=this.percent()){return e.Transition.cancel(r),this.show(d,c,!0)},translate(d){const c=this.getDistance()*n*(e.isRtl?-1:1);e.css(r,"transform",S(e.clamp(-l+(c-c*d),-I(r),e.dimensions(r).width)*(e.isRtl?-1:1),"px"));const f=this.getActives(),g=this.getItemIn(),x=this.getItemIn(!0);d=t?e.clamp(d,-1,1):0;for(const u of e.children(r)){const R=e.includes(f,u),O=u===g,W=u===x,Z=O||!W&&(R||n*(e.isRtl?-1:1)===-1^w(u,r)>w(t||s));A(u,`itemtranslate${Z?"in":"out"}`,{dir:n,percent:W?1-d:O?d:R?1:0})}},percent(){return Math.abs((e.css(r,"transform").split(",")[4]*(e.isRtl?-1:1)+o)/(l-o))},getDistance(){return Math.abs(l-o)},getItemIn(d=!1){let c=this.getActives(),f=T(r,v(s||t,r,i));if(d){const g=c;c=f,f=g}return f[e.findIndex(f,g=>!e.includes(c,g))]},getActives(){return T(r,v(t||s,r,i))}}}function v(t,s,n){const i=w(t,s);return n?i-K(t,s):Math.min(i,E(s))}function E(t){return Math.max(0,I(t)-e.dimensions(t).width)}function I(t){return e.sumBy(e.children(t),s=>e.dimensions(s).width)}function K(t,s){return e.dimensions(s).width/2-e.dimensions(t).width/2}function w(t,s){return t&&(e.position(t).left+(e.isRtl?e.dimensions(t).width-e.dimensions(s).width:0))*(e.isRtl?-1:1)||0}function T(t,s){s-=1;const n=e.dimensions(t).width,i=s+n+2;return e.children(t).filter(h=>{const r=w(h,t),a=r+Math.min(e.dimensions(h).width,n);return r>=s&&a<=i})}function A(t,s,n){e.trigger(t,e.createEvent(s,!1,!1,n))}var D={mixins:[m,j,G,X],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:J},computed:{avgWidth(){return I(this.list)/this.length},finite({finite:t}){return t||Q(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return e.last(this.sets);let t=0;const s=E(this.list),n=e.findIndex(this.slides,i=>{if(t>=s)return!0;t+=e.dimensions(i).width});return~n?n:this.length-1},sets({sets:t}){if(!t)return;let s=0;const n=[],i=e.dimensions(this.list).width;for(let h=0;h<this.length;h++){const r=e.dimensions(this.slides[h]).width;s+r>i&&(s=0),this.center?s<i/2&&s+r+e.dimensions(this.slides[+h+1]).width/2>i/2&&(n.push(+h),s=i/2-r/2):s===0&&n.push(Math.min(+h,this.maxIndex)),s+=r}if(n.length)return n},transitionOptions(){return{center:this.center,list:this.list}},slides(){return e.children(this.list).filter(e.isVisible)}},connected(){e.toggleClass(this.$el,this.clsContainer,!e.$(`.${this.clsContainer}`,this.$el))},observe:_({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const s=e.toNumber(e.data(t,this.attrItem));s!==!1&&(t.hidden=!this.maxIndex||s>this.maxIndex||this.sets&&!e.includes(this.sets,s))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!e.includes(this.sets,this.index)&&(this.index=this.getValidIndex());const s=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&&s>1){for(let i=0;i<s;i++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const n=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=M(this.avgWidth/this.velocity)*(e.dimensions(this.slides[n]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&e.addClass(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){e.css(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((h,r)=>e.css(h,"order",this.dir>0&&r<t?1:this.dir<0&&r>=this.index?-1:"")),!this.center)return;const s=this.slides[t];let n=e.dimensions(this.list).width/2-e.dimensions(s).width/2,i=0;for(;n>0;){const h=this.getIndex(--i+t,t),r=this.slides[h];e.css(r,"order",h>t?-2:-1),n-=e.dimensions(r).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),s=[this.clsActive,(!this.sets||e.includes(this.sets,e.toFloat(this.index)))&&this.clsActivated||""];for(const n of this.slides){const i=e.includes(t,n);e.toggleClass(n,s,i),e.attr(n,"aria-hidden",!i),e.attr(e.$$(e.selFocusable,n),"tabindex",i?null:-1)}},getValidIndex(t=this.index,s=this.prevIndex){if(t=this.getIndex(t,s),!this.sets)return t;let n;do{if(e.includes(this.sets,t))return t;n=t,t=this.getIndex(t+this.dir,s)}while(t!==n);return t},getAdjacentSlides(){const{width:t}=e.dimensions(this.list),s=-t,n=t*2,i=e.dimensions(this.slides[this.index]).width,h=this.center?t/2-i/2:0,r=new Set;for(const a of[-1,1]){let o=h+(a>0?i:0),l=0;do{const d=this.slides[this.getIndex(this.index+a+l++*a)];o+=e.dimensions(d).width*a,r.add(d)}while(this.length>l&&o>s&&o<n)}return Array.from(r)}}};function Q(t,s){if(!t||t.length<2)return!0;const{width:n}=e.dimensions(t);if(!s)return Math.ceil(I(t))<Math.trunc(n+Y(t));const i=e.children(t),h=Math.trunc(n/2);for(const r in i){const a=i[r],o=e.dimensions(a).width,l=new Set([a]);let d=0;for(const c of[-1,1]){let f=o/2,g=0;for(;f<h;){const x=i[e.getIndex(+r+c+g++*c,i)];if(l.has(x))return!0;f+=e.dimensions(x).width,l.add(x)}d=Math.max(d,o/2+e.dimensions(i[e.getIndex(+r+c,i)]).width/2-(f-h))}if(d>e.sumBy(i.filter(c=>!l.has(c)),c=>e.dimensions(c).width))return!0}return!1}function Y(t){return Math.max(0,...e.children(t).map(s=>e.dimensions(s).width))}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slider",D),D});
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(e,m){typeof exports=="object"&&typeof module<"u"?module.exports=m(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslider",["uikit-util"],m):(e=typeof globalThis<"u"?globalThis:e||self,e.UIkitSlider=m(e.UIkit.util))})(this,function(e){"use strict";var m={connected(){e.addClass(this.$el,this.$options.id)}};function _(t){return k(e.observeResize,t,"resize")}function L(t){return k(e.observeIntersection,t)}function P(t={}){return L({handler:function(s,n){const{targets:i=this.$el,preload:h=5}=t;for(const r of e.toNodes(e.isFunction(i)?i(this):i))e.$$('[loading="lazy"]',r).slice(0,h-1).forEach(a=>e.removeAttr(a,"loading"));for(const r of s.filter(({isIntersecting:a})=>a).map(({target:a})=>a))n.unobserve(r)},...t})}function k(t,s,n){return{observe:t,handler(){this.$emit(n)},...s}}var z={props:{i18n:Object},data:{i18n:null},methods:{t(t,...s){var n,i,h;let r=0;return((h=((n=this.i18n)==null?void 0:n[t])||((i=this.$options.i18n)==null?void 0:i[t]))==null?void 0:h.replace(/%s/g,()=>s[r++]||""))||""}}};const p={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function b(t,s=t.$el,n=""){if(s.id)return s.id;let i=`${t.$options.id}-${t._uid}${n}`;return e.$(`#${i}`)&&(i=b(t,s,`${n}-2`)),i}var B={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:t},s){return e.$(t,s)},navChildren(){return e.children(this.nav)},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems(t,s){return e.$$(this.selNavItem,s)}},watch:{nav(t,s){e.attr(t,"role","tablist"),s&&this.$emit()},list(t){e.attr(t,"role","presentation")},navChildren(t){e.attr(t,"role","presentation")},navItems(t){for(const s of t){const n=e.data(s,this.attrItem),i=e.$("a,button",s)||s;let h,r=null;if(e.isNumeric(n)){const a=e.toNumber(n),o=this.slides[a];o&&(o.id||(o.id=b(this,o,`-item-${n}`)),r=o.id),h=this.t("slideX",e.toFloat(n)+1),e.attr(i,"role","tab")}else this.list&&(this.list.id||(this.list.id=b(this,this.list,"-items")),r=this.list.id),h=this.t(n);e.attr(i,{"aria-controls":r,"aria-label":e.attr(i,"aria-label")||h})}},slides(t){t.forEach((s,n)=>e.attr(s,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",n+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(t){const s=this.navChildren.length;if(this.nav&&t!==s){e.empty(this.nav);for(let n=0;n<t;n++)e.append(this.nav,`<li ${this.attrItem}="${n}"><a href></a></li>`)}}},connected(){e.attr(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){e.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===p.SPACE)&&(t.preventDefault(),this.show(e.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:s,keyCode:n}=t,i=e.data(s,this.attrItem);if(!e.isNumeric(i))return;let h=n===p.HOME?0:n===p.END?"last":n===p.LEFT?"previous":n===p.RIGHT?"next":-1;~h&&(t.preventDefault(),this.show(h))}}],methods:{updateNav(){const t=this.getValidIndex();let s,n;for(const i of this.navItems){const h=e.data(i,this.attrItem),r=e.$("a,button",i)||i;if(e.isNumeric(h)){const o=e.toNumber(h)===t;e.toggleClass(i,this.clsActive,o),e.attr(r,{"aria-selected":o,tabindex:o?null:-1}),o&&(n=r),s=s||e.matches(r,":focus")}else e.toggleClass(i,"uk-invisible",this.finite&&(h==="previous"&&t===0||h==="next"&&t>=this.maxIndex));s&&n&&n.focus()}}}};const $={passive:!1,capture:!0},C={passive:!0,capture:!0},U="touchstart mousedown",y="touchmove mousemove",N="touchend touchcancel mouseup click input scroll";var V={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const s=this[t];this[t]=n=>{const i=e.getEventPos(n).x*(e.isRtl?-1:1);this.prevPos=i===this.pos?this.prevPos:this.pos,this.pos=i,s(n)}}},events:[{name:U,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!e.isTouch(t)&&F(t.target)||e.closest(t.target,e.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:y,el(){return this.list},handler:e.noop,...$}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,e.on(document,y,this.move,$),e.on(document,N,this.end,C),e.css(this.list,"userSelect","none")},move(t){const s=this.pos-this.drag;if(s===0||this.prevPos===this.pos||!this.dragging&&Math.abs(s)<this.threshold)return;e.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=s<0?1:-1;const{slides:n}=this;let{prevIndex:i}=this,h=Math.abs(s),r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;for(;r!==i&&h>a;)this.drag-=a*this.dir,i=r,h-=a,r=this.getIndex(i+this.dir,i),a=this._getDistance(i,r)||n[i].offsetWidth;this.percent=h/a;const o=n[i],l=n[r],d=this.index!==r,c=i===r;let f;[this.index,this.prevIndex].filter(g=>!e.includes([r,i],g)).forEach(g=>{e.trigger(n[g],"itemhidden",[this]),c&&(f=!0,this.prevIndex=i)}),(this.index===i&&this.prevIndex!==i||f)&&e.trigger(n[this.index],"itemshown",[this]),d&&(this.prevIndex=i,this.index=r,!c&&e.trigger(o,"beforeitemhide",[this]),e.trigger(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),o,!c&&l),d&&(!c&&e.trigger(o,"itemhide",[this]),e.trigger(l,"itemshow",[this]))},end(){if(e.off(document,y,this.move,$),e.off(document,N,this.end,C),this.dragging)if(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=(e.isRtl?this.dir*(e.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}e.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function F(t){return e.css(t,"userSelect")!=="none"&&e.toNodes(t.childNodes).some(s=>s.nodeType===3&&s.textContent.trim())}var H={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){e.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){e.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&e.matches(this.$el,":focus-within")||this.pauseOnHover&&e.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}},j={mixins:[H,V,B,z],props:{clsActivated:Boolean,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:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){e.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:t},s){return M(s.offsetWidth/t)},list({selList:t},s){return e.$(t,s)},maxIndex(){return this.length-1},slides(){return e.children(this.list)},length(){return this.slides.length}},watch:{slides(t,s){s&&this.$emit()}},observe:_(),methods:{show(t,s=!1){var n;if(this.dragging||!this.length)return;const{stack:i}=this,h=s?0:i.length,r=()=>{i.splice(h,1),i.length&&this.show(i.shift(),!0)};if(i[s?"unshift":"push"](t),!s&&i.length>1){i.length===2&&((n=this._transitioner)==null||n.forward(Math.min(this.duration,200)));return}const a=this.getIndex(this.index),o=e.hasClass(this.slides,this.clsActive)&&this.slides[a],l=this.getIndex(t,this.index),d=this.slides[l];if(o===d){r();return}if(this.dir=q(t,a),this.prevIndex=a,this.index=l,o&&!e.trigger(o,"beforeitemhide",[this])||!e.trigger(d,"beforeitemshow",[this,o])){this.index=this.prevIndex,r();return}const c=this._show(o,d,s).then(()=>{o&&e.trigger(o,"itemhidden",[this]),e.trigger(d,"itemshown",[this]),i.shift(),this._transitioner=null,requestAnimationFrame(()=>i.length&&this.show(i.shift(),!0))});return o&&e.trigger(o,"itemhide",[this]),e.trigger(d,"itemshow",[this]),c},getIndex(t=this.index,s=this.index){return e.clamp(e.getIndex(t,this.slides,s,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,s=this.prevIndex){return this.getIndex(t,s)},_show(t,s,n){if(this._transitioner=this._getTransitioner(t,s,this.dir,{easing:n?s.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!n&&!t)return this._translate(1),Promise.resolve();const{length:i}=this.stack;return this._transitioner[i>1?"forward":"show"](i>1?Math.min(this.duration,75+75/(i-1)):this.duration,this.percent)},_getDistance(t,s){return this._getTransitioner(t,t!==s&&s).getDistance()},_translate(t,s=this.prevIndex,n=this.index){const i=this._getTransitioner(s===n?!1:s,n);return i.translate(t),i},_getTransitioner(t=this.prevIndex,s=this.index,n=this.dir||1,i=this.transitionOptions){return new this.Transitioner(e.isNumber(t)?this.slides[t]:t,e.isNumber(s)?this.slides[s]:s,n*(e.isRtl?-1:1),i)}}};function q(t,s){return t==="next"?1:t==="previous"||t<s?-1:1}function M(t){return .5*t+300}var G={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},X={observe:P({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})};function S(t=0,s="%"){return t+=t?s:"",`translate3d(${t}, 0, 0)`}function J(t,s,n,{center:i,easing:h,list:r}){const a=new e.Deferred,o=t?v(t,r,i):v(s,r,i)+e.dimensions(s).width*n,l=s?v(s,r,i):o+e.dimensions(t).width*n*(e.isRtl?-1:1);return{dir:n,show(d,c=0,f){const g=f?"linear":h;return d-=Math.round(d*e.clamp(c,-1,1)),this.translate(c),c=t?c:e.clamp(c,0,1),A(this.getItemIn(),"itemin",{percent:c,duration:d,timing:g,dir:n}),t&&A(this.getItemIn(!0),"itemout",{percent:1-c,duration:d,timing:g,dir:n}),e.Transition.start(r,{transform:S(-l*(e.isRtl?-1:1),"px")},d,g).then(a.resolve,e.noop),a.promise},cancel(){e.Transition.cancel(r)},reset(){e.css(r,"transform","")},forward(d,c=this.percent()){return e.Transition.cancel(r),this.show(d,c,!0)},translate(d){const c=this.getDistance()*n*(e.isRtl?-1:1);e.css(r,"transform",S(e.clamp(-l+(c-c*d),-I(r),e.dimensions(r).width)*(e.isRtl?-1:1),"px"));const f=this.getActives(),g=this.getItemIn(),x=this.getItemIn(!0);d=t?e.clamp(d,-1,1):0;for(const u of e.children(r)){const R=e.includes(f,u),O=u===g,W=u===x,Z=O||!W&&(R||n*(e.isRtl?-1:1)===-1^w(u,r)>w(t||s));A(u,`itemtranslate${Z?"in":"out"}`,{dir:n,percent:W?1-d:O?d:R?1:0})}},percent(){return Math.abs((e.css(r,"transform").split(",")[4]*(e.isRtl?-1:1)+o)/(l-o))},getDistance(){return Math.abs(l-o)},getItemIn(d=!1){let c=this.getActives(),f=T(r,v(s||t,r,i));if(d){const g=c;c=f,f=g}return f[e.findIndex(f,g=>!e.includes(c,g))]},getActives(){return T(r,v(t||s,r,i))}}}function v(t,s,n){const i=w(t,s);return n?i-K(t,s):Math.min(i,E(s))}function E(t){return Math.max(0,I(t)-e.dimensions(t).width)}function I(t){return e.sumBy(e.children(t),s=>e.dimensions(s).width)}function K(t,s){return e.dimensions(s).width/2-e.dimensions(t).width/2}function w(t,s){return t&&(e.position(t).left+(e.isRtl?e.dimensions(t).width-e.dimensions(s).width:0))*(e.isRtl?-1:1)||0}function T(t,s){s-=1;const n=e.dimensions(t).width,i=s+n+2;return e.children(t).filter(h=>{const r=w(h,t),a=r+Math.min(e.dimensions(h).width,n);return r>=s&&a<=i})}function A(t,s,n){e.trigger(t,e.createEvent(s,!1,!1,n))}var D={mixins:[m,j,G,X],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:J},computed:{avgWidth(){return I(this.list)/this.length},finite({finite:t}){return t||Q(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return e.last(this.sets);let t=0;const s=E(this.list),n=e.findIndex(this.slides,i=>{if(t>=s)return!0;t+=e.dimensions(i).width});return~n?n:this.length-1},sets({sets:t}){if(!t)return;let s=0;const n=[],i=e.dimensions(this.list).width;for(let h=0;h<this.length;h++){const r=e.dimensions(this.slides[h]).width;s+r>i&&(s=0),this.center?s<i/2&&s+r+e.dimensions(this.slides[+h+1]).width/2>i/2&&(n.push(+h),s=i/2-r/2):s===0&&n.push(Math.min(+h,this.maxIndex)),s+=r}if(n.length)return n},transitionOptions(){return{center:this.center,list:this.list}},slides(){return e.children(this.list).filter(e.isVisible)}},connected(){e.toggleClass(this.$el,this.clsContainer,!e.$(`.${this.clsContainer}`,this.$el))},observe:_({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const s=e.toNumber(e.data(t,this.attrItem));s!==!1&&(t.hidden=!this.maxIndex||s>this.maxIndex||this.sets&&!e.includes(this.sets,s))}this.length&&!this.dragging&&!this.stack.length&&(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!e.includes(this.sets,this.index)&&(this.index=this.getValidIndex());const s=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&&s>1){for(let i=0;i<s;i++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault();return}const n=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=M(this.avgWidth/this.velocity)*(e.dimensions(this.slides[n]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&e.addClass(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){e.css(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((h,r)=>e.css(h,"order",this.dir>0&&r<t?1:this.dir<0&&r>=this.index?-1:"")),!this.center)return;const s=this.slides[t];let n=e.dimensions(this.list).width/2-e.dimensions(s).width/2,i=0;for(;n>0;){const h=this.getIndex(--i+t,t),r=this.slides[h];e.css(r,"order",h>t?-2:-1),n-=e.dimensions(r).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),s=[this.clsActive,(!this.sets||e.includes(this.sets,e.toFloat(this.index)))&&this.clsActivated||""];for(const n of this.slides){const i=e.includes(t,n);e.toggleClass(n,s,i),e.attr(n,"aria-hidden",!i),e.attr(e.$$(e.selFocusable,n),"tabindex",i?null:-1)}},getValidIndex(t=this.index,s=this.prevIndex){if(t=this.getIndex(t,s),!this.sets)return t;let n;do{if(e.includes(this.sets,t))return t;n=t,t=this.getIndex(t+this.dir,s)}while(t!==n);return t},getAdjacentSlides(){const{width:t}=e.dimensions(this.list),s=-t,n=t*2,i=e.dimensions(this.slides[this.index]).width,h=this.center?t/2-i/2:0,r=new Set;for(const a of[-1,1]){let o=h+(a>0?i:0),l=0;do{const d=this.slides[this.getIndex(this.index+a+l++*a)];o+=e.dimensions(d).width*a,r.add(d)}while(this.length>l&&o>s&&o<n)}return Array.from(r)}}};function Q(t,s){if(!t||t.length<2)return!0;const{width:n}=e.dimensions(t);if(!s)return Math.ceil(I(t))<Math.trunc(n+Y(t));const i=e.children(t),h=Math.trunc(n/2);for(const r in i){const a=i[r],o=e.dimensions(a).width,l=new Set([a]);let d=0;for(const c of[-1,1]){let f=o/2,g=0;for(;f<h;){const x=i[e.getIndex(+r+c+g++*c,i)];if(l.has(x))return!0;f+=e.dimensions(x).width,l.add(x)}d=Math.max(d,o/2+e.dimensions(i[e.getIndex(+r+c,i)]).width/2-(f-h))}if(d>e.sumBy(i.filter(c=>!l.has(c)),c=>e.dimensions(c).width))return!0}return!1}function Y(t){return Math.max(0,...e.children(t).map(s=>e.dimensions(s).width))}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slider",D),D});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 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.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow_parallax",["uikit-util"],b):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlideshow_parallax=b(s.UIkit.util))})(this,function(s){"use strict";var b={props:{media:Boolean},data:{media:!1},connected(){const n=X(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const e=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function X(n,e){if(s.isString(n)){if(s.startsWith(n,"@"))n=s.toFloat(s.css(e,`--uk-breakpoint-${n.substr(1)}`));else if(isNaN(n))return n}return n&&s.isNumeric(n)?`(min-width: ${n}px)`:""}function T(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}function Y(n){return typeof n=="function"}function C(n){return n!==null&&typeof n=="object"}function Z(n){return C(n)&&n===n.window}function E(n){return W(n)>=1}function k(n){return W(n)===1}function W(n){return!Z(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function U(n){return n===void 0}function x(n){return u(n)[0]}function u(n){return E(n)?[n]:Array.from(n||[]).filter(E)}function j(n){const e=Object.create(null);return t=>e[t]||(e[t]=n(t))}function O(n,e,t){var o;if(C(e)){for(const r in e)O(n,r,e[r]);return}if(U(t))return(o=x(n))==null?void 0:o.getAttribute(e);for(const r of u(n))Y(t)&&(t=t.call(r,O(r,e))),t===null?nn(r,e):r.setAttribute(e,t)}function nn(n,e){u(n).forEach(t=>t.removeAttribute(e))}function A(n){var e;return(e=x(n))==null?void 0:e.parentElement}function tn(n,e){return u(n).filter(t=>_(t,e))}function _(n,e){return u(n).some(t=>t.matches(e))}function R(n,e){return k(n)?n.closest(T(e,">")?e.slice(1):e):u(n).map(t=>R(t,e)).filter(Boolean)}function en(n,e){n=x(n);const t=n?u(n.children):[];return e?tn(t,e):t}function rn(n,e){return e?u(n).indexOf(x(e)):en(A(n)).indexOf(n)}function on(n,e){return u(un(n,x(e),"querySelectorAll"))}const sn=/(^|[^\\],)\s*[!>+~-]/,cn=j(n=>n.match(sn)),an=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,fn=j(n=>n.replace(an,"$1 *"));function un(n,e=document,t){if(!n||!M(n))return n;if(n=fn(n),cn(n)){const o=hn(n);n="";for(let r of o){let i=e;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(i=R(A(e),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&o.length===1)return i}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),c=(i||e).previousElementSibling;i=_(c,r.substr(1))?c:null,r=a.slice(1).join(" ")}i&&(n+=`${n?",":""}${ln(i)} ${r}`)}e=document}try{return e[t](n)}catch{return null}}const dn=/.*?[^\\](?:,|$)/g,hn=j(n=>n.match(dn).map(e=>e.replace(/,$/,"").trim()));function ln(n){const e=[];for(;n.parentNode;){const t=O(n,"id");if(t){e.unshift(`#${gn(t)}`);break}else{let{tagName:o}=n;o!=="HTML"&&(o+=`:nth-child(${rn(n)+1})`),e.unshift(o),n=n.parentNode}}return e.join(" > ")}function gn(n){return M(n)?CSS.escape(n):""}const mn=/^\s*<(\w+|!)[^>]*>/,bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const e=bn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("div");return mn.test(n)?t.insertAdjacentHTML("beforeend",n.trim()):t.textContent=n,$n(t.childNodes)}function $n(n){return n.length>1?n:n[0]}function wn(n,e){return yn(n)?u(xn(n)):on(n,e)}function yn(n){return M(n)&&T(n.trim(),"<")}function pn(n){return Math.ceil(Math.max(0,...wn("[stroke]",n).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}const p={x:v,y:v,rotate:v,scale:v,color:I,backgroundColor:I,borderColor:I,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Sn,stroke:Cn,bgx:B,bgy:B},{keys:z}=Object;var vn={mixins:[b],props:L(z(p),"list"),data:L(z(p),void 0),computed:{props(n,e){const t={};for(const r in n)r in p&&!s.isUndefined(n[r])&&(t[r]=n[r].slice());const o={};for(const r in t)o[r]=p[r](r,e,t[r],t);return o}},events:{load(){this.$emit()}},methods:{reset(){for(const n in this.getCss(0))s.css(this.$el,n,"")},getCss(n){const e={transform:"",filter:""};for(const t in this.props)this.props[t](e,n);return e.willChange=Object.keys(e).filter(t=>e[t]!=="").join(","),e}}};function v(n,e,t){let o=S(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",r;return n==="x"||n==="y"?(n=`translate${s.ucfirst(n)}`,r=i=>s.toFloat(s.toFloat(i).toFixed(o==="px"?0:6))):n==="scale"&&(o="",r=i=>S([i])?s.toPx(i,"width",e,!0)/e.offsetWidth:i),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,r),(i,a)=>{i.transform+=` ${n}(${$(t,a)}${o})`}}function I(n,e,t){return t.length===1&&t.unshift(w(e,n,"")),t=m(t,o=>Fn(e,o)),(o,r)=>{const[i,a,c]=q(t,r),h=i.map((l,f)=>(l+=c*(a[f]-l),f===3?s.toFloat(l):parseInt(l,10))).join(",");o[n]=`rgba(${h})`}}function Fn(n,e){return w(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const o=S(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(r,i)=>{const a=$(t,i);r.filter+=` ${n}(${a+o})`}}function Sn(n,e,t){return t.length===1&&t.unshift(w(e,n,"")),t=m(t),(o,r)=>{o[n]=$(t,r)}}function Cn(n,e,t){t.length===1&&t.unshift(0);const o=S(t),r=pn(e);return t=m(t.reverse(),i=>(i=s.toFloat(i),o==="%"?i*r/100:i)),t.some(([i])=>i)?(s.css(e,"strokeDasharray",r),(i,a)=>{i.strokeDashoffset=$(t,a)}):s.noop}function B(n,e,t,o){t.length===1&&t.unshift(0);const r=n==="bgy"?"height":"width";o[n]=m(t,c=>s.toPx(c,r,e));const i=["bgx","bgy"].filter(c=>c in o);if(i.length===2&&n==="bgx")return s.noop;if(w(e,"backgroundSize","")==="cover")return Mn(n,e,t,o);const a={};for(const c of i)a[c]=D(e,c);return H(i,a,o)}function Mn(n,e,t,o){const r=jn(e);if(!r.width)return s.noop;const i={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(f=>f in o),c={};for(const f of a){const d=o[f].map(([In])=>In),y=Math.min(...d),N=Math.max(...d),K=d.indexOf(y)<d.indexOf(N),Q=N-y;c[f]=`${(K?-Q:0)-(K?y:N)}px`,i[f==="bgy"?"height":"width"]+=Q}const h=s.Dimensions.cover(r,i);for(const f of a){const d=f==="bgy"?"height":"width",y=h[d]-i[d];c[f]=`max(${D(e,f)},-${y}px) + ${c[f]}`}const l=H(a,c,o);return(f,d)=>{l(f,d),f.backgroundSize=`${h.width}px ${h.height}px`,f.backgroundRepeat="no-repeat"}}function D(n,e){return w(n,`background-position-${e.substr(-1)}`,"")}function H(n,e,t){return function(o,r){for(const i of n){const a=$(t[i],r);o[`background-position-${i.substr(-1)}`]=`calc(${e[i]} + ${a}px)`}}}const F={};function jn(n){const e=s.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(F[e])return F[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth)?(t.onload=()=>{F[e]=P(t),s.trigger(n,s.createEvent("load",!1))},P(t)):F[e]=P(t)}function P(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=s.toFloat){const t=[],{length:o}=n;let r=0;for(let i=0;i<o;i++){let[a,c]=s.isString(n[i])?n[i].trim().split(" "):[n[i]];if(a=e(a),c=c?s.toFloat(c)/100:null,i===0?c===null?c=0:c&&t.push([a,0]):i===o-1&&(c===null?c=1:c!==1&&(t.push([a,c]),c=1)),t.push([a,c]),c===null)r++;else if(r){const h=t[i-r-1][1],l=(c-h)/(r+1);for(let f=r;f>0;f--)t[i-f][1]=h+l*(r-f+1);r=0}}return t}function q(n,e){const t=s.findIndex(n.slice(1),([,o])=>e<=o)+1;return[n[t-1][0],n[t][0],(e-n[t-1][1])/(n[t][1]-n[t-1][1])]}function $(n,e){const[t,o,r]=q(n,e);return s.isNumber(t)?t+Math.abs(t-o)*r*(t<o?1:-1):+o}const On=/^-?\d+(\S+)?/;function S(n,e){var t;for(const o of n){const r=(t=o.match)==null?void 0:t.call(o,On);if(r)return r[1]}return e}function w(n,e,t){const o=n.style[e],r=s.css(s.css(n,e,t),e);return n.style[e]=o,r}function L(n,e){return n.reduce((t,o)=>(t[o]=e,t),{})}var V={mixins:[vn],data:{selItem:"!li"},beforeConnect(){this.item=s.query(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:n,detail:{percent:e,duration:t,timing:o,dir:r}}){s.fastdom.read(()=>{if(!this.matchMedia)return;const i=this.getCss(J(n,r,e)),a=this.getCss(G(n)?.5:r>0?1:0);s.fastdom.write(()=>{s.css(this.$el,i),s.Transition.start(this.$el,a,t,o).catch(s.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){s.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:n,detail:{percent:e,dir:t}}){s.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const o=this.getCss(J(n,t,e));s.fastdom.write(()=>s.css(this.$el,o))})}}]};function G(n){return s.endsWith(n,"in")}function J(n,e,t){return t/=2,G(n)^e<0?t:1-t}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshowParallax",V),V});
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,b){typeof exports=="object"&&typeof module<"u"?module.exports=b(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow_parallax",["uikit-util"],b):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSlideshow_parallax=b(s.UIkit.util))})(this,function(s){"use strict";var b={props:{media:Boolean},data:{media:!1},connected(){const n=X(this.media,this.$el);if(this.matchMedia=!0,n){this.mediaObj=window.matchMedia(n);const e=()=>{this.matchMedia=this.mediaObj.matches,s.trigger(this.$el,s.createEvent("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=s.on(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var n;(n=this.offMediaObj)==null||n.call(this)}};function X(n,e){if(s.isString(n)){if(s.startsWith(n,"@"))n=s.toFloat(s.css(e,`--uk-breakpoint-${n.substr(1)}`));else if(isNaN(n))return n}return n&&s.isNumeric(n)?`(min-width: ${n}px)`:""}function T(n,e){var t;return(t=n==null?void 0:n.startsWith)==null?void 0:t.call(n,e)}function Y(n){return typeof n=="function"}function C(n){return n!==null&&typeof n=="object"}function Z(n){return C(n)&&n===n.window}function E(n){return W(n)>=1}function k(n){return W(n)===1}function W(n){return!Z(n)&&C(n)&&n.nodeType}function M(n){return typeof n=="string"}function U(n){return n===void 0}function x(n){return u(n)[0]}function u(n){return E(n)?[n]:Array.from(n||[]).filter(E)}function j(n){const e=Object.create(null);return t=>e[t]||(e[t]=n(t))}function O(n,e,t){var o;if(C(e)){for(const r in e)O(n,r,e[r]);return}if(U(t))return(o=x(n))==null?void 0:o.getAttribute(e);for(const r of u(n))Y(t)&&(t=t.call(r,O(r,e))),t===null?nn(r,e):r.setAttribute(e,t)}function nn(n,e){u(n).forEach(t=>t.removeAttribute(e))}function A(n){var e;return(e=x(n))==null?void 0:e.parentElement}function tn(n,e){return u(n).filter(t=>_(t,e))}function _(n,e){return u(n).some(t=>t.matches(e))}function R(n,e){return k(n)?n.closest(T(e,">")?e.slice(1):e):u(n).map(t=>R(t,e)).filter(Boolean)}function en(n,e){n=x(n);const t=n?u(n.children):[];return e?tn(t,e):t}function rn(n,e){return e?u(n).indexOf(x(e)):en(A(n)).indexOf(n)}function on(n,e){return u(un(n,x(e),"querySelectorAll"))}const sn=/(^|[^\\],)\s*[!>+~-]/,cn=j(n=>n.match(sn)),an=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,fn=j(n=>n.replace(an,"$1 *"));function un(n,e=document,t){if(!n||!M(n))return n;if(n=fn(n),cn(n)){const o=hn(n);n="";for(let r of o){let i=e;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(i=R(A(e),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&o.length===1)return i}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),c=(i||e).previousElementSibling;i=_(c,r.substr(1))?c:null,r=a.slice(1).join(" ")}i&&(n+=`${n?",":""}${ln(i)} ${r}`)}e=document}try{return e[t](n)}catch{return null}}const dn=/.*?[^\\](?:,|$)/g,hn=j(n=>n.match(dn).map(e=>e.replace(/,$/,"").trim()));function ln(n){const e=[];for(;n.parentNode;){const t=O(n,"id");if(t){e.unshift(`#${gn(t)}`);break}else{let{tagName:o}=n;o!=="HTML"&&(o+=`:nth-child(${rn(n)+1})`),e.unshift(o),n=n.parentNode}}return e.join(" > ")}function gn(n){return M(n)?CSS.escape(n):""}const mn=/^\s*<(\w+|!)[^>]*>/,bn=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function xn(n){const e=bn.exec(n);if(e)return document.createElement(e[1]);const t=document.createElement("div");return mn.test(n)?t.insertAdjacentHTML("beforeend",n.trim()):t.textContent=n,$n(t.childNodes)}function $n(n){return n.length>1?n:n[0]}function wn(n,e){return yn(n)?u(xn(n)):on(n,e)}function yn(n){return M(n)&&T(n.trim(),"<")}function pn(n){return Math.ceil(Math.max(0,...wn("[stroke]",n).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}const p={x:v,y:v,rotate:v,scale:v,color:I,backgroundColor:I,borderColor:I,blur:g,hue:g,fopacity:g,grayscale:g,invert:g,saturate:g,sepia:g,opacity:Sn,stroke:Cn,bgx:B,bgy:B},{keys:z}=Object;var vn={mixins:[b],props:L(z(p),"list"),data:L(z(p),void 0),computed:{props(n,e){const t={};for(const r in n)r in p&&!s.isUndefined(n[r])&&(t[r]=n[r].slice());const o={};for(const r in t)o[r]=p[r](r,e,t[r],t);return o}},events:{load(){this.$emit()}},methods:{reset(){for(const n in this.getCss(0))s.css(this.$el,n,"")},getCss(n){const e={transform:"",filter:""};for(const t in this.props)this.props[t](e,n);return e.willChange=Object.keys(e).filter(t=>e[t]!=="").join(","),e}}};function v(n,e,t){let o=S(t)||{x:"px",y:"px",rotate:"deg"}[n]||"",r;return n==="x"||n==="y"?(n=`translate${s.ucfirst(n)}`,r=i=>s.toFloat(s.toFloat(i).toFixed(o==="px"?0:6))):n==="scale"&&(o="",r=i=>S([i])?s.toPx(i,"width",e,!0)/e.offsetWidth:i),t.length===1&&t.unshift(n==="scale"?1:0),t=m(t,r),(i,a)=>{i.transform+=` ${n}(${$(t,a)}${o})`}}function I(n,e,t){return t.length===1&&t.unshift(w(e,n,"")),t=m(t,o=>Fn(e,o)),(o,r)=>{const[i,a,c]=q(t,r),h=i.map((l,f)=>(l+=c*(a[f]-l),f===3?s.toFloat(l):parseInt(l,10))).join(",");o[n]=`rgba(${h})`}}function Fn(n,e){return w(n,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(s.toFloat)}function g(n,e,t){t.length===1&&t.unshift(0);const o=S(t)||{blur:"px",hue:"deg"}[n]||"%";return n={fopacity:"opacity",hue:"hue-rotate"}[n]||n,t=m(t),(r,i)=>{const a=$(t,i);r.filter+=` ${n}(${a+o})`}}function Sn(n,e,t){return t.length===1&&t.unshift(w(e,n,"")),t=m(t),(o,r)=>{o[n]=$(t,r)}}function Cn(n,e,t){t.length===1&&t.unshift(0);const o=S(t),r=pn(e);return t=m(t.reverse(),i=>(i=s.toFloat(i),o==="%"?i*r/100:i)),t.some(([i])=>i)?(s.css(e,"strokeDasharray",r),(i,a)=>{i.strokeDashoffset=$(t,a)}):s.noop}function B(n,e,t,o){t.length===1&&t.unshift(0);const r=n==="bgy"?"height":"width";o[n]=m(t,c=>s.toPx(c,r,e));const i=["bgx","bgy"].filter(c=>c in o);if(i.length===2&&n==="bgx")return s.noop;if(w(e,"backgroundSize","")==="cover")return Mn(n,e,t,o);const a={};for(const c of i)a[c]=D(e,c);return H(i,a,o)}function Mn(n,e,t,o){const r=jn(e);if(!r.width)return s.noop;const i={width:e.offsetWidth,height:e.offsetHeight},a=["bgx","bgy"].filter(f=>f in o),c={};for(const f of a){const d=o[f].map(([In])=>In),y=Math.min(...d),N=Math.max(...d),K=d.indexOf(y)<d.indexOf(N),Q=N-y;c[f]=`${(K?-Q:0)-(K?y:N)}px`,i[f==="bgy"?"height":"width"]+=Q}const h=s.Dimensions.cover(r,i);for(const f of a){const d=f==="bgy"?"height":"width",y=h[d]-i[d];c[f]=`max(${D(e,f)},-${y}px) + ${c[f]}`}const l=H(a,c,o);return(f,d)=>{l(f,d),f.backgroundSize=`${h.width}px ${h.height}px`,f.backgroundRepeat="no-repeat"}}function D(n,e){return w(n,`background-position-${e.substr(-1)}`,"")}function H(n,e,t){return function(o,r){for(const i of n){const a=$(t[i],r);o[`background-position-${i.substr(-1)}`]=`calc(${e[i]} + ${a}px)`}}}const F={};function jn(n){const e=s.css(n,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(F[e])return F[e];const t=new Image;return e&&(t.src=e,!t.naturalWidth)?(t.onload=()=>{F[e]=P(t),s.trigger(n,s.createEvent("load",!1))},P(t)):F[e]=P(t)}function P(n){return{width:n.naturalWidth,height:n.naturalHeight}}function m(n,e=s.toFloat){const t=[],{length:o}=n;let r=0;for(let i=0;i<o;i++){let[a,c]=s.isString(n[i])?n[i].trim().split(" "):[n[i]];if(a=e(a),c=c?s.toFloat(c)/100:null,i===0?c===null?c=0:c&&t.push([a,0]):i===o-1&&(c===null?c=1:c!==1&&(t.push([a,c]),c=1)),t.push([a,c]),c===null)r++;else if(r){const h=t[i-r-1][1],l=(c-h)/(r+1);for(let f=r;f>0;f--)t[i-f][1]=h+l*(r-f+1);r=0}}return t}function q(n,e){const t=s.findIndex(n.slice(1),([,o])=>e<=o)+1;return[n[t-1][0],n[t][0],(e-n[t-1][1])/(n[t][1]-n[t-1][1])]}function $(n,e){const[t,o,r]=q(n,e);return s.isNumber(t)?t+Math.abs(t-o)*r*(t<o?1:-1):+o}const On=/^-?\d+(\S+)?/;function S(n,e){var t;for(const o of n){const r=(t=o.match)==null?void 0:t.call(o,On);if(r)return r[1]}return e}function w(n,e,t){const o=n.style[e],r=s.css(s.css(n,e,t),e);return n.style[e]=o,r}function L(n,e){return n.reduce((t,o)=>(t[o]=e,t),{})}var V={mixins:[vn],data:{selItem:"!li"},beforeConnect(){this.item=s.query(this.selItem,this.$el)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el(){return this.item},handler({type:n,detail:{percent:e,duration:t,timing:o,dir:r}}){s.fastdom.read(()=>{if(!this.matchMedia)return;const i=this.getCss(J(n,r,e)),a=this.getCss(G(n)?.5:r>0?1:0);s.fastdom.write(()=>{s.css(this.$el,i),s.Transition.start(this.$el,a,t,o).catch(s.noop)})})}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){s.Transition.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:n,detail:{percent:e,dir:t}}){s.fastdom.read(()=>{if(!this.matchMedia){this.reset();return}const o=this.getCss(J(n,t,e));s.fastdom.write(()=>s.css(this.$el,o))})}}]};function G(n){return s.endsWith(n,"in")}function J(n,e,t){return t/=2,G(n)^e<0?t:1-t}return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshowParallax",V),V});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 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.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(e,p){typeof exports=="object"&&typeof module<"u"?module.exports=p(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],p):(e=typeof globalThis<"u"?globalThis:e||self,e.UIkitSlideshow=p(e.UIkit.util))})(this,function(e){"use strict";var p={connected(){e.addClass(this.$el,this.$options.id)}},$={slide:{show(t){return[{transform:d(t*-100)},{transform:d()}]},percent(t){return g(t)},translate(t,s){return[{transform:d(s*-100*t)},{transform:d(s*100*(1-t))}]}}};function g(t){return Math.abs(e.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function d(t=0,s="%"){return t+=t?s:"",`translate3d(${t}, 0, 0)`}function z(t){return`scale3d(${t}, ${t}, 1)`}function S(t,s,i,{animation:n,easing:o}){const{percent:r,translate:c,show:a=e.noop}=n,m=a(i),f=new e.Deferred;return{dir:i,show(h,l=0,v){const I=v?"linear":o;return h-=Math.round(h*e.clamp(l,-1,1)),this.translate(l),x(s,"itemin",{percent:l,duration:h,timing:I,dir:i}),x(t,"itemout",{percent:1-l,duration:h,timing:I,dir:i}),Promise.all([e.Transition.start(s,m[1],h,I),e.Transition.start(t,m[0],h,I)]).then(()=>{this.reset(),f.resolve()},e.noop),f.promise},cancel(){e.Transition.cancel([s,t])},reset(){for(const h in m[0])e.css([s,t],h,"")},forward(h,l=this.percent()){return e.Transition.cancel([s,t]),this.show(h,l,!0)},translate(h){this.reset();const l=c(h,i);e.css(s,l[1]),e.css(t,l[0]),x(s,"itemtranslatein",{percent:h,dir:i}),x(t,"itemtranslateout",{percent:1-h,dir:i})},percent(){return r(t||s,s,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function x(t,s,i){e.trigger(t,e.createEvent(s,!1,!1,i))}var C={props:{i18n:Object},data:{i18n:null},methods:{t(t,...s){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,()=>s[r++]||""))||""}}};const u={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function w(t,s=t.$el,i=""){if(s.id)return s.id;let n=`${t.$options.id}-${t._uid}${i}`;return e.$(`#${n}`)&&(n=w(t,s,`${i}-2`)),n}var T={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:t},s){return e.$(t,s)},navChildren(){return e.children(this.nav)},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems(t,s){return e.$$(this.selNavItem,s)}},watch:{nav(t,s){e.attr(t,"role","tablist"),s&&this.$emit()},list(t){e.attr(t,"role","presentation")},navChildren(t){e.attr(t,"role","presentation")},navItems(t){for(const s of t){const i=e.data(s,this.attrItem),n=e.$("a,button",s)||s;let o,r=null;if(e.isNumeric(i)){const c=e.toNumber(i),a=this.slides[c];a&&(a.id||(a.id=w(this,a,`-item-${i}`)),r=a.id),o=this.t("slideX",e.toFloat(i)+1),e.attr(n,"role","tab")}else this.list&&(this.list.id||(this.list.id=w(this,this.list,"-items")),r=this.list.id),o=this.t(i);e.attr(n,{"aria-controls":r,"aria-label":e.attr(n,"aria-label")||o})}},slides(t){t.forEach((s,i)=>e.attr(s,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(t){const s=this.navChildren.length;if(this.nav&&t!==s){e.empty(this.nav);for(let i=0;i<t;i++)e.append(this.nav,`<li ${this.attrItem}="${i}"><a href></a></li>`)}}},connected(){e.attr(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){e.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===u.SPACE)&&(t.preventDefault(),this.show(e.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:s,keyCode:i}=t,n=e.data(s,this.attrItem);if(!e.isNumeric(n))return;let o=i===u.HOME?0:i===u.END?"last":i===u.LEFT?"previous":i===u.RIGHT?"next":-1;~o&&(t.preventDefault(),this.show(o))}}],methods:{updateNav(){const t=this.getValidIndex();let s,i;for(const n of this.navItems){const o=e.data(n,this.attrItem),r=e.$("a,button",n)||n;if(e.isNumeric(o)){const a=e.toNumber(o)===t;e.toggleClass(n,this.clsActive,a),e.attr(r,{"aria-selected":a,tabindex:a?null:-1}),a&&(i=r),s=s||e.matches(r,":focus")}else e.toggleClass(n,"uk-invisible",this.finite&&(o==="previous"&&t===0||o==="next"&&t>=this.maxIndex));s&&i&&i.focus()}}}};const b={passive:!1,capture:!0},_={passive:!0,capture:!0},D="touchstart mousedown",y="touchmove mousemove",A="touchend touchcancel mouseup click input scroll";var E={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const s=this[t];this[t]=i=>{const n=e.getEventPos(i).x*(e.isRtl?-1:1);this.prevPos=n===this.pos?this.prevPos:this.pos,this.pos=n,s(i)}}},events:[{name:D,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!e.isTouch(t)&&H(t.target)||e.closest(t.target,e.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:y,el(){return this.list},handler:e.noop,...b}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,e.on(document,y,this.move,b),e.on(document,A,this.end,_),e.css(this.list,"userSelect","none")},move(t){const s=this.pos-this.drag;if(s===0||this.prevPos===this.pos||!this.dragging&&Math.abs(s)<this.threshold)return;e.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=s<0?1:-1;const{slides:i}=this;let{prevIndex:n}=this,o=Math.abs(s),r=this.getIndex(n+this.dir,n),c=this._getDistance(n,r)||i[n].offsetWidth;for(;r!==n&&o>c;)this.drag-=c*this.dir,n=r,o-=c,r=this.getIndex(n+this.dir,n),c=this._getDistance(n,r)||i[n].offsetWidth;this.percent=o/c;const a=i[n],m=i[r],f=this.index!==r,h=n===r;let l;[this.index,this.prevIndex].filter(v=>!e.includes([r,n],v)).forEach(v=>{e.trigger(i[v],"itemhidden",[this]),h&&(l=!0,this.prevIndex=n)}),(this.index===n&&this.prevIndex!==n||l)&&e.trigger(i[this.index],"itemshown",[this]),f&&(this.prevIndex=n,this.index=r,!h&&e.trigger(a,"beforeitemhide",[this]),e.trigger(m,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!h&&m),f&&(!h&&e.trigger(a,"itemhide",[this]),e.trigger(m,"itemshow",[this]))},end(){if(e.off(document,y,this.move,b),e.off(document,A,this.end,_),this.dragging)if(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=(e.isRtl?this.dir*(e.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}e.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function H(t){return e.css(t,"userSelect")!=="none"&&e.toNodes(t.childNodes).some(s=>s.nodeType===3&&s.textContent.trim())}var M={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){e.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){e.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&e.matches(this.$el,":focus-within")||this.pauseOnHover&&e.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};function O(t){return N(e.observeResize,t,"resize")}function P(t){return N(e.observeIntersection,t)}function R(t={}){return P({handler:function(s,i){const{targets:n=this.$el,preload:o=5}=t;for(const r of e.toNodes(e.isFunction(n)?n(this):n))e.$$('[loading="lazy"]',r).slice(0,o-1).forEach(c=>e.removeAttr(c,"loading"));for(const r of s.filter(({isIntersecting:c})=>c).map(({target:c})=>c))i.unobserve(r)},...t})}function N(t,s,i){return{observe:t,handler(){this.$emit(i)},...s}}var U={mixins:[M,E,T,C],props:{clsActivated:Boolean,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:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){e.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:t},s){return W(s.offsetWidth/t)},list({selList:t},s){return e.$(t,s)},maxIndex(){return this.length-1},slides(){return e.children(this.list)},length(){return this.slides.length}},watch:{slides(t,s){s&&this.$emit()}},observe:O(),methods:{show(t,s=!1){var i;if(this.dragging||!this.length)return;const{stack:n}=this,o=s?0:n.length,r=()=>{n.splice(o,1),n.length&&this.show(n.shift(),!0)};if(n[s?"unshift":"push"](t),!s&&n.length>1){n.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const c=this.getIndex(this.index),a=e.hasClass(this.slides,this.clsActive)&&this.slides[c],m=this.getIndex(t,this.index),f=this.slides[m];if(a===f){r();return}if(this.dir=L(t,c),this.prevIndex=c,this.index=m,a&&!e.trigger(a,"beforeitemhide",[this])||!e.trigger(f,"beforeitemshow",[this,a])){this.index=this.prevIndex,r();return}const h=this._show(a,f,s).then(()=>{a&&e.trigger(a,"itemhidden",[this]),e.trigger(f,"itemshown",[this]),n.shift(),this._transitioner=null,requestAnimationFrame(()=>n.length&&this.show(n.shift(),!0))});return a&&e.trigger(a,"itemhide",[this]),e.trigger(f,"itemshow",[this]),h},getIndex(t=this.index,s=this.index){return e.clamp(e.getIndex(t,this.slides,s,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,s=this.prevIndex){return this.getIndex(t,s)},_show(t,s,i){if(this._transitioner=this._getTransitioner(t,s,this.dir,{easing:i?s.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();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)},_getDistance(t,s){return this._getTransitioner(t,t!==s&&s).getDistance()},_translate(t,s=this.prevIndex,i=this.index){const n=this._getTransitioner(s===i?!1:s,i);return n.translate(t),n},_getTransitioner(t=this.prevIndex,s=this.index,i=this.dir||1,n=this.transitionOptions){return new this.Transitioner(e.isNumber(t)?this.slides[t]:t,e.isNumber(s)?this.slides[s]:s,i*(e.isRtl?-1:1),n)}}};function L(t,s){return t==="next"?1:t==="previous"||t<s?-1:1}function W(t){return .5*t+300}var B={mixins:[U],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:$,Transitioner:S},computed:{animation({animation:t,Animations:s}){return{...s[t]||s.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){e.addClass(t,this.clsActive)},itemshown({target:t}){e.addClass(t,this.clsActivated)},itemhidden({target:t}){e.removeClass(t,this.clsActive,this.clsActivated)}}},j={...$,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-e.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:z(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-e.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:z(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:d(30),zIndex:-1},{transform:d(),zIndex:0}]:[{transform:d(-100),zIndex:0},{transform:d(),zIndex:-1}]},percent(t,s,i){return i<0?1-g(s):g(t)},translate(t,s){return s<0?[{transform:d(30*t),zIndex:-1},{transform:d(-100*(1-t)),zIndex:0}]:[{transform:d(-t*100),zIndex:0},{transform:d(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:d(100),zIndex:0},{transform:d(),zIndex:-1}]:[{transform:d(-30),zIndex:-1},{transform:d(),zIndex:0}]},percent(t,s,i){return i>0?1-g(s):g(t)},translate(t,s){return s<0?[{transform:d(t*100),zIndex:0},{transform:d(-30*(1-t)),zIndex:-1}]:[{transform:d(-30*t),zIndex:-1},{transform:d(100*(1-t)),zIndex:0}]}}},F={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},V={observe:R({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})},k={mixins:[p,B,F,V],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:j},update:{read(){if(!this.list)return!1;let[t,s]=this.ratio.split(":").map(Number);return s=s*this.list.offsetWidth/t||0,this.minHeight&&(s=Math.max(this.minHeight,s)),this.maxHeight&&(s=Math.min(this.maxHeight,s)),{height:s-e.boxModelAdjust(this.list,"height","content-box")}},write({height:t}){t>0&&e.css(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshow",k),k});
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(e,p){typeof exports=="object"&&typeof module<"u"?module.exports=p(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitslideshow",["uikit-util"],p):(e=typeof globalThis<"u"?globalThis:e||self,e.UIkitSlideshow=p(e.UIkit.util))})(this,function(e){"use strict";var p={connected(){e.addClass(this.$el,this.$options.id)}},$={slide:{show(t){return[{transform:d(t*-100)},{transform:d()}]},percent(t){return g(t)},translate(t,s){return[{transform:d(s*-100*t)},{transform:d(s*100*(1-t))}]}}};function g(t){return Math.abs(e.css(t,"transform").split(",")[4]/t.offsetWidth)||0}function d(t=0,s="%"){return t+=t?s:"",`translate3d(${t}, 0, 0)`}function z(t){return`scale3d(${t}, ${t}, 1)`}function S(t,s,i,{animation:n,easing:o}){const{percent:r,translate:c,show:a=e.noop}=n,m=a(i),f=new e.Deferred;return{dir:i,show(h,l=0,v){const I=v?"linear":o;return h-=Math.round(h*e.clamp(l,-1,1)),this.translate(l),x(s,"itemin",{percent:l,duration:h,timing:I,dir:i}),x(t,"itemout",{percent:1-l,duration:h,timing:I,dir:i}),Promise.all([e.Transition.start(s,m[1],h,I),e.Transition.start(t,m[0],h,I)]).then(()=>{this.reset(),f.resolve()},e.noop),f.promise},cancel(){e.Transition.cancel([s,t])},reset(){for(const h in m[0])e.css([s,t],h,"")},forward(h,l=this.percent()){return e.Transition.cancel([s,t]),this.show(h,l,!0)},translate(h){this.reset();const l=c(h,i);e.css(s,l[1]),e.css(t,l[0]),x(s,"itemtranslatein",{percent:h,dir:i}),x(t,"itemtranslateout",{percent:1-h,dir:i})},percent(){return r(t||s,s,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function x(t,s,i){e.trigger(t,e.createEvent(s,!1,!1,i))}var C={props:{i18n:Object},data:{i18n:null},methods:{t(t,...s){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,()=>s[r++]||""))||""}}};const u={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};function w(t,s=t.$el,i=""){if(s.id)return s.id;let n=`${t.$options.id}-${t._uid}${i}`;return e.$(`#${n}`)&&(n=w(t,s,`${i}-2`)),n}var T={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav({selNav:t},s){return e.$(t,s)},navChildren(){return e.children(this.nav)},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems(t,s){return e.$$(this.selNavItem,s)}},watch:{nav(t,s){e.attr(t,"role","tablist"),s&&this.$emit()},list(t){e.attr(t,"role","presentation")},navChildren(t){e.attr(t,"role","presentation")},navItems(t){for(const s of t){const i=e.data(s,this.attrItem),n=e.$("a,button",s)||s;let o,r=null;if(e.isNumeric(i)){const c=e.toNumber(i),a=this.slides[c];a&&(a.id||(a.id=w(this,a,`-item-${i}`)),r=a.id),o=this.t("slideX",e.toFloat(i)+1),e.attr(n,"role","tab")}else this.list&&(this.list.id||(this.list.id=w(this,this.list,"-items")),r=this.list.id),o=this.t(i);e.attr(n,{"aria-controls":r,"aria-label":e.attr(n,"aria-label")||o})}},slides(t){t.forEach((s,i)=>e.attr(s,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",i+1,this.length),"aria-roledescription":this.nav?null:"slide"}))},length(t){const s=this.navChildren.length;if(this.nav&&t!==s){e.empty(this.nav);for(let i=0;i<t;i++)e.append(this.nav,`<li ${this.attrItem}="${i}"><a href></a></li>`)}}},connected(){e.attr(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){e.closest(t.target,"a,button")&&(t.type==="click"||t.keyCode===u.SPACE)&&(t.preventDefault(),this.show(e.data(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:s,keyCode:i}=t,n=e.data(s,this.attrItem);if(!e.isNumeric(n))return;let o=i===u.HOME?0:i===u.END?"last":i===u.LEFT?"previous":i===u.RIGHT?"next":-1;~o&&(t.preventDefault(),this.show(o))}}],methods:{updateNav(){const t=this.getValidIndex();let s,i;for(const n of this.navItems){const o=e.data(n,this.attrItem),r=e.$("a,button",n)||n;if(e.isNumeric(o)){const a=e.toNumber(o)===t;e.toggleClass(n,this.clsActive,a),e.attr(r,{"aria-selected":a,tabindex:a?null:-1}),a&&(i=r),s=s||e.matches(r,":focus")}else e.toggleClass(n,"uk-invisible",this.finite&&(o==="previous"&&t===0||o==="next"&&t>=this.maxIndex));s&&i&&i.focus()}}}};const b={passive:!1,capture:!0},_={passive:!0,capture:!0},D="touchstart mousedown",y="touchmove mousemove",A="touchend touchcancel mouseup click input scroll";var E={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const s=this[t];this[t]=i=>{const n=e.getEventPos(i).x*(e.isRtl?-1:1);this.prevPos=n===this.pos?this.prevPos:this.pos,this.pos=n,s(i)}}},events:[{name:D,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!e.isTouch(t)&&H(t.target)||e.closest(t.target,e.selInput)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:y,el(){return this.list},handler:e.noop,...b}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,e.on(document,y,this.move,b),e.on(document,A,this.end,_),e.css(this.list,"userSelect","none")},move(t){const s=this.pos-this.drag;if(s===0||this.prevPos===this.pos||!this.dragging&&Math.abs(s)<this.threshold)return;e.css(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=s<0?1:-1;const{slides:i}=this;let{prevIndex:n}=this,o=Math.abs(s),r=this.getIndex(n+this.dir,n),c=this._getDistance(n,r)||i[n].offsetWidth;for(;r!==n&&o>c;)this.drag-=c*this.dir,n=r,o-=c,r=this.getIndex(n+this.dir,n),c=this._getDistance(n,r)||i[n].offsetWidth;this.percent=o/c;const a=i[n],m=i[r],f=this.index!==r,h=n===r;let l;[this.index,this.prevIndex].filter(v=>!e.includes([r,n],v)).forEach(v=>{e.trigger(i[v],"itemhidden",[this]),h&&(l=!0,this.prevIndex=n)}),(this.index===n&&this.prevIndex!==n||l)&&e.trigger(i[this.index],"itemshown",[this]),f&&(this.prevIndex=n,this.index=r,!h&&e.trigger(a,"beforeitemhide",[this]),e.trigger(m,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!h&&m),f&&(!h&&e.trigger(a,"itemhide",[this]),e.trigger(m,"itemshow",[this]))},end(){if(e.off(document,y,this.move,b),e.off(document,A,this.end,_),this.dragging)if(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=(e.isRtl?this.dir*(e.isRtl?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}e.css(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}};function H(t){return e.css(t,"userSelect")!=="none"&&e.toNodes(t.childNodes).some(s=>s.nodeType===3&&s.textContent.trim())}var M={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){e.attr(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){e.attr(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el(){return document},filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&e.matches(this.$el,":focus-within")||this.pauseOnHover&&e.matches(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};function O(t){return N(e.observeResize,t,"resize")}function P(t){return N(e.observeIntersection,t)}function R(t={}){return P({handler:function(s,i){const{targets:n=this.$el,preload:o=5}=t;for(const r of e.toNodes(e.isFunction(n)?n(this):n))e.$$('[loading="lazy"]',r).slice(0,o-1).forEach(c=>e.removeAttr(c,"loading"));for(const r of s.filter(({isIntersecting:c})=>c).map(({target:c})=>c))i.unobserve(r)},...t})}function N(t,s,i){return{observe:t,handler(){this.$emit(i)},...s}}var U={mixins:[M,E,T,C],props:{clsActivated:Boolean,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:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){e.removeClass(this.slides,this.clsActive)},computed:{duration({velocity:t},s){return W(s.offsetWidth/t)},list({selList:t},s){return e.$(t,s)},maxIndex(){return this.length-1},slides(){return e.children(this.list)},length(){return this.slides.length}},watch:{slides(t,s){s&&this.$emit()}},observe:O(),methods:{show(t,s=!1){var i;if(this.dragging||!this.length)return;const{stack:n}=this,o=s?0:n.length,r=()=>{n.splice(o,1),n.length&&this.show(n.shift(),!0)};if(n[s?"unshift":"push"](t),!s&&n.length>1){n.length===2&&((i=this._transitioner)==null||i.forward(Math.min(this.duration,200)));return}const c=this.getIndex(this.index),a=e.hasClass(this.slides,this.clsActive)&&this.slides[c],m=this.getIndex(t,this.index),f=this.slides[m];if(a===f){r();return}if(this.dir=L(t,c),this.prevIndex=c,this.index=m,a&&!e.trigger(a,"beforeitemhide",[this])||!e.trigger(f,"beforeitemshow",[this,a])){this.index=this.prevIndex,r();return}const h=this._show(a,f,s).then(()=>{a&&e.trigger(a,"itemhidden",[this]),e.trigger(f,"itemshown",[this]),n.shift(),this._transitioner=null,requestAnimationFrame(()=>n.length&&this.show(n.shift(),!0))});return a&&e.trigger(a,"itemhide",[this]),e.trigger(f,"itemshow",[this]),h},getIndex(t=this.index,s=this.index){return e.clamp(e.getIndex(t,this.slides,s,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,s=this.prevIndex){return this.getIndex(t,s)},_show(t,s,i){if(this._transitioner=this._getTransitioner(t,s,this.dir,{easing:i?s.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();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)},_getDistance(t,s){return this._getTransitioner(t,t!==s&&s).getDistance()},_translate(t,s=this.prevIndex,i=this.index){const n=this._getTransitioner(s===i?!1:s,i);return n.translate(t),n},_getTransitioner(t=this.prevIndex,s=this.index,i=this.dir||1,n=this.transitionOptions){return new this.Transitioner(e.isNumber(t)?this.slides[t]:t,e.isNumber(s)?this.slides[s]:s,i*(e.isRtl?-1:1),n)}}};function L(t,s){return t==="next"?1:t==="previous"||t<s?-1:1}function W(t){return .5*t+300}var B={mixins:[U],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:$,Transitioner:S},computed:{animation({animation:t,Animations:s}){return{...s[t]||s.slide,name:t}},transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){e.addClass(t,this.clsActive)},itemshown({target:t}){e.addClass(t,this.clsActivated)},itemhidden({target:t}){e.removeClass(t,this.clsActive,this.clsActivated)}}},j={...$,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-e.css(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:z(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-e.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:z(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:d(30),zIndex:-1},{transform:d(),zIndex:0}]:[{transform:d(-100),zIndex:0},{transform:d(),zIndex:-1}]},percent(t,s,i){return i<0?1-g(s):g(t)},translate(t,s){return s<0?[{transform:d(30*t),zIndex:-1},{transform:d(-100*(1-t)),zIndex:0}]:[{transform:d(-t*100),zIndex:0},{transform:d(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:d(100),zIndex:0},{transform:d(),zIndex:-1}]:[{transform:d(-30),zIndex:-1},{transform:d(),zIndex:0}]},percent(t,s,i){return i>0?1-g(s):g(t)},translate(t,s){return s<0?[{transform:d(t*100),zIndex:0},{transform:d(-30*(1-t)),zIndex:-1}]:[{transform:d(-30*t),zIndex:-1},{transform:d(100*(1-t)),zIndex:0}]}}},F={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);!~this.prevIndex||this.index!==t?this.show(t):this._translate(1,this.prevIndex,this.index)},events:["resize"]}},V={observe:R({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})},k={mixins:[p,B,F,V],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:j},update:{read(){if(!this.list)return!1;let[t,s]=this.ratio.split(":").map(Number);return s=s*this.list.offsetWidth/t||0,this.minHeight&&(s=Math.max(this.minHeight,s)),this.maxHeight&&(s=Math.min(this.maxHeight,s)),{height:s-e.boxModelAdjust(this.list,"height","content-box")}},write({height:t}){t>0&&e.css(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};return typeof window<"u"&&window.UIkit&&window.UIkit.component("slideshow",k),k});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.11-dev.23226dadb | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.11-dev.85cdca725 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :