(()=>{"use strict";var e,r={880(e,r,n){const i=window.wp.blocks,t=window.wp.i18n,o=window.wp.blockEditor,s=window.wp.components,a=window.wp.serverSideRender;var l=n.n(a);const c=window.ReactJSXRuntime,d=JSON.parse('{"UU":"gianism/login"}');(0,i.registerBlockType)(d.UU,{edit:function({attributes:e,setAttributes:r}){const{redirectTo:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(o.InspectorControls,{children:(0,c.jsx)(s.PanelBody,{title:(0,t.__)("Settings","wp-gianism"),children:(0,c.jsx)(s.TextControl,{label:(0,t.__)("Redirect URL","wp-gianism"),help:(0,t.__)("URL to redirect after login. Leave empty for current page.","wp-gianism"),value:n,onChange:e=>r({redirectTo:e})})})}),(0,c.jsx)("div",{...(0,o.useBlockProps)(),children:(0,c.jsx)(l(),{block:"gianism/login",attributes:e})})]})},save:()=>null})}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.m=r,e=[],i.O=(r,n,t,o)=>{if(!n){var s=1/0;for(d=0;d<e.length;d++){for(var[n,t,o]=e[d],a=!0,l=0;l<n.length;l++)(!1&o||s>=o)&&Object.keys(i.O).every(e=>i.O[e](n[l]))?n.splice(l--,1):(a=!1,o<s&&(s=o));if(a){e.splice(d--,1);var c=t();void 0!==c&&(r=c)}}return r}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,t,o]},i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var n in r)i.o(r,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={407:0,847:0};i.O.j=r=>0===e[r];var r=(r,n)=>{var t,o,[s,a,l]=n,c=0;if(s.some(r=>0!==e[r])){for(t in a)i.o(a,t)&&(i.m[t]=a[t]);if(l)var d=l(i)}for(r&&r(n);c<s.length;c++)o=s[c],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return i.O(d)},n=globalThis.webpackChunkgianism=globalThis.webpackChunkgianism||[];n.forEach(r.bind(null,0)),n.push=r.bind(null,n.push.bind(n))})();var t=i.O(void 0,[847],()=>i(880));t=i.O(t)})();