@appkit/dek-lib 0.37.0 → 0.43.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/dist/index.es.js CHANGED
@@ -65509,146 +65509,15 @@ async function fetchUserPlugins(authToken) {
65509
65509
  query: USER_PLUGIN_AND_INTEGRATIONS_QUERY
65510
65510
  });
65511
65511
  const result = _.cloneDeep(response.data.currentUser);
65512
- result.integrations.push({
65512
+ result.integrations.unshift({
65513
65513
  key: "base",
65514
65514
  pluginName: "base",
65515
- pluginVersion: "0.37.0",
65515
+ pluginVersion: "0.43.0",
65516
65516
  pluginConfig: []
65517
65517
  });
65518
65518
  return result;
65519
65519
  }
65520
- const ClockComponent = () => {
65521
- const dt = r52();
65522
- const time = n52("h:mm", dt);
65523
- const date = n52("ddd, MMM D", dt);
65524
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(g0, { label: "clock", direction: "horz", valign: "center", children: [
65525
- /* @__PURE__ */ jsxRuntimeExports.jsx(l4, { size: "xxlarge", color: "xxsubtle", paddingRight: 11, children: date }),
65526
- /* @__PURE__ */ jsxRuntimeExports.jsx(l4, { size: "xxlarge", color: "subtle", weight: "bold", children: time })
65527
- ] });
65528
- };
65529
- function transformWeatherData(data) {
65530
- if (!data) {
65531
- return {
65532
- type: "unknown",
65533
- temperature: 0
65534
- };
65535
- }
65536
- return {
65537
- type: data.state,
65538
- temperature: data.attributes.temperature
65539
- };
65540
- }
65541
- const state = proxy({
65542
- entities: {}
65543
- });
65544
- const useEntities = () => {
65545
- return useSnapshot(state).entities;
65546
- };
65547
65520
  const Container$b = styled.div`
65548
- width: 50px;
65549
- height: 50px;
65550
- padding: 0;
65551
- margin-top: ${(props) => props.$top}px;
65552
- margin-left: ${(props) => props.$left}px;
65553
- & svg {
65554
- stroke: ${({ theme }) => theme.text.color.xsubtle};
65555
- }
65556
- & g > path {
65557
- stroke: ${({ theme }) => theme.text.color.xsubtle};
65558
- fill: ${({ theme }) => theme.text.color.xsubtle};
65559
- }
65560
- & path {
65561
- stroke: ${({ theme }) => theme.text.color.xsubtle};
65562
- fill: ${({ theme }) => theme.text.color.xsubtle};
65563
- }
65564
- `;
65565
- const SvgClearNight = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b9d5", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M46.66 36.2a16.66 16.66 0 01-16.78-16.55 16.29 16.29 0 01.55-4.15A16.56 16.56 0 1048.5 36.1c-.61.06-1.22.1-1.84.1z" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "10s", repeatCount: "indefinite", type: "rotate", values: "-5 32 32;15 32 32;-5 32 32" })));
65566
- const SvgCloudy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinejoin: "round", strokeWidth: 3, d: "M46.5 31.5h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0h28a7 7 0 000-14z" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "7s", repeatCount: "indefinite", type: "translate", values: "-3 0; 3 0; -3 0" })));
65567
- const SvgExceptional = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#f59e0b", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M42.5 32A10.5 10.5 0 1132 21.5 10.5 10.5 0 0142.5 32zM32 15.71V9.5m0 45v-6.21m11.52-27.81l4.39-4.39M16.09 47.91l4.39-4.39m0-23l-4.39-4.39m31.82 31.78l-4.39-4.39M15.71 32H9.5m45 0h-6.21" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "45s", from: "0 32 32", repeatCount: "indefinite", to: "360 32 32", type: "rotate" })));
65568
- const SvgFog = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinejoin: "round", strokeWidth: 3, d: "M46.5 31.5h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0h28a7 7 0 000-14z" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#d1d5db", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M17 58h30" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "0s", dur: "5s", repeatCount: "indefinite", type: "translate", values: "-4 0; 4 0; -4 0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#d1d5db", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M17 52h30" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-4s", dur: "5s", repeatCount: "indefinite", type: "translate", values: "-4 0; 4 0; -4 0" })));
65569
- const SvgHail = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 24, cy: 45, r: 1.5, fill: "#72b8d4" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "0.6s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 18; -4 14" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "0.6s", repeatCount: "indefinite", values: "1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 31, cy: 45, r: 1.5, fill: "#72b8d4" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.4s", dur: "0.6s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 18; -4 14" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.4s", dur: "0.6s", repeatCount: "indefinite", values: "1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 38, cy: 45, r: 1.5, fill: "#72b8d4" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.2s", dur: "0.6s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 18; -4 14" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.2s", dur: "0.6s", repeatCount: "indefinite", values: "1;1;0" })));
65570
- const SvgLightningRaining = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M24.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M31.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M38.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "#f59e0b", d: "M30 36l-4 12h4l-2 10 10-14h-6l4-8h-6z" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "2s", repeatCount: "indefinite", values: "1;1;1;1;1;1;0.1;1;0.1;1;1;0.1;1;0.1;1" })));
65571
- const SvgLightning = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "#f59e0b", d: "M30 36l-4 12h4l-2 10 10-14h-6l4-8h-6z" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "2s", repeatCount: "indefinite", values: "1;1;1;1;1;1;0.1;1;0.1;1;1;0.1;1;0.1;1" })));
65572
- const SvgPartlyCloudy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("defs", null, /* @__PURE__ */ React$3.createElement("clipPath", { id: "a" }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", d: "M12 35l-5.28-4.21-2-6 1-7 4-5 5-3h6l5 1 3 3L33 20l-6 4h-6l-3 3v4l-4 2-2 2z" }))), /* @__PURE__ */ React$3.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#f59e0b", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M23.5 24a4.5 4.5 0 11-4.5-4.5 4.49 4.49 0 014.5 4.5zM19 15.67V12.5m0 23v-3.17m5.89-14.22l2.24-2.24M10.87 32.13l2.24-2.24m0-11.78l-2.24-2.24m16.26 16.26l-2.24-2.24M7.5 24h3.17m19.83 0h-3.17" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "45s", from: "0 19 24", repeatCount: "indefinite", to: "360 19 24", type: "rotate" }))), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinejoin: "round", strokeWidth: 3, d: "M46.5 31.5h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0h28a7 7 0 000-14z" }));
65573
- const SvgPouring = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M24.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M31.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M38.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })));
65574
- const SvgRainy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M24.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M31.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M38.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })));
65575
- const SvgSnowyRainy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 24, cy: 45, r: 1.25, fill: "none", stroke: "#72b8d4", strokeMiterlimit: 10 }), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b8d4", strokeLinecap: "round", strokeMiterlimit: 10, d: "M26.17 46.25l-1.09-.63m-2.16-1.24l-1.09-.63M24 42.5v1.25m0 3.75v-1.25m-1.08-.63l-1.09.63m4.34-2.5l-1.09.63" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", begin: "-2s", dur: "4s", repeatCount: "indefinite", type: "translate", values: "1 -6; -1 12" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "9s", repeatCount: "indefinite", type: "rotate", values: "0 24 45; 360 24 45" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-2s", dur: "4s", repeatCount: "indefinite", values: "0;1;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 38, cy: 45, r: 1.25, fill: "none", stroke: "#72b8d4", strokeMiterlimit: 10 }), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b8d4", strokeLinecap: "round", strokeMiterlimit: 10, d: "M40.17 46.25l-1.09-.63m-2.16-1.24l-1.09-.63M38 42.5v1.25m0 3.75v-1.25m-1.08-.63l-1.09.63m4.34-2.5l-1.09.63" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", begin: "-1s", dur: "4s", repeatCount: "indefinite", type: "translate", values: "1 -6; -1 12" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "9s", repeatCount: "indefinite", type: "rotate", values: "0 38 45; 360 38 45" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-1s", dur: "4s", repeatCount: "indefinite", values: "0;1;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M24.08 45.01l-.16.98" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "1.5s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "1.5s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M31.08 45.01l-.16.98" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.5s", dur: "1.5s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.5s", dur: "1.5s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M38.08 45.01l-.16.98" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-1s", dur: "1.5s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-1s", dur: "1.5s", repeatCount: "indefinite", values: "0;1;1;0" })));
65576
- const SvgSnowy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 31, cy: 45, r: 1.25, fill: "none", stroke: "#72b8d4", strokeMiterlimit: 10 }), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b8d4", strokeLinecap: "round", strokeMiterlimit: 10, d: "M33.17 46.25l-1.09-.63m-2.16-1.24l-1.09-.63M31 42.5v1.25m0 3.75v-1.25m-1.08-.63l-1.09.63m4.34-2.5l-1.09.63" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "4s", repeatCount: "indefinite", type: "translate", values: "-1 -6; 1 12" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "9s", repeatCount: "indefinite", type: "rotate", values: "0 31 45; 360 31 45" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "4s", repeatCount: "indefinite", values: "0;1;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 24, cy: 45, r: 1.25, fill: "none", stroke: "#72b8d4", strokeMiterlimit: 10 }), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b8d4", strokeLinecap: "round", strokeMiterlimit: 10, d: "M26.17 46.25l-1.09-.63m-2.16-1.24l-1.09-.63M24 42.5v1.25m0 3.75v-1.25m-1.08-.63l-1.09.63m4.34-2.5l-1.09.63" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", begin: "-2s", dur: "4s", repeatCount: "indefinite", type: "translate", values: "1 -6; -1 12" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "9s", repeatCount: "indefinite", type: "rotate", values: "0 24 45; 360 24 45" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-2s", dur: "4s", repeatCount: "indefinite", values: "0;1;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 38, cy: 45, r: 1.25, fill: "none", stroke: "#72b8d4", strokeMiterlimit: 10 }), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b8d4", strokeLinecap: "round", strokeMiterlimit: 10, d: "M40.17 46.25l-1.09-.63m-2.16-1.24l-1.09-.63M38 42.5v1.25m0 3.75v-1.25m-1.08-.63l-1.09.63m4.34-2.5l-1.09.63" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", begin: "-1s", dur: "4s", repeatCount: "indefinite", type: "translate", values: "1 -6; -1 12" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "9s", repeatCount: "indefinite", type: "rotate", values: "0 38 45; 360 38 45" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-1s", dur: "4s", repeatCount: "indefinite", values: "0;1;1;1;0" })));
65577
- const SvgSunny = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#f59e0b", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M42.5 32A10.5 10.5 0 1132 21.5 10.5 10.5 0 0142.5 32zM32 15.71V9.5m0 45v-6.21m11.52-27.81l4.39-4.39M16.09 47.91l4.39-4.39m0-23l-4.39-4.39m31.82 31.78l-4.39-4.39M15.71 32H9.5m45 0h-6.21" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "45s", from: "0 32 32", repeatCount: "indefinite", to: "360 32 32", type: "rotate" })));
65578
- const SvgUnknown = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M17 32h30" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "0s", dur: "5s", repeatCount: "indefinite", type: "translate", values: "-4 0; 4 0; -4 0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M17 39h30" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-2s", dur: "5s", repeatCount: "indefinite", type: "translate", values: "-3 0; 3 0; -3 0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M17 25h30" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-4s", dur: "5s", repeatCount: "indefinite", type: "translate", values: "-4 0; 4 0; -4 0" })));
65579
- const SvgWindyVariant = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeDasharray: "35 22", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M43.64 20a5 5 0 113.61 8.46h-35.5" }, /* @__PURE__ */ React$3.createElement("animate", { attributeName: "stroke-dashoffset", dur: "2s", repeatCount: "indefinite", values: "-57; 57" })), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeDasharray: "24 18", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M29.14 44a5 5 0 103.61-8.46h-21" }, /* @__PURE__ */ React$3.createElement("animate", { attributeName: "stroke-dashoffset", begin: "-1.5s", dur: "2s", repeatCount: "indefinite", values: "-39; 39" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#fde68a", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M21.5 39.5h9" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: ".9s", repeatCount: "indefinite", type: "translate", values: "0 0; 15 0" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: ".9s", repeatCount: "indefinite", values: "0; 1; 1; 1; 0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#fde68a", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M11.5 24.5h9" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-.3s", dur: ".9s", repeatCount: "indefinite", type: "translate", values: "-3 0; 18 0" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-.3s", dur: ".9s", repeatCount: "indefinite", values: "0; 1; 1; 1; 0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#fde68a", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M27.5 32h9" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-.6s", dur: ".9s", repeatCount: "indefinite", type: "translate", values: "-6 0; 12 0" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-.6s", dur: ".9s", repeatCount: "indefinite", values: "0; 1; 1; 1; 0" })));
65580
- const SvgWindy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeDasharray: "35 22", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M43.64 20a5 5 0 113.61 8.46h-35.5" }, /* @__PURE__ */ React$3.createElement("animate", { attributeName: "stroke-dashoffset", dur: "2s", repeatCount: "indefinite", values: "-57; 57" })), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeDasharray: "24 15", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M29.14 44a5 5 0 103.61-8.46h-21" }, /* @__PURE__ */ React$3.createElement("animate", { attributeName: "stroke-dashoffset", begin: "-1.5s", dur: "2s", repeatCount: "indefinite", values: "-39; 39" })));
65581
- const WeatherIcon = ({ type }) => {
65582
- const baseTop = 0;
65583
- const baseLeft = -7;
65584
- const getWeatherTypeInfo = (type2) => {
65585
- switch (type2) {
65586
- case "sunny":
65587
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgSunny, {}), top: baseTop, left: baseLeft };
65588
- case "cloudy":
65589
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgCloudy, {}), top: baseTop, left: baseLeft };
65590
- case "partlycloudy":
65591
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgPartlyCloudy, {}), top: baseTop, left: baseLeft };
65592
- case "clear-night":
65593
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgClearNight, {}), top: baseTop, left: baseLeft };
65594
- case "fog":
65595
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgFog, {}), top: baseTop - 6, left: baseLeft };
65596
- case "hail":
65597
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgHail, {}), top: baseTop - 3, left: baseLeft };
65598
- case "lightning":
65599
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgLightning, {}), top: baseTop - 3, left: baseLeft };
65600
- case "lightning-raining":
65601
- return {
65602
- element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgLightningRaining, {}),
65603
- top: baseTop - 3,
65604
- left: baseLeft
65605
- };
65606
- case "pouring":
65607
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgPouring, {}), top: baseTop - 3, left: baseLeft };
65608
- case "rainy":
65609
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRainy, {}), top: baseTop - 3, left: baseLeft };
65610
- case "snowy":
65611
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgSnowy, {}), top: baseTop - 3, left: baseLeft };
65612
- case "snowy-rainy":
65613
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgSnowyRainy, {}), top: baseTop - 3, left: baseLeft };
65614
- case "windy":
65615
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgWindy, {}), top: baseTop, left: baseLeft };
65616
- case "windy-variant":
65617
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgWindyVariant, {}), top: baseTop, left: baseLeft };
65618
- case "exceptional":
65619
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgExceptional, {}), top: baseTop, left: baseLeft };
65620
- default:
65621
- return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgUnknown, {}), top: baseTop, left: baseLeft };
65622
- }
65623
- };
65624
- const info = getWeatherTypeInfo(type);
65625
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$b, { "aria-label": "weather-icon", $top: info.top, $left: info.left, children: info.element });
65626
- };
65627
- const WeatherComponent = () => {
65628
- const api2 = getPluginApi();
65629
- const entities = useEntities();
65630
- const [weatherData, setWeatherData] = React__default.useState();
65631
- const data = transformWeatherData(entities["weather.forecast_home"]);
65632
- useEffect$1(() => {
65633
- if (data && (!weatherData || data.temperature !== weatherData.temperature || data.type !== weatherData.type)) {
65634
- if (weatherData) {
65635
- api2.trace("Weather changed", data);
65636
- }
65637
- setWeatherData(data);
65638
- }
65639
- }, [data, weatherData, api2]);
65640
- if (!weatherData) {
65641
- return null;
65642
- }
65643
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(g0, { label: "weather-view", direction: "horz", valign: "center", children: [
65644
- weatherData.type !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(WeatherIcon, { type: weatherData.type }),
65645
- !!weatherData.temperature && /* @__PURE__ */ jsxRuntimeExports.jsxs(l4, { label: "temperature", size: "xxlarge", color: "xsubtle", children: [
65646
- weatherData.temperature,
65647
- "°"
65648
- ] })
65649
- ] });
65650
- };
65651
- const Container$a = styled.div`
65652
65521
  display: flex;
65653
65522
  align-items: center;
65654
65523
  width: 100%;
@@ -65678,16 +65547,41 @@ const HeaderRight = styled.div`
65678
65547
  height: 100%;
