@ussebastian/kitdigital
Version:
Kit Digital de la Universidad San Sebastián
3 lines (2 loc) • 39.3 kB
JavaScript
System.register([],(function(e){"use strict";return{execute:function(){var t="top",n="bottom",r="right",o="left",i="auto",a=[t,n,r,o],s="start",c="end",u="clippingParents",p="viewport",f="popper",d="reference",l=a.reduce((function(e,t){return e.concat([t+"-"+s,t+"-"+c])}),[]),m=[].concat(a,[i]).reduce((function(e,t){return e.concat([t,t+"-"+s,t+"-"+c])}),[]),v=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function h(e){return e?(e.nodeName||"").toLowerCase():null}function g(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function y(e){return e instanceof g(e).Element||e instanceof Element}function b(e){return e instanceof g(e).HTMLElement||e instanceof HTMLElement}function w(e){return"undefined"!=typeof ShadowRoot&&(e instanceof g(e).ShadowRoot||e instanceof ShadowRoot)}var x={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)&&h(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}),{});b(r)&&h(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function O(e){return e.split("-")[0]}var E=Math.max,A=Math.min,T=Math.round;function D(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function j(){return!/^((?!chrome|android).)*safari/i.test(D())}function L(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&b(e)&&(o=e.offsetWidth>0&&T(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&T(r.height)/e.offsetHeight||1);var a=(y(e)?g(e):window).visualViewport,s=!j()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,p=r.width/o,f=r.height/i;return{width:p,height:f,top:u,right:c+p,bottom:u+f,left:c,x:c,y:u}}function N(e){var t=L(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 k(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&w(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function C(e){return g(e).getComputedStyle(e)}function V(e){return["table","td","th"].indexOf(h(e))>=0}function M(e){return((y(e)?e.ownerDocument:e.document)||window.document).documentElement}function S(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(w(e)?e.host:null)||M(e)}function H(e){return b(e)&&"fixed"!==C(e).position?e.offsetParent:null}function P(e){for(var t=g(e),n=H(e);n&&V(n)&&"static"===C(n).position;)n=H(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===C(n).position)?t:n||function(e){var t=/firefox/i.test(D());if(/Trident/i.test(D())&&b(e)&&"fixed"===C(e).position)return null;var n=S(e);for(w(n)&&(n=n.host);b(n)&&["html","body"].indexOf(h(n))<0;){var r=C(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}function W(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function R(e,t,n){return E(e,A(t,n))}function _(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function B(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var I={name:"arrow",enabled:!0,phase:"main",fn:function(e){var i,s=e.state,c=e.name,u=e.options,p=s.elements.arrow,f=s.modifiersData.popperOffsets,d=O(s.placement),l=W(d),m=[o,r].indexOf(d)>=0?"height":"width";if(p&&f){var v=function(e,t){return _("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:B(e,a))}(u.padding,s),h=N(p),g="y"===l?t:o,y="y"===l?n:r,b=s.rects.reference[m]+s.rects.reference[l]-f[l]-s.rects.popper[m],w=f[l]-s.rects.reference[l],x=P(p),E=x?"y"===l?x.clientHeight||0:x.clientWidth||0:0,A=b/2-w/2,T=v[g],D=E-h[m]-v[y],j=E/2-h[m]/2+A,L=R(T,j,D),k=l;s.modifiersData[c]=((i={})[k]=L,i.centerOffset=L-j,i)}},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)))&&k(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function U(e){return e.split("-")[1]}var q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function F(e){var i,a=e.popper,s=e.popperRect,u=e.placement,p=e.variation,f=e.offsets,d=e.position,l=e.gpuAcceleration,m=e.adaptive,v=e.roundOffsets,h=e.isFixed,y=f.x,b=void 0===y?0:y,w=f.y,x=void 0===w?0:w,O="function"==typeof v?v({x:b,y:x}):{x:b,y:x};b=O.x,x=O.y;var E=f.hasOwnProperty("x"),A=f.hasOwnProperty("y"),D=o,j=t,L=window;if(m){var N=P(a),k="clientHeight",V="clientWidth";if(N===g(a)&&"static"!==C(N=M(a)).position&&"absolute"===d&&(k="scrollHeight",V="scrollWidth"),u===t||(u===o||u===r)&&p===c)j=n,x-=(h&&N===L&&L.visualViewport?L.visualViewport.height:N[k])-s.height,x*=l?1:-1;if(u===o||(u===t||u===n)&&p===c)D=r,b-=(h&&N===L&&L.visualViewport?L.visualViewport.width:N[V])-s.width,b*=l?1:-1}var S,H=Object.assign({position:d},m&&q),W=!0===v?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:T(n*o)/o||0,y:T(r*o)/o||0}}({x:b,y:x},g(a)):{x:b,y:x};return b=W.x,x=W.y,l?Object.assign({},H,((S={})[j]=A?"0":"",S[D]=E?"0":"",S.transform=(L.devicePixelRatio||1)<=1?"translate("+b+"px, "+x+"px)":"translate3d("+b+"px, "+x+"px, 0)",S)):Object.assign({},H,((i={})[j]=A?x+"px":"",i[D]=E?b+"px":"",i.transform="",i))}var z={passive:!0};var $={left:"right",right:"left",bottom:"top",top:"bottom"};function Y(e){return e.replace(/left|right|bottom|top/g,(function(e){return $[e]}))}var X={start:"end",end:"start"};function J(e){return e.replace(/start|end/g,(function(e){return X[e]}))}function G(e){var t=g(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function K(e){return L(M(e)).left+G(e).scrollLeft}function Q(e){var t=C(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Z(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:b(e)&&Q(e)?e:Z(S(e))}function ee(e,t){var n;void 0===t&&(t=[]);var r=Z(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=g(r),a=o?[i].concat(i.visualViewport||[],Q(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ee(S(a)))}function te(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ne(e,t,n){return t===p?te(function(e,t){var n=g(e),r=M(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;var u=j();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s+K(e),y:c}}(e,n)):y(t)?function(e,t){var n=L(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):te(function(e){var t,n=M(e),r=G(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=E(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=E(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+K(e),c=-r.scrollTop;return"rtl"===C(o||n).direction&&(s+=E(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(M(e)))}function re(e,t,n,r){var o="clippingParents"===t?function(e){var t=ee(S(e)),n=["absolute","fixed"].indexOf(C(e).position)>=0&&b(e)?P(e):e;return y(n)?t.filter((function(e){return y(e)&&k(e,n)&&"body"!==h(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=ne(e,n,r);return t.top=E(o.top,t.top),t.right=A(o.right,t.right),t.bottom=A(o.bottom,t.bottom),t.left=E(o.left,t.left),t}),ne(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function oe(e){var i,a=e.reference,u=e.element,p=e.placement,f=p?O(p):null,d=p?U(p):null,l=a.x+a.width/2-u.width/2,m=a.y+a.height/2-u.height/2;switch(f){case t:i={x:l,y:a.y-u.height};break;case n:i={x:l,y:a.y+a.height};break;case r:i={x:a.x+a.width,y:m};break;case o:i={x:a.x-u.width,y:m};break;default:i={x:a.x,y:a.y}}var v=f?W(f):null;if(null!=v){var h="y"===v?"height":"width";switch(d){case s:i[v]=i[v]-(a[h]/2-u[h]/2);break;case c:i[v]=i[v]+(a[h]/2-u[h]/2)}}return i}function ie(e,o){void 0===o&&(o={});var i=o,s=i.placement,c=void 0===s?e.placement:s,l=i.strategy,m=void 0===l?e.strategy:l,v=i.boundary,h=void 0===v?u:v,g=i.rootBoundary,b=void 0===g?p:g,w=i.elementContext,x=void 0===w?f:w,O=i.altBoundary,E=void 0!==O&&O,A=i.padding,T=void 0===A?0:A,D=_("number"!=typeof T?T:B(T,a)),j=x===f?d:f,N=e.rects.popper,k=e.elements[E?j:x],C=re(y(k)?k:k.contextElement||M(e.elements.popper),h,b,m),V=L(e.elements.reference),S=oe({reference:V,element:N,strategy:"absolute",placement:c}),H=te(Object.assign({},N,S)),P=x===f?H:V,W={top:C.top-P.top+D.top,bottom:P.bottom-C.bottom+D.bottom,left:C.left-P.left+D.left,right:P.right-C.right+D.right},R=e.modifiersData.offset;if(x===f&&R){var I=R[c];Object.keys(W).forEach((function(e){var o=[r,n].indexOf(e)>=0?1:-1,i=[t,n].indexOf(e)>=0?"y":"x";W[e]+=I[i]*o}))}return W}function ae(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,c=n.flipVariations,u=n.allowedAutoPlacements,p=void 0===u?m:u,f=U(r),d=f?c?l:l.filter((function(e){return U(e)===f})):a,v=d.filter((function(e){return p.indexOf(e)>=0}));0===v.length&&(v=d);var h=v.reduce((function(t,n){return t[n]=ie(e,{placement:n,boundary:o,rootBoundary:i,padding:s})[O(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}var se={name:"flip",enabled:!0,phase:"main",fn:function(e){var a=e.state,c=e.options,u=e.name;if(!a.modifiersData[u]._skip){for(var p=c.mainAxis,f=void 0===p||p,d=c.altAxis,l=void 0===d||d,m=c.fallbackPlacements,v=c.padding,h=c.boundary,g=c.rootBoundary,y=c.altBoundary,b=c.flipVariations,w=void 0===b||b,x=c.allowedAutoPlacements,E=a.options.placement,A=O(E),T=m||(A===E||!w?[Y(E)]:function(e){if(O(e)===i)return[];var t=Y(e);return[J(e),t,J(t)]}(E)),D=[E].concat(T).reduce((function(e,t){return e.concat(O(t)===i?ae(a,{placement:t,boundary:h,rootBoundary:g,padding:v,flipVariations:w,allowedAutoPlacements:x}):t)}),[]),j=a.rects.reference,L=a.rects.popper,N=new Map,k=!0,C=D[0],V=0;V<D.length;V++){var M=D[V],S=O(M),H=U(M)===s,P=[t,n].indexOf(S)>=0,W=P?"width":"height",R=ie(a,{placement:M,boundary:h,rootBoundary:g,altBoundary:y,padding:v}),_=P?H?r:o:H?n:t;j[W]>L[W]&&(_=Y(_));var B=Y(_),I=[];if(f&&I.push(R[S]<=0),l&&I.push(R[_]<=0,R[B]<=0),I.every((function(e){return e}))){C=M,k=!1;break}N.set(M,I)}if(k)for(var q=function(e){var t=D.find((function(t){var n=N.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},F=w?3:1;F>0;F--){if("break"===q(F))break}a.placement!==C&&(a.modifiersData[u]._skip=!0,a.placement=C,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ce(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ue(e){return[t,r,n,o].some((function(t){return e[t]>=0}))}var pe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var n=e.state,i=e.options,a=e.name,s=i.offset,c=void 0===s?[0,0]:s,u=m.reduce((function(e,i){return e[i]=function(e,n,i){var a=O(e),s=[o,t].indexOf(a)>=0?-1:1,c="function"==typeof i?i(Object.assign({},n,{placement:e})):i,u=c[0],p=c[1];return u=u||0,p=(p||0)*s,[o,r].indexOf(a)>=0?{x:p,y:u}:{x:u,y:p}}(i,n.rects,c),e}),{}),p=u[n.placement],f=p.x,d=p.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=f,n.modifiersData.popperOffsets.y+=d),n.modifiersData[a]=u}};var fe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var i=e.state,a=e.options,c=e.name,u=a.mainAxis,p=void 0===u||u,f=a.altAxis,d=void 0!==f&&f,l=a.boundary,m=a.rootBoundary,v=a.altBoundary,h=a.padding,g=a.tether,y=void 0===g||g,b=a.tetherOffset,w=void 0===b?0:b,x=ie(i,{boundary:l,rootBoundary:m,padding:h,altBoundary:v}),T=O(i.placement),D=U(i.placement),j=!D,L=W(T),k="x"===L?"y":"x",C=i.modifiersData.popperOffsets,V=i.rects.reference,M=i.rects.popper,S="function"==typeof w?w(Object.assign({},i.rects,{placement:i.placement})):w,H="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),_=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,B={x:0,y:0};if(C){if(p){var I,q="y"===L?t:o,F="y"===L?n:r,z="y"===L?"height":"width",$=C[L],Y=$+x[q],X=$-x[F],J=y?-M[z]/2:0,G=D===s?V[z]:M[z],K=D===s?-M[z]:-V[z],Q=i.elements.arrow,Z=y&&Q?N(Q):{width:0,height:0},ee=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[q],ne=ee[F],re=R(0,V[z],Z[z]),oe=j?V[z]/2-J-re-te-H.mainAxis:G-re-te-H.mainAxis,ae=j?-V[z]/2+J+re+ne+H.mainAxis:K+re+ne+H.mainAxis,se=i.elements.arrow&&P(i.elements.arrow),ce=se?"y"===L?se.clientTop||0:se.clientLeft||0:0,ue=null!=(I=null==_?void 0:_[L])?I:0,pe=$+ae-ue,fe=R(y?A(Y,$+oe-ue-ce):Y,$,y?E(X,pe):X);C[L]=fe,B[L]=fe-$}if(d){var de,le="x"===L?t:o,me="x"===L?n:r,ve=C[k],he="y"===k?"height":"width",ge=ve+x[le],ye=ve-x[me],be=-1!==[t,o].indexOf(T),we=null!=(de=null==_?void 0:_[k])?de:0,xe=be?ge:ve-V[he]-M[he]-we+H.altAxis,Oe=be?ve+V[he]+M[he]-we-H.altAxis:ye,Ee=y&&be?function(e,t,n){var r=R(e,t,n);return r>n?n:r}(xe,ve,Oe):R(y?xe:ge,ve,y?Oe:ye);C[k]=Ee,B[k]=Ee-ve}i.modifiersData[c]=B}},requiresIfExists:["offset"]};function de(e,t,n){void 0===n&&(n=!1);var r,o,i=b(t),a=b(t)&&function(e){var t=e.getBoundingClientRect(),n=T(t.width)/e.offsetWidth||1,r=T(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=M(t),c=L(e,a,n),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==h(t)||Q(s))&&(u=(r=t)!==g(r)&&b(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:G(r)),b(t)?((p=L(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=K(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function le(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}var me={placement:"bottom",modifiers:[],strategy:"absolute"};function ve(){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 he(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?me:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},me,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:y(e)?ee(e):e.contextElement?ee(e.contextElement):[],popper:ee(t)};var a,u,d=function(e){var t=le(e);return v.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,s.options.modifiers),u=a.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 s.orderedModifiers=d.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:p,options:r}),a=function(){};c.push(i||a)}})),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(ve(t,n)){s.rects={reference:de(t,P(n),"fixed"===s.options.strategy),popper:N(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,c=void 0===a?{}:a,f=o.name;"function"==typeof i&&(s=i({state:s,options:c,name:f,instance:p})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){p.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){f(),u=!0}};if(!ve(e,t))return p;function f(){c.forEach((function(e){return e()})),c=[]}return p.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),p}}var ge=he({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,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=g(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,z)})),s&&c.addEventListener("resize",n.update,z),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,z)})),s&&c.removeEventListener("resize",n.update,z)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=oe({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,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,u={placement:O(t.placement),variation:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,F(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,F(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},x,pe,se,fe,I,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ie(t,{elementContext:"reference"}),s=ie(t,{altBoundary:!0}),c=ce(a,r),u=ce(s,o,i),p=ue(c),f=ue(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),ye="tippy-content",be="tippy-backdrop",we="tippy-arrow",xe="tippy-svg-arrow",Oe={passive:!0,capture:!0},Ee=function(){return document.body};function Ae(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Te(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function De(e,t){return"function"==typeof e?e.apply(void 0,t):e}function je(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Le(e){return[].concat(e)}function Ne(e,t){-1===e.indexOf(t)&&e.push(t)}function ke(e){return[].slice.call(e)}function Ce(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ve(){return document.createElement("div")}function Me(e){return["Element","Fragment"].some((function(t){return Te(e,t)}))}function Se(e){return Me(e)?[e]:function(e){return Te(e,"NodeList")}(e)?ke(e):Array.isArray(e)?e:ke(document.querySelectorAll(e))}function He(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Pe(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function We(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Re(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var _e={isTouch:!1},Be=0;function Ie(){_e.isTouch||(_e.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ue))}function Ue(){var e=performance.now();e-Be<20&&(_e.isTouch=!1,document.removeEventListener("mousemove",Ue)),Be=e}function qe(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var Fe,ze=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function $e(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Ye(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Xe(e){return Ye("\n %ctippy.js\n\n %c"+Ye(e)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function Je(e){return[Xe(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function Ge(e,t){var n;e&&!Fe.has(t)&&(Fe.add(t),(n=console).warn.apply(n,Je(t)))}function Ke(e,t){var n;e&&!Fe.has(t)&&(Fe.add(t),(n=console).error.apply(n,Je(t)))}"production"!==process.env.NODE_ENV&&(Fe=new Set);var Qe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ze=Object.assign({appendTo:Ee,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Qe,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),et=Object.keys(Ze);function tt(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Ze[o])?r:i);return t}),{});return Object.assign({},e,t)}function nt(e,t){var n=Object.assign({},t,{content:De(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(tt(Object.assign({},Ze,{plugins:t}))):et).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Ze.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function rt(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach((function(e){var n,r,o=function(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}(Ze,Object.keys(Qe)),i=(n=o,r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter((function(t){return t.name===e})).length),Ge(i,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))}))}var ot=function(){return"innerHTML"};function it(e,t){e[ot()]=t}function at(e){var t=Ve();return!0===e?t.className=we:(t.className=xe,Me(e)?t.appendChild(e):it(t,e)),t}function st(e,t){Me(t.content)?(it(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?it(e,t.content):e.textContent=t.content)}function ct(e){var t=e.firstElementChild,n=ke(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(ye)})),arrow:n.find((function(e){return e.classList.contains(we)||e.classList.contains(xe)})),backdrop:n.find((function(e){return e.classList.contains(be)}))}}function ut(e){var t=Ve(),n=Ve();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Ve();function o(n,r){var o=ct(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||st(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(at(r.arrow))):i.appendChild(at(r.arrow)):s&&i.removeChild(s)}return r.className=ye,r.setAttribute("data-state","hidden"),st(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}ut.$$tippy=!0;var pt=1,ft=[],dt=[];function lt(e,t){var n,r,o,i,a,s,c,u,p=nt(e,Object.assign({},Ze,tt(Ce(t)))),f=!1,d=!1,l=!1,m=!1,v=[],h=je(Y,p.interactiveDebounce),g=pt++,y=(u=p.plugins).filter((function(e,t){return u.indexOf(e)===t})),b={id:g,reference:e,popper:Ve(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("setProps"));if(b.state.isDestroyed)return;M("onBeforeUpdate",[b,t]),z();var n=b.props,r=nt(e,Object.assign({},n,Ce(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(P(),h=je(Y,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Le(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");H(),V(),O&&O(n,r);b.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));M("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=_e.isTouch&&!b.props.touch,o=Ae(b.props.duration,0,Ze.duration);if(e||t||n||r)return;if(L().hasAttribute("disabled"))return;if(M("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,j()&&(x.style.visibility="visible");V(),B(),b.state.isMounted||(x.style.transition="none");if(j()){var i=k();He([i.box,i.content],0)}s=function(){var e;if(b.state.isVisible&&!m){if(m=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,j()&&b.props.animation){var t=k(),n=t.box,r=t.content;He([n,r],o),Pe([n,r],"visible")}S(),H(),Ne(dt,b),null==(e=b.popperInstance)||e.forceUpdate(),M("onMount",[b]),b.props.animation&&j()&&function(e,t){U(e,t)}(o,(function(){b.state.isShown=!0,M("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=L();e=b.props.interactive&&t===Ee||"parent"===t?n.parentNode:De(t,[n]);e.contains(x)||e.appendChild(x);b.state.isMounted=!0,K(),"production"!==process.env.NODE_ENV&&Ge(b.props.interactive&&t===Ze.appendTo&&n.nextElementSibling!==x,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Ae(b.props.duration,1,Ze.duration);if(e||t||n)return;if(M("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,m=!1,f=!1,j()&&(x.style.visibility="hidden");if(P(),I(),V(!0),j()){var o=k(),i=o.box,a=o.content;b.props.animation&&(He([i,a],r),Pe([i,a],"hidden"))}S(),H(),b.props.animation?j()&&function(e,t){U(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("hideWithInteractivity"));N().addEventListener("mousemove",h),Ne(ft,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);dt=dt.filter((function(e){return e!==b})),b.state.isMounted=!1,M("onHidden",[b])},destroy:function(){"production"!==process.env.NODE_ENV&&Ge(b.state.isDestroyed,$e("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,M("onDestroy",[b])}};if(!p.render)return"production"!==process.env.NODE_ENV&&Ke(!0,"render() function has not been supplied."),b;var w=p.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=y.map((function(e){return e.fn(b)})),A=e.hasAttribute("aria-expanded");return F(),H(),V(),M("onCreate",[b]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",h)})),b;function T(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function D(){return"hold"===T()[0]}function j(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function L(){return c||e}function N(){var e,t,n=L().parentNode;return n?null!=(t=Le(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function k(){return ct(x)}function C(e){return b.state.isMounted&&!b.state.isVisible||_e.isTouch||i&&"focus"===i.type?0:Ae(b.props.delay,e?0:1,Ze.delay)}function V(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function M(e,t,n){var r;(void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=b.props)[e].apply(r,t)}function S(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Le(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function H(){!A&&b.props.aria.expanded&&Le(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===L()?"true":"false"):e.removeAttribute("aria-expanded")}))}function P(){N().removeEventListener("mousemove",h),ft=ft.filter((function(e){return e!==h}))}function W(t){if(!_e.isTouch||!l&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Re(x,n)){if(Le(b.props.triggerTarget||e).some((function(e){return Re(e,n)}))){if(_e.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout((function(){d=!1})),b.state.isMounted||I())}}}function R(){l=!0}function _(){l=!1}function B(){var e=N();e.addEventListener("mousedown",W,!0),e.addEventListener("touchend",W,Oe),e.addEventListener("touchstart",_,Oe),e.addEventListener("touchmove",R,Oe)}function I(){var e=N();e.removeEventListener("mousedown",W,!0),e.removeEventListener("touchend",W,Oe),e.removeEventListener("touchstart",_,Oe),e.removeEventListener("touchmove",R,Oe)}function U(e,t){var n=k().box;function r(e){e.target===n&&(We(n,"remove",r),t())}if(0===e)return t();We(n,"remove",a),We(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Le(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),v.push({node:e,eventType:t,handler:n,options:r})}))}function F(){var e;D()&&(q("touchstart",$,{passive:!0}),q("touchend",X,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,$),e){case"mouseenter":q("mouseleave",X);break;case"focus":q(ze?"focusout":"blur",J);break;case"focusin":q("focusout",J)}}))}function z(){v.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),v=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!G(e)&&!d){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,H(),!b.state.isVisible&&Te(e,"MouseEvent")&&ft.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function Y(e){var t=e.target,n=L().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,f="left"===a?s.right.x:0,d=t.top-r+c>i,l=r-t.bottom-u>i,m=t.left-n+p>i,v=n-t.right-f>i;return d||l||m||v}))})(r,e)&&(P(),te(e))}}function X(e){G(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==L()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!_e.isTouch&&D()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=j()?ct(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||L()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(j()){var n=k().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},f=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},p];j()&&c&&f.push({name:"arrow",options:{element:c,padding:3}}),f.push.apply(f,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ge(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:f}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return ke(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&M("onTrigger",[b,e]),B();var t=C(!0),r=T(),o=r[0],i=r[1];_e.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),M("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=C(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):o=requestAnimationFrame((function(){b.hide()}))}}else I()}}function mt(e,t){void 0===t&&(t={});var n=Ze.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Ke(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Ke(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),rt(t,n)),document.addEventListener("touchstart",Ie,Oe),window.addEventListener("blur",qe);var r=Object.assign({},t,{plugins:n}),o=Se(e);if("production"!==process.env.NODE_ENV){var i=Me(r.content),a=o.length>1;Ge(i&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "))}var s=o.reduce((function(e,t){var n=t&<(t,r);return n&&e.push(n),e}),[]);return Me(e)?s[0]:s}mt.defaultProps=Ze,mt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&rt(e,[]),Object.keys(e).forEach((function(t){Ze[t]=e[t]}))},mt.currentInput=_e,Object.assign({},x,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),mt.setDefaultProps({render:ut});e("default",class{constructor(e){this.rootNode=e;const t=e=>this.rootNode.getAttribute(e);this.target=t("data-uss-content-target"),this.placement=t("data-uss-placement");const n=t("data-uss-delay");this.delay=n?n.split(",").map((e=>Number(e))):[0,0];const r=t("data-uss-duration");this.duration=r?r.split(",").map((e=>Number(e))):[0,0],this.inlineContent=t("data-uss-content"),this.targetContent=this.target?document.querySelector(`[data-uss-tooltip-content-id="${this.target}"]`).innerHTML:null,this.tooltipContent=this.inlineContent||this.targetContent}init(){if(!this.tooltipContent)return;const e=document.createElement("div");e.classList.add("uss-tooltip__content"),e.innerHTML=this.tooltipContent,mt(this.rootNode,{content:e,allowHTML:!0,arrow:!1,delay:this.delay,duration:this.duration,placement:this.placement||"top",trigger:"mouseenter click"})}})}}}));
//# sourceMappingURL=ComponentTooltip.js.map