var Ft={exports:{}},Ht={exports:{}};/*!
  * Bootstrap data.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var nn=Ht.exports,ke;function rn(){return ke||(ke=1,function(i,t){(function(e,n){i.exports=n()})(nn,function(){const e=new Map;return{set(r,s,o){e.has(r)||e.set(r,new Map);const a=e.get(r);if(!a.has(s)&&a.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(a.keys())[0]}.`);return}a.set(s,o)},get(r,s){return e.has(r)&&e.get(r).get(s)||null},remove(r,s){if(!e.has(r))return;const o=e.get(r);o.delete(s),o.size===0&&e.delete(r)}}})}(Ht)),Ht.exports}var qt={exports:{}},St={exports:{}};/*!
  * Bootstrap index.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var sn=St.exports,Ve;function tt(){return Ve||(Ve=1,function(i,t){(function(e,n){n(t)})(sn,function(e){const s="transitionend",o=d=>(d&&window.CSS&&window.CSS.escape&&(d=d.replace(/#([^\s"#']+)/g,(y,E)=>`#${CSS.escape(E)}`)),d),a=d=>d==null?`${d}`:Object.prototype.toString.call(d).match(/\s([a-z]+)/i)[1].toLowerCase(),l=d=>{do d+=Math.floor(Math.random()*1e6);while(document.getElementById(d));return d},c=d=>{if(!d)return 0;let{transitionDuration:y,transitionDelay:E}=window.getComputedStyle(d);const D=Number.parseFloat(y),P=Number.parseFloat(E);return!D&&!P?0:(y=y.split(",")[0],E=E.split(",")[0],(Number.parseFloat(y)+Number.parseFloat(E))*1e3)},u=d=>{d.dispatchEvent(new Event(s))},m=d=>!d||typeof d!="object"?!1:(typeof d.jquery<"u"&&(d=d[0]),typeof d.nodeType<"u"),h=d=>m(d)?d.jquery?d[0]:d:typeof d=="string"&&d.length>0?document.querySelector(o(d)):null,f=d=>{if(!m(d)||d.getClientRects().length===0)return!1;const y=getComputedStyle(d).getPropertyValue("visibility")==="visible",E=d.closest("details:not([open])");if(!E)return y;if(E!==d){const D=d.closest("summary");if(D&&D.parentNode!==E||D===null)return!1}return y},T=d=>!d||d.nodeType!==Node.ELEMENT_NODE||d.classList.contains("disabled")?!0:typeof d.disabled<"u"?d.disabled:d.hasAttribute("disabled")&&d.getAttribute("disabled")!=="false",A=d=>{if(!document.documentElement.attachShadow)return null;if(typeof d.getRootNode=="function"){const y=d.getRootNode();return y instanceof ShadowRoot?y:null}return d instanceof ShadowRoot?d:d.parentNode?A(d.parentNode):null},b=()=>{},w=d=>{d.offsetHeight},x=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,L=[],g=d=>{document.readyState==="loading"?(L.length||document.addEventListener("DOMContentLoaded",()=>{for(const y of L)y()}),L.push(d)):d()},I=()=>document.documentElement.dir==="rtl",_=d=>{g(()=>{const y=x();if(y){const E=d.NAME,D=y.fn[E];y.fn[E]=d.jQueryInterface,y.fn[E].Constructor=d,y.fn[E].noConflict=()=>(y.fn[E]=D,d.jQueryInterface)}})},v=(d,y=[],E=d)=>typeof d=="function"?d.call(...y):E,C=(d,y,E=!0)=>{if(!E){v(d);return}const D=5,P=c(y)+D;let V=!1;const k=({target:F})=>{F===y&&(V=!0,y.removeEventListener(s,k),v(d))};y.addEventListener(s,k),setTimeout(()=>{V||u(y)},P)},M=(d,y,E,D)=>{const P=d.length;let V=d.indexOf(y);return V===-1?!E&&D?d[P-1]:d[0]:(V+=E?1:-1,D&&(V=(V+P)%P),d[Math.max(0,Math.min(V,P-1))])};e.defineJQueryPlugin=_,e.execute=v,e.executeAfterTransition=C,e.findShadowRoot=A,e.getElement=h,e.getNextActiveElement=M,e.getTransitionDurationFromElement=c,e.getUID=l,e.getjQuery=x,e.isDisabled=T,e.isElement=m,e.isRTL=I,e.isVisible=f,e.noop=b,e.onDOMContentLoaded=g,e.parseSelector=o,e.reflow=w,e.toType=a,e.triggerTransitionEnd=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})})}(St,St.exports)),St.exports}/*!
  * Bootstrap event-handler.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var on=qt.exports,Be;function lt(){return Be||(Be=1,function(i,t){(function(e,n){i.exports=n(tt())})(on,function(e){const n=/[^.]*(?=\..*)\.|.*/,r=/\..*/,s=/::\d+$/,o={};let a=1;const l={mouseenter:"mouseover",mouseleave:"mouseout"},c=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function u(_,v){return v&&`${v}::${a++}`||_.uidEvent||a++}function m(_){const v=u(_);return _.uidEvent=v,o[v]=o[v]||{},o[v]}function h(_,v){return function C(M){return I(M,{delegateTarget:_}),C.oneOff&&g.off(_,M.type,v),v.apply(_,[M])}}function f(_,v,C){return function M(d){const y=_.querySelectorAll(v);for(let{target:E}=d;E&&E!==this;E=E.parentNode)for(const D of y)if(D===E)return I(d,{delegateTarget:E}),M.oneOff&&g.off(_,d.type,v,C),C.apply(E,[d])}}function T(_,v,C=null){return Object.values(_).find(M=>M.callable===v&&M.delegationSelector===C)}function A(_,v,C){const M=typeof v=="string",d=M?C:v||C;let y=L(_);return c.has(y)||(y=_),[M,d,y]}function b(_,v,C,M,d){if(typeof v!="string"||!_)return;let[y,E,D]=A(v,C,M);v in l&&(E=(z=>function(N){if(!N.relatedTarget||N.relatedTarget!==N.delegateTarget&&!N.delegateTarget.contains(N.relatedTarget))return z.call(this,N)})(E));const P=m(_),V=P[D]||(P[D]={}),k=T(V,E,y?C:null);if(k){k.oneOff=k.oneOff&&d;return}const F=u(E,v.replace(n,"")),W=y?f(_,C,E):h(_,E);W.delegationSelector=y?C:null,W.callable=E,W.oneOff=d,W.uidEvent=F,V[F]=W,_.addEventListener(D,W,y)}function w(_,v,C,M,d){const y=T(v[C],M,d);y&&(_.removeEventListener(C,y,!!d),delete v[C][y.uidEvent])}function x(_,v,C,M){const d=v[C]||{};for(const[y,E]of Object.entries(d))y.includes(M)&&w(_,v,C,E.callable,E.delegationSelector)}function L(_){return _=_.replace(r,""),l[_]||_}const g={on(_,v,C,M){b(_,v,C,M,!1)},one(_,v,C,M){b(_,v,C,M,!0)},off(_,v,C,M){if(typeof v!="string"||!_)return;const[d,y,E]=A(v,C,M),D=E!==v,P=m(_),V=P[E]||{},k=v.startsWith(".");if(typeof y<"u"){if(!Object.keys(V).length)return;w(_,P,E,y,d?C:null);return}if(k)for(const F of Object.keys(P))x(_,P,F,v.slice(1));for(const[F,W]of Object.entries(V)){const q=F.replace(s,"");(!D||v.includes(q))&&w(_,P,E,W.callable,W.delegationSelector)}},trigger(_,v,C){if(typeof v!="string"||!_)return null;const M=e.getjQuery(),d=L(v),y=v!==d;let E=null,D=!0,P=!0,V=!1;y&&M&&(E=M.Event(v,C),M(_).trigger(E),D=!E.isPropagationStopped(),P=!E.isImmediatePropagationStopped(),V=E.isDefaultPrevented());const k=I(new Event(v,{bubbles:D,cancelable:!0}),C);return V&&k.preventDefault(),P&&_.dispatchEvent(k),k.defaultPrevented&&E&&E.preventDefault(),k}};function I(_,v={}){for(const[C,M]of Object.entries(v))try{_[C]=M}catch{Object.defineProperty(_,C,{configurable:!0,get(){return M}})}return _}return g})}(qt)),qt.exports}var Wt={exports:{}},Ut={exports:{}};/*!
  * Bootstrap manipulator.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var an=Ut.exports,$e;function se(){return $e||($e=1,function(i,t){(function(e,n){i.exports=n()})(an,function(){function e(s){if(s==="true")return!0;if(s==="false")return!1;if(s===Number(s).toString())return Number(s);if(s===""||s==="null")return null;if(typeof s!="string")return s;try{return JSON.parse(decodeURIComponent(s))}catch{return s}}function n(s){return s.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`)}return{setDataAttribute(s,o,a){s.setAttribute(`data-bs-${n(o)}`,a)},removeDataAttribute(s,o){s.removeAttribute(`data-bs-${n(o)}`)},getDataAttributes(s){if(!s)return{};const o={},a=Object.keys(s.dataset).filter(l=>l.startsWith("bs")&&!l.startsWith("bsConfig"));for(const l of a){let c=l.replace(/^bs/,"");c=c.charAt(0).toLowerCase()+c.slice(1),o[c]=e(s.dataset[l])}return o},getDataAttribute(s,o){return e(s.getAttribute(`data-bs-${n(o)}`))}}})}(Ut)),Ut.exports}/*!
  * Bootstrap config.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var ln=Wt.exports,Fe;function Pt(){return Fe||(Fe=1,function(i,t){(function(e,n){i.exports=n(se(),tt())})(ln,function(e,n){class r{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(o){return o=this._mergeConfigObj(o),o=this._configAfterMerge(o),this._typeCheckConfig(o),o}_configAfterMerge(o){return o}_mergeConfigObj(o,a){const l=n.isElement(a)?e.getDataAttribute(a,"config"):{};return{...this.constructor.Default,...typeof l=="object"?l:{},...n.isElement(a)?e.getDataAttributes(a):{},...typeof o=="object"?o:{}}}_typeCheckConfig(o,a=this.constructor.DefaultType){for(const[l,c]of Object.entries(a)){const u=o[l],m=n.isElement(u)?"element":n.toType(u);if(!new RegExp(c).test(m))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${l}" provided type "${m}" but expected type "${c}".`)}}}return r})}(Wt)),Wt.exports}/*!
  * Bootstrap base-component.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var cn=Ft.exports,He;function _e(){return He||(He=1,function(i,t){(function(e,n){i.exports=n(rn(),lt(),Pt(),tt())})(cn,function(e,n,r,s){const o="5.3.8";class a extends r{constructor(c,u){super(),c=s.getElement(c),c&&(this._element=c,this._config=this._getConfig(u),e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),n.off(this._element,this.constructor.EVENT_KEY);for(const c of Object.getOwnPropertyNames(this))this[c]=null}_queueCallback(c,u,m=!0){s.executeAfterTransition(c,u,m)}_getConfig(c){return c=this._mergeConfigObj(c,this._element),c=this._configAfterMerge(c),this._typeCheckConfig(c),c}static getInstance(c){return e.get(s.getElement(c),this.DATA_KEY)}static getOrCreateInstance(c,u={}){return this.getInstance(c)||new this(c,typeof u=="object"?u:null)}static get VERSION(){return o}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(c){return`${c}${this.EVENT_KEY}`}}return a})}(Ft)),Ft.exports}var jt={exports:{}};/*!
  * Bootstrap selector-engine.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var un=jt.exports,qe;function Ct(){return qe||(qe=1,function(i,t){(function(e,n){i.exports=n(tt())})(un,function(e){const n=s=>{let o=s.getAttribute("data-bs-target");if(!o||o==="#"){let a=s.getAttribute("href");if(!a||!a.includes("#")&&!a.startsWith("."))return null;a.includes("#")&&!a.startsWith("#")&&(a=`#${a.split("#")[1]}`),o=a&&a!=="#"?a.trim():null}return o?o.split(",").map(a=>e.parseSelector(a)).join(","):null},r={find(s,o=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(o,s))},findOne(s,o=document.documentElement){return Element.prototype.querySelector.call(o,s)},children(s,o){return[].concat(...s.children).filter(a=>a.matches(o))},parents(s,o){const a=[];let l=s.parentNode.closest(o);for(;l;)a.push(l),l=l.parentNode.closest(o);return a},prev(s,o){let a=s.previousElementSibling;for(;a;){if(a.matches(o))return[a];a=a.previousElementSibling}return[]},next(s,o){let a=s.nextElementSibling;for(;a;){if(a.matches(o))return[a];a=a.nextElementSibling}return[]},focusableChildren(s){const o=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(a=>`${a}:not([tabindex^="-"])`).join(",");return this.find(o,s).filter(a=>!e.isDisabled(a)&&e.isVisible(a))},getSelectorFromElement(s){const o=n(s);return o&&r.findOne(o)?o:null},getElementFromSelector(s){const o=n(s);return o?r.findOne(o):null},getMultipleElementsFromSelector(s){const o=n(s);return o?r.find(o):[]}};return r})}(jt)),jt.exports}var Yt={exports:{}},zt={exports:{}};/*!
  * Bootstrap swipe.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var dn=zt.exports,We;function hn(){return We||(We=1,function(i,t){(function(e,n){i.exports=n(lt(),Pt(),tt())})(dn,function(e,n,r){const s="swipe",o=".bs.swipe",a=`touchstart${o}`,l=`touchmove${o}`,c=`touchend${o}`,u=`pointerdown${o}`,m=`pointerup${o}`,h="touch",f="pen",T="pointer-event",A=40,b={endCallback:null,leftCallback:null,rightCallback:null},w={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class x extends n{constructor(g,I){super(),this._element=g,!(!g||!x.isSupported())&&(this._config=this._getConfig(I),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return b}static get DefaultType(){return w}static get NAME(){return s}dispose(){e.off(this._element,o)}_start(g){if(!this._supportPointerEvents){this._deltaX=g.touches[0].clientX;return}this._eventIsPointerPenTouch(g)&&(this._deltaX=g.clientX)}_end(g){this._eventIsPointerPenTouch(g)&&(this._deltaX=g.clientX-this._deltaX),this._handleSwipe(),r.execute(this._config.endCallback)}_move(g){this._deltaX=g.touches&&g.touches.length>1?0:g.touches[0].clientX-this._deltaX}_handleSwipe(){const g=Math.abs(this._deltaX);if(g<=A)return;const I=g/this._deltaX;this._deltaX=0,I&&r.execute(I>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(e.on(this._element,u,g=>this._start(g)),e.on(this._element,m,g=>this._end(g)),this._element.classList.add(T)):(e.on(this._element,a,g=>this._start(g)),e.on(this._element,l,g=>this._move(g)),e.on(this._element,c,g=>this._end(g)))}_eventIsPointerPenTouch(g){return this._supportPointerEvents&&(g.pointerType===f||g.pointerType===h)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}return x})}(zt)),zt.exports}/*!
  * Bootstrap carousel.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var fn=Yt.exports,Ue;function pn(){return Ue||(Ue=1,function(i,t){(function(e,n){i.exports=n(_e(),lt(),se(),Ct(),tt(),hn())})(fn,function(e,n,r,s,o,a){const l="carousel",u=".bs.carousel",m=".data-api",h="ArrowLeft",f="ArrowRight",T=500,A="next",b="prev",w="left",x="right",L=`slide${u}`,g=`slid${u}`,I=`keydown${u}`,_=`mouseenter${u}`,v=`mouseleave${u}`,C=`dragstart${u}`,M=`load${u}${m}`,d=`click${u}${m}`,y="carousel",E="active",D="slide",P="carousel-item-end",V="carousel-item-start",k="carousel-item-next",F="carousel-item-prev",W=".active",q=".carousel-item",z=W+q,N=".carousel-item img",p=".carousel-indicators",O="[data-bs-slide], [data-bs-slide-to]",R='[data-bs-ride="carousel"]',H={[h]:x,[f]:w},j={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},K={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Y extends e{constructor(S,B){super(S,B),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=s.findOne(p,this._element),this._addEventListeners(),this._config.ride===y&&this.cycle()}static get Default(){return j}static get DefaultType(){return K}static get NAME(){return l}next(){this._slide(A)}nextWhenVisible(){!document.hidden&&o.isVisible(this._element)&&this.next()}prev(){this._slide(b)}pause(){this._isSliding&&o.triggerTransitionEnd(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){n.one(this._element,g,()=>this.cycle());return}this.cycle()}}to(S){const B=this._getItems();if(S>B.length-1||S<0)return;if(this._isSliding){n.one(this._element,g,()=>this.to(S));return}const U=this._getItemIndex(this._getActive());if(U===S)return;const rt=S>U?A:b;this._slide(rt,B[S])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(S){return S.defaultInterval=S.interval,S}_addEventListeners(){this._config.keyboard&&n.on(this._element,I,S=>this._keydown(S)),this._config.pause==="hover"&&(n.on(this._element,_,()=>this.pause()),n.on(this._element,v,()=>this._maybeEnableCycle())),this._config.touch&&a.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const U of s.find(N,this._element))n.on(U,C,rt=>rt.preventDefault());const B={leftCallback:()=>this._slide(this._directionToOrder(w)),rightCallback:()=>this._slide(this._directionToOrder(x)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),T+this._config.interval))}};this._swipeHelper=new a(this._element,B)}_keydown(S){if(/input|textarea/i.test(S.target.tagName))return;const B=H[S.key];B&&(S.preventDefault(),this._slide(this._directionToOrder(B)))}_getItemIndex(S){return this._getItems().indexOf(S)}_setActiveIndicatorElement(S){if(!this._indicatorsElement)return;const B=s.findOne(W,this._indicatorsElement);B.classList.remove(E),B.removeAttribute("aria-current");const U=s.findOne(`[data-bs-slide-to="${S}"]`,this._indicatorsElement);U&&(U.classList.add(E),U.setAttribute("aria-current","true"))}_updateInterval(){const S=this._activeElement||this._getActive();if(!S)return;const B=Number.parseInt(S.getAttribute("data-bs-interval"),10);this._config.interval=B||this._config.defaultInterval}_slide(S,B=null){if(this._isSliding)return;const U=this._getActive(),rt=S===A,et=B||o.getNextActiveElement(this._getItems(),U,rt,this._config.wrap);if(et===U)return;const Vt=this._getItemIndex(et),xt=Bt=>n.trigger(this._element,Bt,{relatedTarget:et,direction:this._orderToDirection(S),from:this._getItemIndex(U),to:Vt});if(xt(L).defaultPrevented||!U||!et)return;const ue=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Vt),this._activeElement=et;const _t=rt?V:P,nt=rt?k:F;et.classList.add(nt),o.reflow(et),U.classList.add(_t),et.classList.add(_t);const gt=()=>{et.classList.remove(_t,nt),et.classList.add(E),U.classList.remove(E,nt,_t),this._isSliding=!1,xt(g)};this._queueCallback(gt,U,this._isAnimated()),ue&&this.cycle()}_isAnimated(){return this._element.classList.contains(D)}_getActive(){return s.findOne(z,this._element)}_getItems(){return s.find(q,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(S){return o.isRTL()?S===w?b:A:S===w?A:b}_orderToDirection(S){return o.isRTL()?S===b?w:x:S===b?x:w}static jQueryInterface(S){return this.each(function(){const B=Y.getOrCreateInstance(this,S);if(typeof S=="number"){B.to(S);return}if(typeof S=="string"){if(B[S]===void 0||S.startsWith("_")||S==="constructor")throw new TypeError(`No method named "${S}"`);B[S]()}})}}return n.on(document,d,O,function(dt){const S=s.getElementFromSelector(this);if(!S||!S.classList.contains(y))return;dt.preventDefault();const B=Y.getOrCreateInstance(S),U=this.getAttribute("data-bs-slide-to");if(U){B.to(U),B._maybeEnableCycle();return}if(r.getDataAttribute(this,"slide")==="next"){B.next(),B._maybeEnableCycle();return}B.prev(),B._maybeEnableCycle()}),n.on(window,M,()=>{const dt=s.find(R);for(const S of dt)Y.getOrCreateInstance(S)}),o.defineJQueryPlugin(Y),Y})}(Yt)),Yt.exports}pn();function mn(i,t={}){const e=document.getElementById("carousel-v2-"+i);if(e){const n=window.language_code=="ar"||window.language_code=="he"||window.language_code=="fa",r=e.querySelector(".slider"),s="ontouchstart"in window||navigator.maxTouchPoints>0,o=e.querySelector(".navigation.prev"),a=e.querySelector(".navigation.next"),l=e.querySelector(".pagination");if(!s&&(o&&a||l)){let f=function(b){b===0?o.classList.contains("hidden")||o.classList.add("hidden"):o.classList.remove("hidden"),b===h-1?a.classList.contains("hidden")||a.classList.add("hidden"):a.classList.remove("hidden")},T=function(b){l.querySelectorAll(".pagination-dot").forEach((x,L)=>{x.classList.toggle("active",L===b)})},A=function(b){let w;w=b*r.clientWidth,n&&(w=0-w),r.scrollTo({left:w,behavior:"auto"}),o&&a&&f(b),l&&T(b)};const c=r.children[0].offsetWidth,u=r.children.length,m=Math.floor(r.clientWidth/c),h=Math.ceil(u/m);if(o&&a&&(o.addEventListener("click",()=>{const b=Math.round(Math.abs(r.scrollLeft)/(c*m));A(b-1)}),a.addEventListener("click",()=>{const b=Math.round(Math.abs(r.scrollLeft)/(c*m));b<h-1&&A(b+1)}),f(0)),l){const b=l.querySelectorAll(".pagination-dot");l.classList.contains("hidden")&&l.classList.remove("hidden"),b.forEach((w,x)=>{x===0&&w.classList.add("active"),w.addEventListener("click",()=>{A(x)})})}}e.tagName==="DETAILS"&&e.addEventListener("toggle",function(){e.open?(e.classList.add("opened"),e.classList.remove("closed")):(e.classList.remove("opened"),e.classList.add("closed"))})}}const fi=function(i){return i.srcElement.parentNode.parentNode.getElementsByTagName("div")[0]},pi=function(i){return i.srcElement.parentNode.getElementsByTagName("a")},mi=function(i){i.classList.add("hidden")},ge=function(i){i.classList.remove("hidden")},_n=function(i){i.classList.remove("block-viewmore--collapsed")},_i=function(i){i.classList.add("block-viewmore--collapsed")},gn=function(i){i.preventDefault();const t=pi(i);_n(fi(i)),mi(t[0]),ge(t[1])},vn=function(i){i.preventDefault();const t=pi(i);_i(fi(i)),ge(t[0]),mi(t[1])};function gi(i,t){const e=document.getElementById(i);if(e){const n=e.getElementsByClassName("block-viewmore-options")[0],r=e.getElementsByClassName("block-viewmore")[0];let s=r.offsetHeight;if(r.classList.contains("block-viewmore--js-not-applied")&&r.classList.remove("block-viewmore--js-not-applied"),s=r.offsetHeight,r&&s>=t){_i(r),ge(n);let o=1;for(let a of n.querySelectorAll("a"))o===1?a.addEventListener("click",l=>{gn(l)}):a.addEventListener("click",l=>{vn(l)}),o++}}}function bn(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function En(i){if(Object.prototype.hasOwnProperty.call(i,"__esModule"))return i;var t=i.default;if(typeof t=="function"){var e=function n(){var r=!1;try{r=this instanceof n}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(i).forEach(function(n){var r=Object.getOwnPropertyDescriptor(i,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return i[n]}})}),e}var Kt={exports:{}},Xt={exports:{}},X="top",Q="bottom",J="right",G="left",oe="auto",Ot=[X,Q,J,G],pt="start",Et="end",vi="clippingParents",ve="viewport",vt="popper",bi="reference",he=Ot.reduce(function(i,t){return i.concat([t+"-"+pt,t+"-"+Et])},[]),be=[].concat(Ot,[oe]).reduce(function(i,t){return i.concat([t,t+"-"+pt,t+"-"+Et])},[]),Ei="beforeRead",yi="read",Ai="afterRead",wi="beforeMain",Ti="main",Ci="afterMain",Oi="beforeWrite",Mi="write",xi="afterWrite",Si=[Ei,yi,Ai,wi,Ti,Ci,Oi,Mi,xi];function ot(i){return i?(i.nodeName||"").toLowerCase():null}function Z(i){if(i==null)return window;if(i.toString()!=="[object Window]"){var t=i.ownerDocument;return t&&t.defaultView||window}return i}function mt(i){var t=Z(i).Element;return i instanceof t||i instanceof Element}function it(i){var t=Z(i).HTMLElement;return i instanceof t||i instanceof HTMLElement}function Ee(i){if(typeof ShadowRoot>"u")return!1;var t=Z(i).ShadowRoot;return i instanceof t||i instanceof ShadowRoot}function yn(i){var t=i.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},s=t.elements[e];!it(s)||!ot(s)||(Object.assign(s.style,n),Object.keys(r).forEach(function(o){var a=r[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function An(i){var t=i.state,e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.styles=e,t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),function(){Object.keys(t.elements).forEach(function(n){var r=t.elements[n],s=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:e[n]),a=o.reduce(function(l,c){return l[c]="",l},{});!it(r)||!ot(r)||(Object.assign(r.style,a),Object.keys(s).forEach(function(l){r.removeAttribute(l)}))})}}var ye={name:"applyStyles",enabled:!0,phase:"write",fn:yn,effect:An,requires:["computeStyles"]};function st(i){return i.split("-")[0]}var ft=Math.max,ne=Math.min,yt=Math.round;function fe(){var i=navigator.userAgentData;return i!=null&&i.brands&&Array.isArray(i.brands)?i.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Li(){return!/^((?!chrome|android).)*safari/i.test(fe())}function At(i,t,e){t===void 0&&(t=!1),e===void 0&&(e=!1);var n=i.getBoundingClientRect(),r=1,s=1;t&&it(i)&&(r=i.offsetWidth>0&&yt(n.width)/i.offsetWidth||1,s=i.offsetHeight>0&&yt(n.height)/i.offsetHeight||1);var o=mt(i)?Z(i):window,a=o.visualViewport,l=!Li()&&e,c=(n.left+(l&&a?a.offsetLeft:0))/r,u=(n.top+(l&&a?a.offsetTop:0))/s,m=n.width/r,h=n.height/s;return{width:m,height:h,top:u,right:c+m,bottom:u+h,left:c,x:c,y:u}}function Ae(i){var t=At(i),e=i.offsetWidth,n=i.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:i.offsetLeft,y:i.offsetTop,width:e,height:n}}function Ii(i,t){var e=t.getRootNode&&t.getRootNode();if(i.contains(t))return!0;if(e&&Ee(e)){var n=t;do{if(n&&i.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function at(i){return Z(i).getComputedStyle(i)}function wn(i){return["table","td","th"].indexOf(ot(i))>=0}function ct(i){return((mt(i)?i.ownerDocument:i.document)||window.document).documentElement}function ae(i){return ot(i)==="html"?i:i.assignedSlot||i.parentNode||(Ee(i)?i.host:null)||ct(i)}function je(i){return!it(i)||at(i).position==="fixed"?null:i.offsetParent}function Tn(i){var t=/firefox/i.test(fe()),e=/Trident/i.test(fe());if(e&&it(i)){var n=at(i);if(n.position==="fixed")return null}var r=ae(i);for(Ee(r)&&(r=r.host);it(r)&&["html","body"].indexOf(ot(r))<0;){var s=at(r);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return r;r=r.parentNode}return null}function kt(i){for(var t=Z(i),e=je(i);e&&wn(e)&&at(e).position==="static";)e=je(e);return e&&(ot(e)==="html"||ot(e)==="body"&&at(e).position==="static")?t:e||Tn(i)||t}function we(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function Nt(i,t,e){return ft(i,ne(t,e))}function Cn(i,t,e){var n=Nt(i,t,e);return n>e?e:n}function Ni(){return{top:0,right:0,bottom:0,left:0}}function Di(i){return Object.assign({},Ni(),i)}function Ri(i,t){return t.reduce(function(e,n){return e[n]=i,e},{})}var On=function(t,e){return t=typeof t=="function"?t(Object.assign({},e.rects,{placement:e.placement})):t,Di(typeof t!="number"?t:Ri(t,Ot))};function Mn(i){var t,e=i.state,n=i.name,r=i.options,s=e.elements.arrow,o=e.modifiersData.popperOffsets,a=st(e.placement),l=we(a),c=[G,J].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!o)){var m=On(r.padding,e),h=Ae(s),f=l==="y"?X:G,T=l==="y"?Q:J,A=e.rects.reference[u]+e.rects.reference[l]-o[l]-e.rects.popper[u],b=o[l]-e.rects.reference[l],w=kt(s),x=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,L=A/2-b/2,g=m[f],I=x-h[u]-m[T],_=x/2-h[u]/2+L,v=Nt(g,_,I),C=l;e.modifiersData[n]=(t={},t[C]=v,t.centerOffset=v-_,t)}}function xn(i){var t=i.state,e=i.options,n=e.element,r=n===void 0?"[data-popper-arrow]":n;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Ii(t.elements.popper,r)&&(t.elements.arrow=r))}var Pi={name:"arrow",enabled:!0,phase:"main",fn:Mn,effect:xn,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wt(i){return i.split("-")[1]}var Sn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ln(i,t){var e=i.x,n=i.y,r=t.devicePixelRatio||1;return{x:yt(e*r)/r||0,y:yt(n*r)/r||0}}function Ye(i){var t,e=i.popper,n=i.popperRect,r=i.placement,s=i.variation,o=i.offsets,a=i.position,l=i.gpuAcceleration,c=i.adaptive,u=i.roundOffsets,m=i.isFixed,h=o.x,f=h===void 0?0:h,T=o.y,A=T===void 0?0:T,b=typeof u=="function"?u({x:f,y:A}):{x:f,y:A};f=b.x,A=b.y;var w=o.hasOwnProperty("x"),x=o.hasOwnProperty("y"),L=G,g=X,I=window;if(c){var _=kt(e),v="clientHeight",C="clientWidth";if(_===Z(e)&&(_=ct(e),at(_).position!=="static"&&a==="absolute"&&(v="scrollHeight",C="scrollWidth")),_=_,r===X||(r===G||r===J)&&s===Et){g=Q;var M=m&&_===I&&I.visualViewport?I.visualViewport.height:_[v];A-=M-n.height,A*=l?1:-1}if(r===G||(r===X||r===Q)&&s===Et){L=J;var d=m&&_===I&&I.visualViewport?I.visualViewport.width:_[C];f-=d-n.width,f*=l?1:-1}}var y=Object.assign({position:a},c&&Sn),E=u===!0?Ln({x:f,y:A},Z(e)):{x:f,y:A};if(f=E.x,A=E.y,l){var D;return Object.assign({},y,(D={},D[g]=x?"0":"",D[L]=w?"0":"",D.transform=(I.devicePixelRatio||1)<=1?"translate("+f+"px, "+A+"px)":"translate3d("+f+"px, "+A+"px, 0)",D))}return Object.assign({},y,(t={},t[g]=x?A+"px":"",t[L]=w?f+"px":"",t.transform="",t))}function In(i){var t=i.state,e=i.options,n=e.gpuAcceleration,r=n===void 0?!0:n,s=e.adaptive,o=s===void 0?!0:s,a=e.roundOffsets,l=a===void 0?!0:a,c={placement:st(t.placement),variation:wt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ye(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ye(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Te={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:In,data:{}},$t={passive:!0};function Nn(i){var t=i.state,e=i.instance,n=i.options,r=n.scroll,s=r===void 0?!0:r,o=n.resize,a=o===void 0?!0:o,l=Z(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",e.update,$t)}),a&&l.addEventListener("resize",e.update,$t),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",e.update,$t)}),a&&l.removeEventListener("resize",e.update,$t)}}var Ce={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Nn,data:{}},Dn={left:"right",right:"left",bottom:"top",top:"bottom"};function Gt(i){return i.replace(/left|right|bottom|top/g,function(t){return Dn[t]})}var Rn={start:"end",end:"start"};function ze(i){return i.replace(/start|end/g,function(t){return Rn[t]})}function Oe(i){var t=Z(i),e=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:e,scrollTop:n}}function Me(i){return At(ct(i)).left+Oe(i).scrollLeft}function Pn(i,t){var e=Z(i),n=ct(i),r=e.visualViewport,s=n.clientWidth,o=n.clientHeight,a=0,l=0;if(r){s=r.width,o=r.height;var c=Li();(c||!c&&t==="fixed")&&(a=r.offsetLeft,l=r.offsetTop)}return{width:s,height:o,x:a+Me(i),y:l}}function kn(i){var t,e=ct(i),n=Oe(i),r=(t=i.ownerDocument)==null?void 0:t.body,s=ft(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=ft(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+Me(i),l=-n.scrollTop;return at(r||e).direction==="rtl"&&(a+=ft(e.clientWidth,r?r.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function xe(i){var t=at(i),e=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+r+n)}function ki(i){return["html","body","#document"].indexOf(ot(i))>=0?i.ownerDocument.body:it(i)&&xe(i)?i:ki(ae(i))}function Dt(i,t){var e;t===void 0&&(t=[]);var n=ki(i),r=n===((e=i.ownerDocument)==null?void 0:e.body),s=Z(n),o=r?[s].concat(s.visualViewport||[],xe(n)?n:[]):n,a=t.concat(o);return r?a:a.concat(Dt(ae(o)))}function pe(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function Vn(i,t){var e=At(i,!1,t==="fixed");return e.top=e.top+i.clientTop,e.left=e.left+i.clientLeft,e.bottom=e.top+i.clientHeight,e.right=e.left+i.clientWidth,e.width=i.clientWidth,e.height=i.clientHeight,e.x=e.left,e.y=e.top,e}function Ke(i,t,e){return t===ve?pe(Pn(i,e)):mt(t)?Vn(t,e):pe(kn(ct(i)))}function Bn(i){var t=Dt(ae(i)),e=["absolute","fixed"].indexOf(at(i).position)>=0,n=e&&it(i)?kt(i):i;return mt(n)?t.filter(function(r){return mt(r)&&Ii(r,n)&&ot(r)!=="body"}):[]}function $n(i,t,e,n){var r=t==="clippingParents"?Bn(i):[].concat(t),s=[].concat(r,[e]),o=s[0],a=s.reduce(function(l,c){var u=Ke(i,c,n);return l.top=ft(u.top,l.top),l.right=ne(u.right,l.right),l.bottom=ne(u.bottom,l.bottom),l.left=ft(u.left,l.left),l},Ke(i,o,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Vi(i){var t=i.reference,e=i.element,n=i.placement,r=n?st(n):null,s=n?wt(n):null,o=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2,l;switch(r){case X:l={x:o,y:t.y-e.height};break;case Q:l={x:o,y:t.y+t.height};break;case J:l={x:t.x+t.width,y:a};break;case G:l={x:t.x-e.width,y:a};break;default:l={x:t.x,y:t.y}}var c=r?we(r):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case pt:l[c]=l[c]-(t[u]/2-e[u]/2);break;case Et:l[c]=l[c]+(t[u]/2-e[u]/2);break}}return l}function Tt(i,t){t===void 0&&(t={});var e=t,n=e.placement,r=n===void 0?i.placement:n,s=e.strategy,o=s===void 0?i.strategy:s,a=e.boundary,l=a===void 0?vi:a,c=e.rootBoundary,u=c===void 0?ve:c,m=e.elementContext,h=m===void 0?vt:m,f=e.altBoundary,T=f===void 0?!1:f,A=e.padding,b=A===void 0?0:A,w=Di(typeof b!="number"?b:Ri(b,Ot)),x=h===vt?bi:vt,L=i.rects.popper,g=i.elements[T?x:h],I=$n(mt(g)?g:g.contextElement||ct(i.elements.popper),l,u,o),_=At(i.elements.reference),v=Vi({reference:_,element:L,placement:r}),C=pe(Object.assign({},L,v)),M=h===vt?C:_,d={top:I.top-M.top+w.top,bottom:M.bottom-I.bottom+w.bottom,left:I.left-M.left+w.left,right:M.right-I.right+w.right},y=i.modifiersData.offset;if(h===vt&&y){var E=y[r];Object.keys(d).forEach(function(D){var P=[J,Q].indexOf(D)>=0?1:-1,V=[X,Q].indexOf(D)>=0?"y":"x";d[D]+=E[V]*P})}return d}function Fn(i,t){t===void 0&&(t={});var e=t,n=e.placement,r=e.boundary,s=e.rootBoundary,o=e.padding,a=e.flipVariations,l=e.allowedAutoPlacements,c=l===void 0?be:l,u=wt(n),m=u?a?he:he.filter(function(T){return wt(T)===u}):Ot,h=m.filter(function(T){return c.indexOf(T)>=0});h.length===0&&(h=m);var f=h.reduce(function(T,A){return T[A]=Tt(i,{placement:A,boundary:r,rootBoundary:s,padding:o})[st(A)],T},{});return Object.keys(f).sort(function(T,A){return f[T]-f[A]})}function Hn(i){if(st(i)===oe)return[];var t=Gt(i);return[ze(i),t,ze(t)]}function qn(i){var t=i.state,e=i.options,n=i.name;if(!t.modifiersData[n]._skip){for(var r=e.mainAxis,s=r===void 0?!0:r,o=e.altAxis,a=o===void 0?!0:o,l=e.fallbackPlacements,c=e.padding,u=e.boundary,m=e.rootBoundary,h=e.altBoundary,f=e.flipVariations,T=f===void 0?!0:f,A=e.allowedAutoPlacements,b=t.options.placement,w=st(b),x=w===b,L=l||(x||!T?[Gt(b)]:Hn(b)),g=[b].concat(L).reduce(function(R,H){return R.concat(st(H)===oe?Fn(t,{placement:H,boundary:u,rootBoundary:m,padding:c,flipVariations:T,allowedAutoPlacements:A}):H)},[]),I=t.rects.reference,_=t.rects.popper,v=new Map,C=!0,M=g[0],d=0;d<g.length;d++){var y=g[d],E=st(y),D=wt(y)===pt,P=[X,Q].indexOf(E)>=0,V=P?"width":"height",k=Tt(t,{placement:y,boundary:u,rootBoundary:m,altBoundary:h,padding:c}),F=P?D?J:G:D?Q:X;I[V]>_[V]&&(F=Gt(F));var W=Gt(F),q=[];if(s&&q.push(k[E]<=0),a&&q.push(k[F]<=0,k[W]<=0),q.every(function(R){return R})){M=y,C=!1;break}v.set(y,q)}if(C)for(var z=T?3:1,N=function(H){var j=g.find(function(K){var Y=v.get(K);if(Y)return Y.slice(0,H).every(function(dt){return dt})});if(j)return M=j,"break"},p=z;p>0;p--){var O=N(p);if(O==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}var Bi={name:"flip",enabled:!0,phase:"main",fn:qn,requiresIfExists:["offset"],data:{_skip:!1}};function Xe(i,t,e){return e===void 0&&(e={x:0,y:0}),{top:i.top-t.height-e.y,right:i.right-t.width+e.x,bottom:i.bottom-t.height+e.y,left:i.left-t.width-e.x}}function Ge(i){return[X,J,Q,G].some(function(t){return i[t]>=0})}function Wn(i){var t=i.state,e=i.name,n=t.rects.reference,r=t.rects.popper,s=t.modifiersData.preventOverflow,o=Tt(t,{elementContext:"reference"}),a=Tt(t,{altBoundary:!0}),l=Xe(o,n),c=Xe(a,r,s),u=Ge(l),m=Ge(c);t.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":m})}var $i={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Wn};function Un(i,t,e){var n=st(i),r=[G,X].indexOf(n)>=0?-1:1,s=typeof e=="function"?e(Object.assign({},t,{placement:i})):e,o=s[0],a=s[1];return o=o||0,a=(a||0)*r,[G,J].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}function jn(i){var t=i.state,e=i.options,n=i.name,r=e.offset,s=r===void 0?[0,0]:r,o=be.reduce(function(u,m){return u[m]=Un(m,t.rects,s),u},{}),a=o[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}var Fi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:jn};function Yn(i){var t=i.state,e=i.name;t.modifiersData[e]=Vi({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Se={name:"popperOffsets",enabled:!0,phase:"read",fn:Yn,data:{}};function zn(i){return i==="x"?"y":"x"}function Kn(i){var t=i.state,e=i.options,n=i.name,r=e.mainAxis,s=r===void 0?!0:r,o=e.altAxis,a=o===void 0?!1:o,l=e.boundary,c=e.rootBoundary,u=e.altBoundary,m=e.padding,h=e.tether,f=h===void 0?!0:h,T=e.tetherOffset,A=T===void 0?0:T,b=Tt(t,{boundary:l,rootBoundary:c,padding:m,altBoundary:u}),w=st(t.placement),x=wt(t.placement),L=!x,g=we(w),I=zn(g),_=t.modifiersData.popperOffsets,v=t.rects.reference,C=t.rects.popper,M=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,d=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,E={x:0,y:0};if(_){if(s){var D,P=g==="y"?X:G,V=g==="y"?Q:J,k=g==="y"?"height":"width",F=_[g],W=F+b[P],q=F-b[V],z=f?-C[k]/2:0,N=x===pt?v[k]:C[k],p=x===pt?-C[k]:-v[k],O=t.elements.arrow,R=f&&O?Ae(O):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ni(),j=H[P],K=H[V],Y=Nt(0,v[k],R[k]),dt=L?v[k]/2-z-Y-j-d.mainAxis:N-Y-j-d.mainAxis,S=L?-v[k]/2+z+Y+K+d.mainAxis:p+Y+K+d.mainAxis,B=t.elements.arrow&&kt(t.elements.arrow),U=B?g==="y"?B.clientTop||0:B.clientLeft||0:0,rt=(D=y==null?void 0:y[g])!=null?D:0,et=F+dt-rt-U,Vt=F+S-rt,xt=Nt(f?ne(W,et):W,F,f?ft(q,Vt):q);_[g]=xt,E[g]=xt-F}if(a){var ce,ue=g==="x"?X:G,_t=g==="x"?Q:J,nt=_[I],gt=I==="y"?"height":"width",Bt=nt+b[ue],Ie=nt-b[_t],de=[X,G].indexOf(w)!==-1,Ne=(ce=y==null?void 0:y[I])!=null?ce:0,De=de?Bt:nt-v[gt]-C[gt]-Ne+d.altAxis,Re=de?nt+v[gt]+C[gt]-Ne-d.altAxis:Ie,Pe=f&&de?Cn(De,nt,Re):Nt(f?De:Bt,nt,f?Re:Ie);_[I]=Pe,E[I]=Pe-nt}t.modifiersData[n]=E}}var Hi={name:"preventOverflow",enabled:!0,phase:"main",fn:Kn,requiresIfExists:["offset"]};function Xn(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}function Gn(i){return i===Z(i)||!it(i)?Oe(i):Xn(i)}function Qn(i){var t=i.getBoundingClientRect(),e=yt(t.width)/i.offsetWidth||1,n=yt(t.height)/i.offsetHeight||1;return e!==1||n!==1}function Jn(i,t,e){e===void 0&&(e=!1);var n=it(t),r=it(t)&&Qn(t),s=ct(t),o=At(i,r,e),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!e)&&((ot(t)!=="body"||xe(s))&&(a=Gn(t)),it(t)?(l=At(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=Me(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function Zn(i){var t=new Map,e=new Set,n=[];i.forEach(function(s){t.set(s.name,s)});function r(s){e.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!e.has(a)){var l=t.get(a);l&&r(l)}}),n.push(s)}return i.forEach(function(s){e.has(s.name)||r(s)}),n}function tr(i){var t=Zn(i);return Si.reduce(function(e,n){return e.concat(t.filter(function(r){return r.phase===n}))},[])}function er(i){var t;return function(){return t||(t=new Promise(function(e){Promise.resolve().then(function(){t=void 0,e(i())})})),t}}function ir(i){var t=i.reduce(function(e,n){var r=e[n.name];return e[n.name]=r?Object.assign({},r,n,{options:Object.assign({},r.options,n.options),data:Object.assign({},r.data,n.data)}):n,e},{});return Object.keys(t).map(function(e){return t[e]})}var Qe={placement:"bottom",modifiers:[],strategy:"absolute"};function Je(){for(var i=arguments.length,t=new Array(i),e=0;e<i;e++)t[e]=arguments[e];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function le(i){i===void 0&&(i={});var t=i,e=t.defaultModifiers,n=e===void 0?[]:e,r=t.defaultOptions,s=r===void 0?Qe:r;return function(a,l,c){c===void 0&&(c=s);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qe,s),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},m=[],h=!1,f={state:u,setOptions:function(w){var x=typeof w=="function"?w(u.options):w;A(),u.options=Object.assign({},s,u.options,x),u.scrollParents={reference:mt(a)?Dt(a):a.contextElement?Dt(a.contextElement):[],popper:Dt(l)};var L=tr(ir([].concat(n,u.options.modifiers)));return u.orderedModifiers=L.filter(function(g){return g.enabled}),T(),f.update()},forceUpdate:function(){if(!h){var w=u.elements,x=w.reference,L=w.popper;if(Je(x,L)){u.rects={reference:Jn(x,kt(L),u.options.strategy==="fixed"),popper:Ae(L)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(d){return u.modifiersData[d.name]=Object.assign({},d.data)});for(var g=0;g<u.orderedModifiers.length;g++){if(u.reset===!0){u.reset=!1,g=-1;continue}var I=u.orderedModifiers[g],_=I.fn,v=I.options,C=v===void 0?{}:v,M=I.name;typeof _=="function"&&(u=_({state:u,options:C,name:M,instance:f})||u)}}}},update:er(function(){return new Promise(function(b){f.forceUpdate(),b(u)})}),destroy:function(){A(),h=!0}};if(!Je(a,l))return f;f.setOptions(c).then(function(b){!h&&c.onFirstUpdate&&c.onFirstUpdate(b)});function T(){u.orderedModifiers.forEach(function(b){var w=b.name,x=b.options,L=x===void 0?{}:x,g=b.effect;if(typeof g=="function"){var I=g({state:u,name:w,instance:f,options:L}),_=function(){};m.push(I||_)}})}function A(){m.forEach(function(b){return b()}),m=[]}return f}}var nr=le(),rr=[Ce,Se,Te,ye],sr=le({defaultModifiers:rr}),or=[Ce,Se,Te,ye,Fi,Bi,Hi,Pi,$i],ar=le({defaultModifiers:or}),lr=Object.freeze({__proto__:null,afterMain:Ci,afterRead:Ai,afterWrite:xi,applyStyles:ye,arrow:Pi,auto:oe,basePlacements:Ot,beforeMain:wi,beforeRead:Ei,beforeWrite:Oi,bottom:Q,clippingParents:vi,computeStyles:Te,createPopper:ar,createPopperBase:nr,createPopperLite:sr,detectOverflow:Tt,end:Et,eventListeners:Ce,flip:Bi,hide:$i,left:G,main:Ti,modifierPhases:Si,offset:Fi,placements:be,popper:vt,popperGenerator:le,popperOffsets:Se,preventOverflow:Hi,read:yi,reference:bi,right:J,start:pt,top:X,variationPlacements:he,viewport:ve,write:Mi}),cr=En(lr),Lt={exports:{}};/*!
  * Bootstrap sanitizer.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var ur=Lt.exports,Ze;function qi(){return Ze||(Ze=1,function(i,t){(function(e,n){n(t)})(ur,function(e){const r={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},s=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),o=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,a=(c,u)=>{const m=c.nodeName.toLowerCase();return u.includes(m)?s.has(m)?!!o.test(c.nodeValue):!0:u.filter(h=>h instanceof RegExp).some(h=>h.test(m))};function l(c,u,m){if(!c.length)return c;if(m&&typeof m=="function")return m(c);const f=new window.DOMParser().parseFromString(c,"text/html"),T=[].concat(...f.body.querySelectorAll("*"));for(const A of T){const b=A.nodeName.toLowerCase();if(!Object.keys(u).includes(b)){A.remove();continue}const w=[].concat(...A.attributes),x=[].concat(u["*"]||[],u[b]||[]);for(const L of w)a(L,x)||A.removeAttribute(L.nodeName)}return f.body.innerHTML}e.DefaultAllowlist=r,e.sanitizeHtml=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})})}(Lt,Lt.exports)),Lt.exports}var Qt={exports:{}};/*!
  * Bootstrap template-factory.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var dr=Qt.exports,ti;function hr(){return ti||(ti=1,function(i,t){(function(e,n){i.exports=n(Ct(),Pt(),qi(),tt())})(dr,function(e,n,r,s){const o="TemplateFactory",a={allowList:r.DefaultAllowlist,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},l={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},c={entry:"(string|element|function|null)",selector:"(string|element)"};class u extends n{constructor(h){super(),this._config=this._getConfig(h)}static get Default(){return a}static get DefaultType(){return l}static get NAME(){return o}getContent(){return Object.values(this._config.content).map(h=>this._resolvePossibleFunction(h)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(h){return this._checkContent(h),this._config.content={...this._config.content,...h},this}toHtml(){const h=document.createElement("div");h.innerHTML=this._maybeSanitize(this._config.template);for(const[A,b]of Object.entries(this._config.content))this._setContent(h,b,A);const f=h.children[0],T=this._resolvePossibleFunction(this._config.extraClass);return T&&f.classList.add(...T.split(" ")),f}_typeCheckConfig(h){super._typeCheckConfig(h),this._checkContent(h.content)}_checkContent(h){for(const[f,T]of Object.entries(h))super._typeCheckConfig({selector:f,entry:T},c)}_setContent(h,f,T){const A=e.findOne(T,h);if(A){if(f=this._resolvePossibleFunction(f),!f){A.remove();return}if(s.isElement(f)){this._putElementInTemplate(s.getElement(f),A);return}if(this._config.html){A.innerHTML=this._maybeSanitize(f);return}A.textContent=f}}_maybeSanitize(h){return this._config.sanitize?r.sanitizeHtml(h,this._config.allowList,this._config.sanitizeFn):h}_resolvePossibleFunction(h){return s.execute(h,[void 0,this])}_putElementInTemplate(h,f){if(this._config.html){f.innerHTML="",f.append(h);return}f.textContent=h.textContent}}return u})}(Qt)),Qt.exports}/*!
  * Bootstrap tooltip.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var fr=Xt.exports,ei;function pr(){return ei||(ei=1,function(i,t){(function(e,n){i.exports=n(cr,_e(),lt(),se(),tt(),qi(),hr())})(fr,function(e,n,r,s,o,a,l){function c(N){const p=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(N){for(const O in N)if(O!=="default"){const R=Object.getOwnPropertyDescriptor(N,O);Object.defineProperty(p,O,R.get?R:{enumerable:!0,get:()=>N[O]})}}return p.default=N,Object.freeze(p)}const u=c(e),m="tooltip",h=new Set(["sanitize","allowList","sanitizeFn"]),f="fade",T="modal",A="show",b=".tooltip-inner",w=`.${T}`,x="hide.bs.modal",L="hover",g="focus",I="click",_="manual",v="hide",C="hidden",M="show",d="shown",y="inserted",E="click",D="focusin",P="focusout",V="mouseenter",k="mouseleave",F={AUTO:"auto",TOP:"top",RIGHT:o.isRTL()?"left":"right",BOTTOM:"bottom",LEFT:o.isRTL()?"right":"left"},W={allowList:a.DefaultAllowlist,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},q={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class z extends n{constructor(p,O){if(typeof u>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(p,O),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return W}static get DefaultType(){return q}static get NAME(){return m}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),r.off(this._element.closest(w),x,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const p=r.trigger(this._element,this.constructor.eventName(M)),R=(o.findShadowRoot(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(p.defaultPrevented||!R)return;this._disposePopper();const H=this._getTipElement();this._element.setAttribute("aria-describedby",H.getAttribute("id"));const{container:j}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(j.append(H),r.trigger(this._element,this.constructor.eventName(y))),this._popper=this._createPopper(H),H.classList.add(A),"ontouchstart"in document.documentElement)for(const Y of[].concat(...document.body.children))r.on(Y,"mouseover",o.noop);const K=()=>{r.trigger(this._element,this.constructor.eventName(d)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(K,this.tip,this._isAnimated())}hide(){if(!this._isShown()||r.trigger(this._element,this.constructor.eventName(v)).defaultPrevented)return;if(this._getTipElement().classList.remove(A),"ontouchstart"in document.documentElement)for(const H of[].concat(...document.body.children))r.off(H,"mouseover",o.noop);this._activeTrigger[I]=!1,this._activeTrigger[g]=!1,this._activeTrigger[L]=!1,this._isHovered=null;const R=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),r.trigger(this._element,this.constructor.eventName(C)))};this._queueCallback(R,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(p){const O=this._getTemplateFactory(p).toHtml();if(!O)return null;O.classList.remove(f,A),O.classList.add(`bs-${this.constructor.NAME}-auto`);const R=o.getUID(this.constructor.NAME).toString();return O.setAttribute("id",R),this._isAnimated()&&O.classList.add(f),O}setContent(p){this._newContent=p,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(p){return this._templateFactory?this._templateFactory.changeContent(p):this._templateFactory=new l({...this._config,content:p,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[b]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(p){return this.constructor.getOrCreateInstance(p.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(f)}_isShown(){return this.tip&&this.tip.classList.contains(A)}_createPopper(p){const O=o.execute(this._config.placement,[this,p,this._element]),R=F[O.toUpperCase()];return u.createPopper(this._element,p,this._getPopperConfig(R))}_getOffset(){const{offset:p}=this._config;return typeof p=="string"?p.split(",").map(O=>Number.parseInt(O,10)):typeof p=="function"?O=>p(O,this._element):p}_resolvePossibleFunction(p){return o.execute(p,[this._element,this._element])}_getPopperConfig(p){const O={placement:p,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:R=>{this._getTipElement().setAttribute("data-popper-placement",R.state.placement)}}]};return{...O,...o.execute(this._config.popperConfig,[void 0,O])}}_setListeners(){const p=this._config.trigger.split(" ");for(const O of p)if(O==="click")r.on(this._element,this.constructor.eventName(E),this._config.selector,R=>{const H=this._initializeOnDelegatedTarget(R);H._activeTrigger[I]=!(H._isShown()&&H._activeTrigger[I]),H.toggle()});else if(O!==_){const R=O===L?this.constructor.eventName(V):this.constructor.eventName(D),H=O===L?this.constructor.eventName(k):this.constructor.eventName(P);r.on(this._element,R,this._config.selector,j=>{const K=this._initializeOnDelegatedTarget(j);K._activeTrigger[j.type==="focusin"?g:L]=!0,K._enter()}),r.on(this._element,H,this._config.selector,j=>{const K=this._initializeOnDelegatedTarget(j);K._activeTrigger[j.type==="focusout"?g:L]=K._element.contains(j.relatedTarget),K._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},r.on(this._element.closest(w),x,this._hideModalHandler)}_fixTitle(){const p=this._element.getAttribute("title");p&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",p),this._element.setAttribute("data-bs-original-title",p),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(p,O){clearTimeout(this._timeout),this._timeout=setTimeout(p,O)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(p){const O=s.getDataAttributes(this._element);for(const R of Object.keys(O))h.has(R)&&delete O[R];return p={...O,...typeof p=="object"&&p?p:{}},p=this._mergeConfigObj(p),p=this._configAfterMerge(p),this._typeCheckConfig(p),p}_configAfterMerge(p){return p.container=p.container===!1?document.body:o.getElement(p.container),typeof p.delay=="number"&&(p.delay={show:p.delay,hide:p.delay}),typeof p.title=="number"&&(p.title=p.title.toString()),typeof p.content=="number"&&(p.content=p.content.toString()),p}_getDelegateConfig(){const p={};for(const[O,R]of Object.entries(this._config))this.constructor.Default[O]!==R&&(p[O]=R);return p.selector=!1,p.trigger="manual",p}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(p){return this.each(function(){const O=z.getOrCreateInstance(this,p);if(typeof p=="string"){if(typeof O[p]>"u")throw new TypeError(`No method named "${p}"`);O[p]()}})}}return o.defineJQueryPlugin(z),z})}(Xt)),Xt.exports}/*!
  * Bootstrap popover.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var mr=Kt.exports,ii;function _r(){return ii||(ii=1,function(i,t){(function(e,n){i.exports=n(pr(),tt())})(mr,function(e,n){const r="popover",s=".popover-header",o=".popover-body",a={...e.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},l={...e.DefaultType,content:"(null|string|element|function)"};class c extends e{static get Default(){return a}static get DefaultType(){return l}static get NAME(){return r}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[s]:this._getTitle(),[o]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(m){return this.each(function(){const h=c.getOrCreateInstance(this,m);if(typeof m=="string"){if(typeof h[m]>"u")throw new TypeError(`No method named "${m}"`);h[m]()}})}}return n.defineJQueryPlugin(c),c})}(Kt)),Kt.exports}_r();const ni=document.querySelector(".hotel-reservation-button-with-price");ni&&ni.querySelector(".icon-price-info");class gr{constructor(){this._collection=[]}toArray(){return this._collection}sort(t){this._collection.sort(t)}append(t){this._collection.push(t)}appendUniqueById(t){let e=this.findIndexById(t);e===-1?this.append(t):this.set(e,t)}count(){return this._collection.length}length(){return this.count()}get(t){return this._collection.length>t?this._collection[t]:null}set(t,e){return t>=0&&t<this._collection.length?(this._collection[t]=e,!0):!1}delete(t,e=!1){return t>=0&&t<this._collection.length?(e?this._collection[t]=void 0:this._collection.splice(t,1),!0):!1}insert(t,e){this._collection.splice(t,0,e)}remove(t,e=!1){let n=this._collection.indexOf(t,this._collection);if(n>=0)return this.delete(n,e)}findIndexById(t){return this.toArray().findIndex(e=>e.getId()==t.getId())}getById(t){const e=this.toArray().findIndex(n=>n.getId()==t);return e>=0?this.get(e):null}[Symbol.iterator](){let t=0;return{next:()=>t<this._collection.length?{value:this._collection[t++],done:!1}:{value:void 0,done:!0}}}}const bt={deg2rad:function(i){return i*(Math.PI/180)},distance:function(i,t,e,n){var r=6371,s=bt.deg2rad(e-i),o=bt.deg2rad(n-t),a=Math.sin(s/2)*Math.sin(s/2)+Math.cos(bt.deg2rad(i))*Math.cos(bt.deg2rad(e))*Math.sin(o/2)*Math.sin(o/2),l=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return r*l},distanceFormatted:function(i){return window.I18nService.convertAndFormatLength(i,window.market_id??1)},calculateAndGetDistanceFormatted:function(i,t,e,n){const r=bt.distance(i,t,e,n);return this.distanceFormatted(r)},fixDecimal:function(i,t){return t=Math.pow(10,t),Math.floor(i*t)/t}},Wi={Collection:gr,Utils:bt};var Jt={exports:{}},Zt={exports:{}};/*!
  * Bootstrap backdrop.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var vr=Zt.exports,ri;function br(){return ri||(ri=1,function(i,t){(function(e,n){i.exports=n(lt(),Pt(),tt())})(vr,function(e,n,r){const s="backdrop",o="fade",a="show",l=`mousedown.bs.${s}`,c={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},u={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class m extends n{constructor(f){super(),this._config=this._getConfig(f),this._isAppended=!1,this._element=null}static get Default(){return c}static get DefaultType(){return u}static get NAME(){return s}show(f){if(!this._config.isVisible){r.execute(f);return}this._append();const T=this._getElement();this._config.isAnimated&&r.reflow(T),T.classList.add(a),this._emulateAnimation(()=>{r.execute(f)})}hide(f){if(!this._config.isVisible){r.execute(f);return}this._getElement().classList.remove(a),this._emulateAnimation(()=>{this.dispose(),r.execute(f)})}dispose(){this._isAppended&&(e.off(this._element,l),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const f=document.createElement("div");f.className=this._config.className,this._config.isAnimated&&f.classList.add(o),this._element=f}return this._element}_configAfterMerge(f){return f.rootElement=r.getElement(f.rootElement),f}_append(){if(this._isAppended)return;const f=this._getElement();this._config.rootElement.append(f),e.on(f,l,()=>{r.execute(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(f){r.executeAfterTransition(f,this._getElement(),this._config.isAnimated)}}return m})}(Zt)),Zt.exports}var It={exports:{}};/*!
  * Bootstrap component-functions.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var Er=It.exports,si;function yr(){return si||(si=1,function(i,t){(function(e,n){n(t,lt(),Ct(),tt())})(Er,function(e,n,r,s){const o=(a,l="hide")=>{const c=`click.dismiss${a.EVENT_KEY}`,u=a.NAME;n.on(document,c,`[data-bs-dismiss="${u}"]`,function(m){if(["A","AREA"].includes(this.tagName)&&m.preventDefault(),s.isDisabled(this))return;const h=r.getElementFromSelector(this)||this.closest(`.${u}`);a.getOrCreateInstance(h)[l]()})};e.enableDismissTrigger=o,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})})}(It,It.exports)),It.exports}var te={exports:{}};/*!
  * Bootstrap focustrap.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var Ar=te.exports,oi;function wr(){return oi||(oi=1,function(i,t){(function(e,n){i.exports=n(lt(),Ct(),Pt())})(Ar,function(e,n,r){const s="focustrap",a=".bs.focustrap",l=`focusin${a}`,c=`keydown.tab${a}`,u="Tab",m="forward",h="backward",f={autofocus:!0,trapElement:null},T={autofocus:"boolean",trapElement:"element"};class A extends r{constructor(w){super(),this._config=this._getConfig(w),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return f}static get DefaultType(){return T}static get NAME(){return s}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),e.off(document,a),e.on(document,l,w=>this._handleFocusin(w)),e.on(document,c,w=>this._handleKeydown(w)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,e.off(document,a))}_handleFocusin(w){const{trapElement:x}=this._config;if(w.target===document||w.target===x||x.contains(w.target))return;const L=n.focusableChildren(x);L.length===0?x.focus():this._lastTabNavDirection===h?L[L.length-1].focus():L[0].focus()}_handleKeydown(w){w.key===u&&(this._lastTabNavDirection=w.shiftKey?h:m)}}return A})}(te)),te.exports}var ee={exports:{}};/*!
  * Bootstrap scrollbar.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var Tr=ee.exports,ai;function Cr(){return ai||(ai=1,function(i,t){(function(e,n){i.exports=n(se(),Ct(),tt())})(Tr,function(e,n,r){const s=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",o=".sticky-top",a="padding-right",l="margin-right";class c{constructor(){this._element=document.body}getWidth(){const m=document.documentElement.clientWidth;return Math.abs(window.innerWidth-m)}hide(){const m=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,a,h=>h+m),this._setElementAttributes(s,a,h=>h+m),this._setElementAttributes(o,l,h=>h-m)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,a),this._resetElementAttributes(s,a),this._resetElementAttributes(o,l)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(m,h,f){const T=this.getWidth(),A=b=>{if(b!==this._element&&window.innerWidth>b.clientWidth+T)return;this._saveInitialAttribute(b,h);const w=window.getComputedStyle(b).getPropertyValue(h);b.style.setProperty(h,`${f(Number.parseFloat(w))}px`)};this._applyManipulationCallback(m,A)}_saveInitialAttribute(m,h){const f=m.style.getPropertyValue(h);f&&e.setDataAttribute(m,h,f)}_resetElementAttributes(m,h){const f=T=>{const A=e.getDataAttribute(T,h);if(A===null){T.style.removeProperty(h);return}e.removeDataAttribute(T,h),T.style.setProperty(h,A)};this._applyManipulationCallback(m,f)}_applyManipulationCallback(m,h){if(r.isElement(m)){h(m);return}for(const f of n.find(m,this._element))h(f)}}return c})}(ee)),ee.exports}/*!
  * Bootstrap modal.js v5.3.8 (https://getbootstrap.com/)
  * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */var Or=Jt.exports,li;function Mr(){return li||(li=1,function(i,t){(function(e,n){i.exports=n(_e(),lt(),Ct(),br(),yr(),wr(),tt(),Cr())})(Or,function(e,n,r,s,o,a,l,c){const u="modal",h=".bs.modal",f=".data-api",T="Escape",A=`hide${h}`,b=`hidePrevented${h}`,w=`hidden${h}`,x=`show${h}`,L=`shown${h}`,g=`resize${h}`,I=`click.dismiss${h}`,_=`mousedown.dismiss${h}`,v=`keydown.dismiss${h}`,C=`click${h}${f}`,M="modal-open",d="fade",y="show",E="modal-static",D=".modal.show",P=".modal-dialog",V=".modal-body",k='[data-bs-toggle="modal"]',F={backdrop:!0,focus:!0,keyboard:!0},W={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class q extends e{constructor(N,p){super(N,p),this._dialog=r.findOne(P,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new c,this._addEventListeners()}static get Default(){return F}static get DefaultType(){return W}static get NAME(){return u}toggle(N){return this._isShown?this.hide():this.show(N)}show(N){this._isShown||this._isTransitioning||n.trigger(this._element,x,{relatedTarget:N}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(M),this._adjustDialog(),this._backdrop.show(()=>this._showElement(N)))}hide(){!this._isShown||this._isTransitioning||n.trigger(this._element,A).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(y),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){n.off(window,h),n.off(this._dialog,h),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new s({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new a({trapElement:this._element})}_showElement(N){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const p=r.findOne(V,this._dialog);p&&(p.scrollTop=0),l.reflow(this._element),this._element.classList.add(y);const O=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,n.trigger(this._element,L,{relatedTarget:N})};this._queueCallback(O,this._dialog,this._isAnimated())}_addEventListeners(){n.on(this._element,v,N=>{if(N.key===T){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),n.on(window,g,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),n.on(this._element,_,N=>{n.one(this._element,I,p=>{if(!(this._element!==N.target||this._element!==p.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(M),this._resetAdjustments(),this._scrollBar.reset(),n.trigger(this._element,w)})}_isAnimated(){return this._element.classList.contains(d)}_triggerBackdropTransition(){if(n.trigger(this._element,b).defaultPrevented)return;const p=this._element.scrollHeight>document.documentElement.clientHeight,O=this._element.style.overflowY;O==="hidden"||this._element.classList.contains(E)||(p||(this._element.style.overflowY="hidden"),this._element.classList.add(E),this._queueCallback(()=>{this._element.classList.remove(E),this._queueCallback(()=>{this._element.style.overflowY=O},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const N=this._element.scrollHeight>document.documentElement.clientHeight,p=this._scrollBar.getWidth(),O=p>0;if(O&&!N){const R=l.isRTL()?"paddingLeft":"paddingRight";this._element.style[R]=`${p}px`}if(!O&&N){const R=l.isRTL()?"paddingRight":"paddingLeft";this._element.style[R]=`${p}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(N,p){return this.each(function(){const O=q.getOrCreateInstance(this,N);if(typeof N=="string"){if(typeof O[N]>"u")throw new TypeError(`No method named "${N}"`);O[N](p)}})}}return n.on(document,C,k,function(z){const N=r.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&z.preventDefault(),n.one(N,x,R=>{R.defaultPrevented||n.one(N,w,()=>{l.isVisible(this)&&this.focus()})});const p=r.findOne(D);p&&q.getInstance(p).hide(),q.getOrCreateInstance(N).toggle(this)}),o.enableDismissTrigger(q),l.defineJQueryPlugin(q),q})}(Jt)),Jt.exports}var xr=Mr(),Sr=bn(xr);const Lr=3e3,Ui="destinia_rewards_modal",Ir=60*60*24*365,Nr=function(){return document.cookie.indexOf(Ui+"=")>=0};function Dr(){const i=document.getElementById("destinia-rewards-modal");if(i&&!Nr()){let t=i.dataset.displayModalDelay;isNaN(t)&&(t=Lr);const e=Sr.getOrCreateInstance(i,{});i.addEventListener("hidden.bs.modal",function(n){document.cookie=Ui+"=true; max-age="+Ir+"; path=/"}),setTimeout(function(){e.show();const n=document.querySelector("body.modal-open");n&&(n.style.overflowY="initial")},t)}}const Rr=function(i){var t=$("ul.simple-tabs li",".seo-links").find("a[data-tab="+i+"]");t.closest("li").siblings().removeClass("active"),t.closest("li").addClass("active"),$("ul.tab-content li",".seo-links").each(function(e){$(this).data("tab")==i&&$(this).addClass("active")})},Pr=function(i){$("ul.tab-content li.active",".seo-links").each(function(t){$(this).removeClass("active")}),Rr(i)};function kr(){$("ul.simple-tabs li.simple-tab a",".seo-links").click(function(t){if(t.preventDefault(t),!$(this).closest("li").hasClass("active")){var e=$(this).data("tab");Pr(e)}});var i=$('.seo-links[data-collapsible-enabled="1"]');i.length==1&&i.data("collapsibleBlockId")&&i.data("collapsibleHeightPx")&&gi(i.data("collapsibleBlockId"),i.data("collapsibleHeightPx"))}$(".categories_container");const ji=i=>typeof i=="string"?document.querySelector(i):i(),Rt=(i,t)=>{const e=typeof i=="string"?document.createElement(i):i;for(const n in t){const r=t[n];if(n==="inside")r.append(e);else if(n==="dest")ji(r[0]).insertAdjacentElement(r[1],e);else if(n==="around"){const s=r;s.parentNode.insertBefore(e,s),e.append(s),s.getAttribute("autofocus")!=null&&s.focus()}else n in e?e[n]=r:e.setAttribute(n,r)}return e},Vr=i=>i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement?i.value:i.innerHTML,ci=(i,t)=>(i=String(i).toLowerCase(),t?i.normalize("NFD").replace(/[\u0300-\u036f]/g,"").normalize("NFC"):i),Br=(i,t)=>{let e;return()=>{clearTimeout(e),e=setTimeout(()=>i(),t)}},$r=(i,t,e)=>t?t(i):i.length>=e,ui=(i,t)=>Rt("mark",{innerHTML:i,...typeof t=="string"&&{class:t}}).outerHTML;var Fr=i=>{const{name:t,options:e,resultsList:n,resultItem:r}=i;for(const s in e)if(typeof e[s]=="object"){i[s]||(i[s]={});for(const o in e[s])i[s][o]=e[s][o]}else i[s]=e[s];i.selector=i.selector||"#"+t,n.destination=n.destination||i.selector,n.id=n.id||t+"_list_"+i.id,r.id=r.id||t+"_result",i.input=ji(i.selector)},ut=(i,t)=>{t.input.dispatchEvent(new CustomEvent(i,{bubbles:!0,detail:t.feedback,cancelable:!0}))},Yi=(i,t,e)=>{const{mode:n,diacritics:r,highlight:s}=e||{},o=ci(t,r);if(t=String(t),i=ci(i,r),n==="loose"){i=i.replace(/ /g,"");const a=i.length;let l=0;const c=Array.from(t).map((u,m)=>(l<a&&o[m]===i[l]&&(u=s?ui(u,s):u,l++),u)).join("");if(l===a)return c}else{let a=o.indexOf(i);if(~a)return i=t.substring(a,a+i.length),a=s?t.replace(i,ui(i,s)):t,a}};const zi=async(i,t)=>{const{data:e}=i;e.cache&&e.store||(i.feedback=e.store=typeof e.src=="function"?e.src.constructor.name==="AsyncFunction"?await e.src(t):e.src(t):e.src,ut("response",i))},Hr=(i,t)=>{const{data:e,searchEngine:n}=t;let r=[];e.store.forEach((o,a)=>{const l=c=>{const u=c?o[c]:o,m=typeof n=="function"?n(i,u):Yi(i,u,{mode:n,diacritics:t.diacritics,highlight:t.resultItem.highlight});if(!m)return;let h={match:m,value:o};c&&(h.key=c),r.push(h)};if(e.keys)for(const c of e.keys)l(c);else l()}),e.filter&&(r=e.filter(r));const s=r.slice(0,t.resultsList.maxResults);t.feedback={query:i,matches:r,results:s},ut("results",t)},Ki="aria-expanded",Xi="aria-activedescendant",di="aria-selected",Gi=(i,t)=>{i.feedback.selection={index:t,...i.feedback.results[t]}},qr=i=>{const{resultsList:t,list:e,resultItem:n,feedback:r}=i,{matches:s,results:o}=r;if(i.cursor=-1,e.innerHTML="",s.length||t.noResults){const a=new DocumentFragment;o.forEach((l,c)=>{const u=Rt(n.tag,{id:`${n.id}_${c}`,role:"option",innerHTML:l.match,inside:a,...n.class&&{class:n.class}});n.element&&n.element(u,l)}),e.append(a),t.element&&t.element(e,r),Qi(i)}else Mt(i)},Qi=i=>{i.isOpen||((i.wrapper||i.input).setAttribute(Ki,!0),i.list.removeAttribute("hidden"),i.isOpen=!0,ut("open",i))},Mt=i=>{i.isOpen&&((i.wrapper||i.input).setAttribute(Ki,!1),i.input.setAttribute(Xi,""),i.list.setAttribute("hidden",""),i.isOpen=!1,ut("close",i))},Le=(i,t)=>{const{resultItem:e}=t,n=t.list.getElementsByTagName(e.tag),r=e.selected?e.selected.split(" "):!1;if(t.isOpen&&n.length){const s=t.cursor;i>=n.length&&(i=0),i<0&&(i=n.length-1),t.cursor=i,s>-1&&(n[s].removeAttribute(di),r&&n[s].classList.remove(...r)),n[i].setAttribute(di,!0),r&&n[i].classList.add(...r),t.input.setAttribute(Xi,n[t.cursor].id),t.list.scrollTop=n[i].offsetTop-t.list.clientHeight+n[i].clientHeight+5,t.feedback.cursor=t.cursor,Gi(t,i),ut("navigate",t)}},Ji=i=>{Le(i.cursor+1,i)},Zi=i=>{Le(i.cursor-1,i)},re=(i,t,e)=>{e=e>=0?e:i.cursor,!(e<0)&&(i.feedback.event=t,Gi(i,e),ut("selection",i),Mt(i))},Wr=(i,t)=>{const e=t.resultItem.tag.toUpperCase(),n=Array.from(t.list.querySelectorAll(e)),r=i.target.closest(e);r&&r.nodeName===e&&re(t,i,n.indexOf(r))},Ur=(i,t)=>{switch(i.keyCode){case 40:case 38:i.preventDefault(),i.keyCode===40?Ji(t):Zi(t);break;case 13:t.submit||i.preventDefault(),t.cursor>=0&&re(t,i);break;case 9:t.resultsList.tabSelect&&t.cursor>=0&&re(t,i);break;case 27:t.input.value="",ut("clear",t),Mt(t);break}};async function tn(i,t){let e=t||Vr(i.input);if(e=i.query?i.query(e):e,$r(e,i.trigger,i.threshold)){if(await zi(i,e),i.feedback instanceof Error)return;Hr(e,i),i.resultsList&&qr(i)}else Mt(i)}const me=(i,t)=>{for(const e in i)for(const n in i[e])t(e,n)},jr=i=>{const{events:t}=i,e=Br(()=>tn(i),i.debounce),n=i.events={input:{...t&&t.input},...i.resultsList&&{list:t?{...t.list}:{}}},r={input:{input(){e()},keydown(s){Ur(s,i)},blur(){Mt(i)}},list:{mousedown(s){s.preventDefault()},click(s){Wr(s,i)}}};me(r,(s,o)=>{!i.resultsList&&o!=="input"||n[s][o]||(n[s][o]=r[s][o])}),me(n,(s,o)=>{i[s].addEventListener(o,n[s][o])})},Yr=i=>{me(i.events,(t,e)=>{i[t].removeEventListener(e,i.events[t][e])})};async function en(i){const{placeHolder:t,resultsList:e}=i,n={role:"combobox","aria-owns":e.id,"aria-haspopup":!0,"aria-expanded":!1};Rt(i.input,{"aria-controls":e.id,"aria-autocomplete":"both",...t&&{placeholder:t},...!i.wrapper&&{...n}}),i.wrapper&&(i.wrapper=Rt("div",{around:i.input,class:i.name+"_wrapper",...n})),e&&(i.list=Rt(e.tag,{dest:[e.destination,e.position],id:e.id,role:"listbox",hidden:"hidden",...e.class&&{class:e.class}})),jr(i),i.data.cache&&await zi(i),ut("init",i)}function zr(i){const{prototype:t}=i;t.init=function(){en(this)},t.start=function(e){tn(this,e)},t.unInit=function(){if(this.wrapper){const e=this.wrapper.parentNode;e.insertBefore(this.input,this.wrapper),e.removeChild(this.wrapper)}Yr(this)},t.open=function(){Qi(this)},t.close=function(){Mt(this)},t.goTo=function(e){Le(e,this)},t.next=function(){Ji(this)},t.previous=function(){Zi(this)},t.select=function(e){re(this,null,e)},t.search=function(e,n,r){return Yi(e,n,r)}}function ie(i){this.options=i,this.id=ie.instances=(ie.instances||0)+1,this.name="autoComplete",this.wrapper=1,this.threshold=1,this.debounce=0,this.resultsList={position:"afterend",tag:"ul",maxResults:5},this.resultItem={tag:"li"},Fr(this),zr.call(this,ie),en(this)}function Kr({selectorId:i="#activities-search-location",fetchUrl:t='//destinia.com/web/ajax/ac?t=["CONTINENT","COUNTRY","PROVINCE","CITY","COAST","SKI","OCEAN","ARCHIPELAGO","ISLAND","NATURE","RIO_MARISMA","MONTANA_COLINA","ESTRECHO_FORMACION_MARINA","MONUMENTAL_HISTORICO","BOSQUE_SELVA_PARQUE","OTROS","AIRPORT","SKI_RESORT","PORT","POI","SKI_ZONES","DISTRICT","TRAIN_STATION","BUS_STATION","REGION","MARKET","NEIGHBOUR"]&searcher=9&language_code=es&market=1&q=',resultsListId:e="activities-autoComplete-list"}={}){const n=new ie({selector:i,wrapper:!1,diacritics:!0,data:{cache:!1,src:async r=>{try{return(await(await fetch(`${t}${r}`)).json()).items}catch(s){return console.error("Error fetching data:",s),[]}},keys:["0"]},threshold:3,resultsList:{tag:"ul",id:e,class:"acResultsList",destination:i,position:"afterend",maxResults:5,noResults:!0,element:(r,s)=>{if(!s.results.length){const o=document.createElement("li");o.setAttribute("class","no_result"),o.innerHTML=`<span>No se encuentran resultados para "${s.query}"</span>`,r.prepend(o)}}},resultItem:{tag:"li",class:"autocomplete_item",element:(r,s)=>{r.setAttribute("data-parent","food-item")},highlight:"acHighlight",selected:"acSelect"},events:{input:{selection:r=>{const s=r.detail.selection.value[0];n.input.value=s,n.input.setAttribute("data-geounit-id",r.detail.selection.value[1])}}}})}function Xr(i,t,e){document.addEventListener("DOMContentLoaded",function(){Kr({selectorId:"#"+i,resultsListId:e});const n=document.getElementById(t);n&&n.addEventListener("click",r=>{r.preventDefault();const s=document.getElementById(i);if(s){const o=s.getAttribute("data-geounit-id");o&&window.open("/es/actividades/xxx/xxx/xxx/acti-"+o,"_self")}})})}var Gr=`<div>
        <aura-slider id="distance-slider-<%=filterId%>" data-name="distance-slider-<%=filterId%>" multiple="false" linear="false" round="false" type="distance" fixdecimal="1" max="<%=maxDistance%>" min="0" value="<%=maxDistance%>"></aura-slider>


    <ul class="checkboxgroup_content">
        <%
        for (value of pois) {
            if(!value.label){
                continue;
            }
        %>
        <li id="filter-<%=filterId%>-item-<%=value.id%>" class="checkbox hidden">
            <input type="radio" id="accommodation-filters-container-<%=filterId%>_<%=value.id%>" name="accommodation-filters-container-<%=filterId%>" class="checkboxgroup_item" data-defaultdistance="<%=value.defaultDistance || ''%>" value="<%=value.id%>" <%=(value.checked ? 'checked' : '')%>
            >
            <label for="accommodation-filters-container-<%=filterId%>_<%=value.id%>">
                <%-value.label%>
            </label>
        </li>
        <% } %>
    </ul>
</div>`;let Qr=class{constructor(t){this._selectorAuraSliderTagName="aura-slider",this._sliderChanged=!1,this._distancePoisElement=t,this._template=Ilusion.Template.template(Gr),this._expandedClass="expanded",this._expanded=this._isExpanded(),this._distancePoisElement.innerHTML=this.render({maxDistance:this._distancePoisElement.maxDistance,pois:this._distancePoisElement.pois,filterId:this._distancePoisElement.filterId}),this._configSlider(),this._configInputRadio()}_configSlider(){this._slider=this._distancePoisElement.getElementsByTagName(this._selectorAuraSliderTagName)[0],this._slider.addEventListener("input",t=>{t.stopPropagation(),this._sliderChanged=!0,this._distancePoisElement.triggerChangeEvent()})}_configInputRadio(){const t=this.getRadios();if(t)for(const e of t)e.addEventListener("input",n=>{var r;n.stopPropagation(),this._setDefaultDistance((r=e.dataset)==null?void 0:r.defaultdistance),this._distancePoisElement.triggerChangeEvent()})}_isExpanded(){const t=document.getElementById(this._distancePoisElement._id);if(!t)return!1;const e=t.querySelector("ul");return e?e.classList.contains(this._expandedClass):!1}_setDefaultDistance(t){!this._sliderChanged&&t&&(this.distance=t)}get distance(){return this._slider.value}set distance(t){if(t=parseFloat(t),!Number.isNaN(t))return this._slider.value=parseFloat(t)}getRadios(){return this._distancePoisElement.querySelectorAll("input[type=radio]")}get geounit(){const t=this.getRadios();if(t){for(const e of t)if(e.checked)return parseInt(e.value)}return null}set geounit(t){const e=this.getRadios();if(e)for(const n of e)n.checked=n.value==t}render(t){try{return this._template(t)}catch(e){throw e}}};class Jr{constructor(t,e){this._distance=this.cleanDistance(t),this._geounit=this.cleanGeounit(e)}cleanDistance(t){const e=parseFloat(t);return Number.isNaN(e)?0:e}cleanGeounit(t){return Number.isNaN(t)?0:t}get distance(){return this._distance}set distance(t){this._distance=this.cleanDistance(t)}get geounit(){return this._geounit}set geounit(t){this._geounit=this.cleanGeounit(t)}get(){return{distance:this.distance,geounit:this.geounit}}}class Zr extends HTMLElement{constructor(){super(),this._attr={id:"id",filterId:"filter-id",maxDistance:"max-distance",pois:"pois"},this._maxDistance=0,this._pois=[],this._defaultPoi=null,this._value=new Jr(0,[]),this.setAttributes(),this.setRender()}setAttributes(){let t=this.getAttribute(this._attr.maxDistance);Number.isNaN(t)||(this._maxDistance=t);try{const r=JSON.parse(this.getAttribute(this._attr.pois));Array.isArray(r)&&(this._pois=r)}catch{}let e=this.getAttribute(this._attr.id);if(!e)throw new Error(`required id for aura ${this.type}. id Not defined`);this._id=e;let n=this.getAttribute(this._attr.filterId);if(!n)throw new Error(`required filterId for aura ${this.type}. filterId Not defined`);this._filterId=n}setRender(){this._renderer=new Qr(this)}get type(){return"aura-filter-distance-pois"}get pois(){return this._pois}get maxDistance(){return this._maxDistance}get filterId(){return this._filterId}get defaultPoi(){if(!this._defaultPoi)try{const t=this._pois.filter(e=>e.isDefault);t&&(this._defaultPoi=t[0].id)}catch{}return this._defaultPoi}get distance(){return this._renderer.distance}get geounit(){return this._renderer.geounit}get expanded(){return this._renderer._expanded}get value(){return this._value.distance=this.distance,this._value.geounit=this.geounit,this._value.get()}set value(t){this._value.distance=(t==null?void 0:t.distance)||0,this._value.geounit=(t==null?void 0:t.geounit)||0,this._renderer.distance=this._value.distance,this._renderer.geounit=this._value.geounit}updatePois(){try{const t=JSON.parse(this.getAttribute(this._attr.pois));Array.isArray(t)&&(this._pois=t),this.setRender()}catch{}}triggerChangeEvent(){this.dispatchEvent(new Event("input",{bubbles:!0}))}}window.customElements.get("aura-filtersdistancepois")===void 0&&window.customElements.define("aura-filtersdistancepois",Zr);var ts=`<span class="slider-label slider-value <%= showMinMaxInputs ? 'hidden' : '' %>"></span>

<div class="slider">
    <div class="track">
        <div class="position"></div>
    </div>

    <% if (isMultiple){
        // if slider is multiplerange
    %>

        <div class="handle low"></div>
        <div class="handle high"></div>
        <input type="hidden">
    <% } else {
        // if single range
    %>

        <div class="handle"></div>
    <% } %>
    <input type="hidden">
</div>

<% if (showMinMaxInputs) { %>
<div class="price-filter">
  <div class="price-filter__group price-filter__group--min">
    <label for="price-filter__min" class="price-filter__label"><%=minLabel%></label>
    <div class="price-filter__input-wrapper">
      <span class="currency-symbol"></span>
      <input type="number" id="price-filter__min" name="price_min" class="price-filter__input" data-amount="<%= minValue %>" value="<%= minValue %>">
    </div>
  </div>

  <div class="price-filter__group price-filter__group--max">
    <label for="price-filter__max" class="price-filter__label"><%=maxLabel%></label>
    <div class="price-filter__input-wrapper">
      <span class="currency-symbol"></span>
      <input type="number" id="price-filter__max" name="price_max" class="price-filter__input" data-amount="<%= maxValue %>" value="<%= maxValue %>">
    </div>
  </div>
</div>
<% } %>`;const ht={isRTL:window.isRTL===!0,getLowestPositionByDir:()=>window.isRTL===!0?"right":"left",getHighestPositionByDir:()=>window.isRTL===!0?"left":"right"};class es{init(t){this._track=t.querySelector("div.track "),this._track_position=this._track.getElementsByClassName("position")[0]}getClickPosition(t){const n=100*this._getRelativePositionByReadingDirection(t)/this._getWidth();return this._correctPercent(n)}_getMargin(){return this._track.getBoundingClientRect()[ht.getLowestPositionByDir()]}_getWidth(){return this._track.offsetWidth}_correctPercent(t){return t=Math.max(t,0),t=Math.min(t,100),t}updatePosition(t,e){this._track_position.style[ht.getLowestPositionByDir()]=`${t}%`,this._track_position.style[ht.getHighestPositionByDir()]=`${100-e}%`}_getRelativePositionByReadingDirection(t){let e=this._getMargin();return ht.isRTL?(t>e&&(t=e),Math.abs(t-e)):t-e}}class is{init(t){t.multiple?(this._handleBarLow=t.querySelector("div.handle.low"),this._handleBarHigh=t.querySelector("div.handle.high")):this._theOneHandleBar=t.querySelector("div.handle"),this._selectedHandleBar=null,this._minPosition=t.sliderCurrentPercentValueMin,this._maxPosition=t.sliderCurrentPercentValueMax,this.updatePosition(t.minValue,t.maxValue)}elementIsLowest(t){return t==this._handleBarLow}elementIsHighest(t){return t&&(t==this._handleBarHigh||t==this._theOneHandleBar)}isLowestSelected(){return this.elementIsLowest(this._selectedHandleBar)}isHighestSelected(){return this.elementIsHighest(this._selectedHandleBar)}updatePosition(t,e){this._theOneHandleBar||(this._handleBarLow.style.zIndex=1,this._handleBarHigh.style.zIndex=1,t>=95?this._handleBarLow.style.zIndex=2:e<5&&(this._handleBarHigh.style.zIndex=2)),this._selectedHandleBar&&(this._theOneHandleBar&&(this._theOneHandleBar.style.zIndex=1),this._selectedHandleBar.style.zIndex=2),this._theOneHandleBar?this._theOneHandleBar.style[ht.getLowestPositionByDir()]=e+"%":(this._handleBarLow.style[ht.getLowestPositionByDir()]=t+"%",this._handleBarHigh.style[ht.getLowestPositionByDir()]=e+"%",this._minPosition=t,this._maxPosition=e)}setSelected(t,e){if(this._theOneHandleBar){this._selectedHandleBar=this._theOneHandleBar;return}this.elementIsLowest(e.target)?this._selectedHandleBar=this._chooseLow(t):this.elementIsHighest(e.target)?this._selectedHandleBar=this._chooseHigh(t):this._selectedHandleBar=this._chooseClosestToPosition(t)}unsetSelected(){this._selectedHandleBar=null}_chooseClosestToPosition(t){const e=Math.abs(this._minPosition-t),n=Math.abs(this._maxPosition-t);return e===n?this._maxPosition-t>0?this._chooseLow(t):this._chooseHigh(t):e<n?this._chooseLow(t):this._chooseHigh(t)}_chooseLow(t){return this._minPosition=t,this._handleBarLow}_chooseHigh(t){return this._maxPosition=t,this._handleBarHigh}}class ns{init(t){this._labelContainer=t.getElementsByClassName("slider-label")[0],this._formatterService=t.getFormatterService()}update(t){this._labelContainer.innerHTML=this._formatterService.format(t),this._updateCurrency()}getContainer(){return this._labelContainer}_updateCurrency(){window.userCurrency&&window.I18nCurrencyExchange.convert(window.userCurrency,this._labelContainer)}}class rs{constructor(t){this._sliderElement=t,this._inputMin=this._sliderElement.querySelector("#price-filter__min"),this._inputMax=this._sliderElement.querySelector("#price-filter__max"),this._sliderMinEUR=parseFloat(this._sliderElement.min),this._sliderMaxEUR=parseFloat(this._sliderElement.max),!(!this._inputMin||!this._inputMax)&&(this._setupListeners(),this._initLabelObserver())}_convertToEUR(t){const e=window.userCurrency;return e==="EUR"?t:window.I18nCurrencyExchange.convertAmount(t,e,"EUR")}_convertFromEUR(t){const e=window.userCurrency;return e==="EUR"?t:window.I18nCurrencyExchange.convertAmount(t,"EUR",e)}_setupListeners(){const t=()=>{const n=parseFloat(this._inputMin.value),r=parseFloat(this._inputMax.value);if(isNaN(n)||isNaN(r))return;const s=this._convertToEUR(n),o=this._convertToEUR(r);this._sliderElement.value=[s,o],this._sliderElement.triggerChangeEvent()},e=(n,r)=>{n.key==="Enter"&&(t(),r.blur())};this._inputMin.addEventListener("change",t),this._inputMax.addEventListener("change",t),this._inputMin.addEventListener("blur",t),this._inputMax.addEventListener("blur",t),this._inputMin.addEventListener("keydown",n=>e(n,this._inputMin)),this._inputMax.addEventListener("keydown",n=>e(n,this._inputMax))}_updateInputsFromLabel(){const t=this._sliderElement.querySelector(".slider-label");if(!t)return;const e=t.querySelectorAll(".price");if(e.length<2||!this._inputMin||!this._inputMax)return;const n=parseFloat(e[0].getAttribute("data-amount")),r=parseFloat(e[1].getAttribute("data-amount"));if(!isNaN(n)){const c=Math.floor(n);this._inputMin.value=c,this._inputMin.setAttribute("value",c),this._inputMin.setAttribute("data-amount",n)}if(!isNaN(r)){const c=Math.ceil(r);this._inputMax.value=c,this._inputMax.setAttribute("value",c),this._inputMax.setAttribute("data-amount",r)}const s=this._sliderElement.querySelector(".slider-label .symbol"),o=s?s.textContent.trim():"",a=this._sliderElement.querySelector(".price-filter__group--min .currency-symbol"),l=this._sliderElement.querySelector(".price-filter__group--max .currency-symbol");a&&(a.textContent=o),l&&(l.textContent=o)}_initLabelObserver(){const t=this._sliderElement.querySelector(".slider-label");if(!t)return;new MutationObserver(()=>{this._updateInputsFromLabel()}).observe(t,{childList:!0,subtree:!0,characterData:!0})}getMinValue(){var t;return((t=this._inputMin)==null?void 0:t.value)||0}getMaxValue(){var t;return((t=this._inputMax)==null?void 0:t.value)||0}hasAnyInputActive(){return this._inputMax&&document.activeElement===this._inputMax||this._inputMin&&document.activeElement===this._inputMin}}class ss{constructor(t){this._template=Ilusion.Template.template(ts),this._sliderElement=t,this._moveActive=!1,this._hasChanged=!1,this._label=new ns,this._track=new es,this._handleBar=new is,this._priceInputManager=null,this.events={startEvents:["mousedown","touchstart"],moveEvents:["mousemove","touchmove"],endEvents:["mouseup","touchend"]},this._sliderElement.innerHTML=this.render({isMultiple:this._sliderElement.multiple,showMinMaxInputs:this._sliderElement.getAttribute("type")==="currency",minValue:this._sliderElement.min,maxValue:this._sliderElement.max,minLabel:this._sliderElement.minlabel,maxLabel:this._sliderElement.maxlabel}),this._track.init(this._sliderElement),this._handleBar.init(this._sliderElement),this._label.init(this._sliderElement),this._initListeners(),this._sliderElement.getAttribute("type")==="currency"&&(this._priceInputManager=new rs(this._sliderElement)),this.renderPosition()}render(t){try{return this._template(t)}catch(e){throw e}}_initListeners(){this._startMove=this._startMove.bind(this),this._endMove=this._endMove.bind(this),this._handleMoveEvents=this._handleMoveEvents.bind(this);const t=this.events.startEvents;for(let e of t)this._sliderElement.addEventListener(e,this._startMove,!0)}_initListenerWhenMoving(){const t=this.events.moveEvents,e=this.events.endEvents;for(let n of t)document.addEventListener(n,this._handleMoveEvents,!0);for(let n of e)document.addEventListener(n,this._endMove,!0)}_removeListenerWhenMoving(){const t=this.events.moveEvents,e=this.events.endEvents;for(let n of t)document.removeEventListener(n,this._handleMoveEvents,!0);for(let n of e)document.removeEventListener(n,this._endMove,!0)}_startMove(t){const e=t.target.closest(".handle"),n=t.target.closest(".track");if(!(!e&&!n)&&!this._moveActive){this._moveActive=!0,this._hasChanged=!1,this._initListenerWhenMoving();const r=this._getPosition(t);this._handleBar.setSelected(r,t),this._updateSliderValue(r),this._hasChanged=this._updateSliderValue(r),this._handleMoveEvents(t)}}_endMove(){this._moveActive&&(this._moveActive=!1,this._removeListenerWhenMoving(),this._handleBar.unsetSelected(),this._hasChanged&&this._sliderElement.triggerChangeEvent(),this._hasChanged=!1)}_handleMoveEvents(t){if(t.preventDefault(),!this._moveActive)return;const e=this._getPosition(t),n=this._updateSliderValue(e);this._hasChanged=n||this._hasChanged,this.renderPosition()}renderPosition(){this._handleBar.updatePosition(this._sliderElement.sliderCurrentPercentValueMin,this._sliderElement.sliderCurrentPercentValueMax),this._label.update(this._sliderElement.value),this._track.updatePosition(this._sliderElement.sliderCurrentPercentValueMin,this._sliderElement.sliderCurrentPercentValueMax)}_updateSliderValue(t){let e=!1;return this._handleBar.isLowestSelected()?this._sliderElement.sliderCurrentPercentValueMin!==t&&(this._sliderElement.sliderCurrentPercentValueMin=t,e=!0):this._handleBar.isHighestSelected()&&this._sliderElement.sliderCurrentPercentValueMax!==t&&(this._sliderElement.sliderCurrentPercentValueMax=t,e=!0),e}_getPosition(t){let e=this._getRawPositionByEvent(t);return this._track.getClickPosition(e)}_getRawPositionByEvent(t){const e=t.type.indexOf("touch")===0,n=t.type.indexOf("mouse")===0,r=t.type.indexOf("pointer")===0;return e?t.changedTouches[0].pageX:n||r?t.clientX+window.pageXOffset:0}getInputsValueAsCurrencyHtml(){try{const t=this._label.getContainer().cloneNode(!0),e=t.querySelectorAll("span.price"),n=e[0].getElementsByClassName("symbol")[0].innerHTML.trim(),r=e[0].getAttribute("data-currency"),s=this._sliderElement.getFormatterServiceFromTypeAttribute().formatCurrency(this._priceInputManager.getMinValue(),r),o=this._sliderElement.getFormatterServiceFromTypeAttribute().formatCurrency(this._priceInputManager.getMaxValue(),r);return e[0].childNodes.forEach(a=>{a.nodeType===Node.TEXT_NODE&&(a.nodeValue=s.replace(n,""))}),e[1].childNodes.forEach(a=>{a.nodeType===Node.TEXT_NODE&&(a.nodeValue=o.replace(n,""))}),t.innerHTML}catch{return""}}isUserController(){const t=this._priceInputManager&&this._priceInputManager.hasAnyInputActive();return this._moveActive||t}}class hi{constructor(t){this._formatterService=Ilusion.I18nService.createHtmlPriceFormatter(),this._formatterService.setUseDecimals(!1),this._formatterService.allowExchange(),this._formatterService.setCurrency(this._getCurrency(t)),this._currencyFormatterService=Ilusion.I18nService.createCurrencyFormatter(),this._currencyFormatterService.setUseDecimals(!1),this._formatterService.setCurrency(this._getCurrency(t))}format(t){return Array.isArray(t)?t.map(n=>this._formatterService.format(n)).join(" - "):this._formatterService.format(t)}formatCurrency(t,e){return Array.isArray(t)?t.map(r=>this._currencyFormatterService.format(r,e)).join(" - "):this._currencyFormatterService.format(t,e)}_getCurrency(t){return t=="undefined"||!t?"EUR":t}}class os{format(t){return Wi.Utils.distanceFormatted(t)}}class as{constructor(t,e,n,r){this._isLinear=t,this._step=e||0,this._round=n||!1,this._fixDecimal=r>=0?r:!1}forIn(t){return this._isLinear||(t=Math.log(t+1)),t}forOut(t,e){return this._isLinear||(t=Math.exp(t)-1),e===!0?t:this.fixDecimal(t)}valueToPercent(t,e,n){const r=100*(n-t)/(e-t),s=Math.min(Math.max(r,0),100);return this.stepRound(t,e,s)}percentToValue(t,e,n){let r;n===100?r=e:n===0?r=t:r=t+n*(e-t)/100;const s=Math.min(Math.max(r,t),e);return this._round?this.valueRound(s):s}stepRound(t,e,n){if(this._step===0)return n;const r=e-t,s=100*this._step/r;return Math.round(n/s)*s}valueRound(t){return this._step>0?Math.round(t/this._step)*this._step:Math.round(t*100)/100}fixDecimal(t){return this._fixDecimal===!1?t:(t=parseFloat(t).toFixed(5),Wi.Utils.fixDecimal(t,this._fixDecimal))}}class ls extends HTMLElement{constructor(){super(),this._attr={min:"min",max:"max",step:"step",value:"value",multiple:"multiple",type:"type",linear:"linear",round:"round",fixdecimal:"fixdecimal",minlabel:"minlabel",maxlabel:"maxlabel"},this._sliderInnerValueMin=0,this._sliderInnerValueMax=void 0,this._sliderCurrentValueMin=this._sliderInnerValueMin,this._sliderCurrentValueMax=this._sliderInnerValueMax,this.setAttributes(),this.setRender()}setAttributes(){this._multiple=this.getAttribute(this._attr.multiple)!==null&&!(this.getAttribute(this._attr.multiple)==="false"||this.getAttribute(this._attr.multiple)==="0"),this._formatterService=this.getFormatterServiceFromTypeAttribute();const t=this.getAttribute(this._attr.linear)===null||!(this.getAttribute(this._attr.linear)==="false"||this.getAttribute(this._attr.linear)==="0");let e=this.getAttribute(this._attr.round)===null||!(this.getAttribute(this._attr.round)==="false"||this.getAttribute(this._attr.round)==="0"),n=parseInt(this.getAttribute(this._attr.fixdecimal));(Number.isNaN(n)||!Number.isInteger(n)||n<0)&&(n=!1);let r=parseFloat(this.getAttribute(this._attr.step))||0;t||(r=!1,e=!1),this._valueTransformer=new as(t,r,e,n);const s=parseFloat(this.getAttribute(this._attr.min))||0;this.min=s;const o=parseFloat(this.getAttribute(this._attr.max))||0;if(this.max=o,!this.max){console.warn("aura-slider has not max attribute. Not initializated");return}let a;try{a=JSON.parse(this.getAttribute(this._attr.value))}catch{}this.multiple?Array.isArray(a)?this.value=[a[0]||s,a[1]||o]:this.value=[s,o]:this.value=a,this._minlabel=this.getAttribute(this._attr.minlabel)||"",this._maxlabel=this.getAttribute(this._attr.maxlabel)||""}getFormatterServiceFromTypeAttribute(){const t=(this.getAttribute(this._attr.type)||"").toLowerCase();switch(this._attr.type=t,t){case"distance":return new os;case"currency":return new hi;default:return new hi}}getFormatterService(){return this._formatterService}setRender(){this._renderer=new ss(this)}get type(){return`aura-slider-${this._attr.type}`}get multiple(){return this._multiple}set multiple(t){this._multiple=t}get min(){return this._valueTransformer.forOut(this._sliderInnerValueMin)}set min(t){this._sliderInnerValueMin=this._valueTransformer.forIn(t),this._updateRender()}get max(){return this._valueTransformer.forOut(this._sliderInnerValueMax)}set max(t){this._sliderInnerValueMax=this._valueTransformer.forIn(t),this._updateRender()}get minlabel(){return this._minlabel}get maxlabel(){return this._maxlabel}get value(){if(this.multiple){let t=this._valueTransformer.forOut(this.sliderCurrentValueMin),e=this._valueTransformer.forOut(this.sliderCurrentValueMax);return(Number.isNaN(t)||Number.isNaN(e))&&(t=0,e=0),[t,e]}else return this._valueTransformer.forOut(this._sliderCurrentValueMax)}set value(t){if(this.multiple){const e=Math.min(...t),n=Math.max(...t);this.sliderCurrentValueMin=this._valueTransformer.forIn(e),this.sliderCurrentValueMax=this._valueTransformer.forIn(n)}else this.sliderCurrentValueMax=this._valueTransformer.forIn(t);this._updateRender()}get rawValue(){if(this.multiple){const t=this._valueTransformer.forOut(this.sliderCurrentValueMin,!0),e=this._valueTransformer.forOut(this.sliderCurrentValueMax,!0);return[t,e]}else return this._valueTransformer.forOut(this._sliderCurrentValueMax,!0)}get sliderCurrentValueMin(){return this._sliderCurrentValueMin}set sliderCurrentValueMin(t){this._sliderCurrentValueMin=Math.min(Math.max(t||0,this._sliderInnerValueMin||0),this._sliderCurrentValueMax||this._sliderInnerValueMax)}get sliderCurrentValueMax(){return this._sliderCurrentValueMax}set sliderCurrentValueMax(t){this._sliderCurrentValueMax=Math.max(Math.min(t||0,this._sliderInnerValueMax||0),this._sliderCurrentValueMin||this._sliderInnerValueMin)}get sliderCurrentPercentValueMin(){return this._valueTransformer.valueToPercent(this._sliderInnerValueMin,this._sliderInnerValueMax,this._sliderCurrentValueMin)}set sliderCurrentPercentValueMin(t){this.sliderCurrentValueMin=this._valueTransformer.percentToValue(this._sliderInnerValueMin,this._sliderInnerValueMax,t)}get sliderCurrentPercentValueMax(){return this._valueTransformer.valueToPercent(this._sliderInnerValueMin,this._sliderInnerValueMax,this._sliderCurrentValueMax)}set sliderCurrentPercentValueMax(t){this.sliderCurrentValueMax=this._valueTransformer.percentToValue(this._sliderInnerValueMin,this._sliderInnerValueMax,t)}get inputsValueAsCurrencyHtml(){return this._renderer.getInputsValueAsCurrencyHtml()}_updateRender(){this._renderer&&this._renderer.renderPosition()}triggerChangeEvent(){this.dispatchEvent(new Event("input",{bubbles:!0}))}isUserControlled(){return this._renderer.isUserController()}}window.customElements.get("aura-slider")===void 0&&window.customElements.define("aura-slider",ls);document.getElementById("seo_text")&&gi("seo_text",301);document.querySelector(".seo-links")&&kr();document.getElementById("destinia-rewards-modal")&&Dr();document.querySelector("#activities-search-location")&&Xr("activities-search-location","activities_home_search_button","activities-autoComplete-list");const cs=["package-destination","activities-carousel","travel-packages-carousel","promos-hotels-carousel","puente-hotels-carousel","highlight-destinations-carousel","last-time-cffers-carousel","landings-carousel"];cs.forEach(function(i){document.getElementById("carousel-v2-"+i)&&mn(i)});
