@dialpad/dialtone-vue 2.37.2 → 2.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["dialtone-vue"]=e():t["dialtone-vue"]=e()})("undefined"!==typeof self?self:this,(()=>(()=>{var t={720:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".d-context-menu-list{width:24rem}",""]);const l=r},719:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-list-separator{height:1px;list-style:none}",""]);const l=r},321:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-default-list-item,.dt-default-list-item--left,.dt-default-list-item--right{min-height:28px}",""]);const l=r},814:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-list-item:not(.dt-list-item--static){cursor:pointer}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:hsla(var(--black-500-h),var(--black-500-s),var(--black-500-l),.15)}.dt-list-item:focus-visible{border-radius:var(--br4);outline:none;box-shadow:inset 0 0 0 var(--su2) var(--focus-ring)}",""]);const l=r},744:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,'.dt-list-section[tabindex="-1"]:focus{outline:none}',""]);const l=r},410:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.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},575:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".root-layout__header--sticky{position:sticky;top:0}",""]);const l=r},434:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.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},914:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}50%{fill:var(--placeholder-to-color,var(--black-100));background:var(--placeholder-to-color,var(--black-100))}90%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}}",""]);const l=r},514:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[data-popper-reference-hidden] .d-tooltip{visibility:hidden;pointer-events:none}",""]);const l=r},909:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){letter-spacing:-.011rem;line-height:1.6rem}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--active{--button--fc:var(--muted-color-hover);--button--bgc:hsla(var(--muted-color-hsl)/15%)}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active{--button--bgc:hsla(var(--error-color-hsl)/10%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active:hover{--button--bgc:hsla(var(--error-color-hsl)/20%);--button--fc:var(--error-color-hover)}",""]);const l=r},435:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-recipe--callbar-button-with-popover--button{position:relative;display:inline-block}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{position:absolute;top:2rem;right:0;width:var(--su16);height:var(--su16);padding:var(--su8);border-radius:var(--su4)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--black-025)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--black-900);color:var(--white)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header button{color:var(--white)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc:var(--black-900)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}",""]);const l=r},539:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".ivr_node__width{width:280px}",""]);const l=r},326:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.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},566:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".enter-active,.leave-active{overflow:hidden;transition:height .3s linear}",""]);const l=r},400:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i="undefined"!==typeof e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,a,s){"string"===typeof t&&(t=[[null,t,void 0]]);var o={};if(i)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(o[l]=!0)}for(var d=0;d<t.length;d++){var u=[].concat(t[d]);i&&o[u[0]]||("undefined"!==typeof s&&("undefined"===typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),e.push(u))}},e}},481:t=>{"use strict";t.exports=function(t){return t[1]}},427:(t,e,n)=>{var i=n(720);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("2767d7d2",i,!0,{sourceMap:!1,shadowMode:!1})},717:(t,e,n)=>{var i=n(719);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("321d92d7",i,!0,{sourceMap:!1,shadowMode:!1})},357:(t,e,n)=>{var i=n(321);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("43c617ae",i,!0,{sourceMap:!1,shadowMode:!1})},759:(t,e,n)=>{var i=n(814);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("6af7b624",i,!0,{sourceMap:!1,shadowMode:!1})},792:(t,e,n)=>{var i=n(744);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("7f7fada4",i,!0,{sourceMap:!1,shadowMode:!1})},155:(t,e,n)=>{var i=n(410);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("40d6a89f",i,!0,{sourceMap:!1,shadowMode:!1})},987:(t,e,n)=>{var i=n(575);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("2256c3e1",i,!0,{sourceMap:!1,shadowMode:!1})},263:(t,e,n)=>{var i=n(434);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("1d28b333",i,!0,{sourceMap:!1,shadowMode:!1})},859:(t,e,n)=>{var i=n(914);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("de95764a",i,!0,{sourceMap:!1,shadowMode:!1})},664:(t,e,n)=>{var i=n(514);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("9c5db186",i,!0,{sourceMap:!1,shadowMode:!1})},39:(t,e,n)=>{var i=n(909);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("0a0205b6",i,!0,{sourceMap:!1,shadowMode:!1})},724:(t,e,n)=>{var i=n(435);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("be005c80",i,!0,{sourceMap:!1,shadowMode:!1})},183:(t,e,n)=>{var i=n(539);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("33204bb2",i,!0,{sourceMap:!1,shadowMode:!1})},486:(t,e,n)=>{var i=n(326);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("1ecbd352",i,!0,{sourceMap:!1,shadowMode:!1})},124:(t,e,n)=>{var i=n(566);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("6b5bfe56",i,!0,{sourceMap:!1,shadowMode:!1})},402:(t,e,n)=>{"use strict";function i(t,e){for(var n=[],i={},a=0;a<e.length;a++){var s=e[a],o=s[0],r=s[1],l=s[2],d=s[3],u={id:t+":"+a,css:r,media:l,sourceMap:d};i[o]?i[o].parts.push(u):n.push(i[o]={id:o,parts:[u]})}return n}n.d(e,{Z:()=>f});var a="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},o=a&&(document.head||document.getElementsByTagName("head")[0]),r=null,l=0,d=!1,u=function(){},c=null,p="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,a){d=n,c=a||{};var o=i(t,e);return m(o),function(e){for(var n=[],a=0;a<o.length;a++){var r=o[a],l=s[r.id];l.refs--,n.push(l)}e?(o=i(t,e),m(o)):o=[];for(a=0;a<n.length;a++){l=n[a];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete s[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],i=s[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(v(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(a=0;a<n.parts.length;a++)o.push(v(n.parts[a]));s[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function v(t){var e,n,i=document.querySelector("style["+p+'~="'+t.id+'"]');if(i){if(d)return u;i.parentNode.removeChild(i)}if(h){var a=l++;i=r||(r=g()),e=y.bind(null,i,a,!1),n=y.bind(null,i,a,!0)}else i=g(),e=_.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,a);else{var s=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(s,o[e]):t.appendChild(s)}}function _(t,e){var n=e.css,i=e.media,a=e.sourceMap;if(i&&t.setAttribute("media",i),c.ssrId&&t.setAttribute(p,e.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}}},e={};function n(i){var a=e[i];if(void 0!==a)return a.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}(()=>{n.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return n.d(e,{a:e}),e}})(),(()=>{n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}})(),(()=>{n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{n.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{n.p=""})();var i={};return(()=>{"use strict";if(n.r(i),n.d(i,{AVATAR_COLOR_MODIFIERS:()=>u,AVATAR_KIND_MODIFIERS:()=>l,AVATAR_SIZE_MODIFIERS:()=>d,BADGE_COLOR_MODIFIERS:()=>H,BREADCRUMBS_INVERTED_MODIFIER:()=>re,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>oe,BUTTON_GROUP_ALIGNMENT:()=>Ie,CHIP_SIZE_MODIFIERS:()=>Ad,COLOR_CODES:()=>wc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>g,DESCRIPTION_SIZE_TYPES:()=>p,DtAvatar:()=>N,DtBadge:()=>z,DtBanner:()=>ie,DtBreadcrumbItem:()=>ye,DtBreadcrumbs:()=>Ce,DtButton:()=>Nt,DtButtonGroup:()=>De,DtCard:()=>Be,DtCheckableInputMixin:()=>qr,DtCheckbox:()=>xd,DtCheckboxGroup:()=>kd,DtChip:()=>Rd,DtCollapsible:()=>yi,DtCombobox:()=>ei,DtDropdown:()=>vr,DtDropdownList:()=>Cr,DtDropdownSeparator:()=>Lr,DtGroupableInputMixin:()=>Fr,DtIcon:()=>it,DtInput:()=>Gr,DtInputGroup:()=>el,DtInputGroupMixin:()=>Xr,DtInputMixin:()=>Hr,DtKeyboardListNavigationMixin:()=>He,DtKeyboardShortcut:()=>Du,DtLazyShow:()=>mi,DtLink:()=>me,DtListItem:()=>an,DtListItemGroup:()=>Sl,DtListSection:()=>ml,DtModal:()=>dl,DtNotice:()=>El,DtPagination:()=>Pl,DtPopover:()=>pr,DtRadio:()=>jl,DtRadioGroup:()=>Wl,DtRecipeCallbarButton:()=>lc,DtRecipeCallbarButtonWithPopover:()=>fc,DtRecipeComboboxMultiSelect:()=>nc,DtRecipeComboboxWithPopover:()=>Zu,DtRecipeContactInfo:()=>Sc,DtRecipeGroupedChip:()=>Qc,DtRecipeIvrNode:()=>Wc,DtRecipeTopBannerInfo:()=>kc,DtRootLayout:()=>Fu,DtSelectMenu:()=>Zd,DtSkeleton:()=>Hn,DtSkeletonListItem:()=>Rn,DtSkeletonParagraph:()=>Pn,DtSkeletonShape:()=>bn,DtSkeletonText:()=>kn,DtTab:()=>dd,DtTabGroup:()=>id,DtTabPanel:()=>md,DtToast:()=>iu,DtToggle:()=>cu,DtTooltip:()=>Su,DtValidationMessages:()=>jr,INPUT_SIZES:()=>Pr,INPUT_TYPES:()=>Tr,IVR_NODE_BRANCH:()=>Bc,IVR_NODE_EXPERT:()=>$c,IVR_NODE_GO_TO:()=>Mc,IVR_NODE_HANGUP:()=>Nc,IVR_NODE_ICON_TYPES:()=>Vc,IVR_NODE_LABELS:()=>jc,IVR_NODE_PROMPT_COLLECT:()=>Tc,IVR_NODE_PROMPT_MENU:()=>Ac,IVR_NODE_PROMPT_PLAY:()=>Pc,IVR_NODE_TRANSFER:()=>Rc,LINK_KIND_MODIFIERS:()=>$t,LINK_VARIANTS:()=>Pt,MODAL_KIND_MODIFIERS:()=>al,MODAL_SIZE_MODIFIERS:()=>sl,MULTI_SELECT_SIZES:()=>Qu,NOTICE_KINDS:()=>at,POPOVER_CONTENT_WIDTHS:()=>zo,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>Fo,POPOVER_INITIAL_FOCUS_STRINGS:()=>Wo,POPOVER_PADDING_CLASSES:()=>qo,POPOVER_ROLES:()=>Ko,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>Mu,SELECT_SIZE_MODIFIERS:()=>jd,SELECT_STATE_MODIFIERS:()=>Hd,SHORTCUTS_ALIASES_LIST:()=>Iu,SHORTCUTS_ICON_ALIASES:()=>wu,SHORTCUTS_ICON_SEPARATOR:()=>Ou,SKELETON_HEADING_HEIGHTS:()=>hn,SKELETON_RIPPLE_DURATION:()=>dn,SKELETON_SHAPES:()=>un,SKELETON_SHAPE_SIZES:()=>pn,SKELETON_TEXT_TYPES:()=>cn,TAB_IMPORTANCE_MODIFIERS:()=>Jl,TAB_LIST_IMPORTANCE_MODIFIERS:()=>Ql,TAB_LIST_KIND_MODIFIERS:()=>Xl,TAB_LIST_SIZES:()=>Zl,TOAST_ROLES:()=>Qd,TOOLTIP_DIRECTIONS:()=>fu,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>vu,TOOLTIP_KIND_MODIFIERS:()=>mu,TOOLTIP_STICKY_VALUES:()=>gu,USER_STATUS_COLOR_MODIFIERS:()=>vc,VALIDATION_MESSAGE_TYPES:()=>c,filterFormattedMessages:()=>I,formatMessages:()=>O,getUniqueString:()=>w,getValidationState:()=>E,validationMessageValidator:()=>Br}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(n.p=e[1])}var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-avatar",t.AVATAR_KIND_MODIFIERS[t.kind],t.AVATAR_SIZE_MODIFIERS[t.size],t.AVATAR_COLOR_MODIFIERS[t.color],t.avatarClass],attrs:{id:t.id,"data-qa":"dt-avatar"}},[t._t("default")],2)},s=[];const o=require("vue");var r=n.n(o);const l={default:"",icon:"d-avatar--icon",initials:"d-avatar--initials"},d={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","magenta-100":"d-avatar--magenta-100","magenta-200":"d-avatar--magenta-200","magenta-300":"d-avatar--magenta-300","magenta-400":"d-avatar--magenta-400","purple-200":"d-avatar--purple-200","purple-300":"d-avatar--purple-300","purple-400":"d-avatar--purple-400","purple-500":"d-avatar--purple-500","gold-100":"d-avatar--gold-100","gold-200":"d-avatar--gold-200","gold-300":"d-avatar--gold-300","gold-500":"d-avatar--gold-500"},c={ERROR:"error",WARNING:"warning",SUCCESS:"success"},p={LARGE:"lg",EXTRA_LARGE:"xl"},h={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},f={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},m={esc:"Esc",escape:"Escape",tab:"Tab",enter:"Enter",space:"Space",spacebar:"Spacebar",up:"Up",arrowup:"ArrowUp",left:"Left",arrowleft:"ArrowLeft",right:"Right",arrowright:"ArrowRight",down:"Down",arrowdown:"ArrowDown",home:"Home",end:"End"},g=c.ERROR,v="dt";let b=0;const y="input:not([type=hidden]):not(:disabled)",_="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",S=`${y},${_}`,x=`a,frame,iframe,${S},*[tabindex]`,C="function"===typeof setImmediate?setImmediate:setTimeout;function w(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;return`${t}${b++}`}function O(t){return t?t.map((t=>"string"===typeof t?{message:t,type:g}:t)):[]}function I(t){const e=E(t);return t&&e?t.filter((t=>!!t.message&&t.type===e)):[]}function E(t){return t?k(t,c.ERROR)?c.ERROR:k(t,c.WARNING)?c.WARNING:k(t,c.SUCCESS)?c.SUCCESS:null:null}function k(t,e){return!(!t||!e)&&t.some((t=>(null===t||void 0===t?void 0:t.type)===e))}function L(t){return null===t||void 0===t?void 0:t.querySelector(x)}const D={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new(r())({name:"Inner",beforeCreate(){this.$createElement=t},template:`<div>${e.props.html}</div>`}).$mount()._vnode.children}},A=()=>new Promise((t=>{C(t)})),T=t=>t.toLowerCase().split("-").map((t=>t.charAt(0).toUpperCase()+t.slice(1))).join(""),P={getUniqueString:w,formatMessages:O,filterFormattedMessages:I,hasFormattedMessageOfType:k,getValidationState:E,htmlFragment:D,flushPromises:A,kebabCaseToPascalCase:T},$={name:"DtAvatar",inheritAttrs:!1,props:{id:{type:String,default(){return w()}},size:{type:String,default:"md",validator:t=>Object.keys(d).includes(t)},color:{type:String,default:"base",validator:t=>Object.keys(u).includes(t)},avatarClass:{type:[String,Array,Object],default:""}},data(){return{kind:"initials",AVATAR_SIZE_MODIFIERS:d,AVATAR_COLOR_MODIFIERS:u,AVATAR_KIND_MODIFIERS:l}},mounted(){this.init()},updated(){this.init()},methods:{init(){const t=this.$el.firstChild;t&&(this.setKind(t),this.validateImageAttrsPresence())},setKind(t){this.isSvgType(t)?this.kind="icon":this.isImageType(t)?this.kind="image":this.kind="initials"},isSvgType(t){var e;return"SVG"===(null===t||void 0===t||null===(e=t.tagName)||void 0===e?void 0:e.toUpperCase())},isImageType(t){var e;return"IMG"===(null===t||void 0===t||null===(e=t.tagName)||void 0===e?void 0:e.toUpperCase())},validateImageAttrsPresence(){"image"===this.kind&&(this.$el.firstChild.getAttribute("src")&&this.$el.firstChild.getAttribute("alt")||r().util.warn("src and alt attributes are required for image avatars",this))}}},M=$;function B(t,e,n,i,a,s,o,r){var l,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):a&&(l=r?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var u=d.render;d.render=function(t,e){return l.call(e),u(t,e)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:d}}var R=B(M,a,s,!1,null,null,null);const N=R.exports;var V=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:["d-badge",t.BADGE_COLOR_MODIFIERS[t.color]],attrs:{"data-qa":"dt-badge"}},[t._t("default",(function(){return[t._v(" "+t._s(t.text)+" ")]}))],2)},j=[];const H={base:"","black-700":"d-badge--black-700","green-400":"d-badge--green-400","orange-400":"d-badge--orange-400","magenta-100":"d-badge--magenta-100","magenta-300":"d-badge--magenta-300","magenta-400":"d-badge--magenta-400","magenta-500":"d-badge--magenta-500","purple-100":"d-badge--purple-100","purple-300":"d-badge--purple-300","purple-400":"d-badge--purple-400","purple-500":"d-badge--purple-500","red-300":"d-badge--red-300",white:"d-badge--white","gold-200":"d-badge--gold-200"},q={name:"DtBadge",props:{text:{type:String,default:""},color:{type:String,default:"base",validator:t=>Object.keys(H).includes(t)}},data(){return{BADGE_COLOR_MODIFIERS:H}}},F=q;var K=B(F,V,j,!1,null,null,null);const z=K.exports;var W=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.bannerClass,style:t.bannerBackgroundImage,attrs:{role:t.role},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:t.trapFocus.apply(null,arguments)}}},[n("div",{staticClass:"d-banner__dialog",class:t.dialogClass,attrs:{"aria-labelledby":t.titleId,"aria-describedby":t.contentId}},[t.hideIcon?t._e():n("dt-notice-icon",t._g({attrs:{kind:t.kind}},t.$listeners),[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.$listeners),[t._t("action")],2)],1)])},U=[],G=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.defaultIcon||t.$slots.default?n("div",{staticClass:"d-notice__icon",attrs:{"aria-hidden":"true"}},[t._t("default",(function(){return[n("dt-icon",{attrs:{name:t.defaultIcon,size:"400"}})]}))],2):t._e()},Z=[],Y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.currentIcon,{tag:"component",class:t.iconSize,attrs:{"data-qa":"dt-icon"}})},X=[];const Q={100:"d-icon--size-100",200:"d-icon--size-200",300:"d-icon--size-300",400:"d-icon--size-400",500:"d-icon--size-500",600:"d-icon--size-600",700:"d-icon--size-700",800:"d-icon--size-800"},J=require("@dialpad/dialtone-icons"),tt={name:"DtIcon",props:{size:{type:String,default:"500",validator:t=>Object.keys(Q).includes(t)},name:{type:String,required:!0}},data(){return{dialtoneIcons:J}},computed:{iconSize(){return Q[this.size]},iconName(){return T(this.name)},currentIcon(){return this.dialtoneIcons[this.iconName]}}},et=tt;var nt=B(et,Y,X,!1,null,null,null);const it=nt.exports,at=["base","error","info","success","warning"],st=["alert","alertdialog","status"],ot=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),rt={name:"DtNoticeIcon",components:{DtIcon:it},props:{kind:{type:String,default:"base",validate(t){return at.includes(t)}}},computed:{defaultIcon(){return ot.get(this.kind)}}},lt=rt;var dt=B(lt,G,Z,!1,null,null,null);const ut=dt.exports;var ct=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-notice__content",attrs:{"data-qa":"notice-content"}},[t.title||t.$slots.titleOverride?n("p",{staticClass:"d-notice__title",attrs:{id:t.titleId,"data-qa":"notice-content-title"}},[t._t("titleOverride",(function(){return[t._v(" "+t._s(t.title)+" ")]}))],2):t._e(),n("p",{staticClass:"d-notice__message",attrs:{id:t.contentId,"data-qa":"notice-content-message"}},[t._t("default")],2)])},pt=[];const ht={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},ft=ht;var mt=B(ft,ct,pt,!1,null,null,null);const gt=mt.exports;var vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-notice__actions",attrs:{"data-qa":"notice-content-actions"}},[t._t("default"),t.hideClose?t._e():n("dt-button",t._g(t._b({ref:"closeButton",attrs:{"data-qa":"dt-notice-action-close-button",size:"sm",importance:"clear",circle:"","aria-label":t.closeButtonProps.ariaLabel?t.closeButtonProps.ariaLabel:"Close"},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"200"}})]},proxy:!0}],null,!1,1154370889)},"dt-button",t.closeButtonProps,!1),t.noticeActionListeners)),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.close}}):t._e()],2)},bt=[],yt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",t._g({class:["base-button__button",t.buttonClasses()],style:{width:t.width},attrs:{"data-qa":"dt-button",type:t.type,disabled:t.disabled,"aria-live":t.computedAriaLive,"aria-label":t.loading?"loading":t.$attrs["aria-label"]}},t.buttonListeners),[t.shouldRenderIcon()?n("span",{class:["base-button__icon","d-btn__icon",t.ICON_POSITION_MODIFIERS[t.iconPosition]],attrs:{"data-qa":"dt-button-icon"}},[t._t("icon")],2):t._e(),t.$slots.default?n("span",{class:["d-w100p","d-btn__label","base-button__label",t.labelClass],attrs:{"data-qa":"dt-button-label"}},[t._t("default")],2):t._e()])},_t=[];const St={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},xt={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Ct={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},wt=["submit","reset","button"],Ot={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},It=[{circle:!0,kind:"default",importance:"primary",message:Et(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Et(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Et(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Et(!1,"muted","primary")}];function Et(t,e,n){return`You cannot have a ${t?"circle ":""}button with kind: ${e} and importance: ${n} as it does not exist in our design system. See https://dialpad.design/components/button.html for a list of available button styles`}const kt="danger",Lt="warning",Dt="success",At="muted",Tt="inverted",Pt=["",kt,Lt,Dt,At,Tt],$t={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},Mt={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(Ot).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(Ct).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys($t).includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>wt.includes(t)},width:{type:String,default:null},size:{type:String,default:"md",validator:t=>Object.keys(St).includes(t)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:t=>Object.keys(xt).includes(t)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:Ot,isInFocus:!1}},computed:{buttonListeners(){return this.assertiveOnFocus?{...this.$listeners,focusin:t=>{this.isInFocus=!0},focusout:t=>{this.isInFocus=!1}}:this.$listeners},computedAriaLive(){return this.assertiveOnFocus&&this.isInFocus?"assertive":this.$attrs.ariaLive}},watch:{$props:{deep:!0,immediate:!0,handler(){}}},methods:{buttonClasses(){return this.link?["d-link",$t[this.linkKind],St[this.size]]:["d-btn",Ct[this.importance],xt[this.kind],St[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(t,e,n){for(const i of It)if(t===i.circle&&e===i.kind&&n===i.importance)return console.error(i.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)}}},Bt=Mt;var Rt=B(Bt,yt,_t,!1,null,null,null);const Nt=Rt.exports,Vt={props:{visuallyHiddenClose:{type:Boolean,default:!1},visuallyHiddenCloseLabel:{type:String,default:null}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateVisuallyHiddenCloseProps()}}},computed:{showVisuallyHiddenClose(){return this.visuallyHiddenClose&&null!=this.visuallyHiddenCloseLabel}},methods:{validateVisuallyHiddenCloseProps(){this.visuallyHiddenClose&&!this.visuallyHiddenCloseLabel&&console.error("If visuallyHiddenClose prop is true, the component includes\n a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.")}}};var jt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-button",{staticClass:"d-vi-visible-sr",attrs:{id:"sr-only-close-button","data-qa":"dt-sr-only-close-button","aria-label":t.visuallyHiddenCloseLabel},on:{click:t.close,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),e.stopPropagation(),t.close.apply(null,arguments))}}},[n("dt-icon",{attrs:{name:"close"}})],1)},Ht=[];const qt={name:"SrOnlyCloseButton",components:{DtIcon:it,DtButton:Nt},props:{visuallyHiddenCloseLabel:{type:String,default:null}},methods:{close(){this.$emit("close")}}},Ft=qt;var Kt=B(Ft,jt,Ht,!1,null,null,null);const zt=Kt.exports,Wt={name:"DtNoticeAction",components:{DtIcon:it,DtButton:Nt,SrOnlyCloseButton:zt},mixins:[Vt],props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeActionListeners(){return{...this.$listeners,click:t=>{this.close(),this.$emit("click",t)}}}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},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)},beforeDestroy(){var t;null===(t=this.lastFocusedElement)||void 0===t||t.focus()},methods:{close(){this.$emit("close")},validateProps(){this.hideClose&&!this.visuallyHiddenClose&&console.error("If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props need to be set so the component always includes a close button")}}},Ut=Wt;var Gt=B(Ut,vt,bt,!1,null,null,null);const Zt=Gt.exports,Yt=':not(:disabled):not([aria-disabled="true"])',Xt=`${Yt}:not([tabindex="-1"])`,Qt="button,[href],input,select,textarea,details,[tabindex]",Jt={methods:{async focusFirstElement(t){await this.$nextTick();const e=this._getFocusableElements(t,!0),n=this._getFirstFocusElement(e);null===n||void 0===n||n.focus({preventScroll:!0})},_getFirstFocusElement(t){if(!t.length)return;let e=t[0];return e.matches('[type="radio"]:not(:checked)')&&(e=t.find((t=>t.checked&&t.name===e.name))||e),e},_getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=[...t.querySelectorAll(Qt)];return n.filter((t=>{const n=window.getComputedStyle(t);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&t.matches(e?Yt:Xt)}))},focusTrappedTabPress(t,e){const n="Tab"===t.key;if(!n)return;const i=this._getFocusableElements(e);if(!i.length)return void t.preventDefault();const a=this._getFirstFocusElement(i),s=i[i.length-1];t.shiftKey?document.activeElement===a&&(s.focus(),t.preventDefault()):document.activeElement===s&&(a.focus(),t.preventDefault())}}},te={name:"DtBanner",components:{DtNoticeIcon:ut,DtNoticeContent:gt,DtNoticeAction:Zt},mixins:[Jt,Vt],props:{titleId:{type:String,default(){return P.getUniqueString()}},contentId:{type:String,default(){return P.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return at.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1},hideIcon:{type:Boolean,default:!1},dialogClass:{type:String,default:""},backgroundImage:{type:String,default:""},backgroundSize:{type:String,default:"cover"}},emits:["close"],computed:{role(){return this.important?"alertdialog":"status"},bannerClass(){const t={error:"d-banner--error",info:"d-banner--info",success:"d-banner--success",warning:"d-banner--warning",base:"d-banner--base"};return["d-banner",t[this.kind],{"d-banner--important":this.important,"d-banner--pinned":this.pinned}]},bannerBackgroundImage(){return""===this.backgroundImage?null:`background-image: url(${this.backgroundImage});\n background-size: ${this.backgroundSize};`}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(t){this.important&&this.focusTrappedTabPress(t)}}},ee=te;var ne=B(ee,W,U,!1,null,null,null);const ie=ne.exports;var ae=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("nav",{class:["d-breadcrumbs",(t={},t[e.BREADCRUMBS_INVERTED_MODIFIER]=e.inverted,t)],attrs:{"aria-label":e.ariaLabel,"data-qa":"dt-breadcrumbs"}},[i("ol",[e._t("default",(function(){return e._l(e.breadcrumbs,(function(t,n){return i("dt-breadcrumb-item",e._g(e._b({key:e.getBreadcrumbItemKey(n),attrs:{inverted:e.inverted}},"dt-breadcrumb-item",t,!1),e.$listeners))}))}))],2)])},se=[];const oe="d-breadcrumbs__item--selected",re="d-breadcrumbs--inverted";var le=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("li",{class:["d-breadcrumbs__item",(t={},t[e.BREADCRUMB_ITEM_SELECTED_MODIFIER]=e.selected,t)],attrs:{"data-qa":"dt-breadcrumb-item"}},[i("dt-link",e._b({attrs:{kind:e.linkKind,"aria-current":e.ariaCurrent,"data-qa":"breadcrumb-item"}},"dt-link",e.$attrs,!1),[e._t("default",(function(){return[e._v(" "+e._s(e.label)+" ")]}))],2)],1)},de=[],ue=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",t._g({class:["d-link",t.LINK_KIND_MODIFIERS[t.kind]],attrs:{"data-qa":"dt-link"}},t.$listeners),[t._t("default")],2)},ce=[];const pe={name:"DtLink",props:{kind:{type:String,default:"",validator(t){return Pt.includes(t)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:$t}}},he=pe;var fe=B(he,ue,ce,!1,null,null,null);const me=fe.exports,ge={name:"DtBreadcrumbItem",components:{DtLink:me},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:oe}},computed:{linkKind(){return this.inverted?Tt:At},ariaCurrent(){return this.selected?"location":void 0}}},ve=ge;var be=B(ve,le,de,!1,null,null,null);const ye=be.exports,_e={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:ye},props:{breadcrumbs:{type:Array,default:()=>[],validate(t){return t.every((t=>{let{href:e,label:n}=t;return void 0!==e&&void 0!==n}))}},inverted:{type:Boolean,default:!1},ariaLabel:{type:String,default:"breadcrumb"}},data(){return{BREADCRUMBS_INVERTED_MODIFIER:re}},methods:{getBreadcrumbItemKey(t){return`breadcrumbs-item-${t}-${P.getUniqueString()}`}}},Se=_e;var xe=B(Se,ae,se,!1,null,null,null);const Ce=xe.exports;var we=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-btn-group",t.BUTTON_GROUP_ALIGNMENT[t.alignment]],attrs:{role:"group"}},[t._t("default")],2)},Oe=[];const Ie={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},Ee={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:t=>Object.keys(Ie).includes(t)}},data(){return{BUTTON_GROUP_ALIGNMENT:Ie}}},ke=Ee;var Le=B(ke,we,Oe,!1,null,null,null);const De=Le.exports;var Ae=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-card",t.containerClass],attrs:{"data-qa":"dt-card"}},[t.$slots.header?n("div",{class:["d-card__header",t.headerClass]},[t._t("header")],2):t._e(),n("div",{class:["d-card__content",t.contentClass],style:{"max-height":t.maxHeight}},[t._t("content")],2),t.$slots.footer?n("div",{class:["d-card__footer",t.footerClass]},[t._t("footer")],2):t._e()])},Te=[];const Pe={name:"DtCard",props:{maxHeight:{type:String,default:null},containerClass:{type:[String,Array,Object],default:""},contentClass:{type:[String,Array,Object],default:""},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""}}},$e=Pe;var Me=B($e,Ae,Te,!1,null,null,null);const Be=Me.exports;var Re=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:(e.stopPropagation(),t.onKeyValidation(e,"onEscapeKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.onKeyValidation(e,"onEnterKey")},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onUpKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onDownKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"home",void 0,e.key,void 0)?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onHomeKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"end",void 0,e.key,void 0)?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onEndKey"))}]}},[n("div",{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[t._t("input",null,{inputProps:t.inputProps})],2),t.showList?n("div",{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{mouseleave:t.clearHighlightIndex,focusout:t.clearHighlightIndex,"!mousemove":function(e){return t.onMouseHighlight.apply(null,arguments)}}},[t.loading&&!t.listRenderedOutside?n("combobox-loading-list",t._b({},"combobox-loading-list",t.listProps,!1)):t.emptyList&&t.emptyStateMessage&&!t.listRenderedOutside?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage}},"combobox-empty-list",t.listProps,!1)):t._t("list",null,{listProps:t.listProps,opened:t.onOpen,clearHighlightIndex:t.clearHighlightIndex})],2):t._e()])},Ne=[];const Ve={methods:{scrollElementIntoViewIfNeeded(t,e,n,i){t.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(t,e,n,i):this.scrollIntoView(t,"bottom",!1,n,i)},scrollElementIntoView(t,e,n,i){"center"!==e?!1===e?this.scrollIntoView(t,"bottom",!1,n,i):this.scrollIntoView(t,"top",!1,n,i):this.scrollIntoView(t,"center",!1,n,i)},scrollIntoViewIfNeeded(t,e,n,i){const a=e?"center":void 0;this.scrollIntoView(t,a,!0,n,i)},scrollIntoView(t,e,n,i,a){if(!t||!t.parentElement)return;const s=t.offsetTop,o=a||t.parentElement,r=this._getScrollBounds(o),l=r.bottom-r.top,d=this._getElementHeight(t),u=s+d;let c=-1;switch(e){case"top":c=s;break;case"center":c=s+(d-l)/2;break;case"bottom":c=c=u-l;break;default:c=s-r.top<=l/2?s:u-l;break}this._setScrollTop(o,c,r,s,u,n,i)},_setScrollTop(t,e,n,i,a,s,o){n=n||this._getScrollBounds(t);const r=n.bottom-n.top;if(s&&this._inScrollBounds(i,a,n))if(i<n.top)e=i;else{if(!(a>n.bottom))return;e=a-r}o?t.scrollTo({top:e,behavior:o}):t.scrollTop=e},_getElementHeight(t){return t.getBoundingClientRect().height},_getScrollBounds(t){const e=this._getElementHeight(t),n=t.scrollTop;return{top:n,bottom:n+e}},_inScrollBounds(t,e,n){const i=e-t;return e<=n.bottom+3*i/4&&t>=n.top-i/4}}},je="listElementKey is required or the referenced element doesn't exist. Received listElement: ",He=function(){let{listItemRole:t="option",indexKey:e="highlightIndex",idKey:n="highlightId",listElementKey:i="listRef",activeItemKey:a="",openMethod:s=null,afterHighlightMethod:o=null,beginningOfListMethod:r=null,endOfListMethod:l=null,scrollToOnHighlight:d=!0,focusOnKeyboardNavigation:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{mixins:[Ve],data(){return{[e]:-1,[n]:"",scrollToOnHighlight:d,focusOnKeyboardNavigation:u}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var t;return(null===(t=this[i]())||void 0===t?void 0:t.$el)||this[i]()},_itemsLength(){const t=this._getListItemNodes();return null===t?0:t.length},_getListItemNodes(){const e=this._getListElement();return e?Array.from(e.querySelectorAll(`[role="${t}"], #sr-only-close-button`)):(console.error(je,e),null)},onUpKey(){s&&this[s](!0),this[e]>0?this.setHighlightIndex(this[e]-1):r&&this[r](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){s&&this[s](!0),this[e]<this._itemsLength()-1?this.setHighlightIndex(this[e]+1):l&&this[l](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(t){const n=this._getListItemNodes(),i=n.filter((e=>{const n=e.textContent.trim().toLowerCase();return n.startsWith(t.toLowerCase())}));if(i.length<=0)return;const a=i.findIndex((t=>this[e]===n.indexOf(t))),s=n.indexOf(a<i.length-1?i[a+1]:i[0]);this.setHighlightIndex(s),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidCharacter(t){return 1===t.length},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},setHighlightIndex(t){this[e]=t,this[n]=this._getItemId(t),this._itemsLength()&&o&&this[o](t)},setHighlightId(t){this[n]=t,this[e]=this._getItemIndex(t),this._itemsLength()&&o&&this[o](this._getItemIndex(t))},_getItemIndex(e){const n=this._getListElement();if(!n)return;const i=Array.from(n.querySelectorAll(`[role="${t}"], #sr-only-close-button`));return i.indexOf(n.querySelector(`#${e}`))},_getItemId(e){var n;const i=this._getListElement();if(i)return null===(n=i.querySelectorAll(`[role="${t}"], #sr-only-close-button`)[e])||void 0===n?void 0:n.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const t=this[a];if(t){const e=this._getListElement();this.scrollElementIntoViewIfNeeded(t,null,null,e)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const t=this[a];t&&t.focus()}}}};var qe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"d-p0 d-mt8 d-hmx332 d-of-y-auto",attrs:{"aria-busy":"true"}},t._l(7,(function(t){return n("dt-list-item",{key:t,attrs:{role:"option","navigation-type":"none"}},[n("dt-skeleton",{attrs:{"text-option":{type:"body"},offset:0}})],1)})),1)},Fe=[],Ke=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.elementType,t._g({tag:"component",class:["dt-list-item d-ls-none",{"dt-list-item--focusable":t.isFocusable,"dt-list-item--highlighted":t.isHighlighted,"dt-list-item--static":!t.isHoverable}],attrs:{id:t.id,tabindex:t.isFocusable?0:-1,role:t.role,"aria-selected":t.isHighlighted}},t.listItemListeners),[t.listItemType?n(t.listItemType,{tag:"component",scopedSlots:t._u([t._l(t.$slots,(function(e,n){return{key:n,fn:function(){return[t._t(n)]},proxy:!0}}))],null,!0)}):t._t("default")],2)},ze=[];const We={DEFAULT:"default",CUSTOM:"custom"},Ue={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};var Ge=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-default-list-item d-fs-200 d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},[t.$slots.left?n("section",{staticClass:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8",attrs:{"data-qa":"dt-default-list-item-left-wrapper"}},[t._t("left")],2):t._e(),n("section",{staticClass:"d-fl-grow1 d-of-hidden"},[t.$slots.default?n("div",[t._t("default")],2):t._e(),t.$slots.subtitle?n("div",{class:["d-fs-100 d-fc-black-600",{"d-mtn2":t.$slots.default}],attrs:{"data-qa":"dt-default-list-item-subtitle-wrapper"}},[t._t("subtitle")],2):t._e(),t.$slots.bottom?n("div",{staticClass:"d-mt2",attrs:{"data-qa":"dt-default-list-item-bottom-wrapper"}},[t._t("bottom")],2):t._e()]),t.$slots.right?n("section",{staticClass:"dt-default-list-item--right d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pl8",attrs:{"data-qa":"dt-default-list-item-right-wrapper"}},[t._t("right")],2):t._e()])},Ze=[];const Ye={name:"DefaultListItem"},Xe=Ye;n(357);var Qe=B(Xe,Ge,Ze,!1,null,null,null);const Je=Qe.exports,tn={name:"ListItem",components:{DtDefaultListItem:Je},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return P.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:We.DEFAULT,validator:t=>Object.values(We).includes(t)},navigationType:{type:String,default:Ue.NONE,validator:t=>Object.values(Ue).includes(t)}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case We.DEFAULT:return Je;default:return null}},listItemListeners(){return{...this.$listeners,keydown:t=>{["enter","space"].includes(t.code.toLowerCase())&&this.onClick(t),this.$emit("keydown",t)},mousemove:t=>{this.onMouseHover(t),this.$emit("mousemove",t)},mouseleave:t=>{this.onMouseLeave(t),this.$emit("mouseleave",t)}}},isHighlighted(){return!!this.isHoverable&&(this.highlightId&&this.highlightId()?this.id===this.highlightId():this.mouseHighlighted)},isFocusable(){return this.navigationType===Ue.TAB},isHoverable(){return this.navigationType!==Ue.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}},en=tn;n(759);var nn=B(en,Ke,ze,!1,null,null,null);const an=nn.exports;var sn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{"aria-busy":"true",role:"status","aria-label":t.ariaLabel}},[t.listItemOption?n("dt-skeleton-list-item",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-list-item",!0===t.listItemOption?{}:t.listItemOption,!1)):t.shapeOption?n("dt-skeleton-shape",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-shape",!0===t.shapeOption?{}:t.shapeOption,!1)):t.paragraphOption?n("dt-skeleton-paragraph",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-paragraph",!0===t.paragraphOption?{}:t.paragraphOption,!1)):n("dt-skeleton-text",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-text",t.textOption||{},!1))],1)},on=[],rn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"skeleton",class:["skeleton-placeholder",t.SKELETON_SHAPES[t.shape],{"skeleton-placeholder--animate":t.animate},t.contentClass],style:t.shapeStyles,attrs:{"data-qa":"skeleton-shape"}})},ln=[];const dn=3e6,un={circle:"d-bar-circle",square:"d-bar2"},cn=["body","heading"],pn={sm:"24px",md:"32px",lg:"48px"},hn={sm:"d-h16",md:"d-h24",lg:"d-h32"},fn={computed:{skeletonOffset(){const t=this.$refs.skeleton;if(!t)return this.offset;const{top:e,height:n}=t.getBoundingClientRect();return e+n/2},skeletonStyle(){const t={};if(-1===this.skeletonOffset||!this.animate&&-1===this.animationDuration)return t;const e=this.skeletonOffset*dn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return t.animationDelay=`${e}ms`,t.animationDuration=`${n}ms`,t}}},mn={name:"DtSkeletonShape",mixins:[fn],props:{shape:{type:String,default:"circle",validator:t=>Object.keys(un).includes(t)},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:un}},computed:{shapeStyles(){const t=pn[this.size]||this.size;return{...this.skeletonStyle,"min-width":t,"max-width":t,"min-height":t,"max-height":t}}}},gn=mn;var vn=B(gn,rn,ln,!1,null,null,null);const bn=vn.exports;var yn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-d-flex",{"d-ai-center":1===t.paragraphs.rows},t.contentClass],attrs:{"data-qa":"skeleton-list-item"}},[n("dt-skeleton-shape",{staticClass:"d-mr8",attrs:{size:t.shapeSize,shape:t.shape,"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset,"content-class":t.shapeClass}}),n("div",{staticClass:"d-d-flex d-fd-column d-w100p"},[n("dt-skeleton-paragraph",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-paragraph",t.paragraphs,!1))],1)],1)},_n=[],Sn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-w100p",t.contentClass],attrs:{contentClass:"","data-qa":"skeleton-paragraph"}},t._l(t.integerRows,(function(e){return n("dt-skeleton-text",{key:e,class:[{"d-mb12":e!==t.integerRows}],attrs:{"data-qa":"skeleton-paragraph-row","content-class":t.rowClass,animate:t.animate,offset:t.offset,"animation-duration":t.animationDuration,width:t.getSizeParagraphRow(e)}})})),1)},xn=[],Cn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return"body"===t.type?n("div",{ref:"skeleton",class:["d-h8","d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":t.animate},t.contentClass],style:Object.assign({},{width:t.width},t.skeletonStyle),attrs:{"data-qa":"skeleton-text-body"}}):"heading"===t.type?n("div",{ref:"skeleton",class:[t.SKELETON_HEADING_HEIGHTS[t.headingHeight],"d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":t.animate},t.contentClass],style:Object.assign({},{width:t.width},t.skeletonStyle),attrs:{"data-qa":"skeleton-text-heading"}}):t._e()},wn=[];const On={name:"DtSkeletonText",mixins:[fn],props:{type:{type:String,default:"body",validator:t=>cn.includes(t)},headingHeight:{type:String,default:"md",validator:t=>Object.keys(hn).includes(t)},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:hn}}},In=On;var En=B(In,Cn,wn,!1,null,null,null);const kn=En.exports,Ln=t=>""!==t&&!Number.isNaN(Number(t)),Dn={name:"DtSkeletonParagraph",components:{DtSkeletonText:kn},props:{rows:{type:[Number,String],default:3,validator:Ln},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Ln},maxWidth:{type:[Number,String],default:100,validator:Ln},width:{type:[String,Array],default:null},randomWidth:{type:Boolean,default:!1},offset:{type:Number,default:1},animationDuration:{type:Number,default:-1},contentClass:{type:String,default:""},rowClass:{type:String,default:""}},computed:{integerRows(){return Number(this.rows)}},methods:{randomWidthPercentage(){const t=Math.min(this.minWidth,this.maxWidth),e=Math.max(this.minWidth,this.maxWidth);return`${Math.round(Math.random()*(e-t))+t}%`},getSizeParagraphRow(t){const e=this.width,n=Array.isArray(e),i=null===e||void 0===e?void 0:e[t-1],a=t===this.rows;return this.randomWidth?this.randomWidthPercentage():e&&!n?e:e&&n&&i?i:a?"38%":"100%"}}},An=Dn;var Tn=B(An,Sn,xn,!1,null,null,null);const Pn=Tn.exports,$n={name:"DtSkeletonListItem",components:{DtSkeletonShape:bn,DtSkeletonParagraph:Pn},props:{shape:{type:String,default:"circle",validator:t=>Object.keys(un).includes(t)},shapeSize:{type:String,default:"md"},paragraphs:{type:Object,default:()=>({rows:3,randomWidth:!0})},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!0},offset:{type:Number,default:1},shapeClass:{type:String,default:""},contentClass:{type:String,default:""}}},Mn=$n;var Bn=B(Mn,yn,_n,!1,null,null,null);const Rn=Bn.exports,Nn={name:"DtSkeleton",components:{DtSkeletonText:kn,DtSkeletonShape:bn,DtSkeletonListItem:Rn,DtSkeletonParagraph:Pn},props:{paragraphOption:{type:[Object,Boolean],default:null},listItemOption:{type:[Object,Boolean],default:null},textOption:{type:Object,default:null},shapeOption:{type:[Object,Boolean],default:null},animationDuration:{type:Number,default:-1},ariaLabel:{type:String,default:""},animate:{type:Boolean,default:!0},offset:{type:Number,default:1}},computed:{validationOptions(){return{paragraphOption:this.paragraphOption,listItemOption:this.listItemOption,textOption:this.textOption,shapeOption:this.shapeOption}}},watch:{$props:{immediate:!0,handler:"validator"}},methods:{validator(){const t=Object.entries(this.validationOptions).filter((t=>{let[e,n]=t;return n}));if(t.length>=2){const e=`Use only one of ${t.map((t=>{let[e]=t;return e})).join(" | ")} options at the same time`;console.error(e)}}}},Vn=Nn;n(859);var jn=B(Vn,sn,on,!1,null,null,null);const Hn=jn.exports,qn={name:"ComboboxLoadingList",components:{DtListItem:an,DtSkeleton:Hn}},Fn=qn;var Kn=B(Fn,qe,Fe,!1,null,null,null);const zn=Kn.exports;var Wn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"d-p0",attrs:{"data-qa":"dt-combobox-empty-list"}},[n("dt-list-item",{staticClass:"d-d-flex d-jc-center",attrs:{role:"option","navigation-type":"none"}},[n("span",[t._v(t._s(t.message))])])],1)},Un=[];const Gn={name:"ComboboxEmptyList",components:{DtListItem:an},props:{message:{type:String,required:!0}}},Zn=Gn;var Yn=B(Zn,Wn,Un,!1,null,null,null);const Xn=Yn.exports,Qn={name:"DtCombobox",components:{ComboboxLoadingList:zn,ComboboxEmptyList:Xn},mixins:[He({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 w()}},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},emptyList:{type:Boolean,default:!1},emptyStateMessage:{type:String,default:""}},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.highlightId?this.getListElement().querySelector("#"+this.highlightId):""}},watch:{showList(t){this.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",t)),!t&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null)},loading(t){this.$nextTick((()=>{this.setInitialHighlightIndex()}))},$props:{deep:!0,immediate:!0,handler(){this.validateEmptyListProps()}}},created(){this.validateEmptyListProps()},methods:{onMouseHighlight(t){if(this.loading)return;const e=t.target.closest("li");e&&this.highlightId!==e.id&&this.setHighlightId(e.id)},getListElement(){var t,e;return null!==(t=this.outsideRenderedListRef)&&void 0!==t?t:null===(e=this.$refs.listWrapper)||void 0===e?void 0:e.querySelector(`#${this.listId}`)},clearHighlightIndex(){this.showList&&this.setHighlightIndex(-1)},afterHighlight(){this.loading||this.$emit("highlight",this.highlightIndex)},onEnterKey(){this.loading||this.emptyList||this.highlightIndex>=0&&this.$emit("select",this.highlightIndex)},onEscapeKey(){this.$emit("escape")},onOpen(t,e){var n;this.outsideRenderedListRef=e,null===(n=this.outsideRenderedListRef)||void 0===n||n.addEventListener("mousemove",this.onMouseHighlight),this.$emit("opened",t),t&&this.setInitialHighlightIndex()},onKeyValidation(t,e){this.showList&&this.getListElement()&&this[e](t)},setInitialHighlightIndex(){this.showList&&this.$nextTick((()=>{this.setHighlightIndex(this.loading?-1:0)}))},validateEmptyListProps(){(this.emptyList&&!this.emptyStateMessage||!this.emptyList&&this.emptyStateMessage)&&console.error("Invalid props: you must pass both props emptyList and emptyStateMessage to show the\n empty message.")}}},Jn=Qn;var ti=B(Jn,Re,Ne,!1,null,null,null);const ei=ti.exports;var ni=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.elementType,t._g({ref:"collapsible",tag:"component"},t.$listeners),[n("div",{ref:"anchor",class:["d-dt-collapsibe__anchor",t.anchorClass],attrs:{id:!t.ariaLabelledBy&&t.labelledBy},on:{"!click":function(e){return t.defaultToggleOpen.apply(null,arguments)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.defaultToggleOpen.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:t.defaultToggleOpen.apply(null,arguments)}]}},[t._t("anchor",(function(){return[n("dt-button",{style:{width:t.maxWidth},attrs:{importance:"clear",kind:"muted","aria-controls":t.id,"aria-expanded":""+t.isOpen}},[n("dt-icon",{staticClass:"d-icon d-icon--size-300 d-mr8 d-fl-shrink0",attrs:{name:t.isOpen?"chevron-down":"chevron-right"}}),n("span",{staticClass:"d-mr-auto d-truncate",attrs:{title:t.anchorText}},[t._v(" "+t._s(t.anchorText)+" ")])],1)]}),{attrs:{"aria-controls":t.id,"aria-expanded":t.isOpen.toString(),role:"button"}})],2),n("dt-collapsible-lazy-show",t._g({ref:"contentWrapper",class:["d-dt-collapsible__content",t.contentClass],style:{"max-height":t.maxHeight,"max-width":t.maxWidth},attrs:{id:t.id,"aria-hidden":""+!t.isOpen,"aria-labelledby":t.labelledBy,"aria-label":t.ariaLabel,show:t.isOpen,"element-type":t.contentElementType,tabindex:"-1",appear:""},on:{"after-leave":t.onLeaveTransitionComplete,"after-enter":t.onEnterTransitionComplete}},t.$listeners),[t._t("content")],2)],1)},ii=[],ai=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",t._g({attrs:{appear:t.appear,"enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":t.beforeEnter,enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},t.$listeners),[n(t.elementType,t._g({directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],tag:"component"},t.$listeners),[t.initialized?t._t("default"):t._e()],2)],1)},si=[];const oi={name:"DtCollapsibleLazyShow",props:{show:{type:Boolean,default:null},appear:{type:Boolean,default:!1},elementType:{type:String,default:"div"}},data(){return{initialized:!!this.show}},watch:{show:function(t){t&&!this.initialized&&(this.initialized=!0)}},methods:{beforeEnter(t){requestAnimationFrame((()=>{t.style.height||(t.style.height="0px"),t.style.display=null}))},enter(t){requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height=`${t.scrollHeight}px`}))}))},afterEnter(t){t.style.height=null},beforeLeave(t){requestAnimationFrame((()=>{t.style.height||(t.style.height=`${t.offsetHeight}px`)}))},leave(t){requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height="0px"}))}))},afterLeave(t){t.style.height=null}}},ri=oi;n(124);var li=B(ri,ai,si,!1,null,null,null);const di=li.exports;var ui=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",t._g({attrs:{name:t.transition,appear:t.appear}},t.$listeners),[n("div",t._g({directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}]},t.$listeners),[t.initialized?t._t("default"):t._e()],2)])},ci=[];const pi={name:"DtLazyShow",props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},watch:{show:function(t){t&&!this.initialized&&(this.initialized=!0)}}},hi=pi;var fi=B(hi,ui,ci,!1,null,null,null);const mi=fi.exports,gi={name:"DtCollapsible",components:{DtButton:Nt,DtCollapsibleLazyShow:di,DtLazyShow:mi,DtIcon:it},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return w()}},elementType:{type:String,default:"div"},contentElementType:{type:String,default:"div"},anchorClass:{type:[String,Array,Object],default:null},contentClass:{type:[String,Array,Object],default:null},maxWidth:{type:String,default:null},maxHeight:{type:String,default:null},ariaLabel:{type:String,default:null},ariaLabelledBy:{type:String,default:null}},emits:["update:open","opened"],data(){return{isOpen:!0}},computed:{labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&w("DtCollapsible__anchor")},contentStyle(){return{"max-height":this.maxHeight,"max-width":this.maxWidth}}},watch:{open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0}},methods:{onLeaveTransitionComplete(){this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},onEnterTransitionComplete(){this.$emit("opened",!0,this.$refs.content),null!==this.open&&this.$emit("update:open",!0)},defaultToggleOpen(){null===this.open&&this.toggleOpen()},toggleOpen(){this.isOpen=!this.isOpen}}},vi=gi;var bi=B(vi,ni,ii,!1,null,null,null);const yi=bi.exports;var _i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-popover",t._g({ref:"popover",attrs:{"content-width":t.contentWidth,open:t.open,placement:t.placement,"initial-focus-element":t.openedWithKeyboard?"first":"dialog","fallback-placements":t.fallbackPlacements,padding:"none",role:"menu",modal:t.modal,"max-height":t.maxHeight,"max-width":t.maxWidth,"open-with-arrow-keys":!0,"open-on-context":t.openOnContext},scopedSlots:t._u([{key:"anchor",fn:function(e){var n=e.attrs;return[t._t("anchor",null,null,n)]}},{key:"content",fn:function(e){var i=e.close;return[n("ul",{ref:"listWrapper",class:t.listClasses,attrs:{id:t.listId,"data-qa":"dt-dropdown-list-wrapper"},on:{mouseleave:t.clearHighlightIndex,"!mousemove":function(e){return t.onMouseHighlight.apply(null,arguments)}}},[t._t("list",null,{close:i}),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel,tabindex:t.isArrowKeyNav?-1:0},on:{close:i}}):t._e()],2)]}}],null,!0)},t.dropdownListeners))},Si=[],xi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.modal&&t.isOpen?n("portal",[n("div",{staticClass:"d-modal--transparent",attrs:{"aria-hidden":t.modal&&t.isOpen?"false":"true"},on:{click:function(t){t.preventDefault(),t.stopPropagation()}}})]):t._e(),n(t.elementType,t._g({ref:"popover",tag:"component",class:["d-popover",{"d-popover__anchor--opened":t.isOpen}],attrs:{"data-qa":"dt-popover-container"}},t.$listeners),[n("div",{ref:"anchor",attrs:{id:!t.ariaLabelledby&&t.labelledBy,"data-qa":"dt-popover-anchor",tabindex:t.openOnContext?0:void 0},on:{"!click":function(e){return t.defaultToggleOpen.apply(null,arguments)},contextmenu:t.onContext,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.onArrowKeyPress.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.onArrowKeyPress.apply(null,arguments))}],wheel:function(e){return t.isOpen&&t.modal&&e.preventDefault()},"!keydown":function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"escape",void 0,e.key,void 0)?null:t.closePopover.apply(null,arguments)}}},[t._t("anchor",null,{attrs:{"aria-expanded":t.isOpen.toString(),"aria-controls":t.id,"aria-haspopup":t.role}})],2),n("dt-lazy-show",t._g({ref:"content",class:["d-popover__dialog",{"d-popover__dialog--modal":t.modal},t.dialogClass],style:{"max-height":t.maxHeight,"max-width":t.maxWidth},attrs:{id:t.id,role:t.role,"data-qa":"dt-popover","aria-hidden":""+!t.isOpen,"aria-labelledby":t.labelledBy,"aria-label":t.ariaLabel,"aria-modal":""+!t.modal,transition:t.transition,show:t.isOpen,tabindex:t.contentTabindex,appear:""}},t.popoverListeners),[t.$slots.headerContent||t.showCloseButton?n("popover-header-footer",{ref:"popover__header",class:t.POPOVER_HEADER_FOOTER_PADDING_CLASSES[t.padding],attrs:{"content-class":t.headerClass,type:"header","show-close-button":t.showCloseButton,"close-button-props":t.closeButtonProps},on:{close:t.closePopover},scopedSlots:t._u([{key:"content",fn:function(){return[t._t("headerContent",null,{close:t.closePopover})]},proxy:!0}],null,!0)}):t._e(),n("div",{ref:"popover__content",class:["d-popover__content",t.POPOVER_PADDING_CLASSES[t.padding],t.contentClass],attrs:{"data-qa":"dt-popover-content"}},[t._t("content",null,{close:t.closePopover})],2),t.$slots.footerContent?n("popover-header-footer",{ref:"popover__footer",class:t.POPOVER_HEADER_FOOTER_PADDING_CLASSES[t.padding],attrs:{type:"footer","content-class":t.footerClass},scopedSlots:t._u([{key:"content",fn:function(){return[t._t("footerContent",null,{close:t.closePopover})]},proxy:!0}],null,!0)}):t._e(),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.closePopover}}):t._e()],1)],1)],1)},Ci=[];function wi(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),i=1,a=1;return{width:n.width/i,height:n.height/a,top:n.top/a,right:n.right/i,bottom:n.bottom/a,left:n.left/i,x:n.left/i,y:n.top/a}}function Oi(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ii(t){var e=Oi(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Ei(t){var e=Oi(t).Element;return t instanceof e||t instanceof Element}function ki(t){var e=Oi(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Li(t){if("undefined"===typeof ShadowRoot)return!1;var e=Oi(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Di(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Ai(t){return t!==Oi(t)&&ki(t)?Di(t):Ii(t)}function Ti(t){return t?(t.nodeName||"").toLowerCase():null}function Pi(t){return((Ei(t)?t.ownerDocument:t.document)||window.document).documentElement}function $i(t){return wi(Pi(t)).left+Ii(t).scrollLeft}function Mi(t){return Oi(t).getComputedStyle(t)}function Bi(t){var e=Mi(t),n=e.overflow,i=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function Ri(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return 1!==n||1!==i}function Ni(t,e,n){void 0===n&&(n=!1);var i=ki(e),a=ki(e)&&Ri(e),s=Pi(e),o=wi(t,a),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Ti(e)||Bi(s))&&(r=Ai(e)),ki(e)?(l=wi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=$i(s))),{x:o.left+r.scrollLeft-l.x,y:o.top+r.scrollTop-l.y,width:o.width,height:o.height}}function Vi(t){var e=wi(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function ji(t){return"html"===Ti(t)?t:t.assignedSlot||t.parentNode||(Li(t)?t.host:null)||Pi(t)}function Hi(t){return["html","body","#document"].indexOf(Ti(t))>=0?t.ownerDocument.body:ki(t)&&Bi(t)?t:Hi(ji(t))}function qi(t,e){var n;void 0===e&&(e=[]);var i=Hi(t),a=i===(null==(n=t.ownerDocument)?void 0:n.body),s=Oi(i),o=a?[s].concat(s.visualViewport||[],Bi(i)?i:[]):i,r=e.concat(o);return a?r:r.concat(qi(ji(o)))}function Fi(t){return["table","td","th"].indexOf(Ti(t))>=0}function Ki(t){return ki(t)&&"fixed"!==Mi(t).position?t.offsetParent:null}function zi(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&ki(t)){var i=Mi(t);if("fixed"===i.position)return null}var a=ji(t);while(ki(a)&&["html","body"].indexOf(Ti(a))<0){var s=Mi(a);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||e&&"filter"===s.willChange||e&&s.filter&&"none"!==s.filter)return a;a=a.parentNode}return null}function Wi(t){var e=Oi(t),n=Ki(t);while(n&&Fi(n)&&"static"===Mi(n).position)n=Ki(n);return n&&("html"===Ti(n)||"body"===Ti(n)&&"static"===Mi(n).position)?e:n||zi(t)||e}var Ui="top",Gi="bottom",Zi="right",Yi="left",Xi="auto",Qi=[Ui,Gi,Zi,Yi],Ji="start",ta="end",ea="clippingParents",na="viewport",ia="popper",aa="reference",sa=Qi.reduce((function(t,e){return t.concat([e+"-"+Ji,e+"-"+ta])}),[]),oa=[].concat(Qi,[Xi]).reduce((function(t,e){return t.concat([e,e+"-"+Ji,e+"-"+ta])}),[]),ra="beforeRead",la="read",da="afterRead",ua="beforeMain",ca="main",pa="afterMain",ha="beforeWrite",fa="write",ma="afterWrite",ga=[ra,la,da,ua,ca,pa,ha,fa,ma];function va(t){var e=new Map,n=new Set,i=[];function a(t){n.add(t.name);var s=[].concat(t.requires||[],t.requiresIfExists||[]);s.forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&a(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||a(t)})),i}function ba(t){var e=va(t);return ga.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function ya(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function _a(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}var Sa={placement:"bottom",modifiers:[],strategy:"absolute"};function xa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function Ca(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,a=e.defaultOptions,s=void 0===a?Sa:a;return function(t,e,n){void 0===n&&(n=s);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Sa,s),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},o=[],r=!1,l={state:a,setOptions:function(n){var o="function"===typeof n?n(a.options):n;u(),a.options=Object.assign({},s,a.options,o),a.scrollParents={reference:Ei(t)?qi(t):t.contextElement?qi(t.contextElement):[],popper:qi(e)};var r=ba(_a([].concat(i,a.options.modifiers)));return a.orderedModifiers=r.filter((function(t){return t.enabled})),d(),l.update()},forceUpdate:function(){if(!r){var t=a.elements,e=t.reference,n=t.popper;if(xa(e,n)){a.rects={reference:Ni(e,Wi(n),"fixed"===a.options.strategy),popper:Vi(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var s=a.orderedModifiers[i],o=s.fn,d=s.options,u=void 0===d?{}:d,c=s.name;"function"===typeof o&&(a=o({state:a,options:u,name:c,instance:l})||a)}else a.reset=!1,i=-1}}},update:ya((function(){return new Promise((function(t){l.forceUpdate(),t(a)}))})),destroy:function(){u(),r=!0}};if(!xa(t,e))return l;function d(){a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,s=t.effect;if("function"===typeof s){var r=s({state:a,name:e,instance:l,options:i}),d=function(){};o.push(r||d)}}))}function u(){o.forEach((function(t){return t()})),o=[]}return l.setOptions(n).then((function(t){!r&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var wa={passive:!0};function Oa(t){var e=t.state,n=t.instance,i=t.options,a=i.scroll,s=void 0===a||a,o=i.resize,r=void 0===o||o,l=Oi(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach((function(t){t.addEventListener("scroll",n.update,wa)})),r&&l.addEventListener("resize",n.update,wa),function(){s&&d.forEach((function(t){t.removeEventListener("scroll",n.update,wa)})),r&&l.removeEventListener("resize",n.update,wa)}}const Ia={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Oa,data:{}};function Ea(t){return t.split("-")[0]}function ka(t){return t.split("-")[1]}function La(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Da(t){var e,n=t.reference,i=t.element,a=t.placement,s=a?Ea(a):null,o=a?ka(a):null,r=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case Ui:e={x:r,y:n.y-i.height};break;case Gi:e={x:r,y:n.y+n.height};break;case Zi:e={x:n.x+n.width,y:l};break;case Yi:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var d=s?La(s):null;if(null!=d){var u="y"===d?"height":"width";switch(o){case Ji:e[d]=e[d]-(n[u]/2-i[u]/2);break;case ta:e[d]=e[d]+(n[u]/2-i[u]/2);break;default:}}return e}function Aa(t){var e=t.state,n=t.name;e.modifiersData[n]=Da({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Ta={name:"popperOffsets",enabled:!0,phase:"read",fn:Aa,data:{}};var Pa=Math.max,$a=Math.min,Ma=Math.round,Ba={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ra(t){var e=t.x,n=t.y,i=window,a=i.devicePixelRatio||1;return{x:Ma(Ma(e*a)/a)||0,y:Ma(Ma(n*a)/a)||0}}function Na(t){var e,n=t.popper,i=t.popperRect,a=t.placement,s=t.variation,o=t.offsets,r=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,c=!0===u?Ra(o):"function"===typeof u?u(o):o,p=c.x,h=void 0===p?0:p,f=c.y,m=void 0===f?0:f,g=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),b=Yi,y=Ui,_=window;if(d){var S=Wi(n),x="clientHeight",C="clientWidth";S===Oi(n)&&(S=Pi(n),"static"!==Mi(S).position&&"absolute"===r&&(x="scrollHeight",C="scrollWidth")),S=S,a!==Ui&&(a!==Yi&&a!==Zi||s!==ta)||(y=Gi,m-=S[x]-i.height,m*=l?1:-1),a!==Yi&&(a!==Ui&&a!==Gi||s!==ta)||(b=Zi,h-=S[C]-i.width,h*=l?1:-1)}var w,O=Object.assign({position:r},d&&Ba);return l?Object.assign({},O,(w={},w[y]=v?"0":"",w[b]=g?"0":"",w.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",w)):Object.assign({},O,(e={},e[y]=v?m+"px":"",e[b]=g?h+"px":"",e.transform="",e))}function Va(t){var e=t.state,n=t.options,i=n.gpuAcceleration,a=void 0===i||i,s=n.adaptive,o=void 0===s||s,r=n.roundOffsets,l=void 0===r||r,d={placement:Ea(e.placement),variation:ka(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Na(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Na(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const ja={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Va,data:{}};function Ha(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},a=e.elements[t];ki(a)&&Ti(a)&&(Object.assign(a.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))}function qa(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]),o=s.reduce((function(t,e){return t[e]="",t}),{});ki(i)&&Ti(i)&&(Object.assign(i.style,o),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}}const Fa={name:"applyStyles",enabled:!0,phase:"write",fn:Ha,effect:qa,requires:["computeStyles"]};function Ka(t,e,n){var i=Ea(t),a=[Yi,Ui].indexOf(i)>=0?-1:1,s="function"===typeof n?n(Object.assign({},e,{placement:t})):n,o=s[0],r=s[1];return o=o||0,r=(r||0)*a,[Yi,Zi].indexOf(i)>=0?{x:r,y:o}:{x:o,y:r}}function za(t){var e=t.state,n=t.options,i=t.name,a=n.offset,s=void 0===a?[0,0]:a,o=oa.reduce((function(t,n){return t[n]=Ka(n,e.rects,s),t}),{}),r=o[e.placement],l=r.x,d=r.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[i]=o}const Wa={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:za};var Ua={left:"right",right:"left",bottom:"top",top:"bottom"};function Ga(t){return t.replace(/left|right|bottom|top/g,(function(t){return Ua[t]}))}var Za={start:"end",end:"start"};function Ya(t){return t.replace(/start|end/g,(function(t){return Za[t]}))}function Xa(t){var e=Oi(t),n=Pi(t),i=e.visualViewport,a=n.clientWidth,s=n.clientHeight,o=0,r=0;return i&&(a=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,r=i.offsetTop)),{width:a,height:s,x:o+$i(t),y:r}}function Qa(t){var e,n=Pi(t),i=Ii(t),a=null==(e=t.ownerDocument)?void 0:e.body,s=Pa(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=Pa(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),r=-i.scrollLeft+$i(t),l=-i.scrollTop;return"rtl"===Mi(a||n).direction&&(r+=Pa(n.clientWidth,a?a.clientWidth:0)-s),{width:s,height:o,x:r,y:l}}function Ja(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Li(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ts(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function es(t){var e=wi(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function ns(t,e){return e===na?ts(Xa(t)):ki(e)?es(e):ts(Qa(Pi(t)))}function is(t){var e=qi(ji(t)),n=["absolute","fixed"].indexOf(Mi(t).position)>=0,i=n&&ki(t)?Wi(t):t;return Ei(i)?e.filter((function(t){return Ei(t)&&Ja(t,i)&&"body"!==Ti(t)})):[]}function as(t,e,n){var i="clippingParents"===e?is(t):[].concat(e),a=[].concat(i,[n]),s=a[0],o=a.reduce((function(e,n){var i=ns(t,n);return e.top=Pa(i.top,e.top),e.right=$a(i.right,e.right),e.bottom=$a(i.bottom,e.bottom),e.left=Pa(i.left,e.left),e}),ns(t,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function ss(){return{top:0,right:0,bottom:0,left:0}}function os(t){return Object.assign({},ss(),t)}function rs(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function ls(t,e){void 0===e&&(e={});var n=e,i=n.placement,a=void 0===i?t.placement:i,s=n.boundary,o=void 0===s?ea:s,r=n.rootBoundary,l=void 0===r?na:r,d=n.elementContext,u=void 0===d?ia:d,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,f=void 0===h?0:h,m=os("number"!==typeof f?f:rs(f,Qi)),g=u===ia?aa:ia,v=t.rects.popper,b=t.elements[p?g:u],y=as(Ei(b)?b:b.contextElement||Pi(t.elements.popper),o,l),_=wi(t.elements.reference),S=Da({reference:_,element:v,strategy:"absolute",placement:a}),x=ts(Object.assign({},v,S)),C=u===ia?x:_,w={top:y.top-C.top+m.top,bottom:C.bottom-y.bottom+m.bottom,left:y.left-C.left+m.left,right:C.right-y.right+m.right},O=t.modifiersData.offset;if(u===ia&&O){var I=O[a];Object.keys(w).forEach((function(t){var e=[Zi,Gi].indexOf(t)>=0?1:-1,n=[Ui,Gi].indexOf(t)>=0?"y":"x";w[t]+=I[n]*e}))}return w}function ds(t,e){void 0===e&&(e={});var n=e,i=n.placement,a=n.boundary,s=n.rootBoundary,o=n.padding,r=n.flipVariations,l=n.allowedAutoPlacements,d=void 0===l?oa:l,u=ka(i),c=u?r?sa:sa.filter((function(t){return ka(t)===u})):Qi,p=c.filter((function(t){return d.indexOf(t)>=0}));0===p.length&&(p=c);var h=p.reduce((function(e,n){return e[n]=ls(t,{placement:n,boundary:a,rootBoundary:s,padding:o})[Ea(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}function us(t){if(Ea(t)===Xi)return[];var e=Ga(t);return[Ya(t),e,Ya(e)]}function cs(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var a=n.mainAxis,s=void 0===a||a,o=n.altAxis,r=void 0===o||o,l=n.fallbackPlacements,d=n.padding,u=n.boundary,c=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,g=e.options.placement,v=Ea(g),b=v===g,y=l||(b||!f?[Ga(g)]:us(g)),_=[g].concat(y).reduce((function(t,n){return t.concat(Ea(n)===Xi?ds(e,{placement:n,boundary:u,rootBoundary:c,padding:d,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),S=e.rects.reference,x=e.rects.popper,C=new Map,w=!0,O=_[0],I=0;I<_.length;I++){var E=_[I],k=Ea(E),L=ka(E)===Ji,D=[Ui,Gi].indexOf(k)>=0,A=D?"width":"height",T=ls(e,{placement:E,boundary:u,rootBoundary:c,altBoundary:p,padding:d}),P=D?L?Zi:Yi:L?Gi:Ui;S[A]>x[A]&&(P=Ga(P));var $=Ga(P),M=[];if(s&&M.push(T[k]<=0),r&&M.push(T[P]<=0,T[$]<=0),M.every((function(t){return t}))){O=E,w=!1;break}C.set(E,M)}if(w)for(var B=f?3:1,R=function(t){var e=_.find((function(e){var n=C.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},N=B;N>0;N--){var V=R(N);if("break"===V)break}e.placement!==O&&(e.modifiersData[i]._skip=!0,e.placement=O,e.reset=!0)}}const ps={name:"flip",enabled:!0,phase:"main",fn:cs,requiresIfExists:["offset"],data:{_skip:!1}};function hs(t){return"x"===t?"y":"x"}function fs(t,e,n){return Pa(t,$a(e,n))}function ms(t){var e=t.state,n=t.options,i=t.name,a=n.mainAxis,s=void 0===a||a,o=n.altAxis,r=void 0!==o&&o,l=n.boundary,d=n.rootBoundary,u=n.altBoundary,c=n.padding,p=n.tether,h=void 0===p||p,f=n.tetherOffset,m=void 0===f?0:f,g=ls(e,{boundary:l,rootBoundary:d,padding:c,altBoundary:u}),v=Ea(e.placement),b=ka(e.placement),y=!b,_=La(v),S=hs(_),x=e.modifiersData.popperOffsets,C=e.rects.reference,w=e.rects.popper,O="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,I={x:0,y:0};if(x){if(s||r){var E="y"===_?Ui:Yi,k="y"===_?Gi:Zi,L="y"===_?"height":"width",D=x[_],A=x[_]+g[E],T=x[_]-g[k],P=h?-w[L]/2:0,$=b===Ji?C[L]:w[L],M=b===Ji?-w[L]:-C[L],B=e.elements.arrow,R=h&&B?Vi(B):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ss(),V=N[E],j=N[k],H=fs(0,C[L],R[L]),q=y?C[L]/2-P-H-V-O:$-H-V-O,F=y?-C[L]/2+P+H+j+O:M+H+j+O,K=e.elements.arrow&&Wi(e.elements.arrow),z=K?"y"===_?K.clientTop||0:K.clientLeft||0:0,W=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,U=x[_]+q-W-z,G=x[_]+F-W;if(s){var Z=fs(h?$a(A,U):A,D,h?Pa(T,G):T);x[_]=Z,I[_]=Z-D}if(r){var Y="x"===_?Ui:Yi,X="x"===_?Gi:Zi,Q=x[S],J=Q+g[Y],tt=Q-g[X],et=fs(h?$a(J,U):J,Q,h?Pa(tt,G):tt);x[S]=et,I[S]=et-Q}}e.modifiersData[i]=I}}const gs={name:"preventOverflow",enabled:!0,phase:"main",fn:ms,requiresIfExists:["offset"]};var vs=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,os("number"!==typeof t?t:rs(t,Qi))};function bs(t){var e,n=t.state,i=t.name,a=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,r=Ea(n.placement),l=La(r),d=[Yi,Zi].indexOf(r)>=0,u=d?"height":"width";if(s&&o){var c=vs(a.padding,n),p=Vi(s),h="y"===l?Ui:Yi,f="y"===l?Gi:Zi,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],v=Wi(s),b=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=m/2-g/2,_=c[h],S=b-p[u]-c[f],x=b/2-p[u]/2+y,C=fs(_,x,S),w=l;n.modifiersData[i]=(e={},e[w]=C,e.centerOffset=C-x,e)}}function ys(t){var e=t.state,n=t.options,i=n.element,a=void 0===i?"[data-popper-arrow]":i;null!=a&&("string"!==typeof a||(a=e.elements.popper.querySelector(a),a))&&Ja(e.elements.popper,a)&&(e.elements.arrow=a)}const _s={name:"arrow",enabled:!0,phase:"main",fn:bs,effect:ys,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ss(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function xs(t){return[Ui,Zi,Gi,Yi].some((function(e){return t[e]>=0}))}function Cs(t){var e=t.state,n=t.name,i=e.rects.reference,a=e.rects.popper,s=e.modifiersData.preventOverflow,o=ls(e,{elementContext:"reference"}),r=ls(e,{altBoundary:!0}),l=Ss(o,i),d=Ss(r,a,s),u=xs(l),c=xs(d);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:c},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":c})}const ws={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Cs};var Os=[Ia,Ta,ja,Fa,Wa,ps,gs,_s,ws],Is=Ca({defaultModifiers:Os}),Es="tippy-box",ks="tippy-content",Ls="tippy-backdrop",Ds="tippy-arrow",As="tippy-svg-arrow",Ts={passive:!0,capture:!0},Ps=function(){return document.body};function $s(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function Ms(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function Bs(t,e){return"function"===typeof t?t.apply(void 0,e):t}function Rs(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function Ns(t){return t.split(/\s+/).filter(Boolean)}function Vs(t){return[].concat(t)}function js(t,e){-1===t.indexOf(e)&&t.push(e)}function Hs(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function qs(t){return t.split("-")[0]}function Fs(t){return[].slice.call(t)}function Ks(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function zs(){return document.createElement("div")}function Ws(t){return["Element","Fragment"].some((function(e){return Ms(t,e)}))}function Us(t){return Ms(t,"NodeList")}function Gs(t){return Ms(t,"MouseEvent")}function Zs(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function Ys(t){return Ws(t)?[t]:Us(t)?Fs(t):Array.isArray(t)?t:Fs(document.querySelectorAll(t))}function Xs(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function Qs(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function Js(t){var e,n=Vs(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function to(t,e){var n=e.clientX,i=e.clientY;return t.every((function(t){var e=t.popperRect,a=t.popperState,s=t.props,o=s.interactiveBorder,r=qs(a.placement),l=a.modifiersData.offset;if(!l)return!0;var d="bottom"===r?l.top.y:0,u="top"===r?l.bottom.y:0,c="right"===r?l.left.x:0,p="left"===r?l.right.x:0,h=e.top-i+d>o,f=i-e.bottom-u>o,m=e.left-n+c>o,g=n-e.right-p>o;return h||f||m||g}))}function eo(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function no(t,e){var n=e;while(n){var i;if(t.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var io={isTouch:!1},ao=0;function so(){io.isTouch||(io.isTouch=!0,window.performance&&document.addEventListener("mousemove",oo))}function oo(){var t=performance.now();t-ao<20&&(io.isTouch=!1,document.removeEventListener("mousemove",oo)),ao=t}function ro(){var t=document.activeElement;if(Zs(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function lo(){document.addEventListener("touchstart",so,Ts),window.addEventListener("blur",ro)}var uo="undefined"!==typeof window&&"undefined"!==typeof document,co=!!uo&&!!window.msCrypto;var po={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ho={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},fo=Object.assign({appendTo:Ps,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},po,ho),mo=Object.keys(fo),go=function(t){var e=Object.keys(t);e.forEach((function(e){fo[e]=t[e]}))};function vo(t){var e=t.plugins||[],n=e.reduce((function(e,n){var i,a=n.name,s=n.defaultValue;a&&(e[a]=void 0!==t[a]?t[a]:null!=(i=fo[a])?i:s);return e}),{});return Object.assign({},t,n)}function bo(t,e){var n=e?Object.keys(vo(Object.assign({},fo,{plugins:e}))):mo,i=n.reduce((function(e,n){var i=(t.getAttribute("data-tippy-"+n)||"").trim();if(!i)return e;if("content"===n)e[n]=i;else try{e[n]=JSON.parse(i)}catch(a){e[n]=i}return e}),{});return i}function yo(t,e){var n=Object.assign({},e,{content:Bs(e.content,[t])},e.ignoreAttributes?{}:bo(t,e.plugins));return n.aria=Object.assign({},fo.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}var _o=function(){return"innerHTML"};function So(t,e){t[_o()]=e}function xo(t){var e=zs();return!0===t?e.className=Ds:(e.className=As,Ws(t)?e.appendChild(t):So(e,t)),e}function Co(t,e){Ws(e.content)?(So(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?So(t,e.content):t.textContent=e.content)}function wo(t){var e=t.firstElementChild,n=Fs(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(ks)})),arrow:n.find((function(t){return t.classList.contains(Ds)||t.classList.contains(As)})),backdrop:n.find((function(t){return t.classList.contains(Ls)}))}}function Oo(t){var e=zs(),n=zs();n.className=Es,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=zs();function a(n,i){var a=wo(e),s=a.box,o=a.content,r=a.arrow;i.theme?s.setAttribute("data-theme",i.theme):s.removeAttribute("data-theme"),"string"===typeof i.animation?s.setAttribute("data-animation",i.animation):s.removeAttribute("data-animation"),i.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth="number"===typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?s.setAttribute("role",i.role):s.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||Co(o,t.props),i.arrow?r?n.arrow!==i.arrow&&(s.removeChild(r),s.appendChild(xo(i.arrow))):s.appendChild(xo(i.arrow)):r&&s.removeChild(r)}return i.className=ks,i.setAttribute("data-state","hidden"),Co(i,t.props),e.appendChild(n),n.appendChild(i),a(t.props,t.props),{popper:e,onUpdate:a}}Oo.$$tippy=!0;var Io=1,Eo=[],ko=[];function Lo(t,e){var n,i,a,s,o,r,l,d=yo(t,Object.assign({},fo,vo(Ks(e)))),u=!1,c=!1,p=!1,h=!1,f=[],m=Rs(Y,d.interactiveDebounce),g=Io++,v=null,b=Hs(d.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:g,reference:t,popper:zs(),popperInstance:v,props:d,state:y,plugins:b,clearDelayTimeouts:lt,setProps:dt,setContent:ut,show:ct,hide:pt,hideWithInteractivity:ht,enable:ot,disable:rt,unmount:ft,destroy:mt};if(!d.render)return _;var S=d.render(_),x=S.popper,C=S.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,t._tippy=_,x._tippy=_;var w=b.map((function(t){return t.fn(_)})),O=t.hasAttribute("aria-expanded");return U(),B(),P(),$("onCreate",[_]),d.showOnCreate&&at(),x.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&D().addEventListener("mousemove",m)})),_;function I(){var t=_.props.touch;return Array.isArray(t)?t:[t,0]}function E(){return"hold"===I()[0]}function k(){var t;return!(null==(t=_.props.render)||!t.$$tippy)}function L(){return l||t}function D(){var t=L().parentNode;return t?Js(t):document}function A(){return wo(x)}function T(t){return _.state.isMounted&&!_.state.isVisible||io.isTouch||s&&"focus"===s.type?0:$s(_.props.delay,t?0:1,fo.delay)}function P(t){void 0===t&&(t=!1),x.style.pointerEvents=_.props.interactive&&!t?"":"none",x.style.zIndex=""+_.props.zIndex}function $(t,e,n){var i;(void 0===n&&(n=!0),w.forEach((function(n){n[t]&&n[t].apply(n,e)})),n)&&(i=_.props)[t].apply(i,e)}function M(){var e=_.props.aria;if(e.content){var n="aria-"+e.content,i=x.id,a=Vs(_.props.triggerTarget||t);a.forEach((function(t){var e=t.getAttribute(n);if(_.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var a=e&&e.replace(i,"").trim();a?t.setAttribute(n,a):t.removeAttribute(n)}}))}}function B(){if(!O&&_.props.aria.expanded){var e=Vs(_.props.triggerTarget||t);e.forEach((function(t){_.props.interactive?t.setAttribute("aria-expanded",_.state.isVisible&&t===L()?"true":"false"):t.removeAttribute("aria-expanded")}))}}function R(){D().removeEventListener("mousemove",m),Eo=Eo.filter((function(t){return t!==m}))}function N(e){if(!io.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!_.props.interactive||!no(x,n)){if(Vs(_.props.triggerTarget||t).some((function(t){return no(t,n)}))){if(io.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else $("onClickOutside",[_,e]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),c=!0,setTimeout((function(){c=!1})),_.state.isMounted||q())}}}function V(){p=!0}function j(){p=!1}function H(){var t=D();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,Ts),t.addEventListener("touchstart",j,Ts),t.addEventListener("touchmove",V,Ts)}function q(){var t=D();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,Ts),t.removeEventListener("touchstart",j,Ts),t.removeEventListener("touchmove",V,Ts)}function F(t,e){z(t,(function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}function K(t,e){z(t,e)}function z(t,e){var n=A().box;function i(t){t.target===n&&(eo(n,"remove",i),e())}if(0===t)return e();eo(n,"remove",o),eo(n,"add",i),o=i}function W(e,n,i){void 0===i&&(i=!1);var a=Vs(_.props.triggerTarget||t);a.forEach((function(t){t.addEventListener(e,n,i),f.push({node:t,eventType:e,handler:n,options:i})}))}function U(){E()&&(W("touchstart",Z,{passive:!0}),W("touchend",X,{passive:!0})),Ns(_.props.trigger).forEach((function(t){if("manual"!==t)switch(W(t,Z),t){case"mouseenter":W("mouseleave",X);break;case"focus":W(co?"focusout":"blur",Q);break;case"focusin":W("focusout",Q);break}}))}function G(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,a=t.options;e.removeEventListener(n,i,a)})),f=[]}function Z(t){var e,n=!1;if(_.state.isEnabled&&!J(t)&&!c){var i="focus"===(null==(e=s)?void 0:e.type);s=t,l=t.currentTarget,B(),!_.state.isVisible&&Gs(t)&&Eo.forEach((function(e){return e(t)})),"click"===t.type&&(_.props.trigger.indexOf("mouseenter")<0||u)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:at(t),"click"===t.type&&(u=!n),n&&!i&&st(t)}}function Y(t){var e=t.target,n=L().contains(e)||x.contains(e);if("mousemove"!==t.type||!n){var i=it().concat(x).map((function(t){var e,n=t._tippy,i=null==(e=n.popperInstance)?void 0:e.state;return i?{popperRect:t.getBoundingClientRect(),popperState:i,props:d}:null})).filter(Boolean);to(i,t)&&(R(),st(t))}}function X(t){var e=J(t)||_.props.trigger.indexOf("click")>=0&&u;e||(_.props.interactive?_.hideWithInteractivity(t):st(t))}function Q(t){_.props.trigger.indexOf("focusin")<0&&t.target!==L()||_.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||st(t)}function J(t){return!!io.isTouch&&E()!==t.type.indexOf("touch")>=0}function tt(){et();var e=_.props,n=e.popperOptions,i=e.placement,a=e.offset,s=e.getReferenceClientRect,o=e.moveTransition,l=k()?wo(x).arrow:null,d=s?{getBoundingClientRect:s,contextElement:s.contextElement||L()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(k()){var n=A(),i=n.box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?i.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?i.setAttribute("data-"+t,""):i.removeAttribute("data-"+t)})),e.attributes.popper={}}}},c=[{name:"offset",options:{offset:a}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},u];k()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),_.popperInstance=Is(d,x,Object.assign({},n,{placement:i,onFirstUpdate:r,modifiers:c}))}function et(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function nt(){var t,e=_.props.appendTo,n=L();t=_.props.interactive&&e===Ps||"parent"===e?n.parentNode:Bs(e,[n]),t.contains(x)||t.appendChild(x),_.state.isMounted=!0,tt()}function it(){return Fs(x.querySelectorAll("[data-tippy-root]"))}function at(t){_.clearDelayTimeouts(),t&&$("onTrigger",[_,t]),H();var e=T(!0),i=I(),a=i[0],s=i[1];io.isTouch&&"hold"===a&&s&&(e=s),e?n=setTimeout((function(){_.show()}),e):_.show()}function st(t){if(_.clearDelayTimeouts(),$("onUntrigger",[_,t]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&u)){var e=T(!1);e?i=setTimeout((function(){_.state.isVisible&&_.hide()}),e):a=requestAnimationFrame((function(){_.hide()}))}}else q()}function ot(){_.state.isEnabled=!0}function rt(){_.hide(),_.state.isEnabled=!1}function lt(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(a)}function dt(e){if(!_.state.isDestroyed){$("onBeforeUpdate",[_,e]),G();var n=_.props,i=yo(t,Object.assign({},n,Ks(e),{ignoreAttributes:!0}));_.props=i,U(),n.interactiveDebounce!==i.interactiveDebounce&&(R(),m=Rs(Y,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?Vs(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),B(),P(),C&&C(n,i),_.popperInstance&&(tt(),it().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),$("onAfterUpdate",[_,e])}}function ut(t){_.setProps({content:t})}function ct(){var t=_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=io.isTouch&&!_.props.touch,a=$s(_.props.duration,0,fo.duration);if(!(t||e||n||i)&&!L().hasAttribute("disabled")&&($("onShow",[_],!1),!1!==_.props.onShow(_))){if(_.state.isVisible=!0,k()&&(x.style.visibility="visible"),P(),H(),_.state.isMounted||(x.style.transition="none"),k()){var s=A(),o=s.box,l=s.content;Xs([o,l],0)}r=function(){var t;if(_.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=_.props.moveTransition,k()&&_.props.animation){var e=A(),n=e.box,i=e.content;Xs([n,i],a),Qs([n,i],"visible")}M(),B(),js(ko,_),null==(t=_.popperInstance)||t.forceUpdate(),$("onMount",[_]),_.props.animation&&k()&&K(a,(function(){_.state.isShown=!0,$("onShown",[_])}))}},nt()}}function pt(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=$s(_.props.duration,1,fo.duration);if(!(t||e||n)&&($("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,h=!1,u=!1,k()&&(x.style.visibility="hidden"),R(),q(),P(!0),k()){var a=A(),s=a.box,o=a.content;_.props.animation&&(Xs([s,o],i),Qs([s,o],"hidden"))}M(),B(),_.props.animation?k()&&F(i,_.unmount):_.unmount()}}function ht(t){D().addEventListener("mousemove",m),js(Eo,m),m(t)}function ft(){_.state.isVisible&&_.hide(),_.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),ko=ko.filter((function(t){return t!==_})),_.state.isMounted=!1,$("onHidden",[_]))}function mt(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),G(),delete t._tippy,_.state.isDestroyed=!0,$("onDestroy",[_]))}}function Do(t,e){void 0===e&&(e={});var n=fo.plugins.concat(e.plugins||[]);lo();var i=Object.assign({},e,{plugins:n}),a=Ys(t),s=a.reduce((function(t,e){var n=e&&Lo(e,i);return n&&t.push(n),t}),[]);return Ws(t)?s[0]:s}Do.defaultProps=fo,Do.setDefaultProps=go,Do.currentInput=io;Object.assign({},Fa,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}});var Ao={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function i(){return t.popperInstance?t.popperInstance.state.elements.reference:e}function a(e){return!0===t.props.sticky||t.props.sticky===e}var s=null,o=null;function r(){var e=a("reference")?i().getBoundingClientRect():null,l=a("popper")?n.getBoundingClientRect():null;(e&&To(s,e)||l&&To(o,l))&&t.popperInstance&&t.popperInstance.update(),s=e,o=l,t.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){t.props.sticky&&r()}}}};function To(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}Do.setDefaultProps({render:Oo});const Po=Do,$o=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),Mo=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Bo=[!0,!1,"reference","popper"],Ro=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,Po(t,{...e,plugins:[Ao],render:()=>Ho(n)})},No=function(){let{boundary:t="clippingParents",fallbackPlacements:e=[],onChangePlacement:n=(()=>{}),hasHideModifierEnabled:i=!1,tether:a=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{modifiers:[{name:"flip",options:{fallbackPlacements:e,boundary:t}},{name:"hide",enabled:i},{name:"preventOverflow",options:{altAxis:!a,tether:a}},$o((t=>{let{state:e}=t;n(e.placement)}))]}},Vo=(t,e)=>{const n=document.createElement("span");return n.setAttribute("tabindex",e),n.innerText=t.innerText||"",t.innerText="",t.appendChild(n),n},jo=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";const n=null===t||void 0===t?void 0:t.children[0];return n?(L(n)||n.setAttribute("tabindex",e),n):Vo(t)},Ho=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},qo={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},Fo={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},Ko=["dialog","menu","listbox","tree","grid"],zo=[null,"anchor"],Wo=["none","dialog","first"],Uo=[...Bo];let Go="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Zo=(t=21)=>{let e="",n=t;while(n--)e+=Go[64*Math.random()|0];return e};function Yo(t){return Yo="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yo(t)}var Xo={selector:"vue-portal-target-".concat(Zo())},Qo=function(t){return Xo.selector=t},Jo="undefined"!==typeof window&&void 0!==("undefined"===typeof document?"undefined":Yo(document)),tr=r().extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(t){return{updatedNodes:t.nodes}},render:function(t){var e=this.updatedNodes&&this.updatedNodes();return e?1!==e.length||e[0].text?t(this.tag||"DIV",e):e:t()},destroyed:function(){var t=this.$el;t&&t.parentNode.removeChild(t)}}),er=r().extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(Xo.selector)}},tag:{type:String,default:"DIV"}},render:function(t){if(this.disabled){var e=this.$scopedSlots&&this.$scopedSlots.default();return e?e.length<2&&!e[0].text?e:t(this.tag,e):t()}return t()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var t=this;this.$nextTick((function(){t.disabled||t.slotFn===t.$scopedSlots.default||(t.container.updatedNodes=t.$scopedSlots.default),t.slotFn=t.$scopedSlots.default}))},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(t){t?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(Jo)return document.querySelector(this.selector)},insertTargetEl:function(){if(Jo){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(Jo){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new tr({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function nr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.name||"portal",er),e.defaultSelector&&Qo(e.defaultSelector)}"undefined"!==typeof window&&window.Vue&&window.Vue===r()&&r().use(nr);var ir=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"d-popover__header":"header"===t.type,"d-popover__footer":"footer"===t.type},attrs:{"data-qa":"dt-popover-header-footer"}},[t.$slots.content?n("div",{class:["d-to-ellipsis","d-w100p",t.contentClass],attrs:{"data-qa":"dt-popover-header-footer-content"}},[t._t("content")],2):t._e(),t.showCloseButton?n("dt-button",t._b({ref:"popover__close-button",staticClass:"d-p6 d-mr6 d-bc-transparent",attrs:{"data-qa":"dt-popover-close",importance:"outlined",kind:"muted",circle:""},on:{click:function(e){return t.$emit("close")}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"300"}})]},proxy:!0}],null,!1,2538694920)},"dt-button",t.closeButtonProps,!1)):t._e()],1)},ar=[];const sr={name:"PopoverHeaderFooter",components:{DtButton:Nt,DtIcon:it},props:{type:{type:String,validator:function(t){return["header","footer"].includes(t)}},contentClass:{type:[String,Array,Object],default:""},showCloseButton:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>{}}},emits:["close"],methods:{focusCloseButton(){var t;const e=null===(t=this.$refs["popover__close-button"])||void 0===t?void 0:t.$el;null===e||void 0===e||e.focus()}}},or=sr;var rr=B(or,ir,ar,!1,null,null,null);const lr=rr.exports,dr={name:"DtPopover",components:{SrOnlyCloseButton:zt,DtLazyShow:mi,PopoverHeaderFooter:lr,Portal:er},mixins:[Jt,Vt],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:t=>Ko.includes(t)},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null},closeButtonProps:{type:Object,default:()=>({})},padding:{type:String,default:"large",validator:t=>Object.keys(qo).some((e=>e===t))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:t=>zo.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return w()}},offset:{type:Array,default:()=>[0,4]},hideOnClick:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom-end"},tether:{type:Boolean,default:!0},sticky:{type:[Boolean,String],default:!1,validator:t=>Uo.includes(t)},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:"first",validator:t=>Wo.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:qo,POPOVER_HEADER_FOOTER_PADDING_CLASSES:Fo,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{popoverListeners(){return{...this.$listeners,keydown:t=>{this.onKeydown(t),this.$emit("keydown",t)},"after-leave":t=>{this.onLeaveTransitionComplete()},"after-enter":t=>{this.onEnterTransitionComplete()}}},labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&w("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(t){this.tip.setProps({zIndex:this.modal?650:this.calculateAnchorZindex()})},offset(t){this.tip.setProps({offset:t})},sticky(t){this.tip.setProps({sticky:t})},fallbackPlacements(){this.tip.setProps({popperOptions:this.popperOptions()})},tether(){this.tip.setProps({popperOptions:this.popperOptions()})},placement(t){var e;null===(e=this.tip)||void 0===e||e.setProps({placement:t})},open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0},isOpen(t,e){t?(this.tip.setProps({zIndex:this.modal?650:this.calculateAnchorZindex()}),this.tip.show(),this.addClosePopoverEventListener()):t||e===t||(this.removeClosePopoverEventListener(),this.tip.hide())}},mounted(){const t=document.getElementById(this.externalAnchor);this.anchorEl=null!==t&&void 0!==t?t:this.$refs.anchor.children[0],this.popoverContentEl=this.$refs.content.$el,"anchor"===this.contentWidth&&window.addEventListener("resize",this.onResize),this.tip=Ro(this.anchorEl,{popperOptions:this.popperOptions(),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,sticky:this.sticky,appendTo:document.body,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow}),this.isOpen&&this.tip.show()},beforeDestroy(){var t;window.removeEventListener("resize",this.onResize),null===(t=this.tip)||void 0===t||t.destroy(),this.removeReferences(),this.removeClosePopoverEventListener()},methods:{popperOptions(){return No({fallbackPlacements:this.fallbackPlacements,tether:this.tether,hasHideModifierEnabled:!0})},validateProps(){this.modal&&"none"===this.initialFocusElement&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?650:300},defaultToggleOpen(t){var e,n;this.openOnContext||null!==(e=this.open)&&void 0!==e||this.anchorEl.contains(t.target)&&(null===(n=this.anchorEl)||void 0===n||!n.disabled)&&this.toggleOpen()},onContext(t){var e;this.openOnContext&&(t.preventDefault(),null===(e=this.tip)||void 0===e||e.setProps({placement:"right-start"}),this.tip.setProps({getReferenceClientRect:()=>({width:0,height:0,top:t.clientY,bottom:t.clientY,left:t.clientX,right:t.clientX})}),this.toggleOpen())},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(t){null===this.open&&this.openWithArrowKeys&&this.anchorEl.contains(t.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 t;this.modal&&(this.focusFirstElement(this.$refs.anchor),await this.$nextTick()),null===(t=this.tip)||void 0===t||t.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 t=this.$refs.content.$el.querySelector(this.initialFocusElement);t?t.focus():console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'),t?t.focus():this.$refs.content.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;const t=this.popoverContentEl.querySelector(".d-popover__anchor--opened");t||this.closePopover()},onKeydown(t){"Tab"===t.key&&this.modal&&this.focusTrappedTabPress(t,this.popoverContentEl),"Escape"===t.key&&this.closePopover()},async setPopoverContentAnchorWidth(){await this.$nextTick(),this.popoverContentEl.style.width=`${this.anchorEl.clientWidth}px`},focusFirstElementIfNeeded(t){const e=this._getFocusableElements(t,!0);if(0!==e.length)this.focusFirstElement(t);else if(this.showCloseButton){var n;null===(n=this.$refs.popover__header)||void 0===n||n.focusCloseButton()}else this.$refs.content.$el.focus()}}},ur=dr;n(155);var cr=B(ur,xi,Ci,!1,null,null,null);const pr=cr.exports,hr={none:void 0,small:"d-py6",large:"d-py12"},fr={name:"DtDropdown",components:{DtPopover:pr,SrOnlyCloseButton:zt},mixins:[He({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),Vt],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},padding:{type:String,default:"small",validator:t=>Object.keys(hr).some((e=>e===t))},modal:{type:Boolean,default:!0},contentWidth:{type:String,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},listId:{type:String,default(){return w()}},navigationType:{type:String,default:Ue.ARROW_KEYS,validator:t=>Object.values(Ue).includes(t)},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","opened","update:open"],data(){return{LIST_ITEM_NAVIGATION_TYPES:Ue,DROPDOWN_PADDING_CLASSES:hr,EVENT_KEYNAMES:m,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:t=>{this.updateInitialHighlightIndex(t)},keydown:t=>{const e=t.code;switch(e){case m.up:case m.arrowup:this.onKeyValidation(t,"onUpKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.down:case m.arrowdown:this.onKeyValidation(t,"onDownKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.space:case m.spacebar:this.onSpaceKey();break;case m.enter:this.onEnterKey();break;case m.home:this.onKeyValidation(t,"onHomeKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.end:this.onKeyValidation(t,"onEndKeyPress"),t.stopPropagation(),t.preventDefault();break;default:this.onKeyValidation(t,"onKeyPress");break}this.$emit("keydown",t)}}},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},listClasses(){return["d-ps-relative","d-px0",hr[this.padding],this.listClass,{"d-context-menu-list":this.openOnContext}]}},methods:{onMouseHighlight(t){const e=t.target.closest("li");e&&e.role&&this.highlightId!==e.id&&(this.setHighlightId(e.id),e.focus())},getListElement(){return this.$refs.listWrapper},clearHighlightIndex(){this.setHighlightIndex(-1)},afterHighlight(){this.visuallyHiddenClose&&this.highlightIndex===this._itemsLength()-1||this.$emit("highlight",this.highlightIndex)},updateInitialHighlightIndex(t){this.isOpen=t,t?(this.openedWithKeyboard&&this.isArrowKeyNav&&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(t){if(this.isOpen&&this.isArrowKeyNav&&this.isValidCharacter(t.key))return t.stopPropagation(),t.preventDefault(),this.onNavigationKey(t.key)},onKeyValidation(t,e){(null===this.open||this.openOnContext)&&this[e](t)}}},mr=fr;n(427);var gr=B(mr,_i,Si,!1,null,null,null);const vr=gr.exports;var br=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",[t.heading?n("div",{staticClass:"dt-dropdown-list--header d-fs12 d-fc-black-400 d-fw-bold d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},[n("span",[t._v(t._s(t.heading))])]):t._e(),n("ul",{class:["d-ps-relative","d-px0",t.listClass],attrs:{"data-qa":"dt-dropdown-list-wrapper"}},[t._t("default")],2)])},yr=[];const _r={name:"DtDropdownList",props:{heading:{type:String,default:""},listClass:{type:[String,Array,Object],default:""}}},Sr=_r;var xr=B(Sr,br,yr,!1,null,null,null);const Cr=xr.exports;var wr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"dt-list-separator d-bgc-black-300 d-my8",attrs:{"aria-hidden":"true"}})},Or=[];const Ir={name:"DtDropdownSeparator"},Er=Ir;n(717);var kr=B(Er,wr,Or,!1,null,null,null);const Lr=kr.exports;var Dr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[n("label",{staticClass:"base-input__label",attrs:{"aria-details":t.$slots.description||t.description?t.descriptionKey:void 0,"data-qa":"dt-input-label-wrapper"}},[t._t("labelSlot",(function(){return[t.label?n("div",{ref:"label",class:["base-input__label-text","d-label",t.labelSizeClasses[t.size]],attrs:{"data-qa":"dt-input-label"}},[t._v(" "+t._s(t.label)+" ")]):t._e()]})),t.$slots.description||t.description||t.shouldValidateLength?n("div",{ref:"description",class:["base-input__description","d-description","d-fd-column",t.descriptionSizeClasses[t.size]],attrs:{id:t.descriptionKey,"data-qa":"dt-input-description"}},[t.$slots.description||t.description?n("div",[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),t.shouldValidateLength?n("div",{class:["d-mb2"],attrs:{"data-qa":"dt-input-length-description"}},[t._v(" "+t._s(t.validationProps.length.description)+" ")]):t._e()]):t._e(),n("div",{class:t.inputWrapperClasses(),attrs:{"read-only":t.disabled}},[t.$slots.leftIcon?n("span",{class:t.inputIconClasses("left"),attrs:{"data-qa":"dt-input-left-icon-wrapper"},on:{focusout:t.onBlur}},[t._t("leftIcon")],2):t._e(),t.isTextarea?n("textarea",t._g(t._b({ref:"input",class:t.inputClasses(),attrs:{name:t.name,disabled:t.disabled,maxlength:t.shouldLimitMaxLength?t.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:t.value}},"textarea",t.$attrs,!1),t.inputListeners)):n("input",t._g(t._b({ref:"input",class:t.inputClasses(),attrs:{name:t.name,type:t.type,disabled:t.disabled,maxlength:t.shouldLimitMaxLength?t.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:t.value}},"input",t.$attrs,!1),t.inputListeners)),t.$slots.rightIcon?n("span",{class:t.inputIconClasses("right"),attrs:{"data-qa":"dt-input-right-icon-wrapper"},on:{focusout:t.onBlur}},[t._t("rightIcon")],2):t._e()])],2),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.validationMessages,"show-messages":t.showMessages,"data-qa":"dt-input-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)},Ar=[];const Tr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Pr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var $r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showMessages&&!t.isFilteredValidationMessagesEmpty?n("div",{staticClass:"base-input__messages d-d-flex d-fd-column",attrs:{"data-qa":"validation-messages-container"}},t._l(t.filteredValidationMessages,(function(e,i){var a=e.message,s=e.type;return n("div",{key:t.getMessageKey(s,i),class:["base-input__message","d-validation-message",t.messageTypeClass(s)],attrs:{role:"status","aria-live":"polite","data-qa":"validation-message"}},[n("p",{domProps:{innerHTML:t._s(a)}})])})),0):t._e()},Mr=[];function Br(t){return!t||t.every((t=>"string"===typeof t||"object"===typeof t&&Object.values(c).includes(null===t||void 0===t?void 0:t.type)))}const Rr={name:"DtValidationMessages",props:{id:{type:String,default(){return w()}},validationMessages:{type:Array,default:()=>[],validator:t=>Br(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return I(this.validationMessages)},validationState(){return E(this.validationMessages)}},methods:{getMessageKey(t,e){return`validation-message-${t}-${e}-${this.id}`},messageTypeClass(t){const e={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 e[t]}}},Nr=Rr;var Vr=B(Nr,$r,Mr,!1,null,null,null);const jr=Vr.exports,Hr={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:t=>!t||Object.values(c).includes(t)},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(t){this.internalDisabled=t},validationState(t){this.internalValidationState=t}},methods:{validateInputLabels(t,e){t||e||r().util.warn("You must provide an aria-label when there is no label passed",this)}}},qr={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(t){this.internalChecked=t},indeterminate(t){this.internalIndeterminate=t}}},Fr={inject:{groupContext:{default:{}},setGroupValue:{default:()=>()=>{}}},data(){return{internalValue:this.value}},computed:{hasGroup(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.name)&&void 0!==t?t:""},groupValue(){var t;return null===(t=this.groupContext)||void 0===t?void 0:t.value},groupDisabled(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.disabled)&&void 0!==t&&t},groupValidationState(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.validationState)&&void 0!==t?t:null},internalName(){return this.name||this.groupName}},watch:{value(t){this.internalValue=t},groupValue:{immediate:!0,handler(t){this.hasGroup&&(this.internalValue=t)}},groupDisabled:{immediate:!0,handler(t){this.hasGroup&&(this.internalDisabled=this.disabled||t)}},groupValidationState:{immediate:!0,handler(t){this.hasGroup&&(this.internalValidationState=t||this.validationState)}}},created(){var t;const e=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),n=null===(t=this.groupContext)||void 0===t?void 0:t.name;this.name&&e&&n!==this.name&&r().util.warn(`Component is being used inside a Group. Did you mean to override the name prop value (${n}) with (${this.name})? It is recommended to only set name at the Group level.`,this)}},Kr={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>Br(t)}},computed:{formattedMessages(){return O(this.messages)}}},zr={name:"DtInput",components:{DtValidationMessages:jr},mixins:[Kr],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Tr.TEXT,validator:t=>Object.values(Tr).includes(t)},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},description:{type:String,default:""},size:{type:String,default:null,validator:t=>Object.values(Pr).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(Pr).includes(t)},inputClass:{type:[String,Object,Array],default:""},inputWrapperClass:{type:[String,Object,Array],default:""},currentLength:{type:Number,default:null},validate:{type:Object,default:null}},emits:["input","blur","clear","focus","focusin","focusout","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===Tr.TEXTAREA},isDefaultSize(){return this.size===Pr.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Pr.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Pr).includes(this.size)},isValidDescriptionSize(){return Object.values(p).includes(this.size)},inputComponent(){return this.isTextarea?"textarea":"input"},inputListeners(){return{...this.$listeners,input:t=>this.$emit("input",t.target.value),focus:t=>{this.isInputFocused=!0,this.$emit("focus",t)},blur:t=>{this.isInputFocused=!1,this.onBlur(t)}}},descriptionKey(){return`input-description-${w()}`},inputState(){return E(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.value)},validationProps(){var t,e,n,i,a,s,o,r,l,d;return{length:{description:null===this||void 0===this||null===(t=this.validate)||void 0===t||null===(e=t.length)||void 0===e?void 0:e.description,max:null===this||void 0===this||null===(n=this.validate)||void 0===n||null===(i=n.length)||void 0===i?void 0:i.max,warn:null===this||void 0===this||null===(a=this.validate)||void 0===a||null===(s=a.length)||void 0===s?void 0:s.warn,message:null===this||void 0===this||null===(o=this.validate)||void 0===o||null===(r=o.length)||void 0===r?void 0:r.message,limitMaxLength:!(null===this||void 0===this||null===(l=this.validate)||void 0===l||null===(d=l.length)||void 0===d||!d.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?c.WARNING:null:c.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 t={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 t[this.inputComponent][this.size]},stateClass(){const t={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[t[this.inputComponent][this.inputState]]}},watch:{isInvalid(t){this.$emit("update:invalid",t)},value:{immediate:!0,handler(t){this.shouldValidateLength&&this.validateLength(this.inputLength),null==this.currentLength&&this.$emit("update:length",this.calculateLength(t))}}},methods:{inputClasses(){return["base-input__input","input"===this.inputComponent?"d-input":"d-textarea",{[this.stateClass]:this.showInputState,"d-input-icon--left":this.$slots.leftIcon,"d-input-icon--right":this.$slots.rightIcon},this.sizeModifierClass,this.inputClass]},inputWrapperClasses(){return["d-input__wrapper",{[this.stateClass]:this.showInputState},this.inputWrapperClass]},calculateLength(t){return"string"!==typeof t?0:[...t].length},inputLengthErrorMessage(){return{message:this.validationProps.length.message,type:this.inputLengthState}},inputIconClasses(t){const e={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[t],"d-input-icon",{[e[this.iconSizeComputed]]:!this.isDefaultIconSize},this.sizeModifierClass]},onBlur(t){var e;null!==(e=this.$refs.container)&&void 0!==e&&e.contains(t.relatedTarget)||this.$emit("blur",t)},clear(){this.$emit("input",""),this.$emit("clear")},blur(){this.$refs.input.blur()},focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},getMessageKey(t,e){return`message-${t}-${e}`},validateLength(t){this.isInvalid=t>this.validationProps.length.max}}},Wr=zr;var Ur=B(Wr,Dr,Ar,!1,null,null,null);const Gr=Ur.exports;var Zr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("fieldset",{attrs:{"data-qa":t.dataQaGroup}},[t.$slots.legend||t.legend?n("legend",t._b({class:["d-label",t.legendClass],attrs:{"data-qa":t.dataQaGroupLegend}},"legend",t.legendChildProps,!1),[t._t("legend",(function(){return[t._v(" "+t._s(t.legend)+" ")]}))],2):t._e(),t._t("default"),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":t.dataQaGroupMessages}},"dt-validation-messages",t.messagesChildProps,!1))],2)},Yr=[];const Xr={components:{DtValidationMessages:jr},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return w()}},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:t=>Br(t)},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:()=>({})}},data(){const t=O(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:E(t)}}},computed:{formattedMessages(){return O(this.messages)},validationState(){return E(this.formattedMessages)}},watch:{disabled(t){this.provideObj.disabled=t},validationState(t){this.provideObj.validationState=t}},methods:{setGroupValue(t){this.internalValue=t,this.$emit("input",t)}},mounted(){this.legend||this.$slots.legend||this.$attrs["aria-label"]||r().util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},Qr={name:"DtInputGroup",components:{DtValidationMessages:jr},mixins:[Xr],props:{dataQaGroup:{type:String,default:"input-group"},dataQaGroupLegend:{type:String,default:"input-group-legend"},dataQaGroupMessages:{type:String,default:"input-group-messages"}},emits:["input"],data(){return{internalValue:this.value,provideObj:{value:this.value}}},watch:{value(t){this.internalValue=t},internalValue(t){this.provideObj.value=t}},methods:{getMessageKey(t,e){return`input-group-message-${t}-${e}-${this.id}`}}},Jr=Qr;var tl=B(Jr,Zr,Yr,!1,null,null,null);const el=tl.exports;var nl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-lazy-show",t._g({class:["d-modal",t.MODAL_KIND_MODIFIERS[t.kind],t.MODAL_SIZE_MODIFIERS[t.size],t.modalClass],attrs:{transition:"d-zoom",show:t.show,"data-qa":"dt-modal","aria-hidden":t.open}},t.modalListeners),[t.show&&(t.$slots.banner||t.bannerTitle)?n("div",{class:["d-modal__banner",t.bannerClass],attrs:{"data-qa":"dt-modal-banner"}},[t._t("banner",(function(){return[t._v(" "+t._s(t.bannerTitle)+" ")]}))],2):t._e(),n("transition",{attrs:{appear:"",name:"d-modal__dialog"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],class:["d-modal__dialog",{"d-modal__dialog--scrollable":t.fixedHeaderFooter},t.dialogClass],attrs:{role:"dialog","aria-modal":"true","aria-describedby":t.describedById,"aria-labelledby":t.labelledById}},[t.$slots.header?n("div",{staticClass:"d-modal__header",attrs:{id:t.labelledById,"data-qa":"dt-modal-title"}},[t._t("header")],2):n("h2",{staticClass:"d-modal__header",attrs:{id:t.labelledById,"data-qa":"dt-modal-title"}},[t._v(" "+t._s(t.title)+" ")]),t.$slots.default?n("div",{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[t._t("default")],2):n("p",{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[t._v(" "+t._s(t.copy)+" ")]),t.hasFooterSlot?n("footer",{staticClass:"d-modal__footer"},[t._t("footer")],2):t._e(),t.hideClose?t._e():n("dt-button",t._b({staticClass:"d-modal__close",attrs:{circle:"",size:"lg",importance:"clear","aria-label":t.closeButtonProps.ariaLabel},on:{click:t.close},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)},"dt-button",t.closeButtonProps,!1)),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.close}}):t._e()],1)])],1)},il=[];const al={default:"",danger:"d-modal--danger"},sl={default:"",full:"d-modal--full"},ol={name:"DtModal",components:{DtLazyShow:mi,DtButton:Nt,DtIcon:it,SrOnlyCloseButton:zt},mixins:[Jt,Vt],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return w()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(al).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(sl).includes(t)},modalClass:{type:[String,Object,Array],default:""},dialogClass:{type:[String,Object,Array],default:""},bannerClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},fixedHeaderFooter:{type:Boolean,default:!0}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:al,MODAL_SIZE_MODIFIERS:sl,EVENT_KEYNAMES:m}},computed:{modalListeners(){return{...this.$listeners,click:t=>{t.target===t.currentTarget&&this.close(),this.$emit("click",t)},keydown:t=>{switch(t.code){case m.esc:case m.escape:this.close();break;case m.tab:this.trapFocus(t);break}this.$emit("keydown",t)},"after-enter":t=>{t.target===t.currentTarget&&this.setFocusAfterTransition()}}},open(){return`${!this.show}`},hasFooterSlot(){return!!this.$slots.footer}},watch:{show:{immediate:!0,handler(t){var e;t?this.previousActiveElement=document.activeElement:(null===(e=this.previousActiveElement)||void 0===e||e.focus(),this.previousActiveElement=null)}},$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{close(){this.$emit("update:show",!1)},setFocusAfterTransition(){this.focusFirstElement()},trapFocus(t){this.show&&this.focusTrappedTabPress(t)},validateProps(){this.hideClose&&!this.visuallyHiddenClose&&console.error("If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props\n need to be set so the component always includes a close button")}}},rl=ol;var ll=B(rl,nl,il,!1,null,null,null);const dl=ll.exports;var ul=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["dt-list-section","d-fs-200","d-lh6","d-py6","d-bc-black-400",{"d-bb":t.separator}],attrs:{id:t.id,role:"group","aria-labelledby":t.id+"-list-section-header",tabindex:"-1"}},[t.header?n("h3",{staticClass:"d-pl12 d-mt6",attrs:{id:t.id+"-list-section-header"}},[t._v(" "+t._s(t.header)+" ")]):t._e(),!t.isCollapsible||t.showAll?n("ol",{attrs:{id:t.id+"-list-section-content"}},[t._t("default")],2):n("ol",{attrs:{id:t.id+"-list-section-content"}},[n("vnodes",{attrs:{vnodes:t.displayedItems}})],1),n("div",{staticClass:"d-d-flex"},[t.isCollapsible?n("dt-button",{staticClass:"d-ml12 d-py6",attrs:{id:t.id+"-list-section-show-more-less",link:""},on:{click:t.showMoreLessClicked}},[t._v(" "+t._s(t.showMoreLessText)+" ")]):t._e(),t._t("footer")],2)])},cl=[];const pl={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:Nt},props:{id:{type:String,default(){return P.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(((t,e)=>e<=this.maxDisplayed-1))}},methods:{showMoreLessClicked(){this.showAll=!this.showAll}}},hl=pl;n(792);var fl=B(hl,ul,cl,!1,null,null,null);const ml=fl.exports;var gl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{class:["d-ps-relative","d-px0",t.listClass],attrs:{id:t.id,role:"group","data-qa":"dt-dropdown-list-wrapper","aria-labelledby":t.id+"-heading"}},[t.heading?n("li",{class:["dt-dropdown-list--header",t.headingClass],attrs:{id:t.id+"-heading",role:"presentation","data-qa":"dt-dropdown-list-heading"}},[t._t("headingSlot",(function(){return[t._v(" "+t._s(t.heading)+" ")]}))],2):t._e(),t._t("default")],2)},vl=[];const bl={name:"DtListItemGroup",props:{id:{type:String,default(){return w()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}},yl=bl;var _l=B(yl,gl,vl,!1,null,null,null);const Sl=_l.exports;var xl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.noticeClass,attrs:{"data-qa":"notice"}},[n("dt-notice-icon",{attrs:{kind:t.kind}},[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title,role:t.role},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.$listeners),[t._t("action")],2)],1)},Cl=[];const wl={name:"DtNotice",components:{DtNoticeIcon:ut,DtNoticeContent:gt,DtNoticeAction:Zt},mixins:[Vt],props:{titleId:{type:String,default:void 0},contentId:{type:String,default:void 0},title:{type:String,default:""},role:{type:String,default:"status",validate(t){return st.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return at.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeClass(){const t={error:"d-notice--error",info:"d-notice--info",success:"d-notice--success",warning:"d-notice--warning",base:"d-notice--base"};return["d-notice",t[this.kind],{"d-notice--important":this.important}]}}},Ol=wl;var Il=B(Ol,xl,Cl,!1,null,null,null);const El=Il.exports;var kl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"d-d-flex d-fd-row d-gg2 d-ai-center",attrs:{"aria-label":t.ariaLabel}},[n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"data-qa":"dt-pagination-prev","aria-label":t.prevAriaLabel,importance:t.isFirstPage?"primary":"clear",disabled:t.isFirstPage},on:{click:function(e){return t.changePage(t.currentPage-1)}}},[n("template",{slot:"icon"},[n("dt-icon",{attrs:{name:"chevron-left",size:"200"}})],1)],2),t._l(t.pages,(function(e,i){return n("div",{key:"page-"+e+"-"+i},[isNaN(Number(e))?n("div",{staticClass:"d-h32 d-w32 d-d-flex d-ai-center d-jc-center",attrs:{"data-qa":"dt-pagination-separator"}},[t._v(" … ")]):n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"aria-label":t.pageNumberAriaLabel(e),importance:t.currentPage===e?"primary":"clear","label-class":"d-fs-200"},on:{click:function(n){return t.changePage(e)}}},[t._v(" "+t._s(e)+" ")])],1)})),n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"data-qa":"dt-pagination-next","aria-label":t.nextAriaLabel,disabled:t.isLastPage,importance:t.isLastPage?"primary":"clear"},on:{click:function(e){return t.changePage(t.currentPage+1)}}},[n("template",{slot:"icon"},[n("dt-icon",{attrs:{name:"chevron-right",size:"200"}})],1)],2)],2)},Ll=[];const Dl={name:"DtPagination",components:{DtButton:Nt,DtIcon:it},props:{ariaLabel:{type:String,required:!0},totalPages:{type:Number,required:!0},prevAriaLabel:{type:String,required:!0},nextAriaLabel:{type:String,required:!0},pageNumberAriaLabel:{type:Function,required:!0},activePage:{type:Number,default:1},maxVisible:{type:Number,default:5}},emits:["change"],data(){return{currentPage:this.activePage}},computed:{isFirstPage(){return 1===this.currentPage},isLastPage(){return this.currentPage===this.totalPages},pages(){if(0===this.maxVisible)return[];if(this.totalPages<=this.maxVisible)return this.range(1,this.totalPages);const t=this.maxVisible-1,e=this.totalPages-t+1;if(this.currentPage<t)return[...this.range(1,t),"...",this.totalPages];if(this.currentPage>e)return[1,"...",...this.range(e,this.totalPages)];const n=this.maxVisible-(3-this.maxVisible%2),i=Math.floor(n/2),a=this.currentPage-i,s=this.currentPage+i;return[1,"...",...this.range(a,s),"...",this.totalPages]}},methods:{range(t,e){const n=[];t=t>0?t:1;for(let i=t;i<=e;i++)n.push(i);return n},changePage(t){this.currentPage=t,this.$emit("change",this.currentPage)}}},Al=Dl;var Tl=B(Al,kl,Ll,!1,null,null,null);const Pl=Tl.exports;var $l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[n("div",{class:["d-radio-group",{"d-radio-group--disabled":t.internalDisabled}]},[n("div",{staticClass:"d-radio__input"},[n("input",t._g(t._b({class:["d-radio",t.inputValidationClass,t.inputClass],attrs:{name:t.internalName,disabled:t.internalDisabled,type:"radio"},domProps:{checked:t.internalChecked,value:t.value}},"input",t.$attrs,!1),t.inputListeners))]),n("div",{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[n("div",t._b({class:t.labelClass,attrs:{"data-qa":"radio-label"}},"div",t.labelChildProps,!1),[t._t("default",(function(){return[t._v(t._s(t.label))]}))],2),t.$slots.description||t.description?n("div",t._b({class:["d-description",t.descriptionClass],attrs:{"data-qa":"radio-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-radio-validation-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)])])},Ml=[];const Bl={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Rl={name:"DtRadio",components:{DtValidationMessages:jr},mixins:[Hr,qr,Fr,Kr],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Bl[this.internalValidationState]},radioGroupValue(){var t;return null===(t=this.groupContext)||void 0===t?void 0:t.selectedValue},inputListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}}},watch:{radioGroupValue:{immediate:!0,handler(t){this.hasGroup&&(this.internalChecked=t===this.value)}}},methods:{emitValue(t){t!==this.radioGroupValue&&(this.setGroupValue(t),this.$emit("input",t))}}},Nl=Rl;var Vl=B(Nl,$l,Ml,!1,null,null,null);const jl=Vl.exports,Hl={name:"DtRadioGroup",extends:el,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{provideObj:{selectedValue:this.value}}},watch:{value(t){this.provideObj.selectedValue=t}},methods:{setGroupValue(t){this.$emit("input",t)},getMessageKey(t,e){return`radio-group-message-${t}-${e}-${this.id}`}}},ql=Hl;var Fl,Kl,zl=B(ql,Fl,Kl,!1,null,null,null);const Wl=zl.exports;var Ul=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{attrs:{"data-qa":"dt-tab-group"}},[i("div",e._b({class:["d-tablist",e.TAB_LIST_SIZE_MODIFIERS[e.size],(t={},t[e.TAB_LIST_KIND_MODIFIERS.inverted]=e.inverted,t[e.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]=e.borderless,t),e.tabListClass],attrs:{role:"tablist","aria-label":e.label},on:{keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.tabLeft.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.tabRight.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.selectTab.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.selectTab.apply(null,arguments)}],keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"home",void 0,t.key,void 0)?null:e.onHomeButton.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"end",void 0,t.key,void 0)?null:e.onEndButton.apply(null,arguments)}]}},"div",e.tabListChildProps,!1),[e._t("tabs")],2),e._t("default")],2)},Gl=[];const Zl=["default","sm"],Yl={sm:"d-tablist--sm"},Xl={inverted:"d-tablist--inverted"},Ql={borderless:"d-tablist--no-border"},Jl={selected:"d-tab--selected"},td={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(t){return Zl.includes(t)}},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:Yl,TAB_LIST_KIND_MODIFIERS:Xl,TAB_LIST_IMPORTANCE_MODIFIERS:Ql}},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(t){this.focusId=t},getTabChildren(){return this.$children.map((t=>{let{$el:e}=t;return e})).filter((t=>{let{className:e}=t;return e.includes("d-tab")})).map((t=>{var e,n;return{context:t,panelId:null===(e=t.getAttribute("aria-controls"))||void 0===e?void 0:e.replace("dt-panel-",""),id:null===(n=t.getAttribute("id"))||void 0===n?void 0:n.replace("dt-tab-",""),isSelected:"true"===t.getAttribute("aria-selected")}}))},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel(t){let{selected:e,selectOverride:n}=t;this.provideObj.selected=e,n||this.onChange()},tabLeft(){const{index:t,tabs:e}=this.getIndexAndTabs();if(-1===t)return;const n=t-1<0?e.length-1:t-1;this.selectFocusOnTab(n,e)},tabRight(){const{index:t,tabs:e}=this.getIndexAndTabs();if(-1===t)return;const n=t+1>e.length-1?0:t+1;this.selectFocusOnTab(n,e)},selectFocusOnTab(t,e){const{context:n}=e[t];n.focus()},selectTab(){const{tabs:t,index:e}=this.getIndexAndTabs();this.selectTabByIndex(e,t)},selectTabByIndex(t,e){const{context:n,panelId:i}=e[t];this.provideObj.selected=i,n.focus()},getIndexAndTabs(){const t=this.tabs.findIndex((t=>this.focusId?t.id===`${this.focusId}`:t.isSelected));return{tabs:this.tabs,index:t}},onHomeButton(){var t,e;0!==this.tabs.length&&(null===(t=this.tabs[0])||void 0===t||null===(e=t.context)||void 0===e||e.focus())},onEndButton(){var t,e;0!==this.tabs.length&&(null===(t=this.tabs[this.tabs.length-1])||void 0===t||null===(e=t.context)||void 0===e||e.focus())}}},ed=td;var nd=B(ed,Ul,Gl,!1,null,null,null);const id=nd.exports;var ad=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("dt-button",e._g(e._b({class:["d-tab",(t={},t[e.TAB_IMPORTANCE_MODIFIERS.selected]=e.isSelected,t),e.tabClass],attrs:{id:"dt-tab-"+e.id,role:"tab","aria-selected":""+e.isSelected,"aria-controls":"dt-panel-"+e.panelId,"aria-label":e.label,"data-qa":"dt-tab",tabindex:e.isSelected?"0":"-1",disabled:e.groupContext.disabled||e.disabled}},"dt-button",e.$attrs,!1),e.tabListeners),[e._t("default")],2)},sd=[];const od={name:"DtTab",components:{DtButton:Nt},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:Jl}},computed:{isSelected(){return this.groupContext.selected===this.panelId},tabListeners(){return{...this.$listeners,click:t=>{this.selectPanel(),this.$emit("click",t)},focus:t=>{this.setFocus(this.id),this.$emit("focus",t)}}}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.changeContentPanel({selected:this.panelId,selectOverride:t})}}},rd=od;var ld=B(rd,ad,sd,!1,null,null,null);const dd=ld.exports;var ud=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:[{"d-d-none":t.hidePanel},t.tabPanelClass],attrs:{id:"dt-panel-"+t.id,role:"tabpanel",tabindex:"0","aria-labelledby":"dt-tab-"+t.tabId,"aria-hidden":""+t.hidePanel,"data-qa":"dt-tab-panel"}},[t._t("default")],2)},cd=[];const pd={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}}},hd=pd;var fd=B(hd,ud,cd,!1,null,null,null);const md=fd.exports;var gd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[n("div",{class:["d-checkbox-group",{"d-checkbox-group--disabled":t.internalDisabled}]},[n("div",{staticClass:"d-checkbox__input"},[n("input",t._g(t._b({class:["d-checkbox",t.inputValidationClass,t.inputClass],attrs:{type:"checkbox",name:t.internalName,disabled:t.internalDisabled},domProps:{checked:t.internalChecked,value:t.value,indeterminate:t.internalIndeterminate}},"input",t.$attrs,!1),t.inputListeners))]),t.hasLabelOrDescription?n("div",{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[t.hasLabel?n("div",t._b({class:t.labelClass,attrs:{"data-qa":"checkbox-label"}},"div",t.labelChildProps,!1),[t._t("default",(function(){return[t._v(t._s(t.label))]}))],2):t._e(),t.hasDescription?n("div",t._b({class:["d-description",t.descriptionClass],attrs:{"data-qa":"checkbox-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-checkbox-validation-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1):t._e()])])},vd=[];const bd={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},yd={name:"DtCheckbox",components:{DtValidationMessages:jr},mixins:[Hr,qr,Fr,Kr],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return bd[this.internalValidationState]},checkboxGroupValueChecked(){var t,e,n;return null!==(t=null===(e=this.groupContext)||void 0===e||null===(n=e.selectedValues)||void 0===n?void 0:n.includes(this.value))&&void 0!==t&&t},hasLabel(){return!(!this.$slots.default&&!this.label)},hasDescription(){return!(!this.$slots.description&&!this.description)},hasLabelOrDescription(){return this.hasLabel||this.hasDescription},inputListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target)}}},watch:{checkboxGroupValueChecked:{immediate:!0,handler(t){this.hasGroup&&(this.internalChecked=t)}}},mounted(){this.runValidations()},methods:{emitValue(t){let{value:e,checked:n}=t;this.internalIndeterminate&&(n=!1,this.internalIndeterminate=!1,t.checked=!1),this.setGroupValue(e,n),this.$emit("input",n)},runValidations(){this.validateInputLabels(this.hasLabel,this.$attrs["aria-label"])}}},_d=yd;var Sd=B(_d,gd,vd,!1,null,null,null);const xd=Sd.exports,Cd={name:"DtCheckboxGroup",extends:el,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>!t||(r().util.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,provideObj:{selectedValues:this.selectedValues}}},watch:{selectedValues(t){this.internalValue=t},internalValue(t){this.provideObj.selectedValues=t}},methods:{setGroupValue(t,e){e?this.internalValue.includes(t)||this.internalValue.push(t):this.internalValue=this.internalValue.filter((e=>e!==t)),this.$emit("input",this.internalValue)},getMessageKey(t,e){return`checkbox-group-message-${t}-${e}-${this.id}`}}},wd=Cd;var Od,Id,Ed=B(wd,Od,Id,!1,null,null,null);const kd=Ed.exports;var Ld=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"d-chip"},[n(t.interactive?"button":"span",t._g(t._b({tag:"component",class:t.chipClasses(),attrs:{id:t.id,type:t.interactive&&"button","data-qa":"dt-chip","aria-labelledby":t.ariaLabel?void 0:t.id+"-content","aria-label":t.ariaLabel}},"component",t.$attrs,!1),t.chipListeners),[t.$slots.icon?n("span",{staticClass:"d-chip__icon",attrs:{"data-qa":"dt-chip-icon"}},[t._t("icon")],2):t.$slots.avatar?n("span",{attrs:{"data-qa":"dt-chip-avatar"}},[t._t("avatar")],2):t._e(),t.$slots.default?n("span",{class:["d-truncate","d-chip__text",t.contentClass],attrs:{id:t.id+"-content","data-qa":"dt-chip-label"}},[t._t("default")],2):t._e()]),t.hideClose?t._e():n("dt-button",t._b({class:t.chipCloseButtonClasses(),attrs:{"data-qa":"dt-chip-close","aria-label":t.closeButtonProps.ariaLabel},on:{click:function(e){return t.$emit("close")}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:t.closeButtonIconSize}})]},proxy:!0}],null,!1,1192647893)},"dt-button",t.closeButtonProps,!1))],1)},Dd=[];const Ad={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Td={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},Pd={xs:"200",sm:"300",md:"300"},$d={name:"DtChip",components:{DtButton:Nt,DtIcon:it},inheritAttrs:!1,props:{closeButtonProps:{type:Object,default:function(){return{ariaLabel:"close"}},validator:t=>!!t.ariaLabel},hideClose:{type:Boolean,default:!1},size:{type:String,default:"md",validator:t=>Object.keys(Ad).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return w()}},ariaLabel:{type:String,default:""},contentClass:{type:[String,Array,Object],default:""}},emits:["click","close","keyup"],data(){return{isActive:!1}},computed:{chipListeners(){return{...this.$listeners,click:t=>{this.interactive&&this.$emit("click",t)},keyup:t=>{var e;"delete"===(null===(e=t.code)||void 0===e?void 0:e.toLowerCase())?this.onClose():this.$emit("keyup",t)}}},closeButtonIconSize(){return Pd[this.size]}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?"d-chip":"d-chip__label",Ad[this.size]]},chipCloseButtonClasses(){return["d-chip__close",Td[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},Md=$d;var Bd=B(Md,Ld,Dd,!1,null,null,null);const Rd=Bd.exports;var Nd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("label",[t.$slots.label||t.label?n("div",t._b({class:["d-label",t.LABEL_SIZE_MODIFIERS[t.size],t.labelClass],attrs:{"aria-details":t.labelAriaDetails,"data-qa":"dt-select-label"}},"div",t.labelChildProps,!1),[t._t("label",(function(){return[t._v(t._s(t.label))]}))],2):t._e(),t.$slots.description||t.description?n("div",t._b({class:["d-description",t.DESCRIPTION_SIZE_MODIFIERS[t.size],t.descriptionClass],attrs:{id:t.descriptionKey,"data-qa":"dt-select-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("div",{class:["d-select",t.SELECT_SIZE_MODIFIERS[t.size],t.selectClass,{"d-select--disabled":t.disabled}],attrs:{"data-qa":"dt-select-wrapper"}},[n("select",t._g(t._b({class:["d-select__input",t.SELECT_STATE_MODIFIERS[t.state]],attrs:{"data-qa":"dt-select",disabled:t.disabled}},"select",t.$attrs,!1),t.selectListeners),[t._t("default",(function(){return t._l(t.options,(function(e){return n("option",t._b({key:t.getOptionKey(e.value),class:t.optionClass,domProps:{value:e.value}},"option",t.optionChildProps,!1),[t._v(" "+t._s(e.label)+" ")])}))}))],2)])]),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-select-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)},Vd=[];const jd={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Hd={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},qd=t=>!t.index||"number"===typeof t.index,Fd=t=>!!t.value&&("string"===typeof t.value||"number"===typeof t.value),Kd=t=>!!t.label&&"string"===typeof t.label,zd=t=>!t||t.every((t=>!!qd(t)&&(!!Fd(t)&&!!Kd(t)))),Wd={name:"DtSelectMenu",components:{DtValidationMessages:jr},mixins:[Kr],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>zd(t)},size:{type:String,default:"md",validator:t=>Object.keys(jd).includes(t)},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:["input","change"],data(){return{LABEL_SIZE_MODIFIERS:f,DESCRIPTION_SIZE_MODIFIERS:h,SELECT_SIZE_MODIFIERS:jd,SELECT_STATE_MODIFIERS:Hd}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return E(this.formattedMessages)},selectKey(){return w()},descriptionKey(){return`select-${this.selectKey}-description`},labelAriaDetails(){return this.$slots.description||this.description?this.descriptionKey:this.$attrs["aria-details"]}},mounted(){this.validateOptionsPresence()},beforeUpdate(){this.validateOptionsPresence()},methods:{emitValue(t){this.$emit("input",t),this.$emit("change",t)},getOptionKey(t){return`select-${this.selectKey}-option-${t}`},validateOptionsPresence(){var t;(null===(t=this.options)||void 0===t?void 0:t.length)<1&&!this.$slots.default&&r().util.warn("Options are expected to be provided via prop or slot",this)}}},Ud=Wd;var Gd=B(Ud,Nd,Vd,!1,null,null,null);const Zd=Gd.exports;var Yd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isShown?n("div",{class:["d-toast",t.kindClass,{"d-toast--important":t.important}],attrs:{"data-qa":"dt-toast","aria-hidden":(!t.isShown).toString()}},[n("div",{staticClass:"d-toast__dialog"},[n("dt-notice-icon",t._g({attrs:{kind:t.kind}},t.$listeners),[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title,role:t.role},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default",(function(){return[t._v(" "+t._s(t.message)+" ")]}))],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.noticeActionListeners),[t._t("action")],2)],1)]):t._e()},Xd=[];const Qd=["status","alert"],Jd=6e3,tu={name:"DtToast",components:{DtNoticeIcon:ut,DtNoticeContent:gt,DtNoticeAction:Zt},mixins:[Vt],props:{titleId:{type:String,default(){return P.getUniqueString()}},contentId:{type:String,default(){return P.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>Qd.includes(t)},kind:{type:String,default:"base",validator:t=>at.includes(t)},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:t=>t>=Jd}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:Jd}},computed:{kindClass(){const t={error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"};return t[this.kind]},noticeActionListeners(){return{...this.$listeners,close:t=>{this.isShown=!1,this.$emit("update:show",!1),this.$emit("close",t)}}},shouldSetTimeout(){return!!this.duration&&this.duration>=this.minDuration}},watch:{show:{handler:function(t){this.isShown=t,t?this.setTimeout():clearTimeout(this.displayTimer)},immediate:!0}},destroyed(){this.shouldSetTimeout&&clearTimeout(this.displayTimer)},methods:{setTimeout(){this.shouldSetTimeout&&(this.displayTimer=setTimeout((()=>{this.isShown=!1,this.$emit("update:show",!1)}),this.duration))}}},eu=tu;var nu=B(eu,Yd,Xd,!1,null,null,null);const iu=nu.exports;var au=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-d-flex d-ai-center"},[t.$slots.default?n("label",t._b({class:t.labelClass,attrs:{for:t.id,"data-qa":"toggle-label"}},"label",t.labelChildProps,!1),[t._t("default")],2):t._e(),n("button",t._g(t._b({class:t.toggleClasses,attrs:{id:t.id,role:t.toggleRole,type:"button","aria-checked":t.internalChecked.toString(),disabled:t.disabled,"aria-disabled":t.disabled.toString()}},"button",t.$attrs,!1),t.inputListeners),[t.showIcon?n("span",{staticClass:"d-toggle__inner"}):t._e()])])},su=[];const ou={sm:"d-toggle--small",md:""},ru=[!1,!0,"mixed"],lu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return P.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>ru.includes(t)},size:{type:String,default:"md",validator:t=>Object.keys(ou).includes(t)},showIcon:{type:Boolean,default:!0},labelClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{internalChecked:this.checked}},computed:{inputListeners(){return{...this.$listeners,click:t=>this.toggleCheckedValue()}},isIndeterminate(){return"mixed"===this.internalChecked},toggleRole(){return this.isIndeterminate?"checkbox":"switch"},toggleClasses(){return["d-toggle",ou[this.size],{"d-toggle--checked":!0===this.internalChecked,"d-toggle--disabled":this.disabled,"d-toggle--indeterminate":this.isIndeterminate}]}},watch:{checked(t){this.internalChecked=t}},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(t,e){t||e||r().util.warn("You must provide an aria-label when there is no label passed",this)}}},du=lu;var uu=B(du,au,su,!1,null,null,null);const cu=uu.exports;var pu=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{attrs:{"data-qa":"dt-tooltip-container"}},[i("div",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:e.onEnterAnchor,focusout:e.onLeaveAnchor,mouseenter:e.onEnterAnchor,mouseleave:e.onLeaveAnchor,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onLeaveAnchor.apply(null,arguments)}}},[e._t("anchor")],2),i("dt-lazy-show",e._g({ref:"content",class:["d-tooltip","d-tooltip__arrow-tippy--"+e.currentPlacement,(t={},t[e.TOOLTIP_KIND_MODIFIERS.inverted]=e.inverted,t),e.contentClass],attrs:{id:e.id,show:e.isShown&&(!!e.message.trim()||!!e.$slots.default),role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:e.transition}},e.tooltipListeners),[e._t("default",(function(){return[e._v(" "+e._s(e.message)+" ")]}))],2)],1)},hu=[];const fu=[...Mo],mu={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},gu=[...Bo],vu=[!0,!1,"toggle"],bu={name:"Tooltip",components:{DtLazyShow:mi},props:{id:{type:String,default(){return w()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return fu.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>gu.includes(t)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:mu,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tooltipListeners(){return{...this.$listeners,"after-leave":t=>{this.onLeaveTransitionComplete()},"after-enter":t=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:No({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(t){null!==t&&(this.isShown=t)},immediate:!0},isShown(t,e){t?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(t){this.tip.setProps({sticky:t})}},mounted(){this.tip=Ro(jo(this.$refs.anchor),this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var t;this.tip&&(null===(t=this.tip)||void 0===t||t.destroy())},methods:{calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?651:400},hasVisibleFocus(){return jo(this.$refs.anchor).hasAttribute("data-focus-visible-added")},onEnterAnchor(t){"focusin"===t.type?null===this.show&&this.hasVisibleFocus()&&(this.isShown=!0):null===this.show&&(this.isShown=!0)},onLeaveAnchor(t){null===this.show&&(this.isShown=!1)},onChangePlacement(t){this.currentPlacement=t},onLeaveTransitionComplete(){var t;null===(t=this.tip)||void 0===t||t.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}}}},yu=bu;n(664);var _u=B(yu,pu,hu,!1,null,null,null);const Su=_u.exports;var xu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("kbd",{class:["d-d-inline-flex","d-ff-custom","d-ai-center","d-jc-center","d-box-border","d-px4","d-ba","d-bar4","d-fs-100",t.inverted?"d-bc-black-500":"d-bc-black-400"]},[t.screenReaderText?n("span",{staticClass:"sr-only"},[t._v(" "+t._s(t.screenReaderText)+" ")]):t._e(),t._l(t.formattedShortcutSplit,(function(e,i){return[t.icons[e]?n("dt-icon",{key:i+"-"+e,class:[t.inverted?"d-fc-black-300":"d-fc-black-600","d-mr2"],attrs:{name:t.icons[e],size:"100","aria-hidden":"true"}}):n("span",{key:i+"-"+e,class:[t.inverted?"d-fc-black-300":"d-fc-black-600","d-mr2"],attrs:{"aria-hidden":"true"},domProps:{innerHTML:t._s(e)}})]}))],2)},Cu=[];const wu={"{win}":"layout-grid","{arrow-right}":"arrow-right","{arrow-left}":"arrow-left","{arrow-up}":"arrow-up","{arrow-down}":"arrow-down","{cmd}":"command"},Ou={"{plus}":"plus"},Iu=Object.keys(wu),Eu={name:"DtKeyboardShortcut",components:{DtIcon:it},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:wu,separator:/\+/gi}},computed:{icons(){return{...wu,...Ou}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(wu).reduce(((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),wu[e])),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp(`(${t})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}},ku=Eu;var Lu=B(ku,xu,Cu,!1,null,null,null);const Du=Lu.exports;var Au=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"root-layout"},[t.$slots.header?n("header",{class:["root-layout__header",t.headerClass,{"root-layout__header--sticky":t.headerSticky}],style:{height:t.headerHeight},attrs:{"data-qa":"root-layout-header"}},[t._t("header")],2):t._e(),n("dt-root-layout-body",{attrs:{"body-class":t.bodyClass,"content-class":t.contentClass,"content-wrap-width-percent":t.contentWrapWidthPercent,"sidebar-class":t.sidebarClass,"sidebar-width":t.sidebarWidth,"sidebar-position":t.sidebarPosition},scopedSlots:t._u([{key:"sidebar",fn:function(){return[t._t("sidebar")]},proxy:!0},{key:"content",fn:function(){return[t._t("default")]},proxy:!0}],null,!0)}),t.$slots.footer?n("footer",{class:["root-layout__footer",t.footerClass],style:{height:t.footerHeight},attrs:{"data-qa":"root-layout-footer"}},[t._t("footer")],2):t._e()],1)},Tu=[],Pu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["root-layout__body",t.bodyClasses],attrs:{"data-qa":"root-layout-body"}},[t.$slots.sidebar?n("aside",{class:["root-layout__sidebar",t.sidebarClass],style:{"flex-basis":t.sidebarWidth},attrs:{"data-qa":"root-layout-sidebar"}},[t._t("sidebar")],2):t._e(),t.$slots.content?n("main",{class:["root-layout__content",t.contentClass],style:{"min-inline-size":t.contentWrapWidthPercent},attrs:{"data-qa":"root-layout-content"}},[t._t("content")],2):t._e()])},$u=[];const Mu={LEFT:"left",RIGHT:"right"},Bu={name:"DtRootLayoutBody",props:{bodyClass:{type:[String,Array,Object],default:void 0},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:{bodyClasses(){return[this.bodyClass,{"root-layout__body--invert":this.sidebarPosition===Mu.RIGHT}]}}},Ru=Bu;n(263);var Nu=B(Ru,Pu,$u,!1,null,null,null);const Vu=Nu.exports,ju={name:"DtRootLayout",components:{DtRootLayoutBody:Vu},props:{headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},bodyClass:{type:[String,Array,Object],default:""},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:t=>Object.values(Mu).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}},Hu=ju;n(987);var qu=B(Hu,Au,Tu,!1,null,null,null);const Fu=qu.exports;var Ku=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-combobox",t._g({ref:"combobox",attrs:{loading:t.loading,"empty-list":t.emptyList,"empty-state-message":t.emptyStateMessage,"show-list":t.isListShown,"on-beginning-of-list":t.onBeginningOfList,"on-end-of-list":t.onEndOfList,"list-aria-label":t.listAriaLabel,"list-rendered-outside":!0,"list-id":t.listId,"data-qa":"dt-combobox"},scopedSlots:t._u([{key:"input",fn:function(e){var i=e.inputProps;return[n("div",{ref:"input",attrs:{id:t.externalAnchor},on:{focusin:t.onFocusIn,focusout:t.onFocusOut,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:t.openOnArrowKeyPress(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.openOnArrowKeyPress(e)}]}},[t._t("input",null,{inputProps:i,onInput:t.handleDisplayList})],2)]}},{key:"list",fn:function(e){var i=e.opened,a=e.listProps,s=e.clearHighlightIndex;return[n("dt-popover",{ref:"popover",attrs:{open:t.isListShown,"hide-on-click":null===t.showList,"max-height":t.maxHeight,"max-width":t.maxWidth,offset:t.popoverOffset,sticky:t.popoverSticky,placement:"bottom-start","initial-focus-element":"none",padding:"none",role:"listbox","external-anchor":t.externalAnchor,"content-width":t.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,"visually-hidden-close-label":t.visuallyHiddenCloseLabel,"visually-hidden-close":t.visuallyHiddenClose},on:{"update:open":function(e){t.isListShown=e},opened:function(t){return i(t,arguments[1])}},scopedSlots:t._u([{key:"headerContent",fn:function(){return[t.$slots.header?n("div",{ref:"header",on:{focusout:t.onFocusOut}},[t._t("header")],2):t._e()]},proxy:!0},{key:"content",fn:function(){return[n("div",{ref:"listWrapper",class:[t.DROPDOWN_PADDING_CLASSES[t.padding],t.listClass],on:{mouseleave:s,focusout:function(e){t.onFocusOut}}},[t.loading?n("combobox-loading-list",t._b({},"combobox-loading-list",a,!1)):t.emptyList&&t.emptyStateMessage?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage}},"combobox-empty-list",a,!1)):t._t("list",null,{listProps:a})],2)]},proxy:!0},{key:"footerContent",fn:function(){return[t.$slots.footer?n("div",{ref:"footer",on:{focusout:t.onFocusOut}},[t._t("footer")],2):t._e()]},proxy:!0}],null,!0)})]}}],null,!0)},t.comboboxListeners))},zu=[];const Wu={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:ei,DtPopover:pr,ComboboxLoadingList:zn,ComboboxEmptyList:Xn},mixins:[Vt],props:{listAriaLabel:{type:String,required:!0},showList:{type:Boolean,default:null},listId:{type:String,default(){return w()}},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:t=>Object.keys(hr).some((e=>e===t))},contentWidth:{type:String,default:null,validator:t=>zo.includes(t)},openWithArrowKeys:{type:Boolean,default:!1},popoverOffset:{type:Array,default:()=>[0,4]},popoverSticky:{type:[Boolean,String],default:!1},hasSuggestionList:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},emptyList:{type:Boolean,default:!1},emptyStateMessage:{type:String,default:""}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:hr,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:w()}},computed:{comboboxListeners(){return{...this.$listeners,select:this.onSelect,escape:this.onEscape,highlight:this.onHighlight}}},watch:{showList:{handler:function(t){null!==t&&(this.isListShown=t)},immediate:!0},isListShown(t){this.onOpened(t)}},methods:{handleDisplayList(t){this.hasSuggestionList||(t?this.showComboboxList():this.closeComboboxList())},showComboboxList(){null==this.showList&&(this.isListShown=!0)},closeComboboxList(){null==this.showList&&(this.isListShown=!1)},onSelect(t){this.loading||(this.$emit("select",t),this.hasSuggestionList||this.closeComboboxList())},onEscape(){this.$emit("escape"),this.closeComboboxList()},onHighlight(t){this.loading||this.$emit("highlight",t)},onOpened(t){this.$emit("opened",t)},onFocusIn(t){this.hasSuggestionList&&t&&this.$refs.input.querySelector("input")===t.target&&this.showComboboxList()},onFocusOut(t){const e=["input","header","footer","listWrapper"],n=e.some((e=>{var n;return null===(n=this.$refs[e])||void 0===n?void 0:n.contains(t.relatedTarget)}))||this.visuallyHiddenClose;n||this.closeComboboxList()},openOnArrowKeyPress(t){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},Uu=Wu;var Gu=B(Uu,Ku,zu,!1,null,null,null);const Zu=Gu.exports;var Yu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{"list-aria-label":"listAriaLabel","show-list":t.showList,"max-height":t.listMaxHeight,"popover-offset":t.popoverOffset,"has-suggestion-list":t.hasSuggestionList,"visually-hidden-close-label":t.visuallyHiddenCloseLabel,"visually-hidden-close":t.visuallyHiddenClose,"content-width":"anchor"},on:{select:t.onComboboxSelect},scopedSlots:t._u([{key:"input",fn:function(e){var i=e.onInput;return[n("span",{ref:"inputSlotWrapper",staticClass:"d-ps-relative"},[n("span",{ref:"chipsWrapper",staticClass:"d-ps-absolute d-mx2"},t._l(t.selectedItems,(function(e){return n("dt-chip",t._g({key:e.id,ref:"chips",refInFor:!0,staticClass:"d-mt4 d-mx2 d-zi-base1",attrs:{"close-button-props":{ariaLabel:"close"},size:t.size},on:{keyup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"backspace",void 0,n.key,void 0)?null:t.onChipRemove(e)},close:function(n){return t.onChipRemove(e)}}},t.chipListeners),[t._v(" "+t._s(e)+" ")])})),1),n("dt-input",t._g({ref:"input",staticClass:"d-fl-grow1 d-mb4",attrs:{label:t.label,description:t.description,placeholder:t.inputPlaceHolder,"show-messages":t.showInputMessages,messages:t.inputMessages,size:t.size},on:{input:i},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t.inputListeners)),n("dt-validation-messages",{attrs:{"validation-messages":t.maxSelectedMessage,"show-messages":t.showValidationMessages}})],1)]}},{key:"header",fn:function(){return[t.$slots.header?n("div",{ref:"header"},[t._t("header")],2):t._e()]},proxy:!0},{key:"list",fn:function(){return[n("div",{ref:"list",on:{mousedown:function(t){t.preventDefault()}}},[t.loading?n("div",{staticClass:"d-ta-center d-py16"},[t._v(" "+t._s(t.loadingMessage)+" ")]):t._t("list")],2)]},proxy:!0},{key:"footer",fn:function(){return[t.$slots.footer?n("div",{ref:"footer"},[t._t("footer")],2):t._e()]},proxy:!0}],null,!0)})},Xu=[];const Qu={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},Ju={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:Zu,DtInput:Gr,DtChip:Rd,DtValidationMessages:jr},mixins:[Vt],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:t=>Br(t)},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:t=>Object.values(Qu).includes(t)}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,4],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null}},computed:{inputPlaceHolder(){var t;return(null===(t=this.selectedItems)||void 0===t?void 0:t.length)>0?"":this.placeholder},chipListeners(){return{...this.$listeners,keyup:t=>{this.onChipKeyup(t),this.$emit("keyup",t)}}},inputListeners(){return{...this.$listeners,input:t=>{this.$emit("input",t),this.hasSuggestionList&&this.showComboboxList()},keyup:t=>{this.onInputKeyup(t),this.$emit("keyup",t)},click:t=>{this.hasSuggestionList&&this.showComboboxList()}}}},watch:{selectedItems:{immediate:!0,async handler(){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)},beforeDestroy(){var t;null===(t=this.resizeWindowObserver)||void 0===t||t.unobserve(document.body)},methods:{onChipRemove(t){this.$emit("remove",t),this.$refs.input.focus()},onComboboxSelect(t){this.value="",this.$emit("select",t)},showComboboxList(){null==this.showList&&this.$refs.comboboxWithPopover.showComboboxList()},closeComboboxList(){null==this.showList&&this.$refs.comboboxWithPopover.closeComboboxList()},getChipButtons(){return this.$refs.chips&&this.$refs.chips.map((t=>t.$el.querySelector("button")))},getChips(){return this.$refs.chips&&this.$refs.chips.map((t=>t.$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 t;return null===(t=this.$refs.input)||void 0===t?void 0:t.$refs.input},onChipKeyup(t){var e;const n=null===(e=t.code)||void 0===e?void 0:e.toLowerCase();"arrowleft"===n?this.navigateBetweenChips(t.target,!0):"arrowright"===n&&(t.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(t.target,!1))},onInputKeyup(t){var e;const n=null===(e=t.code)||void 0===e?void 0:e.toLowerCase();this.selectedItems.length>0&&0===t.target.selectionStart&&("backspace"!==n&&"arrowleft"!==n||this.moveFromInputToChip())},moveFromInputToChip(){this.getLastChipButton().focus(),this.$refs.input.blur(),this.closeComboboxList()},moveFromChipToInput(){this.getLastChipButton().blur(),this.$refs.input.focus(),this.showComboboxList()},navigateBetweenChips(t,e){const n=this.getChipButtons().indexOf(t),i=e?n-1:n+1;i<0||i>=this.$refs.chips.length||(this.getChipButtons()[n].blur(),this.getChipButtons()[i].focus(),this.closeComboboxList())},setChipsTopPosition(){if(!this.$refs.input)return;const t=this.getInput();if(!t)return;const e=this.$refs.inputSlotWrapper,n=t.getBoundingClientRect().top-e.getBoundingClientRect().top,i=this.$refs.chipsWrapper;i.style.top=n+"px"},setInputPadding(){const t=this.getLastChip(),e=this.getInput();if(!e)return;if(!t)return void this.revertInputPadding(e);const n=t.offsetLeft+this.getFullWidth(t);e.style.paddingLeft=n+"px";const i=t.offsetTop+3;e.style.paddingTop=i+"px",this.popoverOffset=[0,4]},getFullWidth(t){const e=window.getComputedStyle(t);return t.offsetWidth+parseInt(e.marginLeft)+parseInt(e.marginRight)},revertInputPadding(t){t.style.paddingLeft="",t.style.paddingTop="",t.style.paddingBottom=""},setInputMinWidth(){const t=this.getFirstChip(),e=this.getInput();e&&(e.style.minWidth=t?this.getFullWidth(t)+4+"px":"")},checkMaxSelected(){0!==this.maxSelected&&(this.selectedItems.length>this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}},tc=Ju;var ec=B(tc,Yu,Xu,!1,null,null,null);const nc=ec.exports;var ic=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-tooltip",{attrs:{id:t.id,offset:[0,-12]},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",t._g({class:t.callbarButtonClass,attrs:{importance:t.circle?"outlined":"clear",kind:"muted","icon-position":"top",disabled:t.disabled,"aria-label":t.ariaLabel,"label-class":"d-fs-100",width:"8.4rem"}},t.$listeners),[t._t("default"),t._t("icon",null,{slot:"icon"})],2)]},proxy:!0}],null,!0)},[t._t("tooltip")],2)},ac=[];const sc={name:"DtRecipeCallbarButton",components:{DtButton:Nt,DtTooltip:Su},inheritAttrs:!0,props:{id:{type:String,default(){return P.getUniqueString()}},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},ariaLabel:{type:String,default:null,validator:t=>t||(void 0).$slots.default},buttonClass:{type:[String,Array,Object],default:""}},emits:["click"],computed:{callbarButtonClass(){return[this.buttonClass,"dt-recipe-callbar-button","d-stack4","d-px0","h:d-bgc-black-200","h:d-bgo50",{"dt-recipe-callbar-button--circle":this.circle,"dt-recipe-callbar-button--active":this.active,"dt-recipe-callbar-button--danger":this.danger}]}}},oc=sc;n(39);var rc=B(oc,ic,ac,!1,null,null,null);const lc=rc.exports;var dc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-recipe--callbar-button-with-popover--button"},[n("dt-recipe-callbar-button",{staticClass:"dt-recipe--callbar-button-with-popover--main-button",attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,active:t.active,danger:t.danger,"button-class":t.buttonClass},on:{click:t.buttonClick}},[t._t("icon",null,{slot:"icon"}),t._t("tooltip",null,{slot:"tooltip"}),t._t("default")],2),t.showArrowButton?n("dt-popover",t._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{id:t.id,open:t.open,placement:t.placement,"initial-focus-element":t.initialFocusElement,"show-close-button":t.showCloseButton,padding:"none","dialog-class":["dt-recipe--callbar-button-with-popover--popover",t.contentClass],"header-class":"d-d-flex d-ai-center d-fw-normal d-px12"},on:{opened:t.onModalIsOpened},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",{staticClass:"dt-recipe--callbar-button-with-popover--arrow",attrs:{circle:"",importance:"clear",size:"lg",width:"2rem","aria-label":t.arrowButtonLabel,active:t.open},on:{click:t.arrowClick},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"chevron-up",size:"200"}})]},proxy:!0}],null,!1,3340821372)})]},proxy:!0}],null,!1,86794195)},"dt-popover",t.$attrs,!1),[t._t("content",null,{slot:"content"}),t._t("headerContent",null,{slot:"headerContent"}),t._t("footerContent",null,{slot:"footerContent"})],2):t._e()],1)},uc=[];const cc={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:lc,DtPopover:pr,DtButton:Nt,DtIcon:it},inheritAttrs:!1,props:{id:{type:String,default(){return P.getUniqueString()}},ariaLabel:{type:String,default:null,validator:t=>t||(void 0).$slots.default},arrowButtonLabel:{type:String,required:!0,validator:t=>!!t},placement:{type:String,default:"top"},initialFocusElement:{type:String,default:"first"},showCloseButton:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},forceShowArrow:{type:Boolean,default:!1},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},buttonClass:{type:[String,Array,Object],default:""},contentClass:{type:[String,Array,Object],default:""}},emits:["arrowClick","click"],data(){return{open:!1}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled}},methods:{arrowClick(t){return this.$emit("arrowClick",t),this.open=!this.open},buttonClick(t){this.$listeners.click?this.$emit("click",t):this.arrowClick(t)},onModalIsOpened(t){this.open=t}}},pc=cc;n(724);var hc=B(pc,dc,uc,!1,null,null,null);const fc=hc.exports;var mc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-list-item",{attrs:{id:t.id,role:t.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:t._u([{key:"left",fn:function(){return[n("div",{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[t.avatarSrc?n("dt-avatar",{attrs:{size:"lg"}},[n("img",{attrs:{"data-qa":"dt-contact-avatar",src:t.avatarSrc,alt:t.avatarInitials}})]):t.avatarInitials?n("dt-avatar",{attrs:{kind:"initials",size:"lg",color:t.avatarColor}},[t._v(" "+t._s(t.avatarInitials)+" ")]):t._e(),t.showUserStatus?n("div",{class:["d-ba","d-bc-white","d-baw2","d-bar2","d-ps-absolute","d-bn1","d-rn1","d-w20p","d-h20p",t.USER_STATUS_COLOR_MODIFIERS[t.userStatusColor]],attrs:{"data-qa":"contact-info-user-status"}},[t._v("   ")]):t._e()],1)]},proxy:!0},{key:"default",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-header"}},[t._t("header")],2)]},proxy:!0},{key:"subtitle",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-subtitle"}},[t._t("subtitle")],2)]},proxy:!0},{key:"bottom",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-bottom"}},[t._t("bottom")],2)]},proxy:!0},{key:"right",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-right"}},[t._t("right")],2)]},proxy:!0}],null,!0)})},gc=[];const vc={none:"",green:"d-bgc-green-300",gold:"d-bgc-gold-200",red:"d-bgc-red-200"},bc={name:"DtRecipeContactInfo",components:{DtAvatar:N,DtListItem:an},props:{id:{type:String,default(){return P.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarInitials:{type:String,default:""},avatarColor:{type:String,default:"base",validator:t=>Object.keys(u).includes(t)},userStatusColor:{type:String,default:"none",validator:t=>Object.keys(vc).includes(t)}},data(){return{USER_STATUS_COLOR_MODIFIERS:vc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},yc=bc;var _c=B(yc,mc,gc,!1,null,null,null);const Sc=_c.exports;var xc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-fs-100 d-d-flex d-top-banner-info d-jc-space-between d-ai-center",class:t.bannerInfoClass,attrs:{"data-qa":"banner-info"}},[n("div",{staticClass:"d-top-banner-info__left"},[t._t("left")],2),n("div",{staticClass:"d-top-banner-info__middle d-my4"},[t._t("default")],2),n("div",{staticClass:"d-top-banner-info__right d-ta-right"},[t._t("right")],2)])},Cc=[];const wc=["green300","green100","red200","red100","gold100","gold200","black100","white"],Oc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return wc.includes(t)}}},computed:{bannerInfoClass(){const t={green300:"d-bgc-green-300",green100:"d-bgc-green-100",red200:"d-bgc-red-200",red100:"d-bgc-red-100",gold200:"d-bgc-gold-200",gold100:"d-bgc-gold-100",black100:"d-bgc-black-400",white:"d-bgc-white"};return[t[this.colorCode]]}}},Ic=Oc;n(486);var Ec=B(Ic,xc,Cc,!1,null,null,null);const kc=Ec.exports;var Lc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._g({staticClass:"d-d-flex d-fd-column d-ai-center d-c-pointer ivr_node__width"},t.$listeners),[t.dtmfKey?n("div",{staticClass:"d-zi-base1 d-ai-center d-jc-center d-d-flex d-w24 d-h24 d-bar-circle d-bc-purple-600 d-bgc-purple-600 d-mbn12 d-fc-white d-fs-200",class:{"d-mbn16":t.isSelected},attrs:{"data-qa":"dt-top-connector-dtmf"}},[t._v(" "+t._s(t.dtmfKey)+" ")]):n("div",{staticClass:"d-zi-base1 d-d-flex d-w8 d-h8 d-bar-circle d-bc-purple-600 d-bgc-purple-600 d-mbn4",class:{"d-mbn8":t.isSelected},attrs:{"data-qa":"dt-top-connector"}}),n("dt-card",{attrs:{"content-class":"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12","container-class":["d-w100p",{"d-ba d-bar8 d-baw4":t.isSelected},t.headerColor],"header-class":["d-mtn1","d-bt","d-btw4","d-p0",t.headerColor,{"d-btr4":!t.isSelected}]},scopedSlots:t._u([{key:"header",fn:function(){return[n("div",{staticClass:"d-d-flex d-ai-center"},[n("dt-button",{attrs:{"aria-label":t.nodeType,importance:"clear","data-qa":"dt-ivr-node-icon"},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{staticClass:"d-fc-black-900",attrs:{name:t.nodeIcon,size:"200"}})]},proxy:!0}])}),n("p",{staticClass:"d-fs-200 d-fw-bold",attrs:{"data-qa":"ivr-node-label"}},[t._v(" "+t._s(t.nodeLabel)+" ")])],1),n("dt-dropdown",{attrs:{placement:"bottom",open:t.isOpen},on:{"update:open":function(e){t.isOpen=e}},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",{attrs:{importance:"clear","aria-label":t.menuButtonAriaLabel},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.openMenu.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{staticClass:"d-fc-black-900",attrs:{name:"more-vertical",size:"200"}})]},proxy:!0}])})]},proxy:!0},{key:"list",fn:function(e){var i=e.close;return[n("div",{staticClass:"d-w164"},[t._t("menuItems",null,{close:i})],2)]}}],null,!0)})]},proxy:!0},{key:"content",fn:function(){return[t._t("content")]},proxy:!0}],null,!0)})],1)},Dc=[];const Ac="promptmenu",Tc="promptcollect",Pc="promptplay",$c="gotoexpert",Mc="goto",Bc="branch",Rc="transfer",Nc="hangup",Vc={[Ac]:"keypad",[Tc]:"dialer",[Pc]:"volume-2",[$c]:"corner-down-right",[Bc]:"network",[Mc]:"chevrons-up",[Rc]:"transfer",[Nc]:"phone-hang-up"},jc={[Ac]:"Menu",[Tc]:"Collect",[Pc]:"Play",[$c]:"Expert",[Bc]:"Branch",[Mc]:"Go-to",[Rc]:"Transfer",[Nc]:"Hangup"},Hc={PROMPT:{normal:"d-bc-blue-200",selected:"d-bc-blue-300"},LOGIC:{normal:"d-bc-purple-200",selected:"d-bc-purple-400"},TERMINAL:{normal:"d-bc-red-100",selected:"d-bc-red-200"}},qc={[Ac]:Hc.PROMPT,[Tc]:Hc.PROMPT,[Pc]:Hc.PROMPT,[$c]:Hc.LOGIC,[Bc]:Hc.LOGIC,[Mc]:Hc.LOGIC,[Rc]:Hc.TERMINAL,[Nc]:Hc.TERMINAL},Fc={name:"DtRecipeIvrNode",components:{DtCard:Be,DtButton:Nt,DtDropdown:vr,DtIcon:it},props:{nodeType:{type:String,required:!0},nodeLabel:{type:String,required:!0},isSelected:{type:Boolean,default:!1},menuButtonAriaLabel:{type:String,required:!0},dtmfKey:{type:String,default:null}},emits:["click"],data(){return{isOpen:!1}},computed:{nodeIcon(){return Vc[this.nodeType]},headerColor(){const{normal:t,selected:e}=qc[this.nodeType];return this.isSelected?e:t}},methods:{openMenu(){this.isOpen=!0}}},Kc=Fc;n(183);var zc=B(Kc,Lc,Dc,!1,null,null,null);const Wc=zc.exports;var Uc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-d-inline-flex d-ws-nowrap d-bgc-unset",attrs:{"data-qa":"grouped-chip"}},[n("dt-chip",{staticClass:"d-blr-pill d-bgc-black-200 d-w100p d-wmx64",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:t._u([t.$slots.leftIcon?{key:"icon",fn:function(){return[t.$slots.leftIcon?n("div",{attrs:{"data-qa":"left-grouped-chip-icon"}},[t._t("leftIcon")],2):t._e()]},proxy:!0}:null,{key:"default",fn:function(){return[t.$slots.leftContent?n("div",{attrs:{"data-qa":"left-grouped-chip-content"}},[t._t("leftContent")],2):t._e()]},proxy:!0}],null,!0)}),n("dt-chip",{staticClass:"d-brr-pill d-bgc-purple-200 d-w100p d-wmx64",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:t._u([{key:"icon",fn:function(){return[t.$slots.rightIcon?n("div",{attrs:{"data-qa":"right-grouped-chip-icon"}},[t._t("rightIcon")],2):t._e()]},proxy:!0},{key:"default",fn:function(){return[t.$slots.rightContent?n("div",{staticClass:"d-wmx50p",attrs:{"data-qa":"right-grouped-chip-content"}},[t._t("rightContent")],2):t._e()]},proxy:!0}],null,!0)})],1)},Gc=[];const Zc={name:"DtRecipeGroupedChip",components:{DtChip:Rd},computed:{}},Yc=Zc;var Xc=B(Yc,Uc,Gc,!1,null,null,null);const Qc=Xc.exports})(),i})()));
1
+ (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["dialtone-vue"]=e():t["dialtone-vue"]=e()})("undefined"!==typeof self?self:this,(()=>(()=>{var t={5:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-empty-list-item{display:flex;align-items:center;justify-content:center;font-size:var(--fs-200);line-height:var(--lh4);padding:var(--su4) var(--su12)}",""]);const l=r},720:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".d-context-menu-list{width:24rem}",""]);const l=r},719:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-list-separator{height:1px;list-style:none}",""]);const l=r},321:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-default-list-item,.dt-default-list-item--left,.dt-default-list-item--right{min-height:28px}",""]);const l=r},814:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-list-item:not(.dt-list-item--static){cursor:pointer}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:hsla(var(--black-500-h),var(--black-500-s),var(--black-500-l),.15)}.dt-list-item:focus-visible{border-radius:var(--br4);outline:none;box-shadow:inset 0 0 0 var(--su2) var(--focus-ring)}",""]);const l=r},744:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,'.dt-list-section[tabindex="-1"]:focus{outline:none}',""]);const l=r},410:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.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},575:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".root-layout__header--sticky{position:sticky;top:0}",""]);const l=r},434:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.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},914:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}50%{fill:var(--placeholder-to-color,var(--black-100));background:var(--placeholder-to-color,var(--black-100))}90%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}}",""]);const l=r},514:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[data-popper-reference-hidden] .d-tooltip{visibility:hidden;pointer-events:none}",""]);const l=r},909:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){letter-spacing:-.011rem;line-height:1.6rem}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--active{--button--fc:var(--muted-color-hover);--button--bgc:hsla(var(--muted-color-hsl)/15%)}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active{--button--bgc:hsla(var(--error-color-hsl)/10%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active:hover{--button--bgc:hsla(var(--error-color-hsl)/20%);--button--fc:var(--error-color-hover)}",""]);const l=r},435:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-recipe--callbar-button-with-popover--button{position:relative;display:inline-block}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{position:absolute;top:2rem;right:0;width:var(--su16);height:var(--su16);padding:var(--su8);border-radius:var(--su4)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--black-025)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--black-900);color:var(--white)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header button{color:var(--white)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc:var(--black-900)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}",""]);const l=r},539:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".ivr_node__width{width:280px}",""]);const l=r},326:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.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},566:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".enter-active,.leave-active{overflow:hidden;transition:height .3s linear}",""]);const l=r},400:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i="undefined"!==typeof e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,a,s){"string"===typeof t&&(t=[[null,t,void 0]]);var o={};if(i)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(o[l]=!0)}for(var d=0;d<t.length;d++){var u=[].concat(t[d]);i&&o[u[0]]||("undefined"!==typeof s&&("undefined"===typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),e.push(u))}},e}},481:t=>{"use strict";t.exports=function(t){return t[1]}},750:(t,e,n)=>{var i=n(5);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("484db3d5",i,!0,{sourceMap:!1,shadowMode:!1})},427:(t,e,n)=>{var i=n(720);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("2767d7d2",i,!0,{sourceMap:!1,shadowMode:!1})},717:(t,e,n)=>{var i=n(719);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("321d92d7",i,!0,{sourceMap:!1,shadowMode:!1})},357:(t,e,n)=>{var i=n(321);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("43c617ae",i,!0,{sourceMap:!1,shadowMode:!1})},759:(t,e,n)=>{var i=n(814);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("6af7b624",i,!0,{sourceMap:!1,shadowMode:!1})},792:(t,e,n)=>{var i=n(744);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("7f7fada4",i,!0,{sourceMap:!1,shadowMode:!1})},155:(t,e,n)=>{var i=n(410);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("40d6a89f",i,!0,{sourceMap:!1,shadowMode:!1})},987:(t,e,n)=>{var i=n(575);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("2256c3e1",i,!0,{sourceMap:!1,shadowMode:!1})},263:(t,e,n)=>{var i=n(434);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("1d28b333",i,!0,{sourceMap:!1,shadowMode:!1})},859:(t,e,n)=>{var i=n(914);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("de95764a",i,!0,{sourceMap:!1,shadowMode:!1})},664:(t,e,n)=>{var i=n(514);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("9c5db186",i,!0,{sourceMap:!1,shadowMode:!1})},39:(t,e,n)=>{var i=n(909);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("0a0205b6",i,!0,{sourceMap:!1,shadowMode:!1})},724:(t,e,n)=>{var i=n(435);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("be005c80",i,!0,{sourceMap:!1,shadowMode:!1})},183:(t,e,n)=>{var i=n(539);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("33204bb2",i,!0,{sourceMap:!1,shadowMode:!1})},486:(t,e,n)=>{var i=n(326);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("1ecbd352",i,!0,{sourceMap:!1,shadowMode:!1})},124:(t,e,n)=>{var i=n(566);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("6b5bfe56",i,!0,{sourceMap:!1,shadowMode:!1})},402:(t,e,n)=>{"use strict";function i(t,e){for(var n=[],i={},a=0;a<e.length;a++){var s=e[a],o=s[0],r=s[1],l=s[2],d=s[3],u={id:t+":"+a,css:r,media:l,sourceMap:d};i[o]?i[o].parts.push(u):n.push(i[o]={id:o,parts:[u]})}return n}n.d(e,{Z:()=>f});var a="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},o=a&&(document.head||document.getElementsByTagName("head")[0]),r=null,l=0,d=!1,u=function(){},c=null,p="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,a){d=n,c=a||{};var o=i(t,e);return m(o),function(e){for(var n=[],a=0;a<o.length;a++){var r=o[a],l=s[r.id];l.refs--,n.push(l)}e?(o=i(t,e),m(o)):o=[];for(a=0;a<n.length;a++){l=n[a];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete s[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],i=s[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(v(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(a=0;a<n.parts.length;a++)o.push(v(n.parts[a]));s[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function v(t){var e,n,i=document.querySelector("style["+p+'~="'+t.id+'"]');if(i){if(d)return u;i.parentNode.removeChild(i)}if(h){var a=l++;i=r||(r=g()),e=y.bind(null,i,a,!1),n=y.bind(null,i,a,!0)}else i=g(),e=_.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,a);else{var s=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(s,o[e]):t.appendChild(s)}}function _(t,e){var n=e.css,i=e.media,a=e.sourceMap;if(i&&t.setAttribute("media",i),c.ssrId&&t.setAttribute(p,e.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}}},e={};function n(i){var a=e[i];if(void 0!==a)return a.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}(()=>{n.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return n.d(e,{a:e}),e}})(),(()=>{n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}})(),(()=>{n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{n.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{n.p=""})();var i={};return(()=>{"use strict";if(n.r(i),n.d(i,{AVATAR_COLOR_MODIFIERS:()=>u,AVATAR_KIND_MODIFIERS:()=>l,AVATAR_SIZE_MODIFIERS:()=>d,BADGE_COLOR_MODIFIERS:()=>H,BREADCRUMBS_INVERTED_MODIFIER:()=>re,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>oe,BUTTON_GROUP_ALIGNMENT:()=>Ie,CHIP_SIZE_MODIFIERS:()=>Ad,COLOR_CODES:()=>wc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>g,DESCRIPTION_SIZE_TYPES:()=>p,DtAvatar:()=>N,DtBadge:()=>z,DtBanner:()=>ie,DtBreadcrumbItem:()=>ye,DtBreadcrumbs:()=>Ce,DtButton:()=>Nt,DtButtonGroup:()=>De,DtCard:()=>Be,DtCheckableInputMixin:()=>qr,DtCheckbox:()=>xd,DtCheckboxGroup:()=>kd,DtChip:()=>Rd,DtCollapsible:()=>yi,DtCombobox:()=>ei,DtDropdown:()=>vr,DtDropdownList:()=>Cr,DtDropdownSeparator:()=>Lr,DtGroupableInputMixin:()=>Fr,DtIcon:()=>it,DtInput:()=>Gr,DtInputGroup:()=>el,DtInputGroupMixin:()=>Xr,DtInputMixin:()=>Hr,DtKeyboardListNavigationMixin:()=>He,DtKeyboardShortcut:()=>Du,DtLazyShow:()=>mi,DtLink:()=>me,DtListItem:()=>an,DtListItemGroup:()=>Sl,DtListSection:()=>ml,DtModal:()=>dl,DtNotice:()=>El,DtPagination:()=>Pl,DtPopover:()=>pr,DtRadio:()=>Vl,DtRadioGroup:()=>Wl,DtRecipeCallbarButton:()=>lc,DtRecipeCallbarButtonWithPopover:()=>fc,DtRecipeComboboxMultiSelect:()=>nc,DtRecipeComboboxWithPopover:()=>Zu,DtRecipeContactInfo:()=>Sc,DtRecipeGroupedChip:()=>Qc,DtRecipeIvrNode:()=>Wc,DtRecipeTopBannerInfo:()=>kc,DtRootLayout:()=>Fu,DtSelectMenu:()=>Zd,DtSkeleton:()=>Hn,DtSkeletonListItem:()=>Rn,DtSkeletonParagraph:()=>Pn,DtSkeletonShape:()=>bn,DtSkeletonText:()=>kn,DtTab:()=>dd,DtTabGroup:()=>id,DtTabPanel:()=>md,DtToast:()=>iu,DtToggle:()=>cu,DtTooltip:()=>Su,DtValidationMessages:()=>Vr,INPUT_SIZES:()=>Pr,INPUT_TYPES:()=>Tr,IVR_NODE_BRANCH:()=>Bc,IVR_NODE_EXPERT:()=>$c,IVR_NODE_GO_TO:()=>Mc,IVR_NODE_HANGUP:()=>Nc,IVR_NODE_ICON_TYPES:()=>jc,IVR_NODE_LABELS:()=>Vc,IVR_NODE_PROMPT_COLLECT:()=>Tc,IVR_NODE_PROMPT_MENU:()=>Ac,IVR_NODE_PROMPT_PLAY:()=>Pc,IVR_NODE_TRANSFER:()=>Rc,LINK_KIND_MODIFIERS:()=>$t,LINK_VARIANTS:()=>Pt,MODAL_KIND_MODIFIERS:()=>al,MODAL_SIZE_MODIFIERS:()=>sl,MULTI_SELECT_SIZES:()=>Qu,NOTICE_KINDS:()=>at,POPOVER_CONTENT_WIDTHS:()=>zo,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>Fo,POPOVER_INITIAL_FOCUS_STRINGS:()=>Wo,POPOVER_PADDING_CLASSES:()=>qo,POPOVER_ROLES:()=>Ko,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>Mu,SELECT_SIZE_MODIFIERS:()=>Vd,SELECT_STATE_MODIFIERS:()=>Hd,SHORTCUTS_ALIASES_LIST:()=>Iu,SHORTCUTS_ICON_ALIASES:()=>wu,SHORTCUTS_ICON_SEPARATOR:()=>Ou,SKELETON_HEADING_HEIGHTS:()=>hn,SKELETON_RIPPLE_DURATION:()=>dn,SKELETON_SHAPES:()=>un,SKELETON_SHAPE_SIZES:()=>pn,SKELETON_TEXT_TYPES:()=>cn,TAB_IMPORTANCE_MODIFIERS:()=>Jl,TAB_LIST_IMPORTANCE_MODIFIERS:()=>Ql,TAB_LIST_KIND_MODIFIERS:()=>Xl,TAB_LIST_SIZES:()=>Zl,TOAST_ROLES:()=>Qd,TOOLTIP_DIRECTIONS:()=>fu,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>vu,TOOLTIP_KIND_MODIFIERS:()=>mu,TOOLTIP_STICKY_VALUES:()=>gu,USER_STATUS_COLOR_MODIFIERS:()=>vc,VALIDATION_MESSAGE_TYPES:()=>c,filterFormattedMessages:()=>I,formatMessages:()=>O,getUniqueString:()=>w,getValidationState:()=>E,validationMessageValidator:()=>Br}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(n.p=e[1])}var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-avatar",t.AVATAR_KIND_MODIFIERS[t.kind],t.AVATAR_SIZE_MODIFIERS[t.size],t.AVATAR_COLOR_MODIFIERS[t.color],t.avatarClass],attrs:{id:t.id,"data-qa":"dt-avatar"}},[t._t("default")],2)},s=[];const o=require("vue");var r=n.n(o);const l={default:"",icon:"d-avatar--icon",initials:"d-avatar--initials"},d={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","magenta-100":"d-avatar--magenta-100","magenta-200":"d-avatar--magenta-200","magenta-300":"d-avatar--magenta-300","magenta-400":"d-avatar--magenta-400","purple-200":"d-avatar--purple-200","purple-300":"d-avatar--purple-300","purple-400":"d-avatar--purple-400","purple-500":"d-avatar--purple-500","gold-100":"d-avatar--gold-100","gold-200":"d-avatar--gold-200","gold-300":"d-avatar--gold-300","gold-500":"d-avatar--gold-500"},c={ERROR:"error",WARNING:"warning",SUCCESS:"success"},p={LARGE:"lg",EXTRA_LARGE:"xl"},h={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},f={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},m={esc:"Esc",escape:"Escape",tab:"Tab",enter:"Enter",space:"Space",spacebar:"Spacebar",up:"Up",arrowup:"ArrowUp",left:"Left",arrowleft:"ArrowLeft",right:"Right",arrowright:"ArrowRight",down:"Down",arrowdown:"ArrowDown",home:"Home",end:"End"},g=c.ERROR,v="dt";let b=0;const y="input:not([type=hidden]):not(:disabled)",_="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",S=`${y},${_}`,x=`a,frame,iframe,${S},*[tabindex]`,C="function"===typeof setImmediate?setImmediate:setTimeout;function w(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;return`${t}${b++}`}function O(t){return t?t.map((t=>"string"===typeof t?{message:t,type:g}:t)):[]}function I(t){const e=E(t);return t&&e?t.filter((t=>!!t.message&&t.type===e)):[]}function E(t){return t?k(t,c.ERROR)?c.ERROR:k(t,c.WARNING)?c.WARNING:k(t,c.SUCCESS)?c.SUCCESS:null:null}function k(t,e){return!(!t||!e)&&t.some((t=>(null===t||void 0===t?void 0:t.type)===e))}function L(t){return null===t||void 0===t?void 0:t.querySelector(x)}const D={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new(r())({name:"Inner",beforeCreate(){this.$createElement=t},template:`<div>${e.props.html}</div>`}).$mount()._vnode.children}},A=()=>new Promise((t=>{C(t)})),T=t=>t.toLowerCase().split("-").map((t=>t.charAt(0).toUpperCase()+t.slice(1))).join(""),P={getUniqueString:w,formatMessages:O,filterFormattedMessages:I,hasFormattedMessageOfType:k,getValidationState:E,htmlFragment:D,flushPromises:A,kebabCaseToPascalCase:T},$={name:"DtAvatar",inheritAttrs:!1,props:{id:{type:String,default(){return w()}},size:{type:String,default:"md",validator:t=>Object.keys(d).includes(t)},color:{type:String,default:"base",validator:t=>Object.keys(u).includes(t)},avatarClass:{type:[String,Array,Object],default:""}},data(){return{kind:"initials",AVATAR_SIZE_MODIFIERS:d,AVATAR_COLOR_MODIFIERS:u,AVATAR_KIND_MODIFIERS:l}},mounted(){this.init()},updated(){this.init()},methods:{init(){const t=this.$el.firstChild;t&&(this.setKind(t),this.validateImageAttrsPresence())},setKind(t){this.isSvgType(t)?this.kind="icon":this.isImageType(t)?this.kind="image":this.kind="initials"},isSvgType(t){var e;return"SVG"===(null===t||void 0===t||null===(e=t.tagName)||void 0===e?void 0:e.toUpperCase())},isImageType(t){var e;return"IMG"===(null===t||void 0===t||null===(e=t.tagName)||void 0===e?void 0:e.toUpperCase())},validateImageAttrsPresence(){"image"===this.kind&&(this.$el.firstChild.getAttribute("src")&&this.$el.firstChild.getAttribute("alt")||r().util.warn("src and alt attributes are required for image avatars",this))}}},M=$;function B(t,e,n,i,a,s,o,r){var l,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):a&&(l=r?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var u=d.render;d.render=function(t,e){return l.call(e),u(t,e)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:d}}var R=B(M,a,s,!1,null,null,null);const N=R.exports;var j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:["d-badge",t.BADGE_COLOR_MODIFIERS[t.color]],attrs:{"data-qa":"dt-badge"}},[t._t("default",(function(){return[t._v(" "+t._s(t.text)+" ")]}))],2)},V=[];const H={base:"","black-700":"d-badge--black-700","green-400":"d-badge--green-400","orange-400":"d-badge--orange-400","magenta-100":"d-badge--magenta-100","magenta-300":"d-badge--magenta-300","magenta-400":"d-badge--magenta-400","magenta-500":"d-badge--magenta-500","purple-100":"d-badge--purple-100","purple-300":"d-badge--purple-300","purple-400":"d-badge--purple-400","purple-500":"d-badge--purple-500","red-300":"d-badge--red-300",white:"d-badge--white","gold-200":"d-badge--gold-200"},q={name:"DtBadge",props:{text:{type:String,default:""},color:{type:String,default:"base",validator:t=>Object.keys(H).includes(t)}},data(){return{BADGE_COLOR_MODIFIERS:H}}},F=q;var K=B(F,j,V,!1,null,null,null);const z=K.exports;var W=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.bannerClass,style:t.bannerBackgroundImage,attrs:{role:t.role},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:t.trapFocus.apply(null,arguments)}}},[n("div",{staticClass:"d-banner__dialog",class:t.dialogClass,attrs:{"aria-labelledby":t.titleId,"aria-describedby":t.contentId}},[t.hideIcon?t._e():n("dt-notice-icon",t._g({attrs:{kind:t.kind}},t.$listeners),[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.$listeners),[t._t("action")],2)],1)])},U=[],G=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.defaultIcon||t.$slots.default?n("div",{staticClass:"d-notice__icon",attrs:{"aria-hidden":"true"}},[t._t("default",(function(){return[n("dt-icon",{attrs:{name:t.defaultIcon,size:"400"}})]}))],2):t._e()},Z=[],Y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.currentIcon,{tag:"component",class:t.iconSize,attrs:{"data-qa":"dt-icon"}})},X=[];const Q={100:"d-icon--size-100",200:"d-icon--size-200",300:"d-icon--size-300",400:"d-icon--size-400",500:"d-icon--size-500",600:"d-icon--size-600",700:"d-icon--size-700",800:"d-icon--size-800"},J=require("@dialpad/dialtone-icons"),tt={name:"DtIcon",props:{size:{type:String,default:"500",validator:t=>Object.keys(Q).includes(t)},name:{type:String,required:!0}},data(){return{dialtoneIcons:J}},computed:{iconSize(){return Q[this.size]},iconName(){return T(this.name)},currentIcon(){return this.dialtoneIcons[this.iconName]}}},et=tt;var nt=B(et,Y,X,!1,null,null,null);const it=nt.exports,at=["base","error","info","success","warning"],st=["alert","alertdialog","status"],ot=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),rt={name:"DtNoticeIcon",components:{DtIcon:it},props:{kind:{type:String,default:"base",validate(t){return at.includes(t)}}},computed:{defaultIcon(){return ot.get(this.kind)}}},lt=rt;var dt=B(lt,G,Z,!1,null,null,null);const ut=dt.exports;var ct=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-notice__content",attrs:{"data-qa":"notice-content"}},[t.title||t.$slots.titleOverride?n("p",{staticClass:"d-notice__title",attrs:{id:t.titleId,"data-qa":"notice-content-title"}},[t._t("titleOverride",(function(){return[t._v(" "+t._s(t.title)+" ")]}))],2):t._e(),n("p",{staticClass:"d-notice__message",attrs:{id:t.contentId,"data-qa":"notice-content-message"}},[t._t("default")],2)])},pt=[];const ht={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},ft=ht;var mt=B(ft,ct,pt,!1,null,null,null);const gt=mt.exports;var vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-notice__actions",attrs:{"data-qa":"notice-content-actions"}},[t._t("default"),t.hideClose?t._e():n("dt-button",t._g(t._b({ref:"closeButton",attrs:{"data-qa":"dt-notice-action-close-button",size:"sm",importance:"clear",circle:"","aria-label":t.closeButtonProps.ariaLabel?t.closeButtonProps.ariaLabel:"Close"},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"200"}})]},proxy:!0}],null,!1,1154370889)},"dt-button",t.closeButtonProps,!1),t.noticeActionListeners)),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.close}}):t._e()],2)},bt=[],yt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",t._g({class:["base-button__button",t.buttonClasses()],style:{width:t.width},attrs:{"data-qa":"dt-button",type:t.type,disabled:t.disabled,"aria-live":t.computedAriaLive,"aria-label":t.loading?"loading":t.$attrs["aria-label"]}},t.buttonListeners),[t.shouldRenderIcon()?n("span",{class:["base-button__icon","d-btn__icon",t.ICON_POSITION_MODIFIERS[t.iconPosition]],attrs:{"data-qa":"dt-button-icon"}},[t._t("icon")],2):t._e(),t.$slots.default?n("span",{class:["d-w100p","d-btn__label","base-button__label",t.labelClass],attrs:{"data-qa":"dt-button-label"}},[t._t("default")],2):t._e()])},_t=[];const St={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},xt={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Ct={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},wt=["submit","reset","button"],Ot={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},It=[{circle:!0,kind:"default",importance:"primary",message:Et(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Et(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Et(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Et(!1,"muted","primary")}];function Et(t,e,n){return`You cannot have a ${t?"circle ":""}button with kind: ${e} and importance: ${n} as it does not exist in our design system. See https://dialpad.design/components/button.html for a list of available button styles`}const kt="danger",Lt="warning",Dt="success",At="muted",Tt="inverted",Pt=["",kt,Lt,Dt,At,Tt],$t={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},Mt={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(Ot).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(Ct).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys($t).includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>wt.includes(t)},width:{type:String,default:null},size:{type:String,default:"md",validator:t=>Object.keys(St).includes(t)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:t=>Object.keys(xt).includes(t)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:Ot,isInFocus:!1}},computed:{buttonListeners(){return this.assertiveOnFocus?{...this.$listeners,focusin:t=>{this.isInFocus=!0},focusout:t=>{this.isInFocus=!1}}:this.$listeners},computedAriaLive(){return this.assertiveOnFocus&&this.isInFocus?"assertive":this.$attrs.ariaLive}},watch:{$props:{deep:!0,immediate:!0,handler(){}}},methods:{buttonClasses(){return this.link?["d-link",$t[this.linkKind],St[this.size]]:["d-btn",Ct[this.importance],xt[this.kind],St[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(t,e,n){for(const i of It)if(t===i.circle&&e===i.kind&&n===i.importance)return console.error(i.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)}}},Bt=Mt;var Rt=B(Bt,yt,_t,!1,null,null,null);const Nt=Rt.exports,jt={props:{visuallyHiddenClose:{type:Boolean,default:!1},visuallyHiddenCloseLabel:{type:String,default:null}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateVisuallyHiddenCloseProps()}}},computed:{showVisuallyHiddenClose(){return this.visuallyHiddenClose&&null!=this.visuallyHiddenCloseLabel}},methods:{validateVisuallyHiddenCloseProps(){this.visuallyHiddenClose&&!this.visuallyHiddenCloseLabel&&console.error("If visuallyHiddenClose prop is true, the component includes\n a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.")}}};var Vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-button",{staticClass:"d-vi-visible-sr",attrs:{id:"sr-only-close-button","data-qa":"dt-sr-only-close-button","aria-label":t.visuallyHiddenCloseLabel},on:{click:t.close,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),e.stopPropagation(),t.close.apply(null,arguments))}}},[n("dt-icon",{attrs:{name:"close"}})],1)},Ht=[];const qt={name:"SrOnlyCloseButton",components:{DtIcon:it,DtButton:Nt},props:{visuallyHiddenCloseLabel:{type:String,default:null}},methods:{close(){this.$emit("close")}}},Ft=qt;var Kt=B(Ft,Vt,Ht,!1,null,null,null);const zt=Kt.exports,Wt={name:"DtNoticeAction",components:{DtIcon:it,DtButton:Nt,SrOnlyCloseButton:zt},mixins:[jt],props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeActionListeners(){return{...this.$listeners,click:t=>{this.close(),this.$emit("click",t)}}}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},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)},beforeDestroy(){var t;null===(t=this.lastFocusedElement)||void 0===t||t.focus()},methods:{close(){this.$emit("close")},validateProps(){this.hideClose&&!this.visuallyHiddenClose&&console.error("If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props need to be set so the component always includes a close button")}}},Ut=Wt;var Gt=B(Ut,vt,bt,!1,null,null,null);const Zt=Gt.exports,Yt=':not(:disabled):not([aria-disabled="true"])',Xt=`${Yt}:not([tabindex="-1"])`,Qt="button,[href],input,select,textarea,details,[tabindex]",Jt={methods:{async focusFirstElement(t){await this.$nextTick();const e=this._getFocusableElements(t,!0),n=this._getFirstFocusElement(e);null===n||void 0===n||n.focus({preventScroll:!0})},_getFirstFocusElement(t){if(!t.length)return;let e=t[0];return e.matches('[type="radio"]:not(:checked)')&&(e=t.find((t=>t.checked&&t.name===e.name))||e),e},_getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=[...t.querySelectorAll(Qt)];return n.filter((t=>{const n=window.getComputedStyle(t);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&t.matches(e?Yt:Xt)}))},focusTrappedTabPress(t,e){const n="Tab"===t.key;if(!n)return;const i=this._getFocusableElements(e);if(!i.length)return void t.preventDefault();const a=this._getFirstFocusElement(i),s=i[i.length-1];t.shiftKey?document.activeElement===a&&(s.focus(),t.preventDefault()):document.activeElement===s&&(a.focus(),t.preventDefault())}}},te={name:"DtBanner",components:{DtNoticeIcon:ut,DtNoticeContent:gt,DtNoticeAction:Zt},mixins:[Jt,jt],props:{titleId:{type:String,default(){return P.getUniqueString()}},contentId:{type:String,default(){return P.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return at.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1},hideIcon:{type:Boolean,default:!1},dialogClass:{type:String,default:""},backgroundImage:{type:String,default:""},backgroundSize:{type:String,default:"cover"}},emits:["close"],computed:{role(){return this.important?"alertdialog":"status"},bannerClass(){const t={error:"d-banner--error",info:"d-banner--info",success:"d-banner--success",warning:"d-banner--warning",base:"d-banner--base"};return["d-banner",t[this.kind],{"d-banner--important":this.important,"d-banner--pinned":this.pinned}]},bannerBackgroundImage(){return""===this.backgroundImage?null:`background-image: url(${this.backgroundImage});\n background-size: ${this.backgroundSize};`}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(t){this.important&&this.focusTrappedTabPress(t)}}},ee=te;var ne=B(ee,W,U,!1,null,null,null);const ie=ne.exports;var ae=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("nav",{class:["d-breadcrumbs",(t={},t[e.BREADCRUMBS_INVERTED_MODIFIER]=e.inverted,t)],attrs:{"aria-label":e.ariaLabel,"data-qa":"dt-breadcrumbs"}},[i("ol",[e._t("default",(function(){return e._l(e.breadcrumbs,(function(t,n){return i("dt-breadcrumb-item",e._g(e._b({key:e.getBreadcrumbItemKey(n),attrs:{inverted:e.inverted}},"dt-breadcrumb-item",t,!1),e.$listeners))}))}))],2)])},se=[];const oe="d-breadcrumbs__item--selected",re="d-breadcrumbs--inverted";var le=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("li",{class:["d-breadcrumbs__item",(t={},t[e.BREADCRUMB_ITEM_SELECTED_MODIFIER]=e.selected,t)],attrs:{"data-qa":"dt-breadcrumb-item"}},[i("dt-link",e._b({attrs:{kind:e.linkKind,"aria-current":e.ariaCurrent,"data-qa":"breadcrumb-item"}},"dt-link",e.$attrs,!1),[e._t("default",(function(){return[e._v(" "+e._s(e.label)+" ")]}))],2)],1)},de=[],ue=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",t._g({class:["d-link",t.LINK_KIND_MODIFIERS[t.kind]],attrs:{"data-qa":"dt-link"}},t.$listeners),[t._t("default")],2)},ce=[];const pe={name:"DtLink",props:{kind:{type:String,default:"",validator(t){return Pt.includes(t)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:$t}}},he=pe;var fe=B(he,ue,ce,!1,null,null,null);const me=fe.exports,ge={name:"DtBreadcrumbItem",components:{DtLink:me},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:oe}},computed:{linkKind(){return this.inverted?Tt:At},ariaCurrent(){return this.selected?"location":void 0}}},ve=ge;var be=B(ve,le,de,!1,null,null,null);const ye=be.exports,_e={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:ye},props:{breadcrumbs:{type:Array,default:()=>[],validate(t){return t.every((t=>{let{href:e,label:n}=t;return void 0!==e&&void 0!==n}))}},inverted:{type:Boolean,default:!1},ariaLabel:{type:String,default:"breadcrumb"}},data(){return{BREADCRUMBS_INVERTED_MODIFIER:re}},methods:{getBreadcrumbItemKey(t){return`breadcrumbs-item-${t}-${P.getUniqueString()}`}}},Se=_e;var xe=B(Se,ae,se,!1,null,null,null);const Ce=xe.exports;var we=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-btn-group",t.BUTTON_GROUP_ALIGNMENT[t.alignment]],attrs:{role:"group"}},[t._t("default")],2)},Oe=[];const Ie={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},Ee={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:t=>Object.keys(Ie).includes(t)}},data(){return{BUTTON_GROUP_ALIGNMENT:Ie}}},ke=Ee;var Le=B(ke,we,Oe,!1,null,null,null);const De=Le.exports;var Ae=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-card",t.containerClass],attrs:{"data-qa":"dt-card"}},[t.$slots.header?n("div",{class:["d-card__header",t.headerClass]},[t._t("header")],2):t._e(),n("div",{class:["d-card__content",t.contentClass],style:{"max-height":t.maxHeight}},[t._t("content")],2),t.$slots.footer?n("div",{class:["d-card__footer",t.footerClass]},[t._t("footer")],2):t._e()])},Te=[];const Pe={name:"DtCard",props:{maxHeight:{type:String,default:null},containerClass:{type:[String,Array,Object],default:""},contentClass:{type:[String,Array,Object],default:""},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""}}},$e=Pe;var Me=B($e,Ae,Te,!1,null,null,null);const Be=Me.exports;var Re=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:(e.stopPropagation(),t.onKeyValidation(e,"onEscapeKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.onKeyValidation(e,"onEnterKey")},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onUpKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onDownKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"home",void 0,e.key,void 0)?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onHomeKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"end",void 0,e.key,void 0)?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onEndKey"))}]}},[n("div",{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[t._t("input",null,{inputProps:t.inputProps})],2),t.showList?n("div",{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{mouseleave:t.clearHighlightIndex,focusout:t.clearHighlightIndex,"!mousemove":function(e){return t.onMouseHighlight.apply(null,arguments)}}},[t.loading&&!t.listRenderedOutside?n("combobox-loading-list",t._b({},"combobox-loading-list",t.listProps,!1)):t.emptyList&&(t.emptyStateMessage||t.$slots.emptyListItem)&&!t.listRenderedOutside?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage,"item-class":t.emptyStateClass}},"combobox-empty-list",t.listProps,!1),[t._t("emptyListItem")],2):t._t("list",null,{listProps:t.listProps,opened:t.onOpen,clearHighlightIndex:t.clearHighlightIndex})],2):t._e()])},Ne=[];const je={methods:{scrollElementIntoViewIfNeeded(t,e,n,i){t.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(t,e,n,i):this.scrollIntoView(t,"bottom",!1,n,i)},scrollElementIntoView(t,e,n,i){"center"!==e?!1===e?this.scrollIntoView(t,"bottom",!1,n,i):this.scrollIntoView(t,"top",!1,n,i):this.scrollIntoView(t,"center",!1,n,i)},scrollIntoViewIfNeeded(t,e,n,i){const a=e?"center":void 0;this.scrollIntoView(t,a,!0,n,i)},scrollIntoView(t,e,n,i,a){if(!t||!t.parentElement)return;const s=t.offsetTop,o=a||t.parentElement,r=this._getScrollBounds(o),l=r.bottom-r.top,d=this._getElementHeight(t),u=s+d;let c=-1;switch(e){case"top":c=s;break;case"center":c=s+(d-l)/2;break;case"bottom":c=c=u-l;break;default:c=s-r.top<=l/2?s:u-l;break}this._setScrollTop(o,c,r,s,u,n,i)},_setScrollTop(t,e,n,i,a,s,o){n=n||this._getScrollBounds(t);const r=n.bottom-n.top;if(s&&this._inScrollBounds(i,a,n))if(i<n.top)e=i;else{if(!(a>n.bottom))return;e=a-r}o?t.scrollTo({top:e,behavior:o}):t.scrollTop=e},_getElementHeight(t){return t.getBoundingClientRect().height},_getScrollBounds(t){const e=this._getElementHeight(t),n=t.scrollTop;return{top:n,bottom:n+e}},_inScrollBounds(t,e,n){const i=e-t;return e<=n.bottom+3*i/4&&t>=n.top-i/4}}},Ve="listElementKey is required or the referenced element doesn't exist. Received listElement: ",He=function(){let{listItemRole:t="option",indexKey:e="highlightIndex",idKey:n="highlightId",listElementKey:i="listRef",activeItemKey:a="",openMethod:s=null,afterHighlightMethod:o=null,beginningOfListMethod:r=null,endOfListMethod:l=null,scrollToOnHighlight:d=!0,focusOnKeyboardNavigation:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{mixins:[je],data(){return{[e]:-1,[n]:"",scrollToOnHighlight:d,focusOnKeyboardNavigation:u}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var t;return(null===(t=this[i]())||void 0===t?void 0:t.$el)||this[i]()},_itemsLength(){const t=this._getListItemNodes();return null===t?0:t.length},_getListItemNodes(){const e=this._getListElement();return e?Array.from(e.querySelectorAll(`[role="${t}"], #sr-only-close-button`)):(console.error(Ve,e),null)},onUpKey(){s&&this[s](!0),this[e]>0?this.setHighlightIndex(this[e]-1):r&&this[r](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){s&&this[s](!0),this[e]<this._itemsLength()-1?this.setHighlightIndex(this[e]+1):l&&this[l](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(t){const n=this._getListItemNodes(),i=n.filter((e=>{const n=e.textContent.trim().toLowerCase();return n.startsWith(t.toLowerCase())}));if(i.length<=0)return;const a=i.findIndex((t=>this[e]===n.indexOf(t))),s=n.indexOf(a<i.length-1?i[a+1]:i[0]);this.setHighlightIndex(s),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidCharacter(t){return 1===t.length},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},setHighlightIndex(t){this[e]=t,this[n]=this._getItemId(t),this._itemsLength()&&o&&this[o](t)},setHighlightId(t){this[n]=t,this[e]=this._getItemIndex(t),this._itemsLength()&&o&&this[o](this._getItemIndex(t))},_getItemIndex(e){const n=this._getListElement();if(!n)return;const i=Array.from(n.querySelectorAll(`[role="${t}"], #sr-only-close-button`));return i.indexOf(n.querySelector(`#${e}`))},_getItemId(e){var n;const i=this._getListElement();if(i)return null===(n=i.querySelectorAll(`[role="${t}"], #sr-only-close-button`)[e])||void 0===n?void 0:n.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const t=this[a];if(t){const e=this._getListElement();this.scrollElementIntoViewIfNeeded(t,null,null,e)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const t=this[a];t&&t.focus()}}}};var qe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"d-p0 d-mt8 d-hmx332 d-of-y-auto",attrs:{"aria-busy":"true"}},t._l(7,(function(t){return n("dt-list-item",{key:t,attrs:{role:"option","navigation-type":"none"}},[n("dt-skeleton",{attrs:{"text-option":{type:"body"},offset:0}})],1)})),1)},Fe=[],Ke=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.elementType,t._g({tag:"component",class:["dt-list-item d-ls-none",{"dt-list-item--focusable":t.isFocusable,"dt-list-item--highlighted":t.isHighlighted,"dt-list-item--static":!t.isHoverable}],attrs:{id:t.id,tabindex:t.isFocusable?0:-1,role:t.role,"aria-selected":t.isHighlighted}},t.listItemListeners),[t.listItemType?n(t.listItemType,{tag:"component",scopedSlots:t._u([t._l(t.$slots,(function(e,n){return{key:n,fn:function(){return[t._t(n)]},proxy:!0}}))],null,!0)}):t._t("default")],2)},ze=[];const We={DEFAULT:"default",CUSTOM:"custom"},Ue={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};var Ge=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-default-list-item d-fs-200 d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},[t.$slots.left?n("section",{staticClass:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8",attrs:{"data-qa":"dt-default-list-item-left-wrapper"}},[t._t("left")],2):t._e(),n("section",{staticClass:"d-fl-grow1 d-of-hidden"},[t.$slots.default?n("div",[t._t("default")],2):t._e(),t.$slots.subtitle?n("div",{class:["d-fs-100 d-fc-black-600",{"d-mtn2":t.$slots.default}],attrs:{"data-qa":"dt-default-list-item-subtitle-wrapper"}},[t._t("subtitle")],2):t._e(),t.$slots.bottom?n("div",{staticClass:"d-mt2",attrs:{"data-qa":"dt-default-list-item-bottom-wrapper"}},[t._t("bottom")],2):t._e()]),t.$slots.right?n("section",{staticClass:"dt-default-list-item--right d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pl8",attrs:{"data-qa":"dt-default-list-item-right-wrapper"}},[t._t("right")],2):t._e()])},Ze=[];const Ye={name:"DefaultListItem"},Xe=Ye;n(357);var Qe=B(Xe,Ge,Ze,!1,null,null,null);const Je=Qe.exports,tn={name:"ListItem",components:{DtDefaultListItem:Je},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return P.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:We.DEFAULT,validator:t=>Object.values(We).includes(t)},navigationType:{type:String,default:Ue.NONE,validator:t=>Object.values(Ue).includes(t)}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case We.DEFAULT:return Je;default:return null}},listItemListeners(){return{...this.$listeners,keydown:t=>{["enter","space"].includes(t.code.toLowerCase())&&this.onClick(t),this.$emit("keydown",t)},mousemove:t=>{this.onMouseHover(t),this.$emit("mousemove",t)},mouseleave:t=>{this.onMouseLeave(t),this.$emit("mouseleave",t)}}},isHighlighted(){return!!this.isHoverable&&(this.highlightId&&this.highlightId()?this.id===this.highlightId():this.mouseHighlighted)},isFocusable(){return this.navigationType===Ue.TAB},isHoverable(){return this.navigationType!==Ue.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}},en=tn;n(759);var nn=B(en,Ke,ze,!1,null,null,null);const an=nn.exports;var sn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{"aria-busy":"true",role:"status","aria-label":t.ariaLabel}},[t.listItemOption?n("dt-skeleton-list-item",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-list-item",!0===t.listItemOption?{}:t.listItemOption,!1)):t.shapeOption?n("dt-skeleton-shape",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-shape",!0===t.shapeOption?{}:t.shapeOption,!1)):t.paragraphOption?n("dt-skeleton-paragraph",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-paragraph",!0===t.paragraphOption?{}:t.paragraphOption,!1)):n("dt-skeleton-text",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-text",t.textOption||{},!1))],1)},on=[],rn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"skeleton",class:["skeleton-placeholder",t.SKELETON_SHAPES[t.shape],{"skeleton-placeholder--animate":t.animate},t.contentClass],style:t.shapeStyles,attrs:{"data-qa":"skeleton-shape"}})},ln=[];const dn=3e6,un={circle:"d-bar-circle",square:"d-bar2"},cn=["body","heading"],pn={sm:"24px",md:"32px",lg:"48px"},hn={sm:"d-h16",md:"d-h24",lg:"d-h32"},fn={computed:{skeletonOffset(){const t=this.$refs.skeleton;if(!t)return this.offset;const{top:e,height:n}=t.getBoundingClientRect();return e+n/2},skeletonStyle(){const t={};if(-1===this.skeletonOffset||!this.animate&&-1===this.animationDuration)return t;const e=this.skeletonOffset*dn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return t.animationDelay=`${e}ms`,t.animationDuration=`${n}ms`,t}}},mn={name:"DtSkeletonShape",mixins:[fn],props:{shape:{type:String,default:"circle",validator:t=>Object.keys(un).includes(t)},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:un}},computed:{shapeStyles(){const t=pn[this.size]||this.size;return{...this.skeletonStyle,"min-width":t,"max-width":t,"min-height":t,"max-height":t}}}},gn=mn;var vn=B(gn,rn,ln,!1,null,null,null);const bn=vn.exports;var yn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-d-flex",{"d-ai-center":1===t.paragraphs.rows},t.contentClass],attrs:{"data-qa":"skeleton-list-item"}},[n("dt-skeleton-shape",{staticClass:"d-mr8",attrs:{size:t.shapeSize,shape:t.shape,"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset,"content-class":t.shapeClass}}),n("div",{staticClass:"d-d-flex d-fd-column d-w100p"},[n("dt-skeleton-paragraph",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-paragraph",t.paragraphs,!1))],1)],1)},_n=[],Sn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-w100p",t.contentClass],attrs:{contentClass:"","data-qa":"skeleton-paragraph"}},t._l(t.integerRows,(function(e){return n("dt-skeleton-text",{key:e,class:[{"d-mb12":e!==t.integerRows}],attrs:{"data-qa":"skeleton-paragraph-row","content-class":t.rowClass,animate:t.animate,offset:t.offset,"animation-duration":t.animationDuration,width:t.getSizeParagraphRow(e)}})})),1)},xn=[],Cn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return"body"===t.type?n("div",{ref:"skeleton",class:["d-h8","d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":t.animate},t.contentClass],style:Object.assign({},{width:t.width},t.skeletonStyle),attrs:{"data-qa":"skeleton-text-body"}}):"heading"===t.type?n("div",{ref:"skeleton",class:[t.SKELETON_HEADING_HEIGHTS[t.headingHeight],"d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":t.animate},t.contentClass],style:Object.assign({},{width:t.width},t.skeletonStyle),attrs:{"data-qa":"skeleton-text-heading"}}):t._e()},wn=[];const On={name:"DtSkeletonText",mixins:[fn],props:{type:{type:String,default:"body",validator:t=>cn.includes(t)},headingHeight:{type:String,default:"md",validator:t=>Object.keys(hn).includes(t)},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:hn}}},In=On;var En=B(In,Cn,wn,!1,null,null,null);const kn=En.exports,Ln=t=>""!==t&&!Number.isNaN(Number(t)),Dn={name:"DtSkeletonParagraph",components:{DtSkeletonText:kn},props:{rows:{type:[Number,String],default:3,validator:Ln},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Ln},maxWidth:{type:[Number,String],default:100,validator:Ln},width:{type:[String,Array],default:null},randomWidth:{type:Boolean,default:!1},offset:{type:Number,default:1},animationDuration:{type:Number,default:-1},contentClass:{type:String,default:""},rowClass:{type:String,default:""}},computed:{integerRows(){return Number(this.rows)}},methods:{randomWidthPercentage(){const t=Math.min(this.minWidth,this.maxWidth),e=Math.max(this.minWidth,this.maxWidth);return`${Math.round(Math.random()*(e-t))+t}%`},getSizeParagraphRow(t){const e=this.width,n=Array.isArray(e),i=null===e||void 0===e?void 0:e[t-1],a=t===this.rows;return this.randomWidth?this.randomWidthPercentage():e&&!n?e:e&&n&&i?i:a?"38%":"100%"}}},An=Dn;var Tn=B(An,Sn,xn,!1,null,null,null);const Pn=Tn.exports,$n={name:"DtSkeletonListItem",components:{DtSkeletonShape:bn,DtSkeletonParagraph:Pn},props:{shape:{type:String,default:"circle",validator:t=>Object.keys(un).includes(t)},shapeSize:{type:String,default:"md"},paragraphs:{type:Object,default:()=>({rows:3,randomWidth:!0})},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!0},offset:{type:Number,default:1},shapeClass:{type:String,default:""},contentClass:{type:String,default:""}}},Mn=$n;var Bn=B(Mn,yn,_n,!1,null,null,null);const Rn=Bn.exports,Nn={name:"DtSkeleton",components:{DtSkeletonText:kn,DtSkeletonShape:bn,DtSkeletonListItem:Rn,DtSkeletonParagraph:Pn},props:{paragraphOption:{type:[Object,Boolean],default:null},listItemOption:{type:[Object,Boolean],default:null},textOption:{type:Object,default:null},shapeOption:{type:[Object,Boolean],default:null},animationDuration:{type:Number,default:-1},ariaLabel:{type:String,default:""},animate:{type:Boolean,default:!0},offset:{type:Number,default:1}},computed:{validationOptions(){return{paragraphOption:this.paragraphOption,listItemOption:this.listItemOption,textOption:this.textOption,shapeOption:this.shapeOption}}},watch:{$props:{immediate:!0,handler:"validator"}},methods:{validator(){const t=Object.entries(this.validationOptions).filter((t=>{let[e,n]=t;return n}));if(t.length>=2){const e=`Use only one of ${t.map((t=>{let[e]=t;return e})).join(" | ")} options at the same time`;console.error(e)}}}},jn=Nn;n(859);var Vn=B(jn,sn,on,!1,null,null,null);const Hn=Vn.exports,qn={name:"ComboboxLoadingList",components:{DtListItem:an,DtSkeleton:Hn}},Fn=qn;var Kn=B(Fn,qe,Fe,!1,null,null,null);const zn=Kn.exports;var Wn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"d-p0",attrs:{"data-qa":"dt-combobox-empty-list"}},[t._t("default",(function(){return[n("dt-list-item",{class:["dt-empty-list-item",t.itemClass],attrs:{role:"option","navigation-type":"none",type:"custom"}},[n("span",[t._v(t._s(t.message))])])]}))],2)},Un=[];const Gn={name:"ComboboxEmptyList",components:{DtListItem:an},props:{message:{type:String,required:!0},itemClass:{type:[String,Object,Array],default:""}}},Zn=Gn;n(750);var Yn=B(Zn,Wn,Un,!1,null,null,null);const Xn=Yn.exports,Qn={name:"DtCombobox",components:{ComboboxLoadingList:zn,ComboboxEmptyList:Xn},mixins:[He({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 w()}},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},emptyList:{type:Boolean,default:!1},emptyStateMessage:{type:String,default:""},emptyStateClass:{type:[String,Object,Array],default:""}},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.highlightId?this.getListElement().querySelector("#"+this.highlightId):""}},watch:{showList(t){this.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",t)),!t&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null)},loading(t){this.$nextTick((()=>{this.setInitialHighlightIndex()}))},$props:{deep:!0,immediate:!0,handler(){this.validateEmptyListProps()}}},created(){this.validateEmptyListProps()},methods:{onMouseHighlight(t){if(this.loading)return;const e=t.target.closest("li");e&&this.highlightId!==e.id&&this.setHighlightId(e.id)},getListElement(){var t,e;return null!==(t=this.outsideRenderedListRef)&&void 0!==t?t:null===(e=this.$refs.listWrapper)||void 0===e?void 0:e.querySelector(`#${this.listId}`)},clearHighlightIndex(){this.showList&&this.setHighlightIndex(-1)},afterHighlight(){this.loading||this.$emit("highlight",this.highlightIndex)},onEnterKey(){this.loading||this.emptyList||this.highlightIndex>=0&&this.$emit("select",this.highlightIndex)},onEscapeKey(){this.$emit("escape")},onOpen(t,e){var n;this.outsideRenderedListRef=e,null===(n=this.outsideRenderedListRef)||void 0===n||n.addEventListener("mousemove",this.onMouseHighlight),this.$emit("opened",t),t&&this.setInitialHighlightIndex()},onKeyValidation(t,e){this.showList&&this.getListElement()&&this[e](t)},setInitialHighlightIndex(){this.showList&&this.$nextTick((()=>{this.setHighlightIndex(this.loading?-1:0)}))},validateEmptyListProps(){this.$slots.emptyListItem||(this.emptyList&&!this.emptyStateMessage||!this.emptyList&&this.emptyStateMessage)&&console.error("Invalid props: you must pass both props emptyList and emptyStateMessage to show the\n empty message.")}}},Jn=Qn;var ti=B(Jn,Re,Ne,!1,null,null,null);const ei=ti.exports;var ni=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.elementType,t._g({ref:"collapsible",tag:"component"},t.$listeners),[n("div",{ref:"anchor",class:["d-dt-collapsibe__anchor",t.anchorClass],attrs:{id:!t.ariaLabelledBy&&t.labelledBy},on:{"!click":function(e){return t.defaultToggleOpen.apply(null,arguments)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.defaultToggleOpen.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:t.defaultToggleOpen.apply(null,arguments)}]}},[t._t("anchor",(function(){return[n("dt-button",{style:{width:t.maxWidth},attrs:{importance:"clear",kind:"muted","aria-controls":t.id,"aria-expanded":""+t.isOpen}},[n("dt-icon",{staticClass:"d-icon d-icon--size-300 d-mr8 d-fl-shrink0",attrs:{name:t.isOpen?"chevron-down":"chevron-right"}}),n("span",{staticClass:"d-mr-auto d-truncate",attrs:{title:t.anchorText}},[t._v(" "+t._s(t.anchorText)+" ")])],1)]}),{attrs:{"aria-controls":t.id,"aria-expanded":t.isOpen.toString(),role:"button"}})],2),n("dt-collapsible-lazy-show",t._g({ref:"contentWrapper",class:["d-dt-collapsible__content",t.contentClass],style:{"max-height":t.maxHeight,"max-width":t.maxWidth},attrs:{id:t.id,"aria-hidden":""+!t.isOpen,"aria-labelledby":t.labelledBy,"aria-label":t.ariaLabel,show:t.isOpen,"element-type":t.contentElementType,tabindex:"-1",appear:""},on:{"after-leave":t.onLeaveTransitionComplete,"after-enter":t.onEnterTransitionComplete}},t.$listeners),[t._t("content")],2)],1)},ii=[],ai=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",t._g({attrs:{appear:t.appear,"enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":t.beforeEnter,enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},t.$listeners),[n(t.elementType,t._g({directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],tag:"component"},t.$listeners),[t.initialized?t._t("default"):t._e()],2)],1)},si=[];const oi={name:"DtCollapsibleLazyShow",props:{show:{type:Boolean,default:null},appear:{type:Boolean,default:!1},elementType:{type:String,default:"div"}},data(){return{initialized:!!this.show}},watch:{show:function(t){t&&!this.initialized&&(this.initialized=!0)}},methods:{beforeEnter(t){requestAnimationFrame((()=>{t.style.height||(t.style.height="0px"),t.style.display=null}))},enter(t){requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height=`${t.scrollHeight}px`}))}))},afterEnter(t){t.style.height=null},beforeLeave(t){requestAnimationFrame((()=>{t.style.height||(t.style.height=`${t.offsetHeight}px`)}))},leave(t){requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height="0px"}))}))},afterLeave(t){t.style.height=null}}},ri=oi;n(124);var li=B(ri,ai,si,!1,null,null,null);const di=li.exports;var ui=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",t._g({attrs:{name:t.transition,appear:t.appear}},t.$listeners),[n("div",t._g({directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}]},t.$listeners),[t.initialized?t._t("default"):t._e()],2)])},ci=[];const pi={name:"DtLazyShow",props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},watch:{show:function(t){t&&!this.initialized&&(this.initialized=!0)}}},hi=pi;var fi=B(hi,ui,ci,!1,null,null,null);const mi=fi.exports,gi={name:"DtCollapsible",components:{DtButton:Nt,DtCollapsibleLazyShow:di,DtLazyShow:mi,DtIcon:it},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return w()}},elementType:{type:String,default:"div"},contentElementType:{type:String,default:"div"},anchorClass:{type:[String,Array,Object],default:null},contentClass:{type:[String,Array,Object],default:null},maxWidth:{type:String,default:null},maxHeight:{type:String,default:null},ariaLabel:{type:String,default:null},ariaLabelledBy:{type:String,default:null}},emits:["update:open","opened"],data(){return{isOpen:!0}},computed:{labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&w("DtCollapsible__anchor")},contentStyle(){return{"max-height":this.maxHeight,"max-width":this.maxWidth}}},watch:{open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0}},methods:{onLeaveTransitionComplete(){this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},onEnterTransitionComplete(){this.$emit("opened",!0,this.$refs.content),null!==this.open&&this.$emit("update:open",!0)},defaultToggleOpen(){null===this.open&&this.toggleOpen()},toggleOpen(){this.isOpen=!this.isOpen}}},vi=gi;var bi=B(vi,ni,ii,!1,null,null,null);const yi=bi.exports;var _i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-popover",t._g({ref:"popover",attrs:{"content-width":t.contentWidth,open:t.open,placement:t.placement,"initial-focus-element":t.openedWithKeyboard?"first":"dialog","fallback-placements":t.fallbackPlacements,padding:"none",role:"menu",modal:t.modal,"max-height":t.maxHeight,"max-width":t.maxWidth,"open-with-arrow-keys":!0,"open-on-context":t.openOnContext},scopedSlots:t._u([{key:"anchor",fn:function(e){var n=e.attrs;return[t._t("anchor",null,null,n)]}},{key:"content",fn:function(e){var i=e.close;return[n("ul",{ref:"listWrapper",class:t.listClasses,attrs:{id:t.listId,"data-qa":"dt-dropdown-list-wrapper"},on:{mouseleave:t.clearHighlightIndex,"!mousemove":function(e){return t.onMouseHighlight.apply(null,arguments)}}},[t._t("list",null,{close:i}),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel,tabindex:t.isArrowKeyNav?-1:0},on:{close:i}}):t._e()],2)]}}],null,!0)},t.dropdownListeners))},Si=[],xi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.modal&&t.isOpen?n("portal",[n("div",{staticClass:"d-modal--transparent",attrs:{"aria-hidden":t.modal&&t.isOpen?"false":"true"},on:{click:function(t){t.preventDefault(),t.stopPropagation()}}})]):t._e(),n(t.elementType,t._g({ref:"popover",tag:"component",class:["d-popover",{"d-popover__anchor--opened":t.isOpen}],attrs:{"data-qa":"dt-popover-container"}},t.$listeners),[n("div",{ref:"anchor",attrs:{id:!t.ariaLabelledby&&t.labelledBy,"data-qa":"dt-popover-anchor",tabindex:t.openOnContext?0:void 0},on:{"!click":function(e){return t.defaultToggleOpen.apply(null,arguments)},contextmenu:t.onContext,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.onArrowKeyPress.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.onArrowKeyPress.apply(null,arguments))}],wheel:function(e){return t.isOpen&&t.modal&&e.preventDefault()},"!keydown":function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"escape",void 0,e.key,void 0)?null:t.closePopover.apply(null,arguments)}}},[t._t("anchor",null,{attrs:{"aria-expanded":t.isOpen.toString(),"aria-controls":t.id,"aria-haspopup":t.role}})],2),n("dt-lazy-show",t._g({ref:"content",class:["d-popover__dialog",{"d-popover__dialog--modal":t.modal},t.dialogClass],style:{"max-height":t.maxHeight,"max-width":t.maxWidth},attrs:{id:t.id,role:t.role,"data-qa":"dt-popover","aria-hidden":""+!t.isOpen,"aria-labelledby":t.labelledBy,"aria-label":t.ariaLabel,"aria-modal":""+!t.modal,transition:t.transition,show:t.isOpen,tabindex:t.contentTabindex,appear:""}},t.popoverListeners),[t.$slots.headerContent||t.showCloseButton?n("popover-header-footer",{ref:"popover__header",class:t.POPOVER_HEADER_FOOTER_PADDING_CLASSES[t.padding],attrs:{"content-class":t.headerClass,type:"header","show-close-button":t.showCloseButton,"close-button-props":t.closeButtonProps},on:{close:t.closePopover},scopedSlots:t._u([{key:"content",fn:function(){return[t._t("headerContent",null,{close:t.closePopover})]},proxy:!0}],null,!0)}):t._e(),n("div",{ref:"popover__content",class:["d-popover__content",t.POPOVER_PADDING_CLASSES[t.padding],t.contentClass],attrs:{"data-qa":"dt-popover-content"}},[t._t("content",null,{close:t.closePopover})],2),t.$slots.footerContent?n("popover-header-footer",{ref:"popover__footer",class:t.POPOVER_HEADER_FOOTER_PADDING_CLASSES[t.padding],attrs:{type:"footer","content-class":t.footerClass},scopedSlots:t._u([{key:"content",fn:function(){return[t._t("footerContent",null,{close:t.closePopover})]},proxy:!0}],null,!0)}):t._e(),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.closePopover}}):t._e()],1)],1)],1)},Ci=[];function wi(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),i=1,a=1;return{width:n.width/i,height:n.height/a,top:n.top/a,right:n.right/i,bottom:n.bottom/a,left:n.left/i,x:n.left/i,y:n.top/a}}function Oi(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ii(t){var e=Oi(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Ei(t){var e=Oi(t).Element;return t instanceof e||t instanceof Element}function ki(t){var e=Oi(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Li(t){if("undefined"===typeof ShadowRoot)return!1;var e=Oi(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Di(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Ai(t){return t!==Oi(t)&&ki(t)?Di(t):Ii(t)}function Ti(t){return t?(t.nodeName||"").toLowerCase():null}function Pi(t){return((Ei(t)?t.ownerDocument:t.document)||window.document).documentElement}function $i(t){return wi(Pi(t)).left+Ii(t).scrollLeft}function Mi(t){return Oi(t).getComputedStyle(t)}function Bi(t){var e=Mi(t),n=e.overflow,i=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function Ri(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return 1!==n||1!==i}function Ni(t,e,n){void 0===n&&(n=!1);var i=ki(e),a=ki(e)&&Ri(e),s=Pi(e),o=wi(t,a),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Ti(e)||Bi(s))&&(r=Ai(e)),ki(e)?(l=wi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=$i(s))),{x:o.left+r.scrollLeft-l.x,y:o.top+r.scrollTop-l.y,width:o.width,height:o.height}}function ji(t){var e=wi(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Vi(t){return"html"===Ti(t)?t:t.assignedSlot||t.parentNode||(Li(t)?t.host:null)||Pi(t)}function Hi(t){return["html","body","#document"].indexOf(Ti(t))>=0?t.ownerDocument.body:ki(t)&&Bi(t)?t:Hi(Vi(t))}function qi(t,e){var n;void 0===e&&(e=[]);var i=Hi(t),a=i===(null==(n=t.ownerDocument)?void 0:n.body),s=Oi(i),o=a?[s].concat(s.visualViewport||[],Bi(i)?i:[]):i,r=e.concat(o);return a?r:r.concat(qi(Vi(o)))}function Fi(t){return["table","td","th"].indexOf(Ti(t))>=0}function Ki(t){return ki(t)&&"fixed"!==Mi(t).position?t.offsetParent:null}function zi(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&ki(t)){var i=Mi(t);if("fixed"===i.position)return null}var a=Vi(t);while(ki(a)&&["html","body"].indexOf(Ti(a))<0){var s=Mi(a);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||e&&"filter"===s.willChange||e&&s.filter&&"none"!==s.filter)return a;a=a.parentNode}return null}function Wi(t){var e=Oi(t),n=Ki(t);while(n&&Fi(n)&&"static"===Mi(n).position)n=Ki(n);return n&&("html"===Ti(n)||"body"===Ti(n)&&"static"===Mi(n).position)?e:n||zi(t)||e}var Ui="top",Gi="bottom",Zi="right",Yi="left",Xi="auto",Qi=[Ui,Gi,Zi,Yi],Ji="start",ta="end",ea="clippingParents",na="viewport",ia="popper",aa="reference",sa=Qi.reduce((function(t,e){return t.concat([e+"-"+Ji,e+"-"+ta])}),[]),oa=[].concat(Qi,[Xi]).reduce((function(t,e){return t.concat([e,e+"-"+Ji,e+"-"+ta])}),[]),ra="beforeRead",la="read",da="afterRead",ua="beforeMain",ca="main",pa="afterMain",ha="beforeWrite",fa="write",ma="afterWrite",ga=[ra,la,da,ua,ca,pa,ha,fa,ma];function va(t){var e=new Map,n=new Set,i=[];function a(t){n.add(t.name);var s=[].concat(t.requires||[],t.requiresIfExists||[]);s.forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&a(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||a(t)})),i}function ba(t){var e=va(t);return ga.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function ya(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function _a(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}var Sa={placement:"bottom",modifiers:[],strategy:"absolute"};function xa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function Ca(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,a=e.defaultOptions,s=void 0===a?Sa:a;return function(t,e,n){void 0===n&&(n=s);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Sa,s),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},o=[],r=!1,l={state:a,setOptions:function(n){var o="function"===typeof n?n(a.options):n;u(),a.options=Object.assign({},s,a.options,o),a.scrollParents={reference:Ei(t)?qi(t):t.contextElement?qi(t.contextElement):[],popper:qi(e)};var r=ba(_a([].concat(i,a.options.modifiers)));return a.orderedModifiers=r.filter((function(t){return t.enabled})),d(),l.update()},forceUpdate:function(){if(!r){var t=a.elements,e=t.reference,n=t.popper;if(xa(e,n)){a.rects={reference:Ni(e,Wi(n),"fixed"===a.options.strategy),popper:ji(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var s=a.orderedModifiers[i],o=s.fn,d=s.options,u=void 0===d?{}:d,c=s.name;"function"===typeof o&&(a=o({state:a,options:u,name:c,instance:l})||a)}else a.reset=!1,i=-1}}},update:ya((function(){return new Promise((function(t){l.forceUpdate(),t(a)}))})),destroy:function(){u(),r=!0}};if(!xa(t,e))return l;function d(){a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,s=t.effect;if("function"===typeof s){var r=s({state:a,name:e,instance:l,options:i}),d=function(){};o.push(r||d)}}))}function u(){o.forEach((function(t){return t()})),o=[]}return l.setOptions(n).then((function(t){!r&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var wa={passive:!0};function Oa(t){var e=t.state,n=t.instance,i=t.options,a=i.scroll,s=void 0===a||a,o=i.resize,r=void 0===o||o,l=Oi(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach((function(t){t.addEventListener("scroll",n.update,wa)})),r&&l.addEventListener("resize",n.update,wa),function(){s&&d.forEach((function(t){t.removeEventListener("scroll",n.update,wa)})),r&&l.removeEventListener("resize",n.update,wa)}}const Ia={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Oa,data:{}};function Ea(t){return t.split("-")[0]}function ka(t){return t.split("-")[1]}function La(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Da(t){var e,n=t.reference,i=t.element,a=t.placement,s=a?Ea(a):null,o=a?ka(a):null,r=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case Ui:e={x:r,y:n.y-i.height};break;case Gi:e={x:r,y:n.y+n.height};break;case Zi:e={x:n.x+n.width,y:l};break;case Yi:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var d=s?La(s):null;if(null!=d){var u="y"===d?"height":"width";switch(o){case Ji:e[d]=e[d]-(n[u]/2-i[u]/2);break;case ta:e[d]=e[d]+(n[u]/2-i[u]/2);break;default:}}return e}function Aa(t){var e=t.state,n=t.name;e.modifiersData[n]=Da({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Ta={name:"popperOffsets",enabled:!0,phase:"read",fn:Aa,data:{}};var Pa=Math.max,$a=Math.min,Ma=Math.round,Ba={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ra(t){var e=t.x,n=t.y,i=window,a=i.devicePixelRatio||1;return{x:Ma(Ma(e*a)/a)||0,y:Ma(Ma(n*a)/a)||0}}function Na(t){var e,n=t.popper,i=t.popperRect,a=t.placement,s=t.variation,o=t.offsets,r=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,c=!0===u?Ra(o):"function"===typeof u?u(o):o,p=c.x,h=void 0===p?0:p,f=c.y,m=void 0===f?0:f,g=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),b=Yi,y=Ui,_=window;if(d){var S=Wi(n),x="clientHeight",C="clientWidth";S===Oi(n)&&(S=Pi(n),"static"!==Mi(S).position&&"absolute"===r&&(x="scrollHeight",C="scrollWidth")),S=S,a!==Ui&&(a!==Yi&&a!==Zi||s!==ta)||(y=Gi,m-=S[x]-i.height,m*=l?1:-1),a!==Yi&&(a!==Ui&&a!==Gi||s!==ta)||(b=Zi,h-=S[C]-i.width,h*=l?1:-1)}var w,O=Object.assign({position:r},d&&Ba);return l?Object.assign({},O,(w={},w[y]=v?"0":"",w[b]=g?"0":"",w.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",w)):Object.assign({},O,(e={},e[y]=v?m+"px":"",e[b]=g?h+"px":"",e.transform="",e))}function ja(t){var e=t.state,n=t.options,i=n.gpuAcceleration,a=void 0===i||i,s=n.adaptive,o=void 0===s||s,r=n.roundOffsets,l=void 0===r||r,d={placement:Ea(e.placement),variation:ka(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Na(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Na(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Va={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ja,data:{}};function Ha(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},a=e.elements[t];ki(a)&&Ti(a)&&(Object.assign(a.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))}function qa(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]),o=s.reduce((function(t,e){return t[e]="",t}),{});ki(i)&&Ti(i)&&(Object.assign(i.style,o),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}}const Fa={name:"applyStyles",enabled:!0,phase:"write",fn:Ha,effect:qa,requires:["computeStyles"]};function Ka(t,e,n){var i=Ea(t),a=[Yi,Ui].indexOf(i)>=0?-1:1,s="function"===typeof n?n(Object.assign({},e,{placement:t})):n,o=s[0],r=s[1];return o=o||0,r=(r||0)*a,[Yi,Zi].indexOf(i)>=0?{x:r,y:o}:{x:o,y:r}}function za(t){var e=t.state,n=t.options,i=t.name,a=n.offset,s=void 0===a?[0,0]:a,o=oa.reduce((function(t,n){return t[n]=Ka(n,e.rects,s),t}),{}),r=o[e.placement],l=r.x,d=r.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[i]=o}const Wa={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:za};var Ua={left:"right",right:"left",bottom:"top",top:"bottom"};function Ga(t){return t.replace(/left|right|bottom|top/g,(function(t){return Ua[t]}))}var Za={start:"end",end:"start"};function Ya(t){return t.replace(/start|end/g,(function(t){return Za[t]}))}function Xa(t){var e=Oi(t),n=Pi(t),i=e.visualViewport,a=n.clientWidth,s=n.clientHeight,o=0,r=0;return i&&(a=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,r=i.offsetTop)),{width:a,height:s,x:o+$i(t),y:r}}function Qa(t){var e,n=Pi(t),i=Ii(t),a=null==(e=t.ownerDocument)?void 0:e.body,s=Pa(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=Pa(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),r=-i.scrollLeft+$i(t),l=-i.scrollTop;return"rtl"===Mi(a||n).direction&&(r+=Pa(n.clientWidth,a?a.clientWidth:0)-s),{width:s,height:o,x:r,y:l}}function Ja(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Li(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ts(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function es(t){var e=wi(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function ns(t,e){return e===na?ts(Xa(t)):ki(e)?es(e):ts(Qa(Pi(t)))}function is(t){var e=qi(Vi(t)),n=["absolute","fixed"].indexOf(Mi(t).position)>=0,i=n&&ki(t)?Wi(t):t;return Ei(i)?e.filter((function(t){return Ei(t)&&Ja(t,i)&&"body"!==Ti(t)})):[]}function as(t,e,n){var i="clippingParents"===e?is(t):[].concat(e),a=[].concat(i,[n]),s=a[0],o=a.reduce((function(e,n){var i=ns(t,n);return e.top=Pa(i.top,e.top),e.right=$a(i.right,e.right),e.bottom=$a(i.bottom,e.bottom),e.left=Pa(i.left,e.left),e}),ns(t,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function ss(){return{top:0,right:0,bottom:0,left:0}}function os(t){return Object.assign({},ss(),t)}function rs(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function ls(t,e){void 0===e&&(e={});var n=e,i=n.placement,a=void 0===i?t.placement:i,s=n.boundary,o=void 0===s?ea:s,r=n.rootBoundary,l=void 0===r?na:r,d=n.elementContext,u=void 0===d?ia:d,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,f=void 0===h?0:h,m=os("number"!==typeof f?f:rs(f,Qi)),g=u===ia?aa:ia,v=t.rects.popper,b=t.elements[p?g:u],y=as(Ei(b)?b:b.contextElement||Pi(t.elements.popper),o,l),_=wi(t.elements.reference),S=Da({reference:_,element:v,strategy:"absolute",placement:a}),x=ts(Object.assign({},v,S)),C=u===ia?x:_,w={top:y.top-C.top+m.top,bottom:C.bottom-y.bottom+m.bottom,left:y.left-C.left+m.left,right:C.right-y.right+m.right},O=t.modifiersData.offset;if(u===ia&&O){var I=O[a];Object.keys(w).forEach((function(t){var e=[Zi,Gi].indexOf(t)>=0?1:-1,n=[Ui,Gi].indexOf(t)>=0?"y":"x";w[t]+=I[n]*e}))}return w}function ds(t,e){void 0===e&&(e={});var n=e,i=n.placement,a=n.boundary,s=n.rootBoundary,o=n.padding,r=n.flipVariations,l=n.allowedAutoPlacements,d=void 0===l?oa:l,u=ka(i),c=u?r?sa:sa.filter((function(t){return ka(t)===u})):Qi,p=c.filter((function(t){return d.indexOf(t)>=0}));0===p.length&&(p=c);var h=p.reduce((function(e,n){return e[n]=ls(t,{placement:n,boundary:a,rootBoundary:s,padding:o})[Ea(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}function us(t){if(Ea(t)===Xi)return[];var e=Ga(t);return[Ya(t),e,Ya(e)]}function cs(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var a=n.mainAxis,s=void 0===a||a,o=n.altAxis,r=void 0===o||o,l=n.fallbackPlacements,d=n.padding,u=n.boundary,c=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,g=e.options.placement,v=Ea(g),b=v===g,y=l||(b||!f?[Ga(g)]:us(g)),_=[g].concat(y).reduce((function(t,n){return t.concat(Ea(n)===Xi?ds(e,{placement:n,boundary:u,rootBoundary:c,padding:d,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),S=e.rects.reference,x=e.rects.popper,C=new Map,w=!0,O=_[0],I=0;I<_.length;I++){var E=_[I],k=Ea(E),L=ka(E)===Ji,D=[Ui,Gi].indexOf(k)>=0,A=D?"width":"height",T=ls(e,{placement:E,boundary:u,rootBoundary:c,altBoundary:p,padding:d}),P=D?L?Zi:Yi:L?Gi:Ui;S[A]>x[A]&&(P=Ga(P));var $=Ga(P),M=[];if(s&&M.push(T[k]<=0),r&&M.push(T[P]<=0,T[$]<=0),M.every((function(t){return t}))){O=E,w=!1;break}C.set(E,M)}if(w)for(var B=f?3:1,R=function(t){var e=_.find((function(e){var n=C.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},N=B;N>0;N--){var j=R(N);if("break"===j)break}e.placement!==O&&(e.modifiersData[i]._skip=!0,e.placement=O,e.reset=!0)}}const ps={name:"flip",enabled:!0,phase:"main",fn:cs,requiresIfExists:["offset"],data:{_skip:!1}};function hs(t){return"x"===t?"y":"x"}function fs(t,e,n){return Pa(t,$a(e,n))}function ms(t){var e=t.state,n=t.options,i=t.name,a=n.mainAxis,s=void 0===a||a,o=n.altAxis,r=void 0!==o&&o,l=n.boundary,d=n.rootBoundary,u=n.altBoundary,c=n.padding,p=n.tether,h=void 0===p||p,f=n.tetherOffset,m=void 0===f?0:f,g=ls(e,{boundary:l,rootBoundary:d,padding:c,altBoundary:u}),v=Ea(e.placement),b=ka(e.placement),y=!b,_=La(v),S=hs(_),x=e.modifiersData.popperOffsets,C=e.rects.reference,w=e.rects.popper,O="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,I={x:0,y:0};if(x){if(s||r){var E="y"===_?Ui:Yi,k="y"===_?Gi:Zi,L="y"===_?"height":"width",D=x[_],A=x[_]+g[E],T=x[_]-g[k],P=h?-w[L]/2:0,$=b===Ji?C[L]:w[L],M=b===Ji?-w[L]:-C[L],B=e.elements.arrow,R=h&&B?ji(B):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ss(),j=N[E],V=N[k],H=fs(0,C[L],R[L]),q=y?C[L]/2-P-H-j-O:$-H-j-O,F=y?-C[L]/2+P+H+V+O:M+H+V+O,K=e.elements.arrow&&Wi(e.elements.arrow),z=K?"y"===_?K.clientTop||0:K.clientLeft||0:0,W=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,U=x[_]+q-W-z,G=x[_]+F-W;if(s){var Z=fs(h?$a(A,U):A,D,h?Pa(T,G):T);x[_]=Z,I[_]=Z-D}if(r){var Y="x"===_?Ui:Yi,X="x"===_?Gi:Zi,Q=x[S],J=Q+g[Y],tt=Q-g[X],et=fs(h?$a(J,U):J,Q,h?Pa(tt,G):tt);x[S]=et,I[S]=et-Q}}e.modifiersData[i]=I}}const gs={name:"preventOverflow",enabled:!0,phase:"main",fn:ms,requiresIfExists:["offset"]};var vs=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,os("number"!==typeof t?t:rs(t,Qi))};function bs(t){var e,n=t.state,i=t.name,a=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,r=Ea(n.placement),l=La(r),d=[Yi,Zi].indexOf(r)>=0,u=d?"height":"width";if(s&&o){var c=vs(a.padding,n),p=ji(s),h="y"===l?Ui:Yi,f="y"===l?Gi:Zi,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],v=Wi(s),b=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=m/2-g/2,_=c[h],S=b-p[u]-c[f],x=b/2-p[u]/2+y,C=fs(_,x,S),w=l;n.modifiersData[i]=(e={},e[w]=C,e.centerOffset=C-x,e)}}function ys(t){var e=t.state,n=t.options,i=n.element,a=void 0===i?"[data-popper-arrow]":i;null!=a&&("string"!==typeof a||(a=e.elements.popper.querySelector(a),a))&&Ja(e.elements.popper,a)&&(e.elements.arrow=a)}const _s={name:"arrow",enabled:!0,phase:"main",fn:bs,effect:ys,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ss(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function xs(t){return[Ui,Zi,Gi,Yi].some((function(e){return t[e]>=0}))}function Cs(t){var e=t.state,n=t.name,i=e.rects.reference,a=e.rects.popper,s=e.modifiersData.preventOverflow,o=ls(e,{elementContext:"reference"}),r=ls(e,{altBoundary:!0}),l=Ss(o,i),d=Ss(r,a,s),u=xs(l),c=xs(d);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:c},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":c})}const ws={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Cs};var Os=[Ia,Ta,Va,Fa,Wa,ps,gs,_s,ws],Is=Ca({defaultModifiers:Os}),Es="tippy-box",ks="tippy-content",Ls="tippy-backdrop",Ds="tippy-arrow",As="tippy-svg-arrow",Ts={passive:!0,capture:!0},Ps=function(){return document.body};function $s(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function Ms(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function Bs(t,e){return"function"===typeof t?t.apply(void 0,e):t}function Rs(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function Ns(t){return t.split(/\s+/).filter(Boolean)}function js(t){return[].concat(t)}function Vs(t,e){-1===t.indexOf(e)&&t.push(e)}function Hs(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function qs(t){return t.split("-")[0]}function Fs(t){return[].slice.call(t)}function Ks(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function zs(){return document.createElement("div")}function Ws(t){return["Element","Fragment"].some((function(e){return Ms(t,e)}))}function Us(t){return Ms(t,"NodeList")}function Gs(t){return Ms(t,"MouseEvent")}function Zs(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function Ys(t){return Ws(t)?[t]:Us(t)?Fs(t):Array.isArray(t)?t:Fs(document.querySelectorAll(t))}function Xs(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function Qs(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function Js(t){var e,n=js(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function to(t,e){var n=e.clientX,i=e.clientY;return t.every((function(t){var e=t.popperRect,a=t.popperState,s=t.props,o=s.interactiveBorder,r=qs(a.placement),l=a.modifiersData.offset;if(!l)return!0;var d="bottom"===r?l.top.y:0,u="top"===r?l.bottom.y:0,c="right"===r?l.left.x:0,p="left"===r?l.right.x:0,h=e.top-i+d>o,f=i-e.bottom-u>o,m=e.left-n+c>o,g=n-e.right-p>o;return h||f||m||g}))}function eo(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function no(t,e){var n=e;while(n){var i;if(t.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var io={isTouch:!1},ao=0;function so(){io.isTouch||(io.isTouch=!0,window.performance&&document.addEventListener("mousemove",oo))}function oo(){var t=performance.now();t-ao<20&&(io.isTouch=!1,document.removeEventListener("mousemove",oo)),ao=t}function ro(){var t=document.activeElement;if(Zs(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function lo(){document.addEventListener("touchstart",so,Ts),window.addEventListener("blur",ro)}var uo="undefined"!==typeof window&&"undefined"!==typeof document,co=!!uo&&!!window.msCrypto;var po={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ho={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},fo=Object.assign({appendTo:Ps,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},po,ho),mo=Object.keys(fo),go=function(t){var e=Object.keys(t);e.forEach((function(e){fo[e]=t[e]}))};function vo(t){var e=t.plugins||[],n=e.reduce((function(e,n){var i,a=n.name,s=n.defaultValue;a&&(e[a]=void 0!==t[a]?t[a]:null!=(i=fo[a])?i:s);return e}),{});return Object.assign({},t,n)}function bo(t,e){var n=e?Object.keys(vo(Object.assign({},fo,{plugins:e}))):mo,i=n.reduce((function(e,n){var i=(t.getAttribute("data-tippy-"+n)||"").trim();if(!i)return e;if("content"===n)e[n]=i;else try{e[n]=JSON.parse(i)}catch(a){e[n]=i}return e}),{});return i}function yo(t,e){var n=Object.assign({},e,{content:Bs(e.content,[t])},e.ignoreAttributes?{}:bo(t,e.plugins));return n.aria=Object.assign({},fo.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}var _o=function(){return"innerHTML"};function So(t,e){t[_o()]=e}function xo(t){var e=zs();return!0===t?e.className=Ds:(e.className=As,Ws(t)?e.appendChild(t):So(e,t)),e}function Co(t,e){Ws(e.content)?(So(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?So(t,e.content):t.textContent=e.content)}function wo(t){var e=t.firstElementChild,n=Fs(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(ks)})),arrow:n.find((function(t){return t.classList.contains(Ds)||t.classList.contains(As)})),backdrop:n.find((function(t){return t.classList.contains(Ls)}))}}function Oo(t){var e=zs(),n=zs();n.className=Es,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=zs();function a(n,i){var a=wo(e),s=a.box,o=a.content,r=a.arrow;i.theme?s.setAttribute("data-theme",i.theme):s.removeAttribute("data-theme"),"string"===typeof i.animation?s.setAttribute("data-animation",i.animation):s.removeAttribute("data-animation"),i.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth="number"===typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?s.setAttribute("role",i.role):s.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||Co(o,t.props),i.arrow?r?n.arrow!==i.arrow&&(s.removeChild(r),s.appendChild(xo(i.arrow))):s.appendChild(xo(i.arrow)):r&&s.removeChild(r)}return i.className=ks,i.setAttribute("data-state","hidden"),Co(i,t.props),e.appendChild(n),n.appendChild(i),a(t.props,t.props),{popper:e,onUpdate:a}}Oo.$$tippy=!0;var Io=1,Eo=[],ko=[];function Lo(t,e){var n,i,a,s,o,r,l,d=yo(t,Object.assign({},fo,vo(Ks(e)))),u=!1,c=!1,p=!1,h=!1,f=[],m=Rs(Y,d.interactiveDebounce),g=Io++,v=null,b=Hs(d.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:g,reference:t,popper:zs(),popperInstance:v,props:d,state:y,plugins:b,clearDelayTimeouts:lt,setProps:dt,setContent:ut,show:ct,hide:pt,hideWithInteractivity:ht,enable:ot,disable:rt,unmount:ft,destroy:mt};if(!d.render)return _;var S=d.render(_),x=S.popper,C=S.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,t._tippy=_,x._tippy=_;var w=b.map((function(t){return t.fn(_)})),O=t.hasAttribute("aria-expanded");return U(),B(),P(),$("onCreate",[_]),d.showOnCreate&&at(),x.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&D().addEventListener("mousemove",m)})),_;function I(){var t=_.props.touch;return Array.isArray(t)?t:[t,0]}function E(){return"hold"===I()[0]}function k(){var t;return!(null==(t=_.props.render)||!t.$$tippy)}function L(){return l||t}function D(){var t=L().parentNode;return t?Js(t):document}function A(){return wo(x)}function T(t){return _.state.isMounted&&!_.state.isVisible||io.isTouch||s&&"focus"===s.type?0:$s(_.props.delay,t?0:1,fo.delay)}function P(t){void 0===t&&(t=!1),x.style.pointerEvents=_.props.interactive&&!t?"":"none",x.style.zIndex=""+_.props.zIndex}function $(t,e,n){var i;(void 0===n&&(n=!0),w.forEach((function(n){n[t]&&n[t].apply(n,e)})),n)&&(i=_.props)[t].apply(i,e)}function M(){var e=_.props.aria;if(e.content){var n="aria-"+e.content,i=x.id,a=js(_.props.triggerTarget||t);a.forEach((function(t){var e=t.getAttribute(n);if(_.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var a=e&&e.replace(i,"").trim();a?t.setAttribute(n,a):t.removeAttribute(n)}}))}}function B(){if(!O&&_.props.aria.expanded){var e=js(_.props.triggerTarget||t);e.forEach((function(t){_.props.interactive?t.setAttribute("aria-expanded",_.state.isVisible&&t===L()?"true":"false"):t.removeAttribute("aria-expanded")}))}}function R(){D().removeEventListener("mousemove",m),Eo=Eo.filter((function(t){return t!==m}))}function N(e){if(!io.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!_.props.interactive||!no(x,n)){if(js(_.props.triggerTarget||t).some((function(t){return no(t,n)}))){if(io.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else $("onClickOutside",[_,e]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),c=!0,setTimeout((function(){c=!1})),_.state.isMounted||q())}}}function j(){p=!0}function V(){p=!1}function H(){var t=D();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,Ts),t.addEventListener("touchstart",V,Ts),t.addEventListener("touchmove",j,Ts)}function q(){var t=D();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,Ts),t.removeEventListener("touchstart",V,Ts),t.removeEventListener("touchmove",j,Ts)}function F(t,e){z(t,(function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}function K(t,e){z(t,e)}function z(t,e){var n=A().box;function i(t){t.target===n&&(eo(n,"remove",i),e())}if(0===t)return e();eo(n,"remove",o),eo(n,"add",i),o=i}function W(e,n,i){void 0===i&&(i=!1);var a=js(_.props.triggerTarget||t);a.forEach((function(t){t.addEventListener(e,n,i),f.push({node:t,eventType:e,handler:n,options:i})}))}function U(){E()&&(W("touchstart",Z,{passive:!0}),W("touchend",X,{passive:!0})),Ns(_.props.trigger).forEach((function(t){if("manual"!==t)switch(W(t,Z),t){case"mouseenter":W("mouseleave",X);break;case"focus":W(co?"focusout":"blur",Q);break;case"focusin":W("focusout",Q);break}}))}function G(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,a=t.options;e.removeEventListener(n,i,a)})),f=[]}function Z(t){var e,n=!1;if(_.state.isEnabled&&!J(t)&&!c){var i="focus"===(null==(e=s)?void 0:e.type);s=t,l=t.currentTarget,B(),!_.state.isVisible&&Gs(t)&&Eo.forEach((function(e){return e(t)})),"click"===t.type&&(_.props.trigger.indexOf("mouseenter")<0||u)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:at(t),"click"===t.type&&(u=!n),n&&!i&&st(t)}}function Y(t){var e=t.target,n=L().contains(e)||x.contains(e);if("mousemove"!==t.type||!n){var i=it().concat(x).map((function(t){var e,n=t._tippy,i=null==(e=n.popperInstance)?void 0:e.state;return i?{popperRect:t.getBoundingClientRect(),popperState:i,props:d}:null})).filter(Boolean);to(i,t)&&(R(),st(t))}}function X(t){var e=J(t)||_.props.trigger.indexOf("click")>=0&&u;e||(_.props.interactive?_.hideWithInteractivity(t):st(t))}function Q(t){_.props.trigger.indexOf("focusin")<0&&t.target!==L()||_.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||st(t)}function J(t){return!!io.isTouch&&E()!==t.type.indexOf("touch")>=0}function tt(){et();var e=_.props,n=e.popperOptions,i=e.placement,a=e.offset,s=e.getReferenceClientRect,o=e.moveTransition,l=k()?wo(x).arrow:null,d=s?{getBoundingClientRect:s,contextElement:s.contextElement||L()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(k()){var n=A(),i=n.box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?i.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?i.setAttribute("data-"+t,""):i.removeAttribute("data-"+t)})),e.attributes.popper={}}}},c=[{name:"offset",options:{offset:a}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},u];k()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),_.popperInstance=Is(d,x,Object.assign({},n,{placement:i,onFirstUpdate:r,modifiers:c}))}function et(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function nt(){var t,e=_.props.appendTo,n=L();t=_.props.interactive&&e===Ps||"parent"===e?n.parentNode:Bs(e,[n]),t.contains(x)||t.appendChild(x),_.state.isMounted=!0,tt()}function it(){return Fs(x.querySelectorAll("[data-tippy-root]"))}function at(t){_.clearDelayTimeouts(),t&&$("onTrigger",[_,t]),H();var e=T(!0),i=I(),a=i[0],s=i[1];io.isTouch&&"hold"===a&&s&&(e=s),e?n=setTimeout((function(){_.show()}),e):_.show()}function st(t){if(_.clearDelayTimeouts(),$("onUntrigger",[_,t]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&u)){var e=T(!1);e?i=setTimeout((function(){_.state.isVisible&&_.hide()}),e):a=requestAnimationFrame((function(){_.hide()}))}}else q()}function ot(){_.state.isEnabled=!0}function rt(){_.hide(),_.state.isEnabled=!1}function lt(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(a)}function dt(e){if(!_.state.isDestroyed){$("onBeforeUpdate",[_,e]),G();var n=_.props,i=yo(t,Object.assign({},n,Ks(e),{ignoreAttributes:!0}));_.props=i,U(),n.interactiveDebounce!==i.interactiveDebounce&&(R(),m=Rs(Y,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?js(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),B(),P(),C&&C(n,i),_.popperInstance&&(tt(),it().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),$("onAfterUpdate",[_,e])}}function ut(t){_.setProps({content:t})}function ct(){var t=_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=io.isTouch&&!_.props.touch,a=$s(_.props.duration,0,fo.duration);if(!(t||e||n||i)&&!L().hasAttribute("disabled")&&($("onShow",[_],!1),!1!==_.props.onShow(_))){if(_.state.isVisible=!0,k()&&(x.style.visibility="visible"),P(),H(),_.state.isMounted||(x.style.transition="none"),k()){var s=A(),o=s.box,l=s.content;Xs([o,l],0)}r=function(){var t;if(_.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=_.props.moveTransition,k()&&_.props.animation){var e=A(),n=e.box,i=e.content;Xs([n,i],a),Qs([n,i],"visible")}M(),B(),Vs(ko,_),null==(t=_.popperInstance)||t.forceUpdate(),$("onMount",[_]),_.props.animation&&k()&&K(a,(function(){_.state.isShown=!0,$("onShown",[_])}))}},nt()}}function pt(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=$s(_.props.duration,1,fo.duration);if(!(t||e||n)&&($("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,h=!1,u=!1,k()&&(x.style.visibility="hidden"),R(),q(),P(!0),k()){var a=A(),s=a.box,o=a.content;_.props.animation&&(Xs([s,o],i),Qs([s,o],"hidden"))}M(),B(),_.props.animation?k()&&F(i,_.unmount):_.unmount()}}function ht(t){D().addEventListener("mousemove",m),Vs(Eo,m),m(t)}function ft(){_.state.isVisible&&_.hide(),_.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),ko=ko.filter((function(t){return t!==_})),_.state.isMounted=!1,$("onHidden",[_]))}function mt(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),G(),delete t._tippy,_.state.isDestroyed=!0,$("onDestroy",[_]))}}function Do(t,e){void 0===e&&(e={});var n=fo.plugins.concat(e.plugins||[]);lo();var i=Object.assign({},e,{plugins:n}),a=Ys(t),s=a.reduce((function(t,e){var n=e&&Lo(e,i);return n&&t.push(n),t}),[]);return Ws(t)?s[0]:s}Do.defaultProps=fo,Do.setDefaultProps=go,Do.currentInput=io;Object.assign({},Fa,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}});var Ao={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function i(){return t.popperInstance?t.popperInstance.state.elements.reference:e}function a(e){return!0===t.props.sticky||t.props.sticky===e}var s=null,o=null;function r(){var e=a("reference")?i().getBoundingClientRect():null,l=a("popper")?n.getBoundingClientRect():null;(e&&To(s,e)||l&&To(o,l))&&t.popperInstance&&t.popperInstance.update(),s=e,o=l,t.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){t.props.sticky&&r()}}}};function To(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}Do.setDefaultProps({render:Oo});const Po=Do,$o=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),Mo=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Bo=[!0,!1,"reference","popper"],Ro=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,Po(t,{...e,plugins:[Ao],render:()=>Ho(n)})},No=function(){let{boundary:t="clippingParents",fallbackPlacements:e=[],onChangePlacement:n=(()=>{}),hasHideModifierEnabled:i=!1,tether:a=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{modifiers:[{name:"flip",options:{fallbackPlacements:e,boundary:t}},{name:"hide",enabled:i},{name:"preventOverflow",options:{altAxis:!a,tether:a}},$o((t=>{let{state:e}=t;n(e.placement)}))]}},jo=(t,e)=>{const n=document.createElement("span");return n.setAttribute("tabindex",e),n.innerText=t.innerText||"",t.innerText="",t.appendChild(n),n},Vo=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";const n=null===t||void 0===t?void 0:t.children[0];return n?(L(n)||n.setAttribute("tabindex",e),n):jo(t)},Ho=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},qo={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},Fo={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},Ko=["dialog","menu","listbox","tree","grid"],zo=[null,"anchor"],Wo=["none","dialog","first"],Uo=[...Bo];let Go="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Zo=(t=21)=>{let e="",n=t;while(n--)e+=Go[64*Math.random()|0];return e};function Yo(t){return Yo="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yo(t)}var Xo={selector:"vue-portal-target-".concat(Zo())},Qo=function(t){return Xo.selector=t},Jo="undefined"!==typeof window&&void 0!==("undefined"===typeof document?"undefined":Yo(document)),tr=r().extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(t){return{updatedNodes:t.nodes}},render:function(t){var e=this.updatedNodes&&this.updatedNodes();return e?1!==e.length||e[0].text?t(this.tag||"DIV",e):e:t()},destroyed:function(){var t=this.$el;t&&t.parentNode.removeChild(t)}}),er=r().extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(Xo.selector)}},tag:{type:String,default:"DIV"}},render:function(t){if(this.disabled){var e=this.$scopedSlots&&this.$scopedSlots.default();return e?e.length<2&&!e[0].text?e:t(this.tag,e):t()}return t()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var t=this;this.$nextTick((function(){t.disabled||t.slotFn===t.$scopedSlots.default||(t.container.updatedNodes=t.$scopedSlots.default),t.slotFn=t.$scopedSlots.default}))},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(t){t?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(Jo)return document.querySelector(this.selector)},insertTargetEl:function(){if(Jo){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(Jo){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new tr({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function nr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.name||"portal",er),e.defaultSelector&&Qo(e.defaultSelector)}"undefined"!==typeof window&&window.Vue&&window.Vue===r()&&r().use(nr);var ir=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"d-popover__header":"header"===t.type,"d-popover__footer":"footer"===t.type},attrs:{"data-qa":"dt-popover-header-footer"}},[t.$slots.content?n("div",{class:["d-to-ellipsis","d-w100p",t.contentClass],attrs:{"data-qa":"dt-popover-header-footer-content"}},[t._t("content")],2):t._e(),t.showCloseButton?n("dt-button",t._b({ref:"popover__close-button",staticClass:"d-p6 d-mr6 d-bc-transparent",attrs:{"data-qa":"dt-popover-close",importance:"outlined",kind:"muted",circle:""},on:{click:function(e){return t.$emit("close")}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"300"}})]},proxy:!0}],null,!1,2538694920)},"dt-button",t.closeButtonProps,!1)):t._e()],1)},ar=[];const sr={name:"PopoverHeaderFooter",components:{DtButton:Nt,DtIcon:it},props:{type:{type:String,validator:function(t){return["header","footer"].includes(t)}},contentClass:{type:[String,Array,Object],default:""},showCloseButton:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>{}}},emits:["close"],methods:{focusCloseButton(){var t;const e=null===(t=this.$refs["popover__close-button"])||void 0===t?void 0:t.$el;null===e||void 0===e||e.focus()}}},or=sr;var rr=B(or,ir,ar,!1,null,null,null);const lr=rr.exports,dr={name:"DtPopover",components:{SrOnlyCloseButton:zt,DtLazyShow:mi,PopoverHeaderFooter:lr,Portal:er},mixins:[Jt,jt],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:t=>Ko.includes(t)},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null},closeButtonProps:{type:Object,default:()=>({})},padding:{type:String,default:"large",validator:t=>Object.keys(qo).some((e=>e===t))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:t=>zo.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return w()}},offset:{type:Array,default:()=>[0,4]},hideOnClick:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom-end"},tether:{type:Boolean,default:!0},sticky:{type:[Boolean,String],default:!1,validator:t=>Uo.includes(t)},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:"first",validator:t=>Wo.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:qo,POPOVER_HEADER_FOOTER_PADDING_CLASSES:Fo,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{popoverListeners(){return{...this.$listeners,keydown:t=>{this.onKeydown(t),this.$emit("keydown",t)},"after-leave":t=>{this.onLeaveTransitionComplete()},"after-enter":t=>{this.onEnterTransitionComplete()}}},labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&w("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(t){this.tip.setProps({zIndex:this.modal?650:this.calculateAnchorZindex()})},offset(t){this.tip.setProps({offset:t})},sticky(t){this.tip.setProps({sticky:t})},fallbackPlacements(){this.tip.setProps({popperOptions:this.popperOptions()})},tether(){this.tip.setProps({popperOptions:this.popperOptions()})},placement(t){var e;null===(e=this.tip)||void 0===e||e.setProps({placement:t})},open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0},isOpen(t,e){t?(this.tip.setProps({zIndex:this.modal?650:this.calculateAnchorZindex()}),this.tip.show(),this.addClosePopoverEventListener()):t||e===t||(this.removeClosePopoverEventListener(),this.tip.hide())}},mounted(){const t=document.getElementById(this.externalAnchor);this.anchorEl=null!==t&&void 0!==t?t:this.$refs.anchor.children[0],this.popoverContentEl=this.$refs.content.$el,"anchor"===this.contentWidth&&window.addEventListener("resize",this.onResize),this.tip=Ro(this.anchorEl,{popperOptions:this.popperOptions(),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,sticky:this.sticky,appendTo:document.body,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow}),this.isOpen&&this.tip.show()},beforeDestroy(){var t;window.removeEventListener("resize",this.onResize),null===(t=this.tip)||void 0===t||t.destroy(),this.removeReferences(),this.removeClosePopoverEventListener()},methods:{popperOptions(){return No({fallbackPlacements:this.fallbackPlacements,tether:this.tether,hasHideModifierEnabled:!0})},validateProps(){this.modal&&"none"===this.initialFocusElement&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?650:300},defaultToggleOpen(t){var e,n;this.openOnContext||null!==(e=this.open)&&void 0!==e||this.anchorEl.contains(t.target)&&(null===(n=this.anchorEl)||void 0===n||!n.disabled)&&this.toggleOpen()},onContext(t){var e;this.openOnContext&&(t.preventDefault(),null===(e=this.tip)||void 0===e||e.setProps({placement:"right-start"}),this.tip.setProps({getReferenceClientRect:()=>({width:0,height:0,top:t.clientY,bottom:t.clientY,left:t.clientX,right:t.clientX})}),this.toggleOpen())},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(t){null===this.open&&this.openWithArrowKeys&&this.anchorEl.contains(t.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 t;this.modal&&(this.focusFirstElement(this.$refs.anchor),await this.$nextTick()),null===(t=this.tip)||void 0===t||t.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 t=this.$refs.content.$el.querySelector(this.initialFocusElement);t?t.focus():console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'),t?t.focus():this.$refs.content.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;const t=this.popoverContentEl.querySelector(".d-popover__anchor--opened");t||this.closePopover()},onKeydown(t){"Tab"===t.key&&this.modal&&this.focusTrappedTabPress(t,this.popoverContentEl),"Escape"===t.key&&this.closePopover()},async setPopoverContentAnchorWidth(){await this.$nextTick(),this.popoverContentEl.style.width=`${this.anchorEl.clientWidth}px`},focusFirstElementIfNeeded(t){const e=this._getFocusableElements(t,!0);if(0!==e.length)this.focusFirstElement(t);else if(this.showCloseButton){var n;null===(n=this.$refs.popover__header)||void 0===n||n.focusCloseButton()}else this.$refs.content.$el.focus()}}},ur=dr;n(155);var cr=B(ur,xi,Ci,!1,null,null,null);const pr=cr.exports,hr={none:void 0,small:"d-py6",large:"d-py12"},fr={name:"DtDropdown",components:{DtPopover:pr,SrOnlyCloseButton:zt},mixins:[He({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),jt],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},padding:{type:String,default:"small",validator:t=>Object.keys(hr).some((e=>e===t))},modal:{type:Boolean,default:!0},contentWidth:{type:String,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},listId:{type:String,default(){return w()}},navigationType:{type:String,default:Ue.ARROW_KEYS,validator:t=>Object.values(Ue).includes(t)},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","opened","update:open"],data(){return{LIST_ITEM_NAVIGATION_TYPES:Ue,DROPDOWN_PADDING_CLASSES:hr,EVENT_KEYNAMES:m,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:t=>{this.updateInitialHighlightIndex(t)},keydown:t=>{const e=t.code;switch(e){case m.up:case m.arrowup:this.onKeyValidation(t,"onUpKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.down:case m.arrowdown:this.onKeyValidation(t,"onDownKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.space:case m.spacebar:this.onSpaceKey();break;case m.enter:this.onEnterKey();break;case m.home:this.onKeyValidation(t,"onHomeKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.end:this.onKeyValidation(t,"onEndKeyPress"),t.stopPropagation(),t.preventDefault();break;default:this.onKeyValidation(t,"onKeyPress");break}this.$emit("keydown",t)}}},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},listClasses(){return["d-ps-relative","d-px0",hr[this.padding],this.listClass,{"d-context-menu-list":this.openOnContext}]}},methods:{onMouseHighlight(t){const e=t.target.closest("li");e&&e.role&&this.highlightId!==e.id&&(this.setHighlightId(e.id),e.focus())},getListElement(){return this.$refs.listWrapper},clearHighlightIndex(){this.setHighlightIndex(-1)},afterHighlight(){this.visuallyHiddenClose&&this.highlightIndex===this._itemsLength()-1||this.$emit("highlight",this.highlightIndex)},updateInitialHighlightIndex(t){this.isOpen=t,t?(this.openedWithKeyboard&&this.isArrowKeyNav&&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(t){if(this.isOpen&&this.isArrowKeyNav&&this.isValidCharacter(t.key))return t.stopPropagation(),t.preventDefault(),this.onNavigationKey(t.key)},onKeyValidation(t,e){(null===this.open||this.openOnContext)&&this[e](t)}}},mr=fr;n(427);var gr=B(mr,_i,Si,!1,null,null,null);const vr=gr.exports;var br=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",[t.heading?n("div",{staticClass:"dt-dropdown-list--header d-fs12 d-fc-black-400 d-fw-bold d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},[n("span",[t._v(t._s(t.heading))])]):t._e(),n("ul",{class:["d-ps-relative","d-px0",t.listClass],attrs:{"data-qa":"dt-dropdown-list-wrapper"}},[t._t("default")],2)])},yr=[];const _r={name:"DtDropdownList",props:{heading:{type:String,default:""},listClass:{type:[String,Array,Object],default:""}}},Sr=_r;var xr=B(Sr,br,yr,!1,null,null,null);const Cr=xr.exports;var wr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"dt-list-separator d-bgc-black-300 d-my8",attrs:{"aria-hidden":"true"}})},Or=[];const Ir={name:"DtDropdownSeparator"},Er=Ir;n(717);var kr=B(Er,wr,Or,!1,null,null,null);const Lr=kr.exports;var Dr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[n("label",{staticClass:"base-input__label",attrs:{"aria-details":t.$slots.description||t.description?t.descriptionKey:void 0,"data-qa":"dt-input-label-wrapper"}},[t._t("labelSlot",(function(){return[t.label?n("div",{ref:"label",class:["base-input__label-text","d-label",t.labelSizeClasses[t.size]],attrs:{"data-qa":"dt-input-label"}},[t._v(" "+t._s(t.label)+" ")]):t._e()]})),t.$slots.description||t.description||t.shouldValidateLength?n("div",{ref:"description",class:["base-input__description","d-description","d-fd-column",t.descriptionSizeClasses[t.size]],attrs:{id:t.descriptionKey,"data-qa":"dt-input-description"}},[t.$slots.description||t.description?n("div",[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),t.shouldValidateLength?n("div",{class:["d-mb2"],attrs:{"data-qa":"dt-input-length-description"}},[t._v(" "+t._s(t.validationProps.length.description)+" ")]):t._e()]):t._e(),n("div",{class:t.inputWrapperClasses(),attrs:{"read-only":t.disabled}},[t.$slots.leftIcon?n("span",{class:t.inputIconClasses("left"),attrs:{"data-qa":"dt-input-left-icon-wrapper"},on:{focusout:t.onBlur}},[t._t("leftIcon")],2):t._e(),t.isTextarea?n("textarea",t._g(t._b({ref:"input",class:t.inputClasses(),attrs:{name:t.name,disabled:t.disabled,maxlength:t.shouldLimitMaxLength?t.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:t.value}},"textarea",t.$attrs,!1),t.inputListeners)):n("input",t._g(t._b({ref:"input",class:t.inputClasses(),attrs:{name:t.name,type:t.type,disabled:t.disabled,maxlength:t.shouldLimitMaxLength?t.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:t.value}},"input",t.$attrs,!1),t.inputListeners)),t.$slots.rightIcon?n("span",{class:t.inputIconClasses("right"),attrs:{"data-qa":"dt-input-right-icon-wrapper"},on:{focusout:t.onBlur}},[t._t("rightIcon")],2):t._e()])],2),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.validationMessages,"show-messages":t.showMessages,"data-qa":"dt-input-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)},Ar=[];const Tr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Pr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var $r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showMessages&&!t.isFilteredValidationMessagesEmpty?n("div",{staticClass:"base-input__messages d-d-flex d-fd-column",attrs:{"data-qa":"validation-messages-container"}},t._l(t.filteredValidationMessages,(function(e,i){var a=e.message,s=e.type;return n("div",{key:t.getMessageKey(s,i),class:["base-input__message","d-validation-message",t.messageTypeClass(s)],attrs:{role:"status","aria-live":"polite","data-qa":"validation-message"}},[n("p",{domProps:{innerHTML:t._s(a)}})])})),0):t._e()},Mr=[];function Br(t){return!t||t.every((t=>"string"===typeof t||"object"===typeof t&&Object.values(c).includes(null===t||void 0===t?void 0:t.type)))}const Rr={name:"DtValidationMessages",props:{id:{type:String,default(){return w()}},validationMessages:{type:Array,default:()=>[],validator:t=>Br(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return I(this.validationMessages)},validationState(){return E(this.validationMessages)}},methods:{getMessageKey(t,e){return`validation-message-${t}-${e}-${this.id}`},messageTypeClass(t){const e={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 e[t]}}},Nr=Rr;var jr=B(Nr,$r,Mr,!1,null,null,null);const Vr=jr.exports,Hr={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:t=>!t||Object.values(c).includes(t)},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(t){this.internalDisabled=t},validationState(t){this.internalValidationState=t}},methods:{validateInputLabels(t,e){t||e||r().util.warn("You must provide an aria-label when there is no label passed",this)}}},qr={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(t){this.internalChecked=t},indeterminate(t){this.internalIndeterminate=t}}},Fr={inject:{groupContext:{default:{}},setGroupValue:{default:()=>()=>{}}},data(){return{internalValue:this.value}},computed:{hasGroup(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.name)&&void 0!==t?t:""},groupValue(){var t;return null===(t=this.groupContext)||void 0===t?void 0:t.value},groupDisabled(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.disabled)&&void 0!==t&&t},groupValidationState(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.validationState)&&void 0!==t?t:null},internalName(){return this.name||this.groupName}},watch:{value(t){this.internalValue=t},groupValue:{immediate:!0,handler(t){this.hasGroup&&(this.internalValue=t)}},groupDisabled:{immediate:!0,handler(t){this.hasGroup&&(this.internalDisabled=this.disabled||t)}},groupValidationState:{immediate:!0,handler(t){this.hasGroup&&(this.internalValidationState=t||this.validationState)}}},created(){var t;const e=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),n=null===(t=this.groupContext)||void 0===t?void 0:t.name;this.name&&e&&n!==this.name&&r().util.warn(`Component is being used inside a Group. Did you mean to override the name prop value (${n}) with (${this.name})? It is recommended to only set name at the Group level.`,this)}},Kr={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>Br(t)}},computed:{formattedMessages(){return O(this.messages)}}},zr={name:"DtInput",components:{DtValidationMessages:Vr},mixins:[Kr],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Tr.TEXT,validator:t=>Object.values(Tr).includes(t)},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},description:{type:String,default:""},size:{type:String,default:null,validator:t=>Object.values(Pr).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(Pr).includes(t)},inputClass:{type:[String,Object,Array],default:""},inputWrapperClass:{type:[String,Object,Array],default:""},currentLength:{type:Number,default:null},validate:{type:Object,default:null}},emits:["input","blur","clear","focus","focusin","focusout","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===Tr.TEXTAREA},isDefaultSize(){return this.size===Pr.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Pr.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Pr).includes(this.size)},isValidDescriptionSize(){return Object.values(p).includes(this.size)},inputComponent(){return this.isTextarea?"textarea":"input"},inputListeners(){return{...this.$listeners,input:t=>this.$emit("input",t.target.value),focus:t=>{this.isInputFocused=!0,this.$emit("focus",t)},blur:t=>{this.isInputFocused=!1,this.onBlur(t)}}},descriptionKey(){return`input-description-${w()}`},inputState(){return E(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.value)},validationProps(){var t,e,n,i,a,s,o,r,l,d;return{length:{description:null===this||void 0===this||null===(t=this.validate)||void 0===t||null===(e=t.length)||void 0===e?void 0:e.description,max:null===this||void 0===this||null===(n=this.validate)||void 0===n||null===(i=n.length)||void 0===i?void 0:i.max,warn:null===this||void 0===this||null===(a=this.validate)||void 0===a||null===(s=a.length)||void 0===s?void 0:s.warn,message:null===this||void 0===this||null===(o=this.validate)||void 0===o||null===(r=o.length)||void 0===r?void 0:r.message,limitMaxLength:!(null===this||void 0===this||null===(l=this.validate)||void 0===l||null===(d=l.length)||void 0===d||!d.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?c.WARNING:null:c.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 t={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 t[this.inputComponent][this.size]},stateClass(){const t={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[t[this.inputComponent][this.inputState]]}},watch:{isInvalid(t){this.$emit("update:invalid",t)},value:{immediate:!0,handler(t){this.shouldValidateLength&&this.validateLength(this.inputLength),null==this.currentLength&&this.$emit("update:length",this.calculateLength(t))}}},methods:{inputClasses(){return["base-input__input","input"===this.inputComponent?"d-input":"d-textarea",{[this.stateClass]:this.showInputState,"d-input-icon--left":this.$slots.leftIcon,"d-input-icon--right":this.$slots.rightIcon},this.sizeModifierClass,this.inputClass]},inputWrapperClasses(){return["d-input__wrapper",{[this.stateClass]:this.showInputState},this.inputWrapperClass]},calculateLength(t){return"string"!==typeof t?0:[...t].length},inputLengthErrorMessage(){return{message:this.validationProps.length.message,type:this.inputLengthState}},inputIconClasses(t){const e={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[t],"d-input-icon",{[e[this.iconSizeComputed]]:!this.isDefaultIconSize},this.sizeModifierClass]},onBlur(t){var e;null!==(e=this.$refs.container)&&void 0!==e&&e.contains(t.relatedTarget)||this.$emit("blur",t)},clear(){this.$emit("input",""),this.$emit("clear")},blur(){this.$refs.input.blur()},focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},getMessageKey(t,e){return`message-${t}-${e}`},validateLength(t){this.isInvalid=t>this.validationProps.length.max}}},Wr=zr;var Ur=B(Wr,Dr,Ar,!1,null,null,null);const Gr=Ur.exports;var Zr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("fieldset",{attrs:{"data-qa":t.dataQaGroup}},[t.$slots.legend||t.legend?n("legend",t._b({class:["d-label",t.legendClass],attrs:{"data-qa":t.dataQaGroupLegend}},"legend",t.legendChildProps,!1),[t._t("legend",(function(){return[t._v(" "+t._s(t.legend)+" ")]}))],2):t._e(),t._t("default"),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":t.dataQaGroupMessages}},"dt-validation-messages",t.messagesChildProps,!1))],2)},Yr=[];const Xr={components:{DtValidationMessages:Vr},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return w()}},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:t=>Br(t)},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:()=>({})}},data(){const t=O(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:E(t)}}},computed:{formattedMessages(){return O(this.messages)},validationState(){return E(this.formattedMessages)}},watch:{disabled(t){this.provideObj.disabled=t},validationState(t){this.provideObj.validationState=t}},methods:{setGroupValue(t){this.internalValue=t,this.$emit("input",t)}},mounted(){this.legend||this.$slots.legend||this.$attrs["aria-label"]||r().util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},Qr={name:"DtInputGroup",components:{DtValidationMessages:Vr},mixins:[Xr],props:{dataQaGroup:{type:String,default:"input-group"},dataQaGroupLegend:{type:String,default:"input-group-legend"},dataQaGroupMessages:{type:String,default:"input-group-messages"}},emits:["input"],data(){return{internalValue:this.value,provideObj:{value:this.value}}},watch:{value(t){this.internalValue=t},internalValue(t){this.provideObj.value=t}},methods:{getMessageKey(t,e){return`input-group-message-${t}-${e}-${this.id}`}}},Jr=Qr;var tl=B(Jr,Zr,Yr,!1,null,null,null);const el=tl.exports;var nl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-lazy-show",t._g({class:["d-modal",t.MODAL_KIND_MODIFIERS[t.kind],t.MODAL_SIZE_MODIFIERS[t.size],t.modalClass],attrs:{transition:"d-zoom",show:t.show,"data-qa":"dt-modal","aria-hidden":t.open}},t.modalListeners),[t.show&&(t.$slots.banner||t.bannerTitle)?n("div",{class:["d-modal__banner",t.bannerClass],attrs:{"data-qa":"dt-modal-banner"}},[t._t("banner",(function(){return[t._v(" "+t._s(t.bannerTitle)+" ")]}))],2):t._e(),n("transition",{attrs:{appear:"",name:"d-modal__dialog"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],class:["d-modal__dialog",{"d-modal__dialog--scrollable":t.fixedHeaderFooter},t.dialogClass],attrs:{role:"dialog","aria-modal":"true","aria-describedby":t.describedById,"aria-labelledby":t.labelledById}},[t.$slots.header?n("div",{staticClass:"d-modal__header",attrs:{id:t.labelledById,"data-qa":"dt-modal-title"}},[t._t("header")],2):n("h2",{staticClass:"d-modal__header",attrs:{id:t.labelledById,"data-qa":"dt-modal-title"}},[t._v(" "+t._s(t.title)+" ")]),t.$slots.default?n("div",{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[t._t("default")],2):n("p",{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[t._v(" "+t._s(t.copy)+" ")]),t.hasFooterSlot?n("footer",{staticClass:"d-modal__footer"},[t._t("footer")],2):t._e(),t.hideClose?t._e():n("dt-button",t._b({staticClass:"d-modal__close",attrs:{circle:"",size:"lg",importance:"clear","aria-label":t.closeButtonProps.ariaLabel},on:{click:t.close},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)},"dt-button",t.closeButtonProps,!1)),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.close}}):t._e()],1)])],1)},il=[];const al={default:"",danger:"d-modal--danger"},sl={default:"",full:"d-modal--full"},ol={name:"DtModal",components:{DtLazyShow:mi,DtButton:Nt,DtIcon:it,SrOnlyCloseButton:zt},mixins:[Jt,jt],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return w()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(al).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(sl).includes(t)},modalClass:{type:[String,Object,Array],default:""},dialogClass:{type:[String,Object,Array],default:""},bannerClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},fixedHeaderFooter:{type:Boolean,default:!0}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:al,MODAL_SIZE_MODIFIERS:sl,EVENT_KEYNAMES:m}},computed:{modalListeners(){return{...this.$listeners,click:t=>{t.target===t.currentTarget&&this.close(),this.$emit("click",t)},keydown:t=>{switch(t.code){case m.esc:case m.escape:this.close();break;case m.tab:this.trapFocus(t);break}this.$emit("keydown",t)},"after-enter":t=>{t.target===t.currentTarget&&this.setFocusAfterTransition()}}},open(){return`${!this.show}`},hasFooterSlot(){return!!this.$slots.footer}},watch:{show:{immediate:!0,handler(t){var e;t?this.previousActiveElement=document.activeElement:(null===(e=this.previousActiveElement)||void 0===e||e.focus(),this.previousActiveElement=null)}},$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{close(){this.$emit("update:show",!1)},setFocusAfterTransition(){this.focusFirstElement()},trapFocus(t){this.show&&this.focusTrappedTabPress(t)},validateProps(){this.hideClose&&!this.visuallyHiddenClose&&console.error("If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props\n need to be set so the component always includes a close button")}}},rl=ol;var ll=B(rl,nl,il,!1,null,null,null);const dl=ll.exports;var ul=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["dt-list-section","d-fs-200","d-lh6","d-py6","d-bc-black-400",{"d-bb":t.separator}],attrs:{id:t.id,role:"group","aria-labelledby":t.id+"-list-section-header",tabindex:"-1"}},[t.header?n("h3",{staticClass:"d-pl12 d-mt6",attrs:{id:t.id+"-list-section-header"}},[t._v(" "+t._s(t.header)+" ")]):t._e(),!t.isCollapsible||t.showAll?n("ol",{attrs:{id:t.id+"-list-section-content"}},[t._t("default")],2):n("ol",{attrs:{id:t.id+"-list-section-content"}},[n("vnodes",{attrs:{vnodes:t.displayedItems}})],1),n("div",{staticClass:"d-d-flex"},[t.isCollapsible?n("dt-button",{staticClass:"d-ml12 d-py6",attrs:{id:t.id+"-list-section-show-more-less",link:""},on:{click:t.showMoreLessClicked}},[t._v(" "+t._s(t.showMoreLessText)+" ")]):t._e(),t._t("footer")],2)])},cl=[];const pl={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:Nt},props:{id:{type:String,default(){return P.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(((t,e)=>e<=this.maxDisplayed-1))}},methods:{showMoreLessClicked(){this.showAll=!this.showAll}}},hl=pl;n(792);var fl=B(hl,ul,cl,!1,null,null,null);const ml=fl.exports;var gl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{class:["d-ps-relative","d-px0",t.listClass],attrs:{id:t.id,role:"group","data-qa":"dt-dropdown-list-wrapper","aria-labelledby":t.id+"-heading"}},[t.heading?n("li",{class:["dt-dropdown-list--header",t.headingClass],attrs:{id:t.id+"-heading",role:"presentation","data-qa":"dt-dropdown-list-heading"}},[t._t("headingSlot",(function(){return[t._v(" "+t._s(t.heading)+" ")]}))],2):t._e(),t._t("default")],2)},vl=[];const bl={name:"DtListItemGroup",props:{id:{type:String,default(){return w()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}},yl=bl;var _l=B(yl,gl,vl,!1,null,null,null);const Sl=_l.exports;var xl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.noticeClass,attrs:{"data-qa":"notice"}},[n("dt-notice-icon",{attrs:{kind:t.kind}},[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title,role:t.role},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.$listeners),[t._t("action")],2)],1)},Cl=[];const wl={name:"DtNotice",components:{DtNoticeIcon:ut,DtNoticeContent:gt,DtNoticeAction:Zt},mixins:[jt],props:{titleId:{type:String,default:void 0},contentId:{type:String,default:void 0},title:{type:String,default:""},role:{type:String,default:"status",validate(t){return st.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return at.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeClass(){const t={error:"d-notice--error",info:"d-notice--info",success:"d-notice--success",warning:"d-notice--warning",base:"d-notice--base"};return["d-notice",t[this.kind],{"d-notice--important":this.important}]}}},Ol=wl;var Il=B(Ol,xl,Cl,!1,null,null,null);const El=Il.exports;var kl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"d-d-flex d-fd-row d-gg2 d-ai-center",attrs:{"aria-label":t.ariaLabel}},[n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"data-qa":"dt-pagination-prev","aria-label":t.prevAriaLabel,importance:t.isFirstPage?"primary":"clear",disabled:t.isFirstPage},on:{click:function(e){return t.changePage(t.currentPage-1)}}},[n("template",{slot:"icon"},[n("dt-icon",{attrs:{name:"chevron-left",size:"200"}})],1)],2),t._l(t.pages,(function(e,i){return n("div",{key:"page-"+e+"-"+i},[isNaN(Number(e))?n("div",{staticClass:"d-h32 d-w32 d-d-flex d-ai-center d-jc-center",attrs:{"data-qa":"dt-pagination-separator"}},[t._v(" … ")]):n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"aria-label":t.pageNumberAriaLabel(e),importance:t.currentPage===e?"primary":"clear","label-class":"d-fs-200"},on:{click:function(n){return t.changePage(e)}}},[t._v(" "+t._s(e)+" ")])],1)})),n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"data-qa":"dt-pagination-next","aria-label":t.nextAriaLabel,disabled:t.isLastPage,importance:t.isLastPage?"primary":"clear"},on:{click:function(e){return t.changePage(t.currentPage+1)}}},[n("template",{slot:"icon"},[n("dt-icon",{attrs:{name:"chevron-right",size:"200"}})],1)],2)],2)},Ll=[];const Dl={name:"DtPagination",components:{DtButton:Nt,DtIcon:it},props:{ariaLabel:{type:String,required:!0},totalPages:{type:Number,required:!0},prevAriaLabel:{type:String,required:!0},nextAriaLabel:{type:String,required:!0},pageNumberAriaLabel:{type:Function,required:!0},activePage:{type:Number,default:1},maxVisible:{type:Number,default:5}},emits:["change"],data(){return{currentPage:this.activePage}},computed:{isFirstPage(){return 1===this.currentPage},isLastPage(){return this.currentPage===this.totalPages},pages(){if(0===this.maxVisible)return[];if(this.totalPages<=this.maxVisible)return this.range(1,this.totalPages);const t=this.maxVisible-1,e=this.totalPages-t+1;if(this.currentPage<t)return[...this.range(1,t),"...",this.totalPages];if(this.currentPage>e)return[1,"...",...this.range(e,this.totalPages)];const n=this.maxVisible-(3-this.maxVisible%2),i=Math.floor(n/2),a=this.currentPage-i,s=this.currentPage+i;return[1,"...",...this.range(a,s),"...",this.totalPages]}},methods:{range(t,e){const n=[];t=t>0?t:1;for(let i=t;i<=e;i++)n.push(i);return n},changePage(t){this.currentPage=t,this.$emit("change",this.currentPage)}}},Al=Dl;var Tl=B(Al,kl,Ll,!1,null,null,null);const Pl=Tl.exports;var $l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[n("div",{class:["d-radio-group",{"d-radio-group--disabled":t.internalDisabled}]},[n("div",{staticClass:"d-radio__input"},[n("input",t._g(t._b({class:["d-radio",t.inputValidationClass,t.inputClass],attrs:{name:t.internalName,disabled:t.internalDisabled,type:"radio"},domProps:{checked:t.internalChecked,value:t.value}},"input",t.$attrs,!1),t.inputListeners))]),n("div",{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[n("div",t._b({class:t.labelClass,attrs:{"data-qa":"radio-label"}},"div",t.labelChildProps,!1),[t._t("default",(function(){return[t._v(t._s(t.label))]}))],2),t.$slots.description||t.description?n("div",t._b({class:["d-description",t.descriptionClass],attrs:{"data-qa":"radio-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-radio-validation-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)])])},Ml=[];const Bl={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Rl={name:"DtRadio",components:{DtValidationMessages:Vr},mixins:[Hr,qr,Fr,Kr],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Bl[this.internalValidationState]},radioGroupValue(){var t;return null===(t=this.groupContext)||void 0===t?void 0:t.selectedValue},inputListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}}},watch:{radioGroupValue:{immediate:!0,handler(t){this.hasGroup&&(this.internalChecked=t===this.value)}}},methods:{emitValue(t){t!==this.radioGroupValue&&(this.setGroupValue(t),this.$emit("input",t))}}},Nl=Rl;var jl=B(Nl,$l,Ml,!1,null,null,null);const Vl=jl.exports,Hl={name:"DtRadioGroup",extends:el,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{provideObj:{selectedValue:this.value}}},watch:{value(t){this.provideObj.selectedValue=t}},methods:{setGroupValue(t){this.$emit("input",t)},getMessageKey(t,e){return`radio-group-message-${t}-${e}-${this.id}`}}},ql=Hl;var Fl,Kl,zl=B(ql,Fl,Kl,!1,null,null,null);const Wl=zl.exports;var Ul=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{attrs:{"data-qa":"dt-tab-group"}},[i("div",e._b({class:["d-tablist",e.TAB_LIST_SIZE_MODIFIERS[e.size],(t={},t[e.TAB_LIST_KIND_MODIFIERS.inverted]=e.inverted,t[e.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]=e.borderless,t),e.tabListClass],attrs:{role:"tablist","aria-label":e.label},on:{keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.tabLeft.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.tabRight.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.selectTab.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.selectTab.apply(null,arguments)}],keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"home",void 0,t.key,void 0)?null:e.onHomeButton.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"end",void 0,t.key,void 0)?null:e.onEndButton.apply(null,arguments)}]}},"div",e.tabListChildProps,!1),[e._t("tabs")],2),e._t("default")],2)},Gl=[];const Zl=["default","sm"],Yl={sm:"d-tablist--sm"},Xl={inverted:"d-tablist--inverted"},Ql={borderless:"d-tablist--no-border"},Jl={selected:"d-tab--selected"},td={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(t){return Zl.includes(t)}},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:Yl,TAB_LIST_KIND_MODIFIERS:Xl,TAB_LIST_IMPORTANCE_MODIFIERS:Ql}},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(t){this.focusId=t},getTabChildren(){return this.$children.map((t=>{let{$el:e}=t;return e})).filter((t=>{let{className:e}=t;return e.includes("d-tab")})).map((t=>{var e,n;return{context:t,panelId:null===(e=t.getAttribute("aria-controls"))||void 0===e?void 0:e.replace("dt-panel-",""),id:null===(n=t.getAttribute("id"))||void 0===n?void 0:n.replace("dt-tab-",""),isSelected:"true"===t.getAttribute("aria-selected")}}))},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel(t){let{selected:e,selectOverride:n}=t;this.provideObj.selected=e,n||this.onChange()},tabLeft(){const{index:t,tabs:e}=this.getIndexAndTabs();if(-1===t)return;const n=t-1<0?e.length-1:t-1;this.selectFocusOnTab(n,e)},tabRight(){const{index:t,tabs:e}=this.getIndexAndTabs();if(-1===t)return;const n=t+1>e.length-1?0:t+1;this.selectFocusOnTab(n,e)},selectFocusOnTab(t,e){const{context:n}=e[t];n.focus()},selectTab(){const{tabs:t,index:e}=this.getIndexAndTabs();this.selectTabByIndex(e,t)},selectTabByIndex(t,e){const{context:n,panelId:i}=e[t];this.provideObj.selected=i,n.focus()},getIndexAndTabs(){const t=this.tabs.findIndex((t=>this.focusId?t.id===`${this.focusId}`:t.isSelected));return{tabs:this.tabs,index:t}},onHomeButton(){var t,e;0!==this.tabs.length&&(null===(t=this.tabs[0])||void 0===t||null===(e=t.context)||void 0===e||e.focus())},onEndButton(){var t,e;0!==this.tabs.length&&(null===(t=this.tabs[this.tabs.length-1])||void 0===t||null===(e=t.context)||void 0===e||e.focus())}}},ed=td;var nd=B(ed,Ul,Gl,!1,null,null,null);const id=nd.exports;var ad=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("dt-button",e._g(e._b({class:["d-tab",(t={},t[e.TAB_IMPORTANCE_MODIFIERS.selected]=e.isSelected,t),e.tabClass],attrs:{id:"dt-tab-"+e.id,role:"tab","aria-selected":""+e.isSelected,"aria-controls":"dt-panel-"+e.panelId,"aria-label":e.label,"data-qa":"dt-tab",tabindex:e.isSelected?"0":"-1",disabled:e.groupContext.disabled||e.disabled}},"dt-button",e.$attrs,!1),e.tabListeners),[e._t("default")],2)},sd=[];const od={name:"DtTab",components:{DtButton:Nt},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:Jl}},computed:{isSelected(){return this.groupContext.selected===this.panelId},tabListeners(){return{...this.$listeners,click:t=>{this.selectPanel(),this.$emit("click",t)},focus:t=>{this.setFocus(this.id),this.$emit("focus",t)}}}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.changeContentPanel({selected:this.panelId,selectOverride:t})}}},rd=od;var ld=B(rd,ad,sd,!1,null,null,null);const dd=ld.exports;var ud=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:[{"d-d-none":t.hidePanel},t.tabPanelClass],attrs:{id:"dt-panel-"+t.id,role:"tabpanel",tabindex:"0","aria-labelledby":"dt-tab-"+t.tabId,"aria-hidden":""+t.hidePanel,"data-qa":"dt-tab-panel"}},[t._t("default")],2)},cd=[];const pd={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}}},hd=pd;var fd=B(hd,ud,cd,!1,null,null,null);const md=fd.exports;var gd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[n("div",{class:["d-checkbox-group",{"d-checkbox-group--disabled":t.internalDisabled}]},[n("div",{staticClass:"d-checkbox__input"},[n("input",t._g(t._b({class:["d-checkbox",t.inputValidationClass,t.inputClass],attrs:{type:"checkbox",name:t.internalName,disabled:t.internalDisabled},domProps:{checked:t.internalChecked,value:t.value,indeterminate:t.internalIndeterminate}},"input",t.$attrs,!1),t.inputListeners))]),t.hasLabelOrDescription?n("div",{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[t.hasLabel?n("div",t._b({class:t.labelClass,attrs:{"data-qa":"checkbox-label"}},"div",t.labelChildProps,!1),[t._t("default",(function(){return[t._v(t._s(t.label))]}))],2):t._e(),t.hasDescription?n("div",t._b({class:["d-description",t.descriptionClass],attrs:{"data-qa":"checkbox-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-checkbox-validation-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1):t._e()])])},vd=[];const bd={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},yd={name:"DtCheckbox",components:{DtValidationMessages:Vr},mixins:[Hr,qr,Fr,Kr],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return bd[this.internalValidationState]},checkboxGroupValueChecked(){var t,e,n;return null!==(t=null===(e=this.groupContext)||void 0===e||null===(n=e.selectedValues)||void 0===n?void 0:n.includes(this.value))&&void 0!==t&&t},hasLabel(){return!(!this.$slots.default&&!this.label)},hasDescription(){return!(!this.$slots.description&&!this.description)},hasLabelOrDescription(){return this.hasLabel||this.hasDescription},inputListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target)}}},watch:{checkboxGroupValueChecked:{immediate:!0,handler(t){this.hasGroup&&(this.internalChecked=t)}}},mounted(){this.runValidations()},methods:{emitValue(t){let{value:e,checked:n}=t;this.internalIndeterminate&&(n=!1,this.internalIndeterminate=!1,t.checked=!1),this.setGroupValue(e,n),this.$emit("input",n)},runValidations(){this.validateInputLabels(this.hasLabel,this.$attrs["aria-label"])}}},_d=yd;var Sd=B(_d,gd,vd,!1,null,null,null);const xd=Sd.exports,Cd={name:"DtCheckboxGroup",extends:el,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>!t||(r().util.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,provideObj:{selectedValues:this.selectedValues}}},watch:{selectedValues(t){this.internalValue=t},internalValue(t){this.provideObj.selectedValues=t}},methods:{setGroupValue(t,e){e?this.internalValue.includes(t)||this.internalValue.push(t):this.internalValue=this.internalValue.filter((e=>e!==t)),this.$emit("input",this.internalValue)},getMessageKey(t,e){return`checkbox-group-message-${t}-${e}-${this.id}`}}},wd=Cd;var Od,Id,Ed=B(wd,Od,Id,!1,null,null,null);const kd=Ed.exports;var Ld=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"d-chip"},[n(t.interactive?"button":"span",t._g(t._b({tag:"component",class:t.chipClasses(),attrs:{id:t.id,type:t.interactive&&"button","data-qa":"dt-chip","aria-labelledby":t.ariaLabel?void 0:t.id+"-content","aria-label":t.ariaLabel}},"component",t.$attrs,!1),t.chipListeners),[t.$slots.icon?n("span",{staticClass:"d-chip__icon",attrs:{"data-qa":"dt-chip-icon"}},[t._t("icon")],2):t.$slots.avatar?n("span",{attrs:{"data-qa":"dt-chip-avatar"}},[t._t("avatar")],2):t._e(),t.$slots.default?n("span",{class:["d-truncate","d-chip__text",t.contentClass],attrs:{id:t.id+"-content","data-qa":"dt-chip-label"}},[t._t("default")],2):t._e()]),t.hideClose?t._e():n("dt-button",t._b({class:t.chipCloseButtonClasses(),attrs:{"data-qa":"dt-chip-close","aria-label":t.closeButtonProps.ariaLabel},on:{click:function(e){return t.$emit("close")}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:t.closeButtonIconSize}})]},proxy:!0}],null,!1,1192647893)},"dt-button",t.closeButtonProps,!1))],1)},Dd=[];const Ad={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Td={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},Pd={xs:"200",sm:"300",md:"300"},$d={name:"DtChip",components:{DtButton:Nt,DtIcon:it},inheritAttrs:!1,props:{closeButtonProps:{type:Object,default:function(){return{ariaLabel:"close"}},validator:t=>!!t.ariaLabel},hideClose:{type:Boolean,default:!1},size:{type:String,default:"md",validator:t=>Object.keys(Ad).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return w()}},ariaLabel:{type:String,default:""},contentClass:{type:[String,Array,Object],default:""}},emits:["click","close","keyup"],data(){return{isActive:!1}},computed:{chipListeners(){return{...this.$listeners,click:t=>{this.interactive&&this.$emit("click",t)},keyup:t=>{var e;"delete"===(null===(e=t.code)||void 0===e?void 0:e.toLowerCase())?this.onClose():this.$emit("keyup",t)}}},closeButtonIconSize(){return Pd[this.size]}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?"d-chip":"d-chip__label",Ad[this.size]]},chipCloseButtonClasses(){return["d-chip__close",Td[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},Md=$d;var Bd=B(Md,Ld,Dd,!1,null,null,null);const Rd=Bd.exports;var Nd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("label",[t.$slots.label||t.label?n("div",t._b({class:["d-label",t.LABEL_SIZE_MODIFIERS[t.size],t.labelClass],attrs:{"aria-details":t.labelAriaDetails,"data-qa":"dt-select-label"}},"div",t.labelChildProps,!1),[t._t("label",(function(){return[t._v(t._s(t.label))]}))],2):t._e(),t.$slots.description||t.description?n("div",t._b({class:["d-description",t.DESCRIPTION_SIZE_MODIFIERS[t.size],t.descriptionClass],attrs:{id:t.descriptionKey,"data-qa":"dt-select-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("div",{class:["d-select",t.SELECT_SIZE_MODIFIERS[t.size],t.selectClass,{"d-select--disabled":t.disabled}],attrs:{"data-qa":"dt-select-wrapper"}},[n("select",t._g(t._b({class:["d-select__input",t.SELECT_STATE_MODIFIERS[t.state]],attrs:{"data-qa":"dt-select",disabled:t.disabled}},"select",t.$attrs,!1),t.selectListeners),[t._t("default",(function(){return t._l(t.options,(function(e){return n("option",t._b({key:t.getOptionKey(e.value),class:t.optionClass,domProps:{value:e.value}},"option",t.optionChildProps,!1),[t._v(" "+t._s(e.label)+" ")])}))}))],2)])]),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-select-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)},jd=[];const Vd={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Hd={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},qd=t=>!t.index||"number"===typeof t.index,Fd=t=>!!t.value&&("string"===typeof t.value||"number"===typeof t.value),Kd=t=>!!t.label&&"string"===typeof t.label,zd=t=>!t||t.every((t=>!!qd(t)&&(!!Fd(t)&&!!Kd(t)))),Wd={name:"DtSelectMenu",components:{DtValidationMessages:Vr},mixins:[Kr],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>zd(t)},size:{type:String,default:"md",validator:t=>Object.keys(Vd).includes(t)},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:["input","change"],data(){return{LABEL_SIZE_MODIFIERS:f,DESCRIPTION_SIZE_MODIFIERS:h,SELECT_SIZE_MODIFIERS:Vd,SELECT_STATE_MODIFIERS:Hd}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return E(this.formattedMessages)},selectKey(){return w()},descriptionKey(){return`select-${this.selectKey}-description`},labelAriaDetails(){return this.$slots.description||this.description?this.descriptionKey:this.$attrs["aria-details"]}},mounted(){this.validateOptionsPresence()},beforeUpdate(){this.validateOptionsPresence()},methods:{emitValue(t){this.$emit("input",t),this.$emit("change",t)},getOptionKey(t){return`select-${this.selectKey}-option-${t}`},validateOptionsPresence(){var t;(null===(t=this.options)||void 0===t?void 0:t.length)<1&&!this.$slots.default&&r().util.warn("Options are expected to be provided via prop or slot",this)}}},Ud=Wd;var Gd=B(Ud,Nd,jd,!1,null,null,null);const Zd=Gd.exports;var Yd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isShown?n("div",{class:["d-toast",t.kindClass,{"d-toast--important":t.important}],attrs:{"data-qa":"dt-toast","aria-hidden":(!t.isShown).toString()}},[n("div",{staticClass:"d-toast__dialog"},[n("dt-notice-icon",t._g({attrs:{kind:t.kind}},t.$listeners),[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title,role:t.role},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default",(function(){return[t._v(" "+t._s(t.message)+" ")]}))],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.noticeActionListeners),[t._t("action")],2)],1)]):t._e()},Xd=[];const Qd=["status","alert"],Jd=6e3,tu={name:"DtToast",components:{DtNoticeIcon:ut,DtNoticeContent:gt,DtNoticeAction:Zt},mixins:[jt],props:{titleId:{type:String,default(){return P.getUniqueString()}},contentId:{type:String,default(){return P.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>Qd.includes(t)},kind:{type:String,default:"base",validator:t=>at.includes(t)},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:t=>t>=Jd}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:Jd}},computed:{kindClass(){const t={error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"};return t[this.kind]},noticeActionListeners(){return{...this.$listeners,close:t=>{this.isShown=!1,this.$emit("update:show",!1),this.$emit("close",t)}}},shouldSetTimeout(){return!!this.duration&&this.duration>=this.minDuration}},watch:{show:{handler:function(t){this.isShown=t,t?this.setTimeout():clearTimeout(this.displayTimer)},immediate:!0}},destroyed(){this.shouldSetTimeout&&clearTimeout(this.displayTimer)},methods:{setTimeout(){this.shouldSetTimeout&&(this.displayTimer=setTimeout((()=>{this.isShown=!1,this.$emit("update:show",!1)}),this.duration))}}},eu=tu;var nu=B(eu,Yd,Xd,!1,null,null,null);const iu=nu.exports;var au=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-d-flex d-ai-center"},[t.$slots.default?n("label",t._b({class:t.labelClass,attrs:{for:t.id,"data-qa":"toggle-label"}},"label",t.labelChildProps,!1),[t._t("default")],2):t._e(),n("button",t._g(t._b({class:t.toggleClasses,attrs:{id:t.id,role:t.toggleRole,type:"button","aria-checked":t.internalChecked.toString(),disabled:t.disabled,"aria-disabled":t.disabled.toString()}},"button",t.$attrs,!1),t.inputListeners),[t.showIcon?n("span",{staticClass:"d-toggle__inner"}):t._e()])])},su=[];const ou={sm:"d-toggle--small",md:""},ru=[!1,!0,"mixed"],lu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return P.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>ru.includes(t)},size:{type:String,default:"md",validator:t=>Object.keys(ou).includes(t)},showIcon:{type:Boolean,default:!0},labelClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{internalChecked:this.checked}},computed:{inputListeners(){return{...this.$listeners,click:t=>this.toggleCheckedValue()}},isIndeterminate(){return"mixed"===this.internalChecked},toggleRole(){return this.isIndeterminate?"checkbox":"switch"},toggleClasses(){return["d-toggle",ou[this.size],{"d-toggle--checked":!0===this.internalChecked,"d-toggle--disabled":this.disabled,"d-toggle--indeterminate":this.isIndeterminate}]}},watch:{checked(t){this.internalChecked=t}},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(t,e){t||e||r().util.warn("You must provide an aria-label when there is no label passed",this)}}},du=lu;var uu=B(du,au,su,!1,null,null,null);const cu=uu.exports;var pu=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{attrs:{"data-qa":"dt-tooltip-container"}},[i("div",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:e.onEnterAnchor,focusout:e.onLeaveAnchor,mouseenter:e.onEnterAnchor,mouseleave:e.onLeaveAnchor,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onLeaveAnchor.apply(null,arguments)}}},[e._t("anchor")],2),i("dt-lazy-show",e._g({ref:"content",class:["d-tooltip","d-tooltip__arrow-tippy--"+e.currentPlacement,(t={},t[e.TOOLTIP_KIND_MODIFIERS.inverted]=e.inverted,t),e.contentClass],attrs:{id:e.id,show:e.isShown&&(!!e.message.trim()||!!e.$slots.default),role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:e.transition}},e.tooltipListeners),[e._t("default",(function(){return[e._v(" "+e._s(e.message)+" ")]}))],2)],1)},hu=[];const fu=[...Mo],mu={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},gu=[...Bo],vu=[!0,!1,"toggle"],bu={name:"Tooltip",components:{DtLazyShow:mi},props:{id:{type:String,default(){return w()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return fu.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>gu.includes(t)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:mu,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tooltipListeners(){return{...this.$listeners,"after-leave":t=>{this.onLeaveTransitionComplete()},"after-enter":t=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:No({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(t){null!==t&&(this.isShown=t)},immediate:!0},isShown(t,e){t?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(t){this.tip.setProps({sticky:t})}},mounted(){this.tip=Ro(Vo(this.$refs.anchor),this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var t;this.tip&&(null===(t=this.tip)||void 0===t||t.destroy())},methods:{calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?651:400},hasVisibleFocus(){return Vo(this.$refs.anchor).hasAttribute("data-focus-visible-added")},onEnterAnchor(t){"focusin"===t.type?null===this.show&&this.hasVisibleFocus()&&(this.isShown=!0):null===this.show&&(this.isShown=!0)},onLeaveAnchor(t){null===this.show&&(this.isShown=!1)},onChangePlacement(t){this.currentPlacement=t},onLeaveTransitionComplete(){var t;null===(t=this.tip)||void 0===t||t.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}}}},yu=bu;n(664);var _u=B(yu,pu,hu,!1,null,null,null);const Su=_u.exports;var xu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("kbd",{class:["d-d-inline-flex","d-ff-custom","d-ai-center","d-jc-center","d-box-border","d-px4","d-ba","d-bar4","d-fs-100",t.inverted?"d-bc-black-500":"d-bc-black-400"]},[t.screenReaderText?n("span",{staticClass:"sr-only"},[t._v(" "+t._s(t.screenReaderText)+" ")]):t._e(),t._l(t.formattedShortcutSplit,(function(e,i){return[t.icons[e]?n("dt-icon",{key:i+"-"+e,class:[t.inverted?"d-fc-black-300":"d-fc-black-600","d-mr2"],attrs:{name:t.icons[e],size:"100","aria-hidden":"true"}}):n("span",{key:i+"-"+e,class:[t.inverted?"d-fc-black-300":"d-fc-black-600","d-mr2"],attrs:{"aria-hidden":"true"},domProps:{innerHTML:t._s(e)}})]}))],2)},Cu=[];const wu={"{win}":"layout-grid","{arrow-right}":"arrow-right","{arrow-left}":"arrow-left","{arrow-up}":"arrow-up","{arrow-down}":"arrow-down","{cmd}":"command"},Ou={"{plus}":"plus"},Iu=Object.keys(wu),Eu={name:"DtKeyboardShortcut",components:{DtIcon:it},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:wu,separator:/\+/gi}},computed:{icons(){return{...wu,...Ou}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(wu).reduce(((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),wu[e])),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp(`(${t})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}},ku=Eu;var Lu=B(ku,xu,Cu,!1,null,null,null);const Du=Lu.exports;var Au=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"root-layout"},[t.$slots.header?n("header",{class:["root-layout__header",t.headerClass,{"root-layout__header--sticky":t.headerSticky}],style:{height:t.headerHeight},attrs:{"data-qa":"root-layout-header"}},[t._t("header")],2):t._e(),n("dt-root-layout-body",{attrs:{"body-class":t.bodyClass,"content-class":t.contentClass,"content-wrap-width-percent":t.contentWrapWidthPercent,"sidebar-class":t.sidebarClass,"sidebar-width":t.sidebarWidth,"sidebar-position":t.sidebarPosition},scopedSlots:t._u([{key:"sidebar",fn:function(){return[t._t("sidebar")]},proxy:!0},{key:"content",fn:function(){return[t._t("default")]},proxy:!0}],null,!0)}),t.$slots.footer?n("footer",{class:["root-layout__footer",t.footerClass],style:{height:t.footerHeight},attrs:{"data-qa":"root-layout-footer"}},[t._t("footer")],2):t._e()],1)},Tu=[],Pu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["root-layout__body",t.bodyClasses],attrs:{"data-qa":"root-layout-body"}},[t.$slots.sidebar?n("aside",{class:["root-layout__sidebar",t.sidebarClass],style:{"flex-basis":t.sidebarWidth},attrs:{"data-qa":"root-layout-sidebar"}},[t._t("sidebar")],2):t._e(),t.$slots.content?n("main",{class:["root-layout__content",t.contentClass],style:{"min-inline-size":t.contentWrapWidthPercent},attrs:{"data-qa":"root-layout-content"}},[t._t("content")],2):t._e()])},$u=[];const Mu={LEFT:"left",RIGHT:"right"},Bu={name:"DtRootLayoutBody",props:{bodyClass:{type:[String,Array,Object],default:void 0},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:{bodyClasses(){return[this.bodyClass,{"root-layout__body--invert":this.sidebarPosition===Mu.RIGHT}]}}},Ru=Bu;n(263);var Nu=B(Ru,Pu,$u,!1,null,null,null);const ju=Nu.exports,Vu={name:"DtRootLayout",components:{DtRootLayoutBody:ju},props:{headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},bodyClass:{type:[String,Array,Object],default:""},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:t=>Object.values(Mu).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}},Hu=Vu;n(987);var qu=B(Hu,Au,Tu,!1,null,null,null);const Fu=qu.exports;var Ku=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-combobox",t._g({ref:"combobox",attrs:{loading:t.loading,"empty-list":t.emptyList,"empty-state-message":t.emptyStateMessage,"show-list":t.isListShown,"on-beginning-of-list":t.onBeginningOfList,"on-end-of-list":t.onEndOfList,"list-aria-label":t.listAriaLabel,"list-rendered-outside":!0,"list-id":t.listId,"data-qa":"dt-combobox"},scopedSlots:t._u([{key:"input",fn:function(e){var i=e.inputProps;return[n("div",{ref:"input",attrs:{id:t.externalAnchor},on:{focusin:t.onFocusIn,focusout:t.onFocusOut,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:t.openOnArrowKeyPress(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.openOnArrowKeyPress(e)}]}},[t._t("input",null,{inputProps:i,onInput:t.handleDisplayList})],2)]}},{key:"list",fn:function(e){var i=e.opened,a=e.listProps,s=e.clearHighlightIndex;return[n("dt-popover",{ref:"popover",attrs:{open:t.isListShown,"hide-on-click":null===t.showList,"max-height":t.maxHeight,"max-width":t.maxWidth,offset:t.popoverOffset,sticky:t.popoverSticky,placement:"bottom-start","initial-focus-element":"none",padding:"none",role:"listbox","external-anchor":t.externalAnchor,"content-width":t.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,"visually-hidden-close-label":t.visuallyHiddenCloseLabel,"visually-hidden-close":t.visuallyHiddenClose},on:{"update:open":function(e){t.isListShown=e},opened:function(t){return i(t,arguments[1])}},scopedSlots:t._u([{key:"headerContent",fn:function(){return[t.$slots.header?n("div",{ref:"header",on:{focusout:t.onFocusOut}},[t._t("header")],2):t._e()]},proxy:!0},{key:"content",fn:function(){return[n("div",{ref:"listWrapper",class:[t.DROPDOWN_PADDING_CLASSES[t.padding],t.listClass],on:{mouseleave:s,focusout:function(e){t.onFocusOut}}},[t.loading?n("combobox-loading-list",t._b({},"combobox-loading-list",a,!1)):t.emptyList&&t.emptyStateMessage?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage}},"combobox-empty-list",a,!1)):t._t("list",null,{listProps:a})],2)]},proxy:!0},{key:"footerContent",fn:function(){return[t.$slots.footer?n("div",{ref:"footer",on:{focusout:t.onFocusOut}},[t._t("footer")],2):t._e()]},proxy:!0}],null,!0)})]}}],null,!0)},t.comboboxListeners))},zu=[];const Wu={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:ei,DtPopover:pr,ComboboxLoadingList:zn,ComboboxEmptyList:Xn},mixins:[jt],props:{listAriaLabel:{type:String,required:!0},showList:{type:Boolean,default:null},listId:{type:String,default(){return w()}},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:t=>Object.keys(hr).some((e=>e===t))},contentWidth:{type:String,default:null,validator:t=>zo.includes(t)},openWithArrowKeys:{type:Boolean,default:!1},popoverOffset:{type:Array,default:()=>[0,4]},popoverSticky:{type:[Boolean,String],default:!1},hasSuggestionList:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},emptyList:{type:Boolean,default:!1},emptyStateMessage:{type:String,default:""}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:hr,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:w()}},computed:{comboboxListeners(){return{...this.$listeners,select:this.onSelect,escape:this.onEscape,highlight:this.onHighlight}}},watch:{showList:{handler:function(t){null!==t&&(this.isListShown=t)},immediate:!0},isListShown(t){this.onOpened(t)}},methods:{handleDisplayList(t){this.hasSuggestionList||(t?this.showComboboxList():this.closeComboboxList())},showComboboxList(){null==this.showList&&(this.isListShown=!0)},closeComboboxList(){null==this.showList&&(this.isListShown=!1)},onSelect(t){this.loading||(this.$emit("select",t),this.hasSuggestionList||this.closeComboboxList())},onEscape(){this.$emit("escape"),this.closeComboboxList()},onHighlight(t){this.loading||this.$emit("highlight",t)},onOpened(t){this.$emit("opened",t)},onFocusIn(t){this.hasSuggestionList&&t&&this.$refs.input.querySelector("input")===t.target&&this.showComboboxList()},onFocusOut(t){const e=["input","header","footer","listWrapper"],n=e.some((e=>{var n;return null===(n=this.$refs[e])||void 0===n?void 0:n.contains(t.relatedTarget)}))||this.visuallyHiddenClose;n||this.closeComboboxList()},openOnArrowKeyPress(t){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},Uu=Wu;var Gu=B(Uu,Ku,zu,!1,null,null,null);const Zu=Gu.exports;var Yu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{"list-aria-label":"listAriaLabel","show-list":t.showList,"max-height":t.listMaxHeight,"popover-offset":t.popoverOffset,"has-suggestion-list":t.hasSuggestionList,"visually-hidden-close-label":t.visuallyHiddenCloseLabel,"visually-hidden-close":t.visuallyHiddenClose,"content-width":"anchor"},on:{select:t.onComboboxSelect},scopedSlots:t._u([{key:"input",fn:function(e){var i=e.onInput;return[n("span",{ref:"inputSlotWrapper",staticClass:"d-ps-relative"},[n("span",{ref:"chipsWrapper",staticClass:"d-ps-absolute d-mx2"},t._l(t.selectedItems,(function(e){return n("dt-chip",t._g({key:e.id,ref:"chips",refInFor:!0,staticClass:"d-mt4 d-mx2 d-zi-base1",attrs:{"close-button-props":{ariaLabel:"close"},size:t.size},on:{keyup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"backspace",void 0,n.key,void 0)?null:t.onChipRemove(e)},close:function(n){return t.onChipRemove(e)}}},t.chipListeners),[t._v(" "+t._s(e)+" ")])})),1),n("dt-input",t._g({ref:"input",staticClass:"d-fl-grow1 d-mb4",attrs:{label:t.label,description:t.description,placeholder:t.inputPlaceHolder,"show-messages":t.showInputMessages,messages:t.inputMessages,size:t.size},on:{input:i},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t.inputListeners)),n("dt-validation-messages",{attrs:{"validation-messages":t.maxSelectedMessage,"show-messages":t.showValidationMessages}})],1)]}},{key:"header",fn:function(){return[t.$slots.header?n("div",{ref:"header"},[t._t("header")],2):t._e()]},proxy:!0},{key:"list",fn:function(){return[n("div",{ref:"list",on:{mousedown:function(t){t.preventDefault()}}},[t.loading?n("div",{staticClass:"d-ta-center d-py16"},[t._v(" "+t._s(t.loadingMessage)+" ")]):t._t("list")],2)]},proxy:!0},{key:"footer",fn:function(){return[t.$slots.footer?n("div",{ref:"footer"},[t._t("footer")],2):t._e()]},proxy:!0}],null,!0)})},Xu=[];const Qu={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},Ju={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:Zu,DtInput:Gr,DtChip:Rd,DtValidationMessages:Vr},mixins:[jt],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:t=>Br(t)},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:t=>Object.values(Qu).includes(t)}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,4],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null}},computed:{inputPlaceHolder(){var t;return(null===(t=this.selectedItems)||void 0===t?void 0:t.length)>0?"":this.placeholder},chipListeners(){return{...this.$listeners,keyup:t=>{this.onChipKeyup(t),this.$emit("keyup",t)}}},inputListeners(){return{...this.$listeners,input:t=>{this.$emit("input",t),this.hasSuggestionList&&this.showComboboxList()},keyup:t=>{this.onInputKeyup(t),this.$emit("keyup",t)},click:t=>{this.hasSuggestionList&&this.showComboboxList()}}}},watch:{selectedItems:{immediate:!0,async handler(){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)},beforeDestroy(){var t;null===(t=this.resizeWindowObserver)||void 0===t||t.unobserve(document.body)},methods:{onChipRemove(t){this.$emit("remove",t),this.$refs.input.focus()},onComboboxSelect(t){this.value="",this.$emit("select",t)},showComboboxList(){null==this.showList&&this.$refs.comboboxWithPopover.showComboboxList()},closeComboboxList(){null==this.showList&&this.$refs.comboboxWithPopover.closeComboboxList()},getChipButtons(){return this.$refs.chips&&this.$refs.chips.map((t=>t.$el.querySelector("button")))},getChips(){return this.$refs.chips&&this.$refs.chips.map((t=>t.$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 t;return null===(t=this.$refs.input)||void 0===t?void 0:t.$refs.input},onChipKeyup(t){var e;const n=null===(e=t.code)||void 0===e?void 0:e.toLowerCase();"arrowleft"===n?this.navigateBetweenChips(t.target,!0):"arrowright"===n&&(t.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(t.target,!1))},onInputKeyup(t){var e;const n=null===(e=t.code)||void 0===e?void 0:e.toLowerCase();this.selectedItems.length>0&&0===t.target.selectionStart&&("backspace"!==n&&"arrowleft"!==n||this.moveFromInputToChip())},moveFromInputToChip(){this.getLastChipButton().focus(),this.$refs.input.blur(),this.closeComboboxList()},moveFromChipToInput(){this.getLastChipButton().blur(),this.$refs.input.focus(),this.showComboboxList()},navigateBetweenChips(t,e){const n=this.getChipButtons().indexOf(t),i=e?n-1:n+1;i<0||i>=this.$refs.chips.length||(this.getChipButtons()[n].blur(),this.getChipButtons()[i].focus(),this.closeComboboxList())},setChipsTopPosition(){if(!this.$refs.input)return;const t=this.getInput();if(!t)return;const e=this.$refs.inputSlotWrapper,n=t.getBoundingClientRect().top-e.getBoundingClientRect().top,i=this.$refs.chipsWrapper;i.style.top=n+"px"},setInputPadding(){const t=this.getLastChip(),e=this.getInput();if(!e)return;if(!t)return void this.revertInputPadding(e);const n=t.offsetLeft+this.getFullWidth(t);e.style.paddingLeft=n+"px";const i=t.offsetTop+3;e.style.paddingTop=i+"px",this.popoverOffset=[0,4]},getFullWidth(t){const e=window.getComputedStyle(t);return t.offsetWidth+parseInt(e.marginLeft)+parseInt(e.marginRight)},revertInputPadding(t){t.style.paddingLeft="",t.style.paddingTop="",t.style.paddingBottom=""},setInputMinWidth(){const t=this.getFirstChip(),e=this.getInput();e&&(e.style.minWidth=t?this.getFullWidth(t)+4+"px":"")},checkMaxSelected(){0!==this.maxSelected&&(this.selectedItems.length>this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}},tc=Ju;var ec=B(tc,Yu,Xu,!1,null,null,null);const nc=ec.exports;var ic=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-tooltip",{attrs:{id:t.id,offset:[0,-12]},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",t._g({class:t.callbarButtonClass,attrs:{importance:t.circle?"outlined":"clear",kind:"muted","icon-position":"top",disabled:t.disabled,"aria-label":t.ariaLabel,"label-class":"d-fs-100",width:"8.4rem"}},t.$listeners),[t._t("default"),t._t("icon",null,{slot:"icon"})],2)]},proxy:!0}],null,!0)},[t._t("tooltip")],2)},ac=[];const sc={name:"DtRecipeCallbarButton",components:{DtButton:Nt,DtTooltip:Su},inheritAttrs:!0,props:{id:{type:String,default(){return P.getUniqueString()}},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},ariaLabel:{type:String,default:null,validator:t=>t||(void 0).$slots.default},buttonClass:{type:[String,Array,Object],default:""}},emits:["click"],computed:{callbarButtonClass(){return[this.buttonClass,"dt-recipe-callbar-button","d-stack4","d-px0","h:d-bgc-black-200","h:d-bgo50",{"dt-recipe-callbar-button--circle":this.circle,"dt-recipe-callbar-button--active":this.active,"dt-recipe-callbar-button--danger":this.danger}]}}},oc=sc;n(39);var rc=B(oc,ic,ac,!1,null,null,null);const lc=rc.exports;var dc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-recipe--callbar-button-with-popover--button"},[n("dt-recipe-callbar-button",{staticClass:"dt-recipe--callbar-button-with-popover--main-button",attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,active:t.active,danger:t.danger,"button-class":t.buttonClass},on:{click:t.buttonClick}},[t._t("icon",null,{slot:"icon"}),t._t("tooltip",null,{slot:"tooltip"}),t._t("default")],2),t.showArrowButton?n("dt-popover",t._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{id:t.id,open:t.open,placement:t.placement,"initial-focus-element":t.initialFocusElement,"show-close-button":t.showCloseButton,padding:"none","dialog-class":["dt-recipe--callbar-button-with-popover--popover",t.contentClass],"header-class":"d-d-flex d-ai-center d-fw-normal d-px12"},on:{opened:t.onModalIsOpened},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",{staticClass:"dt-recipe--callbar-button-with-popover--arrow",attrs:{circle:"",importance:"clear",size:"lg",width:"2rem","aria-label":t.arrowButtonLabel,active:t.open},on:{click:t.arrowClick},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"chevron-up",size:"200"}})]},proxy:!0}],null,!1,3340821372)})]},proxy:!0}],null,!1,86794195)},"dt-popover",t.$attrs,!1),[t._t("content",null,{slot:"content"}),t._t("headerContent",null,{slot:"headerContent"}),t._t("footerContent",null,{slot:"footerContent"})],2):t._e()],1)},uc=[];const cc={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:lc,DtPopover:pr,DtButton:Nt,DtIcon:it},inheritAttrs:!1,props:{id:{type:String,default(){return P.getUniqueString()}},ariaLabel:{type:String,default:null,validator:t=>t||(void 0).$slots.default},arrowButtonLabel:{type:String,required:!0,validator:t=>!!t},placement:{type:String,default:"top"},initialFocusElement:{type:String,default:"first"},showCloseButton:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},forceShowArrow:{type:Boolean,default:!1},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},buttonClass:{type:[String,Array,Object],default:""},contentClass:{type:[String,Array,Object],default:""}},emits:["arrowClick","click"],data(){return{open:!1}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled}},methods:{arrowClick(t){return this.$emit("arrowClick",t),this.open=!this.open},buttonClick(t){this.$listeners.click?this.$emit("click",t):this.arrowClick(t)},onModalIsOpened(t){this.open=t}}},pc=cc;n(724);var hc=B(pc,dc,uc,!1,null,null,null);const fc=hc.exports;var mc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-list-item",{attrs:{id:t.id,role:t.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:t._u([{key:"left",fn:function(){return[n("div",{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[t.avatarSrc?n("dt-avatar",{attrs:{size:"lg"}},[n("img",{attrs:{"data-qa":"dt-contact-avatar",src:t.avatarSrc,alt:t.avatarInitials}})]):t.avatarInitials?n("dt-avatar",{attrs:{kind:"initials",size:"lg",color:t.avatarColor}},[t._v(" "+t._s(t.avatarInitials)+" ")]):t._e(),t.showUserStatus?n("div",{class:["d-ba","d-bc-white","d-baw2","d-bar2","d-ps-absolute","d-bn1","d-rn1","d-w20p","d-h20p",t.USER_STATUS_COLOR_MODIFIERS[t.userStatusColor]],attrs:{"data-qa":"contact-info-user-status"}},[t._v("   ")]):t._e()],1)]},proxy:!0},{key:"default",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-header"}},[t._t("header")],2)]},proxy:!0},{key:"subtitle",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-subtitle"}},[t._t("subtitle")],2)]},proxy:!0},{key:"bottom",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-bottom"}},[t._t("bottom")],2)]},proxy:!0},{key:"right",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-right"}},[t._t("right")],2)]},proxy:!0}],null,!0)})},gc=[];const vc={none:"",green:"d-bgc-green-300",gold:"d-bgc-gold-200",red:"d-bgc-red-200"},bc={name:"DtRecipeContactInfo",components:{DtAvatar:N,DtListItem:an},props:{id:{type:String,default(){return P.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarInitials:{type:String,default:""},avatarColor:{type:String,default:"base",validator:t=>Object.keys(u).includes(t)},userStatusColor:{type:String,default:"none",validator:t=>Object.keys(vc).includes(t)}},data(){return{USER_STATUS_COLOR_MODIFIERS:vc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},yc=bc;var _c=B(yc,mc,gc,!1,null,null,null);const Sc=_c.exports;var xc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-fs-100 d-d-flex d-top-banner-info d-jc-space-between d-ai-center",class:t.bannerInfoClass,attrs:{"data-qa":"banner-info"}},[n("div",{staticClass:"d-top-banner-info__left"},[t._t("left")],2),n("div",{staticClass:"d-top-banner-info__middle d-my4"},[t._t("default")],2),n("div",{staticClass:"d-top-banner-info__right d-ta-right"},[t._t("right")],2)])},Cc=[];const wc=["green300","green100","red200","red100","gold100","gold200","black100","white"],Oc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return wc.includes(t)}}},computed:{bannerInfoClass(){const t={green300:"d-bgc-green-300",green100:"d-bgc-green-100",red200:"d-bgc-red-200",red100:"d-bgc-red-100",gold200:"d-bgc-gold-200",gold100:"d-bgc-gold-100",black100:"d-bgc-black-400",white:"d-bgc-white"};return[t[this.colorCode]]}}},Ic=Oc;n(486);var Ec=B(Ic,xc,Cc,!1,null,null,null);const kc=Ec.exports;var Lc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._g({staticClass:"d-d-flex d-fd-column d-ai-center d-c-pointer ivr_node__width"},t.$listeners),[t.dtmfKey?n("div",{staticClass:"d-zi-base1 d-ai-center d-jc-center d-d-flex d-w24 d-h24 d-bar-circle d-bc-purple-600 d-bgc-purple-600 d-mbn12 d-fc-white d-fs-200",class:{"d-mbn16":t.isSelected},attrs:{"data-qa":"dt-top-connector-dtmf"}},[t._v(" "+t._s(t.dtmfKey)+" ")]):n("div",{staticClass:"d-zi-base1 d-d-flex d-w8 d-h8 d-bar-circle d-bc-purple-600 d-bgc-purple-600 d-mbn4",class:{"d-mbn8":t.isSelected},attrs:{"data-qa":"dt-top-connector"}}),n("dt-card",{attrs:{"content-class":"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12","container-class":["d-w100p",{"d-ba d-bar8 d-baw4":t.isSelected},t.headerColor],"header-class":["d-mtn1","d-bt","d-btw4","d-p0",t.headerColor,{"d-btr4":!t.isSelected}]},scopedSlots:t._u([{key:"header",fn:function(){return[n("div",{staticClass:"d-d-flex d-ai-center"},[n("dt-button",{attrs:{"aria-label":t.nodeType,importance:"clear","data-qa":"dt-ivr-node-icon"},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{staticClass:"d-fc-black-900",attrs:{name:t.nodeIcon,size:"200"}})]},proxy:!0}])}),n("p",{staticClass:"d-fs-200 d-fw-bold",attrs:{"data-qa":"ivr-node-label"}},[t._v(" "+t._s(t.nodeLabel)+" ")])],1),n("dt-dropdown",{attrs:{placement:"bottom",open:t.isOpen},on:{"update:open":function(e){t.isOpen=e}},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",{attrs:{importance:"clear","aria-label":t.menuButtonAriaLabel},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.openMenu.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{staticClass:"d-fc-black-900",attrs:{name:"more-vertical",size:"200"}})]},proxy:!0}])})]},proxy:!0},{key:"list",fn:function(e){var i=e.close;return[n("div",{staticClass:"d-w164"},[t._t("menuItems",null,{close:i})],2)]}}],null,!0)})]},proxy:!0},{key:"content",fn:function(){return[t._t("content")]},proxy:!0}],null,!0)})],1)},Dc=[];const Ac="promptmenu",Tc="promptcollect",Pc="promptplay",$c="gotoexpert",Mc="goto",Bc="branch",Rc="transfer",Nc="hangup",jc={[Ac]:"keypad",[Tc]:"dialer",[Pc]:"volume-2",[$c]:"corner-down-right",[Bc]:"network",[Mc]:"chevrons-up",[Rc]:"transfer",[Nc]:"phone-hang-up"},Vc={[Ac]:"Menu",[Tc]:"Collect",[Pc]:"Play",[$c]:"Expert",[Bc]:"Branch",[Mc]:"Go-to",[Rc]:"Transfer",[Nc]:"Hangup"},Hc={PROMPT:{normal:"d-bc-blue-200",selected:"d-bc-blue-300"},LOGIC:{normal:"d-bc-purple-200",selected:"d-bc-purple-400"},TERMINAL:{normal:"d-bc-red-100",selected:"d-bc-red-200"}},qc={[Ac]:Hc.PROMPT,[Tc]:Hc.PROMPT,[Pc]:Hc.PROMPT,[$c]:Hc.LOGIC,[Bc]:Hc.LOGIC,[Mc]:Hc.LOGIC,[Rc]:Hc.TERMINAL,[Nc]:Hc.TERMINAL},Fc={name:"DtRecipeIvrNode",components:{DtCard:Be,DtButton:Nt,DtDropdown:vr,DtIcon:it},props:{nodeType:{type:String,required:!0},nodeLabel:{type:String,required:!0},isSelected:{type:Boolean,default:!1},menuButtonAriaLabel:{type:String,required:!0},dtmfKey:{type:String,default:null}},emits:["click"],data(){return{isOpen:!1}},computed:{nodeIcon(){return jc[this.nodeType]},headerColor(){const{normal:t,selected:e}=qc[this.nodeType];return this.isSelected?e:t}},methods:{openMenu(){this.isOpen=!0}}},Kc=Fc;n(183);var zc=B(Kc,Lc,Dc,!1,null,null,null);const Wc=zc.exports;var Uc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-d-inline-flex d-ws-nowrap d-bgc-unset",attrs:{"data-qa":"grouped-chip"}},[n("dt-chip",{staticClass:"d-blr-pill d-bgc-black-200 d-w100p d-wmx64",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:t._u([t.$slots.leftIcon?{key:"icon",fn:function(){return[t.$slots.leftIcon?n("div",{attrs:{"data-qa":"left-grouped-chip-icon"}},[t._t("leftIcon")],2):t._e()]},proxy:!0}:null,{key:"default",fn:function(){return[t.$slots.leftContent?n("div",{attrs:{"data-qa":"left-grouped-chip-content"}},[t._t("leftContent")],2):t._e()]},proxy:!0}],null,!0)}),n("dt-chip",{staticClass:"d-brr-pill d-bgc-purple-200 d-w100p d-wmx64",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:t._u([{key:"icon",fn:function(){return[t.$slots.rightIcon?n("div",{attrs:{"data-qa":"right-grouped-chip-icon"}},[t._t("rightIcon")],2):t._e()]},proxy:!0},{key:"default",fn:function(){return[t.$slots.rightContent?n("div",{staticClass:"d-wmx50p",attrs:{"data-qa":"right-grouped-chip-content"}},[t._t("rightContent")],2):t._e()]},proxy:!0}],null,!0)})],1)},Gc=[];const Zc={name:"DtRecipeGroupedChip",components:{DtChip:Rd},computed:{}},Yc=Zc;var Xc=B(Yc,Uc,Gc,!1,null,null,null);const Qc=Xc.exports})(),i})()));
2
2
  //# sourceMappingURL=dialtone-vue.umd.min.js.map