(()=>{"use strict";var e,t={185:(e,t,r)=>{const o=window.wp.domReady;var n=r.n(o),a=r(338);const s=window.wp.data,i=window.wp.i18n,c=window.wp.components,d=window.ReactJSXRuntime,l=()=>(0,d.jsxs)(c.ToolbarButton,{label:"VK Pattern Library",className:"components-button is-secondary",onClick:()=>window.open("https://patterns.vektor-inc.co.jp/","_blank"),children:["VK Pattern Library",(0,d.jsx)("span",{className:"dashicons dashicons-external"})]});n()((()=>{const{showPatternsLink:e}=vkpOptions;e&&"ja_JP"===(0,i.getLocaleData)()[""].lang&&(0,s.subscribe)((()=>{document.querySelector(".vk-patterns-header-toolbar")||(()=>{const e=document.querySelector(".edit-post-header-toolbar")||document.querySelector(".edit-site-header__toolbar");if(!e)return;const t=document.createElement("div");t.classList.add("vk-patterns-header-toolbar"),e.querySelector(".vk-patterns-header-toolbar")||((0,a.H)(t).render((0,d.jsx)(l,{})),e.appendChild(t))})()}))}))},338:(e,t,r)=>{var o=r(795);t.H=o.createRoot,o.hydrateRoot},795:e=>{e.exports=window.ReactDOM}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.m=t,e=[],o.O=(t,r,n,a)=>{if(!r){var s=1/0;for(l=0;l<e.length;l++){r=e[l][0],n=e[l][1],a=e[l][2];for(var i=!0,c=0;c<r.length;c++)(!1&a||s>=a)&&Object.keys(o.O).every((e=>o.O[e](r[c])))?r.splice(c--,1):(i=!1,a<s&&(s=a));if(i){e.splice(l--,1);var d=n();void 0!==d&&(t=d)}}return t}a=a||0;for(var l=e.length;l>0&&e[l-1][2]>a;l--)e[l]=e[l-1];e[l]=[r,n,a]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={937:0,717:0};o.O.j=t=>0===e[t];var t=(t,r)=>{var n,a,s=r[0],i=r[1],c=r[2],d=0;if(s.some((t=>0!==e[t]))){for(n in i)o.o(i,n)&&(o.m[n]=i[n]);if(c)var l=c(o)}for(t&&t(r);d<s.length;d++)a=s[d],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(l)},r=self.webpackChunkvk_block_patterns=self.webpackChunkvk_block_patterns||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var n=o.O(void 0,[717],(()=>o(185)));n=o.O(n)})();