File Editor
Directories:
.. (Back)
vendor
Files:
a11y.js
a11y.min.js
annotations.js
annotations.min.js
api-fetch.js
api-fetch.min.js
autop.js
autop.min.js
blob.js
blob.min.js
block-directory.js
block-directory.min.js
block-editor.js
block-editor.min.js
block-library.js
block-library.min.js
block-serialization-default-parser.js
block-serialization-default-parser.min.js
blocks.js
blocks.min.js
components.js
components.min.js
compose.js
compose.min.js
core-data.js
core-data.min.js
data-controls.js
data-controls.min.js
data.js
data.min.js
date.js
date.min.js
deprecated.js
deprecated.min.js
dom-ready.js
dom-ready.min.js
dom.js
dom.min.js
edit-post.js
edit-post.min.js
editor.js
editor.min.js
element.js
element.min.js
escape-html.js
escape-html.min.js
format-library.js
format-library.min.js
hooks.js
hooks.min.js
html-entities.js
html-entities.min.js
i18n.js
i18n.min.js
is-shallow-equal.js
is-shallow-equal.min.js
keyboard-shortcuts.js
keyboard-shortcuts.min.js
keycodes.js
keycodes.min.js
list-reusable-blocks.js
list-reusable-blocks.min.js
media-utils.js
media-utils.min.js
notices.js
notices.min.js
nux.js
nux.min.js
plugins.js
plugins.min.js
primitives.js
primitives.min.js
priority-queue.js
priority-queue.min.js
redux-routine.js
redux-routine.min.js
rich-text.js
rich-text.min.js
server-side-render.js
server-side-render.min.js
shortcode.js
shortcode.min.js
token-list.js
token-list.min.js
url.js
url.min.js
viewport.js
viewport.min.js
warning.js
warning.min.js
wordcount.js
wordcount.min.js
Create New File
Create
Edit File: dom.min.js
/*! This file is auto-generated */ this.wp=this.wp||{},this.wp.dom=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="2sUP")}({"2sUP":function(e,t,n){"use strict";n.r(t),n.d(t,"focus",(function(){return G})),n.d(t,"isHorizontalEdge",(function(){return w})),n.d(t,"isVerticalEdge",(function(){return P})),n.d(t,"getRectangleFromRange",(function(){return x})),n.d(t,"computeCaretRect",(function(){return A})),n.d(t,"placeCaretAtHorizontalEdge",(function(){return I})),n.d(t,"placeCaretAtVerticalEdge",(function(){return M})),n.d(t,"isTextField",(function(){return _})),n.d(t,"documentHasSelection",(function(){return H})),n.d(t,"isEntirelySelected",(function(){return L})),n.d(t,"getScrollContainer",(function(){return B})),n.d(t,"getOffsetParent",(function(){return D})),n.d(t,"replace",(function(){return U})),n.d(t,"remove",(function(){return F})),n.d(t,"insertAfter",(function(){return z})),n.d(t,"unwrap",(function(){return X})),n.d(t,"replaceTag",(function(){return V})),n.d(t,"wrap",(function(){return W})),n.d(t,"__unstableStripHTML",(function(){return Y})),n.d(t,"safeHTML",(function(){return q}));var r={};n.r(r),n.d(r,"find",(function(){return u}));var o={};n.r(o),n.d(o,"isTabbableIndex",(function(){return d})),n.d(o,"find",(function(){return m})),n.d(o,"findPrevious",(function(){return p})),n.d(o,"findNext",(function(){return h}));var i=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function a(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function u(e){var t=e.querySelectorAll(i);return Array.from(t).filter((function(e){return!!a(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&a(n)}(e))}))}var c=n("YLtl");function l(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function d(e){return-1!==l(e)}function f(e,t){return{element:e,index:t}}function s(e){return e.element}function g(e,t){var n=l(e.element),r=l(t.element);return n===r?e.index-t.index:n-r}function v(e){return e.filter(d).map(f).sort(g).map(s).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var u=t.hasOwnProperty(a);if(!i&&u)return e;if(u){var l=t[a];e=Object(c.without)(e,l)}return t[a]=n,e.concat(n)}),[]);var t}function m(e){return v(u(e))}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=u(document.body),n=t.indexOf(e);return t.length=n,Object(c.last)(v(t))}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=u(document.body),n=t.indexOf(e),r=t.slice(n+1).filter((function(t){return!e.contains(t)}));return Object(c.first)(v(r))}var b=window,C=b.DOMParser,N=b.getComputedStyle,E=window.Node,y=E.TEXT_NODE,T=E.ELEMENT_NODE,R=E.DOCUMENT_POSITION_PRECEDING,S=E.DOCUMENT_POSITION_FOLLOWING;function O(e,t,n){if(Object(c.includes)(["INPUT","TEXTAREA"],e.tagName))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=window.getSelection();if(!r.rangeCount)return!1;var o=r.getRangeAt(0),i=o.cloneRange(),a=function(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,o=e.focusOffset,i=t.compareDocumentPosition(n);return!(i&R)&&(!!(i&S)||(0!==i||r<=o))}(r),u=r.isCollapsed;u||i.collapse(!a);var l=x(i);if(!l)return!1;var d=window.getComputedStyle(e),f=parseInt(d.lineHeight,10)||0;if(!u&&l.height>f&&a===t)return!1;var s=parseInt(d["padding".concat(t?"Top":"Bottom")],10)||0,g=3*parseInt(f,10)/4,v=e.getBoundingClientRect(),m=x(o);if(!(t?v.top+s>m.top-g:v.bottom-s<m.bottom+g))return!1;if(n)return!0;var p="rtl"===d.direction?!t:t,h=p?v.left+1:v.right-1,b=t?v.top+g:v.bottom-g,C=j(document,h,b,e);if(!C)return!1;var N=p?"left":"right",E=x(C);return Math.abs(E[N]-l[N])<=1}function w(e,t){return O(e,t)}function P(e,t){return O(e,t,!0)}function x(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t);(e=document.createRange()).setStart(n,r),e.setEnd(n,r)}var o=e.getClientRects()[0];if(!o){var i=document.createTextNode("");(e=e.cloneRange()).insertNode(i),o=e.getClientRects()[0],i.parentNode.removeChild(i)}return o}function A(){var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;if(t)return x(t)}function I(e,t){if(e){if(Object(c.includes)(["INPUT","TEXTAREA"],e.tagName))return e.focus(),void(t?(e.selectionStart=e.value.length,e.selectionEnd=e.value.length):(e.selectionStart=0,e.selectionEnd=0));if(e.focus(),e.isContentEditable){var n=e[t?"lastChild":"firstChild"];if(n){var r=window.getSelection(),o=document.createRange();o.selectNodeContents(n),o.collapse(!t),r.removeAllRanges(),r.addRange(o)}}}}function j(e,t,n,r){var o=r.style.zIndex,i=r.style.position;r.style.zIndex="10000",r.style.position="relative";var a=function(e,t,n){if(e.caretRangeFromPoint)return e.caretRangeFromPoint(t,n);if(!e.caretPositionFromPoint)return null;var r=e.caretPositionFromPoint(t,n);if(!r)return null;var o=e.createRange();return o.setStart(r.offsetNode,r.offset),o.collapse(!0),o}(e,t,n);return r.style.zIndex=o,r.style.position=i,a}function M(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e)if(n&&e.isContentEditable){var o=n.height/2,i=e.getBoundingClientRect(),a=n.left,u=t?i.bottom-o:i.top+o,c=j(document,a,u,e);if(!c||!e.contains(c.startContainer))return!r||c&&c.startContainer&&c.startContainer.contains(e)?void I(e,t):(e.scrollIntoView(t),void M(e,t,n,!1));var l=window.getSelection();l.removeAllRanges(),l.addRange(c),e.focus(),l.removeAllRanges(),l.addRange(c)}else I(e,t)}function _(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(e){return!1}}function H(){if(_(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}function L(e){if(Object(c.includes)(["INPUT","TEXTAREA"],e.nodeName))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;var t=window.getSelection(),n=t.rangeCount?t.getRangeAt(0):null;if(!n)return!0;var r=n.startContainer,o=n.endContainer,i=n.startOffset,a=n.endOffset;if(r===e&&o===e&&0===i&&a===e.childNodes.length)return!0;var u=e.lastChild,l=u.nodeType===y?u.data.length:u.childNodes.length;return r===e.firstChild&&o===e.lastChild&&0===i&&a===l}function B(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return B(e.parentNode)}}function D(e){for(var t;(t=e.parentNode)&&t.nodeType!==T;);return t?"static"!==N(t).position?t:t.offsetParent:null}function U(e,t){z(t,e.parentNode),F(e)}function F(e){e.parentNode.removeChild(e)}function z(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function X(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function V(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function W(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}function Y(e){return(new C).parseFromString(e,"text/html").body.textContent||""}function q(e){var t=document.implementation.createHTMLDocument("").body;t.innerHTML=e;for(var n=t.getElementsByTagName("*"),r=n.length;r--;){var o=n[r];if("SCRIPT"===o.tagName)F(o);else for(var i=o.attributes.length;i--;){var a=o.attributes[i].name;a.startsWith("on")&&o.removeAttribute(a)}}return t.innerHTML}var G={focusable:r,tabbable:o}},YLtl:function(e,t){!function(){e.exports=this.lodash}()}});
Save Changes
Rename File
Rename