diff --git a/dist/blocks.asset.php b/dist/blocks.asset.php index ba4eee146..360dcccf8 100644 --- a/dist/blocks.asset.php +++ b/dist/blocks.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-rich-text'), 'version' => '014d85cef652b1076b830deafd78f166'); \ No newline at end of file + array('lodash', 'react', 'react-dom', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-rich-text'), 'version' => '2621a2be94ece6e8e748da3efcd2ac0d'); \ No newline at end of file diff --git a/dist/blocks.js b/dist/blocks.js index 2769da419..7135aacb9 100644 --- a/dist/blocks.js +++ b/dist/blocks.js @@ -1,19 +1,19 @@ -!function(){var e={184:function(e,t){var a;!function(){"use strict";var l={}.hasOwnProperty;function r(){for(var e=[],t=0;te.length)&&(t=e.length);for(var a=0,l=new Array(t);a1?a-1:0),r=1;r/gm),q=d(/^data-[\-\w.\u00B7-\uFFFF]/),W=d(/^aria-[\-\w]+$/),$=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Z=d(/^(?:\w+script|data):/i),K=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=d(/^html$/i),Y=function(){return"undefined"==typeof window?null:window},J=function(t,a){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var l=null,r="data-tt-policy-suffix";a.currentScript&&a.currentScript.hasAttribute(r)&&(l=a.currentScript.getAttribute(r));var n="dompurify"+(l?"#"+l:"");try{return t.createPolicy(n,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};return function t(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y(),l=function(e){return t(e)};if(l.version="2.3.9",l.removed=[],!a||!a.document||9!==a.document.nodeType)return l.isSupported=!1,l;var n=a.document,i=a.document,o=a.DocumentFragment,s=a.HTMLTemplateElement,c=a.Node,u=a.Element,d=a.NodeFilter,b=a.NamedNodeMap,p=void 0===b?a.NamedNodeMap||a.MozNamedAttrMap:b,m=a.HTMLFormElement,f=a.DOMParser,h=a.trustedTypes,B=u.prototype,X=R(B,"cloneNode"),ee=R(B,"nextSibling"),te=R(B,"childNodes"),ae=R(B,"parentNode");if("function"==typeof s){var le=i.createElement("template");le.content&&le.content.ownerDocument&&(i=le.content.ownerDocument)}var re=J(h,n),ne=re?re.createHTML(""):"",ie=i,oe=ie.implementation,se=ie.createNodeIterator,ce=ie.createDocumentFragment,ue=ie.getElementsByTagName,ge=n.importNode,de={};try{de=D(i).documentMode?i.documentMode:{}}catch(e){}var be={};l.isSupported="function"==typeof ae&&oe&&void 0!==oe.createHTMLDocument&&9!==de;var pe,me,fe=G,he=j,ke=q,ve=W,ye=Z,we=K,_e=$,Ce=null,Te=M({},[].concat(r(z),r(L),r(O),r(N),r(F))),Ee=null,xe=M({},[].concat(r(P),r(H),r(V),r(U))),Se=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Be=null,Me=null,De=!0,Re=!0,ze=!1,Le=!1,Oe=!1,Ie=!1,Ne=!1,Ae=!1,Fe=!1,Pe=!1,He=!0,Ve=!0,Ue=!1,Ge={},je=null,qe=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),We=null,$e=M({},["audio","video","img","source","image","track"]),Ze=null,Ke=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qe="http://www.w3.org/1998/Math/MathML",Ye="http://www.w3.org/2000/svg",Je="http://www.w3.org/1999/xhtml",Xe=Je,et=!1,tt=["application/xhtml+xml","text/html"],at="text/html",lt=null,rt=i.createElement("form"),nt=function(e){return e instanceof RegExp||e instanceof Function},it=function(t){lt&<===t||(t&&"object"===e(t)||(t={}),t=D(t),pe=pe=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?at:t.PARSER_MEDIA_TYPE,me="application/xhtml+xml"===pe?function(e){return e}:w,Ce="ALLOWED_TAGS"in t?M({},t.ALLOWED_TAGS,me):Te,Ee="ALLOWED_ATTR"in t?M({},t.ALLOWED_ATTR,me):xe,Ze="ADD_URI_SAFE_ATTR"in t?M(D(Ke),t.ADD_URI_SAFE_ATTR,me):Ke,We="ADD_DATA_URI_TAGS"in t?M(D($e),t.ADD_DATA_URI_TAGS,me):$e,je="FORBID_CONTENTS"in t?M({},t.FORBID_CONTENTS,me):qe,Be="FORBID_TAGS"in t?M({},t.FORBID_TAGS,me):{},Me="FORBID_ATTR"in t?M({},t.FORBID_ATTR,me):{},Ge="USE_PROFILES"in t&&t.USE_PROFILES,De=!1!==t.ALLOW_ARIA_ATTR,Re=!1!==t.ALLOW_DATA_ATTR,ze=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=t.SAFE_FOR_TEMPLATES||!1,Oe=t.WHOLE_DOCUMENT||!1,Ae=t.RETURN_DOM||!1,Fe=t.RETURN_DOM_FRAGMENT||!1,Pe=t.RETURN_TRUSTED_TYPE||!1,Ne=t.FORCE_BODY||!1,He=!1!==t.SANITIZE_DOM,Ve=!1!==t.KEEP_CONTENT,Ue=t.IN_PLACE||!1,_e=t.ALLOWED_URI_REGEXP||_e,Xe=t.NAMESPACE||Je,t.CUSTOM_ELEMENT_HANDLING&&nt(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Se.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&nt(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Se.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Se.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Le&&(Re=!1),Fe&&(Ae=!0),Ge&&(Ce=M({},r(F)),Ee=[],!0===Ge.html&&(M(Ce,z),M(Ee,P)),!0===Ge.svg&&(M(Ce,L),M(Ee,H),M(Ee,U)),!0===Ge.svgFilters&&(M(Ce,O),M(Ee,H),M(Ee,U)),!0===Ge.mathMl&&(M(Ce,N),M(Ee,V),M(Ee,U))),t.ADD_TAGS&&(Ce===Te&&(Ce=D(Ce)),M(Ce,t.ADD_TAGS,me)),t.ADD_ATTR&&(Ee===xe&&(Ee=D(Ee)),M(Ee,t.ADD_ATTR,me)),t.ADD_URI_SAFE_ATTR&&M(Ze,t.ADD_URI_SAFE_ATTR,me),t.FORBID_CONTENTS&&(je===qe&&(je=D(je)),M(je,t.FORBID_CONTENTS,me)),Ve&&(Ce["#text"]=!0),Oe&&M(Ce,["html","head","body"]),Ce.table&&(M(Ce,["tbody"]),delete Be.tbody),g&&g(t),lt=t)},ot=M({},["mi","mo","mn","ms","mtext"]),st=M({},["foreignobject","desc","title","annotation-xml"]),ct=M({},["title","style","font","a","script"]),ut=M({},L);M(ut,O),M(ut,I);var gt=M({},N);M(gt,A);var dt=function(e){var t=ae(e);t&&t.tagName||(t={namespaceURI:Je,tagName:"template"});var a=w(e.tagName),l=w(t.tagName);return e.namespaceURI===Ye?t.namespaceURI===Je?"svg"===a:t.namespaceURI===Qe?"svg"===a&&("annotation-xml"===l||ot[l]):Boolean(ut[a]):e.namespaceURI===Qe?t.namespaceURI===Je?"math"===a:t.namespaceURI===Ye?"math"===a&&st[l]:Boolean(gt[a]):e.namespaceURI===Je&&!(t.namespaceURI===Ye&&!st[l])&&!(t.namespaceURI===Qe&&!ot[l])&&!gt[a]&&(ct[a]||!ut[a])},bt=function(e){y(l.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ne}catch(t){e.remove()}}},pt=function(e,t){try{y(l.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){y(l.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ee[e])if(Ae||Fe)try{bt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},mt=function(e){var t,a;if(Ne)e=""+e;else{var l=_(e,/^[\r\n\t ]+/);a=l&&l[0]}"application/xhtml+xml"===pe&&(e=''+e+"");var r=re?re.createHTML(e):e;if(Xe===Je)try{t=(new f).parseFromString(r,pe)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Xe,"template",null);try{t.documentElement.innerHTML=et?"":r}catch(e){}}var n=t.body||t.documentElement;return e&&a&&n.insertBefore(i.createTextNode(a),n.childNodes[0]||null),Xe===Je?ue.call(t,Oe?"html":"body")[0]:Oe?t.documentElement:n},ft=function(e){return se.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},ht=function(e){return e instanceof m&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},kt=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},vt=function(e,t,a){be[e]&&k(be[e],(function(e){e.call(l,t,a,lt)}))},yt=function(e){var t;if(vt("beforeSanitizeElements",e,null),ht(e))return bt(e),!0;if(x(/[\u0080-\uFFFF]/,e.nodeName))return bt(e),!0;var a=me(e.nodeName);if(vt("uponSanitizeElement",e,{tagName:a,allowedTags:Ce}),e.hasChildNodes()&&!kt(e.firstElementChild)&&(!kt(e.content)||!kt(e.content.firstElementChild))&&x(/<[/\w]/g,e.innerHTML)&&x(/<[/\w]/g,e.textContent))return bt(e),!0;if("select"===a&&x(/