WordPress/wp-includes/js/dist/primitives.min.js
youknowriad 9aaa49f5a7 Editor: Update WordPress packages to Gutenberg 16.7 RC3.
It brings with a set of iterations and follow-ups to the initial package update.
It also fixes a regression that happened for interactive blocks.

Props gziolo, luisherranz, cbravobernal.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57499


git-svn-id: http://core.svn.wordpress.org/trunk@57000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-31 12:59:56 +00:00

7 lines
2.2 KiB
JavaScript

/*! This file is auto-generated */
(()=>{var e={4403:(e,t)=>{var r;
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=o.apply(null,r);i&&e.push(i)}}else if("object"===a){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}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),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{BlockQuotation:()=>g,Circle:()=>a,Defs:()=>d,G:()=>i,HorizontalRule:()=>y,Line:()=>l,LinearGradient:()=>f,Path:()=>s,Polygon:()=>c,RadialGradient:()=>u,Rect:()=>p,SVG:()=>m,Stop:()=>v,View:()=>b});var e=r(4403),t=r.n(e);const o=window.wp.element,a=e=>(0,o.createElement)("circle",e),i=e=>(0,o.createElement)("g",e),l=e=>(0,o.createElement)("line",e),s=e=>(0,o.createElement)("path",e),c=e=>(0,o.createElement)("polygon",e),p=e=>(0,o.createElement)("rect",e),d=e=>(0,o.createElement)("defs",e),u=e=>(0,o.createElement)("radialGradient",e),f=e=>(0,o.createElement)("linearGradient",e),v=e=>(0,o.createElement)("stop",e),m=(0,o.forwardRef)((({className:e,isPressed:r,...n},a)=>{const i={...n,className:t()(e,{"is-pressed":r})||void 0,"aria-hidden":!0,focusable:!1};return(0,o.createElement)("svg",{...i,ref:a})}));m.displayName="SVG";const y="hr",g="blockquote",b="div"})(),(window.wp=window.wp||{}).primitives=n})();