@dialpad/dialtone-vue 2.57.0 → 2.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +22 -0
- package/dist/dialtone-vue.common.js +214 -80
- package/dist/dialtone-vue.umd.js +214 -80
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +1 -1
|
@@ -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={774:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".d-avatar--image-loaded{background-color:initial;background-image:unset}",""]);const l=r},5:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".d-context-menu-list{width:calc(var(--size-300)*48)}",""]);const l=r},719:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".dt-list-item[role=menuitem]{border-radius:var(--size-300)}.dt-list-separator{height:var(--size-100);list-style:none}",""]);const l=r},321:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".dt-list-item:not(.dt-list-item--static){cursor:pointer;border-radius:var(--size-300)}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:hsla(var(--black-900-h),var(--black-900-s),var(--black-900-l),.05)}.dt-list-item--highlighted:active{background-color:hsla(var(--black-900-h),var(--black-900-s),var(--black-900-l),.1)}.dt-list-item:focus-visible{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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){line-height:var(--lh-300)}.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 .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}",""]);const l=r},435:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}",""]);const l=r},326:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".d-top-banner-info__left{margin:var(--space-300) 0 var(--space-300) var(--space-500);min-width:20%}.d-top-banner-info__middle{display:flex;align-items:center;gap:var(--size-300)}.d-top-banner-info__right{display:flex;align-items:baseline;justify-content:flex-end;gap:var(--size-300);margin:var(--space-300) var(--space-500) var(--space-300) 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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".enter-active,.leave-active{overflow:hidden;transition:height .3s cubic-bezier(.25,1,.5,1)}",""]);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,s,a){"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 a&&("undefined"===typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),e.push(u))}},e}},481:t=>{"use strict";t.exports=function(t){return t[1]}},377:(t,e,n)=>{var i=n(832),s=n(652),a=n(801),o=n(30),r=n(618),l=n(49),d=n(971);d.alea=i,d.xor128=s,d.xorwow=a,d.xorshift7=o,d.xor4096=r,d.tychei=l,t.exports=d},832:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this,n=d();e.next=function(){var t=2091639*e.s0+2.3283064365386963e-10*e.c;return e.s0=e.s1,e.s1=e.s2,e.s2=t-(e.c=0|t)},e.c=1,e.s0=n(" "),e.s1=n(" "),e.s2=n(" "),e.s0-=n(t),e.s0<0&&(e.s0+=1),e.s1-=n(t),e.s1<0&&(e.s1+=1),e.s2-=n(t),e.s2<0&&(e.s2+=1),n=null}function r(t,e){return e.c=t.c,e.s0=t.s0,e.s1=t.s1,e.s2=t.s2,e}function l(t,e){var n=new o(t),i=e&&e.state,s=n.next;return s.int32=function(){return 4294967296*n.next()|0},s.double=function(){return s()+11102230246251565e-32*(2097152*s()|0)},s.quick=s,i&&("object"==typeof i&&r(i,n),s.state=function(){return r(n,{})}),s}function d(){var t=4022871197,e=function(e){e=String(e);for(var n=0;n<e.length;n++){t+=e.charCodeAt(n);var i=.02519603282416938*t;t=i>>>0,i-=t,i*=t,t=i>>>0,i-=t,t+=4294967296*i}return 2.3283064365386963e-10*(t>>>0)};return e}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.alea=l}(0,t,n.amdD)},49:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this,n="";e.next=function(){var t=e.b,n=e.c,i=e.d,s=e.a;return t=t<<25^t>>>7^n,n=n-i|0,i=i<<24^i>>>8^s,s=s-t|0,e.b=t=t<<20^t>>>12^n,e.c=n=n-i|0,e.d=i<<16^n>>>16^s,e.a=s-t|0},e.a=0,e.b=0,e.c=-1640531527,e.d=1367130551,t===Math.floor(t)?(e.a=t/4294967296|0,e.b=0|t):n+=t;for(var i=0;i<n.length+20;i++)e.b^=0|n.charCodeAt(i),e.next()}function r(t,e){return e.a=t.a,e.b=t.b,e.c=t.c,e.d=t.d,e}function l(t,e){var n=new o(t),i=e&&e.state,s=function(){return(n.next()>>>0)/4294967296};return s.double=function(){do{var t=n.next()>>>11,e=(n.next()>>>0)/4294967296,i=(t+e)/(1<<21)}while(0===i);return i},s.int32=n.next,s.quick=s,i&&("object"==typeof i&&r(i,n),s.state=function(){return r(n,{})}),s}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.tychei=l}(0,t,n.amdD)},652:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this,n="";e.x=0,e.y=0,e.z=0,e.w=0,e.next=function(){var t=e.x^e.x<<11;return e.x=e.y,e.y=e.z,e.z=e.w,e.w^=e.w>>>19^t^t>>>8},t===(0|t)?e.x=t:n+=t;for(var i=0;i<n.length+64;i++)e.x^=0|n.charCodeAt(i),e.next()}function r(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e}function l(t,e){var n=new o(t),i=e&&e.state,s=function(){return(n.next()>>>0)/4294967296};return s.double=function(){do{var t=n.next()>>>11,e=(n.next()>>>0)/4294967296,i=(t+e)/(1<<21)}while(0===i);return i},s.int32=n.next,s.quick=s,i&&("object"==typeof i&&r(i,n),s.state=function(){return r(n,{})}),s}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.xor128=l}(0,t,n.amdD)},618:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this;function n(t,e){var n,i,s,a,o,r=[],l=128;for(e===(0|e)?(i=e,e=null):(e+="\0",i=0,l=Math.max(l,e.length)),s=0,a=-32;a<l;++a)e&&(i^=e.charCodeAt((a+32)%e.length)),0===a&&(o=i),i^=i<<10,i^=i>>>15,i^=i<<4,i^=i>>>13,a>=0&&(o=o+1640531527|0,n=r[127&a]^=i+o,s=0==n?s+1:0);for(s>=128&&(r[127&(e&&e.length||0)]=-1),s=127,a=512;a>0;--a)i=r[s+34&127],n=r[s=s+1&127],i^=i<<13,n^=n<<17,i^=i>>>15,n^=n>>>12,r[s]=i^n;t.w=o,t.X=r,t.i=s}e.next=function(){var t,n,i=e.w,s=e.X,a=e.i;return e.w=i=i+1640531527|0,n=s[a+34&127],t=s[a=a+1&127],n^=n<<13,t^=t<<17,n^=n>>>15,t^=t>>>12,n=s[a]=n^t,e.i=a,n+(i^i>>>16)|0},n(e,t)}function r(t,e){return e.i=t.i,e.w=t.w,e.X=t.X.slice(),e}function l(t,e){null==t&&(t=+new Date);var n=new o(t),i=e&&e.state,s=function(){return(n.next()>>>0)/4294967296};return s.double=function(){do{var t=n.next()>>>11,e=(n.next()>>>0)/4294967296,i=(t+e)/(1<<21)}while(0===i);return i},s.int32=n.next,s.quick=s,i&&(i.X&&r(i,n),s.state=function(){return r(n,{})}),s}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.xor4096=l}(0,t,n.amdD)},30:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this;function n(t,e){var n,i=[];if(e===(0|e))i[0]=e;else for(e=""+e,n=0;n<e.length;++n)i[7&n]=i[7&n]<<15^e.charCodeAt(n)+i[n+1&7]<<13;while(i.length<8)i.push(0);for(n=0;n<8&&0===i[n];++n);for(8==n?i[7]=-1:i[n],t.x=i,t.i=0,n=256;n>0;--n)t.next()}e.next=function(){var t,n,i=e.x,s=e.i;return t=i[s],t^=t>>>7,n=t^t<<24,t=i[s+1&7],n^=t^t>>>10,t=i[s+3&7],n^=t^t>>>3,t=i[s+4&7],n^=t^t<<7,t=i[s+7&7],t^=t<<13,n^=t^t<<9,i[s]=n,e.i=s+1&7,n},n(e,t)}function r(t,e){return e.x=t.x.slice(),e.i=t.i,e}function l(t,e){null==t&&(t=+new Date);var n=new o(t),i=e&&e.state,s=function(){return(n.next()>>>0)/4294967296};return s.double=function(){do{var t=n.next()>>>11,e=(n.next()>>>0)/4294967296,i=(t+e)/(1<<21)}while(0===i);return i},s.int32=n.next,s.quick=s,i&&(i.x&&r(i,n),s.state=function(){return r(n,{})}),s}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.xorshift7=l}(0,t,n.amdD)},801:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this,n="";e.next=function(){var t=e.x^e.x>>>2;return e.x=e.y,e.y=e.z,e.z=e.w,e.w=e.v,(e.d=e.d+362437|0)+(e.v=e.v^e.v<<4^t^t<<1)|0},e.x=0,e.y=0,e.z=0,e.w=0,e.v=0,t===(0|t)?e.x=t:n+=t;for(var i=0;i<n.length+64;i++)e.x^=0|n.charCodeAt(i),i==n.length&&(e.d=e.x<<10^e.x>>>4),e.next()}function r(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e.v=t.v,e.d=t.d,e}function l(t,e){var n=new o(t),i=e&&e.state,s=function(){return(n.next()>>>0)/4294967296};return s.double=function(){do{var t=n.next()>>>11,e=(n.next()>>>0)/4294967296,i=(t+e)/(1<<21)}while(0===i);return i},s.int32=n.next,s.quick=s,i&&("object"==typeof i&&r(i,n),s.state=function(){return r(n,{})}),s}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.xorwow=l}(0,t,n.amdD)},971:function(t,e,n){var i;(function(s,a,o){var r,l=256,d=6,u=52,c="random",p=o.pow(l,d),h=o.pow(2,u),f=2*h,m=l-1;function g(t,e,n){var i=[];e=1==e?{entropy:!0}:e||{};var s=_(y(e.entropy?[t,S(a)]:null==t?x():t,3),i),r=new v(i),u=function(){var t=r.g(d),e=p,n=0;while(t<h)t=(t+n)*l,e*=l,n=r.g(1);while(t>=f)t/=2,e/=2,n>>>=1;return(t+n)/e};return u.int32=function(){return 0|r.g(4)},u.quick=function(){return r.g(4)/4294967296},u.double=u,_(S(r.S),a),(e.pass||n||function(t,e,n,i){return i&&(i.S&&b(i,r),t.state=function(){return b(r,{})}),n?(o[c]=t,e):t})(u,s,"global"in e?e.global:this==o,e.state)}function v(t){var e,n=t.length,i=this,s=0,a=i.i=i.j=0,o=i.S=[];n||(t=[n++]);while(s<l)o[s]=s++;for(s=0;s<l;s++)o[s]=o[a=m&a+t[s%n]+(e=o[s])],o[a]=e;(i.g=function(t){var e,n=0,s=i.i,a=i.j,o=i.S;while(t--)e=o[s=m&s+1],n=n*l+o[m&(o[s]=o[a=m&a+e])+(o[a]=e)];return i.i=s,i.j=a,n})(l)}function b(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function y(t,e){var n,i=[],s=typeof t;if(e&&"object"==s)for(n in t)try{i.push(y(t[n],e-1))}catch(a){}return i.length?i:"string"==s?t:t+"\0"}function _(t,e){var n,i=t+"",s=0;while(s<i.length)e[m&s]=m&(n^=19*e[m&s])+i.charCodeAt(s++);return S(e)}function x(){try{var t;return r&&(t=r.randomBytes)?t=t(l):(t=new Uint8Array(l),(s.crypto||s.msCrypto).getRandomValues(t)),S(t)}catch(i){var e=s.navigator,n=e&&e.plugins;return[+new Date,s,n,s.screen,S(a)]}}function S(t){return String.fromCharCode.apply(0,t)}if(_(o.random(),a),t.exports){t.exports=g;try{r=n(42)}catch(w){}}else i=function(){return g}.call(e,n,e,t),void 0===i||(t.exports=i)})("undefined"!==typeof self?self:this,[],Math)},848:(t,e,n)=>{var i=n(774);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var s=n(402).Z;s("a5e9ff62",i,!0,{sourceMap:!1,shadowMode:!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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("6b5bfe56",i,!0,{sourceMap:!1,shadowMode:!1})},402:(t,e,n)=>{"use strict";function i(t,e){for(var n=[],i={},s=0;s<e.length;s++){var a=e[s],o=a[0],r=a[1],l=a[2],d=a[3],u={id:t+":"+s,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 s="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!s)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=s&&(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,s){d=n,c=s||{};var o=i(t,e);return m(o),function(e){for(var n=[],s=0;s<o.length;s++){var r=o[s],l=a[r.id];l.refs--,n.push(l)}e?(o=i(t,e),m(o)):o=[];for(s=0;s<n.length;s++){l=n[s];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete a[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],i=a[n.id];if(i){i.refs++;for(var s=0;s<i.parts.length;s++)i.parts[s](n.parts[s]);for(;s<n.parts.length;s++)i.parts.push(v(n.parts[s]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(s=0;s<n.parts.length;s++)o.push(v(n.parts[s]));a[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 s=l++;i=r||(r=g()),e=y.bind(null,i,s,!1),n=y.bind(null,i,s,!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 s=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,s);else{var a=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}function _(t,e){var n=e.css,i=e.media,s=e.sourceMap;if(i&&t.setAttribute("media",i),c.ssrId&&t.setAttribute(p,e.id),s&&(n+="\n/*# sourceURL="+s.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},42:()=>{}},e={};function n(i){var s=e[i];if(void 0!==s)return s.exports;var a=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}(()=>{n.amdD=function(){throw new Error("define cannot be used indirect")}})(),(()=>{n.amdO={}})(),(()=>{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.nmd=t=>(t.paths=[],t.children||(t.children=[]),t)})(),(()=>{n.p=""})();var i={};return(()=>{"use strict";if(n.r(i),n.d(i,{AVATAR_KIND_MODIFIERS:()=>K,AVATAR_SIZE_MODIFIERS:()=>z,BADGE_KIND_MODIFIERS:()=>at,BADGE_TYPE_MODIFIERS:()=>st,BREADCRUMBS_INVERTED_MODIFIER:()=>Oe,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>Ie,BUTTON_GROUP_ALIGNMENT:()=>Ke,CHIP_SIZE_MODIFIERS:()=>Jd,COLOR_CODES:()=>Uc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>c,DESCRIPTION_SIZE_TYPES:()=>r,DtAvatar:()=>et,DtBadge:()=>bt,DtBanner:()=>Se,DtBreadcrumbItem:()=>Ne,DtBreadcrumbs:()=>Fe,DtButton:()=>ie,DtButtonGroup:()=>Ze,DtCard:()=>en,DtCheckableInputMixin:()=>dl,DtCheckbox:()=>zd,DtCheckboxGroup:()=>Yd,DtChip:()=>au,DtCollapsible:()=>ji,DtCombobox:()=>xi,DtDropdown:()=>Nr,DtDropdownList:()=>zr,DtDropdownSeparator:()=>Yr,DtGroupableInputMixin:()=>ul,DtIcon:()=>ft,DtInput:()=>ml,DtInputGroup:()=>Sl,DtInputGroupMixin:()=>bl,DtInputMixin:()=>ll,DtKeyboardListNavigationMixin:()=>rn,DtKeyboardShortcut:()=>Qu,DtLazyShow:()=>Mi,DtLink:()=>$e,DtListItem:()=>wn,DtListItemGroup:()=>Zl,DtListSection:()=>ql,DtModal:()=>Rl,DtNotice:()=>Pl,DtPagination:()=>ed,DtPopover:()=>Pr,DtRadio:()=>ld,DtRadioGroup:()=>fd,DtRecipeCallbarButton:()=>Ac,DtRecipeCallbarButtonWithPopover:()=>Nc,DtRecipeComboboxMultiSelect:()=>Oc,DtRecipeComboboxWithPopover:()=>vc,DtRecipeContactInfo:()=>Kc,DtRecipeGroupedChip:()=>Sp,DtRecipeIvrNode:()=>gp,DtRecipeTopBannerInfo:()=>Qc,DtRootLayout:()=>cc,DtSelectMenu:()=>vu,DtSkeleton:()=>oi,DtSkeletonListItem:()=>ni,DtSkeletonParagraph:()=>Qn,DtSkeletonShape:()=>Rn,DtSkeletonText:()=>Gn,DtTab:()=>Td,DtTabGroup:()=>Id,DtTabPanel:()=>Rd,DtToast:()=>Iu,DtToggle:()=>Pu,DtTooltip:()=>qu,DtValidationMessages:()=>rl,INPUT_SIZES:()=>tl,INPUT_TYPES:()=>Jr,IVR_NODE_BRANCH:()=>op,IVR_NODE_EXPERT:()=>sp,IVR_NODE_GO_TO:()=>ap,IVR_NODE_HANGUP:()=>lp,IVR_NODE_ICON_TYPES:()=>dp,IVR_NODE_LABELS:()=>up,IVR_NODE_PROMPT_COLLECT:()=>np,IVR_NODE_PROMPT_MENU:()=>ep,IVR_NODE_PROMPT_PLAY:()=>ip,IVR_NODE_TRANSFER:()=>rp,LINK_KIND_MODIFIERS:()=>Jt,LINK_VARIANTS:()=>Qt,MODAL_KIND_MODIFIERS:()=>Il,MODAL_SIZE_MODIFIERS:()=>Ol,MULTI_SELECT_SIZES:()=>_c,NOTICE_KINDS:()=>wt,POPOVER_CONTENT_WIDTHS:()=>cr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>dr,POPOVER_INITIAL_FOCUS_STRINGS:()=>pr,POPOVER_PADDING_CLASSES:()=>lr,POPOVER_ROLES:()=>ur,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>ic,SELECT_SIZE_MODIFIERS:()=>lu,SELECT_STATE_MODIFIERS:()=>du,SHORTCUTS_ALIASES_LIST:()=>Uu,SHORTCUTS_ICON_ALIASES:()=>Wu,SHORTCUTS_ICON_SEPARATOR:()=>Gu,SKELETON_HEADING_HEIGHTS:()=>An,SKELETON_RIPPLE_DURATION:()=>kn,SKELETON_SHAPES:()=>Ln,SKELETON_SHAPE_SIZES:()=>Tn,SKELETON_TEXT_TYPES:()=>Dn,TAB_IMPORTANCE_MODIFIERS:()=>xd,TAB_LIST_IMPORTANCE_MODIFIERS:()=>_d,TAB_LIST_KIND_MODIFIERS:()=>yd,TAB_LIST_SIZES:()=>vd,TOAST_ROLES:()=>_u,TOOLTIP_DIRECTIONS:()=>Bu,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>ju,TOOLTIP_KIND_MODIFIERS:()=>Ru,TOOLTIP_STICKY_VALUES:()=>Nu,USER_STATUS_COLOR_MODIFIERS:()=>Hc,VALIDATION_MESSAGE_TYPES:()=>o,filterFormattedMessages:()=>I,formatMessages:()=>C,getUniqueString:()=>S,getValidationState:()=>O,validationMessageValidator:()=>il}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(n.p=e[1])}var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.avatarClasses,style:t.initialKindStyle,attrs:{id:t.id,"data-qa":"dt-avatar"}},[n("div",{ref:"canvas",staticClass:"d-avatar__canvas"},[t.showDefaultSlot?t._t("default"):t.showInitials?n("span",{class:t.AVATAR_KIND_MODIFIERS.initials},[t._v(" "+t._s(t.formattedInitials)+" ")]):t._e()],2),t.showGroup?n("span",{staticClass:"d-avatar__count",attrs:{"data-qa":"dt-avatar-count"}},[t._v(t._s(t.formattedGroup))]):t._e(),t.presence&&!t.showGroup?n("dt-presence",t._b({class:["d-avatar__presence",t.AVATAR_PRESENCE_SIZE_MODIFIERS[t.size]],attrs:{presence:t.presence,"data-qa":"dt-presence"}},"dt-presence",t.presenceProps,!1)):t._e()],1)},a=[];const o={ERROR:"error",WARNING:"warning",SUCCESS:"success"},r={LARGE:"lg",EXTRA_LARGE:"xl"},l={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},d={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},u={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"},c=o.ERROR,p="dt",h=require("vue");var f=n.n(h);const m=n(377);let g=0;const v="input:not([type=hidden]):not(:disabled)",b="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",y=`${v},${b}`,_=`a,frame,iframe,${y},*[tabindex]`,x="function"===typeof setImmediate?setImmediate:setTimeout;function S(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return`${t}${g++}`}function w(t,e){const n=m(e);return t[Math.floor(n()*t.length)]}function C(t){return t?t.map((t=>"string"===typeof t?{message:t,type:c}:t)):[]}function I(t){const e=O(t);return t&&e?t.filter((t=>!!t.message&&t.type===e)):[]}function O(t){return t?E(t,o.ERROR)?o.ERROR:E(t,o.WARNING)?o.WARNING:E(t,o.SUCCESS)?o.SUCCESS:null:null}function E(t,e){return!(!t||!e)&&t.some((t=>(null===t||void 0===t?void 0:t.type)===e))}function k(t){return null===t||void 0===t?void 0:t.querySelector(_)}const L={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new(f())({name:"Inner",beforeCreate(){this.$createElement=t},template:`<div>${e.props.html}</div>`}).$mount()._vnode.children}},D=()=>new Promise((t=>{x(t)})),T=t=>t.toLowerCase().split("-").map((t=>t.charAt(0).toUpperCase()+t.slice(1))).join(""),A={getUniqueString:S,getRandomElement:w,formatMessages:C,filterFormattedMessages:I,hasFormattedMessageOfType:E,getValidationState:O,htmlFragment:L,flushPromises:D,kebabCaseToPascalCase:T};var P=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-presence",attrs:{"data-qa":"dt-presence",role:"status","aria-live":t.$attrs.ariaLive||"off"}},[t.srText?n("span",{staticClass:"sr-only",attrs:{"data-qa":"dt-presence-sr-text"}},[t._v(t._s(t.srText)+" ")]):t._e(),n("div",{staticClass:"d-presence__inner",class:{"d-presence__inner--active":"active"===t.presence,"d-presence__inner--away":"away"===t.presence,"d-presence__inner--busy":"busy"===t.presence,"d-presence__inner--offline":"offline"===t.presence}})])},$=[];const M={BUSY:"busy",AWAY:"away",OFFLINE:"offline",ACTIVE:"active"},B=[M.BUSY,M.AWAY,M.OFFLINE,M.ACTIVE],R={name:"Presence",props:{presence:{type:String,default:M.ACTIVE,validator:t=>B.includes(t)},srText:{type:String,default:null}}},N=R;function j(t,e,n,i,s,a,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),a&&(d._scopeId="data-v-"+a),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__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):s&&(l=r?function(){s.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:s),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 V=j(N,P,$,!1,null,null,null);const H=V.exports;var F=n(377),q=n.n(F);const z={xs:"d-avatar--xs",sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg",xl:"d-avatar--xl"},K={default:"",icon:"d-avatar__icon",initials:"d-avatar__initials"},W={md:"d-avatar__presence--md",lg:"d-avatar__presence--lg"},G=[45,-45,90,-90,135,-135,180,-180],U={with100:["purple-100","magenta-100","gold-100","blue-100"],with200:["purple-200","magenta-200","gold-200","blue-200"]},Z=3,Y=2,X=t=>t>1,Q={name:"DtAvatar",components:{DtPresence:H},inheritAttrs:!1,props:{id:{type:String,default(){return S()}},seed:{type:String,default:void 0},size:{type:String,default:"md",validator:t=>Object.keys(z).includes(t)},avatarClass:{type:[String,Array,Object],default:""},presence:{type:String,default:null},presenceProps:{type:Object,default:()=>({})},initials:{type:String,default:""},gradient:{type:Boolean,default:!0},group:{type:Number,default:void 0,validator:t=>X(t)}},data(){return{kind:"image",AVATAR_SIZE_MODIFIERS:z,AVATAR_KIND_MODIFIERS:K,AVATAR_PRESENCE_SIZE_MODIFIERS:W,imageLoadedSuccessfully:null,slottedInitials:"",formattedInitials:""}},computed:{avatarClasses(){return["d-avatar",z[this.size],this.avatarClass,{"d-avatar--no-gradient":!this.gradient,"d-avatar--group":this.showGroup}]},showDefaultSlot(){return"initials"!==this.kind&&!1!==this.imageLoadedSuccessfully},showInitials(){return"initials"===this.kind||this.initials},showGroup(){return X(this.group)},initialKindStyle(){const t=this.randomizeGradientColorStops();return{"--avatar-gradient-angle":`${this.randomizeGradientAngle()}deg`,"--avatar-gradient-stop-1":`var(--${t[0]})`,"--avatar-gradient-stop-2":`var(--${t[1]})`,"--avatar-gradient-stop-3":`var(--${t[2]})`}},formattedGroup(){return this.group>99?"99+":this.group}},mounted(){this.init()},updated(){"initials"===this.kind&&(this.slottedInitials=this.$slots.default[0].text||this.$slots.default[0].textContent,this.formatInitials(this.slottedInitials))},methods:{init(){const t=this.$refs.canvas.firstChild;t&&(this.setKind(t),this.kindHandler(t))},kindHandler(t){switch(this.kind){case"image":t.classList.add("d-avatar__image"),this.validateImageAttrsPresence(),this.setImageListeners(t);break;case"icon":t.classList.add(K.icon);break;case"initials":this.slottedInitials=t.text||t.textContent,this.formatInitials(this.slottedInitials);break}},setImageListeners(t){t.addEventListener("error",(()=>{this.formatInitials(this.initials),this.imageLoadedSuccessfully=!1})),t.addEventListener("load",(()=>{t.classList.add("d-avatar--image-loaded"),this.imageLoadedSuccessfully=!0}))},formatInitials(t){t&&("xs"===this.size?this.formattedInitials="":"sm"===this.size?this.formattedInitials=t.trim()[0]:this.formattedInitials=t.trim().slice(0,2))},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())},randomizeGradientAngle(){return w(G,this.seed)},randomizeGradientColorStops(){const t=new Set;let e=0;while(t.size<Z){const n=void 0===this.seed?void 0:this.seed+e.toString();t.size===Y?t.add(w(U.with200,n)):t.add(w(U.with100,n)),e++}const n=q()(this.seed),i=Array.from(t).sort((()=>.5-n()));return i},validateImageAttrsPresence(){const t=!this.$refs.canvas.firstChild.getAttribute("src"),e=!this.$refs.canvas.firstChild.getAttribute("alt");(t||e)&&f().util.warn("src and alt attributes are required for image avatars",this)}}},J=Q;n(848);var tt=j(J,s,a,!1,null,null,null);const et=tt.exports;var nt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:["d-badge",t.BADGE_TYPE_MODIFIERS[t.type],t.BADGE_KIND_MODIFIERS[t.kind]],attrs:{"data-qa":"dt-badge"}},[t.iconLeft||"ai"===t.type?n("span",{staticClass:"d-badge__icon-left"},[n("dt-icon",{attrs:{name:t.iconLeft||"dialpad-ai",size:"200"}})],1):t._e(),n("span",{staticClass:"d-badge__label"},[t._t("default",(function(){return[t._v(" "+t._s(t.text)+" ")]}))],2),t.iconRight?n("span",{staticClass:"d-badge__icon-right"},[n("dt-icon",{attrs:{name:t.iconRight,size:"200"}})],1):t._e()])},it=[];const st={default:"",info:"d-badge--info",success:"d-badge--success",warning:"d-badge--warning",critical:"d-badge--critical",bulletin:"d-badge--bulletin",ai:"d-badge--ai"},at={label:"",count:"d-badge--count"};var ot=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","aria-hidden":t.ariaLabel?"false":"true","aria-label":t.ariaLabel}})},rt=[];const lt=require("@dialpad/dialtone-icons"),dt={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"},ut=lt,ct={name:"DtIcon",props:{size:{type:String,default:"500",validator:t=>Object.keys(dt).includes(t)},name:{type:String,required:!0},ariaLabel:{type:String,default:void 0}},computed:{iconSize(){return dt[this.size]},iconName(){return T(this.name)},currentIcon(){return ut[this.iconName]}}},pt=ct;var ht=j(pt,ot,rt,!1,null,null,null);const ft=ht.exports,mt={name:"DtBadge",components:{DtIcon:ft},props:{iconLeft:{type:String,default:""},iconRight:{type:String,default:""},text:{type:String,default:""},kind:{type:String,default:"label",validator:t=>Object.keys(at).includes(t)},type:{type:String,default:"default",validator:t=>Object.keys(st).includes(t)}},data(){return{BADGE_TYPE_MODIFIERS:st,BADGE_KIND_MODIFIERS:at}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{validateProps(){"ai"===this.type&&"count"===this.kind&&console.error("DtBadge error: type: 'ai' with kind: 'count' is an invalid combination.")}}},gt=mt;var vt=j(gt,nt,it,!1,null,null,null);const bt=vt.exports;var yt=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)])},_t=[],xt=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()},St=[];const wt=["base","error","info","success","warning"],Ct=["alert","alertdialog","status"],It=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),Ot={name:"DtNoticeIcon",components:{DtIcon:ft},props:{kind:{type:String,default:"base",validate(t){return wt.includes(t)}}},computed:{defaultIcon(){return It.get(this.kind)}}},Et=Ot;var kt=j(Et,xt,St,!1,null,null,null);const Lt=kt.exports;var Dt=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)])},Tt=[];const At={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},Pt=At;var $t=j(Pt,Dt,Tt,!1,null,null,null);const Mt=$t.exports;var Bt=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)},Rt=[],Nt=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()])},jt=[];const Vt={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},Ht={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Ft={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},qt=["submit","reset","button"],zt={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},Kt=[{circle:!0,kind:"default",importance:"primary",message:Wt(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Wt(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Wt(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Wt(!1,"muted","primary")}];function Wt(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 Gt="danger",Ut="warning",Zt="success",Yt="muted",Xt="inverted",Qt=["",Gt,Ut,Zt,Yt,Xt],Jt={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},te={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(zt).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(Ft).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys(Jt).includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>qt.includes(t)},width:{type:String,default:null},size:{type:String,default:"md",validator:t=>Object.keys(Vt).includes(t)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:t=>Object.keys(Ht).includes(t)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:zt,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",Jt[this.linkKind],Vt[this.size]]:["d-btn",Ft[this.importance],Ht[this.kind],Vt[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 Kt)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)}}},ee=te;var ne=j(ee,Nt,jt,!1,null,null,null);const ie=ne.exports,se={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 ae=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)},oe=[];const re={name:"SrOnlyCloseButton",components:{DtIcon:ft,DtButton:ie},props:{visuallyHiddenCloseLabel:{type:String,default:null}},methods:{close(){this.$emit("close")}}},le=re;var de=j(le,ae,oe,!1,null,null,null);const ue=de.exports,ce={name:"DtNoticeAction",components:{DtIcon:ft,DtButton:ie,SrOnlyCloseButton:ue},mixins:[se],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)}}}},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")}}},pe=ce;var he=j(pe,Bt,Rt,!1,null,null,null);const fe=he.exports,me=':not(:disabled):not([aria-disabled="true"])',ge=`${me}:not([tabindex="-1"])`,ve="button,[href],input,select,textarea,details,[tabindex]",be={methods:{async getFirstFocusableElement(t){await this.$nextTick();const e=this._getFocusableElements(t,!0);return this._getFirstFocusElement(e)},async focusFirstElement(t){const e=await this.getFirstFocusableElement(t);null===e||void 0===e||e.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(ve)];return n.filter((t=>{const n=window.getComputedStyle(t);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&t.matches(e?me:ge)}))},focusTrappedTabPress(t,e){const n="Tab"===t.key;if(!n)return;const i=this._getFocusableElements(e);if(!i.length)return void t.preventDefault();const s=this._getFirstFocusElement(i),a=i[i.length-1];t.shiftKey?document.activeElement===s&&(a.focus(),t.preventDefault()):document.activeElement===a&&(s.focus(),t.preventDefault())}}},ye={name:"DtBanner",components:{DtNoticeIcon:Lt,DtNoticeContent:Mt,DtNoticeAction:fe},mixins:[be,se],props:{titleId:{type:String,default(){return A.getUniqueString()}},contentId:{type:String,default(){return A.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return wt.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)}}},_e=ye;var xe=j(_e,yt,_t,!1,null,null,null);const Se=xe.exports;var we=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)])},Ce=[];const Ie="d-breadcrumbs__item--selected",Oe="d-breadcrumbs--inverted";var Ee=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)},ke=[],Le=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)},De=[];const Te={name:"DtLink",props:{kind:{type:String,default:"",validator(t){return Qt.includes(t)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:Jt}}},Ae=Te;var Pe=j(Ae,Le,De,!1,null,null,null);const $e=Pe.exports,Me={name:"DtBreadcrumbItem",components:{DtLink:$e},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:Ie}},computed:{linkKind(){return this.inverted?Xt:Yt},ariaCurrent(){return this.selected?"location":void 0}}},Be=Me;var Re=j(Be,Ee,ke,!1,null,null,null);const Ne=Re.exports,je={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:Ne},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:Oe}},methods:{getBreadcrumbItemKey(t){return`breadcrumbs-item-${t}-${A.getUniqueString()}`}}},Ve=je;var He=j(Ve,we,Ce,!1,null,null,null);const Fe=He.exports;var qe=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)},ze=[];const Ke={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},We={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:t=>Object.keys(Ke).includes(t)}},data(){return{BUTTON_GROUP_ALIGNMENT:Ke}}},Ge=We;var Ue=j(Ge,qe,ze,!1,null,null,null);const Ze=Ue.exports;var Ye=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()])},Xe=[];const Qe={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:""}}},Je=Qe;var tn=j(Je,Ye,Xe,!1,null,null,null);const en=tn.exports;var nn=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()])},sn=[];const an={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 s=e?"center":void 0;this.scrollIntoView(t,s,!0,n,i)},scrollIntoView(t,e,n,i,s){if(!t||!t.parentElement)return;const a=t.offsetTop,o=s||t.parentElement,r=this._getScrollBounds(o),l=r.bottom-r.top,d=this._getElementHeight(t),u=a+d;let c=-1;switch(e){case"top":c=a;break;case"center":c=a+(d-l)/2;break;case"bottom":c=c=u-l;break;default:c=a-r.top<=l/2?a:u-l;break}this._setScrollTop(o,c,r,a,u,n,i)},_setScrollTop(t,e,n,i,s,a,o){n=n||this._getScrollBounds(t);const r=n.bottom-n.top;if(a&&this._inScrollBounds(i,s,n))if(i<n.top)e=i;else{if(!(s>n.bottom))return;e=s-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}}},on="listElementKey is required or the referenced element doesn't exist. Received listElement: ",rn=function(){let{listItemRole:t="option",indexKey:e="highlightIndex",idKey:n="highlightId",listElementKey:i="listRef",activeItemKey:s="",openMethod:a=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:[an],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(on,e),null)},onUpKey(){a&&this[a](!0),this[e]>0?this.setHighlightIndex(this[e]-1):r&&this[r](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){a&&this[a](!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 s=i.findIndex((t=>this[e]===n.indexOf(t))),a=n.indexOf(s<i.length-1?i[s+1]:i[0]);this.setHighlightIndex(a),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[s];if(t){const e=this._getListElement();this.scrollElementIntoViewIfNeeded(t,null,null,e)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const t=this[s];t&&t.focus()}}}};var ln=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)},dn=[],un=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}})),t.selected?{key:"selected",fn:function(){return[n("dt-icon",{staticClass:"d-ml8",attrs:{name:"check",size:"400"}})]},proxy:!0}:null],null,!0)}):t._t("default")],2)},cn=[];const pn={DEFAULT:"default",CUSTOM:"custom"},hn={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};var fn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-default-list-item d-fs-200 d-lh-300 d-py4 d-px8 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(),t._t("selected")],2)},mn=[];const gn={name:"DefaultListItem"},vn=gn;n(357);var bn=j(vn,fn,mn,!1,null,null,null);const yn=bn.exports,_n={name:"ListItem",components:{DtDefaultListItem:yn,DtIcon:ft},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return A.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:pn.DEFAULT,validator:t=>Object.values(pn).includes(t)},navigationType:{type:String,default:hn.NONE,validator:t=>Object.values(hn).includes(t)},selected:{type:Boolean,default:!1}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case pn.DEFAULT:return yn;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===hn.TAB},isHoverable(){return this.navigationType!==hn.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}},xn=_n;n(759);var Sn=j(xn,un,cn,!1,null,null,null);const wn=Sn.exports;var Cn=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)},In=[],On=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"}})},En=[];const kn=3e6,Ln={circle:"d-bar-circle",square:"d-bar2"},Dn=["body","heading"],Tn={sm:"24px",md:"32px",lg:"48px"},An={sm:"d-h16",md:"d-h24",lg:"d-h32"},Pn={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*kn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return t.animationDelay=`${e}ms`,t.animationDuration=`${n}ms`,t}}},$n={name:"DtSkeletonShape",mixins:[Pn],props:{shape:{type:String,default:"circle",validator:t=>Object.keys(Ln).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:Ln}},computed:{shapeStyles(){const t=Tn[this.size]||this.size;return{...this.skeletonStyle,"min-width":t,"max-width":t,"min-height":t,"max-height":t}}}},Mn=$n;var Bn=j(Mn,On,En,!1,null,null,null);const Rn=Bn.exports;var Nn=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)},jn=[],Vn=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)},Hn=[],Fn=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()},qn=[];const zn={name:"DtSkeletonText",mixins:[Pn],props:{type:{type:String,default:"body",validator:t=>Dn.includes(t)},headingHeight:{type:String,default:"md",validator:t=>Object.keys(An).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:An}}},Kn=zn;var Wn=j(Kn,Fn,qn,!1,null,null,null);const Gn=Wn.exports,Un=t=>""!==t&&!Number.isNaN(Number(t)),Zn={name:"DtSkeletonParagraph",components:{DtSkeletonText:Gn},props:{rows:{type:[Number,String],default:3,validator:Un},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Un},maxWidth:{type:[Number,String],default:100,validator:Un},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],s=t===this.rows;return this.randomWidth?this.randomWidthPercentage():e&&!n?e:e&&n&&i?i:s?"38%":"100%"}}},Yn=Zn;var Xn=j(Yn,Vn,Hn,!1,null,null,null);const Qn=Xn.exports,Jn={name:"DtSkeletonListItem",components:{DtSkeletonShape:Rn,DtSkeletonParagraph:Qn},props:{shape:{type:String,default:"circle",validator:t=>Object.keys(Ln).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:""}}},ti=Jn;var ei=j(ti,Nn,jn,!1,null,null,null);const ni=ei.exports,ii={name:"DtSkeleton",components:{DtSkeletonText:Gn,DtSkeletonShape:Rn,DtSkeletonListItem:ni,DtSkeletonParagraph:Qn},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)}}}},si=ii;n(859);var ai=j(si,Cn,In,!1,null,null,null);const oi=ai.exports,ri={name:"ComboboxLoadingList",components:{DtListItem:wn,DtSkeleton:oi}},li=ri;var di=j(li,ln,dn,!1,null,null,null);const ui=di.exports;var ci=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)},pi=[];const hi={name:"ComboboxEmptyList",components:{DtListItem:wn},props:{message:{type:String,required:!0},itemClass:{type:[String,Object,Array],default:""}}},fi=hi;n(750);var mi=j(fi,ci,pi,!1,null,null,null);const gi=mi.exports,vi={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},bi={name:"DtCombobox",components:{ComboboxLoadingList:ui,ComboboxEmptyList:gi},mixins:[rn({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl"})],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(vi).includes(t)},description:{type:String,default:""},listId:{type:String,default(){return S()}},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:""},clickOnSelect:{type:Boolean,default:!1}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null}},computed:{inputProps(){return{label:this.label,labelVisible:this.labelVisible,size:this.size,description:this.description,role:"combobox","aria-label":this.label,"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.label}},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(){var t;this.loading||this.emptyList||this.highlightIndex>=0&&(this.$emit("select",this.highlightIndex),this.clickOnSelect&&(null===(t=this.activeItemEl)||void 0===t||t.click()))},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.")}}},yi=bi;var _i=j(yi,nn,sn,!1,null,null,null);const xi=_i.exports;var Si=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}},[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},on:{click:t.defaultToggleOpen}},[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)},wi=[],Ci=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",css:t.isCSSEnabled},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)},Ii=[];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}},computed:{isCSSEnabled(){return!0}},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}}},Ei=Oi;n(124);var ki=j(Ei,Ci,Ii,!1,null,null,null);const Li=ki.exports;var Di=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",t._g({attrs:{name:t.transition,appear:t.appear,css:t.isCSSEnabled}},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)])},Ti=[];const Ai={name:"DtLazyShow",props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},computed:{isCSSEnabled(){return!0}},watch:{show:function(t){t&&!this.initialized&&(this.initialized=!0)}}},Pi=Ai;var $i=j(Pi,Di,Ti,!1,null,null,null);const Mi=$i.exports,Bi={name:"DtCollapsible",components:{DtButton:ie,DtCollapsibleLazyShow:Li,DtLazyShow:Mi,DtIcon:ft},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return S()}},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&&S("DtCollapsible__anchor")}},watch:{open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0}},mounted(){this.validateProperAnchor()},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},validateProperAnchor(){this.anchorText||this.$scopedSlots.anchor||console.error("anchor text and anchor slot content cannot both be falsy")}}},Ri=Bi;var Ni=j(Ri,Si,wi,!1,null,null,null);const ji=Ni.exports;var Vi=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":t.shouldOpenWithArrowKeys,"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))},Hi=[],Fi=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))}],"!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)},qi=[];function zi(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),i=1,s=1;return{width:n.width/i,height:n.height/s,top:n.top/s,right:n.right/i,bottom:n.bottom/s,left:n.left/i,x:n.left/i,y:n.top/s}}function Ki(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Wi(t){var e=Ki(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Gi(t){var e=Ki(t).Element;return t instanceof e||t instanceof Element}function Ui(t){var e=Ki(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Zi(t){if("undefined"===typeof ShadowRoot)return!1;var e=Ki(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Yi(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Xi(t){return t!==Ki(t)&&Ui(t)?Yi(t):Wi(t)}function Qi(t){return t?(t.nodeName||"").toLowerCase():null}function Ji(t){return((Gi(t)?t.ownerDocument:t.document)||window.document).documentElement}function ts(t){return zi(Ji(t)).left+Wi(t).scrollLeft}function es(t){return Ki(t).getComputedStyle(t)}function ns(t){var e=es(t),n=e.overflow,i=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function is(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return 1!==n||1!==i}function ss(t,e,n){void 0===n&&(n=!1);var i=Ui(e),s=Ui(e)&&is(e),a=Ji(e),o=zi(t,s),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Qi(e)||ns(a))&&(r=Xi(e)),Ui(e)?(l=zi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):a&&(l.x=ts(a))),{x:o.left+r.scrollLeft-l.x,y:o.top+r.scrollTop-l.y,width:o.width,height:o.height}}function as(t){var e=zi(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 os(t){return"html"===Qi(t)?t:t.assignedSlot||t.parentNode||(Zi(t)?t.host:null)||Ji(t)}function rs(t){return["html","body","#document"].indexOf(Qi(t))>=0?t.ownerDocument.body:Ui(t)&&ns(t)?t:rs(os(t))}function ls(t,e){var n;void 0===e&&(e=[]);var i=rs(t),s=i===(null==(n=t.ownerDocument)?void 0:n.body),a=Ki(i),o=s?[a].concat(a.visualViewport||[],ns(i)?i:[]):i,r=e.concat(o);return s?r:r.concat(ls(os(o)))}function ds(t){return["table","td","th"].indexOf(Qi(t))>=0}function us(t){return Ui(t)&&"fixed"!==es(t).position?t.offsetParent:null}function cs(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&Ui(t)){var i=es(t);if("fixed"===i.position)return null}var s=os(t);while(Ui(s)&&["html","body"].indexOf(Qi(s))<0){var a=es(s);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||e&&"filter"===a.willChange||e&&a.filter&&"none"!==a.filter)return s;s=s.parentNode}return null}function ps(t){var e=Ki(t),n=us(t);while(n&&ds(n)&&"static"===es(n).position)n=us(n);return n&&("html"===Qi(n)||"body"===Qi(n)&&"static"===es(n).position)?e:n||cs(t)||e}var hs="top",fs="bottom",ms="right",gs="left",vs="auto",bs=[hs,fs,ms,gs],ys="start",_s="end",xs="clippingParents",Ss="viewport",ws="popper",Cs="reference",Is=bs.reduce((function(t,e){return t.concat([e+"-"+ys,e+"-"+_s])}),[]),Os=[].concat(bs,[vs]).reduce((function(t,e){return t.concat([e,e+"-"+ys,e+"-"+_s])}),[]),Es="beforeRead",ks="read",Ls="afterRead",Ds="beforeMain",Ts="main",As="afterMain",Ps="beforeWrite",$s="write",Ms="afterWrite",Bs=[Es,ks,Ls,Ds,Ts,As,Ps,$s,Ms];function Rs(t){var e=new Map,n=new Set,i=[];function s(t){n.add(t.name);var a=[].concat(t.requires||[],t.requiresIfExists||[]);a.forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&s(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||s(t)})),i}function Ns(t){var e=Rs(t);return Bs.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function js(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function Vs(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 Hs={placement:"bottom",modifiers:[],strategy:"absolute"};function Fs(){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 qs(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,s=e.defaultOptions,a=void 0===s?Hs:s;return function(t,e,n){void 0===n&&(n=a);var s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Hs,a),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},o=[],r=!1,l={state:s,setOptions:function(n){var o="function"===typeof n?n(s.options):n;u(),s.options=Object.assign({},a,s.options,o),s.scrollParents={reference:Gi(t)?ls(t):t.contextElement?ls(t.contextElement):[],popper:ls(e)};var r=Ns(Vs([].concat(i,s.options.modifiers)));return s.orderedModifiers=r.filter((function(t){return t.enabled})),d(),l.update()},forceUpdate:function(){if(!r){var t=s.elements,e=t.reference,n=t.popper;if(Fs(e,n)){s.rects={reference:ss(e,ps(n),"fixed"===s.options.strategy),popper:as(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<s.orderedModifiers.length;i++)if(!0!==s.reset){var a=s.orderedModifiers[i],o=a.fn,d=a.options,u=void 0===d?{}:d,c=a.name;"function"===typeof o&&(s=o({state:s,options:u,name:c,instance:l})||s)}else s.reset=!1,i=-1}}},update:js((function(){return new Promise((function(t){l.forceUpdate(),t(s)}))})),destroy:function(){u(),r=!0}};if(!Fs(t,e))return l;function d(){s.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,a=t.effect;if("function"===typeof a){var r=a({state:s,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 zs={passive:!0};function Ks(t){var e=t.state,n=t.instance,i=t.options,s=i.scroll,a=void 0===s||s,o=i.resize,r=void 0===o||o,l=Ki(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&d.forEach((function(t){t.addEventListener("scroll",n.update,zs)})),r&&l.addEventListener("resize",n.update,zs),function(){a&&d.forEach((function(t){t.removeEventListener("scroll",n.update,zs)})),r&&l.removeEventListener("resize",n.update,zs)}}const Ws={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ks,data:{}};function Gs(t){return t.split("-")[0]}function Us(t){return t.split("-")[1]}function Zs(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ys(t){var e,n=t.reference,i=t.element,s=t.placement,a=s?Gs(s):null,o=s?Us(s):null,r=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(a){case hs:e={x:r,y:n.y-i.height};break;case fs:e={x:r,y:n.y+n.height};break;case ms:e={x:n.x+n.width,y:l};break;case gs:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var d=a?Zs(a):null;if(null!=d){var u="y"===d?"height":"width";switch(o){case ys:e[d]=e[d]-(n[u]/2-i[u]/2);break;case _s:e[d]=e[d]+(n[u]/2-i[u]/2);break;default:}}return e}function Xs(t){var e=t.state,n=t.name;e.modifiersData[n]=Ys({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Qs={name:"popperOffsets",enabled:!0,phase:"read",fn:Xs,data:{}};var Js=Math.max,ta=Math.min,ea=Math.round,na={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ia(t){var e=t.x,n=t.y,i=window,s=i.devicePixelRatio||1;return{x:ea(ea(e*s)/s)||0,y:ea(ea(n*s)/s)||0}}function sa(t){var e,n=t.popper,i=t.popperRect,s=t.placement,a=t.variation,o=t.offsets,r=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,c=!0===u?ia(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=gs,y=hs,_=window;if(d){var x=ps(n),S="clientHeight",w="clientWidth";x===Ki(n)&&(x=Ji(n),"static"!==es(x).position&&"absolute"===r&&(S="scrollHeight",w="scrollWidth")),x=x,s!==hs&&(s!==gs&&s!==ms||a!==_s)||(y=fs,m-=x[S]-i.height,m*=l?1:-1),s!==gs&&(s!==hs&&s!==fs||a!==_s)||(b=ms,h-=x[w]-i.width,h*=l?1:-1)}var C,I=Object.assign({position:r},d&&na);return l?Object.assign({},I,(C={},C[y]=v?"0":"",C[b]=g?"0":"",C.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",C)):Object.assign({},I,(e={},e[y]=v?m+"px":"",e[b]=g?h+"px":"",e.transform="",e))}function aa(t){var e=t.state,n=t.options,i=n.gpuAcceleration,s=void 0===i||i,a=n.adaptive,o=void 0===a||a,r=n.roundOffsets,l=void 0===r||r,d={placement:Gs(e.placement),variation:Us(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,sa(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,sa(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 oa={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:aa,data:{}};function ra(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},s=e.elements[t];Ui(s)&&Qi(s)&&(Object.assign(s.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))}function la(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],s=e.attributes[t]||{},a=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]),o=a.reduce((function(t,e){return t[e]="",t}),{});Ui(i)&&Qi(i)&&(Object.assign(i.style,o),Object.keys(s).forEach((function(t){i.removeAttribute(t)})))}))}}const da={name:"applyStyles",enabled:!0,phase:"write",fn:ra,effect:la,requires:["computeStyles"]};function ua(t,e,n){var i=Gs(t),s=[gs,hs].indexOf(i)>=0?-1:1,a="function"===typeof n?n(Object.assign({},e,{placement:t})):n,o=a[0],r=a[1];return o=o||0,r=(r||0)*s,[gs,ms].indexOf(i)>=0?{x:r,y:o}:{x:o,y:r}}function ca(t){var e=t.state,n=t.options,i=t.name,s=n.offset,a=void 0===s?[0,0]:s,o=Os.reduce((function(t,n){return t[n]=ua(n,e.rects,a),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 pa={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ca};var ha={left:"right",right:"left",bottom:"top",top:"bottom"};function fa(t){return t.replace(/left|right|bottom|top/g,(function(t){return ha[t]}))}var ma={start:"end",end:"start"};function ga(t){return t.replace(/start|end/g,(function(t){return ma[t]}))}function va(t){var e=Ki(t),n=Ji(t),i=e.visualViewport,s=n.clientWidth,a=n.clientHeight,o=0,r=0;return i&&(s=i.width,a=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,r=i.offsetTop)),{width:s,height:a,x:o+ts(t),y:r}}function ba(t){var e,n=Ji(t),i=Wi(t),s=null==(e=t.ownerDocument)?void 0:e.body,a=Js(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=Js(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),r=-i.scrollLeft+ts(t),l=-i.scrollTop;return"rtl"===es(s||n).direction&&(r+=Js(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:o,x:r,y:l}}function ya(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Zi(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function _a(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xa(t){var e=zi(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 Sa(t,e){return e===Ss?_a(va(t)):Ui(e)?xa(e):_a(ba(Ji(t)))}function wa(t){var e=ls(os(t)),n=["absolute","fixed"].indexOf(es(t).position)>=0,i=n&&Ui(t)?ps(t):t;return Gi(i)?e.filter((function(t){return Gi(t)&&ya(t,i)&&"body"!==Qi(t)})):[]}function Ca(t,e,n){var i="clippingParents"===e?wa(t):[].concat(e),s=[].concat(i,[n]),a=s[0],o=s.reduce((function(e,n){var i=Sa(t,n);return e.top=Js(i.top,e.top),e.right=ta(i.right,e.right),e.bottom=ta(i.bottom,e.bottom),e.left=Js(i.left,e.left),e}),Sa(t,a));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Ia(){return{top:0,right:0,bottom:0,left:0}}function Oa(t){return Object.assign({},Ia(),t)}function Ea(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function ka(t,e){void 0===e&&(e={});var n=e,i=n.placement,s=void 0===i?t.placement:i,a=n.boundary,o=void 0===a?xs:a,r=n.rootBoundary,l=void 0===r?Ss:r,d=n.elementContext,u=void 0===d?ws:d,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,f=void 0===h?0:h,m=Oa("number"!==typeof f?f:Ea(f,bs)),g=u===ws?Cs:ws,v=t.rects.popper,b=t.elements[p?g:u],y=Ca(Gi(b)?b:b.contextElement||Ji(t.elements.popper),o,l),_=zi(t.elements.reference),x=Ys({reference:_,element:v,strategy:"absolute",placement:s}),S=_a(Object.assign({},v,x)),w=u===ws?S:_,C={top:y.top-w.top+m.top,bottom:w.bottom-y.bottom+m.bottom,left:y.left-w.left+m.left,right:w.right-y.right+m.right},I=t.modifiersData.offset;if(u===ws&&I){var O=I[s];Object.keys(C).forEach((function(t){var e=[ms,fs].indexOf(t)>=0?1:-1,n=[hs,fs].indexOf(t)>=0?"y":"x";C[t]+=O[n]*e}))}return C}function La(t,e){void 0===e&&(e={});var n=e,i=n.placement,s=n.boundary,a=n.rootBoundary,o=n.padding,r=n.flipVariations,l=n.allowedAutoPlacements,d=void 0===l?Os:l,u=Us(i),c=u?r?Is:Is.filter((function(t){return Us(t)===u})):bs,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]=ka(t,{placement:n,boundary:s,rootBoundary:a,padding:o})[Gs(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}function Da(t){if(Gs(t)===vs)return[];var e=fa(t);return[ga(t),e,ga(e)]}function Ta(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var s=n.mainAxis,a=void 0===s||s,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=Gs(g),b=v===g,y=l||(b||!f?[fa(g)]:Da(g)),_=[g].concat(y).reduce((function(t,n){return t.concat(Gs(n)===vs?La(e,{placement:n,boundary:u,rootBoundary:c,padding:d,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),x=e.rects.reference,S=e.rects.popper,w=new Map,C=!0,I=_[0],O=0;O<_.length;O++){var E=_[O],k=Gs(E),L=Us(E)===ys,D=[hs,fs].indexOf(k)>=0,T=D?"width":"height",A=ka(e,{placement:E,boundary:u,rootBoundary:c,altBoundary:p,padding:d}),P=D?L?ms:gs:L?fs:hs;x[T]>S[T]&&(P=fa(P));var $=fa(P),M=[];if(a&&M.push(A[k]<=0),r&&M.push(A[P]<=0,A[$]<=0),M.every((function(t){return t}))){I=E,C=!1;break}w.set(E,M)}if(C)for(var B=f?3:1,R=function(t){var e=_.find((function(e){var n=w.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return I=e,"break"},N=B;N>0;N--){var j=R(N);if("break"===j)break}e.placement!==I&&(e.modifiersData[i]._skip=!0,e.placement=I,e.reset=!0)}}const Aa={name:"flip",enabled:!0,phase:"main",fn:Ta,requiresIfExists:["offset"],data:{_skip:!1}};function Pa(t){return"x"===t?"y":"x"}function $a(t,e,n){return Js(t,ta(e,n))}function Ma(t){var e=t.state,n=t.options,i=t.name,s=n.mainAxis,a=void 0===s||s,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=ka(e,{boundary:l,rootBoundary:d,padding:c,altBoundary:u}),v=Gs(e.placement),b=Us(e.placement),y=!b,_=Zs(v),x=Pa(_),S=e.modifiersData.popperOffsets,w=e.rects.reference,C=e.rects.popper,I="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,O={x:0,y:0};if(S){if(a||r){var E="y"===_?hs:gs,k="y"===_?fs:ms,L="y"===_?"height":"width",D=S[_],T=S[_]+g[E],A=S[_]-g[k],P=h?-C[L]/2:0,$=b===ys?w[L]:C[L],M=b===ys?-C[L]:-w[L],B=e.elements.arrow,R=h&&B?as(B):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Ia(),j=N[E],V=N[k],H=$a(0,w[L],R[L]),F=y?w[L]/2-P-H-j-I:$-H-j-I,q=y?-w[L]/2+P+H+V+I:M+H+V+I,z=e.elements.arrow&&ps(e.elements.arrow),K=z?"y"===_?z.clientTop||0:z.clientLeft||0:0,W=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,G=S[_]+F-W-K,U=S[_]+q-W;if(a){var Z=$a(h?ta(T,G):T,D,h?Js(A,U):A);S[_]=Z,O[_]=Z-D}if(r){var Y="x"===_?hs:gs,X="x"===_?fs:ms,Q=S[x],J=Q+g[Y],tt=Q-g[X],et=$a(h?ta(J,G):J,Q,h?Js(tt,U):tt);S[x]=et,O[x]=et-Q}}e.modifiersData[i]=O}}const Ba={name:"preventOverflow",enabled:!0,phase:"main",fn:Ma,requiresIfExists:["offset"]};var Ra=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,Oa("number"!==typeof t?t:Ea(t,bs))};function Na(t){var e,n=t.state,i=t.name,s=t.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,r=Gs(n.placement),l=Zs(r),d=[gs,ms].indexOf(r)>=0,u=d?"height":"width";if(a&&o){var c=Ra(s.padding,n),p=as(a),h="y"===l?hs:gs,f="y"===l?fs:ms,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],v=ps(a),b=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=m/2-g/2,_=c[h],x=b-p[u]-c[f],S=b/2-p[u]/2+y,w=$a(_,S,x),C=l;n.modifiersData[i]=(e={},e[C]=w,e.centerOffset=w-S,e)}}function ja(t){var e=t.state,n=t.options,i=n.element,s=void 0===i?"[data-popper-arrow]":i;null!=s&&("string"!==typeof s||(s=e.elements.popper.querySelector(s),s))&&ya(e.elements.popper,s)&&(e.elements.arrow=s)}const Va={name:"arrow",enabled:!0,phase:"main",fn:Na,effect:ja,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ha(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 Fa(t){return[hs,ms,fs,gs].some((function(e){return t[e]>=0}))}function qa(t){var e=t.state,n=t.name,i=e.rects.reference,s=e.rects.popper,a=e.modifiersData.preventOverflow,o=ka(e,{elementContext:"reference"}),r=ka(e,{altBoundary:!0}),l=Ha(o,i),d=Ha(r,s,a),u=Fa(l),c=Fa(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 za={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:qa};var Ka=[Ws,Qs,oa,da,pa,Aa,Ba,Va,za],Wa=qs({defaultModifiers:Ka}),Ga="tippy-box",Ua="tippy-content",Za="tippy-backdrop",Ya="tippy-arrow",Xa="tippy-svg-arrow",Qa={passive:!0,capture:!0},Ja=function(){return document.body};function to(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function eo(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function no(t,e){return"function"===typeof t?t.apply(void 0,e):t}function io(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function so(t){return t.split(/\s+/).filter(Boolean)}function ao(t){return[].concat(t)}function oo(t,e){-1===t.indexOf(e)&&t.push(e)}function ro(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function lo(t){return t.split("-")[0]}function uo(t){return[].slice.call(t)}function co(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function po(){return document.createElement("div")}function ho(t){return["Element","Fragment"].some((function(e){return eo(t,e)}))}function fo(t){return eo(t,"NodeList")}function mo(t){return eo(t,"MouseEvent")}function go(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function vo(t){return ho(t)?[t]:fo(t)?uo(t):Array.isArray(t)?t:uo(document.querySelectorAll(t))}function bo(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function yo(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function _o(t){var e,n=ao(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function xo(t,e){var n=e.clientX,i=e.clientY;return t.every((function(t){var e=t.popperRect,s=t.popperState,a=t.props,o=a.interactiveBorder,r=lo(s.placement),l=s.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 So(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function wo(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 Co={isTouch:!1},Io=0;function Oo(){Co.isTouch||(Co.isTouch=!0,window.performance&&document.addEventListener("mousemove",Eo))}function Eo(){var t=performance.now();t-Io<20&&(Co.isTouch=!1,document.removeEventListener("mousemove",Eo)),Io=t}function ko(){var t=document.activeElement;if(go(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function Lo(){document.addEventListener("touchstart",Oo,Qa),window.addEventListener("blur",ko)}var Do="undefined"!==typeof window&&"undefined"!==typeof document,To=!!Do&&!!window.msCrypto;var Ao={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Po={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},$o=Object.assign({appendTo:Ja,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},Ao,Po),Mo=Object.keys($o),Bo=function(t){var e=Object.keys(t);e.forEach((function(e){$o[e]=t[e]}))};function Ro(t){var e=t.plugins||[],n=e.reduce((function(e,n){var i,s=n.name,a=n.defaultValue;s&&(e[s]=void 0!==t[s]?t[s]:null!=(i=$o[s])?i:a);return e}),{});return Object.assign({},t,n)}function No(t,e){var n=e?Object.keys(Ro(Object.assign({},$o,{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(s){e[n]=i}return e}),{});return i}function jo(t,e){var n=Object.assign({},e,{content:no(e.content,[t])},e.ignoreAttributes?{}:No(t,e.plugins));return n.aria=Object.assign({},$o.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 Vo=function(){return"innerHTML"};function Ho(t,e){t[Vo()]=e}function Fo(t){var e=po();return!0===t?e.className=Ya:(e.className=Xa,ho(t)?e.appendChild(t):Ho(e,t)),e}function qo(t,e){ho(e.content)?(Ho(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?Ho(t,e.content):t.textContent=e.content)}function zo(t){var e=t.firstElementChild,n=uo(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(Ua)})),arrow:n.find((function(t){return t.classList.contains(Ya)||t.classList.contains(Xa)})),backdrop:n.find((function(t){return t.classList.contains(Za)}))}}function Ko(t){var e=po(),n=po();n.className=Ga,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=po();function s(n,i){var s=zo(e),a=s.box,o=s.content,r=s.arrow;i.theme?a.setAttribute("data-theme",i.theme):a.removeAttribute("data-theme"),"string"===typeof i.animation?a.setAttribute("data-animation",i.animation):a.removeAttribute("data-animation"),i.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth="number"===typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?a.setAttribute("role",i.role):a.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||qo(o,t.props),i.arrow?r?n.arrow!==i.arrow&&(a.removeChild(r),a.appendChild(Fo(i.arrow))):a.appendChild(Fo(i.arrow)):r&&a.removeChild(r)}return i.className=Ua,i.setAttribute("data-state","hidden"),qo(i,t.props),e.appendChild(n),n.appendChild(i),s(t.props,t.props),{popper:e,onUpdate:s}}Ko.$$tippy=!0;var Wo=1,Go=[],Uo=[];function Zo(t,e){var n,i,s,a,o,r,l,d=jo(t,Object.assign({},$o,Ro(co(e)))),u=!1,c=!1,p=!1,h=!1,f=[],m=io(Y,d.interactiveDebounce),g=Wo++,v=null,b=ro(d.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:g,reference:t,popper:po(),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 x=d.render(_),S=x.popper,w=x.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+_.id,_.popper=S,t._tippy=_,S._tippy=_;var C=b.map((function(t){return t.fn(_)})),I=t.hasAttribute("aria-expanded");return G(),B(),P(),$("onCreate",[_]),d.showOnCreate&&st(),S.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),S.addEventListener("mouseleave",(function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&D().addEventListener("mousemove",m)})),_;function O(){var t=_.props.touch;return Array.isArray(t)?t:[t,0]}function E(){return"hold"===O()[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?_o(t):document}function T(){return zo(S)}function A(t){return _.state.isMounted&&!_.state.isVisible||Co.isTouch||a&&"focus"===a.type?0:to(_.props.delay,t?0:1,$o.delay)}function P(t){void 0===t&&(t=!1),S.style.pointerEvents=_.props.interactive&&!t?"":"none",S.style.zIndex=""+_.props.zIndex}function $(t,e,n){var i;(void 0===n&&(n=!0),C.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=S.id,s=ao(_.props.triggerTarget||t);s.forEach((function(t){var e=t.getAttribute(n);if(_.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var s=e&&e.replace(i,"").trim();s?t.setAttribute(n,s):t.removeAttribute(n)}}))}}function B(){if(!I&&_.props.aria.expanded){var e=ao(_.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),Go=Go.filter((function(t){return t!==m}))}function N(e){if(!Co.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!_.props.interactive||!wo(S,n)){if(ao(_.props.triggerTarget||t).some((function(t){return wo(t,n)}))){if(Co.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||F())}}}function j(){p=!0}function V(){p=!1}function H(){var t=D();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,Qa),t.addEventListener("touchstart",V,Qa),t.addEventListener("touchmove",j,Qa)}function F(){var t=D();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,Qa),t.removeEventListener("touchstart",V,Qa),t.removeEventListener("touchmove",j,Qa)}function q(t,e){K(t,(function(){!_.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&e()}))}function z(t,e){K(t,e)}function K(t,e){var n=T().box;function i(t){t.target===n&&(So(n,"remove",i),e())}if(0===t)return e();So(n,"remove",o),So(n,"add",i),o=i}function W(e,n,i){void 0===i&&(i=!1);var s=ao(_.props.triggerTarget||t);s.forEach((function(t){t.addEventListener(e,n,i),f.push({node:t,eventType:e,handler:n,options:i})}))}function G(){E()&&(W("touchstart",Z,{passive:!0}),W("touchend",X,{passive:!0})),so(_.props.trigger).forEach((function(t){if("manual"!==t)switch(W(t,Z),t){case"mouseenter":W("mouseleave",X);break;case"focus":W(To?"focusout":"blur",Q);break;case"focusin":W("focusout",Q);break}}))}function U(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,s=t.options;e.removeEventListener(n,i,s)})),f=[]}function Z(t){var e,n=!1;if(_.state.isEnabled&&!J(t)&&!c){var i="focus"===(null==(e=a)?void 0:e.type);a=t,l=t.currentTarget,B(),!_.state.isVisible&&mo(t)&&Go.forEach((function(e){return e(t)})),"click"===t.type&&(_.props.trigger.indexOf("mouseenter")<0||u)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:st(t),"click"===t.type&&(u=!n),n&&!i&&at(t)}}function Y(t){var e=t.target,n=L().contains(e)||S.contains(e);if("mousemove"!==t.type||!n){var i=it().concat(S).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);xo(i,t)&&(R(),at(t))}}function X(t){var e=J(t)||_.props.trigger.indexOf("click")>=0&&u;e||(_.props.interactive?_.hideWithInteractivity(t):at(t))}function Q(t){_.props.trigger.indexOf("focusin")<0&&t.target!==L()||_.props.interactive&&t.relatedTarget&&S.contains(t.relatedTarget)||at(t)}function J(t){return!!Co.isTouch&&E()!==t.type.indexOf("touch")>=0}function tt(){et();var e=_.props,n=e.popperOptions,i=e.placement,s=e.offset,a=e.getReferenceClientRect,o=e.moveTransition,l=k()?zo(S).arrow:null,d=a?{getBoundingClientRect:a,contextElement:a.contextElement||L()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(k()){var n=T(),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:s}},{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=Wa(d,S,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===Ja||"parent"===e?n.parentNode:no(e,[n]),t.contains(S)||t.appendChild(S),_.state.isMounted=!0,tt()}function it(){return uo(S.querySelectorAll("[data-tippy-root]"))}function st(t){_.clearDelayTimeouts(),t&&$("onTrigger",[_,t]),H();var e=A(!0),i=O(),s=i[0],a=i[1];Co.isTouch&&"hold"===s&&a&&(e=a),e?n=setTimeout((function(){_.show()}),e):_.show()}function at(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=A(!1);e?i=setTimeout((function(){_.state.isVisible&&_.hide()}),e):s=requestAnimationFrame((function(){_.hide()}))}}else F()}function ot(){_.state.isEnabled=!0}function rt(){_.hide(),_.state.isEnabled=!1}function lt(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(s)}function dt(e){if(!_.state.isDestroyed){$("onBeforeUpdate",[_,e]),U();var n=_.props,i=jo(t,Object.assign({},n,co(e),{ignoreAttributes:!0}));_.props=i,G(),n.interactiveDebounce!==i.interactiveDebounce&&(R(),m=io(Y,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?ao(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),B(),P(),w&&w(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=Co.isTouch&&!_.props.touch,s=to(_.props.duration,0,$o.duration);if(!(t||e||n||i)&&!L().hasAttribute("disabled")&&($("onShow",[_],!1),!1!==_.props.onShow(_))){if(_.state.isVisible=!0,k()&&(S.style.visibility="visible"),P(),H(),_.state.isMounted||(S.style.transition="none"),k()){var a=T(),o=a.box,l=a.content;bo([o,l],0)}r=function(){var t;if(_.state.isVisible&&!h){if(h=!0,S.offsetHeight,S.style.transition=_.props.moveTransition,k()&&_.props.animation){var e=T(),n=e.box,i=e.content;bo([n,i],s),yo([n,i],"visible")}M(),B(),oo(Uo,_),null==(t=_.popperInstance)||t.forceUpdate(),$("onMount",[_]),_.props.animation&&k()&&z(s,(function(){_.state.isShown=!0,$("onShown",[_])}))}},nt()}}function pt(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=to(_.props.duration,1,$o.duration);if(!(t||e||n)&&($("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,h=!1,u=!1,k()&&(S.style.visibility="hidden"),R(),F(),P(!0),k()){var s=T(),a=s.box,o=s.content;_.props.animation&&(bo([a,o],i),yo([a,o],"hidden"))}M(),B(),_.props.animation?k()&&q(i,_.unmount):_.unmount()}}function ht(t){D().addEventListener("mousemove",m),oo(Go,m),m(t)}function ft(){_.state.isVisible&&_.hide(),_.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),S.parentNode&&S.parentNode.removeChild(S),Uo=Uo.filter((function(t){return t!==_})),_.state.isMounted=!1,$("onHidden",[_]))}function mt(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),U(),delete t._tippy,_.state.isDestroyed=!0,$("onDestroy",[_]))}}function Yo(t,e){void 0===e&&(e={});var n=$o.plugins.concat(e.plugins||[]);Lo();var i=Object.assign({},e,{plugins:n}),s=vo(t),a=s.reduce((function(t,e){var n=e&&Zo(e,i);return n&&t.push(n),t}),[]);return ho(t)?a[0]:a}Yo.defaultProps=$o,Yo.setDefaultProps=Bo,Yo.currentInput=Co;Object.assign({},da,{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 Xo={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 s(e){return!0===t.props.sticky||t.props.sticky===e}var a=null,o=null;function r(){var e=s("reference")?i().getBoundingClientRect():null,l=s("popper")?n.getBoundingClientRect():null;(e&&Qo(a,e)||l&&Qo(o,l))&&t.popperInstance&&t.popperInstance.update(),a=e,o=l,t.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){t.props.sticky&&r()}}}};function Qo(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}Yo.setDefaultProps({render:Ko});const Jo=Yo,tr=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),er=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],nr=[!0,!1,"reference","popper"],ir=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,Jo(t,{...e,plugins:[Xo],render:()=>rr(n)})},sr=function(){let{boundary:t="clippingParents",fallbackPlacements:e=[],onChangePlacement:n=(()=>{}),hasHideModifierEnabled:i=!1,tether:s=!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:!s,tether:s}},tr((t=>{let{state:e}=t;n(e.placement)}))]}},ar=(t,e)=>{const n=document.createElement("span");return n.setAttribute("tabindex",e),n.innerText=t.innerText||"",t.innerText="",t.appendChild(n),n},or=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?(k(n)||n.setAttribute("tabindex",e),n):ar(t)},rr=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},lr={none:void 0,small:"d-p4",medium:"d-p8",large:"d-p16"},dr={none:void 0,small:"d-pl4",medium:"d-pl8",large:"d-pl16"},ur=["dialog","menu","listbox","tree","grid"],cr=[null,"anchor"],pr=["none","dialog","first"],hr=["parent"],fr=[...nr];let mr="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",gr=(t=21)=>{let e="",n=t;while(n--)e+=mr[64*Math.random()|0];return e};function vr(t){return vr="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},vr(t)}var br={selector:"vue-portal-target-".concat(gr())},yr=function(t){return br.selector=t},_r="undefined"!==typeof window&&void 0!==("undefined"===typeof document?"undefined":vr(document)),xr=f().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)}}),Sr=f().extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(br.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(_r)return document.querySelector(this.selector)},insertTargetEl:function(){if(_r){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(_r){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new xr({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function wr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.name||"portal",Sr),e.defaultSelector&&yr(e.defaultSelector)}"undefined"!==typeof window&&window.Vue&&window.Vue===f()&&f().use(wr);var Cr=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)},Ir=[];const Or={name:"PopoverHeaderFooter",components:{DtButton:ie,DtIcon:ft},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()}}},Er=Or;var kr=j(Er,Cr,Ir,!1,null,null,null);const Lr=kr.exports,Dr={name:"DtPopover",components:{SrOnlyCloseButton:ue,DtLazyShow:Mi,PopoverHeaderFooter:Lr,Portal:Sr},mixins:[be,se],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=>ur.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(lr).some((e=>e===t))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:t=>cr.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return S()}},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=>fr.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=>pr.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1},appendTo:{type:[HTMLElement,String],default:()=>document.body,validator:t=>hr.includes(t)||t instanceof HTMLElement}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:lr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:dr,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&&S("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(t){var e;null===(e=this.tip)||void 0===e||e.setProps({zIndex:t?650:this.calculateAnchorZindex()})},offset(t){var e;null===(e=this.tip)||void 0===e||e.setProps({offset:t})},sticky(t){var e;null===(e=this.tip)||void 0===e||e.setProps({sticky:t})},fallbackPlacements(){var t;null===(t=this.tip)||void 0===t||t.setProps({popperOptions:this.popperOptions()})},tether(){var t;null===(t=this.tip)||void 0===t||t.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.initTippyInstance():t||e===t||(this.removeEventListeners(),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,this.isOpen&&this.initTippyInstance()},beforeDestroy(){var t;null===(t=this.tip)||void 0===t||t.destroy(),this.removeReferences(),this.removeEventListeners()},methods:{popperOptions(){return sr({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()},async onContext(t){this.openOnContext&&(t.preventDefault(),this.isOpen=!0,await this.$nextTick(),this.tip.setProps({placement:"right-start",getReferenceClientRect:()=>({width:0,height:0,top:t.clientY,bottom:t.clientY,left:t.clientX,right:t.clientX})}))},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(t){null===this.open&&this.openWithArrowKeys&&this.anchorEl.contains(t.target)&&(this.isOpen||(this.isOpen=!0))},addEventListeners(){window.addEventListener("dt-popover-close",this.closePopover),"anchor"===this.contentWidth&&window.addEventListener("resize",this.onResize)},removeEventListeners(){window.removeEventListener("dt-popover-close",this.closePopover),"anchor"===this.contentWidth&&window.removeEventListener("resize",this.onResize)},closePopover(){this.isOpen=!1},async preventScrolling(){if(await this.$nextTick(),this.modal){const t=this.anchorEl.closest("body, .tippy-box");"body"===t.tagName.toLowerCase()?t.classList.add("d-of-hidden"):t.classList.add("d-zi-popover")}},async enableScrolling(){if(await this.$nextTick(),this.modal){const t=this.anchorEl.closest("body, .tippy-box");"body"===t.tagName.toLowerCase()?t.classList.remove("d-of-hidden"):t.classList.remove("d-zi-popover")}},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&&(await this.focusFirstElement(this.$refs.anchor),await this.$nextTick()),null===(t=this.tip)||void 0===t||t.unmount(),this.enableScrolling(),this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),this.preventScrolling(),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()},initTippyInstance(){this.tip=ir(this.anchorEl,{popperOptions:this.popperOptions(),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,sticky:this.sticky,appendTo:this.appendTo,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow}),this.tip.setProps({zIndex:this.modal?650:this.calculateAnchorZindex()}),this.tip.show(),this.addEventListeners()}}},Tr=Dr;n(155);var Ar=j(Tr,Fi,qi,!1,null,null,null);const Pr=Ar.exports,$r={none:void 0,small:"d-py0",large:"d-py4"},Mr={name:"DtDropdown",components:{DtPopover:Pr,SrOnlyCloseButton:ue},mixins:[rn({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),se],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},padding:{type:String,default:"small",validator:t=>Object.keys($r).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 S()}},navigationType:{type:String,default:hn.ARROW_KEYS,validator:t=>Object.values(hn).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:hn,DROPDOWN_PADDING_CLASSES:$r,EVENT_KEYNAMES:u,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:t=>{this.updateInitialHighlightIndex(t)},keydown:t=>{const e=t.code;switch(e){case u.up:case u.arrowup:this.onUpKeyPress(t),t.stopPropagation(),t.preventDefault();break;case u.down:case u.arrowdown:this.onDownKeyPress(t),t.stopPropagation(),t.preventDefault();break;case u.space:case u.spacebar:this.onSpaceKey();break;case u.enter:this.onEnterKey();break;case u.home:this.onHomeKeyPress(t),t.stopPropagation(),t.preventDefault();break;case u.end:this.onEndKeyPress(t),t.stopPropagation(),t.preventDefault();break;default:this.onKeyPress(t);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-stack2","d-m4","d-px0",$r[this.padding],this.listClass,{"d-context-menu-list":this.openOnContext}]},shouldOpenWithArrowKeys(){return!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)}}},Br=Mr;n(427);var Rr=j(Br,Vi,Hi,!1,null,null,null);const Nr=Rr.exports;var jr=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-stack2","d-px0",t.listClass],attrs:{"data-qa":"dt-dropdown-list-wrapper"}},[t._t("default")],2)])},Vr=[];const Hr={name:"DtDropdownList",props:{heading:{type:String,default:""},listClass:{type:[String,Array,Object],default:""}}},Fr=Hr;var qr=j(Fr,jr,Vr,!1,null,null,null);const zr=qr.exports;var Kr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"dt-list-separator d-bgc-black-300 d-my4 d-mxn4",attrs:{"aria-hidden":"true"}})},Wr=[];const Gr={name:"DtDropdownSeparator"},Ur=Gr;n(717);var Zr=j(Ur,Kr,Wr,!1,null,null,null);const Yr=Zr.exports;var Xr=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.labelVisible&&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)},Qr=[];const Jr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},tl={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var el=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 s=e.message,a=e.type;return n("div",{key:t.getMessageKey(a,i),class:["base-input__message","d-validation-message",t.messageTypeClass(a)],attrs:{role:"status","aria-live":"polite","data-qa":"validation-message"}},[n("p",{domProps:{innerHTML:t._s(s)}})])})),0):t._e()},nl=[];function il(t){return!t||t.every((t=>"string"===typeof t||"object"===typeof t&&Object.values(o).includes(null===t||void 0===t?void 0:t.type)))}const sl={name:"DtValidationMessages",props:{id:{type:String,default(){return S()}},validationMessages:{type:Array,default:()=>[],validator:t=>il(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return I(this.validationMessages)},validationState(){return O(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]}}},al=sl;var ol=j(al,el,nl,!1,null,null,null);const rl=ol.exports,ll={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(o).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||f().util.warn("You must provide an aria-label when there is no label passed",this)}}},dl={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}}},ul={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&&f().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)}},cl={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>il(t)}},computed:{formattedMessages(){return C(this.messages)}}},pl={name:"DtInput",components:{DtValidationMessages:rl},mixins:[cl],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Jr.TEXT,validator:t=>Object.values(Jr).includes(t)},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},size:{type:String,default:null,validator:t=>Object.values(tl).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(tl).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===Jr.TEXTAREA},isDefaultSize(){return this.size===tl.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===tl.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(tl).includes(this.size)},isValidDescriptionSize(){return Object.values(r).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-${S()}`},inputState(){return O(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.value)},validationProps(){var t,e,n,i,s,a,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===(s=this.validate)||void 0===s||null===(a=s.length)||void 0===a?void 0:a.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?o.WARNING:null:o.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}}},hl=pl;var fl=j(hl,Xr,Qr,!1,null,null,null);const ml=fl.exports;var gl=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)},vl=[];const bl={components:{DtValidationMessages:rl},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return S()}},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=>il(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=C(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:O(t)}}},computed:{formattedMessages(){return C(this.messages)},validationState(){return O(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"]||f().util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},yl={name:"DtInputGroup",components:{DtValidationMessages:rl},mixins:[bl],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}`}}},_l=yl;var xl=j(_l,gl,vl,!1,null,null,null);const Sl=xl.exports;var wl=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,t.bannerKindClass],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",{class:["d-modal__content",t.contentClass],attrs:{"data-qa":"dt-modal-copy"}},[t._t("default")],2):n("p",{class:["d-modal__content",t.contentClass],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)},Cl=[];const Il={default:"",danger:"d-modal--danger"},Ol={default:"",full:"d-modal--full"},El={error:"d-modal__banner--critical",info:"d-modal__banner--info",success:"d-modal__banner--success",warning:"d-modal__banner--warning",base:"d-modal__banner--general"};var kl=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)},Ll=[];const Dl={name:"DtNotice",components:{DtNoticeIcon:Lt,DtNoticeContent:Mt,DtNoticeAction:fe},mixins:[se],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 Ct.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return wt.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}]}}},Tl=Dl;var Al=j(Tl,kl,Ll,!1,null,null,null);const Pl=Al.exports,$l={name:"DtModal",components:{DtLazyShow:Mi,DtButton:ie,DtIcon:ft,SrOnlyCloseButton:ue},mixins:[be,se],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return S()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(Il).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(Ol).includes(t)},modalClass:{type:[String,Object,Array],default:""},dialogClass:{type:[String,Object,Array],default:""},contentClass:{type:[String,Object,Array],default:""},bannerKind:{type:String,default:"warning",validate(t){return wt.includes(t)}},bannerClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},fixedHeaderFooter:{type:Boolean,default:!0}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:Il,MODAL_SIZE_MODIFIERS:Ol,MODAL_BANNER_KINDS:El,EVENT_KEYNAMES:u}},computed:{modalListeners(){return{...this.$listeners,click:t=>{t.target===t.currentTarget&&this.close(),this.$emit("click",t)},keydown:t=>{switch(t.code){case u.esc:case u.escape:this.close();break;case u.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},bannerKindClass(){return El[this.bannerKind]}},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")}}},Ml=$l;var Bl=j(Ml,wl,Cl,!1,null,null,null);const Rl=Bl.exports;var Nl=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)])},jl=[];const Vl={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:ie},props:{id:{type:String,default(){return A.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=Vl;n(792);var Fl=j(Hl,Nl,jl,!1,null,null,null);const ql=Fl.exports;var zl=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)},Kl=[];const Wl={name:"DtListItemGroup",props:{id:{type:String,default(){return S()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}},Gl=Wl;var Ul=j(Gl,zl,Kl,!1,null,null,null);const Zl=Ul.exports;var Yl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"d-d-flex d-fd-row d-gg4 d-ai-center",attrs:{"aria-label":t.ariaLabel}},[n("dt-button",{staticClass:"d-px8",class:t.isFirstPage?"d-fc-black-300 h:d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-prev","aria-label":t.prevAriaLabel,kind:"muted",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:"300"}})],1)],2),t._l(t.pages,(function(e,i){return n("div",{key:"page-"+e+"-"+i,class:{"d-as-flex-end":isNaN(Number(e))}},[isNaN(Number(e))?n("div",{staticClass:"d-fc-tertiary d-w24 d-ta-center",attrs:{"data-qa":"dt-pagination-separator"}},[n("dt-icon",{attrs:{name:"more-horizontal",size:"300"}})],1):n("dt-button",{attrs:{"aria-label":t.pageNumberAriaLabel(e),kind:t.currentPage===e?"default":"muted",importance:t.currentPage===e?"primary":"clear","label-class":""},on:{click:function(n){return t.changePage(e)}}},[t._v(" "+t._s(e)+" ")])],1)})),n("dt-button",{staticClass:"d-px8",class:t.isLastPage?"d-fc-black-300 h:d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-next","aria-label":t.nextAriaLabel,disabled:t.isLastPage,kind:"muted",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:"300"}})],1)],2)],2)},Xl=[];const Ql={name:"DtPagination",components:{DtButton:ie,DtIcon:ft},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),s=this.currentPage-i,a=this.currentPage+i;return[1,"...",...this.range(s,a),"...",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)}}},Jl=Ql;var td=j(Jl,Yl,Xl,!1,null,null,null);const ed=td.exports;var nd=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)])])},id=[];const sd={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},ad={name:"DtRadio",components:{DtValidationMessages:rl},mixins:[ll,dl,ul,cl],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return sd[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))}}},od=ad;var rd=j(od,nd,id,!1,null,null,null);const ld=rd.exports,dd={name:"DtRadioGroup",extends:Sl,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}`}}},ud=dd;var cd,pd,hd=j(ud,cd,pd,!1,null,null,null);const fd=hd.exports;var md=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)},gd=[];const vd=["default","sm"],bd={sm:"d-tablist--sm"},yd={inverted:"d-tablist--inverted"},_d={borderless:"d-tablist--no-border"},xd={selected:"d-tab--selected"},Sd={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 vd.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:bd,TAB_LIST_KIND_MODIFIERS:yd,TAB_LIST_IMPORTANCE_MODIFIERS:_d}},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())}}},wd=Sd;var Cd=j(wd,md,gd,!1,null,null,null);const Id=Cd.exports;var Od=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)},Ed=[];const kd={name:"DtTab",components:{DtButton:ie},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:xd}},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})}}},Ld=kd;var Dd=j(Ld,Od,Ed,!1,null,null,null);const Td=Dd.exports;var Ad=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:t.isFirstElementFocusable?-1:0,"aria-labelledby":"dt-tab-"+t.tabId,"aria-hidden":""+t.hidePanel,"data-qa":"dt-tab-panel"}},[t._t("default")],2)},Pd=[];const $d={name:"DtTabPanel",mixins:[be],inject:["groupContext"],props:{id:{type:String,required:!0},tabId:{type:String,required:!0},hidden:{type:Boolean,default:!1},tabPanelClass:{type:[String,Array,Object],default:""}},data(){return{isFirstElementFocusable:!1}},computed:{hidePanel(){return this.groupContext.selected!==this.id||this.hidden}},async mounted(){const t=await this.getFirstFocusableElement(this.$el);this.isFirstElementFocusable=!!t&&this.isFirstElementOfPanel(t)},methods:{isFirstElementOfPanel(t){let e=t,n=!0;while(e){if(null!==e.previousElementSibling){n=!1;break}e=e.parentNode!==this.$el?e.parentNode:null}return n}}},Md=$d;var Bd=j(Md,Ad,Pd,!1,null,null,null);const Rd=Bd.exports;var Nd=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()])])},jd=[];const Vd={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},Hd={name:"DtCheckbox",components:{DtValidationMessages:rl},mixins:[ll,dl,ul,cl],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Vd[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"])}}},Fd=Hd;var qd=j(Fd,Nd,jd,!1,null,null,null);const zd=qd.exports,Kd={name:"DtCheckboxGroup",extends:Sl,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>!t||(f().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=Kd;var Gd,Ud,Zd=j(Wd,Gd,Ud,!1,null,null,null);const Yd=Zd.exports;var Xd=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({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}},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)},Qd=[];const Jd={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},tu={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},eu={xs:"200",sm:"200",md:"200"},nu={name:"DtChip",components:{DtButton:ie,DtIcon:ft},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(Jd).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return S()}},ariaLabel:{type:String,default:""},contentClass:{type:[String,Array,Object],default:""},labelClass:{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 eu[this.size]}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?["d-chip",...this.labelClass]:"d-chip__label",Jd[this.size]]},chipCloseButtonClasses(){return["d-chip__close",tu[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},iu=nu;var su=j(iu,Xd,Qd,!1,null,null,null);const au=su.exports;var ou=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)},ru=[];const lu={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},du={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},uu=t=>!t.index||"number"===typeof t.index,cu=t=>!!t.value&&("string"===typeof t.value||"number"===typeof t.value),pu=t=>!!t.label&&"string"===typeof t.label,hu=t=>!t||t.every((t=>!!uu(t)&&(!!cu(t)&&!!pu(t)))),fu={name:"DtSelectMenu",components:{DtValidationMessages:rl},mixins:[cl],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>hu(t)},size:{type:String,default:"md",validator:t=>Object.keys(lu).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:d,DESCRIPTION_SIZE_MODIFIERS:l,SELECT_SIZE_MODIFIERS:lu,SELECT_STATE_MODIFIERS:du}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return O(this.formattedMessages)},selectKey(){return S()},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&&f().util.warn("Options are expected to be provided via prop or slot",this)}}},mu=fu;var gu=j(mu,ou,ru,!1,null,null,null);const vu=gu.exports;var bu=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()},yu=[];const _u=["status","alert"],xu=6e3,Su={name:"DtToast",components:{DtNoticeIcon:Lt,DtNoticeContent:Mt,DtNoticeAction:fe},mixins:[se],props:{titleId:{type:String,default(){return A.getUniqueString()}},contentId:{type:String,default(){return A.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>_u.includes(t)},kind:{type:String,default:"base",validator:t=>wt.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>=xu}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:xu}},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))}}},wu=Su;var Cu=j(wu,bu,yu,!1,null,null,null);const Iu=Cu.exports;var Ou=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()])])},Eu=[];const ku={sm:"d-toggle--small",md:""},Lu=[!1,!0,"mixed"],Du={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return A.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>Lu.includes(t)},toggleOnClick:{type:Boolean,default:!0},size:{type:String,default:"md",validator:t=>Object.keys(ku).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",ku[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.$emit("change",!this.internalChecked),this.toggleOnClick&&(this.internalChecked=!this.internalChecked)},hasSlotLabel(){return!!this.$slots.default},runValidations(){this.validateInputLabels(this.hasSlotLabel(),this.$attrs["aria-label"])},validateInputLabels(t,e){t||e||f().util.warn("You must provide an aria-label when there is no label passed",this)}}},Tu=Du;var Au=j(Tu,Ou,Eu,!1,null,null,null);const Pu=Au.exports;var $u=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{attrs:{"data-qa":"dt-tooltip-container"}},[i("a",{ref:"anchor",attrs:{role:"presentation","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)},Mu=[];const Bu=[...er],Ru={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Nu=[...nr],ju=[!0,!1,"toggle"],Vu={name:"Tooltip",components:{DtLazyShow:Mi},props:{id:{type:String,default(){return S()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return Bu.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>Nu.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:Ru,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:sr({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){t?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(t){this.tip.setProps({sticky:t})}},mounted(){this.tip=ir(or(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 or(this.$refs.anchor).matches(":focus-visible")},onEnterAnchor(t){"focusin"===t.type?null===this.show&&this.hasVisibleFocus()&&(this.isShown=!0):null===this.show&&(this.isShown=!0)},onLeaveAnchor(){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}}}},Hu=Vu;n(664);var Fu=j(Hu,$u,Mu,!1,null,null,null);const qu=Fu.exports;var zu=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)},Ku=[];const Wu={"{win}":"layout-grid","{arrow-right}":"arrow-right","{arrow-left}":"arrow-left","{arrow-up}":"arrow-up","{arrow-down}":"arrow-down","{cmd}":"command"},Gu={"{plus}":"plus"},Uu=Object.keys(Wu),Zu={name:"DtKeyboardShortcut",components:{DtIcon:ft},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,...Gu}},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)}}},Yu=Zu;var Xu=j(Yu,zu,Ku,!1,null,null,null);const Qu=Xu.exports;var Ju=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"root-layout d-root-layout"},[t.$slots.header?n("header",{class:["root-layout__header",t.headerClass,{"root-layout__header--sticky":t.headerSticky}],style:{height:t.headerHeight,"min-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,"header-height":t.$slots.header?t.headerHeight:"0px","footer-height":t.$slots.footer?t.footerHeight:"0px",fixed:t.fixed},scopedSlots:t._u([t.$slots.sidebar?{key:"sidebar",fn:function(){return[t._t("sidebar")]},proxy:!0}:null,t.$slots.default?{key:"content",fn:function(){return[t._t("default")]},proxy:!0}:null],null,!0)}),t.$slots.footer?n("footer",{class:["root-layout__footer",t.footerClass],style:{height:t.footerHeight,"min-height":t.footerHeight},attrs:{"data-qa":"root-layout-footer"}},[t._t("footer")],2):t._e()],1)},tc=[],ec=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root-layout-body",class:["root-layout__body",{"d-of-y-auto":t.isInMobileMode},"d-fl-grow1",t.bodyClasses],style:{height:t.isInMobileMode?t.mainHeight:null},attrs:{"data-qa":"root-layout-body"}},[t.$slots.sidebar?n("aside",{ref:"root-layout-sidebar",class:["root-layout__sidebar",{"d-of-y-auto":!t.isInMobileMode},t.sidebarClass],style:{"flex-basis":t.sidebarWidth,height:t.isInMobileMode?null:t.mainHeight},attrs:{"data-qa":"root-layout-sidebar"}},[t._t("sidebar")],2):t._e(),t.$slots.content?n("main",{ref:"root-layout-content",class:["root-layout__content",{"d-of-y-auto":!t.isInMobileMode},t.contentClass],style:{"min-inline-size":t.contentWrapWidthPercent,height:t.isInMobileMode?null:t.mainHeight},attrs:{"data-qa":"root-layout-content",tabindex:"0"}},[t._t("content")],2):t._e()])},nc=[];const ic={LEFT:"left",RIGHT:"right"},sc={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},headerHeight:{type:String,default:void 0},footerHeight:{type:String,default:void 0},fixed:{type:Boolean,default:void 0}},data(){return{sidebarTop:null,contentTop:null,documentHeight:null}},computed:{bodyClasses(){return[this.bodyClass,{"root-layout__body--invert":this.sidebarPosition===ic.RIGHT}]},mainHeight(){return this.fixed?`calc(${this.documentHeight} - (${this.headerHeight} + ${this.footerHeight}))`:null},isInMobileMode(){return this.contentTop>this.sidebarTop}},mounted(){window.addEventListener("resize",this.onResize),this.getDocumentHeight(),this.getElementTops()},beforeDestroy(){window.removeEventListener("resize",this.onResize)},methods:{onResize(){this.getDocumentHeight(),this.getElementTops()},getElementTops(){var t,e;this.sidebarTop=null===(t=this.$refs["root-layout-sidebar"])||void 0===t?void 0:t.offsetTop,this.contentTop=null===(e=this.$refs["root-layout-content"])||void 0===e?void 0:e.offsetTop},getDocumentHeight(){this.documentHeight=window.innerHeight+"px"}}},ac=sc;n(263);var oc=j(ac,ec,nc,!1,null,null,null);const rc=oc.exports,lc={name:"DtRootLayout",components:{DtRootLayoutBody:rc},props:{fixed:{type:Boolean,default:!0},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(ic).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}},dc=lc;n(987);var uc=j(dc,Ju,tc,!1,null,null,null);const cc=uc.exports;var pc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-combobox",t._g({ref:"combobox",attrs:{loading:t.loading,label:t.label,"label-visible":t.labelVisible,size:t.size,description:t.description,"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-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,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,s=e.listProps,a=e.clearHighlightIndex;return[n("dt-popover",{ref:"popover",attrs:{open:t.isListShown,"hide-on-click":!1,"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"},[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:a,focusout:a}},[t.loading?n("combobox-loading-list",t._b({},"combobox-loading-list",s,!1)):t.emptyList&&t.emptyStateMessage?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage}},"combobox-empty-list",s,!1)):t._t("list",null,{listProps:s})],2)]},proxy:!0},{key:"footerContent",fn:function(){return[t.$slots.footer?n("div",{ref:"footer"},[t._t("footer")],2):t._e()]},proxy:!0}],null,!0)})]}}],null,!0)},t.comboboxListeners))},hc=[];const fc={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:xi,DtPopover:Pr,ComboboxLoadingList:ui,ComboboxEmptyList:gi},mixins:[se],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(vi).includes(t)},description:{type:String,default:""},showList:{type:Boolean,default:null},listId:{type:String,default(){return S()}},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($r).some((e=>e===t))},contentWidth:{type:String,default:null,validator:t=>cr.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:$r,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:S()}},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){t?window.addEventListener("mousedown",this.onFocusOut):window.removeEventListener("mousedown",this.onFocusOut),this.onOpened(t)}},methods:{handleDisplayList(t){!this.hasSuggestionList&&t&&this.showComboboxList(),this.hasSuggestionList||t||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=Object.keys(this.$refs).some((e=>{const n=this.$refs[e];return n.$el?n.$el.contains(t.target):n.contains(t.target)}));e||this.closeComboboxList()},openOnArrowKeyPress(){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},mc=fc;var gc=j(mc,pc,hc,!1,null,null,null);const vc=gc.exports;var bc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{label:t.label,"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 d-d-block"},[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,class:["d-mt4","d-mx2","d-zi-base1"],attrs:{"label-class":["d-chip__label"],"close-button-props":{ariaLabel:"close"},size:t.CHIP_SIZES[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",attrs:{"aria-label":t.label,label:t.labelVisible?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)})},yc=[];const _c={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},xc={xs:"xs",sm:"xs",md:"sm"},Sc={xs:1.4,sm:.4,md:.2},wc={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:vc,DtInput:ml,DtChip:au,DtValidationMessages:rl},mixins:[se],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},placeholder:{type:String,default:"Select one or start typing"},inputMessages:{type:Array,default:()=>[],validator:t=>il(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(_c).includes(t)}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,4],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null,originalInputSize:null,CHIP_SIZES:xc}},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.setChipsTopPosition(),this.setInputMinWidth(),this.checkMaxSelected()}},async label(){await this.$nextTick(),this.setChipsTopPosition()},async description(){await this.$nextTick(),this.setChipsTopPosition()},size:{async handler(){await this.$nextTick();const t=this.getInput();this.revertInputPadding(t),this.originalInputSize=t.getBoundingClientRect().height,this.setInputPadding(),this.setChipsTopPosition()},immediate:!0}},mounted(){this.resizeWindowObserver=new ResizeObserver((async()=>{this.setChipsTopPosition(),this.setInputPadding()})),this.resizeWindowObserver.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(){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-Sc[this.size]+"px"},setInputPadding(){const t=this.getLastChip(),e=this.getInput(),n=this.$refs.chipsWrapper;if(!e)return;if(this.revertInputPadding(e),this.popoverOffset=[0,4],!t)return;const i=t.offsetLeft+this.getFullWidth(t);e.style.paddingLeft=i+"px";const s=n.getBoundingClientRect().height-4,a=t.offsetTop+2;s>this.originalInputSize&&(e.style.paddingTop=`${a}px`)},revertInputPadding(t){t.style.paddingLeft="",t.style.paddingTop="",t.style.paddingBottom=""},getFullWidth(t){const e=window.getComputedStyle(t);return t.offsetWidth+parseInt(e.marginLeft)+parseInt(e.marginRight)},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)}}},Cc=wc;var Ic=j(Cc,bc,yc,!1,null,null,null);const Oc=Ic.exports;var Ec=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)},kc=[];const Lc={name:"DtRecipeCallbarButton",components:{DtButton:ie,DtTooltip:qu},inheritAttrs:!0,props:{id:{type:String,default(){return A.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-px0",{"dt-recipe-callbar-button--circle":this.circle,"dt-recipe-callbar-button--active":this.active,"dt-recipe-callbar-button--danger":this.danger}]}}},Dc=Lc;n(39);var Tc=j(Dc,Ec,kc,!1,null,null,null);const Ac=Tc.exports;var Pc=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)},$c=[];const Mc={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:Ac,DtPopover:Pr,DtButton:ie,DtIcon:ft},inheritAttrs:!1,props:{id:{type:String,default(){return A.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}}},Bc=Mc;n(724);var Rc=j(Bc,Pc,$c,!1,null,null,null);const Nc=Rc.exports;var jc=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:{size:"lg"}},[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)})},Vc=[];const Hc={none:"",green:"d-bgc-green-300",gold:"d-bgc-gold-200",red:"d-bgc-red-200"},Fc={name:"DtRecipeContactInfo",components:{DtAvatar:et,DtListItem:wn},props:{id:{type:String,default(){return A.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarInitials:{type:String,default:""},userStatusColor:{type:String,default:"none",validator:t=>Object.keys(Hc).includes(t)}},data(){return{USER_STATUS_COLOR_MODIFIERS:Hc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},qc=Fc;var zc=j(qc,jc,Vc,!1,null,null,null);const Kc=zc.exports;var Wc=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 d-fc-primary",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)])},Gc=[];const Uc=["green300","green100","red200","red100","gold100","gold200","black100","white"],Zc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return Uc.includes(t)}}},computed:{bannerInfoClass(){const t={green300:"d-bgc-success",green100:"d-bgc-success",red200:"d-bgc-critical",red100:"d-bgc-critical",gold200:"d-bgc-warning",gold100:"d-bgc-warning",black100:"d-bgc-info",white:"d-bgc-primary"};return[t[this.colorCode]]}}},Yc=Zc;n(486);var Xc=j(Yc,Wc,Gc,!1,null,null,null);const Qc=Xc.exports;var Jc=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",{class:["d-fc-black-900",{ivr_node__goto_icon:t.isGotoNode}],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)},tp=[];const ep="promptmenu",np="promptcollect",ip="promptplay",sp="gotoexpert",ap="goto",op="branch",rp="transfer",lp="hangup",dp={[ep]:"keypad",[np]:"dialer",[ip]:"volume-2",[sp]:"expert-node",[op]:"branch",[ap]:"call-merge",[rp]:"transfer",[lp]:"phone-hang-up"},up={[ep]:"Menu",[np]:"Collect",[ip]:"Play",[sp]:"Expert",[op]:"Branch",[ap]:"Go-to",[rp]:"Transfer",[lp]:"Hangup"},cp={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"}},pp={[ep]:cp.PROMPT,[np]:cp.PROMPT,[ip]:cp.PROMPT,[sp]:cp.LOGIC,[op]:cp.LOGIC,[ap]:cp.LOGIC,[rp]:cp.TERMINAL,[lp]:cp.TERMINAL},hp={name:"DtRecipeIvrNode",components:{DtCard:en,DtButton:ie,DtDropdown:Nr,DtIcon:ft},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 dp[this.nodeType]},headerColor(){const{normal:t,selected:e}=pp[this.nodeType];return this.isSelected?e:t},isGotoNode(){return this.nodeType===ap}},methods:{openMenu(){this.isOpen=!0}}},fp=hp;n(183);var mp=j(fp,Jc,tp,!1,null,null,null);const gp=mp.exports;var vp=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)},bp=[];const yp={name:"DtRecipeGroupedChip",components:{DtChip:au},computed:{}},_p=yp;var xp=j(_p,vp,bp,!1,null,null,null);const Sp=xp.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={774:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".d-avatar--image-loaded{background-color:initial;background-image:unset}",""]);const l=r},5:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".d-context-menu-list{width:calc(var(--size-300)*48)}",""]);const l=r},719:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".dt-list-item[role=menuitem]{border-radius:var(--size-300)}.dt-list-separator{height:var(--size-100);list-style:none}",""]);const l=r},321:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".dt-list-item:not(.dt-list-item--static){cursor:pointer;border-radius:var(--size-300)}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:hsla(var(--black-900-h),var(--black-900-s),var(--black-900-l),.05)}.dt-list-item--highlighted:active{background-color:hsla(var(--black-900-h),var(--black-900-s),var(--black-900-l),.1)}.dt-list-item:focus-visible{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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){line-height:var(--lh-300)}.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 .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}",""]);const l=r},435:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}",""]);const l=r},326:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".d-top-banner-info__left{margin:var(--space-300) 0 var(--space-300) var(--space-500);min-width:20%}.d-top-banner-info__middle{display:flex;align-items:center;gap:var(--size-300)}.d-top-banner-info__right{display:flex;align-items:baseline;justify-content:flex-end;gap:var(--size-300);margin:var(--space-300) var(--space-500) var(--space-300) 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),s=n.n(i),a=n(400),o=n.n(a),r=o()(s());r.push([t.id,".enter-active,.leave-active{overflow:hidden;transition:height .3s cubic-bezier(.25,1,.5,1)}",""]);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,s,a){"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 a&&("undefined"===typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),e.push(u))}},e}},481:t=>{"use strict";t.exports=function(t){return t[1]}},377:(t,e,n)=>{var i=n(832),s=n(652),a=n(801),o=n(30),r=n(618),l=n(49),d=n(971);d.alea=i,d.xor128=s,d.xorwow=a,d.xorshift7=o,d.xor4096=r,d.tychei=l,t.exports=d},832:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this,n=d();e.next=function(){var t=2091639*e.s0+2.3283064365386963e-10*e.c;return e.s0=e.s1,e.s1=e.s2,e.s2=t-(e.c=0|t)},e.c=1,e.s0=n(" "),e.s1=n(" "),e.s2=n(" "),e.s0-=n(t),e.s0<0&&(e.s0+=1),e.s1-=n(t),e.s1<0&&(e.s1+=1),e.s2-=n(t),e.s2<0&&(e.s2+=1),n=null}function r(t,e){return e.c=t.c,e.s0=t.s0,e.s1=t.s1,e.s2=t.s2,e}function l(t,e){var n=new o(t),i=e&&e.state,s=n.next;return s.int32=function(){return 4294967296*n.next()|0},s.double=function(){return s()+11102230246251565e-32*(2097152*s()|0)},s.quick=s,i&&("object"==typeof i&&r(i,n),s.state=function(){return r(n,{})}),s}function d(){var t=4022871197,e=function(e){e=String(e);for(var n=0;n<e.length;n++){t+=e.charCodeAt(n);var i=.02519603282416938*t;t=i>>>0,i-=t,i*=t,t=i>>>0,i-=t,t+=4294967296*i}return 2.3283064365386963e-10*(t>>>0)};return e}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.alea=l}(0,t,n.amdD)},49:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this,n="";e.next=function(){var t=e.b,n=e.c,i=e.d,s=e.a;return t=t<<25^t>>>7^n,n=n-i|0,i=i<<24^i>>>8^s,s=s-t|0,e.b=t=t<<20^t>>>12^n,e.c=n=n-i|0,e.d=i<<16^n>>>16^s,e.a=s-t|0},e.a=0,e.b=0,e.c=-1640531527,e.d=1367130551,t===Math.floor(t)?(e.a=t/4294967296|0,e.b=0|t):n+=t;for(var i=0;i<n.length+20;i++)e.b^=0|n.charCodeAt(i),e.next()}function r(t,e){return e.a=t.a,e.b=t.b,e.c=t.c,e.d=t.d,e}function l(t,e){var n=new o(t),i=e&&e.state,s=function(){return(n.next()>>>0)/4294967296};return s.double=function(){do{var t=n.next()>>>11,e=(n.next()>>>0)/4294967296,i=(t+e)/(1<<21)}while(0===i);return i},s.int32=n.next,s.quick=s,i&&("object"==typeof i&&r(i,n),s.state=function(){return r(n,{})}),s}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.tychei=l}(0,t,n.amdD)},652:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this,n="";e.x=0,e.y=0,e.z=0,e.w=0,e.next=function(){var t=e.x^e.x<<11;return e.x=e.y,e.y=e.z,e.z=e.w,e.w^=e.w>>>19^t^t>>>8},t===(0|t)?e.x=t:n+=t;for(var i=0;i<n.length+64;i++)e.x^=0|n.charCodeAt(i),e.next()}function r(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e}function l(t,e){var n=new o(t),i=e&&e.state,s=function(){return(n.next()>>>0)/4294967296};return s.double=function(){do{var t=n.next()>>>11,e=(n.next()>>>0)/4294967296,i=(t+e)/(1<<21)}while(0===i);return i},s.int32=n.next,s.quick=s,i&&("object"==typeof i&&r(i,n),s.state=function(){return r(n,{})}),s}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.xor128=l}(0,t,n.amdD)},618:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this;function n(t,e){var n,i,s,a,o,r=[],l=128;for(e===(0|e)?(i=e,e=null):(e+="\0",i=0,l=Math.max(l,e.length)),s=0,a=-32;a<l;++a)e&&(i^=e.charCodeAt((a+32)%e.length)),0===a&&(o=i),i^=i<<10,i^=i>>>15,i^=i<<4,i^=i>>>13,a>=0&&(o=o+1640531527|0,n=r[127&a]^=i+o,s=0==n?s+1:0);for(s>=128&&(r[127&(e&&e.length||0)]=-1),s=127,a=512;a>0;--a)i=r[s+34&127],n=r[s=s+1&127],i^=i<<13,n^=n<<17,i^=i>>>15,n^=n>>>12,r[s]=i^n;t.w=o,t.X=r,t.i=s}e.next=function(){var t,n,i=e.w,s=e.X,a=e.i;return e.w=i=i+1640531527|0,n=s[a+34&127],t=s[a=a+1&127],n^=n<<13,t^=t<<17,n^=n>>>15,t^=t>>>12,n=s[a]=n^t,e.i=a,n+(i^i>>>16)|0},n(e,t)}function r(t,e){return e.i=t.i,e.w=t.w,e.X=t.X.slice(),e}function l(t,e){null==t&&(t=+new Date);var n=new o(t),i=e&&e.state,s=function(){return(n.next()>>>0)/4294967296};return s.double=function(){do{var t=n.next()>>>11,e=(n.next()>>>0)/4294967296,i=(t+e)/(1<<21)}while(0===i);return i},s.int32=n.next,s.quick=s,i&&(i.X&&r(i,n),s.state=function(){return r(n,{})}),s}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.xor4096=l}(0,t,n.amdD)},30:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this;function n(t,e){var n,i=[];if(e===(0|e))i[0]=e;else for(e=""+e,n=0;n<e.length;++n)i[7&n]=i[7&n]<<15^e.charCodeAt(n)+i[n+1&7]<<13;while(i.length<8)i.push(0);for(n=0;n<8&&0===i[n];++n);for(8==n?i[7]=-1:i[n],t.x=i,t.i=0,n=256;n>0;--n)t.next()}e.next=function(){var t,n,i=e.x,s=e.i;return t=i[s],t^=t>>>7,n=t^t<<24,t=i[s+1&7],n^=t^t>>>10,t=i[s+3&7],n^=t^t>>>3,t=i[s+4&7],n^=t^t<<7,t=i[s+7&7],t^=t<<13,n^=t^t<<9,i[s]=n,e.i=s+1&7,n},n(e,t)}function r(t,e){return e.x=t.x.slice(),e.i=t.i,e}function l(t,e){null==t&&(t=+new Date);var n=new o(t),i=e&&e.state,s=function(){return(n.next()>>>0)/4294967296};return s.double=function(){do{var t=n.next()>>>11,e=(n.next()>>>0)/4294967296,i=(t+e)/(1<<21)}while(0===i);return i},s.int32=n.next,s.quick=s,i&&(i.x&&r(i,n),s.state=function(){return r(n,{})}),s}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.xorshift7=l}(0,t,n.amdD)},801:function(t,e,n){var i;t=n.nmd(t),function(t,s,a){function o(t){var e=this,n="";e.next=function(){var t=e.x^e.x>>>2;return e.x=e.y,e.y=e.z,e.z=e.w,e.w=e.v,(e.d=e.d+362437|0)+(e.v=e.v^e.v<<4^t^t<<1)|0},e.x=0,e.y=0,e.z=0,e.w=0,e.v=0,t===(0|t)?e.x=t:n+=t;for(var i=0;i<n.length+64;i++)e.x^=0|n.charCodeAt(i),i==n.length&&(e.d=e.x<<10^e.x>>>4),e.next()}function r(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e.v=t.v,e.d=t.d,e}function l(t,e){var n=new o(t),i=e&&e.state,s=function(){return(n.next()>>>0)/4294967296};return s.double=function(){do{var t=n.next()>>>11,e=(n.next()>>>0)/4294967296,i=(t+e)/(1<<21)}while(0===i);return i},s.int32=n.next,s.quick=s,i&&("object"==typeof i&&r(i,n),s.state=function(){return r(n,{})}),s}s&&s.exports?s.exports=l:n.amdD&&n.amdO?(i=function(){return l}.call(e,n,e,s),void 0===i||(s.exports=i)):this.xorwow=l}(0,t,n.amdD)},971:function(t,e,n){var i;(function(s,a,o){var r,l=256,d=6,u=52,c="random",p=o.pow(l,d),h=o.pow(2,u),f=2*h,m=l-1;function g(t,e,n){var i=[];e=1==e?{entropy:!0}:e||{};var s=_(y(e.entropy?[t,x(a)]:null==t?S():t,3),i),r=new v(i),u=function(){var t=r.g(d),e=p,n=0;while(t<h)t=(t+n)*l,e*=l,n=r.g(1);while(t>=f)t/=2,e/=2,n>>>=1;return(t+n)/e};return u.int32=function(){return 0|r.g(4)},u.quick=function(){return r.g(4)/4294967296},u.double=u,_(x(r.S),a),(e.pass||n||function(t,e,n,i){return i&&(i.S&&b(i,r),t.state=function(){return b(r,{})}),n?(o[c]=t,e):t})(u,s,"global"in e?e.global:this==o,e.state)}function v(t){var e,n=t.length,i=this,s=0,a=i.i=i.j=0,o=i.S=[];n||(t=[n++]);while(s<l)o[s]=s++;for(s=0;s<l;s++)o[s]=o[a=m&a+t[s%n]+(e=o[s])],o[a]=e;(i.g=function(t){var e,n=0,s=i.i,a=i.j,o=i.S;while(t--)e=o[s=m&s+1],n=n*l+o[m&(o[s]=o[a=m&a+e])+(o[a]=e)];return i.i=s,i.j=a,n})(l)}function b(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function y(t,e){var n,i=[],s=typeof t;if(e&&"object"==s)for(n in t)try{i.push(y(t[n],e-1))}catch(a){}return i.length?i:"string"==s?t:t+"\0"}function _(t,e){var n,i=t+"",s=0;while(s<i.length)e[m&s]=m&(n^=19*e[m&s])+i.charCodeAt(s++);return x(e)}function S(){try{var t;return r&&(t=r.randomBytes)?t=t(l):(t=new Uint8Array(l),(s.crypto||s.msCrypto).getRandomValues(t)),x(t)}catch(i){var e=s.navigator,n=e&&e.plugins;return[+new Date,s,n,s.screen,x(a)]}}function x(t){return String.fromCharCode.apply(0,t)}if(_(o.random(),a),t.exports){t.exports=g;try{r=n(42)}catch(w){}}else i=function(){return g}.call(e,n,e,t),void 0===i||(t.exports=i)})("undefined"!==typeof self?self:this,[],Math)},848:(t,e,n)=>{var i=n(774);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var s=n(402).Z;s("a5e9ff62",i,!0,{sourceMap:!1,shadowMode:!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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("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 s=n(402).Z;s("6b5bfe56",i,!0,{sourceMap:!1,shadowMode:!1})},402:(t,e,n)=>{"use strict";function i(t,e){for(var n=[],i={},s=0;s<e.length;s++){var a=e[s],o=a[0],r=a[1],l=a[2],d=a[3],u={id:t+":"+s,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 s="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!s)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=s&&(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,s){d=n,c=s||{};var o=i(t,e);return m(o),function(e){for(var n=[],s=0;s<o.length;s++){var r=o[s],l=a[r.id];l.refs--,n.push(l)}e?(o=i(t,e),m(o)):o=[];for(s=0;s<n.length;s++){l=n[s];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete a[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],i=a[n.id];if(i){i.refs++;for(var s=0;s<i.parts.length;s++)i.parts[s](n.parts[s]);for(;s<n.parts.length;s++)i.parts.push(v(n.parts[s]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(s=0;s<n.parts.length;s++)o.push(v(n.parts[s]));a[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 s=l++;i=r||(r=g()),e=y.bind(null,i,s,!1),n=y.bind(null,i,s,!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 s=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,s);else{var a=document.createTextNode(s),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}function _(t,e){var n=e.css,i=e.media,s=e.sourceMap;if(i&&t.setAttribute("media",i),c.ssrId&&t.setAttribute(p,e.id),s&&(n+="\n/*# sourceURL="+s.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},42:()=>{}},e={};function n(i){var s=e[i];if(void 0!==s)return s.exports;var a=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}(()=>{n.amdD=function(){throw new Error("define cannot be used indirect")}})(),(()=>{n.amdO={}})(),(()=>{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.nmd=t=>(t.paths=[],t.children||(t.children=[]),t)})(),(()=>{n.p=""})();var i={};return(()=>{"use strict";if(n.r(i),n.d(i,{AVATAR_KIND_MODIFIERS:()=>K,AVATAR_SIZE_MODIFIERS:()=>z,BADGE_KIND_MODIFIERS:()=>at,BADGE_TYPE_MODIFIERS:()=>st,BREADCRUMBS_INVERTED_MODIFIER:()=>Oe,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>Ie,BUTTON_GROUP_ALIGNMENT:()=>Ke,CHIP_SIZE_MODIFIERS:()=>Gd,COLOR_CODES:()=>ap,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>c,DESCRIPTION_SIZE_TYPES:()=>r,DtAvatar:()=>et,DtBadge:()=>bt,DtBanner:()=>xe,DtBreadcrumbItem:()=>Ne,DtBreadcrumbs:()=>Fe,DtButton:()=>ie,DtButtonGroup:()=>Ze,DtCard:()=>en,DtCheckableInputMixin:()=>il,DtCheckbox:()=>Nd,DtCheckboxGroup:()=>zd,DtChip:()=>Jd,DtCollapsible:()=>ji,DtCombobox:()=>Si,DtDropdown:()=>Nr,DtDropdownSeparator:()=>zr,DtGroupableInputMixin:()=>sl,DtIcon:()=>ft,DtInput:()=>dl,DtInputGroup:()=>gl,DtInputGroupMixin:()=>pl,DtInputMixin:()=>nl,DtKeyboardListNavigationMixin:()=>rn,DtKeyboardShortcut:()=>Wu,DtLazyShow:()=>Mi,DtLink:()=>$e,DtListItem:()=>wn,DtListItemGroup:()=>ql,DtListSection:()=>Rl,DtModal:()=>Tl,DtNotice:()=>El,DtPagination:()=>Zl,DtPopover:()=>Pr,DtRadio:()=>nd,DtRadioGroup:()=>ld,DtRecipeCallbarButton:()=>qc,DtRecipeCallbarButtonWithPopover:()=>Zc,DtRecipeComboboxMultiSelect:()=>Rc,DtRecipeComboboxWithPopover:()=>kc,DtRecipeContactInfo:()=>np,DtRecipeGroupedChip:()=>Pp,DtRecipeIvrNode:()=>Ep,DtRecipeTopBannerInfo:()=>dp,DtRootLayout:()=>ac,DtSelectMenu:()=>cu,DtSkeleton:()=>oi,DtSkeletonListItem:()=>ni,DtSkeletonParagraph:()=>Qn,DtSkeletonShape:()=>Rn,DtSkeletonText:()=>Gn,DtStack:()=>xc,DtTab:()=>Id,DtTabGroup:()=>yd,DtTabPanel:()=>Td,DtToast:()=>yu,DtToggle:()=>Eu,DtTooltip:()=>Ru,DtValidationMessages:()=>el,INPUT_SIZES:()=>Ur,INPUT_TYPES:()=>Gr,IVR_NODE_BRANCH:()=>vp,IVR_NODE_EXPERT:()=>mp,IVR_NODE_GO_TO:()=>gp,IVR_NODE_HANGUP:()=>yp,IVR_NODE_ICON_TYPES:()=>_p,IVR_NODE_LABELS:()=>Sp,IVR_NODE_PROMPT_COLLECT:()=>hp,IVR_NODE_PROMPT_MENU:()=>pp,IVR_NODE_PROMPT_PLAY:()=>fp,IVR_NODE_TRANSFER:()=>bp,LINK_KIND_MODIFIERS:()=>Jt,LINK_VARIANTS:()=>Qt,MODAL_KIND_MODIFIERS:()=>yl,MODAL_SIZE_MODIFIERS:()=>_l,MULTI_SELECT_SIZES:()=>Tc,NOTICE_KINDS:()=>wt,POPOVER_CONTENT_WIDTHS:()=>cr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>dr,POPOVER_INITIAL_FOCUS_STRINGS:()=>pr,POPOVER_PADDING_CLASSES:()=>lr,POPOVER_ROLES:()=>ur,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>Xu,SELECT_SIZE_MODIFIERS:()=>nu,SELECT_STATE_MODIFIERS:()=>iu,SHORTCUTS_ALIASES_LIST:()=>Fu,SHORTCUTS_ICON_ALIASES:()=>Vu,SHORTCUTS_ICON_SEPARATOR:()=>Hu,SKELETON_HEADING_HEIGHTS:()=>An,SKELETON_RIPPLE_DURATION:()=>kn,SKELETON_SHAPES:()=>Ln,SKELETON_SHAPE_SIZES:()=>Tn,SKELETON_TEXT_TYPES:()=>Dn,TAB_IMPORTANCE_MODIFIERS:()=>md,TAB_LIST_IMPORTANCE_MODIFIERS:()=>fd,TAB_LIST_KIND_MODIFIERS:()=>hd,TAB_LIST_SIZES:()=>cd,TOAST_ROLES:()=>fu,TOOLTIP_DIRECTIONS:()=>Du,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>Pu,TOOLTIP_KIND_MODIFIERS:()=>Tu,TOOLTIP_STICKY_VALUES:()=>Au,USER_STATUS_COLOR_MODIFIERS:()=>Qc,VALIDATION_MESSAGE_TYPES:()=>o,filterFormattedMessages:()=>I,formatMessages:()=>C,getUniqueString:()=>x,getValidationState:()=>O,validationMessageValidator:()=>Xr}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(n.p=e[1])}var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.avatarClasses,style:t.initialKindStyle,attrs:{id:t.id,"data-qa":"dt-avatar"}},[n("div",{ref:"canvas",staticClass:"d-avatar__canvas"},[t.showDefaultSlot?t._t("default"):t.showInitials?n("span",{class:t.AVATAR_KIND_MODIFIERS.initials},[t._v(" "+t._s(t.formattedInitials)+" ")]):t._e()],2),t.showGroup?n("span",{staticClass:"d-avatar__count",attrs:{"data-qa":"dt-avatar-count"}},[t._v(t._s(t.formattedGroup))]):t._e(),t.presence&&!t.showGroup?n("dt-presence",t._b({class:["d-avatar__presence",t.AVATAR_PRESENCE_SIZE_MODIFIERS[t.size]],attrs:{presence:t.presence,"data-qa":"dt-presence"}},"dt-presence",t.presenceProps,!1)):t._e()],1)},a=[];const o={ERROR:"error",WARNING:"warning",SUCCESS:"success"},r={LARGE:"lg",EXTRA_LARGE:"xl"},l={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},d={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},u={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"},c=o.ERROR,p="dt",h=require("vue");var f=n.n(h);const m=n(377);let g=0;const v="input:not([type=hidden]):not(:disabled)",b="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",y=`${v},${b}`,_=`a,frame,iframe,${y},*[tabindex]`,S="function"===typeof setImmediate?setImmediate:setTimeout;function x(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return`${t}${g++}`}function w(t,e){const n=m(e);return t[Math.floor(n()*t.length)]}function C(t){return t?t.map((t=>"string"===typeof t?{message:t,type:c}:t)):[]}function I(t){const e=O(t);return t&&e?t.filter((t=>!!t.message&&t.type===e)):[]}function O(t){return t?E(t,o.ERROR)?o.ERROR:E(t,o.WARNING)?o.WARNING:E(t,o.SUCCESS)?o.SUCCESS:null:null}function E(t,e){return!(!t||!e)&&t.some((t=>(null===t||void 0===t?void 0:t.type)===e))}function k(t){return null===t||void 0===t?void 0:t.querySelector(_)}const L={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new(f())({name:"Inner",beforeCreate(){this.$createElement=t},template:`<div>${e.props.html}</div>`}).$mount()._vnode.children}},D=()=>new Promise((t=>{S(t)})),T=t=>t.toLowerCase().split("-").map((t=>t.charAt(0).toUpperCase()+t.slice(1))).join(""),A={getUniqueString:x,getRandomElement:w,formatMessages:C,filterFormattedMessages:I,hasFormattedMessageOfType:E,getValidationState:O,htmlFragment:L,flushPromises:D,kebabCaseToPascalCase:T};var P=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-presence",attrs:{"data-qa":"dt-presence",role:"status","aria-live":t.$attrs.ariaLive||"off"}},[t.srText?n("span",{staticClass:"sr-only",attrs:{"data-qa":"dt-presence-sr-text"}},[t._v(t._s(t.srText)+" ")]):t._e(),n("div",{staticClass:"d-presence__inner",class:{"d-presence__inner--active":"active"===t.presence,"d-presence__inner--away":"away"===t.presence,"d-presence__inner--busy":"busy"===t.presence,"d-presence__inner--offline":"offline"===t.presence}})])},$=[];const M={BUSY:"busy",AWAY:"away",OFFLINE:"offline",ACTIVE:"active"},B=[M.BUSY,M.AWAY,M.OFFLINE,M.ACTIVE],R={name:"Presence",props:{presence:{type:String,default:M.ACTIVE,validator:t=>B.includes(t)},srText:{type:String,default:null}}},N=R;function j(t,e,n,i,s,a,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),a&&(d._scopeId="data-v-"+a),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__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):s&&(l=r?function(){s.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:s),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 V=j(N,P,$,!1,null,null,null);const H=V.exports;var F=n(377),q=n.n(F);const z={xs:"d-avatar--xs",sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg",xl:"d-avatar--xl"},K={default:"",icon:"d-avatar__icon",initials:"d-avatar__initials"},W={md:"d-avatar__presence--md",lg:"d-avatar__presence--lg"},G=[45,-45,90,-90,135,-135,180,-180],U={with100:["purple-100","magenta-100","gold-100","blue-100"],with200:["purple-200","magenta-200","gold-200","blue-200"]},Z=3,Y=2,X=t=>t>1,Q={name:"DtAvatar",components:{DtPresence:H},inheritAttrs:!1,props:{id:{type:String,default(){return x()}},seed:{type:String,default:void 0},size:{type:String,default:"md",validator:t=>Object.keys(z).includes(t)},avatarClass:{type:[String,Array,Object],default:""},presence:{type:String,default:null},presenceProps:{type:Object,default:()=>({})},initials:{type:String,default:""},gradient:{type:Boolean,default:!0},group:{type:Number,default:void 0,validator:t=>X(t)}},data(){return{kind:"image",AVATAR_SIZE_MODIFIERS:z,AVATAR_KIND_MODIFIERS:K,AVATAR_PRESENCE_SIZE_MODIFIERS:W,imageLoadedSuccessfully:null,slottedInitials:"",formattedInitials:""}},computed:{avatarClasses(){return["d-avatar",z[this.size],this.avatarClass,{"d-avatar--no-gradient":!this.gradient,"d-avatar--group":this.showGroup}]},showDefaultSlot(){return"initials"!==this.kind&&!1!==this.imageLoadedSuccessfully},showInitials(){return"initials"===this.kind||this.initials},showGroup(){return X(this.group)},initialKindStyle(){const t=this.randomizeGradientColorStops();return{"--avatar-gradient-angle":`${this.randomizeGradientAngle()}deg`,"--avatar-gradient-stop-1":`var(--${t[0]})`,"--avatar-gradient-stop-2":`var(--${t[1]})`,"--avatar-gradient-stop-3":`var(--${t[2]})`}},formattedGroup(){return this.group>99?"99+":this.group}},mounted(){this.init()},updated(){"initials"===this.kind&&(this.slottedInitials=this.$slots.default[0].text||this.$slots.default[0].textContent,this.formatInitials(this.slottedInitials))},methods:{init(){const t=this.$refs.canvas.firstChild;t&&(this.setKind(t),this.kindHandler(t))},kindHandler(t){switch(this.kind){case"image":t.classList.add("d-avatar__image"),this.validateImageAttrsPresence(),this.setImageListeners(t);break;case"icon":t.classList.add(K.icon);break;case"initials":this.slottedInitials=t.text||t.textContent,this.formatInitials(this.slottedInitials);break}},setImageListeners(t){t.addEventListener("error",(()=>{this.formatInitials(this.initials),this.imageLoadedSuccessfully=!1})),t.addEventListener("load",(()=>{t.classList.add("d-avatar--image-loaded"),this.imageLoadedSuccessfully=!0}))},formatInitials(t){t&&("xs"===this.size?this.formattedInitials="":"sm"===this.size?this.formattedInitials=t.trim()[0]:this.formattedInitials=t.trim().slice(0,2))},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())},randomizeGradientAngle(){return w(G,this.seed)},randomizeGradientColorStops(){const t=new Set;let e=0;while(t.size<Z){const n=void 0===this.seed?void 0:this.seed+e.toString();t.size===Y?t.add(w(U.with200,n)):t.add(w(U.with100,n)),e++}const n=q()(this.seed),i=Array.from(t).sort((()=>.5-n()));return i},validateImageAttrsPresence(){const t=!this.$refs.canvas.firstChild.getAttribute("src"),e=!this.$refs.canvas.firstChild.getAttribute("alt");(t||e)&&f().util.warn("src and alt attributes are required for image avatars",this)}}},J=Q;n(848);var tt=j(J,s,a,!1,null,null,null);const et=tt.exports;var nt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:["d-badge",t.BADGE_TYPE_MODIFIERS[t.type],t.BADGE_KIND_MODIFIERS[t.kind]],attrs:{"data-qa":"dt-badge"}},[t.iconLeft||"ai"===t.type?n("span",{staticClass:"d-badge__icon-left"},[n("dt-icon",{attrs:{name:t.iconLeft||"dialpad-ai",size:"200"}})],1):t._e(),n("span",{staticClass:"d-badge__label"},[t._t("default",(function(){return[t._v(" "+t._s(t.text)+" ")]}))],2),t.iconRight?n("span",{staticClass:"d-badge__icon-right"},[n("dt-icon",{attrs:{name:t.iconRight,size:"200"}})],1):t._e()])},it=[];const st={default:"",info:"d-badge--info",success:"d-badge--success",warning:"d-badge--warning",critical:"d-badge--critical",bulletin:"d-badge--bulletin",ai:"d-badge--ai"},at={label:"",count:"d-badge--count"};var ot=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","aria-hidden":t.ariaLabel?"false":"true","aria-label":t.ariaLabel}})},rt=[];const lt=require("@dialpad/dialtone-icons"),dt={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"},ut=lt,ct={name:"DtIcon",props:{size:{type:String,default:"500",validator:t=>Object.keys(dt).includes(t)},name:{type:String,required:!0},ariaLabel:{type:String,default:void 0}},computed:{iconSize(){return dt[this.size]},iconName(){return T(this.name)},currentIcon(){return ut[this.iconName]}}},pt=ct;var ht=j(pt,ot,rt,!1,null,null,null);const ft=ht.exports,mt={name:"DtBadge",components:{DtIcon:ft},props:{iconLeft:{type:String,default:""},iconRight:{type:String,default:""},text:{type:String,default:""},kind:{type:String,default:"label",validator:t=>Object.keys(at).includes(t)},type:{type:String,default:"default",validator:t=>Object.keys(st).includes(t)}},data(){return{BADGE_TYPE_MODIFIERS:st,BADGE_KIND_MODIFIERS:at}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{validateProps(){"ai"===this.type&&"count"===this.kind&&console.error("DtBadge error: type: 'ai' with kind: 'count' is an invalid combination.")}}},gt=mt;var vt=j(gt,nt,it,!1,null,null,null);const bt=vt.exports;var yt=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)])},_t=[],St=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()},xt=[];const wt=["base","error","info","success","warning"],Ct=["alert","alertdialog","status"],It=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),Ot={name:"DtNoticeIcon",components:{DtIcon:ft},props:{kind:{type:String,default:"base",validate(t){return wt.includes(t)}}},computed:{defaultIcon(){return It.get(this.kind)}}},Et=Ot;var kt=j(Et,St,xt,!1,null,null,null);const Lt=kt.exports;var Dt=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)])},Tt=[];const At={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},Pt=At;var $t=j(Pt,Dt,Tt,!1,null,null,null);const Mt=$t.exports;var Bt=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)},Rt=[],Nt=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()])},jt=[];const Vt={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},Ht={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Ft={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},qt=["submit","reset","button"],zt={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},Kt=[{circle:!0,kind:"default",importance:"primary",message:Wt(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Wt(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Wt(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Wt(!1,"muted","primary")}];function Wt(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 Gt="danger",Ut="warning",Zt="success",Yt="muted",Xt="inverted",Qt=["",Gt,Ut,Zt,Yt,Xt],Jt={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},te={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(zt).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(Ft).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys(Jt).includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>qt.includes(t)},width:{type:String,default:null},size:{type:String,default:"md",validator:t=>Object.keys(Vt).includes(t)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:t=>Object.keys(Ht).includes(t)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:zt,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",Jt[this.linkKind],Vt[this.size]]:["d-btn",Ft[this.importance],Ht[this.kind],Vt[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 Kt)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)}}},ee=te;var ne=j(ee,Nt,jt,!1,null,null,null);const ie=ne.exports,se={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 ae=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)},oe=[];const re={name:"SrOnlyCloseButton",components:{DtIcon:ft,DtButton:ie},props:{visuallyHiddenCloseLabel:{type:String,default:null}},methods:{close(){this.$emit("close")}}},le=re;var de=j(le,ae,oe,!1,null,null,null);const ue=de.exports,ce={name:"DtNoticeAction",components:{DtIcon:ft,DtButton:ie,SrOnlyCloseButton:ue},mixins:[se],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)}}}},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")}}},pe=ce;var he=j(pe,Bt,Rt,!1,null,null,null);const fe=he.exports,me=':not(:disabled):not([aria-disabled="true"])',ge=`${me}:not([tabindex="-1"])`,ve="button,[href],input,select,textarea,details,[tabindex]",be={methods:{async getFirstFocusableElement(t){await this.$nextTick();const e=this._getFocusableElements(t,!0);return this._getFirstFocusElement(e)},async focusFirstElement(t){const e=await this.getFirstFocusableElement(t);null===e||void 0===e||e.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(ve)];return n.filter((t=>{const n=window.getComputedStyle(t);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&t.matches(e?me:ge)}))},focusTrappedTabPress(t,e){const n="Tab"===t.key;if(!n)return;const i=this._getFocusableElements(e);if(!i.length)return void t.preventDefault();const s=this._getFirstFocusElement(i),a=i[i.length-1];t.shiftKey?document.activeElement===s&&(a.focus(),t.preventDefault()):document.activeElement===a&&(s.focus(),t.preventDefault())}}},ye={name:"DtBanner",components:{DtNoticeIcon:Lt,DtNoticeContent:Mt,DtNoticeAction:fe},mixins:[be,se],props:{titleId:{type:String,default(){return A.getUniqueString()}},contentId:{type:String,default(){return A.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return wt.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)}}},_e=ye;var Se=j(_e,yt,_t,!1,null,null,null);const xe=Se.exports;var we=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)])},Ce=[];const Ie="d-breadcrumbs__item--selected",Oe="d-breadcrumbs--inverted";var Ee=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)},ke=[],Le=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)},De=[];const Te={name:"DtLink",props:{kind:{type:String,default:"",validator(t){return Qt.includes(t)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:Jt}}},Ae=Te;var Pe=j(Ae,Le,De,!1,null,null,null);const $e=Pe.exports,Me={name:"DtBreadcrumbItem",components:{DtLink:$e},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:Ie}},computed:{linkKind(){return this.inverted?Xt:Yt},ariaCurrent(){return this.selected?"location":void 0}}},Be=Me;var Re=j(Be,Ee,ke,!1,null,null,null);const Ne=Re.exports,je={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:Ne},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:Oe}},methods:{getBreadcrumbItemKey(t){return`breadcrumbs-item-${t}-${A.getUniqueString()}`}}},Ve=je;var He=j(Ve,we,Ce,!1,null,null,null);const Fe=He.exports;var qe=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)},ze=[];const Ke={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},We={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:t=>Object.keys(Ke).includes(t)}},data(){return{BUTTON_GROUP_ALIGNMENT:Ke}}},Ge=We;var Ue=j(Ge,qe,ze,!1,null,null,null);const Ze=Ue.exports;var Ye=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()])},Xe=[];const Qe={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:""}}},Je=Qe;var tn=j(Je,Ye,Xe,!1,null,null,null);const en=tn.exports;var nn=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()])},sn=[];const an={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 s=e?"center":void 0;this.scrollIntoView(t,s,!0,n,i)},scrollIntoView(t,e,n,i,s){if(!t||!t.parentElement)return;const a=t.offsetTop,o=s||t.parentElement,r=this._getScrollBounds(o),l=r.bottom-r.top,d=this._getElementHeight(t),u=a+d;let c=-1;switch(e){case"top":c=a;break;case"center":c=a+(d-l)/2;break;case"bottom":c=c=u-l;break;default:c=a-r.top<=l/2?a:u-l;break}this._setScrollTop(o,c,r,a,u,n,i)},_setScrollTop(t,e,n,i,s,a,o){n=n||this._getScrollBounds(t);const r=n.bottom-n.top;if(a&&this._inScrollBounds(i,s,n))if(i<n.top)e=i;else{if(!(s>n.bottom))return;e=s-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}}},on="listElementKey is required or the referenced element doesn't exist. Received listElement: ",rn=function(){let{listItemRole:t="option",indexKey:e="highlightIndex",idKey:n="highlightId",listElementKey:i="listRef",activeItemKey:s="",openMethod:a=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:[an],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(on,e),null)},onUpKey(){a&&this[a](!0),this[e]>0?this.setHighlightIndex(this[e]-1):r&&this[r](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){a&&this[a](!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 s=i.findIndex((t=>this[e]===n.indexOf(t))),a=n.indexOf(s<i.length-1?i[s+1]:i[0]);this.setHighlightIndex(a),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[s];if(t){const e=this._getListElement();this.scrollElementIntoViewIfNeeded(t,null,null,e)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const t=this[s];t&&t.focus()}}}};var ln=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)},dn=[],un=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}})),t.selected?{key:"selected",fn:function(){return[n("dt-icon",{staticClass:"d-ml8",attrs:{name:"check",size:"400"}})]},proxy:!0}:null],null,!0)}):t._t("default")],2)},cn=[];const pn={DEFAULT:"default",CUSTOM:"custom"},hn={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};var fn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-default-list-item d-fs-200 d-lh-300 d-py4 d-px8 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(),t._t("selected")],2)},mn=[];const gn={name:"DefaultListItem"},vn=gn;n(357);var bn=j(vn,fn,mn,!1,null,null,null);const yn=bn.exports,_n={name:"ListItem",components:{DtDefaultListItem:yn,DtIcon:ft},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return A.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:pn.DEFAULT,validator:t=>Object.values(pn).includes(t)},navigationType:{type:String,default:hn.NONE,validator:t=>Object.values(hn).includes(t)},selected:{type:Boolean,default:!1}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case pn.DEFAULT:return yn;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===hn.TAB},isHoverable(){return this.navigationType!==hn.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}},Sn=_n;n(759);var xn=j(Sn,un,cn,!1,null,null,null);const wn=xn.exports;var Cn=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)},In=[],On=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"}})},En=[];const kn=3e6,Ln={circle:"d-bar-circle",square:"d-bar2"},Dn=["body","heading"],Tn={sm:"24px",md:"32px",lg:"48px"},An={sm:"d-h16",md:"d-h24",lg:"d-h32"},Pn={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*kn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return t.animationDelay=`${e}ms`,t.animationDuration=`${n}ms`,t}}},$n={name:"DtSkeletonShape",mixins:[Pn],props:{shape:{type:String,default:"circle",validator:t=>Object.keys(Ln).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:Ln}},computed:{shapeStyles(){const t=Tn[this.size]||this.size;return{...this.skeletonStyle,"min-width":t,"max-width":t,"min-height":t,"max-height":t}}}},Mn=$n;var Bn=j(Mn,On,En,!1,null,null,null);const Rn=Bn.exports;var Nn=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)},jn=[],Vn=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)},Hn=[],Fn=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()},qn=[];const zn={name:"DtSkeletonText",mixins:[Pn],props:{type:{type:String,default:"body",validator:t=>Dn.includes(t)},headingHeight:{type:String,default:"md",validator:t=>Object.keys(An).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:An}}},Kn=zn;var Wn=j(Kn,Fn,qn,!1,null,null,null);const Gn=Wn.exports,Un=t=>""!==t&&!Number.isNaN(Number(t)),Zn={name:"DtSkeletonParagraph",components:{DtSkeletonText:Gn},props:{rows:{type:[Number,String],default:3,validator:Un},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Un},maxWidth:{type:[Number,String],default:100,validator:Un},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],s=t===this.rows;return this.randomWidth?this.randomWidthPercentage():e&&!n?e:e&&n&&i?i:s?"38%":"100%"}}},Yn=Zn;var Xn=j(Yn,Vn,Hn,!1,null,null,null);const Qn=Xn.exports,Jn={name:"DtSkeletonListItem",components:{DtSkeletonShape:Rn,DtSkeletonParagraph:Qn},props:{shape:{type:String,default:"circle",validator:t=>Object.keys(Ln).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:""}}},ti=Jn;var ei=j(ti,Nn,jn,!1,null,null,null);const ni=ei.exports,ii={name:"DtSkeleton",components:{DtSkeletonText:Gn,DtSkeletonShape:Rn,DtSkeletonListItem:ni,DtSkeletonParagraph:Qn},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)}}}},si=ii;n(859);var ai=j(si,Cn,In,!1,null,null,null);const oi=ai.exports,ri={name:"ComboboxLoadingList",components:{DtListItem:wn,DtSkeleton:oi}},li=ri;var di=j(li,ln,dn,!1,null,null,null);const ui=di.exports;var ci=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)},pi=[];const hi={name:"ComboboxEmptyList",components:{DtListItem:wn},props:{message:{type:String,required:!0},itemClass:{type:[String,Object,Array],default:""}}},fi=hi;n(750);var mi=j(fi,ci,pi,!1,null,null,null);const gi=mi.exports,vi={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},bi={name:"DtCombobox",components:{ComboboxLoadingList:ui,ComboboxEmptyList:gi},mixins:[rn({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl"})],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(vi).includes(t)},description:{type:String,default:""},listId:{type:String,default(){return x()}},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:""},clickOnSelect:{type:Boolean,default:!1}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null}},computed:{inputProps(){return{label:this.label,labelVisible:this.labelVisible,size:this.size,description:this.description,role:"combobox","aria-label":this.label,"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.label}},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(){var t;this.loading||this.emptyList||this.highlightIndex>=0&&(this.$emit("select",this.highlightIndex),this.clickOnSelect&&(null===(t=this.activeItemEl)||void 0===t||t.click()))},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.")}}},yi=bi;var _i=j(yi,nn,sn,!1,null,null,null);const Si=_i.exports;var xi=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}},[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},on:{click:t.defaultToggleOpen}},[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)},wi=[],Ci=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",css:t.isCSSEnabled},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)},Ii=[];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}},computed:{isCSSEnabled(){return!0}},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}}},Ei=Oi;n(124);var ki=j(Ei,Ci,Ii,!1,null,null,null);const Li=ki.exports;var Di=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",t._g({attrs:{name:t.transition,appear:t.appear,css:t.isCSSEnabled}},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)])},Ti=[];const Ai={name:"DtLazyShow",props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},computed:{isCSSEnabled(){return!0}},watch:{show:function(t){t&&!this.initialized&&(this.initialized=!0)}}},Pi=Ai;var $i=j(Pi,Di,Ti,!1,null,null,null);const Mi=$i.exports,Bi={name:"DtCollapsible",components:{DtButton:ie,DtCollapsibleLazyShow:Li,DtLazyShow:Mi,DtIcon:ft},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return x()}},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&&x("DtCollapsible__anchor")}},watch:{open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0}},mounted(){this.validateProperAnchor()},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},validateProperAnchor(){this.anchorText||this.$scopedSlots.anchor||console.error("anchor text and anchor slot content cannot both be falsy")}}},Ri=Bi;var Ni=j(Ri,xi,wi,!1,null,null,null);const ji=Ni.exports;var Vi=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":t.shouldOpenWithArrowKeys,"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))},Hi=[],Fi=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))}],"!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)},qi=[];function zi(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),i=1,s=1;return{width:n.width/i,height:n.height/s,top:n.top/s,right:n.right/i,bottom:n.bottom/s,left:n.left/i,x:n.left/i,y:n.top/s}}function Ki(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Wi(t){var e=Ki(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Gi(t){var e=Ki(t).Element;return t instanceof e||t instanceof Element}function Ui(t){var e=Ki(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Zi(t){if("undefined"===typeof ShadowRoot)return!1;var e=Ki(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Yi(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Xi(t){return t!==Ki(t)&&Ui(t)?Yi(t):Wi(t)}function Qi(t){return t?(t.nodeName||"").toLowerCase():null}function Ji(t){return((Gi(t)?t.ownerDocument:t.document)||window.document).documentElement}function ts(t){return zi(Ji(t)).left+Wi(t).scrollLeft}function es(t){return Ki(t).getComputedStyle(t)}function ns(t){var e=es(t),n=e.overflow,i=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function is(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return 1!==n||1!==i}function ss(t,e,n){void 0===n&&(n=!1);var i=Ui(e),s=Ui(e)&&is(e),a=Ji(e),o=zi(t,s),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Qi(e)||ns(a))&&(r=Xi(e)),Ui(e)?(l=zi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):a&&(l.x=ts(a))),{x:o.left+r.scrollLeft-l.x,y:o.top+r.scrollTop-l.y,width:o.width,height:o.height}}function as(t){var e=zi(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 os(t){return"html"===Qi(t)?t:t.assignedSlot||t.parentNode||(Zi(t)?t.host:null)||Ji(t)}function rs(t){return["html","body","#document"].indexOf(Qi(t))>=0?t.ownerDocument.body:Ui(t)&&ns(t)?t:rs(os(t))}function ls(t,e){var n;void 0===e&&(e=[]);var i=rs(t),s=i===(null==(n=t.ownerDocument)?void 0:n.body),a=Ki(i),o=s?[a].concat(a.visualViewport||[],ns(i)?i:[]):i,r=e.concat(o);return s?r:r.concat(ls(os(o)))}function ds(t){return["table","td","th"].indexOf(Qi(t))>=0}function us(t){return Ui(t)&&"fixed"!==es(t).position?t.offsetParent:null}function cs(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&Ui(t)){var i=es(t);if("fixed"===i.position)return null}var s=os(t);while(Ui(s)&&["html","body"].indexOf(Qi(s))<0){var a=es(s);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||e&&"filter"===a.willChange||e&&a.filter&&"none"!==a.filter)return s;s=s.parentNode}return null}function ps(t){var e=Ki(t),n=us(t);while(n&&ds(n)&&"static"===es(n).position)n=us(n);return n&&("html"===Qi(n)||"body"===Qi(n)&&"static"===es(n).position)?e:n||cs(t)||e}var hs="top",fs="bottom",ms="right",gs="left",vs="auto",bs=[hs,fs,ms,gs],ys="start",_s="end",Ss="clippingParents",xs="viewport",ws="popper",Cs="reference",Is=bs.reduce((function(t,e){return t.concat([e+"-"+ys,e+"-"+_s])}),[]),Os=[].concat(bs,[vs]).reduce((function(t,e){return t.concat([e,e+"-"+ys,e+"-"+_s])}),[]),Es="beforeRead",ks="read",Ls="afterRead",Ds="beforeMain",Ts="main",As="afterMain",Ps="beforeWrite",$s="write",Ms="afterWrite",Bs=[Es,ks,Ls,Ds,Ts,As,Ps,$s,Ms];function Rs(t){var e=new Map,n=new Set,i=[];function s(t){n.add(t.name);var a=[].concat(t.requires||[],t.requiresIfExists||[]);a.forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&s(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||s(t)})),i}function Ns(t){var e=Rs(t);return Bs.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function js(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function Vs(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 Hs={placement:"bottom",modifiers:[],strategy:"absolute"};function Fs(){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 qs(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,s=e.defaultOptions,a=void 0===s?Hs:s;return function(t,e,n){void 0===n&&(n=a);var s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Hs,a),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},o=[],r=!1,l={state:s,setOptions:function(n){var o="function"===typeof n?n(s.options):n;u(),s.options=Object.assign({},a,s.options,o),s.scrollParents={reference:Gi(t)?ls(t):t.contextElement?ls(t.contextElement):[],popper:ls(e)};var r=Ns(Vs([].concat(i,s.options.modifiers)));return s.orderedModifiers=r.filter((function(t){return t.enabled})),d(),l.update()},forceUpdate:function(){if(!r){var t=s.elements,e=t.reference,n=t.popper;if(Fs(e,n)){s.rects={reference:ss(e,ps(n),"fixed"===s.options.strategy),popper:as(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<s.orderedModifiers.length;i++)if(!0!==s.reset){var a=s.orderedModifiers[i],o=a.fn,d=a.options,u=void 0===d?{}:d,c=a.name;"function"===typeof o&&(s=o({state:s,options:u,name:c,instance:l})||s)}else s.reset=!1,i=-1}}},update:js((function(){return new Promise((function(t){l.forceUpdate(),t(s)}))})),destroy:function(){u(),r=!0}};if(!Fs(t,e))return l;function d(){s.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,a=t.effect;if("function"===typeof a){var r=a({state:s,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 zs={passive:!0};function Ks(t){var e=t.state,n=t.instance,i=t.options,s=i.scroll,a=void 0===s||s,o=i.resize,r=void 0===o||o,l=Ki(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&d.forEach((function(t){t.addEventListener("scroll",n.update,zs)})),r&&l.addEventListener("resize",n.update,zs),function(){a&&d.forEach((function(t){t.removeEventListener("scroll",n.update,zs)})),r&&l.removeEventListener("resize",n.update,zs)}}const Ws={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ks,data:{}};function Gs(t){return t.split("-")[0]}function Us(t){return t.split("-")[1]}function Zs(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ys(t){var e,n=t.reference,i=t.element,s=t.placement,a=s?Gs(s):null,o=s?Us(s):null,r=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(a){case hs:e={x:r,y:n.y-i.height};break;case fs:e={x:r,y:n.y+n.height};break;case ms:e={x:n.x+n.width,y:l};break;case gs:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var d=a?Zs(a):null;if(null!=d){var u="y"===d?"height":"width";switch(o){case ys:e[d]=e[d]-(n[u]/2-i[u]/2);break;case _s:e[d]=e[d]+(n[u]/2-i[u]/2);break;default:}}return e}function Xs(t){var e=t.state,n=t.name;e.modifiersData[n]=Ys({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Qs={name:"popperOffsets",enabled:!0,phase:"read",fn:Xs,data:{}};var Js=Math.max,ta=Math.min,ea=Math.round,na={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ia(t){var e=t.x,n=t.y,i=window,s=i.devicePixelRatio||1;return{x:ea(ea(e*s)/s)||0,y:ea(ea(n*s)/s)||0}}function sa(t){var e,n=t.popper,i=t.popperRect,s=t.placement,a=t.variation,o=t.offsets,r=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,c=!0===u?ia(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=gs,y=hs,_=window;if(d){var S=ps(n),x="clientHeight",w="clientWidth";S===Ki(n)&&(S=Ji(n),"static"!==es(S).position&&"absolute"===r&&(x="scrollHeight",w="scrollWidth")),S=S,s!==hs&&(s!==gs&&s!==ms||a!==_s)||(y=fs,m-=S[x]-i.height,m*=l?1:-1),s!==gs&&(s!==hs&&s!==fs||a!==_s)||(b=ms,h-=S[w]-i.width,h*=l?1:-1)}var C,I=Object.assign({position:r},d&&na);return l?Object.assign({},I,(C={},C[y]=v?"0":"",C[b]=g?"0":"",C.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",C)):Object.assign({},I,(e={},e[y]=v?m+"px":"",e[b]=g?h+"px":"",e.transform="",e))}function aa(t){var e=t.state,n=t.options,i=n.gpuAcceleration,s=void 0===i||i,a=n.adaptive,o=void 0===a||a,r=n.roundOffsets,l=void 0===r||r,d={placement:Gs(e.placement),variation:Us(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,sa(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,sa(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 oa={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:aa,data:{}};function ra(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},s=e.elements[t];Ui(s)&&Qi(s)&&(Object.assign(s.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))}function la(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],s=e.attributes[t]||{},a=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]),o=a.reduce((function(t,e){return t[e]="",t}),{});Ui(i)&&Qi(i)&&(Object.assign(i.style,o),Object.keys(s).forEach((function(t){i.removeAttribute(t)})))}))}}const da={name:"applyStyles",enabled:!0,phase:"write",fn:ra,effect:la,requires:["computeStyles"]};function ua(t,e,n){var i=Gs(t),s=[gs,hs].indexOf(i)>=0?-1:1,a="function"===typeof n?n(Object.assign({},e,{placement:t})):n,o=a[0],r=a[1];return o=o||0,r=(r||0)*s,[gs,ms].indexOf(i)>=0?{x:r,y:o}:{x:o,y:r}}function ca(t){var e=t.state,n=t.options,i=t.name,s=n.offset,a=void 0===s?[0,0]:s,o=Os.reduce((function(t,n){return t[n]=ua(n,e.rects,a),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 pa={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ca};var ha={left:"right",right:"left",bottom:"top",top:"bottom"};function fa(t){return t.replace(/left|right|bottom|top/g,(function(t){return ha[t]}))}var ma={start:"end",end:"start"};function ga(t){return t.replace(/start|end/g,(function(t){return ma[t]}))}function va(t){var e=Ki(t),n=Ji(t),i=e.visualViewport,s=n.clientWidth,a=n.clientHeight,o=0,r=0;return i&&(s=i.width,a=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,r=i.offsetTop)),{width:s,height:a,x:o+ts(t),y:r}}function ba(t){var e,n=Ji(t),i=Wi(t),s=null==(e=t.ownerDocument)?void 0:e.body,a=Js(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),o=Js(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),r=-i.scrollLeft+ts(t),l=-i.scrollTop;return"rtl"===es(s||n).direction&&(r+=Js(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:o,x:r,y:l}}function ya(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Zi(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function _a(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Sa(t){var e=zi(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 xa(t,e){return e===xs?_a(va(t)):Ui(e)?Sa(e):_a(ba(Ji(t)))}function wa(t){var e=ls(os(t)),n=["absolute","fixed"].indexOf(es(t).position)>=0,i=n&&Ui(t)?ps(t):t;return Gi(i)?e.filter((function(t){return Gi(t)&&ya(t,i)&&"body"!==Qi(t)})):[]}function Ca(t,e,n){var i="clippingParents"===e?wa(t):[].concat(e),s=[].concat(i,[n]),a=s[0],o=s.reduce((function(e,n){var i=xa(t,n);return e.top=Js(i.top,e.top),e.right=ta(i.right,e.right),e.bottom=ta(i.bottom,e.bottom),e.left=Js(i.left,e.left),e}),xa(t,a));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Ia(){return{top:0,right:0,bottom:0,left:0}}function Oa(t){return Object.assign({},Ia(),t)}function Ea(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function ka(t,e){void 0===e&&(e={});var n=e,i=n.placement,s=void 0===i?t.placement:i,a=n.boundary,o=void 0===a?Ss:a,r=n.rootBoundary,l=void 0===r?xs:r,d=n.elementContext,u=void 0===d?ws:d,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,f=void 0===h?0:h,m=Oa("number"!==typeof f?f:Ea(f,bs)),g=u===ws?Cs:ws,v=t.rects.popper,b=t.elements[p?g:u],y=Ca(Gi(b)?b:b.contextElement||Ji(t.elements.popper),o,l),_=zi(t.elements.reference),S=Ys({reference:_,element:v,strategy:"absolute",placement:s}),x=_a(Object.assign({},v,S)),w=u===ws?x:_,C={top:y.top-w.top+m.top,bottom:w.bottom-y.bottom+m.bottom,left:y.left-w.left+m.left,right:w.right-y.right+m.right},I=t.modifiersData.offset;if(u===ws&&I){var O=I[s];Object.keys(C).forEach((function(t){var e=[ms,fs].indexOf(t)>=0?1:-1,n=[hs,fs].indexOf(t)>=0?"y":"x";C[t]+=O[n]*e}))}return C}function La(t,e){void 0===e&&(e={});var n=e,i=n.placement,s=n.boundary,a=n.rootBoundary,o=n.padding,r=n.flipVariations,l=n.allowedAutoPlacements,d=void 0===l?Os:l,u=Us(i),c=u?r?Is:Is.filter((function(t){return Us(t)===u})):bs,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]=ka(t,{placement:n,boundary:s,rootBoundary:a,padding:o})[Gs(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}function Da(t){if(Gs(t)===vs)return[];var e=fa(t);return[ga(t),e,ga(e)]}function Ta(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var s=n.mainAxis,a=void 0===s||s,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=Gs(g),b=v===g,y=l||(b||!f?[fa(g)]:Da(g)),_=[g].concat(y).reduce((function(t,n){return t.concat(Gs(n)===vs?La(e,{placement:n,boundary:u,rootBoundary:c,padding:d,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),S=e.rects.reference,x=e.rects.popper,w=new Map,C=!0,I=_[0],O=0;O<_.length;O++){var E=_[O],k=Gs(E),L=Us(E)===ys,D=[hs,fs].indexOf(k)>=0,T=D?"width":"height",A=ka(e,{placement:E,boundary:u,rootBoundary:c,altBoundary:p,padding:d}),P=D?L?ms:gs:L?fs:hs;S[T]>x[T]&&(P=fa(P));var $=fa(P),M=[];if(a&&M.push(A[k]<=0),r&&M.push(A[P]<=0,A[$]<=0),M.every((function(t){return t}))){I=E,C=!1;break}w.set(E,M)}if(C)for(var B=f?3:1,R=function(t){var e=_.find((function(e){var n=w.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return I=e,"break"},N=B;N>0;N--){var j=R(N);if("break"===j)break}e.placement!==I&&(e.modifiersData[i]._skip=!0,e.placement=I,e.reset=!0)}}const Aa={name:"flip",enabled:!0,phase:"main",fn:Ta,requiresIfExists:["offset"],data:{_skip:!1}};function Pa(t){return"x"===t?"y":"x"}function $a(t,e,n){return Js(t,ta(e,n))}function Ma(t){var e=t.state,n=t.options,i=t.name,s=n.mainAxis,a=void 0===s||s,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=ka(e,{boundary:l,rootBoundary:d,padding:c,altBoundary:u}),v=Gs(e.placement),b=Us(e.placement),y=!b,_=Zs(v),S=Pa(_),x=e.modifiersData.popperOffsets,w=e.rects.reference,C=e.rects.popper,I="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,O={x:0,y:0};if(x){if(a||r){var E="y"===_?hs:gs,k="y"===_?fs:ms,L="y"===_?"height":"width",D=x[_],T=x[_]+g[E],A=x[_]-g[k],P=h?-C[L]/2:0,$=b===ys?w[L]:C[L],M=b===ys?-C[L]:-w[L],B=e.elements.arrow,R=h&&B?as(B):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Ia(),j=N[E],V=N[k],H=$a(0,w[L],R[L]),F=y?w[L]/2-P-H-j-I:$-H-j-I,q=y?-w[L]/2+P+H+V+I:M+H+V+I,z=e.elements.arrow&&ps(e.elements.arrow),K=z?"y"===_?z.clientTop||0:z.clientLeft||0:0,W=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,G=x[_]+F-W-K,U=x[_]+q-W;if(a){var Z=$a(h?ta(T,G):T,D,h?Js(A,U):A);x[_]=Z,O[_]=Z-D}if(r){var Y="x"===_?hs:gs,X="x"===_?fs:ms,Q=x[S],J=Q+g[Y],tt=Q-g[X],et=$a(h?ta(J,G):J,Q,h?Js(tt,U):tt);x[S]=et,O[S]=et-Q}}e.modifiersData[i]=O}}const Ba={name:"preventOverflow",enabled:!0,phase:"main",fn:Ma,requiresIfExists:["offset"]};var Ra=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,Oa("number"!==typeof t?t:Ea(t,bs))};function Na(t){var e,n=t.state,i=t.name,s=t.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,r=Gs(n.placement),l=Zs(r),d=[gs,ms].indexOf(r)>=0,u=d?"height":"width";if(a&&o){var c=Ra(s.padding,n),p=as(a),h="y"===l?hs:gs,f="y"===l?fs:ms,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],v=ps(a),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,w=$a(_,x,S),C=l;n.modifiersData[i]=(e={},e[C]=w,e.centerOffset=w-x,e)}}function ja(t){var e=t.state,n=t.options,i=n.element,s=void 0===i?"[data-popper-arrow]":i;null!=s&&("string"!==typeof s||(s=e.elements.popper.querySelector(s),s))&&ya(e.elements.popper,s)&&(e.elements.arrow=s)}const Va={name:"arrow",enabled:!0,phase:"main",fn:Na,effect:ja,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ha(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 Fa(t){return[hs,ms,fs,gs].some((function(e){return t[e]>=0}))}function qa(t){var e=t.state,n=t.name,i=e.rects.reference,s=e.rects.popper,a=e.modifiersData.preventOverflow,o=ka(e,{elementContext:"reference"}),r=ka(e,{altBoundary:!0}),l=Ha(o,i),d=Ha(r,s,a),u=Fa(l),c=Fa(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 za={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:qa};var Ka=[Ws,Qs,oa,da,pa,Aa,Ba,Va,za],Wa=qs({defaultModifiers:Ka}),Ga="tippy-box",Ua="tippy-content",Za="tippy-backdrop",Ya="tippy-arrow",Xa="tippy-svg-arrow",Qa={passive:!0,capture:!0},Ja=function(){return document.body};function to(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function eo(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function no(t,e){return"function"===typeof t?t.apply(void 0,e):t}function io(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function so(t){return t.split(/\s+/).filter(Boolean)}function ao(t){return[].concat(t)}function oo(t,e){-1===t.indexOf(e)&&t.push(e)}function ro(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function lo(t){return t.split("-")[0]}function uo(t){return[].slice.call(t)}function co(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function po(){return document.createElement("div")}function ho(t){return["Element","Fragment"].some((function(e){return eo(t,e)}))}function fo(t){return eo(t,"NodeList")}function mo(t){return eo(t,"MouseEvent")}function go(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function vo(t){return ho(t)?[t]:fo(t)?uo(t):Array.isArray(t)?t:uo(document.querySelectorAll(t))}function bo(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function yo(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function _o(t){var e,n=ao(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function So(t,e){var n=e.clientX,i=e.clientY;return t.every((function(t){var e=t.popperRect,s=t.popperState,a=t.props,o=a.interactiveBorder,r=lo(s.placement),l=s.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 xo(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function wo(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 Co={isTouch:!1},Io=0;function Oo(){Co.isTouch||(Co.isTouch=!0,window.performance&&document.addEventListener("mousemove",Eo))}function Eo(){var t=performance.now();t-Io<20&&(Co.isTouch=!1,document.removeEventListener("mousemove",Eo)),Io=t}function ko(){var t=document.activeElement;if(go(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function Lo(){document.addEventListener("touchstart",Oo,Qa),window.addEventListener("blur",ko)}var Do="undefined"!==typeof window&&"undefined"!==typeof document,To=!!Do&&!!window.msCrypto;var Ao={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Po={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},$o=Object.assign({appendTo:Ja,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},Ao,Po),Mo=Object.keys($o),Bo=function(t){var e=Object.keys(t);e.forEach((function(e){$o[e]=t[e]}))};function Ro(t){var e=t.plugins||[],n=e.reduce((function(e,n){var i,s=n.name,a=n.defaultValue;s&&(e[s]=void 0!==t[s]?t[s]:null!=(i=$o[s])?i:a);return e}),{});return Object.assign({},t,n)}function No(t,e){var n=e?Object.keys(Ro(Object.assign({},$o,{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(s){e[n]=i}return e}),{});return i}function jo(t,e){var n=Object.assign({},e,{content:no(e.content,[t])},e.ignoreAttributes?{}:No(t,e.plugins));return n.aria=Object.assign({},$o.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 Vo=function(){return"innerHTML"};function Ho(t,e){t[Vo()]=e}function Fo(t){var e=po();return!0===t?e.className=Ya:(e.className=Xa,ho(t)?e.appendChild(t):Ho(e,t)),e}function qo(t,e){ho(e.content)?(Ho(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?Ho(t,e.content):t.textContent=e.content)}function zo(t){var e=t.firstElementChild,n=uo(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(Ua)})),arrow:n.find((function(t){return t.classList.contains(Ya)||t.classList.contains(Xa)})),backdrop:n.find((function(t){return t.classList.contains(Za)}))}}function Ko(t){var e=po(),n=po();n.className=Ga,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=po();function s(n,i){var s=zo(e),a=s.box,o=s.content,r=s.arrow;i.theme?a.setAttribute("data-theme",i.theme):a.removeAttribute("data-theme"),"string"===typeof i.animation?a.setAttribute("data-animation",i.animation):a.removeAttribute("data-animation"),i.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth="number"===typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?a.setAttribute("role",i.role):a.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||qo(o,t.props),i.arrow?r?n.arrow!==i.arrow&&(a.removeChild(r),a.appendChild(Fo(i.arrow))):a.appendChild(Fo(i.arrow)):r&&a.removeChild(r)}return i.className=Ua,i.setAttribute("data-state","hidden"),qo(i,t.props),e.appendChild(n),n.appendChild(i),s(t.props,t.props),{popper:e,onUpdate:s}}Ko.$$tippy=!0;var Wo=1,Go=[],Uo=[];function Zo(t,e){var n,i,s,a,o,r,l,d=jo(t,Object.assign({},$o,Ro(co(e)))),u=!1,c=!1,p=!1,h=!1,f=[],m=io(Y,d.interactiveDebounce),g=Wo++,v=null,b=ro(d.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:g,reference:t,popper:po(),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,w=S.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,t._tippy=_,x._tippy=_;var C=b.map((function(t){return t.fn(_)})),I=t.hasAttribute("aria-expanded");return G(),B(),P(),$("onCreate",[_]),d.showOnCreate&&st(),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 O(){var t=_.props.touch;return Array.isArray(t)?t:[t,0]}function E(){return"hold"===O()[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?_o(t):document}function T(){return zo(x)}function A(t){return _.state.isMounted&&!_.state.isVisible||Co.isTouch||a&&"focus"===a.type?0:to(_.props.delay,t?0:1,$o.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),C.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,s=ao(_.props.triggerTarget||t);s.forEach((function(t){var e=t.getAttribute(n);if(_.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var s=e&&e.replace(i,"").trim();s?t.setAttribute(n,s):t.removeAttribute(n)}}))}}function B(){if(!I&&_.props.aria.expanded){var e=ao(_.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),Go=Go.filter((function(t){return t!==m}))}function N(e){if(!Co.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!_.props.interactive||!wo(x,n)){if(ao(_.props.triggerTarget||t).some((function(t){return wo(t,n)}))){if(Co.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||F())}}}function j(){p=!0}function V(){p=!1}function H(){var t=D();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,Qa),t.addEventListener("touchstart",V,Qa),t.addEventListener("touchmove",j,Qa)}function F(){var t=D();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,Qa),t.removeEventListener("touchstart",V,Qa),t.removeEventListener("touchmove",j,Qa)}function q(t,e){K(t,(function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}function z(t,e){K(t,e)}function K(t,e){var n=T().box;function i(t){t.target===n&&(xo(n,"remove",i),e())}if(0===t)return e();xo(n,"remove",o),xo(n,"add",i),o=i}function W(e,n,i){void 0===i&&(i=!1);var s=ao(_.props.triggerTarget||t);s.forEach((function(t){t.addEventListener(e,n,i),f.push({node:t,eventType:e,handler:n,options:i})}))}function G(){E()&&(W("touchstart",Z,{passive:!0}),W("touchend",X,{passive:!0})),so(_.props.trigger).forEach((function(t){if("manual"!==t)switch(W(t,Z),t){case"mouseenter":W("mouseleave",X);break;case"focus":W(To?"focusout":"blur",Q);break;case"focusin":W("focusout",Q);break}}))}function U(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,s=t.options;e.removeEventListener(n,i,s)})),f=[]}function Z(t){var e,n=!1;if(_.state.isEnabled&&!J(t)&&!c){var i="focus"===(null==(e=a)?void 0:e.type);a=t,l=t.currentTarget,B(),!_.state.isVisible&&mo(t)&&Go.forEach((function(e){return e(t)})),"click"===t.type&&(_.props.trigger.indexOf("mouseenter")<0||u)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:st(t),"click"===t.type&&(u=!n),n&&!i&&at(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);So(i,t)&&(R(),at(t))}}function X(t){var e=J(t)||_.props.trigger.indexOf("click")>=0&&u;e||(_.props.interactive?_.hideWithInteractivity(t):at(t))}function Q(t){_.props.trigger.indexOf("focusin")<0&&t.target!==L()||_.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||at(t)}function J(t){return!!Co.isTouch&&E()!==t.type.indexOf("touch")>=0}function tt(){et();var e=_.props,n=e.popperOptions,i=e.placement,s=e.offset,a=e.getReferenceClientRect,o=e.moveTransition,l=k()?zo(x).arrow:null,d=a?{getBoundingClientRect:a,contextElement:a.contextElement||L()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(k()){var n=T(),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:s}},{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=Wa(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===Ja||"parent"===e?n.parentNode:no(e,[n]),t.contains(x)||t.appendChild(x),_.state.isMounted=!0,tt()}function it(){return uo(x.querySelectorAll("[data-tippy-root]"))}function st(t){_.clearDelayTimeouts(),t&&$("onTrigger",[_,t]),H();var e=A(!0),i=O(),s=i[0],a=i[1];Co.isTouch&&"hold"===s&&a&&(e=a),e?n=setTimeout((function(){_.show()}),e):_.show()}function at(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=A(!1);e?i=setTimeout((function(){_.state.isVisible&&_.hide()}),e):s=requestAnimationFrame((function(){_.hide()}))}}else F()}function ot(){_.state.isEnabled=!0}function rt(){_.hide(),_.state.isEnabled=!1}function lt(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(s)}function dt(e){if(!_.state.isDestroyed){$("onBeforeUpdate",[_,e]),U();var n=_.props,i=jo(t,Object.assign({},n,co(e),{ignoreAttributes:!0}));_.props=i,G(),n.interactiveDebounce!==i.interactiveDebounce&&(R(),m=io(Y,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?ao(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),B(),P(),w&&w(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=Co.isTouch&&!_.props.touch,s=to(_.props.duration,0,$o.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 a=T(),o=a.box,l=a.content;bo([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=T(),n=e.box,i=e.content;bo([n,i],s),yo([n,i],"visible")}M(),B(),oo(Uo,_),null==(t=_.popperInstance)||t.forceUpdate(),$("onMount",[_]),_.props.animation&&k()&&z(s,(function(){_.state.isShown=!0,$("onShown",[_])}))}},nt()}}function pt(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=to(_.props.duration,1,$o.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(),F(),P(!0),k()){var s=T(),a=s.box,o=s.content;_.props.animation&&(bo([a,o],i),yo([a,o],"hidden"))}M(),B(),_.props.animation?k()&&q(i,_.unmount):_.unmount()}}function ht(t){D().addEventListener("mousemove",m),oo(Go,m),m(t)}function ft(){_.state.isVisible&&_.hide(),_.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),Uo=Uo.filter((function(t){return t!==_})),_.state.isMounted=!1,$("onHidden",[_]))}function mt(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),U(),delete t._tippy,_.state.isDestroyed=!0,$("onDestroy",[_]))}}function Yo(t,e){void 0===e&&(e={});var n=$o.plugins.concat(e.plugins||[]);Lo();var i=Object.assign({},e,{plugins:n}),s=vo(t),a=s.reduce((function(t,e){var n=e&&Zo(e,i);return n&&t.push(n),t}),[]);return ho(t)?a[0]:a}Yo.defaultProps=$o,Yo.setDefaultProps=Bo,Yo.currentInput=Co;Object.assign({},da,{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 Xo={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 s(e){return!0===t.props.sticky||t.props.sticky===e}var a=null,o=null;function r(){var e=s("reference")?i().getBoundingClientRect():null,l=s("popper")?n.getBoundingClientRect():null;(e&&Qo(a,e)||l&&Qo(o,l))&&t.popperInstance&&t.popperInstance.update(),a=e,o=l,t.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){t.props.sticky&&r()}}}};function Qo(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}Yo.setDefaultProps({render:Ko});const Jo=Yo,tr=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),er=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],nr=[!0,!1,"reference","popper"],ir=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,Jo(t,{...e,plugins:[Xo],render:()=>rr(n)})},sr=function(){let{boundary:t="clippingParents",fallbackPlacements:e=[],onChangePlacement:n=(()=>{}),hasHideModifierEnabled:i=!1,tether:s=!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:!s,tether:s}},tr((t=>{let{state:e}=t;n(e.placement)}))]}},ar=(t,e)=>{const n=document.createElement("span");return n.setAttribute("tabindex",e),n.innerText=t.innerText||"",t.innerText="",t.appendChild(n),n},or=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?(k(n)||n.setAttribute("tabindex",e),n):ar(t)},rr=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},lr={none:void 0,small:"d-p4",medium:"d-p8",large:"d-p16"},dr={none:void 0,small:"d-pl4",medium:"d-pl8",large:"d-pl16"},ur=["dialog","menu","listbox","tree","grid"],cr=[null,"anchor"],pr=["none","dialog","first"],hr=["parent"],fr=[...nr];let mr="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",gr=(t=21)=>{let e="",n=t;while(n--)e+=mr[64*Math.random()|0];return e};function vr(t){return vr="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},vr(t)}var br={selector:"vue-portal-target-".concat(gr())},yr=function(t){return br.selector=t},_r="undefined"!==typeof window&&void 0!==("undefined"===typeof document?"undefined":vr(document)),Sr=f().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)}}),xr=f().extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(br.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(_r)return document.querySelector(this.selector)},insertTargetEl:function(){if(_r){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(_r){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new Sr({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function wr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.name||"portal",xr),e.defaultSelector&&yr(e.defaultSelector)}"undefined"!==typeof window&&window.Vue&&window.Vue===f()&&f().use(wr);var Cr=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)},Ir=[];const Or={name:"PopoverHeaderFooter",components:{DtButton:ie,DtIcon:ft},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()}}},Er=Or;var kr=j(Er,Cr,Ir,!1,null,null,null);const Lr=kr.exports,Dr={name:"DtPopover",components:{SrOnlyCloseButton:ue,DtLazyShow:Mi,PopoverHeaderFooter:Lr,Portal:xr},mixins:[be,se],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=>ur.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(lr).some((e=>e===t))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:t=>cr.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return x()}},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=>fr.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=>pr.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1},appendTo:{type:[HTMLElement,String],default:()=>document.body,validator:t=>hr.includes(t)||t instanceof HTMLElement}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:lr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:dr,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&&x("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(t){var e;null===(e=this.tip)||void 0===e||e.setProps({zIndex:t?650:this.calculateAnchorZindex()})},offset(t){var e;null===(e=this.tip)||void 0===e||e.setProps({offset:t})},sticky(t){var e;null===(e=this.tip)||void 0===e||e.setProps({sticky:t})},fallbackPlacements(){var t;null===(t=this.tip)||void 0===t||t.setProps({popperOptions:this.popperOptions()})},tether(){var t;null===(t=this.tip)||void 0===t||t.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.initTippyInstance():t||e===t||(this.removeEventListeners(),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,this.isOpen&&this.initTippyInstance()},beforeDestroy(){var t;null===(t=this.tip)||void 0===t||t.destroy(),this.removeReferences(),this.removeEventListeners()},methods:{popperOptions(){return sr({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()},async onContext(t){this.openOnContext&&(t.preventDefault(),this.isOpen=!0,await this.$nextTick(),this.tip.setProps({placement:"right-start",getReferenceClientRect:()=>({width:0,height:0,top:t.clientY,bottom:t.clientY,left:t.clientX,right:t.clientX})}))},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(t){null===this.open&&this.openWithArrowKeys&&this.anchorEl.contains(t.target)&&(this.isOpen||(this.isOpen=!0))},addEventListeners(){window.addEventListener("dt-popover-close",this.closePopover),"anchor"===this.contentWidth&&window.addEventListener("resize",this.onResize)},removeEventListeners(){window.removeEventListener("dt-popover-close",this.closePopover),"anchor"===this.contentWidth&&window.removeEventListener("resize",this.onResize)},closePopover(){this.isOpen=!1},async preventScrolling(){if(await this.$nextTick(),this.modal){const t=this.anchorEl.closest("body, .tippy-box");"body"===t.tagName.toLowerCase()?t.classList.add("d-of-hidden"):t.classList.add("d-zi-popover")}},async enableScrolling(){if(await this.$nextTick(),this.modal){const t=this.anchorEl.closest("body, .tippy-box");"body"===t.tagName.toLowerCase()?t.classList.remove("d-of-hidden"):t.classList.remove("d-zi-popover")}},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&&(await this.focusFirstElement(this.$refs.anchor),await this.$nextTick()),null===(t=this.tip)||void 0===t||t.unmount(),this.enableScrolling(),this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),this.preventScrolling(),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()},initTippyInstance(){this.tip=ir(this.anchorEl,{popperOptions:this.popperOptions(),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,sticky:this.sticky,appendTo:this.appendTo,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow}),this.tip.setProps({zIndex:this.modal?650:this.calculateAnchorZindex()}),this.tip.show(),this.addEventListeners()}}},Tr=Dr;n(155);var Ar=j(Tr,Fi,qi,!1,null,null,null);const Pr=Ar.exports,$r={none:void 0,small:"d-py0",large:"d-py4"},Mr={name:"DtDropdown",components:{DtPopover:Pr,SrOnlyCloseButton:ue},mixins:[rn({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),se],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},padding:{type:String,default:"small",validator:t=>Object.keys($r).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 x()}},navigationType:{type:String,default:hn.ARROW_KEYS,validator:t=>Object.values(hn).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:hn,DROPDOWN_PADDING_CLASSES:$r,EVENT_KEYNAMES:u,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:t=>{this.updateInitialHighlightIndex(t)},keydown:t=>{const e=t.code;switch(e){case u.up:case u.arrowup:this.onUpKeyPress(t),t.stopPropagation(),t.preventDefault();break;case u.down:case u.arrowdown:this.onDownKeyPress(t),t.stopPropagation(),t.preventDefault();break;case u.space:case u.spacebar:this.onSpaceKey();break;case u.enter:this.onEnterKey();break;case u.home:this.onHomeKeyPress(t),t.stopPropagation(),t.preventDefault();break;case u.end:this.onEndKeyPress(t),t.stopPropagation(),t.preventDefault();break;default:this.onKeyPress(t);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-stack2","d-m4","d-px0",$r[this.padding],this.listClass,{"d-context-menu-list":this.openOnContext}]},shouldOpenWithArrowKeys(){return!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)}}},Br=Mr;n(427);var Rr=j(Br,Vi,Hi,!1,null,null,null);const Nr=Rr.exports;var jr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"dt-list-separator d-bgc-black-300 d-my4 d-mxn4",attrs:{"aria-hidden":"true"}})},Vr=[];const Hr={name:"DtDropdownSeparator"},Fr=Hr;n(717);var qr=j(Fr,jr,Vr,!1,null,null,null);const zr=qr.exports;var Kr=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.labelVisible&&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)},Wr=[];const Gr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Ur={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var Zr=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 s=e.message,a=e.type;return n("div",{key:t.getMessageKey(a,i),class:["base-input__message","d-validation-message",t.messageTypeClass(a)],attrs:{role:"status","aria-live":"polite","data-qa":"validation-message"}},[n("p",{domProps:{innerHTML:t._s(s)}})])})),0):t._e()},Yr=[];function Xr(t){return!t||t.every((t=>"string"===typeof t||"object"===typeof t&&Object.values(o).includes(null===t||void 0===t?void 0:t.type)))}const Qr={name:"DtValidationMessages",props:{id:{type:String,default(){return x()}},validationMessages:{type:Array,default:()=>[],validator:t=>Xr(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return I(this.validationMessages)},validationState(){return O(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]}}},Jr=Qr;var tl=j(Jr,Zr,Yr,!1,null,null,null);const el=tl.exports,nl={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(o).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||f().util.warn("You must provide an aria-label when there is no label passed",this)}}},il={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}}},sl={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&&f().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)}},al={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>Xr(t)}},computed:{formattedMessages(){return C(this.messages)}}},ol={name:"DtInput",components:{DtValidationMessages:el},mixins:[al],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Gr.TEXT,validator:t=>Object.values(Gr).includes(t)},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},size:{type:String,default:null,validator:t=>Object.values(Ur).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(Ur).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===Gr.TEXTAREA},isDefaultSize(){return this.size===Ur.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Ur.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Ur).includes(this.size)},isValidDescriptionSize(){return Object.values(r).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-${x()}`},inputState(){return O(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.value)},validationProps(){var t,e,n,i,s,a,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===(s=this.validate)||void 0===s||null===(a=s.length)||void 0===a?void 0:a.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?o.WARNING:null:o.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}}},rl=ol;var ll=j(rl,Kr,Wr,!1,null,null,null);const dl=ll.exports;var ul=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)},cl=[];const pl={components:{DtValidationMessages:el},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return x()}},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=>Xr(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=C(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:O(t)}}},computed:{formattedMessages(){return C(this.messages)},validationState(){return O(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"]||f().util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},hl={name:"DtInputGroup",components:{DtValidationMessages:el},mixins:[pl],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}`}}},fl=hl;var ml=j(fl,ul,cl,!1,null,null,null);const gl=ml.exports;var vl=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,t.bannerKindClass],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",{class:["d-modal__content",t.contentClass],attrs:{"data-qa":"dt-modal-copy"}},[t._t("default")],2):n("p",{class:["d-modal__content",t.contentClass],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)},bl=[];const yl={default:"",danger:"d-modal--danger"},_l={default:"",full:"d-modal--full"},Sl={error:"d-modal__banner--critical",info:"d-modal__banner--info",success:"d-modal__banner--success",warning:"d-modal__banner--warning",base:"d-modal__banner--general"};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)},wl=[];const Cl={name:"DtNotice",components:{DtNoticeIcon:Lt,DtNoticeContent:Mt,DtNoticeAction:fe},mixins:[se],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 Ct.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return wt.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}]}}},Il=Cl;var Ol=j(Il,xl,wl,!1,null,null,null);const El=Ol.exports,kl={name:"DtModal",components:{DtLazyShow:Mi,DtButton:ie,DtIcon:ft,SrOnlyCloseButton:ue},mixins:[be,se],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return x()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(yl).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(_l).includes(t)},modalClass:{type:[String,Object,Array],default:""},dialogClass:{type:[String,Object,Array],default:""},contentClass:{type:[String,Object,Array],default:""},bannerKind:{type:String,default:"warning",validate(t){return wt.includes(t)}},bannerClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},fixedHeaderFooter:{type:Boolean,default:!0}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:yl,MODAL_SIZE_MODIFIERS:_l,MODAL_BANNER_KINDS:Sl,EVENT_KEYNAMES:u}},computed:{modalListeners(){return{...this.$listeners,click:t=>{t.target===t.currentTarget&&this.close(),this.$emit("click",t)},keydown:t=>{switch(t.code){case u.esc:case u.escape:this.close();break;case u.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},bannerKindClass(){return Sl[this.bannerKind]}},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")}}},Ll=kl;var Dl=j(Ll,vl,bl,!1,null,null,null);const Tl=Dl.exports;var Al=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)])},Pl=[];const $l={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:ie},props:{id:{type:String,default(){return A.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}}},Ml=$l;n(792);var Bl=j(Ml,Al,Pl,!1,null,null,null);const Rl=Bl.exports;var Nl=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)},jl=[];const Vl={name:"DtListItemGroup",props:{id:{type:String,default(){return x()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}},Hl=Vl;var Fl=j(Hl,Nl,jl,!1,null,null,null);const ql=Fl.exports;var zl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"d-d-flex d-fd-row d-gg4 d-ai-center",attrs:{"aria-label":t.ariaLabel}},[n("dt-button",{staticClass:"d-px8",class:t.isFirstPage?"d-fc-black-300 h:d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-prev","aria-label":t.prevAriaLabel,kind:"muted",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:"300"}})],1)],2),t._l(t.pages,(function(e,i){return n("div",{key:"page-"+e+"-"+i,class:{"d-as-flex-end":isNaN(Number(e))}},[isNaN(Number(e))?n("div",{staticClass:"d-fc-tertiary d-w24 d-ta-center",attrs:{"data-qa":"dt-pagination-separator"}},[n("dt-icon",{attrs:{name:"more-horizontal",size:"300"}})],1):n("dt-button",{attrs:{"aria-label":t.pageNumberAriaLabel(e),kind:t.currentPage===e?"default":"muted",importance:t.currentPage===e?"primary":"clear","label-class":""},on:{click:function(n){return t.changePage(e)}}},[t._v(" "+t._s(e)+" ")])],1)})),n("dt-button",{staticClass:"d-px8",class:t.isLastPage?"d-fc-black-300 h:d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-next","aria-label":t.nextAriaLabel,disabled:t.isLastPage,kind:"muted",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:"300"}})],1)],2)],2)},Kl=[];const Wl={name:"DtPagination",components:{DtButton:ie,DtIcon:ft},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),s=this.currentPage-i,a=this.currentPage+i;return[1,"...",...this.range(s,a),"...",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)}}},Gl=Wl;var Ul=j(Gl,zl,Kl,!1,null,null,null);const Zl=Ul.exports;var Yl=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)])])},Xl=[];const Ql={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Jl={name:"DtRadio",components:{DtValidationMessages:el},mixins:[nl,il,sl,al],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Ql[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))}}},td=Jl;var ed=j(td,Yl,Xl,!1,null,null,null);const nd=ed.exports,id={name:"DtRadioGroup",extends:gl,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}`}}},sd=id;var ad,od,rd=j(sd,ad,od,!1,null,null,null);const ld=rd.exports;var dd=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)},ud=[];const cd=["default","sm"],pd={sm:"d-tablist--sm"},hd={inverted:"d-tablist--inverted"},fd={borderless:"d-tablist--no-border"},md={selected:"d-tab--selected"},gd={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 cd.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:pd,TAB_LIST_KIND_MODIFIERS:hd,TAB_LIST_IMPORTANCE_MODIFIERS:fd}},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())}}},vd=gd;var bd=j(vd,dd,ud,!1,null,null,null);const yd=bd.exports;var _d=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 xd={name:"DtTab",components:{DtButton:ie},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:md}},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})}}},wd=xd;var Cd=j(wd,_d,Sd,!1,null,null,null);const Id=Cd.exports;var Od=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:t.isFirstElementFocusable?-1:0,"aria-labelledby":"dt-tab-"+t.tabId,"aria-hidden":""+t.hidePanel,"data-qa":"dt-tab-panel"}},[t._t("default")],2)},Ed=[];const kd={name:"DtTabPanel",mixins:[be],inject:["groupContext"],props:{id:{type:String,required:!0},tabId:{type:String,required:!0},hidden:{type:Boolean,default:!1},tabPanelClass:{type:[String,Array,Object],default:""}},data(){return{isFirstElementFocusable:!1}},computed:{hidePanel(){return this.groupContext.selected!==this.id||this.hidden}},async mounted(){const t=await this.getFirstFocusableElement(this.$el);this.isFirstElementFocusable=!!t&&this.isFirstElementOfPanel(t)},methods:{isFirstElementOfPanel(t){let e=t,n=!0;while(e){if(null!==e.previousElementSibling){n=!1;break}e=e.parentNode!==this.$el?e.parentNode:null}return n}}},Ld=kd;var Dd=j(Ld,Od,Ed,!1,null,null,null);const Td=Dd.exports;var Ad=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()])])},Pd=[];const $d={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},Md={name:"DtCheckbox",components:{DtValidationMessages:el},mixins:[nl,il,sl,al],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return $d[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"])}}},Bd=Md;var Rd=j(Bd,Ad,Pd,!1,null,null,null);const Nd=Rd.exports,jd={name:"DtCheckboxGroup",extends:gl,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>!t||(f().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}`}}},Vd=jd;var Hd,Fd,qd=j(Vd,Hd,Fd,!1,null,null,null);const zd=qd.exports;var Kd=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({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}},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)},Wd=[];const Gd={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Ud={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},Zd={xs:"200",sm:"200",md:"200"},Yd={name:"DtChip",components:{DtButton:ie,DtIcon:ft},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(Gd).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return x()}},ariaLabel:{type:String,default:""},contentClass:{type:[String,Array,Object],default:""},labelClass:{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 Zd[this.size]}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?["d-chip",...this.labelClass]:"d-chip__label",Gd[this.size]]},chipCloseButtonClasses(){return["d-chip__close",Ud[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},Xd=Yd;var Qd=j(Xd,Kd,Wd,!1,null,null,null);const Jd=Qd.exports;var tu=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)},eu=[];const nu={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},iu={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},su=t=>!t.index||"number"===typeof t.index,au=t=>!!t.value&&("string"===typeof t.value||"number"===typeof t.value),ou=t=>!!t.label&&"string"===typeof t.label,ru=t=>!t||t.every((t=>!!su(t)&&(!!au(t)&&!!ou(t)))),lu={name:"DtSelectMenu",components:{DtValidationMessages:el},mixins:[al],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>ru(t)},size:{type:String,default:"md",validator:t=>Object.keys(nu).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:d,DESCRIPTION_SIZE_MODIFIERS:l,SELECT_SIZE_MODIFIERS:nu,SELECT_STATE_MODIFIERS:iu}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return O(this.formattedMessages)},selectKey(){return x()},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&&f().util.warn("Options are expected to be provided via prop or slot",this)}}},du=lu;var uu=j(du,tu,eu,!1,null,null,null);const cu=uu.exports;var pu=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()},hu=[];const fu=["status","alert"],mu=6e3,gu={name:"DtToast",components:{DtNoticeIcon:Lt,DtNoticeContent:Mt,DtNoticeAction:fe},mixins:[se],props:{titleId:{type:String,default(){return A.getUniqueString()}},contentId:{type:String,default(){return A.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>fu.includes(t)},kind:{type:String,default:"base",validator:t=>wt.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>=mu}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:mu}},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))}}},vu=gu;var bu=j(vu,pu,hu,!1,null,null,null);const yu=bu.exports;var _u=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 xu={sm:"d-toggle--small",md:""},wu=[!1,!0,"mixed"],Cu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return A.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>wu.includes(t)},toggleOnClick:{type:Boolean,default:!0},size:{type:String,default:"md",validator:t=>Object.keys(xu).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",xu[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.$emit("change",!this.internalChecked),this.toggleOnClick&&(this.internalChecked=!this.internalChecked)},hasSlotLabel(){return!!this.$slots.default},runValidations(){this.validateInputLabels(this.hasSlotLabel(),this.$attrs["aria-label"])},validateInputLabels(t,e){t||e||f().util.warn("You must provide an aria-label when there is no label passed",this)}}},Iu=Cu;var Ou=j(Iu,_u,Su,!1,null,null,null);const Eu=Ou.exports;var ku=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{attrs:{"data-qa":"dt-tooltip-container"}},[i("a",{ref:"anchor",attrs:{role:"presentation","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)},Lu=[];const Du=[...er],Tu={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Au=[...nr],Pu=[!0,!1,"toggle"],$u={name:"Tooltip",components:{DtLazyShow:Mi},props:{id:{type:String,default(){return x()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return Du.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>Au.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:Tu,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:sr({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){t?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(t){this.tip.setProps({sticky:t})}},mounted(){this.tip=ir(or(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 or(this.$refs.anchor).matches(":focus-visible")},onEnterAnchor(t){"focusin"===t.type?null===this.show&&this.hasVisibleFocus()&&(this.isShown=!0):null===this.show&&(this.isShown=!0)},onLeaveAnchor(){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}}}},Mu=$u;n(664);var Bu=j(Mu,ku,Lu,!1,null,null,null);const Ru=Bu.exports;var Nu=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)},ju=[];const Vu={"{win}":"layout-grid","{arrow-right}":"arrow-right","{arrow-left}":"arrow-left","{arrow-up}":"arrow-up","{arrow-down}":"arrow-down","{cmd}":"command"},Hu={"{plus}":"plus"},Fu=Object.keys(Vu),qu={name:"DtKeyboardShortcut",components:{DtIcon:ft},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Vu,separator:/\+/gi}},computed:{icons(){return{...Vu,...Hu}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(Vu).reduce(((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),Vu[e])),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp(`(${t})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}},zu=qu;var Ku=j(zu,Nu,ju,!1,null,null,null);const Wu=Ku.exports;var Gu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"root-layout d-root-layout"},[t.$slots.header?n("header",{class:["root-layout__header",t.headerClass,{"root-layout__header--sticky":t.headerSticky}],style:{height:t.headerHeight,"min-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,"header-height":t.$slots.header?t.headerHeight:"0px","footer-height":t.$slots.footer?t.footerHeight:"0px",fixed:t.fixed},scopedSlots:t._u([t.$slots.sidebar?{key:"sidebar",fn:function(){return[t._t("sidebar")]},proxy:!0}:null,t.$slots.default?{key:"content",fn:function(){return[t._t("default")]},proxy:!0}:null],null,!0)}),t.$slots.footer?n("footer",{class:["root-layout__footer",t.footerClass],style:{height:t.footerHeight,"min-height":t.footerHeight},attrs:{"data-qa":"root-layout-footer"}},[t._t("footer")],2):t._e()],1)},Uu=[],Zu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root-layout-body",class:["root-layout__body",{"d-of-y-auto":t.isInMobileMode},"d-fl-grow1",t.bodyClasses],style:{height:t.isInMobileMode?t.mainHeight:null},attrs:{"data-qa":"root-layout-body"}},[t.$slots.sidebar?n("aside",{ref:"root-layout-sidebar",class:["root-layout__sidebar",{"d-of-y-auto":!t.isInMobileMode},t.sidebarClass],style:{"flex-basis":t.sidebarWidth,height:t.isInMobileMode?null:t.mainHeight},attrs:{"data-qa":"root-layout-sidebar"}},[t._t("sidebar")],2):t._e(),t.$slots.content?n("main",{ref:"root-layout-content",class:["root-layout__content",{"d-of-y-auto":!t.isInMobileMode},t.contentClass],style:{"min-inline-size":t.contentWrapWidthPercent,height:t.isInMobileMode?null:t.mainHeight},attrs:{"data-qa":"root-layout-content",tabindex:"0"}},[t._t("content")],2):t._e()])},Yu=[];const Xu={LEFT:"left",RIGHT:"right"},Qu={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},headerHeight:{type:String,default:void 0},footerHeight:{type:String,default:void 0},fixed:{type:Boolean,default:void 0}},data(){return{sidebarTop:null,contentTop:null,documentHeight:null}},computed:{bodyClasses(){return[this.bodyClass,{"root-layout__body--invert":this.sidebarPosition===Xu.RIGHT}]},mainHeight(){return this.fixed?`calc(${this.documentHeight} - (${this.headerHeight} + ${this.footerHeight}))`:null},isInMobileMode(){return this.contentTop>this.sidebarTop}},mounted(){window.addEventListener("resize",this.onResize),this.getDocumentHeight(),this.getElementTops()},beforeDestroy(){window.removeEventListener("resize",this.onResize)},methods:{onResize(){this.getDocumentHeight(),this.getElementTops()},getElementTops(){var t,e;this.sidebarTop=null===(t=this.$refs["root-layout-sidebar"])||void 0===t?void 0:t.offsetTop,this.contentTop=null===(e=this.$refs["root-layout-content"])||void 0===e?void 0:e.offsetTop},getDocumentHeight(){this.documentHeight=window.innerHeight+"px"}}},Ju=Qu;n(263);var tc=j(Ju,Zu,Yu,!1,null,null,null);const ec=tc.exports,nc={name:"DtRootLayout",components:{DtRootLayoutBody:ec},props:{fixed:{type:Boolean,default:!0},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(Xu).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}},ic=nc;n(987);var sc=j(ic,Gu,Uu,!1,null,null,null);const ac=sc.exports;var oc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.as,{tag:"component",class:["d-stack",t.defaultDirection,t.stackResponsive,t.stackGap]},[t._t("default")],2)},rc=[];const lc={default:"column",column:"column",row:"row","row-reverse":"row-reverse","column-reverse":"column-reverse"},dc=["sm","md","lg","xl"],uc=["0","100","200","300","400","500","600"];function cc(t){return t===lc["default"]}function pc(t){if("string"===hc(t))return cc(t)?null:lc[t];if("object"===hc(t)){const{default:e}=t;return cc(e)?null:lc[e]}return null}function hc(t){return typeof t}function fc(t){return pc(t)?`d-stack--${lc[pc(t)]}`:null}function mc(t){return"object"===hc(t)?[...dc.map((e=>t[e]?`d-stack--${e}--${t[e]}`:null))]:null}function gc(t){return uc.includes(t)?`d-stack--gap-${t}`:null}function vc(t){if("string"===hc(t))return Object.keys(lc).includes(t);if("object"===hc(t)){const{default:e}=t;return Object.keys(lc).includes(e)}return null}function bc(t){return uc.includes(t)}const yc={name:"DtStack",props:{direction:{type:[String,Object],default:"column",validator:t=>vc(t)},as:{type:String,default:"div"},gap:{type:String,default:"0",validator:t=>bc(t)}},data(){return{DT_STACK_DIRECTION:lc,DT_STACK_GAP:uc,DT_STACK_RESPONSIVE_BREAKPOINTS:dc}},computed:{stackGap(){return gc(this.gap)},defaultDirection(){return fc(this.direction)},stackResponsive(){return mc(this.direction)}}},_c=yc;var Sc=j(_c,oc,rc,!1,null,null,null);const xc=Sc.exports;var wc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-combobox",t._g({ref:"combobox",attrs:{loading:t.loading,label:t.label,"label-visible":t.labelVisible,size:t.size,description:t.description,"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-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,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,s=e.listProps,a=e.clearHighlightIndex;return[n("dt-popover",{ref:"popover",attrs:{open:t.isListShown,"hide-on-click":!1,"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,"append-to":t.appendTo,"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"},[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:a,focusout:a}},[t.loading?n("combobox-loading-list",t._b({},"combobox-loading-list",s,!1)):t.emptyList&&t.emptyStateMessage?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage}},"combobox-empty-list",s,!1)):t._t("list",null,{listProps:s})],2)]},proxy:!0},{key:"footerContent",fn:function(){return[t.$slots.footer?n("div",{ref:"footer"},[t._t("footer")],2):t._e()]},proxy:!0}],null,!0)})]}}],null,!0)},t.comboboxListeners))},Cc=[];const Ic={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:Si,DtPopover:Pr,ComboboxLoadingList:ui,ComboboxEmptyList:gi},mixins:[se],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(vi).includes(t)},description:{type:String,default:""},showList:{type:Boolean,default:null},listId:{type:String,default(){return x()}},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($r).some((e=>e===t))},contentWidth:{type:String,default:null,validator:t=>cr.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:""},appendTo:{type:[HTMLElement,String],default:()=>document.body,validator:t=>hr.includes(t)||t instanceof HTMLElement}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:$r,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:x()}},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){t?window.addEventListener("mousedown",this.onFocusOut):window.removeEventListener("mousedown",this.onFocusOut),this.onOpened(t)}},methods:{handleDisplayList(t){!this.hasSuggestionList&&t&&this.showComboboxList(),this.hasSuggestionList||t||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=Object.keys(this.$refs).some((e=>{const n=this.$refs[e];return n.$el?n.$el.contains(t.target):n.contains(t.target)}));e||this.closeComboboxList()},openOnArrowKeyPress(){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},Oc=Ic;var Ec=j(Oc,wc,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("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{label:t.label,"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","append-to":t.appendTo},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 d-d-block"},[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,class:["d-mt4","d-mx2","d-zi-base1"],attrs:{"label-class":["d-chip__label"],"close-button-props":{ariaLabel:"close"},size:t.CHIP_SIZES[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",attrs:{"aria-label":t.label,label:t.labelVisible?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)})},Dc=[];const Tc={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},Ac={xs:"xs",sm:"xs",md:"sm"},Pc={xs:1.4,sm:.4,md:.2},$c={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:kc,DtInput:dl,DtChip:Jd,DtValidationMessages:el},mixins:[se],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},placeholder:{type:String,default:"Select one or start typing"},inputMessages:{type:Array,default:()=>[],validator:t=>Xr(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(Tc).includes(t)},appendTo:{type:[HTMLElement,String],default:()=>document.body,validator:t=>hr.includes(t)||t instanceof HTMLElement}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,4],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null,originalInputSize:null,CHIP_SIZES:Ac}},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.setChipsTopPosition(),this.setInputMinWidth(),this.checkMaxSelected()}},async label(){await this.$nextTick(),this.setChipsTopPosition()},async description(){await this.$nextTick(),this.setChipsTopPosition()},size:{async handler(){await this.$nextTick();const t=this.getInput();this.revertInputPadding(t),this.originalInputSize=t.getBoundingClientRect().height,this.setInputPadding(),this.setChipsTopPosition()},immediate:!0}},mounted(){this.resizeWindowObserver=new ResizeObserver((async()=>{this.setChipsTopPosition(),this.setInputPadding()})),this.resizeWindowObserver.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(){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-Pc[this.size]+"px"},setInputPadding(){const t=this.getLastChip(),e=this.getInput(),n=this.$refs.chipsWrapper;if(!e)return;if(this.revertInputPadding(e),this.popoverOffset=[0,4],!t)return;const i=t.offsetLeft+this.getFullWidth(t);e.style.paddingLeft=i+"px";const s=n.getBoundingClientRect().height-4,a=t.offsetTop+2;s>this.originalInputSize&&(e.style.paddingTop=`${a}px`)},revertInputPadding(t){t.style.paddingLeft="",t.style.paddingTop="",t.style.paddingBottom=""},getFullWidth(t){const e=window.getComputedStyle(t);return t.offsetWidth+parseInt(e.marginLeft)+parseInt(e.marginRight)},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)}}},Mc=$c;var Bc=j(Mc,Lc,Dc,!1,null,null,null);const Rc=Bc.exports;var Nc=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)},jc=[];const Vc={name:"DtRecipeCallbarButton",components:{DtButton:ie,DtTooltip:Ru},inheritAttrs:!0,props:{id:{type:String,default(){return A.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-px0",{"dt-recipe-callbar-button--circle":this.circle,"dt-recipe-callbar-button--active":this.active,"dt-recipe-callbar-button--danger":this.danger}]}}},Hc=Vc;n(39);var Fc=j(Hc,Nc,jc,!1,null,null,null);const qc=Fc.exports;var zc=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)},Kc=[];const Wc={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:qc,DtPopover:Pr,DtButton:ie,DtIcon:ft},inheritAttrs:!1,props:{id:{type:String,default(){return A.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}}},Gc=Wc;n(724);var Uc=j(Gc,zc,Kc,!1,null,null,null);const Zc=Uc.exports;var Yc=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:{size:"lg"}},[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)})},Xc=[];const Qc={none:"",green:"d-bgc-green-300",gold:"d-bgc-gold-200",red:"d-bgc-red-200"},Jc={name:"DtRecipeContactInfo",components:{DtAvatar:et,DtListItem:wn},props:{id:{type:String,default(){return A.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarInitials:{type:String,default:""},userStatusColor:{type:String,default:"none",validator:t=>Object.keys(Qc).includes(t)}},data(){return{USER_STATUS_COLOR_MODIFIERS:Qc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},tp=Jc;var ep=j(tp,Yc,Xc,!1,null,null,null);const np=ep.exports;var ip=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 d-fc-primary",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)])},sp=[];const ap=["green300","green100","red200","red100","gold100","gold200","black100","white"],op={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return ap.includes(t)}}},computed:{bannerInfoClass(){const t={green300:"d-bgc-success",green100:"d-bgc-success",red200:"d-bgc-critical",red100:"d-bgc-critical",gold200:"d-bgc-warning",gold100:"d-bgc-warning",black100:"d-bgc-info",white:"d-bgc-primary"};return[t[this.colorCode]]}}},rp=op;n(486);var lp=j(rp,ip,sp,!1,null,null,null);const dp=lp.exports;var up=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",{class:["d-fc-black-900",{ivr_node__goto_icon:t.isGotoNode}],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)},cp=[];const pp="promptmenu",hp="promptcollect",fp="promptplay",mp="gotoexpert",gp="goto",vp="branch",bp="transfer",yp="hangup",_p={[pp]:"keypad",[hp]:"dialer",[fp]:"volume-2",[mp]:"expert-node",[vp]:"branch",[gp]:"call-merge",[bp]:"transfer",[yp]:"phone-hang-up"},Sp={[pp]:"Menu",[hp]:"Collect",[fp]:"Play",[mp]:"Expert",[vp]:"Branch",[gp]:"Go-to",[bp]:"Transfer",[yp]:"Hangup"},xp={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"}},wp={[pp]:xp.PROMPT,[hp]:xp.PROMPT,[fp]:xp.PROMPT,[mp]:xp.LOGIC,[vp]:xp.LOGIC,[gp]:xp.LOGIC,[bp]:xp.TERMINAL,[yp]:xp.TERMINAL},Cp={name:"DtRecipeIvrNode",components:{DtCard:en,DtButton:ie,DtDropdown:Nr,DtIcon:ft},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 _p[this.nodeType]},headerColor(){const{normal:t,selected:e}=wp[this.nodeType];return this.isSelected?e:t},isGotoNode(){return this.nodeType===gp}},methods:{openMenu(){this.isOpen=!0}}},Ip=Cp;n(183);var Op=j(Ip,up,cp,!1,null,null,null);const Ep=Op.exports;var kp=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)},Lp=[];const Dp={name:"DtRecipeGroupedChip",components:{DtChip:Jd},computed:{}},Tp=Dp;var Ap=j(Tp,kp,Lp,!1,null,null,null);const Pp=Ap.exports})(),i})()));
|
|
2
2
|
//# sourceMappingURL=dialtone-vue.umd.min.js.map
|