PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | assets/build/demo-import.js +1 -1 2.13.1 → 2.14.0 View file →
@@ -18,9 +18,9 @@
18 18 t=I(t,e," ")}),e.textContent!==t&&(v(n.removed,{element:e.cloneNode()}),e.textContent=t)),wt(re.afterSanitizeElements,e,null),!1):(ht(e),!0)},St=function(e,t,n){if(ve[t])return!1;if(Ue&&("id"===t||"name"===t)&&(n in o||n in dt))return!1;if(Re&&!ve[t]&&L(pe,t));else if(Te&&L(fe,t));else if(Ee.attributeCheck instanceof Function&&Ee.attributeCheck(t,e));else if(!we[t]||ve[t]){if(!(Nt(e)&&(Se.tagNameCheck instanceof RegExp&&L(Se.tagNameCheck,e)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(e))&&(Se.attributeNameCheck instanceof RegExp&&L(Se.attributeNameCheck,t)||Se.attributeNameCheck instanceof Function&&Se.attributeNameCheck(t,e))||"is"===t&&Se.allowCustomizedBuiltInElements&&(Se.tagNameCheck instanceof RegExp&&L(Se.tagNameCheck,n)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(n))))return!1}else if(Ve[t]);else if(L(_e,I(n,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==A(n,"data:")||!Ye[e])if(je&&!L(he,I(n,ge,"")));else if(n)return!1;return!0
19 19 },Nt=function(e){return"annotation-xml"!==e&&j(e,be)},vt=function(e){wt(re.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||yt(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we,forceKeepAttr:void 0};let s=t.length;for(;s--;){const a=t[s],{name:r,namespaceURI:i,value:l}=a,c=lt(r),d=l;let u="value"===r?d:O(d);if(o.attrName=c,o.attrValue=u,o.keepAttr=!0,o.forceKeepAttr=void 0,wt(re.uponSanitizeAttribute,e,o),u=o.attrValue,!Be||"id"!==c&&"name"!==c||(gt(r,e),u="user-content-"+u),Oe&&L(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)){gt(r,e);continue}if("attributename"===c&&j(u,"href")){gt(r,e);continue}if(o.forceKeepAttr)continue;if(!o.keepAttr){gt(r,e);continue}if(!Ie&&L(/\/>/i,u)){gt(r,e);continue}Ae&&x([le,ue,me],e=>{u=I(u,e," ")});const m=lt(e.nodeName);if(St(m,c,u)){if(U&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(i);else switch(h.getAttributeType(m,c)){case"TrustedHTML":u=U.createHTML(u)
20 20 ;break;case"TrustedScriptURL":u=U.createScriptURL(u)}if(u!==d)try{i?e.setAttributeNS(i,r,u):e.setAttribute(r,u),yt(e)?ht(e):N(n.removed)}catch(t){gt(r,e)}}else gt(r,e)}wt(re.afterSanitizeAttributes,e,null)},Et=function e(t){let n=null;const o=_t(t);for(wt(re.beforeSanitizeShadowDOM,t,null);n=o.nextNode();)wt(re.uponSanitizeShadowNode,n,null),xt(n),vt(n),n.content instanceof r&&e(n.content);wt(re.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,a=null,i=null,c=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!kt(e)){if("function"!=typeof e.toString)throw D("toString is not a function");if("string"!=typeof(e=e.toString()))throw D("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Le||mt(t),n.removed=[],"string"==typeof e&&(He=!1),He){if(e.nodeName){const t=lt(e.nodeName);if(!ye[t]||Ne[t])throw D("root node is forbidden and cannot be sanitized in-place")}
21 21 }else if(e instanceof l)o=bt("\x3c!----\x3e"),a=o.ownerDocument.importNode(e,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);else{if(!Pe&&!Ae&&!Ce&&-1===e.indexOf("<"))return U&&Me?U.createHTML(e):e;if(o=bt(e),!o)return Pe?null:Me?Z:""}o&&De&&ht(o.firstChild);const d=_t(He?e:o);for(;i=d.nextNode();)xt(i),vt(i),i.content instanceof r&&Et(i.content);if(He)return e;if(Pe){if(Fe)for(c=ne.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return(we.shadowroot||we.shadowrootmode)&&(c=ae.call(s,c,!0)),c}let u=Ce?o.outerHTML:o.innerHTML;return Ce&&ye["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&L(ie,o.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+u),Ae&&x([le,ue,me],e=>{u=I(u,e," ")}),U&&Me?U.createHTML(u):u},n.setConfig=function(){mt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Le=!0},n.clearConfig=function(){ct=null,Le=!1},
22 -n.isValidAttribute=function(e,t,n){ct||mt({});const o=lt(e),s=lt(t);return St(o,s,n)},n.addHook=function(e,t){"function"==typeof t&&v(re[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=S(re[e],t);return-1===n?void 0:E(re[e],n,1)[0]}return N(re[e])},n.removeHooks=function(e){re[e]=[]},n.removeAllHooks=function(){re={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const ue=window.wp.date;function me(e,t){return function(){return e.apply(t,arguments)}}const{toString:pe}=Object.prototype,{getPrototypeOf:fe}=Object,{iterator:he,toStringTag:ge}=Symbol,be=(_e=Object.create(null),e=>{const t=pe.call(e);return _e[t]||(_e[t]=t.slice(8,-1).toLowerCase())});var _e;const ye=e=>(e=e.toLowerCase(),t=>be(t)===e),ke=e=>t=>typeof t===e,{isArray:we}=Array,xe=ke("undefined");function Se(e){
22 +n.isValidAttribute=function(e,t,n){ct||mt({});const o=lt(e),s=lt(t);return St(o,s,n)},n.addHook=function(e,t){"function"==typeof t&&v(re[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=S(re[e],t);return-1===n?void 0:E(re[e],n,1)[0]}return N(re[e])},n.removeHooks=function(e){re[e]=[]},n.removeAllHooks=function(){re={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const ue=window.wp.date;function me(e,t){return function(){return e.apply(t,arguments)}}window.wp.data;const{toString:pe}=Object.prototype,{getPrototypeOf:fe}=Object,{iterator:he,toStringTag:ge}=Symbol,be=(_e=Object.create(null),e=>{const t=pe.call(e);return _e[t]||(_e[t]=t.slice(8,-1).toLowerCase())});var _e;const ye=e=>(e=e.toLowerCase(),t=>be(t)===e),ke=e=>t=>typeof t===e,{isArray:we}=Array,xe=ke("undefined");function Se(e){
23 23 return null!==e&&!xe(e)&&null!==e.constructor&&!xe(e.constructor)&&Ee(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ne=ye("ArrayBuffer"),ve=ke("string"),Ee=ke("function"),Te=ke("number"),Re=e=>null!==e&&"object"==typeof e,je=e=>{if("object"!==be(e))return!1;const t=fe(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||ge in e||he in e)},Ie=ye("Date"),Ae=ye("File"),Oe=ye("Blob"),Ce=ye("FileList"),Le="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{},De=void 0!==Le.FormData?Le.FormData:void 0,Pe=ye("URLSearchParams"),[Fe,Me,Ue,Be]=["ReadableStream","Request","Response","Headers"].map(ye);function ze(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let o,s;if("object"!=typeof e&&(e=[e]),we(e))for(o=0,s=e.length;o<s;o++)t.call(null,e[o],o,e);else{if(Se(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let r;for(o=0;o<a;o++)r=s[o],
24 24 t.call(null,e[r],r,e)}}function He(e,t){if(Se(e))return null;t=t.toLowerCase();const n=Object.keys(e);let o,s=n.length;for(;s-- >0;)if(o=n[s],t===o.toLowerCase())return o;return null}const qe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:globalThis,We=e=>!xe(e)&&e!==qe,$e=(Ye="undefined"!=typeof Uint8Array&&fe(Uint8Array),e=>Ye&&e instanceof Ye);var Ye;const Ge=ye("HTMLFormElement"),Ve=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Je=ye("RegExp"),Ke=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};ze(n,(n,s)=>{let a;!1!==(a=t(n,s,e))&&(o[s]=a||n)}),Object.defineProperties(e,o)},Xe=ye("AsyncFunction"),Qe=(Ze="function"==typeof setImmediate,et=Ee(qe.postMessage),Ze?setImmediate:et?(tt=`axios@${Math.random()}`,nt=[],qe.addEventListener("message",({source:e,data:t})=>{e===qe&&t===tt&&nt.length&&nt.shift()()},!1),e=>{nt.push(e),qe.postMessage(tt,"*")}):e=>setTimeout(e));var Ze,et,tt,nt
25 25 ;const ot="undefined"!=typeof queueMicrotask?queueMicrotask.bind(qe):"undefined"!=typeof process&&process.nextTick||Qe,st={isArray:we,isArrayBuffer:Ne,isBuffer:Se,isFormData:e=>{let t;return e&&(De&&e instanceof De||Ee(e.append)&&("formdata"===(t=be(e))||"object"===t&&Ee(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Ne(e.buffer),t},isString:ve,isNumber:Te,isBoolean:e=>!0===e||!1===e,isObject:Re,isPlainObject:je,isEmptyObject:e=>{if(!Re(e)||Se(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Fe,isRequest:Me,isResponse:Ue,isHeaders:Be,isUndefined:xe,isDate:Ie,isFile:Ae,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:Oe,isRegExp:Je,isFunction:Ee,isStream:e=>Re(e)&&Ee(e.pipe),isURLSearchParams:Pe,isTypedArray:$e,isFileList:Ce,
26 26 forEach:ze,merge:function e(){const{caseless:t,skipUndefined:n}=We(this)&&this||{},o={},s=(s,a)=>{if("__proto__"===a||"constructor"===a||"prototype"===a)return;const r=t&&He(o,a)||a;je(o[r])&&je(s)?o[r]=e(o[r],s):je(s)?o[r]=e({},s):we(s)?o[r]=s.slice():n&&xe(s)||(o[r]=s)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&ze(arguments[e],s);return o},extend:(e,t,n,{allOwnKeys:o}={})=>(ze(t,(t,o)=>{n&&Ee(t)?Object.defineProperty(e,o,{value:me(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},