??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/renovaid.co.uk/wp-includes/js/dist/viewport.js
⬅ Kembali
var wp;
(wp ||= {}).viewport = (() => {
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/compose
var require_compose = __commonJS({
"package-external:@wordpress/compose"(exports, module) {
module.exports = window.wp.compose;
}
});
// package-external:@wordpress/data
var require_data = __commonJS({
"package-external:@wordpress/data"(exports, module) {
module.exports = window.wp.data;
}
});
// vendor-external:react/jsx-runtime
var require_jsx_runtime = __commonJS({
"vendor-external:react/jsx-runtime"(exports, module) {
module.exports = window.ReactJSXRuntime;
}
});
// packages/viewport/build-module/index.mjs
var index_exports = {};
__export(index_exports, {
ifViewportMatches: () => if_viewport_matches_default,
store: () => store,
withViewportMatch: () => with_viewport_match_default
});
// packages/viewport/build-module/listener.mjs
var import_compose = __toESM(require_compose(), 1);
var import_data2 = __toESM(require_data(), 1);
// packages/viewport/build-module/store/index.mjs
var import_data = __toESM(require_data(), 1);
// packages/viewport/build-module/store/reducer.mjs
function reducer(state = {}, action) {
switch (action.type) {
case "SET_IS_MATCHING":
return action.values;
}
return state;
}
var reducer_default = reducer;
// packages/viewport/build-module/store/actions.mjs
var actions_exports = {};
__export(actions_exports, {
setIsMatching: () => setIsMatching
});
function setIsMatching(values) {
return {
type: "SET_IS_MATCHING",
values
};
}
// packages/viewport/build-module/store/selectors.mjs
var selectors_exports = {};
__export(selectors_exports, {
isViewportMatch: () => isViewportMatch
});
function isViewportMatch(state, query) {
if (query.indexOf(" ") === -1) {
query = ">= " + query;
}
return !!state[query];
}
// packages/viewport/build-module/store/index.mjs
var STORE_NAME = "core/viewport";
var store = (0, import_data.createReduxStore)(STORE_NAME, {
reducer: reducer_default,
actions: actions_exports,
selectors: selectors_exports
});
(0, import_data.register)(store);
// packages/viewport/build-module/listener.mjs
var addDimensionsEventListener = (breakpoints, operators) => {
const setIsMatching2 = (0, import_compose.debounce)(
() => {
const values = Object.fromEntries(
queries.map(([key, query]) => [key, query.matches])
);
(0, import_data2.dispatch)(store).setIsMatching(values);
},
0,
{ leading: true }
);
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", setIsMatching2);
return [`${operator} ${name}`, list];
});
}
);
window.addEventListener("orientationchange", setIsMatching2);
setIsMatching2();
setIsMatching2.flush();
};
var listener_default = addDimensionsEventListener;
// packages/viewport/build-module/if-viewport-matches.mjs
var import_compose3 = __toESM(require_compose(), 1);
// packages/viewport/build-module/with-viewport-match.mjs
var import_compose2 = __toESM(require_compose(), 1);
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
var withViewportMatch = (queries) => {
const queryEntries = Object.entries(queries);
const useViewPortQueriesResult = () => Object.fromEntries(
queryEntries.map(([key, query]) => {
let [operator, breakpointName] = query.split(" ");
if (breakpointName === void 0) {
breakpointName = operator;
operator = ">=";
}
return [key, (0, import_compose2.useViewportMatch)(breakpointName, operator)];
})
);
return (0, import_compose2.createHigherOrderComponent)((WrappedComponent) => {
return (0, import_compose2.pure)((props) => {
const queriesResult = useViewPortQueriesResult();
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(WrappedComponent, { ...props, ...queriesResult });
});
}, "withViewportMatch");
};
var with_viewport_match_default = withViewportMatch;
// packages/viewport/build-module/if-viewport-matches.mjs
var ifViewportMatches = (query) => (0, import_compose3.createHigherOrderComponent)(
(0, import_compose3.compose)([
with_viewport_match_default({
isViewportMatch: query
}),
(0, import_compose3.ifCondition)((props) => props.isViewportMatch)
]),
"ifViewportMatches"
);
var if_viewport_matches_default = ifViewportMatches;
// packages/viewport/build-module/index.mjs
var BREAKPOINTS = {
huge: 1440,
wide: 1280,
large: 960,
medium: 782,
small: 600,
mobile: 480
};
var OPERATORS = {
"<": "max-width",
">=": "min-width"
};
listener_default(BREAKPOINTS, OPERATORS);
return __toCommonJS(index_exports);
})();
Nama
Tipe
Ukuran
Diubah
Aksi
📁 development
dir
—
2025-10-12 22:47
📁 script-modules
dir
—
2026-05-21 22:50
📁 vendor
dir
—
2026-05-21 22:50
📜 a11y.js
js
5.5 KB
2026-05-21 22:50
📜 a11y.min.js
js
2.4 KB
2026-05-21 22:50
📜 annotations.js
js
15.1 KB
2026-05-21 22:50
📜 annotations.min.js
js
5.6 KB
2026-05-21 22:50
📜 api-fetch.js
js
17.5 KB
2026-05-21 22:50
📜 api-fetch.min.js
js
6.3 KB
2026-05-21 22:50
📜 autop.js
js
9.7 KB
2026-05-21 22:50
📜 autop.min.js
js
5.5 KB
2026-05-21 22:50
📜 base-styles.js
js
48 B
2026-05-21 22:50
📜 base-styles.min.js
js
40 B
2026-05-21 22:50
📜 blob.js
js
2.3 KB
2026-05-21 22:50
📜 blob.min.js
js
1.1 KB
2026-05-21 22:50
📜 block-directory.js
js
55.7 KB
2026-05-21 22:50
📜 block-directory.min.js
js
21.9 KB
2026-05-21 22:50
📜 block-editor.js
js
2.7 MB
2026-05-21 22:50
📜 block-editor.min.js
js
1 MB
2026-05-21 22:50
📜 block-library.js
js
2.6 MB
2026-05-21 22:50
📜 block-library.min.js
js
1.1 MB
2026-05-21 22:50
📜 block-serialization-default-parser.js
js
6.5 KB
2026-05-21 22:50
📜 block-serialization-default-parser.min.js
js
2.4 KB
2026-05-21 22:50
📜 block-serialization-spec-parser.js
js
50.5 KB
2026-05-21 22:50
📜 block-serialization-spec-parser.min.js
js
10.3 KB
2026-05-21 22:50
📜 blocks.js
js
381.1 KB
2026-05-21 22:50
📜 blocks.min.js
js
180.6 KB
2026-05-21 22:50
📜 commands.js
js
151.7 KB
2026-05-21 22:50
📜 commands.min.js
js
63.1 KB
2026-05-21 22:50
📜 components.js
js
3.8 MB
2026-05-21 22:50
📜 components.min.js
js
786.2 KB
2026-05-21 22:50
📜 compose.js
js
80.8 KB
2026-05-21 22:50
📜 compose.min.js
js
28.2 KB
2026-05-21 22:50
📜 core-commands.js
js
28.7 KB
2026-05-21 22:50
📜 core-commands.min.js
js
11.8 KB
2026-05-21 22:50
📜 core-data.js
js
612 KB
2026-05-21 22:50
📜 core-data.min.js
js
210.4 KB
2026-05-21 22:50
📜 customize-widgets.js
js
91.6 KB
2026-05-21 22:50
📜 customize-widgets.min.js
js
36.6 KB
2026-05-21 22:50
📜 data-controls.js
js
4.1 KB
2026-05-21 22:50
📜 data-controls.min.js
js
1.7 KB
2026-05-21 22:50
📜 data.js
js
82.8 KB
2026-05-21 22:50
📜 data.min.js
js
25.9 KB
2026-05-21 22:50
📜 date.js
js
176.3 KB
2026-05-21 22:50
📜 date.min.js
js
141.2 KB
2026-05-21 22:50
📜 deprecated.js
js
3 KB
2026-05-21 22:50
📜 deprecated.min.js
js
1.3 KB
2026-05-21 22:50
📜 dom-ready.js
js
1.5 KB
2026-05-21 22:50
📜 dom-ready.min.js
js
783 B
2026-05-21 22:50
📜 dom.js
js
34.6 KB
2026-05-21 22:50
📜 dom.min.js
js
12.6 KB
2026-05-21 22:50
📜 edit-post.js
js
117.4 KB
2026-05-21 22:50
📜 edit-post.min.js
js
49.1 KB
2026-05-21 22:50
📜 edit-site.js
js
1.7 MB
2026-05-21 22:50
📜 edit-site.min.js
js
684.4 KB
2026-05-21 22:50
📜 edit-widgets.js
js
160.2 KB
2026-05-21 22:50
📜 edit-widgets.min.js
js
61.8 KB
2026-05-21 22:50
📜 editor.js
js
2.5 MB
2026-05-21 22:50
📜 editor.min.js
js
1021.2 KB
2026-05-21 22:50
📜 element.js
js
27.9 KB
2026-05-21 22:50
📜 element.min.js
js
12.1 KB
2026-05-21 22:50
📜 escape-html.js
js
2.3 KB
2026-05-21 22:50
📜 escape-html.min.js
js
1 KB
2026-05-21 22:50
📜 format-library.js
js
73.3 KB
2026-05-21 22:50
📜 format-library.min.js
js
28.8 KB
2026-05-21 22:50
📜 hooks.js
js
12 KB
2026-05-21 22:50
📜 hooks.min.js
js
4.9 KB
2026-05-21 22:50
📜 html-entities.js
js
1.6 KB
2026-05-21 22:50
📜 html-entities.min.js
js
844 B
2026-05-21 22:50
📜 i18n.js
js
15.3 KB
2026-05-21 22:50
📜 i18n.min.js
js
5.6 KB
2026-05-21 22:50
📜 is-shallow-equal.js
js
2.7 KB
2026-05-21 22:50
📜 is-shallow-equal.min.js
js
1.1 KB
2026-05-21 22:50
📜 keyboard-shortcuts.js
js
9.7 KB
2026-05-21 22:50
📜 keyboard-shortcuts.min.js
js
3.4 KB
2026-05-21 22:50
📜 keycodes.js
js
8.3 KB
2026-05-21 22:50
📜 keycodes.min.js
js
2.9 KB
2026-05-21 22:50
📜 list-reusable-blocks.js
js
13.1 KB
2026-05-21 22:50
📜 list-reusable-blocks.min.js
js
5.2 KB
2026-05-21 22:50
📜 media-utils.js
js
637.1 KB
2026-05-21 22:50
📜 media-utils.min.js
js
237.6 KB
2026-05-21 22:50
📜 notices.js
js
10.1 KB
2026-05-21 22:50
📜 notices.min.js
js
4.3 KB
2026-05-21 22:50
📜 nux.js
js
10.3 KB
2026-05-21 22:50
📜 nux.min.js
js
3.9 KB
2026-05-21 22:50
📜 patterns.js
js
58.2 KB
2026-05-21 22:50
📜 patterns.min.js
js
21.6 KB
2026-05-21 22:50
📜 plugins.js
js
11.7 KB
2026-05-21 22:50
📜 plugins.min.js
js
4.7 KB
2026-05-21 22:50
📜 preferences-persistence.js
js
17.2 KB
2026-05-21 22:50
📜 preferences-persistence.min.js
js
5.5 KB
2026-05-21 22:50
📜 preferences.js
js
21.1 KB
2026-05-21 22:50
📜 preferences.min.js
js
7.7 KB
2026-05-21 22:50
📜 primitives.js
js
5.1 KB
2026-05-21 22:50
📜 primitives.min.js
js
1.9 KB
2026-05-21 22:50
📜 priority-queue.js
js
10 KB
2026-05-21 22:50
📜 priority-queue.min.js
js
3.3 KB
2026-05-21 22:50
📜 private-apis.js
js
4.1 KB
2026-05-21 22:50
📜 private-apis.min.js
js
2.6 KB
2026-05-21 22:50
📜 react-i18n.js
js
3.9 KB
2026-05-21 22:50
📜 react-i18n.min.js
js
1.5 KB
2026-05-21 22:50
📜 redux-routine.js
js
24.7 KB
2026-05-21 22:50
📜 redux-routine.min.js
js
9.6 KB
2026-05-21 22:50
📜 reusable-blocks.js
js
20.5 KB
2026-05-21 22:50
📜 reusable-blocks.min.js
js
7.2 KB
2026-05-21 22:50
📜 rich-text.js
js
97 KB
2026-05-21 22:50
📜 rich-text.min.js
js
39.9 KB
2026-05-21 22:50
📜 router.js
js
36.1 KB
2026-05-21 22:50
📜 router.min.js
js
14.1 KB
2026-05-21 22:50
📜 server-side-render.js
js
11 KB
2026-05-21 22:50
📜 server-side-render.min.js
js
3.9 KB
2026-05-21 22:50
📜 shortcode.js
js
8 KB
2026-05-21 22:50
📜 shortcode.min.js
js
3.2 KB
2026-05-21 22:50
📜 style-engine.js
js
17.6 KB
2026-05-21 22:50
📜 style-engine.min.js
js
6.4 KB
2026-05-21 22:50
📜 sync.js
js
359.4 KB
2026-05-21 22:50
📜 sync.min.js
js
118.1 KB
2026-05-21 22:50
📜 theme.js
js
127.6 KB
2026-05-21 22:50
📜 theme.min.js
js
56.1 KB
2026-05-21 22:50
📜 token-list.js
js
6.1 KB
2026-05-21 22:50
📜 token-list.min.js
js
1.6 KB
2026-05-21 22:50
📜 undo-manager.js
js
5.3 KB
2026-05-21 22:50
📜 undo-manager.min.js
js
1.7 KB
2026-05-21 22:50
📜 upload-media.js
js
55.7 KB
2026-05-21 22:50
📜 upload-media.min.js
js
23 KB
2026-05-21 22:50
📜 url.js
js
23.4 KB
2026-05-21 22:50
📜 url.min.js
js
10.1 KB
2026-05-21 22:50
📜 viewport.js
js
6.6 KB
2026-05-21 22:50
📜 viewport.min.js
js
2.2 KB
2026-05-21 22:50
📜 warning.js
js
1.5 KB
2026-05-21 22:50
📜 warning.min.js
js
720 B
2026-05-21 22:50
📜 widgets.js
js
50.1 KB
2026-05-21 22:50
📜 widgets.min.js
js
20.8 KB
2026-05-21 22:50
📜 wordcount.js
js
6.9 KB
2026-05-21 22:50
📜 wordcount.min.js
js
2.4 KB
2026-05-21 22:50