@bluemarble/bi 0.3.0 → 0.3.1

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.
@@ -1,16 +1,10 @@
1
1
  import { A as modelEdges, C as VALUE_FORMATS, D as validateModel, N as referencedTables, S as AGGREGATION_LABEL, T as isAggregate, _ as canonicalJson, a as FILTER_FIELDS, b as toModelCode, c as chartOfType, d as filterReferences, g as validateLayout, i as CARD_FIELDS, j as parseColumnRef, k as measureHome, l as chartReferences, m as layoutModelWarnings, n as CANVAS_PRESETS, p as layoutFileContent, r as CARDS_FIELDS, s as chartColumns, t as BUILTIN_CHART_TYPES, x as AGGREGATIONS } from "./layout-DTR4vI-I.js";
2
2
  import { n as diffRows } from "./compare-DloZhg1T.js";
3
- import { a as useDashboard, c as layoutItemKey, l as parseLayoutItemKey, n as INSPECT_ATTRIBUTE, o as errorMessage, s as LAYOUT_ITEM_ATTRIBUTE, t as ModelDictionary } from "./ModelDictionary-CBILYbZ1.js";
3
+ import { a as useDashboard, c as layoutItemKey, l as parseLayoutItemKey, n as INSPECT_ATTRIBUTE, o as errorMessage, s as LAYOUT_ITEM_ATTRIBUTE, t as ModelDictionary } from "./ModelDictionary-kUKcdbc8.js";
4
4
  import { Alert, Autocomplete, Box, Button, Checkbox, Chip, CircularProgress, Collapse, Dialog, DialogActions, DialogContent, DialogTitle, Divider, FormControlLabel, IconButton, List, ListItemButton, Menu, MenuItem, MenuList, Paper, Popper, Portal, Tab, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, TableSortLabel, Tabs, TextField, ThemeProvider, ToggleButton, ToggleButtonGroup, Tooltip, Typography, createTheme } from "@mui/material";
5
5
  import { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
- //#region \0rolldown/runtime.js
8
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
9
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) {
10
- if (typeof require !== "undefined") return require.apply(this, arguments);
11
- throw Error("Calling `require` for \"" + x + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
12
- });
13
- //#endregion
7
+ import { createPortal } from "react-dom";
14
8
  //#region src/devtools/sqlHighlight.tsx
