uikit 3.16.8 → 3.16.9-dev.fbb40b01e

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/CHANGELOG.md +6 -0
  2. package/build/release.js +5 -2
  3. package/dist/css/uikit-core-rtl.css +1 -1
  4. package/dist/css/uikit-core-rtl.min.css +1 -1
  5. package/dist/css/uikit-core.css +1 -1
  6. package/dist/css/uikit-core.min.css +1 -1
  7. package/dist/css/uikit-rtl.css +1 -1
  8. package/dist/css/uikit-rtl.min.css +1 -1
  9. package/dist/css/uikit.css +1 -1
  10. package/dist/css/uikit.min.css +1 -1
  11. package/dist/js/components/countdown.js +1 -1
  12. package/dist/js/components/countdown.min.js +1 -1
  13. package/dist/js/components/filter.js +1 -1
  14. package/dist/js/components/filter.min.js +1 -1
  15. package/dist/js/components/lightbox-panel.js +1 -1
  16. package/dist/js/components/lightbox-panel.min.js +1 -1
  17. package/dist/js/components/lightbox.js +1 -1
  18. package/dist/js/components/lightbox.min.js +1 -1
  19. package/dist/js/components/notification.js +1 -1
  20. package/dist/js/components/notification.min.js +1 -1
  21. package/dist/js/components/parallax.js +1 -1
  22. package/dist/js/components/parallax.min.js +1 -1
  23. package/dist/js/components/slider-parallax.js +1 -1
  24. package/dist/js/components/slider-parallax.min.js +1 -1
  25. package/dist/js/components/slider.js +1 -1
  26. package/dist/js/components/slider.min.js +1 -1
  27. package/dist/js/components/slideshow-parallax.js +1 -1
  28. package/dist/js/components/slideshow-parallax.min.js +1 -1
  29. package/dist/js/components/slideshow.js +1 -1
  30. package/dist/js/components/slideshow.min.js +1 -1
  31. package/dist/js/components/sortable.js +1 -1
  32. package/dist/js/components/sortable.min.js +1 -1
  33. package/dist/js/components/tooltip.js +1 -1
  34. package/dist/js/components/tooltip.min.js +1 -1
  35. package/dist/js/components/upload.js +1 -1
  36. package/dist/js/components/upload.min.js +1 -1
  37. package/dist/js/uikit-core.js +8 -5
  38. package/dist/js/uikit-core.min.js +1 -1
  39. package/dist/js/uikit-icons.js +1 -1
  40. package/dist/js/uikit-icons.min.js +1 -1
  41. package/dist/js/uikit.js +8 -5
  42. package/dist/js/uikit.min.js +1 -1
  43. package/package.json +1 -1
  44. package/src/js/core/toggle.js +7 -3
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.8 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | 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.8 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(t,s){typeof exports=="object"&&typeof module<"u"?module.exports=s(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitcountdown",["uikit-util"],s):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitCountdown=s(t.UIkit.util))})(this,function(t){"use strict";var s={connected(){t.addClass(this.$el,this.$options.id)}};const d=["days","hours","minutes","seconds"];var r={mixins:[s],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".uk-countdown-%unit%",role:"timer"},connected(){t.attr(this.$el,"role",this.role),this.date=t.toFloat(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el(){return document},handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(t.trigger(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),t.trigger(this.$el,"countdownstop"),this.timer=null)},update(){const o=a(this.date);o.total||(this.stop(),this.end||(t.trigger(this.$el,"countdownend"),this.end=!0));for(const n of d){const i=t.$(this.clsWrapper.replace("%unit%",n),this.$el);if(!i)continue;let e=String(Math.trunc(o[n]));e=e.length<2?`0${e}`:e,i.textContent!==e&&(e=e.split(""),e.length!==i.children.length&&t.html(i,e.map(()=>"<span></span>").join("")),e.forEach((h,u)=>i.children[u].textContent=h))}}}};function a(o){const n=Math.max(0,o-Date.now())/1e3;return{total:n,seconds:n%60,minutes:n/60%60,hours:n/60/60%24,days:n/60/60/24}}return typeof window<"u"&&window.UIkit&&window.UIkit.component("countdown",r),r});
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(t,s){typeof exports=="object"&&typeof module<"u"?module.exports=s(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitcountdown",["uikit-util"],s):(t=typeof globalThis<"u"?globalThis:t||self,t.UIkitCountdown=s(t.UIkit.util))})(this,function(t){"use strict";var s={connected(){t.addClass(this.$el,this.$options.id)}};const d=["days","hours","minutes","seconds"];var r={mixins:[s],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".uk-countdown-%unit%",role:"timer"},connected(){t.attr(this.$el,"role",this.role),this.date=t.toFloat(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el(){return document},handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(t.trigger(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),t.trigger(this.$el,"countdownstop"),this.timer=null)},update(){const o=a(this.date);o.total||(this.stop(),this.end||(t.trigger(this.$el,"countdownend"),this.end=!0));for(const n of d){const i=t.$(this.clsWrapper.replace("%unit%",n),this.$el);if(!i)continue;let e=String(Math.trunc(o[n]));e=e.length<2?`0${e}`:e,i.textContent!==e&&(e=e.split(""),e.length!==i.children.length&&t.html(i,e.map(()=>"<span></span>").join("")),e.forEach((h,u)=>i.children[u].textContent=h))}}}};function a(o){const n=Math.max(0,o-Date.now())/1e3;return{total:n,seconds:n%60,minutes:n/60%60,hours:n/60/60%24,days:n/60/60/24}}return typeof window<"u"&&window.UIkit&&window.UIkit.component("countdown",r),r});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.8 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | 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.8 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,u){typeof exports=="object"&&typeof module<"u"?module.exports=u(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitfilter",["uikit-util"],u):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitFilter=u(s.UIkit.util))})(this,function(s){"use strict";function u(n){return b(s.observeResize,n,"resize")}function N(n){return b(s.observeMutation,n)}function b(n,e,o){return{observe:n,handler(){this.$emit(o)},...e}}N({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),u({target:({$el:n})=>[n,...s.toArray(n.children)]});function T(n){return C(n,"top","bottom")}function q(n){const e=[];for(const o of n){const t=C(o,"left","right");for(let r=0;r<t.length;r++)e[r]=e[r]?e[r].concat(t[r]):t[r]}return s.isRtl?e.reverse():e}function C(n,e,o){const t=[[]];for(const r of n){if(!s.isVisible(r))continue;let a=y(r);for(let c=t.length-1;c>=0;c--){const f=t[c];if(!f[0]){f.push(r);break}let h;if(f[0].offsetParent===r.offsetParent?h=y(f[0]):(a=y(r,!0),h=y(f[0],!0)),a[e]>=h[o]-1&&a[e]!==h[e]){t.push([r]);break}if(a[o]-1>h[e]||a[e]===h[e]){f.push(r);break}if(c===0){t.unshift([r]);break}}}return t}function y(n,e=!1){let{offsetTop:o,offsetLeft:t,offsetHeight:r,offsetWidth:a}=n;return e&&([o,t]=s.offsetPosition(n)),{top:o,left:t,bottom:o+r,right:t+a}}const w="uk-transition-leave",v="uk-transition-enter";function $(n,e,o,t=0){const r=g(e,!0),a={opacity:1},c={opacity:0},f=p=>()=>r===g(e)?p():Promise.reject(),h=f(async()=>{s.addClass(e,w),await Promise.all(P(e).map((p,l)=>new Promise(d=>setTimeout(()=>s.Transition.start(p,c,o/2,"ease").then(d),l*t)))),s.removeClass(e,w)}),i=f(async()=>{const p=s.height(e);s.addClass(e,v),n(),s.css(s.children(e),{opacity:0}),await L();const l=s.children(e),d=s.height(e);s.css(e,"alignContent","flex-start"),s.height(e,p);const m=P(e);s.css(l,c);const z=m.map(async(Y,Z)=>{await O(Z*t),await s.Transition.start(Y,a,o/2,"ease")});p!==d&&z.push(s.Transition.start(e,{height:d},o/2+m.length*t,"ease")),await Promise.all(z).then(()=>{s.removeClass(e,v),r===g(e)&&(s.css(e,{height:"",alignContent:""}),s.css(l,{opacity:""}),delete e.dataset.transition)})});return s.hasClass(e,w)?S(e).then(i):s.hasClass(e,v)?S(e).then(h).then(i):h().then(i)}function g(n,e){return e&&(n.dataset.transition=1+g(n)),s.toNumber(n.dataset.transition)||0}function S(n){return Promise.all(s.children(n).filter(s.Transition.inProgress).map(e=>new Promise(o=>s.once(e,"transitionend transitioncanceled",o))))}function P(n){return T(s.children(n)).reduce((e,o)=>e.concat(s.sortBy(o.filter(t=>s.isInView(t)),"offsetLeft")),[])}function L(){return new Promise(n=>requestAnimationFrame(n))}function O(n){return new Promise(e=>setTimeout(e,n))}async function H(n,e,o){await E();let t=s.children(e);const r=t.map(d=>I(d,!0)),a={...s.css(e,["height","padding"]),display:"block"};await Promise.all(t.concat(e).map(s.Transition.cancel)),n(),t=t.concat(s.children(e).filter(d=>!s.includes(t,d))),await Promise.resolve(),s.fastdom.flush();const c=s.attr(e,"style"),f=s.css(e,["height","padding"]),[h,i]=V(e,t,r),p=t.map(d=>({style:s.attr(d,"style")}));t.forEach((d,m)=>i[m]&&s.css(d,i[m])),s.css(e,a),s.trigger(e,"scroll"),s.fastdom.flush(),await E();const l=t.map((d,m)=>s.parent(d)===e&&s.Transition.start(d,h[m],o,"ease")).concat(s.Transition.start(e,f,o,"ease"));try{await Promise.all(l),t.forEach((d,m)=>{s.attr(d,p[m]),s.parent(d)===e&&s.css(d,"display",h[m].opacity===0?"none":"")}),s.attr(e,"style",c)}catch{s.attr(t,"style",""),D(e,a)}}function I(n,e){const o=s.css(n,"zIndex");return s.isVisible(n)?{display:"",opacity:e?s.css(n,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:o==="auto"?s.index(n):o,...F(n)}:!1}function V(n,e,o){const t=e.map((a,c)=>s.parent(a)&&c in o?o[c]?s.isVisible(a)?F(a):{opacity:0}:{opacity:s.isVisible(a)?1:0}:!1),r=t.map((a,c)=>{const f=s.parent(e[c])===n&&(o[c]||I(e[c]));if(!f)return!1;if(!a)delete f.opacity;else if(!("opacity"in a)){const{opacity:h}=f;h%1?a.opacity=1:delete f.opacity}return f});return[t,r]}function D(n,e){for(const o in e)s.css(n,o,"")}function F(n){const{height:e,width:o}=s.offset(n);return{height:e,width:o,transform:"",...s.position(n),...s.css(n,["marginTop","marginLeft"])}}function E(){return new Promise(n=>requestAnimationFrame(n))}var M={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(n,e=this.$el){const o=this.animation;return(o==="fade"?$:o==="delayed-fade"?(...r)=>$(...r,40):o?H:()=>(n(),Promise.resolve()))(n,e,this.duration).catch(s.noop)}}};function R(n,e=[]){try{return n?s.startsWith(n,"{")?JSON.parse(n):e.length&&!s.includes(n,":")?{[e[0]]:n}:n.split(";").reduce((o,t)=>{const[r,a]=t.split(/:(.*)/);return r&&!s.isUndefined(a)&&(o[r.trim()]=a.trim()),o},{}):{}}catch{return{}}}const W={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};var x={mixins:[M],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{toggles:{get({attrItem:n},e){return s.$$(`[${n}],[data-${n}]`,e)},watch(n){this.updateState();const e=s.$$(this.selActive,this.$el);for(const o of n){this.selActive!==!1&&s.toggleClass(o,this.cls,s.includes(e,o));const t=X(o);s.isTag(t,"a")&&s.attr(t,"role","button")}},immediate:!0},children:{get({target:n},e){return s.$$(`${n} > *`,e)},watch(n,e){e&&this.updateState()},immediate:!0}},events:{name:"click keydown",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(n){n.type==="keydown"&&n.keyCode!==W.SPACE||s.closest(n.target,"a,button")&&(n.preventDefault(),this.apply(n.current))}},methods:{apply(n){const e=this.getState(),o=B(n,this.attrItem,this.getState());j(e,o)||this.setState(o)},getState(){return this.toggles.filter(n=>s.hasClass(n,this.cls)).reduce((n,e)=>B(e,this.attrItem,n),{filter:{"":""},sort:[]})},async setState(n,e=!0){n={filter:{"":""},sort:[],...n},s.trigger(this.$el,"beforeFilter",[this,n]);for(const o of this.toggles)s.toggleClass(o,this.cls,J(o,this.attrItem,n));await Promise.all(s.$$(this.target,this.$el).map(o=>{const t=()=>{G(n,o,s.children(o)),this.$update(this.$el)};return e?this.animate(t,o):t()})),s.trigger(this.$el,"afterFilter",[this])},updateState(){s.fastdom.write(()=>this.setState(this.getState(),!1))}}};function A(n,e){return R(s.data(n,e),["filter"])}function j(n,e){return["filter","sort"].every(o=>s.isEqual(n[o],e[o]))}function G(n,e,o){const t=K(n);o.forEach(c=>s.css(c,"display",t&&!s.matches(c,t)?"none":""));const[r,a]=n.sort;if(r){const c=Q(o,r,a);s.isEqual(c,o)||s.append(e,c)}}function B(n,e,o){const{filter:t,group:r,sort:a,order:c="asc"}=A(n,e);return(t||s.isUndefined(a))&&(r?t?(delete o.filter[""],o.filter[r]=t):(delete o.filter[r],(s.isEmpty(o.filter)||""in o.filter)&&(o.filter={"":t||""})):o.filter={"":t||""}),s.isUndefined(a)||(o.sort=[a,c]),o}function J(n,e,{filter:o={"":""},sort:[t,r]}){const{filter:a="",group:c="",sort:f,order:h="asc"}=A(n,e);return s.isUndefined(f)?c in o&&a===o[c]||!a&&c&&!(c in o)&&!o[""]:t===f&&r===h}function K({filter:n}){let e="";return s.each(n,o=>e+=o||""),e}function Q(n,e,o){return[...n].sort((t,r)=>s.data(t,e).localeCompare(s.data(r,e),void 0,{numeric:!0})*(o==="asc"||-1))}function X(n){return s.$("a,button",n)||n}return typeof window<"u"&&window.UIkit&&window.UIkit.component("filter",x),x});
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,u){typeof exports=="object"&&typeof module<"u"?module.exports=u(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitfilter",["uikit-util"],u):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitFilter=u(s.UIkit.util))})(this,function(s){"use strict";function u(n){return b(s.observeResize,n,"resize")}function N(n){return b(s.observeMutation,n)}function b(n,e,o){return{observe:n,handler(){this.$emit(o)},...e}}N({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),u({target:({$el:n})=>[n,...s.toArray(n.children)]});function T(n){return C(n,"top","bottom")}function q(n){const e=[];for(const o of n){const t=C(o,"left","right");for(let r=0;r<t.length;r++)e[r]=e[r]?e[r].concat(t[r]):t[r]}return s.isRtl?e.reverse():e}function C(n,e,o){const t=[[]];for(const r of n){if(!s.isVisible(r))continue;let a=y(r);for(let c=t.length-1;c>=0;c--){const f=t[c];if(!f[0]){f.push(r);break}let h;if(f[0].offsetParent===r.offsetParent?h=y(f[0]):(a=y(r,!0),h=y(f[0],!0)),a[e]>=h[o]-1&&a[e]!==h[e]){t.push([r]);break}if(a[o]-1>h[e]||a[e]===h[e]){f.push(r);break}if(c===0){t.unshift([r]);break}}}return t}function y(n,e=!1){let{offsetTop:o,offsetLeft:t,offsetHeight:r,offsetWidth:a}=n;return e&&([o,t]=s.offsetPosition(n)),{top:o,left:t,bottom:o+r,right:t+a}}const w="uk-transition-leave",v="uk-transition-enter";function $(n,e,o,t=0){const r=g(e,!0),a={opacity:1},c={opacity:0},f=p=>()=>r===g(e)?p():Promise.reject(),h=f(async()=>{s.addClass(e,w),await Promise.all(P(e).map((p,l)=>new Promise(d=>setTimeout(()=>s.Transition.start(p,c,o/2,"ease").then(d),l*t)))),s.removeClass(e,w)}),i=f(async()=>{const p=s.height(e);s.addClass(e,v),n(),s.css(s.children(e),{opacity:0}),await L();const l=s.children(e),d=s.height(e);s.css(e,"alignContent","flex-start"),s.height(e,p);const m=P(e);s.css(l,c);const z=m.map(async(Y,Z)=>{await O(Z*t),await s.Transition.start(Y,a,o/2,"ease")});p!==d&&z.push(s.Transition.start(e,{height:d},o/2+m.length*t,"ease")),await Promise.all(z).then(()=>{s.removeClass(e,v),r===g(e)&&(s.css(e,{height:"",alignContent:""}),s.css(l,{opacity:""}),delete e.dataset.transition)})});return s.hasClass(e,w)?S(e).then(i):s.hasClass(e,v)?S(e).then(h).then(i):h().then(i)}function g(n,e){return e&&(n.dataset.transition=1+g(n)),s.toNumber(n.dataset.transition)||0}function S(n){return Promise.all(s.children(n).filter(s.Transition.inProgress).map(e=>new Promise(o=>s.once(e,"transitionend transitioncanceled",o))))}function P(n){return T(s.children(n)).reduce((e,o)=>e.concat(s.sortBy(o.filter(t=>s.isInView(t)),"offsetLeft")),[])}function L(){return new Promise(n=>requestAnimationFrame(n))}function O(n){return new Promise(e=>setTimeout(e,n))}async function H(n,e,o){await E();let t=s.children(e);const r=t.map(d=>I(d,!0)),a={...s.css(e,["height","padding"]),display:"block"};await Promise.all(t.concat(e).map(s.Transition.cancel)),n(),t=t.concat(s.children(e).filter(d=>!s.includes(t,d))),await Promise.resolve(),s.fastdom.flush();const c=s.attr(e,"style"),f=s.css(e,["height","padding"]),[h,i]=V(e,t,r),p=t.map(d=>({style:s.attr(d,"style")}));t.forEach((d,m)=>i[m]&&s.css(d,i[m])),s.css(e,a),s.trigger(e,"scroll"),s.fastdom.flush(),await E();const l=t.map((d,m)=>s.parent(d)===e&&s.Transition.start(d,h[m],o,"ease")).concat(s.Transition.start(e,f,o,"ease"));try{await Promise.all(l),t.forEach((d,m)=>{s.attr(d,p[m]),s.parent(d)===e&&s.css(d,"display",h[m].opacity===0?"none":"")}),s.attr(e,"style",c)}catch{s.attr(t,"style",""),D(e,a)}}function I(n,e){const o=s.css(n,"zIndex");return s.isVisible(n)?{display:"",opacity:e?s.css(n,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:o==="auto"?s.index(n):o,...F(n)}:!1}function V(n,e,o){const t=e.map((a,c)=>s.parent(a)&&c in o?o[c]?s.isVisible(a)?F(a):{opacity:0}:{opacity:s.isVisible(a)?1:0}:!1),r=t.map((a,c)=>{const f=s.parent(e[c])===n&&(o[c]||I(e[c]));if(!f)return!1;if(!a)delete f.opacity;else if(!("opacity"in a)){const{opacity:h}=f;h%1?a.opacity=1:delete f.opacity}return f});return[t,r]}function D(n,e){for(const o in e)s.css(n,o,"")}function F(n){const{height:e,width:o}=s.offset(n);return{height:e,width:o,transform:"",...s.position(n),...s.css(n,["marginTop","marginLeft"])}}function E(){return new Promise(n=>requestAnimationFrame(n))}var M={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(n,e=this.$el){const o=this.animation;return(o==="fade"?$:o==="delayed-fade"?(...r)=>$(...r,40):o?H:()=>(n(),Promise.resolve()))(n,e,this.duration).catch(s.noop)}}};function R(n,e=[]){try{return n?s.startsWith(n,"{")?JSON.parse(n):e.length&&!s.includes(n,":")?{[e[0]]:n}:n.split(";").reduce((o,t)=>{const[r,a]=t.split(/:(.*)/);return r&&!s.isUndefined(a)&&(o[r.trim()]=a.trim()),o},{}):{}}catch{return{}}}const W={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};var x={mixins:[M],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{toggles:{get({attrItem:n},e){return s.$$(`[${n}],[data-${n}]`,e)},watch(n){this.updateState();const e=s.$$(this.selActive,this.$el);for(const o of n){this.selActive!==!1&&s.toggleClass(o,this.cls,s.includes(e,o));const t=X(o);s.isTag(t,"a")&&s.attr(t,"role","button")}},immediate:!0},children:{get({target:n},e){return s.$$(`${n} > *`,e)},watch(n,e){e&&this.updateState()},immediate:!0}},events:{name:"click keydown",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(n){n.type==="keydown"&&n.keyCode!==W.SPACE||s.closest(n.target,"a,button")&&(n.preventDefault(),this.apply(n.current))}},methods:{apply(n){const e=this.getState(),o=B(n,this.attrItem,this.getState());j(e,o)||this.setState(o)},getState(){return this.toggles.filter(n=>s.hasClass(n,this.cls)).reduce((n,e)=>B(e,this.attrItem,n),{filter:{"":""},sort:[]})},async setState(n,e=!0){n={filter:{"":""},sort:[],...n},s.trigger(this.$el,"beforeFilter",[this,n]);for(const o of this.toggles)s.toggleClass(o,this.cls,J(o,this.attrItem,n));await Promise.all(s.$$(this.target,this.$el).map(o=>{const t=()=>{G(n,o,s.children(o)),this.$update(this.$el)};return e?this.animate(t,o):t()})),s.trigger(this.$el,"afterFilter",[this])},updateState(){s.fastdom.write(()=>this.setState(this.getState(),!1))}}};function A(n,e){return R(s.data(n,e),["filter"])}function j(n,e){return["filter","sort"].every(o=>s.isEqual(n[o],e[o]))}function G(n,e,o){const t=K(n);o.forEach(c=>s.css(c,"display",t&&!s.matches(c,t)?"none":""));const[r,a]=n.sort;if(r){const c=Q(o,r,a);s.isEqual(c,o)||s.append(e,c)}}function B(n,e,o){const{filter:t,group:r,sort:a,order:c="asc"}=A(n,e);return(t||s.isUndefined(a))&&(r?t?(delete o.filter[""],o.filter[r]=t):(delete o.filter[r],(s.isEmpty(o.filter)||""in o.filter)&&(o.filter={"":t||""})):o.filter={"":t||""}),s.isUndefined(a)||(o.sort=[a,c]),o}function J(n,e,{filter:o={"":""},sort:[t,r]}){const{filter:a="",group:c="",sort:f,order:h="asc"}=A(n,e);return s.isUndefined(f)?c in o&&a===o[c]||!a&&c&&!(c in o)&&!o[""]:t===f&&r===h}function K({filter:n}){let e="";return s.each(n,o=>e+=o||""),e}function Q(n,e,o){return[...n].sort((t,r)=>s.data(t,e).localeCompare(s.data(r,e),void 0,{numeric:!0})*(o==="asc"||-1))}function X(n){return s.$("a,button",n)||n}return typeof window<"u"&&window.UIkit&&window.UIkit.component("filter",x),x});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.8 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | 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.8 | 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_panel",["uikit-util"],y):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitLightbox_panel=y(s.UIkit.util))})(this,function(s){"use strict";var y={slide:{show(t){return[{transform:S(t*-100)},{transform:S()}]},percent(t){return yt(t)},translate(t,e){return[{transform:S(e*-100*t)},{transform:S(e*100*(1-t))}]}}};function yt(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 _(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:_(1-.2)},{opacity:1,transform:_(1)}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:_(1-.2*t)},{opacity:t,transform:_(1-.2+.2*t)}]}}},kt={connected(){s.addClass(this.$el,this.$options.id)}},It={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&s.$(t)}}},Ct={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?Tt:Et)(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 Tt(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,L=["width","height"][d.indexOf(u)],I=`margin-${u[0]}`,M=`margin-${c}`;let E=s.dimensions(t)[L];const Se=s.Transition.inProgress(t);await s.Transition.cancel(t),e&&a(t,!0);const _e=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",I,M].map($t=>[$t,t.style[$t]])),N=s.dimensions(t),tt=s.toFloat(s.css(t,I)),bt=s.toFloat(s.css(t,M)),$=N[L]+bt;!Se&&!e&&(E+=bt);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",[L]:E});const wt=E/$;n=(r*$+n)*(e?1-wt:wt);const xt={[L]:e?$:0};w&&(s.css(t,I,$-E+tt),xt[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,xt,n,o)}finally{s.css(t,_e),s.unwrap(F.firstChild),e||a(t,!1)}}function Et(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 Nt=/\B([A-Z])/g,St=k(t=>t.replace(Nt,"-$1").toLowerCase()),z=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 Pt(t,e){var i;return(i=t==null?void 0:t.findIndex)==null?void 0:i.call(t,e)}const{isArray:W,from:Pe}=Array;function R(t){return typeof t=="function"}function P(t){return t!==null&&typeof t=="object"}function C(t){return P(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)&&P(t)&&t.nodeType}function x(t){return typeof t=="string"}function rt(t){return typeof t=="number"}function Dt(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 V(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 Ot(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 q(t,e,i){var n;if(P(e)){for(const r in e)q(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,q(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 Lt(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 Mt(t,e){return x(e)?!!O(t,e):g(e).contains(g(t))}function Ft(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?Lt(i,e):i}function Wt(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 Rt=/(^|[^\\],)\s*[!>+~-]/,Ht=k(t=>t.match(Rt)),Ut=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,jt=k(t=>t.replace(Ut,"$1 *"));function Vt(t,e=document,i){if(!t||!x(t))return t;if(t=jt(t),Ht(t)){const n=Xt(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?",":""}${Yt(o)} ${r}`)}e=document}try{return e[i](t)}catch{return null}}const qt=/.*?[^\\](?:,|$)/g,Xt=k(t=>t.match(qt).map(e=>e.replace(/,$/,"").trim()));function Yt(t){const e=[];for(;t.parentNode;){const i=q(t,"id");if(i){e.unshift(`#${Gt(i)}`);break}else{let{tagName:n}=t;n!=="HTML"&&(n+=`:nth-child(${Wt(t)+1})`),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Gt(t){return x(t)?CSS.escape(t):""}function Jt(...t){let[e,i,n,r,o=!1]=ht(t);r.length>1&&(r=Qt(r)),o!=null&&o.self&&(r=te(r)),n&&(r=Kt(n,r));for(const a of i)for(const h of e)h.addEventListener(a,r,o);return()=>Zt(e,i,r,o)}function Zt(...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]=se(t[0]),x(t[1])&&(t[1]=t[1].split(" ")),R(t[2])&&t.splice(2,0,!1),t}function Kt(t,e){return i=>{const n=t[0]===">"?at(t,i.currentTarget).reverse().filter(r=>Mt(i.target,r))[0]:O(i.target,t);n&&(i.current=n,e.call(this,i),delete i.current)}}function Qt(t){return e=>W(e.detail)?t(e,...e.detail):t(e)}function te(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 ee(t){return ct(t)?t:g(t)}function se(t){return W(t)?t.map(ee).filter(Boolean):x(t)?at(t):ct(t)?[t]:m(t)}const ie={"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=ne(e),j(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,Dt(i)&&!ie[e]?`${i}px`:i||rt(i)?i:"",n)}else if(W(e)){const a={};for(const h of e)a[h]=f(o,h);return a}else P(e)&&(n=i,ot(e,(a,h)=>f(o,h,a,n)));return r[0]}const ne=k(t=>re(t));function re(t){if(st(t,"--"))return t;t=St(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 oe(t){const e=H(t)?g(t).getBoundingClientRect():{height:he(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=oe(t);if(t){const{scrollY:r,scrollX:o}=V(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"?ae(t)[o]:r)))}function ae(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 he=lt("height"),dt=lt("width");function lt(t){const e=z(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?Ot(Y[e].map(z),n=>v(f(t,`padding${n}`))+v(f(t,`border${n}Width`))):0}function ce(t,e=!1,i=[]){const n=ut(t);let r=Ft(t).reverse();r=r.slice(r.indexOf(n)+1);const o=Pt(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>de(a).height))).reverse()}function de(t){const e=V(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${z(a)}`],o[c]=o[a]+o[l];return o}function ut(t){return V(t).document.scrollingElement}let J;function le(t){const e=Jt(t,"touchmove",n=>{if(n.targetTouches.length!==1||D(n.target,'input[type="range"'))return;let[{scrollHeight:r,clientHeight:o}]=ce(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 fe={mixins:[kt,It,Ct],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&&pe(this),this.overlay&&le(this.$el),this.bgClose&&ge(this),this.escClose&&me(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()},ue(s.css(i,"transitionDuration")))})).then(()=>delete t._reject)}function ue(t){return t?s.endsWith(t,"ms")?s.toFloat(t):s.toFloat(t)*1e3:0}function pe(t){return s.on(document,"focusin",e=>{s.last(p)===t&&!s.within(e.target,t.$el)&&t.$el.focus()})}function ge(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 me(t){return s.on(document,"keydown",e=>{e.keyCode===27&&s.last(p)===t&&t.hide()})}function ve(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 T=w?"linear":r;return d-=Math.round(d*s.clamp(u,-1,1)),this.translate(u),B(e,"itemin",{percent:u,duration:d,timing:T,dir:i}),B(t,"itemout",{percent:1-u,duration:d,timing:T,dir:i}),Promise.all([s.Transition.start(e,l[1],d,T),s.Transition.start(t,l[0],d,T)]).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]),B(e,"itemtranslatein",{percent:d,dir:i}),B(t,"itemtranslateout",{percent:1-d,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function B(t,e,i){s.trigger(t,s.createEvent(e,!1,!1,i))}var be={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 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 we={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav:{get({selNav:t},e){return s.$(t,e)},watch(t,e){s.attr(t,"role","tablist"),e&&this.$emit()},immediate:!0},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems:{get(t,e){return s.$$(this.selNavItem,e)},watch(){this.$emit()}}},connected(){s.attr(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.slides.forEach((t,e)=>s.attr(t,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",e+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.nav&&this.length!==this.nav.children.length&&s.html(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),s.attr(s.children(this.nav).concat(this.list),"role","presentation");for(const t of this.navItems){const e=s.data(t,this.attrItem),i=s.$("a,button",t)||t;let n,r=null;if(s.isNumeric(e)){const o=s.toNumber(e),a=this.slides[o];a&&(a.id||(a.id=Z(this,a,`-item-${e}`)),r=a.id),n=this.t("slideX",s.toFloat(e)+1),s.attr(i,"role","tab")}else this.list&&(this.list.id||(this.list.id=Z(this,this.list,"-items")),r=this.list.id),n=this.t(e);s.attr(i,{"aria-controls":r,"aria-label":s.attr(i,"aria-label")||n})}}},{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},xe="touchstart mousedown",Q="touchmove mousemove",mt="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 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:xe,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!s.isTouch(t)&&ye(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 ye(t){return s.css(t,"userSelect")!=="none"&&s.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var ke={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 Ie(t){return Ce(s.observeResize,t,"resize")}function Ce(t,e,i){return{observe:t,handler(){this.$emit(i)},...e}}var Ae={mixins:[ke,$e,we,be],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 Ee(e.offsetWidth/t)},list({selList:t},e){return s.$(t,e)},maxIndex(){return this.length-1},slides:{get(){return s.children(this.list)},watch(){this.$emit()}},length(){return this.slides.length}},observe:Ie(),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=Te(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 Te(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Ee(t){return .5*t+300}var Ne={mixins:[Ae],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:y,Transitioner:ve},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)}}},vt={mixins:[fe,Ne],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=A("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=A("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,A("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,A("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,A("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 A(t,e){const i=s.fragment(`<${t}>`);return s.attr(i,e),i}return typeof window<"u"&&window.UIkit&&window.UIkit.component("lightboxPanel",vt),vt});
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | 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_panel",["uikit-util"],y):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitLightbox_panel=y(s.UIkit.util))})(this,function(s){"use strict";var y={slide:{show(t){return[{transform:S(t*-100)},{transform:S()}]},percent(t){return yt(t)},translate(t,e){return[{transform:S(e*-100*t)},{transform:S(e*100*(1-t))}]}}};function yt(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 _(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:_(1-.2)},{opacity:1,transform:_(1)}]},percent(t){return 1-s.css(t,"opacity")},translate(t){return[{opacity:1-t,transform:_(1-.2*t)},{opacity:t,transform:_(1-.2+.2*t)}]}}},kt={connected(){s.addClass(this.$el,this.$options.id)}},It={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&s.$(t)}}},Ct={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?Tt:Et)(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 Tt(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,L=["width","height"][d.indexOf(u)],I=`margin-${u[0]}`,M=`margin-${c}`;let E=s.dimensions(t)[L];const Se=s.Transition.inProgress(t);await s.Transition.cancel(t),e&&a(t,!0);const _e=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",I,M].map($t=>[$t,t.style[$t]])),N=s.dimensions(t),tt=s.toFloat(s.css(t,I)),bt=s.toFloat(s.css(t,M)),$=N[L]+bt;!Se&&!e&&(E+=bt);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",[L]:E});const wt=E/$;n=(r*$+n)*(e?1-wt:wt);const xt={[L]:e?$:0};w&&(s.css(t,I,$-E+tt),xt[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,xt,n,o)}finally{s.css(t,_e),s.unwrap(F.firstChild),e||a(t,!1)}}function Et(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 Nt=/\B([A-Z])/g,St=k(t=>t.replace(Nt,"-$1").toLowerCase()),z=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 Pt(t,e){var i;return(i=t==null?void 0:t.findIndex)==null?void 0:i.call(t,e)}const{isArray:W,from:Pe}=Array;function R(t){return typeof t=="function"}function P(t){return t!==null&&typeof t=="object"}function C(t){return P(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)&&P(t)&&t.nodeType}function x(t){return typeof t=="string"}function rt(t){return typeof t=="number"}function Dt(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 V(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 Ot(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 q(t,e,i){var n;if(P(e)){for(const r in e)q(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,q(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 Lt(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 Mt(t,e){return x(e)?!!O(t,e):g(e).contains(g(t))}function Ft(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?Lt(i,e):i}function Wt(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 Rt=/(^|[^\\],)\s*[!>+~-]/,Ht=k(t=>t.match(Rt)),Ut=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,jt=k(t=>t.replace(Ut,"$1 *"));function Vt(t,e=document,i){if(!t||!x(t))return t;if(t=jt(t),Ht(t)){const n=Xt(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?",":""}${Yt(o)} ${r}`)}e=document}try{return e[i](t)}catch{return null}}const qt=/.*?[^\\](?:,|$)/g,Xt=k(t=>t.match(qt).map(e=>e.replace(/,$/,"").trim()));function Yt(t){const e=[];for(;t.parentNode;){const i=q(t,"id");if(i){e.unshift(`#${Gt(i)}`);break}else{let{tagName:n}=t;n!=="HTML"&&(n+=`:nth-child(${Wt(t)+1})`),e.unshift(n),t=t.parentNode}}return e.join(" > ")}function Gt(t){return x(t)?CSS.escape(t):""}function Jt(...t){let[e,i,n,r,o=!1]=ht(t);r.length>1&&(r=Qt(r)),o!=null&&o.self&&(r=te(r)),n&&(r=Kt(n,r));for(const a of i)for(const h of e)h.addEventListener(a,r,o);return()=>Zt(e,i,r,o)}function Zt(...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]=se(t[0]),x(t[1])&&(t[1]=t[1].split(" ")),R(t[2])&&t.splice(2,0,!1),t}function Kt(t,e){return i=>{const n=t[0]===">"?at(t,i.currentTarget).reverse().filter(r=>Mt(i.target,r))[0]:O(i.target,t);n&&(i.current=n,e.call(this,i),delete i.current)}}function Qt(t){return e=>W(e.detail)?t(e,...e.detail):t(e)}function te(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 ee(t){return ct(t)?t:g(t)}function se(t){return W(t)?t.map(ee).filter(Boolean):x(t)?at(t):ct(t)?[t]:m(t)}const ie={"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=ne(e),j(i))return getComputedStyle(o).getPropertyValue(e);o.style.setProperty(e,Dt(i)&&!ie[e]?`${i}px`:i||rt(i)?i:"",n)}else if(W(e)){const a={};for(const h of e)a[h]=f(o,h);return a}else P(e)&&(n=i,ot(e,(a,h)=>f(o,h,a,n)));return r[0]}const ne=k(t=>re(t));function re(t){if(st(t,"--"))return t;t=St(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 oe(t){const e=H(t)?g(t).getBoundingClientRect():{height:he(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=oe(t);if(t){const{scrollY:r,scrollX:o}=V(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"?ae(t)[o]:r)))}function ae(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 he=lt("height"),dt=lt("width");function lt(t){const e=z(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?Ot(Y[e].map(z),n=>v(f(t,`padding${n}`))+v(f(t,`border${n}Width`))):0}function ce(t,e=!1,i=[]){const n=ut(t);let r=Ft(t).reverse();r=r.slice(r.indexOf(n)+1);const o=Pt(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>de(a).height))).reverse()}function de(t){const e=V(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${z(a)}`],o[c]=o[a]+o[l];return o}function ut(t){return V(t).document.scrollingElement}let J;function le(t){const e=Jt(t,"touchmove",n=>{if(n.targetTouches.length!==1||D(n.target,'input[type="range"'))return;let[{scrollHeight:r,clientHeight:o}]=ce(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 fe={mixins:[kt,It,Ct],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&&pe(this),this.overlay&&le(this.$el),this.bgClose&&ge(this),this.escClose&&me(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()},ue(s.css(i,"transitionDuration")))})).then(()=>delete t._reject)}function ue(t){return t?s.endsWith(t,"ms")?s.toFloat(t):s.toFloat(t)*1e3:0}function pe(t){return s.on(document,"focusin",e=>{s.last(p)===t&&!s.within(e.target,t.$el)&&t.$el.focus()})}function ge(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 me(t){return s.on(document,"keydown",e=>{e.keyCode===27&&s.last(p)===t&&t.hide()})}function ve(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 T=w?"linear":r;return d-=Math.round(d*s.clamp(u,-1,1)),this.translate(u),B(e,"itemin",{percent:u,duration:d,timing:T,dir:i}),B(t,"itemout",{percent:1-u,duration:d,timing:T,dir:i}),Promise.all([s.Transition.start(e,l[1],d,T),s.Transition.start(t,l[0],d,T)]).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]),B(e,"itemtranslatein",{percent:d,dir:i}),B(t,"itemtranslateout",{percent:1-d,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function B(t,e,i){s.trigger(t,s.createEvent(e,!1,!1,i))}var be={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 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 we={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav:{get({selNav:t},e){return s.$(t,e)},watch(t,e){s.attr(t,"role","tablist"),e&&this.$emit()},immediate:!0},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems:{get(t,e){return s.$$(this.selNavItem,e)},watch(){this.$emit()}}},connected(){s.attr(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.slides.forEach((t,e)=>s.attr(t,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",e+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.nav&&this.length!==this.nav.children.length&&s.html(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),s.attr(s.children(this.nav).concat(this.list),"role","presentation");for(const t of this.navItems){const e=s.data(t,this.attrItem),i=s.$("a,button",t)||t;let n,r=null;if(s.isNumeric(e)){const o=s.toNumber(e),a=this.slides[o];a&&(a.id||(a.id=Z(this,a,`-item-${e}`)),r=a.id),n=this.t("slideX",s.toFloat(e)+1),s.attr(i,"role","tab")}else this.list&&(this.list.id||(this.list.id=Z(this,this.list,"-items")),r=this.list.id),n=this.t(e);s.attr(i,{"aria-controls":r,"aria-label":s.attr(i,"aria-label")||n})}}},{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},xe="touchstart mousedown",Q="touchmove mousemove",mt="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 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:xe,passive:!0,delegate(){return`${this.selList} > *`},handler(t){!this.draggable||!s.isTouch(t)&&ye(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 ye(t){return s.css(t,"userSelect")!=="none"&&s.toNodes(t.childNodes).some(e=>e.nodeType===3&&e.textContent.trim())}var ke={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 Ie(t){return Ce(s.observeResize,t,"resize")}function Ce(t,e,i){return{observe:t,handler(){this.$emit(i)},...e}}var Ae={mixins:[ke,$e,we,be],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 Ee(e.offsetWidth/t)},list({selList:t},e){return s.$(t,e)},maxIndex(){return this.length-1},slides:{get(){return s.children(this.list)},watch(){this.$emit()}},length(){return this.slides.length}},observe:Ie(),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=Te(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 Te(t,e){return t==="next"?1:t==="previous"||t<e?-1:1}function Ee(t){return .5*t+300}var Ne={mixins:[Ae],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:y,Transitioner:ve},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)}}},vt={mixins:[fe,Ne],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=A("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=A("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,A("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,A("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,A("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 A(t,e){const i=s.fragment(`<${t}>`);return s.attr(i,e),i}return typeof window<"u"&&window.UIkit&&window.UIkit.component("lightboxPanel",vt),vt});
@@ -1,4 +1,4 @@
1
- /*! UIkit 3.16.8 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | 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.8 | 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,L=["width","height"][d.indexOf(u)],I=`margin-${u[0]}`,M=`margin-${c}`;let E=s.dimensions(t)[L];const Oe=s.Transition.inProgress(t);await s.Transition.cancel(t),e&&a(t,!0);const Be=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[L]+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",[L]:E});const xt=E/$;n=(r*$+n)*(e?1-xt:xt);const $t={[L]: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,Be),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:Le}=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 j(t)===9}function nt(t){return j(t)>=1}function H(t){return j(t)===1}function j(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 U(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 Bt(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(U(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?Lt(r,e):r.setAttribute(e,i)}function Lt(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*[!>+~-]/,jt=k(t=>t.match(Ht)),Ut=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,qt=k(t=>t.replace(Ut,"$1 *"));function Vt(t,e=document,i){if(!t||!x(t))return t;if(t=qt(t),jt(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),U(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(U(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?Bt(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),B(e,"itemin",{percent:u,duration:d,timing:A,dir:i}),B(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]),B(e,"itemtranslatein",{percent:d,dir:i}),B(t,"itemtranslateout",{percent:1-d,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function B(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:{get({selNav:t},e){return s.$(t,e)},watch(t,e){s.attr(t,"role","tablist"),e&&this.$emit()},immediate:!0},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems:{get(t,e){return s.$$(this.selNavItem,e)},watch(){this.$emit()}}},connected(){s.attr(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.slides.forEach((t,e)=>s.attr(t,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",e+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.nav&&this.length!==this.nav.children.length&&s.html(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),s.attr(s.children(this.nav).concat(this.list),"role","presentation");for(const t of this.navItems){const e=s.data(t,this.attrItem),i=s.$("a,button",t)||t;let n,r=null;if(s.isNumeric(e)){const o=s.toNumber(e),a=this.slides[o];a&&(a.id||(a.id=Z(this,a,`-item-${e}`)),r=a.id),n=this.t("slideX",s.toFloat(e)+1),s.attr(i,"role","tab")}else this.list&&(this.list.id||(this.list.id=Z(this,this.list,"-items")),r=this.list.id),n=this.t(e);s.attr(i,{"aria-controls":r,"aria-label":s.attr(i,"aria-label")||n})}}},{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:{get(){return s.children(this.list)},watch(){this.$emit()}},length(){return this.slides.length}},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:{get({toggle:t},e){return s.$$(t,e)},watch(t){this.hide();for(const e of t)s.isTag(e,"a")&&s.attr(e,"role","button")},immediate:!0}},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
+ /*! UIkit 3.16.9-dev.fbb40b01e | 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,L=["width","height"][d.indexOf(u)],I=`margin-${u[0]}`,M=`margin-${c}`;let E=s.dimensions(t)[L];const Oe=s.Transition.inProgress(t);await s.Transition.cancel(t),e&&a(t,!0);const Be=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[L]+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",[L]:E});const xt=E/$;n=(r*$+n)*(e?1-xt:xt);const $t={[L]: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,Be),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:Le}=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 j(t)===9}function nt(t){return j(t)>=1}function H(t){return j(t)===1}function j(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 U(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 Bt(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(U(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?Lt(r,e):r.setAttribute(e,i)}function Lt(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*[!>+~-]/,jt=k(t=>t.match(Ht)),Ut=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,qt=k(t=>t.replace(Ut,"$1 *"));function Vt(t,e=document,i){if(!t||!x(t))return t;if(t=qt(t),jt(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),U(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(U(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?Bt(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),B(e,"itemin",{percent:u,duration:d,timing:A,dir:i}),B(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]),B(e,"itemtranslatein",{percent:d,dir:i}),B(t,"itemtranslateout",{percent:1-d,dir:i})},percent(){return o(t||e,e,i)},getDistance(){return t==null?void 0:t.offsetWidth}}}function B(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:{get({selNav:t},e){return s.$(t,e)},watch(t,e){s.attr(t,"role","tablist"),e&&this.$emit()},immediate:!0},selNavItem({attrItem:t}){return`[${t}],[data-${t}]`},navItems:{get(t,e){return s.$$(this.selNavItem,e)},watch(){this.$emit()}}},connected(){s.attr(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.slides.forEach((t,e)=>s.attr(t,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",e+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.nav&&this.length!==this.nav.children.length&&s.html(this.nav,this.slides.map((t,e)=>`<li ${this.attrItem}="${e}"><a href></a></li>`).join("")),s.attr(s.children(this.nav).concat(this.list),"role","presentation");for(const t of this.navItems){const e=s.data(t,this.attrItem),i=s.$("a,button",t)||t;let n,r=null;if(s.isNumeric(e)){const o=s.toNumber(e),a=this.slides[o];a&&(a.id||(a.id=Z(this,a,`-item-${e}`)),r=a.id),n=this.t("slideX",s.toFloat(e)+1),s.attr(i,"role","tab")}else this.list&&(this.list.id||(this.list.id=Z(this,this.list,"-items")),r=this.list.id),n=this.t(e);s.attr(i,{"aria-controls":r,"aria-label":s.attr(i,"aria-label")||n})}}},{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:{get(){return s.children(this.list)},watch(){this.$emit()}},length(){return this.slides.length}},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:{get({toggle:t},e){return s.$$(t,e)},watch(t){this.hide();for(const e of t)s.isTag(e,"a")&&s.attr(e,"role","button")},immediate:!0}},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.8 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | 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.8 | 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.9-dev.fbb40b01e | 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.8 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | 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.8 | 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.9-dev.fbb40b01e | 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.8 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | 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.8 | 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.9-dev.fbb40b01e | 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.8 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */
1
+ /*! UIkit 3.16.9-dev.fbb40b01e | 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')) :