diff --git a/build/content-helper/editor-sidebar.asset.php b/build/content-helper/editor-sidebar.asset.php index e2025f33a..98c0e2a0d 100644 --- a/build/content-helper/editor-sidebar.asset.php +++ b/build/content-helper/editor-sidebar.asset.php @@ -1 +1 @@ - array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url', 'wp-wordcount'), 'version' => 'd6febeb9486e0cff901d'); + array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url', 'wp-wordcount'), 'version' => 'e582fe60e9900e132791'); diff --git a/build/content-helper/editor-sidebar.js b/build/content-helper/editor-sidebar.js index 80fb50636..d5e0089ae 100644 --- a/build/content-helper/editor-sidebar.js +++ b/build/content-helper/editor-sidebar.js @@ -12,8 +12,8 @@ /* translators: %s: percentage value */,{ /* translators: %s: percentage value */ text:"".concat(c(t)," - ").concat((0,x.sprintf)((0,x.__)("%s%%","wp-parsely"),n.viewsPercentage)),delay:150,children:(0,f.jsx)("div",{"aria-label":r,className:"bar-fill "+t,style:{width:n.viewsPercentage+"%"}})},t)}))}),(0,f.jsx)("div",{className:"percentage-bar-labels",children:Object.entries(t.referrers.types).map((function(e){var t=e[0],n=e[1];return(0,f.jsxs)("div",{className:"single-label "+t,children:[(0,f.jsx)("div",{className:"label-color "+t}),(0,f.jsx)("div",{className:"label-text",children:c(t)}),(0,f.jsx)("div",{className:"label-value",children:nn(n.views)})]},t)}))})]})]})},on=(0,f.jsx)(k.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,f.jsx)(k.Path,{d:"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z"})}),sn=(0,f.jsx)(k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,f.jsx)(k.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})}),an=(0,f.jsx)(k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,f.jsx)(k.Path,{d:"M12 4V2.2L9 4.8l3 2.5V5.5c3.6 0 6.5 2.9 6.5 6.5 0 2.9-1.9 5.3-4.5 6.2v.2l-.1-.2c-.4.1-.7.2-1.1.2l.2 1.5c.3 0 .6-.1 1-.2 3.5-.9 6-4 6-7.7 0-4.4-3.6-8-8-8zm-7.9 7l1.5.2c.1-1.2.5-2.3 1.2-3.2l-1.1-.9C4.8 8.2 4.3 9.6 4.1 11zm1.5 1.8l-1.5.2c.1.7.3 1.4.5 2 .3.7.6 1.3 1 1.8l1.2-.8c-.3-.5-.6-1-.8-1.5s-.4-1.1-.4-1.7zm1.5 5.5c1.1.9 2.4 1.4 3.8 1.6l.2-1.5c-1.1-.1-2.2-.5-3.1-1.2l-.9 1.1z"})}),ln=(0,f.jsx)(k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,f.jsx)(k.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"})}),cn=function(){return cn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]1?[2,Promise.reject(new te((0,x.sprintf)(/* translators: URL of the published post */ /* translators: URL of the published post */ +/* translators: %s: Percentage value, %%: Escaped percent sign */;var i=(0,x.sprintf)((0,x.__)("%s%%","wp-parsely"),n.viewsPercentage);return(0,f.jsxs)("div",{className:"referrers-row",children:[(0,f.jsx)("div",{className:"referrers-row-title",children:(0,f.jsx)("span",{children:r})}),(0,f.jsx)("div",{className:"referrers-row-bar",children:(0,f.jsx)("div",{"aria-label":i,className:"percentage-bar",style:{"--bar-fill":n.viewsPercentage+"%"}})}),(0,f.jsx)("div",{className:"referrers-row-value",children:(0,f.jsx)("span",{children:n.views})})]},t)}))})]})};function mn(e){return{period_start:e,period_end:""}}(0,x.__)("Date N/A","wp-parsely");var wn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function __(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(__.prototype=n.prototype,new __)}}(),bn=function(){return bn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]%s has 0 views, or the Parse.ly API returned no data.","wp-parsely"),r),U.ParselyApiReturnedNoData,""))]):n.length>1?[2,Promise.reject(new te((0,x.sprintf)(/* translators: URL of the published post */ /* translators: URL of the published post */ (0,x.__)("Multiple results were returned for the post %d by the Parse.ly API.","wp-parsely"),t),U.ParselyApiReturnedTooManyResults))]:[2,n[0]]}}))}))},t.prototype.fetchReferrerDataFromWpEndpoint=function(e,t,n){return xn(this,void 0,void 0,(function(){return kn(this,(function(r){switch(r.label){case 0:return[4,this.fetch({path:(0,ne.addQueryArgs)("/wp-parsely/v2/stats/post/".concat(t,"/referrers"),bn(bn({},mn(e)),{itm_source:this.itmSource,total_views:n}))})];case 1:return[2,r.sent()]}}))}))},t}(re),jn=function(){return jn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0&&e.retryFetch?[4,new Promise((function(e){return setTimeout(e,500)}))]:[3,3];case 1:return t.sent(),[4,n(r-1)];case 2:return t.sent(),[3,4];case 3:a(e),i(!1),t.label=4;case 4:return[2]}}))}))})),[2]}))}))};return i(!0),n(1),function(){a(void 0)}}),[t]),(0,f.jsxs)("div",{className:"wp-parsely-performance-panel",children:[(0,f.jsx)(tn,{title:(0,x.__)("Performance Stats","wp-parsely"),icon:en,dropdownChildren:function(e){var t=e.onClose;return(0,f.jsx)(Nn,{onClose:t})},children:(0,f.jsx)("div",{className:"panel-settings",children:(0,f.jsx)(h.SelectControl,{size:"__unstable-large",value:d.PerformanceStats.Period,prefix:(0,f.jsx)(h.__experimentalInputControlPrefixWrapper,{children:(0,x.__)("Period:","wp-parsely")}),onChange:function(e){F(e,m)&&(v({PerformanceStats:jn(jn({},d.PerformanceStats),{Period:e})}),P.trackEvent("editor_sidebar_performance_period_changed",{period:e}))},children:Object.values(m).map((function(e){return(0,f.jsx)("option",{value:e,children:V(e)},e)}))})})}),s?s.Message():(0,f.jsxs)(f.Fragment,{children:[Cn(d,"overview")&&(0,f.jsx)(gn,{data:c,isLoading:r}),Cn(d,"categories")&&(0,f.jsx)(rn,{data:c,isLoading:r}),Cn(d,"referrers")&&(0,f.jsx)(yn,{data:c,isLoading:r})]}),window.wpParselyPostUrl&&(0,f.jsx)(h.Button,{className:"wp-parsely-view-post",variant:"primary",onClick:function(){P.trackEvent("editor_sidebar_view_post_pressed")},href:window.wpParselyPostUrl,rel:"noopener",target:"_blank",children:(0,x.__)("View this in Parse.ly","wp-parsely")})]})},On=function(e){var t=e.period;return(0,f.jsx)(h.Panel,{children:(0,f.jsx)(Ie,{children:(0,f.jsx)(An,{period:t})})})},In=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=1&&(0,f.jsx)(h.__experimentalToggleGroupControlOption,{value:b.Tag,label:(0,x.__)("Tag","wp-parsely")}),r.categories.length>=1&&(0,f.jsx)(h.__experimentalToggleGroupControlOption,{value:b.Section,label:(0,x.__)("Section","wp-parsely")}),r.authors.length>=1&&(0,f.jsx)(h.__experimentalToggleGroupControlOption,{value:b.Author,label:(0,x.__)("Author","wp-parsely")})]})})},Bn=function(e){var t=e.filter,n=e.label,r=e.postData,i=In(e,["filter","label","postData"]);return(0,f.jsx)("div",{className:"related-posts-filter-values",children:(0,f.jsx)(h.ComboboxControl,{__next40pxDefaultSize:!0,allowReset:!0,label:n,onChange:function(e){return i.onFilterValueChange(e)},options:b.Tag===t.type?r.tags.map((function(e){return{value:e,label:e}})):b.Section===t.type?r.categories.map((function(e){return{value:e,label:e}})):b.Author===t.type?r.authors.map((function(e){return{value:e,label:e}})):[],value:t.value})})},Mn=function(e){var t=e.filter,n=e.postData,r=e.label,i=In(e,["filter","postData","label"]),o=function(){return n.authors.length>0&&n.categories.length>0||n.authors.length>0&&n.tags.length>0||n.tags.length>0&&n.categories.length>0},s=function(){return b.Tag===t.type&&n.tags.length>1||b.Section===t.type&&n.categories.length>1||b.Author===t.type&&n.authors.length>1};return o()||s()?(0,f.jsxs)("div",{className:"related-posts-filter-settings",children:[o()&&(0,f.jsx)(Rn,{filter:t,label:r,onFilterTypeChange:i.onFilterTypeChange,postData:n}),s()&&(0,f.jsx)(Bn,{filter:t,label:o()?void 0:r,onFilterValueChange:i.onFilterValueChange,postData:n})]}):null},Dn=(0,f.jsx)(k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,f.jsx)(k.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})}),Fn=(0,f.jsx)(k.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,f.jsx)(k.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.625 5.5h9.75c.069 0 .125.056.125.125v9.75a.125.125 0 0 1-.125.125h-9.75a.125.125 0 0 1-.125-.125v-9.75c0-.069.056-.125.125-.125ZM4 5.625C4 4.728 4.728 4 5.625 4h9.75C16.273 4 17 4.728 17 5.625v9.75c0 .898-.727 1.625-1.625 1.625h-9.75A1.625 1.625 0 0 1 4 15.375v-9.75Zm14.5 11.656v-9H20v9C20 18.8 18.77 20 17.251 20H6.25v-1.5h11.001c.69 0 1.249-.528 1.249-1.219Z"})}),Vn=function(){return(0,f.jsx)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"1",height:"40",viewBox:"0 0 1 40",fill:"none",children:(0,f.jsx)(h.Rect,{width:"1",height:"40",fill:"#cccccc"})})};function Gn(e){var t=e.metric,n=e.post,r=e.avgEngagedIcon,i=e.viewsIcon;return"views"===t?(0,f.jsxs)("span",{className:"parsely-post-metric-data",children:[(0,f.jsx)("span",{className:"screen-reader-text",children:(0,x.__)("Number of Views","wp-parsely")}),i,nn(n.views.toString())]}):"avg_engaged"===t?(0,f.jsxs)("span",{className:"parsely-post-metric-data",children:[(0,f.jsx)("span",{className:"screen-reader-text",children:(0,x.__)("Average Time","wp-parsely")}),r,n.avgEngaged]}):(0,f.jsx)("span",{className:"parsely-post-metric-data",children:"-"})}var Hn,zn=function(e){var t,n,r=e.metric,i=e.post,o=e.postContent,s=(0,v.useDispatch)("core/notices").createNotice,a=o&&(t=o,n=Ae(i.rawUrl),new RegExp("]*href=[\"'](http://|https://)?.*".concat(n,".*[\"'][^>]*>"),"i").test(t));return(0,f.jsxs)("div",{className:"related-post-single","data-testid":"related-post-single",children:[(0,f.jsx)("div",{className:"related-post-title",children:(0,f.jsxs)("a",{href:i.url,target:"_blank",rel:"noreferrer",children:[(0,f.jsx)("span",{className:"screen-reader-text",children:(0,x.__)("View on website (opens new tab)","wp-parsely")}),i.title]})}),(0,f.jsx)("div",{className:"related-post-actions",children:(0,f.jsxs)("div",{className:"related-post-info",children:[(0,f.jsxs)("div",{children:[(0,f.jsx)("div",{className:"related-post-metric",children:(0,f.jsx)(Gn,{metric:r,post:i,viewsIcon:(0,f.jsx)(le,{icon:on}),avgEngagedIcon:(0,f.jsx)(h.Dashicon,{icon:"clock",size:24})})}),a&&(0,f.jsx)("div",{className:"related-post-linked",children:(0,f.jsx)(h.Tooltip,{text:(0,x.__)("This post is linked in the content","wp-parsely"),children:(0,f.jsx)(le,{icon:Dn,size:24})})})]}),(0,f.jsx)(Vn,{}),(0,f.jsxs)("div",{children:[(0,f.jsx)(h.Button,{icon:Fn,iconSize:24,onClick:function(){navigator.clipboard.writeText(i.rawUrl).then((function(){s("success",(0,x.__)("URL copied to clipboard","wp-parsely"),{type:"snackbar"})}))},label:(0,x.__)("Copy URL to clipboard","wp-parsely")}),(0,f.jsx)(h.Button,{icon:(0,f.jsx)(E,{}),iconSize:18,href:i.dashUrl,target:"_blank",label:(0,x.__)("View in Parse.ly","wp-parsely")})]})]})})]})},Un=window.wp.coreData,qn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function __(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(__.prototype=n.prototype,new __)}}(),$n=function(){return $n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=12" } }, - "node_modules/@types/wordpress__block-editor/node_modules/@wordpress/priority-queue": { - "version": "2.58.0", - "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-2.58.0.tgz", - "integrity": "sha512-W+qCS8HJWsXG8gE6yK/H/IObowcghPrQMM3cQHtfd/U05yFNU1Bd/fbj3AO1fVRztktS47lIpi9m3ll1evPEHA==", - "dev": true, - "license": "GPL-2.0-or-later", - "dependencies": { - "@babel/runtime": "^7.16.0", - "requestidlecallback": "^0.3.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@types/wordpress__block-editor/node_modules/@wordpress/private-apis": { "version": "0.40.0", "resolved": "https://registry.npmjs.org/@wordpress/private-apis/-/private-apis-0.40.0.tgz", @@ -5980,25 +5966,6 @@ "node": ">=12" } }, - "node_modules/@types/wordpress__block-editor/node_modules/@wordpress/redux-routine": { - "version": "4.58.0", - "resolved": "https://registry.npmjs.org/@wordpress/redux-routine/-/redux-routine-4.58.0.tgz", - "integrity": "sha512-r0mMWFeJr93yPy2uY/M5+gdUUYj0Zu8+21OFFb5hyQ0z7UHIa3IdgQxzCaTbV1LDA1ZYJrjHeCnA6s4gNHjA2Q==", - "dev": true, - "license": "GPL-2.0-or-later", - "dependencies": { - "@babel/runtime": "^7.16.0", - "is-plain-object": "^5.0.0", - "is-promise": "^4.0.0", - "rungen": "^0.3.2" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "redux": ">=4" - } - }, "node_modules/@types/wordpress__block-editor/node_modules/@wordpress/rich-text": { "version": "6.35.0", "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-6.35.0.tgz", @@ -6024,20 +5991,6 @@ "react": "^18.0.0" } }, - "node_modules/@types/wordpress__block-editor/node_modules/@wordpress/undo-manager": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/@wordpress/undo-manager/-/undo-manager-0.18.0.tgz", - "integrity": "sha512-upbzPEToa095XG+2JXLHaolF1LfXEMFS0lNMYV37myoUS+eZ7/tl9Gx+yU2+OqWy57TMwx33NlWUX/n+ynzPRw==", - "dev": true, - "license": "GPL-2.0-or-later", - "dependencies": { - "@babel/runtime": "^7.16.0", - "@wordpress/is-shallow-equal": "^4.58.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@types/wordpress__blocks": { "version": "12.5.14", "resolved": "https://registry.npmjs.org/@types/wordpress__blocks/-/wordpress__blocks-12.5.14.tgz", @@ -6409,20 +6362,6 @@ "node": ">=12" } }, - "node_modules/@types/wordpress__blocks/node_modules/@wordpress/priority-queue": { - "version": "2.58.0", - "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-2.58.0.tgz", - "integrity": "sha512-W+qCS8HJWsXG8gE6yK/H/IObowcghPrQMM3cQHtfd/U05yFNU1Bd/fbj3AO1fVRztktS47lIpi9m3ll1evPEHA==", - "dev": true, - "license": "GPL-2.0-or-later", - "dependencies": { - "@babel/runtime": "^7.16.0", - "requestidlecallback": "^0.3.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@types/wordpress__blocks/node_modules/@wordpress/private-apis": { "version": "0.40.0", "resolved": "https://registry.npmjs.org/@wordpress/private-apis/-/private-apis-0.40.0.tgz", @@ -6436,25 +6375,6 @@ "node": ">=12" } }, - "node_modules/@types/wordpress__blocks/node_modules/@wordpress/redux-routine": { - "version": "4.58.0", - "resolved": "https://registry.npmjs.org/@wordpress/redux-routine/-/redux-routine-4.58.0.tgz", - "integrity": "sha512-r0mMWFeJr93yPy2uY/M5+gdUUYj0Zu8+21OFFb5hyQ0z7UHIa3IdgQxzCaTbV1LDA1ZYJrjHeCnA6s4gNHjA2Q==", - "dev": true, - "license": "GPL-2.0-or-later", - "dependencies": { - "@babel/runtime": "^7.16.0", - "is-plain-object": "^5.0.0", - "is-promise": "^4.0.0", - "rungen": "^0.3.2" - }, - "engines": { - "node": ">=12" - }, - "peerDependencies": { - "redux": ">=4" - } - }, "node_modules/@types/wordpress__blocks/node_modules/@wordpress/rich-text": { "version": "6.35.0", "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-6.35.0.tgz", @@ -6480,20 +6400,6 @@ "react": "^18.0.0" } }, - "node_modules/@types/wordpress__blocks/node_modules/@wordpress/undo-manager": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/@wordpress/undo-manager/-/undo-manager-0.18.0.tgz", - "integrity": "sha512-upbzPEToa095XG+2JXLHaolF1LfXEMFS0lNMYV37myoUS+eZ7/tl9Gx+yU2+OqWy57TMwx33NlWUX/n+ynzPRw==", - "dev": true, - "license": "GPL-2.0-or-later", - "dependencies": { - "@babel/runtime": "^7.16.0", - "@wordpress/is-shallow-equal": "^4.58.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@types/wordpress__edit-post": { "version": "8.4.0", "resolved": "https://registry.npmjs.org/@types/wordpress__edit-post/-/wordpress__edit-post-8.4.0.tgz", @@ -7049,14 +6955,15 @@ } }, "node_modules/@wordpress/a11y": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/a11y/-/a11y-4.10.0.tgz", - "integrity": "sha512-fp7C0Ofy95a+jzK126CxAXV+uXSFQs2Clm6PCeE9Y1BowUiL9l7juUCh1R+2NDAKATxH4r3QplxVftDqn+ctUw==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/a11y/-/a11y-4.11.0.tgz", + "integrity": "sha512-gUrsmDvxuD8HXYmoND+niJw4Tk0qMDqMsOryzuQEymyO63o89DfoT1NBpJUk8P9P+xSCRHp5EoxaMUQ0Kiz81w==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/dom-ready": "^4.10.0", - "@wordpress/i18n": "^5.10.0" + "@wordpress/dom-ready": "*", + "@wordpress/i18n": "*" }, "engines": { "node": ">=18.12.0", @@ -7064,14 +6971,14 @@ } }, "node_modules/@wordpress/api-fetch": { - "version": "7.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-7.10.0.tgz", - "integrity": "sha512-sL71KkvtdGdaZmy7T0+nsTaBVhN0LSwkm3nh/qnebIYzpjZeiPWF/QeoGtJk/lKB15HjbTbfwvFEjiMI4dFvhA==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-7.11.0.tgz", + "integrity": "sha512-JOlkaGIdclT+Pxi+zlkEHYGtS4LLRRsg7soZ2bXXmdo0CBUycdumu0G3AJeK7R8RAVBhfcI4ZjZ5BXeRdOO00A==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/i18n": "^5.10.0", - "@wordpress/url": "^4.10.0" + "@wordpress/i18n": "*", + "@wordpress/url": "*" }, "engines": { "node": ">=18.12.0", @@ -7149,45 +7056,45 @@ } }, "node_modules/@wordpress/block-editor": { - "version": "14.5.0", - "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-14.5.0.tgz", - "integrity": "sha512-9JlGjfu+dfZztYdiKSWAjCqE2CQVaTDg6DSgA1q/lhylBYUMiDNyHd/TEe0cXgSjNxUb1hZ5WPvVSWca9EfPgQ==", + "version": "14.6.0", + "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-14.6.0.tgz", + "integrity": "sha512-Pala/+i7izwB7QJbr6tVfg2XR0p6wb2biIoF2DjzNh+draoTjPtxCbZQrOJSd8hfyXQOOQPuLiAGdsq50PEZsA==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", "@react-spring/web": "^9.4.5", - "@wordpress/a11y": "^4.10.0", - "@wordpress/api-fetch": "^7.10.0", - "@wordpress/blob": "^4.10.0", - "@wordpress/block-serialization-default-parser": "^5.10.0", - "@wordpress/blocks": "^13.10.0", - "@wordpress/commands": "^1.10.0", - "@wordpress/components": "^28.10.0", - "@wordpress/compose": "^7.10.0", - "@wordpress/data": "^10.10.0", - "@wordpress/date": "^5.10.0", - "@wordpress/deprecated": "^4.10.0", - "@wordpress/dom": "^4.10.0", - "@wordpress/element": "^6.10.0", - "@wordpress/escape-html": "^3.10.0", - "@wordpress/hooks": "^4.10.0", - "@wordpress/html-entities": "^4.10.0", - "@wordpress/i18n": "^5.10.0", - "@wordpress/icons": "^10.10.0", - "@wordpress/is-shallow-equal": "^5.10.0", - "@wordpress/keyboard-shortcuts": "^5.10.0", - "@wordpress/keycodes": "^4.10.0", - "@wordpress/notices": "^5.10.0", - "@wordpress/preferences": "^4.10.0", - "@wordpress/private-apis": "^1.10.0", - "@wordpress/rich-text": "^7.10.0", - "@wordpress/style-engine": "^2.10.0", - "@wordpress/token-list": "^3.10.0", - "@wordpress/url": "^4.10.0", - "@wordpress/warning": "^3.10.0", - "@wordpress/wordcount": "^4.10.0", + "@wordpress/a11y": "*", + "@wordpress/api-fetch": "*", + "@wordpress/blob": "*", + "@wordpress/block-serialization-default-parser": "*", + "@wordpress/blocks": "*", + "@wordpress/commands": "*", + "@wordpress/components": "*", + "@wordpress/compose": "*", + "@wordpress/data": "*", + "@wordpress/date": "*", + "@wordpress/deprecated": "*", + "@wordpress/dom": "*", + "@wordpress/element": "*", + "@wordpress/escape-html": "*", + "@wordpress/hooks": "*", + "@wordpress/html-entities": "*", + "@wordpress/i18n": "*", + "@wordpress/icons": "*", + "@wordpress/is-shallow-equal": "*", + "@wordpress/keyboard-shortcuts": "*", + "@wordpress/keycodes": "*", + "@wordpress/notices": "*", + "@wordpress/preferences": "*", + "@wordpress/private-apis": "*", + "@wordpress/rich-text": "*", + "@wordpress/style-engine": "*", + "@wordpress/token-list": "*", + "@wordpress/url": "*", + "@wordpress/warning": "*", + "@wordpress/wordcount": "*", "change-case": "^4.1.2", "clsx": "^2.1.1", "colord": "^2.7.0", @@ -7212,30 +7119,6 @@ "react-dom": "^18.0.0" } }, - "node_modules/@wordpress/block-editor/node_modules/@wordpress/keycodes": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.10.0.tgz", - "integrity": "sha512-2i+N90HBMqQegtGqeVB8pJz8ZgKAY1eZmQegE9MXczYVac85DDOoxhY/41c44s6Kwl3waJ2Zght6UXE0OUFMxw==", - "dev": true, - "dependencies": { - "@babel/runtime": "7.25.7", - "@wordpress/i18n": "^5.10.0" - }, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, - "node_modules/@wordpress/block-editor/node_modules/@wordpress/warning": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.10.0.tgz", - "integrity": "sha512-IhvIBhhzsNYuLT61ZtKWm7oMg4G0x//eQD8dlnsBA4edP8BiX1VzwA3wCtz9+QdEFzraPJAq9NG4RPxGQas4Nw==", - "dev": true, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, "node_modules/@wordpress/block-library": { "version": "9.10.0", "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-9.10.0.tgz", @@ -7295,34 +7178,7 @@ "react-dom": "^18.0.0" } }, - "node_modules/@wordpress/block-library/node_modules/@wordpress/keycodes": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.10.0.tgz", - "integrity": "sha512-2i+N90HBMqQegtGqeVB8pJz8ZgKAY1eZmQegE9MXczYVac85DDOoxhY/41c44s6Kwl3waJ2Zght6UXE0OUFMxw==", - "dev": true, - "dependencies": { - "@babel/runtime": "7.25.7", - "@wordpress/i18n": "^5.10.0" - }, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, - "node_modules/@wordpress/block-serialization-default-parser": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-default-parser/-/block-serialization-default-parser-5.10.0.tgz", - "integrity": "sha512-JPFhQlhn4ezvgqQpRMQlDTi7G+BcO35r7u7daCmI4g4ttWcRtrK/5RMmzi0cV8UmTsi2IsFzGNX+ApaoHgw/Gg==", - "dev": true, - "dependencies": { - "@babel/runtime": "7.25.7" - }, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, - "node_modules/@wordpress/blocks": { + "node_modules/@wordpress/block-library/node_modules/@wordpress/blocks": { "version": "13.10.0", "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-13.10.0.tgz", "integrity": "sha512-Csfw4BgrPEry1OGE0iHSHJlSbao1IA8ujaE8H0LjAXCvMHXET11avSVvFwuYOaDbeSVi2TD50xA+UpMiJnEo4A==", @@ -7364,14 +7220,84 @@ "react": "^18.0.0" } }, - "node_modules/@wordpress/blocks/node_modules/@wordpress/warning": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.10.0.tgz", - "integrity": "sha512-IhvIBhhzsNYuLT61ZtKWm7oMg4G0x//eQD8dlnsBA4edP8BiX1VzwA3wCtz9+QdEFzraPJAq9NG4RPxGQas4Nw==", + "node_modules/@wordpress/block-library/node_modules/@wordpress/keycodes": { + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.11.0.tgz", + "integrity": "sha512-aI8ftrEU62Y25p4881+d5zglPNOmWJJTokfC0eF4iW6DRnBy/btOMC6zIf+oATjG2pGTyMfHveALJf0YSpdyEw==", + "dev": true, + "license": "GPL-2.0-or-later", + "dependencies": { + "@babel/runtime": "7.25.7", + "@wordpress/i18n": "*" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } + }, + "node_modules/@wordpress/block-library/node_modules/@wordpress/warning": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.11.0.tgz", + "integrity": "sha512-tXCsxlMAYXbRCgZmVHsBkoBGnrytZPGGezGXANRTsyJ00QoQJgxvnH6u22Rs/NOIVHQ5o65/9jKC3g0e6qn7PA==", + "dev": true, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } + }, + "node_modules/@wordpress/block-serialization-default-parser": { + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-default-parser/-/block-serialization-default-parser-5.10.0.tgz", + "integrity": "sha512-JPFhQlhn4ezvgqQpRMQlDTi7G+BcO35r7u7daCmI4g4ttWcRtrK/5RMmzi0cV8UmTsi2IsFzGNX+ApaoHgw/Gg==", + "dev": true, + "dependencies": { + "@babel/runtime": "7.25.7" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } + }, + "node_modules/@wordpress/blocks": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-14.0.0.tgz", + "integrity": "sha512-alcZFTdtWSkAwMPXuQXyFQT0BMCNORnVLUQlAuyycC8xZoT5kcpGYffStQGmYgp8EHxyH5ic8K6fZ8TdgvEUFw==", "dev": true, + "dependencies": { + "@babel/runtime": "7.25.7", + "@wordpress/autop": "*", + "@wordpress/blob": "*", + "@wordpress/block-serialization-default-parser": "*", + "@wordpress/data": "*", + "@wordpress/deprecated": "*", + "@wordpress/dom": "*", + "@wordpress/element": "*", + "@wordpress/hooks": "*", + "@wordpress/html-entities": "*", + "@wordpress/i18n": "*", + "@wordpress/is-shallow-equal": "*", + "@wordpress/private-apis": "*", + "@wordpress/rich-text": "*", + "@wordpress/shortcode": "*", + "@wordpress/warning": "*", + "change-case": "^4.1.2", + "colord": "^2.7.0", + "fast-deep-equal": "^3.1.3", + "hpq": "^1.3.0", + "is-plain-object": "^5.0.0", + "memize": "^2.1.0", + "react-is": "^18.3.0", + "remove-accents": "^0.5.0", + "showdown": "^1.9.1", + "simple-html-tokenizer": "^0.5.7", + "uuid": "^9.0.1" + }, "engines": { "node": ">=18.12.0", "npm": ">=8.19.2" + }, + "peerDependencies": { + "react": "^18.0.0" } }, "node_modules/@wordpress/browserslist-config": { @@ -7411,9 +7337,9 @@ } }, "node_modules/@wordpress/components": { - "version": "28.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-28.10.0.tgz", - "integrity": "sha512-w5mteCe9qOBMgD8d80QBVOPk0YAquUkMD9o3jDvdqUwiTcVgxn4QSKjh65NGYotvMhDsgsMTq+qgifAB+ubepg==", + "version": "28.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-28.11.0.tgz", + "integrity": "sha512-vDzT1GVaDYhOxjiTkLUA5X/ebatiYBuP2yuynhm+fuWsyoalmlpYfvZAARa/PH+E60C7gpY1CNkU92niJdpr4A==", "dev": true, "dependencies": { "@ariakit/react": "^0.4.10", @@ -7428,23 +7354,23 @@ "@types/gradient-parser": "0.1.3", "@types/highlight-words-core": "1.2.1", "@use-gesture/react": "^10.3.1", - "@wordpress/a11y": "^4.10.0", - "@wordpress/compose": "^7.10.0", - "@wordpress/date": "^5.10.0", - "@wordpress/deprecated": "^4.10.0", - "@wordpress/dom": "^4.10.0", - "@wordpress/element": "^6.10.0", - "@wordpress/escape-html": "^3.10.0", - "@wordpress/hooks": "^4.10.0", - "@wordpress/html-entities": "^4.10.0", - "@wordpress/i18n": "^5.10.0", - "@wordpress/icons": "^10.10.0", - "@wordpress/is-shallow-equal": "^5.10.0", - "@wordpress/keycodes": "^4.10.0", - "@wordpress/primitives": "^4.10.0", - "@wordpress/private-apis": "^1.10.0", - "@wordpress/rich-text": "^7.10.0", - "@wordpress/warning": "^3.10.0", + "@wordpress/a11y": "*", + "@wordpress/compose": "*", + "@wordpress/date": "*", + "@wordpress/deprecated": "*", + "@wordpress/dom": "*", + "@wordpress/element": "*", + "@wordpress/escape-html": "*", + "@wordpress/hooks": "*", + "@wordpress/html-entities": "*", + "@wordpress/i18n": "*", + "@wordpress/icons": "*", + "@wordpress/is-shallow-equal": "*", + "@wordpress/keycodes": "*", + "@wordpress/primitives": "*", + "@wordpress/private-apis": "*", + "@wordpress/rich-text": "*", + "@wordpress/warning": "*", "change-case": "^4.1.2", "clsx": "^2.1.1", "colord": "^2.7.0", @@ -7471,45 +7397,21 @@ "react-dom": "^18.0.0" } }, - "node_modules/@wordpress/components/node_modules/@wordpress/keycodes": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.10.0.tgz", - "integrity": "sha512-2i+N90HBMqQegtGqeVB8pJz8ZgKAY1eZmQegE9MXczYVac85DDOoxhY/41c44s6Kwl3waJ2Zght6UXE0OUFMxw==", - "dev": true, - "dependencies": { - "@babel/runtime": "7.25.7", - "@wordpress/i18n": "^5.10.0" - }, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, - "node_modules/@wordpress/components/node_modules/@wordpress/warning": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.10.0.tgz", - "integrity": "sha512-IhvIBhhzsNYuLT61ZtKWm7oMg4G0x//eQD8dlnsBA4edP8BiX1VzwA3wCtz9+QdEFzraPJAq9NG4RPxGQas4Nw==", - "dev": true, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, - "node_modules/@wordpress/compose": { - "version": "7.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-7.10.0.tgz", - "integrity": "sha512-/j4+wXthaV/KMt0VANvhhRJEJfPc21c7Tq1ZeLxgsbkq4xmi9qXeDT91cvP/U+Ta3phf15K8vdxMr8MqHHiFoQ==", + "node_modules/@wordpress/compose": { + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/compose/-/compose-7.11.0.tgz", + "integrity": "sha512-8Gv95+lJza3WiHxvaZgA2nKAlaEJonpFa82jF2c2ecGxHJNJUiF+kwmfr/yJpjVxSvNvHfpZlTuXHDi4hoMfYg==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", "@types/mousetrap": "^1.6.8", - "@wordpress/deprecated": "^4.10.0", - "@wordpress/dom": "^4.10.0", - "@wordpress/element": "^6.10.0", - "@wordpress/is-shallow-equal": "^5.10.0", - "@wordpress/keycodes": "^4.10.0", - "@wordpress/priority-queue": "^3.10.0", - "@wordpress/undo-manager": "^1.10.0", + "@wordpress/deprecated": "*", + "@wordpress/dom": "*", + "@wordpress/element": "*", + "@wordpress/is-shallow-equal": "*", + "@wordpress/keycodes": "*", + "@wordpress/priority-queue": "*", + "@wordpress/undo-manager": "*", "change-case": "^4.1.2", "clipboard": "^2.0.11", "mousetrap": "^1.6.5", @@ -7523,20 +7425,6 @@ "react": "^18.0.0" } }, - "node_modules/@wordpress/compose/node_modules/@wordpress/keycodes": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.10.0.tgz", - "integrity": "sha512-2i+N90HBMqQegtGqeVB8pJz8ZgKAY1eZmQegE9MXczYVac85DDOoxhY/41c44s6Kwl3waJ2Zght6UXE0OUFMxw==", - "dev": true, - "dependencies": { - "@babel/runtime": "7.25.7", - "@wordpress/i18n": "^5.10.0" - }, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, "node_modules/@wordpress/core-commands": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/@wordpress/core-commands/-/core-commands-1.10.0.tgz", @@ -7568,28 +7456,28 @@ } }, "node_modules/@wordpress/core-data": { - "version": "7.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-7.10.0.tgz", - "integrity": "sha512-DrM6m+vCl9UtCQ5xC5FCNZK+dVXRMvzPVGgPLVWvFXD7pge3FYhkazPsxBqRklQZEoSLxbaTB8LdRkt2HNBiAQ==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-7.11.0.tgz", + "integrity": "sha512-uxkL9h0AGn+MoZMlX0bkt6Kz4SAxEgWtzTrK8+b8XOmb66aHnTu2e7iA2aB5sZqlDuSiEfHfsNP9A6yefwasZw==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/api-fetch": "^7.10.0", - "@wordpress/block-editor": "^14.5.0", - "@wordpress/blocks": "^13.10.0", - "@wordpress/compose": "^7.10.0", - "@wordpress/data": "^10.10.0", - "@wordpress/deprecated": "^4.10.0", - "@wordpress/element": "^6.10.0", - "@wordpress/html-entities": "^4.10.0", - "@wordpress/i18n": "^5.10.0", - "@wordpress/is-shallow-equal": "^5.10.0", - "@wordpress/private-apis": "^1.10.0", - "@wordpress/rich-text": "^7.10.0", - "@wordpress/sync": "^1.10.0", - "@wordpress/undo-manager": "^1.10.0", - "@wordpress/url": "^4.10.0", - "@wordpress/warning": "^3.10.0", + "@wordpress/api-fetch": "*", + "@wordpress/block-editor": "*", + "@wordpress/blocks": "*", + "@wordpress/compose": "*", + "@wordpress/data": "*", + "@wordpress/deprecated": "*", + "@wordpress/element": "*", + "@wordpress/html-entities": "*", + "@wordpress/i18n": "*", + "@wordpress/is-shallow-equal": "*", + "@wordpress/private-apis": "*", + "@wordpress/rich-text": "*", + "@wordpress/sync": "*", + "@wordpress/undo-manager": "*", + "@wordpress/url": "*", + "@wordpress/warning": "*", "change-case": "^4.1.2", "equivalent-key-map": "^0.2.2", "fast-deep-equal": "^3.1.3", @@ -7605,30 +7493,20 @@ "react-dom": "^18.0.0" } }, - "node_modules/@wordpress/core-data/node_modules/@wordpress/warning": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.10.0.tgz", - "integrity": "sha512-IhvIBhhzsNYuLT61ZtKWm7oMg4G0x//eQD8dlnsBA4edP8BiX1VzwA3wCtz9+QdEFzraPJAq9NG4RPxGQas4Nw==", - "dev": true, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, "node_modules/@wordpress/data": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/data/-/data-10.10.0.tgz", - "integrity": "sha512-oyYl89p86+U9W6vKDqScKhUGKKzsnETj9rg8zOnT4K9ceOScjGCgdCE+XxcY9exeRg33aSYDjmvnsXXYStBYmA==", + "version": "10.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/data/-/data-10.11.0.tgz", + "integrity": "sha512-2JvezC51tv8zpg1zUo+VNegtTHHKWBNGZ0uRFoeH6riswT4iZMXsZ83vrWZSCR/bY6ilK0kN/UHDvvSRYov2Rw==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/compose": "^7.10.0", - "@wordpress/deprecated": "^4.10.0", - "@wordpress/element": "^6.10.0", - "@wordpress/is-shallow-equal": "^5.10.0", - "@wordpress/priority-queue": "^3.10.0", - "@wordpress/private-apis": "^1.10.0", - "@wordpress/redux-routine": "^5.10.0", + "@wordpress/compose": "*", + "@wordpress/deprecated": "*", + "@wordpress/element": "*", + "@wordpress/is-shallow-equal": "*", + "@wordpress/priority-queue": "*", + "@wordpress/private-apis": "*", + "@wordpress/redux-routine": "*", "deepmerge": "^4.3.0", "equivalent-key-map": "^0.2.2", "is-plain-object": "^5.0.0", @@ -7674,23 +7552,25 @@ } }, "node_modules/@wordpress/dataviews/node_modules/@wordpress/warning": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.10.0.tgz", - "integrity": "sha512-IhvIBhhzsNYuLT61ZtKWm7oMg4G0x//eQD8dlnsBA4edP8BiX1VzwA3wCtz9+QdEFzraPJAq9NG4RPxGQas4Nw==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.11.0.tgz", + "integrity": "sha512-tXCsxlMAYXbRCgZmVHsBkoBGnrytZPGGezGXANRTsyJ00QoQJgxvnH6u22Rs/NOIVHQ5o65/9jKC3g0e6qn7PA==", "dev": true, + "license": "GPL-2.0-or-later", "engines": { "node": ">=18.12.0", "npm": ">=8.19.2" } }, "node_modules/@wordpress/date": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/date/-/date-5.10.0.tgz", - "integrity": "sha512-TT9HN0H72Eqhlaiy+XMDyZBlTBf2iZ936Q2tJdxsB4qBlG2ntLT3PviIPa+G44QYYxLomrUqTEYQ6FBxiJaNHg==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/date/-/date-5.11.0.tgz", + "integrity": "sha512-pDoTw1c3BTtgeG9xfIARTU6iCQ40Sksfaekhwz8EHPa9dgE1BU1ko4nb2VPTck6iQFggwfDlQcbg2Wf/ui8Kcw==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/deprecated": "^4.10.0", + "@wordpress/deprecated": "*", "moment": "^2.29.4", "moment-timezone": "^0.5.40" }, @@ -7716,13 +7596,14 @@ } }, "node_modules/@wordpress/deprecated": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/deprecated/-/deprecated-4.10.0.tgz", - "integrity": "sha512-lktJKX3AxrskTuLbJuKY/Mzg9De6MYcOzEEL+RUHxfIx8wMtiDnVTAf7epur9XuHVOmdgCCRT6D44I23MoS0sw==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/deprecated/-/deprecated-4.11.0.tgz", + "integrity": "sha512-CPXMS2IbGonba6Ny3IhzOudZ8QSCQzjg8AaS8dAq6p47AIUNxfj8bef+7C36lJKt9KPDkez7eY5x7UF5CaDkug==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/hooks": "^4.10.0" + "@wordpress/hooks": "*" }, "engines": { "node": ">=18.12.0", @@ -7730,13 +7611,14 @@ } }, "node_modules/@wordpress/dom": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-4.10.0.tgz", - "integrity": "sha512-1ZRCrDB2TV44GLwaUH9HRGQGQqXcawSEmzVPABQwfwzkUKijfbRdsWqpHrTLqlSZRImHEdp6oSON+1JmCNhXSw==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/dom/-/dom-4.11.0.tgz", + "integrity": "sha512-8u9USBEpGiQvVZeWSY82Ze3Yrwj5JkmmPUF+HfKvqywFlYIZfYLLc5lNrvUCqw7klIje+LO3MnKR3kfRx/uozA==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/deprecated": "^4.10.0" + "@wordpress/deprecated": "*" }, "engines": { "node": ">=18.12.0", @@ -7744,9 +7626,9 @@ } }, "node_modules/@wordpress/dom-ready": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-4.10.0.tgz", - "integrity": "sha512-qpadyGMRvLf7zOe4XtoIo409ZRJ7IrBI36fdEXjRWV8E+Cmcx3ldr5/2iLKJ2cqYg9geQWXDeiykSWOClNJx+w==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-4.11.0.tgz", + "integrity": "sha512-wAqRxFpP19m8KwXzand3BrrqRkU7SXH9/fdk1q/Q+oqoXIrLMDFWsH6xbXgM4q/id2Z4ZMK5dZQ3tYf/0qDpFg==", "dependencies": { "@babel/runtime": "7.25.7" }, @@ -7756,9 +7638,9 @@ } }, "node_modules/@wordpress/e2e-test-utils-playwright": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.10.0.tgz", - "integrity": "sha512-pxXW0nLToS/OPKzFnpi6Q9xWF67n+JYk3q2lNXrCirE5IffTmpy+MwbRD2eFiHq7qzTcO9MeQKwq/t8V4NTVqA==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils-playwright/-/e2e-test-utils-playwright-1.11.0.tgz", + "integrity": "sha512-0kSY0rOpKirXgXsNJQ/Mj3NLJhmN1lwkECZFF53iYs/kOAXNaVxs6Ys3T8hleoO47/KZLY7AoEJTxKwK0fWixQ==", "dev": true, "dependencies": { "change-case": "^4.1.2", @@ -7777,41 +7659,41 @@ } }, "node_modules/@wordpress/edit-post": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-8.10.0.tgz", - "integrity": "sha512-w01c0kuU3J+HYu5DghJaum/jpUMr6CrmSPEALsNj0hWyhk4QAwA3tnUgFRy40bfn7lIXaD2earFXZknfwRrVRw==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-8.11.0.tgz", + "integrity": "sha512-O+6MV2pVHTJZXZUzl+yhdY3RFXSx4O/O6PU4gDhBZRR3p0+Xh4NUfhC4M0KEHuXKyBD9+IgydnfiZZzADQg1cg==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/a11y": "^4.10.0", - "@wordpress/api-fetch": "^7.10.0", - "@wordpress/block-editor": "^14.5.0", - "@wordpress/block-library": "^9.10.0", - "@wordpress/blocks": "^13.10.0", - "@wordpress/commands": "^1.10.0", - "@wordpress/components": "^28.10.0", - "@wordpress/compose": "^7.10.0", - "@wordpress/core-commands": "^1.10.0", - "@wordpress/core-data": "^7.10.0", - "@wordpress/data": "^10.10.0", - "@wordpress/deprecated": "^4.10.0", - "@wordpress/dom": "^4.10.0", - "@wordpress/editor": "^14.10.0", - "@wordpress/element": "^6.10.0", - "@wordpress/hooks": "^4.10.0", - "@wordpress/html-entities": "^4.10.0", - "@wordpress/i18n": "^5.10.0", - "@wordpress/icons": "^10.10.0", - "@wordpress/keyboard-shortcuts": "^5.10.0", - "@wordpress/keycodes": "^4.10.0", - "@wordpress/notices": "^5.10.0", - "@wordpress/plugins": "^7.10.0", - "@wordpress/preferences": "^4.10.0", - "@wordpress/private-apis": "^1.10.0", - "@wordpress/url": "^4.10.0", - "@wordpress/viewport": "^6.10.0", - "@wordpress/warning": "^3.10.0", - "@wordpress/widgets": "^4.10.0", + "@wordpress/a11y": "*", + "@wordpress/api-fetch": "*", + "@wordpress/block-editor": "*", + "@wordpress/block-library": "*", + "@wordpress/blocks": "*", + "@wordpress/commands": "*", + "@wordpress/components": "*", + "@wordpress/compose": "*", + "@wordpress/core-commands": "*", + "@wordpress/core-data": "*", + "@wordpress/data": "*", + "@wordpress/deprecated": "*", + "@wordpress/dom": "*", + "@wordpress/editor": "*", + "@wordpress/element": "*", + "@wordpress/hooks": "*", + "@wordpress/html-entities": "*", + "@wordpress/i18n": "*", + "@wordpress/icons": "*", + "@wordpress/keyboard-shortcuts": "*", + "@wordpress/keycodes": "*", + "@wordpress/notices": "*", + "@wordpress/plugins": "*", + "@wordpress/preferences": "*", + "@wordpress/private-apis": "*", + "@wordpress/url": "*", + "@wordpress/viewport": "*", + "@wordpress/warning": "*", + "@wordpress/widgets": "*", "clsx": "^2.1.1", "memize": "^2.1.0" }, @@ -7824,72 +7706,48 @@ "react-dom": "^18.0.0" } }, - "node_modules/@wordpress/edit-post/node_modules/@wordpress/keycodes": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.10.0.tgz", - "integrity": "sha512-2i+N90HBMqQegtGqeVB8pJz8ZgKAY1eZmQegE9MXczYVac85DDOoxhY/41c44s6Kwl3waJ2Zght6UXE0OUFMxw==", - "dev": true, - "dependencies": { - "@babel/runtime": "7.25.7", - "@wordpress/i18n": "^5.10.0" - }, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, - "node_modules/@wordpress/edit-post/node_modules/@wordpress/warning": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.10.0.tgz", - "integrity": "sha512-IhvIBhhzsNYuLT61ZtKWm7oMg4G0x//eQD8dlnsBA4edP8BiX1VzwA3wCtz9+QdEFzraPJAq9NG4RPxGQas4Nw==", - "dev": true, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, "node_modules/@wordpress/editor": { - "version": "14.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-14.10.0.tgz", - "integrity": "sha512-UoUttYFbnIUCUTI1sDovkzsQbu1WtDIJDMitu6yhLE++m+8tINhQMzrHq+PuxdoSsobKjX4YBIXaYKiEbRd+6g==", + "version": "14.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-14.11.0.tgz", + "integrity": "sha512-XNwBZ54yQrZszum7OW4wAbFFs7lKlwTkj9ILnbc+a6fuCE9Pg6On/vbtDmRJVXi0TrRb+mY2VhNrsXJybdleQQ==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/a11y": "^4.10.0", - "@wordpress/api-fetch": "^7.10.0", - "@wordpress/blob": "^4.10.0", - "@wordpress/block-editor": "^14.5.0", - "@wordpress/blocks": "^13.10.0", - "@wordpress/commands": "^1.10.0", - "@wordpress/components": "^28.10.0", - "@wordpress/compose": "^7.10.0", - "@wordpress/core-data": "^7.10.0", - "@wordpress/data": "^10.10.0", - "@wordpress/dataviews": "^4.6.0", - "@wordpress/date": "^5.10.0", - "@wordpress/deprecated": "^4.10.0", - "@wordpress/dom": "^4.10.0", - "@wordpress/element": "^6.10.0", - "@wordpress/fields": "^0.2.0", - "@wordpress/hooks": "^4.10.0", - "@wordpress/html-entities": "^4.10.0", - "@wordpress/i18n": "^5.10.0", - "@wordpress/icons": "^10.10.0", - "@wordpress/interface": "^7.0.0", - "@wordpress/keyboard-shortcuts": "^5.10.0", - "@wordpress/keycodes": "^4.10.0", - "@wordpress/media-utils": "^5.10.0", - "@wordpress/notices": "^5.10.0", - "@wordpress/patterns": "^2.10.0", - "@wordpress/plugins": "^7.10.0", - "@wordpress/preferences": "^4.10.0", - "@wordpress/private-apis": "^1.10.0", - "@wordpress/reusable-blocks": "^5.10.0", - "@wordpress/rich-text": "^7.10.0", - "@wordpress/server-side-render": "^5.10.0", - "@wordpress/url": "^4.10.0", - "@wordpress/warning": "^3.10.0", - "@wordpress/wordcount": "^4.10.0", + "@wordpress/a11y": "*", + "@wordpress/api-fetch": "*", + "@wordpress/blob": "*", + "@wordpress/block-editor": "*", + "@wordpress/blocks": "*", + "@wordpress/commands": "*", + "@wordpress/components": "*", + "@wordpress/compose": "*", + "@wordpress/core-data": "*", + "@wordpress/data": "*", + "@wordpress/dataviews": "*", + "@wordpress/date": "*", + "@wordpress/deprecated": "*", + "@wordpress/dom": "*", + "@wordpress/element": "*", + "@wordpress/fields": "*", + "@wordpress/hooks": "*", + "@wordpress/html-entities": "*", + "@wordpress/i18n": "*", + "@wordpress/icons": "*", + "@wordpress/interface": "*", + "@wordpress/keyboard-shortcuts": "*", + "@wordpress/keycodes": "*", + "@wordpress/media-utils": "*", + "@wordpress/notices": "*", + "@wordpress/patterns": "*", + "@wordpress/plugins": "*", + "@wordpress/preferences": "*", + "@wordpress/private-apis": "*", + "@wordpress/reusable-blocks": "*", + "@wordpress/rich-text": "*", + "@wordpress/server-side-render": "*", + "@wordpress/url": "*", + "@wordpress/warning": "*", + "@wordpress/wordcount": "*", "change-case": "^4.1.2", "client-zip": "^2.4.5", "clsx": "^2.1.1", @@ -7911,40 +7769,16 @@ "react-dom": "^18.0.0" } }, - "node_modules/@wordpress/editor/node_modules/@wordpress/keycodes": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.10.0.tgz", - "integrity": "sha512-2i+N90HBMqQegtGqeVB8pJz8ZgKAY1eZmQegE9MXczYVac85DDOoxhY/41c44s6Kwl3waJ2Zght6UXE0OUFMxw==", - "dev": true, - "dependencies": { - "@babel/runtime": "7.25.7", - "@wordpress/i18n": "^5.10.0" - }, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, - "node_modules/@wordpress/editor/node_modules/@wordpress/warning": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.10.0.tgz", - "integrity": "sha512-IhvIBhhzsNYuLT61ZtKWm7oMg4G0x//eQD8dlnsBA4edP8BiX1VzwA3wCtz9+QdEFzraPJAq9NG4RPxGQas4Nw==", - "dev": true, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, "node_modules/@wordpress/element": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-6.10.0.tgz", - "integrity": "sha512-7zW+14vHqEn45nszSLMUqE5IbzOtvgUUgF56qlMhwabpG4l/zhaj3gO3wLDI19C13ih1vOdSjzPc3At4fB3tRQ==", + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/element/-/element-6.11.0.tgz", + "integrity": "sha512-UvHFYkT+EEaXEyEfw+iqLHRO9OwBjjsUydEMHcqntzkNcsYeAbmaL9V8R9ikXHLe6ftdbkwoXgF85xVPhVsL+Q==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.25", - "@wordpress/escape-html": "^3.10.0", + "@wordpress/escape-html": "*", "change-case": "^4.1.2", "is-plain-object": "^5.0.0", "react": "^18.3.0", @@ -7956,9 +7790,9 @@ } }, "node_modules/@wordpress/env": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-10.10.0.tgz", - "integrity": "sha512-7r4E5ECqkdy+Cll3ikCKfaweyRL7T7uAnY86GZZ9HJa5dNfzObfTyWWtPB44gMp5KnW4dZGW/E6mQMzhedc72A==", + "version": "10.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-10.11.0.tgz", + "integrity": "sha512-Sd31oiYxy9/pNMfYw7XgtCBoD4PpvcK1UQ/FVFP+DsTTuo55Ma4UAHMKfg2NhnZWqhJTgPC6XXzicGpr/lK4RQ==", "dev": true, "dependencies": { "chalk": "^4.0.0", @@ -8059,10 +7893,11 @@ } }, "node_modules/@wordpress/escape-html": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-3.10.0.tgz", - "integrity": "sha512-3glY3MhXEHlPP0/hrS3vkRmAOHtutvoHGhkr8vnva6TLg4CsAeo42nYbuFJ+ukVMWdCtmV+28UjOeiYtG/fZOA==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/escape-html/-/escape-html-3.11.0.tgz", + "integrity": "sha512-TGiUoUpnPxNKCvpZzskIjtgPH8UhZAYTflbHTaA9IALBc1alq0SDdmMAfQ7qhnKer4CPU9+dSXv79q7olobeLQ==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7" }, @@ -8072,16 +7907,16 @@ } }, "node_modules/@wordpress/eslint-plugin": { - "version": "21.3.0", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-21.3.0.tgz", - "integrity": "sha512-nZTaj4RwfAgE16oVqWf7UkDohHrZkk4S4m3tC8j8ZO8XbH+QMiJi7Ga6vi9VlUu47k6xo4vQYNfvnpX+qzX7eA==", + "version": "21.4.0", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-21.4.0.tgz", + "integrity": "sha512-8V/cpGDDTG0loqWUjmz2mqVG55hKYTfSRC43xh2aqRIGyeKfMiqaHxD/BgEi94HFdcAhAX6DYwlPnHR18Dc/tw==", "dev": true, "dependencies": { "@babel/eslint-parser": "7.25.7", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", - "@wordpress/babel-preset-default": "^8.10.0", - "@wordpress/prettier-config": "^4.10.0", + "@wordpress/babel-preset-default": "*", + "@wordpress/prettier-config": "*", "cosmiconfig": "^7.0.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.2", @@ -8219,49 +8054,6 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@wordpress/eslint-plugin/node_modules/@wordpress/babel-preset-default": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/babel-preset-default/-/babel-preset-default-8.10.0.tgz", - "integrity": "sha512-r4Nziy4imbjAdp+t1uV+BFu6UXLhvGPoS+UdQVPwT8hUIJZxiRkGrw9+O/b1LNv971XdOtpZUDXiw4Heb0BGkQ==", - "dev": true, - "dependencies": { - "@babel/core": "7.25.7", - "@babel/plugin-transform-react-jsx": "7.25.7", - "@babel/plugin-transform-runtime": "7.25.7", - "@babel/preset-env": "7.25.7", - "@babel/preset-typescript": "7.25.7", - "@babel/runtime": "7.25.7", - "@wordpress/browserslist-config": "^6.10.0", - "@wordpress/warning": "^3.10.0", - "browserslist": "^4.21.10", - "core-js": "^3.31.0", - "react": "^18.3.0" - }, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, - "node_modules/@wordpress/eslint-plugin/node_modules/@wordpress/browserslist-config": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-6.10.0.tgz", - "integrity": "sha512-X5BG4xWvr1Qq9S2x5ERCF7V4bpa24zbj8cWYbIJaGiCfi6vp6dFI1SbvuZPXfKyThyytTVYBvEIr6CSm6G8fuQ==", - "dev": true, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, - "node_modules/@wordpress/eslint-plugin/node_modules/@wordpress/warning": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.10.0.tgz", - "integrity": "sha512-IhvIBhhzsNYuLT61ZtKWm7oMg4G0x//eQD8dlnsBA4edP8BiX1VzwA3wCtz9+QdEFzraPJAq9NG4RPxGQas4Nw==", - "dev": true, - "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" - } - }, "node_modules/@wordpress/eslint-plugin/node_modules/eslint-plugin-jest": { "version": "27.9.0", "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.9.0.tgz", @@ -8367,20 +8159,63 @@ "react": "^18.0.0" } }, + "node_modules/@wordpress/fields/node_modules/@wordpress/blocks": { + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-13.10.0.tgz", + "integrity": "sha512-Csfw4BgrPEry1OGE0iHSHJlSbao1IA8ujaE8H0LjAXCvMHXET11avSVvFwuYOaDbeSVi2TD50xA+UpMiJnEo4A==", + "dev": true, + "dependencies": { + "@babel/runtime": "7.25.7", + "@wordpress/autop": "^4.10.0", + "@wordpress/blob": "^4.10.0", + "@wordpress/block-serialization-default-parser": "^5.10.0", + "@wordpress/data": "^10.10.0", + "@wordpress/deprecated": "^4.10.0", + "@wordpress/dom": "^4.10.0", + "@wordpress/element": "^6.10.0", + "@wordpress/hooks": "^4.10.0", + "@wordpress/html-entities": "^4.10.0", + "@wordpress/i18n": "^5.10.0", + "@wordpress/is-shallow-equal": "^5.10.0", + "@wordpress/private-apis": "^1.10.0", + "@wordpress/rich-text": "^7.10.0", + "@wordpress/shortcode": "^4.10.0", + "@wordpress/warning": "^3.10.0", + "change-case": "^4.1.2", + "colord": "^2.7.0", + "fast-deep-equal": "^3.1.3", + "hpq": "^1.3.0", + "is-plain-object": "^5.0.0", + "memize": "^2.1.0", + "react-is": "^18.3.0", + "remove-accents": "^0.5.0", + "showdown": "^1.9.1", + "simple-html-tokenizer": "^0.5.7", + "uuid": "^9.0.1" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, + "peerDependencies": { + "react": "^18.0.0" + } + }, "node_modules/@wordpress/fields/node_modules/@wordpress/warning": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.10.0.tgz", - "integrity": "sha512-IhvIBhhzsNYuLT61ZtKWm7oMg4G0x//eQD8dlnsBA4edP8BiX1VzwA3wCtz9+QdEFzraPJAq9NG4RPxGQas4Nw==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.11.0.tgz", + "integrity": "sha512-tXCsxlMAYXbRCgZmVHsBkoBGnrytZPGGezGXANRTsyJ00QoQJgxvnH6u22Rs/NOIVHQ5o65/9jKC3g0e6qn7PA==", "dev": true, + "license": "GPL-2.0-or-later", "engines": { "node": ">=18.12.0", "npm": ">=8.19.2" } }, "node_modules/@wordpress/hooks": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-4.10.0.tgz", - "integrity": "sha512-LcorV5Z9XoJCKyj5Ulgw1HPHyM2mxsSInC7wl5cuIgDFmuwPTfRndUDGWz/v86GX1GnUIB0h/ggd53vx1HiW4A==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-4.11.0.tgz", + "integrity": "sha512-MvsbtOCXKSxJbdgTM5fx8JDbtjA5dlM8GEyr1LEz+1AHwWy5loQx17DEodAkHPu3NCelJ18LSL6AJYJ9simB8g==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7" @@ -8391,10 +8226,11 @@ } }, "node_modules/@wordpress/html-entities": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/html-entities/-/html-entities-4.10.0.tgz", - "integrity": "sha512-Bnop0k3yjtRhm4CedbsGG22OMLEeob4mYmTR9z0g0QP7OofEw1TINspizr+kQbOu4n1ubJ6YVC8T13Z2va1j0g==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/html-entities/-/html-entities-4.11.0.tgz", + "integrity": "sha512-OMpq/oP7CvfMojedgeI9unIAx0wuB8n10JwM72xi0CI/NYuymAcaOoD3OGkmS+4i6IW/geC3AooyWwRduzY85Q==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7" }, @@ -8404,13 +8240,13 @@ } }, "node_modules/@wordpress/i18n": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-5.10.0.tgz", - "integrity": "sha512-HZ6UcMHsjOocDI0zVAuP4JIl97LRmpGo/lVxzVIreaLoYitmYVDUzji02u1o7sEdRWc1Hpkm2/oO/9275rJg1w==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-5.11.0.tgz", + "integrity": "sha512-U8CoXAIcmxcOHD1VeGRoo6iLjx71eE4LstQjHjKGT3J4Lz43O8MunT+/cm606FCcQgunPCyaALquD2vSf+JD9w==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/hooks": "^4.10.0", + "@wordpress/hooks": "*", "gettext-parser": "^1.3.1", "memize": "^2.1.0", "sprintf-js": "^1.1.1", @@ -8425,14 +8261,14 @@ } }, "node_modules/@wordpress/icons": { - "version": "10.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-10.10.0.tgz", - "integrity": "sha512-41HaxMtq0WZF37mpZ1RQ1s1J3ia5gHFUd/uGhP9p1dhzEFYALxKVTB0Gy3cJhT0CslKeEwYx2XQIP1ZaCKNakQ==", + "version": "10.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-10.11.0.tgz", + "integrity": "sha512-RMetpFwUIeh3sVj2+p6+QX5AW8pF7DvQzxH9jUr8YjaF2iLE64vy6m0cZz/X8xkSktHrXMuPJIr7YIVF20TEyw==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/element": "^6.10.0", - "@wordpress/primitives": "^4.10.0" + "@wordpress/element": "*", + "@wordpress/primitives": "*" }, "engines": { "node": ">=18.12.0", @@ -8498,10 +8334,11 @@ } }, "node_modules/@wordpress/is-shallow-equal": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-5.10.0.tgz", - "integrity": "sha512-KOkZzOnmjpH7hzPiaXUjhUlfKIGTzL7qUdNHBC1SFDOYpnRUSw8f1AtWxRpPBHl5dieYVx0x1qjOWjm/DtTOXg==", + "version": "5.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-5.11.0.tgz", + "integrity": "sha512-LWMFSHcsD/FecJytZP3uboNUkVyowUN4HtFz3rJkAjpcvgZV9S++4ALejzN9jegOWfD6KNKAyWc7FyV25WXPYw==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7" }, @@ -8565,13 +8402,14 @@ } }, "node_modules/@wordpress/keyboard-shortcuts/node_modules/@wordpress/keycodes": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.10.0.tgz", - "integrity": "sha512-2i+N90HBMqQegtGqeVB8pJz8ZgKAY1eZmQegE9MXczYVac85DDOoxhY/41c44s6Kwl3waJ2Zght6UXE0OUFMxw==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.11.0.tgz", + "integrity": "sha512-aI8ftrEU62Y25p4881+d5zglPNOmWJJTokfC0eF4iW6DRnBy/btOMC6zIf+oATjG2pGTyMfHveALJf0YSpdyEw==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/i18n": "^5.10.0" + "@wordpress/i18n": "*" }, "engines": { "node": ">=18.12.0", @@ -8691,33 +8529,86 @@ "@wordpress/element": "^6.10.0", "@wordpress/html-entities": "^4.10.0", "@wordpress/i18n": "^5.10.0", - "@wordpress/icons": "^10.10.0", - "@wordpress/notices": "^5.10.0", + "@wordpress/icons": "^10.10.0", + "@wordpress/notices": "^5.10.0", + "@wordpress/private-apis": "^1.10.0", + "@wordpress/url": "^4.10.0" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + } + }, + "node_modules/@wordpress/patterns/node_modules/@wordpress/blocks": { + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-13.10.0.tgz", + "integrity": "sha512-Csfw4BgrPEry1OGE0iHSHJlSbao1IA8ujaE8H0LjAXCvMHXET11avSVvFwuYOaDbeSVi2TD50xA+UpMiJnEo4A==", + "dev": true, + "dependencies": { + "@babel/runtime": "7.25.7", + "@wordpress/autop": "^4.10.0", + "@wordpress/blob": "^4.10.0", + "@wordpress/block-serialization-default-parser": "^5.10.0", + "@wordpress/data": "^10.10.0", + "@wordpress/deprecated": "^4.10.0", + "@wordpress/dom": "^4.10.0", + "@wordpress/element": "^6.10.0", + "@wordpress/hooks": "^4.10.0", + "@wordpress/html-entities": "^4.10.0", + "@wordpress/i18n": "^5.10.0", + "@wordpress/is-shallow-equal": "^5.10.0", "@wordpress/private-apis": "^1.10.0", - "@wordpress/url": "^4.10.0" + "@wordpress/rich-text": "^7.10.0", + "@wordpress/shortcode": "^4.10.0", + "@wordpress/warning": "^3.10.0", + "change-case": "^4.1.2", + "colord": "^2.7.0", + "fast-deep-equal": "^3.1.3", + "hpq": "^1.3.0", + "is-plain-object": "^5.0.0", + "memize": "^2.1.0", + "react-is": "^18.3.0", + "remove-accents": "^0.5.0", + "showdown": "^1.9.1", + "simple-html-tokenizer": "^0.5.7", + "uuid": "^9.0.1" }, "engines": { "node": ">=18.12.0", "npm": ">=8.19.2" }, "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" + "react": "^18.0.0" + } + }, + "node_modules/@wordpress/patterns/node_modules/@wordpress/warning": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.11.0.tgz", + "integrity": "sha512-tXCsxlMAYXbRCgZmVHsBkoBGnrytZPGGezGXANRTsyJ00QoQJgxvnH6u22Rs/NOIVHQ5o65/9jKC3g0e6qn7PA==", + "dev": true, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "node_modules/@wordpress/plugins": { - "version": "7.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/plugins/-/plugins-7.10.0.tgz", - "integrity": "sha512-CwE9ze9SZWvqddWL81j/DybTHWyGJNd9hi6ss0WLtEP0UghaYTVgO2TF8GbxSZv9yjXtrRhBXe56stavK35L5A==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/plugins/-/plugins-7.11.0.tgz", + "integrity": "sha512-BD+dJTFLErlGuL7lSg8aGjLIYM7TTpnUMG0mebw6E1G3bW5/k7NZTfglSMNiytNMmdkZS8sO6vbhGKX4hWB6Dg==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/components": "^28.10.0", - "@wordpress/compose": "^7.10.0", - "@wordpress/element": "^6.10.0", - "@wordpress/hooks": "^4.10.0", - "@wordpress/icons": "^10.10.0", - "@wordpress/is-shallow-equal": "^5.10.0", + "@wordpress/components": "*", + "@wordpress/compose": "*", + "@wordpress/deprecated": "*", + "@wordpress/element": "*", + "@wordpress/hooks": "*", + "@wordpress/icons": "*", + "@wordpress/is-shallow-equal": "*", "memize": "^2.0.1" }, "engines": { @@ -8774,26 +8665,27 @@ } }, "node_modules/@wordpress/prettier-config": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-4.10.0.tgz", - "integrity": "sha512-zT06uXepAWoXiBY8t1M5dz+DcyZ00Sm005YTJvjrLeMRLCEX9lZuZtqA/rYZsABzT90KJvdDTNP+2FsoZSOQcQ==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-3.15.0.tgz", + "integrity": "sha512-exC2rkEioTt//AnzPRyaaFv8FNYIvamPDytNol5bKQ6Qh65QSdZZE9V+GtRCrIPL7/Bq6xba03XuRVxl9TjtJg==", "dev": true, + "license": "GPL-2.0-or-later", "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" + "node": ">=14" }, "peerDependencies": { "prettier": ">=3" } }, "node_modules/@wordpress/primitives": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-4.10.0.tgz", - "integrity": "sha512-dmck1VSKbxy7yA5VZhi+jOyb0Hc6QqOxIZ4R139a/Zuzr0xHuuKurh94At/R9UHYP8Dr9YxAlgiF/uQChFzKQg==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-4.11.0.tgz", + "integrity": "sha512-CoBXbh0mOSxcZtuzL7gK3RVumFx71DXQBfd3IkbRHuuVxa+2hI4KDuFyomSsbjQDshHsfuVrKUvuT3UGt6pdpQ==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/element": "^6.10.0", + "@wordpress/element": "*", "clsx": "^2.1.1" }, "engines": { @@ -8805,24 +8697,25 @@ } }, "node_modules/@wordpress/priority-queue": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-3.10.0.tgz", - "integrity": "sha512-Gjbw5NmRLrZ9KkiROJlL4I/s96bMlpd7gGkQbcCyyeLIZduGxQDzI4Jih5s0Xrm7Gj8WFd57wRDe/voZJR0ZsQ==", + "version": "2.58.0", + "resolved": "https://registry.npmjs.org/@wordpress/priority-queue/-/priority-queue-2.58.0.tgz", + "integrity": "sha512-W+qCS8HJWsXG8gE6yK/H/IObowcghPrQMM3cQHtfd/U05yFNU1Bd/fbj3AO1fVRztktS47lIpi9m3ll1evPEHA==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { - "@babel/runtime": "7.25.7", + "@babel/runtime": "^7.16.0", "requestidlecallback": "^0.3.0" }, "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" + "node": ">=12" } }, "node_modules/@wordpress/private-apis": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/private-apis/-/private-apis-1.10.0.tgz", - "integrity": "sha512-gH6ZHmkc01MC431nMyjxFmU/77jVliOwjuv6SffQUgHMJyM75LiKC8CU8LEeLWbn3obG87m/n7Quj5p2MjtaeA==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/private-apis/-/private-apis-1.11.0.tgz", + "integrity": "sha512-ohTXVFf+a5t585qivy1XWfu0JDoloB/t19mJpFAcLGw1zw6wWs4upYyOsiJ8skSL+mbHCWpSWWZjGre/LcD0Ew==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7" }, @@ -8832,19 +8725,19 @@ } }, "node_modules/@wordpress/redux-routine": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/redux-routine/-/redux-routine-5.10.0.tgz", - "integrity": "sha512-oDqZDjz8H/bt02IEoIZCwsUsL17UOEnMg/heV0PoJxo3k5MTrvqJqzgBLoSC0PFzx/pwOo4TwvwCL+kjjm5gCQ==", + "version": "4.58.0", + "resolved": "https://registry.npmjs.org/@wordpress/redux-routine/-/redux-routine-4.58.0.tgz", + "integrity": "sha512-r0mMWFeJr93yPy2uY/M5+gdUUYj0Zu8+21OFFb5hyQ0z7UHIa3IdgQxzCaTbV1LDA1ZYJrjHeCnA6s4gNHjA2Q==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { - "@babel/runtime": "7.25.7", + "@babel/runtime": "^7.16.0", "is-plain-object": "^5.0.0", "is-promise": "^4.0.0", "rungen": "^0.3.2" }, "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" + "node": ">=12" }, "peerDependencies": { "redux": ">=4" @@ -8878,22 +8771,39 @@ "react-dom": "^18.0.0" } }, - "node_modules/@wordpress/rich-text": { - "version": "7.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-7.10.0.tgz", - "integrity": "sha512-2sl/KPRq2ygAiRcs/La733OguL9xIT4uKRA5XpCIWNAqTX7f2kzY5YRn05iJfCxDC+GcDKcHl0JX4ZbFxZn5SA==", + "node_modules/@wordpress/reusable-blocks/node_modules/@wordpress/blocks": { + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-13.10.0.tgz", + "integrity": "sha512-Csfw4BgrPEry1OGE0iHSHJlSbao1IA8ujaE8H0LjAXCvMHXET11avSVvFwuYOaDbeSVi2TD50xA+UpMiJnEo4A==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/a11y": "^4.10.0", - "@wordpress/compose": "^7.10.0", + "@wordpress/autop": "^4.10.0", + "@wordpress/blob": "^4.10.0", + "@wordpress/block-serialization-default-parser": "^5.10.0", "@wordpress/data": "^10.10.0", "@wordpress/deprecated": "^4.10.0", + "@wordpress/dom": "^4.10.0", "@wordpress/element": "^6.10.0", - "@wordpress/escape-html": "^3.10.0", + "@wordpress/hooks": "^4.10.0", + "@wordpress/html-entities": "^4.10.0", "@wordpress/i18n": "^5.10.0", - "@wordpress/keycodes": "^4.10.0", - "memize": "^2.1.0" + "@wordpress/is-shallow-equal": "^5.10.0", + "@wordpress/private-apis": "^1.10.0", + "@wordpress/rich-text": "^7.10.0", + "@wordpress/shortcode": "^4.10.0", + "@wordpress/warning": "^3.10.0", + "change-case": "^4.1.2", + "colord": "^2.7.0", + "fast-deep-equal": "^3.1.3", + "hpq": "^1.3.0", + "is-plain-object": "^5.0.0", + "memize": "^2.1.0", + "react-is": "^18.3.0", + "remove-accents": "^0.5.0", + "showdown": "^1.9.1", + "simple-html-tokenizer": "^0.5.7", + "uuid": "^9.0.1" }, "engines": { "node": ">=18.12.0", @@ -8903,18 +8813,40 @@ "react": "^18.0.0" } }, - "node_modules/@wordpress/rich-text/node_modules/@wordpress/keycodes": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/keycodes/-/keycodes-4.10.0.tgz", - "integrity": "sha512-2i+N90HBMqQegtGqeVB8pJz8ZgKAY1eZmQegE9MXczYVac85DDOoxhY/41c44s6Kwl3waJ2Zght6UXE0OUFMxw==", + "node_modules/@wordpress/reusable-blocks/node_modules/@wordpress/warning": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.11.0.tgz", + "integrity": "sha512-tXCsxlMAYXbRCgZmVHsBkoBGnrytZPGGezGXANRTsyJ00QoQJgxvnH6u22Rs/NOIVHQ5o65/9jKC3g0e6qn7PA==", + "dev": true, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } + }, + "node_modules/@wordpress/rich-text": { + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-7.11.0.tgz", + "integrity": "sha512-xrTvJ6H9UOnH+aA4QzeSQKV+rQS9RD87y1XoLZxrynDxLjsNO95PVhopfs0qIGNLr8wFhMtb0LQ+KXkxqA7fDw==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { "@babel/runtime": "7.25.7", - "@wordpress/i18n": "^5.10.0" + "@wordpress/a11y": "*", + "@wordpress/compose": "*", + "@wordpress/data": "*", + "@wordpress/deprecated": "*", + "@wordpress/element": "*", + "@wordpress/escape-html": "*", + "@wordpress/i18n": "*", + "@wordpress/keycodes": "*", + "memize": "^2.1.0" }, "engines": { "node": ">=18.12.0", "npm": ">=8.19.2" + }, + "peerDependencies": { + "react": "^18.0.0" } }, "node_modules/@wordpress/router": { @@ -9238,19 +9170,6 @@ "node": ">=12" } }, - "node_modules/@wordpress/scripts/node_modules/@wordpress/prettier-config": { - "version": "3.15.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-3.15.0.tgz", - "integrity": "sha512-exC2rkEioTt//AnzPRyaaFv8FNYIvamPDytNol5bKQ6Qh65QSdZZE9V+GtRCrIPL7/Bq6xba03XuRVxl9TjtJg==", - "dev": true, - "license": "GPL-2.0-or-later", - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "prettier": ">=3" - } - }, "node_modules/@wordpress/scripts/node_modules/@wordpress/url": { "version": "3.59.0", "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.59.0.tgz", @@ -9460,6 +9379,58 @@ "react-dom": "^18.0.0" } }, + "node_modules/@wordpress/server-side-render/node_modules/@wordpress/blocks": { + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-13.10.0.tgz", + "integrity": "sha512-Csfw4BgrPEry1OGE0iHSHJlSbao1IA8ujaE8H0LjAXCvMHXET11avSVvFwuYOaDbeSVi2TD50xA+UpMiJnEo4A==", + "dev": true, + "dependencies": { + "@babel/runtime": "7.25.7", + "@wordpress/autop": "^4.10.0", + "@wordpress/blob": "^4.10.0", + "@wordpress/block-serialization-default-parser": "^5.10.0", + "@wordpress/data": "^10.10.0", + "@wordpress/deprecated": "^4.10.0", + "@wordpress/dom": "^4.10.0", + "@wordpress/element": "^6.10.0", + "@wordpress/hooks": "^4.10.0", + "@wordpress/html-entities": "^4.10.0", + "@wordpress/i18n": "^5.10.0", + "@wordpress/is-shallow-equal": "^5.10.0", + "@wordpress/private-apis": "^1.10.0", + "@wordpress/rich-text": "^7.10.0", + "@wordpress/shortcode": "^4.10.0", + "@wordpress/warning": "^3.10.0", + "change-case": "^4.1.2", + "colord": "^2.7.0", + "fast-deep-equal": "^3.1.3", + "hpq": "^1.3.0", + "is-plain-object": "^5.0.0", + "memize": "^2.1.0", + "react-is": "^18.3.0", + "remove-accents": "^0.5.0", + "showdown": "^1.9.1", + "simple-html-tokenizer": "^0.5.7", + "uuid": "^9.0.1" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, + "peerDependencies": { + "react": "^18.0.0" + } + }, + "node_modules/@wordpress/server-side-render/node_modules/@wordpress/warning": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.11.0.tgz", + "integrity": "sha512-tXCsxlMAYXbRCgZmVHsBkoBGnrytZPGGezGXANRTsyJ00QoQJgxvnH6u22Rs/NOIVHQ5o65/9jKC3g0e6qn7PA==", + "dev": true, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } + }, "node_modules/@wordpress/shortcode": { "version": "4.10.0", "resolved": "https://registry.npmjs.org/@wordpress/shortcode/-/shortcode-4.10.0.tgz", @@ -9541,23 +9512,36 @@ } }, "node_modules/@wordpress/undo-manager": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/undo-manager/-/undo-manager-1.10.0.tgz", - "integrity": "sha512-WaLwZ+AlfXQm9PhLf6kwCBaD5DoKaIqelRsgAaqa4APjgMBlxktQ1dadime0CO9+e8R2kLwAE3rxQXhGjicRMw==", + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/@wordpress/undo-manager/-/undo-manager-0.18.0.tgz", + "integrity": "sha512-upbzPEToa095XG+2JXLHaolF1LfXEMFS0lNMYV37myoUS+eZ7/tl9Gx+yU2+OqWy57TMwx33NlWUX/n+ynzPRw==", "dev": true, + "license": "GPL-2.0-or-later", "dependencies": { - "@babel/runtime": "7.25.7", - "@wordpress/is-shallow-equal": "^5.10.0" + "@babel/runtime": "^7.16.0", + "@wordpress/is-shallow-equal": "^4.58.0" }, "engines": { - "node": ">=18.12.0", - "npm": ">=8.19.2" + "node": ">=12" + } + }, + "node_modules/@wordpress/undo-manager/node_modules/@wordpress/is-shallow-equal": { + "version": "4.58.0", + "resolved": "https://registry.npmjs.org/@wordpress/is-shallow-equal/-/is-shallow-equal-4.58.0.tgz", + "integrity": "sha512-NH2lbXo/6ix1t4Zu9UBXpXNtoLwSaYmIRSyDH34XNb0ic8a7yjEOhYWVW3LTfSCv9dJVyxlM5TJPtL85q7LdeQ==", + "dev": true, + "license": "GPL-2.0-or-later", + "dependencies": { + "@babel/runtime": "^7.16.0" + }, + "engines": { + "node": ">=12" } }, "node_modules/@wordpress/url": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-4.10.0.tgz", - "integrity": "sha512-SKlXocsTlaSee2trXcB0N3jdIfEGMnPiqNxxvTjeeBmsP/47MMXu5lXYslYyYlQbluhAR5/RMf0o3WqZAF2uOg==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-4.11.0.tgz", + "integrity": "sha512-Q9gyGCxagefDu8MRICYSxl97+UjDTFkaKXpxmD+hxkc95p4QA5C0URQLNZ5e/DSKBIGr0sTQ+ZoloueIu9m82g==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7", @@ -9626,10 +9610,62 @@ "react-dom": "^18.0.0" } }, + "node_modules/@wordpress/widgets/node_modules/@wordpress/blocks": { + "version": "13.10.0", + "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-13.10.0.tgz", + "integrity": "sha512-Csfw4BgrPEry1OGE0iHSHJlSbao1IA8ujaE8H0LjAXCvMHXET11avSVvFwuYOaDbeSVi2TD50xA+UpMiJnEo4A==", + "dev": true, + "dependencies": { + "@babel/runtime": "7.25.7", + "@wordpress/autop": "^4.10.0", + "@wordpress/blob": "^4.10.0", + "@wordpress/block-serialization-default-parser": "^5.10.0", + "@wordpress/data": "^10.10.0", + "@wordpress/deprecated": "^4.10.0", + "@wordpress/dom": "^4.10.0", + "@wordpress/element": "^6.10.0", + "@wordpress/hooks": "^4.10.0", + "@wordpress/html-entities": "^4.10.0", + "@wordpress/i18n": "^5.10.0", + "@wordpress/is-shallow-equal": "^5.10.0", + "@wordpress/private-apis": "^1.10.0", + "@wordpress/rich-text": "^7.10.0", + "@wordpress/shortcode": "^4.10.0", + "@wordpress/warning": "^3.10.0", + "change-case": "^4.1.2", + "colord": "^2.7.0", + "fast-deep-equal": "^3.1.3", + "hpq": "^1.3.0", + "is-plain-object": "^5.0.0", + "memize": "^2.1.0", + "react-is": "^18.3.0", + "remove-accents": "^0.5.0", + "showdown": "^1.9.1", + "simple-html-tokenizer": "^0.5.7", + "uuid": "^9.0.1" + }, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + }, + "peerDependencies": { + "react": "^18.0.0" + } + }, + "node_modules/@wordpress/widgets/node_modules/@wordpress/warning": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/warning/-/warning-3.11.0.tgz", + "integrity": "sha512-tXCsxlMAYXbRCgZmVHsBkoBGnrytZPGGezGXANRTsyJ00QoQJgxvnH6u22Rs/NOIVHQ5o65/9jKC3g0e6qn7PA==", + "dev": true, + "engines": { + "node": ">=18.12.0", + "npm": ">=8.19.2" + } + }, "node_modules/@wordpress/wordcount": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@wordpress/wordcount/-/wordcount-4.10.0.tgz", - "integrity": "sha512-RtdSPRnSwS7U6JRa4YtnqCO2iWNU6kpyvRWpsjr6U/Xrg632vIv4Q8qcHMxbZRVgAMtzdiUDlDEOy4JPXZI1eQ==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@wordpress/wordcount/-/wordcount-4.11.0.tgz", + "integrity": "sha512-7RvPdjkrqmz/055SG/QCGH8UwdMhFz2YoNVPI1vA3iNglNxqwyb2k5ng7g3MJanPZNaUj0kuHknHhiCf/nLVHQ==", "dev": true, "dependencies": { "@babel/runtime": "7.25.7" @@ -10277,9 +10313,9 @@ } }, "node_modules/axe-core": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.0.tgz", - "integrity": "sha512-Mr2ZakwQ7XUAjp7pAwQWRhhK8mQQ6JAaNWSjmjxil0R8BPioMtQsTLOolGYkji1rcL++3dCqZA3zWqpT+9Ew6g==", + "version": "4.10.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.2.tgz", + "integrity": "sha512-RE3mdQ7P3FRSe7eqCWoeQ/Z9QXrtniSjp1wUjt5nRC3WIpz5rSCve6o3fsZ2aCpJtrZjSZgjwXAoTO5k4tEI0w==", "dev": true, "license": "MPL-2.0", "engines": { @@ -11997,9 +12033,9 @@ } }, "node_modules/core-js": { - "version": "3.38.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.1.tgz", - "integrity": "sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==", + "version": "3.39.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.39.0.tgz", + "integrity": "sha512-raM0ew0/jJUqkJ0E6e8UDtl+y/7ktFivgWvqw8dNSQeNWoSDLvQ1H/RN3aPXB9tBd4/FhyR4RDPGhsNIMsAn7g==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -13088,9 +13124,9 @@ } }, "node_modules/docker-compose/node_modules/yaml": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.1.tgz", - "integrity": "sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.0.tgz", + "integrity": "sha512-a6ae//JvKDEra2kdi1qzCyrJW/WZCgFi8ydDV+eXExl95t+5R+ijnqHJbz9tmMh8FUjx3iv2fCQ4dclAQlO2UQ==", "dev": true, "license": "ISC", "bin": { @@ -26749,9 +26785,9 @@ } }, "node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "dev": true, "license": "0BSD" }, @@ -27463,9 +27499,9 @@ } }, "node_modules/web-vitals": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-4.2.3.tgz", - "integrity": "sha512-/CFAm1mNxSmOj6i0Co+iGFJ58OS4NRGVP+AWS/l509uIK5a1bSoIVaHz/ZumpHTfHSZBpgrJ+wjfpAOrTHok5Q==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-4.2.4.tgz", + "integrity": "sha512-r4DIlprAGwJ7YM11VZp4R884m0Vmgr6EAKe3P+kO0PPj3Unqyvv59rczf6UiGcb9Z8QxZVcqKNwv/g0WNdWwsw==", "dev": true, "license": "Apache-2.0" }, diff --git a/package.json b/package.json index 65d283060..6b5ca496b 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ ], "dependencies": { "@types/js-cookie": "^3.0.6", - "@wordpress/dom-ready": "^4.10.0", + "@wordpress/dom-ready": "^4.11.0", "js-cookie": "^3.0.5", "lodash.debounce": "^4.0.8" }, @@ -53,27 +53,27 @@ "@types/wordpress__editor": "^14.3.1", "@types/wordpress__wordcount": "^2.4.5", "@typescript-eslint/eslint-plugin": "^6.21.0", - "@wordpress/api-fetch": "^7.10.0", + "@wordpress/api-fetch": "^7.11.0", "@wordpress/babel-preset-default": "^7.42.0", - "@wordpress/block-editor": "^14.5.0", - "@wordpress/blocks": "^13.10.0", - "@wordpress/components": "^28.10.0", - "@wordpress/compose": "^7.10.0", - "@wordpress/core-data": "^7.10.0", - "@wordpress/data": "^10.10.0", - "@wordpress/e2e-test-utils-playwright": "^1.10.0", - "@wordpress/edit-post": "^8.10.0", - "@wordpress/editor": "^14.10.0", - "@wordpress/element": "^6.10.0", - "@wordpress/env": "^10.10.0", - "@wordpress/eslint-plugin": "^21.3.0", - "@wordpress/hooks": "^4.10.0", - "@wordpress/i18n": "^5.10.0", - "@wordpress/icons": "^10.10.0", - "@wordpress/plugins": "^7.10.0", + "@wordpress/block-editor": "^14.6.0", + "@wordpress/blocks": "^14.0.0", + "@wordpress/components": "^28.11.0", + "@wordpress/compose": "^7.11.0", + "@wordpress/core-data": "^7.11.0", + "@wordpress/data": "^10.11.0", + "@wordpress/e2e-test-utils-playwright": "^1.11.0", + "@wordpress/edit-post": "^8.11.0", + "@wordpress/editor": "^14.11.0", + "@wordpress/element": "^6.11.0", + "@wordpress/env": "^10.11.0", + "@wordpress/eslint-plugin": "^21.4.0", + "@wordpress/hooks": "^4.11.0", + "@wordpress/i18n": "^5.11.0", + "@wordpress/icons": "^10.11.0", + "@wordpress/plugins": "^7.11.0", "@wordpress/scripts": "^27.9.0", - "@wordpress/url": "^4.10.0", - "@wordpress/wordcount": "^4.10.0", + "@wordpress/url": "^4.11.0", + "@wordpress/wordcount": "^4.11.0", "concurrently": "^9.0.1", "eslint-plugin-jest": "^28.8.3", "husky": "^9.1.6", diff --git a/src/@types/assets/window.d.ts b/src/@types/assets/window.d.ts index e91ab7a94..0a683a4c5 100644 --- a/src/@types/assets/window.d.ts +++ b/src/@types/assets/window.d.ts @@ -32,6 +32,7 @@ declare global { wpParselyPostUrl: string; wpParselySiteId: string, wpParselySmartLinkingAllowedBlocks: string[]; + wpParselyTrackableStatuses: string[]; /** * Jetpack Editor Initial State. diff --git a/src/class-parsely.php b/src/class-parsely.php index 4f02c2948..f3eecee64 100644 --- a/src/class-parsely.php +++ b/src/class-parsely.php @@ -232,6 +232,32 @@ public function __construct() { $this->allow_parsely_remote_requests(); } + /** + * Gets the allowed post statuses for tracking. + * + * Uses the `wp_parsely_trackable_statuses` filter to determine which post statuses are allowed to be tracked. + * + * @since 3.17.0 + * + * @param WP_Post|int|null $post The post object. + * @return array The allowed post statuses. + */ + public static function get_trackable_statuses( $post = null ): array { + /** + * Filters the statuses that are permitted to be tracked. + * + * By default, the only status tracked is 'publish'. Use this filter if + * you have other published content that has a different (custom) status. + * + * @since 2.5.0 + * @since 3.17.0 Filter extracted to a separate method. + * + * @param string[] $trackable_statuses The list of post statuses that are allowed to be tracked. + * @param WP_Post|int|null $post Which post object or ID is being checked. + */ + return apply_filters( 'wp_parsely_trackable_statuses', array( 'publish' ), $post ); + } + /** * Registers action and filter hook callbacks, and immediately upgrades * options if needed. @@ -394,18 +420,7 @@ public static function post_has_trackable_status( $post ): bool { return false; } - /** - * Filters the statuses that are permitted to be tracked. - * - * By default, the only status tracked is 'publish'. Use this filter if - * you have other published content that has a different (custom) status. - * - * @since 2.5.0 - * - * @param string[] $trackable_statuses The list of post statuses that are allowed to be tracked. - * @param int|WP_Post $post Which post object or ID is being checked. - */ - $statuses = apply_filters( 'wp_parsely_trackable_statuses', array( 'publish' ), $post ); + $statuses = self::get_trackable_statuses( $post ); $cache[ $post_id ] = in_array( get_post_status( $post ), $statuses, true ); return $cache[ $post_id ]; } diff --git a/src/content-helper/editor-sidebar/class-editor-sidebar.php b/src/content-helper/editor-sidebar/class-editor-sidebar.php index 42912085b..aa97567a4 100644 --- a/src/content-helper/editor-sidebar/class-editor-sidebar.php +++ b/src/content-helper/editor-sidebar/class-editor-sidebar.php @@ -165,11 +165,19 @@ public function run(): void { if ( null !== $parsely_post_url ) { wp_add_inline_script( static::get_script_id(), - 'wpParselyPostUrl = ' . wp_json_encode( $parsely_post_url ) . ';', + 'window.wpParselyPostUrl = ' . wp_json_encode( $parsely_post_url ) . ';', 'before' ); } + // Inject the trackable statuses. + $trackable_statuses = Parsely::get_trackable_statuses(); + wp_add_inline_script( + static::get_script_id(), + 'window.wpParselyTrackableStatuses = ' . wp_json_encode( $trackable_statuses ) . ';', + 'before' + ); + wp_enqueue_style( static::get_style_id(), $built_assets_url . 'editor-sidebar.css', diff --git a/src/content-helper/editor-sidebar/performance-stats/provider.ts b/src/content-helper/editor-sidebar/performance-stats/provider.ts index df8293aca..7219385e6 100644 --- a/src/content-helper/editor-sidebar/performance-stats/provider.ts +++ b/src/content-helper/editor-sidebar/performance-stats/provider.ts @@ -58,8 +58,12 @@ export class PerformanceStatsProvider extends BaseProvider { public async getPerformanceStats( period: Period ): Promise { const editor = select( 'core/editor' ); - // We cannot show data for non-published posts. - if ( false === editor.isCurrentPostPublished() ) { + // Get the current post's status. + const currentPostStatus = editor.getEditedPostAttribute( 'status' ) ?? 'draft'; + const trackableStatuses = window.wpParselyTrackableStatuses ?? [ 'publish' ]; + + // We cannot show data for non-published posts that are not in the trackable statuses. + if ( ! editor.isCurrentPostPublished() && ! trackableStatuses.includes( currentPostStatus ) ) { return Promise.reject( new ContentHelperError( __( 'This post is not published, so its details are unavailable.', @@ -118,11 +122,12 @@ export class PerformanceStatsProvider extends BaseProvider { // No data was returned. if ( response.length === 0 ) { + const postTitle = select( 'core/editor' ).getEditedPostAttribute( 'title' ) ?? ''; return Promise.reject( new ContentHelperError( sprintf( - /* translators: URL of the published post */ - __( 'The post %d has 0 views, or the Parse.ly API returned no data.', - 'wp-parsely' ), postId + /* translators: Title of the published post */ + __( '%s has 0 views, or the Parse.ly API returned no data.', + 'wp-parsely' ), postTitle ), ContentHelperErrorCode.ParselyApiReturnedNoData, '' ) ); }