var li=Object.defineProperty;var hi=(H,e,t)=>e in H?li(H,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):H[e]=t;var d=(H,e,t)=>hi(H,typeof e!="symbol"?e+"":e,t);const R=class R{constructor(e){d(this,"el");d(this,"container");d(this,"items",[]);d(this,"links",[]);d(this,"imgs",[]);d(this,"range");d(this,"arrows");d(this,"transition",0);d(this,"scroll_left",0);d(this,"scroll_limits");d(this,"observer");d(this,"resize_observer");d(this,"query_observer");d(this,"options",{per_move:"1",infinity:!1,autoplay:!1,breakpoints:void 0});d(this,"drag",{x:0,y:0,_x:0,_a:0});d(this,"dragin",!1);d(this,"active_index",0);d(this,"_queries",[]);d(this,"_queries_reverse_methods",{detach:"attach"});d(this,"progressId");d(this,"_items",[]);d(this,"inputFn",e=>{this.transition=0,this.scrollLeft=+e.target.value+this.scrollLimits.min});d(this,"rangeUpFn",()=>{this.range.classList.remove(`${R.CLASS}__controller--active`),this.magneto()});d(this,"rangeDownFn",()=>{this.range.classList.add(`${R.CLASS}__controller--active`)});d(this,"clickArrowFn",e=>{if(e.preventDefault(),e.currentTarget.classList.contains(`${R.CLASS}__arrow--next`)){this.next();return}this.prev()});d(this,"keydownFn",e=>{switch(this.stop(),e.key){case"ArrowLeft":this.prev();break;case"ArrowRight":this.next();break}});d(this,"wheelEventEndTimeout",setTimeout(()=>{},0));d(this,"wheelFn",e=>{Math.abs(e.deltaX)<=Math.abs(e.deltaY)||(e.preventDefault(),this.transition=0,this.scrollLeft+=e.deltaX,clearTimeout(this.wheelEventEndTimeout),this.wheelEventEndTimeout=setTimeout(()=>{this.magneto()},50))});d(this,"resizeFn",()=>{this.transition=0,this.scrollLeft=this.items[this.indexes.active].el.offsetLeft});d(this,"autoplayTimeout",setTimeout(()=>{},0));d(this,"playFn",()=>{this.play()});d(this,"stopFn",()=>{this.stop()});d(this,"mouseenterFn",()=>{this.scrollLimits.max&&(this.container.style.cursor="grab")});d(this,"mouseleaveFn",e=>{this.scrollLimits.max&&(this.container.style.cursor="",this.dragStopFn(e))});d(this,"dragStartFn",e=>{this.dragin=!1,!(!this.scrollLimits.max||e.target===this.range)&&(this.container.style.cursor="grabbing",this.transition=0,this.drag={x:0,y:0,_x:this.scrollLeft,_a:this.indexes.active},e instanceof MouseEvent?(this.drag.x=e.pageX,this.drag.y=e.pageY,this.container.addEventListener("mouseup",this.dragStopFn),this.container.addEventListener("mousemove",this.draginFn)):(this.drag.x=e.touches[0].clientX,this.drag.y=e.touches[0].clientY,this.container.addEventListener("touchend",this.dragStopFn),this.container.addEventListener("touchmove",this.draginFn)))});d(this,"draginFn",e=>{let t=this.drag.x-(e instanceof MouseEvent?e.pageX:e.touches[0].clientX),n=this.drag.y-(e instanceof MouseEvent?e.pageY:e.touches[0].clientY);Math.abs(t)<Math.abs(n)||Math.abs(t)<5||(this.dragin=!0,e.preventDefault(),this.scrollLeft=t+this.drag._x)});d(this,"dragStopFn",e=>{if(this.container.style.cursor="grab",e instanceof MouseEvent?(this.container.removeEventListener("mouseup",this.dragStopFn),this.container.removeEventListener("mousemove",this.draginFn)):(this.container.removeEventListener("touchend",this.dragStopFn),this.container.removeEventListener("touchmove",this.draginFn)),!this.dragin)return;this.dragin=!1;let t=this.drag._x-this.scrollLeft<0?this.drag._a+this.perMove:this.drag._a-this.perMove;if(!this.items[t]||this.drag._x===this.scrollLeft){this.magneto();return}const n=500;this.transition=n*(this.perMove>1?1.7:1),this.scrollLeft=this.items[t].el.offsetLeft});d(this,"clickLinkFn",e=>{this.dragin&&e.preventDefault()});d(this,"queryFn",()=>{if(!this.options.breakpoints)return;const e=window.innerWidth;for(const t in this.options.breakpoints){const n=t.trim().split(":")[0];if(!["min-width","max-width"].includes(n))continue;const a=parseInt(t.trim().split(":")[1]);if(isNaN(a))continue;const c=this.options.breakpoints[t];if(typeof this[c]!="function")continue;const f=this._queries_reverse_methods[c],m=n==="min-width"&&e>=a||n==="max-width"&&e<a,g=n==="min-width"&&e<a||n==="max-width"&&e>=a;m&&!this._queries.includes(c)&&(this._queries.push(c),this[c]()),g&&this._queries.includes(c)&&(this._queries=this._queries.filter(C=>C!==c),f&&this[f]())}});d(this,"cubicBezier",(e,t,n,a)=>{if(!(e>=0&&e<=1&&n>=0&&n<=1))throw new Error(`CubicBezier x1 & x2 values must be { 0 < x < 1 }, got { x1 : ${e}, x2: ${n} }`);const c=1-(n=3*(n-e)-(e*=3))-e,f=1-(a=3*(a-t)-(t*=3))-t;let m=0,g=0,C=0,k=0,T=0;return N=>{for(g=N,m=0;32>m;m++){if(1e-5>Math.abs(T=g*(g*(g*c+n)+e)-N))return g*(g*(g*f+a)+t);if(1e-5>Math.abs(k=g*(g*c*3+n*2)+e))break;g-=T/k}if((C=0)>(g=N))return 0;if((k=1)<g)return 1;for(;k>C&&!(1e-5>Math.abs((T=g*(g*(g*c+n)+e))-N));)N>T?C=g:k=g,g=.5*(k-C)+C;return g*(g*(g*f+a)+t)}});d(this,"cubicBezierBasedOnTimeAndValue",(e,t,n,a,c,f,m)=>this.cubicBezier(n,a,c,f)(m)*(t-e)+e);if(this.el=e,this.el.classList.add(`${R.CLASS}--initialized`),this.container=this.el.querySelector(`.${R.CLASS}__container`),this.range=document.createElement("input"),this.range.classList.add(`${R.CLASS}__controller`),this.range.setAttribute("type","range"),this.arrows=[document.createElement("button"),document.createElement("button")],this.arrows[0].append(document.createElement("span")),this.arrows[0].classList.add(`${R.CLASS}__arrow`),this.arrows[0].classList.add(`${R.CLASS}__arrow--prev`),this.arrows[1].append(document.createElement("span")),this.arrows[1].classList.add(`${R.CLASS}__arrow`),this.arrows[1].classList.add(`${R.CLASS}__arrow--next`),this.range.setAttribute("aria-label","controller"),this.arrows[0].setAttribute("aria-label","previous"),this.arrows[1].setAttribute("aria-label","next"),!this.container)return;const t=Array.from(this.container.children),n=new MutationObserver(()=>{this.items=this._items,this.items.forEach(a=>{window.getComputedStyle(a.el,null).display==="none"&&(this.items=this.items.filter(function(c){return a.el!==c.el}))}),this.scrollLeft=this.scrollLeft});for(let a=0;a<t.length;a++){const c=new us(a,t[a],this);this.items.push(c),this._items.push(c),n.observe(c.el,{attributes:!0,attributeFilter:["class"]})}this.items.forEach(a=>{window.getComputedStyle(a.el,null).display==="none"&&(this.items=this.items.filter(function(c){return a.el!==c.el}))}),this.options={...this.options,...JSON.parse(this.el.dataset.options||"{}")},this.attach(),this.query_observer=new ResizeObserver(()=>{this.queryFn()}),this.query_observer.observe(this.el),document.addEventListener("DOMContentLoaded",()=>{this._queries.includes("detach")||(this.scrollLeft=this.scrollLimits.min)},!1)}attach(){this.scrollLeft=this.scrollLimits.min,this.observer=new IntersectionObserver(e=>{this.inView=e[0].isIntersecting}),this.observer.observe(this.el),this.resize_observer=new ResizeObserver(e=>{this._queries.includes("detach")||this.resizeFn()}),this.el.appendChild(this.range),this.el.appendChild(this.arrows[0]),this.el.appendChild(this.arrows[1]),this.container.style.overflow="visible",this.container.addEventListener("wheel",this.wheelFn,{passive:!0}),this.resize_observer.observe(this.el),this.range.addEventListener("input",this.inputFn),this.range.addEventListener("mouseup",this.rangeUpFn),this.range.addEventListener("touchend",this.rangeUpFn),this.range.addEventListener("mousedown",this.rangeDownFn),this.el.addEventListener("mouseenter",this.stopFn,{passive:!0}),this.el.addEventListener("mouseleave",this.playFn,{passive:!0}),this.container.addEventListener("mouseenter",this.mouseenterFn,{passive:!0}),this.container.addEventListener("mouseleave",this.mouseleaveFn,{passive:!0}),this.container.addEventListener("touchstart",this.dragStartFn),this.container.addEventListener("mousedown",this.dragStartFn),this.arrows.forEach(e=>{e.addEventListener("click",this.clickArrowFn)}),this.clone(),this.links=Array.from(this.el.querySelectorAll("a")),this.links.forEach(e=>{e.addEventListener("click",this.clickLinkFn),e.setAttribute("draggable","false")}),this.imgs=Array.from(this.el.querySelectorAll("img")),this.imgs.forEach(e=>{e.setAttribute("draggable","false")}),this.scrollLeft=this.scrollLimits.min}detach(){var e,t;(e=this.observer)==null||e.unobserve(this.el),(t=this.resize_observer)==null||t.unobserve(this.el),this.range.remove(),this.arrows[0].remove(),this.arrows[1].remove(),this.container.style.overflow="",this.container.removeEventListener("wheel",this.wheelFn),this.range.removeEventListener("input",this.inputFn),this.range.removeEventListener("mouseup",this.rangeUpFn),this.range.removeEventListener("touchend",this.rangeUpFn),this.range.removeEventListener("mousedown",this.rangeDownFn),this.el.removeEventListener("mouseenter",this.stopFn),this.el.removeEventListener("mouseleave",this.playFn),this.container.removeEventListener("mouseenter",this.mouseenterFn),this.container.removeEventListener("mouseleave",this.mouseleaveFn),this.container.removeEventListener("touchstart",this.dragStartFn),this.container.removeEventListener("mousedown",this.dragStartFn),this.arrows.forEach(n=>{n.removeEventListener("click",this.clickArrowFn)}),this.links.forEach(n=>{n.removeEventListener("click",this.clickLinkFn),n.removeAttribute("draggable")}),this.imgs.forEach(n=>{n.removeAttribute("draggable")}),this.items.forEach((n,a,c)=>{n.reset(),n.el.classList.contains(`${R.CLASS}__clone`)&&(n.el.remove(),c.splice(a,1))})}magneto(){if(this.scrollLeft===this.scrollLimits.max||this.scrollLeft===this.scrollLimits.min)return;let e=[];this.items.forEach(a=>{e.push(a.el.offsetLeft)});const t=this.scrollLeft,n=e.reduce((a,c)=>Math.abs(c-t)<Math.abs(a-t)?c:a);this.transition=300,this.scrollLeft=n}next(){if(this.progressId)return;let e=this.indexes.active+this.perMove;if(e>this.indexes.max&&(e=this.indexes.max),!this.items[e])return;const t=500;this.transition=t*(this.perMove>1?1.7:1),this.scrollLeft=this.items[e].el.offsetLeft}prev(){if(this.progressId)return;let e=this.indexes.active-this.perMove;if(e<this.indexes.min&&(e=this.indexes.min),!this.items[e])return;const t=500;this.transition=t*(this.perMove>1?1.7:1),this.scrollLeft=this.items[e].el.offsetLeft}play(){!this.options.infinity||!this.autoplayTime||(clearTimeout(this.autoplayTimeout),this.autoplayTimeout=setTimeout(()=>{this.next(),this.play()},this.autoplayTime))}stop(){this.autoplayTime&&clearTimeout(this.autoplayTimeout)}clone(){if(!this.options.infinity)return;const e=this.items.length;for(let t=1,n=3;t<n;t++)for(let a=0;a<e;a++){const c=this.items[a].el.cloneNode(!0);c.classList.add(`${R.CLASS}__clone`),this.container.append(c);const f=a+e*t;this.items.push(new us(f,c,this))}}set inView(e){e?(document.addEventListener("keydown",this.keydownFn),this.play()):(document.removeEventListener("keydown",this.keydownFn),this.stop())}set ctrl(e){if(this.arrows.length&&!this.options.infinity&&this.arrows.forEach(c=>{if(c.classList.contains(`${R.CLASS}__arrow--next`)){e===this.scrollLimits.max?c.classList.add(`${R.CLASS}__arrow--inactive`):c.classList.remove(`${R.CLASS}__arrow--inactive`);return}e===this.scrollLimits.min?c.classList.add(`${R.CLASS}__arrow--inactive`):c.classList.remove(`${R.CLASS}__arrow--inactive`)}),!this.scrollLimits.max){this.range.style.display="none";return}this.range.style.display="block";const t=this.container.clientWidth/(this.scrollLimits.max-this.scrollLimits.min+this.container.clientWidth)*100,n=e-this.scrollLimits.min,a=this.scrollLimits.max-this.scrollLimits.min;this.range.style.setProperty("--d3-carousel-range-size",`${t}px`),this.range.setAttribute("min","0"),this.range.setAttribute("max",`${a}`),this.range.value=`${n}`}set scrollLeft(e){if(this.options.infinity?this.transition?(e<this.scrollLimits.min&&(this.scroll_left=this.scroll_left+this.scrollLimits.min,this.items.forEach(f=>{f.scrollLeft=this.scroll_left}),e=e+this.scrollLimits.min),e>this.scrollLimits.max&&(this.scroll_left=this.scroll_left-this.scrollLimits.min,this.items.forEach(f=>{f.scrollLeft=this.scroll_left}),e=e-this.scrollLimits.min)):(e<this.scrollLimits.min&&(e=this.scrollLimits.max),e>this.scrollLimits.max&&(e=this.scrollLimits.min)):(e<this.scrollLimits.min&&(e=this.scrollLimits.min),e>this.scrollLimits.max&&(e=this.scrollLimits.max)),!this.transition){this.scroll_left=e,this.items.forEach(f=>{f.scrollLeft=this.scroll_left}),this.ctrl=this.scroll_left;return}this.progressId&&cancelAnimationFrame(this.progressId);const t=performance.now(),n=this.transition,a=this.scroll_left,c=f=>{const m=(f-t)/n;if(m>=1){this.progressId=void 0,this.scroll_left=e,this.items.forEach(g=>{g.scrollLeft=this.scroll_left}),this.ctrl=this.scroll_left;return}this.scroll_left=this.cubicBezierBasedOnTimeAndValue(a,e,.77,0,.175,1,m),this.items.forEach(g=>{g.scrollLeft=this.scroll_left}),this.ctrl=this.scroll_left,this.transition&&(this.progressId=requestAnimationFrame(c))};c(t)}get scrollLeft(){return this.scroll_left}get scrollLimits(){if(this.scroll_limits&&this.scroll_limits.width===this.el.clientWidth)return this.scroll_limits;this.container.classList.remove(`${R.CLASS}__container--inactive`);const e=this.items[1]?this.items[1].el.offsetLeft-this.items[0].el.clientWidth:0;let t=-e;this.items.forEach(c=>{t+=c.el.clientWidth+e});let n=0,a=t-this.container.clientWidth;return a<10&&(a=0),this.options.infinity&&(n=(t+e)/3,a=n*2),this.scroll_limits={min:n,max:a,width:this.el.clientWidth},a||this.container.classList.add(`${R.CLASS}__container--inactive`),this.scroll_limits}get perMove(){return isNaN(parseInt(this.options.per_move))?this.indexes.visible.length:parseInt(this.options.per_move)}get autoplayTime(){return typeof this.options.autoplay=="boolean"?this.options.autoplay?5e3:0:this.options.autoplay}get indexes(){let e=[];this.items.forEach(c=>{c.active&&e.push(this.items.indexOf(c))});let t=0,n=this.items.length-1,a=Math.min.apply(Math,e);return this.options.infinity&&(t=this.items.length/3,n=t*2),isFinite(a)&&(this.active_index=a),{min:t,max:n,active:this.active_index,visible:e}}get isOneVisible(){return this.container.clientWidth/this.items[0].el.clientWidth<2}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${R.CLASS}:not(.${R.CLASS}--initialized)`).forEach(t=>new R(t))}};d(R,"CLASS","d3-carousel");let Ot=R;class us{constructor(e,t,n){d(this,"index");d(this,"el");d(this,"active",!1);d(this,"carousel");d(this,"scroll_left",0);this.index=e,this.el=t,this.carousel=n}reset(){this.el.style.cssText=""}set scrollLeft(e){this.scroll_left=this.el.offsetLeft-e;let t="",n="0";if(this.active=this.scroll_left>-10&&this.scroll_left<this.carousel.container.clientWidth-this.el.clientWidth+10,this.scroll_left<0){let a=-this.scroll_left/this.el.clientWidth;a>3&&(a=3);const c=(3-a)/3;if(this.el.style.opacity=`${c}`,this.el.style.filter=`blur(${a}px)`,this.el.style.transformOrigin="0% 50%",this.carousel.isOneVisible){e=this.el.offsetLeft+this.el.clientWidth*a*2;const f=2-a*2,m=this.el.style.opacity==="0"?1:this.carousel.el.clientWidth<500?10:14;a>.5?(e=f>0?this.el.offsetLeft+this.el.clientWidth*f+m:this.el.offsetLeft+m,this.el.style.zIndex="-10"):this.el.style.zIndex="0"}else e=this.el.offsetLeft+14*a;t=`scale(${1-.1*(1-c)})`}if(this.scroll_left>this.carousel.container.clientWidth-this.el.clientWidth){let a=(this.scroll_left-this.carousel.container.clientWidth+this.el.clientWidth)/this.el.clientWidth;a>3&&(a=3),this.el.style.zIndex=`-${this.index}`;const c=(3-a)/3;this.el.style.opacity=(this.carousel.isOneVisible?c*1.25:c)+"",this.el.style.filter=`blur(${a}px)`,this.el.style.transformOrigin="100% 50%";const f=this.el.style.opacity==="0"?1:this.carousel.el.clientWidth<500?10:14;e=-this.carousel.container.clientWidth+this.el.clientWidth+this.el.offsetLeft-f*a,t=`scale(${1-.1*(1-c)})`}this.active?(this.el.style.opacity="",this.el.style.filter="",this.el.style.transformOrigin="",this.el.style.zIndex="0",this.el.style.pointerEvents=""):this.el.style.pointerEvents="none",this.el.style.transform=`translate3d(${-e}px,0px,${n}px) ${t}`}}Ot.observe();window.addEventListener("d3update",Ot.observe);class le{constructor(e){d(this,"dataLayerType","undefinedDataLayerType");d(this,"events",{});({dataLayerType:this.dataLayerType,...this.events}=this.parseOptions(e.dataset.analyticsOptions))}play(){this.events.play&&this.push(this.dataLayerType,this.events.play)}change(e=void 0){let t,n=this.events.change;if(e&&e.dataset.analyticsOptions){let a;({dataLayerType:t,...a}=this.parseOptions(e.dataset.analyticsOptions)),n=a.change||a.open||a}n&&this.push(t||this.dataLayerType,n)}open(e=void 0){let t,n=this.events.open;if(e&&e.dataset.analyticsOptions){let a;({dataLayerType:t,...a}=this.parseOptions(e.dataset.analyticsOptions)),n=a.change||a.open||a}n&&this.push(t||this.dataLayerType,n)}close(e){this.events.close&&this.push(this.dataLayerType,this.events.close)}parseOptions(e="{}"){if(e!=="{}")try{return JSON.parse(e)}catch(t){console.log(t)}return{dataLayerType:this.dataLayerType,...this.events}}push(e,t){window[e]=window[e]||[],window[e].push(t)}}const M=class M extends le{constructor(t){super(t);d(this,"el");d(this,"video");d(this,"overlay");d(this,"overlay_icon");d(this,"controller");d(this,"hideControllerTimeout",setTimeout(()=>{},0));d(this,"buttons",{});d(this,"progress",{});d(this,"observer");d(this,"mouse",{x:0,y:0,lastX:0,lastY:0});d(this,"position",{initialLeft:50,initialTop:50,top:50,left:50});d(this,"mouseMoveFn",t=>{const n=this.el.getBoundingClientRect();this.mouse.x=(this.mouse.lastX-n.left)/this.el.offsetWidth*2-1,this.mouse.y=(this.mouse.lastY-n.top)/this.el.offsetHeight*-2+1,t&&(this.mouse.lastX=t.clientX,this.mouse.lastY=t.clientY)});d(this,"mouseEnterFn",t=>{this.overlay.addEventListener("mousemove",this.mouseMoveFn,{passive:!0}),this.overlay.addEventListener("mouseleave",this.mouseLeaveFn,{passive:!0}),this.mouse.lastX=t.clientX,this.mouse.lastY=t.clientY,this.mouseMoveFn(t)});d(this,"mouseLeaveFn",t=>{this.overlay.removeEventListener("mousemove",this.mouseMoveFn),this.overlay.removeEventListener("mouseleave",this.mouseLeaveFn);const n=this.el.getBoundingClientRect();this.mouse.lastX=n.left+this.el.offsetWidth/2,this.mouse.lastY=n.top+this.el.offsetHeight/2,this.mouseMoveFn(t)});d(this,"physicsFrame");this.el=t,this.el.classList.add(`${M.CLASS}--initialized`),this.video=this.el.querySelector("video"),this.video&&(this.video.removeAttribute("controls"),this.controller=document.createElement("div"),this.controller.classList.add(`${M.CLASS}__controller`),this.el.append(this.controller),this.overlay=document.createElement("button"),this.overlay.classList.add(`${M.CLASS}__overlay`),this.overlay.setAttribute("type","button"),this.overlay.setAttribute("aria-label","play"),this.overlay_icon=document.createElement("span"),this.attach())}getButton(t){return this.buttons[t]?this.buttons[t]:(this.buttons[t]=document.createElement("button"),this.buttons[t].setAttribute("type","button"),this.buttons[t].setAttribute("aria-label",t),this.buttons[t].classList.add(`${M.CLASS}__${t}`),this.controller.append(this.buttons[t]),this.buttons[t])}getProgress(t="root"){if(JSON.stringify(this.progress)!=="{}")return this.progress[t]||document.createElement("div");const n=document.createElement("div");n.classList.add(`${M.CLASS}__progress`);const a=document.createElement("div");a.classList.add(`${M.CLASS}__bar`),n.append(a);const c=document.createElement("div");return c.classList.add(`${M.CLASS}__time`),c.innerText="--:--",this.controller.append(n),this.controller.append(c),this.progress={root:n,bar:a,time:c},this.progress[t]}attach(){var n;(n=this.overlay)==null||n.append(this.overlay_icon),this.el.append(this.overlay),this.overlay.addEventListener("click",a=>{this.video.paused?this.video.play():this.video.pause()},{passive:!0}),this.overlay.addEventListener("mouseenter",this.mouseEnterFn,{passive:!0}),this.getButton("pause").addEventListener("click",()=>{this.video.pause()},{passive:!0}),this.getButton("mute").addEventListener("click",()=>{this.video.muted=!0},{passive:!0}),this.getButton("unmute").addEventListener("click",()=>{this.video.muted=!1},{passive:!0}),this.el.dataset.timeline!=="off"&&this.getProgress().addEventListener("click",a=>{const c=a.offsetX/this.getProgress().offsetWidth*this.video.duration;this.video.currentTime=c}),this.getButton("full").addEventListener("click",()=>{this.video.requestFullscreen?this.video.requestFullscreen():this.video.webkitRequestFullscreen?this.video.webkitRequestFullscreen():this.video.msRequestFullscreen?this.video.msRequestFullscreen():this.video.mozRequestFullscreen?this.video.mozRequestFullscreen():this.video.webkitEnterFullscreen&&this.video.webkitEnterFullscreen()},{passive:!0}),this.el.addEventListener("mousemove",()=>{this.hideControllerDelay()}),this.video.addEventListener("play",()=>{super.play(),this.checkPlay()},{passive:!0}),this.video.addEventListener("pause",()=>{this.checkPlay()},{passive:!0}),this.checkPlay(),this.video.addEventListener("volumechange",a=>{this.checkVolume()},{passive:!0}),this.checkVolume(),this.video.addEventListener("fullscreenchange",()=>{document.fullscreenElement===this.video?this.video.style.objectFit="contain":this.video.style.objectFit=""},{passive:!0}),this.el.dataset.timeline!=="off"&&this.video.addEventListener("timeupdate",()=>{const a=this.video.currentTime/this.video.duration*100;this.getProgress("bar").style.width=`${a}%`,this.getProgress("time").innerText=M.timeFormat(this.video.currentTime)});const t=window.matchMedia("(hover: hover)");this.observer=new IntersectionObserver(a=>{a[0].isIntersecting?(t.matches&&this.physics(),this.video.readyState===0&&this.video.load(),this.video.hasAttribute("autoplay")&&this.video.play()):(this.getButton("pause").style.display!=="none"&&(this.video.pause(),this.video.hasAttribute("autoplay")&&(this.video.muted=!0)),this.physicsOff())}),this.observer.observe(this.el)}checkPlay(){this.hideControllerDelay(),this.video.paused?(this.overlay.classList.remove(`${M.CLASS}__overlay--hidden`),this.controller.classList.add(`${M.CLASS}__controller--hidden`),this.getButton("pause").style.display="none"):(this.overlay.classList.add(`${M.CLASS}__overlay--hidden`),this.controller.classList.remove(`${M.CLASS}__controller--hidden`),this.getButton("pause").style.display="block")}hideControllerDelay(){clearTimeout(this.hideControllerTimeout),this.controller.classList.remove(`${M.CLASS}__controller--hidden-delay`),!this.video.paused&&(this.hideControllerTimeout=setTimeout(()=>{this.controller.classList.add(`${M.CLASS}__controller--hidden-delay`)},M.HIDE_CTRL_TIME))}checkVolume(){this.video.muted?(this.getButton("mute").style.display="none",this.getButton("unmute").style.display="block"):(this.getButton("mute").style.display="block",this.getButton("unmute").style.display="none")}physicsOff(){cancelAnimationFrame(this.physicsFrame)}physics(){this.physicsFrame=requestAnimationFrame(()=>{this.physics()}),this.position.left=M.lerp(this.position.left,this.position.initialLeft+this.mouse.x*this.position.initialLeft*.65,.05),this.position.top=M.lerp(this.position.top,this.position.initialTop-this.mouse.y*this.position.initialTop*.65,.05),this.overlay_icon.style.left=`${this.position.left}%`,this.overlay_icon.style.top=`${this.position.top}%`}static timeFormat(t){const n=Math.floor(t),a=Math.floor(n/3600),c=Math.floor((n-a*3600)/60),f=n%60,m=a===0?"":`${a}:`,g=c<10?`0${c}:`:`${c}:`,C=f<10?`0${f}`:`${f}`;return m+g+C}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${M.CLASS}:not(.${M.CLASS}--initialized)`).forEach(n=>new M(n))}};d(M,"CLASS","d3-video"),d(M,"TRANSITION_TIMING","cubic-bezier(0.77, 0, 0.175, 1)"),d(M,"HIDE_CTRL_TIME",3e3),d(M,"lerp",(t,n,a)=>(1-a)*t+a*n);let It=M;It.observe();window.addEventListener("d3update",It.observe);const bt=class bt{constructor(e){d(this,"el");d(this,"items",{});d(this,"options",{class:[]});d(this,"observer");d(this,"mutation_observer");this.el=e,this.options={...this.options,...JSON.parse(this.el.dataset.options||"{}")},typeof this.options.class=="string"&&(this.options.class=[this.options.class]),this.options.class.forEach(t=>{t=t.startsWith(".")?t:`.${t}`,this.el.querySelectorAll(t).length>1&&(this.items[t]=Array.from(this.el.querySelectorAll(t)))}),this.attach()}attach(){this.observer=new ResizeObserver(()=>{requestAnimationFrame(()=>{this.check()})}),this.observer.observe(this.el),this.mutation_observer=new MutationObserver(()=>{this.check()}),this.mutation_observer.observe(this.el,{subtree:!0,childList:!0,characterData:!0})}check(){for(const e in this.items)Object.prototype.hasOwnProperty.call(this.items,e)&&this._check(this.items[e])}_check(e){let t=[],n=[];if(e.forEach(c=>{var m;c.style.height="",(c.querySelector(".d3-btn")||((m=c.parentNode)==null?void 0:m.querySelector(".d3-btn")))&&(n.push(c),t.push(c.clientHeight))}),this.isOneVisible||e.length===1)return;const a=Math.max(...t);n.forEach(c=>{c.style.height=`${a}px`})}get isOneVisible(){let e="";for(const t in this.items)if(Object.prototype.hasOwnProperty.call(this.items,t)){e=t;break}return this.el.clientWidth/this.items[e][0].clientWidth<2}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${bt.CLASS}:not(.${bt.CLASS}--initialized)`).forEach(t=>new bt(t))}};d(bt,"CLASS","d3-sameheight");let Mt=bt;Mt.observe();window.addEventListener("d3update",Mt.observe);const U=class U{constructor(e){d(this,"el");d(this,"root");d(this,"items",[]);d(this,"hideclass");d(this,"number",0);d(this,"observer");this.el=e;const t=this.el.getRootNode();this.root=t.body||t,this.hideclass=this.el.dataset.hideclass,this.el.classList.contains(`${U.CLASS}--number`)&&(this.number=Number(this.el.innerText)),this.el.classList.remove(`${U.CLASS}`),this.hide(),this.attach()}attach(){this.observer=new IntersectionObserver(e=>{e[0].isIntersecting?(this.show(),this.el.classList.contains(`${U.CLASS}--everytime`)||this.observer.unobserve(this.el)):this.hide()}),this.observer.observe(this.el)}show(){if(this.number){this.showNumber(1);return}if(this.hideclass){this.el.classList.remove(this.hideclass);return}for(let e=0;e<this.items.length;e++){const t=.2*e;this.items[e].style.transition=`opacity 1s ease-in-out ${t}s`,this.items[e].style.opacity="1",this.reset(e,(t+1)*1e3)}}showNumber(e){this.el.innerText=`${e}`;const t=750/this.number<2?10:1,n=750/this.number*t;(e+=t)<this.number?setTimeout(()=>{this.showNumber(e)},n):this.el.innerText=`${this.number}`}hide(){if(this.el.classList.contains(`${U.CLASS}--number`))this.el.innerText="0";else if(this.hideclass)this.el.classList.add(this.hideclass);else{if(this.items.length===0&&(this.items=[this.el],this.el.children.length>0)){this.items=[];const e=Array.from(this.el.children),t=document.createElement("div");this.root.appendChild(t);const n=window.getComputedStyle(t).backgroundColor;this.root.removeChild(t),e.forEach(a=>{if(window.getComputedStyle(a).backgroundColor!=n)this.items=this.items.concat([a]);else{const c=Array.from(a.childNodes).filter(f=>{var m;return((m=f.nodeValue)==null?void 0:m.trim())!==""});this.items=this.items.concat(a.children.length>1&&c.length===a.children.length?Array.from(a.children):[a])}})}this.items.forEach(e=>{e.style.opacity="0"})}}async reset(e,t){await new Promise(n=>setTimeout(n,t)),this.items[e].style.transition="",this.items[e].style.opacity=""}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${U.CLASS}:not(.${U.CLASS}--initialized)`).forEach(t=>new U(t))}};d(U,"CLASS","d3-show"),d(U,"TRANSITION_TIMING","cubic-bezier(0.77, 0, 0.175, 1)");let Oe=U;Oe.observe();const nt=class nt{constructor(e){d(this,"resize_observer");e.classList.add(`${nt.CLASS}--initialized`),this.init(e)}init(e){this.updateMask(e),e.addEventListener("scroll",()=>this.updateMask(e)),this.resize_observer=new ResizeObserver(()=>{this.updateMask(e)}),this.resize_observer.observe(e)}updateMask(e){const n=e.scrollLeft,a=1,c=e.scrollWidth-e.clientWidth-1,f=e.scrollTop,m=1,g=e.scrollHeight-e.clientHeight-1;let C="";c>a?n<=1?C="linear-gradient(to right, black 80%, transparent)":n>=c?C="linear-gradient(to left, black 80%, transparent)":C="linear-gradient(to right, transparent, black 20%, black 80%, black 20%, transparent)":g>m&&(f<=1?C="linear-gradient(to bottom, black 80%, transparent)":f>=g?C="linear-gradient(to top, black 80%, transparent)":C="linear-gradient(to bottom, transparent, black 20%, black 80%, black 20%, transparent)"),e.style.maskImage=C,e.style.webkitMaskImage=C}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${nt.CLASS}:not(.${nt.CLASS}--initialized)`).forEach(t=>new nt(t))}};d(nt,"CLASS","d3-slider-mask");let qt=nt;qt.observe();window.addEventListener("d3update",qt.observe);class he{constructor(e){d(this,"support");this.support=e,this.addDropdownHandlers(),this.onScrollToView()}addDropdownHandlers(){this.support.querySelectorAll(".d3-support__box__dropdown").forEach(e=>{e.addEventListener("click",function(){this.classList.toggle("d3-support__box__dropdown--active")})})}onScrollToView(){const e=(a,c)=>{a.forEach(f=>{if(f.isIntersecting){const m=f.target,g=m.querySelectorAll(".d3-support__box");g&&g.forEach(function(k,T){k.style.setProperty("--line-delay",`${400+T*150}ms`)});const C=m.querySelectorAll(".d3-support__box ul li");C&&C.forEach(function(k,T){k.style.setProperty("transition-delay",`${500+T*100}ms`),k.style.setProperty("--line-delay",`${900+T*150}ms`)}),m.classList.add("is-visible"),c.unobserve(m)}})},t=new IntersectionObserver(e,{root:null,rootMargin:"0px",threshold:.1}),n=this.support.querySelector(".d3-support__boxes");n&&t.observe(n)}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(".d3-support").forEach(t=>{new he(t)})}}he.observe();window.addEventListener("d3update",he.observe);const rt=class rt{constructor(e){d(this,"el");d(this,"speed",1);this.el=e,this.el.classList.add(`${rt.CLASS}--initialized`),this.el.dataset.speed&&(this.speed=Number(this.el.dataset.speed)),window.addEventListener("scroll",this.handleScroll.bind(this)),window.addEventListener("resize",this.handleResize.bind(this)),this.handleScroll()}handleScroll(){const e=this.el.getBoundingClientRect(),t=window.innerHeight||document.documentElement.clientHeight;let n;if(e.bottom<0)n=-1*this.speed;else if(e.top>t)n=1*this.speed;else{const a=(e.top+e.bottom)/2,c=t/2,f=a-c,m=c+Math.min(c,e.height/2);n=f/m*this.speed}this.applyTransform(n)}applyTransform(e){const t=25+e*25;this.el.setAttribute("style",`transform: translateY(${t}px)`)}handleResize(){this.handleScroll()}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${rt.CLASS}:not(.${rt.CLASS}--initialized)`).forEach(t=>new rt(t))}};d(rt,"CLASS","d3-parallax");let Rt=rt;Rt.observe();window.addEventListener("d3update",Rt.observe);const ot=class ot{constructor(e){d(this,"el");d(this,"targetDate");d(this,"elementDays");d(this,"elementDaysLabel");d(this,"elementHours");d(this,"elementMinutes");d(this,"elementSeconds");d(this,"intervalId");e.classList.add(`${ot.CLASS}--initialized`),this.el=e;const t=e.getAttribute("data-date");if(!t)throw new Error("Data-date attribute is required");this.targetDate=new Date(t),this.elementDays=e.querySelector(".d3-countdown__days"),this.elementDaysLabel=e.querySelector(".d3-countdown__days + span"),this.elementHours=e.querySelector(".d3-countdown__hours"),this.elementMinutes=e.querySelector(".d3-countdown__minutes strong"),this.elementSeconds=e.querySelector(".d3-countdown__seconds strong"),this.start()}calculateTimeLeft(){const e=new Date().getTime(),t=this.targetDate.getTime()-e;if(t<=0)return this.stop(),{days:0,hours:0,minutes:0,seconds:0};const n=Math.floor(t/(1e3*60*60*24)),a=Math.floor(t%(1e3*60*60*24)/(1e3*60*60)),c=Math.floor(t%(1e3*60*60)/(1e3*60)),f=Math.floor(t%(1e3*60)/1e3);return{days:n,hours:a,minutes:c,seconds:f}}getDaysLabel(e){return e===1?"den":e>=2&&e<=4?"dny":"dní"}formatDigits(e){return e.toString().padStart(2,"0").split("").map(n=>`<span>${n}</span>`).join("")}start(){this.intervalId=window.setInterval(()=>{const{days:e,hours:t,minutes:n,seconds:a}=this.calculateTimeLeft();this.elementDays.innerHTML=this.formatDigits(e),this.elementDaysLabel.innerHTML=this.getDaysLabel(e),this.elementHours.innerHTML=this.formatDigits(t),this.elementMinutes.innerHTML=this.formatDigits(n),this.elementSeconds.innerHTML=this.formatDigits(a)},1e3)}stop(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=void 0)}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${ot.CLASS}:not(.${ot.CLASS}--initialized)`).forEach(t=>new ot(t))}};d(ot,"CLASS","d3-countdown");let zt=ot;zt.observe();window.addEventListener("d3update",zt.observe);const J=class J{constructor(e){d(this,"el");d(this,"targetElementHide");e.classList.add(`${J.CLASS}--initialized`),this.el=e;const t=e.getAttribute("data-hide");this.targetElementHide=document.querySelector(`${t}`),this.targetElementHide?window.addEventListener("scroll",()=>this.checkVerticalPosition()):window.addEventListener("scroll",()=>this.show())}checkVerticalPosition(){if(!this.targetElementHide)return;const e=this.el.getBoundingClientRect(),t=this.targetElementHide.getBoundingClientRect();e.bottom>t.top&&e.top<t.bottom?this.hide():this.show()}show(){this.el.classList.add(`${J.CLASS}--visible`)}hide(){this.el.classList.remove(`${J.CLASS}--visible`)}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${J.CLASS}:not(.${J.CLASS}--initialized)`).forEach(t=>new J(t))}};d(J,"CLASS","d3-show-after-scroll");let Ft=J;Ft.observe();window.addEventListener("d3update",Ft.observe);const st=class st{constructor(e){d(this,"targetElement");d(this,"stickyElement");d(this,"observer");const t=e.getAttribute("data-sticky-target");if(!t)throw new Error(`Sticky element ${e} is missing the "data-sticky-target" attribute.`);const n=e.getRootNode().querySelector(`.${t}`);if(!n)throw new Error(`Target element not found for selector "${t}".`);this.targetElement=n,this.stickyElement=e,this.observer=new IntersectionObserver(this.handleIntersection.bind(this),{root:null,threshold:0}),this.init()}init(){this.observer.observe(this.targetElement)}handleIntersection(e){e.forEach(t=>{t.isIntersecting?this.stickyElement.classList.remove(`${st.CLASS}--visible`):this.stickyElement.classList.add(`${st.CLASS}--visible`)})}disconnect(){this.observer.disconnect()}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${st.CLASS}:not(.${st.CLASS}--initialized)`).forEach(t=>new st(t))}};d(st,"CLASS","d3-sticky");let Nt=st;Nt.observe();window.addEventListener("d3update",Nt.observe);const A=class A{constructor(e){d(this,"el");d(this,"carousel");d(this,"container");d(this,"active_items",[]);d(this,"switchs",[]);d(this,"more_btns",[]);d(this,"more_mobile_btns",[]);d(this,"show_btn");d(this,"more_in_progress",!1);d(this,"more_icon_number",[]);d(this,"resize_observer");d(this,"switchFn",e=>{e.preventDefault();const t=e.currentTarget;if(!t.dataset.switchId)return;const n=this.el.querySelector(`#${t.dataset.switchId}`),a=t.closest(`.${A.CLASS}`);!n||!a||n===a||(n.classList.add(`${A.CLASS}--active`),a.classList.remove(`${A.CLASS}--active`))});d(this,"moreFn",async e=>{if(e.preventDefault(),this.more_in_progress)return;this.more_in_progress=!0;const n=e.currentTarget.closest(`.${A.CLASS}`);if(!n)return;const a=n.querySelector(`.${A.CLASS}__more`);if(!a)return;a.style.display="block";const c=a.clientHeight;a.style.display="",a.style.overflow="hidden";const f=this.el.querySelectorAll(".d3-carousel__arrow");n.classList.contains(`${A.CLASS}--more-open`)?(a.style.display="block",a.style.height=`${c}px`,this.abreast||n.classList.remove(`${A.CLASS}--more-open`),a.style.transition="all 425ms ease 0ms",await new Promise(m=>setTimeout(m,5)),a.style.height="20px",a.style.boxShadow="0 0 0 0 rgba(0, 56, 178, 0.17)",this.abreast&&(await new Promise(m=>setTimeout(m,425)),n.classList.remove(`${A.CLASS}--more-open`))):(f.length&&f.forEach(m=>{m.style.height=`${m.clientHeight}px`}),a.style.height="0",n.classList.add(`${A.CLASS}--more-open`),a.style.transition="all 425ms ease 0ms",await new Promise(m=>setTimeout(m,5)),a.style.height=`${c}px`,a.scrollIntoView({behavior:"smooth",block:"center"})),await new Promise(m=>setTimeout(m,425)),a.style.cssText="",f.length&&!this.el.querySelector(`.${A.CLASS}--more-open`)&&f.forEach(m=>{m.style.height=""}),this.more_in_progress=!1});d(this,"moreMobileFn",async e=>{e.preventDefault();const n=e.currentTarget.closest(`.${A.CLASS}`);n&&n.classList.toggle(`${A.CLASS}--more-mobile-open`)});this.el=e,this.el.classList.add(`${A.CLASS}s--initialized`),this.carousel=this.el.querySelector(".d3-carousel"),this.container=this.el.querySelector(`.${A.CLASS}s__container`),this.container&&(this.switchs=Array.from(this.el.querySelectorAll(`.${A.CLASS}__switch`)),this.more_btns=Array.from(this.el.querySelectorAll(`.${A.CLASS}__more__btn`)),this.more_mobile_btns=Array.from(this.el.querySelectorAll(`.${A.CLASS}__more-mobile-btn`)),this.show_btn=this.el.querySelector(`.${A.CLASS}__show__btn`),this.active_items=Array.from(this.el.querySelectorAll(`.${A.CLASS}--active`)),this.more_icon_number=Array.from(this.el.querySelectorAll(`.${A.CLASS}__icons--more-number`)),this.attach())}isIconNumberVisible(e,t){if(!e||!t)return!1;const n=e.offsetLeft,a=e.offsetWidth,c=t.offsetWidth;return n>=0&&n+a<=c-43}checkIconNumber(){this.more_icon_number.length!==0&&this.more_icon_number.forEach(e=>{const t=e;let n=0;Array.from(t.children).forEach(a=>{const c=a;c.style.display="",this.isIconNumberVisible(c,c.parentElement)||(c.style.display="none",n=n+1)}),n===0?delete t.dataset.number:t.dataset.number=n.toString()})}attach(){this.switchs.forEach(e=>{e.addEventListener("click",this.switchFn)}),this.more_btns.forEach(e=>{e.addEventListener("click",this.moreFn)}),this.more_mobile_btns.forEach(e=>{e.addEventListener("click",this.moreMobileFn)}),this.show_btn&&(this.show_btn.addEventListener("click",()=>{this.showToggle(!0)}),this.show_btn.classList.remove(`${A.CLASS}__show__btn`),this.showToggle()),this.resize_observer=new ResizeObserver(()=>{this.checkIconNumber()}),this.resize_observer.observe(this.el)}async showToggle(e=!1){var a,c,f,m;const t=Array.from(this.el.querySelectorAll(`.${A.CLASS}__show__btn__text`)),n=this.el.querySelector(`.${A.CLASS}__show__btn__icon`);if(e){const g=this.container.clientHeight;this.el.classList.contains(`${A.CLASS}--show-open`)?(this.container.classList.remove(`${A.CLASS}s__container--items-1`),this.container.classList.add(`${A.CLASS}s__container--items-${this.active_items.length}`),this.active_items.forEach((k,T)=>{T>0&&k.classList.add(`${A.CLASS}--active`)})):(this.container.classList.add(`${A.CLASS}s__container--items-1`),this.container.classList.remove(`${A.CLASS}s__container--items-${this.active_items.length}`),this.active_items.forEach((k,T)=>{T>0&&k.classList.remove(`${A.CLASS}--active`)}));const C=this.container.clientHeight;this.el.classList.contains(`${A.CLASS}--show-open`)?(this.container.classList.add(`${A.CLASS}s__container--items-1`),this.container.classList.remove(`${A.CLASS}s__container--items-${this.active_items.length}`),this.active_items.forEach((k,T)=>{T>0&&(k.classList.remove(`${A.CLASS}--active`),k.style.cssText="transition: 425ms linear ")})):(this.container.classList.remove(`${A.CLASS}s__container--items-1`),this.container.classList.add(`${A.CLASS}s__container--items-${this.active_items.length}`),this.active_items.forEach((k,T)=>{T>0&&k.classList.add(`${A.CLASS}--active`)})),this.container.style.cssText=`transition: all 325ms ease 0ms;height: ${g}px;`,await new Promise(k=>setTimeout(k,5)),this.container.style.opacity="0",await new Promise(k=>setTimeout(k,325)),this.container.style.opacity="1",this.container.style.height=`${C}px`,setTimeout(()=>{this.container.style.cssText=""},325)}this.el.classList.contains(`${A.CLASS}--show-open`)?(t[1]&&(t[1].style.cssText="",t[0].style.cssText="opacity: 0;position: absolute;"),this.active_items.forEach((g,C)=>{C>0&&g.classList.add(`${A.CLASS}--active`)}),(a=this.container)==null||a.classList.remove(`${A.CLASS}s__container--items-1`),(c=this.container)==null||c.classList.add(`${A.CLASS}s__container--items-${this.active_items.length}`),this.el.classList.remove(`${A.CLASS}--show-open`),n.style.cssText="transform: rotate(180deg)"):(t[1]&&(t[1].style.cssText="opacity: 0;position: absolute;",t[0].style.cssText=""),this.active_items.forEach((g,C)=>{C>0&&g.classList.remove(`${A.CLASS}--active`)}),(f=this.container)==null||f.classList.remove(`${A.CLASS}s__container--items-${this.active_items.length}`),(m=this.container)==null||m.classList.add(`${A.CLASS}s__container--items-1`),this.el.classList.add(`${A.CLASS}--show-open`),n.style.cssText=""),this.el.classList.remove(`${A.CLASS}s--show-first`)}get abreast(){return this.carousel?!0:window.innerWidth<1030?!1:this.active_items.length<4||window.innerWidth>1359}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${A.CLASS}s:not(.${A.CLASS}s--initialized)`).forEach(t=>new A(t))}};d(A,"CLASS","d3-tariff");let Pt=A;Pt.observe();window.addEventListener("d3update",Pt.observe);const B=class B{constructor(e){d(this,"el");d(this,"closing",!1);this.el=e,this.el.classList.add(`${B.CLASS}--initialized`),this.wrapItWhenNeed(),this.el.addEventListener("mouseenter",async()=>{this.closing||window.matchMedia("(pointer: coarse)").matches||(await this.update(),this.open())}),this.el.addEventListener("mouseleave",async()=>{window.matchMedia("(pointer: coarse)").matches||(this.closing=!0,this.hide(),await new Promise(t=>setTimeout(t,400)),this.closing=!1)}),this.el.addEventListener("click",async()=>{await this.update(),this.open()}),window.addEventListener("click",()=>{this.hide()})}wrapItWhenNeed(){var t;if(this.el.previousElementSibling&&this.el.previousElementSibling.tagName==="P"){var e=document.createElement("div");e.classList.add(`${B.CLASS}__wrapper`),(t=this.el.parentNode)==null||t.insertBefore(e,this.el.previousElementSibling),e.appendChild(this.el.previousElementSibling),e.appendChild(this.el)}}open(){this.el.classList.add(`${B.CLASS}--hover`)}hide(){this.el.classList.remove(`${B.CLASS}--hover`)}toggle(){this.el.classList.toggle(`${B.CLASS}--hover`)}async update(){this.el.classList.add(`${B.CLASS}--no-transition`),(this.el.offsetParent?this.el.offsetParent.clientWidth:0)-(this.el.offsetLeft+this.el.clientWidth)<130?this.el.classList.add(`${B.CLASS}--left`):this.el.classList.remove(`${B.CLASS}--left`),this.el.offsetLeft<130?this.el.classList.add(`${B.CLASS}--right`):this.el.classList.remove(`${B.CLASS}--right`),await new Promise(e=>setTimeout(e,10)),this.el.classList.remove(`${B.CLASS}--no-transition`)}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${B.CLASS}:not(.${B.CLASS}--initialized)`).forEach(t=>new B(t))}};d(B,"CLASS","d3-tooltip");let Bt=B;Bt.observe();window.addEventListener("d3update",Bt.observe);const V=class V extends le{constructor(t){super(t);d(this,"faq");this.faq=t,this.faq.classList.add(`${V.CLASS}--initialized`),this.addQuestionHandlers(),this.addHashHandlers()}addQuestionHandlers(){this.faq.querySelectorAll(`.${V.CLASS}__question`).forEach(t=>{const n=t.querySelector(`.${V.CLASS}__question__inner`);n&&n.addEventListener("click",a=>{const c=a.currentTarget.parentElement;c&&this.toggleQuestion(c)}),t.addEventListener("keydown",a=>{if(a.key==="Enter"||a.keyCode===13){const c=a.target;c===t&&this.toggleQuestion(c)}})})}async toggleQuestion(t){t.classList.toggle(`${V.CLASS}__question--open`),t.classList.contains(`${V.CLASS}__question--open`)&&(super.open(t),this.updateHash(t.id),await new Promise(n=>setTimeout(n,5)),t.scrollIntoView({behavior:"smooth",block:"center"}))}updateHash(t){const n=new URL(window.location.href);n.hash=t,history.replaceState(null,"",n.toString())}addHashHandlers(){const t=()=>{if(window.location.hash){const n=window.location.hash.substring(1),c=this.faq.getRootNode().getElementById(n);c&&c.classList.contains(`${V.CLASS}__question`)&&(c.classList.add(`${V.CLASS}__question--open`),super.open(c),c.focus())}};t(),window.addEventListener("hashchange",t)}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${V.CLASS}:not(.${V.CLASS}--initialized)`).forEach(n=>new V(n))}};d(V,"CLASS","d3-faq");let Ht=V;Ht.observe();window.addEventListener("d3update",Ht.observe);class ce{constructor(e){d(this,"table");d(this,"tableWrapper");d(this,"resize_observer");this.table=e,this.tableWrapper=document.createElement("div"),this.tableWrapper.className="d3-text__table";const t=this.table.parentElement;t&&(t.replaceChild(this.tableWrapper,this.table),this.tableWrapper.appendChild(this.table)),this.tableWrapper.addEventListener("scroll",()=>{this.scrollCheck(this.tableWrapper)},{passive:!0}),this.resize_observer=new ResizeObserver(()=>{this.scrollCheck(this.tableWrapper)}),this.tableWrapper.parentElement&&this.resize_observer.observe(this.tableWrapper.parentElement)}scrollCheck(e){if(e.clientWidth>=e.scrollWidth){e.classList.remove("d3-text__table--mask-left"),e.classList.remove("d3-text__table--mask-right");return}e.scrollLeft>0?e.classList.add("d3-text__table--mask-left"):e.classList.remove("d3-text__table--mask-left"),0<e.scrollWidth-e.clientWidth-e.scrollLeft-20?e.classList.add("d3-text__table--mask-right"):e.classList.remove("d3-text__table--mask-right")}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(".d3-text > table:not(.d3-text__table table)").forEach(t=>{new ce(t)})}}ce.observe();window.addEventListener("d3update",ce.observe);const Z=class Z extends le{constructor(t){super(t);d(this,"modalElement");d(this,"root");d(this,"openButtons");d(this,"closeButtons");d(this,"lastFocusedElement",null);d(this,"options");this.root=t.getRootNode(),t.classList.remove(`${Z.CLASS}--hidden`),t.classList.add(`${Z.CLASS}--initialized`),this.modalElement=t,this.openButtons=this.root.querySelectorAll(`[data-open-modal="${this.modalElement.id}"]`),this.closeButtons=this.modalElement.querySelectorAll(".d3-modal__close");const n=t.getAttribute("data-options");this.options=n?JSON.parse(n):{},this.listeners()}async listeners(){this.openButtons.forEach(a=>{a.addEventListener("click",c=>{c.preventDefault(),this.open()})}),this.options.close!==!1&&(this.closeButtons.forEach(a=>{a.addEventListener("click",c=>{c.preventDefault(),this.close(this.lastFocusedElement)})}),window.addEventListener("click",a=>{const c=a.target;this.modalElement.querySelector(".d3-modal__container")&&a.target===c.closest(".d3-modal__container")&&(a.preventDefault(),this.close(this.lastFocusedElement))}),document.addEventListener("keydown",a=>this.handleKeydown(a))),this.openButtons.length===0&&requestAnimationFrame(()=>{this.open()}),window.addEventListener("modalClose",a=>{var f;((f=a.detail)==null?void 0:f.id)===this.modalElement.id&&this.close(void 0)});const t=this.modalElement.querySelector(".d3-modal__container input"),n=this.modalElement.querySelector(".d3-modal__container");t&&n&&n.addEventListener("scroll",()=>{t.blur()})}open(){this.isOpen()||(this.lastFocusedElement=this.root.activeElement,super.open(),this.checkAnchors(),this.show(),requestAnimationFrame(()=>{this.modalElement.classList.add(`${Z.CLASS}--open`),this.focusFirstElement(),this.checkAnchors()}))}close(t){this.isOpen()&&(super.close(null),this.modalElement.classList.remove(`${Z.CLASS}--open`),this.modalElement.addEventListener("transitionend",()=>{this.isOpen()||(t?this.setFocus(t):this.setFocus(this.lastFocusedElement),this.hide())},{once:!0}))}isOpen(){return this.modalElement.classList.contains(`${Z.CLASS}--open`)}show(){this.setBodyScrollLock(!0),this.modalElement.style.display="flex",this.modalElement.setAttribute("aria-hidden","false")}hide(){this.setBodyScrollLock(!1),this.modalElement.style.display="none",this.modalElement.setAttribute("aria-hidden","true")}handleKeydown(t){t.key==="Escape"&&this.close(null)}setBodyScrollLock(t){if(t){const n=window.innerWidth-document.documentElement.clientWidth;document.body.style.paddingRight=`${n}px`,document.body.style.overflow="hidden",document.body.style.touchAction="none"}else document.body.style.paddingRight="",document.body.style.overflow="",document.body.style.touchAction=""}focusFirstElement(){this.modalElement.focus()}setFocus(t){t?t.focus():this.lastFocusedElement.focus(),this.lastFocusedElement=null}checkAnchors(){this.modalElement.querySelectorAll('a:not([target="_blank"])').forEach(n=>{const a=n.href,c=new URL(a).hash;c&&n.addEventListener("click",f=>{f.preventDefault();const m=this.root.querySelector(c);m&&(this.close(m),m.scrollIntoView({behavior:"smooth",block:"start"}))})})}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${Z.CLASS}:not(.${Z.CLASS}--initialized)`).forEach(n=>new Z(n))}};d(Z,"CLASS","d3-modal");let Dt=Z;Dt.observe();window.addEventListener("d3update",Dt.observe);const D=class D{constructor(e){d(this,"root");d(this,"collapse");d(this,"resizeObserver",null);d(this,"mutationObserver",null);e.classList.add(`${D.CLASS}--initialized`),this.collapse=e,this.root=this.collapse.getRootNode().body||this.collapse.getRootNode(),this.init()}init(){this.isActive()&&(this.collapse.style.maxHeight=this.collapse.scrollHeight+"px"),this.listeners(),this.observeResize(),this.observeChanges()}listeners(){this.root.querySelectorAll(`[data-open-collapse="${this.collapse.id}"]`).forEach(t=>{t.addEventListener("click",n=>{n.preventDefault(),this.toggle(n)})}),window.addEventListener("collapseOpen",t=>{var a,c;const n=t;if(((a=n.detail)==null?void 0:a.id)===this.collapse.id){const f=document.querySelector(`.d3-collapse__button[data-open-collapse="${(c=n.detail)==null?void 0:c.id}"]`);this.open(t,f,!0)}}),window.addEventListener("collapseClose",t=>{var a,c;const n=t;if(((a=n.detail)==null?void 0:a.id)===this.collapse.id){const f=document.querySelector(`.d3-collapse__button[data-open-collapse="${(c=n.detail)==null?void 0:c.id}"]`);this.close(t,f,!1)}})}open(e,t,n){const a=t.parentElement;a?a.style.display="none":t.style.display="none",this.toggleButton(e,t,!0),this.collapse.classList.add(`${D.CLASS}--open`),this.collapse.style.maxHeight="none",this.collapse.style.overflow="visible",this.collapse.style.pointerEvents="all"}close(e,t,n){const a=t.parentElement;a?a.style.display="flex":t.style.display="flex",this.collapse.style.overflow="hidden",this.collapse.style.pointerEvents="none",this.collapse.classList.remove(`${D.CLASS}--open`),this.collapse.style.maxHeight="0",this.toggleButton(e,t,!1)}toggleButton(e,t,n){this.toggleHideButton(t,n),this.toggleButtonText(t,n)}toggleHideButton(e,t){t?(e.style.display="none",e.classList.add(`${D.CLASS}__button--open`)):(e.style.display="",e.classList.remove(`${D.CLASS}__button--open`))}toggle(e){this.isActive()?this.hide(e):this.show(e)}show(e){const t=e.currentTarget,n=t;t&&(t.blur(),t.classList.add(`${D.CLASS}__button--open`),this.toggleButtonText(n,!0)),this.collapse.classList.add(`${D.CLASS}--open`),this.collapse.style.maxHeight=this.collapse.scrollHeight+"px",setTimeout(()=>{if(this.collapse.style.overflow="visible",this.collapse.style.pointerEvents="all",(t==null?void 0:t.dataset.scroll)!==""){if((t==null?void 0:t.dataset.scroll)!==""&&(t==null?void 0:t.dataset.scroll)!=="half"&&!(t!=null&&t.dataset.scrollOffset)){const a=document.querySelector(`#${t==null?void 0:t.dataset.scroll}`);if(a){a.scrollIntoView({behavior:"smooth",block:"start"});return}}if((t==null?void 0:t.dataset.scroll)!==""&&(t==null?void 0:t.dataset.scroll)==="half"&&!t.dataset.scrollOffset){const a=this.collapse.getBoundingClientRect(),c=window.scrollY||window.pageYOffset,f=a.top+c-window.innerHeight/2;window.scrollTo({top:f,behavior:"smooth"})}}else{if(t!=null&&t.dataset.scrollOffset){this.scrollTo(this.collapse.id,t.dataset.scrollOffset);return}this.collapse.scrollIntoView({behavior:"smooth",block:"start"})}},this.getComputedTime())}async hide(e){const t=e.currentTarget,n=t;if(t&&(t.blur(),t.classList.remove(`${D.CLASS}__button--open`),this.toggleButtonText(n,!1)),t!=null&&t.dataset.hideScrollId){const a=this.root.querySelector(`#${t==null?void 0:t.dataset.hideScrollId}`);t.dataset.scrollOffset?this.scrollTo(t==null?void 0:t.dataset.hideScrollId,t.dataset.scrollOffset):a&&a.scrollIntoView({behavior:"smooth",block:"start"})}setTimeout(()=>{this.collapse.style.overflow="hidden",this.collapse.style.pointerEvents="none",this.collapse.classList.remove(`${D.CLASS}--open`),this.collapse.style.maxHeight="0"},this.getComputedTime())}toggleButtonText(e,t){const n=t?e.getAttribute("data-text-hide"):e.getAttribute("data-text-open");if(!n)return;const a=e.querySelector("span");a.textContent=n}async scrollTo(e,t){const n=document.querySelector(".o3-header"),a=n?n.getBoundingClientRect():null,c=document.getElementById(e),f=c?c.getBoundingClientRect():null;if(!f)return;let m,g,C;const k=t.match(/'([^']+)'/g);if(k){const tt=k.map(gt=>gt.replace(/'/g,""));m=this.getOffsetHeight(tt[0])||0,g=this.getOffsetHeight(tt[1])||0,C=this.getOffsetHeight(tt[2])||0}let T,N,X;if(N=m-52,X=C+26,window.innerWidth<=768&&(N=m,X=g),a&&a.bottom>=f.top?T=f.top+window.scrollY-N-X:T=f.top+window.scrollY-X,window.innerWidth<768&&Math.abs(T-window.scrollY)>2e3){const gt=window.scrollY,de=(T-gt)/5;for(let O=1;O<=5;O++)window.scrollTo({top:gt+de*O,behavior:"smooth"}),await new Promise(At=>setTimeout(At,50))}else window.scrollTo({top:T,behavior:"smooth"})}getOffsetHeight(e){const t=document.querySelector(`.${e}`);return t?t.clientHeight:0}getComputedTime(){const t=window.getComputedStyle(this.collapse).transitionDuration;return parseFloat(t)*1e3}isActive(){return this.collapse.classList.contains(`${D.CLASS}--open`)}observeResize(){this.resizeObserver=new ResizeObserver(()=>{this.isActive()&&(this.collapse.style.maxHeight=this.collapse.scrollHeight+"px")}),this.resizeObserver.observe(this.collapse)}observeChanges(){this.mutationObserver=new MutationObserver(()=>{this.isActive()&&(this.collapse.style.maxHeight=this.collapse.scrollHeight+"px")}),this.mutationObserver.observe(this.collapse,{childList:!0,subtree:!0,characterData:!0})}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${D.CLASS}:not(.${D.CLASS}--initialized)`).forEach(t=>new D(t))}};d(D,"CLASS","d3-collapse");let jt=D;jt.observe();window.addEventListener("d3update",jt.observe);const _=class _ extends le{constructor(t){super(t);d(this,"el");d(this,"controller");d(this,"tabs",[]);d(this,"panels",[]);d(this,"switch");d(this,"dropdown");d(this,"sphere");d(this,"sphere_default","short");d(this,"observer");d(this,"resize_observer");d(this,"tab_focus",0);d(this,"in_progress",!1);d(this,"changeTabs",async t=>{const n=t.currentTarget;if(n.classList.contains(`${_.CLASS}__btn--active`))return;const a=this.el.querySelector(`#${n.getAttribute("aria-controls")}`);if(!a||this.in_progress)return;this.in_progress=!0,super.change(n),this.tabs.forEach(f=>{f.setAttribute("aria-selected","false"),f.classList.remove(`${_.CLASS}__btn--active`)}),n.setAttribute("aria-selected","true"),this.addHash("#"+n.getAttribute("aria-controls")),n.classList.add(`${_.CLASS}__btn--active`);let c;this.panels.forEach(f=>{f.classList.contains(`${_.CLASS}__tab--active`)&&(c=f),f.setAttribute("hidden","hidden"),f.classList.remove(`${_.CLASS}__tab--active`)}),a.removeAttribute("hidden"),a.classList.add(`${_.CLASS}__tab--active`),this.setSphere(n),this.animSwitch(n),await this.animPanel(a,c),this.in_progress=!1});d(this,"keydownFn",t=>{(t.key==="ArrowRight"||t.key==="ArrowLeft")&&(this.tabs[this.tab_focus].setAttribute("tabindex","-1"),t.key==="ArrowRight"?(this.tab_focus++,this.tab_focus>=this.tabs.length&&(this.tab_focus=0)):t.key==="ArrowLeft"&&(this.tab_focus--,this.tab_focus<0&&(this.tab_focus=this.tabs.length-1)),this.tabs[this.tab_focus].setAttribute("tabindex","0"),this.tabs[this.tab_focus].focus())});this.el=t,this.el.classList.add(`${_.CLASS}--initialized`),this.controller=this.el.querySelector('[role="tablist"]'),this.tabs=Array.from(this.controller.querySelectorAll(':scope > [role="tab"]')),this.panels=Array.from(this.el.querySelectorAll(':scope [role="tabpanel"]')),this.sphere=this.controller.closest(".d3-sphere"),this.sphere&&(this.sphere_default=this.sphere.classList.contains("d3-sphere--full-height")?"full":"short"),this.attach(),this.handleHash()}setSphere(t){if(!this.sphere||!t.dataset.d3sphereHeight)return;switch(t.dataset.d3sphereHeight==="initial"?this.sphere_default:t.dataset.d3sphereHeight){case"full":this.sphere.classList.remove("d3-sphere--medium-height"),this.sphere.classList.add("d3-sphere--full-height");break;case"medium":this.sphere.classList.remove("d3-sphere--full-height"),this.sphere.classList.add("d3-sphere--medium-height");break;case"short":this.sphere.classList.remove("d3-sphere--medium-height"),this.sphere.classList.remove("d3-sphere--full-height");break}}async animSwitch(t,n=!0){var a;if(this.switch||(this.switch=document.createElement("div"),this.switch.classList.add(`${_.CLASS}__switch`),this.controller.insertBefore(this.switch,this.tabs[0])),n||(this.switch.style.transition="none"),this.switch.style.height=`${t.clientHeight}px`,this.switch.style.width=`${t.clientWidth}px`,this.switch.style.left=`${t.offsetLeft}px`,this.switch.style.top=`${t.offsetTop}px`,n||(await new Promise(c=>setTimeout(c,5)),this.switch.style.transition=""),n&&(t.offsetLeft<this.controller.scrollLeft+60?this.controller.scrollTo({left:t.offsetLeft-60,behavior:"smooth"}):t.offsetLeft+t.clientWidth>this.controller.clientWidth+this.controller.scrollLeft-60&&this.controller.scrollTo({left:t.offsetLeft+t.clientWidth-this.controller.clientWidth+60,behavior:"smooth"})),this.dropdown){const c=document.createElement("a");c.classList.add(`${_.CLASS}__dropdown-btn`),c.append(t.textContent||""),(a=this.dropdown.querySelector(`.${_.CLASS}__dropdown-btn`))==null||a.remove(),this.dropdown.append(c)}}async presetPanel(t,n=!1){return new Promise(async a=>{t.style.transition="none",n?(t.style.transform="translateX(-10px)",t.style.opacity="0"):(t.style.transform="translateX(0)",t.style.opacity="1"),await new Promise(c=>setTimeout(c,2)),a()})}async setPanel(t,n=!1){return new Promise(async a=>{t.style.transition="all 350ms ease 0ms",n?(t.style.transform="translateX(0)",t.style.opacity="1"):(t.style.transform="translateX(10px)",t.style.opacity="0"),await new Promise(c=>setTimeout(c,350)),a()})}async animHeight(t,n){this.el.style.transition="none",this.el.style.height=`${t}px`,setTimeout(()=>{this.el.style.transition="height 350ms ease 0ms",this.el.style.height=`${n}px`},5)}async animPanel(t,n){return new Promise(async a=>{const c=this.el.clientHeight;t.style.display="none";let f=this.el.clientHeight;n?(n.style.display="block",f=this.el.clientHeight,this.animHeight(f,c),await this.presetPanel(n),await this.setPanel(n),n.style.cssText=""):this.animHeight(f,c),t.style.display="block",await this.presetPanel(t,!0),await this.setPanel(t,!0),t.style.cssText="",this.el.style.cssText="",a()})}scrollCheck(){if(this.controller.clientWidth>=this.controller.scrollWidth){this.controller.classList.remove(`${_.CLASS}__btns--mask-left`),this.controller.classList.remove(`${_.CLASS}__btns--mask-right`);return}this.controller.scrollLeft>0?this.controller.classList.add(`${_.CLASS}__btns--mask-left`):this.controller.classList.remove(`${_.CLASS}__btns--mask-left`),0<this.controller.scrollWidth-this.controller.clientWidth-this.controller.scrollLeft-20?this.controller.classList.add(`${_.CLASS}__btns--mask-right`):this.controller.classList.remove(`${_.CLASS}__btns--mask-right`)}attach(){let t=this.controller.clientWidth;this.resize_observer=new ResizeObserver(()=>{if(this.controller.clientWidth===t)return;t=this.controller.clientWidth;const a=this.controller.querySelector(`.${_.CLASS}__btn--active`);this.animSwitch(a,!1),this.scrollCheck(),this.dropdown=this.getDropDown()}),this.resize_observer.observe(this.controller),this.controller.addEventListener("scroll",()=>{this.scrollCheck()},{passive:!0}),this.observer=new IntersectionObserver(a=>{this.inView=a[0].isIntersecting}),this.observer.observe(this.el),this.tabs.forEach(a=>{a.addEventListener("click",this.changeTabs)});const n=this.controller.querySelector(`.${_.CLASS}__btn--active`);n&&(this.animSwitch(n,!1),this.setSphere(n)),this.dropdown=this.getDropDown()}getDropDown(){var c,f,m;const t=this.controller.parentNode;if(!t||this.tabs.length<4)return;if(this.dropdown){if(this.el.clientWidth<600)return this.dropdown;(c=this.dropdown.querySelector(`.${_.CLASS}__btn--close`))==null||c.remove(),(f=this.dropdown.parentNode)==null||f.insertBefore(t,this.dropdown),this.dropdown.remove()}if(this.el.clientWidth>599)return;const n=document.createElement("div");n.classList.add(`${_.CLASS}__dropdown`),(m=t.parentNode)==null||m.insertBefore(n,t),n.appendChild(t);const a=document.createElement("button");return a.classList.add(`${_.CLASS}__btn`),a.classList.add(`${_.CLASS}__btn--close`),a.textContent="Zavřít",this.controller.append(a),n.addEventListener("click",g=>{g.target===n?n.classList.add(`${_.CLASS}__dropdown--open`):n.classList.contains(`${_.CLASS}__dropdown--open`)&&n.classList.remove(`${_.CLASS}__dropdown--open`)}),a.addEventListener("click",g=>{g.preventDefault(),n.classList.remove(`${_.CLASS}__dropdown--open`)}),n}addHash(t){const n=new URL(window.location);n.hash=t,history.pushState({},"",n)}handleHash(){const t=()=>{if(window.location.hash){const n=window.location.hash.substring(1),a=this.el.getRootNode(),c=a.getElementById(n),f=c?a.getElementById(c.getAttribute("aria-labelledby")||""):null;c&&f&&(f.click(),f.focus())}};t(),window.addEventListener("hashchange",t)}set inView(t){t?document.addEventListener("keydown",this.keydownFn):document.removeEventListener("keydown",this.keydownFn)}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${_.CLASS}:not(.${_.CLASS}--initialized)`).forEach(n=>new _(n))}};d(_,"CLASS","d3-switcher");let Wt=_;Wt.observe();window.addEventListener("d3update",Wt.observe);const at=class at{constructor(e){d(this,"el");this.el=e,this.el.classList.add(`${at.CLASS}--initialized`),this.init()}init(){this.listeners()}listeners(){this.el.addEventListener("click",e=>{e.preventDefault(),document.querySelectorAll("[data-switcher-target]").forEach(a=>{a.classList.remove("d3-switcher-toggle__btn--active"),a.setAttribute("aria-checked","false")});const t=e.target;t.classList.add("d3-switcher-toggle__btn--active"),t.setAttribute("aria-checked","true");const n=t.dataset.switcherTarget;document.querySelectorAll("[data-switcher-key]").forEach(a=>{const c=a;c.dataset.switcherKey!==n?(c.setAttribute("hidden",""),c.classList.remove("d3-switcher-toggle__content--visible")):(c.removeAttribute("hidden"),c.classList.add("d3-switcher-toggle__content--visible"))})})}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${at.CLASS}:not(.${at.CLASS}--initialized)`).forEach(t=>new at(t))}};d(at,"CLASS","js-d3-switcher-toggle");let Vt=at;Vt.observe();window.addEventListener("d3update",Vt.observe);const G=class G{constructor(e){d(this,"el");d(this,"input");this.el=e,this.el.classList.add(`${G.CLASS}--initialized`),this.input=this.el.querySelector("input"),this.init()}init(){this.listeners()}listeners(){var e;(e=this.input)==null||e.addEventListener("input",()=>this.removeError(this.input))}removeError(e){const n=e.parentNode;if(n.classList.contains(`${G.CLASS}__item--error`)){n.classList.remove(`${G.CLASS}__item--error`);const a=this.el.querySelector(`.${G.CLASS}__message--error`);a&&a.remove()}}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${G.CLASS}:not(.${G.CLASS}--initialized)`).forEach(t=>new G(t))}};d(G,"CLASS","d3-input");let Ut=G;Ut.observe();window.addEventListener("d3update",Ut.observe);const lt=class lt{constructor(e){d(this,"el");d(this,"input");d(this,"btnIncrease");d(this,"btnDecrease");this.el=e,this.input=this.getElement('input[type="number"]',HTMLInputElement),this.btnIncrease=this.getElement('[data-action="increase"]',HTMLButtonElement),this.btnDecrease=this.getElement('[data-action="decrease"]',HTMLButtonElement),this.el.classList.add(`${lt.CLASS}--initialized`),this.init()}getElement(e,t){const n=this.el.querySelector(e);if(!(n instanceof t))throw new Error(`D3InputCount: Element matching selector "${e}" is missing or invalid.`);return n}init(){this.btnIncrease.addEventListener("click",()=>this.updateValue(1)),this.btnDecrease.addEventListener("click",()=>this.updateValue(-1)),this.input.addEventListener("input",this.handleManualInput.bind(this)),this.input.addEventListener("blur",this.enforceConstraints.bind(this))}updateValue(e){const t=this.getNumericValue(this.input.value),n=this.getNumericValue(this.input.max,1/0),a=this.getNumericValue(this.input.min,0),c=Math.min(n,Math.max(a,t+e));c!==t&&(this.input.value=c.toString(),this.triggerChangeEvent())}handleManualInput(){const e=this.getNumericValue(this.input.value),t=this.getNumericValue(this.input.max,1/0),n=this.getNumericValue(this.input.min,0);e>t?this.input.value=t.toString():e<n&&(this.input.value=n.toString())}enforceConstraints(){const e=this.getNumericValue(this.input.value),t=this.getNumericValue(this.input.max,1/0),n=this.getNumericValue(this.input.min,0);this.input.value=Math.min(t,Math.max(n,e)).toString(),this.triggerChangeEvent()}getNumericValue(e,t=0){const n=parseInt(e,10);return isNaN(n)?t:n}triggerChangeEvent(){const e=new Event("change",{bubbles:!0});this.input.dispatchEvent(e)}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${lt.CLASS}:not(.${lt.CLASS}--initialized)`).forEach(t=>new lt(t))}};d(lt,"CLASS","js-d3-inputCount");let Zt=lt;Zt.observe();window.addEventListener("d3update",Zt.observe);const F=class F{constructor(e){d(this,"el");d(this,"root");d(this,"select");d(this,"options");d(this,"optionsData");d(this,"apiUrl");d(this,"abortController",null);d(this,"focusedOptionIndex",-1);d(this,"selectedOptionIndex",-1);var t;this.el=e,this.el.classList.add(`${F.CLASS}--initialized`),this.root=this.el.getRootNode().body||this.el.getRootNode(),this.optionsData=this.getOptionsData(),this.select=this.el.querySelector('input[type="text"]'),this.options=Array.from(this.el.querySelectorAll('input[type="radio"]')),this.apiUrl=((t=this.optionsData)==null?void 0:t.apiUrl)||null,this.init()}init(){this.listeners()}getOptionsData(){const e=this.el.getAttribute("data-select-options");if(e)try{const t=JSON.parse(e);if(t.type&&typeof t.type=="string"){if(!["whisperer"].includes(t.type))return console.error(`Neplatný „type" v datech možností: "${t.type}". Očekává se "whisperer".`),null}else return console.error("Chybějící nebo neplatný „type“ v datech možností."),null;return!t.nameInputs||typeof t.nameInputs!="string"?(console.error("Chybějící nebo neplatný „nameInputs“ v datech možností."),null):!t.apiUrl||typeof t.apiUrl!="string"?(console.error("Chybějící nebo neplatný „apiUrl“ v datech možností."),null):t}catch(t){return console.error("Failed to parse options data:",t),null}return null}listeners(){var e,t,n,a,c;if(this.optionsData){if(((e=this.optionsData)==null?void 0:e.type)==="whisperer"&&((t=this.select)==null||t.addEventListener("input",f=>this.change(f)),((n=this.select)==null?void 0:n.value)!="")){const f=this.el.querySelector(`.${F.CLASS}-dropdown__scroll > ul`);f.innerHTML=`<li><input type="radio" value="${(a=this.select)==null?void 0:a.value}" name="${this.optionsData.nameInputs}" checked hidden></li>`}}else this.el.addEventListener("click",f=>this.toggleDropdown(f)),this.options.forEach(f=>{f.addEventListener("input",m=>this.updateSelectedOption(m))});(c=this.el)==null||c.addEventListener("keydown",f=>this.handleKeyDown(f)),this.root.addEventListener("click",f=>this.handleOutsideClick(f))}handleKeyDown(e){var t;switch(e.key){case"ArrowDown":e.preventDefault(),this.focusNextOption();break;case"ArrowUp":e.preventDefault(),this.focusPreviousOption();break;case"Enter":e.preventDefault(),this.selectFocusedOption(e);break;case"Escape":this.el.classList.remove(`${F.CLASS}--open`),(t=this.select)==null||t.blur();break}}focusNextOption(){const e=this.getVisibleOptions();e.length>0&&(this.focusedOptionIndex=(this.focusedOptionIndex+1)%e.length,this.updateOptionFocus())}focusPreviousOption(){const e=this.getVisibleOptions();e.length>0&&(this.focusedOptionIndex=(this.focusedOptionIndex-1+e.length)%e.length,this.updateOptionFocus())}selectFocusedOption(e){const t=this.getVisibleOptions();this.focusedOptionIndex>=0&&this.focusedOptionIndex<t.length&&(this.selectedOptionIndex=this.focusedOptionIndex,t[this.focusedOptionIndex].checked=!0,this.updateSelectedOption(e),this.updateOptionFocus())}getVisibleOptions(){return this.options.filter(e=>e.parentElement)}updateOptionFocus(){const e=this.getVisibleOptions();if(this.focusedOptionIndex<0||this.focusedOptionIndex>=e.length)return;this.options.forEach((n,a)=>{var c;(c=n.parentElement)==null||c.classList.toggle(`${F.CLASS}-dropdown__item--focused`,a===this.focusedOptionIndex)});const t=e[this.focusedOptionIndex];t&&(t.focus(),this.scrollToVisible(t))}scrollToVisible(e){var n;const t=this.el.querySelector(`.${F.CLASS}-dropdown__scroll`);if(t){const a=(n=e.parentElement)==null?void 0:n.getBoundingClientRect(),c=t.getBoundingClientRect();a&&c&&(a.bottom>c.bottom?t.scrollTop+=a.bottom-c.bottom:a.top<c.top&&(t.scrollTop-=c.top-a.top))}}async change(e){const t=e.target;if(t.value.length>2)try{const n=await this.fetchSuggestions(t.value,!0);n.addresses.addresses.length?this.displaySuggestions(n.addresses.addresses,!1):this.displaySuggestions([],!1)}catch(n){n.name!=="AbortError"&&(this.displaySuggestions([],!0),console.error("Error fetching suggestions:",n))}t.value.length===0&&(this.displaySuggestions([],!1),this.loading(!1)),this.setHideInputs("","")}async fetchSuggestions(e,t){this.abortController&&this.abortController.abort(),this.loading(!0),this.abortController=new AbortController;const n=this.abortController.signal,a=await fetch(`${this.apiUrl}?mask=${encodeURIComponent(e)}&includeStreets=${t}`,{signal:n});if(!a.ok)throw new Error("Failed to fetch suggestions");return this.loading(!1),a.json()}loading(e){const t=this.el.querySelector(".d3-select__icon"),n=t==null?void 0:t.querySelector(".d3-select__icon-ico"),a=t==null?void 0:t.querySelector(".d3-select__icon-loader");t&&n&&a&&(e?(n.style.display="none",a.style.display="block"):(n.style.display="block",a.style.display="none"))}renderList(e){return e.map((t,n)=>`
            <li>
                <div class="d3-select-dropdown__item d3-select-dropdown__item--radio">
                    <input id="${this.optionsData.nameInputs}_${n}" type="radio" name="${this.optionsData.nameInputs}" value="${t.description}" tabindex="-1" ${t.crossId?`data-crossId="${t.crossId}"`:""}>
                    <label for="${this.optionsData.nameInputs}_${n}">
                        <span>${this.conformityLabel(t.description)}</span>
                    </label>
                </div>
            </li>
        `).join("")}renderEmptyList(e){var a,c;const t=((a=this.optionsData)==null?void 0:a.messageEmpty)||"Začněte psát a z nabídky si vyberte.",n=((c=this.optionsData)==null?void 0:c.messageFetchError)||"Omlouváme se, ale momentálně se vyskytl problém s našimi systémy. Prosíme, zkuste to znovu později.";return`
            <li class="d3-select-dropdown__error"><span class="d3-typo--size-2">${e?`${n}`:`${t}`}</span></li>
        `}refreshOptions(){this.options=Array.from(this.el.querySelectorAll('input[type="radio"]')),this.options.forEach(e=>{e.addEventListener("input",t=>this.updateSelectedOption(t))})}displaySuggestions(e,t){var a,c;const n=this.el.querySelector(`.${F.CLASS}-dropdown__scroll > ul`);if(t){n.innerHTML=this.renderEmptyList(!0),this.el.classList.add(`${F.CLASS}--open`);return}!e||e.length===0?(n.innerHTML=this.renderEmptyList(!1),this.el.classList.add(`${F.CLASS}--open`)):(n.innerHTML=this.renderList(e),this.el.classList.add(`${F.CLASS}--open`),this.refreshOptions()),((a=this.optionsData)==null?void 0:a.type)==="whisperer"&&(this.focusedOptionIndex=-1,this.updateOptionFocus()),((c=this.select)==null?void 0:c.value.length)===0&&this.el.classList.remove(`${F.CLASS}--open`)}conformityLabel(e){const n=e.split(",").slice(0,2).join(","),a=this.removeDiacritics(this.select.value.toLowerCase()),c=this.removeDiacritics(n.toLowerCase());if(c.includes(a)){const f=c.indexOf(a),m=n.slice(0,f),g=n.slice(f+a.length);return`${m}<span class="d3-typo--bold d3-typo--azure">${n.slice(f,f+a.length)}</span>${g}`}return n}removeDiacritics(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}toggleDropdown(e){e.stopPropagation(),this.el.classList.toggle(`${F.CLASS}--open`),this.el.classList.contains(`${F.CLASS}--open`)&&this.scrollDropdownIntoView()}async updateSelectedOption(e){var n,a,c,f,m,g;const t=this.options.find(C=>C.checked);if(this.select.value=t?((a=(n=t.nextElementSibling)==null?void 0:n.textContent)==null?void 0:a.trim())||"":`${(c=this.select)==null?void 0:c.placeholder}`,this.removeError(this.select),((f=this.optionsData)==null?void 0:f.type)==="whisperer"){const C=t==null?void 0:t.getAttribute("data-crossId");if(C)this.setHideInputs(t.value,C),(g=this.select)==null||g.focus(),this.toggleDropdown(new Event("click")),this.nextFocusElement();else{const k=await this.fetchSuggestions(t.value,!1);this.displaySuggestions(k.addresses.addresses,!1),(m=this.select)==null||m.focus(),this.select.value+=" "}}else this.toggleDropdown(new Event("click"))}setHideInputs(e,t){const n=this.el.querySelector(".d3-select__input-original-address"),a=this.el.querySelector(".d3-select__input-cross-id");n&&(n.value=`${e}`),a&&(a.value=`${t}`)}handleOutsideClick(e){var t;this.el.contains(e.target)||(this.el.classList.remove(`${F.CLASS}--open`),(t=this.select)==null||t.blur())}nextFocusElement(){const e=document.activeElement,t=Array.from(document.querySelectorAll('input:not([tabindex="-1"]), button:not([tabindex="-1"]), textarea:not([tabindex="-1"]), select:not([tabindex="-1"]), a[href]:not([tabindex="-1"]), [tabindex]:not([tabindex="-1"])')),n=t.indexOf(e);if(n!==-1&&n<t.length-1){const a=t[n+1];a&&typeof a.focus=="function"&&a.focus()}}removeError(e){const n=e.parentNode;if(!n)return;n.classList.remove(`${F.CLASS}__item--error`);const a=this.el.querySelector(`.${F.CLASS}__message--error`);a&&a.remove()}scrollDropdownIntoView(){const e=this.el.querySelector(`.${F.CLASS}-dropdown__scroll`);if(!e)return;const t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight;t.bottom>n?window.scrollBy({top:t.bottom-n+20,behavior:"smooth"}):t.top<0&&window.scrollBy({top:t.top-20,behavior:"smooth"})}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${F.CLASS}:not(.${F.CLASS}--initialized)`).forEach(t=>new F(t))}};d(F,"CLASS","d3-select");let Yt=F;Yt.observe();window.addEventListener("d3update",Yt.observe);const ht=class ht{constructor(e){d(this,"el");d(this,"input");d(this,"data");d(this,"debounceTimeout",300);d(this,"debounceTimer");d(this,"selectedIndex",-1);this.el=e,this.el.classList.add(`${ht.CLASS}--initialized`),this.input=this.el.querySelector("input"),this.data=this.loadData(),this.init()}init(){this.addEventListeners()}addEventListeners(){var e;(e=this.input)==null||e.addEventListener("input",()=>this.debounce(()=>{const t=this.input.value;this.selectedIndex=-1,this.toggleSuggestions(t)})),this.input.addEventListener("keydown",t=>this.handleKeyDown(t)),this.closeOnClickOutside()}debounce(e){clearTimeout(this.debounceTimer),this.debounceTimer=window.setTimeout(e,this.debounceTimeout)}toggleSuggestions(e){const t=e!=="";this.el.classList.toggle("d3-whisperer-input__item--open",t),t&&this.displaySuggestions(e)}displaySuggestions(e){const t=this.data.filter(a=>this.normalizeString(a.name).includes(this.normalizeString(e))||a.aliases&&a.aliases.some(c=>this.normalizeString(c).includes(this.normalizeString(e)))),n=this.el.querySelector(".d3-whisperer-input__dropdown-scroll > ul");n.innerHTML=t.length>0?this.renderList(t,e):"",this.el.classList.toggle("d3-whisperer-input__item--open",t.length>0)}renderList(e,t){return e.map((n,a)=>{var g;const c=this.highlightMatch(n.name,t);let f=(g=n.aliases)==null?void 0:g.find(C=>this.normalizeString(C).includes(this.normalizeString(t))),m=c;if(f&&f.toLowerCase()!==n.name.toLowerCase()){const C=this.highlightMatch(f,t);m+=` <span class="d3-typo--muted">(${C})</span>`}return`
                <li>
                    <a href="${n.link}" class="d3-whisperer-input__dropdown-item" data-index="${a}">
                        <i class="d3-whisperer-input__dropdown-item__icon">${n.icon}</i>
                        <span>${m}</span>
                    </a>
                </li>
            `}).join("")}highlightMatch(e,t){const n=this.normalizeString(e),a=this.normalizeString(t);if(!n.includes(a))return e;let c=0,f=0,m=0;for(let g=0;g<e.length;g++)if(this.normalizeString(e[g])){if(m===n.indexOf(a)&&(c=g),m===n.indexOf(a)+a.length-1){f=g+1;break}m++}return`${e.slice(0,c)}<b class="d3-typo--bold">${e.slice(c,f)}</b>${e.slice(f)}`}normalizeString(e){return e.normalize("NFD").replace(/[̀-ͯ]/g,"").replace(/[^a-zA-Z0-9]/g,"").toLowerCase()}loadData(){const e=this.el.dataset.json;if(!e)return console.warn("No data-json attribute found"),[];try{const t=JSON.parse(e);return Array.isArray(t)?t:[]}catch(t){return console.error("Failed to parse data-json:",t),[]}}closeOnClickOutside(){document.addEventListener("click",e=>{this.el.contains(e.target)||(this.el.classList.remove("d3-whisperer-input__item--open"),this.input.value="")})}handleKeyDown(e){const n=this.el.querySelector(".d3-whisperer-input__dropdown-scroll > ul").querySelectorAll(".d3-whisperer-input__dropdown-item");if(n.length!==0)switch(e.key){case"ArrowDown":e.preventDefault(),this.selectedIndex=(this.selectedIndex+1)%n.length,this.updateActiveItem(n);break;case"ArrowUp":e.preventDefault(),this.selectedIndex=(this.selectedIndex-1+n.length)%n.length,this.updateActiveItem(n);break;case"Enter":if(e.preventDefault(),this.selectedIndex>=0){const a=n[this.selectedIndex];window.location.href=a.href}break}}updateActiveItem(e){e.forEach((t,n)=>{const a=n===this.selectedIndex;t.classList.toggle("d3-whisperer-input__dropdown-item--active",a),a&&t.scrollIntoView({block:"nearest",behavior:"smooth"})})}static observe(){var t;(((t=window.d3host)==null?void 0:t.shadowRoot)??document.body).querySelectorAll(`.${ht.CLASS}:not(.${ht.CLASS}--initialized)`).forEach(n=>new ht(n))}};d(ht,"CLASS","js-d3-whisperer");let Gt=ht;Gt.observe();window.addEventListener("d3update",Gt.observe);const ct=class ct{constructor(e){d(this,"el");d(this,"inputWrapper");d(this,"input");d(this,"action");d(this,"abortController",null);d(this,"debounceTimeout",300);d(this,"debounceTimer");d(this,"selectedIndex",-1);this.el=e,this.el.classList.add(`${ct.CLASS}--initialized`),this.action=this.el.action,this.inputWrapper=this.el.querySelector(".d3-whisperer-input__item"),this.input=this.inputWrapper.querySelector("input"),this.init()}init(){this.addEventListeners()}addEventListeners(){this.el.addEventListener("submit",e=>{e.preventDefault(),console.info("Submit")}),this.input.addEventListener("input",e=>this.debounce(()=>{const t=e.target.value.trim();this.selectedIndex=-1,this.toggleSuggestions(t)})),this.input.addEventListener("keydown",e=>this.handleKeyDown(e)),this.closeOnClickOutside()}debounce(e){clearTimeout(this.debounceTimer),this.debounceTimer=window.setTimeout(e,this.debounceTimeout)}async fetchSuggestions(e){this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const t=await fetch(`${this.action}?query=${encodeURIComponent(e)}`,{signal:this.abortController.signal});if(!t.ok)throw new Error(`HTTP error! Status: ${t.status}`);const n=await t.json();return Array.isArray(n)?n:(console.warn("Invalid response structure:",n),[])}catch(t){return t.name!=="AbortError"&&console.error("Error fetching suggestions:",t),[]}}async displaySuggestions(e){const t=await this.fetchSuggestions(e),n=this.el.querySelector(".d3-whisperer-input__dropdown > ul");n.innerHTML=t.length>0?this.renderList(t):"",this.inputWrapper.classList.toggle("d3-whisperer-input__item--open",t.length>0)}renderList(e){return e.map((t,n)=>{const a=new URL(t.url).pathname.split("/").filter(c=>c).slice(1);return`
                <li>
                    <a href="${t.url}" class="d3-whisperer-input__dropdown-item ${n===this.selectedIndex?"d3-whisperer-input__dropdown-item--active":""}" data-index="${n}">
                        <ul class="d3-whisperer-input__dropdown-item__breadcrumb d3-typo--size-4">
                            ${a.map((c,f)=>`
                                <li>${c}</li>
                                ${a.length!==f+1?`
                                <li>
                                    <svg width="4" height="6" viewBox="0 0 4 6" fill="var(--d3-icon-color)" xmlns="http://www.w3.org/2000/svg">
                                        <path fill-rule="evenodd" clip-rule="evenodd" d="M0.174595 5.84599C-0.0581984 5.64087 -0.0581984 5.30905 0.174595 5.10393L2.56212 3.00026L0.174595 0.895896C-0.0581984 0.69148 -0.0581984 0.358953 0.174595 0.153837C0.407389 -0.0512791 0.783991 -0.0512791 1.01678 0.153837L3.8254 2.62923C4.0582 2.83435 4.0582 3.16618 3.8254 3.37129L1.01678 5.84599C0.900785 5.9489 0.748237 6 0.59569 6C0.443142 6 0.290595 5.9489 0.174595 5.84599Z"/>
                                    </svg>
                                </li>
                                `:""}
                            `).join("")}
                        </ul>
                        <h3 class="d3-typo--size-1">${t.title}</h3>
                        <span class="d3-text d3-typo--size-3">${t.description}</span>
                    </a>
                </li>
            `}).join("")}toggleSuggestions(e){e?this.displaySuggestions(e):this.closeSuggestions()}closeSuggestions(){this.inputWrapper.classList.remove("d3-whisperer-input__item--open");const e=this.el.querySelector(".d3-whisperer-input__dropdown > ul");e&&(e.innerHTML="")}handleKeyDown(e){const t=this.el.querySelectorAll(".d3-whisperer-input__dropdown-item");if(t.length!==0)switch(e.key){case"ArrowDown":e.preventDefault(),this.selectedIndex=(this.selectedIndex+1)%t.length,this.updateActiveItem(t);break;case"ArrowUp":e.preventDefault(),this.selectedIndex=(this.selectedIndex-1+t.length)%t.length,this.updateActiveItem(t);break;case"Enter":if(this.selectedIndex===-1)return;e.preventDefault();const n=t[this.selectedIndex];n&&(window.location.href=n.href);break;case"Escape":this.closeSuggestions();break}}updateActiveItem(e){e.forEach((t,n)=>{const a=n===this.selectedIndex;t.classList.toggle("d3-whisperer-input__dropdown-item--active",a),a&&t.scrollIntoView({block:"nearest",behavior:"smooth"})})}closeOnClickOutside(){document.addEventListener("click",e=>{this.el.contains(e.target)||this.closeSuggestions()})}static observe(){var t;(((t=window.d3host)==null?void 0:t.shadowRoot)??document.body).querySelectorAll(`.${ct.CLASS}:not(.${ct.CLASS}--initialized)`).forEach(n=>new ct(n))}};d(ct,"CLASS","js-d3-whispererSupport");let Xt=ct;Xt.observe();window.addEventListener("d3update",Xt.observe);(function(H,e){typeof __SVGATOR_DEFINE__=="function"&&__SVGATOR_DEFINE__.amd?__SVGATOR_DEFINE__(e):((H=typeof globalThis<"u"?globalThis:H||self).__SVGATOR_PLAYER__=H.__SVGATOR_PLAYER__||{},H.__SVGATOR_PLAYER__["91c80d77"]=e())})(void 0,function(){function H(r,s){var i=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);s&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),i.push.apply(i,o)}return i}function e(r){for(var s=1;s<arguments.length;s++){var i=arguments[s]!=null?arguments[s]:{};s%2?H(Object(i),!0).forEach(function(o){f(r,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):H(Object(i)).forEach(function(o){Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(i,o))})}return r}function t(r){return(t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s})(r)}function n(r,s){if(!(r instanceof s))throw new TypeError("Cannot call a class as a function")}function a(r,s){for(var i=0;i<s.length;i++){var o=s[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}function c(r,s,i){return s&&a(r.prototype,s),i&&a(r,i),r}function f(r,s,i){return s in r?Object.defineProperty(r,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[s]=i,r}function m(r){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(s){return s.__proto__||Object.getPrototypeOf(s)})(r)}function g(r,s){return(g=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i})(r,s)}function C(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function k(r,s,i){return(k=C()?Reflect.construct:function(o,l,h){var u=[null];u.push.apply(u,l);var p=new(Function.bind.apply(o,u));return h&&g(p,h.prototype),p}).apply(null,arguments)}function T(r,s){if(s&&(typeof s=="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}(r)}function N(r,s,i){return(N=typeof Reflect<"u"&&Reflect.get?Reflect.get:function(o,l,h){var u=function(L,v){for(;!Object.prototype.hasOwnProperty.call(L,v)&&(L=m(L))!==null;);return L}(o,l);if(u){var p=Object.getOwnPropertyDescriptor(u,l);return p.get?p.get.call(h):p.value}})(r,s,i||r)}function X(r){return function(s){if(Array.isArray(s))return tt(s)}(r)||function(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}(r)||function(s,i){if(s){if(typeof s=="string")return tt(s,i);var o=Object.prototype.toString.call(s).slice(8,-1);if(o==="Object"&&s.constructor&&(o=s.constructor.name),o==="Map"||o==="Set")return Array.from(s);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return tt(s,i)}}(r)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function tt(r,s){(s==null||s>r.length)&&(s=r.length);for(var i=0,o=new Array(s);i<s;i++)o[i]=r[i];return o}function gt(r,s,i){if(Number.isInteger(r))return r;var o=Math.pow(10,s);return Math[i]((+r+Number.EPSILON)*o)/o}Number.isInteger||(Number.isInteger=function(r){return typeof r=="number"&&isFinite(r)&&Math.floor(r)===r}),Number.EPSILON||(Number.EPSILON=2220446049250313e-31);var de=O(Math.pow(10,-6));function O(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6;return gt(r,s,"round")}function At(r,s){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de;return Math.abs(r-s)<i}var fs=Math.PI/180;function $t(r){return r}function Me(r,s,i){var o=1-i;return 3*i*o*(r*o+s*i)+i*i*i}function qe(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return r<0||r>1||i<0||i>1?null:At(r,s)&&At(i,o)?$t:function(l){if(l<=0)return r>0?l*s/r:s===0&&i>0?l*o/i:0;if(l>=1)return i<1?1+(l-1)*(o-1)/(i-1):i===1&&r<1?1+(l-1)*(s-1)/(r-1):1;for(var h,u=0,p=1;u<p;){var L=Me(r,i,h=(u+p)/2);if(At(l,L))break;L<l?u=h:p=h}return Me(s,o,h)}}function ps(){return 1}function ms(r){return r===1?1:0}function ue(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(r===1){if(s===0)return ms;if(s===1)return ps}var i=1/r;return function(o){return o>=1?1:(o+=s*i)-o%i}}var Ls=Math.sin,vs=Math.cos,gs=Math.acos,ys=Math.asin,Re=Math.tan,ws=Math.atan2,fe=Math.PI/180,pe=180/Math.PI,me=Math.sqrt,bs=function(){function r(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;n(this,r),this.m=[s,i,o,l,h,u],this.i=null,this.w=null,this.s=null}return c(r,[{key:"determinant",get:function(){var s=this.m;return s[0]*s[3]-s[1]*s[2]}},{key:"isIdentity",get:function(){if(this.i===null){var s=this.m;this.i=s[0]===1&&s[1]===0&&s[2]===0&&s[3]===1&&s[4]===0&&s[5]===0}return this.i}},{key:"point",value:function(s,i){var o=this.m;return{x:o[0]*s+o[2]*i+o[4],y:o[1]*s+o[3]*i+o[5]}}},{key:"translateSelf",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!s&&!i)return this;var o=this.m;return o[4]+=o[0]*s+o[2]*i,o[5]+=o[1]*s+o[3]*i,this.w=this.s=this.i=null,this}},{key:"rotateSelf",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;if(s%=360){var i=Ls(s*=fe),o=vs(s),l=this.m,h=l[0],u=l[1];l[0]=h*o+l[2]*i,l[1]=u*o+l[3]*i,l[2]=l[2]*o-h*i,l[3]=l[3]*o-u*i,this.w=this.s=this.i=null}return this}},{key:"scaleSelf",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;if(s!==1||i!==1){var o=this.m;o[0]*=s,o[1]*=s,o[2]*=i,o[3]*=i,this.w=this.s=this.i=null}return this}},{key:"skewSelf",value:function(s,i){if(i%=360,(s%=360)||i){var o=this.m,l=o[0],h=o[1],u=o[2],p=o[3];s&&(s=Re(s*fe),o[2]+=l*s,o[3]+=h*s),i&&(i=Re(i*fe),o[0]+=u*i,o[1]+=p*i),this.w=this.s=this.i=null}return this}},{key:"resetSelf",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,p=this.m;return p[0]=s,p[1]=i,p[2]=o,p[3]=l,p[4]=h,p[5]=u,this.w=this.s=this.i=null,this}},{key:"recomposeSelf",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;return this.isIdentity||this.resetSelf(),s&&(s.x||s.y)&&this.translateSelf(s.x,s.y),i&&this.rotateSelf(i),o&&(o.x&&this.skewSelf(o.x,0),o.y&&this.skewSelf(0,o.y)),!l||l.x===1&&l.y===1||this.scaleSelf(l.x,l.y),h&&(h.x||h.y)&&this.translateSelf(h.x,h.y),this}},{key:"decompose",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=this.m,l=o[0]*o[0]+o[1]*o[1],h=[[o[0],o[1]],[o[2],o[3]]],u=me(l);if(u===0)return{origin:{x:O(o[4]),y:O(o[5])},translate:{x:O(s),y:O(i)},scale:{x:0,y:0},skew:{x:0,y:0},rotate:0};h[0][0]/=u,h[0][1]/=u;var p=o[0]*o[3]-o[1]*o[2]<0;p&&(u=-u);var L=h[0][0]*h[1][0]+h[0][1]*h[1][1];h[1][0]-=h[0][0]*L,h[1][1]-=h[0][1]*L;var v=me(h[1][0]*h[1][0]+h[1][1]*h[1][1]);if(v===0)return{origin:{x:O(o[4]),y:O(o[5])},translate:{x:O(s),y:O(i)},scale:{x:O(u),y:0},skew:{x:0,y:0},rotate:0};h[1][0]/=v,h[1][1]/=v,L/=v;var w=0;return h[1][1]<0?(w=gs(h[1][1])*pe,h[0][1]<0&&(w=360-w)):w=ys(h[0][1])*pe,p&&(w=-w),L=ws(L,me(h[0][0]*h[0][0]+h[0][1]*h[0][1]))*pe,p&&(L=-L),{origin:{x:O(o[4]),y:O(o[5])},translate:{x:O(s),y:O(i)},scale:{x:O(u),y:O(v)},skew:{x:O(L),y:0},rotate:O(w)}}},{key:"clone",value:function(){var s=this.m;return new this.constructor(s[0],s[1],s[2],s[3],s[4],s[5])}},{key:"toString",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ";if(this.s===null){var i=this.m.map(function(o){return O(o)});i[0]===1&&i[1]===0&&i[2]===0&&i[3]===1?this.s="translate("+i[4]+s+i[5]+")":this.s="matrix("+i.join(s)+")"}return this.s}}],[{key:"create",value:function(s){return s?Array.isArray(s)?k(this,X(s)):s instanceof this?s.clone():new this().recomposeSelf(s.origin,s.rotate,s.skew,s.scale,s.translate):new this}}]),r}();function Q(r,s,i){return r>=.5?i:s}function j(r,s,i){return r===0||s===i?s:r*(i-s)+s}function W(r,s,i){var o=j(r,s,i);return o<=0?0:o}function ze(r,s,i){var o=j(r,s,i);return o<=0?0:o>=1?1:o}function Y(r,s,i){return r===0?s:r===1?i:{x:j(r,s.x,i.x),y:j(r,s.y,i.y)}}function Le(r,s,i){return r===0?s:r===1?i:{x:W(r,s.x,i.x),y:W(r,s.y,i.y)}}function ve(r,s,i){var o=function(l,h,u){return Math.round(j(l,h,u))}(r,s,i);return o<=0?0:o>=255?255:o}function ge(r,s,i){return r===0?s:r===1?i:{r:ve(r,s.r,i.r),g:ve(r,s.g,i.g),b:ve(r,s.b,i.b),a:j(r,s.a==null?1:s.a,i.a==null?1:i.a)}}function ye(r,s,i){var o=s.length;if(o!==i.length)return Q(r,s,i);for(var l=new Array(o),h=0;h<o;h++)l[h]=j(r,s[h],i[h]);return l}function Fe(r,s){for(var i=[],o=0;o<r;o++)i.push(s);return i}function Ne(r,s){if(--s<=0)return r;var i=(r=Object.assign([],r)).length;do for(var o=0;o<i;o++)r.push(r[o]);while(--s>0);return r}var Pe,Be=function(){function r(s){n(this,r),this.list=s,this.length=s.length}return c(r,[{key:"setAttribute",value:function(s,i){for(var o=this.list,l=0;l<this.length;l++)o[l].setAttribute(s,i)}},{key:"removeAttribute",value:function(s){for(var i=this.list,o=0;o<this.length;o++)i[o].removeAttribute(s)}},{key:"style",value:function(s,i){for(var o=this.list,l=0;l<this.length;l++)o[l].style[s]=i}}]),r}(),Ss=/-./g,Cs=function(r,s){return s.toUpperCase()};function He(r){return typeof r=="function"?r:Q}function De(r){return r?typeof r=="function"?r:Array.isArray(r)?function(s){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$t;if(!Array.isArray(s))return i;switch(s.length){case 1:return ue(s[0])||i;case 2:return ue(s[0],s[1])||i;case 4:return qe(s[0],s[1],s[2],s[3])||i}return i}(r,null):function(s,i){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$t;switch(s){case"linear":return $t;case"steps":return ue(i.steps||1,i.jump||0)||o;case"bezier":case"cubic-bezier":return qe(i.x1||0,i.y1||0,i.x2||0,i.y2||0)||o}return o}(r.type,r.value,null):null}function je(r,s,i){var o=arguments.length>3&&arguments[3]!==void 0&&arguments[3],l=s.length-1;if(r<=s[0].t)return o?[0,0,s[0].v]:s[0].v;if(r>=s[l].t)return o?[l,1,s[l].v]:s[l].v;var h,u=s[0],p=null;for(h=1;h<=l;h++){if(!(r>s[h].t)){p=s[h];break}u=s[h]}return p==null?o?[l,1,s[l].v]:s[l].v:u.t===p.t?o?[h,1,p.v]:p.v:(r=(r-u.t)/(p.t-u.t),u.e&&(r=u.e(r)),o?[h,r,i(r,u.v,p.v)]:i(r,u.v,p.v))}function We(r,s){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return r&&r.length?typeof s!="function"?null:(typeof i!="function"&&(i=null),function(o){var l=je(o,r,s);return l!=null&&i&&(l=i(l)),l}):null}function As(r,s){return r.t-s.t}function Es(r,s,i,o,l){var h,u=i[0]==="@",p=i[0]==="#",L=Pe[i],v=Q;switch(u?(h=i.substr(1),i=h.replace(Ss,Cs)):p&&(i=i.substr(1)),t(L)){case"function":if(v=L(o,l,je,De,i,u,s,r),p)return v;break;case"string":v=We(o,He(L));break;case"object":if((v=We(o,He(L.i),L.f))&&typeof L.u=="function")return L.u(s,v,i,u,r)}return v?function(w,b,S){if(arguments.length>3&&arguments[3]!==void 0&&arguments[3])return w instanceof Be?function(x){return w.style(b,S(x))}:function(x){return w.style[b]=S(x)};if(Array.isArray(b)){var y=b.length;return function(x){var E=S(x);if(E==null)for(var $=0;$<y;$++)w[$].removeAttribute(b);else for(var q=0;q<y;q++)w[q].setAttribute(b,E)}}return function(x){var E=S(x);E==null?w.removeAttribute(b):w.setAttribute(b,E)}}(s,i,v,u):null}function xs(r,s,i,o){if(!o||t(o)!=="object")return null;var l=null,h=null;return Array.isArray(o)?h=function(u){if(!u||!u.length)return null;for(var p=0;p<u.length;p++)u[p].e&&(u[p].e=De(u[p].e));return u.sort(As)}(o):(h=o.keys,l=o.data||null),h?Es(r,s,i,h,l):null}function Ve(r,s,i){if(!i)return null;var o=[];for(var l in i)if(i.hasOwnProperty(l)){var h=xs(r,s,l,i[l]);h&&o.push(h)}return o.length?o:null}function ks(r,s){if(!s.settings.duration||s.settings.duration<0)return null;var i,o,l,h,u,p=function(L,v){if(!v)return null;var w=[];if(Array.isArray(v))for(var b=v.length,S=0;S<b;S++){var y=v[S];if(y.length===2){var x=null;if(typeof y[0]=="string")x=L.getElementById(y[0]);else if(Array.isArray(y[0])){x=[];for(var E=0;E<y[0].length;E++)if(typeof y[0][E]=="string"){var $=L.getElementById(y[0][E]);$&&x.push($)}x=x.length?x.length===1?x[0]:new Be(x):null}if(x){var q=Ve(L,x,y[1]);q&&(w=w.concat(q))}}}else for(var z in v)if(v.hasOwnProperty(z)){var yt=L.getElementById(z);if(yt){var wt=Ve(L,yt,v[z]);wt&&(w=w.concat(wt))}}return w.length?w:null}(r,s.elements);return p?(i=p,o=s.settings,l=o.duration,h=i.length,u=null,function(L,v){var w=o.iterations||1/0,b=(o.alternate&&w%2==0)^o.direction>0?l:0,S=L%l,y=1+(L-S)/l;v*=o.direction,o.alternate&&y%2==0&&(v=-v);var x=!1;if(y>w)S=b,x=!0,o.fill===-1&&(S=o.direction>0?0:l);else if(v<0&&(S=l-S),S===u)return!1;u=S;for(var E=0;E<h;E++)i[E](S);return x}):null}function $s(r,s){for(var i=s.querySelectorAll("svg"),o=0;o<i.length;o++)if(i[o].id===r.root&&!i[o].svgatorAnimation)return i[o].svgatorAnimation=!0,i[o];return null}function _s(r){var s=function(i){return i.shadowRoot};return document?Array.from(r.querySelectorAll(":not("+["a","area","audio","br","canvas","circle","datalist","embed","g","head","hr","iframe","img","input","link","object","path","polygon","rect","script","source","style","svg","title","track","video"].join()+")")).filter(s).map(s):[]}function Ue(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=$s(r,s);if(o)return o;if(i>=20)return null;for(var l=_s(s),h=0;h<l.length;h++){var u=Ue(r,l[h],i+1);if(u)return u}return null}function Ts(r,s){if(Pe=s,!r||!r.root||!Array.isArray(r.animations))return null;var i=Ue(r);if(!i)return null;var o=r.animations.map(function(l){return ks(i,l)}).filter(function(l){return!!l});return o.length?{svg:i,animations:o,animationSettings:r.animationSettings,options:r.options||void 0}:null}function Ze(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:typeof BigInt<"u"&&BigInt,l="0x"+(r.replace(/[^0-9a-fA-F]+/g,"")||27);return s&&o&&i.isSafeInteger&&!i.isSafeInteger(+l)?i(o(l))%s+s:+l}function Ye(r,s,i){return!r||!i||s>r.length?r:r.substring(0,s)+Ye(r.substring(s+1),i,i)}function we(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:27;return!r||r%s?r%s:[0,1].includes(s)?s:we(r/s,s)}function Ge(r,s,i){if(r&&r.length){var o=Ze(i),l=we(o)+5,h=Ye(r,we(o,5),l);return h=h.replace(/\x7c$/g,"==").replace(/\x2f$/g,"="),h=function(u,p,L){var v=+("0x"+u.substring(0,4));u=u.substring(4);for(var w=Ze(p,v)%v+L%27,b=[],S=0;S<u.length;S+=2)if(u[S]!=="|"){var y=+("0x"+u[S]+u[S+1])-w;b.push(y)}else{var x=+("0x"+u.substring(S+1,S+1+4))-w;S+=3,b.push(x)}return String.fromCharCode.apply(String,b)}(h=(h=atob(h)).replace(/[\x41-\x5A]/g,""),s,o),h=JSON.parse(h)}}var Os=[{key:"alternate",def:!1},{key:"fill",def:1},{key:"iterations",def:0},{key:"direction",def:1},{key:"speed",def:1},{key:"fps",def:100}],Is=function(){function r(s,i){var o=this,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;n(this,r),this._id=0,this._running=!1,this._rollingBack=!1,this._animations=s,this._settings=i,(!l||l<"2022-05-02")&&delete this._settings.speed,Os.forEach(function(h){o._settings[h.key]=o._settings[h.key]||h.def}),this.duration=i.duration,this.offset=i.offset||0,this.rollbackStartOffset=0}return c(r,[{key:"alternate",get:function(){return this._settings.alternate}},{key:"fill",get:function(){return this._settings.fill}},{key:"iterations",get:function(){return this._settings.iterations}},{key:"direction",get:function(){return this._settings.direction}},{key:"speed",get:function(){return this._settings.speed}},{key:"fps",get:function(){return this._settings.fps}},{key:"maxFiniteDuration",get:function(){return this.iterations>0?this.iterations*this.duration:this.duration}},{key:"_apply",value:function(s){for(var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this._animations,l=o.length,h=0,u=0;u<l;u++)i[u]?h++:(i[u]=o[u](s,1),i[u]&&h++);return h}},{key:"_rollback",value:function(s){var i=this,o=1/0,l=null;this.rollbackStartOffset=s,this._rollingBack=!0,this._running=!0,this._id=window.requestAnimationFrame(function h(u){if(i._rollingBack){l==null&&(l=u);var p=Math.round(s-(u-l)*i.speed);if(p>i.duration&&o!==1/0){var L=!!i.alternate&&p/i.duration%2>1,v=p%i.duration;p=(v+=L?i.duration:0)||i.duration}var w=(i.fps?1e3/i.fps:0)*i.speed,b=Math.max(0,p);b<=o-w&&(i.offset=b,o=b,i._apply(b));var S=i.iterations>0&&i.fill===-1&&p>=i.maxFiniteDuration;(p<=0||i.offset<p||S)&&i.stop(),i._id=window.requestAnimationFrame(h)}})}},{key:"_start",value:function(){var s=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,o=-1/0,l=null,h={};this._running=!0;var u=function p(L){l==null&&(l=L);var v=Math.round((L-l)*s.speed+i),w=(s.fps?1e3/s.fps:0)*s.speed;if(v>=o+w&&!s._rollingBack&&(s.offset=v,o=v,s._apply(v,h)===s._animations.length))return void s.pause(!0);s._id=window.requestAnimationFrame(p)};this._id=window.requestAnimationFrame(u)}},{key:"_pause",value:function(){this._id&&window.cancelAnimationFrame(this._id),this._running=!1}},{key:"play",value:function(){if(!this._running)return this._rollingBack?this._rollback(this.offset):this._start(this.offset)}},{key:"stop",value:function(){this._pause(),this.offset=0,this.rollbackStartOffset=0,this._rollingBack=!1,this._apply(0)}},{key:"reachedToEnd",value:function(){return this.iterations>0&&this.offset>=this.iterations*this.duration}},{key:"restart",value:function(){var s=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this.stop(s),this.play(s)}},{key:"pause",value:function(){this._pause()}},{key:"reverse",value:function(){this.direction=-this.direction}}],[{key:"build",value:function(s,i){delete s.animationSettings,s.options=Ge(s.options,s.root,"91c80d77"),s.animations.map(function(u){u.settings=Ge(u.s,s.root,"91c80d77"),delete u.s,s.animationSettings||(s.animationSettings=u.settings)});var o=s.version;if(!(s=Ts(s,i)))return null;var l=s.options||{},h=new this(s.animations,s.animationSettings,o);return{el:s.svg,options:l,player:h}}},{key:"push",value:function(s){return this.build(s)}},{key:"init",value:function(){var s=this,i=window.__SVGATOR_PLAYER__&&window.__SVGATOR_PLAYER__["91c80d77"];Array.isArray(i)&&i.splice(0).forEach(function(o){return s.build(o)})}}]),r}();(function(){for(var r=0,s=["ms","moz","webkit","o"],i=0;i<s.length&&!window.requestAnimationFrame;++i)window.requestAnimationFrame=window[s[i]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[s[i]+"CancelAnimationFrame"]||window[s[i]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(o){var l=Date.now(),h=Math.max(0,16-(l-r)),u=window.setTimeout(function(){o(l+h)},h);return r=l+h,u},window.cancelAnimationFrame=window.clearTimeout)})();var Ms=function(){function r(s,i,o){n(this,r);var l=function(h){var u,p,L,v=h&&((u=h.ownerDocument)===null||u===void 0||(p=u.childNodes)===null||p===void 0?void 0:p.length)===1&&window.parent!==window,w={el:h,window};if(!v)return w;try{L=window.parent.document}catch{return w}return w.window=window.parent,w.el=Array.from(L.querySelectorAll("iframe,object")).filter(function(b){return b.contentWindow===window})[0]||w.el,w}(s);i=Math.max(1,i||1),i=Math.min(i,100),this.el=l.el,this._handlers=[],this.onThresholdChange=o&&o.call?o:function(){},this.thresholdPercent=i||1,this.currentVisibility=null,this.visibilityCalculator=function(h,u){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:p,L=!1,v=null,w=function(){for(var b=0,S=p.innerHeight,y=0,x=p.innerWidth,E=h.parentNode;E instanceof Element;){var $=p.getComputedStyle(E);if($.overflowY!=="visible"||$.overflowX!=="visible"){var q=E.getBoundingClientRect();$.overflowY!=="visible"&&(b=Math.max(b,q.top),S=Math.min(S,q.bottom)),$.overflowX!=="visible"&&(y=Math.max(y,q.left),x=Math.min(x,q.right))}if(E===E.parentNode)break;E=E.parentNode}L=!1;var z=h.getBoundingClientRect(),yt=Math.min(z.height,Math.max(0,b-z.top)),wt=Math.min(z.height,Math.max(0,z.bottom-S)),ni=Math.min(z.width,Math.max(0,y-z.left)),ri=Math.min(z.width,Math.max(0,z.right-x)),oi=(z.height-yt-wt)/z.height,ai=(z.width-ni-ri)/z.width,Te=Math.round(oi*ai*100);v!==null&&v===Te||(v=Te,u(Te))};return function(b){L&&clearTimeout(L),L=setTimeout(function(){return w()},100)}}(this.el,this.onVisibilityUpdate.bind(this),l.window),this.bindScrollWatchers(),this.visibilityCalculator()}return c(r,[{key:"bindScrollWatchers",value:function(){for(var s=this.el.parentNode;s&&(this._handlers.push({element:s,event:"scroll",handler:this.visibilityCalculator}),s.addEventListener("scroll",this.visibilityCalculator),s!==s.parentNode&&s!==document);)s=s.parentNode}},{key:"onVisibilityUpdate",value:function(s){var i=this.currentVisibility>=this.thresholdPercent,o=s>=this.thresholdPercent;if(this.currentVisibility===null||i!==o)return this.currentVisibility=s,void this.onThresholdChange(o);this.currentVisibility=s}},{key:"destruct",value:function(){this._handlers.forEach(function(s){s.element.removeEventListener(s.event,s.handler)})}}]),r}();function I(r){return O(r)+""}function Et(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:" ";return r&&r.length?r.map(I).join(s):""}function be(r){return I(r.x)+","+I(r.y)}function Se(r){if(!r)return"transparent";if(r.a==null||r.a>=1){var s=function(u){return(u=parseInt(u).toString(16)).length===1?"0"+u:u},i=function(u){return u.charAt(0)===u.charAt(1)},o=s(r.r),l=s(r.g),h=s(r.b);return i(o)&&i(l)&&i(h)&&(o=o.charAt(0),l=l.charAt(0),h=h.charAt(0)),"#"+o+l+h}return"rgba("+r.r+","+r.g+","+r.b+","+r.a+")"}function Xe(r){return r?"url(#"+r+")":"none"}var qs={f:null,i:Le,u:function(r,s){return function(i){var o=s(i);r.setAttribute("rx",I(o.x)),r.setAttribute("ry",I(o.y))}}},Rs={f:null,i:function(r,s,i){return r===0?s:r===1?i:{width:W(r,s.width,i.width),height:W(r,s.height,i.height)}},u:function(r,s){return function(i){var o=s(i);r.setAttribute("width",I(o.width)),r.setAttribute("height",I(o.height))}}},Ce={},Ae=null;function zs(r){var s=function(){if(Ae)return Ae;if((typeof document>"u"?"undefined":t(document))!=="object"||!document.createElementNS)return{};var l=document.createElementNS("http://www.w3.org/2000/svg","svg");return l&&l.style?(l.style.position="absolute",l.style.opacity="0.01",l.style.zIndex="-9999",l.style.left="-9999px",l.style.width="1px",l.style.height="1px",Ae={svg:l}):{}}().svg;if(!s)return function(l){return null};var i=document.createElementNS(s.namespaceURI,"path");i.setAttributeNS(null,"d",r),i.setAttributeNS(null,"fill","none"),i.setAttributeNS(null,"stroke","none"),s.appendChild(i);var o=i.getTotalLength();return function(l){var h=i.getPointAtLength(o*l);return{x:h.x,y:h.y}}}function Fs(r){return Ce[r]?Ce[r]:Ce[r]=zs(r)}function Ns(r,s,i,o){if(!r||!o)return!1;var l=["M",r.x,r.y];if(s&&i&&(l.push("C"),l.push(s.x),l.push(s.y),l.push(i.x),l.push(i.y)),s?!i:i){var h=s||i;l.push("Q"),l.push(h.x),l.push(h.y)}return s||i||l.push("L"),l.push(o.x),l.push(o.y),l.join(" ")}function Qe(r,s,i,o){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,h=Ns(r,s,i,o),u=Fs(h);try{return u(l)}catch{return null}}function Je(r,s,i){return r+(s-r)*i}function Ps(r,s,i){var o=arguments.length>3&&arguments[3]!==void 0&&arguments[3],l={x:Je(r.x,s.x,i),y:Je(r.y,s.y,i)};return o&&(l.a=Bs(r,s)),l}function Bs(r,s){return Math.atan2(s.y-r.y,s.x-r.x)}function Ke(r,s,i,o){var l=1-o;return l*l*r+2*l*o*s+o*o*i}function ts(r,s,i,o){return 2*(1-o)*(s-r)+2*o*(i-s)}function _t(r,s,i,o){var l=arguments.length>4&&arguments[4]!==void 0&&arguments[4],h=Qe(r,s,null,i,o);return h||(h={x:Ke(r.x,s.x,i.x,o),y:Ke(r.y,s.y,i.y,o)}),l&&(h.a=Hs(r,s,i,o)),h}function Hs(r,s,i,o){return Math.atan2(ts(r.y,s.y,i.y,o),ts(r.x,s.x,i.x,o))}function es(r,s,i,o,l){var h=l*l;return l*h*(o-r+3*(s-i))+3*h*(r+i-2*s)+3*l*(s-r)+r}function ss(r,s,i,o,l){var h=1-l;return 3*(h*h*(s-r)+2*h*l*(i-s)+l*l*(o-i))}function Ds(r,s,i,o,l){var h=arguments.length>5&&arguments[5]!==void 0&&arguments[5],u=Qe(r,s,i,o,l);return u||(u={x:es(r.x,s.x,i.x,o.x,l),y:es(r.y,s.y,i.y,o.y,l)}),h&&(u.a=js(r,s,i,o,l)),u}function js(r,s,i,o,l){return Math.atan2(ss(r.y,s.y,i.y,o.y,l),ss(r.x,s.x,i.x,o.x,l))}function is(r,s,i){var o=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(Tt(s)){if(Ee(i))return _t(s,i.start,i,r,o)}else if(Tt(i)){if(ns(s))return _t(s,s.end,i,r,o)}else{if(ns(s))return Ee(i)?Ds(s,s.end,i.start,i,r,o):_t(s,s.end,i,r,o);if(Ee(i))return _t(s,i.start,i,r,o)}return Ps(s,i,r,o)}function Ws(r,s,i){var o=is(r,s,i,!0);return o.a=function(l){return arguments.length>1&&arguments[1]!==void 0&&arguments[1]?l+Math.PI:l}(o.a)/fs,o}function Tt(r){return!r.type||r.type==="corner"}function Ee(r){return r.start!=null&&!Tt(r)}function ns(r){return r.end!=null&&!Tt(r)}var rs=new bs,Vs={f:function(r){return r?r.join(" "):""},i:function(r,s,i){if(r===0)return s;if(r===1)return i;var o=s.length;if(o!==i.length)return Q(r,s,i);for(var l,h=new Array(o),u=0;u<o;u++){if((l=t(s[u]))!==t(i[u]))return Q(r,s,i);if(l==="number")h[u]=j(r,s[u],i[u]);else{if(s[u]!==i[u])return Q(r,s,i);h[u]=s[u]}}return h}},Us={f:null,i:ye,u:function(r,s){return function(i){var o=s(i);r.setAttribute("x1",I(o[0])),r.setAttribute("y1",I(o[1])),r.setAttribute("x2",I(o[2])),r.setAttribute("y2",I(o[3]))}}},os={f:I,i:j},xe={f:I,i:ze},Zs={f:function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:" ";return r&&r.length>0&&(r=r.map(function(i){return O(i,4)})),Et(r,s)},i:function(r,s,i){var o,l,h,u=s.length,p=i.length;if(u!==p)if(u===0)s=Fe(u=p,0);else if(p===0)p=u,i=Fe(u,0);else{var L=(h=(o=u)*(l=p)/function(b,S){for(var y;S;)y=S,S=b%S,b=y;return b||1}(o,l))<0?-h:h;s=Ne(s,Math.floor(L/u)),i=Ne(i,Math.floor(L/p)),u=p=L}for(var v=[],w=0;w<u;w++)v.push(O(W(r,s[w],i[w])));return v}};function Ys(r,s,i){return r.map(function(o){return function(l,h,u){var p=l.v;if(!p||p.t!=="g"||p.s||!p.v||!p.r)return l;var L=u.getElementById(p.r),v=L&&L.querySelectorAll("stop")||[];return p.s=p.v.map(function(w,b){var S=v[b]&&v[b].getAttribute("offset");return{c:w,o:S=O(parseInt(S)/100)}}),delete p.v,l}(o,0,i)})}var xt={gt:"gradientTransform",c:{x:"cx",y:"cy"},rd:"r",f:{x:"x1",y:"y1"},to:{x:"x2",y:"y2"}};function as(r,s,i,o,l,h,u,p){return Ys(r,0,p),s=function(L,v,w){for(var b,S,y,x=L.length-1,E={},$=0;$<=x;$++)(b=L[$]).e&&(b.e=v(b.e)),b.v&&(S=b.v).t==="g"&&S.r&&(y=w.getElementById(S.r))&&(E[S.r]={e:y,s:y.querySelectorAll("stop")});return E}(r,o,p),function(L){var v=i(L,r,Gs);if(!v)return"none";if(v.t==="c")return Se(v.v);if(v.t==="g"){if(!s[v.r])return Xe(v.r);var w=s[v.r];return function(b,S){for(var y=b.s,x=y.length;x<S.length;x++){var E=y[y.length-1].cloneNode();E.id=Xs(E.id),b.e.appendChild(E),y=b.s=b.e.querySelectorAll("stop")}for(var $=0,q=y.length,z=S.length-1;$<q;$++)y[$].setAttribute("stop-color",Se(S[Math.min($,z)].c)),y[$].setAttribute("offset",S[Math.min($,z)].o)}(w,v.s),Object.keys(xt).forEach(function(b){if(v[b]!==void 0)if(t(xt[b])!=="object"){var S,y=b==="gt"?(S=v[b],Array.isArray(S)?"matrix("+S.join(" ")+")":""):v[b],x=xt[b];w.e.setAttribute(x,y)}else Object.keys(xt[b]).forEach(function(E){if(v[b][E]!==void 0){var $=v[b][E],q=xt[b][E];w.e.setAttribute(q,$)}})}),Xe(v.r)}return"none"}}function Gs(r,s,i){if(r===0)return s;if(r===1)return i;if(s&&i){var o=s.t;if(o===i.t)switch(s.t){case"c":return{t:o,v:ge(r,s.v,i.v)};case"g":if(s.r===i.r){var l={t:o,s:ke(r,s.s,i.s),r:s.r};return s.gt&&i.gt&&(l.gt=ye(r,s.gt,i.gt)),s.c?(l.c=Y(r,s.c,i.c),l.rd=W(r,s.rd,i.rd)):s.f&&(l.f=Y(r,s.f,i.f),l.to=Y(r,s.to,i.to)),l}}if(s.t==="c"&&i.t==="g"||i.t==="c"&&s.t==="g"){var h=s.t==="c"?s:i,u=s.t==="g"?e({},s):e({},i),p=u.s.map(function(L){return{c:h.v,o:L.o}});return u.s=s.t==="c"?ke(r,p,u.s):ke(r,u.s,p),u}}return Q(r,s,i)}function ke(r,s,i){if(s.length===i.length)return s.map(function(p,L){return ls(r,p,i[L])});for(var o=Math.max(s.length,i.length),l=[],h=0;h<o;h++){var u=ls(r,s[Math.min(h,s.length-1)],i[Math.min(h,i.length-1)]);l.push(u)}return l}function ls(r,s,i){return{o:ze(r,s.o,i.o||0),c:ge(r,s.c,i.c||{})}}function Xs(r){return r.replace(/-fill-([0-9]+)$/,function(s,i){return"-fill-"+(+i+1)})}function hs(r,s,i){return r===0?s:r===1?i:{blur:Le(r,s.blur,i.blur),offset:Y(r,s.offset,i.offset),color:ge(r,s.color,i.color)}}var Qs={blur:Le,brightness:W,contrast:W,"drop-shadow":hs,"inner-shadow":hs,grayscale:W,"hue-rotate":j,invert:W,opacity:W,saturate:W,sepia:W};function Js(r,s,i){if(r===0)return s;if(r===1)return i;var o=s.length;if(o!==i.length)return Q(r,s,i);for(var l,h=[],u=0;u<o;u++){if(s[u].type!==i[u].type)return s;if(!(l=Qs[s[u].type]))return Q(r,s,i);h.push({type:s.type,value:l(r,s[u].value,i[u].value)})}return h}var cs={blur:function(r){return r?function(s){r.setAttribute("stdDeviation",be(s))}:null},brightness:function(r,s,i){return(r=$e(i,s))?function(o){o=I(o),r.map(function(l){return l.setAttribute("slope",o)})}:null},contrast:function(r,s,i){return(r=$e(i,s))?function(o){var l=I((1-o)/2);o=I(o),r.map(function(h){h.setAttribute("slope",o),h.setAttribute("intercept",l)})}:null},"drop-shadow":function(r,s,i){var o=i.getElementById(s+"-blur");if(!o)return null;var l=i.getElementById(s+"-offset");if(!l)return null;var h=i.getElementById(s+"-flood");return h?function(u){o.setAttribute("stdDeviation",be(u.blur)),l.setAttribute("dx",I(u.offset.x)),l.setAttribute("dy",I(u.offset.y)),h.setAttribute("flood-color",Se(u.color))}:null},"inner-shadow":function(r,s,i){var o=i.getElementById(s+"-blur");if(!o)return null;var l=i.getElementById(s+"-offset");if(!l)return null;var h=i.getElementById(s+"-color-matrix");return h?function(u){o.setAttribute("stdDeviation",be(u.blur)),l.setAttribute("dx",I(u.offset.x)),l.setAttribute("dy",I(u.offset.y));var p=[0,0,0,0,u.color.r/255,0,0,0,0,u.color.g/255,0,0,0,0,u.color.b/255,0,0,0,u.color.a,0];h.setAttribute("values",Et(p))}:null},grayscale:function(r){return r?function(s){r.setAttribute("values",Et(function(i){return[.2126+.7874*(i=1-i),.7152-.7152*i,.0722-.0722*i,0,0,.2126-.2126*i,.7152+.2848*i,.0722-.0722*i,0,0,.2126-.2126*i,.7152-.7152*i,.0722+.9278*i,0,0,0,0,0,1,0]}(s)))}:null},"hue-rotate":function(r){return r?function(s){return r.setAttribute("values",I(s))}:null},invert:function(r,s,i){return(r=$e(i,s))?function(o){o=I(o)+" "+I(1-o),r.map(function(l){return l.setAttribute("tableValues",o)})}:null},opacity:function(r,s,i){return(r=i.getElementById(s+"-A"))?function(o){return r.setAttribute("tableValues","0 "+I(o))}:null},saturate:function(r){return r?function(s){return r.setAttribute("values",I(s))}:null},sepia:function(r){return r?function(s){return r.setAttribute("values",Et(function(i){return[.393+.607*(i=1-i),.769-.769*i,.189-.189*i,0,0,.349-.349*i,.686+.314*i,.168-.168*i,0,0,.272-.272*i,.534-.534*i,.131+.869*i,0,0,0,0,0,1,0]}(s)))}:null}},Ks=["R","G","B"];function $e(r,s){var i=Ks.map(function(o){return r.getElementById(s+"-"+o)||null});return i.indexOf(null)!==-1?null:i}var ti={fill:as,"fill-opacity":xe,stroke:as,"stroke-opacity":xe,"stroke-width":os,"stroke-dashoffset":{f:I,i:j},"stroke-dasharray":Zs,opacity:xe,transform:function(r,s,i,o){if(!(r=function(h,u){if(!h||t(h)!=="object")return null;var p=!1;for(var L in h)h.hasOwnProperty(L)&&(h[L]&&h[L].length?(h[L].forEach(function(v){v.e&&(v.e=u(v.e))}),p=!0):delete h[L]);return p?h:null}(r,o)))return null;var l=function(h,u,p){var L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return r[h]?i(u,r[h],p):s&&s[h]?s[h]:L};return s&&s.a&&r.o?function(h){var u=i(h,r.o,Ws);return rs.recomposeSelf(u,l("r",h,j,0)+u.a,l("k",h,Y),l("s",h,Y),l("t",h,Y)).toString()}:function(h){return rs.recomposeSelf(l("o",h,is,null),l("r",h,j,0),l("k",h,Y),l("s",h,Y),l("t",h,Y)).toString()}},"#filter":function(r,s,i,o,l,h,u,p){if(!s.items||!r||!r.length)return null;var L=function(v,w){var b=(v=v.map(function(S){return S&&cs[S[0]]?(w.getElementById(S[1]),cs[S[0]](w.getElementById(S[1]),S[1],w)):null})).length;return function(S){for(var y=0;y<b;y++)v[y]&&v[y](S[y].value)}}(s.items,p);return L?(r=function(v,w){return v.map(function(b){return b.e=w(b.e),b})}(r,o),function(v){L(i(v,r,Js))}):null},"#line":Us,points:{f:Et,i:ye},d:Vs,r:os,"#size":Rs,"#radius":qs,_:function(r,s){if(Array.isArray(r))for(var i=0;i<r.length;i++)this[r[i]]=s;else this[r]=s}},it={currentTime:"offset",duration:"duration",hasEnded:function(){return this.reachedToEnd()},isAlternate:"alternate",isPlaying:"_running",isRollingBack:"_rollingBack",state:function(r,s){return s.isPlaying?s.isRollingBack?"rollback":"playing":s.hasEnded?"ended":"paused"},totalTime:"maxFiniteDuration",iterations:"iterations",direction:"direction",fill:"fill",isReversed:function(r,s){return s.direction===-1},isBackwards:function(r,s){return s.fill===-1},isInfinite:function(r,s){return s.iterations===0},speed:"speed",fps:"fps"},kt={destruct:"destruct",pause:"pause",play:function(r,s){return _e(r,s.hasEnded?"restart":"play",s)},restart:"restart",reverse:function(r,s){return _e(r,"reverse",s,[!0])},seek:"seek",seekBy:"seekBy",seekTo:"seekTo",stop:"stop",toggle:"toggle",togglePlay:"toggle",set:"set"};function _e(r,s,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];return function(){var l,h=Array.prototype.slice.call(arguments);return h.unshift.apply(h,X(o)),(l=r[s]).call.apply(l,[r].concat(X(h))),i}}var ei=function r(s){n(this,r);var i={},o=["on","off"],l={get:function(p,L,v){return it[L]?typeof it[L]=="function"?it[L].call(p,p,v):p[it[L]]:kt[L]?typeof kt[L]=="function"?kt[L].call(p,p,v):_e(p,kt[L],v):o.indexOf(L)!==-1?i[L]:L==="ready"?function(w){return w&&w.call(v,v),v}:void 0},set:function(p,L,v){return o.indexOf(L)!==-1&&(i[L]=v)},ownKeys:function(p){return Object.keys(it)},has:function(p,L){return it[L]!==void 0}};if(typeof Proxy=="function")return new Proxy(s,l);var h=Object.keys(it).concat(Object.keys(kt)).concat(o),u={};return h.forEach(function(p){var L={enumerable:!1,configurable:!1,get:function(){return l.get(s,p,u)}};o.indexOf(p)!==-1&&(L.set=function(v){return l.set(s,p,v)}),Object.defineProperty(u,p,L)}),u};function si(r){r||(r=this);var s={};this.on=function(i,o){var l=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return typeof o=="function"&&(i.split(/[, ]+/g).forEach(function(h){return s[h]=s[h]||[],l?s[h].unshift(o):s[h].push(o)}),!0)},this.off=function(i,o){for(var l in s)if(s.hasOwnProperty(l)&&l.substr(0,i.length)===i)if(o)for(var h=0;h<s[l].length;h++)s[l][h]===o&&(s[l][h]=null);else s[l]=null},this.trigger=function(){var i,o=Array.prototype.slice.call(arguments),l=o[0],h=o.slice(1);t:for(var u in s)if(s.hasOwnProperty(u)&&s[u]&&(u===l||u.substr(0,l.length+1)===l+".")){for(var p=0;p<(s[u]||[]).length;p++)if(s[u][p]&&(i=s[u][p].apply(r,h))===!1)break t}return i}}var et=!0,ii=["iterations","speed","fps","direction","fill","alternate"],ds=function(r){(function(h,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(u&&u.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),u&&g(h,u)})(l,r);var s,i,o=(s=l,i=C(),function(){var h,u=m(s);if(i){var p=m(this).constructor;h=Reflect.construct(u,arguments,p)}else h=u.apply(this,arguments);return T(this,h)});function l(h,u){var p,L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return n(this,l),(p=o.call(this,h,u,L))._handlers=[],p}return c(l,[{key:"_adjustOffset",value:function(){var h=arguments.length>0&&arguments[0]!==void 0&&arguments[0],u=this.alternate?2*this.duration:this.duration;if(h){if(!this._rollingBack&&this.offset===0)return void(this.offset=u);this._rollingBack&&(this.offset,this.maxFiniteDuration)}!this._rollingBack||this.rollbackStartOffset<=this.duration?this.iterations!==0&&(this.offset=Math.min(this.offset,this.maxFiniteDuration)):(this.offset=this.rollbackStartOffset-(this.rollbackStartOffset-this.offset)%u,this.rollbackStartOffset=0)}},{key:"reverse",value:function(){var h=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(!this._running)return this._adjustOffset(h),this._rollingBack=!this._rollingBack,h&&this.play(!1),void this.trigger("reverse",this.offset);this.pause(!1,!1),this._adjustOffset(),this._rollingBack=!this._rollingBack,this.play(!1),this.trigger("reverse",this.offset)}},{key:"play",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:et,u=N(m(l.prototype),"play",this).call(this);return h===et&&this.trigger("play",this.offset),u}},{key:"pause",value:function(){var h=arguments.length>0&&arguments[0]!==void 0&&arguments[0],u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:et,p=N(m(l.prototype),"pause",this).call(this);return u===et&&this.trigger(h?"end":"pause",this.offset),p}},{key:"restart",value:function(){var h=N(m(l.prototype),"restart",this).call(this,!1);return this.trigger("restart",this.offset),h}},{key:"stop",value:function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:et,u=N(m(l.prototype),"stop",this).call(this);return h===et&&this.trigger("stop",this.offset),u}},{key:"_apply",value:function(h){var u=this,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:et,L=N(m(l.prototype),"_apply",this).call(this,h);if(p===et){var v=function(){return u.trigger("keyframe",h)};window.requestAnimationFrame(v)}return L}},{key:"seekTo",value:function(h){var u,p,L,v=this._running;v&&this.pause(!1,!1),this.offset=this.iterations>0?(u=h,p=0,L=this.maxFiniteDuration,u<p?p:u>L?L:u):Math.max(h,0),this._apply(this.offset),v&&this.play(!1)}},{key:"seek",value:function(h){return this.seekTo(Math.round(h/100*this.maxFiniteDuration))}},{key:"seekBy",value:function(h){return this.seekTo(this.offset+h)}},{key:"toggle",value:function(){return this._running?this.pause():this.reachedToEnd()?this.restart():this.play()}},{key:"set",value:function(h,u){if(ii.includes(h)){var p=this._running;p&&this.pause(!1,!1),this._settings[h]=u,p?this.play(!1):this._apply(this.offset,{},!1)}}},{key:"destruct",value:function(){var h=this;this.stop(),this._handlers.forEach(function(L){L.element?L.element.removeEventListener(L.event,L.handler):L.callback&&L.callback.call&&L.callback.call()});var u=function(){},p=Object.getOwnPropertyNames(Object.getPrototypeOf(this));p.push.apply(p,X(Object.getOwnPropertyNames(this))),p.forEach(function(L){typeof h[L]=="function"?h[L]=u:delete h[L]})}}],[{key:"build",value:function(h){var u=N(m(l),"build",this).call(this,h,ti);if(!u)return null;var p=u.el,L=u.options,v=u.player,w=new ei(v),b=new si(w);w.on=b.on,w.off=b.off,v.trigger=b.trigger;var S=p.svgatorPlayer&&p.svgatorPlayer.ready&&p.svgatorPlayer.ready.call&&p.svgatorPlayer.ready.call();p.svgatorPlayer=w,function(y){var x,E,$=y&&((x=y.ownerDocument)===null||x===void 0||(E=x.childNodes)===null||E===void 0?void 0:E.length)===1&&window.parent!==window,q=y==null?void 0:y.firstElementChild;!$||!q||q.tagName!=="a"||q.getAttribute("target")||q.setAttributeNS(null,"target","_parent")}(p),function(y,x,E){if(E.start==="click"){var $=function(){switch(E.click){case"freeze":return!y._running&&y.reachedToEnd()?y.restart():y.toggle();case"restart":return y.offset>0?y.restart():y.play();case"reverse":return y._running?y.reverse():y.reachedToEnd()?y.fill===1?y.reverse(!0):y.restart():y.play();case"none":default:return y._running?void 0:y.reachedToEnd()?y.restart():y.play()}};return y._handlers.push({element:x,event:"click",handler:$}),void x.addEventListener("click",$)}if(E.start==="hover"){var q=function(){return y.reachedToEnd()?y.restart():y._rollingBack?y.reverse():y.play()};y._handlers.push({element:x,event:"mouseenter",handler:q}),x.addEventListener("mouseenter",q);var z=function(){switch(E.hover){case"freeze":return y.pause();case"reset":return y.stop();case"reverse":return y.reverse(),y._running?void 0:y.play();case"none":default:return}};return y._handlers.push({element:x,event:"mouseleave",handler:z}),void x.addEventListener("mouseleave",z)}if(E.start==="scroll"){var yt=new Ms(x,E.scroll||25,function(wt){wt?y.reachedToEnd()?y.restart():y.play():y.pause()});return void y._handlers.push({callback:function(){return yt.destruct()}})}E.start!=="programmatic"&&y.play()}(v,p,L),function(y,x,E){var $;typeof Event=="function"?$=new Event("ready"):($=document.createEvent("Event")).initEvent("ready",!0,!0),y.dispatchEvent($),!(!E||!E.length)&&E.forEach(function(q){return x.ready(q)})}(p,p.svgatorPlayer,S)}}]),l}(Is);return ds.init(),ds});class Ie{create(e){let t=window.getComputedStyle(e,null).color,n="100";const a=e.classList.contains("d3-update")?e:e.querySelector(".d3-update")||e;["A","BUTTON"].includes(e.tagName)||["INPUT","SELECT","TEXTAREA"].includes(a.tagName)?n="40":t=void 0,t==="rgb(0, 0, 140)"&&(t=void 0);const c=e.closest(".d3-edb");t=t||(c?"#FFE828":"#0050FF");const f=document.createElement("div");f.style.display="none",document.body.append(f),f.innerHTML=`<svg id="eCnlGI8B9DA1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 300 300" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"><g id="eCnlGI8B9DA2"><path id="eCnlGI8B9DA4" d="M-37.696488,0c.000001-10.338484,4.161871-19.70491,10.901602-26.515269C-19.962437,-33.419318,-10.480711,-37.696487,0,-37.696488c7.742825.000001,14.940424,2.334393,20.927391,6.337772C31.038403,-24.597661,37.696487,-13.07637,37.696488,0C37.696488,20.819195,20.819195,37.696488,0,37.696488c-11.835906,0-22.397778-5.454789-29.308818-13.987568C-34.554202,17.232658,-37.696487,8.983289,-37.696488,0Z" transform="matrix(.71936 0 0 0.71936 236.436448 150)" fill="${t}" stroke-width="0"/><path id="eCnlGI8B9DA5" d="M-37.696488,0c0-11.513359,5.161537-21.821176,13.296879-28.735722c6.575506-5.58878,15.093773-8.960766,24.399609-8.960766c8.346972,0,16.060314,2.712894,22.306393,7.30505C31.639417,-23.529741,37.696488,-12.472223,37.696488,0c0,9.287696-3.358852,17.79089-8.928108,24.361134C21.853655,32.518674,11.531499,37.696488,0,37.696488c-10.897548,0-20.715066-4.624156-27.597426-12.017339C-33.863455,18.948042,-37.696488,9.921647,-37.696488,0Z" transform="matrix(.75 0 0 0.75 64.267535 150.093809)" fill="${t}" stroke-width="0"/></g><path id="eCnlGI8B9DA6" d="M-37.696488,0c0-11.513359,5.161537-21.821176,13.296879-28.735722c6.575506-5.58878,15.093773-8.960766,24.399609-8.960766c8.346972,0,16.060314,2.712894,22.306393,7.30505C31.639417,-23.529741,37.696488,-12.472223,37.696488,0c0,9.287696-3.358852,17.79089-8.928108,24.361134C21.853655,32.518674,11.531499,37.696488,0,37.696488c-10.897548,0-20.715066-4.624156-27.597426-12.017339C-33.863455,18.948042,-37.696488,9.921647,-37.696488,0Z" transform="matrix(0 0 0 0 149.267535 150.093809)" fill="${t}" stroke-width="0"/><path id="eCnlGI8B9DA7" d="M-37.696488,0c.000001-10.338484,4.161871-19.70491,10.901602-26.515269C-19.962437,-33.419318,-10.480711,-37.696487,0,-37.696488c7.742825.000001,14.940424,2.334393,20.927391,6.337772C31.038403,-24.597661,37.696487,-13.07637,37.696488,0C37.696488,20.819195,20.819195,37.696488,0,37.696488c-11.835906,0-22.397778-5.454789-29.308818-13.987568C-34.554202,17.232658,-37.696487,8.983289,-37.696488,0Z" transform="matrix(.71936 0 0 0.71936 149.436448 150)" fill="${t}" stroke-width="0"/></svg>`;const m=f.children[0];return Ie.anim(),f.remove(),m.setAttribute("width",n),m}async show(e,t){e.style.pointerEvents="none",e.style.transition=`color ${500/2}ms linear 0ms`,e.style.position="relative",e.append(t),t.style.cssText="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);opacity:0;transition: opacity 500ms linear 0ms",(e.tagName==="A"||e.tagName==="BUTTON")&&(e.style.color="rgba(0,0,0,0)"),t.svgatorPlayer&&t.svgatorPlayer.play(),await new Promise(n=>setTimeout(n,5)),t.style.opacity="1",await new Promise(n=>setTimeout(n,500))}async hide(e,t){t.svgatorPlayer&&t.svgatorPlayer.stop(),t.style.opacity="0",await new Promise(n=>setTimeout(n,500)),t.style.cssText="",e.style.cssText="",t.remove()}static anim(){(function(e,t,n,a,c,f,m){(f=Array.from(c.querySelectorAll("svg#"+t.root)).filter(g=>!g.svgatorPlayer)[0]||{}).svgatorPlayer={ready:function(g){return m=[],function(C){return C?(m.push(C),g.svgatorPlayer):m}}(f)},a[n]=a[n]||{},a[n][e]=a[n][e]||[],a[n][e].push(t)})("91c80d77",{root:"eCnlGI8B9DA1",version:"2022-05-04",animations:[{elements:{eCnlGI8B9DA2:{transform:{data:{o:{x:150.072865,y:149.999996,type:"corner"},t:{x:-150.072865,y:-149.999996}},keys:{r:[{t:1400,v:0,e:[.99,0,.58,1]},{t:2500,v:-180}]}}},eCnlGI8B9DA4:{d:[{t:600,v:["M",-37.696488,0,"C",-37.696487,-10.338484,-33.534617,-19.70491,-26.794886,-26.515269,"C",-19.962437,-33.419318,-10.480711,-37.696487,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-11.835906,37.696488,-22.397778,32.241699,-29.308818,23.70892,"C",-34.554202,17.232658,-37.696487,8.983289,-37.696488,0,"Z"]},{t:800,v:["M",-37.696488,0,"C",-37.696487,-10.338484,-33.534617,-19.70491,-26.794886,-26.515269,"C",-19.962437,-33.419318,-10.480711,-37.696487,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-11.835906,37.696488,-22.397778,32.241699,-29.308818,23.70892,"C",-34.554202,17.232658,-37.696487,8.983289,-37.696488,0,"Z"]},{t:900,v:["M",-39.086613,0,"C",-39.086612,-10.511706,-34.429726,-20.018508,-27.138784,-26.855433,"C",-19.989488,-33.559533,-10.307489,-37.696487,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-11.650648,37.696488,-22.50217,32.411122,-29.800398,24.107319,"C",-35.543782,17.572592,-39.086612,9.168547,-39.086613,0,"Z"]},{t:1e3,v:["M",-45.967693,0,"C",-45.967693,-6.046263,-41.060031,-19.429232,-30.046484,-26.942353,"C",-19.032937,-34.455474,-12.145911,-37.696488,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-13.459013,37.696488,-21.862837,33.261104,-31.32203,25.517465,"C",-40.781223,17.773826,-45.967693,6.046263,-45.967693,0,"Z"]},{t:1100,v:["M",-81.84057,0,"C",-81.840575,-33.896682,-59.867137,-29.355435,-45.888784,-21.855433,"C",-31.910431,-14.355431,-25.695065,-37.696488,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-25.695063,37.696488,-29.299248,16.776471,-45.778262,24.340691,"C",-62.257276,31.904911,-81.840567,33.896682,-81.84057,0,"Z"]},{t:1200,v:["M",-69.34057,0,"C",-69.34057,-8.562516,-50.571036,-29.584423,-35.620294,-29.584423,"C",-20.669552,-29.584423,-25.695065,-37.696488,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-25.695063,37.696488,-18.756231,29.340691,-34.528262,29.340691,"C",-50.300293,29.340691,-69.34057,8.562516,-69.34057,0,"Z"]},{t:1300,v:["M",-69.34057,0,"C",-69.81488,-10.399696,-60.433985,-4.184856,-45.888784,-10.605433,"C",-31.343583,-17.02601,-25.695065,-37.696488,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-25.695063,37.696488,-37.454643,14.423428,-45.778262,9.340691,"C",-54.101881,4.257954,-68.86626,10.399696,-69.34057,0,"Z"]},{t:1400,v:["M",-55.59057,0,"C",-55.59057,-8.4116,-48.470186,-7.159912,-40.888784,-14.355433,"C",-33.307382,-21.550954,-25.695065,-37.696488,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-25.695063,37.696488,-33.006446,21.149607,-39.528262,15.590691,"C",-46.050078,10.031775,-55.59057,8.4116,-55.59057,0,"Z"]},{t:1500,v:["M",-39.086613,0,"C",-39.086612,-10.511706,-34.429726,-20.018508,-27.138784,-26.855433,"C",-19.989488,-33.559533,-10.307489,-37.696487,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-11.650648,37.696488,-22.50217,32.411122,-29.800398,24.107319,"C",-35.543782,17.572592,-39.086612,9.168547,-39.086613,0,"Z"]}],transform:{data:{o:{x:236.436448,y:150,type:"corner"}},keys:{s:[{t:800,v:{x:.71936,y:.71936}},{t:1100,v:{x:.8,y:.8}},{t:1400,v:{x:.8,y:.8}},{t:1500,v:{x:.71936,y:.71936}},{t:2100,v:{x:.5,y:1.5}},{t:2500,v:{x:.71936,y:.71936}}]}}},eCnlGI8B9DA5:{d:[{t:0,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696488,0,-37.696488,"C",8.346972,-37.696488,16.060314,-34.983594,22.306393,-30.391438,"C",31.639417,-23.529741,37.696488,-12.472223,37.696488,0,"C",37.696488,9.287696,34.337636,17.79089,28.76838,24.361134,"C",21.853655,32.518674,11.531499,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:300,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696488,0,-37.696488,"C",6.64419,-37.696488,15.010641,-36.542281,23.323373,-34.113641,"C",41.058121,-28.932273,58.548362,-17.950215,58.548363,0,"C",58.548362,15.197444,46.011247,25.40007,31.403105,31.316389,"C",20.669605,35.663472,8.81801,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:400,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696488,0,-37.696488,"C",11.641012,-37.696488,12.471908,-39.194096,30.838552,-32.684843,"C",49.205196,-26.17559,61.328613,-11.899131,61.328613,0,"C",61.328613,11.899131,57.158238,25.679149,36.268543,31.316389,"C",15.378848,36.953629,16.070691,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:500,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696489,0,-37.696489,"C",16.637834,-37.696489,13.600376,-28.735722,38.35373,-31.256044,"C",60.644293,-33.525611,80.790362,-17.950215,80.790363,0,"C",80.790362,15.197444,58.645627,36.871226,41.13398,31.316389,"C",23.362556,25.679149,23.323372,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:600,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696489,0,-37.696489,"C",21.427166,-37.696489,35.080067,-2.457233,48.897866,-16.275035,"C",62.715665,-30.092837,94.691613,-51.963553,94.691613,0,"C",94.691613,51.963553,61.557483,29.58055,48.829895,14.219672,"C",36.102307,-1.141206,23.323372,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:700,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696489,0,-37.696489,"C",21.169809,-37.696489,25.266208,-13.224665,38.696856,-9.067641,"C",55.438514,-3.885801,66.802213,-16.65589,66.835523,.040647,"C",66.86554,15.086485,57.185468,2.779177,41.13398,9.074389,"C",27.384698,14.466702,22.262182,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:800,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696488,0,-37.696488,"C",14.758391,-37.696488,20.663261,-24.104129,30.501625,-19.729539,"C",43.538966,-13.707771,46.705506,-5.542849,46.705506,.020324,"C",46.705506,5.583497,45.761552,10.285034,34.95118,16.717762,"C",24.619177,23.492688,16.896841,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:900,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696488,0,-37.696488,"C",8.346972,-37.696488,16.060314,-34.983594,22.306393,-30.391438,"C",31.639417,-23.529741,37.696488,-12.472223,37.696488,0,"C",37.696488,9.287696,34.337636,17.79089,28.76838,24.361134,"C",21.853655,32.518674,11.531499,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]}],transform:{data:{o:{x:64.267535,y:150.093809,type:"corner"}},keys:{s:[{t:0,v:{x:.75,y:.75}},{t:300,v:{x:.71936,y:.71936}},{t:1500,v:{x:.71936,y:.71936}},{t:2100,v:{x:.5,y:1.5}},{t:2500,v:{x:.71936,y:.71936}}]}}},eCnlGI8B9DA6:{d:[{t:700,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696488,0,-37.696488,"C",8.346972,-37.696488,16.060314,-34.983594,22.306393,-30.391438,"C",31.639417,-23.529741,37.696488,-12.472223,37.696488,0,"C",37.696488,9.287696,34.337636,17.79089,28.76838,24.361134,"C",21.853655,32.518674,11.531499,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:900,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696488,0,-37.696488,"C",6.64419,-37.696488,15.010641,-36.542281,23.323373,-34.113641,"C",41.058121,-28.932273,58.548362,-17.950215,58.548363,0,"C",58.548362,15.197444,46.011247,25.40007,31.403105,31.316389,"C",20.669605,35.663472,8.81801,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:1e3,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696488,0,-37.696488,"C",11.641012,-37.696488,12.471908,-39.194096,30.838552,-32.684843,"C",49.205196,-26.17559,61.328613,-11.899131,61.328613,0,"C",61.328613,11.899131,57.158238,25.679149,36.268543,31.316389,"C",15.378848,36.953629,16.070691,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:1100,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696489,0,-37.696489,"C",16.637834,-37.696489,13.600376,-28.735722,38.35373,-31.256044,"C",60.644293,-33.525611,80.790362,-17.950215,80.790363,0,"C",80.790362,15.197444,58.645627,36.871226,41.13398,31.316389,"C",23.362556,25.679149,23.323372,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:1200,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696489,0,-37.696489,"C",21.427166,-37.696489,35.080067,-2.457233,48.897866,-16.275035,"C",62.715665,-30.092837,94.691613,-51.963553,94.691613,0,"C",94.691613,51.963553,61.557483,29.58055,48.829895,14.219672,"C",36.102307,-1.141206,23.323372,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:1300,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696489,0,-37.696489,"C",21.169809,-37.696489,25.266208,-13.224665,38.696856,-9.067641,"C",55.438514,-3.885801,66.802213,-16.65589,66.835523,.040647,"C",66.86554,15.086485,57.185468,2.779177,41.13398,9.074389,"C",27.384698,14.466702,22.262182,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:1400,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696488,0,-37.696488,"C",14.758391,-37.696488,20.663261,-24.104129,30.501625,-19.729539,"C",43.538966,-13.707771,46.705506,-5.542849,46.705506,.020324,"C",46.705506,5.583497,45.761552,10.285034,34.95118,16.717762,"C",24.619177,23.492688,16.896841,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]},{t:1500,v:["M",-37.696488,0,"C",-37.696488,-11.513359,-32.534951,-21.821176,-24.399609,-28.735722,"C",-17.824103,-34.324502,-9.305836,-37.696488,0,-37.696488,"C",8.346972,-37.696488,16.060314,-34.983594,22.306393,-30.391438,"C",31.639417,-23.529741,37.696488,-12.472223,37.696488,0,"C",37.696488,9.287696,34.337636,17.79089,28.76838,24.361134,"C",21.853655,32.518674,11.531499,37.696488,0,37.696488,"C",-10.897548,37.696488,-20.715066,33.072332,-27.597426,25.679149,"C",-33.863455,18.948042,-37.696488,9.921647,-37.696488,0,"Z"]}],transform:{data:{o:{x:149.267535,y:150.093809,type:"corner"}},keys:{s:[{t:600,v:{x:0,y:0}},{t:700,v:{x:.74,y:.74}},{t:900,v:{x:.71936,y:.71936}},{t:1500,v:{x:.72,y:.72}}]}}},eCnlGI8B9DA7:{d:[{t:0,v:["M",-37.696488,0,"C",-37.696487,-10.338484,-33.534617,-19.70491,-26.794886,-26.515269,"C",-19.962437,-33.419318,-10.480711,-37.696487,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-11.835906,37.696488,-22.397778,32.241699,-29.308818,23.70892,"C",-34.554202,17.232658,-37.696487,8.983289,-37.696488,0,"Z"]},{t:200,v:["M",-37.696488,0,"C",-37.696487,-10.338484,-33.534617,-19.70491,-26.794886,-26.515269,"C",-19.962437,-33.419318,-10.480711,-37.696487,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-11.835906,37.696488,-22.397778,32.241699,-29.308818,23.70892,"C",-34.554202,17.232658,-37.696487,8.983289,-37.696488,0,"Z"]},{t:300,v:["M",-39.086613,0,"C",-39.086612,-10.511706,-34.429726,-20.018508,-27.138784,-26.855433,"C",-19.989488,-33.559533,-10.307489,-37.696487,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-11.650648,37.696488,-22.50217,32.411122,-29.800398,24.107319,"C",-35.543782,17.572592,-39.086612,9.168547,-39.086613,0,"Z"]},{t:400,v:["M",-45.967693,0,"C",-45.967693,-6.046263,-41.060031,-19.429232,-30.046484,-26.942353,"C",-19.032937,-34.455474,-12.145911,-37.696488,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-13.459013,37.696488,-21.862837,33.261104,-31.32203,25.517465,"C",-40.781223,17.773826,-45.967693,6.046263,-45.967693,0,"Z"]},{t:500,v:["M",-81.84057,0,"C",-81.840575,-33.896682,-59.867137,-29.355435,-45.888784,-21.855433,"C",-31.910431,-14.355431,-25.695065,-37.696488,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-25.695063,37.696488,-29.299248,16.776471,-45.778262,24.340691,"C",-62.257276,31.904911,-81.840567,33.896682,-81.84057,0,"Z"]},{t:600,v:["M",-69.34057,0,"C",-69.34057,-8.562516,-50.571036,-29.584423,-35.620294,-29.584423,"C",-20.669552,-29.584423,-25.695065,-37.696488,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-25.695063,37.696488,-18.756231,29.340691,-34.528262,29.340691,"C",-50.300293,29.340691,-69.34057,8.562516,-69.34057,0,"Z"]},{t:700,v:["M",-69.34057,0,"C",-69.81488,-10.399696,-60.433985,-4.184856,-45.888784,-10.605433,"C",-31.343583,-17.02601,-25.695065,-37.696488,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-25.695063,37.696488,-37.454643,14.423428,-45.778262,9.340691,"C",-54.101881,4.257954,-68.86626,10.399696,-69.34057,0,"Z"]},{t:800,v:["M",-55.59057,0,"C",-55.59057,-8.4116,-48.470186,-7.159912,-40.888784,-14.355433,"C",-33.307382,-21.550954,-25.695065,-37.696488,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-25.695063,37.696488,-33.006446,21.149607,-39.528262,15.590691,"C",-46.050078,10.031775,-55.59057,8.4116,-55.59057,0,"Z"]},{t:900,v:["M",-37.696488,0,"C",-37.696487,-10.338484,-33.534617,-19.70491,-26.794886,-26.515269,"C",-19.962437,-33.419318,-10.480711,-37.696487,0,-37.696488,"C",7.742825,-37.696487,14.940424,-35.362095,20.927391,-31.358716,"C",31.038403,-24.597661,37.696487,-13.07637,37.696488,0,"C",37.696488,20.819195,20.819195,37.696488,0,37.696488,"C",-11.835906,37.696488,-22.397778,32.241699,-29.308818,23.70892,"C",-34.554202,17.232658,-37.696487,8.983289,-37.696488,0,"Z"]}],transform:{data:{o:{x:149.436448,y:150,type:"corner"}},keys:{s:[{t:200,v:{x:.71936,y:.71936}},{t:500,v:{x:.8,y:.8}},{t:800,v:{x:.8,y:.8}},{t:1100,v:{x:.71936,y:.71936}},{t:1500,v:{x:.71936,y:.71936},e:[0,0,.58,1]},{t:2100,v:{x:.9,y:.9}},{t:2500,v:{x:.71936,y:.71936},e:[.93,0,1,1]}]}}}},s:"MDDA2MGEyNDk4YEjljOTk4ODliDOTA5Njk1NDlYENjE1OTVjNTJdDNTc1MzQ5OJGI5MDk5OGM4BYTliOTA5NkQO5NTQ5NjFWNTAg1M0U0OTkwOHWI4Yzk5ODg5IYjkwQjk2OTUU5YTQ5NjE1NzAUzNDk4ZDkwONTM5MzQ5UzYxXNTg1MzQ5ODgW5MzliOGM5OTIk1ODg5YjhjTUjQ5NjE4ZFQ4POEk5M0Q5YThQjNTM0OUw5YTXk3OGM4YzhiNKDk2MTU4NTU1HOTVjNTNGNDkP4ZDk3OWE0OTNYxNTg1NzU3YSTQ/"}],options:"MDTAxMDgyMjk3YCTdiNjg3OTdiOMjk0MTI5NzMT3NjY4NmIyOVUE4NA|"},"__SVGATOR_PLAYER__",window,document)}}class ci{create(e){const t=document.createElement("div");return t.className="d3-checker-loader",t.innerHTML=`
            <svg width="104" height="104" viewBox="0 0 104 104" fill="none" xmlns="http://www.w3.org/2000/svg">
                <g filter="url(#filter_loader)">
                    <circle cx="50" cy="48" r="40" fill="white" fill-opacity="0.1" shape-rendering="crispEdges"/>
                </g>
                    <path d="M44.2673 32.6981L44.4562 32.7049L44.7773 32.61L45.7909 32.6886L45.8095 32.5604L45.7981 32.0456L45.7884 32.0037L45.7827 31.9472L45.7909 31.8643L45.816 31.8138L45.9028 31.7095L45.9303 31.6342L45.9206 31.2032L45.786 30.9954L45.6417 30.8748L45.6044 30.7064H45.6052L45.6457 30.6559L45.6903 30.6166L45.7406 30.5909L45.7909 30.5798L45.919 30.4806L45.9603 30.4122L45.9855 30.2899L46.1541 30.4541L46.6033 30.5584L46.6787 30.7055L46.7833 30.815L46.9082 30.88L47.0079 30.8586L47.0371 30.7072V30.7055L47.1166 30.5114L47.2309 30.4259L47.3347 30.4815L47.3761 30.7072L47.4596 30.9253L47.9648 30.9338L48.2015 31.0587L48.3434 31.3024L48.3345 31.4461L48.2575 31.6017L48.195 31.8745L48.2218 32.0858L48.3045 32.3474L48.4091 32.5929L48.504 32.7536L48.6807 32.9041L48.8413 32.9794L48.9759 33.0974L49.0821 33.3753L49.0845 33.519L49.0594 33.6678L49.0521 33.8089L49.1089 33.9312L49.22 33.968L49.2346 33.9731L49.3327 33.8636L49.417 33.7063L49.4997 33.5977L49.8694 33.5652L51.6452 34.2228L51.7458 34.2938L51.8633 34.4845L51.9282 34.5521L52.0215 34.5837L52.7585 34.3947L52.9783 34.4169L52.9977 34.5179L53.0261 34.6076L53.4745 35.4149L53.5313 35.4363L53.777 35.4286L54.3024 35.2191L54.4492 35.2413L54.5684 35.3636L54.6843 35.5954L54.7613 35.7955L54.81 35.999L54.7897 36.1743L54.6624 36.2838L54.6454 36.3317L54.6381 36.3787L54.6446 36.4249L54.6632 36.4693L55.0403 36.3958L55.5908 35.8322L55.9655 35.8724L56.246 36.0999L56.3806 36.1666L56.5298 36.1298L56.6377 35.9853L56.7017 35.7972L56.7666 35.6492L56.8809 35.6236L57.2028 35.6304L57.4923 35.7091L57.7647 35.8724L58.5205 36.7191L58.6015 37.0004L58.3226 37.1218L58.3567 37.233V37.2818L58.3315 37.3228L58.2926 37.4083L58.2788 37.4827L58.2667 37.5965V37.6828L58.2926 37.6743L58.2164 37.7872L58.0339 37.9779L57.9504 38.1019L57.798 38.1378L57.5134 38.054L57.3739 38.1019L57.305 38.2917L57.172 38.4123L57.0163 38.5106L56.8793 38.6312L56.8306 38.6517L56.7487 38.7065L56.6944 38.7116L56.7374 38.8749L56.7536 38.9194L56.5768 38.8766L56.5071 39.1101L56.5906 39.3726L56.8785 39.4265L56.9928 39.8054L57.035 39.89L57.1485 39.9866L57.2134 39.9713L57.2766 39.9131L57.3804 39.8772H57.785L57.8693 39.9054L57.9318 40.0422L57.9383 40.1791L57.931 40.3125L57.9537 40.4407L58.1118 40.6631L58.5075 40.8162L58.7045 40.9624L58.8318 41.1522L59.0572 41.5867L59.1854 41.7714L59.2981 41.9869L59.5665 42.2828L59.663 42.559L59.7635 43.0576L59.847 43.2406L60.0027 43.4561L60.3084 43.7537L60.6806 43.958L61.0414 43.9298L61.3147 43.5356L61.5117 43.3851L61.6195 43.2226L61.716 43.0251L61.8758 42.7702L62.0744 42.5898L62.2504 42.5624L62.428 42.5752L62.5358 42.5462L62.6356 42.5197L62.7191 42.441L62.8666 42.2238L62.9729 42.1459L63.0507 42.1425L63.2145 42.2041L63.294 42.1981L63.3159 42.1442L63.3142 41.9672L63.3394 41.927L63.4699 41.9296L63.5234 41.9681L63.5648 42.0562L63.6597 42.2058L63.7667 42.2486L63.8234 42.1237L63.8064 41.9313L63.6905 41.7697L63.6775 41.4139L63.5842 41.1514L63.4229 40.9633L63.2064 40.829L63.0402 40.6477L62.9534 40.3638L62.8877 40.0516L62.7872 39.7831L62.5026 39.3393V39.134L62.7426 38.9793L62.9453 39.0066L63.1958 39.1657L63.3272 39.2486L63.5324 39.223L64.4438 39.4932L64.5411 39.5565L64.7478 39.7404L64.8613 39.8045L64.983 39.8062L65.2538 39.7472L65.3576 39.7806L65.3381 39.8216L65.3681 39.9807L65.4233 40.1705L65.4768 40.2979L65.5635 40.398L65.8765 40.6075L66.0874 40.6716L66.5041 40.6588L66.6874 40.7418L66.5244 40.811L66.5495 40.8666L66.5804 40.9162L66.6168 40.959L66.6574 40.9957L66.646 41.1865L66.6631 41.372L66.7247 41.5225L66.8431 41.6175L66.9396 41.3498L67.1358 41.3335L67.3296 41.4994L67.4123 41.7714L67.4569 41.803L67.5047 41.8141L67.5518 41.8039L67.598 41.7714L67.8583 41.437L68.2807 41.396L69.0737 41.5439L69.2789 41.4875L69.4313 41.3558L69.6949 40.9701L69.7443 40.8504L69.767 40.7503L69.8246 40.711L69.9754 40.77L70.0249 40.8196L70.1878 41.053L70.2097 41.0864L70.2146 41.1257L70.2081 41.1693L70.1878 41.2155L70.0914 41.4892L70.0743 41.6234L70.0946 41.7705L70.1878 41.8689L70.3265 42.1391L70.243 42.3606L70.063 42.5256L69.6851 42.7651L69.4483 42.8634L69.0202 42.8805L68.9229 42.9327L68.858 43.0798L68.8767 43.1858L69.3081 43.7631L69.4467 43.8298L69.5367 43.8127L69.6121 43.7665L69.707 43.7434L69.8238 43.7768L70.0646 43.9033L70.1895 43.9315L70.1935 43.9461L70.1951 43.9598L70.1935 43.9709L70.1895 43.9811L70.1068 44.0555L70.0784 44.1351L70.1059 44.2189L70.1895 44.307L70.2876 44.431L70.3484 44.5926L70.3979 44.7722L70.4676 44.9458L70.5673 45.092L71.1422 45.6966L71.4649 45.7684L71.7877 45.665L72.0488 45.4178L72.2101 45.3734L72.5661 45.3622L72.8547 45.2716L72.8993 45.2074L72.8839 45.0621L72.8215 44.9612L72.7453 44.9586L72.6747 44.9817L72.6277 44.9603L72.588 44.6302L72.7356 44.6695L72.8612 44.7029L73.3794 45.0612L73.3218 45.3297L73.4378 45.4708L74.0045 45.5846L74.1391 45.6633L74.4189 45.9181L74.5235 45.9677L74.7319 46.0139L74.8373 46.0968L74.8746 46.1764L74.9362 46.4021L74.9857 46.5005L75.1616 46.6527L75.2897 46.6253L75.5387 46.3961L75.5289 46.3713L75.5168 46.3551L75.5014 46.3465H75.4819L75.8395 46.3004L76.1825 46.4295L76.8417 46.8152H77.0485L77.398 46.5783L77.5293 46.6621L77.5845 46.9255L77.5626 47.1487L77.6007 47.3266L77.8366 47.4608L77.5926 47.7601L77.5966 48.1492L77.7507 48.5896L77.9599 49.0446L78.0491 49.4662L78.105 49.5748L78.2234 49.662L78.4967 49.6877L78.6232 49.7279L78.7391 49.8279L78.9135 50.0451L79.0253 50.1161L79.1543 50.105L79.2929 50.0417L79.4316 50.0161L79.5646 50.1204L79.6011 50.2333L79.6611 50.731L79.7024 50.8695L79.807 51.1218L79.8467 51.2526L79.974 51.8675L80 52.166L79.9627 52.4063L79.5994 52.4165L79.4332 52.4832L79.0691 52.8373L78.8202 52.8518L78.5632 52.7688L78.2721 52.6141L78.2104 52.6004L78.1488 52.6141L77.8958 52.7552L77.5034 52.6944L77.3209 52.8167L77.2747 52.9347L77.2528 53.2024L77.2082 53.329L77.1352 53.4077L76.8433 53.5736L76.4655 54.0627L76.2668 54.2012L76.0082 54.1397L75.9863 54.8221L75.7771 54.9957L75.4487 55.2676L74.2543 55.7602L73.9932 56.0219L73.7791 56.3896L73.6129 56.8266L73.5002 57.2961L73.4678 57.6801L73.4694 57.7664L73.4807 58.4053L73.4223 58.7191L73.2383 59.0492L72.9772 59.3066L72.6828 59.4494L72.2069 59.4101L71.992 59.4451L71.8055 59.5717L71.6879 59.8206L71.6328 60.0318L71.5639 60.473L71.4917 60.668L71.3287 60.8365L71.1593 60.8468L70.9719 60.8126L70.7538 60.8519L70.6111 60.9776L70.3046 61.5352L70.1481 61.6728L68.4429 62.3826L68.1185 62.3288L67.8469 62.0252L67.718 61.9593L67.5072 62.0243L67.3442 62.1372L67.1715 62.2569L67.0174 62.2877L66.0047 61.7447L65.5781 61.6267L65.1808 61.7165L64.704 62.0842L64.623 62.2167L64.5711 62.4853L64.4438 62.6563L64.1381 62.9359L63.9199 63.3293L63.4715 64.6967L63.3694 64.8943L63.2291 65.0756L63.2072 65.3441L62.9007 64.967L62.7775 64.0288L62.5674 63.7167L62.4215 63.7047L62.0801 63.833L61.9098 63.8552L61.7469 63.7911L61.4257 63.5662L61.2903 63.5174L60.953 63.532L60.8119 63.5055L60.6952 63.4191L60.6311 63.2515L60.5979 63.0471L60.5281 62.8761L60.3587 62.8034L60.1949 62.7829L59.6646 62.6195L59.5129 62.5169L59.431 62.4878L59.3492 62.4998L59.1886 62.5716L59.097 62.5759L58.8407 62.5366L58.6867 62.6452L58.2367 63.461L58.1394 63.5568L57.9999 63.6004L57.9504 63.5833L57.8329 63.4824L57.6488 63.5115L57.6391 63.5209L56.3984 63.3267L55.5787 63.3789L55.1084 63.1634L54.2156 62.4767L54.2027 62.4066V62.3082L54.1556 62.2475L54.0048 62.2886L53.9959 62.1389L53.9302 62.0748L53.8305 62.0705L53.7186 62.0987L53.8094 61.9713L53.7348 61.9764L53.6691 61.9448L53.5718 61.8695L53.4023 61.8567L53.3415 61.8293L53.2977 61.7567L53.2621 61.5813L53.211 61.5403H52.9393L52.8623 61.5608L52.5469 61.737L52.3977 61.7866H52.1934L51.9947 61.737L51.3063 61.3257L50.7776 61.1084L50.5741 61.0246L50.1354 60.6227L49.9449 60.5073L49.5508 60.367L49.1243 60.137L48.9264 60.0771L48.5113 60.072L48.4675 60.0395L48.431 59.9685L48.3864 59.9095H48.3183L48.2826 59.9685L48.2607 60.1601L48.2315 60.2353L48.1083 60.3918L48.0621 60.4226L47.385 60.6159L47.209 60.6124L47.2674 60.4089L47.2715 60.2148L47.2342 60.0207L47.1693 59.8197L46.4785 59.7598L45.9846 59.5803L45.79 59.6068L45.7617 59.6307L45.7479 59.6786V59.7453L45.756 59.8231L45.6352 60.1241L45.6311 60.5303L45.6676 60.9665V61.3599L45.4787 62.2509L45.4146 62.4305L45.4 62.5297L45.417 62.6195L45.456 62.7315L45.4957 62.8231L45.5152 62.8487L45.413 63.0976L45.233 63.1155L44.774 62.9163L44.311 62.8487L44.1773 62.9034L44.1254 63.0386L44.0897 63.2113L44.0005 63.3781L43.9559 63.6491L43.4888 64.0827L43.321 64.3709L43.2886 64.7532L43.2934 65.1859L43.2488 65.5536L43.2083 65.5964L43.0704 65.7417L42.9245 65.7315L42.8547 65.6391L42.8029 65.5057L42.7072 65.3723L42.6496 65.3586L42.5142 65.4091L42.4453 65.4014L42.4169 65.3415V65.2475L42.4047 65.1568L42.348 65.1038L42.2109 65.1158L41.945 65.2509L41.812 65.2825L41.7074 65.2551L41.353 65.0593L41.1406 64.7942L41.0109 64.8883L40.8122 65.4467L40.6719 65.5989L40.2106 65.8093L40.0314 65.9607L39.9616 65.9897L39.8765 66L38.9959 65.6708L37.7383 65.522L37.4366 65.3877L37.362 65.3176L37.2088 65.1158L37.1698 65.0379L37.1285 64.8447L37.1447 64.8036L37.195 64.784L37.255 64.6514L37.2817 64.6309L37.3247 64.6394L37.3653 64.6266L37.3815 64.5377L37.3588 64.4513L37.3053 64.412L37.2436 64.3854L37.199 64.341L37.1423 64.2247L36.9947 63.9852L36.9169 63.8954L36.3201 63.5482L36.1255 63.3772L35.9641 63.2438L35.7954 63.1463L35.4387 63.0454L35.2651 62.8555L34.837 61.9525L34.6302 61.6121L34.5054 61.5386L34.1745 61.4839L34.0067 61.4001L33.8551 61.2401L33.7164 61.0178L33.6215 60.7587L33.5997 60.4893L33.4383 60.5081L33.2867 60.42L33.1358 60.2926L32.9802 60.1917L32.8334 60.1592L32.7758 60.1464L32.6526 60.2062L32.5682 60.3627L32.4766 60.6107L32.269 60.5055L31.9885 60.2926L31.7339 60.0395L31.6066 59.8206L31.6009 59.4203L31.502 59.1715L31.1249 58.7653L30.8549 58.3839L30.7471 58.2847L30.5695 58.212L30.0327 58.1855L29.7813 58.0307L29.6403 57.7904L29.5235 57.509L28.6924 56.3152L28.5821 56.2494L28.5805 56.2468L28.2967 55.8902L28.2561 55.7568L28.244 55.6183L28.1945 55.5011L28.0404 55.4335L27.7907 55.1539L27.6626 55.0444L27.5118 54.9589L27.172 54.8606L27.0504 54.9016L27.0901 55.0863L26.9239 55.1103L26.4009 55.0291L26.2249 54.9615L26.0847 54.8076L25.7936 54.1192L25.6144 53.9233L25.2057 53.7198L25.0322 53.5676L24.9316 53.3589L24.8878 53.1254L24.8619 52.6525L24.8497 52.4097L24.784 52.3532L24.6908 52.3678L24.5911 52.3361L24.4946 52.2292L24.4248 52.1215L24.3689 51.9924L24.3121 51.8196L24.2764 51.6503L24.2351 51.3305L24.1727 51.174L24.0794 51.0653L23.8678 50.9422L23.777 50.8259L23.7834 50.7908L23.8256 50.6771L23.7551 50.6403L23.7324 50.6207L23.8078 50.4436L23.8013 50.2512L23.7283 50.0982L23.6051 50.0297L23.3099 49.8801L23.1745 49.7817L23.0472 49.6595L22.8639 49.3807L22.7723 49.1951L22.7285 49.042L22.8331 48.824L23.1996 48.6589L23.3407 48.5075L23.3691 48.2689L23.374 47.9645L23.4283 47.7601L23.6059 47.8183L23.6707 47.5942L23.8751 47.194L23.9464 46.9717L23.974 46.6895L23.9189 46.5843L23.7924 46.5321L23.4291 46.3063L23.4388 46.1481L23.5005 45.9523L23.4778 45.7394L23.3286 45.5889L23.0018 45.5529L22.8664 45.4118H22.8575L21.5147 44.6516L21.4863 44.5592L21.4847 44.4267L21.466 44.2779L21.3874 44.1342L21.2593 44.0162L21.1174 43.9298L20.9917 43.8084L20.9146 43.5878L20.909 43.3688L20.9714 43.037L20.9455 42.8173L20.8773 42.6437L20.7776 42.4803L20.5603 42.228L20.1216 41.9381L20.03 41.7645L20.1411 41.5875L20.2327 41.5242L20.2927 41.4558L20.3089 41.2685L20.2757 41.0599L20.2043 40.9299L20 40.7041L20.2238 40.7212L20.6495 40.7546L20.8198 40.8829L20.8717 41.018L20.8692 41.2694L20.9041 41.384L21.003 41.4764L21.132 41.5191L21.3866 41.526L21.4498 41.5627L21.479 41.6157L21.4741 41.6833L21.4344 41.7654L21.4206 41.768L21.4085 41.7722L21.3963 41.7808L21.3849 41.7911L21.3614 41.8193L21.3533 41.8483L21.3622 41.8808L21.3849 41.9151L21.5398 42.081L21.5787 42.1365L21.6152 42.2315L21.6306 42.317L21.6395 42.3922L21.7458 42.795L21.8358 42.943L21.9874 42.9635L22.1115 42.8686V42.7386L22.0604 42.5821L22.0336 42.4008L22.0612 42.1408L22.109 42.0031L22.2842 41.7654L22.3077 41.5328L22.3799 41.4182L22.4788 41.3447L22.5793 41.2326L22.8542 40.7033L22.9499 40.6032L23.2102 40.4484L23.3156 40.3484L23.348 40.3287L23.4275 40.3321L23.4632 40.3116L23.4826 40.2577L23.4769 40.2004L23.4648 40.1508L23.4632 40.1209L23.4867 40.0551L23.5053 39.9807L23.5361 39.908L23.6018 39.8473L23.8475 39.6241L24.2051 39.5129L24.8692 39.4607L25.3435 39.5514L25.4595 39.5377L25.5584 39.4368L25.7546 39.1152L25.8682 38.9964L26.0133 38.9408L26.1552 38.9314L26.3141 38.9553L26.3693 38.9322L26.4941 38.845L26.5736 38.8279L26.6482 38.8518L27.4704 39.3812L27.7737 39.3991L27.845 39.3247L28.0388 39.1229L28.1645 38.9656L28.2221 38.6979L28.2796 38.0984L28.3526 38.0446L28.4272 38.0258L28.5002 38.0429L28.5691 38.0976L28.647 38.1215L28.7297 38.1292L28.8132 38.1224L28.8943 38.0984H28.8951L28.8967 38.0967L29.1473 38.0052L29.6151 38.0343L29.8332 37.8616L29.9605 37.617L30.2557 36.7815L30.4284 36.7986L30.5727 36.9055L30.7203 36.9747L30.9068 36.8738L31.0017 36.5754L31.0511 36.4813L31.3844 36.2316L31.4379 36.1709L31.4436 36.1179L31.4687 36.0999L31.5766 36.1418L31.6244 36.1991L31.7493 36.4206L31.8077 36.4984L32.0055 36.601L32.1709 36.5574L32.3217 36.4129L32.4758 36.2094L32.5642 36.1564L32.6177 36.0871L32.6258 35.9981L32.5747 35.8801L32.7223 35.7621L32.8407 35.6005L32.8756 35.4012L32.7726 35.1746L33.1358 34.9429L33.5388 34.8625L34.3359 34.8668L34.507 34.8308L34.8443 34.6983L35.0357 34.6778L35.4427 34.7257L35.6025 34.6915L35.8595 34.5221L35.9138 34.5204L35.9649 34.5016L36.0257 34.4101L36.0306 34.3323L36.0095 34.2279L35.9982 34.1022L36.0355 33.9586L36.1174 33.8525L36.1928 33.8491L36.2787 33.8765L36.3906 33.8585L36.4814 33.7867L36.6168 33.6028L36.7125 33.531L36.886 33.4908L37.2104 33.5353L37.3807 33.5233L38.764 32.852L38.8718 32.7451L39.034 32.486L39.1305 32.3859L39.45 32.3158L40.1465 32.3739L40.4068 32.1405L40.4603 31.7711L40.2235 31.6257L39.8959 31.5239L39.6697 31.287L39.6778 31.1314L39.7532 31.0758L39.767 31.0459L39.5902 30.9698L39.2902 30.9279L39.1864 30.856L39.2854 30.7047L39.4102 30.2762L39.6227 30.047L39.9049 30L40.2349 30.1146L40.3022 30.1796L40.3492 30.2625L40.4068 30.3438L40.5033 30.3994L40.6014 30.4019L40.8503 30.2856L41.1722 30.3044L41.2728 30.2489L41.3498 30.0428L41.4009 30.1685L41.4203 30.2583L41.4503 30.3472L41.5339 30.4686L41.6441 30.5499L41.8833 30.614L41.9928 30.7047L42.0998 30.8423L42.168 30.9595L42.1955 31.1049L42.1793 31.3281L42.1104 31.5068L42.0042 31.7197L41.9555 31.901L42.0577 31.9866L42.5482 31.7711L42.6553 31.7736L42.7031 31.9412L42.652 32.1379L42.5012 32.5116L42.4704 32.7767L42.5134 32.8879L42.8215 32.9794L42.948 33.0538L43.2877 33.3266L43.617 33.4044L43.8099 33.4121L43.9526 33.3711L44.0386 33.2659L44.1229 33.094L44.2632 32.6963L44.2673 32.6981Z" fill="white"/>

                    <path class="d3-checker-loader__search" d="M54.7221 46.3824L45.7058 37.3626C47.4523 35.3112 48.513 32.6545 48.513 29.7515C48.513 23.2705 43.2415 18 36.7592 18C30.2769 18 25 23.2705 25 29.7568C25 36.2378 30.2715 41.5137 36.7592 41.5137C39.6628 41.5137 42.32 40.4531 44.3719 38.707L53.3881 47.7215C53.5703 47.9036 53.8167 48 54.0578 48C54.2989 48 54.5399 47.9089 54.7274 47.7215C55.0917 47.3465 55.0917 46.752 54.7221 46.3824ZM26.8911 29.7568C26.8911 24.3203 31.3162 19.8961 36.7538 19.8961C42.1915 19.8961 46.6166 24.3203 46.6166 29.7568C46.6166 35.1934 42.1968 39.6176 36.7592 39.6176C31.3216 39.6176 26.8911 35.1934 26.8911 29.7568Z" fill="#00008C"/>
                <defs>
                    <filter id="filter_loader" x="-20" y="-22" width="140" height="140" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
                        <feFlood flood-opacity="0" result="BackgroundImageFix"/>
                        <feGaussianBlur in="BackgroundImageFix" stdDeviation="15"/>
                        <feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_7389_1531"/>
                        <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
                        <feOffset dx="2" dy="4"/>
                        <feGaussianBlur stdDeviation="6"/>
                        <feComposite in2="hardAlpha" operator="out"/>
                        <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0.219608 0 0 0 0 0.698039 0 0 0 0.17 0"/>
                        <feBlend mode="normal" in2="effect1_backgroundBlur_7389_1531" result="effect2_dropShadow_7389_1531"/>
                        <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_7389_1531" result="shape"/>
                    </filter>
                </defs>
            </svg>
        `,t}async show(e,t){e.append(t),t.style.opacity="0",await new Promise(n=>setTimeout(n,5)),t.style.opacity="1"}async hide(e,t){t.style.opacity="0",await new Promise(n=>setTimeout(n,500)),t.remove()}}const dt=class dt{constructor(e){d(this,"ATIME",500);d(this,"el");d(this,"root");d(this,"url");d(this,"observer");d(this,"loader_svg");d(this,"new_node");d(this,"event",new CustomEvent("d3update",{detail:{new_node:void 0}}));d(this,"abort");d(this,"options",{loader_container:"default",loader_type:"default",save_scroll:"false"});d(this,"loaderStrategy",new Ie);d(this,"loader_container",null);d(this,"original_height",0);this.el=e;const t=this.el.getRootNode();this.root=t.body||t,this.el.classList.add(`${dt.CLASS}--initialized`),this.el.getAttribute("action")&&(this.url=new URL(this.el.getAttribute("action")||"",window.location.origin)),this.el.dataset.d3updateUrl&&(this.url=new URL(this.el.dataset.d3updateUrl,window.location.origin)),this.options={...this.options,...JSON.parse(this.el.dataset.d3updateOptions||"{}")},this.url&&(this.setLoaderStrategy(),this.attach())}setLoaderStrategy(){this.options.loader_type==="checker"&&(this.loaderStrategy=new ci)}attach(){this.el.tagName==="A"||this.el.tagName==="BUTTON"?this.el.addEventListener("click",e=>{e.preventDefault(),this.load()}):this.el.tagName==="FORM"?this.el.addEventListener("submit",e=>{e.preventDefault(),this.load()}):this.el.tagName==="INPUT"||this.el.tagName==="SELECT"||this.el.tagName==="TEXTAREA"?this.el.addEventListener("change",e=>{e.preventDefault(),this.load()}):(this.observer=new IntersectionObserver(e=>{e[0].isIntersecting&&(this.load(),this.observer.unobserve(this.el))}),this.observer.observe(this.el))}async loader(e=!0){this.loader_svg||(this.loader_svg=this.loaderStrategy.create(this.loaderContainer)),e?await this.loaderStrategy.show(this.loaderContainer,this.loader_svg):await this.loaderStrategy.hide(this.loaderContainer,this.loader_svg)}async animHeight(e,t,n=null){e.style.height=`${e.clientHeight}px`,e.style.transition=n?`height ${this.ATIME}ms ease 0ms, opacity ${this.ATIME}ms linear ${this.ATIME}ms`:n===null?`height ${this.ATIME}ms ease 0ms`:`height ${this.ATIME}ms ease 0ms, opacity ${this.ATIME}ms linear 0ms`,await new Promise(a=>setTimeout(a,5)),e.style.height=`${t}px`,n!==null&&(e.style.opacity=`${n}`),await new Promise(a=>setTimeout(a,n?this.ATIME*2:this.ATIME))}async load(){var e;this.options={...this.options,...JSON.parse(this.el.dataset.d3updateOptions||"{}")},this.el.clientHeight===0&&this.animHeight(this.el,100),this.options.loader_type!=="none"&&this.loader();try{this.abort&&this.abort.abort(),this.abort=new AbortController;let t={signal:this.abort.signal},n="";if(this.el.tagName==="INPUT"||this.el.tagName==="SELECT"||this.el.tagName==="TEXTAREA"){const C=this.el;(e=this.url)==null||e.searchParams.set(C.name,C.value)}let a=new FormData;this.el.tagName==="FORM"&&(t.method=this.el.getAttribute("method")||"GET",a=new FormData(this.el),t.method==="POST"?t.body=a:(n=new URLSearchParams(a.toString()).toString(),delete t.body));const c=await fetch(this.url+(n!=""?`?${n}`:""),t);if(!c.ok)throw new Error(`Response status: ${c.status}`);const f=(await c.text()).trim(),g=await new DOMParser().parseFromString(f,"application/xml");if(await this.updates(g),await this.script(g),this.options.save_scroll==="true"){const C=g.createElement("scrollto");C.setAttribute("target","save"),g.documentElement.append(C)}await this.scrollto(g)}catch(t){console.error(t.message)}await this.loader(!1)}async updates(e){const t=Array.from(e.documentElement.querySelectorAll("update"));for(const n of t)await this.update(n)}async update(e){if(!e)return;const t=e.getAttribute("target")==="self"?this.el:e.getAttribute("target")==="body"?this.root:this.root.querySelector(`#${e.getAttribute("target")}`||"");if(!t)return;if(e.getAttribute("remove")){await this.animHeight(t,0,0),t.remove();return}const n=document.createElement("div");n.innerHTML=e.textContent||"";const a=t.parentElement?`${t.parentElement.clientWidth}px`:"100%";n.style.cssText=`width:${a};position:absolute:visibility:hidden`,document.body.append(n),this.event.detail.new_node=this.new_node,window.dispatchEvent(this.event),await new Promise(g=>setTimeout(g,5)),this.original_height=t.clientHeight;const c=n.children[0].clientHeight;n.remove();const f=n.children[0];if(!f)return;const m={replace:(e.getAttribute("replace")||"false")==="true",append:(e.getAttribute("append")||"false")==="true",prepend:(e.getAttribute("prepend")||"false")==="true",after:(e.getAttribute("after")||"false")==="true",before:(e.getAttribute("before")||"false")==="true",class_add:e.getAttribute("class-add")||"",class_remove:e.getAttribute("class-remove")||""};m.replace&&(m.append||m.prepend)?this.new_node?await this.replace(this.new_node,f,c):m.append?await this.append(t,f,c):m.prepend?await this.prepend(t,f,c):m.after?await this.after(t,f,c):m.before&&await this.before(t,f,c):m.replace?await this.replace(t,f,c):m.append?await this.append(t,f,c):m.prepend?await this.prepend(t,f,c):m.after?await this.after(t,f,c):m.before&&await this.before(t,f,c),m.class_add!=""&&t.classList.add(m.class_add),m.class_remove!=""&&t.classList.remove(m.class_add),this.new_node=f}async replace(e,t,n){return new Promise(async a=>{if(t.classList.contains("d3-modal"))return e.replaceWith(t),a();t.style.opacity="0",await this.animHeight(e,n,0),e.replaceWith(t),a(),t.style.transition=`opacity ${this.ATIME}ms ease 0ms`,await new Promise(c=>setTimeout(c,5)),t.style.opacity="1",await new Promise(c=>setTimeout(c,this.ATIME)),t.style.cssText=""})}async append(e,t,n){return new Promise(async a=>{if(t.classList.contains("d3-modal"))return e.append(t),a();t.style.cssText=e===this.root?"opacity:0":"opacity:0;height:0;",e.append(t),a(),await this.animHeight(t,n,1),t.style.cssText=""})}async prepend(e,t,n){return new Promise(async a=>{t.style.cssText=e===this.root?"opacity:0":"opacity:0;height:0;",e.insertBefore(t,e.childNodes[0]),a(),await this.animHeight(t,n,1),t.style.cssText=""})}async after(e,t,n){return new Promise(async a=>{t.style.cssText=e===this.root?"opacity:0":"opacity:0;height:0;",e.after(t),a(),await this.animHeight(t,n,1),t.style.cssText=""})}async before(e,t,n){return new Promise(async a=>{var c;t.style.cssText=e===this.root?"opacity:0":"opacity:0;height:0;",(c=e.parentNode)==null||c.insertBefore(t,e),a(),await this.animHeight(t,n,1),t.style.cssText=""})}script(e){const t=e.documentElement.querySelector("script");if(!t)return;const n=document.createElement("script");n.textContent=t.innerHTML.replace("<![CDATA[","").replace("]]>",""),document.body.appendChild(n)}scrollto(e){var a;const t=e.documentElement.querySelector("scrollto");if(!t)return;if(t.getAttribute("target")==="save"){const c=(((a=this.new_node)==null?void 0:a.clientHeight)||0)-this.original_height;window.scrollBy({top:c,behavior:"smooth"});return}const n=this.root.querySelector(`#${t.getAttribute("target")}`||"");n&&n.scrollIntoView({behavior:"smooth",block:"center"})}get loaderContainer(){return this.loader_container?this.loader_container:(this.options.loader_container!=="default"&&(this.loader_container=this.el.closest(`.${this.options.loader_container}`)),this.loader_container||(this.loader_container=this.el.tagName==="FORM"?this.el.querySelector("[type=submit]"):["INPUT","SELECT","TEXTAREA"].includes(this.el.tagName)?this.el.parentElement||this.el:this.el),this.loader_container)}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${dt.CLASS}:not(.${dt.CLASS}--initialized)`).forEach(t=>new dt(t))}};d(dt,"CLASS","d3-update");let Qt=dt;Qt.observe();window.addEventListener("d3update",Qt.observe);const ut=class ut{constructor(e){d(this,"video");d(this,"observer");if(!e)throw new Error("YouTube iframe nenalezen.");this.video=e,this.video.classList.add(`${ut.CLASS}--initialized`),this.observer=new IntersectionObserver(this.handleIntersection.bind(this),{threshold:.5}),this.init()}init(){this.observer.observe(this.video)}handleIntersection(e){e.forEach(t=>{t.isIntersecting||this.pauseVideo()})}pauseVideo(){var e;(e=this.video.contentWindow)==null||e.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${ut.CLASS}:not(.${ut.CLASS}--initialized)`).forEach(t=>new ut(t))}};d(ut,"CLASS","d3-youtube");let Jt=ut;Jt.observe();window.addEventListener("d3update",Jt.observe);const ft=class ft{constructor(e){d(this,"textarea");d(this,"counter");d(this,"resizeIcon");d(this,"maxLength");e.classList.add(`${ft.CLASS}--initialized`),this.textarea=e.querySelector("textarea"),this.counter=e.querySelector(".d3-textarea__counter"),this.resizeIcon=e.querySelector(".d3-textarea__resize"),this.maxLength=parseInt(e.getAttribute("data-maxlength")||"100",10),this.init()}init(){this.updateCounter(),requestAnimationFrame(()=>this.updateResizeIconPosition()),this.textarea.addEventListener("input",()=>this.handleInput()),this.textarea.addEventListener("paste",e=>this.handlePaste(e)),this.resizeIcon.addEventListener("mousedown",e=>this.startResizing(e))}handleInput(){this.textarea.value.length>this.maxLength&&(this.textarea.value=this.textarea.value.substring(0,this.maxLength)),this.updateCounter()}handlePaste(e){var a;e.preventDefault();const n=(((a=e.clipboardData)==null?void 0:a.getData("text"))||"").substring(0,this.maxLength-this.textarea.value.length);document.execCommand("insertText",!1,n),this.updateCounter()}updateCounter(){const e=this.textarea.value.length;this.counter.querySelector("span:first-child").textContent=`${e}`,this.counter.querySelector("span:last-child").textContent=`${this.maxLength}`,e>this.maxLength&&(this.textarea.value=this.textarea.value.substring(0,this.maxLength),this.counter.querySelector("span:first-child").textContent=`${this.maxLength}`)}updateResizeIconPosition(){const e=this.textarea.getBoundingClientRect();this.resizeIcon.style.top=`${e.height-this.resizeIcon.offsetHeight-15}px`,this.resizeIcon.style.left=`${e.width-this.resizeIcon.offsetWidth-15}px`}startResizing(e){const t=this.textarea.parentElement;if(!t)return;const n=e.clientX,a=e.clientY,c=this.textarea.offsetWidth,f=this.textarea.offsetHeight,m=C=>{let k=c+(C.clientX-n);const T=f+(C.clientY-a),N=t.getBoundingClientRect();k>N.width&&(k=N.width),this.textarea.style.width=`${k}px`,this.textarea.style.height=`${T}px`,this.updateResizeIconPosition()},g=()=>{document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",g)};document.addEventListener("mousemove",m),document.addEventListener("mouseup",g)}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${ft.CLASS}:not(.${ft.CLASS}--initialized)`).forEach(t=>new ft(t))}};d(ft,"CLASS","js-d3-textarea");let Kt=ft;Kt.observe();window.addEventListener("d3update",Kt.observe);const pt=class pt{constructor(e){d(this,"close");d(this,"el");this.el=e,this.el.classList.add(`${pt.CLASS}--initialized`),this.close=this.el.querySelector(".d3-notification-bar__close"),this.listener()}listener(){var e;(e=this.close)==null||e.addEventListener("click",t=>{t.preventDefault(),this.el.classList.add("d3-notification-bar--hide"),this.el.addEventListener("transitionend",()=>{this.el.remove()},{once:!0})})}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${pt.CLASS}:not(.${pt.CLASS}--initialized)`).forEach(t=>new pt(t))}};d(pt,"CLASS","js-d3-notification-bar");let te=pt;te.observe();window.addEventListener("d3update",te.observe);const mt=class mt{constructor(e){d(this,"el");this.el=e,this.el.classList.add(`${mt.CLASS}--initialized`),this.init()}init(){this.listeners()}listeners(){this.el.addEventListener("click",e=>{const t=e.currentTarget;if(!t)return;const n=t.hash,a=document.querySelector(n);if(!a)return;const c=a.getBoundingClientRect(),f=document.querySelector(".o3-header"),m=f?f.getBoundingClientRect():{bottom:0};let g;m.bottom>=c.top?g=c.top+window.scrollY-this.getHeight():g=c.top+window.scrollY-20,window.scrollTo({top:g,behavior:"smooth"})})}getHeight(){const e=document.querySelector(".o3-header");return e?e.clientHeight:20}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${mt.CLASS}:not(.${mt.CLASS}--initialized)`).forEach(t=>new mt(t))}};d(mt,"CLASS","js-d3-anchor");let ee=mt;ee.observe();window.addEventListener("d3update",ee.observe);const K=class K{constructor(e){d(this,"el");d(this,"resizeObserver");this.el=e,this.el.classList.add(`${K.CLASS}--initialized`),this.init()}init(){this.observeSize(),this.observeWindowResize()}getOffsetElements(){const e=this.el.getAttribute("data-offset");if(!e)return[];try{const t=e.replace(/'/g,'"');return JSON.parse(t).map(a=>document.querySelector(`.${a}`)).filter(a=>a!==null)}catch(t){return console.error("Chyba při parsování data-offset:",t),[]}}observeSize(){this.resizeObserver=new ResizeObserver(()=>this.checkSize()),this.resizeObserver.observe(this.el)}observeWindowResize(){window.addEventListener("resize",()=>this.checkSize())}checkSize(){const e=this.el.offsetHeight,t=window.innerHeight,a=this.getOffsetElements().reduce((c,f)=>c+f.offsetHeight,0);e+a<t?this.el.classList.add(`${K.CLASS}--sticky`):this.el.classList.remove(`${K.CLASS}--sticky`)}static observe(){var t;(((t=window.d3host)==null?void 0:t.shadowRoot)||document.body).querySelectorAll(`.${K.CLASS}:not(.${K.CLASS}--initialized)`).forEach(n=>new K(n))}};d(K,"CLASS","js-d3-stickyFitWindow");let se=K;se.observe();window.addEventListener("d3update",se.observe);const St=class St{constructor(e){d(this,"el");this.el=e,e&&this.init()}init(){const e=this.el.querySelectorAll("video"),t=e[0],n=e[1];t.addEventListener("ended",()=>{t.style.display="none",n.style.display="block",n.play()})}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${St.CLASS}:not(.${St.CLASS}--initialized)`).forEach(t=>new St(t))}};d(St,"CLASS","js-d3-videoLoop");let ie=St;ie.observe();window.addEventListener("d3update",ie.observe);const Lt=class Lt{constructor(e){d(this,"el");d(this,"root");this.el=e,this.el.classList.add(`${Lt.CLASS}--initialized`);const t=this.el.getRootNode();if(this.root=t.body||t,!this.el.dataset.d3slotSource)return;let n="";if(this.root.querySelectorAll(this.el.dataset.d3slotSource).forEach(m=>{n+=m.innerHTML.trim()}),n=="")return;const c=new DOMParser().parseFromString(`<template><div>${n}</div></template>`,"text/html").head.firstElementChild,f=c.content?c.content.firstChild:c.firstChild;f&&f.childNodes.length>0&&(this.el.innerHTML="",f.childNodes.forEach(m=>{this.el.appendChild(m)}))}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${Lt.CLASS}:not(.${Lt.CLASS}--initialized)`).forEach(t=>new Lt(t))}};d(Lt,"CLASS","d3-slot");let ne=Lt;ne.observe();window.addEventListener("d3update",ne.observe);const P=class P{constructor(e){d(this,"el");d(this,"items",[]);d(this,"resize_observer");this.el=e,this.el.classList.add(`${P.CLASS}--initialized`),this.items=Array.from(this.el.querySelectorAll("li")),this.attach()}attach(){this.resize_observer=new ResizeObserver(e=>{this.update()}),this.resize_observer.observe(this.el)}update(){this.removeDropdown(),!this.isFit&&this.createDropdown()}removeDropdown(){const e=this.el.querySelector(`.${P.CLASS}__dropdown-toggle`),t=this.el.querySelector(`.${P.CLASS}__dropdown-menu`);e&&e.remove(),t&&t.remove(),this.items.forEach(n=>n.classList.remove(`${P.CLASS}__hidden`))}createDropdown(){var c,f;const e=this.items.slice(2,-1);if(e.forEach(m=>m.classList.add(`${P.CLASS}__hidden`)),e.length===0)return;const t=document.createElement("li");t.className=`${P.CLASS}__dropdown-toggle`,t.innerHTML=`
			<a href="#" class="d3-typo d3-typo--size-4 d3-typo--bold d3-show">
				<svg width="5" height="8" viewBox="0 0 5 8" fill="var(--d3-icon-color)" xmlns="http://www.w3.org/2000/svg">
					<path fill-rule="evenodd" clip-rule="evenodd" d="M0.218244 7.79465C-0.072748 7.52116 -0.072748 7.07873 0.218244 6.80524L3.20265 4.00035L0.218244 1.19453C-0.072748 0.921973 -0.072748 0.478605 0.218244 0.205116C0.509236 -0.0683721 0.979988 -0.0683721 1.27098 0.205116L4.78176 3.50564C5.07275 3.77913 5.07275 4.22157 4.78176 4.49506L1.27098 7.79465C1.12598 7.93186 0.935296 8 0.744612 8C0.553928 8 0.363244 7.93186 0.218244 7.79465Z"/>
				</svg>
				<div class="${P.CLASS}__dots-chevron">
					<span>...</span>
					<svg width="5" height="4" viewBox="0 0 5 4" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
						<path d="M2.90947 3.78556C2.724 4.07148 2.276 4.07148 2.09053 3.78556L0.0687879 0.668921C-0.12218 0.374531 0.107085 -4.27752e-07 0.47826 -3.95303e-07L4.52174 -4.18108e-08C4.89292 -9.36161e-09 5.12218 0.374531 4.93121 0.668921L2.90947 3.78556Z"/>
					</svg>
				</div>
			</a>
			<div class="${P.CLASS}__dropdown-arrow"></div>`;const n=document.createElement("div"),a=document.createElement("ul");n.className=`${P.CLASS}__dropdown-menu`,e.forEach(m=>{const C=m.cloneNode(!0).querySelector("a");if(C){C.className=`${P.CLASS}__dropdown-item d3-typo d3-typo--size-4 d3-typo--bold`;const k=document.createElement("li");k.appendChild(C),a.appendChild(k)}}),n.appendChild(a),(c=this.items[1].parentNode)==null||c.insertBefore(t,this.items[1].nextSibling),window.innerWidth>600?t.appendChild(n):this.el.appendChild(n),(f=t.firstElementChild)==null||f.addEventListener("click",function(m){m.preventDefault(),m.stopPropagation(),n.classList.toggle(`${P.CLASS}__show`)}),document.addEventListener("click",function(m){t.contains(m.target)||n.classList.remove(`${P.CLASS}__show`)})}get isFit(){let e=0;return this.items.forEach(t=>{t.style.minWidth="inherit",e+=t.clientWidth+10,t.style.minWidth=""}),e-10<this.el.clientWidth}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${P.CLASS}:not(.${P.CLASS}--initialized)`).forEach(t=>new P(t))}};d(P,"CLASS","d3-breadcrumb");let re=P;re.observe();window.addEventListener("d3update",re.observe);const Ct=class Ct{constructor(e){d(this,"ATIME",500);d(this,"el");d(this,"mutation_observer");this.el=e,this.attach()}attach(){this.mutation_observer=new MutationObserver(e=>{var t;this.el.classList.contains(`${Ct.CLASS}--hidden`)||(this.show(),(t=this.mutation_observer)==null||t.disconnect())}),this.mutation_observer.observe(this.el,{attributeFilter:["class"]})}async show(){const e=this.el.clientHeight,t=window.getComputedStyle(this.el),n=t.getPropertyValue("margin-top"),a=t.getPropertyValue("margin-bottom");this.el.style.cssText="height:0;opacity:0;overflow:hidden;margin-top:0;margin-bottom:0",await new Promise(c=>setTimeout(c,5)),this.el.style.transition=`all ${this.ATIME}ms ease 0ms`,await new Promise(c=>setTimeout(c,5)),this.el.style.height=`${e}px`,this.el.style.opacity="1",this.el.style.marginTop=n,this.el.style.marginBottom=a,this.el.style.overflow="",await new Promise(c=>setTimeout(c,this.ATIME)),this.el.style.cssText=""}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`[class*=d3-].${Ct.CLASS}--hidden`).forEach(t=>new Ct(t))}};d(Ct,"CLASS","d3-component");let oe=Ct;oe.observe();window.addEventListener("d3update",oe.observe);const vt=class vt{constructor(e){d(this,"form");this.form=e,this.form.classList.add(`${vt.CLASS}--initialized`),this.addFormHandlers()}addFormHandlers(){const e=this.form.querySelectorAll("input"),t=this.form.querySelector('button[type="submit"]'),n=()=>{const a=Array.from(e).every(c=>c.value.trim().length===1);t&&(t.disabled=!a,t.classList.toggle("d3-btn--disabled",!a))};e.forEach((a,c)=>{a.addEventListener("input",f=>{const m=f.target,g=e[c+1];m.value=m.value.replace(/\D/g,""),m.value&&g&&g.focus(),n()}),a.addEventListener("keydown",f=>{f.key==="Backspace"&&!a.value&&c>0&&e[c-1].focus()})}),n()}static observe(){(window.d3host&&window.d3host.shadowRoot?window.d3host.shadowRoot:document.body).querySelectorAll(`.${vt.CLASS}:not(.${vt.CLASS}--initialized)`).forEach(t=>new vt(t))}};d(vt,"CLASS","d3-family-pin-form");let ae=vt;ae.observe();window.addEventListener("d3update",ae.observe);
