2023-06-28 16:08:46 -04:00
|
|
|
*/!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 _r},initializeEditor:function(){return hr},reinitializeEditor:function(){return wr}});var e={};r.r(e),r.d(e,{closeModal:function(){return F},disableComplementaryArea:function(){return L},enableComplementaryArea:function(){return T},openModal:function(){return V},pinItem:function(){return P},setDefaultComplementaryArea:function(){return W},setFeatureDefaults:function(){return D},setFeatureValue:function(){return M},toggleFeature:function(){return O},unpinItem:function(){return R}});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 We},setIsListViewOpened:function(){return Te},setIsWidgetAreaOpen:function(){return xe},setWidgetAreasOpenState:function(){return Ne},setWidgetIdForClientId:function(){return Be}});var i={};r.r(i),r.d(i,{getWidgetAreas:function(){return Re},getWidgets:function(){return Oe}});var o={};r.r(o),r.d(o,{__experimentalGetInsertionPoint:function(){return Ye},canInsertBlockInWidgetArea:function(){return Ke},getEditedWidgetAreas:function(){return ze},getIsWidgetAreaOpen:function(){return $e},getParentWidgetAreaBlock:function(){return Ge},getReferenceWidgetBlocks:function(){return He},getWidget:function(){return De},getWidgetAreaForWidgetId:function(){return Fe},getWidgetAreas:function(){return Ve},getWidgets:function(){return Me},isInserterOpened:function(){return je},isListViewOpened:function(){return Ze},isSavingWidgetAreas:function(){return Ue}});var s={};r.r(s),r.d(s,{metadata:function(){return at},name:function(){return it},settings:function(){return ot}});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=window.wp.primitives;var I=
|