@dialpad/dialtone 9.11.7 → 9.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/dialtone.css +2 -2
- package/dist/tokens/android/java/tokens-dark.kt +1 -1
- package/dist/tokens/android/java/tokens-light.kt +1 -1
- package/dist/tokens/android/res/values/colors-dark.xml +1 -1
- package/dist/tokens/android/res/values/colors-light.xml +1 -1
- package/dist/tokens/android/res/values/dimens.xml +1 -1
- package/dist/tokens/css/variables-dark.css +1 -1
- package/dist/tokens/css/variables-light.css +1 -1
- package/dist/tokens/ios/tokens-dark.swift +1 -1
- package/dist/tokens/ios/tokens-light.swift +1 -1
- package/dist/tokens/less/variables-dark.less +1 -1
- package/dist/tokens/less/variables-light.less +1 -1
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/dialtone-vue.cjs +1 -1
- package/dist/vue2/dialtone-vue.js +7 -7
- package/dist/vue2/directives.cjs +1 -1
- package/dist/vue2/directives.js +1 -1
- package/dist/vue2/emoji.cjs +1 -1
- package/dist/vue2/emoji.js +4 -4
- package/dist/vue2/{emoji_picker-H8MCLDWD.js → emoji_picker-KLEZsQG3.js} +2 -2
- package/dist/vue2/{emoji_picker-Bqtgrc_-.cjs → emoji_picker-vsukB8Wg.cjs} +1 -1
- package/dist/vue2/{emoji_text_wrapper-FIY8SE_T.js → emoji_text_wrapper--dDdt-Nq.js} +2 -2
- package/dist/vue2/{emoji_text_wrapper-L5BvowDe.cjs → emoji_text_wrapper-_FmOgJHA.cjs} +1 -1
- package/dist/vue2/{index-Ay3JqEew.cjs → index-W9PuOJ1N.cjs} +1 -1
- package/dist/vue2/{index-Fb937CbY.js → index-w3NKtwEr.js} +1 -1
- package/dist/vue2/message_input.cjs +1 -1
- package/dist/vue2/message_input.js +4 -4
- package/dist/vue2/{rich_text_editor-C4iSjnMg.js → rich_text_editor-IfF_glhr.js} +2 -2
- package/dist/vue2/{rich_text_editor-CJiLXSVv.cjs → rich_text_editor-l0je0xEP.cjs} +1 -1
- package/dist/vue2/{tooltip-SCB4w509.cjs → tooltip-6msmWvq0.cjs} +5 -5
- package/dist/vue2/{tooltip-ZAaMbL96.js → tooltip-QB-zD49d.js} +31 -50
- package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts +1 -32
- package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/tooltip/tooltip_constants.d.ts +0 -2
- package/dist/vue2/types/components/tooltip/tooltip_constants.d.ts.map +1 -1
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/dialtone-vue.cjs +1 -1
- package/dist/vue3/dialtone-vue.js +7 -7
- package/dist/vue3/directives.cjs +1 -1
- package/dist/vue3/directives.js +1 -1
- package/dist/vue3/{emoji-9trlIcvP.js → emoji-5bJ2I-JN.js} +1 -1
- package/dist/vue3/{emoji-i0_qg0UW.cjs → emoji-Ran5txvJ.cjs} +1 -1
- package/dist/vue3/emoji.cjs +1 -1
- package/dist/vue3/emoji.js +4 -4
- package/dist/vue3/{emoji_picker-LTVMMASh.cjs → emoji_picker-Rd2jqRzm.cjs} +1 -1
- package/dist/vue3/{emoji_picker-Y2qCr8ss.js → emoji_picker-uX_EjNHa.js} +2 -2
- package/dist/vue3/{emoji_text_wrapper-o1rL3f2U.cjs → emoji_text_wrapper-3gf3i4pj.cjs} +1 -1
- package/dist/vue3/{emoji_text_wrapper-BDupkpRi.js → emoji_text_wrapper-eOnmhh72.js} +1 -1
- package/dist/vue3/message_input.cjs +1 -1
- package/dist/vue3/message_input.js +4 -4
- package/dist/vue3/{rich_text_editor-B6o2QYBc.cjs → rich_text_editor-5Fj3bfLC.cjs} +1 -1
- package/dist/vue3/{rich_text_editor-K4i01tLL.js → rich_text_editor-UHm3sveX.js} +2 -2
- package/dist/vue3/{tooltip-qNCn2WEt.cjs → tooltip-8utqWHHH.cjs} +4 -4
- package/dist/vue3/{tooltip-p1QaufTw.js → tooltip-XSz6YAOI.js} +31 -50
- package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts +1 -32
- package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/tooltip/tooltip_constants.d.ts +0 -2
- package/dist/vue3/types/components/tooltip/tooltip_constants.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const x=require("vue"),fe={ERROR:"error",WARNING:"warning",SUCCESS:"success"},nr={LARGE:"lg",EXTRA_LARGE:"xl"},rr={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},ir={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},or={esc:"Esc",escape:"Escape",tab:"Tab",enter:"Enter",space:"Space",spacebar:"Spacebar",up:"Up",arrowup:"ArrowUp",left:"Left",arrowleft:"ArrowLeft",right:"Right",arrowright:"ArrowRight",down:"Down",arrowdown:"ArrowDown",home:"Home",end:"End"},nn=fe.ERROR,ar="dt";let sr=0,_t;const ur=typeof setImmediate=="function"?setImmediate:setTimeout;function Ot(e=ar){return`${e}${sr++}`}function rn(e,t){if(t){const n=cr(t);return e[Math.abs(n)%e.length]}else return e[on(e.length)]}function cr(e){let t;for(let n=0;n<e.length;n++)t=Math.imul(31,t)+e.charCodeAt(n)|0;return t}function on(e){return Math.floor(Math.random()*e)}function an(e){return e?e.map(t=>typeof t=="string"?{message:t,type:nn}:t):[]}function sn(e){const t=Tt(e);return!e||!t?[]:e.filter(n=>!!n.message&&n.type===t)}function Tt(e){return e?at(e,fe.ERROR)?fe.ERROR:at(e,fe.WARNING)?fe.WARNING:at(e,fe.SUCCESS)?fe.SUCCESS:null:null}function at(e,t){return!e||!t?!1:e.some(n=>(n==null?void 0:n.type)===t)}const lr=e=>x.h("div",{innerHTML:e.html}),fr=()=>new Promise(e=>{ur(e)});function un(e,t={}){return e?e(t).some(n=>n.type===x.Comment||Array.isArray(n.children)&&!n.children.length?!1:n.type!==x.Text||typeof n.children=="string"&&n.children.trim()!==""):!1}const pr=e=>e==null?void 0:e.toLowerCase().split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),cn=e=>{const t=Object.entries(e).filter(([n])=>n.startsWith("on"));return Object.fromEntries(t)};function dr(e,t=300){clearTimeout(_t),_t=setTimeout(e,t)}function ln(e){const t=e.getBoundingClientRect(),n={top:t.top<0,left:t.left<0,bottom:t.bottom>(window.innerHeight||document.documentElement.clientHeight),right:t.right>(window.innerWidth||document.documentElement.clientWidth)};return n.any=Object.values(n).some(r=>r),n.all=Object.values(n).every(r=>r),n}const vr=/(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/,hr=new RegExp("(?:com|ru|org|net|de|jp|uk|br|it|pl|fr|in|au|ir|info|nl|cn|es|cz|kr|ca|eu|ua|co|gr|za|ro|biz|ch|se|tw|mx|vn|hu|be|tr|at|dk|tv|me|ar|sk|no|us|fi|id|cl|xyz|io|pt|by|il|ie|nz|kz|hk|lt|cc|my|sg|club|bg|edu|рф|pk|su|top|th|hr|rs|pe|pro|si|az|lv|pw|ae|ph|online|ng|ee|ws|ve|cat)"),mr=new RegExp("(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])"),fn=new RegExp("(?:"+[[vr.source,hr.source].join("+"),mr.source].join("|")+")"),gr=/(?:(?:[;/][^#?<>\s]*)?)/,pn=/(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/,dn=new RegExp("\\b"+[fn.source,gr.source,pn.source,"(?!\\w)"].join("+")),vn=/\b[a-z\d.-]+:\/\/[^<>\s]+/,hn=new RegExp("(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+[fn.source,pn.source].join("+")+"(?!\\w)");function xt(e=7,t=15){let n=!0;try{RegExp("(?<=\\W)")}catch{n=!1}return new RegExp(`${n?"(?:^|(?<=\\W))":""}(?![\\s\\-])\\+?(?:[0-9()\\- \\t]{${e},${t}})(?=\\b)(?=\\W(?=\\W|$)|\\s|$)`)}const mn=xt(),gn=new RegExp([dn.source,vn.source,hn.source,mn.source].join("|"),"gi");function yr(e){var t;return!e||!["string","number"].includes(typeof e)?!1:(e=e.toString(),((t=mn.exec(e))==null?void 0:t[0])===e)}function br(e){var t,n;return!e||typeof e!="string"?!1:((t=dn.exec(e))==null?void 0:t[0])===e||((n=vn.exec(e))==null?void 0:n[0])===e}function wr(e){var t;return!e||typeof e!="string"?!1:((t=hn.exec(e))==null?void 0:t[0])===e}function yn(e){return e.filter(t=>!!t).join(" ")}function bn(e,t="en-US"){return e.replace(new RegExp("^\\p{CWU}","u"),n=>n.toLocaleUpperCase(t))}const Er={getUniqueString:Ot,getRandomElement:rn,getRandomInt:on,formatMessages:an,filterFormattedMessages:sn,hasFormattedMessageOfType:at,getValidationState:Tt,htmlFragment:lr,flushPromises:fr,kebabCaseToPascalCase:pr,extractVueListeners:cn,debounce:dr,isOutOfViewPort:ln,getPhoneNumberRegex:xt,linkRegex:gn,isEmailAddress:wr,isPhoneNumber:yr,isURL:br,safeConcatStrings:yn,capitalizeFirstLetter:bn},At=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Or={name:"DtLazyShow",inheritAttrs:!1,props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},computed:{isCSSEnabled(){return process.env.NODE_ENV!=="test"}},watch:{show:function(e){!e||this.initialized||(this.initialized=!0)}}};function Tr(e,t,n,r,o,a){return x.openBlock(),x.createBlock(x.Transition,x.mergeProps({name:n.transition,appear:n.appear},e.$attrs,{css:a.isCSSEnabled}),{default:x.withCtx(()=>[x.withDirectives(x.createElementVNode("div",x.normalizeProps(x.guardReactiveProps(e.$attrs)),[o.initialized?x.renderSlot(e.$slots,"default",{key:0}):x.createCommentVNode("",!0)],16),[[x.vShow,n.show]])]),_:3},16,["name","appear","css"])}const wn=At(Or,[["render",Tr]]);var $="top",K="bottom",X="right",U="left",St="auto",ze=[$,K,X,U],De="start",Ue="end",xr="clippingParents",En="viewport",Ve="popper",Ar="reference",kt=ze.reduce(function(e,t){return e.concat([t+"-"+De,t+"-"+Ue])},[]),On=[].concat(ze,[St]).reduce(function(e,t){return e.concat([t,t+"-"+De,t+"-"+Ue])},[]),Sr="beforeRead",Dr="read",Lr="afterRead",Cr="beforeMain",Rr="main",Pr="afterMain",Ir="beforeWrite",Nr="write",Mr="afterWrite",_r=[Sr,Dr,Lr,Cr,Rr,Pr,Ir,Nr,Mr];function ne(e){return e?(e.nodeName||"").toLowerCase():null}function z(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function be(e){var t=z(e).Element;return e instanceof t||e instanceof Element}function q(e){var t=z(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Dt(e){if(typeof ShadowRoot>"u")return!1;var t=z(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function kr(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},a=t.elements[n];!q(a)||!ne(a)||(Object.assign(a.style,r),Object.keys(o).forEach(function(l){var u=o[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function Vr(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(r){var o=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(c,p){return c[p]="",c},{});!q(o)||!ne(o)||(Object.assign(o.style,u),Object.keys(a).forEach(function(c){o.removeAttribute(c)}))})}}const Tn={name:"applyStyles",enabled:!0,phase:"write",fn:kr,effect:Vr,requires:["computeStyles"]};function te(e){return e.split("-")[0]}var ye=Math.max,ut=Math.min,Le=Math.round;function gt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function xn(){return!/^((?!chrome|android).)*safari/i.test(gt())}function Ce(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&q(e)&&(o=e.offsetWidth>0&&Le(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Le(r.height)/e.offsetHeight||1);var l=be(e)?z(e):window,u=l.visualViewport,c=!xn()&&n,p=(r.left+(c&&u?u.offsetLeft:0))/o,f=(r.top+(c&&u?u.offsetTop:0))/a,b=r.width/o,O=r.height/a;return{width:b,height:O,top:f,right:p+b,bottom:f+O,left:p,x:p,y:f}}function Lt(e){var t=Ce(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 An(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Dt(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ue(e){return z(e).getComputedStyle(e)}function jr(e){return["table","td","th"].indexOf(ne(e))>=0}function pe(e){return((be(e)?e.ownerDocument:e.document)||window.document).documentElement}function lt(e){return ne(e)==="html"?e:e.assignedSlot||e.parentNode||(Dt(e)?e.host:null)||pe(e)}function Vt(e){return!q(e)||ue(e).position==="fixed"?null:e.offsetParent}function Br(e){var t=/firefox/i.test(gt()),n=/Trident/i.test(gt());if(n&&q(e)){var r=ue(e);if(r.position==="fixed")return null}var o=lt(e);for(Dt(o)&&(o=o.host);q(o)&&["html","body"].indexOf(ne(o))<0;){var a=ue(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Ye(e){for(var t=z(e),n=Vt(e);n&&jr(n)&&ue(n).position==="static";)n=Vt(n);return n&&(ne(n)==="html"||ne(n)==="body"&&ue(n).position==="static")?t:n||Br(e)||t}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function je(e,t,n){return ye(e,ut(t,n))}function $r(e,t,n){var r=je(e,t,n);return r>n?n:r}function Sn(){return{top:0,right:0,bottom:0,left:0}}function Dn(e){return Object.assign({},Sn(),e)}function Ln(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Ur=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Dn(typeof t!="number"?t:Ln(t,ze))};function Hr(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=te(n.placement),c=Ct(u),p=[U,X].indexOf(u)>=0,f=p?"height":"width";if(!(!a||!l)){var b=Ur(o.padding,n),O=Lt(a),m=c==="y"?$:U,w=c==="y"?K:X,g=n.rects.reference[f]+n.rects.reference[c]-l[c]-n.rects.popper[f],y=l[c]-n.rects.reference[c],A=Ye(a),D=A?c==="y"?A.clientHeight||0:A.clientWidth||0:0,C=g/2-y/2,i=b[m],T=D-O[f]-b[w],d=D/2-O[f]/2+C,L=je(i,d,T),M=c;n.modifiersData[r]=(t={},t[M]=L,t.centerOffset=L-d,t)}}function Fr(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||An(t.elements.popper,o)&&(t.elements.arrow=o))}const Wr={name:"arrow",enabled:!0,phase:"main",fn:Hr,effect:Fr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Re(e){return e.split("-")[1]}var zr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yr(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Le(n*o)/o||0,y:Le(r*o)/o||0}}function jt(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,b=e.isFixed,O=l.x,m=O===void 0?0:O,w=l.y,g=w===void 0?0:w,y=typeof f=="function"?f({x:m,y:g}):{x:m,y:g};m=y.x,g=y.y;var A=l.hasOwnProperty("x"),D=l.hasOwnProperty("y"),C=U,i=$,T=window;if(p){var d=Ye(n),L="clientHeight",M="clientWidth";if(d===z(n)&&(d=pe(n),ue(d).position!=="static"&&u==="absolute"&&(L="scrollHeight",M="scrollWidth")),d=d,o===$||(o===U||o===X)&&a===Ue){i=K;var N=b&&d===T&&T.visualViewport?T.visualViewport.height:d[L];g-=N-r.height,g*=c?1:-1}if(o===U||(o===$||o===K)&&a===Ue){C=X;var P=b&&d===T&&T.visualViewport?T.visualViewport.width:d[M];m-=P-r.width,m*=c?1:-1}}var _=Object.assign({position:u},p&&zr),I=f===!0?Yr({x:m,y:g},z(n)):{x:m,y:g};if(m=I.x,g=I.y,c){var R;return Object.assign({},_,(R={},R[i]=D?"0":"",R[C]=A?"0":"",R.transform=(T.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",R))}return Object.assign({},_,(t={},t[i]=D?g+"px":"",t[C]=A?m+"px":"",t.transform="",t))}function qr(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,c=u===void 0?!0:u,p={placement:te(t.placement),variation:Re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jt(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jt(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Kr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qr,data:{}};var it={passive:!0};function Xr(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=o===void 0?!0:o,l=r.resize,u=l===void 0?!0:l,c=z(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(f){f.addEventListener("scroll",n.update,it)}),u&&c.addEventListener("resize",n.update,it),function(){a&&p.forEach(function(f){f.removeEventListener("scroll",n.update,it)}),u&&c.removeEventListener("resize",n.update,it)}}const Gr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Xr,data:{}};var Zr={left:"right",right:"left",bottom:"top",top:"bottom"};function st(e){return e.replace(/left|right|bottom|top/g,function(t){return Zr[t]})}var Qr={start:"end",end:"start"};function Bt(e){return e.replace(/start|end/g,function(t){return Qr[t]})}function Rt(e){var t=z(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Pt(e){return Ce(pe(e)).left+Rt(e).scrollLeft}function Jr(e,t){var n=z(e),r=pe(e),o=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,c=0;if(o){a=o.width,l=o.height;var p=xn();(p||!p&&t==="fixed")&&(u=o.offsetLeft,c=o.offsetTop)}return{width:a,height:l,x:u+Pt(e),y:c}}function ei(e){var t,n=pe(e),r=Rt(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=ye(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=ye(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+Pt(e),c=-r.scrollTop;return ue(o||n).direction==="rtl"&&(u+=ye(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:l,x:u,y:c}}function It(e){var t=ue(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Cn(e){return["html","body","#document"].indexOf(ne(e))>=0?e.ownerDocument.body:q(e)&&It(e)?e:Cn(lt(e))}function Be(e,t){var n;t===void 0&&(t=[]);var r=Cn(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=z(r),l=o?[a].concat(a.visualViewport||[],It(r)?r:[]):r,u=t.concat(l);return o?u:u.concat(Be(lt(l)))}function yt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ti(e,t){var n=Ce(e,!1,t==="fixed");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}function $t(e,t,n){return t===En?yt(Jr(e,n)):be(t)?ti(t,n):yt(ei(pe(e)))}function ni(e){var t=Be(lt(e)),n=["absolute","fixed"].indexOf(ue(e).position)>=0,r=n&&q(e)?Ye(e):e;return be(r)?t.filter(function(o){return be(o)&&An(o,r)&&ne(o)!=="body"}):[]}function ri(e,t,n,r){var o=t==="clippingParents"?ni(e):[].concat(t),a=[].concat(o,[n]),l=a[0],u=a.reduce(function(c,p){var f=$t(e,p,r);return c.top=ye(f.top,c.top),c.right=ut(f.right,c.right),c.bottom=ut(f.bottom,c.bottom),c.left=ye(f.left,c.left),c},$t(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Rn(e){var t=e.reference,n=e.element,r=e.placement,o=r?te(r):null,a=r?Re(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,c;switch(o){case $:c={x:l,y:t.y-n.height};break;case K:c={x:l,y:t.y+t.height};break;case X:c={x:t.x+t.width,y:u};break;case U:c={x:t.x-n.width,y:u};break;default:c={x:t.x,y:t.y}}var p=o?Ct(o):null;if(p!=null){var f=p==="y"?"height":"width";switch(a){case De:c[p]=c[p]-(t[f]/2-n[f]/2);break;case Ue:c[p]=c[p]+(t[f]/2-n[f]/2);break}}return c}function He(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,c=u===void 0?xr:u,p=n.rootBoundary,f=p===void 0?En:p,b=n.elementContext,O=b===void 0?Ve:b,m=n.altBoundary,w=m===void 0?!1:m,g=n.padding,y=g===void 0?0:g,A=Dn(typeof y!="number"?y:Ln(y,ze)),D=O===Ve?Ar:Ve,C=e.rects.popper,i=e.elements[w?D:O],T=ri(be(i)?i:i.contextElement||pe(e.elements.popper),c,f,l),d=Ce(e.elements.reference),L=Rn({reference:d,element:C,strategy:"absolute",placement:o}),M=yt(Object.assign({},C,L)),N=O===Ve?M:d,P={top:T.top-N.top+A.top,bottom:N.bottom-T.bottom+A.bottom,left:T.left-N.left+A.left,right:N.right-T.right+A.right},_=e.modifiersData.offset;if(O===Ve&&_){var I=_[o];Object.keys(P).forEach(function(R){var H=[X,K].indexOf(R)>=0?1:-1,F=[$,K].indexOf(R)>=0?"y":"x";P[R]+=I[F]*H})}return P}function ii(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,c=n.allowedAutoPlacements,p=c===void 0?On:c,f=Re(r),b=f?u?kt:kt.filter(function(w){return Re(w)===f}):ze,O=b.filter(function(w){return p.indexOf(w)>=0});O.length===0&&(O=b);var m=O.reduce(function(w,g){return w[g]=He(e,{placement:g,boundary:o,rootBoundary:a,padding:l})[te(g)],w},{});return Object.keys(m).sort(function(w,g){return m[w]-m[g]})}function oi(e){if(te(e)===St)return[];var t=st(e);return[Bt(e),t,Bt(t)]}function ai(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,l=n.altAxis,u=l===void 0?!0:l,c=n.fallbackPlacements,p=n.padding,f=n.boundary,b=n.rootBoundary,O=n.altBoundary,m=n.flipVariations,w=m===void 0?!0:m,g=n.allowedAutoPlacements,y=t.options.placement,A=te(y),D=A===y,C=c||(D||!w?[st(y)]:oi(y)),i=[y].concat(C).reduce(function(re,G){return re.concat(te(G)===St?ii(t,{placement:G,boundary:f,rootBoundary:b,padding:p,flipVariations:w,allowedAutoPlacements:g}):G)},[]),T=t.rects.reference,d=t.rects.popper,L=new Map,M=!0,N=i[0],P=0;P<i.length;P++){var _=i[P],I=te(_),R=Re(_)===De,H=[$,K].indexOf(I)>=0,F=H?"width":"height",V=He(t,{placement:_,boundary:f,rootBoundary:b,altBoundary:O,padding:p}),j=H?R?X:U:R?K:$;T[F]>d[F]&&(j=st(j));var k=st(j),Z=[];if(a&&Z.push(V[I]<=0),u&&Z.push(V[j]<=0,V[k]<=0),Z.every(function(re){return re})){N=_,M=!1;break}L.set(_,Z)}if(M)for(var Q=w?3:1,de=function(G){var ie=i.find(function(we){var oe=L.get(we);if(oe)return oe.slice(0,G).every(function(Ee){return Ee})});if(ie)return N=ie,"break"},J=Q;J>0;J--){var ve=de(J);if(ve==="break")break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}}const si={name:"flip",enabled:!0,phase:"main",fn:ai,requiresIfExists:["offset"],data:{_skip:!1}};function Ut(e,t,n){return n===void 0&&(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 Ht(e){return[$,X,K,U].some(function(t){return e[t]>=0})}function ui(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,l=He(t,{elementContext:"reference"}),u=He(t,{altBoundary:!0}),c=Ut(l,r),p=Ut(u,o,a),f=Ht(c),b=Ht(p);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":b})}const ci={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ui};function li(e,t,n){var r=te(e),o=[U,$].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*o,[U,X].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function fi(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=o===void 0?[0,0]:o,l=On.reduce(function(f,b){return f[b]=li(b,t.rects,a),f},{}),u=l[t.placement],c=u.x,p=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=l}const pi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:fi};function di(e){var t=e.state,n=e.name;t.modifiersData[n]=Rn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const vi={name:"popperOffsets",enabled:!0,phase:"read",fn:di,data:{}};function hi(e){return e==="x"?"y":"x"}function mi(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=o===void 0?!0:o,l=n.altAxis,u=l===void 0?!1:l,c=n.boundary,p=n.rootBoundary,f=n.altBoundary,b=n.padding,O=n.tether,m=O===void 0?!0:O,w=n.tetherOffset,g=w===void 0?0:w,y=He(t,{boundary:c,rootBoundary:p,padding:b,altBoundary:f}),A=te(t.placement),D=Re(t.placement),C=!D,i=Ct(A),T=hi(i),d=t.modifiersData.popperOffsets,L=t.rects.reference,M=t.rects.popper,N=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,P=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(d){if(a){var R,H=i==="y"?$:U,F=i==="y"?K:X,V=i==="y"?"height":"width",j=d[i],k=j+y[H],Z=j-y[F],Q=m?-M[V]/2:0,de=D===De?L[V]:M[V],J=D===De?-M[V]:-L[V],ve=t.elements.arrow,re=m&&ve?Lt(ve):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Sn(),ie=G[H],we=G[F],oe=je(0,L[V],re[V]),Ee=C?L[V]/2-Q-oe-ie-P.mainAxis:de-oe-ie-P.mainAxis,ce=C?-L[V]/2+Q+oe+we+P.mainAxis:J+oe+we+P.mainAxis,Oe=t.elements.arrow&&Ye(t.elements.arrow),qe=Oe?i==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,Ie=(R=_==null?void 0:_[i])!=null?R:0,Ke=j+Ee-Ie-qe,Xe=j+ce-Ie,Ne=je(m?ut(k,Ke):k,j,m?ye(Z,Xe):Z);d[i]=Ne,I[i]=Ne-j}if(u){var Me,Ge=i==="x"?$:U,Ze=i==="x"?K:X,ae=d[T],le=T==="y"?"height":"width",_e=ae+y[Ge],he=ae-y[Ze],ke=[$,U].indexOf(A)!==-1,Qe=(Me=_==null?void 0:_[T])!=null?Me:0,Je=ke?_e:ae-L[le]-M[le]-Qe+P.altAxis,et=ke?ae+L[le]+M[le]-Qe-P.altAxis:he,tt=m&&ke?$r(Je,ae,et):je(m?Je:_e,ae,m?et:he);d[T]=tt,I[T]=tt-ae}t.modifiersData[r]=I}}const gi={name:"preventOverflow",enabled:!0,phase:"main",fn:mi,requiresIfExists:["offset"]};function yi(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function bi(e){return e===z(e)||!q(e)?Rt(e):yi(e)}function wi(e){var t=e.getBoundingClientRect(),n=Le(t.width)/e.offsetWidth||1,r=Le(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Ei(e,t,n){n===void 0&&(n=!1);var r=q(t),o=q(t)&&wi(t),a=pe(t),l=Ce(e,o,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((ne(t)!=="body"||It(a))&&(u=bi(t)),q(t)?(c=Ce(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Pt(a))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function Oi(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var c=t.get(u);c&&o(c)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),r}function Ti(e){var t=Oi(e);return _r.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function xi(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ai(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ft={placement:"bottom",modifiers:[],strategy:"absolute"};function Wt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Si(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,a=o===void 0?Ft:o;return function(u,c,p){p===void 0&&(p=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ft,a),modifiersData:{},elements:{reference:u,popper:c},attributes:{},styles:{}},b=[],O=!1,m={state:f,setOptions:function(A){var D=typeof A=="function"?A(f.options):A;g(),f.options=Object.assign({},a,f.options,D),f.scrollParents={reference:be(u)?Be(u):u.contextElement?Be(u.contextElement):[],popper:Be(c)};var C=Ti(Ai([].concat(r,f.options.modifiers)));return f.orderedModifiers=C.filter(function(i){return i.enabled}),w(),m.update()},forceUpdate:function(){if(!O){var A=f.elements,D=A.reference,C=A.popper;if(Wt(D,C)){f.rects={reference:Ei(D,Ye(C),f.options.strategy==="fixed"),popper:Lt(C)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(P){return f.modifiersData[P.name]=Object.assign({},P.data)});for(var i=0;i<f.orderedModifiers.length;i++){if(f.reset===!0){f.reset=!1,i=-1;continue}var T=f.orderedModifiers[i],d=T.fn,L=T.options,M=L===void 0?{}:L,N=T.name;typeof d=="function"&&(f=d({state:f,options:M,name:N,instance:m})||f)}}}},update:xi(function(){return new Promise(function(y){m.forceUpdate(),y(f)})}),destroy:function(){g(),O=!0}};if(!Wt(u,c))return m;m.setOptions(p).then(function(y){!O&&p.onFirstUpdate&&p.onFirstUpdate(y)});function w(){f.orderedModifiers.forEach(function(y){var A=y.name,D=y.options,C=D===void 0?{}:D,i=y.effect;if(typeof i=="function"){var T=i({state:f,name:A,instance:m,options:C}),d=function(){};b.push(T||d)}})}function g(){b.forEach(function(y){return y()}),b=[]}return m}}var Di=[Gr,vi,Kr,Tn,pi,si,gi,Wr,ci],Li=Si({defaultModifiers:Di}),Ci="tippy-box",Pn="tippy-content",Ri="tippy-backdrop",In="tippy-arrow",Nn="tippy-svg-arrow",ge={passive:!0,capture:!0},Mn=function(){return document.body};function Pi(e,t){return{}.hasOwnProperty.call(e,t)}function dt(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function Nt(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function _n(e,t){return typeof e=="function"?e.apply(void 0,t):e}function zt(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Ii(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function Ni(e){return e.split(/\s+/).filter(Boolean)}function Se(e){return[].concat(e)}function Yt(e,t){e.indexOf(t)===-1&&e.push(t)}function Mi(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function _i(e){return e.split("-")[0]}function ct(e){return[].slice.call(e)}function qt(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function $e(){return document.createElement("div")}function Fe(e){return["Element","Fragment"].some(function(t){return Nt(e,t)})}function ki(e){return Nt(e,"NodeList")}function Vi(e){return Nt(e,"MouseEvent")}function ji(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Bi(e){return Fe(e)?[e]:ki(e)?ct(e):Array.isArray(e)?e:ct(document.querySelectorAll(e))}function vt(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function Kt(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function $i(e){var t,n=Se(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Ui(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var a=o.popperRect,l=o.popperState,u=o.props,c=u.interactiveBorder,p=_i(l.placement),f=l.modifiersData.offset;if(!f)return!0;var b=p==="bottom"?f.top.y:0,O=p==="top"?f.bottom.y:0,m=p==="right"?f.left.x:0,w=p==="left"?f.right.x:0,g=a.top-r+b>c,y=r-a.bottom-O>c,A=a.left-n+m>c,D=n-a.right-w>c;return g||y||A||D})}function ht(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function Xt(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var ee={isTouch:!1},Gt=0;function Hi(){ee.isTouch||(ee.isTouch=!0,window.performance&&document.addEventListener("mousemove",kn))}function kn(){var e=performance.now();e-Gt<20&&(ee.isTouch=!1,document.removeEventListener("mousemove",kn)),Gt=e}function Fi(){var e=document.activeElement;if(ji(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Wi(){document.addEventListener("touchstart",Hi,ge),window.addEventListener("blur",Fi)}var zi=typeof window<"u"&&typeof document<"u",Yi=zi?!!window.msCrypto:!1;function Ae(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Zt(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function qi(e){return Zt(`
|
|
1
|
+
"use strict";const x=require("vue"),fe={ERROR:"error",WARNING:"warning",SUCCESS:"success"},nr={LARGE:"lg",EXTRA_LARGE:"xl"},rr={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},ir={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},or={esc:"Esc",escape:"Escape",tab:"Tab",enter:"Enter",space:"Space",spacebar:"Spacebar",up:"Up",arrowup:"ArrowUp",left:"Left",arrowleft:"ArrowLeft",right:"Right",arrowright:"ArrowRight",down:"Down",arrowdown:"ArrowDown",home:"Home",end:"End"},nn=fe.ERROR,ar="dt";let sr=0,_t;const ur=typeof setImmediate=="function"?setImmediate:setTimeout;function Ot(e=ar){return`${e}${sr++}`}function rn(e,t){if(t){const n=cr(t);return e[Math.abs(n)%e.length]}else return e[on(e.length)]}function cr(e){let t;for(let n=0;n<e.length;n++)t=Math.imul(31,t)+e.charCodeAt(n)|0;return t}function on(e){return Math.floor(Math.random()*e)}function an(e){return e?e.map(t=>typeof t=="string"?{message:t,type:nn}:t):[]}function sn(e){const t=Tt(e);return!e||!t?[]:e.filter(n=>!!n.message&&n.type===t)}function Tt(e){return e?at(e,fe.ERROR)?fe.ERROR:at(e,fe.WARNING)?fe.WARNING:at(e,fe.SUCCESS)?fe.SUCCESS:null:null}function at(e,t){return!e||!t?!1:e.some(n=>(n==null?void 0:n.type)===t)}const lr=e=>x.h("div",{innerHTML:e.html}),fr=()=>new Promise(e=>{ur(e)});function un(e,t={}){return e?e(t).some(n=>n.type===x.Comment||Array.isArray(n.children)&&!n.children.length?!1:n.type!==x.Text||typeof n.children=="string"&&n.children.trim()!==""):!1}const pr=e=>e==null?void 0:e.toLowerCase().split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),cn=e=>{const t=Object.entries(e).filter(([n])=>n.startsWith("on"));return Object.fromEntries(t)};function dr(e,t=300){clearTimeout(_t),_t=setTimeout(e,t)}function ln(e){const t=e.getBoundingClientRect(),n={top:t.top<0,left:t.left<0,bottom:t.bottom>(window.innerHeight||document.documentElement.clientHeight),right:t.right>(window.innerWidth||document.documentElement.clientWidth)};return n.any=Object.values(n).some(r=>r),n.all=Object.values(n).every(r=>r),n}const vr=/(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/,hr=new RegExp("(?:com|ru|org|net|de|jp|uk|br|it|pl|fr|in|au|ir|info|nl|cn|es|cz|kr|ca|eu|ua|co|gr|za|ro|biz|ch|se|tw|mx|vn|hu|be|tr|at|dk|tv|me|ar|sk|no|us|fi|id|cl|xyz|io|pt|by|il|ie|nz|kz|hk|lt|cc|my|sg|club|bg|edu|рф|pk|su|top|th|hr|rs|pe|pro|si|az|lv|pw|ae|ph|online|ng|ee|ws|ve|cat)"),mr=new RegExp("(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])"),fn=new RegExp("(?:"+[[vr.source,hr.source].join("+"),mr.source].join("|")+")"),gr=/(?:(?:[;/][^#?<>\s]*)?)/,pn=/(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/,dn=new RegExp("\\b"+[fn.source,gr.source,pn.source,"(?!\\w)"].join("+")),vn=/\b[a-z\d.-]+:\/\/[^<>\s]+/,hn=new RegExp("(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+[fn.source,pn.source].join("+")+"(?!\\w)");function xt(e=7,t=15){let n=!0;try{RegExp("(?<=\\W)")}catch{n=!1}return new RegExp(`${n?"(?:^|(?<=\\W))":""}(?![\\s\\-])\\+?(?:[0-9()\\- \\t]{${e},${t}})(?=\\b)(?=\\W(?=\\W|$)|\\s|$)`)}const mn=xt(),gn=new RegExp([dn.source,vn.source,hn.source,mn.source].join("|"),"gi");function yr(e){var t;return!e||!["string","number"].includes(typeof e)?!1:(e=e.toString(),((t=mn.exec(e))==null?void 0:t[0])===e)}function br(e){var t,n;return!e||typeof e!="string"?!1:((t=dn.exec(e))==null?void 0:t[0])===e||((n=vn.exec(e))==null?void 0:n[0])===e}function wr(e){var t;return!e||typeof e!="string"?!1:((t=hn.exec(e))==null?void 0:t[0])===e}function yn(e){return e.filter(t=>!!t).join(" ")}function bn(e,t="en-US"){return e.replace(new RegExp("^\\p{CWU}","u"),n=>n.toLocaleUpperCase(t))}const Er={getUniqueString:Ot,getRandomElement:rn,getRandomInt:on,formatMessages:an,filterFormattedMessages:sn,hasFormattedMessageOfType:at,getValidationState:Tt,htmlFragment:lr,flushPromises:fr,kebabCaseToPascalCase:pr,extractVueListeners:cn,debounce:dr,isOutOfViewPort:ln,getPhoneNumberRegex:xt,linkRegex:gn,isEmailAddress:wr,isPhoneNumber:yr,isURL:br,safeConcatStrings:yn,capitalizeFirstLetter:bn},At=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Or={name:"DtLazyShow",inheritAttrs:!1,props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},computed:{isCSSEnabled(){return process.env.NODE_ENV!=="test"}},watch:{show:function(e){!e||this.initialized||(this.initialized=!0)}}};function Tr(e,t,n,r,o,a){return x.openBlock(),x.createBlock(x.Transition,x.mergeProps({name:n.transition,appear:n.appear},e.$attrs,{css:a.isCSSEnabled}),{default:x.withCtx(()=>[x.withDirectives(x.createElementVNode("div",x.normalizeProps(x.guardReactiveProps(e.$attrs)),[o.initialized?x.renderSlot(e.$slots,"default",{key:0}):x.createCommentVNode("",!0)],16),[[x.vShow,n.show]])]),_:3},16,["name","appear","css"])}const wn=At(Or,[["render",Tr]]);var $="top",K="bottom",X="right",U="left",St="auto",ze=[$,K,X,U],De="start",Ue="end",xr="clippingParents",En="viewport",Ve="popper",Ar="reference",kt=ze.reduce(function(e,t){return e.concat([t+"-"+De,t+"-"+Ue])},[]),On=[].concat(ze,[St]).reduce(function(e,t){return e.concat([t,t+"-"+De,t+"-"+Ue])},[]),Sr="beforeRead",Dr="read",Lr="afterRead",Cr="beforeMain",Rr="main",Pr="afterMain",Ir="beforeWrite",Nr="write",Mr="afterWrite",_r=[Sr,Dr,Lr,Cr,Rr,Pr,Ir,Nr,Mr];function ne(e){return e?(e.nodeName||"").toLowerCase():null}function z(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function be(e){var t=z(e).Element;return e instanceof t||e instanceof Element}function q(e){var t=z(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Dt(e){if(typeof ShadowRoot>"u")return!1;var t=z(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function kr(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},a=t.elements[n];!q(a)||!ne(a)||(Object.assign(a.style,r),Object.keys(o).forEach(function(l){var u=o[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function Vr(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(r){var o=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(c,p){return c[p]="",c},{});!q(o)||!ne(o)||(Object.assign(o.style,u),Object.keys(a).forEach(function(c){o.removeAttribute(c)}))})}}const Tn={name:"applyStyles",enabled:!0,phase:"write",fn:kr,effect:Vr,requires:["computeStyles"]};function te(e){return e.split("-")[0]}var ye=Math.max,ut=Math.min,Le=Math.round;function gt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function xn(){return!/^((?!chrome|android).)*safari/i.test(gt())}function Ce(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&q(e)&&(o=e.offsetWidth>0&&Le(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Le(r.height)/e.offsetHeight||1);var l=be(e)?z(e):window,u=l.visualViewport,c=!xn()&&n,p=(r.left+(c&&u?u.offsetLeft:0))/o,f=(r.top+(c&&u?u.offsetTop:0))/a,b=r.width/o,O=r.height/a;return{width:b,height:O,top:f,right:p+b,bottom:f+O,left:p,x:p,y:f}}function Lt(e){var t=Ce(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 An(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Dt(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ue(e){return z(e).getComputedStyle(e)}function jr(e){return["table","td","th"].indexOf(ne(e))>=0}function pe(e){return((be(e)?e.ownerDocument:e.document)||window.document).documentElement}function lt(e){return ne(e)==="html"?e:e.assignedSlot||e.parentNode||(Dt(e)?e.host:null)||pe(e)}function Vt(e){return!q(e)||ue(e).position==="fixed"?null:e.offsetParent}function Br(e){var t=/firefox/i.test(gt()),n=/Trident/i.test(gt());if(n&&q(e)){var r=ue(e);if(r.position==="fixed")return null}var o=lt(e);for(Dt(o)&&(o=o.host);q(o)&&["html","body"].indexOf(ne(o))<0;){var a=ue(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Ye(e){for(var t=z(e),n=Vt(e);n&&jr(n)&&ue(n).position==="static";)n=Vt(n);return n&&(ne(n)==="html"||ne(n)==="body"&&ue(n).position==="static")?t:n||Br(e)||t}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function je(e,t,n){return ye(e,ut(t,n))}function $r(e,t,n){var r=je(e,t,n);return r>n?n:r}function Sn(){return{top:0,right:0,bottom:0,left:0}}function Dn(e){return Object.assign({},Sn(),e)}function Ln(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Ur=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Dn(typeof t!="number"?t:Ln(t,ze))};function Fr(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=te(n.placement),c=Ct(u),p=[U,X].indexOf(u)>=0,f=p?"height":"width";if(!(!a||!l)){var b=Ur(o.padding,n),O=Lt(a),m=c==="y"?$:U,w=c==="y"?K:X,g=n.rects.reference[f]+n.rects.reference[c]-l[c]-n.rects.popper[f],y=l[c]-n.rects.reference[c],A=Ye(a),D=A?c==="y"?A.clientHeight||0:A.clientWidth||0:0,C=g/2-y/2,i=b[m],T=D-O[f]-b[w],d=D/2-O[f]/2+C,L=je(i,d,T),M=c;n.modifiersData[r]=(t={},t[M]=L,t.centerOffset=L-d,t)}}function Hr(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||An(t.elements.popper,o)&&(t.elements.arrow=o))}const Wr={name:"arrow",enabled:!0,phase:"main",fn:Fr,effect:Hr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Re(e){return e.split("-")[1]}var zr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yr(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Le(n*o)/o||0,y:Le(r*o)/o||0}}function jt(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,b=e.isFixed,O=l.x,m=O===void 0?0:O,w=l.y,g=w===void 0?0:w,y=typeof f=="function"?f({x:m,y:g}):{x:m,y:g};m=y.x,g=y.y;var A=l.hasOwnProperty("x"),D=l.hasOwnProperty("y"),C=U,i=$,T=window;if(p){var d=Ye(n),L="clientHeight",M="clientWidth";if(d===z(n)&&(d=pe(n),ue(d).position!=="static"&&u==="absolute"&&(L="scrollHeight",M="scrollWidth")),d=d,o===$||(o===U||o===X)&&a===Ue){i=K;var N=b&&d===T&&T.visualViewport?T.visualViewport.height:d[L];g-=N-r.height,g*=c?1:-1}if(o===U||(o===$||o===K)&&a===Ue){C=X;var P=b&&d===T&&T.visualViewport?T.visualViewport.width:d[M];m-=P-r.width,m*=c?1:-1}}var _=Object.assign({position:u},p&&zr),I=f===!0?Yr({x:m,y:g},z(n)):{x:m,y:g};if(m=I.x,g=I.y,c){var R;return Object.assign({},_,(R={},R[i]=D?"0":"",R[C]=A?"0":"",R.transform=(T.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",R))}return Object.assign({},_,(t={},t[i]=D?g+"px":"",t[C]=A?m+"px":"",t.transform="",t))}function qr(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,c=u===void 0?!0:u,p={placement:te(t.placement),variation:Re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jt(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jt(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Kr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qr,data:{}};var it={passive:!0};function Xr(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=o===void 0?!0:o,l=r.resize,u=l===void 0?!0:l,c=z(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(f){f.addEventListener("scroll",n.update,it)}),u&&c.addEventListener("resize",n.update,it),function(){a&&p.forEach(function(f){f.removeEventListener("scroll",n.update,it)}),u&&c.removeEventListener("resize",n.update,it)}}const Gr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Xr,data:{}};var Zr={left:"right",right:"left",bottom:"top",top:"bottom"};function st(e){return e.replace(/left|right|bottom|top/g,function(t){return Zr[t]})}var Qr={start:"end",end:"start"};function Bt(e){return e.replace(/start|end/g,function(t){return Qr[t]})}function Rt(e){var t=z(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Pt(e){return Ce(pe(e)).left+Rt(e).scrollLeft}function Jr(e,t){var n=z(e),r=pe(e),o=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,c=0;if(o){a=o.width,l=o.height;var p=xn();(p||!p&&t==="fixed")&&(u=o.offsetLeft,c=o.offsetTop)}return{width:a,height:l,x:u+Pt(e),y:c}}function ei(e){var t,n=pe(e),r=Rt(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=ye(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=ye(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+Pt(e),c=-r.scrollTop;return ue(o||n).direction==="rtl"&&(u+=ye(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:l,x:u,y:c}}function It(e){var t=ue(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Cn(e){return["html","body","#document"].indexOf(ne(e))>=0?e.ownerDocument.body:q(e)&&It(e)?e:Cn(lt(e))}function Be(e,t){var n;t===void 0&&(t=[]);var r=Cn(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=z(r),l=o?[a].concat(a.visualViewport||[],It(r)?r:[]):r,u=t.concat(l);return o?u:u.concat(Be(lt(l)))}function yt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ti(e,t){var n=Ce(e,!1,t==="fixed");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}function $t(e,t,n){return t===En?yt(Jr(e,n)):be(t)?ti(t,n):yt(ei(pe(e)))}function ni(e){var t=Be(lt(e)),n=["absolute","fixed"].indexOf(ue(e).position)>=0,r=n&&q(e)?Ye(e):e;return be(r)?t.filter(function(o){return be(o)&&An(o,r)&&ne(o)!=="body"}):[]}function ri(e,t,n,r){var o=t==="clippingParents"?ni(e):[].concat(t),a=[].concat(o,[n]),l=a[0],u=a.reduce(function(c,p){var f=$t(e,p,r);return c.top=ye(f.top,c.top),c.right=ut(f.right,c.right),c.bottom=ut(f.bottom,c.bottom),c.left=ye(f.left,c.left),c},$t(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Rn(e){var t=e.reference,n=e.element,r=e.placement,o=r?te(r):null,a=r?Re(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,c;switch(o){case $:c={x:l,y:t.y-n.height};break;case K:c={x:l,y:t.y+t.height};break;case X:c={x:t.x+t.width,y:u};break;case U:c={x:t.x-n.width,y:u};break;default:c={x:t.x,y:t.y}}var p=o?Ct(o):null;if(p!=null){var f=p==="y"?"height":"width";switch(a){case De:c[p]=c[p]-(t[f]/2-n[f]/2);break;case Ue:c[p]=c[p]+(t[f]/2-n[f]/2);break}}return c}function Fe(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,c=u===void 0?xr:u,p=n.rootBoundary,f=p===void 0?En:p,b=n.elementContext,O=b===void 0?Ve:b,m=n.altBoundary,w=m===void 0?!1:m,g=n.padding,y=g===void 0?0:g,A=Dn(typeof y!="number"?y:Ln(y,ze)),D=O===Ve?Ar:Ve,C=e.rects.popper,i=e.elements[w?D:O],T=ri(be(i)?i:i.contextElement||pe(e.elements.popper),c,f,l),d=Ce(e.elements.reference),L=Rn({reference:d,element:C,strategy:"absolute",placement:o}),M=yt(Object.assign({},C,L)),N=O===Ve?M:d,P={top:T.top-N.top+A.top,bottom:N.bottom-T.bottom+A.bottom,left:T.left-N.left+A.left,right:N.right-T.right+A.right},_=e.modifiersData.offset;if(O===Ve&&_){var I=_[o];Object.keys(P).forEach(function(R){var F=[X,K].indexOf(R)>=0?1:-1,H=[$,K].indexOf(R)>=0?"y":"x";P[R]+=I[H]*F})}return P}function ii(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,c=n.allowedAutoPlacements,p=c===void 0?On:c,f=Re(r),b=f?u?kt:kt.filter(function(w){return Re(w)===f}):ze,O=b.filter(function(w){return p.indexOf(w)>=0});O.length===0&&(O=b);var m=O.reduce(function(w,g){return w[g]=Fe(e,{placement:g,boundary:o,rootBoundary:a,padding:l})[te(g)],w},{});return Object.keys(m).sort(function(w,g){return m[w]-m[g]})}function oi(e){if(te(e)===St)return[];var t=st(e);return[Bt(e),t,Bt(t)]}function ai(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,l=n.altAxis,u=l===void 0?!0:l,c=n.fallbackPlacements,p=n.padding,f=n.boundary,b=n.rootBoundary,O=n.altBoundary,m=n.flipVariations,w=m===void 0?!0:m,g=n.allowedAutoPlacements,y=t.options.placement,A=te(y),D=A===y,C=c||(D||!w?[st(y)]:oi(y)),i=[y].concat(C).reduce(function(re,G){return re.concat(te(G)===St?ii(t,{placement:G,boundary:f,rootBoundary:b,padding:p,flipVariations:w,allowedAutoPlacements:g}):G)},[]),T=t.rects.reference,d=t.rects.popper,L=new Map,M=!0,N=i[0],P=0;P<i.length;P++){var _=i[P],I=te(_),R=Re(_)===De,F=[$,K].indexOf(I)>=0,H=F?"width":"height",V=Fe(t,{placement:_,boundary:f,rootBoundary:b,altBoundary:O,padding:p}),j=F?R?X:U:R?K:$;T[H]>d[H]&&(j=st(j));var k=st(j),Z=[];if(a&&Z.push(V[I]<=0),u&&Z.push(V[j]<=0,V[k]<=0),Z.every(function(re){return re})){N=_,M=!1;break}L.set(_,Z)}if(M)for(var Q=w?3:1,de=function(G){var ie=i.find(function(we){var oe=L.get(we);if(oe)return oe.slice(0,G).every(function(Ee){return Ee})});if(ie)return N=ie,"break"},J=Q;J>0;J--){var ve=de(J);if(ve==="break")break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}}const si={name:"flip",enabled:!0,phase:"main",fn:ai,requiresIfExists:["offset"],data:{_skip:!1}};function Ut(e,t,n){return n===void 0&&(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 Ft(e){return[$,X,K,U].some(function(t){return e[t]>=0})}function ui(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,l=Fe(t,{elementContext:"reference"}),u=Fe(t,{altBoundary:!0}),c=Ut(l,r),p=Ut(u,o,a),f=Ft(c),b=Ft(p);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":b})}const ci={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ui};function li(e,t,n){var r=te(e),o=[U,$].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*o,[U,X].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function fi(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=o===void 0?[0,0]:o,l=On.reduce(function(f,b){return f[b]=li(b,t.rects,a),f},{}),u=l[t.placement],c=u.x,p=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=l}const pi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:fi};function di(e){var t=e.state,n=e.name;t.modifiersData[n]=Rn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const vi={name:"popperOffsets",enabled:!0,phase:"read",fn:di,data:{}};function hi(e){return e==="x"?"y":"x"}function mi(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=o===void 0?!0:o,l=n.altAxis,u=l===void 0?!1:l,c=n.boundary,p=n.rootBoundary,f=n.altBoundary,b=n.padding,O=n.tether,m=O===void 0?!0:O,w=n.tetherOffset,g=w===void 0?0:w,y=Fe(t,{boundary:c,rootBoundary:p,padding:b,altBoundary:f}),A=te(t.placement),D=Re(t.placement),C=!D,i=Ct(A),T=hi(i),d=t.modifiersData.popperOffsets,L=t.rects.reference,M=t.rects.popper,N=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,P=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(d){if(a){var R,F=i==="y"?$:U,H=i==="y"?K:X,V=i==="y"?"height":"width",j=d[i],k=j+y[F],Z=j-y[H],Q=m?-M[V]/2:0,de=D===De?L[V]:M[V],J=D===De?-M[V]:-L[V],ve=t.elements.arrow,re=m&&ve?Lt(ve):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Sn(),ie=G[F],we=G[H],oe=je(0,L[V],re[V]),Ee=C?L[V]/2-Q-oe-ie-P.mainAxis:de-oe-ie-P.mainAxis,ce=C?-L[V]/2+Q+oe+we+P.mainAxis:J+oe+we+P.mainAxis,Oe=t.elements.arrow&&Ye(t.elements.arrow),qe=Oe?i==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,Ie=(R=_==null?void 0:_[i])!=null?R:0,Ke=j+Ee-Ie-qe,Xe=j+ce-Ie,Ne=je(m?ut(k,Ke):k,j,m?ye(Z,Xe):Z);d[i]=Ne,I[i]=Ne-j}if(u){var Me,Ge=i==="x"?$:U,Ze=i==="x"?K:X,ae=d[T],le=T==="y"?"height":"width",_e=ae+y[Ge],he=ae-y[Ze],ke=[$,U].indexOf(A)!==-1,Qe=(Me=_==null?void 0:_[T])!=null?Me:0,Je=ke?_e:ae-L[le]-M[le]-Qe+P.altAxis,et=ke?ae+L[le]+M[le]-Qe-P.altAxis:he,tt=m&&ke?$r(Je,ae,et):je(m?Je:_e,ae,m?et:he);d[T]=tt,I[T]=tt-ae}t.modifiersData[r]=I}}const gi={name:"preventOverflow",enabled:!0,phase:"main",fn:mi,requiresIfExists:["offset"]};function yi(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function bi(e){return e===z(e)||!q(e)?Rt(e):yi(e)}function wi(e){var t=e.getBoundingClientRect(),n=Le(t.width)/e.offsetWidth||1,r=Le(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Ei(e,t,n){n===void 0&&(n=!1);var r=q(t),o=q(t)&&wi(t),a=pe(t),l=Ce(e,o,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((ne(t)!=="body"||It(a))&&(u=bi(t)),q(t)?(c=Ce(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Pt(a))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function Oi(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var c=t.get(u);c&&o(c)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),r}function Ti(e){var t=Oi(e);return _r.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function xi(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Ai(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ht={placement:"bottom",modifiers:[],strategy:"absolute"};function Wt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Si(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,a=o===void 0?Ht:o;return function(u,c,p){p===void 0&&(p=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ht,a),modifiersData:{},elements:{reference:u,popper:c},attributes:{},styles:{}},b=[],O=!1,m={state:f,setOptions:function(A){var D=typeof A=="function"?A(f.options):A;g(),f.options=Object.assign({},a,f.options,D),f.scrollParents={reference:be(u)?Be(u):u.contextElement?Be(u.contextElement):[],popper:Be(c)};var C=Ti(Ai([].concat(r,f.options.modifiers)));return f.orderedModifiers=C.filter(function(i){return i.enabled}),w(),m.update()},forceUpdate:function(){if(!O){var A=f.elements,D=A.reference,C=A.popper;if(Wt(D,C)){f.rects={reference:Ei(D,Ye(C),f.options.strategy==="fixed"),popper:Lt(C)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(P){return f.modifiersData[P.name]=Object.assign({},P.data)});for(var i=0;i<f.orderedModifiers.length;i++){if(f.reset===!0){f.reset=!1,i=-1;continue}var T=f.orderedModifiers[i],d=T.fn,L=T.options,M=L===void 0?{}:L,N=T.name;typeof d=="function"&&(f=d({state:f,options:M,name:N,instance:m})||f)}}}},update:xi(function(){return new Promise(function(y){m.forceUpdate(),y(f)})}),destroy:function(){g(),O=!0}};if(!Wt(u,c))return m;m.setOptions(p).then(function(y){!O&&p.onFirstUpdate&&p.onFirstUpdate(y)});function w(){f.orderedModifiers.forEach(function(y){var A=y.name,D=y.options,C=D===void 0?{}:D,i=y.effect;if(typeof i=="function"){var T=i({state:f,name:A,instance:m,options:C}),d=function(){};b.push(T||d)}})}function g(){b.forEach(function(y){return y()}),b=[]}return m}}var Di=[Gr,vi,Kr,Tn,pi,si,gi,Wr,ci],Li=Si({defaultModifiers:Di}),Ci="tippy-box",Pn="tippy-content",Ri="tippy-backdrop",In="tippy-arrow",Nn="tippy-svg-arrow",ge={passive:!0,capture:!0},Mn=function(){return document.body};function Pi(e,t){return{}.hasOwnProperty.call(e,t)}function dt(e,t,n){if(Array.isArray(e)){var r=e[t];return r??(Array.isArray(n)?n[t]:n)}return e}function Nt(e,t){var n={}.toString.call(e);return n.indexOf("[object")===0&&n.indexOf(t+"]")>-1}function _n(e,t){return typeof e=="function"?e.apply(void 0,t):e}function zt(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Ii(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function Ni(e){return e.split(/\s+/).filter(Boolean)}function Se(e){return[].concat(e)}function Yt(e,t){e.indexOf(t)===-1&&e.push(t)}function Mi(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function _i(e){return e.split("-")[0]}function ct(e){return[].slice.call(e)}function qt(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function $e(){return document.createElement("div")}function He(e){return["Element","Fragment"].some(function(t){return Nt(e,t)})}function ki(e){return Nt(e,"NodeList")}function Vi(e){return Nt(e,"MouseEvent")}function ji(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Bi(e){return He(e)?[e]:ki(e)?ct(e):Array.isArray(e)?e:ct(document.querySelectorAll(e))}function vt(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function Kt(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function $i(e){var t,n=Se(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Ui(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var a=o.popperRect,l=o.popperState,u=o.props,c=u.interactiveBorder,p=_i(l.placement),f=l.modifiersData.offset;if(!f)return!0;var b=p==="bottom"?f.top.y:0,O=p==="top"?f.bottom.y:0,m=p==="right"?f.left.x:0,w=p==="left"?f.right.x:0,g=a.top-r+b>c,y=r-a.bottom-O>c,A=a.left-n+m>c,D=n-a.right-w>c;return g||y||A||D})}function ht(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function Xt(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var ee={isTouch:!1},Gt=0;function Fi(){ee.isTouch||(ee.isTouch=!0,window.performance&&document.addEventListener("mousemove",kn))}function kn(){var e=performance.now();e-Gt<20&&(ee.isTouch=!1,document.removeEventListener("mousemove",kn)),Gt=e}function Hi(){var e=document.activeElement;if(ji(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Wi(){document.addEventListener("touchstart",Fi,ge),window.addEventListener("blur",Hi)}var zi=typeof window<"u"&&typeof document<"u",Yi=zi?!!window.msCrypto:!1;function Ae(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Zt(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function qi(e){return Zt(`
|
|
2
2
|
%ctippy.js
|
|
3
3
|
|
|
4
4
|
%c`+Zt(e)+`
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
`)}function Vn(e){return[qi(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var We;process.env.NODE_ENV!=="production"&&Ki();function Ki(){We=new Set}function se(e,t){if(e&&!We.has(t)){var n;We.add(t),(n=console).warn.apply(n,Vn(t))}}function bt(e,t){if(e&&!We.has(t)){var n;We.add(t),(n=console).error.apply(n,Vn(t))}}function Xi(e){var t=!e,n=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;bt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),bt(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var jn={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Gi={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},W=Object.assign({appendTo:Mn,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},jn,Gi),Zi=Object.keys(W),Qi=function(t){process.env.NODE_ENV!=="production"&&$n(t,[]);var n=Object.keys(t);n.forEach(function(r){W[r]=t[r]})};function Bn(e){var t=e.plugins||[],n=t.reduce(function(r,o){var a=o.name,l=o.defaultValue;if(a){var u;r[a]=e[a]!==void 0?e[a]:(u=W[a])!=null?u:l}return r},{});return Object.assign({},e,n)}function Ji(e,t){var n=t?Object.keys(Bn(Object.assign({},W,{plugins:t}))):Zi,r=n.reduce(function(o,a){var l=(e.getAttribute("data-tippy-"+a)||"").trim();if(!l)return o;if(a==="content")o[a]=l;else try{o[a]=JSON.parse(l)}catch{o[a]=l}return o},{});return r}function Qt(e,t){var n=Object.assign({},t,{content:_n(t.content,[e])},t.ignoreAttributes?{}:Ji(e,t.plugins));return n.aria=Object.assign({},W.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}function $n(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(r){var o=Ii(W,Object.keys(jn)),a=!Pi(o,r);a&&(a=t.filter(function(l){return l.name===r}).length===0),se(a,["`"+r+"`","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.",`
|
|
8
8
|
|
|
9
9
|
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
10
|
-
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var eo=function(){return"innerHTML"};function wt(e,t){e[eo()]=t}function Jt(e){var t=$e();return e===!0?t.className=In:(t.className=Nn,
|
|
10
|
+
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var eo=function(){return"innerHTML"};function wt(e,t){e[eo()]=t}function Jt(e){var t=$e();return e===!0?t.className=In:(t.className=Nn,He(e)?t.appendChild(e):wt(t,e)),t}function en(e,t){He(t.content)?(wt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?wt(e,t.content):e.textContent=t.content)}function Et(e){var t=e.firstElementChild,n=ct(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(Pn)}),arrow:n.find(function(r){return r.classList.contains(In)||r.classList.contains(Nn)}),backdrop:n.find(function(r){return r.classList.contains(Ri)})}}function Un(e){var t=$e(),n=$e();n.className=Ci,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=$e();r.className=Pn,r.setAttribute("data-state","hidden"),en(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(a,l){var u=Et(t),c=u.box,p=u.content,f=u.arrow;l.theme?c.setAttribute("data-theme",l.theme):c.removeAttribute("data-theme"),typeof l.animation=="string"?c.setAttribute("data-animation",l.animation):c.removeAttribute("data-animation"),l.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof l.maxWidth=="number"?l.maxWidth+"px":l.maxWidth,l.role?c.setAttribute("role",l.role):c.removeAttribute("role"),(a.content!==l.content||a.allowHTML!==l.allowHTML)&&en(p,e.props),l.arrow?f?a.arrow!==l.arrow&&(c.removeChild(f),c.appendChild(Jt(l.arrow))):c.appendChild(Jt(l.arrow)):f&&c.removeChild(f)}return{popper:t,onUpdate:o}}Un.$$tippy=!0;var to=1,ot=[],mt=[];function no(e,t){var n=Qt(e,Object.assign({},W,Bn(qt(t)))),r,o,a,l=!1,u=!1,c=!1,p=!1,f,b,O,m=[],w=zt(Ke,n.interactiveDebounce),g,y=to++,A=null,D=Mi(n.plugins),C={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:y,reference:e,popper:$e(),popperInstance:A,props:n,state:C,plugins:D,clearDelayTimeouts:Je,setProps:et,setContent:tt,show:Gn,hide:Zn,hideWithInteractivity:Qn,enable:ke,disable:Qe,unmount:Jn,destroy:er};if(!n.render)return process.env.NODE_ENV!=="production"&&bt(!0,"render() function has not been supplied."),i;var T=n.render(i),d=T.popper,L=T.onUpdate;d.setAttribute("data-tippy-root",""),d.id="tippy-"+i.id,i.popper=d,e._tippy=i,d._tippy=i;var M=D.map(function(s){return s.fn(i)}),N=e.hasAttribute("aria-expanded");return Oe(),Q(),j(),k("onCreate",[i]),n.showOnCreate&&_e(),d.addEventListener("mouseenter",function(){i.props.interactive&&i.state.isVisible&&i.clearDelayTimeouts()}),d.addEventListener("mouseleave",function(){i.props.interactive&&i.props.trigger.indexOf("mouseenter")>=0&&F().addEventListener("mousemove",w)}),i;function P(){var s=i.props.touch;return Array.isArray(s)?s:[s,0]}function _(){return P()[0]==="hold"}function I(){var s;return!!((s=i.props.render)!=null&&s.$$tippy)}function R(){return g||e}function F(){var s=R().parentNode;return s?$i(s):document}function H(){return Et(d)}function V(s){return i.state.isMounted&&!i.state.isVisible||ee.isTouch||f&&f.type==="focus"?0:dt(i.props.delay,s?0:1,W.delay)}function j(s){s===void 0&&(s=!1),d.style.pointerEvents=i.props.interactive&&!s?"":"none",d.style.zIndex=""+i.props.zIndex}function k(s,v,h){if(h===void 0&&(h=!0),M.forEach(function(E){E[s]&&E[s].apply(E,v)}),h){var S;(S=i.props)[s].apply(S,v)}}function Z(){var s=i.props.aria;if(s.content){var v="aria-"+s.content,h=d.id,S=Se(i.props.triggerTarget||e);S.forEach(function(E){var B=E.getAttribute(v);if(i.state.isVisible)E.setAttribute(v,B?B+" "+h:h);else{var Y=B&&B.replace(h,"").trim();Y?E.setAttribute(v,Y):E.removeAttribute(v)}})}}function Q(){if(!(N||!i.props.aria.expanded)){var s=Se(i.props.triggerTarget||e);s.forEach(function(v){i.props.interactive?v.setAttribute("aria-expanded",i.state.isVisible&&v===R()?"true":"false"):v.removeAttribute("aria-expanded")})}}function de(){F().removeEventListener("mousemove",w),ot=ot.filter(function(s){return s!==w})}function J(s){if(!(ee.isTouch&&(c||s.type==="mousedown"))){var v=s.composedPath&&s.composedPath()[0]||s.target;if(!(i.props.interactive&&Xt(d,v))){if(Se(i.props.triggerTarget||e).some(function(h){return Xt(h,v)})){if(ee.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else k("onClickOutside",[i,s]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),u=!0,setTimeout(function(){u=!1}),i.state.isMounted||ie())}}}function ve(){c=!0}function re(){c=!1}function G(){var s=F();s.addEventListener("mousedown",J,!0),s.addEventListener("touchend",J,ge),s.addEventListener("touchstart",re,ge),s.addEventListener("touchmove",ve,ge)}function ie(){var s=F();s.removeEventListener("mousedown",J,!0),s.removeEventListener("touchend",J,ge),s.removeEventListener("touchstart",re,ge),s.removeEventListener("touchmove",ve,ge)}function we(s,v){Ee(s,function(){!i.state.isVisible&&d.parentNode&&d.parentNode.contains(d)&&v()})}function oe(s,v){Ee(s,v)}function Ee(s,v){var h=H().box;function S(E){E.target===h&&(ht(h,"remove",S),v())}if(s===0)return v();ht(h,"remove",b),ht(h,"add",S),b=S}function ce(s,v,h){h===void 0&&(h=!1);var S=Se(i.props.triggerTarget||e);S.forEach(function(E){E.addEventListener(s,v,h),m.push({node:E,eventType:s,handler:v,options:h})})}function Oe(){_()&&(ce("touchstart",Ie,{passive:!0}),ce("touchend",Xe,{passive:!0})),Ni(i.props.trigger).forEach(function(s){if(s!=="manual")switch(ce(s,Ie),s){case"mouseenter":ce("mouseleave",Xe);break;case"focus":ce(Yi?"focusout":"blur",Ne);break;case"focusin":ce("focusout",Ne);break}})}function qe(){m.forEach(function(s){var v=s.node,h=s.eventType,S=s.handler,E=s.options;v.removeEventListener(h,S,E)}),m=[]}function Ie(s){var v,h=!1;if(!(!i.state.isEnabled||Me(s)||u)){var S=((v=f)==null?void 0:v.type)==="focus";f=s,g=s.currentTarget,Q(),!i.state.isVisible&&Vi(s)&&ot.forEach(function(E){return E(s)}),s.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||l)&&i.props.hideOnClick!==!1&&i.state.isVisible?h=!0:_e(s),s.type==="click"&&(l=!h),h&&!S&&he(s)}}function Ke(s){var v=s.target,h=R().contains(v)||d.contains(v);if(!(s.type==="mousemove"&&h)){var S=le().concat(d).map(function(E){var B,Y=E._tippy,Te=(B=Y.popperInstance)==null?void 0:B.state;return Te?{popperRect:E.getBoundingClientRect(),popperState:Te,props:n}:null}).filter(Boolean);Ui(S,s)&&(de(),he(s))}}function Xe(s){var v=Me(s)||i.props.trigger.indexOf("click")>=0&&l;if(!v){if(i.props.interactive){i.hideWithInteractivity(s);return}he(s)}}function Ne(s){i.props.trigger.indexOf("focusin")<0&&s.target!==R()||i.props.interactive&&s.relatedTarget&&d.contains(s.relatedTarget)||he(s)}function Me(s){return ee.isTouch?_()!==s.type.indexOf("touch")>=0:!1}function Ge(){Ze();var s=i.props,v=s.popperOptions,h=s.placement,S=s.offset,E=s.getReferenceClientRect,B=s.moveTransition,Y=I()?Et(d).arrow:null,Te=E?{getBoundingClientRect:E,contextElement:E.contextElement||R()}:e,Mt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(nt){var xe=nt.state;if(I()){var tr=H(),pt=tr.box;["placement","reference-hidden","escaped"].forEach(function(rt){rt==="placement"?pt.setAttribute("data-placement",xe.placement):xe.attributes.popper["data-popper-"+rt]?pt.setAttribute("data-"+rt,""):pt.removeAttribute("data-"+rt)}),xe.attributes.popper={}}}},me=[{name:"offset",options:{offset:S}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!B}},Mt];I()&&Y&&me.push({name:"arrow",options:{element:Y,padding:3}}),me.push.apply(me,(v==null?void 0:v.modifiers)||[]),i.popperInstance=Li(Te,d,Object.assign({},v,{placement:h,onFirstUpdate:O,modifiers:me}))}function Ze(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function ae(){var s=i.props.appendTo,v,h=R();i.props.interactive&&s===Mn||s==="parent"?v=h.parentNode:v=_n(s,[h]),v.contains(d)||v.appendChild(d),i.state.isMounted=!0,Ge(),process.env.NODE_ENV!=="production"&&se(i.props.interactive&&s===W.appendTo&&h.nextElementSibling!==d,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
|
|
11
11
|
|
|
12
12
|
`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
|
|
13
13
|
|
|
14
14
|
`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
|
|
15
15
|
|
|
16
|
-
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function le(){return ct(d.querySelectorAll("[data-tippy-root]"))}function _e(s){i.clearDelayTimeouts(),s&&k("onTrigger",[i,s]),G();var v=V(!0),h=P(),S=h[0],E=h[1];ee.isTouch&&S==="hold"&&E&&(v=E),v?r=setTimeout(function(){i.show()},v):i.show()}function he(s){if(i.clearDelayTimeouts(),k("onUntrigger",[i,s]),!i.state.isVisible){ie();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(s.type)>=0&&l)){var v=V(!1);v?o=setTimeout(function(){i.state.isVisible&&i.hide()},v):a=requestAnimationFrame(function(){i.hide()})}}function ke(){i.state.isEnabled=!0}function Qe(){i.hide(),i.state.isEnabled=!1}function Je(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(a)}function et(s){if(process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Ae("setProps")),!i.state.isDestroyed){k("onBeforeUpdate",[i,s]),qe();var v=i.props,h=Qt(e,Object.assign({},v,qt(s),{ignoreAttributes:!0}));i.props=h,Oe(),v.interactiveDebounce!==h.interactiveDebounce&&(de(),w=zt(Ke,h.interactiveDebounce)),v.triggerTarget&&!h.triggerTarget?Se(v.triggerTarget).forEach(function(S){S.removeAttribute("aria-expanded")}):h.triggerTarget&&e.removeAttribute("aria-expanded"),Q(),j(),L&&L(v,h),i.popperInstance&&(Ge(),le().forEach(function(S){requestAnimationFrame(S._tippy.popperInstance.forceUpdate)})),k("onAfterUpdate",[i,s])}}function tt(s){i.setProps({content:s})}function Gn(){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Ae("show"));var s=i.state.isVisible,v=i.state.isDestroyed,h=!i.state.isEnabled,S=ee.isTouch&&!i.props.touch,E=dt(i.props.duration,0,W.duration);if(!(s||v||h||S)&&!R().hasAttribute("disabled")&&(k("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,I()&&(d.style.visibility="visible"),j(),G(),i.state.isMounted||(d.style.transition="none"),I()){var B=
|
|
16
|
+
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function le(){return ct(d.querySelectorAll("[data-tippy-root]"))}function _e(s){i.clearDelayTimeouts(),s&&k("onTrigger",[i,s]),G();var v=V(!0),h=P(),S=h[0],E=h[1];ee.isTouch&&S==="hold"&&E&&(v=E),v?r=setTimeout(function(){i.show()},v):i.show()}function he(s){if(i.clearDelayTimeouts(),k("onUntrigger",[i,s]),!i.state.isVisible){ie();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(s.type)>=0&&l)){var v=V(!1);v?o=setTimeout(function(){i.state.isVisible&&i.hide()},v):a=requestAnimationFrame(function(){i.hide()})}}function ke(){i.state.isEnabled=!0}function Qe(){i.hide(),i.state.isEnabled=!1}function Je(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(a)}function et(s){if(process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Ae("setProps")),!i.state.isDestroyed){k("onBeforeUpdate",[i,s]),qe();var v=i.props,h=Qt(e,Object.assign({},v,qt(s),{ignoreAttributes:!0}));i.props=h,Oe(),v.interactiveDebounce!==h.interactiveDebounce&&(de(),w=zt(Ke,h.interactiveDebounce)),v.triggerTarget&&!h.triggerTarget?Se(v.triggerTarget).forEach(function(S){S.removeAttribute("aria-expanded")}):h.triggerTarget&&e.removeAttribute("aria-expanded"),Q(),j(),L&&L(v,h),i.popperInstance&&(Ge(),le().forEach(function(S){requestAnimationFrame(S._tippy.popperInstance.forceUpdate)})),k("onAfterUpdate",[i,s])}}function tt(s){i.setProps({content:s})}function Gn(){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Ae("show"));var s=i.state.isVisible,v=i.state.isDestroyed,h=!i.state.isEnabled,S=ee.isTouch&&!i.props.touch,E=dt(i.props.duration,0,W.duration);if(!(s||v||h||S)&&!R().hasAttribute("disabled")&&(k("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,I()&&(d.style.visibility="visible"),j(),G(),i.state.isMounted||(d.style.transition="none"),I()){var B=H(),Y=B.box,Te=B.content;vt([Y,Te],0)}O=function(){var me;if(!(!i.state.isVisible||p)){if(p=!0,d.offsetHeight,d.style.transition=i.props.moveTransition,I()&&i.props.animation){var ft=H(),nt=ft.box,xe=ft.content;vt([nt,xe],E),Kt([nt,xe],"visible")}Z(),Q(),Yt(mt,i),(me=i.popperInstance)==null||me.forceUpdate(),k("onMount",[i]),i.props.animation&&I()&&oe(E,function(){i.state.isShown=!0,k("onShown",[i])})}},ae()}}function Zn(){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Ae("hide"));var s=!i.state.isVisible,v=i.state.isDestroyed,h=!i.state.isEnabled,S=dt(i.props.duration,1,W.duration);if(!(s||v||h)&&(k("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,p=!1,l=!1,I()&&(d.style.visibility="hidden"),de(),ie(),j(!0),I()){var E=H(),B=E.box,Y=E.content;i.props.animation&&(vt([B,Y],S),Kt([B,Y],"hidden"))}Z(),Q(),i.props.animation?I()&&we(S,i.unmount):i.unmount()}}function Qn(s){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Ae("hideWithInteractivity")),F().addEventListener("mousemove",w),Yt(ot,w),w(s)}function Jn(){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Ae("unmount")),i.state.isVisible&&i.hide(),i.state.isMounted&&(Ze(),le().forEach(function(s){s._tippy.unmount()}),d.parentNode&&d.parentNode.removeChild(d),mt=mt.filter(function(s){return s!==i}),i.state.isMounted=!1,k("onHidden",[i]))}function er(){process.env.NODE_ENV!=="production"&&se(i.state.isDestroyed,Ae("destroy")),!i.state.isDestroyed&&(i.clearDelayTimeouts(),i.unmount(),qe(),delete e._tippy,i.state.isDestroyed=!0,k("onDestroy",[i]))}}function Pe(e,t){t===void 0&&(t={});var n=W.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&(Xi(e),$n(t,n)),Wi();var r=Object.assign({},t,{plugins:n}),o=Bi(e);if(process.env.NODE_ENV!=="production"){var a=He(r.content),l=o.length>1;se(a&&l,["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.",`
|
|
17
17
|
|
|
18
18
|
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
|
|
19
19
|
|
|
20
20
|
`,`1) content: element.innerHTML
|
|
21
|
-
`,"2) content: () => element.cloneNode(true)"].join(" "))}var u=o.reduce(function(c,p){var f=p&&no(p,r);return f&&c.push(f),c},[]);return
|
|
21
|
+
`,"2) content: () => element.cloneNode(true)"].join(" "))}var u=o.reduce(function(c,p){var f=p&&no(p,r);return f&&c.push(f),c},[]);return He(e)?u[0]:u}Pe.defaultProps=W;Pe.setDefaultProps=Qi;Pe.currentInput=ee;Object.assign({},Tn,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});var ro={name:"sticky",defaultValue:!1,fn:function(t){var n=t.reference,r=t.popper;function o(){return t.popperInstance?t.popperInstance.state.elements.reference:n}function a(p){return t.props.sticky===!0||t.props.sticky===p}var l=null,u=null;function c(){var p=a("reference")?o().getBoundingClientRect():null,f=a("popper")?r.getBoundingClientRect():null;(p&&tn(l,p)||f&&tn(u,f))&&t.popperInstance&&t.popperInstance.update(),l=p,u=f,t.state.isMounted&&requestAnimationFrame(c)}return{onMount:function(){t.props.sticky&&c()}}}};function tn(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}Pe.setDefaultProps({render:Un});const io=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),Fn=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Hn=[!0,!1,"reference","popper"],Wn=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,Pe(e,{...t,plugins:[ro],render:()=>so(n)})},zn=({boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=()=>{},hasHideModifierEnabled:r=!1,tether:o=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:r},{name:"preventOverflow",options:{altAxis:!o,tether:o}},io(({state:a})=>{n(a.placement)})]}),oo=e=>{const t=document.createElement("span");return t.innerText=e.innerText||"",e.innerText="",e.appendChild(t),t},ao=e=>{const t=e==null?void 0:e.children[0];return t||oo(e)},so=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},Yn=[...Fn],qn=300,Kn={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Xn=[...Hn],uo=[!0,!1,"toggle"],co={name:"DtTooltip",components:{DtLazyShow:wn},props:{id:{type:String,default(){return Ot()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(e){return Yn.includes(e)}},sticky:{type:[Boolean,String],default:!1,validator:e=>Xn.includes(e)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},enabled:{type:Boolean,default:!0},show:{type:Boolean,default:null},transition:{type:String,default:"fade"},contentAppear:{type:Boolean,default:!1},delay:{type:Boolean,default:!0},externalAnchor:{type:String,default:null}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:Kn,hasSlotContent:un,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement,isTouchDevice:!1}},computed:{isVisible(){var o,a;const e=!!((o=this.message)!=null&&o.trim()),t=!!((a=this.$slots)!=null&&a.default),n=!this.isTouchDevice;return this.isShown&&this.enabled&&(e||t)&&n},tooltipListeners(){return{"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:zn({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}},anchor(){return this.externalAnchor?document.body.querySelector(this.externalAnchor):ao(this.$refs.anchor)}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(e){e!==null&&(this.isShown=e)},immediate:!0},isShown(e){e?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(e){this.tip.setProps({sticky:e})}},mounted(){!this.enabled&&this.show!=null&&(console.warn("Tooltip: You cannot use both the enabled and show props at the same time."),console.warn("The show prop will be ignored.")),this.externalAnchor&&this.addExternalAnchorEventListeners(),this.tip=Wn(this.anchor,this.initOptions()),this.isShown&&this.tip.show()},beforeUnmount(){var e;this.externalAnchor&&this.removeExternalAnchorEventListeners(),this.tip&&((e=this.tip)==null||e.destroy())},methods:{calculateAnchorZindex(){return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||this.$el.closest(".d-zi-drawer")?651:400},hasVisibleFocus(){return this.anchor.matches(":focus-visible")},onEnterAnchor(e){this.isTouchDevice&&!e.relatedTarget||(this.delay?this.inTimer=setTimeout((function(t){this.triggerShow(t)}).bind(this,e),qn):this.triggerShow(e),this.isTouchDevice=!1)},triggerShow(e){e.type==="focusin"?this.show===null&&this.hasVisibleFocus()&&(this.isShown=!0):this.show===null&&(this.isShown=!0)},onLeaveAnchor(e){e.type==="keydown"&&e.code!=="Escape"||(clearTimeout(this.inTimer),this.triggerHide())},triggerHide(){this.show===null&&(this.isShown=!1)},onChangePlacement(e){this.currentPlacement=e},onLeaveTransitionComplete(){var e;(e=this.tip)==null||e.unmount(),this.$emit("shown",!1),this.show!==null&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),this.show!==null&&this.$emit("update:show",!0)},setProps(){this.tip&&this.tip.setProps&&this.tip.setProps({...this.tippyProps,zIndex:this.calculateAnchorZindex()})},onMount(){this.setProps()},initOptions(){return{contentElement:this.$refs.content.$el,allowHTML:!0,zIndex:this.calculateAnchorZindex(),onMount:this.onMount,...this.tippyProps}},addExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onLeaveAnchor(t))})},removeExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onLeaveAnchor(t))})},onTouchStart(){this.isTouchDevice=!0}}},lo={"data-qa":"dt-tooltip-container"};function fo(e,t,n,r,o,a){const l=x.resolveComponent("dt-lazy-show");return x.openBlock(),x.createElementBlock("div",lo,[n.externalAnchor?x.createCommentVNode("",!0):(x.openBlock(),x.createElementBlock("span",{key:0,ref:"anchor","data-qa":"dt-tooltip-anchor",onFocusin:t[0]||(t[0]=(...u)=>a.onEnterAnchor&&a.onEnterAnchor(...u)),onFocusout:t[1]||(t[1]=(...u)=>a.onLeaveAnchor&&a.onLeaveAnchor(...u)),onMouseenter:t[2]||(t[2]=(...u)=>a.onEnterAnchor&&a.onEnterAnchor(...u)),onMouseleave:t[3]||(t[3]=(...u)=>a.onLeaveAnchor&&a.onLeaveAnchor(...u)),onKeydown:t[4]||(t[4]=x.withKeys((...u)=>a.onLeaveAnchor&&a.onLeaveAnchor(...u),["esc"])),onTouchstart:t[5]||(t[5]=(...u)=>a.onTouchStart&&a.onTouchStart(...u))},[x.renderSlot(e.$slots,"anchor")],544)),x.createVNode(l,x.mergeProps({id:n.id,ref:"content",show:a.isVisible,role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:n.contentAppear,transition:n.transition,class:["d-tooltip",`d-tooltip__arrow-tippy--${o.currentPlacement}`,{[o.TOOLTIP_KIND_MODIFIERS.inverted]:n.inverted},n.contentClass]},x.toHandlers(a.tooltipListeners)),{default:x.withCtx(()=>[x.renderSlot(e.$slots,"default",{},()=>[x.createTextVNode(x.toDisplayString(n.message),1)])]),_:3},16,["id","show","appear","transition","class"])])}const po=At(co,[["render",fo]]);exports.BASE_TIPPY_DIRECTIONS=Fn;exports.DEFAULT_VALIDATION_MESSAGE_TYPE=nn;exports.DESCRIPTION_SIZE_MODIFIERS=rr;exports.DESCRIPTION_SIZE_TYPES=nr;exports.DtLazyShow=wn;exports.DtTooltip=po;exports.EVENT_KEYNAMES=or;exports.LABEL_SIZE_MODIFIERS=ir;exports.TIPPY_STICKY_VALUES=Hn;exports.TOOLTIP_DELAY_MS=qn;exports.TOOLTIP_DIRECTIONS=Yn;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=uo;exports.TOOLTIP_KIND_MODIFIERS=Kn;exports.TOOLTIP_STICKY_VALUES=Xn;exports.VALIDATION_MESSAGE_TYPES=fe;exports._export_sfc=At;exports.capitalizeFirstLetter=bn;exports.createTippy=Wn;exports.extractVueListeners=cn;exports.filterFormattedMessages=sn;exports.formatMessages=an;exports.getPhoneNumberRegex=xt;exports.getPopperOptions=zn;exports.getRandomElement=rn;exports.getUniqueString=Ot;exports.getValidationState=Tt;exports.hasSlotContent=un;exports.isOutOfViewPort=ln;exports.linkRegex=gn;exports.safeConcatStrings=yn;exports.tippy=Pe;exports.utils=Er;
|
|
@@ -3,22 +3,22 @@ const he = {
|
|
|
3
3
|
ERROR: "error",
|
|
4
4
|
WARNING: "warning",
|
|
5
5
|
SUCCESS: "success"
|
|
6
|
-
},
|
|
6
|
+
}, Lo = {
|
|
7
7
|
LARGE: "lg",
|
|
8
8
|
EXTRA_LARGE: "xl"
|
|
9
|
-
},
|
|
9
|
+
}, Ro = {
|
|
10
10
|
xs: "",
|
|
11
11
|
sm: "",
|
|
12
12
|
md: "",
|
|
13
13
|
lg: "d-description--lg",
|
|
14
14
|
xl: "d-description--xl"
|
|
15
|
-
},
|
|
15
|
+
}, Po = {
|
|
16
16
|
xs: "d-label--xs",
|
|
17
17
|
sm: "d-label--sm",
|
|
18
18
|
md: "",
|
|
19
19
|
lg: "d-label--lg",
|
|
20
20
|
xl: "d-label--xl"
|
|
21
|
-
},
|
|
21
|
+
}, Io = {
|
|
22
22
|
esc: "Esc",
|
|
23
23
|
escape: "Escape",
|
|
24
24
|
tab: "Tab",
|
|
@@ -158,7 +158,7 @@ function Sr(e) {
|
|
|
158
158
|
function Cr(e, t = "en-US") {
|
|
159
159
|
return e.replace(new RegExp("^\\p{CWU}", "u"), (n) => n.toLocaleUpperCase(t));
|
|
160
160
|
}
|
|
161
|
-
const
|
|
161
|
+
const No = {
|
|
162
162
|
getUniqueString: rn,
|
|
163
163
|
getRandomElement: ur,
|
|
164
164
|
getRandomInt: on,
|
|
@@ -2068,14 +2068,14 @@ const po = (e) => ({
|
|
|
2068
2068
|
};
|
|
2069
2069
|
}, Eo = [
|
|
2070
2070
|
...vo
|
|
2071
|
-
], Oo =
|
|
2071
|
+
], Oo = 300, xo = {
|
|
2072
2072
|
hover: "d-tooltip--hover",
|
|
2073
2073
|
show: "d-tooltip--show",
|
|
2074
2074
|
inverted: "d-tooltip--inverted",
|
|
2075
2075
|
hide: "d-tooltip--hide"
|
|
2076
|
-
},
|
|
2076
|
+
}, To = [
|
|
2077
2077
|
...ho
|
|
2078
|
-
],
|
|
2078
|
+
], Mo = [!0, !1, "toggle"], Ao = {
|
|
2079
2079
|
name: "DtTooltip",
|
|
2080
2080
|
components: {
|
|
2081
2081
|
DtLazyShow: Pr
|
|
@@ -2090,16 +2090,6 @@ const po = (e) => ({
|
|
|
2090
2090
|
return rn();
|
|
2091
2091
|
}
|
|
2092
2092
|
},
|
|
2093
|
-
/**
|
|
2094
|
-
* Sets the element to which the popover is going to append to.
|
|
2095
|
-
* 'body' will append to the nearest body (supports shadow DOM).
|
|
2096
|
-
* @values 'body', 'parent', HTMLElement,
|
|
2097
|
-
*/
|
|
2098
|
-
appendTo: {
|
|
2099
|
-
type: [HTMLElement, String],
|
|
2100
|
-
default: "body",
|
|
2101
|
-
validator: (e) => Oo.includes(e) || e instanceof HTMLElement
|
|
2102
|
-
},
|
|
2103
2093
|
/**
|
|
2104
2094
|
* If the popover does not fit in the direction described by "placement",
|
|
2105
2095
|
* it will attempt to change its direction to the "fallbackPlacements"
|
|
@@ -2180,7 +2170,7 @@ const po = (e) => ({
|
|
|
2180
2170
|
sticky: {
|
|
2181
2171
|
type: [Boolean, String],
|
|
2182
2172
|
default: !1,
|
|
2183
|
-
validator: (e) =>
|
|
2173
|
+
validator: (e) => To.includes(e)
|
|
2184
2174
|
},
|
|
2185
2175
|
/**
|
|
2186
2176
|
* Additional css classes for the tooltip content element.
|
|
@@ -2267,7 +2257,7 @@ const po = (e) => ({
|
|
|
2267
2257
|
],
|
|
2268
2258
|
data() {
|
|
2269
2259
|
return {
|
|
2270
|
-
TOOLTIP_KIND_MODIFIERS:
|
|
2260
|
+
TOOLTIP_KIND_MODIFIERS: xo,
|
|
2271
2261
|
hasSlotContent: vr,
|
|
2272
2262
|
tip: null,
|
|
2273
2263
|
inTimer: null,
|
|
@@ -2278,8 +2268,6 @@ const po = (e) => ({
|
|
|
2278
2268
|
// the placement prop when there is not enough available room for the tip
|
|
2279
2269
|
// to display and it uses a fallback placement.
|
|
2280
2270
|
currentPlacement: this.placement,
|
|
2281
|
-
// reference to the anchor element
|
|
2282
|
-
anchor: null,
|
|
2283
2271
|
// flag check touch based device
|
|
2284
2272
|
isTouchDevice: !1
|
|
2285
2273
|
};
|
|
@@ -2302,13 +2290,10 @@ const po = (e) => ({
|
|
|
2302
2290
|
};
|
|
2303
2291
|
},
|
|
2304
2292
|
tippyProps() {
|
|
2305
|
-
var t, n;
|
|
2306
|
-
const e = this.appendTo === "body" ? (n = (t = this.anchor) == null ? void 0 : t.getRootNode()) == null ? void 0 : n.querySelector("body") : this.appendTo;
|
|
2307
2293
|
return {
|
|
2308
2294
|
offset: this.offset,
|
|
2309
2295
|
interactive: !1,
|
|
2310
2296
|
trigger: "manual",
|
|
2311
|
-
appendTo: e,
|
|
2312
2297
|
placement: this.placement,
|
|
2313
2298
|
sticky: this.sticky,
|
|
2314
2299
|
popperOptions: go({
|
|
@@ -2317,6 +2302,9 @@ const po = (e) => ({
|
|
|
2317
2302
|
onChangePlacement: this.onChangePlacement
|
|
2318
2303
|
})
|
|
2319
2304
|
};
|
|
2305
|
+
},
|
|
2306
|
+
anchor() {
|
|
2307
|
+
return this.externalAnchor ? document.body.querySelector(this.externalAnchor) : bo(this.$refs.anchor);
|
|
2320
2308
|
}
|
|
2321
2309
|
},
|
|
2322
2310
|
watch: {
|
|
@@ -2331,19 +2319,16 @@ const po = (e) => ({
|
|
|
2331
2319
|
immediate: !0
|
|
2332
2320
|
},
|
|
2333
2321
|
isShown(e) {
|
|
2334
|
-
|
|
2335
|
-
e ? (this.setProps(), (t = this.tip) == null || t.show()) : (n = this.tip) == null || n.hide();
|
|
2322
|
+
e ? (this.setProps(), this.tip.show()) : this.tip.hide();
|
|
2336
2323
|
},
|
|
2337
2324
|
sticky(e) {
|
|
2338
|
-
|
|
2339
|
-
(t = this.tip) == null || t.setProps({
|
|
2325
|
+
this.tip.setProps({
|
|
2340
2326
|
sticky: e
|
|
2341
2327
|
});
|
|
2342
2328
|
}
|
|
2343
2329
|
},
|
|
2344
|
-
// eslint-disable-next-line complexity
|
|
2345
2330
|
mounted() {
|
|
2346
|
-
!this.enabled && this.show != null && (console.warn("Tooltip: You cannot use both the enabled and show props at the same time."), console.warn("The show prop will be ignored.")), this.
|
|
2331
|
+
!this.enabled && this.show != null && (console.warn("Tooltip: You cannot use both the enabled and show props at the same time."), console.warn("The show prop will be ignored.")), this.externalAnchor && this.addExternalAnchorEventListeners(), this.tip = mo(this.anchor, this.initOptions()), this.isShown && this.tip.show();
|
|
2347
2332
|
},
|
|
2348
2333
|
beforeUnmount() {
|
|
2349
2334
|
var e;
|
|
@@ -2361,7 +2346,7 @@ const po = (e) => ({
|
|
|
2361
2346
|
onEnterAnchor(e) {
|
|
2362
2347
|
this.isTouchDevice && !e.relatedTarget || (this.delay ? this.inTimer = setTimeout((function(t) {
|
|
2363
2348
|
this.triggerShow(t);
|
|
2364
|
-
}).bind(this, e),
|
|
2349
|
+
}).bind(this, e), Oo) : this.triggerShow(e), this.isTouchDevice = !1);
|
|
2365
2350
|
},
|
|
2366
2351
|
triggerShow(e) {
|
|
2367
2352
|
e.type === "focusin" ? this.show === null && this.hasVisibleFocus() && (this.isShown = !0) : this.show === null && (this.isShown = !0);
|
|
@@ -2391,16 +2376,12 @@ const po = (e) => ({
|
|
|
2391
2376
|
onMount() {
|
|
2392
2377
|
this.setProps();
|
|
2393
2378
|
},
|
|
2394
|
-
onCreate(e) {
|
|
2395
|
-
this.isShown && e.show();
|
|
2396
|
-
},
|
|
2397
2379
|
initOptions() {
|
|
2398
2380
|
return {
|
|
2399
2381
|
contentElement: this.$refs.content.$el,
|
|
2400
2382
|
allowHTML: !0,
|
|
2401
2383
|
zIndex: this.calculateAnchorZindex(),
|
|
2402
2384
|
onMount: this.onMount,
|
|
2403
|
-
onCreate: this.onCreate,
|
|
2404
2385
|
...this.tippyProps
|
|
2405
2386
|
};
|
|
2406
2387
|
},
|
|
@@ -2422,10 +2403,10 @@ const po = (e) => ({
|
|
|
2422
2403
|
this.isTouchDevice = !0;
|
|
2423
2404
|
}
|
|
2424
2405
|
}
|
|
2425
|
-
},
|
|
2426
|
-
function
|
|
2406
|
+
}, Do = { "data-qa": "dt-tooltip-container" };
|
|
2407
|
+
function So(e, t, n, r, o, a) {
|
|
2427
2408
|
const l = Qn("dt-lazy-show");
|
|
2428
|
-
return mt(), It("div",
|
|
2409
|
+
return mt(), It("div", Do, [
|
|
2429
2410
|
n.externalAnchor ? nn("", !0) : (mt(), It("span", {
|
|
2430
2411
|
key: 0,
|
|
2431
2412
|
ref: "anchor",
|
|
@@ -2466,12 +2447,12 @@ function Co(e, t, n, r, o, a) {
|
|
|
2466
2447
|
}, 16, ["id", "show", "appear", "transition", "class"])
|
|
2467
2448
|
]);
|
|
2468
2449
|
}
|
|
2469
|
-
const
|
|
2450
|
+
const jo = /* @__PURE__ */ vn(Ao, [["render", So]]);
|
|
2470
2451
|
export {
|
|
2471
2452
|
vo as B,
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2453
|
+
jo as D,
|
|
2454
|
+
Io as E,
|
|
2455
|
+
Po as L,
|
|
2475
2456
|
Eo as T,
|
|
2476
2457
|
he as V,
|
|
2477
2458
|
vn as _,
|
|
@@ -2480,7 +2461,7 @@ export {
|
|
|
2480
2461
|
Pr as c,
|
|
2481
2462
|
go as d,
|
|
2482
2463
|
mo as e,
|
|
2483
|
-
|
|
2464
|
+
Oo as f,
|
|
2484
2465
|
rn as g,
|
|
2485
2466
|
vr as h,
|
|
2486
2467
|
yr as i,
|
|
@@ -2489,15 +2470,15 @@ export {
|
|
|
2489
2470
|
xr as l,
|
|
2490
2471
|
lr as m,
|
|
2491
2472
|
an as n,
|
|
2492
|
-
|
|
2473
|
+
Ro as o,
|
|
2493
2474
|
Cr as p,
|
|
2494
|
-
|
|
2475
|
+
Lo as q,
|
|
2495
2476
|
ir as r,
|
|
2496
2477
|
Sr as s,
|
|
2497
2478
|
ze as t,
|
|
2498
|
-
|
|
2479
|
+
No as u,
|
|
2499
2480
|
fr as v,
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2481
|
+
xo as w,
|
|
2482
|
+
To as x,
|
|
2483
|
+
Mo as y
|
|
2503
2484
|
};
|
|
@@ -6,19 +6,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
default(): string;
|
|
8
8
|
};
|
|
9
|
-
/**
|
|
10
|
-
* Sets the element to which the popover is going to append to.
|
|
11
|
-
* 'body' will append to the nearest body (supports shadow DOM).
|
|
12
|
-
* @values 'body', 'parent', HTMLElement,
|
|
13
|
-
*/
|
|
14
|
-
appendTo: {
|
|
15
|
-
type: (StringConstructor | {
|
|
16
|
-
new (): HTMLElement;
|
|
17
|
-
prototype: HTMLElement;
|
|
18
|
-
})[];
|
|
19
|
-
default: string;
|
|
20
|
-
validator: (appendTo: unknown) => boolean;
|
|
21
|
-
};
|
|
22
9
|
/**
|
|
23
10
|
* If the popover does not fit in the direction described by "placement",
|
|
24
11
|
* it will attempt to change its direction to the "fallbackPlacements"
|
|
@@ -178,7 +165,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
178
165
|
inTimer: null;
|
|
179
166
|
isShown: boolean;
|
|
180
167
|
currentPlacement: string;
|
|
181
|
-
anchor: null;
|
|
182
168
|
isTouchDevice: boolean;
|
|
183
169
|
}, {
|
|
184
170
|
isVisible(): boolean;
|
|
@@ -190,7 +176,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
190
176
|
offset: unknown[];
|
|
191
177
|
interactive: boolean;
|
|
192
178
|
trigger: string;
|
|
193
|
-
appendTo: any;
|
|
194
179
|
placement: string;
|
|
195
180
|
sticky: string | boolean;
|
|
196
181
|
popperOptions: {
|
|
@@ -225,6 +210,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
225
210
|
})[];
|
|
226
211
|
};
|
|
227
212
|
};
|
|
213
|
+
anchor(): any;
|
|
228
214
|
}, {
|
|
229
215
|
calculateAnchorZindex(): 651 | 400;
|
|
230
216
|
hasVisibleFocus(): any;
|
|
@@ -237,12 +223,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
223
|
onEnterTransitionComplete(): void;
|
|
238
224
|
setProps(): void;
|
|
239
225
|
onMount(): void;
|
|
240
|
-
onCreate(instance: any): void;
|
|
241
226
|
initOptions(): {
|
|
242
227
|
offset: unknown[];
|
|
243
228
|
interactive: boolean;
|
|
244
229
|
trigger: string;
|
|
245
|
-
appendTo: any;
|
|
246
230
|
placement: string;
|
|
247
231
|
sticky: string | boolean;
|
|
248
232
|
popperOptions: {
|
|
@@ -280,7 +264,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
280
264
|
allowHTML: boolean;
|
|
281
265
|
zIndex: number;
|
|
282
266
|
onMount: () => void;
|
|
283
|
-
onCreate: (instance: any) => void;
|
|
284
267
|
};
|
|
285
268
|
addExternalAnchorEventListeners(): void;
|
|
286
269
|
removeExternalAnchorEventListeners(): void;
|
|
@@ -293,19 +276,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
276
|
type: StringConstructor;
|
|
294
277
|
default(): string;
|
|
295
278
|
};
|
|
296
|
-
/**
|
|
297
|
-
* Sets the element to which the popover is going to append to.
|
|
298
|
-
* 'body' will append to the nearest body (supports shadow DOM).
|
|
299
|
-
* @values 'body', 'parent', HTMLElement,
|
|
300
|
-
*/
|
|
301
|
-
appendTo: {
|
|
302
|
-
type: (StringConstructor | {
|
|
303
|
-
new (): HTMLElement;
|
|
304
|
-
prototype: HTMLElement;
|
|
305
|
-
})[];
|
|
306
|
-
default: string;
|
|
307
|
-
validator: (appendTo: unknown) => boolean;
|
|
308
|
-
};
|
|
309
279
|
/**
|
|
310
280
|
* If the popover does not fit in the direction described by "placement",
|
|
311
281
|
* it will attempt to change its direction to the "fallbackPlacements"
|
|
@@ -465,7 +435,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
465
435
|
show: boolean;
|
|
466
436
|
offset: unknown[];
|
|
467
437
|
fallbackPlacements: unknown[];
|
|
468
|
-
appendTo: string | HTMLElement;
|
|
469
438
|
delay: boolean;
|
|
470
439
|
placement: string;
|
|
471
440
|
sticky: string | boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip.vue.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip.vue.js"],"names":[],"mappings":";IA6BI;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAtKH;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;+BA3LyC,gBAAgB"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export const TOOLTIP_DIRECTIONS: string[];
|
|
2
|
-
export const TOOLTIP_APPEND_TO_VALUES: string[];
|
|
3
2
|
export const TOOLTIP_DELAY_MS: 300;
|
|
4
3
|
export namespace TOOLTIP_KIND_MODIFIERS {
|
|
5
4
|
let hover: string;
|
|
@@ -11,7 +10,6 @@ export const TOOLTIP_STICKY_VALUES: (string | boolean)[];
|
|
|
11
10
|
export const TOOLTIP_HIDE_ON_CLICK_VARIANTS: (string | boolean)[];
|
|
12
11
|
declare namespace _default {
|
|
13
12
|
export { TOOLTIP_DIRECTIONS };
|
|
14
|
-
export { TOOLTIP_APPEND_TO_VALUES };
|
|
15
13
|
export { TOOLTIP_DELAY_MS };
|
|
16
14
|
export { TOOLTIP_KIND_MODIFIERS };
|
|
17
15
|
export { TOOLTIP_STICKY_VALUES };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip_constants.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip_constants.js"],"names":[],"mappings":"AAKA,0CAEE;
|
|
1
|
+
{"version":3,"file":"tooltip_constants.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip_constants.js"],"names":[],"mappings":"AAKA,0CAEE;AAEF,mCAAoC;;;;;;;AASpC,yDAEE;AAEF,kEAAsE"}
|