PageSourceSearch

https://hotelyar.com/_nuxt/D7j8swwS.js

js hotelyar.com collected 2026-10-01 14:54:58 UTC 28,939 bytes, 1 lines download raw bytes

vendor: 5,635 bytes, line 1
1import{e as R,m as H,b6 as ae,n as bt,bc as ce,ba as fe,bM as tt,k as O,d as at,f as Xt,r as ct,g as gt,bN as Ut,h as qt,o as nt,j as wt,P as Et,c as dt,x as Dt,q as ue,bG as de,bO as he,bP as pe,al as me,v as Gt,U as Kt,aC as ge,bu as we}from"./dwWPG59k.js";const ve=["top","right","bottom","left"],K=Math.min,M=Math.max,ht=Math.round,ut=Math.floor,F=t=>({x:t,y:t}),ye={left:"right",right:"left",bottom:"top",top:"bottom"},xe={start:"end",end:"start"};function Ct(t,e,n){return M(t,K(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function U(t){return t.split("-")[0]}function rt(t){return t.split("-")[1]}function Lt(t){return t==="x"?"y":"x"}function Tt(t){return t==="y"?"height":"width"}function j(t){return["top","bottom"].includes(U(t))?"y":"x"}function kt(t){return Lt(j(t))}function be(t,e,n){n===void 0&&(n=!1);const o=rt(t),i=kt(t),s=Tt(i);let r=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=pt(r)),[r,pt(r)]}function Ae(t){const e=pt(t);return[Ot(t),e,Ot(e)]}function Ot(t){return t.replace(/start|end/g,e=>xe[e])}function Ce(t,e,n){const o=["left","right"],i=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?s:r;default:return[]}}function Oe(t,e,n,o){const i=rt(t);let s=Ce(U(t),n==="start",o);return i&&(s=s.map(r=>r+"-"+i),e&&(s=s.concat(s.map(Ot)))),s}function pt(t){return t.replace(/left|right|bottom|top/g,e=>ye[e])}function Pe(t){return{top:0,right:0,bottom:0,left:0,...t}}function Zt(t){return typeof t!="number"?Pe(t):{top:t,right:t,bottom:t,left:t}}function mt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Wt(t,e,n){let{reference:o,floating:i}=t;const s=j(e),r=kt(e),l=Tt(r),c=U(e),a=s==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[l]/2-i[l]/2;let d;switch(c){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(rt(e)){case"start":d[r]-=h*(n&&a?-1:1);break;case"end":d[r]+=h*(n&&a?-1:1);break}return d}const Re=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n,l=s.filter(Boolean),c=await(r.isRTL==null?void 0:r.isRTL(e));let a=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Wt(a,o,c),h=o,d={},p=0;for(let m=0;m<l.length;m++){const{name:g,fn:w}=l[m],{x:v,y,data:x,reset:A}=await w({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:r,elements:{reference:t,floating:e}});f=v??f,u=y??u,d={...d,[g]:{...d[g],...x}},A&&p<=50&&(p++,typeof A=="object"&&(A.placement&&(h=A.placement),A.rects&&(a=A.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):A.rects),{x:f,y:u}=Wt(a,h,c)),m=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function st(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:s,rects:r,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=Zt(d),g=l[h?u==="floating"?"reference":"floating":u],w=mt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),v=u==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),x=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},A=mt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:y,strategy:c}):v);return{top:(w.top-A.top+p.top)/x.y,bottom:(A.bottom-w.bottom+p.bottom)/x.y,left:(w.left-A.left+p.left)/x.x,right:(A.right-w.right+p.right)/x.x}}const Se=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:s,platform:r,elements:l,middlewareData:c}=e,{element:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=Zt(f),h={x:n,y:o},d=kt(i),p=Tt(d),m=await r.getDimensions(a),g=d==="y",w=g?"top":"left",v=g?"bottom":"right",y=g?"clientHeight":"clientWidth",x=s.reference[p]+s.reference[d]-h[d]-s.floating[p],A=h[d]-s.reference[d],S=await(r.getOffsetParent==null?void 0:r.getOffsetParent(a));let b=S?S[y]:0;(!b||!await(r.isElement==null?void 0:r.isElement(S)))&&(b=l.floating[y]||s.floating[p]);const P=x/2-A/2,D=b/2-m[p]/2-1,T=K(u[w],D),C=K(u[v],D),k=T,B=b-m[p]-C,L=b/2-m[p]/2+P,E=Ct(k,L,B),Y=!c.arrow&&rt(i)!=null&&L!==E&&s.reference[p]/2-(L<k?T:C)-m[p]/2<0,$=Y?L<k?L-k:L-B:0;return{[d]:h[d]+$,data:{[d]:E,centerOffset:L-E-$,...Y&&{alignmentOffset:$}},reset:Y}}}),Ee=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:r,initialPlacement:l,platform:c,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=X(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const w=U(i),v=j(l),y=U(l)===l,x=await(c.isRTL==null?void 0:c.isRTL(a.floating)),A=h||(y||!m?[pt(l)]:Ae(l)),S=p!=="none";!h&&S&&A.push(...Oe(l,m,p,x));const b=[l,...A],P=await st(e,g),D=[];let T=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&D.push(P[w]),u){const E=be(i,r,x);D.push(P[E[0]],P[E[1]])}if(T=[...T,{placement:i,overflows:D}],!D.every(E=>
vendor: 6,485 bytes, line 1
1E<=0)){var C,k;const E=(((C=s.flip)==null?void 0:C.index)||0)+1,Y=b[E];if(Y){var B;const q=u==="alignment"?v!==j(Y):!1,z=((B=T[0])==null?void 0:B.overflows[0])>0;if(!q||z)return{data:{index:E,overflows:T},reset:{placement:Y}}}let $=(k=T.filter(q=>q.overflows[0]<=0).sort((q,z)=>q.overflows[1]-z.overflows[1])[0])==null?void 0:k.placement;if(!$)switch(d){case"bestFit":{var L;const q=(L=T.filter(z=>{if(S){const G=j(z.placement);return G===v||G==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(G=>G>0).reduce((G,le)=>G+le,0)]).sort((z,G)=>z[1]-G[1])[0])==null?void 0:L[0];q&&($=q);break}case"initialPlacement":$=l;break}if(i!==$)return{reset:{placement:$}}}return{}}}};function zt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Ht(t){return ve.some(e=>t[e]>=0)}const De=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const s=await st(e,{...i,elementContext:"reference"}),r=zt(s,n.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:Ht(r)}}}case"escaped":{const s=await st(e,{...i,altBoundary:!0}),r=zt(s,n.floating);return{data:{escapedOffsets:r,escaped:Ht(r)}}}default:return{}}}}};async function Le(t,e){const{placement:n,platform:o,elements:i}=t,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),r=U(n),l=rt(n),c=j(n)==="y",a=["left","top"].includes(r)?-1:1,f=s&&c?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof p=="number"&&(d=l==="end"?p*-1:p),c?{x:d*f,y:h*a}:{x:h*a,y:d*f}}const Te=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:s,placement:r,middlewareData:l}=e,c=await Le(e,t);return r===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:s+c.y,data:{...c,placement:r}}}}},ke=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:s=!0,crossAxis:r=!1,limiter:l={fn:g=>{let{x:w,y:v}=g;return{x:w,y:v}}},...c}=X(t,e),a={x:n,y:o},f=await st(e,c),u=j(U(i)),h=Lt(u);let d=a[h],p=a[u];if(s){const g=h==="y"?"top":"left",w=h==="y"?"bottom":"right",v=d+f[g],y=d-f[w];d=Ct(v,d,y)}if(r){const g=u==="y"?"top":"left",w=u==="y"?"bottom":"right",v=p+f[g],y=p-f[w];p=Ct(v,p,y)}const m=l.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:s,[u]:r}}}}}},$e=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:s,middlewareData:r}=e,{offset:l=0,mainAxis:c=!0,crossAxis:a=!0}=X(t,e),f={x:n,y:o},u=j(i),h=Lt(u);let d=f[h],p=f[u];const m=X(l,e),g=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const y=h==="y"?"height":"width",x=s.reference[h]-s.floating[y]+g.mainAxis,A=s.reference[h]+s.reference[y]-g.mainAxis;d<x?d=x:d>A&&(d=A)}if(a){var w,v;const y=h==="y"?"width":"height",x=["top","left"].includes(U(i)),A=s.reference[u]-s.floating[y]+(x&&((w=r.offset)==null?void 0:w[u])||0)+(x?0:g.crossAxis),S=s.reference[u]+s.reference[y]+(x?0:((v=r.offset)==null?void 0:v[u])||0)-(x?g.crossAxis:0);p<A?p=A:p>S&&(p=S)}return{[h]:d,[u]:p}}}},Be=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:s,platform:r,elements:l}=e,{apply:c=()=>{},...a}=X(t,e),f=await st(e,a),u=U(i),h=rt(i),d=j(i)==="y",{width:p,height:m}=s.floating;let g,w;u==="top"||u==="bottom"?(g=u,w=h===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(w=u,g=h==="end"?"top":"bottom");const v=m-f.top-f.bottom,y=p-f.left-f.right,x=K(m-f[g],v),A=K(p-f[w],y),S=!e.middlewareData.shift;let b=x,P=A;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(P=y),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(b=v),S&&!h){const T=M(f.left,0),C=M(f.right,0),k=M(f.top,0),B=M(f.bottom,0);d?P=p-2*(T!==0||C!==0?T+C:M(f.left,f.right)):b=m-2*(k!==0||B!==0?k+B:M(f.top,f.bottom))}await c({...e,availableWidth:P,availableHeight:b});const D=await r.getDimensions(l.floating);return p!==D.width||m!==D.height?{reset:{rects:!0}}:{}}}};function vt(){return typeof window<"u"}function Q(t){return $t(t)?(t.nodeName||"").toLowerCase():"#document"}function _(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function I(t){var e;return(e=($t(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $t(t){return vt()?t instanceof Node||t instanceof _(t).Node:!1}function V(t){return vt()?t instanceof Element||t instanceof _(t).Element:!1}function N(t){return vt()?t instanceof HTMLElement||t instanceof _(t).HTMLElement:!1}function Ft(t){return!vt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _(t).ShadowRoot}function ft(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=W(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Me(t){return["table","td","th"].includes(Q(t))}function yt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Bt(t){const e=Mt(),n=V(t)?W(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function _e(t){let e=Z(t);for(;N(e)&&!it(e);){if(Bt(e))return e;if(yt(e))return null;e=Z(e)}return null}function Mt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function it(t){return["html","body","#document"].includes(Q(t))}function W(t){return _(t).getComputedStyle(t)}function xt(t){return V(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Z(t){if(Q(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ft(t)&&t.host||I(t);return Ft(e)?e.host:e}function Jt(t){const e=Z(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&ft(e)?e:Jt(e)}function lt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Jt(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),r=_(i);if(s){const l=Pt(r);
vendor: 5,845 bytes, line 1
1return e.concat(r,r.visualViewport||[],ft(i)?i:[],l&&n?lt(l):[])}return e.concat(i,lt(i,[],n))}function Pt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Qt(t){const e=W(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=N(t),s=i?t.offsetWidth:n,r=i?t.offsetHeight:o,l=ht(n)!==s||ht(o)!==r;return l&&(n=s,o=r),{width:n,height:o,$:l}}function _t(t){return V(t)?t:t.contextElement}function ot(t){const e=_t(t);if(!N(e))return F(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=Qt(e);let r=(s?ht(n.width):n.width)/o,l=(s?ht(n.height):n.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const Ve=F(0);function te(t){const e=_(t);return!Mt()||!e.visualViewport?Ve:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function We(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==_(t)?!1:e}function J(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=_t(t);let r=F(1);e&&(o?V(o)&&(r=ot(o)):r=ot(t));const l=We(s,n,o)?te(s):F(0);let c=(i.left+l.x)/r.x,a=(i.top+l.y)/r.y,f=i.width/r.x,u=i.height/r.y;if(s){const h=_(s),d=o&&V(o)?_(o):o;let p=h,m=Pt(p);for(;m&&o&&d!==p;){const g=ot(m),w=m.getBoundingClientRect(),v=W(m),y=w.left+(m.clientLeft+parseFloat(v.paddingLeft))*g.x,x=w.top+(m.clientTop+parseFloat(v.paddingTop))*g.y;c*=g.x,a*=g.y,f*=g.x,u*=g.y,c+=y,a+=x,p=_(m),m=Pt(p)}}return mt({width:f,height:u,x:c,y:a})}function Vt(t,e){const n=xt(t).scrollLeft;return e?e.left+n:J(I(t)).left+n}function ee(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Vt(t,o)),s=o.top+e.scrollTop;return{x:i,y:s}}function ze(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed",r=I(o),l=e?yt(e.floating):!1;if(o===r||l&&s)return n;let c={scrollLeft:0,scrollTop:0},a=F(1);const f=F(0),u=N(o);if((u||!u&&!s)&&((Q(o)!=="body"||ft(r))&&(c=xt(o)),N(o))){const d=J(o);a=ot(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=r&&!u&&!s?ee(r,c,!0):F(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-c.scrollTop*a.y+f.y+h.y}}function He(t){return Array.from(t.getClientRects())}function Fe(t){const e=I(t),n=xt(t),o=t.ownerDocument.body,i=M(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=M(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+Vt(t);const l=-n.scrollTop;return W(o).direction==="rtl"&&(r+=M(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:r,y:l}}function Ne(t,e){const n=_(t),o=I(t),i=n.visualViewport;let s=o.clientWidth,r=o.clientHeight,l=0,c=0;if(i){s=i.width,r=i.height;const a=Mt();(!a||a&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:r,x:l,y:c}}function Ie(t,e){const n=J(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=N(t)?ot(t):F(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,c=i*s.x,a=o*s.y;return{width:r,height:l,x:c,y:a}}function Nt(t,e,n){let o;if(e==="viewport")o=Ne(t,n);else if(e==="document")o=Fe(I(t));else if(V(e))o=Ie(e,n);else{const i=te(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return mt(o)}function ne(t,e){const n=Z(t);return n===e||!V(n)||it(n)?!1:W(n).position==="fixed"||ne(n,e)}function Ye(t,e){const n=e.get(t);if(n)return n;let o=lt(t,[],!1).filter(l=>V(l)&&Q(l)!=="body"),i=null;const s=W(t).position==="fixed";let r=s?Z(t):t;for(;V(r)&&!it(r);){const l=W(r),c=Bt(r);!c&&l.position==="fixed"&&(i=null),(s?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||ft(r)&&!c&&ne(t,r))?o=o.filter(f=>f!==r):i=l,r=Z(r)}return e.set(t,o),o}function je(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[...n==="clippingAncestors"?yt(e)?[]:Ye(e,this._c):[].concat(n),o],l=r[0],c=r.reduce((a,f)=>{const u=Nt(e,f,i);return a.top=M(u.top,a.top),a.right=K(u.right,a.right),a.bottom=K(u.bottom,a.bottom),a.left=M(u.left,a.left),a},Nt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Xe(t){const{width:e,height:n}=Qt(t);return{width:e,height:n}}function Ue(t,e,n){const o=N(e),i=I(e),s=n==="fixed",r=J(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const c=F(0);function a(){c.x=Vt(i)}if(o||!o&&!s)if((Q(e)!=="body"||ft(i))&&(l=xt(e)),o){const d=J(e,!0,s,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&a();s&&!o&&i&&a();const f=i&&!o&&!s?ee(i,l):F(0),u=r.left+l.scrollLeft-c.x-f.x,h=r.top+l.scrollTop-c.y-f.y;return{x:u,y:h,width:r.width,height:r.height}}function At(t){return W(t).position==="static"}function It(t,e){if(!N(t)||W(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return I(t)===n&&(n=n.ownerDocument.body),n}function oe(t,e){const n=_(t);if(yt(t))return n;if(!N(t)){let i=Z(t);for(;i&&!it(i);){if(V(i)&&!At(i))return i;i=Z(i)}return n}let o=It(t,e);for(;o&&Me(o)&&At(o);)o=It(o,e);return o&&it(o)&&At(o)&&!Bt(o)?n:o||_e(t)||n}const qe=async function(t){const e=this.getOffsetParent||oe,n=this.getDimensions,o=await n(t.floating);return{reference:Ue(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ge(t){return W(t).direction==="rtl"}const Ke={convertOffsetParentRelativeRectToViewportRelativeRect:ze,getDocumentElement:I,getClippingRect:je,getOffsetParent:oe,getElementRects:qe,getClientRects:He,getDimensions:Xe,getScale:ot,isElement:V,isRTL:Ge};function ie(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Ze(t,e){let n=null,o;const i=I(t);function s(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function r(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(l||e(),!h||!d)return;const p=ut(u),m=ut(i.clientWidth-(f+h)),g=ut(i.clientHeight-(u+d)),w=ut(f),y={rootMargin:-p+"px "+-m+"px "+-g+"px "+-w+"px",threshold:M(0,K(1,
1c))||1};let x=!0;function A(S){const b=S[0].intersectionRatio;if(b!==c){if(!x)return r();b?r(!1,b):o=setTimeout(()=>{r(!1,1e-7)},1e3)}b===1&&!ie(a,t.getBoundingClientRect())&&r(),x=!1}try{n=new IntersectionObserver(A,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(A,y)}n.observe(t)}return r(!0),s}function Je(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,a=_t(t),f=i||s?[...a?lt(a):[],...lt(e)]:[];f.forEach(w=>{i&&w.addEventListener("scroll",n,{passive:!0}),s&&w.addEventListener("resize",n)});const u=a&&l?Ze(a,n):null;let h=-1,d=null;r&&(d=new ResizeObserver(w=>{let[v]=w;v&&v.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=d)==null||y.observe(e)})),n()}),a&&!c&&d.observe(a),d.observe(e));let p,m=c?J(t):null;c&&g();function g(){const w=J(t);m&&!ie(m,w)&&n(),m=w,p=requestAnimationFrame(g)}return n(),()=>{var w;f.forEach(v=>{i&&v.removeEventListener("scroll",n),s&&v.removeEventListener("resize",n)}),u==null||u(),(w=d)==null||w.disconnect(),d=null,c&&cancelAnimationFrame(p)}}const Qe=Te,tn=ke,Yt=Ee,en=Be,nn=De,on=Se,rn=$e,sn=(t,e,n)=>{const o=new Map,i={platform:Ke,...n},s={...i.platform,_c:o};return Re(t,e,{...i,platform:s})};function ln(t){return t!=null&&typeof t=="object"&&"$el"in t}function Rt(t){if(ln(t)){const e=t.$el;return $t(e)&&Q(e)==="#comment"?null:e}return t}function et(t){return typeof t=="function"?t():O(t)}function an(t){return{name:"arrow",options:t,fn(e){const n=Rt(et(t.element));return n==null?{}:on({element:n,padding:t.padding}).fn(e)}}}function re(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function jt(t,e){const n=re(t);return Math.round(e*n)/n}function cn(t,e,n){n===void 0&&(n={});const o=n.whileElementsMounted,i=R(()=>{var b;return(b=et(n.open))!=null?b:!0}),s=R(()=>et(n.middleware)),r=R(()=>{var b;return(b=et(n.placement))!=null?b:"bottom"}),l=R(()=>{var b;return(b=et(n.strategy))!=null?b:"absolute"}),c=R(()=>{var b;return(b=et(n.transform))!=null?b:!0}),a=R(()=>Rt(t.value)),f=R(()=>Rt(e.value)),u=H(0),h=H(0),d=H(l.value),p=H(r.value),m=ae({}),g=H(!1),w=R(()=>{const b={position:d.value,left:"0",top:"0"};if(!f.value)return b;const P=jt(f.value,u.value),D=jt(f.value,h.value);return c.value?{...b,transform:"translate("+P+"px, "+D+"px)",...re(f.value)>=1.5&&{willChange:"transform"}}:{position:d.value,left:P+"px",top:D+"px"}});let v;function y(){if(a.value==null||f.value==null)return;const b=i.value;sn(a.value,f.value,{middleware:s.value,placement:r.value,strategy:l.value}).then(P=>{u.value=P.x,h.value=P.y,d.value=P.strategy,p.value=P.placement,m.value=P.middlewareData,g.value=b!==!1})}function x(){typeof v=="function"&&(v(),v=void 0)}function A(){if(x(),o===void 0){y();return}if(a.value!=null&&f.value!=null){v=o(a.value,f.value,y);return}}function S(){i.value||(g.value=!1)}return bt([s,r,l,i],y,{flush:"sync"}),bt([a,f],A,{flush:"sync"}),bt(i,S,{flush:"sync"}),ce()&&fe(x),{x:tt(u),y:tt(h),strategy:tt(d),placement:tt(p),middlewareData:tt(m),isPositioned:tt(g),floatingStyles:w,update:y}}const[se,fn]=Xt("PopperRoot"),On=at({inheritAttrs:!1,__name:"PopperRoot",setup(t){const e=H();return fn({anchor:e,onAnchorChange:n=>e.value=n}),(n,o)=>ct(n.$slots,"default")}}),Pn=at({__name:"PopperAnchor",props:{reference:{},asChild:{type:Boolean},as:{}},setup(t){const e=t,{forwardRef:n,currentElement:o}=gt(),i=se();return Ut(()=>{i.onAnchorChange(e.reference??o.value)}),(s,r)=>(nt(),qt(O(Et),{ref:O(n),as:s.as,"as-child":s.asChild},{default:wt(()=>[ct(s.$slots,"default")]),_:3},8,["as","as-child"]))}}),un={key:0,d:"M0 0L6 6L12 0"},dn={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"},hn=at({__name:"Arrow",props:{width:{default:10},height:{default:5},rounded:{type:Boolean},asChild:{type:Boolean},as:{default:"svg"}},setup(t){const e=t;return gt(),(n,o)=>(nt(),qt(O(Et),Dt(e,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:wt(()=>[ct(n.$slots,"default",{},()=>
1[n.rounded?(nt(),dt("path",dn)):(nt(),dt("path",un))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}});function pn(t){return t!==null}function mn(t){return{name:"transformOrigin",options:t,fn(e){var g,w,v;const{placement:n,rects:o,middlewareData:i}=e,r=((g=i.arrow)==null?void 0:g.centerOffset)!==0,l=r?0:t.arrowWidth,c=r?0:t.arrowHeight,[a,f]=St(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(((w=i.arrow)==null?void 0:w.x)??0)+l/2,d=(((v=i.arrow)==null?void 0:v.y)??0)+c/2;let p="",m="";return a==="bottom"?(p=r?u:`${h}px`,m=`${-c}px`):a==="top"?(p=r?u:`${h}px`,m=`${o.floating.height+c}px`):a==="right"?(p=`${-c}px`,m=r?u:`${d}px`):a==="left"&&(p=`${o.floating.width+c}px`,m=r?u:`${d}px`),{data:{x:p,y:m}}}}}function St(t){const[e,n="center"]=t.split("-");return[e,n]}function gn(t){const e=H(),n=R(()=>{var i;return((i=e.value)==null?void 0:i.width)??0}),o=R(()=>{var i;return((i=e.value)==null?void 0:i.height)??0});return ue(()=>{const i=de(t);if(i){e.value={width:i.offsetWidth,height:i.offsetHeight};const s=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const l=r[0];let c,a;if("borderBoxSize"in l){const f=l.borderBoxSize,u=Array.isArray(f)?f[0]:f;c=u.inlineSize,a=u.blockSize}else c=i.offsetWidth,a=i.offsetHeight;e.value={width:c,height:a}});return s.observe(i,{box:"border-box"}),()=>s.unobserve(i)}else e.value=void 0}),{width:n,height:o}}const wn={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[vn,yn]=Xt("PopperContent"),Rn=at({inheritAttrs:!1,__name:"PopperContent",props:he({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{}},{...wn}),emits:["placed"],setup(t,{emit:e}){const n=t,o=e,i=se(),{forwardRef:s,currentElement:r}=gt(),l=H(),c=H(),{width:a,height:f}=gn(c),u=R(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),h=R(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),d=R(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),p=R(()=>({padding:h.value,boundary:d.value.filter(pn),altBoundary:d.value.length>0})),m=pe(()=>[Qe({mainAxis:n.sideOffset+f.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Yt({...p.value}),n.avoidCollisions&&tn({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?rn():void 0,...p.value}),!n.prioritizePosition&&n.avoidCollisions&&Yt({...p.value}),en({...p.value,apply:({elements:C,rects:k,availableWidth:B,availableHeight:L})=>{const{width:E,height:Y}=k.reference,$=C.floating.style;$.setProperty("--reka-popper-available-width",`${B}px`),$.setProperty("--reka-popper-available-height",`${L}px`),$.setProperty("--reka-popper-anchor-width",`${E}px`),$.setProperty("--reka-popper-anchor-height",`${Y}px`)}}),c.value&&an({element:c.value,padding:n.arrowPadding}),mn({arrowWidth:a.value,arrowHeight:f.value}),n.hideWhenDetached&&nn({strategy:"referenceHidden",...p.value})]),g=R(()=>n.reference??i.anchor.value),{floatingStyles:w,placement:v,isPositioned:y,middlewareData:x}=cn(g,l,{strategy:n.positionStrategy,placement:u,whileElementsMounted:(...C)=>Je(...C,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:m}),A=R(()=>St(v.value)[0]),S=R(()=>St(v.value)[1]);Ut(()=>{y.value&&o("placed")});const b=R(()=>{var C;return((C=x.value.arrow)==null?void 0:C.centerOffset)!==0}),P=H("");me(()=>{r.value&&(P.value=window.getComputedStyle(r.value).zIndex)});const D=R(()=>{var C;return((C=x.value.arrow)==null?void 0:C.x)??0}),T=R(()=>{var C;return((C=x.value.arrow)==null?void 0:C.y)??0});return yn({placedSide:A,onArrowChange:C=>c.value=C,arrowX:D,arrowY:T,shouldHideArrow:b}),(C,k)=>{var B,L,E;return nt(),dt("div",{ref_key:"floatingRef",ref:l,"data-reka-popper-content-wrapper":"",style:Kt({...O(w),transform:O(y)?O(w).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:P.value,"--reka-popper-transform-origin":[(B=O(x).transformOrigin)==null?void 0:B.x,(L=O(x).transformOrigin)==null?void 0:L.y].join(" "),...((E=O(x).hide)==null?void 0:E.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[Gt(O(Et),Dt({ref:O(s)},C.$attrs,{"as-child":n.asChild,as:C.as,"data-side":A.value,"data-align":S.value,style:{animation:O(y)?void 0:"none"}}),{default:wt(()=>[ct(C.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}
1),xn={top:"bottom",right:"left",bottom:"top",left:"right"},Sn=at({inheritAttrs:!1,__name:"PopperArrow",props:{width:{},height:{},rounded:{type:Boolean},asChild:{type:Boolean},as:{default:"svg"}},setup(t){const{forwardRef:e}=gt(),n=vn(),o=R(()=>xn[n.placedSide.value]);return(i,s)=>{var r,l,c,a;return nt(),dt("span",{ref:f=>{O(n).onArrowChange(f)},style:Kt({position:"absolute",left:(r=O(n).arrowX)!=null&&r.value?`${(l=O(n).arrowX)==null?void 0:l.value}px`:void 0,top:(c=O(n).arrowY)!=null&&c.value?`${(a=O(n).arrowY)==null?void 0:a.value}px`:void 0,[o.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[O(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[O(n).placedSide.value],visibility:O(n).shouldHideArrow.value?"hidden":void 0})},[Gt(hn,Dt(i.$attrs,{ref:O(e),style:{display:"block"},as:i.as,"as-child":i.asChild,rounded:i.rounded,width:i.width,height:i.height}),{default:wt(()=>[ct(i.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4)}}});function En(t){const e=ge("",1e3);return{search:e,handleTypeaheadSearch:(i,s)=>{e.value=e.value+i;{const r=we(),l=s.map(h=>{var d,p;return{...h,textValue:((d=h.value)==null?void 0:d.textValue)??((p=h.ref.textContent)==null?void 0:p.trim())??""}}),c=l.find(h=>h.ref===r),a=l.map(h=>h.textValue),f=An(a,e.value,c==null?void 0:c.textValue),u=l.find(h=>h.textValue===f);return u&&u.ref.focus(),u==null?void 0:u.ref}},resetTypeahead:()=>{e.value=""}}}function bn(t,e){return t.map((n,o)=>t[(e+o)%t.length])}function An(t,e,n){const i=e.length>1&&Array.from(e).every(a=>a===e[0])?e[0]:e,s=n?t.indexOf(n):-1;let r=bn(t,Math.max(s,0));i.length===1&&(r=r.filter(a=>a!==n));const c=r.find(a=>a.toLowerCase().startsWith(i.toLowerCase()));return c!==n?c:void 0}export{wn as P,Pn as _,On as a,Rn as b,Sn as c,En as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.