15
9
  const KEYWORDS$1 = new Set(`SELECT FROM WHERE AND OR NOT IN IS NULL JOIN LEFT RIGHT INNER OUTER CROSS ON AS GROUP BY ORDER
16
10
  HAVING LIMIT OFFSET UNION ALL DISTINCT CASE WHEN THEN ELSE END WITH ASC DESC BETWEEN LIKE EXISTS
@@ -595,364 +589,7 @@ function FiltersPanel({ devtools }) {
595
589
  });
596
590
  }
597
591
  //#endregion
598
- //#region node_modules/react-dom/cjs/react-dom.production.js
599
- /**
600
- * @license React
601
- * react-dom.production.js
602
- *
603
- * Copyright (c) Meta Platforms, Inc. and affiliates.
604
- *
605
- * This source code is licensed under the MIT license found in the
606
- * LICENSE file in the root directory of this source tree.
607
- */
608
- var require_react_dom_production = /* @__PURE__ */ __commonJSMin(((exports) => {
609
- var React = __require("react");
610
- function formatProdErrorMessage(code) {
611
- var url = "https://react.dev/errors/" + code;
612
- if (1 < arguments.length) {
613
- url += "?args[]=" + encodeURIComponent(arguments[1]);
614
- for (var i = 2; i < arguments.length; i++) url += "&args[]=" + encodeURIComponent(arguments[i]);
615
- }
616
- return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
617
- }
618
- function noop() {}
619
- var Internals = {
620
- d: {
621
- f: noop,
622
- r: function() {
623
- throw Error(formatProdErrorMessage(522));
624
- },
625
- D: noop,
626
- C: noop,
627
- L: noop,
628
- m: noop,
629
- X: noop,
630
- S: noop,
631
- M: noop
632
- },
633
- p: 0,
634
- findDOMNode: null
635
- };
636
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
637
- var REACT_RECOVERABLE_TYPE = Symbol.for("react.recoverable");
638
- var REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key");
639
- function createPortal$1(children, containerInfo, implementation) {
640
- var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
641
- return {
642
- $$typeof: REACT_PORTAL_TYPE,
643
- key: null == key ? null : key === REACT_OPTIMISTIC_KEY ? REACT_OPTIMISTIC_KEY : "" + key,
644
- children,
645
- containerInfo,
646
- implementation
647
- };
648
- }
649
- var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
650
- function getCrossOriginStringAs(as, input) {
651
- if ("font" === as) return "";
652
- if ("string" === typeof input) return "use-credentials" === input ? input : "";
653
- }
654
- exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
655
- exports.browser = function(reason) {
656
- return {
657
- $$typeof: REACT_RECOVERABLE_TYPE,
658
- _reason: reason
659
- };
660
- };
661
- exports.createPortal = function(children, container) {
662
- var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
663
- if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) throw Error(formatProdErrorMessage(299));
664
- return createPortal$1(children, container, null, key);
665
- };
666
- exports.flushSync = function(fn) {
667
- var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
668
- try {
669
- if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn();
670
- } finally {
671
- ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
672
- }
673
- };
674
- exports.preconnect = function(href, options) {
675
- "string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
676
- };
677
- exports.prefetchDNS = function(href) {
678
- "string" === typeof href && Internals.d.D(href);
679
- };
680
- exports.preinit = function(href, options) {
681
- if ("string" === typeof href && options && "string" === typeof options.as) {
682
- var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0;
683
- "style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence : void 0, {
684
- crossOrigin,
685
- integrity,
686
- fetchPriority
687
- }) : "script" === as && Internals.d.X(href, {
688
- crossOrigin,
689
- integrity,
690
- fetchPriority,
691
- nonce: "string" === typeof options.nonce ? options.nonce : void 0
692
- });
693
- }
694
- };
695
- exports.preinitModule = function(href, options) {
696
- if ("string" === typeof href) if ("object" === typeof options && null !== options) {
697
- if (null == options.as || "script" === options.as) {
698
- var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
699
- Internals.d.M(href, {
700
- crossOrigin,
701
- integrity: "string" === typeof options.integrity ? options.integrity : void 0,
702
- nonce: "string" === typeof options.nonce ? options.nonce : void 0,
703
- fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0
704
- });
705
- }
706
- } else options ?? Internals.d.M(href);
707
- };
708
- exports.preload = function(href, options) {
709
- if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) {
710
- var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
711
- Internals.d.L(href, as, {
712
- crossOrigin,
713
- integrity: "string" === typeof options.integrity ? options.integrity : void 0,
714
- nonce: "string" === typeof options.nonce ? options.nonce : void 0,
715
- type: "string" === typeof options.type ? options.type : void 0,
716
- fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
717
- referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
718
- imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
719
- imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
720
- media: "string" === typeof options.media ? options.media : void 0
721
- });
722
- }
723
- };
724
- exports.preloadModule = function(href, options) {
725
- if ("string" === typeof href) if (options) {
726
- var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
727
- Internals.d.m(href, {
728
- as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
729
- crossOrigin,
730
- integrity: "string" === typeof options.integrity ? options.integrity : void 0,
731
- nonce: "string" === typeof options.nonce ? options.nonce : void 0,
732
- fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0
733
- });
734
- } else Internals.d.m(href);
735
- };
736
- exports.requestFormReset = function(form) {
737
- Internals.d.r(form);
738
- };
739
- exports.unstable_batchedUpdates = function(fn, a) {
740
- return fn(a);
741
- };
742
- exports.useFormState = function(action, initialState, permalink) {
743
- return ReactSharedInternals.H.useFormState(action, initialState, permalink);
744
- };
745
- exports.useFormStatus = function() {
746
- return ReactSharedInternals.H.useHostTransitionStatus();
747
- };
748
- exports.version = "19.3.0";
749
- }));
750
- //#endregion
751
- //#region node_modules/react-dom/cjs/react-dom.development.js
752
- /**
753
- * @license React
754
- * react-dom.development.js
755
- *
756
- * Copyright (c) Meta Platforms, Inc. and affiliates.
757
- *
758
- * This source code is licensed under the MIT license found in the
759
- * LICENSE file in the root directory of this source tree.
760
- */
761
- var require_react_dom_development = /* @__PURE__ */ __commonJSMin(((exports) => {
762
- "production" !== process.env.NODE_ENV && (function() {
763
- function noop() {}
764
- function testStringCoercion(value) {
765
- return "" + value;
766
- }
767
- function createPortal$1(children, containerInfo, implementation) {
768
- var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
769
- if (null == key) key = null;
770
- else if (key === REACT_OPTIMISTIC_KEY) key = REACT_OPTIMISTIC_KEY;
771
- else {
772
- try {
773
- testStringCoercion(key);
774
- var JSCompiler_inline_result = !1;
775
- } catch (e) {
776
- JSCompiler_inline_result = !0;
777
- }
778
- JSCompiler_inline_result && (console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", "function" === typeof Symbol && Symbol.toStringTag && key[Symbol.toStringTag] || key.constructor.name || "Object"), testStringCoercion(key));
779
- key = "" + key;
780
- }
781
- return {
782
- $$typeof: REACT_PORTAL_TYPE,
783
- key,
784
- children,
785
- containerInfo,
786
- implementation
787
- };
788
- }
789
- function getCrossOriginStringAs(as, input) {
790
- if ("font" === as) return "";
791
- if ("string" === typeof input) return "use-credentials" === input ? input : "";
792
- }
793
- function getValueDescriptorExpectingObjectForWarning(thing) {
794
- return null === thing ? "`null`" : void 0 === thing ? "`undefined`" : "" === thing ? "an empty string" : "something with type \"" + typeof thing + "\"";
795
- }
796
- function getValueDescriptorExpectingEnumForWarning(thing) {
797
- return null === thing ? "`null`" : void 0 === thing ? "`undefined`" : "" === thing ? "an empty string" : "string" === typeof thing ? JSON.stringify(thing) : "number" === typeof thing ? "`" + thing + "`" : "something with type \"" + typeof thing + "\"";
798
- }
799
- function resolveDispatcher() {
800
- var dispatcher = ReactSharedInternals.H;
801
- null === dispatcher && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.");
802
- return dispatcher;
803
- }
804
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
805
- var React = __require("react"), Internals = {
806
- d: {
807
- f: noop,
808
- r: function() {
809
- throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.");
810
- },
811
- D: noop,
812
- C: noop,
813
- L: noop,
814
- m: noop,
815
- X: noop,
816
- S: noop,
817
- M: noop
818
- },
819
- p: 0,
820
- findDOMNode: null
821
- }, REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_RECOVERABLE_TYPE = Symbol.for("react.recoverable"), REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
822
- "function" === typeof Map && null != Map.prototype && "function" === typeof Map.prototype.forEach && "function" === typeof Set && null != Set.prototype && "function" === typeof Set.prototype.clear && "function" === typeof Set.prototype.forEach || console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills");
823
- exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
824
- exports.browser = function(reason) {
825
- return {
826
- $$typeof: REACT_RECOVERABLE_TYPE,
827
- _reason: reason
828
- };
829
- };
830
- exports.createPortal = function(children, container) {
831
- var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
832
- if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) throw Error("Target container is not a DOM element.");
833
- return createPortal$1(children, container, null, key);
834
- };
835
- exports.flushSync = function(fn) {
836
- var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
837
- try {
838
- if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn();
839
- } finally {
840
- ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f() && console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.");
841
- }
842
- };
843
- exports.preconnect = function(href, options) {
844
- "string" === typeof href && href ? null != options && "object" !== typeof options ? console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.", getValueDescriptorExpectingEnumForWarning(options)) : null != options && "string" !== typeof options.crossOrigin && console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.", getValueDescriptorExpectingObjectForWarning(options.crossOrigin)) : console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href));
845
- "string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
846
- };
847
- exports.prefetchDNS = function(href) {
848
- if ("string" !== typeof href || !href) console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href));
849
- else if (1 < arguments.length) {
850
- var options = arguments[1];
851
- "object" === typeof options && options.hasOwnProperty("crossOrigin") ? console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", getValueDescriptorExpectingEnumForWarning(options)) : console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.", getValueDescriptorExpectingEnumForWarning(options));
852
- }
853
- "string" === typeof href && Internals.d.D(href);
854
- };
855
- exports.preinit = function(href, options) {
856
- "string" === typeof href && href ? null == options || "object" !== typeof options ? console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.", getValueDescriptorExpectingEnumForWarning(options)) : "style" !== options.as && "script" !== options.as && console.error("ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are \"style\" and \"script\".", getValueDescriptorExpectingEnumForWarning(options.as)) : console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", getValueDescriptorExpectingObjectForWarning(href));
857
- if ("string" === typeof href && options && "string" === typeof options.as) {
858
- var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0;
859
- "style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence : void 0, {
860
- crossOrigin,
861
- integrity,
862
- fetchPriority
863
- }) : "script" === as && Internals.d.X(href, {
864
- crossOrigin,
865
- integrity,
866
- fetchPriority,
867
- nonce: "string" === typeof options.nonce ? options.nonce : void 0
868
- });
869
- }
870
- };
871
- exports.preinitModule = function(href, options) {
872
- var encountered = "";
873
- "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
874
- void 0 !== options && "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : options && "as" in options && "script" !== options.as && (encountered += " The `as` option encountered was " + getValueDescriptorExpectingEnumForWarning(options.as) + ".");
875
- if (encountered) console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s", encountered);
876
- else switch (encountered = options && "string" === typeof options.as ? options.as : "script", encountered) {
877
- case "script": break;
878
- default: encountered = getValueDescriptorExpectingEnumForWarning(encountered), console.error("ReactDOM.preinitModule(): Currently the only supported \"as\" type for this function is \"script\" but received \"%s\" instead. This warning was generated for `href` \"%s\". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)", encountered, href);
879
- }
880
- if ("string" === typeof href) if ("object" === typeof options && null !== options) {
881
- if (null == options.as || "script" === options.as) encountered = getCrossOriginStringAs(options.as, options.crossOrigin), Internals.d.M(href, {
882
- crossOrigin: encountered,
883
- integrity: "string" === typeof options.integrity ? options.integrity : void 0,
884
- nonce: "string" === typeof options.nonce ? options.nonce : void 0,
885
- fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0
886
- });
887
- } else options ?? Internals.d.M(href);
888
- };
889
- exports.preload = function(href, options) {
890
- var encountered = "";
891
- "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
892
- null == options || "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : "string" === typeof options.as && options.as || (encountered += " The `as` option encountered was " + getValueDescriptorExpectingObjectForWarning(options.as) + ".");
893
- encountered && console.error("ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel=\"preload\" as=\"...\" />` tag.%s", encountered);
894
- if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) {
895
- encountered = options.as;
896
- var crossOrigin = getCrossOriginStringAs(encountered, options.crossOrigin);
897
- Internals.d.L(href, encountered, {
898
- crossOrigin,
899
- integrity: "string" === typeof options.integrity ? options.integrity : void 0,
900
- nonce: "string" === typeof options.nonce ? options.nonce : void 0,
901
- type: "string" === typeof options.type ? options.type : void 0,
902
- fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
903
- referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
904
- imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
905
- imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
906
- media: "string" === typeof options.media ? options.media : void 0
907
- });
908
- }
909
- };
910
- exports.preloadModule = function(href, options) {
911
- var encountered = "";
912
- "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
913
- void 0 !== options && "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : options && "as" in options && "string" !== typeof options.as && (encountered += " The `as` option encountered was " + getValueDescriptorExpectingObjectForWarning(options.as) + ".");
914
- encountered && console.error("ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel=\"modulepreload\" as=\"...\" />` tag.%s", encountered);
915
- "string" === typeof href && (options ? (encountered = getCrossOriginStringAs(options.as, options.crossOrigin), Internals.d.m(href, {
916
- as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
917
- crossOrigin: encountered,
918
- integrity: "string" === typeof options.integrity ? options.integrity : void 0,
919
- nonce: "string" === typeof options.nonce ? options.nonce : void 0,
920
- fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0
921
- })) : Internals.d.m(href));
922
- };
923
- exports.requestFormReset = function(form) {
924
- Internals.d.r(form);
925
- };
926
- exports.unstable_batchedUpdates = function(fn, a) {
927
- return fn(a);
928
- };
929
- exports.useFormState = function(action, initialState, permalink) {
930
- return resolveDispatcher().useFormState(action, initialState, permalink);
931
- };
932
- exports.useFormStatus = function() {
933
- return resolveDispatcher().useHostTransitionStatus();
934
- };
935
- exports.version = "19.3.0";
936
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
937
- })();
938
- }));
939
- //#endregion
940
592
  //#region src/devtools/DevtoolsWindow.tsx
