@bedrock-layout/solid 0.12.1 → 1.1.0
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/center.d.ts +2 -2
- package/lib/column-drop.d.ts +3 -3
- package/lib/columns.d.ts +7 -12
- package/lib/cover.d.ts +6 -7
- package/lib/frame.d.ts +3 -3
- package/lib/grid.d.ts +3 -3
- package/lib/index.cjs.js +219 -1
- package/lib/index.m.js +1021 -1008
- package/lib/index.umd.js +219 -1
- package/lib/inline-cluster.d.ts +1 -1
- package/lib/inline.d.ts +5 -6
- package/lib/padbox.d.ts +3 -3
- package/lib/reel.d.ts +1 -1
- package/lib/spacing-constants.d.ts +26 -26
- package/lib/split.d.ts +7 -9
- package/lib/stack.d.ts +1 -1
- package/lib/typeUtils.d.ts +13 -13
- package/package.json +3 -3
package/lib/center.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { JSX } from "solid-js";
|
|
2
2
|
import { CSSLength } from "./spacing-constants";
|
|
3
3
|
import { HeadlessPropsWithRef, ValidConstructor } from "./typeUtils";
|
|
4
|
-
|
|
4
|
+
type MaxWidth = number | CSSLength;
|
|
5
5
|
export interface CenterBaseProps {
|
|
6
6
|
maxWidth?: MaxWidth;
|
|
7
7
|
centerText?: boolean;
|
|
8
8
|
centerChildren?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type CenterProps<T extends ValidConstructor = "div"> = HeadlessPropsWithRef<T, CenterBaseProps>;
|
|
11
11
|
export declare function Center<T extends ValidConstructor = "div">(props: CenterProps<T>): JSX.Element;
|
|
12
12
|
export {};
|
package/lib/column-drop.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { JSX } from "solid-js";
|
|
2
|
-
import { CSSLength, SpacingOptions } from "./spacing-constants";
|
|
2
|
+
import { CSSLength, SizesOptions, SpacingOptions } from "./spacing-constants";
|
|
3
3
|
import { HeadlessPropsWithRef, ValidConstructor } from "./typeUtils";
|
|
4
|
-
|
|
4
|
+
type MinItemWidth = CSSLength | number | SizesOptions | "fit-content" | "max-content" | "min-content" | "auto";
|
|
5
5
|
export interface ColumnDropBaseProps {
|
|
6
6
|
gutter?: SpacingOptions;
|
|
7
7
|
minItemWidth?: MinItemWidth;
|
|
8
8
|
noStretchedColumns?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type ColumnDropProps<T extends ValidConstructor = "div"> = HeadlessPropsWithRef<T, ColumnDropBaseProps>;
|
|
11
11
|
export declare function ColumnDrop<T extends ValidConstructor = "div">(props: ColumnDropProps<T>): JSX.Element;
|
|
12
12
|
export {};
|
package/lib/columns.d.ts
CHANGED
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SpacingOptions } from "./spacing-constants";
|
|
3
|
-
import { StackProps } from "./stack";
|
|
1
|
+
import { JSX } from "solid-js";
|
|
2
|
+
import { CSSLength, SizesOptions, SpacingOptions } from "./spacing-constants";
|
|
4
3
|
import { HeadlessPropsWithRef, ValidConstructor } from "./typeUtils";
|
|
5
|
-
interface
|
|
4
|
+
interface ColumnsBaseProps {
|
|
6
5
|
gutter?: SpacingOptions;
|
|
7
6
|
columns?: number;
|
|
8
|
-
|
|
7
|
+
switchAt?: number | CSSLength | SizesOptions;
|
|
9
8
|
}
|
|
10
|
-
export
|
|
11
|
-
export declare function
|
|
12
|
-
export interface ColumnsProps extends StackProps, ColumnsBaseProps {
|
|
13
|
-
switchAt?: number | string;
|
|
14
|
-
}
|
|
15
|
-
export declare const Columns: Component<ColumnsProps>;
|
|
9
|
+
export type ColumnsProps<T extends ValidConstructor = "div"> = HeadlessPropsWithRef<T, ColumnsBaseProps>;
|
|
10
|
+
export declare function Columns<T extends ValidConstructor = "div">(props: ColumnsProps<T>): JSX.Element;
|
|
16
11
|
export interface ColumnBaseProps {
|
|
17
12
|
span?: number;
|
|
18
13
|
offsetStart?: number;
|
|
19
14
|
offsetEnd?: number;
|
|
20
15
|
}
|
|
21
|
-
export
|
|
16
|
+
export type ColumnProps<T extends ValidConstructor = "div"> = HeadlessPropsWithRef<T, ColumnBaseProps>;
|
|
22
17
|
export declare function Column<T extends ValidConstructor = "div">(props: ColumnProps<T>): JSX.Element;
|
|
23
18
|
export {};
|
package/lib/cover.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX, JSXElement } from "solid-js";
|
|
2
2
|
import { CSSLength, SpacingOptions } from "./spacing-constants";
|
|
3
3
|
import { HeadlessPropsWithRef, ValidConstructor } from "./typeUtils";
|
|
4
|
-
|
|
4
|
+
type MinHeight = CSSLength | number;
|
|
5
5
|
interface CoverWrapperBaseProps {
|
|
6
6
|
gutter?: SpacingOptions;
|
|
7
7
|
minHeight?: MinHeight;
|
|
8
8
|
stretchContent?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
11
|
-
export interface CoverProps
|
|
10
|
+
export type CoverWrapperProps<T extends ValidConstructor = "div"> = HeadlessPropsWithRef<T, CoverWrapperBaseProps>;
|
|
11
|
+
export interface CoverProps {
|
|
12
12
|
top?: JSXElement;
|
|
13
13
|
bottom?: JSXElement;
|
|
14
|
-
}
|
|
15
|
-
export declare const Cover: Component<CoverProps & {
|
|
16
14
|
children?: JSXElement;
|
|
17
|
-
}
|
|
15
|
+
}
|
|
16
|
+
export declare function Cover<T extends ValidConstructor = "div">(props: CoverWrapperProps<T> & CoverProps): JSX.Element;
|
|
18
17
|
export {};
|
package/lib/frame.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { JSX } from "solid-js";
|
|
2
2
|
import { HeadlessPropsWithRef, ValidConstructor } from "./typeUtils";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type RatioString = `${number}/${number}` | `${number} / ${number}`;
|
|
4
|
+
type Ratio = [number, number] | RatioString;
|
|
5
5
|
export interface FrameBaseProps {
|
|
6
6
|
ratio?: Ratio;
|
|
7
7
|
position?: string;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type FrameProps<T extends ValidConstructor = "div"> = HeadlessPropsWithRef<T, FrameBaseProps>;
|
|
10
10
|
export declare function Frame<T extends ValidConstructor = "div">(props: FrameProps<T>): JSX.Element;
|
|
11
11
|
export {};
|
package/lib/grid.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { JSX } from "solid-js";
|
|
2
|
-
import { CSSLength, SpacingOptions } from "./spacing-constants";
|
|
2
|
+
import { CSSLength, SizesOptions, SpacingOptions } from "./spacing-constants";
|
|
3
3
|
import { HeadlessPropsWithRef, ValidConstructor } from "./typeUtils";
|
|
4
|
-
|
|
4
|
+
type MinItemWidth = CSSLength | number | SizesOptions | "fit-content" | "max-content" | "min-content" | "auto";
|
|
5
5
|
export interface GridBaseProps {
|
|
6
6
|
gutter?: SpacingOptions;
|
|
7
7
|
minItemWidth?: MinItemWidth;
|
|
8
8
|
}
|
|
9
|
-
export
|
|
9
|
+
export type GridProps<T extends ValidConstructor = "div"> = HeadlessPropsWithRef<T, GridBaseProps>;
|
|
10
10
|
export declare function Grid<T extends ValidConstructor = "div">(props: GridProps<T>): JSX.Element;
|
|
11
11
|
export {};
|
package/lib/index.cjs.js
CHANGED
|
@@ -1 +1,219 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var f=require("solid-js"),E=require("@bedrock-layout/register-resize-callback");function R(e){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,100}\)$/].some(t=>t.test(e))}const T={none:"0px",xxs:"0.0625rem",xs:"0.125rem",sm:"0.25rem",md:"0.5rem",mdLg:"0.75rem",lg:"1rem",lgXl:"1.5rem",xl:"2rem",xlXXl:"3rem",xxl:"4rem"};function U(e){return e.reduce((t,[n,o])=>({...t,[n]:o}),{})}const h=(e,t)=>{var s,i;const n=(i=(s=t==null?void 0:t.space)!=null?s:t==null?void 0:t.spacing)!=null?i:T,r=U(Object.entries(n).map(([l,a])=>[l,typeof a=="number"?`${a}px`:a]))[e];return R(r)?r:void 0},Q=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],J=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...Q]),Y=new Set(["innerHTML","textContent","innerText","children"]),Z={className:"class",htmlFor:"for"},L={class:"className",formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"},p=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),ee=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),te={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function ne(e,t,n){let o=n.length,r=t.length,c=o,s=0,i=0,l=t[r-1].nextSibling,a=null;for(;s<r||i<c;){if(t[s]===n[i]){s++,i++;continue}for(;t[r-1]===n[c-1];)r--,c--;if(r===s){const u=c<o?i?n[i-1].nextSibling:n[c-i]:l;for(;i<c;)e.insertBefore(n[i++],u)}else if(c===i)for(;s<r;)(!a||!a.has(t[s]))&&t[s].remove(),s++;else if(t[s]===n[c-1]&&n[i]===t[r-1]){const u=t[--r].nextSibling;e.insertBefore(n[i++],t[s++].nextSibling),e.insertBefore(n[--c],u),t[r]=n[c]}else{if(!a){a=new Map;let d=i;for(;d<c;)a.set(n[d],d++)}const u=a.get(t[s]);if(u!=null)if(i<u&&u<c){let d=s,b=1,$;for(;++d<r&&d<c&&!(($=a.get(t[d]))==null||$!==u+b);)b++;if(b>u-i){const x=t[s];for(;i<u;)e.insertBefore(n[i++],x)}else e.replaceChild(n[i++],t[s++])}else s++;else t[s++].remove()}}}const B="_$DX_DELEGATE";function ie(e,t=window.document){const n=t[B]||(t[B]=new Set);for(let o=0,r=e.length;o<r;o++){const c=e[o];n.has(c)||(n.add(c),t.addEventListener(c,ge))}}function se(e,t,n){n==null?e.removeAttribute(t):e.setAttribute(t,n)}function oe(e,t,n,o){o==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,o)}function re(e,t){t==null?e.removeAttribute("class"):e.className=t}function ce(e,t,n,o){if(o)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=c=>r.call(e,n[1],c))}else e.addEventListener(t,n)}function le(e,t,n={}){const o=Object.keys(t||{}),r=Object.keys(n);let c,s;for(c=0,s=r.length;c<s;c++){const i=r[c];!i||i==="undefined"||t[i]||(W(e,i,!1),delete n[i])}for(c=0,s=o.length;c<s;c++){const i=o[c],l=!!t[i];!i||i==="undefined"||n[i]===l||!l||(W(e,i,!0),n[i]=l)}return n}function ae(e,t,n={}){const o=e.style,r=typeof n=="string";if(t==null&&r||typeof t=="string")return o.cssText=t;r&&(o.cssText=void 0,n={}),t||(t={});let c,s;for(s in n)t[s]==null&&o.removeProperty(s),delete n[s];for(s in t)c=t[s],c!==n[s]&&(o.setProperty(s,c),n[s]=c);return n}function fe(e,t,n,o){typeof t=="function"?f.createRenderEffect(r=>F(e,t(),r,n,o)):F(e,t,void 0,n,o)}function ue(e,t,n,o,r={},c=!1){t||(t={});for(const s in r)if(!(s in t)){if(s==="children")continue;D(e,s,null,r[s],n,c)}for(const s in t){if(s==="children"){o||j(e,t.children);continue}const i=t[s];r[s]=D(e,s,i,r[s],n,c)}}function de(e){let t,n;return!f.sharedConfig.context||!(t=f.sharedConfig.registry.get(n=me()))?e.cloneNode(!0):(f.sharedConfig.completed&&f.sharedConfig.completed.add(t),f.sharedConfig.registry.delete(n),t)}function ye(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function W(e,t,n){const o=t.trim().split(/\s+/);for(let r=0,c=o.length;r<c;r++)e.classList.toggle(o[r],n)}function D(e,t,n,o,r,c){let s,i,l;if(t==="style")return ae(e,n,o);if(t==="classList")return le(e,n,o);if(n===o)return o;if(t==="ref")c||n(e);else if(t.slice(0,3)==="on:"){const a=t.slice(3);o&&e.removeEventListener(a,o),n&&e.addEventListener(a,n)}else if(t.slice(0,10)==="oncapture:"){const a=t.slice(10);o&&e.removeEventListener(a,o,!0),n&&e.addEventListener(a,n,!0)}else if(t.slice(0,2)==="on"){const a=t.slice(2).toLowerCase(),u=p.has(a);if(!u&&o){const d=Array.isArray(o)?o[0]:o;e.removeEventListener(a,d)}(u||n)&&(ce(e,a,n,u),u&&ie([a]))}else if((l=Y.has(t))||!r&&(L[t]||(i=J.has(t)))||(s=e.nodeName.includes("-")))t==="class"||t==="className"?re(e,n):s&&!i&&!l?e[ye(t)]=n:e[L[t]||t]=n;else{const a=r&&t.indexOf(":")>-1&&te[t.split(":")[0]];a?oe(e,a,t,n):se(e,Z[t]||t,n)}return n}function ge(e){const t=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return n||document}}),f.sharedConfig.registry&&!f.sharedConfig.done&&(f.sharedConfig.done=!0,document.querySelectorAll("[id^=pl-]").forEach(o=>o.remove()));n!==null;){const o=n[t];if(o&&!n.disabled){const r=n[`${t}Data`];if(r!==void 0?o.call(n,r,e):o.call(n,e),e.cancelBubble)return}n=n.host&&n.host!==n&&n.host instanceof Node?n.host:n.parentNode}}function F(e,t,n={},o,r){return t||(t={}),!r&&"children"in t&&f.createRenderEffect(()=>n.children=j(e,t.children,n.children)),t.ref&&t.ref(e),f.createRenderEffect(()=>ue(e,t,o,!0,n,!0)),n}function j(e,t,n,o,r){for(f.sharedConfig.context&&!n&&(n=[...e.childNodes]);typeof n=="function";)n=n();if(t===n)return n;const c=typeof t,s=o!==void 0;if(e=s&&n[0]&&n[0].parentNode||e,c==="string"||c==="number"){if(f.sharedConfig.context)return n;if(c==="number"&&(t=t.toString()),s){let i=n[0];i&&i.nodeType===3?i.data=t:i=document.createTextNode(t),n=C(e,n,o,i)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||c==="boolean"){if(f.sharedConfig.context)return n;n=C(e,n,o)}else{if(c==="function")return f.createRenderEffect(()=>{let i=t();for(;typeof i=="function";)i=i();n=j(e,i,n,o)}),()=>n;if(Array.isArray(t)){const i=[],l=n&&Array.isArray(n);if(M(i,t,n,r))return f.createRenderEffect(()=>n=j(e,i,n,o,!0)),()=>n;if(f.sharedConfig.context){if(!i.length)return n;for(let a=0;a<i.length;a++)if(i[a].parentNode)return n=i}if(i.length===0){if(n=C(e,n,o),s)return n}else l?n.length===0?G(e,i,o):ne(e,n,i):(n&&C(e),G(e,i));n=i}else if(t instanceof Node){if(f.sharedConfig.context&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=C(e,n,o,t);C(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function M(e,t,n,o){let r=!1;for(let c=0,s=t.length;c<s;c++){let i=t[c],l=n&&n[c];if(i instanceof Node)e.push(i);else if(!(i==null||i===!0||i===!1))if(Array.isArray(i))r=M(e,i,l)||r;else if(typeof i=="function")if(o){for(;typeof i=="function";)i=i();r=M(e,Array.isArray(i)?i:[i],Array.isArray(l)?l:[l])||r}else e.push(i),r=!0;else{const a=String(i);l&&l.nodeType===3&&l.data===a?e.push(l):e.push(document.createTextNode(a))}}return r}function G(e,t,n){for(let o=0,r=t.length;o<r;o++)e.insertBefore(t[o],n)}function C(e,t,n,o){if(n===void 0)return e.textContent="";const r=o||document.createTextNode("");if(t.length){let c=!1;for(let s=t.length-1;s>=0;s--){const i=t[s];if(r!==i){const l=i.parentNode===e;!c&&!s?l?e.replaceChild(r,i):e.insertBefore(r,n):l&&i.remove()}else c=!0}}else e.insertBefore(r,n);return[r]}function me(){const e=f.sharedConfig.context;return`${e.id}${e.count++}`}const he="http://www.w3.org/2000/svg";function Se(e,t=!1){return t?document.createElementNS(he,e):document.createElement(e)}function be(e){const[t,n]=f.splitProps(e,["component"]),o=f.createMemo(()=>t.component);return f.createMemo(()=>{const r=o();switch(typeof r){case"function":return f.untrack(()=>r(n));case"string":const c=ee.has(r),s=f.sharedConfig.context?de():Se(r,c);return fe(s,n,c),s}})}function $e(e){return e!=null?e:void 0}function y(e,t){return Object.keys(e).filter(n=>!t.includes(n)).reduce((n,o)=>(Object.defineProperty(n,o,{get(){return e[o]},configurable:!0,enumerable:!0}),n),{})}function g(e,t){return f.createComponent(be,f.mergeProps({get component(){return e()}},t))}function m(e){if(!Object.values(e).every(t=>typeof t=="function"))throw new Error("Please provide an object with accessor values only.");return Object.keys(e).reduce((t,n)=>{const o=e[n];return Object.defineProperty(t,n,{get(){return o()},configurable:!0,enumerable:!0}),t},{})}function Ce(e){return e===void 0?"100%":typeof e=="number"?`${e}px`:e}function xe(e){const t=()=>{var i;return typeof e.style=="string"?e.style:Object.entries((i=e.style)!=null?i:{}).reduce((l,[a,u])=>l+`${a}:${u};`,"")},n=()=>`--maxWidth: ${Ce(e.maxWidth)};`,o=()=>e.centerText?"center-text":"",r=()=>e.centerChildren?"center-children":"",c=()=>[o(),r()].filter(Boolean).join(" "),s=()=>[t(),n()].join("; ");return g(()=>{var i;return(i=e.as)!=null?i:"div"},f.mergeProps(y(e,["as","maxWidth","centerText","centerChildren"]),m({style:s,"data-bedrock-center":c})))}const _=f.createContext({});function we(e){return React.createElement(_.Provider,{value:e.theme},e.children)}function S(){try{return f.useContext(_)}catch{return{}}}function Ae(e){return e===void 0?"159px":typeof e=="number"?`${e}px`:e}function Ee(e){const t=S(),n=()=>{var i;return typeof e.style=="string"?e.style:Object.entries((i=e.style)!=null?i:{}).reduce((l,[a,u])=>l+`${a}:${u};`,"")},o=()=>{var i,l;return`--gutter: ${(l=h((i=e.gutter)!=null?i:"none",t))!=null?l:"0px"}`},r=()=>`--minItemWidth: ${Ae(e.minItemWidth)}`,c=()=>e.noStretchedColumns===!0?"no-stretched-columns":"",s=()=>[n(),o(),r()].join("; ");return g(()=>{var i;return(i=e.as)!=null?i:"div"},f.mergeProps(y(e,["as","gutter","minItemWidth","noStretchedColumns"]),m({style:s,"data-bedrock-column-drop":c})))}function v(e){throw new Error(e)}function je(e){typeof e!="number"&&!Array.isArray(e)&&v("width must be a number or an array of two numbers"),Array().concat(e).some(n=>n<0)&&v("width value(s) must be 0 or greater"),Array.isArray(e)&&(e.length!==2||e[0]>e[1])&&v(`The second width value, ${e[1]}, is not larger than ${e[0]}. Please provide a value greater than first width value`)}function I(e,t){je(e);const[n,o]=f.createSignal(!1),[r,c]=f.createSignal();return f.onMount(()=>{E.init()}),f.createEffect(()=>{if(r()===void 0||r()===null)return;t&&t(r());const s=E.registerCallback(r(),i=>{var a,u;const l=(u=(a=i.borderBoxSize)==null?void 0:a.inlineSize)!=null?u:i.contentRect.width;if(l>0){const d=Array.isArray(e)?l>=e[0]&&l<=e[1]:l<=e;o(d)}});f.onCleanup(s)}),[n,c]}function ve(e){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)}function Pe(e){return Array.isArray(e)?e.join("/"):e}function Me(e){return ve(e)?Pe(e):void 0}function ke(e){const t=()=>{var s;return typeof e.style=="string"?e.style:Object.entries((s=e.style)!=null?s:{}).reduce((i,[l,a])=>i+`${l}:${a};`,"")},n=()=>Me(e.ratio),o=()=>n()?`--ratio: ${n()}`:"",r=()=>typeof e.position=="string"?`--position: ${e.position}`:"50%",c=()=>[t(),o(),r()].join("; ");return g(()=>{var s;return(s=e.as)!=null?s:"div"},f.mergeProps(y(e,["as","ratio","position"]),m({style:c,"data-bedrock-frame":()=>""})))}function X(e){const t=S(),n=()=>{var s;return typeof e.style=="string"?e.style:Object.entries((s=e.style)!=null?s:{}).reduce((i,[l,a])=>i+`${l}:${a};`,"")},o=()=>{var s,i;return`--gutter: ${(i=h((s=e.gutter)!=null?s:"none",t))!=null?i:"0px"};`},r=()=>{var s;return`--minItemWidth: ${typeof e.minItemWidth=="string"?e.minItemWidth:`${(s=e.minItemWidth)!=null?s:0}px`};`},c=()=>[n(),o(),r()].join("; ");return g(()=>{var s;return(s=e.as)!=null?s:"div"},f.mergeProps(y(e,["as","gutter","minItemWidth"]),m({style:c,"data-bedrock-grid":()=>""})))}const w=96;function z(e){var o;e=String(e);const t=parseFloat(e),[,n]=(o=e.match(/[\d.\-+]*\s*(.*)/))!=null?o:["",""];return[t,n]}function A(e,t){if(!e)return;const n=t!=null?t:document.body,o=(e!=null?e:"px").trim().toLowerCase();switch(o){case"vmin":case"vmax":case"vh":case"vw":case"%":return;case"ch":case"ex":return Re(o,n);case"em":return k(n,"font-size");case"rem":return k(document.body,"font-size");case"in":return w;case"cm":return w/2.54;case"mm":return w/25.4;case"pt":return w/72;case"pc":return w/6;case"px":return 1;default:{const[r,c]=z(o);if(isNaN(r))return;if(!c)return r;const s=A(c,t);return typeof s=="number"?r*s:void 0}}}function k(e,t){var r;const[n,o]=z(getComputedStyle(e).getPropertyValue(t));return n*((r=A(o,e))!=null?r:1)}function Re(e,t){const n=document.createElement("div");n.style.height="128"+e,t.appendChild(n);const o=k(n,"height")/128;return t.removeChild(n),o}const P=1,Te=typeof window=="object"&&typeof document=="object"&&document.nodeType===9,Ie=e=>{const[t,n]=f.createSignal(1),[o,r]=f.createSignal(),c=S();return f.onMount(()=>{E.init()}),f.createEffect(()=>{const s=$e(o());if(s===void 0)return;const i=E.registerCallback(s,({target:l})=>{var N;n(1);const a=e.gutter&&(N=h(e.gutter,c))!=null?N:"1px",u=Te?A(a,l):void 0,d=Math.max(u!=null?u:P,P),[b]=Array.from(l.children),$=1+Math.min(l.scrollHeight,b.scrollHeight),x=Math.max(Math.ceil($/d),P);n(x)});f.onCleanup(i)}),React.createElement("div",{style:`grid-row: span ${t()};`,ref:r},e.children)},Oe=e=>{const t=f.children(()=>e.children),o=[].concat(t()).filter(Boolean).map(r=>React.createElement(Ie,{gutter:e.gutter},r));return React.createElement(X,{style:"grid-template-rows: 1px;",...e},o)},Ne={start:"justify:start",end:"justify:end",center:"justify:center"},Le={start:"align:start",end:"align:end",center:"align:center",stretch:"align:stretch"};function Be(e){const t=S(),n=()=>{var l;return typeof e.style=="string"?e.style:Object.entries((l=e.style)!=null?l:{}).reduce((a,[u,d])=>a+`${u}:${d};`,"")},o=()=>{var l,a;return`--gutter: ${(a=h((l=e.gutter)!=null?l:"none",t))!=null?a:"0px"};`},r=()=>e.justify!==void 0?Ne[e.justify]:void 0,c=()=>e.align!==void 0?Le[e.align]:void 0,s=()=>[n(),o()].join("; "),i=()=>[r(),c()].filter(Boolean).join(" ");return g(()=>{var l;return(l=e.as)!=null?l:"div"},f.mergeProps(y(e,["as","gutter","justify","align"]),m({style:s,"data-bedrock-inline-cluster":i})))}const We={start:"justify:start",end:"justify:end",center:"justify:center"},De={start:"align:start",end:"align:end",center:"align:center",stretch:"align:stretch"};function Fe(e){return typeof e=="number"&&e>-1?!0:typeof e=="string"&&typeof CSS!==void 0?CSS.supports(`height: ${e}`):!1}function Ge(e){const t=S(),n=()=>{var d;return typeof e.style=="string"?e.style:Object.entries((d=e.style)!=null?d:{}).reduce((b,[$,x])=>b+`${$}:${x};`,"")},o=()=>{var d,b;return`--gutter: ${(b=h((d=e.gutter)!=null?d:"none",t))!=null?b:"0px"};`},r=()=>e.minItemWidth?`--minItemWidth: ${typeof e.minItemWidth=="string"?e.minItemWidth:`${e.minItemWidth}px`};`:void 0,c=()=>Fe(e.switchAt)?`--switchAt: ${typeof e.switchAt=="string"?e.switchAt:`${e.switchAt}px`};`:void 0,s=()=>e.justify!==void 0?We[e.justify]:void 0,i=()=>e.align!==void 0?De[e.align]:void 0,l=()=>e.stretch?`stretch:${e.stretch}`:void 0,a=()=>[n(),o(),c(),r()].join("; "),u=()=>[s(),i(),l()].filter(Boolean).join(" ");return g(()=>{var d;return(d=e.as)!=null?d:"div"},f.mergeProps(y(e,["as","gutter","justify","align","stretch","switchAt"]),m({style:a,"data-bedrock-inline":u})))}const V=new Set(["left","right","top","bottom","inlineStart","inlineEnd","blockStart","blockEnd"]),Ve=(e,t)=>({left:`padding-inline-start:${t};`,right:`padding-inline-end:${t};`,top:`padding-block-start:${t};`,bottom:`padding-block-end:${t};`,inlineStart:`padding-inline-start:${t};`,inlineEnd:`padding-inline-end:${t};`,blockStart:`padding-block-start:${t};`,blockEnd:`padding-block-end:${t};`})[e];function He(e){return t=>{const n=h(t,e);return n!=null?n:"0px"}}function _e(e,t){var c;if(Array.isArray(t)&&t.length>4)throw new Error("padding arrays can only be 4 or less in length");const n=new Set(Object.keys((c=e==null?void 0:e.spacing)!=null?c:T));(()=>typeof t=="string"?!0:Array.isArray(t)?t.every(s=>n.has(s)):t&&Object.keys(t).every(s=>V.has(s))&&Object.values(t).every(s=>n.has(s)))()||console.error("Invalid padding Type");const r=He(e);return typeof t=="object"&&!Array.isArray(t)?Object.entries(t).reduce((s,[i,l])=>V.has(i)?s+Ve(i,r(l)):s,""):t!==void 0?`padding: ${Array.from(Array.isArray(t)?t:[t]).map(s=>r(s)).join(" ")};`:""}function Xe(e){const t=S(),n=()=>{var c;return typeof e.style=="string"?e.style:Object.entries((c=e.style)!=null?c:{}).reduce((s,[i,l])=>s+`${i}:${l};`,"")},o=()=>_e(t,e.padding),r=()=>[n(),o()].join("; ");return g(()=>{var c;return(c=e.as)!=null?c:"div"},f.mergeProps(y(e,["as","padding"]),m({style:r,"data-bedrock-padbox":()=>""})))}function ze(e){const t=S(),n=()=>{var s;return typeof e.style=="string"?e.style:Object.entries((s=e.style)!=null?s:{}).reduce((i,[l,a])=>i+`${l}:${a};`,"")},o=()=>{var s,i;return`--gutter: ${(i=h((s=e.gutter)!=null?s:"none",t))!=null?i:"0px"};`},r=()=>{switch(e.snapType){case"none":return"snapType:none";case"proximity":return"snapType:proximity";case"mandatory":return"snapType:mandatory";default:return"snapType:none"}},c=()=>[n(),o()].join("; ");return g(()=>{var s;return(s=e.as)!=null?s:"div"},f.mergeProps(y(e,["as","gutter"]),m({style:c,"data-bedrock-reel":r})))}function O(e){const t=S(),n=()=>{var c;return typeof e.style=="string"?e.style:Object.entries((c=e.style)!=null?c:{}).reduce((s,[i,l])=>s+`${i}:${l};`,"")},o=()=>{var c,s;return`--gutter: ${(s=h((c=e.gutter)!=null?c:"none",t))!=null?s:"0px"};`},r=()=>[n(),o()].join("; ");return g(()=>{var c;return(c=e.as)!=null?c:"div"},f.mergeProps(y(e,["as","gutter"]),m({style:r,"data-bedrock-stack":()=>""})))}const H={"1/4":"fraction:1/4","1/3":"fraction:1/3","1/2":"fraction:1/2","2/3":"fraction:2/3","3/4":"fraction:3/4","auto-start":"fraction:auto-start","auto-end":"fraction:auto-end"};function q(e){const t=S(),n=()=>{var s;return typeof e.style=="string"?e.style:Object.entries((s=e.style)!=null?s:{}).reduce((i,[l,a])=>i+`${l}:${a};`,"")},o=()=>{var s,i;return`--gutter: ${(i=h((s=e.gutter)!=null?s:"none",t))!=null?i:"0px"};`},r=()=>{var s,i;return(i=H[(s=e.fraction)!=null?s:"1/2"])!=null?i:H["1/2"]},c=()=>[n(),o()].join("; ");return g(()=>{var s;return(s=e.as)!=null?s:"div"},f.mergeProps(y(e,["as","gutter","fraction"]),m({style:c,"data-bedrock-split":r})))}const qe=e=>{const[t,n]=f.splitProps(e,["switchAt","fraction"]),o=typeof t.switchAt=="string"?A(t.switchAt):t.switchAt,r=Math.max(o!=null?o:0,0),[c,s]=I(r,e.ref);return React.createElement(f.Switch,null,React.createElement(f.Match,{when:c()===!1},React.createElement(q,{fraction:t.fraction,...n,ref:s})),React.createElement(f.Match,{when:c()===!0},React.createElement(O,{...n,ref:s})))};function Ke(e){return typeof e=="number"?`${e}px`:e&&R(e)?e:"100vh"}function Ue(e){const t=S(),n=()=>{var i;return typeof e.style=="string"?e.style:Object.entries((i=e.style)!=null?i:{}).reduce((l,[a,u])=>l+`${a}:${u};`,"")},o=()=>{var i,l;return`--gutter: ${(l=h((i=e.gutter)!=null?i:"none",t))!=null?l:"0px"};`},r=()=>`--minHeight: ${Ke(e.minHeight)};`,c=()=>e.stretchContent===!0?"stretch-content":"",s=()=>[n(),o(),r()].join("; ");return g(()=>{var i;return(i=e.as)!=null?i:"div"},f.mergeProps(y(e,["as","minHeight","stretchContent"]),m({style:s,"data-bedrock-cover":c})))}const Qe=e=>React.createElement(Ue,{...e},e.top,React.createElement("div",{"data-bedrock-cover-centered":!0},e.children),e.bottom);function K(e){const t=S(),n=()=>{var i;return typeof e.style=="string"?e.style:Object.entries((i=e.style)!=null?i:{}).reduce((l,[a,u])=>l+`${a}:${u};`,"")},o=()=>{var i,l;return`--gutter: ${(l=h((i=e.gutter)!=null?i:"none",t))!=null?l:"0px"};`},r=()=>`--columns: ${e.columns&&e.columns>0?e.columns:1};`,c=()=>e.dense?"dense":"",s=()=>[n(),o(),r()].join("; ");return g(()=>{var i;return(i=e.as)!=null?i:"div"},f.mergeProps(y(e,["as","gutter","columns","dense"]),m({style:s,"data-bedrock-columns":c})))}const Je=e=>{const[t,n]=f.splitProps(e,["switchAt","columns","dense"]),o=typeof t.switchAt=="string"?A(t.switchAt):t.switchAt,r=Math.max(o!=null?o:0,0),[c,s]=I(r),i=l=>{var a;s(l),(a=n.ref)==null||a.call(n,l)};return React.createElement(f.Switch,null,React.createElement(f.Match,{when:c()===!1},React.createElement(K,{columns:t.columns,dense:t.dense,...n,ref:i})),React.createElement(f.Match,{when:c()===!0},React.createElement(O,{...n,ref:i})))},Ye=e=>typeof e=="number"?e:1;function Ze(e){const t=()=>{var s;return typeof e.style=="string"?e.style:Object.entries((s=e.style)!=null?s:{}).reduce((i,[l,a])=>i+`${l}:${a};`,"")},n=()=>`--span: ${Ye(e.span)};`,o=()=>e.offsetStart&&e.offsetStart>0?`--offsetStart: ${e.offsetStart};`:"",r=()=>e.offsetEnd&&e.offsetEnd>0?`--offsetEnd: ${e.offsetEnd};`:"",c=()=>[t(),n(),o(),r()].join("; ");return g(()=>{var s;return(s=e.as)!=null?s:"div"},f.mergeProps(y(e,["as","span","offsetStart","offsetEnd"]),m({style:c,"data-bedrock-column":()=>""})))}exports.Center=xe;exports.Column=Ze;exports.ColumnDrop=Ee;exports.Columns=Je;exports.ColumnsBase=K;exports.Cover=Qe;exports.Frame=ke;exports.Grid=X;exports.Inline=Ge;exports.InlineCluster=Be;exports.MasonryGrid=Oe;exports.PadBox=Xe;exports.Reel=ze;exports.Split=qe;exports.SplitBase=q;exports.Stack=O;exports.ThemeProvider=we;exports.checkIsCSSLength=R;exports.createContainerQuery=I;exports.getSpacingValue=h;exports.spacing=T;exports.useTheme=S;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("solid-js"),S=require("@bedrock-layout/register-resize-callback");function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},k.apply(this,arguments)}var Z=k({},{"--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"}),K=k({},{"--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":`
|
|
2
|
+
0 3px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
|
|
3
|
+
0 7px 14px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%))`,"--shadow-3":`
|
|
4
|
+
0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
|
|
5
|
+
0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
|
|
6
|
+
0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
|
|
7
|
+
0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
|
|
8
|
+
0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))`,"--shadow-4":`
|
|
9
|
+
0 -2px 5px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
|
|
10
|
+
0 1px 1px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
|
|
11
|
+
0 2px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
|
|
12
|
+
0 5px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
|
|
13
|
+
0 9px 9px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
|
|
14
|
+
0 16px 16px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%))`,"--shadow-5":`
|
|
15
|
+
0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
|
|
16
|
+
0 2px 1px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
|
|
17
|
+
0 5px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
|
|
18
|
+
0 10px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
|
|
19
|
+
0 20px 20px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
|
|
20
|
+
0 40px 40px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))`,"--shadow-6":`
|
|
21
|
+
0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)),
|
|
22
|
+
0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
|
|
23
|
+
0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)),
|
|
24
|
+
0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)),
|
|
25
|
+
0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)),
|
|
26
|
+
0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)),
|
|
27
|
+
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%))"};Object.fromEntries(Object.entries(E).map(function(e){var t=e[1];return[e[0],t=(t=t.replace(/var(--shadow-color)/g,E["--shadow-color"])).replace(/var(--shadow-strength)/g,E["--shadow-strength"])]}).filter(function(e){return!["--shadow-color","--shadow-strength"].includes(e[0])}));var ee=function(e){for(var t in e)e[n=t,(n=n.replace(/[-]+(.)?/g,function(i,r){return r?r.toUpperCase():""})).substr(0,1).toLowerCase()+n.substr(1)]=e[t];var n;return e}(k({},{"--animation-fade-in":"fade-in .5s var(--ease-3)","--animation-fade-in-@":`
|
|
28
|
+
@keyframes fade-in {
|
|
29
|
+
to { opacity: 1 }
|
|
30
|
+
}`,"--animation-fade-in-bloom":"fade-in-bloom 2s var(--ease-3)","--animation-fade-in-bloom-@":`
|
|
31
|
+
@keyframes fade-in-bloom {
|
|
32
|
+
0% { opacity: 0; filter: brightness(1) blur(20px) }
|
|
33
|
+
10% { opacity: 1; filter: brightness(2) blur(10px) }
|
|
34
|
+
100% { opacity: 1; filter: brightness(1) blur(0) }
|
|
35
|
+
}`,"--animation-fade-in-bloom-@media:dark":`
|
|
36
|
+
@keyframes fade-in-bloom {
|
|
37
|
+
0% { opacity: 0; filter: brightness(1) blur(20px) }
|
|
38
|
+
10% { opacity: 1; filter: brightness(0.5) blur(10px) }
|
|
39
|
+
100% { opacity: 1; filter: brightness(1) blur(0) }
|
|
40
|
+
}`,"--animation-fade-out":"fade-out .5s var(--ease-3)","--animation-fade-out-@":`
|
|
41
|
+
@keyframes fade-out {
|
|
42
|
+
to { opacity: 0 }
|
|
43
|
+
}`,"--animation-fade-out-bloom":"fade-out-bloom 2s var(--ease-3)","--animation-fade-out-bloom-@":`
|
|
44
|
+
@keyframes fade-out-bloom {
|
|
45
|
+
100% { opacity: 0; filter: brightness(1) blur(20px) }
|
|
46
|
+
10% { opacity: 1; filter: brightness(2) blur(10px) }
|
|
47
|
+
0% { opacity: 1; filter: brightness(1) blur(0) }
|
|
48
|
+
}`,"--animation-fade-out-bloom-@media:dark":`
|
|
49
|
+
@keyframes fade-out-bloom {
|
|
50
|
+
100% { opacity: 0; filter: brightness(1) blur(20px) }
|
|
51
|
+
10% { opacity: 1; filter: brightness(0.5) blur(10px) }
|
|
52
|
+
0% { opacity: 1; filter: brightness(1) blur(0) }
|
|
53
|
+
}`,"--animation-scale-up":"scale-up .5s var(--ease-3)","--animation-scale-up-@":`
|
|
54
|
+
@keyframes scale-up {
|
|
55
|
+
to { transform: scale(1.25) }
|
|
56
|
+
}`,"--animation-scale-down":"scale-down .5s var(--ease-3)","--animation-scale-down-@":`
|
|
57
|
+
@keyframes scale-down {
|
|
58
|
+
to { transform: scale(.75) }
|
|
59
|
+
}`,"--animation-slide-out-up":"slide-out-up .5s var(--ease-3)","--animation-slide-out-up-@":`
|
|
60
|
+
@keyframes slide-out-up {
|
|
61
|
+
to { transform: translateY(-100%) }
|
|
62
|
+
}`,"--animation-slide-out-down":"slide-out-down .5s var(--ease-3)","--animation-slide-out-down-@":`
|
|
63
|
+
@keyframes slide-out-down {
|
|
64
|
+
to { transform: translateY(100%) }
|
|
65
|
+
}`,"--animation-slide-out-right":"slide-out-right .5s var(--ease-3)","--animation-slide-out-right-@":`
|
|
66
|
+
@keyframes slide-out-right {
|
|
67
|
+
to { transform: translateX(100%) }
|
|
68
|
+
}`,"--animation-slide-out-left":"slide-out-left .5s var(--ease-3)","--animation-slide-out-left-@":`
|
|
69
|
+
@keyframes slide-out-left {
|
|
70
|
+
to { transform: translateX(-100%) }
|
|
71
|
+
}`,"--animation-slide-in-up":"slide-in-up .5s var(--ease-3)","--animation-slide-in-up-@":`
|
|
72
|
+
@keyframes slide-in-up {
|
|
73
|
+
from { transform: translateY(100%) }
|
|
74
|
+
}`,"--animation-slide-in-down":"slide-in-down .5s var(--ease-3)","--animation-slide-in-down-@":`
|
|
75
|
+
@keyframes slide-in-down {
|
|
76
|
+
from { transform: translateY(-100%) }
|
|
77
|
+
}`,"--animation-slide-in-right":"slide-in-right .5s var(--ease-3)","--animation-slide-in-right-@":`
|
|
78
|
+
@keyframes slide-in-right {
|
|
79
|
+
from { transform: translateX(-100%) }
|
|
80
|
+
}`,"--animation-slide-in-left":"slide-in-left .5s var(--ease-3)","--animation-slide-in-left-@":`
|
|
81
|
+
@keyframes slide-in-left {
|
|
82
|
+
from { transform: translateX(100%) }
|
|
83
|
+
}`,"--animation-shake-x":"shake-x .75s var(--ease-out-5)","--animation-shake-x-@":`
|
|
84
|
+
@keyframes shake-x {
|
|
85
|
+
0%, 100% { transform: translateX(0%) }
|
|
86
|
+
20% { transform: translateX(-5%) }
|
|
87
|
+
40% { transform: translateX(5%) }
|
|
88
|
+
60% { transform: translateX(-5%) }
|
|
89
|
+
80% { transform: translateX(5%) }
|
|
90
|
+
}`,"--animation-shake-y":"shake-y .75s var(--ease-out-5)","--animation-shake-y-@":`
|
|
91
|
+
@keyframes shake-y {
|
|
92
|
+
0%, 100% { transform: translateY(0%) }
|
|
93
|
+
20% { transform: translateY(-5%) }
|
|
94
|
+
40% { transform: translateY(5%) }
|
|
95
|
+
60% { transform: translateY(-5%) }
|
|
96
|
+
80% { transform: translateY(5%) }
|
|
97
|
+
}`,"--animation-spin":"spin 2s linear infinite","--animation-spin-@":`
|
|
98
|
+
@keyframes spin {
|
|
99
|
+
to { transform: rotate(1turn) }
|
|
100
|
+
}`,"--animation-ping":"ping 5s var(--ease-out-3) infinite","--animation-ping-@":`
|
|
101
|
+
@keyframes ping {
|
|
102
|
+
90%, 100% {
|
|
103
|
+
transform: scale(2);
|
|
104
|
+
opacity: 0;
|
|
105
|
+
}
|
|
106
|
+
}`,"--animation-blink":"blink 1s var(--ease-out-3) infinite","--animation-blink-@":`
|
|
107
|
+
@keyframes blink {
|
|
108
|
+
0%, 100% {
|
|
109
|
+
opacity: 1
|
|
110
|
+
}
|
|
111
|
+
50% {
|
|
112
|
+
opacity: .5
|
|
113
|
+
}
|
|
114
|
+
}`,"--animation-float":"float 3s var(--ease-in-out-3) infinite","--animation-float-@":`
|
|
115
|
+
@keyframes float {
|
|
116
|
+
50% { transform: translateY(-25%) }
|
|
117
|
+
}`,"--animation-bounce":"bounce 2s var(--ease-squish-2) infinite","--animation-bounce-@":`
|
|
118
|
+
@keyframes bounce {
|
|
119
|
+
25% { transform: translateY(-20%) }
|
|
120
|
+
40% { transform: translateY(-3%) }
|
|
121
|
+
0%, 60%, 100% { transform: translateY(0) }
|
|
122
|
+
}`,"--animation-pulse":"pulse 2s var(--ease-out-3) infinite","--animation-pulse-@":`
|
|
123
|
+
@keyframes pulse {
|
|
124
|
+
50% { transform: scale(.9,.9) }
|
|
125
|
+
}`},{"--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"},Z,K,{"--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":`
|
|
126
|
+
radial-gradient(
|
|
127
|
+
circle at top right,
|
|
128
|
+
hsl(180 100% 50%), hsl(180 100% 50% / 0%)
|
|
129
|
+
),
|
|
130
|
+
radial-gradient(
|
|
131
|
+
circle at bottom left,
|
|
132
|
+
hsl(328 100% 54%), hsl(328 100% 54% / 0%)
|
|
133
|
+
)`,"--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":`
|
|
134
|
+
linear-gradient(0deg, hsla(0 100% 50% / 80%), hsla(0 100% 50% / 0) 75%),
|
|
135
|
+
linear-gradient(60deg, hsla(60 100% 50% / 80%), hsla(60 100% 50% / 0) 75%),
|
|
136
|
+
linear-gradient(120deg, hsla(120 100% 50% / 80%), hsla(120 100% 50% / 0) 75%),
|
|
137
|
+
linear-gradient(180deg, hsla(180 100% 50% / 80%), hsla(180 100% 50% / 0) 75%),
|
|
138
|
+
linear-gradient(240deg, hsla(240 100% 50% / 80%), hsla(240 100% 50% / 0) 75%),
|
|
139
|
+
linear-gradient(300deg, hsla(300 100% 50% / 80%), hsla(300 100% 50% / 0) 75%)
|
|
140
|
+
`,"--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":`
|
|
141
|
+
radial-gradient(
|
|
142
|
+
circle at top right,
|
|
143
|
+
hsl(250 100% 85%), hsl(250 100% 85% / 0%)
|
|
144
|
+
),
|
|
145
|
+
radial-gradient(
|
|
146
|
+
circle at bottom left,
|
|
147
|
+
hsl(220 90% 75%), hsl(220 90% 75% / 0%)
|
|
148
|
+
)`,"--gradient-30":`radial-gradient(
|
|
149
|
+
circle at top right,
|
|
150
|
+
hsl(150 100% 50%), hsl(150 100% 50% / 0%)
|
|
151
|
+
),
|
|
152
|
+
radial-gradient(
|
|
153
|
+
circle at bottom left,
|
|
154
|
+
hsl(150 100% 84%), hsl(150 100% 84% / 0%)
|
|
155
|
+
)`,"--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":`
|
|
156
|
+
radial-gradient(farthest-side,#000 97%,#0000) 0 0 / 20px 20px round,
|
|
157
|
+
linear-gradient(#000 0 0) 50%/calc(100% - 20px) calc(100% - 20px) no-repeat
|
|
158
|
+
`,"--mask-edge-scalloped-bottom":`
|
|
159
|
+
linear-gradient(to top,#0000 20px,#000 0),
|
|
160
|
+
radial-gradient(20px at top,#000 97%,#0000) bottom / calc(1.9 * 20px) 20px
|
|
161
|
+
`,"--mask-edge-scalloped-top":`
|
|
162
|
+
linear-gradient(to bottom,#0000 20px,#000 0),
|
|
163
|
+
radial-gradient(20px at bottom,#000 97%,#0000) top / calc(1.9 * 20px) 20px
|
|
164
|
+
`,"--mask-edge-scalloped-vertical":`
|
|
165
|
+
linear-gradient(0deg,#0000 calc(2 * 20px),#000 0) 0 20px,
|
|
166
|
+
radial-gradient(20px,#000 97%,#0000) 50% / calc(1.9 * 20px) calc(2 * 20px) repeat space
|
|
167
|
+
`,"--mask-edge-scalloped-left":`
|
|
168
|
+
linear-gradient(to right,#0000 20px,#000 0),
|
|
169
|
+
radial-gradient(20px at right,#000 97%,#0000) left / 20px calc(1.9 * 20px)
|
|
170
|
+
`,"--mask-edge-scalloped-right":`
|
|
171
|
+
linear-gradient(to left,#0000 20px,#000 0),
|
|
172
|
+
radial-gradient(20px at left,#000 97%,#0000) right / 20px calc(1.9 * 20px)
|
|
173
|
+
`,"--mask-edge-scalloped-horizontal":`
|
|
174
|
+
linear-gradient(-90deg,#0000 calc(2 * 20px),#000 0) 20px,
|
|
175
|
+
radial-gradient(20px,#000 97%,#0000) 50% / calc(2 * 20px) calc(1.9 * 20px) space repeat
|
|
176
|
+
`,"--mask-edge-drip-bottom":`
|
|
177
|
+
radial-gradient(20px at bottom,#0000 97%,#000) 50% calc(100% - 20px) / calc(2 * 20px) 100% repeat-x,
|
|
178
|
+
radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 20px) 99% / calc(4 * 20px) calc(2 * 20px) repeat-x
|
|
179
|
+
`,"--mask-edge-drip-top":`
|
|
180
|
+
radial-gradient(20px at top,#0000 97%,#000) 50% 20px / calc(2 * 20px) 100% repeat-x,
|
|
181
|
+
radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 20px) 1% / calc(4 * 20px) calc(2 * 20px) repeat-x
|
|
182
|
+
`,"--mask-edge-drip-vertical":`
|
|
183
|
+
radial-gradient(20px at top ,#0000 97%,#000) 50% 20px / calc(2 * 20px) 51% repeat-x,
|
|
184
|
+
radial-gradient(20px at bottom,#0000 97%,#000) 50% calc(100% - 20px) / calc(2 * 20px) 51% repeat-x,
|
|
185
|
+
radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 20px) 1% / calc(4 * 20px) calc(2 * 20px) repeat-x,
|
|
186
|
+
radial-gradient(20px at 25% 50%,#000 97%,#0000) calc(50% - 3*20px) 99% / calc(4 * 20px) calc(2 * 20px) repeat-x
|
|
187
|
+
`,"--mask-edge-drip-left":`
|
|
188
|
+
radial-gradient(20px at left,#0000 97%,#000) 20px 50% / 100% calc(2 * 20px) repeat-y,
|
|
189
|
+
radial-gradient(20px at 50% 25%,#000 97%,#0000) 1% calc(50% - 20px) / calc(2 * 20px) calc(4 * 20px) repeat-y
|
|
190
|
+
`,"--mask-edge-drip-right":`
|
|
191
|
+
radial-gradient(20px at right,#0000 97%,#000) calc(100% - 20px) 50% / 100% calc(2 * 20px) repeat-y,
|
|
192
|
+
radial-gradient(20px at 50% 25%,#000 97%,#0000) 99% calc(50% - 20px) / calc(2 * 20px) calc(4 * 20px) repeat-y
|
|
193
|
+
`,"--mask-edge-drip-horizontal":`
|
|
194
|
+
radial-gradient(20px at left ,#0000 97%,#000) 20px 50% / 51% calc(2 * 20px) repeat-y,
|
|
195
|
+
radial-gradient(20px at right,#0000 97%,#000) calc(100% - 20px) 50% / 51% calc(2 * 20px) repeat-y,
|
|
196
|
+
radial-gradient(20px at 50% 25%,#000 97%,#0000) 1% calc(50% - 20px) / calc(2 * 20px) calc(4 * 20px) repeat-y,
|
|
197
|
+
radial-gradient(20px at 50% 25%,#000 97%,#0000) 99% calc(50% - 3*20px) / calc(2 * 20px) calc(4 * 20px) repeat-y
|
|
198
|
+
`,"--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":`
|
|
199
|
+
conic-gradient(from 45deg at left ,#0000,#000 1deg 90deg,#0000 91deg) left / 51% calc(2 * 20px) repeat-y,
|
|
200
|
+
conic-gradient(from -135deg at right,#0000,#000 1deg 90deg,#0000 91deg) right / 51% calc(2 * 20px) repeat-y
|
|
201
|
+
`,"--mask-edge-zig-zag-vertical":`
|
|
202
|
+
conic-gradient(from 135deg at top ,#0000,#000 1deg 90deg,#0000 91deg) top / calc(2 * 20px) 51% repeat-x,
|
|
203
|
+
conic-gradient(from -45deg at bottom,#0000,#000 1deg 90deg,#0000 91deg) bottom / calc(2 * 20px) 51% repeat-x
|
|
204
|
+
`},{"--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":`
|
|
205
|
+
conic-gradient(from -45deg at 1rem 1rem,#0000 25%,#000 0)
|
|
206
|
+
-1rem 0 /100% 51% repeat-x,
|
|
207
|
+
conic-gradient(from 135deg at 1rem calc(100% - 1rem),#0000 25%,#000 0)
|
|
208
|
+
-1rem 100%/100% 51% repeat-x
|
|
209
|
+
`,"--mask-corner-cut-angles-2":`
|
|
210
|
+
conic-gradient(from -45deg at 2rem 2rem,#0000 25%,#000 0)
|
|
211
|
+
-2rem 0 /100% 51% repeat-x,
|
|
212
|
+
conic-gradient(from 135deg at 2rem calc(100% - 2rem),#0000 25%,#000 0)
|
|
213
|
+
-2rem 100%/100% 51% repeat-x
|
|
214
|
+
`,"--mask-corner-cut-angles-3":`
|
|
215
|
+
conic-gradient(from -45deg at 4rem 4rem,#0000 25%,#000 0)
|
|
216
|
+
-4rem 0 /100% 51% repeat-x,
|
|
217
|
+
conic-gradient(from 135deg at 4rem calc(100% - 4rem),#0000 25%,#000 0)
|
|
218
|
+
-4rem 100%/100% 51% repeat-x
|
|
219
|
+
`}));const te=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],ne=new Set(["className","value","readOnly","formNoValidate","isMap","noModule","playsInline",...te]),ae=new Set(["innerHTML","textContent","innerText","children"]),ie=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),L=Object.assign(Object.create(null),{class:"className",formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"}),re=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),se=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),oe={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};function le(e,t,n){let i=n.length,r=t.length,o=i,s=0,a=0,l=t[r-1].nextSibling,c=null;for(;s<r||a<o;){if(t[s]===n[a]){s++,a++;continue}for(;t[r-1]===n[o-1];)r--,o--;if(r===s){const f=o<i?a?n[a-1].nextSibling:n[o-a]:l;for(;a<o;)e.insertBefore(n[a++],f)}else if(o===a)for(;s<r;)(!c||!c.has(t[s]))&&t[s].remove(),s++;else if(t[s]===n[o-1]&&n[a]===t[r-1]){const f=t[--r].nextSibling;e.insertBefore(n[a++],t[s++].nextSibling),e.insertBefore(n[--o],f),t[r]=n[o]}else{if(!c){c=new Map;let h=a;for(;h<o;)c.set(n[h],h++)}const f=c.get(t[s]);if(f!=null)if(a<f&&f<o){let h=s,y=1,x;for(;++h<r&&h<o&&!((x=c.get(t[h]))==null||x!==f+y);)y++;if(y>f-a){const v=t[s];for(;a<f;)e.insertBefore(n[a++],v)}else e.replaceChild(n[a++],t[s++])}else s++;else t[s++].remove()}}}const R="_$DX_DELEGATE";function ce(e,t=window.document){const n=t[R]||(t[R]=new Set);for(let i=0,r=e.length;i<r;i++){const o=e[i];n.has(o)||(n.add(o),t.addEventListener(o,xe))}}function X(e,t,n){n==null?e.removeAttribute(t):e.setAttribute(t,n)}function de(e,t,n,i){i==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,i)}function fe(e,t){t==null?e.removeAttribute("class"):e.className=t}function he(e,t,n,i){if(i)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=o=>r.call(e,n[1],o))}else e.addEventListener(t,n)}function ge(e,t,n={}){const i=Object.keys(t||{}),r=Object.keys(n);let o,s;for(o=0,s=r.length;o<s;o++){const a=r[o];!a||a==="undefined"||t[a]||(B(e,a,!1),delete n[a])}for(o=0,s=i.length;o<s;o++){const a=i[o],l=!!t[a];!a||a==="undefined"||n[a]===l||!l||(B(e,a,!0),n[a]=l)}return n}function me(e,t,n){if(!t)return n?X(e,"style"):t;const i=e.style;if(typeof t=="string")return i.cssText=t;typeof n=="string"&&(i.cssText=n=void 0),n||(n={}),t||(t={});let r,o;for(o in n)t[o]==null&&i.removeProperty(o),delete n[o];for(o in t)r=t[o],r!==n[o]&&(i.setProperty(o,r),n[o]=r);return n}function ue(e,t={},n,i){const r={};return i||d.createRenderEffect(()=>r.children=j(e,t.children,r.children)),d.createRenderEffect(()=>t.ref&&t.ref(e)),d.createRenderEffect(()=>pe(e,t,n,!0,r,!0)),r}function pe(e,t,n,i,r={},o=!1){t||(t={});for(const s in r)if(!(s in t)){if(s==="children")continue;r[s]=W(e,s,null,r[s],n,o)}for(const s in t){if(s==="children"){i||j(e,t.children);continue}const a=t[s];r[s]=W(e,s,a,r[s],n,o)}}function be(e){let t,n;return!d.sharedConfig.context||!(t=d.sharedConfig.registry.get(n=we()))?e.cloneNode(!0):(d.sharedConfig.completed&&d.sharedConfig.completed.add(t),d.sharedConfig.registry.delete(n),t)}function ye(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function B(e,t,n){const i=t.trim().split(/\s+/);for(let r=0,o=i.length;r<o;r++)e.classList.toggle(i[r],n)}function W(e,t,n,i,r,o){let s,a,l;if(t==="style")return me(e,n,i);if(t==="classList")return ge(e,n,i);if(n===i)return i;if(t==="ref")o||n(e);else if(t.slice(0,3)==="on:"){const c=t.slice(3);i&&e.removeEventListener(c,i),n&&e.addEventListener(c,n)}else if(t.slice(0,10)==="oncapture:"){const c=t.slice(10);i&&e.removeEventListener(c,i,!0),n&&e.addEventListener(c,n,!0)}else if(t.slice(0,2)==="on"){const c=t.slice(2).toLowerCase(),f=re.has(c);if(!f&&i){const h=Array.isArray(i)?i[0]:i;e.removeEventListener(c,h)}(f||n)&&(he(e,c,n,f),f&&ce([c]))}else if((l=ae.has(t))||!r&&(L[t]||(a=ne.has(t)))||(s=e.nodeName.includes("-")))t==="class"||t==="className"?fe(e,n):s&&!a&&!l?e[ye(t)]=n:e[L[t]||t]=n;else{const c=r&&t.indexOf(":")>-1&&oe[t.split(":")[0]];c?de(e,c,t,n):X(e,ie[t]||t,n)}return n}function xe(e){const t=`$$${e.type}`;let n=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==n&&Object.defineProperty(e,"target",{configurable:!0,value:n}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return n||document}}),d.sharedConfig.registry&&!d.sharedConfig.done&&(d.sharedConfig.done=!0,document.querySelectorAll("[id^=pl-]").forEach(i=>{for(;i&&i.nodeType!==8&&i.nodeValue!=="pl-"+e;){let r=i.nextSibling;i.remove(),i=r}i&&i.remove()}));n;){const i=n[t];if(i&&!n.disabled){const r=n[`${t}Data`];if(r!==void 0?i.call(n,r,e):i.call(n,e),e.cancelBubble)return}n=n._$host||n.parentNode||n.host}}function j(e,t,n,i,r){for(d.sharedConfig.context&&!n&&(n=[...e.childNodes]);typeof n=="function";)n=n();if(t===n)return n;const o=typeof t,s=i!==void 0;if(e=s&&n[0]&&n[0].parentNode||e,o==="string"||o==="number"){if(d.sharedConfig.context)return n;if(o==="number"&&(t=t.toString()),s){let a=n[0];a&&a.nodeType===3?a.data=t:a=document.createTextNode(t),n=w(e,n,i,a)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||o==="boolean"){if(d.sharedConfig.context)return n;n=w(e,n,i)}else{if(o==="function")return d.createRenderEffect(()=>{let a=t();for(;typeof a=="function";)a=a();n=j(e,a,n,i)}),()=>n;if(Array.isArray(t)){const a=[],l=n&&Array.isArray(n);if(O(a,t,n,r))return d.createRenderEffect(()=>n=j(e,a,n,i,!0)),()=>n;if(d.sharedConfig.context){if(!a.length)return n;for(let c=0;c<a.length;c++)if(a[c].parentNode)return n=a}if(a.length===0){if(n=w(e,n,i),s)return n}else l?n.length===0?D(e,a,i):le(e,n,a):(n&&w(e),D(e,a));n=a}else if(t instanceof Node){if(d.sharedConfig.context&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=w(e,n,i,t);w(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function O(e,t,n,i){let r=!1;for(let o=0,s=t.length;o<s;o++){let a=t[o],l=n&&n[o];if(a instanceof Node)e.push(a);else if(!(a==null||a===!0||a===!1))if(Array.isArray(a))r=O(e,a,l)||r;else if(typeof a=="function")if(i){for(;typeof a=="function";)a=a();r=O(e,Array.isArray(a)?a:[a],Array.isArray(l)?l:[l])||r}else e.push(a),r=!0;else{const c=String(a);l&&l.nodeType===3&&l.data===c?e.push(l):e.push(document.createTextNode(c))}}return r}function D(e,t,n=null){for(let i=0,r=t.length;i<r;i++)e.insertBefore(t[i],n)}function w(e,t,n,i){if(n===void 0)return e.textContent="";const r=i||document.createTextNode("");if(t.length){let o=!1;for(let s=t.length-1;s>=0;s--){const a=t[s];if(r!==a){const l=a.parentNode===e;!o&&!s?l?e.replaceChild(r,a):e.insertBefore(r,n):l&&a.remove()}else o=!0}}else e.insertBefore(r,n);return[r]}function we(){const e=d.sharedConfig.context;return`${e.id}${e.count++}`}const ve="http://www.w3.org/2000/svg";function ze(e,t=!1){return t?document.createElementNS(ve,e):document.createElement(e)}function ke(e){const[t,n]=d.splitProps(e,["component"]),i=d.createMemo(()=>t.component);return d.createMemo(()=>{const r=i();switch(typeof r){case"function":return d.untrack(()=>r(n));case"string":const o=se.has(r),s=d.sharedConfig.context?be():ze(r,o);return ue(s,n,o),s}})}function $(e){return e!=null?e:void 0}function g(e,t){return Object.keys(e).filter(n=>!t.includes(n)).reduce((n,i)=>(Object.defineProperty(n,i,{get(){return e[i]},configurable:!0,enumerable:!0}),n),{})}function m(e,t){return d.createComponent(ke,d.mergeProps({get component(){return e()}},t))}function u(e){if(!Object.values(e).every(t=>typeof t=="function"))throw new Error("Please provide an object with accessor values only.");return Object.keys(e).reduce((t,n)=>{const i=e[n];return Object.defineProperty(t,n,{get(){return i()},configurable:!0,enumerable:!0}),t},{})}const G=/^--\D{1}.{0,100}$/;function H(e){return G.test(e)}function A(e){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}\)$/,G].some(t=>t.test(e))}const{sizeXxs:Ce,sizeXs:Ee,sizeSm:Se,sizeMd:je,sizeLg:$e,sizeXl:Ae,sizeXxl:Pe,sizeContent1:Me,sizeContent2:Oe,sizeContent3:Te,sizeHeader1:Ie,sizeHeader2:Fe,sizeHeader3:Ne,size000:Le,size00:Re,size1:Be,size2:We,size3:De,size4:qe,size5:Xe,size6:Ge,size7:He,size8:Ve,size9:Ye,size10:_e,size11:Ue,size12:Qe,size13:Je,size14:Ze,size15:Ke}=ee,et={size000:Le,size00:Re,size1:Be,size2:We,size3:De,size4:qe,size5:Xe,size6:Ge,size7:He,size8:Ve,size9:Ye,size10:_e,size11:Ue,size12:Qe,size13:Je,size14:Ze,size15:Ke},tt={sizeXxs:Ce,sizeXs:Ee,sizeSm:Se,sizeMd:je,sizeLg:$e,sizeXl:Ae,sizeXxl:Pe,sizeContent1:Me,sizeContent2:Oe,sizeContent3:Te,sizeHeader1:Ie,sizeHeader2:Fe,sizeHeader3:Ne},V=et,Y=tt;function _(e){return e.reduce((t,[n,i])=>({...t,[n]:i}),{})}function T(e,t){if(t!==void 0)return typeof t=="number"&&t>=0?`${t}px`:typeof t=="string"&&A(t)?H(t)?`var(${t})`:t:$(p(e,t))}function p(e,t){var r;const n=(r=e.space)!=null?r:V,i=_(Object.entries(n).map(([o,s])=>[o,typeof s=="number"?`${s}px`:s]));return $(i[t])}function C(e,t){var r;if(t===void 0)return;if(typeof t=="number"&&t>=0)return`${t}px`;if(typeof t=="string"&&A(t))return H(t)?`var(${t})`:t;const n=(r=e.sizes)!=null?r:Y,i=_(Object.entries(n).map(([o,s])=>[o,typeof s=="number"?`${s}px`:s]));return $(i[t])}function nt(e){return e===void 0?"100%":typeof e=="number"?`${e}px`:e}function at(e){const t=()=>{var a;return typeof e.style=="string"?e.style:Object.entries((a=e.style)!=null?a:{}).reduce((l,[c,f])=>l+`${c}:${f};`,"")},n=()=>`--maxWidth: ${nt(e.maxWidth)};`,i=()=>e.centerText?"center-text":"",r=()=>e.centerChildren?"center-children":"",o=()=>[i(),r()].filter(Boolean).join(" "),s=()=>[t(),n()].join("; ");return m(()=>{var a;return(a=e.as)!=null?a:"div"},d.mergeProps(g(e,["as","maxWidth","centerText","centerChildren"]),u({style:s,"data-bedrock-center":o})))}const U=d.createContext({});function it(e){return React.createElement(U.Provider,{value:e.theme},e.children)}function b(){try{return d.useContext(U)}catch{return{}}}function rt(e,t){return C(e,t)}function st(e){const t=b(),n=()=>{var a;return typeof e.style=="string"?e.style:Object.entries((a=e.style)!=null?a:{}).reduce((l,[c,f])=>l+`${c}:${f};`,"")},i=()=>{var a,l;return`--gutter: ${(l=p(t,(a=e.gutter)!=null?a:"size00"))!=null?l:"0px"}`},r=()=>`--minItemWidth: ${rt(t,e.minItemWidth)}`,o=()=>e.noStretchedColumns===!0?"no-stretched-columns":"",s=()=>[n(),i(),r()].join("; ");return m(()=>{var a;return(a=e.as)!=null?a:"div"},d.mergeProps(g(e,["as","gutter","minItemWidth","noStretchedColumns"]),u({style:s,"data-bedrock-column-drop":o})))}function P(e){throw new Error(e)}function ot(e){typeof e!="number"&&!Array.isArray(e)&&P("width must be a number or an array of two numbers"),Array().concat(e).some(n=>n<0)&&P("width value(s) must be 0 or greater"),Array.isArray(e)&&(e.length!==2||e[0]>e[1])&&P(`The second width value, ${e[1]}, is not larger than ${e[0]}. Please provide a value greater than first width value`)}function lt(e,t){ot(e);const[n,i]=d.createSignal(!1),[r,o]=d.createSignal();return d.onMount(()=>{S.init()}),d.createEffect(()=>{if(r()===void 0||r()===null)return;t&&t(r());const s=S.registerCallback(r(),a=>{var c,f;const l=(f=(c=a.borderBoxSize)==null?void 0:c.inlineSize)!=null?f:a.contentRect.width;if(l>0){const h=Array.isArray(e)?l>=e[0]&&l<=e[1]:l<=e;i(h)}});d.onCleanup(s)}),[n,o]}function ct(e){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)}function dt(e){return Array.isArray(e)?e.join("/"):e}function ft(e){return ct(e)?dt(e):void 0}function ht(e){const t=()=>{var s;return typeof e.style=="string"?e.style:Object.entries((s=e.style)!=null?s:{}).reduce((a,[l,c])=>a+`${l}:${c};`,"")},n=()=>ft(e.ratio),i=()=>n()?`--ratio: ${n()}`:"",r=()=>typeof e.position=="string"?`--position: ${e.position}`:"50%",o=()=>[t(),i(),r()].join("; ");return m(()=>{var s;return(s=e.as)!=null?s:"div"},d.mergeProps(g(e,["as","ratio","position"]),u({style:o,"data-bedrock-frame":()=>""})))}function Q(e){const t=b(),n=()=>{var s;return typeof e.style=="string"?e.style:Object.entries((s=e.style)!=null?s:{}).reduce((a,[l,c])=>a+`${l}:${c};`,"")},i=()=>{var s,a;return`--gutter: ${(a=p(t,(s=e.gutter)!=null?s:"size00"))!=null?a:"0px"};`},r=()=>{var s;return`--minItemWidth: ${typeof e.minItemWidth=="string"?e.minItemWidth:`${(s=e.minItemWidth)!=null?s:0}px`};`},o=()=>[n(),i(),r()].join("; ");return m(()=>{var s;return(s=e.as)!=null?s:"div"},d.mergeProps(g(e,["as","gutter","minItemWidth"]),u({style:o,"data-bedrock-grid":()=>""})))}const z=96;function J(e){var i;e=String(e);const t=parseFloat(e),[,n]=(i=e.match(/[\d.\-+]*\s*(.*)/))!=null?i:["",""];return[t,n]}function F(e,t){if(!e)return;const n=t!=null?t:document.body,i=(e!=null?e:"px").trim().toLowerCase();switch(i){case"vmin":case"vmax":case"vh":case"vw":case"%":return;case"ch":case"ex":return gt(i,n);case"em":return I(n,"font-size");case"rem":return I(document.body,"font-size");case"in":return z;case"cm":return z/2.54;case"mm":return z/25.4;case"pt":return z/72;case"pc":return z/6;case"px":return 1;default:{const[r,o]=J(i);if(isNaN(r))return;if(!o)return r;const s=F(o,t);return typeof s=="number"?r*s:void 0}}}function I(e,t){var r;const[n,i]=J(getComputedStyle(e).getPropertyValue(t));return n*((r=F(i,e))!=null?r:1)}function gt(e,t){const n=document.createElement("div");n.style.height="128"+e,t.appendChild(n);const i=I(n,"height")/128;return t.removeChild(n),i}const M=1,mt=typeof window=="object"&&typeof document=="object"&&document.nodeType===9,ut=e=>{const[t,n]=d.createSignal(1),[i,r]=d.createSignal(),o=b();return d.onMount(()=>{S.init()}),d.createEffect(()=>{const s=$(i());if(s===void 0)return;const a=S.registerCallback(s,({target:l})=>{var N;n(1);const c=e.gutter&&(N=p(o,e.gutter))!=null?N:"1px",f=mt?F(c,l):void 0,h=Math.max(f!=null?f:M,M),[y]=Array.from(l.children),x=1+Math.min(l.scrollHeight,y.scrollHeight),v=Math.max(Math.ceil(x/h),M);n(v)});d.onCleanup(a)}),React.createElement("div",{style:`grid-row: span ${t()};`,ref:r},e.children)},pt=e=>{const t=d.children(()=>e.children),i=[].concat(t()).filter(Boolean).map(r=>React.createElement(ut,{gutter:e.gutter},r));return React.createElement(Q,{style:"grid-template-rows: 1px;",...e},i)},bt={start:"justify:start",end:"justify:end",center:"justify:center"},yt={start:"align:start",end:"align:end",center:"align:center",stretch:"align:stretch"};function xt(e){const t=b(),n=()=>{var l;return typeof e.style=="string"?e.style:Object.entries((l=e.style)!=null?l:{}).reduce((c,[f,h])=>c+`${f}:${h};`,"")},i=()=>{var l,c;return`--gutter: ${(c=p(t,(l=e.gutter)!=null?l:"size00"))!=null?c:"0px"};`},r=()=>e.justify!==void 0?bt[e.justify]:void 0,o=()=>e.align!==void 0?yt[e.align]:void 0,s=()=>[n(),i()].join("; "),a=()=>[r(),o()].filter(Boolean).join(" ");return m(()=>{var l;return(l=e.as)!=null?l:"div"},d.mergeProps(g(e,["as","gutter","justify","align"]),u({style:s,"data-bedrock-inline-cluster":a})))}const wt={start:"justify:start",end:"justify:end",center:"justify:center"},vt={start:"align:start",end:"align:end",center:"align:center",stretch:"align:stretch"};function zt(e){const t=b(),n=()=>{var h;return typeof e.style=="string"?e.style:Object.entries((h=e.style)!=null?h:{}).reduce((y,[x,v])=>y+`${x}:${v};`,"")},i=()=>{var h,y;return`--gutter: ${(y=p(t,(h=e.gutter)!=null?h:"size00"))!=null?y:"0px"};`},r=()=>e.minItemWidth?`--minItemWidth: ${typeof e.minItemWidth=="string"?e.minItemWidth:`${e.minItemWidth}px`};`:void 0,o=()=>{var h;return e.switchAt?`--switchAt: ${(h=C(t,e.switchAt))!=null?h:"0px"};`:""},s=()=>e.justify!==void 0?wt[e.justify]:void 0,a=()=>e.align!==void 0?vt[e.align]:void 0,l=()=>e.stretch?`stretch:${e.stretch}`:void 0,c=()=>[n(),i(),o(),r()].join("; "),f=()=>[s(),a(),l()].filter(Boolean).join(" ");return m(()=>{var h;return(h=e.as)!=null?h:"div"},d.mergeProps(g(e,["as","gutter","justify","align","stretch","switchAt"]),u({style:c,"data-bedrock-inline":f})))}const kt=e=>({left:"padding-inline-start",right:"padding-inline-end",top:"padding-block-start",bottom:"padding-block-end",inlineStart:"padding-inline-start",inlineEnd:"padding-inline-end",blockStart:"padding-block-start",blockEnd:"padding-block-end"})[e],Ct=(e,t)=>{if(Array.isArray(t)&&t.length>4)throw new Error("padding arrays can only be 4 or less in length");const n=typeof t=="object"&&!Array.isArray(t)?Object.entries(t).reduce((i,[r,o])=>{var s;return{...i,[kt(r)]:(s=T(e,o))!=null?s:"0px"}},{}):{padding:Array.from(Array.isArray(t)?t:[t]).map(i=>{var r;return(r=T(e,i))!=null?r:"0px"}).join(" ")};return Object.entries(n).reduce((i,[r,o])=>i+`${r}:${o};`,"")};function Et(e){const t=b(),n=()=>{var o;return typeof e.style=="string"?e.style:Object.entries((o=e.style)!=null?o:{}).reduce((s,[a,l])=>s+`${a}:${l};`,"")},i=()=>Ct(t,e.padding),r=()=>[n(),i()].join("; ");return m(()=>{var o;return(o=e.as)!=null?o:"div"},d.mergeProps(g(e,["as","padding"]),u({style:r,"data-bedrock-padbox":()=>""})))}function St(e){const t=b(),n=()=>{var s;return typeof e.style=="string"?e.style:Object.entries((s=e.style)!=null?s:{}).reduce((a,[l,c])=>a+`${l}:${c};`,"")},i=()=>{var s,a;return`--gutter: ${(a=p(t,(s=e.gutter)!=null?s:"size00"))!=null?a:"0px"};`},r=()=>{switch(e.snapType){case"none":return"snapType:none";case"proximity":return"snapType:proximity";case"mandatory":return"snapType:mandatory";default:return"snapType:none"}},o=()=>[n(),i()].join("; ");return m(()=>{var s;return(s=e.as)!=null?s:"div"},d.mergeProps(g(e,["as","gutter"]),u({style:o,"data-bedrock-reel":r})))}const q={"1/4":"fraction:1/4","1/3":"fraction:1/3","1/2":"fraction:1/2","2/3":"fraction:2/3","3/4":"fraction:3/4","auto-start":"fraction:auto-start","auto-end":"fraction:auto-end"};function jt(e){const t=b(),n=()=>{var l;return typeof e.style=="string"?e.style:Object.entries((l=e.style)!=null?l:{}).reduce((c,[f,h])=>c+`${f}:${h};`,"")},i=()=>{var l;return e.switchAt?`--switchAt: ${(l=C(t,e.switchAt))!=null?l:"0px"};`:""},r=()=>{var l,c;return`--gutter: ${(c=p(t,(l=e.gutter)!=null?l:"size00"))!=null?c:"0px"};`},o=()=>{var l,c;return(c=q[(l=e.fraction)!=null?l:"1/2"])!=null?c:q["1/2"]},s=()=>e.minItemWidth?`--minItemWidth: ${typeof e.minItemWidth=="string"?e.minItemWidth:`${e.minItemWidth}px`};`:void 0,a=()=>[n(),r(),i(),s()].join("; ");return m(()=>{var l;return(l=e.as)!=null?l:"div"},d.mergeProps(g(e,["as","gutter","fraction"]),u({style:a,"data-bedrock-split":o})))}function $t(e){const t=b(),n=()=>{var o;return typeof e.style=="string"?e.style:Object.entries((o=e.style)!=null?o:{}).reduce((s,[a,l])=>s+`${a}:${l};`,"")},i=()=>{var o,s;return`--gutter: ${(s=p(t,(o=e.gutter)!=null?o:"size00"))!=null?s:"0px"};`},r=()=>[n(),i()].join("; ");return m(()=>{var o;return(o=e.as)!=null?o:"div"},d.mergeProps(g(e,["as","gutter"]),u({style:r,"data-bedrock-stack":()=>""})))}function At(e){return typeof e=="number"?`${e}px`:e&&A(e)?e:"100vh"}function Pt(e){const t=b(),n=()=>{var a;return typeof e.style=="string"?e.style:Object.entries((a=e.style)!=null?a:{}).reduce((l,[c,f])=>l+`${c}:${f};`,"")},i=()=>{var a,l;return`--gutter: ${(l=p(t,(a=e.gutter)!=null?a:"size00"))!=null?l:"0px"};`},r=()=>`--minHeight: ${At(e.minHeight)};`,o=()=>e.stretchContent===!0?"stretch-content":"",s=()=>[n(),i(),r()].join("; ");return m(()=>{var a;return(a=e.as)!=null?a:"div"},d.mergeProps(g(e,["as","minHeight","stretchContent"]),u({style:s,"data-bedrock-cover":o})))}function Mt(e){const[t,n]=d.splitProps(e,["children","top","bottom"]);return React.createElement(Pt,{...n},t.top,React.createElement("div",{"data-bedrock-cover-centered":!0},t.children),t.bottom)}function Ot(e){const t=b(),n=()=>{var a;return typeof e.style=="string"?e.style:Object.entries((a=e.style)!=null?a:{}).reduce((l,[c,f])=>l+`${c}:${f};`,"")},i=()=>{var a,l;return`--gutter: ${(l=p(t,(a=e.gutter)!=null?a:"size00"))!=null?l:"0px"};`},r=()=>`--columns: ${e.columns&&e.columns>0?e.columns:1};`,o=()=>{var a;return e.switchAt?`--switchAt: ${(a=C(t,e.switchAt))!=null?a:"0px"};`:""},s=()=>[n(),i(),r(),o()].join("; ");return m(()=>{var a;return(a=e.as)!=null?a:"div"},d.mergeProps(g(e,["as","gutter","columns","switchAt"]),u({style:s,"data-bedrock-columns":()=>""})))}const Tt=e=>typeof e=="number"?e:1;function It(e){const t=()=>{var s;return typeof e.style=="string"?e.style:Object.entries((s=e.style)!=null?s:{}).reduce((a,[l,c])=>a+`${l}:${c};`,"")},n=()=>`--span: ${Tt(e.span)};`,i=()=>e.offsetStart&&e.offsetStart>0?`--offsetStart: ${e.offsetStart};`:"",r=()=>e.offsetEnd&&e.offsetEnd>0?`--offsetEnd: ${e.offsetEnd};`:"",o=()=>[t(),n(),i(),r()].join("; ");return m(()=>{var s;return(s=e.as)!=null?s:"div"},d.mergeProps(g(e,["as","span","offsetStart","offsetEnd"]),u({style:o,"data-bedrock-column":()=>""})))}exports.Center=at;exports.Column=It;exports.ColumnDrop=st;exports.Columns=Ot;exports.Cover=Mt;exports.Frame=ht;exports.Grid=Q;exports.Inline=zt;exports.InlineCluster=xt;exports.MasonryGrid=pt;exports.PadBox=Et;exports.Reel=St;exports.Split=jt;exports.Stack=$t;exports.ThemeProvider=it;exports.checkIsCSSLength=A;exports.createContainerQuery=lt;exports.getSafeGutter=T;exports.getSizeValue=C;exports.getSpacingValue=p;exports.sizes=Y;exports.spacing=V;exports.useTheme=b;
|