`))},async connected(){const t=k(h(this.$el,this.marginProp));await B.start(h(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[Ht](){this.timer&&clearTimeout(this.timer)},[oe](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){const e=i=>{const s=D(i);b(i,"close",[this]),ot(i),s!=null&&s.hasChildNodes()||ot(s)};this.timer&&clearTimeout(this.timer),t||await B.start(this.$el,this.startProps),e(this.$el)}}};function Za(t){t.notification.closeAll=function(e,i){_t(document.body,s=>{const n=t.getComponent(s,"notification");n&&(!e||e===n.group)&&n.close(i)})}}var Ci={props:{media:Boolean},data:{media:!1},connected(){const t=tl(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,b(this.$el,ae("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=$(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;(t=this.offMediaObj)==null||t.call(this)}};function tl(t,e){if(z(t)){if(gt(t,"@"))t=k(h(e,`--bdt-breakpoint-${t.slice(1)}`));else if(isNaN(t))return t}return t&&mt(t)?`(min-width: ${t}px)`:""}function oo(t){return R(t)?Math.ceil(Math.max(0,...N("[stroke]",t).map(e=>{var i;return((i=e.getTotalLength)==null?void 0:i.call(e))||0}))):0}const Pi={x:_i,y:_i,rotate:_i,scale:_i,color:Ps,backgroundColor:Ps,borderColor:Ps,blur:Gt,hue:Gt,fopacity:Gt,grayscale:Gt,invert:Gt,saturate:Gt,sepia:Gt,opacity:il,stroke:sl,bgx:lo,bgy:lo},{keys:ro}=Object;var ao={mixins:[Ci],props:po(ro(Pi),"list"),data:po(ro(Pi),void 0),computed:{props(t,e){const i={};for(const n in t)n in Pi&&!X(t[n])&&(i[n]=t[n].slice());const s={};for(const n in i)s[n]=Pi[n](n,e,i[n],i);return s}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))h(this.$el,t,"")},getCss(t){const e={};for(const i in this.props)this.props[i](e,Q(t));return e.willChange=Object.keys(e).map(li).join(","),e}}};function _i(t,e,i){let s=Oi(i)||{x:"px",y:"px",rotate:"deg"}[t]||"",n;return t==="x"||t==="y"?(t=`translate${kt(t)}`,n=o=>k(k(o).toFixed(s==="px"?0:6))):t==="scale"&&(s="",n=o=>{var r;return Oi([o])?Y(o,"width",e,!0)/e[`offset${(r=o.endsWith)!=null&&r.call(o,"vh")?"Height":"Width"}`]:k(o)}),i.length===1&&i.unshift(t==="scale"?1:0),i=ge(i,n),(o,r)=>{o.transform=`${o.transform||""} ${t}(${Ge(i,r)}${s})`}}function Ps(t,e,i){return i.length===1&&i.unshift(Xe(e,t,"")),i=ge(i,s=>el(e,s)),(s,n)=>{const[o,r,a]=fo(i,n),l=o.map((c,u)=>(c+=a*(r[u]-c),u===3?k(c):parseInt(c,10))).join(",");s[t]=`rgba(${l})`}}function el(t,e){return Xe(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(k)}function Gt(t,e,i){i.length===1&&i.unshift(0);const s=Oi(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=ge(i),(n,o)=>{const r=Ge(i,o);n.filter=`${n.filter||""} ${t}(${r+s})`}}function il(t,e,i){return i.length===1&&i.unshift(Xe(e,t,"")),i=ge(i),(s,n)=>{s[t]=Ge(i,n)}}function sl(t,e,i){i.length===1&&i.unshift(0);const s=Oi(i),n=oo(e);return i=ge(i.reverse(),o=>(o=k(o),s==="%"?o*n/100:o)),i.some(([o])=>o)?(h(e,"strokeDasharray",n),(o,r)=>{o.strokeDashoffset=Ge(i,r)}):A}function lo(t,e,i,s){i.length===1&&i.unshift(0);const n=t==="bgy"?"height":"width";s[t]=ge(i,a=>Y(a,n,e));const o=["bgx","bgy"].filter(a=>a in s);if(o.length===2&&t==="bgx")return A;if(Xe(e,"backgroundSize","")==="cover")return nl(t,e,i,s);const r={};for(const a of o)r[a]=co(e,a);return ho(o,r,s)}function nl(t,e,i,s){const n=ol(e);if(!n.width)return A;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter(u=>u in s),a={};for(const u of r){const f=s[u].map(([P])=>P),d=Math.min(...f),p=Math.max(...f),w=f.indexOf(d){c(u,f),u.backgroundSize=`${l.width}px ${l.height}px`,u.backgroundRepeat="no-repeat"}}function co(t,e){return Xe(t,`background-position-${e.slice(-1)}`,"")}function ho(t,e,i){return function(s,n){for(const o of t){const r=Ge(i[o],n);s[`background-position-${o.slice(-1)}`]=`calc(${e[o]} + ${r}px)`}}}const uo={},Ai={};function ol(t){const e=h(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(Ai[e])return Ai[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth&&!uo[e])?(F(i,"error load",()=>{Ai[e]=_s(i),b(t,ae("load",!1))}),uo[e]=!0,_s(i)):Ai[e]=_s(i)}function _s(t){return{width:t.naturalWidth,height:t.naturalHeight}}function ge(t,e=k){const i=[],{length:s}=t;let n=0;for(let o=0;o0;u--)i[o-u][1]=l+c*(n-u+1);n=0}}return i}function fo(t,e){const i=wt(t.slice(1),([,s])=>e<=s)+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function Ge(t,e){const[i,s,n]=fo(t,e);return i+Math.abs(i-s)*n*(i(i[s]=e,i),{})}function go(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var al={mixins:[ao],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target:({target:t},e)=>mo(t&&Z(t,e)||e),start({start:t}){return Y(t,"height",this.target,!0)},end({end:t,viewport:e}){return Y(t||(e=(1-e)*100)&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[vs(),Le({target:({target:t})=>t}),ut({target:({$el:t,target:e})=>[t,e,Ot(e,!0)]})],update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!R(this.$el))return!1;if(!this.matchMedia)return;const i=t;return t=go($i(this.target,this.start,this.end),this.easing),{percent:t,style:i===t?!1:this.getCss(t)}},write({style:t}){if(!this.matchMedia){this.reset();return}t&&h(this.$el,t)},events:["scroll","resize"]}};function mo(t){return t?"offsetTop"in t?t:mo(D(t)):document.documentElement}var vo={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[ut({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),Le({filter:({parallax:t})=>t})],computed:{parallaxTarget({parallaxTarget:t},e){return t&&Z(t,e)||this.list}},update:{read(){if(!this.parallax)return!1;const t=this.parallaxTarget;if(!t)return!1;const e=Y(this.parallaxStart,"height",t,!0),i=Y(this.parallaxEnd,"height",t,!0),s=go($i(t,e,i),this.parallaxEasing);return{parallax:this.getIndexAt(s)}},write({parallax:t}){const[e,i]=t,s=this.getValidIndex(e+Math.ceil(i)),n=this.slides[e],o=this.slides[s],{triggerShow:r,triggerShown:a,triggerHide:l,triggerHidden:c}=ll(this);if(~this.prevIndex)for(const f of new Set([this.index,this.prevIndex]))v([s,e],f)||(l(this.slides[f]),c(this.slides[f]));const u=this.prevIndex!==e||this.index!==s;this.dir=1,this.prevIndex=e,this.index=s,n!==o&&l(n),r(o),u&&a(n),this._translate(n===o?1:i,n,o)},events:["scroll","resize"]},methods:{getIndexAt(t){const e=t*(this.length-1);return[Math.floor(e),e%1]}}};function ll(t){const{clsSlideActive:e,clsEnter:i,clsLeave:s}=t;return{triggerShow:n,triggerShown:o,triggerHide:r,triggerHidden:a};function n(l){x(l,s)&&(r(l),a(l)),x(l,e)||(b(l,"beforeitemshow",[t]),b(l,"itemshow",[t]))}function o(l){x(l,i)&&b(l,"itemshown",[t])}function r(l){x(l,e)||n(l),x(l,i)&&o(l),x(l,s)||(b(l,"beforeitemhide",[t]),b(l,"itemhide",[t]))}function a(l){x(l,s)&&b(l,"itemhidden",[t])}}var bo={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const t=this.getValidIndex();!~this.prevIndex||this.index!==t?this.show(t):this._translate(1)},events:["resize"]}},wo={observe:Si({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};function cl(t,e,i,{center:s,easing:n,list:o}){const r=t?Je(t,o,s):Je(e,o,s)+m(e).width*i,a=e?Je(e,o,s):r+m(t).width*i*(U?-1:1),{promise:l,resolve:c}=zn();return{dir:i,show(u,f=0,d){const p=d?"linear":n;return u-=Math.round(u*Q(f,-1,1)),h(o,"transitionProperty","none"),this.translate(f),h(o,"transitionProperty",""),f=t?f:Q(f,0,1),Ut(this.getItemIn(),"itemin",{percent:f,duration:u,timing:p,dir:i}),t&&Ut(this.getItemIn(!0),"itemout",{percent:1-f,duration:u,timing:p,dir:i}),B.start(o,{transform:L(-a*(U?-1:1),"px")},u,p).then(c,A),l},cancel(){return B.cancel(o)},reset(){h(o,"transform","")},async forward(u,f=this.percent()){return await this.cancel(),this.show(u,f,!0)},translate(u){if(u===this.percent())return;const f=this.getDistance()*i*(U?-1:1);h(o,"transform",L(Q(-a+(f-f*u),-me(o),m(o).width)*(U?-1:1),"px"));const d=this.getActives(),p=this.getItemIn(),w=this.getItemIn(!0);u=t?Q(u,-1,1):0;for(const I of M(o)){const P=v(d,I),vt=I===p,ve=I===w,be=vt||!ve&&(P||i*(U?-1:1)===-1^Di(I,o)>Di(t||e));Ut(I,`itemtranslate${be?"in":"out"}`,{dir:i,percent:ve?1-u:vt?u:P?1:0})}},percent(){return Math.abs((new DOMMatrix(h(o,"transform")).m41*(U?-1:1)+r)/(a-r))},getDistance(){return Math.abs(a-r)},getItemIn(u=!1){let f=this.getActives(),d=$o(o,Je(e||t,o,s));if(u){const p=f;f=d,d=p}return d[wt(d,p=>!v(f,p))]},getActives(){return $o(o,Je(t||e,o,s))}}}function Je(t,e,i){const s=Di(t,e);return i?s-hl(t,e):Math.min(s,xo(e))}function xo(t){return Math.max(0,me(t)-m(t).width)}function me(t,e){return Nt(M(t).slice(0,e),i=>m(i).width)}function hl(t,e){return m(e).width/2-m(t).width/2}function Di(t,e){return t&&(ss(t).left+(U?m(t).width-m(e).width:0))*(U?-1:1)||0}function $o(t,e){e-=1;const i=m(t).width,s=e+i+2;return M(t).filter(n=>{const o=Di(n,t),r=o+Math.min(m(n).width,i);return o>=e&&r<=s})}var ul={mixins:[it,Zn,bo,vo,wo],props:{center:Boolean,sets:Boolean,active:String},data:{center:!1,sets:!1,attrItem:"bdt-slider-item",selList:".bdt-slider-items",selNav:".bdt-slider-nav",clsContainer:"bdt-slider-container",active:"all",Transitioner:cl},computed:{finite({finite:t}){return t||fl(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return Bt(this.sets);let t=0;const e=xo(this.list),i=wt(this.slides,s=>{if(t>=e)return!0;t+=m(s).width});return~i?i:this.length-1},sets({sets:t}){if(!t||this.parallax)return;let e=0;const i=[],s=m(this.list).width;for(let n=0;ns&&(e=0),this.center?es/2&&(i.push(n),e=s/2-o/2):e===0&&i.push(Math.min(n,this.maxIndex)),e+=o}if(i.length)return i},transitionOptions(){return{center:this.center,list:this.list}},slides(){return M(this.list).filter(R)}},connected(){j(this.$el,this.clsContainer,!y(`.${this.clsContainer}`,this.$el))},observe:ut({target:({slides:t,$el:e})=>[e,...t]}),update:{write(){for(const t of this.navItems){const e=xt(J(t,this.attrItem));e!==!1&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!v(this.sets,e))}this.reorder(),this.parallax||this._translate(1),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!v(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.indexthis.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let n=0;n0?"next":"previous");t.preventDefault();return}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex,s=me(this.list)/this.length;this.duration=to(s/this.velocity)*(m(this.slides[i]).width/s),this.reorder()},itemshow(){~this.prevIndex&&S(this._getTransitioner().getItemIn(),this.clsActive),this.updateActiveClasses(this.prevIndex)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite){h(this.slides,"order","");return}const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((n,o)=>h(n,"order",this.dir>0&&o=this.index?-1:"")),!this.center||!this.length)return;const e=this.slides[t];let i=m(this.list).width/2-m(e).width/2,s=0;for(;i>0;){const n=this.getIndex(--s+t,t),o=this.slides[n];h(o,"order",n>t?-2:-1),i-=m(o).width}},updateActiveClasses(t=this.index){let e=this._getTransitioner(t).getActives();this.active!=="all"&&(e=[this.slides[this.getValidIndex(t)]]);const i=[this.clsActive,!this.sets||v(this.sets,k(this.index))?this.clsActivated:""];for(const s of this.slides){const n=v(e,s);j(s,i,n),g(s,"aria-hidden",!n);for(const o of N(Ce,s))pt(o,"_tabindex")||(o._tabindex=g(o,"tabindex")),g(o,"tabindex",n?o._tabindex:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(v(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=m(this.list),e=-t,i=t*2,s=m(this.slides[this.index]).width,n=this.center?t/2-s/2:0,o=new Set;for(const r of[-1,1]){let a=n+(r>0?s:0),l=0;do{const c=this.slides[this.getIndex(this.index+r+l++*r)];a+=m(c).width*r,o.add(c)}while(this.length>l&&a>e&&a=0&&eNt(s.filter(u=>!l.has(u)),u=>m(u).width))return!0}return!1}function dl(t){return Math.max(0,...M(t).map(e=>m(e).width))}var yo={mixins:[ao],beforeConnect(){this.item=this.$el.closest(`.${this.$options.id.replace("parallax","items")} > *`)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el:({item:t})=>t,handler({type:t,detail:{percent:e,duration:i,timing:s,dir:n}}){At.read(()=>{if(!this.matchMedia)return;const o=this.getCss(So(t,n,e)),r=this.getCss(ko(t)?.5:n>0?1:0);At.write(()=>{h(this.$el,o),B.start(this.$el,r,i,s).catch(A)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:t})=>t,handler(){B.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:t})=>t,handler({type:t,detail:{percent:e,dir:i}}){At.read(()=>{if(!this.matchMedia){this.reset();return}const s=this.getCss(So(t,i,e));At.write(()=>h(this.$el,s))})}}]};function ko(t){return Qt(t,"in")}function So(t,e,i){return i/=2,ko(t)^e<0?i:1-i}var pl={...Is,fade:{show(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show(){return[{opacity:0,transform:fe(1+.5),zIndex:0},{zIndex:-1}]},percent(t){return 1-h(t,"opacity")},translate(t){return[{opacity:1-t,transform:fe(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show(t){return t<0?[{transform:L(30),zIndex:-1},{transform:L(),zIndex:0}]:[{transform:L(-100),zIndex:0},{transform:L(),zIndex:-1}]},percent(t,e,i){return i<0?1-Re(e):Re(t)},translate(t,e){return e<0?[{transform:L(30*t),zIndex:-1},{transform:L(-100*(1-t)),zIndex:0}]:[{transform:L(-t*100),zIndex:0},{transform:L(30*(1-t)),zIndex:-1}]}},push:{show(t){return t<0?[{transform:L(100),zIndex:0},{transform:L(),zIndex:-1}]:[{transform:L(-30),zIndex:-1},{transform:L(),zIndex:0}]},percent(t,e,i){return i>0?1-Re(e):Re(t)},translate(t,e){return e<0?[{transform:L(t*100),zIndex:0},{transform:L(-30*(1-t)),zIndex:-1}]:[{transform:L(-30*t),zIndex:-1},{transform:L(100*(1-t)),zIndex:0}]}}},gl={mixins:[it,eo,bo,vo,wo],props:{ratio:String,minHeight:String,maxHeight:String},data:{ratio:"16:9",minHeight:void 0,maxHeight:void 0,selList:".bdt-slideshow-items",attrItem:"bdt-slideshow-item",selNav:".bdt-slideshow-nav",Animations:pl},watch:{list(t){h(t,{aspectRatio:this.ratio?this.ratio.replace(":","/"):void 0,minHeight:this.minHeight,maxHeight:this.maxHeight,minWidth:"100%",maxWidth:"100%"})}},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},ml={mixins:[it,On],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:"bdt-sortable-item",clsPlaceholder:"bdt-sortable-placeholder",clsDrag:"bdt-sortable-drag",clsDragState:"bdt-drag",clsBase:"bdt-sortable",clsNoDrag:"bdt-sortable-nodrag",clsEmpty:"bdt-sortable-empty",clsCustom:"",handle:!1,pos:{}},events:{name:ht,passive:!1,handler:"init"},computed:{target:(t,e)=>(e.tBodies||[e])[0],items(){return M(this.target)},isEmpty(){return!this.items.length},handles({handle:t},e){return t?N(t,e):this.items}},watch:{isEmpty(t){j(this.target,this.clsEmpty,t)},handles(t,e){h(e,{touchAction:"",userSelect:""}),h(t,{touchAction:"none",userSelect:"none"})}},update:{write(t){if(!this.drag||!D(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:s,offsetLeft:n},placeholder:o}=this;h(this.drag,{top:i-s,left:e-n});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(B.inProgress))return;const l=xl(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const c=this.getSortable(o),u=$l(r.target,l,o,e,i,r===c&&t.moved!==l);u!==!1&&(u&&o===u||(r!==c?(c.remove(o),t.moved=l):delete t.moved,r.insert(o,u),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:s}=t,[n]=this.items.filter(o=>o.contains(e));!n||s||i>0||ri(e)||e.closest(`.${this.clsNoDrag}`)||this.handle&&!e.closest(this.handle)||(t.preventDefault(),this.pos=yt(t),this.touched=new Set([this]),this.placeholder=n,this.origin={target:e,index:$t(n),...this.pos},$(document,ni,this.move),$(document,Et,this.end),this.threshold||this.start(t))},start(t){this.drag=wl(this.$container,this.placeholder);const{left:e,top:i}=m(this.placeholder);ft(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),S(this.drag,this.clsDrag,this.clsCustom),S(this.placeholder,this.clsPlaceholder),S(this.items,this.clsItem),S(document.documentElement,this.clsDragState),b(this.$el,"start",[this,this.placeholder]),vl(this.pos),this.move(t)},move:kl(function(t){ft(this.pos,yt(t)),!this.drag&&(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t),this.$emit("move")}),end(){if(Tt(document,ni,this.move),Tt(document,Et,this.end),!this.drag)return;bl();const t=this.getSortable(this.placeholder);this===t?this.origin.index!==$t(this.placeholder)&&b(this.$el,"moved",[this,this.placeholder]):(b(t.$el,"added",[t,this.placeholder]),b(this.$el,"removed",[this,this.placeholder])),b(this.$el,"stop",[this,this.placeholder]),ot(this.drag),this.drag=null;for(const{clsPlaceholder:e,clsItem:i}of this.touched)for(const s of this.touched)_(s.items,e,i);this.touched=null,_(document.documentElement,this.clsDragState)},insert(t,e){S(this.items,this.clsItem),e&&e.previousElementSibling!==t?this.animate(()=>hi(e,t)):!e&&this.target.lastElementChild!==t&&this.animate(()=>q(this.target,t))},remove(t){this.target.contains(t)&&this.animate(()=>ot(t))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||this.group!==!1&&e.group===this.group))return e}while(t=D(t))}}};let Io;function vl(t){let e=Date.now();Io=setInterval(()=>{let{x:i,y:s}=t;s+=document.scrollingElement.scrollTop;const n=(Date.now()-e)*.3;e=Date.now(),jt(document.elementFromPoint(i,t.y)).reverse().some(o=>{let{scrollTop:r,scrollHeight:a}=o;const{top:l,bottom:c,height:u}=rt(o);if(ls)r-=n;else if(c>s&&c-350&&r"),q(i,e.cloneNode(!0).children);for(const s of e.getAttributeNames())g(i,s,e.getAttribute(s))}else i=e.cloneNode(!0);return q(t,i),h(i,"margin","0","important"),h(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:h(e,"padding")}),et(i.firstElementChild,et(e.firstElementChild)),i}function xl(t,e){return t[wt(t,i=>ii(e,m(i)))]}function $l(t,e,i,s,n,o){if(!M(t).length)return;const r=m(e);if(!o)return yl(t,i)||nr[d]-p?!1:e}function yl(t,e){const i=M(t).length===1;i&&q(t,e);const s=M(t),n=s.some((o,r)=>{const a=m(o);return s.slice(r+1).some(l=>{const c=m(l);return!Eo([a.left,a.right],[c.left,c.right])})});return i&&ot(e),n}function Eo(t,e){return t[1]>e[0]&&e[1]>t[0]}function kl(t){let e;return function(...i){e||(e=!0,t.call(this,...i),requestAnimationFrame(()=>e=!1))}}var To={props:{pos:String,offset:Boolean,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:`bottom-${U?"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=v(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let s=[this.getPositionOffset(t),this.getShiftOffset(t)];const n=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:gi(this.dir),this.align],target:[this.dir,this.align]};if(this.axis==="y"){for(const l in o)o[l].reverse();s.reverse(),n.reverse()}const r=Co(t),a=m(t);h(t,{top:-a.height,left:-a.width}),mn(t,e,{attach:o,offset:s,boundary:i,placement:n,viewportOffset:this.getViewportOffset(t)}),r()},getPositionOffset(t=this.$el){return Y(this.offset===!1?h(t,"--bdt-position-offset"):this.offset,this.axis==="x"?"width":"height",t)*(v(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t=this.$el){return this.align==="center"?0:Y(h(t,"--bdt-position-shift-offset"),this.axis==="y"?"width":"height",t)*(v(["left","top"],this.align)?1:-1)},getViewportOffset(t){return Y(h(t,"--bdt-position-viewport-offset"))}}};function Co(t){const e=Ot(t),{scrollTop:i}=e;return()=>{i!==e.scrollTop&&(e.scrollTop=i)}}var Sl={mixins:[je,qt,To],data:{pos:"top",animation:["bdt-animation-scale-up"],duration:100,cls:"bdt-active"},connected(){Il(this.$el)},disconnected(){this.hide()},methods:{show(){if(this.isToggled(this.tooltip||null))return;const{delay:t=0,title:e}=Tl(this.$options);if(!e)return;const i=g(this.$el,"title"),s=$(this.$el,["blur",oe],o=>!dt(o)&&this.hide());this.reset=()=>{g(this.$el,{title:i,"aria-describedby":null}),s()};const n=Yt(this);g(this.$el,{title:null,"aria-describedby":n}),clearTimeout(this.showTimer),this.showTimer=setTimeout(()=>this._show(e,n),t)},async hide(){var t;C(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),(t=this.reset)==null||t.call(this),ot(this.tooltip),this.tooltip=null)},async _show(t,e){this.tooltip=q(this.container,`
${t}
`),$(this.tooltip,"toggled",(i,s)=>{if(!s)return;const n=()=>this.positionAt(this.tooltip,this.$el);n();const[o,r]=El(this.tooltip,this.$el,this.pos);this.origin=this.axis==="y"?`${gi(o)}-${r}`:`${r}-${gi(o)}`;const a=[F(document,`keydown ${ht}`,this.hide,!1,l=>l.type===ht&&!this.$el.contains(l.target)||l.type==="keydown"&&l.keyCode===O.ESC),$([document,...Rt(this.$el)],"scroll",n,{passive:!0})];F(this.tooltip,"hide",()=>a.forEach(l=>l()),{self:!0})}),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{[`focus ${Ht} ${ht}`](t){(!dt(t)||t.type===ht)&&this.show()}}};function Il(t){ai(t)||g(t,"tabindex","0")}function El(t,e,[i,s]){const n=E(t),o=E(e),r=[["left","right"],["top","bottom"]];for(const l of r){if(n[l[0]]>=o[l[1]]){i=l[1];break}if(n[l[1]]<=o[l[0]]){i=l[0];break}}return s=(v(r[0],i)?r[1]:r[0]).find(l=>n[l]===o[l])||"center",[i,s]}function Tl(t){const{el:e,id:i,data:s}=t;return["delay","title"].reduce((n,o)=>({[o]:J(e,o),...n}),{...he(J(e,i),["title"]),...s})}var Cl={mixins:[Ei],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:"bdt-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:A,beforeAll:A,beforeSend:A,complete:A,completeAll:A,error:A,fail:A,load:A,loadEnd:A,loadStart:A,progress:A},events:{change(t){C(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){Mi(t);const e=t.dataTransfer;e!=null&&e.files&&(_(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){Mi(t)},dragover(t){Mi(t),S(this.$el,this.clsDragover)},dragleave(t){Mi(t),_(this.$el,this.clsDragover)}},methods:{async upload(t){if(t=Zt(t),!t.length)return;b(this.$el,"upload",[t]);for(const s of t){if(this.maxSize&&this.maxSize*1e3{const n=new FormData;s.forEach(o=>n.append(this.name,o));for(const o in this.params)n.append(o,this.params[o]);try{const o=await _l(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:r=>{const{xhr:a}=r;$(a.upload,"progress",this.progress);for(const l of["loadStart","load","loadEnd","abort"])$(a,l.toLowerCase(),this[l]);return this.beforeSend(r)}});this.complete(o),e.length?await i(e.shift()):this.completeAll(o)}catch(o){this.error(o)}};await i(e.shift())}}};function Po(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function Pl(t,e){const i=[];for(let s=0;s{const{xhr:n}=e;for(const o in e)if(o in n)try{n[o]=e[o]}catch{}n.open(e.method.toUpperCase(),t);for(const o in e.headers)n.setRequestHeader(o,e.headers[o]);$(n,"load",()=>{n.status===0||n.status>=200&&n.status<300||n.status===304?i(n):s(ft(Error(n.statusText),{xhr:n,status:n.status}))}),$(n,"error",()=>s(ft(Error("Network Error"),{xhr:n}))),$(n,"timeout",()=>s(ft(Error("Network Timeout"),{xhr:n}))),n.send(e.data)})}var Ol=Object.freeze({__proto__:null,Countdown:Rr,Filter:na,Lightbox:Ja,LightboxPanel:so,Notification:Qa,Parallax:al,Slider:ul,SliderParallax:yo,Slideshow:gl,SlideshowParallax:yo,Sortable:ml,Tooltip:Sl,Upload:Cl});function Dl(t){Ft&&window.MutationObserver&&(document.body?requestAnimationFrame(()=>_o(t)):new MutationObserver((e,i)=>{document.body&&(_o(t),i.disconnect())}).observe(document.documentElement,{childList:!0}))}function _o(t){b(document,"uikit:init",t),document.body&&_t(document.body,Ao),new MutationObserver(e=>e.forEach(Ml)).observe(document,{subtree:!0,childList:!0}),new MutationObserver(e=>e.forEach(Bl)).observe(document,{subtree:!0,attributes:!0}),t._initialized=!0}function Ml({addedNodes:t,removedNodes:e}){for(const i of t)_t(i,Ao);for(const i of e)_t(i,Nl)}function Bl({target:t,attributeName:e}){var i;const s=Oo(e);s&&(It(t,e)?Ue(s,t):(i=Ti(t,s))==null||i.$destroy())}function Ao(t){const e=Ve(t);for(const i in e)Ts(e[i]);for(const i of t.getAttributeNames()){const s=Oo(i);s&&Ue(s,t)}}function Nl(t){const e=Ve(t);for(const i in e)Cs(e[i])}function Oo(t){gt(t,"data-")&&(t=t.slice(5));const e=pe[t];return e&&(e.options||e).name}Ra(lt),qa(lt);var Do={mixins:[it,qt],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"bdt-open",toggle:"> .bdt-accordion-title",content:"> .bdt-accordion-content",offset:0},computed:{items:({targets:t},e)=>N(t,e),toggles({toggle:t}){return this.items.map(e=>y(t,e))},contents({content:t}){return this.items.map(e=>{var i;return((i=e._wrapper)==null?void 0:i.firstElementChild)||y(t,e)})}},watch:{items(t,e){if(e||x(t,this.clsOpen))return;const i=this.active!==!1&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},toggles(){this.$emit()},contents(t){for(const e of t){const i=x(this.items.find(s=>s.contains(e)),this.clsOpen);Bi(e,!i)}this.$emit()}},observe:Si(),events:[{name:"click keydown",delegate:({targets:t,$props:e})=>`${t} ${e.toggle}`,async handler(t){var e;t.type==="keydown"&&t.keyCode!==O.SPACE||(t.preventDefault(),(e=this._off)==null||e.call(this),this._off=Fl(t.target),await this.toggle($t(this.toggles,t.current)),this._off())}},{name:"shown hidden",self:!0,delegate:({targets:t})=>t,handler(){this.$emit()}}],update(){const t=Pe(this.items,`.${this.clsOpen}`);for(const e in this.items){const i=this.toggles[e],s=this.contents[e];if(!i||!s)continue;i.id=Yt(this,i),s.id=Yt(this,s);const n=v(t,this.items[e]);g(i,{role:H(i,"a")?"button":null,"aria-controls":s.id,"aria-expanded":n,"aria-disabled":!this.collapsible&&t.length<2&&n}),g(s,{role:"region","aria-labelledby":i.id}),H(s,"ul")&&g(M(s),"role","presentation")}},methods:{toggle(t,e){t=this.items[nt(t,this.items)];let i=[t];const s=Pe(this.items,`.${this.clsOpen}`);if(!this.multiple&&!v(s,i[0])&&(i=i.concat(s)),!(!this.collapsible&&s.length<2&&v(s,t)))return Promise.all(i.map(n=>this.toggleElement(n,!v(s,n),(o,r)=>{if(j(o,this.clsOpen,r),e===!1||!this.animation){Bi(y(this.content,o),!r);return}return zl(o,r,this)})))}}};function Bi(t,e){t&&(t.hidden=e)}async function zl(t,e,{content:i,duration:s,velocity:n,transition:o}){var r;i=((r=t._wrapper)==null?void 0:r.firstElementChild)||y(i,t),t._wrapper||(t._wrapper=di(i,"