941
- var import_react_dom = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
942
- function checkDCE() {
943
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") return;
944
- if (process.env.NODE_ENV !== "production") throw new Error("^_^");
945
- try {
946
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
947
- } catch (err) {
948
- console.error(err);
949
- }
950
- }
951
- if (process.env.NODE_ENV === "production") {
952
- checkDCE();
953
- module.exports = require_react_dom_production();
954
- } else module.exports = require_react_dom_development();
955
- })))();
956
593
  /**
957
594
  * Devtools numa janela separada do navegador (popup), para usar com a página em tela cheia ou em
958
595
  * outro monitor. O painel continua sendo renderizado pela árvore React da página (mesmo contexto,
@@ -1066,7 +703,7 @@ function DevtoolsWindow({ popup, title, theme, onClosed, children }) {
1066
703
  ]);
1067
704
  const localTheme = useMemo(() => root && windowTheme(theme, root), [theme, root]);
1068
705
  if (!root || !localTheme) return null;
1069
- return (0, import_react_dom.createPortal)(/* @__PURE__ */ jsx(ThemeProvider, {
706
+ return createPortal(/* @__PURE__ */ jsx(ThemeProvider, {
1070
707
  theme: localTheme,
1071
708
  children
1072
709
  }), root);
@@ -7246,4 +6883,4 @@ function ToggleButton$1({ draft, loading, problems, inspecting, onOpen }) {
7246
6883
  //#endregion
7247
6884
  export { DashboardDevtools as default };
7248
6885
 
7249
- //# sourceMappingURL=DashboardDevtools-C8AXaFgw.js.map
6886
+ //# sourceMappingURL=DashboardDevtools-C4E9afPT.js.map