2023-08-11 18:04:29 +02:00
|
|
|
*/!function(){"use strict";var o={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var s=a.apply(null,n);s&&e.push(s)}}else if("object"===l){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var r in n)o.call(n,r)&&n[r]&&e.push(r)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var l=t[o]={exports:{}};return e[o](l,l.exports,n),l.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n.d(o,{PluginBlockSettingsMenuItem:()=>Ka,PluginDocumentSettingPanel:()=>ua,PluginMoreMenuItem:()=>Ya,PluginPostPublishPanel:()=>Sa,PluginPostStatusInfo:()=>Ao,PluginPrePublishPanel:()=>Ta,PluginSidebar:()=>ma,PluginSidebarMoreMenuItem:()=>Qa,__experimentalFullscreenModeClose:()=>Fn,__experimentalMainDashboardButton:()=>oo,initializeEditor:()=>Xa,reinitializeEditor:()=>Ja,store:()=>on});var e={};n.r(e),n.d(e,{closeModal:()=>q,disableComplementaryArea:()=>H,enableComplementaryArea:()=>F,openModal:()=>W,pinItem:()=>G,setDefaultComplementaryArea:()=>R,setFeatureDefaults:()=>$,setFeatureValue:()=>Z,toggleFeature:()=>z,unpinItem:()=>U});var t={};n.r(t),n.d(t,{getActiveComplementaryArea:()=>j,isComplementaryAreaLoading:()=>K,isFeatureActive:()=>Q,isItemPinned:()=>Y,isModalActive:()=>X});var a={};n.r(a),n.d(a,{__experimentalSetPreviewDeviceType:()=>gt,__unstableCreateTemplate:()=>ft,__unstableSwitchToTemplateMode:()=>bt,closeGeneralSidebar:()=>Ke,closeModal:()=>Qe,closePublishSidebar:()=>Je,hideBlockTypes:()=>ct,initializeMetaBoxes:()=>vt,metaBoxUpdatesFailure:()=>pt,metaBoxUpdatesSuccess:()=>mt,openGeneralSidebar:()=>je,openModal:()=>Ye,openPublishSidebar:()=>Xe,removeEditorPanel:()=>ot,requestMetaBoxUpdates:()=>ut,setAvailableMetaBoxesPerLocation:()=>dt,setIsEditingTemplate:()=>Et,setIsInserterOpened:()=>ht,setIsListViewOpened:()=>_t,showBlockTypes:()=>it,switchEditorMode:()=>lt,toggleEditorPanelEnabled:()=>tt,toggleEditorPanelOpened:()=>nt,toggleFeature:()=>at,togglePinnedPluginItem:()=>st,togglePublishSidebar:()=>et,updatePreferredStyleVariations:()=>rt});var l={};n.r(l),n.d(l,{__experimentalGetInsertionPoint:()=>Qt,__experimentalGetPreviewDeviceType:()=>Kt,areMetaBoxesInitialized:()=>en,getActiveGeneralSidebarName:()=>It,getActiveMetaBoxLocations:()=>Ut,getAllMetaBoxes:()=>Wt,getEditedPostTemplate:()=>tn,getEditorMode:()=>xt,getHiddenBlockTypes:()=>At,getMetaBoxesPerLocation:()=>$t,getPreference:()=>Nt,getPreferences:()=>Lt,hasMetaBoxes:()=>qt,isEditingTemplate:()=>Jt,isEditorPanelEnabled:()=>Ot,isEditorPanelOpened:()=>Rt,isEditorPanelRemoved:()=>Vt,isEditorSidebarOpened:()=>Mt,isFeatureActive:()=>Ht,isInserterOpened:()=>Yt,isListViewOpened:()=>Xt,isMetaBoxLocationActive:()=>Zt,isMetaBoxLocationVisible:()=>zt,isModalActive:()=>Ft,isPluginItemPinned:()=>Gt,isPluginSidebarOpened:()=>Bt,isPublishSidebarOpened:()=>Dt,isSavingMetaBoxes:()=>jt});const s=window.wp.element,r=window.wp.blocks,i=window.wp.blockLibrary,c=window.wp.deprecated;var d=n.n(c);const u=window.wp.data,m=window.wp.hooks,p=window.wp.preferences,g=window.wp.widgets,h=window.wp.mediaUtils;(0,m.addFilter)("editor.MediaUpload","core/edit-post/replace-media-upload",(()=>h.MediaUpload));const _=window.wp.components,E=window.wp.blockEditor,b=window.wp.i18n,f=window.wp.compose,y=(0,f.compose)((0,u.withSelect)(((e,t)=>{if((0,r.hasBlockSupport)(t.name,"multiple",!0))return{};const n=e(E.store).getBlocks().find((({name:e})=>t.name===e));return{originalBlockClientId:n&&
|