maz-ui 3.25.1 → 3.25.2
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/components/MazBadge.mjs +6 -6
- package/components/MazCard.d.ts +3 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCheckbox.mjs +10 -10
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazTabsBar.d.ts +3 -3
- package/components/MazTabsBar.mjs +104 -2
- package/components/assets/MazBadge.css +1 -1
- package/components/assets/MazCard.css +1 -1
- package/components/assets/MazCheckbox.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/chunks/{MazBtn-V74h4t6N.mjs → MazBtn-E_7uvjFN.mjs} +2 -2
- package/components/chunks/{MazBtn-8jL2kd1s.mjs → MazBtn-fgZZAln0.mjs} +2 -2
- package/components/chunks/{MazBtn-JxVNeBVQ.mjs → MazBtn-wAxVJRSU.mjs} +2 -2
- package/components/chunks/{MazCard-kNaVJd_g.mjs → MazCard-AcRp4dYY.mjs} +17 -15
- package/components/chunks/{MazCheckbox-jW6eRxo-.mjs → MazCheckbox-Ur6iYj4S.mjs} +9 -9
- package/components/chunks/{MazCheckbox-PPOcnk4M.mjs → MazCheckbox-jGECM3j3.mjs} +9 -9
- package/components/chunks/{MazGallery-FIb-5maS.mjs → MazGallery-p-vm15yn.mjs} +1 -1
- package/components/chunks/{MazPhoneNumberInput--P0rJeR6.mjs → MazPhoneNumberInput-UpZj2xCt.mjs} +2 -2
- package/components/chunks/{MazSelect-mFss30EN.mjs → MazSelect-0T1qVxT5.mjs} +2 -2
- package/components/chunks/{MazSpinner-hj4vBKGe.mjs → MazSpinner-0anK9siv.mjs} +1 -1
- package/components/chunks/{MazSpinner-0_bDB0ly.mjs → MazSpinner-GDyFbUT-.mjs} +1 -1
- package/components/chunks/{MazSpinner-e-wVuIa6.mjs → MazSpinner-ymiFQY_u.mjs} +1 -1
- package/components/chunks/{MazTransitionExpand-k3LqGgNc.mjs → MazTransitionExpand-H8rF9skG.mjs} +1 -1
- package/css/main.css +1 -1
- package/modules/chunks/{MazBtn-Dh9CWXCs.mjs → MazBtn-JRiYAnNE.mjs} +2 -2
- package/modules/chunks/{MazBtn-7fc6CaEx.cjs → MazBtn-XlYmCiY7.cjs} +1 -1
- package/modules/chunks/{MazIcon-rmruhJWI.cjs → MazIcon-1rUbp3IR.cjs} +1 -1
- package/modules/chunks/{MazIcon-O2qhlLgd.mjs → MazIcon-jN7MCOTm.mjs} +1 -1
- package/modules/chunks/{MazSpinner-D_vmUW7o.cjs → MazSpinner-9nuTFEMU.cjs} +1 -1
- package/modules/chunks/{MazSpinner-NY1ndqV7.mjs → MazSpinner-U-92TzUo.mjs} +1 -1
- package/modules/chunks/{index-A4ZKAAN1.mjs → index-0wbCxej8.mjs} +3 -3
- package/modules/chunks/{index-4-P6-Fmb.cjs → index-fNfaYOpu.cjs} +2 -2
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/package.json +1 -1
- package/types/components/MazCard.vue.d.ts +3 -1
- package/types/components/MazTabsBar.vue.d.ts +3 -3
- package/components/chunks/MazBtn-Qa9DSsQk.mjs +0 -152
- package/components/chunks/MazIcon-4RyBw86a.mjs +0 -96
- package/components/chunks/MazSpinner-o7NBR-qR.mjs +0 -38
- package/components/chunks/MazTabsBar-WKO9upP5.mjs +0 -131
|
@@ -85,7 +85,7 @@ const ye = ({
|
|
|
85
85
|
},
|
|
86
86
|
emits: ["focus", "blur", "update:model-value", "click", "change", "update"],
|
|
87
87
|
setup(l, { emit: f }) {
|
|
88
|
-
const v = k(() => import("./MazBtn-
|
|
88
|
+
const v = k(() => import("./MazBtn-wAxVJRSU.mjs")), S = k(() => import("./MazIcon-RrJDzX3V.mjs")), D = k(() => import("./eye-slash-TZFFP7DG.mjs")), G = k(() => import("./eye-pViFfFPg.mjs")), J = k(() => import("./check-_5Up9njX.mjs")), e = l, b = f, g = d(!1), s = d(!1), $ = d(), X = de(), Y = ye({
|
|
89
89
|
componentName: "MazInput",
|
|
90
90
|
instance: X,
|
|
91
91
|
providedId: e.id
|
|
@@ -368,7 +368,7 @@ const He = ["onClick"], Oe = {
|
|
|
368
368
|
"6c56f7b7": X.value,
|
|
369
369
|
99876842: Y.value
|
|
370
370
|
}));
|
|
371
|
-
const v = k(() => import("./MazCheckbox-
|
|
371
|
+
const v = k(() => import("./MazCheckbox-jGECM3j3.mjs")), S = k(() => import("./magnifying-glass-I3cyEYZv.mjs")), D = k(() => import("./chevron-down-bC0s_0yH.mjs")), G = k(() => import("./no-symbol-JnXtUaU-.mjs")), J = de(), e = l, b = f, g = d(!1), s = d(), $ = c(
|
|
372
372
|
() => ["black", "transparent", "white"].includes(e.color)
|
|
373
373
|
), X = c(
|
|
374
374
|
() => $.value ? "var(--maz-color-black)" : `var(--maz-color-${e.color}-800)`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazSpinner.css";
|
|
2
2
|
import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
|
|
3
|
-
import { _ as p } from "./
|
|
3
|
+
import { _ as p } from "./MazPhoneNumberInput-UpZj2xCt.mjs";
|
|
4
4
|
const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
|
|
5
5
|
"path",
|
|
6
6
|
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazSpinner.css";
|
|
2
2
|
import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
|
|
3
|
-
import { _ as p } from "./MazCard-
|
|
3
|
+
import { _ as p } from "./MazCard-AcRp4dYY.mjs";
|
|
4
4
|
const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
|
|
5
5
|
"path",
|
|
6
6
|
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazSpinner.css";
|
|
2
2
|
import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
|
|
3
|
-
import { _ as p } from "./MazSelect-
|
|
3
|
+
import { _ as p } from "./MazSelect-0T1qVxT5.mjs";
|
|
4
4
|
const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
|
|
5
5
|
"path",
|
|
6
6
|
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
package/components/chunks/{MazTransitionExpand-k3LqGgNc.mjs → MazTransitionExpand-H8rF9skG.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazTransitionExpand.css";
|
|
2
2
|
import { defineComponent as n, openBlock as p, createBlock as h, TransitionGroup as d, withCtx as y, renderSlot as g, nextTick as s } from "vue";
|
|
3
|
-
import { _ as u } from "./MazCard-
|
|
3
|
+
import { _ as u } from "./MazCard-AcRp4dYY.mjs";
|
|
4
4
|
const l = /* @__PURE__ */ n({
|
|
5
5
|
__name: "MazTransitionExpand",
|
|
6
6
|
setup(f) {
|
package/css/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:after,:before{border:0 solid;-webkit-box-sizing:border-box;box-sizing:border-box}button{background-color:transparent}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}:root{--maz-color-white:#fff;--maz-color-white-contrast:#000;--maz-color-black:#000;--maz-color-black-contrast:#fff;--maz-color-primary-50:#e6f2ff;--maz-color-primary-100:#bddeff;--maz-color-primary-200:#94c9ff;--maz-color-primary-300:#6bb5ff;--maz-color-primary-400:#47a3ff;--maz-color-primary:#1f8fff;--maz-color-primary-600:#1975d2;--maz-color-primary-700:#145ca3;--maz-color-primary-800:#0e4277;--maz-color-primary-900:#092b4e;--maz-color-primary-alpha:rgba(31,143,255,.6);--maz-color-primary-alpha-20:rgba(31,143,255,.2);--maz-color-primary-contrast:#fff;--maz-color-secondary-50:#e2f9f3;--maz-color-secondary-100:#bbf1e3;--maz-color-secondary-200:#95e9d3;--maz-color-secondary-300:#6be1c1;--maz-color-secondary-400:#45d9b1;--maz-color-secondary:#1cce9f;--maz-color-secondary-600:#17ab83;--maz-color-secondary-700:#128768;--maz-color-secondary-800:#0d634c;--maz-color-secondary-900:#083f31;--maz-color-secondary-alpha:rgba(28,206,159,.6);--maz-color-secondary-alpha-20:rgba(28,206,159,.2);--maz-color-secondary-contrast:#fff;--maz-color-info-50:#e4f4f7;--maz-color-info-100:#b8e3ea;--maz-color-info-200:#92d3dd;--maz-color-info-300:#67c2d0;--maz-color-info-400:#40b3c4;--maz-color-info:#17a4ba;--maz-color-info-600:#13889a;--maz-color-info-700:#0f6876;--maz-color-info-800:#0b4c56;--maz-color-info-900:#073036;--maz-color-info-alpha:rgba(23,164,186,.6);--maz-color-info-alpha-20:rgba(23,164,186,.2);--maz-color-info-contrast:#fff;--maz-color-success-50:#f3f9e6;--maz-color-success-100:#e1f0c1;--maz-color-success-200:#cee79d;--maz-color-success-300:#bedf7c;--maz-color-success-400:#acd657;--maz-color-success:#99cd32;--maz-color-success-600:#7ea829;--maz-color-success-700:#658722;--maz-color-success-800:#496218;--maz-color-success-900:#2e3e0f;--maz-color-success-alpha:rgba(153,205,50,.6);--maz-color-success-alpha-20:rgba(153,205,50,.2);--maz-color-success-contrast:#fff;--maz-color-warning-50:#fff7e6;--maz-color-warning-100:#feeac3;--maz-color-warning-200:#fede9f;--maz-color-warning-300:#fdd077;--maz-color-warning-400:#fdc553;--maz-color-warning:#fcb831;--maz-color-warning-600:#d29928;--maz-color-warning-700:#a27720;--maz-color-warning-800:#785817;--maz-color-warning-900:#4d380f;--maz-color-warning-alpha:rgba(252,184,49,.6);--maz-color-warning-alpha-20:rgba(252,184,49,.2);--maz-color-warning-contrast:#384252;--maz-color-danger-50:#ffebeb;--maz-color-danger-100:#ffd2d1;--maz-color-danger-200:#ffbab8;--maz-color-danger-300:#ffa09e;--maz-color-danger-400:#ff8785;--maz-color-danger:#ff6e6b;--maz-color-danger-600:#d25856;--maz-color-danger-700:#a54745;--maz-color-danger-800:#7b3332;--maz-color-danger-900:#4c2020;--maz-color-danger-alpha:hsla(1,100%,71%,.6);--maz-color-danger-alpha-20:hsla(1,100%,71%,.2);--maz-color-danger-contrast:#fff;--maz-color-text-light:#d9d9d9;--maz-color-muted-light:rgba(0,0,0,.54);--maz-color-text-dark:#212427;--maz-color-muted-dark:hsla(0,0%,89%,.54);--maz-bg-overlay:rgba(0,0,0,.3);--maz-bg-color-light:#fff;--maz-bg-color-light-light:#f0f0f0;--maz-bg-color-light-lighter:#f2f2f2;--maz-bg-color-dark:#20212c;--maz-bg-color-dark-light:#313245;--maz-bg-color-dark-lighter:#3b3c54;--maz-border-width:0.125rem;--maz-border-radius:0.5rem;--maz-font-family:system-ui,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen,ubuntu,cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--maz-color-text:var(--maz-color-text-dark);--maz-color-muted:var(--maz-color-muted-light);--maz-color-bg:var(--maz-bg-color-light);--maz-color-bg-light:var(--maz-bg-color-light-light);--maz-color-bg-lighter:var(--maz-bg-color-light-lighter);--maz-color-bg-theme:var(--maz-bg-color-dark);--maz-color-bg-theme-hover:var(--maz-bg-color-dark-lighter)}html.dark{--maz-color-text:var(--maz-color-text-light);--maz-color-muted:var(--maz-color-muted-dark);--maz-color-bg:var(--maz-bg-color-dark);--maz-color-bg-light:var(--maz-bg-color-dark-light);--maz-color-bg-lighter:var(--maz-bg-color-dark-lighter);--maz-color-bg-theme:var(--maz-bg-color-light);--maz-color-bg-theme-hover:var(--maz-bg-color-light-lighter)}:root{--maz-container-padding-mobile:1rem;--maz-container-padding-tablet:2rem;--maz-container-padding-desktop:2.5rem;--maz-container-padding-value:var(--maz-container-padding-mobile);--maz-container-width:calc(100% - var(--maz-container-padding-value)*2);--maz-container-padding:calc(50% - var(--maz-container-width)/2);--maz-container-max-width:1440px}@media only screen and (min-width:1520px){:root{--maz-container-width:var(--maz-container-max-width)}}@media (min-width:576px){:root{--maz-container-padding-value:var(--maz-container-padding-tablet)}}@media (min-width:1024px){:root{--maz-container-padding-value:var(--maz-container-padding-desktop)}}.maz-scale-enter-active,.maz-scale-leave-active{opacity:1;-webkit-transition:all .3s cubic-bezier(.4,.52,.26,.9);transition:all .3s cubic-bezier(.4,.52,.26,.9);z-index:1}.maz-scale-enter-from,.maz-scale-leave-to{opacity:.4;-webkit-transform:scale(0);transform:scale(0);z-index:1}.maz-scale-fade-enter-active,.maz-scale-fade-leave-active{opacity:1;-webkit-transition:all .2s cubic-bezier(.4,.52,.26,.9);transition:all .2s cubic-bezier(.4,.52,.26,.9);z-index:1}.maz-scale-fade-enter-from,.maz-scale-fade-leave-to{opacity:0;-webkit-transform:scale(.5);transform:scale(.5);z-index:1}.maz-scale-loading-enter-active,.maz-scale-loading-enter-active .app-loader__content,.maz-scale-loading-leave-active,.maz-scale-loading-leave-active .app-loader__content{opacity:1;-webkit-transition:all .5s cubic-bezier(.4,.52,.26,.9);transition:all .5s cubic-bezier(.4,.52,.26,.9)}.maz-scale-loading-enter-active .app-loader__content,.maz-scale-loading-leave-active .app-loader__content{-webkit-transform:scale(1);transform:scale(1);z-index:1}.maz-scale-loading-enter-from .app-loader__content,.maz-scale-loading-leave-to .app-loader__content{opacity:.4;-webkit-transform:scale(0);transform:scale(0);z-index:1}.maz-scale-loading-enter-from,.maz-scale-loading-leave-to{opacity:0;-webkit-transition:all .5s cubic-bezier(.4,.52,.26,.9);transition:all .5s cubic-bezier(.4,.52,.26,.9)}.maz-slidevnext-enter-active,.maz-slidevnext-leave-active,.maz-slidevprev-enter-active,.maz-slidevprev-leave-active{position:absolute;-webkit-transition:all .3s;transition:all .3s}.maz-slidevnext-enter-from,.maz-slidevprev-leave-to{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}.maz-slidevnext-leave-to,.maz-slidevprev-enter-from{opacity:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.maz-slide-enter-active,.maz-slide-leave-active{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;z-index:998}.maz-slide-enter-from,.maz-slide-leave-to{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px);z-index:998}.maz-slideinvert-enter-active,.maz-slideinvert-leave-active{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;z-index:998}.maz-slideinvert-enter-from,.maz-slideinvert-leave-to{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px);z-index:998}.maz-tags-enter-active,.maz-tags-leave-active{opacity:1;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.maz-tags-enter-from,.maz-tags-leave-to{opacity:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.maz-tags-invert-enter-active,.maz-tags-invert-leave-active{opacity:1;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.maz-tags-invert-enter-from,.maz-tags-invert-leave-to{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.maz-expand-enter-active,.maz-expand-leave-active{overflow:hidden;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;-webkit-transition-property:opacity,height;transition-property:opacity,height}.maz-expand-enter-from,.maz-expand-leave-to{height:0;opacity:0}.maz-tab-transition-enter-from{-webkit-transform:translate(100%);transform:translate(100%)}.maz-tab-transition-leave,.maz-tab-transition-leave-active{position:absolute!important;top:0}.maz-tab-transition-leave-to{position:absolute!important}.maz-tab-reverse-transition-enter-from,.maz-tab-transition-leave-to{-webkit-transform:translate(-100%);transform:translate(-100%)}.maz-tab-reverse-transition-leave,.maz-tab-reverse-transition-leave-active{position:absolute!important;top:0}.maz-tab-reverse-transition-leave,.maz-tab-reverse-transition-leave-to{position:absolute!important;top:0;-webkit-transform:translate(100%);transform:translate(100%)}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-ms-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.maz-sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.maz-invisible{visibility:hidden}.maz-fixed{position:fixed}.maz-absolute{position:absolute}.maz-relative{position:relative}.maz-inset-0{inset:0}.maz-inset-x-0{left:0;right:0}.maz-bottom-0{bottom:0}.maz-z-default-backdrop{z-index:1050}.\!maz-my-0{margin-bottom:0!important;margin-top:0!important}.maz-my-0{margin-bottom:0;margin-top:0}.maz-my-2{margin-bottom:.5rem;margin-top:.5rem}.maz-ml-1{margin-left:.25rem}.maz-ml-2{margin-left:.5rem}.maz-flex{display:-webkit-box;display:-ms-flexbox;display:flex}.maz-hidden{display:none}.maz-h-1{height:.25rem}.maz-h-16{height:4rem}.maz-h-6{height:1.5rem}.maz-h-8{height:2rem}.maz-h-\[1\.3rem\]{height:1.3rem}.maz-h-auto{height:auto}.maz-h-full{height:100%}.maz-h-screen{height:100vh}.maz-w-6{width:1.5rem}.maz-w-8{width:2rem}.maz-w-9{width:2.25rem}.maz-w-\[1\.3rem\]{width:1.3rem}.maz-w-auto{width:auto}.maz-w-full{width:100%}.maz-w-screen{width:100vw}.maz-min-w-0{min-width:0}.maz-max-w-\[none\]{max-width:none}.maz-max-w-full{max-width:100%}.maz-flex-1{-webkit-box-flex:1;-ms-flex:1 1 0%;flex:1 1 0%}.maz-flex-none{-webkit-box-flex:0;-ms-flex:none;flex:none}.maz-rotate-180{--tw-rotate:180deg}.maz-rotate-180,.maz-rotate-90{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.maz-rotate-90{--tw-rotate:90deg}.maz-cursor-zoom-in{cursor:-webkit-zoom-in;cursor:zoom-in}.maz-flex-row{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.maz-flex-col,.maz-flex-row{-webkit-box-direction:normal}.maz-flex-col{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.maz-items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.maz-justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.maz-justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.maz-gap-1{gap:.25rem}.maz-gap-2{gap:.5rem}.maz-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.maz-overflow-hidden{overflow:hidden}.maz-overflow-x-auto{overflow-x:auto}.maz-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.maz-rounded{border-radius:var(--maz-border-radius)}.maz-rounded-xl{border-radius:.75rem}.maz-rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.maz-border{border-width:var(--maz-border-width)}.maz-border-b-2{border-bottom-width:2px}.maz-border-t-2{border-top-width:2px}.maz-border-solid{border-style:solid}.maz-border-black{border-color:var(--maz-color-black)}.maz-border-color-lighter{border-color:var(--maz-color-bg-lighter)}.maz-border-danger{border-color:var(--maz-color-danger)}.maz-border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.maz-border-info{border-color:var(--maz-color-info)}.maz-border-primary{border-color:var(--maz-color-primary)}.maz-border-secondary{border-color:var(--maz-color-secondary)}.maz-border-success{border-color:var(--maz-color-success)}.maz-border-transparent{border-color:transparent}.maz-border-warning{border-color:var(--maz-color-warning)}.maz-border-white{border-color:var(--maz-color-white)}.maz-bg-color-light{background-color:var(--maz-color-bg-light)}.maz-bg-danger-700{background-color:var(--maz-color-danger-700)}.maz-bg-info-700{background-color:var(--maz-color-info-700)}.maz-bg-overlay{background-color:var(--maz-bg-overlay)}.maz-bg-secondary{background-color:var(--maz-color-secondary)}.maz-bg-success-700{background-color:var(--maz-color-success-700)}.maz-bg-warning-700{background-color:var(--maz-color-warning-700)}.maz-p-2{padding:.5rem}.maz-p-3{padding:.75rem}.maz-p-4{padding:1rem}.maz-py-6{padding-bottom:1.5rem;padding-top:1.5rem}.maz-pb-1{padding-bottom:.25rem}.maz-text-left{text-align:left}.maz-text-center{text-align:center}.maz-text-right{text-align:right}.maz-text-2xl{font-size:1.5rem;line-height:2rem}.maz-text-base{font-size:1rem;line-height:1.5rem}.maz-text-lg{font-size:1.125rem;line-height:1.75rem}.maz-text-sm{font-size:.875rem;line-height:1.25rem}.maz-text-xl{font-size:1.25rem;line-height:1.75rem}.maz-text-xs{font-size:.75rem;line-height:1rem}.maz-font-semibold{font-weight:600}.maz-text-danger-600{color:var(--maz-color-danger-600)}.maz-text-muted{color:var(--maz-color-muted)}.maz-text-normal{color:var(--maz-color-text)}.maz-text-success-600{color:var(--maz-color-success-600)}.maz-text-warning-600{color:var(--maz-color-warning-600)}.maz-text-white{color:var(--maz-color-white)}.maz-outline-none{outline:2px solid transparent;outline-offset:2px}.maz-backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.maz-transition-all{-webkit-transition-duration:.15s;transition-duration:.15s;-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.maz-transition-transform{-webkit-transition-duration:.15s;transition-duration:.15s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.maz-duration-200{-webkit-transition-duration:.2s;transition-duration:.2s}.maz-ease-in-out{-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.maz-ease-linear{-webkit-transition-timing-function:linear;transition-timing-function:linear}.maz-elevation{-webkit-box-shadow:0 5px 10px 0 rgba(0,0,0,.05);box-shadow:0 5px 10px 0 rgba(0,0,0,.05)}.maz-flex-center{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;justify-content:center}:is([class~=dark] .dark\:maz-border-color-lighter){border-color:var(--maz-color-bg-lighter)}
|
|
1
|
+
*,:after,:before{border:0 solid;-webkit-box-sizing:border-box;box-sizing:border-box}button{background-color:transparent}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}:root{--maz-color-white:#fff;--maz-color-white-contrast:#000;--maz-color-black:#000;--maz-color-black-contrast:#fff;--maz-color-primary-50:#e6f2ff;--maz-color-primary-100:#bddeff;--maz-color-primary-200:#94c9ff;--maz-color-primary-300:#6bb5ff;--maz-color-primary-400:#47a3ff;--maz-color-primary:#1f8fff;--maz-color-primary-600:#1975d2;--maz-color-primary-700:#145ca3;--maz-color-primary-800:#0e4277;--maz-color-primary-900:#092b4e;--maz-color-primary-alpha:rgba(31,143,255,.6);--maz-color-primary-alpha-20:rgba(31,143,255,.2);--maz-color-primary-contrast:#fff;--maz-color-secondary-50:#e2f9f3;--maz-color-secondary-100:#bbf1e3;--maz-color-secondary-200:#95e9d3;--maz-color-secondary-300:#6be1c1;--maz-color-secondary-400:#45d9b1;--maz-color-secondary:#1cce9f;--maz-color-secondary-600:#17ab83;--maz-color-secondary-700:#128768;--maz-color-secondary-800:#0d634c;--maz-color-secondary-900:#083f31;--maz-color-secondary-alpha:rgba(28,206,159,.6);--maz-color-secondary-alpha-20:rgba(28,206,159,.2);--maz-color-secondary-contrast:#fff;--maz-color-info-50:#e4f4f7;--maz-color-info-100:#b8e3ea;--maz-color-info-200:#92d3dd;--maz-color-info-300:#67c2d0;--maz-color-info-400:#40b3c4;--maz-color-info:#17a4ba;--maz-color-info-600:#13889a;--maz-color-info-700:#0f6876;--maz-color-info-800:#0b4c56;--maz-color-info-900:#073036;--maz-color-info-alpha:rgba(23,164,186,.6);--maz-color-info-alpha-20:rgba(23,164,186,.2);--maz-color-info-contrast:#fff;--maz-color-success-50:#f3f9e6;--maz-color-success-100:#e1f0c1;--maz-color-success-200:#cee79d;--maz-color-success-300:#bedf7c;--maz-color-success-400:#acd657;--maz-color-success:#99cd32;--maz-color-success-600:#7ea829;--maz-color-success-700:#658722;--maz-color-success-800:#496218;--maz-color-success-900:#2e3e0f;--maz-color-success-alpha:rgba(153,205,50,.6);--maz-color-success-alpha-20:rgba(153,205,50,.2);--maz-color-success-contrast:#fff;--maz-color-warning-50:#fff7e6;--maz-color-warning-100:#feeac3;--maz-color-warning-200:#fede9f;--maz-color-warning-300:#fdd077;--maz-color-warning-400:#fdc553;--maz-color-warning:#fcb831;--maz-color-warning-600:#d29928;--maz-color-warning-700:#a27720;--maz-color-warning-800:#785817;--maz-color-warning-900:#4d380f;--maz-color-warning-alpha:rgba(252,184,49,.6);--maz-color-warning-alpha-20:rgba(252,184,49,.2);--maz-color-warning-contrast:#384252;--maz-color-danger-50:#ffebeb;--maz-color-danger-100:#ffd2d1;--maz-color-danger-200:#ffbab8;--maz-color-danger-300:#ffa09e;--maz-color-danger-400:#ff8785;--maz-color-danger:#ff6e6b;--maz-color-danger-600:#d25856;--maz-color-danger-700:#a54745;--maz-color-danger-800:#7b3332;--maz-color-danger-900:#4c2020;--maz-color-danger-alpha:hsla(1,100%,71%,.6);--maz-color-danger-alpha-20:hsla(1,100%,71%,.2);--maz-color-danger-contrast:#fff;--maz-color-text-light:#d9d9d9;--maz-color-muted-light:rgba(0,0,0,.54);--maz-color-text-dark:#212427;--maz-color-muted-dark:hsla(0,0%,89%,.54);--maz-bg-overlay:rgba(0,0,0,.3);--maz-bg-color-light:#fff;--maz-bg-color-light-light:#f0f0f0;--maz-bg-color-light-lighter:#f2f2f2;--maz-bg-color-dark:#20212c;--maz-bg-color-dark-light:#313245;--maz-bg-color-dark-lighter:#3b3c54;--maz-border-width:0.125rem;--maz-border-radius:0.7rem;--maz-font-family:system-ui,-apple-system,blinkmacsystemfont,"Segoe UI",roboto,oxygen,ubuntu,cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--maz-color-text:var(--maz-color-text-dark);--maz-color-muted:var(--maz-color-muted-light);--maz-color-bg:var(--maz-bg-color-light);--maz-color-bg-light:var(--maz-bg-color-light-light);--maz-color-bg-lighter:var(--maz-bg-color-light-lighter);--maz-color-bg-theme:var(--maz-bg-color-dark);--maz-color-bg-theme-hover:var(--maz-bg-color-dark-lighter)}html.dark{--maz-color-text:var(--maz-color-text-light);--maz-color-muted:var(--maz-color-muted-dark);--maz-color-bg:var(--maz-bg-color-dark);--maz-color-bg-light:var(--maz-bg-color-dark-light);--maz-color-bg-lighter:var(--maz-bg-color-dark-lighter);--maz-color-bg-theme:var(--maz-bg-color-light);--maz-color-bg-theme-hover:var(--maz-bg-color-light-lighter)}:root{--maz-container-padding-mobile:1rem;--maz-container-padding-tablet:2rem;--maz-container-padding-desktop:2.5rem;--maz-container-padding-value:var(--maz-container-padding-mobile);--maz-container-width:calc(100% - var(--maz-container-padding-value)*2);--maz-container-padding:calc(50% - var(--maz-container-width)/2);--maz-container-max-width:1440px}@media only screen and (min-width:1520px){:root{--maz-container-width:var(--maz-container-max-width)}}@media (min-width:576px){:root{--maz-container-padding-value:var(--maz-container-padding-tablet)}}@media (min-width:1024px){:root{--maz-container-padding-value:var(--maz-container-padding-desktop)}}.maz-scale-enter-active,.maz-scale-leave-active{opacity:1;-webkit-transition:all .3s cubic-bezier(.4,.52,.26,.9);transition:all .3s cubic-bezier(.4,.52,.26,.9);z-index:1}.maz-scale-enter-from,.maz-scale-leave-to{opacity:.4;-webkit-transform:scale(0);transform:scale(0);z-index:1}.maz-scale-fade-enter-active,.maz-scale-fade-leave-active{opacity:1;-webkit-transition:all .2s cubic-bezier(.4,.52,.26,.9);transition:all .2s cubic-bezier(.4,.52,.26,.9);z-index:1}.maz-scale-fade-enter-from,.maz-scale-fade-leave-to{opacity:0;-webkit-transform:scale(.5);transform:scale(.5);z-index:1}.maz-scale-loading-enter-active,.maz-scale-loading-enter-active .app-loader__content,.maz-scale-loading-leave-active,.maz-scale-loading-leave-active .app-loader__content{opacity:1;-webkit-transition:all .5s cubic-bezier(.4,.52,.26,.9);transition:all .5s cubic-bezier(.4,.52,.26,.9)}.maz-scale-loading-enter-active .app-loader__content,.maz-scale-loading-leave-active .app-loader__content{-webkit-transform:scale(1);transform:scale(1);z-index:1}.maz-scale-loading-enter-from .app-loader__content,.maz-scale-loading-leave-to .app-loader__content{opacity:.4;-webkit-transform:scale(0);transform:scale(0);z-index:1}.maz-scale-loading-enter-from,.maz-scale-loading-leave-to{opacity:0;-webkit-transition:all .5s cubic-bezier(.4,.52,.26,.9);transition:all .5s cubic-bezier(.4,.52,.26,.9)}.maz-slidevnext-enter-active,.maz-slidevnext-leave-active,.maz-slidevprev-enter-active,.maz-slidevprev-leave-active{position:absolute;-webkit-transition:all .3s;transition:all .3s}.maz-slidevnext-enter-from,.maz-slidevprev-leave-to{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}.maz-slidevnext-leave-to,.maz-slidevprev-enter-from{opacity:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.maz-slide-enter-active,.maz-slide-leave-active{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;z-index:998}.maz-slide-enter-from,.maz-slide-leave-to{opacity:0;-webkit-transform:translateY(-20px);transform:translateY(-20px);z-index:998}.maz-slideinvert-enter-active,.maz-slideinvert-leave-active{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;z-index:998}.maz-slideinvert-enter-from,.maz-slideinvert-leave-to{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px);z-index:998}.maz-tags-enter-active,.maz-tags-leave-active{opacity:1;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.maz-tags-enter-from,.maz-tags-leave-to{opacity:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.maz-tags-invert-enter-active,.maz-tags-invert-leave-active{opacity:1;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.maz-tags-invert-enter-from,.maz-tags-invert-leave-to{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.maz-expand-enter-active,.maz-expand-leave-active{overflow:hidden;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;-webkit-transition-property:opacity,height;transition-property:opacity,height}.maz-expand-enter-from,.maz-expand-leave-to{height:0;opacity:0}.maz-tab-transition-enter-from{-webkit-transform:translate(100%);transform:translate(100%)}.maz-tab-transition-leave,.maz-tab-transition-leave-active{position:absolute!important;top:0}.maz-tab-transition-leave-to{position:absolute!important}.maz-tab-reverse-transition-enter-from,.maz-tab-transition-leave-to{-webkit-transform:translate(-100%);transform:translate(-100%)}.maz-tab-reverse-transition-leave,.maz-tab-reverse-transition-leave-active{position:absolute!important;top:0}.maz-tab-reverse-transition-leave,.maz-tab-reverse-transition-leave-to{position:absolute!important;top:0;-webkit-transform:translate(100%);transform:translate(100%)}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-ms-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.maz-sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.maz-invisible{visibility:hidden}.maz-fixed{position:fixed}.maz-absolute{position:absolute}.maz-relative{position:relative}.maz-inset-0{inset:0}.maz-inset-x-0{left:0;right:0}.maz-bottom-0{bottom:0}.maz-z-default-backdrop{z-index:1050}.\!maz-my-0{margin-bottom:0!important;margin-top:0!important}.maz-my-0{margin-bottom:0;margin-top:0}.maz-my-2{margin-bottom:.5rem;margin-top:.5rem}.maz-ml-1{margin-left:.25rem}.maz-ml-2{margin-left:.5rem}.maz-flex{display:-webkit-box;display:-ms-flexbox;display:flex}.maz-hidden{display:none}.maz-h-1{height:.25rem}.maz-h-16{height:4rem}.maz-h-6{height:1.5rem}.maz-h-8{height:2rem}.maz-h-\[1\.3rem\]{height:1.3rem}.maz-h-auto{height:auto}.maz-h-full{height:100%}.maz-h-screen{height:100vh}.maz-w-6{width:1.5rem}.maz-w-8{width:2rem}.maz-w-9{width:2.25rem}.maz-w-\[1\.3rem\]{width:1.3rem}.maz-w-auto{width:auto}.maz-w-full{width:100%}.maz-w-screen{width:100vw}.maz-min-w-0{min-width:0}.maz-max-w-\[none\]{max-width:none}.maz-max-w-full{max-width:100%}.maz-flex-1{-webkit-box-flex:1;-ms-flex:1 1 0%;flex:1 1 0%}.maz-flex-none{-webkit-box-flex:0;-ms-flex:none;flex:none}.maz-rotate-180{--tw-rotate:180deg}.maz-rotate-180,.maz-rotate-90{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.maz-rotate-90{--tw-rotate:90deg}.maz-cursor-zoom-in{cursor:-webkit-zoom-in;cursor:zoom-in}.maz-flex-row{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.maz-flex-col,.maz-flex-row{-webkit-box-direction:normal}.maz-flex-col{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.maz-items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.maz-justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.maz-justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.maz-gap-1{gap:.25rem}.maz-gap-2{gap:.5rem}.maz-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.maz-overflow-hidden{overflow:hidden}.maz-overflow-x-auto{overflow-x:auto}.maz-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.maz-rounded{border-radius:var(--maz-border-radius)}.maz-rounded-xl{border-radius:.75rem}.maz-rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.maz-border{border-width:var(--maz-border-width)}.maz-border-b-2{border-bottom-width:2px}.maz-border-t-2{border-top-width:2px}.maz-border-solid{border-style:solid}.maz-border-black{border-color:var(--maz-color-black)}.maz-border-color-lighter{border-color:var(--maz-color-bg-lighter)}.maz-border-danger{border-color:var(--maz-color-danger)}.maz-border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.maz-border-info{border-color:var(--maz-color-info)}.maz-border-primary{border-color:var(--maz-color-primary)}.maz-border-secondary{border-color:var(--maz-color-secondary)}.maz-border-success{border-color:var(--maz-color-success)}.maz-border-transparent{border-color:transparent}.maz-border-warning{border-color:var(--maz-color-warning)}.maz-border-white{border-color:var(--maz-color-white)}.maz-bg-color-light{background-color:var(--maz-color-bg-light)}.maz-bg-danger-700{background-color:var(--maz-color-danger-700)}.maz-bg-info-700{background-color:var(--maz-color-info-700)}.maz-bg-overlay{background-color:var(--maz-bg-overlay)}.maz-bg-secondary{background-color:var(--maz-color-secondary)}.maz-bg-success-700{background-color:var(--maz-color-success-700)}.maz-bg-warning-700{background-color:var(--maz-color-warning-700)}.maz-p-2{padding:.5rem}.maz-p-3{padding:.75rem}.maz-p-4{padding:1rem}.maz-py-6{padding-bottom:1.5rem;padding-top:1.5rem}.maz-pb-1{padding-bottom:.25rem}.maz-text-left{text-align:left}.maz-text-center{text-align:center}.maz-text-right{text-align:right}.maz-text-2xl{font-size:1.5rem;line-height:2rem}.maz-text-base{font-size:1rem;line-height:1.5rem}.maz-text-lg{font-size:1.125rem;line-height:1.75rem}.maz-text-sm{font-size:.875rem;line-height:1.25rem}.maz-text-xl{font-size:1.25rem;line-height:1.75rem}.maz-text-xs{font-size:.75rem;line-height:1rem}.maz-font-semibold{font-weight:600}.maz-text-danger-600{color:var(--maz-color-danger-600)}.maz-text-muted{color:var(--maz-color-muted)}.maz-text-normal{color:var(--maz-color-text)}.maz-text-success-600{color:var(--maz-color-success-600)}.maz-text-warning-600{color:var(--maz-color-warning-600)}.maz-text-white{color:var(--maz-color-white)}.maz-outline-none{outline:2px solid transparent;outline-offset:2px}.maz-backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.maz-transition-all{-webkit-transition-duration:.15s;transition-duration:.15s;-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.maz-transition-transform{-webkit-transition-duration:.15s;transition-duration:.15s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.maz-duration-200{-webkit-transition-duration:.2s;transition-duration:.2s}.maz-ease-in-out{-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.maz-ease-linear{-webkit-transition-timing-function:linear;transition-timing-function:linear}.maz-elevation{-webkit-box-shadow:0 5px 10px 0 rgba(0,0,0,.05);box-shadow:0 5px 10px 0 rgba(0,0,0,.05)}.maz-flex-center{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;justify-content:center}:is([class~=dark] .dark\:maz-border-color-lighter){border-color:var(--maz-color-bg-lighter)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazBtn.css";
|
|
2
2
|
import { defineComponent as M, defineAsyncComponent as z, useAttrs as E, useSlots as L, onBeforeMount as R, computed as t, openBlock as o, createBlock as i, resolveDynamicComponent as w, normalizeClass as u, withCtx as A, createElementBlock as v, renderSlot as r, unref as d, createCommentVNode as a, createElementVNode as D } from "vue";
|
|
3
|
-
import { _ as N } from "./index-
|
|
3
|
+
import { _ as N } from "./index-0wbCxej8.mjs";
|
|
4
4
|
const P = /* @__PURE__ */ M({
|
|
5
5
|
__name: "MazBtn",
|
|
6
6
|
props: {
|
|
@@ -40,7 +40,7 @@ const P = /* @__PURE__ */ M({
|
|
|
40
40
|
noElevation: { type: Boolean, default: !1 }
|
|
41
41
|
},
|
|
42
42
|
setup(e) {
|
|
43
|
-
const p = z(() => import("./MazSpinner-
|
|
43
|
+
const p = z(() => import("./MazSpinner-U-92TzUo.mjs")), c = z(() => import("./MazIcon-jN7MCOTm.mjs")), { href: B, to: h } = E(), b = L(), n = e;
|
|
44
44
|
R(() => {
|
|
45
45
|
n.icon && !n.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
46
46
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var S=require("../assets/MazBtn.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("./index-
|
|
1
|
+
var S=require("../assets/MazBtn.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("./index-fNfaYOpu.cjs"),z=e.defineComponent({__name:"MazBtn",props:{variant:{type:String,default:"button",validator:t=>["button","link"].includes(t)},size:{type:String,default:"md",validator:t=>["mini","xs","sm","md","lg","xl"].includes(t)},color:{type:String,default:"primary"},type:{type:String,default:"button",validator:t=>["button","submit","reset"].includes(t)},rounded:{type:Boolean,default:!1},noRounded:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},pastel:{type:Boolean,default:!1},block:{type:Boolean,default:!1},noUnderline:{type:Boolean,default:!1},noLeading:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},fab:{type:Boolean,default:!1},icon:{type:String,default:void 0},leftIcon:{type:String,default:void 0},rightIcon:{type:String,default:void 0},noPadding:{type:Boolean,default:!1},noElevation:{type:Boolean,default:!1}},setup(t){const d=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazSpinner-9nuTFEMU.cjs"))),a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazIcon-1rUbp3IR.cjs"))),{href:f,to:m}=e.useAttrs(),r=e.useSlots(),o=t;e.onBeforeMount(()=>{o.icon&&!o.fab&&console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props')});const i=e.computed(()=>f?"a":m?"router-link":"button"),v=e.computed(()=>o.pastel?`--${o.color}-pastel`:o.outline?`--${o.color}-outline`:`--${o.color}`),c=e.computed(()=>(o.loading||o.disabled)&&i.value==="button"),b=e.computed(()=>c.value?"--cursor-default":"--cursor-pointer"),y=e.computed(()=>`--is-${o.variant}`),n=e.computed(()=>o.loading&&o.variant==="button"),u=e.computed(()=>!!r["left-icon"]||o.leftIcon),s=e.computed(()=>!!r["right-icon"]||o.rightIcon),p=e.computed(()=>u.value||s.value),B=e.computed(()=>o.fab&&o.icon),g=e.computed(()=>i.value==="button"?o.type:void 0);return(l,h)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{disabled:c.value,class:e.normalizeClass(["m-btn",[`--${t.size}`,v.value,b.value,y.value,{"--block":t.block,"--no-underline":t.noUnderline,"--no-leading":t.noLeading,"--fab":t.fab,"--loading":t.loading,"--disabled":c.value,"--icon":p.value,"--rounded":t.rounded,"--no-rounded":t.noRounded,"--no-padding":t.noPadding,"--no-elevation":t.noElevation}]]),type:g.value},{default:e.withCtx(()=>[u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["m-btn__icon-left maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"left-icon",{},()=>[t.leftIcon?(e.openBlock(),e.createBlock(e.unref(a),{key:0,name:t.leftIcon},null,8,["name"])):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),B.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["m-btn__icon maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"icon",{},()=>[t.icon?(e.openBlock(),e.createBlock(e.unref(a),{key:0,name:t.icon},null,8,["name"])):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("span",{class:e.normalizeClass(["maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"default",{},void 0,!0)],2),s.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["m-btn__icon-right maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"right-icon",{},()=>[t.rightIcon?(e.openBlock(),e.createBlock(e.unref(a),{key:0,name:t.rightIcon},null,8,["name"])):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),n.value?(e.openBlock(),e.createBlock(e.unref(d),{key:3,size:"2em",color:t.color,class:"maz-absolute"},null,8,["color"])):e.createCommentVNode("v-if",!0)]),_:3},8,["disabled","class","type"]))}}),C=k._export_sfc(z,[["__scopeId","data-v-78782cb0"]]);exports.default=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),C=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),C=require("./index-fNfaYOpu.cjs"),T=["innerHTML"],b=t.defineComponent({__name:"MazIcon",props:{src:{type:String,default:void 0},path:{type:String,default:void 0},name:{type:String,default:void 0},size:{type:String,default:void 0},title:{type:String,default:void 0},transformSource:{type:Function,default:a=>a}},emits:["loaded","unloaded","error"],setup(a,{emit:f}){const i={},s=t.ref(),d=t.ref(),g=()=>{try{return C.injectStrict("mazIconPath")}catch{return}},l=a,u=f,m=t.computed(()=>l.path??g()),p=t.computed(()=>l.src?l.src:m.value?`${m.value}/${l.name}.svg`:`/${l.name}.svg`);t.onMounted(()=>{!l.name&&!l.src&&console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop')});const h=(e,r)=>{const n=e.querySelectorAll("title");if(n.length>0)n[0].textContent=r;else{const o=document.createElementNS("http://www.w3.org/2000/svg","title");o.textContent=r,e.append(o)}},S=e=>Object.keys(e).reduce((r,n)=>(e[n]!==!1&&e[n]!==null&&e[n]!==void 0&&(r[n]=e[n]),r),{}),y=e=>{const r={},n=e.attributes;if(!n)return r;for(let o=n.length-1;o>=0;o--)r[n[o].name]=n[o].value;return r},w=e=>{let r=e.cloneNode(!0);return r=l.transformSource(e),l.title&&h(r,l.title),e.innerHTML},E=async e=>{i[e]||(i[e]=M(e));try{s.value=await i[e],await t.nextTick(),u("loaded",d.value)}catch(r){s.value&&(s.value=void 0,u("unloaded")),delete i[e],u("error",r)}},M=e=>new Promise((r,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.addEventListener("load",()=>{if(o.status>=200&&o.status<400)try{let c=new DOMParser().parseFromString(o.responseText,"text/xml").querySelectorAll("svg")[0];c?(c=l.transformSource(c),r(c)):n(new Error('Loaded file is not valid SVG"'))}catch(v){n(v)}else n(new Error("Error loading SVG"))}),o.addEventListener("error",()=>n()),o.send()});return t.watchEffect(()=>E(p.value)),(e,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createCommentVNode(" eslint-disable vue/no-v-html "),t.createCommentVNode(" eslint-disable vue/html-self-closing "),s.value?(t.openBlock(),t.createElementBlock("svg",t.mergeProps({key:0,ref_key:"svgElem",ref:d,width:"1em",height:"1em"},{...y(s.value),...S(e.$attrs)},{style:`font-size: ${a.size}`,innerHTML:w(s.value)}),null,16,T)):t.createCommentVNode("v-if",!0),t.createCommentVNode(" eslint-enable vue/no-v-html "),t.createCommentVNode(" eslint-enable vue/html-self-closing ")],2112))}});exports.default=b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, ref as f, computed as g, onMounted as P, watchEffect as _, openBlock as p, createElementBlock as h, Fragment as A, createCommentVNode as s, mergeProps as C, nextTick as $ } from "vue";
|
|
2
|
-
import { i as q } from "./index-
|
|
2
|
+
import { i as q } from "./index-0wbCxej8.mjs";
|
|
3
3
|
const H = ["innerHTML"], G = /* @__PURE__ */ b({
|
|
4
4
|
__name: "MazIcon",
|
|
5
5
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var l=require("../assets/MazSpinner.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-
|
|
1
|
+
var l=require("../assets/MazSpinner.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-fNfaYOpu.cjs"),n=e=>(t.pushScopeId("data-v-c67298ec"),e=e(),t.popScopeId(),e),o=["width","height"],s=n(()=>t.createElementVNode("path",{d:"M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"},null,-1)),r=[s],i=t.defineComponent({__name:"MazSpinner",props:{size:{type:String,default:"2em"},color:{type:String,default:"primary"}},setup(e){return(p,d)=>(t.openBlock(),t.createElementBlock("svg",{width:e.size,height:e.size,version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 50 50","xml:space":"preserve",class:t.normalizeClass(["m-spinner",`m-spinner--${e.color}`]),style:{"enable-background":"new 0 0 50 50"}},r,10,o))}}),a=c._export_sfc(i,[["__scopeId","data-v-c67298ec"]]);exports.default=a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazSpinner.css";
|
|
2
2
|
import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
|
|
3
|
-
import { _ as p } from "./index-
|
|
3
|
+
import { _ as p } from "./index-0wbCxej8.mjs";
|
|
4
4
|
const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
|
|
5
5
|
"path",
|
|
6
6
|
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
@@ -779,7 +779,7 @@ const gt = {
|
|
|
779
779
|
},
|
|
780
780
|
emits: ["close", "previous", "next", "before-close"],
|
|
781
781
|
setup(s, { emit: e }) {
|
|
782
|
-
const t = e, i = w(() => import("./MazSpinner-
|
|
782
|
+
const t = e, i = w(() => import("./MazSpinner-U-92TzUo.mjs")), o = w(() => import("./x-mark-pPwcH6Hz.mjs")), m = w(() => import("./chevron-left-48sF6neb.mjs"));
|
|
783
783
|
let d;
|
|
784
784
|
tt(async () => {
|
|
785
785
|
d = await import("vue-scrollto");
|
|
@@ -1149,7 +1149,7 @@ const Ye = {
|
|
|
1149
1149
|
!o && i.value > 0 && d();
|
|
1150
1150
|
}
|
|
1151
1151
|
function p() {
|
|
1152
|
-
l();
|
|
1152
|
+
i.value = s, l();
|
|
1153
1153
|
}
|
|
1154
1154
|
return De(() => {
|
|
1155
1155
|
p();
|
|
@@ -1182,7 +1182,7 @@ const Ye = {
|
|
|
1182
1182
|
},
|
|
1183
1183
|
emits: ["close", "click", "open"],
|
|
1184
1184
|
setup(s, { emit: e }) {
|
|
1185
|
-
const t = w(() => import("./MazBtn-
|
|
1185
|
+
const t = w(() => import("./MazBtn-JRiYAnNE.mjs")), i = w(() => import("./x-mark-pPwcH6Hz.mjs")), o = w(
|
|
1186
1186
|
() => import("./arrow-top-right-on-square-JGWhrxDH.mjs")
|
|
1187
1187
|
), m = w(
|
|
1188
1188
|
() => import("./exclamation-triangle-Lkly8oW6.mjs")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Ue=Object.create;var
|
|
1
|
+
var Ue=Object.create;var ne=Object.defineProperty;var je=Object.getOwnPropertyDescriptor;var Re=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,Ke=Object.prototype.hasOwnProperty;var Ye=(s,e,t)=>e in s?ne(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var Xe=(s,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Re(e))!Ke.call(s,i)&&i!==t&&ne(s,i,{get:()=>e[i],enumerable:!(o=je(e,i))||o.enumerable});return s};var Ze=(s,e,t)=>(t=s!=null?Ue(We(s)):{},Xe(e||!s||!s.__esModule?ne(t,"default",{value:s,enumerable:!0}):t,s));var l=(s,e,t)=>(Ye(s,typeof e!="symbol"?e+"":e,t),t);var ts=require("../assets/index.css");const n=require("vue");function Y(s,e){const t=n.inject(s,e);if(!t)throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${s}`);return t}function Qe(s,e){let t;return function(...o){clearTimeout(t),t=setTimeout(()=>{s.apply(this,o)},e)}}function ze(s){return!!s}function ae(s,e){let t=e==null?void 0:e.element;function o(){t&&n.render(null,t)}const i=n.createVNode(s,{...e==null?void 0:e.props,...e!=null&&e.addDestroyInProps?{destroy:o}:{}},e==null?void 0:e.children);return e!=null&&e.app?(i.appContext=e.app._context,t?n.render(i,t):typeof document<"u"&&(t=document.createElement("div"),n.render(i,t))):(t=t??document.body,n.render(i,t)),{vNode:i,destroy:o,el:t}}function I(){return typeof document<"u"}class Ee{constructor(e,t){l(this,"defaultOptions",{element:void 0,timeout:60*1e3*5,once:!1,immediate:!0});l(this,"options");l(this,"timeoutHandler");l(this,"isIdle",!1);l(this,"isDestroy",!1);l(this,"startTime",0);l(this,"remainingTime",0);l(this,"lastClientX",-1);l(this,"lastClientY",-1);l(this,"eventNames",["DOMMouseScroll","mousedown","mousemove","mousewheel","MSPointerDown","MSPointerMove","keydown","touchmove","touchstart","wheel","click"]);l(this,"handleEvent",e=>{try{if(this.remainingTime>0)return;if(e.type==="mousemove"){const{clientX:t,clientY:o}=e;if(t===void 0&&o===void 0||t===this.lastClientX&&o===this.lastClientY)return;this.lastClientX=t,this.lastClientY=o}this.resetTimeout(),this.callback({isIdle:this.isIdle,eventType:e.type})}catch(t){throw new Error(`[IdleTimeout](handleEvent) ${t}`)}});this.callback=e,this.options={...this.defaultOptions,...t},I()&&this.start()}get element(){return this.options.element??document.body}start(){if(!I()){console.warn("[IdleTimeout](start) you should run this method on client side");return}for(const e of this.eventNames)this.element.addEventListener(e,this.handleEvent);this.resetTimeout(),this.options.immediate&&this.callback({isIdle:!1})}pause(){const e=this.startTime+this.options.timeout-Date.now();e<=0||(this.remainingTime=e,this.timeoutHandler&&(clearTimeout(this.timeoutHandler),this.timeoutHandler=void 0))}resume(){this.remainingTime<=0||(this.resetTimeout(),this.callback({isIdle:this.isIdle}),this.remainingTime=0)}reset(){this.isDestroy=!1,this.isIdle=!1,this.remainingTime=0,this.resetTimeout(),this.callback({isIdle:this.isIdle})}destroy(){if(!I()){console.warn("[IdleTimeout](destroy) you should run this method on client side");return}this.isDestroy=!0;for(const e of this.eventNames)this.element.removeEventListener(e,this.handleEvent);this.timeoutHandler&&clearTimeout(this.timeoutHandler)}resetTimeout(){this.isIdle=!1,this.timeoutHandler&&(clearTimeout(this.timeoutHandler),this.timeoutHandler=void 0),this.timeoutHandler=setTimeout(this.handleTimeout.bind(this),this.remainingTime||this.options.timeout),this.startTime=Date.now()}handleTimeout(){this.isIdle=!0,this.callback({isIdle:this.isIdle}),this.options.once&&this.destroy()}get destroyed(){return this.isDestroy}get timeout(){return this.options.timeout}set timeout(e){this.options.timeout=e}get idle(){return this.isIdle}set idle(e){e?this.handleTimeout():this.reset(),this.callback({isIdle:this.isIdle})}}class Le{constructor(e,t){l(this,"eventHandlerFunction");l(this,"event","visibilitychange");l(this,"timeoutHandler");l(this,"options");l(this,"defaultOptions",{timeout:5e3,once:!1,immediate:!0});l(this,"isVisible",!1);this.callback=e,this.options={...this.defaultOptions,...t},this.eventHandlerFunction=this.eventHandler.bind(this),I()&&this.start()}start(){if(!I()){console.warn("[UserVisibility](start) you should run this method on client side");return}this.options.immediate&&this.emitCallback(),this.addEventListener()}emitCallback(){this.isVisible=document.visibilityState==="visible",this.callback({isVisible:this.isVisible}),this.options.once&&this.destroy()}eventHandler(){document.visibilityState==="visible"&&!this.isVisible?(this.clearTimeout(),this.emitCallback()):document.visibilityState==="hidden"&&this.initTimeout()}clearTimeout(){this.timeoutHandler&&(clearTimeout(this.timeoutHandler),this.timeoutHandler=void 0)}initTimeout(){this.clearTimeout(),this.timeoutHandler=setTimeout(this.emitCallback.bind(this),this.options.timeout)}addEventListener(){document.addEventListener(this.event,this.eventHandlerFunction)}removeEventListener(){document.removeEventListener(this.event,this.eventHandlerFunction)}destroy(){this.removeEventListener(),this.timeoutHandler&&clearTimeout(this.timeoutHandler)}}const H=s=>new Promise(e=>{setTimeout(e,s)});class Ge{constructor({src:e,identifier:t,once:o=!0,async:i=!0,defer:d=!0}){l(this,"src");l(this,"script");l(this,"once");l(this,"async");l(this,"defer");l(this,"identifier");if(typeof window>"u")throw new TypeError("[ScriptLoader]: Is supported only on browser side");if(!e)throw new Error('[ScriptLoader]: You should provide the attribut "src"');if(!t)throw new Error('[ScriptLoader]: You should provide the attribut "identifier"');this.src=e,this.identifier=t,this.once=o,this.async=i,this.defer=d}removeTag(e){var t;typeof e=="string"?(t=document.head.querySelector(`[data-identifier="${e}"]`))==null||t.remove():e.remove()}load(){const e=window,t=document.head.querySelectorAll(`[data-identifier="${this.identifier}"]`);if(this.once&&e[this.identifier]&&t.length>0)return this.script=e[this.identifier],Promise.resolve(this.script);if(!this.once&&t.length>0)for(const o of t)this.removeTag(o);return this.injectScript()}injectScript(){const e=window;return new Promise((t,o)=>{try{const i=document.createElement("script");i.src=this.src,i.async=this.async,i.defer=this.defer,i.dataset.identifier=this.identifier,i.addEventListener("error",d=>o(new Error(`[ScriptLoader](injectScript) ${d.message}`))),i.addEventListener("load",d=>(this.script=d,e[this.identifier]=d,t(d))),document.head.append(i)}catch(i){throw new Error(`[ScriptLoader](init) ${i}`)}})}}function Je(s){return[...s].map(e=>{const t=e.codePointAt(0);return t?t%32+127461:void 0}).filter(ze).map(e=>String.fromCodePoint(e)).join("")}const K="__vue_click_away__",Ie=()=>document.ontouchstart===null?"touchstart":"click",Te=async(s,e)=>{ke(s);const t=e.instance,o=e.value,i=typeof o=="function";if(!i)throw new Error("[maz-ui](vClickOutside) the callback should be a function");await n.nextTick(),s[K]=h=>{if((!s||!s.contains(h.target))&&o&&i)return o.call(t,h)};const d=Ie();document.addEventListener(d,s[K],!1)},ke=s=>{const e=Ie();document.removeEventListener(e,s[K],!1),delete s[K]},et=(s,e)=>{e.value!==e.oldValue&&Te(s,e)},le={mounted:Te,updated:et,unmounted:ke},tt={install:s=>{s.directive("click-outside",le)}},Ce=(s,e,t,o)=>{s.stopPropagation();const{handler:i,exclude:d}=t.value;let h=!1;if(d&&d.length>0)for(const c of d)h||(h=o.context.$refs[c].contains(s.target));!e.contains(s.target)&&!h&&o.context[i]()},Ae=()=>document.ontouchstart===null?"touchstart":"click",st=(s,e,t)=>{const o=Ae();document.removeEventListener(o,i=>Ce(i,s,e,t))},ot=(s,e,t)=>{const o=Ae();document.addEventListener(o,i=>Ce(i,s,e,t))},ce={mounted:ot,unmounted:st},nt={install:s=>{s.directive("closable",ce)}},it=`
|
|
2
2
|
.maz-zoom-img {
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|
|
@@ -121,4 +121,4 @@ var Ue=Object.create;var ie=Object.defineProperty;var je=Object.getOwnPropertyDe
|
|
|
121
121
|
|
|
122
122
|
.maz-zoom-img .maz-zoom-btn:hover {
|
|
123
123
|
background-color: hsl(0, 0%, 0%);
|
|
124
|
-
}`,ve={close:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>',next:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>',previous:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>',spinner:'<svg width="40px" height="40px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="currentColor" x="0px" y="0px" viewBox="0 0 50 50" xml:space="preserve" class="maz-zoom-img__loader__svg" data-v-6d1cb50c=""><path d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"></path></svg>'};class rt{constructor(e){l(this,"options");l(this,"loader");l(this,"wrapper");l(this,"img");l(this,"keydownHandler");l(this,"onImgLoadedCallback");l(this,"buttonsAdded");l(this,"defaultOptions",{scale:!0,blur:!0,disabled:!1});l(this,"mouseEnterListener");l(this,"mouseLeaveListener");l(this,"renderPreviewListener");if(!e.value)throw new Error('[MazUI](zoom-img) Image path must be defined. Ex: `v-zoom-img="<PATH_TO_IMAGE>"`');if(typeof e.value=="object"&&!e.value.src)throw new Error("[maz-ui](zoom-img) src of image must be provided");this.buttonsAdded=!1,this.options=this.buildOptions(e),this.keydownHandler=this.keydownLister.bind(this),this.loader=this.getLoader(),this.wrapper=document.createElement("div"),this.wrapper.classList.add("maz-zoom-img__wrapper"),this.wrapper.prepend(this.loader),this.img=document.createElement("img"),this.onImgLoadedCallback=this.onImgLoaded.bind(this),this.imgEventHandler(!0)}buildOptions(e){return{...this.defaultOptions,...typeof e.value=="object"?e.value:{src:e.value}}}get allInstances(){return[...document.querySelectorAll(".maz-zoom-img-instance")]}create(e){this.options.disabled||(e.style.cursor="pointer",setTimeout(()=>e.classList.add("maz-zoom-img-instance")),e.setAttribute("data-zoom-src",this.options.src),this.options.alt&&e.setAttribute("data-zoom-alt",this.options.alt),e.style.transition="all 300ms ease-in-out",this.mouseEnterListener=()=>this.mouseEnter(e),this.mouseLeaveListener=()=>this.mouseLeave(e),this.renderPreviewListener=()=>this.renderPreview(e,this.options),e.addEventListener("mouseenter",this.mouseEnterListener),e.addEventListener("mouseleave",this.mouseLeaveListener),e.addEventListener("click",this.renderPreviewListener))}update(e){this.options=this.buildOptions(e)}remove(e){this.imgEventHandler(!1),e.removeEventListener("mouseenter",this.mouseEnterListener),e.removeEventListener("mouseleave",this.mouseLeaveListener),e.removeEventListener("click",this.renderPreviewListener),e.classList.remove("maz-zoom-img-instance"),e.removeAttribute("data-zoom-src"),e.removeAttribute("data-zoom-alt"),e.style.cursor=""}renderPreview(e,t){e.classList.add("maz-is-open"),this.addStyle(nt);const o=document.createElement("div");o.classList.add("maz-zoom-img"),o.setAttribute("id","MazImgPreviewFullsize"),o.addEventListener("click",n=>{o.isEqualNode(n.target)&&this.closePreview()}),typeof t=="object"&&(this.img.setAttribute("src",t.src),t.alt&&this.img.setAttribute("alt",t.alt),this.img.id="MazImgElement"),this.wrapper.append(this.img),o.append(this.wrapper),document.body.append(o),this.keyboardEventHandler(!0),setTimeout(()=>{o&&o.classList.add("maz-animate")},100)}onImgLoaded(){this.wrapper.style.width=`${this.img.width}px`,this.wrapper.style.minWidth="200px",this.loader.hidden=!0;const e=this.getButton(),t=[],o=this.allInstances.length>1;if(!this.buttonsAdded){if(this.buttonsAdded=!0,o){const n=this.getButton("previous"),d=this.getButton("next");t.push(n,d)}this.wrapper.append(e),o&&(this.wrapper.prepend(t[0]),this.wrapper.append(t[1]))}}getLoader(){const e=document.createElement("div");return e.classList.add("maz-zoom-img__loader"),e.innerHTML=ve.spinner,e}mouseLeave(e){this.options.scale&&(e.style.transform=""),this.options.blur&&(e.style.filter=""),e.style.zIndex=""}mouseEnter(e){e.style.zIndex="1",this.options.scale&&(e.style.transform="scale(1.1)"),this.options.blur&&(e.style.filter="blur(2px)")}keydownLister(e){e.preventDefault(),(e.key==="Escape"||e.key===" ")&&this.closePreview(),(e.key==="ArrowLeft"||e.key==="ArrowRight")&&this.nextPreviousImage(e.key==="ArrowRight")}getButton(e="close"){const t=document.createElement("button");return t.innerHTML=ve[e],t.addEventListener("click",()=>{e==="close"?this.closePreview():this.allInstances&&this.nextPreviousImage(e==="next")}),t.classList.add("maz-zoom-btn"),t.classList.add(`maz-zoom-btn--${e}`),t}closePreview(){const e=document.querySelector("#MazImgPreviewFullsize"),t=document.querySelector("#MazPreviewStyle"),o=document.querySelector(".maz-zoom-img-instance.maz-is-open");o&&o.classList.remove("maz-is-open"),e&&e.classList.remove("maz-animate"),this.keyboardEventHandler(!1),setTimeout(()=>{e&&e.remove(),t&&t.remove()},300)}getNewInstanceIndex(e){return e<0?this.allInstances.length-1:e>=this.allInstances.length?0:e}nextPreviousImage(e){const t=e,o=document.querySelector(".maz-zoom-img-instance.maz-is-open");if(o){const n=this.allInstances.indexOf(o),d=t?n+1:n-1,h=this.allInstances[this.getNewInstanceIndex(d)];h&&this.useNextInstance(o,h)}}useNextInstance(e,t){e.classList.remove("maz-is-open"),t.classList.add("maz-is-open");const o=t.getAttribute("data-zoom-src"),n=t.getAttribute("data-zoom-alt");this.wrapper.style.width="",this.loader.hidden=!1,o&&this.img.setAttribute("src",o),n&&this.img.setAttribute("alt",n)}addStyle(e){const t=document.createElement("style");t.id="MazPreviewStyle",t.textContent=e,document.head.append(t)}keyboardEventHandler(e){if(e)return document.addEventListener("keydown",this.keydownHandler);document.removeEventListener("keydown",this.keydownHandler)}imgEventHandler(e){if(e)return this.img.addEventListener("load",this.onImgLoadedCallback);this.img.removeEventListener("load",this.onImgLoadedCallback)}}let j;const ue={created(s,e){j=new rt(e),j.create(s)},updated(s,e){j.update(e)},unmounted(s){j.remove(s)}},at={install(s){s.directive("zoom-img",ue)}},lt="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",re={baseClass:"m-lazy-img",loadedClass:"m-lazy-loaded",loadingClass:"m-lazy-loading",errorClass:"m-lazy-error",noPhotoClass:"m-lazy-no-photo",noPhoto:!1,observerOnce:!0,loadOnce:!1,noUseErrorPhoto:!1,observerOptions:{threshold:.1}};class xe{constructor(e={}){l(this,"observers",[]);l(this,"defaultOptions",re);l(this,"options");l(this,"onImgLoadedCallback");l(this,"onImgErrorCallback");l(this,"hasImgLoaded",!1);this.options=this.buildOptions(e),this.onImgLoadedCallback=this.imageIsLoaded.bind(this),this.onImgErrorCallback=this.imageHasError.bind(this)}async loadErrorPhoto(){const{default:e}=await Promise.resolve().then(()=>require("./no-photography-AVNubSve.cjs"));return e}buildOptions(e){return{...this.defaultOptions,...e,observerOptions:{...this.defaultOptions.observerOptions,...e.observerOptions}}}removeClass(e,t){e.classList.remove(t)}addClass(e,t){e.classList.add(t)}removeAllStateClasses(e){this.removeClass(e,this.options.loadedClass),this.removeClass(e,this.options.loadingClass),this.removeClass(e,this.options.errorClass),this.removeClass(e,this.options.noPhotoClass)}setBaseClass(e){this.addClass(e,this.options.baseClass)}imageIsLoading(e){var t,o;this.addClass(e,this.options.loadingClass),(o=(t=this.options).onLoading)==null||o.call(t,e)}imageHasNoPhoto(e){this.removeClass(e,this.options.loadingClass),this.addClass(e,this.options.noPhotoClass),this.setDefaultPhoto(e)}imageIsLoaded(e){var t,o;this.hasImgLoaded=!0,this.removeClass(e,this.options.loadingClass),this.addClass(e,this.options.loadedClass),(o=(t=this.options).onLoaded)==null||o.call(t,e)}imageHasError(e,t){var o,n;console.warn("[maz-ui][MazLazyImg] Error while loading image",t),this.removeClass(e,this.options.loadingClass),this.addClass(e,this.options.errorClass),(n=(o=this.options).onError)==null||n.call(o,e),this.setDefaultPhoto(e)}getImageUrl(e,t){const o=this.getImgElement(e).getAttribute("data-lazy-src");if(o)return o;t.value;const n=typeof t.value=="object"?t.value.src:t.value;return n||console.warn("[maz-ui][MazLazyImg] src url is not defined"),n}async setPictureSourceUrls(e){const t=e.querySelectorAll("source");if(t.length>0)for await(const o of t){const n=o.getAttribute("data-lazy-srcset");n?o.srcset=n:console.warn('[maz-ui][MazLazyImg] the "[data-lazy-srcset]" attribute is not provided on "<source />"')}else console.warn('[maz-ui][MazLazyImg] No "<source />" elements provided into the "<picture />" element'),this.imageHasError(e)}hasBgImgMode(e){return e.arg==="bg-image"}isPictureElement(e){return e instanceof HTMLPictureElement}getImgElement(e){return this.isPictureElement(e)?e.querySelector("img"):e}async setDefaultPhoto(e){if(this.options.noUseErrorPhoto)return;const t=this.options.errorPhoto??await this.loadErrorPhoto(),o=e.querySelectorAll("source");if(o.length>0)for await(const n of o)n.srcset=t;else this.setImgSrc(e,t)}addEventListenerToImg(e){const t=this.getImgElement(e);t.addEventListener("load",()=>this.onImgLoadedCallback(e),{once:!0}),t.addEventListener("error",o=>this.onImgErrorCallback(e,o),{once:!0})}async loadImage(e,t){if(this.imageIsLoading(e),this.isPictureElement(e))this.addEventListenerToImg(e),await this.setPictureSourceUrls(e);else{const o=this.getImageUrl(e,t);if(!o)return this.imageHasError(e);this.hasBgImgMode(t)?(e.style.backgroundImage=`url('${o}')`,this.imageIsLoaded(e)):(this.addEventListenerToImg(e),this.setImgSrc(e,o))}}setImgSrc(e,t){const o=this.getImgElement(e);o.src=t}handleIntersectionObserver(e,t,o,n){var d,h;this.observers.push(n);for(const c of o)if(c.isIntersecting){if((h=(d=this.options).onIntersecting)==null||h.call(d,c.target),this.options.observerOnce&&n.unobserve(e),this.options.loadOnce&&this.hasImgLoaded)return;this.loadImage(e,t)}}createObserver(e,t){const o=(h,c)=>{this.handleIntersectionObserver(e,t,h,c)},n=this.options.observerOptions;new IntersectionObserver(o,n).observe(e)}async imageHandler(e,t,o){if(o==="update")for await(const n of this.observers)n.unobserve(e);window.IntersectionObserver?this.createObserver(e,t):this.loadImage(e,t)}async bindUpdateHandler(e,t,o){if(this.options.noPhoto)return this.imageHasNoPhoto(e);await this.imageHandler(e,t,o)}async add(e,t){if(this.hasBgImgMode(t)&&this.isPictureElement(e))throw new Error(`[MazLazyImg] You can't use the "bg-image" mode with "<picture />" element`);setTimeout(()=>this.setBaseClass(e),0),e.getAttribute("src")||this.setImgSrc(e,lt),await this.bindUpdateHandler(e,t,"bind")}async update(e,t){t.value!==t.oldValue&&(this.hasImgLoaded=!1,this.removeAllStateClasses(e),await this.bindUpdateHandler(e,t,"update"))}remove(e,t){this.hasImgLoaded=!1,this.hasBgImgMode(t)&&(e.style.backgroundImage=""),this.removeAllStateClasses(e);for(const o of this.observers)o.unobserve(e);this.observers=[]}}let R;const Se={created(s,e){const t=typeof e.value=="object"?e.value:{};R=new xe(t),R.add(s,e)},updated(s,e){R.update(s,e)},unmounted(s,e){R.remove(s,e)}},ct="lazy-img",ut={install(s,e={}){const t={...re,...e,observerOptions:{...re.observerOptions,...e.observerOptions}},o=new xe(t);s.directive(ct,{created:o.add.bind(o),updated:o.update.bind(o),unmounted:o.remove.bind(o)})}},mt=["onClick","onKeypress"],dt={class:"m-fullscreen-img-scroller"},ht=["src","alt"],ft=i.defineComponent({__name:"MazFullscreenImg",props:{destroy:{type:Function,default:void 0},src:{},alt:{default:void 0},openInstanceClass:{},zoom:{type:Boolean,default:!0},disabled:{type:Boolean},clickedElementBounds:{},clickedElement:{},animated:{type:Boolean,default:!0},scaleAnimation:{type:Boolean}},emits:["close","previous","next","before-close"],setup(s,{emit:e}){const t=e,o=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazSpinner-D_vmUW7o.cjs"))),n=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./x-mark-SZLMLvjQ.cjs"))),d=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./chevron-left-8yB0sLIf.cjs")));let h;i.onBeforeMount(async()=>{h=await import("vue-scrollto")});const c=s,v=i.ref(!1),g=i.ref(!1),p=i.ref(!1),f=i.ref(!1),A=i.ref(!1),w=i.ref(!1),b=i.ref(!1),T=i.ref(c.clickedElement instanceof HTMLImageElement),q=i.ref(c.src),x=i.ref(c.alt),S=i.ref(),u=i.ref(),z=i.computed(()=>T.value&&c.animated&&!c.scaleAnimation),P=i.computed(()=>(T.value||!c.animated)&&!c.scaleAnimation),O=i.ref(!1),X=i.computed(()=>w.value?`--is-zoomed maz-cursor-zoom-in maz-max-w-[none] ${O.value?"maz-h-screen maz-w-auto":"maz-h-auto maz-w-screen"}`:`cursor-zoom-out ${O.value?"maz-w-screen maz-h-screen --is-landscape":"maz-h-screen maz-w-auto"}`);function Z(){g.value=!0,p.value=!1,f.value=!0}function $(){t("before-close"),v.value=!1}function _(a){a.key==="Escape"&&(a.preventDefault(),$()),(a.key==="ArrowLeft"||a.key==="ArrowRight")&&(a.preventDefault(),k(a.key==="ArrowRight"))}function Q(){document.documentElement.classList.add("--m-fullscreen-open")}function G(){document.documentElement.classList.remove("--m-fullscreen-open")}function N(){return[...document.querySelectorAll(".m-fullscreen-img-instance")]}function U(a,r){return r<0?a.length-1:r>=a.length?0:r}async function J(a,r){a.classList.remove(c.openInstanceClass),r.classList.add(c.openInstanceClass);const m=r.getAttribute("data-src"),y=r.getAttribute("data-alt");x.value=y??void 0,m&&(q.value=m),g.value=!1,await H(300),g.value||(p.value=!0)}function k(a){const r=document.querySelector(`.m-fullscreen-img-instance.${c.openInstanceClass}`);if(r){const m=N(),y=m.indexOf(r),C=a?y+1:y-1,E=m[U(m,C)];E&&J(r,E),t(a?"next":"previous")}}async function ee(a){const r=a.target;r.style.width=`${r.clientWidth}px`,r.style.height=`${r.clientHeight}px`,await H(0),w.value=!w.value,r.style.removeProperty("width"),r.style.removeProperty("height"),await H(0);const m=r.clientWidth/a.clientY,C=window.innerWidth/m-window.innerHeight/2;h.scrollTo(r,200,{container:r.parentElement,easing:"linear",offset:w.value?C:0})}i.onMounted(async()=>{await i.nextTick(),document.addEventListener("keydown",_),v.value=!0,p.value=!0,Q(),A.value=N().length>1,u.value&&(O.value=c.clickedElementBounds.height<c.clickedElementBounds.width)});function F(){u.value&&(b.value=!0,u.value.style.removeProperty("margin-left"),u.value.style.removeProperty("margin-right"),u.value.style.opacity="0.5",u.value.style.width=`${c.clickedElementBounds.width}px`,u.value.style.height=`${c.clickedElementBounds.height}px`,u.value.style.top=`${c.clickedElementBounds.top}px`,u.value.style.left=`${c.clickedElementBounds.left}px`)}async function te(){if(await H(0),u.value){u.value.style.opacity="1",u.value.style.removeProperty("height"),u.value.style.removeProperty("width"),u.value.style.removeProperty("transform");const a=window.innerWidth,r=window.innerHeight,m=c.clickedElementBounds.height,y=c.clickedElementBounds.width;if(O.value){u.value.style.left="0px";const C=m*a/y,E=(r-C)/2;u.value.style.top=`${E<=0?0:E}px`}else{u.value.style.top="0px";const C=y*r/m,E=(a-C)/2;u.value.style.left=`${E<=0?0:E}px`}}}function V(){u.value&&(u.value.style.removeProperty("top"),u.value.style.removeProperty("left"),u.value.style.marginLeft="auto",u.value.style.marginRight="auto",u.value.style.removeProperty("opacity")),b.value=!1}function se(){if(u.value){const{left:a,top:r}=u.value.getBoundingClientRect();u.value.style.left=`${a}px`,u.value.style.top=`${r}px`,u.value.style.width=`${u.value.width}px`,u.value.style.height=`${u.value.height}px`,b.value=!0}}function oe(){var a,r;t("close"),(a=S.value)==null||a.remove(),(r=c.destroy)==null||r.call(c)}return i.onBeforeUnmount(()=>{document.removeEventListener("keydown",_),G()}),(a,r)=>(i.openBlock(),i.createElementBlock("div",{ref_key:"FullscreenImgElement",ref:S,role:"button",class:i.normalizeClass(["m-fullscreen-img",{"--animation-active":b.value}]),tabindex:"0",onClick:i.withModifiers($,["self"]),onKeypress:i.withKeys(i.withModifiers($,["prevent"]),["esc"])},[i.withDirectives(i.createVNode(i.unref(o),{class:"m-fullscreen-img-loader maz-h-16"},null,512),[[i.vShow,p.value]]),f.value&&A.value?(i.openBlock(),i.createElementBlock("button",{key:0,type:"button",class:"m-fullscreen-btn --next",onClick:r[0]||(r[0]=i.withModifiers(m=>k(!0),["stop"]))},[i.createVNode(i.unref(d),{class:"maz-rotate-90 maz-text-2xl"})])):i.createCommentVNode("v-if",!0),v.value&&f.value&&A.value?(i.openBlock(),i.createElementBlock("button",{key:1,type:"button",class:"m-fullscreen-btn --previous",onClick:r[1]||(r[1]=i.withModifiers(m=>k(!1),["stop"]))},[i.createVNode(i.unref(d),{class:"maz-text-2xl"})])):i.createCommentVNode("v-if",!0),i.createElementVNode("button",{type:"button",class:"m-fullscreen-btn --close",onClick:$},[i.createVNode(i.unref(n),{class:"maz-text-2xl"})]),i.createElementVNode("div",dt,[i.createVNode(i.Transition,{name:P.value?void 0:"maz-scale-fade",onBeforeEnter:r[3]||(r[3]=m=>z.value&&F()),onEnter:r[4]||(r[4]=m=>z.value&&te()),onAfterEnter:r[5]||(r[5]=m=>z.value&&V()),onBeforeLeave:r[6]||(r[6]=m=>z.value&&se()),onLeave:r[7]||(r[7]=m=>z.value&&F()),onAfterLeave:oe,persisted:""},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("img",{id:"ZvImgElement",ref_key:"ImgElement",ref:u,src:q.value,alt:x.value,tabindex:"0",class:i.normalizeClass([{zoomable:a.zoom},X.value]),onLoad:Z,onClick:r[2]||(r[2]=m=>a.zoom?ee(m):void 0)},null,42,ht),[[i.vShow,v.value]])]),_:1},8,["name"])])],42,mt))}}),me=(s,e)=>{const t=s.__vccOpts||s;for(const[o,n]of e)t[o]=n;return t},vt=me(ft,[["__scopeId","data-v-d0c959c7"]]),ge="m-fullscreen-is-open";class gt{constructor(){l(this,"options");l(this,"defaultOptions",{scaleOnHover:!1,blurOnHover:!1,disabled:!1,animated:!0,zoom:!0,scaleAnimation:!1});l(this,"mouseEnterListener");l(this,"mouseLeaveListener");l(this,"renderPreviewListener")}buildOptions(e,t){const o=typeof t.value=="object"?t.value:{src:t.value,alt:void 0},n=(o==null?void 0:o.src)??this.getImgSrc(e),d=(o==null?void 0:o.alt)??this.getImgAlt(e);return{...this.defaultOptions,...o,src:n,alt:d}}get allInstances(){return[...document.querySelectorAll(".m-fullscreen-img-instance")]}getImgSrc(e){var o;const t=((o=this.options)==null?void 0:o.src)||e.getAttribute("src")||e.getAttribute("data-src");if(!t)throw new Error('[maz-ui](fullscreen-img) src of image must be provided by `v-fullscreen=""`, `v-fullscreen="{ src: "" }"`, `src=""` or `data-src=""` atributes');return t}getImgAlt(e){var t;return((t=this.options)==null?void 0:t.alt)||e.getAttribute("alt")||e.getAttribute("data-alt")}create(e,t){if(this.options=this.buildOptions(e,t),this.options.disabled)return;e.style.cursor="move",(this.options.scaleOnHover||this.options.blurOnHover)&&(e.style.transition="all 300ms ease-in-out"),e.classList.add("m-fullscreen-img-instance"),e.setAttribute("data-src",this.getImgSrc(e));const o=this.getImgAlt(e);o&&e.setAttribute("data-alt",o),this.mouseEnterListener=()=>this.mouseEnter(e),this.mouseLeaveListener=()=>this.mouseLeave(e),this.renderPreviewListener=()=>this.renderPreview(e),e.addEventListener("mouseenter",this.mouseEnterListener),e.addEventListener("mouseleave",this.mouseLeaveListener),e.addEventListener("click",this.renderPreviewListener)}update(e,t){this.options=this.buildOptions(e,t)}remove(e){e.removeEventListener("mouseenter",this.mouseEnterListener),e.removeEventListener("mouseleave",this.mouseLeaveListener),e.removeEventListener("click",this.renderPreviewListener),e.classList.remove("m-fullscreen-img-instance"),e.style.cursor=""}renderPreview(e){return e.classList.add(ge),ae(vt,{props:{...this.options,openInstanceClass:ge,clickedElement:e,clickedElementBounds:e.getBoundingClientRect()},addDestroyInProps:!0})}mouseLeave(e){this.options.scaleOnHover&&(e.style.transform=""),this.options.blurOnHover&&(e.style.filter=""),e.style.zIndex=""}mouseEnter(e){e.style.zIndex="1",this.options.scaleOnHover&&(e.style.transform="scale(1.05)"),this.options.blurOnHover&&(e.style.filter="blur(3px)")}}let W;const de={mounted(s,e){return W=new gt,W.create(s,e)},updated(s,e){return W.update(s,e)},unmounted(s){return W.remove(s)}},pt={install(s){s.directive("fullscreen-img",de)}},yt=[{name:"click-outside",directive:le},{name:"closable",directive:ce},{name:"zoom-img",directive:ue},{name:"lazy-img",directive:Se},{name:"fullscreen-img",directive:de}],wt={install(s){for(const{name:e,directive:t}of yt)s.directive(e,t)}},Pe=s=>s?(s=s.toString(),s.charAt(0).toUpperCase()+s.slice(1)):"",bt={style:"currency",minimumFractionDigits:2,round:!1},zt=(s,e,t)=>{let o=Number(s);return t.round&&(o=Math.floor(o),t.minimumFractionDigits=0),new Intl.NumberFormat(e,t).format(o)},Et=(s,e,t)=>{if(s===void 0)throw new TypeError("[maz-ui](FilterCurrency) The `number` attribute is required.");if(e===void 0)throw new TypeError("[maz-ui](FilterCurrency) The `locale` attribute is required.");if(typeof e!="string")throw new TypeError("[maz-ui](FilterCurrency) The `locale` attribute must be a string.");if(t.currency===void 0)throw new TypeError("[maz-ui](FilterCurrency) The `options.currency` attribute is required.")},Oe=(s,e,t)=>{const o={...bt,...t};Et(s,e,o);try{return zt(s,e,o)}catch(n){throw new Error(`[maz-ui](FilterCurrency) ${n}`)}},Lt={month:"short",day:"numeric",year:"numeric"},$e=(s,e,t)=>{if(e===void 0)throw new TypeError("[maz-ui](FilterDate) The `locale` attribute is required.");if(typeof e!="string")throw new TypeError("[maz-ui](FilterDate) The `locale` attribute must be a string.");const o=t??Lt;try{const n=s instanceof Date?s:new Date(s);return new Intl.DateTimeFormat(e,o).format(n)}catch(n){throw new Error(`[maz-ui](FilterDate) ${n}`)}},It={minimumFractionDigits:2},He=(s,e,t)=>{const o={...It,...t};if(s===void 0)throw new TypeError("[maz-ui](FilterNumber) The `number` attribute is required.");if(e===void 0)throw new TypeError("[maz-ui](FilterNumber) The `locale` attribute is required.");if(typeof e!="string")throw new TypeError("[maz-ui](FilterNumber) The `locale` attribute must be a string.");try{return new Intl.NumberFormat(e,o).format(Number(s))}catch(n){throw new Error(`[maz-ui](FilterNumber) ${n}`)}},Tt={capitalize:Pe,currency:Oe,date:$e,number:He},kt={install(s){s.provide("filters",Tt)}},Be=({timeout:s,callback:e,remainingTimeUpdate:t=200})=>{const o=i.ref(s);let n;function d(){o.value=s,h()}function h(){n||(n=setInterval(()=>{o.value-=t,o.value<=0&&(g(),e==null||e())},t))}function c(){n&&(clearInterval(n),n=void 0)}function v(){!n&&o.value>0&&h()}function g(){c()}return i.onBeforeUnmount(()=>{g()}),{remainingTime:o,start:d,pause:c,resume:v,stop:g}},Ct={class:"m-toast__message-wrapper"},At={class:"m-toast__message"},xt={class:"maz-flex maz-items-center maz-gap-2"},St={key:0},Pt={class:"progress-bar maz-absolute maz-inset-x-0 maz-bottom-0 maz-h-1"},Ot=i.defineComponent({__name:"MazToast",props:{position:{type:String,default:"bottom-right"},maxToasts:{type:[Number,Boolean],default:!1},timeout:{type:Number,default:1e4},queue:{type:Boolean,default:!1},noPauseOnHover:{type:Boolean,default:!1},type:{type:String,default:"info"},message:{type:String,required:!0},link:{type:Object,default:void 0},action:{type:Object,default:void 0},persistent:{type:Boolean,default:!1}},emits:["close","click","open"],setup(s,{emit:e}){const t=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazBtn-7fc6CaEx.cjs"))),o=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./x-mark-SZLMLvjQ.cjs"))),n=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./arrow-top-right-on-square-jZfbSH7Z.cjs"))),d=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./exclamation-triangle-C9PjyHbK.cjs"))),h=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./exclamation-circle-s2sf_lGK.cjs"))),c=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./information-circle-8YPnkfv6.cjs"))),v=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./check-circle-il8LazeB.cjs"))),g=i.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./link-3xy7UuBg.cjs"))),p=i.ref(),f=s,A=i.computed(()=>{switch(f.type){case"danger":return d;case"info":return c;case"success":return v;case"warning":return h;default:return}}),w=e,b=i.computed(()=>f.position.includes("top")?"top":"bottom"),T=i.computed(()=>f.position.includes("left")?"left":f.position.includes("right")?"right":"center"),q=i.computed(()=>T.value!=="center"?T.value==="right"?"m-slide-right":"m-slide-left":b.value==="top"?"m-slide-top":"m-slide-bottom"),x=i.ref(!1),S=i.ref(!1),u=i.ref(),z=`m-toast-container --${b.value} --${T.value}`,P=`.${z.replaceAll(" ",".")}`,{start:O,stop:X,pause:Z,resume:$,remainingTime:_}=Be({callback:V,timeout:f.timeout});function Q(){const a=document.querySelector(P);if(!a&&!a){const r=document.body,m=document.createElement("div");m.className=z,r.append(m)}}function G(){const a=document.querySelector(P);return!f.queue&&f.maxToasts===!1?!1:typeof f.maxToasts=="number"&&a?f.maxToasts<=a.childElementCount:a&&a.childElementCount>0}function N(){if(G()){u.value=setTimeout(N,250);return}const a=document.querySelector(P);p.value&&a&&a.prepend(p.value),S.value=!0,O()}const U=i.ref("100%");function J(){switch(f.type){case"danger":return"maz-bg-danger-700";case"info":return"maz-bg-info-700";case"success":return"maz-bg-success-700";case"warning":return"maz-bg-warning-700";default:return"maz-bg-secondary"}}i.watch(()=>_.value,a=>{if(typeof a=="number"){const r=100*a/f.timeout;U.value=`${r}%`,a<=0&&V()}});function k(a){w("click",a),f.persistent||V()}async function ee(a,r){var m;x.value=!0,await a(),x.value=!1,(m=f.action)!=null&&m.closeToast&&k(r)}function F(a){f.noPauseOnHover||(a?Z():$())}function te(){X(),u.value&&clearTimeout(u.value)}function V(){te(),S.value=!1}function se(){w("open")}function oe(){var r;w("close"),(r=p.value)==null||r.remove();const a=document.querySelector(P);a&&!(a!=null&&a.hasChildNodes())&&a.remove()}return i.onMounted(()=>{Q(),N()}),(a,r)=>(i.openBlock(),i.createBlock(i.Transition,{name:q.value,onAfterLeave:oe,onAfterEnter:se,persisted:""},{default:i.withCtx(()=>[i.withDirectives(i.createElementVNode("button",{ref_key:"Toaster",ref:p,class:i.normalizeClass(["m-toast",[`--${s.type}`,`--${b.value}`,`--${T.value}`,{"maz-pb-1":s.timeout}]]),role:"alert",onMouseover:r[2]||(r[2]=m=>F(!0)),onMouseleave:r[3]||(r[3]=m=>F(!1)),onClick:r[4]||(r[4]=i.withModifiers(m=>{var y;return s.link&&!((y=s.link)!=null&&y.closeToast)?void 0:k(m)},["stop"]))},[A.value?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(A.value),{key:0,class:"maz-text-2xl"})):i.createCommentVNode("v-if",!0),i.createElementVNode("div",Ct,[i.createElementVNode("p",At,i.toDisplayString(s.message),1)]),s.action?(i.openBlock(),i.createBlock(i.unref(t),{key:1,"data-test":"action-btn",color:s.type,pastel:"",loading:x.value,size:"sm",onClick:r[0]||(r[0]=i.withModifiers(m=>ee(s.action.func,m),["stop"]))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(s.action.text),1)]),_:1},8,["color","loading"])):i.createCommentVNode("v-if",!0),s.link?(i.openBlock(),i.createBlock(i.unref(t),{key:2,"data-test":"link-btn",color:s.type,pastel:"",size:"xs",href:s.link.href,target:s.link.target??"_self"},{default:i.withCtx(()=>{var m;return[i.createElementVNode("div",xt,[s.link.text?(i.openBlock(),i.createElementBlock("span",St,i.toDisplayString(s.link.text),1)):i.createCommentVNode("v-if",!0),((m=s.link)==null?void 0:m.target)=="_blank"?(i.openBlock(),i.createBlock(i.unref(n),{key:1,class:"maz-text-xl"})):(i.openBlock(),i.createBlock(i.unref(g),{key:2,class:"maz-text-xl"}))])]}),_:1},8,["color","href","target"])):i.createCommentVNode("v-if",!0),s.persistent?i.createCommentVNode("v-if",!0):(i.openBlock(),i.createElementBlock("button",{key:3,class:"--close",onClick:r[1]||(r[1]=i.withModifiers(m=>k(m),["stop"]))},[i.createVNode(i.unref(o),{class:"--icon maz-text-xl"})])),i.createElementVNode("div",Pt,[i.createElementVNode("div",{style:i.normalizeStyle({width:U.value}),class:i.normalizeClass(["maz-h-full maz-transition-all maz-duration-200 maz-ease-linear",J()])},null,6)])],34),[[i.vShow,S.value]])]),_:1},8,["name"]))}}),$t=me(Ot,[["__scopeId","data-v-ee210f61"]]),Ht={position:"bottom-right",timeout:1e4,persistent:!1};class Me{constructor(e,t){this.app=e,this.globalOptions=t}show(e,t){const o={message:e,...t},n={...Ht,...o,...this.globalOptions,...t};ae($t,{props:n,app:this.app})}getLocalOptions(e,t){return{type:e,...t}}message(e,t){return this.show(e,this.getLocalOptions("theme",t))}success(e,t){return this.show(e,this.getLocalOptions("success",t))}error(e,t){return this.show(e,this.getLocalOptions("danger",t))}info(e,t){return this.show(e,this.getLocalOptions("info",t))}warning(e,t){return this.show(e,this.getLocalOptions("warning",t))}}exports.toastInstance=void 0;const Bt={install(s,e){exports.toastInstance=new Me(s,e),s.provide("toast",exports.toastInstance)}},B="",Mt=s=>s.filter((e,t,o)=>t===o.indexOf(e)),Dt=s=>(e=B)=>typeof e=="function"?s.findIndex((...t)=>e(...t))>-1:s.includes(e),Nt=s=>s.length>0,Ft=s=>(e=B)=>Mt([...s,e]),Vt=s=>(e=B)=>s.filter(t=>t!==e);class De{constructor(){l(this,"_loaders",i.ref([]))}get loaders(){return i.computed(()=>this._loaders.value)}stop(e=B){this._loaders.value=Vt(this._loaders.value)(e)}start(e=B){return this._loaders.value=Ft(this._loaders.value)(e),()=>this.stop(e)}get anyLoading(){return i.computed(()=>Nt(this._loaders.value))}isLoading(e=B){return i.computed(()=>Dt(this._loaders.value)(e)).value}}const Ne=new De,qt={install:s=>{s.provide("wait",Ne)}},ne={delay:100,observer:{root:void 0,rootMargin:"0px",threshold:.2},animation:{once:!0,duration:300,delay:0}};class Fe{constructor(e){l(this,"options");this.options={delay:(e==null?void 0:e.delay)??ne.delay,observer:{...ne.observer,...e==null?void 0:e.observer},animation:{...ne.animation,...e==null?void 0:e.animation}}}handleIntersect(e,t){for(const o of e){const d=o.target.getAttribute("data-maz-aos-children")==="true",h=o.target.getAttribute("data-maz-aos")?[o.target]:[];if(d){const c=[...document.querySelectorAll("[data-maz-aos-anchor]")].map(v=>v.getAttribute("data-maz-aos-anchor")===`#${o.target.id}`?v:void 0);for(const v of c)v&&h.push(v)}for(const c of h){const v=c.getAttribute("data-maz-aos-once"),g=typeof v=="string"?v==="true":this.options.animation.once;if(typeof this.options.observer.threshold=="number"&&o.intersectionRatio>this.options.observer.threshold){const p=c.getAttribute("data-maz-aos-duration"),f=c.getAttribute("data-maz-aos-delay");p||(c.style.transitionDuration=`${this.options.animation.duration}ms`,setTimeout(()=>{c.style.transitionDuration="0"},1e3)),f||(c.style.transitionDelay=`${this.options.animation.delay}ms`,setTimeout(()=>{c.style.transitionDelay="0"},1e3)),c.classList.add("maz-aos-animate"),g&&t.unobserve(c)}else c.classList.remove("maz-aos-animate")}}}async handleObserver(){await H(this.options.delay);const e=new IntersectionObserver(this.handleIntersect.bind(this),{...this.options.observer});for(const t of document.querySelectorAll("[data-maz-aos]")){const o=t.getAttribute("data-maz-aos-anchor");if(o){const n=document.querySelector(o);n?(n.setAttribute("data-maz-aos-children","true"),e.observe(n)):console.warn(`[maz-ui](aos) no element found with selector "${o}"`)}else e.observe(t)}}runAnimations(){if(I())return this.handleObserver();console.warn("[MazAos](runAnimations) should be executed on client side")}}exports.instance$1=void 0;const _t={install:(s,e)=>{exports.instance$1=new Fe(e),s.provide("aos",exports.instance$1),I()&&(e!=null&&e.router?e.router.afterEach(async()=>{exports.instance$1.runAnimations()}):exports.instance$1.runAnimations())}},pe={darkClass:"dark",lightClass:"light",storageThemeKey:"theme",storageThemeValueDark:"dark",storageThemeValueLight:"light",storageThemeValueSystem:"system"},D=i.ref("system"),L=i.ref("system");function he({darkClass:s,lightClass:e,storageThemeKey:t,storageThemeValueDark:o,setLocalStorageValue:n=!0,setSelectedTheme:d=!0}){document.documentElement.classList.remove(e),document.documentElement.classList.add(s),D.value=o,d&&(L.value=o),n&&(localStorage[t]=o)}function fe({darkClass:s,lightClass:e,storageThemeKey:t,storageThemeValueLight:o,setLocalStorageValue:n=!0,setSelectedTheme:d=!0}){document.documentElement.classList.remove(s),document.documentElement.classList.add(e),D.value=o,d&&(L.value=o),n&&(localStorage[t]=o)}function Ve(s){document.documentElement.classList.remove(s.darkClass),document.documentElement.classList.remove(s.lightClass),D.value=s.storageThemeValueSystem,L.value=s.storageThemeValueSystem,s.setLocalStorageValue&&(localStorage[s.storageThemeKey]=s.storageThemeValueSystem),qe({...s,setSelectedTheme:!1})}function ye(){return window.matchMedia("(prefers-color-scheme: dark)").matches}function qe(s){localStorage[s.storageThemeKey]===s.storageThemeValueDark||!(s.storageThemeKey in localStorage)&&ye()||localStorage[s.storageThemeKey]===s.storageThemeValueSystem&&ye()?he({...s,setLocalStorageValue:!1,setSelectedTheme:!1}):fe({...s,setLocalStorageValue:!1,setSelectedTheme:!1})}function we({shouldSetDarkMode:s,...e}){return typeof s!="boolean"?Ve(e):s?he(e):fe(e)}function Ut(s){return D.value===s.storageThemeValueDark?fe(s):he(s)}function jt(s=pe){const e={...pe,...s},t=i.computed(()=>L.value===e.storageThemeValueDark),o=i.computed(()=>L.value===e.storageThemeValueLight),n=i.computed(()=>L.value===e.storageThemeValueSystem);return i.onMounted(()=>{localStorage[e.storageThemeKey]&&(D.value=localStorage[e.storageThemeKey],L.value=localStorage[e.storageThemeKey])}),{autoSetTheme:()=>qe(e),toggleTheme:()=>Ut(e),setSystemTheme:()=>Ve({...e,setLocalStorageValue:!0}),setDarkTheme:()=>we({...e,shouldSetDarkMode:!0}),setLightTheme:()=>we({...e,shouldSetDarkMode:!1}),hasDarkTheme:t,hasLightTheme:o,hasSystemTheme:n,theme:D,selectedTheme:L}}const Rt=({componentName:s,instance:e,providedId:t})=>i.computed(()=>t??`${s}-${e==null?void 0:e.uid}`),Wt=()=>Y("aos"),Kt=()=>Y("wait"),Yt=()=>Y("toast"),Xt=({callback:s,options:e})=>new Ee(s,e),Zt=({callback:s,options:e})=>new Le(s,e),Qt=i.ref(),M=i.ref([]),Gt=(s,e)=>new Promise((t,o)=>{M.value=[...M.value,{id:s,isActive:!0,resolve:async()=>{await(e==null?void 0:e()),t(!0)},reject:o}]}),_e=s=>(M.value=M.value.filter(({id:e})=>e!==s),M.value),be=(s,e,t=!1)=>{var o;e&&((o=e[s])==null||o.call(e,t),e.isActive=!1,setTimeout(()=>{_e(e.id)},500))},Jt=()=>({confirmDialogData:Qt,dialogState:M,showDialogAndWaitChoice:Gt,removeDialogFromState:_e,rejectDialog:(s,e=!1)=>be("reject",s,e),resolveDialog:(s,e=!1)=>be("resolve",s,e)});exports.AosHandler=Fe;exports.IdleTimeout=Ee;exports.ScriptLoader=Ge;exports.ToasterHandler=Me;exports.UserVisibility=Le;exports.WaitHandler=De;exports._export_sfc=me;exports.capitalize=Pe;exports.countryCodeToUnicodeFlag=Je;exports.currency=Oe;exports.date=$e;exports.debounce=Qe;exports.directive=le;exports.directive$1=ce;exports.injectStrict=Y;exports.installDirectives=wt;exports.installFilters=kt;exports.installToaster=Bt;exports.instance=Ne;exports.isClient=I;exports.mount=ae;exports.number=He;exports.plugin=tt;exports.plugin$1=ut;exports.plugin$2=at;exports.plugin$3=it;exports.plugin$4=qt;exports.plugin$5=_t;exports.sleep=H;exports.truthyFilter=ze;exports.useAos=Wt;exports.useIdleTimeout=Xt;exports.useInstanceUniqId=Rt;exports.useMazDialogPromise=Jt;exports.useThemeHandler=jt;exports.useTimer=Be;exports.useToast=Yt;exports.useUserVisibility=Zt;exports.useWait=Kt;exports.vFullscreenImg=de;exports.vFullscreenImgInstall=pt;exports.vLazyImg=Se;exports.vZoomImg=ue;
|
|
124
|
+
}`,ve={close:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>',next:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>',previous:'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>',spinner:'<svg width="40px" height="40px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="currentColor" x="0px" y="0px" viewBox="0 0 50 50" xml:space="preserve" class="maz-zoom-img__loader__svg" data-v-6d1cb50c=""><path d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"></path></svg>'};class rt{constructor(e){l(this,"options");l(this,"loader");l(this,"wrapper");l(this,"img");l(this,"keydownHandler");l(this,"onImgLoadedCallback");l(this,"buttonsAdded");l(this,"defaultOptions",{scale:!0,blur:!0,disabled:!1});l(this,"mouseEnterListener");l(this,"mouseLeaveListener");l(this,"renderPreviewListener");if(!e.value)throw new Error('[MazUI](zoom-img) Image path must be defined. Ex: `v-zoom-img="<PATH_TO_IMAGE>"`');if(typeof e.value=="object"&&!e.value.src)throw new Error("[maz-ui](zoom-img) src of image must be provided");this.buttonsAdded=!1,this.options=this.buildOptions(e),this.keydownHandler=this.keydownLister.bind(this),this.loader=this.getLoader(),this.wrapper=document.createElement("div"),this.wrapper.classList.add("maz-zoom-img__wrapper"),this.wrapper.prepend(this.loader),this.img=document.createElement("img"),this.onImgLoadedCallback=this.onImgLoaded.bind(this),this.imgEventHandler(!0)}buildOptions(e){return{...this.defaultOptions,...typeof e.value=="object"?e.value:{src:e.value}}}get allInstances(){return[...document.querySelectorAll(".maz-zoom-img-instance")]}create(e){this.options.disabled||(e.style.cursor="pointer",setTimeout(()=>e.classList.add("maz-zoom-img-instance")),e.setAttribute("data-zoom-src",this.options.src),this.options.alt&&e.setAttribute("data-zoom-alt",this.options.alt),e.style.transition="all 300ms ease-in-out",this.mouseEnterListener=()=>this.mouseEnter(e),this.mouseLeaveListener=()=>this.mouseLeave(e),this.renderPreviewListener=()=>this.renderPreview(e,this.options),e.addEventListener("mouseenter",this.mouseEnterListener),e.addEventListener("mouseleave",this.mouseLeaveListener),e.addEventListener("click",this.renderPreviewListener))}update(e){this.options=this.buildOptions(e)}remove(e){this.imgEventHandler(!1),e.removeEventListener("mouseenter",this.mouseEnterListener),e.removeEventListener("mouseleave",this.mouseLeaveListener),e.removeEventListener("click",this.renderPreviewListener),e.classList.remove("maz-zoom-img-instance"),e.removeAttribute("data-zoom-src"),e.removeAttribute("data-zoom-alt"),e.style.cursor=""}renderPreview(e,t){e.classList.add("maz-is-open"),this.addStyle(it);const o=document.createElement("div");o.classList.add("maz-zoom-img"),o.setAttribute("id","MazImgPreviewFullsize"),o.addEventListener("click",i=>{o.isEqualNode(i.target)&&this.closePreview()}),typeof t=="object"&&(this.img.setAttribute("src",t.src),t.alt&&this.img.setAttribute("alt",t.alt),this.img.id="MazImgElement"),this.wrapper.append(this.img),o.append(this.wrapper),document.body.append(o),this.keyboardEventHandler(!0),setTimeout(()=>{o&&o.classList.add("maz-animate")},100)}onImgLoaded(){this.wrapper.style.width=`${this.img.width}px`,this.wrapper.style.minWidth="200px",this.loader.hidden=!0;const e=this.getButton(),t=[],o=this.allInstances.length>1;if(!this.buttonsAdded){if(this.buttonsAdded=!0,o){const i=this.getButton("previous"),d=this.getButton("next");t.push(i,d)}this.wrapper.append(e),o&&(this.wrapper.prepend(t[0]),this.wrapper.append(t[1]))}}getLoader(){const e=document.createElement("div");return e.classList.add("maz-zoom-img__loader"),e.innerHTML=ve.spinner,e}mouseLeave(e){this.options.scale&&(e.style.transform=""),this.options.blur&&(e.style.filter=""),e.style.zIndex=""}mouseEnter(e){e.style.zIndex="1",this.options.scale&&(e.style.transform="scale(1.1)"),this.options.blur&&(e.style.filter="blur(2px)")}keydownLister(e){e.preventDefault(),(e.key==="Escape"||e.key===" ")&&this.closePreview(),(e.key==="ArrowLeft"||e.key==="ArrowRight")&&this.nextPreviousImage(e.key==="ArrowRight")}getButton(e="close"){const t=document.createElement("button");return t.innerHTML=ve[e],t.addEventListener("click",()=>{e==="close"?this.closePreview():this.allInstances&&this.nextPreviousImage(e==="next")}),t.classList.add("maz-zoom-btn"),t.classList.add(`maz-zoom-btn--${e}`),t}closePreview(){const e=document.querySelector("#MazImgPreviewFullsize"),t=document.querySelector("#MazPreviewStyle"),o=document.querySelector(".maz-zoom-img-instance.maz-is-open");o&&o.classList.remove("maz-is-open"),e&&e.classList.remove("maz-animate"),this.keyboardEventHandler(!1),setTimeout(()=>{e&&e.remove(),t&&t.remove()},300)}getNewInstanceIndex(e){return e<0?this.allInstances.length-1:e>=this.allInstances.length?0:e}nextPreviousImage(e){const t=e,o=document.querySelector(".maz-zoom-img-instance.maz-is-open");if(o){const i=this.allInstances.indexOf(o),d=t?i+1:i-1,h=this.allInstances[this.getNewInstanceIndex(d)];h&&this.useNextInstance(o,h)}}useNextInstance(e,t){e.classList.remove("maz-is-open"),t.classList.add("maz-is-open");const o=t.getAttribute("data-zoom-src"),i=t.getAttribute("data-zoom-alt");this.wrapper.style.width="",this.loader.hidden=!1,o&&this.img.setAttribute("src",o),i&&this.img.setAttribute("alt",i)}addStyle(e){const t=document.createElement("style");t.id="MazPreviewStyle",t.textContent=e,document.head.append(t)}keyboardEventHandler(e){if(e)return document.addEventListener("keydown",this.keydownHandler);document.removeEventListener("keydown",this.keydownHandler)}imgEventHandler(e){if(e)return this.img.addEventListener("load",this.onImgLoadedCallback);this.img.removeEventListener("load",this.onImgLoadedCallback)}}let j;const ue={created(s,e){j=new rt(e),j.create(s)},updated(s,e){j.update(e)},unmounted(s){j.remove(s)}},at={install(s){s.directive("zoom-img",ue)}},lt="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",re={baseClass:"m-lazy-img",loadedClass:"m-lazy-loaded",loadingClass:"m-lazy-loading",errorClass:"m-lazy-error",noPhotoClass:"m-lazy-no-photo",noPhoto:!1,observerOnce:!0,loadOnce:!1,noUseErrorPhoto:!1,observerOptions:{threshold:.1}};class xe{constructor(e={}){l(this,"observers",[]);l(this,"defaultOptions",re);l(this,"options");l(this,"onImgLoadedCallback");l(this,"onImgErrorCallback");l(this,"hasImgLoaded",!1);this.options=this.buildOptions(e),this.onImgLoadedCallback=this.imageIsLoaded.bind(this),this.onImgErrorCallback=this.imageHasError.bind(this)}async loadErrorPhoto(){const{default:e}=await Promise.resolve().then(()=>require("./no-photography-AVNubSve.cjs"));return e}buildOptions(e){return{...this.defaultOptions,...e,observerOptions:{...this.defaultOptions.observerOptions,...e.observerOptions}}}removeClass(e,t){e.classList.remove(t)}addClass(e,t){e.classList.add(t)}removeAllStateClasses(e){this.removeClass(e,this.options.loadedClass),this.removeClass(e,this.options.loadingClass),this.removeClass(e,this.options.errorClass),this.removeClass(e,this.options.noPhotoClass)}setBaseClass(e){this.addClass(e,this.options.baseClass)}imageIsLoading(e){var t,o;this.addClass(e,this.options.loadingClass),(o=(t=this.options).onLoading)==null||o.call(t,e)}imageHasNoPhoto(e){this.removeClass(e,this.options.loadingClass),this.addClass(e,this.options.noPhotoClass),this.setDefaultPhoto(e)}imageIsLoaded(e){var t,o;this.hasImgLoaded=!0,this.removeClass(e,this.options.loadingClass),this.addClass(e,this.options.loadedClass),(o=(t=this.options).onLoaded)==null||o.call(t,e)}imageHasError(e,t){var o,i;console.warn("[maz-ui][MazLazyImg] Error while loading image",t),this.removeClass(e,this.options.loadingClass),this.addClass(e,this.options.errorClass),(i=(o=this.options).onError)==null||i.call(o,e),this.setDefaultPhoto(e)}getImageUrl(e,t){const o=this.getImgElement(e).getAttribute("data-lazy-src");if(o)return o;t.value;const i=typeof t.value=="object"?t.value.src:t.value;return i||console.warn("[maz-ui][MazLazyImg] src url is not defined"),i}async setPictureSourceUrls(e){const t=e.querySelectorAll("source");if(t.length>0)for await(const o of t){const i=o.getAttribute("data-lazy-srcset");i?o.srcset=i:console.warn('[maz-ui][MazLazyImg] the "[data-lazy-srcset]" attribute is not provided on "<source />"')}else console.warn('[maz-ui][MazLazyImg] No "<source />" elements provided into the "<picture />" element'),this.imageHasError(e)}hasBgImgMode(e){return e.arg==="bg-image"}isPictureElement(e){return e instanceof HTMLPictureElement}getImgElement(e){return this.isPictureElement(e)?e.querySelector("img"):e}async setDefaultPhoto(e){if(this.options.noUseErrorPhoto)return;const t=this.options.errorPhoto??await this.loadErrorPhoto(),o=e.querySelectorAll("source");if(o.length>0)for await(const i of o)i.srcset=t;else this.setImgSrc(e,t)}addEventListenerToImg(e){const t=this.getImgElement(e);t.addEventListener("load",()=>this.onImgLoadedCallback(e),{once:!0}),t.addEventListener("error",o=>this.onImgErrorCallback(e,o),{once:!0})}async loadImage(e,t){if(this.imageIsLoading(e),this.isPictureElement(e))this.addEventListenerToImg(e),await this.setPictureSourceUrls(e);else{const o=this.getImageUrl(e,t);if(!o)return this.imageHasError(e);this.hasBgImgMode(t)?(e.style.backgroundImage=`url('${o}')`,this.imageIsLoaded(e)):(this.addEventListenerToImg(e),this.setImgSrc(e,o))}}setImgSrc(e,t){const o=this.getImgElement(e);o.src=t}handleIntersectionObserver(e,t,o,i){var d,h;this.observers.push(i);for(const c of o)if(c.isIntersecting){if((h=(d=this.options).onIntersecting)==null||h.call(d,c.target),this.options.observerOnce&&i.unobserve(e),this.options.loadOnce&&this.hasImgLoaded)return;this.loadImage(e,t)}}createObserver(e,t){const o=(h,c)=>{this.handleIntersectionObserver(e,t,h,c)},i=this.options.observerOptions;new IntersectionObserver(o,i).observe(e)}async imageHandler(e,t,o){if(o==="update")for await(const i of this.observers)i.unobserve(e);window.IntersectionObserver?this.createObserver(e,t):this.loadImage(e,t)}async bindUpdateHandler(e,t,o){if(this.options.noPhoto)return this.imageHasNoPhoto(e);await this.imageHandler(e,t,o)}async add(e,t){if(this.hasBgImgMode(t)&&this.isPictureElement(e))throw new Error(`[MazLazyImg] You can't use the "bg-image" mode with "<picture />" element`);setTimeout(()=>this.setBaseClass(e),0),e.getAttribute("src")||this.setImgSrc(e,lt),await this.bindUpdateHandler(e,t,"bind")}async update(e,t){t.value!==t.oldValue&&(this.hasImgLoaded=!1,this.removeAllStateClasses(e),await this.bindUpdateHandler(e,t,"update"))}remove(e,t){this.hasImgLoaded=!1,this.hasBgImgMode(t)&&(e.style.backgroundImage=""),this.removeAllStateClasses(e);for(const o of this.observers)o.unobserve(e);this.observers=[]}}let R;const Se={created(s,e){const t=typeof e.value=="object"?e.value:{};R=new xe(t),R.add(s,e)},updated(s,e){R.update(s,e)},unmounted(s,e){R.remove(s,e)}},ct="lazy-img",ut={install(s,e={}){const t={...re,...e,observerOptions:{...re.observerOptions,...e.observerOptions}},o=new xe(t);s.directive(ct,{created:o.add.bind(o),updated:o.update.bind(o),unmounted:o.remove.bind(o)})}},mt=["onClick","onKeypress"],dt={class:"m-fullscreen-img-scroller"},ht=["src","alt"],ft=n.defineComponent({__name:"MazFullscreenImg",props:{destroy:{type:Function,default:void 0},src:{},alt:{default:void 0},openInstanceClass:{},zoom:{type:Boolean,default:!0},disabled:{type:Boolean},clickedElementBounds:{},clickedElement:{},animated:{type:Boolean,default:!0},scaleAnimation:{type:Boolean}},emits:["close","previous","next","before-close"],setup(s,{emit:e}){const t=e,o=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazSpinner-9nuTFEMU.cjs"))),i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./x-mark-SZLMLvjQ.cjs"))),d=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./chevron-left-8yB0sLIf.cjs")));let h;n.onBeforeMount(async()=>{h=await import("vue-scrollto")});const c=s,v=n.ref(!1),g=n.ref(!1),p=n.ref(!1),f=n.ref(!1),A=n.ref(!1),w=n.ref(!1),b=n.ref(!1),T=n.ref(c.clickedElement instanceof HTMLImageElement),q=n.ref(c.src),x=n.ref(c.alt),S=n.ref(),u=n.ref(),z=n.computed(()=>T.value&&c.animated&&!c.scaleAnimation),P=n.computed(()=>(T.value||!c.animated)&&!c.scaleAnimation),O=n.ref(!1),X=n.computed(()=>w.value?`--is-zoomed maz-cursor-zoom-in maz-max-w-[none] ${O.value?"maz-h-screen maz-w-auto":"maz-h-auto maz-w-screen"}`:`cursor-zoom-out ${O.value?"maz-w-screen maz-h-screen --is-landscape":"maz-h-screen maz-w-auto"}`);function Z(){g.value=!0,p.value=!1,f.value=!0}function $(){t("before-close"),v.value=!1}function _(a){a.key==="Escape"&&(a.preventDefault(),$()),(a.key==="ArrowLeft"||a.key==="ArrowRight")&&(a.preventDefault(),k(a.key==="ArrowRight"))}function Q(){document.documentElement.classList.add("--m-fullscreen-open")}function G(){document.documentElement.classList.remove("--m-fullscreen-open")}function N(){return[...document.querySelectorAll(".m-fullscreen-img-instance")]}function U(a,r){return r<0?a.length-1:r>=a.length?0:r}async function J(a,r){a.classList.remove(c.openInstanceClass),r.classList.add(c.openInstanceClass);const m=r.getAttribute("data-src"),y=r.getAttribute("data-alt");x.value=y??void 0,m&&(q.value=m),g.value=!1,await H(300),g.value||(p.value=!0)}function k(a){const r=document.querySelector(`.m-fullscreen-img-instance.${c.openInstanceClass}`);if(r){const m=N(),y=m.indexOf(r),C=a?y+1:y-1,E=m[U(m,C)];E&&J(r,E),t(a?"next":"previous")}}async function ee(a){const r=a.target;r.style.width=`${r.clientWidth}px`,r.style.height=`${r.clientHeight}px`,await H(0),w.value=!w.value,r.style.removeProperty("width"),r.style.removeProperty("height"),await H(0);const m=r.clientWidth/a.clientY,C=window.innerWidth/m-window.innerHeight/2;h.scrollTo(r,200,{container:r.parentElement,easing:"linear",offset:w.value?C:0})}n.onMounted(async()=>{await n.nextTick(),document.addEventListener("keydown",_),v.value=!0,p.value=!0,Q(),A.value=N().length>1,u.value&&(O.value=c.clickedElementBounds.height<c.clickedElementBounds.width)});function F(){u.value&&(b.value=!0,u.value.style.removeProperty("margin-left"),u.value.style.removeProperty("margin-right"),u.value.style.opacity="0.5",u.value.style.width=`${c.clickedElementBounds.width}px`,u.value.style.height=`${c.clickedElementBounds.height}px`,u.value.style.top=`${c.clickedElementBounds.top}px`,u.value.style.left=`${c.clickedElementBounds.left}px`)}async function te(){if(await H(0),u.value){u.value.style.opacity="1",u.value.style.removeProperty("height"),u.value.style.removeProperty("width"),u.value.style.removeProperty("transform");const a=window.innerWidth,r=window.innerHeight,m=c.clickedElementBounds.height,y=c.clickedElementBounds.width;if(O.value){u.value.style.left="0px";const C=m*a/y,E=(r-C)/2;u.value.style.top=`${E<=0?0:E}px`}else{u.value.style.top="0px";const C=y*r/m,E=(a-C)/2;u.value.style.left=`${E<=0?0:E}px`}}}function V(){u.value&&(u.value.style.removeProperty("top"),u.value.style.removeProperty("left"),u.value.style.marginLeft="auto",u.value.style.marginRight="auto",u.value.style.removeProperty("opacity")),b.value=!1}function se(){if(u.value){const{left:a,top:r}=u.value.getBoundingClientRect();u.value.style.left=`${a}px`,u.value.style.top=`${r}px`,u.value.style.width=`${u.value.width}px`,u.value.style.height=`${u.value.height}px`,b.value=!0}}function oe(){var a,r;t("close"),(a=S.value)==null||a.remove(),(r=c.destroy)==null||r.call(c)}return n.onBeforeUnmount(()=>{document.removeEventListener("keydown",_),G()}),(a,r)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"FullscreenImgElement",ref:S,role:"button",class:n.normalizeClass(["m-fullscreen-img",{"--animation-active":b.value}]),tabindex:"0",onClick:n.withModifiers($,["self"]),onKeypress:n.withKeys(n.withModifiers($,["prevent"]),["esc"])},[n.withDirectives(n.createVNode(n.unref(o),{class:"m-fullscreen-img-loader maz-h-16"},null,512),[[n.vShow,p.value]]),f.value&&A.value?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",class:"m-fullscreen-btn --next",onClick:r[0]||(r[0]=n.withModifiers(m=>k(!0),["stop"]))},[n.createVNode(n.unref(d),{class:"maz-rotate-90 maz-text-2xl"})])):n.createCommentVNode("v-if",!0),v.value&&f.value&&A.value?(n.openBlock(),n.createElementBlock("button",{key:1,type:"button",class:"m-fullscreen-btn --previous",onClick:r[1]||(r[1]=n.withModifiers(m=>k(!1),["stop"]))},[n.createVNode(n.unref(d),{class:"maz-text-2xl"})])):n.createCommentVNode("v-if",!0),n.createElementVNode("button",{type:"button",class:"m-fullscreen-btn --close",onClick:$},[n.createVNode(n.unref(i),{class:"maz-text-2xl"})]),n.createElementVNode("div",dt,[n.createVNode(n.Transition,{name:P.value?void 0:"maz-scale-fade",onBeforeEnter:r[3]||(r[3]=m=>z.value&&F()),onEnter:r[4]||(r[4]=m=>z.value&&te()),onAfterEnter:r[5]||(r[5]=m=>z.value&&V()),onBeforeLeave:r[6]||(r[6]=m=>z.value&&se()),onLeave:r[7]||(r[7]=m=>z.value&&F()),onAfterLeave:oe,persisted:""},{default:n.withCtx(()=>[n.withDirectives(n.createElementVNode("img",{id:"ZvImgElement",ref_key:"ImgElement",ref:u,src:q.value,alt:x.value,tabindex:"0",class:n.normalizeClass([{zoomable:a.zoom},X.value]),onLoad:Z,onClick:r[2]||(r[2]=m=>a.zoom?ee(m):void 0)},null,42,ht),[[n.vShow,v.value]])]),_:1},8,["name"])])],42,mt))}}),me=(s,e)=>{const t=s.__vccOpts||s;for(const[o,i]of e)t[o]=i;return t},vt=me(ft,[["__scopeId","data-v-d0c959c7"]]),ge="m-fullscreen-is-open";class gt{constructor(){l(this,"options");l(this,"defaultOptions",{scaleOnHover:!1,blurOnHover:!1,disabled:!1,animated:!0,zoom:!0,scaleAnimation:!1});l(this,"mouseEnterListener");l(this,"mouseLeaveListener");l(this,"renderPreviewListener")}buildOptions(e,t){const o=typeof t.value=="object"?t.value:{src:t.value,alt:void 0},i=(o==null?void 0:o.src)??this.getImgSrc(e),d=(o==null?void 0:o.alt)??this.getImgAlt(e);return{...this.defaultOptions,...o,src:i,alt:d}}get allInstances(){return[...document.querySelectorAll(".m-fullscreen-img-instance")]}getImgSrc(e){var o;const t=((o=this.options)==null?void 0:o.src)||e.getAttribute("src")||e.getAttribute("data-src");if(!t)throw new Error('[maz-ui](fullscreen-img) src of image must be provided by `v-fullscreen=""`, `v-fullscreen="{ src: "" }"`, `src=""` or `data-src=""` atributes');return t}getImgAlt(e){var t;return((t=this.options)==null?void 0:t.alt)||e.getAttribute("alt")||e.getAttribute("data-alt")}create(e,t){if(this.options=this.buildOptions(e,t),this.options.disabled)return;e.style.cursor="move",(this.options.scaleOnHover||this.options.blurOnHover)&&(e.style.transition="all 300ms ease-in-out"),e.classList.add("m-fullscreen-img-instance"),e.setAttribute("data-src",this.getImgSrc(e));const o=this.getImgAlt(e);o&&e.setAttribute("data-alt",o),this.mouseEnterListener=()=>this.mouseEnter(e),this.mouseLeaveListener=()=>this.mouseLeave(e),this.renderPreviewListener=()=>this.renderPreview(e),e.addEventListener("mouseenter",this.mouseEnterListener),e.addEventListener("mouseleave",this.mouseLeaveListener),e.addEventListener("click",this.renderPreviewListener)}update(e,t){this.options=this.buildOptions(e,t)}remove(e){e.removeEventListener("mouseenter",this.mouseEnterListener),e.removeEventListener("mouseleave",this.mouseLeaveListener),e.removeEventListener("click",this.renderPreviewListener),e.classList.remove("m-fullscreen-img-instance"),e.style.cursor=""}renderPreview(e){return e.classList.add(ge),ae(vt,{props:{...this.options,openInstanceClass:ge,clickedElement:e,clickedElementBounds:e.getBoundingClientRect()},addDestroyInProps:!0})}mouseLeave(e){this.options.scaleOnHover&&(e.style.transform=""),this.options.blurOnHover&&(e.style.filter=""),e.style.zIndex=""}mouseEnter(e){e.style.zIndex="1",this.options.scaleOnHover&&(e.style.transform="scale(1.05)"),this.options.blurOnHover&&(e.style.filter="blur(3px)")}}let W;const de={mounted(s,e){return W=new gt,W.create(s,e)},updated(s,e){return W.update(s,e)},unmounted(s){return W.remove(s)}},pt={install(s){s.directive("fullscreen-img",de)}},yt=[{name:"click-outside",directive:le},{name:"closable",directive:ce},{name:"zoom-img",directive:ue},{name:"lazy-img",directive:Se},{name:"fullscreen-img",directive:de}],wt={install(s){for(const{name:e,directive:t}of yt)s.directive(e,t)}},Pe=s=>s?(s=s.toString(),s.charAt(0).toUpperCase()+s.slice(1)):"",bt={style:"currency",minimumFractionDigits:2,round:!1},zt=(s,e,t)=>{let o=Number(s);return t.round&&(o=Math.floor(o),t.minimumFractionDigits=0),new Intl.NumberFormat(e,t).format(o)},Et=(s,e,t)=>{if(s===void 0)throw new TypeError("[maz-ui](FilterCurrency) The `number` attribute is required.");if(e===void 0)throw new TypeError("[maz-ui](FilterCurrency) The `locale` attribute is required.");if(typeof e!="string")throw new TypeError("[maz-ui](FilterCurrency) The `locale` attribute must be a string.");if(t.currency===void 0)throw new TypeError("[maz-ui](FilterCurrency) The `options.currency` attribute is required.")},Oe=(s,e,t)=>{const o={...bt,...t};Et(s,e,o);try{return zt(s,e,o)}catch(i){throw new Error(`[maz-ui](FilterCurrency) ${i}`)}},Lt={month:"short",day:"numeric",year:"numeric"},$e=(s,e,t)=>{if(e===void 0)throw new TypeError("[maz-ui](FilterDate) The `locale` attribute is required.");if(typeof e!="string")throw new TypeError("[maz-ui](FilterDate) The `locale` attribute must be a string.");const o=t??Lt;try{const i=s instanceof Date?s:new Date(s);return new Intl.DateTimeFormat(e,o).format(i)}catch(i){throw new Error(`[maz-ui](FilterDate) ${i}`)}},It={minimumFractionDigits:2},He=(s,e,t)=>{const o={...It,...t};if(s===void 0)throw new TypeError("[maz-ui](FilterNumber) The `number` attribute is required.");if(e===void 0)throw new TypeError("[maz-ui](FilterNumber) The `locale` attribute is required.");if(typeof e!="string")throw new TypeError("[maz-ui](FilterNumber) The `locale` attribute must be a string.");try{return new Intl.NumberFormat(e,o).format(Number(s))}catch(i){throw new Error(`[maz-ui](FilterNumber) ${i}`)}},Tt={capitalize:Pe,currency:Oe,date:$e,number:He},kt={install(s){s.provide("filters",Tt)}},Be=({timeout:s,callback:e,remainingTimeUpdate:t=200})=>{const o=n.ref(s);let i;function d(){o.value=s,h()}function h(){i||(i=setInterval(()=>{o.value-=t,o.value<=0&&(g(),e==null||e())},t))}function c(){i&&(clearInterval(i),i=void 0)}function v(){!i&&o.value>0&&h()}function g(){o.value=s,c()}return n.onBeforeUnmount(()=>{g()}),{remainingTime:o,start:d,pause:c,resume:v,stop:g}},Ct={class:"m-toast__message-wrapper"},At={class:"m-toast__message"},xt={class:"maz-flex maz-items-center maz-gap-2"},St={key:0},Pt={class:"progress-bar maz-absolute maz-inset-x-0 maz-bottom-0 maz-h-1"},Ot=n.defineComponent({__name:"MazToast",props:{position:{type:String,default:"bottom-right"},maxToasts:{type:[Number,Boolean],default:!1},timeout:{type:Number,default:1e4},queue:{type:Boolean,default:!1},noPauseOnHover:{type:Boolean,default:!1},type:{type:String,default:"info"},message:{type:String,required:!0},link:{type:Object,default:void 0},action:{type:Object,default:void 0},persistent:{type:Boolean,default:!1}},emits:["close","click","open"],setup(s,{emit:e}){const t=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazBtn-XlYmCiY7.cjs"))),o=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./x-mark-SZLMLvjQ.cjs"))),i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./arrow-top-right-on-square-jZfbSH7Z.cjs"))),d=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./exclamation-triangle-C9PjyHbK.cjs"))),h=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./exclamation-circle-s2sf_lGK.cjs"))),c=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./information-circle-8YPnkfv6.cjs"))),v=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./check-circle-il8LazeB.cjs"))),g=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./link-3xy7UuBg.cjs"))),p=n.ref(),f=s,A=n.computed(()=>{switch(f.type){case"danger":return d;case"info":return c;case"success":return v;case"warning":return h;default:return}}),w=e,b=n.computed(()=>f.position.includes("top")?"top":"bottom"),T=n.computed(()=>f.position.includes("left")?"left":f.position.includes("right")?"right":"center"),q=n.computed(()=>T.value!=="center"?T.value==="right"?"m-slide-right":"m-slide-left":b.value==="top"?"m-slide-top":"m-slide-bottom"),x=n.ref(!1),S=n.ref(!1),u=n.ref(),z=`m-toast-container --${b.value} --${T.value}`,P=`.${z.replaceAll(" ",".")}`,{start:O,stop:X,pause:Z,resume:$,remainingTime:_}=Be({callback:V,timeout:f.timeout});function Q(){const a=document.querySelector(P);if(!a&&!a){const r=document.body,m=document.createElement("div");m.className=z,r.append(m)}}function G(){const a=document.querySelector(P);return!f.queue&&f.maxToasts===!1?!1:typeof f.maxToasts=="number"&&a?f.maxToasts<=a.childElementCount:a&&a.childElementCount>0}function N(){if(G()){u.value=setTimeout(N,250);return}const a=document.querySelector(P);p.value&&a&&a.prepend(p.value),S.value=!0,O()}const U=n.ref("100%");function J(){switch(f.type){case"danger":return"maz-bg-danger-700";case"info":return"maz-bg-info-700";case"success":return"maz-bg-success-700";case"warning":return"maz-bg-warning-700";default:return"maz-bg-secondary"}}n.watch(()=>_.value,a=>{if(typeof a=="number"){const r=100*a/f.timeout;U.value=`${r}%`,a<=0&&V()}});function k(a){w("click",a),f.persistent||V()}async function ee(a,r){var m;x.value=!0,await a(),x.value=!1,(m=f.action)!=null&&m.closeToast&&k(r)}function F(a){f.noPauseOnHover||(a?Z():$())}function te(){X(),u.value&&clearTimeout(u.value)}function V(){te(),S.value=!1}function se(){w("open")}function oe(){var r;w("close"),(r=p.value)==null||r.remove();const a=document.querySelector(P);a&&!(a!=null&&a.hasChildNodes())&&a.remove()}return n.onMounted(()=>{Q(),N()}),(a,r)=>(n.openBlock(),n.createBlock(n.Transition,{name:q.value,onAfterLeave:oe,onAfterEnter:se,persisted:""},{default:n.withCtx(()=>[n.withDirectives(n.createElementVNode("button",{ref_key:"Toaster",ref:p,class:n.normalizeClass(["m-toast",[`--${s.type}`,`--${b.value}`,`--${T.value}`,{"maz-pb-1":s.timeout}]]),role:"alert",onMouseover:r[2]||(r[2]=m=>F(!0)),onMouseleave:r[3]||(r[3]=m=>F(!1)),onClick:r[4]||(r[4]=n.withModifiers(m=>{var y;return s.link&&!((y=s.link)!=null&&y.closeToast)?void 0:k(m)},["stop"]))},[A.value?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(A.value),{key:0,class:"maz-text-2xl"})):n.createCommentVNode("v-if",!0),n.createElementVNode("div",Ct,[n.createElementVNode("p",At,n.toDisplayString(s.message),1)]),s.action?(n.openBlock(),n.createBlock(n.unref(t),{key:1,"data-test":"action-btn",color:s.type,pastel:"",loading:x.value,size:"sm",onClick:r[0]||(r[0]=n.withModifiers(m=>ee(s.action.func,m),["stop"]))},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(s.action.text),1)]),_:1},8,["color","loading"])):n.createCommentVNode("v-if",!0),s.link?(n.openBlock(),n.createBlock(n.unref(t),{key:2,"data-test":"link-btn",color:s.type,pastel:"",size:"xs",href:s.link.href,target:s.link.target??"_self"},{default:n.withCtx(()=>{var m;return[n.createElementVNode("div",xt,[s.link.text?(n.openBlock(),n.createElementBlock("span",St,n.toDisplayString(s.link.text),1)):n.createCommentVNode("v-if",!0),((m=s.link)==null?void 0:m.target)=="_blank"?(n.openBlock(),n.createBlock(n.unref(i),{key:1,class:"maz-text-xl"})):(n.openBlock(),n.createBlock(n.unref(g),{key:2,class:"maz-text-xl"}))])]}),_:1},8,["color","href","target"])):n.createCommentVNode("v-if",!0),s.persistent?n.createCommentVNode("v-if",!0):(n.openBlock(),n.createElementBlock("button",{key:3,class:"--close",onClick:r[1]||(r[1]=n.withModifiers(m=>k(m),["stop"]))},[n.createVNode(n.unref(o),{class:"--icon maz-text-xl"})])),n.createElementVNode("div",Pt,[n.createElementVNode("div",{style:n.normalizeStyle({width:U.value}),class:n.normalizeClass(["maz-h-full maz-transition-all maz-duration-200 maz-ease-linear",J()])},null,6)])],34),[[n.vShow,S.value]])]),_:1},8,["name"]))}}),$t=me(Ot,[["__scopeId","data-v-ee210f61"]]),Ht={position:"bottom-right",timeout:1e4,persistent:!1};class Me{constructor(e,t){this.app=e,this.globalOptions=t}show(e,t){const o={message:e,...t},i={...Ht,...o,...this.globalOptions,...t};ae($t,{props:i,app:this.app})}getLocalOptions(e,t){return{type:e,...t}}message(e,t){return this.show(e,this.getLocalOptions("theme",t))}success(e,t){return this.show(e,this.getLocalOptions("success",t))}error(e,t){return this.show(e,this.getLocalOptions("danger",t))}info(e,t){return this.show(e,this.getLocalOptions("info",t))}warning(e,t){return this.show(e,this.getLocalOptions("warning",t))}}exports.toastInstance=void 0;const Bt={install(s,e){exports.toastInstance=new Me(s,e),s.provide("toast",exports.toastInstance)}},B="",Mt=s=>s.filter((e,t,o)=>t===o.indexOf(e)),Dt=s=>(e=B)=>typeof e=="function"?s.findIndex((...t)=>e(...t))>-1:s.includes(e),Nt=s=>s.length>0,Ft=s=>(e=B)=>Mt([...s,e]),Vt=s=>(e=B)=>s.filter(t=>t!==e);class De{constructor(){l(this,"_loaders",n.ref([]))}get loaders(){return n.computed(()=>this._loaders.value)}stop(e=B){this._loaders.value=Vt(this._loaders.value)(e)}start(e=B){return this._loaders.value=Ft(this._loaders.value)(e),()=>this.stop(e)}get anyLoading(){return n.computed(()=>Nt(this._loaders.value))}isLoading(e=B){return n.computed(()=>Dt(this._loaders.value)(e)).value}}const Ne=new De,qt={install:s=>{s.provide("wait",Ne)}},ie={delay:100,observer:{root:void 0,rootMargin:"0px",threshold:.2},animation:{once:!0,duration:300,delay:0}};class Fe{constructor(e){l(this,"options");this.options={delay:(e==null?void 0:e.delay)??ie.delay,observer:{...ie.observer,...e==null?void 0:e.observer},animation:{...ie.animation,...e==null?void 0:e.animation}}}handleIntersect(e,t){for(const o of e){const d=o.target.getAttribute("data-maz-aos-children")==="true",h=o.target.getAttribute("data-maz-aos")?[o.target]:[];if(d){const c=[...document.querySelectorAll("[data-maz-aos-anchor]")].map(v=>v.getAttribute("data-maz-aos-anchor")===`#${o.target.id}`?v:void 0);for(const v of c)v&&h.push(v)}for(const c of h){const v=c.getAttribute("data-maz-aos-once"),g=typeof v=="string"?v==="true":this.options.animation.once;if(typeof this.options.observer.threshold=="number"&&o.intersectionRatio>this.options.observer.threshold){const p=c.getAttribute("data-maz-aos-duration"),f=c.getAttribute("data-maz-aos-delay");p||(c.style.transitionDuration=`${this.options.animation.duration}ms`,setTimeout(()=>{c.style.transitionDuration="0"},1e3)),f||(c.style.transitionDelay=`${this.options.animation.delay}ms`,setTimeout(()=>{c.style.transitionDelay="0"},1e3)),c.classList.add("maz-aos-animate"),g&&t.unobserve(c)}else c.classList.remove("maz-aos-animate")}}}async handleObserver(){await H(this.options.delay);const e=new IntersectionObserver(this.handleIntersect.bind(this),{...this.options.observer});for(const t of document.querySelectorAll("[data-maz-aos]")){const o=t.getAttribute("data-maz-aos-anchor");if(o){const i=document.querySelector(o);i?(i.setAttribute("data-maz-aos-children","true"),e.observe(i)):console.warn(`[maz-ui](aos) no element found with selector "${o}"`)}else e.observe(t)}}runAnimations(){if(I())return this.handleObserver();console.warn("[MazAos](runAnimations) should be executed on client side")}}exports.instance$1=void 0;const _t={install:(s,e)=>{exports.instance$1=new Fe(e),s.provide("aos",exports.instance$1),I()&&(e!=null&&e.router?e.router.afterEach(async()=>{exports.instance$1.runAnimations()}):exports.instance$1.runAnimations())}},pe={darkClass:"dark",lightClass:"light",storageThemeKey:"theme",storageThemeValueDark:"dark",storageThemeValueLight:"light",storageThemeValueSystem:"system"},D=n.ref("system"),L=n.ref("system");function he({darkClass:s,lightClass:e,storageThemeKey:t,storageThemeValueDark:o,setLocalStorageValue:i=!0,setSelectedTheme:d=!0}){document.documentElement.classList.remove(e),document.documentElement.classList.add(s),D.value=o,d&&(L.value=o),i&&(localStorage[t]=o)}function fe({darkClass:s,lightClass:e,storageThemeKey:t,storageThemeValueLight:o,setLocalStorageValue:i=!0,setSelectedTheme:d=!0}){document.documentElement.classList.remove(s),document.documentElement.classList.add(e),D.value=o,d&&(L.value=o),i&&(localStorage[t]=o)}function Ve(s){document.documentElement.classList.remove(s.darkClass),document.documentElement.classList.remove(s.lightClass),D.value=s.storageThemeValueSystem,L.value=s.storageThemeValueSystem,s.setLocalStorageValue&&(localStorage[s.storageThemeKey]=s.storageThemeValueSystem),qe({...s,setSelectedTheme:!1})}function ye(){return window.matchMedia("(prefers-color-scheme: dark)").matches}function qe(s){localStorage[s.storageThemeKey]===s.storageThemeValueDark||!(s.storageThemeKey in localStorage)&&ye()||localStorage[s.storageThemeKey]===s.storageThemeValueSystem&&ye()?he({...s,setLocalStorageValue:!1,setSelectedTheme:!1}):fe({...s,setLocalStorageValue:!1,setSelectedTheme:!1})}function we({shouldSetDarkMode:s,...e}){return typeof s!="boolean"?Ve(e):s?he(e):fe(e)}function Ut(s){return D.value===s.storageThemeValueDark?fe(s):he(s)}function jt(s=pe){const e={...pe,...s},t=n.computed(()=>L.value===e.storageThemeValueDark),o=n.computed(()=>L.value===e.storageThemeValueLight),i=n.computed(()=>L.value===e.storageThemeValueSystem);return n.onMounted(()=>{localStorage[e.storageThemeKey]&&(D.value=localStorage[e.storageThemeKey],L.value=localStorage[e.storageThemeKey])}),{autoSetTheme:()=>qe(e),toggleTheme:()=>Ut(e),setSystemTheme:()=>Ve({...e,setLocalStorageValue:!0}),setDarkTheme:()=>we({...e,shouldSetDarkMode:!0}),setLightTheme:()=>we({...e,shouldSetDarkMode:!1}),hasDarkTheme:t,hasLightTheme:o,hasSystemTheme:i,theme:D,selectedTheme:L}}const Rt=({componentName:s,instance:e,providedId:t})=>n.computed(()=>t??`${s}-${e==null?void 0:e.uid}`),Wt=()=>Y("aos"),Kt=()=>Y("wait"),Yt=()=>Y("toast"),Xt=({callback:s,options:e})=>new Ee(s,e),Zt=({callback:s,options:e})=>new Le(s,e),Qt=n.ref(),M=n.ref([]),Gt=(s,e)=>new Promise((t,o)=>{M.value=[...M.value,{id:s,isActive:!0,resolve:async()=>{await(e==null?void 0:e()),t(!0)},reject:o}]}),_e=s=>(M.value=M.value.filter(({id:e})=>e!==s),M.value),be=(s,e,t=!1)=>{var o;e&&((o=e[s])==null||o.call(e,t),e.isActive=!1,setTimeout(()=>{_e(e.id)},500))},Jt=()=>({confirmDialogData:Qt,dialogState:M,showDialogAndWaitChoice:Gt,removeDialogFromState:_e,rejectDialog:(s,e=!1)=>be("reject",s,e),resolveDialog:(s,e=!1)=>be("resolve",s,e)});exports.AosHandler=Fe;exports.IdleTimeout=Ee;exports.ScriptLoader=Ge;exports.ToasterHandler=Me;exports.UserVisibility=Le;exports.WaitHandler=De;exports._export_sfc=me;exports.capitalize=Pe;exports.countryCodeToUnicodeFlag=Je;exports.currency=Oe;exports.date=$e;exports.debounce=Qe;exports.directive=le;exports.directive$1=ce;exports.injectStrict=Y;exports.installDirectives=wt;exports.installFilters=kt;exports.installToaster=Bt;exports.instance=Ne;exports.isClient=I;exports.mount=ae;exports.number=He;exports.plugin=tt;exports.plugin$1=ut;exports.plugin$2=at;exports.plugin$3=nt;exports.plugin$4=qt;exports.plugin$5=_t;exports.sleep=H;exports.truthyFilter=ze;exports.useAos=Wt;exports.useIdleTimeout=Xt;exports.useInstanceUniqId=Rt;exports.useMazDialogPromise=Jt;exports.useThemeHandler=jt;exports.useTimer=Be;exports.useToast=Yt;exports.useUserVisibility=Zt;exports.useWait=Kt;exports.vFullscreenImg=de;exports.vFullscreenImgInstall=pt;exports.vLazyImg=Se;exports.vZoomImg=ue;
|
package/modules/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-fNfaYOpu.cjs");exports.AosHandler=e.AosHandler;exports.IdleTimeout=e.IdleTimeout;exports.ScriptLoader=e.ScriptLoader;exports.ToasterHandler=e.ToasterHandler;exports.UserVisibility=e.UserVisibility;exports.WaitHandler=e.WaitHandler;Object.defineProperty(exports,"aosInstance",{enumerable:!0,get:()=>e.instance$1});exports.capitalize=e.capitalize;exports.countryCodeToUnicodeFlag=e.countryCodeToUnicodeFlag;exports.currency=e.currency;exports.date=e.date;exports.debounce=e.debounce;exports.injectStrict=e.injectStrict;exports.installAos=e.plugin$5;exports.installDirectives=e.installDirectives;exports.installFilters=e.installFilters;exports.installToaster=e.installToaster;exports.installWait=e.plugin$4;exports.isClient=e.isClient;exports.mount=e.mount;exports.number=e.number;exports.sleep=e.sleep;Object.defineProperty(exports,"toastInstance",{enumerable:!0,get:()=>e.toastInstance});exports.truthyFilter=e.truthyFilter;exports.useAos=e.useAos;exports.useIdleTimeout=e.useIdleTimeout;exports.useInstanceUniqId=e.useInstanceUniqId;exports.useMazDialogPromise=e.useMazDialogPromise;exports.useThemeHandler=e.useThemeHandler;exports.useTimer=e.useTimer;exports.useToast=e.useToast;exports.useUserVisibility=e.useUserVisibility;exports.useWait=e.useWait;exports.vClickOutside=e.directive;exports.vClickOutsideInstall=e.plugin;exports.vClosable=e.directive$1;exports.vClosableInstall=e.plugin$3;exports.vFullscreenImg=e.vFullscreenImg;exports.vFullscreenImgInstall=e.vFullscreenImgInstall;exports.vLazyImg=e.vLazyImg;exports.vLazyImgInstall=e.plugin$1;exports.vZoomImg=e.vZoomImg;exports.vZoomImgInstall=e.plugin$2;exports.waitInstance=e.instance;
|
package/modules/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as e, I as l, S as t, T as i, U as n, W as o, D as r, q as u, c, r as I, u as m, d, i as v, C as g, b as T, o as y, x as b, z as C, a as F, m as p, w as z, s as H, y as U, t as A, G as L, K as W, F as h, M as k, E as D, N as S, J as f, L as j, H as q, e as w, p as x, l as M, n as O, j as V, k as Z, v as B, f as E, g as G, h as J, A as K } from "./chunks/index-
|
|
1
|
+
import { B as e, I as l, S as t, T as i, U as n, W as o, D as r, q as u, c, r as I, u as m, d, i as v, C as g, b as T, o as y, x as b, z as C, a as F, m as p, w as z, s as H, y as U, t as A, G as L, K as W, F as h, M as k, E as D, N as S, J as f, L as j, H as q, e as w, p as x, l as M, n as O, j as V, k as Z, v as B, f as E, g as G, h as J, A as K } from "./chunks/index-0wbCxej8.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as AosHandler,
|
|
4
4
|
l as IdleTimeout,
|
package/nuxt/index.json
CHANGED
package/package.json
CHANGED
|
@@ -75,6 +75,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
75
75
|
};
|
|
76
76
|
/** add classes to wrapper */
|
|
77
77
|
wrapperClass: {
|
|
78
|
+
type: PropType<any>;
|
|
78
79
|
default: undefined;
|
|
79
80
|
};
|
|
80
81
|
/** Remove padding from content wrapper */
|
|
@@ -171,6 +172,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
171
172
|
};
|
|
172
173
|
/** add classes to wrapper */
|
|
173
174
|
wrapperClass: {
|
|
175
|
+
type: PropType<any>;
|
|
174
176
|
default: undefined;
|
|
175
177
|
};
|
|
176
178
|
/** Remove padding from content wrapper */
|
|
@@ -209,7 +211,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
209
211
|
elevation: boolean;
|
|
210
212
|
radius: boolean;
|
|
211
213
|
imagesShowCount: number;
|
|
212
|
-
wrapperClass:
|
|
214
|
+
wrapperClass: any;
|
|
213
215
|
overflowHidden: boolean;
|
|
214
216
|
collapsable: boolean;
|
|
215
217
|
collapseOpen: boolean;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
type: PropType<Color>;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
block: {
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
@@ -34,13 +34,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
type: PropType<Color>;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
block: {
|
|
38
38
|
type: BooleanConstructor;
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
41
|
}>>, {
|
|
42
42
|
color: Color;
|
|
43
|
-
|
|
43
|
+
block: boolean;
|
|
44
44
|
useAnchor: boolean;
|
|
45
45
|
}, {}>;
|
|
46
46
|
export default _default;
|