%PDF- %PDF-
Direktori : /home/dopla/www/wp-includes/js/dist/ |
Current File : /home/dopla/www/wp-includes/js/dist/block-serialization-default-parser.min.js |
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var n={};function r(e){if(n[e])return n[e].exports;var u=n[e]={i:e,l:!1,exports:{}};return t[e].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var u in t)r.d(e,u,function(n){return t[n]}.bind(null,u));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s="SiJt")}({DSFK:function(t,n,r){"use strict";function e(t){if(Array.isArray(t))return t}r.d(n,"a",(function(){return e}))},ODXe:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r("DSFK");var u=r("PYwp");function o(t,n){return Object(e.a)(t)||function(t,n){var r=[],e=!0,u=!1,o=void 0;try{for(var i,l=t[Symbol.iterator]();!(e=(i=l.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){u=!0,o=t}finally{try{e||null==l.return||l.return()}finally{if(u)throw o}}return r}(t,n)||Object(u.a)()}},PYwp:function(t,n,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}r.d(n,"a",(function(){return e}))},SiJt:function(t,n,r){"use strict";r.r(n),r.d(n,"parse",(function(){return a}));var e,u,o,i,l=r("ODXe"),c=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function s(t,n,r,e,u){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:u}}function f(t){return s(null,{},[],t,[t])}var a=function(t){e=t,u=0,o=[],i=[],c.lastIndex=0;do{}while(p());return o};function p(){var t=function(){var t=c.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(l.a)(t,7),u=r[0],o=r[1],i=r[2],s=r[3],f=r[4],a=r[6],p=u.length,b=!!o,v=!!a,d=(i||"core/")+s,h=!!f,k=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(f):{};if(v)return["void-block",d,k,n,p];if(b)return["block-closer",d,null,n,p];return["block-opener",d,k,n,p]}(),n=Object(l.a)(t,5),r=n[0],a=n[1],p=n[2],h=n[3],k=n[4],O=i.length,y=h>u?u:null;switch(r){case"no-more-tokens":if(0===O)return b(),!1;if(1===O)return d(),!1;for(;0<i.length;)d();return!1;case"void-block":return 0===O?(null!==y&&o.push(f(e.substr(y,h-y))),o.push(s(a,p,[],"",[])),u=h+k,!0):(v(s(a,p,[],"",[]),h,k),u=h+k,!0);case"block-opener":return i.push(function(t,n,r,e,u){return{block:t,tokenStart:n,tokenLength:r,prevOffset:e||n+r,leadingHtmlStart:u}}(s(a,p,[],"",[]),h,k,h+k,y)),u=h+k,!0;case"block-closer":if(0===O)return b(),!1;if(1===O)return d(h),u=h+k,!0;var g=i.pop(),S=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=S,g.block.innerContent.push(S),g.prevOffset=h+k,v(g.block,g.tokenStart,g.tokenLength,h+k),u=h+k,!0;default:return b(),!1}}function b(t){var n=t||e.length-u;0!==n&&o.push(f(e.substr(u,n)))}function v(t,n,r,u){var o=i[i.length-1];o.block.innerBlocks.push(t);var l=e.substr(o.prevOffset,n-o.prevOffset);l&&(o.block.innerHTML+=l,o.block.innerContent.push(l)),o.block.innerContent.push(null),o.prevOffset=u||n+r}function d(t){var n=i.pop(),r=n.block,u=n.leadingHtmlStart,l=n.prevOffset,c=n.tokenStart,s=t?e.substr(l,t-l):e.substr(l);s&&(r.innerHTML+=s,r.innerContent.push(s)),null!==u&&o.push(f(e.substr(u,c-u))),o.push(r)}}});