@vc-shell/framework 2.0.0-alpha.2 → 2.0.0-alpha.3
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/assets/042c75b764bc78a7.svg +1 -0
- package/dist/assets/0ba156439a339f2a.svg +1 -0
- package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
- package/dist/assets/0d67e9e056b4c500.woff +0 -0
- package/dist/assets/0f590f8a94577092.svg +1 -0
- package/dist/assets/0fc5820f8be53a1b.svg +1 -0
- package/dist/assets/105efd028edc1dfe.woff +0 -0
- package/dist/assets/10768e2cc79fc60b.svg +1 -0
- package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
- package/dist/assets/131b34336aedaf47.woff +0 -0
- package/dist/assets/154365acf3010d96.woff2 +0 -0
- package/dist/assets/157b8721e0600ea8.svg +1 -0
- package/dist/assets/15e91cdd649cde9a.svg +1 -0
- package/dist/assets/19275e398ae57130.woff2 +0 -0
- package/dist/assets/19bb1c668a5db39f.woff2 +0 -0
- package/dist/assets/1a3e84b2457f709a.woff +0 -0
- package/dist/assets/1de63eb118636cce.svg +1 -0
- package/dist/assets/1ea01de36eb5491b.svg +1 -0
- package/dist/assets/2010ada3e82156ed.woff +0 -0
- package/dist/assets/204eaf512fde2023.svg +1 -0
- package/dist/assets/2088983edf42e153.svg +1 -0
- package/dist/assets/208f810a9321a327.svg +1 -0
- package/dist/assets/21220a9d10e6c558.svg +1 -0
- package/dist/assets/220db345a102045d.woff2 +0 -0
- package/dist/assets/225da11d23968333.svg +1 -0
- package/dist/assets/226f862dd81bdc13.woff2 +0 -0
- package/dist/assets/23a2d53395ddb14f.woff +0 -0
- package/dist/assets/259e6ad461a52ad7.svg +1 -0
- package/dist/assets/261e6dec4d53b9ac.woff +0 -0
- package/dist/assets/262f46a0b6d94bb6.svg +1 -0
- package/dist/assets/2857c513073467da.svg +1 -0
- package/dist/assets/2b3be7889467d98f.woff +0 -0
- package/dist/assets/2d4e6190eec72737.svg +1 -0
- package/dist/assets/2eba973185078bc8.woff +0 -0
- package/dist/assets/334d3f6bc766c516.woff +0 -0
- package/dist/assets/34ff7dd0c2285956.svg +1 -0
- package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
- package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
- package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
- package/dist/assets/3fc09a6113184f16.woff +0 -0
- package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
- package/dist/assets/41275bcb979cb650.svg +1 -0
- package/dist/assets/434f7982590e462f.woff +0 -0
- package/dist/assets/475937116ee3314a.woff2 +0 -0
- package/dist/assets/477e1881a0394cc5.woff +0 -0
- package/dist/assets/489710fb710e73f0.woff +0 -0
- package/dist/assets/49791943b3872376.woff2 +0 -0
- package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
- package/dist/assets/4d7a77b0e5373992.svg +1 -0
- package/dist/assets/4e43c74354534fb3.svg +1 -0
- package/dist/assets/4fe75f5117100705.svg +1 -0
- package/dist/assets/52e261a005074e1b.woff +0 -0
- package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
- package/dist/assets/54cda5482c6c9218.woff +0 -0
- package/dist/assets/550f52072e8ccafe.woff2 +0 -0
- package/dist/assets/572bb1bb4156a9c1.svg +1 -0
- package/dist/assets/6075995d7e74da46.woff2 +0 -0
- package/dist/assets/617c4736236e199e.woff +0 -0
- package/dist/assets/67230f05dc94a265.svg +1 -0
- package/dist/assets/6798e4dd4add9b48.svg +1 -0
- package/dist/assets/686d4077c1e26876.woff2 +0 -0
- package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
- package/dist/assets/6a3e73faf406cf33.svg +1 -0
- package/dist/assets/72de3a63bc0b70dd.svg +1 -0
- package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
- package/dist/assets/74ed5f8a78e71106.svg +1 -0
- package/dist/assets/7a5aa5abd625137f.ttf +0 -0
- package/dist/assets/7ce0c166fd6a1204.woff +0 -0
- package/dist/assets/7d55399c2a7bc985.svg +1 -0
- package/dist/assets/7d970675c69fca1d.woff +0 -0
- package/dist/assets/7eda727273fd98d3.svg +1 -0
- package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
- package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
- package/dist/assets/861e6b7192b3b6c7.woff +0 -0
- package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
- package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
- package/dist/assets/910b0d99b9e26568.svg +1 -0
- package/dist/assets/91fe94e424323d61.woff +0 -0
- package/dist/assets/92508f8707159b51.svg +1 -0
- package/dist/assets/9392bf1d591e1abb.svg +1 -0
- package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
- package/dist/assets/9cb83236f6bb7ab1.svg +1 -0
- package/dist/assets/9d37314695c0b68d.woff +0 -0
- package/dist/assets/a03cdcd8da5bb987.woff +0 -0
- package/dist/assets/a18404194e3f9047.svg +1 -0
- package/dist/assets/a2017fe7f0a26510.svg +1 -0
- package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
- package/dist/assets/abf88f301a0730f4.svg +1 -0
- package/dist/assets/ac1a99b3d05d8232.woff +0 -0
- package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
- package/dist/assets/b1a596e31ad1185a.svg +1 -0
- package/dist/assets/b27767411c8427be.woff +0 -0
- package/dist/assets/b325adcae33bbe7a.svg +1 -0
- package/dist/assets/b372390551ca2fa1.svg +1 -0
- package/dist/assets/b5bb1e8fc975decd.svg +1 -0
- package/dist/assets/b645a4a2181b9dc1.svg +1 -0
- package/dist/assets/b6499ddce0a4ef7d.svg +1 -0
- package/dist/assets/b7ffde2383bb16ba.woff2 +0 -0
- package/dist/assets/b94421fadd23b0f2.svg +1 -0
- package/dist/assets/bb28fb0f27f1c11b.svg +1 -0
- package/dist/assets/c5195215cb712e9c.woff2 +0 -0
- package/dist/assets/c9191b638a10f67b.woff2 +0 -0
- package/dist/assets/c97328b91ac5cc66.woff +0 -0
- package/dist/assets/ca791c5ca5848a03.svg +1 -0
- package/dist/assets/cb32840ce330103f.woff +0 -0
- package/dist/assets/ccc878931d74181b.woff2 +0 -0
- package/dist/assets/cdc69f8b549c866d.woff2 +0 -0
- package/dist/assets/d084bda16abe8a56.svg +1 -0
- package/dist/assets/d32b129cae2fffd6.svg +1 -0
- package/dist/assets/d35a4c7113315758.woff2 +0 -0
- package/dist/assets/d3f792f54ae4c307.svg +1 -0
- package/dist/assets/d5a5b8630120073d.svg +1 -0
- package/dist/assets/d5eb20bcdcf5616a.woff2 +0 -0
- package/dist/assets/d5f9664ebbfb104b.svg +1 -0
- package/dist/assets/d84247b59449dd88.woff2 +0 -0
- package/dist/assets/da4b7f5883fe7743.woff2 +0 -0
- package/dist/assets/dceaf3b39091e6a4.woff +0 -0
- package/dist/assets/dd05d43ff0df2fc7.svg +1 -0
- package/dist/assets/e2ad5b3428289141.woff +0 -0
- package/dist/assets/e38acaa1757232e0.svg +1 -0
- package/dist/assets/e4a8550f1c7ffe36.svg +1 -0
- package/dist/assets/e5adb5ae3a3698f6.svg +1 -0
- package/dist/assets/e61a1889bac955f4.woff2 +0 -0
- package/dist/assets/e72bb11356af94c7.svg +1 -0
- package/dist/assets/e98196a9f8dcb2f0.svg +1 -0
- package/dist/assets/ebec912a42ad49ff.woff +0 -0
- package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
- package/dist/assets/f09d89268e4c0317.svg +1 -0
- package/dist/assets/f239394367fcf005.woff2 +0 -0
- package/dist/assets/f5722262b6e7214e.woff2 +0 -0
- package/dist/assets/f7fc8bf46089d8b2.svg +1 -0
- package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
- package/dist/assets/fe141d99763f5d2b.woff +0 -0
- package/dist/assets/fed13b0d59903483.svg +1 -0
- package/dist/assets/fed757d2c2344ead.woff2 +0 -0
- package/dist/assets/ffc438f20e79ce73.woff +0 -0
- package/dist/framework.css +9 -0
- package/dist/framework.js +36471 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vendor-boolbase-D2i1C8XR.js +18 -0
- package/dist/vendor-cheerio-DrsWhxJH.js +1053 -0
- package/dist/vendor-cheerio-select-jw4C2SiT.js +191 -0
- package/dist/vendor-core-js-Do_NZFHx.js +880 -0
- package/dist/vendor-css-select-BwGMmTuc.js +622 -0
- package/dist/vendor-css-what-CZZaquJM.js +267 -0
- package/dist/vendor-cypress-signalr-mock-itnm2wpA.js +781 -0
- package/dist/vendor-d3-array-9cpTrqlO.js +149 -0
- package/dist/vendor-d3-axis-D1_DbKLz.js +74 -0
- package/dist/vendor-d3-brush-CcKeJp9e.js +1 -0
- package/dist/vendor-d3-color-BOYE6h_9.js +306 -0
- package/dist/vendor-d3-dispatch-fx-WMg0D.js +64 -0
- package/dist/vendor-d3-ease-Cr34gv04.js +8 -0
- package/dist/vendor-d3-format-DaIwZvFc.js +182 -0
- package/dist/vendor-d3-interpolate-BYG2gvO4.js +177 -0
- package/dist/vendor-d3-interpolate-path-CpGLvKgS.js +299 -0
- package/dist/vendor-d3-path-DJOTitNW.js +64 -0
- package/dist/vendor-d3-scale-CC5rtdt5.js +561 -0
- package/dist/vendor-d3-selection-CNMxsYiL.js +603 -0
- package/dist/vendor-d3-shape-DBhCDMiV.js +925 -0
- package/dist/vendor-d3-time-DAPP210_.js +212 -0
- package/dist/vendor-d3-time-format-hD7iE2WG.js +491 -0
- package/dist/vendor-d3-timer-C1cUWKPz.js +67 -0
- package/dist/vendor-d3-transition-BbNQT7qF.js +524 -0
- package/dist/vendor-d3-zoom-CcKeJp9e.js +1 -0
- package/dist/vendor-date-fns-BKO3x1R1.js +3102 -0
- package/dist/vendor-dom-serializer-BbVuF1MQ.js +213 -0
- package/dist/vendor-domelementtype-B3sFIGaC.js +21 -0
- package/dist/vendor-domhandler-Kufn9M_V.js +311 -0
- package/dist/vendor-dompurify-M2Bspgo5.js +553 -0
- package/dist/vendor-domutils-DDRq_ial.js +386 -0
- package/dist/vendor-emotion-cache-eEZT5l-Q.js +274 -0
- package/dist/vendor-emotion-hash-DImMRhyK.js +22 -0
- package/dist/vendor-emotion-memoize-BcEUCz8q.js +9 -0
- package/dist/vendor-emotion-serialize-BSDW8NwU.js +123 -0
- package/dist/vendor-emotion-sheet-CS8ZBl9s.js +44 -0
- package/dist/vendor-emotion-unitless-B7u1PU6w.js +53 -0
- package/dist/vendor-emotion-utils-D7refZTM.js +28 -0
- package/dist/vendor-entities-J86Og8IU.js +364 -0
- package/dist/vendor-floating-ui-core-BoHdh92a.js +432 -0
- package/dist/vendor-floating-ui-dom-BvVXFZ4B.js +398 -0
- package/dist/vendor-floating-ui-utils-CidJRIm2.js +257 -0
- package/dist/vendor-floating-ui-vue-sCrhit51.js +121 -0
- package/dist/vendor-gridstack-Dkfw452e.js +3390 -0
- package/dist/vendor-headlessui-vue-Cn-RMs4E.js +961 -0
- package/dist/vendor-htmlparser2-BxKKzWLL.js +735 -0
- package/dist/vendor-internmap-Q5729_cS.js +35 -0
- package/dist/vendor-intlify-core-base-BmIo1dK4.js +1141 -0
- package/dist/vendor-intlify-message-compiler-D9VOavkL.js +960 -0
- package/dist/vendor-intlify-shared-SCAs3ybf.js +144 -0
- package/dist/vendor-iso-639-1-rPqx9HMT.js +786 -0
- package/dist/vendor-juggle-resize-observer-DiSiNbbT.js +286 -0
- package/dist/vendor-linkify-it-LzoUhj6C.js +199 -0
- package/dist/vendor-linkifyjs-dCH9UYes.js +701 -0
- package/dist/vendor-lodash-es-BtnfG6xF.js +4829 -0
- package/dist/vendor-lucide-vue-next-CPgeDcFj.js +33093 -0
- package/dist/vendor-markdown-it-Bs9KEWkF.js +2266 -0
- package/dist/vendor-markdown-it-task-lists-CHCnS7dl.js +69 -0
- package/dist/vendor-mdurl-DZFDNdqC.js +192 -0
- package/dist/vendor-microsoft-applicationinsights-analytics-js-DFu_cVaY.js +1207 -0
- package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DRQLN2Ue.js +261 -0
- package/dist/vendor-microsoft-applicationinsights-channel-js-BIJDcP3D.js +1822 -0
- package/dist/vendor-microsoft-applicationinsights-common-CJjmnDMb.js +1921 -0
- package/dist/vendor-microsoft-applicationinsights-core-js-BOc_o46i.js +4276 -0
- package/dist/vendor-microsoft-applicationinsights-dependencies-js-DDz502id.js +1407 -0
- package/dist/vendor-microsoft-applicationinsights-properties-js-9aDWHwXJ.js +572 -0
- package/dist/vendor-microsoft-applicationinsights-shims-Dton8Vqy.js +43 -0
- package/dist/vendor-microsoft-applicationinsights-web-DTa5YN-h.js +487 -0
- package/dist/vendor-microsoft-dynamicproto-js-89GEKjvR.js +147 -0
- package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +1761 -0
- package/dist/vendor-module-federation-enhanced-CV1CNdJy.js +22 -0
- package/dist/vendor-module-federation-error-codes-DdVwX11j.js +55 -0
- package/dist/vendor-module-federation-runtime-CVH_lWgu.js +91 -0
- package/dist/vendor-module-federation-runtime-core-D5G-s9nP.js +2202 -0
- package/dist/vendor-module-federation-runtime-tools-CQbtw-RJ.js +18 -0
- package/dist/vendor-module-federation-sdk-DM4AJRa7.js +683 -0
- package/dist/vendor-nevware21-ts-async-D4qa7g-U.js +261 -0
- package/dist/vendor-nevware21-ts-utils-DII8jruI.js +853 -0
- package/dist/vendor-nth-check-CGMdQf59.js +45 -0
- package/dist/vendor-orderedmap-B3SOk52B.js +103 -0
- package/dist/vendor-parse5-htmlparser2-tree-adapter-BUDJ887-.js +143 -0
- package/dist/vendor-parse5-zq5Hn0y9.js +5749 -0
- package/dist/vendor-prettier-CoRReRqw.js +5215 -0
- package/dist/vendor-prosemirror-commands-Bv4ChObl.js +385 -0
- package/dist/vendor-prosemirror-dropcursor-kF5UKNFM.js +86 -0
- package/dist/vendor-prosemirror-gapcursor-S3ikcYX6.js +203 -0
- package/dist/vendor-prosemirror-history-CQYKHz3u.js +248 -0
- package/dist/vendor-prosemirror-keymap-CAfQyvJ7.js +62 -0
- package/dist/vendor-prosemirror-markdown-rpUTSG_Q.js +663 -0
- package/dist/vendor-prosemirror-model-DAA3avbR.js +2730 -0
- package/dist/vendor-prosemirror-schema-list-BNJkECdS.js +87 -0
- package/dist/vendor-prosemirror-state-IeimrELV.js +821 -0
- package/dist/vendor-prosemirror-tables-zVUKdbdQ.js +1414 -0
- package/dist/vendor-prosemirror-transform-BUjWd5Tb.js +1525 -0
- package/dist/vendor-prosemirror-view-DFpBkGRq.js +3794 -0
- package/dist/vendor-punycode-js-CgGegfA_.js +133 -0
- package/dist/vendor-rope-sequence-BWC2FSrq.js +100 -0
- package/dist/vendor-semver-Dar8oU3V.js +1023 -0
- package/dist/vendor-striptags-BrHtQQiF.js +120 -0
- package/dist/vendor-stylis-ClfDrgKE.js +334 -0
- package/dist/vendor-swiper-1bp0oJwt.js +3387 -0
- package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +1 -0
- package/dist/vendor-throttle-debounce-CX0imT7m.js +28 -0
- package/dist/vendor-tiptap-core-CDScflP1.js +3921 -0
- package/dist/vendor-tiptap-extension-blockquote-ChRAwuus.js +55 -0
- package/dist/vendor-tiptap-extension-bold-BwoVpOFS.js +74 -0
- package/dist/vendor-tiptap-extension-code-DOlgG3ih.js +52 -0
- package/dist/vendor-tiptap-extension-code-block-CMeTs87s.js +215 -0
- package/dist/vendor-tiptap-extension-document-DO8oly70.js +12 -0
- package/dist/vendor-tiptap-extension-hard-break-BgDl2sHf.js +59 -0
- package/dist/vendor-tiptap-extension-heading-DFuYlwHi.js +63 -0
- package/dist/vendor-tiptap-extension-horizontal-rule-uyfttMp9.js +56 -0
- package/dist/vendor-tiptap-extension-image-DPeBaTE3.js +128 -0
- package/dist/vendor-tiptap-extension-italic-C9-3jNxO.js +73 -0
- package/dist/vendor-tiptap-extension-link-B57VzStq.js +312 -0
- package/dist/vendor-tiptap-extension-list-spvOF7Mz.js +722 -0
- package/dist/vendor-tiptap-extension-paragraph-Cj7auQB7.js +44 -0
- package/dist/vendor-tiptap-extension-placeholder-DhwvmZ6Y.js +1 -0
- package/dist/vendor-tiptap-extension-strike-yj6UvnkO.js +64 -0
- package/dist/vendor-tiptap-extension-table-cell-CQpTPSvF.js +1 -0
- package/dist/vendor-tiptap-extension-table-ex1kZQ-9.js +374 -0
- package/dist/vendor-tiptap-extension-table-header-CQpTPSvF.js +1 -0
- package/dist/vendor-tiptap-extension-table-row-CQpTPSvF.js +1 -0
- package/dist/vendor-tiptap-extension-text-C8FG4KnI.js +13 -0
- package/dist/vendor-tiptap-extension-text-style-DsQDXowp.js +235 -0
- package/dist/vendor-tiptap-extension-underline-HB3fg6Dc.js +65 -0
- package/dist/vendor-tiptap-extensions-CUGwjzl5.js +296 -0
- package/dist/vendor-tiptap-markdown-DLzeP3KU.js +826 -0
- package/dist/vendor-tiptap-pm-DSHuSumV.js +1 -0
- package/dist/vendor-tiptap-starter-kit-C42PcJ7J.js +28 -0
- package/dist/vendor-tiptap-vue-3-BxWCzu9Z.js +157 -0
- package/dist/vendor-truncate-html-r2r8GKvW.js +145 -0
- package/dist/vendor-uc-micro-4lbSaZOs.js +17 -0
- package/dist/vendor-unovis-ts-Bue71Kwt.js +2382 -0
- package/dist/vendor-unovis-vue-C_K1g5KH.js +446 -0
- package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +93 -0
- package/dist/vendor-vee-validate-rules-4oWUZPpG.js +316 -0
- package/dist/vendor-vue-currency-input-CckB4kjx.js +317 -0
- package/dist/vendor-vue-demi-CD9yLWd7.js +1 -0
- package/dist/vendor-vue-devtools-api-aVYGocXp.js +93 -0
- package/dist/vendor-vue-i18n-DeO9Fa9I.js +1387 -0
- package/dist/vendor-vue-router-R3V0tq8_.js +6 -0
- package/dist/vendor-vue3-application-insights-BmJCYUcp.js +69 -0
- package/dist/vendor-vue3-touch-events-DqysuuWh.js +169 -0
- package/dist/vendor-vuepic-vue-datepicker-CaZ_qpJp.js +4998 -0
- package/dist/vendor-vueuse-components-Be490f6P.js +542 -0
- package/dist/vendor-vueuse-core-BW8bO6-j.js +5135 -0
- package/dist/vendor-vueuse-shared-bmkWEEYZ.js +1169 -0
- package/dist/vendor-w3c-keyname-CLxH8j-f.js +92 -0
- package/dist/vendor-web-vitals-vrpLO1bu.js +207 -0
- package/package.json +5 -8
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
import { o as st, f as rt, s as ct, a as lt, c as ft, b as at } from "./vendor-floating-ui-core-BoHdh92a.js";
|
|
2
|
+
import { p as N, q as v, s as b, t as m, u as O, v as G, w as R, r as j, x as T, y as A, z as $, A as W, B as z, C as ut, D as Q, E as ht, o as E, n as V, F as _, G as q, H, I as D, J as Y } from "./vendor-floating-ui-utils-CidJRIm2.js";
|
|
3
|
+
function Z(t) {
|
|
4
|
+
const e = R(t);
|
|
5
|
+
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
6
|
+
const i = T(t), r = i ? t.offsetWidth : n, s = i ? t.offsetHeight : o, c = A(n) !== r || A(o) !== s;
|
|
7
|
+
return c && (n = r, o = s), {
|
|
8
|
+
width: n,
|
|
9
|
+
height: o,
|
|
10
|
+
$: c
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
function X(t) {
|
|
14
|
+
return v(t) ? t : t.contextElement;
|
|
15
|
+
}
|
|
16
|
+
function F(t) {
|
|
17
|
+
const e = X(t);
|
|
18
|
+
if (!T(e))
|
|
19
|
+
return m(1);
|
|
20
|
+
const n = e.getBoundingClientRect(), {
|
|
21
|
+
width: o,
|
|
22
|
+
height: i,
|
|
23
|
+
$: r
|
|
24
|
+
} = Z(e);
|
|
25
|
+
let s = (r ? A(n.width) : n.width) / o, c = (r ? A(n.height) : n.height) / i;
|
|
26
|
+
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
27
|
+
x: s,
|
|
28
|
+
y: c
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
const dt = /* @__PURE__ */ m(0);
|
|
32
|
+
function tt(t) {
|
|
33
|
+
const e = O(t);
|
|
34
|
+
return !Y() || !e.visualViewport ? dt : {
|
|
35
|
+
x: e.visualViewport.offsetLeft,
|
|
36
|
+
y: e.visualViewport.offsetTop
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function gt(t, e, n) {
|
|
40
|
+
return e === void 0 && (e = !1), !n || e && n !== O(t) ? !1 : e;
|
|
41
|
+
}
|
|
42
|
+
function L(t, e, n, o) {
|
|
43
|
+
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
44
|
+
const i = t.getBoundingClientRect(), r = X(t);
|
|
45
|
+
let s = m(1);
|
|
46
|
+
e && (o ? v(o) && (s = F(o)) : s = F(t));
|
|
47
|
+
const c = gt(r, n, o) ? tt(r) : m(0);
|
|
48
|
+
let l = (i.left + c.x) / s.x, f = (i.top + c.y) / s.y, a = i.width / s.x, h = i.height / s.y;
|
|
49
|
+
if (r) {
|
|
50
|
+
const d = O(r), u = o && v(o) ? O(o) : o;
|
|
51
|
+
let w = d, p = G(w);
|
|
52
|
+
for (; p && o && u !== w; ) {
|
|
53
|
+
const y = F(p), g = p.getBoundingClientRect(), x = R(p), C = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * y.x, B = g.top + (p.clientTop + parseFloat(x.paddingTop)) * y.y;
|
|
54
|
+
l *= y.x, f *= y.y, a *= y.x, h *= y.y, l += C, f += B, w = O(p), p = G(w);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return j({
|
|
58
|
+
width: a,
|
|
59
|
+
height: h,
|
|
60
|
+
x: l,
|
|
61
|
+
y: f
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
function I(t, e) {
|
|
65
|
+
const n = H(t).scrollLeft;
|
|
66
|
+
return e ? e.left + n : L(b(t)).left + n;
|
|
67
|
+
}
|
|
68
|
+
function et(t, e) {
|
|
69
|
+
const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - I(t, n), i = n.top + e.scrollTop;
|
|
70
|
+
return {
|
|
71
|
+
x: o,
|
|
72
|
+
y: i
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function pt(t) {
|
|
76
|
+
let {
|
|
77
|
+
elements: e,
|
|
78
|
+
rect: n,
|
|
79
|
+
offsetParent: o,
|
|
80
|
+
strategy: i
|
|
81
|
+
} = t;
|
|
82
|
+
const r = i === "fixed", s = b(o), c = e ? $(e.floating) : !1;
|
|
83
|
+
if (o === s || c && r)
|
|
84
|
+
return n;
|
|
85
|
+
let l = {
|
|
86
|
+
scrollLeft: 0,
|
|
87
|
+
scrollTop: 0
|
|
88
|
+
}, f = m(1);
|
|
89
|
+
const a = m(0), h = T(o);
|
|
90
|
+
if ((h || !h && !r) && ((_(o) !== "body" || q(s)) && (l = H(o)), h)) {
|
|
91
|
+
const u = L(o);
|
|
92
|
+
f = F(o), a.x = u.x + o.clientLeft, a.y = u.y + o.clientTop;
|
|
93
|
+
}
|
|
94
|
+
const d = s && !h && !r ? et(s, l) : m(0);
|
|
95
|
+
return {
|
|
96
|
+
width: n.width * f.x,
|
|
97
|
+
height: n.height * f.y,
|
|
98
|
+
x: n.x * f.x - l.scrollLeft * f.x + a.x + d.x,
|
|
99
|
+
y: n.y * f.y - l.scrollTop * f.y + a.y + d.y
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function wt(t) {
|
|
103
|
+
return Array.from(t.getClientRects());
|
|
104
|
+
}
|
|
105
|
+
function yt(t) {
|
|
106
|
+
const e = b(t), n = H(t), o = t.ownerDocument.body, i = E(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), r = E(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
107
|
+
let s = -n.scrollLeft + I(t);
|
|
108
|
+
const c = -n.scrollTop;
|
|
109
|
+
return R(o).direction === "rtl" && (s += E(e.clientWidth, o.clientWidth) - i), {
|
|
110
|
+
width: i,
|
|
111
|
+
height: r,
|
|
112
|
+
x: s,
|
|
113
|
+
y: c
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
const J = 25;
|
|
117
|
+
function mt(t, e) {
|
|
118
|
+
const n = O(t), o = b(t), i = n.visualViewport;
|
|
119
|
+
let r = o.clientWidth, s = o.clientHeight, c = 0, l = 0;
|
|
120
|
+
if (i) {
|
|
121
|
+
r = i.width, s = i.height;
|
|
122
|
+
const a = Y();
|
|
123
|
+
(!a || a && e === "fixed") && (c = i.offsetLeft, l = i.offsetTop);
|
|
124
|
+
}
|
|
125
|
+
const f = I(o);
|
|
126
|
+
if (f <= 0) {
|
|
127
|
+
const a = o.ownerDocument, h = a.body, d = getComputedStyle(h), u = a.compatMode === "CSS1Compat" && parseFloat(d.marginLeft) + parseFloat(d.marginRight) || 0, w = Math.abs(o.clientWidth - h.clientWidth - u);
|
|
128
|
+
w <= J && (r -= w);
|
|
129
|
+
} else f <= J && (r += f);
|
|
130
|
+
return {
|
|
131
|
+
width: r,
|
|
132
|
+
height: s,
|
|
133
|
+
x: c,
|
|
134
|
+
y: l
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
function xt(t, e) {
|
|
138
|
+
const n = L(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, r = T(t) ? F(t) : m(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = i * r.x, f = o * r.y;
|
|
139
|
+
return {
|
|
140
|
+
width: s,
|
|
141
|
+
height: c,
|
|
142
|
+
x: l,
|
|
143
|
+
y: f
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
function K(t, e, n) {
|
|
147
|
+
let o;
|
|
148
|
+
if (e === "viewport")
|
|
149
|
+
o = mt(t, n);
|
|
150
|
+
else if (e === "document")
|
|
151
|
+
o = yt(b(t));
|
|
152
|
+
else if (v(e))
|
|
153
|
+
o = xt(e, n);
|
|
154
|
+
else {
|
|
155
|
+
const i = tt(t);
|
|
156
|
+
o = {
|
|
157
|
+
x: e.x - i.x,
|
|
158
|
+
y: e.y - i.y,
|
|
159
|
+
width: e.width,
|
|
160
|
+
height: e.height
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
return j(o);
|
|
164
|
+
}
|
|
165
|
+
function nt(t, e) {
|
|
166
|
+
const n = W(t);
|
|
167
|
+
return n === e || !v(n) || z(n) ? !1 : R(n).position === "fixed" || nt(n, e);
|
|
168
|
+
}
|
|
169
|
+
function vt(t, e) {
|
|
170
|
+
const n = e.get(t);
|
|
171
|
+
if (n)
|
|
172
|
+
return n;
|
|
173
|
+
let o = N(t, [], !1).filter((c) => v(c) && _(c) !== "body"), i = null;
|
|
174
|
+
const r = R(t).position === "fixed";
|
|
175
|
+
let s = r ? W(t) : t;
|
|
176
|
+
for (; v(s) && !z(s); ) {
|
|
177
|
+
const c = R(s), l = Q(s);
|
|
178
|
+
!l && c.position === "fixed" && (i = null), (r ? !l && !i : !l && c.position === "static" && !!i && (i.position === "absolute" || i.position === "fixed") || q(s) && !l && nt(t, s)) ? o = o.filter((a) => a !== s) : i = c, s = W(s);
|
|
179
|
+
}
|
|
180
|
+
return e.set(t, o), o;
|
|
181
|
+
}
|
|
182
|
+
function Rt(t) {
|
|
183
|
+
let {
|
|
184
|
+
element: e,
|
|
185
|
+
boundary: n,
|
|
186
|
+
rootBoundary: o,
|
|
187
|
+
strategy: i
|
|
188
|
+
} = t;
|
|
189
|
+
const s = [...n === "clippingAncestors" ? $(e) ? [] : vt(e, this._c) : [].concat(n), o], c = K(e, s[0], i);
|
|
190
|
+
let l = c.top, f = c.right, a = c.bottom, h = c.left;
|
|
191
|
+
for (let d = 1; d < s.length; d++) {
|
|
192
|
+
const u = K(e, s[d], i);
|
|
193
|
+
l = E(u.top, l), f = V(u.right, f), a = V(u.bottom, a), h = E(u.left, h);
|
|
194
|
+
}
|
|
195
|
+
return {
|
|
196
|
+
width: f - h,
|
|
197
|
+
height: a - l,
|
|
198
|
+
x: h,
|
|
199
|
+
y: l
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
function bt(t) {
|
|
203
|
+
const {
|
|
204
|
+
width: e,
|
|
205
|
+
height: n
|
|
206
|
+
} = Z(t);
|
|
207
|
+
return {
|
|
208
|
+
width: e,
|
|
209
|
+
height: n
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
function Ct(t, e, n) {
|
|
213
|
+
const o = T(e), i = b(e), r = n === "fixed", s = L(t, !0, r, e);
|
|
214
|
+
let c = {
|
|
215
|
+
scrollLeft: 0,
|
|
216
|
+
scrollTop: 0
|
|
217
|
+
};
|
|
218
|
+
const l = m(0);
|
|
219
|
+
function f() {
|
|
220
|
+
l.x = I(i);
|
|
221
|
+
}
|
|
222
|
+
if (o || !o && !r)
|
|
223
|
+
if ((_(e) !== "body" || q(i)) && (c = H(e)), o) {
|
|
224
|
+
const u = L(e, !0, r, e);
|
|
225
|
+
l.x = u.x + e.clientLeft, l.y = u.y + e.clientTop;
|
|
226
|
+
} else i && f();
|
|
227
|
+
r && !o && i && f();
|
|
228
|
+
const a = i && !o && !r ? et(i, c) : m(0), h = s.left + c.scrollLeft - l.x - a.x, d = s.top + c.scrollTop - l.y - a.y;
|
|
229
|
+
return {
|
|
230
|
+
x: h,
|
|
231
|
+
y: d,
|
|
232
|
+
width: s.width,
|
|
233
|
+
height: s.height
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
function M(t) {
|
|
237
|
+
return R(t).position === "static";
|
|
238
|
+
}
|
|
239
|
+
function P(t, e) {
|
|
240
|
+
if (!T(t) || R(t).position === "fixed")
|
|
241
|
+
return null;
|
|
242
|
+
if (e)
|
|
243
|
+
return e(t);
|
|
244
|
+
let n = t.offsetParent;
|
|
245
|
+
return b(t) === n && (n = n.ownerDocument.body), n;
|
|
246
|
+
}
|
|
247
|
+
function ot(t, e) {
|
|
248
|
+
const n = O(t);
|
|
249
|
+
if ($(t))
|
|
250
|
+
return n;
|
|
251
|
+
if (!T(t)) {
|
|
252
|
+
let i = W(t);
|
|
253
|
+
for (; i && !z(i); ) {
|
|
254
|
+
if (v(i) && !M(i))
|
|
255
|
+
return i;
|
|
256
|
+
i = W(i);
|
|
257
|
+
}
|
|
258
|
+
return n;
|
|
259
|
+
}
|
|
260
|
+
let o = P(t, e);
|
|
261
|
+
for (; o && ut(o) && M(o); )
|
|
262
|
+
o = P(o, e);
|
|
263
|
+
return o && z(o) && M(o) && !Q(o) ? n : o || ht(t) || n;
|
|
264
|
+
}
|
|
265
|
+
const Ot = async function(t) {
|
|
266
|
+
const e = this.getOffsetParent || ot, n = this.getDimensions, o = await n(t.floating);
|
|
267
|
+
return {
|
|
268
|
+
reference: Ct(t.reference, await e(t.floating), t.strategy),
|
|
269
|
+
floating: {
|
|
270
|
+
x: 0,
|
|
271
|
+
y: 0,
|
|
272
|
+
width: o.width,
|
|
273
|
+
height: o.height
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
function Lt(t) {
|
|
278
|
+
return R(t).direction === "rtl";
|
|
279
|
+
}
|
|
280
|
+
const Tt = {
|
|
281
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: pt,
|
|
282
|
+
getDocumentElement: b,
|
|
283
|
+
getClippingRect: Rt,
|
|
284
|
+
getOffsetParent: ot,
|
|
285
|
+
getElementRects: Ot,
|
|
286
|
+
getClientRects: wt,
|
|
287
|
+
getDimensions: bt,
|
|
288
|
+
getScale: F,
|
|
289
|
+
isElement: v,
|
|
290
|
+
isRTL: Lt
|
|
291
|
+
};
|
|
292
|
+
function it(t, e) {
|
|
293
|
+
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
294
|
+
}
|
|
295
|
+
function Et(t, e) {
|
|
296
|
+
let n = null, o;
|
|
297
|
+
const i = b(t);
|
|
298
|
+
function r() {
|
|
299
|
+
var c;
|
|
300
|
+
clearTimeout(o), (c = n) == null || c.disconnect(), n = null;
|
|
301
|
+
}
|
|
302
|
+
function s(c, l) {
|
|
303
|
+
c === void 0 && (c = !1), l === void 0 && (l = 1), r();
|
|
304
|
+
const f = t.getBoundingClientRect(), {
|
|
305
|
+
left: a,
|
|
306
|
+
top: h,
|
|
307
|
+
width: d,
|
|
308
|
+
height: u
|
|
309
|
+
} = f;
|
|
310
|
+
if (c || e(), !d || !u)
|
|
311
|
+
return;
|
|
312
|
+
const w = D(h), p = D(i.clientWidth - (a + d)), y = D(i.clientHeight - (h + u)), g = D(a), C = {
|
|
313
|
+
rootMargin: -w + "px " + -p + "px " + -y + "px " + -g + "px",
|
|
314
|
+
threshold: E(0, V(1, l)) || 1
|
|
315
|
+
};
|
|
316
|
+
let B = !0;
|
|
317
|
+
function k(U) {
|
|
318
|
+
const S = U[0].intersectionRatio;
|
|
319
|
+
if (S !== l) {
|
|
320
|
+
if (!B)
|
|
321
|
+
return s();
|
|
322
|
+
S ? s(!1, S) : o = setTimeout(() => {
|
|
323
|
+
s(!1, 1e-7);
|
|
324
|
+
}, 1e3);
|
|
325
|
+
}
|
|
326
|
+
S === 1 && !it(f, t.getBoundingClientRect()) && s(), B = !1;
|
|
327
|
+
}
|
|
328
|
+
try {
|
|
329
|
+
n = new IntersectionObserver(k, {
|
|
330
|
+
...C,
|
|
331
|
+
// Handle <iframe>s
|
|
332
|
+
root: i.ownerDocument
|
|
333
|
+
});
|
|
334
|
+
} catch {
|
|
335
|
+
n = new IntersectionObserver(k, C);
|
|
336
|
+
}
|
|
337
|
+
n.observe(t);
|
|
338
|
+
}
|
|
339
|
+
return s(!0), r;
|
|
340
|
+
}
|
|
341
|
+
function Bt(t, e, n, o) {
|
|
342
|
+
o === void 0 && (o = {});
|
|
343
|
+
const {
|
|
344
|
+
ancestorScroll: i = !0,
|
|
345
|
+
ancestorResize: r = !0,
|
|
346
|
+
elementResize: s = typeof ResizeObserver == "function",
|
|
347
|
+
layoutShift: c = typeof IntersectionObserver == "function",
|
|
348
|
+
animationFrame: l = !1
|
|
349
|
+
} = o, f = X(t), a = i || r ? [...f ? N(f) : [], ...e ? N(e) : []] : [];
|
|
350
|
+
a.forEach((g) => {
|
|
351
|
+
i && g.addEventListener("scroll", n, {
|
|
352
|
+
passive: !0
|
|
353
|
+
}), r && g.addEventListener("resize", n);
|
|
354
|
+
});
|
|
355
|
+
const h = f && c ? Et(f, n) : null;
|
|
356
|
+
let d = -1, u = null;
|
|
357
|
+
s && (u = new ResizeObserver((g) => {
|
|
358
|
+
let [x] = g;
|
|
359
|
+
x && x.target === f && u && e && (u.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
|
|
360
|
+
var C;
|
|
361
|
+
(C = u) == null || C.observe(e);
|
|
362
|
+
})), n();
|
|
363
|
+
}), f && !l && u.observe(f), e && u.observe(e));
|
|
364
|
+
let w, p = l ? L(t) : null;
|
|
365
|
+
l && y();
|
|
366
|
+
function y() {
|
|
367
|
+
const g = L(t);
|
|
368
|
+
p && !it(p, g) && n(), p = g, w = requestAnimationFrame(y);
|
|
369
|
+
}
|
|
370
|
+
return n(), () => {
|
|
371
|
+
var g;
|
|
372
|
+
a.forEach((x) => {
|
|
373
|
+
i && x.removeEventListener("scroll", n), r && x.removeEventListener("resize", n);
|
|
374
|
+
}), h?.(), (g = u) == null || g.disconnect(), u = null, l && cancelAnimationFrame(w);
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
const St = st, Dt = ct, At = rt, zt = at, Ht = lt, It = (t, e, n) => {
|
|
378
|
+
const o = /* @__PURE__ */ new Map(), i = {
|
|
379
|
+
platform: Tt,
|
|
380
|
+
...n
|
|
381
|
+
}, r = {
|
|
382
|
+
...i.platform,
|
|
383
|
+
_c: o
|
|
384
|
+
};
|
|
385
|
+
return ft(t, e, {
|
|
386
|
+
...i,
|
|
387
|
+
platform: r
|
|
388
|
+
});
|
|
389
|
+
};
|
|
390
|
+
export {
|
|
391
|
+
Ht as a,
|
|
392
|
+
Bt as b,
|
|
393
|
+
It as c,
|
|
394
|
+
zt as d,
|
|
395
|
+
At as f,
|
|
396
|
+
St as o,
|
|
397
|
+
Dt as s
|
|
398
|
+
};
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
const D = Math.min, O = Math.max, z = Math.round, G = Math.floor, J = (t) => ({
|
|
2
|
+
x: t,
|
|
3
|
+
y: t
|
|
4
|
+
}), v = {
|
|
5
|
+
left: "right",
|
|
6
|
+
right: "left",
|
|
7
|
+
bottom: "top",
|
|
8
|
+
top: "bottom"
|
|
9
|
+
};
|
|
10
|
+
function Q(t, n, e) {
|
|
11
|
+
return O(t, D(n, e));
|
|
12
|
+
}
|
|
13
|
+
function U(t, n) {
|
|
14
|
+
return typeof t == "function" ? t(n) : t;
|
|
15
|
+
}
|
|
16
|
+
function x(t) {
|
|
17
|
+
return t.split("-")[0];
|
|
18
|
+
}
|
|
19
|
+
function S(t) {
|
|
20
|
+
return t.split("-")[1];
|
|
21
|
+
}
|
|
22
|
+
function M(t) {
|
|
23
|
+
return t === "x" ? "y" : "x";
|
|
24
|
+
}
|
|
25
|
+
function R(t) {
|
|
26
|
+
return t === "y" ? "height" : "width";
|
|
27
|
+
}
|
|
28
|
+
function k(t) {
|
|
29
|
+
const n = t[0];
|
|
30
|
+
return n === "t" || n === "b" ? "y" : "x";
|
|
31
|
+
}
|
|
32
|
+
function _(t) {
|
|
33
|
+
return M(k(t));
|
|
34
|
+
}
|
|
35
|
+
function Z(t, n, e) {
|
|
36
|
+
e === void 0 && (e = !1);
|
|
37
|
+
const r = S(t), o = _(t), i = R(o);
|
|
38
|
+
let s = o === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
39
|
+
return n.reference[i] > n.floating[i] && (s = m(s)), [s, m(s)];
|
|
40
|
+
}
|
|
41
|
+
function I(t) {
|
|
42
|
+
const n = m(t);
|
|
43
|
+
return [f(t), n, f(n)];
|
|
44
|
+
}
|
|
45
|
+
function f(t) {
|
|
46
|
+
return t.includes("start") ? t.replace("start", "end") : t.replace("end", "start");
|
|
47
|
+
}
|
|
48
|
+
const h = ["left", "right"], w = ["right", "left"], j = ["top", "bottom"], B = ["bottom", "top"];
|
|
49
|
+
function H(t, n, e) {
|
|
50
|
+
switch (t) {
|
|
51
|
+
case "top":
|
|
52
|
+
case "bottom":
|
|
53
|
+
return e ? n ? w : h : n ? h : w;
|
|
54
|
+
case "left":
|
|
55
|
+
case "right":
|
|
56
|
+
return n ? j : B;
|
|
57
|
+
default:
|
|
58
|
+
return [];
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function tt(t, n, e, r) {
|
|
62
|
+
const o = S(t);
|
|
63
|
+
let i = H(x(t), e === "start", r);
|
|
64
|
+
return o && (i = i.map((s) => s + "-" + o), n && (i = i.concat(i.map(f)))), i;
|
|
65
|
+
}
|
|
66
|
+
function m(t) {
|
|
67
|
+
const n = x(t);
|
|
68
|
+
return v[n] + t.slice(n.length);
|
|
69
|
+
}
|
|
70
|
+
function W(t) {
|
|
71
|
+
return {
|
|
72
|
+
top: 0,
|
|
73
|
+
right: 0,
|
|
74
|
+
bottom: 0,
|
|
75
|
+
left: 0,
|
|
76
|
+
...t
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function nt(t) {
|
|
80
|
+
return typeof t != "number" ? W(t) : {
|
|
81
|
+
top: t,
|
|
82
|
+
right: t,
|
|
83
|
+
bottom: t,
|
|
84
|
+
left: t
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function et(t) {
|
|
88
|
+
const {
|
|
89
|
+
x: n,
|
|
90
|
+
y: e,
|
|
91
|
+
width: r,
|
|
92
|
+
height: o
|
|
93
|
+
} = t;
|
|
94
|
+
return {
|
|
95
|
+
width: r,
|
|
96
|
+
height: o,
|
|
97
|
+
top: e,
|
|
98
|
+
left: n,
|
|
99
|
+
right: n + r,
|
|
100
|
+
bottom: e + o,
|
|
101
|
+
x: n,
|
|
102
|
+
y: e
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
function u() {
|
|
106
|
+
return typeof window < "u";
|
|
107
|
+
}
|
|
108
|
+
function p(t) {
|
|
109
|
+
return A(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
110
|
+
}
|
|
111
|
+
function a(t) {
|
|
112
|
+
var n;
|
|
113
|
+
return (t == null || (n = t.ownerDocument) == null ? void 0 : n.defaultView) || window;
|
|
114
|
+
}
|
|
115
|
+
function $(t) {
|
|
116
|
+
var n;
|
|
117
|
+
return (n = (A(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : n.documentElement;
|
|
118
|
+
}
|
|
119
|
+
function A(t) {
|
|
120
|
+
return u() ? t instanceof Node || t instanceof a(t).Node : !1;
|
|
121
|
+
}
|
|
122
|
+
function E(t) {
|
|
123
|
+
return u() ? t instanceof Element || t instanceof a(t).Element : !1;
|
|
124
|
+
}
|
|
125
|
+
function N(t) {
|
|
126
|
+
return u() ? t instanceof HTMLElement || t instanceof a(t).HTMLElement : !1;
|
|
127
|
+
}
|
|
128
|
+
function b(t) {
|
|
129
|
+
return !u() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof a(t).ShadowRoot;
|
|
130
|
+
}
|
|
131
|
+
function P(t) {
|
|
132
|
+
const {
|
|
133
|
+
overflow: n,
|
|
134
|
+
overflowX: e,
|
|
135
|
+
overflowY: r,
|
|
136
|
+
display: o
|
|
137
|
+
} = L(t);
|
|
138
|
+
return /auto|scroll|overlay|hidden|clip/.test(n + r + e) && o !== "inline" && o !== "contents";
|
|
139
|
+
}
|
|
140
|
+
function ot(t) {
|
|
141
|
+
return /^(table|td|th)$/.test(p(t));
|
|
142
|
+
}
|
|
143
|
+
function F(t) {
|
|
144
|
+
try {
|
|
145
|
+
if (t.matches(":popover-open"))
|
|
146
|
+
return !0;
|
|
147
|
+
} catch {
|
|
148
|
+
}
|
|
149
|
+
try {
|
|
150
|
+
return t.matches(":modal");
|
|
151
|
+
} catch {
|
|
152
|
+
return !1;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
const K = /transform|translate|scale|rotate|perspective|filter/, V = /paint|layout|strict|content/, c = (t) => !!t && t !== "none";
|
|
156
|
+
let l;
|
|
157
|
+
function X(t) {
|
|
158
|
+
const n = E(t) ? L(t) : t;
|
|
159
|
+
return c(n.transform) || c(n.translate) || c(n.scale) || c(n.rotate) || c(n.perspective) || !Y() && (c(n.backdropFilter) || c(n.filter)) || K.test(n.willChange || "") || V.test(n.contain || "");
|
|
160
|
+
}
|
|
161
|
+
function rt(t) {
|
|
162
|
+
let n = d(t);
|
|
163
|
+
for (; N(n) && !C(n); ) {
|
|
164
|
+
if (X(n))
|
|
165
|
+
return n;
|
|
166
|
+
if (F(n))
|
|
167
|
+
return null;
|
|
168
|
+
n = d(n);
|
|
169
|
+
}
|
|
170
|
+
return null;
|
|
171
|
+
}
|
|
172
|
+
function Y() {
|
|
173
|
+
return l == null && (l = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), l;
|
|
174
|
+
}
|
|
175
|
+
function C(t) {
|
|
176
|
+
return /^(html|body|#document)$/.test(p(t));
|
|
177
|
+
}
|
|
178
|
+
function L(t) {
|
|
179
|
+
return a(t).getComputedStyle(t);
|
|
180
|
+
}
|
|
181
|
+
function it(t) {
|
|
182
|
+
return E(t) ? {
|
|
183
|
+
scrollLeft: t.scrollLeft,
|
|
184
|
+
scrollTop: t.scrollTop
|
|
185
|
+
} : {
|
|
186
|
+
scrollLeft: t.scrollX,
|
|
187
|
+
scrollTop: t.scrollY
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
function d(t) {
|
|
191
|
+
if (p(t) === "html")
|
|
192
|
+
return t;
|
|
193
|
+
const n = (
|
|
194
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
195
|
+
t.assignedSlot || // DOM Element detected.
|
|
196
|
+
t.parentNode || // ShadowRoot detected.
|
|
197
|
+
b(t) && t.host || // Fallback.
|
|
198
|
+
$(t)
|
|
199
|
+
);
|
|
200
|
+
return b(n) ? n.host : n;
|
|
201
|
+
}
|
|
202
|
+
function T(t) {
|
|
203
|
+
const n = d(t);
|
|
204
|
+
return C(n) ? t.ownerDocument ? t.ownerDocument.body : t.body : N(n) && P(n) ? n : T(n);
|
|
205
|
+
}
|
|
206
|
+
function y(t, n, e) {
|
|
207
|
+
var r;
|
|
208
|
+
n === void 0 && (n = []), e === void 0 && (e = !0);
|
|
209
|
+
const o = T(t), i = o === ((r = t.ownerDocument) == null ? void 0 : r.body), s = a(o);
|
|
210
|
+
if (i) {
|
|
211
|
+
const g = q(s);
|
|
212
|
+
return n.concat(s, s.visualViewport || [], P(o) ? o : [], g && e ? y(g) : []);
|
|
213
|
+
} else
|
|
214
|
+
return n.concat(o, y(o, [], e));
|
|
215
|
+
}
|
|
216
|
+
function q(t) {
|
|
217
|
+
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
218
|
+
}
|
|
219
|
+
export {
|
|
220
|
+
d as A,
|
|
221
|
+
C as B,
|
|
222
|
+
ot as C,
|
|
223
|
+
X as D,
|
|
224
|
+
rt as E,
|
|
225
|
+
p as F,
|
|
226
|
+
P as G,
|
|
227
|
+
it as H,
|
|
228
|
+
G as I,
|
|
229
|
+
Y as J,
|
|
230
|
+
A as K,
|
|
231
|
+
k as a,
|
|
232
|
+
m as b,
|
|
233
|
+
I as c,
|
|
234
|
+
tt as d,
|
|
235
|
+
U as e,
|
|
236
|
+
Z as f,
|
|
237
|
+
x as g,
|
|
238
|
+
Q as h,
|
|
239
|
+
S as i,
|
|
240
|
+
M as j,
|
|
241
|
+
nt as k,
|
|
242
|
+
_ as l,
|
|
243
|
+
R as m,
|
|
244
|
+
D as n,
|
|
245
|
+
O as o,
|
|
246
|
+
y as p,
|
|
247
|
+
E as q,
|
|
248
|
+
et as r,
|
|
249
|
+
$ as s,
|
|
250
|
+
J as t,
|
|
251
|
+
a as u,
|
|
252
|
+
q as v,
|
|
253
|
+
L as w,
|
|
254
|
+
N as x,
|
|
255
|
+
z as y,
|
|
256
|
+
F as z
|
|
257
|
+
};
|