PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/widgets/hello-world/render.min.js +1 -1 23.2.2 → trunk View file →
@@ -1 +1 @@
1 -function l(){return React.createElement("div",null,"Hello World")}export{l as default};
1 +var Re=Object.create;var $=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Ee=Object.getOwnPropertyNames;var Ne=Object.getPrototypeOf,ke=Object.prototype.hasOwnProperty;var x=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ae=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ee(t))!ke.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)):{},Ae(t||!e||!e.__esModule?$(n,"default",{value:e,enumerable:!0}):n,e));var S=x((rt,Y)=>{Y.exports=window.wp.element});var f=x((ot,F)=>{F.exports=window.React});var z=x((dt,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 Te(){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=Te;var Z=p(f(),1),G={};function R(e,t){let n=Z.useRef(G);return n.current===G&&(n.current=e(t)),n}var at=Object.freeze([]),u=Object.freeze({});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 c=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}}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 k={};function l(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 k;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 A(e)?{...se(e,k)}:Oe(e)}function y(e,t){return A(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]=T(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 A(e){return typeof e=="function"}function se(e,t){return A(e)?e(t):e??k}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 T(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;n.enabled!==!1&&(r=$e(r));let o=We(t,n,r);if(n.enabled===!1)return null;let i=n.state??u;return Be(e,r,o,i)}function We(e,t,n){let{className:r,style:o}=e,{state:i=u,ref:a,props:h,stateAttributesMapping:w,enabled:s=!0}=t,b=s?re(r,i):void 0,V=s?oe(o,i):void 0,xe=s?ne(i,w):u,Se=s&&h?Le(h):void 0,d=s?g(xe,Se)??{}:u;return typeof document<"u"&&(s?Array.isArray(a)?d.ref=X([d.ref,N(n),...a]):d.ref=E(d.ref,N(n),a):E(null,null)),s?(b!==void 0&&(d.className=T(d.className,b)),V!==void 0&&(d.style=g(d.style,V)),d):u}function Le(e){return Array.isArray(e)?ie(e):l(void 0,e)}var Ve=Symbol.for("react.lazy");function $e(e){if(e?.$$typeof!==Ve)return e;let t=c.Children.toArray(e)[0];return c.isValidElement(t)?t:e}function Be(e,t,n,r){if(t){if(typeof t=="function")return t(n,r);let o=l(n,t.props);return o.ref=n.ref,c.cloneElement(t,o)}if(e&&typeof e=="string")return Ye(e,n);throw new Error(J(8))}function Ye(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}):c.createElement(e,t)}function v(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"&&Ge(document)),e.__wpStyleRuntime}function Fe(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(Fe(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 Ge(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("3167e7d116",'@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._83ed8a8da5dd50ea__text{text-wrap:pretty;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-emphasis,600);--_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-emphasis,600)}._3c78b7fa9b4072dd__heading-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_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-emphasis,600);--_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-emphasis,600);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-emphasis,600);--_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-emphasis,600);--_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-emphasis,600);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-default,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-default,400)}.ca1aa3fc2029e958__body-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,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-default,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-default,400)}._0e8d87a42c1f75fa__body-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,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("e8e31009f5","._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);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&: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,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-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,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-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 transparent)}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-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));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 transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}");var ue={button:"_6defc79820e382c6__button",input:"d2cff2e5dea83bd1__input",textarea:"_547d86373d02e108__textarea",div:"_8c15fd0ed9f28ba4__div",p:"_43cec3e1eec1066d__p",heading:"e97669c6d9a38497__heading",a:"_2c0831b0499dbd6e__a",ol:"c59a0ebebd71fa4a__ol",li:"_46b5cb0c8e24e8c9__li"},j=(0,ge.forwardRef)(function({variant:t="body-md",render:n,className:r,...o},i){return v({render:n,defaultTagName:"span",ref:i,props:l(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"&&qe(document)),e.__wpStyleRuntime}function Ze(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(Ze(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 qe(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 Je(e,t){let n=O();n.styles.set(e,t);for(let r of n.documents.keys())_e(r,e,t)}typeof process>"u",Je("32aba35fe1","@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._19ce0419607e1896__stack{display:flex}}}");var Xe={stack:"_19ce0419607e1896__stack"},Ke={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},w){let s={gap:n&&Ke[n],alignItems:r,justifyContent:o,flexDirection:t,flexWrap:i};return v({render:a,ref:w,props:l(h,{style:s,className:Xe.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"&&De(document)),e.__wpStyleRuntime}function Qe(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 ve(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(Qe(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 De(e){let t=W();t.documents.set(e,(t.documents.get(e)??0)+1);for(let[n,r]of t.styles)ve(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 we(e,t){let n=W();n.styles.set(e,t);for(let r of n.documents.keys())ve(r,e,t)}typeof process>"u",we("8573d4c9f9","._6e9c47f7f67ffa0d__root{background-color:var(--wpds-color-background-surface-brand,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 9%,#fff));color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9));height:100%;padding:var(--wpds-dimension-padding-2xl,24px)}");var be={root:"_6e9c47f7f67ffa0d__root"};var L=p(z());function et({attributes:e}){return(0,L.jsx)(U,{align:"center",justify:"center",className:m(be.root),children:(0,L.jsx)(j,{variant:"heading-2xl",children:e?.message||"Hello World"})})}export{et as default};