@prozorro/prozorro-ui 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/assets/{Color-FRDS63T2-BVVRSzFu.js → Color-FRDS63T2-CsRhr6UV.js} +1 -1
- package/dist/app/assets/{Colors.stories-BV0C2AcY.js → Colors.stories-DEYuJMOg.js} +1 -1
- package/dist/app/assets/{DocsRenderer-LL677BLK-BvkMeFSH.js → DocsRenderer-LL677BLK-SyKdr26F.js} +5 -5
- package/dist/app/assets/{Grid.stories-0uJYxh6v.js → Grid.stories-tNIqG0RU.js} +1 -1
- package/dist/app/assets/{PzAccordion-BK8qPIGx.js → PzAccordion-DBbwPot5.js} +1 -1
- package/dist/app/assets/{PzAccordion.stories-CBJM1l8G.js → PzAccordion.stories-BD4F7neV.js} +1 -1
- package/dist/app/assets/{PzAccordionTable.stories-0OZ08OCM.js → PzAccordionTable.stories-CLxILIcz.js} +1 -1
- package/dist/app/assets/{PzArrayClamp.stories-CVsbMoOI.js → PzArrayClamp.stories-250Iry9s.js} +1 -1
- package/dist/app/assets/{PzBreadcrumb.stories-AEkdP3Sx.js → PzBreadcrumb.stories-DxWT_6Cp.js} +1 -1
- package/dist/app/assets/{PzBtn-B9m7S5t4.js → PzBtn-BarWYLTu.js} +1 -1
- package/dist/app/assets/{PzBtn.stories-C0en9cjk.js → PzBtn.stories-BWjSm42O.js} +1 -1
- package/dist/app/assets/{PzCheckbox-4-y3QxIg.js → PzCheckbox-Bb0mjuwf.js} +1 -1
- package/dist/app/assets/{PzCheckbox.stories-0AqtpX2R.js → PzCheckbox.stories-Ru96TO_g.js} +1 -1
- package/dist/app/assets/{PzCheckboxGroup.stories-Bc2Q0qzm.js → PzCheckboxGroup.stories-Cffc_uJm.js} +1 -1
- package/dist/app/assets/{PzClamp.stories-ClQxjI3w.js → PzClamp.stories-kXcV_LYB.js} +1 -1
- package/dist/app/assets/{PzCopyToClipboard.stories-DpySg5be.js → PzCopyToClipboard.stories-DD4GX3Qh.js} +1 -1
- package/dist/app/assets/{PzDate-B7IRRe08.js → PzDate-SHTdqF8l.js} +1 -1
- package/dist/app/assets/{PzDate.stories-BMKH61UJ.js → PzDate.stories-D70HsLfD.js} +1 -1
- package/dist/app/assets/{PzDateRange.stories-DermFDVN.js → PzDateRange.stories-BSLqMAnO.js} +1 -1
- package/dist/app/assets/{PzDomHandler.stories-BZmKmq7h.js → PzDomHandler.stories-CISBkLbf.js} +1 -1
- package/dist/app/assets/{PzDropdown.stories-D21VL1Wl.js → PzDropdown.stories-BIScOgwc.js} +1 -1
- package/dist/app/assets/{PzFileInput.stories-CdV-8Ur5.js → PzFileInput.stories-CvrmXAoF.js} +1 -1
- package/dist/app/assets/{PzGrid.stories-jBExFoH9.js → PzGrid.stories-Dpy8NJxB.js} +1 -1
- package/dist/app/assets/{PzHint-Cs9J6pTd.js → PzHint-DtoBnvk8.js} +1 -1
- package/dist/app/assets/{PzHint.stories-qTU73X-T.js → PzHint.stories-D_aFAFoU.js} +1 -1
- package/dist/app/assets/{PzIcon-4heVmbY5.js → PzIcon-BNOyrXpI.js} +1 -1
- package/dist/app/assets/{PzIcon.stories-CHQJZBkl.js → PzIcon.stories-kQuMesD2.js} +1 -1
- package/dist/app/assets/{PzImage.stories-cr2I1Mv8.js → PzImage.stories-CAlceQdK.js} +1 -1
- package/dist/app/assets/{PzImageInput.stories-wOMiRK50.js → PzImageInput.stories-CJ3H4r2M.js} +1 -1
- package/dist/app/assets/{PzInfoBlockLayout.stories-DkIvXHsN.js → PzInfoBlockLayout.stories-keXGmy5F.js} +1 -1
- package/dist/app/assets/{PzInfoHint-DyFMEGP1.js → PzInfoHint-DVZaeDRk.js} +1 -1
- package/dist/app/assets/{PzInfoHint.stories-CbQPKqr-.js → PzInfoHint.stories-B0TumIIo.js} +1 -1
- package/dist/app/assets/{PzInput.stories-DFL76csJ.js → PzInput.stories-WWEWGJx6.js} +1 -1
- package/dist/app/assets/{PzInputDate.stories-DtbZSO2I.js → PzInputDate.stories-CfVVzhZL.js} +1 -1
- package/dist/app/assets/{PzInputNumber.stories-BnWkdIia.js → PzInputNumber.stories-FbaF-WKa.js} +1 -1
- package/dist/app/assets/{PzKeyValue.stories-D62cy2Nn.js → PzKeyValue.stories-q0wvaZLn.js} +1 -1
- package/dist/app/assets/{PzLabel-BGjTUIxv.js → PzLabel-uBBiovdd.js} +1 -1
- package/dist/app/assets/{PzLabel.stories-Bsn2on9n.js → PzLabel.stories-Cgh8DZae.js} +1 -1
- package/dist/app/assets/{PzLink-PMftGlCf.js → PzLink-cHGgru27.js} +1 -1
- package/dist/app/assets/{PzLink.stories-uYyu1A1Y.js → PzLink.stories-CBPhBsoj.js} +1 -1
- package/dist/app/assets/{PzListNav.stories-CzdiB1vJ.js → PzListNav.stories-BLC_908q.js} +1 -1
- package/dist/app/assets/{PzLoader.stories-BKbYZbCg.js → PzLoader.stories-icHvHyeI.js} +1 -1
- package/dist/app/assets/{PzModal.stories-D2Ix-15K.js → PzModal.stories-Bz9rN_Bk.js} +1 -1
- package/dist/app/assets/{PzMultiSelect.stories-ZraFVUKD.js → PzMultiSelect.stories-C6RrYe_m.js} +1 -1
- package/dist/app/assets/{PzNav.stories-G7KKxcZ2.js → PzNav.stories-B1UW2NeF.js} +1 -1
- package/dist/app/assets/{PzNumberFormat.stories-Cbj23Stp.js → PzNumberFormat.stories-Bzy6pqy8.js} +1 -1
- package/dist/app/assets/{PzPagination-DoBWX1Bo.js → PzPagination-64Zqms6p.js} +1 -1
- package/dist/app/assets/{PzPagination.stories-Cebi1pnM.js → PzPagination.stories-m4xmQWk_.js} +1 -1
- package/dist/app/assets/{PzPriceFormat.stories-BUxyBQoC.js → PzPriceFormat.stories-C1oI44R1.js} +1 -1
- package/dist/app/assets/{PzRadioGroup.stories-BniR4fVs.js → PzRadioGroup.stories-8BnKXSiz.js} +1 -1
- package/dist/app/assets/{PzRouterLink.stories-DXaqIXWs.js → PzRouterLink.stories-DZBqUeZO.js} +1 -1
- package/dist/app/assets/{PzScrollTo.stories-Ck6gWxiu.js → PzScrollTo.stories-BiKgHmHx.js} +1 -1
- package/dist/app/assets/{PzSearchResultItemLayout.stories-BUAZX2y1.js → PzSearchResultItemLayout.stories-tzfIkApC.js} +1 -1
- package/dist/app/assets/{PzSelect-CuDRkOrL.js → PzSelect-8HoFvfgg.js} +1 -1
- package/dist/app/assets/{PzSelect.stories-BB855vvD.js → PzSelect.stories-V_R6IELU.js} +1 -1
- package/dist/app/assets/{PzSkeleton-Cniu9lo6.js → PzSkeleton-BZ2PdJaY.js} +1 -1
- package/dist/app/assets/{PzSkeleton.stories-B2Am1ZYO.js → PzSkeleton.stories-gkc0hqvG.js} +1 -1
- package/dist/app/assets/{PzStatus-C3v_r0Oj.js → PzStatus-HQirNlkP.js} +1 -1
- package/dist/app/assets/{PzStatus.stories-mQSY87YP.js → PzStatus.stories-Cny2cCre.js} +1 -1
- package/dist/app/assets/{PzTable-Bwa8_IhX.js → PzTable-DhCHEj75.js} +1 -1
- package/dist/app/assets/{PzTable.stories-95TCj8y6.js → PzTable.stories-DGe1cVdK.js} +1 -1
- package/dist/app/assets/{PzTabs.stories-n-w_IPjO.js → PzTabs.stories-Dcmpgvvz.js} +1 -1
- package/dist/app/assets/{PzTag-DkreR1ah.js → PzTag-BewNXH-3.js} +1 -1
- package/dist/app/assets/{PzTag.stories-B3pQ3jt7.js → PzTag.stories-p43OTaSD.js} +1 -1
- package/dist/app/assets/{PzText-REfIJddB.js → PzText-CUyxiENy.js} +1 -1
- package/dist/app/assets/{PzText.stories-735Z3n9m.js → PzText.stories-CQOCvrVB.js} +1 -1
- package/dist/app/assets/{PzTextClamp.stories-DeNGHabI.js → PzTextClamp.stories-CbEPAEnK.js} +1 -1
- package/dist/app/assets/{PzTextarea.stories-CnHN5KKO.js → PzTextarea.stories-COr1Xu_M.js} +1 -1
- package/dist/app/assets/{PzValidatorXSS.stories-BwMdWW4N.js → PzValidatorXSS.stories-pzhUMBPc.js} +1 -1
- package/dist/app/assets/{Spacing.stories-DDQc5HL2.js → Spacing.stories-DZ5uSIKi.js} +1 -1
- package/dist/app/assets/{Typography.stories-DvalSfqI.js → Typography.stories-CuQV1Rli.js} +1 -1
- package/dist/app/assets/{WithTooltip-65CFNBJE-DkkeYwH0.js → WithTooltip-65CFNBJE-DWjyIDqC.js} +1 -1
- package/dist/app/assets/{floating-vue-Bvgx7aQ5.js → floating-vue-DW-LDDfy.js} +1 -1
- package/dist/app/assets/{floating-vue-BNQ4rNf7.js → floating-vue-vcYqNIEs.js} +1 -1
- package/dist/app/assets/{formatter-EIJCOSYU-DcIAKjRL.js → formatter-EIJCOSYU-CYaJiluP.js} +1 -1
- package/dist/app/assets/{iframe-BfW4-zQw.js → iframe-CpzqL6zW.js} +3 -3
- package/dist/app/assets/iframe-Cq0zFDNe.css +1 -0
- package/dist/app/assets/{index-02P5Hwc1.js → index-CWybat0Z.js} +1 -1
- package/dist/app/assets/{syntaxhighlighter-OH4MV7E3-Ceel2kqU.js → syntaxhighlighter-OH4MV7E3-CugE9DiU.js} +1 -1
- package/dist/app/assets/{text-clamp.esm-BHxuNfNm.js → text-clamp.esm-BHtvX3pg.js} +1 -1
- package/dist/app/iframe.html +2 -2
- package/dist/app/project.json +1 -1
- package/dist/package.json +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/styles/{_grid.scss → base/_grid.scss} +1 -1
- package/src/styles/{_spacing.scss → base/_spacing.scss} +7 -7
- package/src/styles/main.scss +4 -4
- package/dist/app/assets/iframe-4qk0Ss25.css +0 -1
- /package/src/styles/{_colors.scss → base/_colors.scss} +0 -0
- /package/src/styles/{_reset.scss → base/_reset.scss} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as He,M as Rt,N as Dt,O as re,o as W,B as be,D as we,z as ct,f as Ee,e as ae,t as Lt,J as ht,d as Se,k as J,F as Bt,l as ye,y as Ve,n as Oe,P as Mt,m as Et,Q as Ft,S as It,T as Wt,U as jt,V as Vt}from"./iframe-BfW4-zQw.js";const qt=["top","right","bottom","left"],qe=["start","end"],Ge=qt.reduce((e,t)=>e.concat(t,t+"-"+qe[0],t+"-"+qe[1]),[]),le=Math.min,Z=Math.max,Gt={left:"right",right:"left",bottom:"top",top:"bottom"};function Re(e,t,o){return Z(e,le(t,o))}function ee(e,t){return typeof e=="function"?e(t):e}function E(e){return e.split("-")[0]}function R(e){return e.split("-")[1]}function ut(e){return e==="x"?"y":"x"}function Fe(e){return e==="y"?"height":"width"}function I(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Ie(e){return ut(I(e))}function ft(e,t,o){o===void 0&&(o=!1);const i=R(e),n=Ie(e),s=Fe(n);let r=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=$e(r)),[r,$e(r)]}function Ut(e){const t=$e(e);return[ve(e),t,ve(t)]}function ve(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Ue=["left","right"],Ye=["right","left"],Yt=["top","bottom"],Xt=["bottom","top"];function Kt(e,t,o){switch(e){case"top":case"bottom":return o?t?Ye:Ue:t?Ue:Ye;case"left":case"right":return t?Yt:Xt;default:return[]}}function Qt(e,t,o,i){const n=R(e);let s=Kt(E(e),o==="start",i);return n&&(s=s.map(r=>r+"-"+n),t&&(s=s.concat(s.map(ve)))),s}function $e(e){const t=E(e);return Gt[t]+e.slice(t.length)}function Zt(e){return{top:0,right:0,bottom:0,left:0,...e}}function mt(e){return typeof e!="number"?Zt(e):{top:e,right:e,bottom:e,left:e}}function oe(e){const{x:t,y:o,width:i,height:n}=e;return{width:i,height:n,top:o,left:t,right:t+i,bottom:o+n,x:t,y:o}}function Xe(e,t,o){let{reference:i,floating:n}=e;const s=I(t),r=Ie(t),a=Fe(r),l=E(t),d=s==="y",c=i.x+i.width/2-n.width/2,p=i.y+i.height/2-n.height/2,h=i[a]/2-n[a]/2;let u;switch(l){case"top":u={x:c,y:i.y-n.height};break;case"bottom":u={x:c,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:p};break;case"left":u={x:i.x-n.width,y:p};break;default:u={x:i.x,y:i.y}}switch(R(t)){case"start":u[r]-=h*(o&&d?-1:1);break;case"end":u[r]+=h*(o&&d?-1:1);break}return u}async function Jt(e,t){var o;t===void 0&&(t={});const{x:i,y:n,platform:s,rects:r,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=ee(t,e),f=mt(u),w=a[h?p==="floating"?"reference":"floating":p],g=oe(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(w)))==null||o?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:c,strategy:l})),y=p==="floating"?{x:i,y:n,width:r.floating.width,height:r.floating.height}:r.reference,$=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),x=await(s.isElement==null?void 0:s.isElement($))?await(s.getScale==null?void 0:s.getScale($))||{x:1,y:1}:{x:1,y:1},S=oe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:$,strategy:l}):y);return{top:(g.top-S.top+f.top)/x.y,bottom:(S.bottom-g.bottom+f.bottom)/x.y,left:(g.left-S.left+f.left)/x.x,right:(S.right-g.right+f.right)/x.x}}const eo=50,to=async(e,t,o)=>{const{placement:i="bottom",strategy:n="absolute",middleware:s=[],platform:r}=o,a=r.detectOverflow?r:{...r,detectOverflow:Jt},l=await(r.isRTL==null?void 0:r.isRTL(t));let d=await r.getElementRects({reference:e,floating:t,strategy:n}),{x:c,y:p}=Xe(d,i,l),h=i,u=0;const f={};for(let m=0;m<s.length;m++){const w=s[m];if(!w)continue;const{name:g,fn:y}=w,{x:$,y:x,data:S,reset:b}=await y({x:c,y:p,initialPlacement:i,placement:h,strategy:n,middlewareData:f,rects:d,platform:a,elements:{reference:e,floating:t}});c=$??c,p=x??p,f[g]={...f[g],...S},b&&u<eo&&(u++,typeof b=="object"&&(b.placement&&(h=b.placement),b.rects&&(d=b.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:n}):b.rects),{x:c,y:p}=Xe(d,h,l)),m=-1)}return{x:c,y:p,placement:h,strategy:n,middlewareData:f}},oo=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:i,placement:n,rects:s,platform:r,elements:a,middlewareData:l}=t,{element:d,padding:c=0}=ee(e,t)||{};if(d==null)return{};const p=mt(c),h={x:o,y:i},u=Ie(n),f=Fe(u),m=await r.getDimensions(d),w=u==="y",g=w?"top":"left",y=w?"bottom":"right",$=w?"clientHeight":"clientWidth",x=s.reference[f]+s.reference[u]-h[u]-s.floating[f],S=h[u]-s.reference[u],b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(d));let P=b?b[$]:0;(!P||!await(r.isElement==null?void 0:r.isElement(b)))&&(P=a.floating[$]||s.floating[f]);const D=x/2-S/2,C=P/2-m[f]/2-1,_=le(p[g],C),A=le(p[y],C),O=_,L=P-m[f]-A,T=P/2-m[f]/2+D,K=Re(O,T,L),F=!l.arrow&&R(n)!=null&&T!==K&&s.reference[f]/2-(T<O?_:A)-m[f]/2<0,N=F?T<O?T-O:T-L:0;return{[u]:h[u]+N,data:{[u]:K,centerOffset:T-K-N,...F&&{alignmentOffset:N}},reset:F}}});function io(e,t,o){return(e?[...o.filter(n=>R(n)===e),...o.filter(n=>R(n)!==e)]:o.filter(n=>E(n)===n)).filter(n=>e?R(n)===e||(t?ve(n)!==n:!1):!0)}const no=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,i,n;const{rects:s,middlewareData:r,placement:a,platform:l,elements:d}=t,{crossAxis:c=!1,alignment:p,allowedPlacements:h=Ge,autoAlignment:u=!0,...f}=ee(e,t),m=p!==void 0||h===Ge?io(p||null,u,h):h,w=await l.detectOverflow(t,f),g=((o=r.autoPlacement)==null?void 0:o.index)||0,y=m[g];if(y==null)return{};const $=ft(y,s,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(a!==y)return{reset:{placement:m[0]}};const x=[w[E(y)],w[$[0]],w[$[1]]],S=[...((i=r.autoPlacement)==null?void 0:i.overflows)||[],{placement:y,overflows:x}],b=m[g+1];if(b)return{data:{index:g+1,overflows:S},reset:{placement:b}};const P=S.map(_=>{const A=R(_.placement);return[_.placement,A&&c?_.overflows.slice(0,2).reduce((O,L)=>O+L,0):_.overflows[0],_.overflows]}).sort((_,A)=>_[1]-A[1]),C=((n=P.filter(_=>_[2].slice(0,R(_[0])?2:3).every(A=>A<=0))[0])==null?void 0:n[0])||P[0][0];return C!==a?{data:{index:g+1,overflows:S},reset:{placement:C}}:{}}}},so=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,i;const{placement:n,middlewareData:s,rects:r,initialPlacement:a,platform:l,elements:d}=t,{mainAxis:c=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...w}=ee(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const g=E(n),y=I(a),$=E(a)===a,x=await(l.isRTL==null?void 0:l.isRTL(d.floating)),S=h||($||!m?[$e(a)]:Ut(a)),b=f!=="none";!h&&b&&S.push(...Qt(a,m,f,x));const P=[a,...S],D=await l.detectOverflow(t,w),C=[];let _=((i=s.flip)==null?void 0:i.overflows)||[];if(c&&C.push(D[g]),p){const T=ft(n,r,x);C.push(D[T[0]],D[T[1]])}if(_=[..._,{placement:n,overflows:C}],!C.every(T=>T<=0)){var A,O;const T=(((A=s.flip)==null?void 0:A.index)||0)+1,K=P[T];if(K&&(!(p==="alignment"?y!==I(K):!1)||_.every(k=>I(k.placement)===y?k.overflows[0]>0:!0)))return{data:{index:T,overflows:_},reset:{placement:K}};let F=(O=_.filter(N=>N.overflows[0]<=0).sort((N,k)=>N.overflows[1]-k.overflows[1])[0])==null?void 0:O.placement;if(!F)switch(u){case"bestFit":{var L;const N=(L=_.filter(k=>{if(b){const j=I(k.placement);return j===y||j==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(j=>j>0).reduce((j,Ht)=>j+Ht,0)]).sort((k,j)=>k[1]-j[1])[0])==null?void 0:L[0];N&&(F=N);break}case"initialPlacement":F=a;break}if(n!==F)return{reset:{placement:F}}}return{}}}},ro=new Set(["left","top"]);async function ao(e,t){const{placement:o,platform:i,elements:n}=e,s=await(i.isRTL==null?void 0:i.isRTL(n.floating)),r=E(o),a=R(o),l=I(o)==="y",d=ro.has(r)?-1:1,c=s&&l?-1:1,p=ee(t,e);let{mainAxis:h,crossAxis:u,alignmentAxis:f}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&typeof f=="number"&&(u=a==="end"?f*-1:f),l?{x:u*c,y:h*d}:{x:h*d,y:u*c}}const lo=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,i;const{x:n,y:s,placement:r,middlewareData:a}=t,l=await ao(t,e);return r===((o=a.offset)==null?void 0:o.placement)&&(i=a.arrow)!=null&&i.alignmentOffset?{}:{x:n+l.x,y:s+l.y,data:{...l,placement:r}}}}},po=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:i,placement:n,platform:s}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:g=>{let{x:y,y:$}=g;return{x:y,y:$}}},...d}=ee(e,t),c={x:o,y:i},p=await s.detectOverflow(t,d),h=I(E(n)),u=ut(h);let f=c[u],m=c[h];if(r){const g=u==="y"?"top":"left",y=u==="y"?"bottom":"right",$=f+p[g],x=f-p[y];f=Re($,f,x)}if(a){const g=h==="y"?"top":"left",y=h==="y"?"bottom":"right",$=m+p[g],x=m-p[y];m=Re($,m,x)}const w=l.fn({...t,[u]:f,[h]:m});return{...w,data:{x:w.x-o,y:w.y-i,enabled:{[u]:r,[h]:a}}}}}},co=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var o,i;const{placement:n,rects:s,platform:r,elements:a}=t,{apply:l=()=>{},...d}=ee(e,t),c=await r.detectOverflow(t,d),p=E(n),h=R(n),u=I(n)==="y",{width:f,height:m}=s.floating;let w,g;p==="top"||p==="bottom"?(w=p,g=h===(await(r.isRTL==null?void 0:r.isRTL(a.floating))?"start":"end")?"left":"right"):(g=p,w=h==="end"?"top":"bottom");const y=m-c.top-c.bottom,$=f-c.left-c.right,x=le(m-c[w],y),S=le(f-c[g],$),b=!t.middlewareData.shift;let P=x,D=S;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(D=$),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(P=y),b&&!h){const _=Z(c.left,0),A=Z(c.right,0),O=Z(c.top,0),L=Z(c.bottom,0);u?D=f-2*(_!==0||A!==0?_+A:Z(c.left,c.right)):P=m-2*(O!==0||L!==0?O+L:Z(c.top,c.bottom))}await l({...t,availableWidth:D,availableHeight:P});const C=await r.getDimensions(a.floating);return f!==C.width||m!==C.height?{reset:{rects:!0}}:{}}}};function z(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function B(e){return z(e).getComputedStyle(e)}const Ke=Math.min,ie=Math.max,xe=Math.round;function gt(e){const t=B(e);let o=parseFloat(t.width),i=parseFloat(t.height);const n=e.offsetWidth,s=e.offsetHeight,r=xe(o)!==n||xe(i)!==s;return r&&(o=n,i=s),{width:o,height:i,fallback:r}}function X(e){return yt(e)?(e.nodeName||"").toLowerCase():""}let fe;function wt(){if(fe)return fe;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(fe=e.brands.map(t=>t.brand+"/"+t.version).join(" "),fe):navigator.userAgent}function M(e){return e instanceof z(e).HTMLElement}function G(e){return e instanceof z(e).Element}function yt(e){return e instanceof z(e).Node}function Qe(e){return typeof ShadowRoot>"u"?!1:e instanceof z(e).ShadowRoot||e instanceof ShadowRoot}function Te(e){const{overflow:t,overflowX:o,overflowY:i,display:n}=B(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&!["inline","contents"].includes(n)}function ho(e){return["table","td","th"].includes(X(e))}function De(e){const t=/firefox/i.test(wt()),o=B(e),i=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||!!i&&i!=="none"||t&&o.willChange==="filter"||t&&!!o.filter&&o.filter!=="none"||["transform","perspective"].some(n=>o.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const s=o.contain;return s!=null&&s.includes(n)})}function vt(){return!/^((?!chrome|android).)*safari/i.test(wt())}function We(e){return["html","body","#document"].includes(X(e))}function $t(e){return G(e)?e:e.contextElement}const xt={x:1,y:1};function te(e){const t=$t(e);if(!M(t))return xt;const o=t.getBoundingClientRect(),{width:i,height:n,fallback:s}=gt(t);let r=(s?xe(o.width):o.width)/i,a=(s?xe(o.height):o.height)/n;return r&&Number.isFinite(r)||(r=1),a&&Number.isFinite(a)||(a=1),{x:r,y:a}}function de(e,t,o,i){var n,s;t===void 0&&(t=!1),o===void 0&&(o=!1);const r=e.getBoundingClientRect(),a=$t(e);let l=xt;t&&(i?G(i)&&(l=te(i)):l=te(e));const d=a?z(a):window,c=!vt()&&o;let p=(r.left+(c&&((n=d.visualViewport)==null?void 0:n.offsetLeft)||0))/l.x,h=(r.top+(c&&((s=d.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,u=r.width/l.x,f=r.height/l.y;if(a){const m=z(a),w=i&&G(i)?z(i):i;let g=m.frameElement;for(;g&&i&&w!==m;){const y=te(g),$=g.getBoundingClientRect(),x=getComputedStyle(g);$.x+=(g.clientLeft+parseFloat(x.paddingLeft))*y.x,$.y+=(g.clientTop+parseFloat(x.paddingTop))*y.y,p*=y.x,h*=y.y,u*=y.x,f*=y.y,p+=$.x,h+=$.y,g=z(g).frameElement}}return{width:u,height:f,top:h,right:p+u,bottom:h+f,left:p,x:p,y:h}}function U(e){return((yt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pe(e){return G(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _t(e){return de(U(e)).left+Pe(e).scrollLeft}function pe(e){if(X(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Qe(e)&&e.host||U(e);return Qe(t)?t.host:t}function bt(e){const t=pe(e);return We(t)?t.ownerDocument.body:M(t)&&Te(t)?t:bt(t)}function _e(e,t){var o;t===void 0&&(t=[]);const i=bt(e),n=i===((o=e.ownerDocument)==null?void 0:o.body),s=z(i);return n?t.concat(s,s.visualViewport||[],Te(i)?i:[]):t.concat(i,_e(i))}function Ze(e,t,o){return t==="viewport"?oe(function(i,n){const s=z(i),r=U(i),a=s.visualViewport;let l=r.clientWidth,d=r.clientHeight,c=0,p=0;if(a){l=a.width,d=a.height;const h=vt();(h||!h&&n==="fixed")&&(c=a.offsetLeft,p=a.offsetTop)}return{width:l,height:d,x:c,y:p}}(e,o)):G(t)?oe(function(i,n){const s=de(i,!0,n==="fixed"),r=s.top+i.clientTop,a=s.left+i.clientLeft,l=M(i)?te(i):{x:1,y:1};return{width:i.clientWidth*l.x,height:i.clientHeight*l.y,x:a*l.x,y:r*l.y}}(t,o)):oe(function(i){const n=U(i),s=Pe(i),r=i.ownerDocument.body,a=ie(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),l=ie(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let d=-s.scrollLeft+_t(i);const c=-s.scrollTop;return B(r).direction==="rtl"&&(d+=ie(n.clientWidth,r.clientWidth)-a),{width:a,height:l,x:d,y:c}}(U(e)))}function Je(e){return M(e)&&B(e).position!=="fixed"?e.offsetParent:null}function et(e){const t=z(e);let o=Je(e);for(;o&&ho(o)&&B(o).position==="static";)o=Je(o);return o&&(X(o)==="html"||X(o)==="body"&&B(o).position==="static"&&!De(o))?t:o||function(i){let n=pe(i);for(;M(n)&&!We(n);){if(De(n))return n;n=pe(n)}return null}(e)||t}function uo(e,t,o){const i=M(t),n=U(t),s=de(e,!0,o==="fixed",t);let r={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(i||!i&&o!=="fixed")if((X(t)!=="body"||Te(n))&&(r=Pe(t)),M(t)){const l=de(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else n&&(a.x=_t(n));return{x:s.left+r.scrollLeft-a.x,y:s.top+r.scrollTop-a.y,width:s.width,height:s.height}}const fo={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:i,strategy:n}=e;const s=o==="clippingAncestors"?function(d,c){const p=c.get(d);if(p)return p;let h=_e(d).filter(w=>G(w)&&X(w)!=="body"),u=null;const f=B(d).position==="fixed";let m=f?pe(d):d;for(;G(m)&&!We(m);){const w=B(m),g=De(m);(f?g||u:g||w.position!=="static"||!u||!["absolute","fixed"].includes(u.position))?u=w:h=h.filter(y=>y!==m),m=pe(m)}return c.set(d,h),h}(t,this._c):[].concat(o),r=[...s,i],a=r[0],l=r.reduce((d,c)=>{const p=Ze(t,c,n);return d.top=ie(p.top,d.top),d.right=Ke(p.right,d.right),d.bottom=Ke(p.bottom,d.bottom),d.left=ie(p.left,d.left),d},Ze(t,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:i}=e;const n=M(o),s=U(o);if(o===s)return t;let r={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((n||!n&&i!=="fixed")&&((X(o)!=="body"||Te(s))&&(r=Pe(o)),M(o))){const d=de(o);a=te(o),l.x=d.x+o.clientLeft,l.y=d.y+o.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-r.scrollLeft*a.x+l.x,y:t.y*a.y-r.scrollTop*a.y+l.y}},isElement:G,getDimensions:function(e){return M(e)?gt(e):e.getBoundingClientRect()},getOffsetParent:et,getDocumentElement:U,getScale:te,async getElementRects(e){let{reference:t,floating:o,strategy:i}=e;const n=this.getOffsetParent||et,s=this.getDimensions;return{reference:uo(t,await n(o),i),floating:{x:0,y:0,...await s(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>B(e).direction==="rtl"},mo=(e,t,o)=>{const i=new Map,n={platform:fo,...o},s={...n.platform,_c:i};return to(e,t,{...n,platform:s})},Y={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ce(e,t){let o=Y.themes[e]||{},i;do i=o[t],typeof i>"u"?o.$extend?o=Y.themes[o.$extend]||{}:(o=null,i=Y[t]):o=null;while(o);return i}function go(e){const t=[e];let o=Y.themes[e]||{};do o.$extend&&!o.$resetCss?(t.push(o.$extend),o=Y.themes[o.$extend]||{}):o=null;while(o);return t.map(i=>`v-popper--theme-${i}`)}function tt(e){const t=[e];let o=Y.themes[e]||{};do o.$extend?(t.push(o.$extend),o=Y.themes[o.$extend]||{}):o=null;while(o);return t}let he=!1;if(typeof window<"u"){he=!1;try{const e=Object.defineProperty({},"passive",{get(){he=!0}});window.addEventListener("test",null,e)}catch{}}let St=!1;typeof window<"u"&&typeof navigator<"u"&&(St=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Tt=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),ot={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},it={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function nt(e,t){const o=e.indexOf(t);o!==-1&&e.splice(o,1)}function ze(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const H=[];let Q=null;const st={};function rt(e){let t=st[e];return t||(t=st[e]=[]),t}let Le=function(){};typeof window<"u"&&(Le=window.Element);function v(e){return function(t){return ce(t.theme,e)}}const Ne="__floating-vue__popper",Pt=()=>Se({name:"VPopper",provide(){return{[Ne]:{parentPopper:this}}},inject:{[Ne]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:v("disabled")},positioningDisabled:{type:Boolean,default:v("positioningDisabled")},placement:{type:String,default:v("placement"),validator:e=>Tt.includes(e)},delay:{type:[String,Number,Object],default:v("delay")},distance:{type:[Number,String],default:v("distance")},skidding:{type:[Number,String],default:v("skidding")},triggers:{type:Array,default:v("triggers")},showTriggers:{type:[Array,Function],default:v("showTriggers")},hideTriggers:{type:[Array,Function],default:v("hideTriggers")},popperTriggers:{type:Array,default:v("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:v("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:v("popperHideTriggers")},container:{type:[String,Object,Le,Boolean],default:v("container")},boundary:{type:[String,Le],default:v("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:v("strategy")},autoHide:{type:[Boolean,Function],default:v("autoHide")},handleResize:{type:Boolean,default:v("handleResize")},instantMove:{type:Boolean,default:v("instantMove")},eagerMount:{type:Boolean,default:v("eagerMount")},popperClass:{type:[String,Array,Object],default:v("popperClass")},computeTransformOrigin:{type:Boolean,default:v("computeTransformOrigin")},autoMinSize:{type:Boolean,default:v("autoMinSize")},autoSize:{type:[Boolean,String],default:v("autoSize")},autoMaxSize:{type:Boolean,default:v("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:v("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:v("preventOverflow")},overflowPadding:{type:[Number,String],default:v("overflowPadding")},arrowPadding:{type:[Number,String],default:v("arrowPadding")},arrowOverflow:{type:Boolean,default:v("arrowOverflow")},flip:{type:Boolean,default:v("flip")},shift:{type:Boolean,default:v("shift")},shiftCrossAxis:{type:Boolean,default:v("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:v("noAutoFocus")},disposeTimeout:{type:Number,default:v("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ne])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:o=!1}={}){var i,n;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(o||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(lo({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(no({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(po({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(so({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(oo({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:n,middlewareData:s})=>{let r;const{centerOffset:a}=s.arrow;return i.startsWith("top")||i.startsWith("bottom")?r=Math.abs(a)>n.reference.width/2:r=Math.abs(a)>n.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:s,middlewareData:r})=>{var a;if((a=r.autoSize)!=null&&a.skip)return{};let l,d;return s.startsWith("top")||s.startsWith("bottom")?l=n.reference.width:d=n.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(co({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:n})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const o=await mo(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Q&&this.instantMove&&Q.instantMove&&Q!==this.parentPopper){Q.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Q=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ze(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([..._e(this.$_referenceNode),..._e(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),i=o.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(i.left+o.offsetLeft),s=t.y+t.height/2-(i.top+o.offsetTop);this.result.transformOrigin=`${n}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let o=0;o<H.length;o++)t=H[o],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}H.push(this),document.body.classList.add("v-popper--some-open");for(const t of tt(this.theme))rt(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await ze(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,nt(H,this),H.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of tt(this.theme)){const i=rt(o);nt(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}Q===this&&(Q=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ze(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,ot,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],ot,this.popperTriggers,this.popperShowTriggers,e);const t=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,it,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],it,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,o){this.$_events.push({targetNodes:e,eventType:t,handler:o}),e.forEach(i=>i.addEventListener(t,o,he?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,o,i,n){let s=o;i!=null&&(s=typeof i=="function"?i(s):i),s.forEach(r=>{const a=t[r];a&&this.$_registerEventListeners(e,a,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(o=>{const{targetNodes:i,eventType:n,handler:s}=o;!e||e===n?i.forEach(r=>r.removeEventListener(n,s)):t.push(o)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const o of this.$_targetNodes){const i=o.getAttribute(e);i&&(o.removeAttribute(e),o.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const o in e){const i=e[o];i==null?t.removeAttribute(o):t.setAttribute(o,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(ne>=e.left&&ne<=e.right&&se>=e.top&&se<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),o=ne-V,i=se-q,n=t.left+t.width/2-V+(t.top+t.height/2)-q+t.width+t.height,s=V+o*n,r=q+i*n;return me(V,q,s,r,t.left,t.top,t.left,t.bottom)||me(V,q,s,r,t.left,t.top,t.right,t.top)||me(V,q,s,r,t.right,t.top,t.right,t.bottom)||me(V,q,s,r,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(St){const e=he?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>at(t),e),document.addEventListener("touchend",t=>lt(t,!0),e)}else window.addEventListener("mousedown",e=>at(e),!0),window.addEventListener("click",e=>lt(e,!1),!0);window.addEventListener("resize",vo)}function at(e,t){for(let o=0;o<H.length;o++){const i=H[o];try{i.mouseDownContains=i.popperNode().contains(e.target)}catch{}}}function lt(e,t){wo(e,t)}function wo(e,t){const o={};for(let i=H.length-1;i>=0;i--){const n=H[i];try{const s=n.containsGlobalTarget=n.mouseDownContains||n.popperNode().contains(e.target);n.pendingHide=!1,requestAnimationFrame(()=>{if(n.pendingHide=!1,!o[n.randomId]&&dt(n,s,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=n.parentPopper;for(;a;)o[a.randomId]=!0,a=a.parentPopper;return}let r=n.parentPopper;for(;r&&dt(r,r.containsGlobalTarget,e);)r.$_handleGlobalClose(e,t),r=r.parentPopper}})}catch{}}}function dt(e,t,o){return o.closeAllPopover||o.closePopover&&t||yo(e,o)&&!t}function yo(e,t){if(typeof e.autoHide=="function"){const o=e.autoHide(t);return e.lastAutoHide=o,o}return e.autoHide}function vo(){for(let e=0;e<H.length;e++)H[e].$_computePosition()}let V=0,q=0,ne=0,se=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{V=ne,q=se,ne=e.clientX,se=e.clientY},he?{passive:!0}:void 0);function me(e,t,o,i,n,s,r,a){const l=((r-n)*(t-s)-(a-s)*(e-n))/((a-s)*(o-e)-(r-n)*(i-t)),d=((o-e)*(t-s)-(i-t)*(e-n))/((a-s)*(o-e)-(r-n)*(i-t));return l>=0&&l<=1&&d>=0&&d<=1}const $o={extends:Pt()},Ae=(e,t)=>{const o=e.__vccOpts||e;for(const[i,n]of t)o[i]=n;return o};function xo(e,t,o,i,n,s){return W(),ae("div",{ref:"reference",class:Ee(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[ye(e.$slots,"default",jt(Vt(e.slotData)))],2)}const _o=Ae($o,[["render",xo]]);function bo(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var o=e.indexOf("Trident/");if(o>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let ge;function Be(){Be.init||(Be.init=!0,ge=bo()!==-1)}var Ce={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Be(),Et(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ge&&this.$el.appendChild(e),e.data="about:blank",ge||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ge&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const So=Wt();Ft("data-v-b329ee4c");const To={class:"resize-observer",tabindex:"-1"};It();const Po=So((e,t,o,i,n,s)=>(W(),be("div",To)));Ce.render=Po;Ce.__scopeId="data-v-b329ee4c";Ce.__file="src/components/ResizeObserver.vue";const At=(e="theme")=>({computed:{themeClass(){return go(this[e])}}}),Ao=Se({name:"VPopperContent",components:{ResizeObserver:Ce},mixins:[At()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Co=["id","aria-hidden","tabindex","data-popper-placement"],Oo={ref:"inner",class:"v-popper__inner"},zo=J("div",{class:"v-popper__arrow-outer"},null,-1),No=J("div",{class:"v-popper__arrow-inner"},null,-1),ko=[zo,No];function Ho(e,t,o,i,n,s){const r=re("ResizeObserver");return W(),ae("div",{id:e.popperId,ref:"popover",class:Ee(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Oe(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Mt(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[J("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),J("div",{class:"v-popper__wrapper",style:Oe(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[J("div",Oo,[e.mounted?(W(),ae(Bt,{key:0},[J("div",null,[ye(e.$slots,"default")]),e.handleResize?(W(),be(r,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ve("",!0)],64)):Ve("",!0)],512),J("div",{ref:"arrow",class:"v-popper__arrow-container",style:Oe(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},ko,4)],4)],46,Co)}const Ct=Ae(Ao,[["render",Ho]]),Ot={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Me=function(){};typeof window<"u"&&(Me=window.Element);const Ro=Se({name:"VPopperWrapper",components:{Popper:_o,PopperContent:Ct},mixins:[Ot,At("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Me,Boolean],default:void 0},boundary:{type:[String,Me],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Do(e,t,o,i,n,s){const r=re("PopperContent"),a=re("Popper");return W(),be(a,ht({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:we(({popperId:l,isShown:d,shouldMountContent:c,skipTransition:p,autoHide:h,show:u,hide:f,handleResize:m,onResize:w,classes:g,result:y})=>[ye(e.$slots,"default",{shown:d,show:u,hide:f}),ct(r,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:d,mounted:c,"skip-transition":p,"auto-hide":h,"handle-resize":m,classes:g,result:y,onHide:f,onResize:w},{default:we(()=>[ye(e.$slots,"popper",{shown:d,hide:f})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const je=Ae(Ro,[["render",Do]]),Lo={...je,name:"VDropdown",vPopperTheme:"dropdown"};({...je});const Bo={...je,name:"VTooltip",vPopperTheme:"tooltip"},Mo=Se({name:"VTooltipDirective",components:{Popper:Pt(),PopperContent:Ct},mixins:[Ot],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ce(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ce(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,o=this.content(this);o.then?o.then(i=>this.onResult(t,i)):this.onResult(t,o)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Eo=["innerHTML"],Fo=["textContent"];function Io(e,t,o,i,n,s){const r=re("PopperContent"),a=re("Popper");return W(),be(a,ht({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:we(({popperId:l,isShown:d,shouldMountContent:c,skipTransition:p,autoHide:h,hide:u,handleResize:f,onResize:m,classes:w,result:g})=>[ct(r,{ref:"popperContent",class:Ee({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:d,mounted:c,"skip-transition":p,"auto-hide":h,"handle-resize":f,classes:w,result:g,onHide:u,onResize:m},{default:we(()=>[e.html?(W(),ae("div",{key:0,innerHTML:e.finalContent},null,8,Eo)):(W(),ae("div",{key:1,textContent:Lt(e.finalContent)},null,8,Fo))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Wo=Ae(Mo,[["render",Io]]),zt="v-popper--has-tooltip";function jo(e,t){let o=e.placement;if(!o&&t)for(const i of Tt)t[i]&&(o=i);return o||(o=ce(e.theme||"tooltip","placement")),o}function Nt(e,t,o){let i;const n=typeof t;return n==="string"?i={content:t}:t&&n==="object"?i=t:i={content:!1},i.placement=jo(i,o),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let ke,ue,Vo=0;function qo(){if(ke)return;ue=He([]),ke=Rt({name:"VTooltipDirectiveApp",setup(){return{directives:ue}},render(){return this.directives.map(t=>Dt(Wo,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ke.mount(e)}function Go(e,t,o){qo();const i=He(Nt(e,t,o)),n=He(!1),s={id:Vo++,options:i,shown:n};return ue.value.push(s),e.classList&&e.classList.add(zt),e.$_popper={options:i,item:s,show(){n.value=!0},hide(){n.value=!1}}}function kt(e){if(e.$_popper){const t=ue.value.indexOf(e.$_popper.item);t!==-1&&ue.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(zt)}function pt(e,{value:t,modifiers:o}){const i=Nt(e,t,o);if(!i.content||ce(i.theme||"tooltip","disabled"))kt(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=i):n=Go(e,t,o),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?n.show():n.hide())}}const Uo={beforeMount:pt,updated:pt,beforeUnmount(e){kt(e)}},Xo=Y,Ko=Uo,Qo=Lo,Zo=Bo;export{Xo as H,Ko as O,Zo as V,Qo as k};
|
|
1
|
+
import{r as He,M as Rt,N as Dt,O as re,o as W,B as be,D as we,z as ct,f as Ee,e as ae,t as Lt,J as ht,d as Se,k as J,F as Bt,l as ye,y as Ve,n as Oe,P as Mt,m as Et,Q as Ft,S as It,T as Wt,U as jt,V as Vt}from"./iframe-CpzqL6zW.js";const qt=["top","right","bottom","left"],qe=["start","end"],Ge=qt.reduce((e,t)=>e.concat(t,t+"-"+qe[0],t+"-"+qe[1]),[]),le=Math.min,Z=Math.max,Gt={left:"right",right:"left",bottom:"top",top:"bottom"};function Re(e,t,o){return Z(e,le(t,o))}function ee(e,t){return typeof e=="function"?e(t):e}function E(e){return e.split("-")[0]}function R(e){return e.split("-")[1]}function ut(e){return e==="x"?"y":"x"}function Fe(e){return e==="y"?"height":"width"}function I(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Ie(e){return ut(I(e))}function ft(e,t,o){o===void 0&&(o=!1);const i=R(e),n=Ie(e),s=Fe(n);let r=n==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=$e(r)),[r,$e(r)]}function Ut(e){const t=$e(e);return[ve(e),t,ve(t)]}function ve(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Ue=["left","right"],Ye=["right","left"],Yt=["top","bottom"],Xt=["bottom","top"];function Kt(e,t,o){switch(e){case"top":case"bottom":return o?t?Ye:Ue:t?Ue:Ye;case"left":case"right":return t?Yt:Xt;default:return[]}}function Qt(e,t,o,i){const n=R(e);let s=Kt(E(e),o==="start",i);return n&&(s=s.map(r=>r+"-"+n),t&&(s=s.concat(s.map(ve)))),s}function $e(e){const t=E(e);return Gt[t]+e.slice(t.length)}function Zt(e){return{top:0,right:0,bottom:0,left:0,...e}}function mt(e){return typeof e!="number"?Zt(e):{top:e,right:e,bottom:e,left:e}}function oe(e){const{x:t,y:o,width:i,height:n}=e;return{width:i,height:n,top:o,left:t,right:t+i,bottom:o+n,x:t,y:o}}function Xe(e,t,o){let{reference:i,floating:n}=e;const s=I(t),r=Ie(t),a=Fe(r),l=E(t),d=s==="y",c=i.x+i.width/2-n.width/2,p=i.y+i.height/2-n.height/2,h=i[a]/2-n[a]/2;let u;switch(l){case"top":u={x:c,y:i.y-n.height};break;case"bottom":u={x:c,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:p};break;case"left":u={x:i.x-n.width,y:p};break;default:u={x:i.x,y:i.y}}switch(R(t)){case"start":u[r]-=h*(o&&d?-1:1);break;case"end":u[r]+=h*(o&&d?-1:1);break}return u}async function Jt(e,t){var o;t===void 0&&(t={});const{x:i,y:n,platform:s,rects:r,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=ee(t,e),f=mt(u),w=a[h?p==="floating"?"reference":"floating":p],g=oe(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(w)))==null||o?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:c,strategy:l})),y=p==="floating"?{x:i,y:n,width:r.floating.width,height:r.floating.height}:r.reference,$=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),x=await(s.isElement==null?void 0:s.isElement($))?await(s.getScale==null?void 0:s.getScale($))||{x:1,y:1}:{x:1,y:1},S=oe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:$,strategy:l}):y);return{top:(g.top-S.top+f.top)/x.y,bottom:(S.bottom-g.bottom+f.bottom)/x.y,left:(g.left-S.left+f.left)/x.x,right:(S.right-g.right+f.right)/x.x}}const eo=50,to=async(e,t,o)=>{const{placement:i="bottom",strategy:n="absolute",middleware:s=[],platform:r}=o,a=r.detectOverflow?r:{...r,detectOverflow:Jt},l=await(r.isRTL==null?void 0:r.isRTL(t));let d=await r.getElementRects({reference:e,floating:t,strategy:n}),{x:c,y:p}=Xe(d,i,l),h=i,u=0;const f={};for(let m=0;m<s.length;m++){const w=s[m];if(!w)continue;const{name:g,fn:y}=w,{x:$,y:x,data:S,reset:b}=await y({x:c,y:p,initialPlacement:i,placement:h,strategy:n,middlewareData:f,rects:d,platform:a,elements:{reference:e,floating:t}});c=$??c,p=x??p,f[g]={...f[g],...S},b&&u<eo&&(u++,typeof b=="object"&&(b.placement&&(h=b.placement),b.rects&&(d=b.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:n}):b.rects),{x:c,y:p}=Xe(d,h,l)),m=-1)}return{x:c,y:p,placement:h,strategy:n,middlewareData:f}},oo=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:i,placement:n,rects:s,platform:r,elements:a,middlewareData:l}=t,{element:d,padding:c=0}=ee(e,t)||{};if(d==null)return{};const p=mt(c),h={x:o,y:i},u=Ie(n),f=Fe(u),m=await r.getDimensions(d),w=u==="y",g=w?"top":"left",y=w?"bottom":"right",$=w?"clientHeight":"clientWidth",x=s.reference[f]+s.reference[u]-h[u]-s.floating[f],S=h[u]-s.reference[u],b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(d));let P=b?b[$]:0;(!P||!await(r.isElement==null?void 0:r.isElement(b)))&&(P=a.floating[$]||s.floating[f]);const D=x/2-S/2,C=P/2-m[f]/2-1,_=le(p[g],C),A=le(p[y],C),O=_,L=P-m[f]-A,T=P/2-m[f]/2+D,K=Re(O,T,L),F=!l.arrow&&R(n)!=null&&T!==K&&s.reference[f]/2-(T<O?_:A)-m[f]/2<0,N=F?T<O?T-O:T-L:0;return{[u]:h[u]+N,data:{[u]:K,centerOffset:T-K-N,...F&&{alignmentOffset:N}},reset:F}}});function io(e,t,o){return(e?[...o.filter(n=>R(n)===e),...o.filter(n=>R(n)!==e)]:o.filter(n=>E(n)===n)).filter(n=>e?R(n)===e||(t?ve(n)!==n:!1):!0)}const no=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,i,n;const{rects:s,middlewareData:r,placement:a,platform:l,elements:d}=t,{crossAxis:c=!1,alignment:p,allowedPlacements:h=Ge,autoAlignment:u=!0,...f}=ee(e,t),m=p!==void 0||h===Ge?io(p||null,u,h):h,w=await l.detectOverflow(t,f),g=((o=r.autoPlacement)==null?void 0:o.index)||0,y=m[g];if(y==null)return{};const $=ft(y,s,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(a!==y)return{reset:{placement:m[0]}};const x=[w[E(y)],w[$[0]],w[$[1]]],S=[...((i=r.autoPlacement)==null?void 0:i.overflows)||[],{placement:y,overflows:x}],b=m[g+1];if(b)return{data:{index:g+1,overflows:S},reset:{placement:b}};const P=S.map(_=>{const A=R(_.placement);return[_.placement,A&&c?_.overflows.slice(0,2).reduce((O,L)=>O+L,0):_.overflows[0],_.overflows]}).sort((_,A)=>_[1]-A[1]),C=((n=P.filter(_=>_[2].slice(0,R(_[0])?2:3).every(A=>A<=0))[0])==null?void 0:n[0])||P[0][0];return C!==a?{data:{index:g+1,overflows:S},reset:{placement:C}}:{}}}},so=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,i;const{placement:n,middlewareData:s,rects:r,initialPlacement:a,platform:l,elements:d}=t,{mainAxis:c=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...w}=ee(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const g=E(n),y=I(a),$=E(a)===a,x=await(l.isRTL==null?void 0:l.isRTL(d.floating)),S=h||($||!m?[$e(a)]:Ut(a)),b=f!=="none";!h&&b&&S.push(...Qt(a,m,f,x));const P=[a,...S],D=await l.detectOverflow(t,w),C=[];let _=((i=s.flip)==null?void 0:i.overflows)||[];if(c&&C.push(D[g]),p){const T=ft(n,r,x);C.push(D[T[0]],D[T[1]])}if(_=[..._,{placement:n,overflows:C}],!C.every(T=>T<=0)){var A,O;const T=(((A=s.flip)==null?void 0:A.index)||0)+1,K=P[T];if(K&&(!(p==="alignment"?y!==I(K):!1)||_.every(k=>I(k.placement)===y?k.overflows[0]>0:!0)))return{data:{index:T,overflows:_},reset:{placement:K}};let F=(O=_.filter(N=>N.overflows[0]<=0).sort((N,k)=>N.overflows[1]-k.overflows[1])[0])==null?void 0:O.placement;if(!F)switch(u){case"bestFit":{var L;const N=(L=_.filter(k=>{if(b){const j=I(k.placement);return j===y||j==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(j=>j>0).reduce((j,Ht)=>j+Ht,0)]).sort((k,j)=>k[1]-j[1])[0])==null?void 0:L[0];N&&(F=N);break}case"initialPlacement":F=a;break}if(n!==F)return{reset:{placement:F}}}return{}}}},ro=new Set(["left","top"]);async function ao(e,t){const{placement:o,platform:i,elements:n}=e,s=await(i.isRTL==null?void 0:i.isRTL(n.floating)),r=E(o),a=R(o),l=I(o)==="y",d=ro.has(r)?-1:1,c=s&&l?-1:1,p=ee(t,e);let{mainAxis:h,crossAxis:u,alignmentAxis:f}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&typeof f=="number"&&(u=a==="end"?f*-1:f),l?{x:u*c,y:h*d}:{x:h*d,y:u*c}}const lo=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,i;const{x:n,y:s,placement:r,middlewareData:a}=t,l=await ao(t,e);return r===((o=a.offset)==null?void 0:o.placement)&&(i=a.arrow)!=null&&i.alignmentOffset?{}:{x:n+l.x,y:s+l.y,data:{...l,placement:r}}}}},po=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:i,placement:n,platform:s}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:g=>{let{x:y,y:$}=g;return{x:y,y:$}}},...d}=ee(e,t),c={x:o,y:i},p=await s.detectOverflow(t,d),h=I(E(n)),u=ut(h);let f=c[u],m=c[h];if(r){const g=u==="y"?"top":"left",y=u==="y"?"bottom":"right",$=f+p[g],x=f-p[y];f=Re($,f,x)}if(a){const g=h==="y"?"top":"left",y=h==="y"?"bottom":"right",$=m+p[g],x=m-p[y];m=Re($,m,x)}const w=l.fn({...t,[u]:f,[h]:m});return{...w,data:{x:w.x-o,y:w.y-i,enabled:{[u]:r,[h]:a}}}}}},co=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var o,i;const{placement:n,rects:s,platform:r,elements:a}=t,{apply:l=()=>{},...d}=ee(e,t),c=await r.detectOverflow(t,d),p=E(n),h=R(n),u=I(n)==="y",{width:f,height:m}=s.floating;let w,g;p==="top"||p==="bottom"?(w=p,g=h===(await(r.isRTL==null?void 0:r.isRTL(a.floating))?"start":"end")?"left":"right"):(g=p,w=h==="end"?"top":"bottom");const y=m-c.top-c.bottom,$=f-c.left-c.right,x=le(m-c[w],y),S=le(f-c[g],$),b=!t.middlewareData.shift;let P=x,D=S;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(D=$),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(P=y),b&&!h){const _=Z(c.left,0),A=Z(c.right,0),O=Z(c.top,0),L=Z(c.bottom,0);u?D=f-2*(_!==0||A!==0?_+A:Z(c.left,c.right)):P=m-2*(O!==0||L!==0?O+L:Z(c.top,c.bottom))}await l({...t,availableWidth:D,availableHeight:P});const C=await r.getDimensions(a.floating);return f!==C.width||m!==C.height?{reset:{rects:!0}}:{}}}};function z(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function B(e){return z(e).getComputedStyle(e)}const Ke=Math.min,ie=Math.max,xe=Math.round;function gt(e){const t=B(e);let o=parseFloat(t.width),i=parseFloat(t.height);const n=e.offsetWidth,s=e.offsetHeight,r=xe(o)!==n||xe(i)!==s;return r&&(o=n,i=s),{width:o,height:i,fallback:r}}function X(e){return yt(e)?(e.nodeName||"").toLowerCase():""}let fe;function wt(){if(fe)return fe;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(fe=e.brands.map(t=>t.brand+"/"+t.version).join(" "),fe):navigator.userAgent}function M(e){return e instanceof z(e).HTMLElement}function G(e){return e instanceof z(e).Element}function yt(e){return e instanceof z(e).Node}function Qe(e){return typeof ShadowRoot>"u"?!1:e instanceof z(e).ShadowRoot||e instanceof ShadowRoot}function Te(e){const{overflow:t,overflowX:o,overflowY:i,display:n}=B(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&!["inline","contents"].includes(n)}function ho(e){return["table","td","th"].includes(X(e))}function De(e){const t=/firefox/i.test(wt()),o=B(e),i=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||!!i&&i!=="none"||t&&o.willChange==="filter"||t&&!!o.filter&&o.filter!=="none"||["transform","perspective"].some(n=>o.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const s=o.contain;return s!=null&&s.includes(n)})}function vt(){return!/^((?!chrome|android).)*safari/i.test(wt())}function We(e){return["html","body","#document"].includes(X(e))}function $t(e){return G(e)?e:e.contextElement}const xt={x:1,y:1};function te(e){const t=$t(e);if(!M(t))return xt;const o=t.getBoundingClientRect(),{width:i,height:n,fallback:s}=gt(t);let r=(s?xe(o.width):o.width)/i,a=(s?xe(o.height):o.height)/n;return r&&Number.isFinite(r)||(r=1),a&&Number.isFinite(a)||(a=1),{x:r,y:a}}function de(e,t,o,i){var n,s;t===void 0&&(t=!1),o===void 0&&(o=!1);const r=e.getBoundingClientRect(),a=$t(e);let l=xt;t&&(i?G(i)&&(l=te(i)):l=te(e));const d=a?z(a):window,c=!vt()&&o;let p=(r.left+(c&&((n=d.visualViewport)==null?void 0:n.offsetLeft)||0))/l.x,h=(r.top+(c&&((s=d.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,u=r.width/l.x,f=r.height/l.y;if(a){const m=z(a),w=i&&G(i)?z(i):i;let g=m.frameElement;for(;g&&i&&w!==m;){const y=te(g),$=g.getBoundingClientRect(),x=getComputedStyle(g);$.x+=(g.clientLeft+parseFloat(x.paddingLeft))*y.x,$.y+=(g.clientTop+parseFloat(x.paddingTop))*y.y,p*=y.x,h*=y.y,u*=y.x,f*=y.y,p+=$.x,h+=$.y,g=z(g).frameElement}}return{width:u,height:f,top:h,right:p+u,bottom:h+f,left:p,x:p,y:h}}function U(e){return((yt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pe(e){return G(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _t(e){return de(U(e)).left+Pe(e).scrollLeft}function pe(e){if(X(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Qe(e)&&e.host||U(e);return Qe(t)?t.host:t}function bt(e){const t=pe(e);return We(t)?t.ownerDocument.body:M(t)&&Te(t)?t:bt(t)}function _e(e,t){var o;t===void 0&&(t=[]);const i=bt(e),n=i===((o=e.ownerDocument)==null?void 0:o.body),s=z(i);return n?t.concat(s,s.visualViewport||[],Te(i)?i:[]):t.concat(i,_e(i))}function Ze(e,t,o){return t==="viewport"?oe(function(i,n){const s=z(i),r=U(i),a=s.visualViewport;let l=r.clientWidth,d=r.clientHeight,c=0,p=0;if(a){l=a.width,d=a.height;const h=vt();(h||!h&&n==="fixed")&&(c=a.offsetLeft,p=a.offsetTop)}return{width:l,height:d,x:c,y:p}}(e,o)):G(t)?oe(function(i,n){const s=de(i,!0,n==="fixed"),r=s.top+i.clientTop,a=s.left+i.clientLeft,l=M(i)?te(i):{x:1,y:1};return{width:i.clientWidth*l.x,height:i.clientHeight*l.y,x:a*l.x,y:r*l.y}}(t,o)):oe(function(i){const n=U(i),s=Pe(i),r=i.ownerDocument.body,a=ie(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),l=ie(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let d=-s.scrollLeft+_t(i);const c=-s.scrollTop;return B(r).direction==="rtl"&&(d+=ie(n.clientWidth,r.clientWidth)-a),{width:a,height:l,x:d,y:c}}(U(e)))}function Je(e){return M(e)&&B(e).position!=="fixed"?e.offsetParent:null}function et(e){const t=z(e);let o=Je(e);for(;o&&ho(o)&&B(o).position==="static";)o=Je(o);return o&&(X(o)==="html"||X(o)==="body"&&B(o).position==="static"&&!De(o))?t:o||function(i){let n=pe(i);for(;M(n)&&!We(n);){if(De(n))return n;n=pe(n)}return null}(e)||t}function uo(e,t,o){const i=M(t),n=U(t),s=de(e,!0,o==="fixed",t);let r={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(i||!i&&o!=="fixed")if((X(t)!=="body"||Te(n))&&(r=Pe(t)),M(t)){const l=de(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else n&&(a.x=_t(n));return{x:s.left+r.scrollLeft-a.x,y:s.top+r.scrollTop-a.y,width:s.width,height:s.height}}const fo={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:i,strategy:n}=e;const s=o==="clippingAncestors"?function(d,c){const p=c.get(d);if(p)return p;let h=_e(d).filter(w=>G(w)&&X(w)!=="body"),u=null;const f=B(d).position==="fixed";let m=f?pe(d):d;for(;G(m)&&!We(m);){const w=B(m),g=De(m);(f?g||u:g||w.position!=="static"||!u||!["absolute","fixed"].includes(u.position))?u=w:h=h.filter(y=>y!==m),m=pe(m)}return c.set(d,h),h}(t,this._c):[].concat(o),r=[...s,i],a=r[0],l=r.reduce((d,c)=>{const p=Ze(t,c,n);return d.top=ie(p.top,d.top),d.right=Ke(p.right,d.right),d.bottom=Ke(p.bottom,d.bottom),d.left=ie(p.left,d.left),d},Ze(t,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:i}=e;const n=M(o),s=U(o);if(o===s)return t;let r={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((n||!n&&i!=="fixed")&&((X(o)!=="body"||Te(s))&&(r=Pe(o)),M(o))){const d=de(o);a=te(o),l.x=d.x+o.clientLeft,l.y=d.y+o.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-r.scrollLeft*a.x+l.x,y:t.y*a.y-r.scrollTop*a.y+l.y}},isElement:G,getDimensions:function(e){return M(e)?gt(e):e.getBoundingClientRect()},getOffsetParent:et,getDocumentElement:U,getScale:te,async getElementRects(e){let{reference:t,floating:o,strategy:i}=e;const n=this.getOffsetParent||et,s=this.getDimensions;return{reference:uo(t,await n(o),i),floating:{x:0,y:0,...await s(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>B(e).direction==="rtl"},mo=(e,t,o)=>{const i=new Map,n={platform:fo,...o},s={...n.platform,_c:i};return to(e,t,{...n,platform:s})},Y={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ce(e,t){let o=Y.themes[e]||{},i;do i=o[t],typeof i>"u"?o.$extend?o=Y.themes[o.$extend]||{}:(o=null,i=Y[t]):o=null;while(o);return i}function go(e){const t=[e];let o=Y.themes[e]||{};do o.$extend&&!o.$resetCss?(t.push(o.$extend),o=Y.themes[o.$extend]||{}):o=null;while(o);return t.map(i=>`v-popper--theme-${i}`)}function tt(e){const t=[e];let o=Y.themes[e]||{};do o.$extend?(t.push(o.$extend),o=Y.themes[o.$extend]||{}):o=null;while(o);return t}let he=!1;if(typeof window<"u"){he=!1;try{const e=Object.defineProperty({},"passive",{get(){he=!0}});window.addEventListener("test",null,e)}catch{}}let St=!1;typeof window<"u"&&typeof navigator<"u"&&(St=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Tt=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),ot={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},it={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function nt(e,t){const o=e.indexOf(t);o!==-1&&e.splice(o,1)}function ze(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const H=[];let Q=null;const st={};function rt(e){let t=st[e];return t||(t=st[e]=[]),t}let Le=function(){};typeof window<"u"&&(Le=window.Element);function v(e){return function(t){return ce(t.theme,e)}}const Ne="__floating-vue__popper",Pt=()=>Se({name:"VPopper",provide(){return{[Ne]:{parentPopper:this}}},inject:{[Ne]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:v("disabled")},positioningDisabled:{type:Boolean,default:v("positioningDisabled")},placement:{type:String,default:v("placement"),validator:e=>Tt.includes(e)},delay:{type:[String,Number,Object],default:v("delay")},distance:{type:[Number,String],default:v("distance")},skidding:{type:[Number,String],default:v("skidding")},triggers:{type:Array,default:v("triggers")},showTriggers:{type:[Array,Function],default:v("showTriggers")},hideTriggers:{type:[Array,Function],default:v("hideTriggers")},popperTriggers:{type:Array,default:v("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:v("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:v("popperHideTriggers")},container:{type:[String,Object,Le,Boolean],default:v("container")},boundary:{type:[String,Le],default:v("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:v("strategy")},autoHide:{type:[Boolean,Function],default:v("autoHide")},handleResize:{type:Boolean,default:v("handleResize")},instantMove:{type:Boolean,default:v("instantMove")},eagerMount:{type:Boolean,default:v("eagerMount")},popperClass:{type:[String,Array,Object],default:v("popperClass")},computeTransformOrigin:{type:Boolean,default:v("computeTransformOrigin")},autoMinSize:{type:Boolean,default:v("autoMinSize")},autoSize:{type:[Boolean,String],default:v("autoSize")},autoMaxSize:{type:Boolean,default:v("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:v("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:v("preventOverflow")},overflowPadding:{type:[Number,String],default:v("overflowPadding")},arrowPadding:{type:[Number,String],default:v("arrowPadding")},arrowOverflow:{type:Boolean,default:v("arrowOverflow")},flip:{type:Boolean,default:v("flip")},shift:{type:Boolean,default:v("shift")},shiftCrossAxis:{type:Boolean,default:v("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:v("noAutoFocus")},disposeTimeout:{type:Number,default:v("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ne])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:o=!1}={}){var i,n;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(o||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(lo({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(no({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(po({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(so({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(oo({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:n,middlewareData:s})=>{let r;const{centerOffset:a}=s.arrow;return i.startsWith("top")||i.startsWith("bottom")?r=Math.abs(a)>n.reference.width/2:r=Math.abs(a)>n.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:s,middlewareData:r})=>{var a;if((a=r.autoSize)!=null&&a.skip)return{};let l,d;return s.startsWith("top")||s.startsWith("bottom")?l=n.reference.width:d=n.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(co({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:n})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const o=await mo(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Q&&this.instantMove&&Q.instantMove&&Q!==this.parentPopper){Q.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Q=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ze(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([..._e(this.$_referenceNode),..._e(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),i=o.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(i.left+o.offsetLeft),s=t.y+t.height/2-(i.top+o.offsetTop);this.result.transformOrigin=`${n}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let o=0;o<H.length;o++)t=H[o],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}H.push(this),document.body.classList.add("v-popper--some-open");for(const t of tt(this.theme))rt(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await ze(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,nt(H,this),H.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of tt(this.theme)){const i=rt(o);nt(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}Q===this&&(Q=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ze(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,ot,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],ot,this.popperTriggers,this.popperShowTriggers,e);const t=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,it,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],it,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,o){this.$_events.push({targetNodes:e,eventType:t,handler:o}),e.forEach(i=>i.addEventListener(t,o,he?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,o,i,n){let s=o;i!=null&&(s=typeof i=="function"?i(s):i),s.forEach(r=>{const a=t[r];a&&this.$_registerEventListeners(e,a,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(o=>{const{targetNodes:i,eventType:n,handler:s}=o;!e||e===n?i.forEach(r=>r.removeEventListener(n,s)):t.push(o)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const o of this.$_targetNodes){const i=o.getAttribute(e);i&&(o.removeAttribute(e),o.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const o in e){const i=e[o];i==null?t.removeAttribute(o):t.setAttribute(o,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(ne>=e.left&&ne<=e.right&&se>=e.top&&se<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),o=ne-V,i=se-q,n=t.left+t.width/2-V+(t.top+t.height/2)-q+t.width+t.height,s=V+o*n,r=q+i*n;return me(V,q,s,r,t.left,t.top,t.left,t.bottom)||me(V,q,s,r,t.left,t.top,t.right,t.top)||me(V,q,s,r,t.right,t.top,t.right,t.bottom)||me(V,q,s,r,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(St){const e=he?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>at(t),e),document.addEventListener("touchend",t=>lt(t,!0),e)}else window.addEventListener("mousedown",e=>at(e),!0),window.addEventListener("click",e=>lt(e,!1),!0);window.addEventListener("resize",vo)}function at(e,t){for(let o=0;o<H.length;o++){const i=H[o];try{i.mouseDownContains=i.popperNode().contains(e.target)}catch{}}}function lt(e,t){wo(e,t)}function wo(e,t){const o={};for(let i=H.length-1;i>=0;i--){const n=H[i];try{const s=n.containsGlobalTarget=n.mouseDownContains||n.popperNode().contains(e.target);n.pendingHide=!1,requestAnimationFrame(()=>{if(n.pendingHide=!1,!o[n.randomId]&&dt(n,s,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=n.parentPopper;for(;a;)o[a.randomId]=!0,a=a.parentPopper;return}let r=n.parentPopper;for(;r&&dt(r,r.containsGlobalTarget,e);)r.$_handleGlobalClose(e,t),r=r.parentPopper}})}catch{}}}function dt(e,t,o){return o.closeAllPopover||o.closePopover&&t||yo(e,o)&&!t}function yo(e,t){if(typeof e.autoHide=="function"){const o=e.autoHide(t);return e.lastAutoHide=o,o}return e.autoHide}function vo(){for(let e=0;e<H.length;e++)H[e].$_computePosition()}let V=0,q=0,ne=0,se=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{V=ne,q=se,ne=e.clientX,se=e.clientY},he?{passive:!0}:void 0);function me(e,t,o,i,n,s,r,a){const l=((r-n)*(t-s)-(a-s)*(e-n))/((a-s)*(o-e)-(r-n)*(i-t)),d=((o-e)*(t-s)-(i-t)*(e-n))/((a-s)*(o-e)-(r-n)*(i-t));return l>=0&&l<=1&&d>=0&&d<=1}const $o={extends:Pt()},Ae=(e,t)=>{const o=e.__vccOpts||e;for(const[i,n]of t)o[i]=n;return o};function xo(e,t,o,i,n,s){return W(),ae("div",{ref:"reference",class:Ee(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[ye(e.$slots,"default",jt(Vt(e.slotData)))],2)}const _o=Ae($o,[["render",xo]]);function bo(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var o=e.indexOf("Trident/");if(o>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let ge;function Be(){Be.init||(Be.init=!0,ge=bo()!==-1)}var Ce={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Be(),Et(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ge&&this.$el.appendChild(e),e.data="about:blank",ge||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ge&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const So=Wt();Ft("data-v-b329ee4c");const To={class:"resize-observer",tabindex:"-1"};It();const Po=So((e,t,o,i,n,s)=>(W(),be("div",To)));Ce.render=Po;Ce.__scopeId="data-v-b329ee4c";Ce.__file="src/components/ResizeObserver.vue";const At=(e="theme")=>({computed:{themeClass(){return go(this[e])}}}),Ao=Se({name:"VPopperContent",components:{ResizeObserver:Ce},mixins:[At()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Co=["id","aria-hidden","tabindex","data-popper-placement"],Oo={ref:"inner",class:"v-popper__inner"},zo=J("div",{class:"v-popper__arrow-outer"},null,-1),No=J("div",{class:"v-popper__arrow-inner"},null,-1),ko=[zo,No];function Ho(e,t,o,i,n,s){const r=re("ResizeObserver");return W(),ae("div",{id:e.popperId,ref:"popover",class:Ee(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Oe(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Mt(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[J("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),J("div",{class:"v-popper__wrapper",style:Oe(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[J("div",Oo,[e.mounted?(W(),ae(Bt,{key:0},[J("div",null,[ye(e.$slots,"default")]),e.handleResize?(W(),be(r,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ve("",!0)],64)):Ve("",!0)],512),J("div",{ref:"arrow",class:"v-popper__arrow-container",style:Oe(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},ko,4)],4)],46,Co)}const Ct=Ae(Ao,[["render",Ho]]),Ot={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Me=function(){};typeof window<"u"&&(Me=window.Element);const Ro=Se({name:"VPopperWrapper",components:{Popper:_o,PopperContent:Ct},mixins:[Ot,At("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Me,Boolean],default:void 0},boundary:{type:[String,Me],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Do(e,t,o,i,n,s){const r=re("PopperContent"),a=re("Popper");return W(),be(a,ht({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:we(({popperId:l,isShown:d,shouldMountContent:c,skipTransition:p,autoHide:h,show:u,hide:f,handleResize:m,onResize:w,classes:g,result:y})=>[ye(e.$slots,"default",{shown:d,show:u,hide:f}),ct(r,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:d,mounted:c,"skip-transition":p,"auto-hide":h,"handle-resize":m,classes:g,result:y,onHide:f,onResize:w},{default:we(()=>[ye(e.$slots,"popper",{shown:d,hide:f})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const je=Ae(Ro,[["render",Do]]),Lo={...je,name:"VDropdown",vPopperTheme:"dropdown"};({...je});const Bo={...je,name:"VTooltip",vPopperTheme:"tooltip"},Mo=Se({name:"VTooltipDirective",components:{Popper:Pt(),PopperContent:Ct},mixins:[Ot],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ce(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ce(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,o=this.content(this);o.then?o.then(i=>this.onResult(t,i)):this.onResult(t,o)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Eo=["innerHTML"],Fo=["textContent"];function Io(e,t,o,i,n,s){const r=re("PopperContent"),a=re("Popper");return W(),be(a,ht({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:we(({popperId:l,isShown:d,shouldMountContent:c,skipTransition:p,autoHide:h,hide:u,handleResize:f,onResize:m,classes:w,result:g})=>[ct(r,{ref:"popperContent",class:Ee({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:d,mounted:c,"skip-transition":p,"auto-hide":h,"handle-resize":f,classes:w,result:g,onHide:u,onResize:m},{default:we(()=>[e.html?(W(),ae("div",{key:0,innerHTML:e.finalContent},null,8,Eo)):(W(),ae("div",{key:1,textContent:Lt(e.finalContent)},null,8,Fo))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Wo=Ae(Mo,[["render",Io]]),zt="v-popper--has-tooltip";function jo(e,t){let o=e.placement;if(!o&&t)for(const i of Tt)t[i]&&(o=i);return o||(o=ce(e.theme||"tooltip","placement")),o}function Nt(e,t,o){let i;const n=typeof t;return n==="string"?i={content:t}:t&&n==="object"?i=t:i={content:!1},i.placement=jo(i,o),i.targetNodes=()=>[e],i.referenceNode=()=>e,i}let ke,ue,Vo=0;function qo(){if(ke)return;ue=He([]),ke=Rt({name:"VTooltipDirectiveApp",setup(){return{directives:ue}},render(){return this.directives.map(t=>Dt(Wo,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ke.mount(e)}function Go(e,t,o){qo();const i=He(Nt(e,t,o)),n=He(!1),s={id:Vo++,options:i,shown:n};return ue.value.push(s),e.classList&&e.classList.add(zt),e.$_popper={options:i,item:s,show(){n.value=!0},hide(){n.value=!1}}}function kt(e){if(e.$_popper){const t=ue.value.indexOf(e.$_popper.item);t!==-1&&ue.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(zt)}function pt(e,{value:t,modifiers:o}){const i=Nt(e,t,o);if(!i.content||ce(i.theme||"tooltip","disabled"))kt(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=i):n=Go(e,t,o),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?n.show():n.hide())}}const Uo={beforeMount:pt,updated:pt,beforeUnmount(e){kt(e)}},Xo=Y,Ko=Uo,Qo=Lo,Zo=Bo;export{Xo as H,Ko as O,Zo as V,Qo as k};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{H as o}from"./floating-vue-
|
|
1
|
+
import{H as o}from"./floating-vue-DW-LDDfy.js";const t=o.themes??{};t["dark-tooltip"]||(t["dark-tooltip"]={$extend:"tooltip"});o.themes=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as m,a as e}from"./DocsRenderer-LL677BLK-
|
|
1
|
+
import{d as m,a as e}from"./DocsRenderer-LL677BLK-SyKdr26F.js";import{b as o}from"./iframe-CpzqL6zW.js";import"./preload-helper-C1FmrZbK.js";import"./_commonjsHelpers-Cpj98o6Y.js";var t=o(e(),1),s=(0,t.default)(2)(async(i,r)=>i===!1?r:m(r));export{s as formatter};
|