@preline/tooltip
Advanced tools
Comparing version 1.5.0 to 2.0.0
@@ -1,2 +0,2 @@ | ||
/*! For license information please see hs-tooltip.js.LICENSE.txt */ | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,(function(){return(()=>{"use strict";var e={765:(e,t,n)=>{function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}n.d(t,{Z:()=>r});var r=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$collection=[],this.selector=t,this.config=n,this.events={}}var t,n;return t=e,n=[{key:"_fireEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.events.hasOwnProperty(e)&&this.events[e](t)}},{key:"_dispatch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=new CustomEvent(e,{detail:{payload:n},bubbles:!0,cancelable:!0,composed:!1});t.dispatchEvent(o)}},{key:"on",value:function(e,t){this.events[e]=t}},{key:"afterTransition",value:function(e,t){"all 0s ease 0s"!==window.getComputedStyle(e,null).getPropertyValue("transition")?e.addEventListener("transitionend",(function n(){t(),e.removeEventListener("transitionend",n,!0)}),!0):t()}},{key:"getClassProperty",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=(window.getComputedStyle(e).getPropertyValue(t)||n).replace(" ","");return o}}],n&&o(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},714:(e,t,n)=>{function o(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function r(e){return e instanceof o(e).Element||e instanceof Element}function i(e){return e instanceof o(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,{fi:()=>fe});var s=Math.max,f=Math.min,c=Math.round;function u(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,r=1;if(i(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(o=c(n.width)/s||1),a>0&&(r=c(n.height)/a||1)}return{width:n.width/o,height:n.height/r,top:n.top/r,right:n.right/o,bottom:n.bottom/r,left:n.left/o,x:n.left/o,y:n.top/r}}function l(e){var t=o(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function p(e){return e?(e.nodeName||"").toLowerCase():null}function d(e){return((r(e)?e.ownerDocument:e.document)||window.document).documentElement}function h(e){return u(d(e)).left+l(e).scrollLeft}function v(e){return o(e).getComputedStyle(e)}function m(e){var t=v(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function y(e,t,n){void 0===n&&(n=!1);var r,a,s=i(t),f=i(t)&&function(e){var t=e.getBoundingClientRect(),n=c(t.width)/e.offsetWidth||1,o=c(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),v=d(t),y=u(e,f),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(s||!s&&!n)&&(("body"!==p(t)||m(v))&&(g=(r=t)!==o(r)&&i(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:l(r)),i(t)?((b=u(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):v&&(b.x=h(v))),{x:y.left+g.scrollLeft-b.x,y:y.top+g.scrollTop-b.y,width:y.width,height:y.height}}function g(e){var t=u(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function b(e){return"html"===p(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||d(e)}function w(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:i(e)&&m(e)?e:w(b(e))}function x(e,t){var n;void 0===t&&(t=[]);var r=w(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=o(r),s=i?[a].concat(a.visualViewport||[],m(r)?r:[]):r,f=t.concat(s);return i?f:f.concat(x(b(s)))}function O(e){return["table","td","th"].indexOf(p(e))>=0}function E(e){return i(e)&&"fixed"!==v(e).position?e.offsetParent:null}function j(e){for(var t=o(e),n=E(e);n&&O(n)&&"static"===v(n).position;)n=E(n);return n&&("html"===p(n)||"body"===p(n)&&"static"===v(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&i(e)&&"fixed"===v(e).position)return null;for(var n=b(e);i(n)&&["html","body"].indexOf(p(n))<0;){var o=v(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}var P="top",L="bottom",k="right",S="left",D="auto",T=[P,L,k,S],A="start",C="end",_="viewport",M="popper",R=T.reduce((function(e,t){return e.concat([t+"-"+A,t+"-"+C])}),[]),B=[].concat(T,[D]).reduce((function(e,t){return e.concat([t,t+"-"+A,t+"-"+C])}),[]),W=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function q(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var H={placement:"bottom",modifiers:[],strategy:"absolute"};function V(){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 N(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?H:i;return function(e,t,n){void 0===n&&(n=a);var i,s,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},H,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,l={state:f,setOptions:function(n){var i="function"==typeof n?n(f.options):n;p(),f.options=Object.assign({},a,f.options,i),f.scrollParents={reference:r(e)?x(e):e.contextElement?x(e.contextElement):[],popper:x(t)};var s,u,d=function(e){var t=q(e);return W.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(o,f.options.modifiers),u=s.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 f.orderedModifiers=d.filter((function(e){return e.enabled})),f.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:f,name:t,instance:l,options:o});c.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!u){var e=f.elements,t=e.reference,n=e.popper;if(V(t,n)){f.rects={reference:y(t,j(n),"fixed"===f.options.strategy),popper:g(n)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach((function(e){return f.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<f.orderedModifiers.length;o++)if(!0!==f.reset){var r=f.orderedModifiers[o],i=r.fn,a=r.options,s=void 0===a?{}:a,c=r.name;"function"==typeof i&&(f=i({state:f,options:s,name:c,instance:l})||f)}else f.reset=!1,o=-1}}},update:(i=function(){return new Promise((function(e){l.forceUpdate(),e(f)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){p(),u=!0}};if(!V(e,t))return l;function p(){c.forEach((function(e){return e()})),c=[]}return l.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var I={passive:!0};function F(e){return e.split("-")[0]}function U(e){return e.split("-")[1]}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?F(r):null,a=r?U(r):null,s=n.x+n.width/2-o.width/2,f=n.y+n.height/2-o.height/2;switch(i){case P:t={x:s,y:n.y-o.height};break;case L:t={x:s,y:n.y+n.height};break;case k:t={x:n.x+n.width,y:f};break;case S:t={x:n.x-o.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?z(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case A:t[c]=t[c]-(n[u]/2-o[u]/2);break;case C:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,f=e.position,u=e.gpuAcceleration,l=e.adaptive,p=e.roundOffsets,h=e.isFixed,m=s.x,y=void 0===m?0:m,g=s.y,b=void 0===g?0:g,w="function"==typeof p?p({x:y,y:b}):{x:y,y:b};y=w.x,b=w.y;var x=s.hasOwnProperty("x"),O=s.hasOwnProperty("y"),E=S,D=P,T=window;if(l){var A=j(n),_="clientHeight",M="clientWidth";A===o(n)&&"static"!==v(A=d(n)).position&&"absolute"===f&&(_="scrollHeight",M="scrollWidth"),A=A,(i===P||(i===S||i===k)&&a===C)&&(D=L,b-=(h&&T.visualViewport?T.visualViewport.height:A[_])-r.height,b*=u?1:-1),i!==S&&(i!==P&&i!==L||a!==C)||(E=k,y-=(h&&T.visualViewport?T.visualViewport.width:A[M])-r.width,y*=u?1:-1)}var R,B=Object.assign({position:f},l&&Y),W=!0===p?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:c(t*o)/o||0,y:c(n*o)/o||0}}({x:y,y:b}):{x:y,y:b};return y=W.x,b=W.y,u?Object.assign({},B,((R={})[D]=O?"0":"",R[E]=x?"0":"",R.transform=(T.devicePixelRatio||1)<=1?"translate("+y+"px, "+b+"px)":"translate3d("+y+"px, "+b+"px, 0)",R)):Object.assign({},B,((t={})[D]=O?b+"px":"",t[E]=x?y+"px":"",t.transform="",t))}var $={left:"right",right:"left",bottom:"top",top:"bottom"};function G(e){return e.replace(/left|right|bottom|top/g,(function(e){return $[e]}))}var J={start:"end",end:"start"};function K(e){return e.replace(/start|end/g,(function(e){return J[e]}))}function Q(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function te(e,t){return t===_?ee(function(e){var t=o(e),n=d(e),r=t.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,f=0;return r&&(i=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,f=r.offsetTop)),{width:i,height:a,x:s+h(e),y:f}}(e)):r(t)?function(e){var t=u(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):ee(function(e){var t,n=d(e),o=l(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=s(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),f=-o.scrollLeft+h(e),c=-o.scrollTop;return"rtl"===v(r||n).direction&&(f+=s(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:f,y:c}}(d(e)))}function ne(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 re(e,t){void 0===t&&(t={});var n=t,o=n.placement,a=void 0===o?e.placement:o,c=n.boundary,l=void 0===c?"clippingParents":c,h=n.rootBoundary,m=void 0===h?_:h,y=n.elementContext,g=void 0===y?M:y,w=n.altBoundary,O=void 0!==w&&w,E=n.padding,S=void 0===E?0:E,D=ne("number"!=typeof S?S:oe(S,T)),A=g===M?"reference":M,C=e.rects.popper,R=e.elements[O?A:g],B=function(e,t,n){var o="clippingParents"===t?function(e){var t=x(b(e)),n=["absolute","fixed"].indexOf(v(e).position)>=0&&i(e)?j(e):e;return r(n)?t.filter((function(e){return r(e)&&Q(e,n)&&"body"!==p(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),c=a[0],u=a.reduce((function(t,n){var o=te(e,n);return t.top=s(o.top,t.top),t.right=f(o.right,t.right),t.bottom=f(o.bottom,t.bottom),t.left=s(o.left,t.left),t}),te(e,c));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}(r(R)?R:R.contextElement||d(e.elements.popper),l,m),W=u(e.elements.reference),q=X({reference:W,element:C,strategy:"absolute",placement:a}),H=ee(Object.assign({},C,q)),V=g===M?H:W,N={top:B.top-V.top+D.top,bottom:V.bottom-B.bottom+D.bottom,left:B.left-V.left+D.left,right:V.right-B.right+D.right},I=e.modifiersData.offset;if(g===M&&I){var F=I[a];Object.keys(N).forEach((function(e){var t=[k,L].indexOf(e)>=0?1:-1,n=[P,L].indexOf(e)>=0?"y":"x";N[e]+=F[n]*t}))}return N}function ie(e,t,n){return s(e,f(t,n))}function ae(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 se(e){return[P,k,L,S].some((function(t){return e[t]>=0}))}var fe=N({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=void 0===i||i,s=r.resize,f=void 0===s||s,c=o(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,I)})),f&&c.addEventListener("resize",n.update,I),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,I)})),f&&c.removeEventListener("resize",n.update,I)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=X({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,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s,c={placement:F(t.placement),variation:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Z(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Z(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),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]||{},o=t.attributes[e]||{},r=t.elements[e];i(r)&&p(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.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 o=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(o)&&p(o)&&(Object.assign(o.style,a),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=void 0===r?[0,0]:r,a=B.reduce((function(e,n){return e[n]=function(e,t,n){var o=F(e),r=[S,P].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[S,k].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=void 0===r||r,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,u=n.boundary,l=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,y=F(m),g=f||(y!==m&&h?function(e){if(F(e)===D)return[];var t=G(e);return[K(e),t,K(t)]}(m):[G(m)]),b=[m].concat(g).reduce((function(e,n){return e.concat(F(n)===D?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?B:f,u=U(o),l=u?s?R:R.filter((function(e){return U(e)===u})):T,p=l.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=l);var d=p.reduce((function(t,n){return t[n]=re(e,{placement:n,boundary:r,rootBoundary:i,padding:a})[F(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:u,rootBoundary:l,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,E=!0,j=b[0],C=0;C<b.length;C++){var _=b[C],M=F(_),W=U(_)===A,q=[P,L].indexOf(M)>=0,H=q?"width":"height",V=re(t,{placement:_,boundary:u,rootBoundary:l,altBoundary:p,padding:c}),N=q?W?k:S:W?L:P;w[H]>x[H]&&(N=G(N));var I=G(N),z=[];if(i&&z.push(V[M]<=0),s&&z.push(V[N]<=0,V[I]<=0),z.every((function(e){return e}))){j=_,E=!1;break}O.set(_,z)}if(E)for(var X=function(e){var t=b.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"},Y=h?3:1;Y>0&&"break"!==X(Y);Y--);t.placement!==j&&(t.modifiersData[o]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=void 0===r||r,a=n.altAxis,c=void 0!==a&&a,u=n.boundary,l=n.rootBoundary,p=n.altBoundary,d=n.padding,h=n.tether,v=void 0===h||h,m=n.tetherOffset,y=void 0===m?0:m,b=re(t,{boundary:u,rootBoundary:l,padding:d,altBoundary:p}),w=F(t.placement),x=U(t.placement),O=!x,E=z(w),D="x"===E?"y":"x",T=t.modifiersData.popperOffsets,C=t.rects.reference,_=t.rects.popper,M="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,R="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(T){if(i){var q,H="y"===E?P:S,V="y"===E?L:k,N="y"===E?"height":"width",I=T[E],X=I+b[H],Y=I-b[V],Z=v?-_[N]/2:0,$=x===A?C[N]:_[N],G=x===A?-_[N]:-C[N],J=t.elements.arrow,K=v&&J?g(J):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[H],te=Q[V],ne=ie(0,C[N],K[N]),oe=O?C[N]/2-Z-ne-ee-R.mainAxis:$-ne-ee-R.mainAxis,ae=O?-C[N]/2+Z+ne+te+R.mainAxis:G+ne+te+R.mainAxis,se=t.elements.arrow&&j(t.elements.arrow),fe=se?"y"===E?se.clientTop||0:se.clientLeft||0:0,ce=null!=(q=null==B?void 0:B[E])?q:0,ue=I+ae-ce,le=ie(v?f(X,I+oe-ce-fe):X,I,v?s(Y,ue):Y);T[E]=le,W[E]=le-I}if(c){var pe,de="x"===E?P:S,he="x"===E?L:k,ve=T[D],me="y"===D?"height":"width",ye=ve+b[de],ge=ve-b[he],be=-1!==[P,S].indexOf(w),we=null!=(pe=null==B?void 0:B[D])?pe:0,xe=be?ye:ve-C[me]-_[me]-we+R.altAxis,Oe=be?ve+C[me]+_[me]-we-R.altAxis:ge,Ee=v&&be?function(e,t,n){var o=ie(e,t,n);return o>n?n:o}(xe,ve,Oe):ie(v?xe:ye,ve,v?Oe:ge);T[D]=Ee,W[D]=Ee-ve}t.modifiersData[o]=W}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=F(n.placement),f=z(s),c=[S,k].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return ne("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:oe(e,T))}(r.padding,n),l=g(i),p="y"===f?P:S,d="y"===f?L:k,h=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],v=a[f]-n.rects.reference[f],m=j(i),y=m?"y"===f?m.clientHeight||0:m.clientWidth||0:0,b=h/2-v/2,w=u[p],x=y-l[c]-u[d],O=y/2-l[c]/2+b,E=ie(w,O,x),D=f;n.modifiersData[o]=((t={})[D]=E,t.centerOffset=E-O,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&Q(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=re(t,{elementContext:"reference"}),s=re(t,{altBoundary:!0}),f=ae(a,o),c=ae(s,r,i),u=se(f),l=se(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":l})}}]})}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o);var e=n(765),t=n(714);function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var c=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(l,e);var n,o,r,c,u=(r=l,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f(r);if(c){var n=f(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return s(this,e)});function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),u.call(this,".hs-tooltip")}return n=l,(o=[{key:"init",value:function(){var e=this;document.addEventListener("click",(function(t){var n=t.target.closest(e.selector);n&&"focus"===e.getClassProperty(n,"--trigger")&&e._focus(n),n&&"click"===e.getClassProperty(n,"--trigger")&&e._click(n)})),document.addEventListener("mousemove",(function(t){var n=t.target.closest(e.selector);n&&"focus"!==e.getClassProperty(n,"--trigger")&&"click"!==e.getClassProperty(n,"--trigger")&&e._hover(n)}))}},{key:"_hover",value:function(e){var n=this;if(!e.classList.contains("show")){var o=e.querySelector(".hs-tooltip-toggle"),r=e.querySelector(".hs-tooltip-content"),i=this.getClassProperty(e,"--placement");(0,t.fi)(o,r,{placement:i||"top",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,5]}}]}),this.show(e),e.addEventListener("mouseleave",(function t(o){o.relatedTarget.closest(n.selector)&&o.relatedTarget.closest(n.selector)==e||(n.hide(e),e.removeEventListener("mouseleave",t,!0))}),!0)}}},{key:"_focus",value:function(e){var n=this,o=e.querySelector(".hs-tooltip-toggle"),r=e.querySelector(".hs-tooltip-content"),i=this.getClassProperty(e,"--placement"),a=this.getClassProperty(e,"--strategy");(0,t.fi)(o,r,{placement:i||"top",strategy:a||"fixed",modifiers:[{name:"offset",options:{offset:[0,5]}}]}),this.show(e),e.addEventListener("blur",(function t(){n.hide(e),e.removeEventListener("blur",t,!0)}),!0)}},{key:"_click",value:function(e){var n=this;if(!e.classList.contains("show")){var o=e.querySelector(".hs-tooltip-toggle"),r=e.querySelector(".hs-tooltip-content"),i=this.getClassProperty(e,"--placement"),a=this.getClassProperty(e,"--strategy");(0,t.fi)(o,r,{placement:i||"top",strategy:a||"fixed",modifiers:[{name:"offset",options:{offset:[0,5]}}]}),this.show(e);var s=function t(o){setTimeout((function(){n.hide(e),e.removeEventListener("click",t,!0),e.removeEventListener("blur",t,!0)}))};e.addEventListener("blur",s,!0),e.addEventListener("click",s,!0)}}},{key:"show",value:function(e){var t=this;e.querySelector(".hs-tooltip-content").classList.remove("hidden"),setTimeout((function(){e.classList.add("show"),t._fireEvent("show",e),t._dispatch("show.hs.tooltip",e,e)}))}},{key:"hide",value:function(e){var t=e.querySelector(".hs-tooltip-content");e.classList.remove("show"),this._fireEvent("hide",e),this._dispatch("hide.hs.tooltip",e,e),this.afterTransition(t,(function(){e.classList.contains("show")||t.classList.add("hidden")}))}}])&&i(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),l}(e.Z);window.HSTooltip=new c,document.addEventListener("load",window.HSTooltip.init())})(),o})()})); | ||
/*! For license information please see LICENSE */ | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,(()=>(()=>{"use strict";var e={492:(e,t,n)=>{n.r(t),n.d(t,{afterMain:()=>O,afterRead:()=>b,afterWrite:()=>L,applyStyles:()=>I,arrow:()=>Q,auto:()=>s,basePlacements:()=>c,beforeMain:()=>w,beforeRead:()=>g,beforeWrite:()=>E,bottom:()=>r,clippingParents:()=>p,computeStyles:()=>ne,createPopper:()=>_e,createPopperBase:()=>je,createPopperLite:()=>Ie,detectOverflow:()=>ge,end:()=>l,eventListeners:()=>re,flip:()=>ye,hide:()=>xe,left:()=>a,main:()=>x,modifierPhases:()=>P,offset:()=>Oe,placements:()=>v,popper:()=>d,popperGenerator:()=>Ce,popperOffsets:()=>Ee,preventOverflow:()=>Se,read:()=>y,reference:()=>h,right:()=>i,start:()=>f,top:()=>o,variationPlacements:()=>m,viewport:()=>u,write:()=>S});var o="top",r="bottom",i="right",a="left",s="auto",c=[o,r,i,a],f="start",l="end",p="clippingParents",u="viewport",d="popper",h="reference",m=c.reduce((function(e,t){return e.concat([t+"-"+f,t+"-"+l])}),[]),v=[].concat(c,[s]).reduce((function(e,t){return e.concat([t,t+"-"+f,t+"-"+l])}),[]),g="beforeRead",y="read",b="afterRead",w="beforeMain",x="main",O="afterMain",E="beforeWrite",S="write",L="afterWrite",P=[g,y,b,w,x,O,E,S,L];function T(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function C(e){return e instanceof A(e).Element||e instanceof Element}function j(e){return e instanceof A(e).HTMLElement||e instanceof HTMLElement}function _(e){return"undefined"!=typeof ShadowRoot&&(e instanceof A(e).ShadowRoot||e instanceof ShadowRoot)}const I={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]||{},o=t.attributes[e]||{},r=t.elements[e];j(r)&&T(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.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 o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});j(o)&&T(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function M(e){return e.split("-")[0]}var D=Math.max,k=Math.min,B=Math.round;function H(){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 R(){return!/^((?!chrome|android).)*safari/i.test(H())}function W(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&j(e)&&(r=e.offsetWidth>0&&B(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&B(o.height)/e.offsetHeight||1);var a=(C(e)?A(e):window).visualViewport,s=!R()&&n,c=(o.left+(s&&a?a.offsetLeft:0))/r,f=(o.top+(s&&a?a.offsetTop:0))/i,l=o.width/r,p=o.height/i;return{width:l,height:p,top:f,right:c+l,bottom:f+p,left:c,x:c,y:f}}function Y(e){var t=W(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function q(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&_(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function V(e){return A(e).getComputedStyle(e)}function N(e){return["table","td","th"].indexOf(T(e))>=0}function K(e){return((C(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){return"html"===T(e)?e:e.assignedSlot||e.parentNode||(_(e)?e.host:null)||K(e)}function $(e){return j(e)&&"fixed"!==V(e).position?e.offsetParent:null}function F(e){for(var t=A(e),n=$(e);n&&N(n)&&"static"===V(n).position;)n=$(n);return n&&("html"===T(n)||"body"===T(n)&&"static"===V(n).position)?t:n||function(e){var t=/firefox/i.test(H());if(/Trident/i.test(H())&&j(e)&&"fixed"===V(e).position)return null;var n=U(e);for(_(n)&&(n=n.host);j(n)&&["html","body"].indexOf(T(n))<0;){var o=V(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e,t,n){return D(e,k(t,n))}function G(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function J(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const Q={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,s=e.name,f=e.options,l=n.elements.arrow,p=n.modifiersData.popperOffsets,u=M(n.placement),d=z(u),h=[a,i].indexOf(u)>=0?"height":"width";if(l&&p){var m=function(e,t){return G("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:J(e,c))}(f.padding,n),v=Y(l),g="y"===d?o:a,y="y"===d?r:i,b=n.rects.reference[h]+n.rects.reference[d]-p[d]-n.rects.popper[h],w=p[d]-n.rects.reference[d],x=F(l),O=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,S=m[g],L=O-v[h]-m[y],P=O/2-v[h]/2+E,T=X(S,P,L),A=d;n.modifiersData[s]=((t={})[A]=T,t.centerOffset=T-P,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&q(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(e){return e.split("-")[1]}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,s=e.popperRect,c=e.placement,f=e.variation,p=e.offsets,u=e.position,d=e.gpuAcceleration,h=e.adaptive,m=e.roundOffsets,v=e.isFixed,g=p.x,y=void 0===g?0:g,b=p.y,w=void 0===b?0:b,x="function"==typeof m?m({x:y,y:w}):{x:y,y:w};y=x.x,w=x.y;var O=p.hasOwnProperty("x"),E=p.hasOwnProperty("y"),S=a,L=o,P=window;if(h){var T=F(n),C="clientHeight",j="clientWidth";T===A(n)&&"static"!==V(T=K(n)).position&&"absolute"===u&&(C="scrollHeight",j="scrollWidth"),(c===o||(c===a||c===i)&&f===l)&&(L=r,w-=(v&&T===P&&P.visualViewport?P.visualViewport.height:T[C])-s.height,w*=d?1:-1),c!==a&&(c!==o&&c!==r||f!==l)||(S=i,y-=(v&&T===P&&P.visualViewport?P.visualViewport.width:T[j])-s.width,y*=d?1:-1)}var _,I=Object.assign({position:u},h&&ee),M=!0===m?function(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:B(n*r)/r||0,y:B(o*r)/r||0}}({x:y,y:w},A(n)):{x:y,y:w};return y=M.x,w=M.y,d?Object.assign({},I,((_={})[L]=E?"0":"",_[S]=O?"0":"",_.transform=(P.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",_)):Object.assign({},I,((t={})[L]=E?w+"px":"",t[S]=O?y+"px":"",t.transform="",t))}const ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,f={placement:M(t.placement),variation:Z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var oe={passive:!0};const re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,a=o.resize,s=void 0===a||a,c=A(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&f.forEach((function(e){e.addEventListener("scroll",n.update,oe)})),s&&c.addEventListener("resize",n.update,oe),function(){i&&f.forEach((function(e){e.removeEventListener("scroll",n.update,oe)})),s&&c.removeEventListener("resize",n.update,oe)}},data:{}};var ie={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(e){return e.replace(/left|right|bottom|top/g,(function(e){return ie[e]}))}var se={start:"end",end:"start"};function ce(e){return e.replace(/start|end/g,(function(e){return se[e]}))}function fe(e){var t=A(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function le(e){return W(K(e)).left+fe(e).scrollLeft}function pe(e){var t=V(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function ue(e){return["html","body","#document"].indexOf(T(e))>=0?e.ownerDocument.body:j(e)&&pe(e)?e:ue(U(e))}function de(e,t){var n;void 0===t&&(t=[]);var o=ue(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=A(o),a=r?[i].concat(i.visualViewport||[],pe(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(de(U(a)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,n){return t===u?he(function(e,t){var n=A(e),o=K(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,s=0,c=0;if(r){i=r.width,a=r.height;var f=R();(f||!f&&"fixed"===t)&&(s=r.offsetLeft,c=r.offsetTop)}return{width:i,height:a,x:s+le(e),y:c}}(e,n)):C(t)?function(e,t){var n=W(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):he(function(e){var t,n=K(e),o=fe(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=D(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=D(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+le(e),c=-o.scrollTop;return"rtl"===V(r||n).direction&&(s+=D(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(K(e)))}function ve(e){var t,n=e.reference,s=e.element,c=e.placement,p=c?M(c):null,u=c?Z(c):null,d=n.x+n.width/2-s.width/2,h=n.y+n.height/2-s.height/2;switch(p){case o:t={x:d,y:n.y-s.height};break;case r:t={x:d,y:n.y+n.height};break;case i:t={x:n.x+n.width,y:h};break;case a:t={x:n.x-s.width,y:h};break;default:t={x:n.x,y:n.y}}var m=p?z(p):null;if(null!=m){var v="y"===m?"height":"width";switch(u){case f:t[m]=t[m]-(n[v]/2-s[v]/2);break;case l:t[m]=t[m]+(n[v]/2-s[v]/2)}}return t}function ge(e,t){void 0===t&&(t={});var n=t,a=n.placement,s=void 0===a?e.placement:a,f=n.strategy,l=void 0===f?e.strategy:f,m=n.boundary,v=void 0===m?p:m,g=n.rootBoundary,y=void 0===g?u:g,b=n.elementContext,w=void 0===b?d:b,x=n.altBoundary,O=void 0!==x&&x,E=n.padding,S=void 0===E?0:E,L=G("number"!=typeof S?S:J(S,c)),P=w===d?h:d,A=e.rects.popper,_=e.elements[O?P:w],I=function(e,t,n,o){var r="clippingParents"===t?function(e){var t=de(U(e)),n=["absolute","fixed"].indexOf(V(e).position)>=0&&j(e)?F(e):e;return C(n)?t.filter((function(e){return C(e)&&q(e,n)&&"body"!==T(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),a=i[0],s=i.reduce((function(t,n){var r=me(e,n,o);return t.top=D(r.top,t.top),t.right=k(r.right,t.right),t.bottom=k(r.bottom,t.bottom),t.left=D(r.left,t.left),t}),me(e,a,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(C(_)?_:_.contextElement||K(e.elements.popper),v,y,l),M=W(e.elements.reference),B=ve({reference:M,element:A,strategy:"absolute",placement:s}),H=he(Object.assign({},A,B)),R=w===d?H:M,Y={top:I.top-R.top+L.top,bottom:R.bottom-I.bottom+L.bottom,left:I.left-R.left+L.left,right:R.right-I.right+L.right},N=e.modifiersData.offset;if(w===d&&N){var $=N[s];Object.keys(Y).forEach((function(e){var t=[i,r].indexOf(e)>=0?1:-1,n=[o,r].indexOf(e)>=0?"y":"x";Y[e]+=$[n]*t}))}return Y}const ye={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,l=e.name;if(!t.modifiersData[l]._skip){for(var p=n.mainAxis,u=void 0===p||p,d=n.altAxis,h=void 0===d||d,g=n.fallbackPlacements,y=n.padding,b=n.boundary,w=n.rootBoundary,x=n.altBoundary,O=n.flipVariations,E=void 0===O||O,S=n.allowedAutoPlacements,L=t.options.placement,P=M(L),T=g||(P!==L&&E?function(e){if(M(e)===s)return[];var t=ae(e);return[ce(e),t,ce(t)]}(L):[ae(L)]),A=[L].concat(T).reduce((function(e,n){return e.concat(M(n)===s?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,l=void 0===f?v:f,p=Z(o),u=p?s?m:m.filter((function(e){return Z(e)===p})):c,d=u.filter((function(e){return l.indexOf(e)>=0}));0===d.length&&(d=u);var h=d.reduce((function(t,n){return t[n]=ge(e,{placement:n,boundary:r,rootBoundary:i,padding:a})[M(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:b,rootBoundary:w,padding:y,flipVariations:E,allowedAutoPlacements:S}):n)}),[]),C=t.rects.reference,j=t.rects.popper,_=new Map,I=!0,D=A[0],k=0;k<A.length;k++){var B=A[k],H=M(B),R=Z(B)===f,W=[o,r].indexOf(H)>=0,Y=W?"width":"height",q=ge(t,{placement:B,boundary:b,rootBoundary:w,altBoundary:x,padding:y}),V=W?R?i:a:R?r:o;C[Y]>j[Y]&&(V=ae(V));var N=ae(V),K=[];if(u&&K.push(q[H]<=0),h&&K.push(q[V]<=0,q[N]<=0),K.every((function(e){return e}))){D=B,I=!1;break}_.set(B,K)}if(I)for(var U=function(e){var t=A.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},$=E?3:1;$>0&&"break"!==U($);$--);t.placement!==D&&(t.modifiersData[l]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function be(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 we(e){return[o,i,r,a].some((function(t){return e[t]>=0}))}const xe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=ge(t,{elementContext:"reference"}),s=ge(t,{altBoundary:!0}),c=be(a,o),f=be(s,r,i),l=we(c),p=we(f);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:l,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":p})}},Oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,s=n.offset,c=void 0===s?[0,0]:s,f=v.reduce((function(e,n){return e[n]=function(e,t,n){var r=M(e),s=[a,o].indexOf(r)>=0?-1:1,c="function"==typeof n?n(Object.assign({},t,{placement:e})):n,f=c[0],l=c[1];return f=f||0,l=(l||0)*s,[a,i].indexOf(r)>=0?{x:l,y:f}:{x:f,y:l}}(n,t.rects,c),e}),{}),l=f[t.placement],p=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=f}},Ee={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ve({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Se={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,s=e.name,c=n.mainAxis,l=void 0===c||c,p=n.altAxis,u=void 0!==p&&p,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.padding,g=n.tether,y=void 0===g||g,b=n.tetherOffset,w=void 0===b?0:b,x=ge(t,{boundary:d,rootBoundary:h,padding:v,altBoundary:m}),O=M(t.placement),E=Z(t.placement),S=!E,L=z(O),P="x"===L?"y":"x",T=t.modifiersData.popperOffsets,A=t.rects.reference,C=t.rects.popper,j="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,_="number"==typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(T){if(l){var H,R="y"===L?o:a,W="y"===L?r:i,q="y"===L?"height":"width",V=T[L],N=V+x[R],K=V-x[W],U=y?-C[q]/2:0,$=E===f?A[q]:C[q],G=E===f?-C[q]:-A[q],J=t.elements.arrow,Q=y&&J?Y(J):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[R],ne=ee[W],oe=X(0,A[q],Q[q]),re=S?A[q]/2-U-oe-te-_.mainAxis:$-oe-te-_.mainAxis,ie=S?-A[q]/2+U+oe+ne+_.mainAxis:G+oe+ne+_.mainAxis,ae=t.elements.arrow&&F(t.elements.arrow),se=ae?"y"===L?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(H=null==I?void 0:I[L])?H:0,fe=V+ie-ce,le=X(y?k(N,V+re-ce-se):N,V,y?D(K,fe):K);T[L]=le,B[L]=le-V}if(u){var pe,ue="x"===L?o:a,de="x"===L?r:i,he=T[P],me="y"===P?"height":"width",ve=he+x[ue],ye=he-x[de],be=-1!==[o,a].indexOf(O),we=null!=(pe=null==I?void 0:I[P])?pe:0,xe=be?ve:he-A[me]-C[me]-we+_.altAxis,Oe=be?he+A[me]+C[me]-we-_.altAxis:ye,Ee=y&&be?function(e,t,n){var o=X(e,t,n);return o>n?n:o}(xe,he,Oe):X(y?xe:ve,he,y?Oe:ye);T[P]=Ee,B[P]=Ee-he}t.modifiersData[s]=B}},requiresIfExists:["offset"]};function Le(e,t,n){void 0===n&&(n=!1);var o,r,i=j(t),a=j(t)&&function(e){var t=e.getBoundingClientRect(),n=B(t.width)/e.offsetWidth||1,o=B(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),s=K(t),c=W(e,a,n),f={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==T(t)||pe(s))&&(f=(o=t)!==A(o)&&j(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:fe(o)),j(t)?((l=W(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=le(s))),{x:c.left+f.scrollLeft-l.x,y:c.top+f.scrollTop-l.y,width:c.width,height:c.height}}function Pe(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var Te={placement:"bottom",modifiers:[],strategy:"absolute"};function Ae(){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 Ce(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?Te:r;return function(e,t,n){void 0===n&&(n=i);var r,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Te,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],f=!1,l={state:s,setOptions:function(n){var r="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},i,s.options,r),s.scrollParents={reference:C(e)?de(e):e.contextElement?de(e.contextElement):[],popper:de(t)};var a,f,u=function(e){var t=Pe(e);return P.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(o,s.options.modifiers),f=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(f).map((function(e){return f[e]}))));return s.orderedModifiers=u.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:s,name:t,instance:l,options:o});c.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!f){var e=s.elements,t=e.reference,n=e.popper;if(Ae(t,n)){s.rects={reference:Le(t,F(n),"fixed"===s.options.strategy),popper:Y(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 o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var r=s.orderedModifiers[o],i=r.fn,a=r.options,c=void 0===a?{}:a,p=r.name;"function"==typeof i&&(s=i({state:s,options:c,name:p,instance:l})||s)}else s.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){l.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(r())}))}))),a}),destroy:function(){p(),f=!0}};if(!Ae(e,t))return l;function p(){c.forEach((function(e){return e()})),c=[]}return l.setOptions(n).then((function(e){!f&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var je=Ce(),_e=Ce({defaultModifiers:[re,Ee,ne,I,Oe,ye,Se,Q,xe]}),Ie=Ce({defaultModifiers:[re,Ee,ne,I]})},190:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SELECT_ACCESSIBILITY_KEY_SET=t.TABS_ACCESSIBILITY_KEY_SET=t.OVERLAY_ACCESSIBILITY_KEY_SET=t.DROPDOWN_ACCESSIBILITY_KEY_SET=t.POSITIONS=void 0,t.POSITIONS={auto:"auto","auto-start":"auto-start","auto-end":"auto-end",top:"top","top-left":"top-start","top-right":"top-end",bottom:"bottom","bottom-left":"bottom-start","bottom-right":"bottom-end",right:"right","right-start":"right-start","right-end":"right-end",left:"left","left-start":"left-start","left-end":"left-end"},t.DROPDOWN_ACCESSIBILITY_KEY_SET=["Escape","ArrowUp","ArrowDown","Home","End","Enter"],t.OVERLAY_ACCESSIBILITY_KEY_SET=["Escape","Tab"],t.TABS_ACCESSIBILITY_KEY_SET=["ArrowUp","ArrowLeft","ArrowDown","ArrowRight","Home","End"],t.SELECT_ACCESSIBILITY_KEY_SET=["ArrowUp","ArrowLeft","ArrowDown","ArrowRight","Home","End","Escape","Enter","Tab"]},737:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t,n){this.el=e,this.options=t,this.events=n,this.el=e,this.options=t,this.events={}}return e.prototype.isIOS=function(){return!!/iPad|iPhone|iPod/.test(navigator.platform)||navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform)},e.prototype.isIpadOS=function(){return navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform)},e.prototype.createCollection=function(e,t){var n;e.push({id:(null===(n=null==t?void 0:t.el)||void 0===n?void 0:n.id)||e.length+1,element:t})},e.prototype.fireEvent=function(e,t){if(void 0===t&&(t=null),this.events.hasOwnProperty(e))return this.events[e](t)},e.prototype.dispatch=function(e,t,n){void 0===n&&(n=null);var o=new CustomEvent(e,{detail:{payload:n},bubbles:!0,cancelable:!0,composed:!1});t.dispatchEvent(o)},e.prototype.on=function(e,t){this.events[e]=t},e.prototype.afterTransition=function(e,t){var n=function(){t(),e.removeEventListener("transitionend",n,!0)};"all 0s ease 0s"!==window.getComputedStyle(e,null).getPropertyValue("transition")?e.addEventListener("transitionend",n,!0):t()},e.prototype.onTransitionEnd=function(e,t){e.addEventListener("transitionend",(function n(o){o.target===e&&(e.removeEventListener("transitionend",n),t())}))},e.prototype.getClassProperty=function(e,t,n){return void 0===n&&(n=""),(window.getComputedStyle(e).getPropertyValue(t)||n).replace(" ","")},e.prototype.getClassPropertyAlt=function(e,t,n){void 0===n&&(n="");var o="";return e.classList.forEach((function(e){e.includes(t)&&(o=e)})),o.match(/:(.*)]/)?o.match(/:(.*)]/)[1]:n},e.prototype.htmlToElement=function(e){var t=document.createElement("template");return e=e.trim(),t.innerHTML=e,t.content.firstChild},e.prototype.classToClassList=function(e,t,n){void 0===n&&(n=" "),e.split(n).forEach((function(e){return t.classList.add(e)}))},e.prototype.debounce=function(e,t){var n,o=this;return void 0===t&&(t=200),function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];clearTimeout(n),n=setTimeout((function(){e.apply(o,r)}),t)}},e.prototype.checkIfFormElement=function(e){return e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement},e.isEnoughSpace=function(e,t,n,o,r){void 0===n&&(n="auto"),void 0===o&&(o=10),void 0===r&&(r=null);var i=t.getBoundingClientRect(),a=r?r.getBoundingClientRect():null,s=window.innerHeight,c=a?i.top-a.top:i.top,f=(r?a.bottom:s)-i.bottom,l=e.clientHeight+o;return"bottom"===n?f>=l:"top"===n?c>=l:c>=l||f>=l},e.isParentOrElementHidden=function(e){return!!e&&("none"===window.getComputedStyle(e).display||this.isParentOrElementHidden(e.parentElement))},e}();t.default=n,window.HSStaticMethods={afterTransition:function(e,t){var n=function(){t(),e.removeEventListener("transitionend",n,!0)};"all 0s ease 0s"!==window.getComputedStyle(e,null).getPropertyValue("transition")?e.addEventListener("transitionend",n,!0):t()},getClassPropertyAlt:function(e,t,n){void 0===n&&(n="");var o="";return e.classList.forEach((function(e){e.includes(t)&&(o=e)})),o.match(/:(.*)]/)?o.match(/:(.*)]/)[1]:n},getClassProperty:function(e,t,n){return void 0===n&&(n=""),(window.getComputedStyle(e).getPropertyValue(t)||n).replace(" ","")}}},679:function(e,t,n){var o,r=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0});var s=n(737),c=n(190),f=n(492),l=function(e){function t(t,n,o){var r=e.call(this,t,n,o)||this;return r.el&&(r.toggle=r.el.querySelector(".hs-tooltip-toggle")||r.el,r.content=r.el.querySelector(".hs-tooltip-content"),r.eventMode=r.getClassProperty(r.el,"--trigger")||"hover",r.preventPopper=r.getClassProperty(r.el,"--prevent-popper","false"),r.placement=r.getClassProperty(r.el,"--placement"),r.strategy=r.getClassProperty(r.el,"--strategy")),r.el&&r.toggle&&r.content&&r.init(),r}return r(t,e),t.prototype.init=function(){var e=this;this.createCollection(window.$hsTooltipCollection,this),"click"===this.eventMode?this.toggle.addEventListener("click",(function(){return e.click()})):"focus"===this.eventMode?this.toggle.addEventListener("click",(function(){return e.focus()})):"hover"===this.eventMode&&(this.toggle.addEventListener("mouseenter",(function(){return e.enter()})),this.toggle.addEventListener("mouseleave",(function(){return e.leave()}))),"false"===this.preventPopper&&this.buildPopper()},t.prototype.enter=function(){this.show()},t.prototype.leave=function(){this.hide()},t.prototype.click=function(){var e=this;if(this.el.classList.contains("show"))return!1;this.show();var t=function(){setTimeout((function(){e.hide(),e.toggle.removeEventListener("click",t,!0),e.toggle.removeEventListener("blur",t,!0)}))};this.toggle.addEventListener("click",t,!0),this.toggle.addEventListener("blur",t,!0)},t.prototype.focus=function(){var e=this;this.show();var t=function(){e.hide(),e.toggle.removeEventListener("blur",t,!0)};this.toggle.addEventListener("blur",t,!0)},t.prototype.buildPopper=function(){this.popperInstance=(0,f.createPopper)(this.toggle,this.content,{placement:c.POSITIONS[this.placement]||"top",strategy:this.strategy||"fixed",modifiers:[{name:"offset",options:{offset:[0,5]}}]})},t.prototype.show=function(){var e=this;this.content.classList.remove("hidden"),"false"===this.preventPopper&&(this.popperInstance.setOptions((function(e){return i(i({},e),{modifiers:a(a([],e.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})})),this.popperInstance.update()),setTimeout((function(){e.el.classList.add("show"),e.fireEvent("show",e.el),e.dispatch("show.hs.tooltip",e.el,e.el)}))},t.prototype.hide=function(){var e=this;this.el.classList.remove("show"),"false"===this.preventPopper&&this.popperInstance.setOptions((function(e){return i(i({},e),{modifiers:a(a([],e.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})})),this.fireEvent("hide",this.el),this.dispatch("hide.hs.tooltip",this.el,this.el),this.afterTransition(this.content,(function(){if(e.el.classList.contains("show"))return!1;e.content.classList.add("hidden")}))},t.getInstance=function(e,t){void 0===t&&(t=!1);var n=window.$hsTooltipCollection.find((function(t){return t.element.el===("string"==typeof e?document.querySelector(e):e)}));return n?t?n:n.element.el:null},t.show=function(e){var t=window.$hsTooltipCollection.find((function(t){return t.element.el===("string"==typeof e?document.querySelector(e):e)}));if(t)switch(t.element.eventMode){case"click":t.element.click();break;case"focus":t.element.focus();break;default:t.element.enter()}},t.hide=function(e){var t=window.$hsTooltipCollection.find((function(t){return t.element.el===("string"==typeof e?document.querySelector(e):e)}));t&&t.element.hide()},t.on=function(e,t,n){var o=window.$hsTooltipCollection.find((function(e){return e.element.el===("string"==typeof t?document.querySelector(t):t)}));o&&(o.element.events[e]=n)},t}(s.default);window.addEventListener("load",(function(){window.$hsTooltipCollection||(window.$hsTooltipCollection=[]),document.querySelectorAll(".hs-tooltip").forEach((function(e){return new l(e)}))})),e.exports.HSTooltip=l,t.default=l}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}return n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(679)})())); |
{ | ||
"name": "@preline/tooltip", | ||
"version": "1.5.0", | ||
"version": "2.0.0", | ||
"description": "Preline UI is an open-source set of prebuilt UI components based on the utility-first Tailwind CSS framework.", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"repository": "https://github.com/htmlstreamofficial/preline.git", | ||
@@ -18,2 +19,3 @@ "homepage": "https://preline.co/plugins.html", | ||
"javascript", | ||
"typescript", | ||
"tailwind", | ||
@@ -31,3 +33,4 @@ "tailwind components", | ||
"tailwindcss plugin", | ||
"tailwindcss plugins" | ||
"tailwindcss plugins", | ||
"tooltip" | ||
], | ||
@@ -34,0 +37,0 @@ "author": "Htmlstream", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
33985
4
0
100
62
1