/
home
/
vianto5
/
realtylifestyleproperties.mx
/
wp-includes
/
js
/
dist
/
/home/vianto5/realtylifestyleproperties.mx/wp-includes/js/dist
mkdir
upload
Name
Size
Mode
Actions
development/
-
0755
rm
script-modules/
-
0755
rm
vendor/
-
0755
rm
a11y.js
8570
0644
edit
dl
rm
a11y.min.js
2358
0644
edit
dl
rm
annotations.js
23335
0644
edit
dl
rm
annotations.min.js
5521
0644
edit
dl
rm
api-fetch.js
23874
0644
edit
dl
rm
api-fetch.min.js
5838
0644
edit
dl
rm
autop.js
15982
0644
edit
dl
rm
autop.min.js
5614
0644
edit
dl
rm
blob.js
4622
0644
edit
dl
rm
blob.min.js
1108
0644
edit
dl
rm
block-directory.js
80526
0644
edit
dl
rm
block-directory.min.js
20734
0644
edit
dl
rm
block-editor.js
2724345
0644
edit
dl
rm
block-editor.min.js
865941
0644
edit
dl
rm
block-library.js
2232874
0644
edit
dl
rm
block-library.min.js
876704
0644
edit
dl
rm
block-serialization-default-parser.js
15228
0644
edit
dl
rm
block-serialization-default-parser.min.js
2400
0644
edit
dl
rm
blocks.js
567313
0644
edit
dl
rm
blocks.min.js
173562
0644
edit
dl
rm
commands.js
182724
0644
edit
dl
rm
commands.min.js
49429
0644
edit
dl
rm
components.js
2357667
0644
edit
dl
rm
components.min.js
719028
0644
edit
dl
rm
compose.js
200300
0644
edit
dl
rm
compose.min.js
36853
0644
edit
dl
rm
core-commands.js
24398
0644
edit
dl
rm
core-commands.min.js
9416
0644
edit
dl
rm
core-data.js
267493
0644
edit
dl
rm
core-data.min.js
65783
0644
edit
dl
rm
customize-widgets.js
97615
0644
edit
dl
rm
customize-widgets.min.js
34999
0644
edit
dl
rm
data-controls.js
7243
0644
edit
dl
rm
data-controls.min.js
1472
0644
edit
dl
rm
data.js
144947
0644
edit
dl
rm
data.min.js
25596
0644
edit
dl
rm
date.js
817573
0644
edit
dl
rm
date.min.js
783424
0644
edit
dl
rm
deprecated.js
4694
0644
edit
dl
rm
deprecated.min.js
684
0644
edit
dl
rm
dom-ready.js
2464
0644
edit
dl
rm
dom-ready.min.js
457
0644
edit
dl
rm
dom.js
62127
0644
edit
dl
rm
dom.min.js
12547
0644
edit
dl
rm
edit-post.js
123321
0644
edit
dl
rm
edit-post.min.js
42263
0644
edit
dl
rm
edit-site.js
1640694
0644
edit
dl
rm
edit-site.min.js
641138
0644
edit
dl
rm
edit-widgets.js
175604
0644
edit
dl
rm
edit-widgets.min.js
58605
0644
edit
dl
rm
editor.js
1212327
0644
edit
dl
rm
editor.min.js
396996
0644
edit
dl
rm
element.js
68130
0644
edit
dl
rm
element.min.js
11968
0644
edit
dl
rm
escape-html.js
6003
0644
edit
dl
rm
escape-html.min.js
1000
0644
edit
dl
rm
format-library.js
68467
0644
edit
dl
rm
format-library.min.js
22769
0644
edit
dl
rm
hooks.js
20687
0644
edit
dl
rm
hooks.min.js
4776
0644
edit
dl
rm
html-entities.js
3706
0644
edit
dl
rm
html-entities.min.js
788
0644
edit
dl
rm
i18n.js
49627
0644
edit
dl
rm
i18n.min.js
9141
0644
edit
dl
rm
is-shallow-equal.js
4287
0644
edit
dl
rm
is-shallow-equal.min.js
1018
0644
edit
dl
rm
keyboard-shortcuts.js
24479
0644
edit
dl
rm
keyboard-shortcuts.min.js
3017
0644
edit
dl
rm
keycodes.js
14113
0644
edit
dl
rm
keycodes.min.js
2642
0644
edit
dl
rm
list-reusable-blocks.js
31355
0644
edit
dl
rm
list-reusable-blocks.min.js
4737
0644
edit
dl
rm
media-utils.js
31462
0644
edit
dl
rm
media-utils.min.js
9968
0644
edit
dl
rm
notices.js
21989
0644
edit
dl
rm
notices.min.js
2070
0644
edit
dl
rm
nux.js
13295
0644
edit
dl
rm
nux.min.js
3509
0644
edit
dl
rm
patterns.js
64049
0644
edit
dl
rm
patterns.min.js
21454
0644
edit
dl
rm
plugins.js
18277
0644
edit
dl
rm
plugins.min.js
4284
0644
edit
dl
rm
preferences-persistence.js
30015
0644
edit
dl
rm
preferences-persistence.min.js
5625
0644
edit
dl
rm
preferences.js
25641
0644
edit
dl
rm
preferences.min.js
7012
0644
edit
dl
rm
primitives.js
6720
0644
edit
dl
rm
primitives.min.js
1655
0644
edit
dl
rm
priority-queue.js
14208
0644
edit
dl
rm
priority-queue.min.js
3378
0644
edit
dl
rm
private-apis.js
8503
0644
edit
dl
rm
private-apis.min.js
2815
0644
edit
dl
rm
redux-routine.js
23734
0644
edit
dl
rm
redux-routine.min.js
8889
0644
edit
dl
rm
reusable-blocks.js
20432
0644
edit
dl
rm
reusable-blocks.min.js
6112
0644
edit
dl
rm
rich-text.js
120684
0644
edit
dl
rm
rich-text.min.js
31005
0644
edit
dl
rm
router.js
53261
0644
edit
dl
rm
router.min.js
13532
0644
edit
dl
rm
server-side-render.js
14599
0644
edit
dl
rm
server-side-render.min.js
4368
0644
edit
dl
rm
shortcode.js
14578
0644
edit
dl
rm
shortcode.min.js
2900
0644
edit
dl
rm
style-engine.js
40004
0644
edit
dl
rm
style-engine.min.js
6050
0644
edit
dl
rm
token-list.js
6049
0644
edit
dl
rm
token-list.min.js
1271
0644
edit
dl
rm
url.js
34824
0644
edit
dl
rm
url.min.js
8523
0644
edit
dl
rm
viewport.js
10465
0644
edit
dl
rm
viewport.min.js
1868
0644
edit
dl
rm
warning.js
2444
0644
edit
dl
rm
warning.min.js
311
0644
edit
dl
rm
widgets.js
53737
0644
edit
dl
rm
widgets.min.js
20034
0644
edit
dl
rm
wordcount.js
14748
0644
edit
dl
rm
wordcount.min.js
2480
0644
edit
dl
rm
Edit:
/home/vianto5/realtylifestyleproperties.mx/wp-includes/js/dist/viewport.js
(10465B)
/******/ (() => { // 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) }); ;// external ["wp","compose"] const external_wp_compose_namespaceObject = window["wp"]["compose"]; ;// external ["wp","data"] const external_wp_data_namespaceObject = window["wp"]["data"]; ;// ./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); ;// ./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 }; } ;// ./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]; } ;// ./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); ;// ./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); ;// external "ReactJSXRuntime" const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"]; ;// ./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); ;// ./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); ;// ./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__; /******/ })() ;
Save
cmd:
run