X7ROOT File Manager
Current Path:
/home/notabjze/pyirates.net/wp-includes/js/dist
home
/
notabjze
/
pyirates.net
/
wp-includes
/
js
/
dist
/
ðŸ“
..
📄
a11y.js
(8.36 KB)
📄
a11y.min.js
(2.3 KB)
📄
annotations.js
(23 KB)
📄
annotations.min.js
(5.39 KB)
📄
api-fetch.js
(22.82 KB)
📄
api-fetch.min.js
(5.37 KB)
📄
autop.js
(15.83 KB)
📄
autop.min.js
(5.48 KB)
📄
blob.js
(4.68 KB)
📄
blob.min.js
(1.08 KB)
📄
block-directory.js
(78.92 KB)
📄
block-directory.min.js
(20.28 KB)
📄
block-editor.js
(2.43 MB)
📄
block-editor.min.js
(794.02 KB)
📄
block-library.js
(2.04 MB)
📄
block-library.min.js
(815.31 KB)
📄
block-serialization-default-parser.js
(14.87 KB)
📄
block-serialization-default-parser.min.js
(2.34 KB)
📄
blocks.js
(539.33 KB)
📄
blocks.min.js
(167.24 KB)
📄
commands.js
(175.5 KB)
📄
commands.min.js
(45.2 KB)
📄
components.js
(2.3 MB)
📄
components.min.js
(679.85 KB)
📄
compose.js
(197.21 KB)
📄
compose.min.js
(36.61 KB)
📄
core-commands.js
(22.02 KB)
📄
core-commands.min.js
(7.92 KB)
📄
core-data.js
(246.24 KB)
📄
core-data.min.js
(59.51 KB)
📄
customize-widgets.js
(97.11 KB)
📄
customize-widgets.min.js
(34.19 KB)
📄
data-controls.js
(7.14 KB)
📄
data-controls.min.js
(1.44 KB)
📄
data.js
(154.56 KB)
📄
data.min.js
(26.46 KB)
📄
date.js
(798.19 KB)
📄
date.min.js
(765.07 KB)
📄
deprecated.js
(4.63 KB)
📄
deprecated.min.js
(684 B)
ðŸ“
development
📄
dom-ready.js
(2.41 KB)
📄
dom-ready.min.js
(457 B)
📄
dom.js
(61.46 KB)
📄
dom.min.js
(12.19 KB)
📄
edit-post.js
(113.97 KB)
📄
edit-post.min.js
(39.27 KB)
📄
edit-site.js
(1.44 MB)
📄
edit-site.min.js
(575.93 KB)
📄
edit-widgets.js
(174.18 KB)
📄
edit-widgets.min.js
(57.63 KB)
📄
editor.js
(979.45 KB)
📄
editor.min.js
(318.42 KB)
📄
element.js
(65.63 KB)
📄
element.min.js
(11.7 KB)
📄
escape-html.js
(6.07 KB)
📄
escape-html.min.js
(1000 B)
📄
format-library.js
(67.52 KB)
📄
format-library.min.js
(22.3 KB)
📄
hooks.js
(19.27 KB)
📄
hooks.min.js
(4.21 KB)
📄
html-entities.js
(3.62 KB)
📄
html-entities.min.js
(788 B)
📄
i18n.js
(48.74 KB)
📄
i18n.min.js
(8.93 KB)
📄
interactivity-router.asset.php
(84 B)
📄
interactivity-router.js
(11.7 KB)
📄
interactivity-router.min.asset.php
(84 B)
📄
interactivity-router.min.js
(2.96 KB)
📄
interactivity.js
(95.62 KB)
📄
interactivity.min.js
(35.83 KB)
📄
is-shallow-equal.js
(4.25 KB)
📄
is-shallow-equal.min.js
(1018 B)
📄
keyboard-shortcuts.js
(24.17 KB)
📄
keyboard-shortcuts.min.js
(2.95 KB)
📄
keycodes.js
(13.77 KB)
📄
keycodes.min.js
(2.58 KB)
📄
list-reusable-blocks.js
(29.89 KB)
📄
list-reusable-blocks.min.js
(4.67 KB)
📄
media-utils.js
(22.27 KB)
📄
media-utils.min.js
(7.19 KB)
📄
notices.js
(21.64 KB)
📄
notices.min.js
(2.02 KB)
📄
nux.js
(13.19 KB)
📄
nux.min.js
(3.34 KB)
📄
patterns.js
(62.93 KB)
📄
patterns.min.js
(20.77 KB)
📄
plugins.js
(17.72 KB)
📄
plugins.min.js
(4.05 KB)
📄
preferences-persistence.js
(29.58 KB)
📄
preferences-persistence.min.js
(5.49 KB)
📄
preferences.js
(25.7 KB)
📄
preferences.min.js
(6.91 KB)
📄
primitives.js
(6.73 KB)
📄
primitives.min.js
(1.62 KB)
📄
priority-queue.js
(13.91 KB)
📄
priority-queue.min.js
(3.3 KB)
📄
private-apis.js
(8.66 KB)
📄
private-apis.min.js
(2.72 KB)
📄
redux-routine.js
(23.42 KB)
📄
redux-routine.min.js
(8.69 KB)
📄
reusable-blocks.js
(20.85 KB)
📄
reusable-blocks.min.js
(6.17 KB)
📄
rich-text.js
(115.12 KB)
📄
rich-text.min.js
(29.11 KB)
📄
router.js
(26.28 KB)
📄
router.min.js
(4.29 KB)
📄
server-side-render.js
(14.61 KB)
📄
server-side-render.min.js
(4.28 KB)
📄
shortcode.js
(14.92 KB)
📄
shortcode.min.js
(2.83 KB)
📄
style-engine.js
(37.54 KB)
📄
style-engine.min.js
(5.79 KB)
📄
token-list.js
(6.44 KB)
📄
token-list.min.js
(1.23 KB)
📄
undo-manager.js
(8.22 KB)
📄
undo-manager.min.js
(1.64 KB)
📄
url.js
(33.48 KB)
📄
url.min.js
(8.03 KB)
ðŸ“
vendor
📄
viewport.js
(10.45 KB)
📄
viewport.min.js
(1.82 KB)
📄
warning.js
(2.46 KB)
📄
warning.min.js
(311 B)
📄
widgets.js
(53.29 KB)
📄
widgets.min.js
(19.67 KB)
📄
wordcount.js
(14.63 KB)
📄
wordcount.min.js
(2.42 KB)
Editing: viewport.js
/******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ // The require scope /******/ var __webpack_require__ = {}; /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = (exports, definition) => { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ (() => { /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ (() => { /******/ // define __esModule on exports /******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ })(); /******/ /************************************************************************/ var __webpack_exports__ = {}; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { ifViewportMatches: () => (/* reexport */ if_viewport_matches), store: () => (/* reexport */ store), withViewportMatch: () => (/* reexport */ with_viewport_match) }); // NAMESPACE OBJECT: ./node_modules/@wordpress/viewport/build-module/store/actions.js var actions_namespaceObject = {}; __webpack_require__.r(actions_namespaceObject); __webpack_require__.d(actions_namespaceObject, { setIsMatching: () => (setIsMatching) }); // NAMESPACE OBJECT: ./node_modules/@wordpress/viewport/build-module/store/selectors.js var selectors_namespaceObject = {}; __webpack_require__.r(selectors_namespaceObject); __webpack_require__.d(selectors_namespaceObject, { isViewportMatch: () => (isViewportMatch) }); ;// CONCATENATED MODULE: external ["wp","compose"] const external_wp_compose_namespaceObject = window["wp"]["compose"]; ;// CONCATENATED MODULE: external ["wp","data"] const external_wp_data_namespaceObject = window["wp"]["data"]; ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/reducer.js /** * Reducer returning the viewport state, as keys of breakpoint queries with * boolean value representing whether query is matched. * * @param {Object} state Current state. * @param {Object} action Dispatched action. * * @return {Object} Updated state. */ function reducer(state = {}, action) { switch (action.type) { case 'SET_IS_MATCHING': return action.values; } return state; } /* harmony default export */ const store_reducer = (reducer); ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/actions.js /** * Returns an action object used in signalling that viewport queries have been * updated. Values are specified as an object of breakpoint query keys where * value represents whether query matches. * Ignored from documentation as it is for internal use only. * * @ignore * * @param {Object} values Breakpoint query matches. * * @return {Object} Action object. */ function setIsMatching(values) { return { type: 'SET_IS_MATCHING', values }; } ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/selectors.js /** * Returns true if the viewport matches the given query, or false otherwise. * * @param {Object} state Viewport state object. * @param {string} query Query string. Includes operator and breakpoint name, * space separated. Operator defaults to >=. * * @example * * ```js * import { store as viewportStore } from '@wordpress/viewport'; * import { useSelect } from '@wordpress/data'; * import { __ } from '@wordpress/i18n'; * const ExampleComponent = () => { * const isMobile = useSelect( * ( select ) => select( viewportStore ).isViewportMatch( '< small' ), * [] * ); * * return isMobile ? ( * <div>{ __( 'Mobile' ) }</div> * ) : ( * <div>{ __( 'Not Mobile' ) }</div> * ); * }; * ``` * * @return {boolean} Whether viewport matches query. */ function isViewportMatch(state, query) { // Default to `>=` if no operator is present. if (query.indexOf(' ') === -1) { query = '>= ' + query; } return !!state[query]; } ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/index.js /** * WordPress dependencies */ /** * Internal dependencies */ const STORE_NAME = 'core/viewport'; /** * Store definition for the viewport namespace. * * @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/data/README.md#createReduxStore * * @type {Object} */ const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, { reducer: store_reducer, actions: actions_namespaceObject, selectors: selectors_namespaceObject }); (0,external_wp_data_namespaceObject.register)(store); ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/listener.js /** * WordPress dependencies */ /** * Internal dependencies */ const addDimensionsEventListener = (breakpoints, operators) => { /** * Callback invoked when media query state should be updated. Is invoked a * maximum of one time per call stack. */ const setIsMatching = (0,external_wp_compose_namespaceObject.debounce)(() => { const values = Object.fromEntries(queries.map(([key, query]) => [key, query.matches])); (0,external_wp_data_namespaceObject.dispatch)(store).setIsMatching(values); }, 0, { leading: true }); /** * Hash of breakpoint names with generated MediaQueryList for corresponding * media query. * * @see https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList * * @type {Object<string,MediaQueryList>} */ const operatorEntries = Object.entries(operators); const queries = Object.entries(breakpoints).flatMap(([name, width]) => { return operatorEntries.map(([operator, condition]) => { const list = window.matchMedia(`(${condition}: ${width}px)`); list.addEventListener('change', setIsMatching); return [`${operator} ${name}`, list]; }); }); window.addEventListener('orientationchange', setIsMatching); // Set initial values. setIsMatching(); setIsMatching.flush(); }; /* harmony default export */ const listener = (addDimensionsEventListener); ;// CONCATENATED MODULE: external "ReactJSXRuntime" const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"]; ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/with-viewport-match.js /** * WordPress dependencies */ /** * Higher-order component creator, creating a new component which renders with * the given prop names, where the value passed to the underlying component is * the result of the query assigned as the object's value. * * @see isViewportMatch * * @param {Object} queries Object of prop name to viewport query. * * @example * * ```jsx * function MyComponent( { isMobile } ) { * return ( * <div>Currently: { isMobile ? 'Mobile' : 'Not Mobile' }</div> * ); * } * * MyComponent = withViewportMatch( { isMobile: '< small' } )( MyComponent ); * ``` * * @return {Function} Higher-order component. */ const withViewportMatch = queries => { const queryEntries = Object.entries(queries); const useViewPortQueriesResult = () => Object.fromEntries(queryEntries.map(([key, query]) => { let [operator, breakpointName] = query.split(' '); if (breakpointName === undefined) { breakpointName = operator; operator = '>='; } // Hooks should unconditionally execute in the same order, // we are respecting that as from the static query of the HOC we generate // a hook that calls other hooks always in the same order (because the query never changes). // eslint-disable-next-line react-hooks/rules-of-hooks return [key, (0,external_wp_compose_namespaceObject.useViewportMatch)(breakpointName, operator)]; })); return (0,external_wp_compose_namespaceObject.createHigherOrderComponent)(WrappedComponent => { return (0,external_wp_compose_namespaceObject.pure)(props => { const queriesResult = useViewPortQueriesResult(); return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(WrappedComponent, { ...props, ...queriesResult }); }); }, 'withViewportMatch'); }; /* harmony default export */ const with_viewport_match = (withViewportMatch); ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/if-viewport-matches.js /** * WordPress dependencies */ /** * Internal dependencies */ /** * Higher-order component creator, creating a new component which renders if * the viewport query is satisfied. * * @see withViewportMatches * * @param {string} query Viewport query. * * @example * * ```jsx * function MyMobileComponent() { * return <div>I'm only rendered on mobile viewports!</div>; * } * * MyMobileComponent = ifViewportMatches( '< small' )( MyMobileComponent ); * ``` * * @return {Function} Higher-order component. */ const ifViewportMatches = query => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)((0,external_wp_compose_namespaceObject.compose)([with_viewport_match({ isViewportMatch: query }), (0,external_wp_compose_namespaceObject.ifCondition)(props => props.isViewportMatch)]), 'ifViewportMatches'); /* harmony default export */ const if_viewport_matches = (ifViewportMatches); ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/index.js /** * Internal dependencies */ /** * Hash of breakpoint names with pixel width at which it becomes effective. * * @see _breakpoints.scss * * @type {Object} */ const BREAKPOINTS = { huge: 1440, wide: 1280, large: 960, medium: 782, small: 600, mobile: 480 }; /** * Hash of query operators with corresponding condition for media query. * * @type {Object} */ const OPERATORS = { '<': 'max-width', '>=': 'min-width' }; listener(BREAKPOINTS, OPERATORS); (window.wp = window.wp || {}).viewport = __webpack_exports__; /******/ })() ;
Upload File
Create Folder