mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-18 07:01:34 +00:00
chore: recover bogota workspace state
This commit is contained in:
parent
5d65013aa5
commit
e08d1b4dca
436 changed files with 172093 additions and 455 deletions
|
|
@ -0,0 +1,60 @@
|
|||
import "./chunk-V4OQ3NZ2.js";
|
||||
|
||||
// ../../../node_modules/.pnpm/@react-grab+mcp@0.1.27_@types+react@18.3.27_react@19.2.4/node_modules/@react-grab/mcp/dist/client.js
|
||||
var DEFAULT_MCP_PORT = 4723;
|
||||
var sendContextToServer = async (contextUrl, content, prompt) => {
|
||||
await fetch(contextUrl, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ content, prompt })
|
||||
}).catch(() => {
|
||||
});
|
||||
};
|
||||
var createMcpPlugin = (options = {}) => {
|
||||
const port = options.port ?? DEFAULT_MCP_PORT;
|
||||
const contextUrl = `http://localhost:${port}/context`;
|
||||
return {
|
||||
name: "mcp",
|
||||
hooks: {
|
||||
onCopySuccess: (_elements, content) => {
|
||||
void sendContextToServer(contextUrl, [content]);
|
||||
},
|
||||
transformAgentContext: async (context) => {
|
||||
await sendContextToServer(contextUrl, context.content, context.prompt);
|
||||
return context;
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
var isReactGrabApi = (value) => typeof value === "object" && value !== null && "registerPlugin" in value;
|
||||
var attachMcpPlugin = () => {
|
||||
if (typeof window === "undefined") return;
|
||||
const plugin = createMcpPlugin();
|
||||
const attach = (api) => {
|
||||
api.registerPlugin(plugin);
|
||||
};
|
||||
const existingApi = window.__REACT_GRAB__;
|
||||
if (isReactGrabApi(existingApi)) {
|
||||
attach(existingApi);
|
||||
return;
|
||||
}
|
||||
window.addEventListener(
|
||||
"react-grab:init",
|
||||
(event) => {
|
||||
if (!(event instanceof CustomEvent)) return;
|
||||
if (!isReactGrabApi(event.detail)) return;
|
||||
attach(event.detail);
|
||||
},
|
||||
{ once: true }
|
||||
);
|
||||
const apiAfterListener = window.__REACT_GRAB__;
|
||||
if (isReactGrabApi(apiAfterListener)) {
|
||||
attach(apiAfterListener);
|
||||
}
|
||||
};
|
||||
attachMcpPlugin();
|
||||
export {
|
||||
attachMcpPlugin,
|
||||
createMcpPlugin
|
||||
};
|
||||
//# sourceMappingURL=@react-grab_mcp_client.js.map
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../node_modules/.pnpm/@react-grab+mcp@0.1.27_@types+react@18.3.27_react@19.2.4/node_modules/@react-grab/mcp/dist/client.js"],
|
||||
"sourcesContent": ["// src/constants.ts\nvar DEFAULT_MCP_PORT = 4723;\n\n// src/client.ts\nvar sendContextToServer = async (contextUrl, content, prompt) => {\n await fetch(contextUrl, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ content, prompt })\n }).catch(() => {\n });\n};\nvar createMcpPlugin = (options = {}) => {\n const port = options.port ?? DEFAULT_MCP_PORT;\n const contextUrl = `http://localhost:${port}/context`;\n return {\n name: \"mcp\",\n hooks: {\n onCopySuccess: (_elements, content) => {\n void sendContextToServer(contextUrl, [content]);\n },\n transformAgentContext: async (context) => {\n await sendContextToServer(contextUrl, context.content, context.prompt);\n return context;\n }\n }\n };\n};\nvar isReactGrabApi = (value) => typeof value === \"object\" && value !== null && \"registerPlugin\" in value;\nvar attachMcpPlugin = () => {\n if (typeof window === \"undefined\") return;\n const plugin = createMcpPlugin();\n const attach = (api) => {\n api.registerPlugin(plugin);\n };\n const existingApi = window.__REACT_GRAB__;\n if (isReactGrabApi(existingApi)) {\n attach(existingApi);\n return;\n }\n window.addEventListener(\n \"react-grab:init\",\n (event) => {\n if (!(event instanceof CustomEvent)) return;\n if (!isReactGrabApi(event.detail)) return;\n attach(event.detail);\n },\n { once: true }\n );\n const apiAfterListener = window.__REACT_GRAB__;\n if (isReactGrabApi(apiAfterListener)) {\n attach(apiAfterListener);\n }\n};\nattachMcpPlugin();\n\nexport { attachMcpPlugin, createMcpPlugin };\n"],
|
||||
"mappings": ";;;AACA,IAAI,mBAAmB;AAGvB,IAAI,sBAAsB,OAAO,YAAY,SAAS,WAAW;AAC/D,QAAM,MAAM,YAAY;AAAA,IACtB,QAAQ;AAAA,IACR,SAAS,EAAE,gBAAgB,mBAAmB;AAAA,IAC9C,MAAM,KAAK,UAAU,EAAE,SAAS,OAAO,CAAC;AAAA,EAC1C,CAAC,EAAE,MAAM,MAAM;AAAA,EACf,CAAC;AACH;AACA,IAAI,kBAAkB,CAAC,UAAU,CAAC,MAAM;AACtC,QAAM,OAAO,QAAQ,QAAQ;AAC7B,QAAM,aAAa,oBAAoB,IAAI;AAC3C,SAAO;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,MACL,eAAe,CAAC,WAAW,YAAY;AACrC,aAAK,oBAAoB,YAAY,CAAC,OAAO,CAAC;AAAA,MAChD;AAAA,MACA,uBAAuB,OAAO,YAAY;AACxC,cAAM,oBAAoB,YAAY,QAAQ,SAAS,QAAQ,MAAM;AACrE,eAAO;AAAA,MACT;AAAA,IACF;AAAA,EACF;AACF;AACA,IAAI,iBAAiB,CAAC,UAAU,OAAO,UAAU,YAAY,UAAU,QAAQ,oBAAoB;AACnG,IAAI,kBAAkB,MAAM;AAC1B,MAAI,OAAO,WAAW,YAAa;AACnC,QAAM,SAAS,gBAAgB;AAC/B,QAAM,SAAS,CAAC,QAAQ;AACtB,QAAI,eAAe,MAAM;AAAA,EAC3B;AACA,QAAM,cAAc,OAAO;AAC3B,MAAI,eAAe,WAAW,GAAG;AAC/B,WAAO,WAAW;AAClB;AAAA,EACF;AACA,SAAO;AAAA,IACL;AAAA,IACA,CAAC,UAAU;AACT,UAAI,EAAE,iBAAiB,aAAc;AACrC,UAAI,CAAC,eAAe,MAAM,MAAM,EAAG;AACnC,aAAO,MAAM,MAAM;AAAA,IACrB;AAAA,IACA,EAAE,MAAM,KAAK;AAAA,EACf;AACA,QAAM,mBAAmB,OAAO;AAChC,MAAI,eAAe,gBAAgB,GAAG;AACpC,WAAO,gBAAgB;AAAA,EACzB;AACF;AACA,gBAAgB;",
|
||||
"names": []
|
||||
}
|
||||
3668
factory/.context/vite-mock-cache/deps/@tanstack_react-query.js
Normal file
3668
factory/.context/vite-mock-cache/deps/@tanstack_react-query.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
9377
factory/.context/vite-mock-cache/deps/@tanstack_react-router.js
Normal file
9377
factory/.context/vite-mock-cache/deps/@tanstack_react-router.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
121
factory/.context/vite-mock-cache/deps/_metadata.json
Normal file
121
factory/.context/vite-mock-cache/deps/_metadata.json
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
{
|
||||
"hash": "56059e68",
|
||||
"configHash": "f6b53ca6",
|
||||
"lockfileHash": "0d4ce983",
|
||||
"browserHash": "7bf02ad5",
|
||||
"optimized": {
|
||||
"react": {
|
||||
"src": "../../../../node_modules/.pnpm/react@19.2.4/node_modules/react/index.js",
|
||||
"file": "react.js",
|
||||
"fileHash": "67e5af53",
|
||||
"needsInterop": true
|
||||
},
|
||||
"react-dom": {
|
||||
"src": "../../../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/index.js",
|
||||
"file": "react-dom.js",
|
||||
"fileHash": "1a716c8d",
|
||||
"needsInterop": true
|
||||
},
|
||||
"react/jsx-dev-runtime": {
|
||||
"src": "../../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-dev-runtime.js",
|
||||
"file": "react_jsx-dev-runtime.js",
|
||||
"fileHash": "97c42b58",
|
||||
"needsInterop": true
|
||||
},
|
||||
"react/jsx-runtime": {
|
||||
"src": "../../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js",
|
||||
"file": "react_jsx-runtime.js",
|
||||
"fileHash": "d05ff3ab",
|
||||
"needsInterop": true
|
||||
},
|
||||
"@react-grab/mcp/client": {
|
||||
"src": "../../../../node_modules/.pnpm/@react-grab+mcp@0.1.27_@types+react@18.3.27_react@19.2.4/node_modules/@react-grab/mcp/dist/client.js",
|
||||
"file": "@react-grab_mcp_client.js",
|
||||
"fileHash": "f2a91d0a",
|
||||
"needsInterop": false
|
||||
},
|
||||
"@tanstack/react-query": {
|
||||
"src": "../../../../node_modules/.pnpm/@tanstack+react-query@5.90.21_react@19.2.4/node_modules/@tanstack/react-query/build/modern/index.js",
|
||||
"file": "@tanstack_react-query.js",
|
||||
"fileHash": "78875c4b",
|
||||
"needsInterop": false
|
||||
},
|
||||
"@tanstack/react-router": {
|
||||
"src": "../../../../node_modules/.pnpm/@tanstack+react-router@1.166.4_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-router/dist/esm/index.dev.js",
|
||||
"file": "@tanstack_react-router.js",
|
||||
"fileHash": "4a335a81",
|
||||
"needsInterop": false
|
||||
},
|
||||
"baseui": {
|
||||
"src": "../../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/index.js",
|
||||
"file": "baseui.js",
|
||||
"fileHash": "337c4db4",
|
||||
"needsInterop": true
|
||||
},
|
||||
"baseui/popover": {
|
||||
"src": "../../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/popover/index.js",
|
||||
"file": "baseui_popover.js",
|
||||
"fileHash": "b7525c9e",
|
||||
"needsInterop": true
|
||||
},
|
||||
"baseui/typography": {
|
||||
"src": "../../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/typography/index.js",
|
||||
"file": "baseui_typography.js",
|
||||
"fileHash": "b01a471a",
|
||||
"needsInterop": true
|
||||
},
|
||||
"lucide-react": {
|
||||
"src": "../../../../node_modules/.pnpm/lucide-react@0.542.0_react@19.2.4/node_modules/lucide-react/dist/esm/lucide-react.js",
|
||||
"file": "lucide-react.js",
|
||||
"fileHash": "5df7ee97",
|
||||
"needsInterop": false
|
||||
},
|
||||
"react-dom/client": {
|
||||
"src": "../../../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/client.js",
|
||||
"file": "react-dom_client.js",
|
||||
"fileHash": "1ecd5826",
|
||||
"needsInterop": true
|
||||
},
|
||||
"react-grab": {
|
||||
"src": "../../../../node_modules/.pnpm/react-grab@0.1.27_@types+react@18.3.27_react@19.2.4/node_modules/react-grab/dist/index.js",
|
||||
"file": "react-grab.js",
|
||||
"fileHash": "2ac1e29a",
|
||||
"needsInterop": false
|
||||
},
|
||||
"styletron-engine-atomic": {
|
||||
"src": "../../../../node_modules/.pnpm/styletron-engine-atomic@1.6.2/node_modules/styletron-engine-atomic/dist-browser-esm/index.js",
|
||||
"file": "styletron-engine-atomic.js",
|
||||
"fileHash": "86e45682",
|
||||
"needsInterop": false
|
||||
},
|
||||
"styletron-react": {
|
||||
"src": "../../../../node_modules/.pnpm/styletron-react@6.1.1_react@19.2.4/node_modules/styletron-react/dist-browser-esm/index.js",
|
||||
"file": "styletron-react.js",
|
||||
"fileHash": "666e936d",
|
||||
"needsInterop": false
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
"chunk-L53IR3KW": {
|
||||
"file": "chunk-L53IR3KW.js"
|
||||
},
|
||||
"chunk-W6BYZAPA": {
|
||||
"file": "chunk-W6BYZAPA.js"
|
||||
},
|
||||
"chunk-B7I2HBKX": {
|
||||
"file": "chunk-B7I2HBKX.js"
|
||||
},
|
||||
"chunk-TFDFHE5Q": {
|
||||
"file": "chunk-TFDFHE5Q.js"
|
||||
},
|
||||
"chunk-JD3UC7WK": {
|
||||
"file": "chunk-JD3UC7WK.js"
|
||||
},
|
||||
"chunk-776SV3ZX": {
|
||||
"file": "chunk-776SV3ZX.js"
|
||||
},
|
||||
"chunk-V4OQ3NZ2": {
|
||||
"file": "chunk-V4OQ3NZ2.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
643
factory/.context/vite-mock-cache/deps/baseui.js
Normal file
643
factory/.context/vite-mock-cache/deps/baseui.js
Normal file
|
|
@ -0,0 +1,643 @@
|
|||
import {
|
||||
es2015_exports,
|
||||
init_es2015,
|
||||
require_layer
|
||||
} from "./chunk-W6BYZAPA.js";
|
||||
import {
|
||||
require_overrides,
|
||||
require_styles,
|
||||
require_themes
|
||||
} from "./chunk-B7I2HBKX.js";
|
||||
import "./chunk-TFDFHE5Q.js";
|
||||
import "./chunk-JD3UC7WK.js";
|
||||
import {
|
||||
require_react
|
||||
} from "./chunk-776SV3ZX.js";
|
||||
import {
|
||||
__commonJS,
|
||||
__toCommonJS
|
||||
} from "./chunk-V4OQ3NZ2.js";
|
||||
|
||||
// ../../../node_modules/.pnpm/just-extend@4.1.1/node_modules/just-extend/index.js
|
||||
var require_just_extend = __commonJS({
|
||||
"../../../node_modules/.pnpm/just-extend@4.1.1/node_modules/just-extend/index.js"(exports, module) {
|
||||
module.exports = extend;
|
||||
function extend() {
|
||||
var args = [].slice.call(arguments);
|
||||
var deep = false;
|
||||
if (typeof args[0] == "boolean") {
|
||||
deep = args.shift();
|
||||
}
|
||||
var result = args[0];
|
||||
if (isUnextendable(result)) {
|
||||
throw new Error("extendee must be an object");
|
||||
}
|
||||
var extenders = args.slice(1);
|
||||
var len = extenders.length;
|
||||
for (var i = 0; i < len; i++) {
|
||||
var extender = extenders[i];
|
||||
for (var key in extender) {
|
||||
if (Object.prototype.hasOwnProperty.call(extender, key)) {
|
||||
var value = extender[key];
|
||||
if (deep && isCloneable(value)) {
|
||||
var base = Array.isArray(value) ? [] : {};
|
||||
result[key] = extend(
|
||||
true,
|
||||
Object.prototype.hasOwnProperty.call(result, key) && !isUnextendable(result[key]) ? result[key] : base,
|
||||
value
|
||||
);
|
||||
} else {
|
||||
result[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function isCloneable(obj) {
|
||||
return Array.isArray(obj) || {}.toString.call(obj) == "[object Object]";
|
||||
}
|
||||
function isUnextendable(val) {
|
||||
return !val || typeof val != "object" && typeof val != "function";
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/accordion/locale.js
|
||||
var require_locale = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/accordion/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
collapse: "Collapse",
|
||||
expand: "Expand"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/breadcrumbs/locale.js
|
||||
var require_locale2 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/breadcrumbs/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
ariaLabel: "Breadcrumbs navigation"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/datepicker/locale.js
|
||||
var require_locale3 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/datepicker/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
ariaLabel: "Select a date.",
|
||||
ariaLabelRange: "Select a date range.",
|
||||
ariaLabelCalendar: "Calendar.",
|
||||
ariaRoleDescriptionCalendarMonth: "Calendar month",
|
||||
previousMonth: "Previous month.",
|
||||
nextMonth: "Next month.",
|
||||
pastWeek: "Past Week",
|
||||
pastMonth: "Past Month",
|
||||
pastThreeMonths: "Past 3 Months",
|
||||
pastSixMonths: "Past 6 Months",
|
||||
pastYear: "Past Year",
|
||||
pastTwoYears: "Past 2 Years",
|
||||
screenReaderMessageInput: "Date format is ${formatString}. Press the down arrow or enter key to interact with the calendar and select a date. Press the escape button to close the calendar.",
|
||||
selectedDate: "Selected date is ${date}.",
|
||||
selectedDateRange: "Selected date range is from ${startDate} to ${endDate}.",
|
||||
selectSecondDatePrompt: "Select the second date.",
|
||||
quickSelectLabel: "Choose a date range",
|
||||
quickSelectAriaLabel: "Choose a date range",
|
||||
quickSelectPlaceholder: "None",
|
||||
timeSelectEndLabel: "End time",
|
||||
timeSelectStartLabel: "Start time",
|
||||
timePickerAriaLabel12Hour: "Select a time, 12-hour format.",
|
||||
timePickerAriaLabel24Hour: "Select a time, 24-hour format.",
|
||||
timezonePickerAriaLabel: "Select a timezone.",
|
||||
selectedStartDateLabel: "Selected start date.",
|
||||
selectedEndDateLabel: "Selected end date.",
|
||||
dateNotAvailableLabel: "Not available.",
|
||||
dateAvailableLabel: "It's available.",
|
||||
selectedLabel: "Selected.",
|
||||
chooseLabel: "Choose"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/data-table/locale.js
|
||||
var require_locale4 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/data-table/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
emptyState: "No rows match the filter criteria defined. Please remove one or more filters to view more data.",
|
||||
loadingState: "Loading rows.",
|
||||
searchAriaLabel: "Search by text",
|
||||
filterAdd: "Add Filter",
|
||||
filterExclude: "Exclude",
|
||||
filterApply: "Apply",
|
||||
filterExcludeRange: "Exclude range",
|
||||
filterExcludeValue: "Exclude value",
|
||||
filterAppliedTo: "filter applied to",
|
||||
optionsLabel: "Select column to filter by",
|
||||
optionsSearch: "Search for a column to filter by...",
|
||||
optionsEmpty: "No columns available.",
|
||||
categoricalFilterSearchLabel: "Search categories",
|
||||
categoricalFilterSelectAll: "Select All",
|
||||
categoricalFilterSelectClear: "Clear",
|
||||
categoricalFilterEmpty: "No categories found",
|
||||
datetimeFilterRange: "Range",
|
||||
datetimeFilterRangeDatetime: "Date, Time",
|
||||
datetimeFilterRangeDate: "Date",
|
||||
datetimeFilterRangeTime: "Time",
|
||||
datetimeFilterCategorical: "Categorical",
|
||||
datetimeFilterCategoricalWeekday: "Weekday",
|
||||
datetimeFilterCategoricalMonth: "Month",
|
||||
datetimeFilterCategoricalQuarter: "Quarter",
|
||||
datetimeFilterCategoricalHalf: "Half",
|
||||
datetimeFilterCategoricalFirstHalf: "H1",
|
||||
datetimeFilterCategoricalSecondHalf: "H2",
|
||||
datetimeFilterCategoricalYear: "Year",
|
||||
numericalFilterRange: "Range",
|
||||
numericalFilterSingleValue: "Single Value",
|
||||
booleanFilterTrue: "true",
|
||||
booleanFilterFalse: "false",
|
||||
booleanColumnTrueShort: "T",
|
||||
booleanColumnFalseShort: "F",
|
||||
selectRow: "Select row",
|
||||
selectAllRows: "Select all rows",
|
||||
sortColumn: "Sort column",
|
||||
textQueryPlaceholder: "Search..."
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/button-group/locale.js
|
||||
var require_locale5 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/button-group/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
ariaLabel: "button group"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/file-uploader/locale.js
|
||||
var require_locale6 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/file-uploader/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
added: "Uploading",
|
||||
buttonText: "Browse files",
|
||||
contentMessage: "or drop to upload",
|
||||
error: "Upload failed: ",
|
||||
processed: "Upload successful"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/file-uploader-basic/locale.js
|
||||
var require_locale7 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/file-uploader-basic/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
dropFilesToUpload: "Drop files here to upload...",
|
||||
or: "",
|
||||
browseFiles: "Browse files",
|
||||
retry: "Retry Upload",
|
||||
cancel: "Cancel"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/menu/locale.js
|
||||
var require_locale8 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/menu/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
noResultsMsg: "No results",
|
||||
parentMenuItemAriaLabel: `You are currently at an item that opens a nested listbox. Press right arrow to enter that element and left arrow to return.`
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/modal/locale.js
|
||||
var require_locale9 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/modal/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
close: "Close"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/drawer/locale.js
|
||||
var require_locale10 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/drawer/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
close: "Close"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/pagination/locale.js
|
||||
var require_locale11 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/pagination/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
prev: "Prev",
|
||||
next: "Next",
|
||||
preposition: "of"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/select/locale.js
|
||||
var require_locale12 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/select/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
// Remove noResultsMsg prop in the next major version
|
||||
noResultsMsg: "No results found",
|
||||
placeholder: "Select...",
|
||||
create: "Create"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/toast/locale.js
|
||||
var require_locale13 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/toast/locale.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var locale = {
|
||||
close: "Close"
|
||||
};
|
||||
var _default = exports.default = locale;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/locale/en_US.js
|
||||
var require_en_US = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/locale/en_US.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _locale = _interopRequireDefault(require_locale());
|
||||
var _locale2 = _interopRequireDefault(require_locale2());
|
||||
var _locale3 = _interopRequireDefault(require_locale3());
|
||||
var _locale4 = _interopRequireDefault(require_locale4());
|
||||
var _locale5 = _interopRequireDefault(require_locale5());
|
||||
var _locale6 = _interopRequireDefault(require_locale6());
|
||||
var _locale7 = _interopRequireDefault(require_locale7());
|
||||
var _locale8 = _interopRequireDefault(require_locale8());
|
||||
var _locale9 = _interopRequireDefault(require_locale9());
|
||||
var _locale10 = _interopRequireDefault(require_locale10());
|
||||
var _locale11 = _interopRequireDefault(require_locale11());
|
||||
var _locale12 = _interopRequireDefault(require_locale12());
|
||||
var _locale13 = _interopRequireDefault(require_locale13());
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : { default: obj };
|
||||
}
|
||||
var en_US = {
|
||||
accordion: _locale.default,
|
||||
breadcrumbs: _locale2.default,
|
||||
datepicker: _locale3.default,
|
||||
datatable: _locale4.default,
|
||||
buttongroup: _locale5.default,
|
||||
fileuploader: _locale6.default,
|
||||
fileuploaderbasic: _locale7.default,
|
||||
menu: _locale8.default,
|
||||
modal: _locale9.default,
|
||||
drawer: _locale10.default,
|
||||
pagination: _locale11.default,
|
||||
select: _locale12.default,
|
||||
toast: _locale13.default
|
||||
};
|
||||
var _default = exports.default = en_US;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/locale/index.js
|
||||
var require_locale14 = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/locale/index.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = exports.LocaleContext = void 0;
|
||||
var React = _interopRequireWildcard(require_react());
|
||||
var _justExtend = _interopRequireDefault(require_just_extend());
|
||||
var _en_US = _interopRequireDefault(require_en_US());
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : { default: obj };
|
||||
}
|
||||
function _getRequireWildcardCache(e) {
|
||||
if ("function" != typeof WeakMap) return null;
|
||||
var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap();
|
||||
return (_getRequireWildcardCache = function(e2) {
|
||||
return e2 ? t : r;
|
||||
})(e);
|
||||
}
|
||||
function _interopRequireWildcard(e, r) {
|
||||
if (!r && e && e.__esModule) return e;
|
||||
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
||||
var t = _getRequireWildcardCache(r);
|
||||
if (t && t.has(e)) return t.get(e);
|
||||
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
||||
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
||||
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
||||
}
|
||||
return n.default = e, t && t.set(e, n), n;
|
||||
}
|
||||
var LocaleContext = exports.LocaleContext = React.createContext(_en_US.default);
|
||||
var LocaleProvider = (props) => {
|
||||
const {
|
||||
locale,
|
||||
children
|
||||
} = props;
|
||||
const parentLocale = React.useContext(LocaleContext) ?? {};
|
||||
return (
|
||||
// this is poorly documented but specifying true enforces that the object is deeply extended
|
||||
// https://www.npmjs.com/package/just-extend
|
||||
React.createElement(LocaleContext.Provider, {
|
||||
value: (0, _justExtend.default)(true, {}, _en_US.default, parentLocale, locale)
|
||||
}, children)
|
||||
);
|
||||
};
|
||||
var _default = exports.default = LocaleProvider;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/helpers/base-provider.js
|
||||
var require_base_provider = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/helpers/base-provider.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var React = _interopRequireWildcard(require_react());
|
||||
var _reactUid = (init_es2015(), __toCommonJS(es2015_exports));
|
||||
var _layer = require_layer();
|
||||
var _styles = require_styles();
|
||||
function _getRequireWildcardCache(e) {
|
||||
if ("function" != typeof WeakMap) return null;
|
||||
var r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap();
|
||||
return (_getRequireWildcardCache = function(e2) {
|
||||
return e2 ? t : r;
|
||||
})(e);
|
||||
}
|
||||
function _interopRequireWildcard(e, r) {
|
||||
if (!r && e && e.__esModule) return e;
|
||||
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
||||
var t = _getRequireWildcardCache(r);
|
||||
if (t && t.has(e)) return t.get(e);
|
||||
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
||||
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
||||
var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
||||
i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
|
||||
}
|
||||
return n.default = e, t && t.set(e, n), n;
|
||||
}
|
||||
var BaseProvider = (props) => {
|
||||
const {
|
||||
children,
|
||||
overrides,
|
||||
theme,
|
||||
zIndex
|
||||
} = props;
|
||||
return React.createElement(_layer.LayersManager, {
|
||||
zIndex,
|
||||
overrides
|
||||
}, React.createElement(_reactUid.UIDReset, {
|
||||
prefix: "bui"
|
||||
}, React.createElement(_styles.ThemeProvider, {
|
||||
theme
|
||||
}, children)));
|
||||
};
|
||||
var _default = exports.default = BaseProvider;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/index.js
|
||||
var require_baseui = __commonJS({
|
||||
"../../../node_modules/.pnpm/baseui@16.1.1_@types+react@18.3.27_react-dom@19.2.4_react@19.2.4__react@19.2.4_styletron-react@6.1.1_react@19.2.4_/node_modules/baseui/index.js"(exports) {
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "BaseProvider", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _baseProvider.default;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "DarkTheme", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _themes.DarkTheme;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "DarkThemeMove", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _themes.DarkThemeMove;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "LightTheme", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _themes.LightTheme;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "LightThemeMove", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _themes.LightThemeMove;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "LocaleProvider", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _locale.default;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "ThemeConsumer", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _styles.ThemeConsumer;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "ThemeProvider", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _styles.ThemeProvider;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "createDarkTheme", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _themes.createDarkTheme;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "createLightTheme", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _themes.createLightTheme;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "createTheme", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _themes.createTheme;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "createThemedStyled", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _styles.createThemedStyled;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "createThemedUseStyletron", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _styles.createThemedUseStyletron;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "createThemedWithStyle", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _styles.createThemedWithStyle;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "darkThemeOverrides", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _themes.darkThemeOverrides;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "darkThemePrimitives", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _themes.darkThemePrimitives;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "getOverrides", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _overrides.getOverrides;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "lightThemePrimitives", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _themes.lightThemePrimitives;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "mergeOverrides", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _overrides.mergeOverrides;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "styled", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _styles.styled;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "useStyletron", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _styles.useStyletron;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "withStyle", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _styles.withStyle;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "withWrapper", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return _styles.withWrapper;
|
||||
}
|
||||
});
|
||||
var _styles = require_styles();
|
||||
var _themes = require_themes();
|
||||
var _locale = _interopRequireDefault(require_locale14());
|
||||
var _baseProvider = _interopRequireDefault(require_base_provider());
|
||||
var _overrides = require_overrides();
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : { default: obj };
|
||||
}
|
||||
}
|
||||
});
|
||||
export default require_baseui();
|
||||
//# sourceMappingURL=baseui.js.map
|
||||
7
factory/.context/vite-mock-cache/deps/baseui.js.map
Normal file
7
factory/.context/vite-mock-cache/deps/baseui.js.map
Normal file
File diff suppressed because one or more lines are too long
4334
factory/.context/vite-mock-cache/deps/baseui_popover.js
Normal file
4334
factory/.context/vite-mock-cache/deps/baseui_popover.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
1021
factory/.context/vite-mock-cache/deps/baseui_typography.js
Normal file
1021
factory/.context/vite-mock-cache/deps/baseui_typography.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
991
factory/.context/vite-mock-cache/deps/chunk-776SV3ZX.js
Normal file
991
factory/.context/vite-mock-cache/deps/chunk-776SV3ZX.js
Normal file
|
|
@ -0,0 +1,991 @@
|
|||
import {
|
||||
__commonJS
|
||||
} from "./chunk-V4OQ3NZ2.js";
|
||||
|
||||
// ../../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.development.js
|
||||
var require_react_development = __commonJS({
|
||||
"../../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.development.js"(exports, module) {
|
||||
"use strict";
|
||||
(function() {
|
||||
function defineDeprecationWarning(methodName, info) {
|
||||
Object.defineProperty(Component.prototype, methodName, {
|
||||
get: function() {
|
||||
console.warn(
|
||||
"%s(...) is deprecated in plain JavaScript React classes. %s",
|
||||
info[0],
|
||||
info[1]
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
function getIteratorFn(maybeIterable) {
|
||||
if (null === maybeIterable || "object" !== typeof maybeIterable)
|
||||
return null;
|
||||
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
||||
return "function" === typeof maybeIterable ? maybeIterable : null;
|
||||
}
|
||||
function warnNoop(publicInstance, callerName) {
|
||||
publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
|
||||
var warningKey = publicInstance + "." + callerName;
|
||||
didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
|
||||
"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
|
||||
callerName,
|
||||
publicInstance
|
||||
), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
|
||||
}
|
||||
function Component(props, context, updater) {
|
||||
this.props = props;
|
||||
this.context = context;
|
||||
this.refs = emptyObject;
|
||||
this.updater = updater || ReactNoopUpdateQueue;
|
||||
}
|
||||
function ComponentDummy() {
|
||||
}
|
||||
function PureComponent(props, context, updater) {
|
||||
this.props = props;
|
||||
this.context = context;
|
||||
this.refs = emptyObject;
|
||||
this.updater = updater || ReactNoopUpdateQueue;
|
||||
}
|
||||
function noop() {
|
||||
}
|
||||
function testStringCoercion(value) {
|
||||
return "" + value;
|
||||
}
|
||||
function checkKeyStringCoercion(value) {
|
||||
try {
|
||||
testStringCoercion(value);
|
||||
var JSCompiler_inline_result = false;
|
||||
} catch (e) {
|
||||
JSCompiler_inline_result = true;
|
||||
}
|
||||
if (JSCompiler_inline_result) {
|
||||
JSCompiler_inline_result = console;
|
||||
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
||||
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
||||
JSCompiler_temp_const.call(
|
||||
JSCompiler_inline_result,
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
JSCompiler_inline_result$jscomp$0
|
||||
);
|
||||
return testStringCoercion(value);
|
||||
}
|
||||
}
|
||||
function getComponentNameFromType(type) {
|
||||
if (null == type) return null;
|
||||
if ("function" === typeof type)
|
||||
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
||||
if ("string" === typeof type) return type;
|
||||
switch (type) {
|
||||
case REACT_FRAGMENT_TYPE:
|
||||
return "Fragment";
|
||||
case REACT_PROFILER_TYPE:
|
||||
return "Profiler";
|
||||
case REACT_STRICT_MODE_TYPE:
|
||||
return "StrictMode";
|
||||
case REACT_SUSPENSE_TYPE:
|
||||
return "Suspense";
|
||||
case REACT_SUSPENSE_LIST_TYPE:
|
||||
return "SuspenseList";
|
||||
case REACT_ACTIVITY_TYPE:
|
||||
return "Activity";
|
||||
}
|
||||
if ("object" === typeof type)
|
||||
switch ("number" === typeof type.tag && console.error(
|
||||
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
||||
), type.$$typeof) {
|
||||
case REACT_PORTAL_TYPE:
|
||||
return "Portal";
|
||||
case REACT_CONTEXT_TYPE:
|
||||
return type.displayName || "Context";
|
||||
case REACT_CONSUMER_TYPE:
|
||||
return (type._context.displayName || "Context") + ".Consumer";
|
||||
case REACT_FORWARD_REF_TYPE:
|
||||
var innerType = type.render;
|
||||
type = type.displayName;
|
||||
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
||||
return type;
|
||||
case REACT_MEMO_TYPE:
|
||||
return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
||||
case REACT_LAZY_TYPE:
|
||||
innerType = type._payload;
|
||||
type = type._init;
|
||||
try {
|
||||
return getComponentNameFromType(type(innerType));
|
||||
} catch (x) {
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function getTaskName(type) {
|
||||
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
||||
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
|
||||
return "<...>";
|
||||
try {
|
||||
var name = getComponentNameFromType(type);
|
||||
return name ? "<" + name + ">" : "<...>";
|
||||
} catch (x) {
|
||||
return "<...>";
|
||||
}
|
||||
}
|
||||
function getOwner() {
|
||||
var dispatcher = ReactSharedInternals.A;
|
||||
return null === dispatcher ? null : dispatcher.getOwner();
|
||||
}
|
||||
function UnknownOwner() {
|
||||
return Error("react-stack-top-frame");
|
||||
}
|
||||
function hasValidKey(config) {
|
||||
if (hasOwnProperty.call(config, "key")) {
|
||||
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
||||
if (getter && getter.isReactWarning) return false;
|
||||
}
|
||||
return void 0 !== config.key;
|
||||
}
|
||||
function defineKeyPropWarningGetter(props, displayName) {
|
||||
function warnAboutAccessingKey() {
|
||||
specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
|
||||
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
||||
displayName
|
||||
));
|
||||
}
|
||||
warnAboutAccessingKey.isReactWarning = true;
|
||||
Object.defineProperty(props, "key", {
|
||||
get: warnAboutAccessingKey,
|
||||
configurable: true
|
||||
});
|
||||
}
|
||||
function elementRefGetterWithDeprecationWarning() {
|
||||
var componentName = getComponentNameFromType(this.type);
|
||||
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
|
||||
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
||||
));
|
||||
componentName = this.props.ref;
|
||||
return void 0 !== componentName ? componentName : null;
|
||||
}
|
||||
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
||||
var refProp = props.ref;
|
||||
type = {
|
||||
$$typeof: REACT_ELEMENT_TYPE,
|
||||
type,
|
||||
key,
|
||||
props,
|
||||
_owner: owner
|
||||
};
|
||||
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
||||
enumerable: false,
|
||||
get: elementRefGetterWithDeprecationWarning
|
||||
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
||||
type._store = {};
|
||||
Object.defineProperty(type._store, "validated", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: 0
|
||||
});
|
||||
Object.defineProperty(type, "_debugInfo", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: null
|
||||
});
|
||||
Object.defineProperty(type, "_debugStack", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: debugStack
|
||||
});
|
||||
Object.defineProperty(type, "_debugTask", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: debugTask
|
||||
});
|
||||
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
||||
return type;
|
||||
}
|
||||
function cloneAndReplaceKey(oldElement, newKey) {
|
||||
newKey = ReactElement(
|
||||
oldElement.type,
|
||||
newKey,
|
||||
oldElement.props,
|
||||
oldElement._owner,
|
||||
oldElement._debugStack,
|
||||
oldElement._debugTask
|
||||
);
|
||||
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
||||
return newKey;
|
||||
}
|
||||
function validateChildKeys(node) {
|
||||
isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
||||
}
|
||||
function isValidElement(object) {
|
||||
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
||||
}
|
||||
function escape(key) {
|
||||
var escaperLookup = { "=": "=0", ":": "=2" };
|
||||
return "$" + key.replace(/[=:]/g, function(match) {
|
||||
return escaperLookup[match];
|
||||
});
|
||||
}
|
||||
function getElementKey(element, index) {
|
||||
return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
|
||||
}
|
||||
function resolveThenable(thenable) {
|
||||
switch (thenable.status) {
|
||||
case "fulfilled":
|
||||
return thenable.value;
|
||||
case "rejected":
|
||||
throw thenable.reason;
|
||||
default:
|
||||
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
||||
function(fulfilledValue) {
|
||||
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
||||
},
|
||||
function(error) {
|
||||
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
||||
}
|
||||
)), thenable.status) {
|
||||
case "fulfilled":
|
||||
return thenable.value;
|
||||
case "rejected":
|
||||
throw thenable.reason;
|
||||
}
|
||||
}
|
||||
throw thenable;
|
||||
}
|
||||
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
||||
var type = typeof children;
|
||||
if ("undefined" === type || "boolean" === type) children = null;
|
||||
var invokeCallback = false;
|
||||
if (null === children) invokeCallback = true;
|
||||
else
|
||||
switch (type) {
|
||||
case "bigint":
|
||||
case "string":
|
||||
case "number":
|
||||
invokeCallback = true;
|
||||
break;
|
||||
case "object":
|
||||
switch (children.$$typeof) {
|
||||
case REACT_ELEMENT_TYPE:
|
||||
case REACT_PORTAL_TYPE:
|
||||
invokeCallback = true;
|
||||
break;
|
||||
case REACT_LAZY_TYPE:
|
||||
return invokeCallback = children._init, mapIntoArray(
|
||||
invokeCallback(children._payload),
|
||||
array,
|
||||
escapedPrefix,
|
||||
nameSoFar,
|
||||
callback
|
||||
);
|
||||
}
|
||||
}
|
||||
if (invokeCallback) {
|
||||
invokeCallback = children;
|
||||
callback = callback(invokeCallback);
|
||||
var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
|
||||
isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
|
||||
return c;
|
||||
})) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
|
||||
callback,
|
||||
escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
|
||||
userProvidedKeyEscapeRegex,
|
||||
"$&/"
|
||||
) + "/") + childKey
|
||||
), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
|
||||
return 1;
|
||||
}
|
||||
invokeCallback = 0;
|
||||
childKey = "" === nameSoFar ? "." : nameSoFar + ":";
|
||||
if (isArrayImpl(children))
|
||||
for (var i = 0; i < children.length; i++)
|
||||
nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
|
||||
nameSoFar,
|
||||
array,
|
||||
escapedPrefix,
|
||||
type,
|
||||
callback
|
||||
);
|
||||
else if (i = getIteratorFn(children), "function" === typeof i)
|
||||
for (i === children.entries && (didWarnAboutMaps || console.warn(
|
||||
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."
|
||||
), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
|
||||
nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
|
||||
nameSoFar,
|
||||
array,
|
||||
escapedPrefix,
|
||||
type,
|
||||
callback
|
||||
);
|
||||
else if ("object" === type) {
|
||||
if ("function" === typeof children.then)
|
||||
return mapIntoArray(
|
||||
resolveThenable(children),
|
||||
array,
|
||||
escapedPrefix,
|
||||
nameSoFar,
|
||||
callback
|
||||
);
|
||||
array = String(children);
|
||||
throw Error(
|
||||
"Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
|
||||
);
|
||||
}
|
||||
return invokeCallback;
|
||||
}
|
||||
function mapChildren(children, func, context) {
|
||||
if (null == children) return children;
|
||||
var result = [], count = 0;
|
||||
mapIntoArray(children, result, "", "", function(child) {
|
||||
return func.call(context, child, count++);
|
||||
});
|
||||
return result;
|
||||
}
|
||||
function lazyInitializer(payload) {
|
||||
if (-1 === payload._status) {
|
||||
var ioInfo = payload._ioInfo;
|
||||
null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
|
||||
ioInfo = payload._result;
|
||||
var thenable = ioInfo();
|
||||
thenable.then(
|
||||
function(moduleObject) {
|
||||
if (0 === payload._status || -1 === payload._status) {
|
||||
payload._status = 1;
|
||||
payload._result = moduleObject;
|
||||
var _ioInfo = payload._ioInfo;
|
||||
null != _ioInfo && (_ioInfo.end = performance.now());
|
||||
void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
|
||||
}
|
||||
},
|
||||
function(error) {
|
||||
if (0 === payload._status || -1 === payload._status) {
|
||||
payload._status = 2;
|
||||
payload._result = error;
|
||||
var _ioInfo2 = payload._ioInfo;
|
||||
null != _ioInfo2 && (_ioInfo2.end = performance.now());
|
||||
void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
||||
}
|
||||
}
|
||||
);
|
||||
ioInfo = payload._ioInfo;
|
||||
if (null != ioInfo) {
|
||||
ioInfo.value = thenable;
|
||||
var displayName = thenable.displayName;
|
||||
"string" === typeof displayName && (ioInfo.name = displayName);
|
||||
}
|
||||
-1 === payload._status && (payload._status = 0, payload._result = thenable);
|
||||
}
|
||||
if (1 === payload._status)
|
||||
return ioInfo = payload._result, void 0 === ioInfo && console.error(
|
||||
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
|
||||
ioInfo
|
||||
), "default" in ioInfo || console.error(
|
||||
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
|
||||
ioInfo
|
||||
), ioInfo.default;
|
||||
throw payload._result;
|
||||
}
|
||||
function resolveDispatcher() {
|
||||
var dispatcher = ReactSharedInternals.H;
|
||||
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."
|
||||
);
|
||||
return dispatcher;
|
||||
}
|
||||
function releaseAsyncTransition() {
|
||||
ReactSharedInternals.asyncTransitions--;
|
||||
}
|
||||
function enqueueTask(task) {
|
||||
if (null === enqueueTaskImpl)
|
||||
try {
|
||||
var requireString = ("require" + Math.random()).slice(0, 7);
|
||||
enqueueTaskImpl = (module && module[requireString]).call(
|
||||
module,
|
||||
"timers"
|
||||
).setImmediate;
|
||||
} catch (_err) {
|
||||
enqueueTaskImpl = function(callback) {
|
||||
false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
|
||||
"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
|
||||
));
|
||||
var channel = new MessageChannel();
|
||||
channel.port1.onmessage = callback;
|
||||
channel.port2.postMessage(void 0);
|
||||
};
|
||||
}
|
||||
return enqueueTaskImpl(task);
|
||||
}
|
||||
function aggregateErrors(errors) {
|
||||
return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
|
||||
}
|
||||
function popActScope(prevActQueue, prevActScopeDepth) {
|
||||
prevActScopeDepth !== actScopeDepth - 1 && console.error(
|
||||
"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
|
||||
);
|
||||
actScopeDepth = prevActScopeDepth;
|
||||
}
|
||||
function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
|
||||
var queue = ReactSharedInternals.actQueue;
|
||||
if (null !== queue)
|
||||
if (0 !== queue.length)
|
||||
try {
|
||||
flushActQueue(queue);
|
||||
enqueueTask(function() {
|
||||
return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
||||
});
|
||||
return;
|
||||
} catch (error) {
|
||||
ReactSharedInternals.thrownErrors.push(error);
|
||||
}
|
||||
else ReactSharedInternals.actQueue = null;
|
||||
0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
|
||||
}
|
||||
function flushActQueue(queue) {
|
||||
if (!isFlushing) {
|
||||
isFlushing = true;
|
||||
var i = 0;
|
||||
try {
|
||||
for (; i < queue.length; i++) {
|
||||
var callback = queue[i];
|
||||
do {
|
||||
ReactSharedInternals.didUsePromise = false;
|
||||
var continuation = callback(false);
|
||||
if (null !== continuation) {
|
||||
if (ReactSharedInternals.didUsePromise) {
|
||||
queue[i] = callback;
|
||||
queue.splice(0, i);
|
||||
return;
|
||||
}
|
||||
callback = continuation;
|
||||
} else break;
|
||||
} while (1);
|
||||
}
|
||||
queue.length = 0;
|
||||
} catch (error) {
|
||||
queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
|
||||
} finally {
|
||||
isFlushing = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
||||
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
||||
isMounted: function() {
|
||||
return false;
|
||||
},
|
||||
enqueueForceUpdate: function(publicInstance) {
|
||||
warnNoop(publicInstance, "forceUpdate");
|
||||
},
|
||||
enqueueReplaceState: function(publicInstance) {
|
||||
warnNoop(publicInstance, "replaceState");
|
||||
},
|
||||
enqueueSetState: function(publicInstance) {
|
||||
warnNoop(publicInstance, "setState");
|
||||
}
|
||||
}, assign = Object.assign, emptyObject = {};
|
||||
Object.freeze(emptyObject);
|
||||
Component.prototype.isReactComponent = {};
|
||||
Component.prototype.setState = function(partialState, callback) {
|
||||
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
|
||||
throw Error(
|
||||
"takes an object of state variables to update or a function which returns an object of state variables."
|
||||
);
|
||||
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
||||
};
|
||||
Component.prototype.forceUpdate = function(callback) {
|
||||
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
||||
};
|
||||
var deprecatedAPIs = {
|
||||
isMounted: [
|
||||
"isMounted",
|
||||
"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
|
||||
],
|
||||
replaceState: [
|
||||
"replaceState",
|
||||
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
||||
]
|
||||
};
|
||||
for (fnName in deprecatedAPIs)
|
||||
deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
||||
ComponentDummy.prototype = Component.prototype;
|
||||
deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
|
||||
deprecatedAPIs.constructor = PureComponent;
|
||||
assign(deprecatedAPIs, Component.prototype);
|
||||
deprecatedAPIs.isPureReactComponent = true;
|
||||
var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = {
|
||||
H: null,
|
||||
A: null,
|
||||
T: null,
|
||||
S: null,
|
||||
actQueue: null,
|
||||
asyncTransitions: 0,
|
||||
isBatchingLegacy: false,
|
||||
didScheduleLegacyUpdate: false,
|
||||
didUsePromise: false,
|
||||
thrownErrors: [],
|
||||
getCurrentStack: null,
|
||||
recentlyCreatedOwnerStacks: 0
|
||||
}, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
|
||||
return null;
|
||||
};
|
||||
deprecatedAPIs = {
|
||||
react_stack_bottom_frame: function(callStackForError) {
|
||||
return callStackForError();
|
||||
}
|
||||
};
|
||||
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
|
||||
var didWarnAboutElementRef = {};
|
||||
var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
|
||||
deprecatedAPIs,
|
||||
UnknownOwner
|
||||
)();
|
||||
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
||||
var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
||||
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
||||
var event = new window.ErrorEvent("error", {
|
||||
bubbles: true,
|
||||
cancelable: true,
|
||||
message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
|
||||
error
|
||||
});
|
||||
if (!window.dispatchEvent(event)) return;
|
||||
} else if ("object" === typeof process && "function" === typeof process.emit) {
|
||||
process.emit("uncaughtException", error);
|
||||
return;
|
||||
}
|
||||
console.error(error);
|
||||
}, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
|
||||
queueMicrotask(function() {
|
||||
return queueMicrotask(callback);
|
||||
});
|
||||
} : enqueueTask;
|
||||
deprecatedAPIs = Object.freeze({
|
||||
__proto__: null,
|
||||
c: function(size) {
|
||||
return resolveDispatcher().useMemoCache(size);
|
||||
}
|
||||
});
|
||||
var fnName = {
|
||||
map: mapChildren,
|
||||
forEach: function(children, forEachFunc, forEachContext) {
|
||||
mapChildren(
|
||||
children,
|
||||
function() {
|
||||
forEachFunc.apply(this, arguments);
|
||||
},
|
||||
forEachContext
|
||||
);
|
||||
},
|
||||
count: function(children) {
|
||||
var n = 0;
|
||||
mapChildren(children, function() {
|
||||
n++;
|
||||
});
|
||||
return n;
|
||||
},
|
||||
toArray: function(children) {
|
||||
return mapChildren(children, function(child) {
|
||||
return child;
|
||||
}) || [];
|
||||
},
|
||||
only: function(children) {
|
||||
if (!isValidElement(children))
|
||||
throw Error(
|
||||
"React.Children.only expected to receive a single React element child."
|
||||
);
|
||||
return children;
|
||||
}
|
||||
};
|
||||
exports.Activity = REACT_ACTIVITY_TYPE;
|
||||
exports.Children = fnName;
|
||||
exports.Component = Component;
|
||||
exports.Fragment = REACT_FRAGMENT_TYPE;
|
||||
exports.Profiler = REACT_PROFILER_TYPE;
|
||||
exports.PureComponent = PureComponent;
|
||||
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
||||
exports.Suspense = REACT_SUSPENSE_TYPE;
|
||||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
||||
exports.__COMPILER_RUNTIME = deprecatedAPIs;
|
||||
exports.act = function(callback) {
|
||||
var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
|
||||
actScopeDepth++;
|
||||
var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
|
||||
try {
|
||||
var result = callback();
|
||||
} catch (error) {
|
||||
ReactSharedInternals.thrownErrors.push(error);
|
||||
}
|
||||
if (0 < ReactSharedInternals.thrownErrors.length)
|
||||
throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
|
||||
if (null !== result && "object" === typeof result && "function" === typeof result.then) {
|
||||
var thenable = result;
|
||||
queueSeveralMicrotasks(function() {
|
||||
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
|
||||
"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
|
||||
));
|
||||
});
|
||||
return {
|
||||
then: function(resolve, reject) {
|
||||
didAwaitActCall = true;
|
||||
thenable.then(
|
||||
function(returnValue) {
|
||||
popActScope(prevActQueue, prevActScopeDepth);
|
||||
if (0 === prevActScopeDepth) {
|
||||
try {
|
||||
flushActQueue(queue), enqueueTask(function() {
|
||||
return recursivelyFlushAsyncActWork(
|
||||
returnValue,
|
||||
resolve,
|
||||
reject
|
||||
);
|
||||
});
|
||||
} catch (error$0) {
|
||||
ReactSharedInternals.thrownErrors.push(error$0);
|
||||
}
|
||||
if (0 < ReactSharedInternals.thrownErrors.length) {
|
||||
var _thrownError = aggregateErrors(
|
||||
ReactSharedInternals.thrownErrors
|
||||
);
|
||||
ReactSharedInternals.thrownErrors.length = 0;
|
||||
reject(_thrownError);
|
||||
}
|
||||
} else resolve(returnValue);
|
||||
},
|
||||
function(error) {
|
||||
popActScope(prevActQueue, prevActScopeDepth);
|
||||
0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
|
||||
ReactSharedInternals.thrownErrors
|
||||
), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
|
||||
}
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
var returnValue$jscomp$0 = result;
|
||||
popActScope(prevActQueue, prevActScopeDepth);
|
||||
0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
|
||||
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
|
||||
"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
|
||||
));
|
||||
}), ReactSharedInternals.actQueue = null);
|
||||
if (0 < ReactSharedInternals.thrownErrors.length)
|
||||
throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
|
||||
return {
|
||||
then: function(resolve, reject) {
|
||||
didAwaitActCall = true;
|
||||
0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
|
||||
return recursivelyFlushAsyncActWork(
|
||||
returnValue$jscomp$0,
|
||||
resolve,
|
||||
reject
|
||||
);
|
||||
})) : resolve(returnValue$jscomp$0);
|
||||
}
|
||||
};
|
||||
};
|
||||
exports.cache = function(fn) {
|
||||
return function() {
|
||||
return fn.apply(null, arguments);
|
||||
};
|
||||
};
|
||||
exports.cacheSignal = function() {
|
||||
return null;
|
||||
};
|
||||
exports.captureOwnerStack = function() {
|
||||
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
||||
return null === getCurrentStack ? null : getCurrentStack();
|
||||
};
|
||||
exports.cloneElement = function(element, config, children) {
|
||||
if (null === element || void 0 === element)
|
||||
throw Error(
|
||||
"The argument must be a React element, but you passed " + element + "."
|
||||
);
|
||||
var props = assign({}, element.props), key = element.key, owner = element._owner;
|
||||
if (null != config) {
|
||||
var JSCompiler_inline_result;
|
||||
a: {
|
||||
if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
|
||||
config,
|
||||
"ref"
|
||||
).get) && JSCompiler_inline_result.isReactWarning) {
|
||||
JSCompiler_inline_result = false;
|
||||
break a;
|
||||
}
|
||||
JSCompiler_inline_result = void 0 !== config.ref;
|
||||
}
|
||||
JSCompiler_inline_result && (owner = getOwner());
|
||||
hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
|
||||
for (propName in config)
|
||||
!hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
||||
}
|
||||
var propName = arguments.length - 2;
|
||||
if (1 === propName) props.children = children;
|
||||
else if (1 < propName) {
|
||||
JSCompiler_inline_result = Array(propName);
|
||||
for (var i = 0; i < propName; i++)
|
||||
JSCompiler_inline_result[i] = arguments[i + 2];
|
||||
props.children = JSCompiler_inline_result;
|
||||
}
|
||||
props = ReactElement(
|
||||
element.type,
|
||||
key,
|
||||
props,
|
||||
owner,
|
||||
element._debugStack,
|
||||
element._debugTask
|
||||
);
|
||||
for (key = 2; key < arguments.length; key++)
|
||||
validateChildKeys(arguments[key]);
|
||||
return props;
|
||||
};
|
||||
exports.createContext = function(defaultValue) {
|
||||
defaultValue = {
|
||||
$$typeof: REACT_CONTEXT_TYPE,
|
||||
_currentValue: defaultValue,
|
||||
_currentValue2: defaultValue,
|
||||
_threadCount: 0,
|
||||
Provider: null,
|
||||
Consumer: null
|
||||
};
|
||||
defaultValue.Provider = defaultValue;
|
||||
defaultValue.Consumer = {
|
||||
$$typeof: REACT_CONSUMER_TYPE,
|
||||
_context: defaultValue
|
||||
};
|
||||
defaultValue._currentRenderer = null;
|
||||
defaultValue._currentRenderer2 = null;
|
||||
return defaultValue;
|
||||
};
|
||||
exports.createElement = function(type, config, children) {
|
||||
for (var i = 2; i < arguments.length; i++)
|
||||
validateChildKeys(arguments[i]);
|
||||
i = {};
|
||||
var key = null;
|
||||
if (null != config)
|
||||
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
|
||||
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
|
||||
)), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
|
||||
hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
|
||||
var childrenLength = arguments.length - 2;
|
||||
if (1 === childrenLength) i.children = children;
|
||||
else if (1 < childrenLength) {
|
||||
for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
|
||||
childArray[_i] = arguments[_i + 2];
|
||||
Object.freeze && Object.freeze(childArray);
|
||||
i.children = childArray;
|
||||
}
|
||||
if (type && type.defaultProps)
|
||||
for (propName in childrenLength = type.defaultProps, childrenLength)
|
||||
void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
||||
key && defineKeyPropWarningGetter(
|
||||
i,
|
||||
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
||||
);
|
||||
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
||||
return ReactElement(
|
||||
type,
|
||||
key,
|
||||
i,
|
||||
getOwner(),
|
||||
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
||||
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
||||
);
|
||||
};
|
||||
exports.createRef = function() {
|
||||
var refObject = { current: null };
|
||||
Object.seal(refObject);
|
||||
return refObject;
|
||||
};
|
||||
exports.forwardRef = function(render) {
|
||||
null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
|
||||
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
|
||||
) : "function" !== typeof render ? console.error(
|
||||
"forwardRef requires a render function but was given %s.",
|
||||
null === render ? "null" : typeof render
|
||||
) : 0 !== render.length && 2 !== render.length && console.error(
|
||||
"forwardRef render functions accept exactly two parameters: props and ref. %s",
|
||||
1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
|
||||
);
|
||||
null != render && null != render.defaultProps && console.error(
|
||||
"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
|
||||
);
|
||||
var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
|
||||
Object.defineProperty(elementType, "displayName", {
|
||||
enumerable: false,
|
||||
configurable: true,
|
||||
get: function() {
|
||||
return ownName;
|
||||
},
|
||||
set: function(name) {
|
||||
ownName = name;
|
||||
render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
|
||||
}
|
||||
});
|
||||
return elementType;
|
||||
};
|
||||
exports.isValidElement = isValidElement;
|
||||
exports.lazy = function(ctor) {
|
||||
ctor = { _status: -1, _result: ctor };
|
||||
var lazyType = {
|
||||
$$typeof: REACT_LAZY_TYPE,
|
||||
_payload: ctor,
|
||||
_init: lazyInitializer
|
||||
}, ioInfo = {
|
||||
name: "lazy",
|
||||
start: -1,
|
||||
end: -1,
|
||||
value: null,
|
||||
owner: null,
|
||||
debugStack: Error("react-stack-top-frame"),
|
||||
debugTask: console.createTask ? console.createTask("lazy()") : null
|
||||
};
|
||||
ctor._ioInfo = ioInfo;
|
||||
lazyType._debugInfo = [{ awaited: ioInfo }];
|
||||
return lazyType;
|
||||
};
|
||||
exports.memo = function(type, compare) {
|
||||
null == type && console.error(
|
||||
"memo: The first argument must be a component. Instead received: %s",
|
||||
null === type ? "null" : typeof type
|
||||
);
|
||||
compare = {
|
||||
$$typeof: REACT_MEMO_TYPE,
|
||||
type,
|
||||
compare: void 0 === compare ? null : compare
|
||||
};
|
||||
var ownName;
|
||||
Object.defineProperty(compare, "displayName", {
|
||||
enumerable: false,
|
||||
configurable: true,
|
||||
get: function() {
|
||||
return ownName;
|
||||
},
|
||||
set: function(name) {
|
||||
ownName = name;
|
||||
type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
|
||||
}
|
||||
});
|
||||
return compare;
|
||||
};
|
||||
exports.startTransition = function(scope) {
|
||||
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
||||
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
||||
ReactSharedInternals.T = currentTransition;
|
||||
try {
|
||||
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
||||
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
||||
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
|
||||
} catch (error) {
|
||||
reportGlobalError(error);
|
||||
} finally {
|
||||
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
||||
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
||||
)), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
|
||||
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
|
||||
), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
||||
}
|
||||
};
|
||||
exports.unstable_useCacheRefresh = function() {
|
||||
return resolveDispatcher().useCacheRefresh();
|
||||
};
|
||||
exports.use = function(usable) {
|
||||
return resolveDispatcher().use(usable);
|
||||
};
|
||||
exports.useActionState = function(action, initialState, permalink) {
|
||||
return resolveDispatcher().useActionState(
|
||||
action,
|
||||
initialState,
|
||||
permalink
|
||||
);
|
||||
};
|
||||
exports.useCallback = function(callback, deps) {
|
||||
return resolveDispatcher().useCallback(callback, deps);
|
||||
};
|
||||
exports.useContext = function(Context) {
|
||||
var dispatcher = resolveDispatcher();
|
||||
Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
|
||||
"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
|
||||
);
|
||||
return dispatcher.useContext(Context);
|
||||
};
|
||||
exports.useDebugValue = function(value, formatterFn) {
|
||||
return resolveDispatcher().useDebugValue(value, formatterFn);
|
||||
};
|
||||
exports.useDeferredValue = function(value, initialValue) {
|
||||
return resolveDispatcher().useDeferredValue(value, initialValue);
|
||||
};
|
||||
exports.useEffect = function(create, deps) {
|
||||
null == create && console.warn(
|
||||
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
||||
);
|
||||
return resolveDispatcher().useEffect(create, deps);
|
||||
};
|
||||
exports.useEffectEvent = function(callback) {
|
||||
return resolveDispatcher().useEffectEvent(callback);
|
||||
};
|
||||
exports.useId = function() {
|
||||
return resolveDispatcher().useId();
|
||||
};
|
||||
exports.useImperativeHandle = function(ref, create, deps) {
|
||||
return resolveDispatcher().useImperativeHandle(ref, create, deps);
|
||||
};
|
||||
exports.useInsertionEffect = function(create, deps) {
|
||||
null == create && console.warn(
|
||||
"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
||||
);
|
||||
return resolveDispatcher().useInsertionEffect(create, deps);
|
||||
};
|
||||
exports.useLayoutEffect = function(create, deps) {
|
||||
null == create && console.warn(
|
||||
"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
||||
);
|
||||
return resolveDispatcher().useLayoutEffect(create, deps);
|
||||
};
|
||||
exports.useMemo = function(create, deps) {
|
||||
return resolveDispatcher().useMemo(create, deps);
|
||||
};
|
||||
exports.useOptimistic = function(passthrough, reducer) {
|
||||
return resolveDispatcher().useOptimistic(passthrough, reducer);
|
||||
};
|
||||
exports.useReducer = function(reducer, initialArg, init) {
|
||||
return resolveDispatcher().useReducer(reducer, initialArg, init);
|
||||
};
|
||||
exports.useRef = function(initialValue) {
|
||||
return resolveDispatcher().useRef(initialValue);
|
||||
};
|
||||
exports.useState = function(initialState) {
|
||||
return resolveDispatcher().useState(initialState);
|
||||
};
|
||||
exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
|
||||
return resolveDispatcher().useSyncExternalStore(
|
||||
subscribe,
|
||||
getSnapshot,
|
||||
getServerSnapshot
|
||||
);
|
||||
};
|
||||
exports.useTransition = function() {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.4";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
||||
})();
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/react@19.2.4/node_modules/react/index.js
|
||||
var require_react = __commonJS({
|
||||
"../../../node_modules/.pnpm/react@19.2.4/node_modules/react/index.js"(exports, module) {
|
||||
if (false) {
|
||||
module.exports = null;
|
||||
} else {
|
||||
module.exports = require_react_development();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
export {
|
||||
require_react
|
||||
};
|
||||
//# sourceMappingURL=chunk-776SV3ZX.js.map
|
||||
File diff suppressed because one or more lines are too long
3466
factory/.context/vite-mock-cache/deps/chunk-B7I2HBKX.js
Normal file
3466
factory/.context/vite-mock-cache/deps/chunk-B7I2HBKX.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
267
factory/.context/vite-mock-cache/deps/chunk-JD3UC7WK.js
Normal file
267
factory/.context/vite-mock-cache/deps/chunk-JD3UC7WK.js
Normal file
|
|
@ -0,0 +1,267 @@
|
|||
import {
|
||||
require_react
|
||||
} from "./chunk-776SV3ZX.js";
|
||||
import {
|
||||
__commonJS
|
||||
} from "./chunk-V4OQ3NZ2.js";
|
||||
|
||||
// ../../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.development.js
|
||||
var require_react_dom_development = __commonJS({
|
||||
"../../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.development.js"(exports) {
|
||||
"use strict";
|
||||
(function() {
|
||||
function noop() {
|
||||
}
|
||||
function testStringCoercion(value) {
|
||||
return "" + value;
|
||||
}
|
||||
function createPortal$1(children, containerInfo, implementation) {
|
||||
var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
|
||||
try {
|
||||
testStringCoercion(key);
|
||||
var JSCompiler_inline_result = false;
|
||||
} catch (e) {
|
||||
JSCompiler_inline_result = true;
|
||||
}
|
||||
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));
|
||||
return {
|
||||
$$typeof: REACT_PORTAL_TYPE,
|
||||
key: null == key ? null : "" + key,
|
||||
children,
|
||||
containerInfo,
|
||||
implementation
|
||||
};
|
||||
}
|
||||
function getCrossOriginStringAs(as, input) {
|
||||
if ("font" === as) return "";
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
function getValueDescriptorExpectingObjectForWarning(thing) {
|
||||
return null === thing ? "`null`" : void 0 === thing ? "`undefined`" : "" === thing ? "an empty string" : 'something with type "' + typeof thing + '"';
|
||||
}
|
||||
function getValueDescriptorExpectingEnumForWarning(thing) {
|
||||
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 + '"';
|
||||
}
|
||||
function resolveDispatcher() {
|
||||
var dispatcher = ReactSharedInternals.H;
|
||||
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."
|
||||
);
|
||||
return dispatcher;
|
||||
}
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
||||
var React = require_react(), Internals = {
|
||||
d: {
|
||||
f: noop,
|
||||
r: function() {
|
||||
throw Error(
|
||||
"Invalid form element. requestFormReset must be passed a form that was rendered by React."
|
||||
);
|
||||
},
|
||||
D: noop,
|
||||
C: noop,
|
||||
L: noop,
|
||||
m: noop,
|
||||
X: noop,
|
||||
S: noop,
|
||||
M: noop
|
||||
},
|
||||
p: 0,
|
||||
findDOMNode: null
|
||||
}, REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
||||
"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"
|
||||
);
|
||||
exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
|
||||
exports.createPortal = function(children, container) {
|
||||
var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
|
||||
if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType)
|
||||
throw Error("Target container is not a DOM element.");
|
||||
return createPortal$1(children, container, null, key);
|
||||
};
|
||||
exports.flushSync = function(fn) {
|
||||
var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
|
||||
try {
|
||||
if (ReactSharedInternals.T = null, Internals.p = 2, fn)
|
||||
return fn();
|
||||
} finally {
|
||||
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."
|
||||
);
|
||||
}
|
||||
};
|
||||
exports.preconnect = function(href, options) {
|
||||
"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)
|
||||
);
|
||||
"string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
|
||||
};
|
||||
exports.prefetchDNS = function(href) {
|
||||
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)
|
||||
);
|
||||
else if (1 < arguments.length) {
|
||||
var options = arguments[1];
|
||||
"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)
|
||||
);
|
||||
}
|
||||
"string" === typeof href && Internals.d.D(href);
|
||||
};
|
||||
exports.preinit = function(href, options) {
|
||||
"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)
|
||||
);
|
||||
if ("string" === typeof href && options && "string" === typeof options.as) {
|
||||
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;
|
||||
"style" === as ? Internals.d.S(
|
||||
href,
|
||||
"string" === typeof options.precedence ? options.precedence : void 0,
|
||||
{
|
||||
crossOrigin,
|
||||
integrity,
|
||||
fetchPriority
|
||||
}
|
||||
) : "script" === as && Internals.d.X(href, {
|
||||
crossOrigin,
|
||||
integrity,
|
||||
fetchPriority,
|
||||
nonce: "string" === typeof options.nonce ? options.nonce : void 0
|
||||
});
|
||||
}
|
||||
};
|
||||
exports.preinitModule = function(href, options) {
|
||||
var encountered = "";
|
||||
"string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
|
||||
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) + ".");
|
||||
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
|
||||
);
|
||||
else
|
||||
switch (encountered = options && "string" === typeof options.as ? options.as : "script", encountered) {
|
||||
case "script":
|
||||
break;
|
||||
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
|
||||
);
|
||||
}
|
||||
if ("string" === typeof href)
|
||||
if ("object" === typeof options && null !== options) {
|
||||
if (null == options.as || "script" === options.as)
|
||||
encountered = getCrossOriginStringAs(
|
||||
options.as,
|
||||
options.crossOrigin
|
||||
), Internals.d.M(href, {
|
||||
crossOrigin: encountered,
|
||||
integrity: "string" === typeof options.integrity ? options.integrity : void 0,
|
||||
nonce: "string" === typeof options.nonce ? options.nonce : void 0
|
||||
});
|
||||
} else null == options && Internals.d.M(href);
|
||||
};
|
||||
exports.preload = function(href, options) {
|
||||
var encountered = "";
|
||||
"string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
|
||||
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) + ".");
|
||||
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
|
||||
);
|
||||
if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) {
|
||||
encountered = options.as;
|
||||
var crossOrigin = getCrossOriginStringAs(
|
||||
encountered,
|
||||
options.crossOrigin
|
||||
);
|
||||
Internals.d.L(href, encountered, {
|
||||
crossOrigin,
|
||||
integrity: "string" === typeof options.integrity ? options.integrity : void 0,
|
||||
nonce: "string" === typeof options.nonce ? options.nonce : void 0,
|
||||
type: "string" === typeof options.type ? options.type : void 0,
|
||||
fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
|
||||
referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
|
||||
imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
|
||||
imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
|
||||
media: "string" === typeof options.media ? options.media : void 0
|
||||
});
|
||||
}
|
||||
};
|
||||
exports.preloadModule = function(href, options) {
|
||||
var encountered = "";
|
||||
"string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
|
||||
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) + ".");
|
||||
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
|
||||
);
|
||||
"string" === typeof href && (options ? (encountered = getCrossOriginStringAs(
|
||||
options.as,
|
||||
options.crossOrigin
|
||||
), Internals.d.m(href, {
|
||||
as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
|
||||
crossOrigin: encountered,
|
||||
integrity: "string" === typeof options.integrity ? options.integrity : void 0
|
||||
})) : Internals.d.m(href));
|
||||
};
|
||||
exports.requestFormReset = function(form) {
|
||||
Internals.d.r(form);
|
||||
};
|
||||
exports.unstable_batchedUpdates = function(fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.useFormState = function(action, initialState, permalink) {
|
||||
return resolveDispatcher().useFormState(action, initialState, permalink);
|
||||
};
|
||||
exports.useFormStatus = function() {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.4";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
||||
})();
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/index.js
|
||||
var require_react_dom = __commonJS({
|
||||
"../../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/index.js"(exports, module) {
|
||||
if (false) {
|
||||
checkDCE();
|
||||
module.exports = null;
|
||||
} else {
|
||||
module.exports = require_react_dom_development();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
export {
|
||||
require_react_dom
|
||||
};
|
||||
//# sourceMappingURL=chunk-JD3UC7WK.js.map
|
||||
File diff suppressed because one or more lines are too long
279
factory/.context/vite-mock-cache/deps/chunk-L53IR3KW.js
Normal file
279
factory/.context/vite-mock-cache/deps/chunk-L53IR3KW.js
Normal file
|
|
@ -0,0 +1,279 @@
|
|||
import {
|
||||
require_react
|
||||
} from "./chunk-776SV3ZX.js";
|
||||
import {
|
||||
__commonJS
|
||||
} from "./chunk-V4OQ3NZ2.js";
|
||||
|
||||
// ../../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js
|
||||
var require_react_jsx_runtime_development = __commonJS({
|
||||
"../../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
|
||||
"use strict";
|
||||
(function() {
|
||||
function getComponentNameFromType(type) {
|
||||
if (null == type) return null;
|
||||
if ("function" === typeof type)
|
||||
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
||||
if ("string" === typeof type) return type;
|
||||
switch (type) {
|
||||
case REACT_FRAGMENT_TYPE:
|
||||
return "Fragment";
|
||||
case REACT_PROFILER_TYPE:
|
||||
return "Profiler";
|
||||
case REACT_STRICT_MODE_TYPE:
|
||||
return "StrictMode";
|
||||
case REACT_SUSPENSE_TYPE:
|
||||
return "Suspense";
|
||||
case REACT_SUSPENSE_LIST_TYPE:
|
||||
return "SuspenseList";
|
||||
case REACT_ACTIVITY_TYPE:
|
||||
return "Activity";
|
||||
}
|
||||
if ("object" === typeof type)
|
||||
switch ("number" === typeof type.tag && console.error(
|
||||
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
||||
), type.$$typeof) {
|
||||
case REACT_PORTAL_TYPE:
|
||||
return "Portal";
|
||||
case REACT_CONTEXT_TYPE:
|
||||
return type.displayName || "Context";
|
||||
case REACT_CONSUMER_TYPE:
|
||||
return (type._context.displayName || "Context") + ".Consumer";
|
||||
case REACT_FORWARD_REF_TYPE:
|
||||
var innerType = type.render;
|
||||
type = type.displayName;
|
||||
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
||||
return type;
|
||||
case REACT_MEMO_TYPE:
|
||||
return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
||||
case REACT_LAZY_TYPE:
|
||||
innerType = type._payload;
|
||||
type = type._init;
|
||||
try {
|
||||
return getComponentNameFromType(type(innerType));
|
||||
} catch (x) {
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function testStringCoercion(value) {
|
||||
return "" + value;
|
||||
}
|
||||
function checkKeyStringCoercion(value) {
|
||||
try {
|
||||
testStringCoercion(value);
|
||||
var JSCompiler_inline_result = false;
|
||||
} catch (e) {
|
||||
JSCompiler_inline_result = true;
|
||||
}
|
||||
if (JSCompiler_inline_result) {
|
||||
JSCompiler_inline_result = console;
|
||||
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
||||
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
||||
JSCompiler_temp_const.call(
|
||||
JSCompiler_inline_result,
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
JSCompiler_inline_result$jscomp$0
|
||||
);
|
||||
return testStringCoercion(value);
|
||||
}
|
||||
}
|
||||
function getTaskName(type) {
|
||||
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
||||
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
|
||||
return "<...>";
|
||||
try {
|
||||
var name = getComponentNameFromType(type);
|
||||
return name ? "<" + name + ">" : "<...>";
|
||||
} catch (x) {
|
||||
return "<...>";
|
||||
}
|
||||
}
|
||||
function getOwner() {
|
||||
var dispatcher = ReactSharedInternals.A;
|
||||
return null === dispatcher ? null : dispatcher.getOwner();
|
||||
}
|
||||
function UnknownOwner() {
|
||||
return Error("react-stack-top-frame");
|
||||
}
|
||||
function hasValidKey(config) {
|
||||
if (hasOwnProperty.call(config, "key")) {
|
||||
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
||||
if (getter && getter.isReactWarning) return false;
|
||||
}
|
||||
return void 0 !== config.key;
|
||||
}
|
||||
function defineKeyPropWarningGetter(props, displayName) {
|
||||
function warnAboutAccessingKey() {
|
||||
specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
|
||||
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
||||
displayName
|
||||
));
|
||||
}
|
||||
warnAboutAccessingKey.isReactWarning = true;
|
||||
Object.defineProperty(props, "key", {
|
||||
get: warnAboutAccessingKey,
|
||||
configurable: true
|
||||
});
|
||||
}
|
||||
function elementRefGetterWithDeprecationWarning() {
|
||||
var componentName = getComponentNameFromType(this.type);
|
||||
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
|
||||
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
||||
));
|
||||
componentName = this.props.ref;
|
||||
return void 0 !== componentName ? componentName : null;
|
||||
}
|
||||
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
||||
var refProp = props.ref;
|
||||
type = {
|
||||
$$typeof: REACT_ELEMENT_TYPE,
|
||||
type,
|
||||
key,
|
||||
props,
|
||||
_owner: owner
|
||||
};
|
||||
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
||||
enumerable: false,
|
||||
get: elementRefGetterWithDeprecationWarning
|
||||
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
||||
type._store = {};
|
||||
Object.defineProperty(type._store, "validated", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: 0
|
||||
});
|
||||
Object.defineProperty(type, "_debugInfo", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: null
|
||||
});
|
||||
Object.defineProperty(type, "_debugStack", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: debugStack
|
||||
});
|
||||
Object.defineProperty(type, "_debugTask", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: debugTask
|
||||
});
|
||||
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
||||
return type;
|
||||
}
|
||||
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
|
||||
var children = config.children;
|
||||
if (void 0 !== children)
|
||||
if (isStaticChildren)
|
||||
if (isArrayImpl(children)) {
|
||||
for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
|
||||
validateChildKeys(children[isStaticChildren]);
|
||||
Object.freeze && Object.freeze(children);
|
||||
} else
|
||||
console.error(
|
||||
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
||||
);
|
||||
else validateChildKeys(children);
|
||||
if (hasOwnProperty.call(config, "key")) {
|
||||
children = getComponentNameFromType(type);
|
||||
var keys = Object.keys(config).filter(function(k) {
|
||||
return "key" !== k;
|
||||
});
|
||||
isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
||||
didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
|
||||
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
||||
isStaticChildren,
|
||||
children,
|
||||
keys,
|
||||
children
|
||||
), didWarnAboutKeySpread[children + isStaticChildren] = true);
|
||||
}
|
||||
children = null;
|
||||
void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
|
||||
hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
|
||||
if ("key" in config) {
|
||||
maybeKey = {};
|
||||
for (var propName in config)
|
||||
"key" !== propName && (maybeKey[propName] = config[propName]);
|
||||
} else maybeKey = config;
|
||||
children && defineKeyPropWarningGetter(
|
||||
maybeKey,
|
||||
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
||||
);
|
||||
return ReactElement(
|
||||
type,
|
||||
children,
|
||||
maybeKey,
|
||||
getOwner(),
|
||||
debugStack,
|
||||
debugTask
|
||||
);
|
||||
}
|
||||
function validateChildKeys(node) {
|
||||
isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
||||
}
|
||||
function isValidElement(object) {
|
||||
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
||||
}
|
||||
var React = require_react(), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
||||
return null;
|
||||
};
|
||||
React = {
|
||||
react_stack_bottom_frame: function(callStackForError) {
|
||||
return callStackForError();
|
||||
}
|
||||
};
|
||||
var specialPropKeyWarningShown;
|
||||
var didWarnAboutElementRef = {};
|
||||
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
|
||||
React,
|
||||
UnknownOwner
|
||||
)();
|
||||
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
||||
var didWarnAboutKeySpread = {};
|
||||
exports.Fragment = REACT_FRAGMENT_TYPE;
|
||||
exports.jsx = function(type, config, maybeKey) {
|
||||
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
||||
return jsxDEVImpl(
|
||||
type,
|
||||
config,
|
||||
maybeKey,
|
||||
false,
|
||||
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
||||
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
||||
);
|
||||
};
|
||||
exports.jsxs = function(type, config, maybeKey) {
|
||||
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
||||
return jsxDEVImpl(
|
||||
type,
|
||||
config,
|
||||
maybeKey,
|
||||
true,
|
||||
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
||||
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
||||
);
|
||||
};
|
||||
})();
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js
|
||||
var require_jsx_runtime = __commonJS({
|
||||
"../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js"(exports, module) {
|
||||
if (false) {
|
||||
module.exports = null;
|
||||
} else {
|
||||
module.exports = require_react_jsx_runtime_development();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
export {
|
||||
require_jsx_runtime
|
||||
};
|
||||
//# sourceMappingURL=chunk-L53IR3KW.js.map
|
||||
File diff suppressed because one or more lines are too long
637
factory/.context/vite-mock-cache/deps/chunk-TFDFHE5Q.js
Normal file
637
factory/.context/vite-mock-cache/deps/chunk-TFDFHE5Q.js
Normal file
|
|
@ -0,0 +1,637 @@
|
|||
import {
|
||||
require_react
|
||||
} from "./chunk-776SV3ZX.js";
|
||||
import {
|
||||
__esm,
|
||||
__export,
|
||||
__toESM
|
||||
} from "./chunk-V4OQ3NZ2.js";
|
||||
|
||||
// ../../../node_modules/.pnpm/styletron-standard@3.1.0/node_modules/styletron-standard/dist-browser-esm/index.js
|
||||
var dist_browser_esm_exports = {};
|
||||
__export(dist_browser_esm_exports, {
|
||||
driver: () => driver,
|
||||
getInitialStyle: () => getInitialStyle,
|
||||
renderDeclarativeRules: () => renderDeclarativeRules
|
||||
});
|
||||
function driver(style, styletron) {
|
||||
const tx = renderDeclarativeRules(style, styletron);
|
||||
return styletron.renderStyle(tx);
|
||||
}
|
||||
function getInitialStyle() {
|
||||
return {};
|
||||
}
|
||||
function renderDeclarativeRules(style, styletron) {
|
||||
for (const key in style) {
|
||||
const val = style[key];
|
||||
if (key === "animationName" && typeof val !== "string") {
|
||||
style.animationName = styletron.renderKeyframes(val);
|
||||
continue;
|
||||
}
|
||||
if (key === "fontFamily" && typeof val !== "string") {
|
||||
if (Array.isArray(val)) {
|
||||
let result = "";
|
||||
for (const font of val) {
|
||||
if (typeof font === "object") {
|
||||
result += `${styletron.renderFontFace(font)},`;
|
||||
} else if (typeof font === "string") {
|
||||
result += `${font},`;
|
||||
}
|
||||
}
|
||||
style.fontFamily = result.slice(0, -1);
|
||||
continue;
|
||||
} else if (val === void 0) {
|
||||
continue;
|
||||
} else {
|
||||
style.fontFamily = styletron.renderFontFace(val);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (typeof val === "object" && val !== null) {
|
||||
renderDeclarativeRules(val, styletron);
|
||||
}
|
||||
}
|
||||
return style;
|
||||
}
|
||||
var init_dist_browser_esm = __esm({
|
||||
"../../../node_modules/.pnpm/styletron-standard@3.1.0/node_modules/styletron-standard/dist-browser-esm/index.js"() {
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/styletron-react@6.1.1_react@19.2.4/node_modules/styletron-react/dist-browser-esm/dev-tool.js
|
||||
function addDebugMetadata(instance, stackIndex) {
|
||||
const {
|
||||
stack,
|
||||
stacktrace,
|
||||
message
|
||||
} = new Error("stacktrace source");
|
||||
instance.debug = {
|
||||
stackInfo: {
|
||||
stack,
|
||||
stacktrace,
|
||||
message
|
||||
},
|
||||
stackIndex
|
||||
};
|
||||
}
|
||||
var setupDevtoolsExtension, BrowserDebugEngine, DebugEngine;
|
||||
var init_dev_tool = __esm({
|
||||
"../../../node_modules/.pnpm/styletron-react@6.1.1_react@19.2.4/node_modules/styletron-react/dist-browser-esm/dev-tool.js"() {
|
||||
setupDevtoolsExtension = () => {
|
||||
const atomicMap = {};
|
||||
const extensionsMap = /* @__PURE__ */ new Map();
|
||||
const stylesMap = /* @__PURE__ */ new Map();
|
||||
const getStyles = (className) => {
|
||||
const styles = {};
|
||||
if (typeof className !== "string") {
|
||||
return styles;
|
||||
}
|
||||
if (stylesMap.has(className)) {
|
||||
styles.styles = stylesMap.get(className);
|
||||
const classList = className.split(" ");
|
||||
if (classList.length) {
|
||||
const classes = {};
|
||||
classList.forEach((singleClassName) => {
|
||||
classes[singleClassName] = atomicMap[singleClassName];
|
||||
});
|
||||
styles.classes = classes;
|
||||
}
|
||||
if (extensionsMap.has(className)) {
|
||||
const extension = extensionsMap.get(className);
|
||||
styles.extends = extension;
|
||||
}
|
||||
return styles;
|
||||
}
|
||||
};
|
||||
window.__STYLETRON_DEVTOOLS__ = {
|
||||
atomicMap,
|
||||
extensionsMap,
|
||||
stylesMap,
|
||||
getStyles
|
||||
};
|
||||
};
|
||||
BrowserDebugEngine = class {
|
||||
constructor(worker) {
|
||||
if (!worker) {
|
||||
const workerBlob = new Blob([`importScripts("https://unpkg.com/css-to-js-sourcemap-worker@2.0.5/worker.js")`], {
|
||||
type: "application/javascript"
|
||||
});
|
||||
worker = new Worker(URL.createObjectURL(workerBlob));
|
||||
worker.postMessage({
|
||||
id: "init_wasm",
|
||||
url: "https://unpkg.com/css-to-js-sourcemap-worker@2.0.5/mappings.wasm"
|
||||
});
|
||||
worker.postMessage({
|
||||
id: "set_render_interval",
|
||||
interval: 120
|
||||
});
|
||||
if (module.hot) {
|
||||
module.hot.addStatusHandler((status) => {
|
||||
if (status === "dispose") {
|
||||
worker.postMessage({
|
||||
id: "invalidate"
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
this.worker = worker;
|
||||
this.counter = 0;
|
||||
this.worker.onmessage = (msg) => {
|
||||
const {
|
||||
id,
|
||||
css
|
||||
} = msg.data;
|
||||
if (id === "render_css" && css) {
|
||||
const style = document.createElement("style");
|
||||
style.appendChild(document.createTextNode(css));
|
||||
document.head.appendChild(style);
|
||||
}
|
||||
};
|
||||
}
|
||||
debug({
|
||||
stackIndex,
|
||||
stackInfo
|
||||
}) {
|
||||
const className = `__debug-${this.counter++}`;
|
||||
this.worker.postMessage({
|
||||
id: "add_mapped_class",
|
||||
className,
|
||||
stackInfo,
|
||||
stackIndex
|
||||
});
|
||||
return className;
|
||||
}
|
||||
};
|
||||
DebugEngine = true ? BrowserDebugEngine : NoopDebugEngine;
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/styletron-react@6.1.1_react@19.2.4/node_modules/styletron-react/dist-browser-esm/index.js
|
||||
var dist_browser_esm_exports2 = {};
|
||||
__export(dist_browser_esm_exports2, {
|
||||
DebugEngine: () => DebugEngine,
|
||||
Provider: () => Provider,
|
||||
autoComposeDeep: () => autoComposeDeep,
|
||||
autoComposeShallow: () => autoComposeShallow,
|
||||
composeDynamic: () => composeDynamic,
|
||||
composeStatic: () => composeStatic,
|
||||
createDeepMergeReducer: () => createDeepMergeReducer,
|
||||
createShallowMergeReducer: () => createShallowMergeReducer,
|
||||
createStyled: () => createStyled,
|
||||
createStyledElementComponent: () => createStyledElementComponent,
|
||||
dynamicComposeDeep: () => dynamicComposeDeep,
|
||||
dynamicComposeShallow: () => dynamicComposeShallow,
|
||||
resolveStyle: () => resolveStyle,
|
||||
staticComposeDeep: () => staticComposeDeep,
|
||||
staticComposeShallow: () => staticComposeShallow,
|
||||
styled: () => styled,
|
||||
useStyletron: () => useStyletron,
|
||||
withStyle: () => withStyle,
|
||||
withStyleDeep: () => withStyleDeep,
|
||||
withTransform: () => withTransform,
|
||||
withWrapper: () => withWrapper
|
||||
});
|
||||
function _extends() {
|
||||
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i];
|
||||
for (var key in source) {
|
||||
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
||||
target[key] = source[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
return target;
|
||||
};
|
||||
return _extends.apply(this, arguments);
|
||||
}
|
||||
function checkNoopEngine(engine) {
|
||||
if (true) {
|
||||
engine === noopEngine && // eslint-disable-next-line no-console
|
||||
console.warn(true ? `
|
||||
Styletron has been switched to a no-op (test) mode.
|
||||
|
||||
A Styletron styled component was rendered, but no Styletron engine instance was provided in React context.
|
||||
|
||||
Did you forget to provide a Styletron engine instance to React context via using the Styletron provider component?
|
||||
|
||||
Note: Providers and Consumers must come from the exact same React.createContext call to work.
|
||||
If your app has multiple instances of the "styletron-react" package in your node_module tree,
|
||||
your Provider may be coming from a different React.createContext call, which means the styled components
|
||||
will not recieve the provided engine instance. This scenario can arise, for example, when using "npm link".
|
||||
` : `Styletron Provider is not set up. Defaulting to no-op.`);
|
||||
}
|
||||
}
|
||||
function useStyletron() {
|
||||
const styletronEngine = React.useContext(StyletronContext);
|
||||
const debugEngine = React.useContext(DebugEngineContext);
|
||||
const hydrating = React.useContext(HydrationContext);
|
||||
checkNoopEngine(styletronEngine);
|
||||
const debugClassName = React.useRef("");
|
||||
const prevDebugClassNameDeps = React.useRef([]);
|
||||
return [function css(style) {
|
||||
const className = driver(style, styletronEngine);
|
||||
if (false) {
|
||||
return className;
|
||||
}
|
||||
const {
|
||||
stack,
|
||||
message
|
||||
} = new Error("stacktrace source");
|
||||
const nextDeps = [debugEngine, hydrating];
|
||||
if (prevDebugClassNameDeps.current[0] !== nextDeps[0] || prevDebugClassNameDeps.current[1] !== nextDeps[1]) {
|
||||
if (debugEngine && !hydrating) {
|
||||
debugClassName.current = debugEngine.debug({
|
||||
stackInfo: {
|
||||
stack,
|
||||
message
|
||||
},
|
||||
stackIndex: 1
|
||||
});
|
||||
}
|
||||
prevDebugClassNameDeps.current = nextDeps;
|
||||
}
|
||||
if (debugClassName.current) {
|
||||
return `${debugClassName.current} ${className}`;
|
||||
}
|
||||
return className;
|
||||
}];
|
||||
}
|
||||
function createStyled({
|
||||
getInitialStyle: getInitialStyle2,
|
||||
driver: driver2,
|
||||
wrapper
|
||||
}) {
|
||||
function styled2(base, styleArg) {
|
||||
if (true) {
|
||||
if (base.__STYLETRON__) {
|
||||
console.warn("It appears you are passing a styled component into `styled`.");
|
||||
console.warn("For composition with existing styled components, use `withStyle` or `withTransform` instead.");
|
||||
}
|
||||
}
|
||||
const baseStyletron = {
|
||||
reducers: [],
|
||||
base,
|
||||
driver: driver2,
|
||||
getInitialStyle: getInitialStyle2,
|
||||
wrapper
|
||||
};
|
||||
if (true) {
|
||||
addDebugMetadata(baseStyletron, 2);
|
||||
}
|
||||
return createStyledElementComponent(autoComposeShallow(baseStyletron, styleArg));
|
||||
}
|
||||
return styled2;
|
||||
}
|
||||
function autoComposeShallow(styletron, styleArg) {
|
||||
if (typeof styleArg === "function") {
|
||||
return dynamicComposeShallow(styletron, styleArg);
|
||||
}
|
||||
return staticComposeShallow(styletron, styleArg);
|
||||
}
|
||||
function addExtension(composed, component, styleArg) {
|
||||
return {
|
||||
...composed,
|
||||
ext: {
|
||||
with: styleArg,
|
||||
name: component.displayName,
|
||||
base: component.__STYLETRON__.base,
|
||||
getInitialStyle: component.__STYLETRON__.reducers.length ? component.__STYLETRON__.reducers[0].reducer : component.__STYLETRON__.getInitialStyle
|
||||
}
|
||||
};
|
||||
}
|
||||
function autoComposeDeep(styletron, styleArg) {
|
||||
if (typeof styleArg === "function") {
|
||||
return dynamicComposeDeep(styletron, styleArg);
|
||||
}
|
||||
return staticComposeDeep(styletron, styleArg);
|
||||
}
|
||||
function staticComposeShallow(styletron, style) {
|
||||
return composeStatic(styletron, createShallowMergeReducer(style));
|
||||
}
|
||||
function staticComposeDeep(styletron, style) {
|
||||
return composeStatic(styletron, createDeepMergeReducer(style));
|
||||
}
|
||||
function dynamicComposeShallow(styletron, styleFn) {
|
||||
return composeDynamic(styletron, (style, props) => shallowMerge(style, styleFn(props)));
|
||||
}
|
||||
function dynamicComposeDeep(styletron, styleFn) {
|
||||
return composeDynamic(styletron, (style, props) => deepMerge(style, styleFn(props)));
|
||||
}
|
||||
function createShallowMergeReducer(style) {
|
||||
return {
|
||||
reducer: (inputStyle) => shallowMerge(inputStyle, style),
|
||||
assignmentCommutative: true,
|
||||
factory: createShallowMergeReducer,
|
||||
style
|
||||
};
|
||||
}
|
||||
function createDeepMergeReducer(style) {
|
||||
return {
|
||||
reducer: (inputStyle) => deepMerge(inputStyle, style),
|
||||
assignmentCommutative: true,
|
||||
factory: createDeepMergeReducer,
|
||||
style
|
||||
};
|
||||
}
|
||||
function composeStatic(styletron, reducerContainer) {
|
||||
if (styletron.reducers.length === 0) {
|
||||
const style = reducerContainer.reducer(styletron.getInitialStyle());
|
||||
const result = {
|
||||
reducers: styletron.reducers,
|
||||
base: styletron.base,
|
||||
driver: styletron.driver,
|
||||
wrapper: styletron.wrapper,
|
||||
getInitialStyle: () => style
|
||||
};
|
||||
if (true) {
|
||||
result.debug = styletron.debug;
|
||||
}
|
||||
return result;
|
||||
} else {
|
||||
const last = styletron.reducers[0];
|
||||
if (last.assignmentCommutative === true && reducerContainer.assignmentCommutative === true) {
|
||||
const composed = reducerContainer.reducer(last.style);
|
||||
const result = {
|
||||
getInitialStyle: styletron.getInitialStyle,
|
||||
base: styletron.base,
|
||||
driver: styletron.driver,
|
||||
wrapper: styletron.wrapper,
|
||||
reducers: [last.factory(composed)].concat(styletron.reducers.slice(1))
|
||||
};
|
||||
if (true) {
|
||||
result.debug = styletron.debug;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
return composeDynamic(styletron, reducerContainer.reducer);
|
||||
}
|
||||
}
|
||||
function composeDynamic(styletron, reducer) {
|
||||
const composed = {
|
||||
getInitialStyle: styletron.getInitialStyle,
|
||||
base: styletron.base,
|
||||
driver: styletron.driver,
|
||||
wrapper: styletron.wrapper,
|
||||
// @ts-ignore
|
||||
reducers: [{
|
||||
assignmentCommutative: false,
|
||||
reducer
|
||||
}].concat(styletron.reducers)
|
||||
};
|
||||
if (true) {
|
||||
composed.debug = styletron.debug;
|
||||
}
|
||||
return composed;
|
||||
}
|
||||
function createStyledElementComponent(styletron) {
|
||||
const {
|
||||
reducers,
|
||||
base,
|
||||
driver: driver2,
|
||||
wrapper,
|
||||
getInitialStyle: getInitialStyle2,
|
||||
ext
|
||||
} = styletron;
|
||||
if (true) {
|
||||
var debugStackInfo, debugStackIndex;
|
||||
if (styletron.debug) {
|
||||
debugStackInfo = styletron.debug.stackInfo;
|
||||
debugStackIndex = styletron.debug.stackIndex;
|
||||
}
|
||||
}
|
||||
if (true) {
|
||||
var debugClassName;
|
||||
}
|
||||
const StyledElement = React.forwardRef((props, ref) => {
|
||||
const styletron2 = React.useContext(StyletronContext);
|
||||
const debugEngine = React.useContext(DebugEngineContext);
|
||||
const hydrating = React.useContext(HydrationContext);
|
||||
checkNoopEngine(styletron2);
|
||||
const elementProps = omitPrefixedKeys(props);
|
||||
let style = resolveStyle(getInitialStyle2, reducers, props);
|
||||
if (props.$style) {
|
||||
if (typeof props.$style === "function") {
|
||||
style = deepMerge(style, props.$style(props));
|
||||
} else {
|
||||
style = deepMerge(style, props.$style);
|
||||
}
|
||||
}
|
||||
const styleClassString = driver2(style, styletron2);
|
||||
const Element = props.$as ? props.$as : base;
|
||||
elementProps.className = props.className ? `${props.className} ${styleClassString}` : styleClassString;
|
||||
if (debugEngine && !hydrating) {
|
||||
if (!debugClassName) {
|
||||
debugClassName = debugEngine.debug({
|
||||
stackInfo: debugStackInfo,
|
||||
stackIndex: debugStackIndex
|
||||
});
|
||||
}
|
||||
const joined = `${debugClassName} ${elementProps.className}`;
|
||||
elementProps.className = joined;
|
||||
}
|
||||
if (window.__STYLETRON_DEVTOOLS__) {
|
||||
window.__STYLETRON_DEVTOOLS__.stylesMap.set(elementProps.className, style);
|
||||
if (ext) {
|
||||
window.__STYLETRON_DEVTOOLS__.extensionsMap.set(elementProps.className, {
|
||||
base: ext.base,
|
||||
displayName: ext.name,
|
||||
initialStyles: ext.getInitialStyle({}, props),
|
||||
styleOverrides: typeof ext.with === "function" ? ext.with(props) : ext.with
|
||||
});
|
||||
}
|
||||
}
|
||||
if (props.$ref) {
|
||||
console.warn("The prop `$ref` has been deprecated. Use `ref` instead. Refs are now forwarded with React.forwardRef.");
|
||||
}
|
||||
return React.createElement(Element, _extends({}, elementProps, {
|
||||
ref: ref || props.$ref
|
||||
}));
|
||||
});
|
||||
const Wrapped = wrapper(StyledElement);
|
||||
Wrapped.__STYLETRON__ = {
|
||||
base,
|
||||
reducers,
|
||||
driver: driver2,
|
||||
wrapper,
|
||||
getInitialStyle: getInitialStyle2
|
||||
};
|
||||
if (true) {
|
||||
let displayName;
|
||||
if (typeof base === "string") {
|
||||
displayName = base;
|
||||
} else if (base.displayName) {
|
||||
displayName = base.displayName;
|
||||
} else if (base.name) {
|
||||
displayName = base.name;
|
||||
} else {
|
||||
displayName = "Unknown";
|
||||
}
|
||||
Wrapped.displayName = `Styled(${displayName})`;
|
||||
}
|
||||
return Wrapped;
|
||||
}
|
||||
function resolveStyle(getInitialStyle2, reducers, props) {
|
||||
let result = getInitialStyle2();
|
||||
let i = reducers.length;
|
||||
while (i--) {
|
||||
const reducer = reducers[i].reducer;
|
||||
result = reducer(result, props);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function isObject(x) {
|
||||
return typeof x === "object" && x !== null;
|
||||
}
|
||||
function omitPrefixedKeys(source) {
|
||||
const result = {};
|
||||
for (const key in source) {
|
||||
if (key[0] !== "$") {
|
||||
result[key] = source[key];
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function deepMerge(a, b) {
|
||||
const result = assign({}, a);
|
||||
for (const key in b) {
|
||||
const val = b[key];
|
||||
if (isObject(val) && isObject(a[key])) {
|
||||
result[key] = deepMerge(a[key], val);
|
||||
} else {
|
||||
result[key] = val;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function shallowMerge(a, b) {
|
||||
return assign(assign({}, a), b);
|
||||
}
|
||||
function assign(target, source) {
|
||||
for (const key in source) {
|
||||
target[key] = source[key];
|
||||
}
|
||||
return target;
|
||||
}
|
||||
var React, noopEngine, StyletronContext, HydrationContext, DebugEngineContext, DevProvider, Provider, styled, withTransform, withStyleDeep, withStyle, withWrapper;
|
||||
var init_dist_browser_esm2 = __esm({
|
||||
"../../../node_modules/.pnpm/styletron-react@6.1.1_react@19.2.4/node_modules/styletron-react/dist-browser-esm/index.js"() {
|
||||
React = __toESM(require_react());
|
||||
init_dist_browser_esm();
|
||||
init_dev_tool();
|
||||
noopEngine = {
|
||||
renderStyle: () => "",
|
||||
renderKeyframes: () => "",
|
||||
renderFontFace: () => ""
|
||||
};
|
||||
StyletronContext = React.createContext(noopEngine);
|
||||
HydrationContext = React.createContext(false);
|
||||
DebugEngineContext = React.createContext(void 0);
|
||||
DevProvider = class extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
hydrating: Boolean(props.debugAfterHydration)
|
||||
};
|
||||
}
|
||||
componentDidMount() {
|
||||
if (true) {
|
||||
if (this.state.hydrating === true) {
|
||||
this.setState({
|
||||
hydrating: false
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
render() {
|
||||
return React.createElement(StyletronContext.Provider, {
|
||||
value: this.props.value
|
||||
}, React.createElement(DebugEngineContext.Provider, {
|
||||
value: this.props.debug
|
||||
}, React.createElement(HydrationContext.Provider, {
|
||||
value: this.state.hydrating
|
||||
}, this.props.children)));
|
||||
}
|
||||
};
|
||||
Provider = true ? DevProvider : StyletronContext.Provider;
|
||||
if (!window.__STYLETRON_DEVTOOLS__) {
|
||||
setupDevtoolsExtension();
|
||||
}
|
||||
styled = createStyled({
|
||||
getInitialStyle,
|
||||
driver,
|
||||
wrapper: (Component2) => Component2
|
||||
});
|
||||
withTransform = (component, transformer) => {
|
||||
const styletron = component.__STYLETRON__;
|
||||
if (true) {
|
||||
addDebugMetadata(styletron, 2);
|
||||
}
|
||||
return createStyledElementComponent(composeDynamic(styletron, transformer));
|
||||
};
|
||||
withStyleDeep = (component, styleArg) => {
|
||||
const styletron = component.__STYLETRON__;
|
||||
if (true) {
|
||||
if (!styletron) {
|
||||
console.warn("The first parameter to `withStyle` must be a styled component (without extra wrappers).");
|
||||
}
|
||||
}
|
||||
if (true) {
|
||||
addDebugMetadata(styletron, 2);
|
||||
return createStyledElementComponent(addExtension(autoComposeDeep(styletron, styleArg), component, styleArg));
|
||||
} else {
|
||||
return createStyledElementComponent(autoComposeDeep(styletron, styleArg));
|
||||
}
|
||||
};
|
||||
withStyle = withStyleDeep;
|
||||
withWrapper = (component, wrapper) => {
|
||||
const styletron = component.__STYLETRON__;
|
||||
if (true) {
|
||||
if (!styletron) {
|
||||
console.warn("The first parameter to `withWrapper` must be a styled component (without extra wrappers).");
|
||||
}
|
||||
}
|
||||
const composed = {
|
||||
getInitialStyle: styletron.getInitialStyle,
|
||||
base: styletron.base,
|
||||
driver: styletron.driver,
|
||||
wrapper,
|
||||
reducers: styletron.reducers
|
||||
};
|
||||
if (true) {
|
||||
addDebugMetadata(composed, 2);
|
||||
}
|
||||
return createStyledElementComponent(composed);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
export {
|
||||
dist_browser_esm_exports,
|
||||
init_dist_browser_esm,
|
||||
DebugEngine,
|
||||
Provider,
|
||||
useStyletron,
|
||||
createStyled,
|
||||
styled,
|
||||
withTransform,
|
||||
withStyleDeep,
|
||||
withStyle,
|
||||
withWrapper,
|
||||
autoComposeShallow,
|
||||
autoComposeDeep,
|
||||
staticComposeShallow,
|
||||
staticComposeDeep,
|
||||
dynamicComposeShallow,
|
||||
dynamicComposeDeep,
|
||||
createShallowMergeReducer,
|
||||
createDeepMergeReducer,
|
||||
composeStatic,
|
||||
composeDynamic,
|
||||
createStyledElementComponent,
|
||||
resolveStyle,
|
||||
dist_browser_esm_exports2,
|
||||
init_dist_browser_esm2
|
||||
};
|
||||
//# sourceMappingURL=chunk-TFDFHE5Q.js.map
|
||||
File diff suppressed because one or more lines are too long
41
factory/.context/vite-mock-cache/deps/chunk-V4OQ3NZ2.js
Normal file
41
factory/.context/vite-mock-cache/deps/chunk-V4OQ3NZ2.js
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __esm = (fn, res) => function __init() {
|
||||
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
||||
};
|
||||
var __commonJS = (cb, mod) => function __require() {
|
||||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
||||
};
|
||||
var __export = (target, all) => {
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
||||
// If the importer is in node compatibility mode or this is not an ESM
|
||||
// file that has been converted to a CommonJS file using a Babel-
|
||||
// compatible transform (i.e. "__esModule" has not been set), then set
|
||||
// "default" to the CommonJS "module.exports" for node compatibility.
|
||||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
||||
mod
|
||||
));
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
|
||||
export {
|
||||
__esm,
|
||||
__commonJS,
|
||||
__export,
|
||||
__toESM,
|
||||
__toCommonJS
|
||||
};
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
2689
factory/.context/vite-mock-cache/deps/chunk-W6BYZAPA.js
Normal file
2689
factory/.context/vite-mock-cache/deps/chunk-W6BYZAPA.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
26311
factory/.context/vite-mock-cache/deps/lucide-react.js
Normal file
26311
factory/.context/vite-mock-cache/deps/lucide-react.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
3
factory/.context/vite-mock-cache/deps/package.json
Normal file
3
factory/.context/vite-mock-cache/deps/package.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"type": "module"
|
||||
}
|
||||
6
factory/.context/vite-mock-cache/deps/react-dom.js
vendored
Normal file
6
factory/.context/vite-mock-cache/deps/react-dom.js
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import {
|
||||
require_react_dom
|
||||
} from "./chunk-JD3UC7WK.js";
|
||||
import "./chunk-776SV3ZX.js";
|
||||
import "./chunk-V4OQ3NZ2.js";
|
||||
export default require_react_dom();
|
||||
7
factory/.context/vite-mock-cache/deps/react-dom.js.map
Normal file
7
factory/.context/vite-mock-cache/deps/react-dom.js.map
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
20193
factory/.context/vite-mock-cache/deps/react-dom_client.js
vendored
Normal file
20193
factory/.context/vite-mock-cache/deps/react-dom_client.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
7347
factory/.context/vite-mock-cache/deps/react-grab.js
vendored
Normal file
7347
factory/.context/vite-mock-cache/deps/react-grab.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
factory/.context/vite-mock-cache/deps/react-grab.js.map
Normal file
7
factory/.context/vite-mock-cache/deps/react-grab.js.map
Normal file
File diff suppressed because one or more lines are too long
5
factory/.context/vite-mock-cache/deps/react.js
vendored
Normal file
5
factory/.context/vite-mock-cache/deps/react.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import {
|
||||
require_react
|
||||
} from "./chunk-776SV3ZX.js";
|
||||
import "./chunk-V4OQ3NZ2.js";
|
||||
export default require_react();
|
||||
7
factory/.context/vite-mock-cache/deps/react.js.map
Normal file
7
factory/.context/vite-mock-cache/deps/react.js.map
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
265
factory/.context/vite-mock-cache/deps/react_jsx-dev-runtime.js
Normal file
265
factory/.context/vite-mock-cache/deps/react_jsx-dev-runtime.js
Normal file
|
|
@ -0,0 +1,265 @@
|
|||
import {
|
||||
require_react
|
||||
} from "./chunk-776SV3ZX.js";
|
||||
import {
|
||||
__commonJS
|
||||
} from "./chunk-V4OQ3NZ2.js";
|
||||
|
||||
// ../../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-dev-runtime.development.js
|
||||
var require_react_jsx_dev_runtime_development = __commonJS({
|
||||
"../../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-dev-runtime.development.js"(exports) {
|
||||
"use strict";
|
||||
(function() {
|
||||
function getComponentNameFromType(type) {
|
||||
if (null == type) return null;
|
||||
if ("function" === typeof type)
|
||||
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
||||
if ("string" === typeof type) return type;
|
||||
switch (type) {
|
||||
case REACT_FRAGMENT_TYPE:
|
||||
return "Fragment";
|
||||
case REACT_PROFILER_TYPE:
|
||||
return "Profiler";
|
||||
case REACT_STRICT_MODE_TYPE:
|
||||
return "StrictMode";
|
||||
case REACT_SUSPENSE_TYPE:
|
||||
return "Suspense";
|
||||
case REACT_SUSPENSE_LIST_TYPE:
|
||||
return "SuspenseList";
|
||||
case REACT_ACTIVITY_TYPE:
|
||||
return "Activity";
|
||||
}
|
||||
if ("object" === typeof type)
|
||||
switch ("number" === typeof type.tag && console.error(
|
||||
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
||||
), type.$$typeof) {
|
||||
case REACT_PORTAL_TYPE:
|
||||
return "Portal";
|
||||
case REACT_CONTEXT_TYPE:
|
||||
return type.displayName || "Context";
|
||||
case REACT_CONSUMER_TYPE:
|
||||
return (type._context.displayName || "Context") + ".Consumer";
|
||||
case REACT_FORWARD_REF_TYPE:
|
||||
var innerType = type.render;
|
||||
type = type.displayName;
|
||||
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
||||
return type;
|
||||
case REACT_MEMO_TYPE:
|
||||
return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
||||
case REACT_LAZY_TYPE:
|
||||
innerType = type._payload;
|
||||
type = type._init;
|
||||
try {
|
||||
return getComponentNameFromType(type(innerType));
|
||||
} catch (x) {
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function testStringCoercion(value) {
|
||||
return "" + value;
|
||||
}
|
||||
function checkKeyStringCoercion(value) {
|
||||
try {
|
||||
testStringCoercion(value);
|
||||
var JSCompiler_inline_result = false;
|
||||
} catch (e) {
|
||||
JSCompiler_inline_result = true;
|
||||
}
|
||||
if (JSCompiler_inline_result) {
|
||||
JSCompiler_inline_result = console;
|
||||
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
||||
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
||||
JSCompiler_temp_const.call(
|
||||
JSCompiler_inline_result,
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
JSCompiler_inline_result$jscomp$0
|
||||
);
|
||||
return testStringCoercion(value);
|
||||
}
|
||||
}
|
||||
function getTaskName(type) {
|
||||
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
||||
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
|
||||
return "<...>";
|
||||
try {
|
||||
var name = getComponentNameFromType(type);
|
||||
return name ? "<" + name + ">" : "<...>";
|
||||
} catch (x) {
|
||||
return "<...>";
|
||||
}
|
||||
}
|
||||
function getOwner() {
|
||||
var dispatcher = ReactSharedInternals.A;
|
||||
return null === dispatcher ? null : dispatcher.getOwner();
|
||||
}
|
||||
function UnknownOwner() {
|
||||
return Error("react-stack-top-frame");
|
||||
}
|
||||
function hasValidKey(config) {
|
||||
if (hasOwnProperty.call(config, "key")) {
|
||||
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
||||
if (getter && getter.isReactWarning) return false;
|
||||
}
|
||||
return void 0 !== config.key;
|
||||
}
|
||||
function defineKeyPropWarningGetter(props, displayName) {
|
||||
function warnAboutAccessingKey() {
|
||||
specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
|
||||
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
||||
displayName
|
||||
));
|
||||
}
|
||||
warnAboutAccessingKey.isReactWarning = true;
|
||||
Object.defineProperty(props, "key", {
|
||||
get: warnAboutAccessingKey,
|
||||
configurable: true
|
||||
});
|
||||
}
|
||||
function elementRefGetterWithDeprecationWarning() {
|
||||
var componentName = getComponentNameFromType(this.type);
|
||||
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
|
||||
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
||||
));
|
||||
componentName = this.props.ref;
|
||||
return void 0 !== componentName ? componentName : null;
|
||||
}
|
||||
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
||||
var refProp = props.ref;
|
||||
type = {
|
||||
$$typeof: REACT_ELEMENT_TYPE,
|
||||
type,
|
||||
key,
|
||||
props,
|
||||
_owner: owner
|
||||
};
|
||||
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
||||
enumerable: false,
|
||||
get: elementRefGetterWithDeprecationWarning
|
||||
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
||||
type._store = {};
|
||||
Object.defineProperty(type._store, "validated", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: 0
|
||||
});
|
||||
Object.defineProperty(type, "_debugInfo", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: null
|
||||
});
|
||||
Object.defineProperty(type, "_debugStack", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: debugStack
|
||||
});
|
||||
Object.defineProperty(type, "_debugTask", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: debugTask
|
||||
});
|
||||
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
||||
return type;
|
||||
}
|
||||
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
|
||||
var children = config.children;
|
||||
if (void 0 !== children)
|
||||
if (isStaticChildren)
|
||||
if (isArrayImpl(children)) {
|
||||
for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
|
||||
validateChildKeys(children[isStaticChildren]);
|
||||
Object.freeze && Object.freeze(children);
|
||||
} else
|
||||
console.error(
|
||||
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
||||
);
|
||||
else validateChildKeys(children);
|
||||
if (hasOwnProperty.call(config, "key")) {
|
||||
children = getComponentNameFromType(type);
|
||||
var keys = Object.keys(config).filter(function(k) {
|
||||
return "key" !== k;
|
||||
});
|
||||
isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
||||
didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
|
||||
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
||||
isStaticChildren,
|
||||
children,
|
||||
keys,
|
||||
children
|
||||
), didWarnAboutKeySpread[children + isStaticChildren] = true);
|
||||
}
|
||||
children = null;
|
||||
void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
|
||||
hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
|
||||
if ("key" in config) {
|
||||
maybeKey = {};
|
||||
for (var propName in config)
|
||||
"key" !== propName && (maybeKey[propName] = config[propName]);
|
||||
} else maybeKey = config;
|
||||
children && defineKeyPropWarningGetter(
|
||||
maybeKey,
|
||||
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
||||
);
|
||||
return ReactElement(
|
||||
type,
|
||||
children,
|
||||
maybeKey,
|
||||
getOwner(),
|
||||
debugStack,
|
||||
debugTask
|
||||
);
|
||||
}
|
||||
function validateChildKeys(node) {
|
||||
isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
|
||||
}
|
||||
function isValidElement(object) {
|
||||
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
||||
}
|
||||
var React = require_react(), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
||||
return null;
|
||||
};
|
||||
React = {
|
||||
react_stack_bottom_frame: function(callStackForError) {
|
||||
return callStackForError();
|
||||
}
|
||||
};
|
||||
var specialPropKeyWarningShown;
|
||||
var didWarnAboutElementRef = {};
|
||||
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
|
||||
React,
|
||||
UnknownOwner
|
||||
)();
|
||||
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
||||
var didWarnAboutKeySpread = {};
|
||||
exports.Fragment = REACT_FRAGMENT_TYPE;
|
||||
exports.jsxDEV = function(type, config, maybeKey, isStaticChildren) {
|
||||
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
||||
return jsxDEVImpl(
|
||||
type,
|
||||
config,
|
||||
maybeKey,
|
||||
isStaticChildren,
|
||||
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
||||
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
||||
);
|
||||
};
|
||||
})();
|
||||
}
|
||||
});
|
||||
|
||||
// ../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-dev-runtime.js
|
||||
var require_jsx_dev_runtime = __commonJS({
|
||||
"../../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-dev-runtime.js"(exports, module) {
|
||||
if (false) {
|
||||
module.exports = null;
|
||||
} else {
|
||||
module.exports = require_react_jsx_dev_runtime_development();
|
||||
}
|
||||
}
|
||||
});
|
||||
export default require_jsx_dev_runtime();
|
||||
//# sourceMappingURL=react_jsx-dev-runtime.js.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,6 @@
|
|||
import {
|
||||
require_jsx_runtime
|
||||
} from "./chunk-L53IR3KW.js";
|
||||
import "./chunk-776SV3ZX.js";
|
||||
import "./chunk-V4OQ3NZ2.js";
|
||||
export default require_jsx_runtime();
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
1247
factory/.context/vite-mock-cache/deps/styletron-engine-atomic.js
Normal file
1247
factory/.context/vite-mock-cache/deps/styletron-engine-atomic.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
50
factory/.context/vite-mock-cache/deps/styletron-react.js
Normal file
50
factory/.context/vite-mock-cache/deps/styletron-react.js
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
import {
|
||||
DebugEngine,
|
||||
Provider,
|
||||
autoComposeDeep,
|
||||
autoComposeShallow,
|
||||
composeDynamic,
|
||||
composeStatic,
|
||||
createDeepMergeReducer,
|
||||
createShallowMergeReducer,
|
||||
createStyled,
|
||||
createStyledElementComponent,
|
||||
dynamicComposeDeep,
|
||||
dynamicComposeShallow,
|
||||
init_dist_browser_esm2 as init_dist_browser_esm,
|
||||
resolveStyle,
|
||||
staticComposeDeep,
|
||||
staticComposeShallow,
|
||||
styled,
|
||||
useStyletron,
|
||||
withStyle,
|
||||
withStyleDeep,
|
||||
withTransform,
|
||||
withWrapper
|
||||
} from "./chunk-TFDFHE5Q.js";
|
||||
import "./chunk-776SV3ZX.js";
|
||||
import "./chunk-V4OQ3NZ2.js";
|
||||
init_dist_browser_esm();
|
||||
export {
|
||||
DebugEngine,
|
||||
Provider,
|
||||
autoComposeDeep,
|
||||
autoComposeShallow,
|
||||
composeDynamic,
|
||||
composeStatic,
|
||||
createDeepMergeReducer,
|
||||
createShallowMergeReducer,
|
||||
createStyled,
|
||||
createStyledElementComponent,
|
||||
dynamicComposeDeep,
|
||||
dynamicComposeShallow,
|
||||
resolveStyle,
|
||||
staticComposeDeep,
|
||||
staticComposeShallow,
|
||||
styled,
|
||||
useStyletron,
|
||||
withStyle,
|
||||
withStyleDeep,
|
||||
withTransform,
|
||||
withWrapper
|
||||
};
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue