wp-rdnyc/dist/main.min.js

2 lines
43 KiB
JavaScript
Raw Normal View History

/*! For license information please see main.min.js.LICENSE.txt */
2021-08-04 07:46:55 -04:00
!function(){var e={750:function(e,t,n){"use strict";n.r(t),n.d(t,{afterMain:function(){return E},afterRead:function(){return b},afterWrite:function(){return A},applyStyles:function(){return M},arrow:function(){return G},auto:function(){return a},basePlacements:function(){return c},beforeMain:function(){return w},beforeRead:function(){return y},beforeWrite:function(){return O},bottom:function(){return o},clippingParents:function(){return f},computeStyles:function(){return ee},createPopper:function(){return Ce},createPopperBase:function(){return Te},createPopperLite:function(){return ke},detectOverflow:function(){return me},end:function(){return l},eventListeners:function(){return ne},flip:function(){return ye},hide:function(){return we},left:function(){return s},main:function(){return _},modifierPhases:function(){return j},offset:function(){return _e},placements:function(){return m},popper:function(){return p},popperGenerator:function(){return De},popperOffsets:function(){return Ee},preventOverflow:function(){return Oe},read:function(){return v},reference:function(){return h},right:function(){return i},start:function(){return u},top:function(){return r},variationPlacements:function(){return g},viewport:function(){return d},write:function(){return x}});var r="top",o="bottom",i="right",s="left",a="auto",c=[r,o,i,s],u="start",l="end",f="clippingParents",d="viewport",p="popper",h="reference",g=c.reduce((function(e,t){return e.concat([t+"-"+u,t+"-"+l])}),[]),m=[].concat(c,[a]).reduce((function(e,t){return e.concat([t,t+"-"+u,t+"-"+l])}),[]),y="beforeRead",v="read",b="afterRead",w="beforeMain",_="main",E="afterMain",O="beforeWrite",x="write",A="afterWrite",j=[y,v,b,w,_,E,O,x,A];function L(e){return e?(e.nodeName||"").toLowerCase():null}function D(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function T(e){return e instanceof D(e).Element||e instanceof Element}function C(e){return e instanceof D(e).HTMLElement||e instanceof HTMLElement}function k(e){return"undefined"!=typeof ShadowRoot&&(e instanceof D(e).ShadowRoot||e instanceof ShadowRoot)}var M={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];C(o)&&L(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});C(r)&&L(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function P(e){return e.split("-")[0]}var S=Math.round;function N(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;return C(e)&&t&&(r=n.width/e.offsetWidth||1,o=n.height/e.offsetHeight||1),{width:S(n.width/r),height:S(n.height/o),top:S(n.top/o),right:S(n.right/r),bottom:S(n.bottom/o),left:S(n.left/r),x:S(n.left/r),y:S(n.top/o)}}function I(e){var t=N(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function $(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&k(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function q(e){return D(e).getComputedStyle(e)}function B(e){return["table","td","th"].indexOf(L(e))>=0}function H(e){return((T(e)?e.ownerDocument:e.document)||window.document).documentElement}function W(e){return"html"===L(e)?e:e.assignedSlot||e.parentNode||(k(e)?e.host:null)||H(e)}function R(e