var Re=Object.create;var $=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Ee=Object.getOwnPropertyNames;var Ne=Object.getPrototypeOf,Ae=Object.prototype.hasOwnProperty;var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Te=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ee(t))!Ae.call(e,o)&&o!==n&&$(e,o,{get:()=>t[o],enumerable:!(r=ze(t,o))||r.enumerable});return e};var p=(e,t,n)=>(n=e!=null?Re(Ne(e)):{},Te(t||!e||!e.__esModule?$(n,"default",{value:e,enumerable:!0}):n,e));var S=b((nt,Y)=>{Y.exports=window.wp.element});var f=b((rt,F)=>{F.exports=window.React});var z=b((it,q)=>{q.exports=window.ReactJSXRuntime});function B(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=B(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ke(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=B(e))&&(r&&(r+=" "),r+=t);return r}var m=ke;var Z=p(f(),1),G={};function R(e,t){let n=Z.useRef(G);return n.current===G&&(n.current=e(t)),n}function Ce(e,t){return function(r,...o){let i=new URL(e);return i.searchParams.set("code",r.toString()),o.forEach(a=>i.searchParams.append("args[]",a)),`${t} error #${r}; visit ${i} for the full message.`}}var Ie=Ce("https://base-ui.com/production-error","Base UI"),J=Ie;var l=p(f(),1);function E(e,t,n,r){let o=R(K).current;return Pe(o,e,t,n,r)&&Q(o,[e,t,n,r]),o.callback}function X(e){let t=R(K).current;return je(t,e)&&Q(t,e),t.callback}function K(){return{callback:null,cleanup:null,refs:[]}}function Pe(e,t,n,r,o){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==o}function je(e,t){return e.refs.length!==t.length||e.refs.some((n,r)=>n!==t[r])}function Q(e,t){if(e.refs=t,t.every(n=>n==null)){e.callback=null;return}e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),n!=null){let r=Array(t.length).fill(null);for(let o=0;o<t.length;o+=1){let i=t[o];if(i!=null)switch(typeof i){case"function":{let a=i(n);typeof a=="function"&&(r[o]=a);break}case"object":{i.current=n;break}default:}}e.cleanup=()=>{for(let o=0;o<t.length;o+=1){let i=t[o];if(i!=null)switch(typeof i){case"function":{let a=r[o];typeof a=="function"?a():i(null);break}case"object":{i.current=null;break}default:}}}}}}var te=p(f(),1);var D=p(f(),1),Me=parseInt(D.version,10);function ee(e){return Me>=e}function N(e){if(!te.isValidElement(e))return null;let t=e,n=t.props;return(ee(19)?n?.ref:t.ref)??null}function g(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}var ut=Object.freeze([]),u=Object.freeze({});function ne(e,t){let n={};for(let r in e){let o=e[r];if(t?.hasOwnProperty(r)){let i=t[r](o);i!=null&&Object.assign(n,i);continue}o===!0?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}function re(e,t){return typeof e=="function"?e(t):e}function oe(e,t){return typeof e=="function"?e(t):e}var A={};function c(e,t,n,r,o){if(!n&&!r&&!o&&!e)return _(t);let i=_(e);return t&&(i=y(i,t)),n&&(i=y(i,n)),r&&(i=y(i,r)),o&&(i=y(i,o)),i}function ie(e){if(e.length===0)return A;if(e.length===1)return _(e[0]);let t=_(e[0]);for(let n=1;n<e.length;n+=1)t=y(t,e[n]);return t}function _(e){return T(e)?{...se(e,A)}:Oe(e)}function y(e,t){return T(t)?se(t,e):Ue(e,t)}function Oe(e){let t={...e};for(let n in t){let r=t[n];ae(n,r)&&(t[n]=de(r))}return t}function Ue(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case"style":{e[n]=g(e.style,r);break}case"className":{e[n]=k(e.className,r);break}default:ae(n,r)?e[n]=He(e[n],r):e[n]=r}}return e}function ae(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return n===111&&r===110&&o>=65&&o<=90&&(typeof t=="function"||typeof t>"u")}function T(e){return typeof e=="function"}function se(e,t){return T(e)?e(t):e??A}function He(e,t){return t?e?(...n)=>{let r=n[0];if(ce(r)){let i=r;pe(i);let a=t(...n);return i.baseUIHandlerPrevented||e?.(...n),a}let o=t(...n);return e?.(...n),o}:de(t):e}function de(e){return e&&((...t)=>{let n=t[0];return ce(n)&&pe(n),e(...t)})}function pe(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function k(e,t){return t?e?t+" "+e:t:e}function ce(e){return e!=null&&typeof e=="object"&&"nativeEvent"in e}var C=p(f(),1);function le(e,t,n={}){let r=t.render,o=We(t,n);if(n.enabled===!1)return null;let i=n.state??u;return $e(e,r,o,i)}function We(e,t={}){let{className:n,style:r,render:o}=e,{state:i=u,ref:a,props:h,stateAttributesMapping:v,enabled:s=!0}=t,x=s?re(n,i):void 0,V=s?oe(r,i):void 0,be=s?ne(i,v):u,Se=s&&h?Le(h):void 0,d=s?g(be,Se)??{}:u;return typeof document<"u"&&(s?Array.isArray(a)?d.ref=X([d.ref,N(o),...a]):d.ref=E(d.ref,N(o),a):E(null,null)),s?(x!==void 0&&(d.className=k(d.className,x)),V!==void 0&&(d.style=g(d.style,V)),d):u}function Le(e){return Array.isArray(e)?ie(e):c(void 0,e)}var Ve=Symbol.for("react.lazy");function $e(e,t,n,r){if(t){if(typeof t=="function")return t(n,r);let o=c(n,t.props);o.ref=n.ref;let i=t;return i?.$$typeof===Ve&&(i=l.Children.toArray(t)[0]),l.cloneElement(i,o)}if(e&&typeof e=="string")return Be(e,n);throw new Error(J(8))}function Be(e,t){return e==="button"?(0,C.createElement)("button",{type:"button",...t,key:t.key}):e==="img"?(0,C.createElement)("img",{alt:"",...t,key:t.key}):l.createElement(e,t)}function w(e){return le(e.defaultTagName??"div",e,e)}var ge=p(S(),1),I="data-wp-hash";function P(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Fe(document)),e.__wpStyleRuntime}function Ye(e,t){if(!e.head)return!1;for(let n of e.head.querySelectorAll(`style[${I}]`))if(n.getAttribute(I)===t)return!0;return!1}function ye(e,t,n){if(!e.head)return;let r=P(),o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(Ye(e,t)){o.add(t);return}let i=e.createElement("style");i.setAttribute(I,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function Fe(e){let t=P();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[n,r]of t.styles)ye(e,n,r);return()=>{let n=t.documents.get(e);if(n!==void 0){if(n<=1){t.documents.delete(e);return}t.documents.set(e,n-1)}}}function he(e,t){let n=P();n.styles.set(e,t);for(let r of n.documents.keys())ye(r,e,t)}typeof process>"u",he("0c8601dd83",'@layer wp-ui-utilities, wp-ui-components, wp-ui-compositions, wp-ui-overrides;@layer wp-ui-components{._83ed8a8da5dd50ea__text{margin:0}._14437cfb77831647__heading-2xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-p-line-height:var(--wpds-typography-line-height-2xl,40px);font-size:var(--wpds-typography-font-size-2xl,32px);line-height:var(--wpds-typography-line-height-2xl,40px)}._14437cfb77831647__heading-2xl,._3c78b7fa9b4072dd__heading-xl{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-medium,499)}._3c78b7fa9b4072dd__heading-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-md,24px)}.aa58f227716bcde2__heading-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-lg,15px)}.aa58f227716bcde2__heading-lg,.fc4da56d8dfe52c4__heading-md{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-medium,499);line-height:var(--wpds-typography-line-height-sm,20px)}.fc4da56d8dfe52c4__heading-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px)}.a9b78c7c82e8dff7__heading-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-medium,499);line-height:var(--wpds-typography-line-height-xs,16px);text-transform:uppercase}._305ff559e52180d5__body-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-xl,32px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-xl,32px)}._305ff559e52180d5__body-xl,.ca1aa3fc2029e958__body-lg{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-regular,400)}.ca1aa3fc2029e958__body-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-lg,15px);line-height:var(--wpds-typography-line-height-md,24px)}._131101940be12424__body-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--wpds-typography-line-height-sm,20px)}._0e8d87a42c1f75fa__body-sm,._131101940be12424__body-md{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-regular,400)}._0e8d87a42c1f75fa__body-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-size:var(--wpds-typography-font-size-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}');var fe={text:"_83ed8a8da5dd50ea__text","heading-2xl":"_14437cfb77831647__heading-2xl","heading-xl":"_3c78b7fa9b4072dd__heading-xl","heading-lg":"aa58f227716bcde2__heading-lg","heading-md":"fc4da56d8dfe52c4__heading-md","heading-sm":"a9b78c7c82e8dff7__heading-sm","body-xl":"_305ff559e52180d5__body-xl","body-lg":"ca1aa3fc2029e958__body-lg","body-md":"_131101940be12424__body-md","body-sm":"_0e8d87a42c1f75fa__body-sm"};typeof process>"u",he("1fb29d3a3c","._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,#0000);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 #0000);color:var(--_gcd-input-color,var(--wpds-color-fg-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,#0000);border-color:var(--_gcd-input-border-color-disabled,#0000);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-fg-interactive-neutral-disabled,#8d8d8d))}&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-fg-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid #0000)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-fg-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-medium,499));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid #0000);transition:var(--_gcd-a-transition,none)}");var ue={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a"},j=(0,ge.forwardRef)(function({variant:t="body-md",render:n,className:r,...o},i){return w({render:n,defaultTagName:"span",ref:i,props:c(o,{className:m(fe.text,ue.heading,ue.p,fe[t],r)})})});var me=p(S(),1),M="data-wp-hash";function O(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Ze(document)),e.__wpStyleRuntime}function Ge(e,t){if(!e.head)return!1;for(let n of e.head.querySelectorAll(`style[${M}]`))if(n.getAttribute(M)===t)return!0;return!1}function _e(e,t,n){if(!e.head)return;let r=O(),o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(Ge(e,t)){o.add(t);return}let i=e.createElement("style");i.setAttribute(M,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function Ze(e){let t=O();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[n,r]of t.styles)_e(e,n,r);return()=>{let n=t.documents.get(e);if(n!==void 0){if(n<=1){t.documents.delete(e);return}t.documents.set(e,n-1)}}}function qe(e,t){let n=O();n.styles.set(e,t);for(let r of n.documents.keys())_e(r,e,t)}typeof process>"u",qe("b51ff41489","@layer wp-ui-utilities, wp-ui-components, wp-ui-compositions, wp-ui-overrides;@layer wp-ui-components{._19ce0419607e1896__stack{display:flex}}");var Je={stack:"_19ce0419607e1896__stack"},Xe={xs:"var(--wpds-dimension-gap-xs, 4px)",sm:"var(--wpds-dimension-gap-sm, 8px)",md:"var(--wpds-dimension-gap-md, 12px)",lg:"var(--wpds-dimension-gap-lg, 16px)",xl:"var(--wpds-dimension-gap-xl, 24px)","2xl":"var(--wpds-dimension-gap-2xl, 32px)","3xl":"var(--wpds-dimension-gap-3xl, 40px)"},U=(0,me.forwardRef)(function({direction:t,gap:n,align:r,justify:o,wrap:i,render:a,...h},v){let s={gap:n&&Xe[n],alignItems:r,justifyContent:o,flexDirection:t,flexWrap:i};return w({render:a,ref:v,props:c(h,{style:s,className:Je.stack})})});var H="data-wp-hash";function W(){let e=globalThis;return e.__wpStyleRuntime||(e.__wpStyleRuntime={documents:new Map,styles:new Map,injectedStyles:new WeakMap},typeof document<"u"&&Qe(document)),e.__wpStyleRuntime}function Ke(e,t){if(!e.head)return!1;for(let n of e.head.querySelectorAll(`style[${H}]`))if(n.getAttribute(H)===t)return!0;return!1}function we(e,t,n){if(!e.head)return;let r=W(),o=r.injectedStyles.get(e);if(o||(o=new Set,r.injectedStyles.set(e,o)),o.has(t))return;if(Ke(e,t)){o.add(t);return}let i=e.createElement("style");i.setAttribute(H,t),i.appendChild(e.createTextNode(n)),e.head.appendChild(i),o.add(t)}function Qe(e){let t=W();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[n,r]of t.styles)we(e,n,r);return()=>{let n=t.documents.get(e);if(n!==void 0){if(n<=1){t.documents.delete(e);return}t.documents.set(e,n-1)}}}function ve(e,t){let n=W();n.styles.set(e,t);for(let r of n.documents.keys())we(r,e,t)}typeof process>"u",ve("e03e80d16c","._6e9c47f7f67ffa0d__root{background-color:var(--wpds-color-bg-surface-brand,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 9%,#fff));color:var(--wpds-color-fg-interactive-brand,var(--wp-admin-theme-color,#3858e9));height:100%;padding:var(--wpds-dimension-padding-2xl,24px)}");var xe={root:"_6e9c47f7f67ffa0d__root"};var L=p(z());function De({attributes:e}){return(0,L.jsx)(U,{align:"center",justify:"center",className:m(xe.root),children:(0,L.jsx)(j,{variant:"heading-2xl",children:e?.message||"Hello World"})})}export{De as default};