2 lines
22 KiB
JavaScript
2 lines
22 KiB
JavaScript
/*! This file is auto-generated */
|
||
this.wp=this.wp||{},this.wp.blockDirectory=function(e){var t={};function o(l){if(t[l])return t[l].exports;var n=t[l]={i:l,l:!1,exports:{}};return e[l].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=e,o.c=t,o.d=function(e,t,l){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(l,n,function(t){return e[t]}.bind(null,n));return l},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s="./node_modules/@wordpress/block-directory/build-module/index.js")}({"./node_modules/@babel/runtime/helpers/esm/extends.js":function(e,t,o){"use strict";function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(e[l]=o[l])}return e}).apply(this,arguments)}o.d(t,"a",(function(){return l}))},"./node_modules/@wordpress/block-directory/build-module/index.js":function(e,t,o){"use strict";o.r(t),o.d(t,"store",(function(){return K}));var l={};o.r(l),o.d(l,"isRequestingDownloadableBlocks",(function(){return w})),o.d(l,"getDownloadableBlocks",(function(){return k})),o.d(l,"getInstalledBlockTypes",(function(){return j})),o.d(l,"getNewBlockTypes",(function(){return f})),o.d(l,"getUnusedBlockTypes",(function(){return _})),o.d(l,"isInstalling",(function(){return y})),o.d(l,"getErrorNotices",(function(){return g})),o.d(l,"getErrorNoticeForBlock",(function(){return E}));var n={};o.r(n),o.d(n,"fetchDownloadableBlocks",(function(){return S})),o.d(n,"receiveDownloadableBlocks",(function(){return x})),o.d(n,"installBlockType",(function(){return C})),o.d(n,"uninstallBlockType",(function(){return D})),o.d(n,"addInstalledBlockType",(function(){return P})),o.d(n,"removeInstalledBlockType",(function(){return R})),o.d(n,"setIsInstalling",(function(){return A})),o.d(n,"setErrorNotice",(function(){return M})),o.d(n,"clearErrorNotice",(function(){return F}));var r=o("@wordpress/element"),c=o("@wordpress/plugins"),s=o("@wordpress/hooks"),a=o("@wordpress/blocks"),i=o("@wordpress/data"),d=o("@wordpress/editor"),b=o("@wordpress/data-controls"),u=o("lodash");var p=Object(i.combineReducers)({downloadableBlocks:(e={},t)=>{switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return{...e,[t.filterValue]:{isRequesting:!0}};case"RECEIVE_DOWNLOADABLE_BLOCKS":return{...e,[t.filterValue]:{results:t.downloadableBlocks,isRequesting:!1}}}return e},blockManagement:(e={installedBlockTypes:[],isInstalling:{}},t)=>{switch(t.type){case"ADD_INSTALLED_BLOCK_TYPE":return{...e,installedBlockTypes:[...e.installedBlockTypes,t.item]};case"REMOVE_INSTALLED_BLOCK_TYPE":return{...e,installedBlockTypes:e.installedBlockTypes.filter(e=>e.name!==t.item.name)};case"SET_INSTALLING_BLOCK":return{...e,isInstalling:{...e.isInstalling,[t.blockId]:t.isInstalling}}}return e},errorNotices:(e={},t)=>{switch(t.type){case"SET_ERROR_NOTICE":return{...e,[t.blockId]:{message:t.message,isFatal:t.isFatal}};case"CLEAR_ERROR_NOTICE":return Object(u.omit)(e,t.blockId)}return e}}),m=o("@wordpress/block-editor");function O(e,t=[]){if(!t.length)return!1;if(t.some(({name:t})=>t===e.name))return!0;for(let o=0;o<t.length;o++)if(O(e,t[o].innerBlocks))return!0;return!1}function w(e,t){return!(!e.downloadableBlocks[t]||!e.downloadableBlocks[t].isRequesting)&&e.downloadableBlocks[t].isRequesting}function k(e,t){return e.downloadableBlocks[t]&&e.downloadableBlocks[t].results?e.downloadableBlocks[t].results:[]}function j(e){return e.blockManagement.installedBlockTypes}const f=Object(i.createRegistrySelector)(e=>t=>{const o=e(m.store).getBlocks();return j(t).filter(e=>O(e,o))}),_=Object(i.createRegistrySelector)(e=>t=>{const o=e(m.store).getBlocks();return j(t).filter(e=>!O(e,o))});function y(e,t){return e.blockManagement.isInstalling[t]||!1}function g(e){return e.errorNotices}function E(e,t){return e.errorNotices[t]}var h=o("@wordpress/i18n"),v=o("@wordpress/notices"),B=o("@wordpress/api-fetch"),N=o.n(B);const I=e=>new Promise((t,o)=>{const l=document.createElement(e.nodeName);["id","rel","src","href","type"].forEach(t=>{e[t]&&(l[t]=e[t])}),e.innerHTML&&l.appendChild(document.createTextNode(e.innerHTML)),l.onload=()=>t(!0),l.onerror=()=>o(new Error("Error loading asset.")),document.body.appendChild(l),("link"===l.nodeName.toLowerCase()||"script"===l.nodeName.toLowerCase()&&!l.src)&&t()});var T={async LOAD_ASSETS(){const e=await N()({url:document.location.href,parse:!1}),t=await e.text(),o=(new window.DOMParser).parseFromString(t,"text/html"),l=Array.from(o.querySelectorAll('link[rel="stylesheet"],script')).filter(e=>e.id&&!document.getElementById(e.id));for(const e of l)await I(e)}};function L(e){if(!e)return!1;const t=e.links["wp:plugin"]||e.links.self;return!(!t||!t.length)&&t[0].href}function S(e){return{type:"FETCH_DOWNLOADABLE_BLOCKS",filterValue:e}}function x(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function*C(e){const{id:t,assets:o}=e;let l=!1;yield F(t);try{yield A(e.id,!0);const t=L(e);let n={};if(t)yield Object(b.apiFetch)({url:t,data:{status:"active"},method:"PUT"});else{n=(yield Object(b.apiFetch)({path:"wp/v2/plugins",data:{slug:e.id,status:"active"},method:"POST"}))._links}yield P({...e,links:{...e.links,...n}}),yield function(e){return{type:"LOAD_ASSETS",assets:e}}(o);if(!(yield i.controls.select(a.store.name,"getBlockTypes")).some(t=>t.name===e.name))throw new Error(Object(h.__)("Error registering block. Try reloading the page."));yield i.controls.dispatch(v.store,"createInfoNotice",Object(h.sprintf)(Object(h.__)("Block %s installed and added."),e.title),{speak:!0,type:"snackbar"}),l=!0}catch(e){let o=e.message||Object(h.__)("An error occurred."),l=e instanceof Error;const n={folder_exists:Object(h.__)("This block is already installed. Try reloading the page."),unable_to_connect_to_filesystem:Object(h.__)("Error installing block. You can reload the page and try again.")};n[e.code]&&(l=!0,o=n[e.code]),yield M(t,o,l),yield i.controls.dispatch(v.store,"createErrorNotice",o,{speak:!0,isDismissible:!0})}return yield A(e.id,!1),l}function*D(e){try{yield Object(b.apiFetch)({url:L(e),data:{status:"inactive"},method:"PUT"}),yield Object(b.apiFetch)({url:L(e),method:"DELETE"}),yield R(e)}catch(e){yield i.controls.dispatch(v.store,"createErrorNotice",e.message||Object(h.__)("An error occurred."))}}function P(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function R(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}function A(e,t){return{type:"SET_INSTALLING_BLOCK",blockId:e,isInstalling:t}}function M(e,t,o=!1){return{type:"SET_ERROR_NOTICE",blockId:e,message:t,isFatal:o}}function F(e){return{type:"CLEAR_ERROR_NOTICE",blockId:e}}var V={*getDownloadableBlocks(e){if(e)try{yield S(e);const t=(yield Object(b.apiFetch)({path:"wp/v2/block-directory/search?term="+e})).map(e=>Object(u.mapKeys)(e,(e,t)=>Object(u.camelCase)(t)));yield x(t,e)}catch(e){}}};const H={reducer:p,selectors:l,actions:n,controls:{...b.controls,...T},resolvers:V},K=Object(i.createReduxStore)("core/block-directory",H);function z(){const{uninstallBlockType:e}=Object(i.useDispatch)(K),t=Object(i.useSelect)(e=>{const{isAutosavingPost:t,isSavingPost:o}=e(d.store);return o()&&!t()},[]),o=Object(i.useSelect)(e=>e(K).getUnusedBlockTypes(),[]);return Object(r.useEffect)(()=>{t&&o.length&&o.forEach(t=>{e(t),Object(a.unregisterBlockType)(t.name)})},[t]),null}Object(i.register)(K);var q=o("@wordpress/components"),Y=o("@wordpress/compose"),$=o("@wordpress/core-data"),U=o("./node_modules/@babel/runtime/helpers/esm/extends.js"),G=o("@wordpress/html-entities"),W=o("./node_modules/@wordpress/icons/build-module/icon/index.js"),J=o("./node_modules/@wordpress/icons/build-module/library/star-filled.js"),Q=o("@wordpress/primitives");var X=Object(r.createElement)(Q.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(Q.Path,{d:"M9.518 8.783a.25.25 0 00.188-.137l2.069-4.192a.25.25 0 01.448 0l2.07 4.192a.25.25 0 00.187.137l4.626.672a.25.25 0 01.139.427l-3.347 3.262a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.363.264l-4.137-2.176a.25.25 0 00-.233 0l-4.138 2.175a.25.25 0 01-.362-.263l.79-4.607a.25.25 0 00-.072-.222L4.753 9.882a.25.25 0 01.14-.427l4.625-.672zM12 14.533c.28 0 .559.067.814.2l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39v7.143z"})),Z=o("./node_modules/@wordpress/icons/build-module/library/star-empty.js");var ee=function({rating:e}){const t=.5*Math.round(e/.5),o=Math.floor(e),l=Math.ceil(e-o),n=5-(o+l);return Object(r.createElement)("span",{"aria-label":Object(h.sprintf)(Object(h.__)("%s out of 5 stars"),t)},Object(u.times)(o,e=>Object(r.createElement)(W.a,{key:"full_stars_"+e,className:"block-directory-block-ratings__star-full",icon:J.a,size:16})),Object(u.times)(l,e=>Object(r.createElement)(W.a,{key:"half_stars_"+e,className:"block-directory-block-ratings__star-half-full",icon:X,size:16})),Object(u.times)(n,e=>Object(r.createElement)(W.a,{key:"empty_stars_"+e,className:"block-directory-block-ratings__star-empty",icon:Z.a,size:16})))};var te=({rating:e})=>Object(r.createElement)("span",{className:"block-directory-block-ratings"},Object(r.createElement)(ee,{rating:e}));var oe=function({icon:e}){const t="block-directory-downloadable-block-icon";return null!==e.match(/\.(jpeg|jpg|gif|png|svg)(?:\?.*)?$/)?Object(r.createElement)("img",{className:t,src:e,alt:""}):Object(r.createElement)(m.BlockIcon,{className:t,icon:e,showColors:!0})};var le=({block:e})=>{const t=Object(i.useSelect)(t=>t(K).getErrorNoticeForBlock(e.id),[e]);return t?Object(r.createElement)("div",{className:"block-directory-downloadable-block-notice"},Object(r.createElement)("div",{className:"block-directory-downloadable-block-notice__content"},t.message,t.isFatal?" "+Object(h.__)("Try reloading the page."):null)):null};function ne({title:e,rating:t,ratingCount:o},{hasNotice:l,isInstalled:n,isInstalling:r}){const c=.5*Math.round(t/.5);return!n&&l?Object(h.sprintf)("Retry installing %s.",Object(G.decodeEntities)(e)):n?Object(h.sprintf)("Add %s.",Object(G.decodeEntities)(e)):r?Object(h.sprintf)("Installing %s.",Object(G.decodeEntities)(e)):o<1?Object(h.sprintf)("Install %s.",Object(G.decodeEntities)(e)):Object(h.sprintf)(Object(h._n)("Install %1$s. %2$s stars with %3$s review.","Install %1$s. %2$s stars with %3$s reviews.",o),Object(G.decodeEntities)(e),c,o)}var re=function({composite:e,item:t,onClick:o}){const{author:l,description:n,icon:c,rating:s,title:d}=t,b=!!Object(a.getBlockType)(t.name),{hasNotice:u,isInstalling:p,isInstallable:m}=Object(i.useSelect)(e=>{const{getErrorNoticeForBlock:o,isInstalling:l}=e(K),n=o(t.id),r=n&&n.isFatal;return{hasNotice:!!n,isInstalling:l(t.id),isInstallable:!r}},[t]);let O="";return b?O=Object(h.__)("Installed!"):p&&(O=Object(h.__)("Installing…")),Object(r.createElement)(q.__unstableCompositeItem,Object(U.a)({role:"option",as:q.Button},e,{className:"block-directory-downloadable-block-list-item",onClick:e=>{e.preventDefault(),o()},isBusy:p,disabled:p||!m,label:ne(t,{hasNotice:u,isInstalled:b,isInstalling:p}),showTooltip:!0,tooltipPosition:"top center"}),Object(r.createElement)("div",{className:"block-directory-downloadable-block-list-item__icon"},Object(r.createElement)(oe,{icon:c,title:d}),p?Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__spinner"},Object(r.createElement)(q.Spinner,null)):Object(r.createElement)(te,{rating:s})),Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__details"},Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__title"},Object(r.createInterpolateElement)(Object(h.sprintf)(Object(h.__)("%1$s <span>by %2$s</span>"),Object(G.decodeEntities)(d),l),{span:Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__author"})})),u?Object(r.createElement)(le,{block:t}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("span",{className:"block-directory-downloadable-block-list-item__desc"},O||Object(G.decodeEntities)(n)),m&&!(b||p)&&Object(r.createElement)(q.VisuallyHidden,null,Object(h.__)("Install block")))))};var ce=function({items:e,onHover:t=u.noop,onSelect:o}){const l=Object(q.__unstableUseCompositeState)(),{installBlockType:n}=Object(i.useDispatch)(K);return e.length?Object(r.createElement)(q.__unstableComposite,Object(U.a)({},l,{role:"listbox",className:"block-directory-downloadable-blocks-list","aria-label":Object(h.__)("Blocks available for install")}),e.map(e=>Object(r.createElement)(re,{key:e.id,composite:l,onClick:()=>{Object(a.getBlockType)(e.name)?o(e):n(e).then(t=>{t&&o(e)}),t(null)},onHover:t,item:e}))):null},se=o("@wordpress/a11y");var ae=function({children:e,downloadableItems:t,hasLocalBlocks:o}){const l=t.length;return Object(r.useEffect)(()=>{Object(se.speak)(Object(h.sprintf)(Object(h._n)("%d additional block is available to install.","%d additional blocks are available to install.",l),l))},[l]),Object(r.createElement)(r.Fragment,null,!o&&Object(r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__no-local"},Object(h.__)("No results available from your installed blocks.")),Object(r.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"}),Object(r.createElement)("div",{className:"block-directory-downloadable-blocks-panel"},Object(r.createElement)("div",{className:"block-directory-downloadable-blocks-panel__header"},Object(r.createElement)("h2",{className:"block-directory-downloadable-blocks-panel__title"},Object(h.__)("Available to install")),Object(r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(h.__)("Select a block to install and add it to your post."))),e))},ie=o("./node_modules/@wordpress/icons/build-module/library/block-default.js");var de=function(){return Object(r.createElement)("div",{className:"block-editor-inserter__no-results"},Object(r.createElement)(W.a,{className:"block-editor-inserter__no-results-icon",icon:ie.a}),Object(r.createElement)("p",null,Object(h.__)("No results found.")))};var be=Object(Y.compose)([Object(i.withSelect)((e,{filterValue:t,rootClientId:o=null})=>{const{getDownloadableBlocks:l,isRequestingDownloadableBlocks:n}=e(K),{canInsertBlockType:r}=e(m.store),c=e($.store).canUser("read","block-directory/search");return{downloadableItems:c?l(t).filter(e=>r(e,o,!0)):[],hasPermission:c,isLoading:n(t)}})])((function({downloadableItems:e,onSelect:t,onHover:o,hasLocalBlocks:l,hasPermission:n,isLoading:c,isTyping:s}){return void 0===n||c||s?Object(r.createElement)(r.Fragment,null,n&&!l&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",{className:"block-directory-downloadable-blocks-panel__no-local"},Object(h.__)("No results available from your installed blocks.")),Object(r.createElement)("div",{className:"block-editor-inserter__quick-inserter-separator"})),Object(r.createElement)("div",{className:"block-directory-downloadable-blocks-panel has-blocks-loading"},Object(r.createElement)(q.Spinner,null))):!1===n?l?null:Object(r.createElement)(de,null):e.length?Object(r.createElement)(ae,{downloadableItems:e,hasLocalBlocks:l},Object(r.createElement)(ce,{items:e,onSelect:t,onHover:o})):!l&&Object(r.createElement)(de,null)}));var ue=function(){const[e,t]=Object(r.useState)(""),o=Object(u.debounce)(t,400);return Object(r.createElement)(m.__unstableInserterMenuExtension,null,({onSelect:t,onHover:l,filterValue:n,hasItems:c,rootClientId:s})=>(e!==n&&o(n),e?Object(r.createElement)(be,{onSelect:t,onHover:l,rootClientId:s,filterValue:e,hasLocalBlocks:c,isTyping:n!==e}):null))},pe=o("@wordpress/edit-post");function me({items:e}){return e.length?Object(r.createElement)("ul",{className:"block-directory-compact-list"},e.map(({icon:e,id:t,title:o,author:l})=>Object(r.createElement)("li",{key:t,className:"block-directory-compact-list__item"},Object(r.createElement)(oe,{icon:e,title:o}),Object(r.createElement)("div",{className:"block-directory-compact-list__item-details"},Object(r.createElement)("div",{className:"block-directory-compact-list__item-title"},o),Object(r.createElement)("div",{className:"block-directory-compact-list__item-author"},Object(h.sprintf)(Object(h.__)("By %s"),l)))))):null}function Oe(){const e=Object(i.useSelect)(e=>e(K).getNewBlockTypes(),[]);return e.length?Object(r.createElement)(pe.PluginPrePublishPanel,{icon:ie.a,title:Object(h.sprintf)(Object(h._n)("Added: %d block","Added: %d blocks",e.length),e.length),initialOpen:!0},Object(r.createElement)("p",{className:"installed-blocks-pre-publish-panel__copy"},Object(h._n)("The following block has been added to your site.","The following blocks have been added to your site.",e.length)),Object(r.createElement)(me,{items:e})):null}function we({attributes:e,block:t,clientId:o}){const l=Object(i.useSelect)(e=>e(K).isInstalling(t.id)),{installBlockType:n}=Object(i.useDispatch)(K),{replaceBlock:c}=Object(i.useDispatch)(m.store);return Object(r.createElement)(q.Button,{onClick:()=>n(t).then(l=>{if(l){const l=Object(a.getBlockType)(t.name),[n]=Object(a.parse)(e.originalContent);n&&c(o,Object(a.createBlock)(l.name,n.attributes,n.innerBlocks))}}),disabled:l,isBusy:l,isPrimary:!0},Object(h.sprintf)(Object(h.__)("Install %s"),t.title))}const ke=({originalBlock:e,...t})=>{const{originalName:o,originalUndelimitedContent:l}=t.attributes,{replaceBlock:n}=Object(i.useDispatch)(m.store),c=()=>{n(t.clientId,Object(a.createBlock)("core/html",{content:l}))},s=!!l,d=Object(a.getBlockType)("core/html");let b=Object(h.sprintf)(Object(h.__)("Your site doesn’t include support for the %s block. You can try installing the block or remove it entirely."),e.title||o);const u=[Object(r.createElement)(we,{key:"install",block:e,attributes:t.attributes,clientId:t.clientId})];return s&&d&&(b=Object(h.sprintf)(Object(h.__)("Your site doesn’t include support for the %s block. You can try installing the block, convert it to a Custom HTML block, or remove it entirely."),e.title||o),u.push(Object(r.createElement)(q.Button,{key:"convert",onClick:c,isLink:!0},Object(h.__)("Keep as HTML")))),Object(r.createElement)("div",Object(m.useBlockProps)(),Object(r.createElement)(m.Warning,{actions:u},b),Object(r.createElement)(r.RawHTML,null,l))};var je=e=>t=>{const{originalName:o}=t.attributes,{block:l,hasPermission:n}=Object(i.useSelect)(e=>{const{getDownloadableBlocks:t}=e(K),l=t("block:"+o).filter(({name:e})=>o===e);return{hasPermission:e($.store).canUser("read","block-directory/search"),block:l.length&&l[0]}},[o]);return n&&l?Object(r.createElement)(ke,Object(U.a)({},t,{originalBlock:l})):Object(r.createElement)(e,t)};Object(c.registerPlugin)("block-directory",{render:()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)(z,null),Object(r.createElement)(ue,null),Object(r.createElement)(Oe,null))}),Object(s.addFilter)("blocks.registerBlockType","block-directory/fallback",(e,t)=>("core/missing"!==t||(e.edit=je(e.edit)),e))},"./node_modules/@wordpress/icons/build-module/icon/index.js":function(e,t,o){"use strict";var l=o("@wordpress/element");t.a=function({icon:e,size:t=24,...o}){return Object(l.cloneElement)(e,{width:t,height:t,...o})}},"./node_modules/@wordpress/icons/build-module/library/block-default.js":function(e,t,o){"use strict";var l=o("@wordpress/element"),n=o("@wordpress/primitives");const r=Object(l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(n.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=r},"./node_modules/@wordpress/icons/build-module/library/star-empty.js":function(e,t,o){"use strict";var l=o("@wordpress/element"),n=o("@wordpress/primitives");const r=Object(l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(n.Path,{fillRule:"evenodd",d:"M9.706 8.646a.25.25 0 01-.188.137l-4.626.672a.25.25 0 00-.139.427l3.348 3.262a.25.25 0 01.072.222l-.79 4.607a.25.25 0 00.362.264l4.138-2.176a.25.25 0 01.233 0l4.137 2.175a.25.25 0 00.363-.263l-.79-4.607a.25.25 0 01.072-.222l3.347-3.262a.25.25 0 00-.139-.427l-4.626-.672a.25.25 0 01-.188-.137l-2.069-4.192a.25.25 0 00-.448 0L9.706 8.646zM12 7.39l-.948 1.921a1.75 1.75 0 01-1.317.957l-2.12.308 1.534 1.495c.412.402.6.982.503 1.55l-.362 2.11 1.896-.997a1.75 1.75 0 011.629 0l1.895.997-.362-2.11a1.75 1.75 0 01.504-1.55l1.533-1.495-2.12-.308a1.75 1.75 0 01-1.317-.957L12 7.39z",clipRule:"evenodd"}));t.a=r},"./node_modules/@wordpress/icons/build-module/library/star-filled.js":function(e,t,o){"use strict";var l=o("@wordpress/element"),n=o("@wordpress/primitives");const r=Object(l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(n.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"}));t.a=r},"@wordpress/a11y":function(e,t){e.exports=window.wp.a11y},"@wordpress/api-fetch":function(e,t){e.exports=window.wp.apiFetch},"@wordpress/block-editor":function(e,t){e.exports=window.wp.blockEditor},"@wordpress/blocks":function(e,t){e.exports=window.wp.blocks},"@wordpress/components":function(e,t){e.exports=window.wp.components},"@wordpress/compose":function(e,t){e.exports=window.wp.compose},"@wordpress/core-data":function(e,t){e.exports=window.wp.coreData},"@wordpress/data":function(e,t){e.exports=window.wp.data},"@wordpress/data-controls":function(e,t){e.exports=window.wp.dataControls},"@wordpress/edit-post":function(e,t){e.exports=window.wp.editPost},"@wordpress/editor":function(e,t){e.exports=window.wp.editor},"@wordpress/element":function(e,t){e.exports=window.wp.element},"@wordpress/hooks":function(e,t){e.exports=window.wp.hooks},"@wordpress/html-entities":function(e,t){e.exports=window.wp.htmlEntities},"@wordpress/i18n":function(e,t){e.exports=window.wp.i18n},"@wordpress/notices":function(e,t){e.exports=window.wp.notices},"@wordpress/plugins":function(e,t){e.exports=window.wp.plugins},"@wordpress/primitives":function(e,t){e.exports=window.wp.primitives},lodash:function(e,t){e.exports=window.lodash}}); |