WordPress/wp-includes/js/dist/dom.min.js

2 lines
15 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.dom=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=455)}({15:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(24);var o=n(42),i=n(28);function a(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||Object(o.a)(t)||Object(i.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2:function(t,e){t.exports=window.lodash},24:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},28:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(24);function o(t,e){if(t){if("string"==typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},42:function(t,e,n){"use strict";function r(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,"a",(function(){return r}))},455:function(t,e,n){"use strict";n.r(e),n.d(e,"focus",(function(){return it})),n.d(e,"computeCaretRect",(function(){return O})),n.d(e,"documentHasTextSelection",(function(){return N})),n.d(e,"documentHasUncollapsedSelection",(function(){return S})),n.d(e,"documentHasSelection",(function(){return j})),n.d(e,"getRectangleFromRange",(function(){return y})),n.d(e,"getScrollContainer",(function(){return P})),n.d(e,"getOffsetParent",(function(){return T})),n.d(e,"isEntirelySelected",(function(){return R})),n.d(e,"isHorizontalEdge",(function(){return H})),n.d(e,"isNumberInput",(function(){return C})),n.d(e,"isTextField",(function(){return E})),n.d(e,"isVerticalEdge",(function(){return V})),n.d(e,"placeCaretAtHorizontalEdge",(function(){return F})),n.d(e,"placeCaretAtVerticalEdge",(function(){return B})),n.d(e,"replace",(function(){return k})),n.d(e,"remove",(function(){return U})),n.d(e,"insertAfter",(function(){return z})),n.d(e,"unwrap",(function(){return q})),n.d(e,"replaceTag",(function(){return X})),n.d(e,"wrap",(function(){return G})),n.d(e,"__unstableStripHTML",(function(){return W})),n.d(e,"isEmpty",(function(){return Y})),n.d(e,"removeInvalidHTML",(function(){return rt})),n.d(e,"getPhrasingContentSchema",(function(){return tt})),n.d(e,"isPhrasingContent",(function(){return et})),n.d(e,"isTextContent",(function(){return nt})),n.d(e,"getFilesFromDataTransfer",(function(){return ot}));var r={};n.r(r),n.d(r,"find",(function(){return u}));var o={};n.r(o),n.d(o,"isTabbableIndex",(function(){return f})),n.d(o,"find",(function(){return b})),n.d(o,"findPrevious",(function(){return v})),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(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>