PageSourceSearch

https://bergeys.org/_nuxt/VDialog.f0ce189c.js

js bergeys.org collected 2026-10-02 04:44:32 UTC 25,929 bytes, 1 lines download raw bytes

vendor: 23,509 bytes, line 1
1import{S as Fe,a5 as ke,z as de,b as R,q as L,a6 as le,s as q,r as H,a7 as _,X as ve,L as F,a8 as B,a9 as je,H as C,Y as U,R as D,a3 as ge,a1 as me,aa as Te,N as Me,ab as Ye,ac as De,ad as Ge,K as J,ae as Xe,n as Ke,af as Le,M as Je,ag as Ue,ah as Ze,y as Qe,G as Be,A as et,P as tt,C as nt,ai as ot,h as at,v as it,J as rt,F as st,aj as lt}from"./entry.7a0cbbe8.js";import{C as ye,D as ne,E as oe,F as we,G as be,m as ct,H as ut,x as ft,A as dt,J as vt,K as mt,u as Ve,M as ht,N as gt,w as yt}from"./VContainer.88294581.js";import{m as wt,u as bt}from"./lazy.1e5aadc5.js";import{u as Ne}from"./scopeId.730d78e7.js";class j{constructor(n){let{x:t,y:a,width:o,height:i}=n;this.x=t,this.y=a,this.width=o,this.height=i}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function pe(e,n){return{x:{before:Math.max(0,n.left-e.left),after:Math.max(0,e.right-n.right)},y:{before:Math.max(0,n.top-e.top),after:Math.max(0,e.bottom-n.bottom)}}}function He(e){const n=e.getBoundingClientRect(),t=getComputedStyle(e),a=t.transform;if(a){let o,i,r,s,l;if(a.startsWith("matrix3d("))o=a.slice(9,-1).split(/, /),i=+o[0],r=+o[5],s=+o[12],l=+o[13];else if(a.startsWith("matrix("))o=a.slice(7,-1).split(/, /),i=+o[0],r=+o[3],s=+o[4],l=+o[5];else return new j(n);const c=t.transformOrigin,u=n.x-s-(1-i)*parseFloat(c),d=n.y-l-(1-r)*parseFloat(c.slice(c.indexOf(" ")+1)),v=i?n.width/i:e.offsetWidth+1,m=r?n.height/r:e.offsetHeight+1;return new j({x:u,y:d,width:v,height:m})}else return new j(n)}function K(e,n,t){if(typeof e.animate>"u")return{finished:Promise.resolve()};let a;try{a=e.animate(n,t)}catch{return{finished:Promise.resolve()}}return typeof a.finished>"u"&&(a.finished=new Promise(o=>{a.onfinish=()=>{o(a)}})),a}const Z=new WeakMap;function pt(e,n){Object.keys(n).forEach(t=>{if(Fe(t)){const a=ke(t),o=Z.get(e);if(n[t]==null)o==null||o.forEach(i=>{const[r,s]=i;r===a&&(e.removeEventListener(a,s),o.delete(i))});else if(!o||![...o].some(i=>i[0]===a&&i[1]===n[t])){e.addEventListener(a,n[t]);const i=o||new Set;i.add([a,n[t]]),Z.has(e)||Z.set(e,i)}}else n[t]==null?e.removeAttribute(t):e.setAttribute(t,n[t])})}function xt(e,n){Object.keys(n).forEach(t=>{if(Fe(t)){const a=ke(t),o=Z.get(e);o==null||o.forEach(i=>{const[r,s]=i;r===a&&(e.removeEventListener(a,s),o.delete(i))})}else e.removeAttribute(t)})}function _e(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const n=e.getRootNode();return n!==document&&n.getRootNode({composed:!0})!==document?null:n}const ce="cubic-bezier(0.4, 0, 0.2, 1)",Et="cubic-bezier(0.0, 0, 0.2, 1)",St="cubic-bezier(0.4, 0, 1, 1)";function Ot(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(n?Pt(e):he(e))return e;e=e.parentElement}return document.scrollingElement}function ee(e,n){const t=[];if(n&&e&&!n.contains(e))return t;for(;e&&(he(e)&&t.push(e),e!==n);)e=e.parentElement;return t}function he(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=window.getComputedStyle(e);return n.overflowY==="scroll"||n.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function Pt(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const n=window.getComputedStyle(e);return["scroll","auto"].includes(n.overflowY)}function Ct(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}const At=q({target:Object},"v-dialog-transition"),Rt=de()({name:"VDialogTransition",props:At(),setup(e,n){let{slots:t}=n;const a={onBeforeEnter(o){o.style.pointerEvents="none",o.style.visibility="hidden"},async onEnter(o,i){var v;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),o.style.visibility="";const{x:r,y:s,sx:l,sy:c,speed:u}=Ee(e.target,o),d=K(o,[{transform:`translate(${r}px, ${s}px) scale(${l}, ${c})`,opacity:0},{}],{duration:225*u,easing:Et});(v=xe(o))==null||v.forEach(m=>{K(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*u,easing:ce})}),d.finished.then(()=>i())},onAfterEnter(o){o.style.removeProperty("pointer-events")},onBeforeLeave(o){o.style.pointerEvents="none"},async onLeave(o,i){var v;await new Promise(m=>requestAnimationFrame(m));const{x:r,y:s,sx:l,sy:c,speed:u}=Ee(e.target,o);K(o,[{},{transform:`translate(${r}px, ${s}px) scale(${l}, ${c})`,opacity:0}],{duration:125*u,easing:St}).finished.then(()=>i()),(v=xe(o))==null||v.forEach(m=>{K(m,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*u,easing:ce})})},onAfterLeave(o){o.style.removeProperty("pointer-events")}};return()=>e.target?R(le,L({name:"dialog-transition"},a,{css:!1}),t):R(le,{name:"dialog-transition"},t)}});function xe(e){var t;const n=(t=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:t.children;return n&&[...n]}function Ee(e,n){const t=e.getBoundingClientRect(),a=He(n),[o,i]=getComputedStyle(n).transformOrigin.split(" ").map(E=>parseFloat(E)),[r,s]=getComputedStyle(n).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=t.left+t.width/2;r==="left"||s==="left"?l-=t.width/2:(r==="right"||s==="right")&&(l+=t.width/2);let c=t.top+t.height/2;r==="top"||s==="top"?c-=t.height/2:(r==="bottom"||s==="bottom")&&(c+=t.height/2);const u=t.width/a.width,d=t.height/a.height,v=Math.max(1,u,d),m=u/v||0,g=d/v||0,h=a.width*a.height/(window.innerWidth*window.innerHeight),P=h>.12?Math.min(1.5,(h-.12)*10+1):1;return{x:l-(o+a.left),y:c-(i+a.top),sx:m,sy:g,speed:P}}function ae(e,n){return{x:e.x+n.x,y:e.y+n.y}}function Ft(e,n){return{x:e.x-n.x,y:e.y-n.y}}function Se(e,n){if(e.side==="top"||e.side==="bottom"){const{side:t,align:a}=e,o=a==="left"?0:a==="center"?n.width/2:a==="right"?n.width:a,i=t==="top"?0:t==="bottom"?n.height:t;return ae({x:o,y:i},n)}else if(e.side==="left"||e.side==="right"){const{side:t,align:a}=e,o=t==="left"?0:t==="right"?n.width:t,i=a==="top"?0:a==="center"?n.height/2:a==="bottom"?n.height:a;return ae({x:o,y:i},n)}return ae({x:n.width/2,y:n.height/2},n)}const We={static:Mt,connected:Lt},kt=q({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in We},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Tt(e,n){const t=H({}),a=H();_&&(ve(()=>!!(n.isActive.value&&e.locationStrategy),i=>{var r,s;F(()=>e.locationStrategy,i),B(()=>{a.value=void 0}),typeof e.locationStrategy=="function"?a.value=(r=e.locationStrategy(n,e,t))==null?void 0:r.updateLocation:a.value=(s=We[e.locationStrategy](n,e,t))==null?void 0:s.updateLocation}),window.addEventListener("resize",o,{passive:!0}),B(()=>{window.removeEventListener("resize",o),a.value=void 0}));function o(i){var r;(r=a.value)==null||r.call(a,i)}return{contentStyles:t,updateLocation:a}}function Mt(){}function Dt(e,n){n?e.style.removeProperty("left"):e.style.removeProperty("right");const t=He(e);return n?t.x+=parseFloat(e.style.right||0):t.x-=parseFloat(e.style.left||0),t.y-=parseFloat(e.style.top||0),t}function Lt(e,n,t){Ct(e.activatorEl.value)&&Object.assign(t.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:o,preferredOrigin:i}=je(()=>{const g=ye(n.location,e.isRtl.value),h=n.origin==="overlap"?g:n.origin==="auto"?ne(g):ye(n.origin,e.isRtl.value);return g.side===h.side&&g.align===oe(h).align?{preferredAnchor:we(g),preferredOrigin:we(h)}:{preferredAnchor:g,preferredOrigin:h}}),[r,s,l,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(g=>C(()=>{const h=parseFloat(n[g]);return isNaN(h)?1/0:h})),u=C(()=>{if(Array.isArray(n.offset))return n.offset;if(typeof n.offset=="string"){const g=n.offset.split(" ").map(parseFloat);return g.length<2&&g.push(0),g}return typeof n.offset=="number"?[n.offset,0]:[0,0]});let d=!1;const v=new ResizeObserver(()=>{d&&m()});F([e.activatorEl,e.contentEl],(g,h)=>{let[P,E]=g,[p,f]=h;p&&v.unobserve(p),P&&v.observe(P),f&&v.unobserve(f),E&&v.observe(E)},{immediate:!0}),B(()=>{v.disconnect()});function m(){if(d=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>d=!0)}),!e.activatorEl.value||!e.contentEl.value)return;const g=e.activatorEl.value.getBoundingClientRect(),h=Dt(e.contentEl.value,e.isRtl.value),P=ee(e.contentEl.value),E=12;P.length||(P.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(h.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),h.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const p=P.reduce((S,x)=>{const y=x.getBoundingClientRect(),b=new j({x:x===document.documentElement?0:y.x,y:x===document.documentElement?0:y.y,width:x.clientWidth,height:x.clientHeight});return S?new j({x:Math.max(S.left,b.left),y:Math.max(S.top,b.top),width:Math.min(S.right,b.right)-Math.max(S.left,b.left),height:Math.min(S.bottom,b.bottom)-Math.max(S.top,b.top)}):b},void 0);p.x+=E,p.y+=E,p.width-=E*2,p.height-=E*2;let f={anchor:o.value,origin:i.value};function k(S){const x=new j(h),y=Se(S.anchor,g),b=Se(S.origin,x);let{x:T,y:M}=Ft(y,b);switch(S.anchor.side){case"top":M-=u.value[0];break;case"bottom":M+=u.value[0];break;case"left":T-=u.value[0];break;case"right":T+=u.value[0];break}switch(S.anchor.align){case"top":M-=u.value[1];break;case"bottom":M+=u.value[1];break;case"left":T-=u.value[1];break;case"right":T+=u.value[1];break}return x.x+=T,x.y+=M,x.width=Math.min(x.width,l.value),x.height=Math.min(x.height,c.value),{overflows:pe(x,p),x:T,y:M}}let N=0,W=0;const I={x:0,y:0},Y={x:!1,y:!1};let G=-1;for(;!(G++>10);){const{x:S,y:x,overflows:y}=k(f);N+=S,W+=x,h.x+=S,h.y+=x;{const b=be(f.anchor),T=y.x.before||y.x.after,M=y.y.before||y.y.after;let z=!1;if(["x","y"].forEach(O=>{if(O==="x"&&T&&!Y.x||O==="y"&&M&&!Y.y){const w={anchor:{...f.anchor},origin:{...f.origin}},A=O==="x"?b==="y"?oe:ne:b==="y"?ne:oe;w.anchor=A(w.anchor),w.origin=A(w.origin);const{overflows:$}=k(w);($[O].before<=y[O].before&&$[O].after<=y[O].after||$[O].before+$[O].after<(y[O].before+y[O].after)/2)&&(f=w,z=Y[O]=!0)}}),z)continue}y.x.before&&(N+=y.x.before,h.x+=y.x.before),y.x.after&&(N-=y.x.after,h.x-=y.x.after),y.y.before&&(W+=y.y.before,h.y+=y.y.before),y.y.after&&(W-=y.y.after,h.y-=y.y.after);{const b=pe(h,p);I.x=p.width-b.x.before-b.x.after,I.y=p.height-b.y.before-b.y.after,N+=b.x.before,h.x+=b.x.before,W+=b.y.before,h.y+=b.y.before}break}const V=be(f.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${f.anchor.side} ${f.anchor.align}`,transformOrigin:`${f.origin.side} ${f.origin.align}`,top:D(ie(W)),left:e.isRtl.value?void 0:D(ie(N)),right:e.isRtl.value?D(ie(-N)):void 0,minWidth:D(V==="y"?Math.min(r.value,g.width):r.value),maxWidth:D(Oe(ge(I.x,r.value===1/0?0:r.value,l.value))),maxHeight:D(Oe(ge(I.y,s.value===1/0?0:s.value,c.value)))}),{available:I,contentBox:h}}return F(()=>[o.value,i.value,n.offset,n.minWidth,n.minHeight,n.maxWidth,n.maxHeight],()=>m()),U(()=>{const g=m();if(!g)return;const{available:h,contentBox:P}=g;P.height>h.y&&requestAnimationFrame(()=>{m(),requestAnimationFrame(()=>{m()})})}),{updateLocation:m}}function ie(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Oe(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let ue=!0;const te=[];function Bt(e){!ue||te.length?(te.push(e),fe()):(ue=!1,e(),fe())}let Pe=-1;function fe(){cancelAnimationFrame(Pe),Pe=requestAnimationFrame(()=>{const e=te.shift();e&&e(),te.length?fe():ue=!0})}const Q={none:null,close:Ht,block:_t,reposition:Wt},Vt=q({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Q}},"VOverlay-scroll-strategies");function Nt(e,n){if(!_)return;let t;me(async()=>{t==null||t.stop(),n.isActive.value&&e.scrollStrategy&&(t=Te(),await U(),t.active&&t.run(()=>{var a;typeof e.scrollStrategy=="function"?e.scrollStrategy(n,e,t):(a=Q[e.scrollStrategy])==null||a.call(Q,n,e,t)}))}),B(()=>{t==null||t.stop()})}function Ht(e){function n(t){e.isActive.value=!1}Ie(e.activatorEl.value??e.contentEl.value,n)}function _t(e,n){var r;const t=(r=e.root.value)==null?void 0:r.offsetParent,a=[...new Set([...ee(e.activatorEl.value,n.contained?t:void 0),...ee(e.contentEl.value,n.contained?t:void 0)])].filter(s=>!s.classList.contains("v-overlay-scroll-blocked")),o=window.innerWidth-document.documentElement.offsetWidth,i=(s=>he(s)&&s)(t||document.documentElement);i&&e.root.value.classList.add("v-overlay--scroll-blocked"),a.forEach((s,l)=>{s.style.setProperty("--v-body-scroll-x",D(-s.scrollLeft)),s.style.setProperty("--v-body-scroll-y",D(-s.scrollTop)),s!==document.documentElement&&s.style.setProperty("--v-scrollbar-offset",D(o)),s.classList.add("v-overlay-scroll-blocked")}),B(()=>{a.forEach((s,l)=>{const c=parseFloat(s.style.getPropertyValue("--v-body-scroll-x")),u=parseFloat(s.style.getPropertyValue("--v-body-scroll-y"));s.style.removeProperty("--v-body-scroll-x"),s.style.removeProperty("--v-body-scroll-y"),s.style.removeProperty("--v-scrollbar-offset"),s.classList.remove("v-overlay-scroll-blocked"),s.scrollLeft=-c,s.scrollTop=-u}),i&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function Wt(e,n,t){let a=!1,o=-1,i=-1;function r(s){Bt(()=>{var u,d;const l=performance.now();(d=(u=e.updateLocation).value)==null||d.call(u,s),a=(performance.now()-l)/(1e3/60)>2})}i=(typeof requestIdleCallback>"u"?s=>s():requestIdleCallback)(()=>{t.run(()=>{Ie(e.activatorEl.value??e.contentEl.value,s=>{a?(cancelAnimationFrame(o),o=requestAnimationFrame(()=>{o=requestAnimationFrame(()=>{r(s)})})):r(s)})})}),B(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(i),cancelAnimationFrame(o)})}function Ie(e,n){const t=[document,...ee(e)];t.forEach(a=>{a.addEventListener("scroll",n,{passive:!0})}),B(()=>{t.forEach(a=>{a.removeEventListener("scroll",n)})})}const It=Symbol.for("vuetify:v-menu"),$t=q({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function qt(e,n){const t={},a=o=>()=>{if(!_)return Promise.resolve(!0);const i=o==="openDelay";return t.closeDelay&&window.clearTimeout(t.closeDelay),delete t.closeDelay,t.openDelay&&window.clearTimeout(t.openDelay),delete t.openDelay,new Promise(r=>{const s=parseInt(e[o]??0,10);t[o]=window.setTimeout(()=>{n==null||n(i),r(i)},s)})};return{runCloseDelay:a("closeDelay"),runOpenDelay:a("openDelay")}}const zt=q({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...$t()},"VOverlay-activator");function jt(e,n){let{isActive:t,isTop:a}=n;const o=H();let i=!1,r=!1,s=!0;const l=C(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),c=C(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!l.value),{runOpenDelay:u,runCloseDelay:d}=qt(e,f=>{f===(e.openOnHover&&i||l.value&&r)&&!(e.openOnHover&&t.value&&!a.value)&&(t.value!==f&&(s=!0),t.value=f)}),v={onClick:f=>{f.stopPropagation(),o.value=f.currentTarget||f.target,t.value=!t.value},onMouseenter:f=>{var k;(k=f.sourceCapabilities)!=null&&k.firesTouchEvents||(i=!0,o.value=f.currentTarget||f.target,u())},onMouseleave:f=>{i=!1,d()},onFocus:f=>{Ge(f.target,":focus-visible")!==!1&&(r=!0,f.stopPropagation(),o.value=f.currentTarget||f.target,u())},onBlur:f=>{r=!1,f.stopPropagation(),d()}},m=C(()=>{const f={};return c.value&&(f.onClick=v.onClick),e.openOnHover&&(f.onMouseenter=v.onMouseenter,f.onMouseleave=v.onMouseleave),l.value&&(f.onFocus=v.onFocus,f.onBlur=v.onBlur),f}),g=C(()=>{const f={};if(e.openOnHover&&(f.onMouseenter=()=>{i=!0,u()},f.onMouseleave=()=>{i=!1,d()}),l.value&&(f.onFocusin=()=>{r=!0,u()},f.onFocusout=()=>{r=!1,d()}),e.closeOnContentClick){const k=Me(It,null);f.onClick=()=>{t.value=!1,k==null||k.closeParents()}}return f}),h=C(()=>{const f={};return e.openOnHover&&(f.onMouseenter=()=>{s&&(i=!0,s=!1,u())},f.onMouseleave=()=>{i=!1,d()}),f});F(a,f=>{f&&(e.openOnHover&&!i&&(!l.value||!r)||l.value&&!r&&(!e.openOnHover||!i))&&(t.value=!1)});const P=H();me(()=>{P.value&&U(()=>{o.value=Ye(P.value)})});const E=De("useActivator");let p;return F(()=>!!e.activator,f=>{f&&_?(p=Te(),p.run(()=>{Yt(e,E,{activatorEl:o,activatorEvents:m})})):p&&p.stop()},{flush:"post",immediate:!0}),B(()=>{p==null||p.stop()}),{activatorEl:o,activatorRef:P,activatorEvents:m,contentEvents:g,scrimEvents:h}}function Yt(e,n,t){let{activatorEl:a,activatorEvents:o}=t;F(()=>e.activator,(l,c)=>{if(c&&l!==c){const u=s(c);u&&r(u)}l&&U(()=>i())},{immediate:!0}),F(()=>e.activatorProps,()=>{i()}),B(()=>{r()});function i(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&pt(l,L(o.value,c))}function r(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&xt(l,L(o.value,c))}function s(){var u,d;let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator,c;if(l)if(l==="parent"){let v=(d=(u=n==null?void 0:n.proxy)==null?void 0:u.$el)==null?void 0:d.parentNode;for(;v!=null&&v.hasAttribute("data-no-activator");)v=v.parentNode;c=v}else typeof l=="string"?c=document.querySelector(l):"$el"in l?c=l.$el:c=l;return a.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:null,a.value}}function Gt(){if(!_)return J(!1);const{ssr:e}=Xe();if(e){const n=J(!1);return Ke(()=>{n.value=!0}),n}else return J(!0)}const Ce=Symbol.for("vuetify:stack"),X=Le([]);function Xt(e,n,t){const a=De("useStack"),o=!t,i=Me(Ce,void 0),r=Le({activeChildren:new Set});Je(Ce,r);const s=J(+n.value);ve(e,()=>{var d;const u=(d=X.at(-1))==null?void 0:d[1];s.value=u?u+10:+n.value,o&&X.push([a.uid,s.value]),i==null||i.activeChildren.add(a.uid),B(()=>{if(o){const v=Ze(X).findIndex(m=>m[0]===a.uid);X.splice(v,1)}i==null||i.activeChildren.delete(a.uid)})});const l=J(!0);o&&me(()=>{var d;const u=((d=X.at(-1))==null?void 0:d[0])===a.uid;setTimeout(()=>l.value=u)});const c=C(()=>!r.activeChildren.size);return{globalTop:Ue(l),localTop:c,stackStyles:C(()=>({zIndex:s.value}))}}function Kt(e){return{teleportTarget:C(()=>{const t=e.value;if(t===!0||!_)return;const a=t===!1?document.body:typeof t=="string"?document.querySelector(t):t;if(a==null)return;let o=a.querySelector(":scope > .v-overlay-container");return o||(o=document.createElement("div"),o.className="v-overlay-container",a.appendChild(o)),o})}}function Jt(){return!0}function $e(e,n,t){if(!e||qe(e,t)===!1)return!1;const a=_e(n);if(typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&a.host===e.target)return!1;const o=(typeof t.value=="object"&&t.value.include||(()=>[]))();return o.push(n),!o.some(i=>i==null?void 0:i.contains(e.target))}function qe(e,n){return(typeof n.value=="object"&&n.value.closeConditional||Jt)(e)}function Ut(e,n,t){const a=typeof t.value=="function"?t.value:t.value.handler;n._clickOutside.lastMousedownWasOutside&&$e(e,n,t)&&setTimeout(()=>{qe(e,t)&&a&&a(e)},0)}function Ae(e,n){const t=_e(e);n(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&n(t)}const Zt={mounted(e,n){const t=o=>Ut(o,e,n),a=o=>{e._clickOutside.lastMousedownWasOutside=$e(o,e,n)};Ae(e,o=>{o.addEventListener("click",t,!0),o.addEventListener("mousedown",a,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[n.instance.$.uid]={onClick:t,onMousedown:a}},unmounted(e,n){e._clickOutside&&(Ae(e,t=>{var i;if(!t||!((i=e._clickOutside)!=null&&i[n.instance.$.uid]))return;const{onClick:a,onMousedown:o}=e._clickOutside[n.instance.$.uid];t.removeEventListener("click",a,!0),t.removeEventListener("mousedown",o,!0)}),delete e._clickOutside[n.instance.$.uid])}};function Qt(e){const{modelValue:n,color:t,...a}=e;return R(le,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&R("div",L({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},a),null)]})}const ze=q({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...zt(),...ct(),...ut(),...wt(),...kt(),...Vt(),...Qe(),...ft()},"VOverlay"),Re=de()({name:"VOverlay",directives:{ClickOutside:Zt},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...ze()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,n){let{slots:t,attrs:a,emit:o}=n;const i=Be(e,"modelValue"),r=C({get:()=>i.value,set:w=>{w&&e.disabled||(i.value=w)}}),{teleportTarget:s}=Kt(C(()=>e.attach||e.contained)),{themeClasses:l}=et(e),{rtlClasses:c,isRtl:u}=tt(),{hasContent:d,onAfterLeave:v}=bt(e,r),m=dt(C(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:g,localTop:h,stackStyles:P}=Xt(r,nt(e,"zIndex"),e._disableGlobalStack),{activatorEl:E,activatorRef:p,activatorEvents:f,contentEvents:k,scrimEvents:N}=jt(e,{isActive:r,isTop:h}),{dimensionStyles:W}=vt(e),I=Gt(),{scopeId:Y}=Ne();F(()=>e.disabled,w=>{w&&(r.value=!1)});const G=H(),V=H(),{contentStyles:S,updateLocation:x}=Tt(e,{isRtl:u,contentEl:V,activatorEl:E,isActive:r});Nt(e,{root:G,contentEl:V,activatorEl:E,isActive:r,updateLocation:x});function y(w){o("click:outside",w),e.persistent?O():r.value=!1}function b(){return r.value&&g.value}_&&F(r,w=>{w?window.addEventListener("keydown",T):window.removeEventListener("keydown",T)},{immediate:!0});function T(w){var A,$;w.key==="Escape"&&g.value&&(e.persistent?O():(r.value=!1,(A=V.value)!=null&&A.contains(document.activeElement)&&(($=E.value)==null||$.focus())))}const M=mt();ve(()=>e.closeOnBack,()=>{gt(M,w=>{g.value&&r.value?(w(!1),e.persistent?O():r.value=!1):w()})});const z=H();F(()=>r.value&&(e.absolute||e.contained)&&s.value==null,w=>{if(w){const A=Ot(G.value);A&&A!==document.scrollingElement&&(z.value=A.scrollTop)}});function O(){e.noClickAnimation||V.value&&K(V.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:ce})}return Ve(()=>{var w;return R(st,null,[(w=t.activator)==null?void 0:w.call(t,{isActive:r.value,props:L({ref:p},f.value,e.activatorProps)}),I.value&&d.value&&R(ot,{disabled:!s.value,to:s.value},{default:()=>[R("div",L({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":r.value,"v-overlay--contained":e.contained},l.value,c.value,e.class],style:[P.value,{top:D(z.value)},e.style],ref:G},Y,a),[R(Qt,L({color:m,modelValue:r.value&&!!e.scrim},N.value),null),R(ht,{appear:!0,persisted:!0,transition:e.transition,target:E.value,onAfterLeave:()=>{v(),o("afterLeave")}},{default:()=>{var A;return[at(R("div",L({ref:V,class:["v-overlay__content",e.contentClass],style:[W.value,S.value]},k.value,e.contentProps),[(A=t.default)==null?void 0:A.call(t,{isActive:r})]),[[it,r.value],[rt("click-outside"),{handler:y,closeConditional:b,include:()=>[E.value]}]])]}})])]})])}),{activatorEl:E,animateClick:O,contentEl:V,globalTop:g,localTop:h,updateLocation:x}}}),re=Symbol("Forwarded refs");function se(e,n){let t=e;for(;t;){const a=Reflect.getOwnPropertyDescriptor(t,n);if(a)return a;t=Object.getPrototypeOf(t)}}function en(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return e[re]=t,new Proxy(e,{get(o,i){if(Reflect.has(o,i))return Reflect.get(o,i);if(!(typeof i=="symbol"||i.startsWith("__"))){for(const r of t)if(r.value&&Reflect.has(r.value,i)){const s=Reflect.get(r.value,i);return typeof s=="function"?s.bind(r.value):s}}},has(o,i){if(Reflect.has(o,i))return!0;
1if(typeof i=="symbol"||i.startsWith("__"))return!1;for(const r of t)if(r.value&&Reflect.has(r.value,i))return!0;return!1},set(o,i,r){if(Reflect.has(o,i))return Reflect.set(o,i,r);if(typeof i=="symbol"||i.startsWith("__"))return!1;for(const s of t)if(s.value&&Reflect.has(s.value,i))return Reflect.set(s.value,i,r);return!1},getOwnPropertyDescriptor(o,i){var s;const r=Reflect.getOwnPropertyDescriptor(o,i);if(r)return r;if(!(typeof i=="symbol"||i.startsWith("__"))){for(const l of t){if(!l.value)continue;const c=se(l.value,i)??("_"in l.value?se((s=l.value._)==null?void 0:s.setupState,i):void 0);if(c)return c}for(const l of t){const c=l.value&&l.value[re];if(!c)continue;const u=c.slice();for(;u.length;){const d=u.shift(),v=se(d.value,i);if(v)return v;const m=d.value&&d.value[re];m&&u.push(...m)}}}}})}const tn=q({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...ze({origin:"center center",scrollStrategy:"block",transition:{component:Rt},zIndex:2400})},"VDialog"),sn=de()({name:"VDialog",props:tn(),emits:{"update:modelValue":e=>!0},setup(e,n){let{slots:t}=n;const a=Be(e,"modelValue"),{scopeId:o}=Ne(),i=H();function r(l){var d,v;const c=l.relatedTarget,u=l.target;if(c!==u&&((d=i.value)!=null&&d.contentEl)&&((v=i.value)!=null&&v.globalTop)&&![document,i.value.contentEl].includes(u)&&!i.value.contentEl.contains(u)){const m=lt(i.value.contentEl);if(!m.length)return;const g=m[0],h=m[m.length-1];c===g?h.focus():g.focus()}}_&&F(()=>a.value&&e.retainFocus,l=>{l?document.addEventListener("focusin",r):document.removeEventListener("focusin",r)},{immediate:!0}),F(a,async l=>{var c,u;await U(),l?(c=i.value.contentEl)==null||c.focus({preventScroll:!0}):(u=i.value.activatorEl)==null||u.focus({preventScroll:!0})});const s=C(()=>L({"aria-haspopup":"dialog","aria-expanded":String(a.value)},e.activatorProps));return Ve(()=>{const[l]=Re.filterProps(e);return R(Re,L({ref:i,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},l,{modelValue:a.value,"onUpdate:modelValue":c=>a.value=c,"aria-modal":"true",activatorProps:s.value,role:"dialog"},o),{activator:t.activator,default:function(){for(var c=arguments.length,u=new Array(c),d=0;d<c;d++)u[d]=arguments[d];return R(yt,{root:"VDialog"},{default:()=>{var v;return[(v=t.default)==null?void 0:v.call(t,...u)]}})}})}),en({},i)}});export{sn as V,K as a,en as f,He as n,ce as s};

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.