@bedrock-layout/solid 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.m.js CHANGED
@@ -1,259 +1,17 @@
1
- import { splitProps as G, createMemo as B, sharedConfig as h, untrack as ie, createRenderEffect as C, createComponent as se, mergeProps as g, createContext as re, useContext as oe, createSignal as $, onMount as V, createEffect as _, onCleanup as U, children as le } from "solid-js";
2
- import { init as Q, registerCallback as J } from "@bedrock-layout/register-resize-callback";
3
- function j() {
4
- return j = Object.assign || function(e) {
5
- for (var t = 1; t < arguments.length; t++) {
6
- var n = arguments[t];
7
- for (var i in n)
8
- Object.prototype.hasOwnProperty.call(n, i) && (e[i] = n[i]);
9
- }
10
- return e;
11
- }, j.apply(this, arguments);
12
- }
13
- var ce = j({}, { "--gray-0": "#f8f9fa", "--gray-1": "#f1f3f5", "--gray-2": "#e9ecef", "--gray-3": "#dee2e6", "--gray-4": "#ced4da", "--gray-5": "#adb5bd", "--gray-6": "#868e96", "--gray-7": "#495057", "--gray-8": "#343a40", "--gray-9": "#212529", "--gray-10": "#16191d", "--gray-11": "#0d0f12", "--gray-12": "#030507" }, { "--stone-0": "#f8fafb", "--stone-1": "#f2f4f6", "--stone-2": "#ebedef", "--stone-3": "#e0e4e5", "--stone-4": "#d1d6d8", "--stone-5": "#b1b6b9", "--stone-6": "#979b9d", "--stone-7": "#7e8282", "--stone-8": "#666968", "--stone-9": "#50514f", "--stone-10": "#3a3a37", "--stone-11": "#252521", "--stone-12": "#121210" }, { "--red-0": "#fff5f5", "--red-1": "#ffe3e3", "--red-2": "#ffc9c9", "--red-3": "#ffa8a8", "--red-4": "#ff8787", "--red-5": "#ff6b6b", "--red-6": "#fa5252", "--red-7": "#f03e3e", "--red-8": "#e03131", "--red-9": "#c92a2a", "--red-10": "#b02525", "--red-11": "#962020", "--red-12": "#7d1a1a" }, { "--pink-0": "#fff0f6", "--pink-1": "#ffdeeb", "--pink-2": "#fcc2d7", "--pink-3": "#faa2c1", "--pink-4": "#f783ac", "--pink-5": "#f06595", "--pink-6": "#e64980", "--pink-7": "#d6336c", "--pink-8": "#c2255c", "--pink-9": "#a61e4d", "--pink-10": "#8c1941", "--pink-11": "#731536", "--pink-12": "#59102a" }, { "--purple-0": "#f8f0fc", "--purple-1": "#f3d9fa", "--purple-2": "#eebefa", "--purple-3": "#e599f7", "--purple-4": "#da77f2", "--purple-5": "#cc5de8", "--purple-6": "#be4bdb", "--purple-7": "#ae3ec9", "--purple-8": "#9c36b5", "--purple-9": "#862e9c", "--purple-10": "#702682", "--purple-11": "#5a1e69", "--purple-12": "#44174f" }, { "--violet-0": "#f3f0ff", "--violet-1": "#e5dbff", "--violet-2": "#d0bfff", "--violet-3": "#b197fc", "--violet-4": "#9775fa", "--violet-5": "#845ef7", "--violet-6": "#7950f2", "--violet-7": "#7048e8", "--violet-8": "#6741d9", "--violet-9": "#5f3dc4", "--violet-10": "#5235ab", "--violet-11": "#462d91", "--violet-12": "#3a2578" }, { "--indigo-0": "#edf2ff", "--indigo-1": "#dbe4ff", "--indigo-2": "#bac8ff", "--indigo-3": "#91a7ff", "--indigo-4": "#748ffc", "--indigo-5": "#5c7cfa", "--indigo-6": "#4c6ef5", "--indigo-7": "#4263eb", "--indigo-8": "#3b5bdb", "--indigo-9": "#364fc7", "--indigo-10": "#2f44ad", "--indigo-11": "#283a94", "--indigo-12": "#21307a" }, { "--blue-0": "#e7f5ff", "--blue-1": "#d0ebff", "--blue-2": "#a5d8ff", "--blue-3": "#74c0fc", "--blue-4": "#4dabf7", "--blue-5": "#339af0", "--blue-6": "#228be6", "--blue-7": "#1c7ed6", "--blue-8": "#1971c2", "--blue-9": "#1864ab", "--blue-10": "#145591", "--blue-11": "#114678", "--blue-12": "#0d375e" }, { "--cyan-0": "#e3fafc", "--cyan-1": "#c5f6fa", "--cyan-2": "#99e9f2", "--cyan-3": "#66d9e8", "--cyan-4": "#3bc9db", "--cyan-5": "#22b8cf", "--cyan-6": "#15aabf", "--cyan-7": "#1098ad", "--cyan-8": "#0c8599", "--cyan-9": "#0b7285", "--cyan-10": "#095c6b", "--cyan-11": "#074652", "--cyan-12": "#053038" }, { "--teal-0": "#e6fcf5", "--teal-1": "#c3fae8", "--teal-2": "#96f2d7", "--teal-3": "#63e6be", "--teal-4": "#38d9a9", "--teal-5": "#20c997", "--teal-6": "#12b886", "--teal-7": "#0ca678", "--teal-8": "#099268", "--teal-9": "#087f5b", "--teal-10": "#066649", "--teal-11": "#054d37", "--teal-12": "#033325" }, { "--green-0": "#ebfbee", "--green-1": "#d3f9d8", "--green-2": "#b2f2bb", "--green-3": "#8ce99a", "--green-4": "#69db7c", "--green-5": "#51cf66", "--green-6": "#40c057", "--green-7": "#37b24d", "--green-8": "#2f9e44", "--green-9": "#2b8a3e", "--green-10": "#237032", "--green-11": "#1b5727", "--green-12": "#133d1b" }, { "--lime-0": "#f4fce3", "--lime-1": "#e9fac8", "--lime-2": "#d8f5a2", "--lime-3": "#c0eb75", "--lime-4": "#a9e34b", "--lime-5": "#94d82d", "--lime-6": "#82c91e", "--lime-7": "#74b816", "--lime-8": "#66a80f", "--lime-9": "#5c940d", "--lime-10": "#4c7a0b", "--lime-11": "#3c6109", "--lime-12": "#2c4706" }, { "--yellow-0": "#fff9db", "--yellow-1": "#fff3bf", "--yellow-2": "#ffec99", "--yellow-3": "#ffe066", "--yellow-4": "#ffd43b", "--yellow-5": "#fcc419", "--yellow-6": "#fab005", "--yellow-7": "#f59f00", "--yellow-8": "#f08c00", "--yellow-9": "#e67700", "--yellow-10": "#b35c00", "--yellow-11": "#804200", "--yellow-12": "#663500" }, { "--orange-0": "#fff4e6", "--orange-1": "#ffe8cc", "--orange-2": "#ffd8a8", "--orange-3": "#ffc078", "--orange-4": "#ffa94d", "--orange-5": "#ff922b", "--orange-6": "#fd7e14", "--orange-7": "#f76707", "--orange-8": "#e8590c", "--orange-9": "#d9480f", "--orange-10": "#bf400d", "--orange-11": "#99330b", "--orange-12": "#802b09" }, { "--choco-0": "#fff8dc", "--choco-1": "#fce1bc", "--choco-2": "#f7ca9e", "--choco-3": "#f1b280", "--choco-4": "#e99b62", "--choco-5": "#df8545", "--choco-6": "#d46e25", "--choco-7": "#bd5f1b", "--choco-8": "#a45117", "--choco-9": "#8a4513", "--choco-10": "#703a13", "--choco-11": "#572f12", "--choco-12": "#3d210d" }, { "--brown-0": "#faf4eb", "--brown-1": "#ede0d1", "--brown-2": "#e0cab7", "--brown-3": "#d3b79e", "--brown-4": "#c5a285", "--brown-5": "#b78f6d", "--brown-6": "#a87c56", "--brown-7": "#956b47", "--brown-8": "#825b3a", "--brown-9": "#6f4b2d", "--brown-10": "#5e3a21", "--brown-11": "#4e2b15", "--brown-12": "#422412" }, { "--sand-0": "#f8fafb", "--sand-1": "#e6e4dc", "--sand-2": "#d5cfbd", "--sand-3": "#c2b9a0", "--sand-4": "#aea58c", "--sand-5": "#9a9178", "--sand-6": "#867c65", "--sand-7": "#736a53", "--sand-8": "#5f5746", "--sand-9": "#4b4639", "--sand-10": "#38352d", "--sand-11": "#252521", "--sand-12": "#121210" }, { "--camo-0": "#f9fbe7", "--camo-1": "#e8ed9c", "--camo-2": "#d2df4e", "--camo-3": "#c2ce34", "--camo-4": "#b5bb2e", "--camo-5": "#a7a827", "--camo-6": "#999621", "--camo-7": "#8c851c", "--camo-8": "#7e7416", "--camo-9": "#6d6414", "--camo-10": "#5d5411", "--camo-11": "#4d460e", "--camo-12": "#36300a" }, { "--jungle-0": "#ecfeb0", "--jungle-1": "#def39a", "--jungle-2": "#d0e884", "--jungle-3": "#c2dd6e", "--jungle-4": "#b5d15b", "--jungle-5": "#a8c648", "--jungle-6": "#9bbb36", "--jungle-7": "#8fb024", "--jungle-8": "#84a513", "--jungle-9": "#7a9908", "--jungle-10": "#658006", "--jungle-11": "#516605", "--jungle-12": "#3d4d04" }), de = j({}, { "--gray-0-hsl": "210 17% 98%", "--gray-1-hsl": "210 17% 95%", "--gray-2-hsl": "210 16% 93%", "--gray-3-hsl": "210 14% 89%", "--gray-4-hsl": "210 14% 83%", "--gray-5-hsl": "210 11% 71%", "--gray-6-hsl": "210 7% 56%", "--gray-7-hsl": "210 9% 31%", "--gray-8-hsl": "210 10% 23%", "--gray-9-hsl": "210 11% 15%", "--gray-10-hsl": "214 14% 10%", "--gray-11-hsl": "216 16% 6%", "--gray-12-hsl": "210 40% 2%" }, { "--stone-0-hsl": "200 27% 98%", "--stone-1-hsl": "210 18% 96%", "--stone-2-hsl": "210 11% 93%", "--stone-3-hsl": "192 9% 89%", "--stone-4-hsl": "197 8% 83%", "--stone-5-hsl": "202 5% 71%", "--stone-6-hsl": "200 3% 60%", "--stone-7-hsl": "180 2% 50%", "--stone-8-hsl": "160 1% 41%", "--stone-9-hsl": "90 1% 31%", "--stone-10-hsl": "60 3% 22%", "--stone-11-hsl": "60 6% 14%", "--stone-12-hsl": "60 6% 7%" }, { "--red-0-hsl": "0 100% 98%", "--red-1-hsl": "0 100% 95%", "--red-2-hsl": "0 100% 89%", "--red-3-hsl": "0 100% 83%", "--red-4-hsl": "0 100% 76%", "--red-5-hsl": "0 100% 71%", "--red-6-hsl": "0 94% 65%", "--red-7-hsl": "0 86% 59%", "--red-8-hsl": "0 74% 54%", "--red-9-hsl": "0 65% 48%", "--red-10-hsl": "0 65% 42%", "--red-11-hsl": "0 65% 36%", "--red-12-hsl": "0 66% 30%" }, { "--pink-0-hsl": "336 100% 97%", "--pink-1-hsl": "336 100% 94%", "--pink-2-hsl": "338 91% 87%", "--pink-3-hsl": "339 90% 81%", "--pink-4-hsl": "339 88% 74%", "--pink-5-hsl": "339 82% 67%", "--pink-6-hsl": "339 76% 59%", "--pink-7-hsl": "339 67% 52%", "--pink-8-hsl": "339 68% 45%", "--pink-9-hsl": "339 69% 38%", "--pink-10-hsl": "339 70% 32%", "--pink-11-hsl": "339 69% 27%", "--pink-12-hsl": "339 70% 21%" }, { "--purple-0-hsl": "280 67% 96%", "--purple-1-hsl": "287 77% 92%", "--purple-2-hsl": "288 86% 86%", "--purple-3-hsl": "289 85% 78%", "--purple-4-hsl": "288 83% 71%", "--purple-5-hsl": "288 75% 64%", "--purple-6-hsl": "288 67% 58%", "--purple-7-hsl": "288 56% 52%", "--purple-8-hsl": "288 54% 46%", "--purple-9-hsl": "288 54% 40%", "--purple-10-hsl": "288 55% 33%", "--purple-11-hsl": "288 56% 26%", "--purple-12-hsl": "288 55% 20%" }, { "--violet-0-hsl": "252 100% 97%", "--violet-1-hsl": "257 100% 93%", "--violet-2-hsl": "256 100% 87%", "--violet-3-hsl": "255 94% 79%", "--violet-4-hsl": "255 93% 72%", "--violet-5-hsl": "255 91% 67%", "--violet-6-hsl": "255 86% 63%", "--violet-7-hsl": "255 78% 60%", "--violet-8-hsl": "255 67% 55%", "--violet-9-hsl": "255 53% 50%", "--violet-10-hsl": "255 53% 44%", "--violet-11-hsl": "255 53% 37%", "--violet-12-hsl": "255 53% 31%" }, { "--indigo-0-hsl": "223 100% 96%", "--indigo-1-hsl": "225 100% 93%", "--indigo-2-hsl": "228 100% 86%", "--indigo-3-hsl": "228 100% 78%", "--indigo-4-hsl": "228 96% 72%", "--indigo-5-hsl": "228 94% 67%", "--indigo-6-hsl": "228 89% 63%", "--indigo-7-hsl": "228 81% 59%", "--indigo-8-hsl": "228 69% 55%", "--indigo-9-hsl": "230 57% 50%", "--indigo-10-hsl": "230 57% 43%", "--indigo-11-hsl": "230 57% 37%", "--indigo-12-hsl": "230 57% 30%" }, { "--blue-0-hsl": "205 100% 95%", "--blue-1-hsl": "206 100% 91%", "--blue-2-hsl": "206 100% 82%", "--blue-3-hsl": "206 96% 72%", "--blue-4-hsl": "207 91% 64%", "--blue-5-hsl": "207 86% 57%", "--blue-6-hsl": "208 80% 52%", "--blue-7-hsl": "208 77% 47%", "--blue-8-hsl": "209 77% 43%", "--blue-9-hsl": "209 75% 38%", "--blue-10-hsl": "209 76% 32%", "--blue-11-hsl": "209 75% 27%", "--blue-12-hsl": "209 76% 21%" }, { "--cyan-0-hsl": "185 81% 94%", "--cyan-1-hsl": "185 84% 88%", "--cyan-2-hsl": "186 77% 77%", "--cyan-3-hsl": "187 74% 65%", "--cyan-4-hsl": "187 69% 55%", "--cyan-5-hsl": "188 72% 47%", "--cyan-6-hsl": "187 80% 42%", "--cyan-7-hsl": "188 83% 37%", "--cyan-8-hsl": "189 85% 32%", "--cyan-9-hsl": "189 85% 28%", "--cyan-10-hsl": "189 84% 23%", "--cyan-11-hsl": "190 84% 17%", "--cyan-12-hsl": "189 84% 12%" }, { "--teal-0-hsl": "161 79% 95%", "--teal-1-hsl": "160 85% 87%", "--teal-2-hsl": "162 78% 77%", "--teal-3-hsl": "162 72% 65%", "--teal-4-hsl": "162 68% 54%", "--teal-5-hsl": "162 73% 46%", "--teal-6-hsl": "162 82% 40%", "--teal-7-hsl": "162 87% 35%", "--teal-8-hsl": "162 88% 30%", "--teal-9-hsl": "162 88% 26%", "--teal-10-hsl": "162 89% 21%", "--teal-11-hsl": "162 88% 16%", "--teal-12-hsl": "163 89% 11%" }, { "--green-0-hsl": "131 67% 95%", "--green-1-hsl": "128 76% 90%", "--green-2-hsl": "128 71% 82%", "--green-3-hsl": "129 68% 73%", "--green-4-hsl": "130 61% 64%", "--green-5-hsl": "130 57% 56%", "--green-6-hsl": "131 50% 50%", "--green-7-hsl": "131 53% 46%", "--green-8-hsl": "131 54% 40%", "--green-9-hsl": "132 52% 35%", "--green-10-hsl": "132 52% 29%", "--green-11-hsl": "132 53% 22%", "--green-12-hsl": "131 53% 16%" }, { "--lime-0-hsl": "79 81% 94%", "--lime-1-hsl": "80 83% 88%", "--lime-2-hsl": "81 81% 80%", "--lime-3-hsl": "82 75% 69%", "--lime-4-hsl": "83 73% 59%", "--lime-5-hsl": "84 69% 51%", "--lime-6-hsl": "85 74% 45%", "--lime-7-hsl": "85 79% 40%", "--lime-8-hsl": "86 84% 36%", "--lime-9-hsl": "85 84% 32%", "--lime-10-hsl": "85 83% 26%", "--lime-11-hsl": "85 83% 21%", "--lime-12-hsl": "85 84% 15%" }, { "--yellow-0-hsl": "50 100% 93%", "--yellow-1-hsl": "49 100% 87%", "--yellow-2-hsl": "49 100% 80%", "--yellow-3-hsl": "48 100% 70%", "--yellow-4-hsl": "47 100% 62%", "--yellow-5-hsl": "45 97% 54%", "--yellow-6-hsl": "42 96% 50%", "--yellow-7-hsl": "39 100% 48%", "--yellow-8-hsl": "35 100% 47%", "--yellow-9-hsl": "31 100% 45%", "--yellow-10-hsl": "31 100% 35%", "--yellow-11-hsl": "31 100% 25%", "--yellow-12-hsl": "31 100% 20%" }, { "--orange-0-hsl": "34 100% 95%", "--orange-1-hsl": "33 100% 90%", "--orange-2-hsl": "33 100% 83%", "--orange-3-hsl": "32 100% 74%", "--orange-4-hsl": "31 100% 65%", "--orange-5-hsl": "29 100% 58%", "--orange-6-hsl": "27 98% 54%", "--orange-7-hsl": "24 94% 50%", "--orange-8-hsl": "21 90% 48%", "--orange-9-hsl": "17 87% 45%", "--orange-10-hsl": "17 87% 40%", "--orange-11-hsl": "17 87% 32%", "--orange-12-hsl": "17 87% 27%" }, { "--choco-0-hsl": "48 100% 93%", "--choco-1-hsl": "35 91% 86%", "--choco-2-hsl": "30 85% 79%", "--choco-3-hsl": "27 80% 72%", "--choco-4-hsl": "25 75% 65%", "--choco-5-hsl": "25 71% 57%", "--choco-6-hsl": "25 70% 49%", "--choco-7-hsl": "25 75% 42%", "--choco-8-hsl": "25 75% 37%", "--choco-9-hsl": "25 76% 31%", "--choco-10-hsl": "25 71% 26%", "--choco-11-hsl": "25 66% 21%", "--choco-12-hsl": "25 65% 15%" }, { "--brown-0-hsl": "36 60% 95%", "--brown-1-hsl": "32 44% 87%", "--brown-2-hsl": "28 40% 80%", "--brown-3-hsl": "28 38% 72%", "--brown-4-hsl": "27 36% 65%", "--brown-5-hsl": "28 34% 57%", "--brown-6-hsl": "28 32% 50%", "--brown-7-hsl": "28 35% 43%", "--brown-8-hsl": "28 38% 37%", "--brown-9-hsl": "27 42% 31%", "--brown-10-hsl": "25 48% 25%", "--brown-11-hsl": "23 58% 19%", "--brown-12-hsl": "22 57% 16%" }, { "--sand-0-hsl": "200 27% 98%", "--sand-1-hsl": "48 17% 88%", "--sand-2-hsl": "45 22% 79%", "--sand-3-hsl": "44 22% 69%", "--sand-4-hsl": "44 17% 62%", "--sand-5-hsl": "44 14% 54%", "--sand-6-hsl": "42 14% 46%", "--sand-7-hsl": "43 16% 39%", "--sand-8-hsl": "41 15% 32%", "--sand-9-hsl": "43 14% 26%", "--sand-10-hsl": "44 11% 20%", "--sand-11-hsl": "60 6% 14%", "--sand-12-hsl": "60 6% 7%" }, { "--camo-0-hsl": "66 71% 95%", "--camo-1-hsl": "64 69% 77%", "--camo-2-hsl": "65 69% 59%", "--camo-3-hsl": "65 61% 51%", "--camo-4-hsl": "63 61% 46%", "--camo-5-hsl": "60 62% 41%", "--camo-6-hsl": "59 65% 36%", "--camo-7-hsl": "56 67% 33%", "--camo-8-hsl": "54 70% 29%", "--camo-9-hsl": "54 69% 25%", "--camo-10-hsl": "53 69% 22%", "--camo-11-hsl": "53 69% 18%", "--camo-12-hsl": "52 69% 13%" }, { "--jungle-0-hsl": "74 98% 84%", "--jungle-1-hsl": "74 79% 78%", "--jungle-2-hsl": "74 68% 71%", "--jungle-3-hsl": "75 62% 65%", "--jungle-4-hsl": "74 56% 59%", "--jungle-5-hsl": "74 53% 53%", "--jungle-6-hsl": "74 55% 47%", "--jungle-7-hsl": "74 66% 42%", "--jungle-8-hsl": "74 79% 36%", "--jungle-9-hsl": "73 90% 32%", "--jungle-10-hsl": "73 91% 26%", "--jungle-11-hsl": "73 91% 21%", "--jungle-12-hsl": "73 90% 16%" }), E = { "--shadow-color": "220 3% 15%", "--shadow-strength": "1%", "--shadow-color-@media:dark": "220 40% 2%", "--shadow-strength-@media:dark": "25%", "--shadow-1": "0 1px 2px -1px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))", "--shadow-2": `
14
- 0 3px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
15
- 0 7px 14px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%))`, "--shadow-3": `
16
- 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
17
- 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
18
- 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
19
- 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
20
- 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))`, "--shadow-4": `
21
- 0 -2px 5px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
22
- 0 1px 1px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
23
- 0 2px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
24
- 0 5px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
25
- 0 9px 9px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
26
- 0 16px 16px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%))`, "--shadow-5": `
27
- 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
28
- 0 2px 1px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
29
- 0 5px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
30
- 0 10px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
31
- 0 20px 20px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
32
- 0 40px 40px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))`, "--shadow-6": `
33
- 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
34
- 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
35
- 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
36
- 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
37
- 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
38
- 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)),
39
- 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))`, "--inner-shadow-0": "inset 0 0 0 1px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))", "--inner-shadow-1": "inset 0 1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))", "--inner-shadow-2": "inset 0 1px 4px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))", "--inner-shadow-3": "inset 0 2px 8px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))", "--inner-shadow-4": "inset 0 2px 14px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 9%))" };
40
- Object.fromEntries(Object.entries(E).map(function(e) {
41
- var t = e[1];
42
- return [e[0], t = (t = t.replace(/var(--shadow-color)/g, E["--shadow-color"])).replace(/var(--shadow-strength)/g, E["--shadow-strength"])];
43
- }).filter(function(e) {
44
- return !["--shadow-color", "--shadow-strength"].includes(e[0]);
45
- }));
46
- var fe = function(e) {
47
- for (var t in e)
48
- e[n = t, (n = n.replace(/[-]+(.)?/g, function(i, s) {
49
- return s ? s.toUpperCase() : "";
50
- })).substr(0, 1).toLowerCase() + n.substr(1)] = e[t];
51
- var n;
52
- return e;
53
- }(j({}, { "--animation-fade-in": "fade-in .5s var(--ease-3)", "--animation-fade-in-@": `
54
- @keyframes fade-in {
55
- to { opacity: 1 }
56
- }`, "--animation-fade-in-bloom": "fade-in-bloom 2s var(--ease-3)", "--animation-fade-in-bloom-@": `
57
- @keyframes fade-in-bloom {
58
- 0% { opacity: 0; filter: brightness(1) blur(20px) }
59
- 10% { opacity: 1; filter: brightness(2) blur(10px) }
60
- 100% { opacity: 1; filter: brightness(1) blur(0) }
61
- }`, "--animation-fade-in-bloom-@media:dark": `
62
- @keyframes fade-in-bloom {
63
- 0% { opacity: 0; filter: brightness(1) blur(20px) }
64
- 10% { opacity: 1; filter: brightness(0.5) blur(10px) }
65
- 100% { opacity: 1; filter: brightness(1) blur(0) }
66
- }`, "--animation-fade-out": "fade-out .5s var(--ease-3)", "--animation-fade-out-@": `
67
- @keyframes fade-out {
68
- to { opacity: 0 }
69
- }`, "--animation-fade-out-bloom": "fade-out-bloom 2s var(--ease-3)", "--animation-fade-out-bloom-@": `
70
- @keyframes fade-out-bloom {
71
- 100% { opacity: 0; filter: brightness(1) blur(20px) }
72
- 10% { opacity: 1; filter: brightness(2) blur(10px) }
73
- 0% { opacity: 1; filter: brightness(1) blur(0) }
74
- }`, "--animation-fade-out-bloom-@media:dark": `
75
- @keyframes fade-out-bloom {
76
- 100% { opacity: 0; filter: brightness(1) blur(20px) }
77
- 10% { opacity: 1; filter: brightness(0.5) blur(10px) }
78
- 0% { opacity: 1; filter: brightness(1) blur(0) }
79
- }`, "--animation-scale-up": "scale-up .5s var(--ease-3)", "--animation-scale-up-@": `
80
- @keyframes scale-up {
81
- to { transform: scale(1.25) }
82
- }`, "--animation-scale-down": "scale-down .5s var(--ease-3)", "--animation-scale-down-@": `
83
- @keyframes scale-down {
84
- to { transform: scale(.75) }
85
- }`, "--animation-slide-out-up": "slide-out-up .5s var(--ease-3)", "--animation-slide-out-up-@": `
86
- @keyframes slide-out-up {
87
- to { transform: translateY(-100%) }
88
- }`, "--animation-slide-out-down": "slide-out-down .5s var(--ease-3)", "--animation-slide-out-down-@": `
89
- @keyframes slide-out-down {
90
- to { transform: translateY(100%) }
91
- }`, "--animation-slide-out-right": "slide-out-right .5s var(--ease-3)", "--animation-slide-out-right-@": `
92
- @keyframes slide-out-right {
93
- to { transform: translateX(100%) }
94
- }`, "--animation-slide-out-left": "slide-out-left .5s var(--ease-3)", "--animation-slide-out-left-@": `
95
- @keyframes slide-out-left {
96
- to { transform: translateX(-100%) }
97
- }`, "--animation-slide-in-up": "slide-in-up .5s var(--ease-3)", "--animation-slide-in-up-@": `
98
- @keyframes slide-in-up {
99
- from { transform: translateY(100%) }
100
- }`, "--animation-slide-in-down": "slide-in-down .5s var(--ease-3)", "--animation-slide-in-down-@": `
101
- @keyframes slide-in-down {
102
- from { transform: translateY(-100%) }
103
- }`, "--animation-slide-in-right": "slide-in-right .5s var(--ease-3)", "--animation-slide-in-right-@": `
104
- @keyframes slide-in-right {
105
- from { transform: translateX(-100%) }
106
- }`, "--animation-slide-in-left": "slide-in-left .5s var(--ease-3)", "--animation-slide-in-left-@": `
107
- @keyframes slide-in-left {
108
- from { transform: translateX(100%) }
109
- }`, "--animation-shake-x": "shake-x .75s var(--ease-out-5)", "--animation-shake-x-@": `
110
- @keyframes shake-x {
111
- 0%, 100% { transform: translateX(0%) }
112
- 20% { transform: translateX(-5%) }
113
- 40% { transform: translateX(5%) }
114
- 60% { transform: translateX(-5%) }
115
- 80% { transform: translateX(5%) }
116
- }`, "--animation-shake-y": "shake-y .75s var(--ease-out-5)", "--animation-shake-y-@": `
117
- @keyframes shake-y {
118
- 0%, 100% { transform: translateY(0%) }
119
- 20% { transform: translateY(-5%) }
120
- 40% { transform: translateY(5%) }
121
- 60% { transform: translateY(-5%) }
122
- 80% { transform: translateY(5%) }
123
- }`, "--animation-spin": "spin 2s linear infinite", "--animation-spin-@": `
124
- @keyframes spin {
125
- to { transform: rotate(1turn) }
126
- }`, "--animation-ping": "ping 5s var(--ease-out-3) infinite", "--animation-ping-@": `
127
- @keyframes ping {
128
- 90%, 100% {
129
- transform: scale(2);
130
- opacity: 0;
131
- }
132
- }`, "--animation-blink": "blink 1s var(--ease-out-3) infinite", "--animation-blink-@": `
133
- @keyframes blink {
134
- 0%, 100% {
135
- opacity: 1
136
- }
137
- 50% {
138
- opacity: .5
139
- }
140
- }`, "--animation-float": "float 3s var(--ease-in-out-3) infinite", "--animation-float-@": `
141
- @keyframes float {
142
- 50% { transform: translateY(-25%) }
143
- }`, "--animation-bounce": "bounce 2s var(--ease-squish-2) infinite", "--animation-bounce-@": `
144
- @keyframes bounce {
145
- 25% { transform: translateY(-20%) }
146
- 40% { transform: translateY(-3%) }
147
- 0%, 60%, 100% { transform: translateY(0) }
148
- }`, "--animation-pulse": "pulse 2s var(--ease-out-3) infinite", "--animation-pulse-@": `
149
- @keyframes pulse {
150
- 50% { transform: scale(.9,.9) }
151
- }` }, { "--size-000": "-.5rem", "--size-00": "-.25rem", "--size-1": ".25rem", "--size-2": ".5rem", "--size-3": "1rem", "--size-4": "1.25rem", "--size-5": "1.5rem", "--size-6": "1.75rem", "--size-7": "2rem", "--size-8": "3rem", "--size-9": "4rem", "--size-10": "5rem", "--size-11": "7.5rem", "--size-12": "10rem", "--size-13": "15rem", "--size-14": "20rem", "--size-15": "30rem", "--size-fluid-1": "clamp(.5rem, 1vw, 1rem)", "--size-fluid-2": "clamp(1rem, 2vw, 1.5rem)", "--size-fluid-3": "clamp(1.5rem, 3vw, 2rem)", "--size-fluid-4": "clamp(2rem, 4vw, 3rem)", "--size-fluid-5": "clamp(4rem, 5vw, 5rem)", "--size-fluid-6": "clamp(5rem, 7vw, 7.5rem)", "--size-fluid-7": "clamp(7.5rem, 10vw, 10rem)", "--size-fluid-8": "clamp(10rem, 20vw, 15rem)", "--size-fluid-9": "clamp(15rem, 30vw, 20rem)", "--size-fluid-10": "clamp(20rem, 40vw, 30rem)", "--size-content-1": "20ch", "--size-content-2": "45ch", "--size-content-3": "60ch", "--size-header-1": "20ch", "--size-header-2": "25ch", "--size-header-3": "35ch", "--size-xxs": "240px", "--size-xs": "360px", "--size-sm": "480px", "--size-md": "768px", "--size-lg": "1024px", "--size-xl": "1440px", "--size-xxl": "1920px" }, ce, de, { "--font-sans": "system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif", "--font-serif": "ui-serif,serif", "--font-mono": "Dank Mono,Operator Mono,Inconsolata,Fira Mono,ui-monospace,SF Mono,Monaco,Droid Sans Mono,Source Code Pro,monospace", "--font-weight-1": "100", "--font-weight-2": "200", "--font-weight-3": "300", "--font-weight-4": "400", "--font-weight-5": "500", "--font-weight-6": "600", "--font-weight-7": "700", "--font-weight-8": "800", "--font-weight-9": "900", "--font-lineheight-00": ".95", "--font-lineheight-0": "1.1", "--font-lineheight-1": "1.25", "--font-lineheight-2": "1.375", "--font-lineheight-3": "1.5", "--font-lineheight-4": "1.75", "--font-lineheight-5": "2", "--font-letterspacing-0": "-.05em", "--font-letterspacing-1": ".025em", "--font-letterspacing-2": ".050em", "--font-letterspacing-3": ".075em", "--font-letterspacing-4": ".150em", "--font-letterspacing-5": ".500em", "--font-letterspacing-6": ".750em", "--font-letterspacing-7": "1em", "--font-size-00": ".5rem", "--font-size-0": ".75rem", "--font-size-1": "1rem", "--font-size-2": "1.1rem", "--font-size-3": "1.25rem", "--font-size-4": "1.5rem", "--font-size-5": "2rem", "--font-size-6": "2.5rem", "--font-size-7": "3rem", "--font-size-8": "3.5rem", "--font-size-fluid-0": "clamp(.75rem, 2vw, 1rem)", "--font-size-fluid-1": "clamp(1rem, 4vw, 1.5rem)", "--font-size-fluid-2": "clamp(1.5rem, 6vw, 2.5rem)", "--font-size-fluid-3": "clamp(2rem, 9vw, 3.5rem)" }, { "--border-size-1": "1px", "--border-size-2": "2px", "--border-size-3": "5px", "--border-size-4": "10px", "--border-size-5": "25px", "--radius-1": "2px", "--radius-2": "5px", "--radius-3": "1rem", "--radius-4": "2rem", "--radius-5": "4rem", "--radius-6": "8rem", "--radius-round": "1e5px", "--radius-blob-1": "30% 70% 70% 30% / 53% 30% 70% 47%", "--radius-blob-2": "53% 47% 34% 66% / 63% 46% 54% 37%", "--radius-blob-3": "37% 63% 56% 44% / 49% 56% 44% 51%", "--radius-blob-4": "63% 37% 37% 63% / 43% 37% 63% 57%", "--radius-blob-5": "49% 51% 48% 52% / 57% 44% 56% 43%", "--radius-conditional-1": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-1))", "--radius-conditional-2": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-2))", "--radius-conditional-3": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-3))", "--radius-conditional-4": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-4))", "--radius-conditional-5": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-5))", "--radius-conditional-6": "clamp(0px, calc(100vw - 100%) * 1e5, var(--radius-6))" }, { "--ratio-square": "1", "--ratio-landscape": "4/3", "--ratio-portrait": "3/4", "--ratio-widescreen": "16/9", "--ratio-ultrawide": "18/5", "--ratio-golden": "1.6180/1" }, { "--ease-1": "cubic-bezier(.25, 0, .5, 1)", "--ease-2": "cubic-bezier(.25, 0, .4, 1)", "--ease-3": "cubic-bezier(.25, 0, .3, 1)", "--ease-4": "cubic-bezier(.25, 0, .2, 1)", "--ease-5": "cubic-bezier(.25, 0, .1, 1)", "--ease-in-1": "cubic-bezier(.25, 0, 1, 1)", "--ease-in-2": "cubic-bezier(.50, 0, 1, 1)", "--ease-in-3": "cubic-bezier(.70, 0, 1, 1)", "--ease-in-4": "cubic-bezier(.90, 0, 1, 1)", "--ease-in-5": "cubic-bezier(1, 0, 1, 1)", "--ease-out-1": "cubic-bezier(0, 0, .75, 1)", "--ease-out-2": "cubic-bezier(0, 0, .50, 1)", "--ease-out-3": "cubic-bezier(0, 0, .3, 1)", "--ease-out-4": "cubic-bezier(0, 0, .1, 1)", "--ease-out-5": "cubic-bezier(0, 0, 0, 1)", "--ease-in-out-1": "cubic-bezier(.1, 0, .9, 1)", "--ease-in-out-2": "cubic-bezier(.3, 0, .7, 1)", "--ease-in-out-3": "cubic-bezier(.5, 0, .5, 1)", "--ease-in-out-4": "cubic-bezier(.7, 0, .3, 1)", "--ease-in-out-5": "cubic-bezier(.9, 0, .1, 1)", "--ease-elastic-1": "cubic-bezier(.5, .75, .75, 1.25)", "--ease-elastic-2": "cubic-bezier(.5, 1, .75, 1.25)", "--ease-elastic-3": "cubic-bezier(.5, 1.25, .75, 1.25)", "--ease-elastic-4": "cubic-bezier(.5, 1.5, .75, 1.25)", "--ease-elastic-5": "cubic-bezier(.5, 1.75, .75, 1.25)", "--ease-squish-1": "cubic-bezier(.5, -.1, .1, 1.5)", "--ease-squish-2": "cubic-bezier(.5, -.3, .1, 1.5)", "--ease-squish-3": "cubic-bezier(.5, -.5, .1, 1.5)", "--ease-squish-4": "cubic-bezier(.5, -.7, .1, 1.5)", "--ease-squish-5": "cubic-bezier(.5, -.9, .1, 1.5)", "--ease-step-1": "steps(2)", "--ease-step-2": "steps(3)", "--ease-step-3": "steps(4)", "--ease-step-4": "steps(7)", "--ease-step-5": "steps(10)" }, { "--squircle-1": `url("data:image/svg+xml,%3Csvg viewbox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d=' M 0, 75 C 0, 18.75 18.75, 0 75, 0 S 150, 18.75 150, 75 131.25, 150 75, 150 0, 131.25 0, 75 ' fill='%23FADB5F' transform='rotate( 0, 100, 100 ) translate( 25 25 )'%3E%3C/path%3E%3C/svg%3E")`, "--squircle-2": `url("data:image/svg+xml,%3Csvg viewbox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d=' M 0, 75 C 0, 13.500000000000004 13.500000000000004, 0 75, 0 S 150, 13.500000000000004 150, 75 136.5, 150 75, 150 0, 136.5 0, 75 ' fill='%23FADB5F' transform='rotate( 0, 100, 100 ) translate( 25 25 )'%3E%3C/path%3E%3C/svg%3E")`, "--squircle-3": `url("data:image/svg+xml,%3Csvg viewbox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d=' M 0, 75 C 0, 5.999999999999997 5.999999999999997, 0 75, 0 S 150, 5.999999999999997 150, 75 144, 150 75, 150 0, 144 0, 75 ' fill='%23FADB5F' transform='rotate( 0, 100, 100 ) translate( 25 25 )'%3E%3C/path%3E%3C/svg%3E")` }, { "--gradient-1": "linear-gradient(to bottom right,#1f005c, #5b0060, #870160, #ac255e, #ca485c, #e16b5c, #f39060, #ffb56b)", "--gradient-2": "linear-gradient(to bottom right,#48005c, #8300e2, #a269ff)", "--gradient-3": `
152
- radial-gradient(
153
- circle at top right,
154
- hsl(180 100% 50%), hsl(180 100% 50% / 0%)
155
- ),
156
- radial-gradient(
157
- circle at bottom left,
158
- hsl(328 100% 54%), hsl(328 100% 54% / 0%)
159
- )`, "--gradient-4": "linear-gradient(to bottom right,#00F5A0,#00D9F5)", "--gradient-5": "conic-gradient(from -270deg at 75% 110%, fuchsia, floralwhite)", "--gradient-6": "conic-gradient(from -90deg at top left, black, white)", "--gradient-7": "linear-gradient(to bottom right,#72C6EF,#004E8F)", "--gradient-8": "conic-gradient(from 90deg at 50% 0%, #111, 50%, #222, #111)", "--gradient-9": "conic-gradient(from .5turn at bottom center, lightblue, white)", "--gradient-10": "conic-gradient(from 90deg at 40% -25%, #ffd700, #f79d03, #ee6907, #e6390a, #de0d0d, #d61039, #cf1261, #c71585, #cf1261, #d61039, #de0d0d, #ee6907, #f79d03, #ffd700, #ffd700, #ffd700)", "--gradient-11": "conic-gradient(at bottom left, deeppink, cyan)", "--gradient-12": "conic-gradient(from 90deg at 25% -10%, #ff4500, #d3f340, #7bee85, #afeeee, #7bee85)", "--gradient-13": "radial-gradient(circle at 50% 200%, #000142, #3b0083, #b300c3, #ff059f, #ff4661, #ffad86, #fff3c7)", "--gradient-14": "conic-gradient(at top right, lime, cyan)", "--gradient-15": "linear-gradient(to bottom right, #c7d2fe, #fecaca, #fef3c7)", "--gradient-16": "radial-gradient(circle at 50% -250%, #374151, #111827, #000)", "--gradient-17": "conic-gradient(from -90deg at 50% -25%, blue, blueviolet)", "--gradient-18": `
160
- linear-gradient(0deg, hsla(0 100% 50% / 80%), hsla(0 100% 50% / 0) 75%),
161
- linear-gradient(60deg, hsla(60 100% 50% / 80%), hsla(60 100% 50% / 0) 75%),
162
- linear-gradient(120deg, hsla(120 100% 50% / 80%), hsla(120 100% 50% / 0) 75%),
163
- linear-gradient(180deg, hsla(180 100% 50% / 80%), hsla(180 100% 50% / 0) 75%),
164
- linear-gradient(240deg, hsla(240 100% 50% / 80%), hsla(240 100% 50% / 0) 75%),
165
- linear-gradient(300deg, hsla(300 100% 50% / 80%), hsla(300 100% 50% / 0) 75%)
166
- `, "--gradient-19": "linear-gradient(to bottom right,#ffe259,#ffa751)", "--gradient-20": "conic-gradient(from -135deg at -10% center, #ffa500, #ff7715, #ff522a, #ff3f47, #ff5482, #ff69b4)", "--gradient-21": "conic-gradient(from -90deg at 25% 115%, #ff0000, #ff0066, #ff00cc, #cc00ff, #6600ff, #0000ff, #0000ff, #0000ff, #0000ff)", "--gradient-22": "linear-gradient(to bottom right,#acb6e5,#86fde8)", "--gradient-23": "linear-gradient(to bottom right,#536976,#292E49)", "--gradient-24": "conic-gradient(from .5turn at 0% 0%, #00c476, 10%, #82b0ff, 90%, #00c476)", "--gradient-25": "conic-gradient(at 125% 50%, #b78cf7, #ff7c94, #ffcf0d, #ff7c94, #b78cf7)", "--gradient-26": "linear-gradient(to bottom right,#9796f0,#fbc7d4)", "--gradient-27": "conic-gradient(from .5turn at bottom left, deeppink, rebeccapurple)", "--gradient-28": "conic-gradient(from -90deg at 50% 105%, white, orchid)", "--gradient-29": `
167
- radial-gradient(
168
- circle at top right,
169
- hsl(250 100% 85%), hsl(250 100% 85% / 0%)
170
- ),
171
- radial-gradient(
172
- circle at bottom left,
173
- hsl(220 90% 75%), hsl(220 90% 75% / 0%)
174
- )`, "--gradient-30": `radial-gradient(
175
- circle at top right,
176
- hsl(150 100% 50%), hsl(150 100% 50% / 0%)
177
- ),
178
- radial-gradient(
179
- circle at bottom left,
180
- hsl(150 100% 84%), hsl(150 100% 84% / 0%)
181
- )`, "--noise-1": `url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, "--noise-2": `url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, "--noise-3": `url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.25' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, "--noise-4": `url("data:image/svg+xml,%3Csvg viewBox='0 0 2056 2056' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, "--noise-5": `url("data:image/svg+xml,%3Csvg viewBox='0 0 2056 2056' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`, "--noise-filter-1": "contrast(300%) brightness(100%)", "--noise-filter-2": "contrast(200%) brightness(150%)", "--noise-filter-3": "contrast(200%) brightness(250%)", "--noise-filter-4": "contrast(200%) brightness(500%)", "--noise-filter-5": "contrast(200%) brightness(1000%)" }, E, { "--layer-1": 1, "--layer-2": 2, "--layer-3": 3, "--layer-4": 4, "--layer-5": 5, "--layer-important": 2147483647 }, { "--mask-edge-scoop-bottom": "radial-gradient(20px at 50% 100%,#0000 97%,#000) 50% / calc(1.9 * 20px) 100%", "--mask-edge-scoop-top": "radial-gradient(20px at 50% 0,#0000 97%,#000) 50% / calc(1.9 * 20px) 100%", "--mask-edge-scoop-vertical": "radial-gradient(20px at 50% 20px,#0000 97%,#000) 50% -20px/ calc(1.9 * 20px) 100%", "--mask-edge-scoop-left": "radial-gradient(20px at 0 50%,#0000 97%,#000) 50%/ 100% calc(1.9 * 20px)", "--mask-edge-scoop-right": "radial-gradient(20px at 100% 50%,#0000 97%,#000) 50%/ 100% calc(1.9 * 20px)", "--mask-edge-scoop-horizontal": "radial-gradient(20px at 20px 50%,#0000 97%,#000) -20px/ 100% calc(1.9 * 20px)", "--mask-edge-scalloped": `
182
- radial-gradient(farthest-side,#000 97%,#0000) 0 0 / 20px 20px round,
183
- linear-gradient(#000 0 0) 50%/calc(100% - 20px) calc(100% - 20px) no-repeat
184
- `, "--mask-edge-scalloped-bottom": `
185
- linear-gradient(to top,#0000 20px,#000 0),
186
- radial-gradient(20px at top,#000 97%,#0000) bottom / calc(1.9 * 20px) 20px
187
- `, "--mask-edge-scalloped-top": `
188
- linear-gradient(to bottom,#0000 20px,#000 0),
189
- radial-gradient(20px at bottom,#000 97%,#0000) top / calc(1.9 * 20px) 20px
190
- `, "--mask-edge-scalloped-vertical": `
191
- linear-gradient(0deg,#0000 calc(2 * 20px),#000 0) 0 20px,
192
- radial-gradient(20px,#000 97%,#0000) 50% / calc(1.9 * 20px) calc(2 * 20px) repeat space
193
- `, "--mask-edge-scalloped-left": `
194
- linear-gradient(to right,#0000 20px,#000 0),
195
- radial-gradient(20px at right,#000 97%,#0000) left / 20px calc(1.9 * 20px)
196
- `, "--mask-edge-scalloped-right": `
197
- linear-gradient(to left,#0000 20px,#000 0),
198
- radial-gradient(20px at left,#000 97%,#0000) right / 20px calc(1.9 * 20px)
199
- `, "--mask-edge-scalloped-horizontal": `
200
- linear-gradient(-90deg,#0000 calc(2 * 20px),#000 0) 20px,
201
- radial-gradient(20px,#000 97%,#0000) 50% / calc(2 * 20px) calc(1.9 * 20px) space repeat
202
- `, "--mask-edge-drip-bottom": `
203
- radial-gradient(20px at bottom,#0000 97%,#000) 50% calc(100% - 20px) / calc(2 * 20px) 100% repeat-x,
204
- radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 20px) 99% / calc(4 * 20px) calc(2 * 20px) repeat-x
205
- `, "--mask-edge-drip-top": `
206
- radial-gradient(20px at top,#0000 97%,#000) 50% 20px / calc(2 * 20px) 100% repeat-x,
207
- radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 20px) 1% / calc(4 * 20px) calc(2 * 20px) repeat-x
208
- `, "--mask-edge-drip-vertical": `
209
- radial-gradient(20px at top ,#0000 97%,#000) 50% 20px / calc(2 * 20px) 51% repeat-x,
210
- radial-gradient(20px at bottom,#0000 97%,#000) 50% calc(100% - 20px) / calc(2 * 20px) 51% repeat-x,
211
- radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 20px) 1% / calc(4 * 20px) calc(2 * 20px) repeat-x,
212
- radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 3*20px) 99% / calc(4 * 20px) calc(2 * 20px) repeat-x
213
- `, "--mask-edge-drip-left": `
214
- radial-gradient(20px at left,#0000 97%,#000) 20px 50% / 100% calc(2 * 20px) repeat-y,
215
- radial-gradient(20px at 50% 25%,#000 97%,#0000) 1% calc(50% - 20px) / calc(2 * 20px) calc(4 * 20px) repeat-y
216
- `, "--mask-edge-drip-right": `
217
- radial-gradient(20px at right,#0000 97%,#000) calc(100% - 20px) 50% / 100% calc(2 * 20px) repeat-y,
218
- radial-gradient(20px at 50% 25%,#000 97%,#0000) 99% calc(50% - 20px) / calc(2 * 20px) calc(4 * 20px) repeat-y
219
- `, "--mask-edge-drip-horizontal": `
220
- radial-gradient(20px at left ,#0000 97%,#000) 20px 50% / 51% calc(2 * 20px) repeat-y,
221
- radial-gradient(20px at right,#0000 97%,#000) calc(100% - 20px) 50% / 51% calc(2 * 20px) repeat-y,
222
- radial-gradient(20px at 50% 25%,#000 97%,#0000) 1% calc(50% - 20px) / calc(2 * 20px) calc(4 * 20px) repeat-y,
223
- radial-gradient(20px at 50% 25%,#000 97%,#0000) 99% calc(50% - 3*20px) / calc(2 * 20px) calc(4 * 20px) repeat-y
224
- `, "--mask-edge-zig-zag-top": "conic-gradient(from 135deg at top,#0000,#000 1deg 90deg,#0000 91deg) 50% / calc(2 * 20px) 100%", "--mask-edge-zig-zag-bottom": "conic-gradient(from -45deg at bottom,#0000,#000 1deg 90deg,#0000 91deg) 50% / calc(2 * 20px) 100%", "--mask-edge-zig-zag-left": "conic-gradient(from 45deg at left,#0000,#000 1deg 90deg,#0000 91deg) 50% / 100% calc(2 * 20px)", "--mask-edge-zig-zag-right": "conic-gradient(from -135deg at right,#0000,#000 1deg 90deg,#0000 91deg) 50% / 100% calc(2 * 20px)", "--mask-edge-zig-zag-horizontal": `
225
- conic-gradient(from 45deg at left ,#0000,#000 1deg 90deg,#0000 91deg) left / 51% calc(2 * 20px) repeat-y,
226
- conic-gradient(from -135deg at right,#0000,#000 1deg 90deg,#0000 91deg) right / 51% calc(2 * 20px) repeat-y
227
- `, "--mask-edge-zig-zag-vertical": `
228
- conic-gradient(from 135deg at top ,#0000,#000 1deg 90deg,#0000 91deg) top / calc(2 * 20px) 51% repeat-x,
229
- conic-gradient(from -45deg at bottom,#0000,#000 1deg 90deg,#0000 91deg) bottom / calc(2 * 20px) 51% repeat-x
230
- ` }, { "--mask-corner-cut-circles-1": "radial-gradient(1rem at 1rem 1rem,#0000 99%,#000) -1rem -1rem", "--mask-corner-cut-circles-2": "radial-gradient(2rem at 2rem 2rem,#0000 99%,#000) -2rem -2rem", "--mask-corner-cut-circles-3": "radial-gradient(4rem at 4rem 4rem,#0000 99%,#000) -4rem -4rem", "--mask-corner-cut-squares-1": "conic-gradient(at calc(2*1rem) calc(2*1rem),#000 75%,#0000 0) -1rem -1rem", "--mask-corner-cut-squares-2": "conic-gradient(at calc(2*2rem) calc(2*2rem),#000 75%,#0000 0) -2rem -2rem", "--mask-corner-cut-squares-3": "conic-gradient(at calc(2*4rem) calc(2*4rem),#000 75%,#0000 0) -4rem -4rem", "--mask-corner-cut-angles-1": `
231
- conic-gradient(from -45deg at 1rem 1rem,#0000 25%,#000 0)
232
- -1rem 0 /100% 51% repeat-x,
233
- conic-gradient(from 135deg at 1rem calc(100% - 1rem),#0000 25%,#000 0)
234
- -1rem 100%/100% 51% repeat-x
235
- `, "--mask-corner-cut-angles-2": `
236
- conic-gradient(from -45deg at 2rem 2rem,#0000 25%,#000 0)
237
- -2rem 0 /100% 51% repeat-x,
238
- conic-gradient(from 135deg at 2rem calc(100% - 2rem),#0000 25%,#000 0)
239
- -2rem 100%/100% 51% repeat-x
240
- `, "--mask-corner-cut-angles-3": `
241
- conic-gradient(from -45deg at 4rem 4rem,#0000 25%,#000 0)
242
- -4rem 0 /100% 51% repeat-x,
243
- conic-gradient(from 135deg at 4rem calc(100% - 4rem),#0000 25%,#000 0)
244
- -4rem 100%/100% 51% repeat-x
245
- ` }));
246
- const he = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], ge = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...he]), me = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), ue = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
1
+ import re from "open-props";
2
+ import { createRenderEffect as S, sharedConfig as d, splitProps as V, createMemo as I, untrack as X, createComponent as E, mergeProps as u, createContext as ce, useContext as le, createSignal as z, onMount as q, createEffect as U, onCleanup as Q, children as fe } from "solid-js";
3
+ import { init as J, registerCallback as Y } from "@bedrock-layout/register-resize-callback";
4
+ const ae = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], ue = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...ae]), de = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), ye = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
247
5
  className: "class",
248
6
  htmlFor: "for"
249
- }), W = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
7
+ }), B = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
250
8
  class: "className",
251
9
  formnovalidate: "formNoValidate",
252
10
  ismap: "isMap",
253
11
  nomodule: "noModule",
254
12
  playsinline: "playsInline",
255
13
  readonly: "readOnly"
256
- }), pe = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), be = /* @__PURE__ */ new Set([
14
+ }), me = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), he = /* @__PURE__ */ new Set([
257
15
  "altGlyph",
258
16
  "altGlyphDef",
259
17
  "altGlyphItem",
@@ -330,173 +88,187 @@ const he = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "con
330
88
  "use",
331
89
  "view",
332
90
  "vkern"
333
- ]), ye = {
91
+ ]), ge = {
334
92
  xlink: "http://www.w3.org/1999/xlink",
335
93
  xml: "http://www.w3.org/XML/1998/namespace"
336
94
  };
337
- function xe(e, t, n) {
338
- let i = n.length, s = t.length, o = i, r = 0, a = 0, l = t[s - 1].nextSibling, c = null;
339
- for (; r < s || a < o; ) {
340
- if (t[r] === n[a]) {
341
- r++, a++;
95
+ function be(e, t, n) {
96
+ let i = n.length, s = t.length, r = i, c = 0, o = 0, l = t[s - 1].nextSibling, f = null;
97
+ for (; c < s || o < r; ) {
98
+ if (t[c] === n[o]) {
99
+ c++, o++;
342
100
  continue;
343
101
  }
344
- for (; t[s - 1] === n[o - 1]; )
345
- s--, o--;
346
- if (s === r) {
347
- const d = o < i ? a ? n[a - 1].nextSibling : n[o - a] : l;
348
- for (; a < o; )
349
- e.insertBefore(n[a++], d);
350
- } else if (o === a)
351
- for (; r < s; )
352
- (!c || !c.has(t[r])) && t[r].remove(), r++;
353
- else if (t[r] === n[o - 1] && n[a] === t[s - 1]) {
354
- const d = t[--s].nextSibling;
355
- e.insertBefore(n[a++], t[r++].nextSibling), e.insertBefore(n[--o], d), t[s] = n[o];
102
+ for (; t[s - 1] === n[r - 1]; )
103
+ s--, r--;
104
+ if (s === c) {
105
+ const a = r < i ? o ? n[o - 1].nextSibling : n[r - o] : l;
106
+ for (; o < r; )
107
+ e.insertBefore(n[o++], a);
108
+ } else if (r === o)
109
+ for (; c < s; )
110
+ (!f || !f.has(t[c])) && t[c].remove(), c++;
111
+ else if (t[c] === n[r - 1] && n[o] === t[s - 1]) {
112
+ const a = t[--s].nextSibling;
113
+ e.insertBefore(n[o++], t[c++].nextSibling), e.insertBefore(n[--r], a), t[s] = n[r];
356
114
  } else {
357
- if (!c) {
358
- c = /* @__PURE__ */ new Map();
359
- let f = a;
360
- for (; f < o; )
361
- c.set(n[f], f++);
115
+ if (!f) {
116
+ f = /* @__PURE__ */ new Map();
117
+ let y = o;
118
+ for (; y < r; )
119
+ f.set(n[y], y++);
362
120
  }
363
- const d = c.get(t[r]);
364
- if (d != null)
365
- if (a < d && d < o) {
366
- let f = r, x = 1, w;
367
- for (; ++f < s && f < o && !((w = c.get(t[f])) == null || w !== d + x); )
121
+ const a = f.get(t[c]);
122
+ if (a != null)
123
+ if (o < a && a < r) {
124
+ let y = c, x = 1, A;
125
+ for (; ++y < s && y < r && !((A = f.get(t[y])) == null || A !== a + x); )
368
126
  x++;
369
- if (x > d - a) {
370
- const z = t[r];
371
- for (; a < d; )
372
- e.insertBefore(n[a++], z);
127
+ if (x > a - o) {
128
+ const P = t[c];
129
+ for (; o < a; )
130
+ e.insertBefore(n[o++], P);
373
131
  } else
374
- e.replaceChild(n[a++], t[r++]);
132
+ e.replaceChild(n[o++], t[c++]);
375
133
  } else
376
- r++;
134
+ c++;
377
135
  else
378
- t[r++].remove();
136
+ t[c++].remove();
379
137
  }
380
138
  }
381
139
  }
382
- const R = "_$DX_DELEGATE";
383
- function we(e, t = window.document) {
384
- const n = t[R] || (t[R] = /* @__PURE__ */ new Set());
140
+ const D = "_$DX_DELEGATE";
141
+ function Z(e, t, n) {
142
+ const i = document.createElement("template");
143
+ i.innerHTML = e;
144
+ let s = i.content.firstChild;
145
+ return n && (s = s.firstChild), s;
146
+ }
147
+ function $e(e, t = window.document) {
148
+ const n = t[D] || (t[D] = /* @__PURE__ */ new Set());
385
149
  for (let i = 0, s = e.length; i < s; i++) {
386
- const o = e[i];
387
- n.has(o) || (n.add(o), t.addEventListener(o, Oe));
150
+ const r = e[i];
151
+ n.has(r) || (n.add(r), t.addEventListener(r, Me));
388
152
  }
389
153
  }
390
- function Z(e, t, n) {
154
+ function K(e, t, n) {
391
155
  n == null ? e.removeAttribute(t) : e.setAttribute(t, n);
392
156
  }
393
- function ve(e, t, n, i) {
157
+ function xe(e, t, n, i) {
394
158
  i == null ? e.removeAttributeNS(t, n) : e.setAttributeNS(t, n, i);
395
159
  }
396
- function ze(e, t) {
160
+ function Se(e, t) {
397
161
  t == null ? e.removeAttribute("class") : e.className = t;
398
162
  }
399
- function ke(e, t, n, i) {
163
+ function Ae(e, t, n, i) {
400
164
  if (i)
401
165
  Array.isArray(n) ? (e[`$$${t}`] = n[0], e[`$$${t}Data`] = n[1]) : e[`$$${t}`] = n;
402
166
  else if (Array.isArray(n)) {
403
167
  const s = n[0];
404
- e.addEventListener(t, n[0] = (o) => s.call(e, n[1], o));
168
+ e.addEventListener(t, n[0] = (r) => s.call(e, n[1], r));
405
169
  } else
406
170
  e.addEventListener(t, n);
407
171
  }
408
- function Ce(e, t, n = {}) {
172
+ function we(e, t, n = {}) {
409
173
  const i = Object.keys(t || {}), s = Object.keys(n);
410
- let o, r;
411
- for (o = 0, r = s.length; o < r; o++) {
412
- const a = s[o];
413
- !a || a === "undefined" || t[a] || (D(e, a, !1), delete n[a]);
174
+ let r, c;
175
+ for (r = 0, c = s.length; r < c; r++) {
176
+ const o = s[r];
177
+ !o || o === "undefined" || t[o] || (R(e, o, !1), delete n[o]);
414
178
  }
415
- for (o = 0, r = i.length; o < r; o++) {
416
- const a = i[o], l = !!t[a];
417
- !a || a === "undefined" || n[a] === l || !l || (D(e, a, !0), n[a] = l);
179
+ for (r = 0, c = i.length; r < c; r++) {
180
+ const o = i[r], l = !!t[o];
181
+ !o || o === "undefined" || n[o] === l || !l || (R(e, o, !0), n[o] = l);
418
182
  }
419
183
  return n;
420
184
  }
421
- function je(e, t, n) {
185
+ function p(e, t, n) {
422
186
  if (!t)
423
- return n ? Z(e, "style") : t;
187
+ return n ? K(e, "style") : t;
424
188
  const i = e.style;
425
189
  if (typeof t == "string")
426
190
  return i.cssText = t;
427
191
  typeof n == "string" && (i.cssText = n = void 0), n || (n = {}), t || (t = {});
428
- let s, o;
429
- for (o in n)
430
- t[o] == null && i.removeProperty(o), delete n[o];
431
- for (o in t)
432
- s = t[o], s !== n[o] && (i.setProperty(o, s), n[o] = s);
192
+ let s, r;
193
+ for (r in n)
194
+ t[r] == null && i.removeProperty(r), delete n[r];
195
+ for (r in t)
196
+ s = t[r], s !== n[r] && (i.setProperty(r, s), n[r] = s);
433
197
  return n;
434
198
  }
435
- function Ee(e, t = {}, n, i) {
199
+ function je(e, t = {}, n, i) {
436
200
  const s = {};
437
- return i || C(() => s.children = S(e, t.children, s.children)), C(() => t.ref && t.ref(e)), C(() => $e(e, t, n, !0, s, !0)), s;
201
+ return i || S(() => s.children = j(e, t.children, s.children)), S(() => t.ref && t.ref(e)), S(() => Ee(e, t, n, !0, s, !0)), s;
202
+ }
203
+ function Ce(e, t, n) {
204
+ return X(() => e(t, n));
438
205
  }
439
- function $e(e, t, n, i, s = {}, o = !1) {
206
+ function ee(e, t, n, i) {
207
+ if (n !== void 0 && !i && (i = []), typeof t != "function")
208
+ return j(e, t, i, n);
209
+ S((s) => j(e, t(), s, n), i);
210
+ }
211
+ function Ee(e, t, n, i, s = {}, r = !1) {
440
212
  t || (t = {});
441
- for (const r in s)
442
- if (!(r in t)) {
443
- if (r === "children")
213
+ for (const c in s)
214
+ if (!(c in t)) {
215
+ if (c === "children")
444
216
  continue;
445
- s[r] = q(e, r, null, s[r], n, o);
217
+ s[c] = G(e, c, null, s[c], n, r);
446
218
  }
447
- for (const r in t) {
448
- if (r === "children") {
449
- i || S(e, t.children);
219
+ for (const c in t) {
220
+ if (c === "children") {
221
+ i || j(e, t.children);
450
222
  continue;
451
223
  }
452
- const a = t[r];
453
- s[r] = q(e, r, a, s[r], n, o);
224
+ const o = t[c];
225
+ s[c] = G(e, c, o, s[c], n, r);
454
226
  }
455
227
  }
456
- function Se(e) {
228
+ function Ie(e) {
457
229
  let t, n;
458
- return !h.context || !(t = h.registry.get(n = Me())) ? e.cloneNode(!0) : (h.completed && h.completed.add(t), h.registry.delete(n), t);
230
+ return !d.context || !(t = d.registry.get(n = Oe())) ? e.cloneNode(!0) : (d.completed && d.completed.add(t), d.registry.delete(n), t);
459
231
  }
460
- function Ae(e) {
232
+ function ze(e) {
461
233
  return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
462
234
  }
463
- function D(e, t, n) {
235
+ function R(e, t, n) {
464
236
  const i = t.trim().split(/\s+/);
465
- for (let s = 0, o = i.length; s < o; s++)
237
+ for (let s = 0, r = i.length; s < r; s++)
466
238
  e.classList.toggle(i[s], n);
467
239
  }
468
- function q(e, t, n, i, s, o) {
469
- let r, a, l;
240
+ function G(e, t, n, i, s, r) {
241
+ let c, o, l;
470
242
  if (t === "style")
471
- return je(e, n, i);
243
+ return p(e, n, i);
472
244
  if (t === "classList")
473
- return Ce(e, n, i);
245
+ return we(e, n, i);
474
246
  if (n === i)
475
247
  return i;
476
248
  if (t === "ref")
477
- o || n(e);
249
+ r || n(e);
478
250
  else if (t.slice(0, 3) === "on:") {
479
- const c = t.slice(3);
480
- i && e.removeEventListener(c, i), n && e.addEventListener(c, n);
251
+ const f = t.slice(3);
252
+ i && e.removeEventListener(f, i), n && e.addEventListener(f, n);
481
253
  } else if (t.slice(0, 10) === "oncapture:") {
482
- const c = t.slice(10);
483
- i && e.removeEventListener(c, i, !0), n && e.addEventListener(c, n, !0);
254
+ const f = t.slice(10);
255
+ i && e.removeEventListener(f, i, !0), n && e.addEventListener(f, n, !0);
484
256
  } else if (t.slice(0, 2) === "on") {
485
- const c = t.slice(2).toLowerCase(), d = pe.has(c);
486
- if (!d && i) {
487
- const f = Array.isArray(i) ? i[0] : i;
488
- e.removeEventListener(c, f);
257
+ const f = t.slice(2).toLowerCase(), a = me.has(f);
258
+ if (!a && i) {
259
+ const y = Array.isArray(i) ? i[0] : i;
260
+ e.removeEventListener(f, y);
489
261
  }
490
- (d || n) && (ke(e, c, n, d), d && we([c]));
491
- } else if ((l = me.has(t)) || !s && (W[t] || (a = ge.has(t))) || (r = e.nodeName.includes("-")))
492
- t === "class" || t === "className" ? ze(e, n) : r && !a && !l ? e[Ae(t)] = n : e[W[t] || t] = n;
262
+ (a || n) && (Ae(e, f, n, a), a && $e([f]));
263
+ } else if ((l = de.has(t)) || !s && (B[t] || (o = ue.has(t))) || (c = e.nodeName.includes("-")))
264
+ t === "class" || t === "className" ? Se(e, n) : c && !o && !l ? e[ze(t)] = n : e[B[t] || t] = n;
493
265
  else {
494
- const c = s && t.indexOf(":") > -1 && ye[t.split(":")[0]];
495
- c ? ve(e, c, t, n) : Z(e, ue[t] || t, n);
266
+ const f = s && t.indexOf(":") > -1 && ge[t.split(":")[0]];
267
+ f ? xe(e, f, t, n) : K(e, ye[t] || t, n);
496
268
  }
497
269
  return n;
498
270
  }
499
- function Oe(e) {
271
+ function Me(e) {
500
272
  const t = `$$${e.type}`;
501
273
  let n = e.composedPath && e.composedPath()[0] || e.target;
502
274
  for (e.target !== n && Object.defineProperty(e, "target", {
@@ -507,7 +279,7 @@ function Oe(e) {
507
279
  get() {
508
280
  return n || document;
509
281
  }
510
- }), h.registry && !h.done && (h.done = !0, document.querySelectorAll("[id^=pl-]").forEach((i) => {
282
+ }), d.registry && !d.done && (d.done = !0, document.querySelectorAll("[id^=pl-]").forEach((i) => {
511
283
  for (; i && i.nodeType !== 8 && i.nodeValue !== "pl-" + e; ) {
512
284
  let s = i.nextSibling;
513
285
  i.remove(), i = s;
@@ -523,56 +295,56 @@ function Oe(e) {
523
295
  n = n._$host || n.parentNode || n.host;
524
296
  }
525
297
  }
526
- function S(e, t, n, i, s) {
527
- for (h.context && !n && (n = [...e.childNodes]); typeof n == "function"; )
298
+ function j(e, t, n, i, s) {
299
+ for (d.context && !n && (n = [...e.childNodes]); typeof n == "function"; )
528
300
  n = n();
529
301
  if (t === n)
530
302
  return n;
531
- const o = typeof t, r = i !== void 0;
532
- if (e = r && n[0] && n[0].parentNode || e, o === "string" || o === "number") {
533
- if (h.context)
303
+ const r = typeof t, c = i !== void 0;
304
+ if (e = c && n[0] && n[0].parentNode || e, r === "string" || r === "number") {
305
+ if (d.context)
534
306
  return n;
535
- if (o === "number" && (t = t.toString()), r) {
536
- let a = n[0];
537
- a && a.nodeType === 3 ? a.data = t : a = document.createTextNode(t), n = v(e, n, i, a);
307
+ if (r === "number" && (t = t.toString()), c) {
308
+ let o = n[0];
309
+ o && o.nodeType === 3 ? o.data = t : o = document.createTextNode(t), n = w(e, n, i, o);
538
310
  } else
539
311
  n !== "" && typeof n == "string" ? n = e.firstChild.data = t : n = e.textContent = t;
540
- } else if (t == null || o === "boolean") {
541
- if (h.context)
312
+ } else if (t == null || r === "boolean") {
313
+ if (d.context)
542
314
  return n;
543
- n = v(e, n, i);
315
+ n = w(e, n, i);
544
316
  } else {
545
- if (o === "function")
546
- return C(() => {
547
- let a = t();
548
- for (; typeof a == "function"; )
549
- a = a();
550
- n = S(e, a, n, i);
317
+ if (r === "function")
318
+ return S(() => {
319
+ let o = t();
320
+ for (; typeof o == "function"; )
321
+ o = o();
322
+ n = j(e, o, n, i);
551
323
  }), () => n;
552
324
  if (Array.isArray(t)) {
553
- const a = [], l = n && Array.isArray(n);
554
- if (I(a, t, n, s))
555
- return C(() => n = S(e, a, n, i, !0)), () => n;
556
- if (h.context) {
557
- if (!a.length)
325
+ const o = [], l = n && Array.isArray(n);
326
+ if (N(o, t, n, s))
327
+ return S(() => n = j(e, o, n, i, !0)), () => n;
328
+ if (d.context) {
329
+ if (!o.length)
558
330
  return n;
559
- for (let c = 0; c < a.length; c++)
560
- if (a[c].parentNode)
561
- return n = a;
331
+ for (let f = 0; f < o.length; f++)
332
+ if (o[f].parentNode)
333
+ return n = o;
562
334
  }
563
- if (a.length === 0) {
564
- if (n = v(e, n, i), r)
335
+ if (o.length === 0) {
336
+ if (n = w(e, n, i), c)
565
337
  return n;
566
338
  } else
567
- l ? n.length === 0 ? X(e, a, i) : xe(e, n, a) : (n && v(e), X(e, a));
568
- n = a;
339
+ l ? n.length === 0 ? H(e, o, i) : be(e, n, o) : (n && w(e), H(e, o));
340
+ n = o;
569
341
  } else if (t instanceof Node) {
570
- if (h.context && t.parentNode)
571
- return n = r ? [t] : t;
342
+ if (d.context && t.parentNode)
343
+ return n = c ? [t] : t;
572
344
  if (Array.isArray(n)) {
573
- if (r)
574
- return n = v(e, n, i, t);
575
- v(e, n, null, t);
345
+ if (c)
346
+ return n = w(e, n, i, t);
347
+ w(e, n, null, t);
576
348
  } else
577
349
  n == null || n === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
578
350
  n = t;
@@ -580,74 +352,74 @@ function S(e, t, n, i, s) {
580
352
  }
581
353
  return n;
582
354
  }
583
- function I(e, t, n, i) {
355
+ function N(e, t, n, i) {
584
356
  let s = !1;
585
- for (let o = 0, r = t.length; o < r; o++) {
586
- let a = t[o], l = n && n[o];
587
- if (a instanceof Node)
588
- e.push(a);
589
- else if (!(a == null || a === !0 || a === !1))
590
- if (Array.isArray(a))
591
- s = I(e, a, l) || s;
592
- else if (typeof a == "function")
357
+ for (let r = 0, c = t.length; r < c; r++) {
358
+ let o = t[r], l = n && n[r];
359
+ if (o instanceof Node)
360
+ e.push(o);
361
+ else if (!(o == null || o === !0 || o === !1))
362
+ if (Array.isArray(o))
363
+ s = N(e, o, l) || s;
364
+ else if (typeof o == "function")
593
365
  if (i) {
594
- for (; typeof a == "function"; )
595
- a = a();
596
- s = I(e, Array.isArray(a) ? a : [a], Array.isArray(l) ? l : [l]) || s;
366
+ for (; typeof o == "function"; )
367
+ o = o();
368
+ s = N(e, Array.isArray(o) ? o : [o], Array.isArray(l) ? l : [l]) || s;
597
369
  } else
598
- e.push(a), s = !0;
370
+ e.push(o), s = !0;
599
371
  else {
600
- const c = String(a);
601
- l && l.nodeType === 3 && l.data === c ? e.push(l) : e.push(document.createTextNode(c));
372
+ const f = String(o);
373
+ l && l.nodeType === 3 && l.data === f ? e.push(l) : e.push(document.createTextNode(f));
602
374
  }
603
375
  }
604
376
  return s;
605
377
  }
606
- function X(e, t, n = null) {
378
+ function H(e, t, n = null) {
607
379
  for (let i = 0, s = t.length; i < s; i++)
608
380
  e.insertBefore(t[i], n);
609
381
  }
610
- function v(e, t, n, i) {
382
+ function w(e, t, n, i) {
611
383
  if (n === void 0)
612
384
  return e.textContent = "";
613
385
  const s = i || document.createTextNode("");
614
386
  if (t.length) {
615
- let o = !1;
616
- for (let r = t.length - 1; r >= 0; r--) {
617
- const a = t[r];
618
- if (s !== a) {
619
- const l = a.parentNode === e;
620
- !o && !r ? l ? e.replaceChild(s, a) : e.insertBefore(s, n) : l && a.remove();
387
+ let r = !1;
388
+ for (let c = t.length - 1; c >= 0; c--) {
389
+ const o = t[c];
390
+ if (s !== o) {
391
+ const l = o.parentNode === e;
392
+ !r && !c ? l ? e.replaceChild(s, o) : e.insertBefore(s, n) : l && o.remove();
621
393
  } else
622
- o = !0;
394
+ r = !0;
623
395
  }
624
396
  } else
625
397
  e.insertBefore(s, n);
626
398
  return [s];
627
399
  }
628
- function Me() {
629
- const e = h.context;
400
+ function Oe() {
401
+ const e = d.context;
630
402
  return `${e.id}${e.count++}`;
631
403
  }
632
- const Te = "http://www.w3.org/2000/svg";
633
- function Ie(e, t = !1) {
634
- return t ? document.createElementNS(Te, e) : document.createElement(e);
404
+ const Pe = "http://www.w3.org/2000/svg";
405
+ function Te(e, t = !1) {
406
+ return t ? document.createElementNS(Pe, e) : document.createElement(e);
635
407
  }
636
- function Pe(e) {
637
- const [t, n] = G(e, ["component"]), i = B(() => t.component);
638
- return B(() => {
408
+ function ke(e) {
409
+ const [t, n] = V(e, ["component"]), i = I(() => t.component);
410
+ return I(() => {
639
411
  const s = i();
640
412
  switch (typeof s) {
641
413
  case "function":
642
- return ie(() => s(n));
414
+ return X(() => s(n));
643
415
  case "string":
644
- const o = be.has(s), r = h.context ? Se() : Ie(s, o);
645
- return Ee(r, n, o), r;
416
+ const r = he.has(s), c = d.context ? Ie() : Te(s, r);
417
+ return je(c, n, r), c;
646
418
  }
647
419
  });
648
420
  }
649
- function A(e) {
650
- return e != null ? e : void 0;
421
+ function M(e) {
422
+ return e ?? void 0;
651
423
  }
652
424
  function m(e, t) {
653
425
  return Object.keys(e).filter((n) => !t.includes(n)).reduce((n, i) => (Object.defineProperty(n, i, {
@@ -658,20 +430,14 @@ function m(e, t) {
658
430
  enumerable: !0
659
431
  }), n), {});
660
432
  }
661
- function u(e, t) {
662
- return se(
663
- Pe,
664
- g(
665
- {
666
- get component() {
667
- return e();
668
- }
669
- },
670
- t
671
- )
672
- );
433
+ function h(e, t) {
434
+ return E(ke, u({
435
+ get component() {
436
+ return e();
437
+ }
438
+ }, t));
673
439
  }
674
- function p(e) {
440
+ function g(e) {
675
441
  if (!Object.values(e).every((t) => typeof t == "function"))
676
442
  throw new Error("Please provide an object with accessor values only.");
677
443
  return Object.keys(e).reduce((t, n) => {
@@ -685,276 +451,198 @@ function p(e) {
685
451
  }), t;
686
452
  }, {});
687
453
  }
688
- const K = /^--\D{1}.{0,100}$/;
689
- function ee(e) {
690
- return K.test(e);
454
+ const te = /^--\D{1}.{0,100}$/;
455
+ function ne(e) {
456
+ return te.test(e);
691
457
  }
692
- function F(e) {
693
- return typeof e != "string" ? !1 : [
694
- /^[0-9]{0,10000}\.?[0-9]{1,10000}(vmin|vmax|vh|vw|%|ch|ex|em|rem|in|cm|mm|pt|pc|px)$/,
695
- /^var\(--\D{1}.{0,100}\)$/,
696
- K
697
- ].some((t) => t.test(e));
458
+ function W(e) {
459
+ return typeof e != "string" ? !1 : [/^[0-9]{0,10000}\.?[0-9]{1,10000}(vmin|vmax|vh|vw|%|ch|ex|em|rem|in|cm|mm|pt|pc|px)$/, /^var\(--\D{1}.{0,100}\)$/, te].some((t) => t.test(e));
698
460
  }
699
461
  const {
700
- sizeXxs: Fe,
701
- sizeXs: Ne,
702
- sizeSm: Le,
703
- sizeMd: Be,
704
- sizeLg: We,
705
- sizeXl: Re,
706
- sizeXxl: De,
707
- sizeContent1: qe,
708
- sizeContent2: Xe,
709
- sizeContent3: He,
710
- sizeHeader1: Ye,
711
- sizeHeader2: Ge,
712
- sizeHeader3: Ve,
713
- size000: _e,
462
+ sizeXxs: Ne,
463
+ sizeXs: Le,
464
+ sizeSm: We,
465
+ sizeMd: ve,
466
+ sizeLg: Be,
467
+ sizeXl: De,
468
+ sizeXxl: Re,
469
+ sizeContent1: Ge,
470
+ sizeContent2: He,
471
+ sizeContent3: _e,
472
+ sizeHeader1: Fe,
473
+ sizeHeader2: Ve,
474
+ sizeHeader3: Xe,
475
+ size000: qe,
714
476
  size00: Ue,
715
477
  size1: Qe,
716
478
  size2: Je,
717
- size3: Ze,
718
- size4: Ke,
719
- size5: et,
720
- size6: tt,
721
- size7: nt,
722
- size8: at,
723
- size9: it,
724
- size10: st,
725
- size11: rt,
479
+ size3: Ye,
480
+ size4: Ze,
481
+ size5: Ke,
482
+ size6: pe,
483
+ size7: et,
484
+ size8: tt,
485
+ size9: nt,
486
+ size10: it,
487
+ size11: st,
726
488
  size12: ot,
727
- size13: lt,
489
+ size13: rt,
728
490
  size14: ct,
729
- size15: dt
730
- } = fe, ft = {
731
- size000: _e,
491
+ size15: lt
492
+ } = re, ft = {
493
+ size000: qe,
732
494
  size00: Ue,
733
495
  size1: Qe,
734
496
  size2: Je,
735
- size3: Ze,
736
- size4: Ke,
737
- size5: et,
738
- size6: tt,
739
- size7: nt,
740
- size8: at,
741
- size9: it,
742
- size10: st,
743
- size11: rt,
497
+ size3: Ye,
498
+ size4: Ze,
499
+ size5: Ke,
500
+ size6: pe,
501
+ size7: et,
502
+ size8: tt,
503
+ size9: nt,
504
+ size10: it,
505
+ size11: st,
744
506
  size12: ot,
745
- size13: lt,
507
+ size13: rt,
746
508
  size14: ct,
747
- size15: dt
748
- }, ht = {
749
- sizeXxs: Fe,
750
- sizeXs: Ne,
751
- sizeSm: Le,
752
- sizeMd: Be,
753
- sizeLg: We,
754
- sizeXl: Re,
755
- sizeXxl: De,
756
- sizeContent1: qe,
757
- sizeContent2: Xe,
758
- sizeContent3: He,
759
- sizeHeader1: Ye,
760
- sizeHeader2: Ge,
761
- sizeHeader3: Ve
762
- }, gt = ft, mt = ht;
763
- function te(e) {
764
- return e.reduce((t, [n, i]) => ({ ...t, [n]: i }), {});
765
- }
766
- function H(e, t) {
509
+ size15: lt
510
+ }, at = {
511
+ sizeXxs: Ne,
512
+ sizeXs: Le,
513
+ sizeSm: We,
514
+ sizeMd: ve,
515
+ sizeLg: Be,
516
+ sizeXl: De,
517
+ sizeXxl: Re,
518
+ sizeContent1: Ge,
519
+ sizeContent2: He,
520
+ sizeContent3: _e,
521
+ sizeHeader1: Fe,
522
+ sizeHeader2: Ve,
523
+ sizeHeader3: Xe
524
+ }, ut = ft, dt = at;
525
+ function ie(e) {
526
+ return e.reduce((t, [n, i]) => ({
527
+ ...t,
528
+ [n]: i
529
+ }), {});
530
+ }
531
+ function _(e, t) {
767
532
  if (t !== void 0)
768
- return typeof t == "number" && t >= 0 ? `${t}px` : typeof t == "string" && F(t) ? ee(t) ? `var(${t})` : t : A(b(e, t));
533
+ return typeof t == "number" && t >= 0 ? `${t}px` : typeof t == "string" && W(t) ? ne(t) ? `var(${t})` : t : M(b(e, t));
769
534
  }
770
535
  function b(e, t) {
771
- var s;
772
- const n = (s = e.space) != null ? s : gt, i = te(
773
- Object.entries(n).map(([o, r]) => [
774
- o,
775
- typeof r == "number" ? `${r}px` : r
776
- ])
777
- );
778
- return A(i[t]);
536
+ const n = e.space ?? ut, i = ie(Object.entries(n).map(([s, r]) => [s, typeof r == "number" ? `${r}px` : r]));
537
+ return M(i[t]);
779
538
  }
780
539
  function O(e, t) {
781
- var s;
782
540
  if (t === void 0)
783
541
  return;
784
542
  if (typeof t == "number" && t >= 0)
785
543
  return `${t}px`;
786
- if (typeof t == "string" && F(t))
787
- return ee(t) ? `var(${t})` : t;
788
- const n = (s = e.sizes) != null ? s : mt, i = te(
789
- Object.entries(n).map(([o, r]) => [
790
- o,
791
- typeof r == "number" ? `${r}px` : r
792
- ])
793
- );
794
- return A(i[t]);
544
+ if (typeof t == "string" && W(t))
545
+ return ne(t) ? `var(${t})` : t;
546
+ const n = e.sizes ?? dt, i = ie(Object.entries(n).map(([s, r]) => [s, typeof r == "number" ? `${r}px` : r]));
547
+ return M(i[t]);
795
548
  }
796
- function ut(e) {
549
+ function yt(e) {
797
550
  return e === void 0 ? "100%" : typeof e == "number" ? `${e}px` : e;
798
551
  }
799
- function Nt(e) {
800
- const t = () => {
801
- var a;
802
- return typeof e.style == "string" ? e.style : Object.entries((a = e.style) != null ? a : {}).reduce(
803
- (l, [c, d]) => l + `${c}:${d};`,
804
- ""
805
- );
806
- }, n = () => `--maxWidth: ${ut(e.maxWidth)};`, i = () => e.centerText ? "center-text" : "", s = () => e.centerChildren ? "center-children" : "", o = () => [i(), s()].filter(Boolean).join(" "), r = () => [t(), n()].join("; ");
807
- return u(
808
- () => {
809
- var a;
810
- return (a = e.as) != null ? a : "div";
552
+ function Bt(e) {
553
+ const t = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((o, [l, f]) => o + `${l}:${f};`, ""), n = () => `--maxWidth: ${yt(e.maxWidth)};`, i = () => e.centerText ? "center-text" : "", s = () => e.centerChildren ? "center-children" : "", r = () => [i(), s()].filter(Boolean).join(" "), c = () => [t(), n()].join("; ");
554
+ return h(() => e.as ?? "div", u(m(e, ["as", "maxWidth", "centerText", "centerChildren"]), g({
555
+ style: c,
556
+ "data-bedrock-center": r
557
+ })));
558
+ }
559
+ const se = ce({});
560
+ function Dt(e) {
561
+ return E(se.Provider, {
562
+ get value() {
563
+ return e.theme;
811
564
  },
812
- g(
813
- m(e, ["as", "maxWidth", "centerText", "centerChildren"]),
814
- p({
815
- style: r,
816
- "data-bedrock-center": o
817
- })
818
- )
819
- );
820
- }
821
- const ne = re({});
822
- function Lt(e) {
823
- return /* @__PURE__ */ React.createElement(ne.Provider, { value: e.theme }, e.children);
565
+ get children() {
566
+ return e.children;
567
+ }
568
+ });
824
569
  }
825
- function y() {
570
+ function $() {
826
571
  try {
827
- return oe(ne);
572
+ return le(se);
828
573
  } catch {
829
574
  return {};
830
575
  }
831
576
  }
832
- function pt(e, t) {
577
+ function mt(e, t) {
833
578
  return O(e, t);
834
579
  }
835
- function Bt(e) {
836
- const t = y(), n = () => {
837
- var a;
838
- return typeof e.style == "string" ? e.style : Object.entries((a = e.style) != null ? a : {}).reduce(
839
- (l, [c, d]) => l + `${c}:${d};`,
840
- ""
841
- );
842
- }, i = () => {
843
- var a, l;
844
- return `--gutter: ${(l = b(t, (a = e.gutter) != null ? a : "size00")) != null ? l : "0px"}`;
845
- }, s = () => `--minItemWidth: ${pt(t, e.minItemWidth)}`, o = () => e.noStretchedColumns === !0 ? "no-stretched-columns" : "", r = () => [n(), i(), s()].join("; ");
846
- return u(
847
- () => {
848
- var a;
849
- return (a = e.as) != null ? a : "div";
850
- },
851
- g(
852
- m(e, ["as", "gutter", "minItemWidth", "noStretchedColumns"]),
853
- p({
854
- style: r,
855
- "data-bedrock-column-drop": o
856
- })
857
- )
858
- );
580
+ function Rt(e) {
581
+ const t = $(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((o, [l, f]) => o + `${l}:${f};`, ""), i = () => `--gutter: ${b(t, e.gutter ?? "size00") ?? "0px"}`, s = () => `--minItemWidth: ${mt(t, e.minItemWidth)}`, r = () => e.noStretchedColumns === !0 ? "no-stretched-columns" : "", c = () => [n(), i(), s()].join("; ");
582
+ return h(() => e.as ?? "div", u(m(e, ["as", "gutter", "minItemWidth", "noStretchedColumns"]), g({
583
+ style: c,
584
+ "data-bedrock-column-drop": r
585
+ })));
859
586
  }
860
- function M(e) {
587
+ function T(e) {
861
588
  throw new Error(e);
862
589
  }
863
- function bt(e) {
864
- typeof e != "number" && !Array.isArray(e) && M("width must be a number or an array of two numbers"), Array().concat(e).some((n) => n < 0) && M("width value(s) must be 0 or greater"), Array.isArray(e) && (e.length !== 2 || e[0] > e[1]) && M(
865
- `The second width value, ${e[1]}, is not larger than ${e[0]}. Please provide a value greater than first width value`
866
- );
590
+ function ht(e) {
591
+ typeof e != "number" && !Array.isArray(e) && T("width must be a number or an array of two numbers"), Array().concat(e).some((n) => n < 0) && T("width value(s) must be 0 or greater"), Array.isArray(e) && (e.length !== 2 || e[0] > e[1]) && T(`The second width value, ${e[1]}, is not larger than ${e[0]}. Please provide a value greater than first width value`);
867
592
  }
868
- function Wt(e, t) {
869
- bt(e);
870
- const [n, i] = $(!1), [s, o] = $();
871
- return V(() => {
872
- Q();
873
- }), _(() => {
593
+ function Gt(e, t) {
594
+ ht(e);
595
+ const [n, i] = z(!1), [s, r] = z();
596
+ return q(() => {
597
+ J();
598
+ }), U(() => {
874
599
  if (s() === void 0 || s() === null)
875
600
  return;
876
601
  t && t(s());
877
- const r = J(s(), (a) => {
878
- var c, d;
879
- const l = (d = (c = a.borderBoxSize) == null ? void 0 : c.inlineSize) != null ? d : a.contentRect.width;
602
+ const c = Y(s(), (o) => {
603
+ var f;
604
+ const l = ((f = o.borderBoxSize) == null ? void 0 : f.inlineSize) ?? o.contentRect.width;
880
605
  if (l > 0) {
881
- const f = Array.isArray(e) ? l >= e[0] && l <= e[1] : l <= e;
882
- i(f);
606
+ const a = Array.isArray(e) ? l >= e[0] && l <= e[1] : l <= e;
607
+ i(a);
883
608
  }
884
609
  });
885
- U(r);
886
- }), [n, o];
610
+ Q(c);
611
+ }), [n, r];
887
612
  }
888
- function yt(e) {
613
+ function gt(e) {
889
614
  return Array.isArray(e) && e.length === 2 && e.every(Number.isFinite) || typeof e == "string" && /^\d{1,1000} {0,1}\/ {0,1}\d{1,1000}$/.test(e);
890
615
  }
891
- function xt(e) {
616
+ function bt(e) {
892
617
  return Array.isArray(e) ? e.join("/") : e;
893
618
  }
894
- function wt(e) {
895
- return yt(e) ? xt(e) : void 0;
896
- }
897
- function Rt(e) {
898
- const t = () => {
899
- var r;
900
- return typeof e.style == "string" ? e.style : Object.entries((r = e.style) != null ? r : {}).reduce(
901
- (a, [l, c]) => a + `${l}:${c};`,
902
- ""
903
- );
904
- }, n = () => wt(e.ratio), i = () => n() ? `--ratio: ${n()}` : "", s = () => typeof e.position == "string" ? `--position: ${e.position}` : "50%", o = () => [t(), i(), s()].join("; ");
905
- return u(
906
- () => {
907
- var r;
908
- return (r = e.as) != null ? r : "div";
909
- },
910
- g(
911
- m(e, ["as", "ratio", "position"]),
912
- p({
913
- style: o,
914
- "data-bedrock-frame": () => ""
915
- })
916
- )
917
- );
619
+ function $t(e) {
620
+ return gt(e) ? bt(e) : void 0;
918
621
  }
919
- function vt(e) {
920
- const t = y(), n = () => {
921
- var r;
922
- return typeof e.style == "string" ? e.style : Object.entries((r = e.style) != null ? r : {}).reduce(
923
- (a, [l, c]) => a + `${l}:${c};`,
924
- ""
925
- );
926
- }, i = () => {
927
- var r, a;
928
- return `--gutter: ${(a = b(t, (r = e.gutter) != null ? r : "size00")) != null ? a : "0px"};`;
929
- }, s = () => {
930
- var r;
931
- return `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${(r = e.minItemWidth) != null ? r : 0}px`};`;
932
- }, o = () => [n(), i(), s()].join("; ");
933
- return u(
934
- () => {
935
- var r;
936
- return (r = e.as) != null ? r : "div";
937
- },
938
- g(
939
- m(e, ["as", "gutter", "minItemWidth"]),
940
- p({
941
- style: o,
942
- "data-bedrock-grid": () => ""
943
- })
944
- )
945
- );
622
+ function Ht(e) {
623
+ const t = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((c, [o, l]) => c + `${o}:${l};`, ""), n = () => $t(e.ratio), i = () => n() ? `--ratio: ${n()}` : "", s = () => typeof e.position == "string" ? `--position: ${e.position}` : "50%", r = () => [t(), i(), s()].join("; ");
624
+ return h(() => e.as ?? "div", u(m(e, ["as", "ratio", "position"]), g({
625
+ style: r,
626
+ "data-bedrock-frame": () => ""
627
+ })));
946
628
  }
947
- const k = 96;
948
- function ae(e) {
949
- var i;
629
+ function xt(e) {
630
+ const t = $(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((c, [o, l]) => c + `${o}:${l};`, ""), i = () => `--gutter: ${b(t, e.gutter ?? "size00") ?? "0px"};`, s = () => `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${e.minItemWidth ?? 0}px`};`, r = () => [n(), i(), s()].join("; ");
631
+ return h(() => e.as ?? "div", u(m(e, ["as", "gutter", "minItemWidth"]), g({
632
+ style: r,
633
+ "data-bedrock-grid": () => ""
634
+ })));
635
+ }
636
+ const C = 96;
637
+ function oe(e) {
950
638
  e = String(e);
951
- const t = parseFloat(e), [, n] = (i = e.match(/[\d.\-+]*\s*(.*)/)) != null ? i : ["", ""];
639
+ const t = parseFloat(e), [, n] = e.match(/[\d.\-+]*\s*(.*)/) ?? ["", ""];
952
640
  return [t, n];
953
641
  }
954
- function N(e, t) {
642
+ function v(e, t) {
955
643
  if (!e)
956
644
  return;
957
- const n = t != null ? t : document.body, i = (e != null ? e : "px").trim().toLowerCase();
645
+ const n = t ?? document.body, i = (e ?? "px").trim().toLowerCase();
958
646
  switch (i) {
959
647
  case "vmin":
960
648
  case "vmax":
@@ -964,67 +652,79 @@ function N(e, t) {
964
652
  return;
965
653
  case "ch":
966
654
  case "ex":
967
- return zt(i, n);
655
+ return St(i, n);
968
656
  case "em":
969
- return P(n, "font-size");
657
+ return L(n, "font-size");
970
658
  case "rem":
971
- return P(document.body, "font-size");
659
+ return L(document.body, "font-size");
972
660
  case "in":
973
- return k;
661
+ return C;
974
662
  case "cm":
975
- return k / 2.54;
663
+ return C / 2.54;
976
664
  case "mm":
977
- return k / 25.4;
665
+ return C / 25.4;
978
666
  case "pt":
979
- return k / 72;
667
+ return C / 72;
980
668
  case "pc":
981
- return k / 6;
669
+ return C / 6;
982
670
  case "px":
983
671
  return 1;
984
672
  default: {
985
- const [s, o] = ae(i);
673
+ const [s, r] = oe(i);
986
674
  if (isNaN(s))
987
675
  return;
988
- if (!o)
676
+ if (!r)
989
677
  return s;
990
- const r = N(o, t);
991
- return typeof r == "number" ? s * r : void 0;
678
+ const c = v(r, t);
679
+ return typeof c == "number" ? s * c : void 0;
992
680
  }
993
681
  }
994
682
  }
995
- function P(e, t) {
996
- var s;
997
- const [n, i] = ae(
683
+ function L(e, t) {
684
+ const [n, i] = oe(
998
685
  getComputedStyle(e).getPropertyValue(t)
999
686
  );
1000
- return n * ((s = N(i, e)) != null ? s : 1);
687
+ return n * (v(i, e) ?? 1);
1001
688
  }
1002
- function zt(e, t) {
689
+ function St(e, t) {
1003
690
  const n = document.createElement("div");
1004
691
  n.style.height = "128" + e, t.appendChild(n);
1005
- const i = P(n, "height") / 128;
692
+ const i = L(n, "height") / 128;
1006
693
  return t.removeChild(n), i;
1007
694
  }
1008
- const T = 1, kt = typeof window == "object" && typeof document == "object" && document.nodeType === 9, Ct = (e) => {
1009
- const [t, n] = $(1), [i, s] = $(), o = y();
1010
- return V(() => {
1011
- Q();
1012
- }), _(() => {
1013
- const r = A(i());
1014
- if (r === void 0)
695
+ const At = /* @__PURE__ */ Z("<div></div>"), k = 1, wt = typeof window == "object" && typeof document == "object" && document.nodeType === 9, jt = (e) => {
696
+ const [t, n] = z(1), [i, s] = z(), r = $();
697
+ return q(() => {
698
+ J();
699
+ }), U(() => {
700
+ const c = M(i());
701
+ if (c === void 0)
1015
702
  return;
1016
- const a = J(r, ({ target: l }) => {
1017
- var L;
703
+ const o = Y(c, ({
704
+ target: l
705
+ }) => {
1018
706
  n(1);
1019
- const c = e.gutter && (L = b(o, e.gutter)) != null ? L : "1px", d = kt ? N(c, l) : void 0, f = Math.max(d != null ? d : T, T), [x] = Array.from(l.children), w = 1 + Math.min(l.scrollHeight, x.scrollHeight), z = Math.max(Math.ceil(w / f), T);
1020
- n(z);
707
+ const f = e.gutter ? b(r, e.gutter) ?? "1px" : "1px", a = wt ? v(f, l) : void 0, y = Math.max(a ?? k, k), [x] = Array.from(l.children), A = 1 + Math.min(l.scrollHeight, x.scrollHeight), P = Math.max(Math.ceil(A / y), k);
708
+ n(P);
1021
709
  });
1022
- U(a);
1023
- }), /* @__PURE__ */ React.createElement("div", { style: `grid-row: span ${t()};`, ref: s }, e.children);
1024
- }, Dt = (e) => {
1025
- const t = le(() => e.children), i = [].concat(t()).filter(Boolean).map((s) => /* @__PURE__ */ React.createElement(Ct, { gutter: e.gutter }, s));
1026
- return /* @__PURE__ */ React.createElement(vt, { style: "grid-template-rows: 1px;", ...e }, i);
1027
- }, jt = {
710
+ Q(o);
711
+ }), (() => {
712
+ const c = At.cloneNode(!0);
713
+ return Ce(s, c), ee(c, () => e.children), S((o) => p(c, `grid-row: span ${t()};`, o)), c;
714
+ })();
715
+ }, _t = (e) => {
716
+ const t = fe(() => e.children), i = [].concat(t()).filter(Boolean).map((s) => E(jt, {
717
+ get gutter() {
718
+ return e.gutter;
719
+ },
720
+ children: s
721
+ }));
722
+ return E(xt, u({
723
+ style: "grid-template-rows: 1px;"
724
+ }, e, {
725
+ children: i
726
+ }));
727
+ }, Ct = {
1028
728
  start: "justify:start",
1029
729
  end: "justify:end",
1030
730
  center: "justify:center"
@@ -1034,77 +734,31 @@ const T = 1, kt = typeof window == "object" && typeof document == "object" && do
1034
734
  center: "align:center",
1035
735
  stretch: "align:stretch"
1036
736
  };
1037
- function qt(e) {
1038
- const t = y(), n = () => {
1039
- var l;
1040
- return typeof e.style == "string" ? e.style : Object.entries((l = e.style) != null ? l : {}).reduce(
1041
- (c, [d, f]) => c + `${d}:${f};`,
1042
- ""
1043
- );
1044
- }, i = () => {
1045
- var l, c;
1046
- return `--gutter: ${(c = b(t, (l = e.gutter) != null ? l : "size00")) != null ? c : "0px"};`;
1047
- }, s = () => e.justify !== void 0 ? jt[e.justify] : void 0, o = () => e.align !== void 0 ? Et[e.align] : void 0, r = () => [n(), i()].join("; "), a = () => [s(), o()].filter(Boolean).join(" ");
1048
- return u(
1049
- () => {
1050
- var l;
1051
- return (l = e.as) != null ? l : "div";
1052
- },
1053
- g(
1054
- m(e, ["as", "gutter", "justify", "align"]),
1055
- p({
1056
- style: r,
1057
- "data-bedrock-inline-cluster": a
1058
- })
1059
- )
1060
- );
1061
- }
1062
- const $t = {
737
+ function Ft(e) {
738
+ const t = $(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((l, [f, a]) => l + `${f}:${a};`, ""), i = () => `--gutter: ${b(t, e.gutter ?? "size00") ?? "0px"};`, s = () => e.justify !== void 0 ? Ct[e.justify] : void 0, r = () => e.align !== void 0 ? Et[e.align] : void 0, c = () => [n(), i()].join("; "), o = () => [s(), r()].filter(Boolean).join(" ");
739
+ return h(() => e.as ?? "div", u(m(e, ["as", "gutter", "justify", "align"]), g({
740
+ style: c,
741
+ "data-bedrock-inline-cluster": o
742
+ })));
743
+ }
744
+ const It = {
1063
745
  start: "justify:start",
1064
746
  end: "justify:end",
1065
747
  center: "justify:center"
1066
- }, St = {
748
+ }, zt = {
1067
749
  start: "align:start",
1068
750
  end: "align:end",
1069
751
  center: "align:center",
1070
752
  stretch: "align:stretch"
1071
753
  };
1072
- function Xt(e) {
1073
- const t = y(), n = () => {
1074
- var f;
1075
- return typeof e.style == "string" ? e.style : Object.entries((f = e.style) != null ? f : {}).reduce(
1076
- (x, [w, z]) => x + `${w}:${z};`,
1077
- ""
1078
- );
1079
- }, i = () => {
1080
- var f, x;
1081
- return `--gutter: ${(x = b(t, (f = e.gutter) != null ? f : "size00")) != null ? x : "0px"};`;
1082
- }, s = () => e.minItemWidth ? `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${e.minItemWidth}px`};` : void 0, o = () => {
1083
- var f;
1084
- return e.switchAt ? `--switchAt: ${(f = O(t, e.switchAt)) != null ? f : "0px"};` : "";
1085
- }, r = () => e.justify !== void 0 ? $t[e.justify] : void 0, a = () => e.align !== void 0 ? St[e.align] : void 0, l = () => e.stretch ? `stretch:${e.stretch}` : void 0, c = () => [n(), i(), o(), s()].join("; "), d = () => [r(), a(), l()].filter(Boolean).join(" ");
1086
- return u(
1087
- () => {
1088
- var f;
1089
- return (f = e.as) != null ? f : "div";
1090
- },
1091
- g(
1092
- m(e, [
1093
- "as",
1094
- "gutter",
1095
- "justify",
1096
- "align",
1097
- "stretch",
1098
- "switchAt"
1099
- ]),
1100
- p({
1101
- style: c,
1102
- "data-bedrock-inline": d
1103
- })
1104
- )
1105
- );
754
+ function Vt(e) {
755
+ const t = $(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((y, [x, A]) => y + `${x}:${A};`, ""), i = () => `--gutter: ${b(t, e.gutter ?? "size00") ?? "0px"};`, s = () => e.minItemWidth ? `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${e.minItemWidth}px`};` : void 0, r = () => e.switchAt ? `--switchAt: ${O(t, e.switchAt) ?? "0px"};` : "", c = () => e.justify !== void 0 ? It[e.justify] : void 0, o = () => e.align !== void 0 ? zt[e.align] : void 0, l = () => e.stretch ? `stretch:${e.stretch}` : void 0, f = () => [n(), i(), r(), s()].join("; "), a = () => [c(), o(), l()].filter(Boolean).join(" ");
756
+ return h(() => e.as ?? "div", u(m(e, ["as", "gutter", "justify", "align", "stretch", "switchAt"]), g({
757
+ style: f,
758
+ "data-bedrock-inline": a
759
+ })));
1106
760
  }
1107
- const At = (e) => ({
761
+ const Mt = (e) => ({
1108
762
  left: "padding-inline-start",
1109
763
  right: "padding-inline-end",
1110
764
  top: "padding-block-start",
@@ -1114,58 +768,27 @@ const At = (e) => ({
1114
768
  blockStart: "padding-block-start",
1115
769
  blockEnd: "padding-block-end"
1116
770
  })[e], Ot = (e, t) => {
771
+ if (!t)
772
+ return "";
1117
773
  if (Array.isArray(t) && t.length > 4)
1118
774
  throw new Error("padding arrays can only be 4 or less in length");
1119
- const n = typeof t == "object" && !Array.isArray(t) ? Object.entries(t).reduce(
1120
- (i, [s, o]) => {
1121
- var r;
1122
- return {
1123
- ...i,
1124
- [At(s)]: (r = H(e, o)) != null ? r : "0px"
1125
- };
1126
- },
1127
- {}
1128
- ) : {
1129
- padding: Array.from(Array.isArray(t) ? t : [t]).map((i) => {
1130
- var s;
1131
- return (s = H(e, i)) != null ? s : "0px";
1132
- }).join(" ")
775
+ const n = typeof t == "object" && !Array.isArray(t) ? Object.entries(t).reduce((i, [s, r]) => ({
776
+ ...i,
777
+ [Mt(s)]: _(e, r) ?? "0px"
778
+ }), {}) : {
779
+ padding: Array.from(Array.isArray(t) ? t : [t]).map((i) => _(e, i) ?? "0px").join(" ")
1133
780
  };
1134
- return Object.entries(n).reduce((i, [s, o]) => i + `${s}:${o};`, "");
781
+ return Object.entries(n).reduce((i, [s, r]) => i + `${s}:${r};`, "");
1135
782
  };
1136
- function Ht(e) {
1137
- const t = y(), n = () => {
1138
- var o;
1139
- return typeof e.style == "string" ? e.style : Object.entries((o = e.style) != null ? o : {}).reduce(
1140
- (r, [a, l]) => r + `${a}:${l};`,
1141
- ""
1142
- );
1143
- }, i = () => Ot(t, e.padding), s = () => [n(), i()].join("; ");
1144
- return u(
1145
- () => {
1146
- var o;
1147
- return (o = e.as) != null ? o : "div";
1148
- },
1149
- g(
1150
- m(e, ["as", "padding"]),
1151
- p({
1152
- style: s,
1153
- "data-bedrock-padbox": () => ""
1154
- })
1155
- )
1156
- );
783
+ function Xt(e) {
784
+ const t = $(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((r, [c, o]) => r + `${c}:${o};`, ""), i = () => Ot(t, e.padding), s = () => [n(), i()].join("; ");
785
+ return h(() => e.as ?? "div", u(m(e, ["as", "padding"]), g({
786
+ style: s,
787
+ "data-bedrock-padbox": () => ""
788
+ })));
1157
789
  }
1158
- function Yt(e) {
1159
- const t = y(), n = () => {
1160
- var r;
1161
- return typeof e.style == "string" ? e.style : Object.entries((r = e.style) != null ? r : {}).reduce(
1162
- (a, [l, c]) => a + `${l}:${c};`,
1163
- ""
1164
- );
1165
- }, i = () => {
1166
- var r, a;
1167
- return `--gutter: ${(a = b(t, (r = e.gutter) != null ? r : "size00")) != null ? a : "0px"};`;
1168
- }, s = () => {
790
+ function qt(e) {
791
+ const t = $(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((c, [o, l]) => c + `${o}:${l};`, ""), i = () => `--gutter: ${b(t, e.gutter ?? "size00") ?? "0px"};`, s = () => {
1169
792
  switch (e.snapType) {
1170
793
  case "none":
1171
794
  return "snapType:none";
@@ -1176,19 +799,13 @@ function Yt(e) {
1176
799
  default:
1177
800
  return "snapType:none";
1178
801
  }
1179
- }, o = () => [n(), i()].join("; ");
1180
- return u(
1181
- () => {
1182
- var r;
1183
- return (r = e.as) != null ? r : "div";
1184
- },
1185
- g(
1186
- m(e, ["as", "gutter"]),
1187
- p({ style: o, "data-bedrock-reel": s })
1188
- )
1189
- );
802
+ }, r = () => [n(), i()].join("; ");
803
+ return h(() => e.as ?? "div", u(m(e, ["as", "gutter"]), g({
804
+ style: r,
805
+ "data-bedrock-reel": s
806
+ })));
1190
807
  }
1191
- const Y = {
808
+ const F = {
1192
809
  "1/4": "fraction:1/4",
1193
810
  "1/3": "fraction:1/3",
1194
811
  "1/2": "fraction:1/2",
@@ -1197,164 +814,79 @@ const Y = {
1197
814
  "auto-start": "fraction:auto-start",
1198
815
  "auto-end": "fraction:auto-end"
1199
816
  };
1200
- function Gt(e) {
1201
- const t = y(), n = () => {
1202
- var l;
1203
- return typeof e.style == "string" ? e.style : Object.entries((l = e.style) != null ? l : {}).reduce(
1204
- (c, [d, f]) => c + `${d}:${f};`,
1205
- ""
1206
- );
1207
- }, i = () => {
1208
- var l;
1209
- return e.switchAt ? `--switchAt: ${(l = O(t, e.switchAt)) != null ? l : "0px"};` : "";
1210
- }, s = () => {
1211
- var l, c;
1212
- return `--gutter: ${(c = b(t, (l = e.gutter) != null ? l : "size00")) != null ? c : "0px"};`;
1213
- }, o = () => {
1214
- var l, c;
1215
- return (c = Y[(l = e.fraction) != null ? l : "1/2"]) != null ? c : Y["1/2"];
1216
- }, r = () => e.minItemWidth ? `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${e.minItemWidth}px`};` : void 0, a = () => [n(), s(), i(), r()].join("; ");
1217
- return u(
1218
- () => {
1219
- var l;
1220
- return (l = e.as) != null ? l : "div";
1221
- },
1222
- g(
1223
- m(e, ["as", "gutter", "fraction"]),
1224
- p({
1225
- style: a,
1226
- "data-bedrock-split": o
1227
- })
1228
- )
1229
- );
1230
- }
1231
- function Vt(e) {
1232
- const t = y(), n = () => {
1233
- var o;
1234
- return typeof e.style == "string" ? e.style : Object.entries((o = e.style) != null ? o : {}).reduce(
1235
- (r, [a, l]) => r + `${a}:${l};`,
1236
- ""
1237
- );
1238
- }, i = () => {
1239
- var o, r;
1240
- return `--gutter: ${(r = b(t, (o = e.gutter) != null ? o : "size00")) != null ? r : "0px"};`;
1241
- }, s = () => [n(), i()].join("; ");
1242
- return u(
1243
- () => {
1244
- var o;
1245
- return (o = e.as) != null ? o : "div";
1246
- },
1247
- g(
1248
- m(e, ["as", "gutter"]),
1249
- p({ style: s, "data-bedrock-stack": () => "" })
1250
- )
1251
- );
817
+ function Ut(e) {
818
+ const t = $(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((l, [f, a]) => l + `${f}:${a};`, ""), i = () => e.switchAt ? `--switchAt: ${O(t, e.switchAt) ?? "0px"};` : "", s = () => `--gutter: ${b(t, e.gutter ?? "size00") ?? "0px"};`, r = () => F[e.fraction ?? "1/2"] ?? F["1/2"], c = () => e.minItemWidth ? `--minItemWidth: ${typeof e.minItemWidth == "string" ? e.minItemWidth : `${e.minItemWidth}px`};` : void 0, o = () => [n(), s(), i(), c()].join("; ");
819
+ return h(() => e.as ?? "div", u(m(e, ["as", "gutter", "fraction"]), g({
820
+ style: o,
821
+ "data-bedrock-split": r
822
+ })));
1252
823
  }
1253
- function Mt(e) {
1254
- return typeof e == "number" ? `${e}px` : e && F(e) ? e : "100vh";
824
+ function Qt(e) {
825
+ const t = $(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((r, [c, o]) => r + `${c}:${o};`, ""), i = () => `--gutter: ${b(t, e.gutter ?? "size00") ?? "0px"};`, s = () => [n(), i()].join("; ");
826
+ return h(() => e.as ?? "div", u(m(e, ["as", "gutter"]), g({
827
+ style: s,
828
+ "data-bedrock-stack": () => ""
829
+ })));
1255
830
  }
831
+ const Pt = /* @__PURE__ */ Z("<div data-bedrock-cover-centered></div>");
1256
832
  function Tt(e) {
1257
- const t = y(), n = () => {
1258
- var a;
1259
- return typeof e.style == "string" ? e.style : Object.entries((a = e.style) != null ? a : {}).reduce(
1260
- (l, [c, d]) => l + `${c}:${d};`,
1261
- ""
1262
- );
1263
- }, i = () => {
1264
- var a, l;
1265
- return `--gutter: ${(l = b(t, (a = e.gutter) != null ? a : "size00")) != null ? l : "0px"};`;
1266
- }, s = () => `--minHeight: ${Mt(e.minHeight)};`, o = () => e.stretchContent === !0 ? "stretch-content" : "", r = () => [n(), i(), s()].join("; ");
1267
- return u(
1268
- () => {
1269
- var a;
1270
- return (a = e.as) != null ? a : "div";
1271
- },
1272
- g(
1273
- m(e, ["as", "minHeight", "stretchContent"]),
1274
- p({
1275
- style: r,
1276
- "data-bedrock-cover": o
1277
- })
1278
- )
1279
- );
1280
- }
1281
- function _t(e) {
1282
- const [t, n] = G(e, ["children", "top", "bottom"]);
1283
- return /* @__PURE__ */ React.createElement(Tt, { ...n }, t.top, /* @__PURE__ */ React.createElement("div", { "data-bedrock-cover-centered": !0 }, t.children), t.bottom);
1284
- }
1285
- function Ut(e) {
1286
- const t = y(), n = () => {
1287
- var a;
1288
- return typeof e.style == "string" ? e.style : Object.entries((a = e.style) != null ? a : {}).reduce(
1289
- (l, [c, d]) => l + `${c}:${d};`,
1290
- ""
1291
- );
1292
- }, i = () => {
1293
- var a, l;
1294
- return `--gutter: ${(l = b(t, (a = e.gutter) != null ? a : "size00")) != null ? l : "0px"};`;
1295
- }, s = () => `--columns: ${e.columns && e.columns > 0 ? e.columns : 1};`, o = () => {
1296
- var a;
1297
- return e.switchAt ? `--switchAt: ${(a = O(t, e.switchAt)) != null ? a : "0px"};` : "";
1298
- }, r = () => [n(), i(), s(), o()].join("; ");
1299
- return u(
1300
- () => {
1301
- var a;
1302
- return (a = e.as) != null ? a : "div";
1303
- },
1304
- g(
1305
- m(e, ["as", "gutter", "columns", "switchAt"]),
1306
- p({
1307
- style: r,
1308
- "data-bedrock-columns": () => ""
1309
- })
1310
- )
1311
- );
833
+ return typeof e == "number" ? `${e}px` : e && W(e) ? e : "100vh";
834
+ }
835
+ function kt(e) {
836
+ const t = $(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((o, [l, f]) => o + `${l}:${f};`, ""), i = () => `--gutter: ${b(t, e.gutter ?? "size00") ?? "0px"};`, s = () => `--minHeight: ${Tt(e.minHeight)};`, r = () => e.stretchContent === !0 ? "stretch-content" : "", c = () => [n(), i(), s()].join("; ");
837
+ return h(() => e.as ?? "div", u(m(e, ["as", "minHeight", "stretchContent"]), g({
838
+ style: c,
839
+ "data-bedrock-cover": r
840
+ })));
841
+ }
842
+ function Jt(e) {
843
+ const [t, n] = V(e, ["children", "top", "bottom"]);
844
+ return E(kt, u(n, {
845
+ get children() {
846
+ return [I(() => t.top), (() => {
847
+ const i = Pt.cloneNode(!0);
848
+ return ee(i, () => t.children), i;
849
+ })(), I(() => t.bottom)];
850
+ }
851
+ }));
1312
852
  }
1313
- const It = (e) => typeof e == "number" ? e : 1;
1314
- function Qt(e) {
1315
- const t = () => {
1316
- var r;
1317
- return typeof e.style == "string" ? e.style : Object.entries((r = e.style) != null ? r : {}).reduce(
1318
- (a, [l, c]) => a + `${l}:${c};`,
1319
- ""
1320
- );
1321
- }, n = () => `--span: ${It(e.span)};`, i = () => e.offsetStart && e.offsetStart > 0 ? `--offsetStart: ${e.offsetStart};` : "", s = () => e.offsetEnd && e.offsetEnd > 0 ? `--offsetEnd: ${e.offsetEnd};` : "", o = () => [t(), n(), i(), s()].join("; ");
1322
- return u(
1323
- () => {
1324
- var r;
1325
- return (r = e.as) != null ? r : "div";
1326
- },
1327
- g(
1328
- m(e, ["as", "span", "offsetStart", "offsetEnd"]),
1329
- p({
1330
- style: o,
1331
- "data-bedrock-column": () => ""
1332
- })
1333
- )
1334
- );
853
+ function Yt(e) {
854
+ const t = $(), n = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((o, [l, f]) => o + `${l}:${f};`, ""), i = () => `--gutter: ${b(t, e.gutter ?? "size00") ?? "0px"};`, s = () => `--columns: ${e.columns && e.columns > 0 ? e.columns : 1};`, r = () => e.switchAt ? `--switchAt: ${O(t, e.switchAt) ?? "0px"};` : "", c = () => [n(), i(), s(), r()].join("; ");
855
+ return h(() => e.as ?? "div", u(m(e, ["as", "gutter", "columns", "switchAt"]), g({
856
+ style: c,
857
+ "data-bedrock-columns": () => ""
858
+ })));
859
+ }
860
+ const Nt = (e) => typeof e == "number" ? e : 1;
861
+ function Zt(e) {
862
+ const t = () => typeof e.style == "string" ? e.style : Object.entries(e.style ?? {}).reduce((c, [o, l]) => c + `${o}:${l};`, ""), n = () => `--span: ${Nt(e.span)};`, i = () => e.offsetStart && e.offsetStart > 0 ? `--offsetStart: ${e.offsetStart};` : "", s = () => e.offsetEnd && e.offsetEnd > 0 ? `--offsetEnd: ${e.offsetEnd};` : "", r = () => [t(), n(), i(), s()].join("; ");
863
+ return h(() => e.as ?? "div", u(m(e, ["as", "span", "offsetStart", "offsetEnd"]), g({
864
+ style: r,
865
+ "data-bedrock-column": () => ""
866
+ })));
1335
867
  }
1336
868
  export {
1337
- Nt as Center,
1338
- Qt as Column,
1339
- Bt as ColumnDrop,
1340
- Ut as Columns,
1341
- _t as Cover,
1342
- Rt as Frame,
1343
- vt as Grid,
1344
- Xt as Inline,
1345
- qt as InlineCluster,
1346
- Dt as MasonryGrid,
1347
- Ht as PadBox,
1348
- Yt as Reel,
1349
- Gt as Split,
1350
- Vt as Stack,
1351
- Lt as ThemeProvider,
1352
- F as checkIsCSSLength,
1353
- Wt as createContainerQuery,
1354
- H as getSafeGutter,
869
+ Bt as Center,
870
+ Zt as Column,
871
+ Rt as ColumnDrop,
872
+ Yt as Columns,
873
+ Jt as Cover,
874
+ Ht as Frame,
875
+ xt as Grid,
876
+ Vt as Inline,
877
+ Ft as InlineCluster,
878
+ _t as MasonryGrid,
879
+ Xt as PadBox,
880
+ qt as Reel,
881
+ Ut as Split,
882
+ Qt as Stack,
883
+ Dt as ThemeProvider,
884
+ W as checkIsCSSLength,
885
+ Gt as createContainerQuery,
886
+ _ as getSafeGutter,
1355
887
  O as getSizeValue,
1356
888
  b as getSpacingValue,
1357
- mt as sizes,
1358
- gt as spacing,
1359
- y as useTheme
889
+ dt as sizes,
890
+ ut as spacing,
891
+ $ as useTheme
1360
892
  };