@dialpad/dialtone-vue 3.4.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component-documentation.json +1 -0
- package/dist/dialtone-vue.common.js +10046 -8922
- package/dist/dialtone-vue.umd.js +10046 -8922
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +7 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["dialtone-vue"]=t(require("vue")):e["dialtone-vue"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(e=>(()=>{var t={344:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=r()(i());s.push([e.id,".dt-keyboard-shortcut__svg{width:1em;height:1em}.dt-keyboard-shortcut__svg path{fill:currentColor}",""]);const l=s},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),r=n.n(a),s=r()(i());s.push([e.id,".dt-default-list-item,.dt-default-list-item--left,.dt-default-list-item--right{min-height:28px}",""]);const l=s},664:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=r()(i());s.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=s},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),r=n.n(a),s=r()(i());s.push([e.id,'.dt-list-section[tabindex="-1"]:focus{outline:none}',""]);const l=s},618:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=r()(i());s.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=s},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),r=n.n(a),s=r()(i());s.push([e.id,".root-layout__header--sticky{position:-webkit-sticky;position:sticky;top:0}",""]);const l=s},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),r=n.n(a),s=r()(i());s.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=s},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),r=n.n(a),s=r()(i());s.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=s},610:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),r=n.n(a),s=r()(i());s.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=s},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),r=n.n(a),s=r()(i());s.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=s},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 r={};if(o)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(r[l]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);o&&r[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(664);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("2d8d0ddc",o,!0,{sourceMap:!1,shadowMode:!1})},237:(e,t,n)=>{var o=n(486);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("c13b1f5e",o,!0,{sourceMap:!1,shadowMode:!1})},425:(e,t,n)=>{var o=n(618);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("f10ecbc6",o,!0,{sourceMap:!1,shadowMode:!1})},257:(e,t,n)=>{var o=n(215);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("db7fdad2",o,!0,{sourceMap:!1,shadowMode:!1})},683:(e,t,n)=>{var o=n(50);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("874d1402",o,!0,{sourceMap:!1,shadowMode:!1})},195:(e,t,n)=>{var o=n(13);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("28dcd7f8",o,!0,{sourceMap:!1,shadowMode:!1})},449:(e,t,n)=>{var o=n(610);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("0a117328",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],r=a[0],s=a[1],l=a[2],u=a[3],d={id:e+":"+i,css:s,media:l,sourceMap:u};o[r]?o[r].parts.push(d):n.push(o[r]={id:r,parts:[d]})}return n}n.d(t,{Z:()=>h});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={},r=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,u=!1,d=function(){},c=null,p="data-vue-ssr-id",D="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,i){u=n,c=i||{};var r=o(e,t);return m(r),function(t){for(var n=[],i=0;i<r.length;i++){var s=r[i],l=a[s.id];l.refs--,n.push(l)}t?(r=o(e,t),m(r)):r=[];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 r=[];for(i=0;i<n.parts.length;i++)r.push(g(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:r}}}}function f(){var e=document.createElement("style");return e.type="text/css",r.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(D){var i=l++;o=s||(s=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),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(a,r[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 r={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>r[e]=()=>n[e]));return r["default"]=()=>n,o.d(a,r),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,r)=>{if(e[n])e[n].push(i);else{var s,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){s=c;break}}s||(l=!0,s=document.createElement("script"),s.charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+a),s.src=n),e[n]=[i];var p=(t,o)=>{s.onerror=s.onload=null,clearTimeout(D);var i=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(o))),t)return t(o)},D=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),(()=>{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 r=o.p+o.u(t),s=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),r=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+r+")",s.name="ChunkLoadError",s.type=a,s.request=r,i[1](s)}};o.l(r,l,"chunk-"+t,t)}};var t=(t,n)=>{var i,a,r=n[0],s=n[1],l=n[2],u=0;if(r.some((t=>0!==e[t]))){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);if(l)l(o)}for(t&&t(n);u<r.length;u++)a=r[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:()=>s,AVATAR_SIZE_MODIFIERS:()=>l,BADGE_COLOR_MODIFIERS:()=>V,BREADCRUMBS_INVERTED_MODIFIER:()=>kt,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>Bt,BUTTON_GROUP_ALIGNMENT:()=>Rt,CHIP_SIZE_MODIFIERS:()=>Xl,COLOR_CODES:()=>dc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>h,DESCRIPTION_SIZE_TYPES:()=>c,DtAvatar:()=>L,DtBadge:()=>R,DtBanner:()=>Et,DtBreadcrumbItem:()=>Lt,DtBreadcrumbs:()=>Pt,DtButton:()=>pt,DtButtonGroup:()=>zt,DtCheckableInputMixin:()=>as,DtCheckbox:()=>jl,DtCheckboxGroup:()=>Hl,DtChip:()=>tu,DtCombobox:()=>Yt,DtDropdown:()=>$a,DtEmoji:()=>Rr,DtGroupableInputMixin:()=>rs,DtInput:()=>ds,DtInputGroup:()=>gs,DtInputGroupMixin:()=>hs,DtInputMixin:()=>is,DtKeyboardListNavigationMixin:()=>Zt,DtKeyboardShortcut:()=>Md,DtLazyShow:()=>wa,DtLink:()=>_t,DtListItem:()=>Xs,DtListSection:()=>Ms,DtModal:()=>xs,DtNotice:()=>nl,DtPopover:()=>La,DtRadio:()=>dl,DtRadioGroup:()=>Dl,DtRecipeContactInfo:()=>ac,DtRecipeTopBannerInfo:()=>Dc,DtRootLayout:()=>Ud,DtSelectMenu:()=>mu,DtSkeleton:()=>Vr,DtSkeletonListItem:()=>Tr,DtSkeletonParagraph:()=>Or,DtSkeletonShape:()=>br,DtSkeletonText:()=>kr,DtTab:()=>Il,DtTabGroup:()=>Sl,DtTabPanel:()=>Tl,DtToast:()=>Fu,DtToggle:()=>Au,DtTooltip:()=>$u,DtValidationMessages:()=>os,EMOJI_SIZES:()=>Ka,INPUT_SIZES:()=>Yr,INPUT_TYPES:()=>Gr,LINK_KIND_MODIFIERS:()=>ut,LINK_VARIANTS:()=>lt,MODAL_KIND_MODIFIERS:()=>Bs,MODAL_SIZE_MODIFIERS:()=>ks,NOTICE_KINDS:()=>ke,POPOVER_CONTENT_WIDTHS:()=>Ea,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>ya,POPOVER_INITIAL_FOCUS_STRINGS:()=>Fa,POPOVER_PADDING_CLASSES:()=>ba,POPOVER_ROLES:()=>Ca,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>zd,SELECT_SIZE_MODIFIERS:()=>su,SELECT_STATE_MODIFIERS:()=>lu,SHORTCUTS_ALIASES:()=>Ad,SHORTCUTS_ALIASES_LIST:()=>Nd,SHORTCUTS_ICON_ALIASES:()=>Td,SHORTCUTS_ICON_SEPARATOR:()=>Ld,SKELETON_HEADING_HEIGHTS:()=>mr,SKELETON_RIPPLE_DURATION:()=>cr,SKELETON_SHAPES:()=>pr,SKELETON_SHAPE_SIZES:()=>hr,SKELETON_TEXT_TYPES:()=>Dr,TAB_IMPORTANCE_MODIFIERS:()=>Cl,TAB_LIST_IMPORTANCE_MODIFIERS:()=>yl,TAB_LIST_KIND_MODIFIERS:()=>bl,TAB_LIST_SIZES:()=>gl,TOAST_ROLES:()=>bu,TOOLTIP_DIRECTIONS:()=>Nu,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>Pu,TOOLTIP_KIND_MODIFIERS:()=>Vu,USER_STATUS_COLOR_MODIFIERS:()=>nc,VALIDATION_MESSAGE_TYPES:()=>d,codeToEmojiData:()=>ar,defaultEmojiAssetUrl:()=>Za,emojiFileExtensionLarge:()=>Qa,emojiFileExtensionSmall:()=>Ga,emojiImageUrlLarge:()=>Ya,emojiImageUrlSmall:()=>Ua,emojiJson:()=>Xa,emojiVersion:()=>Wa,filterFormattedMessages:()=>S,findEmojis:()=>sr,findShortCodes:()=>rr,formatMessages:()=>F,getEmojiJson:()=>Ja,getUniqueString:()=>E,getValidationState:()=>B,setEmojiAssetUrlLarge:()=>tr,setEmojiAssetUrlSmall:()=>er,shortcodeToEmojiData:()=>nr,stringToUnicode:()=>ir,unicodeToString:()=>or,validationMessageValidator:()=>es}),"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 r(e,t,o,i,r,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{id:o.id,class:(0,n.normalizeClass)(["d-avatar",r.AVATAR_KIND_MODIFIERS[r.kind],r.AVATAR_SIZE_MODIFIERS[o.size],r.AVATAR_COLOR_MODIFIERS[o.color],o.avatarClass]),"data-qa":"dt-avatar"},[(0,n.renderSlot)(e.$slots,"default")],10,a)}const s={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"},D={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},h=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:h}: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 I=e=>(0,n.h)("div",{innerHTML:e.html}),x=()=>new Promise((e=>{C(e)})),O={getUniqueString:E,formatMessages:F,filterFormattedMessages:S,hasFormattedMessageOfType:k,getValidationState:B,htmlFragment:I,flushPromises:x},_={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:s}},mounted(){this.init()},updated(){this.init()},methods:{init(){const e=this.$el.children[0];e&&(this.validateElementType(e),this.setKind(e),this.validateImageAttrsPresence())},setKind(e){this.isSvgType(e)&&(this.kind="icon"),this.isImageType(e)&&(this.kind="image"),this.isInitialsType(e)&&(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())},isInitialsType(e){return(null===e||void 0===e?void 0:e.nodeType)===Node.TEXT_NODE},validateElementType(e){this.isInitialsType(e)||this.isSvgType(e)||this.isImageType(e)||(0,n.warn)("img, svg, and raw text are the only valid elements to put inside the avatar",this)},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 T=(0,A.Z)(_,[["render",r]]),L=T;function N(e,t,o,i,a,r){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 V={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"},P={name:"DtBadge",props:{text:{type:String,default:""},color:{type:String,default:"base",validator:e=>Object.keys(V).includes(e)}},data(){return{BADGE_COLOR_MODIFIERS:V}}},M=(0,A.Z)(P,[["render",N]]),R=M,$=["role"],j=["aria-labelledby","aria-describedby"];function z(e,t,o,i,a,r){const s=(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)(r.bannerClass),role:r.role,onKeydown:t[1]||(t[1]=(0,n.withKeys)((function(){return r.trapFocus&&r.trapFocus(...arguments)}),["tab"]))},[(0,n.createElementVNode)("div",{class:"d-banner__dialog","aria-labelledby":o.titleId,"aria-describedby":o.contentId},[(0,n.createVNode)(s,{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,$)}const K={key:0,"aria-hidden":"true",class:"d-notice__icon"};function H(e,t,o,i,a,r){return r.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)(r.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"},re=(0,n.createElementVNode)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"},null,-1),se=[re];function le(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",ae,se)}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"},De=(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),he=[De];function me(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",pe,he)}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"],Ie=new Map([["info","IconInfo"],["success","IconCheckCircle"],["warning","IconWarning"],["error","IconError"],["base","IconLightbulb"]]),xe={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 Ie.get(this.kind)}}},Oe=(0,A.Z)(xe,[["render",H]]),_e=Oe,Ae={class:"d-notice__content","data-qa":"notice-content"},Te=["id"],Le=["id"];function Ne(e,t,o,i,a,r){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,Te)):(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,Le)])}const Ve={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},Pe=(0,A.Z)(Ve,[["render",Ne]]),Me=Pe,Re={class:"d-notice__actions","data-qa":"notice-content-actions"};function $e(e,t,o,i,a,r){const s=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Re,[(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:r.close}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(s)])),_: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,r){return(0,n.openBlock)(),(0,n.createElementBlock)("button",(0,n.mergeProps)({class:["base-button__button",r.buttonClasses()],"data-qa":"dt-button",type:o.type,"aria-live":r.computedAriaLive,"aria-label":o.loading?"loading":e.$attrs["aria-label"]},e.$attrs,(0,n.toHandlers)(r.buttonListeners)),[r.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",rt="muted",st="inverted",lt=["",ot,it,at,rt,st],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,Dt={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")}}},ht=(0,A.Z)(Dt,[["render",$e]]),mt=ht,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,r){const s=(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)(s,(0,n.mergeProps)({key:r.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,r){const s=(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)(s,(0,n.mergeProps)({kind:r.linkKind,"aria-current":r.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 It(e,t,o,i,a,r){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 xt={name:"DtLink",props:{kind:{type:String,default:"",validator(e){return lt.includes(e)}}},data(){return{LINK_KIND_MODIFIERS:ut}}},Ot=(0,A.Z)(xt,[["render",It]]),_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?st:rt},ariaCurrent(){return this.selected?"location":void 0}}},Tt=(0,A.Z)(At,[["render",wt]]),Lt=Tt,Nt={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:Lt},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())}}},Vt=(0,A.Z)(Nt,[["render",St]]),Pt=Vt;function Mt(e,t,o,i,a,r){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 Rt={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},$t={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:e=>Object.keys(Rt).includes(e)}},data(){return{BUTTON_GROUP_ALIGNMENT:Rt}}},jt=(0,A.Z)($t,[["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,r){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=>r.onKeyValidation(e,"onEscapeKey")),["stop"]),["esc"])),t[4]||(t[4]=(0,n.withKeys)((0,n.withModifiers)((e=>r.onKeyValidation(e,"onEnterKey")),["exact"]),["enter"])),t[5]||(t[5]=(0,n.withKeys)((0,n.withModifiers)((e=>r.onKeyValidation(e,"onUpKey")),["stop","prevent"]),["up"])),t[6]||(t[6]=(0,n.withKeys)((0,n.withModifiers)((e=>r.onKeyValidation(e,"onDownKey")),["stop","prevent"]),["down"])),t[7]||(t[7]=(0,n.withKeys)((0,n.withModifiers)((e=>r.onKeyValidation(e,"onHomeKey")),["stop","prevent"]),["home"])),t[8]||(t[8]=(0,n.withKeys)((0,n.withModifiers)((e=>r.onKeyValidation(e,"onEndKey")),["stop","prevent"]),["end"]))]},[(0,n.createElementVNode)("div",Ht,[(0,n.renderSlot)(e.$slots,"input",{inputProps:r.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 r.clearHighlightIndex&&r.clearHighlightIndex(...arguments)}),onFocusout:t[1]||(t[1]=function(){return r.clearHighlightIndex&&r.clearHighlightIndex(...arguments)}),onMousemoveCapture:t[2]||(t[2]=function(){return r.onMouseHighlight&&r.onMouseHighlight(...arguments)})},[(0,n.renderSlot)(e.$slots,"list",{listProps:r.listProps,opened:r.onOpen,clearHighlightIndex:r.clearHighlightIndex})],544)):(0,n.createCommentVNode)("",!0)],40,Kt)}const Wt={methods:{scrollElementIntoViewIfNeeded(e,t,n,o){e.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(e,t,n,o):this.scrollIntoView(e,"bottom",!1,n,o)},scrollElementIntoView(e,t,n,o){"center"!==t?!1===t?this.scrollIntoView(e,"bottom",!1,n,o):this.scrollIntoView(e,"top",!1,n,o):this.scrollIntoView(e,"center",!1,n,o)},scrollIntoViewIfNeeded(e,t,n,o){const i=t?"center":void 0;this.scrollIntoView(e,i,!0,n,o)},scrollIntoView(e,t,n,o,i){if(!e||!e.parentElement)return;const a=e.offsetTop,r=i||e.parentElement,s=this._getScrollBounds(r),l=s.bottom-s.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-s.top<=l/2?a:d-l;break}this._setScrollTop(r,c,s,a,d,n,o)},_setScrollTop(e,t,n,o,i,a,r){n=n||this._getScrollBounds(e);const s=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-s}r?e.scrollTo({top:t,behavior:r}):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=function(){let{listItemRole:e="option",indexKey:t="highlightIndex",idKey:n="highlightId",listElementKey:o="listRef",activeItemKey:i="",openMethod:a=null,afterHighlightMethod:r=null,beginningOfListMethod:s=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 t=this._getListElement();return t?t.querySelectorAll('[role="'.concat(e,'"]')).length:(console.error("listElementKey is required or the referenced element doesn't exist. Received\n listElement: ",t),0)},onUpKey(){a&&this[a](!0),this[t]>0?this.setHighlightIndex(this[t]-1):s&&this[s](),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()},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},async setHighlightIndex(e){this[t]=e,this[n]=this._getItemId(e),this._itemsLength()&&r&&(await this.$nextTick(),this[r](e))},async setHighlightId(e){this[n]=e,this[t]=this._getItemIndex(e),this._itemsLength()&&r&&(await this.$nextTick(),this[r](this._getItemIndex(e)))},_getItemIndex(t){const n=this._getListElement();if(!n)return;const o=Array.from(n.querySelectorAll('[role="'.concat(e,'"]'))),i=o.indexOf(n.querySelector("#".concat(t)));return i},_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()}}}},Ut={name:"DtCombobox",mixins:[Zt({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl"})],props:{listAriaLabel:{type:String,required:!0},listId:{type:String,default(){return E()}},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},showList:{type:Boolean,default:!1},listRenderedOutside:{type:Boolean,default:!1}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null}},computed:{inputProps(){return{role:"combobox","aria-expanded":this.showList.toString(),"aria-owns":this.listId,"aria-haspopup":"listbox","aria-activedescendant":this.activeItemId,"aria-controls":this.listId}},listProps(){return{role:"listbox",id:this.listId,class:"d-ps-relative","aria-label":this.listAriaLabel}},beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemId(){if(this.showList&&!(this.highlightIndex<0))return this.highlightId},activeItemEl(){return this.getListElement().querySelector("#"+this.highlightId)}},watch:{showList(e){this.$nextTick((function(){this.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",e))})),!e&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null)}},methods:{onMouseHighlight(e){const t=e.target.closest("li");t&&this.highlightId!==t.id&&this.setHighlightId(t.id)},getListElement(){var e;return null!==(e=this.outsideRenderedListRef)&&void 0!==e?e:this.$refs.listWrapper.querySelector("#".concat(this.listId))},clearHighlightIndex(){this.showList&&this.setHighlightIndex(-1)},afterHighlight(){this.$emit("highlight",this.highlightIndex)},onEnterKey(){this.highlightIndex>=0&&this.$emit("select",this.highlightIndex)},onEscapeKey(){this.$emit("escape")},onOpen(e,t){var n;this.outsideRenderedListRef=t,null===(n=this.outsideRenderedListRef)||void 0===n||n.addEventListener("mousemove",this.onMouseHighlight),this.$emit("opened",e),e&&this.setInitialHighlightIndex()},onKeyValidation(e,t){this.showList&&this.getListElement()&&this[t](e)},setInitialHighlightIndex(){this.showList&&this.setHighlightIndex(0)}}},Gt=(0,A.Z)(Ut,[["render",qt]]),Yt=Gt,Qt=["id"];function Xt(e,t,o,i,a,r){const s=(0,n.resolveComponent)("dt-popover");return(0,n.openBlock)(),(0,n.createBlock)(s,(0,n.mergeProps)({ref:"popover","content-width":o.contentWidth,open:o.open,placement:o.placement,"initial-focus-element":"first","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:r.updateInitialHighlightIndex,onKeydown:[(0,n.withKeys)(r.onEnterKey,["enter"]),(0,n.withKeys)(r.onSpaceKey,["space"]),t[2]||(t[2]=(0,n.withKeys)((0,n.withModifiers)((e=>r.onKeyValidation(e,"onUpKeyPress")),["stop","prevent"]),["up"])),t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((e=>r.onKeyValidation(e,"onDownKeyPress")),["stop","prevent"]),["down"])),t[4]||(t[4]=(0,n.withKeys)((0,n.withModifiers)((e=>r.onKeyValidation(e,"onHomeKeyPress")),["stop","prevent"]),["home"])),t[5]||(t[5]=(0,n.withKeys)((0,n.withModifiers)((e=>r.onKeyValidation(e,"onEndKeyPress")),["stop","prevent"]),["end"]))]}),{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:s}=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 r.clearHighlightIndex&&r.clearHighlightIndex(...arguments)}),onMousemoveCapture:t[1]||(t[1]=function(){return r.onMouseHighlight&&r.onMouseHighlight(...arguments)})},[(0,n.renderSlot)(e.$slots,"list",{close:s})],42,Qt)]})),_:3},16,["content-width","open","placement","fallback-placements","modal","max-height","max-width","onOpened","onKeydown"])}const Jt=["aria-hidden"],en=["id"];function tn(e,t,o,i,a,r){const s=(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,Jt)])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(o.elementType),(0,n.mergeProps)({ref:"popover",class:["d-popover",{"d-popover__anchor--modal-opened":o.modal&&a.isOpen}],"data-qa":"dt-popover-container"},e.$attrs),{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{id:!o.ariaLabelledby&&r.labelledBy,ref:"anchor","data-qa":"dt-popover-anchor",onClickCapture:t[1]||(t[1]=function(){return r.defaultToggleOpen&&r.defaultToggleOpen(...arguments)}),onKeydown:[t[2]||(t[2]=(0,n.withKeys)((0,n.withModifiers)((function(){return r.onArrowKeyPress&&r.onArrowKeyPress(...arguments)}),["prevent"]),["up"])),t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((function(){return r.onArrowKeyPress&&r.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 r.closePopover&&r.closePopover(...arguments)}),["escape"]))},[(0,n.renderSlot)(e.$slots,"anchor",{attrs:{"aria-expanded":a.isOpen.toString(),"aria-controls":o.id,"aria-haspopup":o.role}})],40,en),(0,n.createVNode)(l,(0,n.mergeProps)({id:o.id,ref:"content",role:o.role,"data-qa":"dt-popover","aria-hidden":"".concat(!a.isOpen),"aria-labelledby":r.labelledBy,"aria-label":o.ariaLabel,"aria-modal":"".concat(!o.modal),transition:o.transition,show:a.isOpen,appear:"",class:["d-popover__dialog",{"d-popover__dialog--modal":o.modal},o.dialogClass],style:{"max-height":o.maxHeight,"max-width":o.maxWidth},tabindex:o.contentTabindex},e.$attrs,{onKeydownCapture:r.onKeydown,onAfterLeave:r.onLeaveTransitionComplete,onAfterEnter:r.onEnterTransitionComplete}),{default:(0,n.withCtx)((()=>[e.$slots.headerContent||o.showCloseButton?((0,n.openBlock)(),(0,n.createBlock)(s,{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:r.closePopover},{content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"headerContent",{close:r.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:r.closePopover})],2),e.$slots.footerContent?((0,n.openBlock)(),(0,n.createBlock)(s,{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:r.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 nn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function on(e){var t=nn(e).Element;return e instanceof t||e instanceof Element}function an(e){var t=nn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function rn(e){if("undefined"===typeof ShadowRoot)return!1;var t=nn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var sn=Math.max,ln=Math.min,un=Math.round;function dn(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if(an(e)&&t){var a=e.offsetHeight,r=e.offsetWidth;r>0&&(o=un(n.width)/r||1),a>0&&(i=un(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 cn(e){var t=nn(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function pn(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Dn(e){return e!==nn(e)&&an(e)?pn(e):cn(e)}function hn(e){return e?(e.nodeName||"").toLowerCase():null}function mn(e){return((on(e)?e.ownerDocument:e.document)||window.document).documentElement}function fn(e){return dn(mn(e)).left+cn(e).scrollLeft}function gn(e){return nn(e).getComputedStyle(e)}function vn(e){var t=gn(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function bn(e){var t=e.getBoundingClientRect(),n=un(t.width)/e.offsetWidth||1,o=un(t.height)/e.offsetHeight||1;return 1!==n||1!==o}function yn(e,t,n){void 0===n&&(n=!1);var o=an(t),i=an(t)&&bn(t),a=mn(t),r=dn(e,i),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==hn(t)||vn(a))&&(s=Dn(t)),an(t)?(l=dn(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=fn(a))),{x:r.left+s.scrollLeft-l.x,y:r.top+s.scrollTop-l.y,width:r.width,height:r.height}}function Cn(e){var t=dn(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 En(e){return"html"===hn(e)?e:e.assignedSlot||e.parentNode||(rn(e)?e.host:null)||mn(e)}function Fn(e){return["html","body","#document"].indexOf(hn(e))>=0?e.ownerDocument.body:an(e)&&vn(e)?e:Fn(En(e))}function Sn(e,t){var n;void 0===t&&(t=[]);var o=Fn(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=nn(o),r=i?[a].concat(a.visualViewport||[],vn(o)?o:[]):o,s=t.concat(r);return i?s:s.concat(Sn(En(r)))}function Bn(e){return["table","td","th"].indexOf(hn(e))>=0}function kn(e){return an(e)&&"fixed"!==gn(e).position?e.offsetParent:null}function wn(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&an(e)){var o=gn(e);if("fixed"===o.position)return null}var i=En(e);rn(i)&&(i=i.host);while(an(i)&&["html","body"].indexOf(hn(i))<0){var a=gn(i);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return i;i=i.parentNode}return null}function In(e){var t=nn(e),n=kn(e);while(n&&Bn(n)&&"static"===gn(n).position)n=kn(n);return n&&("html"===hn(n)||"body"===hn(n)&&"static"===gn(n).position)?t:n||wn(e)||t}var xn="top",On="bottom",_n="right",An="left",Tn="auto",Ln=[xn,On,_n,An],Nn="start",Vn="end",Pn="clippingParents",Mn="viewport",Rn="popper",$n="reference",jn=Ln.reduce((function(e,t){return e.concat([t+"-"+Nn,t+"-"+Vn])}),[]),zn=[].concat(Ln,[Tn]).reduce((function(e,t){return e.concat([t,t+"-"+Nn,t+"-"+Vn])}),[]),Kn="beforeRead",Hn="read",qn="afterRead",Wn="beforeMain",Zn="main",Un="afterMain",Gn="beforeWrite",Yn="write",Qn="afterWrite",Xn=[Kn,Hn,qn,Wn,Zn,Un,Gn,Yn,Qn];function Jn(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 eo(e){var t=Jn(e);return Xn.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function to(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function no(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 oo={placement:"bottom",modifiers:[],strategy:"absolute"};function io(){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 ao(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?oo:i;return function(e,t,n){void 0===n&&(n=a);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},oo,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},r=[],s=!1,l={state:i,setOptions:function(n){var r="function"===typeof n?n(i.options):n;d(),i.options=Object.assign({},a,i.options,r),i.scrollParents={reference:on(e)?Sn(e):e.contextElement?Sn(e.contextElement):[],popper:Sn(t)};var s=eo(no([].concat(o,i.options.modifiers)));return i.orderedModifiers=s.filter((function(e){return e.enabled})),u(),l.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(io(t,n)){i.rects={reference:yn(t,In(n),"fixed"===i.options.strategy),popper:Cn(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],r=a.fn,u=a.options,d=void 0===u?{}:u,c=a.name;"function"===typeof r&&(i=r({state:i,options:d,name:c,instance:l})||i)}else i.reset=!1,o=-1}}},update:to((function(){return new Promise((function(e){l.forceUpdate(),e(i)}))})),destroy:function(){d(),s=!0}};if(!io(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 s=a({state:i,name:t,instance:l,options:o}),u=function(){};r.push(s||u)}}))}function d(){r.forEach((function(e){return e()})),r=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var ro={passive:!0};function so(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=void 0===i||i,r=o.resize,s=void 0===r||r,l=nn(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,ro)})),s&&l.addEventListener("resize",n.update,ro),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ro)})),s&&l.removeEventListener("resize",n.update,ro)}}const lo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:so,data:{}};function uo(e){return e.split("-")[0]}function co(e){return e.split("-")[1]}function po(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Do(e){var t,n=e.reference,o=e.element,i=e.placement,a=i?uo(i):null,r=i?co(i):null,s=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(a){case xn:t={x:s,y:n.y-o.height};break;case On:t={x:s,y:n.y+n.height};break;case _n:t={x:n.x+n.width,y:l};break;case An:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?po(a):null;if(null!=u){var d="y"===u?"height":"width";switch(r){case Nn:t[u]=t[u]-(n[d]/2-o[d]/2);break;case Vn:t[u]=t[u]+(n[d]/2-o[d]/2);break;default:}}return t}function ho(e){var t=e.state,n=e.name;t.modifiersData[n]=Do({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const mo={name:"popperOffsets",enabled:!0,phase:"read",fn:ho,data:{}};var fo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function go(e){var t=e.x,n=e.y,o=window,i=o.devicePixelRatio||1;return{x:un(t*i)/i||0,y:un(n*i)/i||0}}function vo(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,r=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,c=e.isFixed,p=r.x,D=void 0===p?0:p,h=r.y,m=void 0===h?0:h,f="function"===typeof d?d({x:D,y:m}):{x:D,y:m};D=f.x,m=f.y;var g=r.hasOwnProperty("x"),v=r.hasOwnProperty("y"),b=An,y=xn,C=window;if(u){var E=In(n),F="clientHeight",S="clientWidth";if(E===nn(n)&&(E=mn(n),"static"!==gn(E).position&&"absolute"===s&&(F="scrollHeight",S="scrollWidth")),E=E,i===xn||(i===An||i===_n)&&a===Vn){y=On;var B=c&&E===C&&C.visualViewport?C.visualViewport.height:E[F];m-=B-o.height,m*=l?1:-1}if(i===An||(i===xn||i===On)&&a===Vn){b=_n;var k=c&&E===C&&C.visualViewport?C.visualViewport.width:E[S];D-=k-o.width,D*=l?1:-1}}var w,I=Object.assign({position:s},u&&fo),x=!0===d?go({x:D,y:m}):{x:D,y:m};return D=x.x,m=x.y,l?Object.assign({},I,(w={},w[y]=v?"0":"",w[b]=g?"0":"",w.transform=(C.devicePixelRatio||1)<=1?"translate("+D+"px, "+m+"px)":"translate3d("+D+"px, "+m+"px, 0)",w)):Object.assign({},I,(t={},t[y]=v?m+"px":"",t[b]=g?D+"px":"",t.transform="",t))}function bo(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=void 0===o||o,a=n.adaptive,r=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,u={placement:uo(t.placement),variation:co(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,vo(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,vo(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 yo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:bo,data:{}};function Co(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];an(i)&&hn(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 Eo(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]),r=a.reduce((function(e,t){return e[t]="",e}),{});an(o)&&hn(o)&&(Object.assign(o.style,r),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}}const Fo={name:"applyStyles",enabled:!0,phase:"write",fn:Co,effect:Eo,requires:["computeStyles"]};function So(e,t,n){var o=uo(e),i=[An,xn].indexOf(o)>=0?-1:1,a="function"===typeof n?n(Object.assign({},t,{placement:e})):n,r=a[0],s=a[1];return r=r||0,s=(s||0)*i,[An,_n].indexOf(o)>=0?{x:s,y:r}:{x:r,y:s}}function Bo(e){var t=e.state,n=e.options,o=e.name,i=n.offset,a=void 0===i?[0,0]:i,r=zn.reduce((function(e,n){return e[n]=So(n,t.rects,a),e}),{}),s=r[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[o]=r}const ko={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Bo};var wo={left:"right",right:"left",bottom:"top",top:"bottom"};function Io(e){return e.replace(/left|right|bottom|top/g,(function(e){return wo[e]}))}var xo={start:"end",end:"start"};function Oo(e){return e.replace(/start|end/g,(function(e){return xo[e]}))}function _o(e){var t=nn(e),n=mn(e),o=t.visualViewport,i=n.clientWidth,a=n.clientHeight,r=0,s=0;return o&&(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=o.offsetLeft,s=o.offsetTop)),{width:i,height:a,x:r+fn(e),y:s}}function Ao(e){var t,n=mn(e),o=cn(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=sn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),r=sn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-o.scrollLeft+fn(e),l=-o.scrollTop;return"rtl"===gn(i||n).direction&&(s+=sn(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:r,x:s,y:l}}function To(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&rn(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Lo(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function No(e){var t=dn(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Vo(e,t){return t===Mn?Lo(_o(e)):on(t)?No(t):Lo(Ao(mn(e)))}function Po(e){var t=Sn(En(e)),n=["absolute","fixed"].indexOf(gn(e).position)>=0,o=n&&an(e)?In(e):e;return on(o)?t.filter((function(e){return on(e)&&To(e,o)&&"body"!==hn(e)})):[]}function Mo(e,t,n){var o="clippingParents"===t?Po(e):[].concat(t),i=[].concat(o,[n]),a=i[0],r=i.reduce((function(t,n){var o=Vo(e,n);return t.top=sn(o.top,t.top),t.right=ln(o.right,t.right),t.bottom=ln(o.bottom,t.bottom),t.left=sn(o.left,t.left),t}),Vo(e,a));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function Ro(){return{top:0,right:0,bottom:0,left:0}}function $o(e){return Object.assign({},Ro(),e)}function jo(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function zo(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,a=n.boundary,r=void 0===a?Pn:a,s=n.rootBoundary,l=void 0===s?Mn:s,u=n.elementContext,d=void 0===u?Rn:u,c=n.altBoundary,p=void 0!==c&&c,D=n.padding,h=void 0===D?0:D,m=$o("number"!==typeof h?h:jo(h,Ln)),f=d===Rn?$n:Rn,g=e.rects.popper,v=e.elements[p?f:d],b=Mo(on(v)?v:v.contextElement||mn(e.elements.popper),r,l),y=dn(e.elements.reference),C=Do({reference:y,element:g,strategy:"absolute",placement:i}),E=Lo(Object.assign({},g,C)),F=d===Rn?E:y,S={top:b.top-F.top+m.top,bottom:F.bottom-b.bottom+m.bottom,left:b.left-F.left+m.left,right:F.right-b.right+m.right},B=e.modifiersData.offset;if(d===Rn&&B){var k=B[i];Object.keys(S).forEach((function(e){var t=[_n,On].indexOf(e)>=0?1:-1,n=[xn,On].indexOf(e)>=0?"y":"x";S[e]+=k[n]*t}))}return S}function Ko(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=n.boundary,a=n.rootBoundary,r=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?zn:l,d=co(o),c=d?s?jn:jn.filter((function(e){return co(e)===d})):Ln,p=c.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=c);var D=p.reduce((function(t,n){return t[n]=zo(e,{placement:n,boundary:i,rootBoundary:a,padding:r})[uo(n)],t}),{});return Object.keys(D).sort((function(e,t){return D[e]-D[t]}))}function Ho(e){if(uo(e)===Tn)return[];var t=Io(e);return[Oo(e),t,Oo(t)]}function qo(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,r=n.altAxis,s=void 0===r||r,l=n.fallbackPlacements,u=n.padding,d=n.boundary,c=n.rootBoundary,p=n.altBoundary,D=n.flipVariations,h=void 0===D||D,m=n.allowedAutoPlacements,f=t.options.placement,g=uo(f),v=g===f,b=l||(v||!h?[Io(f)]:Ho(f)),y=[f].concat(b).reduce((function(e,n){return e.concat(uo(n)===Tn?Ko(t,{placement:n,boundary:d,rootBoundary:c,padding:u,flipVariations:h,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],I=uo(w),x=co(w)===Nn,O=[xn,On].indexOf(I)>=0,_=O?"width":"height",A=zo(t,{placement:w,boundary:d,rootBoundary:c,altBoundary:p,padding:u}),T=O?x?_n:An:x?On:xn;C[_]>E[_]&&(T=Io(T));var L=Io(T),N=[];if(a&&N.push(A[I]<=0),s&&N.push(A[T]<=0,A[L]<=0),N.every((function(e){return e}))){B=w,S=!1;break}F.set(w,N)}if(S)for(var V=h?3:1,P=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=V;M>0;M--){var R=P(M);if("break"===R)break}t.placement!==B&&(t.modifiersData[o]._skip=!0,t.placement=B,t.reset=!0)}}const Wo={name:"flip",enabled:!0,phase:"main",fn:qo,requiresIfExists:["offset"],data:{_skip:!1}};function Zo(e){return"x"===e?"y":"x"}function Uo(e,t,n){return sn(e,ln(t,n))}function Go(e,t,n){var o=Uo(e,t,n);return o>n?n:o}function Yo(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,a=void 0===i||i,r=n.altAxis,s=void 0!==r&&r,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,c=n.padding,p=n.tether,D=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,f=zo(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:d}),g=uo(t.placement),v=co(t.placement),b=!v,y=po(g),C=Zo(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,I={x:0,y:0};if(E){if(a){var x,O="y"===y?xn:An,_="y"===y?On:_n,A="y"===y?"height":"width",T=E[y],L=T+f[O],N=T-f[_],V=D?-S[A]/2:0,P=v===Nn?F[A]:S[A],M=v===Nn?-S[A]:-F[A],R=t.elements.arrow,$=D&&R?Cn(R):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ro(),z=j[O],K=j[_],H=Uo(0,F[A],$[A]),q=b?F[A]/2-V-H-z-k.mainAxis:P-H-z-k.mainAxis,W=b?-F[A]/2+V+H+K+k.mainAxis:M+H+K+k.mainAxis,Z=t.elements.arrow&&In(t.elements.arrow),U=Z?"y"===y?Z.clientTop||0:Z.clientLeft||0:0,G=null!=(x=null==w?void 0:w[y])?x:0,Y=T+q-G-U,Q=T+W-G,X=Uo(D?ln(L,Y):L,T,D?sn(N,Q):N);E[y]=X,I[y]=X-T}if(s){var J,ee="x"===y?xn:An,te="x"===y?On:_n,ne=E[C],oe="y"===C?"height":"width",ie=ne+f[ee],ae=ne-f[te],re=-1!==[xn,An].indexOf(g),se=null!=(J=null==w?void 0:w[C])?J:0,le=re?ie:ne-F[oe]-S[oe]-se+k.altAxis,ue=re?ne+F[oe]+S[oe]-se-k.altAxis:ae,de=D&&re?Go(le,ne,ue):Uo(D?le:ie,ne,D?ue:ae);E[C]=de,I[C]=de-ne}t.modifiersData[o]=I}}const Qo={name:"preventOverflow",enabled:!0,phase:"main",fn:Yo,requiresIfExists:["offset"]};var Xo=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,$o("number"!==typeof e?e:jo(e,Ln))};function Jo(e){var t,n=e.state,o=e.name,i=e.options,a=n.elements.arrow,r=n.modifiersData.popperOffsets,s=uo(n.placement),l=po(s),u=[An,_n].indexOf(s)>=0,d=u?"height":"width";if(a&&r){var c=Xo(i.padding,n),p=Cn(a),D="y"===l?xn:An,h="y"===l?On:_n,m=n.rects.reference[d]+n.rects.reference[l]-r[l]-n.rects.popper[d],f=r[l]-n.rects.reference[l],g=In(a),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=m/2-f/2,y=c[D],C=v-p[d]-c[h],E=v/2-p[d]/2+b,F=Uo(y,E,C),S=l;n.modifiersData[o]=(t={},t[S]=F,t.centerOffset=F-E,t)}}function ei(e){var t=e.state,n=e.options,o=n.element,i=void 0===o?"[data-popper-arrow]":o;null!=i&&("string"!==typeof i||(i=t.elements.popper.querySelector(i),i))&&To(t.elements.popper,i)&&(t.elements.arrow=i)}const ti={name:"arrow",enabled:!0,phase:"main",fn:Jo,effect:ei,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ni(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 oi(e){return[xn,_n,On,An].some((function(t){return e[t]>=0}))}function ii(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,r=zo(t,{elementContext:"reference"}),s=zo(t,{altBoundary:!0}),l=ni(r,o),u=ni(s,i,a),d=oi(l),c=oi(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 ai={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ii};var ri=[lo,mo,yo,Fo,ko,Wo,Qo,ti,ai],si=ao({defaultModifiers:ri}),li="tippy-box",ui="tippy-content",di="tippy-backdrop",ci="tippy-arrow",pi="tippy-svg-arrow",Di={passive:!0,capture:!0},hi=function(){return document.body};function mi(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function fi(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function gi(e,t){return"function"===typeof e?e.apply(void 0,t):e}function vi(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function bi(e){return e.split(/\s+/).filter(Boolean)}function yi(e){return[].concat(e)}function Ci(e,t){-1===e.indexOf(t)&&e.push(t)}function Ei(e){return e.filter((function(t,n){return e.indexOf(t)===n}))}function Fi(e){return e.split("-")[0]}function Si(e){return[].slice.call(e)}function Bi(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function ki(){return document.createElement("div")}function wi(e){return["Element","Fragment"].some((function(t){return fi(e,t)}))}function Ii(e){return fi(e,"NodeList")}function xi(e){return fi(e,"MouseEvent")}function Oi(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function _i(e){return wi(e)?[e]:Ii(e)?Si(e):Array.isArray(e)?e:Si(document.querySelectorAll(e))}function Ai(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ti(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Li(e){var t,n=yi(e),o=n[0];return null!=o&&null!=(t=o.ownerDocument)&&t.body?o.ownerDocument:document}function Ni(e,t){var n=t.clientX,o=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,a=e.props,r=a.interactiveBorder,s=Fi(i.placement),l=i.modifiersData.offset;if(!l)return!0;var u="bottom"===s?l.top.y:0,d="top"===s?l.bottom.y:0,c="right"===s?l.left.x:0,p="left"===s?l.right.x:0,D=t.top-o+u>r,h=o-t.bottom-d>r,m=t.left-n+c>r,f=n-t.right-p>r;return D||h||m||f}))}function Vi(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Pi(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 Mi={isTouch:!1},Ri=0;function $i(){Mi.isTouch||(Mi.isTouch=!0,window.performance&&document.addEventListener("mousemove",ji))}function ji(){var e=performance.now();e-Ri<20&&(Mi.isTouch=!1,document.removeEventListener("mousemove",ji)),Ri=e}function zi(){var e=document.activeElement;if(Oi(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Ki(){document.addEventListener("touchstart",$i,Di),window.addEventListener("blur",zi)}var Hi="undefined"!==typeof window&&"undefined"!==typeof document,qi=!!Hi&&!!window.msCrypto;var Wi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Zi={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ui=Object.assign({appendTo:hi,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},Wi,Zi),Gi=Object.keys(Ui),Yi=function(e){var t=Object.keys(e);t.forEach((function(t){Ui[t]=e[t]}))};function Qi(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=Ui[i])?o:a);return t}),{});return Object.assign({},e,n)}function Xi(e,t){var n=t?Object.keys(Qi(Object.assign({},Ui,{plugins:t}))):Gi,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 Ji(e,t){var n=Object.assign({},t,{content:gi(t.content,[e])},t.ignoreAttributes?{}:Xi(e,t.plugins));return n.aria=Object.assign({},Ui.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 ea=function(){return"innerHTML"};function ta(e,t){e[ea()]=t}function na(e){var t=ki();return!0===e?t.className=ci:(t.className=pi,wi(e)?t.appendChild(e):ta(t,e)),t}function oa(e,t){wi(t.content)?(ta(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?ta(e,t.content):e.textContent=t.content)}function ia(e){var t=e.firstElementChild,n=Si(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(ui)})),arrow:n.find((function(e){return e.classList.contains(ci)||e.classList.contains(pi)})),backdrop:n.find((function(e){return e.classList.contains(di)}))}}function aa(e){var t=ki(),n=ki();n.className=li,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=ki();function i(n,o){var i=ia(t),a=i.box,r=i.content,s=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||oa(r,e.props),o.arrow?s?n.arrow!==o.arrow&&(a.removeChild(s),a.appendChild(na(o.arrow))):a.appendChild(na(o.arrow)):s&&a.removeChild(s)}return o.className=ui,o.setAttribute("data-state","hidden"),oa(o,e.props),t.appendChild(n),n.appendChild(o),i(e.props,e.props),{popper:t,onUpdate:i}}aa.$$tippy=!0;var ra=1,sa=[],la=[];function ua(e,t){var n,o,i,a,r,s,l,u=Ji(e,Object.assign({},Ui,Qi(Bi(t)))),d=!1,c=!1,p=!1,D=!1,h=[],m=vi(Y,u.interactiveDebounce),f=ra++,g=null,v=Ei(u.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},y={id:f,reference:e,popper:ki(),popperInstance:g,props:u,state:b,plugins:v,clearDelayTimeouts:le,setProps:ue,setContent:de,show:ce,hide:pe,hideWithInteractivity:De,enable:re,disable:se,unmount:he,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(),V(),T(),L("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 I(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function x(){return l||e}function O(){var e=x().parentNode;return e?Li(e):document}function _(){return ia(E)}function A(e){return y.state.isMounted&&!y.state.isVisible||Mi.isTouch||a&&"focus"===a.type?0:mi(y.props.delay,e?0:1,Ui.delay)}function T(e){void 0===e&&(e=!1),E.style.pointerEvents=y.props.interactive&&!e?"":"none",E.style.zIndex=""+y.props.zIndex}function L(e,t,n){var o;(void 0===n&&(n=!0),S.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=y.props)[e].apply(o,t)}function N(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,o=E.id,i=yi(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 V(){if(!B&&y.props.aria.expanded){var t=yi(y.props.triggerTarget||e);t.forEach((function(e){y.props.interactive?e.setAttribute("aria-expanded",y.state.isVisible&&e===x()?"true":"false"):e.removeAttribute("aria-expanded")}))}}function P(){O().removeEventListener("mousemove",m),sa=sa.filter((function(e){return e!==m}))}function M(t){if(!Mi.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!Pi(E,n)){if(yi(y.props.triggerTarget||e).some((function(e){return Pi(e,n)}))){if(Mi.isTouch)return;if(y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else L("onClickOutside",[y,t]);!0===y.props.hideOnClick&&(y.clearDelayTimeouts(),y.hide(),c=!0,setTimeout((function(){c=!1})),y.state.isMounted||z())}}}function R(){p=!0}function $(){p=!1}function j(){var e=O();e.addEventListener("mousedown",M,!0),e.addEventListener("touchend",M,Di),e.addEventListener("touchstart",$,Di),e.addEventListener("touchmove",R,Di)}function z(){var e=O();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,Di),e.removeEventListener("touchstart",$,Di),e.removeEventListener("touchmove",R,Di)}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&&(Vi(n,"remove",o),t())}if(0===e)return t();Vi(n,"remove",r),Vi(n,"add",o),r=o}function W(t,n,o){void 0===o&&(o=!1);var i=yi(y.props.triggerTarget||e);i.forEach((function(e){e.addEventListener(t,n,o),h.push({node:e,eventType:t,handler:n,options:o})}))}function Z(){w()&&(W("touchstart",G,{passive:!0}),W("touchend",Q,{passive:!0})),bi(y.props.trigger).forEach((function(e){if("manual"!==e)switch(W(e,G),e){case"mouseenter":W("mouseleave",Q);break;case"focus":W(qi?"focusout":"blur",X);break;case"focusin":W("focusout",X);break}}))}function U(){h.forEach((function(e){var t=e.node,n=e.eventType,o=e.handler,i=e.options;t.removeEventListener(n,o,i)})),h=[]}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,V(),!y.state.isVisible&&xi(e)&&sa.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=x().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);Ni(o,e)&&(P(),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!==x()||y.props.interactive&&e.relatedTarget&&E.contains(e.relatedTarget)||ae(e)}function J(e){return!!Mi.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,r=t.moveTransition,l=I()?ia(E).arrow:null,u=a?{getBoundingClientRect:a,contextElement:a.contextElement||x()}:e,d={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(I()){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:!r}},d];I()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),y.popperInstance=si(u,E,Object.assign({},n,{placement:o,onFirstUpdate:s,modifiers:c}))}function te(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function ne(){var e,t=y.props.appendTo,n=x();e=y.props.interactive&&t===hi||"parent"===t?n.parentNode:gi(t,[n]),e.contains(E)||e.appendChild(E),y.state.isMounted=!0,ee()}function oe(){return Si(E.querySelectorAll("[data-tippy-root]"))}function ie(e){y.clearDelayTimeouts(),e&&L("onTrigger",[y,e]),j();var t=A(!0),o=k(),i=o[0],a=o[1];Mi.isTouch&&"hold"===i&&a&&(t=a),t?n=setTimeout((function(){y.show()}),t):y.show()}function ae(e){if(y.clearDelayTimeouts(),L("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 re(){y.state.isEnabled=!0}function se(){y.hide(),y.state.isEnabled=!1}function le(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(i)}function ue(t){if(!y.state.isDestroyed){L("onBeforeUpdate",[y,t]),U();var n=y.props,o=Ji(e,Object.assign({},n,Bi(t),{ignoreAttributes:!0}));y.props=o,Z(),n.interactiveDebounce!==o.interactiveDebounce&&(P(),m=vi(Y,o.interactiveDebounce)),n.triggerTarget&&!o.triggerTarget?yi(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded"),V(),T(),F&&F(n,o),y.popperInstance&&(ee(),oe().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),L("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=Mi.isTouch&&!y.props.touch,i=mi(y.props.duration,0,Ui.duration);if(!(e||t||n||o)&&!x().hasAttribute("disabled")&&(L("onShow",[y],!1),!1!==y.props.onShow(y))){if(y.state.isVisible=!0,I()&&(E.style.visibility="visible"),T(),j(),y.state.isMounted||(E.style.transition="none"),I()){var a=_(),r=a.box,l=a.content;Ai([r,l],0)}s=function(){var e;if(y.state.isVisible&&!D){if(D=!0,E.offsetHeight,E.style.transition=y.props.moveTransition,I()&&y.props.animation){var t=_(),n=t.box,o=t.content;Ai([n,o],i),Ti([n,o],"visible")}N(),V(),Ci(la,y),null==(e=y.popperInstance)||e.forceUpdate(),L("onMount",[y]),y.props.animation&&I()&&H(i,(function(){y.state.isShown=!0,L("onShown",[y])}))}},ne()}}function pe(){var e=!y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,o=mi(y.props.duration,1,Ui.duration);if(!(e||t||n)&&(L("onHide",[y],!1),!1!==y.props.onHide(y))){if(y.state.isVisible=!1,y.state.isShown=!1,D=!1,d=!1,I()&&(E.style.visibility="hidden"),P(),z(),T(!0),I()){var i=_(),a=i.box,r=i.content;y.props.animation&&(Ai([a,r],o),Ti([a,r],"hidden"))}N(),V(),y.props.animation?I()&&K(o,y.unmount):y.unmount()}}function De(e){O().addEventListener("mousemove",m),Ci(sa,m),m(e)}function he(){y.state.isVisible&&y.hide(),y.state.isMounted&&(te(),oe().forEach((function(e){e._tippy.unmount()})),E.parentNode&&E.parentNode.removeChild(E),la=la.filter((function(e){return e!==y})),y.state.isMounted=!1,L("onHidden",[y]))}function me(){y.state.isDestroyed||(y.clearDelayTimeouts(),y.unmount(),U(),delete e._tippy,y.state.isDestroyed=!0,L("onDestroy",[y]))}}function da(e,t){void 0===t&&(t={});var n=Ui.plugins.concat(t.plugins||[]);Ki();var o=Object.assign({},t,{plugins:n}),i=_i(e),a=i.reduce((function(e,t){var n=t&&ua(t,o);return n&&e.push(n),e}),[]);return wi(e)?a[0]:a}da.defaultProps=Ui,da.setDefaultProps=Yi,da.currentInput=Mi;Object.assign({},Fo,{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)}});da.setDefaultProps({render:aa});const ca=da,pa=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),Da=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],ha=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,ca(e,{...t,render:()=>va(n)})},ma=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},pa((e=>{let{state:t}=e;n(t.placement)}))]}},fa=(e,t)=>{const n=document.createElement("span");return n.setAttribute("tabindex",t),n.innerText=e.innerText||"",e.innerText="",e.appendChild(n),n},ga=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):fa(e)},va=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},ba={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},ya={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},Ca=["dialog","menu","listbox","tree","grid"],Ea=[null,"anchor"],Fa=["none","dialog","first"];function Sa(e,t,o,i,a,r){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 Ba={name:"DtLazyShow",inheritAttrs:!1,props:{show:Boolean,transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},watch:{show:function(e){e&&!this.initialized&&(this.initialized=!0)}}},ka=(0,A.Z)(Ba,[["render",Sa]]),wa=ka;function Ia(e,t,o,i,a,r){const s=(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)(s,{class:"d-svg--size20"})])),_:1},16)):(0,n.createCommentVNode)("",!0)],2)}const xa={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()}}},Oa=(0,A.Z)(xa,[["render",Ia]]),_a=Oa,Aa={name:"DtPopover",components:{DtLazyShow:wa,PopoverHeaderFooter:_a},mixins:[bt],inheritAttrs:!1,props:{open:{type:Boolean,default:null},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:e=>Ca.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(ba).some((t=>t===e))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:e=>Ea.includes(e)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return E()}},offset:{type:Array,default:()=>[0,4]},hideOnClick:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom-end"},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},showCloseButton:{type:Boolean,default:!1},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""},dialogClass:{type:[String,Array,Object],default:""},initialFocusElement:{type:[String,HTMLElement],default:"none",validator:e=>Fa.includes(e)||e instanceof HTMLElement||e.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["update:open","opened"],data(){return{POPOVER_PADDING_CLASSES:ba,POPOVER_HEADER_FOOTER_PADDING_CLASSES:ya,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&E("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(e){this.tip.setProps({zIndex:e?650:300})},offset(e){this.tip.setProps({offset:e})},fallbackPlacements(e){this.tip.setProps({popperOptions:ma({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=ha(this.anchorEl,{popperOptions:ma({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0}),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,appendTo:document.body,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow}),this.isOpen&&this.tip.show()},beforeUnmount(){var e;window.removeEventListener("resize",this.onResize),null===(e=this.tip)||void 0===e||e.destroy(),this.removeReferences(),this.removeClosePopoverEventListener()},methods:{validateProps(){this.modal&&"none"===this.initialFocusElement&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?650:300},defaultToggleOpen(e){if(null===this.open||void 0===this.open){var t;if(!this.anchorEl.contains(e.target)&&!this.anchorEl.isEqualNode(e.target)||null!==(t=this.anchorEl)&&void 0!==t&&t.disabled)return;this.toggleOpen()}},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(e){null===this.open&&this.openWithArrowKeys&&this.anchorEl.contains(e.target)&&(this.isOpen||(this.isOpen=!0))},addClosePopoverEventListener(){window.addEventListener("dt-popover-close",this.closePopover)},removeClosePopoverEventListener(){window.removeEventListener("dt-popover-close",this.closePopover)},closePopover(){this.isOpen=!1},removeReferences(){this.anchorEl=null,this.popoverContentEl=null,this.tip=null},async onShow(){"anchor"===this.contentWidth&&await this.setPopoverContentAnchorWidth(),null===this.contentWidth&&(this.popoverContentEl.style.width="auto")},async onLeaveTransitionComplete(){var e;this.modal&&(this.focusFirstElement(this.$refs.anchor),await this.$nextTick()),null===(e=this.tip)||void 0===e||e.unmount(),this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),await this.$nextTick(),this.$emit("opened",!0,this.$refs.popover__content),null!==this.open&&this.$emit("update:open",!0)},focusInitialElement(){"dialog"===this.initialFocusElement&&this.$refs.content.$el.focus(),this.initialFocusElement.startsWith("#")&&this.focusInitialElementById(),"first"===this.initialFocusElement&&this.focusFirstElementIfNeeded(this.$refs.popover__content),this.initialFocusElement instanceof HTMLElement&&this.initialFocusElement.focus()},focusInitialElementById(){const e=this.$refs.content.$el.querySelector(this.initialFocusElement);e?e.focus():console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'),e?e.focus():this.$refs.content.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;const e=this.popoverContentEl.querySelector(".d-popover__anchor--modal-opened");e||this.closePopover()},onKeydown(e){"Tab"===e.key&&this.modal&&this.focusTrappedTabPress(e,this.popoverContentEl),"Escape"===e.key&&this.closePopover()},async setPopoverContentAnchorWidth(){await this.$nextTick(),this.popoverContentEl.style.width="".concat(this.anchorEl.clientWidth,"px")},focusFirstElementIfNeeded(e){const t=this._getFocusableElements(e,!0);if(0!==t.length)this.focusFirstElement(e);else if(this.showCloseButton){var n;null===(n=this.$refs.popover__header)||void 0===n||n.focusCloseButton()}else this.$refs.content.$el.focus()}}};o(425);const Ta=(0,A.Z)(Aa,[["render",tn]]),La=Ta,Na={DEFAULT:"default",CUSTOM:"custom"},Va={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"},Pa={none:void 0,small:"d-py6",large:"d-py12"},Ma={name:"DtDropdown",components:{DtPopover:La},inheritAttrs:!1,mixins:[Zt({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0})],props:{open:{type:Boolean,default:null},padding:{type:String,default:"small",validator:e=>Object.keys(Pa).some((t=>t===e))},modal:{type:Boolean,default:!0},contentWidth:{type:String,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},listId:{type:String,default(){return E()}},navigationType:{type:String,default:Va.ARROW_KEYS,validator:e=>Object.values(Va).includes(e)},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom"},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},listClass:{type:[String,Array,Object],default:""}},emits:["highlight","update:open","opened"],data(){return{LIST_ITEM_NAVIGATION_TYPES:Va,DROPDOWN_PADDING_CLASSES:Pa,openedWithKeyboard:!1,isOpen:null}},computed:{beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemEl(){return this.getListElement().querySelector("#"+this.highlightId)}},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.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS?this.onUpKey():void 0;this.openedWithKeyboard=!0},onDownKeyPress(){if(this.isOpen)return this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS?this.onDownKey():void 0;this.openedWithKeyboard=!0},onHomeKeyPress(){if(this.isOpen)return this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS?this.onHomeKey():void 0},onEndKeyPress(){if(this.isOpen)return this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS?this.onEndKey():void 0},onKeyValidation(e,t){null===this.open&&this[t](e)}}},Ra=(0,A.Z)(Ma,[["render",Xt]]),$a=Ra,ja=["aria-label","alt","title","src"];function za(e,t,o,i,a,r){const s=(0,n.resolveComponent)("dt-skeleton");return(0,n.openBlock)(),(0,n.createElementBlock)("span",{class:(0,n.normalizeClass)(r.skeletonSizeClass)},[(0,n.withDirectives)((0,n.createVNode)(s,{offset:0,class:(0,n.normalizeClass)(r.skeletonSizeClass),"shape-option":{shape:"square",contentClass:r.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":r.emojiLabel,alt:r.emojiAlt,title:r.emojiLabel,src:r.emojiSrc,onLoad:t[0]||(t[0]=function(){return r.imageLoaded&&r.imageLoaded(...arguments)}),onError:t[1]||(t[1]=function(){return r.imageErrored&&r.imageErrored(...arguments)})},null,42,ja)),[[n.vShow,!a.imgLoading]])],2)}const Ka={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 Ha=o(809),qa=o.n(Ha);const Wa="6.6",Za="https://cdn.jsdelivr.net/joypixels/assets/"+Wa+"/png/unicode/32/";let Ua=Za,Ga=".png",Ya=Za,Qa=".png",Xa=null;async function Ja(){Xa||(Xa=await o.e(370).then(o.t.bind(o,370,19)))}function er(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".png";e.endsWith("/")||(e+="/"),Ua=e,Ga=t}function tr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".svg";e.endsWith("/")||(e+="/"),Ya=e,Qa=t}function nr(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(Xa,null),n}function or(e){let t="";for(const n of e)""!==t&&(t+="-"),t+=n.codePointAt(0).toString(16);return t}function ir(e){const t=e.split("-");let n="";return t.forEach((e=>{n+=String.fromCodePoint(parseInt(e,16))})),n}async function ar(e){if(await Ja(),e.startsWith(":")&&e.endsWith(":"))return nr(e);{const t=or(e),n=Xa[t];return n&&(n.key=t),n}}function rr(e){const t=e.match(/:[^:]+:/g),n=t?t.filter((e=>nr(e))):[];return new Set(n)}function sr(e){const t=[...e.matchAll(qa()())],n=t.length?t.map((e=>e[0])):[];return new Set(n)}const lr=["aria-label"];function ur(e,t,o,i,a,r){const s=(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)(s,(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,lr)}function dr(e,t,o,i,a,r){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)(r.shapeStyles)},null,6)}const cr=3e6,pr={circle:"d-bar-circle",square:"d-bar2"},Dr=["body","heading"],hr={sm:"24px",md:"32px",lg:"48px"},mr={sm:"d-h16",md:"d-h24",lg:"d-h32"},fr={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*cr/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return e.animationDelay="".concat(t,"ms"),e.animationDuration="".concat(n,"ms"),e}}},gr={name:"DtSkeletonShape",mixins:[fr],props:{shape:{type:String,default:"circle",validator:e=>Object.keys(pr).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:pr}},computed:{shapeStyles(){const e=hr[this.size]||this.size;return{...this.skeletonStyle,"min-width":e,"max-width":e,"min-height":e,"max-height":e}}}},vr=(0,A.Z)(gr,[["render",dr]]),br=vr,yr={class:"d-d-flex d-fd-column d-w100p"};function Cr(e,t,o,i,a,r){const s=(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)(s,{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",yr,[(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 Er(e,t,o,i,a,r){const s=(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)(r.integerRows,(e=>((0,n.openBlock)(),(0,n.createBlock)(s,{key:e,"data-qa":"skeleton-paragraph-row",class:(0,n.normalizeClass)([{"d-mb12":e!==r.integerRows}]),"content-class":o.rowClass,animate:o.animate,offset:o.offset,"animation-duration":o.animationDuration,width:r.getSizeParagraphRow(e)},null,8,["class","content-class","animate","offset","animation-duration","width"])))),128))],2)}function Fr(e,t,o,i,a,r){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 Sr={name:"DtSkeletonText",mixins:[fr],props:{type:{type:String,default:"body",validator:e=>Dr.includes(e)},headingHeight:{type:String,default:"md",validator:e=>Object.keys(mr).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:mr}}},Br=(0,A.Z)(Sr,[["render",Fr]]),kr=Br,wr=e=>""!==e&&!Number.isNaN(Number(e)),Ir={name:"DtSkeletonParagraph",components:{DtSkeletonText:kr},props:{rows:{type:[Number,String],default:3,validator:wr},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:wr},maxWidth:{type:[Number,String],default:100,validator:wr},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%"}}},xr=(0,A.Z)(Ir,[["render",Er]]),Or=xr,_r={name:"DtSkeletonListItem",components:{DtSkeletonShape:br,DtSkeletonParagraph:Or},props:{shape:{type:String,default:"circle",validator:e=>Object.keys(pr).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:""}}},Ar=(0,A.Z)(_r,[["render",Cr]]),Tr=Ar,Lr={name:"DtSkeleton",components:{DtSkeletonText:kr,DtSkeletonShape:br,DtSkeletonListItem:Tr,DtSkeletonParagraph:Or},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 Nr=(0,A.Z)(Lr,[["render",ur]]),Vr=Nr,Pr={name:"DtEmoji",components:{DtSkeleton:Vr},props:{code:{type:String,default:null},size:{type:String,default:Ka.SIZE_20,validator:e=>Object.values(Ka).includes(e)},imgClass:{type:[String,Object,Array],default:""},ariaLabel:{type:String,default:null}},data(){return{emojiData:null,imgLoading:!1,emojiDataLoading:!1}},computed:{emojiDataValid(){return!!this.emojiData},emojiSrc(){return this.emojiDataValid?["d-svg--size14","d-svg--size16"].includes(this.size)?Ua+this.emojiData.key+Ga:Ya+this.emojiData.key+Qa:"invalid"},emojiAlt(){if(this.emojiDataValid)return ir(this.emojiData.unicode_output)},emojiLabel(){return this.emojiDataValid?this.ariaLabel?this.ariaLabel:this.emojiData.name:"Invalid Emoji"},skeletonSizeClass(){return"d-svg--size100p"===this.size?["d-h100p","d-w100p"]:this.size}},watch:{code:{handler:async function(){this.emojiDataLoading=!0,await this.getEmojiData(),this.emojiDataLoading=!1},immediate:!0},emojiSrc:{handler:async function(){this.imgLoading=!0}}},methods:{async getEmojiData(){this.emojiData=await ar(this.code)},imageLoaded(){this.imgLoading=!1},imageErrored(){this.imgLoading=!1}}},Mr=(0,A.Z)(Pr,[["render",za]]),Rr=Mr,$r={ref:"container",class:"base-input","data-qa":"dt-input"},jr=["aria-details"],zr=["id"],Kr={key:0},Hr={key:1,"data-qa":"dt-input-length-description",class:(0,n.normalizeClass)(["d-mb2"])},qr={class:"d-input__wrapper"},Wr=["value","name","disabled","maxlength"],Zr=["value","name","type","disabled","maxlength"];function Ur(e,t,o,i,a,r){const s=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("div",$r,[(0,n.createElementVNode)("label",{class:"base-input__label","aria-details":e.$slots.description||o.description?r.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,"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||r.shouldValidateLength?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,id:r.descriptionKey,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",Kr,[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.description),1)]))])):(0,n.createCommentVNode)("",!0),r.shouldValidateLength?((0,n.openBlock)(),(0,n.createElementBlock)("div",Hr,(0,n.toDisplayString)(r.validationProps.length.description),1)):(0,n.createCommentVNode)("",!0)],10,zr)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",qr,[e.$slots.leftIcon?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:(0,n.normalizeClass)(r.inputIconClasses("left")),"data-qa":"dt-input-left-icon-wrapper",onFocusout:t[0]||(t[0]=function(){return r.onBlur&&r.onBlur(...arguments)})},[(0,n.renderSlot)(e.$slots,"leftIcon")],34)):(0,n.createCommentVNode)("",!0),r.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:r.inputClasses(),maxlength:r.shouldLimitMaxLength?r.validationProps.length.max:null,"data-qa":"dt-input-input"},e.$attrs,(0,n.toHandlers)(r.inputListeners)),null,16,Wr)):((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:r.inputClasses(),maxlength:r.shouldLimitMaxLength?r.validationProps.length.max:null,"data-qa":"dt-input-input"},e.$attrs,(0,n.toHandlers)(r.inputListeners)),null,16,Zr)),e.$slots.rightIcon?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:3,class:(0,n.normalizeClass)(r.inputIconClasses("right")),"data-qa":"dt-input-right-icon-wrapper",onFocusout:t[1]||(t[1]=function(){return r.onBlur&&r.onBlur(...arguments)})},[(0,n.renderSlot)(e.$slots,"rightIcon")],34)):(0,n.createCommentVNode)("",!0)])],8,jr),(0,n.createVNode)(s,(0,n.mergeProps)({"validation-messages":r.validationMessages,"show-messages":e.showMessages,class:e.messagesClass},e.messagesChildProps,{"data-qa":"dt-input-messages"}),null,16,["validation-messages","show-messages","class"])],512)}const Gr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Yr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},Qr={key:0,class:"base-input__messages d-d-flex d-fd-column","data-qa":"validation-messages-container"},Xr=["innerHTML"];function Jr(e,t,o,i,a,r){return o.showMessages&&!r.isFilteredValidationMessagesEmpty?((0,n.openBlock)(),(0,n.createElementBlock)("div",Qr,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(r.filteredValidationMessages,((e,t)=>{let{message:o,type:i}=e;return(0,n.openBlock)(),(0,n.createElementBlock)("div",{key:r.getMessageKey(i,t),role:"status","aria-live":"polite","data-qa":"validation-message",class:(0,n.normalizeClass)(["base-input__message","d-validation-message",r.messageTypeClass(i)])},[(0,n.createElementVNode)("p",{innerHTML:o},null,8,Xr)],2)})),128))])):(0,n.createCommentVNode)("",!0)}function es(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 ts={name:"DtValidationMessages",props:{id:{type:String,default(){return E()}},validationMessages:{type:Array,default:()=>[],validator:e=>es(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]}}},ns=(0,A.Z)(ts,[["render",Jr]]),os=ns,is={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)}}},as={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}}},rs={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)}},ss={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:e=>es(e)}},computed:{formattedMessages(){return F(this.messages)}}},ls={name:"DtInput",components:{DtValidationMessages:os},mixins:[ss],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Gr.TEXT,validator:e=>Object.values(Gr).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(Yr).includes(e)},iconSize:{type:String,default:null,validator:e=>Object.values(Yr).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===Gr.TEXTAREA},isDefaultSize(){return this.size===Yr.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Yr.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Yr).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,r,s,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===(r=this.validate)||void 0===r||null===(s=r.length)||void 0===s?void 0:s.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}}},us=(0,A.Z)(ls,[["render",Ur]]),ds=us,cs=["data-qa"],ps=["data-qa"];function Ds(e,t,o,i,a,r){const s=(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,ps)):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(e.$slots,"default"),(0,n.createVNode)(s,(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,cs)}const hs={components:{DtValidationMessages:os},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=>es(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)}},ms={name:"DtInputGroup",components:{DtValidationMessages:os},mixins:[hs],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)}}},fs=(0,A.Z)(ms,[["render",Ds]]),gs=fs,vs=["aria-describedby","aria-labelledby"],bs=["id"],ys=["id"],Cs={key:2,class:"d-modal__content","data-qa":"dt-modal-copy"},Es={key:3,class:"d-modal__content","data-qa":"dt-modal-copy"},Fs={key:4,class:"d-modal__footer"};function Ss(e,t,o,i,a,r){const s=(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":r.open,onClick:(0,n.withModifiers)(r.close,["self"]),onKeydown:[(0,n.withKeys)(r.close,["esc"]),(0,n.withKeys)(r.trapFocus,["tab"])],onAfterEnter:(0,n.withModifiers)(r.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,bs)):((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,ys)),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",Cs,[(0,n.renderSlot)(e.$slots,"default")])):((0,n.openBlock)(),(0,n.createElementBlock)("p",Es,(0,n.toDisplayString)(o.copy),1)),r.hasFooterSlot?((0,n.openBlock)(),(0,n.createElementBlock)("footer",Fs,[(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:r.close}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(s)])),_:1},16,["aria-label","kind","onClick"]))],10,vs),[[n.vShow,o.show]])])),_:3})])),_:3},8,["show","class","aria-hidden","onClick","onKeydown","onAfterEnter"])}const Bs={default:"",danger:"d-modal--danger"},ks={default:"",full:"d-modal--full"},ws={name:"DtModal",components:{DtLazyShow:wa,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(Bs).includes(e)},size:{type:String,default:"default",validator:e=>Object.keys(ks).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:Bs,MODAL_SIZE_MODIFIERS:ks}},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)}}},Is=(0,A.Z)(ws,[["render",Ss]]),xs=Is,Os=["id","aria-labelledby"],_s=["id"],As=["id"],Ts=["id"],Ls={class:"d-d-flex"};function Ns(e,t,o,i,a,r){const s=(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,_s)):(0,n.createCommentVNode)("",!0),!r.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,As)):((0,n.openBlock)(),(0,n.createElementBlock)("ol",{key:2,id:"".concat(o.id,"-list-section-content")},[(0,n.createVNode)(s,{vnodes:r.displayedItems},null,8,["vnodes"])],8,Ts)),(0,n.createElementVNode)("div",Ls,[r.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:r.showMoreLessClicked},{default:(0,n.withCtx)((()=>[(0,n.createTextVNode)((0,n.toDisplayString)(r.showMoreLessText),1)])),_:1},8,["id","onClick"])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(e.$slots,"footer")])],10,Os)}const Vs={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 Ps=(0,A.Z)(Vs,[["render",Ns]]),Ms=Ps;function Rs(e,t,o,i,a,r){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":r.isFocusable,"dt-list-item--highlighted":r.isHighlighted}],tabindex:r.isFocusable?0:-1,role:o.role,"aria-selected":r.isHighlighted},(0,n.toHandlers)(r.listItemListeners)),{default:(0,n.withCtx)((()=>[r.listItemType?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(r.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 $s={class:"dt-default-list-item d-fs14 d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},js={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"},zs={class:"d-fl-grow1"},Ks={key:0},Hs={key:2,"data-qa":"dt-default-list-item-bottom-wrapper",class:"d-mt2"},qs={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 Ws(e,t,o,i,a,r){return(0,n.openBlock)(),(0,n.createElementBlock)("div",$s,[e.$slots.left?((0,n.openBlock)(),(0,n.createElementBlock)("section",js,[(0,n.renderSlot)(e.$slots,"left")])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("section",zs,[e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",Ks,[(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",Hs,[(0,n.renderSlot)(e.$slots,"bottom")])):(0,n.createCommentVNode)("",!0)]),e.$slots.right?((0,n.openBlock)(),(0,n.createElementBlock)("section",qs,[(0,n.renderSlot)(e.$slots,"right")])):(0,n.createCommentVNode)("",!0)])}const Zs={name:"DefaultListItem"};o(566);const Us=(0,A.Z)(Zs,[["render",Ws]]),Gs=Us,Ys={name:"ListItem",components:{DtDefaultListItem:Gs},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:Na.DEFAULT,validator:e=>Object.values(Na).includes(e)},navigationType:{type:String,default:Va.NONE,validator:e=>Object.values(Va).includes(e)}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case Na.DEFAULT:return Gs;default:return null}},listItemListeners(){return{keydown:e=>{["enter","space"].includes(e.code.toLowerCase())&&this.onClick(e),this.$emit("keydown",e)},mousemove:e=>{this.onMouseHover(e),this.$emit("mousemove",e)},mouseleave:e=>{this.onMouseLeave(e),this.$emit("mouseleave",e)}}},isHighlighted(){return!!this.isHoverable&&(this.highlightId&&this.highlightId()?this.id===this.highlightId():this.mouseHighlighted)},isFocusable(){return this.navigationType===Va.TAB},isHoverable(){return this.navigationType!==Va.NONE}},methods:{onClick(e){this.$emit("click",e)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}};o(988);const Qs=(0,A.Z)(Ys,[["render",Rs]]),Xs=Qs;function Js(e,t,o,i,a,r){const s=(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)(r.noticeClass),"data-qa":"notice"},[(0,n.createVNode)(s,{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 el={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}]}}},tl=(0,A.Z)(el,[["render",Js]]),nl=tl,ol={class:"d-radio__input"},il=["checked","name","value","disabled"],al={class:"d-radio__copy d-radio__label","data-qa":"radio-label-description-container"};function rl(e,t,o,i,a,r){const s=(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",ol,[(0,n.createElementVNode)("input",(0,n.mergeProps)({checked:e.internalChecked,name:e.internalName,value:o.value,disabled:e.internalDisabled,type:"radio",class:["d-radio",r.inputValidationClass,e.inputClass]},e.$attrs,(0,n.toHandlers)(r.inputListeners)),null,16,il)]),(0,n.createElementVNode)("div",al,[(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)(s,(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 sl={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},ll={name:"DtRadio",components:{DtValidationMessages:os},mixins:[is,as,rs,ss],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focus","focusin","focusout","click"],computed:{inputValidationClass(){return sl[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))}}},ul=(0,A.Z)(ll,[["render",rl]]),dl=ul,cl={name:"DtRadioGroup",extends:gs,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"],watch:{value(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=cl,Dl=pl,hl={"data-qa":"dt-tab-group"},ml=["aria-label"];function fl(e,t,o,i,a,r){return(0,n.openBlock)(),(0,n.createElementBlock)("div",hl,[(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 r.tabLeft&&r.tabLeft(...arguments)}),["left"])),t[1]||(t[1]=(0,n.withKeys)((function(){return r.tabRight&&r.tabRight(...arguments)}),["right"])),t[2]||(t[2]=(0,n.withKeys)((function(){return r.selectTab&&r.selectTab(...arguments)}),["enter"])),t[3]||(t[3]=(0,n.withKeys)((function(){return r.selectTab&&r.selectTab(...arguments)}),["space"]))],onKeydown:[t[4]||(t[4]=(0,n.withKeys)((function(){return r.onHomeButton&&r.onHomeButton(...arguments)}),["home"])),t[5]||(t[5]=(0,n.withKeys)((function(){return r.onEndButton&&r.onEndButton(...arguments)}),["end"]))]}),[(0,n.renderSlot)(e.$slots,"tabs")],16,ml),(0,n.renderSlot)(e.$slots,"default")])}const gl=["default","sm"],vl={sm:"d-tablist--sm"},bl={inverted:"d-tablist--inverted"},yl={borderless:"d-tablist--no-border"},Cl={selected:"d-tab--selected"},El={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 gl.includes(e)}},tabListClass:{type:[String,Array,Object],default:""},tabListChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{provideObj:{selected:"",disabled:!1},focusId:null,tabs:[],TAB_LIST_SIZE_MODIFIERS:vl,TAB_LIST_KIND_MODIFIERS:bl,TAB_LIST_IMPORTANCE_MODIFIERS:yl}},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())}}},Fl=(0,A.Z)(El,[["render",fl]]),Sl=Fl;function Bl(e,t,o,i,a,r){const s=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createBlock)(s,(0,n.mergeProps)({id:"dt-tab-".concat(o.id),class:["d-tab",{[a.TAB_IMPORTANCE_MODIFIERS.selected]:r.isSelected},o.tabClass],role:"tab","aria-selected":"".concat(r.isSelected),"aria-controls":"dt-panel-".concat(o.panelId),"aria-label":o.label,"data-qa":"dt-tab",tabindex:r.isSelected?"0":"-1",disabled:r.groupContext.disabled||o.disabled},e.$attrs,{onClick:t[0]||(t[0]=e=>r.selectPanel()),onFocus:t[1]||(t[1]=e=>r.setFocus(o.id))}),{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},16,["id","class","aria-selected","aria-controls","aria-label","tabindex","disabled"])}const kl={name:"DtTab",components:{DtButton:pt},inject:["changeContentPanel","groupContext","setFocus"],inheritAttrs:!1,props:{id:{type:String,required:!0},panelId:{type:String,required:!0},label:{type:String,default:""},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tabClass:{type:[String,Array,Object],default:""}},data(){return{TAB_IMPORTANCE_MODIFIERS:Cl}},computed:{isSelected(){return this.groupContext.selected===this.panelId}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.changeContentPanel({selected:this.panelId,selectOverride:e})}}},wl=(0,A.Z)(kl,[["render",Bl]]),Il=wl,xl=["id","aria-labelledby","aria-hidden"];function Ol(e,t,o,i,a,r){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(r.hidePanel),class:(0,n.normalizeClass)([{"d-d-none":r.hidePanel},o.tabPanelClass]),"data-qa":"dt-tab-panel"},[(0,n.renderSlot)(e.$slots,"default")],10,xl)),[[n.vShow,!o.hidden]])}const _l={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}}},Al=(0,A.Z)(_l,[["render",Ol]]),Tl=Al,Ll={class:"d-checkbox__input"},Nl=["checked","name","value","disabled",".indeterminate"],Vl={key:0,class:"d-checkbox__copy d-checkbox__label","data-qa":"checkbox-label-description-container"};function Pl(e,t,o,i,a,r){const s=(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",Ll,[(0,n.createElementVNode)("input",(0,n.mergeProps)({type:"checkbox",checked:e.internalChecked,name:e.internalName,value:e.value,disabled:e.internalDisabled,class:["d-checkbox",r.inputValidationClass,e.inputClass]},e.$attrs,{".indeterminate":e.internalIndeterminate},(0,n.toHandlers)(r.inputListeners)),null,16,Nl)]),r.hasLabelOrDescription?((0,n.openBlock)(),(0,n.createElementBlock)("div",Vl,[r.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),r.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)(s,(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 Ml={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},Rl={name:"DtCheckbox",components:{DtValidationMessages:os},mixins:[is,as,rs,ss],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Ml[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"])}}},$l=(0,A.Z)(Rl,[["render",Pl]]),jl=$l,zl={name:"DtCheckboxGroup",extends:gs,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)}}},Kl=zl,Hl=Kl,ql=["id","tabindex","aria-labelledby","aria-label"],Wl={key:0,"data-qa":"dt-chip-icon",class:"d-chip__icon"},Zl={key:1,"data-qa":"dt-chip-avatar"},Ul=["id"],Gl={key:3,class:"d-chip-btn-holder"},Yl={ref:"closeBtnContainer",class:"d-chip-btn-container"};function Ql(e,t,o,i,a,r){const s=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("span",{id:o.id,class:(0,n.normalizeClass)(r.chipClasses()),"data-qa":"dt-chip",tabindex:r.tabIndex,"aria-labelledby":o.ariaLabel?void 0:"".concat(o.id,"-content"),"aria-label":o.ariaLabel,onMousedown:t[1]||(t[1]=function(){return r.onClick&&r.onClick(...arguments)}),onMouseup:t[2]||(t[2]=function(){return r.onClick&&r.onClick(...arguments)}),onMouseleave:t[3]||(t[3]=e=>a.isActive=!1),onFocusout:t[4]||(t[4]=e=>a.isActive=!1),onKeydown:t[5]||(t[5]=(0,n.withKeys)((function(){return r.onClick&&r.onClick(...arguments)}),["enter"])),onKeyup:[t[6]||(t[6]=(0,n.withKeys)((function(){return r.onClick&&r.onClick(...arguments)}),["enter"])),t[7]||(t[7]=(0,n.withKeys)((function(){return r.onClose&&r.onClose(...arguments)}),["delete"]))]},[e.$slots.icon?((0,n.openBlock)(),(0,n.createElementBlock)("span",Wl,[(0,n.renderSlot)(e.$slots,"icon")])):e.$slots.avatar?((0,n.openBlock)(),(0,n.createElementBlock)("span",Zl,[(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",o.contentClass])},[(0,n.renderSlot)(e.$slots,"default")],10,Ul)):(0,n.createCommentVNode)("",!0),o.hideClose?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createElementBlock)("span",Gl)),(0,n.createElementVNode)("span",Yl,[o.hideClose?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:0},o.closeButtonProps,{"data-qa":"dt-chip-close",circle:"",importance:"clear","aria-label":o.closeButtonProps.ariaLabel,onClick:t[0]||(t[0]=t=>e.$emit("close"))}),{default:(0,n.withCtx)((()=>[(0,n.createVNode)(s)])),_:1},16,["aria-label"]))],512)],42,ql)}const Xl={xs:"d-chip--xs",sm:"d-chip--sm",md:""},Jl={name:"DtChip",components:{IconClose:Ze,DtButton:pt},props:{closeButtonProps:{type:Object,validator:e=>!!e.ariaLabel},hideClose:{type:Boolean,default:!1},size:{type:String,default:"md",validator:e=>Object.keys(Xl).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"],data(){return{isActive:!1}},computed:{tabIndex(){return this.interactive?0:-1}},methods:{chipClasses(){return["d-chip",Xl[this.size],{"d-chip--interactive":this.interactive,"d-chip--active":this.isActive}]},onClose(){this.hideClose||this.$emit("close")},onClick(e){this.interactive&&!this.$refs.closeBtnContainer.contains(e.target)&&("mousedown"===e.type||"keydown"===e.type?this.isActive=!0:(this.isActive=!1,this.$emit("click")))}}},eu=(0,A.Z)(Jl,[["render",Ql]]),tu=eu,nu=["aria-details"],ou=["id"],iu=["disabled"],au=["value"];function ru(e,t,o,i,a,r){const s=(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":r.labelAriaDetails,class:["d-label",a.LABEL_SIZE_MODIFIERS[o.size],o.labelClass]},o.labelChildProps,{"data-qa":"dt-select-label"}),[(0,n.renderSlot)(e.$slots,"label",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.label),1)]))],16,nu)):(0,n.createCommentVNode)("",!0),e.$slots.description||o.description?((0,n.openBlock)(),(0,n.createElementBlock)("div",(0,n.mergeProps)({key:1,id:r.descriptionKey,class:["d-description",a.DESCRIPTION_SIZE_MODIFIERS[o.size],o.descriptionClass]},o.descriptionChildProps,{"data-qa":"dt-select-description"}),[(0,n.renderSlot)(e.$slots,"description",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.description),1)]))],16,ou)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["d-select",a.SELECT_SIZE_MODIFIERS[o.size],o.selectClass,{"d-select--disabled":o.disabled}]),"data-qa":"dt-select-wrapper"},[(0,n.createElementVNode)("select",(0,n.mergeProps)({class:["d-select__input",a.SELECT_STATE_MODIFIERS[r.state]]},e.$attrs,{"data-qa":"dt-select",disabled:o.disabled},(0,n.toHandlers)(r.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:r.getOptionKey(e.value),value:e.value,class:o.optionClass},o.optionChildProps),(0,n.toDisplayString)(e.label),17,au)))),128))]))],16,iu)],2)]),(0,n.createVNode)(s,(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 su={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},lu={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},uu=e=>!e.index||"number"===typeof e.index,du=e=>!!e.value&&("string"===typeof e.value||"number"===typeof e.value),cu=e=>!!e.label&&"string"===typeof e.label,pu=e=>!e||e.every((e=>!!uu(e)&&(!!du(e)&&!!cu(e)))),Du={name:"DtSelectMenu",components:{DtValidationMessages:os},mixins:[ss],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:e=>pu(e)},size:{type:String,default:"md",validator:e=>Object.keys(su).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:D,DESCRIPTION_SIZE_MODIFIERS:p,SELECT_SIZE_MODIFIERS:su,SELECT_STATE_MODIFIERS:lu}},computed:{selectListeners(){return{input:()=>{},change:e=>this.emitValue(e.target.value)}},state(){return B(this.formattedMessages)},selectKey(){return E()},descriptionKey(){return"select-".concat(this.selectKey,"-description")},labelAriaDetails(){return this.$slots.description||this.description?this.descriptionKey:this.$attrs["aria-details"]}},mounted(){this.validateOptionsPresence()},beforeUpdate(){this.validateOptionsPresence()},methods:{emitValue(e){this.$emit("input",e),this.$emit("change",e)},getOptionKey(e){return"select-".concat(this.selectKey,"-option-").concat(e)},validateOptionsPresence(){var e;(null===(e=this.options)||void 0===e?void 0:e.length)<1&&!this.$slots.default&&(0,n.warn)("Options are expected to be provided via prop or slot",this)}}},hu=(0,A.Z)(Du,[["render",ru]]),mu=hu,fu=["aria-hidden"],gu={class:"d-toast__dialog"};function vu(e,t,o,i,a,r){const s=(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",r.kindClass,{"d-toast--important":o.important}]),"data-qa":"dt-toast","aria-hidden":(!a.isShown).toString()},[(0,n.createElementVNode)("div",gu,[(0,n.createVNode)(s,{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:r.closeToast},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"action")])),_:3},8,["hide-close","close-button-props","onClose"])])],10,fu)):(0,n.createCommentVNode)("",!0)}const bu=["status","alert"],yu=6e3,Cu={name:"DtToast",components:{DtNoticeIcon:_e,DtNoticeContent:Me,DtNoticeAction:mt},props:{titleId:{type:String,default(){return O.getUniqueString()}},contentId:{type:String,default(){return O.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:e=>bu.includes(e)},kind:{type:String,default:"base",validator:e=>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>=yu}},emits:["close","click","update:show"],data(){return{isShown:!1,minDuration:yu}},computed:{kindClass(){const e={error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"};return e[this.kind]},shouldSetTimeout(){return!!this.duration&&this.duration>=this.minDuration}},watch:{show:{handler:function(e){this.isShown=e,e?this.setTimeout():clearTimeout(this.displayTimer)},immediate:!0}},unmounted(){clearTimeout(this.displayTimer)},methods:{closeToast(e){this.$emit("update:show",!1),this.$emit("close",e)},setTimeout(){this.shouldSetTimeout&&(this.displayTimer=setTimeout((()=>{this.isShown=!1,this.$emit("update:show",!1)}),this.duration))}}},Eu=(0,A.Z)(Cu,[["render",vu]]),Fu=Eu,Su={class:"d-d-flex d-ai-center"},Bu=["for"],ku=["id","aria-checked","disabled","aria-disabled"],wu=(0,n.createElementVNode)("span",{class:"d-toggle__inner"},null,-1),Iu=[wu];function xu(e,t,o,i,a,r){return(0,n.openBlock)(),(0,n.createElementBlock)("div",Su,[e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("label",(0,n.mergeProps)({key:0,class:o.labelClass,for:o.id},o.labelChildProps,{"data-qa":"toggle-label"}),[(0,n.renderSlot)(e.$slots,"default")],16,Bu)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("button",(0,n.mergeProps)({id:o.id,role:"switch",type:"button","aria-checked":a.internalChecked.toString(),disabled:o.disabled,"aria-disabled":o.disabled.toString(),class:["d-toggle",{"d-toggle--checked":a.internalChecked,"d-toggle--disabled":o.disabled}]},r.inputListeners),Iu,16,ku)])}const Ou={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return O.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},labelClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{internalChecked:this.checked}},computed:{inputListeners(){return{...this.$attrs,onClick:e=>this.toggleCheckedValue()}}},watch:{checked(e){this.internalChecked=e}},mounted(){this.runValidations()},methods:{toggleCheckedValue(){this.internalChecked=!this.internalChecked,this.$emit("change",this.internalChecked)},hasSlotLabel(){return!!this.$slots.default},runValidations(){this.validateInputLabels(this.hasSlotLabel(),this.$attrs["aria-label"])},validateInputLabels(e,t){e||t||(0,n.warn)("You must provide an aria-label when there is no label passed",this)}}},_u=(0,A.Z)(Ou,[["render",xu]]),Au=_u,Tu={"data-qa":"dt-tooltip-container"};function Lu(e,t,o,i,a,r){const s=(0,n.resolveComponent)("dt-lazy-show");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Tu,[(0,n.createElementVNode)("div",{ref:"anchor","data-qa":"dt-tooltip-anchor",onFocusin:t[0]||(t[0]=function(){return r.onEnterAnchor&&r.onEnterAnchor(...arguments)}),onFocusout:t[1]||(t[1]=function(){return r.onLeaveAnchor&&r.onLeaveAnchor(...arguments)}),onMouseenter:t[2]||(t[2]=function(){return r.onEnterAnchor&&r.onEnterAnchor(...arguments)}),onMouseleave:t[3]||(t[3]=function(){return r.onLeaveAnchor&&r.onLeaveAnchor(...arguments)}),onKeydown:t[4]||(t[4]=(0,n.withKeys)((function(){return r.onLeaveAnchor&&r.onLeaveAnchor(...arguments)}),["esc"]))},[(0,n.renderSlot)(e.$slots,"anchor")],544),(0,n.createVNode)(s,{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:r.onLeaveTransitionComplete,onAfterEnter:r.onEnterTransitionComplete},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.message),1)]))])),_:3},8,["id","show","transition","class","onAfterLeave","onAfterEnter"])])}const Nu=[...Da],Vu={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Pu=[!0,!1,"toggle"],Mu={name:"Tooltip",components:{DtLazyShow:wa},props:{id:{type:String,default(){return E()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,0]},placement:{type:String,default:"top",validator(e){return Nu.includes(e)}},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"}},emits:["update:show","shown"],data(){return{TOOLTIP_KIND_MODIFIERS:Vu,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,popperOptions:ma({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(e){null!==e&&(this.isShown=e)},immediate:!0},isShown(e,t){e?(this.setProps(),this.tip.show()):this.tip.hide()}},mounted(){this.tip=ha(ga(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 ga(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(449);const Ru=(0,A.Z)(Mu,[["render",Lu]]),$u=Ru,ju={key:0,class:"sr-only"},zu=["innerHTML"];function Ku(e,t,o,i,a,r){return(0,n.openBlock)(),(0,n.createElementBlock)("kbd",{class:(0,n.normalizeClass)(["d-d-inline-flex","d-ff-custom","d-ai-center","d-jc-center","d-box-border","d-px4","d-ba","d-bar4","d-fs12",o.inverted?"d-bc-black-400":"d-bc-black-100"])},[o.screenReaderText?((0,n.openBlock)(),(0,n.createElementBlock)("span",ju,(0,n.toDisplayString)(o.screenReaderText),1)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(r.formattedShortcutSplit,((e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[r.icons[e]?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(r.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,zu))],64)))),256))],2)}const Hu={"aria-hidden":"true","aria-label":"Windows",class:"d-svg d-svg--system d-svg__windows",viewBox:"0 0 24 24"},qu=(0,n.createElementVNode)("path",{d:"M19.903 12.819v7.532L10.936 19v-6.197l8.967.016zM10.936 5.334l8.967-1.249V11.5h-8.967V5.334zM9.745 12.757v6.134l-6.643-.885v-5.28l6.643.03zM3.097 6.328l6.647-.885v6.134H3.1l-.003-5.25z"},null,-1),Wu=[qu];function Zu(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Hu,Wu)}const Uu={},Gu=(0,A.Z)(Uu,[["render",Zu]]),Yu=Gu,Qu={"aria-hidden":"true","aria-label":"Add",class:"d-svg d-svg--system d-svg__add",viewBox:"0 0 24 24"},Xu=(0,n.createElementVNode)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"},null,-1),Ju=[Xu];function ed(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Qu,Ju)}const td={},nd=(0,A.Z)(td,[["render",ed]]),od=nd,id={"aria-hidden":"true","aria-label":"Arrow Downward",class:"d-svg d-svg--system d-svg__arrowDownward",viewBox:"0 0 24 24"},ad=(0,n.createElementVNode)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"},null,-1),rd=[ad];function sd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",id,rd)}const ld={},ud=(0,A.Z)(ld,[["render",sd]]),dd=ud,cd={"aria-hidden":"true","aria-label":"Arrow Upward",class:"d-svg d-svg--system d-svg__arrowUpward",viewBox:"0 0 24 24"},pd=(0,n.createElementVNode)("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"},null,-1),Dd=[pd];function hd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",cd,Dd)}const md={},fd=(0,A.Z)(md,[["render",hd]]),gd=fd,vd={"aria-hidden":"true","aria-label":"Arrow Forward",class:"d-svg d-svg--system d-svg__arrowForward",viewBox:"0 0 24 24"},bd=(0,n.createElementVNode)("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"},null,-1),yd=[bd];function Cd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",vd,yd)}const Ed={},Fd=(0,A.Z)(Ed,[["render",Cd]]),Sd=Fd,Bd={"aria-hidden":"true","aria-label":"Arrow Backwards",class:"d-svg d-svg--system d-svg__arrowBackwards",viewBox:"0 0 24 24"},kd=(0,n.createElementVNode)("path",{d:"M12 20l1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8z"},null,-1),wd=[kd];function Id(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Bd,wd)}const xd={},Od=(0,A.Z)(xd,[["render",Id]]),_d=Od,Ad={cmd:"⌘"},Td={"{win}":"IconWindows","{arrow-right}":"IconArrowForward","{arrow-left}":"IconArrowBackward","{arrow-up}":"IconArrowUpward","{arrow-down}":"IconArrowDownward"},Ld={"{plus}":"IconAdd"},Nd=Object.keys(Ad).map((e=>"{".concat(e,"}"))).concat(Object.keys(Td)),Vd={name:"DtKeyboardShortcut",components:{IconWindows:Yu,IconArrowBackward:_d,IconArrowDownward:dd,IconArrowForward:Sd,IconArrowUpward:gd,IconAdd:od},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Td,separator:/\+/gi}},computed:{icons(){return{...Td,...Ld}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(Ad).reduce(((e,t)=>e.replace(new RegExp("{"+t+"}","gi"),Ad[t])),this.shortcutWithSeparator)},formattedShortcutSplit(){const e=Object.keys(this.icons).join("|"),t=new RegExp("(".concat(e,")"),"gi");return this.formattedShortcut.split(t).filter(Boolean)}}};o(941);const Pd=(0,A.Z)(Vd,[["render",Ku]]),Md=Pd,Rd={class:"root-layout"};function $d(e,t,o,i,a,r){const s=(0,n.resolveComponent)("dt-root-layout-body");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Rd,[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)(s,{"content-class":o.contentClass,"content-wrap-width-percent":o.contentWrapWidthPercent,"sidebar-class":o.sidebarClass,"sidebar-width":o.sidebarWidth,"sidebar-position":o.sidebarPosition},{sidebar:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"sidebar")])),content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},8,["content-class","content-wrap-width-percent","sidebar-class","sidebar-width","sidebar-position"]),e.$slots.footer?((0,n.openBlock)(),(0,n.createElementBlock)("footer",{key:1,class:(0,n.normalizeClass)(["root-layout__footer",o.footerClass]),style:(0,n.normalizeStyle)({height:o.footerHeight}),"data-qa":"root-layout-footer"},[(0,n.renderSlot)(e.$slots,"footer")],6)):(0,n.createCommentVNode)("",!0)])}function jd(e,t,o,i,a,r){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["root-layout__body",r.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 zd={LEFT:"left",RIGHT:"right"},Kd={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===zd.RIGHT}}}};o(683);const Hd=(0,A.Z)(Kd,[["render",jd]]),qd=Hd,Wd={name:"DtRootLayout",components:{DtRootLayoutBody:qd},props:{headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},headerSticky:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:""},contentWrapWidthPercent:{type:String,default:"50%"},sidebarClass:{type:[String,Array,Object],default:""},sidebarWidth:{type:String,default:"256px"},sidebarPosition:{type:String,default:"left",validator:e=>Object.values(zd).includes(e)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}};o(257);const Zd=(0,A.Z)(Wd,[["render",$d]]),Ud=Zd,Gd={class:"d-ps-relative","data-qa":"contact-info-left"},Yd=["src","alt"],Qd={"data-qa":"contact-info-header"},Xd={"data-qa":"contact-info-subtitle"},Jd={"data-qa":"contact-info-bottom"},ec={"data-qa":"contact-info-right"};function tc(e,t,o,i,a,r){const s=(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",Gd,[o.avatarSrc?((0,n.openBlock)(),(0,n.createBlock)(s,{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,Yd)])),_:1})):o.avatarInitials?((0,n.openBlock)(),(0,n.createBlock)(s,{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),r.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",Qd,[(0,n.renderSlot)(e.$slots,"header")])])),subtitle:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Xd,[(0,n.renderSlot)(e.$slots,"subtitle")])])),bottom:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Jd,[(0,n.renderSlot)(e.$slots,"bottom")])])),right:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",ec,[(0,n.renderSlot)(e.$slots,"right")])])),_:3},8,["id","role"])}const nc={none:"",green:"d-bgc-green-400",yellow:"d-bgc-yellow-400",red:"d-bgc-red-400"},oc={name:"DtRecipeContactInfo",components:{DtAvatar:L,DtListItem:Xs},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(nc).includes(e)}},data(){return{USER_STATUS_COLOR_MODIFIERS:nc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},ic=(0,A.Z)(oc,[["render",tc]]),ac=ic,rc={class:"d-top-banner-info__left"},sc={class:"d-top-banner-info__middle d-my4"},lc={class:"d-top-banner-info__right d-ta-right"};function uc(e,t,o,i,a,r){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",r.bannerInfoClass]),"data-qa":"banner-info"},[(0,n.createElementVNode)("div",rc,[(0,n.renderSlot)(e.$slots,"left")]),(0,n.createElementVNode)("div",sc,[(0,n.renderSlot)(e.$slots,"default")]),(0,n.createElementVNode)("div",lc,[(0,n.renderSlot)(e.$slots,"right")])],2)}const dc=["green400","green200","red200","red100","yellow200","yellow400","yellow050","black100","white"],cc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green400",validator:function(e){return dc.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 pc=(0,A.Z)(cc,[["render",uc]]),Dc=pc})(),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},618:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".tippy-box[data-popper-escaped] .d-popover__dialog,.tippy-box[data-popper-reference-hidden] .d-popover__dialog{visibility:hidden;pointer-events:none}",""]);const l=r},215:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".root-layout__header--sticky{position:-webkit-sticky;position:sticky;top:0}",""]);const l=r},50:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".root-layout__body{display:flex;flex-wrap:wrap;gap:0}.root-layout__body--invert{flex-direction:row-reverse}.root-layout__sidebar{flex-grow:1}.root-layout__content{flex-basis:0;flex-grow:999}",""]);const l=r},13:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}50%{fill:var(--placeholder-to-color,var(--black-025));background:var(--placeholder-to-color,var(--black-025))}90%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}}",""]);const l=r},258:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[data-popper-reference-hidden] .d-tooltip{visibility:hidden;pointer-events:none}",""]);const l=r},669:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(81),i=n.n(o),a=n(645),s=n.n(a),r=s()(i());r.push([e.id,".d-top-banner-info__left{margin:var(--su4) 0 var(--su4) var(--su8);min-width:20%}.d-top-banner-info__right{margin:var(--su4) var(--su12) var(--su4) 0;min-width:20%}",""]);const l=r},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o="undefined"!==typeof t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,i,a){"string"===typeof e&&(e=[[null,e,void 0]]);var s={};if(o)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(s[l]=!0)}for(var u=0;u<e.length;u++){var d=[].concat(e[u]);o&&s[d[0]]||("undefined"!==typeof a&&("undefined"===typeof d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},809:e=>{e.exports=()=>/(?:[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDD-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF6](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC2\uDED0-\uDED9\uDEE0-\uDEE7]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?))/g},744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n}},941:(e,t,n)=>{var o=n(344);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("05c1dc42",o,!0,{sourceMap:!1,shadowMode:!1})},566:(e,t,n)=>{var o=n(161);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("ec7688f6",o,!0,{sourceMap:!1,shadowMode:!1})},988:(e,t,n)=>{var o=n(715);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("63c88122",o,!0,{sourceMap:!1,shadowMode:!1})},237:(e,t,n)=>{var o=n(486);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("c13b1f5e",o,!0,{sourceMap:!1,shadowMode:!1})},425:(e,t,n)=>{var o=n(618);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("f10ecbc6",o,!0,{sourceMap:!1,shadowMode:!1})},257:(e,t,n)=>{var o=n(215);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("db7fdad2",o,!0,{sourceMap:!1,shadowMode:!1})},683:(e,t,n)=>{var o=n(50);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("874d1402",o,!0,{sourceMap:!1,shadowMode:!1})},195:(e,t,n)=>{var o=n(13);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("28dcd7f8",o,!0,{sourceMap:!1,shadowMode:!1})},730:(e,t,n)=>{var o=n(258);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("66f843dc",o,!0,{sourceMap:!1,shadowMode:!1})},964:(e,t,n)=>{var o=n(669);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=n(402).Z;i("d87f2094",o,!0,{sourceMap:!1,shadowMode:!1})},402:(e,t,n)=>{"use strict";function o(e,t){for(var n=[],o={},i=0;i<t.length;i++){var a=t[i],s=a[0],r=a[1],l=a[2],u=a[3],d={id:e+":"+i,css:r,media:l,sourceMap:u};o[s]?o[s].parts.push(d):n.push(o[s]={id:s,parts:[d]})}return n}n.d(t,{Z:()=>D});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},s=i&&(document.head||document.getElementsByTagName("head")[0]),r=null,l=0,u=!1,d=function(){},c=null,p="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function D(e,t,n,i){u=n,c=i||{};var s=o(e,t);return m(s),function(t){for(var n=[],i=0;i<s.length;i++){var r=s[i],l=a[r.id];l.refs--,n.push(l)}t?(s=o(e,t),m(s)):s=[];for(i=0;i<n.length;i++){l=n[i];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete a[l.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],o=a[n.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](n.parts[i]);for(;i<n.parts.length;i++)o.parts.push(g(n.parts[i]));o.parts.length>n.parts.length&&(o.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(g(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:s}}}}function f(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function g(e){var t,n,o=document.querySelector("style["+p+'~="'+e.id+'"]');if(o){if(u)return d;o.parentNode.removeChild(o)}if(h){var i=l++;o=r||(r=f()),t=b.bind(null,o,i,!1),n=b.bind(null,o,i,!0)}else o=f(),t=y.bind(null,o),n=function(){o.parentNode.removeChild(o)};return t(e),function(o){if(o){if(o.css===e.css&&o.media===e.media&&o.sourceMap===e.sourceMap)return;t(e=o)}else n()}}var v=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function b(e,t,n,o){var i=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var a=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(a,s[t]):e.appendChild(a)}}function y(e,t){var n=t.css,o=t.media,i=t.sourceMap;if(o&&e.setAttribute("media",o),c.ssrId&&e.setAttribute(p,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},203:t=>{"use strict";t.exports=e}},n={};function o(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}o.m=t,(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return o.d(t,{a:t}),t}})(),(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;o.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"===typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"===typeof n.then)return n}var a=Object.create(null);o.r(a);var s={};e=e||[null,t({}),t([]),t(t)];for(var r=2&i&&n;"object"==typeof r&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((e=>s[e]=()=>n[e]));return s["default"]=()=>n,o.d(a,s),a}})(),(()=>{o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[]))})(),(()=>{o.u=e=>"dialtone-vue.umd.min."+e+".js"})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{var e={},t="dialtone-vue:";o.l=(n,i,a,s)=>{if(e[n])e[n].push(i);else{var r,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),d=0;d<u.length;d++){var c=u[d];if(c.getAttribute("src")==n||c.getAttribute("data-webpack")==t+a){r=c;break}}r||(l=!0,r=document.createElement("script"),r.charset="utf-8",r.timeout=120,o.nc&&r.setAttribute("nonce",o.nc),r.setAttribute("data-webpack",t+a),r.src=n),e[n]=[i];var p=(t,o)=>{r.onerror=r.onload=null,clearTimeout(h);var i=e[n];if(delete e[n],r.parentNode&&r.parentNode.removeChild(r),i&&i.forEach((e=>e(o))),t)return t(o)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=p.bind(null,r.onerror),r.onload=p.bind(null,r.onload),l&&document.head.appendChild(r)}}})(),(()=>{o.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{o.p=""})(),(()=>{var e={172:0};o.f.j=(t,n)=>{var i=o.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var a=new Promise(((n,o)=>i=e[t]=[n,o]));n.push(i[2]=a);var s=o.p+o.u(t),r=new Error,l=n=>{if(o.o(e,t)&&(i=e[t],0!==i&&(e[t]=void 0),i)){var a=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;r.message="Loading chunk "+t+" failed.\n("+a+": "+s+")",r.name="ChunkLoadError",r.type=a,r.request=s,i[1](r)}};o.l(s,l,"chunk-"+t,t)}};var t=(t,n)=>{var i,a,s=n[0],r=n[1],l=n[2],u=0;if(s.some((t=>0!==e[t]))){for(i in r)o.o(r,i)&&(o.m[i]=r[i]);if(l)l(o)}for(t&&t(n);u<s.length;u++)a=s[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=("undefined"!==typeof self?self:this)["webpackChunkdialtone_vue"]=("undefined"!==typeof self?self:this)["webpackChunkdialtone_vue"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i={};return(()=>{"use strict";if(o.r(i),o.d(i,{AVATAR_COLOR_MODIFIERS:()=>u,AVATAR_KIND_MODIFIERS:()=>r,AVATAR_SIZE_MODIFIERS:()=>l,BADGE_COLOR_MODIFIERS:()=>P,BREADCRUMBS_INVERTED_MODIFIER:()=>wt,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>Bt,BUTTON_GROUP_ALIGNMENT:()=>$t,CHIP_SIZE_MODIFIERS:()=>tu,COLOR_CODES:()=>_c,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>D,DESCRIPTION_SIZE_TYPES:()=>c,DtAvatar:()=>T,DtBadge:()=>$,DtBanner:()=>Et,DtBreadcrumbItem:()=>Tt,DtBreadcrumbs:()=>Vt,DtButton:()=>pt,DtButtonGroup:()=>zt,DtCheckableInputMixin:()=>Sr,DtCheckbox:()=>Wl,DtCheckboxGroup:()=>Gl,DtChip:()=>au,DtCombobox:()=>Zn,DtDropdown:()=>Ts,DtEmoji:()=>ir,DtGroupableInputMixin:()=>Br,DtInput:()=>Ir,DtInputGroup:()=>Pr,DtInputGroupMixin:()=>Lr,DtInputMixin:()=>Fr,DtKeyboardListNavigationMixin:()=>Ut,DtKeyboardShortcut:()=>zd,DtLazyShow:()=>Fs,DtLink:()=>_t,DtListItem:()=>pn,DtListSection:()=>ol,DtModal:()=>Ur,DtNotice:()=>rl,DtPopover:()=>Os,DtRadio:()=>ml,DtRadioGroup:()=>vl,DtRecipeComboboxMultiSelect:()=>mc,DtRecipeComboboxWithPopover:()=>ic,DtRecipeContactInfo:()=>wc,DtRecipeTopBannerInfo:()=>Tc,DtRootLayout:()=>Xd,DtSelectMenu:()=>bu,DtSkeleton:()=>jn,DtSkeletonListItem:()=>Mn,DtSkeletonParagraph:()=>Nn,DtSkeletonShape:()=>Sn,DtSkeletonText:()=>_n,DtTab:()=>Ll,DtTabGroup:()=>Il,DtTabPanel:()=>Ml,DtToast:()=>ku,DtToggle:()=>Pu,DtTooltip:()=>Hu,DtValidationMessages:()=>Er,EMOJI_SIZES:()=>Vs,INPUT_SIZES:()=>mr,INPUT_TYPES:()=>Dr,LINK_KIND_MODIFIERS:()=>ut,LINK_VARIANTS:()=>lt,MODAL_KIND_MODIFIERS:()=>Hr,MODAL_SIZE_MODIFIERS:()=>qr,MULTI_SELECT_SIZES:()=>pc,NOTICE_KINDS:()=>we,POPOVER_CONTENT_WIDTHS:()=>vs,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>fs,POPOVER_INITIAL_FOCUS_STRINGS:()=>bs,POPOVER_PADDING_CLASSES:()=>ms,POPOVER_ROLES:()=>gs,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>Wd,SELECT_SIZE_MODIFIERS:()=>cu,SELECT_STATE_MODIFIERS:()=>pu,SHORTCUTS_ALIASES:()=>Pd,SHORTCUTS_ALIASES_LIST:()=>$d,SHORTCUTS_ICON_ALIASES:()=>Vd,SHORTCUTS_ICON_SEPARATOR:()=>Md,SKELETON_HEADING_HEIGHTS:()=>yn,SKELETON_RIPPLE_DURATION:()=>fn,SKELETON_SHAPES:()=>gn,SKELETON_SHAPE_SIZES:()=>bn,SKELETON_TEXT_TYPES:()=>vn,TAB_IMPORTANCE_MODIFIERS:()=>wl,TAB_LIST_IMPORTANCE_MODIFIERS:()=>Bl,TAB_LIST_KIND_MODIFIERS:()=>Sl,TAB_LIST_SIZES:()=>El,TOAST_ROLES:()=>Fu,TOOLTIP_DIRECTIONS:()=>$u,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>ju,TOOLTIP_KIND_MODIFIERS:()=>Ru,USER_STATUS_COLOR_MODIFIERS:()=>Fc,VALIDATION_MESSAGE_TYPES:()=>d,codeToEmojiData:()=>Js,defaultEmojiAssetUrl:()=>js,emojiFileExtensionLarge:()=>qs,emojiFileExtensionSmall:()=>Ks,emojiImageUrlLarge:()=>Hs,emojiImageUrlSmall:()=>zs,emojiJson:()=>Ws,emojiVersion:()=>Rs,filterFormattedMessages:()=>S,findEmojis:()=>tr,findShortCodes:()=>er,formatMessages:()=>F,getEmojiJson:()=>Zs,getUniqueString:()=>E,getValidationState:()=>B,setEmojiAssetUrlLarge:()=>Gs,setEmojiAssetUrlSmall:()=>Us,shortcodeToEmojiData:()=>Ys,stringToUnicode:()=>Xs,unicodeToString:()=>Qs,validationMessageValidator:()=>br}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(o.p=t[1])}var n=o(203);const a=["id"];function s(e,t,o,i,s,r){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{id:o.id,class:(0,n.normalizeClass)(["d-avatar",s.AVATAR_KIND_MODIFIERS[s.kind],s.AVATAR_SIZE_MODIFIERS[o.size],s.AVATAR_COLOR_MODIFIERS[o.color],o.avatarClass]),"data-qa":"dt-avatar"},[(0,n.renderSlot)(e.$slots,"default")],10,a)}const r={default:"",icon:"d-avatar--icon",initials:"d-avatar--initials"},l={sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg"},u={base:"","orange-200":"d-avatar--orange-200","orange-300":"d-avatar--orange-300","orange-400":"d-avatar--orange-400","orange-500":"d-avatar--orange-500","pink-300":"d-avatar--pink-300","pink-400":"d-avatar--pink-400","pink-500":"d-avatar--pink-500","pink-600":"d-avatar--pink-600","purple-200":"d-avatar--purple-200","purple-300":"d-avatar--purple-300","purple-500":"d-avatar--purple-500","purple-600":"d-avatar--purple-600","yellow-200":"d-avatar--yellow-200","yellow-300":"d-avatar--yellow-300","yellow-400":"d-avatar--yellow-400","yellow-500":"d-avatar--yellow-500"},d={ERROR:"error",WARNING:"warning",SUCCESS:"success"},c={LARGE:"lg",EXTRA_LARGE:"xl"},p={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},h={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},D=d.ERROR,m="dt";let f=0;const g="input:not([type=hidden]):not(:disabled)",v="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",b="".concat(g,",").concat(v),y="a,frame,iframe,".concat(b,",*[tabindex]"),C="function"===typeof setImmediate?setImmediate:setTimeout;function E(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m;return"".concat(e).concat(f++)}function F(e){return e?e.map((e=>"string"===typeof e?{message:e,type:D}:e)):[]}function S(e){const t=B(e);return e&&t?e.filter((e=>!!e.message&&e.type===t)):[]}function B(e){return e?w(e,d.ERROR)?d.ERROR:w(e,d.WARNING)?d.WARNING:w(e,d.SUCCESS)?d.SUCCESS:null:null}function w(e,t){return!(!e||!t)&&e.some((e=>(null===e||void 0===e?void 0:e.type)===t))}function k(e){return null===e||void 0===e?void 0:e.querySelector(y)}const x=e=>(0,n.h)("div",{innerHTML:e.html}),I=()=>new Promise((e=>{C(e)})),O={getUniqueString:E,formatMessages:F,filterFormattedMessages:S,hasFormattedMessageOfType:w,getValidationState:B,htmlFragment:x,flushPromises:I},_={name:"DtAvatar",inheritAttrs:!1,props:{id:{type:String,default(){return E()}},size:{type:String,default:"md",validator:e=>Object.keys(l).includes(e)},color:{type:String,default:"base",validator:e=>Object.keys(u).includes(e)},avatarClass:{type:[String,Array,Object],default:""}},data(){return{kind:"initials",AVATAR_SIZE_MODIFIERS:l,AVATAR_COLOR_MODIFIERS:u,AVATAR_KIND_MODIFIERS:r}},mounted(){this.init()},updated(){this.init()},methods:{init(){const e=this.$el.children[0];e&&(this.setKind(e),this.validateImageAttrsPresence())},setKind(e){this.isSvgType(e)?this.kind="icon":this.isImageType(e)?this.kind="image":this.kind="initials"},isSvgType(e){var t;return"SVG"===(null===e||void 0===e||null===(t=e.tagName)||void 0===t?void 0:t.toUpperCase())},isImageType(e){var t;return"IMG"===(null===e||void 0===e||null===(t=e.tagName)||void 0===t?void 0:t.toUpperCase())},validateImageAttrsPresence(){"image"===this.kind&&(this.$el.children[0].getAttribute("src")&&this.$el.children[0].getAttribute("alt")||(0,n.warn)("src and alt attributes are required for image avatars",this))}}};var A=o(744);const L=(0,A.Z)(_,[["render",s]]),T=L;function N(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("span",{class:(0,n.normalizeClass)(["d-badge",a.BADGE_COLOR_MODIFIERS[o.color]]),"data-qa":"dt-badge"},[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.text),1)]))],2)}const P={base:"","black-700":"d-badge--black-700","green-400":"d-badge--green-400","orange-400":"d-badge--orange-400","pink-300":"d-badge--pink-300","pink-500":"d-badge--pink-500","pink-600":"d-badge--pink-600","pink-700":"d-badge--pink-700","purple-100":"d-badge--purple-100","purple-300":"d-badge--purple-300","purple-500":"d-badge--purple-500","purple-700":"d-badge--purple-700","red-500":"d-badge--red-500",white:"d-badge--white","yellow-300":"d-badge--yellow-300"},V={name:"DtBadge",props:{text:{type:String,default:""},color:{type:String,default:"base",validator:e=>Object.keys(P).includes(e)}},data(){return{BADGE_COLOR_MODIFIERS:P}}},M=(0,A.Z)(V,[["render",N]]),$=M,R=["role"],j=["aria-labelledby","aria-describedby"];function z(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-notice-icon"),l=(0,n.resolveComponent)("dt-notice-content"),u=(0,n.resolveComponent)("dt-notice-action");return(0,n.openBlock)(),(0,n.createElementBlock)("aside",{class:(0,n.normalizeClass)(s.bannerClass),role:s.role,onKeydown:t[1]||(t[1]=(0,n.withKeys)((function(){return s.trapFocus&&s.trapFocus(...arguments)}),["tab"]))},[(0,n.createElementVNode)("div",{class:"d-banner__dialog","aria-labelledby":o.titleId,"aria-describedby":o.contentId},[(0,n.createVNode)(r,{kind:o.kind},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"icon")])),_:3},8,["kind"]),(0,n.createVNode)(l,{"title-id":o.titleId,"content-id":o.contentId,title:o.title},{titleOverride:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"titleOverride")])),default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default")])),_:3},8,["title-id","content-id","title"]),(0,n.createVNode)(u,{"hide-close":o.hideClose,"close-button-props":o.closeButtonProps,onClose:t[0]||(t[0]=t=>e.$emit("close"))},{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"action")])),_:3},8,["hide-close","close-button-props"])],8,j)],42,R)}const K={key:0,"aria-hidden":"true",class:"d-notice__icon"};function H(e,t,o,i,a,s){return s.defaultIcon||e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",K,[(0,n.renderSlot)(e.$slots,"default",{},(()=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.defaultIcon)))]))])):(0,n.createCommentVNode)("",!0)}const q={"aria-hidden":"true","aria-label":"Lightbulb",class:"d-svg d-svg--system d-svg__lightbulb",viewBox:"0 0 24 24"},W=(0,n.createElementVNode)("path",{d:"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7z"},null,-1),Z=[W];function U(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",q,Z)}const G={},Y=(0,A.Z)(G,[["render",U]]),Q=Y,X={"aria-hidden":"true","aria-label":"Info",class:"d-svg d-svg--system d-svg__info",viewBox:"0 0 24 24"},J=(0,n.createElementVNode)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"},null,-1),ee=[J];function te(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",X,ee)}const ne={},oe=(0,A.Z)(ne,[["render",te]]),ie=oe,ae={"aria-hidden":"true","aria-label":"Warning",class:"d-svg d-svg--system d-svg__warning",viewBox:"0 0 24 24"},se=(0,n.createElementVNode)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"},null,-1),re=[se];function le(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",ae,re)}const ue={},de=(0,A.Z)(ue,[["render",le]]),ce=de,pe={"aria-hidden":"true","aria-label":"Error",class:"d-svg d-svg--system d-svg__error",viewBox:"0 0 24 24"},he=(0,n.createElementVNode)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},null,-1),De=[he];function me(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",pe,De)}const fe={},ge=(0,A.Z)(fe,[["render",me]]),ve=ge,be={"aria-hidden":"true","aria-label":"Check Circle",class:"d-svg d-svg--system d-svg__checkCircle",viewBox:"0 0 24 24"},ye=(0,n.createElementVNode)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"},null,-1),Ce=[ye];function Ee(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",be,Ce)}const Fe={},Se=(0,A.Z)(Fe,[["render",Ee]]),Be=Se,we=["base","error","info","success","warning"],ke=["alert","alertdialog","status"],xe=new Map([["info","IconInfo"],["success","IconCheckCircle"],["warning","IconWarning"],["error","IconError"],["base","IconLightbulb"]]),Ie={name:"DtNoticeIcon",components:{IconLightbulb:Q,IconInfo:ie,IconWarning:ce,IconError:ve,IconCheckCircle:Be},props:{kind:{type:String,default:"base",validate(e){return we.includes(e)}}},computed:{defaultIcon(){return xe.get(this.kind)}}},Oe=(0,A.Z)(Ie,[["render",H]]),_e=Oe,Ae={class:"d-notice__content","data-qa":"notice-content"},Le=["id"],Te=["id"];function Ne(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",Ae,[o.title||e.$slots.titleOverride?((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:0,id:o.titleId,class:"d-notice__title","data-qa":"notice-content-title"},[(0,n.renderSlot)(e.$slots,"titleOverride",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.title),1)]))],8,Le)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("p",{id:o.contentId,class:"d-notice__message","data-qa":"notice-content-message"},[(0,n.renderSlot)(e.$slots,"default")],8,Te)])}const Pe={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},Ve=(0,A.Z)(Pe,[["render",Ne]]),Me=Ve,$e={class:"d-notice__actions","data-qa":"notice-content-actions"};function Re(e,t,o,i,a,s){const r=(0,n.resolveComponent)("icon-close"),l=(0,n.resolveComponent)("dt-button");return(0,n.openBlock)(),(0,n.createElementBlock)("div",$e,[(0,n.renderSlot)(e.$slots,"default"),o.hideClose?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(l,(0,n.mergeProps)({key:0,ref:"closeButton",size:"sm",importance:"clear",circle:"","aria-label":o.closeButtonProps.ariaLabel?o.closeButtonProps.ariaLabel:"Close"},o.closeButtonProps,{onClick:s.close}),{icon:(0,n.withCtx)((()=>[(0,n.createVNode)(r)])),_:1},16,["aria-label","onClick"]))])}const je={"aria-hidden":"true","aria-label":"Close",class:"d-svg d-svg--system d-svg__close",viewBox:"0 0 24 24"},ze=(0,n.createElementVNode)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},null,-1),Ke=[ze];function He(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",je,Ke)}const qe={},We=(0,A.Z)(qe,[["render",He]]),Ze=We,Ue=["type","aria-live","aria-label"];function Ge(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("button",(0,n.mergeProps)({class:["base-button__button",s.buttonClasses()],"data-qa":"dt-button",type:o.type,"aria-live":s.computedAriaLive,"aria-label":o.loading?"loading":e.$attrs["aria-label"]},e.$attrs,(0,n.toHandlers)(s.buttonListeners)),[s.shouldRenderIcon()?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,"data-qa":"dt-button-icon",class:(0,n.normalizeClass)(["base-button__icon","d-btn__icon",a.ICON_POSITION_MODIFIERS[o.iconPosition]])},[(0,n.renderSlot)(e.$slots,"icon")],2)):(0,n.createCommentVNode)("",!0),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:1,"data-qa":"dt-button-label",class:(0,n.normalizeClass)(["d-w100p","d-btn__label","base-button__label",o.labelClass])},[(0,n.renderSlot)(e.$slots,"default")],2)):(0,n.createCommentVNode)("",!0)],16,Ue)}const Ye={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},Qe={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Xe={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},Je=["submit","reset","button"],et={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},tt=[{circle:!0,kind:"default",importance:"primary",message:nt(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:nt(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:nt(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:nt(!1,"muted","primary")}];function nt(e,t,n){return"You cannot not have a ".concat(e?"circle ":"","button with kind: ").concat(t," and importance: ").concat(n," as it does not exist in our design system. See https://dialpad.design/components/button for a list of available button styles")}const ot="danger",it="warning",at="success",st="muted",rt="inverted",lt=["",ot,it,at,st,rt],ut={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},dt={name:"DtButton",inheritAttrs:!1,props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:e=>Object.keys(et).includes(e)},importance:{type:String,default:"primary",validator:e=>Object.keys(Xe).includes(e)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:e=>Object.keys(ut).includes(e)},type:{type:String,default:"button",validator:e=>Je.includes(e)},size:{type:String,default:"md",validator:e=>Object.keys(Ye).includes(e)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:e=>Object.keys(Qe).includes(e)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:et,isInFocus:!1}},computed:{buttonListeners(){return{click:e=>this.$emit("click",e),focusin:e=>{this.isInFocus=this.assertiveOnFocus,this.$emit("focusin",e)},focusout:e=>{this.isInFocus=!1,this.$emit("focusout",e)}}},computedAriaLive(){return this.assertiveOnFocus&&this.isInFocus?"assertive":this.$attrs.ariaLive}},watch:{$props:{deep:!0,immediate:!0,handler(){}}},methods:{buttonClasses(){return this.link?["d-link",ut[this.linkKind],Ye[this.size]]:["d-btn",Xe[this.importance],Qe[this.kind],Ye[this.size],{"d-btn--circle":this.circle,"d-btn--loading":this.loading,"d-btn--icon-only":this.isIconOnly(),"d-btn--vertical":this.isVerticalIconLayout(),"d-btn--active":this.active}]},isInvalidPropCombination(e,t,n){for(const o of tt)if(e===o.circle&&t===o.kind&&n===o.importance)return console.error(o.message),!1;return!0},shouldRenderIcon(){return this.$slots.icon&&!this.link},isIconOnly(){return this.shouldRenderIcon()&&!this.$slots.default},isVerticalIconLayout(){return this.shouldRenderIcon()&&!this.isIconOnly()&&["top","bottom"].includes(this.iconPosition)}}},ct=(0,A.Z)(dt,[["render",Ge]]),pt=ct,ht={name:"DtNoticeAction",components:{IconClose:Ze,DtButton:pt},props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],created(){this.hideClose||this.closeButtonProps.ariaLabel||console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.")},mounted(){this.hideClose||(this.lastFocusedElement=document.activeElement)},beforeUnmount(){var e;null===(e=this.lastFocusedElement)||void 0===e||e.focus()},methods:{close(){this.$emit("close")}}},Dt=(0,A.Z)(ht,[["render",Re]]),mt=Dt,ft=':not(:disabled):not([aria-disabled="true"])',gt="".concat(ft,':not([tabindex="-1"])'),vt="button,[href],input,select,textarea,details,[tabindex]",bt={methods:{async focusFirstElement(e){await this.$nextTick();const t=this._getFocusableElements(e,!0),n=this._getFirstFocusElement(t);null===n||void 0===n||n.focus({preventScroll:!0})},_getFirstFocusElement(e){if(!e.length)return;let t=e[0];return t.matches('[type="radio"]:not(:checked)')&&(t=e.find((e=>e.checked&&e.name===t.name))||t),t},_getFocusableElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=[...e.querySelectorAll(vt)];return n.filter((e=>{const n=window.getComputedStyle(e);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&e.matches(t?ft:gt)}))},focusTrappedTabPress(e,t){const n="Tab"===e.key;if(!n)return;const o=this._getFocusableElements(t);if(!o.length)return void e.preventDefault();const i=this._getFirstFocusElement(o),a=o[o.length-1];e.shiftKey?document.activeElement===i&&(a.focus(),e.preventDefault()):document.activeElement===a&&(i.focus(),e.preventDefault())}}},yt={name:"DtBanner",components:{DtNoticeIcon:_e,DtNoticeContent:Me,DtNoticeAction:mt},mixins:[bt],props:{titleId:{type:String,default(){return O.getUniqueString()}},contentId:{type:String,default(){return O.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"",validate(e){return we.includes(e)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{role(){return this.important?"alertdialog":"status"},bannerClass(){const e={error:"d-banner--error",info:"d-banner--info",success:"d-banner--success",warning:"d-banner--warning",base:"d-banner--base"};return["d-banner",e[this.kind],{"d-banner--important":this.important,"d-banner--pinned":this.pinned}]}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(e){this.important&&this.focusTrappedTabPress(e)}}},Ct=(0,A.Z)(yt,[["render",z]]),Et=Ct,Ft=["aria-label"];function St(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-breadcrumb-item");return(0,n.openBlock)(),(0,n.createElementBlock)("nav",{"aria-label":o.ariaLabel,"data-qa":"dt-breadcrumbs",class:(0,n.normalizeClass)(["d-breadcrumbs",{[a.BREADCRUMBS_INVERTED_MODIFIER]:o.inverted}])},[(0,n.createElementVNode)("ol",null,[(0,n.renderSlot)(e.$slots,"default",{},(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.breadcrumbs,((e,t)=>((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:s.getBreadcrumbItemKey(t),inverted:o.inverted},e),null,16,["inverted"])))),128))]))])],10,Ft)}const Bt="d-breadcrumbs__item--selected",wt="d-breadcrumbs--inverted";function kt(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-link");return(0,n.openBlock)(),(0,n.createElementBlock)("li",{"data-qa":"dt-breadcrumb-item",class:(0,n.normalizeClass)(["d-breadcrumbs__item",{[a.BREADCRUMB_ITEM_SELECTED_MODIFIER]:o.selected}])},[(0,n.createVNode)(r,(0,n.mergeProps)({kind:s.linkKind,"aria-current":s.ariaCurrent,"data-qa":"breadcrumb-item"},e.$attrs),{default:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"default",{},(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(o.label),1)]))])),_:3},16,["kind","aria-current"])],2)}function xt(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("a",{class:(0,n.normalizeClass)(["d-link",a.LINK_KIND_MODIFIERS[o.kind]]),"data-qa":"dt-link"},[(0,n.renderSlot)(e.$slots,"default")],2)}const It={name:"DtLink",props:{kind:{type:String,default:"",validator(e){return lt.includes(e)}}},data(){return{LINK_KIND_MODIFIERS:ut}}},Ot=(0,A.Z)(It,[["render",xt]]),_t=Ot,At={name:"DtBreadcrumbItem",components:{DtLink:_t},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:Bt}},computed:{linkKind(){return this.inverted?rt:st},ariaCurrent(){return this.selected?"location":void 0}}},Lt=(0,A.Z)(At,[["render",kt]]),Tt=Lt,Nt={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:Tt},props:{breadcrumbs:{type:Array,default:()=>[],validate(e){return e.every((e=>{let{href:t,label:n}=e;return void 0!==t&&void 0!==n}))}},inverted:{type:Boolean,default:!1},ariaLabel:{type:String,default:"breadcrumb"}},data(){return{BREADCRUMBS_INVERTED_MODIFIER:wt}},methods:{getBreadcrumbItemKey(e){return"breadcrumbs-item-".concat(e,"-").concat(O.getUniqueString())}}},Pt=(0,A.Z)(Nt,[["render",St]]),Vt=Pt;function Mt(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["d-btn-group",a.BUTTON_GROUP_ALIGNMENT[this.alignment]]),role:"group"},[(0,n.renderSlot)(e.$slots,"default")],2)}const $t={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},Rt={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:e=>Object.keys($t).includes(e)}},data(){return{BUTTON_GROUP_ALIGNMENT:$t}}},jt=(0,A.Z)(Rt,[["render",Mt]]),zt=jt,Kt=["aria-expanded","aria-controls","aria-owns"],Ht={"data-qa":"dt-combobox-input-wrapper"};function qt(e,t,o,i,a,s){const r=(0,n.resolveComponent)("combobox-loading-list");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{role:"combobox","aria-expanded":o.showList.toString(),"aria-controls":o.listId,"aria-owns":o.listId,"aria-haspopup":"listbox",onKeydown:[t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEscapeKey")),["stop"]),["esc"])),t[4]||(t[4]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEnterKey")),["exact"]),["enter"])),t[5]||(t[5]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onUpKey")),["stop","prevent"]),["up"])),t[6]||(t[6]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onDownKey")),["stop","prevent"]),["down"])),t[7]||(t[7]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onHomeKey")),["stop","prevent"]),["home"])),t[8]||(t[8]=(0,n.withKeys)((0,n.withModifiers)((e=>s.onKeyValidation(e,"onEndKey")),["stop","prevent"]),["end"]))]},[(0,n.createElementVNode)("div",Ht,[(0,n.renderSlot)(e.$slots,"input",{inputProps:s.inputProps})]),o.showList?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,ref:"listWrapper","data-qa":"dt-combobox-list-wrapper",onMouseleave:t[0]||(t[0]=function(){return s.clearHighlightIndex&&s.clearHighlightIndex(...arguments)}),onFocusout:t[1]||(t[1]=function(){return s.clearHighlightIndex&&s.clearHighlightIndex(...arguments)}),onMousemoveCapture:t[2]||(t[2]=function(){return s.onMouseHighlight&&s.onMouseHighlight(...arguments)})},[o.loading?((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.normalizeProps)((0,n.mergeProps)({key:0},s.listProps)),null,16)):(0,n.renderSlot)(e.$slots,"list",{key:1,listProps:s.listProps,opened:s.onOpen,clearHighlightIndex:s.clearHighlightIndex})],544)):(0,n.createCommentVNode)("",!0)],40,Kt)}const Wt={methods:{scrollElementIntoViewIfNeeded(e,t,n,o){e.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(e,t,n,o):this.scrollIntoView(e,"bottom",!1,n,o)},scrollElementIntoView(e,t,n,o){"center"!==t?!1===t?this.scrollIntoView(e,"bottom",!1,n,o):this.scrollIntoView(e,"top",!1,n,o):this.scrollIntoView(e,"center",!1,n,o)},scrollIntoViewIfNeeded(e,t,n,o){const i=t?"center":void 0;this.scrollIntoView(e,i,!0,n,o)},scrollIntoView(e,t,n,o,i){if(!e||!e.parentElement)return;const a=e.offsetTop,s=i||e.parentElement,r=this._getScrollBounds(s),l=r.bottom-r.top,u=this._getElementHeight(e),d=a+u;let c=-1;switch(t){case"top":c=a;break;case"center":c=a+(u-l)/2;break;case"bottom":c=c=d-l;break;default:c=a-r.top<=l/2?a:d-l;break}this._setScrollTop(s,c,r,a,d,n,o)},_setScrollTop(e,t,n,o,i,a,s){n=n||this._getScrollBounds(e);const r=n.bottom-n.top;if(a&&this._inScrollBounds(o,i,n))if(o<n.top)t=o;else{if(!(i>n.bottom))return;t=i-r}s?e.scrollTo({top:t,behavior:s}):e.scrollTop=t},_getElementHeight(e){return e.getBoundingClientRect().height},_getScrollBounds(e){const t=this._getElementHeight(e),n=e.scrollTop;return{top:n,bottom:n+t}},_inScrollBounds(e,t,n){const o=t-e;return t<=n.bottom+3*o/4&&e>=n.top-o/4}}},Zt="listElementKey is required or the referenced element doesn't exist. Received listElement: ",Ut=function(){let{listItemRole:e="option",indexKey:t="highlightIndex",idKey:n="highlightId",listElementKey:o="listRef",activeItemKey:i="",openMethod:a=null,afterHighlightMethod:s=null,beginningOfListMethod:r=null,endOfListMethod:l=null,scrollToOnHighlight:u=!0,focusOnKeyboardNavigation:d=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{mixins:[Wt],data(){return{[t]:-1,[n]:"",scrollToOnHighlight:u,focusOnKeyboardNavigation:d}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var e;return(null===(e=this[o]())||void 0===e?void 0:e.$el)||this[o]()},_itemsLength(){const e=this._getListItemNodes();return null===e?0:e.length},_getListItemNodes(){const t=this._getListElement();return t?Array.from(t.querySelectorAll('[role="'.concat(e,'"]'))):(console.error(Zt,t),null)},onUpKey(){a&&this[a](!0),this[t]>0?this.setHighlightIndex(this[t]-1):r&&this[r](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){a&&this[a](!0),this[t]<this._itemsLength()-1?this.setHighlightIndex(this[t]+1):l&&this[l](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(e){const n=this._getListItemNodes(),o=n.filter((t=>{const n=t.textContent.trim().toLowerCase();return n.startsWith(e.toLowerCase())}));if(o.length<=0)return;const i=o.findIndex((e=>this[t]===n.indexOf(e))),a=n.indexOf(i<o.length-1?o[i+1]:o[0]);this.setHighlightIndex(a),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidLetter(e){return!(e.length>1)&&(e>="a"&&e<="z"||e>="A"&&e<="Z")},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},async setHighlightIndex(e){this[t]=e,this[n]=this._getItemId(e),this._itemsLength()&&s&&(await this.$nextTick(),this[s](e))},async setHighlightId(e){this[n]=e,this[t]=this._getItemIndex(e),this._itemsLength()&&s&&(await this.$nextTick(),this[s](this._getItemIndex(e)))},_getItemIndex(t){const n=this._getListElement();if(!n)return;const o=Array.from(n.querySelectorAll('[role="'.concat(e,'"]')));return o.indexOf(n.querySelector("#".concat(t)))},_getItemId(t){var n;const o=this._getListElement();if(o)return null===(n=o.querySelectorAll('[role="'.concat(e,'"]'))[t])||void 0===n?void 0:n.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const e=this[i];if(e){const t=this._getListElement();this.scrollElementIntoViewIfNeeded(e,null,null,t)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const e=this[i];e&&e.focus()}}}};function Gt(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)("div",null,[((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 Yt(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 Qt={DEFAULT:"default",CUSTOM:"custom"},Xt={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"},Jt={class:"dt-default-list-item d-fs14 d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},en={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"},tn={class:"d-fl-grow1"},nn={key:0},on={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 sn(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",Jt,[e.$slots.left?((0,n.openBlock)(),(0,n.createElementBlock)("section",en,[(0,n.renderSlot)(e.$slots,"left")])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("section",tn,[e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",nn,[(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",on,[(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 rn={name:"DefaultListItem"};o(566);const ln=(0,A.Z)(rn,[["render",sn]]),un=ln,dn={name:"ListItem",components:{DtDefaultListItem:un},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:Qt.DEFAULT,validator:e=>Object.values(Qt).includes(e)},navigationType:{type:String,default:Xt.NONE,validator:e=>Object.values(Xt).includes(e)}},emits:["keydown","mousemove","mouseleave","mousedown"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case Qt.DEFAULT:return un;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===Xt.TAB},isHoverable(){return this.navigationType!==Xt.NONE}},methods:{onClick(e){this.$emit("click",e)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}};o(988);const cn=(0,A.Z)(dn,[["render",Yt]]),pn=cn,hn=["aria-label"];function Dn(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,hn)}function mn(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 fn=3e6,gn={circle:"d-bar-circle",square:"d-bar2"},vn=["body","heading"],bn={sm:"24px",md:"32px",lg:"48px"},yn={sm:"d-h16",md:"d-h24",lg:"d-h32"},Cn={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*fn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return e.animationDelay="".concat(t,"ms"),e.animationDuration="".concat(n,"ms"),e}}},En={name:"DtSkeletonShape",mixins:[Cn],props:{shape:{type:String,default:"circle",validator:e=>Object.keys(gn).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:gn}},computed:{shapeStyles(){const e=bn[this.size]||this.size;return{...this.skeletonStyle,"min-width":e,"max-width":e,"min-height":e,"max-height":e}}}},Fn=(0,A.Z)(En,[["render",mn]]),Sn=Fn,Bn={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",Bn,[(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 kn(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 xn(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 In={name:"DtSkeletonText",mixins:[Cn],props:{type:{type:String,default:"body",validator:e=>vn.includes(e)},headingHeight:{type:String,default:"md",validator:e=>Object.keys(yn).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:yn}}},On=(0,A.Z)(In,[["render",xn]]),_n=On,An=e=>""!==e&&!Number.isNaN(Number(e)),Ln={name:"DtSkeletonParagraph",components:{DtSkeletonText:_n},props:{rows:{type:[Number,String],default:3,validator:An},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:An},maxWidth:{type:[Number,String],default:100,validator:An},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%"}}},Tn=(0,A.Z)(Ln,[["render",kn]]),Nn=Tn,Pn={name:"DtSkeletonListItem",components:{DtSkeletonShape:Sn,DtSkeletonParagraph:Nn},props:{shape:{type:String,default:"circle",validator:e=>Object.keys(gn).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:""}}},Vn=(0,A.Z)(Pn,[["render",wn]]),Mn=Vn,$n={name:"DtSkeleton",components:{DtSkeletonText:_n,DtSkeletonShape:Sn,DtSkeletonListItem:Mn,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 Rn=(0,A.Z)($n,[["render",Dn]]),jn=Rn,zn={name:"ComboboxLoadingList",components:{DtListItem:pn,DtSkeleton:jn}},Kn=(0,A.Z)(zn,[["render",Gt]]),Hn=Kn,qn={name:"DtCombobox",components:{ComboboxLoadingList:Hn},mixins:[Ut({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl"})],props:{listAriaLabel:{type:String,required:!0},listId:{type:String,default(){return E()}},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},showList:{type:Boolean,default:!1},listRenderedOutside:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null}},computed:{inputProps(){return{role:"combobox","aria-expanded":this.showList.toString(),"aria-owns":this.listId,"aria-haspopup":"listbox","aria-activedescendant":this.activeItemId,"aria-controls":this.listId}},listProps(){return{role:"listbox",id:this.listId,class:"d-ps-relative","aria-label":this.listAriaLabel}},beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemId(){if(!(!this.showList||this.highlightIndex<0||this.loading))return this.highlightId},activeItemEl(){return this.getListElement().querySelector("#"+this.highlightId)}},watch:{showList(e){this.$nextTick((function(){this.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",e))})),!e&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null)}},methods:{onMouseHighlight(e){const t=e.target.closest("li");t&&this.highlightId!==t.id&&this.setHighlightId(t.id)},getListElement(){var e;return null!==(e=this.outsideRenderedListRef)&&void 0!==e?e:this.$refs.listWrapper.querySelector("#".concat(this.listId))},clearHighlightIndex(){this.showList&&this.setHighlightIndex(-1)},afterHighlight(){this.$emit("highlight",this.highlightIndex)},onEnterKey(){this.highlightIndex>=0&&this.$emit("select",this.highlightIndex)},onEscapeKey(){this.$emit("escape")},onOpen(e,t){var n;this.outsideRenderedListRef=t,null===(n=this.outsideRenderedListRef)||void 0===n||n.addEventListener("mousemove",this.onMouseHighlight),this.$emit("opened",e),e&&this.setInitialHighlightIndex()},onKeyValidation(e,t){this.showList&&this.getListElement()&&!this.loading&&this[t](e)},setInitialHighlightIndex(){this.showList&&this.setHighlightIndex(this.loading?-1:0)}}},Wn=(0,A.Z)(qn,[["render",qt]]),Zn=Wn,Un=["id"];function Gn(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,Un)]})),_:3},16,["content-width","open","placement","initial-focus-element","fallback-placements","modal","max-height","max-width","onOpened","onKeydown"])}const Yn=["aria-hidden"],Qn=["id"];function Xn(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,Yn)])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(o.elementType),(0,n.mergeProps)({ref:"popover",class:["d-popover",{"d-popover__anchor--modal-opened":o.modal&&a.isOpen}],"data-qa":"dt-popover-container"},e.$attrs),{default:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{id:!o.ariaLabelledby&&s.labelledBy,ref:"anchor","data-qa":"dt-popover-anchor",onClickCapture:t[1]||(t[1]=function(){return s.defaultToggleOpen&&s.defaultToggleOpen(...arguments)}),onKeydown:[t[2]||(t[2]=(0,n.withKeys)((0,n.withModifiers)((function(){return s.onArrowKeyPress&&s.onArrowKeyPress(...arguments)}),["prevent"]),["up"])),t[3]||(t[3]=(0,n.withKeys)((0,n.withModifiers)((function(){return s.onArrowKeyPress&&s.onArrowKeyPress(...arguments)}),["prevent"]),["down"]))],onWheel:t[4]||(t[4]=e=>a.isOpen&&o.modal&&e.preventDefault()),onKeydownCapture:t[5]||(t[5]=(0,n.withKeys)((function(){return s.closePopover&&s.closePopover(...arguments)}),["escape"]))},[(0,n.renderSlot)(e.$slots,"anchor",{attrs:{"aria-expanded":a.isOpen.toString(),"aria-controls":o.id,"aria-haspopup":o.role}})],40,Qn),(0,n.createVNode)(l,(0,n.mergeProps)({id:o.id,ref:"content",role:o.role,"data-qa":"dt-popover","aria-hidden":"".concat(!a.isOpen),"aria-labelledby":s.labelledBy,"aria-label":o.ariaLabel,"aria-modal":"".concat(!o.modal),transition:o.transition,show:a.isOpen,appear:"",class:["d-popover__dialog",{"d-popover__dialog--modal":o.modal},o.dialogClass],style:{"max-height":o.maxHeight,"max-width":o.maxWidth},tabindex:o.contentTabindex},e.$attrs,{onKeydownCapture:s.onKeydown,onAfterLeave:s.onLeaveTransitionComplete,onAfterEnter:s.onEnterTransitionComplete}),{default:(0,n.withCtx)((()=>[e.$slots.headerContent||o.showCloseButton?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,ref:"popover__header",class:(0,n.normalizeClass)(a.POPOVER_HEADER_FOOTER_PADDING_CLASSES[o.padding]),"content-class":o.headerClass,type:"header","show-close-button":o.showCloseButton,"close-button-props":o.closeButtonProps,onClose:s.closePopover},{content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"headerContent",{close:s.closePopover})])),_:3},8,["class","content-class","show-close-button","close-button-props","onClose"])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{ref:"popover__content","data-qa":"dt-popover-content",class:(0,n.normalizeClass)(["d-popover__content",a.POPOVER_PADDING_CLASSES[o.padding],o.contentClass])},[(0,n.renderSlot)(e.$slots,"content",{close:s.closePopover})],2),e.$slots.footerContent?((0,n.openBlock)(),(0,n.createBlock)(r,{key:1,ref:"popover__footer",type:"footer",class:(0,n.normalizeClass)(a.POPOVER_HEADER_FOOTER_PADDING_CLASSES[o.padding]),"content-class":o.footerClass},{content:(0,n.withCtx)((()=>[(0,n.renderSlot)(e.$slots,"footerContent",{close:s.closePopover})])),_:3},8,["class","content-class"])):(0,n.createCommentVNode)("",!0)])),_:3},16,["id","role","aria-hidden","aria-labelledby","aria-label","aria-modal","transition","show","class","style","tabindex","onKeydownCapture","onAfterLeave","onAfterEnter"])])),_:3},16,["class"]))])}function Jn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function eo(e){var t=Jn(e).Element;return e instanceof t||e instanceof Element}function to(e){var t=Jn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function no(e){if("undefined"===typeof ShadowRoot)return!1;var t=Jn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var oo=Math.max,io=Math.min,ao=Math.round;function so(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if(to(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(o=ao(n.width)/s||1),a>0&&(i=ao(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 ro(e){var t=Jn(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function lo(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function uo(e){return e!==Jn(e)&&to(e)?lo(e):ro(e)}function co(e){return e?(e.nodeName||"").toLowerCase():null}function po(e){return((eo(e)?e.ownerDocument:e.document)||window.document).documentElement}function ho(e){return so(po(e)).left+ro(e).scrollLeft}function Do(e){return Jn(e).getComputedStyle(e)}function mo(e){var t=Do(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function fo(e){var t=e.getBoundingClientRect(),n=ao(t.width)/e.offsetWidth||1,o=ao(t.height)/e.offsetHeight||1;return 1!==n||1!==o}function go(e,t,n){void 0===n&&(n=!1);var o=to(t),i=to(t)&&fo(t),a=po(t),s=so(e,i),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&(("body"!==co(t)||mo(a))&&(r=uo(t)),to(t)?(l=so(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=ho(a))),{x:s.left+r.scrollLeft-l.x,y:s.top+r.scrollTop-l.y,width:s.width,height:s.height}}function vo(e){var t=so(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"===co(e)?e:e.assignedSlot||e.parentNode||(no(e)?e.host:null)||po(e)}function yo(e){return["html","body","#document"].indexOf(co(e))>=0?e.ownerDocument.body:to(e)&&mo(e)?e:yo(bo(e))}function Co(e,t){var n;void 0===t&&(t=[]);var o=yo(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=Jn(o),s=i?[a].concat(a.visualViewport||[],mo(o)?o:[]):o,r=t.concat(s);return i?r:r.concat(Co(bo(s)))}function Eo(e){return["table","td","th"].indexOf(co(e))>=0}function Fo(e){return to(e)&&"fixed"!==Do(e).position?e.offsetParent:null}function So(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&to(e)){var o=Do(e);if("fixed"===o.position)return null}var i=bo(e);no(i)&&(i=i.host);while(to(i)&&["html","body"].indexOf(co(i))<0){var a=Do(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 Bo(e){var t=Jn(e),n=Fo(e);while(n&&Eo(n)&&"static"===Do(n).position)n=Fo(n);return n&&("html"===co(n)||"body"===co(n)&&"static"===Do(n).position)?t:n||So(e)||t}var wo="top",ko="bottom",xo="right",Io="left",Oo="auto",_o=[wo,ko,xo,Io],Ao="start",Lo="end",To="clippingParents",No="viewport",Po="popper",Vo="reference",Mo=_o.reduce((function(e,t){return e.concat([t+"-"+Ao,t+"-"+Lo])}),[]),$o=[].concat(_o,[Oo]).reduce((function(e,t){return e.concat([t,t+"-"+Ao,t+"-"+Lo])}),[]),Ro="beforeRead",jo="read",zo="afterRead",Ko="beforeMain",Ho="main",qo="afterMain",Wo="beforeWrite",Zo="write",Uo="afterWrite",Go=[Ro,jo,zo,Ko,Ho,qo,Wo,Zo,Uo];function Yo(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 Qo(e){var t=Yo(e);return Go.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function Xo(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function Jo(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 ei={placement:"bottom",modifiers:[],strategy:"absolute"};function ti(){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 ni(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?ei:i;return function(e,t,n){void 0===n&&(n=a);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},ei,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:eo(e)?Co(e):e.contextElement?Co(e.contextElement):[],popper:Co(t)};var r=Qo(Jo([].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(ti(t,n)){i.rects={reference:go(t,Bo(n),"fixed"===i.options.strategy),popper:vo(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:Xo((function(){return new Promise((function(e){l.forceUpdate(),e(i)}))})),destroy:function(){d(),r=!0}};if(!ti(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 oi={passive:!0};function ii(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=Jn(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,oi)})),r&&l.addEventListener("resize",n.update,oi),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,oi)})),r&&l.removeEventListener("resize",n.update,oi)}}const ai={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ii,data:{}};function si(e){return e.split("-")[0]}function ri(e){return e.split("-")[1]}function li(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ui(e){var t,n=e.reference,o=e.element,i=e.placement,a=i?si(i):null,s=i?ri(i):null,r=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(a){case wo:t={x:r,y:n.y-o.height};break;case ko:t={x:r,y:n.y+n.height};break;case xo:t={x:n.x+n.width,y:l};break;case Io:t={x:n.x-o.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?li(a):null;if(null!=u){var d="y"===u?"height":"width";switch(s){case Ao:t[u]=t[u]-(n[d]/2-o[d]/2);break;case Lo:t[u]=t[u]+(n[d]/2-o[d]/2);break;default:}}return t}function di(e){var t=e.state,n=e.name;t.modifiersData[n]=ui({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ci={name:"popperOffsets",enabled:!0,phase:"read",fn:di,data:{}};var pi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function hi(e){var t=e.x,n=e.y,o=window,i=o.devicePixelRatio||1;return{x:ao(t*i)/i||0,y:ao(n*i)/i||0}}function Di(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=Io,y=wo,C=window;if(u){var E=Bo(n),F="clientHeight",S="clientWidth";if(E===Jn(n)&&(E=po(n),"static"!==Do(E).position&&"absolute"===r&&(F="scrollHeight",S="scrollWidth")),E=E,i===wo||(i===Io||i===xo)&&a===Lo){y=ko;var B=c&&E===C&&C.visualViewport?C.visualViewport.height:E[F];m-=B-o.height,m*=l?1:-1}if(i===Io||(i===wo||i===ko)&&a===Lo){b=xo;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&&pi),I=!0===d?hi({x:h,y:m}):{x:h,y:m};return h=I.x,m=I.y,l?Object.assign({},x,(k={},k[y]=v?"0":"",k[b]=g?"0":"",k.transform=(C.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",k)):Object.assign({},x,(t={},t[y]=v?m+"px":"",t[b]=g?h+"px":"",t.transform="",t))}function mi(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:si(t.placement),variation:ri(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,Di(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,Di(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 fi={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:mi,data:{}};function gi(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];to(i)&&co(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 vi(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}),{});to(o)&&co(o)&&(Object.assign(o.style,s),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}}const bi={name:"applyStyles",enabled:!0,phase:"write",fn:gi,effect:vi,requires:["computeStyles"]};function yi(e,t,n){var o=si(e),i=[Io,wo].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,[Io,xo].indexOf(o)>=0?{x:r,y:s}:{x:s,y:r}}function Ci(e){var t=e.state,n=e.options,o=e.name,i=n.offset,a=void 0===i?[0,0]:i,s=$o.reduce((function(e,n){return e[n]=yi(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 Ei={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ci};var Fi={left:"right",right:"left",bottom:"top",top:"bottom"};function Si(e){return e.replace(/left|right|bottom|top/g,(function(e){return Fi[e]}))}var Bi={start:"end",end:"start"};function wi(e){return e.replace(/start|end/g,(function(e){return Bi[e]}))}function ki(e){var t=Jn(e),n=po(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+ho(e),y:r}}function xi(e){var t,n=po(e),o=ro(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=oo(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=oo(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),r=-o.scrollLeft+ho(e),l=-o.scrollTop;return"rtl"===Do(i||n).direction&&(r+=oo(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:r,y:l}}function Ii(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&no(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Oi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _i(e){var t=so(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 Ai(e,t){return t===No?Oi(ki(e)):eo(t)?_i(t):Oi(xi(po(e)))}function Li(e){var t=Co(bo(e)),n=["absolute","fixed"].indexOf(Do(e).position)>=0,o=n&&to(e)?Bo(e):e;return eo(o)?t.filter((function(e){return eo(e)&&Ii(e,o)&&"body"!==co(e)})):[]}function Ti(e,t,n){var o="clippingParents"===t?Li(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=Ai(e,n);return t.top=oo(o.top,t.top),t.right=io(o.right,t.right),t.bottom=io(o.bottom,t.bottom),t.left=oo(o.left,t.left),t}),Ai(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 Ni(){return{top:0,right:0,bottom:0,left:0}}function Pi(e){return Object.assign({},Ni(),e)}function Vi(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Mi(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?To:a,r=n.rootBoundary,l=void 0===r?No:r,u=n.elementContext,d=void 0===u?Po:u,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,D=void 0===h?0:h,m=Pi("number"!==typeof D?D:Vi(D,_o)),f=d===Po?Vo:Po,g=e.rects.popper,v=e.elements[p?f:d],b=Ti(eo(v)?v:v.contextElement||po(e.elements.popper),s,l),y=so(e.elements.reference),C=ui({reference:y,element:g,strategy:"absolute",placement:i}),E=Oi(Object.assign({},g,C)),F=d===Po?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===Po&&B){var w=B[i];Object.keys(S).forEach((function(e){var t=[xo,ko].indexOf(e)>=0?1:-1,n=[wo,ko].indexOf(e)>=0?"y":"x";S[e]+=w[n]*t}))}return S}function $i(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?$o:l,d=ri(o),c=d?r?Mo:Mo.filter((function(e){return ri(e)===d})):_o,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]=Mi(e,{placement:n,boundary:i,rootBoundary:a,padding:s})[si(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}function Ri(e){if(si(e)===Oo)return[];var t=Si(e);return[wi(e),t,wi(t)]}function ji(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=si(f),v=g===f,b=l||(v||!D?[Si(f)]:Ri(f)),y=[f].concat(b).reduce((function(e,n){return e.concat(si(n)===Oo?$i(t,{placement:n,boundary:d,rootBoundary:c,padding:u,flipVariations:D,allowedAutoPlacements:m}):n)}),[]),C=t.rects.reference,E=t.rects.popper,F=new Map,S=!0,B=y[0],w=0;w<y.length;w++){var k=y[w],x=si(k),I=ri(k)===Ao,O=[wo,ko].indexOf(x)>=0,_=O?"width":"height",A=Mi(t,{placement:k,boundary:d,rootBoundary:c,altBoundary:p,padding:u}),L=O?I?xo:Io:I?ko:wo;C[_]>E[_]&&(L=Si(L));var T=Si(L),N=[];if(a&&N.push(A[x]<=0),r&&N.push(A[L]<=0,A[T]<=0),N.every((function(e){return e}))){B=k,S=!1;break}F.set(k,N)}if(S)for(var P=D?3:1,V=function(e){var t=y.find((function(t){var n=F.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return B=t,"break"},M=P;M>0;M--){var $=V(M);if("break"===$)break}t.placement!==B&&(t.modifiersData[o]._skip=!0,t.placement=B,t.reset=!0)}}const zi={name:"flip",enabled:!0,phase:"main",fn:ji,requiresIfExists:["offset"],data:{_skip:!1}};function Ki(e){return"x"===e?"y":"x"}function Hi(e,t,n){return oo(e,io(t,n))}function qi(e,t,n){var o=Hi(e,t,n);return o>n?n:o}function Wi(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=Mi(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:d}),g=si(t.placement),v=ri(t.placement),b=!v,y=li(g),C=Ki(y),E=t.modifiersData.popperOffsets,F=t.rects.reference,S=t.rects.popper,B="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,w="number"===typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,x={x:0,y:0};if(E){if(a){var I,O="y"===y?wo:Io,_="y"===y?ko:xo,A="y"===y?"height":"width",L=E[y],T=L+f[O],N=L-f[_],P=h?-S[A]/2:0,V=v===Ao?F[A]:S[A],M=v===Ao?-S[A]:-F[A],$=t.elements.arrow,R=h&&$?vo($):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ni(),z=j[O],K=j[_],H=Hi(0,F[A],R[A]),q=b?F[A]/2-P-H-z-w.mainAxis:V-H-z-w.mainAxis,W=b?-F[A]/2+P+H+K+w.mainAxis:M+H+K+w.mainAxis,Z=t.elements.arrow&&Bo(t.elements.arrow),U=Z?"y"===y?Z.clientTop||0:Z.clientLeft||0:0,G=null!=(I=null==k?void 0:k[y])?I:0,Y=L+q-G-U,Q=L+W-G,X=Hi(h?io(T,Y):T,L,h?oo(N,Q):N);E[y]=X,x[y]=X-L}if(r){var J,ee="x"===y?wo:Io,te="x"===y?ko:xo,ne=E[C],oe="y"===C?"height":"width",ie=ne+f[ee],ae=ne-f[te],se=-1!==[wo,Io].indexOf(g),re=null!=(J=null==k?void 0:k[C])?J:0,le=se?ie:ne-F[oe]-S[oe]-re+w.altAxis,ue=se?ne+F[oe]+S[oe]-re-w.altAxis:ae,de=h&&se?qi(le,ne,ue):Hi(h?le:ie,ne,h?ue:ae);E[C]=de,x[C]=de-ne}t.modifiersData[o]=x}}const Zi={name:"preventOverflow",enabled:!0,phase:"main",fn:Wi,requiresIfExists:["offset"]};var Ui=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,Pi("number"!==typeof e?e:Vi(e,_o))};function Gi(e){var t,n=e.state,o=e.name,i=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,r=si(n.placement),l=li(r),u=[Io,xo].indexOf(r)>=0,d=u?"height":"width";if(a&&s){var c=Ui(i.padding,n),p=vo(a),h="y"===l?wo:Io,D="y"===l?ko:xo,m=n.rects.reference[d]+n.rects.reference[l]-s[l]-n.rects.popper[d],f=s[l]-n.rects.reference[l],g=Bo(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=Hi(y,E,C),S=l;n.modifiersData[o]=(t={},t[S]=F,t.centerOffset=F-E,t)}}function Yi(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))&&Ii(t.elements.popper,i)&&(t.elements.arrow=i)}const Qi={name:"arrow",enabled:!0,phase:"main",fn:Gi,effect:Yi,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xi(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 Ji(e){return[wo,xo,ko,Io].some((function(t){return e[t]>=0}))}function ea(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,s=Mi(t,{elementContext:"reference"}),r=Mi(t,{altBoundary:!0}),l=Xi(s,o),u=Xi(r,i,a),d=Ji(l),c=Ji(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 ta={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ea};var na=[ai,ci,fi,bi,Ei,zi,Zi,Qi,ta],oa=ni({defaultModifiers:na}),ia="tippy-box",aa="tippy-content",sa="tippy-backdrop",ra="tippy-arrow",la="tippy-svg-arrow",ua={passive:!0,capture:!0},da=function(){return document.body};function ca(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function pa(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function ha(e,t){return"function"===typeof e?e.apply(void 0,t):e}function Da(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function ma(e){return e.split(/\s+/).filter(Boolean)}function fa(e){return[].concat(e)}function ga(e,t){-1===e.indexOf(t)&&e.push(t)}function va(e){return e.filter((function(t,n){return e.indexOf(t)===n}))}function ba(e){return e.split("-")[0]}function ya(e){return[].slice.call(e)}function Ca(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ea(){return document.createElement("div")}function Fa(e){return["Element","Fragment"].some((function(t){return pa(e,t)}))}function Sa(e){return pa(e,"NodeList")}function Ba(e){return pa(e,"MouseEvent")}function wa(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function ka(e){return Fa(e)?[e]:Sa(e)?ya(e):Array.isArray(e)?e:ya(document.querySelectorAll(e))}function xa(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ia(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Oa(e){var t,n=fa(e),o=n[0];return null!=o&&null!=(t=o.ownerDocument)&&t.body?o.ownerDocument:document}function _a(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 Aa(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function La(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 Ta={isTouch:!1},Na=0;function Pa(){Ta.isTouch||(Ta.isTouch=!0,window.performance&&document.addEventListener("mousemove",Va))}function Va(){var e=performance.now();e-Na<20&&(Ta.isTouch=!1,document.removeEventListener("mousemove",Va)),Na=e}function Ma(){var e=document.activeElement;if(wa(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function $a(){document.addEventListener("touchstart",Pa,ua),window.addEventListener("blur",Ma)}var Ra="undefined"!==typeof window&&"undefined"!==typeof document,ja=!!Ra&&!!window.msCrypto;var za={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ka={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ha=Object.assign({appendTo:da,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},za,Ka),qa=Object.keys(Ha),Wa=function(e){var t=Object.keys(e);t.forEach((function(t){Ha[t]=e[t]}))};function Za(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=Ha[i])?o:a);return t}),{});return Object.assign({},e,n)}function Ua(e,t){var n=t?Object.keys(Za(Object.assign({},Ha,{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 Ga(e,t){var n=Object.assign({},t,{content:ha(t.content,[e])},t.ignoreAttributes?{}:Ua(e,t.plugins));return n.aria=Object.assign({},Ha.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 Ya=function(){return"innerHTML"};function Qa(e,t){e[Ya()]=t}function Xa(e){var t=Ea();return!0===e?t.className=ra:(t.className=la,Fa(e)?t.appendChild(e):Qa(t,e)),t}function Ja(e,t){Fa(t.content)?(Qa(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?Qa(e,t.content):e.textContent=t.content)}function es(e){var t=e.firstElementChild,n=ya(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(aa)})),arrow:n.find((function(e){return e.classList.contains(ra)||e.classList.contains(la)})),backdrop:n.find((function(e){return e.classList.contains(sa)}))}}function ts(e){var t=Ea(),n=Ea();n.className=ia,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=Ea();function i(n,o){var i=es(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||Ja(s,e.props),o.arrow?r?n.arrow!==o.arrow&&(a.removeChild(r),a.appendChild(Xa(o.arrow))):a.appendChild(Xa(o.arrow)):r&&a.removeChild(r)}return o.className=aa,o.setAttribute("data-state","hidden"),Ja(o,e.props),t.appendChild(n),n.appendChild(o),i(e.props,e.props),{popper:t,onUpdate:i}}ts.$$tippy=!0;var ns=1,os=[],is=[];function as(e,t){var n,o,i,a,s,r,l,u=Ga(e,Object.assign({},Ha,Za(Ca(t)))),d=!1,c=!1,p=!1,h=!1,D=[],m=Da(Y,u.interactiveDebounce),f=ns++,g=null,v=va(u.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},y={id:f,reference:e,popper:Ea(),popperInstance:g,props:u,state:b,plugins:v,clearDelayTimeouts:le,setProps:ue,setContent:de,show:ce,hide:pe,hideWithInteractivity:he,enable:se,disable:re,unmount:De,destroy:me};if(!u.render)return y;var C=u.render(y),E=C.popper,F=C.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+y.id,y.popper=E,e._tippy=y,E._tippy=y;var S=v.map((function(e){return e.fn(y)})),B=e.hasAttribute("aria-expanded");return Z(),P(),L(),T("onCreate",[y]),u.showOnCreate&&ie(),E.addEventListener("mouseenter",(function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()})),E.addEventListener("mouseleave",(function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&O().addEventListener("mousemove",m)})),y;function w(){var e=y.props.touch;return Array.isArray(e)?e:[e,0]}function k(){return"hold"===w()[0]}function x(){var e;return!(null==(e=y.props.render)||!e.$$tippy)}function I(){return l||e}function O(){var e=I().parentNode;return e?Oa(e):document}function _(){return es(E)}function A(e){return y.state.isMounted&&!y.state.isVisible||Ta.isTouch||a&&"focus"===a.type?0:ca(y.props.delay,e?0:1,Ha.delay)}function L(e){void 0===e&&(e=!1),E.style.pointerEvents=y.props.interactive&&!e?"":"none",E.style.zIndex=""+y.props.zIndex}function T(e,t,n){var o;(void 0===n&&(n=!0),S.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=y.props)[e].apply(o,t)}function N(){var t=y.props.aria;if(t.content){var n="aria-"+t.content,o=E.id,i=fa(y.props.triggerTarget||e);i.forEach((function(e){var t=e.getAttribute(n);if(y.state.isVisible)e.setAttribute(n,t?t+" "+o:o);else{var i=t&&t.replace(o,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function P(){if(!B&&y.props.aria.expanded){var t=fa(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),os=os.filter((function(e){return e!==m}))}function M(t){if(!Ta.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!y.props.interactive||!La(E,n)){if(fa(y.props.triggerTarget||e).some((function(e){return La(e,n)}))){if(Ta.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,ua),e.addEventListener("touchstart",R,ua),e.addEventListener("touchmove",$,ua)}function z(){var e=O();e.removeEventListener("mousedown",M,!0),e.removeEventListener("touchend",M,ua),e.removeEventListener("touchstart",R,ua),e.removeEventListener("touchmove",$,ua)}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&&(Aa(n,"remove",o),t())}if(0===e)return t();Aa(n,"remove",s),Aa(n,"add",o),s=o}function W(t,n,o){void 0===o&&(o=!1);var i=fa(y.props.triggerTarget||e);i.forEach((function(e){e.addEventListener(t,n,o),D.push({node:e,eventType:t,handler:n,options:o})}))}function Z(){k()&&(W("touchstart",G,{passive:!0}),W("touchend",Q,{passive:!0})),ma(y.props.trigger).forEach((function(e){if("manual"!==e)switch(W(e,G),e){case"mouseenter":W("mouseleave",Q);break;case"focus":W(ja?"focusout":"blur",X);break;case"focusin":W("focusout",X);break}}))}function U(){D.forEach((function(e){var t=e.node,n=e.eventType,o=e.handler,i=e.options;t.removeEventListener(n,o,i)})),D=[]}function G(e){var t,n=!1;if(y.state.isEnabled&&!J(e)&&!c){var o="focus"===(null==(t=a)?void 0:t.type);a=e,l=e.currentTarget,P(),!y.state.isVisible&&Ba(e)&&os.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);_a(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!!Ta.isTouch&&k()!==e.type.indexOf("touch")>=0}function ee(){te();var t=y.props,n=t.popperOptions,o=t.placement,i=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,l=x()?es(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=oa(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===da||"parent"===t?n.parentNode:ha(t,[n]),e.contains(E)||e.appendChild(E),y.state.isMounted=!0,ee()}function oe(){return ya(E.querySelectorAll("[data-tippy-root]"))}function ie(e){y.clearDelayTimeouts(),e&&T("onTrigger",[y,e]),j();var t=A(!0),o=w(),i=o[0],a=o[1];Ta.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=Ga(e,Object.assign({},n,Ca(t),{ignoreAttributes:!0}));y.props=o,Z(),n.interactiveDebounce!==o.interactiveDebounce&&(V(),m=Da(Y,o.interactiveDebounce)),n.triggerTarget&&!o.triggerTarget?fa(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded"),P(),L(),F&&F(n,o),y.popperInstance&&(ee(),oe().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),T("onAfterUpdate",[y,t])}}function de(e){y.setProps({content:e})}function ce(){var e=y.state.isVisible,t=y.state.isDestroyed,n=!y.state.isEnabled,o=Ta.isTouch&&!y.props.touch,i=ca(y.props.duration,0,Ha.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;xa([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;xa([n,o],i),Ia([n,o],"visible")}N(),P(),ga(is,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=ca(y.props.duration,1,Ha.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&&(xa([a,s],o),Ia([a,s],"hidden"))}N(),P(),y.props.animation?x()&&K(o,y.unmount):y.unmount()}}function he(e){O().addEventListener("mousemove",m),ga(os,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),is=is.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 ss(e,t){void 0===t&&(t={});var n=Ha.plugins.concat(t.plugins||[]);$a();var o=Object.assign({},t,{plugins:n}),i=ka(e),a=i.reduce((function(e,t){var n=t&&as(t,o);return n&&e.push(n),e}),[]);return Fa(e)?a[0]:a}ss.defaultProps=Ha,ss.setDefaultProps=Wa,ss.currentInput=Ta;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)}});ss.setDefaultProps({render:ts});const rs=ss,ls=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),us=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],ds=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,rs(e,{...t,render:()=>Ds(n)})},cs=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},ls((e=>{let{state:t}=e;n(t.placement)}))]}},ps=(e,t)=>{const n=document.createElement("span");return n.setAttribute("tabindex",t),n.innerText=e.innerText||"",e.innerText="",e.appendChild(n),n},hs=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):ps(e)},Ds=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},ms={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},fs={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},gs=["dialog","menu","listbox","tree","grid"],vs=[null,"anchor"],bs=["none","dialog","first"];function ys(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 Cs={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)}}},Es=(0,A.Z)(Cs,[["render",ys]]),Fs=Es;function Ss(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 Bs={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()}}},ws=(0,A.Z)(Bs,[["render",Ss]]),ks=ws,xs={name:"DtPopover",components:{DtLazyShow:Fs,PopoverHeaderFooter:ks},mixins:[bt],inheritAttrs:!1,props:{open:{type:Boolean,default:null},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:e=>gs.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(ms).some((t=>t===e))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:e=>vs.includes(e)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return E()}},offset:{type:Array,default:()=>[0,4]},hideOnClick:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom-end"},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},showCloseButton:{type:Boolean,default:!1},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""},dialogClass:{type:[String,Array,Object],default:""},initialFocusElement:{type:[String,HTMLElement],default:"none",validator:e=>bs.includes(e)||e instanceof HTMLElement||e.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["update:open","opened"],data(){return{POPOVER_PADDING_CLASSES:ms,POPOVER_HEADER_FOOTER_PADDING_CLASSES:fs,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&E("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(e){this.tip.setProps({zIndex:e?650:300})},offset(e){this.tip.setProps({offset:e})},fallbackPlacements(e){this.tip.setProps({popperOptions:cs({fallbackPlacements:e,hasHideModifierEnabled:!0})})},placement(e){var t;null===(t=this.tip)||void 0===t||t.setProps({placement:e})},open:{handler:function(e){null!==e&&(this.isOpen=e)},immediate:!0},isOpen(e,t){e?(this.tip.show(),this.addClosePopoverEventListener()):e||t===e||(this.removeClosePopoverEventListener(),this.tip.hide())}},mounted(){const e=document.getElementById(this.externalAnchor);this.anchorEl=null!==e&&void 0!==e?e:this.$refs.anchor.children[0],this.popoverContentEl=this.$refs.content.$el,"anchor"===this.contentWidth&&window.addEventListener("resize",this.onResize),this.tip=ds(this.anchorEl,{popperOptions:cs({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0}),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,appendTo:document.body,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow}),this.isOpen&&this.tip.show()},beforeUnmount(){var e;window.removeEventListener("resize",this.onResize),null===(e=this.tip)||void 0===e||e.destroy(),this.removeReferences(),this.removeClosePopoverEventListener()},methods:{validateProps(){this.modal&&"none"===this.initialFocusElement&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?650:300},defaultToggleOpen(e){if(null===this.open||void 0===this.open){var t;if(!this.anchorEl.contains(e.target)&&!this.anchorEl.isEqualNode(e.target)||null!==(t=this.anchorEl)&&void 0!==t&&t.disabled)return;this.toggleOpen()}},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(e){null===this.open&&this.openWithArrowKeys&&this.anchorEl.contains(e.target)&&(this.isOpen||(this.isOpen=!0))},addClosePopoverEventListener(){window.addEventListener("dt-popover-close",this.closePopover)},removeClosePopoverEventListener(){window.removeEventListener("dt-popover-close",this.closePopover)},closePopover(){this.isOpen=!1},removeReferences(){this.anchorEl=null,this.popoverContentEl=null,this.tip=null},async onShow(){"anchor"===this.contentWidth&&await this.setPopoverContentAnchorWidth(),null===this.contentWidth&&(this.popoverContentEl.style.width="auto")},async onLeaveTransitionComplete(){var e;this.modal&&(this.focusFirstElement(this.$refs.anchor),await this.$nextTick()),null===(e=this.tip)||void 0===e||e.unmount(),this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),await this.$nextTick(),this.$emit("opened",!0,this.$refs.popover__content),null!==this.open&&this.$emit("update:open",!0)},focusInitialElement(){"dialog"===this.initialFocusElement&&this.$refs.content.$el.focus(),this.initialFocusElement.startsWith("#")&&this.focusInitialElementById(),"first"===this.initialFocusElement&&this.focusFirstElementIfNeeded(this.$refs.popover__content),this.initialFocusElement instanceof HTMLElement&&this.initialFocusElement.focus()},focusInitialElementById(){const e=this.$refs.content.$el.querySelector(this.initialFocusElement);e?e.focus():console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'),e?e.focus():this.$refs.content.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;const e=this.popoverContentEl.querySelector(".d-popover__anchor--modal-opened");e||this.closePopover()},onKeydown(e){"Tab"===e.key&&this.modal&&this.focusTrappedTabPress(e,this.popoverContentEl),"Escape"===e.key&&this.closePopover()},async setPopoverContentAnchorWidth(){await this.$nextTick(),this.popoverContentEl.style.width="".concat(this.anchorEl.clientWidth,"px")},focusFirstElementIfNeeded(e){const t=this._getFocusableElements(e,!0);if(0!==t.length)this.focusFirstElement(e);else if(this.showCloseButton){var n;null===(n=this.$refs.popover__header)||void 0===n||n.focusCloseButton()}else this.$refs.content.$el.focus()}}};o(425);const Is=(0,A.Z)(xs,[["render",Xn]]),Os=Is,_s={none:void 0,small:"d-py6",large:"d-py12"},As={name:"DtDropdown",components:{DtPopover:Os},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(_s).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:Xt.ARROW_KEYS,validator:e=>Object.values(Xt).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:Xt,DROPDOWN_PADDING_CLASSES:_s,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)}}},Ls=(0,A.Z)(As,[["render",Gn]]),Ts=Ls,Ns=["aria-label","alt","title","src"];function Ps(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,Ns)),[[n.vShow,!a.imgLoading]])],2)}const Vs={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 Ms=o(809),$s=o.n(Ms);const Rs="6.6",js="https://cdn.jsdelivr.net/joypixels/assets/"+Rs+"/png/unicode/32/";let zs=js,Ks=".png",Hs=js,qs=".png",Ws=null;async function Zs(){Ws||(Ws=await o.e(370).then(o.t.bind(o,370,19)))}function Us(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".png";e.endsWith("/")||(e+="/"),zs=e,Ks=t}function Gs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".svg";e.endsWith("/")||(e+="/"),Hs=e,qs=t}function Ys(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(Ws,null),n}function Qs(e){let t="";for(const n of e)""!==t&&(t+="-"),t+=n.codePointAt(0).toString(16);return t}function Xs(e){const t=e.split("-");let n="";return t.forEach((e=>{n+=String.fromCodePoint(parseInt(e,16))})),n}async function Js(e){if(await Zs(),e.startsWith(":")&&e.endsWith(":"))return Ys(e);{const t=Qs(e),n=Ws[t];return n&&(n.key=t),n}}function er(e){const t=e.match(/:\w+:/g),n=t?t.filter((e=>Ys(e))):[];return new Set(n)}function tr(e){const t=[...e.matchAll($s()())],n=t.length?t.map((e=>e[0])):[];return new Set(n)}const nr={name:"DtEmoji",components:{DtSkeleton:jn},props:{code:{type:String,default:null},size:{type:String,default:Vs.SIZE_20,validator:e=>Object.values(Vs).includes(e)},imgClass:{type:[String,Object,Array],default:""},ariaLabel:{type:String,default:null}},data(){return{emojiData:null,imgLoading:!1,emojiDataLoading:!1}},computed:{emojiDataValid(){return!!this.emojiData},emojiSrc(){return this.emojiDataValid?["d-svg--size14","d-svg--size16"].includes(this.size)?zs+this.emojiData.key+Ks:Hs+this.emojiData.key+qs:"invalid"},emojiAlt(){if(this.emojiDataValid)return Xs(this.emojiData.unicode_output)},emojiLabel(){return this.emojiDataValid?this.ariaLabel?this.ariaLabel:this.emojiData.name:"Invalid Emoji"},skeletonSizeClass(){return"d-svg--size100p"===this.size?["d-h100p","d-w100p"]:this.size}},watch:{code:{handler:async function(){this.emojiDataLoading=!0,await this.getEmojiData(),this.emojiDataLoading=!1},immediate:!0},emojiSrc:{handler:async function(){this.imgLoading=!0}}},methods:{async getEmojiData(){this.emojiData=await Js(this.code)},imageLoaded(){this.imgLoading=!1},imageErrored(){this.imgLoading=!1}}},or=(0,A.Z)(nr,[["render",Ps]]),ir=or,ar={ref:"container",class:"base-input","data-qa":"dt-input"},sr=["aria-details"],rr=["id"],lr={key:0},ur={key:1,"data-qa":"dt-input-length-description",class:(0,n.normalizeClass)(["d-mb2"])},dr={class:"d-input__wrapper"},cr=["value","name","disabled","maxlength"],pr=["value","name","type","disabled","maxlength"];function hr(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-validation-messages");return(0,n.openBlock)(),(0,n.createElementBlock)("div",ar,[(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",lr,[(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",ur,(0,n.toDisplayString)(s.validationProps.length.description),1)):(0,n.createCommentVNode)("",!0)],10,rr)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",dr,[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,cr)):((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,pr)),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,sr),(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 Dr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},mr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},fr={key:0,class:"base-input__messages d-d-flex d-fd-column","data-qa":"validation-messages-container"},gr=["innerHTML"];function vr(e,t,o,i,a,s){return o.showMessages&&!s.isFilteredValidationMessagesEmpty?((0,n.openBlock)(),(0,n.createElementBlock)("div",fr,[((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,gr)],2)})),128))])):(0,n.createCommentVNode)("",!0)}function br(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 yr={name:"DtValidationMessages",props:{id:{type:String,default(){return E()}},validationMessages:{type:Array,default:()=>[],validator:e=>br(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]}}},Cr=(0,A.Z)(yr,[["render",vr]]),Er=Cr,Fr={inheritAttrs:!1,props:{label:{type:String,default:""},name:{type:String,default:""},value:{type:[String,Number,Boolean,Object],default:null},description:{type:String,default:""},disabled:{type:Boolean,default:!1},validationState:{type:String,default:"",validator:e=>!e||Object.values(d).includes(e)},inputClass:{type:[String,Array,Object],default:""},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})},descriptionChildProps:{type:Object,default:()=>({})}},data(){return{internalDisabled:this.disabled,internalValidationState:this.validationState}},watch:{disabled(e){this.internalDisabled=e},validationState(e){this.internalValidationState=e}},methods:{validateInputLabels(e,t){e||t||(0,n.warn)("You must provide an aria-label when there is no label passed",this)}}},Sr={model:{prop:"checked"},props:{checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:null}},data(){return{internalChecked:this.checked,internalIndeterminate:this.indeterminate}},watch:{checked(e){this.internalChecked=e},indeterminate(e){this.internalIndeterminate=e}}},Br={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)}},wr={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:e=>br(e)}},computed:{formattedMessages(){return F(this.messages)}}},kr={name:"DtInput",components:{DtValidationMessages:Er},mixins:[wr],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Dr.TEXT,validator:e=>Object.values(Dr).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(mr).includes(e)},iconSize:{type:String,default:null,validator:e=>Object.values(mr).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===Dr.TEXTAREA},isDefaultSize(){return this.size===mr.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===mr.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(mr).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}}},xr=(0,A.Z)(kr,[["render",hr]]),Ir=xr,Or=["data-qa"],_r=["data-qa"];function Ar(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,_r)):(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,Or)}const Lr={components:{DtValidationMessages:Er},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=>br(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)}},Tr={name:"DtInputGroup",components:{DtValidationMessages:Er},mixins:[Lr],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)}}},Nr=(0,A.Z)(Tr,[["render",Ar]]),Pr=Nr,Vr=["aria-describedby","aria-labelledby"],Mr=["id"],$r=["id"],Rr={key:2,class:"d-modal__content","data-qa":"dt-modal-copy"},jr={key:3,class:"d-modal__content","data-qa":"dt-modal-copy"},zr={key:4,class:"d-modal__footer"};function Kr(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,Mr)):((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,$r)),e.$slots.default?((0,n.openBlock)(),(0,n.createElementBlock)("div",Rr,[(0,n.renderSlot)(e.$slots,"default")])):((0,n.openBlock)(),(0,n.createElementBlock)("p",jr,(0,n.toDisplayString)(o.copy),1)),s.hasFooterSlot?((0,n.openBlock)(),(0,n.createElementBlock)("footer",zr,[(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,Vr),[[n.vShow,o.show]])])),_:3})])),_:3},8,["show","class","aria-hidden","onClick","onKeydown","onAfterEnter"])}const Hr={default:"",danger:"d-modal--danger"},qr={default:"",full:"d-modal--full"},Wr={name:"DtModal",components:{DtLazyShow:Fs,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(Hr).includes(e)},size:{type:String,default:"default",validator:e=>Object.keys(qr).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:Hr,MODAL_SIZE_MODIFIERS:qr}},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)}}},Zr=(0,A.Z)(Wr,[["render",Kr]]),Ur=Zr,Gr=["id","aria-labelledby"],Yr=["id"],Qr=["id"],Xr=["id"],Jr={class:"d-d-flex"};function el(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,Yr)):(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,Qr)):((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,Xr)),(0,n.createElementVNode)("div",Jr,[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,Gr)}const tl={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 nl=(0,A.Z)(tl,[["render",el]]),ol=nl;function il(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 al={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}]}}},sl=(0,A.Z)(al,[["render",il]]),rl=sl,ll={class:"d-radio__input"},ul=["checked","name","value","disabled"],dl={class:"d-radio__copy d-radio__label","data-qa":"radio-label-description-container"};function cl(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",ll,[(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",dl,[(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 pl={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},hl={name:"DtRadio",components:{DtValidationMessages:Er},mixins:[Fr,Sr,Br,wr],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focus","focusin","focusout","click"],computed:{inputValidationClass(){return pl[this.internalValidationState]},radioGroupValue(){var e;return null===(e=this.groupContext)||void 0===e?void 0:e.selectedValue},inputListeners(){return{input:()=>{},focusin:e=>this.$emit("focusin",e),focusout:e=>this.$emit("focusout",e),change:e=>this.emitValue(e.target.value)}}},watch:{radioGroupValue:{immediate:!0,handler(e){this.hasGroup&&(this.internalChecked=e===this.value)}}},methods:{emitValue(e){e!==this.radioGroupValue&&(this.setGroupValue(e),this.$emit("input",e))}}},Dl=(0,A.Z)(hl,[["render",cl]]),ml=Dl,fl={name:"DtRadioGroup",extends:Pr,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)}}},gl=fl,vl=gl,bl={"data-qa":"dt-tab-group"},yl=["aria-label"];function Cl(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",bl,[(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,yl),(0,n.renderSlot)(e.$slots,"default")])}const El=["default","sm"],Fl={sm:"d-tablist--sm"},Sl={inverted:"d-tablist--inverted"},Bl={borderless:"d-tablist--no-border"},wl={selected:"d-tab--selected"},kl={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 El.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:Fl,TAB_LIST_KIND_MODIFIERS:Sl,TAB_LIST_IMPORTANCE_MODIFIERS:Bl}},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())}}},xl=(0,A.Z)(kl,[["render",Cl]]),Il=xl;function Ol(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 _l={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:wl}},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})}}},Al=(0,A.Z)(_l,[["render",Ol]]),Ll=Al,Tl=["id","aria-labelledby","aria-hidden"];function Nl(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,Tl)),[[n.vShow,!o.hidden]])}const Pl={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}}},Vl=(0,A.Z)(Pl,[["render",Nl]]),Ml=Vl,$l={class:"d-checkbox__input"},Rl=["checked","name","value","disabled",".indeterminate"],jl={key:0,class:"d-checkbox__copy d-checkbox__label","data-qa":"checkbox-label-description-container"};function zl(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",$l,[(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,Rl)]),s.hasLabelOrDescription?((0,n.openBlock)(),(0,n.createElementBlock)("div",jl,[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 Kl={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},Hl={name:"DtCheckbox",components:{DtValidationMessages:Er},mixins:[Fr,Sr,Br,wr],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Kl[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"])}}},ql=(0,A.Z)(Hl,[["render",zl]]),Wl=ql,Zl={name:"DtCheckboxGroup",extends:Pr,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)}}},Ul=Zl,Gl=Ul,Yl={class:"d-chip"},Ql={key:0,"data-qa":"dt-chip-icon",class:"d-chip__icon"},Xl={key:1,"data-qa":"dt-chip-avatar"},Jl=["id"];function eu(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",Yl,[((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",Ql,[(0,n.renderSlot)(e.$slots,"icon")])):e.$slots.avatar?((0,n.openBlock)(),(0,n.createElementBlock)("span",Xl,[(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,Jl)):(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 tu={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},nu={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},ou={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(tu).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",tu[this.size]]},chipCloseButtonClasses(){return["d-chip__close",nu[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},iu=(0,A.Z)(ou,[["render",eu]]),au=iu,su=["aria-details"],ru=["id"],lu=["disabled"],uu=["value"];function du(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,su)):(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,ru)):(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,lu)],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 cu={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},pu={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},hu=e=>!e.index||"number"===typeof e.index,Du=e=>!!e.value&&("string"===typeof e.value||"number"===typeof e.value),mu=e=>!!e.label&&"string"===typeof e.label,fu=e=>!e||e.every((e=>!!hu(e)&&(!!Du(e)&&!!mu(e)))),gu={name:"DtSelectMenu",components:{DtValidationMessages:Er},mixins:[wr],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:e=>fu(e)},size:{type:String,default:"md",validator:e=>Object.keys(cu).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:cu,SELECT_STATE_MODIFIERS:pu}},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)(gu,[["render",du]]),bu=vu,yu=["aria-hidden"],Cu={class:"d-toast__dialog"};function Eu(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",Cu,[(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,yu)):(0,n.createCommentVNode)("",!0)}const Fu=["status","alert"],Su=6e3,Bu={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=>Fu.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>=Su}},emits:["close","click","update:show"],data(){return{isShown:!1,minDuration:Su}},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))}}},wu=(0,A.Z)(Bu,[["render",Eu]]),ku=wu,xu={class:"d-d-flex d-ai-center"},Iu=["for"],Ou=["id","aria-checked","disabled","aria-disabled"],_u=(0,n.createElementVNode)("span",{class:"d-toggle__inner"},null,-1),Au=[_u];function Lu(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("div",xu,[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,Iu)):(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),Au,16,Ou)])}const Tu={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)}}},Nu=(0,A.Z)(Tu,[["render",Lu]]),Pu=Nu,Vu={"data-qa":"dt-tooltip-container"};function Mu(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-lazy-show");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Vu,[(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 $u=[...us],Ru={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},ju=[!0,!1,"toggle"],zu={name:"Tooltip",components:{DtLazyShow:Fs},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 $u.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:Ru,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,popperOptions:cs({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(e){null!==e&&(this.isShown=e)},immediate:!0},isShown(e,t){e?(this.setProps(),this.tip.show()):this.tip.hide()}},mounted(){this.tip=ds(hs(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 hs(this.$refs.anchor).hasAttribute("data-focus-visible-added")},onEnterAnchor(e){"focusin"===e.type?null===this.show&&this.hasVisibleFocus()&&(this.isShown=!0):null===this.show&&(this.isShown=!0)},onLeaveAnchor(e){null===this.show&&(this.isShown=!1)},onChangePlacement(e){this.currentPlacement=e},onLeaveTransitionComplete(){var e;null===(e=this.tip)||void 0===e||e.unmount(),this.$emit("shown",!1),null!==this.show&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),null!==this.show&&this.$emit("update:show",!0)},setProps(){this.tip&&this.tip.setProps&&this.tip.setProps({...this.tippyProps,zIndex:this.calculateAnchorZindex()})},onMount(){this.setProps()},initOptions(){return{contentElement:this.$refs.content.$el,allowHTML:!0,zIndex:this.calculateAnchorZindex(),onMount:this.onMount,...this.tippyProps}}}};o(730);const Ku=(0,A.Z)(zu,[["render",Mu]]),Hu=Ku,qu={key:0,class:"sr-only"},Wu=["innerHTML"];function Zu(e,t,o,i,a,s){return(0,n.openBlock)(),(0,n.createElementBlock)("kbd",{class:(0,n.normalizeClass)(["d-d-inline-flex","d-ff-custom","d-ai-center","d-jc-center","d-box-border","d-px4","d-ba","d-bar4","d-fs12",o.inverted?"d-bc-black-400":"d-bc-black-100"])},[o.screenReaderText?((0,n.openBlock)(),(0,n.createElementBlock)("span",qu,(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,Wu))],64)))),256))],2)}const Uu={"aria-hidden":"true","aria-label":"Windows",class:"d-svg d-svg--system d-svg__windows",viewBox:"0 0 24 24"},Gu=(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),Yu=[Gu];function Qu(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Uu,Yu)}const Xu={},Ju=(0,A.Z)(Xu,[["render",Qu]]),ed=Ju,td={"aria-hidden":"true","aria-label":"Add",class:"d-svg d-svg--system d-svg__add",viewBox:"0 0 24 24"},nd=(0,n.createElementVNode)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"},null,-1),od=[nd];function id(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",td,od)}const ad={},sd=(0,A.Z)(ad,[["render",id]]),rd=sd,ld={"aria-hidden":"true","aria-label":"Arrow Downward",class:"d-svg d-svg--system d-svg__arrowDownward",viewBox:"0 0 24 24"},ud=(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),dd=[ud];function cd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",ld,dd)}const pd={},hd=(0,A.Z)(pd,[["render",cd]]),Dd=hd,md={"aria-hidden":"true","aria-label":"Arrow Upward",class:"d-svg d-svg--system d-svg__arrowUpward",viewBox:"0 0 24 24"},fd=(0,n.createElementVNode)("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"},null,-1),gd=[fd];function vd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",md,gd)}const bd={},yd=(0,A.Z)(bd,[["render",vd]]),Cd=yd,Ed={"aria-hidden":"true","aria-label":"Arrow Forward",class:"d-svg d-svg--system d-svg__arrowForward",viewBox:"0 0 24 24"},Fd=(0,n.createElementVNode)("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"},null,-1),Sd=[Fd];function Bd(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Ed,Sd)}const wd={},kd=(0,A.Z)(wd,[["render",Bd]]),xd=kd,Id={"aria-hidden":"true","aria-label":"Arrow Backwards",class:"d-svg d-svg--system d-svg__arrowBackwards",viewBox:"0 0 24 24"},Od=(0,n.createElementVNode)("path",{d:"M12 20l1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8z"},null,-1),_d=[Od];function Ad(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",Id,_d)}const Ld={},Td=(0,A.Z)(Ld,[["render",Ad]]),Nd=Td,Pd={cmd:"⌘"},Vd={"{win}":"IconWindows","{arrow-right}":"IconArrowForward","{arrow-left}":"IconArrowBackward","{arrow-up}":"IconArrowUpward","{arrow-down}":"IconArrowDownward"},Md={"{plus}":"IconAdd"},$d=Object.keys(Pd).map((e=>"{".concat(e,"}"))).concat(Object.keys(Vd)),Rd={name:"DtKeyboardShortcut",components:{IconWindows:ed,IconArrowBackward:Nd,IconArrowDownward:Dd,IconArrowForward:xd,IconArrowUpward:Cd,IconAdd:rd},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Vd,separator:/\+/gi}},computed:{icons(){return{...Vd,...Md}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(Pd).reduce(((e,t)=>e.replace(new RegExp("{"+t+"}","gi"),Pd[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 jd=(0,A.Z)(Rd,[["render",Zu]]),zd=jd,Kd={class:"root-layout"};function Hd(e,t,o,i,a,s){const r=(0,n.resolveComponent)("dt-root-layout-body");return(0,n.openBlock)(),(0,n.createElementBlock)("div",Kd,[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 qd(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 Wd={LEFT:"left",RIGHT:"right"},Zd={name:"DtRootLayoutBody",props:{contentClass:{type:[String,Array,Object],default:void 0},sidebarClass:{type:[String,Array,Object],default:void 0},sidebarWidth:{type:String,default:void 0},sidebarPosition:{type:String,default:void 0},contentWrapWidthPercent:{type:String,default:void 0}},computed:{bodyClass(){return{"root-layout__body--invert":this.sidebarPosition===Wd.RIGHT}}}};o(683);const Ud=(0,A.Z)(Zd,[["render",qd]]),Gd=Ud,Yd={name:"DtRootLayout",components:{DtRootLayoutBody:Gd},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(Wd).includes(e)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}};o(257);const Qd=(0,A.Z)(Yd,[["render",Hd]]),Xd=Qd,Jd=["id"],ec=["onMouseleave","onFocusout"];function tc(e,t,o,i,a,s){const r=(0,n.resolveComponent)("combobox-loading-list"),l=(0,n.resolveComponent)("dt-popover"),u=(0,n.resolveComponent)("dt-combobox");return(0,n.openBlock)(),(0,n.createBlock)(u,(0,n.mergeProps)({ref:"combobox","show-list":a.isListShown,"on-beginning-of-list":o.onBeginningOfList,"on-end-of-list":o.onEndOfList,"list-aria-label":o.listAriaLabel,"list-rendered-outside":!0,"list-id":o.listId,"data-qa":"dt-combobox"},s.comboboxListeners),{input:(0,n.withCtx)((o=>{let{inputProps:i}=o;return[(0,n.createElementVNode)("div",{id:a.externalAnchor,ref:"input",onFocusin:t[0]||(t[0]=function(){return s.onFocusIn&&s.onFocusIn(...arguments)}),onFocusout:t[1]||(t[1]=function(){return s.onFocusOut&&s.onFocusOut(...arguments)}),onKeydown:[t[2]||(t[2]=(0,n.withKeys)((e=>s.openOnArrowKeyPress(e)),["up"])),t[3]||(t[3]=(0,n.withKeys)((e=>s.openOnArrowKeyPress(e)),["down"]))]},[(0,n.renderSlot)(e.$slots,"input",{inputProps:i,onInput:s.handleDisplayList})],40,Jd)]})),list:(0,n.withCtx)((i=>{let{opened:u,listProps:d,clearHighlightIndex:c}=i;return[(0,n.createVNode)(l,{ref:"popover",open:a.isListShown,"onUpdate:open":t[6]||(t[6]=e=>a.isListShown=e),"hide-on-click":!0,"max-height":o.maxHeight,"max-width":o.maxWidth,offset:o.popoverOffset,placement:"bottom-start",padding:"none",role:"listbox","external-anchor":a.externalAnchor,"content-width":o.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,onOpened:u},(0,n.createSlots)({content:(0,n.withCtx)((()=>[o.loading?((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:0},d,{class:[a.DROPDOWN_PADDING_CLASSES[o.padding],o.listClass]}),null,16,["class"])):((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,ref:"listWrapper",class:(0,n.normalizeClass)([a.DROPDOWN_PADDING_CLASSES[o.padding],o.listClass]),onMouseleave:c,onFocusout:e=>{s.onFocusOut}},[(0,n.renderSlot)(e.$slots,"list",{listProps:d})],42,ec))])),_:2},[e.$slots.header?{name:"headerContent",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{ref:"header",onFocusout:t[4]||(t[4]=function(){return s.onFocusOut&&s.onFocusOut(...arguments)})},[(0,n.renderSlot)(e.$slots,"header")],544)]))}:void 0,e.$slots.footer?{name:"footerContent",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",{ref:"footer",onFocusout:t[5]||(t[5]=function(){return s.onFocusOut&&s.onFocusOut(...arguments)})},[(0,n.renderSlot)(e.$slots,"footer")],544)]))}:void 0]),1032,["open","max-height","max-width","offset","external-anchor","content-width","onOpened"])]})),_:3},16,["show-list","on-beginning-of-list","on-end-of-list","list-aria-label","list-id"])}const nc={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:Zn,DtPopover:Os,ComboboxLoadingList:Hn},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(_s).some((t=>t===e))},contentWidth:{type:String,default:null,validator:e=>vs.includes(e)},openWithArrowKeys:{type:Boolean,default:!1},popoverOffset:{type:Array,default:()=>[0,4]},hasSuggestionList:{type:Boolean,default:!0},loading:{type:Boolean,default:!1}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:_s,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:E()}},computed:{comboboxListeners(){return{...this.$attrs,onSelect:this.onSelect,onEscape:this.onEscape,onHighlight:this.onHighlight}}},watch:{showList:{handler:function(e){null!==e&&(this.isListShown=e)},immediate:!0},isListShown(e){this.onOpened(e)}},methods:{async handleDisplayList(e){this.isListShown&&(await this.$nextTick(),this.$refs.combobox.setInitialHighlightIndex()),this.hasSuggestionList||(e?this.showComboboxList():this.closeComboboxList())},showComboboxList(){null==this.showList&&(this.isListShown=!0)},closeComboboxList(){null==this.showList&&(this.isListShown=!1)},onSelect(e){this.loading||(this.$emit("select",e),this.hasSuggestionList||this.closeComboboxList())},onEscape(){this.$emit("escape"),this.closeComboboxList()},onHighlight(e){this.loading||this.$emit("highlight",e)},onOpened(e){this.$emit("opened",e)},onFocusIn(e){this.hasSuggestionList&&e&&this.$refs.input.querySelector("input")===e.target&&this.showComboboxList()},onFocusOut(e){const t=["input","header","footer","listWrapper"],n=t.some((t=>{var n;return null===(n=this.$refs[t])||void 0===n?void 0:n.contains(e.relatedTarget)}));n||this.closeComboboxList()},openOnArrowKeyPress(e){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},oc=(0,A.Z)(nc,[["render",tc]]),ic=oc,ac={ref:"inputSlotWrapper",class:"d-ps-relative"},sc={ref:"chipsWrapper",class:"d-ps-absolute d-mx2"},rc={ref:"header"},lc={ref:"list"},uc={key:1,class:"d-ta-center d-py16"},dc={ref:"footer"};function cc(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",ac,[(0,n.createElementVNode)("span",sc,[((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",lc,[o.loading?((0,n.openBlock)(),(0,n.createElementBlock)("div",uc,(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",rc,[(0,n.renderSlot)(e.$slots,"header")],512)]))}:void 0,e.$slots.footer?{name:"footer",fn:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",dc,[(0,n.renderSlot)(e.$slots,"footer")],512)]))}:void 0]),1032,["show-list","max-height","popover-offset","has-suggestion-list","onSelect"])}const pc={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},hc={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:ic,DtInput:Ir,DtChip:au,DtValidationMessages:Er},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=>br(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(pc).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)},keyup:e=>{this.onInputKeyup(e),this.$emit("keyup",e)}}}},watch:{selectedItems:{deep:!0,immediate:!0,handler:async function(){await this.$nextTick(),this.setInputPadding(),this.setInputMinWidth(),this.checkMaxSelected()}},async label(){await this.$nextTick(),this.setChipsTopPosition()},async description(){await this.$nextTick(),this.setChipsTopPosition()}},mounted(){this.setChipsTopPosition(),this.resizeWindowObserver=new ResizeObserver((()=>{this.setChipsTopPosition(),this.setInputPadding()})).observe(document.body)},beforeUnmount(){var e;null===(e=this.resizeWindowObserver)||void 0===e||e.unobserve(document.body)},methods:{onChipRemove(e){this.$emit("remove",e),this.$refs.input.focus()},onComboboxSelect(e){this.value="",this.$emit("select",e)},getChipButtons(){return this.$refs.chips&&this.$refs.chips.map((e=>e.$el.querySelector("button")))},getChips(){return this.$refs.chips&&this.$refs.chips.map((e=>e.$el))},getLastChipButton(){return this.$refs.chips&&this.getChipButtons()[this.getChipButtons().length-1]},getLastChip(){return this.$refs.chips&&this.getChips()[this.getChips().length-1]},getFirstChip(){return this.$refs.chips&&this.getChips()[0]},getInput(){var e;return null===(e=this.$refs.input)||void 0===e?void 0:e.$refs.input},onChipKeyup(e){var t;const n=null===(t=e.code)||void 0===t?void 0:t.toLowerCase();"arrowleft"===n?this.navigateBetweenChips(e.target,!0):"arrowright"===n&&(e.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(e.target,!1))},onInputKeyup(e){var t;const n=null===(t=e.code)||void 0===t?void 0:t.toLowerCase();this.selectedItems.length>0&&0===e.target.selectionStart&&("backspace"!==n&&"arrowleft"!==n||this.moveFromInputToChip())},moveFromInputToChip(){this.getLastChipButton().focus(),this.$refs.input.blur(),this.$refs.comboboxWithPopover.closeComboboxList()},moveFromChipToInput(){this.getLastChipButton().blur(),this.$refs.input.focus(),this.$refs.comboboxWithPopover.showComboboxList()},navigateBetweenChips(e,t){const n=this.getChipButtons().indexOf(e),o=t?n-1:n+1;o<0||o>=this.$refs.chips.length||(this.getChipButtons()[n].blur(),this.getChipButtons()[o].focus(),this.$refs.comboboxWithPopover.closeComboboxList())},setChipsTopPosition(){if(!this.$refs.input)return;const e=this.getInput();if(!e)return;const t=this.$refs.inputSlotWrapper,n=e.getBoundingClientRect().top-t.getBoundingClientRect().top,o=this.$refs.chipsWrapper;o.style.top=n+"px"},setInputPadding(){const e=this.getLastChip(),t=this.getInput();if(!t)return;if(!e)return void this.revertInputPadding(t);const n=e.offsetLeft+this.getFullWidth(e);t.style.paddingLeft=n+"px";const o=e.offsetTop+3;t.style.paddingTop=o+"px",this.popoverOffset=[0,0]},getFullWidth(e){const t=window.getComputedStyle(e);return e.offsetWidth+parseInt(t.marginLeft)+parseInt(t.marginRight)},revertInputPadding(e){e.style.paddingLeft="",e.style.paddingTop="",e.style.paddingBottom=""},setInputMinWidth(){const e=this.getFirstChip(),t=this.getInput();t&&(t.style.minWidth=e?this.getFullWidth(e)+4+"px":"")},checkMaxSelected(){0!==this.maxSelected&&(this.selectedItems.length>=this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}},Dc=(0,A.Z)(hc,[["render",cc]]),mc=Dc,fc={class:"d-ps-relative","data-qa":"contact-info-left"},gc=["src","alt"],vc={"data-qa":"contact-info-header"},bc={"data-qa":"contact-info-subtitle"},yc={"data-qa":"contact-info-bottom"},Cc={"data-qa":"contact-info-right"};function Ec(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",fc,[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,gc)])),_: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",vc,[(0,n.renderSlot)(e.$slots,"header")])])),subtitle:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",bc,[(0,n.renderSlot)(e.$slots,"subtitle")])])),bottom:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",yc,[(0,n.renderSlot)(e.$slots,"bottom")])])),right:(0,n.withCtx)((()=>[(0,n.createElementVNode)("div",Cc,[(0,n.renderSlot)(e.$slots,"right")])])),_:3},8,["id","role"])}const Fc={none:"",green:"d-bgc-green-400",yellow:"d-bgc-yellow-400",red:"d-bgc-red-400"},Sc={name:"DtRecipeContactInfo",components:{DtAvatar:T,DtListItem:pn},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(Fc).includes(e)}},data(){return{USER_STATUS_COLOR_MODIFIERS:Fc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},Bc=(0,A.Z)(Sc,[["render",Ec]]),wc=Bc,kc={class:"d-top-banner-info__left"},xc={class:"d-top-banner-info__middle d-my4"},Ic={class:"d-top-banner-info__right d-ta-right"};function Oc(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",kc,[(0,n.renderSlot)(e.$slots,"left")]),(0,n.createElementVNode)("div",xc,[(0,n.renderSlot)(e.$slots,"default")]),(0,n.createElementVNode)("div",Ic,[(0,n.renderSlot)(e.$slots,"right")])],2)}const _c=["green400","green200","red200","red100","yellow200","yellow400","yellow050","black100","white"],Ac={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green400",validator:function(e){return _c.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 Lc=(0,A.Z)(Ac,[["render",Oc]]),Tc=Lc})(),i})()));
|
|
2
2
|
//# sourceMappingURL=dialtone-vue.umd.min.js.map
|