")),ii(a,!1),await Gs(this)(r._wrapper,o),ii(a,!o),delete r._wrapper,Ze(a),o){const l=m(this.$props.toggle,r);B.read(()=>{ti(l)||Gi(l,{offset:this.offset})})}})}}};function ii(t,e){t&&(t.hidden=e)}var Xr={mixins:[tt,It],args:"animation",props:{close:String},data:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:{opacity:0,...It.data.hideProps}},events:[{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}}],methods:{async close(){await this.toggleElement(this.$el),this.$destroy(!0)}}},Js={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView=this.autoplay==="inview",this.inView&&!Bt(this.$el,"preload")&&(this.$el.preload="none"),this.automute&&Os(this.$el),this.registerObserver(oe(this.$el,()=>this.$emit(),{},!1))},update:{read(){return Ns(this.$el)?{visible:q(this.$el)&&c(this.$el,"visibility")!=="hidden",inView:this.inView&&ti(this.$el)}:!1},write(t){let{visible:e,inView:i}=t;!e||this.inView&&!i?_s(this.$el):(this.autoplay===!0||this.inView&&i)&&Es(this.$el)}}},mt={connected(){var t;this.registerObserver(Ri(((t=this.$options.resizeTargets)==null?void 0:t.call(this))||this.$el,()=>this.$emit("resize")))}},Jr={mixins:[mt,Js],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},resizeTargets(){return[this.$el,A(this.$el)]},update:{read(){const{ratio:t,cover:e}=ve,{$el:i,width:s,height:n}=this;let r={width:s,height:n};if(!r.width||!r.height){const h={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};r.width?r=t(h,"width",r.width):n?r=t(h,"height",r.height):r=h}const{offsetHeight:o,offsetWidth:a}=Kr(i)||A(i),l=e(r,{width:a+(a%2?1:0),height:o+(o%2?1:0)});return!l.width||!l.height?!1:l},write(t){let{height:e,width:i}=t;c(this.$el,{height:e,width:i})},events:["resize"]}};function Kr(t){for(;t=A(t);)if(c(t,"position")!=="static")return t}var le={props:{container:Boolean},data:{container:!0},computed:{container(t){let{container:e}=t;return e===!0&&this.$container||e&&m(e)}}},Ks={props:{pos:String,offset:null,flip:Boolean},data:{pos:"bottom-"+(J?"right":"left"),flip:!0,offset:!1,viewportPadding:10},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),this.axis=g(["top","bottom"],this.pos[0])?"y":"x"},methods:{positionAt(t,e,i){const[s,n]=this.pos;let{offset:r}=this;if(!Et(r)){const a=m(r);r=a?C(a)[this.axis==="x"?"left":"top"]-C(e)[this.axis==="x"?"right":"bottom"]:0}r=Z(r)+Z(Ye("position-offset",t)),r=[g(["left","top"],s)?-r:+r,0];const o={element:[Xe(s),n],target:[s,n]};if(this.axis==="y"){for(const a in o)o[a]=o[a].reverse();r=r.reverse()}Hs(t,e,{attach:o,offset:r,boundary:i,viewportPadding:this.viewportPadding,flip:this.flip})}}};let X;var Zs={mixins:[le,_e,Ks,It],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,display:String,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:!0,boundaryAlign:!1,delayShow:0,delayHide:800,display:null,clsDrop:!1,animation:["uk-animation-fade"],cls:"uk-open",container:!1},created(){this.tracker=new ji},beforeConnect(){this.clsDrop=this.$props.clsDrop||"uk-"+this.$options.name},connected(){v(this.$el,this.clsDrop),this.toggle&&!this.target&&(this.target=this.$create("toggle",$t(this.toggle,this.$el),{target:this.$el,mode:this.mode}).$el,k(this.target,"aria-haspopup",!0),this.lazyload(this.target))},disconnected(){this.isActive()&&(X=null)},events:[{name:"click",delegate(){return"."+this.clsDrop+"-close"},handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate(){return'a[href^="#"]'},handler(t){let{defaultPrevented:e,current:{hash:i}}=t;!e&&i&&!F(i,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e?.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e?.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),H(this.$el,":focus,:hover")||this.hide()}},{name:jt+" focusin",filter(){return g(this.mode,"hover")},handler(t){kt(t)||this.clearTimers()}},{name:ne+" focusout",filter(){return g(this.mode,"hover")},handler(t){!kt(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){!e||(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){X=this,this.tracker.init();for(const t of[T(document,ct,e=>{let{target:i}=e;return!F(i,this.$el)&&j(document,gt+" "+re+" scroll",s=>{let{defaultPrevented:n,type:r,target:o}=s;!n&&r===gt&&i===o&&!(this.target&&F(i,this.target))&&this.hide(!1)},!0)}),T(document,"keydown",e=>{e.keyCode===27&&this.hide(!1)}),...this.display==="static"?[]:(()=>{const e=()=>this.$emit();return[T(window,"resize",e),T(document,"scroll",e,!0),(()=>{const i=Ri(Tt(this.$el),e);return()=>i.disconnect()})()]})()])j(this.$el,"hide",t,{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler(t){let{target:e}=t;if(this.$el!==e){X=X===null&&F(e,this.$el)&&this.isToggled()?this:X;return}X=this.isActive()?null:X,this.tracker.cancel()}}],update:{write(){this.isToggled()&&!S(this.$el,this.clsEnter)&&this.position()}},methods:{show(t,e){if(t===void 0&&(t=this.target),e===void 0&&(e=!0),this.isToggled()&&t&&this.target&&t!==this.target&&this.hide(!1),this.target=t,this.clearTimers(),!this.isActive()){if(X){if(e&&X.isDelaying){this.showTimer=setTimeout(()=>H(t,":hover")&&this.show(),10);return}let i;for(;X&&i!==X&&!F(this.$el,X.$el);)i=X,X.hide(!1)}this.container&&A(this.$el)!==this.container&&G(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t){t===void 0&&(t=!0);const e=()=>this.toggleElement(this.$el,!1,!1);this.clearTimers(),this.isDelaying=Zr(this.$el).some(i=>this.tracker.movesTo(i)),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(e,this.delayHide):e()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return X===this},position(){_(this.$el,this.clsDrop+"-stack"),R(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);const t=$t(this.boundary,this.$el),[e]=Tt(this.$el),i=ut(e),s=t?C(t):i;c(this.$el,"maxWidth","");const n=i.width-(this.boundaryAlign?0:2*this.viewportPadding);if(this.pos[1]==="justify"){const r=this.axis==="y"?"width":"height",o=C(this.target),a=this.boundaryAlign?s:o;c(this.$el,r,a[r])}else this.$el.offsetWidth>n&&v(this.$el,this.clsDrop+"-stack");c(this.$el,"maxWidth",n),this.positionAt(this.$el,t&&this.boundaryAlign?t:this.target,t)}}};function Zr(t){const e=[];return St(t,i=>c(i,"position")!=="static"&&e.push(i)),e}var Qr={mixins:[tt],args:"target",props:{target:Boolean},data:{target:!1},computed:{input(t,e){return m(be,e)},state(){return this.input.nextElementSibling},target(t,e){let{target:i}=t;return i&&(i===!0&&A(this.input)===e&&this.input.nextElementSibling||m(i,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let s;const n=Ii(e)?"value":"textContent",r=e[n],o=(t=i.files)!=null&&t[0]?i.files[0].name:H(i,"select")&&(s=N("option",i).filter(a=>a.selected)[0])?s.textContent:i.value;r!==o&&(e[n]=o)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return ot(this.$el,"form")},handler(){this.$emit()}}]},Qs={mixins:[mt],props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},resizeTargets(){return[this.$el,...bi(this.$el.children)]},connected(){this.registerObserver(Is(this.$el,()=>this.$reset(),{childList:!0}))},update:{read(){const t=Zi(this.$el.children);return{rows:t,columns:Ur(t)}},write(t){let{columns:e,rows:i}=t;for(const s of i)for(const n of s)R(n,this.margin,i[0]!==s),R(n,this.firstColumn,!!~e[0].indexOf(n))},events:["resize"]}};function Zi(t){return Us(t,"top","bottom")}function Ur(t){const e=[];for(const i of t){const s=Us(i,"left","right");for(let n=0;n
=0;o--){const a=s[o];if(!a[0]){a.push(n);break}let l;if(a[0].offsetParent===n.offsetParent?l=si(a[0]):(r=si(n,!0),l=si(a[0],!0)),r[e]>=l[i]-1&&r[e]!==l[e]){s.push([n]);break}if(r[i]-1>l[e]||r[e]===l[e]){a.push(n);break}if(o===0){s.unshift([n]);break}}}return s}function si(t,e){e===void 0&&(e=!1);let{offsetTop:i,offsetLeft:s,offsetHeight:n,offsetWidth:r}=t;return e&&([i,s]=Te(t)),{top:i,left:s,bottom:i+n,right:s+r}}var Oe={connected(){to(this._uid,()=>this.$emit("scroll"))},disconnected(){eo(this._uid)}};const ni=new Map;let Ne;function to(t,e){Ne=Ne||T(window,"scroll",()=>ni.forEach(i=>i()),{passive:!0,capture:!0}),ni.set(t,e)}function eo(t){ni.delete(t),Ne&&!ni.size&&(Ne(),Ne=null)}var io={extends:Qs,mixins:[tt,Oe],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&v(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{write(t){let{columns:e}=t;R(this.$el,this.clsStack,e.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||tn(this.$el))return t.translates=!1,!1;let s=!1;const n=D(this.$el),r=ro(e),o=no(n,this.margin)*(i.length-1),a=Math.max(...r)+o;this.masonry&&(e=e.map(h=>We(h,"offsetTop")),s=so(i,e));let l=Math.abs(this.parallax);return l&&(l=r.reduce((h,u,d)=>Math.max(h,u+o+(d%2?l:l/8)-a),0)),{padding:l,columns:e,translates:s,height:s?a:""}},write(t){let{height:e,padding:i}=t;c(this.$el,"paddingBottom",i||""),e!==!1&&c(this.$el,"height",e)},events:["resize"]},{read(){return this.parallax&&tn(this.$el)?!1:{scrolled:this.parallax?Xi(this.$el)*Math.abs(this.parallax):!1}},write(t){let{columns:e,scrolled:i,translates:s}=t;i===!1&&!s||e.forEach((n,r)=>n.forEach((o,a)=>c(o,"transform",!i&&!s?"":"translateY("+((s&&-s[r][a])+(i?r%2?i:i/8:0))+"px)")))},events:["scroll","resize"]}]};function tn(t){return D(t).some(e=>c(e,"position")==="absolute")}function so(t,e){const i=t.map(s=>Math.max(...s.map(n=>n.offsetHeight)));return e.map(s=>{let n=0;return s.map((r,o)=>n+=o?i[o-1]-s[o-1].offsetHeight:0)})}function no(t,e){const[i]=t.filter(s=>S(s,e));return x(i?c(i,"marginTop"):c(t[0],"paddingLeft"))}function ro(t){return t.map(e=>e.reduce((i,s)=>i+s.offsetHeight,0))}var oo={mixins:[mt],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:{get(t,e){let{target:i}=t;return N(i,e)},watch(){this.$reset()}}},resizeTargets(){return[this.$el,...this.elements]},update:{read(){return{rows:(this.row?Zi(this.elements):[this.elements]).map(ao)}},write(t){let{rows:e}=t;for(const{heights:i,elements:s}of e)s.forEach((n,r)=>c(n,"minHeight",i[r]))},events:["resize"]}};function ao(t){if(t.length<2)return{heights:[""],elements:t};c(t,"minHeight","");let e=t.map(lo);const i=Math.max(...e);return{heights:t.map((s,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function lo(t){let e=!1;q(t)||(e=t.style.display,c(t,"display","block","important"));const i=y(t).height-ee(t,"height","content-box");return e!==!1&&c(t,"display",e),i}var ho={mixins:[tt,mt],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},resizeTargets(){return[this.$el,document.documentElement]},update:{read(t){let{minHeight:e}=t;if(!q(this.$el))return!1;let i="";const s=ee(this.$el,"height","content-box");if(this.expand)i=Math.max(L(window)-(y(document.documentElement).height-y(this.$el).height)-s,0);else{if(i="calc(100vh",this.offsetTop){const{top:n}=C(this.$el);i+=n>0&&n{if(this._connected){const e=po(t,this.$el);return this.svgEl&&e!==this.svgEl&&ht(this.svgEl),this.applyAttributes(e,t),this.svgEl=e}},E),this.strokeAnimation&&this.svg.then(t=>{this._connected&&(nn(t),this.registerObserver(oe(t,(e,i)=>{nn(t),i.disconnect()})))})},disconnected(){this.svg.then(t=>{this._connected||(Ci(this.$el)&&(this.$el.hidden=!1),ht(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){return pt(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>j(this.$el,"load",()=>t(this.getSvg()))):uo(await co(this.src),this.icon)||Promise.reject("SVG not found.")},applyAttributes(t,e){for(const r in this.$options.props)g(this.include,r)&&r in this&&k(t,r,this[r]);for(const r in this.attributes){const[o,a]=this.attributes[r].split(":",2);k(t,o,a)}this.id||we(t,"id");const i=["width","height"];let s=i.map(r=>this[r]);s.some(r=>r)||(s=i.map(r=>k(e,r)));const n=k(e,"viewBox");n&&!s.some(r=>r)&&(s=n.split(" ").slice(2)),s.forEach((r,o)=>k(t,i[o],x(r)*this.ratio||null))}}};const co=nt(async t=>t?lt(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function uo(t,e){var i;return e&&g(t,"/g,ri={};function fo(t,e){if(!ri[t]){ri[t]={},sn.lastIndex=0;let i;for(;i=sn.exec(t);)ri[t][i[3]]='