2020-07-21 08:14:37 -04:00
|
|
|
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=463)}({2:function(e,t){!function(){e.exports=this.lodash}()},463:function(e,t,n){"use strict";n.r(t),n.d(t,"focus",(function(){return J})),n.d(t,"isHorizontalEdge",(function(){return T})),n.d(t,"isVerticalEdge",(function(){return x})),n.d(t,"getRectangleFromRange",(function(){return A})),n.d(t,"computeCaretRect",(function(){return P})),n.d(t,"placeCaretAtHorizontalEdge",(function(){return I})),n.d(t,"placeCaretAtVerticalEdge",(function(){return _})),n.d(t,"isTextField",(function(){return H})),n.d(t,"isNumberInput",(function(){return M})),n.d(t,"documentHasTextSelection",(function(){return U})),n.d(t,"documentHasUncollapsedSelection",(function(){return B})),n.d(t,"documentHasSelection",(function(){return D})),n.d(t,"isEntirelySelected",(function(){return F})),n.d(t,"getScrollContainer",(function(){return z})),n.d(t,"getOffsetParent",(function(){return L})),n.d(t,"replace",(function(){return X})),n.d(t,"remove",(function(){return V})),n.d(t,"insertAfter",(function(){return k})),n.d(t,"unwrap",(function(){return q})),n.d(t,"replaceTag",(function(){return G})),n.d(t,"wrap",(function(){return W})),n.d(t,"__unstableStripHTML",(function(){return Y}));var r={};n.r(r),n.d(r,"find",(function(){return a}));var o={};n.r(o),n.d(o,"isTabbableIndex",(function(){return d})),n.d(o,"find",(function(){return v})),n.d(o,"findPrevious",(function(){return p})),n.d(o,"findNext",(function(){return b}));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 u(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function a(e){var t=e.querySelectorAll(i);return Array.from(t).filter((function(e){return!(!u(e)||function(e){return"iframe"===e.nodeName.toLowerCase()&&"-1"===e.getAttribute("tabindex")}(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&&u(n)}(e))}))}var c=n(2);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 m(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,u=n.name;if("INPUT"!==r||"radio"!==o||!u)return e.concat(n);var a=t.hasOwnProperty(u);if(!i&&a)return e;if(a){var l=t[u];e=Object(c.without)(e,l)}return t[u]=n,e.concat(n)}),[]);var t}function v(e){return m(a(e))}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=a(document.body),n=t.indexOf(e);return t.length=n,Object(c.last)(m(t))}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=a(document.body),n=t.indexOf(e),r=t.slice(n+1).filter((function(t){return!e.contains(t)}));return Object(c.first)(m(r))}var h=window,C=h.DOMParser,N=h.getComputedStyle,E=window.Node
|