`)},disconnected(){Te(this.wrapper.childNodes)},observe:pt(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:t,fill:e,hide:i}){q(this.wrapper,this.clsHide,i),p(this.wrapper,this.attrFill,new Array(t).join(e))},events:["resize"]}};const nt=[];var ms={mixins:[st,ze,Vt],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel({selPanel:t},e){return w(t,e)},transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){p(this.panel||this.$el,"role",this.role),this.overlay&&p(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){m(nt,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:s}=e;!i&&s&&re(e)&&!D(s,this.$el)&&w(s,document.body)?this.hide():C(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===m(nt,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(m(nt,this))return!1;!this.stack&&nt.length?(Promise.all(nt.map(e=>e.hide())).then(this.show),t.preventDefault()):nt.push(this)}},{name:"show",self:!0,handler(){this.stack&&h(this.$el,"zIndex",$(h(this.$el,"zIndex"))+nt.length);const t=[this.overlay&&wl(this),this.overlay&&Pn(this.$el),this.bgClose&&bl(this),this.escClose&&$l(this)];L(this.$el,"hidden",()=>t.forEach(e=>e&&e()),{self:!0}),y(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){Ze(this.$el)||p(this.$el,"tabindex","-1"),C(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){m(nt,this)&&nt.splice(nt.indexOf(this),1),h(this.$el,"zIndex",""),nt.some(t=>t.clsPage===this.clsPage)||M(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&A(this.$el)!==this.container?(W(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,Wn)},hide(){return this.toggleElement(this.$el,!1,Wn)}}};function Wn(t,e,{transitionElement:i,_toggle:s}){return new Promise((n,o)=>L(t,"show hide",()=>{var r;(r=t._reject)==null||r.call(t),t._reject=o,s(t,e);const a=L(i,"transitionstart",()=>{L(i,"transitionend transitioncancel",n,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),n()},vl(h(i,"transitionDuration")))})).then(()=>delete t._reject)}function vl(t){return t?Zt(t,"ms")?$(t):$(t)*1e3:0}function wl(t){return x(document,"focusin",e=>{se(nt)===t&&!D(e.target,t.$el)&&t.$el.focus()})}function bl(t){return x(document,mt,({target:e})=>{se(nt)!==t||t.overlay&&!D(e,t.$el)||D(e,t.panel)||L(document,`${_t} ${ai} scroll`,({defaultPrevented:i,type:s,target:n})=>{!i&&s===_t&&e===n&&t.hide()},!0)})}function $l(t){return x(document,"keydown",e=>{e.keyCode===27&&se(nt)===t&&t.hide()})}var xl={install:yl,mixins:[ms],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler(){B(this.panel,"uk-margin-auto-vertical")?y(this.$el,"uk-flex"):h(this.$el,"display","block"),et(this.$el)}},{name:"hidden",self:!0,handler(){h(this.$el,"display",""),M(this.$el,"uk-flex")}}]};function yl({modal:t}){t.dialog=function(i,s){const n=t(``,s);return n.show(),x(n.$el,"hidden",async()=>{await Promise.resolve(),n.$destroy(!0)},{self:!0}),n},t.alert=function(i,s){return e(({i18n:n})=>`${O(i)?i:Nt(i)}
`,s)},t.confirm=function(i,s){return e(({i18n:n})=>``,s,()=>Promise.reject())},t.prompt=function(i,s,n){return e(({i18n:o})=>``,n,()=>null,o=>w("input",o.$el).value)},t.i18n={ok:"Ok",cancel:"Cancel"};function e(i,s,n=k,o=k){s={bgClose:!1,escClose:!0,role:"alertdialog",...s,i18n:{...t.i18n,...s==null?void 0:s.i18n}};const r=t.dialog(i(s),s);return bt(new Promise(a=>{const l=x(r.$el,"hide",()=>a(n()));x(r.$el,"submit","form",c=>{c.preventDefault(),a(o(r)),l(),r.hide()})}),{dialog:r})}}var kl={extends:In,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},Sl={extends:An,data:{clsDrop:"uk-navbar-dropdown",selNavItem:".uk-navbar-nav > li > a,a.uk-navbar-item,button.uk-navbar-item,.uk-navbar-item a,.uk-navbar-item button,.uk-navbar-toggle"},watch:{items(){const t=B(this.$el,"uk-navbar-justify");for(const e of z(".uk-navbar-nav, .uk-navbar-left, .uk-navbar-right",this.$el))h(e,"flexGrow",t?z(".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle",e).length:"")}}},Il={mixins:[ms],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip({flip:t,clsFlip:e}){return t?e:""},clsOverlay({overlay:t,clsOverlay:e}){return t?e:""},clsMode({mode:t,clsMode:e}){return`${e}-${t}`},clsSidebarAnimation({mode:t,clsSidebarAnimation:e}){return t==="none"||t==="reveal"?"":e},clsContainerAnimation({mode:t,clsContainerAnimation:e}){return t!=="push"&&t!=="reveal"?"":e},transitionElement({mode:t}){return t==="reveal"?A(this.panel):this.panel}},observe:Sn({filter:({swiping:t})=>t}),update:{read(){this.isToggled()&&!j(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){this.mode==="reveal"&&!B(A(this.panel),this.clsMode)&&(si(this.panel,""),y(A(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;y(t,this.clsContainer,this.clsFlip),h(t,"touch-action","pan-y pinch-zoom"),h(this.$el,"display","block"),h(this.panel,"maxWidth",e.clientWidth),y(this.$el,this.clsOverlay),y(this.panel,this.clsSidebarAnimation,this.mode==="reveal"?"":this.clsMode),et(t),y(t,this.clsContainerAnimation),this.clsContainerAnimation&&Cl()}},{name:"hide",self:!0,handler(){M(document.body,this.clsContainerAnimation),h(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&Tl(),this.mode==="reveal"&&Te(this.panel),M(this.panel,this.clsSidebarAnimation,this.clsMode),M(this.$el,this.clsOverlay),h(this.$el,"display",""),h(this.panel,"maxWidth",""),M(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&Zt(t.type,"Left")^this.flip&&this.hide()}}]};function Cl(){Rn().content+=",user-scalable=0"}function Tl(){const t=Rn();t.content=t.content.replace(/,user-scalable=0$/,"")}function Rn(){return w('meta[name="viewport"]',document.head)||W(document.head,'')}var El={mixins:[st],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog",minHeight:150},computed:{container({selContainer:t},e){return Y(e,t)},content({selContent:t},e){return Y(e,t)}},observe:pt({target:({container:t,content:e})=>[t,e]}),update:{read(){return!this.content||!this.container||!j(this.$el)?!1:{max:Math.max(this.minHeight,et(this.container)-(b(this.content).height-et(this.$el)))}},write({max:t}){h(this.$el,{minHeight:this.minHeight,maxHeight:t})},events:["resize"]}},Pl={props:["width","height"],connected(){y(this.$el,"uk-responsive-width")},observe:pt({target:({$el:t})=>[t,A(t)]}),update:{read(){return j(this.$el)&&this.width&&this.height?{width:Ee(A(this.$el)),height:this.height}:!1},write(t){et(this.$el,Ke.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},_l={props:{offset:Number},data:{offset:0},connected(){Al(this)},disconnected(){Ol(this)},methods:{async scrollTo(t){t=t&&w(t)||document.body,v(this.$el,"beforescroll",[this,t])&&(await Zs(t,{offset:this.offset}),v(this.$el,"scrolled",[this,t]))}}};const Fe=new Set;function Al(t){Fe.size||x(document,"click",jn),Fe.add(t)}function Ol(t){Fe.delete(t),Fe.size||Bt(document,"click",jn)}function jn(t){if(!t.defaultPrevented)for(const e of Fe)D(t.target,e.$el)&&re(e.$el)&&(t.preventDefault(),window.location.href!==e.$el.href&&window.history.pushState({},"",e.$el.href),e.scrollTo(Wi(e.$el)))}var Dl={args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}),computed:{elements({target:t},e){return t?z(t,e):[e]}},watch:{elements(t){this.hidden&&h(ke(t,`:not(.${this.inViewClass})`),"opacity",0)}},connected(){this.elementData=new Map},disconnected(){for(const[t,e]of this.elementData.entries())M(t,this.inViewClass,(e==null?void 0:e.cls)||"");delete this.elementData},observe:Me({target:({elements:t})=>t,handler(t){const e=this.elementData;for(const{target:i,isIntersecting:s}of t){e.has(i)||e.set(i,{cls:tt(i,"uk-scrollspy-class")||this.cls});const n=e.get(i);!this.repeat&&n.show||(n.show=s)}this.$emit()},options:t=>({rootMargin:t.margin}),args:{intersecting:!1}}),update:[{write(t){for(const[e,i]of this.elementData.entries())i.show&&!i.inview&&!i.queued?(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(s=>setTimeout(s,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)})):!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1)}}],methods:{toggle(t,e){var i;const s=this.elementData.get(t);if(s){if((i=s.off)==null||i.call(s),h(t,"opacity",!e&&this.hidden?0:""),q(t,this.inViewClass,e),q(t,s.cls),/\buk-animation-/.test(s.cls)){const n=()=>Vi(t,"uk-animation-[\\w-]+");e?s.off=L(t,"animationcancel animationend",n):n()}v(t,e?"inview":"outview"),s.inview=e,this.$update(t)}}}},Bl={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links(t,e){return z('a[href*="#"]',e).filter(i=>i.hash&&re(i))},elements({closest:t}){return Y(this.links,t||"*")}},watch:{links(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})}},observe:[Me(),pi()],update:[{read(){const t=this.links.map(Wi).filter(Boolean),{length:e}=t;if(!e||!j(this.$el))return!1;const[i]=vt(t,!0),{scrollTop:s,scrollHeight:n}=i,o=ct(i),r=n-o.height;let a=!1;if(s===r)a=e-1;else{for(let l=0;l0);l++)a=+l;a===!1&&this.overflow&&(a=0)}return{active:a}},write({active:t}){const e=t!==!1&&!B(this.elements[t],this.cls);this.links.forEach(i=>i.blur());for(let i=0;i
'),this.isFixed=!1,this.setActive(!1)},disconnected(){this.isFixed&&(this.hide(),M(this.selTarget,this.clsInactive)),Un(this.$el),lt(this.placeholder),this.placeholder=null},observe:[pt({target:({$el:t})=>[t,document.documentElement]}),pi()],events:[{name:"resize",el(){return[window,window.visualViewport]},handler(){this.$emit("resize")}},{name:"load hashchange popstate",el(){return window},filter(){return this.targetOffset!==!1},handler(){const{scrollingElement:t}=document;!location.hash||t.scrollTop===0||setTimeout(()=>{const e=P(w(location.hash)),i=P(this.$el);this.isFixed&&zi(e,i)&&(t.scrollTop=e.top-i.height-ht(this.targetOffset,"height",this.placeholder)-ht(this.offset,"height",this.placeholder))})}},{name:"transitionstart",capture:!0,handler(){this.transitionInProgress=L(this.$el,"transitionend transitioncancel",()=>this.transitionInProgress=null)}}],update:[{read({height:t,width:e,margin:i,sticky:s}){if(this.inactive=!this.matchMedia||!j(this.$el),this.inactive)return;const n=this.isFixed&&!this.transitionInProgress;n&&(Vn(this.selTarget),this.hide()),this.active||({height:t,width:e}=P(this.$el),i=h(this.$el,"margin")),n&&this.show();const o=ht("100vh","height"),r=et(window),a=document.scrollingElement.scrollHeight-o;let l=this.position;this.overflowFlip&&t>o&&(l=l==="top"?"bottom":"top");const c=this.isFixed?this.placeholder:this.$el;let u=ht(this.offset,"height",s?this.$el:c);l==="bottom"&&(t300||n!==o)&&(t.initScroll=r,t.initTimestamp=d),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||rr&&(gt.cancel(this.$el),this.hide());return}this.animation&&r>u?(gt.cancel(this.$el),gt.out(this.$el,this.animation).then(()=>this.hide(),k)):this.hide()}else this.isFixed?this.update():this.animation&&r>u?(gt.cancel(this.$el),this.show(),gt.in(this.$el,this.animation).catch(k)):(Vn(this.selTarget),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),M(this.$el,this.clsFixed,this.clsBelow),e?h(this.$el,"top",t):h(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:s=0,start:n,end:o,offset:r,topOffset:a,height:l,elHeight:c,offsetParentTop:u,sticky:f}=this._data;const d=n!==0||e>n;if(!f){let g="fixed";e>o&&(r+=o-u,g="absolute"),h(this.$el,{position:g,width:t}),h(this.$el,"marginTop",0,"important")}i&&(r-=s),h(this.$el,"top",r),this.setActive(d),q(this.$el,this.clsBelow,e>a+(f?Math.min(l,c):l)),y(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(Yi(this.selTarget,this.clsInactive,this.clsActive),e!==t&&v(this.$el,"active")):(Yi(this.selTarget,this.clsActive,this.clsInactive),e!==t&&v(this.$el,"inactive"))}}};function vs(t,e,i,s){if(!t)return 0;if($t(t)||O(t)&&t.match(/^-?\d/))return i+ht(t,"height",e,!0);{const n=t===!0?A(e):at(t,e);return P(n).bottom-(s&&n&&D(e,n)?$(h(n,"paddingBottom")):0)}}function qn(t){return t==="true"?!0:t==="false"?!1:t}function Un(t){h(t,{position:"",top:"",marginTop:"",width:""})}function Vn(t){h(t,"transition","0s"),requestAnimationFrame(()=>h(t,"transition",""))}function Yn(t){return Math.ceil(Math.max(0,...z("[stroke]",t).map(e=>{try{return e.getTotalLength()}catch{return 0}})))}var Nl={mixins:[zn],args:"src",props:{src:String,icon:String,attributes:"list",strokeAnimation:Boolean},data:{strokeAnimation:!1},observe:[kn({async handler(){const t=await this.svg;t&&Gn.call(this,t)},options:{attributes:!0,attributeFilter:["id","class","style"]}})],async connected(){m(this.src,"#")&&([this.src,this.icon]=this.src.split("#"));const t=await this.svg;t&&(Gn.call(this,t),this.strokeAnimation&&Ll(t))},methods:{async getSvg(){return G(this.$el,"img")&&!this.$el.complete&&this.$el.loading==="lazy"?new Promise(t=>L(this.$el,"load",()=>t(this.getSvg()))):Fl(await zl(this.src),this.icon)||Promise.reject("SVG not found.")}}};function Gn(t){const{$el:e}=this;y(t,p(e,"class"),"uk-svg");for(let i=0;it?ot(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());function Fl(t,e){return e&&m(t,"/g,Hl=dt(function(t){const e={};Xn.lastIndex=0;let i;for(;i=Xn.exec(t);)e[i[3]]=`