Fix dòng
•
/
home
/
barbar84
/
public_h...
/
wp-inclu...
/
js
/
dist
•
File:
blocks.min.js
•
Dòng [
1
/
2
]:
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})),r.d(t,"registerBlockVariation",(function(){return We})),r.d(t,"unregisterBlockVariation",(function(){return Ye})),r.d(t,"isUnmodifiedDefaultBlock",(function(){return fe})),r.d(t,"normalizeIconObject",(function(){return he})),r.d(t,"isValidIcon",(function(){return pe})),r.d(t,"__experimentalGetBlockLabel",(function(){return be})),r.d(t,"__experimentalGetAccessibleBlockLabel",(function(){return me})),r.d(t,"doBlocksMatchTemplate",(function(){return Xn})),r.d(t,"synchronizeBlocksWithTemplate",(function(){return Jn})),r.d(t,"children",(function(){return Mr})),r.d(t,"node",(function(){return Br})),r.d(t,"__EXPERIMENTAL_STYLE_PROPERTY",(function(){return ye})),r.d(t,"withBlockContentContext",(function(){return Vt}));var n={};r.r(n),r.d(n,"getBlockTypes",(function(){return O})),r.d(n,"getBlockType",(function(){return j})),r.d(n,"getBlockStyles",(function(){return T})),r.d(n,"getBlockVariations",(function(){return C})),r.d(n,"getDefaultBlockVariation",(function(){return x})),r.d(n,"getCategories",(function(){return P})),r.d(n,"getCollections",(function(){return S})),r.d(n,"getDefaultBlockName",(function(){return A})),r.d(n,"getFreeformFallbackBlockName",(function(){return E})),r.d(n,"getUnregisteredFallbackBlockName",(function(){return B})),r.d(n,"getGroupingBlockName",(function(){return N})),r.d(n,"getChildBlockNames",(function(){return D})),r.d(n,"getBlockSupport",(function(){return L})),r.d(n,"hasBlockSupport",(function(){return M})),r.d(n,"isMatchingSearchTerm",(function(){return z})),r.d(n,"hasChildBlocks",(function(){return I})),r.d(n,"hasChildBlocksWithInserterSupport",(function(){return H}));var a={};r.r(a),r.d(a,"addBlockTypes",(function(){return V})),r.d(a,"removeBlockTypes",(function(){return R})),r.d(a,"addBlockStyles",(function(){return F})),r.d(a,"removeBlockStyles",(function(){return $})),r.d(a,"addBlockVariations",(function(){return q})),r.d(a,"removeBlockVariations",(function(){return U})),r.d(a,"setDefaultBlockName",(function(){return G})),r.d(a,"setFreeformFallbackBlockName",(function(){return K})),r.d(a,"setUnregisteredFallbackBlockName",(function(){return W})),r.d(a,"setGroupingBlockName",(function(){return Y})),r.d(a,"setCategories",(function(){return Q})),r.d(a,"updateCategory",(function(){return Z})),r.d(a,"addBlockCollection",(function(){return X})),r.d(a,"removeBlockCollection",(function(){return J}));var i=r("1ZqX"),o=r("KQm4"),s=r("rePB"),c=r("YLtl"),u=r("l3Sj");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=[{slug:"text",title:Object(u.__)("Text")},{slug:"media",title:Object(u.__)("Media")},{slug:"design",title:Object(u.__)("Design")},{slug:"widgets",title:Object(u.__)("Widgets")},{slug:"embed",title:Object(u.__)("Embeds")},{slug:"reusable",title:Object(u.__)("Reusable blocks")}];function p(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;switch(r.type){case"REMOVE_BLOCK_TYPES":return-1!==r.names.indexOf(t)?null:t;case e:return r.name||null}return t}}var h=p("SET_DEFAULT_BLOCK_NAME"),g=p("SET_FREEFORM_FALLBACK_BLOCK_NAME"),b=p("SET_UNREGISTERED_FALLBACK_BLOCK_NAME"),m=p("SET_GROUPING_BLOCK_NAME");var _=Object(i.combineReducers)({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.keyBy)(Object(c.map)(t.blockTypes,(function(e){return Object(c.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(c.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(o.a)(Object(c.get)(t,["styles"],[])),Object(o.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(o.a)(Object(c.get)(e,[t.blockName],[])),Object(o.a)(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},blockVariations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return d(d({},e),Object(c.mapValues)(Object(c.keyBy)(t.blockTypes,"name"),(function(t){return Object(c.uniqBy)([].concat(Object(o.a)(Object(c.get)(t,["variations"],[])),Object(o.a)(Object(c.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_VARIATIONS":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.uniqBy)([].concat(Object(o.a)(Object(c.get)(e,[t.blockName],[])),Object(o.a)(t.variations)),(function(e){return e.name}))));case"REMOVE_BLOCK_VARIATIONS":return d(d({},e),{},Object(s.a)({},t.blockName,Object(c.filter)(Object(c.get)(e,[t.blockName],[]),(function(e){return-1===t.variationNames.indexOf(e.name)}))))}return e},defaultBlockName:h,freeformFallbackBlockName:g,unregisteredFallbackBlockName:b,groupingBlockName:m,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(c.isEmpty)(t.category))return e;var r=Object(c.find)(e,["slug",t.slug]);if(r)return Object(c.map)(e,(function(e){return e.slug===t.slug?d(d({},e),t.category):e}))}return e},collections:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_COLLECTION":return d(d({},e),{},Object(s.a)({},t.namespace,{title:t.title,icon:t.icon}));case"REMOVE_BLOCK_COLLECTION":return Object(c.omit)(e,t.namespace)}return e}}),v=r("pPDe");function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=function(e,t){return"string"==typeof t?j(e,t):t},O=Object(v.a)((function(e){return Object.values(e.blockTypes).map((function(t){return w(w({},t),{},{variations:C(e,t.name)})}))}),(function(e){return[e.blockTypes,e.blockVariations]}));function j(e,t){return e.blockTypes[t]}function T(e,t){return e.blockStyles[t]}function C(e,t,r){var n=e.blockVariations[t];return n&&r?n.filter((function(e){return(e.scope||["block","inserter"]).includes(r)})):n}function x(e,t,r){var n=C(e,t,r);return Object(c.findLast)(n,"isDefault")||Object(c.first)(n)}function P(e){return e.categories}function S(e){return e.collections}function A(e){return e.defaultBlockName}function E(e){return e.freeformFallbackBlockName}function B(e){return e.unregisteredFallbackBlockName}function N(e){return e.groupingBlockName}var D=Object(v.a)((function(e,t){return Object(c.map)(Object(c.filter)(e.blockTypes,(function(e){return Object(c.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),L=function(e,t,r,n){var a=k(e,t);return Object(c.get)(a,["supports"].concat(Object(o.a)(r.split("."))),n)};function M(e,t,r,n){return!!L(e,t,r,n)}function z(e,t,r){var n=k(e,t),a=Object(c.flow)([c.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=a(r),o=Object(c.flow)([a,function(e){return Object(c.includes)(e,i)}]);return o(n.title)||Object(c.some)(n.keywords,o)||o(n.category)}var I=function(e,t){return D(e,t).length>0},H=function(e,t){return Object(c.some)(D(e,t),(function(t){return M(e,t,"inserter",!0)}))};function V(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(c.castArray)(e)}}function R(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(c.castArray)(e)}}function F(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(c.castArray)(t),blockName:e}}function $(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(c.castArray)(t),blockName:e}}function q(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Object(c.castArray)(t),blockName:e}}function U(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Object(c.castArray)(t),blockName:e}}function G(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function K(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function W(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function Y(e){return{type:"SET_GROUPING_BLOCK_NAME",name:e}}function Q(e){return{type:"SET_CATEGORIES",categories:e}}function Z(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}function X(e,t,r){return{type:"ADD_BLOCK_COLLECTION",namespace:e,title:t,icon:r}}function J(e){return{type:"REMOVE_BLOCK_COLLECTION",namespace:e}}var ee=Object(i.createReduxStore)("core/blocks",{reducer:_,selectors:n,actions:a});Object(i.register)(ee);var te=r("ODXe"),re=r("7Cbv"),ne=r("g56x"),ae=r("//Lo"),ie=r("Zss7"),oe=r.n(ie),se=r("GRId"),ce=r("1CF3");function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var de=["#191e23","#f8f9f9"];function fe(e){var t=Me();if(e.name!==t)return!1;fe.block&&fe.block.name===t||(fe.block=Xe(t));var r=fe.block,n=ze(t);return Object(c.every)(n.attributes,(function(t,n){return r.attributes[n]===e.attributes[n]}))}function pe(e){return!!e&&(Object(c.isString)(e)||Object(se.isValidElement)(e)||Object(c.isFunction)(e)||e instanceof se.Component)}function he(e){if(pe(e))return{src:e};if(Object(c.has)(e,["background"])){var t=oe()(e.background);return le(le({},e),{},{foreground:e.foreground?e.foreground:Object(ie.mostReadable)(t,de,{includeFallbackColors:!0,level:"AA",size:"large"}).toHexString(),shadowColor:t.setAlpha(.3).toRgbString()})}return e}function ge(e){return Object(c.isString)(e)?ze(e):e}function be(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"visual";if("core/template-part"===e.name&&t.slug){var n,a=Object(i.select)("core").getEntityRecord("postType","wp_template_part",t.theme+"//"+t.slug);if(a)return Object(c.startCase)((null===(n=a.title)||void 0===n?void 0:n.rendered)||a.slug)}var o=e.__experimentalLabel,s=e.title,u=o&&o(t,{context:r});return u?Object(ce.__unstableStripHTML)(u):s}function me(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vertical",a=e.title,i=be(e,t,"accessibility"),o=void 0!==r,s=i&&i!==a;return o&&"vertical"===n?s?Object(u.sprintf)(Object(u.__)("%1$s Block. Row %2$d. %3$s"),a,r,i):Object(u.sprintf)(Object(u.__)("%1$s Block. Row %2$d"),a,r):o&&"horizontal"===n?s?Object(u.sprintf)(Object(u.__)("%1$s Block. Column %2$d. %3$s"),a,r,i):Object(u.sprintf)(Object(u.__)("%1$s Block. Column %2$d"),a,r):s?Object(u.sprintf)(Object(u.__)("%1$s Block. %2$s"),a,i):Object(u.sprintf)(Object(u.__)("%s Block"),a)}function _e(e,t){var r=ze(e);if(void 0===r)throw new Error("Block type '".concat(e,"' is not registered."));return Object(c.reduce)(r.attributes,(function(e,r,n){var a=t[n];return void 0!==a?e[n]=a:r.hasOwnProperty("default")&&(e[n]=r.default),-1!==["node","children"].indexOf(r.source)&&("string"==typeof e[n]?e[n]=[e[n]]:Array.isArray(e[n])||(e[n]=[])),e}),{})}var ve=["attributes","supports","save","migrate","isEligible","apiVersion"],ye={"--wp--style--color--link":{value:["color","link"],support:["color","link"]},background:{value:["color","gradient"],support:["color","gradients"]},backgroundColor:{value:["color","background"],support:["color"]},borderRadius:{value:["border","radius"],support:["__experimentalBorder","radius"]},color:{value:["color","text"],support:["color"]},fontFamily:{value:["typography","fontFamily"],support:["__experimentalFontFamily"]},fontSize:{value:["typography","fontSize"],support:["fontSize"]},fontStyle:{value:["typography","fontStyle"],support:["__experimentalFontStyle"]},fontWeight:{value:["typography","fontWeight"],support:["__experimentalFontWeight"]},lineHeight:{value:["typography","lineHeight"],support:["lineHeight"]},padding:{value:["spacing","padding"],support:["spacing","padding"],properties:["top","right","bottom","left"]},textDecoration:{value:["typography","textDecoration"],support:["__experimentalTextDecoration"]},textTransform:{value:["typography","textTransform"],support:["__experimentalTextTransform"]}};function we(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ke(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?we(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):we(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Oe={common:"text",formatting:"text",layout:"design"},je={};function Te(e){for(var t=0,r=Object.keys(e);t<r.length;t++){var n=r[t];je[n]||(je[n]=Object(c.mapKeys)(Object(c.pickBy)(e[n],(function(e){return!Object(c.isNil)(e)})),(function(e,t){return Object(c.camelCase)(t)})))}}function Ce(e,t){if(t=ke(ke({name:e,icon:ae.a,keywords:[],attributes:{},providesContext:{},usesContext:[],supports:{},styles:[],save:function(){return null}},null==je?void 0:je[e]),t),"string"==typeof e)if(/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(e))if(Object(i.select)(ee).getBlockType(e))console.error('Block "'+e+'" is already registered.');else{var r=ke({},t);if((t=Object(ne.applyFilters)("blocks.registerBlockType",t,e)).deprecated&&(t.deprecated=t.deprecated.map((function(t){return Object(c.pick)(Object(ne.applyFilters)("blocks.registerBlockType",ke(ke({},Object(c.omit)(r,ve)),t),e),ve)}))),Object(c.isPlainObject)(t))if(Object(c.isFunction)(t.save))if(!("edit"in t)||Object(c.isFunction)(t.edit))if(Oe.hasOwnProperty(t.category)&&(t.category=Oe[t.category]),"category"in t&&!Object(c.some)(Object(i.select)(ee).getCategories(),{slug:t.category})&&(console.warn('The block "'+e+'" is registered with an invalid category "'+t.category+'".'),delete t.category),"title"in t&&""!==t.title)if("string"==typeof t.title){if(t.icon=he(t.icon),pe(t.icon.src))return Object(i.dispatch)(ee).addBlockTypes(t),t;console.error("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional")}else console.error("Block titles must be strings.");else console.error('The block "'+e+'" must have a title.');else console.error('The "edit" property must be a valid function.');else console.error('The "save" property must be a valid function.');else console.error("Block settings must be a valid object.")}else console.error("Block names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-block");else console.error("Block names must be strings.")}function xe(e,t){var r=t.title,n=t.icon;Object(i.dispatch)(ee).addBlockCollection(e,r,n)}function Pe(e){var t=Object(i.select)(ee).getBlockType(e);if(t)return Object(i.dispatch)(ee).removeBlockTypes(e),t;console.error('Block "'+e+'" is not registered.')}function Se(e){Object(i.dispatch)(ee).setFreeformFallbackBlockName(e)}function Ae(){return Object(i.select)(ee).getFreeformFallbackBlockName()}function Ee(){return Object(i.select)(ee).getGroupingBlockName()}function Be(e){Object(i.dispatch)(ee).setUnregisteredFallbackBlockName(e)}function Ne(){return Object(i.select)(ee).getUnregisteredFallbackBlockName()}function De(e){Object(i.dispatch)(ee).setDefaultBlockName(e)}function Le(e){Object(i.dispatch)(ee).setGroupingBlockName(e)}function Me(){return Object(i.select)(ee).getDefaultBlockName()}function ze(e){return Object(i.select)(ee).getBlockType(e)}function Ie(){return Object(i.select)(ee).getBlockTypes()}function He(e,t,r){return Object(i.select)(ee).getBlockSupport(e,t,r)}function Ve(e,t,r){return Object(i.select)(ee).hasBlockSupport(e,t,r)}function Re(e){return"core/block"===e.name}var Fe=function(e){return Object(i.select)(ee).getChildBlockNames(e)},$e=function(e){return Object(i.select)(ee).hasChildBlocks(e)},qe=function(e){return Object(i.select)(ee).hasChildBlocksWithInserterSupport(e)},Ue=function(e,t){Object(i.dispatch)(ee).addBlockStyles(e,t)},Ge=function(e,t){Object(i.dispatch)(ee).removeBlockStyles(e,t)},Ke=function(e,t){return Object(i.select)(ee).getBlockVariations(e,t)},We=function(e,t){Object(i.dispatch)(ee).addBlockVariations(e,t)},Ye=function(e,t){Object(i.dispatch)(ee).removeBlockVariations(e,t)};function Qe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=_e(e,t),a=Object(re.a)();return{clientId:a,name:e,isValid:!0,attributes:n,innerBlocks:r}}function Je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){var t=Array.isArray(e)?e:[e.name,e.attributes,e.innerBlocks],r=Object(te.a)(t,3),n=r[0],a=r[1],i=r[2];return Xe(n,a,Je(void 0===i?[]:i))}))}function et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Object(re.a)(),a=_e(e.name,Ze(Ze({},e.attributes),t));return Ze(Ze({},e),{},{clientId:n,attributes:a,innerBlocks:r||e.innerBlocks.map((function(e){return et(e)}))})}function tt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Object(re.a)();return Ze(Ze({},e),{},{clientId:n,attributes:Ze(Ze({},e.attributes),t),innerBlocks:r||e.innerBlocks.map((function(e){return tt(e)}))})}var rt=function(e,t,r){if(Object(c.isEmpty)(r))return!1;var n=r.length>1,a=Object(c.first)(r).name;if(!(nt(e)||!n||e.isMultiBlock))return!1;if(!nt(e)&&!Object(c.every)(r,{name:a}))return!1;if(!("block"===e.type))return!1;var i=Object(c.first)(r);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||nt(e)))return!1;if(!n&&at(i.name)&&at(e.blockName))return!1;if(Object(c.isFunction)(e.isMatch)){var o=e.isMultiBlock?r.map((function(e){return e.attributes})):i.attributes;if(!e.isMatch(o))return!1}return!0},nt=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},at=function(e){return e===Ee()};function it(e){if(Object(c.isEmpty)(e))return[];var t=function(e){if(Object(c.isEmpty)(e))return[];var t=Ie();return Object(c.filter)(t,(function(t){return!!ot(st("from",t.name),(function(t){return rt(t,"from",e)}))}))}(e),r=function(e){if(Object(c.isEmpty)(e))return[];var t=st("to",ze(Object(c.first)(e).name).name),r=Object(c.filter)(t,(function(t){return t&&rt(t,"to",e)}));return Object(c.flatMap)(r,(function(e){return e.blocks})).map((function(e){return ze(e)}))}(e);return Object(c.uniq)([].concat(Object(o.a)(t),Object(o.a)(r)))}function ot(e,t){for(var r=Object(ne.createHooks)(),n=function(n){var a=e[n];t(a)&&r.addFilter("transform","transform/"+n.toString(),(function(e){return e||a}),a.priority)},a=0;a<e.length;a++)n(a);return r.applyFilters("transform",null)}function st(e,t){if(void 0===t)return Object(c.flatMap)(Ie(),(function(t){var r=t.name;return st(e,r)}));var r=ge(t)||{},n=r.name,a=r.transforms;return a&&Array.isArray(a[e])?a[e].map((function(e){return Ze(Ze({},e),{},{blockName:n})})):[]}function ct(e,t){var r,n=Object(c.castArray)(e),a=n.length>1,i=n[0],o=i.name,s=st("from",t),u=ot(st("to",o),(function(e){return"block"===e.type&&(nt(e)||-1!==e.blocks.indexOf(t))&&(!a||e.isMultiBlock)}))||ot(s,(function(e){return"block"===e.type&&(nt(e)||-1!==e.blocks.indexOf(o))&&(!a||e.isMultiBlock)}));if(!u)return null;if(r=u.isMultiBlock?Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(n):u.transform(n.map((function(e){return e.attributes})),n.map((function(e){return e.innerBlocks}))):Object(c.has)(u,"__experimentalConvert")?u.__experimentalConvert(i):u.transform(i.attributes,i.innerBlocks),!Object(c.isObjectLike)(r))return null;if((r=Object(c.castArray)(r)).some((function(e){return!ze(e.name)})))return null;var l=Object(c.findIndex)(r,(function(e){return e.name===t}));return l<0?null:r.map((function(t,r){var n=Ze(Ze({},t),{},{clientId:r===l?i.clientId:t.clientId});return Object(ne.applyFilters)("blocks.switchToBlockType.transformedBlock",n,e)}))}var ut=function e(t,r){return Xe(t,r.attributes,Object(c.map)(r.innerBlocks,(function(t){return e(t.name,t)})))};function lt(e,t){for(var r,n=t.split(".");r=n.shift();){if(!(r in e))return;e=e[r]}return e}var dt,ft=function(){return dt||(dt=document.implementation.createHTMLDocument("")),dt};function pt(e,t){if(t){if("string"==typeof e){var r=ft();r.body.innerHTML=e,e=r.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(r,n){return r[n]=pt(e,t[n]),r}),{})}}function ht(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=r;if(e&&(n=r.querySelector(e)),n)return lt(n,t)}}var gt=r("UuzZ"),bt=r("ouCq"),mt=r("T5bk"),_t=r("1OyB"),vt=r("vuIU"),yt=/^#[xX]([A-Fa-f0-9]+)$/,wt=/^#([0-9]+)$/,kt=/^([A-Za-z0-9]+)$/,Ot=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(yt);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(wt))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(kt))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),jt=/[A-Za-z]/,Tt=/\r\n?/g;function Ct(e){return Ot.test(e)}function xt(e){return jt.test(e)}var Pt=function(){function e(e,t,r){void 0===r&&(r="precompile"),this.delegate=e,this.entityParser=t,this.mode=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer;"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||xt(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){var e=this.consume();"-"===e&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===e.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){Ct(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var e=this.consume();Ct(e)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();Ct(e)?this.transitionTo("afterDoctypeName"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase())},afterDoctypeName:function(){var e=this.consume();if(!Ct(e))if(">"===e)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var t=e.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),r="PUBLIC"===t.toUpperCase(),n="SYSTEM"===t.toUpperCase();(r||n)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),r?this.transitionTo("afterDoctypePublicKeyword"):n&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var e=this.peek();Ct(e)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===e?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===e?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===e&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},doctypePublicIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},afterDoctypePublicIdentifier:function(){var e=this.consume();Ct(e)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var e=this.consume();Ct(e)||(">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},doctypeSystemIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},afterDoctypeSystemIdentifier:function(){var e=this.consume();Ct(e)||">"===e&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();Ct(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();Ct(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();Ct(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();Ct(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();Ct(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();Ct(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();Ct(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();Ct(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||xt(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(Tt,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),r=this.entityParser.parse(t);if(r){for(var n=t.length;n;)this.consume(),n--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer;return"title"===e&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===e&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),St=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new Pt(this,e,t.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},e.prototype.appendToDoctypeName=function(e){this.current("Doctype").name+=e},e.prototype.appendToDoctypePublicIdentifier=function(e){var t=this.current("Doctype");void 0===t.publicIdentifier?t.publicIdentifier=e:t.publicIdentifier+=e},e.prototype.appendToDoctypeSystemIdentifier=function(e){var t=this.current("Doctype");void 0===t.systemIdentifier?t.systemIdentifier=e:t.systemIdentifier+=e},e.prototype.endDoctype=function(){this.addLocInfo()},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}();var At=r("rmEH");function Et(){function e(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return e.apply(void 0,["Block validation: "+t].concat(n))}}return{error:e(console.error),warning:e(console.warn),getItems:function(){return[]}}}function Bt(){var e=[],t=Et();return{error:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];e.push({log:t.error,args:n})},warning:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];e.push({log:t.warning,args:n})},getItems:function(){return e}}}var Nt=r("rl8x"),Dt=r.n(Nt),Lt=r("wx14"),Mt=r("K9lf"),zt=Object(se.createContext)((function(){})),It=zt.Consumer,Ht=zt.Provider,Vt=Object(Mt.createHigherOrderComponent)((function(e){return function(t){return Object(se.createElement)(It,null,(function(r){return Object(se.createElement)(e,Object(Lt.a)({},t,{BlockContent:r}))}))}}),"withBlockContentContext"),Rt=function(e){var t=e.children,r=e.innerBlocks;return Object(se.createElement)(Ht,{value:function(){var e=er(r,{isInnerBlocks:!0});return Object(se.createElement)(se.RawHTML,null,e)}},t)};function Ft(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $t(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ft(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qt(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(ne.applyFilters)("blocks.getBlockDefaultClassName",t,e)}function Ut(e){var t="editor-block-list-item-"+e.replace(/\//,"-").replace(/^core-/,"");return Object(ne.applyFilters)("blocks.getBlockMenuDefaultClassName",t,e)}var Gt={};function Kt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Gt.blockType,r=Gt.attributes;return Object(ne.applyFilters)("blocks.getSaveContent.extraProps",$t({},e),t,r)}function Wt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=ge(e),a=n.save;if(a.prototype instanceof se.Component){var i=new a({attributes:t});a=i.render.bind(i)}Gt.blockType=n,Gt.attributes=t;var o=a({attributes:t,innerBlocks:r}),s=n.apiVersion>1||Ve(n,"lightBlockWrapper",!1);if(Object(c.isObject)(o)&&Object(ne.hasFilter)("blocks.getSaveContent.extraProps")&&!s){var u=Object(ne.applyFilters)("blocks.getSaveContent.extraProps",$t({},o.props),n,t);Dt()(u,o.props)||(o=Object(se.cloneElement)(o,u))}return o=Object(ne.applyFilters)("blocks.getSaveElement",o,n,t),Object(se.createElement)(Rt,{innerBlocks:r},o)}function Yt(e,t,r){var n=ge(e);return Object(se.renderToString)(Wt(n,t,r))}function Qt(e,t){return Object(c.reduce)(e.attributes,(function(e,r,n){var a=t[n];return void 0===a||void 0!==r.source||"default"in r&&r.default===a||(e[n]=a),e}),{})}function Zt(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=Yt(e.name,e.attributes,e.innerBlocks)}catch(e){}return t}function Xt(e,t,r){var n=Object(c.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",a=Object(c.startsWith)(e,"core/")?e.slice(5):e;return r?"\x3c!-- wp:".concat(a," ").concat(n,"--\x3e\n")+r+"\n\x3c!-- /wp:".concat(a," --\x3e"):"\x3c!-- wp:".concat(a," ").concat(n,"/--\x3e")}function Jt(e){1===e.length&&fe(e[0])&&(e=[]);var t=er(e);return 1===e.length&&e[0].name===Ae()&&(t=Object(gt.removep)(t)),t}function er(e,t){return Object(c.castArray)(e).map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isInnerBlocks,n=void 0!==r&&r,a=e.name,i=Zt(e);if(a===Ne()||!n&&a===Ae())return i;var o=ze(a),s=Qt(o,e.attributes);return Xt(a,s,i)}(e,t)})).join("\n\n")}function tr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var rr=/[\t\n\r\v\f ]+/g,nr=/^[\t\n\r\v\f ]*$/,ar=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,ir=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],or=[].concat(ir,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),sr=[c.identity,function(e){return fr(e).join(" ")}],cr=/^[\da-z]+$/i,ur=/^#\d+$/,lr=/^#x[\da-f]+$/i;var dr=function(){function e(){Object(_t.a)(this,e)}return Object(vt.a)(e,[{key:"parse",value:function(e){if(t=e,cr.test(t)||ur.test(t)||lr.test(t))return Object(At.decodeEntities)("&"+e+";");var t}}]),e}();function fr(e){return e.trim().split(rr)}function pr(e){return e.attributes.filter((function(e){var t=Object(te.a)(e,2),r=t[0];return t[1]||0===r.indexOf("data-")||Object(c.includes)(or,r)}))}function hr(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Et(),n=e.chars,a=t.chars,i=0;i<sr.length;i++){var o=sr[i];if((n=o(n))===(a=o(a)))return!0}return r.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function gr(e){return 0===parseFloat(e)?"0":e}function br(e){return fr(e).map(gr).join(" ").replace(ar,"url($1)")}function mr(e){var t=e.replace(/;?\s*$/,"").split(";").map((function(e){var t=e.split(":"),r=Object(mt.a)(t),n=r[0],a=r.slice(1).join(":");return[n.trim(),br(a.trim())]}));return Object(c.fromPairs)(t)}var _r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tr(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({class:function(e,t){return!c.xor.apply(void 0,Object(o.a)([e,t].map(fr))).length},style:function(e,t){return c.isEqual.apply(void 0,Object(o.a)([e,t].map(mr)))}},Object(c.fromPairs)(ir.map((function(e){return[e,c.stubTrue]}))));function vr(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Et();if(e.length!==t.length)return r.warning("Expected attributes %o, instead saw %o.",t,e),!1;for(var n={},a=0;a<t.length;a++)n[t[a][0].toLowerCase()]=t[a][1];for(var i=0;i<e.length;i++){var o=Object(te.a)(e[i],2),s=o[0],c=o[1],u=s.toLowerCase();if(!n.hasOwnProperty(u))return r.warning("Encountered unexpected attribute `%s`.",s),!1;var l=n[u],d=_r[u];if(d){if(!d(c,l))return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}else if(c!==l)return r.warning("Expected attribute `%s` of value `%s`, saw `%s`.",s,l,c),!1}return!0}var yr={StartTag:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Et();return e.tagName!==t.tagName&&e.tagName.toLowerCase()!==t.tagName.toLowerCase()?(r.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):vr.apply(void 0,Object(o.a)([e,t].map(pr)).concat([r]))},Chars:hr,Comment:hr};function wr(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!nr.test(t.chars))return t}}function kr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Et();try{return new St(new dr).tokenize(e)}catch(r){t.warning("Malformed HTML detected: %s",e)}return null}function Or(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function jr(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Et();if(e===t)return!0;var n,a,i=[e,t].map((function(e){return kr(e,r)})),o=Object(te.a)(i,2),s=o[0],c=o[1];if(!s||!c)return!1;for(;n=wr(s);){if(!(a=wr(c)))return r.warning("Expected end of content, instead saw %o.",n),!1;if(n.type!==a.type)return r.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",a.type,a,n.type,n),!1;var u=yr[n.type];if(u&&!u(n,a,r))return!1;Or(n,c[0])?wr(c):Or(a,s[0])&&wr(s)}return!(a=wr(c))||(r.warning("Expected %o, instead saw end of content.",a),!1)}function Tr(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Bt(),i=ge(e);try{n=Yt(i,t)}catch(e){return a.error("Block validation failed because an error occurred while generating block content:\n\n%s",e.toString()),{isValid:!1,validationIssues:a.getItems()}}var o=jr(r,n,a);return o||a.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",i.name,i,n,r),{isValid:o,validationIssues:a.getItems()}}function Cr(e,t,r){return Tr(e,t,r,Et()).isValid}function xr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xr(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Sr(e){for(var t={},r=0;r<e.length;r++){var n=e[r],a=n.name,i=n.value;t[a]=i}return t}function Ar(e){if(e.nodeType===e.TEXT_NODE)return e.nodeValue;if(e.nodeType!==e.ELEMENT_NODE)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:Pr(Pr({},Sr(e.attributes)),{},{children:Nr(e.childNodes)})}}function Er(e){return function(t){var r=t;e&&(r=t.querySelector(e));try{return Ar(r)}catch(e){return null}}}var Br={isNodeOfType:function(e,t){return e&&e.type===t},fromDOM:Ar,toHTML:function(e){return Dr([e])},matcher:Er};function Nr(e){for(var t=[],r=0;r<e.length;r++)try{t.push(Ar(e[r]))}catch(e){}return t}function Dr(e){var t=e;return Object(se.renderToString)(t)}function Lr(e){return function(t){var r=t;return e&&(r=t.querySelector(e)),r?Nr(r.childNodes):[]}}var Mr={concat:function(){for(var e=[],t=0;t<arguments.length;t++)for(var r=Object(c.castArray)(t<0||arguments.length<=t?void 0:arguments[t]),n=0;n<r.length;n++){var a=r[n],i="string"==typeof a&&"string"==typeof e[e.length-1];i?e[e.length-1]+=a:e.push(a)}return e},getChildrenArray:function(e){return e},fromDOM:Nr,toHTML:Dr,matcher:Lr};function zr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ir(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zr(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}new Set(["attribute","html","text","tag"]);function Hr(e,t){return t.some((function(t){return function(e,t){switch(t){case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"object":return!!e&&e.constructor===Object;case"null":return null===e;case"array":return Array.isArray(e);case"integer":case"number":return"number"==typeof e}return!0}(e,t)}))}function Vr(e){switch(e.source){case"attribute":var t=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(r){var n=ht(e,"attributes")(r);if(n&&n.hasOwnProperty(t))return n[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(t=function(e){return Object(c.flow)([e,function(e){return void 0!==e}])}(t)),t;case"html":return n=e.selector,a=e.multiline,function(e){var t=e;if(n&&(t=e.querySelector(n)),!t)return"";if(a){for(var r="",i=t.children.length,o=0;o<i;o++){var s=t.children[o];s.nodeName.toLowerCase()===a&&(r+=s.outerHTML)}return r}return t.innerHTML};case"text":return function(e){return ht(e,"textContent")}(e.selector);case"children":return Lr(e.selector);case"node":return Er(e.selector);case"query":var r=Object(c.mapValues)(e.query,Vr);return function(e,t){return function(r){var n=r.querySelectorAll(e);return[].map.call(n,(function(e){return pt(e,t)}))}}(e.selector,r);case"tag":return Object(c.flow)([ht(e.selector,"nodeName"),function(e){return e?e.toLowerCase():void 0}]);default:console.error('Unknown source type "'.concat(e.source,'"'))}var n,a}function Rr(e,t){return pt(e,Vr(t))}function Fr(e,t,r,n){var a,i=t.type,o=t.enum;switch(t.source){case void 0:a=n?n[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":a=Rr(r,t)}return function(e,t){return void 0===t||Hr(e,Object(c.castArray)(t))}(a,i)&&function(e,t){return!Array.isArray(t)||t.includes(e)}(a,o)||(a=void 0),void 0===a?t.default:a}function $r(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=ge(e),a=Object(c.mapValues)(n.attributes,(function(e,n){return Fr(n,e,t,r)}));return Object(ne.applyFilters)("blocks.getBlockAttributes",a,n,t,r)}function qr(e,t){var r=Ir({},t);if("core/cover-image"===e&&(e="core/cover"),"core/text"!==e&&"core/cover-text"!==e||(e="core/paragraph"),e&&0===e.indexOf("core/social-link-")&&(r.service=e.substring(17),e="core/social-link"),e&&0===e.indexOf("core-embed/")){var n=e.substring(11),a={speaker:"speaker-deck",polldaddy:"crowdsignal"};r.providerNameSlug=n in a?a[n]:n,["amazon-kindle","wordpress"].includes(n)||(r.responsive=!0),e="core/embed"}return{name:e,attributes:r}}function Ur(e){var t=e.blockName,r=e.attrs,n=e.innerBlocks,a=void 0===n?[]:n,i=e.innerHTML,s=e.innerContent,u=Ae(),l=Ne()||u;r=r||{},i=i.trim();var d=t||u,f=qr(d,r);d=f.name,r=f.attributes,d===u&&(i=Object(gt.autop)(i).trim());var p=ze(d);if(!p){var h={attrs:r,blockName:t,innerBlocks:a,innerContent:s},g=Gr(h,{isCommentDelimited:!1}),b=Gr(h,{isCommentDelimited:!0});d&&(i=b),r={originalName:t,originalContent:b,originalUndelimitedContent:g},p=ze(d=l)}a=(a=a.map(Ur)).filter((function(e){return e}));var m=d===u||d===l;if(p&&(i||!m)){var _=Xe(d,$r(p,i,r),a);if(!m){var v=Tr(p,_.attributes,i),y=v.isValid,w=v.validationIssues;_.isValid=y,_.validationIssues=w}return _.originalContent=_.originalContent||i,(_=function(e,t){var r=ze(e.name),n=r.deprecated;if(!n||!n.length)return e;for(var a=e,i=a.originalContent,s=a.innerBlocks,u=0;u<n.length;u++){var l=n[u].isEligible,d=void 0===l?c.stubFalse:l;if(!e.isValid||d(t,s)){var f=Object.assign(Object(c.omit)(r,ve),n[u]),p=$r(f,i,t),h=Tr(f,p,i),g=h.isValid,b=h.validationIssues;if(g){var m=s,_=f.migrate;if(_){var v=Object(c.castArray)(_(p,s)),y=Object(te.a)(v,2),w=y[0];p=void 0===w?t:w;var k=y[1];m=void 0===k?s:k}e=Ir(Ir({},e),{},{attributes:p,innerBlocks:m,isValid:!0})}else e=Ir(Ir({},e),{},{validationIssues:[].concat(Object(o.a)(Object(c.get)(e,"validationIssues",[])),Object(o.a)(b))})}}return e}(_,r)).validationIssues&&_.validationIssues.length>0&&(_.isValid?console.info("Block successfully updated for `%s` (%o).\n\nNew content generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",p.name,p,Yt(p,_.attributes),_.originalContent):_.validationIssues.forEach((function(e){var t=e.log,r=e.args;return t.apply(void 0,Object(o.a)(r))}))),_}}function Gr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isCommentDelimited,n=void 0===r||r,a=e.blockName,i=e.attrs,o=void 0===i?{}:i,s=e.innerBlocks,c=void 0===s?[]:s,u=e.innerContent,l=void 0===u?[]:u,d=0,f=l.map((function(e){return null!==e?e:Gr(c[d++],t)})).join("\n").replace(/\n+/g,"\n").trim();return n?Xt(a,o,f):f}var Kr,Wr=(Kr=bt.parse,function(e){return Kr(e).reduce((function(e,t){var r=Ur(t);return r&&e.push(r),e}),[])}),Yr=Wr;function Qr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qr(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xr(){return Object(c.filter)(st("from"),{type:"raw"}).map((function(e){return e.isMatch?e:Zr(Zr({},e),{},{isMatch:function(t){return e.selector&&t.matches(e.selector)}})}))}function Jr(e){var t=document.implementation.createHTMLDocument("");return t.body.innerHTML=e,Array.from(t.body.children).flatMap((function(e){var t=ot(Xr(),(function(t){return(0,t.isMatch)(e)}));if(!t)return Xe("core/html",$r("core/html",e.outerHTML));var r=t.transform,n=t.blockName;return r?r(e):Xe(n,$r(n,e.outerHTML))}))}function en(e){var t=document.implementation.createHTMLDocument(""),r=document.implementation.createHTMLDocument(""),n=t.body,a=r.body;for(n.innerHTML=e;n.firstChild;){var i=n.firstChild;i.nodeType===i.TEXT_NODE?i.nodeValue.trim()?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):n.removeChild(i):i.nodeType===i.ELEMENT_NODE?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(a.appendChild(r.createElement("P")),n.removeChild(i.nextSibling)),a.lastChild&&"P"===a.lastChild.nodeName&&a.lastChild.hasChildNodes()?a.lastChild.appendChild(i):n.removeChild(i)):"P"===i.nodeName?Object(ce.isEmpty)(i)?n.removeChild(i):a.appendChild(i):Object(ce.isPhrasingContent)(i)?(a.lastChild&&"P"===a.lastChild.nodeName||a.appendChild(r.createElement("P")),a.lastChild.appendChild(i)):a.appendChild(i):n.removeChild(i)}return a.innerHTML}function tn(e,t){if(e.nodeType===e.COMMENT_NODE)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var r=e.nodeValue.slice(4).trim(),n=e,a=!1;n=n.nextSibling;)if(n.nodeType===n.COMMENT_NODE&&"noteaser"===n.nodeValue){a=!0,Object(ce.remove)(n);break}Object(ce.replace)(e,function(e,t,r){var n=r.createElement("wp-block");n.dataset.block="core/more",e&&(n.dataset.customText=e);t&&(n.dataset.noTeaser="");return n}(r,a,t))}}else Object(ce.replace)(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))}function rn(e){e.nodeType===e.COMMENT_NODE&&Object(ce.remove)(e)}function nn(e,t){return e.every((function(e){return function(e,t){if(Object(ce.isTextContent)(e))return!0;if(!t)return!1;var r=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(c.difference)([r,t],e).length}))}(e,t)&&nn(Array.from(e.children),t)}))}function an(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}function on(e,t){if("SPAN"===e.nodeName&&e.style){var r=e.style,n=r.fontWeight,a=r.fontStyle,i=r.textDecorationLine,o=r.textDecoration,s=r.verticalAlign;"bold"!==n&&"700"!==n||Object(ce.wrap)(t.createElement("strong"),e),"italic"===a&&Object(ce.wrap)(t.createElement("em"),e),("line-through"===i||Object(c.includes)(o,"line-through"))&&Object(ce.wrap)(t.createElement("s"),e),"super"===s?Object(ce.wrap)(t.createElement("sup"),e):"sub"===s&&Object(ce.wrap)(t.createElement("sub"),e)}else"B"===e.nodeName?e=Object(ce.replaceTag)(e,"strong"):"I"===e.nodeName?e=Object(ce.replaceTag)(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))}function sn(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)}var cn=window.parseInt;function un(e){return"OL"===e.nodeName||"UL"===e.nodeName}function ln(e,t){if("P"===e.nodeName){var r=e.getAttribute("style");if(r&&-1!==r.indexOf("mso-list")){var n=/mso-list\s*:[^;]+level([0-9]+)/i.exec(r);if(n){var a=cn(n[1],10)-1||0,i=e.previousElementSibling;if(!i||!un(i)){var o=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(o),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",o),e.parentNode.insertBefore(c,e)}var u=e.previousElementSibling,l=u.nodeName,d=t.createElement("li"),f=u;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;a--;)un(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);un(f)||(f=f.appendChild(t.createElement(l))),f.appendChild(d),e.parentNode.removeChild(e)}}}}function dn(e){return"OL"===e.nodeName||"UL"===e.nodeName}function fn(e){if(dn(e)){var t=e,r=e.previousElementSibling;if(r&&r.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)r.appendChild(t.firstChild);t.parentNode.removeChild(t)}var n,a=e.parentNode;if(a&&"LI"===a.nodeName&&1===a.children.length&&!/\S/.test((n=a,Array.from(n.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var i=a,o=i.previousElementSibling,s=i.parentNode;o?(o.appendChild(t),s.removeChild(i)):(s.parentNode.insertBefore(t,s),s.parentNode.removeChild(s))}if(a&&dn(a)){var c=e.previousElementSibling;c?c.appendChild(e):Object(ce.unwrap)(e)}}}var pn=r("xTGt"),hn=window,gn=hn.atob,bn=hn.File;function mn(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,r=e.src.split(","),n=Object(te.a)(r,2),a=n[0],i=n[1],o=a.slice(5).split(";"),s=Object(te.a)(o,1)[0];if(!i||!s)return void(e.src="");try{t=gn(i)}catch(t){return void(e.src="")}for(var c=new Uint8Array(t.length),u=0;u<c.length;u++)c[u]=t.charCodeAt(u);var l=s.replace("/","."),d=new bn([c],l,{type:s});e.src=Object(pn.createBlobURL)(d)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}}function _n(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=en(e.innerHTML))}function vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=e.ownerDocument.createElement("figure");t.parentNode.insertBefore(r,t),r.appendChild(e)}function yn(e,t,r){if(function(e,t){var r=e.nodeName.toLowerCase();return"figcaption"!==r&&!Object(ce.isTextContent)(e)&&Object(c.has)(t,["figure","children",r])}(e,r)){var n=e,a=e.parentNode;(function(e,t){var r=e.nodeName.toLowerCase();return Object(c.has)(t,["figure","children","a","children",r])})(e,r)&&"A"===a.nodeName&&1===a.childNodes.length&&(n=e.parentNode);var i=n.closest("p,div");i?e.classList?(e.classList.contains("alignright")||e.classList.contains("alignleft")||e.classList.contains("aligncenter")||!i.textContent.trim())&&vn(n,i):vn(n,i):"BODY"===n.parentNode.nodeName&&vn(n)}}var wn=r("SVSp");function kn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function On(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kn(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var jn=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=st("from"),i=ot(a,(function(e){return-1===n.indexOf(e.blockName)&&"shortcode"===e.type&&Object(c.some)(Object(c.castArray)(e.tag),(function(e){return Object(wn.regexp)(e).test(t)}))}));if(!i)return[t];var s,u=Object(c.castArray)(i.tag),l=Object(c.find)(u,(function(e){return Object(wn.regexp)(e).test(t)})),d=r;if(s=Object(wn.next)(l,t,r)){r=s.index+s.content.length;var f=t.substr(0,s.index),p=t.substr(r);if(!(Object(c.includes)(s.shortcode.content||"","<")||/(\n|<p>)\s*$/.test(f)&&/^\s*(\n|<\/p>)/.test(p)))return e(t,r);if(i.isMatch&&!i.isMatch(s.shortcode.attrs))return e(t,d,[].concat(Object(o.a)(n),[i.blockName]));var h=Object(c.mapValues)(Object(c.pickBy)(i.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(s.shortcode.attrs,s)})),g=Xe(i.blockName,$r(On(On({},ze(i.blockName)),{},{attributes:i.attributes}),s.shortcode.content,h));return[].concat(Object(o.a)(e(f)),[g],Object(o.a)(e(p)))}return[t]},Tn=r("M55E"),Cn=new(r.n(Tn).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});function xn(e){if("IFRAME"===e.nodeName){var t=e.ownerDocument.createTextNode(e.src);e.parentNode.replaceChild(t,e)}}function Pn(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Object(ce.unwrap)(e)}function Sn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function An(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sn(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function En(e){return function(e,t){var r={phrasingContentSchema:Object(ce.getPhrasingContentSchema)(t),isPaste:"paste"===t},n=e.map((function(e){var t=e.isMatch,n=e.blockName,a=e.schema,i=Ve(n,"anchor");return a=Object(c.isFunction)(a)?a(r):a,i||t?Object(c.mapValues)(a,(function(e){var r=e.attributes||[];return i&&(r=[].concat(Object(o.a)(r),["id"])),An(An({},e),{},{attributes:r,isMatch:t||void 0})})):a}));return c.mergeWith.apply(void 0,[{}].concat(Object(o.a)(n),[function(e,t,r){switch(r){case"children":return"*"===e||"*"===t?"*":An(An({},e),t);case"attributes":case"require":return[].concat(Object(o.a)(e||[]),Object(o.a)(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}(Xr(),e)}function Bn(e,t,r,n){Array.from(e).forEach((function(e){Bn(e.childNodes,t,r,n),t.forEach((function(t){r.contains(e)&&t(e,r,n)}))}))}function Nn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,n=document.implementation.createHTMLDocument("");return n.body.innerHTML=e,Bn(n.body.childNodes,t,n,r),n.body.innerHTML}function Dn(e,t){var r=e["".concat(t,"Sibling")];if(r&&Object(ce.isPhrasingContent)(r))return r;var n=e.parentNode;return n&&Object(ce.isPhrasingContent)(n)?Dn(n,t):void 0}function Ln(e){if(e.nodeType===e.TEXT_NODE){for(var t=e;t=t.parentNode;)if(t.nodeType===t.ELEMENT_NODE&&"PRE"===t.nodeName)return;var r,n=e.data.replace(/[ \r\n\t]+/g," ");if(" "===n[0]){var a=Dn(e,"previous");a&&"BR"!==a.nodeName&&" "!==a.textContent.slice(-1)||(n=n.slice(1))}if(" "===n[n.length-1]){var i=Dn(e,"next");(!i||"BR"===i.nodeName||i.nodeType===i.TEXT_NODE&&(" "===(r=i.textContent[0])||"\r"===r||"\n"===r||"\t"===r))&&(n=n.slice(0,-1))}n?e.data=n:e.parentNode.removeChild(e)}}function Mn(e){"BR"===e.nodeName&&(Dn(e,"next")||e.parentNode.removeChild(e))}function zn(e){"P"===e.nodeName&&(e.hasChildNodes()||e.parentNode.removeChild(e))}function In(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Hn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?In(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):In(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Vn=window.console;function Rn(e,t){return e=Nn(e,[Pn,on,rn]),e=Object(ce.removeInvalidHTML)(e,Object(ce.getPhrasingContentSchema)("paste"),{inline:!0}),t||(e=Nn(e,[Ln,Mn])),Vn.log("Processed inline HTML:\n\n",e),e}function Fn(e){var t,r=e.HTML,n=void 0===r?"":r,a=e.plainText,i=void 0===a?"":a,o=e.mode,s=void 0===o?"AUTO":o,u=e.tagName,l=e.preserveWhiteSpace;if(n=(n=(n=n.replace(/<meta[^>]+>/g,"")).replace(/^\s*<html[^>]*>\s*<body[^>]*>(?:\s*<!--\s*StartFragment\s*-->)?/i,"")).replace(/(?:<!--\s*EndFragment\s*-->\s*)?<\/body>\s*<\/html>\s*$/i,""),"INLINE"!==s){var d=n||i;if(-1!==d.indexOf("\x3c!-- wp:"))return Wr(d)}if(String.prototype.normalize&&(n=n.normalize()),!i||n&&!function(e){return!/<(?!br[ />])/i.test(e)}(n)||(t=i,n=Cn.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(function(e,t,r,n){return"".concat(t,"\n").concat(r,"\n").concat(n)}))}(t)),"AUTO"===s&&-1===i.indexOf("\n")&&0!==i.indexOf("<p>")&&0===n.indexOf("<p>")&&(s="INLINE")),"INLINE"===s)return Rn(n,l);var f=jn(n),p=f.length>1;if("AUTO"===s&&!p&&function(e,t){var r=document.implementation.createHTMLDocument("");r.body.innerHTML=e;var n=Array.from(r.body.children);return!n.some(an)&&nn(n,t)}(n,u))return Rn(n,l);var h=Object(ce.getPhrasingContentSchema)("paste"),g=En("paste"),b=Object(c.compact)(Object(c.flatMap)(f,(function(e){if("string"!=typeof e)return e;var t=[Pn,ln,sn,fn,mn,on,tn,rn,xn,yn,_n],r=Hn(Hn({},g),h);return e=Nn(e,t,g),e=Nn(e=en(e=Object(ce.removeInvalidHTML)(e,r)),[Ln,Mn,zn],g),Vn.log("Processed HTML piece:\n\n",e),Jr(e)})));if("AUTO"===s&&1===b.length&&Ve(b[0].name,"__unstablePasteTextInline",!1)){var m=i.trim();if(""!==m&&-1===m.indexOf("\n"))return Object(ce.removeInvalidHTML)(Zt(b[0]),h)}return b}var $n=r("NMb1"),qn=r.n($n);function Un(e){return qn()("wp.blocks.getPhrasingContentSchema",{alternative:"wp.dom.getPhrasingContentSchema"}),Object(ce.getPhrasingContentSchema)(e)}function Gn(e){var t=e.HTML,r=void 0===t?"":t;if(-1!==r.indexOf("\x3c!-- wp:"))return Wr(r);var n=jn(r),a=En();return Object(c.compact)(Object(c.flatMap)(n,(function(e){return"string"!=typeof e?e:Jr(e=en(e=Nn(e,[fn,tn,yn,_n],a)))})))}function Kn(){return Object(i.select)(ee).getCategories()}function Wn(e){Object(i.dispatch)(ee).setCategories(e)}function Yn(e,t){Object(i.dispatch)(ee).updateCategory(e,t)}function Qn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length===t.length&&Object(c.every)(t,(function(t,r){var n=Object(te.a)(t,3),a=n[0],i=n[2],o=e[r];return a===o.name&&Xn(o.innerBlocks,i)}))}function Jn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(c.map)(t,(function(t,r){var n=Object(te.a)(t,3),a=n[0],i=n[1],o=n[2],s=e[r];if(s&&s.name===a){var u=Jn(s.innerBlocks,o);return Zn(Zn({},s),{},{innerBlocks:u})}var l=ze(a),d=function(e,t){return Object(c.mapValues)(t,(function(t,r){return f(e[r],t)}))},f=function(e,t){return r=e,"html"===Object(c.get)(r,["source"])&&Object(c.isArray)(t)?Object(se.renderToString)(t):function(e){return"query"===Object(c.get)(e,["source"])}(e)&&t?t.map((function(t){return d(e.query,t)})):t;var r},p=qr(a,d(Object(c.get)(l,["attributes"],{}),i));return Xe(p.name,p.attributes,Jn([],o))})):e}},"1CF3":function(e,t){e.exports=window.wp.dom},"1OyB":function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},"1ZqX":function(e,t){e.exports=window.wp.data},"25BE":function(e,t,r){"use strict";function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.d(t,"a",(function(){return n}))},"7Cbv":function(e,t,r){"use strict";var n,a=new Uint8Array(16);function i(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(a)}var o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=function(e){return"string"==typeof e&&o.test(e)},c=[],u=0;u<256;++u)c.push((u+256).toString(16).substr(1));var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!s(r))throw TypeError("Stringified UUID is invalid");return r};t.a=function(e,t,r){var n=(e=e||{}).random||(e.rng||i)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var a=0;a<16;++a)t[r+a]=n[a];return t}return l(n)}},BsWD:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("a3WO");function a(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},DSFK:function(e,t,r){"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,"a",(function(){return n}))},GRId:function(e,t){e.exports=window.wp.element},K9lf:function(e,t){e.exports=window.wp.compose},KQm4:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("a3WO");var a=r("25BE"),i=r("BsWD");function o(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||Object(a.a)(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},M55E:function(e,t,r){var n;/*! showdown v 1.9.1 - 02-11-2019 */
Delete
Ấn tiếp tục để lưu lại ở lại trang và ấn lưu để lưu lại và quay về List dòng
Function
Delete dòng
Edit by line
Edit text
Download
Information
Rename
Copy
Move
Delete
Chmod
List