(()=>{"use strict";var e,r={382:()=>{const e=window.wp.blocks,r=window.wp.blockEditor,t=window.wp.components,o=window.ReactJSXRuntime,i=JSON.parse('{"apiVersion":2,"name":"ezhoroscope/tarot-3card-spread","title":"EZ Tarot – 3 Card Spread","category":"widgets","description":"Interactive 3-card tarot reading powered by EZ Horoscope tarot.js.","attributes":{"language":{"type":"string","default":"en"}},"editorScript":"file:./index.js","style":"file:./style-index.css","render":"file:./render.php","save":"file:./save.js"}');(0,e.registerBlockType)(i,{icon:(0,o.jsxs)("svg",{viewBox:"0 0 24 24",children:[(0,o.jsx)("rect",{x:"6",y:"4",width:"10",height:"14",rx:"1",fill:"none",stroke:"currentColor",strokeWidth:"1.5",transform:"rotate(-15, 11, 11)"}),(0,o.jsx)("rect",{x:"7",y:"4",width:"10",height:"14",rx:"1",fill:"#fff",stroke:"currentColor",strokeWidth:"1.5"}),(0,o.jsx)("rect",{x:"8",y:"4",width:"10",height:"14",rx:"1",fill:"none",stroke:"currentColor",strokeWidth:"1.5",transform:"rotate(15, 13, 11)"}),(0,o.jsx)("polygon",{points:"12,6 12.7,9 16,9 13.2,10.8 14,14 12,12 10,14 10.8,10.8 8,9 11.3,9",fill:"currentColor"})]}),edit:function({attributes:e,setAttributes:i}){const n=(0,r.useBlockProps)({className:"ez-tarot-block-editor"});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.InspectorControls,{children:(0,o.jsx)(t.PanelBody,{title:"Tarot Settings",initialOpen:!0,children:(0,o.jsx)(t.TextControl,{label:"Language",value:e.language,onChange:e=>i({language:e})})})}),(0,o.jsx)("div",{...n,children:(0,o.jsxs)("div",{className:"tarot-editor-placeholder",children:[(0,o.jsx)("h2",{children:"Tarot 3-Card Spread"}),(0,o.jsx)("p",{children:"This is an interactive tarot reading block."}),(0,o.jsxs)("p",{children:[(0,o.jsx)("strong",{children:"Frontend Only:"})," Preview the page to view the Tarot."]})]})})]})},save:function(){return null}})}},t={};function o(e){var i=t[e];if(void 0!==i)return i.exports;var n=t[e]={exports:{}};return r[e](n,n.exports,o),n.exports}o.m=r,e=[],o.O=(r,t,i,n)=>{if(!t){var s=1/0;for(d=0;d<e.length;d++){for(var[t,i,n]=e[d],a=!0,l=0;l<t.length;l++)(!1&n||s>=n)&&Object.keys(o.O).every(e=>o.O[e](t[l]))?t.splice(l--,1):(a=!1,n<s&&(s=n));if(a){e.splice(d--,1);var c=i();void 0!==c&&(r=c)}}return r}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[t,i,n]},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={195:0,67:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var i,n,[s,a,l]=t,c=0;if(s.some(r=>0!==e[r])){for(i in a)o.o(a,i)&&(o.m[i]=a[i]);if(l)var d=l(o)}for(r&&r(t);c<s.length;c++)n=s[c],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return o.O(d)},t=globalThis.webpackChunkez_horoscope=globalThis.webpackChunkez_horoscope||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var i=o.O(void 0,[67],()=>o(382));i=o.O(i)})();