(()=>{var e,t={8782:(e,t,n)=>{"use strict";const r=window.React,o=window.wp.i18n,i=window.wp.blocks,l=JSON.parse('{"NQ":"hakoniwa-blocks","L1":"Hakoniwa"}'),a=JSON.parse('{"UU":"hakoniwa-blocks/timeline"}'),c=window.wp.blockEditor,s=(window.wp.components,window.wp.element);var u=n(6942),p=n.n(u);const d=l.NQ,f=[d+"/timeline-content"],k=[[d+"/timeline-content"],[d+"/timeline-content",{hasLine:!1}]],w=l.L1,h=a.UU,v=l.NQ,b=(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",class:"icon icon-tabler icon-tabler-chart-infographic",width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},(0,r.createElement)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,r.createElement)("circle",{fill:"none",cx:"7",cy:"7",r:"4"}),(0,r.createElement)("path",{d:"M7 3v4h4"}),(0,r.createElement)("line",{x1:"9",y1:"17",x2:"9",y2:"21"}),(0,r.createElement)("line",{x1:"17",y1:"14",x2:"17",y2:"21"}),(0,r.createElement)("line",{x1:"13",y1:"13",x2:"13",y2:"21"}),(0,r.createElement)("line",{x1:"21",y1:"12",x2:"21",y2:"21"}));(0,i.registerBlockType)(h,{title:(0,o.__)("Timelines","hakoniwa-blocks"),description:(0,o.__)("Suitable for creating content such as processes, procedures, chronology, history, etc.","hakoniwa-blocks"),category:v,icon:b,keywords:[(0,o.__)(w),(0,o.__)("Timelines")],attributes:{blockId:{type:"string"}},example:{attributes:{termination:!0}},edit:function(e){const{attributes:{},clientId:t,setAttributes:n}=e;(0,s.useEffect)((()=>{n({blockId:t})}),[t]);const o=p()(`block-${t}`),i=(0,c.useBlockProps)({className:o});return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{...i},(0,r.createElement)(c.InnerBlocks,{allowedBlocks:f,template:k})))},save:function(e){const{attributes:{blockId:t,icon:n}}=e,o=p()(`block-${t}`,n?"has-icon":""),i=c.useBlockProps.save({className:o});return(0,r.createElement)("div",{...i},(0,r.createElement)(c.InnerBlocks.Content,null))}})},6942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=l(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=l(t,n));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.m=t,e=[],r.O=(t,n,o,i)=>{if(!n){var l=1/0;for(u=0;u<e.length;u++){for(var[n,o,i]=e[u],a=!0,c=0;c<n.length;c++)(!1&i||l>=i)&&Object.keys(r.O).every((e=>r.O[e](n[c])))?n.splice(c--,1):(a=!1,i<l&&(l=i));if(a){e.splice(u--,1);var s=o();void 0!==s&&(t=s)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,o,i]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={2643:0,9627:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var o,i,[l,a,c]=n,s=0;if(l.some((t=>0!==e[t]))){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(c)var u=c(r)}for(t&&t(n);s<l.length;s++)i=l[s],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(u)},n=globalThis.webpackChunkhakoniwa_blocks=globalThis.webpackChunkhakoniwa_blocks||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var o=r.O(void 0,[9627],(()=>r(8782)));o=r.O(o)})();