Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue3-popper

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-popper - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

dist/popper.min.js

@@ -1,1 +0,1 @@

var Popper=function(e){"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function r(e,t,n,r,o,a,i){try{var c=e[a](i),p=c.value}catch(e){return void n(e)}c.done?t(p):Promise.resolve(p).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function c(e){r(i,o,a,c,p,"next",e)}function p(e){r(i,o,a,c,p,"throw",e)}c(void 0)}))}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}(e,t)||p(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||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.")}()}function p(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t,n){var r,o,a,i,c;function p(){var u=Date.now()-i;u<t&&u>=0?r=setTimeout(p,t-u):(r=null,n||(c=e.apply(a,o),a=o=null))}null==t&&(t=100);var u=function(){a=this,o=arguments,i=Date.now();var u=n&&!r;return r||(r=setTimeout(p,t)),u&&(c=e.apply(a,o),a=o=null),c};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(c=e.apply(a,o),a=o=null,clearTimeout(r),r=null)},u}f.debounce=f;var s=f;function l(t,n){if(window){return function(t,n,r){e.isRef(t)?e.watch(t,(function(e,t){null==t||t.removeEventListener(n,r),null==e||e.addEventListener(n,r)})):e.onMounted((function(){t.addEventListener(n,r)})),e.onBeforeUnmount((function(){var o;null===(o=e.unref(t))||void 0===o||o.removeEventListener(n,r)}))}(window,"pointerdown",(function(r){var o=e.unref(t);o&&(o===r.target||r.composedPath().includes(o)||n(r))}))}}function d(e,t){var n=e.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function v(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function m(e){var t=v(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e instanceof v(e).Element||e instanceof Element}function b(e){return e instanceof v(e).HTMLElement||e instanceof HTMLElement}function y(e){return"undefined"!=typeof ShadowRoot&&(e instanceof v(e).ShadowRoot||e instanceof ShadowRoot)}function g(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function x(e){return d(w(e)).left+m(e).scrollLeft}function O(e){return v(e).getComputedStyle(e)}function k(e){var t=O(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function j(e,t,n){void 0===n&&(n=!1);var r=b(t);b(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1}(t);var o,a,i=w(t),c=d(e),p={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==g(t)||k(i))&&(p=(o=t)!==v(o)&&b(o)?{scrollLeft:(a=o).scrollLeft,scrollTop:a.scrollTop}:m(o)),b(t)?((u=d(t)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=x(i))),{x:c.left+p.scrollLeft-u.x,y:c.top+p.scrollTop-u.y,width:c.width,height:c.height}}function E(e){var t=d(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 D(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(y(e)?e.host:null)||w(e)}function S(e){return["html","body","#document"].indexOf(g(e))>=0?e.ownerDocument.body:b(e)&&k(e)?e:S(D(e))}function P(e,t){var n;void 0===t&&(t=[]);var r=S(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=v(r),i=o?[a].concat(a.visualViewport||[],k(r)?r:[]):r,c=t.concat(i);return o?c:c.concat(P(D(i)))}function B(e){return["table","td","th"].indexOf(g(e))>=0}function A(e){return b(e)&&"fixed"!==O(e).position?e.offsetParent:null}function T(e){for(var t=v(e),n=A(e);n&&B(n)&&"static"===O(n).position;)n=A(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===O(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&b(e)&&"fixed"===O(e).position)return null;for(var n=D(e);b(n)&&["html","body"].indexOf(g(n))<0;){var r=O(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var L="top",M="bottom",R="right",C="left",N="auto",I=[L,M,R,C],W="start",H="end",V="viewport",_="popper",q=I.reduce((function(e,t){return e.concat([t+"-"+W,t+"-"+H])}),[]),z=[].concat(I,[N]).reduce((function(e,t){return e.concat([t,t+"-"+W,t+"-"+H])}),[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function F(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function K(e){return e.split("-")[0]}var Y=Math.max,$=Math.min,X=Math.round;function G(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&y(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function J(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Q(e,t){return t===V?J(function(e){var t=v(e),n=w(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,i=0,c=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,c=r.offsetTop)),{width:o,height:a,x:i+x(e),y:c}}(e)):b(t)?function(e){var t=d(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):J(function(e){var t,n=w(e),r=m(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Y(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Y(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+x(e),p=-r.scrollTop;return"rtl"===O(o||n).direction&&(c+=Y(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:c,y:p}}(w(e)))}function Z(e,t,n){var r="clippingParents"===t?function(e){var t=P(D(e)),n=["absolute","fixed"].indexOf(O(e).position)>=0&&b(e)?T(e):e;return h(n)?t.filter((function(e){return h(e)&&G(e,n)&&"body"!==g(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce((function(t,n){var r=Q(e,n);return t.top=Y(r.top,t.top),t.right=$(r.right,t.right),t.bottom=$(r.bottom,t.bottom),t.left=Y(r.left,t.left),t}),Q(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function ee(e){return e.split("-")[1]}function te(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ne(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?K(o):null,i=o?ee(o):null,c=n.x+n.width/2-r.width/2,p=n.y+n.height/2-r.height/2;switch(a){case L:t={x:c,y:n.y-r.height};break;case M:t={x:c,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:p};break;case C:t={x:n.x-r.width,y:p};break;default:t={x:n.x,y:n.y}}var u=a?te(a):null;if(null!=u){var f="y"===u?"height":"width";switch(i){case W:t[u]=t[u]-(n[f]/2-r[f]/2);break;case H:t[u]=t[u]+(n[f]/2-r[f]/2)}}return t}function re(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function oe(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ae(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,i=void 0===a?"clippingParents":a,c=n.rootBoundary,p=void 0===c?V:c,u=n.elementContext,f=void 0===u?_:u,s=n.altBoundary,l=void 0!==s&&s,v=n.padding,m=void 0===v?0:v,b=re("number"!=typeof m?m:oe(m,I)),y=f===_?"reference":_,g=e.rects.popper,x=e.elements[l?y:f],O=Z(h(x)?x:x.contextElement||w(e.elements.popper),i,p),k=d(e.elements.reference),j=ne({reference:k,element:g,strategy:"absolute",placement:o}),E=J(Object.assign({},g,j)),D=f===_?E:k,S={top:O.top-D.top+b.top,bottom:D.bottom-O.bottom+b.bottom,left:O.left-D.left+b.left,right:D.right-O.right+b.right},P=e.modifiersData.offset;if(f===_&&P){var B=P[o];Object.keys(S).forEach((function(e){var t=[R,M].indexOf(e)>=0?1:-1,n=[L,M].indexOf(e)>=0?"y":"x";S[e]+=B[n]*t}))}return S}var ie={placement:"bottom",modifiers:[],strategy:"absolute"};function ce(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function pe(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?ie:o;return function(e,t,n){void 0===n&&(n=a);var o,i,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},ie,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},p=[],u=!1,f={state:c,setOptions:function(n){var o="function"==typeof n?n(c.options):n;s(),c.options=Object.assign({},a,c.options,o),c.scrollParents={reference:h(e)?P(e):e.contextElement?P(e.contextElement):[],popper:P(t)};var i,u,l=function(e){var t=F(e);return U.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,c.options.modifiers),u=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return c.orderedModifiers=l.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:c,name:t,instance:f,options:r}),i=function(){};p.push(a||i)}})),f.update()},forceUpdate:function(){if(!u){var e=c.elements,t=e.reference,n=e.popper;if(ce(t,n)){c.rects={reference:j(t,T(n),"fixed"===c.options.strategy),popper:E(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var o=c.orderedModifiers[r],a=o.fn,i=o.options,p=void 0===i?{}:i,s=o.name;"function"==typeof a&&(c=a({state:c,options:p,name:s,instance:f})||c)}else c.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(c)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){s(),u=!0}};if(!ce(e,t))return f;function s(){p.forEach((function(e){return e()})),p=[]}return f.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var ue={passive:!0};var fe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,c=e.position,p=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,s=!0===f?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:X(X(t*r)/r)||0,y:X(X(n*r)/r)||0}}(i):"function"==typeof f?f(i):i,l=s.x,d=void 0===l?0:l,m=s.y,h=void 0===m?0:m,b=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),g=C,x=L,k=window;if(u){var j=T(n),E="clientHeight",D="clientWidth";j===v(n)&&"static"!==O(j=w(n)).position&&"absolute"===c&&(E="scrollHeight",D="scrollWidth"),j=j,o!==L&&(o!==C&&o!==R||a!==H)||(x=M,h-=j[E]-r.height,h*=p?1:-1),o!==C&&(o!==L&&o!==M||a!==H)||(g=R,d-=j[D]-r.width,d*=p?1:-1)}var S,P=Object.assign({position:c},u&&fe);return p?Object.assign({},P,((S={})[x]=y?"0":"",S[g]=b?"0":"",S.transform=(k.devicePixelRatio||1)<=1?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",S)):Object.assign({},P,((t={})[x]=y?h+"px":"",t[g]=b?d+"px":"",t.transform="",t))}var le=pe({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,c=void 0===i||i,p=v(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,ue)})),c&&p.addEventListener("resize",n.update,ue),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ue)})),c&&p.removeEventListener("resize",n.update,ue)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ne({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,c=n.roundOffsets,p=void 0===c||c,u={placement:K(t.placement),variation:ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,se(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,se(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{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];b(o)&&g(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]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});b(r)&&g(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]}]});function de(e,t,n){return Y(e,$(t,n))}var ve={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,c=void 0!==i&&i,p=n.boundary,u=n.rootBoundary,f=n.altBoundary,s=n.padding,l=n.tether,d=void 0===l||l,v=n.tetherOffset,m=void 0===v?0:v,h=ae(t,{boundary:p,rootBoundary:u,padding:s,altBoundary:f}),b=K(t.placement),y=ee(t.placement),g=!y,w=te(b),x="x"===w?"y":"x",O=t.modifiersData.popperOffsets,k=t.rects.reference,j=t.rects.popper,D="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S={x:0,y:0};if(O){if(a||c){var P="y"===w?L:C,B="y"===w?M:R,A="y"===w?"height":"width",N=O[w],I=O[w]+h[P],H=O[w]-h[B],V=d?-j[A]/2:0,_=y===W?k[A]:j[A],q=y===W?-j[A]:-k[A],z=t.elements.arrow,U=d&&z?E(z):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=F[P],G=F[B],J=de(0,k[A],U[A]),Q=g?k[A]/2-V-J-X-D:_-J-X-D,Z=g?-k[A]/2+V+J+G+D:q+J+G+D,ne=t.elements.arrow&&T(t.elements.arrow),re=ne?"y"===w?ne.clientTop||0:ne.clientLeft||0:0,oe=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,ie=O[w]+Q-oe-re,ce=O[w]+Z-oe;if(a){var pe=de(d?$(I,ie):I,N,d?Y(H,ce):H);O[w]=pe,S[w]=pe-N}if(c){var ue="x"===w?L:C,fe="x"===w?M:R,se=O[x],le=se+h[ue],ve=se-h[fe],me=de(d?$(le,ie):le,se,d?Y(ve,ce):ve);O[x]=me,S[x]=me-se}}t.modifiersData[r]=S}},requiresIfExists:["offset"]},me={left:"right",right:"left",bottom:"top",top:"bottom"};function he(e){return e.replace(/left|right|bottom|top/g,(function(e){return me[e]}))}var be={start:"end",end:"start"};function ye(e){return e.replace(/start|end/g,(function(e){return be[e]}))}function ge(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,c=n.flipVariations,p=n.allowedAutoPlacements,u=void 0===p?z:p,f=ee(r),s=f?c?q:q.filter((function(e){return ee(e)===f})):I,l=s.filter((function(e){return u.indexOf(e)>=0}));0===l.length&&(l=s);var d=l.reduce((function(t,n){return t[n]=ae(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[K(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var we={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,c=void 0===i||i,p=n.fallbackPlacements,u=n.padding,f=n.boundary,s=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,v=void 0===d||d,m=n.allowedAutoPlacements,h=t.options.placement,b=K(h),y=p||(b===h||!v?[he(h)]:function(e){if(K(e)===N)return[];var t=he(e);return[ye(e),t,ye(t)]}(h)),g=[h].concat(y).reduce((function(e,n){return e.concat(K(n)===N?ge(t,{placement:n,boundary:f,rootBoundary:s,padding:u,flipVariations:v,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,k=!0,j=g[0],E=0;E<g.length;E++){var D=g[E],S=K(D),P=ee(D)===W,B=[L,M].indexOf(S)>=0,A=B?"width":"height",T=ae(t,{placement:D,boundary:f,rootBoundary:s,altBoundary:l,padding:u}),I=B?P?R:C:P?M:L;w[A]>x[A]&&(I=he(I));var H=he(I),V=[];if(a&&V.push(T[S]<=0),c&&V.push(T[I]<=0,T[H]<=0),V.every((function(e){return e}))){j=D,k=!1;break}O.set(D,V)}if(k)for(var _=function(e){var t=g.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},q=v?3:1;q>0;q--){if("break"===_(q))break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};var xe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=z.reduce((function(e,n){return e[n]=function(e,t,n){var r=K(e),o=[C,L].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],c=a[1];return i=i||0,c=(c||0)*o,[C,R].indexOf(r)>=0?{x:c,y:i}:{x:i,y:c}}(n,t.rects,a),e}),{}),c=i[t.placement],p=c.x,u=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}};var Oe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,c=K(n.placement),p=te(c),u=[C,R].indexOf(c)>=0?"height":"width";if(a&&i){var f=function(e,t){return re("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:oe(e,I))}(o.padding,n),s=E(a),l="y"===p?L:C,d="y"===p?M:R,v=n.rects.reference[u]+n.rects.reference[p]-i[p]-n.rects.popper[u],m=i[p]-n.rects.reference[p],h=T(a),b=h?"y"===p?h.clientHeight||0:h.clientWidth||0:0,y=v/2-m/2,g=f[l],w=b-s[u]-f[d],x=b/2-s[u]/2+y,O=de(g,x,w),k=p;n.modifiersData[r]=((t={})[k]=O,t.centerOffset=O-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&G(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},ke=function(e){return parseInt(e,10)};var je={id:"arrow","data-popper-arrow":""};function Ee(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Ee('\n#arrow[data-v-20b7fd4a],\n #arrow[data-v-20b7fd4a]::before {\n transition: background 250ms ease-in-out;\n position: absolute;\n width: calc(10px - var(--popper-theme-border-width, 0px));\n height: calc(10px - var(--popper-theme-border-width, 0px));\n box-sizing: border-box;\n background: var(--popper-theme-background-color);\n}\n#arrow[data-v-20b7fd4a] {\n visibility: hidden;\n}\n#arrow[data-v-20b7fd4a]::before {\n visibility: visible;\n content: "";\n transform: rotate(45deg);\n}\n\n /* Top arrow */\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a] {\n bottom: -5px;\n}\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-bottom: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Bottom arrow */\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a] {\n top: -5px;\n}\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a]::before {\n border-left: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Left arrow */\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a] {\n right: -5px;\n}\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Right arrow */\n.popper[data-popper-placement^="right"] > #arrow[data-v-20b7fd4a] {\n left: -5px;\n}\n');var De={render:function(t,n){return e.openBlock(),e.createElementBlock("div",je)},__scopeId:"data-v-20b7fd4a"},Se=De,Pe=["onKeyup"],Be={props:{placement:{type:String,default:"bottom",validator:function(e){return["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"].includes(e)}},disableClickAway:{type:Boolean,default:!1},offsetSkid:{type:String,default:"0"},offsetDistance:{type:String,default:"12"},hover:{type:Boolean,default:!1},show:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:9999},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0},locked:{type:Boolean,default:!1},content:{type:String,default:null}},emits:["open:popper","close:popper"],setup:function(t,r){var a=r.emit,p=t;e.useCssVars((function(e){return{"83d95fc0":t.zIndex}}));var u=function(e){return new Promise((function(t){return setTimeout(t,e)}))},f=e.useSlots(),d=e.ref(null),v=e.ref(null),m=e.ref(null),h=e.ref(!1);e.onMounted((function(){var e=f.default();if(e&&e.length>1)return console.error("[Popper]: The <Popper> component expects only one child element at its root. You passed ".concat(e.length," child nodes."))}));var b=e.toRefs(p),y=b.arrowPadding,g=b.closeDelay,w=b.content,x=b.disableClickAway,O=b.disabled,k=b.interactive,j=b.locked,E=b.offsetDistance,D=b.offsetSkid,S=b.openDelay,P=b.placement,B=b.show,A=function(t){var r=t.arrowPadding,a=t.emit,p=t.locked,u=t.offsetDistance,f=t.offsetSkid,s=t.placement,l=t.popperNode,d=t.triggerNode,v=e.reactive({isOpen:!1,popperInstance:null}),m=function(e){var t;null===(t=v.popperInstance)||void 0===t||t.setOptions((function(t){return n(n({},t),{},{modifiers:[].concat(c(t.modifiers),[{name:"eventListeners",enabled:e}])})}))};e.watch([function(){return v.isOpen},s],function(){var e=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i(t,1)[0]){e.next=7;break}return e.next=4,h();case 4:m(!0),e.next=8;break;case 7:m(!1);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());var h=function(){var t=o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.nextTick();case 2:v.popperInstance=le(d.value,l.value,{placement:s.value,modifiers:[ve,we,{name:"flip",enabled:!p.value},Oe,{name:"arrow",options:{padding:ke(r.value)}},xe,{name:"offset",options:{offset:[ke(f.value),ke(u.value)]}}]}),v.popperInstance.update();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return e.onBeforeUnmount((function(){var e;null===(e=v.popperInstance)||void 0===e||e.destroy()})),n(n({},e.toRefs(v)),{},{open:function(){v.isOpen||(v.isOpen=!0,a("open:popper"))},close:function(){v.isOpen&&(v.isOpen=!1,a("close:popper"))}})}({arrowPadding:y,emit:a,locked:j,offsetDistance:E,offsetSkid:D,placement:P,popperNode:v,triggerNode:m}),T=A.isOpen,L=A.open,M=A.close,R=function(t,n,r){var o=null,a=e.ref(!1);e.onMounted((function(){(void 0!==t.content||r.value)&&(a.value=!0),(o=new MutationObserver(i)).observe(n.value,{childList:!0,subtree:!0})})),e.onBeforeUnmount((function(){return o.disconnect()})),e.watch(r,(function(e){a.value=!!e}));var i=function(){t.content?a.value=!0:a.value=!1};return{hasContent:a}}(f,v,w),C=R.hasContent,N=e.computed((function(){return null!==B.value})),I=e.computed((function(){return O.value||!C.value})),W=e.computed((function(){return T.value&&!I.value})),H=e.computed((function(){return!x.value&&!N.value})),V=e.computed((function(){return k.value?"border: ".concat(E.value,"px solid transparent; margin: -").concat(E.value,"px;"):null})),_=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!I.value&&!N.value){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,u(S.value);case 4:L();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!N.value){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,u(g.value);case 4:M();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),z=function(){T.value?q():_()};return e.watch([C,O],(function(e){var t=i(e,2),n=t[0],r=t[1];!T.value||n&&!r||M()})),e.watch(T,(function(e){e?h.value=!0:s.debounce((function(){h.value=!1}),200)})),e.watchEffect((function(){N.value&&(B.value?u(S.value).then(L):u(g.value).then(M))})),e.watchEffect((function(){H.value&&l(d,q)})),function(n,r){return e.openBlock(),e.createElementBlock("div",{class:"inline-block",style:e.normalizeStyle(e.unref(V)),onMouseleave:r[2]||(r[2]=function(e){return t.hover&&q()}),ref:function(e,t){t.popperContainerNode=e,d.value=e}},[e.createElementVNode("div",{ref:function(e,t){t.triggerNode=e,m.value=e},onMouseover:r[0]||(r[0]=function(e){return t.hover&&_()}),onClick:z,onFocus:_,onKeyup:e.withKeys(q,["esc"])},[e.renderSlot(n.$slots,"default")],40,Pe),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx((function(){return[e.withDirectives(e.createElementVNode("div",{onClick:r[1]||(r[1]=function(t){return!e.unref(k)&&q()}),class:"popper",ref:function(e,t){t.popperNode=e,v.value=e}},[e.renderSlot(n.$slots,"content",{close:e.unref(M),isOpen:h.value},(function(){return[e.createTextVNode(e.toDisplayString(e.unref(w)),1)]})),t.arrow?(e.openBlock(),e.createBlock(Se,{key:0})):e.createCommentVNode("",!0)],512),[[e.vShow,e.unref(W)]])]})),_:3})],36)}}};Ee("\n.inline-block[data-v-214c8969] {\n display: inline-block;\n}\n.popper[data-v-214c8969] {\n transition: background 250ms ease-in-out;\n background: var(--popper-theme-background-color);\n padding: var(--popper-theme-padding);\n color: var(--popper-theme-text-color);\n border-radius: var(--popper-theme-border-radius);\n border-width: var(--popper-theme-border-width);\n border-style: var(--popper-theme-border-style);\n border-color: var(--popper-theme-border-color);\n box-shadow: var(--popper-theme-box-shadow);\n z-index: var(--83d95fc0);\n}\n.popper[data-v-214c8969]:hover,\n .popper:hover > #arrow[data-v-214c8969]::before {\n background: var(--popper-theme-background-color-hover);\n}\n.inline-block[data-v-214c8969] {\n display: inline-block;\n}\n.fade-enter-active[data-v-214c8969],\n .fade-leave-active[data-v-214c8969] {\n transition: opacity 0.2s ease;\n}\n.fade-enter-from[data-v-214c8969],\n .fade-leave-to[data-v-214c8969] {\n opacity: 0;\n}\n"),Be.__scopeId="data-v-214c8969";var Ae=function(){var e=Be;return e.install=function(t){t.component("Popper",e)},e}(),Te=Object.freeze({__proto__:null,default:Ae});return Object.entries(Te).forEach((function(e){var t=i(e,2),n=t[0],r=t[1];"default"!==n&&(Ae[n]=r)})),Ae}(Vue);
var Popper=function(e){"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function r(e,t,n,r,o,a,i){try{var c=e[a](i),p=c.value}catch(e){return void n(e)}c.done?t(p):Promise.resolve(p).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function c(e){r(i,o,a,c,p,"next",e)}function p(e){r(i,o,a,c,p,"throw",e)}c(void 0)}))}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}(e,t)||p(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||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.")}()}function p(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t,n){var r,o,a,i,c;function p(){var u=Date.now()-i;u<t&&u>=0?r=setTimeout(p,t-u):(r=null,n||(c=e.apply(a,o),a=o=null))}null==t&&(t=100);var u=function(){a=this,o=arguments,i=Date.now();var u=n&&!r;return r||(r=setTimeout(p,t)),u&&(c=e.apply(a,o),a=o=null),c};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(c=e.apply(a,o),a=o=null,clearTimeout(r),r=null)},u}f.debounce=f;var s=f;function l(t,n){if(window){return function(t,n,r){e.isRef(t)?e.watch(t,(function(e,t){null==t||t.removeEventListener(n,r),null==e||e.addEventListener(n,r)})):e.onMounted((function(){t.addEventListener(n,r)})),e.onBeforeUnmount((function(){var o;null===(o=e.unref(t))||void 0===o||o.removeEventListener(n,r)}))}(window,"pointerdown",(function(r){var o=e.unref(t);o&&(o===r.target||r.composedPath().includes(o)||n(r))}))}}function d(e,t){var n=e.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function v(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function m(e){var t=v(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e instanceof v(e).Element||e instanceof Element}function b(e){return e instanceof v(e).HTMLElement||e instanceof HTMLElement}function y(e){return"undefined"!=typeof ShadowRoot&&(e instanceof v(e).ShadowRoot||e instanceof ShadowRoot)}function g(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function x(e){return d(w(e)).left+m(e).scrollLeft}function O(e){return v(e).getComputedStyle(e)}function k(e){var t=O(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function j(e,t,n){void 0===n&&(n=!1);var r=b(t);b(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1}(t);var o,a,i=w(t),c=d(e),p={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==g(t)||k(i))&&(p=(o=t)!==v(o)&&b(o)?{scrollLeft:(a=o).scrollLeft,scrollTop:a.scrollTop}:m(o)),b(t)?((u=d(t)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=x(i))),{x:c.left+p.scrollLeft-u.x,y:c.top+p.scrollTop-u.y,width:c.width,height:c.height}}function E(e){var t=d(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 D(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(y(e)?e.host:null)||w(e)}function S(e){return["html","body","#document"].indexOf(g(e))>=0?e.ownerDocument.body:b(e)&&k(e)?e:S(D(e))}function P(e,t){var n;void 0===t&&(t=[]);var r=S(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=v(r),i=o?[a].concat(a.visualViewport||[],k(r)?r:[]):r,c=t.concat(i);return o?c:c.concat(P(D(i)))}function B(e){return["table","td","th"].indexOf(g(e))>=0}function A(e){return b(e)&&"fixed"!==O(e).position?e.offsetParent:null}function L(e){for(var t=v(e),n=A(e);n&&B(n)&&"static"===O(n).position;)n=A(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===O(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&b(e)&&"fixed"===O(e).position)return null;for(var n=D(e);b(n)&&["html","body"].indexOf(g(n))<0;){var r=O(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var T="top",M="bottom",R="right",C="left",N="auto",I=[T,M,R,C],W="start",H="end",V="viewport",_="popper",q=I.reduce((function(e,t){return e.concat([t+"-"+W,t+"-"+H])}),[]),z=[].concat(I,[N]).reduce((function(e,t){return e.concat([t,t+"-"+W,t+"-"+H])}),[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function F(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function K(e){return e.split("-")[0]}var Y=Math.max,$=Math.min,X=Math.round;function G(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&y(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function J(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Q(e,t){return t===V?J(function(e){var t=v(e),n=w(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,i=0,c=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,c=r.offsetTop)),{width:o,height:a,x:i+x(e),y:c}}(e)):b(t)?function(e){var t=d(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):J(function(e){var t,n=w(e),r=m(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Y(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Y(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+x(e),p=-r.scrollTop;return"rtl"===O(o||n).direction&&(c+=Y(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:c,y:p}}(w(e)))}function Z(e,t,n){var r="clippingParents"===t?function(e){var t=P(D(e)),n=["absolute","fixed"].indexOf(O(e).position)>=0&&b(e)?L(e):e;return h(n)?t.filter((function(e){return h(e)&&G(e,n)&&"body"!==g(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce((function(t,n){var r=Q(e,n);return t.top=Y(r.top,t.top),t.right=$(r.right,t.right),t.bottom=$(r.bottom,t.bottom),t.left=Y(r.left,t.left),t}),Q(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function ee(e){return e.split("-")[1]}function te(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ne(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?K(o):null,i=o?ee(o):null,c=n.x+n.width/2-r.width/2,p=n.y+n.height/2-r.height/2;switch(a){case T:t={x:c,y:n.y-r.height};break;case M:t={x:c,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:p};break;case C:t={x:n.x-r.width,y:p};break;default:t={x:n.x,y:n.y}}var u=a?te(a):null;if(null!=u){var f="y"===u?"height":"width";switch(i){case W:t[u]=t[u]-(n[f]/2-r[f]/2);break;case H:t[u]=t[u]+(n[f]/2-r[f]/2)}}return t}function re(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function oe(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ae(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,i=void 0===a?"clippingParents":a,c=n.rootBoundary,p=void 0===c?V:c,u=n.elementContext,f=void 0===u?_:u,s=n.altBoundary,l=void 0!==s&&s,v=n.padding,m=void 0===v?0:v,b=re("number"!=typeof m?m:oe(m,I)),y=f===_?"reference":_,g=e.rects.popper,x=e.elements[l?y:f],O=Z(h(x)?x:x.contextElement||w(e.elements.popper),i,p),k=d(e.elements.reference),j=ne({reference:k,element:g,strategy:"absolute",placement:o}),E=J(Object.assign({},g,j)),D=f===_?E:k,S={top:O.top-D.top+b.top,bottom:D.bottom-O.bottom+b.bottom,left:O.left-D.left+b.left,right:D.right-O.right+b.right},P=e.modifiersData.offset;if(f===_&&P){var B=P[o];Object.keys(S).forEach((function(e){var t=[R,M].indexOf(e)>=0?1:-1,n=[T,M].indexOf(e)>=0?"y":"x";S[e]+=B[n]*t}))}return S}var ie={placement:"bottom",modifiers:[],strategy:"absolute"};function ce(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function pe(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?ie:o;return function(e,t,n){void 0===n&&(n=a);var o,i,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},ie,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},p=[],u=!1,f={state:c,setOptions:function(n){var o="function"==typeof n?n(c.options):n;s(),c.options=Object.assign({},a,c.options,o),c.scrollParents={reference:h(e)?P(e):e.contextElement?P(e.contextElement):[],popper:P(t)};var i,u,l=function(e){var t=F(e);return U.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,c.options.modifiers),u=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return c.orderedModifiers=l.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:c,name:t,instance:f,options:r}),i=function(){};p.push(a||i)}})),f.update()},forceUpdate:function(){if(!u){var e=c.elements,t=e.reference,n=e.popper;if(ce(t,n)){c.rects={reference:j(t,L(n),"fixed"===c.options.strategy),popper:E(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var o=c.orderedModifiers[r],a=o.fn,i=o.options,p=void 0===i?{}:i,s=o.name;"function"==typeof a&&(c=a({state:c,options:p,name:s,instance:f})||c)}else c.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(c)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){s(),u=!0}};if(!ce(e,t))return f;function s(){p.forEach((function(e){return e()})),p=[]}return f.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var ue={passive:!0};var fe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,c=e.position,p=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,s=!0===f?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:X(X(t*r)/r)||0,y:X(X(n*r)/r)||0}}(i):"function"==typeof f?f(i):i,l=s.x,d=void 0===l?0:l,m=s.y,h=void 0===m?0:m,b=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),g=C,x=T,k=window;if(u){var j=L(n),E="clientHeight",D="clientWidth";j===v(n)&&"static"!==O(j=w(n)).position&&"absolute"===c&&(E="scrollHeight",D="scrollWidth"),j=j,o!==T&&(o!==C&&o!==R||a!==H)||(x=M,h-=j[E]-r.height,h*=p?1:-1),o!==C&&(o!==T&&o!==M||a!==H)||(g=R,d-=j[D]-r.width,d*=p?1:-1)}var S,P=Object.assign({position:c},u&&fe);return p?Object.assign({},P,((S={})[x]=y?"0":"",S[g]=b?"0":"",S.transform=(k.devicePixelRatio||1)<=1?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",S)):Object.assign({},P,((t={})[x]=y?h+"px":"",t[g]=b?d+"px":"",t.transform="",t))}var le=pe({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,c=void 0===i||i,p=v(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,ue)})),c&&p.addEventListener("resize",n.update,ue),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ue)})),c&&p.removeEventListener("resize",n.update,ue)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ne({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,c=n.roundOffsets,p=void 0===c||c,u={placement:K(t.placement),variation:ee(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,se(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,se(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{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];b(o)&&g(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]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});b(r)&&g(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]}]});function de(e,t,n){return Y(e,$(t,n))}var ve={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,c=void 0!==i&&i,p=n.boundary,u=n.rootBoundary,f=n.altBoundary,s=n.padding,l=n.tether,d=void 0===l||l,v=n.tetherOffset,m=void 0===v?0:v,h=ae(t,{boundary:p,rootBoundary:u,padding:s,altBoundary:f}),b=K(t.placement),y=ee(t.placement),g=!y,w=te(b),x="x"===w?"y":"x",O=t.modifiersData.popperOffsets,k=t.rects.reference,j=t.rects.popper,D="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S={x:0,y:0};if(O){if(a||c){var P="y"===w?T:C,B="y"===w?M:R,A="y"===w?"height":"width",N=O[w],I=O[w]+h[P],H=O[w]-h[B],V=d?-j[A]/2:0,_=y===W?k[A]:j[A],q=y===W?-j[A]:-k[A],z=t.elements.arrow,U=d&&z?E(z):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=F[P],G=F[B],J=de(0,k[A],U[A]),Q=g?k[A]/2-V-J-X-D:_-J-X-D,Z=g?-k[A]/2+V+J+G+D:q+J+G+D,ne=t.elements.arrow&&L(t.elements.arrow),re=ne?"y"===w?ne.clientTop||0:ne.clientLeft||0:0,oe=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,ie=O[w]+Q-oe-re,ce=O[w]+Z-oe;if(a){var pe=de(d?$(I,ie):I,N,d?Y(H,ce):H);O[w]=pe,S[w]=pe-N}if(c){var ue="x"===w?T:C,fe="x"===w?M:R,se=O[x],le=se+h[ue],ve=se-h[fe],me=de(d?$(le,ie):le,se,d?Y(ve,ce):ve);O[x]=me,S[x]=me-se}}t.modifiersData[r]=S}},requiresIfExists:["offset"]},me={left:"right",right:"left",bottom:"top",top:"bottom"};function he(e){return e.replace(/left|right|bottom|top/g,(function(e){return me[e]}))}var be={start:"end",end:"start"};function ye(e){return e.replace(/start|end/g,(function(e){return be[e]}))}function ge(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,c=n.flipVariations,p=n.allowedAutoPlacements,u=void 0===p?z:p,f=ee(r),s=f?c?q:q.filter((function(e){return ee(e)===f})):I,l=s.filter((function(e){return u.indexOf(e)>=0}));0===l.length&&(l=s);var d=l.reduce((function(t,n){return t[n]=ae(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[K(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var we={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,c=void 0===i||i,p=n.fallbackPlacements,u=n.padding,f=n.boundary,s=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,v=void 0===d||d,m=n.allowedAutoPlacements,h=t.options.placement,b=K(h),y=p||(b===h||!v?[he(h)]:function(e){if(K(e)===N)return[];var t=he(e);return[ye(e),t,ye(t)]}(h)),g=[h].concat(y).reduce((function(e,n){return e.concat(K(n)===N?ge(t,{placement:n,boundary:f,rootBoundary:s,padding:u,flipVariations:v,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,k=!0,j=g[0],E=0;E<g.length;E++){var D=g[E],S=K(D),P=ee(D)===W,B=[T,M].indexOf(S)>=0,A=B?"width":"height",L=ae(t,{placement:D,boundary:f,rootBoundary:s,altBoundary:l,padding:u}),I=B?P?R:C:P?M:T;w[A]>x[A]&&(I=he(I));var H=he(I),V=[];if(a&&V.push(L[S]<=0),c&&V.push(L[I]<=0,L[H]<=0),V.every((function(e){return e}))){j=D,k=!1;break}O.set(D,V)}if(k)for(var _=function(e){var t=g.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},q=v?3:1;q>0;q--){if("break"===_(q))break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};var xe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=z.reduce((function(e,n){return e[n]=function(e,t,n){var r=K(e),o=[C,T].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],c=a[1];return i=i||0,c=(c||0)*o,[C,R].indexOf(r)>=0?{x:c,y:i}:{x:i,y:c}}(n,t.rects,a),e}),{}),c=i[t.placement],p=c.x,u=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}};var Oe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,c=K(n.placement),p=te(c),u=[C,R].indexOf(c)>=0?"height":"width";if(a&&i){var f=function(e,t){return re("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:oe(e,I))}(o.padding,n),s=E(a),l="y"===p?T:C,d="y"===p?M:R,v=n.rects.reference[u]+n.rects.reference[p]-i[p]-n.rects.popper[u],m=i[p]-n.rects.reference[p],h=L(a),b=h?"y"===p?h.clientHeight||0:h.clientWidth||0:0,y=v/2-m/2,g=f[l],w=b-s[u]-f[d],x=b/2-s[u]/2+y,O=de(g,x,w),k=p;n.modifiersData[r]=((t={})[k]=O,t.centerOffset=O-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&G(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},ke=function(e){return parseInt(e,10)};var je={id:"arrow","data-popper-arrow":""};function Ee(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Ee('\n#arrow[data-v-20b7fd4a],\n #arrow[data-v-20b7fd4a]::before {\n transition: background 250ms ease-in-out;\n position: absolute;\n width: calc(10px - var(--popper-theme-border-width, 0px));\n height: calc(10px - var(--popper-theme-border-width, 0px));\n box-sizing: border-box;\n background: var(--popper-theme-background-color);\n}\n#arrow[data-v-20b7fd4a] {\n visibility: hidden;\n}\n#arrow[data-v-20b7fd4a]::before {\n visibility: visible;\n content: "";\n transform: rotate(45deg);\n}\n\n /* Top arrow */\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a] {\n bottom: -5px;\n}\n.popper[data-popper-placement^="top"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-bottom: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Bottom arrow */\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a] {\n top: -5px;\n}\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-20b7fd4a]::before {\n border-left: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Left arrow */\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a] {\n right: -5px;\n}\n.popper[data-popper-placement^="left"] > #arrow[data-v-20b7fd4a]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Right arrow */\n.popper[data-popper-placement^="right"] > #arrow[data-v-20b7fd4a] {\n left: -5px;\n}\n');var De={render:function(t,n){return e.openBlock(),e.createElementBlock("div",je)},__scopeId:"data-v-20b7fd4a"},Se=De,Pe=["onKeyup"],Be={props:{placement:{type:String,default:"bottom",validator:function(e){return["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"].includes(e)}},disableClickAway:{type:Boolean,default:!1},offsetSkid:{type:String,default:"0"},offsetDistance:{type:String,default:"12"},hover:{type:Boolean,default:!1},show:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:9999},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0},locked:{type:Boolean,default:!1},content:{type:String,default:null}},emits:["open:popper","close:popper"],setup:function(t,r){var a=r.emit,p=t;e.useCssVars((function(e){return{c81fc0a4:t.zIndex}}));var u=e.useSlots(),f=e.ref(null),d=e.ref(null),v=e.ref(null),m=e.ref(!1);e.onMounted((function(){var e=u.default();if(e&&e.length>1)return console.error("[Popper]: The <Popper> component expects only one child element at its root. You passed ".concat(e.length," child nodes."))}));var h=e.toRefs(p),b=h.arrowPadding,y=h.closeDelay,g=h.content,w=h.disableClickAway,x=h.disabled,O=h.interactive,k=h.locked,j=h.offsetDistance,E=h.offsetSkid,D=h.openDelay,S=h.placement,P=h.show,B=function(t){var r=t.arrowPadding,a=t.emit,p=t.locked,u=t.offsetDistance,f=t.offsetSkid,s=t.placement,l=t.popperNode,d=t.triggerNode,v=e.reactive({isOpen:!1,popperInstance:null}),m=function(e){var t;null===(t=v.popperInstance)||void 0===t||t.setOptions((function(t){return n(n({},t),{},{modifiers:[].concat(c(t.modifiers),[{name:"eventListeners",enabled:e}])})}))};e.watch([function(){return v.isOpen},s],function(){var e=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i(t,1)[0]){e.next=7;break}return e.next=4,h();case 4:m(!0),e.next=8;break;case 7:m(!1);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());var h=function(){var t=o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.nextTick();case 2:v.popperInstance=le(d.value,l.value,{placement:s.value,modifiers:[ve,we,{name:"flip",enabled:!p.value},Oe,{name:"arrow",options:{padding:ke(r.value)}},xe,{name:"offset",options:{offset:[ke(f.value),ke(u.value)]}}]}),v.popperInstance.update();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return e.onBeforeUnmount((function(){var e;null===(e=v.popperInstance)||void 0===e||e.destroy()})),n(n({},e.toRefs(v)),{},{open:function(){v.isOpen||(v.isOpen=!0,a("open:popper"))},close:function(){v.isOpen&&(v.isOpen=!1,a("close:popper"))}})}({arrowPadding:b,emit:a,locked:k,offsetDistance:j,offsetSkid:E,placement:S,popperNode:d,triggerNode:v}),A=B.isOpen,L=B.open,T=B.close,M=function(t,n,r){var o=null,a=e.ref(!1);e.onMounted((function(){(void 0!==t.content||r.value)&&(a.value=!0),(o=new MutationObserver(i)).observe(n.value,{childList:!0,subtree:!0})})),e.onBeforeUnmount((function(){return o.disconnect()})),e.watch(r,(function(e){a.value=!!e}));var i=function(){t.content?a.value=!0:a.value=!1};return{hasContent:a}}(u,d,g),R=M.hasContent,C=e.computed((function(){return null!==P.value})),N=e.computed((function(){return x.value||!R.value})),I=e.computed((function(){return A.value&&!N.value})),W=e.computed((function(){return!w.value&&!C.value})),H=e.computed((function(){return O.value?"border: ".concat(j.value,"px solid transparent; margin: -").concat(j.value,"px;"):null})),V=s.debounce(L,D.value),_=s.debounce(T,y.value),q=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!N.value&&!C.value){e.next=2;break}return e.abrupt("return");case 2:_.clear(),V();case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),z=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!C.value){e.next=2;break}return e.abrupt("return");case 2:V.clear(),_();case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),U=function(){A.value?z():q()};return e.watch([R,x],(function(e){var t=i(e,2),n=t[0],r=t[1];!A.value||n&&!r||T()})),e.watch(A,(function(e){e?m.value=!0:s.debounce((function(){m.value=!1}),200)})),e.watchEffect((function(){C.value&&(P.value?V():_())})),e.watchEffect((function(){W.value&&l(f,z)})),function(n,r){return e.openBlock(),e.createElementBlock("div",{class:"inline-block",style:e.normalizeStyle(e.unref(H)),onMouseleave:r[2]||(r[2]=function(e){return t.hover&&z()}),ref:function(e,t){t.popperContainerNode=e,f.value=e}},[e.createElementVNode("div",{ref:function(e,t){t.triggerNode=e,v.value=e},onMouseover:r[0]||(r[0]=function(e){return t.hover&&q()}),onClick:U,onFocus:q,onKeyup:e.withKeys(z,["esc"])},[e.renderSlot(n.$slots,"default")],40,Pe),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx((function(){return[e.withDirectives(e.createElementVNode("div",{onClick:r[1]||(r[1]=function(t){return!e.unref(O)&&z()}),class:"popper",ref:function(e,t){t.popperNode=e,d.value=e}},[e.renderSlot(n.$slots,"content",{close:e.unref(T),isOpen:m.value},(function(){return[e.createTextVNode(e.toDisplayString(e.unref(g)),1)]})),t.arrow?(e.openBlock(),e.createBlock(Se,{key:0})):e.createCommentVNode("",!0)],512),[[e.vShow,e.unref(I)]])]})),_:3})],36)}}};Ee("\n.inline-block[data-v-5784ed69] {\n display: inline-block;\n}\n.popper[data-v-5784ed69] {\n transition: background 250ms ease-in-out;\n background: var(--popper-theme-background-color);\n padding: var(--popper-theme-padding);\n color: var(--popper-theme-text-color);\n border-radius: var(--popper-theme-border-radius);\n border-width: var(--popper-theme-border-width);\n border-style: var(--popper-theme-border-style);\n border-color: var(--popper-theme-border-color);\n box-shadow: var(--popper-theme-box-shadow);\n z-index: var(--c81fc0a4);\n}\n.popper[data-v-5784ed69]:hover,\n .popper:hover > #arrow[data-v-5784ed69]::before {\n background: var(--popper-theme-background-color-hover);\n}\n.inline-block[data-v-5784ed69] {\n display: inline-block;\n}\n.fade-enter-active[data-v-5784ed69],\n .fade-leave-active[data-v-5784ed69] {\n transition: opacity 0.2s ease;\n}\n.fade-enter-from[data-v-5784ed69],\n .fade-leave-to[data-v-5784ed69] {\n opacity: 0;\n}\n"),Be.__scopeId="data-v-5784ed69";var Ae=function(){var e=Be;return e.install=function(t){t.component("Popper",e)},e}(),Le=Object.freeze({__proto__:null,default:Ae});return Object.entries(Le).forEach((function(e){var t=i(e,2),n=t[0],r=t[1];"default"!==n&&(Ae[n]=r)})),Ae}(Vue);
{
"name": "vue3-popper",
"version": "1.4.0",
"version": "1.4.1",
"author": {

@@ -5,0 +5,0 @@ "name": "Valgeir Björnsson",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc