Ghost Exploiter Team Official
/
home2
/
warripp1
/
www
/
wp-includes
/
js
/
dist
/
Nama File / Folder
Size
Action
development
--
NONE
script-modules
--
NONE
vendor
--
NONE
a11y.js
5.453KB
Hapus
Edit
Rename
a11y.min.js
2.444KB
Hapus
Edit
Rename
annotations.js
15.13KB
Hapus
Edit
Rename
annotations.min.js
5.618KB
Hapus
Edit
Rename
api-fetch.js
17.456KB
Hapus
Edit
Rename
api-fetch.min.js
6.32KB
Hapus
Edit
Rename
autop.js
9.729KB
Hapus
Edit
Rename
autop.min.js
5.505KB
Hapus
Edit
Rename
base-styles.js
0.047KB
Hapus
Edit
Rename
base-styles.min.js
0.073KB
Hapus
Edit
Rename
blob.js
2.3KB
Hapus
Edit
Rename
blob.min.js
1.16KB
Hapus
Edit
Rename
block-directory.js
55.67KB
Hapus
Edit
Rename
block-directory.min.js
21.955KB
Hapus
Edit
Rename
block-editor.js
2.7MB
Hapus
Edit
Rename
block-editor.min.js
1.01MB
Hapus
Edit
Rename
block-library.js
2.57MB
Hapus
Edit
Rename
block-serialization-default-parser.js
6.538KB
Hapus
Edit
Rename
block-serialization-default-parser.min.js
2.394KB
Hapus
Edit
Rename
block-serialization-spec-parser.js
50.481KB
Hapus
Edit
Rename
block-serialization-spec-parser.min.js
10.376KB
Hapus
Edit
Rename
blocks.js
381.061KB
Hapus
Edit
Rename
blocks.min.js
180.617KB
Hapus
Edit
Rename
commands.js
151.705KB
Hapus
Edit
Rename
commands.min.js
63.138KB
Hapus
Edit
Rename
components.js
3.83MB
Hapus
Edit
Rename
components.min.js
786.277KB
Hapus
Edit
Rename
compose.js
80.75KB
Hapus
Edit
Rename
compose.min.js
28.18KB
Hapus
Edit
Rename
core-commands.js
28.679KB
Hapus
Edit
Rename
core-commands.min.js
11.868KB
Hapus
Edit
Rename
core-data.js
612.029KB
Hapus
Edit
Rename
core-data.min.js
210.465KB
Hapus
Edit
Rename
customize-widgets.js
91.572KB
Hapus
Edit
Rename
customize-widgets.min.js
36.615KB
Hapus
Edit
Rename
data-controls.js
4.131KB
Hapus
Edit
Rename
data-controls.min.js
1.771KB
Hapus
Edit
Rename
data.js
82.784KB
Hapus
Edit
Rename
data.min.js
25.918KB
Hapus
Edit
Rename
date.js
176.344KB
Hapus
Edit
Rename
date.min.js
141.219KB
Hapus
Edit
Rename
deprecated.js
3.04KB
Hapus
Edit
Rename
deprecated.min.js
1.284KB
Hapus
Edit
Rename
dom-ready.js
1.473KB
Hapus
Edit
Rename
dom-ready.min.js
0.799KB
Hapus
Edit
Rename
dom.js
34.614KB
Hapus
Edit
Rename
dom.min.js
12.65KB
Hapus
Edit
Rename
edit-post.js
117.396KB
Hapus
Edit
Rename
edit-post.min.js
49.105KB
Hapus
Edit
Rename
edit-site.js
1.69MB
Hapus
Edit
Rename
edit-site.min.js
684.453KB
Hapus
Edit
Rename
edit-widgets.js
160.248KB
Hapus
Edit
Rename
edit-widgets.min.js
61.859KB
Hapus
Edit
Rename
editor.js
2.5MB
Hapus
Edit
Rename
editor.min.js
1021.631KB
Hapus
Edit
Rename
element.js
27.932KB
Hapus
Edit
Rename
element.min.js
12.166KB
Hapus
Edit
Rename
escape-html.js
2.291KB
Hapus
Edit
Rename
escape-html.min.js
1.065KB
Hapus
Edit
Rename
format-library.js
73.339KB
Hapus
Edit
Rename
format-library.min.js
28.882KB
Hapus
Edit
Rename
hooks.js
11.955KB
Hapus
Edit
Rename
hooks.min.js
4.932KB
Hapus
Edit
Rename
html-entities.js
1.646KB
Hapus
Edit
Rename
html-entities.min.js
0.858KB
Hapus
Edit
Rename
i18n.js
15.303KB
Hapus
Edit
Rename
i18n.min.js
5.598KB
Hapus
Edit
Rename
is-shallow-equal.js
2.693KB
Hapus
Edit
Rename
is-shallow-equal.min.js
1.096KB
Hapus
Edit
Rename
keyboard-shortcuts.js
9.681KB
Hapus
Edit
Rename
keyboard-shortcuts.min.js
3.444KB
Hapus
Edit
Rename
keycodes.js
8.302KB
Hapus
Edit
Rename
keycodes.min.js
2.905KB
Hapus
Edit
Rename
list-reusable-blocks.js
13.061KB
Hapus
Edit
Rename
list-reusable-blocks.min.js
5.241KB
Hapus
Edit
Rename
media-utils.js
637.146KB
Hapus
Edit
Rename
media-utils.min.js
237.64KB
Hapus
Edit
Rename
notices.js
10.113KB
Hapus
Edit
Rename
notices.min.js
4.384KB
Hapus
Edit
Rename
nux.js
10.324KB
Hapus
Edit
Rename
nux.min.js
3.953KB
Hapus
Edit
Rename
patterns.js
58.246KB
Hapus
Edit
Rename
patterns.min.js
21.633KB
Hapus
Edit
Rename
plugins.js
11.671KB
Hapus
Edit
Rename
plugins.min.js
4.756KB
Hapus
Edit
Rename
preferences-persistence.js
17.216KB
Hapus
Edit
Rename
preferences-persistence.min.js
5.49KB
Hapus
Edit
Rename
preferences.js
21.068KB
Hapus
Edit
Rename
preferences.min.js
7.714KB
Hapus
Edit
Rename
primitives.js
5.081KB
Hapus
Edit
Rename
primitives.min.js
1.979KB
Hapus
Edit
Rename
priority-queue.js
10.024KB
Hapus
Edit
Rename
priority-queue.min.js
3.352KB
Hapus
Edit
Rename
private-apis.js
4.094KB
Hapus
Edit
Rename
private-apis.min.js
2.659KB
Hapus
Edit
Rename
react-i18n.js
3.905KB
Hapus
Edit
Rename
react-i18n.min.js
1.525KB
Hapus
Edit
Rename
redux-routine.js
24.683KB
Hapus
Edit
Rename
redux-routine.min.js
9.649KB
Hapus
Edit
Rename
reusable-blocks.js
20.512KB
Hapus
Edit
Rename
reusable-blocks.min.js
7.223KB
Hapus
Edit
Rename
rich-text.js
97.037KB
Hapus
Edit
Rename
rich-text.min.js
39.89KB
Hapus
Edit
Rename
router.js
36.12KB
Hapus
Edit
Rename
router.min.js
14.131KB
Hapus
Edit
Rename
server-side-render.js
10.968KB
Hapus
Edit
Rename
server-side-render.min.js
3.94KB
Hapus
Edit
Rename
shortcode.js
7.959KB
Hapus
Edit
Rename
shortcode.min.js
3.282KB
Hapus
Edit
Rename
style-engine.js
17.617KB
Hapus
Edit
Rename
style-engine.min.js
6.415KB
Hapus
Edit
Rename
theme.js
127.647KB
Hapus
Edit
Rename
theme.min.js
56.118KB
Hapus
Edit
Rename
token-list.js
6.115KB
Hapus
Edit
Rename
token-list.min.js
1.619KB
Hapus
Edit
Rename
undo-manager.js
5.295KB
Hapus
Edit
Rename
undo-manager.min.js
1.698KB
Hapus
Edit
Rename
upload-media.js
55.666KB
Hapus
Edit
Rename
upload-media.min.js
23.053KB
Hapus
Edit
Rename
url.js
23.39KB
Hapus
Edit
Rename
url.min.js
10.127KB
Hapus
Edit
Rename
viewport.js
6.606KB
Hapus
Edit
Rename
viewport.min.js
2.243KB
Hapus
Edit
Rename
warning.js
1.522KB
Hapus
Edit
Rename
warning.min.js
0.737KB
Hapus
Edit
Rename
widgets.js
50.08KB
Hapus
Edit
Rename
widgets.min.js
20.827KB
Hapus
Edit
Rename
wordcount.js
6.935KB
Hapus
Edit
Rename
wordcount.min.js
2.446KB
Hapus
Edit
Rename
"use strict"; var wp; (wp ||= {}).preferences = (() => { 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 __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); // package-external:@wordpress/data var require_data = __commonJS({ "package-external:@wordpress/data"(exports, module) { module.exports = window.wp.data; } }); // package-external:@wordpress/components var require_components = __commonJS({ "package-external:@wordpress/components"(exports, module) { module.exports = window.wp.components; } }); // package-external:@wordpress/i18n var require_i18n = __commonJS({ "package-external:@wordpress/i18n"(exports, module) { module.exports = window.wp.i18n; } }); // package-external:@wordpress/element var require_element = __commonJS({ "package-external:@wordpress/element"(exports, module) { module.exports = window.wp.element; } }); // package-external:@wordpress/primitives var require_primitives = __commonJS({ "package-external:@wordpress/primitives"(exports, module) { module.exports = window.wp.primitives; } }); // vendor-external:react/jsx-runtime var require_jsx_runtime = __commonJS({ "vendor-external:react/jsx-runtime"(exports, module) { module.exports = window.ReactJSXRuntime; } }); // package-external:@wordpress/a11y var require_a11y = __commonJS({ "package-external:@wordpress/a11y"(exports, module) { module.exports = window.wp.a11y; } }); // package-external:@wordpress/deprecated var require_deprecated = __commonJS({ "package-external:@wordpress/deprecated"(exports, module) { module.exports = window.wp.deprecated; } }); // package-external:@wordpress/compose var require_compose = __commonJS({ "package-external:@wordpress/compose"(exports, module) { module.exports = window.wp.compose; } }); // package-external:@wordpress/private-apis var require_private_apis = __commonJS({ "package-external:@wordpress/private-apis"(exports, module) { module.exports = window.wp.privateApis; } }); // packages/preferences/build-module/index.mjs var index_exports = {}; __export(index_exports, { PreferenceToggleMenuItem: () => PreferenceToggleMenuItem, privateApis: () => privateApis, store: () => store }); // packages/preferences/build-module/components/preference-toggle-menu-item/index.mjs var import_data3 = __toESM(require_data(), 1); var import_components = __toESM(require_components(), 1); var import_i18n = __toESM(require_i18n(), 1); // packages/icons/build-module/icon/index.mjs var import_element = __toESM(require_element(), 1); var icon_default = (0, import_element.forwardRef)( ({ icon, size = 24, ...props }, ref) => { return (0, import_element.cloneElement)(icon, { width: size, height: size, ...props, ref }); } ); // packages/icons/build-module/library/check.mjs var import_primitives = __toESM(require_primitives(), 1); var import_jsx_runtime = __toESM(require_jsx_runtime(), 1); var check_default = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_primitives.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_primitives.Path, { d: "M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z" }) }); // packages/icons/build-module/library/chevron-left.mjs var import_primitives2 = __toESM(require_primitives(), 1); var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1); var chevron_left_default = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_primitives2.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_primitives2.Path, { d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z" }) }); // packages/icons/build-module/library/chevron-right.mjs var import_primitives3 = __toESM(require_primitives(), 1); var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1); var chevron_right_default = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_primitives3.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_primitives3.Path, { d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z" }) }); // packages/preferences/build-module/components/preference-toggle-menu-item/index.mjs var import_a11y = __toESM(require_a11y(), 1); // packages/preferences/build-module/store/index.mjs var import_data2 = __toESM(require_data(), 1); // packages/preferences/build-module/store/reducer.mjs var import_data = __toESM(require_data(), 1); function defaults(state = {}, action) { if (action.type === "SET_PREFERENCE_DEFAULTS") { const { scope, defaults: values } = action; return { ...state, [scope]: { ...state[scope], ...values } }; } return state; } function withPersistenceLayer(reducer) { let persistenceLayer; return (state, action) => { if (action.type === "SET_PERSISTENCE_LAYER") { const { persistenceLayer: persistence, persistedData } = action; persistenceLayer = persistence; return persistedData; } const nextState = reducer(state, action); if (action.type === "SET_PREFERENCE_VALUE") { persistenceLayer?.set(nextState); } return nextState; }; } var preferences = withPersistenceLayer((state = {}, action) => { if (action.type === "SET_PREFERENCE_VALUE") { const { scope, name, value } = action; return { ...state, [scope]: { ...state[scope], [name]: value } }; } return state; }); var reducer_default = (0, import_data.combineReducers)({ defaults, preferences }); // packages/preferences/build-module/store/actions.mjs var actions_exports = {}; __export(actions_exports, { set: () => set, setDefaults: () => setDefaults, setPersistenceLayer: () => setPersistenceLayer, toggle: () => toggle }); function toggle(scope, name) { return function({ select, dispatch }) { const currentValue = select.get(scope, name); dispatch.set(scope, name, !currentValue); }; } function set(scope, name, value) { return { type: "SET_PREFERENCE_VALUE", scope, name, value }; } function setDefaults(scope, defaults2) { return { type: "SET_PREFERENCE_DEFAULTS", scope, defaults: defaults2 }; } async function setPersistenceLayer(persistenceLayer) { const persistedData = await persistenceLayer.get(); return { type: "SET_PERSISTENCE_LAYER", persistenceLayer, persistedData }; } // packages/preferences/build-module/store/selectors.mjs var selectors_exports = {}; __export(selectors_exports, { get: () => get }); var import_deprecated = __toESM(require_deprecated(), 1); var withDeprecatedKeys = (originalGet) => (state, scope, name) => { const settingsToMoveToCore = [ "allowRightClickOverrides", "distractionFree", "editorMode", "fixedToolbar", "focusMode", "hiddenBlockTypes", "inactivePanels", "keepCaretInsideBlock", "mostUsedBlocks", "openPanels", "showBlockBreadcrumbs", "showIconLabels", "showListViewByDefault", "isPublishSidebarEnabled", "isComplementaryAreaVisible", "pinnedItems" ]; if (settingsToMoveToCore.includes(name) && ["core/edit-post", "core/edit-site"].includes(scope)) { (0, import_deprecated.default)( `wp.data.select( 'core/preferences' ).get( '${scope}', '${name}' )`, { since: "6.5", alternative: `wp.data.select( 'core/preferences' ).get( 'core', '${name}' )` } ); return originalGet(state, "core", name); } return originalGet(state, scope, name); }; var get = withDeprecatedKeys( (state, scope, name) => { const value = state.preferences[scope]?.[name]; return value !== void 0 ? value : state.defaults[scope]?.[name]; } ); // packages/preferences/build-module/store/constants.mjs var STORE_NAME = "core/preferences"; // packages/preferences/build-module/store/index.mjs var store = (0, import_data2.createReduxStore)(STORE_NAME, { reducer: reducer_default, actions: actions_exports, selectors: selectors_exports }); (0, import_data2.register)(store); // packages/preferences/build-module/components/preference-toggle-menu-item/index.mjs var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1); function PreferenceToggleMenuItem({ scope, name, label, info, messageActivated, messageDeactivated, shortcut, handleToggling = true, onToggle = () => null, disabled = false }) { const isActive = (0, import_data3.useSelect)( (select) => !!select(store).get(scope, name), [scope, name] ); const { toggle: toggle2 } = (0, import_data3.useDispatch)(store); const speakMessage = () => { if (isActive) { const message = messageDeactivated || (0, import_i18n.sprintf)( /* translators: %s: preference name, e.g. 'Fullscreen mode' */ (0, import_i18n.__)("Preference deactivated - %s"), label ); (0, import_a11y.speak)(message); } else { const message = messageActivated || (0, import_i18n.sprintf)( /* translators: %s: preference name, e.g. 'Fullscreen mode' */ (0, import_i18n.__)("Preference activated - %s"), label ); (0, import_a11y.speak)(message); } }; return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)( import_components.MenuItem, { icon: isActive ? check_default : null, isSelected: isActive, onClick: () => { onToggle(); if (handleToggling) { toggle2(scope, name); } speakMessage(); }, role: "menuitemcheckbox", info, shortcut, disabled, children: label } ); } // packages/preferences/build-module/components/preference-base-option/index.mjs var import_components2 = __toESM(require_components(), 1); var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1); function BaseOption({ help, label, isChecked, onChange, children }) { return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "preference-base-option", children: [ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)( import_components2.ToggleControl, { help, label, checked: isChecked, onChange } ), children ] }); } var preference_base_option_default = BaseOption; // packages/preferences/build-module/components/preference-toggle-control/index.mjs var import_data4 = __toESM(require_data(), 1); var import_jsx_runtime6 = __toESM(require_jsx_runtime(), 1); function PreferenceToggleControl(props) { const { scope, featureName, onToggle = () => { }, ...remainingProps } = props; const isChecked = (0, import_data4.useSelect)( (select) => !!select(store).get(scope, featureName), [scope, featureName] ); const { toggle: toggle2 } = (0, import_data4.useDispatch)(store); const onChange = () => { onToggle(); toggle2(scope, featureName); }; return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)( preference_base_option_default, { ...remainingProps, onChange, isChecked } ); } var preference_toggle_control_default = PreferenceToggleControl; // packages/preferences/build-module/components/preferences-modal/index.mjs var import_components3 = __toESM(require_components(), 1); var import_i18n2 = __toESM(require_i18n(), 1); var import_jsx_runtime7 = __toESM(require_jsx_runtime(), 1); function PreferencesModal({ closeModal, children }) { return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)( import_components3.Modal, { className: "preferences-modal", title: (0, import_i18n2.__)("Preferences"), onRequestClose: closeModal, children } ); } // packages/preferences/build-module/components/preferences-modal-section/index.mjs var import_jsx_runtime8 = __toESM(require_jsx_runtime(), 1); var Section = ({ description, title, children }) => /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("fieldset", { className: "preferences-modal__section", children: [ /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("legend", { className: "preferences-modal__section-legend", children: [ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h2", { className: "preferences-modal__section-title", children: title }), description && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("p", { className: "preferences-modal__section-description", children: description }) ] }), /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "preferences-modal__section-content", children }) ] }); var preferences_modal_section_default = Section; // packages/preferences/build-module/components/preferences-modal-tabs/index.mjs var import_compose = __toESM(require_compose(), 1); var import_components4 = __toESM(require_components(), 1); var import_element2 = __toESM(require_element(), 1); var import_i18n3 = __toESM(require_i18n(), 1); // packages/preferences/build-module/lock-unlock.mjs var import_private_apis = __toESM(require_private_apis(), 1); var { lock, unlock } = (0, import_private_apis.__dangerousOptInToUnstableAPIsOnlyForCoreModules)( "I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.", "@wordpress/preferences" ); // packages/preferences/build-module/components/preferences-modal-tabs/index.mjs var import_jsx_runtime9 = __toESM(require_jsx_runtime(), 1); var { Tabs } = unlock(import_components4.privateApis); var PREFERENCES_MENU = "preferences-menu"; function PreferencesModalTabs({ sections }) { const isLargeViewport = (0, import_compose.useViewportMatch)("medium"); const [activeMenu, setActiveMenu] = (0, import_element2.useState)(PREFERENCES_MENU); const { tabs, sectionsContentMap } = (0, import_element2.useMemo)(() => { let mappedTabs = { tabs: [], sectionsContentMap: {} }; if (sections.length) { mappedTabs = sections.reduce( (accumulator, { name, tabLabel: title, content }) => { accumulator.tabs.push({ name, title }); accumulator.sectionsContentMap[name] = content; return accumulator; }, { tabs: [], sectionsContentMap: {} } ); } return mappedTabs; }, [sections]); let modalContent; if (isLargeViewport) { modalContent = /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "preferences__tabs", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)( Tabs, { defaultTabId: activeMenu !== PREFERENCES_MENU ? activeMenu : void 0, onSelect: setActiveMenu, orientation: "vertical", children: [ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Tabs.TabList, { className: "preferences__tabs-tablist", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)( Tabs.Tab, { tabId: tab.name, className: "preferences__tabs-tab", children: tab.title }, tab.name )) }), tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)( Tabs.TabPanel, { tabId: tab.name, className: "preferences__tabs-tabpanel", focusable: false, children: sectionsContentMap[tab.name] || null }, tab.name )) ] } ) }); } else { modalContent = /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_components4.Navigator, { initialPath: "/", className: "preferences__provider", children: [ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components4.Navigator.Screen, { path: "/", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components4.Card, { isBorderless: true, size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components4.CardBody, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components4.__experimentalItemGroup, { children: tabs.map((tab) => { return ( // @ts-expect-error: Navigator.Button is currently typed in a way that prevents Item from being passed in /* @__PURE__ */ (0, import_jsx_runtime9.jsx)( import_components4.Navigator.Button, { path: `/${tab.name}`, as: import_components4.__experimentalItem, isAction: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_components4.__experimentalHStack, { justify: "space-between", children: [ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components4.FlexItem, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components4.__experimentalTruncate, { children: tab.title }) }), /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components4.FlexItem, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)( icon_default, { icon: (0, import_i18n3.isRTL)() ? chevron_left_default : chevron_right_default } ) }) ] }) }, tab.name ) ); }) }) }) }) }), sections.length && sections.map((section) => { return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)( import_components4.Navigator.Screen, { path: `/${section.name}`, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_components4.Card, { isBorderless: true, size: "large", children: [ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)( import_components4.CardHeader, { isBorderless: false, justify: "left", size: "small", gap: "6", as: "div", children: [ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)( import_components4.Navigator.BackButton, { icon: (0, import_i18n3.isRTL)() ? chevron_right_default : chevron_left_default, label: (0, import_i18n3.__)("Back") } ), /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components4.__experimentalText, { size: "16", children: section.tabLabel }) ] } ), /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components4.CardBody, { children: section.content }) ] }) }, `${section.name}-menu` ); }) ] }); } return modalContent; } // packages/preferences/build-module/private-apis.mjs var privateApis = {}; lock(privateApis, { PreferenceBaseOption: preference_base_option_default, PreferenceToggleControl: preference_toggle_control_default, PreferencesModal, PreferencesModalSection: preferences_modal_section_default, PreferencesModalTabs }); return __toCommonJS(index_exports); })();