2021-05-21 12:14:23 +02:00
|
|
|
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="./node_modules/@wordpress/dom/build-module/index.js")}({"./node_modules/@wordpress/dom/build-module/index.js":function(t,e,n){"use strict";n.r(e),n.d(e,"focus",(function(){return et})),n.d(e,"computeCaretRect",(function(){return C})),n.d(e,"documentHasTextSelection",(function(){return w})),n.d(e,"documentHasUncollapsedSelection",(function(){return S})),n.d(e,"documentHasSelection",(function(){return T})),n.d(e,"getRectangleFromRange",(function(){return N})),n.d(e,"getScrollContainer",(function(){return A})),n.d(e,"getOffsetParent",(function(){return R})),n.d(e,"isEntirelySelected",(function(){return D})),n.d(e,"isHorizontalEdge",(function(){return _})),n.d(e,"isNumberInput",(function(){return O})),n.d(e,"isTextField",(function(){return v})),n.d(e,"isVerticalEdge",(function(){return I})),n.d(e,"placeCaretAtHorizontalEdge",(function(){return V})),n.d(e,"placeCaretAtVerticalEdge",(function(){return F})),n.d(e,"replace",(function(){return U})),n.d(e,"remove",(function(){return z})),n.d(e,"insertAfter",(function(){return B})),n.d(e,"unwrap",(function(){return k})),n.d(e,"replaceTag",(function(){return q})),n.d(e,"wrap",(function(){return X})),n.d(e,"__unstableStripHTML",(function(){return G})),n.d(e,"isEmpty",(function(){return W})),n.d(e,"removeInvalidHTML",(function(){return Z})),n.d(e,"isRTL",(function(){return M})),n.d(e,"getPhrasingContentSchema",(function(){return J})),n.d(e,"isPhrasingContent",(function(){return K})),n.d(e,"isTextContent",(function(){return Q})),n.d(e,"getFilesFromDataTransfer",(function(){return tt}));var r={};n.r(r),n.d(r,"find",(function(){return c}));var o={};n.r(o),n.d(o,"isTabbableIndex",(function(){return l})),n.d(o,"find",(function(){return h})),n.d(o,"findPrevious",(function(){return b})),n.d(o,"findNext",(function(){return g}));const 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(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0}function c(t){const e=t.querySelectorAll(i);return Array.from(e).filter(t=>{if(!u(t)||function(t){return"iframe"===t.nodeName.toLowerCase()&&"-1"===t.getAttribute("tabindex")}(t))return!1;const{nodeName:e}=t;return"AREA"!==e||function(t){const e=t.closest("map[name]");if(!e)return!1;const n=t.ownerDocument.querySelector('img[usemap="#'+e.name+'"]');return!!n&&u(n)}(t)})}var a=n("lodash");function s(t){const e=t.getAttribute("tabindex");return null===e?0:parseInt(e,10)}function l(t){return-1!==s(t)}function d(t,e){return{element:t,index:e}}function f(t){return t.element}function m(t,e){const n=s(t.element),r=s(e.element);return n===r?t.index-e.index:n-r}function p(t){return t.filter(l).map(d).sort(m).map(f).reduce(function(){const t={};return function(e,n){const{nodeName:r,type:o,checked:i,name:u}=n;if("INPUT"!==r||"radio"!==o||!u)return e.concat(n);const c=t.hasOwnProperty(u);if(!(i||!c))return e;if(c){const n=t[u];e=Object(a.without)(e,n)}return t[u]=n,e.concat(n)}}(),[])}function h(t){return p(c(t))}function
|