@dialpad/dialtone-vue 2.83.4 → 2.84.0-alpha.1
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 +94 -2
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +13 -13
- package/dist/dialtone-vue.js +3899 -3690
- package/dist/emoji.cjs +1 -1
- package/dist/emoji.js +1 -1
- package/dist/emoji_text_wrapper-524f0a53.cjs +1 -0
- package/dist/{emoji_text_wrapper-1b295e1b.js → emoji_text_wrapper-f35f1bfa.js} +819 -781
- package/dist/style.css +1 -1
- package/package.json +8 -6
- package/dist/emoji_text_wrapper-f588a5a5.cjs +0 -1
package/dist/dialtone-vue.cjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const X=require("vue"),_=require("./emoji_text_wrapper-f588a5a5.cjs"),ee={ERROR:"error",WARNING:"warning",SUCCESS:"success"},Gi={LARGE:"lg",EXTRA_LARGE:"xl"},ya={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},Sa={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},H={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"},Ki=ee.ERROR,Ca="dt";var Pe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xa(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function wa(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function i(){if(this instanceof i){var a=[null];a.push.apply(a,arguments);var o=Function.bind.apply(e,a);return new o}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var a=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(n,i,a.get?a:{enumerable:!0,get:function(){return t[i]}})}),n}var Rn={exports:{}};Rn.exports;(function(t){(function(e,n,i){function a(s){var u=this,d=c();u.next=function(){var l=2091639*u.s0+u.c*23283064365386963e-26;return u.s0=u.s1,u.s1=u.s2,u.s2=l-(u.c=l|0)},u.c=1,u.s0=d(" "),u.s1=d(" "),u.s2=d(" "),u.s0-=d(s),u.s0<0&&(u.s0+=1),u.s1-=d(s),u.s1<0&&(u.s1+=1),u.s2-=d(s),u.s2<0&&(u.s2+=1),d=null}function o(s,u){return u.c=s.c,u.s0=s.s0,u.s1=s.s1,u.s2=s.s2,u}function p(s,u){var d=new a(s),l=u&&u.state,f=d.next;return f.int32=function(){return d.next()*4294967296|0},f.double=function(){return f()+(f()*2097152|0)*11102230246251565e-32},f.quick=f,l&&(typeof l=="object"&&o(l,d),f.state=function(){return o(d,{})}),f}function c(){var s=4022871197,u=function(d){d=String(d);for(var l=0;l<d.length;l++){s+=d.charCodeAt(l);var f=.02519603282416938*s;s=f>>>0,f-=s,f*=s,s=f>>>0,f-=s,s+=f*4294967296}return(s>>>0)*23283064365386963e-26};return u}n&&n.exports?n.exports=p:i&&i.amd?i(function(){return p}):this.alea=p})(Pe,t,!1)})(Rn);var Ea=Rn.exports,kn={exports:{}};kn.exports;(function(t){(function(e,n,i){function a(c){var s=this,u="";s.x=0,s.y=0,s.z=0,s.w=0,s.next=function(){var l=s.x^s.x<<11;return s.x=s.y,s.y=s.z,s.z=s.w,s.w^=s.w>>>19^l^l>>>8},c===(c|0)?s.x=c:u+=c;for(var d=0;d<u.length+64;d++)s.x^=u.charCodeAt(d)|0,s.next()}function o(c,s){return s.x=c.x,s.y=c.y,s.z=c.z,s.w=c.w,s}function p(c,s){var u=new a(c),d=s&&s.state,l=function(){return(u.next()>>>0)/4294967296};return l.double=function(){do var f=u.next()>>>11,h=(u.next()>>>0)/4294967296,v=(f+h)/(1<<21);while(v===0);return v},l.int32=u.next,l.quick=l,d&&(typeof d=="object"&&o(d,u),l.state=function(){return o(u,{})}),l}n&&n.exports?n.exports=p:i&&i.amd?i(function(){return p}):this.xor128=p})(Pe,t,!1)})(kn);var Ia=kn.exports,Pn={exports:{}};Pn.exports;(function(t){(function(e,n,i){function a(c){var s=this,u="";s.next=function(){var l=s.x^s.x>>>2;return s.x=s.y,s.y=s.z,s.z=s.w,s.w=s.v,(s.d=s.d+362437|0)+(s.v=s.v^s.v<<4^(l^l<<1))|0},s.x=0,s.y=0,s.z=0,s.w=0,s.v=0,c===(c|0)?s.x=c:u+=c;for(var d=0;d<u.length+64;d++)s.x^=u.charCodeAt(d)|0,d==u.length&&(s.d=s.x<<10^s.x>>>4),s.next()}function o(c,s){return s.x=c.x,s.y=c.y,s.z=c.z,s.w=c.w,s.v=c.v,s.d=c.d,s}function p(c,s){var u=new a(c),d=s&&s.state,l=function(){return(u.next()>>>0)/4294967296};return l.double=function(){do var f=u.next()>>>11,h=(u.next()>>>0)/4294967296,v=(f+h)/(1<<21);while(v===0);return v},l.int32=u.next,l.quick=l,d&&(typeof d=="object"&&o(d,u),l.state=function(){return o(u,{})}),l}n&&n.exports?n.exports=p:i&&i.amd?i(function(){return p}):this.xorwow=p})(Pe,t,!1)})(Pn);var Oa=Pn.exports,Nn={exports:{}};Nn.exports;(function(t){(function(e,n,i){function a(c){var s=this;s.next=function(){var d=s.x,l=s.i,f,h;return f=d[l],f^=f>>>7,h=f^f<<24,f=d[l+1&7],h^=f^f>>>10,f=d[l+3&7],h^=f^f>>>3,f=d[l+4&7],h^=f^f<<7,f=d[l+7&7],f=f^f<<13,h^=f^f<<9,d[l]=h,s.i=l+1&7,h};function u(d,l){var f,h=[];if(l===(l|0))h[0]=l;else for(l=""+l,f=0;f<l.length;++f)h[f&7]=h[f&7]<<15^l.charCodeAt(f)+h[f+1&7]<<13;for(;h.length<8;)h.push(0);for(f=0;f<8&&h[f]===0;++f);for(f==8?h[7]=-1:h[f],d.x=h,d.i=0,f=256;f>0;--f)d.next()}u(s,c)}function o(c,s){return s.x=c.x.slice(),s.i=c.i,s}function p(c,s){c==null&&(c=+new Date);var u=new a(c),d=s&&s.state,l=function(){return(u.next()>>>0)/4294967296};return l.double=function(){do var f=u.next()>>>11,h=(u.next()>>>0)/4294967296,v=(f+h)/(1<<21);while(v===0);return v},l.int32=u.next,l.quick=l,d&&(d.x&&o(d,u),l.state=function(){return o(u,{})}),l}n&&n.exports?n.exports=p:i&&i.amd?i(function(){return p}):this.xorshift7=p})(Pe,t,!1)})(Nn);var Ta=Nn.exports,Bn={exports:{}};Bn.exports;(function(t){(function(e,n,i){function a(c){var s=this;s.next=function(){var d=s.w,l=s.X,f=s.i,h,v;return s.w=d=d+1640531527|0,v=l[f+34&127],h=l[f=f+1&127],v^=v<<13,h^=h<<17,v^=v>>>15,h^=h>>>12,v=l[f]=v^h,s.i=f,v+(d^d>>>16)|0};function u(d,l){var f,h,v,S,C,O=[],R=128;for(l===(l|0)?(h=l,l=null):(l=l+"\0",h=0,R=Math.max(R,l.length)),v=0,S=-32;S<R;++S)l&&(h^=l.charCodeAt((S+32)%l.length)),S===0&&(C=h),h^=h<<10,h^=h>>>15,h^=h<<4,h^=h>>>13,S>=0&&(C=C+1640531527|0,f=O[S&127]^=h+C,v=f==0?v+1:0);for(v>=128&&(O[(l&&l.length||0)&127]=-1),v=127,S=4*128;S>0;--S)h=O[v+34&127],f=O[v=v+1&127],h^=h<<13,f^=f<<17,h^=h>>>15,f^=f>>>12,O[v]=h^f;d.w=C,d.X=O,d.i=v}u(s,c)}function o(c,s){return s.i=c.i,s.w=c.w,s.X=c.X.slice(),s}function p(c,s){c==null&&(c=+new Date);var u=new a(c),d=s&&s.state,l=function(){return(u.next()>>>0)/4294967296};return l.double=function(){do var f=u.next()>>>11,h=(u.next()>>>0)/4294967296,v=(f+h)/(1<<21);while(v===0);return v},l.int32=u.next,l.quick=l,d&&(d.X&&o(d,u),l.state=function(){return o(u,{})}),l}n&&n.exports?n.exports=p:i&&i.amd?i(function(){return p}):this.xor4096=p})(Pe,t,!1)})(Bn);var La=Bn.exports,Mn={exports:{}};Mn.exports;(function(t){(function(e,n,i){function a(c){var s=this,u="";s.next=function(){var l=s.b,f=s.c,h=s.d,v=s.a;return l=l<<25^l>>>7^f,f=f-h|0,h=h<<24^h>>>8^v,v=v-l|0,s.b=l=l<<20^l>>>12^f,s.c=f=f-h|0,s.d=h<<16^f>>>16^v,s.a=v-l|0},s.a=0,s.b=0,s.c=-1640531527,s.d=1367130551,c===Math.floor(c)?(s.a=c/4294967296|0,s.b=c|0):u+=c;for(var d=0;d<u.length+20;d++)s.b^=u.charCodeAt(d)|0,s.next()}function o(c,s){return s.a=c.a,s.b=c.b,s.c=c.c,s.d=c.d,s}function p(c,s){var u=new a(c),d=s&&s.state,l=function(){return(u.next()>>>0)/4294967296};return l.double=function(){do var f=u.next()>>>11,h=(u.next()>>>0)/4294967296,v=(f+h)/(1<<21);while(v===0);return v},l.int32=u.next,l.quick=l,d&&(typeof d=="object"&&o(d,u),l.state=function(){return o(u,{})}),l}n&&n.exports?n.exports=p:i&&i.amd?i(function(){return p}):this.tychei=p})(Pe,t,!1)})(Mn);var Aa=Mn.exports,Ui={exports:{}};const $a={},Da=Object.freeze(Object.defineProperty({__proto__:null,default:$a},Symbol.toStringTag,{value:"Module"})),Ra=wa(Da);(function(t){(function(e,n,i){var a=256,o=6,p=52,c="random",s=i.pow(a,o),u=i.pow(2,p),d=u*2,l=a-1,f;function h(r,b,g){var w=[];b=b==!0?{entropy:!0}:b||{};var I=O(C(b.entropy?[r,k(n)]:r??R(),3),w),L=new v(w),A=function(){for(var E=L.g(o),T=s,$=0;E<u;)E=(E+$)*a,T*=a,$=L.g(1);for(;E>=d;)E/=2,T/=2,$>>>=1;return(E+$)/T};return A.int32=function(){return L.g(4)|0},A.quick=function(){return L.g(4)/4294967296},A.double=A,O(k(L.S),n),(b.pass||g||function(E,T,$,N){return N&&(N.S&&S(N,L),E.state=function(){return S(L,{})}),$?(i[c]=E,T):E})(A,I,"global"in b?b.global:this==i,b.state)}function v(r){var b,g=r.length,w=this,I=0,L=w.i=w.j=0,A=w.S=[];for(g||(r=[g++]);I<a;)A[I]=I++;for(I=0;I<a;I++)A[I]=A[L=l&L+r[I%g]+(b=A[I])],A[L]=b;(w.g=function(E){for(var T,$=0,N=w.i,j=w.j,B=w.S;E--;)T=B[N=l&N+1],$=$*a+B[l&(B[N]=B[j=l&j+T])+(B[j]=T)];return w.i=N,w.j=j,$})(a)}function S(r,b){return b.i=r.i,b.j=r.j,b.S=r.S.slice(),b}function C(r,b){var g=[],w=typeof r,I;if(b&&w=="object")for(I in r)try{g.push(C(r[I],b-1))}catch{}return g.length?g:w=="string"?r:r+"\0"}function O(r,b){for(var g=r+"",w,I=0;I<g.length;)b[l&I]=l&(w^=b[l&I]*19)+g.charCodeAt(I++);return k(b)}function R(){try{var r;return f&&(r=f.randomBytes)?r=r(a):(r=new Uint8Array(a),(e.crypto||e.msCrypto).getRandomValues(r)),k(r)}catch{var b=e.navigator,g=b&&b.plugins;return[+new Date,e,g,e.screen,k(n)]}}function k(r){return String.fromCharCode.apply(0,r)}if(O(i.random(),n),t.exports){t.exports=h;try{f=Ra}catch{}}else i["seed"+c]=h})(typeof self<"u"?self:Pe,[],Math)})(Ui);var ka=Ui.exports,Pa=Ea,Na=Ia,Ba=Oa,Ma=Ta,Fa=La,Va=Aa,Ne=ka;Ne.alea=Pa;Ne.xor128=Na;Ne.xorwow=Ba;Ne.xorshift7=Ma;Ne.xor4096=Fa;Ne.tychei=Va;var ja=Ne;const Wi=xa(ja);let za=0,di;const Ha=typeof setImmediate=="function"?setImmediate:setTimeout;function V(t=Ca){return`${t}${za++}`}function Bt(t,e){const n=Wi(e);return t[Math.floor(n()*t.length)]}function dt(t){return t?t.map(e=>typeof e=="string"?{message:e,type:Ki}:e):[]}function Fn(t){const e=Ce(t);return!t||!e?[]:t.filter(n=>!!n.message&&n.type===e)}function Ce(t){return t?Mt(t,ee.ERROR)?ee.ERROR:Mt(t,ee.WARNING)?ee.WARNING:Mt(t,ee.SUCCESS)?ee.SUCCESS:null:null}function Mt(t,e){return!t||!e?!1:t.some(n=>(n==null?void 0:n.type)===e)}const qa={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new X({name:"Inner",beforeCreate(){this.$createElement=t},template:`<div>${e.props.html}</div>`}).$mount()._vnode.children}},Ga=()=>new Promise(t=>{Ha(t)}),Yi=t=>t==null?void 0:t.toLowerCase().split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("");function Ka(t,e=300){clearTimeout(di),di=setTimeout(t,e)}function Zi(t){const e=t.getBoundingClientRect(),n={top:e.top<0,left:e.left<0,bottom:e.bottom>(window.innerHeight||document.documentElement.clientHeight),right:e.right>(window.innerWidth||document.documentElement.clientWidth)};return n.any=Object.values(n).some(i=>i),n.all=Object.values(n).every(i=>i),n}const ae={getUniqueString:V,getRandomElement:Bt,formatMessages:dt,filterFormattedMessages:Fn,hasFormattedMessageOfType:Mt,getValidationState:Ce,htmlFragment:qa,flushPromises:Ga,kebabCaseToPascalCase:Yi,debounce:Ka,isOutOfViewPort:Zi},Ge={BUSY:"busy",AWAY:"away",OFFLINE:"offline",ACTIVE:"active"},Xi=[Ge.BUSY,Ge.AWAY,Ge.OFFLINE,Ge.ACTIVE],Ua={name:"DtPresence",props:{presence:{type:String,default:Ge.ACTIVE,validator:t=>Xi.includes(t)},srText:{type:String,default:null}}};var Wa=function(){var e=this,n=e._self._c;return n("div",{staticClass:"d-presence",attrs:{"data-qa":"dt-presence",role:"status","aria-live":e.$attrs.ariaLive||"off"}},[e.srText?n("span",{staticClass:"sr-only",attrs:{"data-qa":"dt-presence-sr-text"}},[e._v(e._s(e.srText)+" ")]):e._e(),n("div",{staticClass:"d-presence__inner",class:{"d-presence__inner--active":e.presence==="active","d-presence__inner--away":e.presence==="away","d-presence__inner--busy":e.presence==="busy","d-presence__inner--offline":e.presence==="offline"}})])},Ya=[],Za=_.normalizeComponent(Ua,Wa,Ya,!1,null,null,null,null);const Qi=Za.exports,Xa={name:"DtIcon",props:{size:{type:String,default:"500",validator:t=>Object.keys(_.ICON_SIZE_MODIFIERS).includes(t)},name:{type:String,required:!0},ariaLabel:{type:String,default:void 0}},computed:{iconSize(){return _.ICON_SIZE_MODIFIERS[this.size]},iconName(){return Yi(this.name)},currentIcon(){return _.DIALTONE_ICONS[this.iconName]}}};var Qa=function(){var e=this,n=e._self._c;return e.currentIcon?n(e.currentIcon,{tag:"component",class:e.iconSize,attrs:{"data-qa":"dt-icon","aria-hidden":e.ariaLabel?"false":"true","aria-label":e.ariaLabel}}):e._e()},Ja=[],er=_.normalizeComponent(Xa,Qa,Ja,!1,null,null,null,null);const M=er.exports,Ft={xs:"d-avatar--xs",sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg",xl:"d-avatar--xl"},gn={default:"",icon:"d-avatar__icon",initials:"d-avatar__initials"},tr={md:"d-avatar__presence--md",lg:"d-avatar__presence--lg"},ci={NONE:"",BUSY:"busy",AWAY:"away",OFFLINE:"offline",ACTIVE:"active"},nr=[45,-45,90,-90,135,-135,180,-180],ui={with100:["purple-100","magenta-100","gold-100","blue-100"],with200:["purple-200","magenta-200","gold-200","blue-200"]},ir=3,sr=2,pi=t=>t>1;const ar={name:"DtAvatar",components:{DtPresence:Qi,DtIcon:M},inheritAttrs:!1,props:{id:{type:String,default(){return V()}},seed:{type:String,default:void 0},size:{type:String,default:"md",validator:t=>Object.keys(Ft).includes(t)},avatarClass:{type:[String,Array,Object],default:""},canvasClass:{type:[String,Array,Object],default:""},presence:{type:String,default:ci.NONE,validator:t=>Object.values(ci).includes(t)},presenceProps:{type:Object,default:()=>({})},initials:{type:String,default:""},gradient:{type:Boolean,default:!0},group:{type:Number,default:void 0,validator:t=>pi(t)},overlayIcon:{type:String,default:""},overlayText:{type:String,default:""},overlayClass:{type:[String,Array,Object],default:""}},data(){return{kind:null,AVATAR_SIZE_MODIFIERS:Ft,AVATAR_KIND_MODIFIERS:gn,AVATAR_PRESENCE_SIZE_MODIFIERS:tr,imageLoadedSuccessfully:null,slottedInitials:"",formattedInitials:"",initializing:!1}},computed:{avatarClasses(){return["d-avatar",Ft[this.validatedSize],this.avatarClass,{"d-avatar--no-gradient":!this.gradient,"d-avatar--group":this.showGroup}]},overlayClasses(){return["d-bgc-black-900 d-o70 d-ps-absolute d-w100p d-h100p d-d-flex d-ai-center d-bar-circle d-zi-base",this.overlayClass]},showDefaultSlot(){return this.kind!=="initials"||this.kind==="image"&&this.imageLoadedSuccessfully===!0},showInitials(){return this.kind==="initials"||this.kind==="image"&&this.initials&&this.imageLoadedSuccessfully!==!0},showGroup(){return pi(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},validatedSize(){return this.group?"xs":this.size}},mounted(){this.init()},updated(){this.init()},methods:{async init(){var e;if(this.initializing)return;this.kind=null,await this.$nextTick();const t=((e=this.$refs.canvas)==null?void 0:e.firstElementChild)||this.$refs.canvas;this.formatInitials(this.initials),t&&(this.setKind(t),this.kindHandler(t)),this.initializing=!0,await this.$nextTick(),this.initializing=!1},kindHandler(t){switch(this.kind){case"image":t.classList.add("d-avatar__image"),this.validateImageAttrsPresence(),this.setImageListeners(t);break;case"icon":t.classList.add(gn.icon);break;case"initials":this.slottedInitials=t.text||t.textContent,this.formatInitials(this.slottedInitials.trim()||this.initials);break}},setImageListeners(t){t.addEventListener("load",()=>this._loadedImageEventHandler(t),{once:!0}),t.addEventListener("error",()=>this._erroredImageEventHandler(t),{once:!0})},formatInitials(t){!t||this.validatedSize==="xs"?this.formattedInitials="":this.validatedSize==="sm"?this.formattedInitials=t.trim()[0]:this.formattedInitials=t.trim().slice(0,2)},setKind(t){if(this.isIconType(t)){this.kind="icon";return}if(this.isImageType(t)){this.kind="image";return}this.kind="initials"},isIconType(t){var e;return((e=t==null?void 0:t.tagName)==null?void 0:e.toUpperCase())==="SVG"},isImageType(t){var e;return((e=t==null?void 0:t.tagName)==null?void 0:e.toUpperCase())==="IMG"},randomizeGradientAngle(){return Bt(nr,this.seed)},randomizeGradientColorStops(){const t=new Set;let e=0;for(;t.size<ir;){const i=this.seed===void 0?void 0:this.seed+e.toString();t.size===sr?t.add(Bt(ui.with200,i)):t.add(Bt(ui.with100,i)),e++}const n=Wi(this.seed);return Array.from(t).sort(()=>.5-n())},validateImageAttrsPresence(){const t=!this.$refs.canvas.firstChild.getAttribute("src"),e=this.$refs.canvas.firstChild.getAttribute("alt")===null;(t||e)&&X.util.warn("src and alt attributes are required for image avatars",this)},_loadedImageEventHandler(t){this.imageLoadedSuccessfully=!0,t.classList.remove("d-d-none"),t.classList.add("d-avatar--image-loaded")},_erroredImageEventHandler(t){this.imageLoadedSuccessfully=!1,t.classList.remove("d-avatar--image-loaded"),t.classList.add("d-d-none")}}};var rr=function(){var e=this,n=e._self._c;return n("div",{class:e.avatarClasses,style:e.initialKindStyle,attrs:{id:e.id,"data-qa":"dt-avatar"}},[n("div",{ref:"canvas",class:[e.canvasClass,"d-avatar__canvas"]},[e.showDefaultSlot?e._t("default"):e._e(),e.showInitials?n("span",{staticClass:"d-ps-absolute d-zi-base",class:e.AVATAR_KIND_MODIFIERS.initials},[e._v(" "+e._s(e.formattedInitials)+" ")]):e._e()],2),e.overlayIcon||e.overlayText?n("div",{class:e.overlayClasses},[e.overlayIcon?n("dt-icon",{staticClass:"d-fc-white d-w100p",attrs:{name:e.overlayIcon}}):e.overlayText?n("p",{staticClass:"d-fs-200 d-fw-bold d-fc-white d-w100p d-ta-center"},[e._v(" "+e._s(e.overlayText)+" ")]):e._e()],1):e._e(),e.showGroup?n("span",{staticClass:"d-avatar__count d-zi-base",attrs:{"data-qa":"dt-avatar-count"}},[e._v(e._s(e.formattedGroup))]):e._e(),e.presence&&!e.showGroup?n("dt-presence",e._b({staticClass:"d-zi-base",class:["d-avatar__presence",e.AVATAR_PRESENCE_SIZE_MODIFIERS[e.size]],attrs:{presence:e.presence,"data-qa":"dt-presence"}},"dt-presence",e.presenceProps,!1)):e._e()],1)},or=[],lr=_.normalizeComponent(ar,rr,or,!1,null,null,null,null);const Kt=lr.exports,vn={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"},bn={label:"",count:"d-badge--count"},yn={"black-400":"d-badge--decorate-black-400","black-500":"d-badge--decorate-black-500","black-900":"d-badge--decorate-black-900","red-200":"d-badge--decorate-red-200","red-300":"d-badge--decorate-red-300","red-400":"d-badge--decorate-red-400","purple-200":"d-badge--decorate-purple-200","purple-300":"d-badge--decorate-purple-300","purple-400":"d-badge--decorate-purple-400","purple-500":"d-badge--decorate-purple-500","blue-200":"d-badge--decorate-blue-200","blue-300":"d-badge--decorate-blue-300","blue-400":"d-badge--decorate-blue-400","green-300":"d-badge--decorate-green-300","green-400":"d-badge--decorate-green-400","green-500":"d-badge--decorate-green-500","gold-300":"d-badge--decorate-gold-300","gold-400":"d-badge--decorate-gold-400","gold-500":"d-badge--decorate-gold-500","magenta-200":"d-badge--decorate-magenta-200","magenta-300":"d-badge--decorate-magenta-300","magenta-400":"d-badge--decorate-magenta-400"},dr={name:"DtBadge",components:{DtIcon:M},props:{iconLeft:{type:String,default:""},iconRight:{type:String,default:""},text:{type:String,default:""},kind:{type:String,default:"label",validator:t=>Object.keys(bn).includes(t)},type:{type:String,default:"default",validator:t=>Object.keys(vn).includes(t)},decoration:{type:String,default:void 0,validator:t=>Object.keys(yn).includes(t)}},data(){return{BADGE_TYPE_MODIFIERS:vn,BADGE_KIND_MODIFIERS:bn,BADGE_DECORATION_MODIFIERS:yn}},computed:{hasIcons(){return this.iconLeft!==""||this.iconRight!==""}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{validateProps(){this.validateTypePropCombination(),this.validateDecorationPropCombination()},validateTypePropCombination(){this.type==="ai"&&this.kind==="count"&&console.error("DtBadge error: type: 'ai' with kind: 'count' is an invalid combination.")},validateDecorationPropCombination(){this.decoration&&((this.kind!=="label"||this.type!=="default")&&console.error("DtBadge error: decoration prop can only be used with kind: 'label' and type: 'default'."),this.hasIcons&&console.error("DtBadge error: decoration prop cannot be used with iconLeft or iconRight."))}}};var cr=function(){var e=this,n=e._self._c;return n("span",{class:["d-badge",e.BADGE_TYPE_MODIFIERS[e.type],e.BADGE_KIND_MODIFIERS[e.kind],e.BADGE_DECORATION_MODIFIERS[e.decoration]],attrs:{"data-qa":"dt-badge"}},[e.decoration?n("span",{staticClass:"d-badge__decorative"}):e._e(),e.iconLeft||e.type==="ai"?n("span",{staticClass:"d-badge__icon-left"},[n("dt-icon",{attrs:{name:e.iconLeft||"dialpad-ai",size:"200"}})],1):e._e(),n("span",{staticClass:"d-badge__label"},[e._t("default",function(){return[e._v(" "+e._s(e.text)+" ")]})],2),e.iconRight?n("span",{staticClass:"d-badge__icon-right"},[n("dt-icon",{attrs:{name:e.iconRight,size:"200"}})],1):e._e()])},ur=[],pr=_.normalizeComponent(dr,cr,ur,!1,null,null,null,null);const Ji=pr.exports,Xe=["base","error","info","success","warning"],fr=["alert","alertdialog","status"],hr=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),mr={name:"DtNoticeIcon",components:{DtIcon:M},props:{kind:{type:String,default:"base",validate(t){return Xe.includes(t)}}},computed:{defaultIcon(){return hr.get(this.kind)}}};var _r=function(){var e=this,n=e._self._c;return e.defaultIcon||e.$slots.default?n("div",{staticClass:"d-notice__icon",attrs:{"aria-hidden":"true"}},[e._t("default",function(){return[n("dt-icon",{attrs:{name:e.defaultIcon,size:"400"}})]})],2):e._e()},gr=[],vr=_.normalizeComponent(mr,_r,gr,!1,null,null,null,null);const Vn=vr.exports,br={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}};var yr=function(){var e=this,n=e._self._c;return n("div",{staticClass:"d-notice__content",attrs:{"data-qa":"notice-content"}},[e.title||e.$slots.titleOverride?n("p",{staticClass:"d-notice__title",attrs:{id:e.titleId,"data-qa":"notice-content-title"}},[e._t("titleOverride",function(){return[e._v(" "+e._s(e.title)+" ")]})],2):e._e(),n("p",{staticClass:"d-notice__message",attrs:{id:e.contentId,"data-qa":"notice-content-message"}},[e._t("default")],2)])},Sr=[],Cr=_.normalizeComponent(br,yr,Sr,!1,null,null,null,null);const jn=Cr.exports,cn={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},fi={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},hi={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},xr=["submit","reset","button"],mi={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},wr=[{circle:!0,kind:"default",importance:"primary",message:kt(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:kt(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:kt(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:kt(!1,"muted","primary")}];function kt(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 Er="danger",Ir="warning",Or="success",es="muted",ts="inverted",ns=["",Er,Ir,Or,es,ts],Ht={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},Tr={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(mi).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(hi).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys(Ht).includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>xr.includes(t)},width:{type:String,default:null},size:{type:String,default:"md",validator:t=>Object.keys(cn).includes(t)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:t=>Object.keys(fi).includes(t)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:mi,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(){process.env.NODE_ENV!=="production"&&(this.circle&&this.link&&X.util.warn("You cannot enable circle and link at the same time",this),this.isInvalidPropCombination(this.circle,this.kind,this.importance))}}},methods:{buttonClasses(){return this.link?["d-link",Ht[this.linkKind],cn[this.size]]:["d-btn",hi[this.importance],fi[this.kind],cn[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 wr)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)}}};var Lr=function(){var e=this,n=e._self._c;return n("button",e._g({class:["base-button__button",e.buttonClasses()],style:{width:e.width},attrs:{"data-qa":"dt-button",type:e.type,disabled:e.disabled,"aria-live":e.computedAriaLive,"aria-label":e.loading?"loading":e.$attrs["aria-label"]}},e.buttonListeners),[e.shouldRenderIcon()?n("span",{class:["base-button__icon","d-btn__icon",e.ICON_POSITION_MODIFIERS[e.iconPosition]],attrs:{"data-qa":"dt-button-icon"}},[e._t("icon")],2):e._e(),e.$slots.default?n("span",{class:["d-btn__label","base-button__label",e.labelClass],attrs:{"data-qa":"dt-button-label"}},[e._t("default")],2):e._e()])},Ar=[],$r=_.normalizeComponent(Tr,Lr,Ar,!1,null,null,null,null);const q=$r.exports,ge={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&&this.visuallyHiddenCloseLabel!=null}},methods:{validateVisuallyHiddenCloseProps(){this.visuallyHiddenClose&&!this.visuallyHiddenCloseLabel&&console.error(`If visuallyHiddenClose prop is true, the component includes
|
|
2
|
-
a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.`)}}},
|
|
3
|
-
background-size: ${this.backgroundSize};`}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(
|
|
4
|
-
`)])},vo=[],bo=_.normalizeComponent(_o,go,vo,!1,null,null,null,null);const yo=bo.exports,So={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){if(e==="center"){this.scrollIntoView(t,"center",!1,n,i);return}e===!1?this.scrollIntoView(t,"bottom",!1,n,i):this.scrollIntoView(t,"top",!1,n,i)},scrollIntoViewIfNeeded(t,e,n,i){const a=e?"center":void 0;this.scrollIntoView(t,a,!0,n,i)},scrollIntoView(t,e,n,i,a){if(!t||!t.parentElement)return;const o=t.offsetTop,p=a||t.parentElement,c=this._getScrollBounds(p),s=c.bottom-c.top,u=this._getElementHeight(t),d=o+u;let l=-1;switch(e){case"top":l=o;break;case"center":l=o+(u-s)/2;break;case"bottom":l=l=d-s;break;default:o-c.top<=s/2?l=o:l=d-s;break}this._setScrollTop(p,l,c,o,d,n,i)},_setScrollTop(t,e,n,i,a,o,p){n=n||this._getScrollBounds(t);const c=n.bottom-n.top;if(o&&this._inScrollBounds(i,a,n))if(i<n.top)e=i;else if(a>n.bottom)e=a-c;else return;p?t.scrollTo({top:e,behavior:p}):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}}},Co="listElementKey is required or the referenced element doesn't exist. Received listElement: ",Hn=({listItemRole:t="option",indexKey:e="highlightIndex",idKey:n="highlightId",listElementKey:i="listRef",activeItemKey:a="",openMethod:o=null,afterHighlightMethod:p=null,beginningOfListMethod:c=null,endOfListMethod:s=null,scrollToOnHighlight:u=!0,focusOnKeyboardNavigation:d=!1}={})=>({mixins:[So],data(){return{[e]:-1,[n]:"",scrollToOnHighlight:u,focusOnKeyboardNavigation:d}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var l;return((l=this[i]())==null?void 0:l.$el)||this[i]()},_itemsLength(){const l=this._getListItemNodes();return l===null?0:l.length},_getListItemNodes(){const l=this._getListElement();return l?Array.from(l.querySelectorAll(`[role="${t}"], #sr-only-close-button`)):(console.error(Co,l),null)},onUpKey(){o&&this[o](!0),this[e]>0?this.setHighlightIndex(this[e]-1):c&&this[c](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){o&&this[o](!0),this[e]<this._itemsLength()-1?this.setHighlightIndex(this[e]+1):s&&this[s](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(l){const f=this._getListItemNodes(),h=f.filter(C=>C.textContent.trim().toLowerCase().startsWith(l.toLowerCase()));if(h.length<=0)return;const v=h.findIndex(C=>this[e]===f.indexOf(C)),S=f.indexOf(v<h.length-1?h[v+1]:h[0]);this.setHighlightIndex(S),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidCharacter(l){return l.length===1},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},setHighlightIndex(l){this[e]=l,this[n]=this._getItemId(l),this._itemsLength()&&p&&this[p](l)},setHighlightId(l){this[n]=l,this[e]=this._getItemIndex(l),this._itemsLength()&&p&&this[p](this._getItemIndex(l))},_getItemIndex(l){const f=this._getListElement();return f?Array.from(f.querySelectorAll(`[role="${t}"], #sr-only-close-button`)).indexOf(f.querySelector(`#${l}`)):void 0},_getItemId(l){var h;const f=this._getListElement();if(f)return(h=f.querySelectorAll(`[role="${t}"], #sr-only-close-button`)[l])==null?void 0:h.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const l=this[a];if(l){const f=this._getListElement();this.scrollElementIntoViewIfNeeded(l,null,null,f)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const l=this[a];l&&l.focus()}}}),un={DEFAULT:"default",CUSTOM:"custom"},$e={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};const xo={name:"DtDefaultListItem"};var wo=function(){var e=this,n=e._self._c;return n("div",{staticClass:"dt-default-list-item d-fs-200 d-lh-300 d-py4 d-px8 d-d-flex d-ai-center"},[e.$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 d-jc-flex-end",attrs:{"data-qa":"dt-default-list-item-left-wrapper"}},[e._t("left")],2):e._e(),n("section",{staticClass:"d-fl-grow1"},[e.$slots.default?n("div",[e._t("default")],2):e._e(),e.$slots.subtitle?n("div",{class:["d-fs-100 d-fc-tertiary",{"d-mtn2":e.$slots.default}],attrs:{"data-qa":"dt-default-list-item-subtitle-wrapper"}},[e._t("subtitle")],2):e._e(),e.$slots.bottom?n("div",{staticClass:"d-mt2",attrs:{"data-qa":"dt-default-list-item-bottom-wrapper"}},[e._t("bottom")],2):e._e()]),e.$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"}},[e._t("right")],2):e._e(),e._t("selected")],2)},Eo=[],Io=_.normalizeComponent(xo,wo,Eo,!1,null,null,null,null);const _i=Io.exports;const Oo={name:"DtListItem",components:{DtDefaultListItem:_i,DtIcon:M},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return ae.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:un.DEFAULT,validator:t=>Object.values(un).includes(t)},navigationType:{type:String,default:$e.NONE,validator:t=>Object.values($e).includes(t)},selected:{type:Boolean,default:!1}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case un.DEFAULT:return _i;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:!1},isFocusable(){return this.navigationType===$e.TAB},isHoverable(){return this.navigationType!==$e.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}};var To=function(){var e=this,n=e._self._c;return n(e.elementType,e._g({tag:"component",class:["dt-list-item d-ls-none",{"dt-list-item--focusable":e.isFocusable,"dt-list-item--highlighted":e.isHighlighted,"dt-list-item--static":!e.isHoverable}],attrs:{id:e.id,tabindex:e.isFocusable?0:-1,role:e.role,"aria-selected":e.isHighlighted}},e.listItemListeners),[e.listItemType?n(e.listItemType,{tag:"component",scopedSlots:e._u([e._l(e.$slots,function(i,a){return{key:a,fn:function(){return[e._t(a)]},proxy:!0}}),e.selected?{key:"selected",fn:function(){return[n("dt-icon",{staticClass:"d-ml8",attrs:{name:"check",size:"400"}})]},proxy:!0}:null],null,!0)}):e._t("default")],2)},Lo=[],Ao=_.normalizeComponent(Oo,To,Lo,!1,null,null,null,null);const gt=Ao.exports,$o={name:"ComboboxLoadingList",components:{DtListItem:gt,DtSkeleton:_.DtSkeleton}};var Do=function(){var e=this,n=e._self._c;return n("ol",{staticClass:"d-p0 d-mt8 d-hmx332 d-of-y-auto",attrs:{"aria-busy":"true"}},e._l(7,function(i){return n("dt-list-item",{key:i,attrs:{role:"option","navigation-type":"none"}},[n("dt-skeleton",{attrs:{"text-option":{type:"body"},offset:0}})],1)}),1)},Ro=[],ko=_.normalizeComponent($o,Do,Ro,!1,null,null,null,null);const ds=ko.exports;const Po={name:"ComboboxEmptyList",components:{DtListItem:gt},props:{message:{type:String,required:!0},itemClass:{type:[String,Object,Array],default:""}}};var No=function(){var e=this,n=e._self._c;return n("ol",{staticClass:"d-p0",attrs:{"data-qa":"dt-combobox-empty-list"}},[e._t("default",function(){return[n("dt-list-item",{class:["dt-empty-list-item",e.itemClass],attrs:{role:"option","navigation-type":"none",type:"custom"}},[n("span",[e._v(e._s(e.message))])])]})],2)},Bo=[],Mo=_.normalizeComponent(Po,No,Bo,!1,null,null,null,null);const cs=Mo.exports,us={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},Fo={name:"DtCombobox",components:{ComboboxLoadingList:ds,ComboboxEmptyList:cs},mixins:[Hn({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(us).includes(t)},description:{type:String,default:""},listId:{type:String,default(){return V()}},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;return this.outsideRenderedListRef??((t=this.$refs.listWrapper)==null?void 0:t.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&&((t=this.activeItemEl)==null||t.click()))},onEscapeKey(){this.$emit("escape")},onOpen(t,e){var n;this.outsideRenderedListRef=e,(n=this.outsideRenderedListRef)==null||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
|
|
5
|
-
empty message.`)}}};var Vo=function(){var e=this,n=e._self._c;return n("div",{on:{keydown:[function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"esc",27,i.key,["Esc","Escape"])?null:(i.stopPropagation(),e.onKeyValidation(i,"onEscapeKey"))},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")||i.ctrlKey||i.shiftKey||i.altKey||i.metaKey?null:e.onKeyValidation(i,"onEnterKey")},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"up",38,i.key,["Up","ArrowUp"])?null:(i.stopPropagation(),i.preventDefault(),e.onKeyValidation(i,"onUpKey"))},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"down",40,i.key,["Down","ArrowDown"])?null:(i.stopPropagation(),i.preventDefault(),e.onKeyValidation(i,"onDownKey"))},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"home",void 0,i.key,void 0)?null:(i.stopPropagation(),i.preventDefault(),e.onKeyValidation(i,"onHomeKey"))},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"end",void 0,i.key,void 0)?null:(i.stopPropagation(),i.preventDefault(),e.onKeyValidation(i,"onEndKey"))}]}},[n("div",{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[e._t("input",null,{inputProps:e.inputProps})],2),e.showList?n("div",{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{mouseleave:e.clearHighlightIndex,focusout:e.clearHighlightIndex,"!mousemove":function(i){return e.onMouseHighlight.apply(null,arguments)}}},[e.loading&&!e.listRenderedOutside?n("combobox-loading-list",e._b({},"combobox-loading-list",e.listProps,!1)):e.emptyList&&(e.emptyStateMessage||e.$slots.emptyListItem)&&!e.listRenderedOutside?n("combobox-empty-list",e._b({attrs:{message:e.emptyStateMessage,"item-class":e.emptyStateClass}},"combobox-empty-list",e.listProps,!1),[e._t("emptyListItem")],2):e._t("list",null,{listProps:e.listProps,opened:e.onOpen,clearHighlightIndex:e.clearHighlightIndex})],2):e._e()])},jo=[],zo=_.normalizeComponent(Fo,Vo,jo,!1,null,null,null,null);const ps=zo.exports;const Ho={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 process.env.NODE_ENV!=="test"}},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}}};var qo=function(){var e=this,n=e._self._c;return n("transition",e._g({attrs:{appear:e.appear,"enter-active-class":"enter-active","leave-active-class":"leave-active",css:e.isCSSEnabled},on:{"before-enter":e.beforeEnter,enter:e.enter,"after-enter":e.afterEnter,"before-leave":e.beforeLeave,leave:e.leave,"after-leave":e.afterLeave}},e.$listeners),[n(e.elementType,e._g({directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],tag:"component"},e.$listeners),[e.initialized?e._t("default"):e._e()],2)],1)},Go=[],Ko=_.normalizeComponent(Ho,qo,Go,!1,null,null,null,null);const Uo=Ko.exports,Wo={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 process.env.NODE_ENV!=="test"}},watch:{show:function(t){!t||this.initialized||(this.initialized=!0)}}};var Yo=function(){var e=this,n=e._self._c;return n("transition",e._g({attrs:{name:e.transition,appear:e.appear,css:e.isCSSEnabled}},e.$listeners),[n("div",e._g({directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}]},e.$listeners),[e.initialized?e._t("default"):e._e()],2)])},Zo=[],Xo=_.normalizeComponent(Wo,Yo,Zo,!1,null,null,null,null);const Qe=Xo.exports,Qo={name:"DtCollapsible",components:{DtButton:q,DtCollapsibleLazyShow:Uo,DtLazyShow:Qe,DtIcon:M},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return V()}},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&&V("DtCollapsible__anchor")}},watch:{open:{handler:function(t){t!==null&&(this.isOpen=t)},immediate:!0}},mounted(){this.validateProperAnchor()},methods:{onLeaveTransitionComplete(){this.$emit("opened",!1),this.open!==null&&this.$emit("update:open",!1)},onEnterTransitionComplete(){this.$emit("opened",!0,this.$refs.content),this.open!==null&&this.$emit("update:open",!0)},defaultToggleOpen(){this.open===null&&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")}}};var Jo=function(){var e=this,n=e._self._c;return n(e.elementType,e._g({ref:"collapsible",tag:"component"},e.$listeners),[n("div",{ref:"anchor",class:["d-dt-collapsibe__anchor",e.anchorClass],attrs:{id:!e.ariaLabelledBy&&e.labelledBy}},[e._t("anchor",function(){return[n("dt-button",{style:{width:e.maxWidth},attrs:{importance:"clear",kind:"muted","aria-controls":e.id,"aria-expanded":`${e.isOpen}`},on:{click:e.defaultToggleOpen}},[n("dt-icon",{staticClass:"d-icon d-icon--size-300 d-mr8 d-fl-shrink0",attrs:{name:e.isOpen?"chevron-down":"chevron-right"}}),n("span",{staticClass:"d-mr-auto d-truncate",attrs:{title:e.anchorText}},[e._v(" "+e._s(e.anchorText)+" ")])],1)]},{attrs:{"aria-controls":e.id,"aria-expanded":e.isOpen.toString(),role:"button"}})],2),n("dt-collapsible-lazy-show",e._g({ref:"contentWrapper",class:["d-dt-collapsible__content",e.contentClass],style:{"max-height":e.maxHeight,"max-width":e.maxWidth},attrs:{id:e.id,"aria-hidden":`${!e.isOpen}`,"aria-labelledby":e.labelledBy,"aria-label":e.ariaLabel,show:e.isOpen,"element-type":e.contentElementType,tabindex:"-1",appear:""},on:{"after-leave":e.onLeaveTransitionComplete,"after-enter":e.onEnterTransitionComplete}},e.$listeners),[e._t("content")],2)],1)},el=[],tl=_.normalizeComponent(Qo,Jo,el,!1,null,null,null,null);const nl=tl.exports;var U="top",te="bottom",ne="right",W="left",Wt="auto",vt=[U,te,ne,W],Ue="start",ct="end",il="clippingParents",fs="viewport",st="popper",sl="reference",gi=vt.reduce(function(t,e){return t.concat([e+"-"+Ue,e+"-"+ct])},[]),hs=[].concat(vt,[Wt]).reduce(function(t,e){return t.concat([e,e+"-"+Ue,e+"-"+ct])},[]),al="beforeRead",rl="read",ol="afterRead",ll="beforeMain",dl="main",cl="afterMain",ul="beforeWrite",pl="write",fl="afterWrite",Cn=[al,rl,ol,ll,dl,cl,ul,pl,fl];function ue(t){return t?(t.nodeName||"").toLowerCase():null}function Q(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Re(t){var e=Q(t).Element;return t instanceof e||t instanceof Element}function Z(t){var e=Q(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function qn(t){if(typeof ShadowRoot>"u")return!1;var e=Q(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function hl(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var i=e.styles[n]||{},a=e.attributes[n]||{},o=e.elements[n];!Z(o)||!ue(o)||(Object.assign(o.style,i),Object.keys(a).forEach(function(p){var c=a[p];c===!1?o.removeAttribute(p):o.setAttribute(p,c===!0?"":c)}))})}function ml(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(i){var a=e.elements[i],o=e.attributes[i]||{},p=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:n[i]),c=p.reduce(function(s,u){return s[u]="",s},{});!Z(a)||!ue(a)||(Object.assign(a.style,c),Object.keys(o).forEach(function(s){a.removeAttribute(s)}))})}}const ms={name:"applyStyles",enabled:!0,phase:"write",fn:hl,effect:ml,requires:["computeStyles"]};function se(t){return t.split("-")[0]}var De=Math.max,qt=Math.min,We=Math.round;function xn(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function _s(){return!/^((?!chrome|android).)*safari/i.test(xn())}function Ye(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var i=t.getBoundingClientRect(),a=1,o=1;e&&Z(t)&&(a=t.offsetWidth>0&&We(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&We(i.height)/t.offsetHeight||1);var p=Re(t)?Q(t):window,c=p.visualViewport,s=!_s()&&n,u=(i.left+(s&&c?c.offsetLeft:0))/a,d=(i.top+(s&&c?c.offsetTop:0))/o,l=i.width/a,f=i.height/o;return{width:l,height:f,top:d,right:u+l,bottom:d+f,left:u,x:u,y:d}}function Gn(t){var e=Ye(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 gs(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&qn(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function re(t){return Q(t).getComputedStyle(t)}function _l(t){return["table","td","th"].indexOf(ue(t))>=0}function xe(t){return((Re(t)?t.ownerDocument:t.document)||window.document).documentElement}function Yt(t){return ue(t)==="html"?t:t.assignedSlot||t.parentNode||(qn(t)?t.host:null)||xe(t)}function vi(t){return!Z(t)||re(t).position==="fixed"?null:t.offsetParent}function gl(t){var e=/firefox/i.test(xn()),n=/Trident/i.test(xn());if(n&&Z(t)){var i=re(t);if(i.position==="fixed")return null}var a=Yt(t);for(qn(a)&&(a=a.host);Z(a)&&["html","body"].indexOf(ue(a))<0;){var o=re(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function bt(t){for(var e=Q(t),n=vi(t);n&&_l(n)&&re(n).position==="static";)n=vi(n);return n&&(ue(n)==="html"||ue(n)==="body"&&re(n).position==="static")?e:n||gl(t)||e}function Kn(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function at(t,e,n){return De(t,qt(e,n))}function vl(t,e,n){var i=at(t,e,n);return i>n?n:i}function vs(){return{top:0,right:0,bottom:0,left:0}}function bs(t){return Object.assign({},vs(),t)}function ys(t,e){return e.reduce(function(n,i){return n[i]=t,n},{})}var bl=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,bs(typeof e!="number"?e:ys(e,vt))};function yl(t){var e,n=t.state,i=t.name,a=t.options,o=n.elements.arrow,p=n.modifiersData.popperOffsets,c=se(n.placement),s=Kn(c),u=[W,ne].indexOf(c)>=0,d=u?"height":"width";if(!(!o||!p)){var l=bl(a.padding,n),f=Gn(o),h=s==="y"?U:W,v=s==="y"?te:ne,S=n.rects.reference[d]+n.rects.reference[s]-p[s]-n.rects.popper[d],C=p[s]-n.rects.reference[s],O=bt(o),R=O?s==="y"?O.clientHeight||0:O.clientWidth||0:0,k=S/2-C/2,r=l[h],b=R-f[d]-l[v],g=R/2-f[d]/2+k,w=at(r,g,b),I=s;n.modifiersData[i]=(e={},e[I]=w,e.centerOffset=w-g,e)}}function Sl(t){var e=t.state,n=t.options,i=n.element,a=i===void 0?"[data-popper-arrow]":i;if(a!=null&&!(typeof a=="string"&&(a=e.elements.popper.querySelector(a),!a))){if(process.env.NODE_ENV!=="production"&&(Z(a)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!gs(e.elements.popper,a)){process.env.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}e.elements.arrow=a}}const Cl={name:"arrow",enabled:!0,phase:"main",fn:yl,effect:Sl,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ze(t){return t.split("-")[1]}var xl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function wl(t,e){var n=t.x,i=t.y,a=e.devicePixelRatio||1;return{x:We(n*a)/a||0,y:We(i*a)/a||0}}function bi(t){var e,n=t.popper,i=t.popperRect,a=t.placement,o=t.variation,p=t.offsets,c=t.position,s=t.gpuAcceleration,u=t.adaptive,d=t.roundOffsets,l=t.isFixed,f=p.x,h=f===void 0?0:f,v=p.y,S=v===void 0?0:v,C=typeof d=="function"?d({x:h,y:S}):{x:h,y:S};h=C.x,S=C.y;var O=p.hasOwnProperty("x"),R=p.hasOwnProperty("y"),k=W,r=U,b=window;if(u){var g=bt(n),w="clientHeight",I="clientWidth";if(g===Q(n)&&(g=xe(n),re(g).position!=="static"&&c==="absolute"&&(w="scrollHeight",I="scrollWidth")),g=g,a===U||(a===W||a===ne)&&o===ct){r=te;var L=l&&g===b&&b.visualViewport?b.visualViewport.height:g[w];S-=L-i.height,S*=s?1:-1}if(a===W||(a===U||a===te)&&o===ct){k=ne;var A=l&&g===b&&b.visualViewport?b.visualViewport.width:g[I];h-=A-i.width,h*=s?1:-1}}var E=Object.assign({position:c},u&&xl),T=d===!0?wl({x:h,y:S},Q(n)):{x:h,y:S};if(h=T.x,S=T.y,s){var $;return Object.assign({},E,($={},$[r]=R?"0":"",$[k]=O?"0":"",$.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+S+"px)":"translate3d("+h+"px, "+S+"px, 0)",$))}return Object.assign({},E,(e={},e[r]=R?S+"px":"",e[k]=O?h+"px":"",e.transform="",e))}function El(t){var e=t.state,n=t.options,i=n.gpuAcceleration,a=i===void 0?!0:i,o=n.adaptive,p=o===void 0?!0:o,c=n.roundOffsets,s=c===void 0?!0:c;if(process.env.NODE_ENV!=="production"){var u=re(e.elements.popper).transitionProperty||"";p&&["transform","top","right","bottom","left"].some(function(l){return u.indexOf(l)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S5=require("vue"),Ge=require("./emoji_text_wrapper-524f0a53.cjs"),x5={ERROR:"error",WARNING:"warning",SUCCESS:"success"},Ga={LARGE:"lg",EXTRA_LARGE:"xl"},xr={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},Or={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},l5={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"},Wa=x5.ERROR,Ar="dt";function Tr(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ya={exports:{}};(function(n){var e=function(){var s,t=[],F=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],ie="1a",Ce=!1,Ee,Se,mt,Ie,vt,jt,Vt,qt="chongo <Landon Curt Noll> /\\../\\",Ht=52,Nt={32:{offset:0},64:{offset:[0,0,0,0]},128:{offset:[0,0,0,0,0,0,0,0]},256:{offset:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},512:{offset:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},1024:{offset:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}};for(s=0;s<256;s++)t[s]=(s>>4&15).toString(16)+(s&15).toString(16);function Ut(w,p){var V="0123456789abcdefghijklmnopqrstuvwxyz",f=[0],l,a,i,r="";for(a=0;a<w.length;a+=2){for(l=parseInt(w.substr(a,2),16),i=0;i<f.length;i++)l+=f[i]<<8,f[i]=l%p,l=l/p|0;for(;l>0;)f.push(l%p),l=l/p|0}for(a=f.length-1;a>=0;--a)r+=V[f[a]];return r}function zt(w,p){return{bits:p,value:w,dec:function(){return Ut(w,10)},hex:function(){return w},str:function(){return Ut(w,36)}}}function Zt(w,p){return{bits:p,value:w,dec:function(){return w.toString()},hex:function(){return t[w>>>24]+t[w>>>16&255]+t[w>>>8&255]+t[w&255]},str:function(){return w.toString(36)}}}function re(w,p){return{bits:p,value:w,dec:function(){return w.toString()},hex:function(){return("0000000000000000"+w.toString(16)).substr(-13)},str:function(){return w.toString(36)}}}function Kt(w,p){var V=typeof w=="object"?JSON.stringify(w):w;switch(p||Ht){case 32:return Ee(V);case 64:return mt(V);case 128:return Ie(V);case 256:return vt(V);case 512:return jt(V);case 1024:return Vt(V);default:return Se(V)}}function Mt(w){if(w===52||Nt[w])Ht=w;else throw new Error("Supported FNV keyspacs: 32, 52, 64, 128, 256, 512, and 1024 bit")}function Wt(w){if(w==="1a")ie=w,Ee=Ce?v5:p5,Se=Ce?w5:_5,mt=Ce?T5:g5,Ie=Ce?tn:U5,vt=Ce?an:z5,jt=Ce?Y5:b5,Vt=Ce?on:H5;else if(w==="1")ie=w,Ee=Ce?P5:k5,Se=Ce?F5:f5,mt=Ce?j5:V5,Ie=Ce?nn:G5,vt=Ce?sn:W5,jt=Ce?N5:L5,Vt=Ce?ln:rn;else throw new Error("Supported FNV versions: 1, 1a")}function Qt(w){w?(Ce=!0,Ee=ie=="1a"?v5:P5,Se=ie=="1a"?w5:F5,mt=ie=="1a"?T5:j5,Ie=ie=="1a"?tn:nn,vt=ie=="1a"?an:sn,jt=ie=="1a"?Y5:N5,Vt=ie=="1a"?on:ln):(Ce=!1,Ee=ie=="1a"?p5:k5,Se=ie=="1a"?_5:f5,mt=ie=="1a"?g5:V5,Ie=ie=="1a"?U5:G5,vt=ie=="1a"?z5:W5,jt=ie=="1a"?b5:L5,Vt=ie=="1a"?H5:rn)}function Jt(w){var p=ie,V,f;w=w||w===0?w:qt,w===qt&&Wt("1");for(var l in Nt){for(Nt[l].offset=[],f=0;f<l/16;f++)Nt[l].offset[f]=0;for(V=Kt(w,parseInt(l,10)).hex(),f=0;f<l/16;f++)Nt[l].offset[f]=parseInt(V.substr(f*4,4),16)}Wt(p)}function e5(w){var p,V=w.length-3,f=0,l=40389,a=0,i=33052;for(p=0;p<V;)l^=w.charCodeAt(p++),f=l*403,a=i*403,a+=l<<8,i=a+(f>>>16)&65535,l=f&65535,l^=w.charCodeAt(p++),f=l*403,a=i*403,a+=l<<8,i=a+(f>>>16)&65535,l=f&65535,l^=w.charCodeAt(p++),f=l*403,a=i*403,a+=l<<8,i=a+(f>>>16)&65535,l=f&65535,l^=w.charCodeAt(p++),f=l*403,a=i*403,a+=l<<8,i=a+(f>>>16)&65535,l=f&65535;for(;p<V+3;)l^=w.charCodeAt(p++),f=l*403,a=i*403,a+=l<<8,i=a+(f>>>16)&65535,l=f&65535;return(i<<16>>>0)+l}function Yt(w){var p,V=w.length-3,f=0,l=40389,a=0,i=33052;for(p=0;p<V;)l^=w.charCodeAt(p++),f=l*403,a=i*403,a+=l<<8,i=a+(f>>>16)&65535,l=f&65535,l^=w.charCodeAt(p++),f=l*403,a=i*403,a+=l<<8,i=a+(f>>>16)&65535,l=f&65535,l^=w.charCodeAt(p++),f=l*403,a=i*403,a+=l<<8,i=a+(f>>>16)&65535,l=f&65535,l^=w.charCodeAt(p++),f=l*403,a=i*403,a+=l<<8,i=a+(f>>>16)&65535,l=f&65535;for(;p<V+3;)l^=w.charCodeAt(p++),f=l*403,a=i*403,a+=l<<8,i=a+(f>>>16)&65535,l=f&65535;return t[i>>>8&255]+t[i&255]+t[l>>>8&255]+t[l&255]}function Xt(w){var p,V=w.length-3,f=0,l=8997,a=0,i=33826,r=0,o=40164,d=0,c=52210;for(p=0;p<V;)l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535,l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535,l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535,l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535;for(;p<V+3;)l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535;return(c&15)*281474976710656+o*4294967296+i*65536+(l^c>>4)}function t5(w){var p,V=w.length-3,f=0,l=8997,a=0,i=33826,r=0,o=40164,d=0,c=52210;for(p=0;p<V;)l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535,l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535,l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535,l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535;for(;p<V+3;)l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535;return F[c&15]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255]+t[l>>8^c>>12]+t[(l^c>>4)&255]}function c5(w){var p,V=w.length-3,f=0,l=8997,a=0,i=33826,r=0,o=40164,d=0,c=52210;for(p=0;p<V;)l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535,l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535,l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535,l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535;for(;p<V+3;)l^=w.charCodeAt(p++),f=l*435,a=i*435,r=o*435,d=c*435,r+=l<<8,d+=i<<8,a+=f>>>16,l=f&65535,r+=a>>>16,i=a&65535,c=d+(r>>>16)&65535,o=r&65535;return t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255]+t[l>>8]+t[l&255]}function u5(w){var p,V,f=w.length,l=0,a=40389,i=0,r=33052;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?a^=p:p<2048?(a^=p>>6|192,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),a^=p>>18|240,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p>>12&63|128,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p>>6&63|128,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p&63|128):(a^=p>>12|224,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p>>6&63|128,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p&63|128),l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535;return(r<<16>>>0)+a}function r5(w){var p,V,f=w.length,l=0,a=40389,i=0,r=33052;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?a^=p:p<2048?(a^=p>>6|192,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),a^=p>>18|240,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p>>12&63|128,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p>>6&63|128,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p&63|128):(a^=p>>12|224,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p>>6&63|128,l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=p&63|128),l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535;return t[r>>>8&255]+t[r&255]+t[a>>>8&255]+t[a&255]}function o5(w){var p,V,f=w.length,l=0,a=8997,i=0,r=33826,o=0,d=40164,c=0,u=52210;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?a^=p:p<2048?(a^=p>>6|192,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),a^=p>>18|240,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p>>12&63|128,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p>>6&63|128,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p&63|128):(a^=p>>12|224,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p>>6&63|128,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p&63|128),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535;return(u&15)*281474976710656+d*4294967296+r*65536+(a^u>>4)}function i5(w){var p,V,f=w.length,l=0,a=8997,i=0,r=33826,o=0,d=40164,c=0,u=52210;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?a^=p:p<2048?(a^=p>>6|192,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),a^=p>>18|240,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p>>12&63|128,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p>>6&63|128,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p&63|128):(a^=p>>12|224,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p>>6&63|128,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p&63|128),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535;return F[u&15]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8^u>>12]+t[(a^u>>4)&255]}function I5(w){var p,V,f=w.length,l=0,a=8997,i=0,r=33826,o=0,d=40164,c=0,u=52210;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?a^=p:p<2048?(a^=p>>6|192,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),a^=p>>18|240,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p>>12&63|128,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p>>6&63|128,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p&63|128):(a^=p>>12|224,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p>>6&63|128,l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=p&63|128),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535;return t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255]}function p5(w){var p,V=w.length-3,f=Nt[32].offset,l=0,a=f[1]|0,i=0,r=f[0]|0;for(p=0;p<V;)a^=w.charCodeAt(p++),l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=w.charCodeAt(p++),l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=w.charCodeAt(p++),l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=w.charCodeAt(p++),l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535;for(;p<V+3;)a^=w.charCodeAt(p++),l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535;return Zt((r<<16>>>0)+a,32)}function k5(w){var p,V=w.length-3,f=Nt[32].offset,l=0,a=f[1]|0,i=0,r=f[0]|0;for(p=0;p<V;)l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=w.charCodeAt(p++),l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=w.charCodeAt(p++),l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=w.charCodeAt(p++),l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=w.charCodeAt(p++);for(;p<V+3;)l=a*403,i=r*403,i+=a<<8,r=i+(l>>>16)&65535,a=l&65535,a^=w.charCodeAt(p++);return Zt((r<<16>>>0)+a,32)}function v5(w){var p,V,f=w.length,l=Nt[32].offset,a=0,i=l[1]|0,r=0,o=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?i^=p:p<2048?(i^=p>>6|192,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p>>12&63|128,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p>>6&63|128,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p&63|128):(i^=p>>12|224,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p>>6&63|128,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p&63|128),a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535;return Zt((o<<16>>>0)+i,32)}function P5(w){var p,V,f=w.length,l=Nt[32].offset,a=0,i=l[1]|0,r=0,o=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,p<128?i^=p:p<2048?(i^=p>>6|192,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p>>12&63|128,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p>>6&63|128,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p&63|128):(i^=p>>12|224,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p>>6&63|128,a=i*403,r=o*403,r+=i<<8,o=r+(a>>>16)&65535,i=a&65535,i^=p&63|128);return Zt((o<<16>>>0)+i,32)}Ee=p5;function _5(w){var p,V=w.length-3,f=Nt[64].offset,l=0,a=f[3]|0,i=0,r=f[2]|0,o=0,d=f[1]|0,c=0,u=f[0]|0;for(p=0;p<V;)a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535;for(;p<V+3;)a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535;return re((u&15)*281474976710656+d*4294967296+r*65536+(a^u>>4),52)}function f5(w){var p,V=w.length-3,f=Nt[64].offset,l=0,a=f[3]|0,i=0,r=f[2]|0,o=0,d=f[1]|0,c=0,u=f[0]|0;for(p=0;p<V;)l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++);for(;p<V+3;)l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++);return re((u&15)*281474976710656+d*4294967296+r*65536+(a^u>>4),52)}function w5(w){var p,V,f=w.length,l=Nt[64].offset,a=0,i=l[3]|0,r=0,o=l[2]|0,d=0,c=l[1]|0,u=0,h=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?i^=p:p<2048?(i^=p>>6|192,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>12&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>6&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128):(i^=p>>12|224,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>6&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128),a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535;return re((h&15)*281474976710656+c*4294967296+o*65536+(i^h>>4),52)}function F5(w){var p,V,f=w.length,l=Nt[64].offset,a=0,i=l[3]|0,r=0,o=l[2]|0,d=0,c=l[1]|0,u=0,h=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,p<128?i^=p:p<2048?(i^=p>>6|192,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>12&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>6&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128):(i^=p>>12|224,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>6&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128);return re((h&15)*281474976710656+c*4294967296+o*65536+(i^h>>4),52)}Se=_5;function g5(w){var p,V=w.length-3,f=Nt[64].offset,l=0,a=f[3]|0,i=0,r=f[2]|0,o=0,d=f[1]|0,c=0,u=f[0]|0;for(p=0;p<V;)a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535;for(;p<V+3;)a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535;return zt(t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255],64)}function V5(w){var p,V=w.length-3,f=Nt[64].offset,l=0,a=f[3]|0,i=0,r=f[2]|0,o=0,d=f[1]|0,c=0,u=f[0]|0;for(p=0;p<V;)l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++),l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++);for(;p<V+3;)l=a*435,i=r*435,o=d*435,c=u*435,o+=a<<8,c+=r<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,u=c+(o>>>16)&65535,d=o&65535,a^=w.charCodeAt(p++);return zt(t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255],64)}function T5(w){var p,V,f=w.length,l=Nt[64].offset,a=0,i=l[3]|0,r=0,o=l[2]|0,d=0,c=l[1]|0,u=0,h=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?i^=p:p<2048?(i^=p>>6|192,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>12&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>6&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128):(i^=p>>12|224,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>6&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128),a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535;return zt(t[h>>8]+t[h&255]+t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255],64)}function j5(w){var p,V,f=w.length,l=Nt[64].offset,a=0,i=l[3]|0,r=0,o=l[2]|0,d=0,c=l[1]|0,u=0,h=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,p<128?i^=p:p<2048?(i^=p>>6|192,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>12&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>6&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128):(i^=p>>12|224,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p>>6&63|128,a=i*435,r=o*435,d=c*435,u=h*435,d+=i<<8,u+=o<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,h=u+(d>>>16)&65535,c=d&65535,i^=p&63|128);return zt(t[h>>8]+t[h&255]+t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255],64)}mt=g5;function U5(w){var p,V=w.length-3,f=Nt[128].offset,l=0,a=f[7]|0,i=0,r=f[6]|0,o=0,d=f[5]|0,c=0,u=f[4]|0,h=0,_=f[3]|0,b=0,m=f[2]|0,g=0,v=f[1]|0,C=0,y=f[0]|0;for(p=0;p<V;)a^=w.charCodeAt(p++),l=a*315,i=r*315,o=d*315,c=u*315,h=_*315,b=m*315,g=v*315,C=y*315,b+=a<<8,g+=r<<8,C+=d<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,y=C+(g>>>16)&65535,v=g&65535,a^=w.charCodeAt(p++),l=a*315,i=r*315,o=d*315,c=u*315,h=_*315,b=m*315,g=v*315,C=y*315,b+=a<<8,g+=r<<8,C+=d<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,y=C+(g>>>16)&65535,v=g&65535,a^=w.charCodeAt(p++),l=a*315,i=r*315,o=d*315,c=u*315,h=_*315,b=m*315,g=v*315,C=y*315,b+=a<<8,g+=r<<8,C+=d<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,y=C+(g>>>16)&65535,v=g&65535,a^=w.charCodeAt(p++),l=a*315,i=r*315,o=d*315,c=u*315,h=_*315,b=m*315,g=v*315,C=y*315,b+=a<<8,g+=r<<8,C+=d<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,y=C+(g>>>16)&65535,v=g&65535;for(;p<V+3;)a^=w.charCodeAt(p++),l=a*315,i=r*315,o=d*315,c=u*315,h=_*315,b=m*315,g=v*315,C=y*315,b+=a<<8,g+=r<<8,C+=d<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,y=C+(g>>>16)&65535,v=g&65535;return zt(t[y>>8]+t[y&255]+t[v>>8]+t[v&255]+t[m>>8]+t[m&255]+t[_>>8]+t[_&255]+t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255],128)}function G5(w){var p,V=w.length-3,f=Nt[128].offset,l=0,a=f[7]|0,i=0,r=f[6]|0,o=0,d=f[5]|0,c=0,u=f[4]|0,h=0,_=f[3]|0,b=0,m=f[2]|0,g=0,v=f[1]|0,C=0,y=f[0]|0;for(p=0;p<V;)l=a*315,i=r*315,o=d*315,c=u*315,h=_*315,b=m*315,g=v*315,C=y*315,b+=a<<8,g+=r<<8,C+=d<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,y=C+(g>>>16)&65535,v=g&65535,a^=w.charCodeAt(p++),l=a*315,i=r*315,o=d*315,c=u*315,h=_*315,b=m*315,g=v*315,C=y*315,b+=a<<8,g+=r<<8,C+=d<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,y=C+(g>>>16)&65535,v=g&65535,a^=w.charCodeAt(p++),l=a*315,i=r*315,o=d*315,c=u*315,h=_*315,b=m*315,g=v*315,C=y*315,b+=a<<8,g+=r<<8,C+=d<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,y=C+(g>>>16)&65535,v=g&65535,a^=w.charCodeAt(p++),l=a*315,i=r*315,o=d*315,c=u*315,h=_*315,b=m*315,g=v*315,C=y*315,b+=a<<8,g+=r<<8,C+=d<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,y=C+(g>>>16)&65535,v=g&65535,a^=w.charCodeAt(p++);for(;p<V+3;)l=a*315,i=r*315,o=d*315,c=u*315,h=_*315,b=m*315,g=v*315,C=y*315,b+=a<<8,g+=r<<8,C+=d<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,y=C+(g>>>16)&65535,v=g&65535,a^=w.charCodeAt(p++);return zt(t[y>>8]+t[y&255]+t[v>>8]+t[v&255]+t[m>>8]+t[m&255]+t[_>>8]+t[_&255]+t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255],128)}function tn(w){var p,V,f=w.length,l=Nt[128].offset,a=0,i=l[7]|0,r=0,o=l[6]|0,d=0,c=l[5]|0,u=0,h=l[4]|0,_=0,b=l[3]|0,m=0,g=l[2]|0,v=0,C=l[1]|0,y=0,S=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?i^=p:p<2048?(i^=p>>6|192,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p>>12&63|128,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p>>6&63|128,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p&63|128):(i^=p>>12|224,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p>>6&63|128,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p&63|128),a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535;return zt(t[S>>8]+t[S&255]+t[C>>8]+t[C&255]+t[g>>8]+t[g&255]+t[b>>8]+t[b&255]+t[h>>8]+t[h&255]+t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255],128)}function nn(w){var p,V,f=w.length,l=Nt[128].offset,a=0,i=l[7]|0,r=0,o=l[6]|0,d=0,c=l[5]|0,u=0,h=l[4]|0,_=0,b=l[3]|0,m=0,g=l[2]|0,v=0,C=l[1]|0,y=0,S=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,p<128?i^=p:p<2048?(i^=p>>6|192,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p>>12&63|128,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p>>6&63|128,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p&63|128):(i^=p>>12|224,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p>>6&63|128,a=i*315,r=o*315,d=c*315,u=h*315,_=b*315,m=g*315,v=C*315,y=S*315,m+=i<<8,v+=o<<8,y+=c<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,S=y+(v>>>16)&65535,C=v&65535,i^=p&63|128);return zt(t[S>>8]+t[S&255]+t[C>>8]+t[C&255]+t[g>>8]+t[g&255]+t[b>>8]+t[b&255]+t[h>>8]+t[h&255]+t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255],128)}Ie=U5;function z5(w){var p,V=w.length-3,f=Nt[256].offset,l=0,a=f[15]|0,i=0,r=f[14]|0,o=0,d=f[13]|0,c=0,u=f[12]|0,h=0,_=f[11]|0,b=0,m=f[10]|0,g=0,v=f[9]|0,C=0,y=f[8]|0,S=0,I=f[7]|0,$=0,L=f[6]|0,D=0,E=f[5]|0,R=0,x=f[4]|0,k=0,O=f[3]|0,P=0,A=f[2]|0,N=0,T=f[1]|0,M=0,B=f[0]|0;for(p=0;p<V;)a^=w.charCodeAt(p++),l=a*355,i=r*355,o=d*355,c=u*355,h=_*355,b=m*355,g=v*355,C=y*355,S=I*355,$=L*355,D=E*355,R=x*355,k=O*355,P=A*355,N=T*355,M=B*355,D+=a<<8,R+=r<<8,k+=d<<8,P+=u<<8,N+=_<<8,M+=m<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,B=M+(N>>>16)&65535,T=N&65535,a^=w.charCodeAt(p++),l=a*355,i=r*355,o=d*355,c=u*355,h=_*355,b=m*355,g=v*355,C=y*355,S=I*355,$=L*355,D=E*355,R=x*355,k=O*355,P=A*355,N=T*355,M=B*355,D+=a<<8,R+=r<<8,k+=d<<8,P+=u<<8,N+=_<<8,M+=m<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,B=M+(N>>>16)&65535,T=N&65535,a^=w.charCodeAt(p++),l=a*355,i=r*355,o=d*355,c=u*355,h=_*355,b=m*355,g=v*355,C=y*355,S=I*355,$=L*355,D=E*355,R=x*355,k=O*355,P=A*355,N=T*355,M=B*355,D+=a<<8,R+=r<<8,k+=d<<8,P+=u<<8,N+=_<<8,M+=m<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,B=M+(N>>>16)&65535,T=N&65535,a^=w.charCodeAt(p++),l=a*355,i=r*355,o=d*355,c=u*355,h=_*355,b=m*355,g=v*355,C=y*355,S=I*355,$=L*355,D=E*355,R=x*355,k=O*355,P=A*355,N=T*355,M=B*355,D+=a<<8,R+=r<<8,k+=d<<8,P+=u<<8,N+=_<<8,M+=m<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,B=M+(N>>>16)&65535,T=N&65535;for(;p<V+3;)a^=w.charCodeAt(p++),l=a*355,i=r*355,o=d*355,c=u*355,h=_*355,b=m*355,g=v*355,C=y*355,S=I*355,$=L*355,D=E*355,R=x*355,k=O*355,P=A*355,N=T*355,M=B*355,D+=a<<8,R+=r<<8,k+=d<<8,P+=u<<8,N+=_<<8,M+=m<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,B=M+(N>>>16)&65535,T=N&65535;return zt(t[B>>8]+t[B&255]+t[T>>8]+t[T&255]+t[A>>8]+t[A&255]+t[O>>8]+t[O&255]+t[x>>8]+t[x&255]+t[E>>8]+t[E&255]+t[L>>8]+t[L&255]+t[I>>8]+t[I&255]+t[y>>8]+t[y&255]+t[v>>8]+t[v&255]+t[m>>8]+t[m&255]+t[_>>8]+t[_&255]+t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255],256)}function W5(w){var p,V=w.length-3,f=Nt[256].offset,l=0,a=f[15]|0,i=0,r=f[14]|0,o=0,d=f[13]|0,c=0,u=f[12]|0,h=0,_=f[11]|0,b=0,m=f[10]|0,g=0,v=f[9]|0,C=0,y=f[8]|0,S=0,I=f[7]|0,$=0,L=f[6]|0,D=0,E=f[5]|0,R=0,x=f[4]|0,k=0,O=f[3]|0,P=0,A=f[2]|0,N=0,T=f[1]|0,M=0,B=f[0]|0;for(p=0;p<V;)l=a*355,i=r*355,o=d*355,c=u*355,h=_*355,b=m*355,g=v*355,C=y*355,S=I*355,$=L*355,D=E*355,R=x*355,k=O*355,P=A*355,N=T*355,M=B*355,D+=a<<8,R+=r<<8,k+=d<<8,P+=u<<8,N+=_<<8,M+=m<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,B=M+(N>>>16)&65535,T=N&65535,a^=w.charCodeAt(p++),l=a*355,i=r*355,o=d*355,c=u*355,h=_*355,b=m*355,g=v*355,C=y*355,S=I*355,$=L*355,D=E*355,R=x*355,k=O*355,P=A*355,N=T*355,M=B*355,D+=a<<8,R+=r<<8,k+=d<<8,P+=u<<8,N+=_<<8,M+=m<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,B=M+(N>>>16)&65535,T=N&65535,a^=w.charCodeAt(p++),l=a*355,i=r*355,o=d*355,c=u*355,h=_*355,b=m*355,g=v*355,C=y*355,S=I*355,$=L*355,D=E*355,R=x*355,k=O*355,P=A*355,N=T*355,M=B*355,D+=a<<8,R+=r<<8,k+=d<<8,P+=u<<8,N+=_<<8,M+=m<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,B=M+(N>>>16)&65535,T=N&65535,a^=w.charCodeAt(p++),l=a*355,i=r*355,o=d*355,c=u*355,h=_*355,b=m*355,g=v*355,C=y*355,S=I*355,$=L*355,D=E*355,R=x*355,k=O*355,P=A*355,N=T*355,M=B*355,D+=a<<8,R+=r<<8,k+=d<<8,P+=u<<8,N+=_<<8,M+=m<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,B=M+(N>>>16)&65535,T=N&65535,a^=w.charCodeAt(p++);for(;p<V+3;)l=a*355,i=r*355,o=d*355,c=u*355,h=_*355,b=m*355,g=v*355,C=y*355,S=I*355,$=L*355,D=E*355,R=x*355,k=O*355,P=A*355,N=T*355,M=B*355,D+=a<<8,R+=r<<8,k+=d<<8,P+=u<<8,N+=_<<8,M+=m<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,B=M+(N>>>16)&65535,T=N&65535,a^=w.charCodeAt(p++);return zt(t[B>>8]+t[B&255]+t[T>>8]+t[T&255]+t[A>>8]+t[A&255]+t[O>>8]+t[O&255]+t[x>>8]+t[x&255]+t[E>>8]+t[E&255]+t[L>>8]+t[L&255]+t[I>>8]+t[I&255]+t[y>>8]+t[y&255]+t[v>>8]+t[v&255]+t[m>>8]+t[m&255]+t[_>>8]+t[_&255]+t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255],256)}function an(w){var p,V,f=w.length,l=Nt[256].offset,a=0,i=l[15]|0,r=0,o=l[14]|0,d=0,c=l[13]|0,u=0,h=l[12]|0,_=0,b=l[11]|0,m=0,g=l[10]|0,v=0,C=l[9]|0,y=0,S=l[8]|0,I=0,$=l[7]|0,L=0,D=l[6]|0,E=0,R=l[5]|0,x=0,k=l[4]|0,O=0,P=l[3]|0,A=0,N=l[2]|0,T=0,M=l[1]|0,B=0,j=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?i^=p:p<2048?(i^=p>>6|192,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p>>12&63|128,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p>>6&63|128,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p&63|128):(i^=p>>12|224,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p>>6&63|128,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p&63|128),a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535;return zt(t[j>>8]+t[j&255]+t[M>>8]+t[M&255]+t[N>>8]+t[N&255]+t[P>>8]+t[P&255]+t[k>>8]+t[k&255]+t[R>>8]+t[R&255]+t[D>>8]+t[D&255]+t[$>>8]+t[$&255]+t[S>>8]+t[S&255]+t[C>>8]+t[C&255]+t[g>>8]+t[g&255]+t[b>>8]+t[b&255]+t[h>>8]+t[h&255]+t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255],256)}function sn(w){var p,V,f=w.length,l=Nt[256].offset,a=0,i=l[15]|0,r=0,o=l[14]|0,d=0,c=l[13]|0,u=0,h=l[12]|0,_=0,b=l[11]|0,m=0,g=l[10]|0,v=0,C=l[9]|0,y=0,S=l[8]|0,I=0,$=l[7]|0,L=0,D=l[6]|0,E=0,R=l[5]|0,x=0,k=l[4]|0,O=0,P=l[3]|0,A=0,N=l[2]|0,T=0,M=l[1]|0,B=0,j=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,p<128?i^=p:p<2048?(i^=p>>6|192,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p>>12&63|128,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p>>6&63|128,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p&63|128):(i^=p>>12|224,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p>>6&63|128,a=i*355,r=o*355,d=c*355,u=h*355,_=b*355,m=g*355,v=C*355,y=S*355,I=$*355,L=D*355,E=R*355,x=k*355,O=P*355,A=N*355,T=M*355,B=j*355,E+=i<<8,x+=o<<8,O+=c<<8,A+=h<<8,T+=b<<8,B+=g<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,j=B+(T>>>16)&65535,M=T&65535,i^=p&63|128);return zt(t[j>>8]+t[j&255]+t[M>>8]+t[M&255]+t[N>>8]+t[N&255]+t[P>>8]+t[P&255]+t[k>>8]+t[k&255]+t[R>>8]+t[R&255]+t[D>>8]+t[D&255]+t[$>>8]+t[$&255]+t[S>>8]+t[S&255]+t[C>>8]+t[C&255]+t[g>>8]+t[g&255]+t[b>>8]+t[b&255]+t[h>>8]+t[h&255]+t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255],256)}vt=z5;function b5(w){var p,V=w.length-3,f=Nt[512].offset,l=0,a=f[31]|0,i=0,r=f[30]|0,o=0,d=f[29]|0,c=0,u=f[28]|0,h=0,_=f[27]|0,b=0,m=f[26]|0,g=0,v=f[25]|0,C=0,y=f[24]|0,S=0,I=f[23]|0,$=0,L=f[22]|0,D=0,E=f[21]|0,R=0,x=f[20]|0,k=0,O=f[19]|0,P=0,A=f[18]|0,N=0,T=f[17]|0,M=0,B=f[16]|0,j=0,Q=f[15]|0,oe=0,J=f[14]|0,le=0,ee=f[13]|0,de=0,te=f[12]|0,ce=0,ne=f[11]|0,ae=0,z=f[10]|0,se=0,H=f[9]|0,ue=0,q=f[8]|0,pe=0,K=f[7]|0,fe=0,U=f[6]|0,he=0,G=f[5]|0,me=0,W=f[4]|0,ve=0,Y=f[3]|0,_e=0,Z=f[2]|0,ge=0,X=f[1]|0,ye=0,be=f[0]|0;for(p=0;p<V;)a^=w.charCodeAt(p++),l=a*343,i=r*343,o=d*343,c=u*343,h=_*343,b=m*343,g=v*343,C=y*343,S=I*343,$=L*343,D=E*343,R=x*343,k=O*343,P=A*343,N=T*343,M=B*343,j=Q*343,oe=J*343,le=ee*343,de=te*343,ce=ne*343,ae=z*343,se=H*343,ue=q*343,pe=K*343,fe=U*343,he=G*343,me=W*343,ve=Y*343,_e=Z*343,ge=X*343,ye=be*343,ae+=a<<8,se+=r<<8,ue+=d<<8,pe+=u<<8,fe+=_<<8,he+=m<<8,me+=v<<8,ve+=y<<8,_e+=I<<8,ge+=L<<8,ye+=E<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,be=ye+(ge>>>16)&65535,X=ge&65535,a^=w.charCodeAt(p++),l=a*343,i=r*343,o=d*343,c=u*343,h=_*343,b=m*343,g=v*343,C=y*343,S=I*343,$=L*343,D=E*343,R=x*343,k=O*343,P=A*343,N=T*343,M=B*343,j=Q*343,oe=J*343,le=ee*343,de=te*343,ce=ne*343,ae=z*343,se=H*343,ue=q*343,pe=K*343,fe=U*343,he=G*343,me=W*343,ve=Y*343,_e=Z*343,ge=X*343,ye=be*343,ae+=a<<8,se+=r<<8,ue+=d<<8,pe+=u<<8,fe+=_<<8,he+=m<<8,me+=v<<8,ve+=y<<8,_e+=I<<8,ge+=L<<8,ye+=E<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,be=ye+(ge>>>16)&65535,X=ge&65535,a^=w.charCodeAt(p++),l=a*343,i=r*343,o=d*343,c=u*343,h=_*343,b=m*343,g=v*343,C=y*343,S=I*343,$=L*343,D=E*343,R=x*343,k=O*343,P=A*343,N=T*343,M=B*343,j=Q*343,oe=J*343,le=ee*343,de=te*343,ce=ne*343,ae=z*343,se=H*343,ue=q*343,pe=K*343,fe=U*343,he=G*343,me=W*343,ve=Y*343,_e=Z*343,ge=X*343,ye=be*343,ae+=a<<8,se+=r<<8,ue+=d<<8,pe+=u<<8,fe+=_<<8,he+=m<<8,me+=v<<8,ve+=y<<8,_e+=I<<8,ge+=L<<8,ye+=E<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,be=ye+(ge>>>16)&65535,X=ge&65535,a^=w.charCodeAt(p++),l=a*343,i=r*343,o=d*343,c=u*343,h=_*343,b=m*343,g=v*343,C=y*343,S=I*343,$=L*343,D=E*343,R=x*343,k=O*343,P=A*343,N=T*343,M=B*343,j=Q*343,oe=J*343,le=ee*343,de=te*343,ce=ne*343,ae=z*343,se=H*343,ue=q*343,pe=K*343,fe=U*343,he=G*343,me=W*343,ve=Y*343,_e=Z*343,ge=X*343,ye=be*343,ae+=a<<8,se+=r<<8,ue+=d<<8,pe+=u<<8,fe+=_<<8,he+=m<<8,me+=v<<8,ve+=y<<8,_e+=I<<8,ge+=L<<8,ye+=E<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,be=ye+(ge>>>16)&65535,X=ge&65535;for(;p<V+3;)a^=w.charCodeAt(p++),l=a*343,i=r*343,o=d*343,c=u*343,h=_*343,b=m*343,g=v*343,C=y*343,S=I*343,$=L*343,D=E*343,R=x*343,k=O*343,P=A*343,N=T*343,M=B*343,j=Q*343,oe=J*343,le=ee*343,de=te*343,ce=ne*343,ae=z*343,se=H*343,ue=q*343,pe=K*343,fe=U*343,he=G*343,me=W*343,ve=Y*343,_e=Z*343,ge=X*343,ye=be*343,ae+=a<<8,se+=r<<8,ue+=d<<8,pe+=u<<8,fe+=_<<8,he+=m<<8,me+=v<<8,ve+=y<<8,_e+=I<<8,ge+=L<<8,ye+=E<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,be=ye+(ge>>>16)&65535,X=ge&65535;return zt(t[be>>8]+t[be&255]+t[X>>8]+t[X&255]+t[Z>>8]+t[Z&255]+t[Y>>8]+t[Y&255]+t[W>>8]+t[W&255]+t[G>>8]+t[G&255]+t[U>>8]+t[U&255]+t[K>>8]+t[K&255]+t[q>>8]+t[q&255]+t[H>>8]+t[H&255]+t[z>>8]+t[z&255]+t[ne>>8]+t[ne&255]+t[te>>8]+t[te&255]+t[ee>>8]+t[ee&255]+t[J>>8]+t[J&255]+t[Q>>8]+t[Q&255]+t[B>>8]+t[B&255]+t[T>>8]+t[T&255]+t[A>>8]+t[A&255]+t[O>>8]+t[O&255]+t[x>>8]+t[x&255]+t[E>>8]+t[E&255]+t[L>>8]+t[L&255]+t[I>>8]+t[I&255]+t[y>>8]+t[y&255]+t[v>>8]+t[v&255]+t[m>>8]+t[m&255]+t[_>>8]+t[_&255]+t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255],512)}function L5(w){var p,V=w.length-3,f=Nt[512].offset,l=0,a=f[31]|0,i=0,r=f[30]|0,o=0,d=f[29]|0,c=0,u=f[28]|0,h=0,_=f[27]|0,b=0,m=f[26]|0,g=0,v=f[25]|0,C=0,y=f[24]|0,S=0,I=f[23]|0,$=0,L=f[22]|0,D=0,E=f[21]|0,R=0,x=f[20]|0,k=0,O=f[19]|0,P=0,A=f[18]|0,N=0,T=f[17]|0,M=0,B=f[16]|0,j=0,Q=f[15]|0,oe=0,J=f[14]|0,le=0,ee=f[13]|0,de=0,te=f[12]|0,ce=0,ne=f[11]|0,ae=0,z=f[10]|0,se=0,H=f[9]|0,ue=0,q=f[8]|0,pe=0,K=f[7]|0,fe=0,U=f[6]|0,he=0,G=f[5]|0,me=0,W=f[4]|0,ve=0,Y=f[3]|0,_e=0,Z=f[2]|0,ge=0,X=f[1]|0,ye=0,be=f[0]|0;for(p=0;p<V;)l=a*343,i=r*343,o=d*343,c=u*343,h=_*343,b=m*343,g=v*343,C=y*343,S=I*343,$=L*343,D=E*343,R=x*343,k=O*343,P=A*343,N=T*343,M=B*343,j=Q*343,oe=J*343,le=ee*343,de=te*343,ce=ne*343,ae=z*343,se=H*343,ue=q*343,pe=K*343,fe=U*343,he=G*343,me=W*343,ve=Y*343,_e=Z*343,ge=X*343,ye=be*343,ae+=a<<8,se+=r<<8,ue+=d<<8,pe+=u<<8,fe+=_<<8,he+=m<<8,me+=v<<8,ve+=y<<8,_e+=I<<8,ge+=L<<8,ye+=E<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,be=ye+(ge>>>16)&65535,X=ge&65535,a^=w.charCodeAt(p++),l=a*343,i=r*343,o=d*343,c=u*343,h=_*343,b=m*343,g=v*343,C=y*343,S=I*343,$=L*343,D=E*343,R=x*343,k=O*343,P=A*343,N=T*343,M=B*343,j=Q*343,oe=J*343,le=ee*343,de=te*343,ce=ne*343,ae=z*343,se=H*343,ue=q*343,pe=K*343,fe=U*343,he=G*343,me=W*343,ve=Y*343,_e=Z*343,ge=X*343,ye=be*343,ae+=a<<8,se+=r<<8,ue+=d<<8,pe+=u<<8,fe+=_<<8,he+=m<<8,me+=v<<8,ve+=y<<8,_e+=I<<8,ge+=L<<8,ye+=E<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,be=ye+(ge>>>16)&65535,X=ge&65535,a^=w.charCodeAt(p++),l=a*343,i=r*343,o=d*343,c=u*343,h=_*343,b=m*343,g=v*343,C=y*343,S=I*343,$=L*343,D=E*343,R=x*343,k=O*343,P=A*343,N=T*343,M=B*343,j=Q*343,oe=J*343,le=ee*343,de=te*343,ce=ne*343,ae=z*343,se=H*343,ue=q*343,pe=K*343,fe=U*343,he=G*343,me=W*343,ve=Y*343,_e=Z*343,ge=X*343,ye=be*343,ae+=a<<8,se+=r<<8,ue+=d<<8,pe+=u<<8,fe+=_<<8,he+=m<<8,me+=v<<8,ve+=y<<8,_e+=I<<8,ge+=L<<8,ye+=E<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,be=ye+(ge>>>16)&65535,X=ge&65535,a^=w.charCodeAt(p++),l=a*343,i=r*343,o=d*343,c=u*343,h=_*343,b=m*343,g=v*343,C=y*343,S=I*343,$=L*343,D=E*343,R=x*343,k=O*343,P=A*343,N=T*343,M=B*343,j=Q*343,oe=J*343,le=ee*343,de=te*343,ce=ne*343,ae=z*343,se=H*343,ue=q*343,pe=K*343,fe=U*343,he=G*343,me=W*343,ve=Y*343,_e=Z*343,ge=X*343,ye=be*343,ae+=a<<8,se+=r<<8,ue+=d<<8,pe+=u<<8,fe+=_<<8,he+=m<<8,me+=v<<8,ve+=y<<8,_e+=I<<8,ge+=L<<8,ye+=E<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,be=ye+(ge>>>16)&65535,X=ge&65535,a^=w.charCodeAt(p++);for(;p<V+3;)l=a*343,i=r*343,o=d*343,c=u*343,h=_*343,b=m*343,g=v*343,C=y*343,S=I*343,$=L*343,D=E*343,R=x*343,k=O*343,P=A*343,N=T*343,M=B*343,j=Q*343,oe=J*343,le=ee*343,de=te*343,ce=ne*343,ae=z*343,se=H*343,ue=q*343,pe=K*343,fe=U*343,he=G*343,me=W*343,ve=Y*343,_e=Z*343,ge=X*343,ye=be*343,ae+=a<<8,se+=r<<8,ue+=d<<8,pe+=u<<8,fe+=_<<8,he+=m<<8,me+=v<<8,ve+=y<<8,_e+=I<<8,ge+=L<<8,ye+=E<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,be=ye+(ge>>>16)&65535,X=ge&65535,a^=w.charCodeAt(p++);return zt(t[be>>8]+t[be&255]+t[X>>8]+t[X&255]+t[Z>>8]+t[Z&255]+t[Y>>8]+t[Y&255]+t[W>>8]+t[W&255]+t[G>>8]+t[G&255]+t[U>>8]+t[U&255]+t[K>>8]+t[K&255]+t[q>>8]+t[q&255]+t[H>>8]+t[H&255]+t[z>>8]+t[z&255]+t[ne>>8]+t[ne&255]+t[te>>8]+t[te&255]+t[ee>>8]+t[ee&255]+t[J>>8]+t[J&255]+t[Q>>8]+t[Q&255]+t[B>>8]+t[B&255]+t[T>>8]+t[T&255]+t[A>>8]+t[A&255]+t[O>>8]+t[O&255]+t[x>>8]+t[x&255]+t[E>>8]+t[E&255]+t[L>>8]+t[L&255]+t[I>>8]+t[I&255]+t[y>>8]+t[y&255]+t[v>>8]+t[v&255]+t[m>>8]+t[m&255]+t[_>>8]+t[_&255]+t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255],512)}function Y5(w){var p,V,f=w.length,l=Nt[512].offset,a=0,i=l[31]|0,r=0,o=l[30]|0,d=0,c=l[29]|0,u=0,h=l[28]|0,_=0,b=l[27]|0,m=0,g=l[26]|0,v=0,C=l[25]|0,y=0,S=l[24]|0,I=0,$=l[23]|0,L=0,D=l[22]|0,E=0,R=l[21]|0,x=0,k=l[20]|0,O=0,P=l[19]|0,A=0,N=l[18]|0,T=0,M=l[17]|0,B=0,j=l[16]|0,Q=0,oe=l[15]|0,J=0,le=l[14]|0,ee=0,de=l[13]|0,te=0,ce=l[12]|0,ne=0,ae=l[11]|0,z=0,se=l[10]|0,H=0,ue=l[9]|0,q=0,pe=l[8]|0,K=0,fe=l[7]|0,U=0,he=l[6]|0,G=0,me=l[5]|0,W=0,ve=l[4]|0,Y=0,_e=l[3]|0,Z=0,ge=l[2]|0,X=0,ye=l[1]|0,be=0,we=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?i^=p:p<2048?(i^=p>>6|192,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p>>12&63|128,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p>>6&63|128,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p&63|128):(i^=p>>12|224,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p>>6&63|128,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p&63|128),a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535;return zt(t[we>>8]+t[we&255]+t[ye>>8]+t[ye&255]+t[ge>>8]+t[ge&255]+t[_e>>8]+t[_e&255]+t[ve>>8]+t[ve&255]+t[me>>8]+t[me&255]+t[he>>8]+t[he&255]+t[fe>>8]+t[fe&255]+t[pe>>8]+t[pe&255]+t[ue>>8]+t[ue&255]+t[se>>8]+t[se&255]+t[ae>>8]+t[ae&255]+t[ce>>8]+t[ce&255]+t[de>>8]+t[de&255]+t[le>>8]+t[le&255]+t[oe>>8]+t[oe&255]+t[j>>8]+t[j&255]+t[M>>8]+t[M&255]+t[N>>8]+t[N&255]+t[P>>8]+t[P&255]+t[k>>8]+t[k&255]+t[R>>8]+t[R&255]+t[D>>8]+t[D&255]+t[$>>8]+t[$&255]+t[S>>8]+t[S&255]+t[C>>8]+t[C&255]+t[g>>8]+t[g&255]+t[b>>8]+t[b&255]+t[h>>8]+t[h&255]+t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255],512)}function N5(w){var p,V,f=w.length,l=Nt[512].offset,a=0,i=l[31]|0,r=0,o=l[30]|0,d=0,c=l[29]|0,u=0,h=l[28]|0,_=0,b=l[27]|0,m=0,g=l[26]|0,v=0,C=l[25]|0,y=0,S=l[24]|0,I=0,$=l[23]|0,L=0,D=l[22]|0,E=0,R=l[21]|0,x=0,k=l[20]|0,O=0,P=l[19]|0,A=0,N=l[18]|0,T=0,M=l[17]|0,B=0,j=l[16]|0,Q=0,oe=l[15]|0,J=0,le=l[14]|0,ee=0,de=l[13]|0,te=0,ce=l[12]|0,ne=0,ae=l[11]|0,z=0,se=l[10]|0,H=0,ue=l[9]|0,q=0,pe=l[8]|0,K=0,fe=l[7]|0,U=0,he=l[6]|0,G=0,me=l[5]|0,W=0,ve=l[4]|0,Y=0,_e=l[3]|0,Z=0,ge=l[2]|0,X=0,ye=l[1]|0,be=0,we=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,p<128?i^=p:p<2048?(i^=p>>6|192,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p>>12&63|128,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p>>6&63|128,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p&63|128):(i^=p>>12|224,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p>>6&63|128,a=i*343,r=o*343,d=c*343,u=h*343,_=b*343,m=g*343,v=C*343,y=S*343,I=$*343,L=D*343,E=R*343,x=k*343,O=P*343,A=N*343,T=M*343,B=j*343,Q=oe*343,J=le*343,ee=de*343,te=ce*343,ne=ae*343,z=se*343,H=ue*343,q=pe*343,K=fe*343,U=he*343,G=me*343,W=ve*343,Y=_e*343,Z=ge*343,X=ye*343,be=we*343,z+=i<<8,H+=o<<8,q+=c<<8,K+=h<<8,U+=b<<8,G+=g<<8,W+=C<<8,Y+=S<<8,Z+=$<<8,X+=D<<8,be+=R<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,we=be+(X>>>16)&65535,ye=X&65535,i^=p&63|128);return zt(t[we>>8]+t[we&255]+t[ye>>8]+t[ye&255]+t[ge>>8]+t[ge&255]+t[_e>>8]+t[_e&255]+t[ve>>8]+t[ve&255]+t[me>>8]+t[me&255]+t[he>>8]+t[he&255]+t[fe>>8]+t[fe&255]+t[pe>>8]+t[pe&255]+t[ue>>8]+t[ue&255]+t[se>>8]+t[se&255]+t[ae>>8]+t[ae&255]+t[ce>>8]+t[ce&255]+t[de>>8]+t[de&255]+t[le>>8]+t[le&255]+t[oe>>8]+t[oe&255]+t[j>>8]+t[j&255]+t[M>>8]+t[M&255]+t[N>>8]+t[N&255]+t[P>>8]+t[P&255]+t[k>>8]+t[k&255]+t[R>>8]+t[R&255]+t[D>>8]+t[D&255]+t[$>>8]+t[$&255]+t[S>>8]+t[S&255]+t[C>>8]+t[C&255]+t[g>>8]+t[g&255]+t[b>>8]+t[b&255]+t[h>>8]+t[h&255]+t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255],512)}jt=b5;function H5(w){var p,V=w.length-3,f=Nt[1024].offset,l=0,a=f[63]|0,i=0,r=f[62]|0,o=0,d=f[61]|0,c=0,u=f[60]|0,h=0,_=f[59]|0,b=0,m=f[58]|0,g=0,v=f[57]|0,C=0,y=f[56]|0,S=0,I=f[55]|0,$=0,L=f[54]|0,D=0,E=f[53]|0,R=0,x=f[52]|0,k=0,O=f[51]|0,P=0,A=f[50]|0,N=0,T=f[49]|0,M=0,B=f[48]|0,j=0,Q=f[47]|0,oe=0,J=f[46]|0,le=0,ee=f[45]|0,de=0,te=f[44]|0,ce=0,ne=f[43]|0,ae=0,z=f[42]|0,se=0,H=f[41]|0,ue=0,q=f[40]|0,pe=0,K=f[39]|0,fe=0,U=f[38]|0,he=0,G=f[37]|0,me=0,W=f[36]|0,ve=0,Y=f[35]|0,_e=0,Z=f[34]|0,ge=0,X=f[33]|0,ye=0,be=f[32]|0,we=0,_t=f[31]|0,Ot=0,gt=f[30]|0,At=0,bt=f[29]|0,Tt=0,yt=f[28]|0,Lt=0,Ct=f[27]|0,Dt=0,St=f[26]|0,Rt=0,Et=f[25]|0,$t=0,It=f[24]|0,kt=0,wt=f[23]|0,Pt=0,xt=f[22]|0,We=0,xe=f[21]|0,Ye=0,Oe=f[20]|0,Ze=0,Ae=f[19]|0,Xe=0,Te=f[18]|0,Qe=0,Le=f[17]|0,Je=0,De=f[16]|0,et=0,Re=f[15]|0,tt=0,$e=f[14]|0,nt=0,ke=f[13]|0,it=0,Pe=f[12]|0,at=0,Ne=f[11]|0,st=0,Be=f[10]|0,rt=0,Me=f[9]|0,ot=0,Fe=f[8]|0,lt=0,Ve=f[7]|0,dt=0,je=f[6]|0,ct=0,ze=f[5]|0,ut=0,He=f[4]|0,pt=0,qe=f[3]|0,ft=0,Ke=f[2]|0,ht=0,Ue=f[1]|0,Ft=0,Bt=f[0]|0;for(p=0;p<V;)a^=w.charCodeAt(p++),l=a*397,i=r*397,o=d*397,c=u*397,h=_*397,b=m*397,g=v*397,C=y*397,S=I*397,$=L*397,D=E*397,R=x*397,k=O*397,P=A*397,N=T*397,M=B*397,j=Q*397,oe=J*397,le=ee*397,de=te*397,ce=ne*397,ae=z*397,se=H*397,ue=q*397,pe=K*397,fe=U*397,he=G*397,me=W*397,ve=Y*397,_e=Z*397,ge=X*397,ye=be*397,we=_t*397,Ot=gt*397,At=bt*397,Tt=yt*397,Lt=Ct*397,Dt=St*397,Rt=Et*397,$t=It*397,kt=wt*397,Pt=xt*397,We=xe*397,Ye=Oe*397,Ze=Ae*397,Xe=Te*397,Qe=Le*397,Je=De*397,et=Re*397,tt=$e*397,nt=ke*397,it=Pe*397,at=Ne*397,st=Be*397,rt=Me*397,ot=Fe*397,lt=Ve*397,dt=je*397,ct=ze*397,ut=He*397,pt=qe*397,ft=Ke*397,ht=Ue*397,Ft=Bt*397,We+=a<<8,Ye+=r<<8,Ze+=d<<8,Xe+=u<<8,Qe+=_<<8,Je+=m<<8,et+=v<<8,tt+=y<<8,nt+=I<<8,it+=L<<8,at+=E<<8,st+=x<<8,rt+=O<<8,ot+=A<<8,lt+=T<<8,dt+=B<<8,ct+=Q<<8,ut+=J<<8,pt+=ee<<8,ft+=te<<8,ht+=ne<<8,Ft+=z<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,ye+=ge>>>16,X=ge&65535,we+=ye>>>16,be=ye&65535,Ot+=we>>>16,_t=we&65535,At+=Ot>>>16,gt=Ot&65535,Tt+=At>>>16,bt=At&65535,Lt+=Tt>>>16,yt=Tt&65535,Dt+=Lt>>>16,Ct=Lt&65535,Rt+=Dt>>>16,St=Dt&65535,$t+=Rt>>>16,Et=Rt&65535,kt+=$t>>>16,It=$t&65535,Pt+=kt>>>16,wt=kt&65535,We+=Pt>>>16,xt=Pt&65535,Ye+=We>>>16,xe=We&65535,Ze+=Ye>>>16,Oe=Ye&65535,Xe+=Ze>>>16,Ae=Ze&65535,Qe+=Xe>>>16,Te=Xe&65535,Je+=Qe>>>16,Le=Qe&65535,et+=Je>>>16,De=Je&65535,tt+=et>>>16,Re=et&65535,nt+=tt>>>16,$e=tt&65535,it+=nt>>>16,ke=nt&65535,at+=it>>>16,Pe=it&65535,st+=at>>>16,Ne=at&65535,rt+=st>>>16,Be=st&65535,ot+=rt>>>16,Me=rt&65535,lt+=ot>>>16,Fe=ot&65535,dt+=lt>>>16,Ve=lt&65535,ct+=dt>>>16,je=dt&65535,ut+=ct>>>16,ze=ct&65535,pt+=ut>>>16,He=ut&65535,ft+=pt>>>16,qe=pt&65535,ht+=ft>>>16,Ke=ft&65535,Bt=Ft+(ht>>>16)&65535,Ue=ht&65535,a^=w.charCodeAt(p++),l=a*397,i=r*397,o=d*397,c=u*397,h=_*397,b=m*397,g=v*397,C=y*397,S=I*397,$=L*397,D=E*397,R=x*397,k=O*397,P=A*397,N=T*397,M=B*397,j=Q*397,oe=J*397,le=ee*397,de=te*397,ce=ne*397,ae=z*397,se=H*397,ue=q*397,pe=K*397,fe=U*397,he=G*397,me=W*397,ve=Y*397,_e=Z*397,ge=X*397,ye=be*397,we=_t*397,Ot=gt*397,At=bt*397,Tt=yt*397,Lt=Ct*397,Dt=St*397,Rt=Et*397,$t=It*397,kt=wt*397,Pt=xt*397,We=xe*397,Ye=Oe*397,Ze=Ae*397,Xe=Te*397,Qe=Le*397,Je=De*397,et=Re*397,tt=$e*397,nt=ke*397,it=Pe*397,at=Ne*397,st=Be*397,rt=Me*397,ot=Fe*397,lt=Ve*397,dt=je*397,ct=ze*397,ut=He*397,pt=qe*397,ft=Ke*397,ht=Ue*397,Ft=Bt*397,We+=a<<8,Ye+=r<<8,Ze+=d<<8,Xe+=u<<8,Qe+=_<<8,Je+=m<<8,et+=v<<8,tt+=y<<8,nt+=I<<8,it+=L<<8,at+=E<<8,st+=x<<8,rt+=O<<8,ot+=A<<8,lt+=T<<8,dt+=B<<8,ct+=Q<<8,ut+=J<<8,pt+=ee<<8,ft+=te<<8,ht+=ne<<8,Ft+=z<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,ye+=ge>>>16,X=ge&65535,we+=ye>>>16,be=ye&65535,Ot+=we>>>16,_t=we&65535,At+=Ot>>>16,gt=Ot&65535,Tt+=At>>>16,bt=At&65535,Lt+=Tt>>>16,yt=Tt&65535,Dt+=Lt>>>16,Ct=Lt&65535,Rt+=Dt>>>16,St=Dt&65535,$t+=Rt>>>16,Et=Rt&65535,kt+=$t>>>16,It=$t&65535,Pt+=kt>>>16,wt=kt&65535,We+=Pt>>>16,xt=Pt&65535,Ye+=We>>>16,xe=We&65535,Ze+=Ye>>>16,Oe=Ye&65535,Xe+=Ze>>>16,Ae=Ze&65535,Qe+=Xe>>>16,Te=Xe&65535,Je+=Qe>>>16,Le=Qe&65535,et+=Je>>>16,De=Je&65535,tt+=et>>>16,Re=et&65535,nt+=tt>>>16,$e=tt&65535,it+=nt>>>16,ke=nt&65535,at+=it>>>16,Pe=it&65535,st+=at>>>16,Ne=at&65535,rt+=st>>>16,Be=st&65535,ot+=rt>>>16,Me=rt&65535,lt+=ot>>>16,Fe=ot&65535,dt+=lt>>>16,Ve=lt&65535,ct+=dt>>>16,je=dt&65535,ut+=ct>>>16,ze=ct&65535,pt+=ut>>>16,He=ut&65535,ft+=pt>>>16,qe=pt&65535,ht+=ft>>>16,Ke=ft&65535,Bt=Ft+(ht>>>16)&65535,Ue=ht&65535,a^=w.charCodeAt(p++),l=a*397,i=r*397,o=d*397,c=u*397,h=_*397,b=m*397,g=v*397,C=y*397,S=I*397,$=L*397,D=E*397,R=x*397,k=O*397,P=A*397,N=T*397,M=B*397,j=Q*397,oe=J*397,le=ee*397,de=te*397,ce=ne*397,ae=z*397,se=H*397,ue=q*397,pe=K*397,fe=U*397,he=G*397,me=W*397,ve=Y*397,_e=Z*397,ge=X*397,ye=be*397,we=_t*397,Ot=gt*397,At=bt*397,Tt=yt*397,Lt=Ct*397,Dt=St*397,Rt=Et*397,$t=It*397,kt=wt*397,Pt=xt*397,We=xe*397,Ye=Oe*397,Ze=Ae*397,Xe=Te*397,Qe=Le*397,Je=De*397,et=Re*397,tt=$e*397,nt=ke*397,it=Pe*397,at=Ne*397,st=Be*397,rt=Me*397,ot=Fe*397,lt=Ve*397,dt=je*397,ct=ze*397,ut=He*397,pt=qe*397,ft=Ke*397,ht=Ue*397,Ft=Bt*397,We+=a<<8,Ye+=r<<8,Ze+=d<<8,Xe+=u<<8,Qe+=_<<8,Je+=m<<8,et+=v<<8,tt+=y<<8,nt+=I<<8,it+=L<<8,at+=E<<8,st+=x<<8,rt+=O<<8,ot+=A<<8,lt+=T<<8,dt+=B<<8,ct+=Q<<8,ut+=J<<8,pt+=ee<<8,ft+=te<<8,ht+=ne<<8,Ft+=z<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,ye+=ge>>>16,X=ge&65535,we+=ye>>>16,be=ye&65535,Ot+=we>>>16,_t=we&65535,At+=Ot>>>16,gt=Ot&65535,Tt+=At>>>16,bt=At&65535,Lt+=Tt>>>16,yt=Tt&65535,Dt+=Lt>>>16,Ct=Lt&65535,Rt+=Dt>>>16,St=Dt&65535,$t+=Rt>>>16,Et=Rt&65535,kt+=$t>>>16,It=$t&65535,Pt+=kt>>>16,wt=kt&65535,We+=Pt>>>16,xt=Pt&65535,Ye+=We>>>16,xe=We&65535,Ze+=Ye>>>16,Oe=Ye&65535,Xe+=Ze>>>16,Ae=Ze&65535,Qe+=Xe>>>16,Te=Xe&65535,Je+=Qe>>>16,Le=Qe&65535,et+=Je>>>16,De=Je&65535,tt+=et>>>16,Re=et&65535,nt+=tt>>>16,$e=tt&65535,it+=nt>>>16,ke=nt&65535,at+=it>>>16,Pe=it&65535,st+=at>>>16,Ne=at&65535,rt+=st>>>16,Be=st&65535,ot+=rt>>>16,Me=rt&65535,lt+=ot>>>16,Fe=ot&65535,dt+=lt>>>16,Ve=lt&65535,ct+=dt>>>16,je=dt&65535,ut+=ct>>>16,ze=ct&65535,pt+=ut>>>16,He=ut&65535,ft+=pt>>>16,qe=pt&65535,ht+=ft>>>16,Ke=ft&65535,Bt=Ft+(ht>>>16)&65535,Ue=ht&65535,a^=w.charCodeAt(p++),l=a*397,i=r*397,o=d*397,c=u*397,h=_*397,b=m*397,g=v*397,C=y*397,S=I*397,$=L*397,D=E*397,R=x*397,k=O*397,P=A*397,N=T*397,M=B*397,j=Q*397,oe=J*397,le=ee*397,de=te*397,ce=ne*397,ae=z*397,se=H*397,ue=q*397,pe=K*397,fe=U*397,he=G*397,me=W*397,ve=Y*397,_e=Z*397,ge=X*397,ye=be*397,we=_t*397,Ot=gt*397,At=bt*397,Tt=yt*397,Lt=Ct*397,Dt=St*397,Rt=Et*397,$t=It*397,kt=wt*397,Pt=xt*397,We=xe*397,Ye=Oe*397,Ze=Ae*397,Xe=Te*397,Qe=Le*397,Je=De*397,et=Re*397,tt=$e*397,nt=ke*397,it=Pe*397,at=Ne*397,st=Be*397,rt=Me*397,ot=Fe*397,lt=Ve*397,dt=je*397,ct=ze*397,ut=He*397,pt=qe*397,ft=Ke*397,ht=Ue*397,Ft=Bt*397,We+=a<<8,Ye+=r<<8,Ze+=d<<8,Xe+=u<<8,Qe+=_<<8,Je+=m<<8,et+=v<<8,tt+=y<<8,nt+=I<<8,it+=L<<8,at+=E<<8,st+=x<<8,rt+=O<<8,ot+=A<<8,lt+=T<<8,dt+=B<<8,ct+=Q<<8,ut+=J<<8,pt+=ee<<8,ft+=te<<8,ht+=ne<<8,Ft+=z<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,ye+=ge>>>16,X=ge&65535,we+=ye>>>16,be=ye&65535,Ot+=we>>>16,_t=we&65535,At+=Ot>>>16,gt=Ot&65535,Tt+=At>>>16,bt=At&65535,Lt+=Tt>>>16,yt=Tt&65535,Dt+=Lt>>>16,Ct=Lt&65535,Rt+=Dt>>>16,St=Dt&65535,$t+=Rt>>>16,Et=Rt&65535,kt+=$t>>>16,It=$t&65535,Pt+=kt>>>16,wt=kt&65535,We+=Pt>>>16,xt=Pt&65535,Ye+=We>>>16,xe=We&65535,Ze+=Ye>>>16,Oe=Ye&65535,Xe+=Ze>>>16,Ae=Ze&65535,Qe+=Xe>>>16,Te=Xe&65535,Je+=Qe>>>16,Le=Qe&65535,et+=Je>>>16,De=Je&65535,tt+=et>>>16,Re=et&65535,nt+=tt>>>16,$e=tt&65535,it+=nt>>>16,ke=nt&65535,at+=it>>>16,Pe=it&65535,st+=at>>>16,Ne=at&65535,rt+=st>>>16,Be=st&65535,ot+=rt>>>16,Me=rt&65535,lt+=ot>>>16,Fe=ot&65535,dt+=lt>>>16,Ve=lt&65535,ct+=dt>>>16,je=dt&65535,ut+=ct>>>16,ze=ct&65535,pt+=ut>>>16,He=ut&65535,ft+=pt>>>16,qe=pt&65535,ht+=ft>>>16,Ke=ft&65535,Bt=Ft+(ht>>>16)&65535,Ue=ht&65535;for(;p<V+3;)a^=w.charCodeAt(p++),l=a*397,i=r*397,o=d*397,c=u*397,h=_*397,b=m*397,g=v*397,C=y*397,S=I*397,$=L*397,D=E*397,R=x*397,k=O*397,P=A*397,N=T*397,M=B*397,j=Q*397,oe=J*397,le=ee*397,de=te*397,ce=ne*397,ae=z*397,se=H*397,ue=q*397,pe=K*397,fe=U*397,he=G*397,me=W*397,ve=Y*397,_e=Z*397,ge=X*397,ye=be*397,we=_t*397,Ot=gt*397,At=bt*397,Tt=yt*397,Lt=Ct*397,Dt=St*397,Rt=Et*397,$t=It*397,kt=wt*397,Pt=xt*397,We=xe*397,Ye=Oe*397,Ze=Ae*397,Xe=Te*397,Qe=Le*397,Je=De*397,et=Re*397,tt=$e*397,nt=ke*397,it=Pe*397,at=Ne*397,st=Be*397,rt=Me*397,ot=Fe*397,lt=Ve*397,dt=je*397,ct=ze*397,ut=He*397,pt=qe*397,ft=Ke*397,ht=Ue*397,Ft=Bt*397,We+=a<<8,Ye+=r<<8,Ze+=d<<8,Xe+=u<<8,Qe+=_<<8,Je+=m<<8,et+=v<<8,tt+=y<<8,nt+=I<<8,it+=L<<8,at+=E<<8,st+=x<<8,rt+=O<<8,ot+=A<<8,lt+=T<<8,dt+=B<<8,ct+=Q<<8,ut+=J<<8,pt+=ee<<8,ft+=te<<8,ht+=ne<<8,Ft+=z<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,ye+=ge>>>16,X=ge&65535,we+=ye>>>16,be=ye&65535,Ot+=we>>>16,_t=we&65535,At+=Ot>>>16,gt=Ot&65535,Tt+=At>>>16,bt=At&65535,Lt+=Tt>>>16,yt=Tt&65535,Dt+=Lt>>>16,Ct=Lt&65535,Rt+=Dt>>>16,St=Dt&65535,$t+=Rt>>>16,Et=Rt&65535,kt+=$t>>>16,It=$t&65535,Pt+=kt>>>16,wt=kt&65535,We+=Pt>>>16,xt=Pt&65535,Ye+=We>>>16,xe=We&65535,Ze+=Ye>>>16,Oe=Ye&65535,Xe+=Ze>>>16,Ae=Ze&65535,Qe+=Xe>>>16,Te=Xe&65535,Je+=Qe>>>16,Le=Qe&65535,et+=Je>>>16,De=Je&65535,tt+=et>>>16,Re=et&65535,nt+=tt>>>16,$e=tt&65535,it+=nt>>>16,ke=nt&65535,at+=it>>>16,Pe=it&65535,st+=at>>>16,Ne=at&65535,rt+=st>>>16,Be=st&65535,ot+=rt>>>16,Me=rt&65535,lt+=ot>>>16,Fe=ot&65535,dt+=lt>>>16,Ve=lt&65535,ct+=dt>>>16,je=dt&65535,ut+=ct>>>16,ze=ct&65535,pt+=ut>>>16,He=ut&65535,ft+=pt>>>16,qe=pt&65535,ht+=ft>>>16,Ke=ft&65535,Bt=Ft+(ht>>>16)&65535,Ue=ht&65535;return zt(t[Bt>>8]+t[Bt&255]+t[Ue>>8]+t[Ue&255]+t[Ke>>8]+t[Ke&255]+t[qe>>8]+t[qe&255]+t[He>>8]+t[He&255]+t[ze>>8]+t[ze&255]+t[je>>8]+t[je&255]+t[Ve>>8]+t[Ve&255]+t[Fe>>8]+t[Fe&255]+t[Me>>8]+t[Me&255]+t[Be>>8]+t[Be&255]+t[Ne>>8]+t[Ne&255]+t[Pe>>8]+t[Pe&255]+t[ke>>8]+t[ke&255]+t[$e>>8]+t[$e&255]+t[Re>>8]+t[Re&255]+t[De>>8]+t[De&255]+t[Le>>8]+t[Le&255]+t[Te>>8]+t[Te&255]+t[Ae>>8]+t[Ae&255]+t[Oe>>8]+t[Oe&255]+t[xe>>8]+t[xe&255]+t[xt>>8]+t[xt&255]+t[wt>>8]+t[wt&255]+t[It>>8]+t[It&255]+t[Et>>8]+t[Et&255]+t[St>>8]+t[St&255]+t[Ct>>8]+t[Ct&255]+t[yt>>8]+t[yt&255]+t[bt>>8]+t[bt&255]+t[gt>>8]+t[gt&255]+t[_t>>8]+t[_t&255]+t[be>>8]+t[be&255]+t[X>>8]+t[X&255]+t[Z>>8]+t[Z&255]+t[Y>>8]+t[Y&255]+t[W>>8]+t[W&255]+t[G>>8]+t[G&255]+t[U>>8]+t[U&255]+t[K>>8]+t[K&255]+t[q>>8]+t[q&255]+t[H>>8]+t[H&255]+t[z>>8]+t[z&255]+t[ne>>8]+t[ne&255]+t[te>>8]+t[te&255]+t[ee>>8]+t[ee&255]+t[J>>8]+t[J&255]+t[Q>>8]+t[Q&255]+t[B>>8]+t[B&255]+t[T>>8]+t[T&255]+t[A>>8]+t[A&255]+t[O>>8]+t[O&255]+t[x>>8]+t[x&255]+t[E>>8]+t[E&255]+t[L>>8]+t[L&255]+t[I>>8]+t[I&255]+t[y>>8]+t[y&255]+t[v>>8]+t[v&255]+t[m>>8]+t[m&255]+t[_>>8]+t[_&255]+t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255],1024)}function rn(w){var p,V=w.length-3,f=Nt[1024].offset,l=0,a=f[63]|0,i=0,r=f[62]|0,o=0,d=f[61]|0,c=0,u=f[60]|0,h=0,_=f[59]|0,b=0,m=f[58]|0,g=0,v=f[57]|0,C=0,y=f[56]|0,S=0,I=f[55]|0,$=0,L=f[54]|0,D=0,E=f[53]|0,R=0,x=f[52]|0,k=0,O=f[51]|0,P=0,A=f[50]|0,N=0,T=f[49]|0,M=0,B=f[48]|0,j=0,Q=f[47]|0,oe=0,J=f[46]|0,le=0,ee=f[45]|0,de=0,te=f[44]|0,ce=0,ne=f[43]|0,ae=0,z=f[42]|0,se=0,H=f[41]|0,ue=0,q=f[40]|0,pe=0,K=f[39]|0,fe=0,U=f[38]|0,he=0,G=f[37]|0,me=0,W=f[36]|0,ve=0,Y=f[35]|0,_e=0,Z=f[34]|0,ge=0,X=f[33]|0,ye=0,be=f[32]|0,we=0,_t=f[31]|0,Ot=0,gt=f[30]|0,At=0,bt=f[29]|0,Tt=0,yt=f[28]|0,Lt=0,Ct=f[27]|0,Dt=0,St=f[26]|0,Rt=0,Et=f[25]|0,$t=0,It=f[24]|0,kt=0,wt=f[23]|0,Pt=0,xt=f[22]|0,We=0,xe=f[21]|0,Ye=0,Oe=f[20]|0,Ze=0,Ae=f[19]|0,Xe=0,Te=f[18]|0,Qe=0,Le=f[17]|0,Je=0,De=f[16]|0,et=0,Re=f[15]|0,tt=0,$e=f[14]|0,nt=0,ke=f[13]|0,it=0,Pe=f[12]|0,at=0,Ne=f[11]|0,st=0,Be=f[10]|0,rt=0,Me=f[9]|0,ot=0,Fe=f[8]|0,lt=0,Ve=f[7]|0,dt=0,je=f[6]|0,ct=0,ze=f[5]|0,ut=0,He=f[4]|0,pt=0,qe=f[3]|0,ft=0,Ke=f[2]|0,ht=0,Ue=f[1]|0,Ft=0,Bt=f[0]|0;for(p=0;p<V;)l=a*397,i=r*397,o=d*397,c=u*397,h=_*397,b=m*397,g=v*397,C=y*397,S=I*397,$=L*397,D=E*397,R=x*397,k=O*397,P=A*397,N=T*397,M=B*397,j=Q*397,oe=J*397,le=ee*397,de=te*397,ce=ne*397,ae=z*397,se=H*397,ue=q*397,pe=K*397,fe=U*397,he=G*397,me=W*397,ve=Y*397,_e=Z*397,ge=X*397,ye=be*397,we=_t*397,Ot=gt*397,At=bt*397,Tt=yt*397,Lt=Ct*397,Dt=St*397,Rt=Et*397,$t=It*397,kt=wt*397,Pt=xt*397,We=xe*397,Ye=Oe*397,Ze=Ae*397,Xe=Te*397,Qe=Le*397,Je=De*397,et=Re*397,tt=$e*397,nt=ke*397,it=Pe*397,at=Ne*397,st=Be*397,rt=Me*397,ot=Fe*397,lt=Ve*397,dt=je*397,ct=ze*397,ut=He*397,pt=qe*397,ft=Ke*397,ht=Ue*397,Ft=Bt*397,We+=a<<8,Ye+=r<<8,Ze+=d<<8,Xe+=u<<8,Qe+=_<<8,Je+=m<<8,et+=v<<8,tt+=y<<8,nt+=I<<8,it+=L<<8,at+=E<<8,st+=x<<8,rt+=O<<8,ot+=A<<8,lt+=T<<8,dt+=B<<8,ct+=Q<<8,ut+=J<<8,pt+=ee<<8,ft+=te<<8,ht+=ne<<8,Ft+=z<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,ye+=ge>>>16,X=ge&65535,we+=ye>>>16,be=ye&65535,Ot+=we>>>16,_t=we&65535,At+=Ot>>>16,gt=Ot&65535,Tt+=At>>>16,bt=At&65535,Lt+=Tt>>>16,yt=Tt&65535,Dt+=Lt>>>16,Ct=Lt&65535,Rt+=Dt>>>16,St=Dt&65535,$t+=Rt>>>16,Et=Rt&65535,kt+=$t>>>16,It=$t&65535,Pt+=kt>>>16,wt=kt&65535,We+=Pt>>>16,xt=Pt&65535,Ye+=We>>>16,xe=We&65535,Ze+=Ye>>>16,Oe=Ye&65535,Xe+=Ze>>>16,Ae=Ze&65535,Qe+=Xe>>>16,Te=Xe&65535,Je+=Qe>>>16,Le=Qe&65535,et+=Je>>>16,De=Je&65535,tt+=et>>>16,Re=et&65535,nt+=tt>>>16,$e=tt&65535,it+=nt>>>16,ke=nt&65535,at+=it>>>16,Pe=it&65535,st+=at>>>16,Ne=at&65535,rt+=st>>>16,Be=st&65535,ot+=rt>>>16,Me=rt&65535,lt+=ot>>>16,Fe=ot&65535,dt+=lt>>>16,Ve=lt&65535,ct+=dt>>>16,je=dt&65535,ut+=ct>>>16,ze=ct&65535,pt+=ut>>>16,He=ut&65535,ft+=pt>>>16,qe=pt&65535,ht+=ft>>>16,Ke=ft&65535,Bt=Ft+(ht>>>16)&65535,Ue=ht&65535,a^=w.charCodeAt(p++),l=a*397,i=r*397,o=d*397,c=u*397,h=_*397,b=m*397,g=v*397,C=y*397,S=I*397,$=L*397,D=E*397,R=x*397,k=O*397,P=A*397,N=T*397,M=B*397,j=Q*397,oe=J*397,le=ee*397,de=te*397,ce=ne*397,ae=z*397,se=H*397,ue=q*397,pe=K*397,fe=U*397,he=G*397,me=W*397,ve=Y*397,_e=Z*397,ge=X*397,ye=be*397,we=_t*397,Ot=gt*397,At=bt*397,Tt=yt*397,Lt=Ct*397,Dt=St*397,Rt=Et*397,$t=It*397,kt=wt*397,Pt=xt*397,We=xe*397,Ye=Oe*397,Ze=Ae*397,Xe=Te*397,Qe=Le*397,Je=De*397,et=Re*397,tt=$e*397,nt=ke*397,it=Pe*397,at=Ne*397,st=Be*397,rt=Me*397,ot=Fe*397,lt=Ve*397,dt=je*397,ct=ze*397,ut=He*397,pt=qe*397,ft=Ke*397,ht=Ue*397,Ft=Bt*397,We+=a<<8,Ye+=r<<8,Ze+=d<<8,Xe+=u<<8,Qe+=_<<8,Je+=m<<8,et+=v<<8,tt+=y<<8,nt+=I<<8,it+=L<<8,at+=E<<8,st+=x<<8,rt+=O<<8,ot+=A<<8,lt+=T<<8,dt+=B<<8,ct+=Q<<8,ut+=J<<8,pt+=ee<<8,ft+=te<<8,ht+=ne<<8,Ft+=z<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,ye+=ge>>>16,X=ge&65535,we+=ye>>>16,be=ye&65535,Ot+=we>>>16,_t=we&65535,At+=Ot>>>16,gt=Ot&65535,Tt+=At>>>16,bt=At&65535,Lt+=Tt>>>16,yt=Tt&65535,Dt+=Lt>>>16,Ct=Lt&65535,Rt+=Dt>>>16,St=Dt&65535,$t+=Rt>>>16,Et=Rt&65535,kt+=$t>>>16,It=$t&65535,Pt+=kt>>>16,wt=kt&65535,We+=Pt>>>16,xt=Pt&65535,Ye+=We>>>16,xe=We&65535,Ze+=Ye>>>16,Oe=Ye&65535,Xe+=Ze>>>16,Ae=Ze&65535,Qe+=Xe>>>16,Te=Xe&65535,Je+=Qe>>>16,Le=Qe&65535,et+=Je>>>16,De=Je&65535,tt+=et>>>16,Re=et&65535,nt+=tt>>>16,$e=tt&65535,it+=nt>>>16,ke=nt&65535,at+=it>>>16,Pe=it&65535,st+=at>>>16,Ne=at&65535,rt+=st>>>16,Be=st&65535,ot+=rt>>>16,Me=rt&65535,lt+=ot>>>16,Fe=ot&65535,dt+=lt>>>16,Ve=lt&65535,ct+=dt>>>16,je=dt&65535,ut+=ct>>>16,ze=ct&65535,pt+=ut>>>16,He=ut&65535,ft+=pt>>>16,qe=pt&65535,ht+=ft>>>16,Ke=ft&65535,Bt=Ft+(ht>>>16)&65535,Ue=ht&65535,a^=w.charCodeAt(p++),l=a*397,i=r*397,o=d*397,c=u*397,h=_*397,b=m*397,g=v*397,C=y*397,S=I*397,$=L*397,D=E*397,R=x*397,k=O*397,P=A*397,N=T*397,M=B*397,j=Q*397,oe=J*397,le=ee*397,de=te*397,ce=ne*397,ae=z*397,se=H*397,ue=q*397,pe=K*397,fe=U*397,he=G*397,me=W*397,ve=Y*397,_e=Z*397,ge=X*397,ye=be*397,we=_t*397,Ot=gt*397,At=bt*397,Tt=yt*397,Lt=Ct*397,Dt=St*397,Rt=Et*397,$t=It*397,kt=wt*397,Pt=xt*397,We=xe*397,Ye=Oe*397,Ze=Ae*397,Xe=Te*397,Qe=Le*397,Je=De*397,et=Re*397,tt=$e*397,nt=ke*397,it=Pe*397,at=Ne*397,st=Be*397,rt=Me*397,ot=Fe*397,lt=Ve*397,dt=je*397,ct=ze*397,ut=He*397,pt=qe*397,ft=Ke*397,ht=Ue*397,Ft=Bt*397,We+=a<<8,Ye+=r<<8,Ze+=d<<8,Xe+=u<<8,Qe+=_<<8,Je+=m<<8,et+=v<<8,tt+=y<<8,nt+=I<<8,it+=L<<8,at+=E<<8,st+=x<<8,rt+=O<<8,ot+=A<<8,lt+=T<<8,dt+=B<<8,ct+=Q<<8,ut+=J<<8,pt+=ee<<8,ft+=te<<8,ht+=ne<<8,Ft+=z<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,ye+=ge>>>16,X=ge&65535,we+=ye>>>16,be=ye&65535,Ot+=we>>>16,_t=we&65535,At+=Ot>>>16,gt=Ot&65535,Tt+=At>>>16,bt=At&65535,Lt+=Tt>>>16,yt=Tt&65535,Dt+=Lt>>>16,Ct=Lt&65535,Rt+=Dt>>>16,St=Dt&65535,$t+=Rt>>>16,Et=Rt&65535,kt+=$t>>>16,It=$t&65535,Pt+=kt>>>16,wt=kt&65535,We+=Pt>>>16,xt=Pt&65535,Ye+=We>>>16,xe=We&65535,Ze+=Ye>>>16,Oe=Ye&65535,Xe+=Ze>>>16,Ae=Ze&65535,Qe+=Xe>>>16,Te=Xe&65535,Je+=Qe>>>16,Le=Qe&65535,et+=Je>>>16,De=Je&65535,tt+=et>>>16,Re=et&65535,nt+=tt>>>16,$e=tt&65535,it+=nt>>>16,ke=nt&65535,at+=it>>>16,Pe=it&65535,st+=at>>>16,Ne=at&65535,rt+=st>>>16,Be=st&65535,ot+=rt>>>16,Me=rt&65535,lt+=ot>>>16,Fe=ot&65535,dt+=lt>>>16,Ve=lt&65535,ct+=dt>>>16,je=dt&65535,ut+=ct>>>16,ze=ct&65535,pt+=ut>>>16,He=ut&65535,ft+=pt>>>16,qe=pt&65535,ht+=ft>>>16,Ke=ft&65535,Bt=Ft+(ht>>>16)&65535,Ue=ht&65535,a^=w.charCodeAt(p++),l=a*397,i=r*397,o=d*397,c=u*397,h=_*397,b=m*397,g=v*397,C=y*397,S=I*397,$=L*397,D=E*397,R=x*397,k=O*397,P=A*397,N=T*397,M=B*397,j=Q*397,oe=J*397,le=ee*397,de=te*397,ce=ne*397,ae=z*397,se=H*397,ue=q*397,pe=K*397,fe=U*397,he=G*397,me=W*397,ve=Y*397,_e=Z*397,ge=X*397,ye=be*397,we=_t*397,Ot=gt*397,At=bt*397,Tt=yt*397,Lt=Ct*397,Dt=St*397,Rt=Et*397,$t=It*397,kt=wt*397,Pt=xt*397,We=xe*397,Ye=Oe*397,Ze=Ae*397,Xe=Te*397,Qe=Le*397,Je=De*397,et=Re*397,tt=$e*397,nt=ke*397,it=Pe*397,at=Ne*397,st=Be*397,rt=Me*397,ot=Fe*397,lt=Ve*397,dt=je*397,ct=ze*397,ut=He*397,pt=qe*397,ft=Ke*397,ht=Ue*397,Ft=Bt*397,We+=a<<8,Ye+=r<<8,Ze+=d<<8,Xe+=u<<8,Qe+=_<<8,Je+=m<<8,et+=v<<8,tt+=y<<8,nt+=I<<8,it+=L<<8,at+=E<<8,st+=x<<8,rt+=O<<8,ot+=A<<8,lt+=T<<8,dt+=B<<8,ct+=Q<<8,ut+=J<<8,pt+=ee<<8,ft+=te<<8,ht+=ne<<8,Ft+=z<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,ye+=ge>>>16,X=ge&65535,we+=ye>>>16,be=ye&65535,Ot+=we>>>16,_t=we&65535,At+=Ot>>>16,gt=Ot&65535,Tt+=At>>>16,bt=At&65535,Lt+=Tt>>>16,yt=Tt&65535,Dt+=Lt>>>16,Ct=Lt&65535,Rt+=Dt>>>16,St=Dt&65535,$t+=Rt>>>16,Et=Rt&65535,kt+=$t>>>16,It=$t&65535,Pt+=kt>>>16,wt=kt&65535,We+=Pt>>>16,xt=Pt&65535,Ye+=We>>>16,xe=We&65535,Ze+=Ye>>>16,Oe=Ye&65535,Xe+=Ze>>>16,Ae=Ze&65535,Qe+=Xe>>>16,Te=Xe&65535,Je+=Qe>>>16,Le=Qe&65535,et+=Je>>>16,De=Je&65535,tt+=et>>>16,Re=et&65535,nt+=tt>>>16,$e=tt&65535,it+=nt>>>16,ke=nt&65535,at+=it>>>16,Pe=it&65535,st+=at>>>16,Ne=at&65535,rt+=st>>>16,Be=st&65535,ot+=rt>>>16,Me=rt&65535,lt+=ot>>>16,Fe=ot&65535,dt+=lt>>>16,Ve=lt&65535,ct+=dt>>>16,je=dt&65535,ut+=ct>>>16,ze=ct&65535,pt+=ut>>>16,He=ut&65535,ft+=pt>>>16,qe=pt&65535,ht+=ft>>>16,Ke=ft&65535,Bt=Ft+(ht>>>16)&65535,Ue=ht&65535,a^=w.charCodeAt(p++);for(;p<V+3;)l=a*397,i=r*397,o=d*397,c=u*397,h=_*397,b=m*397,g=v*397,C=y*397,S=I*397,$=L*397,D=E*397,R=x*397,k=O*397,P=A*397,N=T*397,M=B*397,j=Q*397,oe=J*397,le=ee*397,de=te*397,ce=ne*397,ae=z*397,se=H*397,ue=q*397,pe=K*397,fe=U*397,he=G*397,me=W*397,ve=Y*397,_e=Z*397,ge=X*397,ye=be*397,we=_t*397,Ot=gt*397,At=bt*397,Tt=yt*397,Lt=Ct*397,Dt=St*397,Rt=Et*397,$t=It*397,kt=wt*397,Pt=xt*397,We=xe*397,Ye=Oe*397,Ze=Ae*397,Xe=Te*397,Qe=Le*397,Je=De*397,et=Re*397,tt=$e*397,nt=ke*397,it=Pe*397,at=Ne*397,st=Be*397,rt=Me*397,ot=Fe*397,lt=Ve*397,dt=je*397,ct=ze*397,ut=He*397,pt=qe*397,ft=Ke*397,ht=Ue*397,Ft=Bt*397,We+=a<<8,Ye+=r<<8,Ze+=d<<8,Xe+=u<<8,Qe+=_<<8,Je+=m<<8,et+=v<<8,tt+=y<<8,nt+=I<<8,it+=L<<8,at+=E<<8,st+=x<<8,rt+=O<<8,ot+=A<<8,lt+=T<<8,dt+=B<<8,ct+=Q<<8,ut+=J<<8,pt+=ee<<8,ft+=te<<8,ht+=ne<<8,Ft+=z<<8,i+=l>>>16,a=l&65535,o+=i>>>16,r=i&65535,c+=o>>>16,d=o&65535,h+=c>>>16,u=c&65535,b+=h>>>16,_=h&65535,g+=b>>>16,m=b&65535,C+=g>>>16,v=g&65535,S+=C>>>16,y=C&65535,$+=S>>>16,I=S&65535,D+=$>>>16,L=$&65535,R+=D>>>16,E=D&65535,k+=R>>>16,x=R&65535,P+=k>>>16,O=k&65535,N+=P>>>16,A=P&65535,M+=N>>>16,T=N&65535,j+=M>>>16,B=M&65535,oe+=j>>>16,Q=j&65535,le+=oe>>>16,J=oe&65535,de+=le>>>16,ee=le&65535,ce+=de>>>16,te=de&65535,ae+=ce>>>16,ne=ce&65535,se+=ae>>>16,z=ae&65535,ue+=se>>>16,H=se&65535,pe+=ue>>>16,q=ue&65535,fe+=pe>>>16,K=pe&65535,he+=fe>>>16,U=fe&65535,me+=he>>>16,G=he&65535,ve+=me>>>16,W=me&65535,_e+=ve>>>16,Y=ve&65535,ge+=_e>>>16,Z=_e&65535,ye+=ge>>>16,X=ge&65535,we+=ye>>>16,be=ye&65535,Ot+=we>>>16,_t=we&65535,At+=Ot>>>16,gt=Ot&65535,Tt+=At>>>16,bt=At&65535,Lt+=Tt>>>16,yt=Tt&65535,Dt+=Lt>>>16,Ct=Lt&65535,Rt+=Dt>>>16,St=Dt&65535,$t+=Rt>>>16,Et=Rt&65535,kt+=$t>>>16,It=$t&65535,Pt+=kt>>>16,wt=kt&65535,We+=Pt>>>16,xt=Pt&65535,Ye+=We>>>16,xe=We&65535,Ze+=Ye>>>16,Oe=Ye&65535,Xe+=Ze>>>16,Ae=Ze&65535,Qe+=Xe>>>16,Te=Xe&65535,Je+=Qe>>>16,Le=Qe&65535,et+=Je>>>16,De=Je&65535,tt+=et>>>16,Re=et&65535,nt+=tt>>>16,$e=tt&65535,it+=nt>>>16,ke=nt&65535,at+=it>>>16,Pe=it&65535,st+=at>>>16,Ne=at&65535,rt+=st>>>16,Be=st&65535,ot+=rt>>>16,Me=rt&65535,lt+=ot>>>16,Fe=ot&65535,dt+=lt>>>16,Ve=lt&65535,ct+=dt>>>16,je=dt&65535,ut+=ct>>>16,ze=ct&65535,pt+=ut>>>16,He=ut&65535,ft+=pt>>>16,qe=pt&65535,ht+=ft>>>16,Ke=ft&65535,Bt=Ft+(ht>>>16)&65535,Ue=ht&65535,a^=w.charCodeAt(p++);return zt(t[Bt>>8]+t[Bt&255]+t[Ue>>8]+t[Ue&255]+t[Ke>>8]+t[Ke&255]+t[qe>>8]+t[qe&255]+t[He>>8]+t[He&255]+t[ze>>8]+t[ze&255]+t[je>>8]+t[je&255]+t[Ve>>8]+t[Ve&255]+t[Fe>>8]+t[Fe&255]+t[Me>>8]+t[Me&255]+t[Be>>8]+t[Be&255]+t[Ne>>8]+t[Ne&255]+t[Pe>>8]+t[Pe&255]+t[ke>>8]+t[ke&255]+t[$e>>8]+t[$e&255]+t[Re>>8]+t[Re&255]+t[De>>8]+t[De&255]+t[Le>>8]+t[Le&255]+t[Te>>8]+t[Te&255]+t[Ae>>8]+t[Ae&255]+t[Oe>>8]+t[Oe&255]+t[xe>>8]+t[xe&255]+t[xt>>8]+t[xt&255]+t[wt>>8]+t[wt&255]+t[It>>8]+t[It&255]+t[Et>>8]+t[Et&255]+t[St>>8]+t[St&255]+t[Ct>>8]+t[Ct&255]+t[yt>>8]+t[yt&255]+t[bt>>8]+t[bt&255]+t[gt>>8]+t[gt&255]+t[_t>>8]+t[_t&255]+t[be>>8]+t[be&255]+t[X>>8]+t[X&255]+t[Z>>8]+t[Z&255]+t[Y>>8]+t[Y&255]+t[W>>8]+t[W&255]+t[G>>8]+t[G&255]+t[U>>8]+t[U&255]+t[K>>8]+t[K&255]+t[q>>8]+t[q&255]+t[H>>8]+t[H&255]+t[z>>8]+t[z&255]+t[ne>>8]+t[ne&255]+t[te>>8]+t[te&255]+t[ee>>8]+t[ee&255]+t[J>>8]+t[J&255]+t[Q>>8]+t[Q&255]+t[B>>8]+t[B&255]+t[T>>8]+t[T&255]+t[A>>8]+t[A&255]+t[O>>8]+t[O&255]+t[x>>8]+t[x&255]+t[E>>8]+t[E&255]+t[L>>8]+t[L&255]+t[I>>8]+t[I&255]+t[y>>8]+t[y&255]+t[v>>8]+t[v&255]+t[m>>8]+t[m&255]+t[_>>8]+t[_&255]+t[u>>8]+t[u&255]+t[d>>8]+t[d&255]+t[r>>8]+t[r&255]+t[a>>8]+t[a&255],1024)}function on(w){var p,V,f=w.length,l=Nt[1024].offset,a=0,i=l[63]|0,r=0,o=l[62]|0,d=0,c=l[61]|0,u=0,h=l[60]|0,_=0,b=l[59]|0,m=0,g=l[58]|0,v=0,C=l[57]|0,y=0,S=l[56]|0,I=0,$=l[55]|0,L=0,D=l[54]|0,E=0,R=l[53]|0,x=0,k=l[52]|0,O=0,P=l[51]|0,A=0,N=l[50]|0,T=0,M=l[49]|0,B=0,j=l[48]|0,Q=0,oe=l[47]|0,J=0,le=l[46]|0,ee=0,de=l[45]|0,te=0,ce=l[44]|0,ne=0,ae=l[43]|0,z=0,se=l[42]|0,H=0,ue=l[41]|0,q=0,pe=l[40]|0,K=0,fe=l[39]|0,U=0,he=l[38]|0,G=0,me=l[37]|0,W=0,ve=l[36]|0,Y=0,_e=l[35]|0,Z=0,ge=l[34]|0,X=0,ye=l[33]|0,be=0,we=l[32]|0,_t=0,Ot=l[31]|0,gt=0,At=l[30]|0,bt=0,Tt=l[29]|0,yt=0,Lt=l[28]|0,Ct=0,Dt=l[27]|0,St=0,Rt=l[26]|0,Et=0,$t=l[25]|0,It=0,kt=l[24]|0,wt=0,Pt=l[23]|0,xt=0,We=l[22]|0,xe=0,Ye=l[21]|0,Oe=0,Ze=l[20]|0,Ae=0,Xe=l[19]|0,Te=0,Qe=l[18]|0,Le=0,Je=l[17]|0,De=0,et=l[16]|0,Re=0,tt=l[15]|0,$e=0,nt=l[14]|0,ke=0,it=l[13]|0,Pe=0,at=l[12]|0,Ne=0,st=l[11]|0,Be=0,rt=l[10]|0,Me=0,ot=l[9]|0,Fe=0,lt=l[8]|0,Ve=0,dt=l[7]|0,je=0,ct=l[6]|0,ze=0,ut=l[5]|0,He=0,pt=l[4]|0,qe=0,ft=l[3]|0,Ke=0,ht=l[2]|0,Ue=0,Ft=l[1]|0,Bt=0,Gt=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),p<128?i^=p:p<2048?(i^=p>>6|192,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p>>12&63|128,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p>>6&63|128,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p&63|128):(i^=p>>12|224,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p>>6&63|128,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p&63|128),a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535;return zt(t[Gt>>8]+t[Gt&255]+t[Ft>>8]+t[Ft&255]+t[ht>>8]+t[ht&255]+t[ft>>8]+t[ft&255]+t[pt>>8]+t[pt&255]+t[ut>>8]+t[ut&255]+t[ct>>8]+t[ct&255]+t[dt>>8]+t[dt&255]+t[lt>>8]+t[lt&255]+t[ot>>8]+t[ot&255]+t[rt>>8]+t[rt&255]+t[st>>8]+t[st&255]+t[at>>8]+t[at&255]+t[it>>8]+t[it&255]+t[nt>>8]+t[nt&255]+t[tt>>8]+t[tt&255]+t[et>>8]+t[et&255]+t[Je>>8]+t[Je&255]+t[Qe>>8]+t[Qe&255]+t[Xe>>8]+t[Xe&255]+t[Ze>>8]+t[Ze&255]+t[Ye>>8]+t[Ye&255]+t[We>>8]+t[We&255]+t[Pt>>8]+t[Pt&255]+t[kt>>8]+t[kt&255]+t[$t>>8]+t[$t&255]+t[Rt>>8]+t[Rt&255]+t[Dt>>8]+t[Dt&255]+t[Lt>>8]+t[Lt&255]+t[Tt>>8]+t[Tt&255]+t[At>>8]+t[At&255]+t[Ot>>8]+t[Ot&255]+t[we>>8]+t[we&255]+t[ye>>8]+t[ye&255]+t[ge>>8]+t[ge&255]+t[_e>>8]+t[_e&255]+t[ve>>8]+t[ve&255]+t[me>>8]+t[me&255]+t[he>>8]+t[he&255]+t[fe>>8]+t[fe&255]+t[pe>>8]+t[pe&255]+t[ue>>8]+t[ue&255]+t[se>>8]+t[se&255]+t[ae>>8]+t[ae&255]+t[ce>>8]+t[ce&255]+t[de>>8]+t[de&255]+t[le>>8]+t[le&255]+t[oe>>8]+t[oe&255]+t[j>>8]+t[j&255]+t[M>>8]+t[M&255]+t[N>>8]+t[N&255]+t[P>>8]+t[P&255]+t[k>>8]+t[k&255]+t[R>>8]+t[R&255]+t[D>>8]+t[D&255]+t[$>>8]+t[$&255]+t[S>>8]+t[S&255]+t[C>>8]+t[C&255]+t[g>>8]+t[g&255]+t[b>>8]+t[b&255]+t[h>>8]+t[h&255]+t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255],1024)}function ln(w){var p,V,f=w.length,l=Nt[1024].offset,a=0,i=l[63]|0,r=0,o=l[62]|0,d=0,c=l[61]|0,u=0,h=l[60]|0,_=0,b=l[59]|0,m=0,g=l[58]|0,v=0,C=l[57]|0,y=0,S=l[56]|0,I=0,$=l[55]|0,L=0,D=l[54]|0,E=0,R=l[53]|0,x=0,k=l[52]|0,O=0,P=l[51]|0,A=0,N=l[50]|0,T=0,M=l[49]|0,B=0,j=l[48]|0,Q=0,oe=l[47]|0,J=0,le=l[46]|0,ee=0,de=l[45]|0,te=0,ce=l[44]|0,ne=0,ae=l[43]|0,z=0,se=l[42]|0,H=0,ue=l[41]|0,q=0,pe=l[40]|0,K=0,fe=l[39]|0,U=0,he=l[38]|0,G=0,me=l[37]|0,W=0,ve=l[36]|0,Y=0,_e=l[35]|0,Z=0,ge=l[34]|0,X=0,ye=l[33]|0,be=0,we=l[32]|0,_t=0,Ot=l[31]|0,gt=0,At=l[30]|0,bt=0,Tt=l[29]|0,yt=0,Lt=l[28]|0,Ct=0,Dt=l[27]|0,St=0,Rt=l[26]|0,Et=0,$t=l[25]|0,It=0,kt=l[24]|0,wt=0,Pt=l[23]|0,xt=0,We=l[22]|0,xe=0,Ye=l[21]|0,Oe=0,Ze=l[20]|0,Ae=0,Xe=l[19]|0,Te=0,Qe=l[18]|0,Le=0,Je=l[17]|0,De=0,et=l[16]|0,Re=0,tt=l[15]|0,$e=0,nt=l[14]|0,ke=0,it=l[13]|0,Pe=0,at=l[12]|0,Ne=0,st=l[11]|0,Be=0,rt=l[10]|0,Me=0,ot=l[9]|0,Fe=0,lt=l[8]|0,Ve=0,dt=l[7]|0,je=0,ct=l[6]|0,ze=0,ut=l[5]|0,He=0,pt=l[4]|0,qe=0,ft=l[3]|0,Ke=0,ht=l[2]|0,Ue=0,Ft=l[1]|0,Bt=0,Gt=l[0]|0;for(V=0;V<f;V++)p=w.charCodeAt(V),a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,p<128?i^=p:p<2048?(i^=p>>6|192,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p&63|128):(p&64512)==55296&&V+1<f&&(w.charCodeAt(V+1)&64512)==56320?(p=65536+((p&1023)<<10)+(w.charCodeAt(++V)&1023),i^=p>>18|240,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p>>12&63|128,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p>>6&63|128,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p&63|128):(i^=p>>12|224,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p>>6&63|128,a=i*397,r=o*397,d=c*397,u=h*397,_=b*397,m=g*397,v=C*397,y=S*397,I=$*397,L=D*397,E=R*397,x=k*397,O=P*397,A=N*397,T=M*397,B=j*397,Q=oe*397,J=le*397,ee=de*397,te=ce*397,ne=ae*397,z=se*397,H=ue*397,q=pe*397,K=fe*397,U=he*397,G=me*397,W=ve*397,Y=_e*397,Z=ge*397,X=ye*397,be=we*397,_t=Ot*397,gt=At*397,bt=Tt*397,yt=Lt*397,Ct=Dt*397,St=Rt*397,Et=$t*397,It=kt*397,wt=Pt*397,xt=We*397,xe=Ye*397,Oe=Ze*397,Ae=Xe*397,Te=Qe*397,Le=Je*397,De=et*397,Re=tt*397,$e=nt*397,ke=it*397,Pe=at*397,Ne=st*397,Be=rt*397,Me=ot*397,Fe=lt*397,Ve=dt*397,je=ct*397,ze=ut*397,He=pt*397,qe=ft*397,Ke=ht*397,Ue=Ft*397,Bt=Gt*397,xe+=i<<8,Oe+=o<<8,Ae+=c<<8,Te+=h<<8,Le+=b<<8,De+=g<<8,Re+=C<<8,$e+=S<<8,ke+=$<<8,Pe+=D<<8,Ne+=R<<8,Be+=k<<8,Me+=P<<8,Fe+=N<<8,Ve+=M<<8,je+=j<<8,ze+=oe<<8,He+=le<<8,qe+=de<<8,Ke+=ce<<8,Ue+=ae<<8,Bt+=se<<8,r+=a>>>16,i=a&65535,d+=r>>>16,o=r&65535,u+=d>>>16,c=d&65535,_+=u>>>16,h=u&65535,m+=_>>>16,b=_&65535,v+=m>>>16,g=m&65535,y+=v>>>16,C=v&65535,I+=y>>>16,S=y&65535,L+=I>>>16,$=I&65535,E+=L>>>16,D=L&65535,x+=E>>>16,R=E&65535,O+=x>>>16,k=x&65535,A+=O>>>16,P=O&65535,T+=A>>>16,N=A&65535,B+=T>>>16,M=T&65535,Q+=B>>>16,j=B&65535,J+=Q>>>16,oe=Q&65535,ee+=J>>>16,le=J&65535,te+=ee>>>16,de=ee&65535,ne+=te>>>16,ce=te&65535,z+=ne>>>16,ae=ne&65535,H+=z>>>16,se=z&65535,q+=H>>>16,ue=H&65535,K+=q>>>16,pe=q&65535,U+=K>>>16,fe=K&65535,G+=U>>>16,he=U&65535,W+=G>>>16,me=G&65535,Y+=W>>>16,ve=W&65535,Z+=Y>>>16,_e=Y&65535,X+=Z>>>16,ge=Z&65535,be+=X>>>16,ye=X&65535,_t+=be>>>16,we=be&65535,gt+=_t>>>16,Ot=_t&65535,bt+=gt>>>16,At=gt&65535,yt+=bt>>>16,Tt=bt&65535,Ct+=yt>>>16,Lt=yt&65535,St+=Ct>>>16,Dt=Ct&65535,Et+=St>>>16,Rt=St&65535,It+=Et>>>16,$t=Et&65535,wt+=It>>>16,kt=It&65535,xt+=wt>>>16,Pt=wt&65535,xe+=xt>>>16,We=xt&65535,Oe+=xe>>>16,Ye=xe&65535,Ae+=Oe>>>16,Ze=Oe&65535,Te+=Ae>>>16,Xe=Ae&65535,Le+=Te>>>16,Qe=Te&65535,De+=Le>>>16,Je=Le&65535,Re+=De>>>16,et=De&65535,$e+=Re>>>16,tt=Re&65535,ke+=$e>>>16,nt=$e&65535,Pe+=ke>>>16,it=ke&65535,Ne+=Pe>>>16,at=Pe&65535,Be+=Ne>>>16,st=Ne&65535,Me+=Be>>>16,rt=Be&65535,Fe+=Me>>>16,ot=Me&65535,Ve+=Fe>>>16,lt=Fe&65535,je+=Ve>>>16,dt=Ve&65535,ze+=je>>>16,ct=je&65535,He+=ze>>>16,ut=ze&65535,qe+=He>>>16,pt=He&65535,Ke+=qe>>>16,ft=qe&65535,Ue+=Ke>>>16,ht=Ke&65535,Gt=Bt+(Ue>>>16)&65535,Ft=Ue&65535,i^=p&63|128);return zt(t[Gt>>8]+t[Gt&255]+t[Ft>>8]+t[Ft&255]+t[ht>>8]+t[ht&255]+t[ft>>8]+t[ft&255]+t[pt>>8]+t[pt&255]+t[ut>>8]+t[ut&255]+t[ct>>8]+t[ct&255]+t[dt>>8]+t[dt&255]+t[lt>>8]+t[lt&255]+t[ot>>8]+t[ot&255]+t[rt>>8]+t[rt&255]+t[st>>8]+t[st&255]+t[at>>8]+t[at&255]+t[it>>8]+t[it&255]+t[nt>>8]+t[nt&255]+t[tt>>8]+t[tt&255]+t[et>>8]+t[et&255]+t[Je>>8]+t[Je&255]+t[Qe>>8]+t[Qe&255]+t[Xe>>8]+t[Xe&255]+t[Ze>>8]+t[Ze&255]+t[Ye>>8]+t[Ye&255]+t[We>>8]+t[We&255]+t[Pt>>8]+t[Pt&255]+t[kt>>8]+t[kt&255]+t[$t>>8]+t[$t&255]+t[Rt>>8]+t[Rt&255]+t[Dt>>8]+t[Dt&255]+t[Lt>>8]+t[Lt&255]+t[Tt>>8]+t[Tt&255]+t[At>>8]+t[At&255]+t[Ot>>8]+t[Ot&255]+t[we>>8]+t[we&255]+t[ye>>8]+t[ye&255]+t[ge>>8]+t[ge&255]+t[_e>>8]+t[_e&255]+t[ve>>8]+t[ve&255]+t[me>>8]+t[me&255]+t[he>>8]+t[he&255]+t[fe>>8]+t[fe&255]+t[pe>>8]+t[pe&255]+t[ue>>8]+t[ue&255]+t[se>>8]+t[se&255]+t[ae>>8]+t[ae&255]+t[ce>>8]+t[ce&255]+t[de>>8]+t[de&255]+t[le>>8]+t[le&255]+t[oe>>8]+t[oe&255]+t[j>>8]+t[j&255]+t[M>>8]+t[M&255]+t[N>>8]+t[N&255]+t[P>>8]+t[P&255]+t[k>>8]+t[k&255]+t[R>>8]+t[R&255]+t[D>>8]+t[D&255]+t[$>>8]+t[$&255]+t[S>>8]+t[S&255]+t[C>>8]+t[C&255]+t[g>>8]+t[g&255]+t[b>>8]+t[b&255]+t[h>>8]+t[h&255]+t[c>>8]+t[c&255]+t[o>>8]+t[o&255]+t[i>>8]+t[i&255],1024)}return Vt=H5,Wt("1a"),Qt(!1),Jt(),{hash:Kt,setKeyspace:Mt,version:Wt,useUTF8:Qt,seed:Jt,fast1a32:e5,fast1a32hex:Yt,fast1a52:Xt,fast1a52hex:t5,fast1a64:c5,fast1a32utf:u5,fast1a32hexutf:r5,fast1a52utf:o5,fast1a52hexutf:i5,fast1a64utf:I5}}();n.exports=e})(Ya);var Lr=Ya.exports;const Dr=Tr(Lr);let Rr=0,ha;const $r=typeof setImmediate=="function"?setImmediate:setTimeout;function s5(n=Ar){return`${n}${Rr++}`}function Za(n,e){if(e){const s=Dr.hash(e);return n[s.value%n.length]}else return n[Xa(n.length)]}function Xa(n){return Math.floor(Math.random()*n)}function Dn(n){return n?n.map(e=>typeof e=="string"?{message:e,type:Wa}:e):[]}function Ki(n){const e=Q5(n);return!n||!e?[]:n.filter(s=>!!s.message&&s.type===e)}function Q5(n){return n?Wn(n,x5.ERROR)?x5.ERROR:Wn(n,x5.WARNING)?x5.WARNING:Wn(n,x5.SUCCESS)?x5.SUCCESS:null:null}function Wn(n,e){return!n||!e?!1:n.some(s=>(s==null?void 0:s.type)===e)}const kr={name:"html-fragment",functional:!0,props:["html"],render(n,e){return new S5({name:"Inner",beforeCreate(){this.$createElement=n},template:`<div>${e.props.html}</div>`}).$mount()._vnode.children}},Pr=()=>new Promise(n=>{$r(n)}),Qa=n=>n==null?void 0:n.toLowerCase().split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("");function Nr(n,e=300){clearTimeout(ha),ha=setTimeout(n,e)}function Ja(n){const e=n.getBoundingClientRect(),s={top:e.top<0,left:e.left<0,bottom:e.bottom>(window.innerHeight||document.documentElement.clientHeight),right:e.right>(window.innerWidth||document.documentElement.clientWidth)};return s.any=Object.values(s).some(t=>t),s.all=Object.values(s).every(t=>t),s}const Br=/(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/,Mr=new RegExp("(?:com|ru|org|net|de|jp|uk|br|it|pl|fr|in|au|ir|info|nl|cn|es|cz|kr|ca|eu|ua|co|gr|za|ro|biz|ch|se|tw|mx|vn|hu|be|tr|at|dk|tv|me|ar|sk|no|us|fi|id|cl|xyz|io|pt|by|il|ie|nz|kz|hk|lt|cc|my|sg|club|bg|edu|рф|pk|su|top|th|hr|rs|pe|pro|si|az|lv|pw|ae|ph|online|ng|ee|ws|ve|cat)"),Fr=new RegExp("(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])"),es=new RegExp("(?:"+[[Br.source,Mr.source].join("+"),Fr.source].join("|")+")"),Vr=/(?:(?:[;/][^#?<>\s]*)?)/,ts=/(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/,ns=new RegExp("\\b"+[es.source,Vr.source,ts.source,"(?!\\w)"].join("+")),is=/\b[a-z\d.-]+:\/\/[^<>\s]+/,as=new RegExp("(?:mailto:)?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@"+[es.source,ts.source].join("+")+"(?!\\w)");function ss(n=7,e=15){let s=!0;try{RegExp("(?<=\\W)")}catch{s=!1}return new RegExp(`${s?"(?:^|(?<=\\W))":""}(?![\\s\\-])\\+?(?:[0-9()\\- \\t]{${n},${e}})(?=\\b)(?=\\W(?=\\W|$)|\\s|$)`)}const rs=ss(),jr=new RegExp([ns.source,is.source,as.source,rs.source].join("|"),"gi");function zr(n){var e;return!n||!["string","number"].includes(typeof n)?!1:(n=n.toString(),((e=rs.exec(n))==null?void 0:e[0])===n)}function Hr(n){var e,s;return!n||typeof n!="string"?!1:((e=ns.exec(n))==null?void 0:e[0])===n||((s=is.exec(n))==null?void 0:s[0])===n}function qr(n){var e;return!n||typeof n!="string"?!1:((e=as.exec(n))==null?void 0:e[0])===n}function ni(n){return n.filter(e=>!!e).join(" ")}const R5={getUniqueString:s5,getRandomElement:Za,getRandomInt:Xa,formatMessages:Dn,filterFormattedMessages:Ki,hasFormattedMessageOfType:Wn,getValidationState:Q5,htmlFragment:kr,flushPromises:Pr,kebabCaseToPascalCase:Qa,debounce:Nr,isOutOfViewPort:Ja,getPhoneNumberRegex:ss,linkRegex:jr,isEmailAddress:qr,isPhoneNumber:zr,isURL:Hr,safeConcatStrings:ni},gn={BUSY:"busy",AWAY:"away",OFFLINE:"offline",ACTIVE:"active"},os=[gn.BUSY,gn.AWAY,gn.OFFLINE,gn.ACTIVE],Kr={name:"DtPresence",props:{presence:{type:String,default:gn.ACTIVE,validator:n=>os.includes(n)},srText:{type:String,default:null}}};var Ur=function(){var e=this,s=e._self._c;return s("div",{staticClass:"d-presence",attrs:{"data-qa":"dt-presence",role:"status","aria-live":e.$attrs.ariaLive||"off"}},[e.srText?s("span",{staticClass:"sr-only",attrs:{"data-qa":"dt-presence-sr-text"}},[e._v(e._s(e.srText)+" ")]):e._e(),s("div",{staticClass:"d-presence__inner",class:{"d-presence__inner--active":e.presence==="active","d-presence__inner--away":e.presence==="away","d-presence__inner--busy":e.presence==="busy","d-presence__inner--offline":e.presence==="offline"}})])},Gr=[],Wr=Ge.normalizeComponent(Kr,Ur,Gr,!1,null,null,null,null);const ls=Wr.exports,Yr={name:"DtIcon",props:{size:{type:String,default:"500",validator:n=>Object.keys(Ge.ICON_SIZE_MODIFIERS).includes(n)},name:{type:String,required:!0},ariaLabel:{type:String,default:void 0}},computed:{iconSize(){return Ge.ICON_SIZE_MODIFIERS[this.size]},iconName(){return Qa(this.name)},currentIcon(){return Ge.DIALTONE_ICONS[this.iconName]}}};var Zr=function(){var e=this,s=e._self._c;return e.currentIcon?s(e.currentIcon,{tag:"component",class:e.iconSize,attrs:{"data-qa":"dt-icon","aria-hidden":e.ariaLabel?"false":"true","aria-label":e.ariaLabel}}):e._e()},Xr=[],Qr=Ge.normalizeComponent(Yr,Zr,Xr,!1,null,null,null,null);const n5=Qr.exports,Yn={xs:"d-avatar--xs",sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg",xl:"d-avatar--xl"},Oi={default:"",icon:"d-avatar__icon",initials:"d-avatar__initials"},ds={md:"d-avatar__presence--md",lg:"d-avatar__presence--lg"},Ai={NONE:"",BUSY:"busy",AWAY:"away",OFFLINE:"offline",ACTIVE:"active"},Jr={xs:void 0,sm:"200",md:"300",lg:"500",xl:"600"},cs=[void 0,"100","200","300","400","500","600","700","800","900","1000","1100","1200","1300","1400","1500","1600","1700","1800"],Ti=n=>n>1;const eo={name:"DtAvatar",components:{DtPresence:ls,DtIcon:n5},inheritAttrs:!1,props:{id:{type:String,default(){return s5()}},seed:{type:String,default:void 0},color:{type:String,default:void 0},size:{type:String,default:"md",validator:n=>Object.keys(Yn).includes(n)},avatarClass:{type:[String,Array,Object],default:""},canvasClass:{type:[String,Array,Object],default:""},presence:{type:String,default:Ai.NONE,validator:n=>Object.values(Ai).includes(n)},presenceProps:{type:Object,default:()=>({})},initials:{type:String,default:""},group:{type:Number,default:void 0,validator:n=>Ti(n)},overlayIcon:{type:String,default:""},overlayText:{type:String,default:""},overlayClass:{type:[String,Array,Object],default:""}},data(){return{kind:null,AVATAR_SIZE_MODIFIERS:Yn,AVATAR_KIND_MODIFIERS:Oi,AVATAR_PRESENCE_SIZE_MODIFIERS:ds,imageLoadedSuccessfully:null,slottedInitials:"",formattedInitials:"",initializing:!1}},computed:{avatarClasses(){return["d-avatar",Yn[this.validatedSize],this.avatarClass,{"d-avatar--group":this.showGroup,[`d-avatar--color-${this.getColor()}`]:this.kind!=="icon"}]},overlayClasses(){return["d-bgc-neutral-black d-o70 d-ps-absolute d-w100p d-h100p d-d-flex d-ai-center d-bar-circle d-zi-base",this.overlayClass]},showDefaultSlot(){return this.kind!=="initials"||this.kind==="image"&&this.imageLoadedSuccessfully===!0},showInitials(){return this.kind==="initials"||this.kind==="image"&&this.initials&&this.imageLoadedSuccessfully!==!0},showGroup(){return Ti(this.group)},formattedGroup(){return this.group>99?"99+":this.group},validatedSize(){return this.group?"xs":this.size}},mounted(){this.init()},updated(){this.init()},methods:{async init(){var e;if(this.initializing)return;this.kind=null,await this.$nextTick();const n=((e=this.$refs.canvas)==null?void 0:e.firstElementChild)||this.$refs.canvas;this.formatInitials(this.initials),n&&(this.setKind(n),this.kindHandler(n)),this.initializing=!0,await this.$nextTick(),this.initializing=!1},kindHandler(n){switch(this.kind){case"image":n.classList.add("d-avatar__image"),this.validateImageAttrsPresence(),this.setImageListeners(n);break;case"icon":n.classList.add(Oi.icon);break;case"initials":this.slottedInitials=n.text||n.textContent,this.formatInitials(this.slottedInitials.trim()||this.initials);break}},setImageListeners(n){n.addEventListener("load",()=>this._loadedImageEventHandler(n),{once:!0}),n.addEventListener("error",()=>this._erroredImageEventHandler(n),{once:!0})},formatInitials(n){!n||this.validatedSize==="xs"?this.formattedInitials="":this.validatedSize==="sm"?this.formattedInitials=n.trim()[0]:this.formattedInitials=n.trim().slice(0,2)},setKind(n){if(this.isIconType(n)){this.kind="icon";return}if(this.isImageType(n)){this.kind="image";return}this.kind="initials"},isIconType(n){var e;return((e=n==null?void 0:n.tagName)==null?void 0:e.toUpperCase())==="SVG"},isImageType(n){var e;return((e=n==null?void 0:n.tagName)==null?void 0:e.toUpperCase())==="IMG"},getColor(){return this.color??Za(cs,this.seed)},validateImageAttrsPresence(){const n=!this.$refs.canvas.firstChild.getAttribute("src"),e=this.$refs.canvas.firstChild.getAttribute("alt")===null;(n||e)&&S5.util.warn("src and alt attributes are required for image avatars",this)},_loadedImageEventHandler(n){this.imageLoadedSuccessfully=!0,n.classList.remove("d-d-none"),n.classList.add("d-avatar--image-loaded")},_erroredImageEventHandler(n){this.imageLoadedSuccessfully=!1,n.classList.remove("d-avatar--image-loaded"),n.classList.add("d-d-none")}}};var to=function(){var e=this,s=e._self._c;return s("div",{class:e.avatarClasses,attrs:{id:e.id,"data-qa":"dt-avatar"}},[s("div",{ref:"canvas",class:[e.canvasClass,"d-avatar__canvas"]},[e.showDefaultSlot?e._t("default"):e._e(),e.showInitials?s("span",{staticClass:"d-ps-absolute d-zi-base",class:e.AVATAR_KIND_MODIFIERS.initials},[e._v(" "+e._s(e.formattedInitials)+" ")]):e._e()],2),e.overlayIcon||e.overlayText?s("div",{class:e.overlayClasses},[e.overlayIcon?s("dt-icon",{staticClass:"d-fc-neutral-white d-w100p",attrs:{name:e.overlayIcon}}):e.overlayText?s("p",{staticClass:"d-fs-200 d-fw-bold d-fc-neutral-white d-w100p d-ta-center"},[e._v(" "+e._s(e.overlayText)+" ")]):e._e()],1):e._e(),e.showGroup?s("span",{staticClass:"d-avatar__count d-zi-base",attrs:{"data-qa":"dt-avatar-count"}},[e._v(e._s(e.formattedGroup))]):e._e(),e.presence&&!e.showGroup?s("dt-presence",e._b({staticClass:"d-zi-base",class:["d-avatar__presence",e.AVATAR_PRESENCE_SIZE_MODIFIERS[e.size]],attrs:{presence:e.presence,"data-qa":"dt-presence"}},"dt-presence",e.presenceProps,!1)):e._e()],1)},no=[],io=Ge.normalizeComponent(eo,to,no,!1,null,null,null,null);const ii=io.exports,Li={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"},Di={label:"",count:"d-badge--count"},Ri={"black-400":"d-badge--decorate-black-400","black-500":"d-badge--decorate-black-500","black-900":"d-badge--decorate-black-900","red-200":"d-badge--decorate-red-200","red-300":"d-badge--decorate-red-300","red-400":"d-badge--decorate-red-400","purple-200":"d-badge--decorate-purple-200","purple-300":"d-badge--decorate-purple-300","purple-400":"d-badge--decorate-purple-400","purple-500":"d-badge--decorate-purple-500","blue-200":"d-badge--decorate-blue-200","blue-300":"d-badge--decorate-blue-300","blue-400":"d-badge--decorate-blue-400","green-300":"d-badge--decorate-green-300","green-400":"d-badge--decorate-green-400","green-500":"d-badge--decorate-green-500","gold-300":"d-badge--decorate-gold-300","gold-400":"d-badge--decorate-gold-400","gold-500":"d-badge--decorate-gold-500","magenta-200":"d-badge--decorate-magenta-200","magenta-300":"d-badge--decorate-magenta-300","magenta-400":"d-badge--decorate-magenta-400"},ao={name:"DtBadge",components:{DtIcon:n5},props:{iconLeft:{type:String,default:""},iconRight:{type:String,default:""},text:{type:String,default:""},kind:{type:String,default:"label",validator:n=>Object.keys(Di).includes(n)},type:{type:String,default:"default",validator:n=>Object.keys(Li).includes(n)},decoration:{type:String,default:void 0,validator:n=>Object.keys(Ri).includes(n)}},data(){return{BADGE_TYPE_MODIFIERS:Li,BADGE_KIND_MODIFIERS:Di,BADGE_DECORATION_MODIFIERS:Ri}},computed:{hasIcons(){return this.iconLeft!==""||this.iconRight!==""}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{validateProps(){this.validateTypePropCombination(),this.validateDecorationPropCombination()},validateTypePropCombination(){this.type==="ai"&&this.kind==="count"&&console.error("DtBadge error: type: 'ai' with kind: 'count' is an invalid combination.")},validateDecorationPropCombination(){this.decoration&&((this.kind!=="label"||this.type!=="default")&&console.error("DtBadge error: decoration prop can only be used with kind: 'label' and type: 'default'."),this.hasIcons&&console.error("DtBadge error: decoration prop cannot be used with iconLeft or iconRight."))}}};var so=function(){var e=this,s=e._self._c;return s("span",{class:["d-badge",e.BADGE_TYPE_MODIFIERS[e.type],e.BADGE_KIND_MODIFIERS[e.kind],e.BADGE_DECORATION_MODIFIERS[e.decoration]],attrs:{"data-qa":"dt-badge"}},[e.decoration?s("span",{staticClass:"d-badge__decorative"}):e._e(),e.iconLeft||e.type==="ai"?s("span",{staticClass:"d-badge__icon-left"},[s("dt-icon",{attrs:{name:e.iconLeft||"dialpad-ai",size:"200"}})],1):e._e(),s("span",{staticClass:"d-badge__label"},[e._t("default",function(){return[e._v(" "+e._s(e.text)+" ")]})],2),e.iconRight?s("span",{staticClass:"d-badge__icon-right"},[s("dt-icon",{attrs:{name:e.iconRight,size:"200"}})],1):e._e()])},ro=[],oo=Ge.normalizeComponent(ao,so,ro,!1,null,null,null,null);const us=oo.exports,In=["base","error","info","success","warning"],lo=["alert","alertdialog","status"],co=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),uo={name:"DtNoticeIcon",components:{DtIcon:n5},props:{kind:{type:String,default:"base",validate(n){return In.includes(n)}}},computed:{defaultIcon(){return co.get(this.kind)}}};var po=function(){var e=this,s=e._self._c;return e.defaultIcon||e.$slots.default?s("div",{staticClass:"d-notice__icon",attrs:{"aria-hidden":"true"}},[e._t("default",function(){return[s("dt-icon",{attrs:{name:e.defaultIcon,size:"400"}})]})],2):e._e()},fo=[],ho=Ge.normalizeComponent(uo,po,fo,!1,null,null,null,null);const Ui=ho.exports,mo={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}};var vo=function(){var e=this,s=e._self._c;return s("div",{staticClass:"d-notice__content",attrs:{"data-qa":"notice-content"}},[e.title||e.$slots.titleOverride?s("p",{staticClass:"d-notice__title",attrs:{id:e.titleId,"data-qa":"notice-content-title"}},[e._t("titleOverride",function(){return[e._v(" "+e._s(e.title)+" ")]})],2):e._e(),s("p",{staticClass:"d-notice__message",attrs:{id:e.contentId,"data-qa":"notice-content-message"}},[e._t("default")],2)])},_o=[],go=Ge.normalizeComponent(mo,vo,_o,!1,null,null,null,null);const Gi=go.exports,gi={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},ma={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},va={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},bo=["submit","reset","button"],_a={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},yo=[{circle:!0,kind:"default",importance:"primary",message:Kn(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Kn(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Kn(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Kn(!1,"muted","primary")}];function Kn(n,e,s){return`You cannot have a ${n?"circle ":""}button with kind: ${e} and importance: ${s} as it does not exist in our design system. See https://dialpad.design/components/button.html for a list of available button styles`}const Co="danger",So="warning",Eo="success",ps="muted",fs="inverted",hs=["",Co,So,Eo,ps,fs],Jn={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},Io={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:n=>Object.keys(_a).includes(n)},importance:{type:String,default:"primary",validator:n=>Object.keys(va).includes(n)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:n=>Object.keys(Jn).includes(n)},disabled:{type:Boolean,default:!1},type:{type:String,default:"button",validator:n=>bo.includes(n)},width:{type:String,default:null},size:{type:String,default:"md",validator:n=>Object.keys(gi).includes(n)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:n=>Object.keys(ma).includes(n)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:_a,isInFocus:!1}},computed:{buttonListeners(){return this.assertiveOnFocus?{...this.$listeners,focusin:n=>{this.isInFocus=!0},focusout:n=>{this.isInFocus=!1}}:this.$listeners},computedAriaLive(){return this.assertiveOnFocus&&this.isInFocus?"assertive":this.$attrs.ariaLive}},watch:{$props:{deep:!0,immediate:!0,handler(){process.env.NODE_ENV!=="production"&&(this.circle&&this.link&&S5.util.warn("You cannot enable circle and link at the same time",this),this.isInvalidPropCombination(this.circle,this.kind,this.importance))}}},methods:{buttonClasses(){return this.link?["d-link",Jn[this.linkKind],gi[this.size]]:["d-btn",va[this.importance],ma[this.kind],gi[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(n,e,s){for(const t of yo)if(n===t.circle&&e===t.kind&&s===t.importance)return console.error(t.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)}}};var wo=function(){var e=this,s=e._self._c;return s("button",e._g({class:["base-button__button",e.buttonClasses()],style:{width:e.width},attrs:{"data-qa":"dt-button",type:e.type,disabled:e.disabled,"aria-live":e.computedAriaLive,"aria-label":e.loading?"loading":e.$attrs["aria-label"]}},e.buttonListeners),[e.shouldRenderIcon()?s("span",{class:["base-button__icon","d-btn__icon",e.ICON_POSITION_MODIFIERS[e.iconPosition]],attrs:{"data-qa":"dt-button-icon"}},[e._t("icon")],2):e._e(),e.$slots.default?s("span",{class:["d-btn__label","base-button__label",e.labelClass],attrs:{"data-qa":"dt-button-label"}},[e._t("default")],2):e._e()])},xo=[],Oo=Ge.normalizeComponent(Io,wo,xo,!1,null,null,null,null);const d5=Oo.exports,K5={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&&this.visuallyHiddenCloseLabel!=null}},methods:{validateVisuallyHiddenCloseProps(){this.visuallyHiddenClose&&!this.visuallyHiddenCloseLabel&&console.error(`If visuallyHiddenClose prop is true, the component includes
|
|
2
|
+
a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.`)}}},Ao={name:"SrOnlyCloseButton",components:{DtIcon:n5,DtButton:d5},props:{visuallyHiddenCloseLabel:{type:String,default:null}},methods:{close(){this.$emit("close")}}};var To=function(){var e=this,s=e._self._c;return s("dt-button",{staticClass:"d-vi-visible-sr",attrs:{id:"sr-only-close-button","data-qa":"dt-sr-only-close-button","aria-label":e.visuallyHiddenCloseLabel},on:{click:e.close,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:(t.preventDefault(),t.stopPropagation(),e.close.apply(null,arguments))}}},[s("dt-icon",{attrs:{name:"close"}})],1)},Lo=[],Do=Ge.normalizeComponent(Ao,To,Lo,!1,null,null,null,null);const ai=Do.exports,Ro={name:"DtNoticeAction",components:{DtIcon:n5,DtButton:d5,SrOnlyCloseButton:ai},mixins:[K5],props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeActionListeners(){return{...this.$listeners,click:n=>{this.close(),this.$emit("click",n)}}}},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 n;(n=this.lastFocusedElement)==null||n.focus()},methods:{close(){this.$emit("close")}}};var $o=function(){var e=this,s=e._self._c;return s("div",{staticClass:"d-notice__actions",attrs:{"data-qa":"notice-content-actions"}},[e._t("default"),e.hideClose?e._e():s("dt-button",e._g(e._b({ref:"closeButton",attrs:{"data-qa":"dt-notice-action-close-button",size:"sm",importance:"clear",circle:"","aria-label":e.closeButtonProps.ariaLabel?e.closeButtonProps.ariaLabel:"Close"},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{attrs:{name:"close",size:"200"}})]},proxy:!0}],null,!1,1154370889)},"dt-button",e.closeButtonProps,!1),e.noticeActionListeners)),e.showVisuallyHiddenClose?s("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel},on:{close:e.close}}):e._e()],2)},ko=[],Po=Ge.normalizeComponent(Ro,$o,ko,!1,null,null,null,null);const Wi=Po.exports,ms=':not(:disabled):not([aria-disabled="true"]):not([role="presentation"])',No=`${ms}:not([tabindex="-1"])`,Bo="button,[href],input,select,textarea,details,[tabindex]",Mn={methods:{async getFirstFocusableElement(n){await this.$nextTick();const e=this._getFocusableElements(n,!0);return this._getFirstFocusElement(e)},async focusFirstElement(n){const e=await this.getFirstFocusableElement(n);e==null||e.focus({preventScroll:!0})},_getFirstFocusElement(n){if(!n.length)return;let e=n[0];return e.matches('[type="radio"]:not(:checked)')&&(e=n.find(s=>s.checked&&s.name===e.name)||e),e},_getFocusableElements(n=this.$el,e=!1){return n?[...n.querySelectorAll(Bo)].filter(t=>{const F=window.getComputedStyle(t);return F.getPropertyValue("display")!=="none"&&F.getPropertyValue("visibility")!=="hidden"&&t.matches(e?ms:No)}):[]},focusTrappedTabPress(n,e){if(!(n.key==="Tab"))return;const t=this._getFocusableElements(e);if(!t.length){n.preventDefault();return}const F=this._getFirstFocusElement(t),ie=t[t.length-1];n.shiftKey?document.activeElement===F&&(ie.focus(),n.preventDefault()):document.activeElement===ie&&(F.focus(),n.preventDefault())}}},Mo={name:"DtBanner",components:{DtNoticeIcon:Ui,DtNoticeContent:Gi,DtNoticeAction:Wi},mixins:[Mn,K5],props:{titleId:{type:String,default(){return R5.getUniqueString()}},contentId:{type:String,default(){return R5.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(n){return In.includes(n)}},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(){return["d-banner",{error:"d-banner--error",info:"d-banner--info",success:"d-banner--success",warning:"d-banner--warning",base:"d-banner--base"}[this.kind],{"d-banner--important":this.important,"d-banner--pinned":this.pinned}]},bannerBackgroundImage(){return this.backgroundImage===""?null:`background-image: url(${this.backgroundImage});
|
|
3
|
+
background-size: ${this.backgroundSize};`}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(n){this.important&&this.focusTrappedTabPress(n)}}};var Fo=function(){var e=this,s=e._self._c;return s("aside",{class:e.bannerClass,style:e.bannerBackgroundImage,on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:e.trapFocus.apply(null,arguments)}}},[s("div",{staticClass:"d-banner__dialog",class:e.dialogClass,attrs:{role:e.role,"aria-labelledby":e.titleId,"aria-describedby":e.contentId}},[e.hideIcon?e._e():s("dt-notice-icon",e._g({attrs:{kind:e.kind}},e.$listeners),[e._t("icon")],2),s("dt-notice-content",e._g({attrs:{"title-id":e.titleId,"content-id":e.contentId,title:e.title},scopedSlots:e._u([{key:"titleOverride",fn:function(){return[e._t("titleOverride")]},proxy:!0}],null,!0)},e.$listeners),[e._t("default")],2),s("dt-notice-action",e._g({attrs:{"hide-close":e.hideClose,"close-button-props":e.closeButtonProps,"visually-hidden-close":e.visuallyHiddenClose,"visually-hidden-close-label":e.visuallyHiddenCloseLabel}},e.$listeners),[e._t("action")],2)],1)])},Vo=[],jo=Ge.normalizeComponent(Mo,Fo,Vo,!1,null,null,null,null);const zo=jo.exports,vs="d-breadcrumbs__item--selected",_s="d-breadcrumbs--inverted",Ho={name:"DtLink",props:{kind:{type:String,default:"",validator(n){return hs.includes(n)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:Jn}}};var qo=function(){var e=this,s=e._self._c;return s("a",e._g({class:["d-link",e.LINK_KIND_MODIFIERS[e.kind]],attrs:{"data-qa":"dt-link"}},e.$listeners),[e._t("default")],2)},Ko=[],Uo=Ge.normalizeComponent(Ho,qo,Ko,!1,null,null,null,null);const gs=Uo.exports,Go={name:"DtBreadcrumbItem",components:{DtLink:gs},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:vs}},computed:{linkKind(){return this.inverted?fs:ps},ariaCurrent(){return this.selected?"location":void 0}}};var Wo=function(){var e=this,s=e._self._c;return s("li",{class:["d-breadcrumbs__item",{[e.BREADCRUMB_ITEM_SELECTED_MODIFIER]:e.selected}],attrs:{"data-qa":"dt-breadcrumb-item"}},[s("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)},Yo=[],Zo=Ge.normalizeComponent(Go,Wo,Yo,!1,null,null,null,null);const bs=Zo.exports,Xo={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:bs},props:{breadcrumbs:{type:Array,default:()=>[],validate(n){return n.every(({href:e,label:s})=>e!==void 0&&s!==void 0)}},inverted:{type:Boolean,default:!1},ariaLabel:{type:String,default:"breadcrumb"}},data(){return{BREADCRUMBS_INVERTED_MODIFIER:_s}},methods:{getBreadcrumbItemKey(n){return`breadcrumbs-item-${n}-${R5.getUniqueString()}`}}};var Qo=function(){var e=this,s=e._self._c;return s("nav",{class:["d-breadcrumbs",{[e.BREADCRUMBS_INVERTED_MODIFIER]:e.inverted}],attrs:{"aria-label":e.ariaLabel,"data-qa":"dt-breadcrumbs"}},[s("ol",[e._t("default",function(){return e._l(e.breadcrumbs,function(t,F){return s("dt-breadcrumb-item",e._g(e._b({key:e.getBreadcrumbItemKey(F),attrs:{inverted:e.inverted}},"dt-breadcrumb-item",t,!1),e.$listeners))})})],2)])},Jo=[],el=Ge.normalizeComponent(Xo,Qo,Jo,!1,null,null,null,null);const tl=el.exports,$i={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},nl={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:n=>Object.keys($i).includes(n)}},data(){return{BUTTON_GROUP_ALIGNMENT:$i}}};var il=function(){var e=this,s=e._self._c;return s("div",{class:["d-btn-group",e.BUTTON_GROUP_ALIGNMENT[e.alignment]],attrs:{role:"group"}},[e._t("default")],2)},al=[],sl=Ge.normalizeComponent(nl,il,al,!1,null,null,null,null);const rl=sl.exports,ol={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:""}}};var ll=function(){var e=this,s=e._self._c;return s("div",{class:["d-card",e.containerClass],attrs:{"data-qa":"dt-card"}},[e.$slots.header?s("div",{class:["d-card__header",e.headerClass]},[e._t("header")],2):e._e(),s("div",{class:["d-card__content",e.contentClass],style:{"max-height":e.maxHeight}},[e._t("content")],2),e.$slots.footer?s("div",{class:["d-card__footer",e.footerClass]},[e._t("footer")],2):e._e()])},dl=[],cl=Ge.normalizeComponent(ol,ll,dl,!1,null,null,null,null);const ys=cl.exports,ul={name:"DtCodeblock",props:{text:{type:String,required:!0}}};var pl=function(){var e=this,s=e._self._c;return s("pre",[e._v(" "),s("code",{staticClass:"d-d-block d-bgc-secondary d-ws-pre-wrap d-p8 d-ba d-bc-subtle d-bar8 d-fs-200 d-ff-mono d-lh-400 d-fc-secondary"},[e._v(e._s(e.text))]),e._v(`
|
|
4
|
+
`)])},fl=[],hl=Ge.normalizeComponent(ul,pl,fl,!1,null,null,null,null);const ml=hl.exports,vl={methods:{scrollElementIntoViewIfNeeded(n,e,s,t){n.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(n,e,s,t):this.scrollIntoView(n,"bottom",!1,s,t)},scrollElementIntoView(n,e,s,t){if(e==="center"){this.scrollIntoView(n,"center",!1,s,t);return}e===!1?this.scrollIntoView(n,"bottom",!1,s,t):this.scrollIntoView(n,"top",!1,s,t)},scrollIntoViewIfNeeded(n,e,s,t){const F=e?"center":void 0;this.scrollIntoView(n,F,!0,s,t)},scrollIntoView(n,e,s,t,F){if(!n||!n.parentElement)return;const ie=n.offsetTop,Ce=F||n.parentElement,Ee=this._getScrollBounds(Ce),Se=Ee.bottom-Ee.top,mt=this._getElementHeight(n),Ie=ie+mt;let vt=-1;switch(e){case"top":vt=ie;break;case"center":vt=ie+(mt-Se)/2;break;case"bottom":vt=vt=Ie-Se;break;default:ie-Ee.top<=Se/2?vt=ie:vt=Ie-Se;break}this._setScrollTop(Ce,vt,Ee,ie,Ie,s,t)},_setScrollTop(n,e,s,t,F,ie,Ce){s=s||this._getScrollBounds(n);const Ee=s.bottom-s.top;if(ie&&this._inScrollBounds(t,F,s))if(t<s.top)e=t;else if(F>s.bottom)e=F-Ee;else return;Ce?n.scrollTo({top:e,behavior:Ce}):n.scrollTop=e},_getElementHeight(n){return n.getBoundingClientRect().height},_getScrollBounds(n){const e=this._getElementHeight(n),s=n.scrollTop;return{top:s,bottom:s+e}},_inScrollBounds(n,e,s){const t=e-n;return e<=s.bottom+3*t/4&&n>=s.top-t/4}}},_l="listElementKey is required or the referenced element doesn't exist. Received listElement: ",Yi=({listItemRole:n="option",indexKey:e="highlightIndex",idKey:s="highlightId",listElementKey:t="listRef",activeItemKey:F="",openMethod:ie=null,afterHighlightMethod:Ce=null,beginningOfListMethod:Ee=null,endOfListMethod:Se=null,scrollToOnHighlight:mt=!0,focusOnKeyboardNavigation:Ie=!1}={})=>({mixins:[vl],data(){return{[e]:-1,[s]:"",scrollToOnHighlight:mt,focusOnKeyboardNavigation:Ie}},provide(){return{highlightId:()=>this[s]}},methods:{_getListElement(){var vt;return((vt=this[t]())==null?void 0:vt.$el)||this[t]()},_itemsLength(){const vt=this._getListItemNodes();return vt===null?0:vt.length},_getListItemNodes(){const vt=this._getListElement();return vt?Array.from(vt.querySelectorAll(`[role="${n}"], #sr-only-close-button`)):(console.error(_l,vt),null)},onUpKey(){ie&&this[ie](!0),this[e]>0?this.setHighlightIndex(this[e]-1):Ee&&this[Ee](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){ie&&this[ie](!0),this[e]<this._itemsLength()-1?this.setHighlightIndex(this[e]+1):Se&&this[Se](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(vt){const jt=this._getListItemNodes(),Vt=jt.filter(Nt=>Nt.textContent.trim().toLowerCase().startsWith(vt.toLowerCase()));if(Vt.length<=0)return;const qt=Vt.findIndex(Nt=>this[e]===jt.indexOf(Nt)),Ht=jt.indexOf(qt<Vt.length-1?Vt[qt+1]:Vt[0]);this.setHighlightIndex(Ht),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidCharacter(vt){return vt.length===1},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},setHighlightIndex(vt){this[e]=vt,this[s]=this._getItemId(vt),this._itemsLength()&&Ce&&this[Ce](vt)},setHighlightId(vt){this[s]=vt,this[e]=this._getItemIndex(vt),this._itemsLength()&&Ce&&this[Ce](this._getItemIndex(vt))},_getItemIndex(vt){const jt=this._getListElement();return jt?Array.from(jt.querySelectorAll(`[role="${n}"], #sr-only-close-button`)).indexOf(jt.querySelector(`#${vt}`)):void 0},_getItemId(vt){var Vt;const jt=this._getListElement();if(jt)return(Vt=jt.querySelectorAll(`[role="${n}"], #sr-only-close-button`)[vt])==null?void 0:Vt.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const vt=this[F];if(vt){const jt=this._getListElement();this.scrollElementIntoViewIfNeeded(vt,null,null,jt)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const vt=this[F];vt&&vt.focus()}}}),bi={DEFAULT:"default",CUSTOM:"custom"},un={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};const gl={name:"DtDefaultListItem"};var bl=function(){var e=this,s=e._self._c;return s("div",{staticClass:"dt-default-list-item d-fs-200 d-lh-300 d-py4 d-px8 d-d-flex d-ai-center"},[e.$slots.left?s("section",{staticClass:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8 d-jc-flex-end",attrs:{"data-qa":"dt-default-list-item-left-wrapper"}},[e._t("left")],2):e._e(),s("section",{staticClass:"d-fl-grow1"},[e.$slots.default?s("div",[e._t("default")],2):e._e(),e.$slots.subtitle?s("div",{class:["d-fs-100 d-fc-tertiary",{"d-mtn2":e.$slots.default}],attrs:{"data-qa":"dt-default-list-item-subtitle-wrapper"}},[e._t("subtitle")],2):e._e(),e.$slots.bottom?s("div",{staticClass:"d-mt2",attrs:{"data-qa":"dt-default-list-item-bottom-wrapper"}},[e._t("bottom")],2):e._e()]),e.$slots.right?s("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"}},[e._t("right")],2):e._e(),e._t("selected")],2)},yl=[],Cl=Ge.normalizeComponent(gl,bl,yl,!1,null,null,null,null);const ga=Cl.exports;const Sl={name:"DtListItem",components:{DtDefaultListItem:ga,DtIcon:n5},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return R5.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:bi.DEFAULT,validator:n=>Object.values(bi).includes(n)},navigationType:{type:String,default:un.NONE,validator:n=>Object.values(un).includes(n)},selected:{type:Boolean,default:!1}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case bi.DEFAULT:return ga;default:return null}},listItemListeners(){return{...this.$listeners,keydown:n=>{["enter","space"].includes(n.code.toLowerCase())&&this.onClick(n),this.$emit("keydown",n)},mousemove:n=>{this.onMouseHover(n),this.$emit("mousemove",n)},mouseleave:n=>{this.onMouseLeave(n),this.$emit("mouseleave",n)}}},isHighlighted(){return this.isHoverable?this.highlightId&&this.highlightId()?this.id===this.highlightId():this.mouseHighlighted:!1},isFocusable(){return this.navigationType===un.TAB},isHoverable(){return this.navigationType!==un.NONE}},methods:{onClick(n){this.$emit("click",n)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}};var El=function(){var e=this,s=e._self._c;return s(e.elementType,e._g({tag:"component",class:["dt-list-item d-ls-none",{"dt-list-item--focusable":e.isFocusable,"dt-list-item--highlighted":e.isHighlighted,"dt-list-item--static":!e.isHoverable}],attrs:{id:e.id,tabindex:e.isFocusable?0:-1,role:e.role,"aria-selected":e.isHighlighted}},e.listItemListeners),[e.listItemType?s(e.listItemType,{tag:"component",scopedSlots:e._u([e._l(e.$slots,function(t,F){return{key:F,fn:function(){return[e._t(F)]},proxy:!0}}),e.selected?{key:"selected",fn:function(){return[s("dt-icon",{staticClass:"d-ml8",attrs:{name:"check",size:"400"}})]},proxy:!0}:null],null,!0)}):e._t("default")],2)},Il=[],wl=Ge.normalizeComponent(Sl,El,Il,!1,null,null,null,null);const Fn=wl.exports,xl={name:"ComboboxLoadingList",components:{DtListItem:Fn,DtSkeleton:Ge.DtSkeleton}};var Ol=function(){var e=this,s=e._self._c;return s("ol",{staticClass:"d-p0 d-mt8 d-hmx332 d-of-y-auto",attrs:{"aria-busy":"true"}},e._l(7,function(t){return s("dt-list-item",{key:t,attrs:{role:"option","navigation-type":"none"}},[s("dt-skeleton",{attrs:{"text-option":{type:"body"},offset:0}})],1)}),1)},Al=[],Tl=Ge.normalizeComponent(xl,Ol,Al,!1,null,null,null,null);const Cs=Tl.exports;const Ll={name:"ComboboxEmptyList",components:{DtListItem:Fn},props:{message:{type:String,required:!0},itemClass:{type:[String,Object,Array],default:""}}};var Dl=function(){var e=this,s=e._self._c;return s("ol",{staticClass:"d-p0",attrs:{"data-qa":"dt-combobox-empty-list"}},[e._t("default",function(){return[s("dt-list-item",{class:["dt-empty-list-item",e.itemClass],attrs:{role:"option","navigation-type":"none",type:"custom"}},[s("span",[e._v(e._s(e.message))])])]})],2)},Rl=[],$l=Ge.normalizeComponent(Ll,Dl,Rl,!1,null,null,null,null);const Ss=$l.exports,Es={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},kl={name:"DtCombobox",components:{ComboboxLoadingList:Cs,ComboboxEmptyList:Ss},mixins:[Yi({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:n=>Object.values(Es).includes(n)},description:{type:String,default:""},listId:{type:String,default(){return s5()}},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(n){this.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",n)),!n&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null)},loading(n){this.$nextTick(()=>{this.setInitialHighlightIndex()})},$props:{deep:!0,immediate:!0,handler(){this.validateEmptyListProps()}}},created(){this.validateEmptyListProps()},methods:{onMouseHighlight(n){if(this.loading)return;const e=n.target.closest("li");e&&this.highlightId!==e.id&&this.setHighlightId(e.id)},getListElement(){var n;return this.outsideRenderedListRef??((n=this.$refs.listWrapper)==null?void 0:n.querySelector(`#${this.listId}`))},clearHighlightIndex(){this.showList&&this.setHighlightIndex(-1)},afterHighlight(){this.loading||this.$emit("highlight",this.highlightIndex)},onEnterKey(){var n;this.loading||this.emptyList||this.highlightIndex>=0&&(this.$emit("select",this.highlightIndex),this.clickOnSelect&&((n=this.activeItemEl)==null||n.click()))},onEscapeKey(){this.$emit("escape")},onOpen(n,e){var s;this.outsideRenderedListRef=e,(s=this.outsideRenderedListRef)==null||s.addEventListener("mousemove",this.onMouseHighlight),this.$emit("opened",n),n&&this.setInitialHighlightIndex()},onKeyValidation(n,e){!this.showList||!this.getListElement()||this[e](n)},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
|
|
5
|
+
empty message.`)}}};var Pl=function(){var e=this,s=e._self._c;return s("div",{on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:(t.stopPropagation(),e.onKeyValidation(t,"onEscapeKey"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.onKeyValidation(t,"onEnterKey")},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.stopPropagation(),t.preventDefault(),e.onKeyValidation(t,"onUpKey"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.stopPropagation(),t.preventDefault(),e.onKeyValidation(t,"onDownKey"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"home",void 0,t.key,void 0)?null:(t.stopPropagation(),t.preventDefault(),e.onKeyValidation(t,"onHomeKey"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"end",void 0,t.key,void 0)?null:(t.stopPropagation(),t.preventDefault(),e.onKeyValidation(t,"onEndKey"))}]}},[s("div",{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[e._t("input",null,{inputProps:e.inputProps})],2),e.showList?s("div",{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{mouseleave:e.clearHighlightIndex,focusout:e.clearHighlightIndex,"!mousemove":function(t){return e.onMouseHighlight.apply(null,arguments)}}},[e.loading&&!e.listRenderedOutside?s("combobox-loading-list",e._b({},"combobox-loading-list",e.listProps,!1)):e.emptyList&&(e.emptyStateMessage||e.$slots.emptyListItem)&&!e.listRenderedOutside?s("combobox-empty-list",e._b({attrs:{message:e.emptyStateMessage,"item-class":e.emptyStateClass}},"combobox-empty-list",e.listProps,!1),[e._t("emptyListItem")],2):e._t("list",null,{listProps:e.listProps,opened:e.onOpen,clearHighlightIndex:e.clearHighlightIndex})],2):e._e()])},Nl=[],Bl=Ge.normalizeComponent(kl,Pl,Nl,!1,null,null,null,null);const Is=Bl.exports;const Ml={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 process.env.NODE_ENV!=="test"}},watch:{show:function(n){!n||this.initialized||(this.initialized=!0)}},methods:{beforeEnter(n){requestAnimationFrame(()=>{n.style.height||(n.style.height="0px"),n.style.display=null})},enter(n){requestAnimationFrame(()=>{requestAnimationFrame(()=>{n.style.height=`${n.scrollHeight}px`})})},afterEnter(n){n.style.height=null},beforeLeave(n){requestAnimationFrame(()=>{n.style.height||(n.style.height=`${n.offsetHeight}px`)})},leave(n){requestAnimationFrame(()=>{requestAnimationFrame(()=>{n.style.height="0px"})})},afterLeave(n){n.style.height=null}}};var Fl=function(){var e=this,s=e._self._c;return s("transition",e._g({attrs:{appear:e.appear,"enter-active-class":"enter-active","leave-active-class":"leave-active",css:e.isCSSEnabled},on:{"before-enter":e.beforeEnter,enter:e.enter,"after-enter":e.afterEnter,"before-leave":e.beforeLeave,leave:e.leave,"after-leave":e.afterLeave}},e.$listeners),[s(e.elementType,e._g({directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],tag:"component"},e.$listeners),[e.initialized?e._t("default"):e._e()],2)],1)},Vl=[],jl=Ge.normalizeComponent(Ml,Fl,Vl,!1,null,null,null,null);const zl=jl.exports,Hl={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 process.env.NODE_ENV!=="test"}},watch:{show:function(n){!n||this.initialized||(this.initialized=!0)}}};var ql=function(){var e=this,s=e._self._c;return s("transition",e._g({attrs:{name:e.transition,appear:e.appear,css:e.isCSSEnabled}},e.$listeners),[s("div",e._g({directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}]},e.$listeners),[e.initialized?e._t("default"):e._e()],2)])},Kl=[],Ul=Ge.normalizeComponent(Hl,ql,Kl,!1,null,null,null,null);const wn=Ul.exports,Gl={name:"DtCollapsible",components:{DtButton:d5,DtCollapsibleLazyShow:zl,DtLazyShow:wn,DtIcon:n5},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return s5()}},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&&s5("DtCollapsible__anchor")}},watch:{open:{handler:function(n){n!==null&&(this.isOpen=n)},immediate:!0}},mounted(){this.validateProperAnchor()},methods:{onLeaveTransitionComplete(){this.$emit("opened",!1),this.open!==null&&this.$emit("update:open",!1)},onEnterTransitionComplete(){this.$emit("opened",!0,this.$refs.content),this.open!==null&&this.$emit("update:open",!0)},defaultToggleOpen(){this.open===null&&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")}}};var Wl=function(){var e=this,s=e._self._c;return s(e.elementType,e._g({ref:"collapsible",tag:"component"},e.$listeners),[s("div",{ref:"anchor",class:["d-dt-collapsibe__anchor",e.anchorClass],attrs:{id:!e.ariaLabelledBy&&e.labelledBy}},[e._t("anchor",function(){return[s("dt-button",{style:{width:e.maxWidth},attrs:{importance:"clear",kind:"muted","aria-controls":e.id,"aria-expanded":`${e.isOpen}`},on:{click:e.defaultToggleOpen}},[s("dt-icon",{staticClass:"d-icon d-icon--size-300 d-mr8 d-fl-shrink0",attrs:{name:e.isOpen?"chevron-down":"chevron-right"}}),s("span",{staticClass:"d-mr-auto d-truncate",attrs:{title:e.anchorText}},[e._v(" "+e._s(e.anchorText)+" ")])],1)]},{attrs:{"aria-controls":e.id,"aria-expanded":e.isOpen.toString(),role:"button"}})],2),s("dt-collapsible-lazy-show",e._g({ref:"contentWrapper",class:["d-dt-collapsible__content",e.contentClass],style:{"max-height":e.maxHeight,"max-width":e.maxWidth},attrs:{id:e.id,"aria-hidden":`${!e.isOpen}`,"aria-labelledby":e.labelledBy,"aria-label":e.ariaLabel,show:e.isOpen,"element-type":e.contentElementType,tabindex:"-1",appear:""},on:{"after-leave":e.onLeaveTransitionComplete,"after-enter":e.onEnterTransitionComplete}},e.$listeners),[e._t("content")],2)],1)},Yl=[],Zl=Ge.normalizeComponent(Gl,Wl,Yl,!1,null,null,null,null);const Xl=Zl.exports;var h5="top",O5="bottom",A5="right",m5="left",si="auto",Vn=[h5,O5,A5,m5],yn="start",Rn="end",Ql="clippingParents",ws="viewport",xn="popper",Jl="reference",ba=Vn.reduce(function(n,e){return n.concat([e+"-"+yn,e+"-"+Rn])},[]),xs=[].concat(Vn,[si]).reduce(function(n,e){return n.concat([e,e+"-"+yn,e+"-"+Rn])},[]),e3="beforeRead",t3="read",n3="afterRead",i3="beforeMain",a3="main",s3="afterMain",r3="beforeWrite",o3="write",l3="afterWrite",ki=[e3,t3,n3,i3,a3,s3,r3,o3,l3];function M5(n){return n?(n.nodeName||"").toLowerCase():null}function E5(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function fn(n){var e=E5(n).Element;return n instanceof e||n instanceof Element}function C5(n){var e=E5(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function Zi(n){if(typeof ShadowRoot>"u")return!1;var e=E5(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function d3(n){var e=n.state;Object.keys(e.elements).forEach(function(s){var t=e.styles[s]||{},F=e.attributes[s]||{},ie=e.elements[s];!C5(ie)||!M5(ie)||(Object.assign(ie.style,t),Object.keys(F).forEach(function(Ce){var Ee=F[Ce];Ee===!1?ie.removeAttribute(Ce):ie.setAttribute(Ce,Ee===!0?"":Ee)}))})}function c3(n){var e=n.state,s={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,s.popper),e.styles=s,e.elements.arrow&&Object.assign(e.elements.arrow.style,s.arrow),function(){Object.keys(e.elements).forEach(function(t){var F=e.elements[t],ie=e.attributes[t]||{},Ce=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:s[t]),Ee=Ce.reduce(function(Se,mt){return Se[mt]="",Se},{});!C5(F)||!M5(F)||(Object.assign(F.style,Ee),Object.keys(ie).forEach(function(Se){F.removeAttribute(Se)}))})}}const Os={name:"applyStyles",enabled:!0,phase:"write",fn:d3,effect:c3,requires:["computeStyles"]};function D5(n){return n.split("-")[0]}var pn=Math.max,ei=Math.min,Cn=Math.round;function Pi(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function As(){return!/^((?!chrome|android).)*safari/i.test(Pi())}function Sn(n,e,s){e===void 0&&(e=!1),s===void 0&&(s=!1);var t=n.getBoundingClientRect(),F=1,ie=1;e&&C5(n)&&(F=n.offsetWidth>0&&Cn(t.width)/n.offsetWidth||1,ie=n.offsetHeight>0&&Cn(t.height)/n.offsetHeight||1);var Ce=fn(n)?E5(n):window,Ee=Ce.visualViewport,Se=!As()&&s,mt=(t.left+(Se&&Ee?Ee.offsetLeft:0))/F,Ie=(t.top+(Se&&Ee?Ee.offsetTop:0))/ie,vt=t.width/F,jt=t.height/ie;return{width:vt,height:jt,top:Ie,right:mt+vt,bottom:Ie+jt,left:mt,x:mt,y:Ie}}function Xi(n){var e=Sn(n),s=n.offsetWidth,t=n.offsetHeight;return Math.abs(e.width-s)<=1&&(s=e.width),Math.abs(e.height-t)<=1&&(t=e.height),{x:n.offsetLeft,y:n.offsetTop,width:s,height:t}}function Ts(n,e){var s=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(s&&Zi(s)){var t=e;do{if(t&&n.isSameNode(t))return!0;t=t.parentNode||t.host}while(t)}return!1}function $5(n){return E5(n).getComputedStyle(n)}function u3(n){return["table","td","th"].indexOf(M5(n))>=0}function J5(n){return((fn(n)?n.ownerDocument:n.document)||window.document).documentElement}function ri(n){return M5(n)==="html"?n:n.assignedSlot||n.parentNode||(Zi(n)?n.host:null)||J5(n)}function ya(n){return!C5(n)||$5(n).position==="fixed"?null:n.offsetParent}function p3(n){var e=/firefox/i.test(Pi()),s=/Trident/i.test(Pi());if(s&&C5(n)){var t=$5(n);if(t.position==="fixed")return null}var F=ri(n);for(Zi(F)&&(F=F.host);C5(F)&&["html","body"].indexOf(M5(F))<0;){var ie=$5(F);if(ie.transform!=="none"||ie.perspective!=="none"||ie.contain==="paint"||["transform","perspective"].indexOf(ie.willChange)!==-1||e&&ie.willChange==="filter"||e&&ie.filter&&ie.filter!=="none")return F;F=F.parentNode}return null}function jn(n){for(var e=E5(n),s=ya(n);s&&u3(s)&&$5(s).position==="static";)s=ya(s);return s&&(M5(s)==="html"||M5(s)==="body"&&$5(s).position==="static")?e:s||p3(n)||e}function Qi(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function On(n,e,s){return pn(n,ei(e,s))}function f3(n,e,s){var t=On(n,e,s);return t>s?s:t}function Ls(){return{top:0,right:0,bottom:0,left:0}}function Ds(n){return Object.assign({},Ls(),n)}function Rs(n,e){return e.reduce(function(s,t){return s[t]=n,s},{})}var h3=function(e,s){return e=typeof e=="function"?e(Object.assign({},s.rects,{placement:s.placement})):e,Ds(typeof e!="number"?e:Rs(e,Vn))};function m3(n){var e,s=n.state,t=n.name,F=n.options,ie=s.elements.arrow,Ce=s.modifiersData.popperOffsets,Ee=D5(s.placement),Se=Qi(Ee),mt=[m5,A5].indexOf(Ee)>=0,Ie=mt?"height":"width";if(!(!ie||!Ce)){var vt=h3(F.padding,s),jt=Xi(ie),Vt=Se==="y"?h5:m5,qt=Se==="y"?O5:A5,Ht=s.rects.reference[Ie]+s.rects.reference[Se]-Ce[Se]-s.rects.popper[Ie],Nt=Ce[Se]-s.rects.reference[Se],Ut=jn(ie),zt=Ut?Se==="y"?Ut.clientHeight||0:Ut.clientWidth||0:0,Zt=Ht/2-Nt/2,re=vt[Vt],Kt=zt-jt[Ie]-vt[qt],Mt=zt/2-jt[Ie]/2+Zt,Wt=On(re,Mt,Kt),Qt=Se;s.modifiersData[t]=(e={},e[Qt]=Wt,e.centerOffset=Wt-Mt,e)}}function v3(n){var e=n.state,s=n.options,t=s.element,F=t===void 0?"[data-popper-arrow]":t;if(F!=null&&!(typeof F=="string"&&(F=e.elements.popper.querySelector(F),!F))){if(process.env.NODE_ENV!=="production"&&(C5(F)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!Ts(e.elements.popper,F)){process.env.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}e.elements.arrow=F}}const _3={name:"arrow",enabled:!0,phase:"main",fn:m3,effect:v3,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function En(n){return n.split("-")[1]}var g3={top:"auto",right:"auto",bottom:"auto",left:"auto"};function b3(n,e){var s=n.x,t=n.y,F=e.devicePixelRatio||1;return{x:Cn(s*F)/F||0,y:Cn(t*F)/F||0}}function Ca(n){var e,s=n.popper,t=n.popperRect,F=n.placement,ie=n.variation,Ce=n.offsets,Ee=n.position,Se=n.gpuAcceleration,mt=n.adaptive,Ie=n.roundOffsets,vt=n.isFixed,jt=Ce.x,Vt=jt===void 0?0:jt,qt=Ce.y,Ht=qt===void 0?0:qt,Nt=typeof Ie=="function"?Ie({x:Vt,y:Ht}):{x:Vt,y:Ht};Vt=Nt.x,Ht=Nt.y;var Ut=Ce.hasOwnProperty("x"),zt=Ce.hasOwnProperty("y"),Zt=m5,re=h5,Kt=window;if(mt){var Mt=jn(s),Wt="clientHeight",Qt="clientWidth";if(Mt===E5(s)&&(Mt=J5(s),$5(Mt).position!=="static"&&Ee==="absolute"&&(Wt="scrollHeight",Qt="scrollWidth")),Mt=Mt,F===h5||(F===m5||F===A5)&&ie===Rn){re=O5;var Jt=vt&&Mt===Kt&&Kt.visualViewport?Kt.visualViewport.height:Mt[Wt];Ht-=Jt-t.height,Ht*=Se?1:-1}if(F===m5||(F===h5||F===O5)&&ie===Rn){Zt=A5;var e5=vt&&Mt===Kt&&Kt.visualViewport?Kt.visualViewport.width:Mt[Qt];Vt-=e5-t.width,Vt*=Se?1:-1}}var Yt=Object.assign({position:Ee},mt&&g3),Xt=Ie===!0?b3({x:Vt,y:Ht},E5(s)):{x:Vt,y:Ht};if(Vt=Xt.x,Ht=Xt.y,Se){var t5;return Object.assign({},Yt,(t5={},t5[re]=zt?"0":"",t5[Zt]=Ut?"0":"",t5.transform=(Kt.devicePixelRatio||1)<=1?"translate("+Vt+"px, "+Ht+"px)":"translate3d("+Vt+"px, "+Ht+"px, 0)",t5))}return Object.assign({},Yt,(e={},e[re]=zt?Ht+"px":"",e[Zt]=Ut?Vt+"px":"",e.transform="",e))}function y3(n){var e=n.state,s=n.options,t=s.gpuAcceleration,F=t===void 0?!0:t,ie=s.adaptive,Ce=ie===void 0?!0:ie,Ee=s.roundOffsets,Se=Ee===void 0?!0:Ee;if(process.env.NODE_ENV!=="production"){var mt=$5(e.elements.popper).transitionProperty||"";Ce&&["transform","top","right","bottom","left"].some(function(vt){return mt.indexOf(vt)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
6
6
|
|
|
7
7
|
`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
|
|
8
8
|
|
|
9
|
-
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var d={placement:se(e.placement),variation:Ze(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,bi(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:p,roundOffsets:s})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,bi(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Il={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:El,data:{}};var Pt={passive:!0};function Ol(t){var e=t.state,n=t.instance,i=t.options,a=i.scroll,o=a===void 0?!0:a,p=i.resize,c=p===void 0?!0:p,s=Q(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach(function(d){d.addEventListener("scroll",n.update,Pt)}),c&&s.addEventListener("resize",n.update,Pt),function(){o&&u.forEach(function(d){d.removeEventListener("scroll",n.update,Pt)}),c&&s.removeEventListener("resize",n.update,Pt)}}const Tl={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ol,data:{}};var Ll={left:"right",right:"left",bottom:"top",top:"bottom"};function Vt(t){return t.replace(/left|right|bottom|top/g,function(e){return Ll[e]})}var Al={start:"end",end:"start"};function yi(t){return t.replace(/start|end/g,function(e){return Al[e]})}function Un(t){var e=Q(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Wn(t){return Ye(xe(t)).left+Un(t).scrollLeft}function $l(t,e){var n=Q(t),i=xe(t),a=n.visualViewport,o=i.clientWidth,p=i.clientHeight,c=0,s=0;if(a){o=a.width,p=a.height;var u=_s();(u||!u&&e==="fixed")&&(c=a.offsetLeft,s=a.offsetTop)}return{width:o,height:p,x:c+Wn(t),y:s}}function Dl(t){var e,n=xe(t),i=Un(t),a=(e=t.ownerDocument)==null?void 0:e.body,o=De(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),p=De(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),c=-i.scrollLeft+Wn(t),s=-i.scrollTop;return re(a||n).direction==="rtl"&&(c+=De(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:p,x:c,y:s}}function Yn(t){var e=re(t),n=e.overflow,i=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function Ss(t){return["html","body","#document"].indexOf(ue(t))>=0?t.ownerDocument.body:Z(t)&&Yn(t)?t:Ss(Yt(t))}function rt(t,e){var n;e===void 0&&(e=[]);var i=Ss(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),o=Q(i),p=a?[o].concat(o.visualViewport||[],Yn(i)?i:[]):i,c=e.concat(p);return a?c:c.concat(rt(Yt(p)))}function wn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Rl(t,e){var n=Ye(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Si(t,e,n){return e===fs?wn($l(t,n)):Re(e)?Rl(e,n):wn(Dl(xe(t)))}function kl(t){var e=rt(Yt(t)),n=["absolute","fixed"].indexOf(re(t).position)>=0,i=n&&Z(t)?bt(t):t;return Re(i)?e.filter(function(a){return Re(a)&&gs(a,i)&&ue(a)!=="body"}):[]}function Pl(t,e,n,i){var a=e==="clippingParents"?kl(t):[].concat(e),o=[].concat(a,[n]),p=o[0],c=o.reduce(function(s,u){var d=Si(t,u,i);return s.top=De(d.top,s.top),s.right=qt(d.right,s.right),s.bottom=qt(d.bottom,s.bottom),s.left=De(d.left,s.left),s},Si(t,p,i));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Cs(t){var e=t.reference,n=t.element,i=t.placement,a=i?se(i):null,o=i?Ze(i):null,p=e.x+e.width/2-n.width/2,c=e.y+e.height/2-n.height/2,s;switch(a){case U:s={x:p,y:e.y-n.height};break;case te:s={x:p,y:e.y+e.height};break;case ne:s={x:e.x+e.width,y:c};break;case W:s={x:e.x-n.width,y:c};break;default:s={x:e.x,y:e.y}}var u=a?Kn(a):null;if(u!=null){var d=u==="y"?"height":"width";switch(o){case Ue:s[u]=s[u]-(e[d]/2-n[d]/2);break;case ct:s[u]=s[u]+(e[d]/2-n[d]/2);break}}return s}function ut(t,e){e===void 0&&(e={});var n=e,i=n.placement,a=i===void 0?t.placement:i,o=n.strategy,p=o===void 0?t.strategy:o,c=n.boundary,s=c===void 0?il:c,u=n.rootBoundary,d=u===void 0?fs:u,l=n.elementContext,f=l===void 0?st:l,h=n.altBoundary,v=h===void 0?!1:h,S=n.padding,C=S===void 0?0:S,O=bs(typeof C!="number"?C:ys(C,vt)),R=f===st?sl:st,k=t.rects.popper,r=t.elements[v?R:f],b=Pl(Re(r)?r:r.contextElement||xe(t.elements.popper),s,d,p),g=Ye(t.elements.reference),w=Cs({reference:g,element:k,strategy:"absolute",placement:a}),I=wn(Object.assign({},k,w)),L=f===st?I:g,A={top:b.top-L.top+O.top,bottom:L.bottom-b.bottom+O.bottom,left:b.left-L.left+O.left,right:L.right-b.right+O.right},E=t.modifiersData.offset;if(f===st&&E){var T=E[a];Object.keys(A).forEach(function($){var N=[ne,te].indexOf($)>=0?1:-1,j=[U,te].indexOf($)>=0?"y":"x";A[$]+=T[j]*N})}return A}function Nl(t,e){e===void 0&&(e={});var n=e,i=n.placement,a=n.boundary,o=n.rootBoundary,p=n.padding,c=n.flipVariations,s=n.allowedAutoPlacements,u=s===void 0?hs:s,d=Ze(i),l=d?c?gi:gi.filter(function(v){return Ze(v)===d}):vt,f=l.filter(function(v){return u.indexOf(v)>=0});f.length===0&&(f=l,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var h=f.reduce(function(v,S){return v[S]=ut(t,{placement:S,boundary:a,rootBoundary:o,padding:p})[se(S)],v},{});return Object.keys(h).sort(function(v,S){return h[v]-h[S]})}function Bl(t){if(se(t)===Wt)return[];var e=Vt(t);return[yi(t),e,yi(e)]}function Ml(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var a=n.mainAxis,o=a===void 0?!0:a,p=n.altAxis,c=p===void 0?!0:p,s=n.fallbackPlacements,u=n.padding,d=n.boundary,l=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,v=h===void 0?!0:h,S=n.allowedAutoPlacements,C=e.options.placement,O=se(C),R=O===C,k=s||(R||!v?[Vt(C)]:Bl(C)),r=[C].concat(k).reduce(function(pe,ie){return pe.concat(se(ie)===Wt?Nl(e,{placement:ie,boundary:d,rootBoundary:l,padding:u,flipVariations:v,allowedAutoPlacements:S}):ie)},[]),b=e.rects.reference,g=e.rects.popper,w=new Map,I=!0,L=r[0],A=0;A<r.length;A++){var E=r[A],T=se(E),$=Ze(E)===Ue,N=[U,te].indexOf(T)>=0,j=N?"width":"height",B=ut(e,{placement:E,boundary:d,rootBoundary:l,altBoundary:f,padding:u}),G=N?$?ne:W:$?te:U;b[j]>g[j]&&(G=Vt(G));var z=Vt(G),oe=[];if(o&&oe.push(B[T]<=0),c&&oe.push(B[G]<=0,B[z]<=0),oe.every(function(pe){return pe})){L=E,I=!1;break}w.set(E,oe)}if(I)for(var le=v?3:1,Ee=function(ie){var fe=r.find(function(Be){var he=w.get(Be);if(he)return he.slice(0,ie).every(function(Me){return Me})});if(fe)return L=fe,"break"},de=le;de>0;de--){var Ie=Ee(de);if(Ie==="break")break}e.placement!==L&&(e.modifiersData[i]._skip=!0,e.placement=L,e.reset=!0)}}const Fl={name:"flip",enabled:!0,phase:"main",fn:Ml,requiresIfExists:["offset"],data:{_skip:!1}};function Ci(t,e,n){return n===void 0&&(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 xi(t){return[U,ne,te,W].some(function(e){return t[e]>=0})}function Vl(t){var e=t.state,n=t.name,i=e.rects.reference,a=e.rects.popper,o=e.modifiersData.preventOverflow,p=ut(e,{elementContext:"reference"}),c=ut(e,{altBoundary:!0}),s=Ci(p,i),u=Ci(c,a,o),d=xi(s),l=xi(u);e.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:l},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":l})}const jl={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Vl};function zl(t,e,n){var i=se(t),a=[W,U].indexOf(i)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,p=o[0],c=o[1];return p=p||0,c=(c||0)*a,[W,ne].indexOf(i)>=0?{x:c,y:p}:{x:p,y:c}}function Hl(t){var e=t.state,n=t.options,i=t.name,a=n.offset,o=a===void 0?[0,0]:a,p=hs.reduce(function(d,l){return d[l]=zl(l,e.rects,o),d},{}),c=p[e.placement],s=c.x,u=c.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=s,e.modifiersData.popperOffsets.y+=u),e.modifiersData[i]=p}const ql={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Hl};function Gl(t){var e=t.state,n=t.name;e.modifiersData[n]=Cs({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Kl={name:"popperOffsets",enabled:!0,phase:"read",fn:Gl,data:{}};function Ul(t){return t==="x"?"y":"x"}function Wl(t){var e=t.state,n=t.options,i=t.name,a=n.mainAxis,o=a===void 0?!0:a,p=n.altAxis,c=p===void 0?!1:p,s=n.boundary,u=n.rootBoundary,d=n.altBoundary,l=n.padding,f=n.tether,h=f===void 0?!0:f,v=n.tetherOffset,S=v===void 0?0:v,C=ut(e,{boundary:s,rootBoundary:u,padding:l,altBoundary:d}),O=se(e.placement),R=Ze(e.placement),k=!R,r=Kn(O),b=Ul(r),g=e.modifiersData.popperOffsets,w=e.rects.reference,I=e.rects.popper,L=typeof S=="function"?S(Object.assign({},e.rects,{placement:e.placement})):S,A=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),E=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,T={x:0,y:0};if(g){if(o){var $,N=r==="y"?U:W,j=r==="y"?te:ne,B=r==="y"?"height":"width",G=g[r],z=G+C[N],oe=G-C[j],le=h?-I[B]/2:0,Ee=R===Ue?w[B]:I[B],de=R===Ue?-I[B]:-w[B],Ie=e.elements.arrow,pe=h&&Ie?Gn(Ie):{width:0,height:0},ie=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:vs(),fe=ie[N],Be=ie[j],he=at(0,w[B],pe[B]),Me=k?w[B]/2-le-he-fe-A.mainAxis:Ee-he-fe-A.mainAxis,ve=k?-w[B]/2+le+he+Be+A.mainAxis:de+he+Be+A.mainAxis,Fe=e.elements.arrow&&bt(e.elements.arrow),xt=Fe?r==="y"?Fe.clientTop||0:Fe.clientLeft||0:0,Je=($=E==null?void 0:E[r])!=null?$:0,wt=G+Me-Je-xt,Et=G+ve-Je,et=at(h?qt(z,wt):z,G,h?De(oe,Et):oe);g[r]=et,T[r]=et-G}if(c){var tt,It=r==="x"?U:W,Ot=r==="x"?te:ne,me=g[b],be=b==="y"?"height":"width",nt=me+C[It],Oe=me-C[Ot],it=[U,W].indexOf(O)!==-1,Tt=(tt=E==null?void 0:E[b])!=null?tt:0,Lt=it?nt:me-w[be]-I[be]-Tt+A.altAxis,At=it?me+w[be]+I[be]-Tt-A.altAxis:Oe,$t=h&&it?vl(Lt,me,At):at(h?Lt:nt,me,h?At:Oe);g[b]=$t,T[b]=$t-me}e.modifiersData[i]=T}}const Yl={name:"preventOverflow",enabled:!0,phase:"main",fn:Wl,requiresIfExists:["offset"]};function Zl(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Xl(t){return t===Q(t)||!Z(t)?Un(t):Zl(t)}function Ql(t){var e=t.getBoundingClientRect(),n=We(e.width)/t.offsetWidth||1,i=We(e.height)/t.offsetHeight||1;return n!==1||i!==1}function Jl(t,e,n){n===void 0&&(n=!1);var i=Z(e),a=Z(e)&&Ql(e),o=xe(e),p=Ye(t,a,n),c={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(i||!i&&!n)&&((ue(e)!=="body"||Yn(o))&&(c=Xl(e)),Z(e)?(s=Ye(e,!0),s.x+=e.clientLeft,s.y+=e.clientTop):o&&(s.x=Wn(o))),{x:p.left+c.scrollLeft-s.x,y:p.top+c.scrollTop-s.y,width:p.width,height:p.height}}function ed(t){var e=new Map,n=new Set,i=[];t.forEach(function(o){e.set(o.name,o)});function a(o){n.add(o.name);var p=[].concat(o.requires||[],o.requiresIfExists||[]);p.forEach(function(c){if(!n.has(c)){var s=e.get(c);s&&a(s)}}),i.push(o)}return t.forEach(function(o){n.has(o.name)||a(o)}),i}function td(t){var e=ed(t);return Cn.reduce(function(n,i){return n.concat(e.filter(function(a){return a.phase===i}))},[])}function nd(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function ye(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return[].concat(n).reduce(function(a,o){return a.replace(/%s/,o)},t)}var Le='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',id='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',wi=["name","enabled","phase","fn","effect","requires","options"];function sd(t){t.forEach(function(e){[].concat(Object.keys(e),wi).filter(function(n,i,a){return a.indexOf(n)===i}).forEach(function(n){switch(n){case"name":typeof e.name!="string"&&console.error(ye(Le,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(ye(Le,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":Cn.indexOf(e.phase)<0&&console.error(ye(Le,e.name,'"phase"',"either "+Cn.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(ye(Le,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(ye(Le,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(ye(Le,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(ye(Le,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+wi.map(function(i){return'"'+i+'"'}).join(", ")+'; but "'+n+'" was provided.')}e.requires&&e.requires.forEach(function(i){t.find(function(a){return a.name===i})==null&&console.error(ye(id,String(e.name),i,i))})})})}function ad(t,e){var n=new Set;return t.filter(function(i){var a=e(i);if(!n.has(a))return n.add(a),!0})}function rd(t){var e=t.reduce(function(n,i){var a=n[i.name];return n[i.name]=a?Object.assign({},a,i,{options:Object.assign({},a.options,i.options),data:Object.assign({},a.data,i.data)}):i,n},{});return Object.keys(e).map(function(n){return e[n]})}var Ei="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",od="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Ii={placement:"bottom",modifiers:[],strategy:"absolute"};function Oi(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function ld(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,i=n===void 0?[]:n,a=e.defaultOptions,o=a===void 0?Ii:a;return function(c,s,u){u===void 0&&(u=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ii,o),modifiersData:{},elements:{reference:c,popper:s},attributes:{},styles:{}},l=[],f=!1,h={state:d,setOptions:function(O){var R=typeof O=="function"?O(d.options):O;S(),d.options=Object.assign({},o,d.options,R),d.scrollParents={reference:Re(c)?rt(c):c.contextElement?rt(c.contextElement):[],popper:rt(s)};var k=td(rd([].concat(i,d.options.modifiers)));if(d.orderedModifiers=k.filter(function(E){return E.enabled}),process.env.NODE_ENV!=="production"){var r=ad([].concat(k,d.options.modifiers),function(E){var T=E.name;return T});if(sd(r),se(d.options.placement)===Wt){var b=d.orderedModifiers.find(function(E){var T=E.name;return T==="flip"});b||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var g=re(s),w=g.marginTop,I=g.marginRight,L=g.marginBottom,A=g.marginLeft;[w,I,L,A].some(function(E){return parseFloat(E)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return v(),h.update()},forceUpdate:function(){if(!f){var O=d.elements,R=O.reference,k=O.popper;if(!Oi(R,k)){process.env.NODE_ENV!=="production"&&console.error(Ei);return}d.rects={reference:Jl(R,bt(k),d.options.strategy==="fixed"),popper:Gn(k)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(E){return d.modifiersData[E.name]=Object.assign({},E.data)});for(var r=0,b=0;b<d.orderedModifiers.length;b++){if(process.env.NODE_ENV!=="production"&&(r+=1,r>100)){console.error(od);break}if(d.reset===!0){d.reset=!1,b=-1;continue}var g=d.orderedModifiers[b],w=g.fn,I=g.options,L=I===void 0?{}:I,A=g.name;typeof w=="function"&&(d=w({state:d,options:L,name:A,instance:h})||d)}}},update:nd(function(){return new Promise(function(C){h.forceUpdate(),C(d)})}),destroy:function(){S(),f=!0}};if(!Oi(c,s))return process.env.NODE_ENV!=="production"&&console.error(Ei),h;h.setOptions(u).then(function(C){!f&&u.onFirstUpdate&&u.onFirstUpdate(C)});function v(){d.orderedModifiers.forEach(function(C){var O=C.name,R=C.options,k=R===void 0?{}:R,r=C.effect;if(typeof r=="function"){var b=r({state:d,name:O,instance:h,options:k}),g=function(){};l.push(b||g)}})}function S(){l.forEach(function(C){return C()}),l=[]}return h}}var dd=[Tl,Kl,Il,ms,ql,Fl,Yl,Cl,jl],cd=ld({defaultModifiers:dd}),ud="tippy-box",xs="tippy-content",pd="tippy-backdrop",ws="tippy-arrow",Es="tippy-svg-arrow",Ae={passive:!0,capture:!0},Is=function(){return document.body};function fd(t,e){return{}.hasOwnProperty.call(t,e)}function pn(t,e,n){if(Array.isArray(t)){var i=t[e];return i??(Array.isArray(n)?n[e]:n)}return t}function Zn(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function Os(t,e){return typeof t=="function"?t.apply(void 0,e):t}function Ti(t,e){if(e===0)return t;var n;return function(i){clearTimeout(n),n=setTimeout(function(){t(i)},e)}}function hd(t,e){var n=Object.assign({},t);return e.forEach(function(i){delete n[i]}),n}function md(t){return t.split(/\s+/).filter(Boolean)}function He(t){return[].concat(t)}function Li(t,e){t.indexOf(e)===-1&&t.push(e)}function _d(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function gd(t){return t.split("-")[0]}function Gt(t){return[].slice.call(t)}function Ai(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function ot(){return document.createElement("div")}function pt(t){return["Element","Fragment"].some(function(e){return Zn(t,e)})}function vd(t){return Zn(t,"NodeList")}function bd(t){return Zn(t,"MouseEvent")}function yd(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function Sd(t){return pt(t)?[t]:vd(t)?Gt(t):Array.isArray(t)?t:Gt(document.querySelectorAll(t))}function fn(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function $i(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function Cd(t){var e,n=He(t),i=n[0];return i!=null&&(e=i.ownerDocument)!=null&&e.body?i.ownerDocument:document}function xd(t,e){var n=e.clientX,i=e.clientY;return t.every(function(a){var o=a.popperRect,p=a.popperState,c=a.props,s=c.interactiveBorder,u=gd(p.placement),d=p.modifiersData.offset;if(!d)return!0;var l=u==="bottom"?d.top.y:0,f=u==="top"?d.bottom.y:0,h=u==="right"?d.left.x:0,v=u==="left"?d.right.x:0,S=o.top-i+l>s,C=i-o.bottom-f>s,O=o.left-n+h>s,R=n-o.right-v>s;return S||C||O||R})}function hn(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){t[i](a,n)})}function Di(t,e){for(var n=e;n;){var i;if(t.contains(n))return!0;n=n.getRootNode==null||(i=n.getRootNode())==null?void 0:i.host}return!1}var ce={isTouch:!1},Ri=0;function wd(){ce.isTouch||(ce.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ts))}function Ts(){var t=performance.now();t-Ri<20&&(ce.isTouch=!1,document.removeEventListener("mousemove",Ts)),Ri=t}function Ed(){var t=document.activeElement;if(yd(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function Id(){document.addEventListener("touchstart",wd,Ae),window.addEventListener("blur",Ed)}var Od=typeof window<"u"&&typeof document<"u",Td=Od?!!window.msCrypto:!1;function ze(t){var e=t==="destroy"?"n already-":" ";return[t+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function ki(t){var e=/[ \t]{2,}/g,n=/^[ \t]*/gm;return t.replace(e," ").replace(n,"").trim()}function Ld(t){return ki(`
|
|
9
|
+
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var Ie={placement:D5(e.placement),variation:En(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:F,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Ca(Object.assign({},Ie,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:Ce,roundOffsets:Se})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ca(Object.assign({},Ie,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Se})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const C3={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:y3,data:{}};var Un={passive:!0};function S3(n){var e=n.state,s=n.instance,t=n.options,F=t.scroll,ie=F===void 0?!0:F,Ce=t.resize,Ee=Ce===void 0?!0:Ce,Se=E5(e.elements.popper),mt=[].concat(e.scrollParents.reference,e.scrollParents.popper);return ie&&mt.forEach(function(Ie){Ie.addEventListener("scroll",s.update,Un)}),Ee&&Se.addEventListener("resize",s.update,Un),function(){ie&&mt.forEach(function(Ie){Ie.removeEventListener("scroll",s.update,Un)}),Ee&&Se.removeEventListener("resize",s.update,Un)}}const E3={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:S3,data:{}};var I3={left:"right",right:"left",bottom:"top",top:"bottom"};function Zn(n){return n.replace(/left|right|bottom|top/g,function(e){return I3[e]})}var w3={start:"end",end:"start"};function Sa(n){return n.replace(/start|end/g,function(e){return w3[e]})}function Ji(n){var e=E5(n),s=e.pageXOffset,t=e.pageYOffset;return{scrollLeft:s,scrollTop:t}}function ea(n){return Sn(J5(n)).left+Ji(n).scrollLeft}function x3(n,e){var s=E5(n),t=J5(n),F=s.visualViewport,ie=t.clientWidth,Ce=t.clientHeight,Ee=0,Se=0;if(F){ie=F.width,Ce=F.height;var mt=As();(mt||!mt&&e==="fixed")&&(Ee=F.offsetLeft,Se=F.offsetTop)}return{width:ie,height:Ce,x:Ee+ea(n),y:Se}}function O3(n){var e,s=J5(n),t=Ji(n),F=(e=n.ownerDocument)==null?void 0:e.body,ie=pn(s.scrollWidth,s.clientWidth,F?F.scrollWidth:0,F?F.clientWidth:0),Ce=pn(s.scrollHeight,s.clientHeight,F?F.scrollHeight:0,F?F.clientHeight:0),Ee=-t.scrollLeft+ea(n),Se=-t.scrollTop;return $5(F||s).direction==="rtl"&&(Ee+=pn(s.clientWidth,F?F.clientWidth:0)-ie),{width:ie,height:Ce,x:Ee,y:Se}}function ta(n){var e=$5(n),s=e.overflow,t=e.overflowX,F=e.overflowY;return/auto|scroll|overlay|hidden/.test(s+F+t)}function $s(n){return["html","body","#document"].indexOf(M5(n))>=0?n.ownerDocument.body:C5(n)&&ta(n)?n:$s(ri(n))}function An(n,e){var s;e===void 0&&(e=[]);var t=$s(n),F=t===((s=n.ownerDocument)==null?void 0:s.body),ie=E5(t),Ce=F?[ie].concat(ie.visualViewport||[],ta(t)?t:[]):t,Ee=e.concat(Ce);return F?Ee:Ee.concat(An(ri(Ce)))}function Ni(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function A3(n,e){var s=Sn(n,!1,e==="fixed");return s.top=s.top+n.clientTop,s.left=s.left+n.clientLeft,s.bottom=s.top+n.clientHeight,s.right=s.left+n.clientWidth,s.width=n.clientWidth,s.height=n.clientHeight,s.x=s.left,s.y=s.top,s}function Ea(n,e,s){return e===ws?Ni(x3(n,s)):fn(e)?A3(e,s):Ni(O3(J5(n)))}function T3(n){var e=An(ri(n)),s=["absolute","fixed"].indexOf($5(n).position)>=0,t=s&&C5(n)?jn(n):n;return fn(t)?e.filter(function(F){return fn(F)&&Ts(F,t)&&M5(F)!=="body"}):[]}function L3(n,e,s,t){var F=e==="clippingParents"?T3(n):[].concat(e),ie=[].concat(F,[s]),Ce=ie[0],Ee=ie.reduce(function(Se,mt){var Ie=Ea(n,mt,t);return Se.top=pn(Ie.top,Se.top),Se.right=ei(Ie.right,Se.right),Se.bottom=ei(Ie.bottom,Se.bottom),Se.left=pn(Ie.left,Se.left),Se},Ea(n,Ce,t));return Ee.width=Ee.right-Ee.left,Ee.height=Ee.bottom-Ee.top,Ee.x=Ee.left,Ee.y=Ee.top,Ee}function ks(n){var e=n.reference,s=n.element,t=n.placement,F=t?D5(t):null,ie=t?En(t):null,Ce=e.x+e.width/2-s.width/2,Ee=e.y+e.height/2-s.height/2,Se;switch(F){case h5:Se={x:Ce,y:e.y-s.height};break;case O5:Se={x:Ce,y:e.y+e.height};break;case A5:Se={x:e.x+e.width,y:Ee};break;case m5:Se={x:e.x-s.width,y:Ee};break;default:Se={x:e.x,y:e.y}}var mt=F?Qi(F):null;if(mt!=null){var Ie=mt==="y"?"height":"width";switch(ie){case yn:Se[mt]=Se[mt]-(e[Ie]/2-s[Ie]/2);break;case Rn:Se[mt]=Se[mt]+(e[Ie]/2-s[Ie]/2);break}}return Se}function $n(n,e){e===void 0&&(e={});var s=e,t=s.placement,F=t===void 0?n.placement:t,ie=s.strategy,Ce=ie===void 0?n.strategy:ie,Ee=s.boundary,Se=Ee===void 0?Ql:Ee,mt=s.rootBoundary,Ie=mt===void 0?ws:mt,vt=s.elementContext,jt=vt===void 0?xn:vt,Vt=s.altBoundary,qt=Vt===void 0?!1:Vt,Ht=s.padding,Nt=Ht===void 0?0:Ht,Ut=Ds(typeof Nt!="number"?Nt:Rs(Nt,Vn)),zt=jt===xn?Jl:xn,Zt=n.rects.popper,re=n.elements[qt?zt:jt],Kt=L3(fn(re)?re:re.contextElement||J5(n.elements.popper),Se,Ie,Ce),Mt=Sn(n.elements.reference),Wt=ks({reference:Mt,element:Zt,strategy:"absolute",placement:F}),Qt=Ni(Object.assign({},Zt,Wt)),Jt=jt===xn?Qt:Mt,e5={top:Kt.top-Jt.top+Ut.top,bottom:Jt.bottom-Kt.bottom+Ut.bottom,left:Kt.left-Jt.left+Ut.left,right:Jt.right-Kt.right+Ut.right},Yt=n.modifiersData.offset;if(jt===xn&&Yt){var Xt=Yt[F];Object.keys(e5).forEach(function(t5){var c5=[A5,O5].indexOf(t5)>=0?1:-1,u5=[h5,O5].indexOf(t5)>=0?"y":"x";e5[t5]+=Xt[u5]*c5})}return e5}function D3(n,e){e===void 0&&(e={});var s=e,t=s.placement,F=s.boundary,ie=s.rootBoundary,Ce=s.padding,Ee=s.flipVariations,Se=s.allowedAutoPlacements,mt=Se===void 0?xs:Se,Ie=En(t),vt=Ie?Ee?ba:ba.filter(function(qt){return En(qt)===Ie}):Vn,jt=vt.filter(function(qt){return mt.indexOf(qt)>=0});jt.length===0&&(jt=vt,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var Vt=jt.reduce(function(qt,Ht){return qt[Ht]=$n(n,{placement:Ht,boundary:F,rootBoundary:ie,padding:Ce})[D5(Ht)],qt},{});return Object.keys(Vt).sort(function(qt,Ht){return Vt[qt]-Vt[Ht]})}function R3(n){if(D5(n)===si)return[];var e=Zn(n);return[Sa(n),e,Sa(e)]}function $3(n){var e=n.state,s=n.options,t=n.name;if(!e.modifiersData[t]._skip){for(var F=s.mainAxis,ie=F===void 0?!0:F,Ce=s.altAxis,Ee=Ce===void 0?!0:Ce,Se=s.fallbackPlacements,mt=s.padding,Ie=s.boundary,vt=s.rootBoundary,jt=s.altBoundary,Vt=s.flipVariations,qt=Vt===void 0?!0:Vt,Ht=s.allowedAutoPlacements,Nt=e.options.placement,Ut=D5(Nt),zt=Ut===Nt,Zt=Se||(zt||!qt?[Zn(Nt)]:R3(Nt)),re=[Nt].concat(Zt).reduce(function(_5,f5){return _5.concat(D5(f5)===si?D3(e,{placement:f5,boundary:Ie,rootBoundary:vt,padding:mt,flipVariations:qt,allowedAutoPlacements:Ht}):f5)},[]),Kt=e.rects.reference,Mt=e.rects.popper,Wt=new Map,Qt=!0,Jt=re[0],e5=0;e5<re.length;e5++){var Yt=re[e5],Xt=D5(Yt),t5=En(Yt)===yn,c5=[h5,O5].indexOf(Xt)>=0,u5=c5?"width":"height",r5=$n(e,{placement:Yt,boundary:Ie,rootBoundary:vt,altBoundary:jt,padding:mt}),o5=c5?t5?A5:m5:t5?O5:h5;Kt[u5]>Mt[u5]&&(o5=Zn(o5));var i5=Zn(o5),I5=[];if(ie&&I5.push(r5[Xt]<=0),Ee&&I5.push(r5[o5]<=0,r5[i5]<=0),I5.every(function(_5){return _5})){Jt=Yt,Qt=!1;break}Wt.set(Yt,I5)}if(Qt)for(var p5=qt?3:1,k5=function(f5){var w5=re.find(function(F5){var g5=Wt.get(F5);if(g5)return g5.slice(0,f5).every(function(V5){return V5})});if(w5)return Jt=w5,"break"},v5=p5;v5>0;v5--){var P5=k5(v5);if(P5==="break")break}e.placement!==Jt&&(e.modifiersData[t]._skip=!0,e.placement=Jt,e.reset=!0)}}const k3={name:"flip",enabled:!0,phase:"main",fn:$3,requiresIfExists:["offset"],data:{_skip:!1}};function Ia(n,e,s){return s===void 0&&(s={x:0,y:0}),{top:n.top-e.height-s.y,right:n.right-e.width+s.x,bottom:n.bottom-e.height+s.y,left:n.left-e.width-s.x}}function wa(n){return[h5,A5,O5,m5].some(function(e){return n[e]>=0})}function P3(n){var e=n.state,s=n.name,t=e.rects.reference,F=e.rects.popper,ie=e.modifiersData.preventOverflow,Ce=$n(e,{elementContext:"reference"}),Ee=$n(e,{altBoundary:!0}),Se=Ia(Ce,t),mt=Ia(Ee,F,ie),Ie=wa(Se),vt=wa(mt);e.modifiersData[s]={referenceClippingOffsets:Se,popperEscapeOffsets:mt,isReferenceHidden:Ie,hasPopperEscaped:vt},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":Ie,"data-popper-escaped":vt})}const N3={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:P3};function B3(n,e,s){var t=D5(n),F=[m5,h5].indexOf(t)>=0?-1:1,ie=typeof s=="function"?s(Object.assign({},e,{placement:n})):s,Ce=ie[0],Ee=ie[1];return Ce=Ce||0,Ee=(Ee||0)*F,[m5,A5].indexOf(t)>=0?{x:Ee,y:Ce}:{x:Ce,y:Ee}}function M3(n){var e=n.state,s=n.options,t=n.name,F=s.offset,ie=F===void 0?[0,0]:F,Ce=xs.reduce(function(Ie,vt){return Ie[vt]=B3(vt,e.rects,ie),Ie},{}),Ee=Ce[e.placement],Se=Ee.x,mt=Ee.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=Se,e.modifiersData.popperOffsets.y+=mt),e.modifiersData[t]=Ce}const F3={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:M3};function V3(n){var e=n.state,s=n.name;e.modifiersData[s]=ks({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const j3={name:"popperOffsets",enabled:!0,phase:"read",fn:V3,data:{}};function z3(n){return n==="x"?"y":"x"}function H3(n){var e=n.state,s=n.options,t=n.name,F=s.mainAxis,ie=F===void 0?!0:F,Ce=s.altAxis,Ee=Ce===void 0?!1:Ce,Se=s.boundary,mt=s.rootBoundary,Ie=s.altBoundary,vt=s.padding,jt=s.tether,Vt=jt===void 0?!0:jt,qt=s.tetherOffset,Ht=qt===void 0?0:qt,Nt=$n(e,{boundary:Se,rootBoundary:mt,padding:vt,altBoundary:Ie}),Ut=D5(e.placement),zt=En(e.placement),Zt=!zt,re=Qi(Ut),Kt=z3(re),Mt=e.modifiersData.popperOffsets,Wt=e.rects.reference,Qt=e.rects.popper,Jt=typeof Ht=="function"?Ht(Object.assign({},e.rects,{placement:e.placement})):Ht,e5=typeof Jt=="number"?{mainAxis:Jt,altAxis:Jt}:Object.assign({mainAxis:0,altAxis:0},Jt),Yt=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,Xt={x:0,y:0};if(Mt){if(ie){var t5,c5=re==="y"?h5:m5,u5=re==="y"?O5:A5,r5=re==="y"?"height":"width",o5=Mt[re],i5=o5+Nt[c5],I5=o5-Nt[u5],p5=Vt?-Qt[r5]/2:0,k5=zt===yn?Wt[r5]:Qt[r5],v5=zt===yn?-Qt[r5]:-Wt[r5],P5=e.elements.arrow,_5=Vt&&P5?Xi(P5):{width:0,height:0},f5=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Ls(),w5=f5[c5],F5=f5[u5],g5=On(0,Wt[r5],_5[r5]),V5=Zt?Wt[r5]/2-p5-g5-w5-e5.mainAxis:k5-g5-w5-e5.mainAxis,T5=Zt?-Wt[r5]/2+p5+g5+F5+e5.mainAxis:v5+g5+F5+e5.mainAxis,j5=e.elements.arrow&&jn(e.elements.arrow),U5=j5?re==="y"?j5.clientTop||0:j5.clientLeft||0:0,G5=(t5=Yt==null?void 0:Yt[re])!=null?t5:0,tn=o5+V5-G5-U5,nn=o5+T5-G5,z5=On(Vt?ei(i5,tn):i5,o5,Vt?pn(I5,nn):I5);Mt[re]=z5,Xt[re]=z5-o5}if(Ee){var W5,an=re==="x"?h5:m5,sn=re==="x"?O5:A5,b5=Mt[Kt],L5=Kt==="y"?"height":"width",Y5=b5+Nt[an],N5=b5-Nt[sn],H5=[h5,m5].indexOf(Ut)!==-1,rn=(W5=Yt==null?void 0:Yt[Kt])!=null?W5:0,on=H5?Y5:b5-Wt[L5]-Qt[L5]-rn+e5.altAxis,ln=H5?b5+Wt[L5]+Qt[L5]-rn-e5.altAxis:N5,w=Vt&&H5?f3(on,b5,ln):On(Vt?on:Y5,b5,Vt?ln:N5);Mt[Kt]=w,Xt[Kt]=w-b5}e.modifiersData[t]=Xt}}const q3={name:"preventOverflow",enabled:!0,phase:"main",fn:H3,requiresIfExists:["offset"]};function K3(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function U3(n){return n===E5(n)||!C5(n)?Ji(n):K3(n)}function G3(n){var e=n.getBoundingClientRect(),s=Cn(e.width)/n.offsetWidth||1,t=Cn(e.height)/n.offsetHeight||1;return s!==1||t!==1}function W3(n,e,s){s===void 0&&(s=!1);var t=C5(e),F=C5(e)&&G3(e),ie=J5(e),Ce=Sn(n,F,s),Ee={scrollLeft:0,scrollTop:0},Se={x:0,y:0};return(t||!t&&!s)&&((M5(e)!=="body"||ta(ie))&&(Ee=U3(e)),C5(e)?(Se=Sn(e,!0),Se.x+=e.clientLeft,Se.y+=e.clientTop):ie&&(Se.x=ea(ie))),{x:Ce.left+Ee.scrollLeft-Se.x,y:Ce.top+Ee.scrollTop-Se.y,width:Ce.width,height:Ce.height}}function Y3(n){var e=new Map,s=new Set,t=[];n.forEach(function(ie){e.set(ie.name,ie)});function F(ie){s.add(ie.name);var Ce=[].concat(ie.requires||[],ie.requiresIfExists||[]);Ce.forEach(function(Ee){if(!s.has(Ee)){var Se=e.get(Ee);Se&&F(Se)}}),t.push(ie)}return n.forEach(function(ie){s.has(ie.name)||F(ie)}),t}function Z3(n){var e=Y3(n);return ki.reduce(function(s,t){return s.concat(e.filter(function(F){return F.phase===t}))},[])}function X3(n){var e;return function(){return e||(e=new Promise(function(s){Promise.resolve().then(function(){e=void 0,s(n())})})),e}}function Z5(n){for(var e=arguments.length,s=new Array(e>1?e-1:0),t=1;t<e;t++)s[t-1]=arguments[t];return[].concat(s).reduce(function(F,ie){return F.replace(/%s/,ie)},n)}var dn='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Q3='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',xa=["name","enabled","phase","fn","effect","requires","options"];function J3(n){n.forEach(function(e){[].concat(Object.keys(e),xa).filter(function(s,t,F){return F.indexOf(s)===t}).forEach(function(s){switch(s){case"name":typeof e.name!="string"&&console.error(Z5(dn,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(Z5(dn,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":ki.indexOf(e.phase)<0&&console.error(Z5(dn,e.name,'"phase"',"either "+ki.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(Z5(dn,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(Z5(dn,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(Z5(dn,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(Z5(dn,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+xa.map(function(t){return'"'+t+'"'}).join(", ")+'; but "'+s+'" was provided.')}e.requires&&e.requires.forEach(function(t){n.find(function(F){return F.name===t})==null&&console.error(Z5(Q3,String(e.name),t,t))})})})}function e6(n,e){var s=new Set;return n.filter(function(t){var F=e(t);if(!s.has(F))return s.add(F),!0})}function t6(n){var e=n.reduce(function(s,t){var F=s[t.name];return s[t.name]=F?Object.assign({},F,t,{options:Object.assign({},F.options,t.options),data:Object.assign({},F.data,t.data)}):t,s},{});return Object.keys(e).map(function(s){return e[s]})}var Oa="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",n6="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Aa={placement:"bottom",modifiers:[],strategy:"absolute"};function Ta(){for(var n=arguments.length,e=new Array(n),s=0;s<n;s++)e[s]=arguments[s];return!e.some(function(t){return!(t&&typeof t.getBoundingClientRect=="function")})}function i6(n){n===void 0&&(n={});var e=n,s=e.defaultModifiers,t=s===void 0?[]:s,F=e.defaultOptions,ie=F===void 0?Aa:F;return function(Ee,Se,mt){mt===void 0&&(mt=ie);var Ie={placement:"bottom",orderedModifiers:[],options:Object.assign({},Aa,ie),modifiersData:{},elements:{reference:Ee,popper:Se},attributes:{},styles:{}},vt=[],jt=!1,Vt={state:Ie,setOptions:function(Ut){var zt=typeof Ut=="function"?Ut(Ie.options):Ut;Ht(),Ie.options=Object.assign({},ie,Ie.options,zt),Ie.scrollParents={reference:fn(Ee)?An(Ee):Ee.contextElement?An(Ee.contextElement):[],popper:An(Se)};var Zt=Z3(t6([].concat(t,Ie.options.modifiers)));if(Ie.orderedModifiers=Zt.filter(function(Yt){return Yt.enabled}),process.env.NODE_ENV!=="production"){var re=e6([].concat(Zt,Ie.options.modifiers),function(Yt){var Xt=Yt.name;return Xt});if(J3(re),D5(Ie.options.placement)===si){var Kt=Ie.orderedModifiers.find(function(Yt){var Xt=Yt.name;return Xt==="flip"});Kt||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var Mt=$5(Se),Wt=Mt.marginTop,Qt=Mt.marginRight,Jt=Mt.marginBottom,e5=Mt.marginLeft;[Wt,Qt,Jt,e5].some(function(Yt){return parseFloat(Yt)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return qt(),Vt.update()},forceUpdate:function(){if(!jt){var Ut=Ie.elements,zt=Ut.reference,Zt=Ut.popper;if(!Ta(zt,Zt)){process.env.NODE_ENV!=="production"&&console.error(Oa);return}Ie.rects={reference:W3(zt,jn(Zt),Ie.options.strategy==="fixed"),popper:Xi(Zt)},Ie.reset=!1,Ie.placement=Ie.options.placement,Ie.orderedModifiers.forEach(function(Yt){return Ie.modifiersData[Yt.name]=Object.assign({},Yt.data)});for(var re=0,Kt=0;Kt<Ie.orderedModifiers.length;Kt++){if(process.env.NODE_ENV!=="production"&&(re+=1,re>100)){console.error(n6);break}if(Ie.reset===!0){Ie.reset=!1,Kt=-1;continue}var Mt=Ie.orderedModifiers[Kt],Wt=Mt.fn,Qt=Mt.options,Jt=Qt===void 0?{}:Qt,e5=Mt.name;typeof Wt=="function"&&(Ie=Wt({state:Ie,options:Jt,name:e5,instance:Vt})||Ie)}}},update:X3(function(){return new Promise(function(Nt){Vt.forceUpdate(),Nt(Ie)})}),destroy:function(){Ht(),jt=!0}};if(!Ta(Ee,Se))return process.env.NODE_ENV!=="production"&&console.error(Oa),Vt;Vt.setOptions(mt).then(function(Nt){!jt&&mt.onFirstUpdate&&mt.onFirstUpdate(Nt)});function qt(){Ie.orderedModifiers.forEach(function(Nt){var Ut=Nt.name,zt=Nt.options,Zt=zt===void 0?{}:zt,re=Nt.effect;if(typeof re=="function"){var Kt=re({state:Ie,name:Ut,instance:Vt,options:Zt}),Mt=function(){};vt.push(Kt||Mt)}})}function Ht(){vt.forEach(function(Nt){return Nt()}),vt=[]}return Vt}}var a6=[E3,j3,C3,Os,F3,k3,q3,_3,N3],s6=i6({defaultModifiers:a6}),r6="tippy-box",Ps="tippy-content",o6="tippy-backdrop",Ns="tippy-arrow",Bs="tippy-svg-arrow",cn={passive:!0,capture:!0},Ms=function(){return document.body};function l6(n,e){return{}.hasOwnProperty.call(n,e)}function yi(n,e,s){if(Array.isArray(n)){var t=n[e];return t??(Array.isArray(s)?s[e]:s)}return n}function na(n,e){var s={}.toString.call(n);return s.indexOf("[object")===0&&s.indexOf(e+"]")>-1}function Fs(n,e){return typeof n=="function"?n.apply(void 0,e):n}function La(n,e){if(e===0)return n;var s;return function(t){clearTimeout(s),s=setTimeout(function(){n(t)},e)}}function d6(n,e){var s=Object.assign({},n);return e.forEach(function(t){delete s[t]}),s}function c6(n){return n.split(/\s+/).filter(Boolean)}function vn(n){return[].concat(n)}function Da(n,e){n.indexOf(e)===-1&&n.push(e)}function u6(n){return n.filter(function(e,s){return n.indexOf(e)===s})}function p6(n){return n.split("-")[0]}function ti(n){return[].slice.call(n)}function Ra(n){return Object.keys(n).reduce(function(e,s){return n[s]!==void 0&&(e[s]=n[s]),e},{})}function Tn(){return document.createElement("div")}function kn(n){return["Element","Fragment"].some(function(e){return na(n,e)})}function f6(n){return na(n,"NodeList")}function h6(n){return na(n,"MouseEvent")}function m6(n){return!!(n&&n._tippy&&n._tippy.reference===n)}function v6(n){return kn(n)?[n]:f6(n)?ti(n):Array.isArray(n)?n:ti(document.querySelectorAll(n))}function Ci(n,e){n.forEach(function(s){s&&(s.style.transitionDuration=e+"ms")})}function $a(n,e){n.forEach(function(s){s&&s.setAttribute("data-state",e)})}function _6(n){var e,s=vn(n),t=s[0];return t!=null&&(e=t.ownerDocument)!=null&&e.body?t.ownerDocument:document}function g6(n,e){var s=e.clientX,t=e.clientY;return n.every(function(F){var ie=F.popperRect,Ce=F.popperState,Ee=F.props,Se=Ee.interactiveBorder,mt=p6(Ce.placement),Ie=Ce.modifiersData.offset;if(!Ie)return!0;var vt=mt==="bottom"?Ie.top.y:0,jt=mt==="top"?Ie.bottom.y:0,Vt=mt==="right"?Ie.left.x:0,qt=mt==="left"?Ie.right.x:0,Ht=ie.top-t+vt>Se,Nt=t-ie.bottom-jt>Se,Ut=ie.left-s+Vt>Se,zt=s-ie.right-qt>Se;return Ht||Nt||Ut||zt})}function Si(n,e,s){var t=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(F){n[t](F,s)})}function ka(n,e){for(var s=e;s;){var t;if(n.contains(s))return!0;s=s.getRootNode==null||(t=s.getRootNode())==null?void 0:t.host}return!1}var B5={isTouch:!1},Pa=0;function b6(){B5.isTouch||(B5.isTouch=!0,window.performance&&document.addEventListener("mousemove",Vs))}function Vs(){var n=performance.now();n-Pa<20&&(B5.isTouch=!1,document.removeEventListener("mousemove",Vs)),Pa=n}function y6(){var n=document.activeElement;if(m6(n)){var e=n._tippy;n.blur&&!e.state.isVisible&&n.blur()}}function C6(){document.addEventListener("touchstart",b6,cn),window.addEventListener("blur",y6)}var S6=typeof window<"u"&&typeof document<"u",E6=S6?!!window.msCrypto:!1;function mn(n){var e=n==="destroy"?"n already-":" ";return[n+"() was called on a"+e+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Na(n){var e=/[ \t]{2,}/g,s=/^[ \t]*/gm;return n.replace(e," ").replace(s,"").trim()}function I6(n){return Na(`
|
|
10
10
|
%ctippy.js
|
|
11
11
|
|
|
12
|
-
%c`+
|
|
12
|
+
%c`+Na(n)+`
|
|
13
13
|
|
|
14
14
|
%c👷 This is a development-only message. It will be removed in production.
|
|
15
|
-
`)}function
|
|
15
|
+
`)}function js(n){return[I6(n),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Pn;process.env.NODE_ENV!=="production"&&w6();function w6(){Pn=new Set}function q5(n,e){if(n&&!Pn.has(e)){var s;Pn.add(e),(s=console).warn.apply(s,js(e))}}function Bi(n,e){if(n&&!Pn.has(e)){var s;Pn.add(e),(s=console).error.apply(s,js(e))}}function x6(n){var e=!n,s=Object.prototype.toString.call(n)==="[object Object]"&&!n.addEventListener;Bi(e,["tippy() was passed","`"+String(n)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Bi(s,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var zs={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},O6={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},y5=Object.assign({appendTo:Ms,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},zs,O6),A6=Object.keys(y5),T6=function(e){process.env.NODE_ENV!=="production"&&qs(e,[]);var s=Object.keys(e);s.forEach(function(t){y5[t]=e[t]})};function Hs(n){var e=n.plugins||[],s=e.reduce(function(t,F){var ie=F.name,Ce=F.defaultValue;if(ie){var Ee;t[ie]=n[ie]!==void 0?n[ie]:(Ee=y5[ie])!=null?Ee:Ce}return t},{});return Object.assign({},n,s)}function L6(n,e){var s=e?Object.keys(Hs(Object.assign({},y5,{plugins:e}))):A6,t=s.reduce(function(F,ie){var Ce=(n.getAttribute("data-tippy-"+ie)||"").trim();if(!Ce)return F;if(ie==="content")F[ie]=Ce;else try{F[ie]=JSON.parse(Ce)}catch{F[ie]=Ce}return F},{});return t}function Ba(n,e){var s=Object.assign({},e,{content:Fs(e.content,[n])},e.ignoreAttributes?{}:L6(n,e.plugins));return s.aria=Object.assign({},y5.aria,s.aria),s.aria={expanded:s.aria.expanded==="auto"?e.interactive:s.aria.expanded,content:s.aria.content==="auto"?e.interactive?null:"describedby":s.aria.content},s}function qs(n,e){n===void 0&&(n={}),e===void 0&&(e=[]);var s=Object.keys(n);s.forEach(function(t){var F=d6(y5,Object.keys(zs)),ie=!l6(F,t);ie&&(ie=e.filter(function(Ce){return Ce.name===t}).length===0),q5(ie,["`"+t+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
|
|
16
16
|
|
|
17
17
|
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
|
|
18
|
-
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var
|
|
18
|
+
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var D6=function(){return"innerHTML"};function Mi(n,e){n[D6()]=e}function Ma(n){var e=Tn();return n===!0?e.className=Ns:(e.className=Bs,kn(n)?e.appendChild(n):Mi(e,n)),e}function Fa(n,e){kn(e.content)?(Mi(n,""),n.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?Mi(n,e.content):n.textContent=e.content)}function Fi(n){var e=n.firstElementChild,s=ti(e.children);return{box:e,content:s.find(function(t){return t.classList.contains(Ps)}),arrow:s.find(function(t){return t.classList.contains(Ns)||t.classList.contains(Bs)}),backdrop:s.find(function(t){return t.classList.contains(o6)})}}function Ks(n){var e=Tn(),s=Tn();s.className=r6,s.setAttribute("data-state","hidden"),s.setAttribute("tabindex","-1");var t=Tn();t.className=Ps,t.setAttribute("data-state","hidden"),Fa(t,n.props),e.appendChild(s),s.appendChild(t),F(n.props,n.props);function F(ie,Ce){var Ee=Fi(e),Se=Ee.box,mt=Ee.content,Ie=Ee.arrow;Ce.theme?Se.setAttribute("data-theme",Ce.theme):Se.removeAttribute("data-theme"),typeof Ce.animation=="string"?Se.setAttribute("data-animation",Ce.animation):Se.removeAttribute("data-animation"),Ce.inertia?Se.setAttribute("data-inertia",""):Se.removeAttribute("data-inertia"),Se.style.maxWidth=typeof Ce.maxWidth=="number"?Ce.maxWidth+"px":Ce.maxWidth,Ce.role?Se.setAttribute("role",Ce.role):Se.removeAttribute("role"),(ie.content!==Ce.content||ie.allowHTML!==Ce.allowHTML)&&Fa(mt,n.props),Ce.arrow?Ie?ie.arrow!==Ce.arrow&&(Se.removeChild(Ie),Se.appendChild(Ma(Ce.arrow))):Se.appendChild(Ma(Ce.arrow)):Ie&&Se.removeChild(Ie)}return{popper:e,onUpdate:F}}Ks.$$tippy=!0;var R6=1,Gn=[],Ei=[];function $6(n,e){var s=Ba(n,Object.assign({},y5,Hs(Ra(e)))),t,F,ie,Ce=!1,Ee=!1,Se=!1,mt=!1,Ie,vt,jt,Vt=[],qt=La(tn,s.interactiveDebounce),Ht,Nt=R6++,Ut=null,zt=u6(s.plugins),Zt={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},re={id:Nt,reference:n,popper:Tn(),popperInstance:Ut,props:s,state:Zt,plugins:zt,clearDelayTimeouts:on,setProps:ln,setContent:w,show:p,hide:V,hideWithInteractivity:f,enable:H5,disable:rn,unmount:l,destroy:a};if(!s.render)return process.env.NODE_ENV!=="production"&&Bi(!0,"render() function has not been supplied."),re;var Kt=s.render(re),Mt=Kt.popper,Wt=Kt.onUpdate;Mt.setAttribute("data-tippy-root",""),Mt.id="tippy-"+re.id,re.popper=Mt,n._tippy=re,Mt._tippy=re;var Qt=zt.map(function(i){return i.fn(re)}),Jt=n.hasAttribute("aria-expanded");return j5(),p5(),o5(),i5("onCreate",[re]),s.showOnCreate&&Y5(),Mt.addEventListener("mouseenter",function(){re.props.interactive&&re.state.isVisible&&re.clearDelayTimeouts()}),Mt.addEventListener("mouseleave",function(){re.props.interactive&&re.props.trigger.indexOf("mouseenter")>=0&&c5().addEventListener("mousemove",qt)}),re;function e5(){var i=re.props.touch;return Array.isArray(i)?i:[i,0]}function Yt(){return e5()[0]==="hold"}function Xt(){var i;return!!((i=re.props.render)!=null&&i.$$tippy)}function t5(){return Ht||n}function c5(){var i=t5().parentNode;return i?_6(i):document}function u5(){return Fi(Mt)}function r5(i){return re.state.isMounted&&!re.state.isVisible||B5.isTouch||Ie&&Ie.type==="focus"?0:yi(re.props.delay,i?0:1,y5.delay)}function o5(i){i===void 0&&(i=!1),Mt.style.pointerEvents=re.props.interactive&&!i?"":"none",Mt.style.zIndex=""+re.props.zIndex}function i5(i,r,o){if(o===void 0&&(o=!0),Qt.forEach(function(c){c[i]&&c[i].apply(c,r)}),o){var d;(d=re.props)[i].apply(d,r)}}function I5(){var i=re.props.aria;if(i.content){var r="aria-"+i.content,o=Mt.id,d=vn(re.props.triggerTarget||n);d.forEach(function(c){var u=c.getAttribute(r);if(re.state.isVisible)c.setAttribute(r,u?u+" "+o:o);else{var h=u&&u.replace(o,"").trim();h?c.setAttribute(r,h):c.removeAttribute(r)}})}}function p5(){if(!(Jt||!re.props.aria.expanded)){var i=vn(re.props.triggerTarget||n);i.forEach(function(r){re.props.interactive?r.setAttribute("aria-expanded",re.state.isVisible&&r===t5()?"true":"false"):r.removeAttribute("aria-expanded")})}}function k5(){c5().removeEventListener("mousemove",qt),Gn=Gn.filter(function(i){return i!==qt})}function v5(i){if(!(B5.isTouch&&(Se||i.type==="mousedown"))){var r=i.composedPath&&i.composedPath()[0]||i.target;if(!(re.props.interactive&&ka(Mt,r))){if(vn(re.props.triggerTarget||n).some(function(o){return ka(o,r)})){if(B5.isTouch||re.state.isVisible&&re.props.trigger.indexOf("click")>=0)return}else i5("onClickOutside",[re,i]);re.props.hideOnClick===!0&&(re.clearDelayTimeouts(),re.hide(),Ee=!0,setTimeout(function(){Ee=!1}),re.state.isMounted||w5())}}}function P5(){Se=!0}function _5(){Se=!1}function f5(){var i=c5();i.addEventListener("mousedown",v5,!0),i.addEventListener("touchend",v5,cn),i.addEventListener("touchstart",_5,cn),i.addEventListener("touchmove",P5,cn)}function w5(){var i=c5();i.removeEventListener("mousedown",v5,!0),i.removeEventListener("touchend",v5,cn),i.removeEventListener("touchstart",_5,cn),i.removeEventListener("touchmove",P5,cn)}function F5(i,r){V5(i,function(){!re.state.isVisible&&Mt.parentNode&&Mt.parentNode.contains(Mt)&&r()})}function g5(i,r){V5(i,r)}function V5(i,r){var o=u5().box;function d(c){c.target===o&&(Si(o,"remove",d),r())}if(i===0)return r();Si(o,"remove",vt),Si(o,"add",d),vt=d}function T5(i,r,o){o===void 0&&(o=!1);var d=vn(re.props.triggerTarget||n);d.forEach(function(c){c.addEventListener(i,r,o),Vt.push({node:c,eventType:i,handler:r,options:o})})}function j5(){Yt()&&(T5("touchstart",G5,{passive:!0}),T5("touchend",nn,{passive:!0})),c6(re.props.trigger).forEach(function(i){if(i!=="manual")switch(T5(i,G5),i){case"mouseenter":T5("mouseleave",nn);break;case"focus":T5(E6?"focusout":"blur",z5);break;case"focusin":T5("focusout",z5);break}})}function U5(){Vt.forEach(function(i){var r=i.node,o=i.eventType,d=i.handler,c=i.options;r.removeEventListener(o,d,c)}),Vt=[]}function G5(i){var r,o=!1;if(!(!re.state.isEnabled||W5(i)||Ee)){var d=((r=Ie)==null?void 0:r.type)==="focus";Ie=i,Ht=i.currentTarget,p5(),!re.state.isVisible&&h6(i)&&Gn.forEach(function(c){return c(i)}),i.type==="click"&&(re.props.trigger.indexOf("mouseenter")<0||Ce)&&re.props.hideOnClick!==!1&&re.state.isVisible?o=!0:Y5(i),i.type==="click"&&(Ce=!o),o&&!d&&N5(i)}}function tn(i){var r=i.target,o=t5().contains(r)||Mt.contains(r);if(!(i.type==="mousemove"&&o)){var d=L5().concat(Mt).map(function(c){var u,h=c._tippy,_=(u=h.popperInstance)==null?void 0:u.state;return _?{popperRect:c.getBoundingClientRect(),popperState:_,props:s}:null}).filter(Boolean);g6(d,i)&&(k5(),N5(i))}}function nn(i){var r=W5(i)||re.props.trigger.indexOf("click")>=0&&Ce;if(!r){if(re.props.interactive){re.hideWithInteractivity(i);return}N5(i)}}function z5(i){re.props.trigger.indexOf("focusin")<0&&i.target!==t5()||re.props.interactive&&i.relatedTarget&&Mt.contains(i.relatedTarget)||N5(i)}function W5(i){return B5.isTouch?Yt()!==i.type.indexOf("touch")>=0:!1}function an(){sn();var i=re.props,r=i.popperOptions,o=i.placement,d=i.offset,c=i.getReferenceClientRect,u=i.moveTransition,h=Xt()?Fi(Mt).arrow:null,_=c?{getBoundingClientRect:c,contextElement:c.contextElement||t5()}:n,b={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(v){var C=v.state;if(Xt()){var y=u5(),S=y.box;["placement","reference-hidden","escaped"].forEach(function(I){I==="placement"?S.setAttribute("data-placement",C.placement):C.attributes.popper["data-popper-"+I]?S.setAttribute("data-"+I,""):S.removeAttribute("data-"+I)}),C.attributes.popper={}}}},m=[{name:"offset",options:{offset:d}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!u}},b];Xt()&&h&&m.push({name:"arrow",options:{element:h,padding:3}}),m.push.apply(m,(r==null?void 0:r.modifiers)||[]),re.popperInstance=s6(_,Mt,Object.assign({},r,{placement:o,onFirstUpdate:jt,modifiers:m}))}function sn(){re.popperInstance&&(re.popperInstance.destroy(),re.popperInstance=null)}function b5(){var i=re.props.appendTo,r,o=t5();re.props.interactive&&i===Ms||i==="parent"?r=o.parentNode:r=Fs(i,[o]),r.contains(Mt)||r.appendChild(Mt),re.state.isMounted=!0,an(),process.env.NODE_ENV!=="production"&&q5(re.props.interactive&&i===y5.appendTo&&o.nextElementSibling!==Mt,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
|
|
19
19
|
|
|
20
20
|
`,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
|
|
21
21
|
|
|
22
22
|
`,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
|
|
23
23
|
|
|
24
|
-
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function
|
|
24
|
+
`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function L5(){return ti(Mt.querySelectorAll("[data-tippy-root]"))}function Y5(i){re.clearDelayTimeouts(),i&&i5("onTrigger",[re,i]),f5();var r=r5(!0),o=e5(),d=o[0],c=o[1];B5.isTouch&&d==="hold"&&c&&(r=c),r?t=setTimeout(function(){re.show()},r):re.show()}function N5(i){if(re.clearDelayTimeouts(),i5("onUntrigger",[re,i]),!re.state.isVisible){w5();return}if(!(re.props.trigger.indexOf("mouseenter")>=0&&re.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(i.type)>=0&&Ce)){var r=r5(!1);r?F=setTimeout(function(){re.state.isVisible&&re.hide()},r):ie=requestAnimationFrame(function(){re.hide()})}}function H5(){re.state.isEnabled=!0}function rn(){re.hide(),re.state.isEnabled=!1}function on(){clearTimeout(t),clearTimeout(F),cancelAnimationFrame(ie)}function ln(i){if(process.env.NODE_ENV!=="production"&&q5(re.state.isDestroyed,mn("setProps")),!re.state.isDestroyed){i5("onBeforeUpdate",[re,i]),U5();var r=re.props,o=Ba(n,Object.assign({},r,Ra(i),{ignoreAttributes:!0}));re.props=o,j5(),r.interactiveDebounce!==o.interactiveDebounce&&(k5(),qt=La(tn,o.interactiveDebounce)),r.triggerTarget&&!o.triggerTarget?vn(r.triggerTarget).forEach(function(d){d.removeAttribute("aria-expanded")}):o.triggerTarget&&n.removeAttribute("aria-expanded"),p5(),o5(),Wt&&Wt(r,o),re.popperInstance&&(an(),L5().forEach(function(d){requestAnimationFrame(d._tippy.popperInstance.forceUpdate)})),i5("onAfterUpdate",[re,i])}}function w(i){re.setProps({content:i})}function p(){process.env.NODE_ENV!=="production"&&q5(re.state.isDestroyed,mn("show"));var i=re.state.isVisible,r=re.state.isDestroyed,o=!re.state.isEnabled,d=B5.isTouch&&!re.props.touch,c=yi(re.props.duration,0,y5.duration);if(!(i||r||o||d)&&!t5().hasAttribute("disabled")&&(i5("onShow",[re],!1),re.props.onShow(re)!==!1)){if(re.state.isVisible=!0,Xt()&&(Mt.style.visibility="visible"),o5(),f5(),re.state.isMounted||(Mt.style.transition="none"),Xt()){var u=u5(),h=u.box,_=u.content;Ci([h,_],0)}jt=function(){var m;if(!(!re.state.isVisible||mt)){if(mt=!0,Mt.offsetHeight,Mt.style.transition=re.props.moveTransition,Xt()&&re.props.animation){var g=u5(),v=g.box,C=g.content;Ci([v,C],c),$a([v,C],"visible")}I5(),p5(),Da(Ei,re),(m=re.popperInstance)==null||m.forceUpdate(),i5("onMount",[re]),re.props.animation&&Xt()&&g5(c,function(){re.state.isShown=!0,i5("onShown",[re])})}},b5()}}function V(){process.env.NODE_ENV!=="production"&&q5(re.state.isDestroyed,mn("hide"));var i=!re.state.isVisible,r=re.state.isDestroyed,o=!re.state.isEnabled,d=yi(re.props.duration,1,y5.duration);if(!(i||r||o)&&(i5("onHide",[re],!1),re.props.onHide(re)!==!1)){if(re.state.isVisible=!1,re.state.isShown=!1,mt=!1,Ce=!1,Xt()&&(Mt.style.visibility="hidden"),k5(),w5(),o5(!0),Xt()){var c=u5(),u=c.box,h=c.content;re.props.animation&&(Ci([u,h],d),$a([u,h],"hidden"))}I5(),p5(),re.props.animation?Xt()&&F5(d,re.unmount):re.unmount()}}function f(i){process.env.NODE_ENV!=="production"&&q5(re.state.isDestroyed,mn("hideWithInteractivity")),c5().addEventListener("mousemove",qt),Da(Gn,qt),qt(i)}function l(){process.env.NODE_ENV!=="production"&&q5(re.state.isDestroyed,mn("unmount")),re.state.isVisible&&re.hide(),re.state.isMounted&&(sn(),L5().forEach(function(i){i._tippy.unmount()}),Mt.parentNode&&Mt.parentNode.removeChild(Mt),Ei=Ei.filter(function(i){return i!==re}),re.state.isMounted=!1,i5("onHidden",[re]))}function a(){process.env.NODE_ENV!=="production"&&q5(re.state.isDestroyed,mn("destroy")),!re.state.isDestroyed&&(re.clearDelayTimeouts(),re.unmount(),U5(),delete n._tippy,re.state.isDestroyed=!0,i5("onDestroy",[re]))}}function zn(n,e){e===void 0&&(e={});var s=y5.plugins.concat(e.plugins||[]);process.env.NODE_ENV!=="production"&&(x6(n),qs(e,s)),C6();var t=Object.assign({},e,{plugins:s}),F=v6(n);if(process.env.NODE_ENV!=="production"){var ie=kn(t.content),Ce=F.length>1;q5(ie&&Ce,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
|
|
25
25
|
|
|
26
26
|
`,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
|
|
27
27
|
|
|
28
28
|
`,`1) content: element.innerHTML
|
|
29
|
-
`,"2) content: () => element.cloneNode(true)"].join(" "))}var c=a.reduce(function(s,u){var d=u&&Md(u,i);return d&&s.push(d),s},[]);return pt(t)?c[0]:c}yt.defaultProps=Y;yt.setDefaultProps=kd;yt.currentInput=ce;Object.assign({},ms,{effect:function(e){var n=e.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow)}});var Fd={name:"sticky",defaultValue:!1,fn:function(e){var n=e.reference,i=e.popper;function a(){return e.popperInstance?e.popperInstance.state.elements.reference:n}function o(u){return e.props.sticky===!0||e.props.sticky===u}var p=null,c=null;function s(){var u=o("reference")?a().getBoundingClientRect():null,d=o("popper")?i.getBoundingClientRect():null;(u&&Mi(p,u)||d&&Mi(c,d))&&e.popperInstance&&e.popperInstance.update(),p=u,c=d,e.state.isMounted&&requestAnimationFrame(s)}return{onMount:function(){e.props.sticky&&s()}}}};function Mi(t,e){return t&&e?t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left:!0}yt.setDefaultProps({render:Rs});const Vd=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),jd=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],ks=[!0,!1,"reference","popper"],Ps=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,yt(t,{...e,plugins:[Fd],render:()=>Hd(n)})},Ns=({boundary:t="clippingParents",fallbackPlacements:e=[],onChangePlacement:n=()=>{},hasHideModifierEnabled:i=!1,tether:a=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:e,boundary:t}},{name:"hide",enabled:i},{name:"preventOverflow",options:{altAxis:!a,tether:a}},Vd(({state:o})=>{n(o.placement)})]}),zd=t=>{const e=document.createElement("span");return e.innerText=t.innerText||"",t.innerText="",t.appendChild(e),e},Fi=t=>{const e=t==null?void 0:t.children[0];return e||zd(t)},Hd=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},Tn={none:void 0,small:"d-p4",medium:"d-p8",large:"d-p16"},Bs={none:void 0,small:"d-pl4",medium:"d-pl8",large:"d-pl16"},Ms=["dialog","menu","listbox","tree","grid"],Xn=["","anchor"],Fs=["none","dialog","first"],Zt=["parent","body"],qd=[...ks];let Gd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Kd=(t=21)=>{let e="",n=t;for(;n--;)e+=Gd[Math.random()*64|0];return e};function jt(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jt=function(e){return typeof e}:jt=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jt(t)}var Vs={selector:"vue-portal-target-".concat(Kd())},Ud=function(e){return Vs.selector=e},_n=typeof window<"u"&&(typeof document>"u"?"undefined":jt(document))!==void 0,Wd=X.extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(e){return{updatedNodes:e.nodes}},render:function(e){var n=this.updatedNodes&&this.updatedNodes();return n?n.length===1&&!n[0].text?n:e(this.tag||"DIV",n):e()},destroyed:function(){var e=this.$el;e&&e.parentNode.removeChild(e)}}),Qn=X.extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(Vs.selector)}},tag:{type:String,default:"DIV"}},render:function(e){if(this.disabled){var n=this.$scopedSlots&&this.$scopedSlots.default();return n?n.length<2&&!n[0].text?n:e(this.tag,n):e()}return e()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var e=this;this.$nextTick(function(){!e.disabled&&e.slotFn!==e.$scopedSlots.default&&(e.container.updatedNodes=e.$scopedSlots.default),e.slotFn=e.$scopedSlots.default})},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(e){e?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(_n)return document.querySelector(this.selector)},insertTargetEl:function(){if(_n){var e=document.querySelector("body"),n=document.createElement(this.tag);n.id=this.selector.substring(1),e.appendChild(n)}},mount:function(){if(_n){var e=this.getTargetEl(),n=document.createElement("DIV");this.prepend&&e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n),this.container=new Wd({el:n,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function Yd(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.component(e.name||"portal",Qn),e.defaultSelector&&Ud(e.defaultSelector)}typeof window<"u"&&window.Vue&&window.Vue===X&&X.use(Yd);const Zd={name:"PopoverHeaderFooter",components:{DtButton:q,DtIcon:M},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 e;const t=(e=this.$refs["popover__close-button"])==null?void 0:e.$el;t==null||t.focus()}}};var Xd=function(){var e=this,n=e._self._c;return n("div",{class:{"d-popover__header":e.type==="header","d-popover__footer":e.type==="footer"},attrs:{"data-qa":"dt-popover-header-footer"}},[e.$slots.content?n("div",{class:["d-to-ellipsis","d-w100p",e.contentClass],attrs:{"data-qa":"dt-popover-header-footer-content"}},[e._t("content")],2):e._e(),e.showCloseButton?n("dt-button",e._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(i){return e.$emit("close")}},scopedSlots:e._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"300"}})]},proxy:!0}],null,!1,2538694920)},"dt-button",e.closeButtonProps,!1)):e._e()],1)},Qd=[],Jd=_.normalizeComponent(Zd,Xd,Qd,!1,null,null,null,null);const ec=Jd.exports;const tc={name:"DtPopover",components:{SrOnlyCloseButton:Ut,DtLazyShow:Qe,PopoverHeaderFooter:ec,Portal:Qn},mixins:[_t,ge],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=>Ms.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(Tn).some(e=>e===t)},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:"",validator:t=>Xn.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return V()}},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=>qd.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=>Fs.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1},appendTo:{type:[HTMLElement,String],default:"body",validator:t=>Zt.includes(t)||t instanceof HTMLElement}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:Tn,POPOVER_HEADER_FOOTER_PADDING_CLASSES:Bs,intersectionObserver:null,isOutsideViewport:!1,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()}}},calculatedMaxHeight(){return this.isOutsideViewport&&this.modal?"calc(100vh - var(--space-300))":this.maxHeight},labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&V("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(t){var e;(e=this.tip)==null||e.setProps({zIndex:t?650:this.calculateAnchorZindex()})},offset(t){var e;(e=this.tip)==null||e.setProps({offset:t})},sticky(t){var e;(e=this.tip)==null||e.setProps({sticky:t})},fallbackPlacements(){var t;(t=this.tip)==null||t.setProps({popperOptions:this.popperOptions()})},tether(){var t;(t=this.tip)==null||t.setProps({popperOptions:this.popperOptions()})},placement(t){var e;(e=this.tip)==null||e.setProps({placement:t})},open:{handler:function(t){t!==null&&(this.isOpen=t)},immediate:!0},isOpen(t,e){t?(this.initTippyInstance(),this.tip.show()):!t&&e!==t&&(this.removeEventListeners(),this.tip.hide())}},mounted(){const t=this.externalAnchor?this.$refs.anchor.getRootNode().querySelector(`#${this.externalAnchor}`):null;this.anchorEl=t??this.$refs.anchor.children[0],this.popoverContentEl=this.$refs.content.$el,this.isOpen&&(this.initTippyInstance(),this.tip.show()),this.intersectionObserver=new IntersectionObserver(this.hasIntersectedViewport),this.intersectionObserver.observe(this.popoverContentEl)},beforeDestroy(){var t;(t=this.tip)==null||t.destroy(),this.intersectionObserver.disconnect(),this.removeReferences(),this.removeEventListeners()},methods:{hasIntersectedViewport(t){var i;const e=(i=t==null?void 0:t[0])==null?void 0:i.target;if(!e)return;const n=Zi(e);this.isOutsideViewport=n.bottom||n.top},popperOptions(){return Ns({fallbackPlacements:this.fallbackPlacements,tether:this.tether,hasHideModifierEnabled:!0})},validateProps(){this.modal&&this.initialFocusElement==="none"&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){var t;return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||(t=this.anchorEl)!=null&&t.closest(".d-zi-drawer")?650:300},defaultToggleOpen(t){var e,n;this.openOnContext||(this.open??((e=this.anchorEl)!=null&&e.contains(t.target)&&!((n=this.anchorEl)!=null&&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){var e;this.open===null&&this.openWithArrowKeys&&(e=this.anchorEl)!=null&&e.contains(t.target)&&(this.isOpen||(this.isOpen=!0))},addEventListeners(){window.addEventListener("dt-popover-close",this.closePopover),this.contentWidth==="anchor"&&window.addEventListener("resize",this.onResize)},removeEventListeners(){window.removeEventListener("dt-popover-close",this.closePopover),this.contentWidth==="anchor"&&window.removeEventListener("resize",this.onResize)},closePopover(){this.isOpen=!1},preventScrolling(){var t;if(this.modal){const e=(t=this.anchorEl)==null?void 0:t.closest("body, .tippy-box");e.tagName.toLowerCase()==="body"?(e.classList.add("d-of-hidden"),this.tip.setProps({offset:this.offset})):e.classList.add("d-zi-popover")}},enableScrolling(){var e,n;const t=(e=this.anchorEl)==null?void 0:e.closest("body, .tippy-box");t&&(((n=t.tagName)==null?void 0:n.toLowerCase())==="body"?(t.classList.remove("d-of-hidden"),this.tip.setProps({offset:this.offset})):t.classList.remove("d-zi-popover"))},removeReferences(){this.anchorEl=null,this.popoverContentEl=null,this.tip=null},async onShow(){this.contentWidth==="anchor"&&await this.setPopoverContentAnchorWidth(),this.contentWidth===null&&(this.popoverContentEl.style.width="auto"),this.addEventListeners()},async onLeaveTransitionComplete(){var t;this.modal&&(await this.focusFirstElement(this.$refs.anchor),await this.$nextTick(),this.enableScrolling()),(t=this.tip)==null||t.unmount(),this.$emit("opened",!1),this.open!==null&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),await this.$nextTick(),this.preventScrolling(),this.$emit("opened",!0,this.$refs.popover__content),this.open!==null&&this.$emit("update:open",!0)},focusInitialElement(){this.initialFocusElement==="dialog"&&this.$refs.content.$el.focus(),this.initialFocusElement.startsWith("#")&&this.focusInitialElementById(),this.initialFocusElement==="first"&&this.focusFirstElementIfNeeded(this.$refs.popover__content),this.initialFocusElement instanceof HTMLElement&&this.initialFocusElement.focus()},focusInitialElementById(){var e,n,i;const t=(n=(e=this.$refs.content)==null?void 0:e.$el)==null?void 0:n.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():(i=this.$refs.content)==null||i.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;this.popoverContentEl.querySelector(".d-popover__anchor--opened")||this.closePopover()},onKeydown(t){t.key==="Tab"&&this.modal&&this.focusTrappedTabPress(t,this.popoverContentEl),t.key==="Escape"&&this.closePopover()},async setPopoverContentAnchorWidth(){var t;await this.$nextTick(),this.popoverContentEl.style.width=`${(t=this.anchorEl)==null?void 0:t.clientWidth}px`},focusFirstElementIfNeeded(t){var n,i;this._getFocusableElements(t,!0).length!==0?this.focusFirstElement(t):this.showCloseButton?(n=this.$refs.popover__header)==null||n.focusCloseButton():(i=this.$refs.content)==null||i.$el.focus()},initTippyInstance(){var t,e;this.tip=Ps(this.anchorEl,{popperOptions:this.popperOptions(),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,sticky:this.sticky,appendTo:this.appendTo==="body"?(e=(t=this.anchorEl)==null?void 0:t.getRootNode())==null?void 0:e.querySelector("body"):this.appendTo,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow})}}};var nc=function(){var e=this,n=e._self._c;return n("div",[e.modal&&e.isOpen?n("portal",[n("div",{staticClass:"d-modal--transparent",attrs:{"aria-hidden":e.modal&&e.isOpen?"false":"true"},on:{click:function(i){i.preventDefault(),i.stopPropagation()}}})]):e._e(),n(e.elementType,e._g({ref:"popover",tag:"component",class:["d-popover",{"d-popover__anchor--opened":e.isOpen}],attrs:{"data-qa":"dt-popover-container"}},e.$listeners),[n("div",{ref:"anchor",attrs:{id:!e.ariaLabelledby&&e.labelledBy,"data-qa":"dt-popover-anchor",tabindex:e.openOnContext?0:void 0},on:{"!click":function(i){return e.defaultToggleOpen.apply(null,arguments)},contextmenu:e.onContext,keydown:[function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"up",38,i.key,["Up","ArrowUp"])?null:(i.preventDefault(),e.onArrowKeyPress.apply(null,arguments))},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"down",40,i.key,["Down","ArrowDown"])?null:(i.preventDefault(),e.onArrowKeyPress.apply(null,arguments))}],"!keydown":function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"escape",void 0,i.key,void 0)?null:e.closePopover.apply(null,arguments)}}},[e._t("anchor",null,{attrs:{"aria-expanded":e.isOpen.toString(),"aria-controls":e.id,"aria-haspopup":e.role}})],2),n("dt-lazy-show",e._g({ref:"content",class:["d-popover__dialog",{"d-popover__dialog--modal":e.modal},e.dialogClass],style:{"max-height":e.calculatedMaxHeight,"max-width":e.maxWidth},attrs:{id:e.id,role:e.role,"data-qa":"dt-popover","aria-hidden":`${!e.isOpen}`,"aria-labelledby":e.labelledBy,"aria-label":e.ariaLabel,"aria-modal":`${!e.modal}`,transition:e.transition,show:e.isOpen,tabindex:e.contentTabindex,appear:""}},e.popoverListeners),[e.$slots.headerContent||e.showCloseButton?n("popover-header-footer",{ref:"popover__header",class:e.POPOVER_HEADER_FOOTER_PADDING_CLASSES[e.padding],attrs:{"content-class":e.headerClass,type:"header","show-close-button":e.showCloseButton,"close-button-props":e.closeButtonProps},on:{close:e.closePopover},scopedSlots:e._u([{key:"content",fn:function(){return[e._t("headerContent",null,{close:e.closePopover})]},proxy:!0}],null,!0)}):e._e(),n("div",{ref:"popover__content",class:["d-popover__content",e.POPOVER_PADDING_CLASSES[e.padding],e.contentClass],attrs:{"data-qa":"dt-popover-content"}},[e._t("content",null,{close:e.closePopover})],2),e.$slots.footerContent?n("popover-header-footer",{ref:"popover__footer",class:e.POPOVER_HEADER_FOOTER_PADDING_CLASSES[e.padding],attrs:{type:"footer","content-class":e.footerClass},scopedSlots:e._u([{key:"content",fn:function(){return[e._t("footerContent",null,{close:e.closePopover})]},proxy:!0}],null,!0)}):e._e(),e.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel},on:{close:e.closePopover}}):e._e()],1)],1)],1)},ic=[],sc=_.normalizeComponent(tc,nc,ic,!1,null,null,null,null);const Xt=sc.exports,lt={none:void 0,small:"d-py0",large:"d-py4"};const ac={name:"DtDropdown",components:{DtPopover:Xt,SrOnlyCloseButton:Ut},mixins:[Hn({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),ge],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},padding:{type:String,default:"small",validator:t=>Object.keys(lt).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 V()}},navigationType:{type:String,default:$e.ARROW_KEYS,validator:t=>Object.values($e).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:""},appendTo:{type:[HTMLElement,String],default:"body",validator:t=>Zt.includes(t)||t instanceof HTMLElement},tether:{type:Boolean,default:!0},transition:{type:String,default:"fade"}},emits:["highlight","opened","update:open"],data(){return{LIST_ITEM_NAVIGATION_TYPES:$e,DROPDOWN_PADDING_CLASSES:lt,EVENT_KEYNAMES:H,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:t=>{this.updateInitialHighlightIndex(t)},keydown:t=>{switch(t.code){case H.up:case H.arrowup:this.onUpKeyPress(t),t.stopPropagation(),t.preventDefault();break;case H.down:case H.arrowdown:this.onDownKeyPress(t),t.stopPropagation(),t.preventDefault();break;case H.space:case H.spacebar:this.onSpaceKey();break;case H.enter:this.onEnterKey();break;case H.home:this.onHomeKeyPress(t),t.stopPropagation(),t.preventDefault();break;case H.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",lt[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){this.openedWithKeyboard=!0;return}if(this.isArrowKeyNav)return this.onUpKey()},onDownKeyPress(){if(!this.isOpen){this.openedWithKeyboard=!0;return}if(this.isArrowKeyNav)return this.onDownKey()},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)}}};var rc=function(){var e=this,n=e._self._c;return n("dt-popover",e._g({ref:"popover",attrs:{"content-width":e.contentWidth,open:e.open,placement:e.placement,"initial-focus-element":e.openedWithKeyboard?"first":"dialog","fallback-placements":e.fallbackPlacements,padding:"none",role:"menu","append-to":e.appendTo,modal:e.modal,"max-height":e.maxHeight,"max-width":e.maxWidth,"open-with-arrow-keys":e.shouldOpenWithArrowKeys,"open-on-context":e.openOnContext,tether:e.tether,transition:e.transition},scopedSlots:e._u([{key:"anchor",fn:function({attrs:i}){return[e._t("anchor",null,null,i)]}},{key:"content",fn:function({close:i}){return[n("ul",{ref:"listWrapper",class:e.listClasses,attrs:{id:e.listId,"data-qa":"dt-dropdown-list-wrapper"},on:{mouseleave:e.clearHighlightIndex,"!mousemove":function(a){return e.onMouseHighlight.apply(null,arguments)}}},[e._t("list",null,{close:i}),e.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel,tabindex:e.isArrowKeyNav?-1:0},on:{close:i}}):e._e()],2)]}}],null,!0)},e.dropdownListeners))},oc=[],lc=_.normalizeComponent(ac,rc,oc,!1,null,null,null,null);const js=lc.exports;const dc={name:"DtDropdownSeparator"};var cc=function(){var e=this,n=e._self._c;return n("li",{staticClass:"dt-list-separator d-my4 d-mxn4",attrs:{"aria-hidden":"true"}})},uc=[],pc=_.normalizeComponent(dc,cc,uc,!1,null,null,null,null);const fc=pc.exports,hc={name:"DtImageViewer",components:{Portal:Qn,DtButton:q,DtIcon:M},mixins:[_t],props:{open:{type:Boolean,default:null},imageSrc:{type:String,required:!0},imageAlt:{type:String,required:!0},imageButtonClass:{type:String,required:!1,default:""},ariaLabel:{type:String,required:!0},closeAriaLabel:{type:String,required:!0}},emits:["opened","update:open"],data(){return{showCloseButton:!0,isOpen:!1}},computed:{modalListeners(){return{...this.$listeners,click:t=>{t.target===t.currentTarget&&this.close()},keydown:t=>{switch(t.code){case H.esc:case H.escape:this.close();break;case H.tab:this.trapFocus(t);break}}}}},watch:{isOpen:{immediate:!0,handler(t){var e;t?this.previousActiveElement=document.activeElement:((e=this.previousActiveElement)==null||e.focus(),this.previousActiveElement=null)}},open:{handler:function(t){t!==null&&(this.isOpen=t)},immediate:!0}},methods:{openModal(){this.open===null&&(this.isOpen=!0,this.showCloseButton=!0,this.$emit("opened",!0),setTimeout(()=>{this.focusAfterOpen()}))},close(){this.isOpen=!1,this.$emit("opened",!1),this.open!==null&&this.$emit("update:open",!1)},focusAfterOpen(){var t;(t=this.$refs.closeImage)==null||t.$el.focus()},trapFocus(t){this.isOpen&&this.focusTrappedTabPress(t)}}};var mc=function(){var e=this,n=e._self._c;return n("div",[n("dt-button",{staticClass:"d-p0 d-c-zoom-in",attrs:{"data-qa":"dt-image-viewer-preview","aria-label":e.ariaLabel,importance:"clear"},on:{click:e.openModal}},[n("img",{class:e.imageButtonClass,attrs:{src:e.imageSrc,alt:e.imageAlt}})]),e.isOpen?n("portal",[n("div",e._g({staticClass:"d-modal",attrs:{"aria-hidden":e.isOpen?"false":"true","data-qa":"dt-modal"},on:{mouseover:function(i){e.showCloseButton=!0},mouseleave:function(i){e.showCloseButton=!1},focusin:function(i){e.showCloseButton=!0},focusout:function(i){e.showCloseButton=!1}}},e.modalListeners),[n("div",{staticClass:"d-p0 d-bar0 d-wmx80p d-hmx80p",attrs:{"data-qa":"dt-image-viewer-full",role:"dialog","aria-modal":"true"}},[n("img",{staticClass:"d-wmx100p d-hmx100p",attrs:{src:e.imageSrc,alt:e.imageAlt}})]),n("transition",{attrs:{name:"fade"}},[e.showCloseButton?n("dt-button",{ref:"closeImage",staticClass:"d-modal__close",attrs:{"data-qa":"dt-image-viewer-close-btn",circle:"",size:"lg",importance:"clear",kind:"inverted","aria-label":e.closeAriaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)}):e._e()],1)],1)]):e._e()],1)},_c=[],gc=_.normalizeComponent(hc,mc,_c,!1,null,null,null,null);const vc=gc.exports,zt={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number",DATE:"date",TIME:"time"},qe={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};function St(t){return t?t.every(e=>typeof e=="string"?!0:typeof e=="object"?Object.values(ee).includes(e==null?void 0:e.type):!1):!0}const bc={name:"DtValidationMessages",props:{id:{type:String,default(){return V()}},validationMessages:{type:Array,default:()=>[],validator:t=>St(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return this.filteredValidationMessages.length===0},filteredValidationMessages(){return Fn(this.validationMessages)},validationState(){return Ce(this.validationMessages)}},methods:{getMessageKey(t,e){return`validation-message-${t}-${e}-${this.id}`},messageTypeClass(t){return{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"}[t]}}};var yc=function(){var e=this,n=e._self._c;return e.showMessages&&!e.isFilteredValidationMessagesEmpty?n("div",{staticClass:"base-input__messages d-d-flex d-fd-column",attrs:{"data-qa":"validation-messages-container"}},e._l(e.filteredValidationMessages,function({message:i,type:a},o){return n("div",{key:e.getMessageKey(a,o),class:["base-input__message","d-validation-message",e.messageTypeClass(a)],attrs:{role:"status","aria-live":"polite","data-qa":"validation-message"}},[n("p",{domProps:{innerHTML:e._s(i)}})])}),0):e._e()},Sc=[],Cc=_.normalizeComponent(bc,yc,Sc,!1,null,null,null,null);const we=Cc.exports,Jn={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(ee).includes(t):!0},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&&X.util.warn("You must provide an aria-label when there is no label passed",this)}}},ei={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}}},ti={inject:{groupContext:{default:{}},setGroupValue:{default:()=>()=>{}}},data(){return{internalValue:this.value}},computed:{hasGroup(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName(){var t;return((t=this.groupContext)==null?void 0:t.name)??""},groupValue(){var t;return(t=this.groupContext)==null?void 0:t.value},groupDisabled(){var t;return((t=this.groupContext)==null?void 0:t.disabled)??!1},groupValidationState(){var t;return((t=this.groupContext)==null?void 0:t.validationState)??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 n;const t=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),e=(n=this.groupContext)==null?void 0:n.name;this.name&&t&&e!==this.name&&X.util.warn(`Component is being used inside a Group. Did you mean to override the name prop value (${e}) with (${this.name})? It is recommended to only set name at the Group level.`,this)}},Qt={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>St(t)}},computed:{formattedMessages(){return dt(this.messages)}}},xc={name:"DtInput",components:{DtValidationMessages:we},mixins:[Qt],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:zt.TEXT,validator:t=>Object.values(zt).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(qe).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(qe).includes(t)},inputClass:{type:[String,Object,Array],default:""},inputWrapperClass:{type:[String,Object,Array],default:""},currentLength:{type:Number,default:null},retainWarning:{type:Boolean,default:!1},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===zt.TEXTAREA},isDefaultSize(){return this.size===qe.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===qe.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(qe).includes(this.size)},isValidDescriptionSize(){return Object.values(Gi).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-${V()}`},inputState(){return Ce(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.value)},validationProps(){var t,e,n,i,a,o,p,c,s,u;return{length:{description:(e=(t=this==null?void 0:this.validate)==null?void 0:t.length)==null?void 0:e.description,max:(i=(n=this==null?void 0:this.validate)==null?void 0:n.length)==null?void 0:i.max,warn:(o=(a=this==null?void 0:this.validate)==null?void 0:a.length)==null?void 0:o.warn,message:(c=(p=this==null?void 0:this.validate)==null?void 0:p.length)==null?void 0:c.message,limitMaxLength:(u=(s=this==null?void 0:this.validate)==null?void 0:s.length)!=null&&u.limitMaxLength?this.validate.length.limitMaxLength:!1}}},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?ee.WARNING:null:ee.ERROR},shouldValidateLength(){return!!(this.validationProps.length.description&&this.validationProps.length.max)},shouldLimitMaxLength(){return this.shouldValidateLength&&this.validationProps.length.limitMaxLength},showLengthLimitValidation(){return this.shouldValidateLength&&this.inputLengthState!==null&&this.validationProps.length.message&&(this.retainWarning||this.isInputFocused||this.isInvalid)},sizeModifierClass(){return this.isDefaultSize||!this.isValidSize?"":{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"}}[this.inputComponent][this.size]},stateClass(){return[{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"}}[this.inputComponent][this.inputState]]}},watch:{isInvalid(t){this.$emit("update:invalid",t)},value:{immediate:!0,handler(t){this.shouldValidateLength&&this.validateLength(this.inputLength),this.currentLength==null&&this.$emit("update:length",this.calculateLength(t))}}},methods:{inputClasses(){return["base-input__input",this.inputComponent==="input"?"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 typeof t!="string"?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"};return[{left:"base-input__icon--left d-input-icon--left",right:"base-input__icon--right d-input-icon--right"}[t],"d-input-icon",{[e[this.iconSizeComputed]]:!this.isDefaultIconSize},this.sizeModifierClass]},onBlur(t){var e;(e=this.$refs.container)!=null&&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}}};var wc=function(){var e=this,n=e._self._c;return n("div",{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[n("label",{staticClass:"base-input__label",attrs:{"aria-details":e.$slots.description||e.description?e.descriptionKey:void 0,"data-qa":"dt-input-label-wrapper"}},[e._t("labelSlot",function(){return[e.labelVisible&&e.label?n("div",{ref:"label",class:["base-input__label-text","d-label",e.labelSizeClasses[e.size]],attrs:{"data-qa":"dt-input-label"}},[e._v(" "+e._s(e.label)+" ")]):e._e()]}),e.$slots.description||e.description||e.shouldValidateLength?n("div",{ref:"description",class:["base-input__description","d-description","d-fd-column",e.descriptionSizeClasses[e.size]],attrs:{id:e.descriptionKey,"data-qa":"dt-input-description"}},[e.$slots.description||e.description?n("div",[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),e.shouldValidateLength?n("div",{class:["d-mb2"],attrs:{"data-qa":"dt-input-length-description"}},[e._v(" "+e._s(e.validationProps.length.description)+" ")]):e._e()]):e._e(),n("div",{class:e.inputWrapperClasses(),attrs:{"read-only":e.disabled}},[e.$slots.leftIcon?n("span",{class:e.inputIconClasses("left"),attrs:{"data-qa":"dt-input-left-icon-wrapper"},on:{focusout:e.onBlur}},[e._t("leftIcon")],2):e._e(),e.isTextarea?n("textarea",e._g(e._b({ref:"input",class:e.inputClasses(),attrs:{name:e.name,disabled:e.disabled,maxlength:e.shouldLimitMaxLength?e.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:e.value}},"textarea",e.$attrs,!1),e.inputListeners)):n("input",e._g(e._b({ref:"input",class:e.inputClasses(),attrs:{name:e.name,type:e.type,disabled:e.disabled,maxlength:e.shouldLimitMaxLength?e.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:e.value}},"input",e.$attrs,!1),e.inputListeners)),e.$slots.rightIcon?n("span",{class:e.inputIconClasses("right"),attrs:{"data-qa":"dt-input-right-icon-wrapper"},on:{focusout:e.onBlur}},[e._t("rightIcon")],2):e._e()])],2),n("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.validationMessages,"show-messages":e.showMessages,"data-qa":"dt-input-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)},Ec=[],Ic=_.normalizeComponent(xc,wc,Ec,!1,null,null,null,null);const zs=Ic.exports,Hs={components:{DtValidationMessages:we},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return V()}},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=>St(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=dt(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:Ce(t)}}},computed:{formattedMessages(){return dt(this.messages)},validationState(){return Ce(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"]&&X.util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},Oc={name:"DtInputGroup",components:{DtValidationMessages:we},mixins:[Hs],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}`}}};var Tc=function(){var e=this,n=e._self._c;return n("fieldset",{attrs:{"data-qa":e.dataQaGroup}},[e.$slots.legend||e.legend?n("legend",e._b({class:["d-label",e.legendClass],attrs:{"data-qa":e.dataQaGroupLegend}},"legend",e.legendChildProps,!1),[e._t("legend",function(){return[e._v(" "+e._s(e.legend)+" ")]})],2):e._e(),e._t("default"),n("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":e.dataQaGroupMessages}},"dt-validation-messages",e.messagesChildProps,!1))],2)},Lc=[],Ac=_.normalizeComponent(Oc,Tc,Lc,!1,null,null,null,null);const ni=Ac.exports,Ln={default:"",danger:"d-modal--danger"},An={default:"",full:"d-modal--full"},Vi={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"},$c={name:"DtNotice",components:{DtNoticeIcon:Vn,DtNoticeContent:jn,DtNoticeAction:zn},mixins:[ge],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 fr.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return Xe.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeClass(){return["d-notice",{error:"d-notice--error",info:"d-notice--info",success:"d-notice--success",warning:"d-notice--warning",base:"d-notice--base"}[this.kind],{"d-notice--important":this.important}]}}};var Dc=function(){var e=this,n=e._self._c;return n("aside",{class:e.noticeClass,attrs:{"data-qa":"notice"}},[n("dt-notice-icon",{attrs:{kind:e.kind}},[e._t("icon")],2),n("dt-notice-content",e._g({attrs:{"title-id":e.titleId,"content-id":e.contentId,title:e.title,role:e.role},scopedSlots:e._u([{key:"titleOverride",fn:function(){return[e._t("titleOverride")]},proxy:!0}],null,!0)},e.$listeners),[e._t("default")],2),n("dt-notice-action",e._g({attrs:{"hide-close":e.hideClose,"close-button-props":e.closeButtonProps,"visually-hidden-close":e.visuallyHiddenClose,"visually-hidden-close-label":e.visuallyHiddenCloseLabel}},e.$listeners),[e._t("action")],2)],1)},Rc=[],kc=_.normalizeComponent($c,Dc,Rc,!1,null,null,null,null);const Pc=kc.exports,Nc={name:"DtModal",components:{DtLazyShow:Qe,DtButton:q,DtIcon:M,SrOnlyCloseButton:Ut},mixins:[_t,ge],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return V()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(Ln).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(An).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 Xe.includes(t)}},bannerClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},fixedHeaderFooter:{type:Boolean,default:!0}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:Ln,MODAL_SIZE_MODIFIERS:An,MODAL_BANNER_KINDS:Vi,EVENT_KEYNAMES:H}},computed:{modalListeners(){return{...this.$listeners,click:t=>{this.closeOnClick&&(t.target===t.currentTarget&&this.close(),this.$emit("click",t))},keydown:t=>{switch(t.code){case H.esc:case H.escape:this.close();break;case H.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 Vi[this.bannerKind]}},watch:{show:{immediate:!0,handler(t){var e;t?this.previousActiveElement=document.activeElement:((e=this.previousActiveElement)==null||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
|
|
30
|
-
need to be set so the component always includes a close button`)}}};var Bc=function(){var e=this,n=e._self._c;return n("dt-lazy-show",e._g({class:["d-modal",e.MODAL_KIND_MODIFIERS[e.kind],e.MODAL_SIZE_MODIFIERS[e.size],e.modalClass],attrs:{transition:"d-zoom",show:e.show,"data-qa":"dt-modal","aria-hidden":e.open}},e.modalListeners),[e.show&&(e.$slots.banner||e.bannerTitle)?n("div",{class:["d-modal__banner",e.bannerClass,e.bannerKindClass],attrs:{"data-qa":"dt-modal-banner"}},[e._t("banner",function(){return[e._v(" "+e._s(e.bannerTitle)+" ")]})],2):e._e(),n("transition",{attrs:{appear:"",name:"d-modal__dialog"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],class:["d-modal__dialog",{"d-modal__dialog--scrollable":e.fixedHeaderFooter},e.dialogClass],attrs:{role:"dialog","aria-modal":"true","aria-describedby":e.describedById,"aria-labelledby":e.labelledById}},[e.$slots.header?n("div",{staticClass:"d-modal__header",attrs:{id:e.labelledById,"data-qa":"dt-modal-title"}},[e._t("header")],2):n("h2",{staticClass:"d-modal__header",attrs:{id:e.labelledById,"data-qa":"dt-modal-title"}},[e._v(" "+e._s(e.title)+" ")]),e.$slots.default?n("div",{class:["d-modal__content",e.contentClass],attrs:{"data-qa":"dt-modal-copy"}},[e._t("default")],2):n("p",{class:["d-modal__content",e.contentClass],attrs:{"data-qa":"dt-modal-copy"}},[e._v(" "+e._s(e.copy)+" ")]),e.hasFooterSlot?n("footer",{staticClass:"d-modal__footer"},[e._t("footer")],2):e._e(),e.hideClose?e._e():n("dt-button",e._b({staticClass:"d-modal__close",attrs:{circle:"",size:"lg",importance:"clear","aria-label":e.closeButtonProps.ariaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)},"dt-button",e.closeButtonProps,!1)),e.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel},on:{close:e.close}}):e._e()],1)])],1)},Mc=[],Fc=_.normalizeComponent(Nc,Bc,Mc,!1,null,null,null,null);const Vc=Fc.exports;const jc={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:q},props:{id:{type:String,default(){return ae.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!(this.maxDisplayed===0||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}}};var zc=function(){var e=this,n=e._self._c;return n("div",{class:["dt-list-section","d-fs-200","d-lh6","d-py6","d-bc-black-400",{"d-bb":e.separator}],attrs:{id:e.id,role:"group","aria-labelledby":`${e.id}-list-section-header`,tabindex:"-1"}},[e.header?n("h3",{staticClass:"d-pl12 d-mt6",attrs:{id:`${e.id}-list-section-header`}},[e._v(" "+e._s(e.header)+" ")]):e._e(),!e.isCollapsible||e.showAll?n("ol",{attrs:{id:`${e.id}-list-section-content`}},[e._t("default")],2):n("ol",{attrs:{id:`${e.id}-list-section-content`}},[n("vnodes",{attrs:{vnodes:e.displayedItems}})],1),n("div",{staticClass:"d-d-flex"},[e.isCollapsible?n("dt-button",{staticClass:"d-ml12 d-py6",attrs:{id:`${e.id}-list-section-show-more-less`,link:""},on:{click:e.showMoreLessClicked}},[e._v(" "+e._s(e.showMoreLessText)+" ")]):e._e(),e._t("footer")],2)])},Hc=[],qc=_.normalizeComponent(jc,zc,Hc,!1,null,null,null,null);const Gc=qc.exports,Kc={name:"DtListItemGroup",props:{id:{type:String,default(){return V()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}};var Uc=function(){var e=this,n=e._self._c;return n("ul",{class:["d-ps-relative","d-px0",e.listClass],attrs:{id:e.id,role:"group","data-qa":"dt-dropdown-list-wrapper","aria-labelledby":`${e.id}-heading`}},[e.heading?n("li",{class:["dt-dropdown-list--header",e.headingClass],attrs:{id:`${e.id}-heading`,role:"presentation","data-qa":"dt-dropdown-list-heading"}},[e._t("headingSlot",function(){return[e._v(" "+e._s(e.heading)+" ")]})],2):e._e(),e._t("default")],2)},Wc=[],Yc=_.normalizeComponent(Kc,Uc,Wc,!1,null,null,null,null);const Zc=Yc.exports,Xc={name:"DtPagination",components:{DtButton:q,DtIcon:M},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 this.currentPage===1},isLastPage(){return this.currentPage===this.totalPages},pages(){if(this.maxVisible===0)return[];if(this.totalPages<=this.maxVisible)return this.range(1,this.totalPages);const t=this.maxVisible-1,e=this.totalPages-t+1;if(this.currentPage<t)return[...this.range(1,t),"...",this.totalPages];if(this.currentPage>e)return[1,"...",...this.range(e,this.totalPages)];const n=this.maxVisible-(3-this.maxVisible%2),i=Math.floor(n/2),a=this.currentPage-i,o=this.currentPage+i;return[1,"...",...this.range(a,o),"...",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)}}};var Qc=function(){var e=this,n=e._self._c;return n("nav",{staticClass:"d-d-flex d-fd-row d-gg4 d-ai-center",attrs:{"aria-label":e.ariaLabel}},[n("dt-button",{staticClass:"d-px8",class:e.isFirstPage?"d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-prev","aria-label":e.prevAriaLabel,kind:"muted",importance:e.isFirstPage?"primary":"clear",disabled:e.isFirstPage},on:{click:function(i){return e.changePage(e.currentPage-1)}}},[n("template",{slot:"icon"},[n("dt-icon",{attrs:{name:"chevron-left",size:"300"}})],1)],2),e._l(e.pages,function(i,a){return n("div",{key:`page-${i}-${a}`,class:{"d-as-flex-end":isNaN(Number(i))}},[isNaN(Number(i))?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":e.pageNumberAriaLabel(i),kind:e.currentPage===i?"default":"muted",importance:e.currentPage===i?"primary":"clear","label-class":""},on:{click:function(o){return e.changePage(i)}}},[e._v(" "+e._s(i)+" ")])],1)}),n("dt-button",{staticClass:"d-px8",class:e.isLastPage?"d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-next","aria-label":e.nextAriaLabel,disabled:e.isLastPage,kind:"muted",importance:e.isLastPage?"primary":"clear"},on:{click:function(i){return e.changePage(e.currentPage+1)}}},[n("template",{slot:"icon"},[n("dt-icon",{attrs:{name:"chevron-right",size:"300"}})],1)],2)],2)},Jc=[],eu=_.normalizeComponent(Xc,Qc,Jc,!1,null,null,null,null);const tu=eu.exports,nu={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},iu={name:"DtRadio",components:{DtValidationMessages:we},mixins:[Jn,ei,ti,Qt],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return nu[this.internalValidationState]},radioGroupValue(){var t;return(t=this.groupContext)==null?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))}}};var su=function(){var e=this,n=e._self._c;return n("label",[n("div",{class:["d-radio-group",{"d-radio-group--disabled":e.internalDisabled}]},[n("div",{staticClass:"d-radio__input"},[n("input",e._g(e._b({class:["d-radio",e.inputValidationClass,e.inputClass],attrs:{name:e.internalName,disabled:e.internalDisabled,type:"radio"},domProps:{checked:e.internalChecked,value:e.value}},"input",e.$attrs,!1),e.inputListeners))]),n("div",{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[n("div",e._b({class:e.labelClass,attrs:{"data-qa":"radio-label"}},"div",e.labelChildProps,!1),[e._t("default",function(){return[e._v(e._s(e.label))]})],2),e.$slots.description||e.description?n("div",e._b({class:["d-description",e.descriptionClass],attrs:{"data-qa":"radio-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),n("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-radio-validation-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)])])},au=[],ru=_.normalizeComponent(iu,su,au,!1,null,null,null,null);const ou=ru.exports,lu={name:"DtRadioGroup",extends:ni,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}`}}},du=null,cu=null;var uu=_.normalizeComponent(lu,du,cu,!1,null,null,null,null);const pu=uu.exports,qs=["default","sm"],fu={sm:"d-tablist--sm"},Gs={inverted:"d-tablist--inverted"},Ks={borderless:"d-tablist--no-border"},Us={selected:"d-tab--selected"},hu={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 qs.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:fu,TAB_LIST_KIND_MODIFIERS:Gs,TAB_LIST_IMPORTANCE_MODIFIERS:Ks}},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(({$el:t})=>t).filter(({className:t})=>t.includes("d-tab")).map(t=>{var e,n;return{context:t,panelId:(e=t.getAttribute("aria-controls"))==null?void 0:e.replace("dt-panel-",""),id:(n=t.getAttribute("id"))==null?void 0:n.replace("dt-tab-",""),isSelected:t.getAttribute("aria-selected")==="true"}})},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel({selected:t,selectOverride:e}){this.provideObj.selected=t,e||this.onChange()},tabLeft(){const{index:t,tabs:e}=this.getIndexAndTabs();if(t===-1)return;const n=t-1<0?e.length-1:t-1;this.selectFocusOnTab(n,e)},tabRight(){const{index:t,tabs:e}=this.getIndexAndTabs();if(t===-1)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(e=>this.focusId?e.id===`${this.focusId}`:e.isSelected);return{tabs:this.tabs,index:t}},onHomeButton(){var t,e;this.tabs.length!==0&&((e=(t=this.tabs[0])==null?void 0:t.context)==null||e.focus())},onEndButton(){var t,e;this.tabs.length!==0&&((e=(t=this.tabs[this.tabs.length-1])==null?void 0:t.context)==null||e.focus())}}};var mu=function(){var e=this,n=e._self._c;return n("div",{attrs:{"data-qa":"dt-tab-group"}},[n("div",e._b({class:["d-tablist",e.TAB_LIST_SIZE_MODIFIERS[e.size],{[e.TAB_LIST_KIND_MODIFIERS.inverted]:e.inverted,[e.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]:e.borderless},e.tabListClass],attrs:{role:"tablist","aria-label":e.label},on:{keyup:[function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"left",37,i.key,["Left","ArrowLeft"])||"button"in i&&i.button!==0?null:e.tabLeft.apply(null,arguments)},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"right",39,i.key,["Right","ArrowRight"])||"button"in i&&i.button!==2?null:e.tabRight.apply(null,arguments)},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.selectTab.apply(null,arguments)},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"space",32,i.key,[" ","Spacebar"])?null:e.selectTab.apply(null,arguments)}],keydown:[function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"home",void 0,i.key,void 0)?null:e.onHomeButton.apply(null,arguments)},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"end",void 0,i.key,void 0)?null:e.onEndButton.apply(null,arguments)}]}},"div",e.tabListChildProps,!1),[e._t("tabs")],2),e._t("default")],2)},_u=[],gu=_.normalizeComponent(hu,mu,_u,!1,null,null,null,null);const vu=gu.exports,bu={name:"DtTab",components:{DtButton:q},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:Us}},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(t=!1){this.changeContentPanel({selected:this.panelId,selectOverride:t})}}};var yu=function(){var e=this,n=e._self._c;return n("dt-button",e._g(e._b({class:["d-tab",{[e.TAB_IMPORTANCE_MODIFIERS.selected]:e.isSelected},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)},Su=[],Cu=_.normalizeComponent(bu,yu,Su,!1,null,null,null,null);const xu=Cu.exports,wu={name:"DtTabPanel",mixins:[_t],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);t?this.isFirstElementFocusable=this.isFirstElementOfPanel(t):this.isFirstElementFocusable=!1},methods:{isFirstElementOfPanel(t){let e=t,n=!0;for(;e;){if(e.previousElementSibling!==null){n=!1;break}e=e.parentNode!==this.$el?e.parentNode:null}return n}}};var Eu=function(){var e=this,n=e._self._c;return n("div",{class:[{"d-d-none":e.hidePanel},e.tabPanelClass],attrs:{id:`dt-panel-${e.id}`,role:"tabpanel",tabindex:e.isFirstElementFocusable?-1:0,"aria-labelledby":`dt-tab-${e.tabId}`,"aria-hidden":`${e.hidePanel}`,"data-qa":"dt-tab-panel"}},[e._t("default")],2)},Iu=[],Ou=_.normalizeComponent(wu,Eu,Iu,!1,null,null,null,null);const Tu=Ou.exports,Lu={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},Au={name:"DtCheckbox",components:{DtValidationMessages:we},mixins:[Jn,ei,ti,Qt],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Lu[this.internalValidationState]},checkboxGroupValueChecked(){var t,e;return((e=(t=this.groupContext)==null?void 0:t.selectedValues)==null?void 0:e.includes(this.value))??!1},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"])}}};var $u=function(){var e=this,n=e._self._c;return n("label",[n("div",{class:["d-checkbox-group",{"d-checkbox-group--disabled":e.internalDisabled}]},[n("div",{staticClass:"d-checkbox__input"},[n("input",e._g(e._b({class:["d-checkbox",e.inputValidationClass,e.inputClass],attrs:{type:"checkbox",name:e.internalName,disabled:e.internalDisabled},domProps:{checked:e.internalChecked,value:e.value,indeterminate:e.internalIndeterminate}},"input",e.$attrs,!1),e.inputListeners))]),e.hasLabelOrDescription?n("div",{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[e.hasLabel?n("div",e._b({class:e.labelClass,attrs:{"data-qa":"checkbox-label"}},"div",e.labelChildProps,!1),[e._t("default",function(){return[e._v(e._s(e.label))]})],2):e._e(),e.hasDescription?n("div",e._b({class:["d-description",e.descriptionClass],attrs:{"data-qa":"checkbox-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),n("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-checkbox-validation-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1):e._e()])])},Du=[],Ru=_.normalizeComponent(Au,$u,Du,!1,null,null,null,null);const ku=Ru.exports,Pu={name:"DtCheckboxGroup",extends:ni,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>t?(X.util.warn("Component uses selectedValues to initialize the model, value is not supported by this component",globalThis),!1):!0},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(n=>n!==t),this.$emit("input",this.internalValue)},getMessageKey(t,e){return`checkbox-group-message-${t}-${e}-${this.id}`}}},Nu=null,Bu=null;var Mu=_.normalizeComponent(Pu,Nu,Bu,!1,null,null,null,null);const Fu=Mu.exports,$n={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Vu={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},ju={xs:"200",sm:"200",md:"200"},zu={name:"DtChip",components:{DtButton:q,DtIcon:M},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($n).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return V()}},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;((e=t.code)==null?void 0:e.toLowerCase())==="delete"?this.onClose():this.$emit("keyup",t)}}},closeButtonIconSize(){return ju[this.size]}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?"d-chip":"d-chip__label",$n[this.size],this.labelClass]},chipCloseButtonClasses(){return["d-chip__close",Vu[this.size]]},onClose(){this.hideClose||this.$emit("close")}}};var Hu=function(){var e=this,n=e._self._c;return n("span",{staticClass:"d-chip"},[n(e.interactive?"button":"span",e._g({tag:"component",class:e.chipClasses(),attrs:{id:e.id,type:e.interactive&&"button","data-qa":"dt-chip","aria-labelledby":e.ariaLabel?void 0:`${e.id}-content`,"aria-label":e.ariaLabel}},e.chipListeners),[e.$slots.icon?n("span",{staticClass:"d-chip__icon",attrs:{"data-qa":"dt-chip-icon"}},[e._t("icon")],2):e.$slots.avatar?n("span",{attrs:{"data-qa":"dt-chip-avatar"}},[e._t("avatar")],2):e._e(),e.$slots.default?n("span",{class:["d-truncate","d-chip__text",e.contentClass],attrs:{id:`${e.id}-content`,"data-qa":"dt-chip-label"}},[e._t("default")],2):e._e()]),e.hideClose?e._e():n("dt-button",e._b({class:e.chipCloseButtonClasses(),attrs:{"data-qa":"dt-chip-close","aria-label":e.closeButtonProps.ariaLabel},on:{click:function(i){return e.$emit("close")}},scopedSlots:e._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:e.closeButtonIconSize}})]},proxy:!0}],null,!1,1192647893)},"dt-button",e.closeButtonProps,!1))],1)},qu=[],Gu=_.normalizeComponent(zu,Hu,qu,!1,null,null,null,null);const ii=Gu.exports,Dn={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Ws={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},Ku=t=>!t.index||typeof t.index=="number",Uu=t=>t.value?typeof t.value=="string"||typeof t.value=="number":!1,Wu=t=>t.label?typeof t.label=="string":!1,Yu=t=>t?t.every(e=>!(!Ku(e)||!Uu(e)||!Wu(e))):!0,Zu={name:"DtSelectMenu",components:{DtValidationMessages:we},mixins:[Qt],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>Yu(t)},size:{type:String,default:"md",validator:t=>Object.keys(Dn).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:Sa,DESCRIPTION_SIZE_MODIFIERS:ya,SELECT_SIZE_MODIFIERS:Dn,SELECT_STATE_MODIFIERS:Ws}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return Ce(this.formattedMessages)},selectKey(){return V()},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;((t=this.options)==null?void 0:t.length)<1&&!this.$slots.default&&X.util.warn("Options are expected to be provided via prop or slot",this)}}};var Xu=function(){var e=this,n=e._self._c;return n("div",[n("label",[e.$slots.label||e.label?n("div",e._b({class:["d-label",e.LABEL_SIZE_MODIFIERS[e.size],e.labelClass],attrs:{"aria-details":e.labelAriaDetails,"data-qa":"dt-select-label"}},"div",e.labelChildProps,!1),[e._t("label",function(){return[e._v(e._s(e.label))]})],2):e._e(),e.$slots.description||e.description?n("div",e._b({class:["d-description",e.DESCRIPTION_SIZE_MODIFIERS[e.size],e.descriptionClass],attrs:{id:e.descriptionKey,"data-qa":"dt-select-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),n("div",{class:["d-select",e.SELECT_SIZE_MODIFIERS[e.size],e.selectClass,{"d-select--disabled":e.disabled}],attrs:{"data-qa":"dt-select-wrapper"}},[n("select",e._g(e._b({class:["d-select__input",e.SELECT_STATE_MODIFIERS[e.state]],attrs:{"data-qa":"dt-select",disabled:e.disabled}},"select",e.$attrs,!1),e.selectListeners),[e._t("default",function(){return e._l(e.options,function(i){return n("option",e._b({key:e.getOptionKey(i.value),class:e.optionClass,domProps:{value:i.value}},"option",e.optionChildProps,!1),[e._v(" "+e._s(i.label)+" ")])})})],2)])]),n("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-select-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)},Qu=[],Ju=_.normalizeComponent(Zu,Xu,Qu,!1,null,null,null,null);const ep=Ju.exports,Ys=["status","alert"],ji=6e3,tp={name:"DtToast",components:{DtNoticeIcon:Vn,DtNoticeContent:jn,DtNoticeAction:zn},mixins:[ge],props:{titleId:{type:String,default(){return ae.getUniqueString()}},contentId:{type:String,default(){return ae.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>Ys.includes(t)},kind:{type:String,default:"base",validator:t=>Xe.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>=ji}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:ji}},computed:{kindClass(){return{error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"}[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))}}};var np=function(){var e=this,n=e._self._c;return e.isShown?n("div",{class:["d-toast",e.kindClass,{"d-toast--important":e.important}],attrs:{"data-qa":"dt-toast","aria-hidden":(!e.isShown).toString()}},[n("div",{staticClass:"d-toast__dialog"},[n("dt-notice-icon",e._g({attrs:{kind:e.kind}},e.$listeners),[e._t("icon")],2),n("dt-notice-content",e._g({attrs:{"title-id":e.titleId,"content-id":e.contentId,title:e.title,role:e.role},scopedSlots:e._u([{key:"titleOverride",fn:function(){return[e._t("titleOverride")]},proxy:!0}],null,!0)},e.$listeners),[e._t("default",function(){return[e._v(" "+e._s(e.message)+" ")]})],2),n("dt-notice-action",e._g({attrs:{"hide-close":e.hideClose,"close-button-props":e.closeButtonProps,"visually-hidden-close":e.visuallyHiddenClose,"visually-hidden-close-label":e.visuallyHiddenCloseLabel}},e.noticeActionListeners),[e._t("action")],2)],1)]):e._e()},ip=[],sp=_.normalizeComponent(tp,np,ip,!1,null,null,null,null);const ap=sp.exports,zi={sm:"d-toggle--small",md:""},rp=[!1,!0,"mixed"],op={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return ae.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>rp.includes(t)},toggleOnClick:{type:Boolean,default:!0},size:{type:String,default:"md",validator:t=>Object.keys(zi).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 this.internalChecked==="mixed"},toggleRole(){return this.isIndeterminate?"checkbox":"switch"},toggleClasses(){return["d-toggle",zi[this.size],{"d-toggle--checked":this.internalChecked===!0,"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&&X.util.warn("You must provide an aria-label when there is no label passed",this)}}};var lp=function(){var e=this,n=e._self._c;return n("div",{staticClass:"d-d-flex d-ai-center"},[e.$slots.default?n("label",e._b({class:e.labelClass,attrs:{for:e.id,"data-qa":"toggle-label"}},"label",e.labelChildProps,!1),[e._t("default")],2):e._e(),n("button",e._g(e._b({class:e.toggleClasses,attrs:{id:e.id,role:e.toggleRole,type:"button","aria-checked":e.internalChecked.toString(),disabled:e.disabled,"aria-disabled":e.disabled.toString()}},"button",e.$attrs,!1),e.inputListeners),[e.showIcon?n("span",{staticClass:"d-toggle__inner"}):e._e()])])},dp=[],cp=_.normalizeComponent(op,lp,dp,!1,null,null,null,null);const up=cp.exports,Zs=[...jd],Xs=300,Qs={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Js=[...ks],pp=[!0,!1,"toggle"];const fp={name:"DtTooltip",components:{DtLazyShow:Qe},props:{id:{type:String,default(){return V()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return Zs.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>Js.includes(t)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"},delay:{type:Boolean,default:!0}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:Qs,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement}},computed:{tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){var t,e;return{offset:this.offset,appendTo:(e=(t=this.anchorEl)==null?void 0:t.getRootNode())==null?void 0:e.querySelector("body"),interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:Ns({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(t){t!==null&&(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=Ps(Fi(this.$refs.anchor),this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var t;this.tip&&((t=this.tip)==null||t.destroy())},methods:{calculateAnchorZindex(){return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||this.$el.closest(".d-zi-drawer")?651:400},hasVisibleFocus(){return Fi(this.$refs.anchor).matches(":focus-visible")},onEnterAnchor(t){if(this.delay)this.inTimer=setTimeout(function(e){return this.triggerShow(e)}.bind(this,t),Xs);else return this.triggerShow(t)},triggerShow(t){t.type==="focusin"?this.show===null&&this.hasVisibleFocus()&&(this.isShown=!0):this.show===null&&(this.isShown=!0)},onLeaveAnchor(){return clearTimeout(this.inTimer),this.triggerHide()},triggerHide(){this.show===null&&(this.isShown=!1)},onChangePlacement(t){this.currentPlacement=t},onLeaveTransitionComplete(){var t;(t=this.tip)==null||t.unmount(),this.$emit("shown",!1),this.show!==null&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),this.show!==null&&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}}}};var hp=function(){var e=this,n=e._self._c;return n("div",{attrs:{"data-qa":"dt-tooltip-container"}},[n("a",{ref:"anchor",attrs:{tabindex:"-1",role:"presentation","data-qa":"dt-tooltip-anchor"},on:{focusin:e.onEnterAnchor,focusout:e.onLeaveAnchor,mouseenter:e.onEnterAnchor,mouseleave:e.onLeaveAnchor,keydown:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"esc",27,i.key,["Esc","Escape"])?null:e.onLeaveAnchor.apply(null,arguments)}}},[e._t("anchor")],2),n("dt-lazy-show",e._g({ref:"content",class:["d-tooltip",`d-tooltip__arrow-tippy--${e.currentPlacement}`,{[e.TOOLTIP_KIND_MODIFIERS.inverted]:e.inverted},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)},mp=[],_p=_.normalizeComponent(fp,hp,mp,!1,null,null,null,null);const Jt=_p.exports,Ke={"{win}":"layout-grid","{arrow-right}":"arrow-right","{arrow-left}":"arrow-left","{arrow-up}":"arrow-up","{arrow-down}":"arrow-down","{cmd}":"command"},ea={"{plus}":"plus"},gp=Object.keys(Ke),vp={name:"DtKeyboardShortcut",components:{DtIcon:M},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Ke,separator:/\+/gi}},computed:{icons(){return{...Ke,...ea}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(Ke).reduce((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),Ke[e]),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp(`(${t})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}};var bp=function(){var e=this,n=e._self._c;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",e.inverted?"d-bc-inverted-moderate":"d-bc-default"]},[e.screenReaderText?n("span",{staticClass:"sr-only"},[e._v(" "+e._s(e.screenReaderText)+" ")]):e._e(),e._l(e.formattedShortcutSplit,function(i,a){return[e.icons[i]?n("dt-icon",{key:`${a}-${i}`,class:[e.inverted?"d-fc-secondary-inverted":"d-fc-tertiary","d-mr2"],attrs:{name:e.icons[i],size:"100","aria-hidden":"true"}}):n("span",{key:`${a}-${i}`,class:[e.inverted?"d-fc-secondary-inverted":"d-fc-tertiary","d-mr2"],attrs:{"aria-hidden":"true"},domProps:{innerHTML:e._s(i)}})]})],2)},yp=[],Sp=_.normalizeComponent(vp,bp,yp,!1,null,null,null,null);const Cp=Sp.exports,si={LEFT:"left",RIGHT:"right"},ta=["sm","md","lg",null],xp={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},fixed:{type:Boolean,default:void 0},sidebarPosition:{type:String,default:void 0}},computed:{bodyClasses(){return[this.bodyClass,{"d-root-layout__body--invert":this.sidebarPosition===si.RIGHT}]}}};var wp=function(){var e=this,n=e._self._c;return n("div",{ref:"root-layout-body",class:["d-root-layout__body",e.bodyClasses],attrs:{"data-qa":"dt-root-layout-body"}},[e.$slots.sidebar?n("aside",{ref:"root-layout-sidebar",class:["d-root-layout__sidebar",{"d-root-layout__sidebar--sticky":e.fixed},e.sidebarClass],style:{"flex-basis":e.sidebarWidth},attrs:{"data-qa":"dt-root-layout-sidebar"}},[e._t("sidebar")],2):e._e(),e.$slots.content?n("main",{ref:"root-layout-content",class:["d-root-layout__content",e.contentClass],attrs:{"data-qa":"dt-root-layout-content",tabindex:"0"}},[e._t("content")],2):e._e()])},Ep=[],Ip=_.normalizeComponent(xp,wp,Ep,!1,null,null,null,null);const Op=Ip.exports,Tp={name:"DtRootLayout",components:{DtRootLayoutBody:Op},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:""},sidebarClass:{type:[String,Array,Object],default:""},sidebarWidth:{type:String,default:"256px"},sidebarPosition:{type:String,default:"left",validator:t=>Object.values(si).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"},responsiveBreakpoint:{type:String,default:null,validator:t=>ta.includes(t)}},computed:{responsiveClass(){if(this.responsiveBreakpoint)return`d-root-layout__responsive--${this.responsiveBreakpoint}`}}};var Lp=function(){var e=this,n=e._self._c;return n("div",{class:["root-layout d-root-layout",{"d-root-layout--fixed":e.fixed},e.responsiveClass],attrs:{"data-qa":"dt-root-layout"}},[e.$slots.header?n("header",{class:["d-root-layout__header",{"d-root-layout__header--sticky":e.headerSticky},e.headerClass],style:{height:e.headerHeight,"min-height":e.headerHeight},attrs:{"data-qa":"dt-root-layout-header"}},[e._t("header")],2):e._e(),n("dt-root-layout-body",{attrs:{"body-class":e.bodyClass,"content-class":e.contentClass,"sidebar-class":e.sidebarClass,"sidebar-width":e.sidebarWidth,"sidebar-position":e.sidebarPosition,"header-height":e.$slots.header?e.headerHeight:"0px","footer-height":e.$slots.footer?e.footerHeight:"0px",fixed:e.fixed},scopedSlots:e._u([e.$slots.sidebar?{key:"sidebar",fn:function(){return[e._t("sidebar")]},proxy:!0}:null,e.$slots.default?{key:"content",fn:function(){return[e._t("default")]},proxy:!0}:null],null,!0)}),e.$slots.footer?n("footer",{class:["d-root-layout__footer",e.footerClass],style:{height:e.footerHeight,"min-height":e.footerHeight},attrs:{"data-qa":"dt-root-layout-footer"}},[e._t("footer")],2):e._e()],1)},Ap=[],$p=_.normalizeComponent(Tp,Lp,Ap,!1,null,null,null,null);const Dp=$p.exports,ke={default:"column",column:"column",row:"row","row-reverse":"row-reverse","column-reverse":"column-reverse"},na=["sm","md","lg","xl"],ai=["0","100","200","300","400","500","600"];function Hi(t){return t===ke.default}function qi(t){if(ht(t)==="string")return Hi(t)?null:ke[t];if(ht(t)==="object"){const{default:e}=t;return Hi(e)?null:ke[e]}else return null}function ht(t){return typeof t}function Rp(t){return qi(t)?`d-stack--${ke[qi(t)]}`:null}function kp(t){return ht(t)==="object"?[...na.map(e=>t[e]?`d-stack--${e}--${t[e]}`:null)]:null}function Pp(t){return ai.includes(t)?`d-stack--gap-${t}`:null}function Np(t){if(ht(t)==="string")return Object.keys(ke).includes(t);if(ht(t)==="object"){const{default:e}=t;return Object.keys(ke).includes(e)}else return null}function Bp(t){return ai.includes(t)}const Mp={name:"DtStack",props:{direction:{type:[String,Object],default:"column",validator:t=>Np(t)},as:{type:String,default:"div"},gap:{type:String,default:"0",validator:t=>Bp(t)}},data(){return{DT_STACK_DIRECTION:ke,DT_STACK_GAP:ai,DT_STACK_RESPONSIVE_BREAKPOINTS:na}},computed:{stackGap(){return Pp(this.gap)},defaultDirection(){return Rp(this.direction)},stackResponsive(){return kp(this.direction)}}};var Fp=function(){var e=this,n=e._self._c;return n(e.as,{tag:"component",class:["d-stack",e.defaultDirection,e.stackResponsive,e.stackGap]},[e._t("default")],2)},Vp=[],jp=_.normalizeComponent(Mp,Fp,Vp,!1,null,null,null,null);const zp=jp.exports,Hp={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:ps,DtPopover:Xt,ComboboxLoadingList:ds,ComboboxEmptyList:cs},mixins:[ge],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(us).includes(t)},description:{type:String,default:""},showList:{type:Boolean,default:null},listId:{type:String,default(){return V()}},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(lt).some(e=>e===t)},contentWidth:{type:String,default:null,validator:t=>Xn.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:"body",validator:t=>Zt.includes(t)||t instanceof HTMLElement},transition:{type:String,default:"fade"}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:lt,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:V()}},computed:{comboboxListeners(){return{...this.$listeners,select:this.onSelect,escape:this.onEscape,highlight:this.onHighlight}}},watch:{showList:{handler:function(t){t!==null&&(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(){this.showList==null&&(this.isListShown=!0)},closeComboboxList(){this.showList==null&&(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){var e;this.hasSuggestionList&&t&&((e=this.$refs.input)==null?void 0:e.querySelector("input"))===t.target&&this.showComboboxList()},onFocusOut(t){var i,a,o;const e=(a=(i=this.$refs.popover)==null?void 0:i.tip)==null?void 0:a.popper,n=this.$refs.input;(o=t.composedPath())!=null&&o.some(p=>[e,n].includes(p))||this.closeComboboxList()},openOnArrowKeyPress(){this.showList!==null||this.isListShown||!this.openWithArrowKeys||this.showComboboxList()}}};var qp=function(){var e=this,n=e._self._c;return n("dt-combobox",e._g({ref:"combobox",attrs:{loading:e.loading,label:e.label,"label-visible":e.labelVisible,size:e.size,description:e.description,"empty-list":e.emptyList,"empty-state-message":e.emptyStateMessage,"show-list":e.isListShown,"on-beginning-of-list":e.onBeginningOfList,"on-end-of-list":e.onEndOfList,"list-rendered-outside":!0,"list-id":e.listId,"data-qa":"dt-combobox"},scopedSlots:e._u([{key:"input",fn:function({inputProps:i}){return[n("div",{ref:"input",attrs:{id:e.externalAnchor},on:{focusin:e.onFocusIn,keydown:[function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"up",38,a.key,["Up","ArrowUp"])?null:e.openOnArrowKeyPress(a)},function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"down",40,a.key,["Down","ArrowDown"])?null:e.openOnArrowKeyPress(a)}]}},[e._t("input",null,{inputProps:i,onInput:e.handleDisplayList})],2)]}},{key:"list",fn:function({opened:i,listProps:a,clearHighlightIndex:o}){return[n("dt-popover",{ref:"popover",attrs:{open:e.isListShown,"hide-on-click":!1,"max-height":e.maxHeight,"max-width":e.maxWidth,offset:e.popoverOffset,sticky:e.popoverSticky,placement:"bottom-start","initial-focus-element":"none",padding:"none",role:"listbox","external-anchor":e.externalAnchor,"content-width":e.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,"append-to":e.appendTo,transition:e.transition,"visually-hidden-close-label":e.visuallyHiddenCloseLabel,"visually-hidden-close":e.visuallyHiddenClose},on:{"update:open":function(p){e.isListShown=p},opened:function(p){return i(p,arguments[1])}},scopedSlots:e._u([{key:"headerContent",fn:function(){return[e.$slots.header?n("div",{ref:"header"},[e._t("header")],2):e._e()]},proxy:!0},{key:"content",fn:function(){return[n("div",{ref:"listWrapper",class:[e.DROPDOWN_PADDING_CLASSES[e.padding],e.listClass],on:{mouseleave:o,focusout:o}},[e.loading?n("combobox-loading-list",e._b({},"combobox-loading-list",a,!1)):e.emptyList&&e.emptyStateMessage?n("combobox-empty-list",e._b({attrs:{message:e.emptyStateMessage}},"combobox-empty-list",a,!1)):e._t("list",null,{listProps:a})],2)]},proxy:!0},{key:"footerContent",fn:function(){return[e.$slots.footer?n("div",{ref:"footer"},[e._t("footer")],2):e._e()]},proxy:!0}],null,!0)})]}}],null,!0)},e.comboboxListeners))},Gp=[],Kp=_.normalizeComponent(Hp,qp,Gp,!1,null,null,null,null);const ia=Kp.exports,sa={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},Up={xs:"xs",sm:"xs",md:"sm"},Wp={xs:1.4,sm:.4,md:.2},Yp={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:ia,DtInput:zs,DtChip:ii,DtValidationMessages:we},mixins:[ge],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=>St(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:"md",validator:t=>Object.values(sa).includes(t)},appendTo:{type:[HTMLElement,String],default:"body",validator:t=>Zt.includes(t)||t instanceof HTMLElement},transition:{type:String,default:"fade"}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,4],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null,originalInputSize:null,CHIP_SIZES:Up}},computed:{inputPlaceHolder(){var t;return((t=this.selectedItems)==null?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;(t=this.resizeWindowObserver)==null||t.unobserve(document.body)},methods:{onChipRemove(t){var e;this.$emit("remove",t),(e=this.$refs.input)==null||e.focus()},onComboboxSelect(t){this.value="",this.$emit("select",t)},showComboboxList(){var t;this.showList==null&&((t=this.$refs.comboboxWithPopover)==null||t.showComboboxList())},closeComboboxList(){var t;this.showList==null&&((t=this.$refs.comboboxWithPopover)==null||t.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(t=this.$refs.input)==null?void 0:t.$refs.input},onChipKeyup(t){var n;const e=(n=t.code)==null?void 0:n.toLowerCase();e==="arrowleft"?this.navigateBetweenChips(t.target,!0):e==="arrowright"&&(t.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(t.target,!1))},onInputKeyup(t){var n;const e=(n=t.code)==null?void 0:n.toLowerCase();this.selectedItems.length>0&&t.target.selectionStart===0&&(e==="backspace"||e==="arrowleft")&&this.moveFromInputToChip()},moveFromInputToChip(){var t;this.getLastChipButton().focus(),(t=this.$refs.input)==null||t.blur(),this.closeComboboxList()},moveFromChipToInput(){var t;this.getLastChipButton().blur(),(t=this.$refs.input)==null||t.focus(),this.showComboboxList()},navigateBetweenChips(t,e){var a;const n=this.getChipButtons().indexOf(t),i=e?n-1:n+1;i<0||i>=((a=this.$refs.chips)==null?void 0:a.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-Wp[this.size]+"px"},setInputPadding(){const t=this.getLastChip(),e=this.getInput(),n=this.$refs.chipsWrapper;if(!e||(this.revertInputPadding(e),this.popoverOffset=[0,4],!t))return;const i=t.offsetLeft+this.getFullWidth(t);e.style.paddingLeft=i+"px";const a=n.getBoundingClientRect().height-4,o=t.offsetTop+2;a>this.originalInputSize&&(e.style.paddingTop=`${o}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&&(t?e.style.minWidth=this.getFullWidth(t)+4+"px":e.style.minWidth="")},checkMaxSelected(){this.maxSelected!==0&&(this.selectedItems.length>this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}};var Zp=function(){var e=this,n=e._self._c;return n("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{label:e.label,"show-list":e.showList,"max-height":e.listMaxHeight,"popover-offset":e.popoverOffset,"has-suggestion-list":e.hasSuggestionList,"visually-hidden-close-label":e.visuallyHiddenCloseLabel,"visually-hidden-close":e.visuallyHiddenClose,"content-width":"anchor","append-to":e.appendTo,transition:e.transition},on:{select:e.onComboboxSelect},scopedSlots:e._u([{key:"input",fn:function({onInput:i}){return[n("span",{ref:"inputSlotWrapper",staticClass:"d-ps-relative d-d-block"},[n("span",{ref:"chipsWrapper",staticClass:"d-ps-absolute d-mx2 d-pl1"},e._l(e.selectedItems,function(a){return n("dt-chip",e._g({key:a.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:e.CHIP_SIZES[e.size]},on:{keyup:function(o){return!o.type.indexOf("key")&&e._k(o.keyCode,"backspace",void 0,o.key,void 0)?null:e.onChipRemove(a)},close:function(o){return e.onChipRemove(a)}}},e.chipListeners),[e._v(" "+e._s(a)+" ")])}),1),n("dt-input",e._g({ref:"input",staticClass:"d-fl-grow1",attrs:{"aria-label":e.label,label:e.labelVisible?e.label:"",description:e.description,placeholder:e.inputPlaceHolder,"show-messages":e.showInputMessages,messages:e.inputMessages,size:e.size},on:{input:i},model:{value:e.value,callback:function(a){e.value=a},expression:"value"}},e.inputListeners)),n("dt-validation-messages",{attrs:{"validation-messages":e.maxSelectedMessage,"show-messages":e.showValidationMessages}})],1)]}},{key:"header",fn:function(){return[e.$slots.header?n("div",{ref:"header"},[e._t("header")],2):e._e()]},proxy:!0},{key:"list",fn:function(){return[n("div",{ref:"list",on:{mousedown:function(i){i.preventDefault()}}},[e.loading?n("div",{staticClass:"d-ta-center d-py16"},[e._v(" "+e._s(e.loadingMessage)+" ")]):e._t("list")],2)]},proxy:!0},{key:"footer",fn:function(){return[e.$slots.footer?n("div",{ref:"footer"},[e._t("footer")],2):e._e()]},proxy:!0}],null,!0)})},Xp=[],Qp=_.normalizeComponent(Yp,Zp,Xp,!1,null,null,null,null);const Jp=Qp.exports,ri=["sm","md","lg","xl"];const ef={name:"DtRecipeCallbarButton",components:{DtButton:q,DtTooltip:Jt},inheritAttrs:!0,props:{id:{type:String,default(){return ae.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||globalThis.$slots.default},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:t=>ri.includes(t)},importance:{type:String,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,"d-btn--disabled d-bgc-transparent":this.disabled,"d-fc-primary":!this.disabled}]},callbarButtonTextClass(){return["d-fs-100 lg:d-d-none md:d-d-none sm:d-d-none",this.textClass]},buttonWidth(){switch(this.buttonWidthSize){case"sm":return"4.5rem";case"md":return"6rem";default:return"8.4rem"}},buttonImportance(){return this.importance?this.importance:this.circle?"outlined":"clear"}}};var tf=function(){var e=this,n=e._self._c;return n("dt-tooltip",{attrs:{id:e.id,offset:[0,8]},scopedSlots:e._u([{key:"anchor",fn:function(){return[n("span",{class:{"d-c-not-allowed":e.disabled}},[n("dt-button",e._g({class:e.callbarButtonClass,attrs:{importance:e.buttonImportance,kind:"muted","icon-position":"top","aria-disabled":e.disabled,"aria-label":e.ariaLabel,"label-class":e.callbarButtonTextClass,width:e.buttonWidth}},e.$listeners),[e._t("default"),e._t("icon",null,{slot:"icon"})],2)],1)]},proxy:!0}],null,!0)},[e._t("tooltip")],2)},nf=[],sf=_.normalizeComponent(ef,tf,nf,!1,null,null,null,null);const aa=sf.exports;const af={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:aa,DtPopover:Xt,DtButton:q,DtIcon:M},inheritAttrs:!1,props:{id:{type:String,default(){return ae.getUniqueString()}},ariaLabel:{type:String,default:null,validator:t=>t||globalThis.$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:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:t=>ri.includes(t)},contentClass:{type:[String,Array,Object],default:""}},emits:["arrowClick","click"],data(){return{open:!1}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled},isCompactMode(){return this.buttonWidthSize==="sm"||this.buttonWidthSize==="md"}},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}}};var rf=function(){var e=this,n=e._self._c;return n("div",{staticClass:"d-d-flex d-ai-center"},[n("dt-recipe-callbar-button",{staticClass:"dt-recipe--callbar-button-with-popover--main-button",attrs:{"aria-label":e.ariaLabel,disabled:e.disabled,active:e.active,danger:e.danger,"button-class":e.buttonClass,"button-width-size":e.buttonWidthSize,"text-class":e.textClass},on:{click:e.buttonClick}},[e._t("icon",null,{slot:"icon"}),e._t("tooltip",null,{slot:"tooltip"}),e._t("default")],2),e.showArrowButton?n("dt-popover",e._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{id:e.id,open:e.open,placement:e.placement,"initial-focus-element":e.initialFocusElement,"show-close-button":e.showCloseButton,offset:[0,16],padding:"none","dialog-class":["dt-recipe--callbar-button-with-popover--popover",e.contentClass],"header-class":"d-d-flex d-ai-center d-fw-normal d-px12"},on:{opened:e.onModalIsOpened},scopedSlots:e._u([{key:"anchor",fn:function(){return[n("dt-button",{class:["dt-recipe--callbar-button-with-popover--arrow",{"d-mln24":!e.isCompactMode}],attrs:{circle:"",importance:"clear",size:"lg",width:"2rem","aria-label":e.arrowButtonLabel,active:e.open},on:{click:e.arrowClick},scopedSlots:e._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"chevron-up",size:"200"}})]},proxy:!0}],null,!1,3340821372)})]},proxy:!0}],null,!1,384931042)},"dt-popover",e.$attrs,!1),[e._t("content",null,{slot:"content"}),e._t("headerContent",null,{slot:"headerContent"}),e._t("footerContent",null,{slot:"footerContent"})],2):e._e()],1)},of=[],lf=_.normalizeComponent(af,rf,of,!1,null,null,null,null);const df=lf.exports,cf={name:"DtRecipeContactInfo",components:{DtAvatar:Kt,DtListItem:gt},props:{id:{type:String,default(){return ae.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarSeed:{type:String,default:null},avatarInitials:{type:String,default:""},avatarSize:{type:String,default:"lg"},presence:{type:String,default:null},avatarList:{type:Array,default:null}}};var uf=function(){var e=this,n=e._self._c;return n("dt-list-item",{attrs:{id:e.id,role:e.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:e._u([{key:"left",fn:function(){return[n("div",{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[e.avatarList?n("div",{staticClass:"d-mrn4 d-d-flex d-fd-row"},e._l(e.avatarList,function(i,a){return n("div",{key:a},[i.src?n("dt-avatar",{attrs:{size:e.avatarSize,seed:i.seed,initials:i.initials,"overlay-icon":i.icon,"overlay-text":i.text,"overlay-class":"d-mn4 d-ba d-baw4 d-bc-white d-box-unset","avatar-class":["d-ba d-baw4 d-bc-white d-bar-pill",{"d-mln24":a>0}]}},[n("img",{attrs:{"data-qa":"dt-contact-avatar",src:i.src,alt:i.initials}})]):i.initials?n("dt-avatar",{attrs:{size:e.avatarSize,seed:i.seed,initials:i.initials,"overlay-icon":i.icon,"overlay-text":i.text,"overlay-class":"d-mn4 d-ba d-baw4 d-bc-white d-box-unset","avatar-class":["d-ba d-baw4 d-bc-white d-bar-pill",{"d-mln24":a>0}]}},[e._v(" "+e._s(i.initials)+" ")]):e._e()],1)}),0):e.avatarSrc?n("dt-avatar",{attrs:{size:e.avatarSize,initials:e.avatarInitials,seed:e.avatarSeed,presence:e.presence}},[n("img",{attrs:{"data-qa":"dt-contact-avatar",src:e.avatarSrc,initials:e.avatarInitials,seed:e.avatarSeed,alt:e.avatarInitials}})]):e.avatarInitials?n("dt-avatar",{attrs:{size:e.avatarSize,initials:e.avatarInitials,seed:e.avatarSeed,presence:e.presence}},[e._v(" "+e._s(e.avatarInitials)+" ")]):e._e()],1)]},proxy:!0},{key:"default",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-header"}},[e._t("header")],2)]},proxy:!0},{key:"subtitle",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-subtitle"}},[e._t("subtitle")],2)]},proxy:!0},{key:"bottom",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-bottom"}},[e._t("bottom")],2)]},proxy:!0},{key:"right",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-right"}},[e._t("right")],2)]},proxy:!0}],null,!0)})},pf=[],ff=_.normalizeComponent(cf,uf,pf,!1,null,null,null,null);const hf=ff.exports,ra=["green300","green100","red200","red100","gold100","gold200","black100","white"];const mf={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return ra.includes(t)}}},computed:{bannerInfoClass(){return[{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"}[this.colorCode]]}}};var _f=function(){var e=this,n=e._self._c;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:e.bannerInfoClass,attrs:{"data-qa":"banner-info"}},[n("div",{staticClass:"d-top-banner-info__left"},[e._t("left")],2),n("div",{staticClass:"d-top-banner-info__middle d-my4"},[e._t("default")],2),n("div",{staticClass:"d-top-banner-info__right d-ta-right"},[e._t("right")],2)])},gf=[],vf=_.normalizeComponent(mf,_f,gf,!1,null,null,null,null);const bf=vf.exports,en="promptmenu",tn="promptcollect",nn="promptplay",sn="gotoexpert",Ct="goto",an="branch",rn="transfer",on="hangup",oa={[en]:"keypad",[tn]:"dialer",[nn]:"volume-2",[sn]:"expert-node",[an]:"branch",[Ct]:"call-merge",[rn]:"transfer",[on]:"phone-hang-up"},yf={[en]:"Menu",[tn]:"Collect",[nn]:"Play",[sn]:"Expert",[an]:"Branch",[Ct]:"Go-to",[rn]:"Transfer",[on]:"Hangup"},Se={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"}},Sf={[en]:Se.PROMPT,[tn]:Se.PROMPT,[nn]:Se.PROMPT,[sn]:Se.LOGIC,[an]:Se.LOGIC,[Ct]:Se.LOGIC,[rn]:Se.TERMINAL,[on]:Se.TERMINAL};const Cf={name:"DtRecipeIvrNode",components:{DtCard:ls,DtButton:q,DtDropdown:js,DtIcon:M},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 oa[this.nodeType]},headerColor(){const{normal:t,selected:e}=Sf[this.nodeType];return this.isSelected?e:t},isGotoNode(){return this.nodeType===Ct}},methods:{openMenu(){this.isOpen=!0}}};var xf=function(){var e=this,n=e._self._c;return n("div",e._g({staticClass:"d-d-flex d-fd-column d-ai-center d-c-pointer ivr_node__width"},e.$listeners),[e.dtmfKey?n("div",{staticClass:"ivr-connector d-w24 d-h24 d-bar-circle d-mbn12 d-fc-white d-fs-200",class:{"d-mbn16":e.isSelected},attrs:{"data-qa":"dt-top-connector-dtmf"}},[e._v(" "+e._s(e.dtmfKey)+" ")]):e._e(),e.$slots.connector?e._t("connector"):e._e(),!e.dtmfKey&&!e.$slots.connector?n("div",{staticClass:"ivr-connector d-w8 d-h8 d-bar-circle d-mbn4",class:{"d-mbn8":e.isSelected},attrs:{"data-qa":"dt-top-connector"}}):e._e(),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":e.isSelected},e.headerColor],"header-class":["d-mtn1","d-bt","d-btw4","d-p0",e.headerColor,{"d-btr4":!e.isSelected}]},scopedSlots:e._u([{key:"header",fn:function(){return[n("div",{staticClass:"d-d-flex d-ai-center"},[n("dt-button",{attrs:{"aria-label":e.nodeType,importance:"clear",kind:"muted","data-qa":"dt-ivr-node-icon"},scopedSlots:e._u([{key:"icon",fn:function(){return[n("dt-icon",{class:["",{ivr_node__goto_icon:e.isGotoNode}],attrs:{name:e.nodeIcon,size:"200"}})]},proxy:!0}])}),n("p",{staticClass:"d-fs-200 d-fw-bold",attrs:{"data-qa":"ivr-node-label"}},[e._v(" "+e._s(e.nodeLabel)+" ")])],1),n("dt-dropdown",{attrs:{placement:"bottom",open:e.isOpen},on:{"update:open":function(i){e.isOpen=i}},scopedSlots:e._u([{key:"anchor",fn:function(){return[n("dt-button",{attrs:{importance:"clear",kind:"muted","aria-label":e.menuButtonAriaLabel},on:{click:function(i){return i.stopPropagation(),i.preventDefault(),e.openMenu.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"more-vertical",size:"200"}})]},proxy:!0}])})]},proxy:!0},{key:"list",fn:function({close:i}){return[n("div",{staticClass:"d-w164"},[e._t("menuItems",null,{close:i})],2)]}}],null,!0)})]},proxy:!0},{key:"content",fn:function(){return[e._t("content")]},proxy:!0}],null,!0)})],2)},wf=[],Ef=_.normalizeComponent(Cf,xf,wf,!1,null,null,null,null);const If=Ef.exports;const Of={name:"DtRecipeGroupedChip",components:{DtChip:ii},computed:{}};var Tf=function(){var e=this,n=e._self._c;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-moderate-opaque d-wmx84 dt-chip-content",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:e._u([e.$slots.leftIcon?{key:"icon",fn:function(){return[e.$slots.leftIcon?n("div",{attrs:{"data-qa":"left-grouped-chip-icon"}},[e._t("leftIcon")],2):e._e()]},proxy:!0}:null,{key:"default",fn:function(){return[e.$slots.leftContent?n("div",{attrs:{"data-qa":"left-grouped-chip-content"}},[e._t("leftContent")],2):e._e()]},proxy:!0}],null,!0)}),n("dt-chip",{staticClass:"d-brr-pill d-bgc-purple-200 d-wmx84 dt-chip-content",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:e._u([{key:"icon",fn:function(){return[e.$slots.rightIcon?n("div",{attrs:{"data-qa":"right-grouped-chip-icon"}},[e._t("rightIcon")],2):e._e()]},proxy:!0},{key:"default",fn:function(){return[e.$slots.rightContent?n("div",{attrs:{"data-qa":"right-grouped-chip-content"}},[e._t("rightContent")],2):e._e()]},proxy:!0}],null,!0)})],1)},Lf=[],Af=_.normalizeComponent(Of,Tf,Lf,!1,null,null,null,null);const $f=Af.exports;const Df={name:"DtRecipeSettingsMenuButton",components:{DtButton:q,DtIcon:M},props:{updateAvailable:{type:Boolean,default:!1},ariaLabel:{type:String,required:!0}},emits:["click"]};var Rf=function(){var e=this,n=e._self._c;return e.updateAvailable?n("dt-button",e._g({staticClass:"d-h32 d-bar-pill d-bgc-blue-200 d-bgo25 h:d-bgo50 d-bc-blue-500 d-bco25 d-fc-blue-500",attrs:{importance:"outlined",size:"xs","icon-position":"right","aria-label":e.ariaLabel},scopedSlots:e._u([{key:"icon",fn:function(){return[n("dt-icon",{staticClass:"d-fc-blue-500",attrs:{name:"more-vertical",size:"300"}})]},proxy:!0}],null,!1,993491315)},e.$listeners),[e._t("default")],2):n("dt-button",e._g({staticClass:"settings-menu-button d-p0 d-bar24 d-h32 d-w24 d-theme-topbar-fc",attrs:{importance:"clear",kind:"inverted","aria-label":e.ariaLabel},scopedSlots:e._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"more-vertical",size:"300"}})]},proxy:!0}])},e.$listeners))},kf=[],Pf=_.normalizeComponent(Df,Rf,kf,!1,null,"5f15fa46",null,null);const Nf=Pf.exports,F={INBOX:"inbox",CONTACTS:"contacts",CHANNELS:"channels",THREADS:"threads",LOCKED_CHANNEL:"locked channel",CONTACT_CENTER:"contact center",QUICK_START:"quick start",COACHING_GROUP:"coaching group",COACHING_CENTER:"coaching center",DIALBOT:"dialbot",ASSIGNED:"assigned",DIGITAL:"digital"},la={[F.INBOX]:"inbox",[F.CONTACTS]:"contacts",[F.CHANNELS]:"hash",[F.THREADS]:"thread",[F.LOCKED_CHANNEL]:"lock",[F.QUICK_START]:"sparkle",[F.COACHING_GROUP]:"users",[F.COACHING_CENTER]:"external-link","locked channel unread":"lock-filled","channel unread":"hash-bold",[F.ASSIGNED]:"at-sign",[F.DIGITAL]:"message"},mt={"magenta-200":"d-bgc-magenta-200","green-200":"d-bgc-green-200","gold-300":"d-bgc-gold-300","purple-600":"d-bgc-purple-600","magenta-300":"d-bgc-magenta-300","purple-300":"d-bgc-purple-300","green-500":"d-bgc-green-500","purple-100":"d-bgc-purple-100","magenta-400":"d-bgc-magenta-400","magenta-100":"d-bgc-magenta-100"},da="If type is contact center, color must be oneof the following:"+Object.keys(mt).join(", "),ca=["300","200"],Bf={};var Mf=function(){var e=this,n=e._self._c;return n("svg",{staticClass:"d-svg d-svg--native d-svg__dialbot",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Dialbot",width:"358",height:"358",viewBox:"0 0 358 358",fill:"none"}},[n("circle",{attrs:{cx:"179",cy:"179",r:"179",fill:"url(#paint0_linear_4_44)"}}),n("path",{attrs:{d:"M179 268.5v-11.933V268.5Zm86.517 0v11.933h19.308l-8.635-17.27-10.673 5.337Zm-16.73-33.459-9.3-7.478-4.797 5.967 3.424 6.848 10.673-5.337ZM179 101.433c42.839 0 77.567 34.728 77.567 77.567h23.866c0-56.02-45.413-101.433-101.433-101.433v23.866ZM101.433 179c0-42.839 34.728-77.567 77.567-77.567V77.567C122.98 77.567 77.567 122.98 77.567 179h23.866ZM179 256.567c-42.839 0-77.567-34.728-77.567-77.567H77.567c0 56.02 45.413 101.433 101.433 101.433v-23.866Zm86.517 0H179v23.866h86.517v-23.866Zm-27.403-16.189 16.729 33.459 21.347-10.674-16.729-33.459-21.347 10.674ZM256.567 179c0 18.396-6.39 35.268-17.08 48.563l18.6 14.955c13.975-17.38 22.346-39.488 22.346-63.518h-23.866Z",fill:"white"}}),n("path",{attrs:{d:"M226.733 202.867c-6.527 5.701-13.942 10.11-22.243 13.226-8.302 3.116-16.781 4.674-25.437 4.674-8.727 0-17.241-1.558-25.543-4.674-8.301-3.116-15.716-7.525-22.243-13.226v-11.934c4.399 2.652 9.365 4.939 14.9 6.862a112.163 112.163 0 0 0 16.815 4.674c5.748 1.127 11.105 1.69 16.071 1.69 5.038 0 10.395-.563 16.071-1.69a112.209 112.209 0 0 0 16.816-4.674c5.534-1.923 10.465-4.21 14.793-6.862v11.934Z",fill:"white"}}),n("defs",[n("linearGradient",{attrs:{id:"paint0_linear_4_44",x1:"0",y1:"0",x2:"358",y2:"358",gradientUnits:"userSpaceOnUse"}},[n("stop",{attrs:{"stop-color":"#7C52FF"}}),n("stop",{attrs:{offset:"1","stop-color":"#F9008E"}})],1)],1)])},Ff=[],Vf=_.normalizeComponent(Bf,Mf,Ff,!1,null,null,null,null);const jf=Vf.exports,zf={name:"DtRecipeLeftbarGeneralRowIcon",components:{DtIcon:M,IconDialbot:jf},props:{type:{type:String,default:null},color:{type:String,default:null},iconSize:{type:String,default:"300"}},computed:{isIconType(){return![F.DIALBOT,F.CONTACT_CENTER].includes(this.type)},isContactCenterType(){return this.type===F.CONTACT_CENTER},isDialbotType(){return this.type===F.DIALBOT},getIconName(){return la[this.type]},contactCenterIconClasses(){return["dt-leftbar-row__icon-cc",mt[this.color]]},dialbotClasses(){return["d-w24","d-h24","d-d-flex","d-ai-center","d-jc-center"]}}};var Hf=function(){var e=this,n=e._self._c;return e.isIconType?n("dt-icon",{attrs:{name:e.getIconName,size:e.iconSize}}):e.isContactCenterType?n("div",{class:e.contactCenterIconClasses}):e.isDialbotType?n("div",{class:e.dialbotClasses,attrs:{"data-qa":"general-row-dialbot"}},[n("icon-dialbot",{staticClass:"d-svg--size24"})],1):e._e()},qf=[],Gf=_.normalizeComponent(zf,Hf,qf,!1,null,null,null,null);const Kf=Gf.exports;const Uf={name:"DtRecipeGeneralRow",components:{DtEmojiTextWrapper:_.DtEmojiTextWrapper,DtBadge:Ji,DtIcon:M,DtButton:q,DtTooltip:Jt,DtRecipeLeftbarGeneralRowIcon:Kf},inheritAttrs:!1,props:{type:{type:String,default:"inbox",validator:t=>Object.values(F).includes(t)},ariaLabel:{type:String,default:""},description:{type:String,required:!0},color:{type:String,default:null,validator:t=>Object.keys(mt).includes(t)},hasUnreads:{type:Boolean,default:!1},unreadCount:{type:String,default:null},unreadCountTooltip:{type:String,default:""},selected:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},activeVoiceChat:{type:Boolean,default:!1},dndText:{type:String,default:""},dndTextTooltip:{type:String,default:""},hasCallButton:{type:Boolean,default:!1},callButtonTooltip:{type:String,default:""},isTyping:{type:Boolean,default:!1},iconSize:{type:String,default:"300",validator:t=>ca.includes(t)}},emits:["click","call"],data(){return{actionFocused:!1}},computed:{leftbarGeneralRowClasses(){return["dt-leftbar-row",{"dt-leftbar-row--no-action":!this.hasCallButton,"dt-leftbar-row--has-unread":this.hasUnreads,"dt-leftbar-row--selected":this.selected,"dt-leftbar-row--muted":this.muted,"dt-leftbar-row--action-focused":this.actionFocused}]},getIcon(){switch(this.type){case F.CHANNELS:if(this.hasUnreads)return"channel unread";break;case F.LOCKED_CHANNEL:if(this.hasUnreads)return"locked channel unread";break}return this.type},getAriaLabel(){return this.ariaLabel?this.ariaLabel:`${this.description} ${this.unreadCountTooltip} ${this.dndTextTooltip}`}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{validateProps(){this.type===F.CONTACT_CENTER&&!Object.keys(mt).includes(this.color)&&console.error(da)}}};var Wf=function(){var e=this,n=e._self._c;return n("div",{class:e.leftbarGeneralRowClasses,attrs:{"data-qa":"dt-leftbar-row"}},[n("a",e._g(e._b({staticClass:"dt-leftbar-row__primary",attrs:{"data-qa":"data-qa"in e.$attrs?e.$attrs["data-qa"]:"dt-leftbar-row-link","aria-label":e.getAriaLabel,title:e.description}},"a",e.$attrs,!1),e.$listeners),[n("div",{staticClass:"dt-leftbar-row__alpha"},[e.isTyping?n("div",{staticClass:"dt-leftbar-row__is-typing"},[n("span"),n("span"),n("span")]):e._t("left",function(){return[n("dt-recipe-leftbar-general-row-icon",{attrs:{type:e.getIcon,color:e.color,"icon-size":e.iconSize,"data-qa":"dt-leftbar-row-icon"}})]})],2),n("div",{staticClass:"dt-leftbar-row__label"},[e._t("label",function(){return[n("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description",size:"200"}},[e._v(" "+e._s(e.description)+" ")])]})],2),n("div",{staticClass:"dt-leftbar-row__omega"},[e.dndText?n("dt-tooltip",{attrs:{placement:"top",message:e.dndTextTooltip},scopedSlots:e._u([{key:"anchor",fn:function(){return[n("div",{staticClass:"dt-leftbar-row__dnd"},[e._v(" "+e._s(e.dndText)+" ")])]},proxy:!0}],null,!1,1506147022)}):e._e(),e.activeVoiceChat?n("div",{staticClass:"dt-leftbar-row__active-voice"},[n("dt-icon",{attrs:{size:"300",name:"activity"}})],1):e.unreadCount&&e.hasUnreads?n("dt-tooltip",{attrs:{message:e.unreadCountTooltip,placement:"top"},scopedSlots:e._u([{key:"anchor",fn:function(){return[n("dt-badge",{attrs:{kind:"count",type:"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[e._v(" "+e._s(e.unreadCount)+" ")])]},proxy:!0}])}):e._e()],1)]),e.hasCallButton?n("div",{staticClass:"dt-leftbar-row__action",attrs:{"data-qa":"dt-leftbar-row-action"}},[n("dt-tooltip",{attrs:{message:e.callButtonTooltip,placement:"top"},scopedSlots:e._u([{key:"anchor",fn:function(){return[n("dt-button",{staticClass:"dt-leftbar-row__action-button",attrs:{"data-qa":"dt-leftbar-row-action-call-button",circle:"",size:"xs",kind:"inverted","aria-label":e.callButtonTooltip},on:{focus:function(i){e.actionFocused=!0},blur:function(i){e.actionFocused=!1},mouseleave:function(i){e.actionFocused=!1},click:function(i){return i.stopPropagation(),e.$emit("call",i)}},scopedSlots:e._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"phone",size:"200"}})]},proxy:!0}],null,!1,990728611)})]},proxy:!0}],null,!1,4111698736)})],1):e._e()])},Yf=[],Zf=_.normalizeComponent(Uf,Wf,Yf,!1,null,null,null,null);const oi=Zf.exports,Xf={name:"DtRecipeGroupRow",components:{DtIcon:M,DtRecipeGeneralRow:oi},inheritAttrs:!1,props:{groupCountText:{type:String,default:""},names:{type:String,required:!0},unreadCount:{type:String,default:null},unreadCountTooltip:{type:String,default:null},hasUnreads:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},isTyping:{type:Boolean,default:!1}},emits:["click"]};var Qf=function(){var e=this,n=e._self._c;return n("dt-recipe-general-row",e._g(e._b({attrs:{description:e.names,"aria-label":`${e.groupCountText} ${e.names}`,"unread-count":e.unreadCount,"has-unreads":e.hasUnreads,"unread-count-tooltip":e.unreadCountTooltip,selected:e.selected,"is-typing":e.isTyping},scopedSlots:e._u([{key:"left",fn:function(){return[n("dt-icon",{attrs:{name:"users",size:"300"}})]},proxy:!0}])},"dt-recipe-general-row",e.$attrs,!1),e.$listeners))},Jf=[],eh=_.normalizeComponent(Xf,Qf,Jf,!1,null,null,null,null);const th=eh.exports,nh={name:"DtRecipeGroupRow",components:{DtAvatar:Kt,DtIcon:M,DtRecipeGeneralRow:oi,DtEmojiTextWrapper:_.DtEmojiTextWrapper},inheritAttrs:!1,props:{avatarSrc:{type:String,default:""},avatarPresence:{type:String,default:null},avatarSeed:{type:String,default:null},presenceText:{type:String,default:""},name:{type:String,required:!0},userStatus:{type:String,default:""},muted:{type:Boolean,default:!1},unreadCount:{type:String,default:null},hasUnreads:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},noInitials:{type:Boolean,default:!1},isTyping:{type:Boolean,default:!1},hasCallButton:{type:Boolean,default:!0},callButtonTooltip:{type:String,default:""},unreadCountTooltip:{type:String,default:""}},emits:["click","call"],computed:{presenceColorClass(){switch(this.avatarPresence){case"active":return"d-fc-success";case"busy":return"d-fc-critical";case"away":return"d-fc-warning";default:return}},avatarInitial(){var t;return((t=this.name)==null?void 0:t[0])??""}}};var ih=function(){var e=this,n=e._self._c;return n("dt-recipe-general-row",e._g(e._b({attrs:{"unread-count":e.unreadCount,description:`${e.name} ${e.presenceText} ${e.userStatus}`,"has-unreads":e.hasUnreads,selected:e.selected,"has-call-button":e.hasCallButton,muted:e.muted,"is-typing":e.isTyping,"call-button-tooltip":e.callButtonTooltip,"unread-count-tooltip":e.unreadCountTooltip},scopedSlots:e._u([{key:"left",fn:function(){return[n("dt-avatar",{attrs:{size:"sm",seed:e.avatarSeed,presence:e.avatarPresence}},[e.avatarSrc?n("img",{attrs:{"data-qa":"dt-avatar-image",src:e.avatarSrc,alt:""}}):e.noInitials?[n("dt-icon",{attrs:{name:"user",size:"200"}})]:[e._v(" "+e._s(e.avatarInitial)+" ")]],2)]},proxy:!0},{key:"label",fn:function(){return[n("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description",size:"200"}},[e._v(" "+e._s(e.name)+" ")]),n("div",{staticClass:"dt-leftbar-row__status"},[e.presenceText?n("span",{class:["dt-leftbar-row__meta-context",e.presenceColorClass],attrs:{"data-qa":"dt-leftbar-row-presence-text"}},[e._v(" "+e._s(e.presenceText)+" ")]):e._e(),e.userStatus?n("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__meta-custom",attrs:{size:"100","element-type":"span","data-qa":"dt-leftbar-row-user-status"}},[e._v(" "+e._s(e.userStatus)+" ")]):e._e()],1)]},proxy:!0}])},"dt-recipe-general-row",e.$attrs,!1),e.$listeners))},sh=[],ah=_.normalizeComponent(nh,ih,sh,!1,null,null,null,null);const rh=ah.exports,ua=["up","down"],pa=["mentions","messages"];const oh={name:"DtRecipeUnreadPill",components:{DtIcon:M},props:{kind:{type:String,required:!0,validator:t=>pa.includes(t)},direction:{type:String,required:!0,validator:t=>ua.includes(t)}},emits:["click"]};var lh=function(){var e=this,n=e._self._c;return n("button",e._g({class:["dt-leftbar-unread-pill",`dt-leftbar-unread-pill--${e.kind}`],attrs:{type:"button","data-qa":"dt-leftbar-unread-pill"}},e.$listeners),[n("dt-icon",{attrs:{name:`arrow-${e.direction}`,size:"300"}}),n("span",{attrs:{"data-qa":"dt-leftbar-unread-pill__label"}},[e._t("default")],2)],1)},dh=[],ch=_.normalizeComponent(oh,lh,dh,!1,null,null,null,null);const uh=ch.exports;const ph={name:"DtRecipeFeedItemRow",components:{DtAvatar:Kt,DtLazyShow:Qe,DtListItem:gt},inheritAttrs:!1,props:{showHeader:{type:Boolean,default:!1},avatarImageUrl:{type:String,default:""},displayName:{type:String,default:""},time:{type:String,default:""},shortTime:{type:String,default:""},isActive:{type:Boolean,default:!1}},emits:["hover","focus"],computed:{avatarInitials(){return(this.displayName||"").split(" ").map(n=>n.charAt(0)).join("").slice(0,2).toUpperCase()},feedListeners(){return{...this.$listeners,mouseenter:()=>this.setHover(!0),mouseleave:()=>this.setHover(!1),focusin:()=>this.setFocus(!0),focusout:()=>this.setFocus(!1)}}},methods:{setFocus(t){this.$emit("focus",t)},setHover(t){this.$emit("hover",t)}}};var fh=function(){var e=this,n=e._self._c;return n("dt-list-item",e._g(e._b({ref:"FeedItemRef",class:["d-w100p","d-box-border","d-ps-relative","d-px8",{"d-bgc-secondary-opaque":e.isActive}],attrs:{"navigation-type":"none","data-qa":"feed-item-row"},scopedSlots:e._u([{key:"left",fn:function(){return[e.showHeader?n("dt-avatar",{attrs:{"avatar-class":"d-mt4",initials:e.avatarInitials}},[e.avatarImageUrl?n("img",{attrs:{"data-qa":"feed-item-row-avatar-img",alt:"",src:e.avatarImageUrl}}):e._e()]):e._e(),e.showHeader?e._e():n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"d-fs-100 d-fw-normal d-ws-nowrap d-lh-100 d-fc-tertiary d-mb6",attrs:{"data-qa":"feed-item-row-left-time"}},[e._v(" "+e._s(e.shortTime)+" ")])]},proxy:!0},{key:"bottom",fn:function(){return[n("div",{staticClass:"d-d-flex d-fw-wrap",attrs:{"data-qa":"feed-item-row-reactions"}},[e._t("reactions")],2),e._t("threading")]},proxy:!0},{key:"right",fn:function(){return[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"d-ps-absolute d-tn16 d-r12",attrs:{"data-qa":"feed-item-row-menu"}},[n("dt-lazy-show",{attrs:{appear:!0,transition:"fade",show:e.isActive}},[e._t("menu")],2)],1)]},proxy:!0}],null,!0)},"dt-list-item",e.$attrs,!1),e.feedListeners),[n("article",[e.showHeader?n("div",{staticClass:"d-d-flex d-ai-center",attrs:{"data-qa":"feed-item-row-header"}},[n("p",{staticClass:"d-fs-200 d-lh-300 d-fw-bold d-to-ellipsis d-of-hidden d-ws-nowrap"},[e._v(" "+e._s(e.displayName)+" ")]),n("time",{staticClass:"d-fs-100 d-mt2 d-lh-300 d-fc-tertiary d-fw-normal d-ml4 d-fl-shrink0"},[e._v(" "+e._s(e.time)+" ")])]):e._e(),n("span",{staticClass:"content-text-wrapper-class",attrs:{"data-qa":"feed-item-row-content"}},[e._t("default")],2)])])},hh=[],mh=_.normalizeComponent(ph,fh,hh,!1,null,null,null,null);const _h=mh.exports;const gh={name:"DtRecipeTimePill",props:{dateTimeDisplay:{type:String,required:!0},dateTime:{type:String,required:!0,validator:t=>{const e=new Date(t);return e instanceof Date&&!isNaN(e)}}}};var vh=function(){var e=this,n=e._self._c;return n("time",{staticClass:"d-ba d-bar-pill d-baw1 d-bc-black-300 d-px16 d-py4 d-fs-100",attrs:{"data-qa":"dt-time-pill",dateTime:e.dateTime}},[e._v(" "+e._s(e.dateTimeDisplay)+" ")])},bh=[],yh=_.normalizeComponent(gh,vh,bh,!1,null,null,null,null);const Sh=yh.exports,fa=["emojiUnicodeOrShortname","isSelected","ariaLabel","tooltip","num"];const Ch={name:"DtRecipeEmojiRow",components:{DtTooltip:Jt,DtButton:q,DtEmoji:_.DtEmoji,DtEmojiTextWrapper:_.DtEmojiTextWrapper},mixins:[],props:{reactions:{type:Array,default:()=>[],validator:t=>{for(const e of t)if(!fa.every(i=>e[i]!==void 0))return!1;return!0}}},emits:["emoji-clicked","emoji-hovered"],methods:{emojiClicked(t){this.$emit("emoji-clicked",t.emojiUnicodeOrShortname)},emojiHovered(t,e){this.$emit("emoji-hovered",{reaction:t.emojiUnicodeOrShortname,state:e})}}};var xh=function(){var e=this,n=e._self._c;return n("span",{staticClass:"d-d-flex d-fw-wrap"},e._l(e.reactions,function(i){return n("span",{key:i.unicodeOutput,staticClass:"d-mr4 d-mb4",attrs:{reaction:i}},[n("dt-tooltip",{staticClass:"d-d-inline-block",attrs:{"content-class":"d-wmx464"},on:{shown:a=>e.emojiHovered(i,a)},scopedSlots:e._u([{key:"anchor",fn:function({attrs:a}){return[n("dt-button",{class:["d-h24 d-bar16 d-py0 d-fs-200 d-mb0 d-t",i.isSelected?`d-fc-purple-500 d-bgc-purple-400 d-bgo10 d-bc-purple-400 d-bco50 ' +
|
|
31
|
-
'h:d-bgc-purple-400 h:d-bco25 a:d-bgc-purple-400 a:d-bco25`:"d-fc-black-600 d-bgc-black-100 h:d-bgc-white h:d-bc-black-600 a:d-bgc-white a:d-bc-black-600"],attrs:{importance:"clear",size:"sm","data-qa":"feed-item-reaction-button","aria-label":
|
|
29
|
+
`,"2) content: () => element.cloneNode(true)"].join(" "))}var Ee=F.reduce(function(Se,mt){var Ie=mt&&$6(mt,t);return Ie&&Se.push(Ie),Se},[]);return kn(n)?Ee[0]:Ee}zn.defaultProps=y5;zn.setDefaultProps=T6;zn.currentInput=B5;Object.assign({},Os,{effect:function(e){var s=e.state,t={popper:{position:s.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(s.elements.popper.style,t.popper),s.styles=t,s.elements.arrow&&Object.assign(s.elements.arrow.style,t.arrow)}});var k6={name:"sticky",defaultValue:!1,fn:function(e){var s=e.reference,t=e.popper;function F(){return e.popperInstance?e.popperInstance.state.elements.reference:s}function ie(mt){return e.props.sticky===!0||e.props.sticky===mt}var Ce=null,Ee=null;function Se(){var mt=ie("reference")?F().getBoundingClientRect():null,Ie=ie("popper")?t.getBoundingClientRect():null;(mt&&Va(Ce,mt)||Ie&&Va(Ee,Ie))&&e.popperInstance&&e.popperInstance.update(),Ce=mt,Ee=Ie,e.state.isMounted&&requestAnimationFrame(Se)}return{onMount:function(){e.props.sticky&&Se()}}}};function Va(n,e){return n&&e?n.top!==e.top||n.right!==e.right||n.bottom!==e.bottom||n.left!==e.left:!0}zn.setDefaultProps({render:Ks});const P6=n=>({name:"arrowDetected",enabled:!0,phase:"main",fn:n,requiresIfExists:["offset"]}),N6=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Us=[!0,!1,"reference","popper"],Gs=(n,e)=>{const{contentElement:s}={...e};return delete e.contentElement,zn(n,{...e,plugins:[k6],render:()=>M6(s)})},Ws=({boundary:n="clippingParents",fallbackPlacements:e=[],onChangePlacement:s=()=>{},hasHideModifierEnabled:t=!1,tether:F=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:e,boundary:n}},{name:"hide",enabled:t},{name:"preventOverflow",options:{altAxis:!F,tether:F}},P6(({state:ie})=>{s(ie.placement)})]}),B6=n=>{const e=document.createElement("span");return e.innerText=n.innerText||"",n.innerText="",n.appendChild(e),e},ja=n=>{const e=n==null?void 0:n.children[0];return e||B6(n)},M6=n=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(n),{popper:e}},Vi={none:void 0,small:"d-p4",medium:"d-p8",large:"d-p16"},Ys={none:void 0,small:"d-pl4",medium:"d-pl8",large:"d-pl16"},Zs=["dialog","menu","listbox","tree","grid"],ia=["","anchor"],Xs=["none","dialog","first"],oi=["parent","body"],F6=[...Us];let V6="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",j6=(n=21)=>{let e="",s=n;for(;s--;)e+=V6[Math.random()*64|0];return e};function Xn(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Xn=function(e){return typeof e}:Xn=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xn(n)}var Qs={selector:"vue-portal-target-".concat(j6())},z6=function(e){return Qs.selector=e},Ii=typeof window<"u"&&(typeof document>"u"?"undefined":Xn(document))!==void 0,H6=S5.extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(e){return{updatedNodes:e.nodes}},render:function(e){var s=this.updatedNodes&&this.updatedNodes();return s?s.length===1&&!s[0].text?s:e(this.tag||"DIV",s):e()},destroyed:function(){var e=this.$el;e&&e.parentNode.removeChild(e)}}),aa=S5.extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(Qs.selector)}},tag:{type:String,default:"DIV"}},render:function(e){if(this.disabled){var s=this.$scopedSlots&&this.$scopedSlots.default();return s?s.length<2&&!s[0].text?s:e(this.tag,s):e()}return e()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var e=this;this.$nextTick(function(){!e.disabled&&e.slotFn!==e.$scopedSlots.default&&(e.container.updatedNodes=e.$scopedSlots.default),e.slotFn=e.$scopedSlots.default})},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(e){e?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(Ii)return document.querySelector(this.selector)},insertTargetEl:function(){if(Ii){var e=document.querySelector("body"),s=document.createElement(this.tag);s.id=this.selector.substring(1),e.appendChild(s)}},mount:function(){if(Ii){var e=this.getTargetEl(),s=document.createElement("DIV");this.prepend&&e.firstChild?e.insertBefore(s,e.firstChild):e.appendChild(s),this.container=new H6({el:s,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function q6(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.component(e.name||"portal",aa),e.defaultSelector&&z6(e.defaultSelector)}typeof window<"u"&&window.Vue&&window.Vue===S5&&S5.use(q6);const K6={name:"PopoverHeaderFooter",components:{DtButton:d5,DtIcon:n5},props:{type:{type:String,validator:function(n){return["header","footer"].includes(n)}},contentClass:{type:[String,Array,Object],default:""},showCloseButton:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>{}}},emits:["close"],methods:{focusCloseButton(){var e;const n=(e=this.$refs["popover__close-button"])==null?void 0:e.$el;n==null||n.focus()}}};var U6=function(){var e=this,s=e._self._c;return s("div",{class:{"d-popover__header":e.type==="header","d-popover__footer":e.type==="footer"},attrs:{"data-qa":"dt-popover-header-footer"}},[e.$slots.content?s("div",{class:["d-to-ellipsis","d-w100p",e.contentClass],attrs:{"data-qa":"dt-popover-header-footer-content"}},[e._t("content")],2):e._e(),e.showCloseButton?s("dt-button",e._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(t){return e.$emit("close")}},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{attrs:{name:"close",size:"300"}})]},proxy:!0}],null,!1,2538694920)},"dt-button",e.closeButtonProps,!1)):e._e()],1)},G6=[],W6=Ge.normalizeComponent(K6,U6,G6,!1,null,null,null,null);const Y6=W6.exports;const Z6={name:"DtPopover",components:{SrOnlyCloseButton:ai,DtLazyShow:wn,PopoverHeaderFooter:Y6,Portal:aa},mixins:[Mn,K5],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:n=>Zs.includes(n)},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null},closeButtonProps:{type:Object,default:()=>({})},padding:{type:String,default:"large",validator:n=>Object.keys(Vi).some(e=>e===n)},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:"",validator:n=>ia.includes(n)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return s5()}},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:n=>F6.includes(n)},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:n=>Xs.includes(n)||n instanceof HTMLElement||n.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1},appendTo:{type:[HTMLElement,String],default:"body",validator:n=>oi.includes(n)||n instanceof HTMLElement}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:Vi,POPOVER_HEADER_FOOTER_PADDING_CLASSES:Ys,intersectionObserver:null,isOutsideViewport:!1,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{popoverListeners(){return{...this.$listeners,keydown:n=>{this.onKeydown(n),this.$emit("keydown",n)},"after-leave":n=>{this.onLeaveTransitionComplete()},"after-enter":n=>{this.onEnterTransitionComplete()}}},calculatedMaxHeight(){return this.isOutsideViewport&&this.modal?"calc(100vh - var(--dt-space-300))":this.maxHeight},labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&s5("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(n){var e;(e=this.tip)==null||e.setProps({zIndex:n?650:this.calculateAnchorZindex()})},offset(n){var e;(e=this.tip)==null||e.setProps({offset:n})},sticky(n){var e;(e=this.tip)==null||e.setProps({sticky:n})},fallbackPlacements(){var n;(n=this.tip)==null||n.setProps({popperOptions:this.popperOptions()})},tether(){var n;(n=this.tip)==null||n.setProps({popperOptions:this.popperOptions()})},placement(n){var e;(e=this.tip)==null||e.setProps({placement:n})},open:{handler:function(n){n!==null&&(this.isOpen=n)},immediate:!0},isOpen(n,e){n?(this.initTippyInstance(),this.tip.show()):!n&&e!==n&&(this.removeEventListeners(),this.tip.hide())}},mounted(){const n=this.externalAnchor?this.$refs.anchor.getRootNode().querySelector(`#${this.externalAnchor}`):null;this.anchorEl=n??this.$refs.anchor.children[0],this.popoverContentEl=this.$refs.content.$el,this.isOpen&&(this.initTippyInstance(),this.tip.show()),this.intersectionObserver=new IntersectionObserver(this.hasIntersectedViewport),this.intersectionObserver.observe(this.popoverContentEl)},beforeDestroy(){var n;(n=this.tip)==null||n.destroy(),this.intersectionObserver.disconnect(),this.removeReferences(),this.removeEventListeners()},methods:{hasIntersectedViewport(n){var t;const e=(t=n==null?void 0:n[0])==null?void 0:t.target;if(!e)return;const s=Ja(e);this.isOutsideViewport=s.bottom||s.top},popperOptions(){return Ws({fallbackPlacements:this.fallbackPlacements,tether:this.tether,hasHideModifierEnabled:!0})},validateProps(){this.modal&&this.initialFocusElement==="none"&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){var n;return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||(n=this.anchorEl)!=null&&n.closest(".d-zi-drawer")?650:300},defaultToggleOpen(n){var e,s;this.openOnContext||(this.open??((e=this.anchorEl)!=null&&e.contains(n.target)&&!((s=this.anchorEl)!=null&&s.disabled)&&this.toggleOpen()))},async onContext(n){this.openOnContext&&(n.preventDefault(),this.isOpen=!0,await this.$nextTick(),this.tip.setProps({placement:"right-start",getReferenceClientRect:()=>({width:0,height:0,top:n.clientY,bottom:n.clientY,left:n.clientX,right:n.clientX})}))},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(n){var e;this.open===null&&this.openWithArrowKeys&&(e=this.anchorEl)!=null&&e.contains(n.target)&&(this.isOpen||(this.isOpen=!0))},addEventListeners(){window.addEventListener("dt-popover-close",this.closePopover),this.contentWidth==="anchor"&&window.addEventListener("resize",this.onResize)},removeEventListeners(){window.removeEventListener("dt-popover-close",this.closePopover),this.contentWidth==="anchor"&&window.removeEventListener("resize",this.onResize)},closePopover(){this.isOpen=!1},preventScrolling(){var n;if(this.modal){const e=(n=this.anchorEl)==null?void 0:n.closest("body, .tippy-box");e.tagName.toLowerCase()==="body"?(e.classList.add("d-of-hidden"),this.tip.setProps({offset:this.offset})):e.classList.add("d-zi-popover")}},enableScrolling(){var e,s;const n=(e=this.anchorEl)==null?void 0:e.closest("body, .tippy-box");n&&(((s=n.tagName)==null?void 0:s.toLowerCase())==="body"?(n.classList.remove("d-of-hidden"),this.tip.setProps({offset:this.offset})):n.classList.remove("d-zi-popover"))},removeReferences(){this.anchorEl=null,this.popoverContentEl=null,this.tip=null},async onShow(){this.contentWidth==="anchor"&&await this.setPopoverContentAnchorWidth(),this.contentWidth===null&&(this.popoverContentEl.style.width="auto"),this.addEventListeners()},async onLeaveTransitionComplete(){var n;this.modal&&(await this.focusFirstElement(this.$refs.anchor),await this.$nextTick(),this.enableScrolling()),(n=this.tip)==null||n.unmount(),this.$emit("opened",!1),this.open!==null&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),await this.$nextTick(),this.preventScrolling(),this.$emit("opened",!0,this.$refs.popover__content),this.open!==null&&this.$emit("update:open",!0)},focusInitialElement(){this.initialFocusElement==="dialog"&&this.$refs.content.$el.focus(),this.initialFocusElement.startsWith("#")&&this.focusInitialElementById(),this.initialFocusElement==="first"&&this.focusFirstElementIfNeeded(this.$refs.popover__content),this.initialFocusElement instanceof HTMLElement&&this.initialFocusElement.focus()},focusInitialElementById(){var e,s,t;const n=(s=(e=this.$refs.content)==null?void 0:e.$el)==null?void 0:s.querySelector(this.initialFocusElement);n?n.focus():console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'),n?n.focus():(t=this.$refs.content)==null||t.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;this.popoverContentEl.querySelector(".d-popover__anchor--opened")||this.closePopover()},onKeydown(n){n.key==="Tab"&&this.modal&&this.focusTrappedTabPress(n,this.popoverContentEl),n.key==="Escape"&&this.closePopover()},async setPopoverContentAnchorWidth(){var n;await this.$nextTick(),this.popoverContentEl.style.width=`${(n=this.anchorEl)==null?void 0:n.clientWidth}px`},focusFirstElementIfNeeded(n){var s,t;this._getFocusableElements(n,!0).length!==0?this.focusFirstElement(n):this.showCloseButton?(s=this.$refs.popover__header)==null||s.focusCloseButton():(t=this.$refs.content)==null||t.$el.focus()},initTippyInstance(){var n,e;this.tip=Gs(this.anchorEl,{popperOptions:this.popperOptions(),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,sticky:this.sticky,appendTo:this.appendTo==="body"?(e=(n=this.anchorEl)==null?void 0:n.getRootNode())==null?void 0:e.querySelector("body"):this.appendTo,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow})}}};var X6=function(){var e=this,s=e._self._c;return s("div",[e.modal&&e.isOpen?s("portal",[s("div",{staticClass:"d-modal--transparent",attrs:{"aria-hidden":e.modal&&e.isOpen?"false":"true"},on:{click:function(t){t.preventDefault(),t.stopPropagation()}}})]):e._e(),s(e.elementType,e._g({ref:"popover",tag:"component",class:["d-popover",{"d-popover__anchor--opened":e.isOpen}],attrs:{"data-qa":"dt-popover-container"}},e.$listeners),[s("div",{ref:"anchor",attrs:{id:!e.ariaLabelledby&&e.labelledBy,"data-qa":"dt-popover-anchor",tabindex:e.openOnContext?0:void 0},on:{"!click":function(t){return e.defaultToggleOpen.apply(null,arguments)},contextmenu:e.onContext,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.onArrowKeyPress.apply(null,arguments))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.onArrowKeyPress.apply(null,arguments))}],"!keydown":function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"escape",void 0,t.key,void 0)?null:e.closePopover.apply(null,arguments)}}},[e._t("anchor",null,{attrs:{"aria-expanded":e.isOpen.toString(),"aria-controls":e.id,"aria-haspopup":e.role}})],2),s("dt-lazy-show",e._g({ref:"content",class:["d-popover__dialog",{"d-popover__dialog--modal":e.modal},e.dialogClass],style:{"max-height":e.calculatedMaxHeight,"max-width":e.maxWidth},attrs:{id:e.id,role:e.role,"data-qa":"dt-popover","aria-hidden":`${!e.isOpen}`,"aria-labelledby":e.labelledBy,"aria-label":e.ariaLabel,"aria-modal":`${!e.modal}`,transition:e.transition,show:e.isOpen,tabindex:e.contentTabindex,appear:""}},e.popoverListeners),[e.$slots.headerContent||e.showCloseButton?s("popover-header-footer",{ref:"popover__header",class:e.POPOVER_HEADER_FOOTER_PADDING_CLASSES[e.padding],attrs:{"content-class":e.headerClass,type:"header","show-close-button":e.showCloseButton,"close-button-props":e.closeButtonProps},on:{close:e.closePopover},scopedSlots:e._u([{key:"content",fn:function(){return[e._t("headerContent",null,{close:e.closePopover})]},proxy:!0}],null,!0)}):e._e(),s("div",{ref:"popover__content",class:["d-popover__content",e.POPOVER_PADDING_CLASSES[e.padding],e.contentClass],attrs:{"data-qa":"dt-popover-content"}},[e._t("content",null,{close:e.closePopover})],2),e.$slots.footerContent?s("popover-header-footer",{ref:"popover__footer",class:e.POPOVER_HEADER_FOOTER_PADDING_CLASSES[e.padding],attrs:{type:"footer","content-class":e.footerClass},scopedSlots:e._u([{key:"content",fn:function(){return[e._t("footerContent",null,{close:e.closePopover})]},proxy:!0}],null,!0)}):e._e(),e.showVisuallyHiddenClose?s("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel},on:{close:e.closePopover}}):e._e()],1)],1)],1)},Q6=[],J6=Ge.normalizeComponent(Z6,X6,Q6,!1,null,null,null,null);const li=J6.exports,Ln={none:void 0,small:"d-py0",large:"d-py4"};const ed={name:"DtDropdown",components:{DtPopover:li,SrOnlyCloseButton:ai},mixins:[Yi({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),K5],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},padding:{type:String,default:"small",validator:n=>Object.keys(Ln).some(e=>e===n)},modal:{type:Boolean,default:!0},contentWidth:{type:String,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},listId:{type:String,default(){return s5()}},navigationType:{type:String,default:un.ARROW_KEYS,validator:n=>Object.values(un).includes(n)},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:""},appendTo:{type:[HTMLElement,String],default:"body",validator:n=>oi.includes(n)||n instanceof HTMLElement},tether:{type:Boolean,default:!0},transition:{type:String,default:"fade"}},emits:["highlight","opened","update:open"],data(){return{LIST_ITEM_NAVIGATION_TYPES:un,DROPDOWN_PADDING_CLASSES:Ln,EVENT_KEYNAMES:l5,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:n=>{this.updateInitialHighlightIndex(n)},keydown:n=>{switch(n.code){case l5.up:case l5.arrowup:this.onUpKeyPress(n),n.stopPropagation(),n.preventDefault();break;case l5.down:case l5.arrowdown:this.onDownKeyPress(n),n.stopPropagation(),n.preventDefault();break;case l5.space:case l5.spacebar:this.onSpaceKey();break;case l5.enter:this.onEnterKey();break;case l5.home:this.onHomeKeyPress(n),n.stopPropagation(),n.preventDefault();break;case l5.end:this.onEndKeyPress(n),n.stopPropagation(),n.preventDefault();break;default:this.onKeyPress(n);break}this.$emit("keydown",n)}}},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",Ln[this.padding],this.listClass,{"d-context-menu-list":this.openOnContext}]},shouldOpenWithArrowKeys(){return!this.openOnContext}},methods:{onMouseHighlight(n){const e=n.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(n){this.isOpen=n,n?(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){this.openedWithKeyboard=!0;return}if(this.isArrowKeyNav)return this.onUpKey()},onDownKeyPress(){if(!this.isOpen){this.openedWithKeyboard=!0;return}if(this.isArrowKeyNav)return this.onDownKey()},onHomeKeyPress(){if(!(!this.isOpen||!this.isArrowKeyNav))return this.onHomeKey()},onEndKeyPress(){if(!(!this.isOpen||!this.isArrowKeyNav))return this.onEndKey()},onKeyPress(n){if(!(!this.isOpen||!this.isArrowKeyNav||!this.isValidCharacter(n.key)))return n.stopPropagation(),n.preventDefault(),this.onNavigationKey(n.key)}}};var td=function(){var e=this,s=e._self._c;return s("dt-popover",e._g({ref:"popover",attrs:{"content-width":e.contentWidth,open:e.open,placement:e.placement,"initial-focus-element":e.openedWithKeyboard?"first":"dialog","fallback-placements":e.fallbackPlacements,padding:"none",role:"menu","append-to":e.appendTo,modal:e.modal,"max-height":e.maxHeight,"max-width":e.maxWidth,"open-with-arrow-keys":e.shouldOpenWithArrowKeys,"open-on-context":e.openOnContext,tether:e.tether,transition:e.transition},scopedSlots:e._u([{key:"anchor",fn:function({attrs:t}){return[e._t("anchor",null,null,t)]}},{key:"content",fn:function({close:t}){return[s("ul",{ref:"listWrapper",class:e.listClasses,attrs:{id:e.listId,"data-qa":"dt-dropdown-list-wrapper"},on:{mouseleave:e.clearHighlightIndex,"!mousemove":function(F){return e.onMouseHighlight.apply(null,arguments)}}},[e._t("list",null,{close:t}),e.showVisuallyHiddenClose?s("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel,tabindex:e.isArrowKeyNav?-1:0},on:{close:t}}):e._e()],2)]}}],null,!0)},e.dropdownListeners))},nd=[],id=Ge.normalizeComponent(ed,td,nd,!1,null,null,null,null);const Js=id.exports;const ad={name:"DtDropdownSeparator"};var sd=function(){var e=this,s=e._self._c;return s("li",{staticClass:"dt-list-separator d-my4 d-mxn4",attrs:{"aria-hidden":"true"}})},rd=[],od=Ge.normalizeComponent(ad,sd,rd,!1,null,null,null,null);const ld=od.exports,dd={name:"DtImageViewer",components:{Portal:aa,DtButton:d5,DtIcon:n5},mixins:[Mn],props:{open:{type:Boolean,default:null},imageSrc:{type:String,required:!0},imageAlt:{type:String,required:!0},imageButtonClass:{type:String,required:!1,default:""},ariaLabel:{type:String,required:!0},closeAriaLabel:{type:String,required:!0}},emits:["opened","update:open"],data(){return{showCloseButton:!0,isOpen:!1}},computed:{modalListeners(){return{...this.$listeners,click:n=>{n.target===n.currentTarget&&this.close()},keydown:n=>{switch(n.code){case l5.esc:case l5.escape:this.close();break;case l5.tab:this.trapFocus(n);break}}}}},watch:{isOpen:{immediate:!0,handler(n){var e;n?this.previousActiveElement=document.activeElement:((e=this.previousActiveElement)==null||e.focus(),this.previousActiveElement=null)}},open:{handler:function(n){n!==null&&(this.isOpen=n)},immediate:!0}},methods:{openModal(){this.open===null&&(this.isOpen=!0,this.showCloseButton=!0,this.$emit("opened",!0),setTimeout(()=>{this.focusAfterOpen()}))},close(){this.isOpen=!1,this.$emit("opened",!1),this.open!==null&&this.$emit("update:open",!1)},focusAfterOpen(){var n;(n=this.$refs.closeImage)==null||n.$el.focus()},trapFocus(n){this.isOpen&&this.focusTrappedTabPress(n)}}};var cd=function(){var e=this,s=e._self._c;return s("div",[s("dt-button",{staticClass:"d-p0 d-c-zoom-in",attrs:{"data-qa":"dt-image-viewer-preview","aria-label":e.ariaLabel,importance:"clear"},on:{click:e.openModal}},[s("img",{class:e.imageButtonClass,attrs:{src:e.imageSrc,alt:e.imageAlt}})]),e.isOpen?s("portal",[s("div",e._g({staticClass:"d-modal",attrs:{"aria-hidden":e.isOpen?"false":"true","data-qa":"dt-modal"},on:{mouseover:function(t){e.showCloseButton=!0},mouseleave:function(t){e.showCloseButton=!1},focusin:function(t){e.showCloseButton=!0},focusout:function(t){e.showCloseButton=!1}}},e.modalListeners),[s("div",{staticClass:"d-p0 d-bar0 d-wmx80p d-hmx80p",attrs:{"data-qa":"dt-image-viewer-full",role:"dialog","aria-modal":"true"}},[s("img",{staticClass:"d-wmx100p d-hmx100p",attrs:{src:e.imageSrc,alt:e.imageAlt}})]),s("transition",{attrs:{name:"fade"}},[e.showCloseButton?s("dt-button",{ref:"closeImage",staticClass:"d-modal__close",attrs:{"data-qa":"dt-image-viewer-close-btn",circle:"",size:"lg",importance:"clear",kind:"inverted","aria-label":e.closeAriaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)}):e._e()],1)],1)]):e._e()],1)},ud=[],pd=Ge.normalizeComponent(dd,cd,ud,!1,null,null,null,null);const fd=pd.exports,Qn={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number",DATE:"date",TIME:"time"},_n={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};function Hn(n){return n?n.every(e=>typeof e=="string"?!0:typeof e=="object"?Object.values(x5).includes(e==null?void 0:e.type):!1):!0}const hd={name:"DtValidationMessages",props:{id:{type:String,default(){return s5()}},validationMessages:{type:Array,default:()=>[],validator:n=>Hn(n)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return this.filteredValidationMessages.length===0},filteredValidationMessages(){return Ki(this.validationMessages)},validationState(){return Q5(this.validationMessages)}},methods:{getMessageKey(n,e){return`validation-message-${n}-${e}-${this.id}`},messageTypeClass(n){return{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"}[n]}}};var md=function(){var e=this,s=e._self._c;return e.showMessages&&!e.isFilteredValidationMessagesEmpty?s("div",{staticClass:"base-input__messages d-d-flex d-fd-column",attrs:{"data-qa":"validation-messages-container"}},e._l(e.filteredValidationMessages,function({message:t,type:F},ie){return s("div",{key:e.getMessageKey(F,ie),class:["base-input__message","d-validation-message",e.messageTypeClass(F)],attrs:{role:"status","aria-live":"polite","data-qa":"validation-message"}},[s("p",{domProps:{innerHTML:e._s(t)}})])}),0):e._e()},vd=[],_d=Ge.normalizeComponent(hd,md,vd,!1,null,null,null,null);const en=_d.exports,sa={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:n=>n?Object.values(x5).includes(n):!0},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(n){this.internalDisabled=n},validationState(n){this.internalValidationState=n}},methods:{validateInputLabels(n,e){!n&&!e&&S5.util.warn("You must provide an aria-label when there is no label passed",this)}}},ra={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(n){this.internalChecked=n},indeterminate(n){this.internalIndeterminate=n}}},oa={inject:{groupContext:{default:{}},setGroupValue:{default:()=>()=>{}}},data(){return{internalValue:this.value}},computed:{hasGroup(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName(){var n;return((n=this.groupContext)==null?void 0:n.name)??""},groupValue(){var n;return(n=this.groupContext)==null?void 0:n.value},groupDisabled(){var n;return((n=this.groupContext)==null?void 0:n.disabled)??!1},groupValidationState(){var n;return((n=this.groupContext)==null?void 0:n.validationState)??null},internalName(){return this.name||this.groupName}},watch:{value(n){this.internalValue=n},groupValue:{immediate:!0,handler(n){this.hasGroup&&(this.internalValue=n)}},groupDisabled:{immediate:!0,handler(n){this.hasGroup&&(this.internalDisabled=this.disabled||n)}},groupValidationState:{immediate:!0,handler(n){this.hasGroup&&(this.internalValidationState=n||this.validationState)}}},created(){var s;const n=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),e=(s=this.groupContext)==null?void 0:s.name;this.name&&n&&e!==this.name&&S5.util.warn(`Component is being used inside a Group. Did you mean to override the name prop value (${e}) with (${this.name})? It is recommended to only set name at the Group level.`,this)}},di={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:n=>Hn(n)}},computed:{formattedMessages(){return Dn(this.messages)}}},gd={name:"DtInput",components:{DtValidationMessages:en},mixins:[di],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Qn.TEXT,validator:n=>Object.values(Qn).includes(n)},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:n=>Object.values(_n).includes(n)},iconSize:{type:String,default:null,validator:n=>Object.values(_n).includes(n)},inputClass:{type:[String,Object,Array],default:""},inputWrapperClass:{type:[String,Object,Array],default:""},currentLength:{type:Number,default:null},retainWarning:{type:Boolean,default:!1},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===Qn.TEXTAREA},isDefaultSize(){return this.size===_n.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===_n.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(_n).includes(this.size)},isValidDescriptionSize(){return Object.values(Ga).includes(this.size)},inputComponent(){return this.isTextarea?"textarea":"input"},inputListeners(){return{...this.$listeners,input:n=>this.$emit("input",n.target.value),focus:n=>{this.isInputFocused=!0,this.$emit("focus",n)},blur:n=>{this.isInputFocused=!1,this.onBlur(n)}}},descriptionKey(){return`input-description-${s5()}`},inputState(){return Q5(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.value)},validationProps(){var n,e,s,t,F,ie,Ce,Ee,Se,mt;return{length:{description:(e=(n=this==null?void 0:this.validate)==null?void 0:n.length)==null?void 0:e.description,max:(t=(s=this==null?void 0:this.validate)==null?void 0:s.length)==null?void 0:t.max,warn:(ie=(F=this==null?void 0:this.validate)==null?void 0:F.length)==null?void 0:ie.warn,message:(Ee=(Ce=this==null?void 0:this.validate)==null?void 0:Ce.length)==null?void 0:Ee.message,limitMaxLength:(mt=(Se=this==null?void 0:this.validate)==null?void 0:Se.length)!=null&&mt.limitMaxLength?this.validate.length.limitMaxLength:!1}}},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?x5.WARNING:null:x5.ERROR},shouldValidateLength(){return!!(this.validationProps.length.description&&this.validationProps.length.max)},shouldLimitMaxLength(){return this.shouldValidateLength&&this.validationProps.length.limitMaxLength},showLengthLimitValidation(){return this.shouldValidateLength&&this.inputLengthState!==null&&this.validationProps.length.message&&(this.retainWarning||this.isInputFocused||this.isInvalid)},sizeModifierClass(){return this.isDefaultSize||!this.isValidSize?"":{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"}}[this.inputComponent][this.size]},stateClass(){return[{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"}}[this.inputComponent][this.inputState]]}},watch:{isInvalid(n){this.$emit("update:invalid",n)},value:{immediate:!0,handler(n){this.shouldValidateLength&&this.validateLength(this.inputLength),this.currentLength==null&&this.$emit("update:length",this.calculateLength(n))}}},methods:{inputClasses(){return["base-input__input",this.inputComponent==="input"?"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(n){return typeof n!="string"?0:[...n].length},inputLengthErrorMessage(){return{message:this.validationProps.length.message,type:this.inputLengthState}},inputIconClasses(n){const e={xs:"d-input-icon--xs",sm:"d-input-icon--sm",lg:"d-input-icon--lg",xl:"d-input-icon--xl"};return[{left:"base-input__icon--left d-input-icon--left",right:"base-input__icon--right d-input-icon--right"}[n],"d-input-icon",{[e[this.iconSizeComputed]]:!this.isDefaultIconSize},this.sizeModifierClass]},onBlur(n){var e;(e=this.$refs.container)!=null&&e.contains(n.relatedTarget)||this.$emit("blur",n)},clear(){this.$emit("input",""),this.$emit("clear")},blur(){this.$refs.input.blur()},focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},getMessageKey(n,e){return`message-${n}-${e}`},validateLength(n){this.isInvalid=n>this.validationProps.length.max}}};var bd=function(){var e=this,s=e._self._c;return s("div",{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[s("label",{staticClass:"base-input__label",attrs:{"aria-details":e.$slots.description||e.description?e.descriptionKey:void 0,"data-qa":"dt-input-label-wrapper"}},[e._t("labelSlot",function(){return[e.labelVisible&&e.label?s("div",{ref:"label",class:["base-input__label-text","d-label",e.labelSizeClasses[e.size]],attrs:{"data-qa":"dt-input-label"}},[e._v(" "+e._s(e.label)+" ")]):e._e()]}),e.$slots.description||e.description||e.shouldValidateLength?s("div",{ref:"description",class:["base-input__description","d-description","d-fd-column",e.descriptionSizeClasses[e.size]],attrs:{id:e.descriptionKey,"data-qa":"dt-input-description"}},[e.$slots.description||e.description?s("div",[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),e.shouldValidateLength?s("div",{class:["d-mb2"],attrs:{"data-qa":"dt-input-length-description"}},[e._v(" "+e._s(e.validationProps.length.description)+" ")]):e._e()]):e._e(),s("div",{class:e.inputWrapperClasses(),attrs:{"read-only":e.disabled}},[e.$slots.leftIcon?s("span",{class:e.inputIconClasses("left"),attrs:{"data-qa":"dt-input-left-icon-wrapper"},on:{focusout:e.onBlur}},[e._t("leftIcon")],2):e._e(),e.isTextarea?s("textarea",e._g(e._b({ref:"input",class:e.inputClasses(),attrs:{name:e.name,disabled:e.disabled,maxlength:e.shouldLimitMaxLength?e.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:e.value}},"textarea",e.$attrs,!1),e.inputListeners)):s("input",e._g(e._b({ref:"input",class:e.inputClasses(),attrs:{name:e.name,type:e.type,disabled:e.disabled,maxlength:e.shouldLimitMaxLength?e.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:e.value}},"input",e.$attrs,!1),e.inputListeners)),e.$slots.rightIcon?s("span",{class:e.inputIconClasses("right"),attrs:{"data-qa":"dt-input-right-icon-wrapper"},on:{focusout:e.onBlur}},[e._t("rightIcon")],2):e._e()])],2),s("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.validationMessages,"show-messages":e.showMessages,"data-qa":"dt-input-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)},yd=[],Cd=Ge.normalizeComponent(gd,bd,yd,!1,null,null,null,null);const er=Cd.exports,tr={components:{DtValidationMessages:en},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return s5()}},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:n=>Hn(n)},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 n=Dn(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:Q5(n)}}},computed:{formattedMessages(){return Dn(this.messages)},validationState(){return Q5(this.formattedMessages)}},watch:{disabled(n){this.provideObj.disabled=n},validationState(n){this.provideObj.validationState=n}},methods:{setGroupValue(n){this.internalValue=n,this.$emit("input",n)}},mounted(){!this.legend&&!this.$slots.legend&&!this.$attrs["aria-label"]&&S5.util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},Sd={name:"DtInputGroup",components:{DtValidationMessages:en},mixins:[tr],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(n){this.internalValue=n},internalValue(n){this.provideObj.value=n}},methods:{getMessageKey(n,e){return`input-group-message-${n}-${e}-${this.id}`}}};var Ed=function(){var e=this,s=e._self._c;return s("fieldset",{attrs:{"data-qa":e.dataQaGroup}},[e.$slots.legend||e.legend?s("legend",e._b({class:["d-label",e.legendClass],attrs:{"data-qa":e.dataQaGroupLegend}},"legend",e.legendChildProps,!1),[e._t("legend",function(){return[e._v(" "+e._s(e.legend)+" ")]})],2):e._e(),e._t("default"),s("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":e.dataQaGroupMessages}},"dt-validation-messages",e.messagesChildProps,!1))],2)},Id=[],wd=Ge.normalizeComponent(Sd,Ed,Id,!1,null,null,null,null);const la=wd.exports,ji={default:"",danger:"d-modal--danger"},zi={default:"",full:"d-modal--full"},za={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"},xd={name:"DtNotice",components:{DtNoticeIcon:Ui,DtNoticeContent:Gi,DtNoticeAction:Wi},mixins:[K5],props:{titleId:{type:String,default:void 0},contentId:{type:String,default:void 0},title:{type:String,default:""},role:{type:String,default:"status",validate(n){return lo.includes(n)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(n){return In.includes(n)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeClass(){return["d-notice",{error:"d-notice--error",info:"d-notice--info",success:"d-notice--success",warning:"d-notice--warning",base:"d-notice--base"}[this.kind],{"d-notice--important":this.important}]}}};var Od=function(){var e=this,s=e._self._c;return s("aside",{class:e.noticeClass,attrs:{"data-qa":"notice"}},[s("dt-notice-icon",{attrs:{kind:e.kind}},[e._t("icon")],2),s("dt-notice-content",e._g({attrs:{"title-id":e.titleId,"content-id":e.contentId,title:e.title,role:e.role},scopedSlots:e._u([{key:"titleOverride",fn:function(){return[e._t("titleOverride")]},proxy:!0}],null,!0)},e.$listeners),[e._t("default")],2),s("dt-notice-action",e._g({attrs:{"hide-close":e.hideClose,"close-button-props":e.closeButtonProps,"visually-hidden-close":e.visuallyHiddenClose,"visually-hidden-close-label":e.visuallyHiddenCloseLabel}},e.$listeners),[e._t("action")],2)],1)},Ad=[],Td=Ge.normalizeComponent(xd,Od,Ad,!1,null,null,null,null);const Ld=Td.exports,Dd={name:"DtModal",components:{DtLazyShow:wn,DtButton:d5,DtIcon:n5,SrOnlyCloseButton:ai},mixins:[Mn,K5],props:{closeButtonProps:{type:Object,required:!0,validator:n=>!!n.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return s5()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:n=>Object.keys(ji).includes(n)},size:{type:String,default:"default",validator:n=>Object.keys(zi).includes(n)},modalClass:{type:[String,Object,Array],default:""},dialogClass:{type:[String,Object,Array],default:""},contentClass:{type:[String,Object,Array],default:""},bannerKind:{type:String,default:"warning",validate(n){return In.includes(n)}},bannerClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},fixedHeaderFooter:{type:Boolean,default:!0}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:ji,MODAL_SIZE_MODIFIERS:zi,MODAL_BANNER_KINDS:za,EVENT_KEYNAMES:l5}},computed:{modalListeners(){return{...this.$listeners,click:n=>{this.closeOnClick&&(n.target===n.currentTarget&&this.close(),this.$emit("click",n))},keydown:n=>{switch(n.code){case l5.esc:case l5.escape:this.close();break;case l5.tab:this.trapFocus(n);break}this.$emit("keydown",n)},"after-enter":n=>{n.target===n.currentTarget&&this.setFocusAfterTransition()}}},open(){return`${!this.show}`},hasFooterSlot(){return!!this.$slots.footer},bannerKindClass(){return za[this.bannerKind]}},watch:{show:{immediate:!0,handler(n){var e;n?this.previousActiveElement=document.activeElement:((e=this.previousActiveElement)==null||e.focus(),this.previousActiveElement=null)}},$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{close(){this.$emit("update:show",!1)},setFocusAfterTransition(){this.focusFirstElement()},trapFocus(n){this.show&&this.focusTrappedTabPress(n)},validateProps(){this.hideClose&&!this.visuallyHiddenClose&&console.error(`If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props
|
|
30
|
+
need to be set so the component always includes a close button`)}}};var Rd=function(){var e=this,s=e._self._c;return s("dt-lazy-show",e._g({class:["d-modal",e.MODAL_KIND_MODIFIERS[e.kind],e.MODAL_SIZE_MODIFIERS[e.size],e.modalClass],attrs:{transition:"d-zoom",show:e.show,"data-qa":"dt-modal","aria-hidden":e.open}},e.modalListeners),[e.show&&(e.$slots.banner||e.bannerTitle)?s("div",{class:["d-modal__banner",e.bannerClass,e.bannerKindClass],attrs:{"data-qa":"dt-modal-banner"}},[e._t("banner",function(){return[e._v(" "+e._s(e.bannerTitle)+" ")]})],2):e._e(),s("transition",{attrs:{appear:"",name:"d-modal__dialog"}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],class:["d-modal__dialog",{"d-modal__dialog--scrollable":e.fixedHeaderFooter},e.dialogClass],attrs:{role:"dialog","aria-modal":"true","aria-describedby":e.describedById,"aria-labelledby":e.labelledById}},[e.$slots.header?s("div",{staticClass:"d-modal__header",attrs:{id:e.labelledById,"data-qa":"dt-modal-title"}},[e._t("header")],2):s("h2",{staticClass:"d-modal__header",attrs:{id:e.labelledById,"data-qa":"dt-modal-title"}},[e._v(" "+e._s(e.title)+" ")]),e.$slots.default?s("div",{class:["d-modal__content",e.contentClass],attrs:{"data-qa":"dt-modal-copy"}},[e._t("default")],2):s("p",{class:["d-modal__content",e.contentClass],attrs:{"data-qa":"dt-modal-copy"}},[e._v(" "+e._s(e.copy)+" ")]),e.hasFooterSlot?s("footer",{staticClass:"d-modal__footer"},[e._t("footer")],2):e._e(),e.hideClose?e._e():s("dt-button",e._b({staticClass:"d-modal__close",attrs:{circle:"",size:"lg",importance:"clear","aria-label":e.closeButtonProps.ariaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)},"dt-button",e.closeButtonProps,!1)),e.showVisuallyHiddenClose?s("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel},on:{close:e.close}}):e._e()],1)])],1)},$d=[],kd=Ge.normalizeComponent(Dd,Rd,$d,!1,null,null,null,null);const Pd=kd.exports;const Nd={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(n,e)=>e.props.vnodes},DtButton:d5},props:{id:{type:String,default(){return R5.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!(this.maxDisplayed===0||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((n,e)=>e<=this.maxDisplayed-1)}},methods:{showMoreLessClicked(){this.showAll=!this.showAll}}};var Bd=function(){var e=this,s=e._self._c;return s("div",{class:["dt-list-section","d-fs-200","d-lh6","d-py6","d-bc-black-400",{"d-bb":e.separator}],attrs:{id:e.id,role:"group","aria-labelledby":`${e.id}-list-section-header`,tabindex:"-1"}},[e.header?s("h3",{staticClass:"d-pl12 d-mt6",attrs:{id:`${e.id}-list-section-header`}},[e._v(" "+e._s(e.header)+" ")]):e._e(),!e.isCollapsible||e.showAll?s("ol",{attrs:{id:`${e.id}-list-section-content`}},[e._t("default")],2):s("ol",{attrs:{id:`${e.id}-list-section-content`}},[s("vnodes",{attrs:{vnodes:e.displayedItems}})],1),s("div",{staticClass:"d-d-flex"},[e.isCollapsible?s("dt-button",{staticClass:"d-ml12 d-py6",attrs:{id:`${e.id}-list-section-show-more-less`,link:""},on:{click:e.showMoreLessClicked}},[e._v(" "+e._s(e.showMoreLessText)+" ")]):e._e(),e._t("footer")],2)])},Md=[],Fd=Ge.normalizeComponent(Nd,Bd,Md,!1,null,null,null,null);const Vd=Fd.exports,jd={name:"DtListItemGroup",props:{id:{type:String,default(){return s5()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}};var zd=function(){var e=this,s=e._self._c;return s("ul",{class:["d-ps-relative","d-px0",e.listClass],attrs:{id:e.id,role:"group","data-qa":"dt-dropdown-list-wrapper","aria-labelledby":`${e.id}-heading`}},[e.heading?s("li",{class:["dt-dropdown-list--header",e.headingClass],attrs:{id:`${e.id}-heading`,role:"presentation","data-qa":"dt-dropdown-list-heading"}},[e._t("headingSlot",function(){return[e._v(" "+e._s(e.heading)+" ")]})],2):e._e(),e._t("default")],2)},Hd=[],qd=Ge.normalizeComponent(jd,zd,Hd,!1,null,null,null,null);const Kd=qd.exports,Ud={name:"DtPagination",components:{DtButton:d5,DtIcon:n5},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 this.currentPage===1},isLastPage(){return this.currentPage===this.totalPages},pages(){if(this.maxVisible===0)return[];if(this.totalPages<=this.maxVisible)return this.range(1,this.totalPages);const n=this.maxVisible-1,e=this.totalPages-n+1;if(this.currentPage<n)return[...this.range(1,n),"...",this.totalPages];if(this.currentPage>e)return[1,"...",...this.range(e,this.totalPages)];const s=this.maxVisible-(3-this.maxVisible%2),t=Math.floor(s/2),F=this.currentPage-t,ie=this.currentPage+t;return[1,"...",...this.range(F,ie),"...",this.totalPages]}},methods:{range(n,e){const s=[];n=n>0?n:1;for(let t=n;t<=e;t++)s.push(t);return s},changePage(n){this.currentPage=n,this.$emit("change",this.currentPage)}}};var Gd=function(){var e=this,s=e._self._c;return s("nav",{staticClass:"d-d-flex d-fd-row d-gg4 d-ai-center",attrs:{"aria-label":e.ariaLabel}},[s("dt-button",{staticClass:"d-px8",class:e.isFirstPage?"d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-prev","aria-label":e.prevAriaLabel,kind:e.isFirstPage?"default":"muted",importance:e.isFirstPage?"primary":"clear",disabled:e.isFirstPage},on:{click:function(t){return e.changePage(e.currentPage-1)}}},[s("template",{slot:"icon"},[s("dt-icon",{attrs:{name:"chevron-left",size:"300"}})],1)],2),e._l(e.pages,function(t,F){return s("div",{key:`page-${t}-${F}`,class:{"d-as-flex-end":isNaN(Number(t))}},[isNaN(Number(t))?s("div",{staticClass:"d-fc-tertiary d-w24 d-ta-center",attrs:{"data-qa":"dt-pagination-separator"}},[s("dt-icon",{attrs:{name:"more-horizontal",size:"300"}})],1):s("dt-button",{attrs:{"aria-label":e.pageNumberAriaLabel(t),kind:e.currentPage===t?"default":"muted",importance:e.currentPage===t?"primary":"clear","label-class":""},on:{click:function(ie){return e.changePage(t)}}},[e._v(" "+e._s(t)+" ")])],1)}),s("dt-button",{staticClass:"d-px8",class:e.isLastPage?"d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-next","aria-label":e.nextAriaLabel,disabled:e.isLastPage,kind:"muted",importance:e.isLastPage?"primary":"clear"},on:{click:function(t){return e.changePage(e.currentPage+1)}}},[s("template",{slot:"icon"},[s("dt-icon",{attrs:{name:"chevron-right",size:"300"}})],1)],2)],2)},Wd=[],Yd=Ge.normalizeComponent(Ud,Gd,Wd,!1,null,null,null,null);const Zd=Yd.exports,Xd={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Qd={name:"DtRadio",components:{DtValidationMessages:en},mixins:[sa,ra,oa,di],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Xd[this.internalValidationState]},radioGroupValue(){var n;return(n=this.groupContext)==null?void 0:n.selectedValue},inputListeners(){return{...this.$listeners,input:()=>{},change:n=>this.emitValue(n.target.value)}}},watch:{radioGroupValue:{immediate:!0,handler(n){this.hasGroup&&(this.internalChecked=n===this.value)}}},methods:{emitValue(n){n!==this.radioGroupValue&&(this.setGroupValue(n),this.$emit("input",n))}}};var Jd=function(){var e=this,s=e._self._c;return s("label",[s("div",{class:["d-radio-group",{"d-radio-group--disabled":e.internalDisabled}]},[s("div",{staticClass:"d-radio__input"},[s("input",e._g(e._b({class:["d-radio",e.inputValidationClass,e.inputClass],attrs:{name:e.internalName,disabled:e.internalDisabled,type:"radio"},domProps:{checked:e.internalChecked,value:e.value}},"input",e.$attrs,!1),e.inputListeners))]),s("div",{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[s("div",e._b({class:e.labelClass,attrs:{"data-qa":"radio-label"}},"div",e.labelChildProps,!1),[e._t("default",function(){return[e._v(e._s(e.label))]})],2),e.$slots.description||e.description?s("div",e._b({class:["d-description",e.descriptionClass],attrs:{"data-qa":"radio-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),s("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-radio-validation-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)])])},ec=[],tc=Ge.normalizeComponent(Qd,Jd,ec,!1,null,null,null,null);const nc=tc.exports,ic={name:"DtRadioGroup",extends:la,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(n){this.provideObj.selectedValue=n}},methods:{setGroupValue(n){this.$emit("input",n)},getMessageKey(n,e){return`radio-group-message-${n}-${e}-${this.id}`}}},ac=null,sc=null;var rc=Ge.normalizeComponent(ic,ac,sc,!1,null,null,null,null);const oc=rc.exports,nr=["default","sm"],lc={sm:"d-tablist--sm"},ir={inverted:"d-tablist--inverted"},ar={borderless:"d-tablist--no-border"},sr={selected:"d-tab--selected"},dc={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(n){return nr.includes(n)}},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:lc,TAB_LIST_KIND_MODIFIERS:ir,TAB_LIST_IMPORTANCE_MODIFIERS:ar}},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(n){this.focusId=n},getTabChildren(){return this.$children.map(({$el:n})=>n).filter(({className:n})=>n.includes("d-tab")).map(n=>{var e,s;return{context:n,panelId:(e=n.getAttribute("aria-controls"))==null?void 0:e.replace("dt-panel-",""),id:(s=n.getAttribute("id"))==null?void 0:s.replace("dt-tab-",""),isSelected:n.getAttribute("aria-selected")==="true"}})},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel({selected:n,selectOverride:e}){this.provideObj.selected=n,e||this.onChange()},tabLeft(){const{index:n,tabs:e}=this.getIndexAndTabs();if(n===-1)return;const s=n-1<0?e.length-1:n-1;this.selectFocusOnTab(s,e)},tabRight(){const{index:n,tabs:e}=this.getIndexAndTabs();if(n===-1)return;const s=n+1>e.length-1?0:n+1;this.selectFocusOnTab(s,e)},selectFocusOnTab(n,e){const{context:s}=e[n];s.focus()},selectTab(){const{tabs:n,index:e}=this.getIndexAndTabs();this.selectTabByIndex(e,n)},selectTabByIndex(n,e){const{context:s,panelId:t}=e[n];this.provideObj.selected=t,s.focus()},getIndexAndTabs(){const n=this.tabs.findIndex(e=>this.focusId?e.id===`${this.focusId}`:e.isSelected);return{tabs:this.tabs,index:n}},onHomeButton(){var n,e;this.tabs.length!==0&&((e=(n=this.tabs[0])==null?void 0:n.context)==null||e.focus())},onEndButton(){var n,e;this.tabs.length!==0&&((e=(n=this.tabs[this.tabs.length-1])==null?void 0:n.context)==null||e.focus())}}};var cc=function(){var e=this,s=e._self._c;return s("div",{attrs:{"data-qa":"dt-tab-group"}},[s("div",e._b({class:["d-tablist",e.TAB_LIST_SIZE_MODIFIERS[e.size],{[e.TAB_LIST_KIND_MODIFIERS.inverted]:e.inverted,[e.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]:e.borderless},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&&t.button!==0?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&&t.button!==2?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)},uc=[],pc=Ge.normalizeComponent(dc,cc,uc,!1,null,null,null,null);const fc=pc.exports,hc={name:"DtTab",components:{DtButton:d5},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:sr}},computed:{isSelected(){return this.groupContext.selected===this.panelId},tabListeners(){return{...this.$listeners,click:n=>{this.selectPanel(),this.$emit("click",n)},focus:n=>{this.setFocus(this.id),this.$emit("focus",n)}}}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(n=!1){this.changeContentPanel({selected:this.panelId,selectOverride:n})}}};var mc=function(){var e=this,s=e._self._c;return s("dt-button",e._g(e._b({class:["d-tab",{[e.TAB_IMPORTANCE_MODIFIERS.selected]:e.isSelected},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)},vc=[],_c=Ge.normalizeComponent(hc,mc,vc,!1,null,null,null,null);const gc=_c.exports,bc={name:"DtTabPanel",mixins:[Mn],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 n=await this.getFirstFocusableElement(this.$el);n?this.isFirstElementFocusable=this.isFirstElementOfPanel(n):this.isFirstElementFocusable=!1},methods:{isFirstElementOfPanel(n){let e=n,s=!0;for(;e;){if(e.previousElementSibling!==null){s=!1;break}e=e.parentNode!==this.$el?e.parentNode:null}return s}}};var yc=function(){var e=this,s=e._self._c;return s("div",{class:[{"d-d-none":e.hidePanel},e.tabPanelClass],attrs:{id:`dt-panel-${e.id}`,role:"tabpanel",tabindex:e.isFirstElementFocusable?-1:0,"aria-labelledby":`dt-tab-${e.tabId}`,"aria-hidden":`${e.hidePanel}`,"data-qa":"dt-tab-panel"}},[e._t("default")],2)},Cc=[],Sc=Ge.normalizeComponent(bc,yc,Cc,!1,null,null,null,null);const Ec=Sc.exports,Ic={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},wc={name:"DtCheckbox",components:{DtValidationMessages:en},mixins:[sa,ra,oa,di],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Ic[this.internalValidationState]},checkboxGroupValueChecked(){var n,e;return((e=(n=this.groupContext)==null?void 0:n.selectedValues)==null?void 0:e.includes(this.value))??!1},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:n=>this.emitValue(n.target)}}},watch:{checkboxGroupValueChecked:{immediate:!0,handler(n){this.hasGroup&&(this.internalChecked=n)}}},mounted(){this.runValidations()},methods:{emitValue(n){let{value:e,checked:s}=n;this.internalIndeterminate&&(s=!1,this.internalIndeterminate=!1,n.checked=!1),this.setGroupValue(e,s),this.$emit("input",s)},runValidations(){this.validateInputLabels(this.hasLabel,this.$attrs["aria-label"])}}};var xc=function(){var e=this,s=e._self._c;return s("label",[s("div",{class:["d-checkbox-group",{"d-checkbox-group--disabled":e.internalDisabled}]},[s("div",{staticClass:"d-checkbox__input"},[s("input",e._g(e._b({class:["d-checkbox",e.inputValidationClass,e.inputClass],attrs:{type:"checkbox",name:e.internalName,disabled:e.internalDisabled},domProps:{checked:e.internalChecked,value:e.value,indeterminate:e.internalIndeterminate}},"input",e.$attrs,!1),e.inputListeners))]),e.hasLabelOrDescription?s("div",{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[e.hasLabel?s("div",e._b({class:e.labelClass,attrs:{"data-qa":"checkbox-label"}},"div",e.labelChildProps,!1),[e._t("default",function(){return[e._v(e._s(e.label))]})],2):e._e(),e.hasDescription?s("div",e._b({class:["d-description",e.descriptionClass],attrs:{"data-qa":"checkbox-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),s("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-checkbox-validation-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1):e._e()])])},Oc=[],Ac=Ge.normalizeComponent(wc,xc,Oc,!1,null,null,null,null);const Tc=Ac.exports,Lc={name:"DtCheckboxGroup",extends:la,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:n=>n?(S5.util.warn("Component uses selectedValues to initialize the model, value is not supported by this component",globalThis),!1):!0},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(n){this.internalValue=n},internalValue(n){this.provideObj.selectedValues=n}},methods:{setGroupValue(n,e){e?this.internalValue.includes(n)||this.internalValue.push(n):this.internalValue=this.internalValue.filter(s=>s!==n),this.$emit("input",this.internalValue)},getMessageKey(n,e){return`checkbox-group-message-${n}-${e}-${this.id}`}}},Dc=null,Rc=null;var $c=Ge.normalizeComponent(Lc,Dc,Rc,!1,null,null,null,null);const kc=$c.exports,Hi={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Pc={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},Nc={xs:"200",sm:"200",md:"200"},Bc={name:"DtChip",components:{DtButton:d5,DtIcon:n5},props:{closeButtonProps:{type:Object,default:function(){return{ariaLabel:"close"}},validator:n=>!!n.ariaLabel},hideClose:{type:Boolean,default:!1},size:{type:String,default:"md",validator:n=>Object.keys(Hi).includes(n)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return s5()}},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:n=>{this.interactive&&this.$emit("click",n)},keyup:n=>{var e;((e=n.code)==null?void 0:e.toLowerCase())==="delete"?this.onClose():this.$emit("keyup",n)}}},closeButtonIconSize(){return Nc[this.size]}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?"d-chip":"d-chip__label",Hi[this.size],this.labelClass]},chipCloseButtonClasses(){return["d-chip__close",Pc[this.size]]},onClose(){this.hideClose||this.$emit("close")}}};var Mc=function(){var e=this,s=e._self._c;return s("span",{staticClass:"d-chip"},[s(e.interactive?"button":"span",e._g({tag:"component",class:e.chipClasses(),attrs:{id:e.id,type:e.interactive&&"button","data-qa":"dt-chip","aria-labelledby":e.ariaLabel?void 0:`${e.id}-content`,"aria-label":e.ariaLabel}},e.chipListeners),[e.$slots.icon?s("span",{staticClass:"d-chip__icon",attrs:{"data-qa":"dt-chip-icon"}},[e._t("icon")],2):e.$slots.avatar?s("span",{attrs:{"data-qa":"dt-chip-avatar"}},[e._t("avatar")],2):e._e(),e.$slots.default?s("span",{class:["d-truncate","d-chip__text",e.contentClass],attrs:{id:`${e.id}-content`,"data-qa":"dt-chip-label"}},[e._t("default")],2):e._e()]),e.hideClose?e._e():s("dt-button",e._b({class:e.chipCloseButtonClasses(),attrs:{"data-qa":"dt-chip-close","aria-label":e.closeButtonProps.ariaLabel},on:{click:function(t){return e.$emit("close")}},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{attrs:{name:"close",size:e.closeButtonIconSize}})]},proxy:!0}],null,!1,1192647893)},"dt-button",e.closeButtonProps,!1))],1)},Fc=[],Vc=Ge.normalizeComponent(Bc,Mc,Fc,!1,null,null,null,null);const da=Vc.exports,qi={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},rr={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},jc=n=>!n.index||typeof n.index=="number",zc=n=>n.value?typeof n.value=="string"||typeof n.value=="number":!1,Hc=n=>n.label?typeof n.label=="string":!1,qc=n=>n?n.every(e=>!(!jc(e)||!zc(e)||!Hc(e))):!0,Kc={name:"DtSelectMenu",components:{DtValidationMessages:en},mixins:[di],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:n=>qc(n)},size:{type:String,default:"md",validator:n=>Object.keys(qi).includes(n)},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:Or,DESCRIPTION_SIZE_MODIFIERS:xr,SELECT_SIZE_MODIFIERS:qi,SELECT_STATE_MODIFIERS:rr}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:n=>this.emitValue(n.target.value)}},state(){return Q5(this.formattedMessages)},selectKey(){return s5()},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(n){this.$emit("input",n),this.$emit("change",n)},getOptionKey(n){return`select-${this.selectKey}-option-${n}`},validateOptionsPresence(){var n;((n=this.options)==null?void 0:n.length)<1&&!this.$slots.default&&S5.util.warn("Options are expected to be provided via prop or slot",this)}}};var Uc=function(){var e=this,s=e._self._c;return s("div",[s("label",[e.$slots.label||e.label?s("div",e._b({class:["d-label",e.LABEL_SIZE_MODIFIERS[e.size],e.labelClass],attrs:{"aria-details":e.labelAriaDetails,"data-qa":"dt-select-label"}},"div",e.labelChildProps,!1),[e._t("label",function(){return[e._v(e._s(e.label))]})],2):e._e(),e.$slots.description||e.description?s("div",e._b({class:["d-description",e.DESCRIPTION_SIZE_MODIFIERS[e.size],e.descriptionClass],attrs:{id:e.descriptionKey,"data-qa":"dt-select-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),s("div",{class:["d-select",e.SELECT_SIZE_MODIFIERS[e.size],e.selectClass,{"d-select--disabled":e.disabled}],attrs:{"data-qa":"dt-select-wrapper"}},[s("select",e._g(e._b({class:["d-select__input",e.SELECT_STATE_MODIFIERS[e.state]],attrs:{"data-qa":"dt-select",disabled:e.disabled}},"select",e.$attrs,!1),e.selectListeners),[e._t("default",function(){return e._l(e.options,function(t){return s("option",e._b({key:e.getOptionKey(t.value),class:e.optionClass,domProps:{value:t.value}},"option",e.optionChildProps,!1),[e._v(" "+e._s(t.label)+" ")])})})],2)])]),s("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-select-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)},Gc=[],Wc=Ge.normalizeComponent(Kc,Uc,Gc,!1,null,null,null,null);const Yc=Wc.exports,or=["status","alert"],Ha=6e3,Zc={name:"DtToast",components:{DtNoticeIcon:Ui,DtNoticeContent:Gi,DtNoticeAction:Wi},mixins:[K5],props:{titleId:{type:String,default(){return R5.getUniqueString()}},contentId:{type:String,default(){return R5.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:n=>or.includes(n)},kind:{type:String,default:"base",validator:n=>In.includes(n)},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:n=>n>=Ha}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:Ha}},computed:{kindClass(){return{error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"}[this.kind]},noticeActionListeners(){return{...this.$listeners,close:n=>{this.isShown=!1,this.$emit("update:show",!1),this.$emit("close",n)}}},shouldSetTimeout(){return!!this.duration&&this.duration>=this.minDuration}},watch:{show:{handler:function(n){this.isShown=n,n?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))}}};var Xc=function(){var e=this,s=e._self._c;return e.isShown?s("div",{class:["d-toast",e.kindClass,{"d-toast--important":e.important}],attrs:{"data-qa":"dt-toast","aria-hidden":(!e.isShown).toString()}},[s("div",{staticClass:"d-toast__dialog"},[s("dt-notice-icon",e._g({attrs:{kind:e.kind}},e.$listeners),[e._t("icon")],2),s("dt-notice-content",e._g({attrs:{"title-id":e.titleId,"content-id":e.contentId,title:e.title,role:e.role},scopedSlots:e._u([{key:"titleOverride",fn:function(){return[e._t("titleOverride")]},proxy:!0}],null,!0)},e.$listeners),[e._t("default",function(){return[e._v(" "+e._s(e.message)+" ")]})],2),s("dt-notice-action",e._g({attrs:{"hide-close":e.hideClose,"close-button-props":e.closeButtonProps,"visually-hidden-close":e.visuallyHiddenClose,"visually-hidden-close-label":e.visuallyHiddenCloseLabel}},e.noticeActionListeners),[e._t("action")],2)],1)]):e._e()},Qc=[],Jc=Ge.normalizeComponent(Zc,Xc,Qc,!1,null,null,null,null);const eu=Jc.exports,qa={sm:"d-toggle--small",md:""},tu=[!1,!0,"mixed"],nu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return R5.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:n=>tu.includes(n)},toggleOnClick:{type:Boolean,default:!0},size:{type:String,default:"md",validator:n=>Object.keys(qa).includes(n)},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:n=>this.toggleCheckedValue()}},isIndeterminate(){return this.internalChecked==="mixed"},toggleRole(){return this.isIndeterminate?"checkbox":"switch"},toggleClasses(){return["d-toggle",qa[this.size],{"d-toggle--checked":this.internalChecked===!0,"d-toggle--disabled":this.disabled,"d-toggle--indeterminate":this.isIndeterminate}]}},watch:{checked(n){this.internalChecked=n}},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(n,e){!n&&!e&&S5.util.warn("You must provide an aria-label when there is no label passed",this)}}};var iu=function(){var e=this,s=e._self._c;return s("div",{staticClass:"d-d-flex d-ai-center"},[e.$slots.default?s("label",e._b({class:e.labelClass,attrs:{for:e.id,"data-qa":"toggle-label"}},"label",e.labelChildProps,!1),[e._t("default")],2):e._e(),s("button",e._g(e._b({class:e.toggleClasses,attrs:{id:e.id,role:e.toggleRole,type:"button","aria-checked":e.internalChecked.toString(),disabled:e.disabled,"aria-disabled":e.disabled.toString()}},"button",e.$attrs,!1),e.inputListeners),[e.showIcon?s("span",{staticClass:"d-toggle__inner"}):e._e()])])},au=[],su=Ge.normalizeComponent(nu,iu,au,!1,null,null,null,null);const ru=su.exports,lr=[...N6],dr=300,cr={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},ur=[...Us],ou=[!0,!1,"toggle"];const lu={name:"DtTooltip",components:{DtLazyShow:wn},props:{id:{type:String,default(){return s5()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(n){return lr.includes(n)}},sticky:{type:[Boolean,String],default:!1,validator:n=>ur.includes(n)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"},delay:{type:Boolean,default:!0}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:cr,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement}},computed:{tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){var n,e;return{offset:this.offset,appendTo:(e=(n=this.anchorEl)==null?void 0:n.getRootNode())==null?void 0:e.querySelector("body"),interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:Ws({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(n){n!==null&&(this.isShown=n)},immediate:!0},isShown(n){n?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(n){this.tip.setProps({sticky:n})}},mounted(){this.tip=Gs(ja(this.$refs.anchor),this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var n;this.tip&&((n=this.tip)==null||n.destroy())},methods:{calculateAnchorZindex(){return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||this.$el.closest(".d-zi-drawer")?651:400},hasVisibleFocus(){return ja(this.$refs.anchor).matches(":focus-visible")},onEnterAnchor(n){if(this.delay)this.inTimer=setTimeout(function(e){return this.triggerShow(e)}.bind(this,n),dr);else return this.triggerShow(n)},triggerShow(n){n.type==="focusin"?this.show===null&&this.hasVisibleFocus()&&(this.isShown=!0):this.show===null&&(this.isShown=!0)},onLeaveAnchor(){return clearTimeout(this.inTimer),this.triggerHide()},triggerHide(){this.show===null&&(this.isShown=!1)},onChangePlacement(n){this.currentPlacement=n},onLeaveTransitionComplete(){var n;(n=this.tip)==null||n.unmount(),this.$emit("shown",!1),this.show!==null&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),this.show!==null&&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}}}};var du=function(){var e=this,s=e._self._c;return s("div",{attrs:{"data-qa":"dt-tooltip-container"}},[s("a",{ref:"anchor",attrs:{tabindex:"-1",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),s("dt-lazy-show",e._g({ref:"content",class:["d-tooltip",`d-tooltip__arrow-tippy--${e.currentPlacement}`,{[e.TOOLTIP_KIND_MODIFIERS.inverted]:e.inverted},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)},cu=[],uu=Ge.normalizeComponent(lu,du,cu,!1,null,null,null,null);const ci=uu.exports,bn={"{win}":"layout-grid","{arrow-right}":"arrow-right","{arrow-left}":"arrow-left","{arrow-up}":"arrow-up","{arrow-down}":"arrow-down","{cmd}":"command"},pr={"{plus}":"plus"},pu=Object.keys(bn),fu={name:"DtKeyboardShortcut",components:{DtIcon:n5},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:bn,separator:/\+/gi}},computed:{icons(){return{...bn,...pr}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(bn).reduce((n,e)=>n.replace(new RegExp("{"+e+"}","gi"),bn[e]),this.shortcutWithSeparator)},formattedShortcutSplit(){const n=Object.keys(this.icons).join("|"),e=new RegExp(`(${n})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}};var hu=function(){var e=this,s=e._self._c;return s("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",e.inverted?"d-bc-moderate-inverted":"d-bc-default"]},[e.screenReaderText?s("span",{staticClass:"sr-only"},[e._v(" "+e._s(e.screenReaderText)+" ")]):e._e(),e._l(e.formattedShortcutSplit,function(t,F){return[e.icons[t]?s("dt-icon",{key:`${F}-${t}`,class:[e.inverted?"d-fc-secondary-inverted":"d-fc-tertiary","d-mr2"],attrs:{name:e.icons[t],size:"100","aria-hidden":"true"}}):s("span",{key:`${F}-${t}`,class:[e.inverted?"d-fc-secondary-inverted":"d-fc-tertiary","d-mr2"],attrs:{"aria-hidden":"true"},domProps:{innerHTML:e._s(t)}})]})],2)},mu=[],vu=Ge.normalizeComponent(fu,hu,mu,!1,null,null,null,null);const _u=vu.exports,ca={LEFT:"left",RIGHT:"right"},fr=["sm","md","lg",null],gu={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},fixed:{type:Boolean,default:void 0},sidebarPosition:{type:String,default:void 0}},computed:{bodyClasses(){return[this.bodyClass,{"d-root-layout__body--invert":this.sidebarPosition===ca.RIGHT}]}}};var bu=function(){var e=this,s=e._self._c;return s("div",{ref:"root-layout-body",class:["d-root-layout__body",e.bodyClasses],attrs:{"data-qa":"dt-root-layout-body"}},[e.$slots.sidebar?s("aside",{ref:"root-layout-sidebar",class:["d-root-layout__sidebar",{"d-root-layout__sidebar--sticky":e.fixed},e.sidebarClass],style:{"flex-basis":e.sidebarWidth},attrs:{"data-qa":"dt-root-layout-sidebar"}},[e._t("sidebar")],2):e._e(),e.$slots.content?s("main",{ref:"root-layout-content",class:["d-root-layout__content",e.contentClass],attrs:{"data-qa":"dt-root-layout-content",tabindex:"0"}},[e._t("content")],2):e._e()])},yu=[],Cu=Ge.normalizeComponent(gu,bu,yu,!1,null,null,null,null);const Su=Cu.exports,Eu={name:"DtRootLayout",components:{DtRootLayoutBody:Su},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:""},sidebarClass:{type:[String,Array,Object],default:""},sidebarWidth:{type:String,default:"256px"},sidebarPosition:{type:String,default:"left",validator:n=>Object.values(ca).includes(n)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"},responsiveBreakpoint:{type:String,default:null,validator:n=>fr.includes(n)}},computed:{responsiveClass(){if(this.responsiveBreakpoint)return`d-root-layout__responsive--${this.responsiveBreakpoint}`}}};var Iu=function(){var e=this,s=e._self._c;return s("div",{class:["root-layout d-root-layout",{"d-root-layout--fixed":e.fixed},e.responsiveClass],attrs:{"data-qa":"dt-root-layout"}},[e.$slots.header?s("header",{class:["d-root-layout__header",{"d-root-layout__header--sticky":e.headerSticky},e.headerClass],style:{height:e.headerHeight,"min-height":e.headerHeight},attrs:{"data-qa":"dt-root-layout-header"}},[e._t("header")],2):e._e(),s("dt-root-layout-body",{attrs:{"body-class":e.bodyClass,"content-class":e.contentClass,"sidebar-class":e.sidebarClass,"sidebar-width":e.sidebarWidth,"sidebar-position":e.sidebarPosition,"header-height":e.$slots.header?e.headerHeight:"0px","footer-height":e.$slots.footer?e.footerHeight:"0px",fixed:e.fixed},scopedSlots:e._u([e.$slots.sidebar?{key:"sidebar",fn:function(){return[e._t("sidebar")]},proxy:!0}:null,e.$slots.default?{key:"content",fn:function(){return[e._t("default")]},proxy:!0}:null],null,!0)}),e.$slots.footer?s("footer",{class:["d-root-layout__footer",e.footerClass],style:{height:e.footerHeight,"min-height":e.footerHeight},attrs:{"data-qa":"dt-root-layout-footer"}},[e._t("footer")],2):e._e()],1)},wu=[],xu=Ge.normalizeComponent(Eu,Iu,wu,!1,null,null,null,null);const Ou=xu.exports,hn={default:"column",column:"column",row:"row","row-reverse":"row-reverse","column-reverse":"column-reverse"},hr=["sm","md","lg","xl"],ua=["0","100","200","300","400","500","600"];function Ka(n){return n===hn.default}function Ua(n){if(Nn(n)==="string")return Ka(n)?null:hn[n];if(Nn(n)==="object"){const{default:e}=n;return Ka(e)?null:hn[e]}else return null}function Nn(n){return typeof n}function Au(n){return Ua(n)?`d-stack--${hn[Ua(n)]}`:null}function Tu(n){return Nn(n)==="object"?[...hr.map(e=>n[e]?`d-stack--${e}--${n[e]}`:null)]:null}function Lu(n){return ua.includes(n)?`d-stack--gap-${n}`:null}function Du(n){if(Nn(n)==="string")return Object.keys(hn).includes(n);if(Nn(n)==="object"){const{default:e}=n;return Object.keys(hn).includes(e)}else return null}function Ru(n){return ua.includes(n)}const $u={name:"DtStack",props:{direction:{type:[String,Object],default:"column",validator:n=>Du(n)},as:{type:String,default:"div"},gap:{type:String,default:"0",validator:n=>Ru(n)}},data(){return{DT_STACK_DIRECTION:hn,DT_STACK_GAP:ua,DT_STACK_RESPONSIVE_BREAKPOINTS:hr}},computed:{stackGap(){return Lu(this.gap)},defaultDirection(){return Au(this.direction)},stackResponsive(){return Tu(this.direction)}}};var ku=function(){var e=this,s=e._self._c;return s(e.as,{tag:"component",class:["d-stack",e.defaultDirection,e.stackResponsive,e.stackGap]},[e._t("default")],2)},Pu=[],Nu=Ge.normalizeComponent($u,ku,Pu,!1,null,null,null,null);const Bu=Nu.exports,Mu={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:Is,DtPopover:li,ComboboxLoadingList:Cs,ComboboxEmptyList:Ss},mixins:[K5],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:n=>Object.values(Es).includes(n)},description:{type:String,default:""},showList:{type:Boolean,default:null},listId:{type:String,default(){return s5()}},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:n=>Object.keys(Ln).some(e=>e===n)},contentWidth:{type:String,default:null,validator:n=>ia.includes(n)},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:"body",validator:n=>oi.includes(n)||n instanceof HTMLElement},transition:{type:String,default:"fade"}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:Ln,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:s5()}},computed:{comboboxListeners(){return{...this.$listeners,select:this.onSelect,escape:this.onEscape,highlight:this.onHighlight}}},watch:{showList:{handler:function(n){n!==null&&(this.isListShown=n)},immediate:!0},isListShown(n){n?window.addEventListener("mousedown",this.onFocusOut):window.removeEventListener("mousedown",this.onFocusOut),this.onOpened(n)}},methods:{handleDisplayList(n){!this.hasSuggestionList&&n&&this.showComboboxList(),!this.hasSuggestionList&&!n&&this.closeComboboxList()},showComboboxList(){this.showList==null&&(this.isListShown=!0)},closeComboboxList(){this.showList==null&&(this.isListShown=!1)},onSelect(n){this.loading||(this.$emit("select",n),this.hasSuggestionList||this.closeComboboxList())},onEscape(){this.$emit("escape"),this.closeComboboxList()},onHighlight(n){this.loading||this.$emit("highlight",n)},onOpened(n){this.$emit("opened",n)},onFocusIn(n){var e;this.hasSuggestionList&&n&&((e=this.$refs.input)==null?void 0:e.querySelector("input"))===n.target&&this.showComboboxList()},onFocusOut(n){var t,F,ie;const e=(F=(t=this.$refs.popover)==null?void 0:t.tip)==null?void 0:F.popper,s=this.$refs.input;(ie=n.composedPath())!=null&&ie.some(Ce=>[e,s].includes(Ce))||this.closeComboboxList()},openOnArrowKeyPress(){this.showList!==null||this.isListShown||!this.openWithArrowKeys||this.showComboboxList()}}};var Fu=function(){var e=this,s=e._self._c;return s("dt-combobox",e._g({ref:"combobox",attrs:{loading:e.loading,label:e.label,"label-visible":e.labelVisible,size:e.size,description:e.description,"empty-list":e.emptyList,"empty-state-message":e.emptyStateMessage,"show-list":e.isListShown,"on-beginning-of-list":e.onBeginningOfList,"on-end-of-list":e.onEndOfList,"list-rendered-outside":!0,"list-id":e.listId,"data-qa":"dt-combobox"},scopedSlots:e._u([{key:"input",fn:function({inputProps:t}){return[s("div",{ref:"input",attrs:{id:e.externalAnchor},on:{focusin:e.onFocusIn,keydown:[function(F){return!F.type.indexOf("key")&&e._k(F.keyCode,"up",38,F.key,["Up","ArrowUp"])?null:e.openOnArrowKeyPress(F)},function(F){return!F.type.indexOf("key")&&e._k(F.keyCode,"down",40,F.key,["Down","ArrowDown"])?null:e.openOnArrowKeyPress(F)}]}},[e._t("input",null,{inputProps:t,onInput:e.handleDisplayList})],2)]}},{key:"list",fn:function({opened:t,listProps:F,clearHighlightIndex:ie}){return[s("dt-popover",{ref:"popover",attrs:{open:e.isListShown,"hide-on-click":!1,"max-height":e.maxHeight,"max-width":e.maxWidth,offset:e.popoverOffset,sticky:e.popoverSticky,placement:"bottom-start","initial-focus-element":"none",padding:"none",role:"listbox","external-anchor":e.externalAnchor,"content-width":e.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,"append-to":e.appendTo,transition:e.transition,"visually-hidden-close-label":e.visuallyHiddenCloseLabel,"visually-hidden-close":e.visuallyHiddenClose},on:{"update:open":function(Ce){e.isListShown=Ce},opened:function(Ce){return t(Ce,arguments[1])}},scopedSlots:e._u([{key:"headerContent",fn:function(){return[e.$slots.header?s("div",{ref:"header"},[e._t("header")],2):e._e()]},proxy:!0},{key:"content",fn:function(){return[s("div",{ref:"listWrapper",class:[e.DROPDOWN_PADDING_CLASSES[e.padding],e.listClass],on:{mouseleave:ie,focusout:ie}},[e.loading?s("combobox-loading-list",e._b({},"combobox-loading-list",F,!1)):e.emptyList&&e.emptyStateMessage?s("combobox-empty-list",e._b({attrs:{message:e.emptyStateMessage}},"combobox-empty-list",F,!1)):e._t("list",null,{listProps:F})],2)]},proxy:!0},{key:"footerContent",fn:function(){return[e.$slots.footer?s("div",{ref:"footer"},[e._t("footer")],2):e._e()]},proxy:!0}],null,!0)})]}}],null,!0)},e.comboboxListeners))},Vu=[],ju=Ge.normalizeComponent(Mu,Fu,Vu,!1,null,null,null,null);const mr=ju.exports,vr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},zu={xs:"xs",sm:"xs",md:"sm"},Hu={xs:1.4,sm:.4,md:.2},qu={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:mr,DtInput:er,DtChip:da,DtValidationMessages:en},mixins:[K5],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:n=>Hn(n)},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:"md",validator:n=>Object.values(vr).includes(n)},appendTo:{type:[HTMLElement,String],default:"body",validator:n=>oi.includes(n)||n instanceof HTMLElement},transition:{type:String,default:"fade"}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,4],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null,originalInputSize:null,CHIP_SIZES:zu}},computed:{inputPlaceHolder(){var n;return((n=this.selectedItems)==null?void 0:n.length)>0?"":this.placeholder},chipListeners(){return{...this.$listeners,keyup:n=>{this.onChipKeyup(n),this.$emit("keyup",n)}}},inputListeners(){return{...this.$listeners,input:n=>{this.$emit("input",n),this.hasSuggestionList&&this.showComboboxList()},keyup:n=>{this.onInputKeyup(n),this.$emit("keyup",n)},click:n=>{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 n=this.getInput();this.revertInputPadding(n),this.originalInputSize=n.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 n;(n=this.resizeWindowObserver)==null||n.unobserve(document.body)},methods:{onChipRemove(n){var e;this.$emit("remove",n),(e=this.$refs.input)==null||e.focus()},onComboboxSelect(n){this.value="",this.$emit("select",n)},showComboboxList(){var n;this.showList==null&&((n=this.$refs.comboboxWithPopover)==null||n.showComboboxList())},closeComboboxList(){var n;this.showList==null&&((n=this.$refs.comboboxWithPopover)==null||n.closeComboboxList())},getChipButtons(){return this.$refs.chips&&this.$refs.chips.map(n=>n.$el.querySelector("button"))},getChips(){return this.$refs.chips&&this.$refs.chips.map(n=>n.$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 n;return(n=this.$refs.input)==null?void 0:n.$refs.input},onChipKeyup(n){var s;const e=(s=n.code)==null?void 0:s.toLowerCase();e==="arrowleft"?this.navigateBetweenChips(n.target,!0):e==="arrowright"&&(n.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(n.target,!1))},onInputKeyup(n){var s;const e=(s=n.code)==null?void 0:s.toLowerCase();this.selectedItems.length>0&&n.target.selectionStart===0&&(e==="backspace"||e==="arrowleft")&&this.moveFromInputToChip()},moveFromInputToChip(){var n;this.getLastChipButton().focus(),(n=this.$refs.input)==null||n.blur(),this.closeComboboxList()},moveFromChipToInput(){var n;this.getLastChipButton().blur(),(n=this.$refs.input)==null||n.focus(),this.showComboboxList()},navigateBetweenChips(n,e){var F;const s=this.getChipButtons().indexOf(n),t=e?s-1:s+1;t<0||t>=((F=this.$refs.chips)==null?void 0:F.length)||(this.getChipButtons()[s].blur(),this.getChipButtons()[t].focus(),this.closeComboboxList())},setChipsTopPosition(){const n=this.getInput();if(!n)return;const e=this.$refs.inputSlotWrapper,s=n.getBoundingClientRect().top-e.getBoundingClientRect().top,t=this.$refs.chipsWrapper;t.style.top=s-Hu[this.size]+"px"},setInputPadding(){const n=this.getLastChip(),e=this.getInput(),s=this.$refs.chipsWrapper;if(!e||(this.revertInputPadding(e),this.popoverOffset=[0,4],!n))return;const t=n.offsetLeft+this.getFullWidth(n);e.style.paddingLeft=t+"px";const F=s.getBoundingClientRect().height-4,ie=n.offsetTop+2;F>this.originalInputSize&&(e.style.paddingTop=`${ie}px`)},revertInputPadding(n){n.style.paddingLeft="",n.style.paddingTop="",n.style.paddingBottom=""},getFullWidth(n){const e=window.getComputedStyle(n);return n.offsetWidth+parseInt(e.marginLeft)+parseInt(e.marginRight)},setInputMinWidth(){const n=this.getFirstChip(),e=this.getInput();e&&(n?e.style.minWidth=this.getFullWidth(n)+4+"px":e.style.minWidth="")},checkMaxSelected(){this.maxSelected!==0&&(this.selectedItems.length>this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}};var Ku=function(){var e=this,s=e._self._c;return s("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{label:e.label,"show-list":e.showList,"max-height":e.listMaxHeight,"popover-offset":e.popoverOffset,"has-suggestion-list":e.hasSuggestionList,"visually-hidden-close-label":e.visuallyHiddenCloseLabel,"visually-hidden-close":e.visuallyHiddenClose,"content-width":"anchor","append-to":e.appendTo,transition:e.transition},on:{select:e.onComboboxSelect},scopedSlots:e._u([{key:"input",fn:function({onInput:t}){return[s("span",{ref:"inputSlotWrapper",staticClass:"d-ps-relative d-d-block"},[s("span",{ref:"chipsWrapper",staticClass:"d-ps-absolute d-mx2 d-pl1"},e._l(e.selectedItems,function(F){return s("dt-chip",e._g({key:F.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:e.CHIP_SIZES[e.size]},on:{keyup:function(ie){return!ie.type.indexOf("key")&&e._k(ie.keyCode,"backspace",void 0,ie.key,void 0)?null:e.onChipRemove(F)},close:function(ie){return e.onChipRemove(F)}}},e.chipListeners),[e._v(" "+e._s(F)+" ")])}),1),s("dt-input",e._g({ref:"input",staticClass:"d-fl-grow1",attrs:{"aria-label":e.label,label:e.labelVisible?e.label:"",description:e.description,placeholder:e.inputPlaceHolder,"show-messages":e.showInputMessages,messages:e.inputMessages,size:e.size},on:{input:t},model:{value:e.value,callback:function(F){e.value=F},expression:"value"}},e.inputListeners)),s("dt-validation-messages",{attrs:{"validation-messages":e.maxSelectedMessage,"show-messages":e.showValidationMessages}})],1)]}},{key:"header",fn:function(){return[e.$slots.header?s("div",{ref:"header"},[e._t("header")],2):e._e()]},proxy:!0},{key:"list",fn:function(){return[s("div",{ref:"list",on:{mousedown:function(t){t.preventDefault()}}},[e.loading?s("div",{staticClass:"d-ta-center d-py16"},[e._v(" "+e._s(e.loadingMessage)+" ")]):e._t("list")],2)]},proxy:!0},{key:"footer",fn:function(){return[e.$slots.footer?s("div",{ref:"footer"},[e._t("footer")],2):e._e()]},proxy:!0}],null,!0)})},Uu=[],Gu=Ge.normalizeComponent(qu,Ku,Uu,!1,null,null,null,null);const Wu=Gu.exports,pa=["sm","md","lg","xl"];const Yu={name:"DtRecipeCallbarButton",components:{DtButton:d5,DtTooltip:ci},inheritAttrs:!0,props:{id:{type:String,default(){return R5.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:n=>n||globalThis.$slots.default},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:n=>pa.includes(n)},importance:{type:String,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,"d-btn--disabled d-bgc-transparent":this.disabled,"d-fc-primary":!this.disabled}]},callbarButtonTextClass(){return["d-fs-100 lg:d-d-none md:d-d-none sm:d-d-none",this.textClass]},buttonWidth(){switch(this.buttonWidthSize){case"sm":return"4.5rem";case"md":return"6rem";default:return"8.4rem"}},buttonImportance(){return this.importance?this.importance:this.circle?"outlined":"clear"}}};var Zu=function(){var e=this,s=e._self._c;return s("dt-tooltip",{attrs:{id:e.id,offset:[0,8]},scopedSlots:e._u([{key:"anchor",fn:function(){return[s("span",{class:{"d-c-not-allowed":e.disabled}},[s("dt-button",e._g({class:e.callbarButtonClass,attrs:{importance:e.buttonImportance,kind:"muted","icon-position":"top","aria-disabled":e.disabled,"aria-label":e.ariaLabel,"label-class":e.callbarButtonTextClass,width:e.buttonWidth}},e.$listeners),[e._t("default"),e._t("icon",null,{slot:"icon"})],2)],1)]},proxy:!0}],null,!0)},[e._t("tooltip")],2)},Xu=[],Qu=Ge.normalizeComponent(Yu,Zu,Xu,!1,null,null,null,null);const _r=Qu.exports;const Ju={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:_r,DtPopover:li,DtButton:d5,DtIcon:n5},inheritAttrs:!1,props:{id:{type:String,default(){return R5.getUniqueString()}},ariaLabel:{type:String,default:null,validator:n=>n||globalThis.$slots.default},arrowButtonLabel:{type:String,required:!0,validator:n=>!!n},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:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:n=>pa.includes(n)},contentClass:{type:[String,Array,Object],default:""}},emits:["arrowClick","click"],data(){return{open:!1}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled},isCompactMode(){return this.buttonWidthSize==="sm"||this.buttonWidthSize==="md"}},methods:{arrowClick(n){return this.$emit("arrowClick",n),this.open=!this.open},buttonClick(n){this.$listeners.click?this.$emit("click",n):this.arrowClick(n)},onModalIsOpened(n){this.open=n}}};var ep=function(){var e=this,s=e._self._c;return s("div",{staticClass:"d-d-flex d-ai-center"},[s("dt-recipe-callbar-button",{staticClass:"dt-recipe--callbar-button-with-popover--main-button",attrs:{"aria-label":e.ariaLabel,disabled:e.disabled,active:e.active,danger:e.danger,"button-class":e.buttonClass,"button-width-size":e.buttonWidthSize,"text-class":e.textClass},on:{click:e.buttonClick}},[e._t("icon",null,{slot:"icon"}),e._t("tooltip",null,{slot:"tooltip"}),e._t("default")],2),e.showArrowButton?s("dt-popover",e._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{id:e.id,open:e.open,placement:e.placement,"initial-focus-element":e.initialFocusElement,"show-close-button":e.showCloseButton,offset:[0,16],padding:"none","dialog-class":["dt-recipe--callbar-button-with-popover--popover",e.contentClass],"header-class":"d-d-flex d-ai-center d-fw-normal d-px12"},on:{opened:e.onModalIsOpened},scopedSlots:e._u([{key:"anchor",fn:function(){return[s("dt-button",{class:["dt-recipe--callbar-button-with-popover--arrow",{"d-mln24":!e.isCompactMode}],attrs:{circle:"",importance:"clear",size:"lg",width:"2rem","aria-label":e.arrowButtonLabel,active:e.open},on:{click:e.arrowClick},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{attrs:{name:"chevron-up",size:"200"}})]},proxy:!0}],null,!1,3340821372)})]},proxy:!0}],null,!1,384931042)},"dt-popover",e.$attrs,!1),[e._t("content",null,{slot:"content"}),e._t("headerContent",null,{slot:"headerContent"}),e._t("footerContent",null,{slot:"footerContent"})],2):e._e()],1)},tp=[],np=Ge.normalizeComponent(Ju,ep,tp,!1,null,null,null,null);const ip=np.exports,ap={name:"DtRecipeContactInfo",components:{DtAvatar:ii,DtIcon:n5,DtListItem:Fn},props:{id:{type:String,default(){return R5.getUniqueString()}},role:{type:String,default:""},showAvatar:{type:Boolean,default:!0},avatarSrc:{type:String,default:""},avatarSeed:{type:String,default:null},avatarInitials:{type:String,default:""},avatarIcon:{type:String,default:"user"},avatarSize:{type:String,default:"lg"},presence:{type:String,default:null},avatarList:{type:Array,default:null}}};var sp=function(){var e=this,s=e._self._c;return s("dt-list-item",{attrs:{id:e.id,role:e.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:e._u([{key:"left",fn:function(){return[e.showAvatar?s("div",{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[e.avatarList?s("div",{staticClass:"d-mrn4 d-d-flex d-fd-row"},e._l(e.avatarList,function(t,F){return s("div",{key:F},[s("dt-avatar",{attrs:{size:e.avatarSize,seed:t.seed,initials:t.initials,"overlay-icon":t.icon,"overlay-text":t.text,"overlay-class":"d-mn4 d-ba d-baw4 d-bc-neutral-white d-box-unset","avatar-class":["d-ba d-baw4 d-bc-neutral-white d-bar-pill",{"d-mln24":F>0}]}},[t.src?s("img",{attrs:{"data-qa":"dt-contact-avatar",src:t.src,alt:t.initials}}):t.initials?s("div",[e._v(" "+e._s(t.initials)+" ")]):s("dt-icon",{attrs:{name:e.avatarIcon}})],1)],1)}),0):s("dt-avatar",{attrs:{size:e.avatarSize,initials:e.avatarInitials,seed:e.avatarSeed,presence:e.presence}},[e.avatarSrc?s("img",{attrs:{"data-qa":"dt-contact-avatar",src:e.avatarSrc,initials:e.avatarInitials,seed:e.avatarSeed,alt:e.avatarInitials}}):e.avatarInitials?s("div",[e._v(" "+e._s(e.avatarInitials)+" ")]):s("dt-icon",{attrs:{name:e.avatarIcon}})],1)],1):e._e()]},proxy:!0},{key:"default",fn:function(){return[s("div",{attrs:{"data-qa":"contact-info-header"}},[e._t("header")],2)]},proxy:!0},{key:"subtitle",fn:function(){return[s("div",{attrs:{"data-qa":"contact-info-subtitle"}},[e._t("subtitle")],2)]},proxy:!0},{key:"bottom",fn:function(){return[s("div",{attrs:{"data-qa":"contact-info-bottom"}},[e._t("bottom")],2)]},proxy:!0},{key:"right",fn:function(){return[s("div",{attrs:{"data-qa":"contact-info-right"}},[e._t("right")],2)]},proxy:!0}],null,!0)})},rp=[],op=Ge.normalizeComponent(ap,sp,rp,!1,null,null,null,null);const lp=op.exports,gr=["green300","green100","red200","red100","gold100","gold200","black100","white"];const dp={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(n){return gr.includes(n)}}},computed:{bannerInfoClass(){return[{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"}[this.colorCode]]}}};var cp=function(){var e=this,s=e._self._c;return s("div",{staticClass:"d-fs-100 d-d-flex d-top-banner-info d-jc-space-between d-ai-center d-fc-primary",class:e.bannerInfoClass,attrs:{"data-qa":"banner-info"}},[s("div",{staticClass:"d-top-banner-info__left"},[e._t("left")],2),s("div",{staticClass:"d-top-banner-info__middle d-my4"},[e._t("default")],2),s("div",{staticClass:"d-top-banner-info__right d-ta-right"},[e._t("right")],2)])},up=[],pp=Ge.normalizeComponent(dp,cp,up,!1,null,null,null,null);const fp=pp.exports,ui="promptmenu",pi="promptcollect",fi="promptplay",hi="gotoexpert",qn="goto",mi="branch",vi="transfer",_i="hangup",br={[ui]:"keypad",[pi]:"dialer",[fi]:"volume-2",[hi]:"expert-node",[mi]:"branch",[qn]:"call-merge",[vi]:"transfer",[_i]:"phone-hang-up"},hp={[ui]:"Menu",[pi]:"Collect",[fi]:"Play",[hi]:"Expert",[mi]:"Branch",[qn]:"Go-to",[vi]:"Transfer",[_i]:"Hangup"},X5={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"}},mp={[ui]:X5.PROMPT,[pi]:X5.PROMPT,[fi]:X5.PROMPT,[hi]:X5.LOGIC,[mi]:X5.LOGIC,[qn]:X5.LOGIC,[vi]:X5.TERMINAL,[_i]:X5.TERMINAL};const vp={name:"DtRecipeIvrNode",components:{DtCard:ys,DtButton:d5,DtDropdown:Js,DtIcon:n5},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 br[this.nodeType]},headerColor(){const{normal:n,selected:e}=mp[this.nodeType];return this.isSelected?e:n},isGotoNode(){return this.nodeType===qn}},methods:{openMenu(){this.isOpen=!0}}};var _p=function(){var e=this,s=e._self._c;return s("div",e._g({staticClass:"d-d-flex d-fd-column d-ai-center d-c-pointer ivr_node__width"},e.$listeners),[e.dtmfKey?s("div",{staticClass:"ivr-connector d-w24 d-h24 d-bar-circle d-mbn12 d-fc-neutral-white d-fs-200",class:{"d-mbn16":e.isSelected},attrs:{"data-qa":"dt-top-connector-dtmf"}},[e._v(" "+e._s(e.dtmfKey)+" ")]):e._e(),e.$slots.connector?e._t("connector"):e._e(),!e.dtmfKey&&!e.$slots.connector?s("div",{staticClass:"ivr-connector d-w8 d-h8 d-bar-circle d-mbn4",class:{"d-mbn8":e.isSelected},attrs:{"data-qa":"dt-top-connector"}}):e._e(),s("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":e.isSelected},e.headerColor],"header-class":["d-mtn1","d-bt","d-btw4","d-p0",e.headerColor,{"d-btr4":!e.isSelected}]},scopedSlots:e._u([{key:"header",fn:function(){return[s("div",{staticClass:"d-d-flex d-ai-center"},[s("dt-button",{attrs:{"aria-label":e.nodeType,importance:"clear",kind:"muted","data-qa":"dt-ivr-node-icon"},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{class:["",{ivr_node__goto_icon:e.isGotoNode}],attrs:{name:e.nodeIcon,size:"200"}})]},proxy:!0}])}),s("p",{staticClass:"d-fs-200 d-fw-bold",attrs:{"data-qa":"ivr-node-label"}},[e._v(" "+e._s(e.nodeLabel)+" ")])],1),s("dt-dropdown",{attrs:{placement:"bottom",open:e.isOpen},on:{"update:open":function(t){e.isOpen=t}},scopedSlots:e._u([{key:"anchor",fn:function(){return[s("dt-button",{attrs:{importance:"clear",kind:"muted","aria-label":e.menuButtonAriaLabel},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.openMenu.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{attrs:{name:"more-vertical",size:"200"}})]},proxy:!0}])})]},proxy:!0},{key:"list",fn:function({close:t}){return[s("div",{staticClass:"d-w164"},[e._t("menuItems",null,{close:t})],2)]}}],null,!0)})]},proxy:!0},{key:"content",fn:function(){return[e._t("content")]},proxy:!0}],null,!0)})],2)},gp=[],bp=Ge.normalizeComponent(vp,_p,gp,!1,null,null,null,null);const yp=bp.exports;const Cp={name:"DtRecipeGroupedChip",components:{DtChip:da},computed:{}};var Sp=function(){var e=this,s=e._self._c;return s("div",{staticClass:"d-d-inline-flex d-ws-nowrap d-bgc-unset",attrs:{"data-qa":"grouped-chip"}},[s("dt-chip",{staticClass:"d-blr-pill d-bgc-moderate-opaque d-wmx84 dt-chip-content",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:e._u([e.$slots.leftIcon?{key:"icon",fn:function(){return[e.$slots.leftIcon?s("div",{attrs:{"data-qa":"left-grouped-chip-icon"}},[e._t("leftIcon")],2):e._e()]},proxy:!0}:null,{key:"default",fn:function(){return[e.$slots.leftContent?s("div",{attrs:{"data-qa":"left-grouped-chip-content"}},[e._t("leftContent")],2):e._e()]},proxy:!0}],null,!0)}),s("dt-chip",{staticClass:"d-brr-pill d-bgc-purple-200 d-wmx84 dt-chip-content",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:e._u([{key:"icon",fn:function(){return[e.$slots.rightIcon?s("div",{attrs:{"data-qa":"right-grouped-chip-icon"}},[e._t("rightIcon")],2):e._e()]},proxy:!0},{key:"default",fn:function(){return[e.$slots.rightContent?s("div",{attrs:{"data-qa":"right-grouped-chip-content"}},[e._t("rightContent")],2):e._e()]},proxy:!0}],null,!0)})],1)},Ep=[],Ip=Ge.normalizeComponent(Cp,Sp,Ep,!1,null,null,null,null);const wp=Ip.exports;const xp={name:"DtRecipeSettingsMenuButton",components:{DtButton:d5,DtIcon:n5},props:{updateAvailable:{type:Boolean,default:!1},ariaLabel:{type:String,required:!0}},emits:["click"]};var Op=function(){var e=this,s=e._self._c;return e.updateAvailable?s("dt-button",e._g({staticClass:"d-h32 d-bar-pill d-bgc-blue-200 d-bgo25 h:d-bgo50 d-bc-blue-500 d-bco25 d-fc-blue-500",attrs:{importance:"outlined",size:"xs","icon-position":"right","aria-label":e.ariaLabel},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{staticClass:"d-fc-blue-500",attrs:{name:"more-vertical",size:"300"}})]},proxy:!0}],null,!1,993491315)},e.$listeners),[e._t("default")],2):s("dt-button",e._g({staticClass:"settings-menu-button d-p0 d-bar24 d-h32 d-w24 d-theme-topbar-fc",attrs:{importance:"clear",kind:"inverted","aria-label":e.ariaLabel},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{attrs:{name:"more-vertical",size:"300"}})]},proxy:!0}])},e.$listeners))},Ap=[],Tp=Ge.normalizeComponent(xp,Op,Ap,!1,null,"2e6fad60",null,null);const Lp=Tp.exports,a5={INBOX:"inbox",CONTACTS:"contacts",CHANNELS:"channels",THREADS:"threads",LOCKED_CHANNEL:"locked channel",CONTACT_CENTER:"contact center",QUICK_START:"quick start",COACHING_GROUP:"coaching group",COACHING_CENTER:"coaching center",DIALBOT:"dialbot",ASSIGNED:"assigned",DIGITAL:"digital"},yr={[a5.INBOX]:"inbox",[a5.CONTACTS]:"contacts",[a5.CHANNELS]:"hash",[a5.THREADS]:"thread",[a5.LOCKED_CHANNEL]:"lock",[a5.QUICK_START]:"sparkle",[a5.COACHING_GROUP]:"users",[a5.COACHING_CENTER]:"external-link","locked channel unread":"lock-filled","channel unread":"hash-bold",[a5.ASSIGNED]:"at-sign",[a5.DIGITAL]:"message"},Bn={"magenta-200":"d-bgc-magenta-200","green-200":"d-bgc-green-200","gold-300":"d-bgc-gold-300","purple-600":"d-bgc-purple-600","magenta-300":"d-bgc-magenta-300","purple-300":"d-bgc-purple-300","green-500":"d-bgc-green-500","purple-100":"d-bgc-purple-100","magenta-400":"d-bgc-magenta-400","magenta-100":"d-bgc-magenta-100"},Cr="If type is contact center, color must be oneof the following:"+Object.keys(Bn).join(", "),Sr=["300","200"],Dp={};var Rp=function(){var e=this,s=e._self._c;return s("svg",{staticClass:"d-svg d-svg--native d-svg__dialbot",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Dialbot",width:"358",height:"358",viewBox:"0 0 358 358",fill:"none"}},[s("circle",{attrs:{cx:"179",cy:"179",r:"179",fill:"url(#paint0_linear_4_44)"}}),s("path",{attrs:{d:"M179 268.5v-11.933V268.5Zm86.517 0v11.933h19.308l-8.635-17.27-10.673 5.337Zm-16.73-33.459-9.3-7.478-4.797 5.967 3.424 6.848 10.673-5.337ZM179 101.433c42.839 0 77.567 34.728 77.567 77.567h23.866c0-56.02-45.413-101.433-101.433-101.433v23.866ZM101.433 179c0-42.839 34.728-77.567 77.567-77.567V77.567C122.98 77.567 77.567 122.98 77.567 179h23.866ZM179 256.567c-42.839 0-77.567-34.728-77.567-77.567H77.567c0 56.02 45.413 101.433 101.433 101.433v-23.866Zm86.517 0H179v23.866h86.517v-23.866Zm-27.403-16.189 16.729 33.459 21.347-10.674-16.729-33.459-21.347 10.674ZM256.567 179c0 18.396-6.39 35.268-17.08 48.563l18.6 14.955c13.975-17.38 22.346-39.488 22.346-63.518h-23.866Z",fill:"white"}}),s("path",{attrs:{d:"M226.733 202.867c-6.527 5.701-13.942 10.11-22.243 13.226-8.302 3.116-16.781 4.674-25.437 4.674-8.727 0-17.241-1.558-25.543-4.674-8.301-3.116-15.716-7.525-22.243-13.226v-11.934c4.399 2.652 9.365 4.939 14.9 6.862a112.163 112.163 0 0 0 16.815 4.674c5.748 1.127 11.105 1.69 16.071 1.69 5.038 0 10.395-.563 16.071-1.69a112.209 112.209 0 0 0 16.816-4.674c5.534-1.923 10.465-4.21 14.793-6.862v11.934Z",fill:"white"}}),s("defs",[s("linearGradient",{attrs:{id:"paint0_linear_4_44",x1:"0",y1:"0",x2:"358",y2:"358",gradientUnits:"userSpaceOnUse"}},[s("stop",{attrs:{"stop-color":"#7C52FF"}}),s("stop",{attrs:{offset:"1","stop-color":"#F9008E"}})],1)],1)])},$p=[],kp=Ge.normalizeComponent(Dp,Rp,$p,!1,null,null,null,null);const Pp=kp.exports,Np={name:"DtRecipeLeftbarGeneralRowIcon",components:{DtIcon:n5,IconDialbot:Pp},props:{type:{type:String,default:null},color:{type:String,default:null},iconSize:{type:String,default:"300"}},computed:{isIconType(){return![a5.DIALBOT,a5.CONTACT_CENTER].includes(this.type)},isContactCenterType(){return this.type===a5.CONTACT_CENTER},isDialbotType(){return this.type===a5.DIALBOT},getIconName(){return yr[this.type]},contactCenterIconClasses(){return["dt-leftbar-row__icon-cc",Bn[this.color]]},dialbotClasses(){return["d-w24","d-h24","d-d-flex","d-ai-center","d-jc-center"]}}};var Bp=function(){var e=this,s=e._self._c;return e.isIconType?s("dt-icon",{attrs:{name:e.getIconName,size:e.iconSize}}):e.isContactCenterType?s("div",{class:e.contactCenterIconClasses}):e.isDialbotType?s("div",{class:e.dialbotClasses,attrs:{"data-qa":"general-row-dialbot"}},[s("icon-dialbot",{staticClass:"d-svg--size24"})],1):e._e()},Mp=[],Fp=Ge.normalizeComponent(Np,Bp,Mp,!1,null,null,null,null);const Vp=Fp.exports;const jp={name:"DtRecipeGeneralRow",components:{DtEmojiTextWrapper:Ge.DtEmojiTextWrapper,DtBadge:us,DtIcon:n5,DtButton:d5,DtTooltip:ci,DtRecipeLeftbarGeneralRowIcon:Vp},inheritAttrs:!1,props:{type:{type:String,default:"inbox",validator:n=>Object.values(a5).includes(n)},ariaLabel:{type:String,default:""},description:{type:String,required:!0},color:{type:String,default:null,validator:n=>Object.keys(Bn).includes(n)},hasUnreads:{type:Boolean,default:!1},unreadCount:{type:String,default:null},unreadCountTooltip:{type:String,default:""},selected:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},activeVoiceChat:{type:Boolean,default:!1},dndText:{type:String,default:""},dndTextTooltip:{type:String,default:""},hasCallButton:{type:Boolean,default:!1},callButtonTooltip:{type:String,default:""},isTyping:{type:Boolean,default:!1},iconSize:{type:String,default:"300",validator:n=>Sr.includes(n)}},emits:["click","call"],data(){return{actionFocused:!1}},computed:{leftbarGeneralRowClasses(){return["dt-leftbar-row",{"dt-leftbar-row--no-action":!this.hasCallButton,"dt-leftbar-row--has-unread":this.hasUnreads,"dt-leftbar-row--selected":this.selected,"dt-leftbar-row--muted":this.muted,"dt-leftbar-row--action-focused":this.actionFocused}]},getIcon(){switch(this.type){case a5.CHANNELS:if(this.hasUnreads)return"channel unread";break;case a5.LOCKED_CHANNEL:if(this.hasUnreads)return"locked channel unread";break}return this.type},getAriaLabel(){return this.ariaLabel?this.ariaLabel:ni([this.description,this.unreadCountTooltip,this.dndTextTooltip])}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{validateProps(){this.type===a5.CONTACT_CENTER&&!Object.keys(Bn).includes(this.color)&&console.error(Cr)}}};var zp=function(){var e=this,s=e._self._c;return s("div",{class:e.leftbarGeneralRowClasses,attrs:{"data-qa":"dt-leftbar-row"}},[s("a",e._g(e._b({staticClass:"dt-leftbar-row__primary",attrs:{"data-qa":"data-qa"in e.$attrs?e.$attrs["data-qa"]:"dt-leftbar-row-link","aria-label":e.getAriaLabel,title:e.description,href:"href"in e.$attrs?e.$attrs.href:"javascript:void(0)"}},"a",e.$attrs,!1),e.$listeners),[s("div",{staticClass:"dt-leftbar-row__alpha"},[e.isTyping?s("div",{staticClass:"dt-leftbar-row__is-typing"},[s("span"),s("span"),s("span")]):e._t("left",function(){return[s("dt-recipe-leftbar-general-row-icon",{attrs:{type:e.getIcon,color:e.color,"icon-size":e.iconSize,"data-qa":"dt-leftbar-row-icon"}})]})],2),s("div",{staticClass:"dt-leftbar-row__label"},[e._t("label",function(){return[s("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description",size:"200"}},[e._v(" "+e._s(e.description)+" ")])]})],2),s("div",{staticClass:"dt-leftbar-row__omega"},[e.dndText?s("dt-tooltip",{attrs:{placement:"top",message:e.dndTextTooltip},scopedSlots:e._u([{key:"anchor",fn:function(){return[s("div",{staticClass:"dt-leftbar-row__dnd"},[e._v(" "+e._s(e.dndText)+" ")])]},proxy:!0}],null,!1,1506147022)}):e._e(),e.activeVoiceChat?s("div",{staticClass:"dt-leftbar-row__active-voice"},[s("dt-icon",{attrs:{size:"300",name:"activity"}})],1):e.unreadCount&&e.hasUnreads?s("dt-tooltip",{attrs:{message:e.unreadCountTooltip,placement:"top"},scopedSlots:e._u([{key:"anchor",fn:function(){return[s("dt-badge",{attrs:{kind:"count",type:"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[e._v(" "+e._s(e.unreadCount)+" ")])]},proxy:!0}])}):e._e()],1)]),e.hasCallButton?s("div",{staticClass:"dt-leftbar-row__action",attrs:{"data-qa":"dt-leftbar-row-action"}},[s("dt-tooltip",{attrs:{message:e.callButtonTooltip,placement:"top"},scopedSlots:e._u([{key:"anchor",fn:function(){return[s("dt-button",{staticClass:"dt-leftbar-row__action-button",attrs:{"data-qa":"dt-leftbar-row-action-call-button",circle:"",size:"xs",kind:"inverted","aria-label":e.callButtonTooltip},on:{focus:function(t){e.actionFocused=!0},blur:function(t){e.actionFocused=!1},mouseleave:function(t){e.actionFocused=!1},click:function(t){return t.stopPropagation(),e.$emit("call",t)}},scopedSlots:e._u([{key:"icon",fn:function(){return[s("dt-icon",{attrs:{name:"phone",size:"200"}})]},proxy:!0}],null,!1,990728611)})]},proxy:!0}],null,!1,4111698736)})],1):e._e()])},Hp=[],qp=Ge.normalizeComponent(jp,zp,Hp,!1,null,null,null,null);const fa=qp.exports,Kp={name:"DtRecipeGroupRow",components:{DtIcon:n5,DtRecipeGeneralRow:fa},inheritAttrs:!1,props:{groupCountText:{type:String,default:""},names:{type:String,required:!0},unreadCount:{type:String,default:null},unreadCountTooltip:{type:String,default:null},hasUnreads:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},isTyping:{type:Boolean,default:!1}},emits:["click"],computed:{ariaLabel(){return ni([this.groupCountText,this.names])}}};var Up=function(){var e=this,s=e._self._c;return s("dt-recipe-general-row",e._g(e._b({attrs:{description:e.names,"aria-label":e.ariaLabel,"unread-count":e.unreadCount,"has-unreads":e.hasUnreads,"unread-count-tooltip":e.unreadCountTooltip,selected:e.selected,"is-typing":e.isTyping},scopedSlots:e._u([{key:"left",fn:function(){return[s("dt-icon",{attrs:{name:"users",size:"300"}})]},proxy:!0}])},"dt-recipe-general-row",e.$attrs,!1),e.$listeners))},Gp=[],Wp=Ge.normalizeComponent(Kp,Up,Gp,!1,null,null,null,null);const Yp=Wp.exports,Zp={name:"DtRecipeGroupRow",components:{DtAvatar:ii,DtIcon:n5,DtRecipeGeneralRow:fa,DtEmojiTextWrapper:Ge.DtEmojiTextWrapper},inheritAttrs:!1,props:{avatarSrc:{type:String,default:""},avatarPresence:{type:String,default:null},avatarSeed:{type:String,default:null},presenceText:{type:String,default:""},name:{type:String,required:!0},userStatus:{type:String,default:""},muted:{type:Boolean,default:!1},unreadCount:{type:String,default:null},hasUnreads:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},noInitials:{type:Boolean,default:!1},isTyping:{type:Boolean,default:!1},hasCallButton:{type:Boolean,default:!0},callButtonTooltip:{type:String,default:""},unreadCountTooltip:{type:String,default:""}},emits:["click","call"],computed:{presenceColorClass(){switch(this.avatarPresence){case"active":return"d-fc-success";case"busy":return"d-fc-critical";case"away":return"d-fc-warning";default:return}},avatarInitial(){var n;return((n=this.name)==null?void 0:n[0])??""},contactDescription(){return ni([this.name,this.presenceText,this.userStatus])}}};var Xp=function(){var e=this,s=e._self._c;return s("dt-recipe-general-row",e._g(e._b({attrs:{"unread-count":e.unreadCount,description:e.contactDescription,"has-unreads":e.hasUnreads,selected:e.selected,"has-call-button":e.hasCallButton,muted:e.muted,"is-typing":e.isTyping,"call-button-tooltip":e.callButtonTooltip,"unread-count-tooltip":e.unreadCountTooltip},scopedSlots:e._u([{key:"left",fn:function(){return[s("dt-avatar",{attrs:{size:"sm",seed:e.avatarSeed,presence:e.avatarPresence}},[e.avatarSrc?s("img",{attrs:{"data-qa":"dt-avatar-image",src:e.avatarSrc,alt:""}}):e.noInitials?[s("dt-icon",{attrs:{name:"user",size:"200"}})]:[e._v(" "+e._s(e.avatarInitial)+" ")]],2)]},proxy:!0},{key:"label",fn:function(){return[s("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description",size:"200"}},[e._v(" "+e._s(e.name)+" ")]),s("div",{staticClass:"dt-leftbar-row__status"},[e.presenceText?s("span",{class:["dt-leftbar-row__meta-context",e.presenceColorClass],attrs:{"data-qa":"dt-leftbar-row-presence-text"}},[e._v(" "+e._s(e.presenceText)+" ")]):e._e(),e.userStatus?s("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__meta-custom",attrs:{size:"100","element-type":"span","data-qa":"dt-leftbar-row-user-status"}},[e._v(" "+e._s(e.userStatus)+" ")]):e._e()],1)]},proxy:!0}])},"dt-recipe-general-row",e.$attrs,!1),e.$listeners))},Qp=[],Jp=Ge.normalizeComponent(Zp,Xp,Qp,!1,null,null,null,null);const e1=Jp.exports,Er=["up","down"],Ir=["mentions","messages"];const t1={name:"DtRecipeUnreadPill",components:{DtIcon:n5},props:{kind:{type:String,required:!0,validator:n=>Ir.includes(n)},direction:{type:String,required:!0,validator:n=>Er.includes(n)}},emits:["click"]};var n1=function(){var e=this,s=e._self._c;return s("button",e._g({class:["dt-leftbar-unread-pill",`dt-leftbar-unread-pill--${e.kind}`],attrs:{type:"button","data-qa":"dt-leftbar-unread-pill"}},e.$listeners),[s("dt-icon",{attrs:{name:`arrow-${e.direction}`,size:"300"}}),s("span",{attrs:{"data-qa":"dt-leftbar-unread-pill__label"}},[e._t("default")],2)],1)},i1=[],a1=Ge.normalizeComponent(t1,n1,i1,!1,null,null,null,null);const s1=a1.exports,wi={NORMAL:"",SEARCHED:"d-bgc-warning-subtle",ERROR:"d-bgc-critical-subtle"},xi="NORMAL";const r1={name:"DtRecipeFeedItemRow",components:{DtAvatar:ii,DtLazyShow:wn,DtListItem:Fn},inheritAttrs:!1,props:{showHeader:{type:Boolean,default:!1},avatarImageUrl:{type:String,default:""},displayName:{type:String,default:""},time:{type:String,default:""},shortTime:{type:String,default:""},isActive:{type:Boolean,default:!1},state:{type:String,default:xi,validator:n=>Object.keys(wi).includes(n)}},emits:["hover","focus"],data(){return{faded:!1}},computed:{avatarInitials(){return(this.displayName||"").split(" ").map(s=>s.charAt(0)).join("").slice(0,2).toUpperCase()},feedListeners(){return{...this.$listeners,mouseenter:()=>this.setHover(!0),mouseleave:()=>this.setHover(!1),focusin:()=>this.setFocus(!0),focusout:()=>this.setFocus(!1)}},listItemClasses(){return["d-w100p","d-box-border","d-ps-relative","d-px8",{"d-bgc-secondary-opaque":this.isActive&&this.state===xi},wi[this.state],"feed-item-row","d-t","d-tp-bgc"]}},methods:{setFocus(n){this.$emit("focus",n)},setHover(n){this.$emit("hover",n)},fade(){this.state===xi||this.faded===!0||(this.$refs.FeedItemRef.$el.classList.remove(wi[this.state]),this.faded=!0)}}};var o1=function(){var e=this,s=e._self._c;return s("dt-list-item",e._g(e._b({ref:"FeedItemRef",class:e.listItemClasses,attrs:{"navigation-type":"none","data-qa":"feed-item-row"},scopedSlots:e._u([{key:"left",fn:function(){return[e.showHeader?s("dt-avatar",{attrs:{"avatar-class":"d-mt4",initials:e.avatarInitials}},[e.avatarImageUrl?s("img",{attrs:{"data-qa":"feed-item-row-avatar-img",alt:"",src:e.avatarImageUrl}}):e._e()]):e._e(),e.showHeader?e._e():s("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"d-fs-100 d-fw-normal d-ws-nowrap d-lh-100 d-fc-tertiary d-mb6",attrs:{"data-qa":"feed-item-row-left-time"}},[e._v(" "+e._s(e.shortTime)+" ")])]},proxy:!0},{key:"bottom",fn:function(){return[s("div",{staticClass:"d-d-flex d-fw-wrap",attrs:{"data-qa":"feed-item-row-reactions"}},[e._t("reactions")],2),e._t("threading")]},proxy:!0},{key:"right",fn:function(){return[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"d-ps-absolute d-tn16 d-r12",attrs:{"data-qa":"feed-item-row-menu"}},[s("dt-lazy-show",{attrs:{appear:!0,transition:"fade",show:e.isActive}},[e._t("menu")],2)],1)]},proxy:!0}],null,!0)},"dt-list-item",e.$attrs,!1),e.feedListeners),[s("article",[e.showHeader?s("div",{staticClass:"d-d-flex d-ai-center",attrs:{"data-qa":"feed-item-row-header"}},[s("p",{staticClass:"d-fs-200 d-lh-300 d-fw-bold d-to-ellipsis d-of-hidden d-ws-nowrap"},[e._v(" "+e._s(e.displayName)+" ")]),s("time",{staticClass:"d-fs-100 d-mt2 d-lh-300 d-fc-tertiary d-fw-normal d-ml4 d-fl-shrink0"},[e._v(" "+e._s(e.time)+" ")])]):e._e(),s("span",{staticClass:"content-text-wrapper-class",attrs:{"data-qa":"feed-item-row-content"}},[e._t("default")],2)])])},l1=[],d1=Ge.normalizeComponent(r1,o1,l1,!1,null,null,null,null);const c1=d1.exports;const u1={name:"DtRecipeTimePill",props:{dateTimeDisplay:{type:String,required:!0},dateTime:{type:String,required:!0,validator:n=>{const e=new Date(n);return e instanceof Date&&!isNaN(e)}}}};var p1=function(){var e=this,s=e._self._c;return s("time",{staticClass:"d-ba d-bar-pill d-baw1 d-bc-black-300 d-px16 d-py4 d-fs-100",attrs:{"data-qa":"dt-time-pill",dateTime:e.dateTime}},[e._v(" "+e._s(e.dateTimeDisplay)+" ")])},f1=[],h1=Ge.normalizeComponent(u1,p1,f1,!1,null,null,null,null);const m1=h1.exports,wr=["emojiUnicodeOrShortname","isSelected","ariaLabel","tooltip","num"];const v1={name:"DtRecipeEmojiRow",components:{DtTooltip:ci,DtButton:d5,DtEmoji:Ge.DtEmoji,DtEmojiTextWrapper:Ge.DtEmojiTextWrapper},mixins:[],props:{reactions:{type:Array,default:()=>[],validator:n=>{for(const e of n)if(!wr.every(t=>e[t]!==void 0))return!1;return!0}}},emits:["emoji-clicked","emoji-hovered"],methods:{emojiClicked(n){this.$emit("emoji-clicked",n.emojiUnicodeOrShortname)},emojiHovered(n,e){this.$emit("emoji-hovered",{reaction:n.emojiUnicodeOrShortname,state:e})}}};var _1=function(){var e=this,s=e._self._c;return s("span",{staticClass:"d-d-flex d-fw-wrap"},e._l(e.reactions,function(t){return s("span",{key:t.unicodeOutput,staticClass:"d-mr4 d-mb4",attrs:{reaction:t}},[s("dt-tooltip",{staticClass:"d-d-inline-block",attrs:{"content-class":"d-wmx464"},on:{shown:F=>e.emojiHovered(t,F)},scopedSlots:e._u([{key:"anchor",fn:function({attrs:F}){return[s("dt-button",{class:["d-h24 d-bar16 d-py0 d-fs-200 d-mb0 d-t",t.isSelected?`d-fc-purple-500 d-bgc-purple-400 d-bgo10 d-bc-purple-400 d-bco50 ' +
|
|
31
|
+
'h:d-bgc-purple-400 h:d-bco25 a:d-bgc-purple-400 a:d-bco25`:"d-fc-black-600 d-bgc-black-100 h:d-bgc-white h:d-bc-black-600 a:d-bgc-white a:d-bc-black-600"],attrs:{importance:"clear",size:"sm","data-qa":"feed-item-reaction-button","aria-label":t.ariaLabel,attrs:F},on:{click:function(ie){return e.emojiClicked(t)}}},[s("span",{staticClass:"d-mr4"},[s("dt-emoji",{attrs:{size:"200",code:t.emojiUnicodeOrShortname}})],1),s("span",{staticClass:"d-fw-bold d-fs-100"},[e._v(" "+e._s(t.num)+" ")])])]}}],null,!0)},[s("span",{attrs:{"aria-hidden":"true"}},[s("dt-emoji-text-wrapper",{attrs:{size:"200"}},[e._v(" "+e._s(t.tooltip)+" ")])],1)])],1)}),0)},g1=[],b1=Ge.normalizeComponent(v1,_1,g1,!1,null,null,null,null);const y1=b1.exports;exports.DtSkeleton=Ge.DtSkeleton;exports.DtSkeletonListItem=Ge.DtSkeletonListItem;exports.DtSkeletonParagraph=Ge.DtSkeletonParagraph;exports.DtSkeletonShape=Ge.DtSkeletonShape;exports.DtSkeletonText=Ge.DtSkeletonText;exports.SKELETON_HEADING_HEIGHTS=Ge.SKELETON_HEADING_HEIGHTS;exports.SKELETON_RIPPLE_DURATION=Ge.SKELETON_RIPPLE_DURATION;exports.SKELETON_SHAPES=Ge.SKELETON_SHAPES;exports.SKELETON_SHAPE_SIZES=Ge.SKELETON_SHAPE_SIZES;exports.SKELETON_TEXT_TYPES=Ge.SKELETON_TEXT_TYPES;exports.AVATAR_COLORS=cs;exports.AVATAR_GROUP_VALIDATOR=Ti;exports.AVATAR_ICON_SIZES=Jr;exports.AVATAR_KIND_MODIFIERS=Oi;exports.AVATAR_PRESENCE_SIZE_MODIFIERS=ds;exports.AVATAR_PRESENCE_STATES=Ai;exports.AVATAR_SIZE_MODIFIERS=Yn;exports.BADGE_DECORATION_MODIFIERS=Ri;exports.BADGE_KIND_MODIFIERS=Di;exports.BADGE_TYPE_MODIFIERS=Li;exports.BREADCRUMBS_INVERTED_MODIFIER=_s;exports.BREADCRUMB_ITEM_SELECTED_MODIFIER=vs;exports.BUTTON_GROUP_ALIGNMENT=$i;exports.CALLBAR_BUTTON_VALID_WIDTH_SIZE=pa;exports.CHIP_SIZE_MODIFIERS=Hi;exports.COLOR_CODES=gr;exports.DEFAULT_VALIDATION_MESSAGE_TYPE=Wa;exports.DESCRIPTION_SIZE_TYPES=Ga;exports.DtAvatar=ii;exports.DtBadge=us;exports.DtBanner=zo;exports.DtBreadcrumbItem=bs;exports.DtBreadcrumbs=tl;exports.DtButton=d5;exports.DtButtonGroup=rl;exports.DtCard=ys;exports.DtCheckableInputMixin=ra;exports.DtCheckbox=Tc;exports.DtCheckboxGroup=kc;exports.DtChip=da;exports.DtCodeblock=ml;exports.DtCollapsible=Xl;exports.DtCombobox=Is;exports.DtDropdown=Js;exports.DtDropdownSeparator=ld;exports.DtGroupableInputMixin=oa;exports.DtIcon=n5;exports.DtImageViewer=fd;exports.DtInput=er;exports.DtInputGroup=la;exports.DtInputGroupMixin=tr;exports.DtInputMixin=sa;exports.DtKeyboardListNavigationMixin=Yi;exports.DtKeyboardShortcut=_u;exports.DtLazyShow=wn;exports.DtLink=gs;exports.DtListItem=Fn;exports.DtListItemGroup=Kd;exports.DtListSection=Vd;exports.DtModal=Pd;exports.DtNotice=Ld;exports.DtPagination=Zd;exports.DtPopover=li;exports.DtPresence=ls;exports.DtRadio=nc;exports.DtRadioGroup=oc;exports.DtRecipeCallbarButton=_r;exports.DtRecipeCallbarButtonWithPopover=ip;exports.DtRecipeComboboxMultiSelect=Wu;exports.DtRecipeComboboxWithPopover=mr;exports.DtRecipeContactInfo=lp;exports.DtRecipeContactRow=e1;exports.DtRecipeEmojiRow=y1;exports.DtRecipeFeedItemRow=c1;exports.DtRecipeGeneralRow=fa;exports.DtRecipeGroupRow=Yp;exports.DtRecipeGroupedChip=wp;exports.DtRecipeIvrNode=yp;exports.DtRecipeSettingsMenuButton=Lp;exports.DtRecipeTimePill=m1;exports.DtRecipeTopBannerInfo=fp;exports.DtRecipeUnreadPill=s1;exports.DtRootLayout=Ou;exports.DtSelectMenu=Yc;exports.DtStack=Bu;exports.DtTab=gc;exports.DtTabGroup=fc;exports.DtTabPanel=Ec;exports.DtToast=eu;exports.DtToggle=ru;exports.DtTooltip=ci;exports.DtValidationMessages=en;exports.INPUT_SIZES=_n;exports.INPUT_TYPES=Qn;exports.IVR_NODE_BRANCH=mi;exports.IVR_NODE_EXPERT=hi;exports.IVR_NODE_GO_TO=qn;exports.IVR_NODE_HANGUP=_i;exports.IVR_NODE_ICON_TYPES=br;exports.IVR_NODE_LABELS=hp;exports.IVR_NODE_PROMPT_COLLECT=pi;exports.IVR_NODE_PROMPT_MENU=ui;exports.IVR_NODE_PROMPT_PLAY=fi;exports.IVR_NODE_TRANSFER=vi;exports.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS=Bn;exports.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR=Cr;exports.LEFTBAR_GENERAL_ROW_ICON_MAPPING=yr;exports.LEFTBAR_GENERAL_ROW_ICON_SIZES=Sr;exports.LEFTBAR_GENERAL_ROW_TYPES=a5;exports.LINK_KIND_MODIFIERS=Jn;exports.LINK_VARIANTS=hs;exports.MODAL_KIND_MODIFIERS=ji;exports.MODAL_SIZE_MODIFIERS=zi;exports.MULTI_SELECT_SIZES=vr;exports.NOTICE_KINDS=In;exports.POPOVER_CONTENT_WIDTHS=ia;exports.POPOVER_HEADER_FOOTER_PADDING_CLASSES=Ys;exports.POPOVER_INITIAL_FOCUS_STRINGS=Xs;exports.POPOVER_PADDING_CLASSES=Vi;exports.POPOVER_ROLES=Zs;exports.PRESENCE_STATES=gn;exports.PRESENCE_STATES_LIST=os;exports.REACTIONS_ATTRIBUTES=wr;exports.ROOT_LAYOUT_RESPONSIVE_BREAKPOINTS=fr;exports.ROOT_LAYOUT_SIDEBAR_POSITIONS=ca;exports.SELECT_SIZE_MODIFIERS=qi;exports.SELECT_STATE_MODIFIERS=rr;exports.SHORTCUTS_ALIASES_LIST=pu;exports.SHORTCUTS_ICON_ALIASES=bn;exports.SHORTCUTS_ICON_SEPARATOR=pr;exports.TAB_IMPORTANCE_MODIFIERS=sr;exports.TAB_LIST_IMPORTANCE_MODIFIERS=ar;exports.TAB_LIST_KIND_MODIFIERS=ir;exports.TAB_LIST_SIZES=nr;exports.TOAST_ROLES=or;exports.TOOLTIP_DELAY_MS=dr;exports.TOOLTIP_DIRECTIONS=lr;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=ou;exports.TOOLTIP_KIND_MODIFIERS=cr;exports.TOOLTIP_STICKY_VALUES=ur;exports.UNREAD_PILL_DIRECTIONS=Er;exports.UNREAD_PILL_KINDS=Ir;exports.VALIDATION_MESSAGE_TYPES=x5;exports.filterFormattedMessages=Ki;exports.formatMessages=Dn;exports.getUniqueString=s5;exports.getValidationState=Q5;exports.validationMessageValidator=Hn;
|