WordPress/wp-includes/js/dist/block-serialization-default...

2 lines
5.1 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s="./node_modules/@wordpress/block-serialization-default-parser/build-module/index.js")}({"./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":function(e,r,t){"use strict";function n(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}t.d(r,"a",(function(){return n}))},"./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":function(e,r,t){"use strict";function n(e){if(Array.isArray(e))return e}t.d(r,"a",(function(){return n}))},"./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":function(e,r,t){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(r,"a",(function(){return n}))},"./node_modules/@babel/runtime/helpers/esm/slicedToArray.js":function(e,r,t){"use strict";t.d(r,"a",(function(){return s}));var n=t("./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");var o=t("./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"),u=t("./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");function s(e,r){return Object(n.a)(e)||function(e,r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],n=!0,o=!1,u=void 0;try{for(var s,l=e[Symbol.iterator]();!(n=(s=l.next()).done)&&(t.push(s.value),!r||t.length!==r);n=!0);}catch(e){o=!0,u=e}finally{try{n||null==l.return||l.return()}finally{if(o)throw u}}return t}}(e,r)||Object(o.a)(e,r)||Object(u.a)()}},"./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":function(e,r,t){"use strict";t.d(r,"a",(function(){return o}));var n=t("./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");function o(e,r){if(e){if("string"==typeof e)return Object(n.a)(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Object(n.a)(e,r):void 0}}},"./node_modules/@wordpress/block-serialization-default-parser/build-module/index.js":function(e,r,t){"use strict";t.r(r),t.d(r,"parse",(function(){return f}));var n,o,u,s,l=t("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),i=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function a(e,r,t,n,o){return{blockName:e,attrs:r,innerBlocks:t,innerHTML:n,innerContent:o}}function c(e){return a(null,{},[],e,[e])}var f=function(e){n=e,o=0,u=[],s=[],i.lastIndex=0;do{}while(b());return u};function b(){var e=function(){var e=i.exec(n);if(null===e)return["no-more-tokens"];var r=e.index,t=Object(l.a)(e,7),o=t[0],u=t[1],s=t[2],a=t[3],c=t[4],f=t[6],b=o.length,d=!!u,p=!!f,m=(s||"core/")+a,h=!!c,y=h?function(e){try{return JSON.parse(e)}catch(e){return null}}(c):{};if(p)return["void-block",m,y,r,b];if(d)return["block-closer",m,null,r,b];return["block-opener",m,y,r,b]}(),r=Object(l.a)(e,5),t=r[0],f=r[1],b=r[2],h=r[3],y=r[4],v=s.length,j=h>o?o:null;switch(t){case"no-more-tokens":if(0===v)return d(),!1;if