WordPress/wp-includes/js/dist/blocks.min.js

3 lines
168 KiB
JavaScript
Raw Permalink Normal View History

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.blocks=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="0ATp")}({"//Lo":function(e,t,r){"use strict";var n=r("GRId"),a=r("Tqx9"),i=Object(n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(a.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=i},"0ATp":function(e,t,r){"use strict";r.r(t),r.d(t,"store",(function(){return ee})),r.d(t,"createBlock",(function(){return Xe})),r.d(t,"createBlocksFromInnerBlocksTemplate",(function(){return Je})),r.d(t,"cloneBlock",(function(){return tt})),r.d(t,"__experimentalCloneSanitizedBlock",(function(){return et})),r.d(t,"getPossibleBlockTransformations",(function(){return it})),r.d(t,"switchToBlockType",(function(){return ct})),r.d(t,"getBlockTransforms",(function(){return st})),r.d(t,"findTransform",(function(){return ot})),r.d(t,"getBlockFromExample",(function(){return ut})),r.d(t,"parse",(function(){return Yr})),r.d(t,"getBlockAttributes",(function(){return $r})),r.d(t,"parseWithAttributeSchema",(function(){return Rr})),r.d(t,"pasteHandler",(function(){return Fn})),r.d(t,"rawHandler",(function(){return Gn})),r.d(t,"getPhrasingContentSchema",(function(){return Un})),r.d(t,"serialize",(function(){return er})),r.d(t,"getBlockContent",(function(){return Zt})),r.d(t,"getBlockDefaultClassName",(function(){return qt})),r.d(t,"getBlockMenuDefaultClassName",(function(){return Ut})),r.d(t,"getSaveElement",(function(){return Wt})),r.d(t,"getSaveContent",(function(){return Yt})),r.d(t,"__unstableGetBlockProps",(function(){return Kt})),r.d(t,"__unstableSerializeAndClean",(function(){return Jt})),r.d(t,"isValidBlockContent",(function(){return Cr})),r.d(t,"getCategories",(function(){return Kn})),r.d(t,"setCategories",(function(){return Wn})),r.d(t,"updateCategory",(function(){return Yn})),r.d(t,"registerBlockType",(function(){return Ce})),r.d(t,"registerBlockCollection",(function(){return xe})),r.d(t,"unregisterBlockType",(function(){return Pe})),r.d(t,"setFreeformContentHandlerName",(function(){return Se})),r.d(t,"getFreeformContentHandlerName",(function(){return Ae})),r.d(t,"setUnregisteredTypeHandlerName",(function(){return Be})),r.d(t,"getUnregisteredTypeHandlerName",(function(){return Ne})),r.d(t,"setDefaultBlockName",(function(){return De})),r.d(t,"getDefaultBlockName",(function(){return Me})),r.d(t,"setGroupingBlockName",(function(){return Le})),r.d(t,"getGroupingBlockName",(function(){return Ee})),r.d(t,"getBlockType",(function(){return ze})),r.d(t,"getBlockTypes",(function(){return Ie})),r.d(t,"getBlockSupport",(function(){return He})),r.d(t,"hasBlockSupport",(function(){return Ve})),r.d(t,"getBlockVariations",(function(){return Ke})),r.d(t,"isReusableBlock",(function(){return Re})),r.d(t,"getChildBlockNames",(function(){return Fe})),r.d(t,"hasChildBlocks",(function(){return $e})),r.d(t,"hasChildBlocksWithInserterSupport",(function(){return qe})),r.d(t,"unstable__bootstrapServerSideBlockDefinitions",(function(){return Te})),r.d(t,"registerBlockStyle",(function(){return Ue})),r.d(t,"unregisterBlockStyle",(function(){return Ge}
(function(){function a(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined