(()=>{var e,t={6993:(e,t,r)=>{"use strict";const o=window.React,n=(window.wp.i18n,window.wp.blocks,JSON.parse('{"NQ":"hakoniwa-blocks","L1":"Hakoniwa"}')),i=JSON.parse('{"UU":"hakoniwa-blocks/related-posts-bk"}');window.wp.blockEditor,window.wp.components,window.wp.hooks,window.wp.data,window.wp.element,r(6942),n.L1,i.UU,n.NQ;const a=(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-article",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},(0,o.createElement)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,o.createElement)("rect",{fill:"none",x:"3",y:"4",width:"18",height:"16",rx:"2"}),(0,o.createElement)("path",{d:"M7 8h10"}),(0,o.createElement)("path",{d:"M7 12h10"}),(0,o.createElement)("path",{d:"M7 16h10"})),s="hakoniwa-blocks/related-posts-bk";wp.blocks.registerBlockVariation("core/query",{name:s,title:"Books List",description:"Displays a list of books",isActive:["namespace"],icon:a,attributes:{namespace:s,query:{perPage:1,pages:0,offset:0,author:"",search:"",exclude:[],sticky:"",inherit:!1,isSameTerm:!1,isSameTaxonomy:!1,currentPostType:"",currentPostId:""}},allowedControls:["postType"],innerBlocks:[["core/post-template",{},[["core/post-title"],["core/post-excerpt"]]],["core/query-pagination"],["core/query-no-results"]],scope:["inserter"]})},6942:(e,t)=>{var r;!function(){"use strict";var o={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,i(r)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)o.call(e,r)&&e[r]&&(t=a(t,r));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.m=t,e=[],o.O=(t,r,n,i)=>{if(!r){var a=1/0;for(p=0;p<e.length;p++){for(var[r,n,i]=e[p],s=!0,l=0;l<r.length;l++)(!1&i||a>=i)&&Object.keys(o.O).every((e=>o.O[e](r[l])))?r.splice(l--,1):(s=!1,i<a&&(a=i));if(s){e.splice(p--,1);var c=n();void 0!==c&&(t=c)}}return t}i=i||0;for(var p=e.length;p>0&&e[p-1][2]>i;p--)e[p]=e[p-1];e[p]=[r,n,i]},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={7001:0,1629:0};o.O.j=t=>0===e[t];var t=(t,r)=>{var n,i,[a,s,l]=r,c=0;if(a.some((t=>0!==e[t]))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(l)var p=l(o)}for(t&&t(r);c<a.length;c++)i=a[c],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(p)},r=globalThis.webpackChunkhakoniwa_blocks=globalThis.webpackChunkhakoniwa_blocks||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var n=o.O(void 0,[1629],(()=>o(6993)));n=o.O(n)})();