@prozorro/prozorro-ui 0.0.36-beta → 0.0.38-beta
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-DhXxAYLg.js → Color-FRDS63T2-Ci1Qssdc.js} +1 -1
- package/dist/app/assets/{Colors.stories-B6vIpZ8q.js → Colors.stories-CekQUYhn.js} +1 -1
- package/dist/app/assets/Display-D6gUOpYn.css +1 -0
- package/dist/app/assets/Display.stories-DTj43Y-S.js +141 -0
- package/dist/app/assets/{DocsRenderer-LL677BLK-yblczgla.js → DocsRenderer-LL677BLK-CDlCcJ60.js} +5 -5
- package/dist/app/assets/{Grid.stories-CUXNbB-V.js → Grid.stories-CLoXMwGF.js} +1 -1
- package/dist/app/assets/{PzAccordion-DWoil_bn.js → PzAccordion-CnrpF9Nt.js} +1 -1
- package/dist/app/assets/{PzAccordion.stories-evzT4C-f.js → PzAccordion.stories-CHffcvwX.js} +1 -1
- package/dist/app/assets/{PzAccordionTable.stories--4pKQ-ge.js → PzAccordionTable.stories-BEPpewIv.js} +1 -1
- package/dist/app/assets/{PzArrayClamp.stories-B-2WVQRa.js → PzArrayClamp.stories-DgLl-QX7.js} +1 -1
- package/dist/app/assets/{PzBreadcrumb.stories-DkgPjd9p.js → PzBreadcrumb.stories-4VW_F2gx.js} +3 -3
- package/dist/app/assets/{PzBtn-DpZuACWn.js → PzBtn-Cx92sJr7.js} +1 -1
- package/dist/app/assets/{PzBtn.stories-Dx6LvYrp.js → PzBtn.stories-BIrc0nEI.js} +1 -1
- package/dist/app/assets/{PzCheckbox-CCDi4xRe.js → PzCheckbox-cVcWZlwS.js} +1 -1
- package/dist/app/assets/{PzCheckbox.stories-D_oKuYuO.js → PzCheckbox.stories-B-VuJJ4U.js} +1 -1
- package/dist/app/assets/{PzCheckboxGroup.stories-CuGMz4Jb.js → PzCheckboxGroup.stories-DsjQHRQ5.js} +2 -2
- package/dist/app/assets/{PzCopyToClipboard.stories-DX1WMeAX.js → PzCopyToClipboard.stories-P0ybFPWw.js} +1 -1
- package/dist/app/assets/{PzDate-i1mxQvAA.js → PzDate-BGdKm7KY.js} +1 -1
- package/dist/app/assets/{PzDate.stories-BZcM62bH.js → PzDate.stories-DraoMJLA.js} +1 -1
- package/dist/app/assets/{PzDateRange.stories-CQHMSjEw.js → PzDateRange.stories-Dc-Ap0tY.js} +1 -1
- package/dist/app/assets/{PzDomHandler.stories-Dj3KKA1e.js → PzDomHandler.stories-KoOXuPXS.js} +1 -1
- package/dist/app/assets/{PzDropdown.stories-22ZTI2sB.js → PzDropdown.stories-jKCD2A8G.js} +1 -1
- package/dist/app/assets/{PzFileInput.stories-C81rM3hI.js → PzFileInput.stories-CeFke5G-.js} +1 -1
- package/dist/app/assets/{PzGrid.stories-BuSFoTtX.js → PzGrid.stories-CNVxv0aU.js} +3 -3
- package/dist/app/assets/{PzHint-h-KK0y1Q.js → PzHint-DsiQRpYG.js} +1 -1
- package/dist/app/assets/{PzHint.stories-Dl15x8Mw.js → PzHint.stories-GKgzL56N.js} +1 -1
- package/dist/app/assets/{PzIcon-DEfMcLUj.js → PzIcon-cRuuou9i.js} +1 -1
- package/dist/app/assets/{PzIcon.stories-t2s0knSA.js → PzIcon.stories-cP91AyOB.js} +1 -1
- package/dist/app/assets/{PzImage.stories-DSwANUUf.js → PzImage.stories-CwqjMt6L.js} +1 -1
- package/dist/app/assets/{PzImageInput.stories-yZn4-M4p.js → PzImageInput.stories-4FpMN6VR.js} +1 -1
- package/dist/app/assets/{PzInfoBlockLayout.stories-DAw2pGuF.js → PzInfoBlockLayout.stories-D0kGPT2K.js} +2 -2
- package/dist/app/assets/{PzInfoHint-i9mcSPZG.js → PzInfoHint-DKG3kEnA.js} +1 -1
- package/dist/app/assets/{PzInfoHint.stories-CO21NZw6.js → PzInfoHint.stories-CMrcVXbz.js} +1 -1
- package/dist/app/assets/{PzInput.stories-BsoiC2S2.js → PzInput.stories-FYCwoz0J.js} +2 -2
- package/dist/app/assets/{PzInputDate.stories-RIY9bzmA.js → PzInputDate.stories-mLyqxc04.js} +1 -1
- package/dist/app/assets/{PzInputNumber.stories-j1V0pQI4.js → PzInputNumber.stories-B2AhaSVw.js} +2 -2
- package/dist/app/assets/{PzKeyValue-T2Wakhmv.js → PzKeyValue-Bqw-YOMe.js} +1 -1
- package/dist/app/assets/{PzKeyValue.stories-BXn9sDCS.js → PzKeyValue.stories-CZRYMNSk.js} +1 -1
- package/dist/app/assets/{PzLabel-cAvLtSNq.js → PzLabel-avnfC9tn.js} +1 -1
- package/dist/app/assets/{PzLabel.stories-BBOjU6MB.js → PzLabel.stories-D66CR405.js} +1 -1
- package/dist/app/assets/{PzLink-Ba40N1pr.js → PzLink-DjFfrqMo.js} +1 -1
- package/dist/app/assets/{PzLink.stories-DfkwvIcC.js → PzLink.stories-BsD_XeVc.js} +1 -1
- package/dist/app/assets/{PzListNav-ak02DcYr.js → PzListNav-DBS8u2z6.js} +1 -1
- package/dist/app/assets/{PzListNav.stories-f1kAwPWu.js → PzListNav.stories-vq4zCGHi.js} +1 -1
- package/dist/app/assets/{PzLoader.stories-CzqgLG93.js → PzLoader.stories-rY-2pCGy.js} +1 -1
- package/dist/app/assets/{PzModal.stories-p8jBfLlX.js → PzModal.stories-Bf_seTvY.js} +4 -4
- package/dist/app/assets/{PzMultiSelect.stories-Clxt72cj.js → PzMultiSelect.stories-BOcA4V5f.js} +3 -3
- package/dist/app/assets/{PzNav.stories-DKMKC8b0.js → PzNav.stories-8_f3uwWR.js} +1 -1
- package/dist/app/assets/{PzNumberFormat.stories-Pw6gEym5.js → PzNumberFormat.stories-86NRiwfi.js} +1 -1
- package/dist/app/assets/{PzPagination-DiR6OT61.js → PzPagination-Cjg8KFKz.js} +1 -1
- package/dist/app/assets/{PzPagination.stories-DdNI4KTU.js → PzPagination.stories-DLaO3Z7O.js} +1 -1
- package/dist/app/assets/{PzPaginationProvider.stories-BSw0Vgte.js → PzPaginationProvider.stories-BU1Y1GKJ.js} +1 -1
- package/dist/app/assets/{PzPriceFormat.stories-BA5DSnjK.js → PzPriceFormat.stories-CZRvbDCE.js} +1 -1
- package/dist/app/assets/{PzRadioGroup.stories-DThyHrK0.js → PzRadioGroup.stories-CeVQLekS.js} +1 -1
- package/dist/app/assets/{PzRouterLink.stories-4Zs7rN39.js → PzRouterLink.stories-B-jIalLx.js} +2 -2
- package/dist/app/assets/{PzScrollTo.stories-CV0B57w1.js → PzScrollTo.stories-DxfLEVwc.js} +1 -1
- package/dist/app/assets/{PzSearchResultItemLayout.stories-CwYXmB-X.js → PzSearchResultItemLayout.stories-bxHagISQ.js} +1 -1
- package/dist/app/assets/{PzSelect-DrC2FZDS.js → PzSelect-CwWCI-kq.js} +1 -1
- package/dist/app/assets/{PzSelect.stories-CZ6Id9fE.js → PzSelect.stories-D8lFNB66.js} +1 -1
- package/dist/app/assets/{PzSkeleton-D5AM17Fi.js → PzSkeleton-87dTujvi.js} +1 -1
- package/dist/app/assets/{PzSkeleton.stories-B9fd5nRo.js → PzSkeleton.stories-CoBZ-SJt.js} +1 -1
- package/dist/app/assets/{PzStatus-DrTzK97Z.js → PzStatus-fGp4njnf.js} +1 -1
- package/dist/app/assets/{PzStatus.stories-Ax-5djW1.js → PzStatus.stories-gEvkUxiy.js} +1 -1
- package/dist/app/assets/PzTable-DBoLxbsv.js +1 -0
- package/dist/app/assets/{PzTable.stories-B4WWYOVa.js → PzTable.stories-BBZcjzm2.js} +1 -1
- package/dist/app/assets/{PzTablePaginationProvider.stories-DWGjj_H2.js → PzTablePaginationProvider.stories-BWiWdq7T.js} +1 -1
- package/dist/app/assets/{PzTabs.stories-DTY2Eeeu.js → PzTabs.stories-C5VLMN5F.js} +1 -1
- package/dist/app/assets/{PzTag-B-f_e3O-.js → PzTag-m9mEWusc.js} +1 -1
- package/dist/app/assets/{PzTag.stories-DlsiHjs6.js → PzTag.stories-CySTWHYV.js} +1 -1
- package/dist/app/assets/{PzText-C3D3SnMx.js → PzText-D5PUnIjq.js} +1 -1
- package/dist/app/assets/{PzText.stories-BACpoP4d.js → PzText.stories-g0xHP8Rr.js} +1 -1
- package/dist/app/assets/{PzTextClamp.stories-CFIf-Kfd.js → PzTextClamp.stories-UUG4ulxB.js} +1 -1
- package/dist/app/assets/{PzTextarea.stories-DhinERdl.js → PzTextarea.stories-DPemLiAx.js} +2 -2
- package/dist/app/assets/{PzValidatorXSS.stories-DCa5R801.js → PzValidatorXSS.stories-BlgUvKcB.js} +1 -1
- package/dist/app/assets/{Spacing.stories-BMOcUK6R.js → Spacing.stories-ChCHMOkB.js} +1 -1
- package/dist/app/assets/{StaticPagination.composable-dQFEBcZK.js → StaticPagination.composable-CiVqHavQ.js} +1 -1
- package/dist/app/assets/{Typography.stories-DkpBYxE8.js → Typography.stories-BWYUJmCG.js} +1 -1
- package/dist/app/assets/{WithTooltip-65CFNBJE-BBJ-MhEh.js → WithTooltip-65CFNBJE-B7wTeeSp.js} +1 -1
- package/dist/app/assets/{floating-vue-DDs3IygW.js → floating-vue-ByDoVj13.js} +1 -1
- package/dist/app/assets/{floating-vue-D5kV9bvx.js → floating-vue-C5xzxu-B.js} +1 -1
- package/dist/app/assets/{formatter-EIJCOSYU-BDnPAmSv.js → formatter-EIJCOSYU-GILjhVFz.js} +1 -1
- package/dist/app/assets/{iframe-DlZeCGdZ.js → iframe-Bl-fVlm8.js} +5 -5
- package/dist/app/assets/iframe-ZPsq2dEK.css +1 -0
- package/dist/app/assets/{index-v0Pw9roj.js → index-pk-yyh3_.js} +1 -1
- package/dist/app/assets/{syntaxhighlighter-OH4MV7E3-Cu7AFDp6.js → syntaxhighlighter-OH4MV7E3-CNLXRCzV.js} +1 -1
- package/dist/app/iframe.html +2 -2
- package/dist/app/index.json +1 -1
- 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/base/_colors.scss +4 -0
- package/src/styles/base/_display.scss +98 -0
- package/src/styles/main.scss +1 -0
- package/dist/app/assets/PzTable-xq6i9RUN.js +0 -1
- package/dist/app/assets/iframe-ujC0K8xu.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as n}from"./PzText-
|
|
1
|
+
import{P as n}from"./PzText-D5PUnIjq.js";import"./iframe-Bl-fVlm8.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const p=[{token:"4",value:"4px",variable:"--pz-space-4",utility:"pz-m-4 / pz-p-4",note:"Gap between a title and its supporting text."},{token:"8",value:"8px",variable:"--pz-space-8",utility:"pz-m-8 / pz-p-8",note:"Gap between dependent text rows."},{token:"16",value:"16px",variable:"--pz-space-16",utility:"pz-m-16 / pz-p-16",note:"Spacing for title blocks, table content, and link groups."},{token:"20",value:"20px",variable:"--pz-space-20",utility:"pz-m-20 / pz-p-20",note:"Gap between equal elements."},{token:"24",value:"24px",variable:"--pz-space-24",utility:"pz-m-24 / pz-p-24",note:"Spacing for docs, dividers, and tab padding."},{token:"32",value:"32px",variable:"--pz-space-32",utility:"pz-m-32 / pz-p-32",note:"Inset from content to nested background edges."},{token:"40",value:"40px",variable:"--pz-space-40",utility:"pz-m-40 / pz-p-40",note:"Large inset inside nested content areas."},{token:"44",value:"44px",variable:"--pz-space-44",utility:"pz-m-44 / pz-p-44",note:"Gap between a header and content in cabinet layouts."},{token:"60",value:"60px",variable:"--pz-space-60",utility:"pz-m-60 / pz-p-60",note:"Gap between equal large blocks."}],s=[{title:"Margin utilities",note:"Outer spacing",items:[{name:".pz-m-*",description:"Margin on all sides."},{name:".pz-mt-* / .pz-mr-* / .pz-mb-* / .pz-ml-*",description:"Single-side margin utilities."},{name:".pz-mx-* / .pz-my-*",description:"Inline and block axis margin utilities."},{name:".pz-m-auto / .pz-mx-auto / .pz-my-auto",description:"Auto alignment helpers."}]},{title:"Padding utilities",note:"Inner spacing",items:[{name:".pz-p-*",description:"Padding on all sides."},{name:".pz-pt-* / .pz-pr-* / .pz-pb-* / .pz-pl-*",description:"Single-side padding utilities."},{name:".pz-px-* / .pz-py-*",description:"Inline and block axis padding utilities."}]}],o=[{name:"sm",prefix:".pz-{prop}-sm-{value}",minWidth:"≥ 576px",description:"Small viewports and up."},{name:"md",prefix:".pz-{prop}-md-{value}",minWidth:"≥ 768px",description:"Tablet breakpoint and up."},{name:"lg",prefix:".pz-{prop}-lg-{value}",minWidth:"≥ 1024px",description:"Large viewports and up."},{name:"xl",prefix:".pz-{prop}-xl-{value}",minWidth:"≥ 1200px",description:"Desktop breakpoint and up."},{name:"xxl",prefix:".pz-{prop}-xxl-{value}",minWidth:"≥ 1400px",description:"Wide displays and up."}],u={title:"Foundation/Spacing",parameters:{prototype:{caption:"Spacing scale",note:"Spacing token and utility reference for margin and padding helpers."},docs:{description:{component:"Spacing foundation for `@prozorro/prozorro-ui`. The utility module emits `pz-m-*` and `pz-p-*` classes backed by the shared `--pz-space-*` token scale aligned with the visible Figma spacing board."}}},render:()=>({components:{pzText:n},setup(){return{spacingTokens:p,utilityGroups:s,spacingBreakpoints:o}},template:`
|
|
2
2
|
<div class="spacing-foundation">
|
|
3
3
|
<section class="spacing-foundation-board">
|
|
4
4
|
<header class="spacing-foundation-hero">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,c as o}from"./iframe-
|
|
1
|
+
import{r as n,c as o}from"./iframe-Bl-fVlm8.js";import{I as l}from"./PzListNav-DBS8u2z6.js";function m(a){const e=n(a.perPage||l.FIVE),t=n([0,e.value]),s=o(()=>a.data.slice(...t.value)),i=o(()=>a.data.length>e.value);return{perPage:e,pageChanged:g=>{t.value=g},getItems:s,isPaginationAvailable:i,visibleRangeElements:t}}export{m as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as p}from"./PzText-
|
|
1
|
+
import{P as p}from"./PzText-D5PUnIjq.js";import"./iframe-Bl-fVlm8.js";import"./preload-helper-C1FmrZbK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const a=[{variant:"h1-bold",label:"Headline Bold 1",spec:"44px / 700 / 1.5"},{variant:"h1-regular",label:"Headline Regular 1",spec:"44px / 400 / 1.5"},{variant:"h2-bold",label:"Headline Bold 2",spec:"32px / 700 / 1.5"},{variant:"h3-bold",label:"Headline Bold 3",spec:"24px / 700 / 1.5"},{variant:"h3-regular",label:"Headline Regular 3",spec:"24px / 400 / 1.5"},{variant:"h4-regular",label:"Headline Regular 4",spec:"18px / 400 / 1.5"},{variant:"h4-semibold",label:"Headline Semibold 4",spec:"18px / 600 / 1.5"},{variant:"h4-bold",label:"Headline Bold 4",spec:"18px / 700 / 1.5"},{variant:"subtitle",label:"Subtitle",spec:"16px / 600 / 1.5"},{variant:"body-regular",label:"Body text regular",spec:"14px / 400 / 1.5"},{variant:"body-semibold",label:"Body text semibold",spec:"14px / 600 / 1.5"},{variant:"body-bold",label:"Body text bold",spec:"14px / 700 / 1.5"},{variant:"capitalized",label:"Capitalized text",spec:"14px / 400 / uppercase"},{variant:"hint",label:"Hint text",spec:"14px / 400 / muted"},{variant:"line-through",label:"Archived value",spec:"14px / 400 / strike"},{variant:"small-regular",label:"Small text regular",spec:"12px / 400 / 1.5"},{variant:"small-semibold",label:"Small text semibold",spec:"12px / 600 / 1.5"},{variant:"small-bold",label:"Small text bold",spec:"12px / 700 / 1.5"},{variant:"link",label:"Review procurement details",spec:"14px / 400 / underline"},{variant:"document",label:"Document text",spec:"14px / 400 / default"}],t=8,r=15,n=[{title:"Headlines",description:"Primary hierarchy for pages, sections and table headers.",items:a.slice(0,t)},{title:"Reading text",description:"Core editorial styles for descriptions, summaries and UI copy.",items:a.slice(t,r)},{title:"Utility styles",description:"Compact text styles for metadata, helpers and document references.",items:a.slice(r)}],x={title:"Foundation/Typography",parameters:{prototype:{caption:"Typography reference",note:"Foundation board for validating hierarchy, weight, and text semantics against the shared design-system scale."},docs:{description:{component:"Typography foundation reference. Use this page to review the full type scale and variant grouping; use `Components/Text/PzText` for the component API."}}},args:{variant:"body-regular",content:"Every procurement notice should stay readable across dense interfaces and long-form content."},render:o=>({components:{pzText:p},setup(){return{args:o,typographyReferenceGroups:n}},template:`
|
|
2
2
|
<div class="pz-text-board">
|
|
3
3
|
<section class="pz-text-board-hero">
|
|
4
4
|
<div class="pz-text-board-hero-copy">
|
package/dist/app/assets/{WithTooltip-65CFNBJE-BBJ-MhEh.js → WithTooltip-65CFNBJE-B7wTeeSp.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{R as U,r as b,s as Re,l as pe,b as Bt,_ as te,c as Pt,a as Mt,e as _t}from"./DocsRenderer-LL677BLK-yblczgla.js";import{b as We,d as ft}from"./iframe-DlZeCGdZ.js";import"./preload-helper-C1FmrZbK.js";import"./_commonjsHelpers-Cpj98o6Y.js";var Ht=ft({"../../node_modules/react-fast-compare/index.js"(e,t){var r=typeof Element<"u",o=typeof Map=="function",n=typeof Set=="function",s=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(u,a){if(u===a)return!0;if(u&&a&&typeof u=="object"&&typeof a=="object"){if(u.constructor!==a.constructor)return!1;var i,f,p;if(Array.isArray(u)){if(i=u.length,i!=a.length)return!1;for(f=i;f--!==0;)if(!l(u[f],a[f]))return!1;return!0}var c;if(o&&u instanceof Map&&a instanceof Map){if(u.size!==a.size)return!1;for(c=u.entries();!(f=c.next()).done;)if(!a.has(f.value[0]))return!1;for(c=u.entries();!(f=c.next()).done;)if(!l(f.value[1],a.get(f.value[0])))return!1;return!0}if(n&&u instanceof Set&&a instanceof Set){if(u.size!==a.size)return!1;for(c=u.entries();!(f=c.next()).done;)if(!a.has(f.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(a)){if(i=u.length,i!=a.length)return!1;for(f=i;f--!==0;)if(u[f]!==a[f])return!1;return!0}if(u.constructor===RegExp)return u.source===a.source&&u.flags===a.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof a.valueOf=="function")return u.valueOf()===a.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof a.toString=="function")return u.toString()===a.toString();if(p=Object.keys(u),i=p.length,i!==Object.keys(a).length)return!1;for(f=i;f--!==0;)if(!Object.prototype.hasOwnProperty.call(a,p[f]))return!1;if(r&&u instanceof Element)return!1;for(f=i;f--!==0;)if(!((p[f]==="_owner"||p[f]==="__v"||p[f]==="__o")&&u.$$typeof)&&!l(u[p[f]],a[p[f]]))return!1;return!0}return u!==u&&a!==a}t.exports=function(u,a){try{return l(u,a)}catch(i){if((i.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw i}}}}),Nt=ft({"../../node_modules/warning/warning.js"(e,t){var r=function(){};t.exports=r}}),Vt=We(Mt(),1);const{deprecate:lt}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:qt}=__STORYBOOK_MODULE_GLOBAL__;b.createContext();b.createContext();var Ke=function(e){return e.reduce(function(t,r){var o=r[0],n=r[1];return t[o]=n,t},{})},Je=typeof window<"u"&&window.document&&window.document.createElement?b.useLayoutEffect:b.useEffect,$="top",H="bottom",N="right",B="left",je="auto",ye=[$,H,N,B],ie="start",ge="end",Ut="clippingParents",ct="viewport",ce="popper",zt="reference",Qe=ye.reduce(function(e,t){return e.concat([t+"-"+ie,t+"-"+ge])},[]),pt=[].concat(ye,[je]).reduce(function(e,t){return e.concat([t,t+"-"+ie,t+"-"+ge])},[]),It="beforeRead",Yt="read",Xt="afterRead",Ft="beforeMain",Gt="main",Kt="afterMain",Jt="beforeWrite",Qt="write",Zt="afterWrite",er=[It,Yt,Xt,Ft,Gt,Kt,Jt,Qt,Zt];function I(e){return e?(e.nodeName||"").toLowerCase():null}function P(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ne(e){var t=P(e).Element;return e instanceof t||e instanceof Element}function _(e){var t=P(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $e(e){if(typeof ShadowRoot>"u")return!1;var t=P(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function tr(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},n=t.attributes[r]||{},s=t.elements[r];!_(s)||!I(s)||(Object.assign(s.style,o),Object.keys(n).forEach(function(l){var u=n[l];u===!1?s.removeAttribute(l):s.setAttribute(l,u===!0?"":u)}))})}function rr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var n=t.elements[o],s=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),u=l.reduce(function(a,i){return a[i]="",a},{});!_(n)||!I(n)||(Object.assign(n.style,u),Object.keys(s).forEach(function(a){n.removeAttribute(a)}))})}}var dt={name:"applyStyles",enabled:!0,phase:"write",fn:tr,effect:rr,requires:["computeStyles"]};function z(e){return e.split("-")[0]}var re=Math.max,Te=Math.min,ae=Math.round;function ke(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function vt(){return!/^((?!chrome|android).)*safari/i.test(ke())}function se(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),n=1,s=1;t&&_(e)&&(n=e.offsetWidth>0&&ae(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ae(o.height)/e.offsetHeight||1);var l=ne(e)?P(e):window,u=l.visualViewport,a=!vt()&&r,i=(o.left+(a&&u?u.offsetLeft:0))/n,f=(o.top+(a&&u?u.offsetTop:0))/s,p=o.width/n,c=o.height/s;return{width:p,height:c,top:f,right:i+p,bottom:f+c,left:i,x:i,y:f}}function Be(e){var t=se(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function mt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&$e(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function F(e){return P(e).getComputedStyle(e)}function nr(e){return["table","td","th"].indexOf(I(e))>=0}function K(e){return((ne(e)?e.ownerDocument:e.document)||window.document).documentElement}function Le(e){return I(e)==="html"?e:e.assignedSlot||e.parentNode||($e(e)?e.host:null)||K(e)}function Ze(e){return!_(e)||F(e).position==="fixed"?null:e.offsetParent}function or(e){var t=/firefox/i.test(ke()),r=/Trident/i.test(ke());if(r&&_(e)){var o=F(e);if(o.position==="fixed")return null}var n=Le(e);for($e(n)&&(n=n.host);_(n)&&["html","body"].indexOf(I(n))<0;){var s=F(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function be(e){for(var t=P(e),r=Ze(e);r&&nr(r)&&F(r).position==="static";)r=Ze(r);return r&&(I(r)==="html"||I(r)==="body"&&F(r).position==="static")?t:r||or(e)||t}function Pe(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function de(e,t,r){return re(e,Te(t,r))}function ir(e,t,r){var o=de(e,t,r);return o>r?r:o}function gt(){return{top:0,right:0,bottom:0,left:0}}function ht(e){return Object.assign({},gt(),e)}function yt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var ar=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,ht(typeof e!="number"?e:yt(e,ye))};function sr(e){var t,r=e.state,o=e.name,n=e.options,s=r.elements.arrow,l=r.modifiersData.popperOffsets,u=z(r.placement),a=Pe(u),i=[B,N].indexOf(u)>=0,f=i?"height":"width";if(!(!s||!l)){var p=ar(n.padding,r),c=Be(s),v=a==="y"?$:B,g=a==="y"?H:N,d=r.rects.reference[f]+r.rects.reference[a]-l[a]-r.rects.popper[f],O=l[a]-r.rects.reference[a],E=be(s),C=E?a==="y"?E.clientHeight||0:E.clientWidth||0:0,k=d/2-O/2,m=p[v],w=C-c[f]-p[g],y=C/2-c[f]/2+k,T=de(m,y,w),S=a;r.modifiersData[o]=(t={},t[S]=T,t.centerOffset=T-y,t)}}function ur(e){var t=e.state,r=e.options,o=r.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||mt(t.elements.popper,n)&&(t.elements.arrow=n))}var fr={name:"arrow",enabled:!0,phase:"main",fn:sr,effect:ur,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ue(e){return e.split("-")[1]}var lr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cr(e,t){var r=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:ae(r*n)/n||0,y:ae(o*n)/n||0}}function et(e){var t,r=e.popper,o=e.popperRect,n=e.placement,s=e.variation,l=e.offsets,u=e.position,a=e.gpuAcceleration,i=e.adaptive,f=e.roundOffsets,p=e.isFixed,c=l.x,v=c===void 0?0:c,g=l.y,d=g===void 0?0:g,O=typeof f=="function"?f({x:v,y:d}):{x:v,y:d};v=O.x,d=O.y;var E=l.hasOwnProperty("x"),C=l.hasOwnProperty("y"),k=B,m=$,w=window;if(i){var y=be(r),T="clientHeight",S="clientWidth";if(y===P(r)&&(y=K(r),F(y).position!=="static"&&u==="absolute"&&(T="scrollHeight",S="scrollWidth")),y=y,n===$||(n===B||n===N)&&s===ge){m=H;var x=p&&y===w&&w.visualViewport?w.visualViewport.height:y[T];d-=x-o.height,d*=a?1:-1}if(n===B||(n===$||n===H)&&s===ge){k=N;var R=p&&y===w&&w.visualViewport?w.visualViewport.width:y[S];v-=R-o.width,v*=a?1:-1}}var L=Object.assign({position:u},i&&lr),j=f===!0?cr({x:v,y:d},P(r)):{x:v,y:d};if(v=j.x,d=j.y,a){var W;return Object.assign({},L,(W={},W[m]=C?"0":"",W[k]=E?"0":"",W.transform=(w.devicePixelRatio||1)<=1?"translate("+v+"px, "+d+"px)":"translate3d("+v+"px, "+d+"px, 0)",W))}return Object.assign({},L,(t={},t[m]=C?d+"px":"",t[k]=E?v+"px":"",t.transform="",t))}function pr(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=o===void 0?!0:o,s=r.adaptive,l=s===void 0?!0:s,u=r.roundOffsets,a=u===void 0?!0:u,i={placement:z(t.placement),variation:ue(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,et(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,et(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var bt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pr,data:{}},Ee={passive:!0};function dr(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,s=n===void 0?!0:n,l=o.resize,u=l===void 0?!0:l,a=P(t.elements.popper),i=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&i.forEach(function(f){f.addEventListener("scroll",r.update,Ee)}),u&&a.addEventListener("resize",r.update,Ee),function(){s&&i.forEach(function(f){f.removeEventListener("scroll",r.update,Ee)}),u&&a.removeEventListener("resize",r.update,Ee)}}var wt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dr,data:{}},vr={left:"right",right:"left",bottom:"top",top:"bottom"};function Se(e){return e.replace(/left|right|bottom|top/g,function(t){return vr[t]})}var mr={start:"end",end:"start"};function tt(e){return e.replace(/start|end/g,function(t){return mr[t]})}function Me(e){var t=P(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function _e(e){return se(K(e)).left+Me(e).scrollLeft}function gr(e,t){var r=P(e),o=K(e),n=r.visualViewport,s=o.clientWidth,l=o.clientHeight,u=0,a=0;if(n){s=n.width,l=n.height;var i=vt();(i||!i&&t==="fixed")&&(u=n.offsetLeft,a=n.offsetTop)}return{width:s,height:l,x:u+_e(e),y:a}}function hr(e){var t,r=K(e),o=Me(e),n=(t=e.ownerDocument)==null?void 0:t.body,s=re(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),l=re(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),u=-o.scrollLeft+_e(e),a=-o.scrollTop;return F(n||r).direction==="rtl"&&(u+=re(r.clientWidth,n?n.clientWidth:0)-s),{width:s,height:l,x:u,y:a}}function He(e){var t=F(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function xt(e){return["html","body","#document"].indexOf(I(e))>=0?e.ownerDocument.body:_(e)&&He(e)?e:xt(Le(e))}function ve(e,t){var r;t===void 0&&(t=[]);var o=xt(e),n=o===((r=e.ownerDocument)==null?void 0:r.body),s=P(o),l=n?[s].concat(s.visualViewport||[],He(o)?o:[]):o,u=t.concat(l);return n?u:u.concat(ve(Le(l)))}function De(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function yr(e,t){var r=se(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function rt(e,t,r){return t===ct?De(gr(e,r)):ne(t)?yr(t,r):De(hr(K(e)))}function br(e){var t=ve(Le(e)),r=["absolute","fixed"].indexOf(F(e).position)>=0,o=r&&_(e)?be(e):e;return ne(o)?t.filter(function(n){return ne(n)&&mt(n,o)&&I(n)!=="body"}):[]}function wr(e,t,r,o){var n=t==="clippingParents"?br(e):[].concat(t),s=[].concat(n,[r]),l=s[0],u=s.reduce(function(a,i){var f=rt(e,i,o);return a.top=re(f.top,a.top),a.right=Te(f.right,a.right),a.bottom=Te(f.bottom,a.bottom),a.left=re(f.left,a.left),a},rt(e,l,o));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Ot(e){var t=e.reference,r=e.element,o=e.placement,n=o?z(o):null,s=o?ue(o):null,l=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,a;switch(n){case $:a={x:l,y:t.y-r.height};break;case H:a={x:l,y:t.y+t.height};break;case N:a={x:t.x+t.width,y:u};break;case B:a={x:t.x-r.width,y:u};break;default:a={x:t.x,y:t.y}}var i=n?Pe(n):null;if(i!=null){var f=i==="y"?"height":"width";switch(s){case ie:a[i]=a[i]-(t[f]/2-r[f]/2);break;case ge:a[i]=a[i]+(t[f]/2-r[f]/2);break}}return a}function he(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=o===void 0?e.placement:o,s=r.strategy,l=s===void 0?e.strategy:s,u=r.boundary,a=u===void 0?Ut:u,i=r.rootBoundary,f=i===void 0?ct:i,p=r.elementContext,c=p===void 0?ce:p,v=r.altBoundary,g=v===void 0?!1:v,d=r.padding,O=d===void 0?0:d,E=ht(typeof O!="number"?O:yt(O,ye)),C=c===ce?zt:ce,k=e.rects.popper,m=e.elements[g?C:c],w=wr(ne(m)?m:m.contextElement||K(e.elements.popper),a,f,l),y=se(e.elements.reference),T=Ot({reference:y,element:k,placement:n}),S=De(Object.assign({},k,T)),x=c===ce?S:y,R={top:w.top-x.top+E.top,bottom:x.bottom-w.bottom+E.bottom,left:w.left-x.left+E.left,right:x.right-w.right+E.right},L=e.modifiersData.offset;if(c===ce&&L){var j=L[n];Object.keys(R).forEach(function(W){var V=[N,H].indexOf(W)>=0?1:-1,h=[$,H].indexOf(W)>=0?"y":"x";R[W]+=j[h]*V})}return R}function xr(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=r.boundary,s=r.rootBoundary,l=r.padding,u=r.flipVariations,a=r.allowedAutoPlacements,i=a===void 0?pt:a,f=ue(o),p=f?u?Qe:Qe.filter(function(g){return ue(g)===f}):ye,c=p.filter(function(g){return i.indexOf(g)>=0});c.length===0&&(c=p);var v=c.reduce(function(g,d){return g[d]=he(e,{placement:d,boundary:n,rootBoundary:s,padding:l})[z(d)],g},{});return Object.keys(v).sort(function(g,d){return v[g]-v[d]})}function Or(e){if(z(e)===je)return[];var t=Se(e);return[tt(e),t,tt(t)]}function Er(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,s=n===void 0?!0:n,l=r.altAxis,u=l===void 0?!0:l,a=r.fallbackPlacements,i=r.padding,f=r.boundary,p=r.rootBoundary,c=r.altBoundary,v=r.flipVariations,g=v===void 0?!0:v,d=r.allowedAutoPlacements,O=t.options.placement,E=z(O),C=E===O,k=a||(C||!g?[Se(O)]:Or(O)),m=[O].concat(k).reduce(function(Z,X){return Z.concat(z(X)===je?xr(t,{placement:X,boundary:f,rootBoundary:p,padding:i,flipVariations:g,allowedAutoPlacements:d}):X)},[]),w=t.rects.reference,y=t.rects.popper,T=new Map,S=!0,x=m[0],R=0;R<m.length;R++){var L=m[R],j=z(L),W=ue(L)===ie,V=[$,H].indexOf(j)>=0,h=V?"width":"height",A=he(t,{placement:L,boundary:f,rootBoundary:p,altBoundary:c,padding:i}),D=V?W?N:B:W?H:$;w[h]>y[h]&&(D=Se(D));var Y=Se(D),q=[];if(s&&q.push(A[j]<=0),u&&q.push(A[D]<=0,A[Y]<=0),q.every(function(Z){return Z})){x=L,S=!1;break}T.set(L,q)}if(S)for(var J=g?3:1,Q=function(Z){var X=m.find(function(xe){var le=T.get(xe);if(le)return le.slice(0,Z).every(function(oe){return oe})});if(X)return x=X,"break"},fe=J;fe>0;fe--){var we=Q(fe);if(we==="break")break}t.placement!==x&&(t.modifiersData[o]._skip=!0,t.placement=x,t.reset=!0)}}var Sr={name:"flip",enabled:!0,phase:"main",fn:Er,requiresIfExists:["offset"],data:{_skip:!1}};function nt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ot(e){return[$,N,H,B].some(function(t){return e[t]>=0})}function Tr(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,l=he(t,{elementContext:"reference"}),u=he(t,{altBoundary:!0}),a=nt(l,o),i=nt(u,n,s),f=ot(a),p=ot(i);t.modifiersData[r]={referenceClippingOffsets:a,popperEscapeOffsets:i,isReferenceHidden:f,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}var Rr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Tr};function Lr(e,t,r){var o=z(e),n=[B,$].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=s[0],u=s[1];return l=l||0,u=(u||0)*n,[B,N].indexOf(o)>=0?{x:u,y:l}:{x:l,y:u}}function Cr(e){var t=e.state,r=e.options,o=e.name,n=r.offset,s=n===void 0?[0,0]:n,l=pt.reduce(function(f,p){return f[p]=Lr(p,t.rects,s),f},{}),u=l[t.placement],a=u.x,i=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=i),t.modifiersData[o]=l}var Ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Cr};function kr(e){var t=e.state,r=e.name;t.modifiersData[r]=Ot({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Et={name:"popperOffsets",enabled:!0,phase:"read",fn:kr,data:{}};function Dr(e){return e==="x"?"y":"x"}function Wr(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,s=n===void 0?!0:n,l=r.altAxis,u=l===void 0?!1:l,a=r.boundary,i=r.rootBoundary,f=r.altBoundary,p=r.padding,c=r.tether,v=c===void 0?!0:c,g=r.tetherOffset,d=g===void 0?0:g,O=he(t,{boundary:a,rootBoundary:i,padding:p,altBoundary:f}),E=z(t.placement),C=ue(t.placement),k=!C,m=Pe(E),w=Dr(m),y=t.modifiersData.popperOffsets,T=t.rects.reference,S=t.rects.popper,x=typeof d=="function"?d(Object.assign({},t.rects,{placement:t.placement})):d,R=typeof x=="number"?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(y){if(s){var W,V=m==="y"?$:B,h=m==="y"?H:N,A=m==="y"?"height":"width",D=y[m],Y=D+O[V],q=D-O[h],J=v?-S[A]/2:0,Q=C===ie?T[A]:S[A],fe=C===ie?-S[A]:-T[A],we=t.elements.arrow,Z=v&&we?Be(we):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gt(),xe=X[V],le=X[h],oe=de(0,T[A],Z[A]),Ct=k?T[A]/2-J-oe-xe-R.mainAxis:Q-oe-xe-R.mainAxis,At=k?-T[A]/2+J+oe+le+R.mainAxis:fe+oe+le+R.mainAxis,Ce=t.elements.arrow&&be(t.elements.arrow),kt=Ce?m==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,Ve=(W=L==null?void 0:L[m])!=null?W:0,Dt=D+Ct-Ve-kt,Wt=D+At-Ve,qe=de(v?Te(Y,Dt):Y,D,v?re(q,Wt):q);y[m]=qe,j[m]=qe-D}if(u){var Ue,jt=m==="x"?$:B,$t=m==="x"?H:N,ee=y[w],Oe=w==="y"?"height":"width",ze=ee+O[jt],Ie=ee-O[$t],Ae=[$,B].indexOf(E)!==-1,Ye=(Ue=L==null?void 0:L[w])!=null?Ue:0,Xe=Ae?ze:ee-T[Oe]-S[Oe]-Ye+R.altAxis,Fe=Ae?ee+T[Oe]+S[Oe]-Ye-R.altAxis:Ie,Ge=v&&Ae?ir(Xe,ee,Fe):de(v?Xe:ze,ee,v?Fe:Ie);y[w]=Ge,j[w]=Ge-ee}t.modifiersData[o]=j}}var jr={name:"preventOverflow",enabled:!0,phase:"main",fn:Wr,requiresIfExists:["offset"]};function $r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Br(e){return e===P(e)||!_(e)?Me(e):$r(e)}function Pr(e){var t=e.getBoundingClientRect(),r=ae(t.width)/e.offsetWidth||1,o=ae(t.height)/e.offsetHeight||1;return r!==1||o!==1}function Mr(e,t,r){r===void 0&&(r=!1);var o=_(t),n=_(t)&&Pr(t),s=K(t),l=se(e,n,r),u={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(o||!o&&!r)&&((I(t)!=="body"||He(s))&&(u=Br(t)),_(t)?(a=se(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):s&&(a.x=_e(s))),{x:l.left+u.scrollLeft-a.x,y:l.top+u.scrollTop-a.y,width:l.width,height:l.height}}function _r(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function n(s){r.add(s.name);var l=[].concat(s.requires||[],s.requiresIfExists||[]);l.forEach(function(u){if(!r.has(u)){var a=t.get(u);a&&n(a)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||n(s)}),o}function Hr(e){var t=_r(e);return er.reduce(function(r,o){return r.concat(t.filter(function(n){return n.phase===o}))},[])}function Nr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Vr(e){var t=e.reduce(function(r,o){var n=r[o.name];return r[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var it={placement:"bottom",modifiers:[],strategy:"absolute"};function at(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Ne(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,n=t.defaultOptions,s=n===void 0?it:n;return function(l,u,a){a===void 0&&(a=s);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},it,s),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},f=[],p=!1,c={state:i,setOptions:function(d){var O=typeof d=="function"?d(i.options):d;g(),i.options=Object.assign({},s,i.options,O),i.scrollParents={reference:ne(l)?ve(l):l.contextElement?ve(l.contextElement):[],popper:ve(u)};var E=Hr(Vr([].concat(o,i.options.modifiers)));return i.orderedModifiers=E.filter(function(C){return C.enabled}),v(),c.update()},forceUpdate:function(){if(!p){var d=i.elements,O=d.reference,E=d.popper;if(at(O,E)){i.rects={reference:Mr(O,be(E),i.options.strategy==="fixed"),popper:Be(E)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(S){return i.modifiersData[S.name]=Object.assign({},S.data)});for(var C=0;C<i.orderedModifiers.length;C++){if(i.reset===!0){i.reset=!1,C=-1;continue}var k=i.orderedModifiers[C],m=k.fn,w=k.options,y=w===void 0?{}:w,T=k.name;typeof m=="function"&&(i=m({state:i,options:y,name:T,instance:c})||i)}}}},update:Nr(function(){return new Promise(function(d){c.forceUpdate(),d(i)})}),destroy:function(){g(),p=!0}};if(!at(l,u))return c;c.setOptions(a).then(function(d){!p&&a.onFirstUpdate&&a.onFirstUpdate(d)});function v(){i.orderedModifiers.forEach(function(d){var O=d.name,E=d.options,C=E===void 0?{}:E,k=d.effect;if(typeof k=="function"){var m=k({state:i,name:O,instance:c,options:C}),w=function(){};f.push(m||w)}})}function g(){f.forEach(function(d){return d()}),f=[]}return c}}Ne();var qr=[wt,Et,bt,dt];Ne({defaultModifiers:qr});var Ur=[wt,Et,bt,dt,Ar,Sr,jr,fr,Rr],zr=Ne({defaultModifiers:Ur}),Ir=We(Ht()),Yr=[],Xr=function(e,t,r){r===void 0&&(r={});var o=b.useRef(null),n={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Yr},s=b.useState({styles:{popper:{position:n.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],u=s[1],a=b.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(p){var c=p.state,v=Object.keys(c.elements);_t.flushSync(function(){u({styles:Ke(v.map(function(g){return[g,c.styles[g]||{}]})),attributes:Ke(v.map(function(g){return[g,c.attributes[g]]}))})})},requires:["computeStyles"]}},[]),i=b.useMemo(function(){var p={onFirstUpdate:n.onFirstUpdate,placement:n.placement,strategy:n.strategy,modifiers:[].concat(n.modifiers,[a,{name:"applyStyles",enabled:!1}])};return(0,Ir.default)(o.current,p)?o.current||p:(o.current=p,p)},[n.onFirstUpdate,n.placement,n.strategy,n.modifiers,a]),f=b.useRef();return Je(function(){f.current&&f.current.setOptions(i)},[i]),Je(function(){if(!(e==null||t==null)){var p=r.createPopper||zr,c=p(e,t,i);return f.current=c,function(){c.destroy(),f.current=null}}},[e,t,r.createPopper]),{state:f.current?f.current.state:null,styles:l.styles,attributes:l.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}};We(Nt());function St(e){var t=b.useRef(e);return t.current=e,b.useCallback(function(){return t.current},[])}var Fr=function(){};function Gr(e){var t=e.initial,r=e.value,o=e.onChange,n=o===void 0?Fr:o;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var s=b.useState(t),l=s[0],u=s[1],a=St(l),i=b.useCallback(function(p){var c=a(),v=typeof p=="function"?p(c):p;typeof v.persist=="function"&&v.persist(),u(v),typeof n=="function"&&n(v)},[a,n]),f=r!==void 0;return[f?r:l,f?n:i]}function Tt(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:function(){return null}}}}var Kr=["styles","attributes"],st={getBoundingClientRect:Tt()},ut={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"};function Jr(e,t){var r,o,n;e===void 0&&(e={}),t===void 0&&(t={});var s=Object.keys(ut).reduce(function(h,A){var D;return te({},h,(D={},D[A]=h[A]!==void 0?h[A]:ut[A],D))},e),l=b.useMemo(function(){return[{name:"offset",options:{offset:s.offset}}]},Array.isArray(s.offset)?s.offset:[]),u=te({},t,{placement:t.placement||s.placement,modifiers:t.modifiers||l}),a=b.useState(null),i=a[0],f=a[1],p=b.useState(null),c=p[0],v=p[1],g=Gr({initial:s.defaultVisible,value:s.visible,onChange:s.onVisibleChange}),d=g[0],O=g[1],E=b.useRef();b.useEffect(function(){return function(){return clearTimeout(E.current)}},[]);var C=Xr(s.followCursor?st:i,c,u),k=C.styles,m=C.attributes,w=Pt(C,Kr),y=w.update,T=St({visible:d,triggerRef:i,tooltipRef:c,finalConfig:s}),S=b.useCallback(function(h){return Array.isArray(s.trigger)?s.trigger.includes(h):s.trigger===h},Array.isArray(s.trigger)?s.trigger:[s.trigger]),x=b.useCallback(function(){clearTimeout(E.current),E.current=window.setTimeout(function(){return O(!1)},s.delayHide)},[s.delayHide,O]),R=b.useCallback(function(){clearTimeout(E.current),E.current=window.setTimeout(function(){return O(!0)},s.delayShow)},[s.delayShow,O]),L=b.useCallback(function(){T().visible?x():R()},[T,x,R]);b.useEffect(function(){if(T().finalConfig.closeOnOutsideClick){var h=function(A){var D,Y=T(),q=Y.tooltipRef,J=Y.triggerRef,Q=(A.composedPath==null||(D=A.composedPath())==null?void 0:D[0])||A.target;Q instanceof Node&&q!=null&&J!=null&&!q.contains(Q)&&!J.contains(Q)&&x()};return document.addEventListener("mousedown",h),function(){return document.removeEventListener("mousedown",h)}}},[T,x]),b.useEffect(function(){if(!(i==null||!S("click")))return i.addEventListener("click",L),function(){return i.removeEventListener("click",L)}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("double-click")))return i.addEventListener("dblclick",L),function(){return i.removeEventListener("dblclick",L)}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("right-click"))){var h=function(A){A.preventDefault(),L()};return i.addEventListener("contextmenu",h),function(){return i.removeEventListener("contextmenu",h)}}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("focus")))return i.addEventListener("focus",R),i.addEventListener("blur",x),function(){i.removeEventListener("focus",R),i.removeEventListener("blur",x)}},[i,S,R,x]),b.useEffect(function(){if(!(i==null||!S("hover")))return i.addEventListener("mouseenter",R),i.addEventListener("mouseleave",x),function(){i.removeEventListener("mouseenter",R),i.removeEventListener("mouseleave",x)}},[i,S,R,x]),b.useEffect(function(){if(!(c==null||!S("hover")||!T().finalConfig.interactive))return c.addEventListener("mouseenter",R),c.addEventListener("mouseleave",x),function(){c.removeEventListener("mouseenter",R),c.removeEventListener("mouseleave",x)}},[c,S,R,x,T]);var j=w==null||(r=w.state)==null||(o=r.modifiersData)==null||(n=o.hide)==null?void 0:n.isReferenceHidden;b.useEffect(function(){s.closeOnTriggerHidden&&j&&x()},[s.closeOnTriggerHidden,x,j]),b.useEffect(function(){if(!s.followCursor||i==null)return;function h(A){var D=A.clientX,Y=A.clientY;st.getBoundingClientRect=Tt(D,Y),y==null||y()}return i.addEventListener("mousemove",h),function(){return i.removeEventListener("mousemove",h)}},[s.followCursor,i,y]),b.useEffect(function(){if(!(c==null||y==null||s.mutationObserverOptions==null)){var h=new MutationObserver(y);return h.observe(c,s.mutationObserverOptions),function(){return h.disconnect()}}},[s.mutationObserverOptions,c,y]);var W=function(h){return h===void 0&&(h={}),te({},h,{style:te({},h.style,k.popper)},m.popper,{"data-popper-interactive":s.interactive})},V=function(h){return h===void 0&&(h={}),te({},h,m.arrow,{style:te({},h.style,k.arrow),"data-popper-arrow":!0})};return te({getArrowProps:V,getTooltipProps:W,setTooltipRef:v,setTriggerRef:f,tooltipRef:c,triggerRef:i,visible:d},w)}var{document:me}=qt,M=(0,Vt.default)(1e3)((e,t,r,o=0)=>t.split("-")[0]===e?r:o),G=8,Qr=Re.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${M("top",r,`${G*-1}px`,"auto")}`,top:`${M("bottom",r,`${G*-1}px`,"auto")}`,right:`${M("left",r,`${G*-1}px`,"auto")}`,left:`${M("right",r,`${G*-1}px`,"auto")}`,borderBottomWidth:`${M("top",r,"0",G)}px`,borderTopWidth:`${M("bottom",r,"0",G)}px`,borderRightWidth:`${M("left",r,"0",G)}px`,borderLeftWidth:`${M("right",r,"0",G)}px`,borderTopColor:M("top",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderBottomColor:M("bottom",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderLeftColor:M("left",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderRightColor:M("right",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent")})),Zr=Re.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647,colorScheme:"light dark"}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,filter:`
|
|
1
|
+
import{R as U,r as b,s as Re,l as pe,b as Bt,_ as te,c as Pt,a as Mt,e as _t}from"./DocsRenderer-LL677BLK-CDlCcJ60.js";import{b as We,d as ft}from"./iframe-Bl-fVlm8.js";import"./preload-helper-C1FmrZbK.js";import"./_commonjsHelpers-Cpj98o6Y.js";var Ht=ft({"../../node_modules/react-fast-compare/index.js"(e,t){var r=typeof Element<"u",o=typeof Map=="function",n=typeof Set=="function",s=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(u,a){if(u===a)return!0;if(u&&a&&typeof u=="object"&&typeof a=="object"){if(u.constructor!==a.constructor)return!1;var i,f,p;if(Array.isArray(u)){if(i=u.length,i!=a.length)return!1;for(f=i;f--!==0;)if(!l(u[f],a[f]))return!1;return!0}var c;if(o&&u instanceof Map&&a instanceof Map){if(u.size!==a.size)return!1;for(c=u.entries();!(f=c.next()).done;)if(!a.has(f.value[0]))return!1;for(c=u.entries();!(f=c.next()).done;)if(!l(f.value[1],a.get(f.value[0])))return!1;return!0}if(n&&u instanceof Set&&a instanceof Set){if(u.size!==a.size)return!1;for(c=u.entries();!(f=c.next()).done;)if(!a.has(f.value[0]))return!1;return!0}if(s&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(a)){if(i=u.length,i!=a.length)return!1;for(f=i;f--!==0;)if(u[f]!==a[f])return!1;return!0}if(u.constructor===RegExp)return u.source===a.source&&u.flags===a.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof a.valueOf=="function")return u.valueOf()===a.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof a.toString=="function")return u.toString()===a.toString();if(p=Object.keys(u),i=p.length,i!==Object.keys(a).length)return!1;for(f=i;f--!==0;)if(!Object.prototype.hasOwnProperty.call(a,p[f]))return!1;if(r&&u instanceof Element)return!1;for(f=i;f--!==0;)if(!((p[f]==="_owner"||p[f]==="__v"||p[f]==="__o")&&u.$$typeof)&&!l(u[p[f]],a[p[f]]))return!1;return!0}return u!==u&&a!==a}t.exports=function(u,a){try{return l(u,a)}catch(i){if((i.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw i}}}}),Nt=ft({"../../node_modules/warning/warning.js"(e,t){var r=function(){};t.exports=r}}),Vt=We(Mt(),1);const{deprecate:lt}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:qt}=__STORYBOOK_MODULE_GLOBAL__;b.createContext();b.createContext();var Ke=function(e){return e.reduce(function(t,r){var o=r[0],n=r[1];return t[o]=n,t},{})},Je=typeof window<"u"&&window.document&&window.document.createElement?b.useLayoutEffect:b.useEffect,$="top",H="bottom",N="right",B="left",je="auto",ye=[$,H,N,B],ie="start",ge="end",Ut="clippingParents",ct="viewport",ce="popper",zt="reference",Qe=ye.reduce(function(e,t){return e.concat([t+"-"+ie,t+"-"+ge])},[]),pt=[].concat(ye,[je]).reduce(function(e,t){return e.concat([t,t+"-"+ie,t+"-"+ge])},[]),It="beforeRead",Yt="read",Xt="afterRead",Ft="beforeMain",Gt="main",Kt="afterMain",Jt="beforeWrite",Qt="write",Zt="afterWrite",er=[It,Yt,Xt,Ft,Gt,Kt,Jt,Qt,Zt];function I(e){return e?(e.nodeName||"").toLowerCase():null}function P(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ne(e){var t=P(e).Element;return e instanceof t||e instanceof Element}function _(e){var t=P(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $e(e){if(typeof ShadowRoot>"u")return!1;var t=P(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function tr(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},n=t.attributes[r]||{},s=t.elements[r];!_(s)||!I(s)||(Object.assign(s.style,o),Object.keys(n).forEach(function(l){var u=n[l];u===!1?s.removeAttribute(l):s.setAttribute(l,u===!0?"":u)}))})}function rr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var n=t.elements[o],s=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),u=l.reduce(function(a,i){return a[i]="",a},{});!_(n)||!I(n)||(Object.assign(n.style,u),Object.keys(s).forEach(function(a){n.removeAttribute(a)}))})}}var dt={name:"applyStyles",enabled:!0,phase:"write",fn:tr,effect:rr,requires:["computeStyles"]};function z(e){return e.split("-")[0]}var re=Math.max,Te=Math.min,ae=Math.round;function ke(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function vt(){return!/^((?!chrome|android).)*safari/i.test(ke())}function se(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),n=1,s=1;t&&_(e)&&(n=e.offsetWidth>0&&ae(o.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ae(o.height)/e.offsetHeight||1);var l=ne(e)?P(e):window,u=l.visualViewport,a=!vt()&&r,i=(o.left+(a&&u?u.offsetLeft:0))/n,f=(o.top+(a&&u?u.offsetTop:0))/s,p=o.width/n,c=o.height/s;return{width:p,height:c,top:f,right:i+p,bottom:f+c,left:i,x:i,y:f}}function Be(e){var t=se(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function mt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&$e(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function F(e){return P(e).getComputedStyle(e)}function nr(e){return["table","td","th"].indexOf(I(e))>=0}function K(e){return((ne(e)?e.ownerDocument:e.document)||window.document).documentElement}function Le(e){return I(e)==="html"?e:e.assignedSlot||e.parentNode||($e(e)?e.host:null)||K(e)}function Ze(e){return!_(e)||F(e).position==="fixed"?null:e.offsetParent}function or(e){var t=/firefox/i.test(ke()),r=/Trident/i.test(ke());if(r&&_(e)){var o=F(e);if(o.position==="fixed")return null}var n=Le(e);for($e(n)&&(n=n.host);_(n)&&["html","body"].indexOf(I(n))<0;){var s=F(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function be(e){for(var t=P(e),r=Ze(e);r&&nr(r)&&F(r).position==="static";)r=Ze(r);return r&&(I(r)==="html"||I(r)==="body"&&F(r).position==="static")?t:r||or(e)||t}function Pe(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function de(e,t,r){return re(e,Te(t,r))}function ir(e,t,r){var o=de(e,t,r);return o>r?r:o}function gt(){return{top:0,right:0,bottom:0,left:0}}function ht(e){return Object.assign({},gt(),e)}function yt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var ar=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,ht(typeof e!="number"?e:yt(e,ye))};function sr(e){var t,r=e.state,o=e.name,n=e.options,s=r.elements.arrow,l=r.modifiersData.popperOffsets,u=z(r.placement),a=Pe(u),i=[B,N].indexOf(u)>=0,f=i?"height":"width";if(!(!s||!l)){var p=ar(n.padding,r),c=Be(s),v=a==="y"?$:B,g=a==="y"?H:N,d=r.rects.reference[f]+r.rects.reference[a]-l[a]-r.rects.popper[f],O=l[a]-r.rects.reference[a],E=be(s),C=E?a==="y"?E.clientHeight||0:E.clientWidth||0:0,k=d/2-O/2,m=p[v],w=C-c[f]-p[g],y=C/2-c[f]/2+k,T=de(m,y,w),S=a;r.modifiersData[o]=(t={},t[S]=T,t.centerOffset=T-y,t)}}function ur(e){var t=e.state,r=e.options,o=r.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||mt(t.elements.popper,n)&&(t.elements.arrow=n))}var fr={name:"arrow",enabled:!0,phase:"main",fn:sr,effect:ur,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ue(e){return e.split("-")[1]}var lr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cr(e,t){var r=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:ae(r*n)/n||0,y:ae(o*n)/n||0}}function et(e){var t,r=e.popper,o=e.popperRect,n=e.placement,s=e.variation,l=e.offsets,u=e.position,a=e.gpuAcceleration,i=e.adaptive,f=e.roundOffsets,p=e.isFixed,c=l.x,v=c===void 0?0:c,g=l.y,d=g===void 0?0:g,O=typeof f=="function"?f({x:v,y:d}):{x:v,y:d};v=O.x,d=O.y;var E=l.hasOwnProperty("x"),C=l.hasOwnProperty("y"),k=B,m=$,w=window;if(i){var y=be(r),T="clientHeight",S="clientWidth";if(y===P(r)&&(y=K(r),F(y).position!=="static"&&u==="absolute"&&(T="scrollHeight",S="scrollWidth")),y=y,n===$||(n===B||n===N)&&s===ge){m=H;var x=p&&y===w&&w.visualViewport?w.visualViewport.height:y[T];d-=x-o.height,d*=a?1:-1}if(n===B||(n===$||n===H)&&s===ge){k=N;var R=p&&y===w&&w.visualViewport?w.visualViewport.width:y[S];v-=R-o.width,v*=a?1:-1}}var L=Object.assign({position:u},i&&lr),j=f===!0?cr({x:v,y:d},P(r)):{x:v,y:d};if(v=j.x,d=j.y,a){var W;return Object.assign({},L,(W={},W[m]=C?"0":"",W[k]=E?"0":"",W.transform=(w.devicePixelRatio||1)<=1?"translate("+v+"px, "+d+"px)":"translate3d("+v+"px, "+d+"px, 0)",W))}return Object.assign({},L,(t={},t[m]=C?d+"px":"",t[k]=E?v+"px":"",t.transform="",t))}function pr(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=o===void 0?!0:o,s=r.adaptive,l=s===void 0?!0:s,u=r.roundOffsets,a=u===void 0?!0:u,i={placement:z(t.placement),variation:ue(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,et(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,et(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var bt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pr,data:{}},Ee={passive:!0};function dr(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,s=n===void 0?!0:n,l=o.resize,u=l===void 0?!0:l,a=P(t.elements.popper),i=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&i.forEach(function(f){f.addEventListener("scroll",r.update,Ee)}),u&&a.addEventListener("resize",r.update,Ee),function(){s&&i.forEach(function(f){f.removeEventListener("scroll",r.update,Ee)}),u&&a.removeEventListener("resize",r.update,Ee)}}var wt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dr,data:{}},vr={left:"right",right:"left",bottom:"top",top:"bottom"};function Se(e){return e.replace(/left|right|bottom|top/g,function(t){return vr[t]})}var mr={start:"end",end:"start"};function tt(e){return e.replace(/start|end/g,function(t){return mr[t]})}function Me(e){var t=P(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function _e(e){return se(K(e)).left+Me(e).scrollLeft}function gr(e,t){var r=P(e),o=K(e),n=r.visualViewport,s=o.clientWidth,l=o.clientHeight,u=0,a=0;if(n){s=n.width,l=n.height;var i=vt();(i||!i&&t==="fixed")&&(u=n.offsetLeft,a=n.offsetTop)}return{width:s,height:l,x:u+_e(e),y:a}}function hr(e){var t,r=K(e),o=Me(e),n=(t=e.ownerDocument)==null?void 0:t.body,s=re(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),l=re(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),u=-o.scrollLeft+_e(e),a=-o.scrollTop;return F(n||r).direction==="rtl"&&(u+=re(r.clientWidth,n?n.clientWidth:0)-s),{width:s,height:l,x:u,y:a}}function He(e){var t=F(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function xt(e){return["html","body","#document"].indexOf(I(e))>=0?e.ownerDocument.body:_(e)&&He(e)?e:xt(Le(e))}function ve(e,t){var r;t===void 0&&(t=[]);var o=xt(e),n=o===((r=e.ownerDocument)==null?void 0:r.body),s=P(o),l=n?[s].concat(s.visualViewport||[],He(o)?o:[]):o,u=t.concat(l);return n?u:u.concat(ve(Le(l)))}function De(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function yr(e,t){var r=se(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function rt(e,t,r){return t===ct?De(gr(e,r)):ne(t)?yr(t,r):De(hr(K(e)))}function br(e){var t=ve(Le(e)),r=["absolute","fixed"].indexOf(F(e).position)>=0,o=r&&_(e)?be(e):e;return ne(o)?t.filter(function(n){return ne(n)&&mt(n,o)&&I(n)!=="body"}):[]}function wr(e,t,r,o){var n=t==="clippingParents"?br(e):[].concat(t),s=[].concat(n,[r]),l=s[0],u=s.reduce(function(a,i){var f=rt(e,i,o);return a.top=re(f.top,a.top),a.right=Te(f.right,a.right),a.bottom=Te(f.bottom,a.bottom),a.left=re(f.left,a.left),a},rt(e,l,o));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Ot(e){var t=e.reference,r=e.element,o=e.placement,n=o?z(o):null,s=o?ue(o):null,l=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,a;switch(n){case $:a={x:l,y:t.y-r.height};break;case H:a={x:l,y:t.y+t.height};break;case N:a={x:t.x+t.width,y:u};break;case B:a={x:t.x-r.width,y:u};break;default:a={x:t.x,y:t.y}}var i=n?Pe(n):null;if(i!=null){var f=i==="y"?"height":"width";switch(s){case ie:a[i]=a[i]-(t[f]/2-r[f]/2);break;case ge:a[i]=a[i]+(t[f]/2-r[f]/2);break}}return a}function he(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=o===void 0?e.placement:o,s=r.strategy,l=s===void 0?e.strategy:s,u=r.boundary,a=u===void 0?Ut:u,i=r.rootBoundary,f=i===void 0?ct:i,p=r.elementContext,c=p===void 0?ce:p,v=r.altBoundary,g=v===void 0?!1:v,d=r.padding,O=d===void 0?0:d,E=ht(typeof O!="number"?O:yt(O,ye)),C=c===ce?zt:ce,k=e.rects.popper,m=e.elements[g?C:c],w=wr(ne(m)?m:m.contextElement||K(e.elements.popper),a,f,l),y=se(e.elements.reference),T=Ot({reference:y,element:k,placement:n}),S=De(Object.assign({},k,T)),x=c===ce?S:y,R={top:w.top-x.top+E.top,bottom:x.bottom-w.bottom+E.bottom,left:w.left-x.left+E.left,right:x.right-w.right+E.right},L=e.modifiersData.offset;if(c===ce&&L){var j=L[n];Object.keys(R).forEach(function(W){var V=[N,H].indexOf(W)>=0?1:-1,h=[$,H].indexOf(W)>=0?"y":"x";R[W]+=j[h]*V})}return R}function xr(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=r.boundary,s=r.rootBoundary,l=r.padding,u=r.flipVariations,a=r.allowedAutoPlacements,i=a===void 0?pt:a,f=ue(o),p=f?u?Qe:Qe.filter(function(g){return ue(g)===f}):ye,c=p.filter(function(g){return i.indexOf(g)>=0});c.length===0&&(c=p);var v=c.reduce(function(g,d){return g[d]=he(e,{placement:d,boundary:n,rootBoundary:s,padding:l})[z(d)],g},{});return Object.keys(v).sort(function(g,d){return v[g]-v[d]})}function Or(e){if(z(e)===je)return[];var t=Se(e);return[tt(e),t,tt(t)]}function Er(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,s=n===void 0?!0:n,l=r.altAxis,u=l===void 0?!0:l,a=r.fallbackPlacements,i=r.padding,f=r.boundary,p=r.rootBoundary,c=r.altBoundary,v=r.flipVariations,g=v===void 0?!0:v,d=r.allowedAutoPlacements,O=t.options.placement,E=z(O),C=E===O,k=a||(C||!g?[Se(O)]:Or(O)),m=[O].concat(k).reduce(function(Z,X){return Z.concat(z(X)===je?xr(t,{placement:X,boundary:f,rootBoundary:p,padding:i,flipVariations:g,allowedAutoPlacements:d}):X)},[]),w=t.rects.reference,y=t.rects.popper,T=new Map,S=!0,x=m[0],R=0;R<m.length;R++){var L=m[R],j=z(L),W=ue(L)===ie,V=[$,H].indexOf(j)>=0,h=V?"width":"height",A=he(t,{placement:L,boundary:f,rootBoundary:p,altBoundary:c,padding:i}),D=V?W?N:B:W?H:$;w[h]>y[h]&&(D=Se(D));var Y=Se(D),q=[];if(s&&q.push(A[j]<=0),u&&q.push(A[D]<=0,A[Y]<=0),q.every(function(Z){return Z})){x=L,S=!1;break}T.set(L,q)}if(S)for(var J=g?3:1,Q=function(Z){var X=m.find(function(xe){var le=T.get(xe);if(le)return le.slice(0,Z).every(function(oe){return oe})});if(X)return x=X,"break"},fe=J;fe>0;fe--){var we=Q(fe);if(we==="break")break}t.placement!==x&&(t.modifiersData[o]._skip=!0,t.placement=x,t.reset=!0)}}var Sr={name:"flip",enabled:!0,phase:"main",fn:Er,requiresIfExists:["offset"],data:{_skip:!1}};function nt(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function ot(e){return[$,N,H,B].some(function(t){return e[t]>=0})}function Tr(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,l=he(t,{elementContext:"reference"}),u=he(t,{altBoundary:!0}),a=nt(l,o),i=nt(u,n,s),f=ot(a),p=ot(i);t.modifiersData[r]={referenceClippingOffsets:a,popperEscapeOffsets:i,isReferenceHidden:f,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":p})}var Rr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Tr};function Lr(e,t,r){var o=z(e),n=[B,$].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=s[0],u=s[1];return l=l||0,u=(u||0)*n,[B,N].indexOf(o)>=0?{x:u,y:l}:{x:l,y:u}}function Cr(e){var t=e.state,r=e.options,o=e.name,n=r.offset,s=n===void 0?[0,0]:n,l=pt.reduce(function(f,p){return f[p]=Lr(p,t.rects,s),f},{}),u=l[t.placement],a=u.x,i=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=i),t.modifiersData[o]=l}var Ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Cr};function kr(e){var t=e.state,r=e.name;t.modifiersData[r]=Ot({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Et={name:"popperOffsets",enabled:!0,phase:"read",fn:kr,data:{}};function Dr(e){return e==="x"?"y":"x"}function Wr(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,s=n===void 0?!0:n,l=r.altAxis,u=l===void 0?!1:l,a=r.boundary,i=r.rootBoundary,f=r.altBoundary,p=r.padding,c=r.tether,v=c===void 0?!0:c,g=r.tetherOffset,d=g===void 0?0:g,O=he(t,{boundary:a,rootBoundary:i,padding:p,altBoundary:f}),E=z(t.placement),C=ue(t.placement),k=!C,m=Pe(E),w=Dr(m),y=t.modifiersData.popperOffsets,T=t.rects.reference,S=t.rects.popper,x=typeof d=="function"?d(Object.assign({},t.rects,{placement:t.placement})):d,R=typeof x=="number"?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(y){if(s){var W,V=m==="y"?$:B,h=m==="y"?H:N,A=m==="y"?"height":"width",D=y[m],Y=D+O[V],q=D-O[h],J=v?-S[A]/2:0,Q=C===ie?T[A]:S[A],fe=C===ie?-S[A]:-T[A],we=t.elements.arrow,Z=v&&we?Be(we):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gt(),xe=X[V],le=X[h],oe=de(0,T[A],Z[A]),Ct=k?T[A]/2-J-oe-xe-R.mainAxis:Q-oe-xe-R.mainAxis,At=k?-T[A]/2+J+oe+le+R.mainAxis:fe+oe+le+R.mainAxis,Ce=t.elements.arrow&&be(t.elements.arrow),kt=Ce?m==="y"?Ce.clientTop||0:Ce.clientLeft||0:0,Ve=(W=L==null?void 0:L[m])!=null?W:0,Dt=D+Ct-Ve-kt,Wt=D+At-Ve,qe=de(v?Te(Y,Dt):Y,D,v?re(q,Wt):q);y[m]=qe,j[m]=qe-D}if(u){var Ue,jt=m==="x"?$:B,$t=m==="x"?H:N,ee=y[w],Oe=w==="y"?"height":"width",ze=ee+O[jt],Ie=ee-O[$t],Ae=[$,B].indexOf(E)!==-1,Ye=(Ue=L==null?void 0:L[w])!=null?Ue:0,Xe=Ae?ze:ee-T[Oe]-S[Oe]-Ye+R.altAxis,Fe=Ae?ee+T[Oe]+S[Oe]-Ye-R.altAxis:Ie,Ge=v&&Ae?ir(Xe,ee,Fe):de(v?Xe:ze,ee,v?Fe:Ie);y[w]=Ge,j[w]=Ge-ee}t.modifiersData[o]=j}}var jr={name:"preventOverflow",enabled:!0,phase:"main",fn:Wr,requiresIfExists:["offset"]};function $r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Br(e){return e===P(e)||!_(e)?Me(e):$r(e)}function Pr(e){var t=e.getBoundingClientRect(),r=ae(t.width)/e.offsetWidth||1,o=ae(t.height)/e.offsetHeight||1;return r!==1||o!==1}function Mr(e,t,r){r===void 0&&(r=!1);var o=_(t),n=_(t)&&Pr(t),s=K(t),l=se(e,n,r),u={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(o||!o&&!r)&&((I(t)!=="body"||He(s))&&(u=Br(t)),_(t)?(a=se(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):s&&(a.x=_e(s))),{x:l.left+u.scrollLeft-a.x,y:l.top+u.scrollTop-a.y,width:l.width,height:l.height}}function _r(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function n(s){r.add(s.name);var l=[].concat(s.requires||[],s.requiresIfExists||[]);l.forEach(function(u){if(!r.has(u)){var a=t.get(u);a&&n(a)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||n(s)}),o}function Hr(e){var t=_r(e);return er.reduce(function(r,o){return r.concat(t.filter(function(n){return n.phase===o}))},[])}function Nr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Vr(e){var t=e.reduce(function(r,o){var n=r[o.name];return r[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var it={placement:"bottom",modifiers:[],strategy:"absolute"};function at(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Ne(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,n=t.defaultOptions,s=n===void 0?it:n;return function(l,u,a){a===void 0&&(a=s);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},it,s),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},f=[],p=!1,c={state:i,setOptions:function(d){var O=typeof d=="function"?d(i.options):d;g(),i.options=Object.assign({},s,i.options,O),i.scrollParents={reference:ne(l)?ve(l):l.contextElement?ve(l.contextElement):[],popper:ve(u)};var E=Hr(Vr([].concat(o,i.options.modifiers)));return i.orderedModifiers=E.filter(function(C){return C.enabled}),v(),c.update()},forceUpdate:function(){if(!p){var d=i.elements,O=d.reference,E=d.popper;if(at(O,E)){i.rects={reference:Mr(O,be(E),i.options.strategy==="fixed"),popper:Be(E)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(S){return i.modifiersData[S.name]=Object.assign({},S.data)});for(var C=0;C<i.orderedModifiers.length;C++){if(i.reset===!0){i.reset=!1,C=-1;continue}var k=i.orderedModifiers[C],m=k.fn,w=k.options,y=w===void 0?{}:w,T=k.name;typeof m=="function"&&(i=m({state:i,options:y,name:T,instance:c})||i)}}}},update:Nr(function(){return new Promise(function(d){c.forceUpdate(),d(i)})}),destroy:function(){g(),p=!0}};if(!at(l,u))return c;c.setOptions(a).then(function(d){!p&&a.onFirstUpdate&&a.onFirstUpdate(d)});function v(){i.orderedModifiers.forEach(function(d){var O=d.name,E=d.options,C=E===void 0?{}:E,k=d.effect;if(typeof k=="function"){var m=k({state:i,name:O,instance:c,options:C}),w=function(){};f.push(m||w)}})}function g(){f.forEach(function(d){return d()}),f=[]}return c}}Ne();var qr=[wt,Et,bt,dt];Ne({defaultModifiers:qr});var Ur=[wt,Et,bt,dt,Ar,Sr,jr,fr,Rr],zr=Ne({defaultModifiers:Ur}),Ir=We(Ht()),Yr=[],Xr=function(e,t,r){r===void 0&&(r={});var o=b.useRef(null),n={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Yr},s=b.useState({styles:{popper:{position:n.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=s[0],u=s[1],a=b.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(p){var c=p.state,v=Object.keys(c.elements);_t.flushSync(function(){u({styles:Ke(v.map(function(g){return[g,c.styles[g]||{}]})),attributes:Ke(v.map(function(g){return[g,c.attributes[g]]}))})})},requires:["computeStyles"]}},[]),i=b.useMemo(function(){var p={onFirstUpdate:n.onFirstUpdate,placement:n.placement,strategy:n.strategy,modifiers:[].concat(n.modifiers,[a,{name:"applyStyles",enabled:!1}])};return(0,Ir.default)(o.current,p)?o.current||p:(o.current=p,p)},[n.onFirstUpdate,n.placement,n.strategy,n.modifiers,a]),f=b.useRef();return Je(function(){f.current&&f.current.setOptions(i)},[i]),Je(function(){if(!(e==null||t==null)){var p=r.createPopper||zr,c=p(e,t,i);return f.current=c,function(){c.destroy(),f.current=null}}},[e,t,r.createPopper]),{state:f.current?f.current.state:null,styles:l.styles,attributes:l.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}};We(Nt());function St(e){var t=b.useRef(e);return t.current=e,b.useCallback(function(){return t.current},[])}var Fr=function(){};function Gr(e){var t=e.initial,r=e.value,o=e.onChange,n=o===void 0?Fr:o;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var s=b.useState(t),l=s[0],u=s[1],a=St(l),i=b.useCallback(function(p){var c=a(),v=typeof p=="function"?p(c):p;typeof v.persist=="function"&&v.persist(),u(v),typeof n=="function"&&n(v)},[a,n]),f=r!==void 0;return[f?r:l,f?n:i]}function Tt(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:function(){return null}}}}var Kr=["styles","attributes"],st={getBoundingClientRect:Tt()},ut={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"};function Jr(e,t){var r,o,n;e===void 0&&(e={}),t===void 0&&(t={});var s=Object.keys(ut).reduce(function(h,A){var D;return te({},h,(D={},D[A]=h[A]!==void 0?h[A]:ut[A],D))},e),l=b.useMemo(function(){return[{name:"offset",options:{offset:s.offset}}]},Array.isArray(s.offset)?s.offset:[]),u=te({},t,{placement:t.placement||s.placement,modifiers:t.modifiers||l}),a=b.useState(null),i=a[0],f=a[1],p=b.useState(null),c=p[0],v=p[1],g=Gr({initial:s.defaultVisible,value:s.visible,onChange:s.onVisibleChange}),d=g[0],O=g[1],E=b.useRef();b.useEffect(function(){return function(){return clearTimeout(E.current)}},[]);var C=Xr(s.followCursor?st:i,c,u),k=C.styles,m=C.attributes,w=Pt(C,Kr),y=w.update,T=St({visible:d,triggerRef:i,tooltipRef:c,finalConfig:s}),S=b.useCallback(function(h){return Array.isArray(s.trigger)?s.trigger.includes(h):s.trigger===h},Array.isArray(s.trigger)?s.trigger:[s.trigger]),x=b.useCallback(function(){clearTimeout(E.current),E.current=window.setTimeout(function(){return O(!1)},s.delayHide)},[s.delayHide,O]),R=b.useCallback(function(){clearTimeout(E.current),E.current=window.setTimeout(function(){return O(!0)},s.delayShow)},[s.delayShow,O]),L=b.useCallback(function(){T().visible?x():R()},[T,x,R]);b.useEffect(function(){if(T().finalConfig.closeOnOutsideClick){var h=function(A){var D,Y=T(),q=Y.tooltipRef,J=Y.triggerRef,Q=(A.composedPath==null||(D=A.composedPath())==null?void 0:D[0])||A.target;Q instanceof Node&&q!=null&&J!=null&&!q.contains(Q)&&!J.contains(Q)&&x()};return document.addEventListener("mousedown",h),function(){return document.removeEventListener("mousedown",h)}}},[T,x]),b.useEffect(function(){if(!(i==null||!S("click")))return i.addEventListener("click",L),function(){return i.removeEventListener("click",L)}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("double-click")))return i.addEventListener("dblclick",L),function(){return i.removeEventListener("dblclick",L)}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("right-click"))){var h=function(A){A.preventDefault(),L()};return i.addEventListener("contextmenu",h),function(){return i.removeEventListener("contextmenu",h)}}},[i,S,L]),b.useEffect(function(){if(!(i==null||!S("focus")))return i.addEventListener("focus",R),i.addEventListener("blur",x),function(){i.removeEventListener("focus",R),i.removeEventListener("blur",x)}},[i,S,R,x]),b.useEffect(function(){if(!(i==null||!S("hover")))return i.addEventListener("mouseenter",R),i.addEventListener("mouseleave",x),function(){i.removeEventListener("mouseenter",R),i.removeEventListener("mouseleave",x)}},[i,S,R,x]),b.useEffect(function(){if(!(c==null||!S("hover")||!T().finalConfig.interactive))return c.addEventListener("mouseenter",R),c.addEventListener("mouseleave",x),function(){c.removeEventListener("mouseenter",R),c.removeEventListener("mouseleave",x)}},[c,S,R,x,T]);var j=w==null||(r=w.state)==null||(o=r.modifiersData)==null||(n=o.hide)==null?void 0:n.isReferenceHidden;b.useEffect(function(){s.closeOnTriggerHidden&&j&&x()},[s.closeOnTriggerHidden,x,j]),b.useEffect(function(){if(!s.followCursor||i==null)return;function h(A){var D=A.clientX,Y=A.clientY;st.getBoundingClientRect=Tt(D,Y),y==null||y()}return i.addEventListener("mousemove",h),function(){return i.removeEventListener("mousemove",h)}},[s.followCursor,i,y]),b.useEffect(function(){if(!(c==null||y==null||s.mutationObserverOptions==null)){var h=new MutationObserver(y);return h.observe(c,s.mutationObserverOptions),function(){return h.disconnect()}}},[s.mutationObserverOptions,c,y]);var W=function(h){return h===void 0&&(h={}),te({},h,{style:te({},h.style,k.popper)},m.popper,{"data-popper-interactive":s.interactive})},V=function(h){return h===void 0&&(h={}),te({},h,m.arrow,{style:te({},h.style,k.arrow),"data-popper-arrow":!0})};return te({getArrowProps:V,getTooltipProps:W,setTooltipRef:v,setTriggerRef:f,tooltipRef:c,triggerRef:i,visible:d},w)}var{document:me}=qt,M=(0,Vt.default)(1e3)((e,t,r,o=0)=>t.split("-")[0]===e?r:o),G=8,Qr=Re.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${M("top",r,`${G*-1}px`,"auto")}`,top:`${M("bottom",r,`${G*-1}px`,"auto")}`,right:`${M("left",r,`${G*-1}px`,"auto")}`,left:`${M("right",r,`${G*-1}px`,"auto")}`,borderBottomWidth:`${M("top",r,"0",G)}px`,borderTopWidth:`${M("bottom",r,"0",G)}px`,borderRightWidth:`${M("left",r,"0",G)}px`,borderLeftWidth:`${M("right",r,"0",G)}px`,borderTopColor:M("top",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderBottomColor:M("bottom",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderLeftColor:M("left",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent"),borderRightColor:M("right",r,e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,"transparent")})),Zr=Re.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647,colorScheme:"light dark"}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?pe(e.background.app):e.background.app,filter:`
|
|
2
2
|
drop-shadow(0px 5px 5px rgba(0,0,0,0.05))
|
|
3
3
|
drop-shadow(0 1px 3px rgba(0,0,0,0.1))
|
|
4
4
|
`,borderRadius:e.appBorderRadius+2,fontSize:e.typography.size.s1}:{}),Rt=U.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:o={},tooltipRef:n,color:s,withArrows:l,...u},a)=>U.createElement(Zr,{"data-testid":"tooltip",hasChrome:t,ref:a,...u,color:s},t&&l&&U.createElement(Qr,{placement:e,...o,color:s}),r));Rt.displayName="Tooltip";var en=Re.div`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{H as o}from"./floating-vue-
|
|
1
|
+
import{H as o}from"./floating-vue-C5xzxu-B.js";const t=o.themes??{};t["dark-tooltip"]||(t["dark-tooltip"]={$extend:"tooltip"});o.themes=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as He,L as Rt,M as Lt,N as re,o as W,x as be,B as we,z as ct,g as Ee,f as ae,t as Dt,J as ht,e as Se,q as J,F as Bt,y as ye,p as Ve,n as Oe,O as Mt,i as Et,P as Ft,Q as It,S as Wt,T as jt,U as Vt}from"./iframe-DlZeCGdZ.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 L=x/2-S/2,C=P/2-m[f]/2-1,_=le(p[g],C),A=le(p[y],C),O=_,D=P-m[f]-A,T=P/2-m[f]/2+L,K=Re(O,T,D),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-D: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,D)=>O+D,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],L=await l.detectOverflow(t,w),C=[];let _=((i=s.flip)==null?void 0:i.overflows)||[];if(c&&C.push(L[g]),p){const T=ft(n,r,x);C.push(L[T[0]],L[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 D;const N=(D=_.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:D[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,L=S;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(L=$),(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),D=Z(c.bottom,0);u?L=f-2*(_!==0||A!==0?_+A:Z(c.left,c.right)):P=m-2*(O!==0||D!==0?O+D:Z(c.top,c.bottom))}await l({...t,availableWidth:L,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 Le(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"&&!Le(o))?t:o||function(i){let n=pe(i);for(;M(n)&&!We(n);){if(Le(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=Le(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 De=function(){};typeof window<"u"&&(De=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,De,Boolean],default:v("container")},boundary:{type:[String,De],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 Lo(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",Lo]]),Do={...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:Dt(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=>Lt(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=Do,Zo=Bo;export{Xo as H,Ko as O,Zo as V,Qo as k};
|
|
1
|
+
import{r as He,L as Rt,M as Lt,N as re,o as W,x as be,A as we,B as ct,g as Ee,f as ae,t as Dt,J as ht,e as Se,q as J,F as Bt,y as ye,p as Ve,n as Oe,O as Mt,i as Et,P as Ft,Q as It,S as Wt,T as jt,U as Vt}from"./iframe-Bl-fVlm8.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 L=x/2-S/2,C=P/2-m[f]/2-1,_=le(p[g],C),A=le(p[y],C),O=_,D=P-m[f]-A,T=P/2-m[f]/2+L,K=Re(O,T,D),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-D: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,D)=>O+D,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],L=await l.detectOverflow(t,w),C=[];let _=((i=s.flip)==null?void 0:i.overflows)||[];if(c&&C.push(L[g]),p){const T=ft(n,r,x);C.push(L[T[0]],L[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 D;const N=(D=_.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:D[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,L=S;if((o=t.middlewareData.shift)!=null&&o.enabled.x&&(L=$),(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),D=Z(c.bottom,0);u?L=f-2*(_!==0||A!==0?_+A:Z(c.left,c.right)):P=m-2*(O!==0||D!==0?O+D:Z(c.top,c.bottom))}await l({...t,availableWidth:L,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 Le(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"&&!Le(o))?t:o||function(i){let n=pe(i);for(;M(n)&&!We(n);){if(Le(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=Le(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 De=function(){};typeof window<"u"&&(De=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,De,Boolean],default:v("container")},boundary:{type:[String,De],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 Lo(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",Lo]]),Do={...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:Dt(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=>Lt(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=Do,Zo=Bo;export{Xo as H,Ko as O,Zo as V,Qo as k};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as m,a as e}from"./DocsRenderer-LL677BLK-
|
|
1
|
+
import{d as m,a as e}from"./DocsRenderer-LL677BLK-CDlCcJ60.js";import{b as o}from"./iframe-Bl-fVlm8.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};
|