65679
65548
  padding-right: 15px;
65680
65549
  `;
65681
- const Header = ({ height = 70 }) => {
65682
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Container$a, { "aria-label": "header", $height: height, children: [
65683
- /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderLeft, { "aria-label": "header-left", children: /* @__PURE__ */ jsxRuntimeExports.jsx(WeatherComponent, { "aria-label": "weather" }) }),
65684
- /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderCenter, { "aria-label": "header-center" }),
65685
- /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderRight, { "aria-label": "header-right", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ClockComponent, { "aria-label": "clock" }) })
65550
+ const Header = ({
65551
+ height = 70,
65552
+ leftWidget = "",
65553
+ centerWidget = "",
65554
+ rightWidget = "datetime"
65555
+ }) => {
65556
+ var _a2, _b2, _c2;
65557
+ const api2 = getPluginApi();
65558
+ let leftComponent = null;
65559
+ let centerComponent = null;
65560
+ let rightComponent = null;
65561
+ const widgets = api2.registry.collection("header-widgets");
65562
+ if (widgets && widgets.items) {
65563
+ leftComponent = leftWidget ? ((_a2 = widgets.items[leftWidget]) == null ? void 0 : _a2.component()) ?? null : null;
65564
+ centerComponent = centerWidget ? ((_b2 = widgets.items[centerWidget]) == null ? void 0 : _b2.component()) ?? null : null;
65565
+ rightComponent = rightWidget ? ((_c2 = widgets.items[rightWidget]) == null ? void 0 : _c2.component()) ?? null : null;
65566
+ }
65567
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Container$b, { "aria-label": "header", $height: height, children: [
65568
+ /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderLeft, { "aria-label": "header-left", children: leftComponent }),
65569
+ /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderCenter, { "aria-label": "header-center", children: centerComponent }),
65570
+ /* @__PURE__ */ jsxRuntimeExports.jsx(HeaderRight, { "aria-label": "header-right", children: rightComponent })
65571
+ ] });
65572
+ };
65573
+ const ClockComponent = () => {
65574
+ const dt = r52();
65575
+ const time = n52("h:mm", dt);
65576
+ const date = n52("ddd, MMM D", dt);
65577
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(g0, { label: "clock", direction: "horz", valign: "center", children: [
65578
+ /* @__PURE__ */ jsxRuntimeExports.jsx(l4, { size: "xxlarge", color: "xxsubtle", paddingRight: 11, children: date }),
65579
+ /* @__PURE__ */ jsxRuntimeExports.jsx(l4, { size: "xxlarge", color: "subtle", weight: "bold", children: time })
65686
65580
  ] });
65687
65581
  };
65688
65582
  const About = () => {
65689
65583
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(g0, { padding: 20, direction: "vert", children: [
65690
- /* @__PURE__ */ jsxRuntimeExports.jsx(uq1, { children: `Dek ${"0.37.0"}` }),
65584
+ /* @__PURE__ */ jsxRuntimeExports.jsx(uq1, { children: `Dek ${"0.43.0"}` }),
65691
65585
  /* @__PURE__ */ jsxRuntimeExports.jsx(l4, { children: "From Appkit" })
65692
65586
  ] });
65693
65587
  };
@@ -70708,7 +70602,7 @@ var reactJsxParser_min = { exports: {} };
70708
70602
  })(reactJsxParser_min);
70709
70603
  var reactJsxParser_minExports = reactJsxParser_min.exports;
70710
70604
  const JsxParser = /* @__PURE__ */ getDefaultExportFromCjs(reactJsxParser_minExports);
70711
- const Container$9 = styled.div`
70605
+ const Container$a = styled.div`
70712
70606
  ${({ $width, $height }) => $width && $height ? `position: relative; width: ${$width}px; height: ${$height}px;` : "position: absolute; top: 0; bottom: 0; left: 0; right: 0;"}
70713
70607
 
70714
70608
  display: flex;
@@ -70716,7 +70610,7 @@ const Container$9 = styled.div`
70716
70610
  const BoardScreen = ({ children }) => {
70717
70611
  const previewConfig = usePreviewConfig();
70718
70612
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
70719
- Container$9,
70613
+ Container$a,
70720
70614
  {
70721
70615
  "aria-label": "screen",
70722
70616
  $width: previewConfig == null ? void 0 : previewConfig.width,
@@ -74783,7 +74677,7 @@ hooks.HTML5_FMT = {
74783
74677
  MONTH: "YYYY-MM"
74784
74678
  // <input type="month" />
74785
74679
  };
74786
- const Container$8 = styled.div`
74680
+ const Container$9 = styled.div`
74787
74681
  align-items: flex-start;
74788
74682
  padding: 10px 20px;
74789
74683
  margin-top: 130px;
@@ -74852,9 +74746,9 @@ const Greeting = ({ api: api2 }) => {
74852
74746
  events2.nextEvent.startDate * 1e3
74853
74747
  ).format("h:mm")}`;
74854
74748
  };
74855
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$8, { "aria-label": "greeting", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { children: `${getGreeting()} ${getUpcoming()}` }) });
74749
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$9, { "aria-label": "greeting", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { children: `${getGreeting()} ${getUpcoming()}` }) });
74856
74750
  };
74857
- const Container$7 = styled.div`
74751
+ const Container$8 = styled.div`
74858
74752
  height: 100vh;
74859
74753
  width: 100vw;
74860
74754
  background: ${(props) => `linear-gradient(90deg, ${props.$colorStart}, ${props.$colorEnd})`};
@@ -74899,7 +74793,7 @@ const BlobBackground = ({
74899
74793
  speed = 1
74900
74794
  }) => {
74901
74795
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
74902
- Container$7,
74796
+ Container$8,
74903
74797
  {
74904
74798
  "aria-label": "blob-background",
74905
74799
  $colorStart: colorStart,
@@ -74908,7 +74802,7 @@ const BlobBackground = ({
74908
74802
  }
74909
74803
  );
74910
74804
  };
74911
- const Container$6 = styled.div`
74805
+ const Container$7 = styled.div`
74912
74806
  height: 100vh;
74913
74807
  width: 100vw;
74914
74808
  background: ${(props) => `radial-gradient(${props.$colorStart}, ${props.$colorEnd})`};
@@ -75008,7 +74902,7 @@ const BlurredLightsBackground = ({
75008
74902
  speed = 1
75009
74903
  }) => {
75010
74904
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
75011
- Container$6,
74905
+ Container$7,
75012
74906
  {
75013
74907
  "aria-label": "blurred-lights-background",
75014
74908
  $colorStart: colorStart,
@@ -75027,7 +74921,7 @@ const BlurredLightsBackground = ({
75027
74921
  }
75028
74922
  );
75029
74923
  };
75030
- const Container$5 = styled.div`
74924
+ const Container$6 = styled.div`
75031
74925
  height: 100vh;
75032
74926
  width: 100vw;
75033
74927
  display: flex;
@@ -75061,7 +74955,7 @@ const GradientBackground = ({
75061
74955
  speed = 0.5
75062
74956
  }) => {
75063
74957
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
75064
- Container$5,
74958
+ Container$6,
75065
74959
  {
75066
74960
  "aria-label": "gradient-background",
75067
74961
  $colorStart: colorStart,
@@ -75070,7 +74964,7 @@ const GradientBackground = ({
75070
74964
  }
75071
74965
  );
75072
74966
  };
75073
- const Container$4 = styled.div`
74967
+ const Container$5 = styled.div`
75074
74968
  position: absolute;
75075
74969
  top: 0;
75076
74970
  bottom: 0;
@@ -75137,9 +75031,9 @@ const ImageBackground = ({ itemKey = "fibre", opacity }) => {
75137
75031
  };
75138
75032
  const background = backgrounds[itemKey];
75139
75033
  opacity = opacity === void 0 ? background.opacity : opacity;
75140
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$4, { "aria-label": "background", $imageUrl: background.uri, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Overlay, { $opacity: opacity || 0 }) });
75034
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$5, { "aria-label": "background", $imageUrl: background.uri, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Overlay, { $opacity: opacity || 0 }) });
75141
75035
  };
75142
- const Container$3 = styled.div`
75036
+ const Container$4 = styled.div`
75143
75037
  height: 100vh;
75144
75038
  width: 100vw;
75145
75039
  xbackground: ${(props) => `radial-gradient(
@@ -75220,7 +75114,7 @@ const SlantBackground = ({
75220
75114
  speed = 30
75221
75115
  }) => {
75222
75116
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
75223
- Container$3,
75117
+ Container$4,
75224
75118
  {
75225
75119
  "aria-label": "slant-background",
75226
75120
  $colorStart: colorStart,
@@ -75233,7 +75127,7 @@ const SlantBackground = ({
75233
75127
  }
75234
75128
  );
75235
75129
  };
75236
- const Container$2 = styled.div`
75130
+ const Container$3 = styled.div`
75237
75131
  height: 100vh;
75238
75132
  width: 100vw;
75239
75133
  background: ${(props) => `radial-gradient(
@@ -75298,7 +75192,7 @@ const WaveBackground = ({
75298
75192
  tide = 3
75299
75193
  }) => {
75300
75194
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
75301
- Container$2,
75195
+ Container$3,
75302
75196
  {
75303
75197
  "aria-label": "wave-background",
75304
75198
  $colorStart: colorStart,
@@ -101224,6 +101118,28 @@ let Plugin$2 = class Plugin {
101224
101118
  }
101225
101119
  }
101226
101120
  });
101121
+ registry2.registerCollection("header-widgets", "Header Widgets", {
101122
+ name: {
101123
+ type: "string",
101124
+ title: "name",
101125
+ required: true
101126
+ },
101127
+ component: {
101128
+ type: "component",
101129
+ title: "component",
101130
+ required: true
101131
+ },
101132
+ props: {
101133
+ type: "props",
101134
+ title: "props",
101135
+ required: false
101136
+ }
101137
+ });
101138
+ registry2.registerCollectionItem("header-widgets", "datetime", {
101139
+ name: "Date and Time",
101140
+ component: (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(ClockComponent, { ...props }),
101141
+ props: {}
101142
+ });
101227
101143
  }
101228
101144
  async load(api2) {
101229
101145
  api2.trace(
@@ -101260,7 +101176,24 @@ let Plugin$2 = class Plugin {
101260
101176
  },
101261
101177
  {
101262
101178
  key: "header",
101263
- element: (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(Header, { ...props })
101179
+ element: (props) => /* @__PURE__ */ jsxRuntimeExports.jsx(Header, { ...props }),
101180
+ schema: {
101181
+ leftWidget: {
101182
+ type: "string",
101183
+ title: "Left Widget",
101184
+ default: ""
101185
+ },
101186
+ centerWidget: {
101187
+ type: "string",
101188
+ title: "Center Widget",
101189
+ default: ""
101190
+ },
101191
+ rightWidget: {
101192
+ type: "string",
101193
+ title: "Right Widget",
101194
+ default: "datetime"
101195
+ }
101196
+ }
101264
101197
  },
101265
101198
  {
101266
101199
  key: "title-bar",
@@ -104669,6 +104602,12 @@ function transformSwitchData(data) {
104669
104602
  state: data.state
104670
104603
  };
104671
104604
  }
104605
+ const state = proxy({
104606
+ entities: {}
104607
+ });
104608
+ const useEntities = () => {
104609
+ return useSnapshot(state).entities;
104610
+ };
104672
104611
  const EntityButton = ({
104673
104612
  title,
104674
104613
  entityId,
@@ -104787,7 +104726,7 @@ const useEntity = (entityId) => {
104787
104726
  }
104788
104727
  return entities[entityId];
104789
104728
  };
104790
- const Container$1 = styled.div`
104729
+ const Container$2 = styled.div`
104791
104730
  display: flex;
104792
104731
  aspect-ratio: 1;
104793
104732
  ${({ $large }) => {
@@ -104801,7 +104740,7 @@ const Container$1 = styled.div`
104801
104740
  const CoverArt = ({ url, showLargeContent, onClick = noop$1 }) => {
104802
104741
  const size = showLargeContent ? "60vh" : "250px";
104803
104742
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
104804
- Container$1,
104743
+ Container$2,
104805
104744
  {
104806
104745
  "aria-label": "media-cover-art",
104807
104746
  $large: showLargeContent,
@@ -105035,6 +104974,122 @@ const SensorCard = ({
105035
104974
  }
105036
104975
  );
105037
104976
  };
104977
+ function transformWeatherData(data) {
104978
+ if (!data) {
104979
+ return {
104980
+ type: "unknown",
104981
+ temperature: 0
104982
+ };
104983
+ }
104984
+ return {
104985
+ type: data.state,
104986
+ temperature: data.attributes.temperature
104987
+ };
104988
+ }
104989
+ const Container$1 = styled.div`
104990
+ width: 50px;
104991
+ height: 50px;
104992
+ padding: 0;
104993
+ margin-top: ${(props) => props.$top}px;
104994
+ margin-left: ${(props) => props.$left}px;
104995
+ & svg {
104996
+ stroke: ${({ theme }) => theme.text.color.xsubtle};
104997
+ }
104998
+ & g > path {
104999
+ stroke: ${({ theme }) => theme.text.color.xsubtle};
105000
+ fill: ${({ theme }) => theme.text.color.xsubtle};
105001
+ }
105002
+ & path {
105003
+ stroke: ${({ theme }) => theme.text.color.xsubtle};
105004
+ fill: ${({ theme }) => theme.text.color.xsubtle};
105005
+ }
105006
+ `;
105007
+ const SvgClearNight = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b9d5", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M46.66 36.2a16.66 16.66 0 01-16.78-16.55 16.29 16.29 0 01.55-4.15A16.56 16.56 0 1048.5 36.1c-.61.06-1.22.1-1.84.1z" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "10s", repeatCount: "indefinite", type: "rotate", values: "-5 32 32;15 32 32;-5 32 32" })));
105008
+ const SvgCloudy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinejoin: "round", strokeWidth: 3, d: "M46.5 31.5h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0h28a7 7 0 000-14z" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "7s", repeatCount: "indefinite", type: "translate", values: "-3 0; 3 0; -3 0" })));
105009
+ const SvgExceptional = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#f59e0b", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M42.5 32A10.5 10.5 0 1132 21.5 10.5 10.5 0 0142.5 32zM32 15.71V9.5m0 45v-6.21m11.52-27.81l4.39-4.39M16.09 47.91l4.39-4.39m0-23l-4.39-4.39m31.82 31.78l-4.39-4.39M15.71 32H9.5m45 0h-6.21" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "45s", from: "0 32 32", repeatCount: "indefinite", to: "360 32 32", type: "rotate" })));
105010
+ const SvgFog = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinejoin: "round", strokeWidth: 3, d: "M46.5 31.5h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0h28a7 7 0 000-14z" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#d1d5db", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M17 58h30" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "0s", dur: "5s", repeatCount: "indefinite", type: "translate", values: "-4 0; 4 0; -4 0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#d1d5db", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M17 52h30" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-4s", dur: "5s", repeatCount: "indefinite", type: "translate", values: "-4 0; 4 0; -4 0" })));
105011
+ const SvgHail = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 24, cy: 45, r: 1.5, fill: "#72b8d4" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "0.6s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 18; -4 14" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "0.6s", repeatCount: "indefinite", values: "1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 31, cy: 45, r: 1.5, fill: "#72b8d4" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.4s", dur: "0.6s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 18; -4 14" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.4s", dur: "0.6s", repeatCount: "indefinite", values: "1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 38, cy: 45, r: 1.5, fill: "#72b8d4" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.2s", dur: "0.6s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 18; -4 14" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.2s", dur: "0.6s", repeatCount: "indefinite", values: "1;1;0" })));
105012
+ const SvgLightningRaining = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M24.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M31.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M38.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "#f59e0b", d: "M30 36l-4 12h4l-2 10 10-14h-6l4-8h-6z" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "2s", repeatCount: "indefinite", values: "1;1;1;1;1;1;0.1;1;0.1;1;1;0.1;1;0.1;1" })));
105013
+ const SvgLightning = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "#f59e0b", d: "M30 36l-4 12h4l-2 10 10-14h-6l4-8h-6z" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "2s", repeatCount: "indefinite", values: "1;1;1;1;1;1;0.1;1;0.1;1;1;0.1;1;0.1;1" })));
105014
+ const SvgPartlyCloudy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("defs", null, /* @__PURE__ */ React$3.createElement("clipPath", { id: "a" }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", d: "M12 35l-5.28-4.21-2-6 1-7 4-5 5-3h6l5 1 3 3L33 20l-6 4h-6l-3 3v4l-4 2-2 2z" }))), /* @__PURE__ */ React$3.createElement("g", { clipPath: "url(#a)" }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#f59e0b", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M23.5 24a4.5 4.5 0 11-4.5-4.5 4.49 4.49 0 014.5 4.5zM19 15.67V12.5m0 23v-3.17m5.89-14.22l2.24-2.24M10.87 32.13l2.24-2.24m0-11.78l-2.24-2.24m16.26 16.26l-2.24-2.24M7.5 24h3.17m19.83 0h-3.17" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "45s", from: "0 19 24", repeatCount: "indefinite", to: "360 19 24", type: "rotate" }))), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinejoin: "round", strokeWidth: 3, d: "M46.5 31.5h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0h28a7 7 0 000-14z" }));
105015
+ const SvgPouring = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M24.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M31.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M38.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })));
105016
+ const SvgRainy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M24.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M31.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.4s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M38.39 43.03l-.78 4.94" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.2s", dur: "0.7s", repeatCount: "indefinite", values: "0;1;1;0" })));
105017
+ const SvgSnowyRainy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 24, cy: 45, r: 1.25, fill: "none", stroke: "#72b8d4", strokeMiterlimit: 10 }), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b8d4", strokeLinecap: "round", strokeMiterlimit: 10, d: "M26.17 46.25l-1.09-.63m-2.16-1.24l-1.09-.63M24 42.5v1.25m0 3.75v-1.25m-1.08-.63l-1.09.63m4.34-2.5l-1.09.63" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", begin: "-2s", dur: "4s", repeatCount: "indefinite", type: "translate", values: "1 -6; -1 12" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "9s", repeatCount: "indefinite", type: "rotate", values: "0 24 45; 360 24 45" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-2s", dur: "4s", repeatCount: "indefinite", values: "0;1;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 38, cy: 45, r: 1.25, fill: "none", stroke: "#72b8d4", strokeMiterlimit: 10 }), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b8d4", strokeLinecap: "round", strokeMiterlimit: 10, d: "M40.17 46.25l-1.09-.63m-2.16-1.24l-1.09-.63M38 42.5v1.25m0 3.75v-1.25m-1.08-.63l-1.09.63m4.34-2.5l-1.09.63" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", begin: "-1s", dur: "4s", repeatCount: "indefinite", type: "translate", values: "1 -6; -1 12" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "9s", repeatCount: "indefinite", type: "rotate", values: "0 38 45; 360 38 45" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-1s", dur: "4s", repeatCount: "indefinite", values: "0;1;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M24.08 45.01l-.16.98" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "1.5s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "1.5s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M31.08 45.01l-.16.98" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-0.5s", dur: "1.5s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-0.5s", dur: "1.5s", repeatCount: "indefinite", values: "0;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#2885c7", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 2, d: "M38.08 45.01l-.16.98" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-1s", dur: "1.5s", repeatCount: "indefinite", type: "translate", values: "1 -5; -2 10" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-1s", dur: "1.5s", repeatCount: "indefinite", values: "0;1;1;0" })));
105018
+ const SvgSnowy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 3, d: "M43.67 45.5h2.83a7 7 0 000-14h-.32a10.49 10.49 0 00-19.11-8 7 7 0 00-10.57 6 7.21 7.21 0 00.1 1.14A7.5 7.5 0 0018 45.5a4.19 4.19 0 00.5 0v0" }), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 31, cy: 45, r: 1.25, fill: "none", stroke: "#72b8d4", strokeMiterlimit: 10 }), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b8d4", strokeLinecap: "round", strokeMiterlimit: 10, d: "M33.17 46.25l-1.09-.63m-2.16-1.24l-1.09-.63M31 42.5v1.25m0 3.75v-1.25m-1.08-.63l-1.09.63m4.34-2.5l-1.09.63" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "4s", repeatCount: "indefinite", type: "translate", values: "-1 -6; 1 12" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "9s", repeatCount: "indefinite", type: "rotate", values: "0 31 45; 360 31 45" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: "4s", repeatCount: "indefinite", values: "0;1;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 24, cy: 45, r: 1.25, fill: "none", stroke: "#72b8d4", strokeMiterlimit: 10 }), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b8d4", strokeLinecap: "round", strokeMiterlimit: 10, d: "M26.17 46.25l-1.09-.63m-2.16-1.24l-1.09-.63M24 42.5v1.25m0 3.75v-1.25m-1.08-.63l-1.09.63m4.34-2.5l-1.09.63" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", begin: "-2s", dur: "4s", repeatCount: "indefinite", type: "translate", values: "1 -6; -1 12" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "9s", repeatCount: "indefinite", type: "rotate", values: "0 24 45; 360 24 45" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-2s", dur: "4s", repeatCount: "indefinite", values: "0;1;1;1;0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("circle", { cx: 38, cy: 45, r: 1.25, fill: "none", stroke: "#72b8d4", strokeMiterlimit: 10 }), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#72b8d4", strokeLinecap: "round", strokeMiterlimit: 10, d: "M40.17 46.25l-1.09-.63m-2.16-1.24l-1.09-.63M38 42.5v1.25m0 3.75v-1.25m-1.08-.63l-1.09.63m4.34-2.5l-1.09.63" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", begin: "-1s", dur: "4s", repeatCount: "indefinite", type: "translate", values: "1 -6; -1 12" }), /* @__PURE__ */ React$3.createElement("animateTransform", { additive: "sum", attributeName: "transform", dur: "9s", repeatCount: "indefinite", type: "rotate", values: "0 38 45; 360 38 45" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-1s", dur: "4s", repeatCount: "indefinite", values: "0;1;1;1;0" })));
105019
+ const SvgSunny = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#f59e0b", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M42.5 32A10.5 10.5 0 1132 21.5 10.5 10.5 0 0142.5 32zM32 15.71V9.5m0 45v-6.21m11.52-27.81l4.39-4.39M16.09 47.91l4.39-4.39m0-23l-4.39-4.39m31.82 31.78l-4.39-4.39M15.71 32H9.5m45 0h-6.21" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: "45s", from: "0 32 32", repeatCount: "indefinite", to: "360 32 32", type: "rotate" })));
105020
+ const SvgUnknown = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M17 32h30" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "0s", dur: "5s", repeatCount: "indefinite", type: "translate", values: "-4 0; 4 0; -4 0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M17 39h30" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-2s", dur: "5s", repeatCount: "indefinite", type: "translate", values: "-3 0; 3 0; -3 0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M17 25h30" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-4s", dur: "5s", repeatCount: "indefinite", type: "translate", values: "-4 0; 4 0; -4 0" })));
105021
+ const SvgWindyVariant = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeDasharray: "35 22", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M43.64 20a5 5 0 113.61 8.46h-35.5" }, /* @__PURE__ */ React$3.createElement("animate", { attributeName: "stroke-dashoffset", dur: "2s", repeatCount: "indefinite", values: "-57; 57" })), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeDasharray: "24 18", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M29.14 44a5 5 0 103.61-8.46h-21" }, /* @__PURE__ */ React$3.createElement("animate", { attributeName: "stroke-dashoffset", begin: "-1.5s", dur: "2s", repeatCount: "indefinite", values: "-39; 39" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#fde68a", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M21.5 39.5h9" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", dur: ".9s", repeatCount: "indefinite", type: "translate", values: "0 0; 15 0" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", dur: ".9s", repeatCount: "indefinite", values: "0; 1; 1; 1; 0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#fde68a", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M11.5 24.5h9" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-.3s", dur: ".9s", repeatCount: "indefinite", type: "translate", values: "-3 0; 18 0" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-.3s", dur: ".9s", repeatCount: "indefinite", values: "0; 1; 1; 1; 0" })), /* @__PURE__ */ React$3.createElement("g", null, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#fde68a", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M27.5 32h9" }), /* @__PURE__ */ React$3.createElement("animateTransform", { attributeName: "transform", begin: "-.6s", dur: ".9s", repeatCount: "indefinite", type: "translate", values: "-6 0; 12 0" }), /* @__PURE__ */ React$3.createElement("animate", { attributeName: "opacity", begin: "-.6s", dur: ".9s", repeatCount: "indefinite", values: "0; 1; 1; 1; 0" })));
105022
+ const SvgWindy = (props) => /* @__PURE__ */ React$3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", ...props }, /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeDasharray: "35 22", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M43.64 20a5 5 0 113.61 8.46h-35.5" }, /* @__PURE__ */ React$3.createElement("animate", { attributeName: "stroke-dashoffset", dur: "2s", repeatCount: "indefinite", values: "-57; 57" })), /* @__PURE__ */ React$3.createElement("path", { fill: "none", stroke: "#e5e7eb", strokeDasharray: "24 15", strokeLinecap: "round", strokeMiterlimit: 10, strokeWidth: 3, d: "M29.14 44a5 5 0 103.61-8.46h-21" }, /* @__PURE__ */ React$3.createElement("animate", { attributeName: "stroke-dashoffset", begin: "-1.5s", dur: "2s", repeatCount: "indefinite", values: "-39; 39" })));
105023
+ const WeatherIcon = ({ type }) => {
105024
+ const baseTop = 0;
105025
+ const baseLeft = -7;
105026
+ const getWeatherTypeInfo = (type2) => {
105027
+ switch (type2) {
105028
+ case "sunny":
105029
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgSunny, {}), top: baseTop, left: baseLeft };
105030
+ case "cloudy":
105031
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgCloudy, {}), top: baseTop, left: baseLeft };
105032
+ case "partlycloudy":
105033
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgPartlyCloudy, {}), top: baseTop, left: baseLeft };
105034
+ case "clear-night":
105035
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgClearNight, {}), top: baseTop, left: baseLeft };
105036
+ case "fog":
105037
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgFog, {}), top: baseTop - 6, left: baseLeft };
105038
+ case "hail":
105039
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgHail, {}), top: baseTop - 3, left: baseLeft };
105040
+ case "lightning":
105041
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgLightning, {}), top: baseTop - 3, left: baseLeft };
105042
+ case "lightning-raining":
105043
+ return {
105044
+ element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgLightningRaining, {}),
105045
+ top: baseTop - 3,
105046
+ left: baseLeft
105047
+ };
105048
+ case "pouring":
105049
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgPouring, {}), top: baseTop - 3, left: baseLeft };
105050
+ case "rainy":
105051
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgRainy, {}), top: baseTop - 3, left: baseLeft };
105052
+ case "snowy":
105053
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgSnowy, {}), top: baseTop - 3, left: baseLeft };
105054
+ case "snowy-rainy":
105055
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgSnowyRainy, {}), top: baseTop - 3, left: baseLeft };
105056
+ case "windy":
105057
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgWindy, {}), top: baseTop, left: baseLeft };
105058
+ case "windy-variant":
105059
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgWindyVariant, {}), top: baseTop, left: baseLeft };
105060
+ case "exceptional":
105061
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgExceptional, {}), top: baseTop, left: baseLeft };
105062
+ default:
105063
+ return { element: /* @__PURE__ */ jsxRuntimeExports.jsx(SvgUnknown, {}), top: baseTop, left: baseLeft };
105064
+ }
105065
+ };
105066
+ const info = getWeatherTypeInfo(type);
105067
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { "aria-label": "weather-icon", $top: info.top, $left: info.left, children: info.element });
105068
+ };
105069
+ const WeatherComponent = () => {
105070
+ const api2 = getPluginApi();
105071
+ const entities = useEntities();
105072
+ const [weatherData, setWeatherData] = React__default.useState();
105073
+ const data = transformWeatherData(entities["weather.forecast_home"]);
105074
+ useEffect$1(() => {
105075
+ if (data && (!weatherData || data.temperature !== weatherData.temperature || data.type !== weatherData.type)) {
105076
+ if (weatherData) {
105077
+ api2.trace("Weather changed", data);
105078
+ }
105079
+ setWeatherData(data);
105080
+ }
105081
+ }, [data, weatherData, api2]);
105082
+ if (!weatherData) {
105083
+ return null;
105084
+ }
105085
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(g0, { label: "weather-view", direction: "horz", valign: "center", children: [
105086
+ weatherData.type !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(WeatherIcon, { type: weatherData.type }),
105087
+ !!weatherData.temperature && /* @__PURE__ */ jsxRuntimeExports.jsxs(l4, { label: "temperature", size: "xxlarge", color: "xsubtle", children: [
105088
+ weatherData.temperature,
105089
+ "°"
105090
+ ] })
105091
+ ] });
105092
+ };
105038
105093
  const EntitiesScreen = () => {
105039
105094
  const entities = useEntities();
105040
105095
  const [selectedKey, setSelectedKey] = useState$1("");
@@ -105246,7 +105301,7 @@ async function updatePlugins(authToken) {
105246
105301
  {
105247
105302
  key: "base",
105248
105303
  pluginName: "base",
105249
- pluginVersion: "0.37.0",
105304
+ pluginVersion: "0.43.0",
105250
105305
  pluginConfig: []
105251
105306
  }
105252
105307
  ],
@@ -105364,10 +105419,8 @@ const BoardProvider = ({
105364
105419
  return /* @__PURE__ */ jsxRuntimeExports.jsx(UserConfigContext.Provider, { value: config2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(BoardStylesProvider, { zoom, transitionDelay, children }) });
105365
105420
  };
105366
105421
  const Command = ({ commandTitle }) => {
105367
- const userConfig = useUserConfig();
105368
- console.log("### USER CONFIG", userConfig);
105422
+ useUserConfig();
105369
105423
  const api2 = getPluginApi();
105370
- console.log("!!! commands", api2.commands);
105371
105424
  const command = api2.commands.find((c2) => c2.title == commandTitle);
105372
105425
  if (!command) {
105373
105426
  return null;
@@ -105428,9 +105481,35 @@ const CommandGroup = ({ groupKey, title, align = "left" }) => {
105428
105481
  ] });
105429
105482
  };
105430
105483
  const CommandGroup$1 = CommandGroup;
105484
+ class ErrorBoundary extends React__default.Component {
105485
+ constructor(props) {
105486
+ super(props);
105487
+ this.state = { hasError: false };
105488
+ }
105489
+ static getDerivedStateFromError(error2) {
105490
+ console.log("getDerivedStateFromError", error2);
105491
+ return { hasError: true };
105492
+ }
105493
+ componentDidCatch(error2, errorInfo) {
105494
+ console.log("componentDidCatch", error2, errorInfo);
105495
+ }
105496
+ render() {
105497
+ if (this.state.hasError) {
105498
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
105499
+ "div",
105500
+ {
105501
+ style: {
105502
+ border: "1px solid red"
105503
+ },
105504
+ children: "#ERR"
105505
+ }
105506
+ );
105507
+ }
105508
+ return this.props.children;
105509
+ }
105510
+ }
105431
105511
  const Component = ({ integrationKey, componentKey }) => {
105432
105512
  const userConfig = useUserConfig();
105433
- console.log("### USER CONFIG", userConfig);
105434
105513
  const api2 = getPluginApi();
105435
105514
  const component = api2.integration(integrationKey).component(componentKey, {
105436
105515
  ...parsePropsForComponent(api2, []),
@@ -105442,7 +105521,7 @@ const Component = ({ integrationKey, componentKey }) => {
105442
105521
  if (component === null) {
105443
105522
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-label": "component-not-found", children: "Component not found" });
105444
105523
  }
105445
- return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-label": "component", children: component || null });
105524
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { "aria-label": "component", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ErrorBoundary, { children: component || null }) });
105446
105525
  };
105447
105526
  function useAuthorization(email, password) {
105448
105527
  const [token2, setToken] = useState$1("");