@dialpad/dialtone-vue 3.6.0 → 3.9.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/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +6311 -5835
- package/dist/dialtone-vue.umd.js +6311 -5835
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +5 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["dialtone-vue"]=t(require("vue")):e["dialtone-vue"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(e=>(()=>{var t={344:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".dt-keyboard-shortcut__svg{width:1em;height:1em}.dt-keyboard-shortcut__svg path{fill:currentColor}",""]);const l=r},161:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".dt-default-list-item,.dt-default-list-item--left,.dt-default-list-item--right{min-height:28px}",""]);const l=r},715:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:hsla(var(--black-400-h),var(--black-400-s),var(--black-400-l),.15);cursor:pointer}.dt-list-item:focus-visible{outline-color:var(--primary-color)}",""]);const l=r},486:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,'.dt-list-section[tabindex="-1"]:focus{outline:none}',""]);const l=r},618:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".tippy-box[data-popper-escaped] .d-popover__dialog,.tippy-box[data-popper-reference-hidden] .d-popover__dialog{visibility:hidden;pointer-events:none}",""]);const l=r},215:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".root-layout__header--sticky{position:-webkit-sticky;position:sticky;top:0}",""]);const l=r},50:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".root-layout__body{display:flex;flex-wrap:wrap;gap:0}.root-layout__body--invert{flex-direction:row-reverse}.root-layout__sidebar{flex-grow:1}.root-layout__content{flex-basis:0;flex-grow:999}",""]);const l=r},13:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}50%{fill:var(--placeholder-to-color,var(--black-025));background:var(--placeholder-to-color,var(--black-025))}90%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}}",""]);const l=r},258:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[data-popper-reference-hidden] .d-tooltip{visibility:hidden;pointer-events:none}",""]);const l=r},669:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".d-top-banner-info__left{margin:var(--su4) 0 var(--su4) var(--su8);min-width:20%}.d-top-banner-info__right{margin:var(--su4) var(--su12) var(--su4) 0;min-width:20%}",""]);const l=r},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o="undefined"!==typeof t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,i,a){"string"===typeof e&&(e=[[null,e,void 0]]);var s={};if(o)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(s[l]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);o&&s[d[0]]||("undefined"!==typeof a&&("undefined"===typeof d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},809:e=>{e.exports=()=>/(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDD-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF6](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC2\uDED0-\uDED9\uDEE0-\uDEE7]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/g},744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n}},941:(e,t,n)=>{var o=n(344);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("05c1dc42",o,!0,{sourceMap:!1,shadowMode:!1})},566:(e,t,n)=>{var o=n(161);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("ec7688f6",o,!0,{sourceMap:!1,shadowMode:!1})},988:(e,t,n)=>{var o=n(715);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("63c88122",o,!0,{sourceMap:!1,shadowMode:!1})},237:(e,t,n)=>{var o=n(486);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("c13b1f5e",o,!0,{sourceMap:!1,shadowMode:!1})},425:(e,t,n)=>{var o=n(618);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("f10ecbc6",o,!0,{sourceMap:!1,shadowMode:!1})},257:(e,t,n)=>{var o=n(215);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("db7fdad2",o,!0,{sourceMap:!1,shadowMode:!1})},683:(e,t,n)=>{var o=n(50);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("874d1402",o,!0,{sourceMap:!1,shadowMode:!1})},195:(e,t,n)=>{var o=n(13);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("28dcd7f8",o,!0,{sourceMap:!1,shadowMode:!1})},730:(e,t,n)=>{var o=n(258);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("66f843dc",o,!0,{sourceMap:!1,shadowMode:!1})},964:(e,t,n)=>{var o=n(669);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("d87f2094",o,!0,{sourceMap:!1,shadowMode:!1})},402:(e,t,n)=>{"use strict";function o(e,t){for(var n=[],o={},i=0;i<t.length;i++){var a=t[i],s=a[0],r=a[1],l=a[2],u=a[3],d={id:e+":"+i,css:r,media:l,sourceMap:u};o[s]?o[s].parts.push(d):n.push(o[s]={id:s,parts:[d]})}return n}n.d(t,{Z:()=>D});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},s=i&&(document.head||document.getElementsByTagName("head")[0]),r=null,l=0,u=!1,d=function(){},c=null,p="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function D(e,t,n,i){u=n,c=i||{};var s=o(e,t);return m(s),function(t){for(var n=[],i=0;i<s.length;i++){var r=s[i],l=a[r.id];l.refs--,n.push(l)}t?(s=o(e,t),m(s)):s=[];for(i=0;i<n.length;i++){l=n[i];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete a[l.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],o=a[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(g(n.parts[i]));o.parts.length>n.parts.length&&(o.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(g(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:s}}}}function f(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function g(e){var t,n,o=document.querySelector("style["+p+'~="'+e.id+'"]');if(o){if(u)return d;o.parentNode.removeChild(o)}if(h){var i=l++;o=r||(r=f()),t=b.bind(null,o,i,!1),n=b.bind(null,o,i,!0)}else o=f(),t=y.bind(null,o),n=function(){o.parentNode.removeChild(o)};return t(e),function(o){if(o){if(o.css===e.css&&o.media===e.media&&o.sourceMap===e.sourceMap)return;t(e=o)}else n()}}var v=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function b(e,t,n,o){var i=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var a=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(a,s[t]):e.appendChild(a)}}function y(e,t){var n=t.css,o=t.media,i=t.sourceMap;if(o&&e.setAttribute("media",o),c.ssrId&&e.setAttribute(p,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},203:t=>{"use strict";t.exports=e}},n={};function o(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}o.m=t,(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return o.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;o.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"===typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"===typeof n.then)return n}var a=Object.create(null);o.r(a);var s={};e=e||[null,t({}),t([]),t(t)];for(var r=2&i&&n;"object"==typeof r&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((e=>s[e]=()=>n[e]));return s["default"]=()=>n,o.d(a,s),a}})(),(()=>{o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[]))})(),(()=>{o.u=e=>"dialtone-vue.umd.min."+e+".js"})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="dialtone-vue:";o.l=(n,i,a,s)=>{if(e[n])e[n].push(i);else{var r,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),d=0;d<u.length;d++){var c=u[d];if(c.getAttribute("src")==n||c.getAttribute("data-webpack")==t+a){r=c;break}}r||(l=!0,r=document.createElement("script"),r.charset="utf-8",r.timeout=120,o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",t+a),r.src=n),e[n]=[i];var p=(t,o)=>{r.onerror=r.onload=null,clearTimeout(h);var i=e[n];if(delete e[n],r.parentNode&&r.parentNode.removeChild(r),i&&i.forEach((e=>e(o))),t)return t(o)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=p.bind(null,r.onerror),r.onload=p.bind(null,r.onload),l&&document.head.appendChild(r)}}})(),(()=>{o.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{o.p=""})(),(()=>{var e={172:0};o.f.j=(t,n)=>{var i=o.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var a=new Promise(((n,o)=>i=e[t]=[n,o]));n.push(i[2]=a);var s=o.p+o.u(t),r=new Error,l=n=>{if(o.o(e,t)&&(i=e[t],0!==i&&(e[t]=void 0),i)){var a=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;r.message="Loading chunk "+t+" failed.\n("+a+": "+s+")",r.name="ChunkLoadError",r.type=a,r.request=s,i[1](r)}};o.l(s,l,"chunk-"+t,t)}};var t=(t,n)=>{var i,a,s=n[0],r=n[1],l=n[2],u=0;if(s.some((t=>0!==e[t]))){for(i in r)o.o(r,i)&&(o.m[i]=r[i]);if(l)l(o)}for(t&&t(n);u<s.length;u++)a=s[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=("undefined"!==typeof self?self:this)["webpackChunkdialtone_vue"]=("undefined"!==typeof self?self:this)["webpackChunkdialtone_vue"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i={};return(()=>{"use strict";if(o.r(i),o.d(i,{AVATAR_COLOR_MODIFIERS:()=>u,AVATAR_KIND_MODIFIERS:()=>r,AVATAR_SIZE_MODIFIERS:()=>l,BADGE_COLOR_MODIFIERS:()=>P,BREADCRUMBS_INVERTED_MODIFIER:()=>wt,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>Bt,BUTTON_GROUP_ALIGNMENT:()=>$t,CHIP_SIZE_MODIFIERS:()=>Ql,COLOR_CODES:()=>wc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>D,DESCRIPTION_SIZE_TYPES:()=>c,DtAvatar:()=>T,DtBadge:()=>$,DtBanner:()=>Et,DtBreadcrumbItem:()=>Tt,DtBreadcrumbs:()=>Vt,DtButton:()=>pt,DtButtonGroup:()=>Kt,DtCheckableInputMixin:()=>sr,DtCheckbox:()=>Kl,DtCheckboxGroup:()=>ql,DtChip:()=>tu,DtCombobox:()=>Qt,DtDropdown:()=>ja,DtEmoji:()=>Rs,DtGroupableInputMixin:()=>rr,DtInput:()=>cr,DtInputGroup:()=>vr,DtInputGroupMixin:()=>mr,DtInputMixin:()=>ar,DtKeyboardListNavigationMixin:()=>Ut,DtKeyboardShortcut:()=>Md,DtLazyShow:()=>xa,DtLink:()=>_t,DtListItem:()=>Jr,DtListSection:()=>$r,DtModal:()=>Or,DtNotice:()=>ol,DtPopover:()=>Na,DtRadio:()=>cl,DtRadioGroup:()=>Dl,DtRecipeComboboxMultiSelect:()=>dc,DtRecipeComboboxWithPopover:()=>ec,DtRecipeContactInfo:()=>Cc,DtRecipeTopBannerInfo:()=>Ic,DtRootLayout:()=>Ud,DtSelectMenu:()=>mu,DtSkeleton:()=>Vs,DtSkeletonListItem:()=>Ts,DtSkeletonParagraph:()=>_s,DtSkeletonShape:()=>ys,DtSkeletonText:()=>ks,DtTab:()=>Il,DtTabGroup:()=>Bl,DtTabPanel:()=>Tl,DtToast:()=>Fu,DtToggle:()=>Au,DtTooltip:()=>Ru,DtValidationMessages:()=>ir,EMOJI_SIZES:()=>Ha,INPUT_SIZES:()=>Qs,INPUT_TYPES:()=>Ys,LINK_KIND_MODIFIERS:()=>ut,LINK_VARIANTS:()=>lt,MODAL_KIND_MODIFIERS:()=>wr,MODAL_SIZE_MODIFIERS:()=>kr,NOTICE_KINDS:()=>we,POPOVER_CONTENT_WIDTHS:()=>Fa,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>Ca,POPOVER_INITIAL_FOCUS_STRINGS:()=>Sa,POPOVER_PADDING_CLASSES:()=>ya,POPOVER_ROLES:()=>Ea,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>Kd,SELECT_SIZE_MODIFIERS:()=>ru,SELECT_STATE_MODIFIERS:()=>lu,SHORTCUTS_ALIASES:()=>Ad,SHORTCUTS_ALIASES_LIST:()=>Nd,SHORTCUTS_ICON_ALIASES:()=>Ld,SHORTCUTS_ICON_SEPARATOR:()=>Td,SKELETON_HEADING_HEIGHTS:()=>fs,SKELETON_RIPPLE_DURATION:()=>ps,SKELETON_SHAPES:()=>hs,SKELETON_SHAPE_SIZES:()=>ms,SKELETON_TEXT_TYPES:()=>Ds,TAB_IMPORTANCE_MODIFIERS:()=>El,TAB_LIST_IMPORTANCE_MODIFIERS:()=>Cl,TAB_LIST_KIND_MODIFIERS:()=>yl,TAB_LIST_SIZES:()=>vl,TOAST_ROLES:()=>bu,TOOLTIP_DIRECTIONS:()=>Nu,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>Vu,TOOLTIP_KIND_MODIFIERS:()=>Pu,USER_STATUS_COLOR_MODIFIERS:()=>vc,VALIDATION_MESSAGE_TYPES:()=>d,codeToEmojiData:()=>ss,defaultEmojiAssetUrl:()=>Ua,emojiFileExtensionLarge:()=>Xa,emojiFileExtensionSmall:()=>Ya,emojiImageUrlLarge:()=>Qa,emojiImageUrlSmall:()=>Ga,emojiJson:()=>Ja,emojiVersion:()=>Za,filterFormattedMessages:()=>S,findEmojis:()=>ls,findShortCodes:()=>rs,formatMessages:()=>F,getEmojiJson:()=>es,getUniqueString:()=>E,getValidationState:()=>B,setEmojiAssetUrlLarge:()=>ns,setEmojiAssetUrlSmall:()=>ts,shortcodeToEmojiData:()=>os,stringToUnicode:()=>as,unicodeToString:()=>is,validationMessageValidator:()=>tr}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(o.p=t[1])}var n=o(203);const a=["id"];function s(e,t,o,i,s,r){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{id:o.id,class:(0,n.normalizeClass)(["d-avatar",s.AVATAR_KIND_MODIFIERS[s.kind],s.AVATAR_SIZE_MODIFIERS[o.size],s.AVATAR_COLOR_MODIFIERS[o.color],o.avatarClass]),"data-qa":"dt-avatar"},[(0,n.renderSlot)(e.$slots,"default")],10,a)}const r={default:"",icon:"d-avatar--icon",initials:"d-avatar--initials"},l={sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg"},u={base:"","orange-200":"d-avatar--orange-200","orange-300":"d-avatar--orange-300","orange-400":"d-avatar--orange-400","orange-500":"d-avatar--orange-500","pink-300":"d-avatar--pink-300","pink-400":"d-avatar--pink-400","pink-500":"d-avatar--pink-500","pink-600":"d-avatar--pink-600","purple-200":"d-avatar--purple-200","purple-300":"d-avatar--purple-300","purple-500":"d-avatar--purple-500","purple-600":"d-avatar--purple-600","yellow-200":"d-avatar--yellow-200","yellow-300":"d-avatar--yellow-300","yellow-400":"d-avatar--yellow-400","yellow-500":"d-avatar--yellow-500"},d={ERROR:"error",WARNING:"warning",SUCCESS:"success"},c={LARGE:"lg",EXTRA_LARGE:"xl"},p={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},h={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},D=d.ERROR,m="dt";let f=0;const g="input:not([type=hidden]):not(:disabled)",v="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",b="".concat(g,",").concat(v),y="a,frame,iframe,".concat(b,",*[tabindex]"),C="function"===typeof setImmediate?setImmediate:setTimeout;function E(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m;return"".concat(e).concat(f++)}function F(e){return e?e.map((e=>"string"===typeof e?{message:e,type:D}:e)):[]}function S(e){const t=B(e);return e&&t?e.filter((e=>!!e.message&&e.type===t)):[]}function B(e){return e?w(e,d.ERROR)?d.ERROR:w(e,d.WARNING)?d.WARNING:w(e,d.SUCCESS)?d.SUCCESS:null:null}function w(e,t){return!(!e||!t)&&e.some((e=>(null===e||void 0===e?void 0:e.type)===t))}function k(e){return null===e||void 0===e?void 0:e.querySelector(y)}const x=e=>(0,n.h)("div",{innerHTML:e.html}),I=()=>new Promise((e=>{C(e)})),O={getUniqueString:E,formatMessages:F,filterFormattedMessages:S,hasFormattedMessageOfType:w,getValidationState:B,htmlFragment:x,flushPromises:I},_={name:"DtAvatar",inheritAttrs:!1,props:{id:{type:String,default(){return E()}},size:{type:String,default:"md",validator:e=>Object.keys(l).includes(e)},color:{type:String,default:"base",validator:e=>Object.keys(u).includes(e)},avatarClass:{type:[String,Array,Object],default:""}},data(){return{kind:"initials",AVATAR_SIZE_MODIFIERS:l,AVATAR_COLOR_MODIFIERS:u,AVATAR_KIND_MODIFIERS:r}},mounted(){this.init()},updated(){this.init()},methods:{init(){const e=this.$el.children[0];e&&(this.setKind(e),this.validateImageAttrsPresence())},setKind(e){this.isSvgType(e)?this.kind="icon":this.isImageType(e)?this.kind="image":this.kind="initials"},isSvgType(e){var t;return"SVG"===(null===e||void 0===e||null===(t=e.tagName)||void 0===t?void 0:t.toUpperCase())},isImageType(e){var t;return"IMG"===(null===e||void 0===e||null===(t=e.tagName)||void 0===t?void 0:t.toUpperCase())},validateImageAttrsPresence(){"image"===this.kind&&(this.$el.children[0].getAttribute("src")&&this.$el.children[0].getAttribute("alt")||(0,n.warn)("src and alt attributes are required for image avatars",this))}}};var A=o(744);const L=(0,A.Z)(_,[["render",s]]),T=L;function N(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("span",{class:(0,n.normalizeClass)(["d-badge",a.BADGE_COLOR_MODIFIERS[o.color]]),"data-qa":"dt-badge"},[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.text),1)]))],2)}const P={base:"","black-700":"d-badge--black-700","green-400":"d-badge--green-400","orange-400":"d-badge--orange-400","pink-300":"d-badge--pink-300","pink-500":"d-badge--pink-500","pink-600":"d-badge--pink-600","pink-700":"d-badge--pink-700","purple-100":"d-badge--purple-100","purple-300":"d-badge--purple-300","purple-500":"d-badge--purple-500","purple-700":"d-badge--purple-700","red-500":"d-badge--red-500",white:"d-badge--white","yellow-300":"d-badge--yellow-300"},V={name:"DtBadge",props:{text:{type:String,default:""},color:{type:String,default:"base",validator:e=>Object.keys(P).includes(e)}},data(){return{BADGE_COLOR_MODIFIERS:P}}},M=(0,A.Z)(V,[["render",N]]),$=M,R=["role"],j=["aria-labelledby","aria-describedby"];function K(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-notice-icon"),l=(0,n.resolveComponent)("dt-notice-content"),u=(0,n.resolveComponent)("dt-notice-action");return(0,n.openBlock)(),(0,n.createElementBlock)("aside",{class:(0,n.normalizeClass)(s.bannerClass),role:s.role,onKeydown:t[1]||(t[1]=(0,n.withKeys)((function(){return s.trapFocus&&s.trapFocus(...arguments)}),["tab"]))},[(0,n.createElementVNode)("div",{class:"d-banner__dialog","aria-labelledby":o.titleId,"aria-describedby":o.contentId},[(0,n.createVNode)(r,{kind:o.kind},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"icon")])),_:3},8,["kind"]),(0,n.createVNode)(l,{"title-id":o.titleId,"content-id":o.contentId,title:o.title},{titleOverride:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"titleOverride")])),default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},8,["title-id","content-id","title"]),(0,n.createVNode)(u,{"hide-close":o.hideClose,"close-button-props":o.closeButtonProps,onClose:t[0]||(t[0]=t=>e.$emit("close"))},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"action")])),_:3},8,["hide-close","close-button-props"])],8,j)],42,R)}const z={key:0,"aria-hidden":"true",class:"d-notice__icon"};function H(e,t,o,i,a,s){return s.defaultIcon||e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",z,[(0,n.renderSlot)(e.$slots,"default",{},(()=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.defaultIcon)))]))])):(0,n.createCommentVNode)("",!0)}const q={"aria-hidden":"true","aria-label":"Lightbulb",class:"d-svg d-svg--system d-svg__lightbulb",viewBox:"0 0 24 24"},W=(0,n.createElementVNode)("path",{d:"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7z"},null,-1),Z=[W];function U(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",q,Z)}const G={},Y=(0,A.Z)(G,[["render",U]]),Q=Y,X={"aria-hidden":"true","aria-label":"Info",class:"d-svg d-svg--system d-svg__info",viewBox:"0 0 24 24"},J=(0,n.createElementVNode)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"},null,-1),ee=[J];function te(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",X,ee)}const ne={},oe=(0,A.Z)(ne,[["render",te]]),ie=oe,ae={"aria-hidden":"true","aria-label":"Warning",class:"d-svg d-svg--system d-svg__warning",viewBox:"0 0 24 24"},se=(0,n.createElementVNode)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"},null,-1),re=[se];function le(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",ae,re)}const ue={},de=(0,A.Z)(ue,[["render",le]]),ce=de,pe={"aria-hidden":"true","aria-label":"Error",class:"d-svg d-svg--system d-svg__error",viewBox:"0 0 24 24"},he=(0,n.createElementVNode)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},null,-1),De=[he];function me(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",pe,De)}const fe={},ge=(0,A.Z)(fe,[["render",me]]),ve=ge,be={"aria-hidden":"true","aria-label":"Check Circle",class:"d-svg d-svg--system d-svg__checkCircle",viewBox:"0 0 24 24"},ye=(0,n.createElementVNode)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"},null,-1),Ce=[ye];function Ee(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",be,Ce)}const Fe={},Se=(0,A.Z)(Fe,[["render",Ee]]),Be=Se,we=["base","error","info","success","warning"],ke=["alert","alertdialog","status"],xe=new Map([["info","IconInfo"],["success","IconCheckCircle"],["warning","IconWarning"],["error","IconError"],["base","IconLightbulb"]]),Ie={name:"DtNoticeIcon",components:{IconLightbulb:Q,IconInfo:ie,IconWarning:ce,IconError:ve,IconCheckCircle:Be},props:{kind:{type:String,default:"base",validate(e){return we.includes(e)}}},computed:{defaultIcon(){return xe.get(this.kind)}}},Oe=(0,A.Z)(Ie,[["render",H]]),_e=Oe,Ae={class:"d-notice__content","data-qa":"notice-content"},Le=["id"],Te=["id"];function Ne(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",Ae,[o.title||e.$slots.titleOverride?((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:0,id:o.titleId,class:"d-notice__title","data-qa":"notice-content-title"},[(0,n.renderSlot)(e.$slots,"titleOverride",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.title),1)]))],8,Le)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("p",{id:o.contentId,class:"d-notice__message","data-qa":"notice-content-message"},[(0,n.renderSlot)(e.$slots,"default")],8,Te)])}const Pe={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},Ve=(0,A.Z)(Pe,[["render",Ne]]),Me=Ve,$e={class:"d-notice__actions","data-qa":"notice-content-actions"};function Re(e,t,o,i,a,s){const r=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("div",$e,[(0,n.renderSlot)(e.$slots,"default"),o.hideClose?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:0,ref:"closeButton",size:"sm",importance:"clear",circle:"","aria-label":o.closeButtonProps.ariaLabel?o.closeButtonProps.ariaLabel:"Close"},o.closeButtonProps,{onClick:s.close}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r)])),_:1},16,["aria-label","onClick"]))])}const je={"aria-hidden":"true","aria-label":"Close",class:"d-svg d-svg--system d-svg__close",viewBox:"0 0 24 24"},Ke=(0,n.createElementVNode)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},null,-1),ze=[Ke];function He(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",je,ze)}const qe={},We=(0,A.Z)(qe,[["render",He]]),Ze=We,Ue=["type","aria-live","aria-label"];function Ge(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("button",(0,n.mergeProps)({class:["base-button__button",s.buttonClasses()],"data-qa":"dt-button",type:o.type,"aria-live":s.computedAriaLive,"aria-label":o.loading?"loading":e.$attrs["aria-label"]},e.$attrs,(0,n.toHandlers)(s.buttonListeners)),[s.shouldRenderIcon()?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,"data-qa":"dt-button-icon",class:(0,n.normalizeClass)(["base-button__icon","d-btn__icon",a.ICON_POSITION_MODIFIERS[o.iconPosition]])},[(0,n.renderSlot)(e.$slots,"icon")],2)):(0,n.createCommentVNode)("",!0),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:1,"data-qa":"dt-button-label",class:(0,n.normalizeClass)(["d-w100p","d-btn__label","base-button__label",o.labelClass])},[(0,n.renderSlot)(e.$slots,"default")],2)):(0,n.createCommentVNode)("",!0)],16,Ue)}const Ye={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},Qe={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Xe={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},Je=["submit","reset","button"],et={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},tt=[{circle:!0,kind:"default",importance:"primary",message:nt(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:nt(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:nt(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:nt(!1,"muted","primary")}];function nt(e,t,n){return"You cannot not have a ".concat(e?"circle ":"","button with kind: ").concat(t," and importance: ").concat(n," as it does not exist in our design system. See https://dialpad.design/components/button for a list of available button styles")}const ot="danger",it="warning",at="success",st="muted",rt="inverted",lt=["",ot,it,at,st,rt],ut={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},dt={name:"DtButton",inheritAttrs:!1,props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:e=>Object.keys(et).includes(e)},importance:{type:String,default:"primary",validator:e=>Object.keys(Xe).includes(e)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:e=>Object.keys(ut).includes(e)},type:{type:String,default:"button",validator:e=>Je.includes(e)},size:{type:String,default:"md",validator:e=>Object.keys(Ye).includes(e)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:e=>Object.keys(Qe).includes(e)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:et,isInFocus:!1}},computed:{buttonListeners(){return{click:e=>this.$emit("click",e),focusin:e=>{this.isInFocus=this.assertiveOnFocus,this.$emit("focusin",e)},focusout:e=>{this.isInFocus=!1,this.$emit("focusout",e)}}},computedAriaLive(){return this.assertiveOnFocus&&this.isInFocus?"assertive":this.$attrs.ariaLive}},watch:{$props:{deep:!0,immediate:!0,handler(){}}},methods:{buttonClasses(){return this.link?["d-link",ut[this.linkKind],Ye[this.size]]:["d-btn",Xe[this.importance],Qe[this.kind],Ye[this.size],{"d-btn--circle":this.circle,"d-btn--loading":this.loading,"d-btn--icon-only":this.isIconOnly(),"d-btn--vertical":this.isVerticalIconLayout(),"d-btn--active":this.active}]},isInvalidPropCombination(e,t,n){for(const o of tt)if(e===o.circle&&t===o.kind&&n===o.importance)return console.error(o.message),!1;return!0},shouldRenderIcon(){return this.$slots.icon&&!this.link},isIconOnly(){return this.shouldRenderIcon()&&!this.$slots.default},isVerticalIconLayout(){return this.shouldRenderIcon()&&!this.isIconOnly()&&["top","bottom"].includes(this.iconPosition)}}},ct=(0,A.Z)(dt,[["render",Ge]]),pt=ct,ht={name:"DtNoticeAction",components:{IconClose:Ze,DtButton:pt},props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],created(){this.hideClose||this.closeButtonProps.ariaLabel||console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.")},mounted(){this.hideClose||(this.lastFocusedElement=document.activeElement)},beforeUnmount(){var e;null===(e=this.lastFocusedElement)||void 0===e||e.focus()},methods:{close(){this.$emit("close")}}},Dt=(0,A.Z)(ht,[["render",Re]]),mt=Dt,ft=':not(:disabled):not([aria-disabled="true"])',gt="".concat(ft,':not([tabindex="-1"])'),vt="button,[href],input,select,textarea,details,[tabindex]",bt={methods:{async focusFirstElement(e){await this.$nextTick();const t=this._getFocusableElements(e,!0),n=this._getFirstFocusElement(t);null===n||void 0===n||n.focus({preventScroll:!0})},_getFirstFocusElement(e){if(!e.length)return;let t=e[0];return t.matches('[type="radio"]:not(:checked)')&&(t=e.find((e=>e.checked&&e.name===t.name))||t),t},_getFocusableElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=[...e.querySelectorAll(vt)];return n.filter((e=>{const n=window.getComputedStyle(e);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&e.matches(t?ft:gt)}))},focusTrappedTabPress(e,t){const n="Tab"===e.key;if(!n)return;const o=this._getFocusableElements(t);if(!o.length)return void e.preventDefault();const i=this._getFirstFocusElement(o),a=o[o.length-1];e.shiftKey?document.activeElement===i&&(a.focus(),e.preventDefault()):document.activeElement===a&&(i.focus(),e.preventDefault())}}},yt={name:"DtBanner",components:{DtNoticeIcon:_e,DtNoticeContent:Me,DtNoticeAction:mt},mixins:[bt],props:{titleId:{type:String,default(){return O.getUniqueString()}},contentId:{type:String,default(){return O.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"",validate(e){return we.includes(e)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{role(){return this.important?"alertdialog":"status"},bannerClass(){const e={error:"d-banner--error",info:"d-banner--info",success:"d-banner--success",warning:"d-banner--warning",base:"d-banner--base"};return["d-banner",e[this.kind],{"d-banner--important":this.important,"d-banner--pinned":this.pinned}]}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(e){this.important&&this.focusTrappedTabPress(e)}}},Ct=(0,A.Z)(yt,[["render",K]]),Et=Ct,Ft=["aria-label"];function St(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-breadcrumb-item");return(0,n.openBlock)(),(0,n.createElementBlock)("nav",{"aria-label":o.ariaLabel,"data-qa":"dt-breadcrumbs",class:(0,n.normalizeClass)(["d-breadcrumbs",{[a.BREADCRUMBS_INVERTED_MODIFIER]:o.inverted}])},[(0,n.createElementVNode)("ol",null,[(0,n.renderSlot)(e.$slots,"default",{},(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.breadcrumbs,((e,t)=>((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:s.getBreadcrumbItemKey(t),inverted:o.inverted},e),null,16,["inverted"])))),128))]))])],10,Ft)}const Bt="d-breadcrumbs__item--selected",wt="d-breadcrumbs--inverted";function kt(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-link");return(0,n.openBlock)(),(0,n.createElementBlock)("li",{"data-qa":"dt-breadcrumb-item",class:(0,n.normalizeClass)(["d-breadcrumbs__item",{[a.BREADCRUMB_ITEM_SELECTED_MODIFIER]:o.selected}])},[(0,n.createVNode)(r,(0,n.mergeProps)({kind:s.linkKind,"aria-current":s.ariaCurrent,"data-qa":"breadcrumb-item"},e.$attrs),{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.label),1)]))])),_:3},16,["kind","aria-current"])],2)}function xt(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("a",{class:(0,n.normalizeClass)(["d-link",a.LINK_KIND_MODIFIERS[o.kind]]),"data-qa":"dt-link"},[(0,n.renderSlot)(e.$slots,"default")],2)}const It={name:"DtLink",props:{kind:{type:String,default:"",validator(e){return lt.includes(e)}}},data(){return{LINK_KIND_MODIFIERS:ut}}},Ot=(0,A.Z)(It,[["render",xt]]),_t=Ot,At={name:"DtBreadcrumbItem",components:{DtLink:_t},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:Bt}},computed:{linkKind(){return this.inverted?rt:st},ariaCurrent(){return this.selected?"location":void 0}}},Lt=(0,A.Z)(At,[["render",kt]]),Tt=Lt,Nt={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:Tt},props:{breadcrumbs:{type:Array,default:()=>[],validate(e){return e.every((e=>{let{href:t,label:n}=e;return void 0!==t&&void 0!==n}))}},inverted:{type:Boolean,default:!1},ariaLabel:{type:String,default:"breadcrumb"}},data(){return{BREADCRUMBS_INVERTED_MODIFIER:wt}},methods:{getBreadcrumbItemKey(e){return"breadcrumbs-item-".concat(e,"-").concat(O.getUniqueString())}}},Pt=(0,A.Z)(Nt,[["render",St]]),Vt=Pt;function Mt(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["d-btn-group",a.BUTTON_GROUP_ALIGNMENT[this.alignment]]),role:"group"},[(0,n.renderSlot)(e.$slots,"default")],2)}const $t={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},Rt={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:e=>Object.keys($t).includes(e)}},data(){return{BUTTON_GROUP_ALIGNMENT:$t}}},jt=(0,A.Z)(Rt,[["render",Mt]]),Kt=jt,zt=["aria-expanded","aria-controls","aria-owns"],Ht={"data-qa":"dt-combobox-input-wrapper"};function qt(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{role:"combobox","aria-expanded":o.showList.toString(),"aria-controls":o.listId,"aria-owns":o.listId,"aria-haspopup":"listbox",onKeydown:[t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEscapeKey")),["stop"]),["esc"])),t[4]||(t[4]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEnterKey")),["exact"]),["enter"])),t[5]||(t[5]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onUpKey")),["stop","prevent"]),["up"])),t[6]||(t[6]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onDownKey")),["stop","prevent"]),["down"])),t[7]||(t[7]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onHomeKey")),["stop","prevent"]),["home"])),t[8]||(t[8]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEndKey")),["stop","prevent"]),["end"]))]},[(0,n.createElementVNode)("div",Ht,[(0,n.renderSlot)(e.$slots,"input",{inputProps:s.inputProps})]),o.showList?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,ref:"listWrapper","data-qa":"dt-combobox-list-wrapper",onMouseleave:t[0]||(t[0]=function(){return s.clearHighlightIndex&&s.clearHighlightIndex(...arguments)}),onFocusout:t[1]||(t[1]=function(){return s.clearHighlightIndex&&s.clearHighlightIndex(...arguments)}),onMousemoveCapture:t[2]||(t[2]=function(){return s.onMouseHighlight&&s.onMouseHighlight(...arguments)})},[(0,n.renderSlot)(e.$slots,"list",{listProps:s.listProps,opened:s.onOpen,clearHighlightIndex:s.clearHighlightIndex})],544)):(0,n.createCommentVNode)("",!0)],40,zt)}const Wt={methods:{scrollElementIntoViewIfNeeded(e,t,n,o){e.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(e,t,n,o):this.scrollIntoView(e,"bottom",!1,n,o)},scrollElementIntoView(e,t,n,o){"center"!==t?!1===t?this.scrollIntoView(e,"bottom",!1,n,o):this.scrollIntoView(e,"top",!1,n,o):this.scrollIntoView(e,"center",!1,n,o)},scrollIntoViewIfNeeded(e,t,n,o){const i=t?"center":void 0;this.scrollIntoView(e,i,!0,n,o)},scrollIntoView(e,t,n,o,i){if(!e||!e.parentElement)return;const a=e.offsetTop,s=i||e.parentElement,r=this._getScrollBounds(s),l=r.bottom-r.top,u=this._getElementHeight(e),d=a+u;let c=-1;switch(t){case"top":c=a;break;case"center":c=a+(u-l)/2;break;case"bottom":c=c=d-l;break;default:c=a-r.top<=l/2?a:d-l;break}this._setScrollTop(s,c,r,a,d,n,o)},_setScrollTop(e,t,n,o,i,a,s){n=n||this._getScrollBounds(e);const r=n.bottom-n.top;if(a&&this._inScrollBounds(o,i,n))if(o<n.top)t=o;else{if(!(i>n.bottom))return;t=i-r}s?e.scrollTo({top:t,behavior:s}):e.scrollTop=t},_getElementHeight(e){return e.getBoundingClientRect().height},_getScrollBounds(e){const t=this._getElementHeight(e),n=e.scrollTop;return{top:n,bottom:n+t}},_inScrollBounds(e,t,n){const o=t-e;return t<=n.bottom+3*o/4&&e>=n.top-o/4}}},Zt="listElementKey is required or the referenced element doesn't exist. Received listElement: ",Ut=function(){let{listItemRole:e="option",indexKey:t="highlightIndex",idKey:n="highlightId",listElementKey:o="listRef",activeItemKey:i="",openMethod:a=null,afterHighlightMethod:s=null,beginningOfListMethod:r=null,endOfListMethod:l=null,scrollToOnHighlight:u=!0,focusOnKeyboardNavigation:d=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{mixins:[Wt],data(){return{[t]:-1,[n]:"",scrollToOnHighlight:u,focusOnKeyboardNavigation:d}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var e;return(null===(e=this[o]())||void 0===e?void 0:e.$el)||this[o]()},_itemsLength(){const e=this._getListItemNodes();return null===e?0:e.length},_getListItemNodes(){const t=this._getListElement();return t?Array.from(t.querySelectorAll('[role="'.concat(e,'"]'))):(console.error(Zt,t),null)},onUpKey(){a&&this[a](!0),this[t]>0?this.setHighlightIndex(this[t]-1):r&&this[r](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){a&&this[a](!0),this[t]<this._itemsLength()-1?this.setHighlightIndex(this[t]+1):l&&this[l](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(e){const n=this._getListItemNodes(),o=n.filter((t=>{const n=t.textContent.trim().toLowerCase();return n.startsWith(e.toLowerCase())}));if(o.length<=0)return;const i=o.findIndex((e=>this[t]===n.indexOf(e))),a=n.indexOf(i<o.length-1?o[i+1]:o[0]);this.setHighlightIndex(a),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidLetter(e){return!(e.length>1)&&(e>="a"&&e<="z"||e>="A"&&e<="Z")},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},async setHighlightIndex(e){this[t]=e,this[n]=this._getItemId(e),this._itemsLength()&&s&&(await this.$nextTick(),this[s](e))},async setHighlightId(e){this[n]=e,this[t]=this._getItemIndex(e),this._itemsLength()&&s&&(await this.$nextTick(),this[s](this._getItemIndex(e)))},_getItemIndex(t){const n=this._getListElement();if(!n)return;const o=Array.from(n.querySelectorAll('[role="'.concat(e,'"]')));return o.indexOf(n.querySelector("#".concat(t)))},_getItemId(t){var n;const o=this._getListElement();if(o)return null===(n=o.querySelectorAll('[role="'.concat(e,'"]'))[t])||void 0===n?void 0:n.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const e=this[i];if(e){const t=this._getListElement();this.scrollElementIntoViewIfNeeded(e,null,null,t)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const e=this[i];e&&e.focus()}}}},Gt={name:"DtCombobox",mixins:[Ut({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl"})],props:{listAriaLabel:{type:String,required:!0},listId:{type:String,default(){return E()}},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},showList:{type:Boolean,default:!1},listRenderedOutside:{type:Boolean,default:!1}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null}},computed:{inputProps(){return{role:"combobox","aria-expanded":this.showList.toString(),"aria-owns":this.listId,"aria-haspopup":"listbox","aria-activedescendant":this.activeItemId,"aria-controls":this.listId}},listProps(){return{role:"listbox",id:this.listId,class:"d-ps-relative","aria-label":this.listAriaLabel}},beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemId(){if(this.showList&&!(this.highlightIndex<0))return this.highlightId},activeItemEl(){return this.getListElement().querySelector("#"+this.highlightId)}},watch:{showList(e){this.$nextTick((function(){this.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",e))})),!e&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null)}},methods:{onMouseHighlight(e){const t=e.target.closest("li");t&&this.highlightId!==t.id&&this.setHighlightId(t.id)},getListElement(){var e;return null!==(e=this.outsideRenderedListRef)&&void 0!==e?e:this.$refs.listWrapper.querySelector("#".concat(this.listId))},clearHighlightIndex(){this.showList&&this.setHighlightIndex(-1)},afterHighlight(){this.$emit("highlight",this.highlightIndex)},onEnterKey(){this.highlightIndex>=0&&this.$emit("select",this.highlightIndex)},onEscapeKey(){this.$emit("escape")},onOpen(e,t){var n;this.outsideRenderedListRef=t,null===(n=this.outsideRenderedListRef)||void 0===n||n.addEventListener("mousemove",this.onMouseHighlight),this.$emit("opened",e),e&&this.setInitialHighlightIndex()},onKeyValidation(e,t){this.showList&&this.getListElement()&&this[t](e)},setInitialHighlightIndex(){this.showList&&this.setHighlightIndex(0)}}},Yt=(0,A.Z)(Gt,[["render",qt]]),Qt=Yt,Xt=["id"];function Jt(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-popover");return(0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({ref:"popover","content-width":o.contentWidth,open:o.open,placement:o.placement,"initial-focus-element":a.openedWithKeyboard?"first":"dialog","fallback-placements":o.fallbackPlacements,padding:"none",role:"menu",modal:o.modal},e.$attrs,{"max-height":o.maxHeight,"max-width":o.maxWidth,"open-with-arrow-keys":!0,onOpened:s.updateInitialHighlightIndex,onKeydown:[(0,n.withKeys)(s.onEnterKey,["enter"]),(0,n.withKeys)(s.onSpaceKey,["space"]),t[2]||(t[2]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onUpKeyPress")),["stop","prevent"]),["up"])),t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onDownKeyPress")),["stop","prevent"]),["down"])),t[4]||(t[4]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onHomeKeyPress")),["stop","prevent"]),["home"])),t[5]||(t[5]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEndKeyPress")),["stop","prevent"]),["end"])),t[6]||(t[6]=e=>s.onKeyValidation(e,"onKeyPress"))]}),{anchor:(0,n.withCtx)((t=>{let{attrs:o}=t;return[(0,n.renderSlot)(e.$slots,"anchor",(0,n.mergeProps)({ref:"anchor"},o))]})),content:(0,n.withCtx)((i=>{let{close:r}=i;return[(0,n.createElementVNode)("ul",{id:o.listId,ref:"listWrapper",class:(0,n.normalizeClass)(["d-ps-relative","d-px0",a.DROPDOWN_PADDING_CLASSES[o.padding],o.listClass]),"data-qa":"dt-dropdown-list-wrapper",onMouseleave:t[0]||(t[0]=function(){return s.clearHighlightIndex&&s.clearHighlightIndex(...arguments)}),onMousemoveCapture:t[1]||(t[1]=function(){return s.onMouseHighlight&&s.onMouseHighlight(...arguments)})},[(0,n.renderSlot)(e.$slots,"list",{close:r})],42,Xt)]})),_:3},16,["content-width","open","placement","initial-focus-element","fallback-placements","modal","max-height","max-width","onOpened","onKeydown"])}const en=["aria-hidden"],tn=["id"];function nn(e,t,o,i,a,s){const r=(0,n.resolveComponent)("popover-header-footer"),l=(0,n.resolveComponent)("dt-lazy-show");return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[o.modal&&a.isOpen?((0,n.openBlock)(),(0,n.createBlock)(n.Teleport,{key:0,to:"body"},[(0,n.createElementVNode)("div",{class:"d-modal--transparent","aria-hidden":o.modal&&a.isOpen?"false":"true",onClick:t[0]||(t[0]=(0,n.withModifiers)((()=>{}),["prevent","stop"]))},null,8,en)])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(o.elementType),(0,n.mergeProps)({ref:"popover",class:["d-popover",{"d-popover__anchor--modal-opened":o.modal&&a.isOpen}],"data-qa":"dt-popover-container"},e.$attrs),{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{id:!o.ariaLabelledby&&s.labelledBy,ref:"anchor","data-qa":"dt-popover-anchor",onClickCapture:t[1]||(t[1]=function(){return s.defaultToggleOpen&&s.defaultToggleOpen(...arguments)}),onKeydown:[t[2]||(t[2]=(0,n.withKeys)((0,n.withModifiers)((function(){return s.onArrowKeyPress&&s.onArrowKeyPress(...arguments)}),["prevent"]),["up"])),t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((function(){return s.onArrowKeyPress&&s.onArrowKeyPress(...arguments)}),["prevent"]),["down"]))],onWheel:t[4]||(t[4]=e=>a.isOpen&&o.modal&&e.preventDefault()),onKeydownCapture:t[5]||(t[5]=(0,n.withKeys)((function(){return s.closePopover&&s.closePopover(...arguments)}),["escape"]))},[(0,n.renderSlot)(e.$slots,"anchor",{attrs:{"aria-expanded":a.isOpen.toString(),"aria-controls":o.id,"aria-haspopup":o.role}})],40,tn),(0,n.createVNode)(l,(0,n.mergeProps)({id:o.id,ref:"content",role:o.role,"data-qa":"dt-popover","aria-hidden":"".concat(!a.isOpen),"aria-labelledby":s.labelledBy,"aria-label":o.ariaLabel,"aria-modal":"".concat(!o.modal),transition:o.transition,show:a.isOpen,appear:"",class:["d-popover__dialog",{"d-popover__dialog--modal":o.modal},o.dialogClass],style:{"max-height":o.maxHeight,"max-width":o.maxWidth},tabindex:o.contentTabindex},e.$attrs,{onKeydownCapture:s.onKeydown,onAfterLeave:s.onLeaveTransitionComplete,onAfterEnter:s.onEnterTransitionComplete}),{default:(0,n.withCtx)((()=>[e.$slots.headerContent||o.showCloseButton?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,ref:"popover__header",class:(0,n.normalizeClass)(a.POPOVER_HEADER_FOOTER_PADDING_CLASSES[o.padding]),"content-class":o.headerClass,type:"header","show-close-button":o.showCloseButton,"close-button-props":o.closeButtonProps,onClose:s.closePopover},{content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"headerContent",{close:s.closePopover})])),_:3},8,["class","content-class","show-close-button","close-button-props","onClose"])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{ref:"popover__content","data-qa":"dt-popover-content",class:(0,n.normalizeClass)(["d-popover__content",a.POPOVER_PADDING_CLASSES[o.padding],o.contentClass])},[(0,n.renderSlot)(e.$slots,"content",{close:s.closePopover})],2),e.$slots.footerContent?((0,n.openBlock)(),(0,n.createBlock)(r,{key:1,ref:"popover__footer",type:"footer",class:(0,n.normalizeClass)(a.POPOVER_HEADER_FOOTER_PADDING_CLASSES[o.padding]),"content-class":o.footerClass},{content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"footerContent",{close:s.closePopover})])),_:3},8,["class","content-class"])):(0,n.createCommentVNode)("",!0)])),_:3},16,["id","role","aria-hidden","aria-labelledby","aria-label","aria-modal","transition","show","class","style","tabindex","onKeydownCapture","onAfterLeave","onAfterEnter"])])),_:3},16,["class"]))])}function on(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function an(e){var t=on(e).Element;return e instanceof t||e instanceof Element}function sn(e){var t=on(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function rn(e){if("undefined"===typeof ShadowRoot)return!1;var t=on(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ln=Math.max,un=Math.min,dn=Math.round;function cn(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if(sn(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(o=dn(n.width)/s||1),a>0&&(i=dn(n.height)/a||1)}return{width:n.width/o,height:n.height/i,top:n.top/i,right:n.right/o,bottom:n.bottom/i,left:n.left/o,x:n.left/o,y:n.top/i}}function pn(e){var t=on(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function hn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Dn(e){return e!==on(e)&&sn(e)?hn(e):pn(e)}function mn(e){return e?(e.nodeName||"").toLowerCase():null}function fn(e){return((an(e)?e.ownerDocument:e.document)||window.document).documentElement}function gn(e){return cn(fn(e)).left+pn(e).scrollLeft}function vn(e){return on(e).getComputedStyle(e)}function bn(e){var t=vn(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function yn(e){var t=e.getBoundingClientRect(),n=dn(t.width)/e.offsetWidth||1,o=dn(t.height)/e.offsetHeight||1;return 1!==n||1!==o}function Cn(e,t,n){void 0===n&&(n=!1);var o=sn(t),i=sn(t)&&yn(t),a=fn(t),s=cn(e,i),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==mn(t)||bn(a))&&(r=Dn(t)),sn(t)?(l=cn(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=gn(a))),{x:s.left+r.scrollLeft-l.x,y:s.top+r.scrollTop-l.y,width:s.width,height:s.height}}function En(e){var t=cn(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Fn(e){return"html"===mn(e)?e:e.assignedSlot||e.parentNode||(rn(e)?e.host:null)||fn(e)}function Sn(e){return["html","body","#document"].indexOf(mn(e))>=0?e.ownerDocument.body:sn(e)&&bn(e)?e:Sn(Fn(e))}function Bn(e,t){var n;void 0===t&&(t=[]);var o=Sn(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=on(o),s=i?[a].concat(a.visualViewport||[],bn(o)?o:[]):o,r=t.concat(s);return i?r:r.concat(Bn(Fn(s)))}function wn(e){return["table","td","th"].indexOf(mn(e))>=0}function kn(e){return sn(e)&&"fixed"!==vn(e).position?e.offsetParent:null}function xn(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&sn(e)){var o=vn(e);if("fixed"===o.position)return null}var i=Fn(e);rn(i)&&(i=i.host);while(sn(i)&&["html","body"].indexOf(mn(i))<0){var a=vn(i);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return i;i=i.parentNode}return null}function In(e){var t=on(e),n=kn(e);while(n&&wn(n)&&"static"===vn(n).position)n=kn(n);return n&&("html"===mn(n)||"body"===mn(n)&&"static"===vn(n).position)?t:n||xn(e)||t}var On="top",_n="bottom",An="right",Ln="left",Tn="auto",Nn=[On,_n,An,Ln],Pn="start",Vn="end",Mn="clippingParents",$n="viewport",Rn="popper",jn="reference",Kn=Nn.reduce((function(e,t){return e.concat([t+"-"+Pn,t+"-"+Vn])}),[]),zn=[].concat(Nn,[Tn]).reduce((function(e,t){return e.concat([t,t+"-"+Pn,t+"-"+Vn])}),[]),Hn="beforeRead",qn="read",Wn="afterRead",Zn="beforeMain",Un="main",Gn="afterMain",Yn="beforeWrite",Qn="write",Xn="afterWrite",Jn=[Hn,qn,Wn,Zn,Un,Gn,Yn,Qn,Xn];function eo(e){var t=new Map,n=new Set,o=[];function i(e){n.add(e.name);var a=[].concat(e.requires||[],e.requiresIfExists||[]);a.forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&i(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),o}function to(e){var t=eo(e);return Jn.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function no(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function oo(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}var io={placement:"bottom",modifiers:[],strategy:"absolute"};function ao(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function so(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?io:i;return function(e,t,n){void 0===n&&(n=a);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},io,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],r=!1,l={state:i,setOptions:function(n){var s="function"===typeof n?n(i.options):n;d(),i.options=Object.assign({},a,i.options,s),i.scrollParents={reference:an(e)?Bn(e):e.contextElement?Bn(e.contextElement):[],popper:Bn(t)};var r=to(oo([].concat(o,i.options.modifiers)));return i.orderedModifiers=r.filter((function(e){return e.enabled})),u(),l.update()},forceUpdate:function(){if(!r){var e=i.elements,t=e.reference,n=e.popper;if(ao(t,n)){i.rects={reference:Cn(t,In(n),"fixed"===i.options.strategy),popper:En(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<i.orderedModifiers.length;o++)if(!0!==i.reset){var a=i.orderedModifiers[o],s=a.fn,u=a.options,d=void 0===u?{}:u,c=a.name;"function"===typeof s&&(i=s({state:i,options:d,name:c,instance:l})||i)}else i.reset=!1,o=-1}}},update:no((function(){return new Promise((function(e){l.forceUpdate(),e(i)}))})),destroy:function(){d(),r=!0}};if(!ao(e,t))return l;function u(){i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,a=e.effect;if("function"===typeof a){var r=a({state:i,name:t,instance:l,options:o}),u=function(){};s.push(r||u)}}))}function d(){s.forEach((function(e){return e()})),s=[]}return l.setOptions(n).then((function(e){!r&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var ro={passive:!0};function lo(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,r=void 0===s||s,l=on(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,ro)})),r&&l.addEventListener("resize",n.update,ro),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ro)})),r&&l.removeEventListener("resize",n.update,ro)}}const uo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lo,data:{}};function co(e){return e.split("-")[0]}function po(e){return e.split("-")[1]}function ho(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Do(e){var t,n=e.reference,o=e.element,i=e.placement,a=i?co(i):null,s=i?po(i):null,r=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(a){case On:t={x:r,y:n.y-o.height};break;case _n:t={x:r,y:n.y+n.height};break;case An:t={x:n.x+n.width,y:l};break;case Ln:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?ho(a):null;if(null!=u){var d="y"===u?"height":"width";switch(s){case Pn:t[u]=t[u]-(n[d]/2-o[d]/2);break;case Vn:t[u]=t[u]+(n[d]/2-o[d]/2);break;default:}}return t}function mo(e){var t=e.state,n=e.name;t.modifiersData[n]=Do({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const fo={name:"popperOffsets",enabled:!0,phase:"read",fn:mo,data:{}};var go={top:"auto",right:"auto",bottom:"auto",left:"auto"};function vo(e){var t=e.x,n=e.y,o=window,i=o.devicePixelRatio||1;return{x:dn(t*i)/i||0,y:dn(n*i)/i||0}}function bo(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,r=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,c=e.isFixed,p=s.x,h=void 0===p?0:p,D=s.y,m=void 0===D?0:D,f="function"===typeof d?d({x:h,y:m}):{x:h,y:m};h=f.x,m=f.y;var g=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),b=Ln,y=On,C=window;if(u){var E=In(n),F="clientHeight",S="clientWidth";if(E===on(n)&&(E=fn(n),"static"!==vn(E).position&&"absolute"===r&&(F="scrollHeight",S="scrollWidth")),E=E,i===On||(i===Ln||i===An)&&a===Vn){y=_n;var B=c&&E===C&&C.visualViewport?C.visualViewport.height:E[F];m-=B-o.height,m*=l?1:-1}if(i===Ln||(i===On||i===_n)&&a===Vn){b=An;var w=c&&E===C&&C.visualViewport?C.visualViewport.width:E[S];h-=w-o.width,h*=l?1:-1}}var k,x=Object.assign({position:r},u&&go),I=!0===d?vo({x:h,y:m}):{x:h,y:m};return h=I.x,m=I.y,l?Object.assign({},x,(k={},k[y]=v?"0":"",k[b]=g?"0":"",k.transform=(C.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",k)):Object.assign({},x,(t={},t[y]=v?m+"px":"",t[b]=g?h+"px":"",t.transform="",t))}function yo(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=void 0===o||o,a=n.adaptive,s=void 0===a||a,r=n.roundOffsets,l=void 0===r||r,u={placement:co(t.placement),variation:po(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,bo(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,bo(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Co={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yo,data:{}};function Eo(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];sn(i)&&mn(i)&&(Object.assign(i.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))}function Fo(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),s=a.reduce((function(e,t){return e[t]="",e}),{});sn(o)&&mn(o)&&(Object.assign(o.style,s),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}}const So={name:"applyStyles",enabled:!0,phase:"write",fn:Eo,effect:Fo,requires:["computeStyles"]};function Bo(e,t,n){var o=co(e),i=[Ln,On].indexOf(o)>=0?-1:1,a="function"===typeof n?n(Object.assign({},t,{placement:e})):n,s=a[0],r=a[1];return s=s||0,r=(r||0)*i,[Ln,An].indexOf(o)>=0?{x:r,y:s}:{x:s,y:r}}function wo(e){var t=e.state,n=e.options,o=e.name,i=n.offset,a=void 0===i?[0,0]:i,s=zn.reduce((function(e,n){return e[n]=Bo(n,t.rects,a),e}),{}),r=s[t.placement],l=r.x,u=r.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[o]=s}const ko={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:wo};var xo={left:"right",right:"left",bottom:"top",top:"bottom"};function Io(e){return e.replace(/left|right|bottom|top/g,(function(e){return xo[e]}))}var Oo={start:"end",end:"start"};function _o(e){return e.replace(/start|end/g,(function(e){return Oo[e]}))}function Ao(e){var t=on(e),n=fn(e),o=t.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,r=0;return o&&(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,r=o.offsetTop)),{width:i,height:a,x:s+gn(e),y:r}}function Lo(e){var t,n=fn(e),o=pn(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=ln(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=ln(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),r=-o.scrollLeft+gn(e),l=-o.scrollTop;return"rtl"===vn(i||n).direction&&(r+=ln(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:r,y:l}}function To(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&rn(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function No(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Po(e){var t=cn(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Vo(e,t){return t===$n?No(Ao(e)):an(t)?Po(t):No(Lo(fn(e)))}function Mo(e){var t=Bn(Fn(e)),n=["absolute","fixed"].indexOf(vn(e).position)>=0,o=n&&sn(e)?In(e):e;return an(o)?t.filter((function(e){return an(e)&&To(e,o)&&"body"!==mn(e)})):[]}function $o(e,t,n){var o="clippingParents"===t?Mo(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=Vo(e,n);return t.top=ln(o.top,t.top),t.right=un(o.right,t.right),t.bottom=un(o.bottom,t.bottom),t.left=ln(o.left,t.left),t}),Vo(e,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Ro(){return{top:0,right:0,bottom:0,left:0}}function jo(e){return Object.assign({},Ro(),e)}function Ko(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function zo(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,a=n.boundary,s=void 0===a?Mn:a,r=n.rootBoundary,l=void 0===r?$n:r,u=n.elementContext,d=void 0===u?Rn:u,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,D=void 0===h?0:h,m=jo("number"!==typeof D?D:Ko(D,Nn)),f=d===Rn?jn:Rn,g=e.rects.popper,v=e.elements[p?f:d],b=$o(an(v)?v:v.contextElement||fn(e.elements.popper),s,l),y=cn(e.elements.reference),C=Do({reference:y,element:g,strategy:"absolute",placement:i}),E=No(Object.assign({},g,C)),F=d===Rn?E:y,S={top:b.top-F.top+m.top,bottom:F.bottom-b.bottom+m.bottom,left:b.left-F.left+m.left,right:F.right-b.right+m.right},B=e.modifiersData.offset;if(d===Rn&&B){var w=B[i];Object.keys(S).forEach((function(e){var t=[An,_n].indexOf(e)>=0?1:-1,n=[On,_n].indexOf(e)>=0?"y":"x";S[e]+=w[n]*t}))}return S}function Ho(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=n.boundary,a=n.rootBoundary,s=n.padding,r=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?zn:l,d=po(o),c=d?r?Kn:Kn.filter((function(e){return po(e)===d})):Nn,p=c.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=c);var h=p.reduce((function(t,n){return t[n]=zo(e,{placement:n,boundary:i,rootBoundary:a,padding:s})[co(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}function qo(e){if(co(e)===Tn)return[];var t=Io(e);return[_o(e),t,_o(t)]}function Wo(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=n.mainAxis,a=void 0===i||i,s=n.altAxis,r=void 0===s||s,l=n.fallbackPlacements,u=n.padding,d=n.boundary,c=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,D=void 0===h||h,m=n.allowedAutoPlacements,f=t.options.placement,g=co(f),v=g===f,b=l||(v||!D?[Io(f)]:qo(f)),y=[f].concat(b).reduce((function(e,n){return e.concat(co(n)===Tn?Ho(t,{placement:n,boundary:d,rootBoundary:c,padding:u,flipVariations:D,allowedAutoPlacements:m}):n)}),[]),C=t.rects.reference,E=t.rects.popper,F=new Map,S=!0,B=y[0],w=0;w<y.length;w++){var k=y[w],x=co(k),I=po(k)===Pn,O=[On,_n].indexOf(x)>=0,_=O?"width":"height",A=zo(t,{placement:k,boundary:d,rootBoundary:c,altBoundary:p,padding:u}),L=O?I?An:Ln:I?_n:On;C[_]>E[_]&&(L=Io(L));var T=Io(L),N=[];if(a&&N.push(A[x]<=0),r&&N.push(A[L]<=0,A[T]<=0),N.every((function(e){return e}))){B=k,S=!1;break}F.set(k,N)}if(S)for(var P=D?3:1,V=function(e){var t=y.find((function(t){var n=F.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return B=t,"break"},M=P;M>0;M--){var $=V(M);if("break"===$)break}t.placement!==B&&(t.modifiersData[o]._skip=!0,t.placement=B,t.reset=!0)}}const Zo={name:"flip",enabled:!0,phase:"main",fn:Wo,requiresIfExists:["offset"],data:{_skip:!1}};function Uo(e){return"x"===e?"y":"x"}function Go(e,t,n){return ln(e,un(t,n))}function Yo(e,t,n){var o=Go(e,t,n);return o>n?n:o}function Qo(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,a=void 0===i||i,s=n.altAxis,r=void 0!==s&&s,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,c=n.padding,p=n.tether,h=void 0===p||p,D=n.tetherOffset,m=void 0===D?0:D,f=zo(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:d}),g=co(t.placement),v=po(t.placement),b=!v,y=ho(g),C=Uo(y),E=t.modifiersData.popperOffsets,F=t.rects.reference,S=t.rects.popper,B="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,w="number"===typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,x={x:0,y:0};if(E){if(a){var I,O="y"===y?On:Ln,_="y"===y?_n:An,A="y"===y?"height":"width",L=E[y],T=L+f[O],N=L-f[_],P=h?-S[A]/2:0,V=v===Pn?F[A]:S[A],M=v===Pn?-S[A]:-F[A],$=t.elements.arrow,R=h&&$?En($):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ro(),K=j[O],z=j[_],H=Go(0,F[A],R[A]),q=b?F[A]/2-P-H-K-w.mainAxis:V-H-K-w.mainAxis,W=b?-F[A]/2+P+H+z+w.mainAxis:M+H+z+w.mainAxis,Z=t.elements.arrow&&In(t.elements.arrow),U=Z?"y"===y?Z.clientTop||0:Z.clientLeft||0:0,G=null!=(I=null==k?void 0:k[y])?I:0,Y=L+q-G-U,Q=L+W-G,X=Go(h?un(T,Y):T,L,h?ln(N,Q):N);E[y]=X,x[y]=X-L}if(r){var J,ee="x"===y?On:Ln,te="x"===y?_n:An,ne=E[C],oe="y"===C?"height":"width",ie=ne+f[ee],ae=ne-f[te],se=-1!==[On,Ln].indexOf(g),re=null!=(J=null==k?void 0:k[C])?J:0,le=se?ie:ne-F[oe]-S[oe]-re+w.altAxis,ue=se?ne+F[oe]+S[oe]-re-w.altAxis:ae,de=h&&se?Yo(le,ne,ue):Go(h?le:ie,ne,h?ue:ae);E[C]=de,x[C]=de-ne}t.modifiersData[o]=x}}const Xo={name:"preventOverflow",enabled:!0,phase:"main",fn:Qo,requiresIfExists:["offset"]};var Jo=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,jo("number"!==typeof e?e:Ko(e,Nn))};function ei(e){var t,n=e.state,o=e.name,i=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,r=co(n.placement),l=ho(r),u=[Ln,An].indexOf(r)>=0,d=u?"height":"width";if(a&&s){var c=Jo(i.padding,n),p=En(a),h="y"===l?On:Ln,D="y"===l?_n:An,m=n.rects.reference[d]+n.rects.reference[l]-s[l]-n.rects.popper[d],f=s[l]-n.rects.reference[l],g=In(a),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=m/2-f/2,y=c[h],C=v-p[d]-c[D],E=v/2-p[d]/2+b,F=Go(y,E,C),S=l;n.modifiersData[o]=(t={},t[S]=F,t.centerOffset=F-E,t)}}function ti(e){var t=e.state,n=e.options,o=n.element,i=void 0===o?"[data-popper-arrow]":o;null!=i&&("string"!==typeof i||(i=t.elements.popper.querySelector(i),i))&&To(t.elements.popper,i)&&(t.elements.arrow=i)}const ni={name:"arrow",enabled:!0,phase:"main",fn:ei,effect:ti,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function oi(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ii(e){return[On,An,_n,Ln].some((function(t){return e[t]>=0}))}function ai(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,s=zo(t,{elementContext:"reference"}),r=zo(t,{altBoundary:!0}),l=oi(s,o),u=oi(r,i,a),d=ii(l),c=ii(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":c})}const si={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ai};var ri=[uo,fo,Co,So,ko,Zo,Xo,ni,si],li=so({defaultModifiers:ri}),ui="tippy-box",di="tippy-content",ci="tippy-backdrop",pi="tippy-arrow",hi="tippy-svg-arrow",Di={passive:!0,capture:!0},mi=function(){return document.body};function fi(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function gi(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function vi(e,t){return"function"===typeof e?e.apply(void 0,t):e}function bi(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function yi(e){return e.split(/\s+/).filter(Boolean)}function Ci(e){return[].concat(e)}function Ei(e,t){-1===e.indexOf(t)&&e.push(t)}function Fi(e){return e.filter((function(t,n){return e.indexOf(t)===n}))}function Si(e){return e.split("-")[0]}function Bi(e){return[].slice.call(e)}function wi(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function ki(){return document.createElement("div")}function xi(e){return["Element","Fragment"].some((function(t){return gi(e,t)}))}function Ii(e){return gi(e,"NodeList")}function Oi(e){return gi(e,"MouseEvent")}function _i(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Ai(e){return xi(e)?[e]:Ii(e)?Bi(e):Array.isArray(e)?e:Bi(document.querySelectorAll(e))}function Li(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ti(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Ni(e){var t,n=Ci(e),o=n[0];return null!=o&&null!=(t=o.ownerDocument)&&t.body?o.ownerDocument:document}function Pi(e,t){var n=t.clientX,o=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,a=e.props,s=a.interactiveBorder,r=Si(i.placement),l=i.modifiersData.offset;if(!l)return!0;var u="bottom"===r?l.top.y:0,d="top"===r?l.bottom.y:0,c="right"===r?l.left.x:0,p="left"===r?l.right.x:0,h=t.top-o+u>s,D=o-t.bottom-d>s,m=t.left-n+c>s,f=n-t.right-p>s;return h||D||m||f}))}function Vi(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Mi(e,t){var n=t;while(n){var o;if(e.contains(n))return!0;n=null==n.getRootNode||null==(o=n.getRootNode())?void 0:o.host}return!1}var $i={isTouch:!1},Ri=0;function ji(){$i.isTouch||($i.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ki))}function Ki(){var e=performance.now();e-Ri<20&&($i.isTouch=!1,document.removeEventListener("mousemove",Ki)),Ri=e}function zi(){var e=document.activeElement;if(_i(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Hi(){document.addEventListener("touchstart",ji,Di),window.addEventListener("blur",zi)}var qi="undefined"!==typeof window&&"undefined"!==typeof document,Wi=!!qi&&!!window.msCrypto;var Zi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ui={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Gi=Object.assign({appendTo:mi,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},Zi,Ui),Yi=Object.keys(Gi),Qi=function(e){var t=Object.keys(e);t.forEach((function(t){Gi[t]=e[t]}))};function Xi(e){var t=e.plugins||[],n=t.reduce((function(t,n){var o,i=n.name,a=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(o=Gi[i])?o:a);return t}),{});return Object.assign({},e,n)}function Ji(e,t){var n=t?Object.keys(Xi(Object.assign({},Gi,{plugins:t}))):Yi,o=n.reduce((function(t,n){var o=(e.getAttribute("data-tippy-"+n)||"").trim();if(!o)return t;if("content"===n)t[n]=o;else try{t[n]=JSON.parse(o)}catch(i){t[n]=o}return t}),{});return o}function ea(e,t){var n=Object.assign({},t,{content:vi(t.content,[e])},t.ignoreAttributes?{}:Ji(e,t.plugins));return n.aria=Object.assign({},Gi.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var ta=function(){return"innerHTML"};function na(e,t){e[ta()]=t}function oa(e){var t=ki();return!0===e?t.className=pi:(t.className=hi,xi(e)?t.appendChild(e):na(t,e)),t}function ia(e,t){xi(t.content)?(na(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?na(e,t.content):e.textContent=t.content)}function aa(e){var t=e.firstElementChild,n=Bi(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(di)})),arrow:n.find((function(e){return e.classList.contains(pi)||e.classList.contains(hi)})),backdrop:n.find((function(e){return e.classList.contains(ci)}))}}function sa(e){var t=ki(),n=ki();n.className=ui,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=ki();function i(n,o){var i=aa(t),a=i.box,s=i.content,r=i.arrow;o.theme?a.setAttribute("data-theme",o.theme):a.removeAttribute("data-theme"),"string"===typeof o.animation?a.setAttribute("data-animation",o.animation):a.removeAttribute("data-animation"),o.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth="number"===typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?a.setAttribute("role",o.role):a.removeAttribute("role"),n.content===o.content&&n.allowHTML===o.allowHTML||ia(s,e.props),o.arrow?r?n.arrow!==o.arrow&&(a.removeChild(r),a.appendChild(oa(o.arrow))):a.appendChild(oa(o.arrow)):r&&a.removeChild(r)}return o.className=di,o.setAttribute("data-state","hidden"),ia(o,e.props),t.appendChild(n),n.appendChild(o),i(e.props,e.props),{popper:t,onUpdate:i}}sa.$$tippy=!0;var ra=1,la=[],ua=[];function da(e,t){var n,o,i,a,s,r,l,u=ea(e,Object.assign({},Gi,Xi(wi(t)))),d=!1,c=!1,p=!1,h=!1,D=[],m=bi(Y,u.interactiveDebounce),f=ra++,g=null,v=Fi(u.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},y={id:f,reference:e,popper:ki(),popperInstance:g,props:u,state:b,plugins:v,clearDelayTimeouts:le,setProps:ue,setContent:de,show:ce,hide:pe,hideWithInteractivity:he,enable:se,disable:re,unmount:De,destroy:me};if(!u.render)return y;var C=u.render(y),E=C.popper,F=C.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+y.id,y.popper=E,e._tippy=y,E._tippy=y;var S=v.map((function(e){return e.fn(y)})),B=e.hasAttribute("aria-expanded");return Z(),P(),L(),T("onCreate",[y]),u.showOnCreate&&ie(),E.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),E.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&O().addEventListener("mousemove",m)})),y;function w(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function k(){return"hold"===w()[0]}function x(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function I(){return l||e}function O(){var e=I().parentNode;return e?Ni(e):document}function _(){return aa(E)}function A(e){return y.state.isMounted&&!y.state.isVisible||$i.isTouch||a&&"focus"===a.type?0:fi(y.props.delay,e?0:1,Gi.delay)}function L(e){void 0===e&&(e=!1),E.style.pointerEvents=y.props.interactive&&!e?"":"none",E.style.zIndex=""+y.props.zIndex}function T(e,t,n){var o;(void 0===n&&(n=!0),S.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=y.props)[e].apply(o,t)}function N(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,o=E.id,i=Ci(y.props.triggerTarget||e);i.forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+o:o);else{var i=t&&t.replace(o,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function P(){if(!B&&y.props.aria.expanded){var t=Ci(y.props.triggerTarget||e);t.forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===I()?"true":"false"):e.removeAttribute("aria-expanded")}))}}function V(){O().removeEventListener("mousemove",m),la=la.filter((function(e){return e!==m}))}function M(t){if(!$i.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!Mi(E,n)){if(Ci(y.props.triggerTarget||e).some((function(e){return Mi(e,n)}))){if($i.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else T("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),c=!0,setTimeout((function(){c=!1})),y.state.isMounted||K())}}}function $(){p=!0}function R(){p=!1}function j(){var e=O();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Di),e.addEventListener("touchstart",R,Di),e.addEventListener("touchmove",$,Di)}function K(){var e=O();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Di),e.removeEventListener("touchstart",R,Di),e.removeEventListener("touchmove",$,Di)}function z(e,t){q(e,(function(){!y.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&t()}))}function H(e,t){q(e,t)}function q(e,t){var n=_().box;function o(e){e.target===n&&(Vi(n,"remove",o),t())}if(0===e)return t();Vi(n,"remove",s),Vi(n,"add",o),s=o}function W(t,n,o){void 0===o&&(o=!1);var i=Ci(y.props.triggerTarget||e);i.forEach((function(e){e.addEventListener(t,n,o),D.push({node:e,eventType:t,handler:n,options:o})}))}function Z(){k()&&(W("touchstart",G,{passive:!0}),W("touchend",Q,{passive:!0})),yi(y.props.trigger).forEach((function(e){if("manual"!==e)switch(W(e,G),e){case"mouseenter":W("mouseleave",Q);break;case"focus":W(Wi?"focusout":"blur",X);break;case"focusin":W("focusout",X);break}}))}function U(){D.forEach((function(e){var t=e.node,n=e.eventType,o=e.handler,i=e.options;t.removeEventListener(n,o,i)})),D=[]}function G(e){var t,n=!1;if(y.state.isEnabled&&!J(e)&&!c){var o="focus"===(null==(t=a)?void 0:t.type);a=e,l=e.currentTarget,P(),!y.state.isVisible&&Oi(e)&&la.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||d)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:ie(e),"click"===e.type&&(d=!n),n&&!o&&ae(e)}}function Y(e){var t=e.target,n=I().contains(t)||E.contains(t);if("mousemove"!==e.type||!n){var o=oe().concat(E).map((function(e){var t,n=e._tippy,o=null==(t=n.popperInstance)?void 0:t.state;return o?{popperRect:e.getBoundingClientRect(),popperState:o,props:u}:null})).filter(Boolean);Pi(o,e)&&(V(),ae(e))}}function Q(e){var t=J(e)||y.props.trigger.indexOf("click")>=0&&d;t||(y.props.interactive?y.hideWithInteractivity(e):ae(e))}function X(e){y.props.trigger.indexOf("focusin")<0&&e.target!==I()||y.props.interactive&&e.relatedTarget&&E.contains(e.relatedTarget)||ae(e)}function J(e){return!!$i.isTouch&&k()!==e.type.indexOf("touch")>=0}function ee(){te();var t=y.props,n=t.popperOptions,o=t.placement,i=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,l=x()?aa(E).arrow:null,u=a?{getBoundingClientRect:a,contextElement:a.contextElement||I()}:e,d={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(x()){var n=_(),o=n.box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?o.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?o.setAttribute("data-"+e,""):o.removeAttribute("data-"+e)})),t.attributes.popper={}}}},c=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},d];x()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),y.popperInstance=li(u,E,Object.assign({},n,{placement:o,onFirstUpdate:r,modifiers:c}))}function te(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function ne(){var e,t=y.props.appendTo,n=I();e=y.props.interactive&&t===mi||"parent"===t?n.parentNode:vi(t,[n]),e.contains(E)||e.appendChild(E),y.state.isMounted=!0,ee()}function oe(){return Bi(E.querySelectorAll("[data-tippy-root]"))}function ie(e){y.clearDelayTimeouts(),e&&T("onTrigger",[y,e]),j();var t=A(!0),o=w(),i=o[0],a=o[1];$i.isTouch&&"hold"===i&&a&&(t=a),t?n=setTimeout((function(){y.show()}),t):y.show()}function ae(e){if(y.clearDelayTimeouts(),T("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=A(!1);t?o=setTimeout((function(){y.state.isVisible&&y.hide()}),t):i=requestAnimationFrame((function(){y.hide()}))}}else K()}function se(){y.state.isEnabled=!0}function re(){y.hide(),y.state.isEnabled=!1}function le(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(i)}function ue(t){if(!y.state.isDestroyed){T("onBeforeUpdate",[y,t]),U();var n=y.props,o=ea(e,Object.assign({},n,wi(t),{ignoreAttributes:!0}));y.props=o,Z(),n.interactiveDebounce!==o.interactiveDebounce&&(V(),m=bi(Y,o.interactiveDebounce)),n.triggerTarget&&!o.triggerTarget?Ci(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded"),P(),L(),F&&F(n,o),y.popperInstance&&(ee(),oe().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),T("onAfterUpdate",[y,t])}}function de(e){y.setProps({content:e})}function ce(){var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,o=$i.isTouch&&!y.props.touch,i=fi(y.props.duration,0,Gi.duration);if(!(e||t||n||o)&&!I().hasAttribute("disabled")&&(T("onShow",[y],!1),!1!==y.props.onShow(y))){if(y.state.isVisible=!0,x()&&(E.style.visibility="visible"),L(),j(),y.state.isMounted||(E.style.transition="none"),x()){var a=_(),s=a.box,l=a.content;Li([s,l],0)}r=function(){var e;if(y.state.isVisible&&!h){if(h=!0,E.offsetHeight,E.style.transition=y.props.moveTransition,x()&&y.props.animation){var t=_(),n=t.box,o=t.content;Li([n,o],i),Ti([n,o],"visible")}N(),P(),Ei(ua,y),null==(e=y.popperInstance)||e.forceUpdate(),T("onMount",[y]),y.props.animation&&x()&&H(i,(function(){y.state.isShown=!0,T("onShown",[y])}))}},ne()}}function pe(){var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,o=fi(y.props.duration,1,Gi.duration);if(!(e||t||n)&&(T("onHide",[y],!1),!1!==y.props.onHide(y))){if(y.state.isVisible=!1,y.state.isShown=!1,h=!1,d=!1,x()&&(E.style.visibility="hidden"),V(),K(),L(!0),x()){var i=_(),a=i.box,s=i.content;y.props.animation&&(Li([a,s],o),Ti([a,s],"hidden"))}N(),P(),y.props.animation?x()&&z(o,y.unmount):y.unmount()}}function he(e){O().addEventListener("mousemove",m),Ei(la,m),m(e)}function De(){y.state.isVisible&&y.hide(),y.state.isMounted&&(te(),oe().forEach((function(e){e._tippy.unmount()})),E.parentNode&&E.parentNode.removeChild(E),ua=ua.filter((function(e){return e!==y})),y.state.isMounted=!1,T("onHidden",[y]))}function me(){y.state.isDestroyed||(y.clearDelayTimeouts(),y.unmount(),U(),delete e._tippy,y.state.isDestroyed=!0,T("onDestroy",[y]))}}function ca(e,t){void 0===t&&(t={});var n=Gi.plugins.concat(t.plugins||[]);Hi();var o=Object.assign({},t,{plugins:n}),i=Ai(e),a=i.reduce((function(e,t){var n=t&&da(t,o);return n&&e.push(n),e}),[]);return xi(e)?a[0]:a}ca.defaultProps=Gi,ca.setDefaultProps=Qi,ca.currentInput=$i;Object.assign({},So,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});ca.setDefaultProps({render:sa});const pa=ca,ha=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),Da=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],ma=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,pa(e,{...t,render:()=>ba(n)})},fa=function(){let{boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=(()=>{}),hasHideModifierEnabled:o=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:o},ha((e=>{let{state:t}=e;n(t.placement)}))]}},ga=(e,t)=>{const n=document.createElement("span");return n.setAttribute("tabindex",t),n.innerText=e.innerText||"",e.innerText="",e.appendChild(n),n},va=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";const n=null===e||void 0===e?void 0:e.children[0];return n?(k(n)||n.setAttribute("tabindex",t),n):ga(e)},ba=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},ya={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},Ca={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},Ea=["dialog","menu","listbox","tree","grid"],Fa=[null,"anchor"],Sa=["none","dialog","first"];function Ba(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createBlock)(n.Transition,(0,n.mergeProps)({name:o.transition,appear:o.appear},e.$attrs),{default:(0,n.withCtx)((()=>[(0,n.withDirectives)((0,n.createElementVNode)("div",(0,n.normalizeProps)((0,n.guardReactiveProps)(e.$attrs)),[a.initialized?(0,n.renderSlot)(e.$slots,"default",{key:0}):(0,n.createCommentVNode)("",!0)],16),[[n.vShow,o.show]])])),_:3},16,["name","appear"])}const wa={name:"DtLazyShow",inheritAttrs:!1,props:{show:Boolean,transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},watch:{show:function(e){e&&!this.initialized&&(this.initialized=!0)}}},ka=(0,A.Z)(wa,[["render",Ba]]),xa=ka;function Ia(e,t,o,i,a,s){const r=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{"data-qa":"dt-popover-header-footer",class:(0,n.normalizeClass)({"d-popover__header":"header"===o.type,"d-popover__footer":"footer"===o.type})},[e.$slots.content?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,"data-qa":"dt-popover-header-footer-content",class:(0,n.normalizeClass)(["d-to-ellipsis","d-w100p",o.contentClass])},[(0,n.renderSlot)(e.$slots,"content")],2)):(0,n.createCommentVNode)("",!0),o.showCloseButton?((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:1,ref:"popover__close-button","data-qa":"dt-popover-close",class:"d-p6 d-mr6 d-bc-transparent",importance:"outlined",kind:"muted",circle:""},o.closeButtonProps,{onClick:t[0]||(t[0]=t=>e.$emit("close"))}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r,{class:"d-svg--size20"})])),_:1},16)):(0,n.createCommentVNode)("",!0)],2)}const Oa={name:"PopoverHeaderFooter",components:{DtButton:pt,IconClose:Ze},props:{type:{type:String,validator:function(e){return["header","footer"].includes(e)}},contentClass:{type:[String,Array,Object],default:""},showCloseButton:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>{}}},emits:["close"],methods:{focusCloseButton(){var e;const t=null===(e=this.$refs["popover__close-button"])||void 0===e?void 0:e.$el;null===t||void 0===t||t.focus()}}},_a=(0,A.Z)(Oa,[["render",Ia]]),Aa=_a,La={name:"DtPopover",components:{DtLazyShow:xa,PopoverHeaderFooter:Aa},mixins:[bt],inheritAttrs:!1,props:{open:{type:Boolean,default:null},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:e=>Ea.includes(e)},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null},closeButtonProps:{type:Object,default:()=>({})},padding:{type:String,default:"large",validator:e=>Object.keys(ya).some((t=>t===e))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:e=>Fa.includes(e)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return E()}},offset:{type:Array,default:()=>[0,4]},hideOnClick:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom-end"},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},showCloseButton:{type:Boolean,default:!1},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""},dialogClass:{type:[String,Array,Object],default:""},initialFocusElement:{type:[String,HTMLElement],default:"none",validator:e=>Sa.includes(e)||e instanceof HTMLElement||e.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["update:open","opened"],data(){return{POPOVER_PADDING_CLASSES:ya,POPOVER_HEADER_FOOTER_PADDING_CLASSES:Ca,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&E("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(e){this.tip.setProps({zIndex:e?650:300})},offset(e){this.tip.setProps({offset:e})},fallbackPlacements(e){this.tip.setProps({popperOptions:fa({fallbackPlacements:e,hasHideModifierEnabled:!0})})},placement(e){var t;null===(t=this.tip)||void 0===t||t.setProps({placement:e})},open:{handler:function(e){null!==e&&(this.isOpen=e)},immediate:!0},isOpen(e,t){e?(this.tip.show(),this.addClosePopoverEventListener()):e||t===e||(this.removeClosePopoverEventListener(),this.tip.hide())}},mounted(){const e=document.getElementById(this.externalAnchor);this.anchorEl=null!==e&&void 0!==e?e:this.$refs.anchor.children[0],this.popoverContentEl=this.$refs.content.$el,"anchor"===this.contentWidth&&window.addEventListener("resize",this.onResize),this.tip=ma(this.anchorEl,{popperOptions:fa({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0}),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,appendTo:document.body,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow}),this.isOpen&&this.tip.show()},beforeUnmount(){var e;window.removeEventListener("resize",this.onResize),null===(e=this.tip)||void 0===e||e.destroy(),this.removeReferences(),this.removeClosePopoverEventListener()},methods:{validateProps(){this.modal&&"none"===this.initialFocusElement&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?650:300},defaultToggleOpen(e){if(null===this.open||void 0===this.open){var t;if(!this.anchorEl.contains(e.target)&&!this.anchorEl.isEqualNode(e.target)||null!==(t=this.anchorEl)&&void 0!==t&&t.disabled)return;this.toggleOpen()}},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(e){null===this.open&&this.openWithArrowKeys&&this.anchorEl.contains(e.target)&&(this.isOpen||(this.isOpen=!0))},addClosePopoverEventListener(){window.addEventListener("dt-popover-close",this.closePopover)},removeClosePopoverEventListener(){window.removeEventListener("dt-popover-close",this.closePopover)},closePopover(){this.isOpen=!1},removeReferences(){this.anchorEl=null,this.popoverContentEl=null,this.tip=null},async onShow(){"anchor"===this.contentWidth&&await this.setPopoverContentAnchorWidth(),null===this.contentWidth&&(this.popoverContentEl.style.width="auto")},async onLeaveTransitionComplete(){var e;this.modal&&(this.focusFirstElement(this.$refs.anchor),await this.$nextTick()),null===(e=this.tip)||void 0===e||e.unmount(),this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),await this.$nextTick(),this.$emit("opened",!0,this.$refs.popover__content),null!==this.open&&this.$emit("update:open",!0)},focusInitialElement(){"dialog"===this.initialFocusElement&&this.$refs.content.$el.focus(),this.initialFocusElement.startsWith("#")&&this.focusInitialElementById(),"first"===this.initialFocusElement&&this.focusFirstElementIfNeeded(this.$refs.popover__content),this.initialFocusElement instanceof HTMLElement&&this.initialFocusElement.focus()},focusInitialElementById(){const e=this.$refs.content.$el.querySelector(this.initialFocusElement);e?e.focus():console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'),e?e.focus():this.$refs.content.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;const e=this.popoverContentEl.querySelector(".d-popover__anchor--modal-opened");e||this.closePopover()},onKeydown(e){"Tab"===e.key&&this.modal&&this.focusTrappedTabPress(e,this.popoverContentEl),"Escape"===e.key&&this.closePopover()},async setPopoverContentAnchorWidth(){await this.$nextTick(),this.popoverContentEl.style.width="".concat(this.anchorEl.clientWidth,"px")},focusFirstElementIfNeeded(e){const t=this._getFocusableElements(e,!0);if(0!==t.length)this.focusFirstElement(e);else if(this.showCloseButton){var n;null===(n=this.$refs.popover__header)||void 0===n||n.focusCloseButton()}else this.$refs.content.$el.focus()}}};o(425);const Ta=(0,A.Z)(La,[["render",nn]]),Na=Ta,Pa={DEFAULT:"default",CUSTOM:"custom"},Va={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"},Ma={none:void 0,small:"d-py6",large:"d-py12"},$a={name:"DtDropdown",components:{DtPopover:Na},mixins:[Ut({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0})],inheritAttrs:!1,props:{open:{type:Boolean,default:null},padding:{type:String,default:"small",validator:e=>Object.keys(Ma).some((t=>t===e))},modal:{type:Boolean,default:!0},contentWidth:{type:String,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},listId:{type:String,default(){return E()}},navigationType:{type:String,default:Va.ARROW_KEYS,validator:e=>Object.values(Va).includes(e)},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom"},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},listClass:{type:[String,Array,Object],default:""}},emits:["highlight","update:open","opened"],data(){return{LIST_ITEM_NAVIGATION_TYPES:Va,DROPDOWN_PADDING_CLASSES:Ma,openedWithKeyboard:!1,isOpen:null}},computed:{beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemEl(){return this.getListElement().querySelector("#"+this.highlightId)},isArrowKeyNav(){return this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS}},methods:{onMouseHighlight(e){const t=e.target.closest("li");t&&this.highlightId!==t.id&&(this.setHighlightId(t.id),t.focus())},getListElement(){return this.$refs.listWrapper},clearHighlightIndex(){this.setHighlightIndex(-1)},afterHighlight(){this.$emit("highlight",this.highlightIndex)},updateInitialHighlightIndex(e){this.isOpen=e,e?(this.openedWithKeyboard&&this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS&&this.setHighlightIndex(0),this.$emit("opened",!0)):(this.clearHighlightIndex(),this.openedWithKeyboard=!1,this.$emit("opened",!1))},onSpaceKey(){this.open||(this.openedWithKeyboard=!0)},onEnterKey(){this.open||(this.openedWithKeyboard=!0)},onUpKeyPress(){if(this.isOpen)return this.isArrowKeyNav?this.onUpKey():void 0;this.openedWithKeyboard=!0},onDownKeyPress(){if(this.isOpen)return this.isArrowKeyNav?this.onDownKey():void 0;this.openedWithKeyboard=!0},onHomeKeyPress(){if(this.isOpen&&this.isArrowKeyNav)return this.onHomeKey()},onEndKeyPress(){if(this.isOpen&&this.isArrowKeyNav)return this.onEndKey()},onKeyPress(e){if(this.isOpen&&this.isArrowKeyNav&&this.isValidLetter(e.key))return e.stopPropagation(),e.preventDefault(),this.onNavigationKey(e.key)},onKeyValidation(e,t){null===this.open&&this[t](e)}}},Ra=(0,A.Z)($a,[["render",Jt]]),ja=Ra,Ka=["aria-label","alt","title","src"];function za(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-skeleton");return(0,n.openBlock)(),(0,n.createElementBlock)("span",{class:(0,n.normalizeClass)(s.skeletonSizeClass)},[(0,n.withDirectives)((0,n.createVNode)(r,{offset:0,class:(0,n.normalizeClass)(s.skeletonSizeClass),"shape-option":{shape:"square",contentClass:s.skeletonSizeClass,size:"auto"}},null,8,["class","shape-option"]),[[n.vShow,a.emojiDataLoading||a.imgLoading]]),a.emojiDataLoading?(0,n.createCommentVNode)("",!0):(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("img",{key:0,ref:"emojiImg",class:(0,n.normalizeClass)([o.size,o.imgClass]),"aria-label":s.emojiLabel,alt:s.emojiAlt,title:s.emojiLabel,src:s.emojiSrc,onLoad:t[0]||(t[0]=function(){return s.imageLoaded&&s.imageLoaded(...arguments)}),onError:t[1]||(t[1]=function(){return s.imageErrored&&s.imageErrored(...arguments)})},null,42,Ka)),[[n.vShow,!a.imgLoading]])],2)}const Ha={SIZE_14:"d-svg--size14",SIZE_16:"d-svg--size16",SIZE_18:"d-svg--size18",SIZE_20:"d-svg--size20",SIZE_24:"d-svg--size24",SIZE_32:"d-svg--size32",SIZE_48:"d-svg--size48",SIZE_64:"d-svg--size64",SIZE_100p:"d-svg--size100p"};var qa=o(809),Wa=o.n(qa);const Za="6.6",Ua="https://cdn.jsdelivr.net/joypixels/assets/"+Za+"/png/unicode/32/";let Ga=Ua,Ya=".png",Qa=Ua,Xa=".png",Ja=null;async function es(){Ja||(Ja=await o.e(370).then(o.t.bind(o,370,19)))}function ts(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".png";e.endsWith("/")||(e+="/"),Ga=e,Ya=t}function ns(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".svg";e.endsWith("/")||(e+="/"),Qa=e,Xa=t}function os(e){function t(o,i){if(o&&"object"===typeof o)return"shortname"in o&&(o.shortname===e||o.shortname_alternates.includes(e))?(o.key=i,n=o,!0):void Object.keys(o).some((function(e){return t(o[e],e)}))}let n;return t(Ja,null),n}function is(e){let t="";for(const n of e)""!==t&&(t+="-"),t+=n.codePointAt(0).toString(16);return t}function as(e){const t=e.split("-");let n="";return t.forEach((e=>{n+=String.fromCodePoint(parseInt(e,16))})),n}async function ss(e){if(await es(),e.startsWith(":")&&e.endsWith(":"))return os(e);{const t=is(e),n=Ja[t];return n&&(n.key=t),n}}function rs(e){const t=e.match(/:\w+:/g),n=t?t.filter((e=>os(e))):[];return new Set(n)}function ls(e){const t=[...e.matchAll(Wa()())],n=t.length?t.map((e=>e[0])):[];return new Set(n)}const us=["aria-label"];function ds(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-skeleton-list-item"),l=(0,n.resolveComponent)("dt-skeleton-shape"),u=(0,n.resolveComponent)("dt-skeleton-paragraph"),d=(0,n.resolveComponent)("dt-skeleton-text");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{"aria-busy":"true",role:"status","aria-label":o.ariaLabel},[o.listItemOption?((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:0},!0===o.listItemOption?{}:o.listItemOption,{"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset}),null,16,["animation-duration","animate","offset"])):o.shapeOption?((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:1},!0===o.shapeOption?{}:o.shapeOption,{"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset}),null,16,["animation-duration","animate","offset"])):o.paragraphOption?((0,n.openBlock)(),(0,n.createBlock)(u,(0,n.mergeProps)({key:2},!0===o.paragraphOption?{}:o.paragraphOption,{"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset}),null,16,["animation-duration","animate","offset"])):((0,n.openBlock)(),(0,n.createBlock)(d,(0,n.mergeProps)({key:3},o.textOption||{},{"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset}),null,16,["animation-duration","animate","offset"]))],8,us)}function cs(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{ref:"skeleton","data-qa":"skeleton-shape",class:(0,n.normalizeClass)(["skeleton-placeholder",a.SKELETON_SHAPES[o.shape],{"skeleton-placeholder--animate":o.animate},o.contentClass]),style:(0,n.normalizeStyle)(s.shapeStyles)},null,6)}const ps=3e6,hs={circle:"d-bar-circle",square:"d-bar2"},Ds=["body","heading"],ms={sm:"24px",md:"32px",lg:"48px"},fs={sm:"d-h16",md:"d-h24",lg:"d-h32"},gs={computed:{skeletonOffset(){const e=this.$refs.skeleton;if(!e)return this.offset;const{top:t,height:n}=e.getBoundingClientRect();return t+n/2},skeletonStyle(){const e={};if(-1===this.skeletonOffset||!this.animate&&-1===this.animationDuration)return e;const t=this.skeletonOffset*ps/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return e.animationDelay="".concat(t,"ms"),e.animationDuration="".concat(n,"ms"),e}}},vs={name:"DtSkeletonShape",mixins:[gs],props:{shape:{type:String,default:"circle",validator:e=>Object.keys(hs).includes(e)},size:{type:String,default:"md"},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!0},offset:{type:Number,default:1},contentClass:{type:[String,Object,Array],default:""}},data(){return{SKELETON_SHAPES:hs}},computed:{shapeStyles(){const e=ms[this.size]||this.size;return{...this.skeletonStyle,"min-width":e,"max-width":e,"min-height":e,"max-height":e}}}},bs=(0,A.Z)(vs,[["render",cs]]),ys=bs,Cs={class:"d-d-flex d-fd-column d-w100p"};function Es(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-skeleton-shape"),l=(0,n.resolveComponent)("dt-skeleton-paragraph");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{"data-qa":"skeleton-list-item",class:(0,n.normalizeClass)(["d-d-flex",{"d-ai-center":1===o.paragraphs.rows},o.contentClass])},[(0,n.createVNode)(r,{class:"d-mr8",size:o.shapeSize,shape:o.shape,"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset,"content-class":o.shapeClass},null,8,["size","shape","animation-duration","animate","offset","content-class"]),(0,n.createElementVNode)("div",Cs,[(0,n.createVNode)(l,(0,n.mergeProps)(o.paragraphs,{"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset}),null,16,["animation-duration","animate","offset"])])],2)}function Fs(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-skeleton-text");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["d-w100p",o.contentClass]),contentClass:"","data-qa":"skeleton-paragraph"},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.integerRows,(e=>((0,n.openBlock)(),(0,n.createBlock)(r,{key:e,"data-qa":"skeleton-paragraph-row",class:(0,n.normalizeClass)([{"d-mb12":e!==s.integerRows}]),"content-class":o.rowClass,animate:o.animate,offset:o.offset,"animation-duration":o.animationDuration,width:s.getSizeParagraphRow(e)},null,8,["class","content-class","animate","offset","animation-duration","width"])))),128))],2)}function Ss(e,t,o,i,a,s){return"body"===o.type?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,ref:"skeleton","data-qa":"skeleton-text-body",class:(0,n.normalizeClass)(["d-h8","d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":o.animate},o.contentClass]),style:(0,n.normalizeStyle)({width:o.width,...e.skeletonStyle})},null,6)):"heading"===o.type?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,ref:"skeleton","data-qa":"skeleton-text-heading",class:(0,n.normalizeClass)([a.SKELETON_HEADING_HEIGHTS[o.headingHeight],"d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":o.animate},o.contentClass]),style:(0,n.normalizeStyle)({width:o.width,...e.skeletonStyle})},null,6)):(0,n.createCommentVNode)("",!0)}const Bs={name:"DtSkeletonText",mixins:[gs],props:{type:{type:String,default:"body",validator:e=>Ds.includes(e)},headingHeight:{type:String,default:"md",validator:e=>Object.keys(fs).includes(e)},width:{type:String,default:"100%"},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!1},offset:{type:Number,default:1},contentClass:{type:String,default:""}},data(){return{SKELETON_HEADING_HEIGHTS:fs}}},ws=(0,A.Z)(Bs,[["render",Ss]]),ks=ws,xs=e=>""!==e&&!Number.isNaN(Number(e)),Is={name:"DtSkeletonParagraph",components:{DtSkeletonText:ks},props:{rows:{type:[Number,String],default:3,validator:xs},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:xs},maxWidth:{type:[Number,String],default:100,validator:xs},width:{type:[String,Array],default:null},randomWidth:{type:Boolean,default:!1},offset:{type:Number,default:1},animationDuration:{type:Number,default:-1},contentClass:{type:String,default:""},rowClass:{type:String,default:""}},computed:{integerRows(){return Number(this.rows)}},methods:{randomWidthPercentage(){const e=Math.min(this.minWidth,this.maxWidth),t=Math.max(this.minWidth,this.maxWidth);return"".concat(Math.round(Math.random()*(t-e))+e,"%")},getSizeParagraphRow(e){const t=this.width,n=Array.isArray(t),o=null===t||void 0===t?void 0:t[e-1],i=e===this.rows;return this.randomWidth?this.randomWidthPercentage():t&&!n?t:t&&n&&o?o:i?"38%":"100%"}}},Os=(0,A.Z)(Is,[["render",Fs]]),_s=Os,As={name:"DtSkeletonListItem",components:{DtSkeletonShape:ys,DtSkeletonParagraph:_s},props:{shape:{type:String,default:"circle",validator:e=>Object.keys(hs).includes(e)},shapeSize:{type:String,default:"md"},paragraphs:{type:Object,default:()=>({rows:3,randomWidth:!0})},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!0},offset:{type:Number,default:1},shapeClass:{type:String,default:""},contentClass:{type:String,default:""}}},Ls=(0,A.Z)(As,[["render",Es]]),Ts=Ls,Ns={name:"DtSkeleton",components:{DtSkeletonText:ks,DtSkeletonShape:ys,DtSkeletonListItem:Ts,DtSkeletonParagraph:_s},props:{paragraphOption:{type:[Object,Boolean],default:null},listItemOption:{type:[Object,Boolean],default:null},textOption:{type:Object,default:null},shapeOption:{type:[Object,Boolean],default:null},animationDuration:{type:Number,default:-1},ariaLabel:{type:String,default:""},animate:{type:Boolean,default:!0},offset:{type:Number,default:1}},computed:{validationOptions(){return{paragraphOption:this.paragraphOption,listItemOption:this.listItemOption,textOption:this.textOption,shapeOption:this.shapeOption}}},watch:{$props:{immediate:!0,handler:"validator"}},methods:{validator(){const e=Object.entries(this.validationOptions).filter((e=>{let[t,n]=e;return n}));if(e.length>=2){const t="Use only one of ".concat(e.map((e=>{let[t]=e;return t})).join(" | ")," options at the same time");console.error(t)}}}};o(195);const Ps=(0,A.Z)(Ns,[["render",ds]]),Vs=Ps,Ms={name:"DtEmoji",components:{DtSkeleton:Vs},props:{code:{type:String,default:null},size:{type:String,default:Ha.SIZE_20,validator:e=>Object.values(Ha).includes(e)},imgClass:{type:[String,Object,Array],default:""},ariaLabel:{type:String,default:null}},data(){return{emojiData:null,imgLoading:!1,emojiDataLoading:!1}},computed:{emojiDataValid(){return!!this.emojiData},emojiSrc(){return this.emojiDataValid?["d-svg--size14","d-svg--size16"].includes(this.size)?Ga+this.emojiData.key+Ya:Qa+this.emojiData.key+Xa:"invalid"},emojiAlt(){if(this.emojiDataValid)return as(this.emojiData.unicode_output)},emojiLabel(){return this.emojiDataValid?this.ariaLabel?this.ariaLabel:this.emojiData.name:"Invalid Emoji"},skeletonSizeClass(){return"d-svg--size100p"===this.size?["d-h100p","d-w100p"]:this.size}},watch:{code:{handler:async function(){this.emojiDataLoading=!0,await this.getEmojiData(),this.emojiDataLoading=!1},immediate:!0},emojiSrc:{handler:async function(){this.imgLoading=!0}}},methods:{async getEmojiData(){this.emojiData=await ss(this.code)},imageLoaded(){this.imgLoading=!1},imageErrored(){this.imgLoading=!1}}},$s=(0,A.Z)(Ms,[["render",za]]),Rs=$s,js={ref:"container",class:"base-input","data-qa":"dt-input"},Ks=["aria-details"],zs=["id"],Hs={key:0},qs={key:1,"data-qa":"dt-input-length-description",class:(0,n.normalizeClass)(["d-mb2"])},Ws={class:"d-input__wrapper"},Zs=["value","name","disabled","maxlength"],Us=["value","name","type","disabled","maxlength"];function Gs(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("div",js,[(0,n.createElementVNode)("label",{class:"base-input__label","aria-details":e.$slots.description||o.description?s.descriptionKey:void 0,"data-qa":"dt-input-label-wrapper"},[(0,n.renderSlot)(e.$slots,"labelSlot",{},(()=>[o.label?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,ref:"label","data-qa":"dt-input-label",class:(0,n.normalizeClass)(["base-input__label-text","d-label",a.labelSizeClasses[o.size]])},(0,n.toDisplayString)(o.label),3)):(0,n.createCommentVNode)("",!0)])),e.$slots.description||o.description||s.shouldValidateLength?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,id:s.descriptionKey,ref:"description",class:(0,n.normalizeClass)(["base-input__description","d-description","d-fd-column",a.descriptionSizeClasses[o.size]]),"data-qa":"dt-input-description"},[e.$slots.description||o.description?((0,n.openBlock)(),(0,n.createElementBlock)("div",Hs,[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.description),1)]))])):(0,n.createCommentVNode)("",!0),s.shouldValidateLength?((0,n.openBlock)(),(0,n.createElementBlock)("div",qs,(0,n.toDisplayString)(s.validationProps.length.description),1)):(0,n.createCommentVNode)("",!0)],10,zs)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",Ws,[e.$slots.leftIcon?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:(0,n.normalizeClass)(s.inputIconClasses("left")),"data-qa":"dt-input-left-icon-wrapper",onFocusout:t[0]||(t[0]=function(){return s.onBlur&&s.onBlur(...arguments)})},[(0,n.renderSlot)(e.$slots,"leftIcon")],34)):(0,n.createCommentVNode)("",!0),s.isTextarea?((0,n.openBlock)(),(0,n.createElementBlock)("textarea",(0,n.mergeProps)({key:1,ref:"input",value:o.modelValue,name:o.name,disabled:o.disabled,class:s.inputClasses(),maxlength:s.shouldLimitMaxLength?s.validationProps.length.max:null,"data-qa":"dt-input-input"},e.$attrs,(0,n.toHandlers)(s.inputListeners)),null,16,Zs)):((0,n.openBlock)(),(0,n.createElementBlock)("input",(0,n.mergeProps)({key:2,ref:"input",value:o.modelValue,name:o.name,type:o.type,disabled:o.disabled,class:s.inputClasses(),maxlength:s.shouldLimitMaxLength?s.validationProps.length.max:null,"data-qa":"dt-input-input"},e.$attrs,(0,n.toHandlers)(s.inputListeners)),null,16,Us)),e.$slots.rightIcon?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:3,class:(0,n.normalizeClass)(s.inputIconClasses("right")),"data-qa":"dt-input-right-icon-wrapper",onFocusout:t[1]||(t[1]=function(){return s.onBlur&&s.onBlur(...arguments)})},[(0,n.renderSlot)(e.$slots,"rightIcon")],34)):(0,n.createCommentVNode)("",!0)])],8,Ks),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":s.validationMessages,"show-messages":e.showMessages,class:e.messagesClass},e.messagesChildProps,{"data-qa":"dt-input-messages"}),null,16,["validation-messages","show-messages","class"])],512)}const Ys={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Qs={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},Xs={key:0,class:"base-input__messages d-d-flex d-fd-column","data-qa":"validation-messages-container"},Js=["innerHTML"];function er(e,t,o,i,a,s){return o.showMessages&&!s.isFilteredValidationMessagesEmpty?((0,n.openBlock)(),(0,n.createElementBlock)("div",Xs,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.filteredValidationMessages,((e,t)=>{let{message:o,type:i}=e;return(0,n.openBlock)(),(0,n.createElementBlock)("div",{key:s.getMessageKey(i,t),role:"status","aria-live":"polite","data-qa":"validation-message",class:(0,n.normalizeClass)(["base-input__message","d-validation-message",s.messageTypeClass(i)])},[(0,n.createElementVNode)("p",{innerHTML:o},null,8,Js)],2)})),128))])):(0,n.createCommentVNode)("",!0)}function tr(e){return!e||e.every((e=>"string"===typeof e||"object"===typeof e&&Object.values(d).includes(null===e||void 0===e?void 0:e.type)))}const nr={name:"DtValidationMessages",props:{id:{type:String,default(){return E()}},validationMessages:{type:Array,default:()=>[],validator:e=>tr(e)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return S(this.validationMessages)},validationState(){return B(this.validationMessages)}},methods:{getMessageKey(e,t){return"validation-message-".concat(e,"-").concat(t,"-").concat(this.id)},messageTypeClass(e){const t={error:"base-input__message--error d-validation-message--error",warning:"base-input__message--warning d-validation-message--warning",success:"base-input__message--success d-validation-message--success"};return t[e]}}},or=(0,A.Z)(nr,[["render",er]]),ir=or,ar={inheritAttrs:!1,props:{label:{type:String,default:""},name:{type:String,default:""},value:{type:[String,Number,Boolean,Object],default:null},description:{type:String,default:""},disabled:{type:Boolean,default:!1},validationState:{type:String,default:"",validator:e=>!e||Object.values(d).includes(e)},inputClass:{type:[String,Array,Object],default:""},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})},descriptionChildProps:{type:Object,default:()=>({})}},data(){return{internalDisabled:this.disabled,internalValidationState:this.validationState}},watch:{disabled(e){this.internalDisabled=e},validationState(e){this.internalValidationState=e}},methods:{validateInputLabels(e,t){e||t||(0,n.warn)("You must provide an aria-label when there is no label passed",this)}}},sr={model:{prop:"checked"},props:{checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:null}},data(){return{internalChecked:this.checked,internalIndeterminate:this.indeterminate}},watch:{checked(e){this.internalChecked=e},indeterminate(e){this.internalIndeterminate=e}}},rr={inject:{groupContext:{default:{}},setGroupValue:{default:()=>()=>{}}},data(){return{internalValue:this.value}},computed:{hasGroup(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName(){var e,t;return null!==(e=null===(t=this.groupContext)||void 0===t?void 0:t.name)&&void 0!==e?e:""},groupValue(){var e;return null===(e=this.groupContext)||void 0===e?void 0:e.value},groupDisabled(){var e,t;return null!==(e=null===(t=this.groupContext)||void 0===t?void 0:t.disabled)&&void 0!==e&&e},groupValidationState(){var e,t;return null!==(e=null===(t=this.groupContext)||void 0===t?void 0:t.validationState)&&void 0!==e?e:null},internalName(){return this.name||this.groupName}},watch:{value(e){this.internalValue=e},groupValue:{immediate:!0,handler(e){this.hasGroup&&(this.internalValue=e)}},groupDisabled:{immediate:!0,handler(e){this.hasGroup&&(this.internalDisabled=this.disabled||e)}},groupValidationState:{immediate:!0,handler(e){this.hasGroup&&(this.internalValidationState=e||this.validationState)}}},created(){var e;const t=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),o=null===(e=this.groupContext)||void 0===e?void 0:e.name;this.name&&t&&o!==this.name&&(0,n.warn)("Component is being used inside a Group. Did you mean to override the name prop value "+"(".concat(o,") with (").concat(this.name,")? It is recommended to only set name at the Group level."),this)}},lr={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:e=>tr(e)}},computed:{formattedMessages(){return F(this.messages)}}},ur={name:"DtInput",components:{DtValidationMessages:ir},mixins:[lr],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Ys.TEXT,validator:e=>Object.values(Ys).includes(e)},modelValue:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},description:{type:String,default:""},size:{type:String,default:null,validator:e=>Object.values(Qs).includes(e)},iconSize:{type:String,default:null,validator:e=>Object.values(Qs).includes(e)},inputClass:{type:[String,Object,Array],default:""},currentLength:{type:Number,default:null},validate:{type:Object,default:null}},emits:["input","blur","clear","focus","focusin","focusout","update:modelValue","update:length","update:invalid"],data(){return{descriptionSizeClasses:{lg:"d-description--lg",xl:"d-description--xl"},labelSizeClasses:{xs:"d-label--xs",sm:"d-label--sm",md:"d-label--md",lg:"d-label--lg",xl:"d-label--xl"},isInputFocused:!1,isInvalid:!1,defaultLength:0}},computed:{isTextarea(){return this.type===Ys.TEXTAREA},isDefaultSize(){return this.size===Qs.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Qs.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Qs).includes(this.size)},isValidDescriptionSize(){return Object.values(c).includes(this.size)},inputComponent(){return this.isTextarea?"textarea":"input"},inputListeners(){return{input:e=>{this.$emit("input",e.target.value),this.$emit("update:modelValue",e.target.value)},blur:e=>{this.isInputFocused=!1,this.onBlur(e)},focus:e=>{this.isInputFocused=!0,this.$emit("focus",e)},focusin:e=>this.$emit("focusin",e),focusout:e=>this.$emit("focusout",e)}},descriptionKey(){return"input-description-".concat(E())},inputState(){return B(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.modelValue)},validationProps(){var e,t,n,o,i,a,s,r,l,u;return{length:{description:null===this||void 0===this||null===(e=this.validate)||void 0===e||null===(t=e.length)||void 0===t?void 0:t.description,max:null===this||void 0===this||null===(n=this.validate)||void 0===n||null===(o=n.length)||void 0===o?void 0:o.max,warn:null===this||void 0===this||null===(i=this.validate)||void 0===i||null===(a=i.length)||void 0===a?void 0:a.warn,message:null===this||void 0===this||null===(s=this.validate)||void 0===s||null===(r=s.length)||void 0===r?void 0:r.message,limitMaxLength:!(null===this||void 0===this||null===(l=this.validate)||void 0===l||null===(u=l.length)||void 0===u||!u.limitMaxLength)&&this.validate.length.limitMaxLength}}},validationMessages(){return this.showLengthLimitValidation?this.formattedMessages.concat([this.inputLengthErrorMessage()]):this.formattedMessages},showInputState(){return this.showMessages&&this.inputState},inputLength(){return this.currentLength?this.currentLength:this.defaultLengthCalculation},inputLengthState(){return this.inputLength<this.validationProps.length.warn?null:this.inputLength<this.validationProps.length.max?this.validationProps.length.warn?d.WARNING:null:d.ERROR},shouldValidateLength(){return!(!this.validationProps.length.description||!this.validationProps.length.max)},shouldLimitMaxLength(){return this.shouldValidateLength&&this.validationProps.length.limitMaxLength},showLengthLimitValidation(){return this.shouldValidateLength&&null!==this.inputLengthState&&this.validationProps.length.message&&(this.isInputFocused||this.isInvalid)},sizeModifierClass(){if(this.isDefaultSize||!this.isValidSize)return"";const e={input:{xs:"d-input--xs",sm:"d-input--sm",lg:"d-input--lg",xl:"d-input--xl"},textarea:{xs:"d-textarea--xs",sm:"d-textarea--sm",lg:"d-textarea--lg",xl:"d-textarea--xl"}};return e[this.inputComponent][this.size]}},watch:{isInvalid(e){this.$emit("update:invalid",e)},modelValue:{immediate:!0,handler(e){this.shouldValidateLength&&this.validateLength(this.inputLength),null==this.currentLength&&this.$emit("update:length",this.calculateLength(e))}}},methods:{inputClasses(){const e={input:{error:"d-input--error base-input__input--error",warning:"d-input--warning base-input__input--warning",success:"d-input--success base-input__input--success"},textarea:{error:"d-textarea--error base-input__input--error",warning:"d-textarea--warning base-input__input--warning",success:"d-textarea--success base-input__input--success"}};return["base-input__input","input"===this.inputComponent?"d-input":"d-textarea",{[e[this.inputComponent][this.inputState]]:this.showInputState,"d-input-icon--left":this.$slots.leftIcon,"d-input-icon--right":this.$slots.rightIcon},this.sizeModifierClass,this.inputClass]},calculateLength(e){return"string"!==typeof e?0:[...e].length},inputLengthErrorMessage(){return{message:this.validationProps.length.message,type:this.inputLengthState}},inputIconClasses(e){const t={xs:"d-input-icon--xs",sm:"d-input-icon--sm",lg:"d-input-icon--lg",xl:"d-input-icon--xl"},n={left:"base-input__icon--left d-input-icon--left",right:"base-input__icon--right d-input-icon--right"};return[n[e],"d-input-icon",{[t[this.iconSizeComputed]]:!this.isDefaultIconSize},this.sizeModifierClass]},onBlur(e){var t;null!==(t=this.$refs.container)&&void 0!==t&&t.contains(e.relatedTarget)||this.$emit("blur",e)},clear(){this.$emit("input",""),this.$emit("clear")},blur(){this.$refs.input.blur()},focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},getMessageKey(e,t){return"message-".concat(e,"-").concat(t)},validateLength(e){this.isInvalid=e>this.validationProps.length.max}}},dr=(0,A.Z)(ur,[["render",Gs]]),cr=dr,pr=["data-qa"],hr=["data-qa"];function Dr(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("fieldset",{"data-qa":o.dataQaGroup},[e.$slots.legend||e.legend?((0,n.openBlock)(),(0,n.createElementBlock)("legend",(0,n.mergeProps)({key:0,class:["d-label",e.legendClass]},e.legendChildProps,{"data-qa":o.dataQaGroupLegend}),[(0,n.renderSlot)(e.$slots,"legend",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.legend),1)]))],16,hr)):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(e.$slots,"default"),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":e.formattedMessages,"show-messages":e.showMessages,class:e.messagesClass,"data-qa":o.dataQaGroupMessages},e.messagesChildProps),null,16,["validation-messages","show-messages","class","data-qa"])],8,pr)}const mr={components:{DtValidationMessages:ir},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return E()}},value:{type:[String,Number,Boolean,Object],default:null},name:{type:String,required:!0},legend:{type:String,default:""},disabled:{type:Boolean,default:!1},messages:{type:Array,default:()=>[],validator:e=>tr(e)},showMessages:{type:Boolean,default:!0},legendClass:{type:[String,Array,Object],default:""},messagesClass:{type:[String,Array,Object],default:""},legendChildProps:{type:Object,default:()=>({})},messagesChildProps:{type:Object,default:()=>({})}},emits:["input"],data(){const e=F(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:B(e)}}},computed:{formattedMessages(){return F(this.messages)},validationState(){return B(this.formattedMessages)}},watch:{disabled(e){this.provideObj.disabled=e},validationState(e){this.provideObj.validationState=e}},methods:{setGroupValue(e){this.internalValue=e,this.$emit("input",e)}},mounted(){this.legend||this.$slots.legend||this.$attrs["aria-label"]||(0,n.warn)("It is expected that an aria-label is provided when there is no legend.",this)}},fr={name:"DtInputGroup",components:{DtValidationMessages:ir},mixins:[mr],props:{dataQaGroup:{type:String,default:"input-group"},dataQaGroupLegend:{type:String,default:"input-group-legend"},dataQaGroupMessages:{type:String,default:"input-group-messages"}},data(){return{internalValue:this.value}},watch:{value(e){this.internalValue=e},internalValue:{immediate:!0,handler(e){this.provideObj.value=e}}},methods:{getMessageKey(e,t){return"input-group-message-".concat(e,"-").concat(t,"-").concat(this.id)}}},gr=(0,A.Z)(fr,[["render",Dr]]),vr=gr,br=["aria-describedby","aria-labelledby"],yr=["id"],Cr=["id"],Er={key:2,class:"d-modal__content","data-qa":"dt-modal-copy"},Fr={key:3,class:"d-modal__content","data-qa":"dt-modal-copy"},Sr={key:4,class:"d-modal__footer"};function Br(e,t,o,i,a,s){const r=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button"),u=(0,n.resolveComponent)("dt-lazy-show");return(0,n.openBlock)(),(0,n.createBlock)(u,{transition:"d-zoom",show:o.show,class:(0,n.normalizeClass)(["d-modal",a.MODAL_KIND_MODIFIERS[o.kind],a.MODAL_SIZE_MODIFIERS[o.size],o.modalClass]),"data-qa":"dt-modal","aria-hidden":s.open,onClick:(0,n.withModifiers)(s.close,["self"]),onKeydown:[(0,n.withKeys)(s.close,["esc"]),(0,n.withKeys)(s.trapFocus,["tab"])],onAfterEnter:(0,n.withModifiers)(s.setFocusAfterTransition,["self"])},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(n.Transition,{appear:"",name:"d-modal__dialog"},{default:(0,n.withCtx)((()=>[(0,n.withDirectives)((0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["d-modal__dialog",{"d-modal__dialog--scrollable":o.fixedHeaderFooter},o.dialogClass]),role:"dialog","aria-modal":"true","aria-describedby":o.describedById,"aria-labelledby":o.labelledById},[e.$slots.header?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,id:o.labelledById,class:"d-modal__header","data-qa":"dt-modal-title"},[(0,n.renderSlot)(e.$slots,"header")],8,yr)):((0,n.openBlock)(),(0,n.createElementBlock)("h2",{key:1,id:o.labelledById,class:"d-modal__header","data-qa":"dt-modal-title"},(0,n.toDisplayString)(o.title),9,Cr)),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",Er,[(0,n.renderSlot)(e.$slots,"default")])):((0,n.openBlock)(),(0,n.createElementBlock)("p",Fr,(0,n.toDisplayString)(o.copy),1)),s.hasFooterSlot?((0,n.openBlock)(),(0,n.createElementBlock)("footer",Sr,[(0,n.renderSlot)(e.$slots,"footer")])):(0,n.createCommentVNode)("",!0),o.hideClose?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:5,class:"d-modal__close",circle:"",size:"lg",importance:"clear","aria-label":o.closeButtonProps.ariaLabel},o.closeButtonProps,{kind:o.kind,onClick:s.close}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r)])),_:1},16,["aria-label","kind","onClick"]))],10,br),[[n.vShow,o.show]])])),_:3})])),_:3},8,["show","class","aria-hidden","onClick","onKeydown","onAfterEnter"])}const wr={default:"",danger:"d-modal--danger"},kr={default:"",full:"d-modal--full"},xr={name:"DtModal",components:{DtLazyShow:xa,DtButton:pt,IconClose:Ze},mixins:[bt],props:{closeButtonProps:{type:Object,required:!0,validator:e=>!!e.ariaLabel},copy:{type:String,default:""},describedById:{type:String},labelledById:{type:String,default:function(){return E()}},show:{type:Boolean,default:!1},title:{type:String,default:""},kind:{type:String,default:"default",validator:e=>Object.keys(wr).includes(e)},size:{type:String,default:"default",validator:e=>Object.keys(kr).includes(e)},modalClass:{type:[String,Object,Array],default:""},dialogClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},fixedHeaderFooter:{type:Boolean,default:!0}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:wr,MODAL_SIZE_MODIFIERS:kr}},computed:{open(){return"".concat(!this.show)},hasFooterSlot(){return!!this.$slots.footer}},watch:{show:{immediate:!0,handler(e){var t;e?this.previousActiveElement=document.activeElement:(null===(t=this.previousActiveElement)||void 0===t||t.focus(),this.previousActiveElement=null)}}},methods:{close(){this.$emit("update:show",!1)},setFocusAfterTransition(){this.focusFirstElement()},trapFocus(e){this.show&&this.focusTrappedTabPress(e)}}},Ir=(0,A.Z)(xr,[["render",Br]]),Or=Ir,_r=["id","aria-labelledby"],Ar=["id"],Lr=["id"],Tr=["id"],Nr={class:"d-d-flex"};function Pr(e,t,o,i,a,s){const r=(0,n.resolveComponent)("vnodes"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{id:o.id,role:"group","aria-labelledby":"".concat(o.id,"-list-section-header"),tabindex:"-1",class:(0,n.normalizeClass)(["dt-list-section","d-fs14","d-lh6","d-py6","d-bc-black-200",{"d-bb":o.separator}])},[o.header?((0,n.openBlock)(),(0,n.createElementBlock)("h3",{key:0,id:"".concat(o.id,"-list-section-header"),class:"d-pl12 d-mt6"},(0,n.toDisplayString)(o.header),9,Ar)):(0,n.createCommentVNode)("",!0),!s.isCollapsible||a.showAll?((0,n.openBlock)(),(0,n.createElementBlock)("ol",{key:1,id:"".concat(o.id,"-list-section-content")},[(0,n.renderSlot)(e.$slots,"default")],8,Lr)):((0,n.openBlock)(),(0,n.createElementBlock)("ol",{key:2,id:"".concat(o.id,"-list-section-content")},[(0,n.createVNode)(r,{vnodes:s.displayedItems},null,8,["vnodes"])],8,Tr)),(0,n.createElementVNode)("div",Nr,[s.isCollapsible?((0,n.openBlock)(),(0,n.createBlock)(l,{key:0,id:"".concat(o.id,"-list-section-show-more-less"),link:"",class:"d-ml12 d-py6",onClick:s.showMoreLessClicked},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(s.showMoreLessText),1)])),_:1},8,["id","onClick"])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(e.$slots,"footer")])],10,_r)}const Vr={name:"ListSection",components:{vnodes:{name:"vnodes",render:e=>e.$attrs.vnodes},DtButton:pt},props:{id:{type:String,default(){return O.getUniqueString()}},header:{type:String,default:null},separator:{type:Boolean,default:!1},maxDisplayed:{type:Number,default:0},textMore:{type:String,default:"Show more"},textLess:{type:String,default:"Show less"}},data(){return{showAll:!1}},computed:{isCollapsible(){return!(0===this.maxDisplayed||this.itemCount<=this.maxDisplayed)},showMoreLessText(){return this.showAll?this.textLess:this.textMore},hiddenCount(){return this.itemCount-this.displayedItems.length},itemCount(){return this.$slots.default().length},displayedItems(){return this.$slots.default().filter(((e,t)=>t<=this.maxDisplayed-1))}},methods:{showMoreLessClicked(){this.showAll=!this.showAll}}};o(237);const Mr=(0,A.Z)(Vr,[["render",Pr]]),$r=Mr;function Rr(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(o.elementType),(0,n.mergeProps)({id:o.id,class:["dt-list-item d-ls-none focus-visible",{"dt-list-item--focusable":s.isFocusable,"dt-list-item--highlighted":s.isHighlighted}],tabindex:s.isFocusable?0:-1,role:o.role,"aria-selected":s.isHighlighted},(0,n.toHandlers)(s.listItemListeners)),{default:(0,n.withCtx)((()=>[s.listItemType?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.listItemType),{key:0},(0,n.createSlots)({_:2},[(0,n.renderList)(e.$slots,((t,o)=>({name:o,fn:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,o)]))})))]),1024)):(0,n.renderSlot)(e.$slots,"default",{key:1})])),_:3},16,["id","class","tabindex","role","aria-selected"])}const jr={class:"dt-default-list-item d-fs14 d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},Kr={key:0,class:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8","data-qa":"dt-default-list-item-left-wrapper"},zr={class:"d-fl-grow1"},Hr={key:0},qr={key:2,"data-qa":"dt-default-list-item-bottom-wrapper",class:"d-mt2"},Wr={key:1,class:"dt-default-list-item--right d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pl8","data-qa":"dt-default-list-item-right-wrapper"};function Zr(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",jr,[e.$slots.left?((0,n.openBlock)(),(0,n.createElementBlock)("section",Kr,[(0,n.renderSlot)(e.$slots,"left")])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("section",zr,[e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",Hr,[(0,n.renderSlot)(e.$slots,"default")])):(0,n.createCommentVNode)("",!0),e.$slots.subtitle?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,"data-qa":"dt-default-list-item-subtitle-wrapper",class:(0,n.normalizeClass)(["d-fs12 d-fc-black-500",{"d-mtn2":e.$slots.default}])},[(0,n.renderSlot)(e.$slots,"subtitle")],2)):(0,n.createCommentVNode)("",!0),e.$slots.bottom?((0,n.openBlock)(),(0,n.createElementBlock)("div",qr,[(0,n.renderSlot)(e.$slots,"bottom")])):(0,n.createCommentVNode)("",!0)]),e.$slots.right?((0,n.openBlock)(),(0,n.createElementBlock)("section",Wr,[(0,n.renderSlot)(e.$slots,"right")])):(0,n.createCommentVNode)("",!0)])}const Ur={name:"DefaultListItem"};o(566);const Gr=(0,A.Z)(Ur,[["render",Zr]]),Yr=Gr,Qr={name:"ListItem",components:{DtDefaultListItem:Yr},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return O.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:Pa.DEFAULT,validator:e=>Object.values(Pa).includes(e)},navigationType:{type:String,default:Va.NONE,validator:e=>Object.values(Va).includes(e)}},emits:["keydown","mousemove","mouseleave","mousedown"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case Pa.DEFAULT:return Yr;default:return null}},listItemListeners(){return{keydown:e=>{["enter","space"].includes(e.code.toLowerCase())&&this.onClick(e),this.$emit("keydown",e)},mousedown:e=>{this.isFocusable||e.preventDefault(),this.$emit("mousedown",e)},mousemove:e=>{this.onMouseHover(e),this.$emit("mousemove",e)},mouseleave:e=>{this.onMouseLeave(e),this.$emit("mouseleave",e)}}},isHighlighted(){return!!this.isHoverable&&(this.highlightId&&this.highlightId()?this.id===this.highlightId():this.mouseHighlighted)},isFocusable(){return this.navigationType===Va.TAB},isHoverable(){return this.navigationType!==Va.NONE}},methods:{onClick(e){this.$emit("click",e)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}};o(988);const Xr=(0,A.Z)(Qr,[["render",Rr]]),Jr=Xr;function el(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-notice-icon"),l=(0,n.resolveComponent)("dt-notice-content"),u=(0,n.resolveComponent)("dt-notice-action");return(0,n.openBlock)(),(0,n.createElementBlock)("aside",{class:(0,n.normalizeClass)(s.noticeClass),"data-qa":"notice"},[(0,n.createVNode)(r,{kind:o.kind},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"icon")])),_:3},8,["kind"]),(0,n.createVNode)(l,{"title-id":o.titleId,"content-id":o.contentId,title:o.title,role:o.role},{titleOverride:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"titleOverride")])),default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},8,["title-id","content-id","title","role"]),(0,n.createVNode)(u,{"hide-close":o.hideClose,"close-button-props":o.closeButtonProps,onClose:t[0]||(t[0]=t=>e.$emit("close"))},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"action")])),_:3},8,["hide-close","close-button-props"])],2)}const tl={name:"DtNotice",components:{DtNoticeIcon:_e,DtNoticeContent:Me,DtNoticeAction:mt},props:{titleId:{type:String,default:void 0},contentId:{type:String,default:void 0},title:{type:String,default:""},role:{type:String,default:"status",validate(e){return ke.includes(e)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(e){return we.includes(e)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close","click"],computed:{noticeClass(){const e={error:"d-notice--error",info:"d-notice--info",success:"d-notice--success",warning:"d-notice--warning",base:"d-notice--base"};return["d-notice",e[this.kind],{"d-notice--important":this.important}]}}},nl=(0,A.Z)(tl,[["render",el]]),ol=nl,il={class:"d-radio__input"},al=["checked","name","value","disabled"],sl={class:"d-radio__copy d-radio__label","data-qa":"radio-label-description-container"};function rl(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("label",null,[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["d-radio-group",{"d-radio-group--disabled":e.internalDisabled}])},[(0,n.createElementVNode)("div",il,[(0,n.createElementVNode)("input",(0,n.mergeProps)({checked:e.internalChecked,name:e.internalName,value:o.value,disabled:e.internalDisabled,type:"radio",class:["d-radio",s.inputValidationClass,e.inputClass]},e.$attrs,(0,n.toHandlers)(s.inputListeners)),null,16,al)]),(0,n.createElementVNode)("div",sl,[(0,n.createElementVNode)("div",(0,n.mergeProps)({class:e.labelClass},e.labelChildProps,{"data-qa":"radio-label"}),[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.label),1)]))],16),e.$slots.description||e.description?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:0,class:["d-description",e.descriptionClass]},e.descriptionChildProps,{"data-qa":"radio-description"}),[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.description),1)]))],16)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":e.formattedMessages,"show-messages":e.showMessages,class:e.messagesClass},e.messagesChildProps,{"data-qa":"dt-radio-validation-messages"}),null,16,["validation-messages","show-messages","class"])])],2)])}const ll={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},ul={name:"DtRadio",components:{DtValidationMessages:ir},mixins:[ar,sr,rr,lr],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focus","focusin","focusout","click"],computed:{inputValidationClass(){return ll[this.internalValidationState]},radioGroupValue(){var e;return null===(e=this.groupContext)||void 0===e?void 0:e.selectedValue},inputListeners(){return{input:()=>{},focusin:e=>this.$emit("focusin",e),focusout:e=>this.$emit("focusout",e),change:e=>this.emitValue(e.target.value)}}},watch:{radioGroupValue:{immediate:!0,handler(e){this.hasGroup&&(this.internalChecked=e===this.value)}}},methods:{emitValue(e){e!==this.radioGroupValue&&(this.setGroupValue(e),this.$emit("input",e))}}},dl=(0,A.Z)(ul,[["render",rl]]),cl=dl,pl={name:"DtRadioGroup",extends:vr,props:{value:{type:[String,Number],default:""},dataQaGroup:{type:String,default:"radio-group"},dataQaGroupLegend:{type:String,default:"radio-group-legend"},dataQaGroupMessages:{type:String,default:"radio-group-messages"}},emits:["input"],data(){return{internalValue:this.value}},watch:{value(e){this.internalValue=e},internalValue:{immediate:!0,handler(e){this.provideObj.selectedValue=e}}},methods:{setGroupValue(e){this.$emit("input",e)},getMessageKey(e,t){return"radio-group-message-".concat(e,"-").concat(t,"-").concat(this.id)}}},hl=pl,Dl=hl,ml={"data-qa":"dt-tab-group"},fl=["aria-label"];function gl(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",ml,[(0,n.createElementVNode)("div",(0,n.mergeProps)({ref:"tabs",class:["d-tablist",a.TAB_LIST_SIZE_MODIFIERS[o.size],{[a.TAB_LIST_KIND_MODIFIERS.inverted]:o.inverted,[a.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]:o.borderless},o.tabListClass]},o.tabListChildProps,{role:"tablist","aria-label":o.label,onKeyup:[t[0]||(t[0]=(0,n.withKeys)((function(){return s.tabLeft&&s.tabLeft(...arguments)}),["left"])),t[1]||(t[1]=(0,n.withKeys)((function(){return s.tabRight&&s.tabRight(...arguments)}),["right"])),t[2]||(t[2]=(0,n.withKeys)((function(){return s.selectTab&&s.selectTab(...arguments)}),["enter"])),t[3]||(t[3]=(0,n.withKeys)((function(){return s.selectTab&&s.selectTab(...arguments)}),["space"]))],onKeydown:[t[4]||(t[4]=(0,n.withKeys)((function(){return s.onHomeButton&&s.onHomeButton(...arguments)}),["home"])),t[5]||(t[5]=(0,n.withKeys)((function(){return s.onEndButton&&s.onEndButton(...arguments)}),["end"]))]}),[(0,n.renderSlot)(e.$slots,"tabs")],16,fl),(0,n.renderSlot)(e.$slots,"default")])}const vl=["default","sm"],bl={sm:"d-tablist--sm"},yl={inverted:"d-tablist--inverted"},Cl={borderless:"d-tablist--no-border"},El={selected:"d-tab--selected"},Fl={name:"DtTabGroup",provide(){return{groupContext:this.provideObj,changeContentPanel:this.changeContentPanel,setFocus:this.setFocus}},props:{label:{type:String,default:""},selected:{type:String,default:""},disabled:{type:Boolean,default:!1},inverted:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1},size:{type:String,default:"default",validate(e){return vl.includes(e)}},tabListClass:{type:[String,Array,Object],default:""},tabListChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{provideObj:{selected:"",disabled:!1},focusId:null,tabs:[],TAB_LIST_SIZE_MODIFIERS:bl,TAB_LIST_KIND_MODIFIERS:yl,TAB_LIST_IMPORTANCE_MODIFIERS:Cl}},watch:{disabled:{immediate:!0,handler(){this.provideObj.disabled=this.disabled}},selected:{immediate:!0,handler(){this.provideObj.selected=this.selected}}},mounted(){this.updateSelected()},beforeUpdate(){this.updateSelected()},methods:{updateSelected(){this.provideObj.selected||(this.provideObj.selected=this.selected),this.tabs=this.getTabChildren()},setFocus(e){this.focusId=e},getTabChildren(){const e=Array.from(this.$refs.tabs.children);return e.filter((e=>{let{className:t}=e;return t.includes("d-tab")})).map((e=>{var t,n;return{context:e,panelId:null===(t=e.getAttribute("aria-controls"))||void 0===t?void 0:t.replace("dt-panel-",""),id:null===(n=e.getAttribute("id"))||void 0===n?void 0:n.replace("dt-tab-",""),isSelected:"true"===e.getAttribute("aria-selected")}}))},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel(e){let{selected:t,selectOverride:n}=e;this.provideObj.selected=t,n||this.onChange()},tabLeft(){const{index:e,tabs:t}=this.getIndexAndTabs();if(-1===e)return;const n=e-1<0?t.length-1:e-1;this.selectFocusOnTab(n,t)},tabRight(){const{index:e,tabs:t}=this.getIndexAndTabs();if(-1===e)return;const n=e+1>t.length-1?0:e+1;this.selectFocusOnTab(n,t)},selectFocusOnTab(e,t){const{context:n}=t[e];n.focus()},selectTab(){const{tabs:e,index:t}=this.getIndexAndTabs();this.selectTabByIndex(t,e)},selectTabByIndex(e,t){const{context:n,panelId:o}=t[e];this.provideObj.selected=o,n.focus()},getIndexAndTabs(){const e=this.tabs.findIndex((e=>this.focusId?e.id==="".concat(this.focusId):e.isSelected));return{tabs:this.tabs,index:e}},onHomeButton(){var e,t;0!==this.tabs.length&&(null===(e=this.tabs[0])||void 0===e||null===(t=e.context)||void 0===t||t.focus())},onEndButton(){var e,t;0!==this.tabs.length&&(null===(e=this.tabs[this.tabs.length-1])||void 0===e||null===(t=e.context)||void 0===t||t.focus())}}},Sl=(0,A.Z)(Fl,[["render",gl]]),Bl=Sl;function wl(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({id:"dt-tab-".concat(o.id),class:["d-tab",{[a.TAB_IMPORTANCE_MODIFIERS.selected]:s.isSelected},o.tabClass],role:"tab","aria-selected":"".concat(s.isSelected),"aria-controls":"dt-panel-".concat(o.panelId),"aria-label":o.label,"data-qa":"dt-tab",tabindex:s.isSelected?"0":"-1",disabled:s.groupContext.disabled||o.disabled},e.$attrs,{onClick:t[0]||(t[0]=e=>s.selectPanel()),onFocus:t[1]||(t[1]=e=>s.setFocus(o.id))}),{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},16,["id","class","aria-selected","aria-controls","aria-label","tabindex","disabled"])}const kl={name:"DtTab",components:{DtButton:pt},inject:["changeContentPanel","groupContext","setFocus"],inheritAttrs:!1,props:{id:{type:String,required:!0},panelId:{type:String,required:!0},label:{type:String,default:""},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tabClass:{type:[String,Array,Object],default:""}},data(){return{TAB_IMPORTANCE_MODIFIERS:El}},computed:{isSelected(){return this.groupContext.selected===this.panelId}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.changeContentPanel({selected:this.panelId,selectOverride:e})}}},xl=(0,A.Z)(kl,[["render",wl]]),Il=xl,Ol=["id","aria-labelledby","aria-hidden"];function _l(e,t,o,i,a,s){return(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("div",{id:"dt-panel-".concat(o.id),role:"tabpanel",tabindex:"0","aria-labelledby":"dt-tab-".concat(o.tabId),"aria-hidden":"".concat(s.hidePanel),class:(0,n.normalizeClass)([{"d-d-none":s.hidePanel},o.tabPanelClass]),"data-qa":"dt-tab-panel"},[(0,n.renderSlot)(e.$slots,"default")],10,Ol)),[[n.vShow,!o.hidden]])}const Al={name:"DtTabPanel",inject:["groupContext"],props:{id:{type:String,required:!0},tabId:{type:String,required:!0},hidden:{type:Boolean,default:!1},tabPanelClass:{type:[String,Array,Object],default:""}},computed:{hidePanel(){return this.groupContext.selected!==this.id||this.hidden}}},Ll=(0,A.Z)(Al,[["render",_l]]),Tl=Ll,Nl={class:"d-checkbox__input"},Pl=["checked","name","value","disabled",".indeterminate"],Vl={key:0,class:"d-checkbox__copy d-checkbox__label","data-qa":"checkbox-label-description-container"};function Ml(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("label",null,[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["d-checkbox-group",{"d-checkbox-group--disabled":e.internalDisabled}])},[(0,n.createElementVNode)("div",Nl,[(0,n.createElementVNode)("input",(0,n.mergeProps)({type:"checkbox",checked:e.internalChecked,name:e.internalName,value:e.value,disabled:e.internalDisabled,class:["d-checkbox",s.inputValidationClass,e.inputClass]},e.$attrs,{".indeterminate":e.internalIndeterminate},(0,n.toHandlers)(s.inputListeners)),null,16,Pl)]),s.hasLabelOrDescription?((0,n.openBlock)(),(0,n.createElementBlock)("div",Vl,[s.hasLabel?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:0,class:e.labelClass},e.labelChildProps,{"data-qa":"checkbox-label"}),[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.label),1)]))],16)):(0,n.createCommentVNode)("",!0),s.hasDescription?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:1,class:["d-description",e.descriptionClass]},e.descriptionChildProps,{"data-qa":"checkbox-description"}),[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.description),1)]))],16)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":e.formattedMessages,"show-messages":e.showMessages,class:e.messagesClass},e.messagesChildProps,{"data-qa":"dt-checkbox-validation-messages"}),null,16,["validation-messages","show-messages","class"])])):(0,n.createCommentVNode)("",!0)],2)])}const $l={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},Rl={name:"DtCheckbox",components:{DtValidationMessages:ir},mixins:[ar,sr,rr,lr],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return $l[this.internalValidationState]},checkboxGroupValueChecked(){var e,t,n;return null!==(e=null===(t=this.groupContext)||void 0===t||null===(n=t.selectedValues)||void 0===n?void 0:n.includes(this.value))&&void 0!==e&&e},hasLabel(){return!(!this.$slots.default&&!this.label)},hasDescription(){return!(!this.$slots.description&&!this.description)},hasLabelOrDescription(){return this.hasLabel||this.hasDescription},inputListeners(){return{input:()=>{},focusin:e=>this.$emit("focusin",e),focusout:e=>this.$emit("focusout",e),change:e=>this.emitValue(e.target)}}},watch:{checkboxGroupValueChecked:{immediate:!0,handler(e){this.hasGroup&&(this.internalChecked=e)}}},mounted(){this.runValidations()},methods:{emitValue(e){let{value:t,checked:n}=e;this.internalIndeterminate&&(n=!1,this.internalIndeterminate=!1,e.checked=!1),this.setGroupValue(t,n),this.$emit("input",n)},runValidations(){this.validateInputLabels(this.hasLabel,this.$attrs["aria-label"])}}},jl=(0,A.Z)(Rl,[["render",Ml]]),Kl=jl,zl={name:"DtCheckboxGroup",extends:vr,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:e=>!e||((0,n.warn)("Component uses selectedValues to initialize the model, value is not supported by this component",void 0),!1)},selectedValues:{type:Array,default(){return[]}},dataQaGroup:{type:String,default:"checkbox-group"},dataQaGroupLegend:{type:String,default:"checkbox-group-legend"},dataQaGroupMessages:{type:String,default:"checkbox-group-messages"}},emits:["input"],data(){return{internalValue:this.selectedValues}},watch:{selectedValues(e){this.internalValue=e},internalValue:{immediate:!0,handler(e){this.provideObj.selectedValues=e}}},methods:{setGroupValue(e,t){t?this.internalValue.includes(e)||this.internalValue.push(e):this.internalValue=this.internalValue.filter((t=>t!==e)),this.$emit("input",this.internalValue)},getMessageKey(e,t){return"checkbox-group-message-".concat(e,"-").concat(t,"-").concat(this.id)}}},Hl=zl,ql=Hl,Wl={class:"d-chip"},Zl={key:0,"data-qa":"dt-chip-icon",class:"d-chip__icon"},Ul={key:1,"data-qa":"dt-chip-avatar"},Gl=["id"];function Yl(e,t,o,i,a,s){const r=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("span",Wl,[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(o.interactive?"button":"span"),(0,n.mergeProps)({id:o.id,type:o.interactive&&"button",class:s.chipClasses(),"data-qa":"dt-chip","aria-labelledby":o.ariaLabel?void 0:"".concat(o.id,"-content"),"aria-label":o.ariaLabel},(0,n.toHandlers)(s.chipListeners)),{default:(0,n.withCtx)((()=>[e.$slots.icon?((0,n.openBlock)(),(0,n.createElementBlock)("span",Zl,[(0,n.renderSlot)(e.$slots,"icon")])):e.$slots.avatar?((0,n.openBlock)(),(0,n.createElementBlock)("span",Ul,[(0,n.renderSlot)(e.$slots,"avatar")])):(0,n.createCommentVNode)("",!0),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:2,id:"".concat(o.id,"-content"),"data-qa":"dt-chip-label",class:(0,n.normalizeClass)(["d-truncate","d-chip__text",o.contentClass])},[(0,n.renderSlot)(e.$slots,"default")],10,Gl)):(0,n.createCommentVNode)("",!0)])),_:3},16,["id","type","class","aria-labelledby","aria-label"])),o.hideClose?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:0},o.closeButtonProps,{class:s.chipCloseButtonClasses(),"data-qa":"dt-chip-close","aria-label":o.closeButtonProps.ariaLabel,onClick:t[0]||(t[0]=t=>e.$emit("close"))}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r)])),_:1},16,["class","aria-label"]))])}const Ql={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Xl={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},Jl={name:"DtChip",components:{IconClose:Ze,DtButton:pt},props:{closeButtonProps:{type:Object,default:function(){return{ariaLabel:"close"}},validator:e=>!!e.ariaLabel},hideClose:{type:Boolean,default:!1},size:{type:String,default:"md",validator:e=>Object.keys(Ql).includes(e)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return E()}},ariaLabel:{type:String,default:""},contentClass:{type:[String,Array,Object],default:""}},emits:["click","close","keyup"],data(){return{isActive:!1}},computed:{chipListeners(){return{click:e=>{this.interactive&&this.$emit("click",e)},keyup:e=>{var t;"delete"===(null===(t=e.code)||void 0===t?void 0:t.toLowerCase())?this.onClose():this.$emit("keyup",e)}}}},methods:{chipClasses(){return["d-chip__label",Ql[this.size]]},chipCloseButtonClasses(){return["d-chip__close",Xl[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},eu=(0,A.Z)(Jl,[["render",Yl]]),tu=eu,nu=["aria-details"],ou=["id"],iu=["disabled"],au=["value"];function su(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[(0,n.createElementVNode)("label",null,[e.$slots.label||o.label?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:0,"aria-details":s.labelAriaDetails,class:["d-label",a.LABEL_SIZE_MODIFIERS[o.size],o.labelClass]},o.labelChildProps,{"data-qa":"dt-select-label"}),[(0,n.renderSlot)(e.$slots,"label",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.label),1)]))],16,nu)):(0,n.createCommentVNode)("",!0),e.$slots.description||o.description?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:1,id:s.descriptionKey,class:["d-description",a.DESCRIPTION_SIZE_MODIFIERS[o.size],o.descriptionClass]},o.descriptionChildProps,{"data-qa":"dt-select-description"}),[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.description),1)]))],16,ou)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["d-select",a.SELECT_SIZE_MODIFIERS[o.size],o.selectClass,{"d-select--disabled":o.disabled}]),"data-qa":"dt-select-wrapper"},[(0,n.createElementVNode)("select",(0,n.mergeProps)({class:["d-select__input",a.SELECT_STATE_MODIFIERS[s.state]]},e.$attrs,{"data-qa":"dt-select",disabled:o.disabled},(0,n.toHandlers)(s.selectListeners)),[(0,n.renderSlot)(e.$slots,"default",{},(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.options,(e=>((0,n.openBlock)(),(0,n.createElementBlock)("option",(0,n.mergeProps)({key:s.getOptionKey(e.value),value:e.value,class:o.optionClass},o.optionChildProps),(0,n.toDisplayString)(e.label),17,au)))),128))]))],16,iu)],2)]),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":e.formattedMessages,"show-messages":e.showMessages,class:e.messagesClass},e.messagesChildProps,{"data-qa":"dt-select-messages"}),null,16,["validation-messages","show-messages","class"])])}const ru={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},lu={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},uu=e=>!e.index||"number"===typeof e.index,du=e=>!!e.value&&("string"===typeof e.value||"number"===typeof e.value),cu=e=>!!e.label&&"string"===typeof e.label,pu=e=>!e||e.every((e=>!!uu(e)&&(!!du(e)&&!!cu(e)))),hu={name:"DtSelectMenu",components:{DtValidationMessages:ir},mixins:[lr],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:e=>pu(e)},size:{type:String,default:"md",validator:e=>Object.keys(ru).includes(e)},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},selectClass:{type:[String,Array,Object],default:""},optionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})},descriptionChildProps:{type:Object,default:()=>({})},optionChildProps:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1}},emits:["change","input"],data(){return{LABEL_SIZE_MODIFIERS:h,DESCRIPTION_SIZE_MODIFIERS:p,SELECT_SIZE_MODIFIERS:ru,SELECT_STATE_MODIFIERS:lu}},computed:{selectListeners(){return{input:()=>{},change:e=>this.emitValue(e.target.value)}},state(){return B(this.formattedMessages)},selectKey(){return E()},descriptionKey(){return"select-".concat(this.selectKey,"-description")},labelAriaDetails(){return this.$slots.description||this.description?this.descriptionKey:this.$attrs["aria-details"]}},mounted(){this.validateOptionsPresence()},beforeUpdate(){this.validateOptionsPresence()},methods:{emitValue(e){this.$emit("input",e),this.$emit("change",e)},getOptionKey(e){return"select-".concat(this.selectKey,"-option-").concat(e)},validateOptionsPresence(){var e;(null===(e=this.options)||void 0===e?void 0:e.length)<1&&!this.$slots.default&&(0,n.warn)("Options are expected to be provided via prop or slot",this)}}},Du=(0,A.Z)(hu,[["render",su]]),mu=Du,fu=["aria-hidden"],gu={class:"d-toast__dialog"};function vu(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-notice-icon"),l=(0,n.resolveComponent)("dt-notice-content"),u=(0,n.resolveComponent)("dt-notice-action");return a.isShown?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:(0,n.normalizeClass)(["d-toast",s.kindClass,{"d-toast--important":o.important}]),"data-qa":"dt-toast","aria-hidden":(!a.isShown).toString()},[(0,n.createElementVNode)("div",gu,[(0,n.createVNode)(r,{kind:o.kind},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"icon")])),_:3},8,["kind"]),(0,n.createVNode)(l,{"title-id":o.titleId,"content-id":o.contentId,title:o.title,role:o.role},{titleOverride:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"titleOverride")])),default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.message),1)]))])),_:3},8,["title-id","content-id","title","role"]),(0,n.createVNode)(u,{"hide-close":o.hideClose,"close-button-props":o.closeButtonProps,onClose:s.closeToast},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"action")])),_:3},8,["hide-close","close-button-props","onClose"])])],10,fu)):(0,n.createCommentVNode)("",!0)}const bu=["status","alert"],yu=6e3,Cu={name:"DtToast",components:{DtNoticeIcon:_e,DtNoticeContent:Me,DtNoticeAction:mt},props:{titleId:{type:String,default(){return O.getUniqueString()}},contentId:{type:String,default(){return O.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:e=>bu.includes(e)},kind:{type:String,default:"base",validator:e=>we.includes(e)},important:{type:Boolean,default:!1},show:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1},duration:{type:Number,default:null,validator:e=>e>=yu}},emits:["close","click","update:show"],data(){return{isShown:!1,minDuration:yu}},computed:{kindClass(){const e={error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"};return e[this.kind]},shouldSetTimeout(){return!!this.duration&&this.duration>=this.minDuration}},watch:{show:{handler:function(e){this.isShown=e,e?this.setTimeout():clearTimeout(this.displayTimer)},immediate:!0}},unmounted(){clearTimeout(this.displayTimer)},methods:{closeToast(e){this.$emit("update:show",!1),this.$emit("close",e)},setTimeout(){this.shouldSetTimeout&&(this.displayTimer=setTimeout((()=>{this.isShown=!1,this.$emit("update:show",!1)}),this.duration))}}},Eu=(0,A.Z)(Cu,[["render",vu]]),Fu=Eu,Su={class:"d-d-flex d-ai-center"},Bu=["for"],wu=["id","aria-checked","disabled","aria-disabled"],ku=(0,n.createElementVNode)("span",{class:"d-toggle__inner"},null,-1),xu=[ku];function Iu(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",Su,[e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("label",(0,n.mergeProps)({key:0,class:o.labelClass,for:o.id},o.labelChildProps,{"data-qa":"toggle-label"}),[(0,n.renderSlot)(e.$slots,"default")],16,Bu)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("button",(0,n.mergeProps)({id:o.id,role:"switch",type:"button","aria-checked":a.internalChecked.toString(),disabled:o.disabled,"aria-disabled":o.disabled.toString(),class:["d-toggle",{"d-toggle--checked":a.internalChecked,"d-toggle--disabled":o.disabled}]},s.inputListeners),xu,16,wu)])}const Ou={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return O.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},labelClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{internalChecked:this.checked}},computed:{inputListeners(){return{...this.$attrs,onClick:e=>this.toggleCheckedValue()}}},watch:{checked(e){this.internalChecked=e}},mounted(){this.runValidations()},methods:{toggleCheckedValue(){this.internalChecked=!this.internalChecked,this.$emit("change",this.internalChecked)},hasSlotLabel(){return!!this.$slots.default},runValidations(){this.validateInputLabels(this.hasSlotLabel(),this.$attrs["aria-label"])},validateInputLabels(e,t){e||t||(0,n.warn)("You must provide an aria-label when there is no label passed",this)}}},_u=(0,A.Z)(Ou,[["render",Iu]]),Au=_u,Lu={"data-qa":"dt-tooltip-container"};function Tu(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-lazy-show");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Lu,[(0,n.createElementVNode)("div",{ref:"anchor","data-qa":"dt-tooltip-anchor",onFocusin:t[0]||(t[0]=function(){return s.onEnterAnchor&&s.onEnterAnchor(...arguments)}),onFocusout:t[1]||(t[1]=function(){return s.onLeaveAnchor&&s.onLeaveAnchor(...arguments)}),onMouseenter:t[2]||(t[2]=function(){return s.onEnterAnchor&&s.onEnterAnchor(...arguments)}),onMouseleave:t[3]||(t[3]=function(){return s.onLeaveAnchor&&s.onLeaveAnchor(...arguments)}),onKeydown:t[4]||(t[4]=(0,n.withKeys)((function(){return s.onLeaveAnchor&&s.onLeaveAnchor(...arguments)}),["esc"]))},[(0,n.renderSlot)(e.$slots,"anchor")],544),(0,n.createVNode)(r,{id:o.id,ref:"content",show:a.isShown&&(!!o.message.trim()||!!e.$slots.default),role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:o.transition,class:(0,n.normalizeClass)(["d-tooltip","d-tooltip__arrow-tippy--".concat(a.currentPlacement),{[a.TOOLTIP_KIND_MODIFIERS.inverted]:o.inverted},o.contentClass]),onAfterLeave:s.onLeaveTransitionComplete,onAfterEnter:s.onEnterTransitionComplete},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.message),1)]))])),_:3},8,["id","show","transition","class","onAfterLeave","onAfterEnter"])])}const Nu=[...Da],Pu={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Vu=[!0,!1,"toggle"],Mu={name:"Tooltip",components:{DtLazyShow:xa},props:{id:{type:String,default(){return E()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(e){return Nu.includes(e)}},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"}},emits:["update:show","shown"],data(){return{TOOLTIP_KIND_MODIFIERS:Pu,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,popperOptions:fa({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(e){null!==e&&(this.isShown=e)},immediate:!0},isShown(e,t){e?(this.setProps(),this.tip.show()):this.tip.hide()}},mounted(){this.tip=ma(va(this.$refs.anchor),this.initOptions()),this.isShown&&this.tip.show()},beforeUnmount(){var e;this.tip&&(null===(e=this.tip)||void 0===e||e.destroy())},methods:{calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?651:400},hasVisibleFocus(){return va(this.$refs.anchor).hasAttribute("data-focus-visible-added")},onEnterAnchor(e){"focusin"===e.type?null===this.show&&this.hasVisibleFocus()&&(this.isShown=!0):null===this.show&&(this.isShown=!0)},onLeaveAnchor(e){null===this.show&&(this.isShown=!1)},onChangePlacement(e){this.currentPlacement=e},onLeaveTransitionComplete(){var e;null===(e=this.tip)||void 0===e||e.unmount(),this.$emit("shown",!1),null!==this.show&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),null!==this.show&&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}}}};o(730);const $u=(0,A.Z)(Mu,[["render",Tu]]),Ru=$u,ju={key:0,class:"sr-only"},Ku=["innerHTML"];function zu(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("kbd",{class:(0,n.normalizeClass)(["d-d-inline-flex","d-ff-custom","d-ai-center","d-jc-center","d-box-border","d-px4","d-ba","d-bar4","d-fs12",o.inverted?"d-bc-black-400":"d-bc-black-100"])},[o.screenReaderText?((0,n.openBlock)(),(0,n.createElementBlock)("span",ju,(0,n.toDisplayString)(o.screenReaderText),1)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.formattedShortcutSplit,((e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[s.icons[e]?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.icons[e]),{key:"".concat(t,"-").concat(e),"aria-hidden":"true",class:(0,n.normalizeClass)(["dt-keyboard-shortcut__svg",o.inverted?"d-fc-black-075":"d-fc-black-500","d-mr2"])},null,8,["class"])):((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:"".concat(t,"-").concat(e),"aria-hidden":"true",class:(0,n.normalizeClass)([o.inverted?"d-fc-black-075":"d-fc-black-500","d-mr2"]),innerHTML:e},null,10,Ku))],64)))),256))],2)}const Hu={"aria-hidden":"true","aria-label":"Windows",class:"d-svg d-svg--system d-svg__windows",viewBox:"0 0 24 24"},qu=(0,n.createElementVNode)("path",{d:"M19.903 12.819v7.532L10.936 19v-6.197l8.967.016zM10.936 5.334l8.967-1.249V11.5h-8.967V5.334zM9.745 12.757v6.134l-6.643-.885v-5.28l6.643.03zM3.097 6.328l6.647-.885v6.134H3.1l-.003-5.25z"},null,-1),Wu=[qu];function Zu(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Hu,Wu)}const Uu={},Gu=(0,A.Z)(Uu,[["render",Zu]]),Yu=Gu,Qu={"aria-hidden":"true","aria-label":"Add",class:"d-svg d-svg--system d-svg__add",viewBox:"0 0 24 24"},Xu=(0,n.createElementVNode)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"},null,-1),Ju=[Xu];function ed(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Qu,Ju)}const td={},nd=(0,A.Z)(td,[["render",ed]]),od=nd,id={"aria-hidden":"true","aria-label":"Arrow Downward",class:"d-svg d-svg--system d-svg__arrowDownward",viewBox:"0 0 24 24"},ad=(0,n.createElementVNode)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"},null,-1),sd=[ad];function rd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",id,sd)}const ld={},ud=(0,A.Z)(ld,[["render",rd]]),dd=ud,cd={"aria-hidden":"true","aria-label":"Arrow Upward",class:"d-svg d-svg--system d-svg__arrowUpward",viewBox:"0 0 24 24"},pd=(0,n.createElementVNode)("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"},null,-1),hd=[pd];function Dd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",cd,hd)}const md={},fd=(0,A.Z)(md,[["render",Dd]]),gd=fd,vd={"aria-hidden":"true","aria-label":"Arrow Forward",class:"d-svg d-svg--system d-svg__arrowForward",viewBox:"0 0 24 24"},bd=(0,n.createElementVNode)("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"},null,-1),yd=[bd];function Cd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",vd,yd)}const Ed={},Fd=(0,A.Z)(Ed,[["render",Cd]]),Sd=Fd,Bd={"aria-hidden":"true","aria-label":"Arrow Backwards",class:"d-svg d-svg--system d-svg__arrowBackwards",viewBox:"0 0 24 24"},wd=(0,n.createElementVNode)("path",{d:"M12 20l1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8z"},null,-1),kd=[wd];function xd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Bd,kd)}const Id={},Od=(0,A.Z)(Id,[["render",xd]]),_d=Od,Ad={cmd:"⌘"},Ld={"{win}":"IconWindows","{arrow-right}":"IconArrowForward","{arrow-left}":"IconArrowBackward","{arrow-up}":"IconArrowUpward","{arrow-down}":"IconArrowDownward"},Td={"{plus}":"IconAdd"},Nd=Object.keys(Ad).map((e=>"{".concat(e,"}"))).concat(Object.keys(Ld)),Pd={name:"DtKeyboardShortcut",components:{IconWindows:Yu,IconArrowBackward:_d,IconArrowDownward:dd,IconArrowForward:Sd,IconArrowUpward:gd,IconAdd:od},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Ld,separator:/\+/gi}},computed:{icons(){return{...Ld,...Td}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(Ad).reduce(((e,t)=>e.replace(new RegExp("{"+t+"}","gi"),Ad[t])),this.shortcutWithSeparator)},formattedShortcutSplit(){const e=Object.keys(this.icons).join("|"),t=new RegExp("(".concat(e,")"),"gi");return this.formattedShortcut.split(t).filter(Boolean)}}};o(941);const Vd=(0,A.Z)(Pd,[["render",zu]]),Md=Vd,$d={class:"root-layout"};function Rd(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-root-layout-body");return(0,n.openBlock)(),(0,n.createElementBlock)("div",$d,[e.$slots.header?((0,n.openBlock)(),(0,n.createElementBlock)("header",{key:0,class:(0,n.normalizeClass)(["root-layout__header",o.headerClass,{"root-layout__header--sticky":o.headerSticky}]),style:(0,n.normalizeStyle)({height:o.headerHeight}),"data-qa":"root-layout-header"},[(0,n.renderSlot)(e.$slots,"header")],6)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(r,{"content-class":o.contentClass,"content-wrap-width-percent":o.contentWrapWidthPercent,"sidebar-class":o.sidebarClass,"sidebar-width":o.sidebarWidth,"sidebar-position":o.sidebarPosition},{sidebar:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"sidebar")])),content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},8,["content-class","content-wrap-width-percent","sidebar-class","sidebar-width","sidebar-position"]),e.$slots.footer?((0,n.openBlock)(),(0,n.createElementBlock)("footer",{key:1,class:(0,n.normalizeClass)(["root-layout__footer",o.footerClass]),style:(0,n.normalizeStyle)({height:o.footerHeight}),"data-qa":"root-layout-footer"},[(0,n.renderSlot)(e.$slots,"footer")],6)):(0,n.createCommentVNode)("",!0)])}function jd(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["root-layout__body",s.bodyClass]),"data-qa":"root-layout-body"},[e.$slots.sidebar?((0,n.openBlock)(),(0,n.createElementBlock)("aside",{key:0,class:(0,n.normalizeClass)(["root-layout__sidebar",o.sidebarClass]),style:(0,n.normalizeStyle)({"flex-basis":o.sidebarWidth}),"data-qa":"root-layout-sidebar"},[(0,n.renderSlot)(e.$slots,"sidebar")],6)):(0,n.createCommentVNode)("",!0),e.$slots.content?((0,n.openBlock)(),(0,n.createElementBlock)("main",{key:1,class:(0,n.normalizeClass)(["root-layout__content",o.contentClass]),style:(0,n.normalizeStyle)({"min-inline-size":o.contentWrapWidthPercent}),"data-qa":"root-layout-content"},[(0,n.renderSlot)(e.$slots,"content")],6)):(0,n.createCommentVNode)("",!0)],2)}const Kd={LEFT:"left",RIGHT:"right"},zd={name:"DtRootLayoutBody",props:{contentClass:{type:[String,Array,Object],default:void 0},sidebarClass:{type:[String,Array,Object],default:void 0},sidebarWidth:{type:String,default:void 0},sidebarPosition:{type:String,default:void 0},contentWrapWidthPercent:{type:String,default:void 0}},computed:{bodyClass(){return{"root-layout__body--invert":this.sidebarPosition===Kd.RIGHT}}}};o(683);const Hd=(0,A.Z)(zd,[["render",jd]]),qd=Hd,Wd={name:"DtRootLayout",components:{DtRootLayoutBody:qd},props:{headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},headerSticky:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:""},contentWrapWidthPercent:{type:String,default:"50%"},sidebarClass:{type:[String,Array,Object],default:""},sidebarWidth:{type:String,default:"256px"},sidebarPosition:{type:String,default:"left",validator:e=>Object.values(Kd).includes(e)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}};o(257);const Zd=(0,A.Z)(Wd,[["render",Rd]]),Ud=Zd,Gd=["id"],Yd=["onMouseleave","onFocusout"];function Qd(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-popover"),l=(0,n.resolveComponent)("dt-combobox");return(0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({ref:"combobox","show-list":a.isListShown,"on-beginning-of-list":o.onBeginningOfList,"on-end-of-list":o.onEndOfList,"list-aria-label":o.listAriaLabel,"list-rendered-outside":!0,"list-id":o.listId,"data-qa":"dt-combobox"},s.comboboxListeners),{input:(0,n.withCtx)((o=>{let{inputProps:i}=o;return[(0,n.createElementVNode)("div",{id:a.externalAnchor,ref:"input",onFocusin:t[0]||(t[0]=function(){return s.onFocusIn&&s.onFocusIn(...arguments)}),onFocusout:t[1]||(t[1]=function(){return s.onFocusOut&&s.onFocusOut(...arguments)}),onKeydown:[t[2]||(t[2]=(0,n.withKeys)((e=>s.openOnArrowKeyPress(e)),["up"])),t[3]||(t[3]=(0,n.withKeys)((e=>s.openOnArrowKeyPress(e)),["down"]))]},[(0,n.renderSlot)(e.$slots,"input",{inputProps:i,onInput:s.handleDisplayList})],40,Gd)]})),list:(0,n.withCtx)((i=>{let{opened:l,listProps:u,clearHighlightIndex:d}=i;return[(0,n.createVNode)(r,{ref:"popover",open:a.isListShown,"onUpdate:open":t[6]||(t[6]=e=>a.isListShown=e),"hide-on-click":!0,"max-height":o.maxHeight,"max-width":o.maxWidth,offset:o.popoverOffset,placement:"bottom-start",padding:"none",role:"listbox","external-anchor":a.externalAnchor,"content-width":o.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,onOpened:l},(0,n.createSlots)({content:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{ref:"listWrapper",class:(0,n.normalizeClass)([a.DROPDOWN_PADDING_CLASSES[o.padding],o.listClass]),onMouseleave:d,onFocusout:e=>{s.onFocusOut}},[(0,n.renderSlot)(e.$slots,"list",{listProps:u})],42,Yd)])),_:2},[e.$slots.header?{name:"headerContent",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{ref:"header",onFocusout:t[4]||(t[4]=function(){return s.onFocusOut&&s.onFocusOut(...arguments)})},[(0,n.renderSlot)(e.$slots,"header")],544)]))}:void 0,e.$slots.footer?{name:"footerContent",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{ref:"footer",onFocusout:t[5]||(t[5]=function(){return s.onFocusOut&&s.onFocusOut(...arguments)})},[(0,n.renderSlot)(e.$slots,"footer")],544)]))}:void 0]),1032,["open","max-height","max-width","offset","external-anchor","content-width","onOpened"])]})),_:3},16,["show-list","on-beginning-of-list","on-end-of-list","list-aria-label","list-id"])}const Xd={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:Qt,DtPopover:Na},props:{listAriaLabel:{type:String,required:!0},showList:{type:Boolean,default:null},listId:{type:String,default(){return E()}},listClass:{type:[String,Array,Object],default:""},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},padding:{type:String,default:"small",validator:e=>Object.keys(Ma).some((t=>t===e))},contentWidth:{type:String,default:null,validator:e=>Fa.includes(e)},openWithArrowKeys:{type:Boolean,default:!1},popoverOffset:{type:Array,default:()=>[0,4]},hasSuggestionList:{type:Boolean,default:!0}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:Ma,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:E()}},computed:{comboboxListeners(){return{...this.$attrs,onSelect:this.onSelect,onEscape:this.onEscape,onHighlight:this.onHighlight}}},watch:{showList:{handler:function(e){null!==e&&(this.isListShown=e)},immediate:!0},isListShown(e){this.onOpened(e)}},methods:{async handleDisplayList(e){this.isListShown&&(await this.$nextTick(),this.$refs.combobox.setInitialHighlightIndex()),this.hasSuggestionList||(e?this.showComboboxList():this.closeComboboxList())},showComboboxList(){null==this.showList&&(this.isListShown=!0)},closeComboboxList(){null==this.showList&&(this.isListShown=!1)},onSelect(e){this.$emit("select",e),this.hasSuggestionList||this.closeComboboxList()},onEscape(){this.$emit("escape"),this.closeComboboxList()},onHighlight(e){this.$emit("highlight",e)},onOpened(e){this.$emit("opened",e)},onFocusIn(e){this.hasSuggestionList&&e&&this.$refs.input.querySelector("input")===e.target&&this.showComboboxList()},onFocusOut(e){const t=["input","header","footer","listWrapper"],n=t.some((t=>{var n;return null===(n=this.$refs[t])||void 0===n?void 0:n.contains(e.relatedTarget)}));n||this.closeComboboxList()},openOnArrowKeyPress(e){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},Jd=(0,A.Z)(Xd,[["render",Qd]]),ec=Jd,tc={ref:"inputSlotWrapper",class:"d-ps-relative"},nc={ref:"chipsWrapper",class:"d-ps-absolute d-mx2"},oc={ref:"header"},ic={ref:"list"},ac={key:1,class:"d-ta-center d-py16"},sc={ref:"footer"};function rc(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-chip"),l=(0,n.resolveComponent)("dt-input"),u=(0,n.resolveComponent)("dt-validation-messages"),d=(0,n.resolveComponent)("dt-recipe-combobox-with-popover");return(0,n.openBlock)(),(0,n.createBlock)(d,{ref:"comboboxWithPopover","list-aria-label":"listAriaLabel","show-list":o.showList,"max-height":o.listMaxHeight,"popover-offset":a.popoverOffset,"has-suggestion-list":o.hasSuggestionList,"content-width":"anchor",onSelect:s.onComboboxSelect},(0,n.createSlots)({input:(0,n.withCtx)((e=>{let{onInput:i}=e;return[(0,n.createElementVNode)("span",tc,[(0,n.createElementVNode)("span",nc,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.selectedItems,(e=>((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({ref_for:!0,ref:"chips",key:e,class:"d-mt4 d-mx2 d-zi-base1","close-button-props":{ariaLabel:"close"}},(0,n.toHandlers)(s.chipListeners),{onKeyup:(0,n.withKeys)((t=>s.onChipRemove(e)),["backspace"]),onClose:t=>s.onChipRemove(e)}),{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e),1)])),_:2},1040,["onKeyup","onClose"])))),128))],512),(0,n.createVNode)(l,(0,n.mergeProps)({ref:"input",modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),class:"d-fl-grow1 d-mb4",label:o.label,description:o.description,placeholder:s.inputPlaceHolder,"show-messages":o.showInputMessages,messages:o.inputMessages},(0,n.toHandlers)(s.inputListeners),{onInput:i}),null,16,["modelValue","label","description","placeholder","show-messages","messages","onInput"]),(0,n.createVNode)(u,{"validation-messages":o.maxSelectedMessage,"show-messages":a.showValidationMessages},null,8,["validation-messages","show-messages"])],512)]})),list:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",ic,[o.loading?((0,n.openBlock)(),(0,n.createElementBlock)("div",ac,(0,n.toDisplayString)(o.loadingMessage),1)):(0,n.renderSlot)(e.$slots,"list",{key:0})],512)])),_:2},[e.$slots.header?{name:"header",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",oc,[(0,n.renderSlot)(e.$slots,"header")],512)]))}:void 0,e.$slots.footer?{name:"footer",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",sc,[(0,n.renderSlot)(e.$slots,"footer")],512)]))}:void 0]),1032,["show-list","max-height","popover-offset","has-suggestion-list","onSelect"])}const lc={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:ec,DtInput:cr,DtChip:tu,DtValidationMessages:ir},props:{label:{type:String,default:null},description:{type:String,default:null},placeholder:{type:String,default:"Select one or start typing"},inputMessages:{type:Array,default:()=>[],validator:e=>tr(e)},showInputMessages:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},loadingMessage:{type:String,default:"loading..."},showList:{type:Boolean,default:null},listMaxHeight:{type:String,default:"300px"},selectedItems:{type:Array,default:function(){return[]}},maxSelected:{type:Number,default:0},maxSelectedMessage:{type:Array,default:function(){return[]}},hasSuggestionList:{type:Boolean,default:!0}},emits:["input","select","remove","max-selected","keyup"],data(){return{value:"",popoverOffset:[0,0],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null}},computed:{inputPlaceHolder(){var e;return(null===(e=this.selectedItems)||void 0===e?void 0:e.length)>0?"":this.placeholder},chipListeners(){return{keyup:e=>{this.onChipKeyup(e),this.$emit("keyup",e)}}},inputListeners(){return{input:e=>{this.$emit("input",e)},keyup:e=>{this.onInputKeyup(e),this.$emit("keyup",e)}}}},watch:{selectedItems:{deep:!0,immediate:!0,handler:async function(){await this.$nextTick(),this.setInputPadding(),this.setInputMinWidth(),this.checkMaxSelected()}},async label(){await this.$nextTick(),this.setChipsTopPosition()},async description(){await this.$nextTick(),this.setChipsTopPosition()}},mounted(){this.setChipsTopPosition(),this.resizeWindowObserver=new ResizeObserver((()=>{this.setChipsTopPosition(),this.setInputPadding()})).observe(document.body)},beforeUnmount(){var e;null===(e=this.resizeWindowObserver)||void 0===e||e.unobserve(document.body)},methods:{onChipRemove(e){this.$emit("remove",e),this.$refs.input.focus()},onComboboxSelect(e){this.value="",this.$emit("select",e)},getChipButtons(){return this.$refs.chips&&this.$refs.chips.map((e=>e.$el.querySelector("button")))},getChips(){return this.$refs.chips&&this.$refs.chips.map((e=>e.$el))},getLastChipButton(){return this.$refs.chips&&this.getChipButtons()[this.getChipButtons().length-1]},getLastChip(){return this.$refs.chips&&this.getChips()[this.getChips().length-1]},getFirstChip(){return this.$refs.chips&&this.getChips()[0]},getInput(){var e;return null===(e=this.$refs.input)||void 0===e?void 0:e.$refs.input},onChipKeyup(e){var t;const n=null===(t=e.code)||void 0===t?void 0:t.toLowerCase();"arrowleft"===n?this.navigateBetweenChips(e.target,!0):"arrowright"===n&&(e.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(e.target,!1))},onInputKeyup(e){var t;const n=null===(t=e.code)||void 0===t?void 0:t.toLowerCase();this.selectedItems.length>0&&0===e.target.selectionStart&&("backspace"!==n&&"arrowleft"!==n||this.moveFromInputToChip())},moveFromInputToChip(){this.getLastChipButton().focus(),this.$refs.input.blur(),this.$refs.comboboxWithPopover.closeComboboxList()},moveFromChipToInput(){this.getLastChipButton().blur(),this.$refs.input.focus(),this.$refs.comboboxWithPopover.showComboboxList()},navigateBetweenChips(e,t){const n=this.getChipButtons().indexOf(e),o=t?n-1:n+1;o<0||o>=this.$refs.chips.length||(this.getChipButtons()[n].blur(),this.getChipButtons()[o].focus(),this.$refs.comboboxWithPopover.closeComboboxList())},setChipsTopPosition(){if(!this.$refs.input)return;const e=this.getInput();if(!e)return;const t=this.$refs.inputSlotWrapper,n=e.getBoundingClientRect().top-t.getBoundingClientRect().top,o=this.$refs.chipsWrapper;o.style.top=n+"px"},setInputPadding(){const e=this.getLastChip(),t=this.getInput();if(!t)return;if(!e)return void this.revertInputPadding(t);const n=e.offsetLeft+this.getFullWidth(e);t.style.paddingLeft=n+"px";const o=e.offsetTop+3;t.style.paddingTop=o+"px",this.popoverOffset=[0,0]},getFullWidth(e){const t=window.getComputedStyle(e);return e.offsetWidth+parseInt(t.marginLeft)+parseInt(t.marginRight)},revertInputPadding(e){e.style.paddingLeft="",e.style.paddingTop="",e.style.paddingBottom=""},setInputMinWidth(){const e=this.getFirstChip(),t=this.getInput();t&&(t.style.minWidth=e?this.getFullWidth(e)+4+"px":"")},checkMaxSelected(){0!==this.maxSelected&&(this.selectedItems.length>=this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}},uc=(0,A.Z)(lc,[["render",rc]]),dc=uc,cc={class:"d-ps-relative","data-qa":"contact-info-left"},pc=["src","alt"],hc={"data-qa":"contact-info-header"},Dc={"data-qa":"contact-info-subtitle"},mc={"data-qa":"contact-info-bottom"},fc={"data-qa":"contact-info-right"};function gc(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-avatar"),l=(0,n.resolveComponent)("dt-list-item");return(0,n.openBlock)(),(0,n.createBlock)(l,{id:o.id,role:o.role,"element-type":"div","data-qa":"contact-info"},{left:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",cc,[o.avatarSrc?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,kind:"default",size:"lg","avatar-class":"d-bar2"},{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("img",{"data-qa":"dt-contact-avatar",src:o.avatarSrc,alt:o.avatarInitials},null,8,pc)])),_:1})):o.avatarInitials?((0,n.openBlock)(),(0,n.createBlock)(r,{key:1,kind:"initials",size:"lg",color:o.avatarColor},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.avatarInitials),1)])),_:1},8,["color"])):(0,n.createCommentVNode)("",!0),s.showUserStatus?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:2,class:(0,n.normalizeClass)(["d-ba","d-bc-white","d-baw2","d-bar2","d-ps-absolute","d-bn1","d-rn1","d-w20p","d-h20p",a.USER_STATUS_COLOR_MODIFIERS[o.userStatusColor]]),"data-qa":"contact-info-user-status"}," ",2)):(0,n.createCommentVNode)("",!0)])])),default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",hc,[(0,n.renderSlot)(e.$slots,"header")])])),subtitle:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Dc,[(0,n.renderSlot)(e.$slots,"subtitle")])])),bottom:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",mc,[(0,n.renderSlot)(e.$slots,"bottom")])])),right:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",fc,[(0,n.renderSlot)(e.$slots,"right")])])),_:3},8,["id","role"])}const vc={none:"",green:"d-bgc-green-400",yellow:"d-bgc-yellow-400",red:"d-bgc-red-400"},bc={name:"DtRecipeContactInfo",components:{DtAvatar:T,DtListItem:Jr},props:{id:{type:String,default(){return O.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarInitials:{type:String,default:""},avatarColor:{type:String,default:"base",validator:e=>Object.keys(u).includes(e)},userStatusColor:{type:String,default:"none",validator:e=>Object.keys(vc).includes(e)}},data(){return{USER_STATUS_COLOR_MODIFIERS:vc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},yc=(0,A.Z)(bc,[["render",gc]]),Cc=yc,Ec={class:"d-top-banner-info__left"},Fc={class:"d-top-banner-info__middle d-my4"},Sc={class:"d-top-banner-info__right d-ta-right"};function Bc(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["d-fs11 d-d-flex d-top-banner-info d-jc-space-between d-ai-center",s.bannerInfoClass]),"data-qa":"banner-info"},[(0,n.createElementVNode)("div",Ec,[(0,n.renderSlot)(e.$slots,"left")]),(0,n.createElementVNode)("div",Fc,[(0,n.renderSlot)(e.$slots,"default")]),(0,n.createElementVNode)("div",Sc,[(0,n.renderSlot)(e.$slots,"right")])],2)}const wc=["green400","green200","red200","red100","yellow200","yellow400","yellow050","black100","white"],kc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green400",validator:function(e){return wc.includes(e)}}},computed:{bannerInfoClass(){const e={green400:"d-bgc-green-400",green200:"d-bgc-green-200",red200:"d-bgc-red-200",red100:"d-bgc-red-100",yellow400:"d-bgc-yellow-400",yellow200:"d-bgc-yellow-200",black100:"d-bgc-black-100",white:"d-bgc-white"};return[e[this.colorCode]]}}};o(964);const xc=(0,A.Z)(kc,[["render",Bc]]),Ic=xc})(),i})()));
|
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["dialtone-vue"]=t(require("vue")):e["dialtone-vue"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(e=>(()=>{var t={344:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".dt-keyboard-shortcut__svg{width:1em;height:1em}.dt-keyboard-shortcut__svg path{fill:currentColor}",""]);const l=r},161:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".dt-default-list-item,.dt-default-list-item--left,.dt-default-list-item--right{min-height:28px}",""]);const l=r},715:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:hsla(var(--black-400-h),var(--black-400-s),var(--black-400-l),.15);cursor:pointer}.dt-list-item:focus-visible{outline-color:var(--primary-color)}",""]);const l=r},486:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,'.dt-list-section[tabindex="-1"]:focus{outline:none}',""]);const l=r},475:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".tippy-box[data-popper-escaped] .d-popover__dialog,.tippy-box[data-popper-reference-hidden] .d-popover__dialog{visibility:hidden;pointer-events:none}",""]);const l=r},215:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".root-layout__header--sticky{position:-webkit-sticky;position:sticky;top:0}",""]);const l=r},50:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".root-layout__body{display:flex;flex-wrap:wrap;gap:0}.root-layout__body--invert{flex-direction:row-reverse}.root-layout__sidebar{flex-grow:1}.root-layout__content{flex-basis:0;flex-grow:999}",""]);const l=r},13:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}50%{fill:var(--placeholder-to-color,var(--black-025));background:var(--placeholder-to-color,var(--black-025))}90%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}}",""]);const l=r},436:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[data-popper-reference-hidden] .d-tooltip{visibility:hidden;pointer-events:none}",""]);const l=r},669:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".d-top-banner-info__left{margin:var(--su4) 0 var(--su4) var(--su8);min-width:20%}.d-top-banner-info__right{margin:var(--su4) var(--su12) var(--su4) 0;min-width:20%}",""]);const l=r},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o="undefined"!==typeof t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,i,a){"string"===typeof e&&(e=[[null,e,void 0]]);var s={};if(o)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(s[l]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);o&&s[d[0]]||("undefined"!==typeof a&&("undefined"===typeof d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},809:e=>{e.exports=()=>/(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDD-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF6](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC2\uDED0-\uDED9\uDEE0-\uDEE7]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/g},744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n}},941:(e,t,n)=>{var o=n(344);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("05c1dc42",o,!0,{sourceMap:!1,shadowMode:!1})},566:(e,t,n)=>{var o=n(161);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("ec7688f6",o,!0,{sourceMap:!1,shadowMode:!1})},988:(e,t,n)=>{var o=n(715);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("63c88122",o,!0,{sourceMap:!1,shadowMode:!1})},237:(e,t,n)=>{var o=n(486);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("c13b1f5e",o,!0,{sourceMap:!1,shadowMode:!1})},133:(e,t,n)=>{var o=n(475);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("13600a33",o,!0,{sourceMap:!1,shadowMode:!1})},257:(e,t,n)=>{var o=n(215);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("db7fdad2",o,!0,{sourceMap:!1,shadowMode:!1})},683:(e,t,n)=>{var o=n(50);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("874d1402",o,!0,{sourceMap:!1,shadowMode:!1})},195:(e,t,n)=>{var o=n(13);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("28dcd7f8",o,!0,{sourceMap:!1,shadowMode:!1})},432:(e,t,n)=>{var o=n(436);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("1f97d44c",o,!0,{sourceMap:!1,shadowMode:!1})},964:(e,t,n)=>{var o=n(669);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("d87f2094",o,!0,{sourceMap:!1,shadowMode:!1})},402:(e,t,n)=>{"use strict";function o(e,t){for(var n=[],o={},i=0;i<t.length;i++){var a=t[i],s=a[0],r=a[1],l=a[2],u=a[3],d={id:e+":"+i,css:r,media:l,sourceMap:u};o[s]?o[s].parts.push(d):n.push(o[s]={id:s,parts:[d]})}return n}n.d(t,{Z:()=>D});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},s=i&&(document.head||document.getElementsByTagName("head")[0]),r=null,l=0,u=!1,d=function(){},c=null,p="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function D(e,t,n,i){u=n,c=i||{};var s=o(e,t);return m(s),function(t){for(var n=[],i=0;i<s.length;i++){var r=s[i],l=a[r.id];l.refs--,n.push(l)}t?(s=o(e,t),m(s)):s=[];for(i=0;i<n.length;i++){l=n[i];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete a[l.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],o=a[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(g(n.parts[i]));o.parts.length>n.parts.length&&(o.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(g(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:s}}}}function f(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function g(e){var t,n,o=document.querySelector("style["+p+'~="'+e.id+'"]');if(o){if(u)return d;o.parentNode.removeChild(o)}if(h){var i=l++;o=r||(r=f()),t=b.bind(null,o,i,!1),n=b.bind(null,o,i,!0)}else o=f(),t=y.bind(null,o),n=function(){o.parentNode.removeChild(o)};return t(e),function(o){if(o){if(o.css===e.css&&o.media===e.media&&o.sourceMap===e.sourceMap)return;t(e=o)}else n()}}var v=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function b(e,t,n,o){var i=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var a=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(a,s[t]):e.appendChild(a)}}function y(e,t){var n=t.css,o=t.media,i=t.sourceMap;if(o&&e.setAttribute("media",o),c.ssrId&&e.setAttribute(p,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},203:t=>{"use strict";t.exports=e}},n={};function o(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}o.m=t,(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return o.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;o.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"===typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"===typeof n.then)return n}var a=Object.create(null);o.r(a);var s={};e=e||[null,t({}),t([]),t(t)];for(var r=2&i&&n;"object"==typeof r&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((e=>s[e]=()=>n[e]));return s["default"]=()=>n,o.d(a,s),a}})(),(()=>{o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[]))})(),(()=>{o.u=e=>"dialtone-vue.umd.min."+e+".js"})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="dialtone-vue:";o.l=(n,i,a,s)=>{if(e[n])e[n].push(i);else{var r,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),d=0;d<u.length;d++){var c=u[d];if(c.getAttribute("src")==n||c.getAttribute("data-webpack")==t+a){r=c;break}}r||(l=!0,r=document.createElement("script"),r.charset="utf-8",r.timeout=120,o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",t+a),r.src=n),e[n]=[i];var p=(t,o)=>{r.onerror=r.onload=null,clearTimeout(h);var i=e[n];if(delete e[n],r.parentNode&&r.parentNode.removeChild(r),i&&i.forEach((e=>e(o))),t)return t(o)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=p.bind(null,r.onerror),r.onload=p.bind(null,r.onload),l&&document.head.appendChild(r)}}})(),(()=>{o.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{o.p=""})(),(()=>{var e={172:0};o.f.j=(t,n)=>{var i=o.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var a=new Promise(((n,o)=>i=e[t]=[n,o]));n.push(i[2]=a);var s=o.p+o.u(t),r=new Error,l=n=>{if(o.o(e,t)&&(i=e[t],0!==i&&(e[t]=void 0),i)){var a=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;r.message="Loading chunk "+t+" failed.\n("+a+": "+s+")",r.name="ChunkLoadError",r.type=a,r.request=s,i[1](r)}};o.l(s,l,"chunk-"+t,t)}};var t=(t,n)=>{var i,a,s=n[0],r=n[1],l=n[2],u=0;if(s.some((t=>0!==e[t]))){for(i in r)o.o(r,i)&&(o.m[i]=r[i]);if(l)l(o)}for(t&&t(n);u<s.length;u++)a=s[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=("undefined"!==typeof self?self:this)["webpackChunkdialtone_vue"]=("undefined"!==typeof self?self:this)["webpackChunkdialtone_vue"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i={};return(()=>{"use strict";if(o.r(i),o.d(i,{AVATAR_COLOR_MODIFIERS:()=>u,AVATAR_KIND_MODIFIERS:()=>r,AVATAR_SIZE_MODIFIERS:()=>l,BADGE_COLOR_MODIFIERS:()=>P,BREADCRUMBS_INVERTED_MODIFIER:()=>wt,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>Bt,BUTTON_GROUP_ALIGNMENT:()=>$t,CHIP_SIZE_MODIFIERS:()=>mu,COLOR_CODES:()=>Wc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>D,DESCRIPTION_SIZE_TYPES:()=>c,DtAvatar:()=>T,DtBadge:()=>$,DtBanner:()=>Et,DtBreadcrumbItem:()=>Tt,DtBreadcrumbs:()=>Vt,DtButton:()=>pt,DtButtonGroup:()=>zt,DtCheckableInputMixin:()=>Mr,DtCheckbox:()=>su,DtCheckboxGroup:()=>uu,DtChip:()=>bu,DtCombobox:()=>Un,DtDropdown:()=>$s,DtEmoji:()=>mr,DtEmojiTextWrapper:()=>vr,DtGroupableInputMixin:()=>$r,DtInput:()=>Kr,DtInputGroup:()=>Yr,DtInputGroupMixin:()=>Zr,DtInputMixin:()=>Vr,DtKeyboardListNavigationMixin:()=>Ut,DtKeyboardShortcut:()=>oc,DtLazyShow:()=>xs,DtLink:()=>_t,DtListItem:()=>hn,DtListSection:()=>gl,DtModal:()=>ll,DtNotice:()=>Cl,DtPopover:()=>Ns,DtRadio:()=>Il,DtRadioGroup:()=>Al,DtRecipeComboboxMultiSelect:()=>Oc,DtRecipeComboboxWithPopover:()=>bc,DtRecipeContactInfo:()=>jc,DtRecipeTopBannerInfo:()=>Gc,DtRootLayout:()=>hc,DtSelectMenu:()=>Lu,DtSkeleton:()=>zn,DtSkeletonListItem:()=>$n,DtSkeletonParagraph:()=>Pn,DtSkeletonShape:()=>Bn,DtSkeletonText:()=>An,DtTab:()=>Zl,DtTabGroup:()=>Kl,DtTabPanel:()=>Xl,DtToast:()=>ju,DtToggle:()=>Yu,DtTooltip:()=>ad,DtValidationMessages:()=>Pr,EMOJI_SIZES:()=>zs,INPUT_SIZES:()=>Ir,INPUT_TYPES:()=>xr,LINK_KIND_MODIFIERS:()=>ut,LINK_VARIANTS:()=>lt,MODAL_KIND_MODIFIERS:()=>il,MODAL_SIZE_MODIFIERS:()=>al,MULTI_SELECT_SIZES:()=>kc,NOTICE_KINDS:()=>we,POPOVER_CONTENT_WIDTHS:()=>Es,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>ys,POPOVER_INITIAL_FOCUS_STRINGS:()=>Fs,POPOVER_PADDING_CLASSES:()=>bs,POPOVER_ROLES:()=>Cs,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>rc,SELECT_SIZE_MODIFIERS:()=>Bu,SELECT_STATE_MODIFIERS:()=>wu,SHORTCUTS_ALIASES:()=>Qd,SHORTCUTS_ALIASES_LIST:()=>ec,SHORTCUTS_ICON_ALIASES:()=>Xd,SHORTCUTS_ICON_SEPARATOR:()=>Jd,SKELETON_HEADING_HEIGHTS:()=>Cn,SKELETON_RIPPLE_DURATION:()=>gn,SKELETON_SHAPES:()=>vn,SKELETON_SHAPE_SIZES:()=>yn,SKELETON_TEXT_TYPES:()=>bn,TAB_IMPORTANCE_MODIFIERS:()=>Rl,TAB_LIST_IMPORTANCE_MODIFIERS:()=>$l,TAB_LIST_KIND_MODIFIERS:()=>Ml,TAB_LIST_SIZES:()=>Pl,TOAST_ROLES:()=>Vu,TOOLTIP_DIRECTIONS:()=>Ju,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>nd,TOOLTIP_KIND_MODIFIERS:()=>ed,TOOLTIP_STICKY_VALUES:()=>td,USER_STATUS_COLOR_MODIFIERS:()=>Mc,VALIDATION_MESSAGE_TYPES:()=>d,codeToEmojiData:()=>ur,customEmojiAssetUrl:()=>Zs,defaultEmojiAssetUrl:()=>Ws,emojiFileExtensionLarge:()=>Qs,emojiFileExtensionSmall:()=>Gs,emojiImageUrlLarge:()=>Ys,emojiImageUrlSmall:()=>Us,emojiJson:()=>Xs,emojiVersion:()=>qs,filterFormattedMessages:()=>S,filterValidShortCodes:()=>cr,findEmojis:()=>pr,findShortCodes:()=>dr,formatMessages:()=>F,getEmojiData:()=>er,getEmojiJson:()=>Js,getUniqueString:()=>E,getValidationState:()=>B,setCustomEmojiJson:()=>ir,setCustomEmojiUrl:()=>or,setEmojiAssetUrlLarge:()=>nr,setEmojiAssetUrlSmall:()=>tr,shortcodeToEmojiData:()=>sr,stringToUnicode:()=>lr,unicodeToString:()=>rr,validateCustomEmojiJson:()=>ar,validationMessageValidator:()=>Lr}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(o.p=t[1])}var n=o(203);const a=["id"];function s(e,t,o,i,s,r){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{id:o.id,class:(0,n.normalizeClass)(["d-avatar",s.AVATAR_KIND_MODIFIERS[s.kind],s.AVATAR_SIZE_MODIFIERS[o.size],s.AVATAR_COLOR_MODIFIERS[o.color],o.avatarClass]),"data-qa":"dt-avatar"},[(0,n.renderSlot)(e.$slots,"default")],10,a)}const r={default:"",icon:"d-avatar--icon",initials:"d-avatar--initials"},l={sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg"},u={base:"","orange-200":"d-avatar--orange-200","orange-300":"d-avatar--orange-300","orange-400":"d-avatar--orange-400","orange-500":"d-avatar--orange-500","pink-300":"d-avatar--pink-300","pink-400":"d-avatar--pink-400","pink-500":"d-avatar--pink-500","pink-600":"d-avatar--pink-600","purple-200":"d-avatar--purple-200","purple-300":"d-avatar--purple-300","purple-500":"d-avatar--purple-500","purple-600":"d-avatar--purple-600","yellow-200":"d-avatar--yellow-200","yellow-300":"d-avatar--yellow-300","yellow-400":"d-avatar--yellow-400","yellow-500":"d-avatar--yellow-500"},d={ERROR:"error",WARNING:"warning",SUCCESS:"success"},c={LARGE:"lg",EXTRA_LARGE:"xl"},p={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},h={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},D=d.ERROR,m="dt";let f=0;const g="input:not([type=hidden]):not(:disabled)",v="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",b="".concat(g,",").concat(v),y="a,frame,iframe,".concat(b,",*[tabindex]"),C="function"===typeof setImmediate?setImmediate:setTimeout;function E(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m;return"".concat(e).concat(f++)}function F(e){return e?e.map((e=>"string"===typeof e?{message:e,type:D}:e)):[]}function S(e){const t=B(e);return e&&t?e.filter((e=>!!e.message&&e.type===t)):[]}function B(e){return e?w(e,d.ERROR)?d.ERROR:w(e,d.WARNING)?d.WARNING:w(e,d.SUCCESS)?d.SUCCESS:null:null}function w(e,t){return!(!e||!t)&&e.some((e=>(null===e||void 0===e?void 0:e.type)===t))}function k(e){return null===e||void 0===e?void 0:e.querySelector(y)}const x=e=>(0,n.h)("div",{innerHTML:e.html}),I=()=>new Promise((e=>{C(e)})),O={getUniqueString:E,formatMessages:F,filterFormattedMessages:S,hasFormattedMessageOfType:w,getValidationState:B,htmlFragment:x,flushPromises:I},_={name:"DtAvatar",inheritAttrs:!1,props:{id:{type:String,default(){return E()}},size:{type:String,default:"md",validator:e=>Object.keys(l).includes(e)},color:{type:String,default:"base",validator:e=>Object.keys(u).includes(e)},avatarClass:{type:[String,Array,Object],default:""}},data(){return{kind:"initials",AVATAR_SIZE_MODIFIERS:l,AVATAR_COLOR_MODIFIERS:u,AVATAR_KIND_MODIFIERS:r}},mounted(){this.init()},updated(){this.init()},methods:{init(){const e=this.$el.children[0];e&&(this.setKind(e),this.validateImageAttrsPresence())},setKind(e){this.isSvgType(e)?this.kind="icon":this.isImageType(e)?this.kind="image":this.kind="initials"},isSvgType(e){var t;return"SVG"===(null===e||void 0===e||null===(t=e.tagName)||void 0===t?void 0:t.toUpperCase())},isImageType(e){var t;return"IMG"===(null===e||void 0===e||null===(t=e.tagName)||void 0===t?void 0:t.toUpperCase())},validateImageAttrsPresence(){"image"===this.kind&&(this.$el.children[0].getAttribute("src")&&this.$el.children[0].getAttribute("alt")||(0,n.warn)("src and alt attributes are required for image avatars",this))}}};var A=o(744);const L=(0,A.Z)(_,[["render",s]]),T=L;function N(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("span",{class:(0,n.normalizeClass)(["d-badge",a.BADGE_COLOR_MODIFIERS[o.color]]),"data-qa":"dt-badge"},[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.text),1)]))],2)}const P={base:"","black-700":"d-badge--black-700","green-400":"d-badge--green-400","orange-400":"d-badge--orange-400","pink-300":"d-badge--pink-300","pink-500":"d-badge--pink-500","pink-600":"d-badge--pink-600","pink-700":"d-badge--pink-700","purple-100":"d-badge--purple-100","purple-300":"d-badge--purple-300","purple-500":"d-badge--purple-500","purple-700":"d-badge--purple-700","red-500":"d-badge--red-500",white:"d-badge--white","yellow-300":"d-badge--yellow-300"},V={name:"DtBadge",props:{text:{type:String,default:""},color:{type:String,default:"base",validator:e=>Object.keys(P).includes(e)}},data(){return{BADGE_COLOR_MODIFIERS:P}}},M=(0,A.Z)(V,[["render",N]]),$=M,R=["role"],j=["aria-labelledby","aria-describedby"];function z(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-notice-icon"),l=(0,n.resolveComponent)("dt-notice-content"),u=(0,n.resolveComponent)("dt-notice-action");return(0,n.openBlock)(),(0,n.createElementBlock)("aside",{class:(0,n.normalizeClass)(s.bannerClass),role:s.role,onKeydown:t[1]||(t[1]=(0,n.withKeys)((function(){return s.trapFocus&&s.trapFocus(...arguments)}),["tab"]))},[(0,n.createElementVNode)("div",{class:"d-banner__dialog","aria-labelledby":o.titleId,"aria-describedby":o.contentId},[(0,n.createVNode)(r,{kind:o.kind},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"icon")])),_:3},8,["kind"]),(0,n.createVNode)(l,{"title-id":o.titleId,"content-id":o.contentId,title:o.title},{titleOverride:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"titleOverride")])),default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},8,["title-id","content-id","title"]),(0,n.createVNode)(u,{"hide-close":o.hideClose,"close-button-props":o.closeButtonProps,onClose:t[0]||(t[0]=t=>e.$emit("close"))},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"action")])),_:3},8,["hide-close","close-button-props"])],8,j)],42,R)}const K={key:0,"aria-hidden":"true",class:"d-notice__icon"};function H(e,t,o,i,a,s){return s.defaultIcon||e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",K,[(0,n.renderSlot)(e.$slots,"default",{},(()=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.defaultIcon)))]))])):(0,n.createCommentVNode)("",!0)}const q={"aria-hidden":"true","aria-label":"Lightbulb",class:"d-svg d-svg--system d-svg__lightbulb",viewBox:"0 0 24 24"},W=(0,n.createElementVNode)("path",{d:"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7z"},null,-1),Z=[W];function U(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",q,Z)}const G={},Y=(0,A.Z)(G,[["render",U]]),Q=Y,X={"aria-hidden":"true","aria-label":"Info",class:"d-svg d-svg--system d-svg__info",viewBox:"0 0 24 24"},J=(0,n.createElementVNode)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"},null,-1),ee=[J];function te(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",X,ee)}const ne={},oe=(0,A.Z)(ne,[["render",te]]),ie=oe,ae={"aria-hidden":"true","aria-label":"Warning",class:"d-svg d-svg--system d-svg__warning",viewBox:"0 0 24 24"},se=(0,n.createElementVNode)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"},null,-1),re=[se];function le(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",ae,re)}const ue={},de=(0,A.Z)(ue,[["render",le]]),ce=de,pe={"aria-hidden":"true","aria-label":"Error",class:"d-svg d-svg--system d-svg__error",viewBox:"0 0 24 24"},he=(0,n.createElementVNode)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},null,-1),De=[he];function me(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",pe,De)}const fe={},ge=(0,A.Z)(fe,[["render",me]]),ve=ge,be={"aria-hidden":"true","aria-label":"Check Circle",class:"d-svg d-svg--system d-svg__checkCircle",viewBox:"0 0 24 24"},ye=(0,n.createElementVNode)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"},null,-1),Ce=[ye];function Ee(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",be,Ce)}const Fe={},Se=(0,A.Z)(Fe,[["render",Ee]]),Be=Se,we=["base","error","info","success","warning"],ke=["alert","alertdialog","status"],xe=new Map([["info","IconInfo"],["success","IconCheckCircle"],["warning","IconWarning"],["error","IconError"],["base","IconLightbulb"]]),Ie={name:"DtNoticeIcon",components:{IconLightbulb:Q,IconInfo:ie,IconWarning:ce,IconError:ve,IconCheckCircle:Be},props:{kind:{type:String,default:"base",validate(e){return we.includes(e)}}},computed:{defaultIcon(){return xe.get(this.kind)}}},Oe=(0,A.Z)(Ie,[["render",H]]),_e=Oe,Ae={class:"d-notice__content","data-qa":"notice-content"},Le=["id"],Te=["id"];function Ne(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",Ae,[o.title||e.$slots.titleOverride?((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:0,id:o.titleId,class:"d-notice__title","data-qa":"notice-content-title"},[(0,n.renderSlot)(e.$slots,"titleOverride",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.title),1)]))],8,Le)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("p",{id:o.contentId,class:"d-notice__message","data-qa":"notice-content-message"},[(0,n.renderSlot)(e.$slots,"default")],8,Te)])}const Pe={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},Ve=(0,A.Z)(Pe,[["render",Ne]]),Me=Ve,$e={class:"d-notice__actions","data-qa":"notice-content-actions"};function Re(e,t,o,i,a,s){const r=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("div",$e,[(0,n.renderSlot)(e.$slots,"default"),o.hideClose?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:0,ref:"closeButton",size:"sm",importance:"clear",circle:"","aria-label":o.closeButtonProps.ariaLabel?o.closeButtonProps.ariaLabel:"Close"},o.closeButtonProps,{onClick:s.close}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r)])),_:1},16,["aria-label","onClick"]))])}const je={"aria-hidden":"true","aria-label":"Close",class:"d-svg d-svg--system d-svg__close",viewBox:"0 0 24 24"},ze=(0,n.createElementVNode)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},null,-1),Ke=[ze];function He(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",je,Ke)}const qe={},We=(0,A.Z)(qe,[["render",He]]),Ze=We,Ue=["type","aria-live","aria-label"];function Ge(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("button",(0,n.mergeProps)({class:["base-button__button",s.buttonClasses()],"data-qa":"dt-button",type:o.type,"aria-live":s.computedAriaLive,"aria-label":o.loading?"loading":e.$attrs["aria-label"]},e.$attrs,(0,n.toHandlers)(s.buttonListeners)),[s.shouldRenderIcon()?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,"data-qa":"dt-button-icon",class:(0,n.normalizeClass)(["base-button__icon","d-btn__icon",a.ICON_POSITION_MODIFIERS[o.iconPosition]])},[(0,n.renderSlot)(e.$slots,"icon")],2)):(0,n.createCommentVNode)("",!0),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:1,"data-qa":"dt-button-label",class:(0,n.normalizeClass)(["d-w100p","d-btn__label","base-button__label",o.labelClass])},[(0,n.renderSlot)(e.$slots,"default")],2)):(0,n.createCommentVNode)("",!0)],16,Ue)}const Ye={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},Qe={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Xe={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},Je=["submit","reset","button"],et={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},tt=[{circle:!0,kind:"default",importance:"primary",message:nt(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:nt(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:nt(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:nt(!1,"muted","primary")}];function nt(e,t,n){return"You cannot not have a ".concat(e?"circle ":"","button with kind: ").concat(t," and importance: ").concat(n," as it does not exist in our design system. See https://dialpad.design/components/button for a list of available button styles")}const ot="danger",it="warning",at="success",st="muted",rt="inverted",lt=["",ot,it,at,st,rt],ut={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},dt={name:"DtButton",inheritAttrs:!1,props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:e=>Object.keys(et).includes(e)},importance:{type:String,default:"primary",validator:e=>Object.keys(Xe).includes(e)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:e=>Object.keys(ut).includes(e)},type:{type:String,default:"button",validator:e=>Je.includes(e)},size:{type:String,default:"md",validator:e=>Object.keys(Ye).includes(e)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:e=>Object.keys(Qe).includes(e)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:et,isInFocus:!1}},computed:{buttonListeners(){return{click:e=>this.$emit("click",e),focusin:e=>{this.isInFocus=this.assertiveOnFocus,this.$emit("focusin",e)},focusout:e=>{this.isInFocus=!1,this.$emit("focusout",e)}}},computedAriaLive(){return this.assertiveOnFocus&&this.isInFocus?"assertive":this.$attrs.ariaLive}},watch:{$props:{deep:!0,immediate:!0,handler(){}}},methods:{buttonClasses(){return this.link?["d-link",ut[this.linkKind],Ye[this.size]]:["d-btn",Xe[this.importance],Qe[this.kind],Ye[this.size],{"d-btn--circle":this.circle,"d-btn--loading":this.loading,"d-btn--icon-only":this.isIconOnly(),"d-btn--vertical":this.isVerticalIconLayout(),"d-btn--active":this.active}]},isInvalidPropCombination(e,t,n){for(const o of tt)if(e===o.circle&&t===o.kind&&n===o.importance)return console.error(o.message),!1;return!0},shouldRenderIcon(){return this.$slots.icon&&!this.link},isIconOnly(){return this.shouldRenderIcon()&&!this.$slots.default},isVerticalIconLayout(){return this.shouldRenderIcon()&&!this.isIconOnly()&&["top","bottom"].includes(this.iconPosition)}}},ct=(0,A.Z)(dt,[["render",Ge]]),pt=ct,ht={name:"DtNoticeAction",components:{IconClose:Ze,DtButton:pt},props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],created(){this.hideClose||this.closeButtonProps.ariaLabel||console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.")},mounted(){this.hideClose||(this.lastFocusedElement=document.activeElement)},beforeUnmount(){var e;null===(e=this.lastFocusedElement)||void 0===e||e.focus()},methods:{close(){this.$emit("close")}}},Dt=(0,A.Z)(ht,[["render",Re]]),mt=Dt,ft=':not(:disabled):not([aria-disabled="true"])',gt="".concat(ft,':not([tabindex="-1"])'),vt="button,[href],input,select,textarea,details,[tabindex]",bt={methods:{async focusFirstElement(e){await this.$nextTick();const t=this._getFocusableElements(e,!0),n=this._getFirstFocusElement(t);null===n||void 0===n||n.focus({preventScroll:!0})},_getFirstFocusElement(e){if(!e.length)return;let t=e[0];return t.matches('[type="radio"]:not(:checked)')&&(t=e.find((e=>e.checked&&e.name===t.name))||t),t},_getFocusableElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=[...e.querySelectorAll(vt)];return n.filter((e=>{const n=window.getComputedStyle(e);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&e.matches(t?ft:gt)}))},focusTrappedTabPress(e,t){const n="Tab"===e.key;if(!n)return;const o=this._getFocusableElements(t);if(!o.length)return void e.preventDefault();const i=this._getFirstFocusElement(o),a=o[o.length-1];e.shiftKey?document.activeElement===i&&(a.focus(),e.preventDefault()):document.activeElement===a&&(i.focus(),e.preventDefault())}}},yt={name:"DtBanner",components:{DtNoticeIcon:_e,DtNoticeContent:Me,DtNoticeAction:mt},mixins:[bt],props:{titleId:{type:String,default(){return O.getUniqueString()}},contentId:{type:String,default(){return O.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"",validate(e){return we.includes(e)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{role(){return this.important?"alertdialog":"status"},bannerClass(){const e={error:"d-banner--error",info:"d-banner--info",success:"d-banner--success",warning:"d-banner--warning",base:"d-banner--base"};return["d-banner",e[this.kind],{"d-banner--important":this.important,"d-banner--pinned":this.pinned}]}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(e){this.important&&this.focusTrappedTabPress(e)}}},Ct=(0,A.Z)(yt,[["render",z]]),Et=Ct,Ft=["aria-label"];function St(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-breadcrumb-item");return(0,n.openBlock)(),(0,n.createElementBlock)("nav",{"aria-label":o.ariaLabel,"data-qa":"dt-breadcrumbs",class:(0,n.normalizeClass)(["d-breadcrumbs",{[a.BREADCRUMBS_INVERTED_MODIFIER]:o.inverted}])},[(0,n.createElementVNode)("ol",null,[(0,n.renderSlot)(e.$slots,"default",{},(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.breadcrumbs,((e,t)=>((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:s.getBreadcrumbItemKey(t),inverted:o.inverted},e),null,16,["inverted"])))),128))]))])],10,Ft)}const Bt="d-breadcrumbs__item--selected",wt="d-breadcrumbs--inverted";function kt(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-link");return(0,n.openBlock)(),(0,n.createElementBlock)("li",{"data-qa":"dt-breadcrumb-item",class:(0,n.normalizeClass)(["d-breadcrumbs__item",{[a.BREADCRUMB_ITEM_SELECTED_MODIFIER]:o.selected}])},[(0,n.createVNode)(r,(0,n.mergeProps)({kind:s.linkKind,"aria-current":s.ariaCurrent,"data-qa":"breadcrumb-item"},e.$attrs),{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.label),1)]))])),_:3},16,["kind","aria-current"])],2)}function xt(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("a",{class:(0,n.normalizeClass)(["d-link",a.LINK_KIND_MODIFIERS[o.kind]]),"data-qa":"dt-link"},[(0,n.renderSlot)(e.$slots,"default")],2)}const It={name:"DtLink",props:{kind:{type:String,default:"",validator(e){return lt.includes(e)}}},data(){return{LINK_KIND_MODIFIERS:ut}}},Ot=(0,A.Z)(It,[["render",xt]]),_t=Ot,At={name:"DtBreadcrumbItem",components:{DtLink:_t},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:Bt}},computed:{linkKind(){return this.inverted?rt:st},ariaCurrent(){return this.selected?"location":void 0}}},Lt=(0,A.Z)(At,[["render",kt]]),Tt=Lt,Nt={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:Tt},props:{breadcrumbs:{type:Array,default:()=>[],validate(e){return e.every((e=>{let{href:t,label:n}=e;return void 0!==t&&void 0!==n}))}},inverted:{type:Boolean,default:!1},ariaLabel:{type:String,default:"breadcrumb"}},data(){return{BREADCRUMBS_INVERTED_MODIFIER:wt}},methods:{getBreadcrumbItemKey(e){return"breadcrumbs-item-".concat(e,"-").concat(O.getUniqueString())}}},Pt=(0,A.Z)(Nt,[["render",St]]),Vt=Pt;function Mt(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["d-btn-group",a.BUTTON_GROUP_ALIGNMENT[this.alignment]]),role:"group"},[(0,n.renderSlot)(e.$slots,"default")],2)}const $t={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},Rt={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:e=>Object.keys($t).includes(e)}},data(){return{BUTTON_GROUP_ALIGNMENT:$t}}},jt=(0,A.Z)(Rt,[["render",Mt]]),zt=jt,Kt=["aria-expanded","aria-controls","aria-owns"],Ht={"data-qa":"dt-combobox-input-wrapper"};function qt(e,t,o,i,a,s){const r=(0,n.resolveComponent)("combobox-loading-list");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{role:"combobox","aria-expanded":o.showList.toString(),"aria-controls":o.listId,"aria-owns":o.listId,"aria-haspopup":"listbox",onKeydown:[t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEscapeKey")),["stop"]),["esc"])),t[4]||(t[4]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEnterKey")),["exact"]),["enter"])),t[5]||(t[5]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onUpKey")),["stop","prevent"]),["up"])),t[6]||(t[6]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onDownKey")),["stop","prevent"]),["down"])),t[7]||(t[7]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onHomeKey")),["stop","prevent"]),["home"])),t[8]||(t[8]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEndKey")),["stop","prevent"]),["end"]))]},[(0,n.createElementVNode)("div",Ht,[(0,n.renderSlot)(e.$slots,"input",{inputProps:s.inputProps})]),o.showList?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,ref:"listWrapper","data-qa":"dt-combobox-list-wrapper",onMouseleave:t[0]||(t[0]=function(){return s.clearHighlightIndex&&s.clearHighlightIndex(...arguments)}),onFocusout:t[1]||(t[1]=function(){return s.clearHighlightIndex&&s.clearHighlightIndex(...arguments)}),onMousemoveCapture:t[2]||(t[2]=function(){return s.onMouseHighlight&&s.onMouseHighlight(...arguments)})},[o.loading?((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.normalizeProps)((0,n.mergeProps)({key:0},s.listProps)),null,16)):(0,n.renderSlot)(e.$slots,"list",{key:1,listProps:s.listProps,opened:s.onOpen,clearHighlightIndex:s.clearHighlightIndex})],544)):(0,n.createCommentVNode)("",!0)],40,Kt)}const Wt={methods:{scrollElementIntoViewIfNeeded(e,t,n,o){e.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(e,t,n,o):this.scrollIntoView(e,"bottom",!1,n,o)},scrollElementIntoView(e,t,n,o){"center"!==t?!1===t?this.scrollIntoView(e,"bottom",!1,n,o):this.scrollIntoView(e,"top",!1,n,o):this.scrollIntoView(e,"center",!1,n,o)},scrollIntoViewIfNeeded(e,t,n,o){const i=t?"center":void 0;this.scrollIntoView(e,i,!0,n,o)},scrollIntoView(e,t,n,o,i){if(!e||!e.parentElement)return;const a=e.offsetTop,s=i||e.parentElement,r=this._getScrollBounds(s),l=r.bottom-r.top,u=this._getElementHeight(e),d=a+u;let c=-1;switch(t){case"top":c=a;break;case"center":c=a+(u-l)/2;break;case"bottom":c=c=d-l;break;default:c=a-r.top<=l/2?a:d-l;break}this._setScrollTop(s,c,r,a,d,n,o)},_setScrollTop(e,t,n,o,i,a,s){n=n||this._getScrollBounds(e);const r=n.bottom-n.top;if(a&&this._inScrollBounds(o,i,n))if(o<n.top)t=o;else{if(!(i>n.bottom))return;t=i-r}s?e.scrollTo({top:t,behavior:s}):e.scrollTop=t},_getElementHeight(e){return e.getBoundingClientRect().height},_getScrollBounds(e){const t=this._getElementHeight(e),n=e.scrollTop;return{top:n,bottom:n+t}},_inScrollBounds(e,t,n){const o=t-e;return t<=n.bottom+3*o/4&&e>=n.top-o/4}}},Zt="listElementKey is required or the referenced element doesn't exist. Received listElement: ",Ut=function(){let{listItemRole:e="option",indexKey:t="highlightIndex",idKey:n="highlightId",listElementKey:o="listRef",activeItemKey:i="",openMethod:a=null,afterHighlightMethod:s=null,beginningOfListMethod:r=null,endOfListMethod:l=null,scrollToOnHighlight:u=!0,focusOnKeyboardNavigation:d=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{mixins:[Wt],data(){return{[t]:-1,[n]:"",scrollToOnHighlight:u,focusOnKeyboardNavigation:d}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var e;return(null===(e=this[o]())||void 0===e?void 0:e.$el)||this[o]()},_itemsLength(){const e=this._getListItemNodes();return null===e?0:e.length},_getListItemNodes(){const t=this._getListElement();return t?Array.from(t.querySelectorAll('[role="'.concat(e,'"]'))):(console.error(Zt,t),null)},onUpKey(){a&&this[a](!0),this[t]>0?this.setHighlightIndex(this[t]-1):r&&this[r](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){a&&this[a](!0),this[t]<this._itemsLength()-1?this.setHighlightIndex(this[t]+1):l&&this[l](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(e){const n=this._getListItemNodes(),o=n.filter((t=>{const n=t.textContent.trim().toLowerCase();return n.startsWith(e.toLowerCase())}));if(o.length<=0)return;const i=o.findIndex((e=>this[t]===n.indexOf(e))),a=n.indexOf(i<o.length-1?o[i+1]:o[0]);this.setHighlightIndex(a),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidLetter(e){return!(e.length>1)&&(e>="a"&&e<="z"||e>="A"&&e<="Z")},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},async setHighlightIndex(e){this[t]=e,this[n]=this._getItemId(e),this._itemsLength()&&s&&(await this.$nextTick(),this[s](e))},async setHighlightId(e){this[n]=e,this[t]=this._getItemIndex(e),this._itemsLength()&&s&&(await this.$nextTick(),this[s](this._getItemIndex(e)))},_getItemIndex(t){const n=this._getListElement();if(!n)return;const o=Array.from(n.querySelectorAll('[role="'.concat(e,'"]')));return o.indexOf(n.querySelector("#".concat(t)))},_getItemId(t){var n;const o=this._getListElement();if(o)return null===(n=o.querySelectorAll('[role="'.concat(e,'"]'))[t])||void 0===n?void 0:n.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const e=this[i];if(e){const t=this._getListElement();this.scrollElementIntoViewIfNeeded(e,null,null,t)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const e=this[i];e&&e.focus()}}}},Gt={class:"d-p0 d-mt8 d-hmx332 d-of-y-auto","aria-busy":"true"};function Yt(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-skeleton"),l=(0,n.resolveComponent)("dt-list-item");return(0,n.openBlock)(),(0,n.createElementBlock)("ol",Gt,[((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(7,(e=>(0,n.createVNode)(l,{key:e,role:"option","navigation-type":"none"},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(r,{"text-option":{type:"body"},offset:0})])),_:2},1024))),64))])}function Qt(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(o.elementType),(0,n.mergeProps)({id:o.id,class:["dt-list-item d-ls-none focus-visible",{"dt-list-item--focusable":s.isFocusable,"dt-list-item--highlighted":s.isHighlighted}],tabindex:s.isFocusable?0:-1,role:o.role,"aria-selected":s.isHighlighted},(0,n.toHandlers)(s.listItemListeners)),{default:(0,n.withCtx)((()=>[s.listItemType?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.listItemType),{key:0},(0,n.createSlots)({_:2},[(0,n.renderList)(e.$slots,((t,o)=>({name:o,fn:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,o)]))})))]),1024)):(0,n.renderSlot)(e.$slots,"default",{key:1})])),_:3},16,["id","class","tabindex","role","aria-selected"])}const Xt={DEFAULT:"default",CUSTOM:"custom"},Jt={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"},en={class:"dt-default-list-item d-fs14 d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},tn={key:0,class:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8","data-qa":"dt-default-list-item-left-wrapper"},nn={class:"d-fl-grow1"},on={key:0},an={key:2,"data-qa":"dt-default-list-item-bottom-wrapper",class:"d-mt2"},sn={key:1,class:"dt-default-list-item--right d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pl8","data-qa":"dt-default-list-item-right-wrapper"};function rn(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",en,[e.$slots.left?((0,n.openBlock)(),(0,n.createElementBlock)("section",tn,[(0,n.renderSlot)(e.$slots,"left")])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("section",nn,[e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",on,[(0,n.renderSlot)(e.$slots,"default")])):(0,n.createCommentVNode)("",!0),e.$slots.subtitle?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,"data-qa":"dt-default-list-item-subtitle-wrapper",class:(0,n.normalizeClass)(["d-fs12 d-fc-black-500",{"d-mtn2":e.$slots.default}])},[(0,n.renderSlot)(e.$slots,"subtitle")],2)):(0,n.createCommentVNode)("",!0),e.$slots.bottom?((0,n.openBlock)(),(0,n.createElementBlock)("div",an,[(0,n.renderSlot)(e.$slots,"bottom")])):(0,n.createCommentVNode)("",!0)]),e.$slots.right?((0,n.openBlock)(),(0,n.createElementBlock)("section",sn,[(0,n.renderSlot)(e.$slots,"right")])):(0,n.createCommentVNode)("",!0)])}const ln={name:"DefaultListItem"};o(566);const un=(0,A.Z)(ln,[["render",rn]]),dn=un,cn={name:"ListItem",components:{DtDefaultListItem:dn},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return O.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:Xt.DEFAULT,validator:e=>Object.values(Xt).includes(e)},navigationType:{type:String,default:Jt.NONE,validator:e=>Object.values(Jt).includes(e)}},emits:["keydown","mousemove","mouseleave","mousedown"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case Xt.DEFAULT:return dn;default:return null}},listItemListeners(){return{keydown:e=>{["enter","space"].includes(e.code.toLowerCase())&&this.onClick(e),this.$emit("keydown",e)},mousedown:e=>{this.isFocusable||e.preventDefault(),this.$emit("mousedown",e)},mousemove:e=>{this.onMouseHover(e),this.$emit("mousemove",e)},mouseleave:e=>{this.onMouseLeave(e),this.$emit("mouseleave",e)}}},isHighlighted(){return!!this.isHoverable&&(this.highlightId&&this.highlightId()?this.id===this.highlightId():this.mouseHighlighted)},isFocusable(){return this.navigationType===Jt.TAB},isHoverable(){return this.navigationType!==Jt.NONE}},methods:{onClick(e){this.$emit("click",e)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}};o(988);const pn=(0,A.Z)(cn,[["render",Qt]]),hn=pn,Dn=["aria-label"];function mn(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-skeleton-list-item"),l=(0,n.resolveComponent)("dt-skeleton-shape"),u=(0,n.resolveComponent)("dt-skeleton-paragraph"),d=(0,n.resolveComponent)("dt-skeleton-text");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{"aria-busy":"true",role:"status","aria-label":o.ariaLabel},[o.listItemOption?((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:0},!0===o.listItemOption?{}:o.listItemOption,{"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset}),null,16,["animation-duration","animate","offset"])):o.shapeOption?((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:1},!0===o.shapeOption?{}:o.shapeOption,{"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset}),null,16,["animation-duration","animate","offset"])):o.paragraphOption?((0,n.openBlock)(),(0,n.createBlock)(u,(0,n.mergeProps)({key:2},!0===o.paragraphOption?{}:o.paragraphOption,{"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset}),null,16,["animation-duration","animate","offset"])):((0,n.openBlock)(),(0,n.createBlock)(d,(0,n.mergeProps)({key:3},o.textOption||{},{"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset}),null,16,["animation-duration","animate","offset"]))],8,Dn)}function fn(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{ref:"skeleton","data-qa":"skeleton-shape",class:(0,n.normalizeClass)(["skeleton-placeholder",a.SKELETON_SHAPES[o.shape],{"skeleton-placeholder--animate":o.animate},o.contentClass]),style:(0,n.normalizeStyle)(s.shapeStyles)},null,6)}const gn=3e6,vn={circle:"d-bar-circle",square:"d-bar2"},bn=["body","heading"],yn={sm:"24px",md:"32px",lg:"48px"},Cn={sm:"d-h16",md:"d-h24",lg:"d-h32"},En={computed:{skeletonOffset(){const e=this.$refs.skeleton;if(!e)return this.offset;const{top:t,height:n}=e.getBoundingClientRect();return t+n/2},skeletonStyle(){const e={};if(-1===this.skeletonOffset||!this.animate&&-1===this.animationDuration)return e;const t=this.skeletonOffset*gn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return e.animationDelay="".concat(t,"ms"),e.animationDuration="".concat(n,"ms"),e}}},Fn={name:"DtSkeletonShape",mixins:[En],props:{shape:{type:String,default:"circle",validator:e=>Object.keys(vn).includes(e)},size:{type:String,default:"md"},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!0},offset:{type:Number,default:1},contentClass:{type:[String,Object,Array],default:""}},data(){return{SKELETON_SHAPES:vn}},computed:{shapeStyles(){const e=yn[this.size]||this.size;return{...this.skeletonStyle,"min-width":e,"max-width":e,"min-height":e,"max-height":e}}}},Sn=(0,A.Z)(Fn,[["render",fn]]),Bn=Sn,wn={class:"d-d-flex d-fd-column d-w100p"};function kn(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-skeleton-shape"),l=(0,n.resolveComponent)("dt-skeleton-paragraph");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{"data-qa":"skeleton-list-item",class:(0,n.normalizeClass)(["d-d-flex",{"d-ai-center":1===o.paragraphs.rows},o.contentClass])},[(0,n.createVNode)(r,{class:"d-mr8",size:o.shapeSize,shape:o.shape,"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset,"content-class":o.shapeClass},null,8,["size","shape","animation-duration","animate","offset","content-class"]),(0,n.createElementVNode)("div",wn,[(0,n.createVNode)(l,(0,n.mergeProps)(o.paragraphs,{"animation-duration":o.animationDuration,animate:o.animate,offset:o.offset}),null,16,["animation-duration","animate","offset"])])],2)}function xn(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-skeleton-text");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["d-w100p",o.contentClass]),contentClass:"","data-qa":"skeleton-paragraph"},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.integerRows,(e=>((0,n.openBlock)(),(0,n.createBlock)(r,{key:e,"data-qa":"skeleton-paragraph-row",class:(0,n.normalizeClass)([{"d-mb12":e!==s.integerRows}]),"content-class":o.rowClass,animate:o.animate,offset:o.offset,"animation-duration":o.animationDuration,width:s.getSizeParagraphRow(e)},null,8,["class","content-class","animate","offset","animation-duration","width"])))),128))],2)}function In(e,t,o,i,a,s){return"body"===o.type?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,ref:"skeleton","data-qa":"skeleton-text-body",class:(0,n.normalizeClass)(["d-h8","d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":o.animate},o.contentClass]),style:(0,n.normalizeStyle)({width:o.width,...e.skeletonStyle})},null,6)):"heading"===o.type?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,ref:"skeleton","data-qa":"skeleton-text-heading",class:(0,n.normalizeClass)([a.SKELETON_HEADING_HEIGHTS[o.headingHeight],"d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":o.animate},o.contentClass]),style:(0,n.normalizeStyle)({width:o.width,...e.skeletonStyle})},null,6)):(0,n.createCommentVNode)("",!0)}const On={name:"DtSkeletonText",mixins:[En],props:{type:{type:String,default:"body",validator:e=>bn.includes(e)},headingHeight:{type:String,default:"md",validator:e=>Object.keys(Cn).includes(e)},width:{type:String,default:"100%"},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!1},offset:{type:Number,default:1},contentClass:{type:String,default:""}},data(){return{SKELETON_HEADING_HEIGHTS:Cn}}},_n=(0,A.Z)(On,[["render",In]]),An=_n,Ln=e=>""!==e&&!Number.isNaN(Number(e)),Tn={name:"DtSkeletonParagraph",components:{DtSkeletonText:An},props:{rows:{type:[Number,String],default:3,validator:Ln},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Ln},maxWidth:{type:[Number,String],default:100,validator:Ln},width:{type:[String,Array],default:null},randomWidth:{type:Boolean,default:!1},offset:{type:Number,default:1},animationDuration:{type:Number,default:-1},contentClass:{type:String,default:""},rowClass:{type:String,default:""}},computed:{integerRows(){return Number(this.rows)}},methods:{randomWidthPercentage(){const e=Math.min(this.minWidth,this.maxWidth),t=Math.max(this.minWidth,this.maxWidth);return"".concat(Math.round(Math.random()*(t-e))+e,"%")},getSizeParagraphRow(e){const t=this.width,n=Array.isArray(t),o=null===t||void 0===t?void 0:t[e-1],i=e===this.rows;return this.randomWidth?this.randomWidthPercentage():t&&!n?t:t&&n&&o?o:i?"38%":"100%"}}},Nn=(0,A.Z)(Tn,[["render",xn]]),Pn=Nn,Vn={name:"DtSkeletonListItem",components:{DtSkeletonShape:Bn,DtSkeletonParagraph:Pn},props:{shape:{type:String,default:"circle",validator:e=>Object.keys(vn).includes(e)},shapeSize:{type:String,default:"md"},paragraphs:{type:Object,default:()=>({rows:3,randomWidth:!0})},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!0},offset:{type:Number,default:1},shapeClass:{type:String,default:""},contentClass:{type:String,default:""}}},Mn=(0,A.Z)(Vn,[["render",kn]]),$n=Mn,Rn={name:"DtSkeleton",components:{DtSkeletonText:An,DtSkeletonShape:Bn,DtSkeletonListItem:$n,DtSkeletonParagraph:Pn},props:{paragraphOption:{type:[Object,Boolean],default:null},listItemOption:{type:[Object,Boolean],default:null},textOption:{type:Object,default:null},shapeOption:{type:[Object,Boolean],default:null},animationDuration:{type:Number,default:-1},ariaLabel:{type:String,default:""},animate:{type:Boolean,default:!0},offset:{type:Number,default:1}},computed:{validationOptions(){return{paragraphOption:this.paragraphOption,listItemOption:this.listItemOption,textOption:this.textOption,shapeOption:this.shapeOption}}},watch:{$props:{immediate:!0,handler:"validator"}},methods:{validator(){const e=Object.entries(this.validationOptions).filter((e=>{let[t,n]=e;return n}));if(e.length>=2){const t="Use only one of ".concat(e.map((e=>{let[t]=e;return t})).join(" | ")," options at the same time");console.error(t)}}}};o(195);const jn=(0,A.Z)(Rn,[["render",mn]]),zn=jn,Kn={name:"ComboboxLoadingList",components:{DtListItem:hn,DtSkeleton:zn}},Hn=(0,A.Z)(Kn,[["render",Yt]]),qn=Hn,Wn={name:"DtCombobox",components:{ComboboxLoadingList:qn},mixins:[Ut({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl"})],props:{listAriaLabel:{type:String,required:!0},listId:{type:String,default(){return E()}},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},showList:{type:Boolean,default:!1},listRenderedOutside:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null}},computed:{inputProps(){return{role:"combobox","aria-expanded":this.showList.toString(),"aria-owns":this.listId,"aria-haspopup":"listbox","aria-activedescendant":this.activeItemId,"aria-controls":this.listId}},listProps(){return{role:"listbox",id:this.listId,class:"d-ps-relative","aria-label":this.listAriaLabel}},beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemId(){if(!(!this.showList||this.highlightIndex<0||this.loading))return this.highlightId},activeItemEl(){return this.getListElement().querySelector("#"+this.highlightId)}},watch:{showList(e){this.$nextTick((function(){this.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",e))})),!e&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null)}},methods:{onMouseHighlight(e){if(this.loading)return;const t=e.target.closest("li");t&&this.highlightId!==t.id&&this.setHighlightId(t.id)},getListElement(){var e;return null!==(e=this.outsideRenderedListRef)&&void 0!==e?e:this.$refs.listWrapper.querySelector("#".concat(this.listId))},clearHighlightIndex(){this.showList&&this.setHighlightIndex(-1)},afterHighlight(){this.loading||this.$emit("highlight",this.highlightIndex)},onEnterKey(){this.loading||this.highlightIndex>=0&&this.$emit("select",this.highlightIndex)},onEscapeKey(){this.$emit("escape")},onOpen(e,t){var n;this.outsideRenderedListRef=t,null===(n=this.outsideRenderedListRef)||void 0===n||n.addEventListener("mousemove",this.onMouseHighlight),this.$emit("opened",e),e&&this.setInitialHighlightIndex()},onKeyValidation(e,t){this.showList&&this.getListElement()&&this[t](e)},setInitialHighlightIndex(){this.showList&&this.setHighlightIndex(this.loading?-1:0)}}},Zn=(0,A.Z)(Wn,[["render",qt]]),Un=Zn,Gn=["id"];function Yn(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-popover");return(0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({ref:"popover","content-width":o.contentWidth,open:o.open,placement:o.placement,"initial-focus-element":a.openedWithKeyboard?"first":"dialog","fallback-placements":o.fallbackPlacements,padding:"none",role:"menu",modal:o.modal},e.$attrs,{"max-height":o.maxHeight,"max-width":o.maxWidth,"open-with-arrow-keys":!0,onOpened:s.updateInitialHighlightIndex,onKeydown:[(0,n.withKeys)(s.onEnterKey,["enter"]),(0,n.withKeys)(s.onSpaceKey,["space"]),t[2]||(t[2]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onUpKeyPress")),["stop","prevent"]),["up"])),t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onDownKeyPress")),["stop","prevent"]),["down"])),t[4]||(t[4]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onHomeKeyPress")),["stop","prevent"]),["home"])),t[5]||(t[5]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEndKeyPress")),["stop","prevent"]),["end"])),t[6]||(t[6]=e=>s.onKeyValidation(e,"onKeyPress"))]}),{anchor:(0,n.withCtx)((t=>{let{attrs:o}=t;return[(0,n.renderSlot)(e.$slots,"anchor",(0,n.mergeProps)({ref:"anchor"},o))]})),content:(0,n.withCtx)((i=>{let{close:r}=i;return[(0,n.createElementVNode)("ul",{id:o.listId,ref:"listWrapper",class:(0,n.normalizeClass)(["d-ps-relative","d-px0",a.DROPDOWN_PADDING_CLASSES[o.padding],o.listClass]),"data-qa":"dt-dropdown-list-wrapper",onMouseleave:t[0]||(t[0]=function(){return s.clearHighlightIndex&&s.clearHighlightIndex(...arguments)}),onMousemoveCapture:t[1]||(t[1]=function(){return s.onMouseHighlight&&s.onMouseHighlight(...arguments)})},[(0,n.renderSlot)(e.$slots,"list",{close:r})],42,Gn)]})),_:3},16,["content-width","open","placement","initial-focus-element","fallback-placements","modal","max-height","max-width","onOpened","onKeydown"])}const Qn=["aria-hidden"],Xn=["id"];function Jn(e,t,o,i,a,s){const r=(0,n.resolveComponent)("popover-header-footer"),l=(0,n.resolveComponent)("dt-lazy-show");return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[o.modal&&a.isOpen?((0,n.openBlock)(),(0,n.createBlock)(n.Teleport,{key:0,to:"body"},[(0,n.createElementVNode)("div",{class:"d-modal--transparent","aria-hidden":o.modal&&a.isOpen?"false":"true",onClick:t[0]||(t[0]=(0,n.withModifiers)((()=>{}),["prevent","stop"]))},null,8,Qn)])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(o.elementType),(0,n.mergeProps)({ref:"popover",class:["d-popover",{"d-popover__anchor--modal-opened":o.modal&&a.isOpen}],"data-qa":"dt-popover-container"},e.$attrs),{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{id:!o.ariaLabelledby&&s.labelledBy,ref:"anchor","data-qa":"dt-popover-anchor",onClickCapture:t[1]||(t[1]=function(){return s.defaultToggleOpen&&s.defaultToggleOpen(...arguments)}),onKeydown:[t[2]||(t[2]=(0,n.withKeys)((0,n.withModifiers)((function(){return s.onArrowKeyPress&&s.onArrowKeyPress(...arguments)}),["prevent"]),["up"])),t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((function(){return s.onArrowKeyPress&&s.onArrowKeyPress(...arguments)}),["prevent"]),["down"]))],onWheel:t[4]||(t[4]=e=>a.isOpen&&o.modal&&e.preventDefault()),onKeydownCapture:t[5]||(t[5]=(0,n.withKeys)((function(){return s.closePopover&&s.closePopover(...arguments)}),["escape"]))},[(0,n.renderSlot)(e.$slots,"anchor",{attrs:{"aria-expanded":a.isOpen.toString(),"aria-controls":o.id,"aria-haspopup":o.role}})],40,Xn),(0,n.createVNode)(l,(0,n.mergeProps)({id:o.id,ref:"content",role:o.role,"data-qa":"dt-popover","aria-hidden":"".concat(!a.isOpen),"aria-labelledby":s.labelledBy,"aria-label":o.ariaLabel,"aria-modal":"".concat(!o.modal),transition:o.transition,show:a.isOpen,appear:"",class:["d-popover__dialog",{"d-popover__dialog--modal":o.modal},o.dialogClass],style:{"max-height":o.maxHeight,"max-width":o.maxWidth},tabindex:o.contentTabindex},e.$attrs,{onKeydownCapture:s.onKeydown,onAfterLeave:s.onLeaveTransitionComplete,onAfterEnter:s.onEnterTransitionComplete}),{default:(0,n.withCtx)((()=>[e.$slots.headerContent||o.showCloseButton?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,ref:"popover__header",class:(0,n.normalizeClass)(a.POPOVER_HEADER_FOOTER_PADDING_CLASSES[o.padding]),"content-class":o.headerClass,type:"header","show-close-button":o.showCloseButton,"close-button-props":o.closeButtonProps,onClose:s.closePopover},{content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"headerContent",{close:s.closePopover})])),_:3},8,["class","content-class","show-close-button","close-button-props","onClose"])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{ref:"popover__content","data-qa":"dt-popover-content",class:(0,n.normalizeClass)(["d-popover__content",a.POPOVER_PADDING_CLASSES[o.padding],o.contentClass])},[(0,n.renderSlot)(e.$slots,"content",{close:s.closePopover})],2),e.$slots.footerContent?((0,n.openBlock)(),(0,n.createBlock)(r,{key:1,ref:"popover__footer",type:"footer",class:(0,n.normalizeClass)(a.POPOVER_HEADER_FOOTER_PADDING_CLASSES[o.padding]),"content-class":o.footerClass},{content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"footerContent",{close:s.closePopover})])),_:3},8,["class","content-class"])):(0,n.createCommentVNode)("",!0)])),_:3},16,["id","role","aria-hidden","aria-labelledby","aria-label","aria-modal","transition","show","class","style","tabindex","onKeydownCapture","onAfterLeave","onAfterEnter"])])),_:3},16,["class"]))])}function eo(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function to(e){var t=eo(e).Element;return e instanceof t||e instanceof Element}function no(e){var t=eo(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function oo(e){if("undefined"===typeof ShadowRoot)return!1;var t=eo(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var io=Math.max,ao=Math.min,so=Math.round;function ro(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if(no(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(o=so(n.width)/s||1),a>0&&(i=so(n.height)/a||1)}return{width:n.width/o,height:n.height/i,top:n.top/i,right:n.right/o,bottom:n.bottom/i,left:n.left/o,x:n.left/o,y:n.top/i}}function lo(e){var t=eo(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function uo(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function co(e){return e!==eo(e)&&no(e)?uo(e):lo(e)}function po(e){return e?(e.nodeName||"").toLowerCase():null}function ho(e){return((to(e)?e.ownerDocument:e.document)||window.document).documentElement}function Do(e){return ro(ho(e)).left+lo(e).scrollLeft}function mo(e){return eo(e).getComputedStyle(e)}function fo(e){var t=mo(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function go(e){var t=e.getBoundingClientRect(),n=so(t.width)/e.offsetWidth||1,o=so(t.height)/e.offsetHeight||1;return 1!==n||1!==o}function vo(e,t,n){void 0===n&&(n=!1);var o=no(t),i=no(t)&&go(t),a=ho(t),s=ro(e,i),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==po(t)||fo(a))&&(r=co(t)),no(t)?(l=ro(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Do(a))),{x:s.left+r.scrollLeft-l.x,y:s.top+r.scrollTop-l.y,width:s.width,height:s.height}}function bo(e){var t=ro(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function yo(e){return"html"===po(e)?e:e.assignedSlot||e.parentNode||(oo(e)?e.host:null)||ho(e)}function Co(e){return["html","body","#document"].indexOf(po(e))>=0?e.ownerDocument.body:no(e)&&fo(e)?e:Co(yo(e))}function Eo(e,t){var n;void 0===t&&(t=[]);var o=Co(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=eo(o),s=i?[a].concat(a.visualViewport||[],fo(o)?o:[]):o,r=t.concat(s);return i?r:r.concat(Eo(yo(s)))}function Fo(e){return["table","td","th"].indexOf(po(e))>=0}function So(e){return no(e)&&"fixed"!==mo(e).position?e.offsetParent:null}function Bo(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&no(e)){var o=mo(e);if("fixed"===o.position)return null}var i=yo(e);oo(i)&&(i=i.host);while(no(i)&&["html","body"].indexOf(po(i))<0){var a=mo(i);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return i;i=i.parentNode}return null}function wo(e){var t=eo(e),n=So(e);while(n&&Fo(n)&&"static"===mo(n).position)n=So(n);return n&&("html"===po(n)||"body"===po(n)&&"static"===mo(n).position)?t:n||Bo(e)||t}var ko="top",xo="bottom",Io="right",Oo="left",_o="auto",Ao=[ko,xo,Io,Oo],Lo="start",To="end",No="clippingParents",Po="viewport",Vo="popper",Mo="reference",$o=Ao.reduce((function(e,t){return e.concat([t+"-"+Lo,t+"-"+To])}),[]),Ro=[].concat(Ao,[_o]).reduce((function(e,t){return e.concat([t,t+"-"+Lo,t+"-"+To])}),[]),jo="beforeRead",zo="read",Ko="afterRead",Ho="beforeMain",qo="main",Wo="afterMain",Zo="beforeWrite",Uo="write",Go="afterWrite",Yo=[jo,zo,Ko,Ho,qo,Wo,Zo,Uo,Go];function Qo(e){var t=new Map,n=new Set,o=[];function i(e){n.add(e.name);var a=[].concat(e.requires||[],e.requiresIfExists||[]);a.forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&i(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),o}function Xo(e){var t=Qo(e);return Yo.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function Jo(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function ei(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}var ti={placement:"bottom",modifiers:[],strategy:"absolute"};function ni(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function oi(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?ti:i;return function(e,t,n){void 0===n&&(n=a);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},ti,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],r=!1,l={state:i,setOptions:function(n){var s="function"===typeof n?n(i.options):n;d(),i.options=Object.assign({},a,i.options,s),i.scrollParents={reference:to(e)?Eo(e):e.contextElement?Eo(e.contextElement):[],popper:Eo(t)};var r=Xo(ei([].concat(o,i.options.modifiers)));return i.orderedModifiers=r.filter((function(e){return e.enabled})),u(),l.update()},forceUpdate:function(){if(!r){var e=i.elements,t=e.reference,n=e.popper;if(ni(t,n)){i.rects={reference:vo(t,wo(n),"fixed"===i.options.strategy),popper:bo(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<i.orderedModifiers.length;o++)if(!0!==i.reset){var a=i.orderedModifiers[o],s=a.fn,u=a.options,d=void 0===u?{}:u,c=a.name;"function"===typeof s&&(i=s({state:i,options:d,name:c,instance:l})||i)}else i.reset=!1,o=-1}}},update:Jo((function(){return new Promise((function(e){l.forceUpdate(),e(i)}))})),destroy:function(){d(),r=!0}};if(!ni(e,t))return l;function u(){i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,a=e.effect;if("function"===typeof a){var r=a({state:i,name:t,instance:l,options:o}),u=function(){};s.push(r||u)}}))}function d(){s.forEach((function(e){return e()})),s=[]}return l.setOptions(n).then((function(e){!r&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var ii={passive:!0};function ai(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,s=o.resize,r=void 0===s||s,l=eo(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,ii)})),r&&l.addEventListener("resize",n.update,ii),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ii)})),r&&l.removeEventListener("resize",n.update,ii)}}const si={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ai,data:{}};function ri(e){return e.split("-")[0]}function li(e){return e.split("-")[1]}function ui(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function di(e){var t,n=e.reference,o=e.element,i=e.placement,a=i?ri(i):null,s=i?li(i):null,r=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(a){case ko:t={x:r,y:n.y-o.height};break;case xo:t={x:r,y:n.y+n.height};break;case Io:t={x:n.x+n.width,y:l};break;case Oo:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?ui(a):null;if(null!=u){var d="y"===u?"height":"width";switch(s){case Lo:t[u]=t[u]-(n[d]/2-o[d]/2);break;case To:t[u]=t[u]+(n[d]/2-o[d]/2);break;default:}}return t}function ci(e){var t=e.state,n=e.name;t.modifiersData[n]=di({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const pi={name:"popperOffsets",enabled:!0,phase:"read",fn:ci,data:{}};var hi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Di(e){var t=e.x,n=e.y,o=window,i=o.devicePixelRatio||1;return{x:so(t*i)/i||0,y:so(n*i)/i||0}}function mi(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,r=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,c=e.isFixed,p=s.x,h=void 0===p?0:p,D=s.y,m=void 0===D?0:D,f="function"===typeof d?d({x:h,y:m}):{x:h,y:m};h=f.x,m=f.y;var g=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),b=Oo,y=ko,C=window;if(u){var E=wo(n),F="clientHeight",S="clientWidth";if(E===eo(n)&&(E=ho(n),"static"!==mo(E).position&&"absolute"===r&&(F="scrollHeight",S="scrollWidth")),E=E,i===ko||(i===Oo||i===Io)&&a===To){y=xo;var B=c&&E===C&&C.visualViewport?C.visualViewport.height:E[F];m-=B-o.height,m*=l?1:-1}if(i===Oo||(i===ko||i===xo)&&a===To){b=Io;var w=c&&E===C&&C.visualViewport?C.visualViewport.width:E[S];h-=w-o.width,h*=l?1:-1}}var k,x=Object.assign({position:r},u&&hi),I=!0===d?Di({x:h,y:m}):{x:h,y:m};return h=I.x,m=I.y,l?Object.assign({},x,(k={},k[y]=v?"0":"",k[b]=g?"0":"",k.transform=(C.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",k)):Object.assign({},x,(t={},t[y]=v?m+"px":"",t[b]=g?h+"px":"",t.transform="",t))}function fi(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=void 0===o||o,a=n.adaptive,s=void 0===a||a,r=n.roundOffsets,l=void 0===r||r,u={placement:ri(t.placement),variation:li(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,mi(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,mi(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const gi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:fi,data:{}};function vi(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];no(i)&&po(i)&&(Object.assign(i.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))}function bi(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),s=a.reduce((function(e,t){return e[t]="",e}),{});no(o)&&po(o)&&(Object.assign(o.style,s),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}}const yi={name:"applyStyles",enabled:!0,phase:"write",fn:vi,effect:bi,requires:["computeStyles"]};function Ci(e,t,n){var o=ri(e),i=[Oo,ko].indexOf(o)>=0?-1:1,a="function"===typeof n?n(Object.assign({},t,{placement:e})):n,s=a[0],r=a[1];return s=s||0,r=(r||0)*i,[Oo,Io].indexOf(o)>=0?{x:r,y:s}:{x:s,y:r}}function Ei(e){var t=e.state,n=e.options,o=e.name,i=n.offset,a=void 0===i?[0,0]:i,s=Ro.reduce((function(e,n){return e[n]=Ci(n,t.rects,a),e}),{}),r=s[t.placement],l=r.x,u=r.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[o]=s}const Fi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ei};var Si={left:"right",right:"left",bottom:"top",top:"bottom"};function Bi(e){return e.replace(/left|right|bottom|top/g,(function(e){return Si[e]}))}var wi={start:"end",end:"start"};function ki(e){return e.replace(/start|end/g,(function(e){return wi[e]}))}function xi(e){var t=eo(e),n=ho(e),o=t.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,r=0;return o&&(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,r=o.offsetTop)),{width:i,height:a,x:s+Do(e),y:r}}function Ii(e){var t,n=ho(e),o=lo(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=io(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=io(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),r=-o.scrollLeft+Do(e),l=-o.scrollTop;return"rtl"===mo(i||n).direction&&(r+=io(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:r,y:l}}function Oi(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&oo(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function _i(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ai(e){var t=ro(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Li(e,t){return t===Po?_i(xi(e)):to(t)?Ai(t):_i(Ii(ho(e)))}function Ti(e){var t=Eo(yo(e)),n=["absolute","fixed"].indexOf(mo(e).position)>=0,o=n&&no(e)?wo(e):e;return to(o)?t.filter((function(e){return to(e)&&Oi(e,o)&&"body"!==po(e)})):[]}function Ni(e,t,n){var o="clippingParents"===t?Ti(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=Li(e,n);return t.top=io(o.top,t.top),t.right=ao(o.right,t.right),t.bottom=ao(o.bottom,t.bottom),t.left=io(o.left,t.left),t}),Li(e,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Pi(){return{top:0,right:0,bottom:0,left:0}}function Vi(e){return Object.assign({},Pi(),e)}function Mi(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function $i(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,a=n.boundary,s=void 0===a?No:a,r=n.rootBoundary,l=void 0===r?Po:r,u=n.elementContext,d=void 0===u?Vo:u,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,D=void 0===h?0:h,m=Vi("number"!==typeof D?D:Mi(D,Ao)),f=d===Vo?Mo:Vo,g=e.rects.popper,v=e.elements[p?f:d],b=Ni(to(v)?v:v.contextElement||ho(e.elements.popper),s,l),y=ro(e.elements.reference),C=di({reference:y,element:g,strategy:"absolute",placement:i}),E=_i(Object.assign({},g,C)),F=d===Vo?E:y,S={top:b.top-F.top+m.top,bottom:F.bottom-b.bottom+m.bottom,left:b.left-F.left+m.left,right:F.right-b.right+m.right},B=e.modifiersData.offset;if(d===Vo&&B){var w=B[i];Object.keys(S).forEach((function(e){var t=[Io,xo].indexOf(e)>=0?1:-1,n=[ko,xo].indexOf(e)>=0?"y":"x";S[e]+=w[n]*t}))}return S}function Ri(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=n.boundary,a=n.rootBoundary,s=n.padding,r=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?Ro:l,d=li(o),c=d?r?$o:$o.filter((function(e){return li(e)===d})):Ao,p=c.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=c);var h=p.reduce((function(t,n){return t[n]=$i(e,{placement:n,boundary:i,rootBoundary:a,padding:s})[ri(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}function ji(e){if(ri(e)===_o)return[];var t=Bi(e);return[ki(e),t,ki(t)]}function zi(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=n.mainAxis,a=void 0===i||i,s=n.altAxis,r=void 0===s||s,l=n.fallbackPlacements,u=n.padding,d=n.boundary,c=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,D=void 0===h||h,m=n.allowedAutoPlacements,f=t.options.placement,g=ri(f),v=g===f,b=l||(v||!D?[Bi(f)]:ji(f)),y=[f].concat(b).reduce((function(e,n){return e.concat(ri(n)===_o?Ri(t,{placement:n,boundary:d,rootBoundary:c,padding:u,flipVariations:D,allowedAutoPlacements:m}):n)}),[]),C=t.rects.reference,E=t.rects.popper,F=new Map,S=!0,B=y[0],w=0;w<y.length;w++){var k=y[w],x=ri(k),I=li(k)===Lo,O=[ko,xo].indexOf(x)>=0,_=O?"width":"height",A=$i(t,{placement:k,boundary:d,rootBoundary:c,altBoundary:p,padding:u}),L=O?I?Io:Oo:I?xo:ko;C[_]>E[_]&&(L=Bi(L));var T=Bi(L),N=[];if(a&&N.push(A[x]<=0),r&&N.push(A[L]<=0,A[T]<=0),N.every((function(e){return e}))){B=k,S=!1;break}F.set(k,N)}if(S)for(var P=D?3:1,V=function(e){var t=y.find((function(t){var n=F.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return B=t,"break"},M=P;M>0;M--){var $=V(M);if("break"===$)break}t.placement!==B&&(t.modifiersData[o]._skip=!0,t.placement=B,t.reset=!0)}}const Ki={name:"flip",enabled:!0,phase:"main",fn:zi,requiresIfExists:["offset"],data:{_skip:!1}};function Hi(e){return"x"===e?"y":"x"}function qi(e,t,n){return io(e,ao(t,n))}function Wi(e,t,n){var o=qi(e,t,n);return o>n?n:o}function Zi(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,a=void 0===i||i,s=n.altAxis,r=void 0!==s&&s,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,c=n.padding,p=n.tether,h=void 0===p||p,D=n.tetherOffset,m=void 0===D?0:D,f=$i(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:d}),g=ri(t.placement),v=li(t.placement),b=!v,y=ui(g),C=Hi(y),E=t.modifiersData.popperOffsets,F=t.rects.reference,S=t.rects.popper,B="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,w="number"===typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,x={x:0,y:0};if(E){if(a){var I,O="y"===y?ko:Oo,_="y"===y?xo:Io,A="y"===y?"height":"width",L=E[y],T=L+f[O],N=L-f[_],P=h?-S[A]/2:0,V=v===Lo?F[A]:S[A],M=v===Lo?-S[A]:-F[A],$=t.elements.arrow,R=h&&$?bo($):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Pi(),z=j[O],K=j[_],H=qi(0,F[A],R[A]),q=b?F[A]/2-P-H-z-w.mainAxis:V-H-z-w.mainAxis,W=b?-F[A]/2+P+H+K+w.mainAxis:M+H+K+w.mainAxis,Z=t.elements.arrow&&wo(t.elements.arrow),U=Z?"y"===y?Z.clientTop||0:Z.clientLeft||0:0,G=null!=(I=null==k?void 0:k[y])?I:0,Y=L+q-G-U,Q=L+W-G,X=qi(h?ao(T,Y):T,L,h?io(N,Q):N);E[y]=X,x[y]=X-L}if(r){var J,ee="x"===y?ko:Oo,te="x"===y?xo:Io,ne=E[C],oe="y"===C?"height":"width",ie=ne+f[ee],ae=ne-f[te],se=-1!==[ko,Oo].indexOf(g),re=null!=(J=null==k?void 0:k[C])?J:0,le=se?ie:ne-F[oe]-S[oe]-re+w.altAxis,ue=se?ne+F[oe]+S[oe]-re-w.altAxis:ae,de=h&&se?Wi(le,ne,ue):qi(h?le:ie,ne,h?ue:ae);E[C]=de,x[C]=de-ne}t.modifiersData[o]=x}}const Ui={name:"preventOverflow",enabled:!0,phase:"main",fn:Zi,requiresIfExists:["offset"]};var Gi=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,Vi("number"!==typeof e?e:Mi(e,Ao))};function Yi(e){var t,n=e.state,o=e.name,i=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,r=ri(n.placement),l=ui(r),u=[Oo,Io].indexOf(r)>=0,d=u?"height":"width";if(a&&s){var c=Gi(i.padding,n),p=bo(a),h="y"===l?ko:Oo,D="y"===l?xo:Io,m=n.rects.reference[d]+n.rects.reference[l]-s[l]-n.rects.popper[d],f=s[l]-n.rects.reference[l],g=wo(a),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=m/2-f/2,y=c[h],C=v-p[d]-c[D],E=v/2-p[d]/2+b,F=qi(y,E,C),S=l;n.modifiersData[o]=(t={},t[S]=F,t.centerOffset=F-E,t)}}function Qi(e){var t=e.state,n=e.options,o=n.element,i=void 0===o?"[data-popper-arrow]":o;null!=i&&("string"!==typeof i||(i=t.elements.popper.querySelector(i),i))&&Oi(t.elements.popper,i)&&(t.elements.arrow=i)}const Xi={name:"arrow",enabled:!0,phase:"main",fn:Yi,effect:Qi,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ji(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ea(e){return[ko,Io,xo,Oo].some((function(t){return e[t]>=0}))}function ta(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,s=$i(t,{elementContext:"reference"}),r=$i(t,{altBoundary:!0}),l=Ji(s,o),u=Ji(r,i,a),d=ea(l),c=ea(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":c})}const na={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ta};var oa=[si,pi,gi,yi,Fi,Ki,Ui,Xi,na],ia=oi({defaultModifiers:oa}),aa="tippy-box",sa="tippy-content",ra="tippy-backdrop",la="tippy-arrow",ua="tippy-svg-arrow",da={passive:!0,capture:!0},ca=function(){return document.body};function pa(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function ha(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Da(e,t){return"function"===typeof e?e.apply(void 0,t):e}function ma(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function fa(e){return e.split(/\s+/).filter(Boolean)}function ga(e){return[].concat(e)}function va(e,t){-1===e.indexOf(t)&&e.push(t)}function ba(e){return e.filter((function(t,n){return e.indexOf(t)===n}))}function ya(e){return e.split("-")[0]}function Ca(e){return[].slice.call(e)}function Ea(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Fa(){return document.createElement("div")}function Sa(e){return["Element","Fragment"].some((function(t){return ha(e,t)}))}function Ba(e){return ha(e,"NodeList")}function wa(e){return ha(e,"MouseEvent")}function ka(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function xa(e){return Sa(e)?[e]:Ba(e)?Ca(e):Array.isArray(e)?e:Ca(document.querySelectorAll(e))}function Ia(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Oa(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function _a(e){var t,n=ga(e),o=n[0];return null!=o&&null!=(t=o.ownerDocument)&&t.body?o.ownerDocument:document}function Aa(e,t){var n=t.clientX,o=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,a=e.props,s=a.interactiveBorder,r=ya(i.placement),l=i.modifiersData.offset;if(!l)return!0;var u="bottom"===r?l.top.y:0,d="top"===r?l.bottom.y:0,c="right"===r?l.left.x:0,p="left"===r?l.right.x:0,h=t.top-o+u>s,D=o-t.bottom-d>s,m=t.left-n+c>s,f=n-t.right-p>s;return h||D||m||f}))}function La(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Ta(e,t){var n=t;while(n){var o;if(e.contains(n))return!0;n=null==n.getRootNode||null==(o=n.getRootNode())?void 0:o.host}return!1}var Na={isTouch:!1},Pa=0;function Va(){Na.isTouch||(Na.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ma))}function Ma(){var e=performance.now();e-Pa<20&&(Na.isTouch=!1,document.removeEventListener("mousemove",Ma)),Pa=e}function $a(){var e=document.activeElement;if(ka(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Ra(){document.addEventListener("touchstart",Va,da),window.addEventListener("blur",$a)}var ja="undefined"!==typeof window&&"undefined"!==typeof document,za=!!ja&&!!window.msCrypto;var Ka={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ha={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},qa=Object.assign({appendTo:ca,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},Ka,Ha),Wa=Object.keys(qa),Za=function(e){var t=Object.keys(e);t.forEach((function(t){qa[t]=e[t]}))};function Ua(e){var t=e.plugins||[],n=t.reduce((function(t,n){var o,i=n.name,a=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(o=qa[i])?o:a);return t}),{});return Object.assign({},e,n)}function Ga(e,t){var n=t?Object.keys(Ua(Object.assign({},qa,{plugins:t}))):Wa,o=n.reduce((function(t,n){var o=(e.getAttribute("data-tippy-"+n)||"").trim();if(!o)return t;if("content"===n)t[n]=o;else try{t[n]=JSON.parse(o)}catch(i){t[n]=o}return t}),{});return o}function Ya(e,t){var n=Object.assign({},t,{content:Da(t.content,[e])},t.ignoreAttributes?{}:Ga(e,t.plugins));return n.aria=Object.assign({},qa.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var Qa=function(){return"innerHTML"};function Xa(e,t){e[Qa()]=t}function Ja(e){var t=Fa();return!0===e?t.className=la:(t.className=ua,Sa(e)?t.appendChild(e):Xa(t,e)),t}function es(e,t){Sa(t.content)?(Xa(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?Xa(e,t.content):e.textContent=t.content)}function ts(e){var t=e.firstElementChild,n=Ca(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(sa)})),arrow:n.find((function(e){return e.classList.contains(la)||e.classList.contains(ua)})),backdrop:n.find((function(e){return e.classList.contains(ra)}))}}function ns(e){var t=Fa(),n=Fa();n.className=aa,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=Fa();function i(n,o){var i=ts(t),a=i.box,s=i.content,r=i.arrow;o.theme?a.setAttribute("data-theme",o.theme):a.removeAttribute("data-theme"),"string"===typeof o.animation?a.setAttribute("data-animation",o.animation):a.removeAttribute("data-animation"),o.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth="number"===typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?a.setAttribute("role",o.role):a.removeAttribute("role"),n.content===o.content&&n.allowHTML===o.allowHTML||es(s,e.props),o.arrow?r?n.arrow!==o.arrow&&(a.removeChild(r),a.appendChild(Ja(o.arrow))):a.appendChild(Ja(o.arrow)):r&&a.removeChild(r)}return o.className=sa,o.setAttribute("data-state","hidden"),es(o,e.props),t.appendChild(n),n.appendChild(o),i(e.props,e.props),{popper:t,onUpdate:i}}ns.$$tippy=!0;var os=1,is=[],as=[];function ss(e,t){var n,o,i,a,s,r,l,u=Ya(e,Object.assign({},qa,Ua(Ea(t)))),d=!1,c=!1,p=!1,h=!1,D=[],m=ma(Y,u.interactiveDebounce),f=os++,g=null,v=ba(u.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},y={id:f,reference:e,popper:Fa(),popperInstance:g,props:u,state:b,plugins:v,clearDelayTimeouts:le,setProps:ue,setContent:de,show:ce,hide:pe,hideWithInteractivity:he,enable:se,disable:re,unmount:De,destroy:me};if(!u.render)return y;var C=u.render(y),E=C.popper,F=C.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+y.id,y.popper=E,e._tippy=y,E._tippy=y;var S=v.map((function(e){return e.fn(y)})),B=e.hasAttribute("aria-expanded");return Z(),P(),L(),T("onCreate",[y]),u.showOnCreate&&ie(),E.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),E.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&O().addEventListener("mousemove",m)})),y;function w(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function k(){return"hold"===w()[0]}function x(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function I(){return l||e}function O(){var e=I().parentNode;return e?_a(e):document}function _(){return ts(E)}function A(e){return y.state.isMounted&&!y.state.isVisible||Na.isTouch||a&&"focus"===a.type?0:pa(y.props.delay,e?0:1,qa.delay)}function L(e){void 0===e&&(e=!1),E.style.pointerEvents=y.props.interactive&&!e?"":"none",E.style.zIndex=""+y.props.zIndex}function T(e,t,n){var o;(void 0===n&&(n=!0),S.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=y.props)[e].apply(o,t)}function N(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,o=E.id,i=ga(y.props.triggerTarget||e);i.forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+o:o);else{var i=t&&t.replace(o,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function P(){if(!B&&y.props.aria.expanded){var t=ga(y.props.triggerTarget||e);t.forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===I()?"true":"false"):e.removeAttribute("aria-expanded")}))}}function V(){O().removeEventListener("mousemove",m),is=is.filter((function(e){return e!==m}))}function M(t){if(!Na.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!Ta(E,n)){if(ga(y.props.triggerTarget||e).some((function(e){return Ta(e,n)}))){if(Na.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else T("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),c=!0,setTimeout((function(){c=!1})),y.state.isMounted||z())}}}function $(){p=!0}function R(){p=!1}function j(){var e=O();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,da),e.addEventListener("touchstart",R,da),e.addEventListener("touchmove",$,da)}function z(){var e=O();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,da),e.removeEventListener("touchstart",R,da),e.removeEventListener("touchmove",$,da)}function K(e,t){q(e,(function(){!y.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&t()}))}function H(e,t){q(e,t)}function q(e,t){var n=_().box;function o(e){e.target===n&&(La(n,"remove",o),t())}if(0===e)return t();La(n,"remove",s),La(n,"add",o),s=o}function W(t,n,o){void 0===o&&(o=!1);var i=ga(y.props.triggerTarget||e);i.forEach((function(e){e.addEventListener(t,n,o),D.push({node:e,eventType:t,handler:n,options:o})}))}function Z(){k()&&(W("touchstart",G,{passive:!0}),W("touchend",Q,{passive:!0})),fa(y.props.trigger).forEach((function(e){if("manual"!==e)switch(W(e,G),e){case"mouseenter":W("mouseleave",Q);break;case"focus":W(za?"focusout":"blur",X);break;case"focusin":W("focusout",X);break}}))}function U(){D.forEach((function(e){var t=e.node,n=e.eventType,o=e.handler,i=e.options;t.removeEventListener(n,o,i)})),D=[]}function G(e){var t,n=!1;if(y.state.isEnabled&&!J(e)&&!c){var o="focus"===(null==(t=a)?void 0:t.type);a=e,l=e.currentTarget,P(),!y.state.isVisible&&wa(e)&&is.forEach((function(t){return t(e)})),"click"===e.type&&(y.props.trigger.indexOf("mouseenter")<0||d)&&!1!==y.props.hideOnClick&&y.state.isVisible?n=!0:ie(e),"click"===e.type&&(d=!n),n&&!o&&ae(e)}}function Y(e){var t=e.target,n=I().contains(t)||E.contains(t);if("mousemove"!==e.type||!n){var o=oe().concat(E).map((function(e){var t,n=e._tippy,o=null==(t=n.popperInstance)?void 0:t.state;return o?{popperRect:e.getBoundingClientRect(),popperState:o,props:u}:null})).filter(Boolean);Aa(o,e)&&(V(),ae(e))}}function Q(e){var t=J(e)||y.props.trigger.indexOf("click")>=0&&d;t||(y.props.interactive?y.hideWithInteractivity(e):ae(e))}function X(e){y.props.trigger.indexOf("focusin")<0&&e.target!==I()||y.props.interactive&&e.relatedTarget&&E.contains(e.relatedTarget)||ae(e)}function J(e){return!!Na.isTouch&&k()!==e.type.indexOf("touch")>=0}function ee(){te();var t=y.props,n=t.popperOptions,o=t.placement,i=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,l=x()?ts(E).arrow:null,u=a?{getBoundingClientRect:a,contextElement:a.contextElement||I()}:e,d={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(x()){var n=_(),o=n.box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?o.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?o.setAttribute("data-"+e,""):o.removeAttribute("data-"+e)})),t.attributes.popper={}}}},c=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},d];x()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),y.popperInstance=ia(u,E,Object.assign({},n,{placement:o,onFirstUpdate:r,modifiers:c}))}function te(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function ne(){var e,t=y.props.appendTo,n=I();e=y.props.interactive&&t===ca||"parent"===t?n.parentNode:Da(t,[n]),e.contains(E)||e.appendChild(E),y.state.isMounted=!0,ee()}function oe(){return Ca(E.querySelectorAll("[data-tippy-root]"))}function ie(e){y.clearDelayTimeouts(),e&&T("onTrigger",[y,e]),j();var t=A(!0),o=w(),i=o[0],a=o[1];Na.isTouch&&"hold"===i&&a&&(t=a),t?n=setTimeout((function(){y.show()}),t):y.show()}function ae(e){if(y.clearDelayTimeouts(),T("onUntrigger",[y,e]),y.state.isVisible){if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=A(!1);t?o=setTimeout((function(){y.state.isVisible&&y.hide()}),t):i=requestAnimationFrame((function(){y.hide()}))}}else z()}function se(){y.state.isEnabled=!0}function re(){y.hide(),y.state.isEnabled=!1}function le(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(i)}function ue(t){if(!y.state.isDestroyed){T("onBeforeUpdate",[y,t]),U();var n=y.props,o=Ya(e,Object.assign({},n,Ea(t),{ignoreAttributes:!0}));y.props=o,Z(),n.interactiveDebounce!==o.interactiveDebounce&&(V(),m=ma(Y,o.interactiveDebounce)),n.triggerTarget&&!o.triggerTarget?ga(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded"),P(),L(),F&&F(n,o),y.popperInstance&&(ee(),oe().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),T("onAfterUpdate",[y,t])}}function de(e){y.setProps({content:e})}function ce(){var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,o=Na.isTouch&&!y.props.touch,i=pa(y.props.duration,0,qa.duration);if(!(e||t||n||o)&&!I().hasAttribute("disabled")&&(T("onShow",[y],!1),!1!==y.props.onShow(y))){if(y.state.isVisible=!0,x()&&(E.style.visibility="visible"),L(),j(),y.state.isMounted||(E.style.transition="none"),x()){var a=_(),s=a.box,l=a.content;Ia([s,l],0)}r=function(){var e;if(y.state.isVisible&&!h){if(h=!0,E.offsetHeight,E.style.transition=y.props.moveTransition,x()&&y.props.animation){var t=_(),n=t.box,o=t.content;Ia([n,o],i),Oa([n,o],"visible")}N(),P(),va(as,y),null==(e=y.popperInstance)||e.forceUpdate(),T("onMount",[y]),y.props.animation&&x()&&H(i,(function(){y.state.isShown=!0,T("onShown",[y])}))}},ne()}}function pe(){var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,o=pa(y.props.duration,1,qa.duration);if(!(e||t||n)&&(T("onHide",[y],!1),!1!==y.props.onHide(y))){if(y.state.isVisible=!1,y.state.isShown=!1,h=!1,d=!1,x()&&(E.style.visibility="hidden"),V(),z(),L(!0),x()){var i=_(),a=i.box,s=i.content;y.props.animation&&(Ia([a,s],o),Oa([a,s],"hidden"))}N(),P(),y.props.animation?x()&&K(o,y.unmount):y.unmount()}}function he(e){O().addEventListener("mousemove",m),va(is,m),m(e)}function De(){y.state.isVisible&&y.hide(),y.state.isMounted&&(te(),oe().forEach((function(e){e._tippy.unmount()})),E.parentNode&&E.parentNode.removeChild(E),as=as.filter((function(e){return e!==y})),y.state.isMounted=!1,T("onHidden",[y]))}function me(){y.state.isDestroyed||(y.clearDelayTimeouts(),y.unmount(),U(),delete e._tippy,y.state.isDestroyed=!0,T("onDestroy",[y]))}}function rs(e,t){void 0===t&&(t={});var n=qa.plugins.concat(t.plugins||[]);Ra();var o=Object.assign({},t,{plugins:n}),i=xa(e),a=i.reduce((function(e,t){var n=t&&ss(t,o);return n&&e.push(n),e}),[]);return Sa(e)?a[0]:a}rs.defaultProps=qa,rs.setDefaultProps=Za,rs.currentInput=Na;Object.assign({},yi,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});var ls={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function o(){return e.popperInstance?e.popperInstance.state.elements.reference:t}function i(t){return!0===e.props.sticky||e.props.sticky===t}var a=null,s=null;function r(){var t=i("reference")?o().getBoundingClientRect():null,l=i("popper")?n.getBoundingClientRect():null;(t&&us(a,t)||l&&us(s,l))&&e.popperInstance&&e.popperInstance.update(),a=t,s=l,e.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){e.props.sticky&&r()}}}};function us(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}rs.setDefaultProps({render:ns});const ds=rs,cs=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),ps=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],hs=[!0,!1,"reference","popper"],Ds=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,ds(e,{...t,plugins:[ls],render:()=>vs(n)})},ms=function(){let{boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=(()=>{}),hasHideModifierEnabled:o=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:o},cs((e=>{let{state:t}=e;n(t.placement)}))]}},fs=(e,t)=>{const n=document.createElement("span");return n.setAttribute("tabindex",t),n.innerText=e.innerText||"",e.innerText="",e.appendChild(n),n},gs=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";const n=null===e||void 0===e?void 0:e.children[0];return n?(k(n)||n.setAttribute("tabindex",t),n):fs(e)},vs=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},bs={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},ys={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},Cs=["dialog","menu","listbox","tree","grid"],Es=[null,"anchor"],Fs=["none","dialog","first"],Ss=[...hs];function Bs(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createBlock)(n.Transition,(0,n.mergeProps)({name:o.transition,appear:o.appear},e.$attrs),{default:(0,n.withCtx)((()=>[(0,n.withDirectives)((0,n.createElementVNode)("div",(0,n.normalizeProps)((0,n.guardReactiveProps)(e.$attrs)),[a.initialized?(0,n.renderSlot)(e.$slots,"default",{key:0}):(0,n.createCommentVNode)("",!0)],16),[[n.vShow,o.show]])])),_:3},16,["name","appear"])}const ws={name:"DtLazyShow",inheritAttrs:!1,props:{show:Boolean,transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},watch:{show:function(e){e&&!this.initialized&&(this.initialized=!0)}}},ks=(0,A.Z)(ws,[["render",Bs]]),xs=ks;function Is(e,t,o,i,a,s){const r=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{"data-qa":"dt-popover-header-footer",class:(0,n.normalizeClass)({"d-popover__header":"header"===o.type,"d-popover__footer":"footer"===o.type})},[e.$slots.content?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,"data-qa":"dt-popover-header-footer-content",class:(0,n.normalizeClass)(["d-to-ellipsis","d-w100p",o.contentClass])},[(0,n.renderSlot)(e.$slots,"content")],2)):(0,n.createCommentVNode)("",!0),o.showCloseButton?((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:1,ref:"popover__close-button","data-qa":"dt-popover-close",class:"d-p6 d-mr6 d-bc-transparent",importance:"outlined",kind:"muted",circle:""},o.closeButtonProps,{onClick:t[0]||(t[0]=t=>e.$emit("close"))}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r,{class:"d-svg--size20"})])),_:1},16)):(0,n.createCommentVNode)("",!0)],2)}const Os={name:"PopoverHeaderFooter",components:{DtButton:pt,IconClose:Ze},props:{type:{type:String,validator:function(e){return["header","footer"].includes(e)}},contentClass:{type:[String,Array,Object],default:""},showCloseButton:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>{}}},emits:["close"],methods:{focusCloseButton(){var e;const t=null===(e=this.$refs["popover__close-button"])||void 0===e?void 0:e.$el;null===t||void 0===t||t.focus()}}},_s=(0,A.Z)(Os,[["render",Is]]),As=_s,Ls={name:"DtPopover",components:{DtLazyShow:xs,PopoverHeaderFooter:As},mixins:[bt],inheritAttrs:!1,props:{open:{type:Boolean,default:null},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:e=>Cs.includes(e)},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null},closeButtonProps:{type:Object,default:()=>({})},padding:{type:String,default:"large",validator:e=>Object.keys(bs).some((t=>t===e))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:e=>Es.includes(e)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return E()}},offset:{type:Array,default:()=>[0,4]},hideOnClick:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom-end"},sticky:{type:[Boolean,String],default:!1,validator:e=>Ss.includes(e)},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},showCloseButton:{type:Boolean,default:!1},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""},dialogClass:{type:[String,Array,Object],default:""},initialFocusElement:{type:[String,HTMLElement],default:"none",validator:e=>Fs.includes(e)||e instanceof HTMLElement||e.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["update:open","opened"],data(){return{POPOVER_PADDING_CLASSES:bs,POPOVER_HEADER_FOOTER_PADDING_CLASSES:ys,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&E("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(e){this.tip.setProps({zIndex:e?650:300})},offset(e){this.tip.setProps({offset:e})},sticky(e){this.tip.setProps({sticky:e})},fallbackPlacements(e){this.tip.setProps({popperOptions:ms({fallbackPlacements:e,hasHideModifierEnabled:!0})})},placement(e){var t;null===(t=this.tip)||void 0===t||t.setProps({placement:e})},open:{handler:function(e){null!==e&&(this.isOpen=e)},immediate:!0},isOpen(e,t){e?(this.tip.show(),this.addClosePopoverEventListener()):e||t===e||(this.removeClosePopoverEventListener(),this.tip.hide())}},mounted(){const e=document.getElementById(this.externalAnchor);this.anchorEl=null!==e&&void 0!==e?e:this.$refs.anchor.children[0],this.popoverContentEl=this.$refs.content.$el,"anchor"===this.contentWidth&&window.addEventListener("resize",this.onResize),this.tip=Ds(this.anchorEl,{popperOptions:ms({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0}),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,sticky:this.sticky,appendTo:document.body,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow}),this.isOpen&&this.tip.show()},beforeUnmount(){var e;window.removeEventListener("resize",this.onResize),null===(e=this.tip)||void 0===e||e.destroy(),this.removeReferences(),this.removeClosePopoverEventListener()},methods:{validateProps(){this.modal&&"none"===this.initialFocusElement&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?650:300},defaultToggleOpen(e){if(null===this.open||void 0===this.open){var t;if(!this.anchorEl.contains(e.target)&&!this.anchorEl.isEqualNode(e.target)||null!==(t=this.anchorEl)&&void 0!==t&&t.disabled)return;this.toggleOpen()}},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(e){null===this.open&&this.openWithArrowKeys&&this.anchorEl.contains(e.target)&&(this.isOpen||(this.isOpen=!0))},addClosePopoverEventListener(){window.addEventListener("dt-popover-close",this.closePopover)},removeClosePopoverEventListener(){window.removeEventListener("dt-popover-close",this.closePopover)},closePopover(){this.isOpen=!1},removeReferences(){this.anchorEl=null,this.popoverContentEl=null,this.tip=null},async onShow(){"anchor"===this.contentWidth&&await this.setPopoverContentAnchorWidth(),null===this.contentWidth&&(this.popoverContentEl.style.width="auto")},async onLeaveTransitionComplete(){var e;this.modal&&(this.focusFirstElement(this.$refs.anchor),await this.$nextTick()),null===(e=this.tip)||void 0===e||e.unmount(),this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),await this.$nextTick(),this.$emit("opened",!0,this.$refs.popover__content),null!==this.open&&this.$emit("update:open",!0)},focusInitialElement(){"dialog"===this.initialFocusElement&&this.$refs.content.$el.focus(),this.initialFocusElement.startsWith("#")&&this.focusInitialElementById(),"first"===this.initialFocusElement&&this.focusFirstElementIfNeeded(this.$refs.popover__content),this.initialFocusElement instanceof HTMLElement&&this.initialFocusElement.focus()},focusInitialElementById(){const e=this.$refs.content.$el.querySelector(this.initialFocusElement);e?e.focus():console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'),e?e.focus():this.$refs.content.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;const e=this.popoverContentEl.querySelector(".d-popover__anchor--modal-opened");e||this.closePopover()},onKeydown(e){"Tab"===e.key&&this.modal&&this.focusTrappedTabPress(e,this.popoverContentEl),"Escape"===e.key&&this.closePopover()},async setPopoverContentAnchorWidth(){await this.$nextTick(),this.popoverContentEl.style.width="".concat(this.anchorEl.clientWidth,"px")},focusFirstElementIfNeeded(e){const t=this._getFocusableElements(e,!0);if(0!==t.length)this.focusFirstElement(e);else if(this.showCloseButton){var n;null===(n=this.$refs.popover__header)||void 0===n||n.focusCloseButton()}else this.$refs.content.$el.focus()}}};o(133);const Ts=(0,A.Z)(Ls,[["render",Jn]]),Ns=Ts,Ps={none:void 0,small:"d-py6",large:"d-py12"},Vs={name:"DtDropdown",components:{DtPopover:Ns},mixins:[Ut({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0})],inheritAttrs:!1,props:{open:{type:Boolean,default:null},padding:{type:String,default:"small",validator:e=>Object.keys(Ps).some((t=>t===e))},modal:{type:Boolean,default:!0},contentWidth:{type:String,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},listId:{type:String,default(){return E()}},navigationType:{type:String,default:Jt.ARROW_KEYS,validator:e=>Object.values(Jt).includes(e)},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom"},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},listClass:{type:[String,Array,Object],default:""}},emits:["highlight","update:open","opened"],data(){return{LIST_ITEM_NAVIGATION_TYPES:Jt,DROPDOWN_PADDING_CLASSES:Ps,openedWithKeyboard:!1,isOpen:null}},computed:{beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemEl(){return this.getListElement().querySelector("#"+this.highlightId)},isArrowKeyNav(){return this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS}},methods:{onMouseHighlight(e){const t=e.target.closest("li");t&&this.highlightId!==t.id&&(this.setHighlightId(t.id),t.focus())},getListElement(){return this.$refs.listWrapper},clearHighlightIndex(){this.setHighlightIndex(-1)},afterHighlight(){this.$emit("highlight",this.highlightIndex)},updateInitialHighlightIndex(e){this.isOpen=e,e?(this.openedWithKeyboard&&this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS&&this.setHighlightIndex(0),this.$emit("opened",!0)):(this.clearHighlightIndex(),this.openedWithKeyboard=!1,this.$emit("opened",!1))},onSpaceKey(){this.open||(this.openedWithKeyboard=!0)},onEnterKey(){this.open||(this.openedWithKeyboard=!0)},onUpKeyPress(){if(this.isOpen)return this.isArrowKeyNav?this.onUpKey():void 0;this.openedWithKeyboard=!0},onDownKeyPress(){if(this.isOpen)return this.isArrowKeyNav?this.onDownKey():void 0;this.openedWithKeyboard=!0},onHomeKeyPress(){if(this.isOpen&&this.isArrowKeyNav)return this.onHomeKey()},onEndKeyPress(){if(this.isOpen&&this.isArrowKeyNav)return this.onEndKey()},onKeyPress(e){if(this.isOpen&&this.isArrowKeyNav&&this.isValidLetter(e.key))return e.stopPropagation(),e.preventDefault(),this.onNavigationKey(e.key)},onKeyValidation(e,t){null===this.open&&this[t](e)}}},Ms=(0,A.Z)(Vs,[["render",Yn]]),$s=Ms,Rs=["aria-label","alt","title","src"];function js(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-skeleton");return(0,n.openBlock)(),(0,n.createElementBlock)("span",{class:(0,n.normalizeClass)(s.skeletonSizeClass)},[(0,n.withDirectives)((0,n.createVNode)(r,{offset:0,class:(0,n.normalizeClass)(s.skeletonSizeClass),"shape-option":{shape:"square",contentClass:s.skeletonSizeClass,size:"auto"}},null,8,["class","shape-option"]),[[n.vShow,a.emojiDataLoading||a.imgLoading]]),a.emojiDataLoading?(0,n.createCommentVNode)("",!0):(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("img",{key:0,ref:"emojiImg",class:(0,n.normalizeClass)([o.size,o.imgClass]),"aria-label":s.emojiLabel,alt:s.emojiAlt,title:s.emojiLabel,src:s.emojiSrc,onLoad:t[0]||(t[0]=function(){return s.imageLoaded&&s.imageLoaded(...arguments)}),onError:t[1]||(t[1]=function(){return s.imageErrored&&s.imageErrored(...arguments)})},null,42,Rs)),[[n.vShow,!a.imgLoading]])],2)}const zs={SIZE_14:"d-svg--size14",SIZE_16:"d-svg--size16",SIZE_18:"d-svg--size18",SIZE_20:"d-svg--size20",SIZE_24:"d-svg--size24",SIZE_32:"d-svg--size32",SIZE_48:"d-svg--size48",SIZE_64:"d-svg--size64",SIZE_100p:"d-svg--size100p"};var Ks=o(809),Hs=o.n(Ks);const qs="6.6",Ws="https://cdn.jsdelivr.net/joypixels/assets/"+qs+"/png/unicode/32/";let Zs=null,Us=Ws,Gs=".png",Ys=Ws,Qs=".png",Xs=null;async function Js(){Xs||(Xs=await o.e(370).then(o.t.bind(o,370,19)))}function er(){return Xs}function tr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".png";e.endsWith("/")||(e+="/"),Us=e,Gs=t}function nr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".svg";e.endsWith("/")||(e+="/"),Ys=e,Qs=t}function or(e){Zs=e}function ir(e){ar(e)}async function ar(e){await Js();const t=["extension","custom"],n=["name","category","shortname","extension","custom"],o=(e,n,o)=>{if(void 0===e[n]){if(!t.includes(n))return;e[n]=o}else Array.isArray(e[n])?e[n]=e[n].concat(o):e[n]=o};Object.entries(e).forEach((e=>{const[t,i]=e;if(t in Xs){const e=Xs[t];for(const t in i){const n=i[t];o(e,t,n)}}else{const e=()=>n.every((e=>void 0!==i[e]));e()?Xs[t]=i:console.error("The following custom emoji doesn't contain the required properties:",i)}}))}function sr(e){function t(o,i){if(o&&"object"===typeof o)return"shortname"in o&&(o.shortname===e||o.shortname_alternates.includes(e))?(o.key=i,n=o,!0):void Object.keys(o).some((function(e){return t(o[e],e)}))}let n;return t(er(),null),n}function rr(e){let t="";for(const n of e)""!==t&&(t+="-"),t+=n.codePointAt(0).toString(16);return t}function lr(e){const t=e.split("-");let n="";return t.forEach((e=>{n+=String.fromCodePoint(parseInt(e,16))})),n}async function ur(e){if(await Js(),e.startsWith(":")&&e.endsWith(":"))return sr(e);{const t=rr(e),n=Xs[t];return n&&(n.key=t),n}}function dr(e){const t=e.match(/:\w+:/g);return cr(t)}function cr(e){const t=e?e.filter((e=>sr(e))):[];return new Set(t)}function pr(e){const t=[...e.matchAll(Hs()())],n=t.length?t.map((e=>e[0])):[];return new Set(n)}const hr={name:"DtEmoji",components:{DtSkeleton:zn},props:{code:{type:String,default:null},size:{type:String,default:zs.SIZE_20,validator:e=>Object.values(zs).includes(e)},imgClass:{type:[String,Object,Array],default:""},ariaLabel:{type:String,default:null}},data(){return{emojiData:null,imgLoading:!1,emojiDataLoading:!1}},computed:{emojiDataValid(){return!!this.emojiData},emojiSrc(){var e;return this.emojiDataValid?null!==(e=this.emojiData)&&void 0!==e&&e.custom?Zs+this.emojiData.key+this.emojiData.extension:["d-svg--size14","d-svg--size16"].includes(this.size)?Us+this.emojiData.key+Gs:Ys+this.emojiData.key+Qs:"invalid"},emojiAlt(){if(this.emojiDataValid)return this.emojiData.unicode_output?lr(this.emojiData.unicode_output):this.emojiData.name},emojiLabel(){return this.emojiDataValid?this.ariaLabel?this.ariaLabel:this.emojiData.name:"Invalid Emoji"},skeletonSizeClass(){return"d-svg--size100p"===this.size?["d-h100p","d-w100p"]:this.size}},watch:{code:{handler:async function(){this.emojiDataLoading=!0,await this.getEmojiData(),this.emojiDataLoading=!1},immediate:!0},emojiSrc:{handler:async function(){this.imgLoading=!0}}},methods:{async getEmojiData(){this.emojiData=await ur(this.code)},imageLoaded(){this.imgLoading=!1},imageErrored(){this.imgLoading=!1}}},Dr=(0,A.Z)(hr,[["render",js]]),mr=Dr,fr={name:"DtEmojiTextWrapper",components:{DtEmoji:mr},inheritAttrs:!1,props:{elementType:{type:String,default:"div"}},data(){return{loadingEmojiJson:!0}},async created(){await Js(),this.loadingEmojiJson=!1},methods:{replaceDtEmojis(e,t){const o=new RegExp("(".concat(e.join("|"),")"),"g"),i=t.split(o);return i.map((t=>e.includes(t)?(0,n.h)(mr,{...this.$attrs,class:"d-mx4 d-d-inline-block",code:t}):t))},searchVNodes(e){var t;if("string"===typeof e)return this.searchCodes(e);if("symbol"===typeof e.type)return this.searchCodes(e.children);if(null!==(t=e.props)&&void 0!==t&&t.innerHTML)return this.searchVNodes(e.props.innerHTML);const o=Array.isArray(e.children)?e.children:[e.children];return(0,n.h)(e.type,e.props,o.map((e=>this.searchVNodes(e))))},replaceVueComponentVNodeContent(e){},searchCodes(e){const t=dr(e),n=pr(e),o=[...t,...n];return 0===o.length?e:this.replaceDtEmojis(o,e)}},render(){const e=this.$slots.default?this.$slots.default():[];return(0,n.h)(this.elementType,{"data-qa":"emoji-text-wrapper",class:this.$attrs.class},this.loadingEmojiJson?e:e.map((e=>this.searchVNodes(e))))}},gr=fr,vr=gr,br={ref:"container",class:"base-input","data-qa":"dt-input"},yr=["aria-details"],Cr=["id"],Er={key:0},Fr={key:1,"data-qa":"dt-input-length-description",class:(0,n.normalizeClass)(["d-mb2"])},Sr={class:"d-input__wrapper"},Br=["value","name","disabled","maxlength"],wr=["value","name","type","disabled","maxlength"];function kr(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("div",br,[(0,n.createElementVNode)("label",{class:"base-input__label","aria-details":e.$slots.description||o.description?s.descriptionKey:void 0,"data-qa":"dt-input-label-wrapper"},[(0,n.renderSlot)(e.$slots,"labelSlot",{},(()=>[o.label?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,ref:"label","data-qa":"dt-input-label",class:(0,n.normalizeClass)(["base-input__label-text","d-label",a.labelSizeClasses[o.size]])},(0,n.toDisplayString)(o.label),3)):(0,n.createCommentVNode)("",!0)])),e.$slots.description||o.description||s.shouldValidateLength?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,id:s.descriptionKey,ref:"description",class:(0,n.normalizeClass)(["base-input__description","d-description","d-fd-column",a.descriptionSizeClasses[o.size]]),"data-qa":"dt-input-description"},[e.$slots.description||o.description?((0,n.openBlock)(),(0,n.createElementBlock)("div",Er,[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.description),1)]))])):(0,n.createCommentVNode)("",!0),s.shouldValidateLength?((0,n.openBlock)(),(0,n.createElementBlock)("div",Fr,(0,n.toDisplayString)(s.validationProps.length.description),1)):(0,n.createCommentVNode)("",!0)],10,Cr)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",Sr,[e.$slots.leftIcon?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:(0,n.normalizeClass)(s.inputIconClasses("left")),"data-qa":"dt-input-left-icon-wrapper",onFocusout:t[0]||(t[0]=function(){return s.onBlur&&s.onBlur(...arguments)})},[(0,n.renderSlot)(e.$slots,"leftIcon")],34)):(0,n.createCommentVNode)("",!0),s.isTextarea?((0,n.openBlock)(),(0,n.createElementBlock)("textarea",(0,n.mergeProps)({key:1,ref:"input",value:o.modelValue,name:o.name,disabled:o.disabled,class:s.inputClasses(),maxlength:s.shouldLimitMaxLength?s.validationProps.length.max:null,"data-qa":"dt-input-input"},e.$attrs,(0,n.toHandlers)(s.inputListeners)),null,16,Br)):((0,n.openBlock)(),(0,n.createElementBlock)("input",(0,n.mergeProps)({key:2,ref:"input",value:o.modelValue,name:o.name,type:o.type,disabled:o.disabled,class:s.inputClasses(),maxlength:s.shouldLimitMaxLength?s.validationProps.length.max:null,"data-qa":"dt-input-input"},e.$attrs,(0,n.toHandlers)(s.inputListeners)),null,16,wr)),e.$slots.rightIcon?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:3,class:(0,n.normalizeClass)(s.inputIconClasses("right")),"data-qa":"dt-input-right-icon-wrapper",onFocusout:t[1]||(t[1]=function(){return s.onBlur&&s.onBlur(...arguments)})},[(0,n.renderSlot)(e.$slots,"rightIcon")],34)):(0,n.createCommentVNode)("",!0)])],8,yr),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":s.validationMessages,"show-messages":e.showMessages,class:e.messagesClass},e.messagesChildProps,{"data-qa":"dt-input-messages"}),null,16,["validation-messages","show-messages","class"])],512)}const xr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Ir={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},Or={key:0,class:"base-input__messages d-d-flex d-fd-column","data-qa":"validation-messages-container"},_r=["innerHTML"];function Ar(e,t,o,i,a,s){return o.showMessages&&!s.isFilteredValidationMessagesEmpty?((0,n.openBlock)(),(0,n.createElementBlock)("div",Or,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.filteredValidationMessages,((e,t)=>{let{message:o,type:i}=e;return(0,n.openBlock)(),(0,n.createElementBlock)("div",{key:s.getMessageKey(i,t),role:"status","aria-live":"polite","data-qa":"validation-message",class:(0,n.normalizeClass)(["base-input__message","d-validation-message",s.messageTypeClass(i)])},[(0,n.createElementVNode)("p",{innerHTML:o},null,8,_r)],2)})),128))])):(0,n.createCommentVNode)("",!0)}function Lr(e){return!e||e.every((e=>"string"===typeof e||"object"===typeof e&&Object.values(d).includes(null===e||void 0===e?void 0:e.type)))}const Tr={name:"DtValidationMessages",props:{id:{type:String,default(){return E()}},validationMessages:{type:Array,default:()=>[],validator:e=>Lr(e)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return S(this.validationMessages)},validationState(){return B(this.validationMessages)}},methods:{getMessageKey(e,t){return"validation-message-".concat(e,"-").concat(t,"-").concat(this.id)},messageTypeClass(e){const t={error:"base-input__message--error d-validation-message--error",warning:"base-input__message--warning d-validation-message--warning",success:"base-input__message--success d-validation-message--success"};return t[e]}}},Nr=(0,A.Z)(Tr,[["render",Ar]]),Pr=Nr,Vr={inheritAttrs:!1,props:{label:{type:String,default:""},name:{type:String,default:""},value:{type:[String,Number,Boolean,Object],default:null},description:{type:String,default:""},disabled:{type:Boolean,default:!1},validationState:{type:String,default:"",validator:e=>!e||Object.values(d).includes(e)},inputClass:{type:[String,Array,Object],default:""},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})},descriptionChildProps:{type:Object,default:()=>({})}},data(){return{internalDisabled:this.disabled,internalValidationState:this.validationState}},watch:{disabled(e){this.internalDisabled=e},validationState(e){this.internalValidationState=e}},methods:{validateInputLabels(e,t){e||t||(0,n.warn)("You must provide an aria-label when there is no label passed",this)}}},Mr={model:{prop:"checked"},props:{checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:null}},data(){return{internalChecked:this.checked,internalIndeterminate:this.indeterminate}},watch:{checked(e){this.internalChecked=e},indeterminate(e){this.internalIndeterminate=e}}},$r={inject:{groupContext:{default:{}},setGroupValue:{default:()=>()=>{}}},data(){return{internalValue:this.value}},computed:{hasGroup(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName(){var e,t;return null!==(e=null===(t=this.groupContext)||void 0===t?void 0:t.name)&&void 0!==e?e:""},groupValue(){var e;return null===(e=this.groupContext)||void 0===e?void 0:e.value},groupDisabled(){var e,t;return null!==(e=null===(t=this.groupContext)||void 0===t?void 0:t.disabled)&&void 0!==e&&e},groupValidationState(){var e,t;return null!==(e=null===(t=this.groupContext)||void 0===t?void 0:t.validationState)&&void 0!==e?e:null},internalName(){return this.name||this.groupName}},watch:{value(e){this.internalValue=e},groupValue:{immediate:!0,handler(e){this.hasGroup&&(this.internalValue=e)}},groupDisabled:{immediate:!0,handler(e){this.hasGroup&&(this.internalDisabled=this.disabled||e)}},groupValidationState:{immediate:!0,handler(e){this.hasGroup&&(this.internalValidationState=e||this.validationState)}}},created(){var e;const t=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),o=null===(e=this.groupContext)||void 0===e?void 0:e.name;this.name&&t&&o!==this.name&&(0,n.warn)("Component is being used inside a Group. Did you mean to override the name prop value "+"(".concat(o,") with (").concat(this.name,")? It is recommended to only set name at the Group level."),this)}},Rr={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:e=>Lr(e)}},computed:{formattedMessages(){return F(this.messages)}}},jr={name:"DtInput",components:{DtValidationMessages:Pr},mixins:[Rr],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:xr.TEXT,validator:e=>Object.values(xr).includes(e)},modelValue:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},description:{type:String,default:""},size:{type:String,default:null,validator:e=>Object.values(Ir).includes(e)},iconSize:{type:String,default:null,validator:e=>Object.values(Ir).includes(e)},inputClass:{type:[String,Object,Array],default:""},currentLength:{type:Number,default:null},validate:{type:Object,default:null}},emits:["input","blur","clear","focus","focusin","focusout","update:modelValue","update:length","update:invalid"],data(){return{descriptionSizeClasses:{lg:"d-description--lg",xl:"d-description--xl"},labelSizeClasses:{xs:"d-label--xs",sm:"d-label--sm",md:"d-label--md",lg:"d-label--lg",xl:"d-label--xl"},isInputFocused:!1,isInvalid:!1,defaultLength:0}},computed:{isTextarea(){return this.type===xr.TEXTAREA},isDefaultSize(){return this.size===Ir.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Ir.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Ir).includes(this.size)},isValidDescriptionSize(){return Object.values(c).includes(this.size)},inputComponent(){return this.isTextarea?"textarea":"input"},inputListeners(){return{input:e=>{this.$emit("input",e.target.value),this.$emit("update:modelValue",e.target.value)},blur:e=>{this.isInputFocused=!1,this.onBlur(e)},focus:e=>{this.isInputFocused=!0,this.$emit("focus",e)},focusin:e=>this.$emit("focusin",e),focusout:e=>this.$emit("focusout",e)}},descriptionKey(){return"input-description-".concat(E())},inputState(){return B(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.modelValue)},validationProps(){var e,t,n,o,i,a,s,r,l,u;return{length:{description:null===this||void 0===this||null===(e=this.validate)||void 0===e||null===(t=e.length)||void 0===t?void 0:t.description,max:null===this||void 0===this||null===(n=this.validate)||void 0===n||null===(o=n.length)||void 0===o?void 0:o.max,warn:null===this||void 0===this||null===(i=this.validate)||void 0===i||null===(a=i.length)||void 0===a?void 0:a.warn,message:null===this||void 0===this||null===(s=this.validate)||void 0===s||null===(r=s.length)||void 0===r?void 0:r.message,limitMaxLength:!(null===this||void 0===this||null===(l=this.validate)||void 0===l||null===(u=l.length)||void 0===u||!u.limitMaxLength)&&this.validate.length.limitMaxLength}}},validationMessages(){return this.showLengthLimitValidation?this.formattedMessages.concat([this.inputLengthErrorMessage()]):this.formattedMessages},showInputState(){return this.showMessages&&this.inputState},inputLength(){return this.currentLength?this.currentLength:this.defaultLengthCalculation},inputLengthState(){return this.inputLength<this.validationProps.length.warn?null:this.inputLength<this.validationProps.length.max?this.validationProps.length.warn?d.WARNING:null:d.ERROR},shouldValidateLength(){return!(!this.validationProps.length.description||!this.validationProps.length.max)},shouldLimitMaxLength(){return this.shouldValidateLength&&this.validationProps.length.limitMaxLength},showLengthLimitValidation(){return this.shouldValidateLength&&null!==this.inputLengthState&&this.validationProps.length.message&&(this.isInputFocused||this.isInvalid)},sizeModifierClass(){if(this.isDefaultSize||!this.isValidSize)return"";const e={input:{xs:"d-input--xs",sm:"d-input--sm",lg:"d-input--lg",xl:"d-input--xl"},textarea:{xs:"d-textarea--xs",sm:"d-textarea--sm",lg:"d-textarea--lg",xl:"d-textarea--xl"}};return e[this.inputComponent][this.size]}},watch:{isInvalid(e){this.$emit("update:invalid",e)},modelValue:{immediate:!0,handler(e){this.shouldValidateLength&&this.validateLength(this.inputLength),null==this.currentLength&&this.$emit("update:length",this.calculateLength(e))}}},methods:{inputClasses(){const e={input:{error:"d-input--error base-input__input--error",warning:"d-input--warning base-input__input--warning",success:"d-input--success base-input__input--success"},textarea:{error:"d-textarea--error base-input__input--error",warning:"d-textarea--warning base-input__input--warning",success:"d-textarea--success base-input__input--success"}};return["base-input__input","input"===this.inputComponent?"d-input":"d-textarea",{[e[this.inputComponent][this.inputState]]:this.showInputState,"d-input-icon--left":this.$slots.leftIcon,"d-input-icon--right":this.$slots.rightIcon},this.sizeModifierClass,this.inputClass]},calculateLength(e){return"string"!==typeof e?0:[...e].length},inputLengthErrorMessage(){return{message:this.validationProps.length.message,type:this.inputLengthState}},inputIconClasses(e){const t={xs:"d-input-icon--xs",sm:"d-input-icon--sm",lg:"d-input-icon--lg",xl:"d-input-icon--xl"},n={left:"base-input__icon--left d-input-icon--left",right:"base-input__icon--right d-input-icon--right"};return[n[e],"d-input-icon",{[t[this.iconSizeComputed]]:!this.isDefaultIconSize},this.sizeModifierClass]},onBlur(e){var t;null!==(t=this.$refs.container)&&void 0!==t&&t.contains(e.relatedTarget)||this.$emit("blur",e)},clear(){this.$emit("input",""),this.$emit("clear")},blur(){this.$refs.input.blur()},focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},getMessageKey(e,t){return"message-".concat(e,"-").concat(t)},validateLength(e){this.isInvalid=e>this.validationProps.length.max}}},zr=(0,A.Z)(jr,[["render",kr]]),Kr=zr,Hr=["data-qa"],qr=["data-qa"];function Wr(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("fieldset",{"data-qa":o.dataQaGroup},[e.$slots.legend||e.legend?((0,n.openBlock)(),(0,n.createElementBlock)("legend",(0,n.mergeProps)({key:0,class:["d-label",e.legendClass]},e.legendChildProps,{"data-qa":o.dataQaGroupLegend}),[(0,n.renderSlot)(e.$slots,"legend",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.legend),1)]))],16,qr)):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(e.$slots,"default"),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":e.formattedMessages,"show-messages":e.showMessages,class:e.messagesClass,"data-qa":o.dataQaGroupMessages},e.messagesChildProps),null,16,["validation-messages","show-messages","class","data-qa"])],8,Hr)}const Zr={components:{DtValidationMessages:Pr},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return E()}},value:{type:[String,Number,Boolean,Object],default:null},name:{type:String,required:!0},legend:{type:String,default:""},disabled:{type:Boolean,default:!1},messages:{type:Array,default:()=>[],validator:e=>Lr(e)},showMessages:{type:Boolean,default:!0},legendClass:{type:[String,Array,Object],default:""},messagesClass:{type:[String,Array,Object],default:""},legendChildProps:{type:Object,default:()=>({})},messagesChildProps:{type:Object,default:()=>({})}},emits:["input"],data(){const e=F(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:B(e)}}},computed:{formattedMessages(){return F(this.messages)},validationState(){return B(this.formattedMessages)}},watch:{disabled(e){this.provideObj.disabled=e},validationState(e){this.provideObj.validationState=e}},methods:{setGroupValue(e){this.internalValue=e,this.$emit("input",e)}},mounted(){this.legend||this.$slots.legend||this.$attrs["aria-label"]||(0,n.warn)("It is expected that an aria-label is provided when there is no legend.",this)}},Ur={name:"DtInputGroup",components:{DtValidationMessages:Pr},mixins:[Zr],props:{dataQaGroup:{type:String,default:"input-group"},dataQaGroupLegend:{type:String,default:"input-group-legend"},dataQaGroupMessages:{type:String,default:"input-group-messages"}},data(){return{internalValue:this.value}},watch:{value(e){this.internalValue=e},internalValue:{immediate:!0,handler(e){this.provideObj.value=e}}},methods:{getMessageKey(e,t){return"input-group-message-".concat(e,"-").concat(t,"-").concat(this.id)}}},Gr=(0,A.Z)(Ur,[["render",Wr]]),Yr=Gr,Qr=["aria-describedby","aria-labelledby"],Xr=["id"],Jr=["id"],el={key:2,class:"d-modal__content","data-qa":"dt-modal-copy"},tl={key:3,class:"d-modal__content","data-qa":"dt-modal-copy"},nl={key:4,class:"d-modal__footer"};function ol(e,t,o,i,a,s){const r=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button"),u=(0,n.resolveComponent)("dt-lazy-show");return(0,n.openBlock)(),(0,n.createBlock)(u,{transition:"d-zoom",show:o.show,class:(0,n.normalizeClass)(["d-modal",a.MODAL_KIND_MODIFIERS[o.kind],a.MODAL_SIZE_MODIFIERS[o.size],o.modalClass]),"data-qa":"dt-modal","aria-hidden":s.open,onClick:(0,n.withModifiers)(s.close,["self"]),onKeydown:[(0,n.withKeys)(s.close,["esc"]),(0,n.withKeys)(s.trapFocus,["tab"])],onAfterEnter:(0,n.withModifiers)(s.setFocusAfterTransition,["self"])},{default:(0,n.withCtx)((()=>[(0,n.createVNode)(n.Transition,{appear:"",name:"d-modal__dialog"},{default:(0,n.withCtx)((()=>[(0,n.withDirectives)((0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["d-modal__dialog",{"d-modal__dialog--scrollable":o.fixedHeaderFooter},o.dialogClass]),role:"dialog","aria-modal":"true","aria-describedby":o.describedById,"aria-labelledby":o.labelledById},[e.$slots.header?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,id:o.labelledById,class:"d-modal__header","data-qa":"dt-modal-title"},[(0,n.renderSlot)(e.$slots,"header")],8,Xr)):((0,n.openBlock)(),(0,n.createElementBlock)("h2",{key:1,id:o.labelledById,class:"d-modal__header","data-qa":"dt-modal-title"},(0,n.toDisplayString)(o.title),9,Jr)),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",el,[(0,n.renderSlot)(e.$slots,"default")])):((0,n.openBlock)(),(0,n.createElementBlock)("p",tl,(0,n.toDisplayString)(o.copy),1)),s.hasFooterSlot?((0,n.openBlock)(),(0,n.createElementBlock)("footer",nl,[(0,n.renderSlot)(e.$slots,"footer")])):(0,n.createCommentVNode)("",!0),o.hideClose?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:5,class:"d-modal__close",circle:"",size:"lg",importance:"clear","aria-label":o.closeButtonProps.ariaLabel},o.closeButtonProps,{kind:o.kind,onClick:s.close}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r)])),_:1},16,["aria-label","kind","onClick"]))],10,Qr),[[n.vShow,o.show]])])),_:3})])),_:3},8,["show","class","aria-hidden","onClick","onKeydown","onAfterEnter"])}const il={default:"",danger:"d-modal--danger"},al={default:"",full:"d-modal--full"},sl={name:"DtModal",components:{DtLazyShow:xs,DtButton:pt,IconClose:Ze},mixins:[bt],props:{closeButtonProps:{type:Object,required:!0,validator:e=>!!e.ariaLabel},copy:{type:String,default:""},describedById:{type:String},labelledById:{type:String,default:function(){return E()}},show:{type:Boolean,default:!1},title:{type:String,default:""},kind:{type:String,default:"default",validator:e=>Object.keys(il).includes(e)},size:{type:String,default:"default",validator:e=>Object.keys(al).includes(e)},modalClass:{type:[String,Object,Array],default:""},dialogClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},fixedHeaderFooter:{type:Boolean,default:!0}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:il,MODAL_SIZE_MODIFIERS:al}},computed:{open(){return"".concat(!this.show)},hasFooterSlot(){return!!this.$slots.footer}},watch:{show:{immediate:!0,handler(e){var t;e?this.previousActiveElement=document.activeElement:(null===(t=this.previousActiveElement)||void 0===t||t.focus(),this.previousActiveElement=null)}}},methods:{close(){this.$emit("update:show",!1)},setFocusAfterTransition(){this.focusFirstElement()},trapFocus(e){this.show&&this.focusTrappedTabPress(e)}}},rl=(0,A.Z)(sl,[["render",ol]]),ll=rl,ul=["id","aria-labelledby"],dl=["id"],cl=["id"],pl=["id"],hl={class:"d-d-flex"};function Dl(e,t,o,i,a,s){const r=(0,n.resolveComponent)("vnodes"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{id:o.id,role:"group","aria-labelledby":"".concat(o.id,"-list-section-header"),tabindex:"-1",class:(0,n.normalizeClass)(["dt-list-section","d-fs14","d-lh6","d-py6","d-bc-black-200",{"d-bb":o.separator}])},[o.header?((0,n.openBlock)(),(0,n.createElementBlock)("h3",{key:0,id:"".concat(o.id,"-list-section-header"),class:"d-pl12 d-mt6"},(0,n.toDisplayString)(o.header),9,dl)):(0,n.createCommentVNode)("",!0),!s.isCollapsible||a.showAll?((0,n.openBlock)(),(0,n.createElementBlock)("ol",{key:1,id:"".concat(o.id,"-list-section-content")},[(0,n.renderSlot)(e.$slots,"default")],8,cl)):((0,n.openBlock)(),(0,n.createElementBlock)("ol",{key:2,id:"".concat(o.id,"-list-section-content")},[(0,n.createVNode)(r,{vnodes:s.displayedItems},null,8,["vnodes"])],8,pl)),(0,n.createElementVNode)("div",hl,[s.isCollapsible?((0,n.openBlock)(),(0,n.createBlock)(l,{key:0,id:"".concat(o.id,"-list-section-show-more-less"),link:"",class:"d-ml12 d-py6",onClick:s.showMoreLessClicked},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(s.showMoreLessText),1)])),_:1},8,["id","onClick"])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(e.$slots,"footer")])],10,ul)}const ml={name:"ListSection",components:{vnodes:{name:"vnodes",render:e=>e.$attrs.vnodes},DtButton:pt},props:{id:{type:String,default(){return O.getUniqueString()}},header:{type:String,default:null},separator:{type:Boolean,default:!1},maxDisplayed:{type:Number,default:0},textMore:{type:String,default:"Show more"},textLess:{type:String,default:"Show less"}},data(){return{showAll:!1}},computed:{isCollapsible(){return!(0===this.maxDisplayed||this.itemCount<=this.maxDisplayed)},showMoreLessText(){return this.showAll?this.textLess:this.textMore},hiddenCount(){return this.itemCount-this.displayedItems.length},itemCount(){return this.$slots.default().length},displayedItems(){return this.$slots.default().filter(((e,t)=>t<=this.maxDisplayed-1))}},methods:{showMoreLessClicked(){this.showAll=!this.showAll}}};o(237);const fl=(0,A.Z)(ml,[["render",Dl]]),gl=fl;function vl(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-notice-icon"),l=(0,n.resolveComponent)("dt-notice-content"),u=(0,n.resolveComponent)("dt-notice-action");return(0,n.openBlock)(),(0,n.createElementBlock)("aside",{class:(0,n.normalizeClass)(s.noticeClass),"data-qa":"notice"},[(0,n.createVNode)(r,{kind:o.kind},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"icon")])),_:3},8,["kind"]),(0,n.createVNode)(l,{"title-id":o.titleId,"content-id":o.contentId,title:o.title,role:o.role},{titleOverride:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"titleOverride")])),default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},8,["title-id","content-id","title","role"]),(0,n.createVNode)(u,{"hide-close":o.hideClose,"close-button-props":o.closeButtonProps,onClose:t[0]||(t[0]=t=>e.$emit("close"))},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"action")])),_:3},8,["hide-close","close-button-props"])],2)}const bl={name:"DtNotice",components:{DtNoticeIcon:_e,DtNoticeContent:Me,DtNoticeAction:mt},props:{titleId:{type:String,default:void 0},contentId:{type:String,default:void 0},title:{type:String,default:""},role:{type:String,default:"status",validate(e){return ke.includes(e)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(e){return we.includes(e)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close","click"],computed:{noticeClass(){const e={error:"d-notice--error",info:"d-notice--info",success:"d-notice--success",warning:"d-notice--warning",base:"d-notice--base"};return["d-notice",e[this.kind],{"d-notice--important":this.important}]}}},yl=(0,A.Z)(bl,[["render",vl]]),Cl=yl,El={class:"d-radio__input"},Fl=["checked","name","value","disabled"],Sl={class:"d-radio__copy d-radio__label","data-qa":"radio-label-description-container"};function Bl(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("label",null,[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["d-radio-group",{"d-radio-group--disabled":e.internalDisabled}])},[(0,n.createElementVNode)("div",El,[(0,n.createElementVNode)("input",(0,n.mergeProps)({checked:e.internalChecked,name:e.internalName,value:o.value,disabled:e.internalDisabled,type:"radio",class:["d-radio",s.inputValidationClass,e.inputClass]},e.$attrs,(0,n.toHandlers)(s.inputListeners)),null,16,Fl)]),(0,n.createElementVNode)("div",Sl,[(0,n.createElementVNode)("div",(0,n.mergeProps)({class:e.labelClass},e.labelChildProps,{"data-qa":"radio-label"}),[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.label),1)]))],16),e.$slots.description||e.description?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:0,class:["d-description",e.descriptionClass]},e.descriptionChildProps,{"data-qa":"radio-description"}),[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.description),1)]))],16)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":e.formattedMessages,"show-messages":e.showMessages,class:e.messagesClass},e.messagesChildProps,{"data-qa":"dt-radio-validation-messages"}),null,16,["validation-messages","show-messages","class"])])],2)])}const wl={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},kl={name:"DtRadio",components:{DtValidationMessages:Pr},mixins:[Vr,Mr,$r,Rr],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focus","focusin","focusout","click"],computed:{inputValidationClass(){return wl[this.internalValidationState]},radioGroupValue(){var e;return null===(e=this.groupContext)||void 0===e?void 0:e.selectedValue},inputListeners(){return{input:()=>{},focusin:e=>this.$emit("focusin",e),focusout:e=>this.$emit("focusout",e),change:e=>this.emitValue(e.target.value)}}},watch:{radioGroupValue:{immediate:!0,handler(e){this.hasGroup&&(this.internalChecked=e===this.value)}}},methods:{emitValue(e){e!==this.radioGroupValue&&(this.setGroupValue(e),this.$emit("input",e))}}},xl=(0,A.Z)(kl,[["render",Bl]]),Il=xl,Ol={name:"DtRadioGroup",extends:Yr,props:{value:{type:[String,Number],default:""},dataQaGroup:{type:String,default:"radio-group"},dataQaGroupLegend:{type:String,default:"radio-group-legend"},dataQaGroupMessages:{type:String,default:"radio-group-messages"}},emits:["input"],data(){return{internalValue:this.value}},watch:{value(e){this.internalValue=e},internalValue:{immediate:!0,handler(e){this.provideObj.selectedValue=e}}},methods:{setGroupValue(e){this.$emit("input",e)},getMessageKey(e,t){return"radio-group-message-".concat(e,"-").concat(t,"-").concat(this.id)}}},_l=Ol,Al=_l,Ll={"data-qa":"dt-tab-group"},Tl=["aria-label"];function Nl(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",Ll,[(0,n.createElementVNode)("div",(0,n.mergeProps)({ref:"tabs",class:["d-tablist",a.TAB_LIST_SIZE_MODIFIERS[o.size],{[a.TAB_LIST_KIND_MODIFIERS.inverted]:o.inverted,[a.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]:o.borderless},o.tabListClass]},o.tabListChildProps,{role:"tablist","aria-label":o.label,onKeyup:[t[0]||(t[0]=(0,n.withKeys)((function(){return s.tabLeft&&s.tabLeft(...arguments)}),["left"])),t[1]||(t[1]=(0,n.withKeys)((function(){return s.tabRight&&s.tabRight(...arguments)}),["right"])),t[2]||(t[2]=(0,n.withKeys)((function(){return s.selectTab&&s.selectTab(...arguments)}),["enter"])),t[3]||(t[3]=(0,n.withKeys)((function(){return s.selectTab&&s.selectTab(...arguments)}),["space"]))],onKeydown:[t[4]||(t[4]=(0,n.withKeys)((function(){return s.onHomeButton&&s.onHomeButton(...arguments)}),["home"])),t[5]||(t[5]=(0,n.withKeys)((function(){return s.onEndButton&&s.onEndButton(...arguments)}),["end"]))]}),[(0,n.renderSlot)(e.$slots,"tabs")],16,Tl),(0,n.renderSlot)(e.$slots,"default")])}const Pl=["default","sm"],Vl={sm:"d-tablist--sm"},Ml={inverted:"d-tablist--inverted"},$l={borderless:"d-tablist--no-border"},Rl={selected:"d-tab--selected"},jl={name:"DtTabGroup",provide(){return{groupContext:this.provideObj,changeContentPanel:this.changeContentPanel,setFocus:this.setFocus}},props:{label:{type:String,default:""},selected:{type:String,default:""},disabled:{type:Boolean,default:!1},inverted:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1},size:{type:String,default:"default",validate(e){return Pl.includes(e)}},tabListClass:{type:[String,Array,Object],default:""},tabListChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{provideObj:{selected:"",disabled:!1},focusId:null,tabs:[],TAB_LIST_SIZE_MODIFIERS:Vl,TAB_LIST_KIND_MODIFIERS:Ml,TAB_LIST_IMPORTANCE_MODIFIERS:$l}},watch:{disabled:{immediate:!0,handler(){this.provideObj.disabled=this.disabled}},selected:{immediate:!0,handler(){this.provideObj.selected=this.selected}}},mounted(){this.updateSelected()},beforeUpdate(){this.updateSelected()},methods:{updateSelected(){this.provideObj.selected||(this.provideObj.selected=this.selected),this.tabs=this.getTabChildren()},setFocus(e){this.focusId=e},getTabChildren(){const e=Array.from(this.$refs.tabs.children);return e.filter((e=>{let{className:t}=e;return t.includes("d-tab")})).map((e=>{var t,n;return{context:e,panelId:null===(t=e.getAttribute("aria-controls"))||void 0===t?void 0:t.replace("dt-panel-",""),id:null===(n=e.getAttribute("id"))||void 0===n?void 0:n.replace("dt-tab-",""),isSelected:"true"===e.getAttribute("aria-selected")}}))},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel(e){let{selected:t,selectOverride:n}=e;this.provideObj.selected=t,n||this.onChange()},tabLeft(){const{index:e,tabs:t}=this.getIndexAndTabs();if(-1===e)return;const n=e-1<0?t.length-1:e-1;this.selectFocusOnTab(n,t)},tabRight(){const{index:e,tabs:t}=this.getIndexAndTabs();if(-1===e)return;const n=e+1>t.length-1?0:e+1;this.selectFocusOnTab(n,t)},selectFocusOnTab(e,t){const{context:n}=t[e];n.focus()},selectTab(){const{tabs:e,index:t}=this.getIndexAndTabs();this.selectTabByIndex(t,e)},selectTabByIndex(e,t){const{context:n,panelId:o}=t[e];this.provideObj.selected=o,n.focus()},getIndexAndTabs(){const e=this.tabs.findIndex((e=>this.focusId?e.id==="".concat(this.focusId):e.isSelected));return{tabs:this.tabs,index:e}},onHomeButton(){var e,t;0!==this.tabs.length&&(null===(e=this.tabs[0])||void 0===e||null===(t=e.context)||void 0===t||t.focus())},onEndButton(){var e,t;0!==this.tabs.length&&(null===(e=this.tabs[this.tabs.length-1])||void 0===e||null===(t=e.context)||void 0===t||t.focus())}}},zl=(0,A.Z)(jl,[["render",Nl]]),Kl=zl;function Hl(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({id:"dt-tab-".concat(o.id),class:["d-tab",{[a.TAB_IMPORTANCE_MODIFIERS.selected]:s.isSelected},o.tabClass],role:"tab","aria-selected":"".concat(s.isSelected),"aria-controls":"dt-panel-".concat(o.panelId),"aria-label":o.label,"data-qa":"dt-tab",tabindex:s.isSelected?"0":"-1",disabled:s.groupContext.disabled||o.disabled},e.$attrs,{onClick:t[0]||(t[0]=e=>s.selectPanel()),onFocus:t[1]||(t[1]=e=>s.setFocus(o.id))}),{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},16,["id","class","aria-selected","aria-controls","aria-label","tabindex","disabled"])}const ql={name:"DtTab",components:{DtButton:pt},inject:["changeContentPanel","groupContext","setFocus"],inheritAttrs:!1,props:{id:{type:String,required:!0},panelId:{type:String,required:!0},label:{type:String,default:""},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tabClass:{type:[String,Array,Object],default:""}},data(){return{TAB_IMPORTANCE_MODIFIERS:Rl}},computed:{isSelected(){return this.groupContext.selected===this.panelId}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.changeContentPanel({selected:this.panelId,selectOverride:e})}}},Wl=(0,A.Z)(ql,[["render",Hl]]),Zl=Wl,Ul=["id","aria-labelledby","aria-hidden"];function Gl(e,t,o,i,a,s){return(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("div",{id:"dt-panel-".concat(o.id),role:"tabpanel",tabindex:"0","aria-labelledby":"dt-tab-".concat(o.tabId),"aria-hidden":"".concat(s.hidePanel),class:(0,n.normalizeClass)([{"d-d-none":s.hidePanel},o.tabPanelClass]),"data-qa":"dt-tab-panel"},[(0,n.renderSlot)(e.$slots,"default")],10,Ul)),[[n.vShow,!o.hidden]])}const Yl={name:"DtTabPanel",inject:["groupContext"],props:{id:{type:String,required:!0},tabId:{type:String,required:!0},hidden:{type:Boolean,default:!1},tabPanelClass:{type:[String,Array,Object],default:""}},computed:{hidePanel(){return this.groupContext.selected!==this.id||this.hidden}}},Ql=(0,A.Z)(Yl,[["render",Gl]]),Xl=Ql,Jl={class:"d-checkbox__input"},eu=["checked","name","value","disabled",".indeterminate"],tu={key:0,class:"d-checkbox__copy d-checkbox__label","data-qa":"checkbox-label-description-container"};function nu(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("label",null,[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["d-checkbox-group",{"d-checkbox-group--disabled":e.internalDisabled}])},[(0,n.createElementVNode)("div",Jl,[(0,n.createElementVNode)("input",(0,n.mergeProps)({type:"checkbox",checked:e.internalChecked,name:e.internalName,value:e.value,disabled:e.internalDisabled,class:["d-checkbox",s.inputValidationClass,e.inputClass]},e.$attrs,{".indeterminate":e.internalIndeterminate},(0,n.toHandlers)(s.inputListeners)),null,16,eu)]),s.hasLabelOrDescription?((0,n.openBlock)(),(0,n.createElementBlock)("div",tu,[s.hasLabel?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:0,class:e.labelClass},e.labelChildProps,{"data-qa":"checkbox-label"}),[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.label),1)]))],16)):(0,n.createCommentVNode)("",!0),s.hasDescription?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:1,class:["d-description",e.descriptionClass]},e.descriptionChildProps,{"data-qa":"checkbox-description"}),[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.description),1)]))],16)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":e.formattedMessages,"show-messages":e.showMessages,class:e.messagesClass},e.messagesChildProps,{"data-qa":"dt-checkbox-validation-messages"}),null,16,["validation-messages","show-messages","class"])])):(0,n.createCommentVNode)("",!0)],2)])}const ou={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},iu={name:"DtCheckbox",components:{DtValidationMessages:Pr},mixins:[Vr,Mr,$r,Rr],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return ou[this.internalValidationState]},checkboxGroupValueChecked(){var e,t,n;return null!==(e=null===(t=this.groupContext)||void 0===t||null===(n=t.selectedValues)||void 0===n?void 0:n.includes(this.value))&&void 0!==e&&e},hasLabel(){return!(!this.$slots.default&&!this.label)},hasDescription(){return!(!this.$slots.description&&!this.description)},hasLabelOrDescription(){return this.hasLabel||this.hasDescription},inputListeners(){return{input:()=>{},focusin:e=>this.$emit("focusin",e),focusout:e=>this.$emit("focusout",e),change:e=>this.emitValue(e.target)}}},watch:{checkboxGroupValueChecked:{immediate:!0,handler(e){this.hasGroup&&(this.internalChecked=e)}}},mounted(){this.runValidations()},methods:{emitValue(e){let{value:t,checked:n}=e;this.internalIndeterminate&&(n=!1,this.internalIndeterminate=!1,e.checked=!1),this.setGroupValue(t,n),this.$emit("input",n)},runValidations(){this.validateInputLabels(this.hasLabel,this.$attrs["aria-label"])}}},au=(0,A.Z)(iu,[["render",nu]]),su=au,ru={name:"DtCheckboxGroup",extends:Yr,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:e=>!e||((0,n.warn)("Component uses selectedValues to initialize the model, value is not supported by this component",void 0),!1)},selectedValues:{type:Array,default(){return[]}},dataQaGroup:{type:String,default:"checkbox-group"},dataQaGroupLegend:{type:String,default:"checkbox-group-legend"},dataQaGroupMessages:{type:String,default:"checkbox-group-messages"}},emits:["input"],data(){return{internalValue:this.selectedValues}},watch:{selectedValues(e){this.internalValue=e},internalValue:{immediate:!0,handler(e){this.provideObj.selectedValues=e}}},methods:{setGroupValue(e,t){t?this.internalValue.includes(e)||this.internalValue.push(e):this.internalValue=this.internalValue.filter((t=>t!==e)),this.$emit("input",this.internalValue)},getMessageKey(e,t){return"checkbox-group-message-".concat(e,"-").concat(t,"-").concat(this.id)}}},lu=ru,uu=lu,du={class:"d-chip"},cu={key:0,"data-qa":"dt-chip-icon",class:"d-chip__icon"},pu={key:1,"data-qa":"dt-chip-avatar"},hu=["id"];function Du(e,t,o,i,a,s){const r=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("span",du,[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(o.interactive?"button":"span"),(0,n.mergeProps)({id:o.id,type:o.interactive&&"button",class:s.chipClasses(),"data-qa":"dt-chip","aria-labelledby":o.ariaLabel?void 0:"".concat(o.id,"-content"),"aria-label":o.ariaLabel},(0,n.toHandlers)(s.chipListeners)),{default:(0,n.withCtx)((()=>[e.$slots.icon?((0,n.openBlock)(),(0,n.createElementBlock)("span",cu,[(0,n.renderSlot)(e.$slots,"icon")])):e.$slots.avatar?((0,n.openBlock)(),(0,n.createElementBlock)("span",pu,[(0,n.renderSlot)(e.$slots,"avatar")])):(0,n.createCommentVNode)("",!0),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:2,id:"".concat(o.id,"-content"),"data-qa":"dt-chip-label",class:(0,n.normalizeClass)(["d-truncate","d-chip__text",o.contentClass])},[(0,n.renderSlot)(e.$slots,"default")],10,hu)):(0,n.createCommentVNode)("",!0)])),_:3},16,["id","type","class","aria-labelledby","aria-label"])),o.hideClose?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:0},o.closeButtonProps,{class:s.chipCloseButtonClasses(),"data-qa":"dt-chip-close","aria-label":o.closeButtonProps.ariaLabel,onClick:t[0]||(t[0]=t=>e.$emit("close"))}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r)])),_:1},16,["class","aria-label"]))])}const mu={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},fu={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},gu={name:"DtChip",components:{IconClose:Ze,DtButton:pt},props:{closeButtonProps:{type:Object,default:function(){return{ariaLabel:"close"}},validator:e=>!!e.ariaLabel},hideClose:{type:Boolean,default:!1},size:{type:String,default:"md",validator:e=>Object.keys(mu).includes(e)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return E()}},ariaLabel:{type:String,default:""},contentClass:{type:[String,Array,Object],default:""}},emits:["click","close","keyup"],data(){return{isActive:!1}},computed:{chipListeners(){return{click:e=>{this.interactive&&this.$emit("click",e)},keyup:e=>{var t;"delete"===(null===(t=e.code)||void 0===t?void 0:t.toLowerCase())?this.onClose():this.$emit("keyup",e)}}}},methods:{chipClasses(){return["d-chip__label",mu[this.size]]},chipCloseButtonClasses(){return["d-chip__close",fu[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},vu=(0,A.Z)(gu,[["render",Du]]),bu=vu,yu=["aria-details"],Cu=["id"],Eu=["disabled"],Fu=["value"];function Su(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[(0,n.createElementVNode)("label",null,[e.$slots.label||o.label?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:0,"aria-details":s.labelAriaDetails,class:["d-label",a.LABEL_SIZE_MODIFIERS[o.size],o.labelClass]},o.labelChildProps,{"data-qa":"dt-select-label"}),[(0,n.renderSlot)(e.$slots,"label",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.label),1)]))],16,yu)):(0,n.createCommentVNode)("",!0),e.$slots.description||o.description?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:1,id:s.descriptionKey,class:["d-description",a.DESCRIPTION_SIZE_MODIFIERS[o.size],o.descriptionClass]},o.descriptionChildProps,{"data-qa":"dt-select-description"}),[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.description),1)]))],16,Cu)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["d-select",a.SELECT_SIZE_MODIFIERS[o.size],o.selectClass,{"d-select--disabled":o.disabled}]),"data-qa":"dt-select-wrapper"},[(0,n.createElementVNode)("select",(0,n.mergeProps)({class:["d-select__input",a.SELECT_STATE_MODIFIERS[s.state]]},e.$attrs,{"data-qa":"dt-select",disabled:o.disabled},(0,n.toHandlers)(s.selectListeners)),[(0,n.renderSlot)(e.$slots,"default",{},(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.options,(e=>((0,n.openBlock)(),(0,n.createElementBlock)("option",(0,n.mergeProps)({key:s.getOptionKey(e.value),value:e.value,class:o.optionClass},o.optionChildProps),(0,n.toDisplayString)(e.label),17,Fu)))),128))]))],16,Eu)],2)]),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":e.formattedMessages,"show-messages":e.showMessages,class:e.messagesClass},e.messagesChildProps,{"data-qa":"dt-select-messages"}),null,16,["validation-messages","show-messages","class"])])}const Bu={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},wu={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},ku=e=>!e.index||"number"===typeof e.index,xu=e=>!!e.value&&("string"===typeof e.value||"number"===typeof e.value),Iu=e=>!!e.label&&"string"===typeof e.label,Ou=e=>!e||e.every((e=>!!ku(e)&&(!!xu(e)&&!!Iu(e)))),_u={name:"DtSelectMenu",components:{DtValidationMessages:Pr},mixins:[Rr],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:e=>Ou(e)},size:{type:String,default:"md",validator:e=>Object.keys(Bu).includes(e)},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},selectClass:{type:[String,Array,Object],default:""},optionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})},descriptionChildProps:{type:Object,default:()=>({})},optionChildProps:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1}},emits:["change","input"],data(){return{LABEL_SIZE_MODIFIERS:h,DESCRIPTION_SIZE_MODIFIERS:p,SELECT_SIZE_MODIFIERS:Bu,SELECT_STATE_MODIFIERS:wu}},computed:{selectListeners(){return{input:()=>{},change:e=>this.emitValue(e.target.value)}},state(){return B(this.formattedMessages)},selectKey(){return E()},descriptionKey(){return"select-".concat(this.selectKey,"-description")},labelAriaDetails(){return this.$slots.description||this.description?this.descriptionKey:this.$attrs["aria-details"]}},mounted(){this.validateOptionsPresence()},beforeUpdate(){this.validateOptionsPresence()},methods:{emitValue(e){this.$emit("input",e),this.$emit("change",e)},getOptionKey(e){return"select-".concat(this.selectKey,"-option-").concat(e)},validateOptionsPresence(){var e;(null===(e=this.options)||void 0===e?void 0:e.length)<1&&!this.$slots.default&&(0,n.warn)("Options are expected to be provided via prop or slot",this)}}},Au=(0,A.Z)(_u,[["render",Su]]),Lu=Au,Tu=["aria-hidden"],Nu={class:"d-toast__dialog"};function Pu(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-notice-icon"),l=(0,n.resolveComponent)("dt-notice-content"),u=(0,n.resolveComponent)("dt-notice-action");return a.isShown?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:(0,n.normalizeClass)(["d-toast",s.kindClass,{"d-toast--important":o.important}]),"data-qa":"dt-toast","aria-hidden":(!a.isShown).toString()},[(0,n.createElementVNode)("div",Nu,[(0,n.createVNode)(r,{kind:o.kind},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"icon")])),_:3},8,["kind"]),(0,n.createVNode)(l,{"title-id":o.titleId,"content-id":o.contentId,title:o.title,role:o.role},{titleOverride:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"titleOverride")])),default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.message),1)]))])),_:3},8,["title-id","content-id","title","role"]),(0,n.createVNode)(u,{"hide-close":o.hideClose,"close-button-props":o.closeButtonProps,onClose:s.closeToast},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"action")])),_:3},8,["hide-close","close-button-props","onClose"])])],10,Tu)):(0,n.createCommentVNode)("",!0)}const Vu=["status","alert"],Mu=6e3,$u={name:"DtToast",components:{DtNoticeIcon:_e,DtNoticeContent:Me,DtNoticeAction:mt},props:{titleId:{type:String,default(){return O.getUniqueString()}},contentId:{type:String,default(){return O.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:e=>Vu.includes(e)},kind:{type:String,default:"base",validator:e=>we.includes(e)},important:{type:Boolean,default:!1},show:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1},duration:{type:Number,default:null,validator:e=>e>=Mu}},emits:["close","click","update:show"],data(){return{isShown:!1,minDuration:Mu}},computed:{kindClass(){const e={error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"};return e[this.kind]},shouldSetTimeout(){return!!this.duration&&this.duration>=this.minDuration}},watch:{show:{handler:function(e){this.isShown=e,e?this.setTimeout():clearTimeout(this.displayTimer)},immediate:!0}},unmounted(){clearTimeout(this.displayTimer)},methods:{closeToast(e){this.$emit("update:show",!1),this.$emit("close",e)},setTimeout(){this.shouldSetTimeout&&(this.displayTimer=setTimeout((()=>{this.isShown=!1,this.$emit("update:show",!1)}),this.duration))}}},Ru=(0,A.Z)($u,[["render",Pu]]),ju=Ru,zu={class:"d-d-flex d-ai-center"},Ku=["for"],Hu=["id","aria-checked","disabled","aria-disabled"],qu=(0,n.createElementVNode)("span",{class:"d-toggle__inner"},null,-1),Wu=[qu];function Zu(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",zu,[e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("label",(0,n.mergeProps)({key:0,class:o.labelClass,for:o.id},o.labelChildProps,{"data-qa":"toggle-label"}),[(0,n.renderSlot)(e.$slots,"default")],16,Ku)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("button",(0,n.mergeProps)({id:o.id,role:"switch",type:"button","aria-checked":a.internalChecked.toString(),disabled:o.disabled,"aria-disabled":o.disabled.toString(),class:["d-toggle",{"d-toggle--checked":a.internalChecked,"d-toggle--disabled":o.disabled}]},s.inputListeners),Wu,16,Hu)])}const Uu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return O.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},labelClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{internalChecked:this.checked}},computed:{inputListeners(){return{...this.$attrs,onClick:e=>this.toggleCheckedValue()}}},watch:{checked(e){this.internalChecked=e}},mounted(){this.runValidations()},methods:{toggleCheckedValue(){this.internalChecked=!this.internalChecked,this.$emit("change",this.internalChecked)},hasSlotLabel(){return!!this.$slots.default},runValidations(){this.validateInputLabels(this.hasSlotLabel(),this.$attrs["aria-label"])},validateInputLabels(e,t){e||t||(0,n.warn)("You must provide an aria-label when there is no label passed",this)}}},Gu=(0,A.Z)(Uu,[["render",Zu]]),Yu=Gu,Qu={"data-qa":"dt-tooltip-container"};function Xu(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-lazy-show");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Qu,[(0,n.createElementVNode)("div",{ref:"anchor","data-qa":"dt-tooltip-anchor",onFocusin:t[0]||(t[0]=function(){return s.onEnterAnchor&&s.onEnterAnchor(...arguments)}),onFocusout:t[1]||(t[1]=function(){return s.onLeaveAnchor&&s.onLeaveAnchor(...arguments)}),onMouseenter:t[2]||(t[2]=function(){return s.onEnterAnchor&&s.onEnterAnchor(...arguments)}),onMouseleave:t[3]||(t[3]=function(){return s.onLeaveAnchor&&s.onLeaveAnchor(...arguments)}),onKeydown:t[4]||(t[4]=(0,n.withKeys)((function(){return s.onLeaveAnchor&&s.onLeaveAnchor(...arguments)}),["esc"]))},[(0,n.renderSlot)(e.$slots,"anchor")],544),(0,n.createVNode)(r,{id:o.id,ref:"content",show:a.isShown&&(!!o.message.trim()||!!e.$slots.default),role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:o.transition,class:(0,n.normalizeClass)(["d-tooltip","d-tooltip__arrow-tippy--".concat(a.currentPlacement),{[a.TOOLTIP_KIND_MODIFIERS.inverted]:o.inverted},o.contentClass]),onAfterLeave:s.onLeaveTransitionComplete,onAfterEnter:s.onEnterTransitionComplete},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.message),1)]))])),_:3},8,["id","show","transition","class","onAfterLeave","onAfterEnter"])])}const Ju=[...ps],ed={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},td=[...hs],nd=[!0,!1,"toggle"],od={name:"Tooltip",components:{DtLazyShow:xs},props:{id:{type:String,default(){return E()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(e){return Ju.includes(e)}},sticky:{type:[Boolean,String],default:!1,validator:e=>td.includes(e)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"}},emits:["update:show","shown"],data(){return{TOOLTIP_KIND_MODIFIERS:ed,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:ms({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(e){null!==e&&(this.isShown=e)},immediate:!0},isShown(e,t){e?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(e){this.tip.setProps({sticky:e})}},mounted(){this.tip=Ds(gs(this.$refs.anchor),this.initOptions()),this.isShown&&this.tip.show()},beforeUnmount(){var e;this.tip&&(null===(e=this.tip)||void 0===e||e.destroy())},methods:{calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?651:400},hasVisibleFocus(){return gs(this.$refs.anchor).hasAttribute("data-focus-visible-added")},onEnterAnchor(e){"focusin"===e.type?null===this.show&&this.hasVisibleFocus()&&(this.isShown=!0):null===this.show&&(this.isShown=!0)},onLeaveAnchor(e){null===this.show&&(this.isShown=!1)},onChangePlacement(e){this.currentPlacement=e},onLeaveTransitionComplete(){var e;null===(e=this.tip)||void 0===e||e.unmount(),this.$emit("shown",!1),null!==this.show&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),null!==this.show&&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}}}};o(432);const id=(0,A.Z)(od,[["render",Xu]]),ad=id,sd={key:0,class:"sr-only"},rd=["innerHTML"];function ld(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("kbd",{class:(0,n.normalizeClass)(["d-d-inline-flex","d-ff-custom","d-ai-center","d-jc-center","d-box-border","d-px4","d-ba","d-bar4","d-fs12",o.inverted?"d-bc-black-400":"d-bc-black-100"])},[o.screenReaderText?((0,n.openBlock)(),(0,n.createElementBlock)("span",sd,(0,n.toDisplayString)(o.screenReaderText),1)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.formattedShortcutSplit,((e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[s.icons[e]?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.icons[e]),{key:"".concat(t,"-").concat(e),"aria-hidden":"true",class:(0,n.normalizeClass)(["dt-keyboard-shortcut__svg",o.inverted?"d-fc-black-075":"d-fc-black-500","d-mr2"])},null,8,["class"])):((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:"".concat(t,"-").concat(e),"aria-hidden":"true",class:(0,n.normalizeClass)([o.inverted?"d-fc-black-075":"d-fc-black-500","d-mr2"]),innerHTML:e},null,10,rd))],64)))),256))],2)}const ud={"aria-hidden":"true","aria-label":"Windows",class:"d-svg d-svg--system d-svg__windows",viewBox:"0 0 24 24"},dd=(0,n.createElementVNode)("path",{d:"M19.903 12.819v7.532L10.936 19v-6.197l8.967.016zM10.936 5.334l8.967-1.249V11.5h-8.967V5.334zM9.745 12.757v6.134l-6.643-.885v-5.28l6.643.03zM3.097 6.328l6.647-.885v6.134H3.1l-.003-5.25z"},null,-1),cd=[dd];function pd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",ud,cd)}const hd={},Dd=(0,A.Z)(hd,[["render",pd]]),md=Dd,fd={"aria-hidden":"true","aria-label":"Add",class:"d-svg d-svg--system d-svg__add",viewBox:"0 0 24 24"},gd=(0,n.createElementVNode)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"},null,-1),vd=[gd];function bd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",fd,vd)}const yd={},Cd=(0,A.Z)(yd,[["render",bd]]),Ed=Cd,Fd={"aria-hidden":"true","aria-label":"Arrow Downward",class:"d-svg d-svg--system d-svg__arrowDownward",viewBox:"0 0 24 24"},Sd=(0,n.createElementVNode)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"},null,-1),Bd=[Sd];function wd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Fd,Bd)}const kd={},xd=(0,A.Z)(kd,[["render",wd]]),Id=xd,Od={"aria-hidden":"true","aria-label":"Arrow Upward",class:"d-svg d-svg--system d-svg__arrowUpward",viewBox:"0 0 24 24"},_d=(0,n.createElementVNode)("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"},null,-1),Ad=[_d];function Ld(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Od,Ad)}const Td={},Nd=(0,A.Z)(Td,[["render",Ld]]),Pd=Nd,Vd={"aria-hidden":"true","aria-label":"Arrow Forward",class:"d-svg d-svg--system d-svg__arrowForward",viewBox:"0 0 24 24"},Md=(0,n.createElementVNode)("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"},null,-1),$d=[Md];function Rd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Vd,$d)}const jd={},zd=(0,A.Z)(jd,[["render",Rd]]),Kd=zd,Hd={"aria-hidden":"true","aria-label":"Arrow Backwards",class:"d-svg d-svg--system d-svg__arrowBackwards",viewBox:"0 0 24 24"},qd=(0,n.createElementVNode)("path",{d:"M12 20l1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8z"},null,-1),Wd=[qd];function Zd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Hd,Wd)}const Ud={},Gd=(0,A.Z)(Ud,[["render",Zd]]),Yd=Gd,Qd={cmd:"⌘"},Xd={"{win}":"IconWindows","{arrow-right}":"IconArrowForward","{arrow-left}":"IconArrowBackward","{arrow-up}":"IconArrowUpward","{arrow-down}":"IconArrowDownward"},Jd={"{plus}":"IconAdd"},ec=Object.keys(Qd).map((e=>"{".concat(e,"}"))).concat(Object.keys(Xd)),tc={name:"DtKeyboardShortcut",components:{IconWindows:md,IconArrowBackward:Yd,IconArrowDownward:Id,IconArrowForward:Kd,IconArrowUpward:Pd,IconAdd:Ed},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Xd,separator:/\+/gi}},computed:{icons(){return{...Xd,...Jd}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(Qd).reduce(((e,t)=>e.replace(new RegExp("{"+t+"}","gi"),Qd[t])),this.shortcutWithSeparator)},formattedShortcutSplit(){const e=Object.keys(this.icons).join("|"),t=new RegExp("(".concat(e,")"),"gi");return this.formattedShortcut.split(t).filter(Boolean)}}};o(941);const nc=(0,A.Z)(tc,[["render",ld]]),oc=nc,ic={class:"root-layout"};function ac(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-root-layout-body");return(0,n.openBlock)(),(0,n.createElementBlock)("div",ic,[e.$slots.header?((0,n.openBlock)(),(0,n.createElementBlock)("header",{key:0,class:(0,n.normalizeClass)(["root-layout__header",o.headerClass,{"root-layout__header--sticky":o.headerSticky}]),style:(0,n.normalizeStyle)({height:o.headerHeight}),"data-qa":"root-layout-header"},[(0,n.renderSlot)(e.$slots,"header")],6)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(r,{"content-class":o.contentClass,"content-wrap-width-percent":o.contentWrapWidthPercent,"sidebar-class":o.sidebarClass,"sidebar-width":o.sidebarWidth,"sidebar-position":o.sidebarPosition},{sidebar:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"sidebar")])),content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},8,["content-class","content-wrap-width-percent","sidebar-class","sidebar-width","sidebar-position"]),e.$slots.footer?((0,n.openBlock)(),(0,n.createElementBlock)("footer",{key:1,class:(0,n.normalizeClass)(["root-layout__footer",o.footerClass]),style:(0,n.normalizeStyle)({height:o.footerHeight}),"data-qa":"root-layout-footer"},[(0,n.renderSlot)(e.$slots,"footer")],6)):(0,n.createCommentVNode)("",!0)])}function sc(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["root-layout__body",s.bodyClass]),"data-qa":"root-layout-body"},[e.$slots.sidebar?((0,n.openBlock)(),(0,n.createElementBlock)("aside",{key:0,class:(0,n.normalizeClass)(["root-layout__sidebar",o.sidebarClass]),style:(0,n.normalizeStyle)({"flex-basis":o.sidebarWidth}),"data-qa":"root-layout-sidebar"},[(0,n.renderSlot)(e.$slots,"sidebar")],6)):(0,n.createCommentVNode)("",!0),e.$slots.content?((0,n.openBlock)(),(0,n.createElementBlock)("main",{key:1,class:(0,n.normalizeClass)(["root-layout__content",o.contentClass]),style:(0,n.normalizeStyle)({"min-inline-size":o.contentWrapWidthPercent}),"data-qa":"root-layout-content"},[(0,n.renderSlot)(e.$slots,"content")],6)):(0,n.createCommentVNode)("",!0)],2)}const rc={LEFT:"left",RIGHT:"right"},lc={name:"DtRootLayoutBody",props:{contentClass:{type:[String,Array,Object],default:void 0},sidebarClass:{type:[String,Array,Object],default:void 0},sidebarWidth:{type:String,default:void 0},sidebarPosition:{type:String,default:void 0},contentWrapWidthPercent:{type:String,default:void 0}},computed:{bodyClass(){return{"root-layout__body--invert":this.sidebarPosition===rc.RIGHT}}}};o(683);const uc=(0,A.Z)(lc,[["render",sc]]),dc=uc,cc={name:"DtRootLayout",components:{DtRootLayoutBody:dc},props:{headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},headerSticky:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:""},contentWrapWidthPercent:{type:String,default:"50%"},sidebarClass:{type:[String,Array,Object],default:""},sidebarWidth:{type:String,default:"256px"},sidebarPosition:{type:String,default:"left",validator:e=>Object.values(rc).includes(e)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}};o(257);const pc=(0,A.Z)(cc,[["render",ac]]),hc=pc,Dc=["id"],mc=["onMouseleave","onFocusout"];function fc(e,t,o,i,a,s){const r=(0,n.resolveComponent)("combobox-loading-list"),l=(0,n.resolveComponent)("dt-popover"),u=(0,n.resolveComponent)("dt-combobox");return(0,n.openBlock)(),(0,n.createBlock)(u,(0,n.mergeProps)({ref:"combobox","show-list":a.isListShown,"on-beginning-of-list":o.onBeginningOfList,"on-end-of-list":o.onEndOfList,"list-aria-label":o.listAriaLabel,"list-rendered-outside":!0,"list-id":o.listId,"data-qa":"dt-combobox"},s.comboboxListeners),{input:(0,n.withCtx)((o=>{let{inputProps:i}=o;return[(0,n.createElementVNode)("div",{id:a.externalAnchor,ref:"input",onFocusin:t[0]||(t[0]=function(){return s.onFocusIn&&s.onFocusIn(...arguments)}),onFocusout:t[1]||(t[1]=function(){return s.onFocusOut&&s.onFocusOut(...arguments)}),onKeydown:[t[2]||(t[2]=(0,n.withKeys)((e=>s.openOnArrowKeyPress(e)),["up"])),t[3]||(t[3]=(0,n.withKeys)((e=>s.openOnArrowKeyPress(e)),["down"]))]},[(0,n.renderSlot)(e.$slots,"input",{inputProps:i,onInput:s.handleDisplayList})],40,Dc)]})),list:(0,n.withCtx)((i=>{let{opened:u,listProps:d,clearHighlightIndex:c}=i;return[(0,n.createVNode)(l,{ref:"popover",open:a.isListShown,"onUpdate:open":t[6]||(t[6]=e=>a.isListShown=e),"hide-on-click":!0,"max-height":o.maxHeight,"max-width":o.maxWidth,offset:o.popoverOffset,sticky:o.popoverSticky,placement:"bottom-start",padding:"none",role:"listbox","external-anchor":a.externalAnchor,"content-width":o.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,onOpened:u},(0,n.createSlots)({content:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{ref:"listWrapper",class:(0,n.normalizeClass)([a.DROPDOWN_PADDING_CLASSES[o.padding],o.listClass]),onMouseleave:c,onFocusout:e=>{s.onFocusOut}},[o.loading?((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:0},d,{class:[a.DROPDOWN_PADDING_CLASSES[o.padding],o.listClass]}),null,16,["class"])):(0,n.renderSlot)(e.$slots,"list",{key:1,listProps:d})],42,mc)])),_:2},[e.$slots.header?{name:"headerContent",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{ref:"header",onFocusout:t[4]||(t[4]=function(){return s.onFocusOut&&s.onFocusOut(...arguments)})},[(0,n.renderSlot)(e.$slots,"header")],544)]))}:void 0,e.$slots.footer?{name:"footerContent",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{ref:"footer",onFocusout:t[5]||(t[5]=function(){return s.onFocusOut&&s.onFocusOut(...arguments)})},[(0,n.renderSlot)(e.$slots,"footer")],544)]))}:void 0]),1032,["open","max-height","max-width","offset","sticky","external-anchor","content-width","onOpened"])]})),_:3},16,["show-list","on-beginning-of-list","on-end-of-list","list-aria-label","list-id"])}const gc={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:Un,DtPopover:Ns,ComboboxLoadingList:qn},props:{listAriaLabel:{type:String,required:!0},showList:{type:Boolean,default:null},listId:{type:String,default(){return E()}},listClass:{type:[String,Array,Object],default:""},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},padding:{type:String,default:"small",validator:e=>Object.keys(Ps).some((t=>t===e))},contentWidth:{type:String,default:null,validator:e=>Es.includes(e)},openWithArrowKeys:{type:Boolean,default:!1},popoverOffset:{type:Array,default:()=>[0,4]},popoverSticky:{type:[Boolean,String],default:!1},hasSuggestionList:{type:Boolean,default:!0},loading:{type:Boolean,default:!1}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:Ps,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:E()}},computed:{comboboxListeners(){return{...this.$attrs,onSelect:this.onSelect,onEscape:this.onEscape,onHighlight:this.onHighlight}}},watch:{showList:{handler:function(e){null!==e&&(this.isListShown=e)},immediate:!0},isListShown(e){this.onOpened(e)}},methods:{async handleDisplayList(e){this.isListShown&&(await this.$nextTick(),this.$refs.combobox.setInitialHighlightIndex()),this.hasSuggestionList||(e?this.showComboboxList():this.closeComboboxList())},showComboboxList(){null==this.showList&&(this.isListShown=!0)},closeComboboxList(){null==this.showList&&(this.isListShown=!1)},onSelect(e){this.loading||(this.$emit("select",e),this.hasSuggestionList||this.closeComboboxList())},onEscape(){this.$emit("escape"),this.closeComboboxList()},onHighlight(e){this.loading||this.$emit("highlight",e)},onOpened(e){this.$emit("opened",e)},onFocusIn(e){this.hasSuggestionList&&e&&this.$refs.input.querySelector("input")===e.target&&this.showComboboxList()},onFocusOut(e){const t=["input","header","footer","listWrapper"],n=t.some((t=>{var n;return null===(n=this.$refs[t])||void 0===n?void 0:n.contains(e.relatedTarget)}));n||this.closeComboboxList()},openOnArrowKeyPress(e){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},vc=(0,A.Z)(gc,[["render",fc]]),bc=vc,yc={ref:"inputSlotWrapper",class:"d-ps-relative"},Cc={ref:"chipsWrapper",class:"d-ps-absolute d-mx2"},Ec={ref:"header"},Fc={ref:"list"},Sc={key:1,class:"d-ta-center d-py16"},Bc={ref:"footer"};function wc(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-chip"),l=(0,n.resolveComponent)("dt-input"),u=(0,n.resolveComponent)("dt-validation-messages"),d=(0,n.resolveComponent)("dt-recipe-combobox-with-popover");return(0,n.openBlock)(),(0,n.createBlock)(d,{ref:"comboboxWithPopover","list-aria-label":"listAriaLabel","show-list":o.showList,"max-height":o.listMaxHeight,"popover-offset":a.popoverOffset,"has-suggestion-list":o.hasSuggestionList,"content-width":"anchor",onSelect:s.onComboboxSelect},(0,n.createSlots)({input:(0,n.withCtx)((e=>{let{onInput:i}=e;return[(0,n.createElementVNode)("span",yc,[(0,n.createElementVNode)("span",Cc,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.selectedItems,(e=>((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({ref_for:!0,ref:"chips",key:e,class:"d-mt4 d-mx2 d-zi-base1","close-button-props":{ariaLabel:"close"},size:o.size},(0,n.toHandlers)(s.chipListeners),{onKeyup:(0,n.withKeys)((t=>s.onChipRemove(e)),["backspace"]),onClose:t=>s.onChipRemove(e)}),{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e),1)])),_:2},1040,["size","onKeyup","onClose"])))),128))],512),(0,n.createVNode)(l,(0,n.mergeProps)({ref:"input",modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),class:"d-fl-grow1 d-mb4",label:o.label,description:o.description,placeholder:s.inputPlaceHolder,"show-messages":o.showInputMessages,messages:o.inputMessages,size:o.size},(0,n.toHandlers)(s.inputListeners),{onInput:i}),null,16,["modelValue","label","description","placeholder","show-messages","messages","size","onInput"]),(0,n.createVNode)(u,{"validation-messages":o.maxSelectedMessage,"show-messages":a.showValidationMessages},null,8,["validation-messages","show-messages"])],512)]})),list:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Fc,[o.loading?((0,n.openBlock)(),(0,n.createElementBlock)("div",Sc,(0,n.toDisplayString)(o.loadingMessage),1)):(0,n.renderSlot)(e.$slots,"list",{key:0})],512)])),_:2},[e.$slots.header?{name:"header",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Ec,[(0,n.renderSlot)(e.$slots,"header")],512)]))}:void 0,e.$slots.footer?{name:"footer",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Bc,[(0,n.renderSlot)(e.$slots,"footer")],512)]))}:void 0]),1032,["show-list","max-height","popover-offset","has-suggestion-list","onSelect"])}const kc={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},xc={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:bc,DtInput:Kr,DtChip:bu,DtValidationMessages:Pr},props:{label:{type:String,default:null},description:{type:String,default:null},placeholder:{type:String,default:"Select one or start typing"},inputMessages:{type:Array,default:()=>[],validator:e=>Lr(e)},showInputMessages:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},loadingMessage:{type:String,default:"loading..."},showList:{type:Boolean,default:null},listMaxHeight:{type:String,default:"300px"},selectedItems:{type:Array,default:function(){return[]}},maxSelected:{type:Number,default:0},maxSelectedMessage:{type:Array,default:function(){return[]}},hasSuggestionList:{type:Boolean,default:!0},size:{type:String,default:null,validator:e=>Object.values(kc).includes(e)}},emits:["input","select","remove","max-selected","keyup"],data(){return{value:"",popoverOffset:[0,0],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null}},computed:{inputPlaceHolder(){var e;return(null===(e=this.selectedItems)||void 0===e?void 0:e.length)>0?"":this.placeholder},chipListeners(){return{keyup:e=>{this.onChipKeyup(e),this.$emit("keyup",e)}}},inputListeners(){return{input:e=>{this.$emit("input",e),this.hasSuggestionList&&this.showComboboxList()},keyup:e=>{this.onInputKeyup(e),this.$emit("keyup",e)},click:e=>{this.hasSuggestionList&&this.showComboboxList()}}}},watch:{selectedItems:{deep:!0,immediate:!0,handler:async function(){await this.$nextTick(),this.setInputPadding(),this.setInputMinWidth(),this.checkMaxSelected()}},async label(){await this.$nextTick(),this.setChipsTopPosition()},async description(){await this.$nextTick(),this.setChipsTopPosition()}},mounted(){this.setChipsTopPosition(),this.resizeWindowObserver=new ResizeObserver((()=>{this.setChipsTopPosition(),this.setInputPadding()})).observe(document.body)},beforeUnmount(){var e;null===(e=this.resizeWindowObserver)||void 0===e||e.unobserve(document.body)},methods:{onChipRemove(e){this.$emit("remove",e),this.$refs.input.focus()},onComboboxSelect(e){this.value="",this.$emit("select",e)},showComboboxList(){null==this.showList&&this.$refs.comboboxWithPopover.showComboboxList()},closeComboboxList(){null==this.showList&&this.$refs.comboboxWithPopover.closeComboboxList()},getChipButtons(){return this.$refs.chips&&this.$refs.chips.map((e=>e.$el.querySelector("button")))},getChips(){return this.$refs.chips&&this.$refs.chips.map((e=>e.$el))},getLastChipButton(){return this.$refs.chips&&this.getChipButtons()[this.getChipButtons().length-1]},getLastChip(){return this.$refs.chips&&this.getChips()[this.getChips().length-1]},getFirstChip(){return this.$refs.chips&&this.getChips()[0]},getInput(){var e;return null===(e=this.$refs.input)||void 0===e?void 0:e.$refs.input},onChipKeyup(e){var t;const n=null===(t=e.code)||void 0===t?void 0:t.toLowerCase();"arrowleft"===n?this.navigateBetweenChips(e.target,!0):"arrowright"===n&&(e.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(e.target,!1))},onInputKeyup(e){var t;const n=null===(t=e.code)||void 0===t?void 0:t.toLowerCase();this.selectedItems.length>0&&0===e.target.selectionStart&&("backspace"!==n&&"arrowleft"!==n||this.moveFromInputToChip())},moveFromInputToChip(){this.getLastChipButton().focus(),this.$refs.input.blur(),this.closeComboboxList()},moveFromChipToInput(){this.getLastChipButton().blur(),this.$refs.input.focus(),this.showComboboxList()},navigateBetweenChips(e,t){const n=this.getChipButtons().indexOf(e),o=t?n-1:n+1;o<0||o>=this.$refs.chips.length||(this.getChipButtons()[n].blur(),this.getChipButtons()[o].focus(),this.closeComboboxList())},setChipsTopPosition(){if(!this.$refs.input)return;const e=this.getInput();if(!e)return;const t=this.$refs.inputSlotWrapper,n=e.getBoundingClientRect().top-t.getBoundingClientRect().top,o=this.$refs.chipsWrapper;o.style.top=n+"px"},setInputPadding(){const e=this.getLastChip(),t=this.getInput();if(!t)return;if(!e)return void this.revertInputPadding(t);const n=e.offsetLeft+this.getFullWidth(e);t.style.paddingLeft=n+"px";const o=e.offsetTop+3;t.style.paddingTop=o+"px",this.popoverOffset=[0,0]},getFullWidth(e){const t=window.getComputedStyle(e);return e.offsetWidth+parseInt(t.marginLeft)+parseInt(t.marginRight)},revertInputPadding(e){e.style.paddingLeft="",e.style.paddingTop="",e.style.paddingBottom=""},setInputMinWidth(){const e=this.getFirstChip(),t=this.getInput();t&&(t.style.minWidth=e?this.getFullWidth(e)+4+"px":"")},checkMaxSelected(){0!==this.maxSelected&&(this.selectedItems.length>this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}},Ic=(0,A.Z)(xc,[["render",wc]]),Oc=Ic,_c={class:"d-ps-relative","data-qa":"contact-info-left"},Ac=["src","alt"],Lc={"data-qa":"contact-info-header"},Tc={"data-qa":"contact-info-subtitle"},Nc={"data-qa":"contact-info-bottom"},Pc={"data-qa":"contact-info-right"};function Vc(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-avatar"),l=(0,n.resolveComponent)("dt-list-item");return(0,n.openBlock)(),(0,n.createBlock)(l,{id:o.id,role:o.role,"element-type":"div","data-qa":"contact-info"},{left:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",_c,[o.avatarSrc?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,kind:"default",size:"lg","avatar-class":"d-bar2"},{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("img",{"data-qa":"dt-contact-avatar",src:o.avatarSrc,alt:o.avatarInitials},null,8,Ac)])),_:1})):o.avatarInitials?((0,n.openBlock)(),(0,n.createBlock)(r,{key:1,kind:"initials",size:"lg",color:o.avatarColor},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.avatarInitials),1)])),_:1},8,["color"])):(0,n.createCommentVNode)("",!0),s.showUserStatus?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:2,class:(0,n.normalizeClass)(["d-ba","d-bc-white","d-baw2","d-bar2","d-ps-absolute","d-bn1","d-rn1","d-w20p","d-h20p",a.USER_STATUS_COLOR_MODIFIERS[o.userStatusColor]]),"data-qa":"contact-info-user-status"}," ",2)):(0,n.createCommentVNode)("",!0)])])),default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Lc,[(0,n.renderSlot)(e.$slots,"header")])])),subtitle:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Tc,[(0,n.renderSlot)(e.$slots,"subtitle")])])),bottom:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Nc,[(0,n.renderSlot)(e.$slots,"bottom")])])),right:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Pc,[(0,n.renderSlot)(e.$slots,"right")])])),_:3},8,["id","role"])}const Mc={none:"",green:"d-bgc-green-400",yellow:"d-bgc-yellow-400",red:"d-bgc-red-400"},$c={name:"DtRecipeContactInfo",components:{DtAvatar:T,DtListItem:hn},props:{id:{type:String,default(){return O.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarInitials:{type:String,default:""},avatarColor:{type:String,default:"base",validator:e=>Object.keys(u).includes(e)},userStatusColor:{type:String,default:"none",validator:e=>Object.keys(Mc).includes(e)}},data(){return{USER_STATUS_COLOR_MODIFIERS:Mc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},Rc=(0,A.Z)($c,[["render",Vc]]),jc=Rc,zc={class:"d-top-banner-info__left"},Kc={class:"d-top-banner-info__middle d-my4"},Hc={class:"d-top-banner-info__right d-ta-right"};function qc(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["d-fs11 d-d-flex d-top-banner-info d-jc-space-between d-ai-center",s.bannerInfoClass]),"data-qa":"banner-info"},[(0,n.createElementVNode)("div",zc,[(0,n.renderSlot)(e.$slots,"left")]),(0,n.createElementVNode)("div",Kc,[(0,n.renderSlot)(e.$slots,"default")]),(0,n.createElementVNode)("div",Hc,[(0,n.renderSlot)(e.$slots,"right")])],2)}const Wc=["green400","green200","red200","red100","yellow200","yellow400","yellow050","black100","white"],Zc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green400",validator:function(e){return Wc.includes(e)}}},computed:{bannerInfoClass(){const e={green400:"d-bgc-green-400",green200:"d-bgc-green-200",red200:"d-bgc-red-200",red100:"d-bgc-red-100",yellow400:"d-bgc-yellow-400",yellow200:"d-bgc-yellow-200",black100:"d-bgc-black-100",white:"d-bgc-white"};return[e[this.colorCode]]}}};o(964);const Uc=(0,A.Z)(Zc,[["render",qc]]),Gc=Uc})(),i})()));
|
|
2
2
|
//# sourceMappingURL=dialtone-vue.umd.min.js.map
|