prisma-goat 0.9.5 → 0.9.7
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/README.md +1 -1
- package/dist/prisma-goat.js +361 -359
- package/dist/prisma-goat.umd.cjs +7 -7
- package/package.json +1 -1
package/dist/prisma-goat.js
CHANGED
|
@@ -80,7 +80,7 @@ function ND(A) {
|
|
|
80
80
|
key: B
|
|
81
81
|
}, g.attr), ND(g.child)));
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function K(A) {
|
|
84
84
|
return (g) => /* @__PURE__ */ BA.createElement(xt, fg({
|
|
85
85
|
attr: dg({}, A.attr)
|
|
86
86
|
}, g), ND(A.child));
|
|
@@ -109,94 +109,94 @@ function xt(A) {
|
|
|
109
109
|
return ZM !== void 0 ? /* @__PURE__ */ BA.createElement(ZM.Consumer, null, (B) => g(B)) : g(xD);
|
|
110
110
|
}
|
|
111
111
|
function yB(A) {
|
|
112
|
-
return
|
|
112
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M9.586 4l-6.586 6.586a2 2 0 0 0 0 2.828l6.586 6.586a2 2 0 0 0 2.18 .434l.145 -.068a2 2 0 0 0 1.089 -1.78v-2.586h2a1 1 0 0 0 1 -1v-6l-.007 -.117a1 1 0 0 0 -.993 -.883l-2 -.001v-2.585a2 2 0 0 0 -3.414 -1.414z" }, child: [] }, { tag: "path", attr: { d: "M21 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z" }, child: [] }, { tag: "path", attr: { d: "M18 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z" }, child: [] }] })(A);
|
|
113
113
|
}
|
|
114
114
|
function UB(A) {
|
|
115
|
-
return
|
|
115
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M12.089 3.634a2 2 0 0 0 -1.089 1.78l-.001 2.585l-1.999 .001a1 1 0 0 0 -1 1v6l.007 .117a1 1 0 0 0 .993 .883l1.999 -.001l.001 2.587a2 2 0 0 0 3.414 1.414l6.586 -6.586a2 2 0 0 0 0 -2.828l-6.586 -6.586a2 2 0 0 0 -2.18 -.434l-.145 .068z" }, child: [] }, { tag: "path", attr: { d: "M3 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z" }, child: [] }, { tag: "path", attr: { d: "M6 8a1 1 0 0 1 .993 .883l.007 .117v6a1 1 0 0 1 -1.993 .117l-.007 -.117v-6a1 1 0 0 1 1 -1z" }, child: [] }] })(A);
|
|
116
116
|
}
|
|
117
117
|
function ZB(A) {
|
|
118
|
-
return
|
|
118
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z" }, child: [] }] })(A);
|
|
119
119
|
}
|
|
120
120
|
function VB(A) {
|
|
121
|
-
return
|
|
121
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M7 17V9.93L13.93 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8.93L14.07 17H7z" }, child: [] }, { tag: "path", attr: { d: "M9 15h4.24l7.2-7.2-4.24-4.24-7.2 7.2zM22.91 2.49 21.5 1.08c-.78-.78-2.05-.78-2.83 0l-1.06 1.06 4.24 4.24 1.06-1.06c.79-.78.79-2.05 0-2.83z" }, child: [] }] })(A);
|
|
122
122
|
}
|
|
123
123
|
function fB(A) {
|
|
124
|
-
return
|
|
124
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M13 3a9 9 0 0 0-9 9H1l4 4 4-4H6c0-3.86 3.14-7 7-7s7 3.14 7 7-3.14 7-7 7c-1.9 0-3.62-.76-4.88-1.99L6.7 18.42A8.982 8.982 0 0 0 13 21a9 9 0 0 0 0-18zm2 8v-1c0-1.1-.9-2-2-2s-2 .9-2 2v1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1zm-1 0h-2v-1c0-.55.45-1 1-1s1 .45 1 1v1z" }, child: [] }] })(A);
|
|
125
125
|
}
|
|
126
126
|
function XD(A) {
|
|
127
|
-
return
|
|
127
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }, child: [] }] })(A);
|
|
128
128
|
}
|
|
129
129
|
function dB(A) {
|
|
130
|
-
return
|
|
130
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M10 8v6l4.7 2.9.8-1.2-4-2.4V8z" }, child: [] }, { tag: "path", attr: { d: "M17.92 12A6.957 6.957 0 0 1 11 20c-3.9 0-7-3.1-7-7s3.1-7 7-7c.7 0 1.37.1 2 .29V4.23c-.64-.15-1.31-.23-2-.23-5 0-9 4-9 9s4 9 9 9a8.963 8.963 0 0 0 8.94-10h-2.02z" }, child: [] }, { tag: "path", attr: { d: "M20 5V2h-2v3h-3v2h3v3h2V7h3V5z" }, child: [] }] })(A);
|
|
131
131
|
}
|
|
132
132
|
function qB(A) {
|
|
133
|
-
return
|
|
133
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M18 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm3 5.5h-2.5V21h-1v-2.5H15v-1h2.5V15h1v2.5H21v1zM7 5h13v2H7z" }, child: [] }, { tag: "circle", attr: { cx: "3.5", cy: "18", r: "1.5" }, child: [] }, { tag: "path", attr: { d: "M18 11H7v2h6.11c1.26-1.24 2.99-2 4.89-2zM7 17v2h4.08c-.05-.33-.08-.66-.08-1s.03-.67.08-1H7z" }, child: [] }, { tag: "circle", attr: { cx: "3.5", cy: "6", r: "1.5" }, child: [] }, { tag: "circle", attr: { cx: "3.5", cy: "12", r: "1.5" }, child: [] }] })(A);
|
|
134
134
|
}
|
|
135
135
|
function kB(A) {
|
|
136
|
-
return
|
|
136
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M11 8v5l4.25 2.52.77-1.28-3.52-2.09V8H11zm10 2V3l-2.64 2.64A8.937 8.937 0 0 0 12 3a9 9 0 1 0 9 9h-2c0 3.86-3.14 7-7 7s-7-3.14-7-7 3.14-7 7-7c1.93 0 3.68.79 4.95 2.05L14 10h7z" }, child: [] }] })(A);
|
|
137
137
|
}
|
|
138
138
|
function Nt(A) {
|
|
139
|
-
return
|
|
139
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z" }, child: [] }] })(A);
|
|
140
140
|
}
|
|
141
141
|
function Xt(A) {
|
|
142
|
-
return
|
|
142
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M512 256A256 256 0 1 0 0 256a256 256 0 1 0 512 0zM215 127c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-71 71L392 232c13.3 0 24 10.7 24 24s-10.7 24-24 24l-214.1 0 71 71c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L103 273c-9.4-9.4-9.4-24.6 0-33.9L215 127z" }, child: [] }] })(A);
|
|
143
143
|
}
|
|
144
144
|
function Wt(A) {
|
|
145
|
-
return
|
|
145
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM297 385c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l71-71L120 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l214.1 0-71-71c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L409 239c9.4 9.4 9.4 24.6 0 33.9L297 385z" }, child: [] }] })(A);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
return
|
|
147
|
+
function pB(A) {
|
|
148
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M192 0c-41.8 0-77.4 26.7-90.5 64L64 64C28.7 64 0 92.7 0 128L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64l-37.5 0C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM72 272a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm104-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zM72 368a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm88 0c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16z" }, child: [] }] })(A);
|
|
149
149
|
}
|
|
150
150
|
function $t(A) {
|
|
151
|
-
return
|
|
151
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 48C141.1 48 48 141.1 48 256l0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40C0 114.6 114.6 0 256 0S512 114.6 512 256l0 144.1c0 48.6-39.4 88-88.1 88L313.6 488c-8.3 14.3-23.8 24-41.6 24l-32 0c-26.5 0-48-21.5-48-48s21.5-48 48-48l32 0c17.8 0 33.3 9.7 41.6 24l110.4 .1c22.1 0 40-17.9 40-40L464 256c0-114.9-93.1-208-208-208zM144 208l16 0c17.7 0 32 14.3 32 32l0 112c0 17.7-14.3 32-32 32l-16 0c-35.3 0-64-28.7-64-64l0-48c0-35.3 28.7-64 64-64zm224 0c35.3 0 64 28.7 64 64l0 48c0 35.3-28.7 64-64 64l-16 0c-17.7 0-32-14.3-32-32l0-112c0-17.7 14.3-32 32-32l16 0z" }, child: [] }] })(A);
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return
|
|
153
|
+
function KB(A) {
|
|
154
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM440.2 765h-50.8c-2.2 0-4.5-1.1-5.9-2.9L348 718.6l-35.5 43.5a7.38 7.38 0 0 1-5.9 2.9h-50.8c-6.6 0-10.2-7.9-5.8-13.1l62.7-76.8-61.2-74.9c-4.3-5.2-.7-13.1 5.9-13.1h50.9c2.2 0 4.5 1.1 5.9 2.9l34 41.6 34-41.6c1.5-1.9 3.6-2.9 5.9-2.9h50.8c6.6 0 10.2 7.9 5.9 13.1L383.5 675l62.7 76.8c4.2 5.3.6 13.2-6 13.2zm7.8-382c0 2.2-1.4 4-3.2 4H376v68.7c0 1.9-1.8 3.3-4 3.3h-48c-2.2 0-4-1.4-4-3.2V387h-68.8c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4H320v-68.8c0-1.8 1.8-3.2 4-3.2h48c2.2 0 4 1.4 4 3.2V331h68.7c1.9 0 3.3 1.8 3.3 4v48zm328 369c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-104c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48zm0-265c0 2.2-1.4 4-3.2 4H579.2c-1.8 0-3.2-1.8-3.2-4v-48c0-2.2 1.4-4 3.2-4h193.5c1.9 0 3.3 1.8 3.3 4v48z" }, child: [] }] })(A);
|
|
155
155
|
}
|
|
156
156
|
function _t(A) {
|
|
157
|
-
return
|
|
157
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M505.7 661a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" }, child: [] }] })(A);
|
|
158
158
|
}
|
|
159
159
|
function Aw(A) {
|
|
160
|
-
return
|
|
160
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 0 0 0-51.5zm-63.57-320.64L836 122.88a8 8 0 0 0-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 0 0 0 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 0 0 0 11.31L155.17 889a8 8 0 0 0 11.31 0l712.15-712.12a8 8 0 0 0 0-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 0 0-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 0 1 146.2-106.69L401.31 546.2A112 112 0 0 1 396 512z" }, child: [] }, { tag: "path", attr: { d: "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 0 0 227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 0 1-112 112z" }, child: [] }] })(A);
|
|
161
161
|
}
|
|
162
162
|
function gw(A) {
|
|
163
|
-
return
|
|
163
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 0 0 0 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" }, child: [] }] })(A);
|
|
164
164
|
}
|
|
165
165
|
function RB(A) {
|
|
166
|
-
return
|
|
166
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 0 0-44.4 0L77.5 505a63.9 63.9 0 0 0-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0 0 18.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z" }, child: [] }] })(A);
|
|
167
167
|
}
|
|
168
168
|
function Bw(A) {
|
|
169
|
-
return
|
|
169
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" }, child: [] }, { tag: "path", attr: { d: "M464 336a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" }, child: [] }] })(A);
|
|
170
170
|
}
|
|
171
171
|
function hB(A) {
|
|
172
|
-
return
|
|
172
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M341.334 128v234.666C341.334 409.604 302.938 448 256 448c-46.937 0-85.333-38.396-85.333-85.334V117.334C170.667 87.469 194.135 64 224 64c29.864 0 53.333 23.469 53.333 53.334v245.333c0 11.729-9.605 21.333-21.334 21.333s-21.333-9.604-21.333-21.333V160h-32v202.667C202.667 392.531 226.135 416 256 416c29.865 0 53.334-23.469 53.334-53.333V117.334C309.334 70.401 270.938 32 224 32s-85.334 38.401-85.334 85.334v245.332C138.667 427.729 190.938 480 256 480c65.062 0 117.334-52.271 117.334-117.334V128h-32z" }, child: [] }] })(A);
|
|
173
173
|
}
|
|
174
174
|
function Mw(A) {
|
|
175
|
-
return
|
|
175
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z" }, child: [] }] })(A);
|
|
176
176
|
}
|
|
177
177
|
function JB(A) {
|
|
178
|
-
return
|
|
178
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z" }, child: [] }] })(A);
|
|
179
179
|
}
|
|
180
180
|
function zB(A) {
|
|
181
|
-
return
|
|
181
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M400 54.1c63 45 104 118.6 104 201.9 0 136.8-110.8 247.7-247.5 248C120 504.3 8.2 393 8 256.4 7.9 173.1 48.9 99.3 111.8 54.2c11.7-8.3 28-4.8 35 7.7L162.6 90c5.9 10.5 3.1 23.8-6.6 31-41.5 30.8-68 79.6-68 134.9-.1 92.3 74.5 168.1 168 168.1 91.6 0 168.6-74.2 168-169.1-.3-51.8-24.7-101.8-68.1-134-9.7-7.2-12.4-20.5-6.5-30.9l15.8-28.1c7-12.4 23.2-16.1 34.8-7.8zM296 264V24c0-13.3-10.7-24-24-24h-32c-13.3 0-24 10.7-24 24v240c0 13.3 10.7 24 24 24h32c13.3 0 24-10.7 24-24z" }, child: [] }] })(A);
|
|
182
182
|
}
|
|
183
183
|
function vB(A) {
|
|
184
|
-
return
|
|
184
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z" }, child: [] }] })(A);
|
|
185
185
|
}
|
|
186
186
|
function Dw(A) {
|
|
187
|
-
return
|
|
187
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z" }, child: [] }] })(A);
|
|
188
188
|
}
|
|
189
189
|
function PB(A) {
|
|
190
|
-
return
|
|
190
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M336 376V272H191a16 16 0 0 1 0-32h145V136a56.06 56.06 0 0 0-56-56H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h192a56.06 56.06 0 0 0 56-56zm89.37-104-52.68 52.69a16 16 0 0 0 22.62 22.62l80-80a16 16 0 0 0 0-22.62l-80-80a16 16 0 0 0-22.62 22.62L425.37 240H336v32z" }, child: [] }] })(A);
|
|
191
191
|
}
|
|
192
192
|
function LB(A) {
|
|
193
|
-
return
|
|
193
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: { id: "Login" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { d: "M20.944,18.432a2.577,2.577,0,0,1-2.729,2.5c-2.153.012-4.307,0-6.46,0a.5.5,0,0,1,0-1c2.2,0,4.4.032,6.6,0,1.107-.016,1.589-.848,1.589-1.838V5.63a1.545,1.545,0,0,0-.969-1.471,3.027,3.027,0,0,0-1.061-.095H11.755a.5.5,0,0,1,0-1c2.225,0,4.465-.085,6.688,0a2.566,2.566,0,0,1,2.5,2.67Z" }, child: [] }, { tag: "path", attr: { d: "M15.794,12.354a.459.459,0,0,0,.138-.312A.3.3,0,0,0,15.938,12a.29.29,0,0,0-.006-.041.455.455,0,0,0-.138-.313L12.125,7.978a.5.5,0,0,0-.707.707L14.234,11.5H3.492a.5.5,0,0,0,0,1H14.234l-2.816,2.815a.5.5,0,0,0,.707.707Z" }, child: [] }] }] }] })(A);
|
|
194
194
|
}
|
|
195
195
|
function ew(A) {
|
|
196
|
-
return
|
|
196
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: { id: "Menu_Kebab" }, child: [{ tag: "path", attr: { d: "M14.5,12c0,1.38 -1.12,2.5 -2.5,2.5c-1.38,-0 -2.5,-1.12 -2.5,-2.5c0,-1.38 1.12,-2.5 2.5,-2.5c1.38,-0 2.5,1.12 2.5,2.5Zm-1,-0c0,-0.828 -0.672,-1.5 -1.5,-1.5c-0.828,-0 -1.5,0.672 -1.5,1.5c0,0.828 0.672,1.5 1.5,1.5c0.828,-0 1.5,-0.672 1.5,-1.5Z" }, child: [] }, { tag: "path", attr: { d: "M14.5,4.563c0,1.38 -1.12,2.5 -2.5,2.5c-1.38,-0 -2.5,-1.12 -2.5,-2.5c0,-1.38 1.12,-2.5 2.5,-2.5c1.38,-0 2.5,1.12 2.5,2.5Zm-1,-0c0,-0.828 -0.672,-1.5 -1.5,-1.5c-0.828,-0 -1.5,0.672 -1.5,1.5c0,0.828 0.672,1.5 1.5,1.5c0.828,-0 1.5,-0.672 1.5,-1.5Z" }, child: [] }, { tag: "path", attr: { d: "M14.5,19.437c0,1.38 -1.12,2.5 -2.5,2.5c-1.38,0 -2.5,-1.12 -2.5,-2.5c0,-1.38 1.12,-2.5 2.5,-2.5c1.38,0 2.5,1.12 2.5,2.5Zm-1,0c0,-0.828 -0.672,-1.5 -1.5,-1.5c-0.828,0 -1.5,0.672 -1.5,1.5c0,0.828 0.672,1.5 1.5,1.5c0.828,0 1.5,-0.672 1.5,-1.5Z" }, child: [] }] }] })(A);
|
|
197
197
|
}
|
|
198
198
|
function FB(A) {
|
|
199
|
-
return
|
|
199
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", strokeWidth: "2", d: "M22,3 L2,11 L20.5,19 L22,3 Z M10,20.5 L13,16 M15.5,9.5 L9,14 L9.85884537,20.0119176 C9.93680292,20.5576204 10.0751625,20.5490248 10.1651297,20.009222 L11,15 L15.5,9.5 Z" }, child: [] }] })(A);
|
|
200
200
|
}
|
|
201
201
|
function WD(A) {
|
|
202
202
|
var g, B, M = "";
|
|
@@ -228,13 +228,13 @@ const sg = $(
|
|
|
228
228
|
onClick: n,
|
|
229
229
|
...I
|
|
230
230
|
}, r) => {
|
|
231
|
-
const
|
|
231
|
+
const l = z(
|
|
232
232
|
"inline-flex items-center justify-center rounded-lg font-bold focus:outline-none focus:ring-2 focus:ring-offset-2 w-full",
|
|
233
233
|
{
|
|
234
234
|
"text-white": g !== "secondary" && g !== "tertiary" && g !== "experiences",
|
|
235
235
|
"text-[#3d434b]": g === "secondary" || g === "tertiary" || g === "experiences"
|
|
236
236
|
}
|
|
237
|
-
),
|
|
237
|
+
), E = {
|
|
238
238
|
primary: "bg-[#1F2937] hover:bg-[#374151] focus:ring-[#1F2937] focus:border-[#1F2937]",
|
|
239
239
|
secondary: "bg-transparent border-2 border-[#1F2937] hover:border-[#374151] focus:ring-[#1F2937] focus:border-[#1F2937]",
|
|
240
240
|
vividPink: "bg-[#ff0145] hover:bg-[#e6003f] focus:ring-[#ff0145] focus:border-[#ff0145]",
|
|
@@ -250,7 +250,7 @@ const sg = $(
|
|
|
250
250
|
small: "px-4 py-1.5 text-xs",
|
|
251
251
|
medium: "px-6 py-2.5 text-base",
|
|
252
252
|
large: "px-8 py-3 text-lg"
|
|
253
|
-
}, G = () => C === "home" ? /* @__PURE__ */ i(RB, { className: "w-5 h-5" }) : C === "Left" ? /* @__PURE__ */ i(yB, { className: "w-5 h-5" }) : C === "right" ? /* @__PURE__ */ i(UB, { className: "w-5 h-5" }) : C === "save" ? /* @__PURE__ */ i(vB, { className: "w-5 h-5" }) : C === "more" ? /* @__PURE__ */ i(dB, { className: "w-5 h-5" }) : C === "update" ? /* @__PURE__ */ i(kB, { className: "w-5 h-5" }) : C === "attach" ? /* @__PURE__ */ i(hB, { className: "w-5 h-5" }) : C === "send" ? /* @__PURE__ */ i(FB, { className: "w-5 h-5" }) : C === "delete" ? /* @__PURE__ */ i(ZB, { className: "w-5 h-5" }) : C === "edit" ? /* @__PURE__ */ i(VB, { className: "w-5 h-5" }) : C === "login" ? /* @__PURE__ */ i(LB, { className: "w-5 h-5" }) : C === "reset" ? /* @__PURE__ */ i(fB, { className: "w-5 h-5" }) : C === "add" ? /* @__PURE__ */ i(qB, { className: "w-5 h-5" }) : C === "exit" ? /* @__PURE__ */ i(PB, { className: "w-5 h-5" }) : C === "off" ? /* @__PURE__ */ i(zB, { className: "w-5 h-5" }) : C === "calculator" ? /* @__PURE__ */ i(
|
|
253
|
+
}, G = () => C === "home" ? /* @__PURE__ */ i(RB, { className: "w-5 h-5" }) : C === "Left" ? /* @__PURE__ */ i(yB, { className: "w-5 h-5" }) : C === "right" ? /* @__PURE__ */ i(UB, { className: "w-5 h-5" }) : C === "save" ? /* @__PURE__ */ i(vB, { className: "w-5 h-5" }) : C === "more" ? /* @__PURE__ */ i(dB, { className: "w-5 h-5" }) : C === "update" ? /* @__PURE__ */ i(kB, { className: "w-5 h-5" }) : C === "attach" ? /* @__PURE__ */ i(hB, { className: "w-5 h-5" }) : C === "send" ? /* @__PURE__ */ i(FB, { className: "w-5 h-5" }) : C === "delete" ? /* @__PURE__ */ i(ZB, { className: "w-5 h-5" }) : C === "edit" ? /* @__PURE__ */ i(VB, { className: "w-5 h-5" }) : C === "login" ? /* @__PURE__ */ i(LB, { className: "w-5 h-5" }) : C === "reset" ? /* @__PURE__ */ i(fB, { className: "w-5 h-5" }) : C === "add" ? /* @__PURE__ */ i(qB, { className: "w-5 h-5" }) : C === "exit" ? /* @__PURE__ */ i(PB, { className: "w-5 h-5" }) : C === "off" ? /* @__PURE__ */ i(zB, { className: "w-5 h-5" }) : C === "calculator" ? /* @__PURE__ */ i(KB, { className: "w-5 h-5" }) : C === "list" ? /* @__PURE__ */ i(pB, { className: "w-5 h-5" }) : C === "futbol" ? /* @__PURE__ */ i(JB, { className: "w-5 h-5" }) : null, Y = /* @__PURE__ */ i(
|
|
254
254
|
"div",
|
|
255
255
|
{
|
|
256
256
|
className: z(
|
|
@@ -279,8 +279,8 @@ const sg = $(
|
|
|
279
279
|
ref: r,
|
|
280
280
|
style: { whiteSpace: "nowrap" },
|
|
281
281
|
className: z(
|
|
282
|
-
|
|
283
|
-
|
|
282
|
+
l,
|
|
283
|
+
E[g],
|
|
284
284
|
a[B],
|
|
285
285
|
{
|
|
286
286
|
"opacity-60 cursor-not-allowed": M,
|
|
@@ -303,7 +303,7 @@ const sg = $(
|
|
|
303
303
|
}
|
|
304
304
|
);
|
|
305
305
|
sg.displayName = "Button";
|
|
306
|
-
const
|
|
306
|
+
const lA = {
|
|
307
307
|
primary: "bg-[#1F2937]",
|
|
308
308
|
secondary: "bg-[#ededed]",
|
|
309
309
|
vividPink: "bg-[#ff0145]",
|
|
@@ -552,8 +552,8 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
552
552
|
handleLogout: n,
|
|
553
553
|
theme: I,
|
|
554
554
|
InstallApp: r,
|
|
555
|
-
login:
|
|
556
|
-
variantIndicator:
|
|
555
|
+
login: l = !1,
|
|
556
|
+
variantIndicator: E = "primary",
|
|
557
557
|
backgroundIndicator: a = "black",
|
|
558
558
|
logoGoatDataIndicator: G = "logoRed",
|
|
559
559
|
imgLoadingIndicator: Y = "",
|
|
@@ -562,7 +562,7 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
562
562
|
...V
|
|
563
563
|
}, Z) => {
|
|
564
564
|
var uA, x, LA, yM;
|
|
565
|
-
const U = jB(), [u, f] = J(!1), [P, _] = J(!1), [IA, rA] = J(!1), [qA, YA] = J(null), [
|
|
565
|
+
const U = jB(), [u, f] = J(!1), [P, _] = J(!1), [IA, rA] = J(!1), [qA, YA] = J(null), [L, p] = J(null), R = MA(null), F = () => f(!u), tA = () => _(!P), wA = () => _(!1);
|
|
566
566
|
T(() => {
|
|
567
567
|
if (typeof window < "u" && (C != null && C.events)) {
|
|
568
568
|
const y = () => {
|
|
@@ -593,9 +593,9 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
593
593
|
return P && document.addEventListener("mousedown", y), () => {
|
|
594
594
|
document.removeEventListener("mousedown", y);
|
|
595
595
|
};
|
|
596
|
-
}, [P]), /* @__PURE__ */ m("nav", { ref: Z, ...V, style: { zIndex: 9999, position: "fixed", top: "0px", left: "0px", right: "0px" }, className: `${
|
|
596
|
+
}, [P]), /* @__PURE__ */ m("nav", { ref: Z, ...V, style: { zIndex: 9999, position: "fixed", top: "0px", left: "0px", right: "0px" }, className: `${lA[g]}`, children: [
|
|
597
597
|
/* @__PURE__ */ i("div", { style: { marginLeft: "auto", marginRight: "auto", maxWidth: "80rem", paddingLeft: U ? "0.5rem" : "1.5rem", paddingRight: U ? "0.5rem" : "1.5rem" }, children: /* @__PURE__ */ m("div", { style: { position: "relative", display: "flex", height: "4rem", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
598
|
-
/* @__PURE__ */ i("div", { style: { position: "absolute", top: "0px", bottom: "0px", left: "0px", display: U ? "flex" : "none", alignItems: "center" }, children: /* @__PURE__ */ i("button", { className: `menu ${u ? g === "secondary" ? "openedark" : "opened" : ""}`, onClick:
|
|
598
|
+
/* @__PURE__ */ i("div", { style: { position: "absolute", top: "0px", bottom: "0px", left: "0px", display: U ? "flex" : "none", alignItems: "center" }, children: /* @__PURE__ */ i("button", { className: `menu ${u ? g === "secondary" ? "openedark" : "opened" : ""}`, onClick: F, "aria-label": "Main Menu", children: /* @__PURE__ */ m("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
|
|
599
599
|
/* @__PURE__ */ i("path", { className: g === "secondary" ? "linedark linedark1" : "line line1", d: "M 20,29.000046 H 80.000231 C 80.000231,29.000046 94.498839,28.817352 94.532987,66.711331 94.543142,77.980673 90.966081,81.670246 85.259173,81.668997 79.552261,81.667751 75.000211,74.999942 75.000211,74.999942 L 25.000021,25.000058" }),
|
|
600
600
|
/* @__PURE__ */ i("path", { className: g === "secondary" ? "linedark linedark2" : "line line2", d: "M 20,50 H 80" }),
|
|
601
601
|
/* @__PURE__ */ i("path", { className: g === "secondary" ? "linedark linedark3" : "line line3", d: "M 20,70.999954 H 80.000231 C 80.000231,70.999954 94.498839,71.182648 94.532987,33.288669 94.543142,22.019327 90.966081,18.329754 85.259173,18.331003 79.552261,18.332249 75.000211,25.000058 75.000211,25.000058 L 25.000021,74.999942" })
|
|
@@ -639,16 +639,16 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
639
639
|
w === y.link ? "font-semibold" : "font-normal"
|
|
640
640
|
),
|
|
641
641
|
onClick: () => kA(y, h),
|
|
642
|
-
onMouseEnter: () =>
|
|
643
|
-
onMouseLeave: () =>
|
|
642
|
+
onMouseEnter: () => p(h),
|
|
643
|
+
onMouseLeave: () => p(null),
|
|
644
644
|
children: y.label
|
|
645
645
|
}
|
|
646
646
|
),
|
|
647
|
-
|
|
647
|
+
L === h && y.description && y.description.trim() !== "" && /* @__PURE__ */ m(
|
|
648
648
|
"div",
|
|
649
649
|
{
|
|
650
650
|
style: { border: `1px ${tg[g]} solid`, maxWidth: "260px" },
|
|
651
|
-
className: `absolute top-full left-1/2 transform -translate-x-1/2 translate-y-2 opacity-0 mt-2 w-max px-4 py-4 text-xs ${TA[g]} ${
|
|
651
|
+
className: `absolute top-full left-1/2 transform -translate-x-1/2 translate-y-2 opacity-0 mt-2 w-max px-4 py-4 text-xs ${TA[g]} ${lA[g]} rounded-md transition-all duration-300 group-hover:opacity-100 group-hover:translate-y-4`,
|
|
652
652
|
children: [
|
|
653
653
|
y.image && y.image.trim() !== "" && /* @__PURE__ */ m("div", { className: "relative w-full h-24 mb-2", children: [
|
|
654
654
|
/* @__PURE__ */ i(
|
|
@@ -669,13 +669,13 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
669
669
|
y.subItems && y.subItems.length > 0 && qA === h && /* @__PURE__ */ i(
|
|
670
670
|
"div",
|
|
671
671
|
{
|
|
672
|
-
className: `absolute left-0 mt-2 w-48 ${
|
|
672
|
+
className: `absolute left-0 mt-2 w-48 ${lA[g]} ${qg[g]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
|
|
673
673
|
role: "menu",
|
|
674
674
|
children: y.subItems.map((AA, xg) => /* @__PURE__ */ i(
|
|
675
675
|
"div",
|
|
676
676
|
{
|
|
677
677
|
className: z(
|
|
678
|
-
`block px-4 py-2 text-sm cursor-pointer ${
|
|
678
|
+
`block px-4 py-2 text-sm cursor-pointer ${lA[g]}e`,
|
|
679
679
|
N[g] && `${N[g]}`,
|
|
680
680
|
w === AA.link ? iA[g] : "",
|
|
681
681
|
w === AA.link ? g === "secondary" || g === "primary" || g === "darkMagenta" || g === "veryDarkViolet" || g === "success" ? "text-custom-red" : g === "pikaros" ? "text-orange-300" : "text-custom-blue" : g === "primary" || g === "vividPink" || g === "darkMagenta" || g === "veryDarkViolet" || g === "danger" || g === "warning" || g === "success" || g === "pikaros" ? "text-white" : "text-custom-blue",
|
|
@@ -730,7 +730,7 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
730
730
|
"div",
|
|
731
731
|
{
|
|
732
732
|
ref: R,
|
|
733
|
-
className: `absolute right-0 mt-2 w-48 ${
|
|
733
|
+
className: `absolute right-0 mt-2 w-48 ${lA[g]} ${qg[g]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
|
|
734
734
|
role: "menu",
|
|
735
735
|
children: D.map((y, h) => /* @__PURE__ */ i(
|
|
736
736
|
"div",
|
|
@@ -751,7 +751,7 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
751
751
|
))
|
|
752
752
|
}
|
|
753
753
|
)
|
|
754
|
-
] }) :
|
|
754
|
+
] }) : l ? /* @__PURE__ */ i(
|
|
755
755
|
"button",
|
|
756
756
|
{
|
|
757
757
|
type: "button",
|
|
@@ -859,7 +859,7 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
859
859
|
},
|
|
860
860
|
h
|
|
861
861
|
))
|
|
862
|
-
] }) :
|
|
862
|
+
] }) : l ? /* @__PURE__ */ i(
|
|
863
863
|
"button",
|
|
864
864
|
{
|
|
865
865
|
type: "button",
|
|
@@ -880,7 +880,7 @@ const zA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
880
880
|
IA && /* @__PURE__ */ i(
|
|
881
881
|
Fg,
|
|
882
882
|
{
|
|
883
|
-
variant:
|
|
883
|
+
variant: E,
|
|
884
884
|
background: a,
|
|
885
885
|
logoGoatData: G,
|
|
886
886
|
imgLoading: Y,
|
|
@@ -1001,8 +1001,8 @@ const sw = $(
|
|
|
1001
1001
|
variantIndicator: n = "primary",
|
|
1002
1002
|
backgroundIndicator: I = "black",
|
|
1003
1003
|
logoGoatDataIndicator: r = "logoRed",
|
|
1004
|
-
imgLoadingIndicator:
|
|
1005
|
-
strokeWidthIndicator:
|
|
1004
|
+
imgLoadingIndicator: l = "",
|
|
1005
|
+
strokeWidthIndicator: E = "10",
|
|
1006
1006
|
handleLogout: a,
|
|
1007
1007
|
toggleTheme: G,
|
|
1008
1008
|
toggeInstallApp: Y,
|
|
@@ -1010,7 +1010,7 @@ const sw = $(
|
|
|
1010
1010
|
...c
|
|
1011
1011
|
}, V) => {
|
|
1012
1012
|
var Yg, gg;
|
|
1013
|
-
const [Z, U] = J(!0), [u, f] = J(null), [P, _] = J(!1), [IA, rA] = J(null), [qA, YA] = J(!1),
|
|
1013
|
+
const [Z, U] = J(!0), [u, f] = J(null), [P, _] = J(!1), [IA, rA] = J(null), [qA, YA] = J(!1), L = MA(null), p = () => _(!P), R = () => _(!1), F = () => {
|
|
1014
1014
|
k && k(), U((q) => !q);
|
|
1015
1015
|
}, tA = (q, j) => {
|
|
1016
1016
|
q.subItems && q.subItems.length > 0 ? f((uA) => uA === j ? -1 : j) : q.link && w && w.push(q.link);
|
|
@@ -1037,7 +1037,7 @@ const sw = $(
|
|
|
1037
1037
|
...c,
|
|
1038
1038
|
style: { width: Z ? "250px" : "70px" },
|
|
1039
1039
|
className: z(
|
|
1040
|
-
`fixed top-0 left-0 h-full ${
|
|
1040
|
+
`fixed top-0 left-0 h-full ${lA[B]} text-white shadow-lg transition-all z-50`,
|
|
1041
1041
|
M
|
|
1042
1042
|
),
|
|
1043
1043
|
children: [
|
|
@@ -1065,7 +1065,7 @@ const sw = $(
|
|
|
1065
1065
|
/* @__PURE__ */ i(
|
|
1066
1066
|
"button",
|
|
1067
1067
|
{
|
|
1068
|
-
onClick:
|
|
1068
|
+
onClick: F,
|
|
1069
1069
|
className: `absolute -right-3 transform -translate-y-1/2 p-1 rounded-full shadow-md ${tw[B]} focus:outline-none`,
|
|
1070
1070
|
children: Z ? /* @__PURE__ */ i(Wt, { size: 20 }) : /* @__PURE__ */ i(Xt, { size: 20 })
|
|
1071
1071
|
}
|
|
@@ -1119,7 +1119,7 @@ const sw = $(
|
|
|
1119
1119
|
"absolute top-1/2 transform -translate-y-1/2 transition-all duration-300 opacity-0 group-hover:opacity-100 rounded-md text-xs px-4 py-2 shadow-lg",
|
|
1120
1120
|
Z ? "left-full ml-2" : "left-full ml-2 translate-x-2 group-hover:translate-x-4",
|
|
1121
1121
|
TA[B],
|
|
1122
|
-
|
|
1122
|
+
lA[B]
|
|
1123
1123
|
),
|
|
1124
1124
|
children: [
|
|
1125
1125
|
q.image && q.image.trim() !== "" && /* @__PURE__ */ m("div", { className: "relative w-full h-24 mb-2", children: [
|
|
@@ -1158,13 +1158,13 @@ const sw = $(
|
|
|
1158
1158
|
"div",
|
|
1159
1159
|
{
|
|
1160
1160
|
style: { zIndex: "999" },
|
|
1161
|
-
className: `absolute left-0 mt-2 w-48 ${
|
|
1161
|
+
className: `absolute left-0 mt-2 w-48 ${lA[B]} ${qg[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
|
|
1162
1162
|
role: "menu",
|
|
1163
1163
|
children: q.subItems.map((x, LA) => /* @__PURE__ */ i(
|
|
1164
1164
|
"div",
|
|
1165
1165
|
{
|
|
1166
1166
|
className: z(
|
|
1167
|
-
`block px-4 py-2 text-sm cursor-pointer ${
|
|
1167
|
+
`block px-4 py-2 text-sm cursor-pointer ${lA[B]}e`,
|
|
1168
1168
|
N[B] && `${N[B]}`,
|
|
1169
1169
|
Q === x.link ? iA[B] : "",
|
|
1170
1170
|
Q === x.link ? B === "secondary" || B === "primary" || B === "darkMagenta" || B === "veryDarkViolet" || B === "success" ? "text-custom-red" : B === "pikaros" ? "text-orange-300" : "text-custom-blue" : B === "primary" || B === "vividPink" || B === "darkMagenta" || B === "veryDarkViolet" || B === "danger" || B === "warning" || B === "success" || B === "pikaros" ? "text-white" : "text-custom-blue",
|
|
@@ -1182,7 +1182,7 @@ const sw = $(
|
|
|
1182
1182
|
] }, j);
|
|
1183
1183
|
}) }),
|
|
1184
1184
|
C && /* @__PURE__ */ m("div", { className: "relative ml-3", children: [
|
|
1185
|
-
/* @__PURE__ */ m("div", { id: "user-menu-button", style: { display: "flex", alignItems: "center", cursor: "pointer" }, onClick:
|
|
1185
|
+
/* @__PURE__ */ m("div", { id: "user-menu-button", style: { display: "flex", alignItems: "center", cursor: "pointer" }, onClick: p, children: [
|
|
1186
1186
|
/* @__PURE__ */ i(
|
|
1187
1187
|
"button",
|
|
1188
1188
|
{
|
|
@@ -1215,8 +1215,8 @@ const sw = $(
|
|
|
1215
1215
|
P && /* @__PURE__ */ i(
|
|
1216
1216
|
"div",
|
|
1217
1217
|
{
|
|
1218
|
-
ref:
|
|
1219
|
-
className: `absolute right-0 ${Z ? "left-56" : "left-14"} bottom-8 mt-2 w-48 ${
|
|
1218
|
+
ref: L,
|
|
1219
|
+
className: `absolute right-0 ${Z ? "left-56" : "left-14"} bottom-8 mt-2 w-48 ${lA[B]} ${qg[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
|
|
1220
1220
|
role: "menu",
|
|
1221
1221
|
children: g.map((q, j) => /* @__PURE__ */ i(
|
|
1222
1222
|
"div",
|
|
@@ -1249,8 +1249,8 @@ const sw = $(
|
|
|
1249
1249
|
variant: n,
|
|
1250
1250
|
background: I,
|
|
1251
1251
|
logoGoatData: r,
|
|
1252
|
-
imgLoading:
|
|
1253
|
-
strokeWidth:
|
|
1252
|
+
imgLoading: l,
|
|
1253
|
+
strokeWidth: E
|
|
1254
1254
|
}
|
|
1255
1255
|
)
|
|
1256
1256
|
]
|
|
@@ -1259,7 +1259,7 @@ const sw = $(
|
|
|
1259
1259
|
}
|
|
1260
1260
|
);
|
|
1261
1261
|
sw.displayName = "Sidebar";
|
|
1262
|
-
const ow = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i("path", { d: "M17.0779 2.928C15.1918 1.041 12.6836 0.001 10.0115 0C4.50522 0 0.0240013 4.479 0.0220012 9.985C0.0210011 11.745 0.481024 13.463 1.35507 14.977L0 20L5.23326 18.763C6.69233 19.559 8.33441 19.978 10.0065 19.979H10.0105C15.5158 19.979 19.997 15.499 20 9.994C20.002 7.325 18.9639 4.816 17.0779 2.928ZM14.8987 13.554C14.6907 14.137 13.6717 14.699 13.2137 14.74C12.7556 14.782 12.3266 14.947 10.2185 14.116C7.68138 13.116 6.0793 10.515 5.9553 10.349C5.83029 10.182 4.93625 8.996 4.93625 7.768C4.93625 6.54 5.58128 5.936 5.81029 5.687C6.0393 5.437 6.30931 5.375 6.47632 5.375C6.64233 5.375 6.80934 5.375 6.95435 5.381C7.13236 5.388 7.32936 5.397 7.51637 5.812C7.73839 6.306 8.22341 7.54 8.28541 7.665C8.34742 7.79 8.38942 7.936 8.30641 8.102C8.22341 8.268 8.18141 8.372 8.0574 8.518C7.9324 8.664 7.79539 8.843 7.68338 8.955C7.55838 9.079 7.42837 9.215 7.57338 9.464C7.71938 9.714 8.21941 10.531 8.96145 11.192C9.91549 12.042 10.7185 12.305 10.9685 12.431C11.2186 12.556 11.3636 12.535 11.5096 12.368C11.6556 12.202 12.1336 11.64 12.2996 11.39C12.4656 11.14 12.6326 11.182 12.8616 11.265C13.0907 11.348 14.3177 11.952 14.5667 12.077C14.8167 12.202 14.9827 12.264 15.0448 12.368C15.1068 12.471 15.1068 12.971 14.8987 13.554Z", fill: "white" }) }), nw = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width: "24", height: "16", viewBox: "0 0 24 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i("path", { d: "M21.6 0H2.4C1.08 0 0.012 0.9 0.012 2L0 14C0 15.1 1.08 16 2.4 16H21.6C22.92 16 24 15.1 24 14V2C24 0.9 22.92 0 21.6 0ZM21.6 4L12 9L2.4 4V2L12 7L21.6 2V4Z", fill: "white" }) }), Iw = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i("path", { d: "M6.66667 0.431458C2.98533 0.431458 0 3.33875 0 6.92384V17.3117C0 20.8967 2.98533 23.804 6.66667 23.804H17.3333C21.0147 23.804 24 20.8967 24 17.3117V6.92384C24 3.33875 21.0147 0.431458 17.3333 0.431458H6.66667ZM20 3.02841C20.736 3.02841 21.3333 3.61013 21.3333 4.32689C21.3333 5.04365 20.736 5.62536 20 5.62536C19.264 5.62536 18.6667 5.04365 18.6667 4.32689C18.6667 3.61013 19.264 3.02841 20 3.02841ZM12 5.62536C15.6813 5.62536 18.6667 8.53265 18.6667 12.1177C18.6667 15.7028 15.6813 18.6101 12 18.6101C8.31867 18.6101 5.33333 15.7028 5.33333 12.1177C5.33333 8.53265 8.31867 5.62536 12 5.62536ZM12 8.22232C10.9391 8.22232 9.92172 8.63273 9.17157 9.36326C8.42143 10.0938 8 11.0846 8 12.1177C8 13.1509 8.42143 14.1417 9.17157 14.8722C9.92172 15.6028 10.9391 16.0132 12 16.0132C13.0609 16.0132 14.0783 15.6028 14.8284 14.8722C15.5786 14.1417 16 13.1509 16 12.1177C16 11.0846 15.5786 10.0938 14.8284 9.36326C14.0783 8.63273 13.0609 8.22232 12 8.22232Z", fill: "white" }) }), rw = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i("path", { d: "M24 12.147C24 5.68004 18.624 0.431458 12 0.431458C5.376 0.431458 0 5.68004 0 12.147C0 17.8174 4.128 22.5387 9.6 23.6283V15.6617H7.2V12.147H9.6V9.21814C9.6 6.95703 11.484 5.11769 13.8 5.11769H16.8V8.63236H14.4C13.74 8.63236 13.2 9.15956 13.2 9.80392V12.147H16.8V15.6617H13.2V23.804C19.26 23.2183 24 18.2274 24 12.147Z", fill: "white" }) }),
|
|
1262
|
+
const ow = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i("path", { d: "M17.0779 2.928C15.1918 1.041 12.6836 0.001 10.0115 0C4.50522 0 0.0240013 4.479 0.0220012 9.985C0.0210011 11.745 0.481024 13.463 1.35507 14.977L0 20L5.23326 18.763C6.69233 19.559 8.33441 19.978 10.0065 19.979H10.0105C15.5158 19.979 19.997 15.499 20 9.994C20.002 7.325 18.9639 4.816 17.0779 2.928ZM14.8987 13.554C14.6907 14.137 13.6717 14.699 13.2137 14.74C12.7556 14.782 12.3266 14.947 10.2185 14.116C7.68138 13.116 6.0793 10.515 5.9553 10.349C5.83029 10.182 4.93625 8.996 4.93625 7.768C4.93625 6.54 5.58128 5.936 5.81029 5.687C6.0393 5.437 6.30931 5.375 6.47632 5.375C6.64233 5.375 6.80934 5.375 6.95435 5.381C7.13236 5.388 7.32936 5.397 7.51637 5.812C7.73839 6.306 8.22341 7.54 8.28541 7.665C8.34742 7.79 8.38942 7.936 8.30641 8.102C8.22341 8.268 8.18141 8.372 8.0574 8.518C7.9324 8.664 7.79539 8.843 7.68338 8.955C7.55838 9.079 7.42837 9.215 7.57338 9.464C7.71938 9.714 8.21941 10.531 8.96145 11.192C9.91549 12.042 10.7185 12.305 10.9685 12.431C11.2186 12.556 11.3636 12.535 11.5096 12.368C11.6556 12.202 12.1336 11.64 12.2996 11.39C12.4656 11.14 12.6326 11.182 12.8616 11.265C13.0907 11.348 14.3177 11.952 14.5667 12.077C14.8167 12.202 14.9827 12.264 15.0448 12.368C15.1068 12.471 15.1068 12.971 14.8987 13.554Z", fill: "white" }) }), nw = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width: "24", height: "16", viewBox: "0 0 24 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i("path", { d: "M21.6 0H2.4C1.08 0 0.012 0.9 0.012 2L0 14C0 15.1 1.08 16 2.4 16H21.6C22.92 16 24 15.1 24 14V2C24 0.9 22.92 0 21.6 0ZM21.6 4L12 9L2.4 4V2L12 7L21.6 2V4Z", fill: "white" }) }), Iw = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i("path", { d: "M6.66667 0.431458C2.98533 0.431458 0 3.33875 0 6.92384V17.3117C0 20.8967 2.98533 23.804 6.66667 23.804H17.3333C21.0147 23.804 24 20.8967 24 17.3117V6.92384C24 3.33875 21.0147 0.431458 17.3333 0.431458H6.66667ZM20 3.02841C20.736 3.02841 21.3333 3.61013 21.3333 4.32689C21.3333 5.04365 20.736 5.62536 20 5.62536C19.264 5.62536 18.6667 5.04365 18.6667 4.32689C18.6667 3.61013 19.264 3.02841 20 3.02841ZM12 5.62536C15.6813 5.62536 18.6667 8.53265 18.6667 12.1177C18.6667 15.7028 15.6813 18.6101 12 18.6101C8.31867 18.6101 5.33333 15.7028 5.33333 12.1177C5.33333 8.53265 8.31867 5.62536 12 5.62536ZM12 8.22232C10.9391 8.22232 9.92172 8.63273 9.17157 9.36326C8.42143 10.0938 8 11.0846 8 12.1177C8 13.1509 8.42143 14.1417 9.17157 14.8722C9.92172 15.6028 10.9391 16.0132 12 16.0132C13.0609 16.0132 14.0783 15.6028 14.8284 14.8722C15.5786 14.1417 16 13.1509 16 12.1177C16 11.0846 15.5786 10.0938 14.8284 9.36326C14.0783 8.63273 13.0609 8.22232 12 8.22232Z", fill: "white" }) }), rw = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i("path", { d: "M24 12.147C24 5.68004 18.624 0.431458 12 0.431458C5.376 0.431458 0 5.68004 0 12.147C0 17.8174 4.128 22.5387 9.6 23.6283V15.6617H7.2V12.147H9.6V9.21814C9.6 6.95703 11.484 5.11769 13.8 5.11769H16.8V8.63236H14.4C13.74 8.63236 13.2 9.15956 13.2 9.80392V12.147H16.8V15.6617H13.2V23.804C19.26 23.2183 24 18.2274 24 12.147Z", fill: "white" }) }), lw = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i("path", { d: "M4 0.431458C1.80671 0.431458 0 2.19093 0 4.32689V19.9086C0 22.0446 1.80671 23.804 4 23.804H20C22.1933 23.804 24 22.0446 24 19.9086V4.32689C24 2.19093 22.1933 0.431458 20 0.431458H4ZM12 5.62536H14.6667C14.6667 6.93033 16.628 8.22232 17.3333 8.22232V10.8193C16.5267 10.8193 15.5573 10.4741 14.6667 9.89106V14.7147C14.6667 16.8624 12.872 18.6101 10.6667 18.6101C8.46133 18.6101 6.66667 16.8624 6.66667 14.7147C6.66667 12.567 8.46133 10.8193 10.6667 10.8193V13.4162C9.93067 13.4162 9.33333 13.9992 9.33333 14.7147C9.33333 15.4302 9.93067 16.0132 10.6667 16.0132C11.4027 16.0132 12 15.4302 12 14.7147V5.62536Z", fill: "white" }) }), Ew = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i("path", { d: "M21.3333 0.431458H2.66667C1.19333 0.431458 0 1.59359 0 3.02841V21.2071C0 22.6419 1.19333 23.804 2.66667 23.804H21.3333C22.8067 23.804 24 22.6419 24 21.2071V3.02841C24 1.59359 22.8067 0.431458 21.3333 0.431458ZM8 18.6101H4.636V9.52079H8V18.6101ZM6.25867 7.85485C5.23067 7.85485 4.544 7.18743 4.544 6.29668C4.544 5.40592 5.22933 4.7385 6.372 4.7385C7.4 4.7385 8.08667 5.40592 8.08667 6.29668C8.08667 7.18743 7.40133 7.85485 6.25867 7.85485ZM20 18.6101H16.744V13.6422C16.744 12.2684 15.876 11.9515 15.5507 11.9515C15.2253 11.9515 14.14 12.1632 14.14 13.6422C14.14 13.8538 14.14 18.6101 14.14 18.6101H10.776V9.52079H14.14V10.7894C14.5733 10.0493 15.4413 9.52079 17.0693 9.52079C18.6973 9.52079 20 10.7894 20 13.6422V18.6101Z", fill: "white" }) }), fM = ({
|
|
1263
1263
|
children: A,
|
|
1264
1264
|
href: g,
|
|
1265
1265
|
Viewport: B,
|
|
@@ -1275,8 +1275,8 @@ const ow = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width:
|
|
|
1275
1275
|
const I = () => {
|
|
1276
1276
|
const r = document.getElementById(g.slice(1));
|
|
1277
1277
|
if (r) {
|
|
1278
|
-
const
|
|
1279
|
-
o(
|
|
1278
|
+
const l = r.getBoundingClientRect(), E = l.top >= 0 && l.bottom <= window.innerHeight;
|
|
1279
|
+
o(E ? B : M);
|
|
1280
1280
|
}
|
|
1281
1281
|
};
|
|
1282
1282
|
return I(), window.addEventListener("scroll", I), () => {
|
|
@@ -1289,8 +1289,8 @@ const ow = () => /* @__PURE__ */ i("svg", { className: "cursor-pointer", width:
|
|
|
1289
1289
|
onClick: t ? w : e ? Q : () => {
|
|
1290
1290
|
const I = document.getElementById(g.slice(1));
|
|
1291
1291
|
I && (I.scrollIntoView({ behavior: "smooth" }), setTimeout(() => {
|
|
1292
|
-
const r = I.getBoundingClientRect(),
|
|
1293
|
-
o(
|
|
1292
|
+
const r = I.getBoundingClientRect(), l = r.top >= 0 && r.bottom <= window.innerHeight;
|
|
1293
|
+
o(l ? B : M), D(!1);
|
|
1294
1294
|
}, 300));
|
|
1295
1295
|
},
|
|
1296
1296
|
ref: C,
|
|
@@ -1350,7 +1350,7 @@ function SB(A) {
|
|
|
1350
1350
|
const xA = /* @__NO_SIDE_EFFECTS__ */ (A, g, B) => {
|
|
1351
1351
|
const M = g - A;
|
|
1352
1352
|
return M === 0 ? 1 : (B - A) / M;
|
|
1353
|
-
},
|
|
1353
|
+
}, EA = /* @__NO_SIDE_EFFECTS__ */ (A) => A * 1e3, yA = /* @__NO_SIDE_EFFECTS__ */ (A) => A / 1e3, Gw = {
|
|
1354
1354
|
skipAnimations: !1,
|
|
1355
1355
|
useManualTiming: !1
|
|
1356
1356
|
};
|
|
@@ -1581,7 +1581,7 @@ function qw(A, g, B) {
|
|
|
1581
1581
|
);
|
|
1582
1582
|
}
|
|
1583
1583
|
const XB = (A) => A.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), kw = "framerAppearId", se = "data-" + XB(kw), { schedule: WB, cancel: Co } = we(queueMicrotask, !1), oe = WA({});
|
|
1584
|
-
function
|
|
1584
|
+
function pw(A, g, B, M, D) {
|
|
1585
1585
|
var t, e;
|
|
1586
1586
|
const { visualElement: Q } = gA(Og), w = gA(Qe), C = gA(HB), s = gA(ee).reducedMotion, o = MA(null);
|
|
1587
1587
|
M = M || w.renderer, !o.current && M && (o.current = M(A, {
|
|
@@ -1593,22 +1593,22 @@ function Kw(A, g, B, M, D) {
|
|
|
1593
1593
|
reducedMotionConfig: s
|
|
1594
1594
|
}));
|
|
1595
1595
|
const n = o.current, I = gA(oe);
|
|
1596
|
-
n && !n.projection && D && (n.type === "html" || n.type === "svg") &&
|
|
1596
|
+
n && !n.projection && D && (n.type === "html" || n.type === "svg") && Kw(o.current, B, D, I);
|
|
1597
1597
|
const r = MA(!1);
|
|
1598
1598
|
Pt(() => {
|
|
1599
1599
|
n && r.current && n.update(B, C);
|
|
1600
1600
|
});
|
|
1601
|
-
const
|
|
1601
|
+
const l = B[se], E = MA(!!l && !(!((t = window.MotionHandoffIsComplete) === null || t === void 0) && t.call(window, l)) && ((e = window.MotionHasOptimisedAnimation) === null || e === void 0 ? void 0 : e.call(window, l)));
|
|
1602
1602
|
return te(() => {
|
|
1603
|
-
n && (r.current = !0, window.MotionIsMounted = !0, n.updateFeatures(), WB.render(n.render),
|
|
1603
|
+
n && (r.current = !0, window.MotionIsMounted = !0, n.updateFeatures(), WB.render(n.render), E.current && n.animationState && n.animationState.animateChanges());
|
|
1604
1604
|
}), T(() => {
|
|
1605
|
-
n && (!
|
|
1605
|
+
n && (!E.current && n.animationState && n.animationState.animateChanges(), E.current && (queueMicrotask(() => {
|
|
1606
1606
|
var a;
|
|
1607
|
-
(a = window.MotionHandoffMarkAsComplete) === null || a === void 0 || a.call(window,
|
|
1608
|
-
}),
|
|
1607
|
+
(a = window.MotionHandoffMarkAsComplete) === null || a === void 0 || a.call(window, l);
|
|
1608
|
+
}), E.current = !1));
|
|
1609
1609
|
}), n;
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1611
|
+
function Kw(A, g, B, M) {
|
|
1612
1612
|
const { layoutId: D, layout: t, drag: e, dragConstraints: Q, layoutScroll: w, layoutRoot: C } = g;
|
|
1613
1613
|
A.projection = new B(A.latestValues, g["data-framer-portal-id"] ? void 0 : ne(A.parent)), A.projection.setOptions({
|
|
1614
1614
|
layoutId: D,
|
|
@@ -1641,13 +1641,13 @@ function Rw({ preloadedFeatures: A, createVisualElement: g, useRender: B, useVis
|
|
|
1641
1641
|
...gA(ee),
|
|
1642
1642
|
...C,
|
|
1643
1643
|
layoutId: hw(C)
|
|
1644
|
-
}, { isStatic: I } = n, r = fw(C),
|
|
1644
|
+
}, { isStatic: I } = n, r = fw(C), l = M(C, I);
|
|
1645
1645
|
if (!I && TB) {
|
|
1646
1646
|
Jw(n, A);
|
|
1647
|
-
const
|
|
1648
|
-
o =
|
|
1647
|
+
const E = zw(n);
|
|
1648
|
+
o = E.MeasureLayout, r.visualElement = pw(D, l, n, g, E.ProjectionNode);
|
|
1649
1649
|
}
|
|
1650
|
-
return m(Og.Provider, { value: r, children: [o && r.visualElement ? i(o, { visualElement: r.visualElement, ...n }) : null, B(D, C, qw(
|
|
1650
|
+
return m(Og.Provider, { value: r, children: [o && r.visualElement ? i(o, { visualElement: r.visualElement, ...n }) : null, B(D, C, qw(l, r.visualElement, s), l, I, r.visualElement)] });
|
|
1651
1651
|
}
|
|
1652
1652
|
Q.displayName = `motion.${typeof D == "string" ? D : `create(${(e = (t = D.displayName) !== null && t !== void 0 ? t : D.name) !== null && e !== void 0 ? e : ""})`}`;
|
|
1653
1653
|
const w = $(Q);
|
|
@@ -1721,7 +1721,7 @@ function $B(A) {
|
|
|
1721
1721
|
)
|
|
1722
1722
|
);
|
|
1723
1723
|
}
|
|
1724
|
-
function
|
|
1724
|
+
function pM(A) {
|
|
1725
1725
|
const g = [{}, {}];
|
|
1726
1726
|
return A == null || A.values.forEach((B, M) => {
|
|
1727
1727
|
g[0][M] = B.get(), g[1][M] = B.getVelocity();
|
|
@@ -1729,11 +1729,11 @@ function KM(A) {
|
|
|
1729
1729
|
}
|
|
1730
1730
|
function _B(A, g, B, M) {
|
|
1731
1731
|
if (typeof g == "function") {
|
|
1732
|
-
const [D, t] =
|
|
1732
|
+
const [D, t] = pM(M);
|
|
1733
1733
|
g = g(B !== void 0 ? B : A.custom, D, t);
|
|
1734
1734
|
}
|
|
1735
1735
|
if (typeof g == "string" && (g = A.variants && A.variants[g]), typeof g == "function") {
|
|
1736
|
-
const [D, t] =
|
|
1736
|
+
const [D, t] = pM(M);
|
|
1737
1737
|
g = g(B !== void 0 ? B : A.custom, D, t);
|
|
1738
1738
|
}
|
|
1739
1739
|
return g;
|
|
@@ -1769,7 +1769,7 @@ function bw(A, g, B, M) {
|
|
|
1769
1769
|
for (let I = 0; I < n.length; I++) {
|
|
1770
1770
|
const r = _B(A, n[I]);
|
|
1771
1771
|
if (r) {
|
|
1772
|
-
const { transitionEnd:
|
|
1772
|
+
const { transitionEnd: l, transition: E, ...a } = r;
|
|
1773
1773
|
for (const G in a) {
|
|
1774
1774
|
let Y = a[G];
|
|
1775
1775
|
if (Array.isArray(Y)) {
|
|
@@ -1778,8 +1778,8 @@ function bw(A, g, B, M) {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
Y !== null && (D[G] = Y);
|
|
1780
1780
|
}
|
|
1781
|
-
for (const G in
|
|
1782
|
-
D[G] =
|
|
1781
|
+
for (const G in l)
|
|
1782
|
+
D[G] = l[G];
|
|
1783
1783
|
}
|
|
1784
1784
|
}
|
|
1785
1785
|
}
|
|
@@ -1803,7 +1803,7 @@ const _A = [
|
|
|
1803
1803
|
"skew",
|
|
1804
1804
|
"skewX",
|
|
1805
1805
|
"skewY"
|
|
1806
|
-
], PA = new Set(_A), re = (A) => (g) => typeof g == "string" && g.startsWith(A),
|
|
1806
|
+
], PA = new Set(_A), re = (A) => (g) => typeof g == "string" && g.startsWith(A), le = /* @__PURE__ */ re("--"), Ow = /* @__PURE__ */ re("var(--"), AM = (A) => Ow(A) ? jw.test(A.split("/*")[0].trim()) : !1, jw = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Ee = (A, g) => g && typeof A == "number" ? g.transform(A) : A, UA = (A, g, B) => B > g ? g : B < A ? A : B, Ag = {
|
|
1807
1807
|
test: (A) => typeof A == "number",
|
|
1808
1808
|
parse: parseFloat,
|
|
1809
1809
|
transform: (A) => A
|
|
@@ -1813,11 +1813,11 @@ const _A = [
|
|
|
1813
1813
|
}, mg = {
|
|
1814
1814
|
...Ag,
|
|
1815
1815
|
default: 1
|
|
1816
|
-
},
|
|
1816
|
+
}, Eg = (A) => ({
|
|
1817
1817
|
test: (g) => typeof g == "string" && g.endsWith(A) && g.split(" ").length === 1,
|
|
1818
1818
|
parse: parseFloat,
|
|
1819
1819
|
transform: (g) => `${g}${A}`
|
|
1820
|
-
}), ZA = /* @__PURE__ */
|
|
1820
|
+
}), ZA = /* @__PURE__ */ Eg("deg"), aA = /* @__PURE__ */ Eg("%"), d = /* @__PURE__ */ Eg("px"), Hw = /* @__PURE__ */ Eg("vh"), Tw = /* @__PURE__ */ Eg("vw"), KM = {
|
|
1821
1821
|
...aA,
|
|
1822
1822
|
parse: (A) => aA.parse(A) / 100,
|
|
1823
1823
|
transform: (A) => aA.transform(A * 100)
|
|
@@ -1879,8 +1879,8 @@ const _A = [
|
|
|
1879
1879
|
perspective: d,
|
|
1880
1880
|
transformPerspective: d,
|
|
1881
1881
|
opacity: ng,
|
|
1882
|
-
originX:
|
|
1883
|
-
originY:
|
|
1882
|
+
originX: KM,
|
|
1883
|
+
originY: KM,
|
|
1884
1884
|
originZ: d
|
|
1885
1885
|
}, RM = {
|
|
1886
1886
|
...Ag,
|
|
@@ -1908,7 +1908,7 @@ function Ww(A, g, B) {
|
|
|
1908
1908
|
continue;
|
|
1909
1909
|
let w = !0;
|
|
1910
1910
|
if (typeof Q == "number" ? w = Q === (e.startsWith("scale") ? 1 : 0) : w = parseFloat(Q) === 0, !w || B) {
|
|
1911
|
-
const C =
|
|
1911
|
+
const C = Ee(Q, gM[e]);
|
|
1912
1912
|
if (!w) {
|
|
1913
1913
|
D = !1;
|
|
1914
1914
|
const s = Nw[e] || e;
|
|
@@ -1927,11 +1927,11 @@ function BM(A, g, B) {
|
|
|
1927
1927
|
if (PA.has(w)) {
|
|
1928
1928
|
e = !0;
|
|
1929
1929
|
continue;
|
|
1930
|
-
} else if (
|
|
1930
|
+
} else if (le(w)) {
|
|
1931
1931
|
D[w] = C;
|
|
1932
1932
|
continue;
|
|
1933
1933
|
} else {
|
|
1934
|
-
const s =
|
|
1934
|
+
const s = Ee(C, gM[w]);
|
|
1935
1935
|
w.startsWith("origin") ? (Q = !0, t[w] = s) : M[w] = s;
|
|
1936
1936
|
}
|
|
1937
1937
|
}
|
|
@@ -2025,12 +2025,12 @@ function Ye(A, g, B, M) {
|
|
|
2025
2025
|
for (const D in g.attrs)
|
|
2026
2026
|
A.setAttribute(ce.has(D) ? D : XB(D), g.attrs[D]);
|
|
2027
2027
|
}
|
|
2028
|
-
const
|
|
2028
|
+
const pg = {};
|
|
2029
2029
|
function BQ(A) {
|
|
2030
|
-
Object.assign(
|
|
2030
|
+
Object.assign(pg, A);
|
|
2031
2031
|
}
|
|
2032
2032
|
function ue(A, { layout: g, layoutId: B }) {
|
|
2033
|
-
return PA.has(A) || A.startsWith("origin") || (g || B !== void 0) && (!!
|
|
2033
|
+
return PA.has(A) || A.startsWith("origin") || (g || B !== void 0) && (!!pg[A] || A === "opacity");
|
|
2034
2034
|
}
|
|
2035
2035
|
function tM(A, g, B) {
|
|
2036
2036
|
var M;
|
|
@@ -2261,14 +2261,14 @@ function zM(A, g) {
|
|
|
2261
2261
|
const CM = (A) => Array.isArray(A) && typeof A[0] == "number", rQ = {
|
|
2262
2262
|
linearEasing: void 0
|
|
2263
2263
|
};
|
|
2264
|
-
function
|
|
2264
|
+
function lQ(A, g) {
|
|
2265
2265
|
const B = /* @__PURE__ */ SB(A);
|
|
2266
2266
|
return () => {
|
|
2267
2267
|
var M;
|
|
2268
2268
|
return (M = rQ[g]) !== null && M !== void 0 ? M : B();
|
|
2269
2269
|
};
|
|
2270
2270
|
}
|
|
2271
|
-
const
|
|
2271
|
+
const Kg = /* @__PURE__ */ lQ(() => {
|
|
2272
2272
|
try {
|
|
2273
2273
|
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
|
|
2274
2274
|
} catch {
|
|
@@ -2283,7 +2283,7 @@ const pg = /* @__PURE__ */ EQ(() => {
|
|
|
2283
2283
|
return `linear(${M.substring(0, M.length - 2)})`;
|
|
2284
2284
|
};
|
|
2285
2285
|
function fe(A) {
|
|
2286
|
-
return !!(typeof A == "function" &&
|
|
2286
|
+
return !!(typeof A == "function" && Kg() || !A || typeof A == "string" && (A in CB || Kg()) || CM(A) || Array.isArray(A) && A.every(fe));
|
|
2287
2287
|
}
|
|
2288
2288
|
const Mg = ([A, g, B, M]) => `cubic-bezier(${A}, ${g}, ${B}, ${M})`, CB = {
|
|
2289
2289
|
linear: "linear",
|
|
@@ -2298,7 +2298,7 @@ const Mg = ([A, g, B, M]) => `cubic-bezier(${A}, ${g}, ${B}, ${M})`, CB = {
|
|
|
2298
2298
|
};
|
|
2299
2299
|
function de(A, g) {
|
|
2300
2300
|
if (A)
|
|
2301
|
-
return typeof A == "function" &&
|
|
2301
|
+
return typeof A == "function" && Kg() ? Ve(A, g) : CM(A) ? Mg(A) : Array.isArray(A) ? A.map((B) => de(B, g) || CB.easeOut) : CB[A];
|
|
2302
2302
|
}
|
|
2303
2303
|
const oA = {
|
|
2304
2304
|
x: !1,
|
|
@@ -2318,7 +2318,7 @@ function ke(A, g, B) {
|
|
|
2318
2318
|
}
|
|
2319
2319
|
return Array.from(A);
|
|
2320
2320
|
}
|
|
2321
|
-
function
|
|
2321
|
+
function pe(A, g) {
|
|
2322
2322
|
const B = ke(A), M = new AbortController(), D = {
|
|
2323
2323
|
passive: !0,
|
|
2324
2324
|
...g,
|
|
@@ -2329,8 +2329,8 @@ function Ke(A, g) {
|
|
|
2329
2329
|
function vM(A) {
|
|
2330
2330
|
return !(A.pointerType === "touch" || qe());
|
|
2331
2331
|
}
|
|
2332
|
-
function
|
|
2333
|
-
const [M, D, t] =
|
|
2332
|
+
function EQ(A, g, B = {}) {
|
|
2333
|
+
const [M, D, t] = pe(A, B), e = (Q) => {
|
|
2334
2334
|
if (!vM(Q))
|
|
2335
2335
|
return;
|
|
2336
2336
|
const { target: w } = Q, C = g(w, Q);
|
|
@@ -2345,7 +2345,7 @@ function lQ(A, g, B = {}) {
|
|
|
2345
2345
|
Q.addEventListener("pointerenter", e, D);
|
|
2346
2346
|
}), t;
|
|
2347
2347
|
}
|
|
2348
|
-
const
|
|
2348
|
+
const Ke = (A, g) => g ? A === g ? !0 : Ke(A, g.parentElement) : !1, iM = (A) => A.pointerType === "mouse" ? typeof A.button != "number" || A.button <= 0 : A.isPrimary !== !1, aQ = /* @__PURE__ */ new Set([
|
|
2349
2349
|
"BUTTON",
|
|
2350
2350
|
"INPUT",
|
|
2351
2351
|
"SELECT",
|
|
@@ -2383,7 +2383,7 @@ function LM(A) {
|
|
|
2383
2383
|
return iM(A) && !qe();
|
|
2384
2384
|
}
|
|
2385
2385
|
function YQ(A, g, B = {}) {
|
|
2386
|
-
const [M, D, t] =
|
|
2386
|
+
const [M, D, t] = pe(A, B), e = (Q) => {
|
|
2387
2387
|
const w = Q.currentTarget;
|
|
2388
2388
|
if (!LM(Q) || Dg.has(w))
|
|
2389
2389
|
return;
|
|
@@ -2391,7 +2391,7 @@ function YQ(A, g, B = {}) {
|
|
|
2391
2391
|
const C = g(w, Q), s = (I, r) => {
|
|
2392
2392
|
window.removeEventListener("pointerup", o), window.removeEventListener("pointercancel", n), !(!LM(I) || !Dg.has(w)) && (Dg.delete(w), typeof C == "function" && C(I, { success: r }));
|
|
2393
2393
|
}, o = (I) => {
|
|
2394
|
-
s(I, B.useGlobalTarget ||
|
|
2394
|
+
s(I, B.useGlobalTarget || Ke(w, I.target));
|
|
2395
2395
|
}, n = (I) => {
|
|
2396
2396
|
s(I, !1);
|
|
2397
2397
|
};
|
|
@@ -2697,18 +2697,18 @@ function ag(A, g, B, M) {
|
|
|
2697
2697
|
const D = (t) => qQ(t, 0, 1, A, B);
|
|
2698
2698
|
return (t) => t === 0 || t === 1 ? t : ze(D(t), g, M);
|
|
2699
2699
|
}
|
|
2700
|
-
const ve = (A) => (g) => g <= 0.5 ? A(2 * g) / 2 : (2 - A(2 * (1 - g))) / 2, Pe = (A) => (g) => 1 - A(1 - g), Le = /* @__PURE__ */ ag(0.33, 1.53, 0.69, 0.99), rM = /* @__PURE__ */ Pe(Le), Fe = /* @__PURE__ */ ve(rM), be = (A) => (A *= 2) < 1 ? 0.5 * rM(A) : 0.5 * (2 - Math.pow(2, -10 * (A - 1))),
|
|
2700
|
+
const ve = (A) => (g) => g <= 0.5 ? A(2 * g) / 2 : (2 - A(2 * (1 - g))) / 2, Pe = (A) => (g) => 1 - A(1 - g), Le = /* @__PURE__ */ ag(0.33, 1.53, 0.69, 0.99), rM = /* @__PURE__ */ Pe(Le), Fe = /* @__PURE__ */ ve(rM), be = (A) => (A *= 2) < 1 ? 0.5 * rM(A) : 0.5 * (2 - Math.pow(2, -10 * (A - 1))), lM = (A) => 1 - Math.sin(Math.acos(A)), Oe = Pe(lM), je = ve(lM), He = (A) => /^0[^.\s]+$/u.test(A);
|
|
2701
2701
|
function kQ(A) {
|
|
2702
2702
|
return typeof A == "number" ? A === 0 : A !== null ? A === "none" || A === "0" || He(A) : !0;
|
|
2703
2703
|
}
|
|
2704
|
-
const wg = (A) => Math.round(A * 1e5) / 1e5,
|
|
2705
|
-
function
|
|
2704
|
+
const wg = (A) => Math.round(A * 1e5) / 1e5, EM = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
2705
|
+
function pQ(A) {
|
|
2706
2706
|
return A == null;
|
|
2707
2707
|
}
|
|
2708
|
-
const
|
|
2708
|
+
const KQ = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, aM = (A, g) => (B) => !!(typeof B == "string" && KQ.test(B) && B.startsWith(A) || g && !pQ(B) && Object.prototype.hasOwnProperty.call(B, g)), Te = (A, g, B) => (M) => {
|
|
2709
2709
|
if (typeof M != "string")
|
|
2710
2710
|
return M;
|
|
2711
|
-
const [D, t, e, Q] = M.match(
|
|
2711
|
+
const [D, t, e, Q] = M.match(EM);
|
|
2712
2712
|
return {
|
|
2713
2713
|
[A]: parseFloat(D),
|
|
2714
2714
|
[g]: parseFloat(t),
|
|
@@ -2747,7 +2747,7 @@ const sB = {
|
|
|
2747
2747
|
}, JQ = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
|
|
2748
2748
|
function zQ(A) {
|
|
2749
2749
|
var g, B;
|
|
2750
|
-
return isNaN(A) && typeof A == "string" && (((g = A.match(
|
|
2750
|
+
return isNaN(A) && typeof A == "string" && (((g = A.match(EM)) === null || g === void 0 ? void 0 : g.length) || 0) + (((B = A.match(JQ)) === null || B === void 0 ? void 0 : B.length) || 0) > 0;
|
|
2751
2751
|
}
|
|
2752
2752
|
const Se = "number", xe = "color", vQ = "var", PQ = "var(", bM = "${}", LQ = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
|
2753
2753
|
function rg(A) {
|
|
@@ -2790,7 +2790,7 @@ function jQ(A) {
|
|
|
2790
2790
|
const [g, B] = A.slice(0, -1).split("(");
|
|
2791
2791
|
if (g === "drop-shadow")
|
|
2792
2792
|
return A;
|
|
2793
|
-
const [M] = B.match(
|
|
2793
|
+
const [M] = B.match(EM) || [];
|
|
2794
2794
|
if (!M)
|
|
2795
2795
|
return A;
|
|
2796
2796
|
const D = B.replace(M, "");
|
|
@@ -3204,9 +3204,9 @@ const rC = (A, g) => {
|
|
|
3204
3204
|
function wt(A, g, B) {
|
|
3205
3205
|
return typeof A == "number" && typeof g == "number" && typeof B == "number" ? O(A, g, B) : YM(A)(A, g);
|
|
3206
3206
|
}
|
|
3207
|
-
const
|
|
3207
|
+
const lC = 5;
|
|
3208
3208
|
function Qt(A, g, B) {
|
|
3209
|
-
const M = Math.max(g -
|
|
3209
|
+
const M = Math.max(g - lC, 0);
|
|
3210
3210
|
return he(B - A(M), g - M);
|
|
3211
3211
|
}
|
|
3212
3212
|
const b = {
|
|
@@ -3238,16 +3238,16 @@ const b = {
|
|
|
3238
3238
|
minDamping: 0.05,
|
|
3239
3239
|
maxDamping: 1
|
|
3240
3240
|
}, XM = 1e-3;
|
|
3241
|
-
function
|
|
3241
|
+
function EC({ duration: A = b.duration, bounce: g = b.bounce, velocity: B = b.velocity, mass: M = b.mass }) {
|
|
3242
3242
|
let D, t;
|
|
3243
|
-
$A(A <= /* @__PURE__ */
|
|
3243
|
+
$A(A <= /* @__PURE__ */ EA(b.maxDuration), "Spring duration must be 10 seconds or less");
|
|
3244
3244
|
let e = 1 - g;
|
|
3245
3245
|
e = UA(b.minDamping, b.maxDamping, e), A = UA(b.minDuration, b.maxDuration, /* @__PURE__ */ yA(A)), e < 1 ? (D = (C) => {
|
|
3246
|
-
const s = C * e, o = s * A, n = s - B, I =
|
|
3246
|
+
const s = C * e, o = s * A, n = s - B, I = lB(C, e), r = Math.exp(-o);
|
|
3247
3247
|
return XM - n / I * r;
|
|
3248
3248
|
}, t = (C) => {
|
|
3249
|
-
const o = C * e * A, n = o * B + B, I = Math.pow(e, 2) * Math.pow(C, 2) * A, r = Math.exp(-o),
|
|
3250
|
-
return (-D(C) + XM > 0 ? -1 : 1) * ((n - I) * r) /
|
|
3249
|
+
const o = C * e * A, n = o * B + B, I = Math.pow(e, 2) * Math.pow(C, 2) * A, r = Math.exp(-o), l = lB(Math.pow(C, 2), e);
|
|
3250
|
+
return (-D(C) + XM > 0 ? -1 : 1) * ((n - I) * r) / l;
|
|
3251
3251
|
}) : (D = (C) => {
|
|
3252
3252
|
const s = Math.exp(-C * A), o = (C - B) * A + 1;
|
|
3253
3253
|
return -1e-3 + s * o;
|
|
@@ -3256,7 +3256,7 @@ function lC({ duration: A = b.duration, bounce: g = b.bounce, velocity: B = b.ve
|
|
|
3256
3256
|
return s * o;
|
|
3257
3257
|
});
|
|
3258
3258
|
const Q = 5 / A, w = GC(D, t, Q);
|
|
3259
|
-
if (A = /* @__PURE__ */
|
|
3259
|
+
if (A = /* @__PURE__ */ EA(A), isNaN(w))
|
|
3260
3260
|
return {
|
|
3261
3261
|
stiffness: b.stiffness,
|
|
3262
3262
|
damping: b.damping,
|
|
@@ -3278,7 +3278,7 @@ function GC(A, g, B) {
|
|
|
3278
3278
|
M = M - A(M) / g(M);
|
|
3279
3279
|
return M;
|
|
3280
3280
|
}
|
|
3281
|
-
function
|
|
3281
|
+
function lB(A, g) {
|
|
3282
3282
|
return A * Math.sqrt(1 - g * g);
|
|
3283
3283
|
}
|
|
3284
3284
|
const cC = ["duration", "bounce"], YC = ["stiffness", "damping", "mass"];
|
|
@@ -3304,7 +3304,7 @@ function uC(A) {
|
|
|
3304
3304
|
damping: t
|
|
3305
3305
|
};
|
|
3306
3306
|
} else {
|
|
3307
|
-
const B =
|
|
3307
|
+
const B = EC(A);
|
|
3308
3308
|
g = {
|
|
3309
3309
|
...g,
|
|
3310
3310
|
...B,
|
|
@@ -3323,22 +3323,22 @@ function Ct(A = b.visualDuration, g = b.bounce) {
|
|
|
3323
3323
|
const t = B.keyframes[0], e = B.keyframes[B.keyframes.length - 1], Q = { done: !1, value: t }, { stiffness: w, damping: C, mass: s, duration: o, velocity: n, isResolvedFromDuration: I } = uC({
|
|
3324
3324
|
...B,
|
|
3325
3325
|
velocity: -/* @__PURE__ */ yA(B.velocity || 0)
|
|
3326
|
-
}), r = n || 0,
|
|
3326
|
+
}), r = n || 0, l = C / (2 * Math.sqrt(w * s)), E = e - t, a = /* @__PURE__ */ yA(Math.sqrt(w / s)), G = Math.abs(E) < 5;
|
|
3327
3327
|
M || (M = G ? b.restSpeed.granular : b.restSpeed.default), D || (D = G ? b.restDelta.granular : b.restDelta.default);
|
|
3328
3328
|
let Y;
|
|
3329
|
-
if (
|
|
3330
|
-
const c =
|
|
3329
|
+
if (l < 1) {
|
|
3330
|
+
const c = lB(a, l);
|
|
3331
3331
|
Y = (V) => {
|
|
3332
|
-
const Z = Math.exp(-
|
|
3333
|
-
return e - Z * ((r +
|
|
3332
|
+
const Z = Math.exp(-l * a * V);
|
|
3333
|
+
return e - Z * ((r + l * a * E) / c * Math.sin(c * V) + E * Math.cos(c * V));
|
|
3334
3334
|
};
|
|
3335
|
-
} else if (
|
|
3336
|
-
Y = (c) => e - Math.exp(-a * c) * (
|
|
3335
|
+
} else if (l === 1)
|
|
3336
|
+
Y = (c) => e - Math.exp(-a * c) * (E + (r + a * E) * c);
|
|
3337
3337
|
else {
|
|
3338
|
-
const c = a * Math.sqrt(
|
|
3338
|
+
const c = a * Math.sqrt(l * l - 1);
|
|
3339
3339
|
Y = (V) => {
|
|
3340
|
-
const Z = Math.exp(-
|
|
3341
|
-
return e - Z * ((r +
|
|
3340
|
+
const Z = Math.exp(-l * a * V), U = Math.min(c * V, 300);
|
|
3341
|
+
return e - Z * ((r + l * a * E) * Math.sinh(U) + c * E * Math.cosh(U)) / c;
|
|
3342
3342
|
};
|
|
3343
3343
|
}
|
|
3344
3344
|
const k = {
|
|
@@ -3349,7 +3349,7 @@ function Ct(A = b.visualDuration, g = b.bounce) {
|
|
|
3349
3349
|
Q.done = c >= o;
|
|
3350
3350
|
else {
|
|
3351
3351
|
let Z = 0;
|
|
3352
|
-
|
|
3352
|
+
l < 1 && (Z = c === 0 ? /* @__PURE__ */ EA(r) : Qt(Y, c, V));
|
|
3353
3353
|
const U = Math.abs(Z) <= M, u = Math.abs(e - V) <= D;
|
|
3354
3354
|
Q.done = U && u;
|
|
3355
3355
|
}
|
|
@@ -3367,10 +3367,10 @@ function $M({ keyframes: A, velocity: g = 0, power: B = 0.8, timeConstant: M = 3
|
|
|
3367
3367
|
done: !1,
|
|
3368
3368
|
value: o
|
|
3369
3369
|
}, I = (U) => Q !== void 0 && U < Q || w !== void 0 && U > w, r = (U) => Q === void 0 ? w : w === void 0 || Math.abs(Q - U) < Math.abs(w - U) ? Q : w;
|
|
3370
|
-
let
|
|
3371
|
-
const
|
|
3372
|
-
a !==
|
|
3373
|
-
const G = (U) => -
|
|
3370
|
+
let l = B * g;
|
|
3371
|
+
const E = o + l, a = e === void 0 ? E : e(E);
|
|
3372
|
+
a !== E && (l = a - o);
|
|
3373
|
+
const G = (U) => -l * Math.exp(-U / M), Y = (U) => a + G(U), k = (U) => {
|
|
3374
3374
|
const u = G(U), f = Y(U);
|
|
3375
3375
|
n.done = Math.abs(u) <= C, n.value = n.done ? a : f;
|
|
3376
3376
|
};
|
|
@@ -3399,7 +3399,7 @@ const mC = /* @__PURE__ */ ag(0.42, 0, 1, 1), yC = /* @__PURE__ */ ag(0, 0, 0.58
|
|
|
3399
3399
|
easeIn: mC,
|
|
3400
3400
|
easeInOut: it,
|
|
3401
3401
|
easeOut: yC,
|
|
3402
|
-
circIn:
|
|
3402
|
+
circIn: lM,
|
|
3403
3403
|
circInOut: je,
|
|
3404
3404
|
circOut: Oe,
|
|
3405
3405
|
backIn: rM,
|
|
@@ -3481,7 +3481,7 @@ function hg({ duration: A = 300, keyframes: g, times: B, ease: M = "easeInOut" }
|
|
|
3481
3481
|
next: (w) => (t.value = Q(w), t.done = w >= A, t)
|
|
3482
3482
|
};
|
|
3483
3483
|
}
|
|
3484
|
-
const
|
|
3484
|
+
const pC = (A) => {
|
|
3485
3485
|
const g = ({ timestamp: B }) => A(B);
|
|
3486
3486
|
return {
|
|
3487
3487
|
start: () => v.update(g, !0),
|
|
@@ -3492,7 +3492,7 @@ const KC = (A) => {
|
|
|
3492
3492
|
*/
|
|
3493
3493
|
now: () => S.isProcessing ? S.timestamp : GA.now()
|
|
3494
3494
|
};
|
|
3495
|
-
},
|
|
3495
|
+
}, KC = {
|
|
3496
3496
|
decay: $M,
|
|
3497
3497
|
inertia: $M,
|
|
3498
3498
|
tween: hg,
|
|
@@ -3515,7 +3515,7 @@ class uM extends et {
|
|
|
3515
3515
|
super.flatten(), this._resolved && Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));
|
|
3516
3516
|
}
|
|
3517
3517
|
initPlayback(g) {
|
|
3518
|
-
const { type: B = "keyframes", repeat: M = 0, repeatDelay: D = 0, repeatType: t, velocity: e = 0 } = this.options, Q = QM(B) ? B :
|
|
3518
|
+
const { type: B = "keyframes", repeat: M = 0, repeatDelay: D = 0, repeatType: t, velocity: e = 0 } = this.options, Q = QM(B) ? B : KC[B] || hg;
|
|
3519
3519
|
let w, C;
|
|
3520
3520
|
Q !== hg && typeof g[0] != "number" && (process.env.NODE_ENV !== "production" && cA(g.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${g}`), w = Gg(RC, wt(g[0], g[1])), g = [0, 100]);
|
|
3521
3521
|
const s = Q({ ...this.options, keyframes: g });
|
|
@@ -3547,7 +3547,7 @@ class uM extends et {
|
|
|
3547
3547
|
const { finalKeyframe: D, generator: t, mirroredGenerator: e, mapPercentToKeyframes: Q, keyframes: w, calculatedDuration: C, totalDuration: s, resolvedDuration: o } = M;
|
|
3548
3548
|
if (this.startTime === null)
|
|
3549
3549
|
return t.next(0);
|
|
3550
|
-
const { delay: n, repeat: I, repeatType: r, repeatDelay:
|
|
3550
|
+
const { delay: n, repeat: I, repeatType: r, repeatDelay: l, onUpdate: E } = this.options;
|
|
3551
3551
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, g) : this.speed < 0 && (this.startTime = Math.min(g - s / this.speed, this.startTime)), B ? this.currentTime = g : this.holdTime !== null ? this.currentTime = this.holdTime : this.currentTime = Math.round(g - this.startTime) * this.speed;
|
|
3552
3552
|
const a = this.currentTime - n * (this.speed >= 0 ? 1 : -1), G = this.speed >= 0 ? a < 0 : a > s;
|
|
3553
3553
|
this.currentTime = Math.max(a, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = s);
|
|
@@ -3555,14 +3555,14 @@ class uM extends et {
|
|
|
3555
3555
|
if (I) {
|
|
3556
3556
|
const U = Math.min(this.currentTime, s) / o;
|
|
3557
3557
|
let u = Math.floor(U), f = U % 1;
|
|
3558
|
-
!f && U >= 1 && (f = 1), f === 1 && u--, u = Math.min(u, I + 1), !!(u % 2) && (r === "reverse" ? (f = 1 - f,
|
|
3558
|
+
!f && U >= 1 && (f = 1), f === 1 && u--, u = Math.min(u, I + 1), !!(u % 2) && (r === "reverse" ? (f = 1 - f, l && (f -= l / o)) : r === "mirror" && (k = e)), Y = UA(0, 1, f) * o;
|
|
3559
3559
|
}
|
|
3560
3560
|
const c = G ? { done: !1, value: w[0] } : k.next(Y);
|
|
3561
3561
|
Q && (c.value = Q(c.value));
|
|
3562
3562
|
let { done: V } = c;
|
|
3563
3563
|
!G && C !== null && (V = this.speed >= 0 ? this.currentTime >= s : this.currentTime <= 0);
|
|
3564
3564
|
const Z = this.holdTime === null && (this.state === "finished" || this.state === "running" && V);
|
|
3565
|
-
return Z && D !== void 0 && (c.value = Sg(w, this.options, D)),
|
|
3565
|
+
return Z && D !== void 0 && (c.value = Sg(w, this.options, D)), E && E(c.value), Z && this.finish(), c;
|
|
3566
3566
|
}
|
|
3567
3567
|
get duration() {
|
|
3568
3568
|
const { resolved: g } = this;
|
|
@@ -3572,7 +3572,7 @@ class uM extends et {
|
|
|
3572
3572
|
return /* @__PURE__ */ yA(this.currentTime);
|
|
3573
3573
|
}
|
|
3574
3574
|
set time(g) {
|
|
3575
|
-
g = /* @__PURE__ */
|
|
3575
|
+
g = /* @__PURE__ */ EA(g), this.currentTime = g, this.holdTime !== null || this.speed === 0 ? this.holdTime = g : this.driver && (this.startTime = this.driver.now() - g / this.speed);
|
|
3576
3576
|
}
|
|
3577
3577
|
get speed() {
|
|
3578
3578
|
return this.playbackSpeed;
|
|
@@ -3588,7 +3588,7 @@ class uM extends et {
|
|
|
3588
3588
|
}
|
|
3589
3589
|
if (this.isStopped)
|
|
3590
3590
|
return;
|
|
3591
|
-
const { driver: g =
|
|
3591
|
+
const { driver: g = pC, onPlay: B, startTime: M } = this.options;
|
|
3592
3592
|
this.driver || (this.driver = g((t) => this.tick(t))), B && B();
|
|
3593
3593
|
const D = this.driver.now();
|
|
3594
3594
|
this.holdTime !== null ? this.startTime = D - this.holdTime : this.startTime ? this.state === "finished" && (this.startTime = D) : this.startTime = M ?? this.calcStartTime(), this.state === "finished" && this.updateFinishedPromise(), this.cancelTime = this.startTime, this.holdTime = null, this.state = "running", this.driver.start();
|
|
@@ -3686,9 +3686,9 @@ class gD extends et {
|
|
|
3686
3686
|
let { duration: M = 300, times: D, ease: t, type: e, motionValue: Q, name: w, startTime: C } = this.options;
|
|
3687
3687
|
if (!Q.owner || !Q.owner.current)
|
|
3688
3688
|
return !1;
|
|
3689
|
-
if (typeof t == "string" &&
|
|
3690
|
-
const { onComplete: o, onUpdate: n, motionValue: I, element: r, ...
|
|
3691
|
-
g =
|
|
3689
|
+
if (typeof t == "string" && Kg() && FC(t) && (t = st[t]), PC(this.options)) {
|
|
3690
|
+
const { onComplete: o, onUpdate: n, motionValue: I, element: r, ...l } = this.options, E = LC(g, l);
|
|
3691
|
+
g = E.keyframes, g.length === 1 && (g[1] = g[0]), M = E.duration, D = E.times, t = E.ease, e = "keyframes";
|
|
3692
3692
|
}
|
|
3693
3693
|
const s = JC(Q.owner.current, w, g, { ...this.options, duration: M, times: D, ease: t });
|
|
3694
3694
|
return s.startTime = C ?? this.calcStartTime(), this.pendingTimeline ? (zM(s, this.pendingTimeline), this.pendingTimeline = void 0) : s.onfinish = () => {
|
|
@@ -3722,7 +3722,7 @@ class gD extends et {
|
|
|
3722
3722
|
if (!B)
|
|
3723
3723
|
return;
|
|
3724
3724
|
const { animation: M } = B;
|
|
3725
|
-
M.currentTime = /* @__PURE__ */
|
|
3725
|
+
M.currentTime = /* @__PURE__ */ EA(g);
|
|
3726
3726
|
}
|
|
3727
3727
|
get speed() {
|
|
3728
3728
|
const { resolved: g } = this;
|
|
@@ -3803,8 +3803,8 @@ class gD extends et {
|
|
|
3803
3803
|
ease: e,
|
|
3804
3804
|
times: Q,
|
|
3805
3805
|
isGenerator: !0
|
|
3806
|
-
}),
|
|
3807
|
-
C.setWithVelocity(r.sample(
|
|
3806
|
+
}), l = /* @__PURE__ */ EA(this.time);
|
|
3807
|
+
C.setWithVelocity(r.sample(l - Jg).value, r.sample(l).value, Jg);
|
|
3808
3808
|
}
|
|
3809
3809
|
const { onStop: w } = this.options;
|
|
3810
3810
|
w && w(), this.cancel();
|
|
@@ -3853,7 +3853,7 @@ function SC({ when: A, delay: g, delayChildren: B, staggerChildren: M, staggerDi
|
|
|
3853
3853
|
const mM = (A, g, B, M = {}, D, t) => (e) => {
|
|
3854
3854
|
const Q = wM(M, A) || {}, w = Q.delay || M.delay || 0;
|
|
3855
3855
|
let { elapsed: C = 0 } = M;
|
|
3856
|
-
C = C - /* @__PURE__ */
|
|
3856
|
+
C = C - /* @__PURE__ */ EA(w);
|
|
3857
3857
|
let s = {
|
|
3858
3858
|
keyframes: Array.isArray(B) ? B : [null, B],
|
|
3859
3859
|
ease: "easeOut",
|
|
@@ -3873,7 +3873,7 @@ const mM = (A, g, B, M = {}, D, t) => (e) => {
|
|
|
3873
3873
|
SC(Q) || (s = {
|
|
3874
3874
|
...s,
|
|
3875
3875
|
...TC(A, s)
|
|
3876
|
-
}), s.duration && (s.duration = /* @__PURE__ */
|
|
3876
|
+
}), s.duration && (s.duration = /* @__PURE__ */ EA(s.duration)), s.repeatDelay && (s.repeatDelay = /* @__PURE__ */ EA(s.repeatDelay)), s.from !== void 0 && (s.keyframes[0] = s.from);
|
|
3877
3877
|
let o = !1;
|
|
3878
3878
|
if ((s.type === !1 || s.duration === 0 && !s.repeatDelay) && (s.duration = 0, s.delay === 0 && (o = !0)), o && !t && g.get() !== void 0) {
|
|
3879
3879
|
const n = Sg(s.keyframes, Q);
|
|
@@ -3901,17 +3901,17 @@ function ot(A, g, { delay: B = 0, transitionOverride: M, type: D } = {}) {
|
|
|
3901
3901
|
delay: B,
|
|
3902
3902
|
...wM(e || {}, o)
|
|
3903
3903
|
};
|
|
3904
|
-
let
|
|
3904
|
+
let l = !1;
|
|
3905
3905
|
if (window.MotionHandoffAnimation) {
|
|
3906
3906
|
const a = Je(A);
|
|
3907
3907
|
if (a) {
|
|
3908
3908
|
const G = window.MotionHandoffAnimation(a, o, v);
|
|
3909
|
-
G !== null && (r.startTime = G,
|
|
3909
|
+
G !== null && (r.startTime = G, l = !0);
|
|
3910
3910
|
}
|
|
3911
3911
|
}
|
|
3912
|
-
iB(A, o), n.start(mM(o, n, I, A.shouldReduceMotion && Re.has(o) ? { type: !1 } : r, A,
|
|
3913
|
-
const
|
|
3914
|
-
|
|
3912
|
+
iB(A, o), n.start(mM(o, n, I, A.shouldReduceMotion && Re.has(o) ? { type: !1 } : r, A, l));
|
|
3913
|
+
const E = n.animation;
|
|
3914
|
+
E && C.push(E);
|
|
3915
3915
|
}
|
|
3916
3916
|
return Q && Promise.all(C).then(() => {
|
|
3917
3917
|
v.update(() => {
|
|
@@ -3919,7 +3919,7 @@ function ot(A, g, { delay: B = 0, transitionOverride: M, type: D } = {}) {
|
|
|
3919
3919
|
});
|
|
3920
3920
|
}), C;
|
|
3921
3921
|
}
|
|
3922
|
-
function
|
|
3922
|
+
function EB(A, g, B = {}) {
|
|
3923
3923
|
var M;
|
|
3924
3924
|
const D = Tg(A, g, B.type === "exit" ? (M = A.presenceContext) === null || M === void 0 ? void 0 : M.custom : void 0);
|
|
3925
3925
|
let { transition: t = A.getDefaultTransition() || {} } = D || {};
|
|
@@ -3937,7 +3937,7 @@ function lB(A, g, B = {}) {
|
|
|
3937
3937
|
function NC(A, g, B = 0, M = 0, D = 1, t) {
|
|
3938
3938
|
const e = [], Q = (A.variantChildren.size - 1) * M, w = D === 1 ? (C = 0) => C * M : (C = 0) => Q - C * M;
|
|
3939
3939
|
return Array.from(A.variantChildren).sort(XC).forEach((C, s) => {
|
|
3940
|
-
C.notify("AnimationStart", g), e.push(
|
|
3940
|
+
C.notify("AnimationStart", g), e.push(EB(C, g, {
|
|
3941
3941
|
...t,
|
|
3942
3942
|
delay: B + w(s)
|
|
3943
3943
|
}).then(() => C.notify("AnimationComplete", g)));
|
|
@@ -3950,10 +3950,10 @@ function nt(A, g, B = {}) {
|
|
|
3950
3950
|
A.notify("AnimationStart", g);
|
|
3951
3951
|
let M;
|
|
3952
3952
|
if (Array.isArray(g)) {
|
|
3953
|
-
const D = g.map((t) =>
|
|
3953
|
+
const D = g.map((t) => EB(A, t, B));
|
|
3954
3954
|
M = Promise.all(D);
|
|
3955
3955
|
} else if (typeof g == "string")
|
|
3956
|
-
M =
|
|
3956
|
+
M = EB(A, g, B);
|
|
3957
3957
|
else {
|
|
3958
3958
|
const D = typeof g == "function" ? Tg(A, g, B.custom) : g;
|
|
3959
3959
|
M = Promise.all(ot(A, D, B));
|
|
@@ -3987,8 +3987,8 @@ function gi(A) {
|
|
|
3987
3987
|
var o;
|
|
3988
3988
|
const n = Tg(A, s, w === "exit" ? (o = A.presenceContext) === null || o === void 0 ? void 0 : o.custom : void 0);
|
|
3989
3989
|
if (n) {
|
|
3990
|
-
const { transition: I, transitionEnd: r, ...
|
|
3991
|
-
C = { ...C, ...
|
|
3990
|
+
const { transition: I, transitionEnd: r, ...l } = n;
|
|
3991
|
+
C = { ...C, ...l, ...r };
|
|
3992
3992
|
}
|
|
3993
3993
|
return C;
|
|
3994
3994
|
};
|
|
@@ -3998,9 +3998,9 @@ function gi(A) {
|
|
|
3998
3998
|
function e(w) {
|
|
3999
3999
|
const { props: C } = A, s = It(A.parent) || {}, o = [], n = /* @__PURE__ */ new Set();
|
|
4000
4000
|
let I = {}, r = 1 / 0;
|
|
4001
|
-
for (let
|
|
4002
|
-
const a = $C[
|
|
4003
|
-
c === !1 && (r =
|
|
4001
|
+
for (let E = 0; E < _C; E++) {
|
|
4002
|
+
const a = $C[E], G = B[a], Y = C[a] !== void 0 ? C[a] : s[a], k = og(Y), c = a === w ? G.isActive : null;
|
|
4003
|
+
c === !1 && (r = E);
|
|
4004
4004
|
let V = Y === s[a] && Y !== C[a] && k;
|
|
4005
4005
|
if (V && M && A.manuallyAnimateOnMount && (V = !1), G.protectedKeys = { ...I }, // If it isn't active and hasn't *just* been set as inactive
|
|
4006
4006
|
!G.isActive && c === null || // If we didn't and don't have any defined prop for this animation type
|
|
@@ -4010,39 +4010,39 @@ function gi(A) {
|
|
|
4010
4010
|
const Z = Bi(G.prevProp, Y);
|
|
4011
4011
|
let U = Z || // If we're making this variant active, we want to always make it active
|
|
4012
4012
|
a === w && G.isActive && !V && k || // If we removed a higher-priority variant (i is in reverse order)
|
|
4013
|
-
|
|
4013
|
+
E > r && k, u = !1;
|
|
4014
4014
|
const f = Array.isArray(Y) ? Y : [Y];
|
|
4015
4015
|
let P = f.reduce(D(a), {});
|
|
4016
4016
|
c === !1 && (P = {});
|
|
4017
4017
|
const { prevResolvedValues: _ = {} } = G, IA = {
|
|
4018
4018
|
..._,
|
|
4019
4019
|
...P
|
|
4020
|
-
}, rA = (
|
|
4021
|
-
U = !0, n.has(
|
|
4022
|
-
const
|
|
4023
|
-
|
|
4020
|
+
}, rA = (L) => {
|
|
4021
|
+
U = !0, n.has(L) && (u = !0, n.delete(L)), G.needsAnimating[L] = !0;
|
|
4022
|
+
const p = A.getValue(L);
|
|
4023
|
+
p && (p.liveStyle = !1);
|
|
4024
4024
|
};
|
|
4025
|
-
for (const
|
|
4026
|
-
const
|
|
4027
|
-
if (I.hasOwnProperty(
|
|
4025
|
+
for (const L in IA) {
|
|
4026
|
+
const p = P[L], R = _[L];
|
|
4027
|
+
if (I.hasOwnProperty(L))
|
|
4028
4028
|
continue;
|
|
4029
|
-
let
|
|
4030
|
-
wB(
|
|
4029
|
+
let F = !1;
|
|
4030
|
+
wB(p) && wB(R) ? F = !Ue(p, R) : F = p !== R, F ? p != null ? rA(L) : n.add(L) : p !== void 0 && n.has(L) ? rA(L) : G.protectedKeys[L] = !0;
|
|
4031
4031
|
}
|
|
4032
|
-
G.prevProp = Y, G.prevResolvedValues = P, G.isActive && (I = { ...I, ...P }), M && A.blockInitialAnimation && (U = !1), U && (!(V && Z) || u) && o.push(...f.map((
|
|
4033
|
-
animation:
|
|
4032
|
+
G.prevProp = Y, G.prevResolvedValues = P, G.isActive && (I = { ...I, ...P }), M && A.blockInitialAnimation && (U = !1), U && (!(V && Z) || u) && o.push(...f.map((L) => ({
|
|
4033
|
+
animation: L,
|
|
4034
4034
|
options: { type: a }
|
|
4035
4035
|
})));
|
|
4036
4036
|
}
|
|
4037
4037
|
if (n.size) {
|
|
4038
|
-
const
|
|
4038
|
+
const E = {};
|
|
4039
4039
|
n.forEach((a) => {
|
|
4040
4040
|
const G = A.getBaseTarget(a), Y = A.getValue(a);
|
|
4041
|
-
Y && (Y.liveStyle = !0),
|
|
4042
|
-
}), o.push({ animation:
|
|
4041
|
+
Y && (Y.liveStyle = !0), E[a] = G ?? null;
|
|
4042
|
+
}), o.push({ animation: E });
|
|
4043
4043
|
}
|
|
4044
|
-
let
|
|
4045
|
-
return M && (C.initial === !1 || C.initial === C.animate) && !A.manuallyAnimateOnMount && (
|
|
4044
|
+
let l = !!o.length;
|
|
4045
|
+
return M && (C.initial === !1 || C.initial === C.animate) && !A.manuallyAnimateOnMount && (l = !1), M = !1, l ? g(o) : Promise.resolve();
|
|
4046
4046
|
}
|
|
4047
4047
|
function Q(w, C) {
|
|
4048
4048
|
var s;
|
|
@@ -4070,7 +4070,7 @@ function gi(A) {
|
|
|
4070
4070
|
function Bi(A, g) {
|
|
4071
4071
|
return typeof g == "string" ? g !== A : Array.isArray(g) ? !Ue(g, A) : !1;
|
|
4072
4072
|
}
|
|
4073
|
-
function
|
|
4073
|
+
function pA(A = !1) {
|
|
4074
4074
|
return {
|
|
4075
4075
|
isActive: A,
|
|
4076
4076
|
protectedKeys: {},
|
|
@@ -4080,13 +4080,13 @@ function KA(A = !1) {
|
|
|
4080
4080
|
}
|
|
4081
4081
|
function BD() {
|
|
4082
4082
|
return {
|
|
4083
|
-
animate:
|
|
4084
|
-
whileInView:
|
|
4085
|
-
whileHover:
|
|
4086
|
-
whileTap:
|
|
4087
|
-
whileDrag:
|
|
4088
|
-
whileFocus:
|
|
4089
|
-
exit:
|
|
4083
|
+
animate: pA(!0),
|
|
4084
|
+
whileInView: pA(),
|
|
4085
|
+
whileHover: pA(),
|
|
4086
|
+
whileTap: pA(),
|
|
4087
|
+
whileDrag: pA(),
|
|
4088
|
+
whileFocus: pA(),
|
|
4089
|
+
exit: pA()
|
|
4090
4090
|
};
|
|
4091
4091
|
}
|
|
4092
4092
|
class dA {
|
|
@@ -4153,7 +4153,7 @@ const ti = {
|
|
|
4153
4153
|
Feature: ei
|
|
4154
4154
|
}
|
|
4155
4155
|
};
|
|
4156
|
-
function
|
|
4156
|
+
function lg(A, g, B, M = { passive: !0 }) {
|
|
4157
4157
|
return A.addEventListener(g, B, M), () => A.removeEventListener(g, B);
|
|
4158
4158
|
}
|
|
4159
4159
|
function cg(A) {
|
|
@@ -4166,7 +4166,7 @@ function cg(A) {
|
|
|
4166
4166
|
}
|
|
4167
4167
|
const wi = (A) => (g) => iM(g) && A(g, cg(g));
|
|
4168
4168
|
function Qg(A, g, B, M) {
|
|
4169
|
-
return
|
|
4169
|
+
return lg(A, g, wi(B), M);
|
|
4170
4170
|
}
|
|
4171
4171
|
const MD = (A, g) => Math.abs(A - g);
|
|
4172
4172
|
function Qi(A, g) {
|
|
@@ -4181,19 +4181,19 @@ class rt {
|
|
|
4181
4181
|
const o = gB(this.lastMoveEventInfo, this.history), n = this.startEvent !== null, I = Qi(o.offset, { x: 0, y: 0 }) >= 3;
|
|
4182
4182
|
if (!n && !I)
|
|
4183
4183
|
return;
|
|
4184
|
-
const { point: r } = o, { timestamp:
|
|
4185
|
-
this.history.push({ ...r, timestamp:
|
|
4186
|
-
const { onStart:
|
|
4187
|
-
n || (
|
|
4184
|
+
const { point: r } = o, { timestamp: l } = S;
|
|
4185
|
+
this.history.push({ ...r, timestamp: l });
|
|
4186
|
+
const { onStart: E, onMove: a } = this.handlers;
|
|
4187
|
+
n || (E && E(this.lastMoveEvent, o), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, o);
|
|
4188
4188
|
}, this.handlePointerMove = (o, n) => {
|
|
4189
4189
|
this.lastMoveEvent = o, this.lastMoveEventInfo = AB(n, this.transformPagePoint), v.update(this.updatePoint, !0);
|
|
4190
4190
|
}, this.handlePointerUp = (o, n) => {
|
|
4191
4191
|
this.end();
|
|
4192
|
-
const { onEnd: I, onSessionEnd: r, resumeAnimation:
|
|
4193
|
-
if (this.dragSnapToOrigin &&
|
|
4192
|
+
const { onEnd: I, onSessionEnd: r, resumeAnimation: l } = this.handlers;
|
|
4193
|
+
if (this.dragSnapToOrigin && l && l(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
4194
4194
|
return;
|
|
4195
|
-
const
|
|
4196
|
-
this.startEvent && I && I(o,
|
|
4195
|
+
const E = gB(o.type === "pointercancel" ? this.lastMoveEventInfo : AB(n, this.transformPagePoint), this.history);
|
|
4196
|
+
this.startEvent && I && I(o, E), r && r(o, E);
|
|
4197
4197
|
}, !iM(g))
|
|
4198
4198
|
return;
|
|
4199
4199
|
this.dragSnapToOrigin = t, this.handlers = B, this.transformPagePoint = M, this.contextWindow = D || window;
|
|
@@ -4218,7 +4218,7 @@ function DD(A, g) {
|
|
|
4218
4218
|
function gB({ point: A }, g) {
|
|
4219
4219
|
return {
|
|
4220
4220
|
point: A,
|
|
4221
|
-
delta: DD(A,
|
|
4221
|
+
delta: DD(A, lt(g)),
|
|
4222
4222
|
offset: DD(A, Ci(g)),
|
|
4223
4223
|
velocity: ii(g, 0.1)
|
|
4224
4224
|
};
|
|
@@ -4226,15 +4226,15 @@ function gB({ point: A }, g) {
|
|
|
4226
4226
|
function Ci(A) {
|
|
4227
4227
|
return A[0];
|
|
4228
4228
|
}
|
|
4229
|
-
function
|
|
4229
|
+
function lt(A) {
|
|
4230
4230
|
return A[A.length - 1];
|
|
4231
4231
|
}
|
|
4232
4232
|
function ii(A, g) {
|
|
4233
4233
|
if (A.length < 2)
|
|
4234
4234
|
return { x: 0, y: 0 };
|
|
4235
4235
|
let B = A.length - 1, M = null;
|
|
4236
|
-
const D =
|
|
4237
|
-
for (; B >= 0 && (M = A[B], !(D.timestamp - M.timestamp > /* @__PURE__ */
|
|
4236
|
+
const D = lt(A);
|
|
4237
|
+
for (; B >= 0 && (M = A[B], !(D.timestamp - M.timestamp > /* @__PURE__ */ EA(g))); )
|
|
4238
4238
|
B--;
|
|
4239
4239
|
if (!M)
|
|
4240
4240
|
return { x: 0, y: 0 };
|
|
@@ -4247,7 +4247,7 @@ function ii(A, g) {
|
|
|
4247
4247
|
};
|
|
4248
4248
|
return e.x === 1 / 0 && (e.x = 0), e.y === 1 / 0 && (e.y = 0), e;
|
|
4249
4249
|
}
|
|
4250
|
-
const
|
|
4250
|
+
const Et = 1e-4, si = 1 - Et, oi = 1 + Et, at = 0.01, ni = 0 - at, Ii = 0 + at;
|
|
4251
4251
|
function eA(A) {
|
|
4252
4252
|
return A.max - A.min;
|
|
4253
4253
|
}
|
|
@@ -4263,7 +4263,7 @@ function Cg(A, g, B, M) {
|
|
|
4263
4263
|
function tD(A, g, B) {
|
|
4264
4264
|
A.min = B.min + g.min, A.max = A.min + eA(g);
|
|
4265
4265
|
}
|
|
4266
|
-
function
|
|
4266
|
+
function li(A, g, B) {
|
|
4267
4267
|
tD(A.x, g.x, B.x), tD(A.y, g.y, B.y);
|
|
4268
4268
|
}
|
|
4269
4269
|
function wD(A, g, B) {
|
|
@@ -4272,7 +4272,7 @@ function wD(A, g, B) {
|
|
|
4272
4272
|
function ig(A, g, B) {
|
|
4273
4273
|
wD(A.x, g.x, B.x), wD(A.y, g.y, B.y);
|
|
4274
4274
|
}
|
|
4275
|
-
function
|
|
4275
|
+
function Ei(A, { min: g, max: B }, M) {
|
|
4276
4276
|
return g !== void 0 && A < g ? A = M ? O(g, A, M.min) : Math.max(A, g) : B !== void 0 && A > B && (A = M ? O(B, A, M.max) : Math.min(A, B)), A;
|
|
4277
4277
|
}
|
|
4278
4278
|
function QD(A, g, B) {
|
|
@@ -4363,7 +4363,7 @@ function BB(A) {
|
|
|
4363
4363
|
function GB({ scale: A, scaleX: g, scaleY: B }) {
|
|
4364
4364
|
return !BB(A) || !BB(g) || !BB(B);
|
|
4365
4365
|
}
|
|
4366
|
-
function
|
|
4366
|
+
function KA(A) {
|
|
4367
4367
|
return GB(A) || ct(A) || A.z || A.rotate || A.rotateX || A.rotateY || A.skewX || A.skewY;
|
|
4368
4368
|
}
|
|
4369
4369
|
function ct(A) {
|
|
@@ -4385,7 +4385,7 @@ function cB(A, g = 0, B = 1, M, D) {
|
|
|
4385
4385
|
function Yt(A, { x: g, y: B }) {
|
|
4386
4386
|
cB(A.x, g.translate, g.scale, g.originPoint), cB(A.y, B.translate, B.scale, B.originPoint);
|
|
4387
4387
|
}
|
|
4388
|
-
const
|
|
4388
|
+
const lD = 0.999999999999, ED = 1.0000000000001;
|
|
4389
4389
|
function Ui(A, g, B, M = !1) {
|
|
4390
4390
|
const D = B.length;
|
|
4391
4391
|
if (!D)
|
|
@@ -4398,9 +4398,9 @@ function Ui(A, g, B, M = !1) {
|
|
|
4398
4398
|
w && w.props.style && w.props.style.display === "contents" || (M && t.options.layoutScroll && t.scroll && t !== t.root && HA(A, {
|
|
4399
4399
|
x: -t.scroll.offset.x,
|
|
4400
4400
|
y: -t.scroll.offset.y
|
|
4401
|
-
}), e && (g.x *= e.x.scale, g.y *= e.y.scale, Yt(A, e)), M &&
|
|
4401
|
+
}), e && (g.x *= e.x.scale, g.y *= e.y.scale, Yt(A, e)), M && KA(t.latestValues) && HA(A, t.latestValues));
|
|
4402
4402
|
}
|
|
4403
|
-
g.x <
|
|
4403
|
+
g.x < ED && g.x > lD && (g.x = 1), g.y < ED && g.y > lD && (g.y = 1);
|
|
4404
4404
|
}
|
|
4405
4405
|
function jA(A, g) {
|
|
4406
4406
|
A.min = A.min + g, A.max = A.max + g;
|
|
@@ -4435,29 +4435,29 @@ class fi {
|
|
|
4435
4435
|
const { drag: n, dragPropagation: I, onDragStart: r } = this.getProps();
|
|
4436
4436
|
if (n && !I && (this.openDragLock && this.openDragLock(), this.openDragLock = uQ(n), !this.openDragLock))
|
|
4437
4437
|
return;
|
|
4438
|
-
this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), CA((
|
|
4439
|
-
let a = this.getAxisMotionValue(
|
|
4438
|
+
this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), CA((E) => {
|
|
4439
|
+
let a = this.getAxisMotionValue(E).get() || 0;
|
|
4440
4440
|
if (aA.test(a)) {
|
|
4441
4441
|
const { projection: G } = this.visualElement;
|
|
4442
4442
|
if (G && G.layout) {
|
|
4443
|
-
const Y = G.layout.layoutBox[
|
|
4443
|
+
const Y = G.layout.layoutBox[E];
|
|
4444
4444
|
Y && (a = eA(Y) * (parseFloat(a) / 100));
|
|
4445
4445
|
}
|
|
4446
4446
|
}
|
|
4447
|
-
this.originPoint[
|
|
4447
|
+
this.originPoint[E] = a;
|
|
4448
4448
|
}), r && v.postRender(() => r(s, o)), iB(this.visualElement, "transform");
|
|
4449
|
-
const { animationState:
|
|
4450
|
-
|
|
4449
|
+
const { animationState: l } = this.visualElement;
|
|
4450
|
+
l && l.setActive("whileDrag", !0);
|
|
4451
4451
|
}, e = (s, o) => {
|
|
4452
|
-
const { dragPropagation: n, dragDirectionLock: I, onDirectionLock: r, onDrag:
|
|
4452
|
+
const { dragPropagation: n, dragDirectionLock: I, onDirectionLock: r, onDrag: l } = this.getProps();
|
|
4453
4453
|
if (!n && !this.openDragLock)
|
|
4454
4454
|
return;
|
|
4455
|
-
const { offset:
|
|
4455
|
+
const { offset: E } = o;
|
|
4456
4456
|
if (I && this.currentDirection === null) {
|
|
4457
|
-
this.currentDirection = di(
|
|
4457
|
+
this.currentDirection = di(E), this.currentDirection !== null && r && r(this.currentDirection);
|
|
4458
4458
|
return;
|
|
4459
4459
|
}
|
|
4460
|
-
this.updateAxis("x", o.point,
|
|
4460
|
+
this.updateAxis("x", o.point, E), this.updateAxis("y", o.point, E), this.visualElement.render(), l && l(s, o);
|
|
4461
4461
|
}, Q = (s, o) => this.stop(s, o), w = () => CA((s) => {
|
|
4462
4462
|
var o;
|
|
4463
4463
|
return this.getAnimationState(s) === "paused" && ((o = this.getAxisMotionValue(s).animation) === null || o === void 0 ? void 0 : o.play());
|
|
@@ -4496,7 +4496,7 @@ class fi {
|
|
|
4496
4496
|
return;
|
|
4497
4497
|
const t = this.getAxisMotionValue(g);
|
|
4498
4498
|
let e = this.originPoint[g] + M[g];
|
|
4499
|
-
this.constraints && this.constraints[g] && (e =
|
|
4499
|
+
this.constraints && this.constraints[g] && (e = Ei(e, this.constraints[g], this.elastic[g])), t.set(e);
|
|
4500
4500
|
}
|
|
4501
4501
|
resolveConstraints() {
|
|
4502
4502
|
var g;
|
|
@@ -4622,7 +4622,7 @@ class fi {
|
|
|
4622
4622
|
FA(w) && w.current && (this.constraints = this.resolveRefConstraints());
|
|
4623
4623
|
}, { projection: D } = this.visualElement, t = D.addEventListener("measure", M);
|
|
4624
4624
|
D && !D.layout && (D.root && D.root.updateScroll(), D.updateLayout()), v.read(M);
|
|
4625
|
-
const e =
|
|
4625
|
+
const e = lg(window, "resize", () => this.scalePositionWithinConstraints()), Q = D.addEventListener("didUpdate", ({ delta: w, hasLayoutChanged: C }) => {
|
|
4626
4626
|
this.isDragging && C && (CA((s) => {
|
|
4627
4627
|
const o = this.getAxisMotionValue(s);
|
|
4628
4628
|
o && (this.originPoint[s] += w[s].translate, o.set(o.get() + w[s].translate));
|
|
@@ -4725,7 +4725,7 @@ const Bg = {
|
|
|
4725
4725
|
const B = cD(A, g.target.x), M = cD(A, g.target.y);
|
|
4726
4726
|
return `${B}% ${M}%`;
|
|
4727
4727
|
}
|
|
4728
|
-
},
|
|
4728
|
+
}, pi = {
|
|
4729
4729
|
correct: (A, { treeScale: g, projectionDelta: B }) => {
|
|
4730
4730
|
const M = A, D = fA.parse(A);
|
|
4731
4731
|
if (D.length > 5)
|
|
@@ -4736,7 +4736,7 @@ const Bg = {
|
|
|
4736
4736
|
return typeof D[2 + e] == "number" && (D[2 + e] /= C), typeof D[3 + e] == "number" && (D[3 + e] /= C), t(D);
|
|
4737
4737
|
}
|
|
4738
4738
|
};
|
|
4739
|
-
class
|
|
4739
|
+
class Ki extends Ft {
|
|
4740
4740
|
/**
|
|
4741
4741
|
* This only mounts projection nodes for components that
|
|
4742
4742
|
* need measuring, we might want to do it for all components
|
|
@@ -4778,7 +4778,7 @@ class pi extends Ft {
|
|
|
4778
4778
|
}
|
|
4779
4779
|
function yt(A) {
|
|
4780
4780
|
const [g, B] = aw(), M = gA(Me);
|
|
4781
|
-
return i(
|
|
4781
|
+
return i(Ki, { ...A, layoutGroup: M, switchLayoutGroup: gA(oe), isPresent: g, safeToRemove: B });
|
|
4782
4782
|
}
|
|
4783
4783
|
const Ri = {
|
|
4784
4784
|
borderRadius: {
|
|
@@ -4794,7 +4794,7 @@ const Ri = {
|
|
|
4794
4794
|
borderTopRightRadius: Bg,
|
|
4795
4795
|
borderBottomLeftRadius: Bg,
|
|
4796
4796
|
borderBottomRightRadius: Bg,
|
|
4797
|
-
boxShadow:
|
|
4797
|
+
boxShadow: pi
|
|
4798
4798
|
};
|
|
4799
4799
|
function hi(A, g, B) {
|
|
4800
4800
|
const M = W(A) ? A : Ig(A);
|
|
@@ -4892,10 +4892,10 @@ function kD(A, g) {
|
|
|
4892
4892
|
function ft(A, g) {
|
|
4893
4893
|
return kD(A.x, g.x) && kD(A.y, g.y);
|
|
4894
4894
|
}
|
|
4895
|
-
function
|
|
4895
|
+
function pD(A) {
|
|
4896
4896
|
return eA(A.x) / eA(A.y);
|
|
4897
4897
|
}
|
|
4898
|
-
function
|
|
4898
|
+
function KD(A, g) {
|
|
4899
4899
|
return A.translate === g.translate && A.scale === g.scale && A.originPoint === g.originPoint;
|
|
4900
4900
|
}
|
|
4901
4901
|
class xi {
|
|
@@ -5029,12 +5029,12 @@ function qt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
|
|
|
5029
5029
|
this.target = void 0, this.relativeTarget = void 0;
|
|
5030
5030
|
return;
|
|
5031
5031
|
}
|
|
5032
|
-
const
|
|
5032
|
+
const l = this.options.transition || s.getDefaultTransition() || ss, { onLayoutAnimationStart: E, onLayoutAnimationComplete: a } = s.getProps(), G = !this.targetLayout || !ft(this.targetLayout, r), Y = !n && I;
|
|
5033
5033
|
if (this.options.layoutRoot || this.resumeFrom || Y || n && (G || !this.currentAnimation)) {
|
|
5034
5034
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(o, Y);
|
|
5035
5035
|
const k = {
|
|
5036
|
-
...wM(
|
|
5037
|
-
onPlay:
|
|
5036
|
+
...wM(l, "layout"),
|
|
5037
|
+
onPlay: E,
|
|
5038
5038
|
onComplete: a
|
|
5039
5039
|
};
|
|
5040
5040
|
(s.shouldReduceMotion || this.options.layoutRoot) && (k.delay = 0, k.type = !1), this.startAnimation(k);
|
|
@@ -5144,7 +5144,7 @@ function qt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
|
|
|
5144
5144
|
if (!D)
|
|
5145
5145
|
return;
|
|
5146
5146
|
const e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, Q = this.projectionDelta && !Vt(this.projectionDelta), w = this.getTransformTemplate(), C = w ? w(this.latestValues, "") : void 0, s = C !== this.prevTransformTemplateValue;
|
|
5147
|
-
e && (Q ||
|
|
5147
|
+
e && (Q || KA(this.latestValues) || s) && (D(this.instance, C), this.shouldResetTransform = !1, this.scheduleRender());
|
|
5148
5148
|
}
|
|
5149
5149
|
measure(e = !0) {
|
|
5150
5150
|
const Q = this.measurePageBox();
|
|
@@ -5188,22 +5188,22 @@ function qt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
|
|
|
5188
5188
|
!Q && s.options.layoutScroll && s.scroll && s !== s.root && HA(w, {
|
|
5189
5189
|
x: -s.scroll.offset.x,
|
|
5190
5190
|
y: -s.scroll.offset.y
|
|
5191
|
-
}),
|
|
5191
|
+
}), KA(s.latestValues) && HA(w, s.latestValues);
|
|
5192
5192
|
}
|
|
5193
|
-
return
|
|
5193
|
+
return KA(this.latestValues) && HA(w, this.latestValues), w;
|
|
5194
5194
|
}
|
|
5195
5195
|
removeTransform(e) {
|
|
5196
5196
|
const Q = H();
|
|
5197
5197
|
QA(Q, e);
|
|
5198
5198
|
for (let w = 0; w < this.path.length; w++) {
|
|
5199
5199
|
const C = this.path[w];
|
|
5200
|
-
if (!C.instance || !
|
|
5200
|
+
if (!C.instance || !KA(C.latestValues))
|
|
5201
5201
|
continue;
|
|
5202
5202
|
GB(C.latestValues) && C.updateSnapshot();
|
|
5203
5203
|
const s = H(), o = C.measurePageBox();
|
|
5204
5204
|
QA(s, o), fD(Q, C.latestValues, C.snapshot ? C.snapshot.layoutBox : void 0, s);
|
|
5205
5205
|
}
|
|
5206
|
-
return
|
|
5206
|
+
return KA(this.latestValues) && fD(Q, this.latestValues), Q;
|
|
5207
5207
|
}
|
|
5208
5208
|
setTargetDelta(e) {
|
|
5209
5209
|
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
|
|
@@ -5235,7 +5235,7 @@ function qt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
|
|
|
5235
5235
|
I && I.layout && this.animationProgress !== 1 ? (this.relativeParent = I, this.forceRelativeParentToResolveTarget(), this.relativeTarget = H(), this.relativeTargetOrigin = H(), ig(this.relativeTargetOrigin, this.layout.layoutBox, I.layout.layoutBox), QA(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
5236
5236
|
}
|
|
5237
5237
|
if (!(!this.relativeTarget && !this.targetDelta)) {
|
|
5238
|
-
if (this.target || (this.target = H(), this.targetWithTransforms = H()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(),
|
|
5238
|
+
if (this.target || (this.target = H(), this.targetWithTransforms = H()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), li(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : QA(this.target, this.layout.layoutBox), Yt(this.target, this.targetDelta)) : QA(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
|
|
5239
5239
|
this.attemptToResolveRelativeTarget = !1;
|
|
5240
5240
|
const I = this.getClosestProjectingParent();
|
|
5241
5241
|
I && !!I.resumingFrom == !!this.resumingFrom && !I.options.layoutScroll && I.target && this.animationProgress !== 1 ? (this.relativeParent = I, this.forceRelativeParentToResolveTarget(), this.relativeTarget = H(), this.relativeTargetOrigin = H(), ig(this.relativeTargetOrigin, this.target, I.target), QA(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
@@ -5268,7 +5268,7 @@ function qt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
|
|
|
5268
5268
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
5269
5269
|
return;
|
|
5270
5270
|
}
|
|
5271
|
-
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (UD(this.prevProjectionDelta.x, this.projectionDelta.x), UD(this.prevProjectionDelta.y, this.projectionDelta.y)), Cg(this.projectionDelta, this.layoutCorrected, r, this.latestValues), (this.treeScale.x !== n || this.treeScale.y !== I || !
|
|
5271
|
+
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (UD(this.prevProjectionDelta.x, this.projectionDelta.x), UD(this.prevProjectionDelta.y, this.projectionDelta.y)), Cg(this.projectionDelta, this.layoutCorrected, r, this.latestValues), (this.treeScale.x !== n || this.treeScale.y !== I || !KD(this.projectionDelta.x, this.prevProjectionDelta.x) || !KD(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", r)), eg && RA.recalculatedProjection++;
|
|
5272
5272
|
}
|
|
5273
5273
|
hide() {
|
|
5274
5274
|
this.isVisible = !1;
|
|
@@ -5290,12 +5290,12 @@ function qt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
|
|
|
5290
5290
|
setAnimationOrigin(e, Q = !1) {
|
|
5291
5291
|
const w = this.snapshot, C = w ? w.latestValues : {}, s = { ...this.latestValues }, o = OA();
|
|
5292
5292
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !Q;
|
|
5293
|
-
const n = H(), I = w ? w.source : void 0, r = this.layout ? this.layout.source : void 0,
|
|
5293
|
+
const n = H(), I = w ? w.source : void 0, r = this.layout ? this.layout.source : void 0, l = I !== r, E = this.getStack(), a = !E || E.members.length <= 1, G = !!(l && !a && this.options.crossfade === !0 && !this.path.some(is));
|
|
5294
5294
|
this.animationProgress = 0;
|
|
5295
5295
|
let Y;
|
|
5296
5296
|
this.mixTargetDelta = (k) => {
|
|
5297
5297
|
const c = k / 1e3;
|
|
5298
|
-
zD(o.x, e.x, c), zD(o.y, e.y, c), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ig(n, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Cs(this.relativeTarget, this.relativeTargetOrigin, n, c), Y && Si(this.relativeTarget, Y) && (this.isProjectionDirty = !1), Y || (Y = H()), QA(Y, this.relativeTarget)),
|
|
5298
|
+
zD(o.x, e.x, c), zD(o.y, e.y, c), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ig(n, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Cs(this.relativeTarget, this.relativeTargetOrigin, n, c), Y && Si(this.relativeTarget, Y) && (this.isProjectionDirty = !1), Y || (Y = H()), QA(Y, this.relativeTarget)), l && (this.animationValues = s, Fi(s, C, this.latestValues, c, G, a)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = c;
|
|
5299
5299
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
5300
5300
|
}
|
|
5301
5301
|
startAnimation(e) {
|
|
@@ -5398,23 +5398,23 @@ function qt({ attachResizeListener: A, defaultParent: g, measureScroll: B, check
|
|
|
5398
5398
|
return this.needsReset = !1, C.opacity = "", C.pointerEvents = Ug(e == null ? void 0 : e.pointerEvents) || "", C.transform = s ? s(this.latestValues, "") : "none", C;
|
|
5399
5399
|
const o = this.getLead();
|
|
5400
5400
|
if (!this.projectionDelta || !this.layout || !o.target) {
|
|
5401
|
-
const
|
|
5402
|
-
return this.options.layoutId && (
|
|
5401
|
+
const l = {};
|
|
5402
|
+
return this.options.layoutId && (l.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, l.pointerEvents = Ug(e == null ? void 0 : e.pointerEvents) || ""), this.hasProjected && !KA(this.latestValues) && (l.transform = s ? s({}, "") : "none", this.hasProjected = !1), l;
|
|
5403
5403
|
}
|
|
5404
5404
|
const n = o.animationValues || o.latestValues;
|
|
5405
5405
|
this.applyTransformsToTarget(), C.transform = Ni(this.projectionDeltaWithTransform, this.treeScale, n), s && (C.transform = s(n, C.transform));
|
|
5406
5406
|
const { x: I, y: r } = this.projectionDelta;
|
|
5407
5407
|
C.transformOrigin = `${I.origin * 100}% ${r.origin * 100}% 0`, o.animationValues ? C.opacity = o === this ? (w = (Q = n.opacity) !== null && Q !== void 0 ? Q : this.latestValues.opacity) !== null && w !== void 0 ? w : 1 : this.preserveOpacity ? this.latestValues.opacity : n.opacityExit : C.opacity = o === this ? n.opacity !== void 0 ? n.opacity : "" : n.opacityExit !== void 0 ? n.opacityExit : 0;
|
|
5408
|
-
for (const
|
|
5409
|
-
if (n[
|
|
5408
|
+
for (const l in pg) {
|
|
5409
|
+
if (n[l] === void 0)
|
|
5410
5410
|
continue;
|
|
5411
|
-
const { correct:
|
|
5411
|
+
const { correct: E, applyTo: a } = pg[l], G = C.transform === "none" ? n[l] : E(n[l], o);
|
|
5412
5412
|
if (a) {
|
|
5413
5413
|
const Y = a.length;
|
|
5414
5414
|
for (let k = 0; k < Y; k++)
|
|
5415
5415
|
C[a[k]] = G;
|
|
5416
5416
|
} else
|
|
5417
|
-
C[
|
|
5417
|
+
C[l] = G;
|
|
5418
5418
|
}
|
|
5419
5419
|
return this.options.layoutId && (C.pointerEvents = o === this ? Ug(e == null ? void 0 : e.pointerEvents) || "" : "none"), C;
|
|
5420
5420
|
}
|
|
@@ -5458,8 +5458,8 @@ function _i(A) {
|
|
|
5458
5458
|
if (n && I) {
|
|
5459
5459
|
const r = H();
|
|
5460
5460
|
ig(r, B.layoutBox, n.layoutBox);
|
|
5461
|
-
const
|
|
5462
|
-
ig(
|
|
5461
|
+
const l = H();
|
|
5462
|
+
ig(l, M, I.layoutBox), ft(r, l) || (s = !0), o.options.layoutRoot && (A.relativeTarget = l, A.relativeTargetOrigin = r, A.relativeParent = o);
|
|
5463
5463
|
}
|
|
5464
5464
|
}
|
|
5465
5465
|
}
|
|
@@ -5534,14 +5534,14 @@ function os(A) {
|
|
|
5534
5534
|
FD(A.x), FD(A.y);
|
|
5535
5535
|
}
|
|
5536
5536
|
function kt(A, g, B) {
|
|
5537
|
-
return A === "position" || A === "preserve-aspect" && !ri(
|
|
5537
|
+
return A === "position" || A === "preserve-aspect" && !ri(pD(g), pD(B), 0.2);
|
|
5538
5538
|
}
|
|
5539
5539
|
function ns(A) {
|
|
5540
5540
|
var g;
|
|
5541
5541
|
return A !== A.root && ((g = A.scroll) === null || g === void 0 ? void 0 : g.wasRoot);
|
|
5542
5542
|
}
|
|
5543
5543
|
const Is = qt({
|
|
5544
|
-
attachResizeListener: (A, g) =>
|
|
5544
|
+
attachResizeListener: (A, g) => lg(A, "resize", g),
|
|
5545
5545
|
measureScroll: () => ({
|
|
5546
5546
|
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
|
5547
5547
|
y: document.documentElement.scrollTop || document.body.scrollTop
|
|
@@ -5549,7 +5549,7 @@ const Is = qt({
|
|
|
5549
5549
|
checkIsScrollRoot: () => !0
|
|
5550
5550
|
}), eB = {
|
|
5551
5551
|
current: void 0
|
|
5552
|
-
},
|
|
5552
|
+
}, pt = qt({
|
|
5553
5553
|
measureScroll: (A) => ({
|
|
5554
5554
|
x: A.scrollLeft,
|
|
5555
5555
|
y: A.scrollTop
|
|
@@ -5571,7 +5571,7 @@ const Is = qt({
|
|
|
5571
5571
|
},
|
|
5572
5572
|
drag: {
|
|
5573
5573
|
Feature: qi,
|
|
5574
|
-
ProjectionNode:
|
|
5574
|
+
ProjectionNode: pt,
|
|
5575
5575
|
MeasureLayout: yt
|
|
5576
5576
|
}
|
|
5577
5577
|
};
|
|
@@ -5581,15 +5581,15 @@ function bD(A, g, B) {
|
|
|
5581
5581
|
const D = "onHover" + B, t = M[D];
|
|
5582
5582
|
t && v.postRender(() => t(g, cg(g)));
|
|
5583
5583
|
}
|
|
5584
|
-
class
|
|
5584
|
+
class ls extends dA {
|
|
5585
5585
|
mount() {
|
|
5586
5586
|
const { current: g } = this.node;
|
|
5587
|
-
g && (this.unmount =
|
|
5587
|
+
g && (this.unmount = EQ(g, (B, M) => (bD(this.node, M, "Start"), (D) => bD(this.node, D, "End"))));
|
|
5588
5588
|
}
|
|
5589
5589
|
unmount() {
|
|
5590
5590
|
}
|
|
5591
5591
|
}
|
|
5592
|
-
class
|
|
5592
|
+
class Es extends dA {
|
|
5593
5593
|
constructor() {
|
|
5594
5594
|
super(...arguments), this.isActive = !1;
|
|
5595
5595
|
}
|
|
@@ -5606,7 +5606,7 @@ class ls extends dA {
|
|
|
5606
5606
|
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
|
|
5607
5607
|
}
|
|
5608
5608
|
mount() {
|
|
5609
|
-
this.unmount = Gg(
|
|
5609
|
+
this.unmount = Gg(lg(this.node.current, "focus", () => this.onFocus()), lg(this.node.current, "blur", () => this.onBlur()));
|
|
5610
5610
|
}
|
|
5611
5611
|
unmount() {
|
|
5612
5612
|
}
|
|
@@ -5690,19 +5690,19 @@ const Zs = {
|
|
|
5690
5690
|
Feature: as
|
|
5691
5691
|
},
|
|
5692
5692
|
focus: {
|
|
5693
|
-
Feature:
|
|
5693
|
+
Feature: Es
|
|
5694
5694
|
},
|
|
5695
5695
|
hover: {
|
|
5696
|
-
Feature:
|
|
5696
|
+
Feature: ls
|
|
5697
5697
|
}
|
|
5698
5698
|
}, Vs = {
|
|
5699
5699
|
layout: {
|
|
5700
|
-
ProjectionNode:
|
|
5700
|
+
ProjectionNode: pt,
|
|
5701
5701
|
MeasureLayout: yt
|
|
5702
5702
|
}
|
|
5703
|
-
}, uB = { current: null },
|
|
5703
|
+
}, uB = { current: null }, Kt = { current: !1 };
|
|
5704
5704
|
function fs() {
|
|
5705
|
-
if (
|
|
5705
|
+
if (Kt.current = !0, !!TB)
|
|
5706
5706
|
if (window.matchMedia) {
|
|
5707
5707
|
const A = window.matchMedia("(prefers-reduced-motion)"), g = () => uB.current = A.matches;
|
|
5708
5708
|
A.addListener(g), g();
|
|
@@ -5739,7 +5739,7 @@ const HD = [
|
|
|
5739
5739
|
"LayoutAnimationStart",
|
|
5740
5740
|
"LayoutAnimationComplete"
|
|
5741
5741
|
];
|
|
5742
|
-
class
|
|
5742
|
+
class ps {
|
|
5743
5743
|
/**
|
|
5744
5744
|
* This method takes React props and returns found MotionValues. For example, HTML
|
|
5745
5745
|
* MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
|
|
@@ -5766,7 +5766,7 @@ class Ks {
|
|
|
5766
5766
|
}
|
|
5767
5767
|
}
|
|
5768
5768
|
mount(g) {
|
|
5769
|
-
this.current = g, jD.set(g, this), this.projection && !this.projection.instance && this.projection.mount(g), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((B, M) => this.bindToMotionValue(M, B)),
|
|
5769
|
+
this.current = g, jD.set(g, this), this.projection && !this.projection.instance && this.projection.mount(g), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((B, M) => this.bindToMotionValue(M, B)), Kt.current || fs(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : uB.current, process.env.NODE_ENV !== "production" && bg(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
|
|
5770
5770
|
}
|
|
5771
5771
|
unmount() {
|
|
5772
5772
|
jD.delete(this.current), this.projection && this.projection.unmount(), VA(this.notifyUpdate), VA(this.render), this.valueSubscriptions.forEach((g) => g()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
|
|
@@ -5932,7 +5932,7 @@ class Ks {
|
|
|
5932
5932
|
this.events[g] && this.events[g].notify(...B);
|
|
5933
5933
|
}
|
|
5934
5934
|
}
|
|
5935
|
-
class Rt extends
|
|
5935
|
+
class Rt extends ps {
|
|
5936
5936
|
constructor() {
|
|
5937
5937
|
super(...arguments), this.KeyframeResolver = Dt;
|
|
5938
5938
|
}
|
|
@@ -5953,7 +5953,7 @@ class Rt extends Ks {
|
|
|
5953
5953
|
}));
|
|
5954
5954
|
}
|
|
5955
5955
|
}
|
|
5956
|
-
function
|
|
5956
|
+
function Ks(A) {
|
|
5957
5957
|
return window.getComputedStyle(A);
|
|
5958
5958
|
}
|
|
5959
5959
|
class Rs extends Rt {
|
|
@@ -5965,7 +5965,7 @@ class Rs extends Rt {
|
|
|
5965
5965
|
const M = GM(B);
|
|
5966
5966
|
return M && M.default || 0;
|
|
5967
5967
|
} else {
|
|
5968
|
-
const M =
|
|
5968
|
+
const M = Ks(g), D = (le(B) ? M.getPropertyValue(B) : M[B]) || 0;
|
|
5969
5969
|
return typeof D == "string" ? D.trim() : D;
|
|
5970
5970
|
}
|
|
5971
5971
|
}
|
|
@@ -6119,47 +6119,47 @@ const js = $(
|
|
|
6119
6119
|
handleOpenItem: o,
|
|
6120
6120
|
...n
|
|
6121
6121
|
}, I) => {
|
|
6122
|
-
const r = jB(), [
|
|
6122
|
+
const r = jB(), [l, E] = J(!1), [a, G] = J(!1), [Y, k] = J(void 0), [c] = J(""), V = g.reduce((p, R) => (p[R.refId] = MA(null), p), {}), Z = () => E(!l), [U, u] = J(!0);
|
|
6123
6123
|
T(() => {
|
|
6124
|
-
const
|
|
6124
|
+
const p = () => {
|
|
6125
6125
|
u(window.scrollY < 50);
|
|
6126
6126
|
};
|
|
6127
|
-
return window.addEventListener("scroll",
|
|
6127
|
+
return window.addEventListener("scroll", p), () => window.removeEventListener("scroll", p);
|
|
6128
6128
|
}, []), T(() => {
|
|
6129
6129
|
g.forEach((R) => {
|
|
6130
|
-
const
|
|
6131
|
-
if (
|
|
6130
|
+
const F = V[R.refId];
|
|
6131
|
+
if (F != null && F.current) {
|
|
6132
6132
|
const tA = (wA) => {
|
|
6133
6133
|
const kA = wA.target;
|
|
6134
6134
|
k(kA.getBoundingClientRect());
|
|
6135
6135
|
};
|
|
6136
|
-
|
|
6136
|
+
F.current.addEventListener("mouseenter", tA);
|
|
6137
6137
|
}
|
|
6138
6138
|
});
|
|
6139
|
-
const
|
|
6140
|
-
return
|
|
6139
|
+
const p = V[c];
|
|
6140
|
+
return p != null && p.current && k(p.current.getBoundingClientRect()), () => {
|
|
6141
6141
|
g.forEach((R) => {
|
|
6142
|
-
const
|
|
6143
|
-
|
|
6142
|
+
const F = V[R.refId];
|
|
6143
|
+
F != null && F.current && F.current.removeEventListener("mouseenter", () => {
|
|
6144
6144
|
});
|
|
6145
6145
|
});
|
|
6146
6146
|
};
|
|
6147
6147
|
}, [c, g, V]), T(() => {
|
|
6148
|
-
const
|
|
6149
|
-
|
|
6148
|
+
const p = window.matchMedia("(min-width: 640px)"), R = () => {
|
|
6149
|
+
p.matches && l && E(!1);
|
|
6150
6150
|
};
|
|
6151
|
-
return
|
|
6152
|
-
|
|
6151
|
+
return p.addEventListener("change", R), () => {
|
|
6152
|
+
p.removeEventListener("change", R);
|
|
6153
6153
|
};
|
|
6154
|
-
}, [
|
|
6154
|
+
}, [l]), T(() => {
|
|
6155
6155
|
if (typeof window < "u" && (t != null && t.events)) {
|
|
6156
|
-
const
|
|
6156
|
+
const p = () => {
|
|
6157
6157
|
G(!0);
|
|
6158
6158
|
}, R = () => {
|
|
6159
6159
|
G(!1);
|
|
6160
6160
|
};
|
|
6161
|
-
return t.events.on("routeChangeStart",
|
|
6162
|
-
t.events.off("routeChangeStart",
|
|
6161
|
+
return t.events.on("routeChangeStart", p), t.events.on("routeChangeComplete", R), t.events.on("routeChangeError", R), () => {
|
|
6162
|
+
t.events.off("routeChangeStart", p), t.events.off("routeChangeComplete", R), t.events.off("routeChangeError", R);
|
|
6163
6163
|
};
|
|
6164
6164
|
}
|
|
6165
6165
|
}, [t]);
|
|
@@ -6183,14 +6183,14 @@ const js = $(
|
|
|
6183
6183
|
goatData: "text-white",
|
|
6184
6184
|
secondary: "text-[#1F2937]",
|
|
6185
6185
|
experiences: "text-white"
|
|
6186
|
-
}, qA = (
|
|
6187
|
-
const R =
|
|
6186
|
+
}, qA = (p) => {
|
|
6187
|
+
const R = p, F = encodeURIComponent("Hola, me gustaría obtener más información sobre las experiencias personalizadas que ofrecen en Experiencias Viajes. Estoy interesado en conocer más sobre sus servicios exclusivos a bordo de embarcaciones de lujo."), tA = `https://api.whatsapp.com/send?phone=${R}&text=${F}`;
|
|
6188
6188
|
window.open(tA, "_blank");
|
|
6189
|
-
}, YA = (
|
|
6190
|
-
const R = `mailto:${
|
|
6189
|
+
}, YA = (p) => {
|
|
6190
|
+
const R = `mailto:${p}?subject=Solicitud&body=Hola, Necesito más información!`;
|
|
6191
6191
|
window.open(R);
|
|
6192
|
-
},
|
|
6193
|
-
window.open(
|
|
6192
|
+
}, L = (p) => {
|
|
6193
|
+
window.open(p, "_blank");
|
|
6194
6194
|
};
|
|
6195
6195
|
return /* @__PURE__ */ m("nav", { ref: I, ...n, style: { zIndex: 9999, position: "fixed", top: "0px", left: "0px", right: "0px" }, className: `${f[A]} ${A === "experiences" ? "" : "bg-opacity-75"} `, children: [
|
|
6196
6196
|
A === "experiences" && U && /* @__PURE__ */ i("div", { className: "bg-[#F2AE87] text-white transition-all duration-300", children: /* @__PURE__ */ m("div", { className: `flex ${r ? "flex-col items-end" : "flex-row items-center"} justify-around gap-4 px-4 py-2 text-sm`, children: [
|
|
@@ -6206,15 +6206,17 @@ const js = $(
|
|
|
6206
6206
|
] }),
|
|
6207
6207
|
/* @__PURE__ */ m("div", { style: { paddingRight: r ? "40px" : "" }, className: "flex gap-2 mt-2 sm:mt-0", children: [
|
|
6208
6208
|
/* @__PURE__ */ i("div", { onClick: () => {
|
|
6209
|
-
|
|
6209
|
+
L("https://www.instagram.com/experienciasviajes.arg/");
|
|
6210
6210
|
}, children: /* @__PURE__ */ i(Iw, {}) }),
|
|
6211
6211
|
/* @__PURE__ */ i("div", { onClick: () => {
|
|
6212
|
-
|
|
6212
|
+
L("https://www.facebook.com/experienciasviajes.arg/");
|
|
6213
6213
|
}, children: /* @__PURE__ */ i(rw, {}) }),
|
|
6214
|
-
/* @__PURE__ */ i(Ew, {}),
|
|
6215
6214
|
/* @__PURE__ */ i("div", { onClick: () => {
|
|
6216
|
-
|
|
6217
|
-
}, children: /* @__PURE__ */ i(lw, {}) })
|
|
6215
|
+
L("https://www.tiktok.com/@mariacianexperiencias");
|
|
6216
|
+
}, children: /* @__PURE__ */ i(lw, {}) }),
|
|
6217
|
+
/* @__PURE__ */ i("div", { onClick: () => {
|
|
6218
|
+
L("https://www.linkedin.com/in/experienciasviajes-arg-by-maria-cian-0b075014/");
|
|
6219
|
+
}, children: /* @__PURE__ */ i(Ew, {}) })
|
|
6218
6220
|
] })
|
|
6219
6221
|
] }) }),
|
|
6220
6222
|
/* @__PURE__ */ m("div", { style: { marginLeft: "auto", marginRight: "auto", maxWidth: "80rem", paddingLeft: r ? "0.5rem" : "1.5rem", paddingRight: r ? "0.5rem" : "1.5rem" }, children: [
|
|
@@ -6232,7 +6234,7 @@ const js = $(
|
|
|
6232
6234
|
}
|
|
6233
6235
|
),
|
|
6234
6236
|
/* @__PURE__ */ m("div", { style: { position: "relative", display: "flex", height: "4rem", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
6235
|
-
/* @__PURE__ */ i("div", { style: { position: "absolute", top: "0px", bottom: "0px", left: A === "experiences" ? "auto" : "0px", right: A === "experiences" ? "0px" : "auto", display: r ? "flex" : "none", alignItems: "center" }, children: /* @__PURE__ */ i("button", { className: `menu ${
|
|
6237
|
+
/* @__PURE__ */ i("div", { style: { position: "absolute", top: "0px", bottom: "0px", left: A === "experiences" ? "auto" : "0px", right: A === "experiences" ? "0px" : "auto", display: r ? "flex" : "none", alignItems: "center" }, children: /* @__PURE__ */ i("button", { className: `menu ${l ? A === "secondary" ? "openedark" : A === "experiences" ? "openeExperiences" : "opened" : ""}`, onClick: Z, "aria-label": "Main Menu", children: /* @__PURE__ */ m("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
|
|
6236
6238
|
/* @__PURE__ */ i("path", { className: A === "secondary" ? "linedark linedark1" : A === "experiences" ? "lineExperiences lineExperiences1" : "line line1", d: "M 20,29.000046 H 80.000231 C 80.000231,29.000046 94.498839,28.817352 94.532987,66.711331 94.543142,77.980673 90.966081,81.670246 85.259173,81.668997 79.552261,81.667751 75.000211,74.999942 75.000211,74.999942 L 25.000021,25.000058" }),
|
|
6237
6239
|
/* @__PURE__ */ i("path", { className: A === "secondary" ? "linedark linedark2" : A === "experiences" ? "lineExperiences lineExperiences2" : "line line2", d: "M 20,50 H 80" }),
|
|
6238
6240
|
/* @__PURE__ */ i("path", { className: A === "secondary" ? "linedark linedark3" : A === "experiences" ? "lineExperiences lineExperiences3" : "line line3", d: "M 20,70.999954 H 80.000231 C 80.000231,70.999954 94.498839,71.182648 94.532987,33.288669 94.543142,22.019327 90.966081,18.329754 85.259173,18.331003 79.552261,18.332249 75.000211,25.000058 75.000211,25.000058 L 25.000021,74.999942" })
|
|
@@ -6259,26 +6261,26 @@ const js = $(
|
|
|
6259
6261
|
),
|
|
6260
6262
|
(!B || B.trim() === "") && /* @__PURE__ */ i("div", { className: `text-[10px] ${rA[A]} tracking-[4px]`, children: "DATA" })
|
|
6261
6263
|
] }) }),
|
|
6262
|
-
/* @__PURE__ */ i("div", { style: { display: r ? "none" : "block", flexGrow: 1, marginLeft: "1.5rem" }, children: /* @__PURE__ */ i("nav", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ i("ul", { className: "flex space-x-4", children: g.map(({ label:
|
|
6264
|
+
/* @__PURE__ */ i("div", { style: { display: r ? "none" : "block", flexGrow: 1, marginLeft: "1.5rem" }, children: /* @__PURE__ */ i("nav", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ i("ul", { className: "flex space-x-4", children: g.map(({ label: p, href: R, refId: F, open: tA, routerApp: wA, link: kA }) => /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(
|
|
6263
6265
|
fM,
|
|
6264
6266
|
{
|
|
6265
6267
|
href: R,
|
|
6266
6268
|
Viewport: _[A],
|
|
6267
6269
|
colorButton: IA[A],
|
|
6268
|
-
setIsOpen:
|
|
6270
|
+
setIsOpen: E,
|
|
6269
6271
|
open: tA,
|
|
6270
6272
|
routerApp: wA,
|
|
6271
6273
|
handleOpen: () => {
|
|
6272
|
-
o == null || o({ label:
|
|
6274
|
+
o == null || o({ label: p }), E(!1);
|
|
6273
6275
|
},
|
|
6274
6276
|
handleRouter: () => {
|
|
6275
|
-
t.push(kA),
|
|
6277
|
+
t.push(kA), E(!1);
|
|
6276
6278
|
},
|
|
6277
6279
|
children: /* @__PURE__ */ i(
|
|
6278
6280
|
"div",
|
|
6279
6281
|
{
|
|
6280
|
-
id:
|
|
6281
|
-
ref: V[
|
|
6282
|
+
id: F,
|
|
6283
|
+
ref: V[F],
|
|
6282
6284
|
className: `
|
|
6283
6285
|
relative inline-block px-2 py-2
|
|
6284
6286
|
text-[${IA[A]}]
|
|
@@ -6293,7 +6295,7 @@ const js = $(
|
|
|
6293
6295
|
after:duration-300
|
|
6294
6296
|
group-hover:after:w-full
|
|
6295
6297
|
`,
|
|
6296
|
-
children:
|
|
6298
|
+
children: p
|
|
6297
6299
|
}
|
|
6298
6300
|
)
|
|
6299
6301
|
}
|
|
@@ -6301,20 +6303,20 @@ const js = $(
|
|
|
6301
6303
|
] })
|
|
6302
6304
|
] })
|
|
6303
6305
|
] }),
|
|
6304
|
-
|
|
6306
|
+
l && /* @__PURE__ */ i("div", { style: { display: A === "experiences" && r ? "flex" : "", flexDirection: "column", alignItems: "end" }, className: A === "experiences" ? "absolute top-full right-0 mt-2 py-4 px-6 bg-white border border-gray-200 shadow-lg rounded-md w-56 z-50" : "space-y-1 px-2 pt-2 pb-3", children: g.map(({ label: p, href: R, open: F, routerApp: tA, link: wA }) => /* @__PURE__ */ i(
|
|
6305
6307
|
fM,
|
|
6306
6308
|
{
|
|
6307
6309
|
href: R,
|
|
6308
6310
|
Viewport: _[A],
|
|
6309
6311
|
colorButton: IA[A],
|
|
6310
|
-
setIsOpen:
|
|
6311
|
-
open:
|
|
6312
|
+
setIsOpen: E,
|
|
6313
|
+
open: F,
|
|
6312
6314
|
routerApp: tA,
|
|
6313
6315
|
handleOpen: () => {
|
|
6314
|
-
o == null || o({ label:
|
|
6316
|
+
o == null || o({ label: p }), E(!1);
|
|
6315
6317
|
},
|
|
6316
6318
|
handleRouter: () => {
|
|
6317
|
-
t.push(wA),
|
|
6319
|
+
t.push(wA), E(!1);
|
|
6318
6320
|
},
|
|
6319
6321
|
children: /* @__PURE__ */ i(
|
|
6320
6322
|
"div",
|
|
@@ -6334,7 +6336,7 @@ const js = $(
|
|
|
6334
6336
|
after:duration-300
|
|
6335
6337
|
group-hover:after:w-full
|
|
6336
6338
|
`,
|
|
6337
|
-
children:
|
|
6339
|
+
children: p
|
|
6338
6340
|
}
|
|
6339
6341
|
)
|
|
6340
6342
|
},
|
|
@@ -6480,14 +6482,14 @@ const Ts = $(
|
|
|
6480
6482
|
...s
|
|
6481
6483
|
}, o) => {
|
|
6482
6484
|
var Z, U;
|
|
6483
|
-
const [n, I] = J(0), r = MA(null),
|
|
6484
|
-
E.current = u.touches[0].clientX;
|
|
6485
|
-
}, G = (u) => {
|
|
6485
|
+
const [n, I] = J(0), r = MA(null), l = MA(null), E = MA(null), a = (u) => {
|
|
6486
6486
|
l.current = u.touches[0].clientX;
|
|
6487
|
+
}, G = (u) => {
|
|
6488
|
+
E.current = u.touches[0].clientX;
|
|
6487
6489
|
}, Y = () => {
|
|
6488
|
-
if (!
|
|
6489
|
-
const u =
|
|
6490
|
-
u > 50 ? n < A.length - 1 && I(n + 1) : u < -50 && n > 0 && I(n - 1),
|
|
6490
|
+
if (!l.current || !E.current) return;
|
|
6491
|
+
const u = l.current - E.current;
|
|
6492
|
+
u > 50 ? n < A.length - 1 && I(n + 1) : u < -50 && n > 0 && I(n - 1), l.current = null, E.current = null;
|
|
6491
6493
|
}, k = () => {
|
|
6492
6494
|
I((u) => (u + 1) % A.length);
|
|
6493
6495
|
};
|
|
@@ -6639,8 +6641,8 @@ const Jt = ({ infoText: A, disabled: g = !1, bgStyles: B }) => {
|
|
|
6639
6641
|
errorMessage: n = "",
|
|
6640
6642
|
className: I,
|
|
6641
6643
|
...r
|
|
6642
|
-
},
|
|
6643
|
-
const [
|
|
6644
|
+
}, l) => {
|
|
6645
|
+
const [E, a] = J(s), G = () => {
|
|
6644
6646
|
a(
|
|
6645
6647
|
(u) => u === "password" ? "text" : "password"
|
|
6646
6648
|
);
|
|
@@ -6676,7 +6678,7 @@ const Jt = ({ infoText: A, disabled: g = !1, bgStyles: B }) => {
|
|
|
6676
6678
|
small: "px-4 py-1.5 text-xs",
|
|
6677
6679
|
medium: "px-6 py-2.5 text-base",
|
|
6678
6680
|
large: "px-8 py-3 text-lg"
|
|
6679
|
-
}, Z = () => M === "home" ? /* @__PURE__ */ i(RB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "Left" ? /* @__PURE__ */ i(yB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "right" ? /* @__PURE__ */ i(UB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "save" ? /* @__PURE__ */ i(vB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "more" ? /* @__PURE__ */ i(dB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "update" ? /* @__PURE__ */ i(kB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "attach" ? /* @__PURE__ */ i(hB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "send" ? /* @__PURE__ */ i(FB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "delete" ? /* @__PURE__ */ i(ZB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "edit" ? /* @__PURE__ */ i(VB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "login" ? /* @__PURE__ */ i(LB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "reset" ? /* @__PURE__ */ i(fB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "add" ? /* @__PURE__ */ i(qB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "exit" ? /* @__PURE__ */ i(PB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "off" ? /* @__PURE__ */ i(zB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "calculator" ? /* @__PURE__ */ i(
|
|
6681
|
+
}, Z = () => M === "home" ? /* @__PURE__ */ i(RB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "Left" ? /* @__PURE__ */ i(yB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "right" ? /* @__PURE__ */ i(UB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "save" ? /* @__PURE__ */ i(vB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "more" ? /* @__PURE__ */ i(dB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "update" ? /* @__PURE__ */ i(kB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "attach" ? /* @__PURE__ */ i(hB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "send" ? /* @__PURE__ */ i(FB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "delete" ? /* @__PURE__ */ i(ZB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "edit" ? /* @__PURE__ */ i(VB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "login" ? /* @__PURE__ */ i(LB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "reset" ? /* @__PURE__ */ i(fB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "add" ? /* @__PURE__ */ i(qB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "exit" ? /* @__PURE__ */ i(PB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "off" ? /* @__PURE__ */ i(zB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "calculator" ? /* @__PURE__ */ i(KB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "list" ? /* @__PURE__ */ i(pB, { size: g === "small" ? 15 : 20, color: c[A] }) : M === "futbol" ? /* @__PURE__ */ i(JB, { size: g === "small" ? 15 : 20, color: c[A] }) : null, U = () => BA.isValidElement(D) ? BA.cloneElement(D, { className: "w-5 h-5" }) : Z();
|
|
6680
6682
|
return /* @__PURE__ */ m("div", { className: "relative", children: [
|
|
6681
6683
|
e && /* @__PURE__ */ m("div", { className: "flex items-center text-xs mb-1 font-medium text-gray-800", children: [
|
|
6682
6684
|
/* @__PURE__ */ i("span", { style: { color: A === "tertiary" ? "#73787f" : "" }, children: e }),
|
|
@@ -6687,8 +6689,8 @@ const Jt = ({ infoText: A, disabled: g = !1, bgStyles: B }) => {
|
|
|
6687
6689
|
/* @__PURE__ */ i(
|
|
6688
6690
|
"input",
|
|
6689
6691
|
{
|
|
6690
|
-
ref:
|
|
6691
|
-
type:
|
|
6692
|
+
ref: l,
|
|
6693
|
+
type: E,
|
|
6692
6694
|
className: z(
|
|
6693
6695
|
Y,
|
|
6694
6696
|
o ? "border-[#b91c1c] focus:ring-[#b91c1c]" : k[A],
|
|
@@ -6710,7 +6712,7 @@ const Jt = ({ infoText: A, disabled: g = !1, bgStyles: B }) => {
|
|
|
6710
6712
|
{
|
|
6711
6713
|
className: "absolute right-3 cursor-pointer",
|
|
6712
6714
|
onClick: G,
|
|
6713
|
-
children:
|
|
6715
|
+
children: E === "password" ? /* @__PURE__ */ i(Aw, { size: 20, color: c[A] }) : /* @__PURE__ */ i(gw, { size: 20, color: c[A] })
|
|
6714
6716
|
}
|
|
6715
6717
|
)
|
|
6716
6718
|
] }),
|
|
@@ -6739,8 +6741,8 @@ const xs = BA.forwardRef(
|
|
|
6739
6741
|
options: n,
|
|
6740
6742
|
className: I,
|
|
6741
6743
|
...r
|
|
6742
|
-
},
|
|
6743
|
-
const
|
|
6744
|
+
}, l) => {
|
|
6745
|
+
const E = z(
|
|
6744
6746
|
"rounded-lg font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 w-full",
|
|
6745
6747
|
{
|
|
6746
6748
|
"text-gray-900": A !== "secondary",
|
|
@@ -6772,7 +6774,7 @@ const xs = BA.forwardRef(
|
|
|
6772
6774
|
small: "px-4 py-1.5 text-xs",
|
|
6773
6775
|
medium: "px-6 py-2.5 text-base",
|
|
6774
6776
|
large: "px-8 py-3 text-lg"
|
|
6775
|
-
}, k = () => M === "home" ? /* @__PURE__ */ i(RB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "Left" ? /* @__PURE__ */ i(yB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "right" ? /* @__PURE__ */ i(UB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "save" ? /* @__PURE__ */ i(vB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "more" ? /* @__PURE__ */ i(dB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "update" ? /* @__PURE__ */ i(kB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "attach" ? /* @__PURE__ */ i(hB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "send" ? /* @__PURE__ */ i(FB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "delete" ? /* @__PURE__ */ i(ZB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "edit" ? /* @__PURE__ */ i(VB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "login" ? /* @__PURE__ */ i(LB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "reset" ? /* @__PURE__ */ i(fB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "add" ? /* @__PURE__ */ i(qB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "exit" ? /* @__PURE__ */ i(PB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "off" ? /* @__PURE__ */ i(zB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "calculator" ? /* @__PURE__ */ i(
|
|
6777
|
+
}, k = () => M === "home" ? /* @__PURE__ */ i(RB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "Left" ? /* @__PURE__ */ i(yB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "right" ? /* @__PURE__ */ i(UB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "save" ? /* @__PURE__ */ i(vB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "more" ? /* @__PURE__ */ i(dB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "update" ? /* @__PURE__ */ i(kB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "attach" ? /* @__PURE__ */ i(hB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "send" ? /* @__PURE__ */ i(FB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "delete" ? /* @__PURE__ */ i(ZB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "edit" ? /* @__PURE__ */ i(VB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "login" ? /* @__PURE__ */ i(LB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "reset" ? /* @__PURE__ */ i(fB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "add" ? /* @__PURE__ */ i(qB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "exit" ? /* @__PURE__ */ i(PB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "off" ? /* @__PURE__ */ i(zB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "calculator" ? /* @__PURE__ */ i(KB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "list" ? /* @__PURE__ */ i(pB, { size: g === "small" ? 15 : 20, color: G[A] }) : M === "futbol" ? /* @__PURE__ */ i(JB, { size: g === "small" ? 15 : 20, color: G[A] }) : null, c = () => BA.isValidElement(D) ? BA.cloneElement(D, { className: "w-5 h-5" }) : k();
|
|
6776
6778
|
return /* @__PURE__ */ m("div", { className: "relative", children: [
|
|
6777
6779
|
e && /* @__PURE__ */ m("div", { className: "flex items-center text-xs mb-1 font-medium text-gray-800", children: [
|
|
6778
6780
|
/* @__PURE__ */ i("span", { style: { color: A === "tertiary" ? "#73787f" : "" }, children: e }),
|
|
@@ -6783,9 +6785,9 @@ const xs = BA.forwardRef(
|
|
|
6783
6785
|
/* @__PURE__ */ m(
|
|
6784
6786
|
"select",
|
|
6785
6787
|
{
|
|
6786
|
-
ref:
|
|
6788
|
+
ref: l,
|
|
6787
6789
|
className: z(
|
|
6788
|
-
|
|
6790
|
+
E,
|
|
6789
6791
|
s ? "border-[#b91c1c] focus:ring-[#b91c1c]" : a[A],
|
|
6790
6792
|
g in Y ? Y[g] : "",
|
|
6791
6793
|
{
|
|
@@ -6845,10 +6847,10 @@ const Ns = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
|
|
|
6845
6847
|
company: o = "2025 GOAT DATA",
|
|
6846
6848
|
...n
|
|
6847
6849
|
}, I) => {
|
|
6848
|
-
const [r] = J("Hola, Necesito más información!"),
|
|
6850
|
+
const [r] = J("Hola, Necesito más información!"), l = `
|
|
6849
6851
|
p-2 rounded-lg text-sm bg-transparent opacity-70
|
|
6850
6852
|
cursor-pointer tracking-widest
|
|
6851
|
-
`,
|
|
6853
|
+
`, E = {
|
|
6852
6854
|
goatData: "bg-zinc-800",
|
|
6853
6855
|
secondary: "bg-[#acaaaa]",
|
|
6854
6856
|
experiences: "bg-[#a8dbce]"
|
|
@@ -6877,7 +6879,7 @@ const Ns = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
|
|
|
6877
6879
|
}, U = (u) => {
|
|
6878
6880
|
u.link && Q && Q.push(u.link);
|
|
6879
6881
|
};
|
|
6880
|
-
return /* @__PURE__ */ m("footer", { ref: I, ...n, className: `${
|
|
6882
|
+
return /* @__PURE__ */ m("footer", { ref: I, ...n, className: `${E[A]} ${Z[A]}`, style: { paddingTop: "40px" }, children: [
|
|
6881
6883
|
/* @__PURE__ */ m("div", { className: "container mx-auto px-4 md:px-8", children: [
|
|
6882
6884
|
/* @__PURE__ */ m("div", { className: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-8", children: [
|
|
6883
6885
|
/* @__PURE__ */ m("div", { className: "flex flex-col items-center", children: [
|
|
@@ -6893,10 +6895,10 @@ const Ns = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
|
|
|
6893
6895
|
] }),
|
|
6894
6896
|
/* @__PURE__ */ m("div", { className: "flex flex-col items-center", children: [
|
|
6895
6897
|
/* @__PURE__ */ i("h2", { className: "text-lg font-semibold mb-4", children: "Enlaces Rápidos" }),
|
|
6896
|
-
g.length > 0 && /* @__PURE__ */ i("div", { className: "text-center sm:text-left", style: { display: "flex", flexDirection: "column", justifyContent: "end" }, children: g.map((u, f) => /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("button", { className:
|
|
6898
|
+
g.length > 0 && /* @__PURE__ */ i("div", { className: "text-center sm:text-left", style: { display: "flex", flexDirection: "column", justifyContent: "end" }, children: g.map((u, f) => /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("button", { className: l, onClick: () => {
|
|
6897
6899
|
c(u.href);
|
|
6898
6900
|
}, children: u.label }) }, f)) }),
|
|
6899
|
-
D.length > 0 && /* @__PURE__ */ i("div", { className: "text-center sm:text-left", style: { display: "flex", flexDirection: "column", justifyContent: "end" }, children: D.map((u, f) => /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("button", { className:
|
|
6901
|
+
D.length > 0 && /* @__PURE__ */ i("div", { className: "text-center sm:text-left", style: { display: "flex", flexDirection: "column", justifyContent: "end" }, children: D.map((u, f) => /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("button", { className: l, onClick: () => {
|
|
6900
6902
|
U(u);
|
|
6901
6903
|
}, children: u.label }) }, f)) })
|
|
6902
6904
|
] }),
|
|
@@ -6944,16 +6946,16 @@ const Ns = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
|
|
|
6944
6946
|
);
|
|
6945
6947
|
Xs.displayName = "Footer";
|
|
6946
6948
|
function Ws(A) {
|
|
6947
|
-
return
|
|
6949
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "9", x2: "12", y2: "13" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "17", x2: "12.01", y2: "17" }, child: [] }] })(A);
|
|
6948
6950
|
}
|
|
6949
6951
|
function $s(A) {
|
|
6950
|
-
return
|
|
6952
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }, child: [] }, { tag: "polyline", attr: { points: "22 4 12 14.01 9 11.01" }, child: [] }] })(A);
|
|
6951
6953
|
}
|
|
6952
6954
|
function _s(A) {
|
|
6953
|
-
return
|
|
6955
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "16", x2: "12", y2: "12" }, child: [] }, { tag: "line", attr: { x1: "12", y1: "8", x2: "12.01", y2: "8" }, child: [] }] })(A);
|
|
6954
6956
|
}
|
|
6955
6957
|
function Ao(A) {
|
|
6956
|
-
return
|
|
6958
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "15", y1: "9", x2: "9", y2: "15" }, child: [] }, { tag: "line", attr: { x1: "9", y1: "9", x2: "15", y2: "15" }, child: [] }] })(A);
|
|
6957
6959
|
}
|
|
6958
6960
|
const go = $(
|
|
6959
6961
|
({ type: A = "success", message: g, duration: B = 5500, ...M }, D) => {
|
|
@@ -7054,33 +7056,33 @@ const Mo = $(
|
|
|
7054
7056
|
);
|
|
7055
7057
|
Mo.displayName = "FloatingBotton";
|
|
7056
7058
|
function Do(A) {
|
|
7057
|
-
return
|
|
7059
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M210.652 145.922c-35.467.215-70.267 6.618-89.252 14.863-14.085 43.136-16.33 127.919-6.736 180.518-8.452-4.265-18.339-6.543-28.447-6.555-28.719 0-52 17.909-52 40s23.281 40 52 40 52.002-17.909 52.002-40c-6.166-49.187-13.74-115.12-8.225-165.437 37.756-7.722 77.49-17.422 114.688-10.715-4.152 38.294-3.03 82.424 3.377 117.552-8.452-4.265-18.335-6.543-28.444-6.554-28.719 0-52 17.908-52 40 0 22.091 23.281 40 52 40s52-17.909 52-40c-4.618-72.485-18.78-132.767.33-196.436-18.492-5.267-40.012-7.365-61.293-7.236zm5.457 15.635c11.697-.073 23.313.706 34.174 2.558-1.185 5.199-2.232 10.67-3.156 16.336-37.913-5.64-78.578 1.385-114.332 9.656a227.233 227.233 0 0 1 3.277-14.884c19.722-7.718 50.145-13.48 80.037-13.666zm116.62 17.714L307.27 204.73 358.543 256l-51.272 51.271 25.458 25.458L384 281.457l51.271 51.272 25.458-25.458L409.457 256l51.272-51.271-25.458-25.458L384 230.543l-51.271-51.272z" }, child: [] }] })(A);
|
|
7058
7060
|
}
|
|
7059
7061
|
function eo(A) {
|
|
7060
|
-
return
|
|
7062
|
+
return K({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M333.782 80c128 64 128 288 0 352 192-64 192-288 0-352zm-48 16c64 50.843 64 270.217 0 321.06 128-50.843 128-270.217 0-321.06zm-75.13 49.922c-35.468.215-70.268 6.618-89.253 14.863-14.084 43.136-16.33 127.919-6.736 180.518-8.452-4.265-18.337-6.543-28.445-6.555-28.719 0-52 17.909-52 40s23.281 40 52 40 52-17.909 52-40c-6.166-49.187-13.74-115.12-8.225-165.437 37.756-7.722 77.49-17.422 114.688-10.715-4.152 38.294-3.029 82.424 3.379 117.552-8.452-4.265-18.337-6.543-28.446-6.554-28.719 0-52 17.908-52 40 0 22.091 23.281 40 52 40 28.72 0 52-17.909 52-40-4.618-72.485-18.78-132.767.33-196.436-18.491-5.267-40.012-7.365-61.293-7.236zm5.456 15.635c11.697-.073 23.313.706 34.174 2.558-1.185 5.199-2.232 10.67-3.156 16.336-37.913-5.64-78.578 1.385-114.332 9.656a227.233 227.233 0 0 1 3.277-14.884c19.722-7.718 50.145-13.48 80.037-13.666z" }, child: [] }] })(A);
|
|
7061
7063
|
}
|
|
7062
7064
|
const to = $(
|
|
7063
7065
|
({ videoSrc: A, height: g = "400px", explore: B, overlap: M, mutedVideo: D = !0, handletext4: t, handletext5: e, variant: Q = "vividPink", ...w }, C) => {
|
|
7064
7066
|
const s = MA(null), [o, n] = J(D), I = () => {
|
|
7065
|
-
const
|
|
7066
|
-
|
|
7067
|
-
|
|
7067
|
+
const E = s.current;
|
|
7068
|
+
E && E.play().catch(() => {
|
|
7069
|
+
E.play();
|
|
7068
7070
|
});
|
|
7069
|
-
}, r = (
|
|
7070
|
-
const a = document.getElementById(
|
|
7071
|
+
}, r = (E) => {
|
|
7072
|
+
const a = document.getElementById(E.slice(1));
|
|
7071
7073
|
a && a.scrollIntoView({ behavior: "smooth" });
|
|
7072
7074
|
};
|
|
7073
7075
|
T(() => {
|
|
7074
7076
|
if (s.current) {
|
|
7075
|
-
const
|
|
7076
|
-
|
|
7077
|
-
const a =
|
|
7077
|
+
const E = s.current;
|
|
7078
|
+
E.muted = o;
|
|
7079
|
+
const a = E.play();
|
|
7078
7080
|
a !== void 0 && a.catch(() => {
|
|
7079
|
-
|
|
7081
|
+
E.play();
|
|
7080
7082
|
});
|
|
7081
7083
|
}
|
|
7082
7084
|
}, [o]);
|
|
7083
|
-
const
|
|
7085
|
+
const l = {
|
|
7084
7086
|
primary: "text-white",
|
|
7085
7087
|
secondary: "text-white",
|
|
7086
7088
|
vividPink: "text-[#ff0145]",
|
|
@@ -7111,7 +7113,7 @@ const to = $(
|
|
|
7111
7113
|
/* @__PURE__ */ i(mA, { children: /* @__PURE__ */ m("h1", { className: "text-3xl md:text-5xl font-bold animate-fade-in-up", children: [
|
|
7112
7114
|
M.text1,
|
|
7113
7115
|
" ",
|
|
7114
|
-
/* @__PURE__ */ i("span", { className: `${
|
|
7116
|
+
/* @__PURE__ */ i("span", { className: `${l[Q]}`, children: M.text2 })
|
|
7115
7117
|
] }) }),
|
|
7116
7118
|
M.text3 && /* @__PURE__ */ i(mA, { children: /* @__PURE__ */ i("p", { className: "text-sm md:text-lg mb-6", children: M.text3 }) }),
|
|
7117
7119
|
/* @__PURE__ */ m("div", { className: "flex gap-4", children: [
|