function ln(e,t){const r=Object.create(null),s=e.split(",");for(let n=0;n<s.length;n++)r[s[n]]=!0;return t?n=>!!r[n.toLowerCase()]:n=>!!r[n]}const ce={},Dt=[],We=()=>{},ul=()=>!1,hl=/^on[^a-z]/,vr=e=>hl.test(e),cn=e=>e.startsWith("onUpdate:"),ye=Object.assign,un=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},dl=Object.prototype.hasOwnProperty,Z=(e,t)=>dl.call(e,t),j=Array.isArray,Rt=e=>Ar(e)==="[object Map]",Yt=e=>Ar(e)==="[object Set]",Xn=e=>Ar(e)==="[object Date]",q=e=>typeof e=="function",de=e=>typeof e=="string",fr=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",ii=e=>oe(e)&&q(e.then)&&q(e.catch),ai=Object.prototype.toString,Ar=e=>ai.call(e),fl=e=>Ar(e).slice(8,-1),li=e=>Ar(e)==="[object Object]",hn=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ir=ln(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),as=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},pl=/-(\w)/g,Xe=as(e=>e.replace(pl,(t,r)=>r?r.toUpperCase():"")),gl=/\B([A-Z])/g,Gt=as(e=>e.replace(gl,"-$1").toLowerCase()),ls=as(e=>e.charAt(0).toUpperCase()+e.slice(1)),vs=as(e=>e?`on${ls(e)}`:""),pr=(e,t)=>!Object.is(e,t),Wr=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},qr=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},ci=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ml=e=>{const t=de(e)?Number(e):NaN;return isNaN(t)?e:t};let Zn;const Os=()=>Zn||(Zn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xt(e){if(j(e)){const t={};for(let r=0;r<e.length;r++){const s=e[r],n=de(s)?bl(s):xt(s);if(n)for(const o in n)t[o]=n[o]}return t}else{if(de(e))return e;if(oe(e))return e}}const _l=/;(?![^(]*\))/g,yl=/:([^]+)/,Tl=/\/\*[^]*?\*\//g;function bl(e){const t={};return e.replace(Tl,"").split(_l).forEach(r=>{if(r){const s=r.split(yl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ne(e){let t="";if(de(e))t=e;else if(j(e))for(let r=0;r<e.length;r++){const s=ne(e[r]);s&&(t+=s+" ")}else if(oe(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function vl(e){if(!e)return null;let{class:t,style:r}=e;return t&&!de(t)&&(e.class=ne(t)),r&&(e.style=xt(r)),e}const Al="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xl=ln(Al);function ui(e){return!!e||e===""}function wl(e,t){if(e.length!==t.length)return!1;let r=!0;for(let s=0;r&&s<e.length;s++)r=xr(e[s],t[s]);return r}function xr(e,t){if(e===t)return!0;let r=Xn(e),s=Xn(t);if(r||s)return r&&s?e.getTime()===t.getTime():!1;if(r=fr(e),s=fr(t),r||s)return e===t;if(r=j(e),s=j(t),r||s)return r&&s?wl(e,t):!1;if(r=oe(e),s=oe(t),r||s){if(!r||!s)return!1;const n=Object.keys(e).length,o=Object.keys(t).length;if(n!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!xr(e[i],t[i]))return!1}}return String(e)===String(t)}function dn(e,t){return e.findIndex(r=>xr(r,t))}const R=e=>de(e)?e:e==null?"":j(e)||oe(e)&&(e.toString===ai||!q(e.toString))?JSON.stringify(e,hi,2):String(e),hi=(e,t)=>t&&t.__v_isRef?hi(e,t.value):Rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[s,n])=>(r[`${s} =>`]=n,r),{})}:Yt(t)?{[`Set(${t.size})`]:[...t.values()]}:oe(t)&&!j(t)&&!li(t)?String(t):t;let je;class Sl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=je,!t&&je&&(this.index=(je.scopes||(je.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=je;try{return je=this,t()}finally{je=r}}}on(){je=this}off(){je=this.parent}stop(t){if(this._active){let r,s;for(r=0,s=this.effects.length;r<s;r++)this.effects[r].stop();for(r=0,s=this.cleanups.length;r<s;r++)this.cleanups[r]();if(this.scopes)for(r=0,s=this.scopes.length;r<s;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0,this._active=!1}}}function Pl(e,t=je){t&&t.active&&t.effects.push(e)}function Cl(){return je}const fn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},di=e=>(e.w&pt)>0,fi=e=>(e.n&pt)>0,Ll=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=pt},kl=e=>{const{deps:t}=e;if(t.length){let r=0;for(let s=0;s<t.length;s++){const n=t[s];di(n)&&!fi(n)?n.delete(e):t[r++]=n,n.w&=~pt,n.n&=~pt}t.length=r}},Yr=new WeakMap;let sr=0,pt=1;const Ns=30;let Ue;const vt=Symbol(""),Hs=Symbol("");class pn{constructor(t,r=null,s){this.fn=t,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,Pl(this,s)}run(){if(!this.active)return this.fn();let t=Ue,r=ut;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ue,Ue=this,ut=!0,pt=1<<++sr,sr<=Ns?Ll(this):eo(this),this.fn()}finally{sr<=Ns&&kl(this),pt=1<<--sr,Ue=this.parent,ut=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ue===this?this.deferStop=!0:this.active&&(eo(this),this.onStop&&this.onStop(),this.active=!1)}}function eo(e){const{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}let ut=!0;const pi=[];function Jt(){pi.push(ut),ut=!1}function zt(){const e=pi.pop();ut=e===void 0?!0:e}function Ee(e,t,r){if(ut&&Ue){let s=Yr.get(e);s||Yr.set(e,s=new Map);let n=s.get(r);n||s.set(r,n=fn()),gi(n)}}function gi(e,t){let r=!1;sr<=Ns?fi(e)||(e.n|=pt,r=!di(e)):r=!e.has(Ue),r&&(e.add(Ue),Ue.deps.push(e))}function rt(e,t,r,s,n,o){const i=Yr.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(r==="length"&&j(e)){const l=Number(s);i.forEach((c,u)=>{(u==="length"||u>=l)&&a.push(c)})}else switch(r!==void 0&&a.push(i.get(r)),t){case"add":j(e)?hn(r)&&a.push(i.get("length")):(a.push(i.get(vt)),Rt(e)&&a.push(i.get(Hs)));break;case"delete":j(e)||(a.push(i.get(vt)),Rt(e)&&a.push(i.get(Hs)));break;case"set":Rt(e)&&a.push(i.get(vt));break}if(a.length===1)a[0]&&Ms(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Ms(fn(l))}}function Ms(e,t){const r=j(e)?e:[...e];for(const s of r)s.computed&&to(s);for(const s of r)s.computed||to(s)}function to(e,t){(e!==Ue||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function El(e,t){var r;return(r=Yr.get(e))==null?void 0:r.get(t)}const Il=ln("__proto__,__v_isRef,__isVue"),mi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(fr)),Dl=gn(),Rl=gn(!1,!0),Ol=gn(!0),ro=Nl();function Nl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const s=ee(this);for(let o=0,i=this.length;o<i;o++)Ee(s,"get",o+"");const n=s[t](...r);return n===-1||n===!1?s[t](...r.map(ee)):n}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){Jt();const s=ee(this)[t].apply(this,r);return zt(),s}}),e}function Hl(e){const t=ee(this);return Ee(t,"has",e),t.hasOwnProperty(e)}function gn(e=!1,t=!1){return function(s,n,o){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_isShallow")return t;if(n==="__v_raw"&&o===(e?t?Xl:vi:t?bi:Ti).get(s))return s;const i=j(s);if(!e){if(i&&Z(ro,n))return Reflect.get(ro,n,o);if(n==="hasOwnProperty")return Hl}const a=Reflect.get(s,n,o);return(fr(n)?mi.has(n):Il(n))||(e||Ee(s,"get",n),t)?a:me(a)?i&&hn(n)?a:a.value:oe(a)?e?xi(a):st(a):a}}const Ml=_i(),Bl=_i(!0);function _i(e=!1){return function(r,s,n,o){let i=r[s];if(wt(i)&&me(i)&&!me(n))return!1;if(!e&&(!Gr(n)&&!wt(n)&&(i=ee(i),n=ee(n)),!j(r)&&me(i)&&!me(n)))return i.value=n,!0;const a=j(r)&&hn(s)?Number(s)<r.length:Z(r,s),l=Reflect.set(r,s,n,o);return r===ee(o)&&(a?pr(n,i)&&rt(r,"set",s,n):rt(r,"add",s,n)),l}}function Fl(e,t){const r=Z(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&r&&rt(e,"delete",t,void 0),s}function jl(e,t){const r=Reflect.has(e,t);return(!fr(t)||!mi.has(t))&&Ee(e,"has",t),r}function Ul(e){return Ee(e,"iterate",j(e)?"length":vt),Reflect.ownKeys(e)}const yi={get:Dl,set:Ml,deleteProperty:Fl,has:jl,ownKeys:Ul},$l={get:Ol,set(e,t){return!0},deleteProperty(e,t){return!0}},Wl=ye({},yi,{get:Rl,set:Bl}),mn=e=>e,cs=e=>Reflect.getPrototypeOf(e);function Lr(e,t,r=!1,s=!1){e=e.__v_raw;const n=ee(e),o=ee(t);r||(t!==o&&Ee(n,"get",t),Ee(n,"get",o));const{has:i}=cs(n),a=s?mn:r?Tn:gr;if(i.call(n,t))return a(e.get(t));if(i.call(n,o))return a(e.get(o));e!==n&&e.get(t)}function kr(e,t=!1){const r=this.__v_raw,s=ee(r),n=ee(e);return t||(e!==n&&Ee(s,"has",e),Ee(s,"has",n)),e===n?r.has(e):r.has(e)||r.has(n)}function Er(e,t=!1){return e=e.__v_raw,!t&&Ee(ee(e),"iterate",vt),Reflect.get(e,"size",e)}function so(e){e=ee(e);const t=ee(this);return cs(t).has.call(t,e)||(t.add(e),rt(t,"add",e,e)),this}function no(e,t){t=ee(t);const r=ee(this),{has:s,get:n}=cs(r);let o=s.call(r,e);o||(e=ee(e),o=s.call(r,e));const i=n.call(r,e);return r.set(e,t),o?pr(t,i)&&rt(r,"set",e,t):rt(r,"add",e,t),this}function oo(e){const t=ee(this),{has:r,get:s}=cs(t);let n=r.call(t,e);n||(e=ee(e),n=r.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return n&&rt(t,"delete",e,void 0),o}function io(){const e=ee(this),t=e.size!==0,r=e.clear();return t&&rt(e,"clear",void 0,void 0),r}function Ir(e,t){return function(s,n){const o=this,i=o.__v_raw,a=ee(i),l=t?mn:e?Tn:gr;return!e&&Ee(a,"iterate",vt),i.forEach((c,u)=>s.call(n,l(c),l(u),o))}}function Dr(e,t,r){return function(...s){const n=this.__v_raw,o=ee(n),i=Rt(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=n[e](...s),u=r?mn:t?Tn:gr;return!t&&Ee(o,"iterate",l?Hs:vt),{next(){const{value:h,done:p}=c.next();return p?{value:h,done:p}:{value:a?[u(h[0]),u(h[1])]:u(h),done:p}},[Symbol.iterator](){return this}}}}function it(e){return function(...t){return e==="delete"?!1:this}}function Kl(){const e={get(o){return Lr(this,o)},get size(){return Er(this)},has:kr,add:so,set:no,delete:oo,clear:io,forEach:Ir(!1,!1)},t={get(o){return Lr(this,o,!1,!0)},get size(){return Er(this)},has:kr,add:so,set:no,delete:oo,clear:io,forEach:Ir(!1,!0)},r={get(o){return Lr(this,o,!0)},get size(){return Er(this,!0)},has(o){return kr.call(this,o,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:Ir(!0,!1)},s={get(o){return Lr(this,o,!0,!0)},get size(){return Er(this,!0)},has(o){return kr.call(this,o,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:Ir(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Dr(o,!1,!1),r[o]=Dr(o,!0,!1),t[o]=Dr(o,!1,!0),s[o]=Dr(o,!0,!0)}),[e,r,t,s]}const[Vl,ql,Yl,Gl]=Kl();function _n(e,t){const r=t?e?Gl:Yl:e?ql:Vl;return(s,n,o)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?s:Reflect.get(Z(r,n)&&n in s?r:s,n,o)}const Jl={get:_n(!1,!1)},zl={get:_n(!1,!0)},Ql={get:_n(!0,!1)},Ti=new WeakMap,bi=new WeakMap,vi=new WeakMap,Xl=new WeakMap;function Zl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ec(e){return e.__v_skip||!Object.isExtensible(e)?0:Zl(fl(e))}function st(e){return wt(e)?e:yn(e,!1,yi,Jl,Ti)}function Ai(e){return yn(e,!1,Wl,zl,bi)}function xi(e){return yn(e,!0,$l,Ql,vi)}function yn(e,t,r,s,n){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=n.get(e);if(o)return o;const i=ec(e);if(i===0)return e;const a=new Proxy(e,i===2?s:r);return n.set(e,a),a}function Ot(e){return wt(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function wt(e){return!!(e&&e.__v_isReadonly)}function Gr(e){return!!(e&&e.__v_isShallow)}function wi(e){return Ot(e)||wt(e)}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function Si(e){return qr(e,"__v_skip",!0),e}const gr=e=>oe(e)?st(e):e,Tn=e=>oe(e)?xi(e):e;function Pi(e){ut&&Ue&&(e=ee(e),gi(e.dep||(e.dep=fn())))}function Ci(e,t){e=ee(e);const r=e.dep;r&&Ms(r)}function me(e){return!!(e&&e.__v_isRef===!0)}function ht(e){return Li(e,!1)}function ao(e){return Li(e,!0)}function Li(e,t){return me(e)?e:new tc(e,t)}class tc{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:ee(t),this._value=r?t:gr(t)}get value(){return Pi(this),this._value}set value(t){const r=this.__v_isShallow||Gr(t)||wt(t);t=r?t:ee(t),pr(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:gr(t),Ci(this))}}function pe(e){return me(e)?e.value:e}const rc={get:(e,t,r)=>pe(Reflect.get(e,t,r)),set:(e,t,r,s)=>{const n=e[t];return me(n)&&!me(r)?(n.value=r,!0):Reflect.set(e,t,r,s)}};function ki(e){return Ot(e)?e:new Proxy(e,rc)}class sc{constructor(t,r,s){this._object=t,this._key=r,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return El(ee(this._object),this._key)}}class nc{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ei(e,t,r){return me(e)?e:q(e)?new nc(e):oe(e)&&arguments.length>1?oc(e,t,r):ht(e)}function oc(e,t,r){const s=e[t];return me(s)?s:new sc(e,t,r)}class ic{constructor(t,r,s,n){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new pn(t,()=>{this._dirty||(this._dirty=!0,Ci(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=s}get value(){const t=ee(this);return Pi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ac(e,t,r=!1){let s,n;const o=q(e);return o?(s=e,n=We):(s=e.get,n=e.set),new ic(s,n,o||!n,r)}function dt(e,t,r,s){let n;try{n=s?e(...s):e()}catch(o){Qt(o,t,r)}return n}function Ke(e,t,r,s){if(q(e)){const o=dt(e,t,r,s);return o&&ii(o)&&o.catch(i=>{Qt(i,t,r)}),o}const n=[];for(let o=0;o<e.length;o++)n.push(Ke(e[o],t,r,s));return n}function Qt(e,t,r,s=!0){const n=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=r;for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){dt(l,null,10,[e,i,a]);return}}lc(e,r,n,s)}function lc(e,t,r,s=!0){console.error(e)}let mr=!1,Bs=!1;const ve=[];let Qe=0;const Nt=[];let tt=null,yt=0;const Ii=Promise.resolve();let bn=null;function vn(e){const t=bn||Ii;return e?t.then(this?e.bind(this):e):t}function cc(e){let t=Qe+1,r=ve.length;for(;t<r;){const s=t+r>>>1;_r(ve[s])<e?t=s+1:r=s}return t}function us(e){(!ve.length||!ve.includes(e,mr&&e.allowRecurse?Qe+1:Qe))&&(e.id==null?ve.push(e):ve.splice(cc(e.id),0,e),Di())}function Di(){!mr&&!Bs&&(Bs=!0,bn=Ii.then(Oi))}function uc(e){const t=ve.indexOf(e);t>Qe&&ve.splice(t,1)}function Ri(e){j(e)?Nt.push(...e):(!tt||!tt.includes(e,e.allowRecurse?yt+1:yt))&&Nt.push(e),Di()}function lo(e,t=mr?Qe+1:0){for(;t<ve.length;t++){const r=ve[t];r&&r.pre&&(ve.splice(t,1),t--,r())}}function Jr(e){if(Nt.length){const t=[...new Set(Nt)];if(Nt.length=0,tt){tt.push(...t);return}for(tt=t,tt.sort((r,s)=>_r(r)-_r(s)),yt=0;yt<tt.length;yt++)tt[yt]();tt=null,yt=0}}const _r=e=>e.id==null?1/0:e.id,hc=(e,t)=>{const r=_r(e)-_r(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Oi(e){Bs=!1,mr=!0,ve.sort(hc);const t=We;try{for(Qe=0;Qe<ve.length;Qe++){const r=ve[Qe];r&&r.active!==!1&&dt(r,null,14)}}finally{Qe=0,ve.length=0,Jr(),mr=!1,bn=null,(ve.length||Nt.length)&&Oi()}}function dc(e,t,...r){if(e.isUnmounted)return;const s=e.vnode.props||ce;let n=r;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:p}=s[u]||ce;p&&(n=r.map(m=>de(m)?m.trim():m)),h&&(n=r.map(ci))}let a,l=s[a=vs(t)]||s[a=vs(Xe(t))];!l&&o&&(l=s[a=vs(Gt(t))]),l&&Ke(l,e,6,n);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ke(c,e,6,n)}}function Ni(e,t,r=!1){const s=t.emitsCache,n=s.get(e);if(n!==void 0)return n;const o=e.emits;let i={},a=!1;if(!q(e)){const l=c=>{const u=Ni(c,t,!0);u&&(a=!0,ye(i,u))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(oe(e)&&s.set(e,null),null):(j(o)?o.forEach(l=>i[l]=null):ye(i,o),oe(e)&&s.set(e,i),i)}function hs(e,t){return!e||!vr(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,Gt(t))||Z(e,t))}let ke=null,ds=null;function zr(e){const t=ke;return ke=e,ds=e&&e.type.__scopeId||null,t}function hy(e){ds=e}function dy(){ds=null}function Hi(e,t=ke,r){if(!t||e._n)return e;const s=(...n)=>{s._d&&xo(-1);const o=zr(t);let i;try{i=e(...n)}finally{zr(o),s._d&&xo(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function As(e){const{type:t,vnode:r,proxy:s,withProxy:n,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:h,data:p,setupState:m,ctx:_,inheritAttrs:P}=e;let K,v;const T=zr(e);try{if(r.shapeFlag&4){const x=n||s;K=He(u.call(x,x,h,o,m,p,_)),v=l}else{const x=t;K=He(x.length>1?x(o,{attrs:l,slots:a,emit:c}):x(o,null)),v=t.props?l:pc(l)}}catch(x){ur.length=0,Qt(x,e,1),K=te(Ze)}let H=K;if(v&&P!==!1){const x=Object.keys(v),{shapeFlag:O}=H;x.length&&O&7&&(i&&x.some(cn)&&(v=gc(v,i)),H=$t(H,v))}return r.dirs&&(H=$t(H),H.dirs=H.dirs?H.dirs.concat(r.dirs):r.dirs),r.transition&&(H.transition=r.transition),K=H,zr(T),K}function fc(e){let t;for(let r=0;r<e.length;r++){const s=e[r];if(Zr(s)){if(s.type!==Ze||s.children==="v-if"){if(t)return;t=s}}else return}return t}const pc=e=>{let t;for(const r in e)(r==="class"||r==="style"||vr(r))&&((t||(t={}))[r]=e[r]);return t},gc=(e,t)=>{const r={};for(const s in e)(!cn(s)||!(s.slice(9)in t))&&(r[s]=e[s]);return r};function mc(e,t,r){const{props:s,children:n,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return s?co(s,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const p=u[h];if(i[p]!==s[p]&&!hs(c,p))return!0}}}else return(n||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?co(s,i,c):!0:!!i;return!1}function co(e,t,r){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let n=0;n<s.length;n++){const o=s[n];if(t[o]!==e[o]&&!hs(r,o))return!0}return!1}function An({vnode:e,parent:t},r){for(;t&&t.subTree===e;)(e=t.vnode).el=r,t=t.parent}const _c=e=>e.__isSuspense,yc={name:"Suspense",__isSuspense:!0,process(e,t,r,s,n,o,i,a,l,c){e==null?bc(t,r,s,n,o,i,a,l,c):vc(e,t,r,s,n,i,a,l,c)},hydrate:Ac,create:xn,normalize:xc},Tc=yc;function yr(e,t){const r=e.props&&e.props[t];q(r)&&r()}function bc(e,t,r,s,n,o,i,a,l){const{p:c,o:{createElement:u}}=l,h=u("div"),p=e.suspense=xn(e,n,s,t,h,r,o,i,a,l);c(null,p.pendingBranch=e.ssContent,h,null,s,p,o,i),p.deps>0?(yr(e,"onPending"),yr(e,"onFallback"),c(null,e.ssFallback,t,r,s,null,o,i),Ht(p,e.ssFallback)):p.resolve(!1,!0)}function vc(e,t,r,s,n,o,i,a,{p:l,um:c,o:{createElement:u}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const p=t.ssContent,m=t.ssFallback,{activeBranch:_,pendingBranch:P,isInFallback:K,isHydrating:v}=h;if(P)h.pendingBranch=p,ct(p,P)?(l(P,p,h.hiddenContainer,null,n,h,o,i,a),h.deps<=0?h.resolve():K&&(l(_,m,r,s,n,null,o,i,a),Ht(h,m))):(h.pendingId++,v?(h.isHydrating=!1,h.activeBranch=P):c(P,n,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),K?(l(null,p,h.hiddenContainer,null,n,h,o,i,a),h.deps<=0?h.resolve():(l(_,m,r,s,n,null,o,i,a),Ht(h,m))):_&&ct(p,_)?(l(_,p,r,s,n,h,o,i,a),h.resolve(!0)):(l(null,p,h.hiddenContainer,null,n,h,o,i,a),h.deps<=0&&h.resolve()));else if(_&&ct(p,_))l(_,p,r,s,n,h,o,i,a),Ht(h,p);else if(yr(t,"onPending"),h.pendingBranch=p,h.pendingId++,l(null,p,h.hiddenContainer,null,n,h,o,i,a),h.deps<=0)h.resolve();else{const{timeout:T,pendingId:H}=h;T>0?setTimeout(()=>{h.pendingId===H&&h.fallback(m)},T):T===0&&h.fallback(m)}}function xn(e,t,r,s,n,o,i,a,l,c,u=!1){const{p:h,m:p,um:m,n:_,o:{parentNode:P,remove:K}}=c;let v;const T=wc(e);T&&t!=null&&t.pendingBranch&&(v=t.pendingId,t.deps++);const H=e.props?ml(e.props.timeout):void 0,x={vnode:e,parent:t,parentComponent:r,isSVG:i,container:s,hiddenContainer:n,anchor:o,deps:0,pendingId:0,timeout:typeof H=="number"?H:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(O=!1,Y=!1){const{vnode:M,activeBranch:I,pendingBranch:V,pendingId:Q,effects:X,parentComponent:xe,container:ue}=x;if(x.isHydrating)x.isHydrating=!1;else if(!O){const re=I&&V.transition&&V.transition.mode==="out-in";re&&(I.transition.afterLeave=()=>{Q===x.pendingId&&p(V,ue,ie,0)});let{anchor:ie}=x;I&&(ie=_(I),m(I,xe,x,!0)),re||p(V,ue,ie,0)}Ht(x,V),x.pendingBranch=null,x.isInFallback=!1;let U=x.parent,De=!1;for(;U;){if(U.pendingBranch){U.effects.push(...X),De=!0;break}U=U.parent}De||Ri(X),x.effects=[],T&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!Y&&t.resolve()),yr(M,"onResolve")},fallback(O){if(!x.pendingBranch)return;const{vnode:Y,activeBranch:M,parentComponent:I,container:V,isSVG:Q}=x;yr(Y,"onFallback");const X=_(M),xe=()=>{x.isInFallback&&(h(null,O,V,X,I,null,Q,a,l),Ht(x,O))},ue=O.transition&&O.transition.mode==="out-in";ue&&(M.transition.afterLeave=xe),x.isInFallback=!0,m(M,I,null,!0),ue||xe()},move(O,Y,M){x.activeBranch&&p(x.activeBranch,O,Y,M),x.container=O},next(){return x.activeBranch&&_(x.activeBranch)},registerDep(O,Y){const M=!!x.pendingBranch;M&&x.deps++;const I=O.vnode.el;O.asyncDep.catch(V=>{Qt(V,O,0)}).then(V=>{if(O.isUnmounted||x.isUnmounted||x.pendingId!==O.suspenseId)return;O.asyncResolved=!0;const{vnode:Q}=O;Ks(O,V,!1),I&&(Q.el=I);const X=!I&&O.subTree.el;Y(O,Q,P(I||O.subTree.el),I?null:_(O.subTree),x,i,l),X&&K(X),An(O,Q.el),M&&--x.deps===0&&x.resolve()})},unmount(O,Y){x.isUnmounted=!0,x.activeBranch&&m(x.activeBranch,r,O,Y),x.pendingBranch&&m(x.pendingBranch,r,O,Y)}};return x}function Ac(e,t,r,s,n,o,i,a,l){const c=t.suspense=xn(t,s,r,e.parentNode,document.createElement("div"),null,n,o,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,r,c,o,i);return c.deps===0&&c.resolve(!1,!0),u}function xc(e){const{shapeFlag:t,children:r}=e,s=t&32;e.ssContent=uo(s?r.default:r),e.ssFallback=s?uo(r.fallback):te(Ze)}function uo(e){let t;if(q(e)){const r=Ut&&e._c;r&&(e._d=!1,w()),e=e(),r&&(e._d=!0,t=Be,na())}return j(e)&&(e=fc(e)),e=He(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function Mi(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Ri(e)}function Ht(e,t){e.activeBranch=t;const{vnode:r,parentComponent:s}=e,n=r.el=t.el;s&&s.subTree===r&&(s.vnode.el=n,An(s,n))}function wc(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Sc(e,t){return wn(e,null,t)}const Rr={};function Mt(e,t,r){return wn(e,t,r)}function wn(e,t,{immediate:r,deep:s,flush:n,onTrack:o,onTrigger:i}=ce){var a;const l=Cl()===((a=ge)==null?void 0:a.scope)?ge:null;let c,u=!1,h=!1;if(me(e)?(c=()=>e.value,u=Gr(e)):Ot(e)?(c=()=>e,s=!0):j(e)?(h=!0,u=e.some(x=>Ot(x)||Gr(x)),c=()=>e.map(x=>{if(me(x))return x.value;if(Ot(x))return bt(x);if(q(x))return dt(x,l,2)})):q(e)?t?c=()=>dt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return p&&p(),Ke(e,l,3,[m])}:c=We,t&&s){const x=c;c=()=>bt(x())}let p,m=x=>{p=T.onStop=()=>{dt(x,l,4)}},_;if(Kt)if(m=We,t?r&&Ke(t,l,3,[c(),h?[]:void 0,m]):c(),n==="sync"){const x=_u();_=x.__watcherHandles||(x.__watcherHandles=[])}else return We;let P=h?new Array(e.length).fill(Rr):Rr;const K=()=>{if(T.active)if(t){const x=T.run();(s||u||(h?x.some((O,Y)=>pr(O,P[Y])):pr(x,P)))&&(p&&p(),Ke(t,l,3,[x,P===Rr?void 0:h&&P[0]===Rr?[]:P,m]),P=x)}else T.run()};K.allowRecurse=!!t;let v;n==="sync"?v=K:n==="post"?v=()=>Ce(K,l&&l.suspense):(K.pre=!0,l&&(K.id=l.uid),v=()=>us(K));const T=new pn(c,v);t?r?K():P=T.run():n==="post"?Ce(T.run.bind(T),l&&l.suspense):T.run();const H=()=>{T.stop(),l&&l.scope&&un(l.scope.effects,T)};return _&&_.push(H),H}function Pc(e,t,r){const s=this.proxy,n=de(e)?e.includes(".")?Bi(s,e):()=>s[e]:e.bind(s,s);let o;q(t)?o=t:(o=t.handler,r=t);const i=ge;Wt(this);const a=wn(n,o.bind(s),r);return i?Wt(i):At(),a}function Bi(e,t){const r=t.split(".");return()=>{let s=e;for(let n=0;n<r.length&&s;n++)s=s[r[n]];return s}}function bt(e,t){if(!oe(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),me(e))bt(e.value,t);else if(j(e))for(let r=0;r<e.length;r++)bt(e[r],t);else if(Yt(e)||Rt(e))e.forEach(r=>{bt(r,t)});else if(li(e))for(const r in e)bt(e[r],t);return e}function fs(e,t){const r=ke;if(r===null)return e;const s=ms(r)||r.proxy,n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,c=ce]=t[o];i&&(q(i)&&(i={mounted:i,updated:i}),i.deep&&bt(a),n.push({dir:i,instance:s,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Je(e,t,r,s){const n=e.dirs,o=t&&t.dirs;for(let i=0;i<n.length;i++){const a=n[i];o&&(a.oldValue=o[i].value);let l=a.dir[s];l&&(Jt(),Ke(l,r,8,[e.el,a,e,t]),zt())}}function Cc(e,t){return q(e)?(()=>ye({name:e.name},t,{setup:e}))():e}const ar=e=>!!e.type.__asyncLoader;function ho(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:s,delay:n=200,timeout:o,suspensible:i=!0,onError:a}=e;let l=null,c,u=0;const h=()=>(u++,l=null,p()),p=()=>{let m;return l||(m=l=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),a)return new Promise((P,K)=>{a(_,()=>P(h()),()=>K(_),u+1)});throw _}).then(_=>m!==l&&l?l:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return Cc({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const m=ge;if(c)return()=>xs(c,m);const _=T=>{l=null,Qt(T,m,13,!s)};if(i&&m.suspense||Kt)return p().then(T=>()=>xs(T,m)).catch(T=>(_(T),()=>s?te(s,{error:T}):null));const P=ht(!1),K=ht(),v=ht(!!n);return n&&setTimeout(()=>{v.value=!1},n),o!=null&&setTimeout(()=>{if(!P.value&&!K.value){const T=new Error(`Async component timed out after ${o}ms.`);_(T),K.value=T}},o),p().then(()=>{P.value=!0,m.parent&&Sn(m.parent.vnode)&&us(m.parent.update)}).catch(T=>{_(T),K.value=T}),()=>{if(P.value&&c)return xs(c,m);if(K.value&&s)return te(s,{error:K.value});if(r&&!v.value)return te(r)}}})}function xs(e,t){const{ref:r,props:s,children:n,ce:o}=t.vnode,i=te(e,s,n);return i.ref=r,i.ce=o,delete t.vnode.ce,i}const Sn=e=>e.type.__isKeepAlive;function Fi(e,t){Ui(e,"a",t)}function ji(e,t){Ui(e,"da",t)}function Ui(e,t,r=ge){const s=e.__wdc||(e.__wdc=()=>{let n=r;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(ps(t,s,r),r){let n=r.parent;for(;n&&n.parent;)Sn(n.parent.vnode)&&Lc(s,t,r,n),n=n.parent}}function Lc(e,t,r,s){const n=ps(t,e,s,!0);Ki(()=>{un(s[t],n)},r)}function ps(e,t,r=ge,s=!1){if(r){const n=r[e]||(r[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(r.isUnmounted)return;Jt(),Wt(r);const a=Ke(t,r,e,i);return At(),zt(),a});return s?n.unshift(o):n.push(o),o}}const nt=e=>(t,r=ge)=>(!Kt||e==="sp")&&ps(e,(...s)=>t(...s),r),kc=nt("bm"),$i=nt("m"),Ec=nt("bu"),Ic=nt("u"),Wi=nt("bum"),Ki=nt("um"),Dc=nt("sp"),Rc=nt("rtg"),Oc=nt("rtc");function Vi(e,t=ge){ps("ec",e,t)}const Pn="components";function Ft(e,t){return Yi(Pn,e,!0,t)||e}const qi=Symbol.for("v-ndc");function Nc(e){return de(e)?Yi(Pn,e,!1)||e:e||qi}function Yi(e,t,r=!0,s=!1){const n=ke||ge;if(n){const o=n.type;if(e===Pn){const a=du(o,!1);if(a&&(a===t||a===Xe(t)||a===ls(Xe(t))))return o}const i=fo(n[e]||o[e],t)||fo(n.appContext[e],t);return!i&&s?o:i}}function fo(e,t){return e&&(e[t]||e[Xe(t)]||e[ls(Xe(t))])}function $e(e,t,r,s){let n;const o=r&&r[s];if(j(e)||de(e)){n=new Array(e.length);for(let i=0,a=e.length;i<a;i++)n[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){n=new Array(e);for(let i=0;i<e;i++)n[i]=t(i+1,i,void 0,o&&o[i])}else if(oe(e))if(e[Symbol.iterator])n=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);n=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];n[a]=t(e[c],c,a,o&&o[a])}}else n=[];return r&&(r[s]=n),n}const Fs=e=>e?la(e)?ms(e)||e.proxy:Fs(e.parent):null,lr=ye(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fs(e.parent),$root:e=>Fs(e.root),$emit:e=>e.emit,$options:e=>Cn(e),$forceUpdate:e=>e.f||(e.f=()=>us(e.update)),$nextTick:e=>e.n||(e.n=vn.bind(e.proxy)),$watch:e=>Pc.bind(e)}),ws=(e,t)=>e!==ce&&!e.__isScriptSetup&&Z(e,t),Hc={get({_:e},t){const{ctx:r,setupState:s,data:n,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return n[t];case 4:return r[t];case 3:return o[t]}else{if(ws(s,t))return i[t]=1,s[t];if(n!==ce&&Z(n,t))return i[t]=2,n[t];if((c=e.propsOptions[0])&&Z(c,t))return i[t]=3,o[t];if(r!==ce&&Z(r,t))return i[t]=4,r[t];js&&(i[t]=0)}}const u=lr[t];let h,p;if(u)return t==="$attrs"&&Ee(e,"get",t),u(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(r!==ce&&Z(r,t))return i[t]=4,r[t];if(p=l.config.globalProperties,Z(p,t))return p[t]},set({_:e},t,r){const{data:s,setupState:n,ctx:o}=e;return ws(n,t)?(n[t]=r,!0):s!==ce&&Z(s,t)?(s[t]=r,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:s,appContext:n,propsOptions:o}},i){let a;return!!r[i]||e!==ce&&Z(e,i)||ws(t,i)||(a=o[0])&&Z(a,i)||Z(s,i)||Z(lr,i)||Z(n.config.globalProperties,i)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Z(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function po(e){return j(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let js=!0;function Mc(e){const t=Cn(e),r=e.proxy,s=e.ctx;js=!1,t.beforeCreate&&go(t.beforeCreate,e,"bc");const{data:n,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:h,mounted:p,beforeUpdate:m,updated:_,activated:P,deactivated:K,beforeDestroy:v,beforeUnmount:T,destroyed:H,unmounted:x,render:O,renderTracked:Y,renderTriggered:M,errorCaptured:I,serverPrefetch:V,expose:Q,inheritAttrs:X,components:xe,directives:ue,filters:U}=t;if(c&&Bc(c,s,null),i)for(const ie in i){const ae=i[ie];q(ae)&&(s[ie]=ae.bind(r))}if(n){const ie=n.call(r,r);oe(ie)&&(e.data=st(ie))}if(js=!0,o)for(const ie in o){const ae=o[ie],gt=q(ae)?ae.bind(r,r):q(ae.get)?ae.get.bind(r,r):We,Pr=!q(ae)&&q(ae.set)?ae.set.bind(r):We,mt=pu({get:gt,set:Pr});Object.defineProperty(s,ie,{enumerable:!0,configurable:!0,get:()=>mt.value,set:Ye=>mt.value=Ye})}if(a)for(const ie in a)Gi(a[ie],s,r,ie);if(l){const ie=q(l)?l.call(r):l;Reflect.ownKeys(ie).forEach(ae=>{Ln(ae,ie[ae])})}u&&go(u,e,"c");function re(ie,ae){j(ae)?ae.forEach(gt=>ie(gt.bind(r))):ae&&ie(ae.bind(r))}if(re(kc,h),re($i,p),re(Ec,m),re(Ic,_),re(Fi,P),re(ji,K),re(Vi,I),re(Oc,Y),re(Rc,M),re(Wi,T),re(Ki,x),re(Dc,V),j(Q))if(Q.length){const ie=e.exposed||(e.exposed={});Q.forEach(ae=>{Object.defineProperty(ie,ae,{get:()=>r[ae],set:gt=>r[ae]=gt})})}else e.exposed||(e.exposed={});O&&e.render===We&&(e.render=O),X!=null&&(e.inheritAttrs=X),xe&&(e.components=xe),ue&&(e.directives=ue)}function Bc(e,t,r=We){j(e)&&(e=Us(e));for(const s in e){const n=e[s];let o;oe(n)?"default"in n?o=Bt(n.from||s,n.default,!0):o=Bt(n.from||s):o=Bt(n),me(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function go(e,t,r){Ke(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,r)}function Gi(e,t,r,s){const n=s.includes(".")?Bi(r,s):()=>r[s];if(de(e)){const o=t[e];q(o)&&Mt(n,o)}else if(q(e))Mt(n,e.bind(r));else if(oe(e))if(j(e))e.forEach(o=>Gi(o,t,r,s));else{const o=q(e.handler)?e.handler.bind(r):t[e.handler];q(o)&&Mt(n,o,e)}}function Cn(e){const t=e.type,{mixins:r,extends:s}=t,{mixins:n,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!n.length&&!r&&!s?l=t:(l={},n.length&&n.forEach(c=>Qr(l,c,i,!0)),Qr(l,t,i)),oe(t)&&o.set(t,l),l}function Qr(e,t,r,s=!1){const{mixins:n,extends:o}=t;o&&Qr(e,o,r,!0),n&&n.forEach(i=>Qr(e,i,r,!0));for(const i in t)if(!(s&&i==="expose")){const a=Fc[i]||r&&r[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Fc={data:mo,props:_o,emits:_o,methods:nr,computed:nr,beforeCreate:we,created:we,beforeMount:we,mounted:we,beforeUpdate:we,updated:we,beforeDestroy:we,beforeUnmount:we,destroyed:we,unmounted:we,activated:we,deactivated:we,errorCaptured:we,serverPrefetch:we,components:nr,directives:nr,watch:Uc,provide:mo,inject:jc};function mo(e,t){return t?e?function(){return ye(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function jc(e,t){return nr(Us(e),Us(t))}function Us(e){if(j(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function we(e,t){return e?[...new Set([].concat(e,t))]:t}function nr(e,t){return e?ye(Object.create(null),e,t):t}function _o(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:ye(Object.create(null),po(e),po(t??{})):t}function Uc(e,t){if(!e)return t;if(!t)return e;const r=ye(Object.create(null),e);for(const s in t)r[s]=we(e[s],t[s]);return r}function Ji(){return{app:null,config:{isNativeTag:ul,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let $c=0;function Wc(e,t){return function(s,n=null){q(s)||(s=ye({},s)),n!=null&&!oe(n)&&(n=null);const o=Ji(),i=new Set;let a=!1;const l=o.app={_uid:$c++,_component:s,_props:n,_container:null,_context:o,_instance:null,version:ua,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&q(c.install)?(i.add(c),c.install(l,...u)):q(c)&&(i.add(c),c(l,...u))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,u){return u?(o.components[c]=u,l):o.components[c]},directive(c,u){return u?(o.directives[c]=u,l):o.directives[c]},mount(c,u,h){if(!a){const p=te(s,n);return p.appContext=o,u&&t?t(p,c):e(p,c,h),a=!0,l._container=c,c.__vue_app__=l,ms(p.component)||p.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return o.provides[c]=u,l},runWithContext(c){Tr=l;try{return c()}finally{Tr=null}}};return l}}let Tr=null;function Ln(e,t){if(ge){let r=ge.provides;const s=ge.parent&&ge.parent.provides;s===r&&(r=ge.provides=Object.create(s)),r[e]=t}}function Bt(e,t,r=!1){const s=ge||ke;if(s||Tr){const n=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Tr._context.provides;if(n&&e in n)return n[e];if(arguments.length>1)return r&&q(t)?t.call(s&&s.proxy):t}}function zi(){return!!(ge||ke||Tr)}function Kc(e,t,r,s=!1){const n={},o={};qr(o,gs,1),e.propsDefaults=Object.create(null),Qi(e,t,n,o);for(const i in e.propsOptions[0])i in n||(n[i]=void 0);r?e.props=s?n:Ai(n):e.type.props?e.props=n:e.props=o,e.attrs=o}function Vc(e,t,r,s){const{props:n,attrs:o,vnode:{patchFlag:i}}=e,a=ee(n),[l]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let p=u[h];if(hs(e.emitsOptions,p))continue;const m=t[p];if(l)if(Z(o,p))m!==o[p]&&(o[p]=m,c=!0);else{const _=Xe(p);n[_]=$s(l,a,_,m,e,!1)}else m!==o[p]&&(o[p]=m,c=!0)}}}else{Qi(e,t,n,o)&&(c=!0);let u;for(const h in a)(!t||!Z(t,h)&&((u=Gt(h))===h||!Z(t,u)))&&(l?r&&(r[h]!==void 0||r[u]!==void 0)&&(n[h]=$s(l,a,h,void 0,e,!0)):delete n[h]);if(o!==a)for(const h in o)(!t||!Z(t,h))&&(delete o[h],c=!0)}c&&rt(e,"set","$attrs")}function Qi(e,t,r,s){const[n,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(ir(l))continue;const c=t[l];let u;n&&Z(n,u=Xe(l))?!o||!o.includes(u)?r[u]=c:(a||(a={}))[u]=c:hs(e.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,i=!0)}if(o){const l=ee(r),c=a||ce;for(let u=0;u<o.length;u++){const h=o[u];r[h]=$s(n,l,h,c[h],e,!Z(c,h))}}return i}function $s(e,t,r,s,n,o){const i=e[r];if(i!=null){const a=Z(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&q(l)){const{propsDefaults:c}=n;r in c?s=c[r]:(Wt(n),s=c[r]=l.call(null,t),At())}else s=l}i[0]&&(o&&!a?s=!1:i[1]&&(s===""||s===Gt(r))&&(s=!0))}return s}function Xi(e,t,r=!1){const s=t.propsCache,n=s.get(e);if(n)return n;const o=e.props,i={},a=[];let l=!1;if(!q(e)){const u=h=>{l=!0;const[p,m]=Xi(h,t,!0);ye(i,p),m&&a.push(...m)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return oe(e)&&s.set(e,Dt),Dt;if(j(o))for(let u=0;u<o.length;u++){const h=Xe(o[u]);yo(h)&&(i[h]=ce)}else if(o)for(const u in o){const h=Xe(u);if(yo(h)){const p=o[u],m=i[h]=j(p)||q(p)?{type:p}:ye({},p);if(m){const _=vo(Boolean,m.type),P=vo(String,m.type);m[0]=_>-1,m[1]=P<0||_<P,(_>-1||Z(m,"default"))&&a.push(h)}}}const c=[i,a];return oe(e)&&s.set(e,c),c}function yo(e){return e[0]!=="$"}function To(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function bo(e,t){return To(e)===To(t)}function vo(e,t){return j(t)?t.findIndex(r=>bo(r,e)):q(t)&&bo(t,e)?0:-1}const Zi=e=>e[0]==="_"||e==="$stable",kn=e=>j(e)?e.map(He):[He(e)],qc=(e,t,r)=>{if(t._n)return t;const s=Hi((...n)=>kn(t(...n)),r);return s._c=!1,s},ea=(e,t,r)=>{const s=e._ctx;for(const n in e){if(Zi(n))continue;const o=e[n];if(q(o))t[n]=qc(n,o,s);else if(o!=null){const i=kn(o);t[n]=()=>i}}},ta=(e,t)=>{const r=kn(t);e.slots.default=()=>r},Yc=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=ee(t),qr(t,"_",r)):ea(t,e.slots={})}else e.slots={},t&&ta(e,t);qr(e.slots,gs,1)},Gc=(e,t,r)=>{const{vnode:s,slots:n}=e;let o=!0,i=ce;if(s.shapeFlag&32){const a=t._;a?r&&a===1?o=!1:(ye(n,t),!r&&a===1&&delete n._):(o=!t.$stable,ea(t,n)),i=t}else t&&(ta(e,t),i={default:1});if(o)for(const a in n)!Zi(a)&&!(a in i)&&delete n[a]};function Xr(e,t,r,s,n=!1){if(j(e)){e.forEach((p,m)=>Xr(p,t&&(j(t)?t[m]:t),r,s,n));return}if(ar(s)&&!n)return;const o=s.shapeFlag&4?ms(s.component)||s.component.proxy:s.el,i=n?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===ce?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(de(c)?(u[c]=null,Z(h,c)&&(h[c]=null)):me(c)&&(c.value=null)),q(l))dt(l,a,12,[i,u]);else{const p=de(l),m=me(l);if(p||m){const _=()=>{if(e.f){const P=p?Z(h,l)?h[l]:u[l]:l.value;n?j(P)&&un(P,o):j(P)?P.includes(o)||P.push(o):p?(u[l]=[o],Z(h,l)&&(h[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else p?(u[l]=i,Z(h,l)&&(h[l]=i)):m&&(l.value=i,e.k&&(u[e.k]=i))};i?(_.id=-1,Ce(_,r)):_()}}}let at=!1;const Or=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Nr=e=>e.nodeType===8;function Jc(e){const{mt:t,p:r,o:{patchProp:s,createText:n,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(v,T)=>{if(!T.hasChildNodes()){r(null,v,T),Jr(),T._vnode=v;return}at=!1,h(T.firstChild,v,null,null,null),Jr(),T._vnode=v,at&&console.error("Hydration completed but contains mismatches.")},h=(v,T,H,x,O,Y=!1)=>{const M=Nr(v)&&v.data==="[",I=()=>P(v,T,H,x,O,M),{type:V,ref:Q,shapeFlag:X,patchFlag:xe}=T;let ue=v.nodeType;T.el=v,xe===-2&&(Y=!1,T.dynamicChildren=null);let U=null;switch(V){case jt:ue!==3?T.children===""?(l(T.el=n(""),i(v),v),U=v):U=I():(v.data!==T.children&&(at=!0,v.data=T.children),U=o(v));break;case Ze:ue!==8||M?U=I():U=o(v);break;case Kr:if(M&&(v=o(v),ue=v.nodeType),ue===1||ue===3){U=v;const De=!T.children.length;for(let re=0;re<T.staticCount;re++)De&&(T.children+=U.nodeType===1?U.outerHTML:U.data),re===T.staticCount-1&&(T.anchor=U),U=o(U);return M?o(U):U}else I();break;case he:M?U=_(v,T,H,x,O,Y):U=I();break;default:if(X&1)ue!==1||T.type.toLowerCase()!==v.tagName.toLowerCase()?U=I():U=p(v,T,H,x,O,Y);else if(X&6){T.slotScopeIds=O;const De=i(v);if(t(T,De,null,H,x,Or(De),Y),U=M?K(v):o(v),U&&Nr(U)&&U.data==="teleport end"&&(U=o(U)),ar(T)){let re;M?(re=te(he),re.anchor=U?U.previousSibling:De.lastChild):re=v.nodeType===3?In(""):te("div"),re.el=v,T.component.subTree=re}}else X&64?ue!==8?U=I():U=T.type.hydrate(v,T,H,x,O,Y,e,m):X&128&&(U=T.type.hydrate(v,T,H,x,Or(i(v)),O,Y,e,h))}return Q!=null&&Xr(Q,null,x,T),U},p=(v,T,H,x,O,Y)=>{Y=Y||!!T.dynamicChildren;const{type:M,props:I,patchFlag:V,shapeFlag:Q,dirs:X}=T,xe=M==="input"&&X||M==="option";if(xe||V!==-1){if(X&&Je(T,null,H,"created"),I)if(xe||!Y||V&48)for(const U in I)(xe&&U.endsWith("value")||vr(U)&&!ir(U))&&s(v,U,null,I[U],!1,void 0,H);else I.onClick&&s(v,"onClick",null,I.onClick,!1,void 0,H);let ue;if((ue=I&&I.onVnodeBeforeMount)&&Ne(ue,H,T),X&&Je(T,null,H,"beforeMount"),((ue=I&&I.onVnodeMounted)||X)&&Mi(()=>{ue&&Ne(ue,H,T),X&&Je(T,null,H,"mounted")},x),Q&16&&!(I&&(I.innerHTML||I.textContent))){let U=m(v.firstChild,T,v,H,x,O,Y);for(;U;){at=!0;const De=U;U=U.nextSibling,a(De)}}else Q&8&&v.textContent!==T.children&&(at=!0,v.textContent=T.children)}return v.nextSibling},m=(v,T,H,x,O,Y,M)=>{M=M||!!T.dynamicChildren;const I=T.children,V=I.length;for(let Q=0;Q<V;Q++){const X=M?I[Q]:I[Q]=He(I[Q]);if(v)v=h(v,X,x,O,Y,M);else{if(X.type===jt&&!X.children)continue;at=!0,r(null,X,H,null,x,O,Or(H),Y)}}return v},_=(v,T,H,x,O,Y)=>{const{slotScopeIds:M}=T;M&&(O=O?O.concat(M):M);const I=i(v),V=m(o(v),T,I,H,x,O,Y);return V&&Nr(V)&&V.data==="]"?o(T.anchor=V):(at=!0,l(T.anchor=c("]"),I,V),V)},P=(v,T,H,x,O,Y)=>{if(at=!0,T.el=null,Y){const V=K(v);for(;;){const Q=o(v);if(Q&&Q!==V)a(Q);else break}}const M=o(v),I=i(v);return a(v),r(null,T,I,M,H,x,Or(I),O),M},K=v=>{let T=0;for(;v;)if(v=o(v),v&&Nr(v)&&(v.data==="["&&T++,v.data==="]")){if(T===0)return o(v);T--}return v};return[u,h]}const Ce=Mi;function zc(e){return ra(e)}function Qc(e){return ra(e,Jc)}function ra(e,t){const r=Os();r.__VUE__=!0;const{insert:s,remove:n,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:p,setScopeId:m=We,insertStaticContent:_}=e,P=(d,f,y,A=null,b=null,L=null,D=!1,C=null,E=!!f.dynamicChildren)=>{if(d===f)return;d&&!ct(d,f)&&(A=Cr(d),Ye(d,b,L,!0),d=null),f.patchFlag===-2&&(E=!1,f.dynamicChildren=null);const{type:S,ref:B,shapeFlag:N}=f;switch(S){case jt:K(d,f,y,A);break;case Ze:v(d,f,y,A);break;case Kr:d==null&&T(f,y,A,D);break;case he:xe(d,f,y,A,b,L,D,C,E);break;default:N&1?O(d,f,y,A,b,L,D,C,E):N&6?ue(d,f,y,A,b,L,D,C,E):(N&64||N&128)&&S.process(d,f,y,A,b,L,D,C,E,Ct)}B!=null&&b&&Xr(B,d&&d.ref,L,f||d,!f)},K=(d,f,y,A)=>{if(d==null)s(f.el=a(f.children),y,A);else{const b=f.el=d.el;f.children!==d.children&&c(b,f.children)}},v=(d,f,y,A)=>{d==null?s(f.el=l(f.children||""),y,A):f.el=d.el},T=(d,f,y,A)=>{[d.el,d.anchor]=_(d.children,f,y,A,d.el,d.anchor)},H=({el:d,anchor:f},y,A)=>{let b;for(;d&&d!==f;)b=p(d),s(d,y,A),d=b;s(f,y,A)},x=({el:d,anchor:f})=>{let y;for(;d&&d!==f;)y=p(d),n(d),d=y;n(f)},O=(d,f,y,A,b,L,D,C,E)=>{D=D||f.type==="svg",d==null?Y(f,y,A,b,L,D,C,E):V(d,f,b,L,D,C,E)},Y=(d,f,y,A,b,L,D,C)=>{let E,S;const{type:B,props:N,shapeFlag:F,transition:G,dirs:z}=d;if(E=d.el=i(d.type,L,N&&N.is,N),F&8?u(E,d.children):F&16&&I(d.children,E,null,A,b,L&&B!=="foreignObject",D,C),z&&Je(d,null,A,"created"),M(E,d,d.scopeId,D,A),N){for(const se in N)se!=="value"&&!ir(se)&&o(E,se,null,N[se],L,d.children,A,b,et);"value"in N&&o(E,"value",null,N.value),(S=N.onVnodeBeforeMount)&&Ne(S,A,d)}z&&Je(d,null,A,"beforeMount");const le=(!b||b&&!b.pendingBranch)&&G&&!G.persisted;le&&G.beforeEnter(E),s(E,f,y),((S=N&&N.onVnodeMounted)||le||z)&&Ce(()=>{S&&Ne(S,A,d),le&&G.enter(E),z&&Je(d,null,A,"mounted")},b)},M=(d,f,y,A,b)=>{if(y&&m(d,y),A)for(let L=0;L<A.length;L++)m(d,A[L]);if(b){let L=b.subTree;if(f===L){const D=b.vnode;M(d,D,D.scopeId,D.slotScopeIds,b.parent)}}},I=(d,f,y,A,b,L,D,C,E=0)=>{for(let S=E;S<d.length;S++){const B=d[S]=C?lt(d[S]):He(d[S]);P(null,B,f,y,A,b,L,D,C)}},V=(d,f,y,A,b,L,D)=>{const C=f.el=d.el;let{patchFlag:E,dynamicChildren:S,dirs:B}=f;E|=d.patchFlag&16;const N=d.props||ce,F=f.props||ce;let G;y&&_t(y,!1),(G=F.onVnodeBeforeUpdate)&&Ne(G,y,f,d),B&&Je(f,d,y,"beforeUpdate"),y&&_t(y,!0);const z=b&&f.type!=="foreignObject";if(S?Q(d.dynamicChildren,S,C,y,A,z,L):D||ae(d,f,C,null,y,A,z,L,!1),E>0){if(E&16)X(C,f,N,F,y,A,b);else if(E&2&&N.class!==F.class&&o(C,"class",null,F.class,b),E&4&&o(C,"style",N.style,F.style,b),E&8){const le=f.dynamicProps;for(let se=0;se<le.length;se++){const fe=le[se],Fe=N[fe],Lt=F[fe];(Lt!==Fe||fe==="value")&&o(C,fe,Fe,Lt,b,d.children,y,A,et)}}E&1&&d.children!==f.children&&u(C,f.children)}else!D&&S==null&&X(C,f,N,F,y,A,b);((G=F.onVnodeUpdated)||B)&&Ce(()=>{G&&Ne(G,y,f,d),B&&Je(f,d,y,"updated")},A)},Q=(d,f,y,A,b,L,D)=>{for(let C=0;C<f.length;C++){const E=d[C],S=f[C],B=E.el&&(E.type===he||!ct(E,S)||E.shapeFlag&70)?h(E.el):y;P(E,S,B,null,A,b,L,D,!0)}},X=(d,f,y,A,b,L,D)=>{if(y!==A){if(y!==ce)for(const C in y)!ir(C)&&!(C in A)&&o(d,C,y[C],null,D,f.children,b,L,et);for(const C in A){if(ir(C))continue;const E=A[C],S=y[C];E!==S&&C!=="value"&&o(d,C,S,E,D,f.children,b,L,et)}"value"in A&&o(d,"value",y.value,A.value)}},xe=(d,f,y,A,b,L,D,C,E)=>{const S=f.el=d?d.el:a(""),B=f.anchor=d?d.anchor:a("");let{patchFlag:N,dynamicChildren:F,slotScopeIds:G}=f;G&&(C=C?C.concat(G):G),d==null?(s(S,y,A),s(B,y,A),I(f.children,y,B,b,L,D,C,E)):N>0&&N&64&&F&&d.dynamicChildren?(Q(d.dynamicChildren,F,y,b,L,D,C),(f.key!=null||b&&f===b.subTree)&&En(d,f,!0)):ae(d,f,y,B,b,L,D,C,E)},ue=(d,f,y,A,b,L,D,C,E)=>{f.slotScopeIds=C,d==null?f.shapeFlag&512?b.ctx.activate(f,y,A,D,E):U(f,y,A,b,L,D,E):De(d,f,E)},U=(d,f,y,A,b,L,D)=>{const C=d.component=au(d,A,b);if(Sn(d)&&(C.ctx.renderer=Ct),lu(C),C.asyncDep){if(b&&b.registerDep(C,re),!d.el){const E=C.subTree=te(Ze);v(null,E,f,y)}return}re(C,d,f,y,b,L,D)},De=(d,f,y)=>{const A=f.component=d.component;if(mc(d,f,y))if(A.asyncDep&&!A.asyncResolved){ie(A,f,y);return}else A.next=f,uc(A.update),A.update();else f.el=d.el,A.vnode=f},re=(d,f,y,A,b,L,D)=>{const C=()=>{if(d.isMounted){let{next:B,bu:N,u:F,parent:G,vnode:z}=d,le=B,se;_t(d,!1),B?(B.el=z.el,ie(d,B,D)):B=z,N&&Wr(N),(se=B.props&&B.props.onVnodeBeforeUpdate)&&Ne(se,G,B,z),_t(d,!0);const fe=As(d),Fe=d.subTree;d.subTree=fe,P(Fe,fe,h(Fe.el),Cr(Fe),d,b,L),B.el=fe.el,le===null&&An(d,fe.el),F&&Ce(F,b),(se=B.props&&B.props.onVnodeUpdated)&&Ce(()=>Ne(se,G,B,z),b)}else{let B;const{el:N,props:F}=f,{bm:G,m:z,parent:le}=d,se=ar(f);if(_t(d,!1),G&&Wr(G),!se&&(B=F&&F.onVnodeBeforeMount)&&Ne(B,le,f),_t(d,!0),N&&bs){const fe=()=>{d.subTree=As(d),bs(N,d.subTree,d,b,null)};se?f.type.__asyncLoader().then(()=>!d.isUnmounted&&fe()):fe()}else{const fe=d.subTree=As(d);P(null,fe,y,A,d,b,L),f.el=fe.el}if(z&&Ce(z,b),!se&&(B=F&&F.onVnodeMounted)){const fe=f;Ce(()=>Ne(B,le,fe),b)}(f.shapeFlag&256||le&&ar(le.vnode)&&le.vnode.shapeFlag&256)&&d.a&&Ce(d.a,b),d.isMounted=!0,f=y=A=null}},E=d.effect=new pn(C,()=>us(S),d.scope),S=d.update=()=>E.run();S.id=d.uid,_t(d,!0),S()},ie=(d,f,y)=>{f.component=d;const A=d.vnode.props;d.vnode=f,d.next=null,Vc(d,f.props,A,y),Gc(d,f.children,y),Jt(),lo(),zt()},ae=(d,f,y,A,b,L,D,C,E=!1)=>{const S=d&&d.children,B=d?d.shapeFlag:0,N=f.children,{patchFlag:F,shapeFlag:G}=f;if(F>0){if(F&128){Pr(S,N,y,A,b,L,D,C,E);return}else if(F&256){gt(S,N,y,A,b,L,D,C,E);return}}G&8?(B&16&&et(S,b,L),N!==S&&u(y,N)):B&16?G&16?Pr(S,N,y,A,b,L,D,C,E):et(S,b,L,!0):(B&8&&u(y,""),G&16&&I(N,y,A,b,L,D,C,E))},gt=(d,f,y,A,b,L,D,C,E)=>{d=d||Dt,f=f||Dt;const S=d.length,B=f.length,N=Math.min(S,B);let F;for(F=0;F<N;F++){const G=f[F]=E?lt(f[F]):He(f[F]);P(d[F],G,y,null,b,L,D,C,E)}S>B?et(d,b,L,!0,!1,N):I(f,y,A,b,L,D,C,E,N)},Pr=(d,f,y,A,b,L,D,C,E)=>{let S=0;const B=f.length;let N=d.length-1,F=B-1;for(;S<=N&&S<=F;){const G=d[S],z=f[S]=E?lt(f[S]):He(f[S]);if(ct(G,z))P(G,z,y,null,b,L,D,C,E);else break;S++}for(;S<=N&&S<=F;){const G=d[N],z=f[F]=E?lt(f[F]):He(f[F]);if(ct(G,z))P(G,z,y,null,b,L,D,C,E);else break;N--,F--}if(S>N){if(S<=F){const G=F+1,z=G<B?f[G].el:A;for(;S<=F;)P(null,f[S]=E?lt(f[S]):He(f[S]),y,z,b,L,D,C,E),S++}}else if(S>F)for(;S<=N;)Ye(d[S],b,L,!0),S++;else{const G=S,z=S,le=new Map;for(S=z;S<=F;S++){const Re=f[S]=E?lt(f[S]):He(f[S]);Re.key!=null&&le.set(Re.key,S)}let se,fe=0;const Fe=F-z+1;let Lt=!1,Jn=0;const Zt=new Array(Fe);for(S=0;S<Fe;S++)Zt[S]=0;for(S=G;S<=N;S++){const Re=d[S];if(fe>=Fe){Ye(Re,b,L,!0);continue}let Ge;if(Re.key!=null)Ge=le.get(Re.key);else for(se=z;se<=F;se++)if(Zt[se-z]===0&&ct(Re,f[se])){Ge=se;break}Ge===void 0?Ye(Re,b,L,!0):(Zt[Ge-z]=S+1,Ge>=Jn?Jn=Ge:Lt=!0,P(Re,f[Ge],y,null,b,L,D,C,E),fe++)}const zn=Lt?Xc(Zt):Dt;for(se=zn.length-1,S=Fe-1;S>=0;S--){const Re=z+S,Ge=f[Re],Qn=Re+1<B?f[Re+1].el:A;Zt[S]===0?P(null,Ge,y,Qn,b,L,D,C,E):Lt&&(se<0||S!==zn[se]?mt(Ge,y,Qn,2):se--)}}},mt=(d,f,y,A,b=null)=>{const{el:L,type:D,transition:C,children:E,shapeFlag:S}=d;if(S&6){mt(d.component.subTree,f,y,A);return}if(S&128){d.suspense.move(f,y,A);return}if(S&64){D.move(d,f,y,Ct);return}if(D===he){s(L,f,y);for(let N=0;N<E.length;N++)mt(E[N],f,y,A);s(d.anchor,f,y);return}if(D===Kr){H(d,f,y);return}if(A!==2&&S&1&&C)if(A===0)C.beforeEnter(L),s(L,f,y),Ce(()=>C.enter(L),b);else{const{leave:N,delayLeave:F,afterLeave:G}=C,z=()=>s(L,f,y),le=()=>{N(L,()=>{z(),G&&G()})};F?F(L,z,le):le()}else s(L,f,y)},Ye=(d,f,y,A=!1,b=!1)=>{const{type:L,props:D,ref:C,children:E,dynamicChildren:S,shapeFlag:B,patchFlag:N,dirs:F}=d;if(C!=null&&Xr(C,null,y,d,!0),B&256){f.ctx.deactivate(d);return}const G=B&1&&F,z=!ar(d);let le;if(z&&(le=D&&D.onVnodeBeforeUnmount)&&Ne(le,f,d),B&6)cl(d.component,y,A);else{if(B&128){d.suspense.unmount(y,A);return}G&&Je(d,null,f,"beforeUnmount"),B&64?d.type.remove(d,f,y,b,Ct,A):S&&(L!==he||N>0&&N&64)?et(S,f,y,!1,!0):(L===he&&N&384||!b&&B&16)&&et(E,f,y),A&&Yn(d)}(z&&(le=D&&D.onVnodeUnmounted)||G)&&Ce(()=>{le&&Ne(le,f,d),G&&Je(d,null,f,"unmounted")},y)},Yn=d=>{const{type:f,el:y,anchor:A,transition:b}=d;if(f===he){ll(y,A);return}if(f===Kr){x(d);return}const L=()=>{n(y),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(d.shapeFlag&1&&b&&!b.persisted){const{leave:D,delayLeave:C}=b,E=()=>D(y,L);C?C(d.el,L,E):E()}else L()},ll=(d,f)=>{let y;for(;d!==f;)y=p(d),n(d),d=y;n(f)},cl=(d,f,y)=>{const{bum:A,scope:b,update:L,subTree:D,um:C}=d;A&&Wr(A),b.stop(),L&&(L.active=!1,Ye(D,d,f,y)),C&&Ce(C,f),Ce(()=>{d.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},et=(d,f,y,A=!1,b=!1,L=0)=>{for(let D=L;D<d.length;D++)Ye(d[D],f,y,A,b)},Cr=d=>d.shapeFlag&6?Cr(d.component.subTree):d.shapeFlag&128?d.suspense.next():p(d.anchor||d.el),Gn=(d,f,y)=>{d==null?f._vnode&&Ye(f._vnode,null,null,!0):P(f._vnode||null,d,f,null,null,null,y),lo(),Jr(),f._vnode=d},Ct={p:P,um:Ye,m:mt,r:Yn,mt:U,mc:I,pc:ae,pbc:Q,n:Cr,o:e};let Ts,bs;return t&&([Ts,bs]=t(Ct)),{render:Gn,hydrate:Ts,createApp:Wc(Gn,Ts)}}function _t({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function En(e,t,r=!1){const s=e.children,n=t.children;if(j(s)&&j(n))for(let o=0;o<s.length;o++){const i=s[o];let a=n[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=n[o]=lt(n[o]),a.el=i.el),r||En(i,a)),a.type===jt&&(a.el=i.el)}}function Xc(e){const t=e.slice(),r=[0];let s,n,o,i,a;const l=e.length;for(s=0;s<l;s++){const c=e[s];if(c!==0){if(n=r[r.length-1],e[n]<c){t[s]=n,r.push(s);continue}for(o=0,i=r.length-1;o<i;)a=o+i>>1,e[r[a]]<c?o=a+1:i=a;c<e[r[o]]&&(o>0&&(t[s]=r[o-1]),r[o]=s)}}for(o=r.length,i=r[o-1];o-- >0;)r[o]=i,i=t[i];return r}const Zc=e=>e.__isTeleport,cr=e=>e&&(e.disabled||e.disabled===""),Ao=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ws=(e,t)=>{const r=e&&e.to;return de(r)?t?t(r):null:r},eu={__isTeleport:!0,process(e,t,r,s,n,o,i,a,l,c){const{mc:u,pc:h,pbc:p,o:{insert:m,querySelector:_,createText:P,createComment:K}}=c,v=cr(t.props);let{shapeFlag:T,children:H,dynamicChildren:x}=t;if(e==null){const O=t.el=P(""),Y=t.anchor=P("");m(O,r,s),m(Y,r,s);const M=t.target=Ws(t.props,_),I=t.targetAnchor=P("");M&&(m(I,M),i=i||Ao(M));const V=(Q,X)=>{T&16&&u(H,Q,X,n,o,i,a,l)};v?V(r,Y):M&&V(M,I)}else{t.el=e.el;const O=t.anchor=e.anchor,Y=t.target=e.target,M=t.targetAnchor=e.targetAnchor,I=cr(e.props),V=I?r:Y,Q=I?O:M;if(i=i||Ao(Y),x?(p(e.dynamicChildren,x,V,n,o,i,a),En(e,t,!0)):l||h(e,t,V,Q,n,o,i,a,!1),v)I||Hr(t,r,O,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const X=t.target=Ws(t.props,_);X&&Hr(t,X,null,c,0)}else I&&Hr(t,Y,M,c,1)}sa(t)},remove(e,t,r,s,{um:n,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:h,props:p}=e;if(h&&o(u),(i||!cr(p))&&(o(c),a&16))for(let m=0;m<l.length;m++){const _=l[m];n(_,t,r,!0,!!_.dynamicChildren)}},move:Hr,hydrate:tu};function Hr(e,t,r,{o:{insert:s},m:n},o=2){o===0&&s(e.targetAnchor,t,r);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,h=o===2;if(h&&s(i,t,r),(!h||cr(u))&&l&16)for(let p=0;p<c.length;p++)n(c[p],t,r,2);h&&s(a,t,r)}function tu(e,t,r,s,n,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const u=t.target=Ws(t.props,l);if(u){const h=u._lpa||u.firstChild;if(t.shapeFlag&16)if(cr(t.props))t.anchor=c(i(e),t,a(e),r,s,n,o),t.targetAnchor=h;else{t.anchor=i(e);let p=h;for(;p;)if(p=i(p),p&&p.nodeType===8&&p.data==="teleport anchor"){t.targetAnchor=p,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(h,t,u,r,s,n,o)}sa(t)}return t.anchor&&i(t.anchor)}const ru=eu;function sa(e){const t=e.ctx;if(t&&t.ut){let r=e.children[0].el;for(;r!==e.targetAnchor;)r.nodeType===1&&r.setAttribute("data-v-owner",t.uid),r=r.nextSibling;t.ut()}}const he=Symbol.for("v-fgt"),jt=Symbol.for("v-txt"),Ze=Symbol.for("v-cmt"),Kr=Symbol.for("v-stc"),ur=[];let Be=null;function w(e=!1){ur.push(Be=e?null:[])}function na(){ur.pop(),Be=ur[ur.length-1]||null}let Ut=1;function xo(e){Ut+=e}function oa(e){return e.dynamicChildren=Ut>0?Be||Dt:null,na(),Ut>0&&Be&&Be.push(e),e}function k(e,t,r,s,n,o){return oa(g(e,t,r,s,n,o,!0))}function Ae(e,t,r,s,n){return oa(te(e,t,r,s,n,!0))}function Zr(e){return e?e.__v_isVNode===!0:!1}function ct(e,t){return e.type===t.type&&e.key===t.key}const gs="__vInternal",ia=({key:e})=>e??null,Vr=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?de(e)||me(e)||q(e)?{i:ke,r:e,k:t,f:!!r}:e:null);function g(e,t=null,r=null,s=0,n=null,o=e===he?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ia(t),ref:t&&Vr(t),scopeId:ds,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:ke};return a?(Dn(l,r),o&128&&e.normalize(l)):r&&(l.shapeFlag|=de(r)?8:16),Ut>0&&!i&&Be&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Be.push(l),l}const te=su;function su(e,t=null,r=null,s=0,n=null,o=!1){if((!e||e===qi)&&(e=Ze),Zr(e)){const a=$t(e,t,!0);return r&&Dn(a,r),Ut>0&&!o&&Be&&(a.shapeFlag&6?Be[Be.indexOf(e)]=a:Be.push(a)),a.patchFlag|=-2,a}if(fu(e)&&(e=e.__vccOpts),t){t=aa(t);let{class:a,style:l}=t;a&&!de(a)&&(t.class=ne(a)),oe(l)&&(wi(l)&&!j(l)&&(l=ye({},l)),t.style=xt(l))}const i=de(e)?1:_c(e)?128:Zc(e)?64:oe(e)?4:q(e)?2:0;return g(e,t,r,s,n,i,o,!0)}function aa(e){return e?wi(e)||gs in e?ye({},e):e:null}function $t(e,t,r=!1){const{props:s,ref:n,patchFlag:o,children:i}=e,a=t?nu(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ia(a),ref:t&&t.ref?r&&n?j(n)?n.concat(Vr(t)):[n,Vr(t)]:Vr(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$t(e.ssContent),ssFallback:e.ssFallback&&$t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function In(e=" ",t=0){return te(jt,null,e,t)}function W(e="",t=!1){return t?(w(),Ae(Ze,null,e)):te(Ze,null,e)}function He(e){return e==null||typeof e=="boolean"?te(Ze):j(e)?te(he,null,e.slice()):typeof e=="object"?lt(e):te(jt,null,String(e))}function lt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:$t(e)}function Dn(e,t){let r=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))r=16;else if(typeof t=="object")if(s&65){const n=t.default;n&&(n._c&&(n._d=!1),Dn(e,n()),n._c&&(n._d=!0));return}else{r=32;const n=t._;!n&&!(gs in t)?t._ctx=ke:n===3&&ke&&(ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:ke},r=32):(t=String(t),s&64?(r=16,t=[In(t)]):r=8);e.children=t,e.shapeFlag|=r}function nu(...e){const t={};for(let r=0;r<e.length;r++){const s=e[r];for(const n in s)if(n==="class")t.class!==s.class&&(t.class=ne([t.class,s.class]));else if(n==="style")t.style=xt([t.style,s.style]);else if(vr(n)){const o=t[n],i=s[n];i&&o!==i&&!(j(o)&&o.includes(i))&&(t[n]=o?[].concat(o,i):i)}else n!==""&&(t[n]=s[n])}return t}function Ne(e,t,r,s=null){Ke(e,t,7,[r,s])}const ou=Ji();let iu=0;function au(e,t,r){const s=e.type,n=(t?t.appContext:e.appContext)||ou,o={uid:iu++,vnode:e,type:s,parent:t,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,scope:new Sl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xi(s,n),emitsOptions:Ni(s,n),emit:null,emitted:null,propsDefaults:ce,inheritAttrs:s.inheritAttrs,ctx:ce,data:ce,props:ce,attrs:ce,slots:ce,refs:ce,setupState:ce,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=dc.bind(null,o),e.ce&&e.ce(o),o}let ge=null;const Rn=()=>ge||ke;let On,kt,wo="__VUE_INSTANCE_SETTERS__";(kt=Os()[wo])||(kt=Os()[wo]=[]),kt.push(e=>ge=e),On=e=>{kt.length>1?kt.forEach(t=>t(e)):kt[0](e)};const Wt=e=>{On(e),e.scope.on()},At=()=>{ge&&ge.scope.off(),On(null)};function la(e){return e.vnode.shapeFlag&4}let Kt=!1;function lu(e,t=!1){Kt=t;const{props:r,children:s}=e.vnode,n=la(e);Kc(e,r,n,t),Yc(e,s);const o=n?cu(e,t):void 0;return Kt=!1,o}function cu(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=Si(new Proxy(e.ctx,Hc));const{setup:s}=r;if(s){const n=e.setupContext=s.length>1?hu(e):null;Wt(e),Jt();const o=dt(s,e,0,[e.props,n]);if(zt(),At(),ii(o)){if(o.then(At,At),t)return o.then(i=>{Ks(e,i,t)}).catch(i=>{Qt(i,e,0)});e.asyncDep=o}else Ks(e,o,t)}else ca(e,t)}function Ks(e,t,r){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=ki(t)),ca(e,r)}let So;function ca(e,t,r){const s=e.type;if(!e.render){if(!t&&So&&!s.render){const n=s.template||Cn(e).template;if(n){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,c=ye(ye({isCustomElement:o,delimiters:a},i),l);s.render=So(n,c)}}e.render=s.render||We}Wt(e),Jt(),Mc(e),zt(),At()}function uu(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return Ee(e,"get","$attrs"),t[r]}}))}function hu(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return uu(e)},slots:e.slots,emit:e.emit,expose:t}}function ms(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ki(Si(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in lr)return lr[r](e)},has(t,r){return r in t||r in lr}}))}function du(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function fu(e){return q(e)&&"__vccOpts"in e}const pu=(e,t)=>ac(e,t,Kt);function gu(e,t,r){const s=arguments.length;return s===2?oe(t)&&!j(t)?Zr(t)?te(e,null,[t]):te(e,t):te(e,null,t):(s>3?r=Array.prototype.slice.call(arguments,2):s===3&&Zr(r)&&(r=[r]),te(e,t,r))}const mu=Symbol.for("v-scx"),_u=()=>Bt(mu),ua="3.3.4",yu="http://www.w3.org/2000/svg",Tt=typeof document<"u"?document:null,Po=Tt&&Tt.createElement("template"),Tu={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,s)=>{const n=t?Tt.createElementNS(yu,e):Tt.createElement(e,r?{is:r}:void 0);return e==="select"&&s&&s.multiple!=null&&n.setAttribute("multiple",s.multiple),n},createText:e=>Tt.createTextNode(e),createComment:e=>Tt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Tt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,s,n,o){const i=r?r.previousSibling:t.lastChild;if(n&&(n===o||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),r),!(n===o||!(n=n.nextSibling)););else{Po.innerHTML=s?`<svg>${e}</svg>`:e;const a=Po.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,r)}return[i?i.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function bu(e,t,r){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function vu(e,t,r){const s=e.style,n=de(r);if(r&&!n){if(t&&!de(t))for(const o in t)r[o]==null&&Vs(s,o,"");for(const o in r)Vs(s,o,r[o])}else{const o=s.display;n?t!==r&&(s.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const Co=/\s*!important$/;function Vs(e,t,r){if(j(r))r.forEach(s=>Vs(e,t,s));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const s=Au(e,t);Co.test(r)?e.setProperty(Gt(s),r.replace(Co,""),"important"):e[s]=r}}const Lo=["Webkit","Moz","ms"],Ss={};function Au(e,t){const r=Ss[t];if(r)return r;let s=Xe(t);if(s!=="filter"&&s in e)return Ss[t]=s;s=ls(s);for(let n=0;n<Lo.length;n++){const o=Lo[n]+s;if(o in e)return Ss[t]=o}return t}const ko="http://www.w3.org/1999/xlink";function xu(e,t,r,s,n){if(s&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(ko,t.slice(6,t.length)):e.setAttributeNS(ko,t,r);else{const o=xl(t);r==null||o&&!ui(r)?e.removeAttribute(t):e.setAttribute(t,o?"":r)}}function wu(e,t,r,s,n,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,n,o),e[t]=r??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=r;const c=a==="OPTION"?e.getAttribute("value"):e.value,u=r??"";c!==u&&(e.value=u),r==null&&e.removeAttribute(t);return}let l=!1;if(r===""||r==null){const c=typeof e[t];c==="boolean"?r=ui(r):r==null&&c==="string"?(r="",l=!0):c==="number"&&(r=0,l=!0)}try{e[t]=r}catch{}l&&e.removeAttribute(t)}function Nn(e,t,r,s){e.addEventListener(t,r,s)}function Su(e,t,r,s){e.removeEventListener(t,r,s)}function Pu(e,t,r,s,n=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[a,l]=Cu(t);if(s){const c=o[t]=Eu(s,n);Nn(e,a,c,l)}else i&&(Su(e,a,i,l),o[t]=void 0)}}const Eo=/(?:Once|Passive|Capture)$/;function Cu(e){let t;if(Eo.test(e)){t={};let s;for(;s=e.match(Eo);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Gt(e.slice(2)),t]}let Ps=0;const Lu=Promise.resolve(),ku=()=>Ps||(Lu.then(()=>Ps=0),Ps=Date.now());function Eu(e,t){const r=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=r.attached)return;Ke(Iu(s,r.value),t,5,[s])};return r.value=e,r.attached=ku(),r}function Iu(e,t){if(j(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(s=>n=>!n._stopped&&s&&s(n))}else return t}const Io=/^on[a-z]/,Du=(e,t,r,s,n=!1,o,i,a,l)=>{t==="class"?bu(e,s,n):t==="style"?vu(e,r,s):vr(t)?cn(t)||Pu(e,t,r,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ru(e,t,s,n))?wu(e,t,s,o,i,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),xu(e,t,s,n))};function Ru(e,t,r,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Io.test(t)&&q(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Io.test(t)&&de(r)?!1:t in e}const es=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?r=>Wr(t,r):t},Ou={deep:!0,created(e,t,r){e._assign=es(r),Nn(e,"change",()=>{const s=e._modelValue,n=br(e),o=e.checked,i=e._assign;if(j(s)){const a=dn(s,n),l=a!==-1;if(o&&!l)i(s.concat(n));else if(!o&&l){const c=[...s];c.splice(a,1),i(c)}}else if(Yt(s)){const a=new Set(s);o?a.add(n):a.delete(n),i(a)}else i(ha(e,o))})},mounted:Do,beforeUpdate(e,t,r){e._assign=es(r),Do(e,t,r)}};function Do(e,{value:t,oldValue:r},s){e._modelValue=t,j(t)?e.checked=dn(t,s.props.value)>-1:Yt(t)?e.checked=t.has(s.props.value):t!==r&&(e.checked=xr(t,ha(e,!0)))}const Nu={deep:!0,created(e,{value:t,modifiers:{number:r}},s){const n=Yt(t);Nn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>r?ci(br(i)):br(i));e._assign(e.multiple?n?new Set(o):o:o[0])}),e._assign=es(s)},mounted(e,{value:t}){Ro(e,t)},beforeUpdate(e,t,r){e._assign=es(r)},updated(e,{value:t}){Ro(e,t)}};function Ro(e,t){const r=e.multiple;if(!(r&&!j(t)&&!Yt(t))){for(let s=0,n=e.options.length;s<n;s++){const o=e.options[s],i=br(o);if(r)j(t)?o.selected=dn(t,i)>-1:o.selected=t.has(i);else if(xr(br(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function br(e){return"_value"in e?e._value:e.value}function ha(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const Hu=["ctrl","shift","alt","meta"],Mu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Hu.some(r=>e[`${r}Key`]&&!t.includes(r))},da=(e,t)=>(r,...s)=>{for(let n=0;n<t.length;n++){const o=Mu[t[n]];if(o&&o(r,t))return}return e(r,...s)},fa={beforeMount(e,{value:t},{transition:r}){e._vod=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):er(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:s}){!t!=!r&&(s?t?(s.beforeEnter(e),er(e,!0),s.enter(e)):s.leave(e,()=>{er(e,!1)}):er(e,t))},beforeUnmount(e,{value:t}){er(e,t)}};function er(e,t){e.style.display=t?e._vod:"none"}const pa=ye({patchProp:Du},Tu);let hr,Oo=!1;function Bu(){return hr||(hr=zc(pa))}function Fu(){return hr=Oo?hr:Qc(pa),Oo=!0,hr}const ju=(...e)=>{const t=Bu().createApp(...e),{mount:r}=t;return t.mount=s=>{const n=ga(s);if(!n)return;const o=t._component;!q(o)&&!o.render&&!o.template&&(o.template=n.innerHTML),n.innerHTML="";const i=r(n,!1,n instanceof SVGElement);return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),i},t},Uu=(...e)=>{const t=Fu().createApp(...e),{mount:r}=t;return t.mount=s=>{const n=ga(s);if(n)return r(n,!0,n instanceof SVGElement)},t};function ga(e){return de(e)?document.querySelector(e):e}const $u=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Wu=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Ku=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Vu(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){qu(e);return}return t}function qu(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Yu(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return r.slice(1,-1);const s=r.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s!=="undefined"){if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY;if(!Ku.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if($u.test(e)||Wu.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Vu)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}}const Gu=/#/g,Ju=/&/g,zu=/=/g,ma=/\+/g,Qu=/%5e/gi,Xu=/%60/gi,Zu=/%7c/gi,eh=/%20/gi;function th(e){return encodeURI(""+e).replace(Zu,"|")}function qs(e){return th(typeof e=="string"?e:JSON.stringify(e)).replace(ma,"%2B").replace(eh,"+").replace(Gu,"%23").replace(Ju,"%26").replace(Xu,"`").replace(Qu,"^")}function Cs(e){return qs(e).replace(zu,"%3D")}function ts(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function rh(e){return ts(e.replace(ma," "))}function _a(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const s=r.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const n=ts(s[1]);if(n==="__proto__"||n==="constructor")continue;const o=rh(s[2]||"");typeof t[n]<"u"?Array.isArray(t[n])?t[n].push(o):t[n]=[t[n],o]:t[n]=o}return t}function sh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${Cs(e)}=${qs(r)}`).join("&"):`${Cs(e)}=${qs(t)}`:Cs(e)}function ya(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>sh(t,e[t])).join("&")}const nh=/^\w{2,}:([/\\]{1,2})/,oh=/^\w{2,}:([/\\]{2})?/,ih=/^([/\\]\s*){2,}[^/\\]/;function Hn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?nh.test(e):oh.test(e)||(t.acceptRelative?ih.test(e):!1)}const ah=/\/$|\/\?/;function Ys(e="",t=!1){return t?ah.test(e):e.endsWith("/")}function Ta(e="",t=!1){if(!t)return(Ys(e)?e.slice(0,-1):e)||"/";if(!Ys(e,!0))return e||"/";const[r,...s]=e.split("?");return(r.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")}function Gs(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Ys(e,!0))return e||"/";const[r,...s]=e.split("?");return r+"/"+(s.length>0?`?${s.join("?")}`:"")}function ba(e=""){return e.startsWith("/")}function lh(e=""){return(ba(e)?e.slice(1):e)||"/"}function No(e=""){return ba(e)?e:"/"+e}function ch(e,t){if(Aa(t)||Hn(e))return e;const r=Ta(t);return e.startsWith(r)?e:wr(r,e)}function uh(e,t){if(Aa(t))return e;const r=Ta(t);if(!e.startsWith(r))return e;const s=e.slice(r.length);return s[0]==="/"?s:"/"+s}function va(e,t){const r=_s(e),s={..._a(r.search),...t};return r.search=ya(s),xa(r)}function Aa(e){return!e||e==="/"}function hh(e){return e&&e!=="/"}function wr(e,...t){let r=e||"";for(const s of t.filter(n=>hh(n)))r=r?Gs(r)+lh(s):s;return r}function dh(e,t,r={}){return r.trailingSlash||(e=Gs(e),t=Gs(t)),r.leadingSlash||(e=No(e),t=No(t)),r.encoding||(e=ts(e),t=ts(t)),e===t}function _s(e="",t){if(!Hn(e,{acceptRelative:!0}))return t?_s(t+e):Ho(e);const[r="",s,n=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[o="",i=""]=(n.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:l,hash:c}=Ho(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:o,pathname:a,search:l,hash:c}}function Ho(e=""){const[t="",r="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:s}}function xa(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class fh extends Error{constructor(){super(...arguments),this.name="FetchError"}}function ph(e,t,r){let s="";t&&(s=t.message),e&&r?s=`${s} (${r.status} ${r.statusText} (${e.toString()}))`:e&&(s=`${s} (${e.toString()})`);const n=new fh(s);return Object.defineProperty(n,"request",{get(){return e}}),Object.defineProperty(n,"response",{get(){return r}}),Object.defineProperty(n,"data",{get(){return r&&r._data}}),Object.defineProperty(n,"status",{get(){return r&&r.status}}),Object.defineProperty(n,"statusText",{get(){return r&&r.statusText}}),Object.defineProperty(n,"statusCode",{get(){return r&&r.status}}),Object.defineProperty(n,"statusMessage",{get(){return r&&r.statusText}}),n}const gh=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Mo(e="GET"){return gh.has(e.toUpperCase())}function mh(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const _h=new Set(["image/svg","application/xml","application/xhtml","application/html"]),yh=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Th(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return yh.test(t)?"json":_h.has(t)||t.startsWith("text/")?"text":"blob"}function bh(e,t,r=globalThis.Headers){const s={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(s.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(s.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){s.headers=new r((t==null?void 0:t.headers)||{});for(const[n,o]of new r((e==null?void 0:e.headers)||{}))s.headers.set(n,o)}return s}const vh=new Set([408,409,425,429,500,502,503,504]);function wa(e){const{fetch:t,Headers:r}=e;function s(i){const a=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!a){let c;typeof i.options.retry=="number"?c=i.options.retry:c=Mo(i.options.method)?0:1;const u=i.response&&i.response.status||500;if(c>0&&vh.has(u))return n(i.request,{...i.options,retry:c-1})}const l=ph(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(l,n),l}const n=async function(a,l={}){const c={request:a,options:bh(l,e.defaults,r),response:void 0,error:void 0};c.options.onRequest&&await c.options.onRequest(c),typeof c.request=="string"&&(c.options.baseURL&&(c.request=ch(c.request,c.options.baseURL)),(c.options.query||c.options.params)&&(c.request=va(c.request,{...c.options.params,...c.options.query})),c.options.body&&Mo(c.options.method)&&mh(c.options.body)&&(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new r(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")));try{c.response=await t(c.request,c.options)}catch(h){return c.error=h,c.options.onRequestError&&await c.options.onRequestError(c),await s(c)}const u=(c.options.parseResponse?"json":c.options.responseType)||Th(c.response.headers.get("content-type")||"");if(u==="json"){const h=await c.response.text(),p=c.options.parseResponse||Yu;c.response._data=p(h)}else u==="stream"?c.response._data=c.response.body:c.response._data=await c.response[u]();return c.options.onResponse&&await c.options.onResponse(c),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await c.options.onResponseError(c),await s(c)):c.response},o=async function(a,l){return(await n(a,l))._data};return o.raw=n,o.native=t,o.create=(i={})=>wa({...e,defaults:{...e.defaults,...i}}),o}const Sa=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Ah=Sa.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),xh=Sa.Headers,wh=wa({fetch:Ah,Headers:xh}),Sh=wh,Ph=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},rs=Ph().app,Ch=()=>rs.baseURL,Lh=()=>rs.buildAssetsDir,kh=(...e)=>wr(Pa(),Lh(),...e),Pa=(...e)=>{const t=rs.cdnURL||rs.baseURL;return e.length?wr(t,...e):t};globalThis.__buildAssetsURL=kh,globalThis.__publicAssetsURL=Pa;function Js(e,t={},r){for(const s in e){const n=e[s],o=r?`${r}:${s}`:s;typeof n=="object"&&n!==null?Js(n,t,o):typeof n=="function"&&(t[o]=n)}return t}const Eh={run:e=>e()},Ih=()=>Eh,Ca=typeof console.createTask<"u"?console.createTask:Ih;function Dh(e,t){const r=t.shift(),s=Ca(r);return e.reduce((n,o)=>n.then(()=>s.run(()=>o(...t))),Promise.resolve())}function Rh(e,t){const r=t.shift(),s=Ca(r);return Promise.all(e.map(n=>s.run(()=>n(...t))))}function Ls(e,t){for(const r of[...e])r(t)}class Oh{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,s={}){if(!t||typeof r!="function")return()=>{};const n=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!s.allowDeprecated){let i=o.message;i||(i=`${n} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let s,n=(...o)=>(typeof s=="function"&&s(),s=void 0,n=void 0,r(...o));return s=this.hook(t,n),s}removeHook(t,r){if(this._hooks[t]){const s=this._hooks[t].indexOf(r);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const s=this._hooks[t]||[];delete this._hooks[t];for(const n of s)this.hook(t,n)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=Js(t),s=Object.keys(r).map(n=>this.hook(n,r[n]));return()=>{for(const n of s.splice(0,s.length))n()}}removeHooks(t){const r=Js(t);for(const s in r)this.removeHook(s,r[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(Dh,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(Rh,t,...r)}callHookWith(t,r,...s){const n=this._before||this._after?{name:r,args:s,context:{}}:void 0;this._before&&Ls(this._before,n);const o=t(r in this._hooks?[...this._hooks[r]]:[],s);return o instanceof Promise?o.finally(()=>{this._after&&n&&Ls(this._after,n)}):(this._after&&n&&Ls(this._after,n),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function La(){return new Oh}function Nh(e={}){let t,r=!1;const s=i=>{if(t&&t!==i)throw new Error("Context conflict")};let n;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?n=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(n&&t===void 0){const i=n.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||s(i),t=i,r=!0},unset:()=>{t=void 0,r=!1},call:(i,a)=>{s(i),t=i;try{return n?n.run(i,a):a()}finally{r||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;zs.add(c);try{const u=n?n.run(i,a):a();return r||(t=void 0),await u}finally{zs.delete(c)}}}}function Hh(e={}){const t={};return{get(r,s={}){return t[r]||(t[r]=Nh({...e,...s})),t[r],t[r]}}}const ss=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Bo="__unctx__",Mh=ss[Bo]||(ss[Bo]=Hh()),Bh=(e,t={})=>Mh.get(e,t),Fo="__unctx_async_handlers__",zs=ss[Fo]||(ss[Fo]=new Set);function Fh(e){const t=[];for(const n of zs){const o=n();o&&t.push(o)}const r=()=>{for(const n of t)n()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(n=>{throw r(),n})),[s,r]}const ka=Bh("nuxt-app"),jh="__nuxt_plugin";function Uh(e){let t=0;const r={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.6.0"},get vue(){return r.vueApp.version}},payload:st({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:n=>Kh(r,n),isHydrating:!0,deferHydration(){if(!r.isHydrating)return()=>{};t++;let n=!1;return()=>{if(!n&&(n=!0,t--,t===0))return r.isHydrating=!1,r.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};r.hooks=La(),r.hook=r.hooks.hook,r.callHook=r.hooks.callHook,r.provide=(n,o)=>{const i="$"+n;Mr(r,i,o),Mr(r.vueApp.config.globalProperties,i,o)},Mr(r.vueApp,"$nuxt",r),Mr(r.vueApp.config.globalProperties,"$nuxt",r);{window.addEventListener("nuxt.preloadError",o=>{r.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Pe;const n=r.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});r.hook("app:mounted",n)}const s=st(r.payload.config);return r.provide("config",s),r}async function $h(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:r}=await e.runWithContext(()=>t(e))||{};if(r&&typeof r=="object")for(const s in r)e.provide(s,r[s])}}async function Wh(e,t){const r=[],s=[];for(const n of t){const o=$h(e,n);n.parallel?r.push(o.catch(i=>s.push(i))):await o}if(await Promise.all(r),s.length)throw s[0]}/*! @__NO_SIDE_EFFECTS__ */function St(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[jh]:!0}))}function Kh(e,t,r){const s=()=>r?t(...r):t();return ka.set(e),e.vueApp.runWithContext(s)}/*! @__NO_SIDE_EFFECTS__ */function Pe(){var t;let e;if(zi()&&(e=(t=Rn())==null?void 0:t.appContext.app.$nuxt),e=e||ka.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Qs(){return Pe().$config}function Mr(e,t,r){Object.defineProperty(e,t,{get:()=>r})}const Vh="modulepreload",qh=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},jo={},Yh=function(t,r,s){if(!r||r.length===0)return t();const n=document.getElementsByTagName("link");return Promise.all(r.map(o=>{if(o=qh(o,s),o in jo)return;jo[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let u=n.length-1;u>=0;u--){const h=n[u];if(h.href===o&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":Vh,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((u,h)=>{c.addEventListener("load",u),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},Xs=(...e)=>Yh(...e).catch(t=>{const r=new Event("nuxt.preloadError");throw r.payload=t,window.dispatchEvent(r),t}),Gh=-1,Jh=-2,zh=-3,Qh=-4,Xh=-5,Zh=-6;function ed(e,t){return td(JSON.parse(e),t)}function td(e,t){if(typeof e=="number")return n(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const r=e,s=Array(r.length);function n(o,i=!1){if(o===Gh)return;if(o===zh)return NaN;if(o===Qh)return 1/0;if(o===Xh)return-1/0;if(o===Zh)return-0;if(i)throw new Error("Invalid input");if(o in s)return s[o];const a=r[o];if(!a||typeof a!="object")s[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t==null?void 0:t[l];if(c)return s[o]=c(n(a[1]));switch(l){case"Date":s[o]=new Date(a[1]);break;case"Set":const u=new Set;s[o]=u;for(let m=1;m<a.length;m+=1)u.add(n(a[m]));break;case"Map":const h=new Map;s[o]=h;for(let m=1;m<a.length;m+=2)h.set(n(a[m]),n(a[m+1]));break;case"RegExp":s[o]=new RegExp(a[1],a[2]);break;case"Object":s[o]=Object(a[1]);break;case"BigInt":s[o]=BigInt(a[1]);break;case"null":const p=Object.create(null);s[o]=p;for(let m=1;m<a.length;m+=2)p[a[m]]=n(a[m+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);s[o]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==Jh&&(l[c]=n(u))}}else{const l={};s[o]=l;for(const c in a){const u=a[c];l[c]=n(u)}}return s[o]}return n(0)}function rd(e){return Array.isArray(e)?e:[e]}const Ea=["title","script","style","noscript"],Ia=["base","meta","link","style","script","noscript"],sd=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],nd=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],od=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function Da(e){let t=9;for(let r=0;r<e.length;)t=Math.imul(t^e.charCodeAt(r++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Zs(e){return Da(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,r])=>`${t}:${String(r)}`).join(",")}`)}function id(e){let t=9;for(const r of e)for(let s=0;s<r.length;)t=Math.imul(t^r.charCodeAt(s++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Ra(e,t){const{props:r,tag:s}=e;if(nd.includes(s))return s;if(s==="link"&&r.rel==="canonical")return"canonical";if(r.charset)return"charset";const n=["id"];s==="meta"&&n.push("name","property","http-equiv");for(const o of n)if(typeof r[o]<"u"){const i=String(r[o]);return t&&!t(i)?!1:`${s}:${o}:${i}`}return!1}function Uo(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function Br(e,t=!1,r){const{tag:s,$el:n}=e;n&&(Object.entries(s.props).forEach(([o,i])=>{i=String(i);const a=`attr:${o}`;if(o==="class"){if(!i)return;for(const l of i.split(" ")){const c=`${a}:${l}`;r&&r(e,c,()=>n.classList.remove(l)),n.classList.contains(l)||n.classList.add(l)}return}r&&!o.startsWith("data-h-")&&r(e,a,()=>n.removeAttribute(o)),(t||n.getAttribute(o)!==i)&&n.setAttribute(o,i)}),Ea.includes(s.tag)&&(s.textContent&&s.textContent!==n.textContent?n.textContent=s.textContent:s.innerHTML&&s.innerHTML!==n.innerHTML&&(n.innerHTML=s.innerHTML)))}let tr=!1;async function ad(e,t={}){var p,m;const r={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const s=t.document||e.resolvedOptions.document||window.document,n=(await e.resolveTags()).map(a);if(e.resolvedOptions.experimentalHashHydration&&(tr=tr||e._hash||!1,tr)){const _=id(n.map(P=>P.tag._h));if(tr===_)return;tr=_}const o=e._popSideEffectQueue();e.headEntries().map(_=>_._sde).forEach(_=>{Object.entries(_).forEach(([P,K])=>{o[P]=K})});const i=(_,P,K)=>{P=`${_.renderId}:${P}`,_.entry&&(_.entry._sde[P]=K),delete o[P]};function a(_){const P=e.headEntries().find(v=>v._i===_._e),K={renderId:_._d||Zs(_),$el:null,shouldRender:!0,tag:_,entry:P,markSideEffect:(v,T)=>i(K,v,T)};return K}const l=[],c={body:[],head:[]},u=_=>{e._elMap[_.renderId]=_.$el,l.push(_),i(_,"el",()=>{var P;(P=_.$el)==null||P.remove(),delete e._elMap[_.renderId]})};for(const _ of n){if(await e.hooks.callHook("dom:beforeRenderTag",_),!_.shouldRender)continue;const{tag:P}=_;if(P.tag==="title"){s.title=P.textContent||"",l.push(_);continue}if(P.tag==="htmlAttrs"||P.tag==="bodyAttrs"){_.$el=s[P.tag==="htmlAttrs"?"documentElement":"body"],Br(_,!1,i),l.push(_);continue}if(_.$el=e._elMap[_.renderId],!_.$el&&P.key&&(_.$el=s.querySelector(`${(p=P.tagPosition)!=null&&p.startsWith("body")?"body":"head"} > ${P.tag}[data-h-${P._h}]`)),_.$el){_.tag._d&&Br(_),u(_);continue}c[(m=P.tagPosition)!=null&&m.startsWith("body")?"body":"head"].push(_)}const h={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(c).forEach(([_,P])=>{var v;if(!P.length)return;const K=(v=s==null?void 0:s[_])==null?void 0:v.children;if(K){for(const T of[...K].reverse()){const H=T.tagName.toLowerCase();if(!Ia.includes(H))continue;const x=T.getAttributeNames().reduce((I,V)=>({...I,[V]:T.getAttribute(V)}),{}),O={tag:H,props:x};T.innerHTML&&(O.innerHTML=T.innerHTML);const Y=Zs(O);let M=P.findIndex(I=>(I==null?void 0:I.renderId)===Y);if(M===-1){const I=Ra(O);M=P.findIndex(V=>(V==null?void 0:V.tag._d)&&V.tag._d===I)}if(M!==-1){const I=P[M];I.$el=T,Br(I),u(I),delete P[M]}}P.forEach(T=>{const H=T.tag.tagPosition||"head";h[H]=h[H]||s.createDocumentFragment(),T.$el||(T.$el=s.createElement(T.tag.tag),Br(T,!0)),h[H].appendChild(T.$el),u(T)})}}),h.head&&s.head.appendChild(h.head),h.bodyOpen&&s.body.insertBefore(h.bodyOpen,s.body.firstChild),h.bodyClose&&s.body.appendChild(h.bodyClose);for(const _ of l)await e.hooks.callHook("dom:renderTag",_);Object.values(o).forEach(_=>_())}let ks=null;async function ld(e,t={}){function r(){return ks=null,ad(e,t)}const s=t.delayFn||(n=>setTimeout(n,10));return ks=ks||new Promise(n=>s(()=>n(r())))}function cd(e){return{hooks:{"entries:updated":function(t){if(typeof(e==null?void 0:e.document)>"u"&&typeof window>"u")return;let r=e==null?void 0:e.delayFn;!r&&typeof requestAnimationFrame<"u"&&(r=requestAnimationFrame),ld(t,{document:(e==null?void 0:e.document)||window.document,delayFn:r})}}}}function ud(e){var t;return((t=e==null?void 0:e.head.querySelector('meta[name="unhead:ssr"]'))==null?void 0:t.getAttribute("content"))||!1}const $o={base:-1,title:1},Wo={critical:-8,high:-1,low:2};function ns(e){let t=10;const r=e.tagPriority;return typeof r=="number"?r:(e.tag==="meta"?(e.props.charset&&(t=-2),e.props["http-equiv"]==="content-security-policy"&&(t=0)):e.tag in $o&&(t=$o[e.tag]),typeof r=="string"&&r in Wo?t+Wo[r]:t)}const hd=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function dd(){return{hooks:{"tags:resolve":e=>{const t=r=>{var s;return(s=e.tags.find(n=>n._d===r))==null?void 0:s._p};for(const{prefix:r,offset:s}of hd)for(const n of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(r))){const o=t(n.tagPriority.replace(r,""));typeof o<"u"&&(n._p=o+s)}e.tags.sort((r,s)=>r._p-s._p).sort((r,s)=>ns(r)-ns(s))}}}}function fd(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e;let r=t.findIndex(n=>n.tag==="titleTemplate");const s=t.findIndex(n=>n.tag==="title");if(s!==-1&&r!==-1){const n=Uo(t[r].textContent,t[s].textContent);n!==null?t[s].textContent=n||t[s].textContent:delete t[s]}else if(r!==-1){const n=Uo(t[r].textContent);n!==null&&(t[r].textContent=n,t[r].tag="title",r=-1)}r!==-1&&delete t[r],e.tags=t.filter(Boolean)}}}}function pd(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const gd=["link","style","script","noscript"];function md(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=Zs(e)),e.key&&gd.includes(e.tag)&&(e._h=Da(e.key),e.props[`data-h-${e._h}`]="")}}}}const Ko=["script","link","bodyAttrs"];function _d(){const e=(t,r)=>{const s={},n={};Object.entries(r.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"?n[i]=a:s[i]=a});let o;return t==="dom"&&r.tag==="script"&&typeof s.src=="string"&&typeof n.onload<"u"&&(o=s.src,delete s.src),{props:s,eventHandlers:n,delayedSrc:o}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(r=>(!Ko.includes(r.tag)||!Object.entries(r.props).find(([s,n])=>s.startsWith("on")&&typeof n=="function")||(r.props=e("ssr",r).props),r))},"dom:beforeRenderTag":function(t){if(!Ko.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([o,i])=>o.startsWith("on")&&typeof i=="function"))return;const{props:r,eventHandlers:s,delayedSrc:n}=e("dom",t.tag);Object.keys(s).length&&(t.tag.props=r,t.tag._eventHandlers=s,t.tag._delayedSrc=n)},"dom:renderTag":function(t){const r=t.$el;if(!t.tag._eventHandlers||!r)return;const s=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:r;Object.entries(t.tag._eventHandlers).forEach(([n,o])=>{const i=`${t.tag._d||t.tag._p}:${n}`,a=n.slice(2).toLowerCase(),l=`data-h-${a}`;if(t.markSideEffect(i,()=>{}),r.hasAttribute(l))return;const c=o;r.setAttribute(l,""),s.addEventListener(a,c),t.entry&&(t.entry._sde[i]=()=>{s.removeEventListener(a,c),r.removeAttribute(l)})}),t.tag._delayedSrc&&r.setAttribute("src",t.tag._delayedSrc)}}}}const yd=["templateParams","htmlAttrs","bodyAttrs"];function Td(){return{hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(s=>{e.props[s]&&(e.key=e.props[s],delete e.props[s])});const r=Ra(e)||(e.key?`${e.tag}:${e.key}`:!1);r&&(e._d=r)},"tags:resolve":function(e){const t={};e.tags.forEach(s=>{const n=(s.key?`${s.tag}:${s.key}`:s._d)||s._p,o=t[n];if(o){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&yd.includes(s.tag)&&(a="merge"),a==="merge"){const l=o.props;["class","style"].forEach(c=>{s.props[c]&&l[c]&&(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),s.props[c]=`${l[c]} ${s.props[c]}`)}),t[n].props={...l,...s.props};return}else if(s._e===o._e){o._duped=o._duped||[],s._d=`${o._d}:${o._duped.length+1}`,o._duped.push(s);return}else if(ns(s)>ns(o))return}const i=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(Ia.includes(s.tag)&&i===0){delete t[n];return}t[n]=s});const r=[];Object.values(t).forEach(s=>{const n=s._duped;delete s._duped,r.push(s),n&&r.push(...n)}),e.tags=r}}}}function Fr(e,t){function r(o){if(["s","pageTitle"].includes(o))return t.pageTitle;let i;return o.includes(".")?i=o.split(".").reduce((a,l)=>a&&a[l]||void 0,t):i=t[o],typeof i<"u"?i||"":!1}let s=e;try{s=decodeURI(e)}catch{}return(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(o=>{const i=r(o.slice(1));typeof i=="string"&&(e=e.replace(new RegExp(`\\${o}(\\W|$)`,"g"),`${i}$1`).trim())}),t.separator&&(e.endsWith(t.separator)&&(e=e.slice(0,-t.separator.length).trim()),e.startsWith(t.separator)&&(e=e.slice(t.separator.length).trim()),e=e.replace(new RegExp(`\\${t.separator}\\s*\\${t.separator}`,"g"),t.separator)),e}function bd(){return{hooks:{"tags:resolve":e=>{var o;const{tags:t}=e,r=(o=t.find(i=>i.tag==="title"))==null?void 0:o.textContent,s=t.findIndex(i=>i.tag==="templateParams"),n=s!==-1?t[s].props:{};n.pageTitle=n.pageTitle||r||"";for(const i of t)if(["titleTemplate","title"].includes(i.tag)&&typeof i.textContent=="string")i.textContent=Fr(i.textContent,n);else if(i.tag==="meta"&&typeof i.props.content=="string")i.props.content=Fr(i.props.content,n);else if(i.tag==="link"&&typeof i.props.href=="string")i.props.href=Fr(i.props.href,n);else if(i.tag==="script"&&["application/json","application/ld+json"].includes(i.props.type)&&typeof i.innerHTML=="string")try{i.innerHTML=JSON.stringify(JSON.parse(i.innerHTML),(a,l)=>typeof l=="string"?Fr(l,n):l)}catch{}e.tags=t.filter(i=>i.tag!=="templateParams")}}}}const vd=typeof window<"u";let Oa;function Ad(e){return Oa=e}function xd(){return Oa}async function wd(e,t){const r={tag:e,props:{}};return t instanceof Promise&&(t=await t),e==="templateParams"?(r.props=t,r):["title","titleTemplate"].includes(e)?(t&&typeof t=="object"?(r.textContent=t.textContent,t.tagPriority&&(r.tagPriority=t.tagPriority)):r.textContent=t,r):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?r.props.src=t:r.innerHTML=t,r):!1:(r.props=await Pd(e,{...t}),r.props.children&&(r.props.innerHTML=r.props.children),delete r.props.children,Object.keys(r.props).filter(s=>od.includes(s)).forEach(s=>{(!["innerHTML","textContent"].includes(s)||Ea.includes(r.tag))&&(r[s]=r.props[s]),delete r.props[s]}),["innerHTML","textContent"].forEach(s=>{if(r.tag==="script"&&typeof r[s]=="string"&&["application/ld+json","application/json"].includes(r.props.type))try{r[s]=JSON.parse(r[s])}catch{r[s]=""}typeof r[s]=="object"&&(r[s]=JSON.stringify(r[s]))}),r.props.class&&(r.props.class=Sd(r.props.class)),r.props.content&&Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r)}function Sd(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function Pd(e,t){for(const r of Object.keys(t)){const s=r.startsWith("data-");t[r]instanceof Promise&&(t[r]=await t[r]),String(t[r])==="true"?t[r]=s?"true":"":String(t[r])==="false"&&(s?t[r]="false":delete t[r])}return t}const Cd=10;async function Ld(e){const t=[];return Object.entries(e.resolvedInput).filter(([r,s])=>typeof s<"u"&&sd.includes(r)).forEach(([r,s])=>{const n=rd(s);t.push(...n.map(o=>wd(r,o)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((r,s)=>(r._e=e._i,r._p=(e._i<<Cd)+s,r))}function kd(){return[Td(),dd(),bd(),fd(),md(),_d(),pd()]}function Ed(e={}){return[cd({document:e==null?void 0:e.document,delayFn:e==null?void 0:e.domDelayFn})]}function Id(e={}){const t=Dd({...e,plugins:[...Ed(e),...(e==null?void 0:e.plugins)||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=ud(t.resolvedOptions.document)),Ad(t),t}function Dd(e={}){let t=[],r={},s=0;const n=La();e!=null&&e.hooks&&n.addHooks(e.hooks),e.plugins=[...kd(),...(e==null?void 0:e.plugins)||[]],e.plugins.forEach(a=>a.hooks&&n.addHooks(a.hooks)),e.document=e.document||(vd?document:void 0);const o=()=>n.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return n},use(a){a.hooks&&n.addHooks(a.hooks)},push(a,l){const c={_i:s++,input:a,_sde:{}};return l!=null&&l.mode&&(c._m=l==null?void 0:l.mode),l!=null&&l.transform&&(c._t=l==null?void 0:l.transform),t.push(c),o(),{dispose(){t=t.filter(u=>u._i!==c._i?!0:(r={...r,...u._sde||{}},u._sde={},o(),!1))},patch(u){t=t.map(h=>(h._i===c._i&&(c.input=h.input=u,o()),h))}}},async resolveTags(){const a={tags:[],entries:[...t]};await n.callHook("entries:resolve",a);for(const l of a.entries){const c=l._t||(u=>u);if(l.resolvedInput=c(l.resolvedInput||l.input),l.resolvedInput)for(const u of await Ld(l)){const h={tag:u,entry:l,resolvedOptions:i.resolvedOptions};await n.callHook("tag:normalise",h),a.tags.push(h.tag)}}return await n.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...r};return r={},a},_elMap:{}};return i.hooks.callHook("init",i),i}function Rd(e){return typeof e=="function"?e():pe(e)}function os(e,t=""){if(e instanceof Promise)return e;const r=Rd(e);return!e||!r?r:Array.isArray(r)?r.map(s=>os(s,t)):typeof r=="object"?Object.fromEntries(Object.entries(r).map(([s,n])=>s==="titleTemplate"||s.startsWith("on")?[s,pe(n)]:[s,os(n,s)])):r}const Od=ua.startsWith("3"),Nd=typeof window<"u",Na="usehead";function Mn(){return Rn()&&Bt(Na)||xd()}function Hd(e){return{install(r){Od&&(r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(Na,e))}}.install}function Md(e={}){const t=Id({...e,domDelayFn:r=>setTimeout(()=>vn(()=>r()),10),plugins:[Bd(),...(e==null?void 0:e.plugins)||[]]});return t.install=Hd(t),t}function Bd(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=os(t.input)}}}}function Fd(e,t={}){const r=Mn(),s=ht(!1),n=ht({});Sc(()=>{n.value=s.value?{}:os(e)});const o=r.push(n.value,t);return Mt(n,a=>{o.patch(a)}),Rn()&&(Wi(()=>{o.dispose()}),ji(()=>{s.value=!0}),Fi(()=>{s.value=!1})),o}function jd(e,t={}){return Mn().push(e,t)}function fy(e,t={}){var s;const r=Mn();if(r){const n=Nd||!!((s=r.resolvedOptions)!=null&&s.document);return t.mode==="server"&&n||t.mode==="client"&&!n?void 0:n?Fd(e,t):jd(e,t)}}const Ud={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[{rel:"preconnect",href:"https://fonts.gstatic.com/",crossorigin:"crossorigin"},{rel:"preload",as:"style",href:"https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&amp;display=swap",onload:"this.rel='stylesheet'"},{rel:"icon",href:"/images/onefront/bluestone/TL/favicon.ico",type:"image/x-icon"},{rel:"shortcut icon",href:"/images/onefront/bluestone/TL/favicon.ico",type:"image/x-icon"}],style:[],script:[],noscript:[],bodyAttrs:{class:"odf-bg-secondary"}},$d="__nuxt",Wd=!0;async function Kd(e){try{return Wd?Ha(await fetch(e).then(t=>t.text())):await Xs(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}let jr=null;async function Vd(){if(jr)return jr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Ha(e.textContent||""),r=e.dataset.src?await Kd(e.dataset.src):void 0;return jr={...t,...r,...window.__NUXT__},jr}function Ha(e){return ed(e,Pe()._payloadRevivers)}function qd(e,t){Pe()._payloadRevivers[e]=t}class en extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const t={message:this.message,statusCode:tn(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Ma(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}en.__h3_error__=!0;function Yd(e){if(typeof e=="string")return new en(e);if(Gd(e))return e;const t=new en(e.message??e.statusMessage,e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=tn(e.statusCode,t.statusCode):e.status&&(t.statusCode=tn(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const r=t.statusMessage;Ma(t.statusMessage)!==r&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Gd(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Jd=/[^\u0009\u0020-\u007E]/g;function Ma(e=""){return e.replace(Jd,"")}function tn(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const zd="$s";function Qd(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[r,s]=e;if(!r||typeof r!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+r);if(s!==void 0&&typeof s!="function")throw new Error("[nuxt] [useState] init must be a function: "+s);const n=zd+r,o=Pe(),i=Ei(o.payload.state,n);if(i.value===void 0&&s){const a=s();if(me(a))return o.payload.state[n]=a,a;i.value=a}return i}const Bn=()=>{var e;return(e=Pe())==null?void 0:e.$router},Xd=()=>zi()?Bt("_route",Pe()._route):Pe()._route,Zd=()=>{try{if(Pe()._processingMiddleware)return!0}catch{return!0}return!1},ef=(e,t)=>{e||(e="/");const r=typeof e=="string"?e:va(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,h])=>h!==void 0).map(([u,h])=>`${u.toLowerCase()}=${h}`).join(", ");open(r,a,c)}return Promise.resolve()}const s=(t==null?void 0:t.external)||Hn(r,{acceptRelative:!0});if(s&&!(t!=null&&t.external))throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(s&&_s(r).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const n=Zd();if(!s&&n)return e;const o=Bn(),i=Pe();return s?(t!=null&&t.replace?location.replace(r):location.href=r,n?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},Fn=()=>Ei(Pe().payload,"error"),tf=e=>{const t=Ba(e);try{const r=Pe(),s=Fn();r.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},rf=async(e={})=>{const t=Pe(),r=Fn();t.callHook("app:error:cleared",e),e.redirect&&await Bn().replace(e.redirect),r.value=null},sf=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Ba=e=>{const t=Yd(e);return t.__nuxt_error=!0,t},Vo={NuxtError:e=>Ba(e),EmptyShallowRef:e=>ao(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),EmptyRef:e=>ht(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),ShallowRef:e=>ao(e),ShallowReactive:e=>Ai(e),Ref:e=>ht(e),Reactive:e=>st(e)},nf=St({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,r;for(const s in Vo)qd(s,Vo[s]);Object.assign(e.payload,([t,r]=Fh(()=>e.runWithContext(Vd)),t=await t,r(),t)),window.__NUXT__=e.payload}}),of=[];function Es(e){typeof e=="object"&&(e=xa({pathname:e.path||"",search:ya(e.query||{}),hash:e.hash||""}));const t=_s(e.toString());return{path:t.pathname,fullPath:e,query:_a(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const af=St({name:"nuxt:router",enforce:"pre",setup(e){const t=uh(window.location.pathname,Qs().app.baseURL)+window.location.search+window.location.hash,r=[],s={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},n=(u,h)=>(s[u].push(h),()=>s[u].splice(s[u].indexOf(h),1)),o=Qs().app.baseURL,i=st(Es(t));async function a(u,h){try{const p=Es(u);for(const m of s["navigate:before"]){const _=await m(p,i);if(_===!1||_ instanceof Error)return;if(_)return a(_,!0)}for(const m of s["resolve:before"])await m(p,i);Object.assign(i,p),window.history[h?"replaceState":"pushState"]({},"",wr(o,p.fullPath)),e.isHydrating||await e.runWithContext(rf);for(const m of s["navigate:after"])await m(p,i)}catch(p){for(const m of s.error)await m(p)}}const l={currentRoute:i,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:u=>a(u,!1),replace:u=>a(u,!0),back:()=>window.history.go(-1),go:u=>window.history.go(u),forward:()=>window.history.go(1),beforeResolve:u=>n("resolve:before",u),beforeEach:u=>n("navigate:before",u),afterEach:u=>n("navigate:after",u),onError:u=>n("error",u),resolve:Es,addRoute:(u,h)=>{r.push(h)},getRoutes:()=>r,hasRoute:u=>r.some(h=>h.name===u),removeRoute:u=>{const h=r.findIndex(p=>p.name===u);h!==-1&&r.splice(h,1)}};e.vueApp.component("RouterLink",{functional:!0,props:{to:String,custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(u,{slots:h})=>{const p=()=>a(u.to,u.replace);return()=>{var _;const m=l.resolve(u.to);return u.custom?(_=h.default)==null?void 0:_.call(h,{href:u.to,navigate:p,route:m}):gu("a",{href:u.to,onClick:P=>(P.preventDefault(),p())},h)}}}),window.addEventListener("popstate",u=>{const h=u.target.location;l.replace(h.href.replace(h.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const c=Qd("_layout");return e.hooks.hookOnce("app:created",async()=>{l.beforeEach(async(u,h)=>{u.meta=st(u.meta||{}),e.isHydrating&&c.value&&!wt(u.meta.layout)&&(u.meta.layout=c.value),e._processingMiddleware=!0;{const p=new Set([...of,...e._middleware.global]);for(const m of p){const _=await e.runWithContext(()=>m(u,h));if(_||_===!1)return _}}}),l.afterEach(()=>{delete e._processingMiddleware}),await l.replace(t),dh(i.fullPath,t)||await e.runWithContext(()=>ef(i.fullPath))}),{provide:{route:i,router:l}}}}),lf=St({name:"nuxt:global-components"}),cf=St({name:"nuxt:head",setup(e){const r=Md();r.push(Ud),e.vueApp.use(r);{let s=!0;const n=()=>{s=!1,r.hooks.callHook("entries:updated",r)};r.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!s}),e.hooks.hook("page:start",()=>{s=!0}),e.hooks.hook("page:finish",n),e.hooks.hook("app:suspense:resolve",n)}}});function uf(e={}){const t=e.path||window.location.pathname;let r={};try{r=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(r==null?void 0:r.path)!==t||(r==null?void 0:r.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Pe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const hf=St({name:"nuxt:chunk-reload",setup(e){const t=Bn(),r=Qs(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:n})=>{s.add(n)}),t.onError((n,o)=>{if(s.has(n)){const a="href"in o&&o.href.startsWith("#")?r.app.baseURL+o.href:wr(r.app.baseURL,o.fullPath);uf({path:a,persistState:!0})}})}}),df=St(e=>{e.hook("app:mounted",()=>{document.querySelectorAll(".widgetSeoContainer").forEach(function(t){t.textContent.trim()===""&&(t.style.display="none")})})});function ff(){return Fa().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Fa(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const pf=typeof Proxy=="function",gf="devtools-plugin:setup",mf="plugin:settings:set";let Et,rn;function _f(){var e;return Et!==void 0||(typeof window<"u"&&window.performance?(Et=!0,rn=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(Et=!0,rn=global.perf_hooks.performance):Et=!1),Et}function yf(){return _f()?rn.now():Date.now()}class Tf{constructor(t,r){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=r;const s={};if(t.settings)for(const i in t.settings){const a=t.settings[i];s[i]=a.defaultValue}const n=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},s);try{const i=localStorage.getItem(n),a=JSON.parse(i);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(n,JSON.stringify(i))}catch{}o=i},now(){return yf()}},r&&r.on(mf,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const r of this.onQueue)this.target.on[r.method](...r.args);for(const r of this.targetQueue)r.resolve(await this.target[r.method](...r.args))}}function bf(e,t){const r=e,s=Fa(),n=ff(),o=pf&&r.enableEarlyProxy;if(n&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))n.emit(gf,e,t);else{const i=o?new Tf(r,n):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:r,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
 * vuex v4.0.2
 * (c) 2021 Evan You
 * @license MIT
 */var vf="store";function Xt(e,t){Object.keys(e).forEach(function(r){return t(e[r],r)})}function ja(e){return e!==null&&typeof e=="object"}function Af(e){return e&&typeof e.then=="function"}function xf(e,t){return function(){return e(t)}}function Ua(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var s=t.indexOf(e);s>-1&&t.splice(s,1)}}function $a(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;ys(e,r,[],e._modules.root,!0),jn(e,r,t)}function jn(e,t,r){var s=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var n=e._wrappedGetters,o={};Xt(n,function(i,a){o[a]=xf(i,e),Object.defineProperty(e.getters,a,{get:function(){return o[a]()},enumerable:!0})}),e._state=st({data:t}),e.strict&&Lf(e),s&&r&&e._withCommit(function(){s.data=null})}function ys(e,t,r,s,n){var o=!r.length,i=e._modules.getNamespace(r);if(s.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=s),!o&&!n){var a=Un(t,r.slice(0,-1)),l=r[r.length-1];e._withCommit(function(){a[l]=s.state})}var c=s.context=wf(e,i,r);s.forEachMutation(function(u,h){var p=i+h;Sf(e,p,u,c)}),s.forEachAction(function(u,h){var p=u.root?h:i+h,m=u.handler||u;Pf(e,p,m,c)}),s.forEachGetter(function(u,h){var p=i+h;Cf(e,p,u,c)}),s.forEachChild(function(u,h){ys(e,t,r.concat(h),u,n)})}function wf(e,t,r){var s=t==="",n={dispatch:s?e.dispatch:function(o,i,a){var l=is(o,i,a),c=l.payload,u=l.options,h=l.type;return(!u||!u.root)&&(h=t+h),e.dispatch(h,c)},commit:s?e.commit:function(o,i,a){var l=is(o,i,a),c=l.payload,u=l.options,h=l.type;(!u||!u.root)&&(h=t+h),e.commit(h,c,u)}};return Object.defineProperties(n,{getters:{get:s?function(){return e.getters}:function(){return Wa(e,t)}},state:{get:function(){return Un(e.state,r)}}}),n}function Wa(e,t){if(!e._makeLocalGettersCache[t]){var r={},s=t.length;Object.keys(e.getters).forEach(function(n){if(n.slice(0,s)===t){var o=n.slice(s);Object.defineProperty(r,o,{get:function(){return e.getters[n]},enumerable:!0})}}),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function Sf(e,t,r,s){var n=e._mutations[t]||(e._mutations[t]=[]);n.push(function(i){r.call(e,s.state,i)})}function Pf(e,t,r,s){var n=e._actions[t]||(e._actions[t]=[]);n.push(function(i){var a=r.call(e,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:e.getters,rootState:e.state},i);return Af(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function Cf(e,t,r,s){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return r(s.state,s.getters,o.state,o.getters)})}function Lf(e){Mt(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Un(e,t){return t.reduce(function(r,s){return r[s]},e)}function is(e,t,r){return ja(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}var kf="vuex bindings",qo="vuex:mutations",Is="vuex:actions",It="vuex",Ef=0;function If(e,t){bf({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[kf]},function(r){r.addTimelineLayer({id:qo,label:"Vuex Mutations",color:Yo}),r.addTimelineLayer({id:Is,label:"Vuex Actions",color:Yo}),r.addInspector({id:It,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),r.on.getInspectorTree(function(s){if(s.app===e&&s.inspectorId===It)if(s.filter){var n=[];Ya(n,t._modules.root,s.filter,""),s.rootNodes=n}else s.rootNodes=[qa(t._modules.root,"")]}),r.on.getInspectorState(function(s){if(s.app===e&&s.inspectorId===It){var n=s.nodeId;Wa(t,n),s.state=Of(Hf(t._modules,n),n==="root"?t.getters:t._makeLocalGettersCache,n)}}),r.on.editInspectorState(function(s){if(s.app===e&&s.inspectorId===It){var n=s.nodeId,o=s.path;n!=="root"&&(o=n.split("/").filter(Boolean).concat(o)),t._withCommit(function(){s.set(t._state.data,o,s.state.value)})}}),t.subscribe(function(s,n){var o={};s.payload&&(o.payload=s.payload),o.state=n,r.notifyComponentUpdate(),r.sendInspectorTree(It),r.sendInspectorState(It),r.addTimelineEvent({layerId:qo,event:{time:Date.now(),title:s.type,data:o}})}),t.subscribeAction({before:function(s,n){var o={};s.payload&&(o.payload=s.payload),s._id=Ef++,s._time=Date.now(),o.state=n,r.addTimelineEvent({layerId:Is,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:o}})},after:function(s,n){var o={},i=Date.now()-s._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(o.payload=s.payload),o.state=n,r.addTimelineEvent({layerId:Is,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:o}})}})})}var Yo=8702998,Df=6710886,Rf=16777215,Ka={label:"namespaced",textColor:Rf,backgroundColor:Df};function Va(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function qa(e,t){return{id:t||"root",label:Va(t),tags:e.namespaced?[Ka]:[],children:Object.keys(e._children).map(function(r){return qa(e._children[r],t+r+"/")})}}function Ya(e,t,r,s){s.includes(r)&&e.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:t.namespaced?[Ka]:[]}),Object.keys(t._children).forEach(function(n){Ya(e,t._children[n],r,s+n+"/")})}function Of(e,t,r){t=r==="root"?t:t[r];var s=Object.keys(t),n={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(s.length){var o=Nf(t);n.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?Va(i):i,editable:!1,value:sn(function(){return o[i]})}})}return n}function Nf(e){var t={};return Object.keys(e).forEach(function(r){var s=r.split("/");if(s.length>1){var n=t,o=s.pop();s.forEach(function(i){n[i]||(n[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),n=n[i]._custom.value}),n[o]=sn(function(){return e[r]})}else t[r]=sn(function(){return e[r]})}),t}function Hf(e,t){var r=t.split("/").filter(function(s){return s});return r.reduce(function(s,n,o){var i=s[n];if(!i)throw new Error('Missing module "'+n+'" for path "'+t+'".');return o===r.length-1?i:i._children},t==="root"?e:e.root._children)}function sn(e){try{return e()}catch(t){return t}}var Ve=function(t,r){this.runtime=r,this._children=Object.create(null),this._rawModule=t;var s=t.state;this.state=(typeof s=="function"?s():s)||{}},Ga={namespaced:{configurable:!0}};Ga.namespaced.get=function(){return!!this._rawModule.namespaced};Ve.prototype.addChild=function(t,r){this._children[t]=r};Ve.prototype.removeChild=function(t){delete this._children[t]};Ve.prototype.getChild=function(t){return this._children[t]};Ve.prototype.hasChild=function(t){return t in this._children};Ve.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};Ve.prototype.forEachChild=function(t){Xt(this._children,t)};Ve.prototype.forEachGetter=function(t){this._rawModule.getters&&Xt(this._rawModule.getters,t)};Ve.prototype.forEachAction=function(t){this._rawModule.actions&&Xt(this._rawModule.actions,t)};Ve.prototype.forEachMutation=function(t){this._rawModule.mutations&&Xt(this._rawModule.mutations,t)};Object.defineProperties(Ve.prototype,Ga);var Pt=function(t){this.register([],t,!1)};Pt.prototype.get=function(t){return t.reduce(function(r,s){return r.getChild(s)},this.root)};Pt.prototype.getNamespace=function(t){var r=this.root;return t.reduce(function(s,n){return r=r.getChild(n),s+(r.namespaced?n+"/":"")},"")};Pt.prototype.update=function(t){Ja([],this.root,t)};Pt.prototype.register=function(t,r,s){var n=this;s===void 0&&(s=!0);var o=new Ve(r,s);if(t.length===0)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}r.modules&&Xt(r.modules,function(a,l){n.register(t.concat(l),a,s)})};Pt.prototype.unregister=function(t){var r=this.get(t.slice(0,-1)),s=t[t.length-1],n=r.getChild(s);n&&n.runtime&&r.removeChild(s)};Pt.prototype.isRegistered=function(t){var r=this.get(t.slice(0,-1)),s=t[t.length-1];return r?r.hasChild(s):!1};function Ja(e,t,r){if(t.update(r),r.modules)for(var s in r.modules){if(!t.getChild(s))return;Ja(e.concat(s),t.getChild(s),r.modules[s])}}function Mf(e){return new Ie(e)}var Ie=function(t){var r=this;t===void 0&&(t={});var s=t.plugins;s===void 0&&(s=[]);var n=t.strict;n===void 0&&(n=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Pt(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=o;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(p,m){return l.call(i,p,m)},this.commit=function(p,m,_){return c.call(i,p,m,_)},this.strict=n;var u=this._modules.root.state;ys(this,u,[],this._modules.root),jn(this,u),s.forEach(function(h){return h(r)})},$n={state:{configurable:!0}};Ie.prototype.install=function(t,r){t.provide(r||vf,this),t.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&If(t,this)};$n.state.get=function(){return this._state.data};$n.state.set=function(e){};Ie.prototype.commit=function(t,r,s){var n=this,o=is(t,r,s),i=o.type,a=o.payload,l={type:i,payload:a},c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(u){return u(l,n.state)}))};Ie.prototype.dispatch=function(t,r){var s=this,n=is(t,r),o=n.type,i=n.payload,a={type:o,payload:i},l=this._actions[o];if(l){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,h){c.then(function(p){try{s._actionSubscribers.filter(function(m){return m.after}).forEach(function(m){return m.after(a,s.state)})}catch{}u(p)},function(p){try{s._actionSubscribers.filter(function(m){return m.error}).forEach(function(m){return m.error(a,s.state,p)})}catch{}h(p)})})}};Ie.prototype.subscribe=function(t,r){return Ua(t,this._subscribers,r)};Ie.prototype.subscribeAction=function(t,r){var s=typeof t=="function"?{before:t}:t;return Ua(s,this._actionSubscribers,r)};Ie.prototype.watch=function(t,r,s){var n=this;return Mt(function(){return t(n.state,n.getters)},r,Object.assign({},s))};Ie.prototype.replaceState=function(t){var r=this;this._withCommit(function(){r._state.data=t})};Ie.prototype.registerModule=function(t,r,s){s===void 0&&(s={}),typeof t=="string"&&(t=[t]),this._modules.register(t,r),ys(this,this.state,t,this._modules.get(t),s.preserveState),jn(this,this.state)};Ie.prototype.unregisterModule=function(t){var r=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var s=Un(r.state,t.slice(0,-1));delete s[t[t.length-1]]}),$a(this)};Ie.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};Ie.prototype.hotUpdate=function(t){this._modules.update(t),$a(this,!0)};Ie.prototype._withCommit=function(t){var r=this._committing;this._committing=!0,t(),this._committing=r};Object.defineProperties(Ie.prototype,$n);var Sr=Kn(function(e,t){var r={};return Wn(t).forEach(function(s){var n=s.key,o=s.val;r[n]=function(){var a=this.$store.state,l=this.$store.getters;if(e){var c=Vn(this.$store,"mapState",e);if(!c)return;a=c.context.state,l=c.context.getters}return typeof o=="function"?o.call(this,a,l):a[o]},r[n].vuex=!0}),r}),qe=Kn(function(e,t){var r={};return Wn(t).forEach(function(s){var n=s.key,o=s.val;o=e+o,r[n]=function(){if(!(e&&!Vn(this.$store,"mapGetters",e)))return this.$store.getters[o]},r[n].vuex=!0}),r}),ot=Kn(function(e,t){var r={};return Wn(t).forEach(function(s){var n=s.key,o=s.val;r[n]=function(){for(var a=[],l=arguments.length;l--;)a[l]=arguments[l];var c=this.$store.dispatch;if(e){var u=Vn(this.$store,"mapActions",e);if(!u)return;c=u.context.dispatch}return typeof o=="function"?o.apply(this,[c].concat(a)):c.apply(this.$store,[o].concat(a))}}),r});function Wn(e){return Bf(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function Bf(e){return Array.isArray(e)||ja(e)}function Kn(e){return function(t,r){return typeof t!="string"?(r=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,r)}}function Vn(e,t,r){var s=e._modulesNamespaceMap[r];return s}const be={return:"R",oneWay:"O",multistop:"M"},ze={departure:0,return:1},za=new Date;za.setHours(0,0,0,0);const Ff=new Date(new Date().setDate(za.getDate()+364));Ff.setHours(0,0,0,0);const jf=4,Uf=8,$f=4,nn=10,Wf=6,Go=(e,t)=>{try{return new Intl.NumberFormat(e,{style:"currency",currency:t||"EUR"}).formatToParts(0).find(o=>o.type==="currency").value}catch(r){return console.error("Error getting currency symbol:",r),null}},Qa=(e,t)=>{if(!(e instanceof Date))return;function r(){return t.country&&t.country!=="PT"?t.language+"-"+t.country:t.language}const s=t!==void 0?r():void 0,n={weekday:"short",month:"2-digit",day:"2-digit"},i=e.toLocaleString(s,n).split(" ");return i[0]=i[0].charAt(0).toUpperCase()+i[0].slice(1),i.slice(0,4).join(" ")},Kf=e=>{const t=new Date(e.split("T")[0]),r=new Date;return t.setHours(0,0,0,0),r.setHours(0,0,0,0),t.getTime()-r.getTime()},Vf=(e,t,r,s)=>(e=e||"%1$s from %2$s",e.replace("%1$s",t+" "+r).replace("%2$s",s)),rr=e=>new Proxy(new URLSearchParams(window.location.search),{get:(r,s)=>r.get(s)})[e],Me={add:{name:"add",action:1},remove:{name:"remove",action:-1}},$={adults:"adults",children:"children",infants:"infants"},_e={hotels:"searcher_hotels",flights:"searcher_flights"},qf={departureLocation:"location_departure_leg_1_error",arrivalLocation:"location_arrival_leg_1_error",departureDate:"date_departure_leg_1_error",returnDate:"date_arrival_leg_1_error"},ft={one_way:"one_way",round_trip:"round_trip",multistop:"multi_trip",direct_flight:"direct_flights_checked",number_pax:(e,t,r)=>`number_pax_${e}_${t===void 0?0:t}_${r===void 0?0:r}`,search_flights:"search_flights",search_dynpack:"search_dynpack",search_hotel:"search_hotel",open_property_box:(e,t)=>`hotels_edit-search_open_${t}_pag:${e}`,change_initial_destination:e=>`hotels_dest_edited_pag:${e}`,load_suggestions_time:(e,t)=>`hotels_dest_list-time:${t}_pag:${e}`,select_suggestion:(e,t,r,s)=>`hotels_select_dest_pos:${s}_type:${t}_dest:${r}_pag:${e}`,select_default_suggestion:e=>`hotels_dest_tap-outside_pag:${e}`,select_date:(e,t)=>`hotels_calendar_select_${t}_pag:${e}`,edit_date:(e,t)=>`hotels_calendar_edit_${t}_pag:${e}`,select_disabled_date:(e,t)=>`hotels_calendar_click-grey_${t}_pag:${e}`,select_month:(e,t)=>`hotels_calendar_click-arrow_${t}_pag:${e}`,select_trip_duration:(e,t)=>`hotels_calendar_stay-length_${t}_pag:${e}`,change_number_rooms:(e,t)=>`hotels_room_${t}_pag:${e}`,change_number_guests:(e,t,r)=>`hotels_guest_${r}_${t}_pag:${e}`,select_total_rooms:(e,t)=>`hotels_room_selected_${t}_pag:${e}`,search_paramaters:(e,t,r,s,n,o,i)=>`hotels_search_type:${t}_dest:${r}_rooms:${s}_adu:${n}_child:${o}_dates:${i}_apt:0_pag:${e}`,no_results:(e,t)=>`hotels_dest_error_no-matches_${t}_pag:${e}`,max_trip_duration:e=>`hotels_calendar_error_max28days_pag:${e}`,no_child_age:e=>`hotels_guest_error_child-age_pag:${e}`,max_guests_error:e=>`hotels_guest_error_max10_pag:${e}`,max_child_error:e=>`hotels_guest_error_max6child_pag:${e}`,search_with_errors:(e,t)=>`hotels_search_error_no-input_${t}_pag:${e}`},Yf=["IT","ES","PT","FR","UK","GB","AU","CA","CH","OPDE","OPFR","OPUK","OPGB","OPCH","OPES","GOFR"],Gf={flights_hotelSearcher_sslp:[]};function Jf(e,t){var r;return Yf.includes(t)||((r=Gf[e])==null?void 0:r.includes(t))}const Te={FLIGHTS:"F",HOTELS:"H",DYNPACK:"D",CARS:"C"},Xa={adults:{totalNumberTypePassengers:1,maxAllowed:9,minAllowed:1},children:{totalNumberTypePassengers:0,maxAllowed:2,minAllowed:0},infants:{totalNumberTypePassengers:0,maxAllowed:1,minAllowed:0},maxAllowed:9,maxAllowedInfantsChildren:2,totalNumberPassengers:1,totalNumberChildrenInfants:0},Ds={id:0,adults:{totalNumberTypePassengers:2,maxAllowed:10,minAllowed:1},children:{totalNumberTypePassengers:0,maxAllowed:6,minAllowed:0},childrenAges:[],infants:{totalNumberTypePassengers:0,maxAllowed:1,minAllowed:0},infantsAges:[],maxAllowed:10,maxAllowedInfantsChildren:6,totalNumberPassengers:2,totalNumberChildrenInfants:0,maxAllowedPerRoom:10},Rs={id:0,adults:{totalNumberTypePassengers:2,maxAllowed:4,minAllowed:1},children:{totalNumberTypePassengers:0,maxAllowed:2,minAllowed:0},childrenAges:[],infants:{totalNumberTypePassengers:0,maxAllowed:1,minAllowed:0},infantsAges:[],maxAllowed:9,maxAllowedInfantsChildren:2,totalNumberPassengers:2,totalNumberChildrenInfants:0,maxAllowedPerRoom:4},zf={"1-0-0":["1_0_0"],"1-0-1":["1_0_1"],"1-0-2":["1_0_2"],"1-1-0":["1_1_0"],"1-1-1":["1_1_1"],"1-2-0":["1_2_0"],"2-0-0":["2_0_0"],"2-0-1":["2_0_1"],"2-0-2":["2_0_2"],"2-1-0":["2_1_0"],"2-1-1":["2_1_1"],"2-1-2":["1_0_2","1_1_0"],"2-2-0":["2_2_0"],"2-2-1":["1_1_0","1_1_1"],"2-2-2":["1_2_0","1_0_2"],"2-3-0":["1_2_0","1_1_0"],"2-3-1":["1_2_0","1_1_1"],"2-4-0":["1_2_0","1_2_0"],"3-0-0":["3_0_0"],"3-0-1":["3_0_1"],"3-0-2":["2_0_2","1_0_0"],"3-0-3":["1_0_2","2_0_1"],"3-1-0":["2_0_0","1_1_0"],"3-1-1":["2_0_1","1_1_0"],"3-1-2":["2_1_1","1_0_1"],"3-1-3":["1_1_1","1_0_1","1_0_1"],"3-2-0":["2_1_0","1_1_0"],"3-2-1":["2_1_0","1_1_1"],"3-2-2":["2_1_1","1_1_1"],"3-2-3":["1_1_1","1_1_1","1_0_1"],"3-3-0":["2_2_0","1_1_0"],"3-3-1":["2_2_0","1_1_1"],"3-3-2":["2_2_1","1_1_1"],"3-3-3":["1_1_1","1_1_1","1_1_1"],"3-4-0":["2_2_0","1_2_0"],"3-4-1":["1_2_0","1_2_0","1_0_1"],"3-4-2":["1_2_0","1_2_0","1_0_2"],"3-5-0":["1_2_0","1_2_0","1_1_0"],"3-5-1":["1_2_0","1_2_0","1_1_1"],"3-6-0":["1_2_0","1_2_0","1_2_0"],"4-0-0":["2_0_0","2_0_0"],"4-0-1":["2_0_0","2_0_1"],"4-0-2":["2_0_1","2_0_1"],"4-0-3":["1_0_2","3_0_1"],"4-0-4":["1_0_2","2_0_2","1_0_0"],"4-1-0":["2_1_0","2_0_0"],"4-1-1":["2_1_0","2_0_1"],"4-1-2":["2_1_1","2_0_1"],"4-1-3":["1_1_1","1_0_1","2_0_1"],"4-1-4":["1_1_1","1_0_1","1_0_1","1_0_1"],"4-2-0":["2_1_0","2_1_0"],"4-2-1":["2_1_0","2_1_1"],"4-2-2":["2_1_1","2_1_1"],"4-2-3":["1_1_1","1_1_1","2_0_1"],"4-3-0":["2_2_0","2_1_0"],"4-3-1":["2_2_0","2_1_1"],"4-3-2":["2_1_0","1_2_0","1_0_2"],"4-4-0":["2_2_0","2_2_0"],"4-4-1":["2_0_1","1_2_0","1_2_0"],"4-5-0":["2_2_0","1_2_0","1_1_0"],"5-0-0":["3_0_0","2_0_0"],"5-0-1":["3_0_0","2_0_1"],"5-0-2":["2_0_1","2_0_1","1_0_0"],"5-0-3":["1_0_2","2_0_0","2_0_1"],"5-0-4":["1_0_2","2_0_1","2_0_1"],"5-1-0":["3_0_0","2_1_0"],"5-1-1":["3_0_0","2_1_1"],"5-1-2":["2_0_1","2_1_1","1_0_0"],"5-1-3":["2_1_1","2_0_1","1_0_1"],"5-2-0":["3_1_0","2_1_0"],"5-2-1":["3_1_0","2_1_1"],"5-2-2":["2_1_1","2_1_1","1_0_0"],"5-3-0":["3_1_0","2_2_0"],"5-3-1":["2_1_1","2_2_0","1_0_0"],"5-4-0":["2_1_0","2_1_0","1_2_0"],"6-0-0":["2_0_0","2_0_0","2_0_0"],"6-0-1":["2_0_0","2_0_0","2_0_1"],"6-0-2":["2_0_0","2_0_1","2_0_1"],"6-0-3":["1_0_2","3_0_0","2_0_1"],"6-1-0":["2_1_0","2_0_0","2_0_0"],"6-1-1":["2_1_0","2_0_0","2_0_1"],"6-1-2":["2_1_0","2_0_1","2_0_1"],"6-2-0":["2_1_0","2_1_0","2_0_0"],"6-2-1":["2_1_0","2_1_0","2_0_1"],"6-3-0":["2_1_0","2_1_0","2_1_0"],"7-0-0":["3_0_0","2_0_0","2_0_0"],"7-0-1":["3_0_0","2_0_0","2_0_1"],"7-0-2":["3_0_0","2_0_1","2_0_1"],"7-1-0":["3_0_0","2_1_0","2_0_0"],"7-1-1":["3_0_0","2_1_0","2_0_1"],"7-2-0":["3_0_0","2_1_0","2_1_0"],"8-0-0":["2_0_0","2_0_0","2_0_0","2_0_0"],"8-0-1":["2_0_0","2_0_0","2_0_0","2_0_1"],"8-1-0":["2_1_0","2_0_0","2_0_0","2_0_0"],"9-0-0":["3_0_0","3_0_0","3_0_0"]},Jo=e=>{let t="",r=0,s=0,n=0;for(const[o,i]of e.entries()){const a=i.adults.totalNumberTypePassengers,l=[],c=[];for(let u=0;u<i.childrenAges.length;u++)i.childrenAges[u].value>1?l.push(i.childrenAges[u].value):c.push(i.childrenAges[u].value);r+=a,t+=`roomAdults${o}=${a};`,s+=l.length;for(let u=0;u<l.length;u++)t+=`room${o}Kid${u}Age=${l[u]};`;n+=c.length;for(let u=0;u<c.length;u++)t+=`room${o}Infant${u}Age=${c[u]};`}return[t,r,s,n]},zo=(e,t,r)=>{let s="";const n=e+"-"+t+"-"+r;for(const[o,i]of zf[n].entries()){const[a,l,c]=i.split("_");s+=`roomAdults${o}=${a};`;for(let u=0;u<l;u++)s+=`room${o}Kid${u}Age=6;`;for(let u=0;u<c;u++)s+=`room${o}Infant${u}Age=1;`}return s},Qf={style:"currency",minimumFractionDigits:0,currencyDisplay:"symbol"},Xf=(e,t,r)=>e.toLocaleString(r.replace("_","-"),{...Qf,currency:t}),Qo=Object.freeze({name:"",cityName:"",country:"",iata:"",geoNodeId:"",type:""}),Ur=Object.freeze({name:"",geoId:"",geoType:""}),Zf=()=>({segments:[{departureLocation:{...Qo,...Ur,error:!1},arrivalLocation:{...Qo,...Ur,error:!1},arrivalHotel:{...Ur,error:!1},departureDate:{date:null,error:!1},returnDate:{date:null,error:!1},sameCityError:!1,tripDurationError:!1}],oldDepartureCityNameCalendar:"",oldArrivalCityNameCalendar:"",totalPriceSelectedInCalendar:null,calendarPrices:{},lowestPrices:{},pricesLoading:!1,calendarDates:[],allowedMarketsForCalendarPrices:["IT","ES"],allowedPagesForCalendarPrices:["cityPairs","destination"],oldFlightType:"",passengers:JSON.parse(JSON.stringify(Xa)),rooms:[],options:{directFlights:!1,flightType:be.return},arrivalHotel:{...Ur},isSem:!1,localStorageRecovery:1,errorAges:!1,ageErrorsByRoomAndChild:{},isDP:!1,currentSegment:0,pickingWhichDateType:null}),ep={getTotalNumberRooms(e){return e.rooms.length},getTotalNumberPassengers(e){return e.passengers.totalNumberPassengers},getTotalNumberPassengersRooms(e){return e.rooms.reduce((t,r)=>t+r.totalNumberPassengers,0)},getTotalNumberPassengersPerRoom(e){return t=>e.rooms.filter(r=>r.id===t)[0].totalNumberPassengers},getMaxAllowTotalPassengers(e){return e.passengers.maxAllowed},getMaxAllowTotalPassengersPerRoom(e){return t=>e.rooms.filter(r=>r.id===t)[0].maxAllowedPerRoom},getAllowedMarketsForCalendarPrices(e){return e.allowedMarketsForCalendarPrices},getAllowedPagesForCalendarPrices(e){return e.allowedPagesForCalendarPrices},getPassengersAdultsLessOneMaxAllowed(e){return t=>t>=0?(e.rooms.filter(r=>r.id===t)[0].adults.totalNumberTypePassengers-1)*2:(e.passengers.adults.totalNumberTypePassengers-1)*2},getPassengersAdultsLessOneMaxAllowedInfants(e){return t=>t>=0?e.rooms.filter(r=>r.id===t)[0].adults.totalNumberTypePassengers:e.passengers.adults.totalNumberTypePassengers-1},getTotalNumberChildrenInfants(e){return t=>t>=0?e.rooms.filter(r=>r.id===t)[0].totalNumberChildrenInfants:e.passengers.totalNumberChildrenInfants},getTotalNumberTypePassenger(e){return(t,r)=>r>=0?e.rooms.filter(s=>s.id===r)[0][t].totalNumberTypePassengers:e.passengers[t].totalNumberTypePassengers},getTotalNumberTypePassengerRooms(e){return t=>e.rooms.reduce((r,s)=>r+s[t].totalNumberTypePassengers,0)},getMinAllowedTypePassenger(e){return(t,r)=>r>=0?e.rooms.filter(s=>s.id===r)[0][t].minAllowed:e.passengers[t].minAllowed},getMaxAllowedTypePassenger(e){return(t,r)=>r>=0?e.rooms.filter(s=>s.id===r)[0][t].maxAllowed:e.passengers[t].maxAllowed},getMaxAllowedInfantsChildren(e){return t=>t>=0?e.rooms.filter(r=>r.id===t)[0].maxAllowedInfantsChildren:e.passengers.maxAllowedInfantsChildren},isMaxTotalPassengers(e){return e.passengers.totalNumberPassengers===e.passengers.maxAllowed},isPricesInCalendar(e){return Object.keys(e.calendarPrices).length!==0},isDepartureReturnCitiesSelected(e){return e.segments[0].departureLocation.cityName&&e.segments[0].arrivalLocation.cityName},getFirstSelectableDate:e=>t=>{for(let r=t-1;r>=0;r--){const s=e.segments[r].departureDate.date;if(s)return s}return null},getSegmentInformation(e){return(t,r)=>e.segments[t][r]},getPassengerInformation(e){return e.passengers},getFlightOptions(e){return e.options},getDirectFlights(e){return e.options.directFlights},isLocalStorageRecoveryActivated(e){return e.localStorageRecovery},getValuesForLocalStorage(e){const{localStorageRecovery:t,...r}=e;return r},getTotalNumberTypePassengerPerRoom(e){return(t,r)=>e.rooms.filter(s=>s.id===r)[0][t].totalNumberTypePassengers},isMaxTotalPassengersPerRoom(e){return t=>e.rooms.filter(r=>r.id===t)[0].totalNumberPassengers===e.rooms.filter(r=>r.id===t)[0].maxAllowedPerRoom},isChildrenAgesSelected(e){return t=>{const r=e.rooms.find(s=>s.id===t);return r.children.totalNumberTypePassengers===r.childrenAges.length}},isInfantsAgesSelected(e){return t=>e.rooms.filter(r=>r.id===t)[0].infants.totalNumberTypePassengers===e.rooms.filter(r=>r.id===t)[0].infantsAges.length},isMaxChildrenPerRoom(e){return t=>e.rooms.filter(r=>r.id===t)[0].children.totalNumberTypePassengers===e.rooms.filter(r=>r.id===t)[0].maxAllowedInfantsChildren},getAge(e){return(t,r,s)=>r===$.children?e.rooms.filter(n=>n.id===t)[0].childrenAges.filter(n=>n.id===s)[0]===void 0?null:e.rooms.filter(n=>n.id===t)[0].childrenAges.filter(n=>n.id===s)[0].value:e.rooms.filter(n=>n.id===t)[0].infantsAges.filter(n=>n.id===s)[0]===void 0?null:e.rooms.filter(n=>n.id===t)[0].infantsAges.filter(n=>n.id===s)[0].value},hasAgeError(e){return(t,r)=>e.ageErrorsByRoomAndChild[t]&&e.ageErrorsByRoomAndChild[t][r]},hasAgeErrors(e){return t=>{const r=t>=0?{[t]:e.ageErrorsByRoomAndChild[t]}:e.ageErrorsByRoomAndChild;for(const s in r){const n=e.ageErrorsByRoomAndChild[s];for(const o in n)if(n[o])return!0}return!1}},showErrorAges(e){return e.errorAges},arrivalHotel(e){return e.arrivalHotel},isDP(e){return e.isDP},isSem(e){return e.isSem}},tp={addRemovePassengers({commit:e,state:t},r){e("addRemovePassengers",r),e("incDecTotalNumberPassengers",r),r.passengerType==="adults"&&t.searchType!==Te.HOTELS&&(e("setMaxNumberChildrenPassengers",r),e("setMaxNumberInfantsPassengers",r)),(r.passengerType==="children"||r.passengerType==="infants")&&e("setTotalNumberChildrenInfants",r)},resetDepartureLocation({commit:e,state:t}){e("resetDepartureLocation")},resetArrivalLocation({commit:e,state:t}){e("resetArrivalLocation")},resetArrivalHotel({commit:e,state:t}){e("resetArrivalHotel")},setDepartureLocation({commit:e,state:t},r){e("setDepartureLocation",r)},setArrivalLocation({commit:e,state:t},r){e("setArrivalLocation",r)},setArrivalHotel({commit:e,state:t},r){e("setArrivalHotel",r)},swapLocations({commit:e,state:t},r){e("swapLocations",r)},changeErrorValue({commit:e,state:t},r){e("changeErrorValue",r)},setDepartureDate({commit:e,state:t},r){e("setDepartureDate",r)},setReturnDate({commit:e,state:t},r){e("setReturnDate",r)},setFlightType({commit:e,state:t},r){e("setFlightType",r)},setPassengerInformation({commit:e,state:t},r){e("setPassengerInformation",r)},setPassengersGeneralInfo({commit:e,state:t},r){e("setPassengersGeneralInfo",r)},setFlightOptions({commit:e,state:t},r){e("setFlightOptions",r)},setDirectFlight({commit:e},t){e("setDirectFlight",t)},setValuesOnPrefill({commit:e,state:t},r){e("setValuesOnPrefill",r)},setLocalStorageRecovery({commit:e,state:t}){e("setLocalStorageRecovery")},setOldDepartureCityNameCalendar({commit:e,state:t},r){e("setOldDepartureCityNameCalendar",r)},setOldArrivalCityNameCalendar({commit:e,state:t},r){e("setOldArrivalCityNameCalendar",r)},setPricesLoading({commit:e,state:t},r){e("setPricesLoading",r)},setCalendarPrices({commit:e,state:t},r){e("setCalendarPrices",r)},setLowestPricesInCalendar({commit:e,state:t},r){e("setLowestPricesInCalendar",r)},setCalendarDates({commit:e,state:t},r){e("setCalendarDates",r)},setOldFlightType({commit:e,state:t},r){e("setOldFlightType",r)},addNewRoom({commit:e,state:t}){e("addNewRoom")},addInitialRoom({commit:e}){e("addInitialRoom")},removeRoomByIndex({commit:e,state:t},r){e("removeRoomByIndex",r)},addNewOrModifyAge({commit:e,state:t},r){e("addNewOrModifyAge",r)},removeAge({commit:e,state:t},r){e("removeAge",r)},removeAgeSelected({commit:e,state:t},r){e("removeAgeSelected",r)},setShowErrorAges({commit:e,state:t},r){e("setShowErrorAges",r)},refreshAgeErrors({commit:e,state:t},r){e("refreshAgeErrors",r)},setAgeError({commit:e,state:t},r){e("setAgeError",r)},setIsDP({commit:e,state:t}){e("setIsDP")},setPickingWhichDateType({commit:e,state:t},r){e("setPickingWhichDateType",r)},resetState({commit:e,state:t}){e("resetState")},resetSegments({commit:e,state:t}){e("resetSegments")},addSegment({commit:e,state:t}){e("addSegment")},removeSegment({commit:e,state:t},r){e("removeSegment",r)},updateCurrentSegment({commit:e,state:t},r){e("updateCurrentSegment",r)},changeTripDurationErrorValue({commit:e},t){e("changeTripDurationErrorValue",t)},setSearchType({commit:e},t){e("setSearchType",t)},setIsSem({commit:e},t){e("setIsSem",t)}},Le=Object.freeze({CITY:"CITY",COUNTRY:"COUNTRY",NEAREST:"NEAREST",HOTEL:"HOTEL",AIRPORT:"AIRPORT",IATA_CODE:"IATA_CODE",FLIGHT:"FLIGHT"}),Vt=Object.freeze({ACCOMMODATION:"ACCOMMODATION",REGION:"REGION"}),Za=Object.freeze({ACCOMMODATION:1,GEO_API:2}),rp={addRemovePassengers(e,t){e.passengers[t.passengerType].totalNumberTypePassengers+=t.numberPassengersToAddRemove,t.roomId>=0&&(e.rooms.filter(r=>r.id===t.roomId)[0][t.passengerType].totalNumberTypePassengers+=t.numberPassengersToAddRemove)},incDecTotalNumberPassengers(e,t){e.passengers.totalNumberPassengers+=t.numberPassengersToAddRemove,t.roomId>=0&&(e.rooms.filter(r=>r.id===t.roomId)[0].totalNumberPassengers+=t.numberPassengersToAddRemove)},setMaxNumberChildrenPassengers(e,t){e.passengers.children.maxAllowed=e.passengers.adults.totalNumberTypePassengers*2,e.passengers.maxAllowedInfantsChildren=e.passengers.adults.totalNumberTypePassengers*2,t.roomId>=0&&(e.rooms.filter(r=>r.id===t.roomId)[0].children.maxAllowed=e.rooms.filter(r=>r.id===t.roomId)[0].adults.totalNumberTypePassengers*2,e.rooms.filter(r=>r.id===t.roomId)[0].maxAllowedInfantsChildren=e.rooms.filter(r=>r.id===t.roomId)[0].children.maxAllowed)},setMaxNumberInfantsPassengers(e,t){e.passengers.infants.maxAllowed=e.passengers.adults.totalNumberTypePassengers,t.roomId>=0&&(e.rooms.filter(r=>r.id===t.roomId)[0].infants.maxAllowed=e.rooms.filter(r=>r.id===t.roomId)[0].adults.totalNumberTypePassengers)},setTotalNumberChildrenInfants(e,t){const r=e.passengers.children,s=e.passengers.infants;e.passengers.totalNumberChildrenInfants=r.totalNumberTypePassengers+s.totalNumberTypePassengers,t.roomId>=0&&(e.rooms.filter(n=>n.id===t.roomId)[0].totalNumberChildrenInfants=e.rooms.filter(n=>n.id===t.roomId)[0].children.totalNumberTypePassengers+e.rooms.filter(n=>n.id===t.roomId)[0].infants.totalNumberTypePassengers)},resetDepartureLocation(e){e.segments[e.currentSegment].departureLocation.name="",e.segments[e.currentSegment].departureLocation.cityName="",e.segments[e.currentSegment].departureLocation.country="",e.segments[e.currentSegment].departureLocation.iata="",e.segments[e.currentSegment].departureLocation.type="",e.segments[e.currentSegment].departureLocation.geoNodeId="",e.segments[e.currentSegment].departureLocation.geoId="",e.segments[e.currentSegment].departureLocation.geoType="",e.segments[e.currentSegment].departureLocation.error=!1,e.segments[e.currentSegment].sameCityError=!1},resetArrivalLocation(e){e.segments[e.currentSegment].arrivalLocation.name="",e.segments[e.currentSegment].arrivalLocation.cityName="",e.segments[e.currentSegment].arrivalLocation.country="",e.segments[e.currentSegment].arrivalLocation.iata="",e.segments[e.currentSegment].arrivalLocation.type="",e.segments[e.currentSegment].arrivalLocation.geoNodeId="",e.segments[e.currentSegment].arrivalLocation.geoId="",e.segments[e.currentSegment].arrivalLocation.geoType="",e.segments[e.currentSegment].arrivalLocation.error=!1,e.segments[e.currentSegment].sameCityError=!1},resetArrivalHotel(e){e.segments[e.currentSegment].arrivalHotel.name="",e.segments[e.currentSegment].arrivalHotel.geoId="",e.segments[e.currentSegment].arrivalHotel.geoType="",e.segments[e.currentSegment].arrivalHotel.error=!1,e.segments[e.currentSegment].sameCityError=!1,e.segments[e.currentSegment].arrivalHotel.type=""},setDepartureLocation(e,t){var r;e.segments[t.indexSegment].departureLocation.name=t.name,e.segments[t.indexSegment].departureLocation.cityName=t.cityName,e.segments[t.indexSegment].departureLocation.country=t.country,e.segments[t.indexSegment].departureLocation.iata=t.iata,e.segments[t.indexSegment].departureLocation.type=(r=t.type)==null?void 0:r.toLowerCase(),e.segments[t.indexSegment].departureLocation.geoNodeId=t.geoNodeId,e.segments[t.indexSegment].departureLocation.geoId=t.geoId,e.segments[t.indexSegment].departureLocation.geoType=t.geoType},setArrivalLocation(e,t){var r;e.segments[t.indexSegment].arrivalLocation.name=t.name,e.segments[t.indexSegment].arrivalLocation.cityName=t.cityName,e.segments[t.indexSegment].arrivalLocation.country=t.country,e.segments[t.indexSegment].arrivalLocation.iata=t.iata,e.segments[t.indexSegment].arrivalLocation.type=(r=t.type)==null?void 0:r.toLowerCase(),e.segments[t.indexSegment].arrivalLocation.geoNodeId=t.geoNodeId,e.segments[t.indexSegment].arrivalLocation.geoId=t.geoId,e.segments[t.indexSegment].arrivalLocation.geoType=t.geoType},setArrivalHotel(e,t){e.segments[t.indexSegment].arrivalHotel.name=t.name,e.segments[t.indexSegment].arrivalHotel.geoId=t.geoId,e.segments[t.indexSegment].arrivalHotel.geoType=Vt.ACCOMMODATION},setDepartureDate(e,{segmentIndex:t,date:r}){e.segments[t].departureDate={date:r,error:!1}},setReturnDate(e,{segmentIndex:t,date:r}){e.segments[t].returnDate={date:r,error:!1}},setFlightType(e,{flightType:t}){e.options.flightType=t},setDirectFlight(e,{directFlightChecked:t}){e.options.directFlights=t},swapLocations(e,t){[e.segments[t].departureLocation,e.segments[t].arrivalLocation]=[e.segments[t].arrivalLocation,e.segments[t].departureLocation]},changeErrorValue(e,t){e.segments[t.indexSegment][t.property].error=t.value},setPassengerInformation(e,t){for(const r of Object.keys(e.passengers))e.passengers[r]=t.passengers[r]},setFlightOptions(e,t){for(const r of Object.keys(e.options))e.options[r]=t.options[r]},setValuesOnPrefill(e,t){t.localStorageData&&(e.segments=t.localStorageData.segments,e.passengers=t.localStorageData.passengers,e.options=t.localStorageData.options,e.segments.forEach(r=>{r.departureDate.date=new Date(r.departureDate.date),r.returnDate.date=new Date(r.returnDate.date)})),e.localStorageRecovery=0},setLocalStorageRecovery(e){e.localStorageRecovery=0},setOldDepartureCityNameCalendar(e,t){e.oldDepartureCityNameCalendar=t},setOldArrivalCityNameCalendar(e,t){e.oldArrivalCityNameCalendar=t},setTotalPriceSelectedInCalendar(e,t){e.totalPriceSelectedInCalendar=t},setPricesLoading(e,t){e.pricesLoading=t},setCalendarPrices(e,t){t.firstFetch===0?e.calendarPrices=t.data:e.calendarPrices={...e.calendarPrices,...t.data}},setLowestPricesInCalendar(e,t){t.firstFetch===0?e.lowestPrices=t.data:e.lowestPrices={...e.lowestPrices,...t.data}},setCalendarDates(e,t){e.calendarDates=t},setOldFlightType(e,t){e.oldFlightType=t},addNewRoom(e){const t=e.searchType===Te.HOTELS?Ds:Rs,r=JSON.parse(JSON.stringify(t));r.id=e.rooms[e.rooms.length-1].id+1,r.adults.totalNumberTypePassengers=e.searchType===Te.HOTELS?Math.min(nn-e.passengers.totalNumberPassengers,2):1,r.totalNumberPassengers=e.searchType===Te.HOTELS?Math.min(nn-e.passengers.totalNumberPassengers,2):1,e.rooms.push(r),e.passengers.adults.totalNumberTypePassengers+=r.adults.totalNumberTypePassengers,e.passengers.totalNumberPassengers+=r.totalNumberPassengers,e.ageErrorsByRoomAndChild[r.id]={}},addInitialRoom(e){const t=e.searchType===Te.HOTELS?Ds:Rs,r=JSON.parse(JSON.stringify(t));e.rooms=[r],(e.searchType===Te.HOTELS||e.searchType===Te.DYNPACK)&&(e.passengers.totalNumberPassengers=r.totalNumberPassengers,e.passengers.maxAllowed=r.maxAllowed)},removeRoomByIndex(e,t){const r=e.rooms.find(s=>s.id===t);e.passengers.adults.totalNumberTypePassengers-=r.adults.totalNumberTypePassengers,e.passengers.children.totalNumberTypePassengers-=r.children.totalNumberTypePassengers,e.passengers.infants.totalNumberTypePassengers-=r.infants.totalNumberTypePassengers,e.passengers.totalNumberPassengers-=r.adults.totalNumberTypePassengers+r.children.totalNumberTypePassengers+r.infants.totalNumberTypePassengers,e.rooms=e.rooms.filter(s=>s.id!==t),e.ageErrorsByRoomAndChild[r.id]={}},addNewOrModifyAge(e,t){const r={id:t.id,value:t.value};t.passengerType===$.children?e.rooms.filter(s=>s.id===t.roomId)[0].childrenAges.filter(s=>s.id===t.id)[0]===void 0?e.rooms.filter(s=>s.id===t.roomId)[0].childrenAges.push(r):e.rooms.filter(s=>s.id===t.roomId)[0].childrenAges.filter(s=>s.id===t.id)[0].value=t.value:t.passengerType===$.infants&&(e.rooms.filter(s=>s.id===t.roomId)[0].infantsAges.filter(s=>s.id===t.id)[0]===void 0?e.rooms.filter(s=>s.id===t.roomId)[0].infantsAges.push(r):e.rooms.filter(s=>s.id===t.roomId)[0].infantsAges.filter(s=>s.id===t.id)[0].value=t.value)},removeAge(e,t){const r=e.rooms.find(s=>s.id===t.roomId);if(t.passengerType===$.children){const s=r.children.totalNumberTypePassengers;r.childrenAges.some(n=>n.id>s)&&(r.childrenAges=r.childrenAges.filter(n=>n.id<=s))}else if(t.passengerType===$.infants){const s=r.infants.totalNumberTypePassengers;r.infantsAges.some(n=>n.id>s)&&(r.infantsAges=r.infantsAges.filter(n=>n.id<=s))}},removeAgeSelected(e,t){t.passengerType===$.children?e.rooms.filter(r=>r.id===t.roomId)[0].childrenAges=e.rooms.filter(r=>r.id===t.roomId)[0].childrenAges.filter(r=>r.id!==t.id):t.passengerType===$.infants&&(e.rooms.filter(r=>r.id===t.roomId)[0].infantsAges=e.rooms.filter(r=>r.id===t.roomId)[0].infantsAges.filter(r=>r.id!==t.id))},setShowErrorAges(e,t){e.errorAges=t},setAgeError(e,t){const{roomId:r,childId:s,value:n}=t,o={...e.ageErrorsByRoomAndChild};if(s>0)o[r]||(o[r]={}),o[r]={...o[r],[s]:n};else{const i=e.rooms.find(a=>a.id===r);o[r]={};for(let a=1;a<=i.children.totalNumberTypePassengers;a++)o[r][a]=n}e.ageErrorsByRoomAndChild=o},refreshAgeErrors(e){e.ageErrorsByRoomAndChild={};for(const t of e.rooms){e.ageErrorsByRoomAndChild[t.id]={};for(let r=1;r<=t.children.totalNumberTypePassengers;r++){const s=t.childrenAges.some(n=>n.id===r);e.ageErrorsByRoomAndChild[t.id][r]=!s}}},setIsDP(e){e.isDP=!0},setPickingWhichDateType(e,t){e.pickingWhichDateType=t.value},resetState(e){const t=e.searchType===Te.HOTELS?Ds:Rs,r=JSON.parse(JSON.stringify(t));e.rooms=[r],e.passengers=JSON.parse(JSON.stringify(Xa)),(e.searchType===Te.HOTELS||e.searchType===Te.DYNPACK)&&(e.passengers.totalNumberPassengers=r.totalNumberPassengers,e.passengers.maxAllowed=r.maxAllowed),e.ageErrorsByRoomAndChild={}},resetSegments(e){e.segments.length>1&&e.segments.splice(1,e.segments.length-1),e.segments[0].departureLocation.error=!1,e.segments[0].arrivalLocation.error=!1,e.segments[0].departureDate.error=!1,e.segments[0].returnDate.error=!1,e.segments[0].tripDurationError=!1},addSegment(e){const t={departureLocation:{name:"",cityName:"",country:"",iata:"",type:"",error:!1},arrivalLocation:{name:"",cityName:"",country:"",iata:"",type:"",error:!1},departureDate:{date:null,error:!1},returnDate:{date:null,error:!1},sameCityError:!1,tripDurationError:!1};e.segments.push(t)},removeSegment(e,t){e.segments.splice(t,1)},updateCurrentSegment(e,t){e.currentSegment=t},changeTripDurationErrorValue(e,t){e.segments[e.currentSegment].tripDurationError=t.value},setSearchType(e,t){e.searchType=t},setIsSem(e,t){e.isSem=t}},sp=()=>Mf({state:Zf,getters:ep,actions:tp,mutations:rp}),np=St(e=>{const t=sp();return e.vueApp.use(t),{provide:{store:t}}}),op=[nf,af,lf,cf,hf,df,np];function ip(e){return{all:e=e||new Map,on:function(t,r){var s=e.get(t);s?s.push(r):e.set(t,[r])},off:function(t,r){var s=e.get(t);s&&(r?s.splice(s.indexOf(r)>>>0,1):e.set(t,[]))},emit:function(t,r){var s=e.get(t);s&&s.slice().map(function(n){n(r)}),(s=e.get("*"))&&s.slice().map(function(n){n(t,r)})}}}const Oe=(e,t)=>{const r=e.__vccOpts||e;for(const[s,n]of t)r[s]=n;return r},ap={name:"PageFooter",data(){return{sslpAppText:{footer:{}},baseUrl:"",currentYear:"",websiteCode:""}},mounted(){this.sslpAppText={...sslpApp.searchBoxTexts},this.baseUrl=sslpApp.baseUrl,this.websiteCode=sslpApp.websiteCode,this.currentYear=new Date().getFullYear()}},lp={class:"footer-legal"},cp=g("div",{class:"odf-logo"},null,-1),up={class:"footer-legal-links"},hp=["href"],dp=["href"],fp=["href"],pp=["href"],gp=["innerHTML"],mp=g("div",{class:"footer-legal-icons"},[g("div",{class:"footer-legal-icon"}),g("div",{class:"footer-legal-icon"})],-1);function _p(e,t,r,s,n,o){var i;return w(),k("div",lp,[cp,g("div",up,[g("a",{href:n.sslpAppText.footer.legalLink1Url,target:"_blank","data-category":"footer","data-label":"links_open_terms_and_conditions"},R(n.sslpAppText.footer.legalLink1),9,hp),g("a",{href:n.sslpAppText.footer.legalLink2Url,target:"_blank","data-category":"footer","data-label":"links_open_cookies"},R(n.sslpAppText.footer.legalLink2),9,dp),g("a",{href:n.sslpAppText.footer.legalLink3Url,target:"_blank","data-category":"footer","data-label":"links_open_privacy_policy"},R(n.sslpAppText.footer.legalLink3),9,fp),n.websiteCode==="US"?(w(),k("a",{key:0,href:n.sslpAppText.footer.legalLink4Url,target:"_blank"},R(n.sslpAppText.footer.legalLink4),9,pp)):W("",!0)]),g("span",{innerHTML:((i=n.sslpAppText.footer.copyright)==null?void 0:i.replace("%1$s",n.currentYear))??""},null,8,gp),mp])}const yp=Oe(ap,[["render",_p]]),J=function(){return{throwEvent:(r,s)=>{if(typeof dataLayer<"u"){const n={event:"gaEvent",trackevent:{category:sslpApp.trackingCategory,action:r,label:s}};dataLayer.push(n)}else throw new Error("TrackingService.throwEvent: No dataLayer")},track:r=>{const s=r.currentTarget.dataset.action,n=r.currentTarget.dataset.label;try{J.throwEvent(s,n)}catch(o){console.error(o)}}}}(),Tp={name:"SearchBoxTab",props:{icon:{type:String},title:{type:String},searchType:{type:String,required:!0}},data(){return{sslpApp:null,isDP:!1,isHotel:!1,isCars:!1,trackingPage:""}},mounted(){this.sslpApp={...sslpApp},this.isDP=this.sslpApp.isDP,this.isHotel=this.sslpApp.isHotel,this.isCars=this.sslpApp.isCars,this.trackingPage=sslpApp.trackingPage},beforeUpdate(){this.setInitialTab(),this.setInitialSearchType(),this.addInitialRoom()},methods:{...ot(["resetState","resetSegments","setFlightType","setReturnDate","setPickingWhichDateType","updateCurrentSegment","setSearchType","addInitialRoom"]),activeTab(e){const t=document.querySelectorAll(".oneLinerSearchBox-tabs .oneLinerSearchBox-tabs-item");for(const r of t)r.classList.remove("active");e.target.classList.contains("oneLinerSearchBox-tabs-item")?(this.trackSwitchTab(e.target.id),e.target.classList.add("active"),this.$parent.changeSearcher(e.target.id)):(this.trackSwitchTab(e.target.parentElement.id),e.target.parentElement.classList.add("active"),this.$parent.changeSearcher(e.target.parentElement.id)),this.setSearchType(this.searchType),this.resetState(),this.resetFlights(),this.updateFlightType(be.return)},setInitialTab(){const e=document.querySelectorAll(".oneLinerSearchbox-tabs .oneLinerSearchbox-tabs-item");for(const s of e)s.classList.remove("active");const t=this.isDP&&"#flightsHotelTab"||this.isHotel&&"#hotelsTab"||this.isCars&&"#carsTab"||"#flightsTab",r=document.querySelector(t);r&&(this.$parent.changeSearcher(r.id),r.classList.add("active"))},setInitialSearchType(){const e=this.isDP&&Te.DYNPACK||this.isHotel&&Te.HOTELS||this.isCars&&Te.CARS||Te.FLIGHTS;this.setSearchType(e)},resetFlights(){this.resetSegments(),this.updateCurrentSegment(0)},updateFlightType(e){this.setFlightType({flightType:e}),this.setReturnDate({segmentIndex:0,date:null}),this.setPickingWhichDateType({value:null})},trackSwitchTab(e){const t="product_selector";let r;switch(e){case"flightsTab":r="flights";break;case"flightsHotelTab":r="dp",J.throwEvent("dp-load-search-form","dp_searchbox_onload_nonPrime_pag:"+this.trackingPage);break;case"hotelsTab":r="hotels";break;case"carsTab":r="cars";break;default:r=""}r!==""&&J.throwEvent(t,r+"_clicks:no-prime")}}};function bp(e,t,r,s,n,o){return w(),k("div",{class:"oneLinerSearchBox-tabs-item",onClick:t[0]||(t[0]=(...i)=>o.activeTab&&o.activeTab(...i))},[g("i",{class:ne(["odf-icon",r.icon]),"aria-hidden":"true"},null,2),g("span",null,R(r.title),1)])}const el=Oe(Tp,[["render",bp]]);function on(e=new Date){const t=new Date(e);return t.setDate(e.getDate()+1),t}function Se(e,t=!1){if(!(e instanceof Date))return null;let r=""+(e.getMonth()+1),s=""+e.getDate();const n=e.getFullYear();return r.length<2&&(r=`0${r}`),s.length<2&&(s=`0${s}`),t?`${s}-${r}-${n}`:`${n}-${r}-${s}`}const dr=new Date;dr.setHours(0,0,0,0);const vp=new Date(new Date().setDate(dr.getDate()+364)),Ap={name:"DatePicker",inject:["emitter"],props:{monthLength:{type:Number,default:12},cycle:{type:Boolean,default:!0},searcher:{type:Object,default:()=>{}},colorsOnCalendar:{type:Boolean,default:!1}},data(){return{pageType:"",sslpAppText:{datepicker:""},websiteCode:"",currentYear:dr.getFullYear(),currentMonth:dr.getMonth(),dateTypes:ze,flightTypes:be,weekDayNames:[],searchLabels:ft,searcherTypes:_e}},computed:{...qe(["getFirstSelectableDate","isDepartureReturnCitiesSelected","isPricesInCalendar"]),...Sr({segments:e=>e.segments,currentSegment:e=>e.currentSegment,departureDate(e){return e.segments[e.currentSegment].departureDate.date},returnDate(e){return e.segments[e.currentSegment].returnDate.date},flightType:e=>e.options.flightType,pickingWhichDateType:e=>e.pickingWhichDateType,oldDepartureCityNameCalendar:e=>e.oldDepartureCityNameCalendar,oldArrivalCityNameCalendar:e=>e.oldArrivalCityNameCalendar,calendarDates:e=>e.calendarDates,calendarPrices:e=>e.calendarPrices,pricesLoading:e=>e.pricesLoading,lowestPrices:e=>e.lowestPrices}),calendarDatesPrices(){return this.calendarDates.map(e=>{const t=this.sortDaysByPrice(e);return e.map(r=>r.map(s=>{if(s&&s.price){const n=this.calculateExpenseLevel(t,s.price);return{...s,color:this.getColorForExpenseLevel(n)}}return s}))})},isOneWay(){return this.flightType===be.oneWay},isReturn(){return this.flightType===be.return},isMultiStop(){return this.flightType===be.multistop},isPickingDeparture(){return this.pickingWhichDateType===this.dateTypes.departure},isPickingReturn(){return this.pickingWhichDateType===this.dateTypes.return},trackingAction(){return this.searcher.hotels?_e.hotels:_e.flights}},created(){this.emitter.on("calculate-prices-event",e=>this.calculatePricesInCalendar(e.departureDate,e.returnDate,e.isPickingDeparture)),this.emitter.on("reset-prices-event",this.resetPricesInCalendar)},mounted(){this.sslpAppText={...sslpApp.searchBoxTexts},this.pageType=sslpApp.pageType,this.websiteCode=sslpApp.websiteCode,this.sslpAppText.datepicker.weekdaysShort.split(",").forEach((e,t)=>{t=this.translateFirstDayOfWeek(t),this.weekDayNames.push({dayName:e,index:t})}),this.monthNames=this.sslpAppText.datepicker.months.split(","),this.initializeCalendar()},beforeUnmount(){this.emitter.off("calculate-prices-event",this.calculatePricesInCalendar),this.emitter.off("reset-prices-event",this.resetPricesInCalendar)},methods:{...ot(["setDepartureDate","setCalendarDates","setReturnDate","setPickingWhichDateType","updateCurrentSegment","changeTripDurationErrorValue","setPricesLoading"]),calculateExpenseLevel(e,t){if(!t)return 0;const r=e.length,s=Math.ceil(r*.6),n=s+Math.ceil(r*.3),o=e.findIndex(i=>i.price===t);return o!==-1?o<s?1:o<n?2:3:0},sortDaysByPrice(e){return e.map(t=>t.filter(r=>r&&typeof r=="object"&&r.price)).flat().sort((t,r)=>t.price-r.price)},getColorForExpenseLevel(e){return e===3?"datepicker-day-red":e===2?"datepicker-day-yellow":e===1?"datepicker-day-green":""},isDisabled(e){if(!e)return!0;if(this.isPickingReturn)return e.date<this.departureDate.getTime();const t=this.getFirstSelectableDate(this.currentSegment)||dr;return e.date<t.getTime()||e.date>vp.getTime()},isDepartureDay(e){for(let t=0;t<this.segments.length;t++)if(this.isSameDay(e,this.segments[t].departureDate.date))return!0;return!1},isReturnDay(e){return this.isOneWay||this.isMultiStop?this.isDepartureDay(e):this.isSameDay(e,this.returnDate)},isSameDay(e,t){return t?e.date.getTime()===t.getTime():!1},isInRange(e){return!this.departureDate||!this.returnDate?!1:e.date>this.departureDate&&e.date<this.returnDate},isWeekendDate(e){const t=e.date.getDay();return t===6||t===0},selectDay(e){if(this.isDisabled(e)){if(this.searcher.hotels){const t=this.isPickingDeparture?"checkin":"checkout";J.throwEvent(this.trackingAction,this.searchLabels.select_disabled_date(sslpApp.trackingLabelHotels,t))}}else{if(this.setDates(e.date),this.validateDates(),this.colorsOnCalendar){const t=Se(this.departureDate),r=Se(this.returnDate);this.calculatePricesInCalendar(t,r,this.isReturn?!this.isPickingDeparture:!0)}this.trackTripDuration(),this.nextAction()}},setDates(e){this.changeTripDurationErrorValue({value:!1}),this.isPickingDeparture?this.updateDepartureDate(e):this.updateReturnDate(e)},updateDepartureDate(e){if(this.searcher.hotels){const t=this.departureDate?this.searchLabels.edit_date(sslpApp.trackingLabelHotels,"checkin"):this.searchLabels.select_date(sslpApp.trackingLabelHotels,"checkin");J.throwEvent(this.trackingAction,t)}this.setDepartureDate({segmentIndex:this.currentSegment,date:e})},updateReturnDate(e){if(this.searcher.hotels){const t=this.returnDate?this.searchLabels.edit_date(sslpApp.trackingLabelHotels,"checkin"):this.searchLabels.select_date(sslpApp.trackingLabelHotels,"checkin");J.throwEvent(this.trackingAction,t)}this.setReturnDate({segmentIndex:this.currentSegment,date:e})},validateDates(){const e=this.currentSegment;if(this.departureDate>this.returnDate&&this.setReturnDate({segmentIndex:e,date:null}),this.segments[e+1]&&this.departureDate>this.segments[e+1].departureDate.date)for(let t=e+1;t<this.segments.length;t++)this.setDepartureDate({segmentIndex:t,date:null})},trackTripDuration(){if(!this.departureDate||!this.returnDate||!this.searcher.hotels)return;const e=(this.returnDate-this.departureDate)/(1e3*60*60*24);J.throwEvent(this.trackingAction,this.searchLabels.select_trip_duration(sslpApp.trackingLabelHotels,e.toFixed(0)))},nextAction(){if(this.isPickingDeparture)this.isReturn?this.setDateType(this.dateTypes.return):this.isMultiStop&&this.currentSegment<this.segments.length-1?this.updateCurrentSegment(this.currentSegment+1):(!this.isPricesInCalendar||this.isMultiStop)&&this.setDateType(null);else{const e=(this.cycle||!this.departureDate)&&this.searcher.flights&&!this.isMultiStop;this.setDateType(e?this.dateTypes.departure:null)}},setDateType(e){e!==null?this.setPickingWhichDateType({value:e}):setTimeout(()=>{this.setPickingWhichDateType({value:null})},300)},translateFirstDayOfWeek(e){const t=this.sslpAppText.datepicker.startDay;return t&&(e-=parseInt(t),e=(e+7)%7),e},monthHeader(e){const t=new Date;return t.setMonth(t.getMonth()+e,1),`${this.monthNames[t.getMonth()]} ${t.getFullYear()}`},monthDate(e,t){const r=new Date(e,t+1,0).getDate(),s=this.translateFirstDayOfWeek(new Date(e,t,1).getDay()),n=[],o=[];for(let i=1;i<=r;i++)n.push({date:new Date(e,t,i),price:null});for(let i=0;i<s;i++)n.unshift(null);for(let i=0,a=n.length;i<a;i+=7)o.push(n.slice(i,i+7));return o},initializeCalendar(){const e=[];for(let t=this.currentMonth;t<=this.currentMonth+this.monthLength;t++){const r=this.currentYear+Math.floor(t/12),s=t%12;e.push(this.monthDate(r,s))}this.setCalendarDates(e)},calculatePricesInCalendar(e,t,r){this.calendarDates.forEach(s=>s.forEach(n=>n.forEach(o=>{if(o){const i=Se(o.date);if(r)o.price=this.lowestPrices[i];else{const a=this.calendarPrices[e];a&&(o.price=a[i])}}}))),this.setPricesLoading(!1)},resetPricesInCalendar(){this.calendarDates.forEach(e=>e.forEach(t=>t.forEach(r=>{r&&(r.price=null,r.color=null)})))}}},xp={class:"datepicker"},wp={class:"datepicker-month-header"},Sp=["onClick"],Pp={class:"datepicker-day-text"},Cp={key:0,class:"datepicker-loading"},Lp=g("span",{class:"dot"},null,-1),kp=g("span",{class:"dot"},null,-1),Ep=g("span",{class:"dot"},null,-1),Ip=[Lp,kp,Ep],Dp={key:1,class:"datepicker-loaded"},Rp=g("span",{class:"dot"},null,-1),Op=g("span",{class:"dot"},null,-1),Np=g("span",{class:"dot"},null,-1),Hp=[Rp,Op,Np],Mp={key:1,class:"datepicker-day-content"},Bp={class:"datepicker-day-text"};function Fp(e,t,r,s,n,o){return w(),k("div",xp,[(w(!0),k(he,null,$e(r.colorsOnCalendar?o.calendarDatesPrices:e.calendarDates,(i,a)=>(w(),k("div",{key:a,class:"datepicker-month"},[g("span",wp,R(o.monthHeader(Number(a))),1),g("table",null,[g("thead",null,[g("tr",null,[(w(!0),k(he,null,$e(n.weekDayNames,l=>(w(),k("th",{key:l.index,style:xt({order:l.index})},R(l.dayName),5))),128))])]),g("tbody",null,[(w(!0),k(he,null,$e(i,(l,c)=>(w(),k("tr",{key:c},[(w(!0),k(he,null,$e(l,(u,h)=>(w(),k("td",{key:h,class:ne(["datepicker-day",{"datepicker-day-departure":u&&o.isDepartureDay(u),"datepicker-day-arrival":u&&o.isReturnDay(u),"datepicker-day-range":u&&o.isInRange(u),"datepicker-day-disabled":o.isDisabled(u),"datepicker-day-weekend":u&&o.isWeekendDate(u)}]),onClick:p=>u&&o.selectDay(u)},[u&&r.colorsOnCalendar?(w(),k("div",{key:0,class:ne(["datepicker-day-content",[u.color]])},[g("span",Pp,R(u.date.getDate()),1),!u.color&&e.pricesLoading?(w(),k("div",Cp,Ip)):W("",!0),!u.color&&!e.pricesLoading?(w(),k("div",Dp,Hp)):W("",!0)],2)):W("",!0),u&&!r.colorsOnCalendar?(w(),k("div",Mp,[g("span",Bp,R(u.date.getDate()),1)])):W("",!0)],10,Sp))),128))]))),128))])])]))),128))])}const jp=Oe(Ap,[["render",Fp]]);function qn(e,t){if(!e)throw new Error("The target parameter must be an element or a ref.");if(typeof t!="function")throw new TypeError("A callback is required");return r=>{const s=Up(e);return $p(s,r)?t(r):null}}function Up(e){return e.nodeType===Node.ELEMENT_NODE?e:e.value!=null?e.value:null}function $p(e,t){return!t.composedPath().includes(e)&&!Wp(t)}function Wp(e){const t=document.getElementById("didomi-host");return e.composedPath().includes(t)}const Kp={name:"SearchBoxDates",components:{DatePicker:jp},props:{searcher:{type:Object,default:()=>{}},sticky:{type:Boolean,default:!1},colorsOnCalendar:{type:Boolean,default:!1}},data(){return{sslpAppText:{},dateTypes:ze,locale:"",flightTypes:be,pageType:"",horitzontalScroll:0,monthsLength:12,calendarWidth:828,searchLabels:ft,searcherTypes:_e}},computed:{...Sr({segments:e=>e.segments,currentSegment:e=>e.currentSegment,departureDate:e=>e.segments[e.currentSegment].departureDate.date,returnDate:e=>e.segments[e.currentSegment].returnDate.date,flightType:e=>e.options.flightType,pickingWhichDateType:e=>e.pickingWhichDateType,totalPriceSelectedInCalendar:e=>e.totalPriceSelectedInCalendar}),...qe(["isDepartureReturnCitiesSelected","isPricesInCalendar"]),offsetX(){return`transform: translateX(-${this.calendarWidth/2*this.horitzontalScroll}px)`},calendarActive(){return this.pickingWhichDateType!==null},trackingAction(){return this.searcher.hotels?_e.hotels:_e.flights},calendarTop(){const e=this.sticky?50:76,t=this.sticky?44:72;return`${e+this.currentSegment*(t+16)}px`},isClosingBlocked(){return this.searcher.hotels&&!this.departureDate},totalPriceCalendarLabel(){return this.flightType===be.return?this.sslpAppText.roundTripFrom:this.sslpAppText.oneWayFrom}},mounted(){this.sslpAppText={...sslpApp.searchBoxTexts},this.locale=sslpApp.locale,this.pageType=sslpApp.pageType,this.websiteCode=sslpApp.websiteCode,this.currency=Go(this.locale.replace("_","-"),this.sslpAppText.currencyCode),this.listenner=qn(this.$refs.closeCalendarRef,e=>{!Xo(e.target)&&!this.isClosingBlocked&&this.closeCalendar(e)}),window.addEventListener("click",this.listenner)},unmounted(){window.removeEventListener("click",this.listenner)},methods:{...ot(["setDepartureDate","setReturnDate","setFlightType","setPickingWhichDateType"]),formatDateToString:Qa,formatCurrency:Xf,getCurrencySymbol:Go,closeCalendar(e){if(this.pickingWhichDateType!=null&&!Xo(e.target)&&!this.isClosingBlocked){if(this.searcher.hotels&&this.departureDate&&!this.returnDate){const t=on(new Date(this.departureDate));this.setReturnDate({segmentIndex:this.currentSegment,date:t})}this.setPickingWhichDateType({value:null})}},left(){this.horitzontalScroll>0&&(this.horitzontalScroll-=1),this.searcher.hotels&&J.throwEvent(this.trackingAction,this.searchLabels.select_month(sslpApp.trackingLabelHotels,"previous"))},right(){this.horitzontalScroll<this.monthsLength-1&&(this.horitzontalScroll+=1),this.searcher.hotels&&J.throwEvent(this.trackingAction,this.searchLabels.select_month(sslpApp.trackingLabelHotels,"next"))}}};function Xo(e){for(const t of document.querySelectorAll(".oneLinerSearchBox-row-dates"))if(t.contains(e))return!0;return!1}const Vp={class:"oneLinerSearchBox-calendar-window"},qp=g("i",{"aria-hidden":"true",class:"odf-icon odf-icon-arrow-left"},null,-1),Yp=[qp],Gp=g("i",{"aria-hidden":"true",class:"odf-icon odf-icon-arrow-right"},null,-1),Jp=[Gp],zp=g("div",{class:"odf-separator-large small-border"},null,-1),Qp={class:"oneLinerSearchBox-close-button-zone"},Xp={key:0,class:"datepicker-legend"},Zp={class:"datepicker-legend-levels"},eg={class:"datepicker-legend-check"},tg=g("i",{"aria-hidden":"true"},null,-1),rg=g("i",{class:"datepicker-legend-i","aria-hidden":"true"},null,-1),sg={class:"datepicker-legend-info"},ng={class:"datepicker-legend-check"},og=g("i",{"aria-hidden":"true"},null,-1),ig={class:"datepicker-legend-levels"},ag=["disabled"];function lg(e,t,r,s,n,o){const i=Ft("DatePicker");return fs((w(),k("div",{ref:"closeCalendarRef",class:"oneLinerSearchBox-calendar",style:xt({top:o.calendarTop})},[g("div",Vp,[te(i,{style:xt(o.offsetX),cycle:!1,searcher:r.searcher,colorsOnCalendar:r.colorsOnCalendar},null,8,["style","searcher","colorsOnCalendar"])]),g("button",{type:"button",class:ne(["oneLinerSearchBox-calendar-arrow oneLinerSearchBox-calendar-arrow-left",{"prisma-btn-disabled":n.horitzontalScroll===0}]),onClick:t[0]||(t[0]=a=>o.left())},Yp,2),g("button",{type:"button",class:ne(["oneLinerSearchBox-calendar-arrow oneLinerSearchBox-calendar-arrow-right",{"prisma-btn-disabled":n.horitzontalScroll===n.monthsLength-1}]),onClick:t[1]||(t[1]=a=>o.right())},Jp,2),zp,g("div",Qp,[r.colorsOnCalendar?(w(),k("div",Xp,[g("div",Zp,[g("span",null,R(e.currency),1),g("span",null,R(e.currency)+R(e.currency),1),g("span",null,R(e.currency)+R(e.currency)+R(e.currency),1)]),g("div",null,[g("div",eg,[tg,g("span",null,R(n.sslpAppText.datepicker.checkPrices),1)]),rg]),g("div",sg,[g("div",ng,[og,g("span",null,R(n.sslpAppText.datepicker.missing),1)]),g("div",ig,[g("span",null,R(n.sslpAppText.datepicker.cheap),1),g("span",null,R(n.sslpAppText.datepicker.average),1),g("span",null,R(n.sslpAppText.datepicker.expensive),1)]),g("span",null,R(n.sslpAppText.datepicker.estimate),1)])])):W("",!0),g("button",{id:"done-button",type:"button",class:"button-close button-primary__fit",disabled:o.isClosingBlocked,onClick:t[2]||(t[2]=da((...a)=>o.closeCalendar&&o.closeCalendar(...a),["stop"]))},R(n.sslpAppText.close),9,ag)])],4)),[[fa,o.calendarActive]])}const tl=Oe(Kp,[["render",lg]]),cg=6378.137,an=Object.freeze({KM:"km",ML:"ml"});function ug(e,t,r){const s=$r(t.latitude-e.latitude),n=$r(t.longitude-e.longitude),o=Math.sin(s/2)**2+Math.cos($r(e.latitude))*Math.cos($r(t.latitude))*Math.sin(n/2)**2,i=2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o));let a=cg*i;try{a=hg(a,r)}catch{r=an.KM}return a=Math.ceil(a),a=a===0?1:a,{distance:a,unit:r}}function $r(e){return e*Math.PI/180}function hg(e,t){switch(t){case an.ML:return e*.621371;case an.KM:return e;default:throw new Error(`Unknown distance unit (${t})`)}}const qt=5,dg=[Le.CITY,Le.COUNTRY,Le.IATA_CODE];function Zo(e,t,r,s){let n=[];if(Array.isArray(e)){const o=fg(e,t);for(const i of o)n.push(rl(i));n=pg(n),n=gg(n,s),s&&_g(n,r)}return n}function fg(e,t){const r=ei(t.trim()).toLowerCase();return e.filter(s=>ei(s.matchName).toLowerCase().includes(r))}function pg(e){const t=[];for(const r of e)if(r.typeField===Le.IATA_CODE&&r.geoNodeType!==Le.AIRPORT)t.unshift(r);else if(r.typeField!==Le.NEAREST&&t.push(r),[Le.CITY,Le.COUNTRY,Le.NEAREST].includes(r.typeField)&&Array.isArray(r.originalObject.relatedLocations))for(const s of r.originalObject.relatedLocations)t.push(rl(s,r.originalObject));return t}function rl(e,t=void 0){let r;t?r=e.name+" - "+e.cityName:r=e.geoNodeType===Le.AIRPORT?e.name:e.cityName;const s={itemName:r,cityName:e.cityName,cityParent:t==null?void 0:t.cityName,country:e.countryName,latitude:e.coordinates.latitude,longitude:e.coordinates.longitude,iata:e.iataCode,geoNodeId:e.geoNodeId,typeField:e.type,geoNodeType:e.geoNodeType,distance:null,originalObject:e,source:Za.GEO_API};return t&&(s.coordinatesCity={latitude:t.coordinates.latitude,longitude:t.coordinates.longitude},s.coordinatesAirport={latitude:e.coordinates.latitude,longitude:e.coordinates.longitude}),s}function gg(e,t){let r;if(e.length<=qt)r=e;else{r=[];let s=0;for(const n of e){if(dg.includes(n.typeField)&&(s++,s>qt))break;r.push(n)}}return t?r:mg(r)}const mg=e=>e.filter(t=>t.geoNodeType!==Le.AIRPORT);function _g(e,t){for(const r of e)if(r.typeField===Le.AIRPORT&&r.coordinatesCity&&r.coordinatesAirport){const{distance:s,unit:n}=ug(r.coordinatesCity,r.coordinatesAirport,t);r.distanceUnit=n,r.distance=s}}function ei(e){return e.normalize("NFD").replace(/\p{Diacritic}/gu,"")}function sl(e){return Object.entries(e).reduce((t,[r,s])=>t+";"+r+"="+s,"")}function yg(e,t,r,s){const n={productType:Le.FLIGHT,departureOrArrival:"DEPARTURE",multiLanguage:"TRUE",relatedLocations:"TRUE",addSearchByCountry:"TRUE",nearestLocations:"TRUE",...r,searchKey:t},o=`/${e}/seo/service/geo/autocomplete${sl(n)}`;return fetch(o,{signal:s}).then(i=>i.json())}function Tg(e,t,r,s){const n={productType:Le.HOTEL,departureOrArrival:"ARRIVAL",addSearchByCountry:"TRUE",...r,searchKey:t},o=`/${e}/seo/service/geo/autocomplete${sl(n)}`;return fetch(o,{signal:s}).then(i=>i.json())}function bg(e,t,r){const s={sizeRegion:qt,sizeAccommodation:qt,...t},n=`/${e}/seo/service/accommodation/autocomplete?${new URLSearchParams(s)}`;return fetch(n,{signal:r}).then(o=>o.json())}function vg(e){return Ag(e).map(xg)}function Ag(e){const t=[],r=[];for(const o of e)o.geoType===Vt.ACCOMMODATION?t.push(o):r.push(o);const s=r.slice(0,qt-1),n=qt-s.length;return s.push(...t.slice(0,n)),s}function xg(e){const t={...wg(e.text),geoId:e.id.value,geoType:e.geoType,source:Za.ACCOMMODATION};return t.itemName=t.name,t.itemDescription=t.region,t}function wg(e){const[t,...r]=e.split(/,\s*(?!\s*[a-z])/).map(s=>s.trim());return{name:t,region:r.length?r.filter(Boolean).join(", "):null}}const Sg={name:"SearchBoxAutocomplete",props:{id:{type:String,default:()=>"inputId"},source:{type:String,default:()=>"sourceName"},error:{type:Boolean},animationPlay:{type:Boolean},location:{type:String},label:{type:String},indexSegment:{type:String},distanceUnit:{type:String,default:()=>"km"},isSearcherHotel:{type:Boolean},autoOpenCalendar:{type:Boolean,default:!1}},data(){return{results:[],visible:!1,searching:!1,noResults:!1,searchStr:"",autocompleteController:null,sslpAppText:{autocomplete:{airportSelector:{}}},sslpAppName:null,startLoadTime:0,searchLabels:ft,searcherTypes:_e,trackingPage:""}},computed:{...Sr({segments:e=>e.segments,flightType:e=>e.options.flightType,isDp:e=>e.isDP}),...qe({arrivalHotel:"arrivalHotel"}),inputValue(){return this.searchStr||this.location},departureLocation(){return this.$parent.updateCurrentSegment(this.indexSegment),this.segments[this.indexSegment].departureLocation},arrivalLocation(){return this.$parent.updateCurrentSegment(this.indexSegment),this.segments[this.indexSegment].arrivalLocation},selectedLocation(){return this.id.includes("departure")?this.departureLocation:this.arrivalLocation},errorText(){return this.noResults?this.sslpAppText.city_origin_error_text:""},trackingAction(){return this.isSearcherHotel?_e.hotels:_e.flights},searchLetters(){return this.searchStr.replace(/\s+/g,"").length}},mounted(){this.sslpAppText={...sslpApp.searchBoxTexts},this.searchStr="",this.sslpAppName=sslpApp.appName,this.trackingPage=sslpApp.trackingPage},methods:{...ot(["resetDepartureLocation","resetArrivalLocation","resetArrivalHotel","setDepartureLocation","setArrivalLocation","setArrivalHotel","changeErrorValue"]),highlightText(e){const t=this.inputValue,r=new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),s=e.match(r);return s?e.replace(r,'<span class="highlight">'+s[0]+"</span>"):e},resetInput(){this.searchStr="",this.clearErrors(),this.clearResults(),this.id.includes("departure")?this.resetDepartureLocation(this.indexSegment):this.resetArrivalLocation(this.indexSegment)},showResults(e){this.visible=!0},itemClicked(e){this.selectLocation(this.results[e],e+1),this.clearResults()},setInputFocus(){document.getElementById(this.id+"_value").focus()},trackLocationSelected(e,t){var o;const r=(o=e.geoType||e.type||e.typeField)==null?void 0:o.toLowerCase(),s=e.itemName,n=this.searchLabels.select_suggestion(sslpApp.trackingLabelHotels,r,s,t);J.throwEvent(this.trackingAction,n)},selectLocation(e,t=1){this.isSearcherHotel&&this.trackLocationSelected(e,t),this.id.includes("departure")?this.selectDepartureLocation(e):this.id.includes("arrival")&&this.selectArrivalLocation(e),this.searchStr=""},selectDepartureLocation(e){this.$parent.isSameCity(e,this.arrivalLocation,this.indexSegment),this.setLocation(this.setDepartureLocation,e)},selectArrivalLocation(e){this.$parent.isSameCity(e,this.departureLocation,this.indexSegment),this.arrivalLocation&&this.arrivalLocation!==e&&this.isSearcherHotel&&J.throwEvent(this.trackingAction,this.searchLabels.change_initial_destination(sslpApp.trackingLabelHotels)),this.isSearcherHotel&&e.geoType===Vt.ACCOMMODATION?(this.resetArrivalLocation(this.indexSegment),this.setLocation(this.setArrivalHotel,e)):(this.setLocation(this.setArrivalLocation,e),this.indexSegment==="0"&&this.resetArrivalHotel(this.indexSegment)),this.autoOpenCalendar&&requestAnimationFrame(()=>{var t;(t=document.activeElement)==null||t.blur(),this.$parent.onDateClick(this.indexSegment,ze.departure)})},setLocation(e,t){e({name:t.itemName,cityName:t.cityName,country:t.country,iata:t.iata,geoNodeId:t.geoNodeId,type:t.typeField,geoId:t.geoId,geoType:t.geoType,indexSegment:this.indexSegment})},actionBlur(e){setTimeout(()=>{this.results[0]&&this.selectedLocation.name===""?(this.selectLocation(this.results[0]),this.isSearcherHotel&&J.throwEvent(this.trackingAction,this.searchLabels.select_default_suggestion(sslpApp.trackingLabelHotels))):this.noResults&&this.resetInput(),this.visible=this.noResults},200)},actionFocus(e){this.$emit("activate-flight-types"),this.showResults(e.target.value),this.startLoadTime=performance.now(),this.isSearcherHotel&&J.throwEvent(this.trackingAction,this.searchLabels.open_property_box(sslpApp.trackingLabelHotels,"dest"))},clearErrors(){this.noResults=!1},clearResults(){this.results=[],this.visible=this.noResults},changeInput(e){this.$parent.updateCurrentSegment(this.indexSegment),this.searchStr=e,this.id.includes("departure")?this.resetDepartureLocation(this.indexSegment):(this.resetArrivalLocation(this.indexSegment),this.isSearcherHotel&&this.resetArrivalHotel(this.indexSegment)),this.clearErrors(),this.searchLetters>3&&(this.startLoadTime=performance.now()),this.searchLetters>=3?this.getResultsAutocomplete():this.clearResults()},async getResultsAutocomplete(){var e;this.visible=!0,this.searching=!0;try{this.results=await this.fetchAutocomplete(this.searchStr,this.distanceUnit,this.resetRequest()),this.noResults=((e=this.results)==null?void 0:e.length)===0,this.trackSearchResults()}catch(t){t.name!=="AbortError"&&console.error("Failed to fetch autocomplete results: "+t,t.cause)}finally{this.searching=!1}},resetRequest(){return this.autocompleteController&&this.autocompleteController.abort("OutdatedQuery"),this.autocompleteController=new AbortController,this.autocompleteController.signal},async fetchAutocomplete(e,t,r){const{locale:s,websiteCode:n}=sslpApp,o=document.getElementById("flightsHotelTab");if(this.isSearcherHotel){const i=await bg(this.sslpAppName,{searchTerm:e,locale:s},r);return vg(i)}else if(o.classList.contains("active")&&this.id.includes("arrival")){const i=await Tg(this.sslpAppName,e,{locale:s,website:n},r);return Zo(i,e,t,!0)}else{const i=await yg(this.sslpAppName,e,{locale:s,website:n},r);return Zo(i,e,t,!0)}},trackSearchResults(){if(this.isSearcherHotel){const e=(performance.now()-this.startLoadTime)/1e3;J.throwEvent(this.trackingAction,ft.load_suggestions_time(sslpApp.trackingLabelHotels,e.toFixed(3))),this.noResults&&J.throwEvent(this.trackingAction,ft.no_results(sslpApp.trackingLabelHotels,this.searchStr))}this.noResults&&this.$parent.searcher.flightsHotel&&this.id.includes("arrival")&&J.throwEvent("dp-search-destination-no-match","dp_dest_error_no-matches_"+this.searchStr+"_pag:"+this.trackingPage)},showAirportDistanceText(e,t,r){const s=((this.sslpAppText.autocomplete||{}).airportSelector||{}).relatedDistance;return Vf(s,e,t,r)},getIconForResult(e){return e.geoNodeType==="AIRPORT"?"odf-icon-flight-right":e.geoType===Vt.ACCOMMODATION?"odf-icon-hotel-v2":"odf-icon-location"}}},Pg={class:"oneLinerSearchBox-label"},Cg=["id","value","name","placeholder"],Lg=["id"],kg=["id"],Eg={class:"autocomplete-row-content"},Ig=g("i",{class:"odf-icon odf-icon-interrogation-circle odf-icon-xl","aria-hidden":"true"},null,-1),Dg=["textContent"],Rg=["onClick"],Og={class:"autocomplete-row-content"},Ng={class:"autocomplete-title"},Hg=["innerHTML"],Mg=["innerHTML"],Bg=["innerHTML"],Fg=["innerHTML"],jg={key:0,class:"autocomplete-iata"};function Ug(e,t,r,s,n,o){return w(),k("div",{onClick:t[3]||(t[3]=(...i)=>o.setInputFocus&&o.setInputFocus(...i))},[g("label",Pg,[g("span",null,R(r.label),1)]),g("input",{id:r.id+"_value",value:o.inputValue,name:r.id+"Input",placeholder:r.source,type:"text",maxlength:"524288",class:"oneLinerSearchBox-input",autocapitalize:"off",autocorrect:"off",autocomplete:"off",spellcheck:"false",onInput:t[0]||(t[0]=i=>o.changeInput(i.target.value)),onBlur:t[1]||(t[1]=i=>o.actionBlur(i)),onFocus:t[2]||(t[2]=i=>o.actionFocus(i))},null,40,Cg),n.visible?(w(),k("div",{key:0,id:r.id+"_dropdown",class:"autocomplete-dropdown"},[fs(g("div",{id:"error-"+r.id,class:"autocomplete-row autocomplete-searching-error"},[g("div",Eg,[Ig,g("span",{textContent:R(o.errorText)},null,8,Dg)])],8,kg),[[fa,!n.searching&&n.noResults]]),(w(!0),k(he,null,$e(n.results,(i,a)=>(w(),k("div",{key:a,class:ne(["autocomplete-row",{"autocomplete-row-location":i.geoNodeType!=="AIRPORT"}]),onClick:l=>o.itemClicked(a)},[g("div",Og,[g("i",{class:ne(["odf-icon autocomplete-icon",[o.getIconForResult(i),i.typeField==="AIRPORT"&&i.cityParent?"related-location":""]]),"aria-hidden":"true"},null,2),g("div",Ng,[g("span",{class:"autocomplete-title_main",innerHTML:o.highlightText(i.itemName)},null,8,Hg),i.distance?(w(),k("span",{key:0,class:"odf-text-md autocomplete-title_secondary",innerHTML:o.highlightText(o.showAirportDistanceText(i.distance,i.distanceUnit,i.cityParent))},null,8,Mg)):i.itemDescription?(w(),k("span",{key:1,class:"autocomplete-title_secondary",innerHTML:o.highlightText(i.itemDescription)},null,8,Bg)):i.country?(w(),k("span",{key:2,class:"autocomplete-title_secondary",innerHTML:o.highlightText(i.country)},null,8,Fg)):W("",!0)]),i.iata?(w(),k("div",jg,[g("span",null,R(i.iata),1)])):W("",!0)])],10,Rg))),128))],8,Lg)):W("",!0)])}const nl=Oe(Sg,[["render",Ug]]),$g={name:"PassengerSelector",props:{position:{type:String,required:!0},action:{type:Number,required:!0},passengerType:{type:String,validator:e=>[$.adults,$.children,$.infants].includes(e),required:!0}},data(){return{passengerTypeUtil:$,passengerActionUtil:Me,nameOperationButton:this.action===Me.add.action?Me.add.name:Me.remove.name}},computed:{...qe({getPassengersAdultsLessOneMaxAllowed:"getPassengersAdultsLessOneMaxAllowed",getPassengersAdultsLessOneMaxAllowedInfants:"getPassengersAdultsLessOneMaxAllowedInfants",getTotalNumberChildrenInfants:"getTotalNumberChildrenInfants",getTotalNumberTypePassenger:"getTotalNumberTypePassenger",getMinAllowedTypePassenger:"getMinAllowedTypePassenger",getMaxAllowedTypePassenger:"getMaxAllowedTypePassenger",getMaxAllowedInfantsChildren:"getMaxAllowedInfantsChildren",isMaxTotalPassengers:"isMaxTotalPassengers"})},methods:{...ot({addRemovePassengers:"addRemovePassengers"}),addRemovePassengersEvent(){this.isActiveAddRemovePassengerType()&&this.addRemovePassengers({passengerType:this.passengerType,numberPassengersToAddRemove:this.action})},isActiveAddRemovePassengerType(){return this.action===-1?this.isActiveRemovePassengerType():this.isActiveAddPassengerType()},isActiveRemovePassengerType(){return this.passengerType===$.adults?this.checkChildrenInfants():this.getMinAllowedTypePassenger(this.passengerType)<this.getTotalNumberTypePassenger(this.passengerType)},checkChildrenInfants(){return this.getTotalNumberTypePassenger($.adults)>this.getMinAllowedTypePassenger($.adults)&&this.getPassengersAdultsLessOneMaxAllowed()>=this.getTotalNumberChildrenInfants()&&this.getPassengersAdultsLessOneMaxAllowed()>=this.getTotalNumberTypePassenger($.children)&&this.getPassengersAdultsLessOneMaxAllowedInfants()>=this.getTotalNumberTypePassenger($.infants)},isActiveAddPassengerType(){return this.passengerType===$.adults?this.isActiveAddAdult():this.isActiveAddChildrenInfant()},isActiveAddAdult(){return!this.isMaxTotalPassengers},isActiveAddChildrenInfant(){return!this.isMaxTotalPassengers&&this.getTotalNumberTypePassenger(this.passengerType)<this.getMaxAllowedTypePassenger(this.passengerType)&&this.getTotalNumberChildrenInfants()<this.getMaxAllowedInfantsChildren()}}},Wg=["id"];function Kg(e,t,r,s,n,o){return w(),k("button",{id:n.nameOperationButton+"-"+r.passengerType,class:ne(["prisma-btn prisma-btn-default prisma-btn-icon-only prisma-btn-circle oneLinerSearchBox-passengers-item",[{"is-disabled":!o.isActiveAddRemovePassengerType(r.passengerType,r.action)}]]),onClick:t[0]||(t[0]=(...i)=>o.addRemovePassengersEvent&&o.addRemovePassengersEvent(...i))},[g("i",{class:ne(["odf-icon",r.action===n.passengerActionUtil.add.action?"odf-icon-plus":"odf-icon-less"]),"aria-hidden":"true"},null,2)],10,Wg)}const Vg=Oe($g,[["render",Kg]]),qg={name:"PassengerRow",components:{PassengerSelector:Vg},props:{rowText:{type:String,required:!0},passengerType:{type:String,validator:e=>[$.adults,$.children,$.infants].includes(e),required:!0}},data(){return{passengerTypeUtil:$,passengerActionUtil:Me}},computed:{...qe(["getTotalNumberTypePassenger"])}},Yg={class:"oneLinerSearchBox-passengers-row"},Gg={class:"oneLinerSearchBox-passengers-row-text"},Jg={class:"oneLinerSearchBox-passengers-row-number"};function zg(e,t,r,s,n,o){const i=Ft("PassengerSelector");return w(),k("div",Yg,[g("span",Gg,R(r.rowText),1),te(i,{action:n.passengerActionUtil.remove.action,"passenger-type":r.passengerType},null,8,["action","passenger-type"]),g("span",Jg,R(e.getTotalNumberTypePassenger(r.passengerType)),1),te(i,{action:n.passengerActionUtil.add.action,"passenger-type":r.passengerType},null,8,["action","passenger-type"])])}const Qg=Oe(qg,[["render",zg]]),Xg={name:"SearchBoxPassengers",components:{PassengerRow:Qg},props:{directFlightChecked:{type:Boolean},searcher:{type:Object},updateDirectFlight:{type:Function}},data(){return{sslpAppText:{passengers:{close:""}},textsPassengers:"",passengerRowData:[{passengerType:$.adults,passengerText:"",ageText:""},{passengerType:$.children,passengerText:"",ageText:""},{passengerType:$.infants,passengerText:"",ageText:""}],toggled:!1,listener:null}},computed:{...qe(["getTotalNumberChildrenInfants","getMaxAllowedInfantsChildren","getTotalNumberPassengers","getMaxAllowTotalPassengers"])},mounted(){this.sslpAppText={...sslpApp.searchBoxTexts},this.passengerRowData[0].passengerText=this.sslpAppText.passengers.adult.plural,this.passengerRowData[0].ageText=this.sslpAppText.passengers.adult.age,this.passengerRowData[1].passengerText=this.sslpAppText.passengers.children.plural,this.passengerRowData[1].ageText=this.sslpAppText.passengers.children.age,this.passengerRowData[2].passengerText=this.sslpAppText.passengers.infants.plural,this.passengerRowData[2].ageText=this.sslpAppText.passengers.infants.age,this.listenner=qn(this.$refs.passengerOptions,()=>{this.closePassengerOptions()}),window.addEventListener("click",this.listenner)},unmounted(){window.removeEventListener("click",this.listenner)},methods:{togglePassengerOptions(){this.$emit("activate-flight-types"),this.$refs.passengerOptions.classList.contains("is-hidden")?(this.$refs.passengerOptions.classList.remove("is-hidden"),document.getElementById("passenger-selector").focus()):this.$refs.passengerOptions.classList.add("is-hidden"),this.toggled=!0},closePassengerOptions(){this.toggled||this.$refs.passengerOptions.classList.add("is-hidden"),this.toggled=!1},isMaxChildren(){return this.getTotalNumberChildrenInfants()===this.getMaxAllowedInfantsChildren()}}},Zg={class:"oneLinerSearchBox-label"},em={class:"oneLinerSearchBox-passengers-input"},tm=g("i",{class:"odf-icon odf-icon-pax odf-icon-2xl","aria-hidden":"true"},null,-1),rm=["value"],sm={ref:"passengerOptions",class:"oneLinerSearchBox-passengers-group prisma-elevation-1 is-hidden"},nm={class:"oneLinerSearchBox-passengers-selector"},om={key:0,id:"max-passengers",class:"oneLinerSearchBox-passengers-message"},im=g("i",{"aria-hidden":"true",class:"odf-icon-information-2"},null,-1),am={key:1,id:"max-children",class:"oneLinerSearchBox-passengers-message"},lm=g("i",{"aria-hidden":"true",class:"odf-icon-information-2"},null,-1),cm=g("div",{class:"odf-separator-large"},null,-1),um={class:"oneLinerSearchBox-passengers-row is-button"};function hm(e,t,r,s,n,o){const i=Ft("PassengerRow");return w(),k("div",null,[r.searcher.flights?(w(),k("div",{key:0,class:"oneLinerSearchBox-box oneLinerSearchBox-passengers oneLinerSearchBox-item",onClick:t[0]||(t[0]=(...a)=>o.togglePassengerOptions&&o.togglePassengerOptions(...a))},[g("label",Zg,[g("span",null,R(n.sslpAppText.passengers.title),1)]),g("div",em,[tm,g("input",{type:"text",value:e.getTotalNumberPassengers,class:"oneLinerSearchBox-input is-dates-or-passengers",id:"passenger-selector",readonly:"true"},null,8,rm)])])):W("",!0),g("div",sm,[g("div",nm,[(w(!0),k(he,null,$e(n.passengerRowData,a=>(w(),k("div",{key:a.id},[(w(),Ae(i,{key:a.id,"passenger-type":a.passengerType,"row-text":a.passengerText+" "+a.ageText},null,8,["passenger-type","row-text"]))]))),128)),e.getTotalNumberPassengers===e.getMaxAllowTotalPassengers?(w(),k("div",om,[im,g("span",null,R(n.sslpAppText.passengers.error.maxPeople),1)])):W("",!0),o.isMaxChildren()?(w(),k("div",am,[lm,g("span",null,R(n.sslpAppText.passengers.error.maxChildren),1)])):W("",!0)]),cm,g("div",um,[g("button",{id:"passengers-close-btn",type:"button",class:"button-close__fill",onClick:t[1]||(t[1]=(...a)=>o.closePassengerOptions&&o.closePassengerOptions(...a))},R(n.sslpAppText.passengers.close),1)])],512)])}const ol=Oe(Xg,[["render",hm]]),dm={name:"RoomSelector",props:{position:{type:String,required:!0},action:{type:Number,required:!0},passengerType:{type:String,validator:e=>[$.adults,$.children,$.infants].includes(e),required:!0},roomId:{type:String,required:!0},isHotel:{type:Boolean}},data(){return{searchLabels:ft,searcherTypes:_e,passengerTypeUtil:$,passengerActionUtil:Me,nameOperationButton:this.action===Me.add.action?Me.add.name:Me.remove.name}},computed:{...qe({getPassengersAdultsLessOneMaxAllowed:"getPassengersAdultsLessOneMaxAllowed",getPassengersAdultsLessOneMaxAllowedInfants:"getPassengersAdultsLessOneMaxAllowedInfants",getTotalNumberChildrenInfants:"getTotalNumberChildrenInfants",getTotalNumberTypePassenger:"getTotalNumberTypePassenger",getMinAllowedTypePassenger:"getMinAllowedTypePassenger",getMaxAllowedTypePassenger:"getMaxAllowedTypePassenger",getMaxAllowedInfantsChildren:"getMaxAllowedInfantsChildren",isMaxTotalPassengers:"isMaxTotalPassengers",getMaxAllowTotalPassengersPerRoom:"getMaxAllowTotalPassengersPerRoom",getTotalNumberPassengersPerRoom:"getTotalNumberPassengersPerRoom"}),trackingAction(){return this.isHotel?_e.hotels:_e.flights}},methods:{...ot({addRemovePassengers:"addRemovePassengers",removeAge:"removeAge",setAgeError:"setAgeError"}),async addRemovePassengersEvent(){if(this.isActiveAddRemovePassengerType()&&(await this.addRemovePassengers({passengerType:this.passengerType,numberPassengersToAddRemove:this.action,roomId:this.roomId}),[$.children,$.infants].includes(this.passengerType)&&this.action===Me.remove.action&&(await this.removeAge({passengerType:this.passengerType,roomId:this.roomId}),await this.setAgeError({roomId:this.roomId,value:!1})),this.isHotel)){const e=this.action===Me.remove.action?"remove":"add",t=this.passengerType===$.adults?"adult":"child";J.throwEvent(this.trackingAction,this.searchLabels.change_number_guests(sslpApp.trackingLabelHotels,e,t))}},isActiveAddRemovePassengerType(){return this.action===-1?this.isActiveRemovePassengerType():this.isActiveAddPassengerType()},isActiveRemovePassengerType(){return this.passengerType===$.adults&&!this.isHotel?this.checkChildrenInfants():this.getMinAllowedTypePassenger(this.passengerType,this.roomId)<this.getTotalNumberTypePassenger(this.passengerType,this.roomId)},checkChildrenInfants(){return this.getTotalNumberTypePassenger($.adults,this.roomId)>this.getMinAllowedTypePassenger($.adults,this.roomId)&&this.getPassengersAdultsLessOneMaxAllowed(this.roomId)>=this.getTotalNumberChildrenInfants(this.roomId)&&this.getPassengersAdultsLessOneMaxAllowed(this.roomId)>=this.getTotalNumberTypePassenger($.children,this.roomId)&&this.getPassengersAdultsLessOneMaxAllowedInfants(this.roomId)>=this.getTotalNumberTypePassenger($.infants,this.roomId)},isActiveAddPassengerType(){if(this.passengerType===$.adults){const e=this.isActiveAddAdult()&&!this.isMaxTotalPassengersPerRoom();return this.isHotel&&!e&&J.throwEvent(this.trackingAction,this.searchLabels.max_guests_error(sslpApp.trackingLabelHotels)),e}else return this.isActiveAddChildrenInfant()&&!this.isMaxTotalPassengersPerRoom()},isActiveAddAdult(){return!this.isMaxTotalPassengers},isMaxTotalPassengersPerRoom(){return this.getTotalNumberPassengersPerRoom(this.roomId)===this.getMaxAllowTotalPassengersPerRoom(this.roomId)},isActiveAddChildrenInfant(){const e=this.getTotalNumberTypePassenger(this.passengerType,this.roomId)>=this.getMaxAllowedTypePassenger(this.passengerType,this.roomId),t=this.getTotalNumberChildrenInfants(this.roomId)>=this.getMaxAllowedInfantsChildren(this.roomId);return this.isHotel&&e&&J.throwEvent(this.trackingAction,this.searchLabels.max_child_error(sslpApp.trackingLabelHotels)),!this.isMaxTotalPassengers&&!e&&!t}}},fm=["id"];function pm(e,t,r,s,n,o){return w(),k("button",{id:n.nameOperationButton+"-"+r.passengerType,class:ne(["oneLinerSearchBox-passengers-item",[{"is-disabled":!o.isActiveAddRemovePassengerType(r.passengerType,r.action)}]]),onClick:t[0]||(t[0]=(...i)=>o.addRemovePassengersEvent&&o.addRemovePassengersEvent(...i))},[g("i",{class:ne(["odf-icon",r.action===n.passengerActionUtil.add.action?"odf-icon-plus":"odf-icon-less"]),"aria-hidden":"true"},null,2)],10,fm)}const gm=Oe(dm,[["render",pm]]),mm={name:"AgeSelector",props:{passengerType:{type:String,validator:e=>[$.children].includes(e),required:!0},roomId:{type:String,required:!0},id:{type:String,required:!0},showError:{type:String,required:!0},isHotel:{type:Boolean}},data(){return{maxAgeChildren:this.isHotel?17:11,minAgeChildren:0,sslpAppText:{rooms:{textAge:""},passengers:{children:{singular:""}}},selected:""}},computed:{...qe({getAge:"getAge",hasAgeError:"hasAgeError"})},mounted(){this.sslpAppText={...sslpApp.searchBoxTexts},this.selected=this.getAge(this.roomId,this.passengerType,this.id)===null?"-1":this.getAge(this.roomId,this.passengerType,this.id)},methods:{...ot({addNewOrModifyAge:"addNewOrModifyAge",removeAgeSelected:"removeAgeSelected",setAgeError:"setAgeError"}),selectValue(e){this.selected!=="-1"?(this.addNewOrModifyAge({id:this.id,passengerType:this.passengerType,value:this.selected,roomId:this.roomId}),this.setAgeError({roomId:this.roomId,childId:this.id,value:!1})):this.removeAgeSelected({id:this.id,roomId:this.roomId,passengerType:this.passengerType})}}},_m={class:"oneLinerSearchBox-rooms-age-selector"},ym={class:"oneLinerSearchBox-rooms-age-selector-title"},Tm={value:"-1",disabled:""},bm=["value"];function vm(e,t,r,s,n,o){return w(),k("div",_m,[g("label",ym,R(n.sslpAppText.passengers.children.singular)+" "+R(r.id),1),g("div",{id:"age-range",class:"oneLinerSearchBox-rooms-age-selector-box",onChange:t[1]||(t[1]=(...i)=>o.selectValue&&o.selectValue(...i))},[g("i",{"aria-hidden":"true",class:ne(["odf-icon odf-icon-arrow-down",{"is-error":e.hasAgeError(r.roomId,r.id)}])},null,2),fs(g("select",{"onUpdate:modelValue":t[0]||(t[0]=i=>n.selected=i),class:ne(["oneLinerSearchBox-rooms-age-selector-dropdown",{"is-error":e.hasAgeError(r.roomId,r.id)}])},[g("option",Tm,R(n.sslpAppText.rooms.textAge),1),(w(!0),k(he,null,$e(Array.from({length:n.maxAgeChildren-n.minAgeChildren+1},(i,a)=>a+n.minAgeChildren),i=>(w(),k("option",{key:i,value:i},R(i),9,bm))),128))],2),[[Nu,n.selected]])],32)])}const Am=Oe(mm,[["render",vm]]),xm={name:"RoomRow",components:{RoomSelector:gm,AgeSelector:Am},props:{ageText:{type:String,required:!0},passengerText:{type:String,required:!0},passengerType:{type:String,validator:e=>[$.adults,$.children].includes(e),required:!0},roomId:{type:String,required:!0},isHotel:{type:Boolean}},data(){return{passengerTypeUtil:$,passengerActionUtil:Me}},computed:{...qe({getTotalNumberTypePassengerPerRoom:"getTotalNumberTypePassengerPerRoom"})}},wm={class:"oneLinerSearchBox-rooms-row"},Sm={class:"oneLinerSearchBox-passengers-row-text"},Pm=["innerHTML"],Cm={key:0,class:"oneLinerSearchBox-rooms-age"};function Lm(e,t,r,s,n,o){const i=Ft("RoomSelector"),a=Ft("AgeSelector");return w(),k("div",null,[g("div",wm,[g("span",Sm,R(r.passengerText)+" "+R(r.ageText),1),te(i,{action:n.passengerActionUtil.remove.action,"passenger-type":r.passengerType,"room-id":r.roomId,"is-hotel":r.isHotel},null,8,["action","passenger-type","room-id","is-hotel"]),g("span",{class:"oneLinerSearchBox-passengers-row-number",innerHTML:e.getTotalNumberTypePassengerPerRoom(r.passengerType,r.roomId)},null,8,Pm),te(i,{action:n.passengerActionUtil.add.action,"passenger-type":r.passengerType,"room-id":r.roomId,"is-hotel":r.isHotel},null,8,["action","passenger-type","room-id","is-hotel"])]),r.passengerType!==n.passengerTypeUtil.adults&&e.getTotalNumberTypePassengerPerRoom(r.passengerType,r.roomId)>0?(w(),k("div",Cm,[(w(!0),k(he,null,$e(e.getTotalNumberTypePassengerPerRoom(r.passengerType,r.roomId),l=>(w(),Ae(a,{id:l,key:l,"room-id":r.roomId,"passenger-type":r.passengerType,"is-hotel":r.isHotel},null,8,["id","room-id","passenger-type","is-hotel"]))),128))])):W("",!0)])}const km=Oe(xm,[["render",Lm]]),Em={name:"SearchBoxRooms",components:{RoomRow:km},props:{searcher:{type:Object}},data(){return{sslpAppText:{passengers:{close:""},rooms:{room:{singular:"",plural:""}}},maxPeopleText:"",maxChildrenText:"",passengerRowData:[{passengerType:$.adults,passengerText:"",ageText:""},{passengerType:$.children,passengerText:"",ageText:""}],maxRooms:0,isDialogOpen:!1,searchLabels:ft,searcherTypes:_e,SearchTypes:Te}},computed:{...Sr({passengers:e=>e.passengers,rooms:e=>e.rooms}),...qe(["getTotalNumberRooms","getTotalNumberChildrenInfants","getMaxAllowedInfantsChildren","getTotalNumberPassengers","getTotalNumberPassengersRooms","getMaxAllowTotalPassengers","isMaxTotalPassengersPerRoom","isMaxChildrenPerRoom","isMaxTotalPassengers","isInfantsAgesSelected","hasAgeErrors"]),trackingAction(){return this.searcher.hotels?_e.hotels:_e.flights},getRoomsText(){const e=this.getTotalNumberRooms,t=e>1?this.sslpAppText.rooms.room.plural.toLowerCase():this.sslpAppText.rooms.room.singular.toLowerCase();return`${e} ${t}`}},mounted(){this.sslpAppText={...sslpApp.searchBoxTexts},this.passengerRowData[0].passengerText=this.sslpAppText.passengers.adult.plural,this.passengerRowData[0].ageText=this.sslpAppText.passengers.adult.age,this.passengerRowData[0].hotelAgeText=this.sslpAppText.passengers.adult.hotelAge,this.passengerRowData[1].passengerText=this.sslpAppText.passengers.children.plural,this.passengerRowData[1].ageText=this.sslpAppText.rooms.infants.age,this.passengerRowData[1].hotelAgeText=this.sslpAppText.passengers.children.hotelAge,this.listener=qn(this.$refs.closeRoomsRef,()=>{this.closeRoomsOptions()}),window.addEventListener("click",this.listener)},unmounted(){window.removeEventListener("click",this.listener)},beforeUpdate(){this.maxRooms=this.searcher.hotels?Uf:$f,this.maxPeopleText=this.searcher.hotels?this.sslpAppText.passengers.error.maxHotelPeople.replace("%1$s",nn):this.sslpAppText.passengers.error.maxPeople,this.maxChildrenText=this.searcher.hotels?this.sslpAppText.passengers.error.maxHotelChildren.replace("%1$s",Wf):this.sslpAppText.passengers.error.maxChildren},methods:{toggleRoomsOptions(){this.$emit("activate-flight-types"),this.refreshAgeErrors(),!this.hasAgeErrors()&&(this.isDialogOpen=!this.isDialogOpen,this.isDialogOpen&&document.getElementById("room-selector").focus(),this.searcher.hotels&&this.isDialogOpen&&J.throwEvent(this.trackingAction,this.searchLabels.open_property_box(sslpApp.trackingLabelHotels,"guest")))},closeRoomsOptions(){if(!this.isDialogOpen)return;this.refreshAgeErrors();const e=!this.hasAgeErrors();if(!e&&this.searcher.hotels&&J.throwEvent(this.trackingAction,this.searchLabels.no_child_age(sslpApp.trackingLabelHotels)),!!e&&(this.isDialogOpen=!1,this.searcher.hotels&&!this.isDialogOpen)){const t=this.getTotalNumberRooms;J.throwEvent(this.trackingAction,this.searchLabels.select_total_rooms(sslpApp.trackingLabelHotels,t))}},...ot(["addNewRoom","removeRoomByIndex","refreshAgeErrors"]),addRoom(){this.isDialogOpen=!0,this.addNewRoom(),this.searcher.hotels&&J.throwEvent(this.trackingAction,this.searchLabels.change_number_rooms(sslpApp.trackingLabelHotels,"add"))},removeRoom(e){this.isDialogOpen=!0,this.removeRoomByIndex(e),this.searcher.hotels&&J.throwEvent(this.trackingAction,this.searchLabels.change_number_rooms(sslpApp.trackingLabelHotels,"remove"))},isMaxTotalPassengersPerRoomErrorVisible(e){return this.isMaxTotalPassengersPerRoom(e)},isMaxChildrenPerRoomErrorVisible(e){return this.isMaxChildrenPerRoom(e)}}},Im={ref:"closeRoomsRef",class:"oneLinerSearchBox-rooms"},Dm={class:"oneLinerSearchBox-label"},Rm={id:"room-selector",class:"oneLinerSearchBox-rooms-input"},Om={class:"oneLinerSearchBox-rooms-input-text"},Nm={class:"oneLinerSearchBox-rooms-input-text"},Hm=g("i",{class:"oneLinerSearchBox-rooms-input-icon","aria-hidden":"true"},null,-1),Mm={class:"oneLinerSearchBox-rooms-title"},Bm=["onClick"],Fm={key:0,class:"oneLinerSearchBox-passengers-error"},jm=g("i",{"aria-hidden":"true",class:"odf-icon-exclamation-circle-filled"},null,-1),Um={key:1,class:"oneLinerSearchBox-passengers-message"},$m=g("i",{"aria-hidden":"true",class:"odf-icon-information-2"},null,-1),Wm={key:2,id:"max-children",class:"oneLinerSearchBox-passengers-message"},Km=g("i",{"aria-hidden":"true",class:"odf-icon-information-2"},null,-1),Vm={class:"oneLinerSearchBox-rooms-footer"},qm={key:0,id:"max-passengers",class:"oneLinerSearchBox-passengers-message"},Ym=g("i",{"aria-hidden":"true",class:"odf-icon-information-2"},null,-1),Gm=g("i",{class:"oneLinerSearchBox-passengers-addRoom-icon","aria-hidden":"true"},null,-1),Jm={class:"oneLinerSearchBox-passengers-addRoom-text"};function zm(e,t,r,s,n,o){const i=Ft("RoomRow");return w(),k("div",Im,[g("div",{class:ne(["oneLinerSearchBox-box oneLinerSearchBox-rooms-container",{"is-error":e.hasAgeErrors(),"oneLinerSearchBox-box-highlighted":n.isDialogOpen&&!e.hasAgeErrors()}]),onClick:t[0]||(t[0]=a=>o.toggleRoomsOptions())},[g("label",Dm,R(r.searcher.hotels?n.sslpAppText.rooms.hotelsTitle:n.sslpAppText.passengers.title),1),g("div",Rm,[g("span",Om,R(o.getRoomsText),1),g("span",Nm,[Hm,In(R(e.getTotalNumberPassengersRooms),1)])])],2),g("div",{class:ne(["oneLinerSearchBox-passengers-group prisma-elevation-1",{"is-hidden":!n.isDialogOpen}])},[(w(!0),k(he,null,$e(e.rooms,(a,l)=>(w(),k("div",{key:a.id+1,class:"oneLinerSearchBox-rooms-box"},[g("div",Mm,[g("span",null,R(n.sslpAppText.rooms.room.singular)+" "+R(l+1),1),l>0?(w(),k("i",{key:0,"aria-hidden":"true",class:"odf-icon odf-icon-cross-light odf-icon-2xl odf-text-mono-color-05 odf-clickable oneLinerSearchBox-rooms-removeButton",onClick:da(c=>o.removeRoom(a.id),["stop"])},null,8,Bm)):W("",!0)]),(w(!0),k(he,null,$e(n.passengerRowData,c=>(w(),Ae(i,{key:c.id,"passenger-type":c.passengerType,"passenger-text":c.passengerText,"age-text":r.searcher.hotels?c.hotelAgeText:c.ageText,"room-id":a.id,"is-hotel":r.searcher.hotels},null,8,["passenger-type","passenger-text","age-text","room-id","is-hotel"]))),128)),e.hasAgeErrors(a.id)?(w(),k("div",Fm,[jm,g("span",null,R(n.sslpAppText.passengers.error.kidAge),1)])):W("",!0),!r.searcher.hotels&&o.isMaxTotalPassengersPerRoomErrorVisible(a.id)?(w(),k("div",Um,[$m,g("span",null,R(n.sslpAppText.rooms.error.maxPeoplePerRoom),1)])):W("",!0),o.isMaxChildrenPerRoomErrorVisible(a.id)?(w(),k("div",Wm,[Km,g("span",null,R(n.maxChildrenText),1)])):W("",!0)]))),128)),g("div",Vm,[e.isMaxTotalPassengers?(w(),k("div",qm,[Ym,g("span",null,R(n.maxPeopleText),1)])):W("",!0),!e.isMaxTotalPassengers&&e.rooms.length<n.maxRooms?(w(),k("button",{key:1,type:"button",class:"oneLinerSearchBox-passengers-addRoom",onClick:t[1]||(t[1]=(...a)=>o.addRoom&&o.addRoom(...a))},[Gm,g("span",Jm,R(n.sslpAppText.rooms.addRoom),1)])):W("",!0),g("button",{id:"passengers-close-btn",type:"button",class:"button-close__fill",onClick:t[2]||(t[2]=(...a)=>o.closeRoomsOptions&&o.closeRoomsOptions(...a))},R(n.sslpAppText.close),1)])],2)],512)}const il=Oe(Em,[["render",zm]]);function al(){document.fonts.ready.then(()=>{for(const t of document.getElementsByClassName("fonts-loading"))t&&t.classList.remove("fonts-loading");document.querySelectorAll(".tabs-icon").forEach(t=>{t.style.visibility="initial"}),document.querySelectorAll(".odf-icon").forEach(t=>{t.style.visibility="initial"});const e=document.querySelectorAll(".searchBox-icon-calendar");e.length!==0&&(e.forEach(t=>{t.style.visibility="initial"}),document.querySelector(".searchBox-icon-downArrow").style.visibility="initial",document.querySelector(".swap-button-icon").style.visibility="initial")})}function or(e){const t=e||"";t!==""&&(window.location.href=t)}function Qm(e){const t=e||"";t!==""&&window.open(t)}function Xm(e){const t={utmcsr:"utm_source",utmccn:"utm_campaign",utmcmd:"utm_medium"};let r="",s=e;try{const n=Zm("mktTrack"),o=e_();if(Object.keys(n).length!==0&&o!==void 0&&o!=="")return s+=e.includes("?")?"&":"?",s+="clientId="+o,Object.keys(t).forEach(function(i){r=t[i],n[i]!==void 0&&(s+="&"+r+"="+n[i])}),s}catch{return e}return e}function Zm(e){const t=document.cookie.match(/((mktTrack)=[^;]+)/),r=t?t[0]:void 0,s=r?r.substring(r.indexOf("=")+1).split("|"):void 0,n={};let o="";if(r!==void 0)for(let i=0;i<s.length;i++)o=s[i],n[o.substring(0,o.indexOf("="))]=o.substring(o.indexOf("=")+1);return n}function e_(){let e="";if(window.ga!==void 0&&window.ga.getAll!==void 0){const t=window.ga.getAll();t.length!==0&&(e=t[0].get("clientId"))}return e}const t_={name:"SearchBox",inject:["emitter"],methods:{createRoomConfiguration:zo,getRoomConfiguration:Jo,...ot(["setPricesLoading","swapLocations","setFlightType","setCalendarDates","setCalendarPrices","setTotalPriceSelectedInCalendar","setLowestPricesInCalendar","setPassengersGeneralInfo","setPassengerInformation","setDirectFlight","setFlightOptions","setReturnDate","changeErrorValue","setValuesOnPrefill","setLocalStorageRecovery","resetSegments","addSegment","removeSegment","updateCurrentSegment","setPickingWhichDateType","resetArrivalLocation","changeTripDurationErrorValue","setDepartureLocation","setArrivalLocation","setOldDepartureCityNameCalendar","setOldArrivalCityNameCalendar","setOldFlightType","setArrivalHotel","setIsSem"]),tripDuration(e){return e.departureDate.date&&e.returnDate.date?(e.returnDate.date.getTime()-e.departureDate.date.getTime())/(1e3*3600*24):-1},hasMinTripDurationError(e){return this.tripDuration(e)<1},hasMaxTripDurationError(e){return this.tripDuration(e)>28},hideCurrencySwitcher(){const e=document.body,t=document.getElementById("expander-link-6");if(t){let r=!1;e.addEventListener("click",()=>{r=t.checked,t.checked=!1}),t.addEventListener("click",s=>{s.stopPropagation(),t.checked=!r})}},preFillFromLocalStorage(){const e=window.location.pathname,t=JSON.parse(localStorage.getItem(e));t&&Kf(t.segments[0].departureDate.date)&&this.setValuesOnPrefill({localStorageData:t})},saveSearchToLocalStorage(){const e=window.location.pathname,t=this.getValuesForLocalStorage;localStorage.setItem(e,JSON.stringify(t))},getCityFromGeoApi(e){fetch("/"+sslpApp.appName+"/seo/service/geo/autocomplete;locale="+lang+"_"+countryCode+";productType="+(this.searcher.hotels?"HOTEL":"FLIGHT")+";website="+countryCode+";departureOrArrival=DEPARTURE;multiLanguage=TRUE;relatedLocations=TRUE;addSearchByCountry=TRUE;nearestLocations=TRUE;searchKey="+e).then(t=>t.json()).then(t=>{if(t.length>0){const r=t[0],s=r.type==="AIRPORT"?r.name+" - "+r.cityName:r.cityName;this.setDepartureLocation({indexSegment:0,iata:r.iataCode,name:s,cityName:r.cityName,country:r.countryName,geoNodeId:r.geoNodeId})}}).catch(t=>{console&&console.error&&console.error("http error: "+t)})},preFillDepartureCity(){const e=rr("from");e?this.getCityFromGeoApi(e):sslpApp.departure&&!this.segments[0].departureLocation.geoNodeId&&this.setDepartureLocation({indexSegment:0,iata:sslpApp.departure.iata,name:sslpApp.departure.name,cityName:sslpApp.departure.iata,country:sslpApp.departure.countryName,geoNodeId:sslpApp.departure.geoNodeId})},preFillArrivalCity(){this.arrivalHotelQueryParams&&!this.arrivalHotel.geoId&&(this.arrivalHotel.geoId=this.arrivalHotelQueryParams.selectedHotel,this.arrivalHotel.geoType=Vt.ACCOMMODATION,this.arrivalHotel.name=this.arrivalHotelQueryParams.hotelName,this.setArrivalHotel({...this.arrivalHotel,indexSegment:0})),sslpApp.arrival&&!this.segments[0].arrivalLocation.geoNodeId&&!this.segments[0].arrivalLocation.geoId&&this.setArrivalLocation({indexSegment:0,iata:sslpApp.arrival.iata,name:sslpApp.arrival.name,cityName:sslpApp.arrival.name,country:sslpApp.arrival.countryName,geoNodeId:sslpApp.arrival.geoNodeId,geoId:sslpApp.arrival.geoId,geoType:sslpApp.arrival.geoType,type:sslpApp.arrival.geoId?void 0:"CITY"}),(this.segments[0].arrivalLocation.geoNodeId||this.segments[0].arrivalLocation.geoId||this.segments[0].arrivalHotel.geoId)&&requestAnimationFrame(()=>{this.autoOpenCalendar&&this.onDateClick(0,ze.departure)})},updateFlightType(e){this.setFlightType({flightType:e.target.value}),this.setReturnDate({segmentIndex:0,date:null}),this.setPickingWhichDateType({value:null})},activateFlightTypes(){this.flightTypeActive=!0},getLowestPrices(e){const t={};for(const r in e){const s=e[r];let n=Number.MAX_VALUE;for(const o in s){const i=s[o];i<n&&(n=i)}t[r]=Math.ceil(n*.4)}return t},async fetchPricesForCalendar(e,t){this.setTotalPriceSelectedInCalendar(null);const r=new Date,s="/travel/service/flow/flexibledates/prices";for(let n=0;n<3;n++){const o=new Date(r);o.setMonth(o.getMonth()+n*2);try{const a=await(await this.fetchPrices(s,this.buildRequestBody(e,t,Se(o),this.flightType===be.return?"ROUND_TRIP":"ONE_WAY"))).json();this.processPricesData(a,n)}catch{this.setPricesLoading(!1)}}},fetchPrices(e,t){return fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})},buildRequestBody(e,t,r,s){const n=t.geoNodeId,o=e.geoNodeId,i="ONE_FRONT_SMARTPHONE",a=sslpApp.websiteCode;return{destinationGeoNode:n,originGeoNode:o,departureDate:r,interfaceClient:i,tripType:s,site:a,numberOfFutureDaysDep:60,searchStrategy:"ITINERARY_PRICING_STATS"}},processPricesData(e,t){this.setLowestPricesInCalendar({data:this.flightType===be.return?this.getLowestPrices(e.prices):e.prices,firstFetch:t}),this.setCalendarPrices({data:e.prices,firstFetch:t})},async launchFetchPrices(e,t,r,s,n){const o=a=>a&&a.cityName!=="";o(e)&&o(t)&&((e.cityName!==r||t.cityName!==s||this.flightType!==n)&&(this.setPricesLoading(!0),this.emitter.emit("reset-prices-event"),await this.fetchPricesForCalendar(e,t),this.setOldDepartureCityNameCalendar(e.cityName),this.setOldArrivalCityNameCalendar(t.cityName),this.setOldFlightType(this.flightType)),this.emitter.emit("calculate-prices-event",{departureDate:Se(this.departureDate),returnDate:Se(this.returnDate),isPickingDeparture:this.pickingWhichDateType===ze.departure}))},onDateClick(e,t){if(document.activeElement.blur(),this.activateFlightTypes(),!(t===ze.return&&!this.departureDate)&&(this.pickingWhichDateType===t&&e===this.currentSegment?this.setPickingWhichDateType({value:null}):(this.setPickingWhichDateType({value:t}),this.updateCurrentSegment(e)),this.colorsOnCalendar&&this.launchFetchPrices(this.segments[0].departureLocation,this.segments[0].arrivalLocation,this.oldDepartureCityNameCalendar,this.oldArrivalCityNameCalendar,this.oldFlightType),this.searcher.hotels&&this.pickingWhichDateType!==null)){const r=t===ze.return?"checkout":"checkin";J.throwEvent(this.trackingAction,this.searchLabels.open_property_box(sslpApp.trackingLabelHotels,r))}},callSwapLocations(e){(this.segments[e].departureLocation.name||this.segments[e].arrivalLocation.name)&&(this.animationPlay=!0,this.rotateSwapButton[e]=!this.rotateSwapButton[e],setTimeout(()=>{this.segments[e].arrivalLocation.iata||this.resetArrivalLocation(),this.swapLocations(e)},300),setTimeout(()=>{this.animationPlay=!1},300))},isValidSegment(e,t,r,s){let n=!0,o;if(t!==be.return&&t!==be.oneWay&&t!==be.multistop)throw new Error("isValidSegment: flightType not valid");for(const[l,c]of e.entries())i.call(this,c,l);return n;function i(l,c){l.sameCityError&&(n=!1);for(const u in l)if(!(u==="sameCityError"||u==="tripDurationError"||u==="returnDate"&&t!==be.return||u==="departureLocation"&&s||u==="arrivalHotel"&&!s||u==="arrivalHotel"&&s&&!l.arrivalHotel.geoId&&l.arrivalLocation.name||u==="arrivalLocation"&&s&&l.arrivalHotel.geoId)){o=u==="departureLocation"||u==="arrivalLocation"||u==="arrivalHotel"?s?"name":"iata":"date";const h=s&&o==="date",p=r&&o==="iata"&&l[u].name;!l[u][o]&&!h&&!p&&(a.call(this,u,c),this.autoOpenCalendar&&o==="date"&&requestAnimationFrame(()=>this.onDateClick(c,u==="returnDate"?ze.return:ze.departure)));const m=u==="returnDate"&&l[u][o],_=r||s;_&&this.hasAgeErrors()&&(n=!1),m&&_&&this.hasMinTripDurationError(l)?(this.changeTripDurationErrorValue({value:!0}),n=!1):m&&_&&this.hasMaxTripDurationError(l)&&(this.changeTripDurationErrorValue({value:!0}),n=!1,this.searcher.hotels&&J.throwEvent(this.trackingAction,this.searchLabels.max_trip_duration(sslpApp.trackingLabelHotels)))}}function a(l,c){this.changeErrorValue({property:l,value:!0,indexSegment:c}),n=!1;try{J.throwEvent(this.trackingAction,this.errorPropertyLabels[l])}catch(u){console.error(u)}}},performSearch(e,t,r,s){const n=this,o=this.getTotalNumberTypePassenger($.adults),i=this.getTotalNumberTypePassenger($.children),a=this.getTotalNumberTypePassenger($.infants);try{this.isValidSegment(this.segments,e,t,r)?(window.isDidomiDisplayed?window.didomiOnReady.push(function(l){window.isCookieEnabled("ngStorage")&&n.saveSearchToLocalStorage()}):this.saveSearchToLocalStorage(),this.directFlightChecked&&J.throwEvent(this.trackingAction,this.searchLabels.direct_flight),J.throwEvent(this.trackingAction,this.searchLabels.number_pax(o,i,a)),r||(e==="O"?J.throwEvent(this.trackingAction,this.searchLabels.one_way):e==="R"?J.throwEvent(this.trackingAction,this.searchLabels.round_trip):J.throwEvent(this.trackingAction,this.searchLabels.multistop)),!t&&!s&&!r?(J.throwEvent(this.trackingAction,this.searchLabels.search_flights),or(this.createSearchUrl(e,o,i,a))):t?(J.throwEvent(this.trackingAction,this.searchLabels.search_dynpack),or(this.createSearchDpUrl(e,o,i,a))):s?(J.throwEvent(this.trackingAction,this.searchLabels.search_flights),or(this.createSearchMultiStopUrl(e,o,i,a))):r&&(J.throwEvent(this.trackingAction,this.searchLabels.search_hotel),this.trackHotelSearchParameters(),or(this.createSearchHotelUrl(e)))):this.processSearchErrors(r)}catch(l){console.error(l)}},processSearchErrors(e){console.log("Wrong parameters for the search"),e&&this.trackHotelSearchErrors()},trackHotelSearchErrors(){const e=this.segments[0];(e.arrivalLocation.error||e.arrivalHotel.error)&&J.throwEvent(this.trackingAction,this.searchLabels.search_with_errors(sslpApp.trackingLabelHotels,"dest"));const r=e.departureDate.error,s=e.returnDate.error;(r||s)&&J.throwEvent(this.trackingAction,this.searchLabels.search_with_errors(sslpApp.trackingLabelHotels,"dates")),this.hasAgeErrors()&&J.throwEvent(this.trackingAction,this.searchLabels.search_with_errors(sslpApp.trackingLabelHotels,"age"))},trackHotelSearchParameters(){const e=this.segments[0].arrivalLocation.type==="hotel"?"property":this.segments[0].arrivalLocation.type,t=this.segments[0].arrivalHotel.name||this.segments[0].arrivalLocation.name,r=this.getTotalNumberRooms,s=this.getTotalNumberTypePassengerRooms($.adults),n=this.getTotalNumberTypePassengerRooms($.children),o=Se(this.segments[0].departureDate.date,!0)+"_"+Se(this.segments[0].returnDate.date,!0);J.throwEvent(this.trackingAction,this.searchLabels.search_paramaters(sslpApp.trackingLabelHotels,e,t,r,s,n,o))},createSearchUrl(e,t,r,s){const n=this.segments[0].departureLocation.iata,o=this.segments[0].arrivalLocation.iata,i=Se(this.segments[0].departureDate.date),a=Se(this.segments[0].returnDate.date);return"https://"+domainNameSearch+"/travel/?locale="+lang+"_"+countryCode+"#/results/"+"type="+e+";buyPath="+this.buyPath+";from="+n+";to="+o+";dep="+i+";adults="+t+";direct="+this.directFlightChecked+";children="+r+";infants="+s+";internalSearch=false;collectionmethod=false;ret="+a},createSearchDpUrl(e,t,r,s){const n=Se(this.segments[0].departureDate.date),o=Se(this.segments[0].returnDate.date),i=this.segments[0].arrivalLocation.iata?this.segments[0].arrivalLocation.iata:this.segments[0].arrivalLocation.geoNodeId,a="https://"+domainNameSearch+"/travel/dp/?locale="+lang+"_"+countryCode+"#/dpresults_accommodation/";let l="";return this.searcher.flightsHotel?[l,t,r,s]=Jo(this.rooms):l=zo(t,r,s),a+"type="+e+";buyPath="+this.buyPath+";from="+this.segments[0].departureLocation.iata+";to="+i+";dep="+n+";ret="+o+";direct="+this.directFlightChecked+";adults="+t+";children="+r+";infants="+s+";internalSearch=false;collectionmethod=false;"+l},createSearchMultiStopUrl(e,t,r,s){let o="https://"+domainNameSearch+"/travel/?locale="+lang+"_"+countryCode+"#/results/"+"type="+e+";buyPath="+this.buyPath;for(const[i,a]of this.segments.entries())o+=";from"+i+"="+a.departureLocation.iata+";to"+i+"="+a.arrivalLocation.iata+";dep"+i+"="+Se(a.departureDate.date);return o+";adults="+t+";direct="+this.directFlightChecked+";children="+r+";infants="+s+";internalSearch=false;collectionmethod=false"},createSearchHotelUrl(){var l;const e=(l=this.segments[0].arrivalHotel)!=null&&l.geoId?this.segments[0].arrivalHotel:this.segments[0].arrivalLocation,t=this.getDefaultHotelDates(),r=Se(this.segments[0].departureDate.date||t.checkIn),s=Se(this.segments[0].returnDate.date||t.checkOut),n=new URLSearchParams({locale:sslpApp.locale});this.isSem&&n.set("semSearch","true");const o="https://"+domainNameSearch+"/travel/accommodation/?"+n+"#hotel_results/",i=this.getAccommodationRoomParams();let a;return e.geoId?(a=`geoId=${e.geoId}%2B${e.geoType};`,e.geoType===Vt.ACCOMMODATION&&(a+="accommodation="+e.geoId+"%2BPropertyOfInterest;")):a=`geoNodeId=${e.geoNodeId};`,o+"checkIn="+r+";checkOut="+s+";"+a+"internalSearch=false;"+i+"buyPath=SSLP_HOTELS;hasRedirectFromSSLP=true"},getAccommodationRoomParams(){let e="";const t=[];for(const r of this.rooms)t.push(r.adults.totalNumberTypePassengers+"_"+r.children.totalNumberTypePassengers+"_"+r.infants.totalNumberTypePassengers);for(const[r,s]of t.entries()){const n="room"+r+"Adults",o=s.split("_");let i="";const a="room"+r+"ChildrenAges";e+=n+"="+o[0]+";";for(let l=0;l<o[1];l++)i+=i.length===0?this.getAge(r,$.children,l+1):"-"+this.getAge(r,$.children,l+1);o[1]>0&&(e+=a+"="+i+";")}return e},getDefaultHotelDates(){let e=this.segments[0].departureDate.date;e||(e=on());const t=on(e);return{checkIn:e,checkOut:t}},isSameCity(e,t,r){this.segments[r].sameCityError=e.cityName!==""&&t.cityName!==""&&(e.cityName===t.cityName||e.iata===t.iata)},changeSearcher(e){const t=e.substring(0,e.length-3);for(const r in this.searcher)this.searcher[r]=!1;t==="hotels"&&(this.sslpAppText.hotelsIframe=Xm(this.sslpAppText.hotelsIframe)),t.includes("flights")&&al(),this.searcher[t]=!0,this.trackingAction=this.searcher.hotels?_e.hotels:_e.flights},resetFlights(){this.resetSegments(),this.updateCurrentSegment(0),this.flightType!==this.flightTypes.multistop&&this.preFillArrivalCity()},addFlight(){this.addSegment();const e=this.segments[this.segments.length-2].arrivalLocation;this.segments[this.segments.length-1].departureLocation={...e}},removeFlight(e){this.updateCurrentSegment(this.currentSegment-1),this.removeSegment(e)},focusDate(e){document.getElementById(e).focus()},isEnabledHotelSearchBox(){return this.forcedHotelSearchBox||Jf(this.trackingPage,this.websiteCode)},showSearchBox(){return this.searcher.flights||this.searcher.flightsHotel||this.searcher.hotels&&this.isEnabledHotelSearchBox()},showHotelTab(){return this.sslpAppText.hotelsIframe||this.isEnabledHotelSearchBox()},trackInput(e){const t="dp-search-departure",r="dp-search-destination";let s="";if(this.searcher.flightsHotel){switch(e){case"dep":{s=t;break}case"dest":{s=r;break}}J.throwEvent(s,"dp_click-search_open_"+e+"_pag:"+this.trackingPage)}}},components:{SearchBoxRooms:il,SearchBoxPassengers:ol,SearchBoxAutocomplete:nl,SearchBoxDates:tl,SearchBoxTab:el},data(){return{sslpAppText:{locationLocale:{language:""},locations:{from:"",to:""},datepicker:{departureDate:"",returnDate:""},hotelsIframe:"",carsIframe:""},sticky:!1,flightTypeActive:!1,pageType:"",visitEngineId:"",distanceUnit:"km",testPartition:0,buyPath:void 0,sessionStorageKeyParameters:"searchParameters",rotateSwapButton:[!1,!1,!1,!1],dateTypes:ze,directFlightChecked:!1,flightTypes:be,formatDateToString:Qa,dateTypeToPick:null,arrowButtons:{toLeft:null,toRight:null},tabs:"",animationPlay:!1,errorPropertyLabels:qf,searchLabels:ft,searcherTypes:_e,SearchTypes:Te,searcher:{flights:!0,hotels:!1,flightsHotel:!1,cars:!1},appName:"",trackingPage:"",trackingAction:"",maxSegments:jf,forcedHotelSearchBox:!1,websiteCode:null}},computed:{...Sr({segments:e=>e.segments,flightType:e=>e.options.flightType,passengers:e=>e.passengers,rooms:e=>e.rooms,pickingWhichDateType:e=>e.pickingWhichDateType,directFlights:e=>e.options.directFlights,currentSegment:e=>e.currentSegment,departureDate:e=>e.segments[e.currentSegment].departureDate.date,returnDate:e=>e.segments[e.currentSegment].returnDate.date,arrivalHotel:e=>e.arrivalHotel,calendarPrices:e=>e.calendarPrices,lowestPrices:e=>e.lowestPrices,oldFlightType:e=>e.oldFlightType,oldDepartureCityNameCalendar:e=>e.oldDepartureCityNameCalendar,oldArrivalCityNameCalendar:e=>e.oldArrivalCityNameCalendar}),arrivalHotelQueryParams(){var r;const e=rr("selectedHotel")||rr("selectedhotel"),t=(r=rr("hotelName"))==null?void 0:r.split("-").join(" ").replace(/(^|\s)\S/g,s=>s.toUpperCase());return e&&t&&{selectedHotel:e,hotelName:t}},autoOpenCalendar(){return this.searcher.hotels},colorsOnCalendar(){return this.searcher.flights&&this.flightType!==be.multistop&&(this.websiteCode==="IT"||this.getAllowedPagesForCalendarPrices.includes(this.pageType)&&this.getAllowedMarketsForCalendarPrices.includes(this.websiteCode))},...qe(["getTotalNumberTypePassenger","getSegmentInformation","getPassengerInformation","isLocalStorageRecoveryActivated","getFlightOptions","getValuesForLocalStorage","getPassengersAdultsLessOneMaxAllowed","getPassengersAdultsLessOneMaxAllowedInfants","getTotalNumberChildrenInfants","getMinAllowedTypePassenger","getMaxAllowedTypePassenger","getMaxAllowedInfantsChildren","getTotalNumberPassengers","getMaxAllowTotalPassengers","isMaxTotalPassengers","getAge","getAllowedMarketsForCalendarPrices","getAllowedPagesForCalendarPrices","hasAgeErrors","getTotalNumberRooms","getTotalNumberTypePassengerRooms","isSem"])},mounted(){this.hideCurrencySwitcher(),this.pageType=sslpApp.pageType,this.targetElement=document.querySelector(".wrapper");const e=document.getElementById("oneLinerSearchBox");e&&this.targetElement&&(this.observer=new IntersectionObserver(t=>{t.forEach(r=>{r.isIntersecting?this.targetElement.style.minHeight="unset":this.targetElement.style.minHeight=window.getComputedStyle(e).height,this.sticky=!r.isIntersecting})}),this.observer.observe(this.targetElement)),sessionStorage.removeItem("price_accuracy_seo_deals"),sessionStorage.removeItem("page_type_category"),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&(sessionStorage.removeItem("price_accuracy_seo_deals"),sessionStorage.removeItem("page_type_category"))}),this.isLocalStorageRecoveryActivated&&(localStorage.removeItem(window.location.pathname),sessionStorage.removeItem(this.sessionStorageKeyParameters),this.preFillDepartureCity(),this.preFillArrivalCity(),this.setLocalStorageRecovery()),this.trackingPage=sslpApp.trackingPage,this.appName=sslpApp.appName,this.sslpAppText={...sslpApp.searchBoxTexts},this.buyPath=sslpApp.buyPath,this.tabs={flights:this.sslpAppText.tabs.flights,hotels:this.sslpAppText.tabs.hotels,flightsHotel:this.sslpAppText.tabs.flightsHotel,cars:this.sslpAppText.tabs.cars},this.sslpAppText.localeOptions&&this.sslpAppText.localeOptions.distanceUnit&&(this.distanceUnit=this.sslpAppText.localeOptions.distanceUnit),this.forcedHotelSearchBox=rr("searcherHotel"),this.websiteCode=sslpApp.websiteCode,isSemSession().then(t=>this.setIsSem(t))},unmounted(){this.observer&&this.observer.unobserve(this.targetElement)}},r_=["href"],s_={class:"oneLinerSearchBox-tabs"},n_={key:0,class:"oneLinerSearchBox-flightsType"},o_=["checked","value"],i_={id:"return-label",for:"return-radioButton",class:"oneLinerSearchBox-flightsType-label"},a_=g("i",{class:"oneLinerSearchBox-flightsType-icon","aria-hidden":"true"},null,-1),l_={class:"oneLinerSearchBox-flightsType-labelText"},c_=["checked","value"],u_={id:"oneWay-label",for:"oneWay-radioButton",class:"oneLinerSearchBox-flightsType-label"},h_=g("i",{class:"oneLinerSearchBox-flightsType-icon","aria-hidden":"true"},null,-1),d_={class:"oneLinerSearchBox-flightsType-labelText"},f_=["checked","value"],p_={id:"multistop-label",for:"multiStop-radioButton",class:"oneLinerSearchBox-flightsType-label"},g_=g("i",{class:"oneLinerSearchBox-flightsType-icon","aria-hidden":"true"},null,-1),m_={class:"oneLinerSearchBox-flightsType-labelText"},__=g("div",{class:"oneLinerSearchBox-separator"},null,-1),y_={id:"direct-flights"},T_={key:0,for:"direct-flights-checkbox",class:"oneLinerSearchBox-flightsType-label"},b_=g("i",{class:"oneLinerSearchBox-flightsType-icon__checkbox odf-icon odf-icon-tick","aria-hidden":"true"},null,-1),v_={class:"oneLinerSearchBox-flightsType-labelText"},A_={key:1,class:"oneLinerSearchBox-deal"},x_={class:"oneLinerSearchBox-deal-message odf-pills-soft-positive"},w_={class:"oneLinerSearchBox-body"},S_={class:"oneLinerSearchBox-rows"},P_={class:"oneLinerSearchBox-row-inputs"},C_={class:"oneLinerSearchBox-row-collapse oneLinerSearchBox-row-cities"},L_={key:0,class:"oneLinerSearchBox-row-input"},k_=["id"],E_=["onClick"],I_={class:"oneLinerSearchBox-row-input"},D_=["id"],R_=["id"],O_={class:"oneLinerSearchBox-row-collapse oneLinerSearchBox-row-dates"},N_=["onClick"],H_={class:"oneLinerSearchBox-label"},M_=["id","value","placeholder"],B_=["id"],F_=["onClick"],j_={class:"oneLinerSearchBox-label"},U_=["id","value","placeholder"],$_=["id"],W_={key:1,class:"oneLinerSearchBox-row-error"},K_={class:"oneLinerSearchBox-row-action"},V_={class:"oneLinerSearchBox-row-collapse"},q_={key:2,class:"oneLinerSearchBox-row-remove"},Y_=["onClick"],G_=g("i",{class:"odf-icon odf-icon-cross-light","aria-hidden":"true"},null,-1),J_={class:"oneLinerSearchBox-altern-search"},z_=g("button",{class:"addFlight-button",type:"button"},[g("i",{class:"odf-icon odf-icon-plus","aria-hidden":"true"})],-1),Q_={class:"addFlight-text"},X_={class:"oneLinerSearchBox-buttonsBlock"},Z_=["src"],ey=["src"];function ty(e,t,r,s,n,o){const i=el,a=tl,l=nl,c=ol,u=il;return w(),k("div",{id:"oneLinerSearchBox",class:ne({"oneLinerSearchBox-sticky":n.sticky&&(!n.searcher.hotels||o.showSearchBox())&&!n.searcher.cars,"oneLinerSearchBox-sticky-flightType":n.sticky&&n.searcher.flights&&n.flightTypeActive})},[g("a",{href:n.sslpAppText.homeUrl,class:"oneLinerSearchBox-logo tracking-vue","data-category":"header","data-label":"logo_clicks"},null,8,r_),g("div",s_,[te(i,{id:"flightsTab",title:n.tabs.flights,icon:"odf-icon-flight","search-type":n.SearchTypes.FLIGHTS},null,8,["title","search-type"]),o.showHotelTab()?(w(),Ae(i,{key:0,id:"hotelsTab",title:n.tabs.hotels,icon:"odf-icon-hotel","search-type":n.SearchTypes.HOTELS},null,8,["title","search-type"])):W("",!0),n.sslpAppText.locationLocale.language!=="ar"&&n.websiteCode!=="OPES"&&n.websiteCode!=="OPAE"?(w(),Ae(i,{key:1,id:"flightsHotelTab",title:n.tabs.flightsHotel,icon:"odf-icon-flight-hotel","search-type":n.SearchTypes.DYNPACK},null,8,["title","search-type"])):W("",!0),n.sslpAppText.carsIframe?(w(),Ae(i,{key:2,id:"carsTab",title:n.tabs.cars,icon:"odf-icon-car","search-type":n.SearchTypes.CARS},null,8,["title","search-type"])):W("",!0)]),o.showSearchBox()?(w(),k("div",{key:0,class:ne(n.searcher.hotels?"oneLinerSearchBox oneLinerSearchBox-hotel":"oneLinerSearchBox"),id:"searchBox"},[n.searcher.flights&&n.sslpAppText?(w(),k("div",n_,[g("div",null,[g("input",{id:"return-radioButton",checked:e.flightType===n.flightTypes.return,value:n.flightTypes.return,class:"oneLinerSearchBox-flightsType-input",name:"flightTypeSelector",type:"radio",onChange:t[0]||(t[0]=h=>{o.updateFlightType(h),o.resetFlights()})},null,40,o_),g("label",i_,[a_,g("span",l_,R(n.sslpAppText.returnLabel),1)])]),g("div",null,[g("input",{id:"oneWay-radioButton",checked:e.flightType===n.flightTypes.oneWay,value:n.flightTypes.oneWay,class:"oneLinerSearchBox-flightsType-input",name:"flightTypeSelector",type:"radio",onChange:t[1]||(t[1]=h=>{o.updateFlightType(h),o.resetFlights()})},null,40,c_),g("label",u_,[h_,g("span",d_,R(n.sslpAppText.oneWayLabel),1)])]),g("div",null,[g("input",{id:"multiStop-radioButton",checked:e.flightType===n.flightTypes.multistop,value:n.flightTypes.multistop,class:"oneLinerSearchBox-flightsType-input",name:"flightTypeSelector",type:"radio",onChange:t[2]||(t[2]=h=>{o.updateFlightType(h),o.resetFlights(),o.addFlight()})},null,40,f_),g("label",p_,[g_,g("span",m_,R(n.sslpAppText.multiStopLabel),1)])]),__,g("div",y_,[fs(g("input",{id:"direct-flights-checkbox","onUpdate:modelValue":t[3]||(t[3]=h=>n.directFlightChecked=h),class:"oneLinerSearchBox-flightsType-input",name:"checkbox",type:"checkbox"},null,512),[[Ou,n.directFlightChecked]]),n.sslpAppText?(w(),k("label",T_,[b_,g("span",v_,R(n.sslpAppText.directFlightTitle),1)])):W("",!0)])])):W("",!0),n.searcher.flightsHotel?(w(),k("div",A_,[g("div",x_,[g("span",null,R(n.sslpAppText.dealFlightsHotel),1)])])):W("",!0),g("div",w_,[g("div",S_,[te(a,{searcher:n.searcher,sticky:n.sticky,colorsOnCalendar:o.colorsOnCalendar},null,8,["searcher","sticky","colorsOnCalendar"]),(w(!0),k(he,null,$e(e.segments,(h,p)=>(w(),k("div",{class:ne(["oneLinerSearchBox-row",{"oneLinerSearchBox-row-flightsHotel":n.searcher.flightsHotel||n.searcher.hotels}]),key:h.id},[g("div",P_,[g("div",C_,[n.searcher.hotels?W("",!0):(w(),k("div",L_,[te(l,{id:"departure"+p,location:h.departureLocation.iata?h.departureLocation.name:"",error:h.departureLocation.error,indexSegment:p,label:n.sslpAppText.locations.fromLabel,source:n.sticky?n.sslpAppText.locations.fromLabel:n.sslpAppText.locations.from,class:ne(["oneLinerSearchBox-box",{"oneLinerSearchBox-box-error":h.departureLocation.error}]),"distance-unit":n.distanceUnit,sticky:n.sticky,onActivateFlightTypes:o.activateFlightTypes,onClick:t[4]||(t[4]=m=>o.trackInput("dep"))},null,8,["id","location","error","indexSegment","label","source","class","distance-unit","sticky","onActivateFlightTypes"]),h.departureLocation.error?(w(),k("span",{key:0,id:"searchBox-departure-error"+p,class:"oneLinerSearchBox-row-error"},R(n.sslpAppText.errorCityDeparture),9,k_)):W("",!0)])),n.searcher.hotels?W("",!0):(w(),k("div",{key:1,class:"swap-button odf-btn odf-btn-secondary",onClick:m=>o.callSwapLocations(p)},[g("i",{class:ne([{rotate:n.rotateSwapButton[p],active:h.departureLocation.name||h.arrivalLocation.name},"swap-button-icon odf-icon odf-icon-swap"]),"aria-hidden":"true"},null,2)],8,E_)),g("div",I_,[te(l,{id:"arrival"+p,location:n.searcher.hotels&&h.arrivalHotel.name||(n.searcher.hotels||h.arrivalLocation.geoNodeId)&&h.arrivalLocation.name||"",error:h.arrivalLocation.error,indexSegment:p,label:n.sslpAppText.locations.toLabel,source:n.sticky?n.sslpAppText.locations.toLabel:n.sslpAppText.locations.to,class:ne(["oneLinerSearchBox-box",{"oneLinerSearchBox-box-error":h.sameCityError||h.arrivalLocation.error}]),"distance-unit":n.distanceUnit,"is-searcher-hotel":n.searcher.hotels,"auto-open-calendar":o.autoOpenCalendar,sticky:n.sticky,onActivateFlightTypes:o.activateFlightTypes,onClick:t[5]||(t[5]=m=>o.trackInput("dest"))},null,8,["id","location","error","indexSegment","label","source","class","distance-unit","is-searcher-hotel","auto-open-calendar","sticky","onActivateFlightTypes"]),h.arrivalLocation.error?(w(),k("span",{key:0,id:"searchBox-arrival-error"+p,class:"oneLinerSearchBox-row-error"},R(n.sslpAppText.errorCityDestination),9,D_)):W("",!0),h.sameCityError?(w(),k("span",{key:1,id:"searchBox-arrival-error-same-city"+p,class:"oneLinerSearchBox-row-error"},R(n.sslpAppText.error_same_origin),9,R_)):W("",!0)])]),g("div",O_,[g("div",{class:"oneLinerSearchBox-row-input",onClick:m=>o.onDateClick(p,n.dateTypes.departure)},[g("div",{class:ne(["oneLinerSearchBox-box",{"oneLinerSearchBox-box-error":h.departureDate.error,"oneLinerSearchBox-box-highlighted":p===e.currentSegment&&e.pickingWhichDateType===n.dateTypes.departure}])},[g("label",H_,[g("span",null,R(n.searcher.hotels?n.sslpAppText.hotels.checkIn:n.sslpAppText.datepicker.departureLabel),1)]),g("input",{id:"departure-date-selector"+p,value:n.formatDateToString(h.departureDate.date,n.sslpAppText.locationLocale),autocomplete:"off",class:"oneLinerSearchBox-input is-dates-or-passengers",readonly:"readonly",type:"text",placeholder:n.sticky?n.searcher.hotels?n.sslpAppText.hotels.checkIn:n.sslpAppText.datepicker.departureLabel:""},null,8,M_)],2),h.departureDate.error&&n.sslpAppText?(w(),k("span",{key:0,id:"searchBox-departureDate-error"+p,class:"oneLinerSearchBox-row-error"},R(n.sslpAppText.errorDateDeparture),9,B_)):W("",!0)],8,N_),e.flightType===n.flightTypes.return?(w(),k("div",{key:0,class:"oneLinerSearchBox-row-input",onClick:m=>o.onDateClick(p,n.dateTypes.return)},[g("div",{class:ne(["oneLinerSearchBox-box",{"oneLinerSearchBox-box-error":h.returnDate.error||h.tripDurationError,"oneLinerSearchBox-box-highlighted":p===e.currentSegment&&e.pickingWhichDateType===n.dateTypes.return}])},[g("label",j_,[g("span",null,R(n.searcher.hotels?n.sslpAppText.hotels.checkOut:n.sslpAppText.datepicker.returnLabel),1)]),g("input",{id:"return-date-selector"+p,value:n.formatDateToString(h.returnDate.date,n.sslpAppText.locationLocale),autocomplete:"off",readonly:"readonly",class:"oneLinerSearchBox-input is-dates-or-passengers",type:"text",placeholder:n.sticky?n.searcher.hotels?n.sslpAppText.hotels.checkOut:n.sslpAppText.datepicker.returnLabel:""},null,8,U_)],2),h.returnDate.error&&n.sslpAppText?(w(),k("span",{key:0,id:"searchBox-arrivalDate-error"+p,class:"oneLinerSearchBox-row-error"},R(n.sslpAppText.errorDateReturn),9,$_)):W("",!0),h.tripDurationError?(w(),k("span",W_,R(n.sslpAppText.errorTripDuration),1)):W("",!0)],8,F_)):W("",!0)])]),g("div",K_,[g("div",V_,[!n.searcher.flightsHotel&&!n.searcher.hotels&&p===0?(w(),Ae(c,{key:0,onActivateFlightTypes:o.activateFlightTypes,searcher:n.searcher},null,8,["onActivateFlightTypes","searcher"])):W("",!0),n.searcher.flightsHotel||n.searcher.hotels?(w(),Ae(u,{key:1,onActivateFlightTypes:o.activateFlightTypes,searcher:n.searcher},null,8,["onActivateFlightTypes","searcher"])):W("",!0),p>1?(w(),k("div",q_,[g("button",{class:"removeFlight-button",type:"button",onClick:m=>o.removeFlight(p)},[G_,g("span",null,R(n.sslpAppText.multiStop.removeFlight),1)],8,Y_)])):W("",!0)])])],2))),128))]),g("div",J_,[n.searcher.flightsHotel?(w(),k("button",{key:0,onClick:t[6]||(t[6]=h=>o.performSearch(e.flightType,!0,!1,!1))},R(n.sslpAppText.searchDynpack),1)):W("",!0),n.searcher.flights?(w(),k("button",{key:1,onClick:t[7]||(t[7]=h=>o.performSearch(e.flightType,!1,!1,e.flightType===n.flightTypes.multistop))},R(n.sslpAppText.searchName),1)):W("",!0),n.searcher.hotels?(w(),k("button",{key:2,onClick:t[8]||(t[8]=h=>o.performSearch(e.flightType,!1,!0,!1))},R(n.sslpAppText.hotels.search),1)):W("",!0)])]),e.flightType===n.flightTypes.multistop&&e.segments.length<n.maxSegments?(w(),k("div",{key:2,class:"addFlight",onClick:t[9]||(t[9]=(...h)=>o.addFlight&&o.addFlight(...h))},[z_,g("span",Q_,R(n.sslpAppText.multiStop.addFlight),1)])):W("",!0),g("div",X_,[n.sslpAppText&&!n.searcher.hotels&&e.flightType===n.flightTypes.return&&n.sslpAppText.locationLocale.language!=="ar"&&n.websiteCode!=="OPES"&&n.websiteCode!=="OPAE"?(w(),k("button",{key:0,id:"search-dp-btn",onClick:t[10]||(t[10]=h=>o.performSearch(e.flightType,!0,!1,!1))},R(n.sslpAppText.searchDynpack),1)):W("",!0),n.sslpAppText&&n.searcher.flights?(w(),k("button",{key:1,id:"search-btn",onClick:t[11]||(t[11]=h=>o.performSearch(e.flightType,!1,!1,e.flightType===n.flightTypes.multistop))},R(n.sslpAppText.searchName),1)):W("",!0),n.sslpAppText&&n.searcher.hotels?(w(),k("button",{key:2,id:"search-hotel-btn",onClick:t[12]||(t[12]=h=>o.performSearch(e.flightType,!1,!0,!1))},R(n.sslpAppText.hotels.search),1)):W("",!0)])],2)):W("",!0),n.searcher.hotels&&!o.showSearchBox()?(w(),k("iframe",{key:1,id:"hotelsSearcher",src:n.sslpAppText.hotelsIframe,class:"searchBox-hotelIframe",scrolling:"no",height:"280",title:"Hotels",width:"1120"},null,8,Z_)):W("",!0),n.searcher.cars?(w(),k("iframe",{key:2,id:"carsSearcher",scrolling:"no",src:n.sslpAppText.carsIframe,class:"oneLinerSearchBox-carsIframe",height:"320",title:"Cars",width:"1120"},null,8,ey)):W("",!0)],2)}const ry=Oe(t_,[["render",ty]]);function sy(){const e=document.getElementsByClassName("go-to"),t=document.getElementsByClassName("go-to-open");for(const r of Object.values(e))r.addEventListener("click",()=>{r.getAttribute("data-price")&&(sessionStorage.setItem("price_accuracy_seo_deals",r.getAttribute("data-price")),sessionStorage.setItem("page_type_category",JSON.stringify(r.getAttribute("data-page")))),or(r.getAttribute("data-url"))});for(const r of Object.values(t))r.addEventListener("click",()=>{Qm(r.getAttribute("data-url"))})}function ny(){const e=document.getElementsByClassName("tracking-vue");for(const t of Object.values(e))t.addEventListener("click",()=>{J.throwEvent(t.getAttribute("data-category"),t.getAttribute("data-label"))})}function ti(e,t,r,s=void 0){const n=(e.textContent.length+r)%t;return n!==s?n:(s+1)%t}function ri(e,t,r){const s=e.getElementsByClassName(r);s.length!==0&&s[t].classList.remove("is-hidden")}function oy(){let e=1,t=1;const r=document.querySelectorAll(".deals-origins"),s=document.getElementsByClassName("deals-container");for(let n=0;n<r.length;n++){const o=s[n].getElementsByClassName("deals-card-container").length;o>1&&(e=ti(r[n],o,n+e+t),t=ti(r[n],o,n+e+t,e),ri(s[n],e,"top-choice-container"),ri(s[n],t,"last-rooms-container"))}}function si(e,t){sslpApp.isHotel?e.style.setProperty("--url",`url(${t})`):e.style.backgroundImage=`url(${t})`}function iy(e){const t=document.querySelector(".searcher");sslpApp.isHotel&&(t.classList.add("is-hotel"),t.style.backgroundImage=null);let r=0;si(t,e[r]),e.length>1&&setInterval(()=>{r=++r%e.length,si(t,e[r])},4e3)}function ay(e){const t=document.querySelector(`${e} input`);t&&(t.checked=!0)}const ly={class:"wrapper"},cy={__name:"app",setup(e){const t=ip();return Ln("emitter",t),$i(()=>{sy(),ny(),oy(),iy(sslpApp.searchBoxTexts.slider_images),al(),ay(".interlinkingGeneral")}),(r,s)=>(w(),k(he,null,[g("div",ly,[te(pe(ry))]),(w(),Ae(ru,{to:"#footer"},[te(pe(yp))]))],64))}},uy={__name:"nuxt-error-page",props:{error:Object},setup(e){const r=e.error;(r.stack||"").split(`
`).splice(1).map(h=>({text:h.replace("webpack:/","").replace(".vue",".js").trim(),internal:h.includes("node_modules")&&!h.includes(".cache")||h.includes("internal")||h.includes("new Promise")})).map(h=>`<span class="stack${h.internal?" internal":""}">${h.text}</span>`).join(`
`);const s=Number(r.statusCode||500),n=s===404,o=r.statusMessage??(n?"Page Not Found":"Internal Server Error"),i=r.message||r.toString(),a=void 0,u=n?ho(()=>Xs(()=>import("./error-404.e7c40b1b.js"),["./error-404.e7c40b1b.js","./error-404.78ed7400.css"],import.meta.url).then(h=>h.default||h)):ho(()=>Xs(()=>import("./error-500.3245f679.js"),["./error-500.3245f679.js","./error-500.f1c56dd8.css"],import.meta.url).then(h=>h.default||h));return(h,p)=>(w(),Ae(pe(u),vl(aa({statusCode:pe(s),statusMessage:pe(o),description:pe(i),stack:pe(a)})),null,16))}},ni={__name:"nuxt-root",setup(e){const t=()=>null,r=Pe(),s=r.deferHydration(),n=!1;Ln("_route",Xd()),r.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const o=Fn();Vi((a,l,c)=>{if(r.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),sf(a)&&(a.fatal||a.unhandled))return r.runWithContext(()=>tf(a)),!1});const{islandContext:i}=!1;return(a,l)=>(w(),Ae(Tc,{onResolve:pe(s)},{default:Hi(()=>[pe(o)?(w(),Ae(pe(uy),{key:0,error:pe(o)},null,8,["error"])):pe(i)?(w(),Ae(pe(t),{key:1,context:pe(i)},null,8,["context"])):pe(n)?(w(),Ae(Nc(pe(n)),{key:2})):(w(),Ae(pe(cy),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=Sh.create({baseURL:Ch()}));let oi;{let e;oi=async function(){var o,i;if(e)return e;const s=!!((o=window.__NUXT__)!=null&&o.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?Uu(ni):ju(ni),n=Uh({vueApp:s});try{await Wh(n,op)}catch(a){await n.callHook("app:error",a),n.payload.error=n.payload.error||a}try{await n.hooks.callHook("app:created",s),await n.hooks.callHook("app:beforeMount",s),s.mount("#"+$d),await n.hooks.callHook("app:mounted",s),await vn()}catch(a){await n.callHook("app:error",a),n.payload.error=n.payload.error||a}return s},e=oi().catch(t=>{console.error("Error while mounting app:",t)})}export{Oe as _,Bn as a,Wi as b,pu as c,Cc as d,gu as e,Ft as f,_a as g,Hn as h,Ta as i,fy as j,w as k,k as l,g as m,ef as n,$i as o,_s as p,te as q,ht as r,Hi as s,R as t,Pe as u,In as v,Gs as w,hy as x,dy as y};
