uikit 3.16.5 → 3.16.6-dev.64eba8a3c
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.
- package/CHANGELOG.md +7 -0
- package/build/scss.js +1 -1
- package/dist/css/uikit-core-rtl.css +1 -1
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +1 -1
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +1 -1
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +1 -1
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +1 -1
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +1 -1
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +3 -3
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +3 -3
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +1 -1
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +1 -1
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +1 -1
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +3 -3
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +1 -1
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +3 -3
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +1 -1
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +3 -3
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +1 -1
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +3 -3
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +1 -1
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +3 -3
- package/dist/js/uikit.min.js +1 -1
- package/package.json +1 -1
- package/src/js/api/component.js +1 -1
- package/src/scss/mixins-theme.scss +1635 -1679
- package/src/scss/mixins.scss +1357 -1357
- package/src/scss/variables-theme.scss +1258 -1258
- package/src/scss/variables.scss +1134 -1134
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! UIkit 3.16.5 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,v){typeof exports=="object"&&typeof module<"u"?module.exports=v(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitsortable",["uikit-util"],v):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSortable=v(s.UIkit.util))})(this,function(s){"use strict";const v=/\B([A-Z])/g,ie=y(e=>e.replace(v,"-$1").toLowerCase()),B=y(e=>e.charAt(0).toUpperCase()+e.slice(1));function D(e,n){var t;return(t=e==null?void 0:e.startsWith)==null?void 0:t.call(e,n)}const{isArray:E,from:cn}=Array;function N(e){return typeof e=="function"}function x(e){return e!==null&&typeof e=="object"}function L(e){return x(e)&&e===e.window}function fe(e){return z(e)===9}function M(e){return z(e)>=1}function he(e){return z(e)===1}function z(e){return!L(e)&&x(e)&&e.nodeType}function b(e){return typeof e=="string"}function O(e){return typeof e=="number"}function de(e){return O(e)||b(e)&&!isNaN(e-parseFloat(e))}function A(e){return e===void 0}function S(e){return parseFloat(e)||0}function g(e){return p(e)[0]}function p(e){return M(e)?[e]:Array.from(e||[]).filter(M)}function ue(e,n){for(const t in e)if(n(e[t],t)===!1)return!1;return!0}function le(e,n){return e.reduce((t,o)=>t+S(N(n)?n(o):o[n]),0)}function H(){}function y(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}function I(e,n,t){var o;if(x(n)){for(const r in n)I(e,r,n[r]);return}if(A(t))return(o=g(e))==null?void 0:o.getAttribute(n);for(const r of p(e))N(t)&&(t=t.call(r,I(r,n))),t===null?pe(r,n):r.setAttribute(n,t)}function pe(e,n){p(e).forEach(t=>t.removeAttribute(n))}function V(e){var n;return(n=g(e))==null?void 0:n.parentElement}function me(e,n){return p(e).filter(t=>W(t,n))}function W(e,n){return p(e).some(t=>t.matches(n))}function T(e,n){return he(e)?e.closest(D(n,">")?n.slice(1):n):p(e).map(t=>T(t,n)).filter(Boolean)}function ge(e,n){return b(n)?!!T(e,n):g(n).contains(g(e))}function be(e,n){e=g(e);const t=e?p(e.children):[];return n?me(t,n):t}function we(e,n){return n?p(e).indexOf(g(n)):be(V(e)).indexOf(e)}function q(e,n){return p(Se(e,g(n),"querySelectorAll"))}const ye=/(^|[^\\],)\s*[!>+~-]/,ve=y(e=>e.match(ye)),Ce=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,xe=y(e=>e.replace(Ce,"$1 *"));function Se(e,n=document,t){if(!e||!b(e))return e;if(e=xe(e),ve(e)){const o=$e(e);e="";for(let r of o){let c=n;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(c=T(V(n),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&o.length===1)return c}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),i=(c||n).previousElementSibling;c=W(i,r.substr(1))?i:null,r=a.slice(1).join(" ")}c&&(e+=`${e?",":""}${Pe(c)} ${r}`)}n=document}try{return n[t](e)}catch{return null}}const Te=/.*?[^\\](?:,|$)/g,$e=y(e=>e.match(Te).map(n=>n.replace(/,$/,"").trim()));function Pe(e){const n=[];for(;e.parentNode;){const t=I(e,"id");if(t){n.unshift(`#${Ee(t)}`);break}else{let{tagName:o}=e;o!=="HTML"&&(o+=`:nth-child(${we(e)+1})`),n.unshift(o),e=e.parentNode}}return n.join(" > ")}function Ee(e){return b(e)?CSS.escape(e):""}function j(...e){let[n,t,o,r,c=!1]=_(e);r.length>1&&(r=Ae(r)),c!=null&&c.self&&(r=Ie(r)),o&&(r=ze(o,r));for(const a of t)for(const i of n)i.addEventListener(a,r,c);return()=>Ne(n,t,r,c)}function Ne(...e){let[n,t,,o,r=!1]=_(e);for(const c of t)for(const a of n)a.removeEventListener(c,o,r)}function _(e){return e[0]=Fe(e[0]),b(e[1])&&(e[1]=e[1].split(" ")),N(e[2])&&e.splice(2,0,!1),e}function ze(e,n){return t=>{const o=e[0]===">"?q(e,t.currentTarget).reverse().filter(r=>ge(t.target,r))[0]:T(t.target,e);o&&(t.current=o,n.call(this,t),delete t.current)}}function Ae(e){return n=>E(n.detail)?e(n,...n.detail):e(n)}function Ie(e){return function(n){if(n.target===n.currentTarget||n.target===n.current)return e.call(null,n)}}function Z(e){return e&&"addEventListener"in e}function Re(e){return Z(e)?e:g(e)}function Fe(e){return E(e)?e.map(Re).filter(Boolean):b(e)?q(e):Z(e)?[e]:p(e)}const Be={"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 w(e,n,t,o){const r=p(e);for(const c of r)if(b(n)){if(n=De(n),A(t))return getComputedStyle(c).getPropertyValue(n);c.style.setProperty(n,de(t)&&!Be[n]?`${t}px`:t||O(t)?t:"",o)}else if(E(n)){const a={};for(const i of n)a[i]=w(c,i);return a}else x(n)&&(o=t,ue(n,(a,i)=>w(c,i,a,o)));return r[0]}const De=y(e=>Le(e));function Le(e){if(D(e,"--"))return e;e=ie(e);const{style:n}=document.documentElement;if(e in n)return e;for(const t of["webkit","moz"]){const o=`-${t}-${e}`;if(o in n)return o}}const Me={width:["left","right"],height:["top","bottom"]};G("height"),G("width");function G(e){const n=B(e);return(t,o)=>{if(A(o)){if(L(t))return t[`inner${n}`];if(fe(t)){const r=t.documentElement;return Math.max(r[`offset${n}`],r[`scroll${n}`])}return t=g(t),o=w(t,e),o=o==="auto"?t[`offset${n}`]:S(o)||0,o-J(t,e)}else return w(t,e,!o&&o!==0?"":+o+J(t,e)+"px")}}function J(e,n,t="border-box"){return w(e,"boxSizing")===t?le(Me[n].map(B),o=>S(w(e,`padding${o}`))+S(w(e,`border${o}Width`))):0}const Oe=typeof window<"u"&&window.ResizeObserver;function He(e,n,t={box:"border-box"}){return Oe?K(ResizeObserver,e,n,t):(Ve(),C.add(n),{observe:H,unobserve:H,disconnect(){C.delete(n)}})}let C;function Ve(){if(C)return;C=new Set;let e;const n=()=>{if(!e){e=!0,requestAnimationFrame(()=>e=!1);for(const t of C)t()}};j(window,"load resize",n),j(document,"loadedmetadata load",n,!0)}function We(e,n,t){return K(MutationObserver,e,n,t)}function K(e,n,t,o){const r=new e(t);for(const c of p(n))r.observe(c,o);return r}function qe(e){return Q(He,e,"resize")}function je(e){return Q(We,e)}function Q(e,n,t){return{observe:e,handler(){this.$emit(t)},...n}}je({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),qe({target:({$el:e})=>[e,...s.toArray(e.children)]});function X(e){return Y(e,"top","bottom")}function _e(e){const n=[];for(const t of e){const o=Y(t,"left","right");for(let r=0;r<o.length;r++)n[r]=n[r]?n[r].concat(o[r]):o[r]}return s.isRtl?n.reverse():n}function Y(e,n,t){const o=[[]];for(const r of e){if(!s.isVisible(r))continue;let c=$(r);for(let a=o.length-1;a>=0;a--){const i=o[a];if(!i[0]){i.push(r);break}let f;if(i[0].offsetParent===r.offsetParent?f=$(i[0]):(c=$(r,!0),f=$(i[0],!0)),c[n]>=f[t]-1&&c[n]!==f[n]){o.push([r]);break}if(c[t]-1>f[n]||c[n]===f[n]){i.push(r);break}if(a===0){o.unshift([r]);break}}}return o}function $(e,n=!1){let{offsetTop:t,offsetLeft:o,offsetHeight:r,offsetWidth:c}=e;return n&&([t,o]=s.offsetPosition(e)),{top:t,left:o,bottom:t+r,right:o+c}}const R="uk-transition-leave",F="uk-transition-enter";function k(e,n,t,o=0){const r=P(n,!0),c={opacity:1},a={opacity:0},i=d=>()=>r===P(n)?d():Promise.reject(),f=i(async()=>{s.addClass(n,R),await Promise.all(ee(n).map((d,m)=>new Promise(h=>setTimeout(()=>s.Transition.start(d,a,t/2,"ease").then(h),m*o)))),s.removeClass(n,R)}),u=i(async()=>{const d=s.height(n);s.addClass(n,F),e(),s.css(s.children(n),{opacity:0}),await Ze();const m=s.children(n),h=s.height(n);s.css(n,"alignContent","flex-start"),s.height(n,d);const l=ee(n);s.css(m,a);const ae=l.map(async(on,rn)=>{await Ge(rn*o),await s.Transition.start(on,c,t/2,"ease")});d!==h&&ae.push(s.Transition.start(n,{height:h},t/2+l.length*o,"ease")),await Promise.all(ae).then(()=>{s.removeClass(n,F),r===P(n)&&(s.css(n,{height:"",alignContent:""}),s.css(m,{opacity:""}),delete n.dataset.transition)})});return s.hasClass(n,R)?U(n).then(u):s.hasClass(n,F)?U(n).then(f).then(u):f().then(u)}function P(e,n){return n&&(e.dataset.transition=1+P(e)),s.toNumber(e.dataset.transition)||0}function U(e){return Promise.all(s.children(e).filter(s.Transition.inProgress).map(n=>new Promise(t=>s.once(n,"transitionend transitioncanceled",t))))}function ee(e){return X(s.children(e)).reduce((n,t)=>n.concat(s.sortBy(t.filter(o=>s.isInView(o)),"offsetLeft")),[])}function Ze(){return new Promise(e=>requestAnimationFrame(e))}function Ge(e){return new Promise(n=>setTimeout(n,e))}async function Je(e,n,t){await se();let o=s.children(n);const r=o.map(h=>ne(h,!0)),c={...s.css(n,["height","padding"]),display:"block"};await Promise.all(o.concat(n).map(s.Transition.cancel)),e(),o=o.concat(s.children(n).filter(h=>!s.includes(o,h))),await Promise.resolve(),s.fastdom.flush();const a=s.attr(n,"style"),i=s.css(n,["height","padding"]),[f,u]=Ke(n,o,r),d=o.map(h=>({style:s.attr(h,"style")}));o.forEach((h,l)=>u[l]&&s.css(h,u[l])),s.css(n,c),s.trigger(n,"scroll"),s.fastdom.flush(),await se();const m=o.map((h,l)=>s.parent(h)===n&&s.Transition.start(h,f[l],t,"ease")).concat(s.Transition.start(n,i,t,"ease"));try{await Promise.all(m),o.forEach((h,l)=>{s.attr(h,d[l]),s.parent(h)===n&&s.css(h,"display",f[l].opacity===0?"none":"")}),s.attr(n,"style",a)}catch{s.attr(o,"style",""),Qe(n,c)}}function ne(e,n){const t=s.css(e,"zIndex");return s.isVisible(e)?{display:"",opacity:n?s.css(e,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:t==="auto"?s.index(e):t,...te(e)}:!1}function Ke(e,n,t){const o=n.map((c,a)=>s.parent(c)&&a in t?t[a]?s.isVisible(c)?te(c):{opacity:0}:{opacity:s.isVisible(c)?1:0}:!1),r=o.map((c,a)=>{const i=s.parent(n[a])===e&&(t[a]||ne(n[a]));if(!i)return!1;if(!c)delete i.opacity;else if(!("opacity"in c)){const{opacity:f}=i;f%1?c.opacity=1:delete i.opacity}return i});return[o,r]}function Qe(e,n){for(const t in n)s.css(e,t,"")}function te(e){const{height:n,width:t}=s.offset(e);return{height:n,width:t,transform:"",...s.position(e),...s.css(e,["marginTop","marginLeft"])}}function se(){return new Promise(e=>requestAnimationFrame(e))}var Xe={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(e,n=this.$el){const t=this.animation;return(t==="fade"?k:t==="delayed-fade"?(...r)=>k(...r,40):t?Je:()=>(e(),Promise.resolve()))(e,n,this.duration).catch(s.noop)}}},Ye={connected(){s.addClass(this.$el,this.$options.id)}},oe={mixins:[Ye,Xe],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const e of["init","start","move","end"]){const n=this[e];this[e]=t=>{s.assign(this.pos,s.getEventPos(t)),n(t)}}},events:{name:s.pointerDown,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return s.children(this.target)},isEmpty:{get(){return s.isEmpty(this.items)},watch(e){s.toggleClass(this.target,this.clsEmpty,e)},immediate:!0},handles:{get({handle:e},n){return e?s.$$(e,n):this.items},watch(e,n){s.css(n,{touchAction:"",userSelect:""}),s.css(e,{touchAction:s.hasTouch?"none":"",userSelect:"none"})},immediate:!0}},update:{write(e){if(!this.drag||!s.parent(this.placeholder))return;const{pos:{x:n,y:t},origin:{offsetTop:o,offsetLeft:r},placeholder:c}=this;s.css(this.drag,{top:t-o,left:n-r});const a=this.getSortable(document.elementFromPoint(n,t));if(!a)return;const{items:i}=a;if(i.some(s.Transition.inProgress))return;const f=nn(i,{x:n,y:t});if(i.length&&(!f||f===c))return;const u=this.getSortable(c),d=tn(a.target,f,c,n,t,a===u&&e.moved!==f);d!==!1&&(d&&c===d||(a!==u?(u.remove(c),e.moved=f):delete e.moved,a.insert(c,d),this.touched.add(a)))},events:["move"]},methods:{init(e){const{target:n,button:t,defaultPrevented:o}=e,[r]=this.items.filter(c=>s.within(n,c));!r||o||t>0||s.isInput(n)||s.within(n,`.${this.clsNoDrag}`)||this.handle&&!s.within(n,this.handle)||(e.preventDefault(),this.touched=new Set([this]),this.placeholder=r,this.origin={target:n,index:s.index(r),...this.pos},s.on(document,s.pointerMove,this.move),s.on(document,s.pointerUp,this.end),this.threshold||this.start(e))},start(e){this.drag=en(this.$container,this.placeholder);const{left:n,top:t}=this.placeholder.getBoundingClientRect();s.assign(this.origin,{offsetLeft:this.pos.x-n,offsetTop:this.pos.y-t}),s.addClass(this.drag,this.clsDrag,this.clsCustom),s.addClass(this.placeholder,this.clsPlaceholder),s.addClass(this.items,this.clsItem),s.addClass(document.documentElement,this.clsDragState),s.trigger(this.$el,"start",[this,this.placeholder]),ke(this.pos),this.move(e)},move(e){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(e)},end(){if(s.off(document,s.pointerMove,this.move),s.off(document,s.pointerUp,this.end),!this.drag)return;Ue();const e=this.getSortable(this.placeholder);this===e?this.origin.index!==s.index(this.placeholder)&&s.trigger(this.$el,"moved",[this,this.placeholder]):(s.trigger(e.$el,"added",[e,this.placeholder]),s.trigger(this.$el,"removed",[this,this.placeholder])),s.trigger(this.$el,"stop",[this,this.placeholder]),s.remove(this.drag),this.drag=null;for(const{clsPlaceholder:n,clsItem:t}of this.touched)for(const o of this.touched)s.removeClass(o.items,n,t);this.touched=null,s.removeClass(document.documentElement,this.clsDragState)},insert(e,n){s.addClass(this.items,this.clsItem);const t=()=>n?s.before(n,e):s.append(this.target,e);this.animate(t)},remove(e){s.within(e,this.target)&&this.animate(()=>s.remove(e))},getSortable(e){do{const n=this.$getComponent(e,"sortable");if(n&&(n===this||this.group!==!1&&n.group===this.group))return n}while(e=s.parent(e))}}};let re;function ke(e){let n=Date.now();re=setInterval(()=>{let{x:t,y:o}=e;o+=document.scrollingElement.scrollTop;const r=(Date.now()-n)*.3;n=Date.now(),s.scrollParents(document.elementFromPoint(t,e.y)).reverse().some(c=>{let{scrollTop:a,scrollHeight:i}=c;const{top:f,bottom:u,height:d}=s.offsetViewport(c);if(f<o&&f+35>o)a-=r;else if(u>o&&u-35<o)a+=r;else return;if(a>0&&a<i-d)return c.scrollTop=a,!0})},15)}function Ue(){clearInterval(re)}function en(e,n){let t;if(s.isTag(n,"li","tr")){t=s.$("<div>"),s.append(t,n.cloneNode(!0).children);for(const o of n.getAttributeNames())s.attr(t,o,n.getAttribute(o))}else t=n.cloneNode(!0);return s.append(e,t),s.css(t,"margin","0","important"),s.css(t,{boxSizing:"border-box",width:n.offsetWidth,height:n.offsetHeight,padding:s.css(n,"padding")}),s.height(t.firstElementChild,s.height(n.firstElementChild)),t}function nn(e,n){return e[s.findIndex(e,t=>s.pointInRect(n,t.getBoundingClientRect()))]}function tn(e,n,t,o,r,c){if(!s.children(e).length)return;const a=n.getBoundingClientRect();if(!c)return sn(e,t)||r<a.top+a.height/2?n:n.nextElementSibling;const i=t.getBoundingClientRect(),f=ce([a.top,a.bottom],[i.top,i.bottom]),[u,d,m,h]=f?[o,"width","left","right"]:[r,"height","top","bottom"],l=i[d]<a[d]?a[d]-i[d]:0;return i[m]<a[m]?l&&u<a[m]+l?!1:n.nextElementSibling:l&&u>a[h]-l?!1:n}function sn(e,n){const t=s.children(e).length===1;t&&s.append(e,n);const o=s.children(e),r=o.some((c,a)=>{const i=c.getBoundingClientRect();return o.slice(a+1).some(f=>{const u=f.getBoundingClientRect();return!ce([i.left,i.right],[u.left,u.right])})});return t&&s.remove(n),r}function ce(e,n){return e[1]>n[0]&&n[1]>e[0]}return typeof window<"u"&&window.UIkit&&window.UIkit.component("sortable",oe),oe});
|
|
1
|
+
/*! UIkit 3.16.6-dev.64eba8a3c | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(s,v){typeof exports=="object"&&typeof module<"u"?module.exports=v(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitsortable",["uikit-util"],v):(s=typeof globalThis<"u"?globalThis:s||self,s.UIkitSortable=v(s.UIkit.util))})(this,function(s){"use strict";const v=/\B([A-Z])/g,ie=y(e=>e.replace(v,"-$1").toLowerCase()),B=y(e=>e.charAt(0).toUpperCase()+e.slice(1));function D(e,n){var t;return(t=e==null?void 0:e.startsWith)==null?void 0:t.call(e,n)}const{isArray:E,from:cn}=Array;function N(e){return typeof e=="function"}function x(e){return e!==null&&typeof e=="object"}function L(e){return x(e)&&e===e.window}function fe(e){return z(e)===9}function M(e){return z(e)>=1}function he(e){return z(e)===1}function z(e){return!L(e)&&x(e)&&e.nodeType}function b(e){return typeof e=="string"}function O(e){return typeof e=="number"}function de(e){return O(e)||b(e)&&!isNaN(e-parseFloat(e))}function A(e){return e===void 0}function S(e){return parseFloat(e)||0}function g(e){return p(e)[0]}function p(e){return M(e)?[e]:Array.from(e||[]).filter(M)}function ue(e,n){for(const t in e)if(n(e[t],t)===!1)return!1;return!0}function le(e,n){return e.reduce((t,o)=>t+S(N(n)?n(o):o[n]),0)}function H(){}function y(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}function I(e,n,t){var o;if(x(n)){for(const r in n)I(e,r,n[r]);return}if(A(t))return(o=g(e))==null?void 0:o.getAttribute(n);for(const r of p(e))N(t)&&(t=t.call(r,I(r,n))),t===null?pe(r,n):r.setAttribute(n,t)}function pe(e,n){p(e).forEach(t=>t.removeAttribute(n))}function V(e){var n;return(n=g(e))==null?void 0:n.parentElement}function me(e,n){return p(e).filter(t=>W(t,n))}function W(e,n){return p(e).some(t=>t.matches(n))}function T(e,n){return he(e)?e.closest(D(n,">")?n.slice(1):n):p(e).map(t=>T(t,n)).filter(Boolean)}function ge(e,n){return b(n)?!!T(e,n):g(n).contains(g(e))}function be(e,n){e=g(e);const t=e?p(e.children):[];return n?me(t,n):t}function we(e,n){return n?p(e).indexOf(g(n)):be(V(e)).indexOf(e)}function q(e,n){return p(Se(e,g(n),"querySelectorAll"))}const ye=/(^|[^\\],)\s*[!>+~-]/,ve=y(e=>e.match(ye)),Ce=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,xe=y(e=>e.replace(Ce,"$1 *"));function Se(e,n=document,t){if(!e||!b(e))return e;if(e=xe(e),ve(e)){const o=$e(e);e="";for(let r of o){let c=n;if(r[0]==="!"){const a=r.substr(1).trim().split(" ");if(c=T(V(n),a[0]),r=a.slice(1).join(" ").trim(),!r.length&&o.length===1)return c}if(r[0]==="-"){const a=r.substr(1).trim().split(" "),i=(c||n).previousElementSibling;c=W(i,r.substr(1))?i:null,r=a.slice(1).join(" ")}c&&(e+=`${e?",":""}${Pe(c)} ${r}`)}n=document}try{return n[t](e)}catch{return null}}const Te=/.*?[^\\](?:,|$)/g,$e=y(e=>e.match(Te).map(n=>n.replace(/,$/,"").trim()));function Pe(e){const n=[];for(;e.parentNode;){const t=I(e,"id");if(t){n.unshift(`#${Ee(t)}`);break}else{let{tagName:o}=e;o!=="HTML"&&(o+=`:nth-child(${we(e)+1})`),n.unshift(o),e=e.parentNode}}return n.join(" > ")}function Ee(e){return b(e)?CSS.escape(e):""}function j(...e){let[n,t,o,r,c=!1]=_(e);r.length>1&&(r=Ae(r)),c!=null&&c.self&&(r=Ie(r)),o&&(r=ze(o,r));for(const a of t)for(const i of n)i.addEventListener(a,r,c);return()=>Ne(n,t,r,c)}function Ne(...e){let[n,t,,o,r=!1]=_(e);for(const c of t)for(const a of n)a.removeEventListener(c,o,r)}function _(e){return e[0]=Fe(e[0]),b(e[1])&&(e[1]=e[1].split(" ")),N(e[2])&&e.splice(2,0,!1),e}function ze(e,n){return t=>{const o=e[0]===">"?q(e,t.currentTarget).reverse().filter(r=>ge(t.target,r))[0]:T(t.target,e);o&&(t.current=o,n.call(this,t),delete t.current)}}function Ae(e){return n=>E(n.detail)?e(n,...n.detail):e(n)}function Ie(e){return function(n){if(n.target===n.currentTarget||n.target===n.current)return e.call(null,n)}}function Z(e){return e&&"addEventListener"in e}function Re(e){return Z(e)?e:g(e)}function Fe(e){return E(e)?e.map(Re).filter(Boolean):b(e)?q(e):Z(e)?[e]:p(e)}const Be={"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 w(e,n,t,o){const r=p(e);for(const c of r)if(b(n)){if(n=De(n),A(t))return getComputedStyle(c).getPropertyValue(n);c.style.setProperty(n,de(t)&&!Be[n]?`${t}px`:t||O(t)?t:"",o)}else if(E(n)){const a={};for(const i of n)a[i]=w(c,i);return a}else x(n)&&(o=t,ue(n,(a,i)=>w(c,i,a,o)));return r[0]}const De=y(e=>Le(e));function Le(e){if(D(e,"--"))return e;e=ie(e);const{style:n}=document.documentElement;if(e in n)return e;for(const t of["webkit","moz"]){const o=`-${t}-${e}`;if(o in n)return o}}const Me={width:["left","right"],height:["top","bottom"]};G("height"),G("width");function G(e){const n=B(e);return(t,o)=>{if(A(o)){if(L(t))return t[`inner${n}`];if(fe(t)){const r=t.documentElement;return Math.max(r[`offset${n}`],r[`scroll${n}`])}return t=g(t),o=w(t,e),o=o==="auto"?t[`offset${n}`]:S(o)||0,o-J(t,e)}else return w(t,e,!o&&o!==0?"":+o+J(t,e)+"px")}}function J(e,n,t="border-box"){return w(e,"boxSizing")===t?le(Me[n].map(B),o=>S(w(e,`padding${o}`))+S(w(e,`border${o}Width`))):0}const Oe=typeof window<"u"&&window.ResizeObserver;function He(e,n,t={box:"border-box"}){return Oe?K(ResizeObserver,e,n,t):(Ve(),C.add(n),{observe:H,unobserve:H,disconnect(){C.delete(n)}})}let C;function Ve(){if(C)return;C=new Set;let e;const n=()=>{if(!e){e=!0,requestAnimationFrame(()=>e=!1);for(const t of C)t()}};j(window,"load resize",n),j(document,"loadedmetadata load",n,!0)}function We(e,n,t){return K(MutationObserver,e,n,t)}function K(e,n,t,o){const r=new e(t);for(const c of p(n))r.observe(c,o);return r}function qe(e){return Q(He,e,"resize")}function je(e){return Q(We,e)}function Q(e,n,t){return{observe:e,handler(){this.$emit(t)},...n}}je({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),qe({target:({$el:e})=>[e,...s.toArray(e.children)]});function X(e){return Y(e,"top","bottom")}function _e(e){const n=[];for(const t of e){const o=Y(t,"left","right");for(let r=0;r<o.length;r++)n[r]=n[r]?n[r].concat(o[r]):o[r]}return s.isRtl?n.reverse():n}function Y(e,n,t){const o=[[]];for(const r of e){if(!s.isVisible(r))continue;let c=$(r);for(let a=o.length-1;a>=0;a--){const i=o[a];if(!i[0]){i.push(r);break}let f;if(i[0].offsetParent===r.offsetParent?f=$(i[0]):(c=$(r,!0),f=$(i[0],!0)),c[n]>=f[t]-1&&c[n]!==f[n]){o.push([r]);break}if(c[t]-1>f[n]||c[n]===f[n]){i.push(r);break}if(a===0){o.unshift([r]);break}}}return o}function $(e,n=!1){let{offsetTop:t,offsetLeft:o,offsetHeight:r,offsetWidth:c}=e;return n&&([t,o]=s.offsetPosition(e)),{top:t,left:o,bottom:t+r,right:o+c}}const R="uk-transition-leave",F="uk-transition-enter";function k(e,n,t,o=0){const r=P(n,!0),c={opacity:1},a={opacity:0},i=d=>()=>r===P(n)?d():Promise.reject(),f=i(async()=>{s.addClass(n,R),await Promise.all(ee(n).map((d,m)=>new Promise(h=>setTimeout(()=>s.Transition.start(d,a,t/2,"ease").then(h),m*o)))),s.removeClass(n,R)}),u=i(async()=>{const d=s.height(n);s.addClass(n,F),e(),s.css(s.children(n),{opacity:0}),await Ze();const m=s.children(n),h=s.height(n);s.css(n,"alignContent","flex-start"),s.height(n,d);const l=ee(n);s.css(m,a);const ae=l.map(async(on,rn)=>{await Ge(rn*o),await s.Transition.start(on,c,t/2,"ease")});d!==h&&ae.push(s.Transition.start(n,{height:h},t/2+l.length*o,"ease")),await Promise.all(ae).then(()=>{s.removeClass(n,F),r===P(n)&&(s.css(n,{height:"",alignContent:""}),s.css(m,{opacity:""}),delete n.dataset.transition)})});return s.hasClass(n,R)?U(n).then(u):s.hasClass(n,F)?U(n).then(f).then(u):f().then(u)}function P(e,n){return n&&(e.dataset.transition=1+P(e)),s.toNumber(e.dataset.transition)||0}function U(e){return Promise.all(s.children(e).filter(s.Transition.inProgress).map(n=>new Promise(t=>s.once(n,"transitionend transitioncanceled",t))))}function ee(e){return X(s.children(e)).reduce((n,t)=>n.concat(s.sortBy(t.filter(o=>s.isInView(o)),"offsetLeft")),[])}function Ze(){return new Promise(e=>requestAnimationFrame(e))}function Ge(e){return new Promise(n=>setTimeout(n,e))}async function Je(e,n,t){await se();let o=s.children(n);const r=o.map(h=>ne(h,!0)),c={...s.css(n,["height","padding"]),display:"block"};await Promise.all(o.concat(n).map(s.Transition.cancel)),e(),o=o.concat(s.children(n).filter(h=>!s.includes(o,h))),await Promise.resolve(),s.fastdom.flush();const a=s.attr(n,"style"),i=s.css(n,["height","padding"]),[f,u]=Ke(n,o,r),d=o.map(h=>({style:s.attr(h,"style")}));o.forEach((h,l)=>u[l]&&s.css(h,u[l])),s.css(n,c),s.trigger(n,"scroll"),s.fastdom.flush(),await se();const m=o.map((h,l)=>s.parent(h)===n&&s.Transition.start(h,f[l],t,"ease")).concat(s.Transition.start(n,i,t,"ease"));try{await Promise.all(m),o.forEach((h,l)=>{s.attr(h,d[l]),s.parent(h)===n&&s.css(h,"display",f[l].opacity===0?"none":"")}),s.attr(n,"style",a)}catch{s.attr(o,"style",""),Qe(n,c)}}function ne(e,n){const t=s.css(e,"zIndex");return s.isVisible(e)?{display:"",opacity:n?s.css(e,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:t==="auto"?s.index(e):t,...te(e)}:!1}function Ke(e,n,t){const o=n.map((c,a)=>s.parent(c)&&a in t?t[a]?s.isVisible(c)?te(c):{opacity:0}:{opacity:s.isVisible(c)?1:0}:!1),r=o.map((c,a)=>{const i=s.parent(n[a])===e&&(t[a]||ne(n[a]));if(!i)return!1;if(!c)delete i.opacity;else if(!("opacity"in c)){const{opacity:f}=i;f%1?c.opacity=1:delete i.opacity}return i});return[o,r]}function Qe(e,n){for(const t in n)s.css(e,t,"")}function te(e){const{height:n,width:t}=s.offset(e);return{height:n,width:t,transform:"",...s.position(e),...s.css(e,["marginTop","marginLeft"])}}function se(){return new Promise(e=>requestAnimationFrame(e))}var Xe={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(e,n=this.$el){const t=this.animation;return(t==="fade"?k:t==="delayed-fade"?(...r)=>k(...r,40):t?Je:()=>(e(),Promise.resolve()))(e,n,this.duration).catch(s.noop)}}},Ye={connected(){s.addClass(this.$el,this.$options.id)}},oe={mixins:[Ye,Xe],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const e of["init","start","move","end"]){const n=this[e];this[e]=t=>{s.assign(this.pos,s.getEventPos(t)),n(t)}}},events:{name:s.pointerDown,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return s.children(this.target)},isEmpty:{get(){return s.isEmpty(this.items)},watch(e){s.toggleClass(this.target,this.clsEmpty,e)},immediate:!0},handles:{get({handle:e},n){return e?s.$$(e,n):this.items},watch(e,n){s.css(n,{touchAction:"",userSelect:""}),s.css(e,{touchAction:s.hasTouch?"none":"",userSelect:"none"})},immediate:!0}},update:{write(e){if(!this.drag||!s.parent(this.placeholder))return;const{pos:{x:n,y:t},origin:{offsetTop:o,offsetLeft:r},placeholder:c}=this;s.css(this.drag,{top:t-o,left:n-r});const a=this.getSortable(document.elementFromPoint(n,t));if(!a)return;const{items:i}=a;if(i.some(s.Transition.inProgress))return;const f=nn(i,{x:n,y:t});if(i.length&&(!f||f===c))return;const u=this.getSortable(c),d=tn(a.target,f,c,n,t,a===u&&e.moved!==f);d!==!1&&(d&&c===d||(a!==u?(u.remove(c),e.moved=f):delete e.moved,a.insert(c,d),this.touched.add(a)))},events:["move"]},methods:{init(e){const{target:n,button:t,defaultPrevented:o}=e,[r]=this.items.filter(c=>s.within(n,c));!r||o||t>0||s.isInput(n)||s.within(n,`.${this.clsNoDrag}`)||this.handle&&!s.within(n,this.handle)||(e.preventDefault(),this.touched=new Set([this]),this.placeholder=r,this.origin={target:n,index:s.index(r),...this.pos},s.on(document,s.pointerMove,this.move),s.on(document,s.pointerUp,this.end),this.threshold||this.start(e))},start(e){this.drag=en(this.$container,this.placeholder);const{left:n,top:t}=this.placeholder.getBoundingClientRect();s.assign(this.origin,{offsetLeft:this.pos.x-n,offsetTop:this.pos.y-t}),s.addClass(this.drag,this.clsDrag,this.clsCustom),s.addClass(this.placeholder,this.clsPlaceholder),s.addClass(this.items,this.clsItem),s.addClass(document.documentElement,this.clsDragState),s.trigger(this.$el,"start",[this,this.placeholder]),ke(this.pos),this.move(e)},move(e){this.drag?this.$emit("move"):(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(e)},end(){if(s.off(document,s.pointerMove,this.move),s.off(document,s.pointerUp,this.end),!this.drag)return;Ue();const e=this.getSortable(this.placeholder);this===e?this.origin.index!==s.index(this.placeholder)&&s.trigger(this.$el,"moved",[this,this.placeholder]):(s.trigger(e.$el,"added",[e,this.placeholder]),s.trigger(this.$el,"removed",[this,this.placeholder])),s.trigger(this.$el,"stop",[this,this.placeholder]),s.remove(this.drag),this.drag=null;for(const{clsPlaceholder:n,clsItem:t}of this.touched)for(const o of this.touched)s.removeClass(o.items,n,t);this.touched=null,s.removeClass(document.documentElement,this.clsDragState)},insert(e,n){s.addClass(this.items,this.clsItem);const t=()=>n?s.before(n,e):s.append(this.target,e);this.animate(t)},remove(e){s.within(e,this.target)&&this.animate(()=>s.remove(e))},getSortable(e){do{const n=this.$getComponent(e,"sortable");if(n&&(n===this||this.group!==!1&&n.group===this.group))return n}while(e=s.parent(e))}}};let re;function ke(e){let n=Date.now();re=setInterval(()=>{let{x:t,y:o}=e;o+=document.scrollingElement.scrollTop;const r=(Date.now()-n)*.3;n=Date.now(),s.scrollParents(document.elementFromPoint(t,e.y)).reverse().some(c=>{let{scrollTop:a,scrollHeight:i}=c;const{top:f,bottom:u,height:d}=s.offsetViewport(c);if(f<o&&f+35>o)a-=r;else if(u>o&&u-35<o)a+=r;else return;if(a>0&&a<i-d)return c.scrollTop=a,!0})},15)}function Ue(){clearInterval(re)}function en(e,n){let t;if(s.isTag(n,"li","tr")){t=s.$("<div>"),s.append(t,n.cloneNode(!0).children);for(const o of n.getAttributeNames())s.attr(t,o,n.getAttribute(o))}else t=n.cloneNode(!0);return s.append(e,t),s.css(t,"margin","0","important"),s.css(t,{boxSizing:"border-box",width:n.offsetWidth,height:n.offsetHeight,padding:s.css(n,"padding")}),s.height(t.firstElementChild,s.height(n.firstElementChild)),t}function nn(e,n){return e[s.findIndex(e,t=>s.pointInRect(n,t.getBoundingClientRect()))]}function tn(e,n,t,o,r,c){if(!s.children(e).length)return;const a=n.getBoundingClientRect();if(!c)return sn(e,t)||r<a.top+a.height/2?n:n.nextElementSibling;const i=t.getBoundingClientRect(),f=ce([a.top,a.bottom],[i.top,i.bottom]),[u,d,m,h]=f?[o,"width","left","right"]:[r,"height","top","bottom"],l=i[d]<a[d]?a[d]-i[d]:0;return i[m]<a[m]?l&&u<a[m]+l?!1:n.nextElementSibling:l&&u>a[h]-l?!1:n}function sn(e,n){const t=s.children(e).length===1;t&&s.append(e,n);const o=s.children(e),r=o.some((c,a)=>{const i=c.getBoundingClientRect();return o.slice(a+1).some(f=>{const u=f.getBoundingClientRect();return!ce([i.left,i.right],[u.left,u.right])})});return t&&s.remove(n),r}function ce(e,n){return e[1]>n[0]&&n[1]>e[0]}return typeof window<"u"&&window.UIkit&&window.UIkit.component("sortable",oe),oe});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.16.
|
|
1
|
+
/*! UIkit 3.16.6-dev.64eba8a3c | 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')) :
|
|
@@ -2423,7 +2423,7 @@
|
|
|
2423
2423
|
};
|
|
2424
2424
|
App.util = util;
|
|
2425
2425
|
App.options = {};
|
|
2426
|
-
App.version = "3.16.
|
|
2426
|
+
App.version = "3.16.6-dev.64eba8a3c";
|
|
2427
2427
|
|
|
2428
2428
|
const PREFIX = "uk-";
|
|
2429
2429
|
const DATA = "__uikit__";
|
|
@@ -2464,7 +2464,7 @@
|
|
|
2464
2464
|
}
|
|
2465
2465
|
}
|
|
2466
2466
|
function getComponents(element) {
|
|
2467
|
-
return element[DATA] || {};
|
|
2467
|
+
return (element == null ? void 0 : element[DATA]) || {};
|
|
2468
2468
|
}
|
|
2469
2469
|
function getComponent(element, name) {
|
|
2470
2470
|
return getComponents(element)[name];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! UIkit 3.16.5 | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(f,nt){typeof exports=="object"&&typeof module<"u"?module.exports=nt(require("uikit-util")):typeof define=="function"&&define.amd?define("uikittooltip",["uikit-util"],nt):(f=typeof globalThis<"u"?globalThis:f||self,f.UIkitTooltip=nt(f.UIkit.util))})(this,function(f){"use strict";var nt={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&f.$(t)}}},Rn={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(o=>f.startsWith(t[0],o))}},methods:{toggleElement(t,o,n){return new Promise(e=>Promise.all(f.toNodes(t).map(r=>{const s=f.isBoolean(o)?o:!this.isToggled(r);if(!f.trigger(r,`before${s?"show":"hide"}`,[this]))return Promise.reject();const i=(f.isFunction(n)?n:n===!1||!this.hasAnimation?Dn:this.hasTransition?Ln:Fn)(r,s,this),c=s?this.clsEnter:this.clsLeave;f.addClass(r,c),f.trigger(r,s?"show":"hide",[this]);const u=()=>{f.removeClass(r,c),f.trigger(r,s?"shown":"hidden",[this])};return i?i.then(u,()=>(f.removeClass(r,c),Promise.reject())):u()})).then(e,f.noop))},isToggled(t=this.$el){return[t]=f.toNodes(t),f.hasClass(t,this.clsEnter)?!0:f.hasClass(t,this.clsLeave)?!1:this.cls?f.hasClass(t,this.cls.split(" ")[0]):f.isVisible(t)},_toggle(t,o){if(!t)return;o=Boolean(o);let n;this.cls?(n=f.includes(this.cls," ")||o!==f.hasClass(t,this.cls),n&&f.toggleClass(t,this.cls,f.includes(this.cls," ")?void 0:o)):(n=o===t.hidden,n&&(t.hidden=!o)),f.$$("[autofocus]",t).some(e=>f.isVisible(e)?e.focus()||!0:e.blur()),n&&f.trigger(t,"toggled",[o,this])}}};function Dn(t,o,{_toggle:n}){return f.Animation.cancel(t),f.Transition.cancel(t),n(t,o)}async function Ln(t,o,{animation:n,duration:e,velocity:r,transition:s,_toggle:i}){var c;const[u="reveal",a="top"]=((c=n[0])==null?void 0:c.split("-"))||[],d=[["left","right"],["top","bottom"]],m=d[f.includes(d[0],a)?0:1],$=m[1]===a,y=["width","height"][d.indexOf(m)],E=`margin-${m[0]}`,b=`margin-${a}`;let wt=f.dimensions(t)[y];const qr=f.Transition.inProgress(t);await f.Transition.cancel(t),o&&i(t,!0);const Xr=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",E,b].map(Mn=>[Mn,t.style[Mn]])),vt=f.dimensions(t),vo=f.toFloat(f.css(t,E)),Sn=f.toFloat(f.css(t,b)),X=vt[y]+Sn;!qr&&!o&&(wt+=Sn);const[It]=f.wrapInner(t,"<div>");f.css(It,{boxSizing:"border-box",height:vt.height,width:vt.width,...f.css(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",b])}),f.css(t,{padding:0,border:0,minWidth:0,minHeight:0,[b]:0,width:vt.width,height:vt.height,overflow:"hidden",[y]:wt});const In=wt/X;e=(r*X+e)*(o?1-In:In);const Nn={[y]:o?X:0};$&&(f.css(t,E,X-wt+vo),Nn[E]=o?vo:X+vo),!$^u==="reveal"&&(f.css(It,E,-X+wt),f.Transition.start(It,{[E]:o?0:-X},e,s));try{await f.Transition.start(t,Nn,e,s)}finally{f.css(t,Xr),f.unwrap(It.firstChild),o||i(t,!1)}}function Fn(t,o,n){f.Animation.cancel(t);const{animation:e,duration:r,_toggle:s}=n;return o?(s(t,!0),f.Animation.in(t,e[0],r,n.origin)):f.Animation.out(t,e[1]||e[0],r,n.origin).then(()=>s(t,!1))}var Bn={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${f.isRtl?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=f.includes(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,o,n){let e=[this.getPositionOffset(t),this.getShiftOffset(t)];const r=[this.flip&&"flip",this.shift&&"shift"],s={element:[this.inset?this.dir:f.flipPosition(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in s)s[u].reverse();e.reverse(),r.reverse()}const i=jn(t),c=f.dimensions(t);f.css(t,{top:-c.height,left:-c.width}),f.positionAt(t,o,{attach:s,offset:e,boundary:n,placement:r,viewportOffset:this.getViewportOffset(t)}),i()},getPositionOffset(t){return f.toPx(this.offset===!1?f.css(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(f.includes(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:f.toPx(f.css(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(f.includes(["left","top"],this.align)?1:-1)},getViewportOffset(t){return f.toPx(f.css(t,"--uk-position-viewport-offset"))}}};function jn(t){const[o]=f.scrollParents(t),{scrollTop:n}=o;return()=>{n!==o.scrollTop&&(o.scrollTop=n)}}const zn={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},{hasOwnProperty:Wn,toString:Hn}=Object.prototype;function M(t,o){return Wn.call(t,o)}const qn=/\B([A-Z])/g,et=I(t=>t.replace(qn,"-$1").toLowerCase()),Xn=/-(\w)/g,rt=I(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(Xn,(o,n)=>n.toUpperCase())),L=I(t=>t.charAt(0).toUpperCase()+t.slice(1));function F(t,o){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,o)}function Yn(t,o){var n;return(n=t==null?void 0:t.endsWith)==null?void 0:n.call(t,o)}function Y(t,o){var n;return(n=t==null?void 0:t.includes)==null?void 0:n.call(t,o)}function bo(t,o){var n;return(n=t==null?void 0:t.findIndex)==null?void 0:n.call(t,o)}const{isArray:x,from:Jn}=Array,{assign:Nt}=Object;function _(t){return typeof t=="function"}function R(t){return t!==null&&typeof t=="object"}function D(t){return Hn.call(t)==="[object Object]"}function J(t){return R(t)&&t===t.window}function bt(t){return Rt(t)===9}function Mt(t){return Rt(t)>=1}function st(t){return Rt(t)===1}function Rt(t){return!J(t)&&R(t)&&t.nodeType}function $o(t){return typeof t=="boolean"}function w(t){return typeof t=="string"}function Dt(t){return typeof t=="number"}function $t(t){return Dt(t)||w(t)&&!isNaN(t-parseFloat(t))}function yo(t){return!(x(t)?t.length:R(t)&&Object.keys(t).length)}function O(t){return t===void 0}function Lt(t){return $o(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function it(t){const o=Number(t);return isNaN(o)?!1:o}function T(t){return parseFloat(t)||0}function g(t){return l(t)[0]}function l(t){return Mt(t)?[t]:Array.from(t||[]).filter(Mt)}function K(t){if(J(t))return t;t=g(t);const o=bt(t)?t:t==null?void 0:t.ownerDocument;return(o==null?void 0:o.defaultView)||window}function Ft(t,o){return t===o||R(t)&&R(o)&&Object.keys(t).length===Object.keys(o).length&&yt(t,(n,e)=>n===o[e])}function Kn(t,o,n){return t.replace(new RegExp(`${o}|${n}`,"g"),e=>e===o?n:o)}function xo(t){return t[t.length-1]}function yt(t,o){for(const n in t)if(o(t[n],n)===!1)return!1;return!0}function To(t,o){return t.slice().sort(({[o]:n=0},{[o]:e=0})=>n>e?1:e>n?-1:0)}function Bt(t,o){return t.reduce((n,e)=>n+T(_(o)?o(e):e[o]),0)}function Gn(t,o){const n=new Set;return t.filter(({[o]:e})=>n.has(e)?!1:n.add(e))}function Zn(t,o){return o.reduce((n,e)=>({...n,[e]:t[e]}),{})}function G(t,o=0,n=1){return Math.min(Math.max(it(t)||0,o),n)}function xt(){}function Po(...t){return[["bottom","top"],["right","left"]].every(([o,n])=>Math.min(...t.map(({[o]:e})=>e))-Math.max(...t.map(({[n]:e})=>e))>0)}function jt(t,o){return t.x<=o.right&&t.x>=o.left&&t.y<=o.bottom&&t.y>=o.top}function zt(t,o,n){const e=o==="width"?"height":"width";return{[e]:t[o]?Math.round(n*t[e]/t[o]):t[e],[o]:n}}function Eo(t,o){t={...t};for(const n in t)t=t[n]>o[n]?zt(t,n,o[n]):t;return t}function Qn(t,o){t=Eo(t,o);for(const n in t)t=t[n]<o[n]?zt(t,n,o[n]):t;return t}const Vn={ratio:zt,contain:Eo,cover:Qn};function kn(t,o,n=0,e=!1){o=l(o);const{length:r}=o;return r?(t=$t(t)?it(t):t==="next"?n+1:t==="previous"?n-1:t==="last"?r-1:o.indexOf(g(t)),e?G(t,0,r-1):(t%=r,t<0?t+r:t)):-1}function I(t){const o=Object.create(null);return n=>o[n]||(o[n]=t(n))}class Un{constructor(){this.promise=new Promise((o,n)=>{this.reject=n,this.resolve=o})}}function B(t,o,n){var e;if(R(o)){for(const r in o)B(t,r,o[r]);return}if(O(n))return(e=g(t))==null?void 0:e.getAttribute(o);for(const r of l(t))_(n)&&(n=n.call(r,B(r,o))),n===null?_o(r,o):r.setAttribute(o,n)}function Oo(t,o){return l(t).some(n=>n.hasAttribute(o))}function _o(t,o){l(t).forEach(n=>n.removeAttribute(o))}function Wt(t,o){for(const n of[o,`data-${o}`])if(Oo(t,n))return B(t,n)}const te={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function oe(t){return l(t).some(o=>te[o.tagName.toLowerCase()])}function Tt(t){return l(t).some(o=>o.offsetWidth||o.offsetHeight||o.getClientRects().length)}const Ht="input,select,textarea,button";function ne(t){return l(t).some(o=>Z(o,Ht))}const Co=`${Ht},a[href],[tabindex]`;function ee(t){return Z(t,Co)}function ct(t){var o;return(o=g(t))==null?void 0:o.parentElement}function Ao(t,o){return l(t).filter(n=>Z(n,o))}function Z(t,o){return l(t).some(n=>n.matches(o))}function ft(t,o){return st(t)?t.closest(F(o,">")?o.slice(1):o):l(t).map(n=>ft(n,o)).filter(Boolean)}function Pt(t,o){return w(o)?!!ft(t,o):g(o).contains(g(t))}function qt(t,o){const n=[];for(;t=ct(t);)(!o||Z(t,o))&&n.push(t);return n}function So(t,o){t=g(t);const n=t?l(t.children):[];return o?Ao(n,o):n}function Io(t,o){return o?l(t).indexOf(g(o)):So(ct(t)).indexOf(t)}function No(t){return t=g(t),t&&["origin","pathname","search"].every(o=>t[o]===location[o])}function re(t){if(No(t)){t=g(t);const o=decodeURIComponent(t.hash).substring(1);return document.getElementById(o)||document.getElementsByName(o)[0]}}function se(t,o){return Xt(t,Ro(t,o))}function ie(t,o){return ut(t,Ro(t,o))}function Xt(t,o){return g(Do(t,g(o),"querySelector"))}function ut(t,o){return l(Do(t,g(o),"querySelectorAll"))}const ce=/(^|[^\\],)\s*[!>+~-]/,Mo=I(t=>t.match(ce));function Ro(t,o=document){return w(t)&&Mo(t)||bt(o)?o:o.ownerDocument}const fe=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ue=I(t=>t.replace(fe,"$1 *"));function Do(t,o=document,n){if(!t||!w(t))return t;if(t=ue(t),Mo(t)){const e=de(t);t="";for(let r of e){let s=o;if(r[0]==="!"){const i=r.substr(1).trim().split(" ");if(s=ft(ct(o),i[0]),r=i.slice(1).join(" ").trim(),!r.length&&e.length===1)return s}if(r[0]==="-"){const i=r.substr(1).trim().split(" "),c=(s||o).previousElementSibling;s=Z(c,r.substr(1))?c:null,r=i.slice(1).join(" ")}s&&(t+=`${t?",":""}${le(s)} ${r}`)}o=document}try{return o[n](t)}catch{return null}}const ae=/.*?[^\\](?:,|$)/g,de=I(t=>t.match(ae).map(o=>o.replace(/,$/,"").trim()));function le(t){const o=[];for(;t.parentNode;){const n=B(t,"id");if(n){o.unshift(`#${Lo(n)}`);break}else{let{tagName:e}=t;e!=="HTML"&&(e+=`:nth-child(${Io(t)+1})`),o.unshift(e),t=t.parentNode}}return o.join(" > ")}function Lo(t){return w(t)?CSS.escape(t):""}function j(...t){let[o,n,e,r,s=!1]=Yt(t);r.length>1&&(r=pe(r)),s!=null&&s.self&&(r=ge(r)),e&&(r=he(e,r));for(const i of n)for(const c of o)c.addEventListener(i,r,s);return()=>Fo(o,n,r,s)}function Fo(...t){let[o,n,,e,r=!1]=Yt(t);for(const s of n)for(const i of o)i.removeEventListener(s,e,r)}function Q(...t){const[o,n,e,r,s=!1,i]=Yt(t),c=j(o,n,e,u=>{const a=!i||i(u);a&&(c(),r(u,a))},s);return c}function z(t,o,n){return Jt(t).every(e=>e.dispatchEvent(Bo(o,!0,!0,n)))}function Bo(t,o=!0,n=!1,e){return w(t)&&(t=new CustomEvent(t,{bubbles:o,cancelable:n,detail:e})),t}function Yt(t){return t[0]=Jt(t[0]),w(t[1])&&(t[1]=t[1].split(" ")),_(t[2])&&t.splice(2,0,!1),t}function he(t,o){return n=>{const e=t[0]===">"?ut(t,n.currentTarget).reverse().filter(r=>Pt(n.target,r))[0]:ft(n.target,t);e&&(n.current=e,o.call(this,n),delete n.current)}}function pe(t){return o=>x(o.detail)?t(o,...o.detail):t(o)}function ge(t){return function(o){if(o.target===o.currentTarget||o.target===o.current)return t.call(null,o)}}function jo(t){return t&&"addEventListener"in t}function me(t){return jo(t)?t:g(t)}function Jt(t){return x(t)?t.map(me).filter(Boolean):w(t)?ut(t):jo(t)?[t]:l(t)}function we(t){return t.pointerType==="touch"||!!t.touches}function zo(t){var o,n;const{clientX:e,clientY:r}=((o=t.touches)==null?void 0:o[0])||((n=t.changedTouches)==null?void 0:n[0])||t;return{x:e,y:r}}const ve={"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 h(t,o,n,e){const r=l(t);for(const s of r)if(w(o)){if(o=Kt(o),O(n))return getComputedStyle(s).getPropertyValue(o);s.style.setProperty(o,$t(n)&&!ve[o]?`${n}px`:n||Dt(n)?n:"",e)}else if(x(o)){const i={};for(const c of o)i[c]=h(s,c);return i}else R(o)&&(e=n,yt(o,(i,c)=>h(s,c,i,e)));return r[0]}const Kt=I(t=>be(t));function be(t){if(F(t,"--"))return t;t=et(t);const{style:o}=document.documentElement;if(t in o)return t;for(const n of["webkit","moz"]){const e=`-${n}-${t}`;if(e in o)return e}}function V(t,...o){qo(t,o,"add")}function Gt(t,...o){qo(t,o,"remove")}function Wo(t,o){B(t,"class",n=>(n||"").replace(new RegExp(`\\b${o}\\b\\s?`,"g"),""))}function $e(t,...o){o[0]&&Gt(t,o[0]),o[1]&&V(t,o[1])}function Ho(t,o){return[o]=Zt(o),!!o&&l(t).some(n=>n.classList.contains(o))}function ye(t,o,n){const e=Zt(o);O(n)||(n=!!n);for(const r of l(t))for(const s of e)r.classList.toggle(s,n)}function qo(t,o,n){o=o.reduce((e,r)=>e.concat(Zt(r)),[]);for(const e of l(t))e.classList[n](...o)}function Zt(t){return String(t).split(/[ ,]/).filter(Boolean)}function xe(t,o,n=400,e="linear"){return n=Math.round(n),Promise.all(l(t).map(r=>new Promise((s,i)=>{for(const u in o){const a=h(r,u);a===""&&h(r,u,a)}const c=setTimeout(()=>z(r,"transitionend"),n);Q(r,"transitionend transitioncanceled",({type:u})=>{clearTimeout(c),Gt(r,"uk-transition"),h(r,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),u==="transitioncanceled"?i():s(r)},{self:!0}),V(r,"uk-transition"),h(r,{transitionProperty:Object.keys(o).map(Kt).join(","),transitionDuration:`${n}ms`,transitionTimingFunction:e,...o})})))}const Te={start:xe,async stop(t){z(t,"transitionend"),await Promise.resolve()},async cancel(t){z(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return Ho(t,"uk-transition")}},at="uk-animation-";function Xo(t,o,n=200,e,r){return Promise.all(l(t).map(s=>new Promise((i,c)=>{z(s,"animationcanceled");const u=setTimeout(()=>z(s,"animationend"),n);Q(s,"animationend animationcanceled",({type:a})=>{clearTimeout(u),a==="animationcanceled"?c():i(s),h(s,"animationDuration",""),Wo(s,`${at}\\S*`)},{self:!0}),h(s,"animationDuration",`${n}ms`),V(s,o,at+(r?"leave":"enter")),F(o,at)&&(e&&V(s,`uk-transform-origin-${e}`),r&&V(s,`${at}reverse`))})))}const Pe=new RegExp(`${at}(enter|leave)`),Ee={in:Xo,out(t,o,n,e){return Xo(t,o,n,e,!0)},inProgress(t){return Pe.test(B(t,"class"))},cancel(t){z(t,"animationcanceled")}};function Oe(t){if(document.readyState!=="loading"){t();return}Q(document,"DOMContentLoaded",t)}function Qt(t,...o){return o.some(n=>{var e;return((e=t==null?void 0:t.tagName)==null?void 0:e.toLowerCase())===n.toLowerCase()})}function Yo(t){return t=W(t),t.innerHTML="",t}function _e(t,o){return O(o)?W(t).innerHTML:dt(Yo(t),o)}const Ce=Et("prepend"),dt=Et("append"),Jo=Et("before"),Ae=Et("after");function Et(t){return function(o,n){var e;const r=l(w(n)?Ot(n):n);return(e=W(o))==null||e[t](...r),Go(r)}}function Vt(t){l(t).forEach(o=>o.remove())}function Ko(t,o){for(o=g(Jo(t,o));o.firstChild;)o=o.firstChild;return dt(o,t),o}function Se(t,o){return l(l(t).map(n=>n.hasChildNodes()?Ko(l(n.childNodes),o):dt(n,o)))}function Ie(t){l(t).map(ct).filter((o,n,e)=>e.indexOf(o)===n).forEach(o=>o.replaceWith(...o.childNodes))}const Ne=/^\s*<(\w+|!)[^>]*>/,Me=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ot(t){const o=Me.exec(t);if(o)return document.createElement(o[1]);const n=document.createElement("div");return Ne.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,Go(n.childNodes)}function Go(t){return t.length>1?t:t[0]}function kt(t,o){if(st(t))for(o(t),t=t.firstElementChild;t;){const n=t.nextElementSibling;kt(t,o),t=n}}function W(t,o){return Qo(t)?g(Ot(t)):Xt(t,o)}function Zo(t,o){return Qo(t)?l(Ot(t)):ut(t,o)}function Qo(t){return w(t)&&F(t.trim(),"<")}const H={width:["left","right"],height:["top","bottom"]};function Ut(t){const o=st(t)?g(t).getBoundingClientRect():{height:ko(t),width:oo(t),top:0,left:0};return{height:o.height,width:o.width,top:o.top,left:o.left,bottom:o.top+o.height,right:o.left+o.width}}function A(t,o){const n=Ut(t);if(t){const{scrollY:r,scrollX:s}=K(t),i={height:r,width:s};for(const c in H)for(const u of H[c])n[u]+=i[c]}if(!o)return n;const e=h(t,"position");yt(h(t,["left","top"]),(r,s)=>h(t,s,o[s]-n[s]+T(e==="absolute"&&r==="auto"?Vo(t)[s]:r)))}function Vo(t){let{top:o,left:n}=A(t);const{ownerDocument:{body:e,documentElement:r},offsetParent:s}=g(t);let i=s||r;for(;i&&(i===e||i===r)&&h(i,"position")==="static";)i=i.parentNode;if(st(i)){const c=A(i);o-=c.top+T(h(i,"borderTopWidth")),n-=c.left+T(h(i,"borderLeftWidth"))}return{top:o-T(h(t,"marginTop")),left:n-T(h(t,"marginLeft"))}}function to(t){t=g(t);const o=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(o[0]+=t.offsetTop+T(h(t,"borderTopWidth")),o[1]+=t.offsetLeft+T(h(t,"borderLeftWidth")),h(t,"position")==="fixed"){const n=K(t);return o[0]+=n.scrollY,o[1]+=n.scrollX,o}return o}const ko=Uo("height"),oo=Uo("width");function Uo(t){const o=L(t);return(n,e)=>{if(O(e)){if(J(n))return n[`inner${o}`];if(bt(n)){const r=n.documentElement;return Math.max(r[`offset${o}`],r[`scroll${o}`])}return n=g(n),e=h(n,t),e=e==="auto"?n[`offset${o}`]:T(e)||0,e-no(n,t)}else return h(n,t,!e&&e!==0?"":+e+no(n,t)+"px")}}function no(t,o,n="border-box"){return h(t,"boxSizing")===n?Bt(H[o].map(L),e=>T(h(t,`padding${e}`))+T(h(t,`border${e}Width`))):0}function Re(t){for(const o in H)for(const n in H[o])if(H[o][n]===t)return H[o][1-n];return t}function De(t,o="width",n=window,e=!1){return w(t)?Bt(Fe(t),r=>{const s=je(r);return s?ze(s==="vh"?We():s==="vw"?oo(K(n)):e?n[`offset${L(o)}`]:Ut(n)[o],r):r}):T(t)}const Le=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Fe=I(t=>t.toString().replace(/\s/g,"").match(Le)||[]),Be=/(?:v[hw]|%)$/,je=I(t=>(t.match(Be)||[])[0]);function ze(t,o){return t*T(o)/100}let lt,k;function We(){return lt||(k||(k=W("<div>"),h(k,{height:"100vh",position:"fixed"}),j(window,"resize",()=>lt=null)),dt(document.body,k),lt=k.clientHeight,Vt(k),lt)}const ht=typeof window<"u",He=ht&&document.dir==="rtl",U=ht&&"ontouchstart"in window,tt=ht&&window.PointerEvent,qe=tt?"pointerdown":U?"touchstart":"mousedown",Xe=tt?"pointermove":U?"touchmove":"mousemove",Ye=tt?"pointerup":U?"touchend":"mouseup",Je=tt?"pointerenter":U?"":"mouseenter",Ke=tt?"pointerleave":U?"":"mouseleave",Ge=tt?"pointercancel":"touchcancel",S={reads:[],writes:[],read(t){return this.reads.push(t),ro(),t},write(t){return this.writes.push(t),ro(),t},clear(t){on(this.reads,t),on(this.writes,t)},flush:eo};function eo(t){tn(S.reads),tn(S.writes.splice(0)),S.scheduled=!1,(S.reads.length||S.writes.length)&&ro(t+1)}const Ze=4;function ro(t){S.scheduled||(S.scheduled=!0,t&&t<Ze?Promise.resolve().then(()=>eo(t)):requestAnimationFrame(()=>eo(1)))}function tn(t){let o;for(;o=t.shift();)try{o()}catch(n){console.error(n)}}function on(t,o){const n=t.indexOf(o);return~n&&t.splice(n,1)}function nn(){}nn.prototype={positions:[],init(){this.positions=[];let t;this.unbind=j(document,"mousemove",o=>t=zo(o)),this.interval=setInterval(()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const o=t.getBoundingClientRect(),{left:n,right:e,top:r,bottom:s}=o,[i]=this.positions,c=xo(this.positions),u=[i,c];return jt(c,o)?!1:[[{x:n,y:r},{x:e,y:s}],[{x:n,y:s},{x:e,y:r}]].some(d=>{const m=Qe(u,d);return m&&jt(m,o)})}};function Qe([{x:t,y:o},{x:n,y:e}],[{x:r,y:s},{x:i,y:c}]){const u=(c-s)*(n-t)-(i-r)*(e-o);if(u===0)return!1;const a=((i-r)*(o-s)-(c-s)*(t-r))/u;return a<0?!1:{x:t+a*(n-t),y:o+a*(e-o)}}function Ve(t,o,n={},e=!0){const r=new IntersectionObserver(e?(s,i)=>{s.some(c=>c.isIntersecting)&&o(s,i)}:o,n);for(const s of l(t))r.observe(s);return r}const ke=ht&&window.ResizeObserver;function Ue(t,o,n={box:"border-box"}){return ke?en(ResizeObserver,t,o,n):(tr(),pt.add(o),{observe:xt,unobserve:xt,disconnect(){pt.delete(o)}})}let pt;function tr(){if(pt)return;pt=new Set;let t;const o=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const n of pt)n()}};j(window,"load resize",o),j(document,"loadedmetadata load",o,!0)}function or(t,o,n){return en(MutationObserver,t,o,n)}function en(t,o,n,e){const r=new t(n);for(const s of l(o))r.observe(s,e);return r}function nr(t){if(Ct(t)&&so(t,{func:"playVideo",method:"play"}),_t(t))try{t.play().catch(xt)}catch{}}function er(t){Ct(t)&&so(t,{func:"pauseVideo",method:"pause"}),_t(t)&&t.pause()}function rr(t){Ct(t)&&so(t,{func:"mute",method:"setVolume",value:0}),_t(t)&&(t.muted=!0)}function sr(t){return _t(t)||Ct(t)}function _t(t){return Qt(t,"video")}function Ct(t){return Qt(t,"iframe")&&(rn(t)||sn(t))}function rn(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function sn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function so(t,o){await cr(t),cn(t,o)}function cn(t,o){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...o}),"*")}catch{}}const io="_ukPlayer";let ir=0;function cr(t){if(t[io])return t[io];const o=rn(t),n=sn(t),e=++ir;let r;return t[io]=new Promise(s=>{o&&Q(t,"load",()=>{const i=()=>cn(t,{event:"listening",id:e});r=setInterval(i,100),i()}),Q(window,"message",s,!1,({data:i})=>{try{return i=JSON.parse(i),o&&(i==null?void 0:i.id)===e&&i.event==="onReady"||n&&Number(i==null?void 0:i.player_id)===e}catch{}}),t.src=`${t.src}${Y(t.src,"?")?"&":"?"}${o?"enablejsapi=1":`api=1&player_id=${e}`}`}).then(()=>clearInterval(r))}function fr(t,o=0,n=0){return Tt(t)?Po(...co(t).map(e=>{const{top:r,left:s,bottom:i,right:c}=N(e);return{top:r-o,left:s-n,bottom:i+o,right:c+n}}).concat(A(t))):!1}function ur(t,{offset:o=0}={}){const n=Tt(t)?At(t,!1,["hidden"]):[];return n.reduce((i,c,u)=>{const{scrollTop:a,scrollHeight:d,offsetHeight:m}=c,$=N(c),P=d-$.height,{height:y,top:E}=n[u-1]?N(n[u-1]):A(t);let b=Math.ceil(E-$.top-o+a);return o>0&&m<y+o?b+=o:o=0,b>P?(o-=b-P,b=P):b<0&&(o-=b,b=0),()=>e(c,b-a).then(i)},()=>Promise.resolve())();function e(i,c){return new Promise(u=>{const a=i.scrollTop,d=r(Math.abs(c)),m=Date.now();(function $(){const P=s(G((Date.now()-m)/d));i.scrollTop=a+c*P,P===1?u():requestAnimationFrame($)})()})}function r(i){return 40*Math.pow(i,.375)}function s(i){return .5*(1-Math.cos(Math.PI*i))}}function ar(t,o=0,n=0){if(!Tt(t))return 0;const[e]=At(t,!0),{scrollHeight:r,scrollTop:s}=e,{height:i}=N(e),c=r-i,u=to(t)[0]-to(e)[0],a=Math.max(0,u-i+o),d=Math.min(c,u+t.offsetHeight-n);return G((s-a)/(d-a))}function At(t,o=!1,n=[]){const e=fn(t);let r=qt(t).reverse();r=r.slice(r.indexOf(e)+1);const s=bo(r,i=>h(i,"position")==="fixed");return~s&&(r=r.slice(s)),[e].concat(r.filter(i=>h(i,"overflow").split(" ").some(c=>Y(["auto","scroll",...n],c))&&(!o||i.scrollHeight>N(i).height))).reverse()}function co(t){return At(t,!1,["hidden","clip"])}function N(t){const o=K(t),{visualViewport:n,document:{documentElement:e}}=o;let r=t===fn(t)?o:t;if(J(r)&&n){let{height:i,width:c,scale:u,pageTop:a,pageLeft:d}=n;return i=Math.round(i*u),c=Math.round(c*u),{height:i,width:c,top:a,left:d,bottom:a+i,right:d+c}}let s=A(r);if(h(r,"display")==="inline")return s;for(let[i,c,u,a]of[["width","x","left","right"],["height","y","top","bottom"]])J(r)?r=e:s[u]+=T(h(r,`border-${u}-width`)),s[i]=s[c]=r[`client${L(i)}`],s[a]=s[i]+s[u];return s}function fn(t){return K(t).document.scrollingElement}const C=[["width","x","left","right"],["height","y","top","bottom"]];function dr(t,o,n){n={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],placement:[],...n},x(o)||(o=[o,o]),A(t,un(t,o,n))}function un(t,o,n){const e=an(t,o,n),{boundary:r,viewportOffset:s=0,placement:i}=n;let c=e;for(const[u,[a,,d,m]]of Object.entries(C)){const $=lr(t,o[u],s,r,u);if(St(e,$,u))continue;let P=0;if(i[u]==="flip"){const y=n.attach.target[u];if(y===m&&e[m]<=$[m]||y===d&&e[d]>=$[d])continue;P=pr(t,o,n,u)[d]-e[d];const E=hr(t,o[u],s,u);if(!St(fo(e,P,u),E,u)){if(St(e,E,u))continue;if(n.recursion)return!1;const b=gr(t,o,n);if(b&&St(b,E,1-u))return b;continue}}else if(i[u]==="shift"){const y=A(o[u]),{offset:E}=n;P=G(G(e[d],$[d],$[m]-e[a]),y[d]-e[a]+E[u],y[m]-E[u])-e[d]}c=fo(c,P,u)}return c}function an(t,o,n){let{attach:e,offset:r}={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],...n},s=A(t);for(const[i,[c,,u,a]]of Object.entries(C)){const d=e.target[i]===e.element[i]?N(o[i]):A(o[i]);s=fo(s,d[u]-s[u]+dn(e.target[i],a,d[c])-dn(e.element[i],a,s[c])+ +r[i],i)}return s}function fo(t,o,n){const[,e,r,s]=C[n],i={...t};return i[r]=t[e]=t[r]+o,i[s]+=o,i}function dn(t,o,n){return t==="center"?n/2:t===o?n:0}function lr(t,o,n,e,r){let s=hn(...ln(t,o).map(N));return n&&(s[C[r][2]]+=n,s[C[r][3]]-=n),e&&(s=hn(s,A(x(e)?e[r]:e))),s}function hr(t,o,n,e){const[r,s,i,c]=C[e],[u]=ln(t,o),a=N(u);return["auto","scroll"].includes(h(u,`overflow-${s}`))&&(a[i]-=u[`scroll${L(i)}`],a[c]=a[i]+u[`scroll${L(r)}`]),a[i]+=n,a[c]-=n,a}function ln(t,o){return co(o).filter(n=>Pt(t,n))}function hn(...t){let o={};for(const n of t)for(const[,,e,r]of C)o[e]=Math.max(o[e]||0,n[e]),o[r]=Math.min(...[o[r],n[r]].filter(Boolean));return o}function St(t,o,n){const[,,e,r]=C[n];return t[e]>=o[e]&&t[r]<=o[r]}function pr(t,o,{offset:n,attach:e},r){return an(t,o,{attach:{element:pn(e.element,r),target:pn(e.target,r)},offset:mr(n,r)})}function gr(t,o,n){return un(t,o,{...n,attach:{element:n.attach.element.map(gn).reverse(),target:n.attach.target.map(gn).reverse()},offset:n.offset.reverse(),placement:n.placement.reverse(),recursion:!0})}function pn(t,o){const n=[...t],e=C[o].indexOf(t[o]);return~e&&(n[o]=C[o][1-e%2+2]),n}function gn(t){for(let o=0;o<C.length;o++){const n=C[o].indexOf(t);if(~n)return C[1-o][n%2+2]}}function mr(t,o){return t=[...t],t[o]*=-1,t}var wr=Object.freeze({__proto__:null,$:W,$$:Zo,Animation:Ee,Deferred:Un,Dimensions:Vn,MouseTracker:nn,Transition:Te,addClass:V,after:Ae,append:dt,apply:kt,assign:Nt,attr:B,before:Jo,boxModelAdjust:no,camelize:rt,children:So,clamp:G,closest:ft,createEvent:Bo,css:h,data:Wt,dimensions:Ut,each:yt,empty:Yo,endsWith:Yn,escape:Lo,fastdom:S,filter:Ao,find:Xt,findAll:ut,findIndex:bo,flipPosition:Re,fragment:Ot,getEventPos:zo,getIndex:kn,getTargetedElement:re,hasAttr:Oo,hasClass:Ho,hasOwn:M,hasTouch:U,height:ko,html:_e,hyphenate:et,inBrowser:ht,includes:Y,index:Io,intersectRect:Po,isArray:x,isBoolean:$o,isDocument:bt,isElement:st,isEmpty:yo,isEqual:Ft,isFocusable:ee,isFunction:_,isInView:fr,isInput:ne,isNode:Mt,isNumber:Dt,isNumeric:$t,isObject:R,isPlainObject:D,isRtl:He,isSameSiteAnchor:No,isString:w,isTag:Qt,isTouch:we,isUndefined:O,isVideo:sr,isVisible:Tt,isVoidElement:oe,isWindow:J,last:xo,matches:Z,memoize:I,mute:rr,noop:xt,observeIntersection:Ve,observeMutation:or,observeResize:Ue,off:Fo,offset:A,offsetPosition:to,offsetViewport:N,on:j,once:Q,overflowParents:co,parent:ct,parents:qt,pause:er,pick:Zn,play:nr,pointInRect:jt,pointerCancel:Ge,pointerDown:qe,pointerEnter:Je,pointerLeave:Ke,pointerMove:Xe,pointerUp:Ye,position:Vo,positionAt:dr,prepend:Ce,propName:Kt,query:se,queryAll:ie,ready:Oe,remove:Vt,removeAttr:_o,removeClass:Gt,removeClasses:Wo,replaceClass:$e,scrollIntoView:ur,scrollParents:At,scrolledOver:ar,selFocusable:Co,selInput:Ht,sortBy:To,startsWith:F,sumBy:Bt,swap:Kn,toArray:Jn,toBoolean:Lt,toEventTargets:Jt,toFloat:T,toNode:g,toNodes:l,toNumber:it,toPx:De,toWindow:K,toggleClass:ye,trigger:z,ucfirst:L,uniqueBy:Gn,unwrap:Ie,width:oo,within:Pt,wrapAll:Ko,wrapInner:Se});function vr(t){t._observers=[],t._observerUpdates=new Map;for(const o of t.$options.observe||[])if(M(o,"handler"))mn(t,o);else for(const n in o)mn(t,o[n],n)}function uo(t,...o){t._observers.push(...o)}function br(t){for(const o of t._observers)o==null||o.disconnect(),t._observerUpdates.delete(o)}function $r(t){for(const[o,n]of t._observerUpdates)n(o)}function mn(t,o,n){let{observe:e,target:r=t.$el,handler:s,options:i,filter:c,args:u}=D(o)?o:{type:n,handler:o};if(c&&!c.call(t,t))return;const a=_(r)?r.call(t,t):r;s=w(s)?t[s]:s.bind(t),_(i)&&(i=i.call(t,t));const d=e(a,s,i,u);_(r)&&x(a)&&d.unobserve&&t._observerUpdates.set(d,yr(t,r,a)),uo(t,d)}function yr(t,o,n){return e=>{const r=o.call(t,t);Ft(n,r)||(n.forEach(s=>!Y(r,s)&&e.unobserve(s)),r.forEach(s=>!Y(n,s)&&e.observe(s)),n.splice(0,n.length,...r))}}function wn(t){if(t._watch)return;const o=!M(t,"_watch");t._watch=S.read(()=>{t._connected&&xr(t,o),t._watch=null})}function xr(t,o){const n={...t._computed};t._computed={};for(const[e,{watch:r,immediate:s}]of Object.entries(t.$options.computed||{}))r&&(o&&s||M(n,e)&&!Ft(n[e],t[e]))&&r.call(t,t[e],o?void 0:n[e]);$r(t)}function ao(t,o="update"){t._connected&&((o==="update"||o==="resize")&&wn(t),t.$options.update&&(t._updates||(t._updates=new Set,S.read(()=>{t._connected&&Tr(t,t._updates),delete t._updates})),t._updates.add(o.type||o)))}function Tr(t,o){for(const{read:n,write:e,events:r=[]}of t.$options.update){if(!o.has("update")&&!r.some(i=>o.has(i)))continue;let s;n&&(s=n.call(t,t._data,o),s&&D(s)&&Nt(t._data,s)),e&&s!==!1&&S.write(()=>{t._connected&&e.call(t,t._data,o)})}}function Pr(t){let{el:o,computed:n,observe:e}=t.$options;if(!n&&!(e!=null&&e.some(s=>_(s.target))))return;for(const s in n||{})if(n[s].document){o=o.ownerDocument;break}const r=new MutationObserver(()=>wn(t));r.observe(o,{childList:!0,subtree:!0}),uo(t,r)}function Er(t){t._events=[];for(const o of t.$options.events||[])if(M(o,"handler"))lo(t,o);else for(const n in o)lo(t,o[n],n)}function Or(t){t._events.forEach(o=>o()),delete t._events}function lo(t,o,n){let{name:e,el:r,handler:s,capture:i,passive:c,delegate:u,filter:a,self:d}=D(o)?o:{name:n,handler:o};if(r=_(r)?r.call(t,t):r||t.$el,x(r)){r.forEach(m=>lo(t,{...o,el:m},n));return}!r||a&&!a.call(t)||t._events.push(j(r,e,u?w(u)?u:u.call(t,t):null,w(s)?t[s]:s.bind(t),{passive:c,capture:i,self:d}))}const v={};v.events=v.observe=v.created=v.beforeConnect=v.connected=v.beforeDisconnect=v.disconnected=v.destroy=ho,v.args=function(t,o){return o!==!1&&ho(o||t)},v.update=function(t,o){return To(ho(t,_(o)?{read:o}:o),"order")},v.props=function(t,o){if(x(o)){const n={};for(const e of o)n[e]=String;o=n}return v.methods(t,o)},v.computed=v.methods=function(t,o){return o?t?{...t,...o}:o:t},v.i18n=v.data=function(t,o,n){return n?vn(t,o,n):o?t?function(e){return vn(t,o,e)}:o:t};function vn(t,o,n){return v.computed(_(t)?t.call(n,n):t,_(o)?o.call(n,n):o)}function ho(t,o){return t=t&&!x(t)?[t]:t,o?t?t.concat(o):x(o)?o:[o]:t}function _r(t,o){return O(o)?t:o}function gt(t,o,n){const e={};if(_(o)&&(o=o.options),o.extends&&(t=gt(t,o.extends,n)),o.mixins)for(const s of o.mixins)t=gt(t,s,n);for(const s in t)r(s);for(const s in o)M(t,s)||r(s);function r(s){e[s]=(v[s]||_r)(t[s],o[s],n)}return e}function bn(t,o=[]){try{return t?F(t,"{")?JSON.parse(t):o.length&&!Y(t,":")?{[o[0]]:t}:t.split(";").reduce((n,e)=>{const[r,s]=e.split(/:(.*)/);return r&&!O(s)&&(n[r.trim()]=s.trim()),n},{}):{}}catch{return{}}}function po(t,o){return t===Boolean?Lt(o):t===Number?it(o):t==="list"?Cr(o):t===Object&&w(o)?bn(o):t?t(o):o}function Cr(t){return x(t)?t:w(t)?t.split(/,(?![^(]*\))/).map(o=>$t(o)?it(o):Lt(o.trim())):[t]}function Ar(t){const o=$n(t.$options);for(let e in o)O(o[e])||(t.$props[e]=o[e]);const n=[t.$options.computed,t.$options.methods];for(let e in t.$props)e in o&&Sr(n,e)&&(t[e]=t.$props[e])}function $n(t){const o={},{args:n=[],props:e={},el:r,id:s}=t;if(!e)return o;for(const c in e){const u=et(c);let a=Wt(r,u);O(a)||(a=e[c]===Boolean&&a===""?!0:po(e[c],a),!(u==="target"&&F(a,"_"))&&(o[c]=a))}const i=bn(Wt(r,s),n);for(const c in i){const u=rt(c);O(e[u])||(o[u]=po(e[u],i[c]))}return o}function Sr(t,o){return t.every(n=>!n||!M(n,o))}function Ir(t){const{$options:o,$props:n}=t,{id:e,attrs:r,props:s,el:i}=o;if(!s||r===!1)return;const c=x(r)?r:Object.keys(s),u=c.map(d=>et(d)).concat(e),a=new MutationObserver(d=>{const m=$n(o);d.some(({attributeName:$})=>{const P=$.replace("data-","");return(P===e?c:[rt(P),rt($)]).some(y=>!O(m[y])&&m[y]!==n[y])})&&t.$reset()});a.observe(i,{attributes:!0,attributeFilter:u.concat(u.map(d=>`data-${d}`))}),uo(t,a)}function ot(t,o){var n;(n=t.$options[o])==null||n.forEach(e=>e.call(t))}function yn(t){t._connected||(t._data={},t._computed={},Ar(t),ot(t,"beforeConnect"),t._connected=!0,Er(t),vr(t),Ir(t),Pr(t),ot(t,"connected"),ao(t))}function xn(t){t._connected&&(ot(t,"beforeDisconnect"),br(t),Or(t),ot(t,"disconnected"),t._connected=!1,delete t._watch)}function Nr(t){const{computed:o}=t.$options;if(t._computed={},o)for(const n in o)Mr(t,n,o[n])}function Mr(t,o,n){Object.defineProperty(t,o,{enumerable:!0,get(){const{_computed:e,$props:r,$el:s}=t;return M(e,o)||(e[o]=(n.get||n).call(t,r,s)),e[o]},set(e){const{_computed:r}=t;r[o]=n.set?n.set.call(t,e):e,O(r[o])&&delete r[o]}})}let Rr=0;function Tn(t,o={}){o.data=Fr(o,t.constructor.options),t.$options=gt(t.constructor.options,o,t),t.$props={},t._uid=Rr++,Dr(t),Lr(t),Nr(t),ot(t,"created"),o.el&&t.$mount(o.el)}function Dr(t){const{data:o={}}=t.$options;for(const n in o)t.$props[n]=t[n]=o[n]}function Lr(t){const{methods:o}=t.$options;if(o)for(const n in o)t[n]=o[n].bind(t)}function Fr({data:t={}},{args:o=[],props:n={}}){x(t)&&(t=t.slice(0,o.length).reduce((e,r,s)=>(D(r)?Nt(e,r):e[o[s]]=r,e),{}));for(const e in t)O(t[e])?delete t[e]:n[e]&&(t[e]=po(n[e],t[e]));return t}const p=function(t){Tn(this,t)};p.util=wr,p.options={},p.version="3.16.5";const Br="uk-",q="__uikit__",mt={};function Pn(t,o){var n;const e=Br+et(t);if(!o)return D(mt[e])&&(mt[e]=p.extend(mt[e])),mt[e];t=rt(t),p[t]=(s,i)=>go(t,s,i);const r=D(o)?{...o}:o.options;return r.id=e,r.name=t,(n=r.install)==null||n.call(r,p,r,t),p._initialized&&!r.functional&&requestAnimationFrame(()=>go(t,`[${e}],[data-${e}]`)),mt[e]=r}function go(t,o,n,...e){const r=Pn(t);return r.options.functional?new r({data:D(o)?o:[o,n,...e]}):o?Zo(o).map(s)[0]:s();function s(i){const c=wo(i,t);if(c)if(n)c.$destroy();else return c;return new r({el:i,data:n})}}function mo(t){return t[q]||{}}function wo(t,o){return mo(t)[o]}function jr(t,o){t[q]||(t[q]={}),t[q][o.$options.name]=o}function zr(t,o){var n;(n=t[q])==null||delete n[o.$options.name],yo(t[q])||delete t[q]}p.component=Pn,p.getComponents=mo,p.getComponent=wo,p.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},p.mixin=function(t,o){o=(w(o)?this.component(o):o)||this,o.options=gt(o.options,t)},p.extend=function(t){t=t||{};const o=this,n=function(r){Tn(this,r)};return n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.options=gt(o.options,t),n.super=o,n.extend=o.extend,n};function En(t,o){t=t?g(t):document.body;for(const n of qt(t).reverse())On(n,o);kt(t,n=>On(n,o))}p.update=En;function On(t,o){const n=mo(t);for(const e in n)ao(n[e],o)}let _n;Object.defineProperty(p,"container",{get(){return _n||document.body},set(t){_n=W(t)}}),p.prototype.$mount=function(t){const o=this;jr(t,o),o.$options.el=t,Pt(t,document)&&yn(o)},p.prototype.$destroy=function(t=!1){const o=this,{el:n}=o.$options;n&&xn(o),ot(o,"destroy"),zr(n,o),t&&Vt(o.$el)},p.prototype.$create=go,p.prototype.$emit=function(t){ao(this,t)},p.prototype.$update=function(t=this.$el,o){En(t,o)},p.prototype.$reset=function(){xn(this),yn(this)},p.prototype.$getComponent=wo,Object.defineProperties(p.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(p,"container")});function Cn(t,o=t.$el,n=""){if(o.id)return o.id;let e=`${t.$options.id}-${t._uid}${n}`;return W(`#${e}`)&&(e=Cn(t,o,`${n}-2`)),e}var An={mixins:[nt,Rn,Bn],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){this.id=Cn(this),this._hasTitle=f.hasAttr(this.$el,"title"),f.attr(this.$el,{title:"","aria-describedby":this.id}),Wr(this.$el)},disconnected(){this.hide(),f.attr(this.$el,"title")||f.attr(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){f.matches(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),f.remove(this.tooltip),this.tooltip=null))},_show(){this.tooltip=f.append(this.container,`<div id="${this.id}" class="uk-${this.$options.name}" role="tooltip"> <div class="uk-${this.$options.name}-inner">${this.title}</div> </div>`),f.on(this.tooltip,"toggled",(t,o)=>{if(!o)return;const n=()=>this.positionAt(this.tooltip,this.$el);n();const[e,r]=Hr(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${f.flipPosition(e)}-${r}`:`${r}-${f.flipPosition(e)}`;const s=[f.once(document,`keydown ${f.pointerDown}`,this.hide,!1,i=>i.type===f.pointerDown&&!f.within(i.target,this.$el)||i.type==="keydown"&&i.keyCode===zn.ESC),f.on([document,...f.overflowParents(this.$el)],"scroll",n,{passive:!0})];f.once(this.tooltip,"hide",()=>s.forEach(i=>i()),{self:!0})}),this.toggleElement(this.tooltip,!0)}},events:{focus:"show",blur:"hide",[`${f.pointerEnter} ${f.pointerLeave}`](t){f.isTouch(t)||this[t.type===f.pointerEnter?"show":"hide"]()},[f.pointerDown](t){f.isTouch(t)&&this.show()}}};function Wr(t){f.isFocusable(t)||f.attr(t,"tabindex","0")}function Hr(t,o,[n,e]){const r=f.offset(t),s=f.offset(o),i=[["left","right"],["top","bottom"]];for(const u of i){if(r[u[0]]>=s[u[1]]){n=u[1];break}if(r[u[1]]<=s[u[0]]){n=u[0];break}}const c=f.includes(i[0],n)?i[1]:i[0];return r[c[0]]===s[c[0]]?e=c[0]:r[c[1]]===s[c[1]]?e=c[1]:e="center",[n,e]}return typeof window<"u"&&window.UIkit&&window.UIkit.component("tooltip",An),An});
|
|
1
|
+
/*! UIkit 3.16.6-dev.64eba8a3c | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(f,nt){typeof exports=="object"&&typeof module<"u"?module.exports=nt(require("uikit-util")):typeof define=="function"&&define.amd?define("uikittooltip",["uikit-util"],nt):(f=typeof globalThis<"u"?globalThis:f||self,f.UIkitTooltip=nt(f.UIkit.util))})(this,function(f){"use strict";var nt={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return t===!0&&this.$container||t&&f.$(t)}}},Rn={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(o=>f.startsWith(t[0],o))}},methods:{toggleElement(t,o,n){return new Promise(e=>Promise.all(f.toNodes(t).map(r=>{const s=f.isBoolean(o)?o:!this.isToggled(r);if(!f.trigger(r,`before${s?"show":"hide"}`,[this]))return Promise.reject();const i=(f.isFunction(n)?n:n===!1||!this.hasAnimation?Dn:this.hasTransition?Ln:Fn)(r,s,this),c=s?this.clsEnter:this.clsLeave;f.addClass(r,c),f.trigger(r,s?"show":"hide",[this]);const u=()=>{f.removeClass(r,c),f.trigger(r,s?"shown":"hidden",[this])};return i?i.then(u,()=>(f.removeClass(r,c),Promise.reject())):u()})).then(e,f.noop))},isToggled(t=this.$el){return[t]=f.toNodes(t),f.hasClass(t,this.clsEnter)?!0:f.hasClass(t,this.clsLeave)?!1:this.cls?f.hasClass(t,this.cls.split(" ")[0]):f.isVisible(t)},_toggle(t,o){if(!t)return;o=Boolean(o);let n;this.cls?(n=f.includes(this.cls," ")||o!==f.hasClass(t,this.cls),n&&f.toggleClass(t,this.cls,f.includes(this.cls," ")?void 0:o)):(n=o===t.hidden,n&&(t.hidden=!o)),f.$$("[autofocus]",t).some(e=>f.isVisible(e)?e.focus()||!0:e.blur()),n&&f.trigger(t,"toggled",[o,this])}}};function Dn(t,o,{_toggle:n}){return f.Animation.cancel(t),f.Transition.cancel(t),n(t,o)}async function Ln(t,o,{animation:n,duration:e,velocity:r,transition:s,_toggle:i}){var c;const[u="reveal",a="top"]=((c=n[0])==null?void 0:c.split("-"))||[],d=[["left","right"],["top","bottom"]],m=d[f.includes(d[0],a)?0:1],$=m[1]===a,y=["width","height"][d.indexOf(m)],E=`margin-${m[0]}`,b=`margin-${a}`;let wt=f.dimensions(t)[y];const qr=f.Transition.inProgress(t);await f.Transition.cancel(t),o&&i(t,!0);const Xr=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",E,b].map(Mn=>[Mn,t.style[Mn]])),vt=f.dimensions(t),vo=f.toFloat(f.css(t,E)),Sn=f.toFloat(f.css(t,b)),X=vt[y]+Sn;!qr&&!o&&(wt+=Sn);const[It]=f.wrapInner(t,"<div>");f.css(It,{boxSizing:"border-box",height:vt.height,width:vt.width,...f.css(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",b])}),f.css(t,{padding:0,border:0,minWidth:0,minHeight:0,[b]:0,width:vt.width,height:vt.height,overflow:"hidden",[y]:wt});const In=wt/X;e=(r*X+e)*(o?1-In:In);const Nn={[y]:o?X:0};$&&(f.css(t,E,X-wt+vo),Nn[E]=o?vo:X+vo),!$^u==="reveal"&&(f.css(It,E,-X+wt),f.Transition.start(It,{[E]:o?0:-X},e,s));try{await f.Transition.start(t,Nn,e,s)}finally{f.css(t,Xr),f.unwrap(It.firstChild),o||i(t,!1)}}function Fn(t,o,n){f.Animation.cancel(t);const{animation:e,duration:r,_toggle:s}=n;return o?(s(t,!0),f.Animation.in(t,e[0],r,n.origin)):f.Animation.out(t,e[1]||e[0],r,n.origin).then(()=>s(t,!1))}var Bn={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${f.isRtl?"right":"left"}`,offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=f.includes(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,o,n){let e=[this.getPositionOffset(t),this.getShiftOffset(t)];const r=[this.flip&&"flip",this.shift&&"shift"],s={element:[this.inset?this.dir:f.flipPosition(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const u in s)s[u].reverse();e.reverse(),r.reverse()}const i=jn(t),c=f.dimensions(t);f.css(t,{top:-c.height,left:-c.width}),f.positionAt(t,o,{attach:s,offset:e,boundary:n,placement:r,viewportOffset:this.getViewportOffset(t)}),i()},getPositionOffset(t){return f.toPx(this.offset===!1?f.css(t,"--uk-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(f.includes(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return this.align==="center"?0:f.toPx(f.css(t,"--uk-position-shift-offset"),this.axis==="y"?"width":"height",t)*(f.includes(["left","top"],this.align)?1:-1)},getViewportOffset(t){return f.toPx(f.css(t,"--uk-position-viewport-offset"))}}};function jn(t){const[o]=f.scrollParents(t),{scrollTop:n}=o;return()=>{n!==o.scrollTop&&(o.scrollTop=n)}}const zn={TAB:9,ESC:27,SPACE:32,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},{hasOwnProperty:Wn,toString:Hn}=Object.prototype;function M(t,o){return Wn.call(t,o)}const qn=/\B([A-Z])/g,et=I(t=>t.replace(qn,"-$1").toLowerCase()),Xn=/-(\w)/g,rt=I(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(Xn,(o,n)=>n.toUpperCase())),L=I(t=>t.charAt(0).toUpperCase()+t.slice(1));function F(t,o){var n;return(n=t==null?void 0:t.startsWith)==null?void 0:n.call(t,o)}function Yn(t,o){var n;return(n=t==null?void 0:t.endsWith)==null?void 0:n.call(t,o)}function Y(t,o){var n;return(n=t==null?void 0:t.includes)==null?void 0:n.call(t,o)}function bo(t,o){var n;return(n=t==null?void 0:t.findIndex)==null?void 0:n.call(t,o)}const{isArray:x,from:Jn}=Array,{assign:Nt}=Object;function _(t){return typeof t=="function"}function R(t){return t!==null&&typeof t=="object"}function D(t){return Hn.call(t)==="[object Object]"}function J(t){return R(t)&&t===t.window}function bt(t){return Rt(t)===9}function Mt(t){return Rt(t)>=1}function st(t){return Rt(t)===1}function Rt(t){return!J(t)&&R(t)&&t.nodeType}function $o(t){return typeof t=="boolean"}function w(t){return typeof t=="string"}function Dt(t){return typeof t=="number"}function $t(t){return Dt(t)||w(t)&&!isNaN(t-parseFloat(t))}function yo(t){return!(x(t)?t.length:R(t)&&Object.keys(t).length)}function O(t){return t===void 0}function Lt(t){return $o(t)?t:t==="true"||t==="1"||t===""?!0:t==="false"||t==="0"?!1:t}function it(t){const o=Number(t);return isNaN(o)?!1:o}function T(t){return parseFloat(t)||0}function g(t){return l(t)[0]}function l(t){return Mt(t)?[t]:Array.from(t||[]).filter(Mt)}function K(t){if(J(t))return t;t=g(t);const o=bt(t)?t:t==null?void 0:t.ownerDocument;return(o==null?void 0:o.defaultView)||window}function Ft(t,o){return t===o||R(t)&&R(o)&&Object.keys(t).length===Object.keys(o).length&&yt(t,(n,e)=>n===o[e])}function Kn(t,o,n){return t.replace(new RegExp(`${o}|${n}`,"g"),e=>e===o?n:o)}function xo(t){return t[t.length-1]}function yt(t,o){for(const n in t)if(o(t[n],n)===!1)return!1;return!0}function To(t,o){return t.slice().sort(({[o]:n=0},{[o]:e=0})=>n>e?1:e>n?-1:0)}function Bt(t,o){return t.reduce((n,e)=>n+T(_(o)?o(e):e[o]),0)}function Gn(t,o){const n=new Set;return t.filter(({[o]:e})=>n.has(e)?!1:n.add(e))}function Zn(t,o){return o.reduce((n,e)=>({...n,[e]:t[e]}),{})}function G(t,o=0,n=1){return Math.min(Math.max(it(t)||0,o),n)}function xt(){}function Po(...t){return[["bottom","top"],["right","left"]].every(([o,n])=>Math.min(...t.map(({[o]:e})=>e))-Math.max(...t.map(({[n]:e})=>e))>0)}function jt(t,o){return t.x<=o.right&&t.x>=o.left&&t.y<=o.bottom&&t.y>=o.top}function zt(t,o,n){const e=o==="width"?"height":"width";return{[e]:t[o]?Math.round(n*t[e]/t[o]):t[e],[o]:n}}function Eo(t,o){t={...t};for(const n in t)t=t[n]>o[n]?zt(t,n,o[n]):t;return t}function Qn(t,o){t=Eo(t,o);for(const n in t)t=t[n]<o[n]?zt(t,n,o[n]):t;return t}const Vn={ratio:zt,contain:Eo,cover:Qn};function kn(t,o,n=0,e=!1){o=l(o);const{length:r}=o;return r?(t=$t(t)?it(t):t==="next"?n+1:t==="previous"?n-1:t==="last"?r-1:o.indexOf(g(t)),e?G(t,0,r-1):(t%=r,t<0?t+r:t)):-1}function I(t){const o=Object.create(null);return n=>o[n]||(o[n]=t(n))}class Un{constructor(){this.promise=new Promise((o,n)=>{this.reject=n,this.resolve=o})}}function B(t,o,n){var e;if(R(o)){for(const r in o)B(t,r,o[r]);return}if(O(n))return(e=g(t))==null?void 0:e.getAttribute(o);for(const r of l(t))_(n)&&(n=n.call(r,B(r,o))),n===null?_o(r,o):r.setAttribute(o,n)}function Oo(t,o){return l(t).some(n=>n.hasAttribute(o))}function _o(t,o){l(t).forEach(n=>n.removeAttribute(o))}function Wt(t,o){for(const n of[o,`data-${o}`])if(Oo(t,n))return B(t,n)}const te={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function oe(t){return l(t).some(o=>te[o.tagName.toLowerCase()])}function Tt(t){return l(t).some(o=>o.offsetWidth||o.offsetHeight||o.getClientRects().length)}const Ht="input,select,textarea,button";function ne(t){return l(t).some(o=>Z(o,Ht))}const Co=`${Ht},a[href],[tabindex]`;function ee(t){return Z(t,Co)}function ct(t){var o;return(o=g(t))==null?void 0:o.parentElement}function Ao(t,o){return l(t).filter(n=>Z(n,o))}function Z(t,o){return l(t).some(n=>n.matches(o))}function ft(t,o){return st(t)?t.closest(F(o,">")?o.slice(1):o):l(t).map(n=>ft(n,o)).filter(Boolean)}function Pt(t,o){return w(o)?!!ft(t,o):g(o).contains(g(t))}function qt(t,o){const n=[];for(;t=ct(t);)(!o||Z(t,o))&&n.push(t);return n}function So(t,o){t=g(t);const n=t?l(t.children):[];return o?Ao(n,o):n}function Io(t,o){return o?l(t).indexOf(g(o)):So(ct(t)).indexOf(t)}function No(t){return t=g(t),t&&["origin","pathname","search"].every(o=>t[o]===location[o])}function re(t){if(No(t)){t=g(t);const o=decodeURIComponent(t.hash).substring(1);return document.getElementById(o)||document.getElementsByName(o)[0]}}function se(t,o){return Xt(t,Ro(t,o))}function ie(t,o){return ut(t,Ro(t,o))}function Xt(t,o){return g(Do(t,g(o),"querySelector"))}function ut(t,o){return l(Do(t,g(o),"querySelectorAll"))}const ce=/(^|[^\\],)\s*[!>+~-]/,Mo=I(t=>t.match(ce));function Ro(t,o=document){return w(t)&&Mo(t)||bt(o)?o:o.ownerDocument}const fe=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,ue=I(t=>t.replace(fe,"$1 *"));function Do(t,o=document,n){if(!t||!w(t))return t;if(t=ue(t),Mo(t)){const e=de(t);t="";for(let r of e){let s=o;if(r[0]==="!"){const i=r.substr(1).trim().split(" ");if(s=ft(ct(o),i[0]),r=i.slice(1).join(" ").trim(),!r.length&&e.length===1)return s}if(r[0]==="-"){const i=r.substr(1).trim().split(" "),c=(s||o).previousElementSibling;s=Z(c,r.substr(1))?c:null,r=i.slice(1).join(" ")}s&&(t+=`${t?",":""}${le(s)} ${r}`)}o=document}try{return o[n](t)}catch{return null}}const ae=/.*?[^\\](?:,|$)/g,de=I(t=>t.match(ae).map(o=>o.replace(/,$/,"").trim()));function le(t){const o=[];for(;t.parentNode;){const n=B(t,"id");if(n){o.unshift(`#${Lo(n)}`);break}else{let{tagName:e}=t;e!=="HTML"&&(e+=`:nth-child(${Io(t)+1})`),o.unshift(e),t=t.parentNode}}return o.join(" > ")}function Lo(t){return w(t)?CSS.escape(t):""}function j(...t){let[o,n,e,r,s=!1]=Yt(t);r.length>1&&(r=pe(r)),s!=null&&s.self&&(r=ge(r)),e&&(r=he(e,r));for(const i of n)for(const c of o)c.addEventListener(i,r,s);return()=>Fo(o,n,r,s)}function Fo(...t){let[o,n,,e,r=!1]=Yt(t);for(const s of n)for(const i of o)i.removeEventListener(s,e,r)}function Q(...t){const[o,n,e,r,s=!1,i]=Yt(t),c=j(o,n,e,u=>{const a=!i||i(u);a&&(c(),r(u,a))},s);return c}function z(t,o,n){return Jt(t).every(e=>e.dispatchEvent(Bo(o,!0,!0,n)))}function Bo(t,o=!0,n=!1,e){return w(t)&&(t=new CustomEvent(t,{bubbles:o,cancelable:n,detail:e})),t}function Yt(t){return t[0]=Jt(t[0]),w(t[1])&&(t[1]=t[1].split(" ")),_(t[2])&&t.splice(2,0,!1),t}function he(t,o){return n=>{const e=t[0]===">"?ut(t,n.currentTarget).reverse().filter(r=>Pt(n.target,r))[0]:ft(n.target,t);e&&(n.current=e,o.call(this,n),delete n.current)}}function pe(t){return o=>x(o.detail)?t(o,...o.detail):t(o)}function ge(t){return function(o){if(o.target===o.currentTarget||o.target===o.current)return t.call(null,o)}}function jo(t){return t&&"addEventListener"in t}function me(t){return jo(t)?t:g(t)}function Jt(t){return x(t)?t.map(me).filter(Boolean):w(t)?ut(t):jo(t)?[t]:l(t)}function we(t){return t.pointerType==="touch"||!!t.touches}function zo(t){var o,n;const{clientX:e,clientY:r}=((o=t.touches)==null?void 0:o[0])||((n=t.changedTouches)==null?void 0:n[0])||t;return{x:e,y:r}}const ve={"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 h(t,o,n,e){const r=l(t);for(const s of r)if(w(o)){if(o=Kt(o),O(n))return getComputedStyle(s).getPropertyValue(o);s.style.setProperty(o,$t(n)&&!ve[o]?`${n}px`:n||Dt(n)?n:"",e)}else if(x(o)){const i={};for(const c of o)i[c]=h(s,c);return i}else R(o)&&(e=n,yt(o,(i,c)=>h(s,c,i,e)));return r[0]}const Kt=I(t=>be(t));function be(t){if(F(t,"--"))return t;t=et(t);const{style:o}=document.documentElement;if(t in o)return t;for(const n of["webkit","moz"]){const e=`-${n}-${t}`;if(e in o)return e}}function V(t,...o){qo(t,o,"add")}function Gt(t,...o){qo(t,o,"remove")}function Wo(t,o){B(t,"class",n=>(n||"").replace(new RegExp(`\\b${o}\\b\\s?`,"g"),""))}function $e(t,...o){o[0]&&Gt(t,o[0]),o[1]&&V(t,o[1])}function Ho(t,o){return[o]=Zt(o),!!o&&l(t).some(n=>n.classList.contains(o))}function ye(t,o,n){const e=Zt(o);O(n)||(n=!!n);for(const r of l(t))for(const s of e)r.classList.toggle(s,n)}function qo(t,o,n){o=o.reduce((e,r)=>e.concat(Zt(r)),[]);for(const e of l(t))e.classList[n](...o)}function Zt(t){return String(t).split(/[ ,]/).filter(Boolean)}function xe(t,o,n=400,e="linear"){return n=Math.round(n),Promise.all(l(t).map(r=>new Promise((s,i)=>{for(const u in o){const a=h(r,u);a===""&&h(r,u,a)}const c=setTimeout(()=>z(r,"transitionend"),n);Q(r,"transitionend transitioncanceled",({type:u})=>{clearTimeout(c),Gt(r,"uk-transition"),h(r,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),u==="transitioncanceled"?i():s(r)},{self:!0}),V(r,"uk-transition"),h(r,{transitionProperty:Object.keys(o).map(Kt).join(","),transitionDuration:`${n}ms`,transitionTimingFunction:e,...o})})))}const Te={start:xe,async stop(t){z(t,"transitionend"),await Promise.resolve()},async cancel(t){z(t,"transitioncanceled"),await Promise.resolve()},inProgress(t){return Ho(t,"uk-transition")}},at="uk-animation-";function Xo(t,o,n=200,e,r){return Promise.all(l(t).map(s=>new Promise((i,c)=>{z(s,"animationcanceled");const u=setTimeout(()=>z(s,"animationend"),n);Q(s,"animationend animationcanceled",({type:a})=>{clearTimeout(u),a==="animationcanceled"?c():i(s),h(s,"animationDuration",""),Wo(s,`${at}\\S*`)},{self:!0}),h(s,"animationDuration",`${n}ms`),V(s,o,at+(r?"leave":"enter")),F(o,at)&&(e&&V(s,`uk-transform-origin-${e}`),r&&V(s,`${at}reverse`))})))}const Pe=new RegExp(`${at}(enter|leave)`),Ee={in:Xo,out(t,o,n,e){return Xo(t,o,n,e,!0)},inProgress(t){return Pe.test(B(t,"class"))},cancel(t){z(t,"animationcanceled")}};function Oe(t){if(document.readyState!=="loading"){t();return}Q(document,"DOMContentLoaded",t)}function Qt(t,...o){return o.some(n=>{var e;return((e=t==null?void 0:t.tagName)==null?void 0:e.toLowerCase())===n.toLowerCase()})}function Yo(t){return t=W(t),t.innerHTML="",t}function _e(t,o){return O(o)?W(t).innerHTML:dt(Yo(t),o)}const Ce=Et("prepend"),dt=Et("append"),Jo=Et("before"),Ae=Et("after");function Et(t){return function(o,n){var e;const r=l(w(n)?Ot(n):n);return(e=W(o))==null||e[t](...r),Go(r)}}function Vt(t){l(t).forEach(o=>o.remove())}function Ko(t,o){for(o=g(Jo(t,o));o.firstChild;)o=o.firstChild;return dt(o,t),o}function Se(t,o){return l(l(t).map(n=>n.hasChildNodes()?Ko(l(n.childNodes),o):dt(n,o)))}function Ie(t){l(t).map(ct).filter((o,n,e)=>e.indexOf(o)===n).forEach(o=>o.replaceWith(...o.childNodes))}const Ne=/^\s*<(\w+|!)[^>]*>/,Me=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ot(t){const o=Me.exec(t);if(o)return document.createElement(o[1]);const n=document.createElement("div");return Ne.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,Go(n.childNodes)}function Go(t){return t.length>1?t:t[0]}function kt(t,o){if(st(t))for(o(t),t=t.firstElementChild;t;){const n=t.nextElementSibling;kt(t,o),t=n}}function W(t,o){return Qo(t)?g(Ot(t)):Xt(t,o)}function Zo(t,o){return Qo(t)?l(Ot(t)):ut(t,o)}function Qo(t){return w(t)&&F(t.trim(),"<")}const H={width:["left","right"],height:["top","bottom"]};function Ut(t){const o=st(t)?g(t).getBoundingClientRect():{height:ko(t),width:oo(t),top:0,left:0};return{height:o.height,width:o.width,top:o.top,left:o.left,bottom:o.top+o.height,right:o.left+o.width}}function A(t,o){const n=Ut(t);if(t){const{scrollY:r,scrollX:s}=K(t),i={height:r,width:s};for(const c in H)for(const u of H[c])n[u]+=i[c]}if(!o)return n;const e=h(t,"position");yt(h(t,["left","top"]),(r,s)=>h(t,s,o[s]-n[s]+T(e==="absolute"&&r==="auto"?Vo(t)[s]:r)))}function Vo(t){let{top:o,left:n}=A(t);const{ownerDocument:{body:e,documentElement:r},offsetParent:s}=g(t);let i=s||r;for(;i&&(i===e||i===r)&&h(i,"position")==="static";)i=i.parentNode;if(st(i)){const c=A(i);o-=c.top+T(h(i,"borderTopWidth")),n-=c.left+T(h(i,"borderLeftWidth"))}return{top:o-T(h(t,"marginTop")),left:n-T(h(t,"marginLeft"))}}function to(t){t=g(t);const o=[t.offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(o[0]+=t.offsetTop+T(h(t,"borderTopWidth")),o[1]+=t.offsetLeft+T(h(t,"borderLeftWidth")),h(t,"position")==="fixed"){const n=K(t);return o[0]+=n.scrollY,o[1]+=n.scrollX,o}return o}const ko=Uo("height"),oo=Uo("width");function Uo(t){const o=L(t);return(n,e)=>{if(O(e)){if(J(n))return n[`inner${o}`];if(bt(n)){const r=n.documentElement;return Math.max(r[`offset${o}`],r[`scroll${o}`])}return n=g(n),e=h(n,t),e=e==="auto"?n[`offset${o}`]:T(e)||0,e-no(n,t)}else return h(n,t,!e&&e!==0?"":+e+no(n,t)+"px")}}function no(t,o,n="border-box"){return h(t,"boxSizing")===n?Bt(H[o].map(L),e=>T(h(t,`padding${e}`))+T(h(t,`border${e}Width`))):0}function Re(t){for(const o in H)for(const n in H[o])if(H[o][n]===t)return H[o][1-n];return t}function De(t,o="width",n=window,e=!1){return w(t)?Bt(Fe(t),r=>{const s=je(r);return s?ze(s==="vh"?We():s==="vw"?oo(K(n)):e?n[`offset${L(o)}`]:Ut(n)[o],r):r}):T(t)}const Le=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Fe=I(t=>t.toString().replace(/\s/g,"").match(Le)||[]),Be=/(?:v[hw]|%)$/,je=I(t=>(t.match(Be)||[])[0]);function ze(t,o){return t*T(o)/100}let lt,k;function We(){return lt||(k||(k=W("<div>"),h(k,{height:"100vh",position:"fixed"}),j(window,"resize",()=>lt=null)),dt(document.body,k),lt=k.clientHeight,Vt(k),lt)}const ht=typeof window<"u",He=ht&&document.dir==="rtl",U=ht&&"ontouchstart"in window,tt=ht&&window.PointerEvent,qe=tt?"pointerdown":U?"touchstart":"mousedown",Xe=tt?"pointermove":U?"touchmove":"mousemove",Ye=tt?"pointerup":U?"touchend":"mouseup",Je=tt?"pointerenter":U?"":"mouseenter",Ke=tt?"pointerleave":U?"":"mouseleave",Ge=tt?"pointercancel":"touchcancel",S={reads:[],writes:[],read(t){return this.reads.push(t),ro(),t},write(t){return this.writes.push(t),ro(),t},clear(t){on(this.reads,t),on(this.writes,t)},flush:eo};function eo(t){tn(S.reads),tn(S.writes.splice(0)),S.scheduled=!1,(S.reads.length||S.writes.length)&&ro(t+1)}const Ze=4;function ro(t){S.scheduled||(S.scheduled=!0,t&&t<Ze?Promise.resolve().then(()=>eo(t)):requestAnimationFrame(()=>eo(1)))}function tn(t){let o;for(;o=t.shift();)try{o()}catch(n){console.error(n)}}function on(t,o){const n=t.indexOf(o);return~n&&t.splice(n,1)}function nn(){}nn.prototype={positions:[],init(){this.positions=[];let t;this.unbind=j(document,"mousemove",o=>t=zo(o)),this.interval=setInterval(()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)},cancel(){var t;(t=this.unbind)==null||t.call(this),clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const o=t.getBoundingClientRect(),{left:n,right:e,top:r,bottom:s}=o,[i]=this.positions,c=xo(this.positions),u=[i,c];return jt(c,o)?!1:[[{x:n,y:r},{x:e,y:s}],[{x:n,y:s},{x:e,y:r}]].some(d=>{const m=Qe(u,d);return m&&jt(m,o)})}};function Qe([{x:t,y:o},{x:n,y:e}],[{x:r,y:s},{x:i,y:c}]){const u=(c-s)*(n-t)-(i-r)*(e-o);if(u===0)return!1;const a=((i-r)*(o-s)-(c-s)*(t-r))/u;return a<0?!1:{x:t+a*(n-t),y:o+a*(e-o)}}function Ve(t,o,n={},e=!0){const r=new IntersectionObserver(e?(s,i)=>{s.some(c=>c.isIntersecting)&&o(s,i)}:o,n);for(const s of l(t))r.observe(s);return r}const ke=ht&&window.ResizeObserver;function Ue(t,o,n={box:"border-box"}){return ke?en(ResizeObserver,t,o,n):(tr(),pt.add(o),{observe:xt,unobserve:xt,disconnect(){pt.delete(o)}})}let pt;function tr(){if(pt)return;pt=new Set;let t;const o=()=>{if(!t){t=!0,requestAnimationFrame(()=>t=!1);for(const n of pt)n()}};j(window,"load resize",o),j(document,"loadedmetadata load",o,!0)}function or(t,o,n){return en(MutationObserver,t,o,n)}function en(t,o,n,e){const r=new t(n);for(const s of l(o))r.observe(s,e);return r}function nr(t){if(Ct(t)&&so(t,{func:"playVideo",method:"play"}),_t(t))try{t.play().catch(xt)}catch{}}function er(t){Ct(t)&&so(t,{func:"pauseVideo",method:"pause"}),_t(t)&&t.pause()}function rr(t){Ct(t)&&so(t,{func:"mute",method:"setVolume",value:0}),_t(t)&&(t.muted=!0)}function sr(t){return _t(t)||Ct(t)}function _t(t){return Qt(t,"video")}function Ct(t){return Qt(t,"iframe")&&(rn(t)||sn(t))}function rn(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function sn(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function so(t,o){await cr(t),cn(t,o)}function cn(t,o){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...o}),"*")}catch{}}const io="_ukPlayer";let ir=0;function cr(t){if(t[io])return t[io];const o=rn(t),n=sn(t),e=++ir;let r;return t[io]=new Promise(s=>{o&&Q(t,"load",()=>{const i=()=>cn(t,{event:"listening",id:e});r=setInterval(i,100),i()}),Q(window,"message",s,!1,({data:i})=>{try{return i=JSON.parse(i),o&&(i==null?void 0:i.id)===e&&i.event==="onReady"||n&&Number(i==null?void 0:i.player_id)===e}catch{}}),t.src=`${t.src}${Y(t.src,"?")?"&":"?"}${o?"enablejsapi=1":`api=1&player_id=${e}`}`}).then(()=>clearInterval(r))}function fr(t,o=0,n=0){return Tt(t)?Po(...co(t).map(e=>{const{top:r,left:s,bottom:i,right:c}=N(e);return{top:r-o,left:s-n,bottom:i+o,right:c+n}}).concat(A(t))):!1}function ur(t,{offset:o=0}={}){const n=Tt(t)?At(t,!1,["hidden"]):[];return n.reduce((i,c,u)=>{const{scrollTop:a,scrollHeight:d,offsetHeight:m}=c,$=N(c),P=d-$.height,{height:y,top:E}=n[u-1]?N(n[u-1]):A(t);let b=Math.ceil(E-$.top-o+a);return o>0&&m<y+o?b+=o:o=0,b>P?(o-=b-P,b=P):b<0&&(o-=b,b=0),()=>e(c,b-a).then(i)},()=>Promise.resolve())();function e(i,c){return new Promise(u=>{const a=i.scrollTop,d=r(Math.abs(c)),m=Date.now();(function $(){const P=s(G((Date.now()-m)/d));i.scrollTop=a+c*P,P===1?u():requestAnimationFrame($)})()})}function r(i){return 40*Math.pow(i,.375)}function s(i){return .5*(1-Math.cos(Math.PI*i))}}function ar(t,o=0,n=0){if(!Tt(t))return 0;const[e]=At(t,!0),{scrollHeight:r,scrollTop:s}=e,{height:i}=N(e),c=r-i,u=to(t)[0]-to(e)[0],a=Math.max(0,u-i+o),d=Math.min(c,u+t.offsetHeight-n);return G((s-a)/(d-a))}function At(t,o=!1,n=[]){const e=fn(t);let r=qt(t).reverse();r=r.slice(r.indexOf(e)+1);const s=bo(r,i=>h(i,"position")==="fixed");return~s&&(r=r.slice(s)),[e].concat(r.filter(i=>h(i,"overflow").split(" ").some(c=>Y(["auto","scroll",...n],c))&&(!o||i.scrollHeight>N(i).height))).reverse()}function co(t){return At(t,!1,["hidden","clip"])}function N(t){const o=K(t),{visualViewport:n,document:{documentElement:e}}=o;let r=t===fn(t)?o:t;if(J(r)&&n){let{height:i,width:c,scale:u,pageTop:a,pageLeft:d}=n;return i=Math.round(i*u),c=Math.round(c*u),{height:i,width:c,top:a,left:d,bottom:a+i,right:d+c}}let s=A(r);if(h(r,"display")==="inline")return s;for(let[i,c,u,a]of[["width","x","left","right"],["height","y","top","bottom"]])J(r)?r=e:s[u]+=T(h(r,`border-${u}-width`)),s[i]=s[c]=r[`client${L(i)}`],s[a]=s[i]+s[u];return s}function fn(t){return K(t).document.scrollingElement}const C=[["width","x","left","right"],["height","y","top","bottom"]];function dr(t,o,n){n={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],placement:[],...n},x(o)||(o=[o,o]),A(t,un(t,o,n))}function un(t,o,n){const e=an(t,o,n),{boundary:r,viewportOffset:s=0,placement:i}=n;let c=e;for(const[u,[a,,d,m]]of Object.entries(C)){const $=lr(t,o[u],s,r,u);if(St(e,$,u))continue;let P=0;if(i[u]==="flip"){const y=n.attach.target[u];if(y===m&&e[m]<=$[m]||y===d&&e[d]>=$[d])continue;P=pr(t,o,n,u)[d]-e[d];const E=hr(t,o[u],s,u);if(!St(fo(e,P,u),E,u)){if(St(e,E,u))continue;if(n.recursion)return!1;const b=gr(t,o,n);if(b&&St(b,E,1-u))return b;continue}}else if(i[u]==="shift"){const y=A(o[u]),{offset:E}=n;P=G(G(e[d],$[d],$[m]-e[a]),y[d]-e[a]+E[u],y[m]-E[u])-e[d]}c=fo(c,P,u)}return c}function an(t,o,n){let{attach:e,offset:r}={attach:{element:["left","top"],target:["left","top"],...n.attach},offset:[0,0],...n},s=A(t);for(const[i,[c,,u,a]]of Object.entries(C)){const d=e.target[i]===e.element[i]?N(o[i]):A(o[i]);s=fo(s,d[u]-s[u]+dn(e.target[i],a,d[c])-dn(e.element[i],a,s[c])+ +r[i],i)}return s}function fo(t,o,n){const[,e,r,s]=C[n],i={...t};return i[r]=t[e]=t[r]+o,i[s]+=o,i}function dn(t,o,n){return t==="center"?n/2:t===o?n:0}function lr(t,o,n,e,r){let s=hn(...ln(t,o).map(N));return n&&(s[C[r][2]]+=n,s[C[r][3]]-=n),e&&(s=hn(s,A(x(e)?e[r]:e))),s}function hr(t,o,n,e){const[r,s,i,c]=C[e],[u]=ln(t,o),a=N(u);return["auto","scroll"].includes(h(u,`overflow-${s}`))&&(a[i]-=u[`scroll${L(i)}`],a[c]=a[i]+u[`scroll${L(r)}`]),a[i]+=n,a[c]-=n,a}function ln(t,o){return co(o).filter(n=>Pt(t,n))}function hn(...t){let o={};for(const n of t)for(const[,,e,r]of C)o[e]=Math.max(o[e]||0,n[e]),o[r]=Math.min(...[o[r],n[r]].filter(Boolean));return o}function St(t,o,n){const[,,e,r]=C[n];return t[e]>=o[e]&&t[r]<=o[r]}function pr(t,o,{offset:n,attach:e},r){return an(t,o,{attach:{element:pn(e.element,r),target:pn(e.target,r)},offset:mr(n,r)})}function gr(t,o,n){return un(t,o,{...n,attach:{element:n.attach.element.map(gn).reverse(),target:n.attach.target.map(gn).reverse()},offset:n.offset.reverse(),placement:n.placement.reverse(),recursion:!0})}function pn(t,o){const n=[...t],e=C[o].indexOf(t[o]);return~e&&(n[o]=C[o][1-e%2+2]),n}function gn(t){for(let o=0;o<C.length;o++){const n=C[o].indexOf(t);if(~n)return C[1-o][n%2+2]}}function mr(t,o){return t=[...t],t[o]*=-1,t}var wr=Object.freeze({__proto__:null,$:W,$$:Zo,Animation:Ee,Deferred:Un,Dimensions:Vn,MouseTracker:nn,Transition:Te,addClass:V,after:Ae,append:dt,apply:kt,assign:Nt,attr:B,before:Jo,boxModelAdjust:no,camelize:rt,children:So,clamp:G,closest:ft,createEvent:Bo,css:h,data:Wt,dimensions:Ut,each:yt,empty:Yo,endsWith:Yn,escape:Lo,fastdom:S,filter:Ao,find:Xt,findAll:ut,findIndex:bo,flipPosition:Re,fragment:Ot,getEventPos:zo,getIndex:kn,getTargetedElement:re,hasAttr:Oo,hasClass:Ho,hasOwn:M,hasTouch:U,height:ko,html:_e,hyphenate:et,inBrowser:ht,includes:Y,index:Io,intersectRect:Po,isArray:x,isBoolean:$o,isDocument:bt,isElement:st,isEmpty:yo,isEqual:Ft,isFocusable:ee,isFunction:_,isInView:fr,isInput:ne,isNode:Mt,isNumber:Dt,isNumeric:$t,isObject:R,isPlainObject:D,isRtl:He,isSameSiteAnchor:No,isString:w,isTag:Qt,isTouch:we,isUndefined:O,isVideo:sr,isVisible:Tt,isVoidElement:oe,isWindow:J,last:xo,matches:Z,memoize:I,mute:rr,noop:xt,observeIntersection:Ve,observeMutation:or,observeResize:Ue,off:Fo,offset:A,offsetPosition:to,offsetViewport:N,on:j,once:Q,overflowParents:co,parent:ct,parents:qt,pause:er,pick:Zn,play:nr,pointInRect:jt,pointerCancel:Ge,pointerDown:qe,pointerEnter:Je,pointerLeave:Ke,pointerMove:Xe,pointerUp:Ye,position:Vo,positionAt:dr,prepend:Ce,propName:Kt,query:se,queryAll:ie,ready:Oe,remove:Vt,removeAttr:_o,removeClass:Gt,removeClasses:Wo,replaceClass:$e,scrollIntoView:ur,scrollParents:At,scrolledOver:ar,selFocusable:Co,selInput:Ht,sortBy:To,startsWith:F,sumBy:Bt,swap:Kn,toArray:Jn,toBoolean:Lt,toEventTargets:Jt,toFloat:T,toNode:g,toNodes:l,toNumber:it,toPx:De,toWindow:K,toggleClass:ye,trigger:z,ucfirst:L,uniqueBy:Gn,unwrap:Ie,width:oo,within:Pt,wrapAll:Ko,wrapInner:Se});function vr(t){t._observers=[],t._observerUpdates=new Map;for(const o of t.$options.observe||[])if(M(o,"handler"))mn(t,o);else for(const n in o)mn(t,o[n],n)}function uo(t,...o){t._observers.push(...o)}function br(t){for(const o of t._observers)o==null||o.disconnect(),t._observerUpdates.delete(o)}function $r(t){for(const[o,n]of t._observerUpdates)n(o)}function mn(t,o,n){let{observe:e,target:r=t.$el,handler:s,options:i,filter:c,args:u}=D(o)?o:{type:n,handler:o};if(c&&!c.call(t,t))return;const a=_(r)?r.call(t,t):r;s=w(s)?t[s]:s.bind(t),_(i)&&(i=i.call(t,t));const d=e(a,s,i,u);_(r)&&x(a)&&d.unobserve&&t._observerUpdates.set(d,yr(t,r,a)),uo(t,d)}function yr(t,o,n){return e=>{const r=o.call(t,t);Ft(n,r)||(n.forEach(s=>!Y(r,s)&&e.unobserve(s)),r.forEach(s=>!Y(n,s)&&e.observe(s)),n.splice(0,n.length,...r))}}function wn(t){if(t._watch)return;const o=!M(t,"_watch");t._watch=S.read(()=>{t._connected&&xr(t,o),t._watch=null})}function xr(t,o){const n={...t._computed};t._computed={};for(const[e,{watch:r,immediate:s}]of Object.entries(t.$options.computed||{}))r&&(o&&s||M(n,e)&&!Ft(n[e],t[e]))&&r.call(t,t[e],o?void 0:n[e]);$r(t)}function ao(t,o="update"){t._connected&&((o==="update"||o==="resize")&&wn(t),t.$options.update&&(t._updates||(t._updates=new Set,S.read(()=>{t._connected&&Tr(t,t._updates),delete t._updates})),t._updates.add(o.type||o)))}function Tr(t,o){for(const{read:n,write:e,events:r=[]}of t.$options.update){if(!o.has("update")&&!r.some(i=>o.has(i)))continue;let s;n&&(s=n.call(t,t._data,o),s&&D(s)&&Nt(t._data,s)),e&&s!==!1&&S.write(()=>{t._connected&&e.call(t,t._data,o)})}}function Pr(t){let{el:o,computed:n,observe:e}=t.$options;if(!n&&!(e!=null&&e.some(s=>_(s.target))))return;for(const s in n||{})if(n[s].document){o=o.ownerDocument;break}const r=new MutationObserver(()=>wn(t));r.observe(o,{childList:!0,subtree:!0}),uo(t,r)}function Er(t){t._events=[];for(const o of t.$options.events||[])if(M(o,"handler"))lo(t,o);else for(const n in o)lo(t,o[n],n)}function Or(t){t._events.forEach(o=>o()),delete t._events}function lo(t,o,n){let{name:e,el:r,handler:s,capture:i,passive:c,delegate:u,filter:a,self:d}=D(o)?o:{name:n,handler:o};if(r=_(r)?r.call(t,t):r||t.$el,x(r)){r.forEach(m=>lo(t,{...o,el:m},n));return}!r||a&&!a.call(t)||t._events.push(j(r,e,u?w(u)?u:u.call(t,t):null,w(s)?t[s]:s.bind(t),{passive:c,capture:i,self:d}))}const v={};v.events=v.observe=v.created=v.beforeConnect=v.connected=v.beforeDisconnect=v.disconnected=v.destroy=ho,v.args=function(t,o){return o!==!1&&ho(o||t)},v.update=function(t,o){return To(ho(t,_(o)?{read:o}:o),"order")},v.props=function(t,o){if(x(o)){const n={};for(const e of o)n[e]=String;o=n}return v.methods(t,o)},v.computed=v.methods=function(t,o){return o?t?{...t,...o}:o:t},v.i18n=v.data=function(t,o,n){return n?vn(t,o,n):o?t?function(e){return vn(t,o,e)}:o:t};function vn(t,o,n){return v.computed(_(t)?t.call(n,n):t,_(o)?o.call(n,n):o)}function ho(t,o){return t=t&&!x(t)?[t]:t,o?t?t.concat(o):x(o)?o:[o]:t}function _r(t,o){return O(o)?t:o}function gt(t,o,n){const e={};if(_(o)&&(o=o.options),o.extends&&(t=gt(t,o.extends,n)),o.mixins)for(const s of o.mixins)t=gt(t,s,n);for(const s in t)r(s);for(const s in o)M(t,s)||r(s);function r(s){e[s]=(v[s]||_r)(t[s],o[s],n)}return e}function bn(t,o=[]){try{return t?F(t,"{")?JSON.parse(t):o.length&&!Y(t,":")?{[o[0]]:t}:t.split(";").reduce((n,e)=>{const[r,s]=e.split(/:(.*)/);return r&&!O(s)&&(n[r.trim()]=s.trim()),n},{}):{}}catch{return{}}}function po(t,o){return t===Boolean?Lt(o):t===Number?it(o):t==="list"?Cr(o):t===Object&&w(o)?bn(o):t?t(o):o}function Cr(t){return x(t)?t:w(t)?t.split(/,(?![^(]*\))/).map(o=>$t(o)?it(o):Lt(o.trim())):[t]}function Ar(t){const o=$n(t.$options);for(let e in o)O(o[e])||(t.$props[e]=o[e]);const n=[t.$options.computed,t.$options.methods];for(let e in t.$props)e in o&&Sr(n,e)&&(t[e]=t.$props[e])}function $n(t){const o={},{args:n=[],props:e={},el:r,id:s}=t;if(!e)return o;for(const c in e){const u=et(c);let a=Wt(r,u);O(a)||(a=e[c]===Boolean&&a===""?!0:po(e[c],a),!(u==="target"&&F(a,"_"))&&(o[c]=a))}const i=bn(Wt(r,s),n);for(const c in i){const u=rt(c);O(e[u])||(o[u]=po(e[u],i[c]))}return o}function Sr(t,o){return t.every(n=>!n||!M(n,o))}function Ir(t){const{$options:o,$props:n}=t,{id:e,attrs:r,props:s,el:i}=o;if(!s||r===!1)return;const c=x(r)?r:Object.keys(s),u=c.map(d=>et(d)).concat(e),a=new MutationObserver(d=>{const m=$n(o);d.some(({attributeName:$})=>{const P=$.replace("data-","");return(P===e?c:[rt(P),rt($)]).some(y=>!O(m[y])&&m[y]!==n[y])})&&t.$reset()});a.observe(i,{attributes:!0,attributeFilter:u.concat(u.map(d=>`data-${d}`))}),uo(t,a)}function ot(t,o){var n;(n=t.$options[o])==null||n.forEach(e=>e.call(t))}function yn(t){t._connected||(t._data={},t._computed={},Ar(t),ot(t,"beforeConnect"),t._connected=!0,Er(t),vr(t),Ir(t),Pr(t),ot(t,"connected"),ao(t))}function xn(t){t._connected&&(ot(t,"beforeDisconnect"),br(t),Or(t),ot(t,"disconnected"),t._connected=!1,delete t._watch)}function Nr(t){const{computed:o}=t.$options;if(t._computed={},o)for(const n in o)Mr(t,n,o[n])}function Mr(t,o,n){Object.defineProperty(t,o,{enumerable:!0,get(){const{_computed:e,$props:r,$el:s}=t;return M(e,o)||(e[o]=(n.get||n).call(t,r,s)),e[o]},set(e){const{_computed:r}=t;r[o]=n.set?n.set.call(t,e):e,O(r[o])&&delete r[o]}})}let Rr=0;function Tn(t,o={}){o.data=Fr(o,t.constructor.options),t.$options=gt(t.constructor.options,o,t),t.$props={},t._uid=Rr++,Dr(t),Lr(t),Nr(t),ot(t,"created"),o.el&&t.$mount(o.el)}function Dr(t){const{data:o={}}=t.$options;for(const n in o)t.$props[n]=t[n]=o[n]}function Lr(t){const{methods:o}=t.$options;if(o)for(const n in o)t[n]=o[n].bind(t)}function Fr({data:t={}},{args:o=[],props:n={}}){x(t)&&(t=t.slice(0,o.length).reduce((e,r,s)=>(D(r)?Nt(e,r):e[o[s]]=r,e),{}));for(const e in t)O(t[e])?delete t[e]:n[e]&&(t[e]=po(n[e],t[e]));return t}const p=function(t){Tn(this,t)};p.util=wr,p.options={},p.version="3.16.6-dev.64eba8a3c";const Br="uk-",q="__uikit__",mt={};function Pn(t,o){var n;const e=Br+et(t);if(!o)return D(mt[e])&&(mt[e]=p.extend(mt[e])),mt[e];t=rt(t),p[t]=(s,i)=>go(t,s,i);const r=D(o)?{...o}:o.options;return r.id=e,r.name=t,(n=r.install)==null||n.call(r,p,r,t),p._initialized&&!r.functional&&requestAnimationFrame(()=>go(t,`[${e}],[data-${e}]`)),mt[e]=r}function go(t,o,n,...e){const r=Pn(t);return r.options.functional?new r({data:D(o)?o:[o,n,...e]}):o?Zo(o).map(s)[0]:s();function s(i){const c=wo(i,t);if(c)if(n)c.$destroy();else return c;return new r({el:i,data:n})}}function mo(t){return(t==null?void 0:t[q])||{}}function wo(t,o){return mo(t)[o]}function jr(t,o){t[q]||(t[q]={}),t[q][o.$options.name]=o}function zr(t,o){var n;(n=t[q])==null||delete n[o.$options.name],yo(t[q])||delete t[q]}p.component=Pn,p.getComponents=mo,p.getComponent=wo,p.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},p.mixin=function(t,o){o=(w(o)?this.component(o):o)||this,o.options=gt(o.options,t)},p.extend=function(t){t=t||{};const o=this,n=function(r){Tn(this,r)};return n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.options=gt(o.options,t),n.super=o,n.extend=o.extend,n};function En(t,o){t=t?g(t):document.body;for(const n of qt(t).reverse())On(n,o);kt(t,n=>On(n,o))}p.update=En;function On(t,o){const n=mo(t);for(const e in n)ao(n[e],o)}let _n;Object.defineProperty(p,"container",{get(){return _n||document.body},set(t){_n=W(t)}}),p.prototype.$mount=function(t){const o=this;jr(t,o),o.$options.el=t,Pt(t,document)&&yn(o)},p.prototype.$destroy=function(t=!1){const o=this,{el:n}=o.$options;n&&xn(o),ot(o,"destroy"),zr(n,o),t&&Vt(o.$el)},p.prototype.$create=go,p.prototype.$emit=function(t){ao(this,t)},p.prototype.$update=function(t=this.$el,o){En(t,o)},p.prototype.$reset=function(){xn(this),yn(this)},p.prototype.$getComponent=wo,Object.defineProperties(p.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(p,"container")});function Cn(t,o=t.$el,n=""){if(o.id)return o.id;let e=`${t.$options.id}-${t._uid}${n}`;return W(`#${e}`)&&(e=Cn(t,o,`${n}-2`)),e}var An={mixins:[nt,Rn,Bn],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active"},beforeConnect(){this.id=Cn(this),this._hasTitle=f.hasAttr(this.$el,"title"),f.attr(this.$el,{title:"","aria-describedby":this.id}),Wr(this.$el)},disconnected(){this.hide(),f.attr(this.$el,"title")||f.attr(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){this.isToggled(this.tooltip||null)||!this.title||(clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){f.matches(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&(await this.toggleElement(this.tooltip,!1,!1),f.remove(this.tooltip),this.tooltip=null))},_show(){this.tooltip=f.append(this.container,`<div id="${this.id}" class="uk-${this.$options.name}" role="tooltip"> <div class="uk-${this.$options.name}-inner">${this.title}</div> </div>`),f.on(this.tooltip,"toggled",(t,o)=>{if(!o)return;const n=()=>this.positionAt(this.tooltip,this.$el);n();const[e,r]=Hr(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${f.flipPosition(e)}-${r}`:`${r}-${f.flipPosition(e)}`;const s=[f.once(document,`keydown ${f.pointerDown}`,this.hide,!1,i=>i.type===f.pointerDown&&!f.within(i.target,this.$el)||i.type==="keydown"&&i.keyCode===zn.ESC),f.on([document,...f.overflowParents(this.$el)],"scroll",n,{passive:!0})];f.once(this.tooltip,"hide",()=>s.forEach(i=>i()),{self:!0})}),this.toggleElement(this.tooltip,!0)}},events:{focus:"show",blur:"hide",[`${f.pointerEnter} ${f.pointerLeave}`](t){f.isTouch(t)||this[t.type===f.pointerEnter?"show":"hide"]()},[f.pointerDown](t){f.isTouch(t)&&this.show()}}};function Wr(t){f.isFocusable(t)||f.attr(t,"tabindex","0")}function Hr(t,o,[n,e]){const r=f.offset(t),s=f.offset(o),i=[["left","right"],["top","bottom"]];for(const u of i){if(r[u[0]]>=s[u[1]]){n=u[1];break}if(r[u[1]]<=s[u[0]]){n=u[0];break}}const c=f.includes(i[0],n)?i[1]:i[0];return r[c[0]]===s[c[0]]?e=c[0]:r[c[1]]===s[c[1]]?e=c[1]:e="center",[n,e]}return typeof window<"u"&&window.UIkit&&window.UIkit.component("tooltip",An),An});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.16.
|
|
1
|
+
/*! UIkit 3.16.6-dev.64eba8a3c | 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.
|
|
1
|
+
/*! UIkit 3.16.6-dev.64eba8a3c | https://www.getuikit.com | (c) 2014 - 2023 YOOtheme | MIT License */(function(o,i){typeof exports=="object"&&typeof module<"u"?module.exports=i(require("uikit-util")):typeof define=="function"&&define.amd?define("uikitupload",["uikit-util"],i):(o=typeof globalThis<"u"?globalThis:o||self,o.UIkitUpload=i(o.UIkit.util))})(this,function(o){"use strict";var i={props:{i18n:Object},data:{i18n:null},methods:{t(e,...r){var a,s,t;let n=0;return((t=((a=this.i18n)==null?void 0:a[e])||((s=this.$options.i18n)==null?void 0:s[e]))==null?void 0:t.replace(/%s/g,()=>r[n++]||""))||""}}},d={mixins:[i],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:o.noop,beforeAll:o.noop,beforeSend:o.noop,complete:o.noop,completeAll:o.noop,error:o.noop,fail:o.noop,load:o.noop,loadEnd:o.noop,loadStart:o.noop,progress:o.noop},events:{change(e){o.matches(e.target,'input[type="file"]')&&(e.preventDefault(),e.target.files&&this.upload(e.target.files),e.target.value="")},drop(e){l(e);const r=e.dataTransfer;r!=null&&r.files&&(o.removeClass(this.$el,this.clsDragover),this.upload(r.files))},dragenter(e){l(e)},dragover(e){l(e),o.addClass(this.$el,this.clsDragover)},dragleave(e){l(e),o.removeClass(this.$el,this.clsDragover)}},methods:{async upload(e){if(e=o.toArray(e),!e.length)return;o.trigger(this.$el,"upload",[e]);for(const s of e){if(this.maxSize&&this.maxSize*1e3<s.size){this.fail(this.t("invalidSize",this.maxSize));return}if(this.allow&&!h(this.allow,s.name)){this.fail(this.t("invalidName",this.allow));return}if(this.mime&&!h(this.mime,s.type)){this.fail(this.t("invalidMime",this.mime));return}}this.multiple||(e=e.slice(0,1)),this.beforeAll(this,e);const r=f(e,this.concurrent),a=async s=>{const t=new FormData;s.forEach(n=>t.append(this.name,n));for(const n in this.params)t.append(n,this.params[n]);try{const n=await u(this.url,{data:t,method:this.method,responseType:this.type,beforeSend:p=>{const{xhr:m}=p;o.on(m.upload,"progress",this.progress);for(const c of["loadStart","load","loadEnd","abort"])o.on(m,c.toLowerCase(),this[c]);return this.beforeSend(p)}});this.complete(n),r.length?await a(r.shift()):this.completeAll(n)}catch(n){this.error(n)}};await a(r.shift())}}};function h(e,r){return r.match(new RegExp(`^${e.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function f(e,r){const a=[];for(let s=0;s<e.length;s+=r)a.push(e.slice(s,s+r));return a}function l(e){e.preventDefault(),e.stopPropagation()}function u(e,r){const a={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:o.noop,responseType:"",...r};return Promise.resolve().then(()=>a.beforeSend(a)).then(()=>g(e,a))}function g(e,r){return new Promise((a,s)=>{const{xhr:t}=r;for(const n in r)if(n in t)try{t[n]=r[n]}catch{}t.open(r.method.toUpperCase(),e);for(const n in r.headers)t.setRequestHeader(n,r.headers[n]);o.on(t,"load",()=>{t.status===0||t.status>=200&&t.status<300||t.status===304?a(t):s(o.assign(Error(t.statusText),{xhr:t,status:t.status}))}),o.on(t,"error",()=>s(o.assign(Error("Network Error"),{xhr:t}))),o.on(t,"timeout",()=>s(o.assign(Error("Network Timeout"),{xhr:t}))),t.send(r.data)})}return typeof window<"u"&&window.UIkit&&window.UIkit.component("upload",d),d});
|
package/dist/js/uikit-core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! UIkit 3.16.
|
|
1
|
+
/*! UIkit 3.16.6-dev.64eba8a3c | 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() :
|
|
@@ -2140,7 +2140,7 @@
|
|
|
2140
2140
|
};
|
|
2141
2141
|
App.util = util;
|
|
2142
2142
|
App.options = {};
|
|
2143
|
-
App.version = "3.16.
|
|
2143
|
+
App.version = "3.16.6-dev.64eba8a3c";
|
|
2144
2144
|
|
|
2145
2145
|
const PREFIX = "uk-";
|
|
2146
2146
|
const DATA = "__uikit__";
|
|
@@ -2181,7 +2181,7 @@
|
|
|
2181
2181
|
}
|
|
2182
2182
|
}
|
|
2183
2183
|
function getComponents(element) {
|
|
2184
|
-
return element[DATA] || {};
|
|
2184
|
+
return (element == null ? void 0 : element[DATA]) || {};
|
|
2185
2185
|
}
|
|
2186
2186
|
function getComponent(element, name) {
|
|
2187
2187
|
return getComponents(element)[name];
|