bib_wp/abchospitalitynepal.com/wp-includes/js/dist/edit-widgets.min.js

7 lines
58 KiB
JavaScript
Raw Normal View History

2024-03-12 05:32:45 +00:00
/*! This file is auto-generated */
!function(){var e={4403:function(e,t){var r;
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var o=a.apply(null,r);o&&e.push(o)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){"use strict";r.r(n),r.d(n,{initialize:function(){return fr},initializeEditor:function(){return wr},reinitializeEditor:function(){return Er},store:function(){return Je}});var e={};r.r(e),r.d(e,{closeModal:function(){return F},disableComplementaryArea:function(){return L},enableComplementaryArea:function(){return W},openModal:function(){return D},pinItem:function(){return P},setDefaultComplementaryArea:function(){return T},setFeatureDefaults:function(){return V},setFeatureValue:function(){return M},toggleFeature:function(){return R},unpinItem:function(){return O}});var t={};r.r(t),r.d(t,{getActiveComplementaryArea:function(){return G},isComplementaryAreaLoading:function(){return z},isFeatureActive:function(){return U},isItemPinned:function(){return H},isModalActive:function(){return $}});var a={};r.r(a),r.d(a,{closeGeneralSidebar:function(){return Le},moveBlockToWidgetArea:function(){return Pe},persistStubPost:function(){return ke},saveEditedWidgetAreas:function(){return Se},saveWidgetArea:function(){return Ie},saveWidgetAreas:function(){return Ae},setIsInserterOpened:function(){return Te},setIsListViewOpened:function(){return We},setIsWidgetAreaOpen:function(){return xe},setWidgetAreasOpenState:function(){return Be},setWidgetIdForClientId:function(){return Ne}});var i={};r.r(i),r.d(i,{getWidgetAreas:function(){return Oe},getWidgets:function(){return Re}});var o={};r.r(o),r.d(o,{__experimentalGetInsertionPoint:function(){return Ke},canInsertBlockInWidgetArea:function(){return Ze},getEditedWidgetAreas:function(){return He},getIsWidgetAreaOpen:function(){return je},getParentWidgetAreaBlock:function(){return ze},getReferenceWidgetBlocks:function(){return Ue},getWidget:function(){return De},getWidgetAreaForWidgetId:function(){return Ge},getWidgetAreas:function(){return Fe},getWidgets:function(){return Ve},isInserterOpened:function(){return Ye},isListViewOpened:function(){return qe},isSavingWidgetAreas:function(){return $e}});var s={};r.r(s),r.d(s,{metadata:function(){return it},name:function(){return ot},settings:function(){return st}});var c=window.wp.element,l=window.wp.blocks,d=window.wp.data,u=window.wp.deprecated,m=r.n(u),g=window.wp.blockLibrary,p=window.wp.coreData,h=window.wp.widgets,_=window.wp.preferences,w=window.wp.apiFetch,f=r.n(w);var E=(0,d.combineReducers)({blockInserterPanel:function(e=!1,t){switch(t.type){case"SET_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel:function(e=!1,t){switch(t.type){case"SET_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e},widgetAreasOpenState:function(e={},t){const{type:r}=t;switch(r){case"SET_WIDGET_AREAS_OPEN_STATE":return t.widgetAreasOpenState;case"SET_IS_WIDGET_AREA_OPEN":{const{clientId:r,isOpen:n}=t;return{...e,[r]:n}}default:return e}}}),b=window.wp.i18n,v=window.wp.notices,y=r(4403),k=r.n(y),S=window.wp.components,A