@pathscale/ui 0.0.54 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +311 -247
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4462,15 +4462,15 @@ class jt extends _t {
|
|
|
4462
4462
|
}
|
|
4463
4463
|
class le extends _t {
|
|
4464
4464
|
}
|
|
4465
|
-
const
|
|
4465
|
+
const cally_x = "Custom", ue = null, fe = {
|
|
4466
4466
|
true: 1,
|
|
4467
4467
|
"": 1,
|
|
4468
4468
|
1: 1
|
|
4469
4469
|
};
|
|
4470
4470
|
function de(e, t, n, s, r) {
|
|
4471
|
-
const { type: o, reflect: a, event: u, value: i, attr: l = he(t) } = n?.name !=
|
|
4471
|
+
const { type: o, reflect: a, event: u, value: i, attr: l = he(t) } = n?.name != cally_x && R(n) && n != ue ? n : {
|
|
4472
4472
|
type: n
|
|
4473
|
-
}, c = o?.name ===
|
|
4473
|
+
}, c = o?.name === cally_x && o.map, d = null != i ? o != Function && T(i) ? i : ()=>i : null;
|
|
4474
4474
|
Object.defineProperty(e, t, {
|
|
4475
4475
|
configurable: !0,
|
|
4476
4476
|
set (f) {
|
|
@@ -4490,7 +4490,7 @@ function de(e, t, n, s, r) {
|
|
|
4490
4490
|
type: o
|
|
4491
4491
|
};
|
|
4492
4492
|
}
|
|
4493
|
-
const Yt = (e, { type: t, base: n = CustomEvent, ...s })=>e.dispatchEvent(new n(t, s)), he = (e)=>e.replace(/([A-Z])/g, "-$1").toLowerCase(), me = (e, t, n, s)=>null != s && (t != Boolean || s) ? e.setAttribute(n, t?.name ===
|
|
4493
|
+
const Yt = (e, { type: t, base: n = CustomEvent, ...s })=>e.dispatchEvent(new n(t, s)), he = (e)=>e.replace(/([A-Z])/g, "-$1").toLowerCase(), me = (e, t, n, s)=>null != s && (t != Boolean || s) ? e.setAttribute(n, t?.name === cally_x && t?.serialize ? t?.serialize(s) : R(s) ? JSON.stringify(s) : t == Boolean ? "" : s) : e.removeAttribute(n), ye = (e, t)=>e == Boolean ? !!fe[t] : e == Number ? Number(t) : e == String ? t : e == Array || e == Object ? JSON.parse(t) : e.name == cally_x ? t : new e(t), pe = ({ map: e }, t)=>{
|
|
4494
4494
|
try {
|
|
4495
4495
|
return {
|
|
4496
4496
|
value: e(t),
|
|
@@ -4525,7 +4525,7 @@ let ge = 0;
|
|
|
4525
4525
|
const ve = (e)=>{
|
|
4526
4526
|
const t = (e?.dataset || {})?.hydrate || "";
|
|
4527
4527
|
return t || "c" + ge++;
|
|
4528
|
-
},
|
|
4528
|
+
}, cally_j = (e, t = HTMLElement)=>{
|
|
4529
4529
|
const n = {}, s = {}, r = "prototype" in t && t.prototype instanceof Element, o = r ? t : "base" in t ? t.base : HTMLElement, { props: a, styles: u } = r ? e : t;
|
|
4530
4530
|
class i extends o {
|
|
4531
4531
|
constructor(){
|
|
@@ -4860,7 +4860,7 @@ const Re = Ht("host", {
|
|
|
4860
4860
|
t
|
|
4861
4861
|
]), (t || e).value;
|
|
4862
4862
|
}, Le = (e)=>{
|
|
4863
|
-
const t =
|
|
4863
|
+
const t = cally_j(()=>($e(t, cally_().current), Re), {
|
|
4864
4864
|
props: {
|
|
4865
4865
|
value: {
|
|
4866
4866
|
type: Object,
|
|
@@ -5152,7 +5152,7 @@ const tt = lt(), ft = Le({
|
|
|
5152
5152
|
}
|
|
5153
5153
|
});
|
|
5154
5154
|
customElements.define("calendar-ctx", ft);
|
|
5155
|
-
const We = (e, t)=>(t + e) % 7, Je =
|
|
5155
|
+
const We = (e, t)=>(t + e) % 7, Je = cally_j((e)=>{
|
|
5156
5156
|
const t = Ue(ft), n = ae(), s = Ke({
|
|
5157
5157
|
props: e,
|
|
5158
5158
|
context: t
|
|
@@ -5424,7 +5424,7 @@ function yt({ months: e, pageBy: t, locale: n, focusedDate: s, setFocusedDate: r
|
|
|
5424
5424
|
focus: y
|
|
5425
5425
|
};
|
|
5426
5426
|
}
|
|
5427
|
-
const Qe =
|
|
5427
|
+
const Qe = cally_j((e)=>{
|
|
5428
5428
|
const [t, n] = N("value"), [s = t, r] = N("focusedDate"), o = yt({
|
|
5429
5429
|
...e,
|
|
5430
5430
|
focusedDate: s,
|
|
@@ -5455,7 +5455,7 @@ const Mt = (e, t)=>v.compare(e, t) < 0 ? [
|
|
|
5455
5455
|
] : [
|
|
5456
5456
|
t,
|
|
5457
5457
|
e
|
|
5458
|
-
], Ve =
|
|
5458
|
+
], Ve = cally_j((e)=>{
|
|
5459
5459
|
const [t, n] = Be("value"), [s = t[0], r] = N("focusedDate"), o = yt({
|
|
5460
5460
|
...e,
|
|
5461
5461
|
focusedDate: s,
|
|
@@ -5499,7 +5499,7 @@ const Mt = (e, t)=>v.compare(e, t) < 0 ? [
|
|
|
5499
5499
|
styles: mt
|
|
5500
5500
|
});
|
|
5501
5501
|
customElements.define("calendar-range", Ve);
|
|
5502
|
-
const tn =
|
|
5502
|
+
const tn = cally_j((e)=>{
|
|
5503
5503
|
const [t, n] = qe("value"), [s = t[0], r] = N("focusedDate"), o = yt({
|
|
5504
5504
|
...e,
|
|
5505
5505
|
focusedDate: s,
|
|
@@ -9011,7 +9011,6 @@ const SidenavMenu = (props)=>{
|
|
|
9011
9011
|
const sidenav_SidenavMenu = SidenavMenu;
|
|
9012
9012
|
var SidenavItem_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<li>");
|
|
9013
9013
|
const SidenavItem = (props)=>{
|
|
9014
|
-
console.log("SidenavItem component rendered with active:", props.active);
|
|
9015
9014
|
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
9016
9015
|
"children",
|
|
9017
9016
|
"active",
|
|
@@ -9021,12 +9020,9 @@ const SidenavItem = (props)=>{
|
|
|
9021
9020
|
"style"
|
|
9022
9021
|
]);
|
|
9023
9022
|
const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
9024
|
-
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>{
|
|
9025
|
-
console.log(`SidenavItem createMemo running - active prop: ${local.active}`);
|
|
9026
|
-
return twMerge("sidenav-item", local.class, local.className, clsx({
|
|
9023
|
+
const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("sidenav-item", local.class, local.className, clsx({
|
|
9027
9024
|
"sidenav-item-active": local.active
|
|
9028
|
-
}));
|
|
9029
|
-
});
|
|
9025
|
+
})));
|
|
9030
9026
|
return (()=>{
|
|
9031
9027
|
var _el$ = SidenavItem_tmpl$();
|
|
9032
9028
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
@@ -9488,252 +9484,320 @@ const steps_Steps = Object.assign(Steps, {
|
|
|
9488
9484
|
Step: Step
|
|
9489
9485
|
});
|
|
9490
9486
|
const steps = steps_Steps;
|
|
9491
|
-
var SvgBackground_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)(
|
|
9492
|
-
function
|
|
9493
|
-
hex = hex.replace(
|
|
9494
|
-
const
|
|
9495
|
-
const
|
|
9496
|
-
const
|
|
9497
|
-
const
|
|
9498
|
-
const min = Math.min(r, g, b);
|
|
9499
|
-
let h = 0;
|
|
9500
|
-
let s = 0;
|
|
9501
|
-
const l = (max + min) / 2;
|
|
9502
|
-
if (max !== min) {
|
|
9503
|
-
const d = max - min;
|
|
9504
|
-
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
9505
|
-
switch(max){
|
|
9506
|
-
case r:
|
|
9507
|
-
h = (g - b) / d + (g < b ? 6 : 0);
|
|
9508
|
-
break;
|
|
9509
|
-
case g:
|
|
9510
|
-
h = (b - r) / d + 2;
|
|
9511
|
-
break;
|
|
9512
|
-
case b:
|
|
9513
|
-
h = (r - g) / d + 4;
|
|
9514
|
-
break;
|
|
9515
|
-
}
|
|
9516
|
-
h /= 6;
|
|
9517
|
-
}
|
|
9487
|
+
var SvgBackground_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><ellipse></svg>", false, true, false), SvgBackground_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle></svg>", false, true, false), SvgBackground_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=0 cy=0 r=100 opacity=0.7></svg>", false, true, false), SvgBackground_tmpl$4 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=400 cy=0 r=120></svg>", false, true, false), _tmpl$5 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=0 cy=400 r=100 opacity=0.7></svg>", false, true, false), _tmpl$6 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=400 cy=400 r=120></svg>", false, true, false), _tmpl$7 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=0 cy=200 r=70 opacity=0.6></svg>", false, true, false), _tmpl$8 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=200 cy=0 r=100></svg>", false, true, false), _tmpl$9 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=400 cy=200 r=100></svg>", false, true, false), _tmpl$0 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<svg><circle cx=200 cy=400 r=100></svg>", false, true, false), _tmpl$1 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div><svg class="absolute inset-0 w-full h-full z-0"viewBox="0 0 400 400"preserveAspectRatio="xMidYMid slice"xmlns=http://www.w3.org/2000/svg><rect width=400 height=400></rect></svg><div class="relative z-10 h-full w-full">');
|
|
9488
|
+
function hexToRgb(hex) {
|
|
9489
|
+
hex = hex.replace(/^#/, '');
|
|
9490
|
+
const bigint = parseInt(hex, 16);
|
|
9491
|
+
const r = bigint >> 16 & 255;
|
|
9492
|
+
const g = bigint >> 8 & 255;
|
|
9493
|
+
const b = 255 & bigint;
|
|
9518
9494
|
return {
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9495
|
+
r,
|
|
9496
|
+
g,
|
|
9497
|
+
b
|
|
9522
9498
|
};
|
|
9523
9499
|
}
|
|
9524
|
-
function
|
|
9525
|
-
const
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9500
|
+
function SvgBackground(props) {
|
|
9501
|
+
const { colorStart = '#6366f1', colorEnd = '#4f46e5', backgroundColor = '#000000', opacity = 1, blurIntensity = 40, density = 5, class: className = '', style = {}, children } = props;
|
|
9502
|
+
const getIntermediateColor = (t)=>{
|
|
9503
|
+
const start = hexToRgb(colorStart);
|
|
9504
|
+
const end = hexToRgb(colorEnd);
|
|
9505
|
+
const r = Math.round(start.r + (end.r - start.r) * t);
|
|
9506
|
+
const g = Math.round(start.g + (end.g - start.g) * t);
|
|
9507
|
+
const b = Math.round(start.b + (end.b - start.b) * t);
|
|
9508
|
+
return `#${r.toString(16).padStart(2, '0')}${g.toString(16).padStart(2, '0')}${b.toString(16).padStart(2, '0')}`;
|
|
9530
9509
|
};
|
|
9531
|
-
const
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
const min = Math.min(r, g, b);
|
|
9540
|
-
let h = 0;
|
|
9541
|
-
let s = 0;
|
|
9542
|
-
const l = (max + min) / 2;
|
|
9543
|
-
if (max !== min) {
|
|
9544
|
-
const d = max - min;
|
|
9545
|
-
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
9546
|
-
switch(max){
|
|
9547
|
-
case r:
|
|
9548
|
-
h = (g - b) / d + (g < b ? 6 : 0);
|
|
9549
|
-
break;
|
|
9550
|
-
case g:
|
|
9551
|
-
h = (b - r) / d + 2;
|
|
9552
|
-
break;
|
|
9553
|
-
case b:
|
|
9554
|
-
h = (r - g) / d + 4;
|
|
9555
|
-
break;
|
|
9556
|
-
}
|
|
9557
|
-
h /= 6;
|
|
9510
|
+
const generateShapes = ()=>{
|
|
9511
|
+
const normalizedDensity = Math.max(1, density);
|
|
9512
|
+
const maxShapes = Math.min(200, Math.max(10, Math.ceil(15 + 8 * Math.sqrt(normalizedDensity))));
|
|
9513
|
+
const colors = [];
|
|
9514
|
+
for(let i = 0; i < maxShapes; i++){
|
|
9515
|
+
const randomOffset = 0.1 * Math.sin(0.1 * i);
|
|
9516
|
+
const t = i / (maxShapes - 1) + randomOffset;
|
|
9517
|
+
colors.push(getIntermediateColor(Math.max(0, Math.min(1, t))));
|
|
9558
9518
|
}
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9519
|
+
const seed = 42;
|
|
9520
|
+
const random = (i)=>{
|
|
9521
|
+
const x = 10000 * Math.sin(seed + 100 * i);
|
|
9522
|
+
return x - Math.floor(x);
|
|
9563
9523
|
};
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9524
|
+
const gridSize = Math.ceil(Math.sqrt(maxShapes / 1.5));
|
|
9525
|
+
const cellWidth = 400 / gridSize;
|
|
9526
|
+
const cellHeight = 400 / gridSize;
|
|
9527
|
+
const minRadius = 40;
|
|
9528
|
+
const baseCount = Math.ceil(gridSize * gridSize * 0.8);
|
|
9529
|
+
const baseShapes = [];
|
|
9530
|
+
const coveredGrid = Array(gridSize).fill(0).map(()=>Array(gridSize).fill(false));
|
|
9531
|
+
for(let i = 0; i < gridSize; i++)for(let j = 0; j < gridSize; j++){
|
|
9532
|
+
if (baseShapes.length >= baseCount) continue;
|
|
9533
|
+
const isLeftSide = i < gridSize / 3;
|
|
9534
|
+
const leftSideMultiplier = isLeftSide ? 3 : 1;
|
|
9535
|
+
const skipChance = Math.max(0, (0.2 - normalizedDensity / 100) * leftSideMultiplier);
|
|
9536
|
+
if (random(100 * i + j) < skipChance) continue;
|
|
9537
|
+
coveredGrid[i][j] = true;
|
|
9538
|
+
const randomOffsetMultiplier = isLeftSide ? 1.5 : 1;
|
|
9539
|
+
const randomOffset = 0.4 * Math.min(cellWidth, cellHeight) * (1 - Math.min(1, normalizedDensity / 50)) * randomOffsetMultiplier;
|
|
9540
|
+
const cx = i * cellWidth + cellWidth / 2 + (2 * random(200 * i + j) - 1) * randomOffset;
|
|
9541
|
+
const cy = j * cellHeight + cellHeight / 2 + (2 * random(300 * i + j) - 1) * randomOffset;
|
|
9542
|
+
const sizeRatioBase = Math.max(0.6, 1.2 - 0.15 * Math.log10(normalizedDensity + 1));
|
|
9543
|
+
const sizeRatio = isLeftSide ? 0.8 * sizeRatioBase : sizeRatioBase;
|
|
9544
|
+
const baseRadius = Math.min(cellWidth, cellHeight) * sizeRatio;
|
|
9545
|
+
const sizeVariationBase = Math.max(0.2, 0.5 - normalizedDensity / 200);
|
|
9546
|
+
const sizeVariation = isLeftSide ? 1.5 * sizeVariationBase : sizeVariationBase;
|
|
9547
|
+
const radius = Math.max(minRadius, baseRadius * (0.8 + random(400 * i + j) * sizeVariation));
|
|
9548
|
+
const colorIndexBase = Math.floor(random(500 * i + j) * colors.length);
|
|
9549
|
+
const colorIndex = isLeftSide ? Math.floor((colorIndexBase + random(600 * i + j) * colors.length) / 2) : colorIndexBase;
|
|
9550
|
+
const color = colors[colorIndex];
|
|
9551
|
+
const opacity = isLeftSide && random(700 * i + j) > 0.6 ? 0.7 + 0.3 * random(800 * i + j) : 1;
|
|
9552
|
+
const ellipseChance = isLeftSide ? 0.6 : 0.4;
|
|
9553
|
+
if (random(600 * i + j) > 1 - ellipseChance) {
|
|
9554
|
+
const rx = radius;
|
|
9555
|
+
const ry = Math.max(minRadius, radius * (0.6 + 0.8 * random(700 * i + j)));
|
|
9556
|
+
const rotation = 360 * random(800 * i + j);
|
|
9557
|
+
baseShapes.push((()=>{
|
|
9558
|
+
var _el$ = SvgBackground_tmpl$();
|
|
9559
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "fill", color);
|
|
9560
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "transform", `rotate(${rotation} ${cx} ${cy})`);
|
|
9561
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
9562
|
+
var _v$ = cx.toString(), _v$2 = cy.toString(), _v$3 = rx.toString(), _v$4 = ry.toString(), _v$5 = opacity.toString();
|
|
9563
|
+
_v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "cx", _p$.e = _v$);
|
|
9564
|
+
_v$2 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "cy", _p$.t = _v$2);
|
|
9565
|
+
_v$3 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "rx", _p$.a = _v$3);
|
|
9566
|
+
_v$4 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "ry", _p$.o = _v$4);
|
|
9567
|
+
_v$5 !== _p$.i && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "opacity", _p$.i = _v$5);
|
|
9568
|
+
return _p$;
|
|
9569
|
+
}, {
|
|
9570
|
+
e: void 0,
|
|
9571
|
+
t: void 0,
|
|
9572
|
+
a: void 0,
|
|
9573
|
+
o: void 0,
|
|
9574
|
+
i: void 0
|
|
9575
|
+
});
|
|
9576
|
+
return _el$;
|
|
9577
|
+
})());
|
|
9578
|
+
} else baseShapes.push((()=>{
|
|
9579
|
+
var _el$2 = SvgBackground_tmpl$2();
|
|
9580
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$2, "fill", color);
|
|
9581
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
9582
|
+
var _v$6 = cx.toString(), _v$7 = cy.toString(), _v$8 = radius.toString(), _v$9 = opacity.toString();
|
|
9583
|
+
_v$6 !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$2, "cx", _p$.e = _v$6);
|
|
9584
|
+
_v$7 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$2, "cy", _p$.t = _v$7);
|
|
9585
|
+
_v$8 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$2, "r", _p$.a = _v$8);
|
|
9586
|
+
_v$9 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$2, "opacity", _p$.o = _v$9);
|
|
9587
|
+
return _p$;
|
|
9588
|
+
}, {
|
|
9589
|
+
e: void 0,
|
|
9590
|
+
t: void 0,
|
|
9591
|
+
a: void 0,
|
|
9592
|
+
o: void 0
|
|
9593
|
+
});
|
|
9594
|
+
return _el$2;
|
|
9595
|
+
})());
|
|
9603
9596
|
}
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
const
|
|
9634
|
-
|
|
9635
|
-
|
|
9636
|
-
|
|
9637
|
-
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
|
|
9664
|
-
|
|
9665
|
-
|
|
9666
|
-
|
|
9667
|
-
|
|
9597
|
+
for(let i = 0; i < gridSize; i++)for(let j = 0; j < gridSize; j++)if (!coveredGrid[i][j]) {
|
|
9598
|
+
const isLeftSide = i < gridSize / 3;
|
|
9599
|
+
if (isLeftSide && random(900 * i + j) < 0.3) continue;
|
|
9600
|
+
const cx = i * cellWidth + cellWidth / 2;
|
|
9601
|
+
const cy = j * cellHeight + cellHeight / 2;
|
|
9602
|
+
const radiusBase = 0.7 * Math.min(cellWidth, cellHeight);
|
|
9603
|
+
const radius = Math.max(minRadius, isLeftSide ? 0.8 * radiusBase : radiusBase);
|
|
9604
|
+
const colorIndex = Math.floor(random(900 * i + j) * colors.length);
|
|
9605
|
+
const opacity = isLeftSide ? 0.7 + 0.3 * random(950 * i + j) : 1;
|
|
9606
|
+
baseShapes.push((()=>{
|
|
9607
|
+
var _el$3 = SvgBackground_tmpl$2();
|
|
9608
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
9609
|
+
var _v$0 = cx.toString(), _v$1 = cy.toString(), _v$10 = radius.toString(), _v$11 = colors[colorIndex], _v$12 = opacity.toString();
|
|
9610
|
+
_v$0 !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "cx", _p$.e = _v$0);
|
|
9611
|
+
_v$1 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "cy", _p$.t = _v$1);
|
|
9612
|
+
_v$10 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "r", _p$.a = _v$10);
|
|
9613
|
+
_v$11 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "fill", _p$.o = _v$11);
|
|
9614
|
+
_v$12 !== _p$.i && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$3, "opacity", _p$.i = _v$12);
|
|
9615
|
+
return _p$;
|
|
9616
|
+
}, {
|
|
9617
|
+
e: void 0,
|
|
9618
|
+
t: void 0,
|
|
9619
|
+
a: void 0,
|
|
9620
|
+
o: void 0,
|
|
9621
|
+
i: void 0
|
|
9622
|
+
});
|
|
9623
|
+
return _el$3;
|
|
9624
|
+
})());
|
|
9625
|
+
}
|
|
9626
|
+
const edgeShapes = [
|
|
9627
|
+
(()=>{
|
|
9628
|
+
var _el$4 = SvgBackground_tmpl$3();
|
|
9629
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$4, "fill", colorStart);
|
|
9630
|
+
return _el$4;
|
|
9631
|
+
})(),
|
|
9632
|
+
(()=>{
|
|
9633
|
+
var _el$5 = SvgBackground_tmpl$4();
|
|
9634
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "fill", getIntermediateColor(0.25)));
|
|
9635
|
+
return _el$5;
|
|
9636
|
+
})(),
|
|
9637
|
+
(()=>{
|
|
9638
|
+
var _el$6 = _tmpl$5();
|
|
9639
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$6, "fill", getIntermediateColor(0.75)));
|
|
9640
|
+
return _el$6;
|
|
9641
|
+
})(),
|
|
9642
|
+
(()=>{
|
|
9643
|
+
var _el$7 = _tmpl$6();
|
|
9644
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$7, "fill", colorEnd);
|
|
9645
|
+
return _el$7;
|
|
9646
|
+
})(),
|
|
9647
|
+
(()=>{
|
|
9648
|
+
var _el$8 = _tmpl$7();
|
|
9649
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$8, "fill", getIntermediateColor(0.65)));
|
|
9650
|
+
return _el$8;
|
|
9651
|
+
})(),
|
|
9652
|
+
(()=>{
|
|
9653
|
+
var _el$9 = _tmpl$8();
|
|
9654
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$9, "fill", getIntermediateColor(0.15)));
|
|
9655
|
+
return _el$9;
|
|
9656
|
+
})(),
|
|
9657
|
+
(()=>{
|
|
9658
|
+
var _el$0 = _tmpl$9();
|
|
9659
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$0, "fill", getIntermediateColor(0.4)));
|
|
9660
|
+
return _el$0;
|
|
9661
|
+
})(),
|
|
9662
|
+
(()=>{
|
|
9663
|
+
var _el$1 = _tmpl$0();
|
|
9664
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$1, "fill", getIntermediateColor(0.85)));
|
|
9665
|
+
return _el$1;
|
|
9666
|
+
})()
|
|
9667
|
+
];
|
|
9668
|
+
const accentShapes = [];
|
|
9669
|
+
const accentCount = Math.max(0, maxShapes - baseShapes.length - edgeShapes.length);
|
|
9670
|
+
const leftSideAccentCount = Math.floor(0.6 * accentCount);
|
|
9671
|
+
const rightSideAccentCount = accentCount - leftSideAccentCount;
|
|
9672
|
+
for(let i = 0; i < leftSideAccentCount; i++){
|
|
9673
|
+
const cx = 20 + 120 * random(1000 + i);
|
|
9674
|
+
const cy = 20 + 360 * random(2000 + i);
|
|
9675
|
+
const radius = minRadius * (0.5 + 0.6 * random(3000 + i));
|
|
9676
|
+
const colorIndex = Math.floor(random(4000 + i) * colors.length);
|
|
9677
|
+
const opacity = 0.6 + 0.4 * random(5500 + i);
|
|
9678
|
+
if (random(5000 + i) > 0.4) accentShapes.push((()=>{
|
|
9679
|
+
var _el$10 = SvgBackground_tmpl$2();
|
|
9680
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
9681
|
+
var _v$13 = cx.toString(), _v$14 = cy.toString(), _v$15 = radius.toString(), _v$16 = colors[colorIndex], _v$17 = opacity.toString();
|
|
9682
|
+
_v$13 !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$10, "cx", _p$.e = _v$13);
|
|
9683
|
+
_v$14 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$10, "cy", _p$.t = _v$14);
|
|
9684
|
+
_v$15 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$10, "r", _p$.a = _v$15);
|
|
9685
|
+
_v$16 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$10, "fill", _p$.o = _v$16);
|
|
9686
|
+
_v$17 !== _p$.i && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$10, "opacity", _p$.i = _v$17);
|
|
9687
|
+
return _p$;
|
|
9688
|
+
}, {
|
|
9689
|
+
e: void 0,
|
|
9690
|
+
t: void 0,
|
|
9691
|
+
a: void 0,
|
|
9692
|
+
o: void 0,
|
|
9693
|
+
i: void 0
|
|
9694
|
+
});
|
|
9695
|
+
return _el$10;
|
|
9696
|
+
})());
|
|
9697
|
+
else {
|
|
9698
|
+
const rx = radius;
|
|
9699
|
+
const ry = radius * (0.4 + 0.6 * random(6000 + i));
|
|
9700
|
+
const rotation = 360 * random(7000 + i);
|
|
9701
|
+
accentShapes.push((()=>{
|
|
9702
|
+
var _el$11 = SvgBackground_tmpl$();
|
|
9703
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$11, "transform", `rotate(${rotation} ${cx} ${cy})`);
|
|
9704
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
9705
|
+
var _v$18 = cx.toString(), _v$19 = cy.toString(), _v$20 = rx.toString(), _v$21 = ry.toString(), _v$22 = colors[colorIndex], _v$23 = opacity.toString();
|
|
9706
|
+
_v$18 !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$11, "cx", _p$.e = _v$18);
|
|
9707
|
+
_v$19 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$11, "cy", _p$.t = _v$19);
|
|
9708
|
+
_v$20 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$11, "rx", _p$.a = _v$20);
|
|
9709
|
+
_v$21 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$11, "ry", _p$.o = _v$21);
|
|
9710
|
+
_v$22 !== _p$.i && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$11, "fill", _p$.i = _v$22);
|
|
9711
|
+
_v$23 !== _p$.n && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$11, "opacity", _p$.n = _v$23);
|
|
9712
|
+
return _p$;
|
|
9713
|
+
}, {
|
|
9714
|
+
e: void 0,
|
|
9715
|
+
t: void 0,
|
|
9716
|
+
a: void 0,
|
|
9717
|
+
o: void 0,
|
|
9718
|
+
i: void 0,
|
|
9719
|
+
n: void 0
|
|
9720
|
+
});
|
|
9721
|
+
return _el$11;
|
|
9722
|
+
})());
|
|
9723
|
+
}
|
|
9724
|
+
}
|
|
9725
|
+
for(let i = 0; i < rightSideAccentCount; i++){
|
|
9726
|
+
const cx = 140 + 260 * random(8000 + i);
|
|
9727
|
+
const cy = 20 + 360 * random(9000 + i);
|
|
9728
|
+
const radius = minRadius * (0.7 + 0.8 * random(10000 + i));
|
|
9729
|
+
const colorIndex = Math.floor(random(11000 + i) * colors.length);
|
|
9730
|
+
if (random(12000 + i) > 0.3) accentShapes.push((()=>{
|
|
9731
|
+
var _el$12 = SvgBackground_tmpl$2();
|
|
9732
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
9733
|
+
var _v$24 = cx.toString(), _v$25 = cy.toString(), _v$26 = radius.toString(), _v$27 = colors[colorIndex];
|
|
9734
|
+
_v$24 !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$12, "cx", _p$.e = _v$24);
|
|
9735
|
+
_v$25 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$12, "cy", _p$.t = _v$25);
|
|
9736
|
+
_v$26 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$12, "r", _p$.a = _v$26);
|
|
9737
|
+
_v$27 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$12, "fill", _p$.o = _v$27);
|
|
9738
|
+
return _p$;
|
|
9739
|
+
}, {
|
|
9740
|
+
e: void 0,
|
|
9741
|
+
t: void 0,
|
|
9742
|
+
a: void 0,
|
|
9743
|
+
o: void 0
|
|
9744
|
+
});
|
|
9745
|
+
return _el$12;
|
|
9746
|
+
})());
|
|
9747
|
+
else {
|
|
9748
|
+
const rx = radius;
|
|
9749
|
+
const ry = radius * (0.5 + 0.8 * random(13000 + i));
|
|
9750
|
+
const rotation = 360 * random(14000 + i);
|
|
9751
|
+
accentShapes.push((()=>{
|
|
9752
|
+
var _el$13 = SvgBackground_tmpl$();
|
|
9753
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$13, "transform", `rotate(${rotation} ${cx} ${cy})`);
|
|
9754
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
9755
|
+
var _v$28 = cx.toString(), _v$29 = cy.toString(), _v$30 = rx.toString(), _v$31 = ry.toString(), _v$32 = colors[colorIndex];
|
|
9756
|
+
_v$28 !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$13, "cx", _p$.e = _v$28);
|
|
9757
|
+
_v$29 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$13, "cy", _p$.t = _v$29);
|
|
9758
|
+
_v$30 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$13, "rx", _p$.a = _v$30);
|
|
9759
|
+
_v$31 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$13, "ry", _p$.o = _v$31);
|
|
9760
|
+
_v$32 !== _p$.i && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$13, "fill", _p$.i = _v$32);
|
|
9761
|
+
return _p$;
|
|
9762
|
+
}, {
|
|
9763
|
+
e: void 0,
|
|
9764
|
+
t: void 0,
|
|
9765
|
+
a: void 0,
|
|
9766
|
+
o: void 0,
|
|
9767
|
+
i: void 0
|
|
9768
|
+
});
|
|
9769
|
+
return _el$13;
|
|
9770
|
+
})());
|
|
9771
|
+
}
|
|
9772
|
+
}
|
|
9773
|
+
return [
|
|
9774
|
+
...edgeShapes,
|
|
9775
|
+
...baseShapes,
|
|
9776
|
+
...accentShapes
|
|
9777
|
+
];
|
|
9778
|
+
};
|
|
9779
|
+
const backgroundStyle = ()=>({
|
|
9668
9780
|
position: 'relative',
|
|
9781
|
+
overflow: 'hidden',
|
|
9782
|
+
filter: `blur(${blurIntensity}px)`,
|
|
9669
9783
|
...style
|
|
9670
|
-
})
|
|
9784
|
+
});
|
|
9671
9785
|
return (()=>{
|
|
9672
|
-
var _el$ =
|
|
9673
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el
|
|
9674
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$
|
|
9675
|
-
|
|
9676
|
-
|
|
9677
|
-
var _ref$2 = gradientStop2Ref;
|
|
9678
|
-
"function" == typeof _ref$2 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$2, _el$6) : gradientStop2Ref = _el$6;
|
|
9679
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, (()=>{
|
|
9680
|
-
var _c$ = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>!!shouldUseFilters());
|
|
9681
|
-
return ()=>_c$() && (()=>{
|
|
9682
|
-
var _el$9 = SvgBackground_tmpl$2();
|
|
9683
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$9, "id", filterId);
|
|
9684
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$9, (()=>{
|
|
9685
|
-
var _c$2 = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.memo)(()=>!!isGrayscaleColors());
|
|
9686
|
-
return ()=>_c$2() ? (()=>{
|
|
9687
|
-
var _el$0 = SvgBackground_tmpl$3();
|
|
9688
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$0, "stdDeviation", `${0.3 * blurIntensity} ${0.3 * blurIntensity}`);
|
|
9689
|
-
return _el$0;
|
|
9690
|
-
})() : [
|
|
9691
|
-
(()=>{
|
|
9692
|
-
var _el$1 = SvgBackground_tmpl$4();
|
|
9693
|
-
var _ref$3 = turbulenceRef;
|
|
9694
|
-
"function" == typeof _ref$3 ? (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.use)(_ref$3, _el$1) : turbulenceRef = _el$1;
|
|
9695
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$1, "baseFrequency", `${animatedColors().turbFreq1} ${animatedColors().turbFreq2}`));
|
|
9696
|
-
return _el$1;
|
|
9697
|
-
})(),
|
|
9698
|
-
(()=>{
|
|
9699
|
-
var _el$10 = _tmpl$5();
|
|
9700
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$10, "stdDeviation", `${blurIntensity} ${blurIntensity}`);
|
|
9701
|
-
return _el$10;
|
|
9702
|
-
})(),
|
|
9703
|
-
(()=>{
|
|
9704
|
-
var _el$11 = _tmpl$6();
|
|
9705
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$11, "mode", "color-dodge");
|
|
9706
|
-
return _el$11;
|
|
9707
|
-
})()
|
|
9708
|
-
];
|
|
9709
|
-
})());
|
|
9710
|
-
return _el$9;
|
|
9711
|
-
})();
|
|
9712
|
-
})(), null);
|
|
9713
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$7, "fill", `url(#${gradientId})`);
|
|
9714
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, darkness > 0 && (()=>{
|
|
9715
|
-
var _el$12 = _tmpl$7();
|
|
9716
|
-
_el$12.style.setProperty("background-color", `rgba(0, 0, 0, ${darkness})`);
|
|
9717
|
-
_el$12.style.setProperty("pointer-events", "none");
|
|
9718
|
-
return _el$12;
|
|
9719
|
-
})(), _el$8);
|
|
9720
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$8, children);
|
|
9786
|
+
var _el$14 = _tmpl$1(), _el$15 = _el$14.firstChild, _el$16 = _el$15.firstChild, _el$17 = _el$15.nextSibling;
|
|
9787
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$14, `relative flex items-center justify-center ${className}`);
|
|
9788
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$16, "fill", backgroundColor);
|
|
9789
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$15, generateShapes, null);
|
|
9790
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$17, children);
|
|
9721
9791
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
9722
|
-
var _v$ = backgroundStyle(), _v$
|
|
9723
|
-
_p$.e = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el
|
|
9724
|
-
_v$
|
|
9725
|
-
_v$3 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "stop-color", _p$.a = _v$3);
|
|
9726
|
-
_v$4 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$6, "stop-color", _p$.o = _v$4);
|
|
9727
|
-
_v$5 !== _p$.i && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$7, "filter", _p$.i = _v$5);
|
|
9792
|
+
var _v$33 = backgroundStyle(), _v$34 = opacity.toString();
|
|
9793
|
+
_p$.e = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$14, _v$33, _p$.e);
|
|
9794
|
+
_v$34 !== _p$.t && (null != (_p$.t = _v$34) ? _el$15.style.setProperty("opacity", _v$34) : _el$15.style.removeProperty("opacity"));
|
|
9728
9795
|
return _p$;
|
|
9729
9796
|
}, {
|
|
9730
9797
|
e: void 0,
|
|
9731
|
-
t: void 0
|
|
9732
|
-
a: void 0,
|
|
9733
|
-
o: void 0,
|
|
9734
|
-
i: void 0
|
|
9798
|
+
t: void 0
|
|
9735
9799
|
});
|
|
9736
|
-
return _el
|
|
9800
|
+
return _el$14;
|
|
9737
9801
|
})();
|
|
9738
9802
|
}
|
|
9739
9803
|
var Swap_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<label><input type=checkbox>");
|