@castlabs/ui 7.0.3 → 7.0.4
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/bs/checked.svg +1 -0
- package/dist/assets/bs/select-disabled.svg +1 -0
- package/dist/assets/bs/select.svg +1 -0
- package/dist/castlabs-logo-eggshell.23c10525.svg +33 -0
- package/dist/castlabs-logo.72b8026b.svg +33 -0
- package/dist/castlabs-ui.common.js +1 -1
- package/dist/castlabs-ui.css +3 -3
- package/dist/castlabs-ui.umd.js +8 -8
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/dist/checked.f00b2c85.svg +1 -0
- package/dist/fonts/DM_Mono_300.46aa9818.woff2 +0 -0
- package/dist/fonts/DM_Mono_300italic.d4b24176.woff2 +0 -0
- package/dist/fonts/DM_Mono_400.b9b6ac6a.woff2 +0 -0
- package/dist/fonts/DM_Mono_400italic.edc76b76.woff2 +0 -0
- package/dist/fonts/DM_Mono_500.3f958442.woff2 +0 -0
- package/dist/fonts/DM_Mono_500italic.3c62d36e.woff2 +0 -0
- package/dist/fonts/NonNaturalGroteskInktrap-Bold.229d19af.woff2 +0 -0
- package/dist/fonts/NonNaturalGroteskInktrap-Medium.ae23d3bb.woff2 +0 -0
- package/dist/fonts/NonNaturalGroteskInktrap-Regular.1db788b6.woff2 +0 -0
- package/dist/select-disabled.c5e07724.svg +1 -0
- package/dist/select.10c23108.svg +1 -0
- package/package.json +1 -1
- package/src/assets/bs/checked.svg +1 -0
- package/src/assets/bs/select-disabled.svg +1 -0
- package/src/assets/bs/select.svg +1 -0
- package/src/components/ClButton/style.scss +1 -1
- package/src/components/ClTabs/style.scss +1 -1
- package/src/components/form/ClFieldCheck/style.scss +1 -0
- package/src/components/form/ClFieldSelect/style.scss +8 -0
- package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +7 -4
- package/src/components/widget/ClBackCancelOk/style.scss +4 -0
- package/src/components/widget/ClCookieBanner/style.scss +0 -5
- package/src/fonts/DMMono/DMMono.scss +9 -6
- package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap.scss +3 -3
- package/src/styles/assets/logo.scss +2 -14
- package/dist/assets/cookie.svg +0 -1
- package/src/assets/cookie.svg +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#fbf9f2' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#cfc8c8' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#262a35' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/></svg>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1115.6 378.6">
|
|
3
|
+
<defs>
|
|
4
|
+
<style>
|
|
5
|
+
.st0 {
|
|
6
|
+
fill: #fbf9f2;
|
|
7
|
+
}
|
|
8
|
+
</style>
|
|
9
|
+
</defs>
|
|
10
|
+
<g>
|
|
11
|
+
<path class="st0" d="M819.9,125.5h27.5v39.7c7.8-6.1,17.4-9.8,28.6-9.8,25.7,0,40.5,15.5,40.5,46.9s-15.5,48.6-43.4,48.6-20.7-3.3-28.6-8.3l-1.7,6.5h-22.9v-123.6ZM866.1,227.7c14.4,0,21.8-6.7,21.8-24.9s-7-24-19.6-24-14.4,2.6-20.9,6.5v38.3c5.7,2.8,11.8,4.3,18.7,4.3Z"/>
|
|
12
|
+
<path class="st0" d="M410,249.2c-5-2.5-8.8-6.1-11.5-10.6s-4.1-9.8-4.1-15.6,1.3-11,4-15.4c2.7-4.4,6.8-7.9,12.4-10.4,5.6-2.5,12.5-3.7,21-3.7s10.2.2,15.8.5c5.6.3,10.4.7,14.4,1l-3.6,15.2c-5.6-.7-11.9-1.1-18.7-1.1s-11.2,1-14.2,3c-2.9,2-4.4,4.8-4.4,8.4s.6,4.1,1.8,5.7,3,2.8,5.3,3.5c2.3.8,5.1,1.2,8.3,1.2,4.8,0,8.7-.9,12-2.7,3.2-1.8,5.6-4.3,7.2-7.4,1.6-3.2,2.4-6.8,2.4-11l2.7,24.1c-1.3,3.4-3.4,6.5-6.4,9.4s-6.8,5.3-11.5,7.1-9.9,2.7-15.8,2.7-12.3-1.3-17.2-3.8ZM452.6,182c-3.7-2.7-9.1-4.1-16.4-4.1s-10.2.5-15.1,1.4-9.5,2.2-13.7,3.9l-2.8-23.1c5.5-1.7,11.2-2.9,17.1-3.9,5.9-.9,11.8-1.4,17.8-1.4,15.8,0,27.6,3.6,35.3,10.8,7.7,7.2,11.5,17.3,11.5,30.5v54.9h-28l-.2-56.9c0-5.3-1.8-9.3-5.5-12Z"/>
|
|
13
|
+
<path class="st0" d="M516.7,250.9c-6.6-1.4-12.9-3.5-18.9-6.4l4.1-23c6,3,12.3,5.3,18.9,6.8,6.6,1.5,13.1,2.3,19.5,2.3s5.3-.2,7.4-.6,3.8-1.2,5.1-2.3c1.3-1.1,2-2.7,2-4.6s-.6-3-1.7-4.1-3.1-2-5.8-2.8c-2.7-.8-6.5-1.6-11.3-2.4-9.1-1.4-16.4-3.4-21.7-5.8s-9.2-5.5-11.6-9.2c-2.4-3.7-3.5-8.3-3.5-13.7.1-6.6,2-12.2,5.7-16.8,3.7-4.5,8.6-7.9,14.8-10.1,6.2-2.2,13.1-3.3,20.7-3.3s12.4.6,18.4,1.9,11.8,2.9,17.5,5l-3.6,22.9c-5-2.3-10.5-4.2-16.5-5.5-5.9-1.3-11.8-2-17.6-2s-5.1.2-6.9.6c-1.8.4-3.1,1.1-4.1,2s-1.5,2.1-1.6,3.7c0,1.4.5,2.5,1.5,3.4s2.7,1.8,5.1,2.6c2.5.8,6.1,1.6,10.9,2.5,9.4,1.7,16.9,3.9,22.5,6.5,5.6,2.6,9.6,5.9,12,9.7,2.4,3.8,3.7,8.5,3.7,14,0,6.8-2,12.4-5.8,17-3.8,4.6-8.9,8-15.4,10.3s-13.7,3.4-21.8,3.4-15.5-.7-22-2.1Z"/>
|
|
14
|
+
<path class="st0" d="M616.6,249.3c-5-2.5-8.8-6.2-11.5-11.2-2.6-4.9-3.9-10.9-3.9-18v-40.2h-12.4v-12.5l10.9-11.3,18.5-19.8h10.9v20.6h28.8v23h-28.8v36.3c0,2.6.4,4.8,1.3,6.7.9,1.9,2.2,3.3,3.9,4.2,1.7,1,3.7,1.5,6,1.5s5-.3,7.7-.8c2.6-.6,5.2-1.4,7.8-2.6l5.1,21.3c-3.9,2.1-8.2,3.7-12.9,4.9s-9.1,1.7-13.4,1.7c-7.1,0-13.1-1.3-18.1-3.8Z"/>
|
|
15
|
+
<path class="st0" d="M672.4,125.5h28.1v125.4h-28.1v-125.4Z"/>
|
|
16
|
+
<path class="st0" d="M728.2,249.2c-5-2.5-8.8-6.1-11.5-10.6s-4.1-9.8-4.1-15.6,1.3-11,4-15.4c2.7-4.4,6.8-7.9,12.4-10.4,5.6-2.5,12.5-3.7,21-3.7s10.2.2,15.8.5c5.6.3,10.4.7,14.4,1l-3.6,15.2c-5.6-.7-11.9-1.1-18.7-1.1s-11.2,1-14.2,3c-2.9,2-4.4,4.8-4.4,8.4s.6,4.1,1.8,5.7,3,2.8,5.3,3.5c2.3.8,5.1,1.2,8.3,1.2,4.8,0,8.7-.9,12-2.7,3.2-1.8,5.6-4.3,7.2-7.4,1.6-3.2,2.4-6.8,2.4-11l2.7,24.1c-1.3,3.4-3.4,6.5-6.4,9.4s-6.8,5.3-11.5,7.1-9.9,2.7-15.8,2.7-12.3-1.3-17.2-3.8ZM770.9,182c-3.7-2.7-9.1-4.1-16.4-4.1s-10.2.5-15.1,1.4-9.5,2.2-13.7,3.9l-2.8-23.1c5.5-1.7,11.2-2.9,17.1-3.9,5.9-.9,11.8-1.4,17.8-1.4,15.8,0,27.6,3.6,35.3,10.8,7.7,7.2,11.5,17.3,11.5,30.5v54.9h-28l-.2-56.9c0-5.3-1.8-9.3-5.5-12Z"/>
|
|
17
|
+
<path class="st0" d="M943.7,250.9c-6.6-1.4-12.9-3.5-18.9-6.4l4.1-23c6,3,12.3,5.3,18.9,6.8,6.6,1.5,13.1,2.3,19.5,2.3s5.3-.2,7.4-.6c2.1-.4,3.8-1.2,5.1-2.3,1.3-1.1,1.9-2.7,1.9-4.6s-.6-3-1.7-4.1-3.1-2-5.8-2.8c-2.7-.8-6.5-1.6-11.3-2.4-9.1-1.4-16.4-3.4-21.7-5.8-5.4-2.4-9.2-5.5-11.6-9.2-2.4-3.7-3.5-8.3-3.5-13.7.1-6.6,2-12.2,5.7-16.8,3.7-4.5,8.6-7.9,14.8-10.1,6.2-2.2,13.1-3.3,20.7-3.3s12.4.6,18.4,1.9c6,1.2,11.8,2.9,17.5,5l-3.6,22.9c-5-2.3-10.5-4.2-16.5-5.5-6-1.3-11.8-2-17.6-2s-5.1.2-6.9.6-3.1,1.1-4.1,2c-.9.9-1.5,2.1-1.6,3.7,0,1.4.5,2.5,1.5,3.4,1,.9,2.7,1.8,5.1,2.6,2.5.8,6.1,1.6,10.9,2.5,9.4,1.7,16.9,3.9,22.5,6.5,5.6,2.6,9.6,5.9,12,9.7s3.7,8.5,3.7,14c0,6.8-2,12.4-5.8,17-3.8,4.6-8.9,8-15.4,10.3-6.4,2.3-13.7,3.4-21.8,3.4s-15.5-.7-22-2.1Z"/>
|
|
18
|
+
<path class="st0" d="M362.8,224.2c-5.4,1.9-10.9,2.9-16.4,2.9s-13-1.5-18.4-4.4c-5.5-2.9-9.8-7.2-13-12.7-3.2-5.5-4.7-12.1-4.7-19.7s1.5-14.1,4.6-19.7c3.1-5.5,7.4-9.7,12.8-12.7,5.4-2.9,11.5-4.4,18.4-4.4s7.3.4,10.9,1.3c3.6.9,7.2,2.2,10.8,3.9,3.6,1.7,7.3,3.9,11,6.6h0s7.6-25.5,7.6-25.5c-3.4-2.1-6.9-3.9-10.4-5.4-5.1-2.2-10.3-3.9-15.5-5-5.2-1.1-10.4-1.6-15.8-1.6-12.3,0-23.3,2.5-33.1,7.6-9.8,5.1-17.6,12.3-23.2,21.8-5.7,9.5-8.5,20.5-8.5,33.2s2.9,23.5,8.7,32.9c5.8,9.5,13.7,16.8,23.8,22,10.1,5.2,21.2,7.8,33.5,7.8s15.7-1.3,23.4-3.8c6-2,11.9-4.8,17.6-8.4l-7.7-25.6c-5.6,3.9-11.1,6.9-16.5,8.8Z"/>
|
|
19
|
+
</g>
|
|
20
|
+
<circle class="st0" cx="155.1" cy="117.1" r="14"/>
|
|
21
|
+
<circle class="st0" cx="121.6" cy="131.7" r="14.6"/>
|
|
22
|
+
<circle class="st0" cx="180.6" cy="138.7" r="12.2"/>
|
|
23
|
+
<circle class="st0" cx="149.2" cy="150.8" r="12.4"/>
|
|
24
|
+
<circle class="st0" cx="203.5" cy="159.8" r="10.4"/>
|
|
25
|
+
<circle class="st0" cx="175" cy="168.8" r="10.7"/>
|
|
26
|
+
<circle class="st0" cx="223.1" cy="182.8" r="8.9"/>
|
|
27
|
+
<circle class="st0" cx="195.8" cy="187.1" r="9.2"/>
|
|
28
|
+
<circle class="st0" cx="235.3" cy="205.8" r="7.6"/>
|
|
29
|
+
<circle class="st0" cx="212.5" cy="205.9" r="7.6"/>
|
|
30
|
+
<circle class="st0" cx="223.9" cy="225.7" r="7.3"/>
|
|
31
|
+
<circle class="st0" cx="209" cy="240.8" r="6.3"/>
|
|
32
|
+
<circle class="st0" cx="192.6" cy="251.2" r="6.1"/>
|
|
33
|
+
</svg>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1115.6 378.6">
|
|
3
|
+
<defs>
|
|
4
|
+
<style>
|
|
5
|
+
.st0 {
|
|
6
|
+
fill: #262a35;
|
|
7
|
+
}
|
|
8
|
+
</style>
|
|
9
|
+
</defs>
|
|
10
|
+
<g>
|
|
11
|
+
<path class="st0" d="M819.9,125.5h27.5v39.7c7.8-6.1,17.4-9.8,28.6-9.8,25.7,0,40.5,15.5,40.5,46.9s-15.5,48.6-43.4,48.6-20.7-3.3-28.6-8.3l-1.7,6.5h-22.9v-123.6ZM866.1,227.7c14.4,0,21.8-6.7,21.8-24.9s-7-24-19.6-24-14.4,2.6-20.9,6.5v38.3c5.7,2.8,11.8,4.3,18.7,4.3Z"/>
|
|
12
|
+
<path class="st0" d="M410,249.2c-5-2.5-8.8-6.1-11.5-10.6s-4.1-9.8-4.1-15.6,1.3-11,4-15.4c2.7-4.4,6.8-7.9,12.4-10.4,5.6-2.5,12.5-3.7,21-3.7s10.2.2,15.8.5c5.6.3,10.4.7,14.4,1l-3.6,15.2c-5.6-.7-11.9-1.1-18.7-1.1s-11.2,1-14.2,3c-2.9,2-4.4,4.8-4.4,8.4s.6,4.1,1.8,5.7,3,2.8,5.3,3.5c2.3.8,5.1,1.2,8.3,1.2,4.8,0,8.7-.9,12-2.7,3.2-1.8,5.6-4.3,7.2-7.4,1.6-3.2,2.4-6.8,2.4-11l2.7,24.1c-1.3,3.4-3.4,6.5-6.4,9.4s-6.8,5.3-11.5,7.1-9.9,2.7-15.8,2.7-12.3-1.3-17.2-3.8ZM452.6,182c-3.7-2.7-9.1-4.1-16.4-4.1s-10.2.5-15.1,1.4-9.5,2.2-13.7,3.9l-2.8-23.1c5.5-1.7,11.2-2.9,17.1-3.9,5.9-.9,11.8-1.4,17.8-1.4,15.8,0,27.6,3.6,35.3,10.8,7.7,7.2,11.5,17.3,11.5,30.5v54.9h-28l-.2-56.9c0-5.3-1.8-9.3-5.5-12Z"/>
|
|
13
|
+
<path class="st0" d="M516.7,250.9c-6.6-1.4-12.9-3.5-18.9-6.4l4.1-23c6,3,12.3,5.3,18.9,6.8,6.6,1.5,13.1,2.3,19.5,2.3s5.3-.2,7.4-.6,3.8-1.2,5.1-2.3c1.3-1.1,2-2.7,2-4.6s-.6-3-1.7-4.1-3.1-2-5.8-2.8c-2.7-.8-6.5-1.6-11.3-2.4-9.1-1.4-16.4-3.4-21.7-5.8s-9.2-5.5-11.6-9.2c-2.4-3.7-3.5-8.3-3.5-13.7.1-6.6,2-12.2,5.7-16.8,3.7-4.5,8.6-7.9,14.8-10.1,6.2-2.2,13.1-3.3,20.7-3.3s12.4.6,18.4,1.9,11.8,2.9,17.5,5l-3.6,22.9c-5-2.3-10.5-4.2-16.5-5.5-5.9-1.3-11.8-2-17.6-2s-5.1.2-6.9.6c-1.8.4-3.1,1.1-4.1,2s-1.5,2.1-1.6,3.7c0,1.4.5,2.5,1.5,3.4s2.7,1.8,5.1,2.6c2.5.8,6.1,1.6,10.9,2.5,9.4,1.7,16.9,3.9,22.5,6.5,5.6,2.6,9.6,5.9,12,9.7,2.4,3.8,3.7,8.5,3.7,14,0,6.8-2,12.4-5.8,17-3.8,4.6-8.9,8-15.4,10.3s-13.7,3.4-21.8,3.4-15.5-.7-22-2.1Z"/>
|
|
14
|
+
<path class="st0" d="M616.6,249.3c-5-2.5-8.8-6.2-11.5-11.2-2.6-4.9-3.9-10.9-3.9-18v-40.2h-12.4v-12.5l10.9-11.3,18.5-19.8h10.9v20.6h28.8v23h-28.8v36.3c0,2.6.4,4.8,1.3,6.7.9,1.9,2.2,3.3,3.9,4.2,1.7,1,3.7,1.5,6,1.5s5-.3,7.7-.8c2.6-.6,5.2-1.4,7.8-2.6l5.1,21.3c-3.9,2.1-8.2,3.7-12.9,4.9s-9.1,1.7-13.4,1.7c-7.1,0-13.1-1.3-18.1-3.8Z"/>
|
|
15
|
+
<path class="st0" d="M672.4,125.5h28.1v125.4h-28.1v-125.4Z"/>
|
|
16
|
+
<path class="st0" d="M728.2,249.2c-5-2.5-8.8-6.1-11.5-10.6s-4.1-9.8-4.1-15.6,1.3-11,4-15.4c2.7-4.4,6.8-7.9,12.4-10.4,5.6-2.5,12.5-3.7,21-3.7s10.2.2,15.8.5c5.6.3,10.4.7,14.4,1l-3.6,15.2c-5.6-.7-11.9-1.1-18.7-1.1s-11.2,1-14.2,3c-2.9,2-4.4,4.8-4.4,8.4s.6,4.1,1.8,5.7,3,2.8,5.3,3.5c2.3.8,5.1,1.2,8.3,1.2,4.8,0,8.7-.9,12-2.7,3.2-1.8,5.6-4.3,7.2-7.4,1.6-3.2,2.4-6.8,2.4-11l2.7,24.1c-1.3,3.4-3.4,6.5-6.4,9.4s-6.8,5.3-11.5,7.1-9.9,2.7-15.8,2.7-12.3-1.3-17.2-3.8ZM770.9,182c-3.7-2.7-9.1-4.1-16.4-4.1s-10.2.5-15.1,1.4-9.5,2.2-13.7,3.9l-2.8-23.1c5.5-1.7,11.2-2.9,17.1-3.9,5.9-.9,11.8-1.4,17.8-1.4,15.8,0,27.6,3.6,35.3,10.8,7.7,7.2,11.5,17.3,11.5,30.5v54.9h-28l-.2-56.9c0-5.3-1.8-9.3-5.5-12Z"/>
|
|
17
|
+
<path class="st0" d="M943.7,250.9c-6.6-1.4-12.9-3.5-18.9-6.4l4.1-23c6,3,12.3,5.3,18.9,6.8,6.6,1.5,13.1,2.3,19.5,2.3s5.3-.2,7.4-.6c2.1-.4,3.8-1.2,5.1-2.3,1.3-1.1,1.9-2.7,1.9-4.6s-.6-3-1.7-4.1-3.1-2-5.8-2.8c-2.7-.8-6.5-1.6-11.3-2.4-9.1-1.4-16.4-3.4-21.7-5.8-5.4-2.4-9.2-5.5-11.6-9.2-2.4-3.7-3.5-8.3-3.5-13.7.1-6.6,2-12.2,5.7-16.8,3.7-4.5,8.6-7.9,14.8-10.1,6.2-2.2,13.1-3.3,20.7-3.3s12.4.6,18.4,1.9c6,1.2,11.8,2.9,17.5,5l-3.6,22.9c-5-2.3-10.5-4.2-16.5-5.5-6-1.3-11.8-2-17.6-2s-5.1.2-6.9.6-3.1,1.1-4.1,2c-.9.9-1.5,2.1-1.6,3.7,0,1.4.5,2.5,1.5,3.4,1,.9,2.7,1.8,5.1,2.6,2.5.8,6.1,1.6,10.9,2.5,9.4,1.7,16.9,3.9,22.5,6.5,5.6,2.6,9.6,5.9,12,9.7s3.7,8.5,3.7,14c0,6.8-2,12.4-5.8,17-3.8,4.6-8.9,8-15.4,10.3-6.4,2.3-13.7,3.4-21.8,3.4s-15.5-.7-22-2.1Z"/>
|
|
18
|
+
<path class="st0" d="M362.8,224.2c-5.4,1.9-10.9,2.9-16.4,2.9s-13-1.5-18.4-4.4c-5.5-2.9-9.8-7.2-13-12.7-3.2-5.5-4.7-12.1-4.7-19.7s1.5-14.1,4.6-19.7c3.1-5.5,7.4-9.7,12.8-12.7,5.4-2.9,11.5-4.4,18.4-4.4s7.3.4,10.9,1.3c3.6.9,7.2,2.2,10.8,3.9,3.6,1.7,7.3,3.9,11,6.6h0s7.6-25.5,7.6-25.5c-3.4-2.1-6.9-3.9-10.4-5.4-5.1-2.2-10.3-3.9-15.5-5-5.2-1.1-10.4-1.6-15.8-1.6-12.3,0-23.3,2.5-33.1,7.6-9.8,5.1-17.6,12.3-23.2,21.8-5.7,9.5-8.5,20.5-8.5,33.2s2.9,23.5,8.7,32.9c5.8,9.5,13.7,16.8,23.8,22,10.1,5.2,21.2,7.8,33.5,7.8s15.7-1.3,23.4-3.8c6-2,11.9-4.8,17.6-8.4l-7.7-25.6c-5.6,3.9-11.1,6.9-16.5,8.8Z"/>
|
|
19
|
+
</g>
|
|
20
|
+
<circle class="st0" cx="155.1" cy="117.1" r="14"/>
|
|
21
|
+
<circle class="st0" cx="121.6" cy="131.7" r="14.6"/>
|
|
22
|
+
<circle class="st0" cx="180.6" cy="138.7" r="12.2"/>
|
|
23
|
+
<circle class="st0" cx="149.2" cy="150.8" r="12.4"/>
|
|
24
|
+
<circle class="st0" cx="203.5" cy="159.8" r="10.4"/>
|
|
25
|
+
<circle class="st0" cx="175" cy="168.8" r="10.7"/>
|
|
26
|
+
<circle class="st0" cx="223.1" cy="182.8" r="8.9"/>
|
|
27
|
+
<circle class="st0" cx="195.8" cy="187.1" r="9.2"/>
|
|
28
|
+
<circle class="st0" cx="235.3" cy="205.8" r="7.6"/>
|
|
29
|
+
<circle class="st0" cx="212.5" cy="205.9" r="7.6"/>
|
|
30
|
+
<circle class="st0" cx="223.9" cy="225.7" r="7.3"/>
|
|
31
|
+
<circle class="st0" cx="209" cy="240.8" r="6.3"/>
|
|
32
|
+
<circle class="st0" cx="192.6" cy="251.2" r="6.1"/>
|
|
33
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");var Qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Js={},Zs;function Ea(){return Zs||(Zs=1,function(){var e=function(g,f){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var y in l)Object.prototype.hasOwnProperty.call(l,y)&&(h[y]=l[y])},e(g,f)},s=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Qs<"u"?Qs:typeof self<"u"?self:{},c=function(g){var f=typeof g;return g!=null&&(f=="object"||f=="function")},p=typeof s=="object"&&s&&s.Object===Object&&s,b=typeof self=="object"&&self&&self.Object===Object&&self,v=p||b||Function("return this")(),u=v,N=function(){return u.Date.now()},U=/\s/,ae=function(g){for(var f=g.length;f--&&U.test(g.charAt(f)););return f},we=/^\s+/,Se=function(g){return g&&g.slice(0,ae(g)+1).replace(we,"")},bt=v.Symbol,nt=bt,Xe=Object.prototype,Jn=Xe.hasOwnProperty,Vn=Xe.toString,ne=nt?nt.toStringTag:void 0,me=function(g){var f=Jn.call(g,ne),h=g[ne];try{g[ne]=void 0;var l=!0}catch{}var y=Vn.call(g);return l&&(f?g[ne]=h:delete g[ne]),y},oe=Object.prototype.toString,Zn=me,Mn=function(g){return oe.call(g)},ei=bt?bt.toStringTag:void 0,Oi=function(g){return g==null?g===void 0?"[object Undefined]":"[object Null]":ei&&ei in Object(g)?Zn(g):Mn(g)},Di=function(g){return g!=null&&typeof g=="object"},zn=Se,Ln=c,ti=function(g){return typeof g=="symbol"||Di(g)&&Oi(g)=="[object Symbol]"},Vi=/^[-+]0x[0-9a-f]+$/i,ni=/^0b[01]+$/i,ii=/^0o[0-7]+$/i,oi=parseInt,si=c,yt=N,_t=function(g){if(typeof g=="number")return g;if(ti(g))return NaN;if(Ln(g)){var f=typeof g.valueOf=="function"?g.valueOf():g;g=Ln(f)?f+"":f}if(typeof g!="string")return g===0?g:+g;g=zn(g);var h=ni.test(g);return h||ii.test(g)?oi(g.slice(2),h?2:8):Vi.test(g)?NaN:+g},Mi=Math.max,ri=Math.min,_=function(g,f,h){var l,y,T,D,L,K,X=0,le=!1,J=!1,ee=!0;if(typeof g!="function")throw new TypeError("Expected a function");function ve(te){var _e=l,de=y;return l=y=void 0,X=te,D=g.apply(de,_e)}function be(te){return X=te,L=setTimeout(Ve,f),le?ve(te):D}function ye(te){var _e=te-K;return K===void 0||_e>=f||_e<0||J&&te-X>=T}function Ve(){var te=yt();if(ye(te))return $t(te);L=setTimeout(Ve,function(_e){var de=f-(_e-K);return J?ri(de,T-(_e-X)):de}(te))}function $t(te){return L=void 0,ee&&l?ve(te):(l=y=void 0,D)}function Qe(){var te=yt(),_e=ye(te);if(l=arguments,y=this,K=te,_e){if(L===void 0)return be(K);if(J)return clearTimeout(L),L=setTimeout(Ve,f),ve(K)}return L===void 0&&(L=setTimeout(Ve,f)),D}return f=_t(f)||0,si(h)&&(le=!!h.leading,T=(J="maxWait"in h)?Mi(_t(h.maxWait)||0,f):T,ee="trailing"in h?!!h.trailing:ee),Qe.cancel=function(){L!==void 0&&clearTimeout(L),X=0,l=K=y=L=void 0},Qe.flush=function(){return L===void 0?D:$t(yt())},Qe},In=_,li=c,Fn=function(g,f,h){var l=!0,y=!0;if(typeof g!="function")throw new TypeError("Expected a function");return li(h)&&(l="leading"in h?!!h.leading:l,y="trailing"in h?!!h.trailing:y),In(g,f,{leading:l,maxWait:f,trailing:y})},se=function(){return se=Object.assign||function(g){for(var f,h=1,l=arguments.length;h<l;h++)for(var y in f=arguments[h])Object.prototype.hasOwnProperty.call(f,y)&&(g[y]=f[y]);return g},se.apply(this,arguments)};function Ye(g){return g&&g.ownerDocument&&g.ownerDocument.defaultView?g.ownerDocument.defaultView:window}function ge(g){return g&&g.ownerDocument?g.ownerDocument:document}var Ct=function(g){return Array.prototype.reduce.call(g,function(f,h){var l=h.name.match(/data-simplebar-(.+)/);if(l){var y=l[1].replace(/\W+(.)/g,function(T,D){return D.toUpperCase()});switch(h.value){case"true":f[y]=!0;break;case"false":f[y]=!1;break;case void 0:f[y]=!0;break;default:f[y]=h.value}}return f},{})};function S(g,f){var h;g&&(h=g.classList).add.apply(h,f.split(" "))}function it(g,f){g&&f.split(" ").forEach(function(h){g.classList.remove(h)})}function Pn(g){return".".concat(g.split(" ").join("."))}var xn=!(typeof window>"u"||!window.document||!window.document.createElement),zi=Object.freeze({__proto__:null,addClasses:S,canUseDOM:xn,classNamesToQuery:Pn,getElementDocument:ge,getElementWindow:Ye,getOptions:Ct,removeClasses:it}),De=null,jn=null;function Ke(){if(De===null){if(typeof document>"u")return De=0;var g=document.body,f=document.createElement("div");f.classList.add("simplebar-hide-scrollbar"),g.appendChild(f);var h=f.getBoundingClientRect().right;g.removeChild(f),De=h}return De}xn&&window.addEventListener("resize",function(){jn!==window.devicePixelRatio&&(jn=window.devicePixelRatio,De=null)});var ce=Ye,Wn=ge,Li=Ct,Le=S,Ie=it,re=Pn,kt=function(){function g(f,h){h===void 0&&(h={});var l=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var y=ce(l.el);l.scrollXTicking||(y.requestAnimationFrame(l.scrollX),l.scrollXTicking=!0),l.scrollYTicking||(y.requestAnimationFrame(l.scrollY),l.scrollYTicking=!0),l.isScrolling||(l.isScrolling=!0,Le(l.el,l.classNames.scrolling)),l.showScrollbar("x"),l.showScrollbar("y"),l.onStopScrolling()},this.scrollX=function(){l.axis.x.isOverflowing&&l.positionScrollbar("x"),l.scrollXTicking=!1},this.scrollY=function(){l.axis.y.isOverflowing&&l.positionScrollbar("y"),l.scrollYTicking=!1},this._onStopScrolling=function(){Ie(l.el,l.classNames.scrolling),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isScrolling=!1},this.onMouseEnter=function(){l.isMouseEntering||(Le(l.el,l.classNames.mouseEntered),l.showScrollbar("x"),l.showScrollbar("y"),l.isMouseEntering=!0),l.onMouseEntered()},this._onMouseEntered=function(){Ie(l.el,l.classNames.mouseEntered),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isMouseEntering=!1},this._onMouseMove=function(y){l.mouseX=y.clientX,l.mouseY=y.clientY,(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseMoveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseMoveForAxis("y")},this.onMouseLeave=function(){l.onMouseMove.cancel(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseLeaveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseLeaveForAxis("y"),l.mouseX=-1,l.mouseY=-1},this._onWindowResize=function(){l.scrollbarWidth=l.getScrollbarWidth(),l.hideNativeScrollbar()},this.onPointerEvent=function(y){var T,D;l.axis.x.track.el&&l.axis.y.track.el&&l.axis.x.scrollbar.el&&l.axis.y.scrollbar.el&&(l.axis.x.track.rect=l.axis.x.track.el.getBoundingClientRect(),l.axis.y.track.rect=l.axis.y.track.el.getBoundingClientRect(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&(T=l.isWithinBounds(l.axis.x.track.rect)),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&(D=l.isWithinBounds(l.axis.y.track.rect)),(T||D)&&(y.stopPropagation(),y.type==="pointerdown"&&y.pointerType!=="touch"&&(T&&(l.axis.x.scrollbar.rect=l.axis.x.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.x.scrollbar.rect)?l.onDragStart(y,"x"):l.onTrackClick(y,"x")),D&&(l.axis.y.scrollbar.rect=l.axis.y.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.scrollbar.rect)?l.onDragStart(y,"y"):l.onTrackClick(y,"y")))))},this.drag=function(y){var T,D,L,K,X,le,J,ee,ve,be,ye;if(l.draggedAxis&&l.contentWrapperEl){var Ve=l.axis[l.draggedAxis].track,$t=(D=(T=Ve.rect)===null||T===void 0?void 0:T[l.axis[l.draggedAxis].sizeAttr])!==null&&D!==void 0?D:0,Qe=l.axis[l.draggedAxis].scrollbar,te=(K=(L=l.contentWrapperEl)===null||L===void 0?void 0:L[l.axis[l.draggedAxis].scrollSizeAttr])!==null&&K!==void 0?K:0,_e=parseInt((le=(X=l.elStyles)===null||X===void 0?void 0:X[l.axis[l.draggedAxis].sizeAttr])!==null&&le!==void 0?le:"0px",10);y.preventDefault(),y.stopPropagation();var de=(l.draggedAxis==="y"?y.pageY:y.pageX)-((ee=(J=Ve.rect)===null||J===void 0?void 0:J[l.axis[l.draggedAxis].offsetAttr])!==null&&ee!==void 0?ee:0)-l.axis[l.draggedAxis].dragOffset,Fe=(de=l.draggedAxis==="x"&&l.isRtl?((be=(ve=Ve.rect)===null||ve===void 0?void 0:ve[l.axis[l.draggedAxis].sizeAttr])!==null&&be!==void 0?be:0)-Qe.size-de:de)/($t-Qe.size)*(te-_e);l.draggedAxis==="x"&&l.isRtl&&(Fe=!((ye=g.getRtlHelpers())===null||ye===void 0)&&ye.isScrollingToNegative?-Fe:Fe),l.contentWrapperEl[l.axis[l.draggedAxis].scrollOffsetAttr]=Fe}},this.onEndDrag=function(y){l.isDragging=!1;var T=Wn(l.el),D=ce(l.el);y.preventDefault(),y.stopPropagation(),Ie(l.el,l.classNames.dragging),l.onStopScrolling(),T.removeEventListener("mousemove",l.drag,!0),T.removeEventListener("mouseup",l.onEndDrag,!0),l.removePreventClickId=D.setTimeout(function(){T.removeEventListener("click",l.preventClick,!0),T.removeEventListener("dblclick",l.preventClick,!0),l.removePreventClickId=null})},this.preventClick=function(y){y.preventDefault(),y.stopPropagation()},this.el=f,this.options=se(se({},g.defaultOptions),h),this.classNames=se(se({},g.defaultOptions.classNames),h.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Fn(this._onMouseMove,64),this.onWindowResize=_(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=_(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=_(this._onMouseEntered,this.stopScrollDelay),this.init()}return g.getRtlHelpers=function(){if(g.rtlHelpers)return g.rtlHelpers;var f=document.createElement("div");f.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var h=f.firstElementChild,l=h?.firstElementChild;if(!l)return null;document.body.appendChild(h),h.scrollLeft=0;var y=g.getOffset(h),T=g.getOffset(l);h.scrollLeft=-999;var D=g.getOffset(l);return document.body.removeChild(h),g.rtlHelpers={isScrollOriginAtZero:y.left!==T.left,isScrollingToNegative:T.left!==D.left},g.rtlHelpers},g.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Ke()}catch{return Ke()}},g.getOffset=function(f){var h=f.getBoundingClientRect(),l=Wn(f),y=ce(f);return{top:h.top+(y.pageYOffset||l.documentElement.scrollTop),left:h.left+(y.pageXOffset||l.documentElement.scrollLeft)}},g.prototype.init=function(){xn&&(this.initDOM(),this.rtlHelpers=g.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},g.prototype.initDOM=function(){var f,h;this.wrapperEl=this.el.querySelector(re(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(re(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(re(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(re(this.classNames.offset)),this.maskEl=this.el.querySelector(re(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,re(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(re(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(re(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.vertical))),this.axis.x.scrollbar.el=((f=this.axis.x.track.el)===null||f===void 0?void 0:f.querySelector(re(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((h=this.axis.y.track.el)===null||h===void 0?void 0:h.querySelector(re(this.classNames.scrollbar)))||null,this.options.autoHide||(Le(this.axis.x.scrollbar.el,this.classNames.visible),Le(this.axis.y.scrollbar.el,this.classNames.visible))},g.prototype.initListeners=function(){var f,h=this,l=ce(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(f=this.contentWrapperEl)===null||f===void 0||f.addEventListener("scroll",this.onScroll),l.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var y=!1,T=l.ResizeObserver||ResizeObserver;this.resizeObserver=new T(function(){y&&l.requestAnimationFrame(function(){h.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),l.requestAnimationFrame(function(){y=!0})}this.mutationObserver=new l.MutationObserver(function(){l.requestAnimationFrame(function(){h.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},g.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var f=ce(this.el);this.elStyles=f.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var h=this.contentEl.offsetWidth,l=this.heightAutoObserverEl.offsetHeight<=1,y=this.heightAutoObserverEl.offsetWidth<=1||h>0,T=this.contentWrapperEl.offsetWidth,D=this.elStyles.overflowX,L=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var K=this.contentEl.scrollHeight,X=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=l?"auto":"100%",this.placeholderEl.style.width=y?"".concat(h||X,"px"):"auto",this.placeholderEl.style.height="".concat(K,"px");var le=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=h!==0&&X>h,this.axis.y.isOverflowing=K>le,this.axis.x.isOverflowing=D!=="hidden"&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=L!=="hidden"&&this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var J=this.axis.x.isOverflowing?this.scrollbarWidth:0,ee=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&X>T-ee,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&K>le-J,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},g.prototype.getScrollbarSize=function(f){var h,l;if(f===void 0&&(f="y"),!this.axis[f].isOverflowing||!this.contentEl)return 0;var y,T=this.contentEl[this.axis[f].scrollSizeAttr],D=(l=(h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])!==null&&l!==void 0?l:0,L=D/T;return y=Math.max(~~(L*D),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(y=Math.min(y,this.options.scrollbarMaxSize)),y},g.prototype.positionScrollbar=function(f){var h,l,y;f===void 0&&(f="y");var T=this.axis[f].scrollbar;if(this.axis[f].isOverflowing&&this.contentWrapperEl&&T.el&&this.elStyles){var D=this.contentWrapperEl[this.axis[f].scrollSizeAttr],L=((h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])||0,K=parseInt(this.elStyles[this.axis[f].sizeAttr],10),X=this.contentWrapperEl[this.axis[f].scrollOffsetAttr];X=f==="x"&&this.isRtl&&(!((l=g.getRtlHelpers())===null||l===void 0)&&l.isScrollOriginAtZero)?-X:X,f==="x"&&this.isRtl&&(X=!((y=g.getRtlHelpers())===null||y===void 0)&&y.isScrollingToNegative?X:-X);var le=X/(D-K),J=~~((L-T.size)*le);J=f==="x"&&this.isRtl?-J+(L-T.size):J,T.el.style.transform=f==="x"?"translate3d(".concat(J,"px, 0, 0)"):"translate3d(0, ".concat(J,"px, 0)")}},g.prototype.toggleTrackVisibility=function(f){f===void 0&&(f="y");var h=this.axis[f].track.el,l=this.axis[f].scrollbar.el;h&&l&&this.contentWrapperEl&&(this.axis[f].isOverflowing||this.axis[f].forceVisible?(h.style.visibility="visible",this.contentWrapperEl.style[this.axis[f].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(f))):(h.style.visibility="hidden",this.contentWrapperEl.style[this.axis[f].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(f))),this.axis[f].isOverflowing?l.style.display="block":l.style.display="none")},g.prototype.showScrollbar=function(f){f===void 0&&(f="y"),this.axis[f].isOverflowing&&!this.axis[f].scrollbar.isVisible&&(Le(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!0)},g.prototype.hideScrollbar=function(f){f===void 0&&(f="y"),this.isDragging||this.axis[f].isOverflowing&&this.axis[f].scrollbar.isVisible&&(Ie(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!1)},g.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},g.prototype.onMouseMoveForAxis=function(f){f===void 0&&(f="y");var h=this.axis[f];h.track.el&&h.scrollbar.el&&(h.track.rect=h.track.el.getBoundingClientRect(),h.scrollbar.rect=h.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(h.track.rect)?(this.showScrollbar(f),Le(h.track.el,this.classNames.hover),this.isWithinBounds(h.scrollbar.rect)?Le(h.scrollbar.el,this.classNames.hover):Ie(h.scrollbar.el,this.classNames.hover)):(Ie(h.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)))},g.prototype.onMouseLeaveForAxis=function(f){f===void 0&&(f="y"),Ie(this.axis[f].track.el,this.classNames.hover),Ie(this.axis[f].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)},g.prototype.onDragStart=function(f,h){var l;h===void 0&&(h="y"),this.isDragging=!0;var y=Wn(this.el),T=ce(this.el),D=this.axis[h].scrollbar,L=h==="y"?f.pageY:f.pageX;this.axis[h].dragOffset=L-(((l=D.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])||0),this.draggedAxis=h,Le(this.el,this.classNames.dragging),y.addEventListener("mousemove",this.drag,!0),y.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(y.addEventListener("click",this.preventClick,!0),y.addEventListener("dblclick",this.preventClick,!0)):(T.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},g.prototype.onTrackClick=function(f,h){var l,y,T,D,L=this;h===void 0&&(h="y");var K=this.axis[h];if(this.options.clickOnTrack&&K.scrollbar.el&&this.contentWrapperEl){f.preventDefault();var X=ce(this.el);this.axis[h].scrollbar.rect=K.scrollbar.el.getBoundingClientRect();var le=(y=(l=this.axis[h].scrollbar.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])!==null&&y!==void 0?y:0,J=parseInt((D=(T=this.elStyles)===null||T===void 0?void 0:T[this.axis[h].sizeAttr])!==null&&D!==void 0?D:"0px",10),ee=this.contentWrapperEl[this.axis[h].scrollOffsetAttr],ve=(h==="y"?this.mouseY-le:this.mouseX-le)<0?-1:1,be=ve===-1?ee-J:ee+J,ye=function(){L.contentWrapperEl&&(ve===-1?ee>be&&(ee-=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)):ee<be&&(ee+=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)))};ye()}},g.prototype.getContentElement=function(){return this.contentEl},g.prototype.getScrollElement=function(){return this.contentWrapperEl},g.prototype.removeListeners=function(){var f=ce(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),f.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},g.prototype.unMount=function(){this.removeListeners()},g.prototype.isWithinBounds=function(f){return this.mouseX>=f.left&&this.mouseX<=f.left+f.width&&this.mouseY>=f.top&&this.mouseY<=f.top+f.height},g.prototype.findChild=function(f,h){var l=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.msMatchesSelector;return Array.prototype.filter.call(f.children,function(y){return l.call(y,h)})[0]},g.rtlHelpers=null,g.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},g.getOptions=Li,g.helpers=zi,g}(),Rn=kt.helpers,Ge=Rn.getOptions,Q=Rn.addClasses,ai=Rn.canUseDOM,ci=function(g){function f(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];var y=g.apply(this,h)||this;return f.instances.set(h[0],y),y}return function(h,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function y(){this.constructor=h}e(h,l),h.prototype=l===null?Object.create(l):(y.prototype=l.prototype,new y)}(f,g),f.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(h){h.getAttribute("data-simplebar")==="init"||f.instances.has(h)||new f(h,Ge(h.attributes))})},f.removeObserver=function(){var h;(h=f.globalObserver)===null||h===void 0||h.disconnect()},f.prototype.initDOM=function(){var h,l,y,T=this;if(!Array.prototype.filter.call(this.el.children,function(K){return K.classList.contains(T.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Q(this.wrapperEl,this.classNames.wrapper),Q(this.contentWrapperEl,this.classNames.contentWrapper),Q(this.offsetEl,this.classNames.offset),Q(this.maskEl,this.classNames.mask),Q(this.contentEl,this.classNames.contentEl),Q(this.placeholderEl,this.classNames.placeholder),Q(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Q(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(h=this.contentWrapperEl)===null||h===void 0||h.setAttribute("tabindex",this.options.tabIndex.toString()),(l=this.contentWrapperEl)===null||l===void 0||l.setAttribute("role","region"),(y=this.contentWrapperEl)===null||y===void 0||y.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var D=document.createElement("div"),L=document.createElement("div");Q(D,this.classNames.track),Q(L,this.classNames.scrollbar),D.appendChild(L),this.axis.x.track.el=D.cloneNode(!0),Q(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=D.cloneNode(!0),Q(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}kt.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},f.prototype.unMount=function(){kt.prototype.unMount.call(this),f.instances.delete(this.el)},f.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(f.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},f.handleMutations=function(h){h.forEach(function(l){l.addedNodes.forEach(function(y){y.nodeType===1&&(y.hasAttribute("data-simplebar")?!f.instances.has(y)&&document.documentElement.contains(y)&&new f(y,Ge(y.attributes)):y.querySelectorAll("[data-simplebar]").forEach(function(T){T.getAttribute("data-simplebar")!=="init"&&!f.instances.has(T)&&document.documentElement.contains(T)&&new f(T,Ge(T.attributes))}))}),l.removedNodes.forEach(function(y){var T;y.nodeType===1&&(y.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(y)&&((T=f.instances.get(y))===null||T===void 0||T.unMount()):Array.prototype.forEach.call(y.querySelectorAll('[data-simplebar="init"]'),function(D){var L;!document.documentElement.contains(D)&&((L=f.instances.get(D))===null||L===void 0||L.unMount())}))})})},f.instances=new WeakMap,f}(kt);return ai&&ci.initHtmlApi(),ci}()),Js}Ea();const wa=n.defineComponent({name:"ClUI",methods:{VITE_APP_VERSION:()=>"7.0.3"}}),B=(e,s)=>{const c=e.__vccOpts||e;for(const[p,b]of s)c[p]=b;return c};function Sa(e,s,c,p,b,v){return n.toDisplayString(e.VITE_APP_VERSION())}const Na=B(wa,[["render",Sa]]),Ta=n.defineComponent({name:"ClAlert",props:{type:{type:String,default:"info"}}});function Aa(e,s,c,p,b,v){return n.openBlock(),n.createElementBlock("p",{class:n.normalizeClass(["alert",`cl-alert-${e.type}`]),role:"alert"},[n.renderSlot(e.$slots,"default")],2)}const It=B(Ta,[["render",Aa]]);It.install=e=>{e.component(It.name??"ClNoName",It)};var Ti={exports:{}};/*!
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");var Qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Js={},Zs;function Ea(){return Zs||(Zs=1,function(){var e=function(g,f){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var y in l)Object.prototype.hasOwnProperty.call(l,y)&&(h[y]=l[y])},e(g,f)},s=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Qs<"u"?Qs:typeof self<"u"?self:{},c=function(g){var f=typeof g;return g!=null&&(f=="object"||f=="function")},p=typeof s=="object"&&s&&s.Object===Object&&s,b=typeof self=="object"&&self&&self.Object===Object&&self,v=p||b||Function("return this")(),u=v,N=function(){return u.Date.now()},U=/\s/,ae=function(g){for(var f=g.length;f--&&U.test(g.charAt(f)););return f},we=/^\s+/,Se=function(g){return g&&g.slice(0,ae(g)+1).replace(we,"")},bt=v.Symbol,nt=bt,Xe=Object.prototype,Jn=Xe.hasOwnProperty,Vn=Xe.toString,ne=nt?nt.toStringTag:void 0,me=function(g){var f=Jn.call(g,ne),h=g[ne];try{g[ne]=void 0;var l=!0}catch{}var y=Vn.call(g);return l&&(f?g[ne]=h:delete g[ne]),y},oe=Object.prototype.toString,Zn=me,Mn=function(g){return oe.call(g)},ei=bt?bt.toStringTag:void 0,Oi=function(g){return g==null?g===void 0?"[object Undefined]":"[object Null]":ei&&ei in Object(g)?Zn(g):Mn(g)},Di=function(g){return g!=null&&typeof g=="object"},zn=Se,Ln=c,ti=function(g){return typeof g=="symbol"||Di(g)&&Oi(g)=="[object Symbol]"},Vi=/^[-+]0x[0-9a-f]+$/i,ni=/^0b[01]+$/i,ii=/^0o[0-7]+$/i,oi=parseInt,si=c,yt=N,_t=function(g){if(typeof g=="number")return g;if(ti(g))return NaN;if(Ln(g)){var f=typeof g.valueOf=="function"?g.valueOf():g;g=Ln(f)?f+"":f}if(typeof g!="string")return g===0?g:+g;g=zn(g);var h=ni.test(g);return h||ii.test(g)?oi(g.slice(2),h?2:8):Vi.test(g)?NaN:+g},Mi=Math.max,ri=Math.min,_=function(g,f,h){var l,y,T,D,L,K,X=0,le=!1,J=!1,ee=!0;if(typeof g!="function")throw new TypeError("Expected a function");function ve(te){var _e=l,de=y;return l=y=void 0,X=te,D=g.apply(de,_e)}function be(te){return X=te,L=setTimeout(Ve,f),le?ve(te):D}function ye(te){var _e=te-K;return K===void 0||_e>=f||_e<0||J&&te-X>=T}function Ve(){var te=yt();if(ye(te))return $t(te);L=setTimeout(Ve,function(_e){var de=f-(_e-K);return J?ri(de,T-(_e-X)):de}(te))}function $t(te){return L=void 0,ee&&l?ve(te):(l=y=void 0,D)}function Qe(){var te=yt(),_e=ye(te);if(l=arguments,y=this,K=te,_e){if(L===void 0)return be(K);if(J)return clearTimeout(L),L=setTimeout(Ve,f),ve(K)}return L===void 0&&(L=setTimeout(Ve,f)),D}return f=_t(f)||0,si(h)&&(le=!!h.leading,T=(J="maxWait"in h)?Mi(_t(h.maxWait)||0,f):T,ee="trailing"in h?!!h.trailing:ee),Qe.cancel=function(){L!==void 0&&clearTimeout(L),X=0,l=K=y=L=void 0},Qe.flush=function(){return L===void 0?D:$t(yt())},Qe},In=_,li=c,Fn=function(g,f,h){var l=!0,y=!0;if(typeof g!="function")throw new TypeError("Expected a function");return li(h)&&(l="leading"in h?!!h.leading:l,y="trailing"in h?!!h.trailing:y),In(g,f,{leading:l,maxWait:f,trailing:y})},se=function(){return se=Object.assign||function(g){for(var f,h=1,l=arguments.length;h<l;h++)for(var y in f=arguments[h])Object.prototype.hasOwnProperty.call(f,y)&&(g[y]=f[y]);return g},se.apply(this,arguments)};function Ye(g){return g&&g.ownerDocument&&g.ownerDocument.defaultView?g.ownerDocument.defaultView:window}function ge(g){return g&&g.ownerDocument?g.ownerDocument:document}var Ct=function(g){return Array.prototype.reduce.call(g,function(f,h){var l=h.name.match(/data-simplebar-(.+)/);if(l){var y=l[1].replace(/\W+(.)/g,function(T,D){return D.toUpperCase()});switch(h.value){case"true":f[y]=!0;break;case"false":f[y]=!1;break;case void 0:f[y]=!0;break;default:f[y]=h.value}}return f},{})};function S(g,f){var h;g&&(h=g.classList).add.apply(h,f.split(" "))}function it(g,f){g&&f.split(" ").forEach(function(h){g.classList.remove(h)})}function Pn(g){return".".concat(g.split(" ").join("."))}var xn=!(typeof window>"u"||!window.document||!window.document.createElement),zi=Object.freeze({__proto__:null,addClasses:S,canUseDOM:xn,classNamesToQuery:Pn,getElementDocument:ge,getElementWindow:Ye,getOptions:Ct,removeClasses:it}),De=null,jn=null;function Ke(){if(De===null){if(typeof document>"u")return De=0;var g=document.body,f=document.createElement("div");f.classList.add("simplebar-hide-scrollbar"),g.appendChild(f);var h=f.getBoundingClientRect().right;g.removeChild(f),De=h}return De}xn&&window.addEventListener("resize",function(){jn!==window.devicePixelRatio&&(jn=window.devicePixelRatio,De=null)});var ce=Ye,Wn=ge,Li=Ct,Le=S,Ie=it,re=Pn,kt=function(){function g(f,h){h===void 0&&(h={});var l=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var y=ce(l.el);l.scrollXTicking||(y.requestAnimationFrame(l.scrollX),l.scrollXTicking=!0),l.scrollYTicking||(y.requestAnimationFrame(l.scrollY),l.scrollYTicking=!0),l.isScrolling||(l.isScrolling=!0,Le(l.el,l.classNames.scrolling)),l.showScrollbar("x"),l.showScrollbar("y"),l.onStopScrolling()},this.scrollX=function(){l.axis.x.isOverflowing&&l.positionScrollbar("x"),l.scrollXTicking=!1},this.scrollY=function(){l.axis.y.isOverflowing&&l.positionScrollbar("y"),l.scrollYTicking=!1},this._onStopScrolling=function(){Ie(l.el,l.classNames.scrolling),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isScrolling=!1},this.onMouseEnter=function(){l.isMouseEntering||(Le(l.el,l.classNames.mouseEntered),l.showScrollbar("x"),l.showScrollbar("y"),l.isMouseEntering=!0),l.onMouseEntered()},this._onMouseEntered=function(){Ie(l.el,l.classNames.mouseEntered),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isMouseEntering=!1},this._onMouseMove=function(y){l.mouseX=y.clientX,l.mouseY=y.clientY,(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseMoveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseMoveForAxis("y")},this.onMouseLeave=function(){l.onMouseMove.cancel(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseLeaveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseLeaveForAxis("y"),l.mouseX=-1,l.mouseY=-1},this._onWindowResize=function(){l.scrollbarWidth=l.getScrollbarWidth(),l.hideNativeScrollbar()},this.onPointerEvent=function(y){var T,D;l.axis.x.track.el&&l.axis.y.track.el&&l.axis.x.scrollbar.el&&l.axis.y.scrollbar.el&&(l.axis.x.track.rect=l.axis.x.track.el.getBoundingClientRect(),l.axis.y.track.rect=l.axis.y.track.el.getBoundingClientRect(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&(T=l.isWithinBounds(l.axis.x.track.rect)),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&(D=l.isWithinBounds(l.axis.y.track.rect)),(T||D)&&(y.stopPropagation(),y.type==="pointerdown"&&y.pointerType!=="touch"&&(T&&(l.axis.x.scrollbar.rect=l.axis.x.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.x.scrollbar.rect)?l.onDragStart(y,"x"):l.onTrackClick(y,"x")),D&&(l.axis.y.scrollbar.rect=l.axis.y.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.scrollbar.rect)?l.onDragStart(y,"y"):l.onTrackClick(y,"y")))))},this.drag=function(y){var T,D,L,K,X,le,J,ee,ve,be,ye;if(l.draggedAxis&&l.contentWrapperEl){var Ve=l.axis[l.draggedAxis].track,$t=(D=(T=Ve.rect)===null||T===void 0?void 0:T[l.axis[l.draggedAxis].sizeAttr])!==null&&D!==void 0?D:0,Qe=l.axis[l.draggedAxis].scrollbar,te=(K=(L=l.contentWrapperEl)===null||L===void 0?void 0:L[l.axis[l.draggedAxis].scrollSizeAttr])!==null&&K!==void 0?K:0,_e=parseInt((le=(X=l.elStyles)===null||X===void 0?void 0:X[l.axis[l.draggedAxis].sizeAttr])!==null&&le!==void 0?le:"0px",10);y.preventDefault(),y.stopPropagation();var de=(l.draggedAxis==="y"?y.pageY:y.pageX)-((ee=(J=Ve.rect)===null||J===void 0?void 0:J[l.axis[l.draggedAxis].offsetAttr])!==null&&ee!==void 0?ee:0)-l.axis[l.draggedAxis].dragOffset,Fe=(de=l.draggedAxis==="x"&&l.isRtl?((be=(ve=Ve.rect)===null||ve===void 0?void 0:ve[l.axis[l.draggedAxis].sizeAttr])!==null&&be!==void 0?be:0)-Qe.size-de:de)/($t-Qe.size)*(te-_e);l.draggedAxis==="x"&&l.isRtl&&(Fe=!((ye=g.getRtlHelpers())===null||ye===void 0)&&ye.isScrollingToNegative?-Fe:Fe),l.contentWrapperEl[l.axis[l.draggedAxis].scrollOffsetAttr]=Fe}},this.onEndDrag=function(y){l.isDragging=!1;var T=Wn(l.el),D=ce(l.el);y.preventDefault(),y.stopPropagation(),Ie(l.el,l.classNames.dragging),l.onStopScrolling(),T.removeEventListener("mousemove",l.drag,!0),T.removeEventListener("mouseup",l.onEndDrag,!0),l.removePreventClickId=D.setTimeout(function(){T.removeEventListener("click",l.preventClick,!0),T.removeEventListener("dblclick",l.preventClick,!0),l.removePreventClickId=null})},this.preventClick=function(y){y.preventDefault(),y.stopPropagation()},this.el=f,this.options=se(se({},g.defaultOptions),h),this.classNames=se(se({},g.defaultOptions.classNames),h.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Fn(this._onMouseMove,64),this.onWindowResize=_(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=_(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=_(this._onMouseEntered,this.stopScrollDelay),this.init()}return g.getRtlHelpers=function(){if(g.rtlHelpers)return g.rtlHelpers;var f=document.createElement("div");f.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var h=f.firstElementChild,l=h?.firstElementChild;if(!l)return null;document.body.appendChild(h),h.scrollLeft=0;var y=g.getOffset(h),T=g.getOffset(l);h.scrollLeft=-999;var D=g.getOffset(l);return document.body.removeChild(h),g.rtlHelpers={isScrollOriginAtZero:y.left!==T.left,isScrollingToNegative:T.left!==D.left},g.rtlHelpers},g.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Ke()}catch{return Ke()}},g.getOffset=function(f){var h=f.getBoundingClientRect(),l=Wn(f),y=ce(f);return{top:h.top+(y.pageYOffset||l.documentElement.scrollTop),left:h.left+(y.pageXOffset||l.documentElement.scrollLeft)}},g.prototype.init=function(){xn&&(this.initDOM(),this.rtlHelpers=g.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},g.prototype.initDOM=function(){var f,h;this.wrapperEl=this.el.querySelector(re(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(re(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(re(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(re(this.classNames.offset)),this.maskEl=this.el.querySelector(re(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,re(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(re(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(re(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(re(this.classNames.track)).concat(re(this.classNames.vertical))),this.axis.x.scrollbar.el=((f=this.axis.x.track.el)===null||f===void 0?void 0:f.querySelector(re(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((h=this.axis.y.track.el)===null||h===void 0?void 0:h.querySelector(re(this.classNames.scrollbar)))||null,this.options.autoHide||(Le(this.axis.x.scrollbar.el,this.classNames.visible),Le(this.axis.y.scrollbar.el,this.classNames.visible))},g.prototype.initListeners=function(){var f,h=this,l=ce(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(f=this.contentWrapperEl)===null||f===void 0||f.addEventListener("scroll",this.onScroll),l.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var y=!1,T=l.ResizeObserver||ResizeObserver;this.resizeObserver=new T(function(){y&&l.requestAnimationFrame(function(){h.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),l.requestAnimationFrame(function(){y=!0})}this.mutationObserver=new l.MutationObserver(function(){l.requestAnimationFrame(function(){h.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},g.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var f=ce(this.el);this.elStyles=f.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var h=this.contentEl.offsetWidth,l=this.heightAutoObserverEl.offsetHeight<=1,y=this.heightAutoObserverEl.offsetWidth<=1||h>0,T=this.contentWrapperEl.offsetWidth,D=this.elStyles.overflowX,L=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var K=this.contentEl.scrollHeight,X=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=l?"auto":"100%",this.placeholderEl.style.width=y?"".concat(h||X,"px"):"auto",this.placeholderEl.style.height="".concat(K,"px");var le=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=h!==0&&X>h,this.axis.y.isOverflowing=K>le,this.axis.x.isOverflowing=D!=="hidden"&&this.axis.x.isOverflowing,this.axis.y.isOverflowing=L!=="hidden"&&this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var J=this.axis.x.isOverflowing?this.scrollbarWidth:0,ee=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&X>T-ee,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&K>le-J,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},g.prototype.getScrollbarSize=function(f){var h,l;if(f===void 0&&(f="y"),!this.axis[f].isOverflowing||!this.contentEl)return 0;var y,T=this.contentEl[this.axis[f].scrollSizeAttr],D=(l=(h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])!==null&&l!==void 0?l:0,L=D/T;return y=Math.max(~~(L*D),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(y=Math.min(y,this.options.scrollbarMaxSize)),y},g.prototype.positionScrollbar=function(f){var h,l,y;f===void 0&&(f="y");var T=this.axis[f].scrollbar;if(this.axis[f].isOverflowing&&this.contentWrapperEl&&T.el&&this.elStyles){var D=this.contentWrapperEl[this.axis[f].scrollSizeAttr],L=((h=this.axis[f].track.el)===null||h===void 0?void 0:h[this.axis[f].offsetSizeAttr])||0,K=parseInt(this.elStyles[this.axis[f].sizeAttr],10),X=this.contentWrapperEl[this.axis[f].scrollOffsetAttr];X=f==="x"&&this.isRtl&&(!((l=g.getRtlHelpers())===null||l===void 0)&&l.isScrollOriginAtZero)?-X:X,f==="x"&&this.isRtl&&(X=!((y=g.getRtlHelpers())===null||y===void 0)&&y.isScrollingToNegative?X:-X);var le=X/(D-K),J=~~((L-T.size)*le);J=f==="x"&&this.isRtl?-J+(L-T.size):J,T.el.style.transform=f==="x"?"translate3d(".concat(J,"px, 0, 0)"):"translate3d(0, ".concat(J,"px, 0)")}},g.prototype.toggleTrackVisibility=function(f){f===void 0&&(f="y");var h=this.axis[f].track.el,l=this.axis[f].scrollbar.el;h&&l&&this.contentWrapperEl&&(this.axis[f].isOverflowing||this.axis[f].forceVisible?(h.style.visibility="visible",this.contentWrapperEl.style[this.axis[f].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(f))):(h.style.visibility="hidden",this.contentWrapperEl.style[this.axis[f].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(f))),this.axis[f].isOverflowing?l.style.display="block":l.style.display="none")},g.prototype.showScrollbar=function(f){f===void 0&&(f="y"),this.axis[f].isOverflowing&&!this.axis[f].scrollbar.isVisible&&(Le(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!0)},g.prototype.hideScrollbar=function(f){f===void 0&&(f="y"),this.isDragging||this.axis[f].isOverflowing&&this.axis[f].scrollbar.isVisible&&(Ie(this.axis[f].scrollbar.el,this.classNames.visible),this.axis[f].scrollbar.isVisible=!1)},g.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},g.prototype.onMouseMoveForAxis=function(f){f===void 0&&(f="y");var h=this.axis[f];h.track.el&&h.scrollbar.el&&(h.track.rect=h.track.el.getBoundingClientRect(),h.scrollbar.rect=h.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(h.track.rect)?(this.showScrollbar(f),Le(h.track.el,this.classNames.hover),this.isWithinBounds(h.scrollbar.rect)?Le(h.scrollbar.el,this.classNames.hover):Ie(h.scrollbar.el,this.classNames.hover)):(Ie(h.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)))},g.prototype.onMouseLeaveForAxis=function(f){f===void 0&&(f="y"),Ie(this.axis[f].track.el,this.classNames.hover),Ie(this.axis[f].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(f)},g.prototype.onDragStart=function(f,h){var l;h===void 0&&(h="y"),this.isDragging=!0;var y=Wn(this.el),T=ce(this.el),D=this.axis[h].scrollbar,L=h==="y"?f.pageY:f.pageX;this.axis[h].dragOffset=L-(((l=D.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])||0),this.draggedAxis=h,Le(this.el,this.classNames.dragging),y.addEventListener("mousemove",this.drag,!0),y.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(y.addEventListener("click",this.preventClick,!0),y.addEventListener("dblclick",this.preventClick,!0)):(T.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},g.prototype.onTrackClick=function(f,h){var l,y,T,D,L=this;h===void 0&&(h="y");var K=this.axis[h];if(this.options.clickOnTrack&&K.scrollbar.el&&this.contentWrapperEl){f.preventDefault();var X=ce(this.el);this.axis[h].scrollbar.rect=K.scrollbar.el.getBoundingClientRect();var le=(y=(l=this.axis[h].scrollbar.rect)===null||l===void 0?void 0:l[this.axis[h].offsetAttr])!==null&&y!==void 0?y:0,J=parseInt((D=(T=this.elStyles)===null||T===void 0?void 0:T[this.axis[h].sizeAttr])!==null&&D!==void 0?D:"0px",10),ee=this.contentWrapperEl[this.axis[h].scrollOffsetAttr],ve=(h==="y"?this.mouseY-le:this.mouseX-le)<0?-1:1,be=ve===-1?ee-J:ee+J,ye=function(){L.contentWrapperEl&&(ve===-1?ee>be&&(ee-=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)):ee<be&&(ee+=40,L.contentWrapperEl[L.axis[h].scrollOffsetAttr]=ee,X.requestAnimationFrame(ye)))};ye()}},g.prototype.getContentElement=function(){return this.contentEl},g.prototype.getScrollElement=function(){return this.contentWrapperEl},g.prototype.removeListeners=function(){var f=ce(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),f.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},g.prototype.unMount=function(){this.removeListeners()},g.prototype.isWithinBounds=function(f){return this.mouseX>=f.left&&this.mouseX<=f.left+f.width&&this.mouseY>=f.top&&this.mouseY<=f.top+f.height},g.prototype.findChild=function(f,h){var l=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.msMatchesSelector;return Array.prototype.filter.call(f.children,function(y){return l.call(y,h)})[0]},g.rtlHelpers=null,g.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},g.getOptions=Li,g.helpers=zi,g}(),Rn=kt.helpers,Ge=Rn.getOptions,Q=Rn.addClasses,ai=Rn.canUseDOM,ci=function(g){function f(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];var y=g.apply(this,h)||this;return f.instances.set(h[0],y),y}return function(h,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function y(){this.constructor=h}e(h,l),h.prototype=l===null?Object.create(l):(y.prototype=l.prototype,new y)}(f,g),f.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(h){h.getAttribute("data-simplebar")==="init"||f.instances.has(h)||new f(h,Ge(h.attributes))})},f.removeObserver=function(){var h;(h=f.globalObserver)===null||h===void 0||h.disconnect()},f.prototype.initDOM=function(){var h,l,y,T=this;if(!Array.prototype.filter.call(this.el.children,function(K){return K.classList.contains(T.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),Q(this.wrapperEl,this.classNames.wrapper),Q(this.contentWrapperEl,this.classNames.contentWrapper),Q(this.offsetEl,this.classNames.offset),Q(this.maskEl,this.classNames.mask),Q(this.contentEl,this.classNames.contentEl),Q(this.placeholderEl,this.classNames.placeholder),Q(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),Q(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(h=this.contentWrapperEl)===null||h===void 0||h.setAttribute("tabindex",this.options.tabIndex.toString()),(l=this.contentWrapperEl)===null||l===void 0||l.setAttribute("role","region"),(y=this.contentWrapperEl)===null||y===void 0||y.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var D=document.createElement("div"),L=document.createElement("div");Q(D,this.classNames.track),Q(L,this.classNames.scrollbar),D.appendChild(L),this.axis.x.track.el=D.cloneNode(!0),Q(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=D.cloneNode(!0),Q(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}kt.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},f.prototype.unMount=function(){kt.prototype.unMount.call(this),f.instances.delete(this.el)},f.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(f.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},f.handleMutations=function(h){h.forEach(function(l){l.addedNodes.forEach(function(y){y.nodeType===1&&(y.hasAttribute("data-simplebar")?!f.instances.has(y)&&document.documentElement.contains(y)&&new f(y,Ge(y.attributes)):y.querySelectorAll("[data-simplebar]").forEach(function(T){T.getAttribute("data-simplebar")!=="init"&&!f.instances.has(T)&&document.documentElement.contains(T)&&new f(T,Ge(T.attributes))}))}),l.removedNodes.forEach(function(y){var T;y.nodeType===1&&(y.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(y)&&((T=f.instances.get(y))===null||T===void 0||T.unMount()):Array.prototype.forEach.call(y.querySelectorAll('[data-simplebar="init"]'),function(D){var L;!document.documentElement.contains(D)&&((L=f.instances.get(D))===null||L===void 0||L.unMount())}))})})},f.instances=new WeakMap,f}(kt);return ai&&ci.initHtmlApi(),ci}()),Js}Ea();const wa=n.defineComponent({name:"ClUI",methods:{VITE_APP_VERSION:()=>"7.0.4"}}),B=(e,s)=>{const c=e.__vccOpts||e;for(const[p,b]of s)c[p]=b;return c};function Sa(e,s,c,p,b,v){return n.toDisplayString(e.VITE_APP_VERSION())}const Na=B(wa,[["render",Sa]]),Ta=n.defineComponent({name:"ClAlert",props:{type:{type:String,default:"info"}}});function Aa(e,s,c,p,b,v){return n.openBlock(),n.createElementBlock("p",{class:n.normalizeClass(["alert",`cl-alert-${e.type}`]),role:"alert"},[n.renderSlot(e.$slots,"default")],2)}const It=B(Ta,[["render",Aa]]);It.install=e=>{e.component(It.name??"ClNoName",It)};var Ti={exports:{}};/*!
|
|
2
2
|
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
3
3
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|