@dialpad/dialtone-vue 3.10.0 → 3.11.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.
|
@@ -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),s=n(645),a=n.n(s),r=a()(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),s=n(645),a=n.n(s),r=a()(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),s=n(645),a=n.n(s),r=a()(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),s=n(645),a=n.n(s),r=a()(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),s=n(645),a=n.n(s),r=a()(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),s=n(645),a=n.n(s),r=a()(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),s=n(645),a=n.n(s),r=a()(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),s=n(645),a=n.n(s),r=a()(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),s=n(645),a=n.n(s),r=a()(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),s=n(645),a=n.n(s),r=a()(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,s){"string"===typeof e&&(e=[[null,e,void 0]]);var a={};if(o)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(a[l]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);o&&a[d[0]]||("undefined"!==typeof s&&("undefined"===typeof d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=s),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 s=t[i],a=s[0],r=s[1],l=s[2],u=s[3],d={id:e+":"+i,css:r,media:l,sourceMap:u};o[a]?o[a].parts.push(d):n.push(o[a]={id:a,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 s={},a=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 a=o(e,t);return m(a),function(t){for(var n=[],i=0;i<a.length;i++){var r=a[i],l=s[r.id];l.refs--,n.push(l)}t?(a=o(e,t),m(a)):a=[];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 s[l.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],o=s[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 a=[];for(i=0;i<n.parts.length;i++)a.push(g(n.parts[i]));s[n.id]={id:n.id,refs:1,parts:a}}}}function f(){var e=document.createElement("style");return e.type="text/css",a.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=y.bind(null,o,i,!1),n=y.bind(null,o,i,!0)}else o=f(),t=b.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 y(e,t,n,o){var i=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var s=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(s,a[t]):e.appendChild(s)}}function b(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 s=n[e]={id:e,exports:{}};return t[e](s,s.exports,o),s.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 s=Object.create(null);o.r(s);var a={};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=>a[e]=()=>n[e]));return a["default"]=()=>n,o.d(s,a),s}})(),(()=>{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,s,a)=>{if(e[n])e[n].push(i);else{var r,l;if(void 0!==s)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+s){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+s),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 s=new Promise(((n,o)=>i=e[t]=[n,o]));n.push(i[2]=s);var a=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 s=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;r.message="Loading chunk "+t+" failed.\n("+s+": "+a+")",r.name="ChunkLoadError",r.type=s,r.request=a,i[1](r)}};o.l(a,l,"chunk-"+t,t)}};var t=(t,n)=>{var i,s,a=n[0],r=n[1],l=n[2],u=0;if(a.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<a.length;u++)s=a[u],o.o(e,s)&&e[s]&&e[s][0](),e[s]=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:()=>bu,COLOR_CODES:()=>Qc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>D,DESCRIPTION_SIZE_TYPES:()=>c,DtAvatar:()=>T,DtBadge:()=>$,DtBanner:()=>Et,DtBreadcrumbItem:()=>Tt,DtBreadcrumbs:()=>Vt,DtButton:()=>pt,DtButtonGroup:()=>zt,DtCheckableInputMixin:()=>Kr,DtCheckbox:()=>cu,DtCheckboxGroup:()=>Du,DtChip:()=>Su,DtCombobox:()=>Jn,DtDropdown:()=>Ha,DtEmoji:()=>br,DtEmojiTextWrapper:()=>Fr,DtGroupableInputMixin:()=>Hr,DtInput:()=>Ur,DtInputGroup:()=>tl,DtInputGroupMixin:()=>Xr,DtInputMixin:()=>zr,DtKeyboardListNavigationMixin:()=>Ut,DtKeyboardShortcut:()=>lc,DtLazyShow:()=>La,DtLink:()=>_t,DtListItem:()=>hn,DtListSection:()=>El,DtModal:()=>hl,DtNotice:()=>wl,DtPopover:()=>Ra,DtRadio:()=>Tl,DtRadioGroup:()=>Vl,DtRecipeComboboxMultiSelect:()=>Nc,DtRecipeComboboxWithPopover:()=>Sc,DtRecipeContactInfo:()=>Wc,DtRecipeTopBannerInfo:()=>ep,DtRootLayout:()=>vc,DtSelectMenu:()=>Mu,DtSkeleton:()=>zn,DtSkeletonListItem:()=>$n,DtSkeletonParagraph:()=>Pn,DtSkeletonShape:()=>Bn,DtSkeletonText:()=>An,DtTab:()=>Xl,DtTabGroup:()=>Ul,DtTabPanel:()=>ou,DtToast:()=>Wu,DtToggle:()=>td,DtTooltip:()=>dd,DtValidationMessages:()=>jr,EMOJI_SIZES:()=>Za,INPUT_SIZES:()=>Tr,INPUT_TYPES:()=>Lr,LINK_KIND_MODIFIERS:()=>ut,LINK_VARIANTS:()=>lt,MODAL_KIND_MODIFIERS:()=>ul,MODAL_SIZE_MODIFIERS:()=>dl,MULTI_SELECT_SIZES:()=>Ac,NOTICE_KINDS:()=>we,POPOVER_CONTENT_WIDTHS:()=>ka,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>Ba,POPOVER_INITIAL_FOCUS_STRINGS:()=>xa,POPOVER_PADDING_CLASSES:()=>Sa,POPOVER_ROLES:()=>wa,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>pc,SELECT_SIZE_MODIFIERS:()=>Ou,SELECT_STATE_MODIFIERS:()=>_u,SHORTCUTS_ALIASES:()=>nc,SHORTCUTS_ALIASES_LIST:()=>sc,SHORTCUTS_ICON_ALIASES:()=>oc,SHORTCUTS_ICON_SEPARATOR:()=>ic,SKELETON_HEADING_HEIGHTS:()=>Cn,SKELETON_RIPPLE_DURATION:()=>gn,SKELETON_SHAPES:()=>vn,SKELETON_SHAPE_SIZES:()=>bn,SKELETON_TEXT_TYPES:()=>yn,TAB_IMPORTANCE_MODIFIERS:()=>ql,TAB_LIST_IMPORTANCE_MODIFIERS:()=>Hl,TAB_LIST_KIND_MODIFIERS:()=>Kl,TAB_LIST_SIZES:()=>jl,TOAST_ROLES:()=>zu,TOOLTIP_DIRECTIONS:()=>id,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>rd,TOOLTIP_KIND_MODIFIERS:()=>sd,TOOLTIP_STICKY_VALUES:()=>ad,USER_STATUS_COLOR_MODIFIERS:()=>Kc,VALIDATION_MESSAGE_TYPES:()=>d,codeToEmojiData:()=>Dr,customEmojiAssetUrl:()=>Xa,defaultEmojiAssetUrl:()=>Qa,emojiFileExtensionLarge:()=>nr,emojiFileExtensionSmall:()=>er,emojiImageUrlLarge:()=>tr,emojiImageUrlSmall:()=>Ja,emojiJson:()=>or,emojiVersion:()=>Ya,filterFormattedMessages:()=>S,filterValidShortCodes:()=>fr,findEmojis:()=>gr,findShortCodes:()=>mr,formatMessages:()=>F,getEmojiData:()=>sr,getEmojiJson:()=>ir,getUniqueString:()=>E,getValidationState:()=>B,setCustomEmojiJson:()=>ur,setCustomEmojiUrl:()=>lr,setEmojiAssetUrlLarge:()=>rr,setEmojiAssetUrlSmall:()=>ar,shortcodeToEmojiData:()=>cr,stringToUnicode:()=>hr,unicodeToString:()=>pr,validateCustomEmojiJson:()=>dr,validationMessageValidator:()=>Mr}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(o.p=t[1])}var n=o(203);const s=["id"];function a(e,t,o,i,a,r){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{id:o.id,class:(0,n.normalizeClass)(["d-avatar",a.AVATAR_KIND_MODIFIERS[a.kind],a.AVATAR_SIZE_MODIFIERS[o.size],a.AVATAR_COLOR_MODIFIERS[o.color],o.avatarClass]),"data-qa":"dt-avatar"},[(0,n.renderSlot)(e.$slots,"default")],10,s)}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)",y="".concat(g,",").concat(v),b="a,frame,iframe,".concat(y,",*[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(b)}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",a]]),T=L;function N(e,t,o,i,s,a){return(0,n.openBlock)(),(0,n.createElementBlock)("span",{class:(0,n.normalizeClass)(["d-badge",s.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,s,a){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)(a.bannerClass),role:a.role,onKeydown:t[1]||(t[1]=(0,n.withKeys)((function(){return a.trapFocus&&a.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,s,a){return a.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)(a.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,se={"aria-hidden":"true","aria-label":"Warning",class:"d-svg d-svg--system d-svg__warning",viewBox:"0 0 24 24"},ae=(0,n.createElementVNode)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"},null,-1),re=[ae];function le(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",se,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,ye={"aria-hidden":"true","aria-label":"Check Circle",class:"d-svg d-svg--system d-svg__checkCircle",viewBox:"0 0 24 24"},be=(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=[be];function Ee(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",ye,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,s,a){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,s,a){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:a.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,s,a){return(0,n.openBlock)(),(0,n.createElementBlock)("button",(0,n.mergeProps)({class:["base-button__button",a.buttonClasses()],"data-qa":"dt-button",type:o.type,"aria-live":a.computedAriaLive,"aria-label":o.loading?"loading":e.$attrs["aria-label"]},e.$attrs,(0,n.toHandlers)(a.buttonListeners)),[a.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",s.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",st="success",at="muted",rt="inverted",lt=["",ot,it,st,at,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]",yt={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),s=o[o.length-1];e.shiftKey?document.activeElement===i&&(s.focus(),e.preventDefault()):document.activeElement===s&&(i.focus(),e.preventDefault())}}},bt={name:"DtBanner",components:{DtNoticeIcon:_e,DtNoticeContent:Me,DtNoticeAction:mt},mixins:[yt],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)(bt,[["render",z]]),Et=Ct,Ft=["aria-label"];function St(e,t,o,i,s,a){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",{[s.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:a.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,s,a){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",{[s.BREADCRUMB_ITEM_SELECTED_MODIFIER]:o.selected}])},[(0,n.createVNode)(r,(0,n.mergeProps)({kind:a.linkKind,"aria-current":a.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,s,a){return(0,n.openBlock)(),(0,n.createElementBlock)("a",{class:(0,n.normalizeClass)(["d-link",s.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:at},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,s,a){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["d-btn-group",s.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,s,a){const r=(0,n.resolveComponent)("combobox-loading-list"),l=(0,n.resolveComponent)("combobox-empty-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=>a.onKeyValidation(e,"onEscapeKey")),["stop"]),["esc"])),t[4]||(t[4]=(0,n.withKeys)((0,n.withModifiers)((e=>a.onKeyValidation(e,"onEnterKey")),["exact"]),["enter"])),t[5]||(t[5]=(0,n.withKeys)((0,n.withModifiers)((e=>a.onKeyValidation(e,"onUpKey")),["stop","prevent"]),["up"])),t[6]||(t[6]=(0,n.withKeys)((0,n.withModifiers)((e=>a.onKeyValidation(e,"onDownKey")),["stop","prevent"]),["down"])),t[7]||(t[7]=(0,n.withKeys)((0,n.withModifiers)((e=>a.onKeyValidation(e,"onHomeKey")),["stop","prevent"]),["home"])),t[8]||(t[8]=(0,n.withKeys)((0,n.withModifiers)((e=>a.onKeyValidation(e,"onEndKey")),["stop","prevent"]),["end"]))]},[(0,n.createElementVNode)("div",Ht,[(0,n.renderSlot)(e.$slots,"input",{inputProps:a.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 a.clearHighlightIndex&&a.clearHighlightIndex(...arguments)}),onFocusout:t[1]||(t[1]=function(){return a.clearHighlightIndex&&a.clearHighlightIndex(...arguments)}),onMousemoveCapture:t[2]||(t[2]=function(){return a.onMouseHighlight&&a.onMouseHighlight(...arguments)})},[s.isLoading&&!o.listRenderedOutside?((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.normalizeProps)((0,n.mergeProps)({key:0},a.listProps)),null,16)):s.isListEmpty&&!o.listRenderedOutside?((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:1},a.listProps,{message:o.emptyStateMessage}),null,16,["message"])):(0,n.renderSlot)(e.$slots,"list",{key:2,listProps:a.listProps,opened:a.onOpen,clearHighlightIndex:a.clearHighlightIndex,isLoading:s.isLoading,isListEmpty:s.isListEmpty})],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 s=e.offsetTop,a=i||e.parentElement,r=this._getScrollBounds(a),l=r.bottom-r.top,u=this._getElementHeight(e),d=s+u;let c=-1;switch(t){case"top":c=s;break;case"center":c=s+(u-l)/2;break;case"bottom":c=c=d-l;break;default:c=s-r.top<=l/2?s:d-l;break}this._setScrollTop(a,c,r,s,d,n,o)},_setScrollTop(e,t,n,o,i,s,a){n=n||this._getScrollBounds(e);const r=n.bottom-n.top;if(s&&this._inScrollBounds(o,i,n))if(o<n.top)t=o;else{if(!(i>n.bottom))return;t=i-r}a?e.scrollTo({top:t,behavior:a}):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:s=null,afterHighlightMethod:a=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(){s&&this[s](!0),this[t]>0?this.setHighlightIndex(this[t]-1):r&&this[r](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){s&&this[s](!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))),s=n.indexOf(i<o.length-1?o[i+1]:o[0]);this.setHighlightIndex(s),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)},setHighlightIndex(e){this[t]=e,this[n]=this._getItemId(e),this._itemsLength()&&a&&this[a](e)},setHighlightId(e){this[n]=e,this[t]=this._getItemIndex(e),this._itemsLength()&&a&&this[a](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,s,a){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,s,a){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":a.isFocusable,"dt-list-item--highlighted":a.isHighlighted}],tabindex:a.isFocusable?0:-1,role:o.role,"aria-selected":a.isHighlighted},(0,n.toHandlers)(a.listItemListeners)),{default:(0,n.withCtx)((()=>[a.listItemType?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(a.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},sn={key:2,"data-qa":"dt-default-list-item-bottom-wrapper",class:"d-mt2"},an={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,s,a){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",sn,[(0,n.renderSlot)(e.$slots,"bottom")])):(0,n.createCommentVNode)("",!0)]),e.$slots.right?((0,n.openBlock)(),(0,n.createElementBlock)("section",an,[(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,s,a){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,s,a){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{ref:"skeleton","data-qa":"skeleton-shape",class:(0,n.normalizeClass)(["skeleton-placeholder",s.SKELETON_SHAPES[o.shape],{"skeleton-placeholder--animate":o.animate},o.contentClass]),style:(0,n.normalizeStyle)(a.shapeStyles)},null,6)}const gn=3e6,vn={circle:"d-bar-circle",square:"d-bar2"},yn=["body","heading"],bn={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=bn[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,s,a){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,s,a){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)(a.integerRows,(e=>((0,n.openBlock)(),(0,n.createBlock)(r,{key:e,"data-qa":"skeleton-paragraph-row",class:(0,n.normalizeClass)([{"d-mb12":e!==a.integerRows}]),"content-class":o.rowClass,animate:o.animate,offset:o.offset,"animation-duration":o.animationDuration,width:a.getSizeParagraphRow(e)},null,8,["class","content-class","animate","offset","animation-duration","width"])))),128))],2)}function In(e,t,o,i,s,a){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)([s.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=>yn.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={class:"d-p0","data-qa":"dt-combobox-empty-list"};function Zn(e,t,o,i,s,a){const r=(0,n.resolveComponent)("dt-list-item");return(0,n.openBlock)(),(0,n.createElementBlock)("ol",Wn,[(0,n.createVNode)(r,{class:"d-d-flex d-jc-center",role:"option","navigation-type":"arrow-keys"},{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("span",null,(0,n.toDisplayString)(o.message),1)])),_:1})])}const Un={name:"ComboboxEmptyList",components:{DtListItem:hn},props:{message:{type:String,required:!0}}},Gn=(0,A.Z)(Un,[["render",Zn]]),Yn=Gn,Qn={name:"DtCombobox",components:{ComboboxLoadingList:qn,ComboboxEmptyList:Yn},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},emptyStateMessage:{type:String,default:""}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null,isListEmpty:void 0,isLoading:void 0}},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.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",e)),!e&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null,this.isListEmpty=void 0)},loading(e){this.isListEmpty=void 0,this.isLoading=e,this.$nextTick((()=>{this.isListEmpty=this.checkItemsLength(),this.setInitialHighlightIndex()}))}},async mounted(){this.isLoading=this.loading,await this.$nextTick(),this.isListEmpty=this.checkItemsLength()},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.isListEmpty||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.isListEmpty=this.checkItemsLength(),this.setInitialHighlightIndex())},onKeyValidation(e,t){this.showList&&this.getListElement()&&this[t](e)},setInitialHighlightIndex(){this.showList&&this.$nextTick((()=>{this.setHighlightIndex(this.loading?-1:0)}))},checkItemsLength(){if(!this.showList)return;const e=this.getListElement(),t=null===e||void 0===e?void 0:e.querySelectorAll('[role="option"]');return 0===(null===t||void 0===t?void 0:t.length)}}},Xn=(0,A.Z)(Qn,[["render",qt]]),Jn=Xn,eo=["id"];function to(e,t,o,i,s,a){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":s.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:a.updateInitialHighlightIndex,onKeydown:[(0,n.withKeys)(a.onEnterKey,["enter"]),(0,n.withKeys)(a.onSpaceKey,["space"]),t[2]||(t[2]=(0,n.withKeys)((0,n.withModifiers)((e=>a.onKeyValidation(e,"onUpKeyPress")),["stop","prevent"]),["up"])),t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((e=>a.onKeyValidation(e,"onDownKeyPress")),["stop","prevent"]),["down"])),t[4]||(t[4]=(0,n.withKeys)((0,n.withModifiers)((e=>a.onKeyValidation(e,"onHomeKeyPress")),["stop","prevent"]),["home"])),t[5]||(t[5]=(0,n.withKeys)((0,n.withModifiers)((e=>a.onKeyValidation(e,"onEndKeyPress")),["stop","prevent"]),["end"])),t[6]||(t[6]=e=>a.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",s.DROPDOWN_PADDING_CLASSES[o.padding],o.listClass]),"data-qa":"dt-dropdown-list-wrapper",onMouseleave:t[0]||(t[0]=function(){return a.clearHighlightIndex&&a.clearHighlightIndex(...arguments)}),onMousemoveCapture:t[1]||(t[1]=function(){return a.onMouseHighlight&&a.onMouseHighlight(...arguments)})},[(0,n.renderSlot)(e.$slots,"list",{close:r})],42,eo)]})),_:3},16,["content-width","open","placement","initial-focus-element","fallback-placements","modal","max-height","max-width","onOpened","onKeydown"])}const no=["aria-hidden"],oo=["id"];function io(e,t,o,i,s,a){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&&s.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&&s.isOpen?"false":"true",onClick:t[0]||(t[0]=(0,n.withModifiers)((()=>{}),["prevent","stop"]))},null,8,no)])):(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&&s.isOpen}],"data-qa":"dt-popover-container"},e.$attrs),{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{id:!o.ariaLabelledby&&a.labelledBy,ref:"anchor","data-qa":"dt-popover-anchor",onClickCapture:t[1]||(t[1]=function(){return a.defaultToggleOpen&&a.defaultToggleOpen(...arguments)}),onKeydown:[t[2]||(t[2]=(0,n.withKeys)((0,n.withModifiers)((function(){return a.onArrowKeyPress&&a.onArrowKeyPress(...arguments)}),["prevent"]),["up"])),t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((function(){return a.onArrowKeyPress&&a.onArrowKeyPress(...arguments)}),["prevent"]),["down"]))],onWheel:t[4]||(t[4]=e=>s.isOpen&&o.modal&&e.preventDefault()),onKeydownCapture:t[5]||(t[5]=(0,n.withKeys)((function(){return a.closePopover&&a.closePopover(...arguments)}),["escape"]))},[(0,n.renderSlot)(e.$slots,"anchor",{attrs:{"aria-expanded":s.isOpen.toString(),"aria-controls":o.id,"aria-haspopup":o.role}})],40,oo),(0,n.createVNode)(l,(0,n.mergeProps)({id:o.id,ref:"content",role:o.role,"data-qa":"dt-popover","aria-hidden":"".concat(!s.isOpen),"aria-labelledby":a.labelledBy,"aria-label":o.ariaLabel,"aria-modal":"".concat(!o.modal),transition:o.transition,show:s.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:a.onKeydown,onAfterLeave:a.onLeaveTransitionComplete,onAfterEnter:a.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)(s.POPOVER_HEADER_FOOTER_PADDING_CLASSES[o.padding]),"content-class":o.headerClass,type:"header","show-close-button":o.showCloseButton,"close-button-props":o.closeButtonProps,onClose:a.closePopover},{content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"headerContent",{close:a.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",s.POPOVER_PADDING_CLASSES[o.padding],o.contentClass])},[(0,n.renderSlot)(e.$slots,"content",{close:a.closePopover})],2),e.$slots.footerContent?((0,n.openBlock)(),(0,n.createBlock)(r,{key:1,ref:"popover__footer",type:"footer",class:(0,n.normalizeClass)(s.POPOVER_HEADER_FOOTER_PADDING_CLASSES[o.padding]),"content-class":o.footerClass},{content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"footerContent",{close:a.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 so(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ao(e){var t=so(e).Element;return e instanceof t||e instanceof Element}function ro(e){var t=so(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function lo(e){if("undefined"===typeof ShadowRoot)return!1;var t=so(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var uo=Math.max,co=Math.min,po=Math.round;function ho(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if(ro(e)&&t){var s=e.offsetHeight,a=e.offsetWidth;a>0&&(o=po(n.width)/a||1),s>0&&(i=po(n.height)/s||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 Do(e){var t=so(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function mo(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fo(e){return e!==so(e)&&ro(e)?mo(e):Do(e)}function go(e){return e?(e.nodeName||"").toLowerCase():null}function vo(e){return((ao(e)?e.ownerDocument:e.document)||window.document).documentElement}function yo(e){return ho(vo(e)).left+Do(e).scrollLeft}function bo(e){return so(e).getComputedStyle(e)}function Co(e){var t=bo(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function Eo(e){var t=e.getBoundingClientRect(),n=po(t.width)/e.offsetWidth||1,o=po(t.height)/e.offsetHeight||1;return 1!==n||1!==o}function Fo(e,t,n){void 0===n&&(n=!1);var o=ro(t),i=ro(t)&&Eo(t),s=vo(t),a=ho(e,i),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==go(t)||Co(s))&&(r=fo(t)),ro(t)?(l=ho(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=yo(s))),{x:a.left+r.scrollLeft-l.x,y:a.top+r.scrollTop-l.y,width:a.width,height:a.height}}function So(e){var t=ho(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 Bo(e){return"html"===go(e)?e:e.assignedSlot||e.parentNode||(lo(e)?e.host:null)||vo(e)}function wo(e){return["html","body","#document"].indexOf(go(e))>=0?e.ownerDocument.body:ro(e)&&Co(e)?e:wo(Bo(e))}function ko(e,t){var n;void 0===t&&(t=[]);var o=wo(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),s=so(o),a=i?[s].concat(s.visualViewport||[],Co(o)?o:[]):o,r=t.concat(a);return i?r:r.concat(ko(Bo(a)))}function xo(e){return["table","td","th"].indexOf(go(e))>=0}function Io(e){return ro(e)&&"fixed"!==bo(e).position?e.offsetParent:null}function Oo(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&ro(e)){var o=bo(e);if("fixed"===o.position)return null}var i=Bo(e);lo(i)&&(i=i.host);while(ro(i)&&["html","body"].indexOf(go(i))<0){var s=bo(i);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return i;i=i.parentNode}return null}function _o(e){var t=so(e),n=Io(e);while(n&&xo(n)&&"static"===bo(n).position)n=Io(n);return n&&("html"===go(n)||"body"===go(n)&&"static"===bo(n).position)?t:n||Oo(e)||t}var Ao="top",Lo="bottom",To="right",No="left",Po="auto",Vo=[Ao,Lo,To,No],Mo="start",$o="end",Ro="clippingParents",jo="viewport",zo="popper",Ko="reference",Ho=Vo.reduce((function(e,t){return e.concat([t+"-"+Mo,t+"-"+$o])}),[]),qo=[].concat(Vo,[Po]).reduce((function(e,t){return e.concat([t,t+"-"+Mo,t+"-"+$o])}),[]),Wo="beforeRead",Zo="read",Uo="afterRead",Go="beforeMain",Yo="main",Qo="afterMain",Xo="beforeWrite",Jo="write",ei="afterWrite",ti=[Wo,Zo,Uo,Go,Yo,Qo,Xo,Jo,ei];function ni(e){var t=new Map,n=new Set,o=[];function i(e){n.add(e.name);var s=[].concat(e.requires||[],e.requiresIfExists||[]);s.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 oi(e){var t=ni(e);return ti.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function ii(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function si(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 ai={placement:"bottom",modifiers:[],strategy:"absolute"};function ri(){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 li(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,i=t.defaultOptions,s=void 0===i?ai:i;return function(e,t,n){void 0===n&&(n=s);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},ai,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],r=!1,l={state:i,setOptions:function(n){var a="function"===typeof n?n(i.options):n;d(),i.options=Object.assign({},s,i.options,a),i.scrollParents={reference:ao(e)?ko(e):e.contextElement?ko(e.contextElement):[],popper:ko(t)};var r=oi(si([].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(ri(t,n)){i.rects={reference:Fo(t,_o(n),"fixed"===i.options.strategy),popper:So(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 s=i.orderedModifiers[o],a=s.fn,u=s.options,d=void 0===u?{}:u,c=s.name;"function"===typeof a&&(i=a({state:i,options:d,name:c,instance:l})||i)}else i.reset=!1,o=-1}}},update:ii((function(){return new Promise((function(e){l.forceUpdate(),e(i)}))})),destroy:function(){d(),r=!0}};if(!ri(e,t))return l;function u(){i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,s=e.effect;if("function"===typeof s){var r=s({state:i,name:t,instance:l,options:o}),u=function(){};a.push(r||u)}}))}function d(){a.forEach((function(e){return e()})),a=[]}return l.setOptions(n).then((function(e){!r&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var ui={passive:!0};function di(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,s=void 0===i||i,a=o.resize,r=void 0===a||a,l=so(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach((function(e){e.addEventListener("scroll",n.update,ui)})),r&&l.addEventListener("resize",n.update,ui),function(){s&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ui)})),r&&l.removeEventListener("resize",n.update,ui)}}const ci={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:di,data:{}};function pi(e){return e.split("-")[0]}function hi(e){return e.split("-")[1]}function Di(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function mi(e){var t,n=e.reference,o=e.element,i=e.placement,s=i?pi(i):null,a=i?hi(i):null,r=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(s){case Ao:t={x:r,y:n.y-o.height};break;case Lo:t={x:r,y:n.y+n.height};break;case To:t={x:n.x+n.width,y:l};break;case No:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var u=s?Di(s):null;if(null!=u){var d="y"===u?"height":"width";switch(a){case Mo:t[u]=t[u]-(n[d]/2-o[d]/2);break;case $o:t[u]=t[u]+(n[d]/2-o[d]/2);break;default:}}return t}function fi(e){var t=e.state,n=e.name;t.modifiersData[n]=mi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const gi={name:"popperOffsets",enabled:!0,phase:"read",fn:fi,data:{}};var vi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yi(e){var t=e.x,n=e.y,o=window,i=o.devicePixelRatio||1;return{x:po(t*i)/i||0,y:po(n*i)/i||0}}function bi(e){var t,n=e.popper,o=e.popperRect,i=e.placement,s=e.variation,a=e.offsets,r=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,c=e.isFixed,p=a.x,h=void 0===p?0:p,D=a.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=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),y=No,b=Ao,C=window;if(u){var E=_o(n),F="clientHeight",S="clientWidth";if(E===so(n)&&(E=vo(n),"static"!==bo(E).position&&"absolute"===r&&(F="scrollHeight",S="scrollWidth")),E=E,i===Ao||(i===No||i===To)&&s===$o){b=Lo;var B=c&&E===C&&C.visualViewport?C.visualViewport.height:E[F];m-=B-o.height,m*=l?1:-1}if(i===No||(i===Ao||i===Lo)&&s===$o){y=To;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&&vi),I=!0===d?yi({x:h,y:m}):{x:h,y:m};return h=I.x,m=I.y,l?Object.assign({},x,(k={},k[b]=v?"0":"",k[y]=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[b]=v?m+"px":"",t[y]=g?h+"px":"",t.transform="",t))}function Ci(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=void 0===o||o,s=n.adaptive,a=void 0===s||s,r=n.roundOffsets,l=void 0===r||r,u={placement:pi(t.placement),variation:hi(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,bi(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,bi(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 Ei={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ci,data:{}};function Fi(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];ro(i)&&go(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 Si(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]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),a=s.reduce((function(e,t){return e[t]="",e}),{});ro(o)&&go(o)&&(Object.assign(o.style,a),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}}const Bi={name:"applyStyles",enabled:!0,phase:"write",fn:Fi,effect:Si,requires:["computeStyles"]};function wi(e,t,n){var o=pi(e),i=[No,Ao].indexOf(o)>=0?-1:1,s="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=s[0],r=s[1];return a=a||0,r=(r||0)*i,[No,To].indexOf(o)>=0?{x:r,y:a}:{x:a,y:r}}function ki(e){var t=e.state,n=e.options,o=e.name,i=n.offset,s=void 0===i?[0,0]:i,a=qo.reduce((function(e,n){return e[n]=wi(n,t.rects,s),e}),{}),r=a[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]=a}const xi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ki};var Ii={left:"right",right:"left",bottom:"top",top:"bottom"};function Oi(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ii[e]}))}var _i={start:"end",end:"start"};function Ai(e){return e.replace(/start|end/g,(function(e){return _i[e]}))}function Li(e){var t=so(e),n=vo(e),o=t.visualViewport,i=n.clientWidth,s=n.clientHeight,a=0,r=0;return o&&(i=o.width,s=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=o.offsetLeft,r=o.offsetTop)),{width:i,height:s,x:a+yo(e),y:r}}function Ti(e){var t,n=vo(e),o=Do(e),i=null==(t=e.ownerDocument)?void 0:t.body,s=uo(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=uo(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),r=-o.scrollLeft+yo(e),l=-o.scrollTop;return"rtl"===bo(i||n).direction&&(r+=uo(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:a,x:r,y:l}}function Ni(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&lo(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Pi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Vi(e){var t=ho(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 Mi(e,t){return t===jo?Pi(Li(e)):ao(t)?Vi(t):Pi(Ti(vo(e)))}function $i(e){var t=ko(Bo(e)),n=["absolute","fixed"].indexOf(bo(e).position)>=0,o=n&&ro(e)?_o(e):e;return ao(o)?t.filter((function(e){return ao(e)&&Ni(e,o)&&"body"!==go(e)})):[]}function Ri(e,t,n){var o="clippingParents"===t?$i(e):[].concat(t),i=[].concat(o,[n]),s=i[0],a=i.reduce((function(t,n){var o=Mi(e,n);return t.top=uo(o.top,t.top),t.right=co(o.right,t.right),t.bottom=co(o.bottom,t.bottom),t.left=uo(o.left,t.left),t}),Mi(e,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ji(){return{top:0,right:0,bottom:0,left:0}}function zi(e){return Object.assign({},ji(),e)}function Ki(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Hi(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,s=n.boundary,a=void 0===s?Ro:s,r=n.rootBoundary,l=void 0===r?jo:r,u=n.elementContext,d=void 0===u?zo:u,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,D=void 0===h?0:h,m=zi("number"!==typeof D?D:Ki(D,Vo)),f=d===zo?Ko:zo,g=e.rects.popper,v=e.elements[p?f:d],y=Ri(ao(v)?v:v.contextElement||vo(e.elements.popper),a,l),b=ho(e.elements.reference),C=mi({reference:b,element:g,strategy:"absolute",placement:i}),E=Pi(Object.assign({},g,C)),F=d===zo?E:b,S={top:y.top-F.top+m.top,bottom:F.bottom-y.bottom+m.bottom,left:y.left-F.left+m.left,right:F.right-y.right+m.right},B=e.modifiersData.offset;if(d===zo&&B){var w=B[i];Object.keys(S).forEach((function(e){var t=[To,Lo].indexOf(e)>=0?1:-1,n=[Ao,Lo].indexOf(e)>=0?"y":"x";S[e]+=w[n]*t}))}return S}function qi(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=n.boundary,s=n.rootBoundary,a=n.padding,r=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?qo:l,d=hi(o),c=d?r?Ho:Ho.filter((function(e){return hi(e)===d})):Vo,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]=Hi(e,{placement:n,boundary:i,rootBoundary:s,padding:a})[pi(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}function Wi(e){if(pi(e)===Po)return[];var t=Oi(e);return[Ai(e),t,Ai(t)]}function Zi(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=n.mainAxis,s=void 0===i||i,a=n.altAxis,r=void 0===a||a,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=pi(f),v=g===f,y=l||(v||!D?[Oi(f)]:Wi(f)),b=[f].concat(y).reduce((function(e,n){return e.concat(pi(n)===Po?qi(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=b[0],w=0;w<b.length;w++){var k=b[w],x=pi(k),I=hi(k)===Mo,O=[Ao,Lo].indexOf(x)>=0,_=O?"width":"height",A=Hi(t,{placement:k,boundary:d,rootBoundary:c,altBoundary:p,padding:u}),L=O?I?To:No:I?Lo:Ao;C[_]>E[_]&&(L=Oi(L));var T=Oi(L),N=[];if(s&&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=b.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 Ui={name:"flip",enabled:!0,phase:"main",fn:Zi,requiresIfExists:["offset"],data:{_skip:!1}};function Gi(e){return"x"===e?"y":"x"}function Yi(e,t,n){return uo(e,co(t,n))}function Qi(e,t,n){var o=Yi(e,t,n);return o>n?n:o}function Xi(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,s=void 0===i||i,a=n.altAxis,r=void 0!==a&&a,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=Hi(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:d}),g=pi(t.placement),v=hi(t.placement),y=!v,b=Di(g),C=Gi(b),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(s){var I,O="y"===b?Ao:No,_="y"===b?Lo:To,A="y"===b?"height":"width",L=E[b],T=L+f[O],N=L-f[_],P=h?-S[A]/2:0,V=v===Mo?F[A]:S[A],M=v===Mo?-S[A]:-F[A],$=t.elements.arrow,R=h&&$?So($):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ji(),z=j[O],K=j[_],H=Yi(0,F[A],R[A]),q=y?F[A]/2-P-H-z-w.mainAxis:V-H-z-w.mainAxis,W=y?-F[A]/2+P+H+K+w.mainAxis:M+H+K+w.mainAxis,Z=t.elements.arrow&&_o(t.elements.arrow),U=Z?"y"===b?Z.clientTop||0:Z.clientLeft||0:0,G=null!=(I=null==k?void 0:k[b])?I:0,Y=L+q-G-U,Q=L+W-G,X=Yi(h?co(T,Y):T,L,h?uo(N,Q):N);E[b]=X,x[b]=X-L}if(r){var J,ee="x"===b?Ao:No,te="x"===b?Lo:To,ne=E[C],oe="y"===C?"height":"width",ie=ne+f[ee],se=ne-f[te],ae=-1!==[Ao,No].indexOf(g),re=null!=(J=null==k?void 0:k[C])?J:0,le=ae?ie:ne-F[oe]-S[oe]-re+w.altAxis,ue=ae?ne+F[oe]+S[oe]-re-w.altAxis:se,de=h&&ae?Qi(le,ne,ue):Yi(h?le:ie,ne,h?ue:se);E[C]=de,x[C]=de-ne}t.modifiersData[o]=x}}const Ji={name:"preventOverflow",enabled:!0,phase:"main",fn:Xi,requiresIfExists:["offset"]};var es=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,zi("number"!==typeof e?e:Ki(e,Vo))};function ts(e){var t,n=e.state,o=e.name,i=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,r=pi(n.placement),l=Di(r),u=[No,To].indexOf(r)>=0,d=u?"height":"width";if(s&&a){var c=es(i.padding,n),p=So(s),h="y"===l?Ao:No,D="y"===l?Lo:To,m=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],f=a[l]-n.rects.reference[l],g=_o(s),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=m/2-f/2,b=c[h],C=v-p[d]-c[D],E=v/2-p[d]/2+y,F=Yi(b,E,C),S=l;n.modifiersData[o]=(t={},t[S]=F,t.centerOffset=F-E,t)}}function ns(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))&&Ni(t.elements.popper,i)&&(t.elements.arrow=i)}const os={name:"arrow",enabled:!0,phase:"main",fn:ts,effect:ns,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function is(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 ss(e){return[Ao,To,Lo,No].some((function(t){return e[t]>=0}))}function as(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,a=Hi(t,{elementContext:"reference"}),r=Hi(t,{altBoundary:!0}),l=is(a,o),u=is(r,i,s),d=ss(l),c=ss(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 rs={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:as};var ls=[ci,gi,Ei,Bi,xi,Ui,Ji,os,rs],us=li({defaultModifiers:ls}),ds="tippy-box",cs="tippy-content",ps="tippy-backdrop",hs="tippy-arrow",Ds="tippy-svg-arrow",ms={passive:!0,capture:!0},fs=function(){return document.body};function gs(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function vs(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function ys(e,t){return"function"===typeof e?e.apply(void 0,t):e}function bs(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function Cs(e){return e.split(/\s+/).filter(Boolean)}function Es(e){return[].concat(e)}function Fs(e,t){-1===e.indexOf(t)&&e.push(t)}function Ss(e){return e.filter((function(t,n){return e.indexOf(t)===n}))}function Bs(e){return e.split("-")[0]}function ws(e){return[].slice.call(e)}function ks(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function xs(){return document.createElement("div")}function Is(e){return["Element","Fragment"].some((function(t){return vs(e,t)}))}function Os(e){return vs(e,"NodeList")}function _s(e){return vs(e,"MouseEvent")}function As(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Ls(e){return Is(e)?[e]:Os(e)?ws(e):Array.isArray(e)?e:ws(document.querySelectorAll(e))}function Ts(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ns(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Ps(e){var t,n=Es(e),o=n[0];return null!=o&&null!=(t=o.ownerDocument)&&t.body?o.ownerDocument:document}function Vs(e,t){var n=t.clientX,o=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,s=e.props,a=s.interactiveBorder,r=Bs(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>a,D=o-t.bottom-d>a,m=t.left-n+c>a,f=n-t.right-p>a;return h||D||m||f}))}function Ms(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function $s(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 Rs={isTouch:!1},js=0;function zs(){Rs.isTouch||(Rs.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ks))}function Ks(){var e=performance.now();e-js<20&&(Rs.isTouch=!1,document.removeEventListener("mousemove",Ks)),js=e}function Hs(){var e=document.activeElement;if(As(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function qs(){document.addEventListener("touchstart",zs,ms),window.addEventListener("blur",Hs)}var Ws="undefined"!==typeof window&&"undefined"!==typeof document,Zs=!!Ws&&!!window.msCrypto;var Us={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Gs={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ys=Object.assign({appendTo:fs,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},Us,Gs),Qs=Object.keys(Ys),Xs=function(e){var t=Object.keys(e);t.forEach((function(t){Ys[t]=e[t]}))};function Js(e){var t=e.plugins||[],n=t.reduce((function(t,n){var o,i=n.name,s=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(o=Ys[i])?o:s);return t}),{});return Object.assign({},e,n)}function ea(e,t){var n=t?Object.keys(Js(Object.assign({},Ys,{plugins:t}))):Qs,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 ta(e,t){var n=Object.assign({},t,{content:ys(t.content,[e])},t.ignoreAttributes?{}:ea(e,t.plugins));return n.aria=Object.assign({},Ys.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 na=function(){return"innerHTML"};function oa(e,t){e[na()]=t}function ia(e){var t=xs();return!0===e?t.className=hs:(t.className=Ds,Is(e)?t.appendChild(e):oa(t,e)),t}function sa(e,t){Is(t.content)?(oa(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?oa(e,t.content):e.textContent=t.content)}function aa(e){var t=e.firstElementChild,n=ws(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(cs)})),arrow:n.find((function(e){return e.classList.contains(hs)||e.classList.contains(Ds)})),backdrop:n.find((function(e){return e.classList.contains(ps)}))}}function ra(e){var t=xs(),n=xs();n.className=ds,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=xs();function i(n,o){var i=aa(t),s=i.box,a=i.content,r=i.arrow;o.theme?s.setAttribute("data-theme",o.theme):s.removeAttribute("data-theme"),"string"===typeof o.animation?s.setAttribute("data-animation",o.animation):s.removeAttribute("data-animation"),o.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth="number"===typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?s.setAttribute("role",o.role):s.removeAttribute("role"),n.content===o.content&&n.allowHTML===o.allowHTML||sa(a,e.props),o.arrow?r?n.arrow!==o.arrow&&(s.removeChild(r),s.appendChild(ia(o.arrow))):s.appendChild(ia(o.arrow)):r&&s.removeChild(r)}return o.className=cs,o.setAttribute("data-state","hidden"),sa(o,e.props),t.appendChild(n),n.appendChild(o),i(e.props,e.props),{popper:t,onUpdate:i}}ra.$$tippy=!0;var la=1,ua=[],da=[];function ca(e,t){var n,o,i,s,a,r,l,u=ta(e,Object.assign({},Ys,Js(ks(t)))),d=!1,c=!1,p=!1,h=!1,D=[],m=bs(Y,u.interactiveDebounce),f=la++,g=null,v=Ss(u.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},b={id:f,reference:e,popper:xs(),popperInstance:g,props:u,state:y,plugins:v,clearDelayTimeouts:le,setProps:ue,setContent:de,show:ce,hide:pe,hideWithInteractivity:he,enable:ae,disable:re,unmount:De,destroy:me};if(!u.render)return b;var C=u.render(b),E=C.popper,F=C.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+b.id,b.popper=E,e._tippy=b,E._tippy=b;var S=v.map((function(e){return e.fn(b)})),B=e.hasAttribute("aria-expanded");return Z(),P(),L(),T("onCreate",[b]),u.showOnCreate&&ie(),E.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),E.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&O().addEventListener("mousemove",m)})),b;function w(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function k(){return"hold"===w()[0]}function x(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function I(){return l||e}function O(){var e=I().parentNode;return e?Ps(e):document}function _(){return aa(E)}function A(e){return b.state.isMounted&&!b.state.isVisible||Rs.isTouch||s&&"focus"===s.type?0:gs(b.props.delay,e?0:1,Ys.delay)}function L(e){void 0===e&&(e=!1),E.style.pointerEvents=b.props.interactive&&!e?"":"none",E.style.zIndex=""+b.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=b.props)[e].apply(o,t)}function N(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,o=E.id,i=Es(b.props.triggerTarget||e);i.forEach((function(e){var t=e.getAttribute(n);if(b.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&&b.props.aria.expanded){var t=Es(b.props.triggerTarget||e);t.forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===I()?"true":"false"):e.removeAttribute("aria-expanded")}))}}function V(){O().removeEventListener("mousemove",m),ua=ua.filter((function(e){return e!==m}))}function M(t){if(!Rs.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!$s(E,n)){if(Es(b.props.triggerTarget||e).some((function(e){return $s(e,n)}))){if(Rs.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else T("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),c=!0,setTimeout((function(){c=!1})),b.state.isMounted||z())}}}function $(){p=!0}function R(){p=!1}function j(){var e=O();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,ms),e.addEventListener("touchstart",R,ms),e.addEventListener("touchmove",$,ms)}function z(){var e=O();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,ms),e.removeEventListener("touchstart",R,ms),e.removeEventListener("touchmove",$,ms)}function K(e,t){q(e,(function(){!b.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&&(Ms(n,"remove",o),t())}if(0===e)return t();Ms(n,"remove",a),Ms(n,"add",o),a=o}function W(t,n,o){void 0===o&&(o=!1);var i=Es(b.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})),Cs(b.props.trigger).forEach((function(e){if("manual"!==e)switch(W(e,G),e){case"mouseenter":W("mouseleave",Q);break;case"focus":W(Zs?"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(b.state.isEnabled&&!J(e)&&!c){var o="focus"===(null==(t=s)?void 0:t.type);s=e,l=e.currentTarget,P(),!b.state.isVisible&&_s(e)&&ua.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||d)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ie(e),"click"===e.type&&(d=!n),n&&!o&&se(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);Vs(o,e)&&(V(),se(e))}}function Q(e){var t=J(e)||b.props.trigger.indexOf("click")>=0&&d;t||(b.props.interactive?b.hideWithInteractivity(e):se(e))}function X(e){b.props.trigger.indexOf("focusin")<0&&e.target!==I()||b.props.interactive&&e.relatedTarget&&E.contains(e.relatedTarget)||se(e)}function J(e){return!!Rs.isTouch&&k()!==e.type.indexOf("touch")>=0}function ee(){te();var t=b.props,n=t.popperOptions,o=t.placement,i=t.offset,s=t.getReferenceClientRect,a=t.moveTransition,l=x()?aa(E).arrow:null,u=s?{getBoundingClientRect:s,contextElement:s.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:!a}},d];x()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),b.popperInstance=us(u,E,Object.assign({},n,{placement:o,onFirstUpdate:r,modifiers:c}))}function te(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function ne(){var e,t=b.props.appendTo,n=I();e=b.props.interactive&&t===fs||"parent"===t?n.parentNode:ys(t,[n]),e.contains(E)||e.appendChild(E),b.state.isMounted=!0,ee()}function oe(){return ws(E.querySelectorAll("[data-tippy-root]"))}function ie(e){b.clearDelayTimeouts(),e&&T("onTrigger",[b,e]),j();var t=A(!0),o=w(),i=o[0],s=o[1];Rs.isTouch&&"hold"===i&&s&&(t=s),t?n=setTimeout((function(){b.show()}),t):b.show()}function se(e){if(b.clearDelayTimeouts(),T("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=A(!1);t?o=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else z()}function ae(){b.state.isEnabled=!0}function re(){b.hide(),b.state.isEnabled=!1}function le(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(i)}function ue(t){if(!b.state.isDestroyed){T("onBeforeUpdate",[b,t]),U();var n=b.props,o=ta(e,Object.assign({},n,ks(t),{ignoreAttributes:!0}));b.props=o,Z(),n.interactiveDebounce!==o.interactiveDebounce&&(V(),m=bs(Y,o.interactiveDebounce)),n.triggerTarget&&!o.triggerTarget?Es(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded"),P(),L(),F&&F(n,o),b.popperInstance&&(ee(),oe().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),T("onAfterUpdate",[b,t])}}function de(e){b.setProps({content:e})}function ce(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=Rs.isTouch&&!b.props.touch,i=gs(b.props.duration,0,Ys.duration);if(!(e||t||n||o)&&!I().hasAttribute("disabled")&&(T("onShow",[b],!1),!1!==b.props.onShow(b))){if(b.state.isVisible=!0,x()&&(E.style.visibility="visible"),L(),j(),b.state.isMounted||(E.style.transition="none"),x()){var s=_(),a=s.box,l=s.content;Ts([a,l],0)}r=function(){var e;if(b.state.isVisible&&!h){if(h=!0,E.offsetHeight,E.style.transition=b.props.moveTransition,x()&&b.props.animation){var t=_(),n=t.box,o=t.content;Ts([n,o],i),Ns([n,o],"visible")}N(),P(),Fs(da,b),null==(e=b.popperInstance)||e.forceUpdate(),T("onMount",[b]),b.props.animation&&x()&&H(i,(function(){b.state.isShown=!0,T("onShown",[b])}))}},ne()}}function pe(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=gs(b.props.duration,1,Ys.duration);if(!(e||t||n)&&(T("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,d=!1,x()&&(E.style.visibility="hidden"),V(),z(),L(!0),x()){var i=_(),s=i.box,a=i.content;b.props.animation&&(Ts([s,a],o),Ns([s,a],"hidden"))}N(),P(),b.props.animation?x()&&K(o,b.unmount):b.unmount()}}function he(e){O().addEventListener("mousemove",m),Fs(ua,m),m(e)}function De(){b.state.isVisible&&b.hide(),b.state.isMounted&&(te(),oe().forEach((function(e){e._tippy.unmount()})),E.parentNode&&E.parentNode.removeChild(E),da=da.filter((function(e){return e!==b})),b.state.isMounted=!1,T("onHidden",[b]))}function me(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),U(),delete e._tippy,b.state.isDestroyed=!0,T("onDestroy",[b]))}}function pa(e,t){void 0===t&&(t={});var n=Ys.plugins.concat(t.plugins||[]);qs();var o=Object.assign({},t,{plugins:n}),i=Ls(e),s=i.reduce((function(e,t){var n=t&&ca(t,o);return n&&e.push(n),e}),[]);return Is(e)?s[0]:s}pa.defaultProps=Ys,pa.setDefaultProps=Xs,pa.currentInput=Rs;Object.assign({},Bi,{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 ha={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 s=null,a=null;function r(){var t=i("reference")?o().getBoundingClientRect():null,l=i("popper")?n.getBoundingClientRect():null;(t&&Da(s,t)||l&&Da(a,l))&&e.popperInstance&&e.popperInstance.update(),s=t,a=l,e.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){e.props.sticky&&r()}}}};function Da(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}pa.setDefaultProps({render:ra});const ma=pa,fa=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),ga=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],va=[!0,!1,"reference","popper"],ya=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,ma(e,{...t,plugins:[ha],render:()=>Fa(n)})},ba=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},fa((e=>{let{state:t}=e;n(t.placement)}))]}},Ca=(e,t)=>{const n=document.createElement("span");return n.setAttribute("tabindex",t),n.innerText=e.innerText||"",e.innerText="",e.appendChild(n),n},Ea=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):Ca(e)},Fa=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},Sa={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},Ba={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},wa=["dialog","menu","listbox","tree","grid"],ka=[null,"anchor"],xa=["none","dialog","first"],Ia=[...va];function Oa(e,t,o,i,s,a){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)),[s.initialized?(0,n.renderSlot)(e.$slots,"default",{key:0}):(0,n.createCommentVNode)("",!0)],16),[[n.vShow,o.show]])])),_:3},16,["name","appear"])}const _a={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)}}},Aa=(0,A.Z)(_a,[["render",Oa]]),La=Aa;function Ta(e,t,o,i,s,a){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 Na={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()}}},Pa=(0,A.Z)(Na,[["render",Ta]]),Va=Pa,Ma={name:"DtPopover",components:{DtLazyShow:La,PopoverHeaderFooter:Va},mixins:[yt],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=>wa.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(Sa).some((t=>t===e))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:e=>ka.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=>Ia.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=>xa.includes(e)||e instanceof HTMLElement||e.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["update:open","opened"],data(){return{POPOVER_PADDING_CLASSES:Sa,POPOVER_HEADER_FOOTER_PADDING_CLASSES:Ba,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:ba({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=ya(this.anchorEl,{popperOptions:ba({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 $a=(0,A.Z)(Ma,[["render",io]]),Ra=$a,ja={none:void 0,small:"d-py6",large:"d-py12"},za={name:"DtDropdown",components:{DtPopover:Ra},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(ja).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:ja,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)}}},Ka=(0,A.Z)(za,[["render",to]]),Ha=Ka,qa=["aria-label","alt","title","src"];function Wa(e,t,o,i,s,a){const r=(0,n.resolveComponent)("dt-skeleton");return(0,n.openBlock)(),(0,n.createElementBlock)("span",{class:(0,n.normalizeClass)(a.skeletonSizeClass)},[(0,n.withDirectives)((0,n.createVNode)(r,{offset:0,class:(0,n.normalizeClass)(a.skeletonSizeClass),"shape-option":{shape:"square",contentClass:a.skeletonSizeClass,size:"auto"}},null,8,["class","shape-option"]),[[n.vShow,s.emojiDataLoading||s.imgLoading]]),s.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":a.emojiLabel,alt:a.emojiAlt,title:a.emojiLabel,src:a.emojiSrc,onLoad:t[0]||(t[0]=function(){return a.imageLoaded&&a.imageLoaded(...arguments)}),onError:t[1]||(t[1]=function(){return a.imageErrored&&a.imageErrored(...arguments)})},null,42,qa)),[[n.vShow,!s.imgLoading]])],2)}const Za={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 Ua=o(809),Ga=o.n(Ua);const Ya="6.6",Qa="https://cdn.jsdelivr.net/joypixels/assets/"+Ya+"/png/unicode/32/";let Xa=null,Ja=Qa,er=".png",tr=Qa,nr=".png",or=null;async function ir(){or||(or=await o.e(370).then(o.t.bind(o,370,19)))}function sr(){return or}function ar(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".png";e.endsWith("/")||(e+="/"),Ja=e,er=t}function rr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".svg";e.endsWith("/")||(e+="/"),tr=e,nr=t}function lr(e){Xa=e}function ur(e){dr(e)}async function dr(e){await ir();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 or){const e=or[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()?or[t]=i:console.error("The following custom emoji doesn't contain the required properties:",i)}}))}function cr(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(sr(),null),n}function pr(e){let t="";for(const n of e)""!==t&&(t+="-"),t+=n.codePointAt(0).toString(16);return t}function hr(e){const t=e.split("-");let n="";return t.forEach((e=>{n+=String.fromCodePoint(parseInt(e,16))})),n}async function Dr(e){if(await ir(),e.startsWith(":")&&e.endsWith(":"))return cr(e);{const t=pr(e),n=or[t];return n&&(n.key=t),n}}function mr(e){const t=e.match(/:\w+:/g);return fr(t)}function fr(e){const t=e?e.filter((e=>cr(e))):[];return new Set(t)}function gr(e){const t=[...e.matchAll(Ga()())],n=t.length?t.map((e=>e[0])):[];return new Set(n)}const vr={name:"DtEmoji",components:{DtSkeleton:zn},props:{code:{type:String,default:null},size:{type:String,default:Za.SIZE_20,validator:e=>Object.values(Za).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?Xa+this.emojiData.key+this.emojiData.extension:["d-svg--size14","d-svg--size16"].includes(this.size)?Ja+this.emojiData.key+er:tr+this.emojiData.key+nr:"invalid"},emojiAlt(){if(this.emojiDataValid)return this.emojiData.unicode_output?hr(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 Dr(this.code)},imageLoaded(){this.imgLoading=!1},imageErrored(){this.imgLoading=!1}}},yr=(0,A.Z)(vr,[["render",Wa]]),br=yr,Cr={name:"DtEmojiTextWrapper",components:{DtEmoji:br},inheritAttrs:!1,props:{elementType:{type:String,default:"div"}},data(){return{loadingEmojiJson:!0}},async created(){await ir(),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)(br,{...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=mr(e),n=gr(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))))}},Er=Cr,Fr=Er,Sr={ref:"container",class:"base-input","data-qa":"dt-input"},Br=["aria-details"],wr=["id"],kr={key:0},xr={key:1,"data-qa":"dt-input-length-description",class:(0,n.normalizeClass)(["d-mb2"])},Ir={class:"d-input__wrapper"},Or=["value","name","disabled","maxlength"],_r=["value","name","type","disabled","maxlength"];function Ar(e,t,o,i,s,a){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Sr,[(0,n.createElementVNode)("label",{class:"base-input__label","aria-details":e.$slots.description||o.description?a.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",s.labelSizeClasses[o.size]])},(0,n.toDisplayString)(o.label),3)):(0,n.createCommentVNode)("",!0)])),e.$slots.description||o.description||a.shouldValidateLength?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,id:a.descriptionKey,ref:"description",class:(0,n.normalizeClass)(["base-input__description","d-description","d-fd-column",s.descriptionSizeClasses[o.size]]),"data-qa":"dt-input-description"},[e.$slots.description||o.description?((0,n.openBlock)(),(0,n.createElementBlock)("div",kr,[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.description),1)]))])):(0,n.createCommentVNode)("",!0),a.shouldValidateLength?((0,n.openBlock)(),(0,n.createElementBlock)("div",xr,(0,n.toDisplayString)(a.validationProps.length.description),1)):(0,n.createCommentVNode)("",!0)],10,wr)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",Ir,[e.$slots.leftIcon?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:(0,n.normalizeClass)(a.inputIconClasses("left")),"data-qa":"dt-input-left-icon-wrapper",onFocusout:t[0]||(t[0]=function(){return a.onBlur&&a.onBlur(...arguments)})},[(0,n.renderSlot)(e.$slots,"leftIcon")],34)):(0,n.createCommentVNode)("",!0),a.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:a.inputClasses(),maxlength:a.shouldLimitMaxLength?a.validationProps.length.max:null,"data-qa":"dt-input-input"},e.$attrs,(0,n.toHandlers)(a.inputListeners)),null,16,Or)):((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:a.inputClasses(),maxlength:a.shouldLimitMaxLength?a.validationProps.length.max:null,"data-qa":"dt-input-input"},e.$attrs,(0,n.toHandlers)(a.inputListeners)),null,16,_r)),e.$slots.rightIcon?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:3,class:(0,n.normalizeClass)(a.inputIconClasses("right")),"data-qa":"dt-input-right-icon-wrapper",onFocusout:t[1]||(t[1]=function(){return a.onBlur&&a.onBlur(...arguments)})},[(0,n.renderSlot)(e.$slots,"rightIcon")],34)):(0,n.createCommentVNode)("",!0)])],8,Br),(0,n.createVNode)(r,(0,n.mergeProps)({"validation-messages":a.validationMessages,"show-messages":e.showMessages,class:e.messagesClass},e.messagesChildProps,{"data-qa":"dt-input-messages"}),null,16,["validation-messages","show-messages","class"])],512)}const Lr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Tr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},Nr={key:0,class:"base-input__messages d-d-flex d-fd-column","data-qa":"validation-messages-container"},Pr=["innerHTML"];function Vr(e,t,o,i,s,a){return o.showMessages&&!a.isFilteredValidationMessagesEmpty?((0,n.openBlock)(),(0,n.createElementBlock)("div",Nr,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(a.filteredValidationMessages,((e,t)=>{let{message:o,type:i}=e;return(0,n.openBlock)(),(0,n.createElementBlock)("div",{key:a.getMessageKey(i,t),role:"status","aria-live":"polite","data-qa":"validation-message",class:(0,n.normalizeClass)(["base-input__message","d-validation-message",a.messageTypeClass(i)])},[(0,n.createElementVNode)("p",{innerHTML:o},null,8,Pr)],2)})),128))])):(0,n.createCommentVNode)("",!0)}function Mr(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 $r={name:"DtValidationMessages",props:{id:{type:String,default(){return E()}},validationMessages:{type:Array,default:()=>[],validator:e=>Mr(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]}}},Rr=(0,A.Z)($r,[["render",Vr]]),jr=Rr,zr={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)}}},Kr={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}}},Hr={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)}},qr={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:e=>Mr(e)}},computed:{formattedMessages(){return F(this.messages)}}},Wr={name:"DtInput",components:{DtValidationMessages:jr},mixins:[qr],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Lr.TEXT,validator:e=>Object.values(Lr).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(Tr).includes(e)},iconSize:{type:String,default:null,validator:e=>Object.values(Tr).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===Lr.TEXTAREA},isDefaultSize(){return this.size===Tr.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Tr.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Tr).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,s,a,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===(s=i.length)||void 0===s?void 0:s.warn,message:null===this||void 0===this||null===(a=this.validate)||void 0===a||null===(r=a.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)(Wr,[["render",Ar]]),Ur=Zr,Gr=["data-qa"],Yr=["data-qa"];function Qr(e,t,o,i,s,a){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,Yr)):(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,Gr)}const Xr={components:{DtValidationMessages:jr},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=>Mr(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)}},Jr={name:"DtInputGroup",components:{DtValidationMessages:jr},mixins:[Xr],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)}}},el=(0,A.Z)(Jr,[["render",Qr]]),tl=el,nl=["aria-describedby","aria-labelledby"],ol=["id"],il=["id"],sl={key:2,class:"d-modal__content","data-qa":"dt-modal-copy"},al={key:3,class:"d-modal__content","data-qa":"dt-modal-copy"},rl={key:4,class:"d-modal__footer"};function ll(e,t,o,i,s,a){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",s.MODAL_KIND_MODIFIERS[o.kind],s.MODAL_SIZE_MODIFIERS[o.size],o.modalClass]),"data-qa":"dt-modal","aria-hidden":a.open,onClick:(0,n.withModifiers)(a.close,["self"]),onKeydown:[(0,n.withKeys)(a.close,["esc"]),(0,n.withKeys)(a.trapFocus,["tab"])],onAfterEnter:(0,n.withModifiers)(a.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,ol)):((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,il)),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",sl,[(0,n.renderSlot)(e.$slots,"default")])):((0,n.openBlock)(),(0,n.createElementBlock)("p",al,(0,n.toDisplayString)(o.copy),1)),a.hasFooterSlot?((0,n.openBlock)(),(0,n.createElementBlock)("footer",rl,[(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:a.close}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r)])),_:1},16,["aria-label","kind","onClick"]))],10,nl),[[n.vShow,o.show]])])),_:3})])),_:3},8,["show","class","aria-hidden","onClick","onKeydown","onAfterEnter"])}const ul={default:"",danger:"d-modal--danger"},dl={default:"",full:"d-modal--full"},cl={name:"DtModal",components:{DtLazyShow:La,DtButton:pt,IconClose:Ze},mixins:[yt],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(ul).includes(e)},size:{type:String,default:"default",validator:e=>Object.keys(dl).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:ul,MODAL_SIZE_MODIFIERS:dl}},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)}}},pl=(0,A.Z)(cl,[["render",ll]]),hl=pl,Dl=["id","aria-labelledby"],ml=["id"],fl=["id"],gl=["id"],vl={class:"d-d-flex"};function yl(e,t,o,i,s,a){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,ml)):(0,n.createCommentVNode)("",!0),!a.isCollapsible||s.showAll?((0,n.openBlock)(),(0,n.createElementBlock)("ol",{key:1,id:"".concat(o.id,"-list-section-content")},[(0,n.renderSlot)(e.$slots,"default")],8,fl)):((0,n.openBlock)(),(0,n.createElementBlock)("ol",{key:2,id:"".concat(o.id,"-list-section-content")},[(0,n.createVNode)(r,{vnodes:a.displayedItems},null,8,["vnodes"])],8,gl)),(0,n.createElementVNode)("div",vl,[a.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:a.showMoreLessClicked},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(a.showMoreLessText),1)])),_:1},8,["id","onClick"])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(e.$slots,"footer")])],10,Dl)}const bl={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 Cl=(0,A.Z)(bl,[["render",yl]]),El=Cl;function Fl(e,t,o,i,s,a){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)(a.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 Sl={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}]}}},Bl=(0,A.Z)(Sl,[["render",Fl]]),wl=Bl,kl={class:"d-radio__input"},xl=["checked","name","value","disabled"],Il={class:"d-radio__copy d-radio__label","data-qa":"radio-label-description-container"};function Ol(e,t,o,i,s,a){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",kl,[(0,n.createElementVNode)("input",(0,n.mergeProps)({checked:e.internalChecked,name:e.internalName,value:o.value,disabled:e.internalDisabled,type:"radio",class:["d-radio",a.inputValidationClass,e.inputClass]},e.$attrs,(0,n.toHandlers)(a.inputListeners)),null,16,xl)]),(0,n.createElementVNode)("div",Il,[(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 _l={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Al={name:"DtRadio",components:{DtValidationMessages:jr},mixins:[zr,Kr,Hr,qr],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focus","focusin","focusout","click"],computed:{inputValidationClass(){return _l[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))}}},Ll=(0,A.Z)(Al,[["render",Ol]]),Tl=Ll,Nl={name:"DtRadioGroup",extends:tl,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)}}},Pl=Nl,Vl=Pl,Ml={"data-qa":"dt-tab-group"},$l=["aria-label"];function Rl(e,t,o,i,s,a){return(0,n.openBlock)(),(0,n.createElementBlock)("div",Ml,[(0,n.createElementVNode)("div",(0,n.mergeProps)({ref:"tabs",class:["d-tablist",s.TAB_LIST_SIZE_MODIFIERS[o.size],{[s.TAB_LIST_KIND_MODIFIERS.inverted]:o.inverted,[s.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 a.tabLeft&&a.tabLeft(...arguments)}),["left"])),t[1]||(t[1]=(0,n.withKeys)((function(){return a.tabRight&&a.tabRight(...arguments)}),["right"])),t[2]||(t[2]=(0,n.withKeys)((function(){return a.selectTab&&a.selectTab(...arguments)}),["enter"])),t[3]||(t[3]=(0,n.withKeys)((function(){return a.selectTab&&a.selectTab(...arguments)}),["space"]))],onKeydown:[t[4]||(t[4]=(0,n.withKeys)((function(){return a.onHomeButton&&a.onHomeButton(...arguments)}),["home"])),t[5]||(t[5]=(0,n.withKeys)((function(){return a.onEndButton&&a.onEndButton(...arguments)}),["end"]))]}),[(0,n.renderSlot)(e.$slots,"tabs")],16,$l),(0,n.renderSlot)(e.$slots,"default")])}const jl=["default","sm"],zl={sm:"d-tablist--sm"},Kl={inverted:"d-tablist--inverted"},Hl={borderless:"d-tablist--no-border"},ql={selected:"d-tab--selected"},Wl={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 jl.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:zl,TAB_LIST_KIND_MODIFIERS:Kl,TAB_LIST_IMPORTANCE_MODIFIERS:Hl}},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)(Wl,[["render",Rl]]),Ul=Zl;function Gl(e,t,o,i,s,a){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",{[s.TAB_IMPORTANCE_MODIFIERS.selected]:a.isSelected},o.tabClass],role:"tab","aria-selected":"".concat(a.isSelected),"aria-controls":"dt-panel-".concat(o.panelId),"aria-label":o.label,"data-qa":"dt-tab",tabindex:a.isSelected?"0":"-1",disabled:a.groupContext.disabled||o.disabled},e.$attrs,{onClick:t[0]||(t[0]=e=>a.selectPanel()),onFocus:t[1]||(t[1]=e=>a.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 Yl={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:ql}},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})}}},Ql=(0,A.Z)(Yl,[["render",Gl]]),Xl=Ql,Jl=["id","aria-labelledby","aria-hidden"];function eu(e,t,o,i,s,a){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(a.hidePanel),class:(0,n.normalizeClass)([{"d-d-none":a.hidePanel},o.tabPanelClass]),"data-qa":"dt-tab-panel"},[(0,n.renderSlot)(e.$slots,"default")],10,Jl)),[[n.vShow,!o.hidden]])}const tu={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}}},nu=(0,A.Z)(tu,[["render",eu]]),ou=nu,iu={class:"d-checkbox__input"},su=["checked","name","value","disabled",".indeterminate"],au={key:0,class:"d-checkbox__copy d-checkbox__label","data-qa":"checkbox-label-description-container"};function ru(e,t,o,i,s,a){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",iu,[(0,n.createElementVNode)("input",(0,n.mergeProps)({type:"checkbox",checked:e.internalChecked,name:e.internalName,value:e.value,disabled:e.internalDisabled,class:["d-checkbox",a.inputValidationClass,e.inputClass]},e.$attrs,{".indeterminate":e.internalIndeterminate},(0,n.toHandlers)(a.inputListeners)),null,16,su)]),a.hasLabelOrDescription?((0,n.openBlock)(),(0,n.createElementBlock)("div",au,[a.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),a.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 lu={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},uu={name:"DtCheckbox",components:{DtValidationMessages:jr},mixins:[zr,Kr,Hr,qr],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return lu[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"])}}},du=(0,A.Z)(uu,[["render",ru]]),cu=du,pu={name:"DtCheckboxGroup",extends:tl,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)}}},hu=pu,Du=hu,mu={class:"d-chip"},fu={key:0,"data-qa":"dt-chip-icon",class:"d-chip__icon"},gu={key:1,"data-qa":"dt-chip-avatar"},vu=["id"];function yu(e,t,o,i,s,a){const r=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("span",mu,[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(o.interactive?"button":"span"),(0,n.mergeProps)({id:o.id,type:o.interactive&&"button",class:a.chipClasses(),"data-qa":"dt-chip","aria-labelledby":o.ariaLabel?void 0:"".concat(o.id,"-content"),"aria-label":o.ariaLabel},(0,n.toHandlers)(a.chipListeners)),{default:(0,n.withCtx)((()=>[e.$slots.icon?((0,n.openBlock)(),(0,n.createElementBlock)("span",fu,[(0,n.renderSlot)(e.$slots,"icon")])):e.$slots.avatar?((0,n.openBlock)(),(0,n.createElementBlock)("span",gu,[(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,vu)):(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:a.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 bu={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Cu={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},Eu={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(bu).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",bu[this.size]]},chipCloseButtonClasses(){return["d-chip__close",Cu[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},Fu=(0,A.Z)(Eu,[["render",yu]]),Su=Fu,Bu=["aria-details"],wu=["id"],ku=["disabled"],xu=["value"];function Iu(e,t,o,i,s,a){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":a.labelAriaDetails,class:["d-label",s.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,Bu)):(0,n.createCommentVNode)("",!0),e.$slots.description||o.description?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:1,id:a.descriptionKey,class:["d-description",s.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,wu)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["d-select",s.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",s.SELECT_STATE_MODIFIERS[a.state]]},e.$attrs,{"data-qa":"dt-select",disabled:o.disabled},(0,n.toHandlers)(a.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:a.getOptionKey(e.value),value:e.value,class:o.optionClass},o.optionChildProps),(0,n.toDisplayString)(e.label),17,xu)))),128))]))],16,ku)],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 Ou={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},_u={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},Au=e=>!e.index||"number"===typeof e.index,Lu=e=>!!e.value&&("string"===typeof e.value||"number"===typeof e.value),Tu=e=>!!e.label&&"string"===typeof e.label,Nu=e=>!e||e.every((e=>!!Au(e)&&(!!Lu(e)&&!!Tu(e)))),Pu={name:"DtSelectMenu",components:{DtValidationMessages:jr},mixins:[qr],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:e=>Nu(e)},size:{type:String,default:"md",validator:e=>Object.keys(Ou).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:Ou,SELECT_STATE_MODIFIERS:_u}},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)}}},Vu=(0,A.Z)(Pu,[["render",Iu]]),Mu=Vu,$u=["aria-hidden"],Ru={class:"d-toast__dialog"};function ju(e,t,o,i,s,a){const r=(0,n.resolveComponent)("dt-notice-icon"),l=(0,n.resolveComponent)("dt-notice-content"),u=(0,n.resolveComponent)("dt-notice-action");return s.isShown?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:(0,n.normalizeClass)(["d-toast",a.kindClass,{"d-toast--important":o.important}]),"data-qa":"dt-toast","aria-hidden":(!s.isShown).toString()},[(0,n.createElementVNode)("div",Ru,[(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:a.closeToast},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"action")])),_:3},8,["hide-close","close-button-props","onClose"])])],10,$u)):(0,n.createCommentVNode)("",!0)}const zu=["status","alert"],Ku=6e3,Hu={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=>zu.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>=Ku}},emits:["close","click","update:show"],data(){return{isShown:!1,minDuration:Ku}},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))}}},qu=(0,A.Z)(Hu,[["render",ju]]),Wu=qu,Zu={class:"d-d-flex d-ai-center"},Uu=["for"],Gu=["id","aria-checked","disabled","aria-disabled"],Yu=(0,n.createElementVNode)("span",{class:"d-toggle__inner"},null,-1),Qu=[Yu];function Xu(e,t,o,i,s,a){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,Uu)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("button",(0,n.mergeProps)({id:o.id,role:"switch",type:"button","aria-checked":s.internalChecked.toString(),disabled:o.disabled,"aria-disabled":o.disabled.toString(),class:["d-toggle",{"d-toggle--checked":s.internalChecked,"d-toggle--disabled":o.disabled}]},a.inputListeners),Qu,16,Gu)])}const Ju={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)}}},ed=(0,A.Z)(Ju,[["render",Xu]]),td=ed,nd={"data-qa":"dt-tooltip-container"};function od(e,t,o,i,s,a){const r=(0,n.resolveComponent)("dt-lazy-show");return(0,n.openBlock)(),(0,n.createElementBlock)("div",nd,[(0,n.createElementVNode)("div",{ref:"anchor","data-qa":"dt-tooltip-anchor",onFocusin:t[0]||(t[0]=function(){return a.onEnterAnchor&&a.onEnterAnchor(...arguments)}),onFocusout:t[1]||(t[1]=function(){return a.onLeaveAnchor&&a.onLeaveAnchor(...arguments)}),onMouseenter:t[2]||(t[2]=function(){return a.onEnterAnchor&&a.onEnterAnchor(...arguments)}),onMouseleave:t[3]||(t[3]=function(){return a.onLeaveAnchor&&a.onLeaveAnchor(...arguments)}),onKeydown:t[4]||(t[4]=(0,n.withKeys)((function(){return a.onLeaveAnchor&&a.onLeaveAnchor(...arguments)}),["esc"]))},[(0,n.renderSlot)(e.$slots,"anchor")],544),(0,n.createVNode)(r,{id:o.id,ref:"content",show:s.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(s.currentPlacement),{[s.TOOLTIP_KIND_MODIFIERS.inverted]:o.inverted},o.contentClass]),onAfterLeave:a.onLeaveTransitionComplete,onAfterEnter:a.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 id=[...ga],sd={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},ad=[...va],rd=[!0,!1,"toggle"],ld={name:"Tooltip",components:{DtLazyShow:La},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 id.includes(e)}},sticky:{type:[Boolean,String],default:!1,validator:e=>ad.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:sd,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:ba({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=ya(Ea(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 Ea(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 ud=(0,A.Z)(ld,[["render",od]]),dd=ud,cd={key:0,class:"sr-only"},pd=["innerHTML"];function hd(e,t,o,i,s,a){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",cd,(0,n.toDisplayString)(o.screenReaderText),1)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(a.formattedShortcutSplit,((e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[a.icons[e]?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(a.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,pd))],64)))),256))],2)}const Dd={"aria-hidden":"true","aria-label":"Windows",class:"d-svg d-svg--system d-svg__windows",viewBox:"0 0 24 24"},md=(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),fd=[md];function gd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Dd,fd)}const vd={},yd=(0,A.Z)(vd,[["render",gd]]),bd=yd,Cd={"aria-hidden":"true","aria-label":"Add",class:"d-svg d-svg--system d-svg__add",viewBox:"0 0 24 24"},Ed=(0,n.createElementVNode)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"},null,-1),Fd=[Ed];function Sd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Cd,Fd)}const Bd={},wd=(0,A.Z)(Bd,[["render",Sd]]),kd=wd,xd={"aria-hidden":"true","aria-label":"Arrow Downward",class:"d-svg d-svg--system d-svg__arrowDownward",viewBox:"0 0 24 24"},Id=(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),Od=[Id];function _d(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",xd,Od)}const Ad={},Ld=(0,A.Z)(Ad,[["render",_d]]),Td=Ld,Nd={"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),Vd=[Pd];function Md(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Nd,Vd)}const $d={},Rd=(0,A.Z)($d,[["render",Md]]),jd=Rd,zd={"aria-hidden":"true","aria-label":"Arrow Forward",class:"d-svg d-svg--system d-svg__arrowForward",viewBox:"0 0 24 24"},Kd=(0,n.createElementVNode)("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"},null,-1),Hd=[Kd];function qd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",zd,Hd)}const Wd={},Zd=(0,A.Z)(Wd,[["render",qd]]),Ud=Zd,Gd={"aria-hidden":"true","aria-label":"Arrow Backwards",class:"d-svg d-svg--system d-svg__arrowBackwards",viewBox:"0 0 24 24"},Yd=(0,n.createElementVNode)("path",{d:"M12 20l1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8z"},null,-1),Qd=[Yd];function Xd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Gd,Qd)}const Jd={},ec=(0,A.Z)(Jd,[["render",Xd]]),tc=ec,nc={cmd:"⌘"},oc={"{win}":"IconWindows","{arrow-right}":"IconArrowForward","{arrow-left}":"IconArrowBackward","{arrow-up}":"IconArrowUpward","{arrow-down}":"IconArrowDownward"},ic={"{plus}":"IconAdd"},sc=Object.keys(nc).map((e=>"{".concat(e,"}"))).concat(Object.keys(oc)),ac={name:"DtKeyboardShortcut",components:{IconWindows:bd,IconArrowBackward:tc,IconArrowDownward:Td,IconArrowForward:Ud,IconArrowUpward:jd,IconAdd:kd},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:oc,separator:/\+/gi}},computed:{icons(){return{...oc,...ic}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(nc).reduce(((e,t)=>e.replace(new RegExp("{"+t+"}","gi"),nc[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 rc=(0,A.Z)(ac,[["render",hd]]),lc=rc,uc={class:"root-layout"};function dc(e,t,o,i,s,a){const r=(0,n.resolveComponent)("dt-root-layout-body");return(0,n.openBlock)(),(0,n.createElementBlock)("div",uc,[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 cc(e,t,o,i,s,a){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["root-layout__body",a.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 pc={LEFT:"left",RIGHT:"right"},hc={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===pc.RIGHT}}}};o(683);const Dc=(0,A.Z)(hc,[["render",cc]]),mc=Dc,fc={name:"DtRootLayout",components:{DtRootLayoutBody:mc},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(pc).includes(e)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}};o(257);const gc=(0,A.Z)(fc,[["render",dc]]),vc=gc,yc=["id"],bc=["onMouseleave","onFocusout"];function Cc(e,t,o,i,s,a){const r=(0,n.resolveComponent)("combobox-loading-list"),l=(0,n.resolveComponent)("combobox-empty-list"),u=(0,n.resolveComponent)("dt-popover"),d=(0,n.resolveComponent)("dt-combobox");return(0,n.openBlock)(),(0,n.createBlock)(d,(0,n.mergeProps)({ref:"combobox",loading:o.loading,"show-list":s.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"},a.comboboxListeners),{input:(0,n.withCtx)((o=>{let{inputProps:i}=o;return[(0,n.createElementVNode)("div",{id:s.externalAnchor,ref:"input",onFocusin:t[0]||(t[0]=function(){return a.onFocusIn&&a.onFocusIn(...arguments)}),onFocusout:t[1]||(t[1]=function(){return a.onFocusOut&&a.onFocusOut(...arguments)}),onKeydown:[t[2]||(t[2]=(0,n.withKeys)((e=>a.openOnArrowKeyPress(e)),["up"])),t[3]||(t[3]=(0,n.withKeys)((e=>a.openOnArrowKeyPress(e)),["down"]))]},[(0,n.renderSlot)(e.$slots,"input",{inputProps:i,onInput:a.handleDisplayList})],40,yc)]})),list:(0,n.withCtx)((i=>{let{opened:d,listProps:c,clearHighlightIndex:p,isLoading:h,isListEmpty:D}=i;return[(0,n.createVNode)(u,{ref:"popover",open:s.isListShown,"onUpdate:open":t[6]||(t[6]=e=>s.isListShown=e),"hide-on-click":null===o.showList,"max-height":o.maxHeight,"max-width":o.maxWidth,offset:o.popoverOffset,sticky:o.popoverSticky,placement:"bottom-start",padding:"none",role:"listbox","external-anchor":s.externalAnchor,"content-width":o.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,onOpened:d},(0,n.createSlots)({content:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{ref:"listWrapper",class:(0,n.normalizeClass)([s.DROPDOWN_PADDING_CLASSES[o.padding],o.listClass]),onMouseleave:p,onFocusout:e=>{a.onFocusOut}},[h?((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.normalizeProps)((0,n.mergeProps)({key:0},c)),null,16)):D?((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:1},c,{message:o.emptyStateMessage}),null,16,["message"])):(0,n.renderSlot)(e.$slots,"list",{key:2,listProps:c})],42,bc)])),_:2},[e.$slots.header?{name:"headerContent",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{ref:"header",onFocusout:t[4]||(t[4]=function(){return a.onFocusOut&&a.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 a.onFocusOut&&a.onFocusOut(...arguments)})},[(0,n.renderSlot)(e.$slots,"footer")],544)]))}:void 0]),1032,["open","hide-on-click","max-height","max-width","offset","sticky","external-anchor","content-width","onOpened"])]})),_:3},16,["loading","show-list","on-beginning-of-list","on-end-of-list","list-aria-label","list-id"])}const Ec={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:Jn,DtPopover:Ra,ComboboxLoadingList:qn,ComboboxEmptyList:Yn},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(ja).some((t=>t===e))},contentWidth:{type:String,default:null,validator:e=>ka.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},emptyStateMessage:{type:String,default:""}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:ja,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:{handleDisplayList(e){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()}}},Fc=(0,A.Z)(Ec,[["render",Cc]]),Sc=Fc,Bc={ref:"inputSlotWrapper",class:"d-ps-relative"},wc={ref:"chipsWrapper",class:"d-ps-absolute d-mx2"},kc={ref:"header"},xc={ref:"list"},Ic={key:1,class:"d-ta-center d-py16"},Oc={ref:"footer"};function _c(e,t,o,i,s,a){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":s.popoverOffset,"has-suggestion-list":o.hasSuggestionList,"content-width":"anchor",onSelect:a.onComboboxSelect},(0,n.createSlots)({input:(0,n.withCtx)((e=>{let{onInput:i}=e;return[(0,n.createElementVNode)("span",Bc,[(0,n.createElementVNode)("span",wc,[((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)(a.chipListeners),{onKeyup:(0,n.withKeys)((t=>a.onChipRemove(e)),["backspace"]),onClose:t=>a.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:s.value,"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),class:"d-fl-grow1 d-mb4",label:o.label,description:o.description,placeholder:a.inputPlaceHolder,"show-messages":o.showInputMessages,messages:o.inputMessages,size:o.size},(0,n.toHandlers)(a.inputListeners),{onInput:i}),null,16,["modelValue","label","description","placeholder","show-messages","messages","size","onInput"]),(0,n.createVNode)(u,{"validation-messages":o.maxSelectedMessage,"show-messages":s.showValidationMessages},null,8,["validation-messages","show-messages"])],512)]})),list:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",xc,[o.loading?((0,n.openBlock)(),(0,n.createElementBlock)("div",Ic,(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",kc,[(0,n.renderSlot)(e.$slots,"header")],512)]))}:void 0,e.$slots.footer?{name:"footer",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Oc,[(0,n.renderSlot)(e.$slots,"footer")],512)]))}:void 0]),1032,["show-list","max-height","popover-offset","has-suggestion-list","onSelect"])}const Ac={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},Lc={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:Sc,DtInput:Ur,DtChip:Su,DtValidationMessages:jr},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=>Mr(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(Ac).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)}}},Tc=(0,A.Z)(Lc,[["render",_c]]),Nc=Tc,Pc={class:"d-ps-relative","data-qa":"contact-info-left"},Vc=["src","alt"],Mc={"data-qa":"contact-info-header"},$c={"data-qa":"contact-info-subtitle"},Rc={"data-qa":"contact-info-bottom"},jc={"data-qa":"contact-info-right"};function zc(e,t,o,i,s,a){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",Pc,[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,Vc)])),_: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),a.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",s.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",Mc,[(0,n.renderSlot)(e.$slots,"header")])])),subtitle:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",$c,[(0,n.renderSlot)(e.$slots,"subtitle")])])),bottom:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Rc,[(0,n.renderSlot)(e.$slots,"bottom")])])),right:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",jc,[(0,n.renderSlot)(e.$slots,"right")])])),_:3},8,["id","role"])}const Kc={none:"",green:"d-bgc-green-400",yellow:"d-bgc-yellow-400",red:"d-bgc-red-400"},Hc={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(Kc).includes(e)}},data(){return{USER_STATUS_COLOR_MODIFIERS:Kc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},qc=(0,A.Z)(Hc,[["render",zc]]),Wc=qc,Zc={class:"d-top-banner-info__left"},Uc={class:"d-top-banner-info__middle d-my4"},Gc={class:"d-top-banner-info__right d-ta-right"};function Yc(e,t,o,i,s,a){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",a.bannerInfoClass]),"data-qa":"banner-info"},[(0,n.createElementVNode)("div",Zc,[(0,n.renderSlot)(e.$slots,"left")]),(0,n.createElementVNode)("div",Uc,[(0,n.renderSlot)(e.$slots,"default")]),(0,n.createElementVNode)("div",Gc,[(0,n.renderSlot)(e.$slots,"right")])],2)}const Qc=["green400","green200","red200","red100","yellow200","yellow400","yellow050","black100","white"],Xc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green400",validator:function(e){return Qc.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 Jc=(0,A.Z)(Xc,[["render",Yc]]),ep=Jc})(),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},420:(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})},749:(e,t,n)=>{var o=n(420);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("3707645e",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:()=>N,BREADCRUMBS_INVERTED_MODIFIER:()=>kt,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>Bt,BUTTON_GROUP_ALIGNMENT:()=>$t,CHIP_SIZE_MODIFIERS:()=>Ru,COLOR_CODES:()=>gp,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>D,DESCRIPTION_SIZE_TYPES:()=>c,DtAvatar:()=>T,DtBadge:()=>$,DtBanner:()=>Et,DtBreadcrumbItem:()=>Tt,DtBreadcrumbs:()=>Vt,DtButton:()=>pt,DtButtonGroup:()=>zt,DtCheckableInputMixin:()=>Kr,DtCheckbox:()=>_u,DtCheckboxGroup:()=>Tu,DtChip:()=>Hu,DtCombobox:()=>Jn,DtDropdown:()=>Hs,DtEmoji:()=>yr,DtEmojiTextWrapper:()=>Fr,DtGroupableInputMixin:()=>Hr,DtInput:()=>Ur,DtInputGroup:()=>tl,DtInputGroupMixin:()=>Xr,DtInputMixin:()=>zr,DtKeyboardListNavigationMixin:()=>Ut,DtKeyboardShortcut:()=>xc,DtLazyShow:()=>Ls,DtLink:()=>_t,DtListItem:()=>hn,DtListSection:()=>El,DtModal:()=>hl,DtNotice:()=>kl,DtPagination:()=>Wl,DtPopover:()=>Rs,DtRadio:()=>eu,DtRadioGroup:()=>ou,DtRecipeComboboxMultiSelect:()=>tp,DtRecipeComboboxWithPopover:()=>Hc,DtRecipeContactInfo:()=>pp,DtRecipeTopBannerInfo:()=>yp,DtRootLayout:()=>Mc,DtSelectMenu:()=>id,DtSkeleton:()=>zn,DtSkeletonListItem:()=>$n,DtSkeletonParagraph:()=>Nn,DtSkeletonShape:()=>Bn,DtSkeletonText:()=>An,DtTab:()=>vu,DtTabGroup:()=>Du,DtTabPanel:()=>Fu,DtToast:()=>pd,DtToggle:()=>Cd,DtTooltip:()=>Od,DtValidationMessages:()=>jr,EMOJI_SIZES:()=>Zs,INPUT_SIZES:()=>Tr,INPUT_TYPES:()=>Lr,LINK_KIND_MODIFIERS:()=>ut,LINK_VARIANTS:()=>lt,MODAL_KIND_MODIFIERS:()=>ul,MODAL_SIZE_MODIFIERS:()=>dl,MULTI_SELECT_SIZES:()=>Xc,NOTICE_KINDS:()=>ke,POPOVER_CONTENT_WIDTHS:()=>ws,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>Bs,POPOVER_INITIAL_FOCUS_STRINGS:()=>xs,POPOVER_PADDING_CLASSES:()=>Ss,POPOVER_ROLES:()=>ks,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>Ac,SELECT_SIZE_MODIFIERS:()=>Yu,SELECT_STATE_MODIFIERS:()=>Qu,SHORTCUTS_ALIASES:()=>Ec,SHORTCUTS_ALIASES_LIST:()=>Bc,SHORTCUTS_ICON_ALIASES:()=>Fc,SHORTCUTS_ICON_SEPARATOR:()=>Sc,SKELETON_HEADING_HEIGHTS:()=>Cn,SKELETON_RIPPLE_DURATION:()=>gn,SKELETON_SHAPES:()=>vn,SKELETON_SHAPE_SIZES:()=>yn,SKELETON_TEXT_TYPES:()=>bn,TAB_IMPORTANCE_MODIFIERS:()=>cu,TAB_LIST_IMPORTANCE_MODIFIERS:()=>du,TAB_LIST_KIND_MODIFIERS:()=>uu,TAB_LIST_SIZES:()=>ru,TOAST_ROLES:()=>ld,TOOLTIP_DIRECTIONS:()=>Sd,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>wd,TOOLTIP_KIND_MODIFIERS:()=>Bd,TOOLTIP_STICKY_VALUES:()=>kd,USER_STATUS_COLOR_MODIFIERS:()=>up,VALIDATION_MESSAGE_TYPES:()=>d,codeToEmojiData:()=>Dr,customEmojiAssetUrl:()=>Xs,defaultEmojiAssetUrl:()=>Qs,emojiFileExtensionLarge:()=>nr,emojiFileExtensionSmall:()=>er,emojiImageUrlLarge:()=>tr,emojiImageUrlSmall:()=>Js,emojiJson:()=>or,emojiVersion:()=>Ys,filterFormattedMessages:()=>S,filterValidShortCodes:()=>fr,findEmojis:()=>gr,findShortCodes:()=>mr,formatMessages:()=>F,getEmojiData:()=>ar,getEmojiJson:()=>ir,getUniqueString:()=>E,getValidationState:()=>B,setCustomEmojiJson:()=>ur,setCustomEmojiUrl:()=>lr,setEmojiAssetUrlLarge:()=>rr,setEmojiAssetUrlSmall:()=>sr,shortcodeToEmojiData:()=>cr,stringToUnicode:()=>hr,unicodeToString:()=>pr,validateCustomEmojiJson:()=>dr,validationMessageValidator:()=>Mr}),"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?k(e,d.ERROR)?d.ERROR:k(e,d.WARNING)?d.WARNING:k(e,d.SUCCESS)?d.SUCCESS:null:null}function k(e,t){return!(!e||!t)&&e.some((e=>(null===e||void 0===e?void 0:e.type)===t))}function w(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:k,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 P(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 N={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(N).includes(e)}},data(){return{BADGE_COLOR_MODIFIERS:N}}},M=(0,A.Z)(V,[["render",P]]),$=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,ke=["base","error","info","success","warning"],we=["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 ke.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 Pe(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 Ne={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},Ve=(0,A.Z)(Ne,[["render",Pe]]),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 ke.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",kt="d-breadcrumbs--inverted";function wt(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",wt]]),Tt=Lt,Pt={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:kt}},methods:{getBreadcrumbItemKey(e){return"breadcrumbs-item-".concat(e,"-").concat(O.getUniqueString())}}},Nt=(0,A.Z)(Pt,[["render",St]]),Vt=Nt;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"),l=(0,n.resolveComponent)("combobox-empty-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)})},[a.isLoading&&!o.listRenderedOutside?((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.normalizeProps)((0,n.mergeProps)({key:0},s.listProps)),null,16)):a.isListEmpty&&!o.listRenderedOutside?((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:1},s.listProps,{message:o.emptyStateMessage}),null,16,["message"])):(0,n.renderSlot)(e.$slots,"list",{key:2,listProps:s.listProps,opened:s.onOpen,clearHighlightIndex:s.clearHighlightIndex,isLoading:a.isLoading,isListEmpty:a.isListEmpty})],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)},setHighlightIndex(e){this[t]=e,this[n]=this._getItemId(e),this._itemsLength()&&s&&this[s](e)},setHighlightId(e){this[n]=e,this[t]=this._getItemIndex(e),this._itemsLength()&&s&&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,kn={class:"d-d-flex d-fd-column d-w100p"};function wn(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",kn,[(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%"}}},Pn=(0,A.Z)(Tn,[["render",xn]]),Nn=Pn,Vn={name:"DtSkeletonListItem",components:{DtSkeletonShape:Bn,DtSkeletonParagraph:Nn},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",wn]]),$n=Mn,Rn={name:"DtSkeleton",components:{DtSkeletonText:An,DtSkeletonShape:Bn,DtSkeletonListItem:$n,DtSkeletonParagraph:Nn},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={class:"d-p0","data-qa":"dt-combobox-empty-list"};function Zn(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-list-item");return(0,n.openBlock)(),(0,n.createElementBlock)("ol",Wn,[(0,n.createVNode)(r,{class:"d-d-flex d-jc-center",role:"option","navigation-type":"arrow-keys"},{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("span",null,(0,n.toDisplayString)(o.message),1)])),_:1})])}const Un={name:"ComboboxEmptyList",components:{DtListItem:hn},props:{message:{type:String,required:!0}}},Gn=(0,A.Z)(Un,[["render",Zn]]),Yn=Gn,Qn={name:"DtCombobox",components:{ComboboxLoadingList:qn,ComboboxEmptyList:Yn},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},emptyStateMessage:{type:String,default:""}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null,isListEmpty:void 0,isLoading:void 0}},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.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",e)),!e&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null,this.isListEmpty=void 0)},loading(e){this.isListEmpty=void 0,this.isLoading=e,this.$nextTick((()=>{this.isListEmpty=this.checkItemsLength(),this.setInitialHighlightIndex()}))}},async mounted(){this.isLoading=this.loading,await this.$nextTick(),this.isListEmpty=this.checkItemsLength()},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,t;return null!==(e=this.outsideRenderedListRef)&&void 0!==e?e:null===(t=this.$refs.listWrapper)||void 0===t?void 0:t.querySelector("#".concat(this.listId))},clearHighlightIndex(){this.showList&&this.setHighlightIndex(-1)},afterHighlight(){this.loading||this.$emit("highlight",this.highlightIndex)},onEnterKey(){this.loading||this.isListEmpty||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.isListEmpty=this.checkItemsLength(),this.setInitialHighlightIndex())},onKeyValidation(e,t){this.showList&&this.getListElement()&&this[t](e)},setInitialHighlightIndex(){this.showList&&this.$nextTick((()=>{this.setHighlightIndex(this.loading?-1:0)}))},checkItemsLength(){if(!this.showList)return;const e=this.getListElement(),t=null===e||void 0===e?void 0:e.querySelectorAll('[role="option"]');return 0===(null===t||void 0===t?void 0:t.length)}}},Xn=(0,A.Z)(Qn,[["render",qt]]),Jn=Xn,eo=["id"];function to(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,eo)]})),_:3},16,["content-width","open","placement","initial-focus-element","fallback-placements","modal","max-height","max-width","onOpened","onKeydown"])}const no=["aria-hidden"],oo=["id"];function io(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,no)])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(o.elementType),{ref:"popover",class:(0,n.normalizeClass)(["d-popover",{"d-popover__anchor--modal-opened":o.modal&&a.isOpen}]),"data-qa":"dt-popover-container"},{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,oo),(0,n.createVNode)(l,{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:(0,n.normalizeClass)(["d-popover__dialog",{"d-popover__dialog--modal":o.modal},o.dialogClass]),style:(0,n.normalizeStyle)({"max-height":o.maxHeight,"max-width":o.maxWidth}),css:e.$attrs.css,tabindex:o.contentTabindex,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},8,["id","role","aria-hidden","aria-labelledby","aria-label","aria-modal","transition","show","class","style","css","tabindex","onKeydownCapture","onAfterLeave","onAfterEnter"])])),_:3},8,["class"]))])}function ao(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function so(e){var t=ao(e).Element;return e instanceof t||e instanceof Element}function ro(e){var t=ao(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function lo(e){if("undefined"===typeof ShadowRoot)return!1;var t=ao(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var uo=Math.max,co=Math.min,po=Math.round;function ho(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if(ro(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(o=po(n.width)/s||1),a>0&&(i=po(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 Do(e){var t=ao(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function mo(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fo(e){return e!==ao(e)&&ro(e)?mo(e):Do(e)}function go(e){return e?(e.nodeName||"").toLowerCase():null}function vo(e){return((so(e)?e.ownerDocument:e.document)||window.document).documentElement}function bo(e){return ho(vo(e)).left+Do(e).scrollLeft}function yo(e){return ao(e).getComputedStyle(e)}function Co(e){var t=yo(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function Eo(e){var t=e.getBoundingClientRect(),n=po(t.width)/e.offsetWidth||1,o=po(t.height)/e.offsetHeight||1;return 1!==n||1!==o}function Fo(e,t,n){void 0===n&&(n=!1);var o=ro(t),i=ro(t)&&Eo(t),a=vo(t),s=ho(e,i),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==go(t)||Co(a))&&(r=fo(t)),ro(t)?(l=ho(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=bo(a))),{x:s.left+r.scrollLeft-l.x,y:s.top+r.scrollTop-l.y,width:s.width,height:s.height}}function So(e){var t=ho(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 Bo(e){return"html"===go(e)?e:e.assignedSlot||e.parentNode||(lo(e)?e.host:null)||vo(e)}function ko(e){return["html","body","#document"].indexOf(go(e))>=0?e.ownerDocument.body:ro(e)&&Co(e)?e:ko(Bo(e))}function wo(e,t){var n;void 0===t&&(t=[]);var o=ko(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=ao(o),s=i?[a].concat(a.visualViewport||[],Co(o)?o:[]):o,r=t.concat(s);return i?r:r.concat(wo(Bo(s)))}function xo(e){return["table","td","th"].indexOf(go(e))>=0}function Io(e){return ro(e)&&"fixed"!==yo(e).position?e.offsetParent:null}function Oo(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&ro(e)){var o=yo(e);if("fixed"===o.position)return null}var i=Bo(e);lo(i)&&(i=i.host);while(ro(i)&&["html","body"].indexOf(go(i))<0){var a=yo(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 _o(e){var t=ao(e),n=Io(e);while(n&&xo(n)&&"static"===yo(n).position)n=Io(n);return n&&("html"===go(n)||"body"===go(n)&&"static"===yo(n).position)?t:n||Oo(e)||t}var Ao="top",Lo="bottom",To="right",Po="left",No="auto",Vo=[Ao,Lo,To,Po],Mo="start",$o="end",Ro="clippingParents",jo="viewport",zo="popper",Ko="reference",Ho=Vo.reduce((function(e,t){return e.concat([t+"-"+Mo,t+"-"+$o])}),[]),qo=[].concat(Vo,[No]).reduce((function(e,t){return e.concat([t,t+"-"+Mo,t+"-"+$o])}),[]),Wo="beforeRead",Zo="read",Uo="afterRead",Go="beforeMain",Yo="main",Qo="afterMain",Xo="beforeWrite",Jo="write",ei="afterWrite",ti=[Wo,Zo,Uo,Go,Yo,Qo,Xo,Jo,ei];function ni(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 oi(e){var t=ni(e);return ti.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function ii(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function ai(e){var t=e.reduce((function(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 si={placement:"bottom",modifiers:[],strategy:"absolute"};function ri(){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 li(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?si:i;return function(e,t,n){void 0===n&&(n=a);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},si,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:so(e)?wo(e):e.contextElement?wo(e.contextElement):[],popper:wo(t)};var r=oi(ai([].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(ri(t,n)){i.rects={reference:Fo(t,_o(n),"fixed"===i.options.strategy),popper:So(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:ii((function(){return new Promise((function(e){l.forceUpdate(),e(i)}))})),destroy:function(){d(),r=!0}};if(!ri(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 ui={passive:!0};function di(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=ao(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,ui)})),r&&l.addEventListener("resize",n.update,ui),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ui)})),r&&l.removeEventListener("resize",n.update,ui)}}const ci={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:di,data:{}};function pi(e){return e.split("-")[0]}function hi(e){return e.split("-")[1]}function Di(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function mi(e){var t,n=e.reference,o=e.element,i=e.placement,a=i?pi(i):null,s=i?hi(i):null,r=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(a){case Ao:t={x:r,y:n.y-o.height};break;case Lo:t={x:r,y:n.y+n.height};break;case To:t={x:n.x+n.width,y:l};break;case Po:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?Di(a):null;if(null!=u){var d="y"===u?"height":"width";switch(s){case Mo:t[u]=t[u]-(n[d]/2-o[d]/2);break;case $o:t[u]=t[u]+(n[d]/2-o[d]/2);break;default:}}return t}function fi(e){var t=e.state,n=e.name;t.modifiersData[n]=mi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const gi={name:"popperOffsets",enabled:!0,phase:"read",fn:fi,data:{}};var vi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function bi(e){var t=e.x,n=e.y,o=window,i=o.devicePixelRatio||1;return{x:po(t*i)/i||0,y:po(n*i)/i||0}}function yi(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=Po,y=Ao,C=window;if(u){var E=_o(n),F="clientHeight",S="clientWidth";if(E===ao(n)&&(E=vo(n),"static"!==yo(E).position&&"absolute"===r&&(F="scrollHeight",S="scrollWidth")),E=E,i===Ao||(i===Po||i===To)&&a===$o){y=Lo;var B=c&&E===C&&C.visualViewport?C.visualViewport.height:E[F];m-=B-o.height,m*=l?1:-1}if(i===Po||(i===Ao||i===Lo)&&a===$o){b=To;var k=c&&E===C&&C.visualViewport?C.visualViewport.width:E[S];h-=k-o.width,h*=l?1:-1}}var w,x=Object.assign({position:r},u&&vi),I=!0===d?bi({x:h,y:m}):{x:h,y:m};return h=I.x,m=I.y,l?Object.assign({},x,(w={},w[y]=v?"0":"",w[b]=g?"0":"",w.transform=(C.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",w)):Object.assign({},x,(t={},t[y]=v?m+"px":"",t[b]=g?h+"px":"",t.transform="",t))}function Ci(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:pi(t.placement),variation:hi(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,yi(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,yi(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 Ei={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ci,data:{}};function Fi(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];ro(i)&&go(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 Si(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}),{});ro(o)&&go(o)&&(Object.assign(o.style,s),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}}const Bi={name:"applyStyles",enabled:!0,phase:"write",fn:Fi,effect:Si,requires:["computeStyles"]};function ki(e,t,n){var o=pi(e),i=[Po,Ao].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,[Po,To].indexOf(o)>=0?{x:r,y:s}:{x:s,y:r}}function wi(e){var t=e.state,n=e.options,o=e.name,i=n.offset,a=void 0===i?[0,0]:i,s=qo.reduce((function(e,n){return e[n]=ki(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 xi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:wi};var Ii={left:"right",right:"left",bottom:"top",top:"bottom"};function Oi(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ii[e]}))}var _i={start:"end",end:"start"};function Ai(e){return e.replace(/start|end/g,(function(e){return _i[e]}))}function Li(e){var t=ao(e),n=vo(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+bo(e),y:r}}function Ti(e){var t,n=vo(e),o=Do(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=uo(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=uo(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),r=-o.scrollLeft+bo(e),l=-o.scrollTop;return"rtl"===yo(i||n).direction&&(r+=uo(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:r,y:l}}function Pi(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&lo(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Ni(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Vi(e){var t=ho(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 Mi(e,t){return t===jo?Ni(Li(e)):so(t)?Vi(t):Ni(Ti(vo(e)))}function $i(e){var t=wo(Bo(e)),n=["absolute","fixed"].indexOf(yo(e).position)>=0,o=n&&ro(e)?_o(e):e;return so(o)?t.filter((function(e){return so(e)&&Pi(e,o)&&"body"!==go(e)})):[]}function Ri(e,t,n){var o="clippingParents"===t?$i(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=Mi(e,n);return t.top=uo(o.top,t.top),t.right=co(o.right,t.right),t.bottom=co(o.bottom,t.bottom),t.left=uo(o.left,t.left),t}),Mi(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 ji(){return{top:0,right:0,bottom:0,left:0}}function zi(e){return Object.assign({},ji(),e)}function Ki(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Hi(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?Ro:a,r=n.rootBoundary,l=void 0===r?jo:r,u=n.elementContext,d=void 0===u?zo:u,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,D=void 0===h?0:h,m=zi("number"!==typeof D?D:Ki(D,Vo)),f=d===zo?Ko:zo,g=e.rects.popper,v=e.elements[p?f:d],b=Ri(so(v)?v:v.contextElement||vo(e.elements.popper),s,l),y=ho(e.elements.reference),C=mi({reference:y,element:g,strategy:"absolute",placement:i}),E=Ni(Object.assign({},g,C)),F=d===zo?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===zo&&B){var k=B[i];Object.keys(S).forEach((function(e){var t=[To,Lo].indexOf(e)>=0?1:-1,n=[Ao,Lo].indexOf(e)>=0?"y":"x";S[e]+=k[n]*t}))}return S}function qi(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?qo:l,d=hi(o),c=d?r?Ho:Ho.filter((function(e){return hi(e)===d})):Vo,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]=Hi(e,{placement:n,boundary:i,rootBoundary:a,padding:s})[pi(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}function Wi(e){if(pi(e)===No)return[];var t=Oi(e);return[Ai(e),t,Ai(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=pi(f),v=g===f,b=l||(v||!D?[Oi(f)]:Wi(f)),y=[f].concat(b).reduce((function(e,n){return e.concat(pi(n)===No?qi(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],k=0;k<y.length;k++){var w=y[k],x=pi(w),I=hi(w)===Mo,O=[Ao,Lo].indexOf(x)>=0,_=O?"width":"height",A=Hi(t,{placement:w,boundary:d,rootBoundary:c,altBoundary:p,padding:u}),L=O?I?To:Po:I?Lo:Ao;C[_]>E[_]&&(L=Oi(L));var T=Oi(L),P=[];if(a&&P.push(A[x]<=0),r&&P.push(A[L]<=0,A[T]<=0),P.every((function(e){return e}))){B=w,S=!1;break}F.set(w,P)}if(S)for(var N=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=N;M>0;M--){var $=V(M);if("break"===$)break}t.placement!==B&&(t.modifiersData[o]._skip=!0,t.placement=B,t.reset=!0)}}const Ui={name:"flip",enabled:!0,phase:"main",fn:Zi,requiresIfExists:["offset"],data:{_skip:!1}};function Gi(e){return"x"===e?"y":"x"}function Yi(e,t,n){return uo(e,co(t,n))}function Qi(e,t,n){var o=Yi(e,t,n);return o>n?n:o}function Xi(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=Hi(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:d}),g=pi(t.placement),v=hi(t.placement),b=!v,y=Di(g),C=Gi(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,k="number"===typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),w=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,x={x:0,y:0};if(E){if(a){var I,O="y"===y?Ao:Po,_="y"===y?Lo:To,A="y"===y?"height":"width",L=E[y],T=L+f[O],P=L-f[_],N=h?-S[A]/2:0,V=v===Mo?F[A]:S[A],M=v===Mo?-S[A]:-F[A],$=t.elements.arrow,R=h&&$?So($):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ji(),z=j[O],K=j[_],H=Yi(0,F[A],R[A]),q=b?F[A]/2-N-H-z-k.mainAxis:V-H-z-k.mainAxis,W=b?-F[A]/2+N+H+K+k.mainAxis:M+H+K+k.mainAxis,Z=t.elements.arrow&&_o(t.elements.arrow),U=Z?"y"===y?Z.clientTop||0:Z.clientLeft||0:0,G=null!=(I=null==w?void 0:w[y])?I:0,Y=L+q-G-U,Q=L+W-G,X=Yi(h?co(T,Y):T,L,h?uo(P,Q):P);E[y]=X,x[y]=X-L}if(r){var J,ee="x"===y?Ao:Po,te="x"===y?Lo:To,ne=E[C],oe="y"===C?"height":"width",ie=ne+f[ee],ae=ne-f[te],se=-1!==[Ao,Po].indexOf(g),re=null!=(J=null==w?void 0:w[C])?J:0,le=se?ie:ne-F[oe]-S[oe]-re+k.altAxis,ue=se?ne+F[oe]+S[oe]-re-k.altAxis:ae,de=h&&se?Qi(le,ne,ue):Yi(h?le:ie,ne,h?ue:ae);E[C]=de,x[C]=de-ne}t.modifiersData[o]=x}}const Ji={name:"preventOverflow",enabled:!0,phase:"main",fn:Xi,requiresIfExists:["offset"]};var ea=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,zi("number"!==typeof e?e:Ki(e,Vo))};function ta(e){var t,n=e.state,o=e.name,i=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,r=pi(n.placement),l=Di(r),u=[Po,To].indexOf(r)>=0,d=u?"height":"width";if(a&&s){var c=ea(i.padding,n),p=So(a),h="y"===l?Ao:Po,D="y"===l?Lo:To,m=n.rects.reference[d]+n.rects.reference[l]-s[l]-n.rects.popper[d],f=s[l]-n.rects.reference[l],g=_o(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=Yi(y,E,C),S=l;n.modifiersData[o]=(t={},t[S]=F,t.centerOffset=F-E,t)}}function na(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))&&Pi(t.elements.popper,i)&&(t.elements.arrow=i)}const oa={name:"arrow",enabled:!0,phase:"main",fn:ta,effect:na,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ia(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 aa(e){return[Ao,To,Lo,Po].some((function(t){return e[t]>=0}))}function sa(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,s=Hi(t,{elementContext:"reference"}),r=Hi(t,{altBoundary:!0}),l=ia(s,o),u=ia(r,i,a),d=aa(l),c=aa(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 ra={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:sa};var la=[ci,gi,Ei,Bi,xi,Ui,Ji,oa,ra],ua=li({defaultModifiers:la}),da="tippy-box",ca="tippy-content",pa="tippy-backdrop",ha="tippy-arrow",Da="tippy-svg-arrow",ma={passive:!0,capture:!0},fa=function(){return document.body};function ga(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function va(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function ba(e,t){return"function"===typeof e?e.apply(void 0,t):e}function ya(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function Ca(e){return e.split(/\s+/).filter(Boolean)}function Ea(e){return[].concat(e)}function Fa(e,t){-1===e.indexOf(t)&&e.push(t)}function Sa(e){return e.filter((function(t,n){return e.indexOf(t)===n}))}function Ba(e){return e.split("-")[0]}function ka(e){return[].slice.call(e)}function wa(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function xa(){return document.createElement("div")}function Ia(e){return["Element","Fragment"].some((function(t){return va(e,t)}))}function Oa(e){return va(e,"NodeList")}function _a(e){return va(e,"MouseEvent")}function Aa(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function La(e){return Ia(e)?[e]:Oa(e)?ka(e):Array.isArray(e)?e:ka(document.querySelectorAll(e))}function Ta(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Pa(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Na(e){var t,n=Ea(e),o=n[0];return null!=o&&null!=(t=o.ownerDocument)&&t.body?o.ownerDocument:document}function Va(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=Ba(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 Ma(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function $a(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 Ra={isTouch:!1},ja=0;function za(){Ra.isTouch||(Ra.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ka))}function Ka(){var e=performance.now();e-ja<20&&(Ra.isTouch=!1,document.removeEventListener("mousemove",Ka)),ja=e}function Ha(){var e=document.activeElement;if(Aa(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function qa(){document.addEventListener("touchstart",za,ma),window.addEventListener("blur",Ha)}var Wa="undefined"!==typeof window&&"undefined"!==typeof document,Za=!!Wa&&!!window.msCrypto;var Ua={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ga={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ya=Object.assign({appendTo:fa,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},Ua,Ga),Qa=Object.keys(Ya),Xa=function(e){var t=Object.keys(e);t.forEach((function(t){Ya[t]=e[t]}))};function Ja(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=Ya[i])?o:a);return t}),{});return Object.assign({},e,n)}function es(e,t){var n=t?Object.keys(Ja(Object.assign({},Ya,{plugins:t}))):Qa,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 ts(e,t){var n=Object.assign({},t,{content:ba(t.content,[e])},t.ignoreAttributes?{}:es(e,t.plugins));return n.aria=Object.assign({},Ya.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 ns=function(){return"innerHTML"};function os(e,t){e[ns()]=t}function is(e){var t=xa();return!0===e?t.className=ha:(t.className=Da,Ia(e)?t.appendChild(e):os(t,e)),t}function as(e,t){Ia(t.content)?(os(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?os(e,t.content):e.textContent=t.content)}function ss(e){var t=e.firstElementChild,n=ka(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(ca)})),arrow:n.find((function(e){return e.classList.contains(ha)||e.classList.contains(Da)})),backdrop:n.find((function(e){return e.classList.contains(pa)}))}}function rs(e){var t=xa(),n=xa();n.className=da,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=xa();function i(n,o){var i=ss(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||as(s,e.props),o.arrow?r?n.arrow!==o.arrow&&(a.removeChild(r),a.appendChild(is(o.arrow))):a.appendChild(is(o.arrow)):r&&a.removeChild(r)}return o.className=ca,o.setAttribute("data-state","hidden"),as(o,e.props),t.appendChild(n),n.appendChild(o),i(e.props,e.props),{popper:t,onUpdate:i}}rs.$$tippy=!0;var ls=1,us=[],ds=[];function cs(e,t){var n,o,i,a,s,r,l,u=ts(e,Object.assign({},Ya,Ja(wa(t)))),d=!1,c=!1,p=!1,h=!1,D=[],m=ya(Y,u.interactiveDebounce),f=ls++,g=null,v=Sa(u.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},y={id:f,reference:e,popper:xa(),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(),N(),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 k(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function w(){return"hold"===k()[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?Na(e):document}function _(){return ss(E)}function A(e){return y.state.isMounted&&!y.state.isVisible||Ra.isTouch||a&&"focus"===a.type?0:ga(y.props.delay,e?0:1,Ya.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 P(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,o=E.id,i=Ea(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 N(){if(!B&&y.props.aria.expanded){var t=Ea(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),us=us.filter((function(e){return e!==m}))}function M(t){if(!Ra.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!$a(E,n)){if(Ea(y.props.triggerTarget||e).some((function(e){return $a(e,n)}))){if(Ra.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,ma),e.addEventListener("touchstart",R,ma),e.addEventListener("touchmove",$,ma)}function z(){var e=O();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,ma),e.removeEventListener("touchstart",R,ma),e.removeEventListener("touchmove",$,ma)}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&&(Ma(n,"remove",o),t())}if(0===e)return t();Ma(n,"remove",s),Ma(n,"add",o),s=o}function W(t,n,o){void 0===o&&(o=!1);var i=Ea(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(){w()&&(W("touchstart",G,{passive:!0}),W("touchend",Q,{passive:!0})),Ca(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,N(),!y.state.isVisible&&_a(e)&&us.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);Va(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!!Ra.isTouch&&w()!==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()?ss(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=ua(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===fa||"parent"===t?n.parentNode:ba(t,[n]),e.contains(E)||e.appendChild(E),y.state.isMounted=!0,ee()}function oe(){return ka(E.querySelectorAll("[data-tippy-root]"))}function ie(e){y.clearDelayTimeouts(),e&&T("onTrigger",[y,e]),j();var t=A(!0),o=k(),i=o[0],a=o[1];Ra.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=ts(e,Object.assign({},n,wa(t),{ignoreAttributes:!0}));y.props=o,Z(),n.interactiveDebounce!==o.interactiveDebounce&&(V(),m=ya(Y,o.interactiveDebounce)),n.triggerTarget&&!o.triggerTarget?Ea(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded"),N(),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=Ra.isTouch&&!y.props.touch,i=ga(y.props.duration,0,Ya.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;Ta([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;Ta([n,o],i),Pa([n,o],"visible")}P(),N(),Fa(ds,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=ga(y.props.duration,1,Ya.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&&(Ta([a,s],o),Pa([a,s],"hidden"))}P(),N(),y.props.animation?x()&&K(o,y.unmount):y.unmount()}}function he(e){O().addEventListener("mousemove",m),Fa(us,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),ds=ds.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 ps(e,t){void 0===t&&(t={});var n=Ya.plugins.concat(t.plugins||[]);qa();var o=Object.assign({},t,{plugins:n}),i=La(e),a=i.reduce((function(e,t){var n=t&&cs(t,o);return n&&e.push(n),e}),[]);return Ia(e)?a[0]:a}ps.defaultProps=Ya,ps.setDefaultProps=Xa,ps.currentInput=Ra;Object.assign({},Bi,{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 hs={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&&Ds(a,t)||l&&Ds(s,l))&&e.popperInstance&&e.popperInstance.update(),a=t,s=l,e.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){e.props.sticky&&r()}}}};function Ds(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}ps.setDefaultProps({render:rs});const ms=ps,fs=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),gs=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],vs=[!0,!1,"reference","popper"],bs=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,ms(e,{...t,plugins:[hs],render:()=>Fs(n)})},ys=function(){let{boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=(()=>{}),hasHideModifierEnabled:o=!1,tether:i=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:o},{name:"preventOverflow",options:{altAxis:!i,tether:i}},fs((e=>{let{state:t}=e;n(t.placement)}))]}},Cs=(e,t)=>{const n=document.createElement("span");return n.setAttribute("tabindex",t),n.innerText=e.innerText||"",e.innerText="",e.appendChild(n),n},Es=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?(w(n)||n.setAttribute("tabindex",t),n):Cs(e)},Fs=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},Ss={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},Bs={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},ks=["dialog","menu","listbox","tree","grid"],ws=[null,"anchor"],xs=["none","dialog","first"],Is=[...vs];function Os(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 _s={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)}}},As=(0,A.Z)(_s,[["render",Os]]),Ls=As;function Ts(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 Ps={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()}}},Ns=(0,A.Z)(Ps,[["render",Ts]]),Vs=Ns,Ms={name:"DtPopover",components:{DtLazyShow:Ls,PopoverHeaderFooter:Vs},mixins:[bt],props:{open:{type:Boolean,default:null},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:e=>ks.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(Ss).some((t=>t===e))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:e=>ws.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"},tether:{type:Boolean,default:!0},sticky:{type:[Boolean,String],default:!1,validator:e=>Is.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=>xs.includes(e)||e instanceof HTMLElement||e.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["update:open","opened"],data(){return{POPOVER_PADDING_CLASSES:Ss,POPOVER_HEADER_FOOTER_PADDING_CLASSES:Bs,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(){this.tip.setProps({popperOptions:this.popperOptions()})},tether(){this.tip.setProps({popperOptions:this.popperOptions()})},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=bs(this.anchorEl,{popperOptions:this.popperOptions(),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:{popperOptions(){return ys({fallbackPlacements:this.fallbackPlacements,tether:this.tether,hasHideModifierEnabled:!0})},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(749);const $s=(0,A.Z)(Ms,[["render",io]]),Rs=$s,js={none:void 0,small:"d-py6",large:"d-py12"},zs={name:"DtDropdown",components:{DtPopover:Rs},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(js).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:js,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)}}},Ks=(0,A.Z)(zs,[["render",to]]),Hs=Ks,qs=["aria-label","alt","title","src"];function Ws(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,qs)),[[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 Us=o(809),Gs=o.n(Us);const Ys="6.6",Qs="https://cdn.jsdelivr.net/joypixels/assets/"+Ys+"/png/unicode/32/";let Xs=null,Js=Qs,er=".png",tr=Qs,nr=".png",or=null;async function ir(){or||(or=await o.e(370).then(o.t.bind(o,370,19)))}function ar(){return or}function sr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".png";e.endsWith("/")||(e+="/"),Js=e,er=t}function rr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".svg";e.endsWith("/")||(e+="/"),tr=e,nr=t}function lr(e){Xs=e}function ur(e){dr(e)}async function dr(e){await ir();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 or){const e=or[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()?or[t]=i:console.error("The following custom emoji doesn't contain the required properties:",i)}}))}function cr(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(ar(),null),n}function pr(e){let t="";for(const n of e)""!==t&&(t+="-"),t+=n.codePointAt(0).toString(16);return t}function hr(e){const t=e.split("-");let n="";return t.forEach((e=>{n+=String.fromCodePoint(parseInt(e,16))})),n}async function Dr(e){if(await ir(),e.startsWith(":")&&e.endsWith(":"))return cr(e);{const t=pr(e),n=or[t];return n&&(n.key=t),n}}function mr(e){const t=e.match(/:\w+:/g);return fr(t)}function fr(e){const t=e?e.filter((e=>cr(e))):[];return new Set(t)}function gr(e){const t=[...e.matchAll(Gs()())],n=t.length?t.map((e=>e[0])):[];return new Set(n)}const vr={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?Xs+this.emojiData.key+this.emojiData.extension:["d-svg--size14","d-svg--size16"].includes(this.size)?Js+this.emojiData.key+er:tr+this.emojiData.key+nr:"invalid"},emojiAlt(){if(this.emojiDataValid)return this.emojiData.unicode_output?hr(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 Dr(this.code)},imageLoaded(){this.imgLoading=!1},imageErrored(){this.imgLoading=!1}}},br=(0,A.Z)(vr,[["render",Ws]]),yr=br,Cr={name:"DtEmojiTextWrapper",components:{DtEmoji:yr},inheritAttrs:!1,props:{elementType:{type:String,default:"div"}},data(){return{loadingEmojiJson:!0}},async created(){await ir(),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)(yr,{...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=mr(e),n=gr(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))))}},Er=Cr,Fr=Er,Sr={ref:"container",class:"base-input","data-qa":"dt-input"},Br=["aria-details"],kr=["id"],wr={key:0},xr={key:1,"data-qa":"dt-input-length-description",class:(0,n.normalizeClass)(["d-mb2"])},Ir={class:"d-input__wrapper"},Or=["value","name","disabled","maxlength"],_r=["value","name","type","disabled","maxlength"];function Ar(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Sr,[(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",wr,[(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",xr,(0,n.toDisplayString)(s.validationProps.length.description),1)):(0,n.createCommentVNode)("",!0)],10,kr)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",Ir,[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,Or)):((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,_r)),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,Br),(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 Lr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Tr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},Pr={key:0,class:"base-input__messages d-d-flex d-fd-column","data-qa":"validation-messages-container"},Nr=["innerHTML"];function Vr(e,t,o,i,a,s){return o.showMessages&&!s.isFilteredValidationMessagesEmpty?((0,n.openBlock)(),(0,n.createElementBlock)("div",Pr,[((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,Nr)],2)})),128))])):(0,n.createCommentVNode)("",!0)}function Mr(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 $r={name:"DtValidationMessages",props:{id:{type:String,default(){return E()}},validationMessages:{type:Array,default:()=>[],validator:e=>Mr(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]}}},Rr=(0,A.Z)($r,[["render",Vr]]),jr=Rr,zr={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)}}},Kr={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}}},Hr={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)}},qr={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:e=>Mr(e)}},computed:{formattedMessages(){return F(this.messages)}}},Wr={name:"DtInput",components:{DtValidationMessages:jr},mixins:[qr],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Lr.TEXT,validator:e=>Object.values(Lr).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(Tr).includes(e)},iconSize:{type:String,default:null,validator:e=>Object.values(Tr).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===Lr.TEXTAREA},isDefaultSize(){return this.size===Tr.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Tr.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Tr).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)(Wr,[["render",Ar]]),Ur=Zr,Gr=["data-qa"],Yr=["data-qa"];function Qr(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,Yr)):(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,Gr)}const Xr={components:{DtValidationMessages:jr},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=>Mr(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)}},Jr={name:"DtInputGroup",components:{DtValidationMessages:jr},mixins:[Xr],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)}}},el=(0,A.Z)(Jr,[["render",Qr]]),tl=el,nl=["aria-describedby","aria-labelledby"],ol=["id"],il=["id"],al={key:2,class:"d-modal__content","data-qa":"dt-modal-copy"},sl={key:3,class:"d-modal__content","data-qa":"dt-modal-copy"},rl={key:4,class:"d-modal__footer"};function ll(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,ol)):((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,il)),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",al,[(0,n.renderSlot)(e.$slots,"default")])):((0,n.openBlock)(),(0,n.createElementBlock)("p",sl,(0,n.toDisplayString)(o.copy),1)),s.hasFooterSlot?((0,n.openBlock)(),(0,n.createElementBlock)("footer",rl,[(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,nl),[[n.vShow,o.show]])])),_:3})])),_:3},8,["show","class","aria-hidden","onClick","onKeydown","onAfterEnter"])}const ul={default:"",danger:"d-modal--danger"},dl={default:"",full:"d-modal--full"},cl={name:"DtModal",components:{DtLazyShow:Ls,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(ul).includes(e)},size:{type:String,default:"default",validator:e=>Object.keys(dl).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:ul,MODAL_SIZE_MODIFIERS:dl}},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)}}},pl=(0,A.Z)(cl,[["render",ll]]),hl=pl,Dl=["id","aria-labelledby"],ml=["id"],fl=["id"],gl=["id"],vl={class:"d-d-flex"};function bl(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,ml)):(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,fl)):((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,gl)),(0,n.createElementVNode)("div",vl,[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,Dl)}const yl={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 Cl=(0,A.Z)(yl,[["render",bl]]),El=Cl;function Fl(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 Sl={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 we.includes(e)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(e){return ke.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}]}}},Bl=(0,A.Z)(Sl,[["render",Fl]]),kl=Bl,wl=["aria-label"],xl={key:0,"data-qa":"dt-pagination-separator",class:"d-h32 d-w32 d-d-flex d-ai-center d-jc-center"};function Il(e,t,o,i,a,s){const r=(0,n.resolveComponent)("icon-chevron-left"),l=(0,n.resolveComponent)("dt-button"),u=(0,n.resolveComponent)("icon-chevron-right");return(0,n.openBlock)(),(0,n.createElementBlock)("nav",{"aria-label":o.ariaLabel,class:"d-d-flex d-fd-row d-gg2 d-ai-center"},[(0,n.createVNode)(l,{class:"d-h32 d-w32","data-qa":"dt-pagination-prev","aria-label":o.prevAriaLabel,importance:s.isFirstPage?"primary":"clear",disabled:s.isFirstPage,onClick:t[0]||(t[0]=e=>s.changePage(a.currentPage-1))},{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r)])),_:1},8,["aria-label","importance","disabled"]),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.pages,((e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:"page-".concat(e,"-").concat(t)},[isNaN(Number(e))?((0,n.openBlock)(),(0,n.createElementBlock)("div",xl," … ")):((0,n.openBlock)(),(0,n.createBlock)(l,{key:1,"aria-label":o.pageNumberAriaLabel(e),importance:a.currentPage===e?"primary":"clear",class:"d-h32 d-w32","label-class":"d-fs14",onClick:t=>s.changePage(e)},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e),1)])),_:2},1032,["aria-label","importance","onClick"]))])))),128)),(0,n.createVNode)(l,{class:"d-h32 d-w32","data-qa":"dt-pagination-next","aria-label":o.nextAriaLabel,disabled:s.isLastPage,importance:s.isLastPage?"primary":"clear",onClick:t[1]||(t[1]=e=>s.changePage(a.currentPage+1))},{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(u)])),_:1},8,["aria-label","disabled","importance"])],8,wl)}const Ol={"aria-hidden":"true","aria-label":"Chevron Left",class:"d-svg d-svg--system d-svg__chevronLeft",viewBox:"0 0 24 24"},_l=(0,n.createElementVNode)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z"},null,-1),Al=[_l];function Ll(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Ol,Al)}const Tl={},Pl=(0,A.Z)(Tl,[["render",Ll]]),Nl=Pl,Vl={"aria-hidden":"true","aria-label":"Chevron Right",class:"d-svg d-svg--system d-svg__chevronRight",viewBox:"0 0 24 24"},Ml=(0,n.createElementVNode)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"},null,-1),$l=[Ml];function Rl(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Vl,$l)}const jl={},zl=(0,A.Z)(jl,[["render",Rl]]),Kl=zl,Hl={name:"DtPagination",components:{DtButton:pt,IconChevronLeft:Nl,IconChevronRight:Kl},props:{ariaLabel:{type:String,required:!0},totalPages:{type:Number,required:!0},prevAriaLabel:{type:String,required:!0},nextAriaLabel:{type:String,required:!0},pageNumberAriaLabel:{type:Function,required:!0},activePage:{type:Number,default:1},maxVisible:{type:Number,default:5}},emits:["change"],data(){return{currentPage:this.activePage}},computed:{isFirstPage(){return 1===this.currentPage},isLastPage(){return this.currentPage===this.totalPages},pages(){if(0===this.maxVisible)return[];if(this.totalPages<=this.maxVisible)return this.range(1,this.totalPages);const e=this.maxVisible-1,t=this.totalPages-e+1;if(this.currentPage<e)return[...this.range(1,e),"...",this.totalPages];if(this.currentPage>t)return[1,"...",...this.range(t,this.totalPages)];const n=this.maxVisible-(3-this.maxVisible%2),o=Math.floor(n/2),i=this.currentPage-o,a=this.currentPage+o;return[1,"...",...this.range(i,a),"...",this.totalPages]}},watch:{},methods:{range(e,t){const n=[];e=e>0?e:1;for(let o=e;o<=t;o++)n.push(o);return n},changePage(e){this.currentPage=e,this.$emit("change",this.currentPage)}}},ql=(0,A.Z)(Hl,[["render",Il]]),Wl=ql,Zl={class:"d-radio__input"},Ul=["checked","name","value","disabled"],Gl={class:"d-radio__copy d-radio__label","data-qa":"radio-label-description-container"};function Yl(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",Zl,[(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,Ul)]),(0,n.createElementVNode)("div",Gl,[(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 Ql={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Xl={name:"DtRadio",components:{DtValidationMessages:jr},mixins:[zr,Kr,Hr,qr],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focus","focusin","focusout","click"],computed:{inputValidationClass(){return Ql[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))}}},Jl=(0,A.Z)(Xl,[["render",Yl]]),eu=Jl,tu={name:"DtRadioGroup",extends:tl,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)}}},nu=tu,ou=nu,iu={"data-qa":"dt-tab-group"},au=["aria-label"];function su(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",iu,[(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,au),(0,n.renderSlot)(e.$slots,"default")])}const ru=["default","sm"],lu={sm:"d-tablist--sm"},uu={inverted:"d-tablist--inverted"},du={borderless:"d-tablist--no-border"},cu={selected:"d-tab--selected"},pu={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 ru.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:lu,TAB_LIST_KIND_MODIFIERS:uu,TAB_LIST_IMPORTANCE_MODIFIERS:du}},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())}}},hu=(0,A.Z)(pu,[["render",su]]),Du=hu;function mu(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 fu={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:cu}},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})}}},gu=(0,A.Z)(fu,[["render",mu]]),vu=gu,bu=["id","aria-labelledby","aria-hidden"];function yu(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,bu)),[[n.vShow,!o.hidden]])}const Cu={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}}},Eu=(0,A.Z)(Cu,[["render",yu]]),Fu=Eu,Su={class:"d-checkbox__input"},Bu=["checked","name","value","disabled",".indeterminate"],ku={key:0,class:"d-checkbox__copy d-checkbox__label","data-qa":"checkbox-label-description-container"};function wu(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",Su,[(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,Bu)]),s.hasLabelOrDescription?((0,n.openBlock)(),(0,n.createElementBlock)("div",ku,[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 xu={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},Iu={name:"DtCheckbox",components:{DtValidationMessages:jr},mixins:[zr,Kr,Hr,qr],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return xu[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"])}}},Ou=(0,A.Z)(Iu,[["render",wu]]),_u=Ou,Au={name:"DtCheckboxGroup",extends:tl,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=Au,Tu=Lu,Pu={class:"d-chip"},Nu={key:0,"data-qa":"dt-chip-icon",class:"d-chip__icon"},Vu={key:1,"data-qa":"dt-chip-avatar"},Mu=["id"];function $u(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",Pu,[((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",Nu,[(0,n.renderSlot)(e.$slots,"icon")])):e.$slots.avatar?((0,n.openBlock)(),(0,n.createElementBlock)("span",Vu,[(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,Mu)):(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 Ru={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},ju={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},zu={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(Ru).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",Ru[this.size]]},chipCloseButtonClasses(){return["d-chip__close",ju[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},Ku=(0,A.Z)(zu,[["render",$u]]),Hu=Ku,qu=["aria-details"],Wu=["id"],Zu=["disabled"],Uu=["value"];function Gu(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,qu)):(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,Wu)):(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,Uu)))),128))]))],16,Zu)],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 Yu={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Qu={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},Xu=e=>!e.index||"number"===typeof e.index,Ju=e=>!!e.value&&("string"===typeof e.value||"number"===typeof e.value),ed=e=>!!e.label&&"string"===typeof e.label,td=e=>!e||e.every((e=>!!Xu(e)&&(!!Ju(e)&&!!ed(e)))),nd={name:"DtSelectMenu",components:{DtValidationMessages:jr},mixins:[qr],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:e=>td(e)},size:{type:String,default:"md",validator:e=>Object.keys(Yu).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:Yu,SELECT_STATE_MODIFIERS:Qu}},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)}}},od=(0,A.Z)(nd,[["render",Gu]]),id=od,ad=["aria-hidden"],sd={class:"d-toast__dialog"};function rd(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",sd,[(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,ad)):(0,n.createCommentVNode)("",!0)}const ld=["status","alert"],ud=6e3,dd={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=>ld.includes(e)},kind:{type:String,default:"base",validator:e=>ke.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>=ud}},emits:["close","click","update:show"],data(){return{isShown:!1,minDuration:ud}},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))}}},cd=(0,A.Z)(dd,[["render",rd]]),pd=cd,hd={class:"d-d-flex d-ai-center"},Dd=["for"],md=["id","aria-checked","disabled","aria-disabled"],fd=(0,n.createElementVNode)("span",{class:"d-toggle__inner"},null,-1),gd=[fd];function vd(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",hd,[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,Dd)):(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),gd,16,md)])}const bd={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)}}},yd=(0,A.Z)(bd,[["render",vd]]),Cd=yd,Ed={"data-qa":"dt-tooltip-container"};function Fd(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-lazy-show");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Ed,[(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 Sd=[...gs],Bd={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},kd=[...vs],wd=[!0,!1,"toggle"],xd={name:"Tooltip",components:{DtLazyShow:Ls},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 Sd.includes(e)}},sticky:{type:[Boolean,String],default:!1,validator:e=>kd.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:Bd,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:ys({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=bs(Es(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 Es(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)(xd,[["render",Fd]]),Od=Id,_d={key:0,class:"sr-only"},Ad=["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",_d,(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,Ad))],64)))),256))],2)}const Td={"aria-hidden":"true","aria-label":"Windows",class:"d-svg d-svg--system d-svg__windows",viewBox:"0 0 24 24"},Pd=(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),Nd=[Pd];function Vd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Td,Nd)}const Md={},$d=(0,A.Z)(Md,[["render",Vd]]),Rd=$d,jd={"aria-hidden":"true","aria-label":"Add",class:"d-svg d-svg--system d-svg__add",viewBox:"0 0 24 24"},zd=(0,n.createElementVNode)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"},null,-1),Kd=[zd];function Hd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",jd,Kd)}const qd={},Wd=(0,A.Z)(qd,[["render",Hd]]),Zd=Wd,Ud={"aria-hidden":"true","aria-label":"Arrow Downward",class:"d-svg d-svg--system d-svg__arrowDownward",viewBox:"0 0 24 24"},Gd=(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),Yd=[Gd];function Qd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Ud,Yd)}const Xd={},Jd=(0,A.Z)(Xd,[["render",Qd]]),ec=Jd,tc={"aria-hidden":"true","aria-label":"Arrow Upward",class:"d-svg d-svg--system d-svg__arrowUpward",viewBox:"0 0 24 24"},nc=(0,n.createElementVNode)("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"},null,-1),oc=[nc];function ic(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",tc,oc)}const ac={},sc=(0,A.Z)(ac,[["render",ic]]),rc=sc,lc={"aria-hidden":"true","aria-label":"Arrow Forward",class:"d-svg d-svg--system d-svg__arrowForward",viewBox:"0 0 24 24"},uc=(0,n.createElementVNode)("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"},null,-1),dc=[uc];function cc(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",lc,dc)}const pc={},hc=(0,A.Z)(pc,[["render",cc]]),Dc=hc,mc={"aria-hidden":"true","aria-label":"Arrow Backwards",class:"d-svg d-svg--system d-svg__arrowBackwards",viewBox:"0 0 24 24"},fc=(0,n.createElementVNode)("path",{d:"M12 20l1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8z"},null,-1),gc=[fc];function vc(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",mc,gc)}const bc={},yc=(0,A.Z)(bc,[["render",vc]]),Cc=yc,Ec={cmd:"⌘"},Fc={"{win}":"IconWindows","{arrow-right}":"IconArrowForward","{arrow-left}":"IconArrowBackward","{arrow-up}":"IconArrowUpward","{arrow-down}":"IconArrowDownward"},Sc={"{plus}":"IconAdd"},Bc=Object.keys(Ec).map((e=>"{".concat(e,"}"))).concat(Object.keys(Fc)),kc={name:"DtKeyboardShortcut",components:{IconWindows:Rd,IconArrowBackward:Cc,IconArrowDownward:ec,IconArrowForward:Dc,IconArrowUpward:rc,IconAdd:Zd},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Fc,separator:/\+/gi}},computed:{icons(){return{...Fc,...Sc}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(Ec).reduce(((e,t)=>e.replace(new RegExp("{"+t+"}","gi"),Ec[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 wc=(0,A.Z)(kc,[["render",Ld]]),xc=wc,Ic={class:"root-layout"};function Oc(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 _c(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 Ac={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===Ac.RIGHT}}}};o(683);const Tc=(0,A.Z)(Lc,[["render",_c]]),Pc=Tc,Nc={name:"DtRootLayout",components:{DtRootLayoutBody:Pc},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(Ac).includes(e)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}};o(257);const Vc=(0,A.Z)(Nc,[["render",Oc]]),Mc=Vc,$c=["id"],Rc=["onMouseleave","onFocusout"];function jc(e,t,o,i,a,s){const r=(0,n.resolveComponent)("combobox-loading-list"),l=(0,n.resolveComponent)("combobox-empty-list"),u=(0,n.resolveComponent)("dt-popover"),d=(0,n.resolveComponent)("dt-combobox");return(0,n.openBlock)(),(0,n.createBlock)(d,(0,n.mergeProps)({ref:"combobox",loading:o.loading,"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,$c)]})),list:(0,n.withCtx)((i=>{let{opened:d,listProps:c,clearHighlightIndex:p,isLoading:h,isListEmpty:D}=i;return[(0,n.createVNode)(u,{ref:"popover",open:a.isListShown,"onUpdate:open":t[6]||(t[6]=e=>a.isListShown=e),"hide-on-click":null===o.showList,"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:d},(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:p,onFocusout:e=>{s.onFocusOut}},[h?((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.normalizeProps)((0,n.mergeProps)({key:0},c)),null,16)):D?((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:1},c,{message:o.emptyStateMessage}),null,16,["message"])):(0,n.renderSlot)(e.$slots,"list",{key:2,listProps:c})],42,Rc)])),_: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","hide-on-click","max-height","max-width","offset","sticky","external-anchor","content-width","onOpened"])]})),_:3},16,["loading","show-list","on-beginning-of-list","on-end-of-list","list-aria-label","list-id"])}const zc={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:Jn,DtPopover:Rs,ComboboxLoadingList:qn,ComboboxEmptyList:Yn},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(js).some((t=>t===e))},contentWidth:{type:String,default:null,validator:e=>ws.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},emptyStateMessage:{type:String,default:""}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:js,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:{handleDisplayList(e){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()}}},Kc=(0,A.Z)(zc,[["render",jc]]),Hc=Kc,qc={ref:"inputSlotWrapper",class:"d-ps-relative"},Wc={ref:"chipsWrapper",class:"d-ps-absolute d-mx2"},Zc={ref:"header"},Uc={ref:"list"},Gc={key:1,class:"d-ta-center d-py16"},Yc={ref:"footer"};function Qc(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",qc,[(0,n.createElementVNode)("span",Wc,[((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",Uc,[o.loading?((0,n.openBlock)(),(0,n.createElementBlock)("div",Gc,(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",Zc,[(0,n.renderSlot)(e.$slots,"header")],512)]))}:void 0,e.$slots.footer?{name:"footer",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Yc,[(0,n.renderSlot)(e.$slots,"footer")],512)]))}:void 0]),1032,["show-list","max-height","popover-offset","has-suggestion-list","onSelect"])}const Xc={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},Jc={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:Hc,DtInput:Ur,DtChip:Hu,DtValidationMessages:jr},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=>Mr(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(Xc).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)}}},ep=(0,A.Z)(Jc,[["render",Qc]]),tp=ep,np={class:"d-ps-relative","data-qa":"contact-info-left"},op=["src","alt"],ip={"data-qa":"contact-info-header"},ap={"data-qa":"contact-info-subtitle"},sp={"data-qa":"contact-info-bottom"},rp={"data-qa":"contact-info-right"};function lp(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",np,[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,op)])),_: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",ip,[(0,n.renderSlot)(e.$slots,"header")])])),subtitle:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",ap,[(0,n.renderSlot)(e.$slots,"subtitle")])])),bottom:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",sp,[(0,n.renderSlot)(e.$slots,"bottom")])])),right:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",rp,[(0,n.renderSlot)(e.$slots,"right")])])),_:3},8,["id","role"])}const up={none:"",green:"d-bgc-green-400",yellow:"d-bgc-yellow-400",red:"d-bgc-red-400"},dp={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(up).includes(e)}},data(){return{USER_STATUS_COLOR_MODIFIERS:up}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},cp=(0,A.Z)(dp,[["render",lp]]),pp=cp,hp={class:"d-top-banner-info__left"},Dp={class:"d-top-banner-info__middle d-my4"},mp={class:"d-top-banner-info__right d-ta-right"};function fp(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",hp,[(0,n.renderSlot)(e.$slots,"left")]),(0,n.createElementVNode)("div",Dp,[(0,n.renderSlot)(e.$slots,"default")]),(0,n.createElementVNode)("div",mp,[(0,n.renderSlot)(e.$slots,"right")])],2)}const gp=["green400","green200","red200","red100","yellow200","yellow400","yellow050","black100","white"],vp={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green400",validator:function(e){return gp.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 bp=(0,A.Z)(vp,[["render",fp]]),yp=bp})(),i})()));
|
|
2
2
|
//# sourceMappingURL=dialtone-vue.umd.min.js.map
|